@treasuredata/tdx 2026.4.2 → 2026.4.3

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_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)](()=>{});}}
1
+ const a2_0xf13727=a2_0x3cce;(function(_0x3d9470,_0x18ddd8){const _0x515248=a2_0x3cce,_0x4d3135=_0x3d9470();while(!![]){try{const _0x4ada2f=-parseInt(_0x515248(0x33e))/0x1+-parseInt(_0x515248(0x2c1))/0x2+-parseInt(_0x515248(0xe8))/0x3*(parseInt(_0x515248(0x13c))/0x4)+-parseInt(_0x515248(0x2a8))/0x5+-parseInt(_0x515248(0x109))/0x6+parseInt(_0x515248(0x37b))/0x7+-parseInt(_0x515248(0x1ef))/0x8*(-parseInt(_0x515248(0xf3))/0x9);if(_0x4ada2f===_0x18ddd8)break;else _0x4d3135['push'](_0x4d3135['shift']());}catch(_0x7b3258){_0x4d3135['push'](_0x4d3135['shift']());}}}(a2_0xab43,0xd9130));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';function a2_0xab43(){const _0x531698=['--type\x20<type>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','push\x20[source-dir]','Open\x20journey\x20in\x20web\x20browser','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','-o,\x20--output\x20<file>','--color','--html-file\x20<path>','Database\x20to\x20query\x20(default:\x20information_schema)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','set','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Workflow\x20(Digdag)\x20management\x20commands','Agent\x20description','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','CDP\x20Journey\x20Orchestration\x20commands','table','--name\x20<name>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Sections\x20as\x20an\x20inline\x20JSON\x20array','--no-proxy','delete\x20<args...>','push\x20[parent_or_file]','--priority\x20<-2~2>','--add-attributes\x20<json>','stderr','database','--agent\x20<ref>','--schedule-type\x20<type>','--last','Pull\x20workflow\x20project\x20to\x20local\x20folder','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','traffic\x20<name-or-path>','Pause\x20a\x20running\x20journey','--max-tool-iterations\x20<n>','us01','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--editor-type\x20<type>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','log\x20<chat-id>','desc','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','--stage\x20<name>','trace','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','List\x20jobs','view\x20<name-or-path>','--account-name\x20<name>','Skip\x20confirmation\x20prompts','Attributes\x20as\x20JSON\x20string','create','--rule-file\x20<file>','Plaintext\x20template\x20content','-w,\x20--web','--description\x20<desc>','duplicate\x20<name-or-id>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','accessToken','Name\x20for\x20the\x20new\x20project\x20(required)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Output\x20file\x20path\x20(default:\x20<name>.yml)','Master\x20table\x20name','parent','Set\x20a\x20profile\x20configuration\x20value','submit\x20[query]','--invisible','login','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','push\x20[path]','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','always-on-campaigns\x20[pattern]','Skip\x20confirmation\x20prompt','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','columns\x20<name-or-path>','List\x20journeys\x20in\x20current\x20context','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Include\x20retried\x20attempts\x20(for\x20list)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','schedules','--jsonl','Attributes\x20from\x20JSON\x20file','Overwrite\x20local\x20changes\x20without\x20confirmation','Finish\x20an\x20always-on\x20campaign','exit','Resume\x20a\x20paused\x20campaign','--audience-id\x20<id>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Show\x20authentication\x20status\x20and\x20current\x20context','Filtering\x20rule\x20as\x20JSON\x20string','replace','Continue\x20most\x20recent\x20conversation','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','--debug','Preview\x20composable\x20segment\x20query\x20on\x20CDW','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--schedule-option\x20<value>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','filter','claude-4.5-sonnet','Show\x20schedule\x20execution\x20history','allowExcessArguments','Output\x20file\x20path','--job-type\x20<type>','-r,\x20--recursive','run','AI-native\x20CLI\x20for\x20Treasure\x20Data','push\x20[name]','Get\x20job\x20results','clone\x20[source]','GET','tdx\x20','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Arguments:','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Read\x20SQL\x20query\x20from\x20file','argv','use\x20[project]','log','chats','--system-prompt\x20<text>','-X,\x20--method\x20<method>','Maximum\x20recursion\x20depth\x20(default:\x2010)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','attempts\x20[project]','settings\x20<type>','Parse\x20and\x20validate\x20without\x20executing','Create\x20a\x20new\x20LLM\x20project','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','profiles','update\x20<name>','--site\x20<site>','--subject\x20<subject>','CDP\x20segment\x20management\x20commands','--model\x20<name>','List\x20activations\x20for\x20a\x20journey','board','upgrade\x20[version]','Updated\x20schedule\x20option','statusline','Resume\x20a\x20paused\x20journey','Add\x20attributes\x20from\x20JSON\x20file','run\x20[name]','upload\x20[project-name-or-dir]','Push\x20YAML\x20files\x20to\x20CAS\x20API','Template\x20name','--segment\x20<path>','run\x20[workflow]','create\x20<name>','List\x20all\x20versions\x20of\x20a\x20journey','New\x20service\x20name','[attempt-id]',',\x20version\x20','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','aliases','Data\x20connection\x20management\x20(for\x20activations/exports)','campaigns\x20[pattern]','--priority\x20<priority>','token','Update\x20a\x20campaign','pull\x20<project>\x20[target-dir]','Alias\x20for\x20--database\x20(natural\x20language\x20style)','campaign','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Ending\x20offset\x20(default:\x2020)','\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','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Save\x20output\x20to\x20file','0.7','registeredArguments','Maximum\x20number\x20of\x20nodes','--tags\x20<tags>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','3352380kxKvim','--in\x20<db>','job','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','Show\x20workspace\x20details','hook','Output\x20folder\x20(default:\x20{project_name}.llm)','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Start\x20a\x20new\x20chat\x20session','--max-depth\x20<depth>','--assignee\x20<assignee>','info\x20[segment_name]','--email-sender-id\x20<id>','activations\x20<name-or-path>','Skip\x20population\x20counting','options','--chat-id\x20<id>','Make\x20service\x20public\x20(default:\x20private)','summary','_hidden','Read\x20query\x20from\x20file','Commands:','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','debug','965944ygiAmK','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','workflow','--customer-group\x20<json>','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','chdir','information_schema','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--session-time\x20<time>','describe','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','opts','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','--revision\x20<revision>','option','Personalization\x20service\x20management','projects\x20[pattern]','create\x20<segment_name>','-d,\x20--database\x20<db>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Override\x20project\x20name','Filtering\x20rule\x20from\x20JSON\x20file','-C,\x20--directory\x20<path>','New\x20campaign\x20name','--json','-o,\x20--output\x20<dir>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','engage_workspace','--engine-version\x20<version>','Overwrite\x20existing\x20profile','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','--attribute\x20[name]','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','User\x20management\x20commands','kill','after','--status\x20<status>','Open\x20segment\x20in\x20web\x20browser','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Set\x20or\x20show\x20parent\x20segment\x20context','argumentDescription','pause\x20<name-or-path>','--new','version','templates\x20[pattern]','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Run\x20a\x20scheduled\x20query\x20immediately','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Database\x20name','slice','commands','format','push\x20[file]','show\x20<service_id>\x20[parent_segment]','show\x20<policy>','update\x20<name-or-id>','--attributes-file\x20<file>','Create\x20a\x20new\x20campaign','create\x20[name]','validate\x20[name]','parent-segment','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Parent\x20segment\x20description','--allowed-ips\x20<ips>','trino','-y,\x20--yes','schema\x20<type>','delete\x20<name>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','repeat','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Delete\x20a\x20campaign','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Show\x20always-on\x20campaign\x20details','Segment\x20description','Personalization\x20management','allowUnknownOption','-r,\x20--resume','commandUsage','Create\x20a\x20new\x20agent\x20in\x20current\x20project','--kind\x20<type>','padEnd','Delete\x20an\x20email\x20template','chat\x20[message...]','Show\x20journey\x20table\x20column-to-step\x20mapping','tdx','delete\x20<token_id>\x20[parent_segment]','Target\x20directory\x20for\x20YAML\x20files','Limit\x20number\x20of\x20rows','-d,\x20--database\x20<database>','Get\x20current\x20RT\x20configuration\x20version\x20status','segment','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Skip\x20validation\x20of\x20.dig\x20files','length','sessions\x20[project]','--session-id\x20<id>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','--tsv','user','Output\x20as\x20JSON\x20Lines','--body\x20<body>','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','--stream','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','outputHelp','--file\x20<path>','--output\x20<file>','set\x20<args...>','name','Update\x20an\x20existing\x20agent','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Token\x20description','Request\x20body\x20as\x20JSON\x20string','Submit\x20a\x20job','Show\x20the\x20most\x20recent\x20chat','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','--interval\x20<range>','list\x20[project]','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','policy','390995qphjQK','Updated\x20timezone','Email\x20template\x20management','--delete','delete\x20<project-name-or-id>','json','configuration_versions\x20[name]','--table\x20<table>','Include\x20retried\x20attempts','flatMap','list\x20[path]','clone\x20[source-dir]','Delete\x20a\x20workspace','--cron\x20<expression>','--include-stats','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','desc\x20[name]','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','--default','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Show\x20journey\x20details','Interactive\x20chat\x20selector','schedule','-u,\x20--use','--in\x20<database>','Always-on\x20campaign\x20management','Export\x20journey(s)\x20as\x20YAML\x20files','isArray','Database\x20management\x20commands','list\x20[name]','split','--type\x20<api_type>','show\x20<personalization_id>','Pause\x20an\x20always-on\x20campaign','Behaviors\x20as\x20JSON\x20string','RT\x202.0\x20configuration\x20management','Pull\x20specific\x20campaign\x20by\x20name','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','use\x20[name]','Preview\x20changes\x20without\x20pushing','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','configureHelp','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Pull\x20campaigns\x20to\x20YAML\x20files','stringify','--result\x20<target>','retry\x20<session-id>','--name\x20<names>','description','Launch\x20a\x20campaign','cas','--limit\x20<rows>','optionTerm','Pause\x20a\x20campaign','--skip-validation','query\x20[sql]','launch\x20<name-or-id>','Create\x20segment\x20folder','10572401NveILG','Follow/watch\x20timeline\x20for\x20running\x20attempts','--version','Show\x20agent\x20details','parse','--starter-message\x20<text>','subcommandDescription','create\x20<name>\x20[parent_segment]','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Project\x20description','LLM\x20agent\x20management','setup','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Include\x20all\x20items\x20(no\x20stale\x20filtering)','\x22.\x20Must\x20be\x20a\x20number.','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','update\x20<service_id>\x20[parent_segment]','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Delete\x20an\x20LLM\x20project','subcommandTerm','Show\x20journey\x20statistics','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Show\x20campaign\x20details','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--enriched','--timeout\x20<seconds>','sql\x20[segment_name]','--sections\x20<json>','Read\x20HTML\x20template\x20from\x20file','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','[action]','jsonl','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Path\x20is\x20not\x20a\x20directory:\x20','connections','--audience\x20<name>','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Force\x20retry\x20even\x20if\x20not\x20failed','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Validate\x20template\x20YAML\x20files\x20locally','--result\x20<url>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--description\x20<text>','create\x20<name-or-path>','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Resume\x20activations\x20in\x20an\x20RT\x20journey','Enable\x20a\x20disabled\x20workflow\x20schedule','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','links\x20<name>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','list\x20[pattern]','command','Document\x20body\x20text','workspace','isDirectory','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','disable\x20<id>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Personalization\x20description','addHelpText','Customer\x20group\x20as\x20JSON\x20string','isTTY','--enable-utm-tracking','-H,\x20--header\x20<header>','--folder-id\x20<id>','find','LLM\x20project\x20to\x20use\x20(overrides\x20context)','requiredOption','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','segments\x20[path]','desc\x20[segment_name]','Push\x20without\x20confirmation','hidden','[EXPERIMENTAL]\x20Show\x20chat\x20log','attempt','-f,\x20--force','--from\x20<timestamp>','Composable\x20segment\x20commands','List\x20agents\x20in\x20current\x20project','Resume\x20a\x20conversation\x20(shows\x20selector)','Show\x20segment\x20schema\x20(column\x20types)','kill\x20<job-id>','Invalid\x20--limit\x20value:\x20\x22','Cron\x20expression\x20for\x20scheduling','Transition\x20a\x20task\x20to\x20a\x20new\x20status','--behavior\x20[name]','users','alias','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Maximum\x20tool\x20iterations\x20(default:\x204)','INFO','Create\x20a\x20scheduled\x20query','colorFn','Workspace\x20description','System\x20prompt/instructions\x20(default:\x20empty)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','init\x20[name]','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Read\x20request\x20body\x20from\x20file','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','push','agents\x20[pattern]','--dry-run','argumentTerm','--plaintext\x20<text>','Show\x20segment\x20details\x20(alias\x20for\x20view)','Launch\x20an\x20always-on\x20campaign','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','directory','Delivery\x20operations\x20(email\x20senders)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Update\x20a\x20scheduled\x20query','Assignee','delete\x20<name-or-id>','map','Start\x20time\x20filter\x20(ISO\x208601\x20format)','catch','Authentication\x20management','Validate\x20campaign\x20YAML\x20files\x20locally','retry','mcp','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Job\x20priority\x20(-2\x20to\x202)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--from\x20<date>','--from-task\x20<task>','558lgauCH','clear','--session\x20<id>','New\x20workspace\x20name','result\x20<job-id>','models','use\x20[resource]\x20[value]','Email\x20subject\x20template','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','tsv','attempt:','4374NOarny','--table','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Composable\x20audience\x20name','DEBUG','new\x20<title>','fields\x20[name]','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Create\x20an\x20email\x20template','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','\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','Campaign\x20name','--customer-group-file\x20<file>','Delay\x20in\x20seconds\x20before\x20execution','Clear\x20session\x20context','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','timeout','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','remove\x20<name>','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','List\x20all\x20data\x20connections','3188640nKTkwe','--to\x20<timestamp>','folder','buildTime','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','show\x20[table]','Delete\x20a\x20scheduled\x20query','entries','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','resume_activations\x20<journeyId>','secrets','List\x20all\x20workflow\x20schedules','Initial\x20status','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Delete\x20a\x20profile','--to\x20<n>','show\x20<name>','join','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Preview\x20operation\x20without\x20executing','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','status','--full','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Query\x20engine\x20version','--start-at\x20<datetime>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','pause\x20<name-or-id>','Run\x20specific\x20tests\x20(comma-separated)','Name\x20for\x20the\x20duplicated\x20campaign','Manage\x20workflow\x20schedules\x20(enable/disable)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','\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','optionDescription','Apply\x20a\x20template','enable\x20<id>','Enable\x20verbose\x20logging','push\x20[target]','--name\x20<text>','Access\x20control\x20policy\x20commands','padWidth','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','update\x20<agent-name>','Version\x20number\x20to\x20view','Pull\x20templates\x20to\x20YAML\x20files','Usage:\x20','Kill\x20a\x20job','End\x20time\x20filter\x20(ISO\x208601\x20format)','4388KMwqHJ','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Disable\x20a\x20workflow\x20schedule','Show\x20connection\x20details\x20by\x20name','--json-columns\x20<cols>','preAction','List\x20journeys\x20(alias\x20for\x20journey\x20list)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','Remove\x20API\x20key\x20from\x20system\x20keychain','Query\x20type:\x20trino\x20or\x20hive','--reeval','[task-name]','Customer\x20group\x20from\x20JSON\x20file','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Show\x20items\x20updated\x20within\x20N\x20days','Folder\x20description','Starting\x20offset\x20(default:\x200)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','includes','--database\x20<db>','Result\x20output\x20destination\x20URL','--limit\x20<n>','delete\x20<personalization_id>','--add-behaviors-file\x20<file>','use\x20<name>','preview\x20[name]','Invalid\x20editor\x20type:\x20','profile','action','--folder\x20<name>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Create\x20a\x20workspace','Priority\x20(critical,\x20high,\x20medium,\x20low)','--days\x20<n>','--add-attributes-file\x20<file>','--to\x20<date>','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Personalization\x20service\x20token\x20management','logLevel','--parent-segment\x20<name>','--dir\x20<dir>','show\x20<name-or-id>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Open\x20parent\x20segment\x20in\x20web\x20browser','validate\x20[target]','Task\x20name\x20for\x20logs\x20action','\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','parents\x20[pattern]','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','help','Retry\x20limit\x20(0\x20to\x2032)','history\x20[chat-id]','Personalization\x20name','pull\x20[workspace]','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','gitRevision','--no-eval','Reason\x20for\x20killing\x20the\x20attempt','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','--from\x20<n>','session','-f,\x20--file\x20<path>','Show\x20only\x20master\x20table\x20validation','[DEPRECATED]\x20Segment\x20folder\x20management','HTML\x20template\x20content','--all','Run\x20tests\x20for\x20an\x20LLM\x20agent','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20a\x20specific\x20realtime\x20personalization','LLM\x20project\x20management','--public','Master\x20database\x20name','item','history\x20<name>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','argument','--name\x20<new-name>','Pull\x20child\x20segments\x20to\x20YAML\x20files','Setup\x20API\x20key\x20authentication\x20interactively','--workspace\x20<name>','usage','INVALID_ARGUMENT','--rule\x20<json>','--catalog\x20<catalog>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','create\x20<name>\x20<service_id>\x20[parent_segment]','Show\x20timeline\x20for\x20specific\x20attempt','pull\x20[name]','resume\x20<name-or-id>','Output\x20as\x20JSON','--num\x20<1-10>','project','-v,\x20--verbose','auth','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','list','--master','long','journeys\x20[pattern]','Pull\x20specific\x20template\x20by\x20name','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--resume-from\x20<task>','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Directory\x20does\x20not\x20exist:\x20','Preview\x20changes\x20without\x20writing\x20files','Updated\x20description','show\x20[name]','Workspace\x20name','Change\x20to\x20directory\x20before\x20executing\x20command','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Add\x20attributes\x20as\x20JSON\x20string','List\x20all\x20available\x20profiles','Preview\x20without\x20creating\x20the\x20project','Custom\x20revision\x20name\x20(default:\x20timestamp)','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','site','Output\x20directory','Workflow\x20parameter\x20(repeatable)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','--attempt-id\x20<id>','Update\x20a\x20workspace','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','--timezone\x20<tz>','Starter\x20message','forEach','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Include\x20subtasks\x20in\x20tasks\x20output','Show\x20Kanban\x20board\x20view\x20of\x20tasks','workspaces\x20[pattern]','journey','-1d','--delay\x20<seconds>','jobs','unset\x20<resource>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','template','apiKey','\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','--data\x20<data>','--add-behaviors\x20<json>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--prompt\x20<text>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Job\x20management\x20commands','--limit\x20<number>','--template\x20<name>','Parent\x20folder\x20name\x20for\x20nested\x20folders','--yes','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','beefree','upgrade','--clear','Timezone\x20for\x20cron','--temperature\x20<n>','update\x20<segment_name>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','\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','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--retry-limit\x20<0~32>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','New\x20template\x20name','Workspace\x20name\x20(required)','...','--github\x20<owner/repo>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--trace','-p,\x20--profile\x20<name>','27304WanJhH','Campaign\x20description','Agent\x20name','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','required','TRACE','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)'];a2_0xab43=function(){return _0x531698;};return a2_0xab43();}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';function a2_0x3cce(_0x2c234e,_0x3557f7){_0x2c234e=_0x2c234e-0xae;const _0xab432b=a2_0xab43();let _0x3cce36=_0xab432b[_0x2c234e];return _0x3cce36;}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_0xf13727(0x26e)][a2_0xf13727(0x14f)](a2_0xf13727(0x37d))){let versionOutput=a2_0xf13727(0x269)+currentVersion;buildInfo[a2_0xf13727(0x178)]&&!currentVersion[a2_0xf13727(0x14f)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0xf13727(0x178)]+')'),buildInfo['buildTime']&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0xf13727(0x10c)]),console[a2_0xf13727(0x270)](versionOutput),process[a2_0xf13727(0x24e)](0x0);}const program=new Command();export function mergeCommandOptions(_0x1371c8,_0x3b08d9){const _0x4691ae=a2_0xf13727,_0x1540bf={..._0x1371c8};for(const [_0x4c494e,_0x300324]of Object[_0x4691ae(0x110)](_0x3b08d9)){_0x300324!==undefined&&(_0x1540bf[_0x4c494e]=_0x300324);}return _0x1540bf;}let showBriefHelp=![],description=a2_0xf13727(0x264);buildInfo[a2_0xf13727(0x178)]&&!currentVersion['includes'](buildInfo[a2_0xf13727(0x178)])?description+=a2_0xf13727(0x292)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0xf13727(0x292)+currentVersion;program[a2_0xf13727(0x331)]('tdx')[a2_0xf13727(0x371)](description),program[a2_0xf13727(0x2cf)](a2_0xf13727(0x2d7),a2_0xf13727(0x1ad))['option'](a2_0xf13727(0x1ee),a2_0xf13727(0x222))[a2_0xf13727(0x2cf)](a2_0xf13727(0x27d),a2_0xf13727(0x3aa),a2_0xf13727(0x21c))['option']('--format\x20<format>',a2_0xf13727(0x3c0))['option'](a2_0xf13727(0xf4),a2_0xf13727(0x3bf))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2d9),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x24a),a2_0xf13727(0x21f))['option'](a2_0xf13727(0x326),a2_0xf13727(0x259))[a2_0xf13727(0x2cf)](a2_0xf13727(0x32f),a2_0xf13727(0x2a2))[a2_0xf13727(0x2cf)]('--limit\x20<number>',a2_0xf13727(0x1f5))['option'](a2_0xf13727(0x1fd),a2_0xf13727(0x135),![])[a2_0xf13727(0x2cf)]('--no-color','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0xf13727(0x2cf)](a2_0xf13727(0x19d),a2_0xf13727(0x130),![])[a2_0xf13727(0x2cf)](a2_0xf13727(0x257),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')['option'](a2_0xf13727(0x1ed),a2_0xf13727(0x3a7))[a2_0xf13727(0x2cf)](a2_0xf13727(0x394),'Set\x20operation\x20timeout\x20in\x20seconds','30')['option'](a2_0xf13727(0xcf),a2_0xf13727(0x11f),![])[a2_0xf13727(0x2cf)](a2_0xf13727(0x305),a2_0xf13727(0x229),![])['option'](a2_0xf13727(0xea),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x166),a2_0xf13727(0x34d))[a2_0xf13727(0x2cf)]('--llm-project\x20<name>',a2_0xf13727(0x3bd)),program[a2_0xf13727(0x36a)]({'formatHelp':(_0xe86880,_0x40d9e9)=>{const _0x211235=a2_0xf13727,_0x2aa003=_0x40d9e9[_0x211235(0x134)](_0xe86880,_0x40d9e9),_0x2f3a55=0x2,_0x446f49=0x2;function _0x5965a0(_0x2e6650){const _0x127664=_0x211235,_0x3f19cd=_0x2e6650;return!!(_0x3f19cd[_0x127664(0x2bc)]||_0x3f19cd[_0x127664(0xb0)]);}function _0x3ac9f3(_0x319b98,_0x2a49d8){const _0x5fb798=_0x211235;if(_0x2a49d8){const _0x26aa28=''+_0x319b98[_0x5fb798(0x315)](_0x2aa003+_0x446f49)+_0x2a49d8;return _0x26aa28;}return _0x319b98;}function _0x4f2207(_0x38de72){const _0x3389c2=_0x211235;return _0x38de72[_0x3389c2(0x11b)]('\x0a')[_0x3389c2(0x254)](/^/gm,'\x20'[_0x3389c2(0x309)](_0x2f3a55));}const _0x5c2084=[];_0x5c2084['push'](_0x211235(0x139)+_0x40d9e9[_0x211235(0x312)](_0xe86880));const _0xb381c3=_0x40d9e9['commandDescription'](_0xe86880);_0xb381c3&&(_0x5c2084['push'](''),_0x5c2084[_0x211235(0xcd)](_0xb381c3));const _0x2c8328=_0xe86880[_0x211235(0x2f6)][_0x211235(0x25c)](_0x19d347=>!_0x5965a0(_0x19d347));if(_0x2c8328[_0x211235(0x322)]>0x0){if(_0xe86880['name']()===_0x211235(0x319)){const _0x4797a6=_0xe86880[_0x211235(0x2cc)](),_0x55fbcb=!_0x4797a6['noColor']&&process['stdout']['isTTY'],_0x3f1464=COMMAND_CATEGORIES,_0x33a384=(_0x45821e,_0x4fbfe0)=>_0x55fbcb?_0x4fbfe0(_0x45821e):_0x45821e,_0x4c8cf1=new Map();_0x2c8328[_0x211235(0x1be)](_0x26fe17=>{const _0x460772=_0x211235;_0x4c8cf1[_0x460772(0x201)](_0x26fe17[_0x460772(0x331)](),_0x26fe17);}),_0x3f1464[_0x211235(0x1be)](_0x4f56e3=>{const _0x2ed6a3=_0x211235,_0x433adf=_0x4f56e3[_0x2ed6a3(0x2f6)][_0x2ed6a3(0x347)](_0x48db2d=>_0x4c8cf1['get'](_0x48db2d)??[]);if(_0x433adf[_0x2ed6a3(0x322)]>0x0){_0x5c2084[_0x2ed6a3(0xcd)](''),_0x5c2084[_0x2ed6a3(0xcd)](_0x33a384(_0x4f56e3['name']+':',_0x4f56e3[_0x2ed6a3(0xc4)]));const _0xf6998d=_0x433adf[_0x2ed6a3(0xdb)](_0x17b457=>{const _0x32c3f5=_0x2ed6a3,_0x36206b=_0x40d9e9[_0x32c3f5(0x38e)](_0x17b457),_0x3abc40=_0x40d9e9[_0x32c3f5(0x381)](_0x17b457);return _0x3ac9f3(_0x36206b,_0x3abc40);});_0x5c2084[_0x2ed6a3(0xcd)](_0x4f2207(_0xf6998d));}}),_0x5c2084[_0x211235(0xcd)](''),_0x5c2084[_0x211235(0xcd)](_0x211235(0x390));}else{const _0x238155=_0x2c8328['map'](_0x35db26=>{const _0xe88ee9=_0x211235,_0x530dc6=_0x40d9e9[_0xe88ee9(0x38e)](_0x35db26),_0x5dcb9c=_0x40d9e9['subcommandDescription'](_0x35db26);return _0x3ac9f3(_0x530dc6,_0x5dcb9c);});_0x5c2084[_0x211235(0xcd)](''),_0x5c2084[_0x211235(0xcd)](_0x211235(0x2be)),_0x5c2084['push'](_0x4f2207(_0x238155));}}if(showBriefHelp&&_0xe86880[_0x211235(0x331)]()===_0x211235(0x319))_0x5c2084[_0x211235(0xcd)](''),_0x5c2084['push']('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x5e4e3c=_0xe86880[_0x211235(0x2b8)][_0x211235(0x25c)](_0x400332=>!_0x5965a0(_0x400332));if(_0x5e4e3c[_0x211235(0x322)]>0x0){const _0xcc3413=_0x5e4e3c['map'](_0x452352=>{const _0x725748=_0x211235,_0xd8b131=_0x40d9e9[_0x725748(0x375)](_0x452352),_0x2eae13=_0x40d9e9[_0x725748(0x12d)](_0x452352);return _0x3ac9f3(_0xd8b131,_0x2eae13);});_0x5c2084[_0x211235(0xcd)](''),_0x5c2084[_0x211235(0xcd)]('Options:'),_0x5c2084[_0x211235(0xcd)](_0x4f2207(_0xcc3413));}}const _0x191e3c=(_0xe86880[_0x211235(0x2a4)]||[])[_0x211235(0x25c)](_0x3469bf=>!_0x5965a0(_0x3469bf));if(_0x191e3c[_0x211235(0x322)]>0x0){const _0x121888=_0x191e3c[_0x211235(0xdb)](_0x564dcc=>{const _0x5289ff=_0x211235,_0x1a48d5=_0x40d9e9[_0x5289ff(0xd0)](_0x564dcc),_0x49ee55=_0x40d9e9[_0x5289ff(0x2eb)](_0x564dcc);return _0x3ac9f3(_0x1a48d5,_0x49ee55);});_0x5c2084['push'](''),_0x5c2084['push'](_0x211235(0x26b)),_0x5c2084[_0x211235(0xcd)](_0x4f2207(_0x121888));}return _0x5c2084[_0x211235(0x11b)]('\x0a')+'\x0a';},'subcommandTerm':_0x13be73=>{const _0x4ded6d=a2_0xf13727,_0x218875=(_0x13be73[_0x4ded6d(0x2a4)]||[])[_0x4ded6d(0xdb)](_0x4fe269=>_0x4fe269[_0x4ded6d(0x1f3)]?'<'+_0x4fe269[_0x4ded6d(0x331)]()+'>':'['+_0x4fe269[_0x4ded6d(0x331)]()+']')[_0x4ded6d(0x11b)]('\x20'),_0x537bfa=_0x13be73[_0x4ded6d(0x294)](),_0x2a64cb=_0x537bfa[_0x4ded6d(0x322)]>0x0?_0x13be73[_0x4ded6d(0x331)]()+',\x20'+_0x537bfa[_0x4ded6d(0x11b)](',\x20'):_0x13be73[_0x4ded6d(0x331)]();return _0x218875?_0x2a64cb+'\x20'+_0x218875:_0x2a64cb;}}),program[a2_0xf13727(0x2ae)](a2_0xf13727(0x142),_0x3ea33e=>{const _0x58ad35=a2_0xf13727,_0x4e4814=_0x3ea33e[_0x58ad35(0x2cc)]();if(_0x4e4814[_0x58ad35(0xd5)]){const _0x530707=resolve(_0x4e4814['directory']),_0x5684cb=_0x530707!==_0x4e4814[_0x58ad35(0xd5)]?'\x20(resolved\x20to\x20'+_0x530707+')':'';if(!existsSync(_0x530707))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x58ad35(0x1a8)+_0x4e4814[_0x58ad35(0xd5)]+_0x5684cb,undefined,{'helpText':_0x58ad35(0x202)});const _0xdd36b4=statSync(_0x530707);if(!_0xdd36b4[_0x58ad35(0x3b1)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x58ad35(0x39c)+_0x4e4814['directory']+_0x5684cb,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x58ad35(0x2c6)](_0x530707);}if(!_0x4e4814['format']){if(_0x4e4814[_0x58ad35(0x208)])_0x4e4814['format']='table';else{if(_0x4e4814[_0x58ad35(0x343)])_0x4e4814[_0x58ad35(0x2f7)]=_0x58ad35(0x343);else{if(_0x4e4814[_0x58ad35(0x39a)])_0x4e4814[_0x58ad35(0x2f7)]=_0x58ad35(0x39a);else _0x4e4814[_0x58ad35(0xf1)]&&(_0x4e4814[_0x58ad35(0x2f7)]=_0x58ad35(0xf1));}}}if(_0x4e4814[_0x58ad35(0x224)])_0x4e4814['logLevel']=LogLevel[_0x58ad35(0x1f4)];else{if(_0x4e4814[_0x58ad35(0x2c0)])_0x4e4814[_0x58ad35(0x165)]=LogLevel[_0x58ad35(0xf7)];else _0x4e4814[_0x58ad35(0x165)]===undefined&&(_0x4e4814[_0x58ad35(0x165)]=LogLevel[_0x58ad35(0xc2)]);}});async function createTDXInstance(_0x3cd52d){const _0x18f524=a2_0xf13727,_0x64f2fe=await GlobalContext['createAsync'](_0x3cd52d);_0x64f2fe['injectIntoOptions'](_0x3cd52d);const _0x5bc752=Number(_0x3cd52d[_0x18f524(0x104)]),_0x425a2a=!isNaN(_0x5bc752)&&_0x5bc752>0x0?_0x5bc752*0x3e8:undefined;return TDX['create']({'site':_0x64f2fe[_0x18f524(0x1b4)],'apiKey':_0x64f2fe[_0x18f524(0x1cb)],'accessToken':_0x64f2fe[_0x18f524(0x232)],'logLevel':_0x64f2fe[_0x18f524(0x165)],'profile':_0x64f2fe[_0x18f524(0x158)],'timeout':_0x425a2a});}const databaseCmd=program[a2_0xf13727(0x3ae)]('database')[a2_0xf13727(0xbf)]('db')['description'](a2_0xf13727(0x35d)),databaseListAction=async(_0x3ac76b,_0xb31e0f)=>{const _0x570792=a2_0xf13727,_0x46d2d2=new DatabasesCommand(),_0x15ea67=program[_0x570792(0x2cc)](),_0x1e7fb7=await createTDXInstance(_0x15ea67),_0x28a19f=await _0x46d2d2[_0x570792(0x263)]({'options':{..._0x15ea67,..._0xb31e0f},'args':_0x3ac76b?[_0x3ac76b]:[],'tdx':_0x1e7fb7});gracefulExit(_0x28a19f);};databaseCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)](a2_0xf13727(0x195))[a2_0xf13727(0x159)](databaseListAction),program['command']('databases\x20[pattern]',{'hidden':!![]})[a2_0xf13727(0x371)](a2_0xf13727(0x26a))[a2_0xf13727(0x159)](databaseListAction),program['command'](a2_0xf13727(0x317))[a2_0xf13727(0x371)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x214),a2_0xf13727(0x1f7))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2ed),a2_0xf13727(0x2b1))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2b9),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0xf13727(0x2cf)](a2_0xf13727(0x32b),a2_0xf13727(0x247))[a2_0xf13727(0x159)](async(_0x388dda,_0x47c2a5)=>{const _0x47b261=a2_0xf13727,_0x62a418=program[_0x47b261(0x2cc)](),_0x4a5591=await createTDXInstance(_0x62a418);if(_0x388dda[0x0]===_0x47b261(0x22b)){const _0x5d3a55=new ChatCreateCommand();gracefulExit(await _0x5d3a55[_0x47b261(0x263)]({'options':{..._0x62a418,..._0x47c2a5},'args':_0x388dda[_0x47b261(0x2f5)](0x1),'tdx':_0x4a5591}));return;}const _0x64e58a=new ChatCommand(),_0x33856f=await _0x64e58a[_0x47b261(0x263)]({'options':{..._0x62a418,..._0x47c2a5},'args':_0x388dda,'tdx':_0x4a5591});gracefulExit(_0x33856f);});const apiCmd=program['command']('api\x20[endpoint]')[a2_0xf13727(0x2bb)](a2_0xf13727(0x1c8))[a2_0xf13727(0x3b6)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0xf13727(0x2cf)](a2_0xf13727(0x273),a2_0xf13727(0x13d),a2_0xf13727(0x268))['option'](a2_0xf13727(0x1cd),a2_0xf13727(0x336))[a2_0xf13727(0x2cf)](a2_0xf13727(0x17e),a2_0xf13727(0xcb))[a2_0xf13727(0x2cf)](a2_0xf13727(0x3ba),a2_0xf13727(0x256),(_0x2f3ce8,_0x27155a)=>{return _0x27155a?[..._0x27155a,_0x2f3ce8]:[_0x2f3ce8];})[a2_0xf13727(0x2cf)](a2_0xf13727(0x360),a2_0xf13727(0xc7),'td')['action'](async(_0x589c6a,_0x357a49)=>{const _0x2b38f9=a2_0xf13727;if(!_0x589c6a){apiCmd[_0x2b38f9(0x172)]();return;}const _0x2c0500=new ApiCommand(),_0x5de65a=program[_0x2b38f9(0x2cc)](),_0x26f41c=await createTDXInstance(_0x5de65a),_0x12a34c=await _0x2c0500[_0x2b38f9(0x263)]({'options':{..._0x5de65a,..._0x357a49},'args':[_0x589c6a],'tdx':_0x26f41c});gracefulExit(_0x12a34c);});program[a2_0xf13727(0x3ae)](a2_0xf13727(0xe1))[a2_0xf13727(0x371)](a2_0xf13727(0x1cf))[a2_0xf13727(0x3b6)](a2_0xf13727(0x2e6),a2_0xf13727(0x16e))[a2_0xf13727(0x159)](async _0x5a64db=>{const _0x256ad5=a2_0xf13727,_0x52d7f9=new MCPCommand(),_0x7bd4cb=program[_0x256ad5(0x2cc)](),_0x28af4b=await createTDXInstance(_0x7bd4cb),_0xa81035=await _0x52d7f9['run']({'options':{..._0x7bd4cb,..._0x5a64db},'args':[],'tdx':_0x28af4b});gracefulExit(_0xa81035);});const tableCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x208))['description']('Table\x20management\x20commands'),tableListAction=async(_0x2b3496,_0x47c2b2)=>{const _0x55e554=a2_0xf13727,_0x5874cf=new TablesCommand(),_0x3f1610=program[_0x55e554(0x2cc)](),_0x4f8760=await createTDXInstance(_0x3f1610);_0x47c2b2['in']&&(_0x47c2b2[_0x55e554(0x213)]=_0x47c2b2['in']);const _0x4ca584=await _0x5874cf[_0x55e554(0x263)]({'options':{..._0x3f1610,..._0x47c2b2},'args':_0x2b3496?[_0x2b3496]:[],'tdx':_0x4f8760});gracefulExit(_0x4ca584);};tableCmd[a2_0xf13727(0x3ae)]('list\x20[pattern]')[a2_0xf13727(0x371)](a2_0xf13727(0xcc))[a2_0xf13727(0x2cf)](a2_0xf13727(0x31d),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x359),a2_0xf13727(0x29b))[a2_0xf13727(0x159)](tableListAction),program[a2_0xf13727(0x3ae)]('tables\x20[pattern]',{'hidden':!![]})[a2_0xf13727(0x371)](a2_0xf13727(0x1bf))[a2_0xf13727(0x2cf)](a2_0xf13727(0x31d),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x359),a2_0xf13727(0x29b))[a2_0xf13727(0x159)](tableListAction),program[a2_0xf13727(0x3ae)](a2_0xf13727(0x10e))[a2_0xf13727(0x371)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x31d),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0xf13727(0x2cf)]('--in\x20<database>',a2_0xf13727(0x29b))[a2_0xf13727(0x159)](async(_0x10cba2,_0xbc6ad0)=>{const _0x37b655=a2_0xf13727,_0x2c6685=new ShowCommand(),_0x40a3ce=program[_0x37b655(0x2cc)](),_0x4c3398=await createTDXInstance(_0x40a3ce);_0xbc6ad0['in']&&(_0xbc6ad0['database']=_0xbc6ad0['in']);const _0xb91597=await _0x2c6685['run']({'options':{..._0x40a3ce,..._0xbc6ad0},'args':_0x10cba2?[_0x10cba2]:[],'tdx':_0x4c3398});gracefulExit(_0xb91597);}),program[a2_0xf13727(0x3ae)]('describe\x20[table]')[a2_0xf13727(0xbf)](a2_0xf13727(0x221))['description']('Describe\x20table\x20schema')['option'](a2_0xf13727(0x31d),a2_0xf13727(0x120))[a2_0xf13727(0x2cf)]('--in\x20<database>',a2_0xf13727(0x29b))[a2_0xf13727(0x159)](async(_0x29b769,_0x59cd59)=>{const _0x3e871e=a2_0xf13727,_0x1f4e1b=new DescribeCommand(),_0x401906=program[_0x3e871e(0x2cc)](),_0x3be070=await createTDXInstance(_0x401906);_0x59cd59['in']&&(_0x59cd59[_0x3e871e(0x213)]=_0x59cd59['in']);const _0x57c5b2=await _0x1f4e1b[_0x3e871e(0x263)]({'options':{..._0x401906,..._0x59cd59},'args':_0x29b769?[_0x29b769]:[],'tdx':_0x3be070});gracefulExit(_0x57c5b2);}),program[a2_0xf13727(0x3ae)](a2_0xf13727(0x378))[a2_0xf13727(0x371)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0xf13727(0x2cf)](a2_0xf13727(0x31d),a2_0xf13727(0x1ff))[a2_0xf13727(0x2cf)](a2_0xf13727(0x359),a2_0xf13727(0x29b))[a2_0xf13727(0x2cf)](a2_0xf13727(0x194),'Trino\x20catalog\x20(default:\x20td)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x17e),a2_0xf13727(0x26d))[a2_0xf13727(0x2cf)](a2_0xf13727(0x374),'Maximum\x20rows\x20to\x20display')[a2_0xf13727(0x159)](async(_0x50696,_0x3baed1)=>{const _0x563eb0=a2_0xf13727,_0x4fe98d=new QueryCommand(),_0x5df962=program['opts'](),_0x3a47b6=await createTDXInstance(_0x5df962);_0x3baed1['in']&&(_0x3baed1[_0x563eb0(0x213)]=_0x3baed1['in']);const _0x3cceed=await _0x4fe98d[_0x563eb0(0x263)]({'options':mergeCommandOptions(_0x5df962,_0x3baed1),'args':_0x50696?[_0x50696]:[],'tdx':_0x3a47b6});gracefulExit(_0x3cceed);});const segmentCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x31f))['alias']('sg')[a2_0xf13727(0x371)](a2_0xf13727(0x27f)),segmentListAction=async(_0x2b3ba2,_0x275a10)=>{const _0x55445e=a2_0xf13727,_0x463b9b=new SegmentsCommand(),_0x3b1f22=program[_0x55445e(0x2cc)](),_0x1d0466=await createTDXInstance(_0x3b1f22),_0x35ee7d=await _0x463b9b[_0x55445e(0x263)]({'options':{..._0x3b1f22,..._0x275a10},'args':_0x2b3ba2?[_0x2b3ba2]:[],'tdx':_0x1d0466});gracefulExit(_0x35ee7d);};segmentCmd['command'](a2_0xf13727(0x348))[a2_0xf13727(0x371)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')['option'](a2_0xf13727(0x262),a2_0xf13727(0x15d))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2b2),a2_0xf13727(0x274),'10')[a2_0xf13727(0x159)](segmentListAction),program['command'](a2_0xf13727(0x3c2),{'hidden':!![]})[a2_0xf13727(0x371)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')['option'](a2_0xf13727(0x262),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0xf13727(0x2cf)]('--max-depth\x20<depth>','Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0xf13727(0x159)](segmentListAction),segmentCmd[a2_0xf13727(0x3ae)]('use\x20<path>',{'hidden':!![]})['description'](a2_0xf13727(0x1b3))[a2_0xf13727(0x159)](async(_0x3a99c7,_0x1f5c7f)=>{const _0x344ab0=a2_0xf13727,_0x56d290=new SegmentUseCommand(),_0x2d48fe=program[_0x344ab0(0x2cc)](),_0x3444d4=await createTDXInstance(_0x2d48fe),_0x30b7cb=await _0x56d290[_0x344ab0(0x263)]({'options':{..._0x2d48fe,..._0x1f5c7f},'args':[_0x3a99c7],'tdx':_0x3444d4});gracefulExit(_0x30b7cb);});const segmentViewAction=async(_0x161c88,_0x9ff3d9)=>{const _0x303e95=a2_0xf13727,_0x361eec=new SegmentViewCommand(),_0x2e1455=program[_0x303e95(0x2cc)](),_0x4fd1cf=await createTDXInstance(_0x2e1455),_0x24f59e=await _0x361eec['run']({'options':{..._0x2e1455,..._0x9ff3d9},'args':_0x161c88?[_0x161c88]:[],'tdx':_0x4fd1cf});gracefulExit(_0x24f59e);};segmentCmd[a2_0xf13727(0x3ae)]('view\x20[segment_name]')['description'](a2_0xf13727(0x1ea))[a2_0xf13727(0x2cf)](a2_0xf13727(0x22e),a2_0xf13727(0x2e8))[a2_0xf13727(0x159)](segmentViewAction),segmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2b4),{'hidden':!![]})[a2_0xf13727(0xbf)](a2_0xf13727(0x2ca))[a2_0xf13727(0x2cf)](a2_0xf13727(0x22e),a2_0xf13727(0x2e8))[a2_0xf13727(0x371)](a2_0xf13727(0xd2))[a2_0xf13727(0x159)](segmentViewAction),segmentCmd['command'](a2_0xf13727(0xae))[a2_0xf13727(0x371)](a2_0xf13727(0xb8))[a2_0xf13727(0x159)](async(_0x574be3,_0x3e9c27)=>{const _0x25c9e9=a2_0xf13727,_0xcdc86c=new SegmentDescCommand(),_0x53118c=program['opts'](),_0x56ece8=await createTDXInstance(_0x53118c),_0x25e9e9=await _0xcdc86c[_0x25c9e9(0x263)]({'options':{..._0x53118c,..._0x3e9c27},'args':_0x574be3?[_0x574be3]:[],'tdx':_0x56ece8});gracefulExit(_0x25e9e9);}),segmentCmd['command']('show\x20[segment_name]')[a2_0xf13727(0x371)](a2_0xf13727(0x1bb))[a2_0xf13727(0x159)](async(_0x5a40a7,_0x53fdac)=>{const _0x1c2b48=a2_0xf13727,_0x3fa6cd=new SegmentShowCommand(),_0x5eb69e=program[_0x1c2b48(0x2cc)](),_0x1ab2bf=await createTDXInstance(_0x5eb69e),_0x4901af=await _0x3fa6cd[_0x1c2b48(0x263)]({'options':{..._0x5eb69e,..._0x53fdac},'args':_0x5a40a7?[_0x5a40a7]:[],'tdx':_0x1ab2bf});gracefulExit(_0x4901af);}),segmentCmd[a2_0xf13727(0x3ae)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0xf13727(0x371)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')['action'](async(_0x1479be,_0x43d401)=>{const _0x2ac662=a2_0xf13727,_0x4ba1b7=new SegmentFolderListCommand(),_0x490527=program['opts'](),_0x53feca=await createTDXInstance(_0x490527),_0xd64f62=await _0x4ba1b7[_0x2ac662(0x263)]({'options':{..._0x490527,..._0x43d401},'args':[_0x1479be],'tdx':_0x53feca});gracefulExit(_0xd64f62);});const folderCmd=segmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x10b),{'hidden':!![]})['description'](a2_0xf13727(0x180));folderCmd[a2_0xf13727(0x3ae)]('show\x20<folder_ref>')[a2_0xf13727(0x371)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0xf13727(0x159)](async(_0x30527f,_0x12526b)=>{const _0x146dcb=a2_0xf13727,_0x2c9732=new SegmentFolderShowCommand(),_0x35756c=program[_0x146dcb(0x2cc)](),_0x2e8836=await createTDXInstance(_0x35756c),_0x3cd712=await _0x2c9732[_0x146dcb(0x263)]({'options':{..._0x35756c,..._0x12526b},'args':[_0x30527f],'tdx':_0x2e8836});gracefulExit(_0x3cd712);}),segmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x395))[a2_0xf13727(0x371)](a2_0xf13727(0x2f3))[a2_0xf13727(0x2cf)]('--path\x20<file-path>',a2_0xf13727(0x3b4))[a2_0xf13727(0x159)](async(_0x4f3e40,_0x17f1d6)=>{const _0x249536=a2_0xf13727,_0x1746bf=new SegmentSQLCommand(),_0x4b65b2=program[_0x249536(0x2cc)](),_0x3e2b84=await createTDXInstance(_0x4b65b2),_0x512f10=await _0x1746bf[_0x249536(0x263)]({'options':{..._0x4b65b2,..._0x17f1d6},'args':_0x4f3e40?[_0x4f3e40]:[],'tdx':_0x3e2b84});gracefulExit(_0x512f10);}),segmentCmd[a2_0xf13727(0x3ae)]('fields\x20[parent_name]')[a2_0xf13727(0x371)](a2_0xf13727(0x308))[a2_0xf13727(0x159)](async(_0xc73931,_0x350393)=>{const _0x882ea1=a2_0xf13727,_0x2c12b1=new SegmentFieldsCommand(),_0x3978d5=program[_0x882ea1(0x2cc)](),_0x292318=await createTDXInstance(_0x3978d5),_0x45935e=await _0x2c12b1[_0x882ea1(0x263)]({'options':{..._0x3978d5,..._0x350393},'args':_0xc73931?[_0xc73931]:[],'tdx':_0x292318});gracefulExit(_0x45935e);}),segmentCmd[a2_0xf13727(0x3ae)]('pull\x20[parent_or_file]')['description'](a2_0xf13727(0x18e))['option']('--dry-run',a2_0xf13727(0x20a))[a2_0xf13727(0x159)](async(_0xa2eb8e,_0x13f194)=>{const _0x4d5ae5=a2_0xf13727,_0x133262=new SegmentPullCommand(),_0x29d81c=program[_0x4d5ae5(0x2cc)](),_0x3259a4=await createTDXInstance(_0x29d81c),_0x558900=await _0x133262[_0x4d5ae5(0x263)]({'options':{..._0x29d81c,..._0x13f194},'args':_0xa2eb8e?[_0xa2eb8e]:[],'tdx':_0x3259a4});gracefulExit(_0x558900);}),segmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x20f))['description'](a2_0xf13727(0x1b8))[a2_0xf13727(0x2cf)](a2_0xf13727(0xcf),a2_0xf13727(0x20a))['option'](a2_0xf13727(0x341),a2_0xf13727(0x32c))[a2_0xf13727(0x159)](async(_0x5f8267,_0x5c6077)=>{const _0x120965=a2_0xf13727,_0x35e508=new SegmentPushCommand(),_0x5572aa=program[_0x120965(0x2cc)](),_0x1c11f1=await createTDXInstance(_0x5572aa),_0x4c194d=await _0x35e508[_0x120965(0x263)]({'options':{..._0x5572aa,..._0x5c6077},'args':_0x5f8267?[_0x5f8267]:[],'tdx':_0x1c11f1});gracefulExit(_0x4c194d);}),segmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x16c))[a2_0xf13727(0x371)](a2_0xf13727(0x20b))[a2_0xf13727(0x159)](async(_0x2f569e,_0x2ff83c)=>{const _0x31b61a=a2_0xf13727,_0x109ac5=new SegmentValidateCommand(),_0x1d8886=program[_0x31b61a(0x2cc)](),_0x3022d0=await createTDXInstance(_0x1d8886),_0x2e963e=await _0x109ac5['run']({'options':{..._0x1d8886,..._0x2ff83c},'args':_0x2f569e?[_0x2f569e]:[],'tdx':_0x3022d0});gracefulExit(_0x2e963e);}),segmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2d2),{'hidden':!![]})[a2_0xf13727(0x371)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x3a5),a2_0xf13727(0x30e))['option'](a2_0xf13727(0x193),a2_0xf13727(0x253))[a2_0xf13727(0x2cf)](a2_0xf13727(0x22c),a2_0xf13727(0x2d6))[a2_0xf13727(0x2cf)]('--folder\x20<name>','Folder\x20name\x20for\x20organization')[a2_0xf13727(0x2cf)](a2_0xf13727(0x314),a2_0xf13727(0x17b))[a2_0xf13727(0x2cf)](a2_0xf13727(0x23a),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0xf13727(0x2cf)]('--no-count-population',a2_0xf13727(0x2b7))['action'](async(_0x461fc0,_0x38b2e5)=>{const _0x6d9f10=a2_0xf13727,_0x4cacf8=new SegmentCreateCommand(),_0x44803a=program[_0x6d9f10(0x2cc)](),_0x2c126b=await createTDXInstance(_0x44803a),_0x4de71f=await _0x4cacf8['run']({'options':{..._0x44803a,..._0x38b2e5},'args':[_0x461fc0],'tdx':_0x2c126b});gracefulExit(_0x4de71f);}),segmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x1de),{'hidden':!![]})['description'](a2_0xf13727(0x2a7))[a2_0xf13727(0x2cf)]('--name\x20<new_name>','New\x20segment\x20name')[a2_0xf13727(0x2cf)](a2_0xf13727(0x3a5),a2_0xf13727(0x1aa))['option'](a2_0xf13727(0x193),a2_0xf13727(0x248))['option'](a2_0xf13727(0x22c),a2_0xf13727(0x15c))[a2_0xf13727(0x2cf)](a2_0xf13727(0x15a),'Move\x20to\x20folder')['option'](a2_0xf13727(0x314),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0xf13727(0x159)](async(_0x1eeb21,_0x5c06aa)=>{const _0x1d8612=a2_0xf13727,_0x2aa8bd=new SegmentUpdateCommand(),_0x364a46=program[_0x1d8612(0x2cc)](),_0x78c3de=await createTDXInstance(_0x364a46),_0x1e23cb=await _0x2aa8bd[_0x1d8612(0x263)]({'options':{..._0x364a46,..._0x5c06aa},'args':[_0x1eeb21],'tdx':_0x78c3de});gracefulExit(_0x1e23cb);});const parentCmd=segmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x237),{'hidden':!![]})['description'](a2_0xf13727(0x123)),parentListAction=async(_0x432a78,_0x53833d)=>{const _0x406317=a2_0xf13727,_0x18d82e=new ParentSegmentListCommand(),_0x49cf51=program[_0x406317(0x2cc)](),_0x3a9700=await createTDXInstance(_0x49cf51),_0x5269ae=await _0x18d82e['run']({'options':{..._0x49cf51,..._0x53833d},'args':_0x432a78?[_0x432a78]:[],'tdx':_0x3a9700});gracefulExit(_0x5269ae);};parentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)](a2_0xf13727(0x12b))[a2_0xf13727(0x159)](parentListAction),segmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x16f),{'hidden':!![]})['description'](a2_0xf13727(0x30c))[a2_0xf13727(0x159)](parentListAction),parentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x198))[a2_0xf13727(0x371)](a2_0xf13727(0x11c))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1fc),a2_0xf13727(0x235))['action'](async(_0x4b29bd,_0x21debe)=>{const _0x1ac482=a2_0xf13727,_0x247854=new ParentSegmentPullCommand(),_0x49b05a=program[_0x1ac482(0x2cc)](),_0x131707=await createTDXInstance(_0x49b05a),_0x24b5d1=await _0x247854[_0x1ac482(0x263)]({'options':{..._0x49b05a,..._0x21debe},'args':_0x4b29bd?[_0x4b29bd]:[],'tdx':_0x131707});gracefulExit(_0x24b5d1);}),parentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2f8))[a2_0xf13727(0x371)](a2_0xf13727(0x1ae))[a2_0xf13727(0x159)](async(_0x4e06c2,_0x2ae907)=>{const _0x3aa4dd=a2_0xf13727,_0xd1cebd=new ParentSegmentPushCommand(),_0x458b33=program['opts'](),_0x2bcd1f=await createTDXInstance(_0x458b33),_0x44864c=await _0xd1cebd[_0x3aa4dd(0x263)]({'options':{..._0x458b33,..._0x2ae907},'args':_0x4e06c2?[_0x4e06c2]:[],'tdx':_0x2bcd1f});gracefulExit(_0x44864c);}),parentCmd['command']('validate\x20[file]')[a2_0xf13727(0x371)](a2_0xf13727(0x2f2))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1a1),a2_0xf13727(0x17f))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2e0),a2_0xf13727(0x3ac))[a2_0xf13727(0x2cf)](a2_0xf13727(0xbd),a2_0xf13727(0x339))[a2_0xf13727(0x2cf)]('--enriched',a2_0xf13727(0x1f2))[a2_0xf13727(0x2cf)](a2_0xf13727(0x33a),a2_0xf13727(0x26c),a2_0xf13727(0x1c4))[a2_0xf13727(0x159)](async(_0x2a5f62,_0x342a82)=>{const _0x3687d5=a2_0xf13727,_0x2dfd48=new ParentSegmentValidateCommand(),_0x3d07c8=program[_0x3687d5(0x2cc)](),_0x4d3cf1=await createTDXInstance(_0x3d07c8),_0x5f3ab3=await _0x2dfd48['run']({'options':{..._0x3d07c8,..._0x342a82},'args':_0x2a5f62?[_0x2a5f62]:[],'tdx':_0x4d3cf1});gracefulExit(_0x5f3ab3);}),parentCmd[a2_0xf13727(0x3ae)]('preview\x20[file]')['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option'](a2_0xf13727(0x1a1),'Show\x20master\x20table\x20sample\x20data')['option'](a2_0xf13727(0x2e0),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0xf13727(0x2cf)](a2_0xf13727(0xbd),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0xf13727(0x2cf)](a2_0xf13727(0x393),a2_0xf13727(0x13e))[a2_0xf13727(0x2cf)](a2_0xf13727(0x33a),a2_0xf13727(0x26c),a2_0xf13727(0x1c4))[a2_0xf13727(0x159)](async(_0x107d11,_0x46bc31)=>{const _0x2eb90c=a2_0xf13727,_0x23d092=new ParentSegmentPreviewCommand(),_0x4aab01=program[_0x2eb90c(0x2cc)](),_0x225ced=await createTDXInstance(_0x4aab01),_0x2c539c=await _0x23d092[_0x2eb90c(0x263)]({'options':{..._0x4aab01,..._0x46bc31},'args':_0x107d11?[_0x107d11]:[],'tdx':_0x225ced});gracefulExit(_0x2c539c);}),parentCmd['command'](a2_0xf13727(0x288))['description'](a2_0xf13727(0x1c9))[a2_0xf13727(0x159)](async(_0x15a1a1,_0x3df9d6)=>{const _0x579c2c=a2_0xf13727,_0x1e51ec=new ParentSegmentRunCommand(),_0x3a561f=program[_0x579c2c(0x2cc)](),_0x31975d=await createTDXInstance(_0x3a561f),_0xe7de9=await _0x1e51ec[_0x579c2c(0x263)]({'options':{..._0x3a561f,..._0x3df9d6},'args':_0x15a1a1?[_0x15a1a1]:[],'tdx':_0x31975d});gracefulExit(_0xe7de9);});const parentSegmentCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x300))[a2_0xf13727(0xbf)]('ps')[a2_0xf13727(0x371)]('Parent\x20segment\x20management');parentSegmentCmd['command'](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)](a2_0xf13727(0x12b))['action'](parentListAction),parentSegmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x198))['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0xf13727(0x1fc),a2_0xf13727(0x260))[a2_0xf13727(0x2cf)](a2_0xf13727(0x358),a2_0xf13727(0x2b0))[a2_0xf13727(0x159)](async(_0x181c5f,_0x23d16b)=>{const _0x32a4db=a2_0xf13727,_0x4b33fe=new ParentSegmentPullCommand(),_0x9fd982=program[_0x32a4db(0x2cc)](),_0xa584d0=await createTDXInstance(_0x9fd982),_0x480ccc=await _0x4b33fe[_0x32a4db(0x263)]({'options':{..._0x9fd982,..._0x23d16b},'args':_0x181c5f?[_0x181c5f]:[],'tdx':_0xa584d0});gracefulExit(_0x480ccc);}),parentSegmentCmd['command'](a2_0xf13727(0x265))['description'](a2_0xf13727(0x103))['action'](async(_0x48a92b,_0x183676)=>{const _0x3d0c25=a2_0xf13727,_0xfc2219=new ParentSegmentPushCommand(),_0x2dbbe6=program[_0x3d0c25(0x2cc)](),_0xadd748=await createTDXInstance(_0x2dbbe6),_0x4824d1=await _0xfc2219['run']({'options':{..._0x2dbbe6,..._0x183676},'args':_0x48a92b?[_0x48a92b]:[],'tdx':_0xadd748});gracefulExit(_0x4824d1);}),parentSegmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2ff))[a2_0xf13727(0x371)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0xf13727(0x2cf)](a2_0xf13727(0x1a1),a2_0xf13727(0x17f))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2e0),a2_0xf13727(0x3ac))[a2_0xf13727(0x2cf)](a2_0xf13727(0xbd),a2_0xf13727(0x339))[a2_0xf13727(0x2cf)](a2_0xf13727(0x393),a2_0xf13727(0x1f2))['option'](a2_0xf13727(0x33a),a2_0xf13727(0x26c),'-1d')['action'](async(_0x4719b7,_0x509eb8)=>{const _0x4897ed=a2_0xf13727,_0x41e246=new ParentSegmentValidateCommand(),_0x328931=program['opts'](),_0x4ce0c4=await createTDXInstance(_0x328931),_0xf97e4f=await _0x41e246[_0x4897ed(0x263)]({'options':{..._0x328931,..._0x509eb8},'args':_0x4719b7?[_0x4719b7]:[],'tdx':_0x4ce0c4});gracefulExit(_0xf97e4f);}),parentSegmentCmd['command'](a2_0xf13727(0x156))[a2_0xf13727(0x371)](a2_0xf13727(0x170))['option'](a2_0xf13727(0x1a1),'Show\x20master\x20table\x20sample\x20data')['option'](a2_0xf13727(0x2e0),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0xf13727(0x2cf)](a2_0xf13727(0xbd),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0xf13727(0x2cf)](a2_0xf13727(0x393),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x33a),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0xf13727(0x1c4))[a2_0xf13727(0x159)](async(_0x504be7,_0x52793f)=>{const _0x17f660=a2_0xf13727,_0x1e9672=new ParentSegmentPreviewCommand(),_0x1ea664=program[_0x17f660(0x2cc)](),_0x3783c5=await createTDXInstance(_0x1ea664),_0xcd8ef7=await _0x1e9672[_0x17f660(0x263)]({'options':{..._0x1ea664,..._0x52793f},'args':_0x504be7?[_0x504be7]:[],'tdx':_0x3783c5});gracefulExit(_0xcd8ef7);}),parentSegmentCmd[a2_0xf13727(0x3ae)]('run\x20[name]')[a2_0xf13727(0x371)](a2_0xf13727(0x1c9))[a2_0xf13727(0x159)](async(_0x50f7dd,_0x212639)=>{const _0x40b73c=a2_0xf13727,_0x4e8dfe=new ParentSegmentRunCommand(),_0x1a5a7c=program['opts'](),_0x10b30b=await createTDXInstance(_0x1a5a7c),_0x4c4ce1=await _0x4e8dfe[_0x40b73c(0x263)]({'options':{..._0x1a5a7c,..._0x212639},'args':_0x50f7dd?[_0x50f7dd]:[],'tdx':_0x10b30b});gracefulExit(_0x4c4ce1);}),parentSegmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xf9))[a2_0xf13727(0x371)](a2_0xf13727(0x1fb))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2d9),a2_0xf13727(0x19a))[a2_0xf13727(0x2cf)](a2_0xf13727(0x24a),a2_0xf13727(0x328))[a2_0xf13727(0x159)](async(_0x47c23f,_0xf7e986)=>{const _0x502a37=a2_0xf13727,_0x240a91=new ParentSegmentFieldsCommand(),_0x13c544=program['opts'](),_0x48bf90=await createTDXInstance(_0x13c544),_0xbc1544=await _0x240a91[_0x502a37(0x263)]({'options':{..._0x13c544,..._0xf7e986},'args':_0x47c23f?[_0x47c23f]:[],'tdx':_0x48bf90});gracefulExit(_0xbc1544);}),parentSegmentCmd['command']('view\x20[name]')[a2_0xf13727(0x371)](a2_0xf13727(0x39f))[a2_0xf13727(0x2cf)](a2_0xf13727(0x22e),a2_0xf13727(0x16b))['option'](a2_0xf13727(0x2d9),'Output\x20as\x20JSON')['option']('--jsonl',a2_0xf13727(0x328))[a2_0xf13727(0x159)](async(_0x3242b4,_0x5dd477)=>{const _0xedaa5b=a2_0xf13727,_0x552d74=new ParentSegmentViewCommand(),_0x3c8fc7=program[_0xedaa5b(0x2cc)](),_0x4f452b=await createTDXInstance(_0x3c8fc7),_0x1c7e2c=await _0x552d74[_0xedaa5b(0x263)]({'options':{..._0x3c8fc7,..._0x5dd477},'args':_0x3242b4?[_0x3242b4]:[],'tdx':_0x4f452b});gracefulExit(_0x1c7e2c);}),parentSegmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x34e))[a2_0xf13727(0x371)](a2_0xf13727(0x350))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1fc),'Output\x20file\x20path')[a2_0xf13727(0x2cf)](a2_0xf13727(0x2d9),a2_0xf13727(0x19a))['option']('--jsonl',a2_0xf13727(0x328))['action'](async(_0x4eee21,_0x18a6af)=>{const _0x30a8d7=a2_0xf13727,_0x43e632=new ParentSegmentDescCommand(),_0x5ced42=program[_0x30a8d7(0x2cc)](),_0x1f9203=await createTDXInstance(_0x5ced42),_0x2f0fe0=await _0x43e632[_0x30a8d7(0x263)]({'options':{..._0x5ced42,..._0x18a6af},'args':_0x4eee21?[_0x4eee21]:[],'tdx':_0x1f9203});gracefulExit(_0x2f0fe0);}),parentSegmentCmd[a2_0xf13727(0x3ae)]('sql\x20[name]')[a2_0xf13727(0x371)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xf13727(0x2cf)]('--json','Output\x20as\x20JSON')[a2_0xf13727(0x2cf)]('--jsonl',a2_0xf13727(0x328))['action'](async(_0x437a4a,_0x43c7e2)=>{const _0x2d09d3=a2_0xf13727,_0xecffd1=new ParentSegmentSQLCommand(),_0x4f23be=program[_0x2d09d3(0x2cc)](),_0x183128=await createTDXInstance(_0x4f23be),_0x3b9ab3=await _0xecffd1[_0x2d09d3(0x263)]({'options':{..._0x4f23be,..._0x43c7e2},'args':_0x437a4a?[_0x437a4a]:[],'tdx':_0x183128});gracefulExit(_0x3b9ab3);}),parentSegmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x1ab))['description'](a2_0xf13727(0x231))[a2_0xf13727(0x2cf)](a2_0xf13727(0x152),a2_0xf13727(0x31c))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2d9),'Output\x20as\x20JSON')[a2_0xf13727(0x2cf)]('--jsonl',a2_0xf13727(0x328))['action'](async(_0x3de9b0,_0x1d6beb)=>{const _0x23186d=a2_0xf13727,_0x49794b=new ParentSegmentShowCommand(),_0x34df14=program[_0x23186d(0x2cc)](),_0x2e2b47=await createTDXInstance(_0x34df14),_0x39b6cb=await _0x49794b[_0x23186d(0x263)]({'options':{..._0x34df14,..._0x1d6beb},'args':_0x3de9b0?[_0x3de9b0]:[],'tdx':_0x2e2b47});gracefulExit(_0x39b6cb);}),parentSegmentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x367))[a2_0xf13727(0x371)](a2_0xf13727(0x2ea))[a2_0xf13727(0x159)](async(_0x4530d8,_0xf33e2f)=>{const _0x28f11d=a2_0xf13727,_0xd8b467=new UseCommand(),_0xb2159f=program[_0x28f11d(0x2cc)](),_0x45dd52=_0x4530d8?['parent_segment',_0x4530d8]:[],_0x5524ad=await _0xd8b467[_0x28f11d(0x263)]({'options':{..._0xb2159f,..._0xf33e2f},'args':_0x45dd52,'tdx':null});gracefulExit(_0x5524ad);});const psRtCmd=parentSegmentCmd[a2_0xf13727(0x3ae)]('rt')[a2_0xf13727(0x371)](a2_0xf13727(0x364));psRtCmd['command'](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)](a2_0xf13727(0x1e3))[a2_0xf13727(0x159)](async(_0xa1119c,_0x264369)=>{const _0x417add=a2_0xf13727,_0x2a00f7=new PSRtListCommand(),_0xb76cb=program[_0x417add(0x2cc)](),_0x1286e4=await createTDXInstance(_0xb76cb),_0x2cab36=await _0x2a00f7['run']({'options':{..._0xb76cb,..._0x264369},'args':_0xa1119c?[_0xa1119c]:[],'tdx':_0x1286e4});gracefulExit(_0x2cab36);}),psRtCmd[a2_0xf13727(0x3ae)]('validate\x20[name]')[a2_0xf13727(0x371)](a2_0xf13727(0x29d))['action'](async(_0x25e772,_0x1aa52c)=>{const _0x14c980=a2_0xf13727,_0x276fef=new PSRtValidateCommand(),_0x4bb38f=program['opts'](),_0x3390bd=await createTDXInstance(_0x4bb38f),_0x2ce5ce=await _0x276fef[_0x14c980(0x263)]({'options':{..._0x4bb38f,..._0x1aa52c},'args':_0x25e772?[_0x25e772]:[],'tdx':_0x3390bd});gracefulExit(_0x2ce5ce);}),psRtCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x344))[a2_0xf13727(0x371)](a2_0xf13727(0x31e))['action'](async(_0xc0f237,_0x2a1e7d)=>{const _0x567775=a2_0xf13727,_0x3fed55=new PSRtConfigVersionCommand(),_0x12b2ba=program['opts'](),_0x2baac4=await createTDXInstance(_0x12b2ba),_0x4531d5=await _0x3fed55[_0x567775(0x263)]({'options':{..._0x12b2ba,..._0x2a1e7d},'args':_0xc0f237?[_0xc0f237]:[],'tdx':_0x2baac4});gracefulExit(_0x4531d5);});const psRtJnCmd=psRtCmd[a2_0xf13727(0x3ae)]('jn')[a2_0xf13727(0x371)]('RT\x20Journey\x20management');psRtJnCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x35e))[a2_0xf13727(0x371)](a2_0xf13727(0x184))[a2_0xf13727(0x159)](async(_0x188d90,_0x549f7e)=>{const _0x13b25e=a2_0xf13727,_0x261a41=new PSRtJnListCommand(),_0x27e4f7=program[_0x13b25e(0x2cc)](),_0x348e67=await createTDXInstance(_0x27e4f7),_0x237d26=await _0x261a41[_0x13b25e(0x263)]({'options':{..._0x27e4f7,..._0x549f7e},'args':_0x188d90?[_0x188d90]:[],'tdx':_0x348e67});gracefulExit(_0x237d26);}),psRtJnCmd[a2_0xf13727(0x3ae)]('pause_activations\x20<journeyId>')[a2_0xf13727(0x371)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')['action'](async(_0x52bda9,_0x44e6d2)=>{const _0x5677f1=a2_0xf13727,_0x15934d=new PSRtJnPauseCommand(),_0x115d29=program[_0x5677f1(0x2cc)](),_0x5f02b1=await createTDXInstance(_0x115d29),_0x5ba4b8=await _0x15934d[_0x5677f1(0x263)]({'options':{..._0x115d29,..._0x44e6d2},'args':[_0x52bda9],'tdx':_0x5f02b1});gracefulExit(_0x5ba4b8);}),psRtJnCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x113))[a2_0xf13727(0x371)](a2_0xf13727(0x3a8))['action'](async(_0x7e8f16,_0x4326c6)=>{const _0x48da23=a2_0xf13727,_0x159599=new PSRtJnResumeCommand(),_0x55bc74=program['opts'](),_0x50678e=await createTDXInstance(_0x55bc74),_0x4b3a44=await _0x159599[_0x48da23(0x263)]({'options':{..._0x55bc74,..._0x4326c6},'args':[_0x7e8f16],'tdx':_0x50678e});gracefulExit(_0x4b3a44);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0xf13727(0x371)](a2_0xf13727(0x364));parentRtCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)](a2_0xf13727(0x1e3))[a2_0xf13727(0x159)](async(_0x2f7afa,_0x446f77)=>{const _0x2d7a56=a2_0xf13727,_0x8953b1=new PSRtListCommand(),_0x3bacad=program[_0x2d7a56(0x2cc)](),_0x114f65=await createTDXInstance(_0x3bacad),_0x3ca697=await _0x8953b1[_0x2d7a56(0x263)]({'options':{..._0x3bacad,..._0x446f77},'args':_0x2f7afa?[_0x2f7afa]:[],'tdx':_0x114f65});gracefulExit(_0x3ca697);}),parentRtCmd['command'](a2_0xf13727(0x2ff))[a2_0xf13727(0x371)](a2_0xf13727(0x29d))['action'](async(_0x1810be,_0x261dd3)=>{const _0x9c97e2=a2_0xf13727,_0x24c263=new PSRtValidateCommand(),_0x1013fb=program[_0x9c97e2(0x2cc)](),_0x321dbe=await createTDXInstance(_0x1013fb),_0x44f685=await _0x24c263['run']({'options':{..._0x1013fb,..._0x261dd3},'args':_0x1810be?[_0x1810be]:[],'tdx':_0x321dbe});gracefulExit(_0x44f685);});const psPzCmd=parentSegmentCmd[a2_0xf13727(0x3ae)]('pz')[a2_0xf13727(0x371)](a2_0xf13727(0x30f));psPzCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x35e))[a2_0xf13727(0x371)](a2_0xf13727(0x301))[a2_0xf13727(0x159)](async(_0x4dcc32,_0x5d2c10)=>{const _0x45a096=a2_0xf13727,_0x549b06=new PSPzListCommand(),_0x47efd8=program[_0x45a096(0x2cc)](),_0x1a4292=await createTDXInstance(_0x47efd8),_0x176d42=await _0x549b06[_0x45a096(0x263)]({'options':{..._0x47efd8,..._0x5d2c10},'args':_0x4dcc32?[_0x4dcc32]:[],'tdx':_0x1a4292});gracefulExit(_0x176d42);}),psPzCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x361))[a2_0xf13727(0x371)](a2_0xf13727(0x185))['action'](async(_0x55a000,_0x2bbc9c)=>{const _0x1cd94e=a2_0xf13727,_0x56c75e=new PSPzShowCommand(),_0x1cc0b8=program[_0x1cd94e(0x2cc)](),_0x39dbb4=await createTDXInstance(_0x1cc0b8),_0x4fd95d=await _0x56c75e[_0x1cd94e(0x263)]({'options':{..._0x1cc0b8,..._0x2bbc9c},'args':[_0x55a000],'tdx':_0x39dbb4});gracefulExit(_0x4fd95d);}),psPzCmd['command'](a2_0xf13727(0x153))[a2_0xf13727(0x371)]('Delete\x20a\x20realtime\x20personalization')[a2_0xf13727(0x159)](async(_0x71dddc,_0x20286c)=>{const _0x8e3fdb=a2_0xf13727,_0x48adc7=new PSPzDeleteCommand(),_0x1cec57=program['opts'](),_0xb90fe9=await createTDXInstance(_0x1cec57),_0x391d95=await _0x48adc7[_0x8e3fdb(0x263)]({'options':{..._0x1cec57,..._0x20286c},'args':[_0x71dddc],'tdx':_0xb90fe9});gracefulExit(_0x391d95);}),psPzCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x22b))[a2_0xf13727(0x371)](a2_0xf13727(0xd4))[a2_0xf13727(0x2cf)](a2_0xf13727(0x132),a2_0xf13727(0x175))[a2_0xf13727(0x2cf)]('--description\x20<text>','Personalization\x20description')[a2_0xf13727(0x2cf)](a2_0xf13727(0x250),a2_0xf13727(0x33c))['option'](a2_0xf13727(0x3bb),a2_0xf13727(0x2a1))[a2_0xf13727(0x2cf)](a2_0xf13727(0x396),a2_0xf13727(0x20c))[a2_0xf13727(0x2cf)](a2_0xf13727(0x32e),a2_0xf13727(0x163))['action'](async _0x5e8102=>{const _0x3937d9=a2_0xf13727,_0x4d7b1d=new PSPzCreateCommand(),_0x4d330b=program[_0x3937d9(0x2cc)](),_0x538395=await createTDXInstance(_0x4d330b),_0x16ff7d=await _0x4d7b1d[_0x3937d9(0x263)]({'options':{..._0x4d330b,..._0x5e8102},'args':[],'tdx':_0x538395});gracefulExit(_0x16ff7d);}),psPzCmd[a2_0xf13727(0x3ae)]('patch\x20<personalization_id>')[a2_0xf13727(0x371)]('Update\x20a\x20realtime\x20personalization\x20entity')['option'](a2_0xf13727(0x132),'Personalization\x20name')[a2_0xf13727(0x2cf)](a2_0xf13727(0x3a5),a2_0xf13727(0x3b5))[a2_0xf13727(0x2cf)](a2_0xf13727(0x396),a2_0xf13727(0x20c))[a2_0xf13727(0x2cf)](a2_0xf13727(0x32e),a2_0xf13727(0x163))[a2_0xf13727(0x159)](async(_0x54a90b,_0x2ad5f8)=>{const _0x1d9602=a2_0xf13727,_0x326ad1=new PSPzPatchCommand(),_0x4f681a=program[_0x1d9602(0x2cc)](),_0x29c33b=await createTDXInstance(_0x4f681a),_0x50f6c5=await _0x326ad1['run']({'options':{..._0x4f681a,..._0x2ad5f8},'args':[_0x54a90b],'tdx':_0x29c33b});gracefulExit(_0x50f6c5);});const psPzServiceCmd=psPzCmd[a2_0xf13727(0x3ae)]('service')['description'](a2_0xf13727(0x2d0));psPzServiceCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x35e))[a2_0xf13727(0x371)](a2_0xf13727(0x1e5))['action'](async(_0xc0f185,_0x5dd317)=>{const _0x3173c4=a2_0xf13727,_0x2de835=new PSPzServiceListCommand(),_0x111d1b=program[_0x3173c4(0x2cc)](),_0x47f1c3=await createTDXInstance(_0x111d1b),_0x570939=await _0x2de835[_0x3173c4(0x263)]({'options':{..._0x111d1b,..._0x5dd317},'args':_0xc0f185?[_0xc0f185]:[],'tdx':_0x47f1c3});gracefulExit(_0x570939);}),psPzServiceCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x382))[a2_0xf13727(0x371)](a2_0xf13727(0x293))['option'](a2_0xf13727(0x3a5),'Service\x20description')[a2_0xf13727(0x2cf)](a2_0xf13727(0x187),a2_0xf13727(0x2ba))[a2_0xf13727(0x159)](async(_0x817241,_0x2c192a,_0x3cc8a0)=>{const _0x2bc76b=a2_0xf13727,_0xab9e66=new PSPzServiceCreateCommand(),_0x25bd58=program[_0x2bc76b(0x2cc)](),_0x50ad63=await createTDXInstance(_0x25bd58),_0x686c6b=await _0xab9e66['run']({'options':{..._0x25bd58,..._0x3cc8a0},'args':_0x2c192a?[_0x817241,_0x2c192a]:[_0x817241],'tdx':_0x50ad63});gracefulExit(_0x686c6b);}),psPzServiceCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2f9))['description']('Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0xf13727(0x159)](async(_0x2c8718,_0x18f732,_0x5030a6)=>{const _0x218c03=a2_0xf13727,_0x2eb0ff=new PSPzServiceShowCommand(),_0x25d871=program[_0x218c03(0x2cc)](),_0x5c02d1=await createTDXInstance(_0x25d871),_0x18a238=await _0x2eb0ff['run']({'options':{..._0x25d871,..._0x5030a6},'args':_0x18f732?[_0x2c8718,_0x18f732]:[_0x2c8718],'tdx':_0x5c02d1});gracefulExit(_0x18a238);}),psPzServiceCmd[a2_0xf13727(0x3ae)]('delete\x20<service_id>\x20[parent_segment]')[a2_0xf13727(0x371)](a2_0xf13727(0x112))['action'](async(_0x224967,_0x5d0b59,_0x4b1cf2)=>{const _0x18f921=a2_0xf13727,_0xe8f08f=new PSPzServiceDeleteCommand(),_0x4b6551=program[_0x18f921(0x2cc)](),_0x5791cb=await createTDXInstance(_0x4b6551),_0x42a009=await _0xe8f08f['run']({'options':{..._0x4b6551,..._0x4b1cf2},'args':_0x5d0b59?[_0x224967,_0x5d0b59]:[_0x224967],'tdx':_0x5791cb});gracefulExit(_0x42a009);}),psPzServiceCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x38b))[a2_0xf13727(0x371)]('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0xf13727(0x3be)](a2_0xf13727(0x209),a2_0xf13727(0x290))[a2_0xf13727(0x2cf)](a2_0xf13727(0x3a5),'New\x20service\x20description')[a2_0xf13727(0x159)](async(_0x14c5c5,_0x21c3a2,_0x54fa6a)=>{const _0x287bee=a2_0xf13727,_0x2462f9=new PSPzServiceUpdateCommand(),_0x25945f=program[_0x287bee(0x2cc)](),_0x50bc14=await createTDXInstance(_0x25945f),_0x281d8e=await _0x2462f9[_0x287bee(0x263)]({'options':{..._0x25945f,..._0x54fa6a},'args':_0x21c3a2?[_0x14c5c5,_0x21c3a2]:[_0x14c5c5],'tdx':_0x50bc14});gracefulExit(_0x281d8e);}),psPzServiceCmd['command'](a2_0xf13727(0xc8))[a2_0xf13727(0x371)](a2_0xf13727(0x1eb))[a2_0xf13727(0x159)](async(_0x20f18c,_0x31a8b7)=>{const _0x4b5ab5=a2_0xf13727,_0x36272b=new PSPzInitCommand(),_0x406845=program['opts'](),_0x2fb370=await createTDXInstance(_0x406845),_0x2d4e37=await _0x36272b[_0x4b5ab5(0x263)]({'options':{..._0x406845,..._0x31a8b7},'args':_0x20f18c?[_0x20f18c]:[],'tdx':_0x2fb370});gracefulExit(_0x2d4e37);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x298))[a2_0xf13727(0x371)](a2_0xf13727(0x164));psPzServiceTokenCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x196))['description'](a2_0xf13727(0x1ec))[a2_0xf13727(0x2cf)](a2_0xf13727(0x303),a2_0xf13727(0x241))['option']('--description\x20<text>',a2_0xf13727(0x335))[a2_0xf13727(0x159)](async(_0x178c81,_0x2b4ec9,_0x30c836,_0x4e2259)=>{const _0x5a89bc=a2_0xf13727,_0x1ea29=new PSPzServiceTokenCreateCommand(),_0x480a2d=program['opts'](),_0x895a72=await createTDXInstance(_0x480a2d),_0xd0e1ea=await _0x1ea29[_0x5a89bc(0x263)]({'options':{..._0x480a2d,..._0x4e2259},'args':_0x30c836?[_0x178c81,_0x2b4ec9,_0x30c836]:[_0x178c81,_0x2b4ec9],'tdx':_0x895a72});gracefulExit(_0xd0e1ea);}),psPzServiceTokenCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x31a))[a2_0xf13727(0x371)](a2_0xf13727(0x333))['action'](async(_0x4481f3,_0x415fa3,_0x49acf1)=>{const _0x4e4776=a2_0xf13727,_0x50a398=new PSPzServiceTokenDeleteCommand(),_0xf31af6=program['opts'](),_0x20e16f=await createTDXInstance(_0xf31af6),_0x4233ff=await _0x50a398[_0x4e4776(0x263)]({'options':{..._0xf31af6,..._0x49acf1},'args':_0x415fa3?[_0x4481f3,_0x415fa3]:[_0x4481f3],'tdx':_0x20e16f});gracefulExit(_0x4233ff);}),parentCmd['command'](a2_0xf13727(0x28e))['description'](a2_0xf13727(0xf5))[a2_0xf13727(0x3be)](a2_0xf13727(0x150),a2_0xf13727(0x188))[a2_0xf13727(0x3be)](a2_0xf13727(0x345),a2_0xf13727(0x236))['option'](a2_0xf13727(0x3a5),a2_0xf13727(0x302))[a2_0xf13727(0x2cf)](a2_0xf13727(0x215),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0xf13727(0x2cf)]('--schedule-option\x20<value>',a2_0xf13727(0xc0))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1bc),'Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0xf13727(0x2cf)]('--attributes\x20<json>',a2_0xf13727(0x22a))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2fc),a2_0xf13727(0x24b))[a2_0xf13727(0x2cf)]('--behaviors\x20<json>',a2_0xf13727(0x363))[a2_0xf13727(0x2cf)]('--behaviors-file\x20<file>','Behaviors\x20from\x20JSON\x20file')[a2_0xf13727(0x2cf)](a2_0xf13727(0x2c4),a2_0xf13727(0x3b7))['option'](a2_0xf13727(0x100),a2_0xf13727(0x149))[a2_0xf13727(0x159)](async(_0xf01dac,_0xb234e)=>{const _0x489573=a2_0xf13727,_0xe4aef7=new ParentSegmentCreateCommand(),_0x3daf9d=program[_0x489573(0x2cc)](),_0x13f793=await createTDXInstance(_0x3daf9d),_0x5522bf=await _0xe4aef7[_0x489573(0x263)]({'options':{..._0x3daf9d,..._0xb234e},'args':[_0xf01dac],'tdx':_0x13f793});gracefulExit(_0x5522bf);}),parentCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x27c))[a2_0xf13727(0x371)](a2_0xf13727(0xf0))['option']('--description\x20<text>',a2_0xf13727(0x1aa))[a2_0xf13727(0x2cf)](a2_0xf13727(0x215),a2_0xf13727(0xe5))[a2_0xf13727(0x2cf)](a2_0xf13727(0x25a),a2_0xf13727(0x284))['option']('--timezone\x20<tz>',a2_0xf13727(0x33f))[a2_0xf13727(0x2cf)](a2_0xf13727(0x211),a2_0xf13727(0x1af))[a2_0xf13727(0x2cf)](a2_0xf13727(0x161),a2_0xf13727(0x287))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1ce),'Add\x20behaviors\x20as\x20JSON\x20string')['option'](a2_0xf13727(0x154),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0xf13727(0x159)](async(_0x46c80a,_0x521b5a)=>{const _0x5f4d03=new ParentSegmentUpdateCommand(),_0x19a845=program['opts'](),_0x4e595e=await createTDXInstance(_0x19a845),_0x51946d=await _0x5f4d03['run']({'options':{..._0x19a845,..._0x521b5a},'args':[_0x46c80a],'tdx':_0x4e595e});gracefulExit(_0x51946d);}),folderCmd['command']('create\x20<parent_name>\x20<folder_name>')[a2_0xf13727(0x371)](a2_0xf13727(0x37a))[a2_0xf13727(0x2cf)](a2_0xf13727(0x3a5),a2_0xf13727(0x14c))['option']('--parent-folder\x20<name>',a2_0xf13727(0x1d6))[a2_0xf13727(0x159)](async(_0xf5c173,_0x9bb54f,_0x3a72a9)=>{const _0x28bacc=a2_0xf13727,_0x44b48d=new SegmentFolderCreateCommand(),_0x15d7bc=program[_0x28bacc(0x2cc)](),_0x5dcf13=await createTDXInstance(_0x15d7bc),_0x572d43=await _0x44b48d[_0x28bacc(0x263)]({'options':{..._0x15d7bc,..._0x3a72a9},'args':[_0xf5c173,_0x9bb54f],'tdx':_0x5dcf13});gracefulExit(_0x572d43);}),program['command']('activations\x20<segment_name>')[a2_0xf13727(0x371)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0xf13727(0x159)](async(_0x3815a7,_0x17398c)=>{const _0x228e9b=a2_0xf13727,_0x1aa48f=new ActivationsCommand(),_0x137c3f=program[_0x228e9b(0x2cc)](),_0x46a058=await createTDXInstance(_0x137c3f),_0x392b16=await _0x1aa48f[_0x228e9b(0x263)]({'options':{..._0x137c3f,..._0x17398c},'args':[_0x3815a7],'tdx':_0x46a058});gracefulExit(_0x392b16);});const workflowCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x2c3))['alias']('wf')[a2_0xf13727(0x371)](a2_0xf13727(0x203)),wfProjectCmd=workflowCmd[a2_0xf13727(0x3ae)]('project')[a2_0xf13727(0x371)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x3cc4e9,_0x25b793)=>{const _0x630c7b=a2_0xf13727,_0x195ccc=new WorkflowProjectsCommand(),_0x253a9c=program[_0x630c7b(0x2cc)](),_0x35c842=await createTDXInstance(_0x253a9c),_0x184377=await _0x195ccc[_0x630c7b(0x263)]({'options':{..._0x253a9c,..._0x25b793},'args':_0x3cc4e9?[_0x3cc4e9]:[],'tdx':_0x35c842});gracefulExit(_0x184377);};wfProjectCmd['command'](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)](a2_0xf13727(0x2d4))[a2_0xf13727(0x159)](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')[a2_0xf13727(0x371)](a2_0xf13727(0x225))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x1082bd,_0xd636f1)=>{const _0x2dc13d=a2_0xf13727,_0x5d0fc1=new WorkflowWorkflowsCommand(),_0x4c65e1=program['opts'](),_0x535d11=await createTDXInstance(_0x4c65e1),_0xc4c245=await _0x5d0fc1[_0x2dc13d(0x263)]({'options':{..._0x4c65e1,..._0xd636f1},'args':_0x1082bd?[_0x1082bd]:[],'tdx':_0x535d11});gracefulExit(_0xc4c245);};workflowCmd[a2_0xf13727(0x3ae)]('workflows\x20[project]')[a2_0xf13727(0x371)](a2_0xf13727(0x11d))[a2_0xf13727(0x159)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0xf13727(0x17d))['description']('Workflow\x20session\x20management'),wfSessionListAction=async(_0x2b3b37,_0x3f10cb)=>{const _0x32538a=a2_0xf13727,_0x2868ee=new WorkflowSessionsCommand(),_0x49435f=program['opts'](),_0x33d7ff=await createTDXInstance(_0x49435f),_0x50a345=await _0x2868ee[_0x32538a(0x263)]({'options':{..._0x49435f,..._0x3f10cb},'args':_0x2b3b37?[_0x2b3b37]:[],'tdx':_0x33d7ff});gracefulExit(_0x50a345);};wfSessionCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x33b))['description'](a2_0xf13727(0x2ab))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2e7),a2_0xf13727(0x354))[a2_0xf13727(0x2cf)]('--from\x20<timestamp>',a2_0xf13727(0xdc))[a2_0xf13727(0x2cf)]('--to\x20<timestamp>',a2_0xf13727(0x13b))[a2_0xf13727(0x159)](wfSessionListAction),workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x323))['description'](a2_0xf13727(0x3a1))[a2_0xf13727(0x2cf)]('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0xf13727(0x2cf)](a2_0xf13727(0xb4),a2_0xf13727(0xdc))['option'](a2_0xf13727(0x10a),a2_0xf13727(0x13b))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x5f32f2,_0x4aac1a)=>{const _0x53efa0=a2_0xf13727,_0x22232c=new WorkflowAttemptsCommand(),_0x14f945=program[_0x53efa0(0x2cc)](),_0x2f5e62=await createTDXInstance(_0x14f945),_0xd96cee=await _0x22232c[_0x53efa0(0x263)]({'options':{..._0x14f945,..._0x4aac1a},'args':_0x5f32f2?[_0x5f32f2]:[],'tdx':_0x2f5e62});gracefulExit(_0xd96cee);},attemptCmd=workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xb2))[a2_0xf13727(0x371)]('Workflow\x20attempt\x20management')[a2_0xf13727(0x18c)](a2_0xf13727(0x291),'Attempt\x20ID')[a2_0xf13727(0x18c)](a2_0xf13727(0x399),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')['argument'](a2_0xf13727(0x148),a2_0xf13727(0x16d))[a2_0xf13727(0x2cf)]('--include-subtasks',a2_0xf13727(0x1c0))[a2_0xf13727(0x2cf)]('--reason\x20<text>',a2_0xf13727(0x17a))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1a6),'Resume\x20from\x20specific\x20task\x20(retry)')['option']('--params\x20<json>',a2_0xf13727(0x38c))[a2_0xf13727(0x2cf)]('--force',a2_0xf13727(0x3a0))[a2_0xf13727(0x2cf)]('--include-retried',a2_0xf13727(0x245))[a2_0xf13727(0x159)](async(_0x2e3acf,_0x510106,_0x52ca04,_0x3b9a68)=>{const _0x3363f7=a2_0xf13727;if(_0x2e3acf===_0x3363f7(0x1a0)){await wfAttemptListAction(_0x510106,_0x3b9a68);return;}if(!_0x2e3acf){attemptCmd[_0x3363f7(0x172)]();return;}const _0x210f52=program['opts'](),_0x6aca19=await createTDXInstance(_0x210f52);let _0x299a24=0x0;if(!_0x510106){const _0x367c1e=new WorkflowAttemptCommand();_0x299a24=await _0x367c1e[_0x3363f7(0x263)]({'options':{..._0x210f52,..._0x3b9a68},'args':[_0x2e3acf],'tdx':_0x6aca19});}else{if(_0x510106==='logs'){const _0x496d3f=new WorkflowLogsCommand();_0x299a24=await _0x496d3f[_0x3363f7(0x263)]({'options':{..._0x210f52,..._0x3b9a68},'args':_0x52ca04?[_0x2e3acf,_0x52ca04]:[_0x2e3acf],'tdx':_0x6aca19});}else{if(_0x510106==='tasks'){const _0x1be51b=new WorkflowTasksCommand();_0x299a24=await _0x1be51b[_0x3363f7(0x263)]({'options':{..._0x210f52,..._0x3b9a68},'args':[_0x2e3acf],'tdx':_0x6aca19});}else{if(_0x510106===_0x3363f7(0x2e5)){const _0x2811ed=new WorkflowKillCommand();_0x299a24=await _0x2811ed[_0x3363f7(0x263)]({'options':{..._0x210f52,..._0x3b9a68},'args':[_0x2e3acf],'tdx':_0x6aca19});}else{if(_0x510106===_0x3363f7(0xe0)){const _0x31639b=new WorkflowRetryCommand();_0x299a24=await _0x31639b[_0x3363f7(0x263)]({'options':{..._0x210f52,..._0x3b9a68},'args':[_0x3363f7(0xf2)+_0x2e3acf],'tdx':_0x6aca19});}else console['error']('Unknown\x20action:\x20'+_0x510106),console['error'](_0x3363f7(0x325)),_0x299a24=0x1;}}}}gracefulExit(_0x299a24);});attemptCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x33b))[a2_0xf13727(0x371)](a2_0xf13727(0xd7))[a2_0xf13727(0x2cf)]('--include-retried',a2_0xf13727(0x346))[a2_0xf13727(0x159)](wfAttemptListAction),workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x276))[a2_0xf13727(0x371)](a2_0xf13727(0x29e))[a2_0xf13727(0x2cf)]('--include-retried','Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd[a2_0xf13727(0x3ae)]('timeline\x20[project.workflow]')[a2_0xf13727(0x371)]('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')[a2_0xf13727(0x2cf)]('--follow',a2_0xf13727(0x37c))[a2_0xf13727(0x2cf)](a2_0xf13727(0x324),a2_0xf13727(0x105))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1b9),a2_0xf13727(0x197))[a2_0xf13727(0x159)](async(_0x4ca5e9,_0x3e4d0a)=>{const _0x22ddb8=a2_0xf13727,_0xb881e6=new WorkflowTimelineCommand(),_0x5e55ff=program['opts'](),_0x2b47d1=await createTDXInstance(_0x5e55ff),_0x4a247e=await _0xb881e6[_0x22ddb8(0x263)]({'options':{..._0x5e55ff,..._0x3e4d0a},'args':_0x4ca5e9?[_0x4ca5e9]:[],'tdx':_0x2b47d1});gracefulExit(_0x4a247e);}),workflowCmd['command'](a2_0xf13727(0x36f))[a2_0xf13727(0x371)]('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0xf13727(0x2cf)](a2_0xf13727(0xe7),'Resume\x20from\x20specific\x20task')[a2_0xf13727(0x2cf)]('--params\x20<json>',a2_0xf13727(0x206))[a2_0xf13727(0x159)](async(_0x3a1d13,_0x3ad5cc)=>{const _0x19eaa2=a2_0xf13727,_0x4d85fe=new WorkflowRetryCommand(),_0x308785=program[_0x19eaa2(0x2cc)](),_0x31bd56=await createTDXInstance(_0x308785),_0x10d969=await _0x4d85fe[_0x19eaa2(0x263)]({'options':{..._0x308785,..._0x3ad5cc},'args':[_0x3a1d13],'tdx':_0x31bd56});gracefulExit(_0x10d969);}),workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x28d))[a2_0xf13727(0x371)](a2_0xf13727(0x352))['option']('--param\x20<key=value>',a2_0xf13727(0x1b6),(_0x44a679,_0x21e7b1=[])=>[..._0x21e7b1,_0x44a679],[])[a2_0xf13727(0x2cf)](a2_0xf13727(0x2c9),a2_0xf13727(0xfb))[a2_0xf13727(0x159)](async(_0x344721,_0x47ed41)=>{const _0x3e0f12=a2_0xf13727,_0x196d4f=new WorkflowRunCommand(),_0x5a30ea=program['opts'](),_0x3ab197=await createTDXInstance(_0x5a30ea),_0x2ada92=await _0x196d4f[_0x3e0f12(0x263)]({'options':{..._0x5a30ea,..._0x47ed41},'args':_0x344721?[_0x344721]:[],'tdx':_0x3ab197});gracefulExit(_0x2ada92);}),workflowCmd[a2_0xf13727(0x3ae)]('download\x20<project-name>\x20[output-dir]')['description'](a2_0xf13727(0x18b))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2ce),a2_0xf13727(0xc9))[a2_0xf13727(0x159)](async(_0x5bfeea,_0x53c827,_0x1832dc)=>{const _0x347535=a2_0xf13727,_0x3c4762=new WorkflowDownloadCommand(),_0x1cc00f=program[_0x347535(0x2cc)](),_0x154214=await createTDXInstance(_0x1cc00f),_0x4f1b18=await _0x3c4762[_0x347535(0x263)]({'options':{..._0x1cc00f,..._0x1832dc},'args':[_0x5bfeea,_0x53c827||'.'],'tdx':_0x154214});gracefulExit(_0x4f1b18);}),workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x29a))[a2_0xf13727(0x371)](a2_0xf13727(0x217))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2ce),'Pull\x20specific\x20revision\x20(default:\x20latest)')['option']('--dry-run',a2_0xf13727(0x1a9))[a2_0xf13727(0x159)](async(_0x2502fd,_0x24035f,_0x14b71b)=>{const _0x3a277d=a2_0xf13727,_0x5f2d53=new WorkflowPullCommand(),_0x201c18=program[_0x3a277d(0x2cc)](),_0x47517e=await createTDXInstance(_0x201c18),_0x5d0ac7=await _0x5f2d53[_0x3a277d(0x263)]({'options':{..._0x201c18,..._0x14b71b},'args':_0x24035f?[_0x2502fd,_0x24035f]:[_0x2502fd],'tdx':_0x47517e});gracefulExit(_0x5d0ac7);}),workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x1f8))[a2_0xf13727(0x371)]('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')['option']('--revision\x20<revision>',a2_0xf13727(0x1b2))[a2_0xf13727(0x2cf)](a2_0xf13727(0xcf),a2_0xf13727(0x368))[a2_0xf13727(0x2cf)](a2_0xf13727(0x377),a2_0xf13727(0x321))[a2_0xf13727(0x159)](async(_0x5560bd,_0x3984c4)=>{const _0x591291=a2_0xf13727,_0x339cfe=new WorkflowPushCommand(),_0x2927d0=program[_0x591291(0x2cc)](),_0x9266a9=await createTDXInstance(_0x2927d0),_0x49abd5=await _0x339cfe[_0x591291(0x263)]({'options':{..._0x2927d0,..._0x3984c4},'args':_0x5560bd?[_0x5560bd]:[],'tdx':_0x9266a9});gracefulExit(_0x49abd5);}),workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x289))['description'](a2_0xf13727(0x392))[a2_0xf13727(0x2cf)](a2_0xf13727(0x209),a2_0xf13727(0x2d5))['option'](a2_0xf13727(0x2ce),'Revision\x20name\x20(default:\x20timestamp)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x377),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0xf13727(0x159)](async(_0x222017,_0x344dad)=>{const _0x45dffd=a2_0xf13727,_0x187885=new WorkflowUploadCommand(),_0x13577f=program[_0x45dffd(0x2cc)](),_0x1ffa7c=await createTDXInstance(_0x13577f),_0x1c95c4=await _0x187885[_0x45dffd(0x263)]({'options':{..._0x13577f,..._0x344dad},'args':_0x222017?[_0x222017]:[],'tdx':_0x1ffa7c});gracefulExit(_0x1c95c4);}),workflowCmd['command'](a2_0xf13727(0x349))['description'](a2_0xf13727(0x171))[a2_0xf13727(0x2cf)]('--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x2ce),a2_0xf13727(0x1b2))[a2_0xf13727(0x2cf)](a2_0xf13727(0xcf),a2_0xf13727(0x1b1))[a2_0xf13727(0x2cf)](a2_0xf13727(0x377),a2_0xf13727(0x321))[a2_0xf13727(0x159)](async(_0x3f95d2,_0x160b71)=>{const _0x4df561=a2_0xf13727,_0x3d313d=new WorkflowCloneCommand(),_0x4d813c=program[_0x4df561(0x2cc)](),_0x145a74=await createTDXInstance(_0x4d813c),_0x4c18ad=await _0x3d313d[_0x4df561(0x263)]({'options':{..._0x4d813c,..._0x160b71},'args':_0x3f95d2?[_0x3f95d2]:[],'tdx':_0x145a74});gracefulExit(_0x4c18ad);}),workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x342))[a2_0xf13727(0x371)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0xf13727(0x159)](async(_0x4a3e4d,_0x4a6d3a)=>{const _0x17b76a=a2_0xf13727,_0x2416d8=new WorkflowDeleteCommand(),_0x8c925=program['opts'](),_0x58cb0e=await createTDXInstance(_0x8c925),_0x2f22bf=await _0x2416d8[_0x17b76a(0x263)]({'options':{..._0x8c925,..._0x4a6d3a},'args':[_0x4a3e4d],'tdx':_0x58cb0e});gracefulExit(_0x2f22bf);}),workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x26f))['description'](a2_0xf13727(0x27a))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1db),'Clear\x20workflow\x20project\x20context')['action'](async(_0x53f18c,_0x3f536b)=>{const _0x3aa854=a2_0xf13727,_0x411d1f=new WorkflowUseCommand(),_0x429f6b=program['opts'](),_0x2f99ee=await createTDXInstance(_0x429f6b),_0x3cef80=await _0x411d1f[_0x3aa854(0x263)]({'options':{..._0x429f6b,..._0x3f536b},'args':_0x53f18c?[_0x53f18c]:[],'tdx':_0x2f99ee});gracefulExit(_0x3cef80);});const wfSecretsCmd=workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x114))[a2_0xf13727(0x371)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x33b))['description']('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0xf13727(0x159)](async(_0xfa5a69,_0x6afa45)=>{const _0x16a62f=a2_0xf13727,_0x590b79=new WorkflowSecretsListCommand(),_0x3b47f8=program[_0x16a62f(0x2cc)](),_0x4890f8=await createTDXInstance(_0x3b47f8),_0x2bc5b8=await _0x590b79[_0x16a62f(0x263)]({'options':{..._0x3b47f8,..._0x6afa45},'args':_0xfa5a69?[_0xfa5a69]:[],'tdx':_0x4890f8});gracefulExit(_0x2bc5b8);}),wfSecretsCmd['command'](a2_0xf13727(0x330))[a2_0xf13727(0x371)](a2_0xf13727(0x34f))[a2_0xf13727(0x159)](async(_0x1a76a9,_0x5bb9e3)=>{const _0x379480=a2_0xf13727,_0x4eaec4=new WorkflowSecretsSetCommand(),_0x33c911=program[_0x379480(0x2cc)](),_0x40c672=await createTDXInstance(_0x33c911),_0x34bc47=await _0x4eaec4['run']({'options':{..._0x33c911,..._0x5bb9e3},'args':_0x1a76a9,'tdx':_0x40c672});gracefulExit(_0x34bc47);}),wfSecretsCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x20e))[a2_0xf13727(0x371)](a2_0xf13727(0x334))[a2_0xf13727(0x159)](async(_0x2c507a,_0x1218f1)=>{const _0xd24548=a2_0xf13727,_0x46342a=new WorkflowSecretsDeleteCommand(),_0x1714d1=program[_0xd24548(0x2cc)](),_0x16cb26=await createTDXInstance(_0x1714d1),_0x1cc408=await _0x46342a['run']({'options':{..._0x1714d1,..._0x1218f1},'args':_0x2c507a,'tdx':_0x16cb26});gracefulExit(_0x1cc408);});const wfScheduleCmd=workflowCmd[a2_0xf13727(0x3ae)]('schedule')['description'](a2_0xf13727(0x12a));wfScheduleCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x12f))[a2_0xf13727(0x371)](a2_0xf13727(0x3a9))[a2_0xf13727(0x159)](async(_0x5be07a,_0x5f5a2c)=>{const _0x22d231=a2_0xf13727,_0x5e0efa=new WorkflowScheduleEnableCommand(),_0x35ca75=program[_0x22d231(0x2cc)](),_0x5299c1=await createTDXInstance(_0x35ca75),_0x48760d=await _0x5e0efa[_0x22d231(0x263)]({'options':{..._0x35ca75,..._0x5f5a2c},'args':[_0x5be07a],'tdx':_0x5299c1});gracefulExit(_0x48760d);}),wfScheduleCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3b3))[a2_0xf13727(0x371)](a2_0xf13727(0x13f))[a2_0xf13727(0x159)](async(_0x4a0652,_0x53ccd7)=>{const _0x463f10=a2_0xf13727,_0x3568d5=new WorkflowScheduleDisableCommand(),_0x144665=program[_0x463f10(0x2cc)](),_0x4b65e0=await createTDXInstance(_0x144665),_0x2a5a08=await _0x3568d5['run']({'options':{..._0x144665,..._0x53ccd7},'args':[_0x4a0652],'tdx':_0x4b65e0});gracefulExit(_0x2a5a08);}),workflowCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x249))[a2_0xf13727(0x371)](a2_0xf13727(0x115))[a2_0xf13727(0x159)](async _0x1b7d1f=>{const _0x45977a=a2_0xf13727,_0x5453eb=new WorkflowSchedulesCommand(),_0x528a1c=program[_0x45977a(0x2cc)](),_0x2a315f=await createTDXInstance(_0x528a1c),_0x20555b=await _0x5453eb['run']({'options':{..._0x528a1c,..._0x1b7d1f},'args':[],'tdx':_0x2a315f});gracefulExit(_0x20555b);});const jobCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x2aa))[a2_0xf13727(0x371)](a2_0xf13727(0x1d3)),jobListAction=async _0xf2202a=>{const _0x23e703=a2_0xf13727,_0x59d397=new JobListCommand(),_0x57ecad=program[_0x23e703(0x2cc)](),_0x12d797=await createTDXInstance(_0x57ecad),_0x42d5af=await _0x59d397[_0x23e703(0x263)]({'options':{..._0x57ecad,..._0xf2202a},'args':[],'tdx':_0x12d797});gracefulExit(_0x42d5af);};jobCmd['command'](a2_0xf13727(0x1a0))[a2_0xf13727(0x371)](a2_0xf13727(0x226))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2e7),a2_0xf13727(0x1df))[a2_0xf13727(0x159)](jobListAction),program['command'](a2_0xf13727(0x1c6),{'hidden':!![]})[a2_0xf13727(0x371)](a2_0xf13727(0x1a5))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2e7),a2_0xf13727(0x1df))[a2_0xf13727(0x159)](jobListAction),jobCmd[a2_0xf13727(0x3ae)]('show\x20<job-id>')['description']('Show\x20job\x20details')[a2_0xf13727(0x159)](async(_0x5d81e6,_0x5e53f6)=>{const _0x2fb1e7=a2_0xf13727,_0xc724b5=new JobShowCommand(),_0x4cc36b=program[_0x2fb1e7(0x2cc)](),_0x491fcb=await createTDXInstance(_0x4cc36b),_0x32c01a=await _0xc724b5[_0x2fb1e7(0x263)]({'options':{..._0x4cc36b,..._0x5e53f6},'args':[_0x5d81e6],'tdx':_0x491fcb});gracefulExit(_0x32c01a);}),jobCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xb9))[a2_0xf13727(0x371)](a2_0xf13727(0x13a))[a2_0xf13727(0x159)](async(_0x4ae074,_0x48249c)=>{const _0x239eeb=a2_0xf13727,_0x5311b8=new JobKillCommand(),_0x4c5f4e=program[_0x239eeb(0x2cc)](),_0x17ffe7=await createTDXInstance(_0x4c5f4e),_0x5b3eba=await _0x5311b8[_0x239eeb(0x263)]({'options':{..._0x4c5f4e,..._0x48249c},'args':[_0x4ae074],'tdx':_0x17ffe7});gracefulExit(_0x5b3eba);}),jobCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x239))[a2_0xf13727(0x371)](a2_0xf13727(0x337))[a2_0xf13727(0x2cf)](a2_0xf13727(0x261),a2_0xf13727(0x16a),a2_0xf13727(0x304))[a2_0xf13727(0x2cf)]('-f,\x20--file\x20<path>',a2_0xf13727(0x2bd))['option']('--database\x20<name>','Database\x20name\x20(default:\x20information_schema)',a2_0xf13727(0x2c7))[a2_0xf13727(0x2cf)](a2_0xf13727(0x36e),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0xf13727(0x159)](async(_0xc2ce33,_0x4ac201)=>{const _0x190a7b=a2_0xf13727,_0x142c84=new JobSubmitCommand(),_0x5f2614=program[_0x190a7b(0x2cc)](),_0x27f813=await createTDXInstance(_0x5f2614),_0x178a1c=await _0x142c84[_0x190a7b(0x263)]({'options':{..._0x5f2614,..._0x4ac201},'args':_0xc2ce33?[_0xc2ce33]:[],'tdx':_0x27f813});gracefulExit(_0x178a1c);}),jobCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xec))[a2_0xf13727(0x371)](a2_0xf13727(0x266))[a2_0xf13727(0x159)](async(_0x2ab1b2,_0x5771a5)=>{const _0x2eb801=a2_0xf13727,_0x40816=new JobResultCommand(),_0x41de09=program[_0x2eb801(0x2cc)](),_0x43da40=await createTDXInstance(_0x41de09),_0x42bdbd=await _0x40816[_0x2eb801(0x263)]({'options':{..._0x41de09,..._0x5771a5},'args':[_0x2ab1b2],'tdx':_0x43da40});gracefulExit(_0x42bdbd);});const scheduleCmd=jobCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x357))['description']('Scheduled\x20query\x20management\x20commands');scheduleCmd['command'](a2_0xf13727(0x3ad))['description'](a2_0xf13727(0x117))['action'](async(_0x3c7311,_0x432eec)=>{const _0x4ea5b1=a2_0xf13727,_0x4d840e=new ScheduleListCommand(),_0xcd848d=program[_0x4ea5b1(0x2cc)](),_0x2f9239=await createTDXInstance(_0xcd848d),_0x5629c7=await _0x4d840e[_0x4ea5b1(0x263)]({'options':{..._0xcd848d,..._0x432eec},'args':_0x3c7311?[_0x3c7311]:[],'tdx':_0x2f9239});gracefulExit(_0x5629c7);}),scheduleCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x11a))[a2_0xf13727(0x371)]('Show\x20schedule\x20details')[a2_0xf13727(0x159)](async(_0x755d56,_0x31f13d)=>{const _0x241e46=a2_0xf13727,_0x9f6803=new ScheduleShowCommand(),_0x3b3aca=program['opts'](),_0x559b70=await createTDXInstance(_0x3b3aca),_0x3083c5=await _0x9f6803[_0x241e46(0x263)]({'options':{..._0x3b3aca,..._0x31f13d},'args':[_0x755d56],'tdx':_0x559b70});gracefulExit(_0x3083c5);}),scheduleCmd['command'](a2_0xf13727(0x28e))[a2_0xf13727(0x371)](a2_0xf13727(0xc3))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2d3),'Database\x20name\x20(required)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x2a9),a2_0xf13727(0x29b))[a2_0xf13727(0x3be)](a2_0xf13727(0x17e),'Read\x20query\x20from\x20file')[a2_0xf13727(0x2cf)](a2_0xf13727(0x1f6),'Query\x20type:\x20trino\x20or\x20hive',a2_0xf13727(0x304))['option'](a2_0xf13727(0x34b),a2_0xf13727(0xbb))['option']('--timezone\x20<tz>','Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x1c5),a2_0xf13727(0x101))['option'](a2_0xf13727(0x210),'Job\x20priority\x20(-2\x20to\x202)')['option'](a2_0xf13727(0x1e2),a2_0xf13727(0x173))['option']('--engine-version\x20<version>',a2_0xf13727(0x124))[a2_0xf13727(0x2cf)](a2_0xf13727(0x3a3),a2_0xf13727(0x151))[a2_0xf13727(0x159)](async(_0x1ee812,_0x49613a)=>{const _0x2c04a7=a2_0xf13727,_0x19d5ac=new ScheduleCreateCommand(),_0x22733d=program[_0x2c04a7(0x2cc)](),_0x5e36a8=await createTDXInstance(_0x22733d);_0x49613a['in']&&(_0x49613a['database']=_0x49613a['in']);const _0xb67332=await _0x19d5ac[_0x2c04a7(0x263)]({'options':{..._0x22733d,..._0x49613a},'args':[_0x1ee812],'tdx':_0x5e36a8});gracefulExit(_0xb67332);}),scheduleCmd['command'](a2_0xf13727(0x27c))[a2_0xf13727(0x371)](a2_0xf13727(0xd8))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2d3),a2_0xf13727(0x2f4))[a2_0xf13727(0x2cf)]('--in\x20<db>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0xf13727(0x2cf)]('-f,\x20--file\x20<path>',a2_0xf13727(0x2bd))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1f6),a2_0xf13727(0x146))['option']('--cron\x20<expression>','Cron\x20expression\x20for\x20scheduling')['option'](a2_0xf13727(0x1bc),a2_0xf13727(0x1dc))['option'](a2_0xf13727(0x1c5),a2_0xf13727(0x101))[a2_0xf13727(0x2cf)](a2_0xf13727(0x210),a2_0xf13727(0xe4))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1e2),a2_0xf13727(0x173))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2dd),a2_0xf13727(0x124))[a2_0xf13727(0x2cf)](a2_0xf13727(0x3a3),'Result\x20output\x20destination\x20URL')[a2_0xf13727(0x159)](async(_0x483d6a,_0xdfc684)=>{const _0x290dc4=a2_0xf13727,_0x27c7a8=new ScheduleUpdateCommand(),_0x1a69d1=program[_0x290dc4(0x2cc)](),_0x3c1265=await createTDXInstance(_0x1a69d1);_0xdfc684['in']&&(_0xdfc684[_0x290dc4(0x213)]=_0xdfc684['in']);const _0x4c5e58=await _0x27c7a8[_0x290dc4(0x263)]({'options':{..._0x1a69d1,..._0xdfc684},'args':[_0x483d6a],'tdx':_0x3c1265});gracefulExit(_0x4c5e58);}),scheduleCmd['command'](a2_0xf13727(0x307))['description'](a2_0xf13727(0x10f))[a2_0xf13727(0x159)](async(_0x3fbb5c,_0x22fe04)=>{const _0x372328=a2_0xf13727,_0x1ae972=new ScheduleDeleteCommand(),_0x194ce3=program[_0x372328(0x2cc)](),_0x43f1cd=await createTDXInstance(_0x194ce3),_0x5967de=await _0x1ae972[_0x372328(0x263)]({'options':{..._0x194ce3,..._0x22fe04},'args':[_0x3fbb5c],'tdx':_0x43f1cd});gracefulExit(_0x5967de);}),scheduleCmd[a2_0xf13727(0x3ae)]('run\x20<name>')[a2_0xf13727(0x371)](a2_0xf13727(0x2f1))['option']('--time\x20<iso8601>',a2_0xf13727(0x1d8))[a2_0xf13727(0x2cf)](a2_0xf13727(0x19b),a2_0xf13727(0xe2))['action'](async(_0x20e268,_0x24b21b)=>{const _0x10e2ec=a2_0xf13727,_0x3d1cc8=new ScheduleRunCommand(),_0x2e58d2=program[_0x10e2ec(0x2cc)](),_0x39b7c7=await createTDXInstance(_0x2e58d2),_0x5a8208=await _0x3d1cc8[_0x10e2ec(0x263)]({'options':{..._0x2e58d2,..._0x24b21b},'args':[_0x20e268],'tdx':_0x39b7c7});gracefulExit(_0x5a8208);}),scheduleCmd['command'](a2_0xf13727(0x18a))['description'](a2_0xf13727(0x25e))['option'](a2_0xf13727(0x17c),a2_0xf13727(0x14d))['option'](a2_0xf13727(0x119),a2_0xf13727(0x29f))[a2_0xf13727(0x159)](async(_0x24d484,_0xad8a27)=>{const _0x3c146e=a2_0xf13727,_0x44665d=new ScheduleHistoryCommand(),_0x34e2d1=program[_0x3c146e(0x2cc)](),_0x2ee38e=await createTDXInstance(_0x34e2d1),_0x7032a7=await _0x44665d[_0x3c146e(0x263)]({'options':{..._0x34e2d1,..._0xad8a27},'args':[_0x24d484],'tdx':_0x2ee38e});gracefulExit(_0x7032a7);});const llmCmd=program['command']('llm')[a2_0xf13727(0x371)](a2_0xf13727(0x126));llmCmd[a2_0xf13727(0x3ae)]('use\x20<project-name>')[a2_0xf13727(0x371)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')['action'](async(_0x4ca8f6,_0x1eda8c)=>{const _0x2091d1=a2_0xf13727,_0x21dad9=new LLMUseCommand(),_0x5a85b8=program['opts'](),_0xff0ef7=await createTDXInstance(_0x5a85b8),_0x49a7b6=await _0x21dad9[_0x2091d1(0x263)]({'options':{..._0x5a85b8,..._0x1eda8c},'args':[_0x4ca8f6],'tdx':_0xff0ef7});gracefulExit(_0x49a7b6);}),llmCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xed))[a2_0xf13727(0x371)]('List\x20available\x20LLM\x20models')[a2_0xf13727(0x159)](async _0x188387=>{const _0x9fb9fc=a2_0xf13727,_0x20a4d2=new LLMModelsCommand(),_0x50adb9=program['opts'](),_0x449648=await createTDXInstance(_0x50adb9),_0x488315=await _0x20a4d2[_0x9fb9fc(0x263)]({'options':{..._0x50adb9,..._0x188387},'args':[],'tdx':_0x449648});gracefulExit(_0x488315);});const projectCmd=llmCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x19c))['description'](a2_0xf13727(0x186)),llmProjectListAction=async(_0x2085f8,_0x85a6a)=>{const _0x11ad91=a2_0xf13727,_0x4a04d2=new LLMProjectsCommand(),_0x4f95c0=program[_0x11ad91(0x2cc)](),_0x745b93=await createTDXInstance(_0x4f95c0),_0x1c4ab5=await _0x4a04d2[_0x11ad91(0x263)]({'options':{..._0x4f95c0,..._0x85a6a},'args':_0x2085f8?[_0x2085f8]:[],'tdx':_0x745b93});gracefulExit(_0x1c4ab5);};projectCmd['command'](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)](a2_0xf13727(0x23e))['action'](llmProjectListAction),llmCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2d1))[a2_0xf13727(0x371)](a2_0xf13727(0x2c2))[a2_0xf13727(0x159)](llmProjectListAction),projectCmd[a2_0xf13727(0x3ae)]('create\x20<name>')[a2_0xf13727(0x371)](a2_0xf13727(0x279))[a2_0xf13727(0x2cf)](a2_0xf13727(0x3a5),a2_0xf13727(0x384))[a2_0xf13727(0x159)](async(_0x3243b1,_0x5e76ca)=>{const _0x23eecd=a2_0xf13727,_0x7ec716=new LLMProjectCreateCommand(),_0x4587ea=program['opts'](),_0x5ecc13=await createTDXInstance(_0x4587ea),_0x4c4c59=await _0x7ec716[_0x23eecd(0x263)]({'options':{..._0x4587ea,..._0x5e76ca},'args':[_0x3243b1],'tdx':_0x5ecc13});gracefulExit(_0x4c4c59);}),projectCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x307))[a2_0xf13727(0x371)](a2_0xf13727(0x38d))[a2_0xf13727(0x159)](async(_0x45bc85,_0x3be836)=>{const _0x186283=a2_0xf13727,_0x3b9fed=new LLMProjectDeleteCommand(),_0x60572d=program[_0x186283(0x2cc)](),_0x29912e=await createTDXInstance(_0x60572d),_0x5ad12c=await _0x3b9fed['run']({'options':{..._0x60572d,..._0x3be836},'args':[_0x45bc85],'tdx':_0x29912e});gracefulExit(_0x5ad12c);}),projectCmd['command']('backup\x20<name>')[a2_0xf13727(0x371)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')[a2_0xf13727(0x2cf)]('-o,\x20--output\x20<folder>',a2_0xf13727(0x2af))['option'](a2_0xf13727(0xcf),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0xf13727(0x159)](async(_0x105a65,_0x5ef624)=>{const _0x1844fe=a2_0xf13727,_0x429883=new LLMProjectBackupCommand(),_0x2a4b9d=program[_0x1844fe(0x2cc)](),_0x415d6f=await createTDXInstance(_0x2a4b9d),_0x5a4c04=await _0x429883[_0x1844fe(0x263)]({'options':{..._0x2a4b9d,..._0x5ef624},'args':[_0x105a65],'tdx':_0x415d6f});gracefulExit(_0x5a4c04);}),projectCmd[a2_0xf13727(0x3ae)]('restore\x20<folder>')[a2_0xf13727(0x371)](a2_0xf13727(0x14a))[a2_0xf13727(0x2cf)](a2_0xf13727(0x18d),a2_0xf13727(0x3a4))[a2_0xf13727(0x2cf)]('--dry-run',a2_0xf13727(0x275))[a2_0xf13727(0x159)](async(_0x5e76f0,_0x19f7bc)=>{const _0x5e3066=a2_0xf13727,_0x37b4b7=new LLMProjectRestoreCommand(),_0x2906cc=program['opts'](),_0x5277fd=await createTDXInstance(_0x2906cc),_0x25a838=await _0x37b4b7[_0x5e3066(0x263)]({'options':{..._0x2906cc,..._0x19f7bc},'args':[_0x5e76f0],'tdx':_0x5277fd});gracefulExit(_0x25a838);});const llmAgentListAction=async(_0x6afdaf,_0x43c50c)=>{const _0x599fa3=a2_0xf13727,_0x35afd9=new LLMAgentsCommand(),_0x496578=program[_0x599fa3(0x2cc)](),_0x625cdc=await createTDXInstance(_0x496578),_0x4442e5=await _0x35afd9[_0x599fa3(0x263)]({'options':{..._0x496578,..._0x43c50c},'args':_0x6afdaf?[_0x6afdaf]:[],'tdx':_0x625cdc});gracefulExit(_0x4442e5);};llmCmd['command'](a2_0xf13727(0xce))[a2_0xf13727(0x371)](a2_0xf13727(0x2f0))[a2_0xf13727(0x159)](llmAgentListAction),program['command'](a2_0xf13727(0xce))[a2_0xf13727(0x371)](a2_0xf13727(0x2f0))[a2_0xf13727(0x159)](llmAgentListAction),llmCmd['command'](a2_0xf13727(0x174))[a2_0xf13727(0x371)](a2_0xf13727(0x19f))[a2_0xf13727(0x2cf)](a2_0xf13727(0x216),a2_0xf13727(0x2e3))[a2_0xf13727(0x159)](async(_0x22a056,_0x1f5400)=>{const _0x1c98bd=a2_0xf13727,_0x225c23=new LLMHistoryCommand(),_0x55a2ed=program[_0x1c98bd(0x2cc)](),_0x563c28=await createTDXInstance(_0x55a2ed),_0x42357a=await _0x225c23[_0x1c98bd(0x263)]({'options':{..._0x55a2ed,..._0x1f5400},'args':_0x22a056?[_0x22a056]:[],'tdx':_0x563c28});gracefulExit(_0x42357a);});isExperimentalAvailable()&&llmCmd['command'](a2_0xf13727(0x220))[a2_0xf13727(0x371)](a2_0xf13727(0xb1))[a2_0xf13727(0x159)](async(_0x261c05,_0x13c3c3)=>{const _0x414947=a2_0xf13727,_0x28b9c6=new LLMLogCommand(),_0x4a2485=program['opts'](),_0x58fc4e=await createTDXInstance(_0x4a2485),_0x3e6aed=await _0x28b9c6[_0x414947(0x263)]({'options':{..._0x4a2485,..._0x13c3c3},'args':[_0x261c05],'tdx':_0x58fc4e});gracefulExit(_0x3e6aed);});program[a2_0xf13727(0x3ae)]('claude\x20[args...]')[a2_0xf13727(0x191)]('[options]\x20--\x20[claude-code-args...]')[a2_0xf13727(0x371)](a2_0xf13727(0x205))[a2_0xf13727(0x2cf)]('-c,\x20--continue',a2_0xf13727(0x255))[a2_0xf13727(0x2cf)](a2_0xf13727(0x311),a2_0xf13727(0xb7))[a2_0xf13727(0x2cf)](a2_0xf13727(0x20d),a2_0xf13727(0x11e))[a2_0xf13727(0x310)]()[a2_0xf13727(0x25f)](!![])[a2_0xf13727(0x3b6)]('after',a2_0xf13727(0x12c))[a2_0xf13727(0x159)](async(_0x52c88e,_0x12fddd)=>{const _0x5bc869=a2_0xf13727,_0x69ca5a=program[_0x5bc869(0x2cc)](),_0x2eed31=Array[_0x5bc869(0x35c)](_0x52c88e)?_0x52c88e:[];if(_0x2eed31[0x0]===_0x5bc869(0x285)){const _0x44c09c=new ClaudeStatuslineCommand(),_0x25ee08=await _0x44c09c[_0x5bc869(0x263)]({'options':{..._0x69ca5a,..._0x12fddd},'args':_0x2eed31[_0x5bc869(0x2f5)](0x1),'tdx':null});gracefulExit(_0x25ee08);}if(_0x2eed31[0x0]===_0x5bc869(0x191)){const _0x40dd82=new ClaudeUsageCommand(),_0x509dc5=await _0x40dd82[_0x5bc869(0x263)]({'options':{..._0x69ca5a,..._0x12fddd},'args':_0x2eed31[_0x5bc869(0x2f5)](0x1),'tdx':null});gracefulExit(_0x509dc5);}const _0x29b5d7=new ClaudeCommand(),_0x3d7ac1=await createTDXInstance(_0x69ca5a),_0x2aaf25=await _0x29b5d7[_0x5bc869(0x263)]({'options':{..._0x69ca5a,..._0x12fddd},'args':_0x2eed31,'tdx':_0x3d7ac1});gracefulExit(_0x2aaf25);}),program['command'](a2_0xf13727(0xee))['description'](a2_0xf13727(0x169))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1db),a2_0xf13727(0x102))[a2_0xf13727(0x2cf)]('--default',a2_0xf13727(0x234))['action'](async(_0x4f75c3,_0x4e32cc,_0x515ef1)=>{const _0x3b258f=a2_0xf13727,_0xd4105b=new UseCommand(),_0x104467=program[_0x3b258f(0x2cc)](),_0x381bf6=[];if(_0x4f75c3)_0x381bf6[_0x3b258f(0xcd)](_0x4f75c3);if(_0x4e32cc)_0x381bf6['push'](_0x4e32cc);const _0x3054ae=_0x4f75c3===_0x3b258f(0x2dc),_0x289e25=_0x3054ae?await createTDXInstance(_0x104467):null,_0x4d0e12=await _0xd4105b[_0x3b258f(0x263)]({'options':{..._0x104467,..._0x515ef1},'args':_0x381bf6,'tdx':_0x289e25});gracefulExit(_0x4d0e12);}),program['command'](a2_0xf13727(0x121))[a2_0xf13727(0x371)](a2_0xf13727(0x252))[a2_0xf13727(0x159)](async _0x4fe38f=>{const _0x2e9d05=a2_0xf13727,_0x320d2a=new StatusCommand(),_0x126ceb=program[_0x2e9d05(0x2cc)](),_0x53549d=await createTDXInstance(_0x126ceb),_0x2bfc5b=await _0x320d2a[_0x2e9d05(0x263)]({'options':{..._0x126ceb,..._0x4fe38f},'args':[],'tdx':_0x53549d});gracefulExit(_0x2bfc5b);}),program['command'](a2_0xf13727(0x283))[a2_0xf13727(0x371)](a2_0xf13727(0x366))[a2_0xf13727(0x2cf)]('--dry-run','Check\x20for\x20updates\x20without\x20installing')[a2_0xf13727(0x2cf)]('--next','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')['option']('--method\x20<pm>',a2_0xf13727(0x383))['action'](async(_0x3de1ee,_0x14ae0f)=>{const _0xcd1e1c=a2_0xf13727,_0x174daa=new UpgradeCommand(),_0x58ca8a=program[_0xcd1e1c(0x2cc)](),_0x3d3924=await _0x174daa[_0xcd1e1c(0x263)]({'options':{..._0x58ca8a,..._0x14ae0f},'args':_0x3de1ee?[_0x3de1ee]:[],'tdx':null});gracefulExit(_0x3d3924);}),program['command'](a2_0xf13727(0x1c7))[a2_0xf13727(0x371)](a2_0xf13727(0x1fa))['option'](a2_0xf13727(0x353),a2_0xf13727(0x25b))['action'](async(_0x2ed052,_0x585089)=>{const _0x1ec91a=a2_0xf13727,_0x31fe7f=new UnsetCommand(),_0x2ad40e=program[_0x1ec91a(0x2cc)](),_0x46c743=await _0x31fe7f[_0x1ec91a(0x263)]({'options':{..._0x2ad40e,..._0x585089},'args':[_0x2ed052],'tdx':null});gracefulExit(_0x46c743);}),program[a2_0xf13727(0x3ae)](a2_0xf13727(0x271))[a2_0xf13727(0x371)](a2_0xf13727(0x356))[a2_0xf13727(0x2cf)](a2_0xf13727(0x216),a2_0xf13727(0x338))[a2_0xf13727(0x159)](async _0x59a67c=>{const _0x414ffe=a2_0xf13727,_0x4dec51=new ChatsCommand(),_0x4c05da=program['opts'](),_0x3d61fa=await createTDXInstance(_0x4c05da),_0x53724d=await _0x4dec51[_0x414ffe(0x263)]({'options':{..._0x4c05da,..._0x59a67c},'args':[],'tdx':_0x3d61fa});gracefulExit(_0x53724d);});const authCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x19e))[a2_0xf13727(0x371)](a2_0xf13727(0xde));async function runAuthStatusCommand(_0x3d08c7){const _0x139fe6=a2_0xf13727,_0x5980fb=new AuthStatusCommand(),_0x59411e=program[_0x139fe6(0x2cc)](),_0x401b90=await createTDXInstance(_0x59411e),_0x2c0ee7=await _0x5980fb[_0x139fe6(0x263)]({'options':{..._0x59411e,..._0x3d08c7},'args':[],'tdx':_0x401b90});gracefulExit(_0x2c0ee7);}authCmd[a2_0xf13727(0x159)](runAuthStatusCommand),authCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x121))[a2_0xf13727(0x371)](a2_0xf13727(0x369))[a2_0xf13727(0x159)](runAuthStatusCommand);async function authSetupAction(_0x362edd){const _0x21af6e=a2_0xf13727,_0x3ba0f9=new AuthSetupCommand(),_0x5f561c=program[_0x21af6e(0x2cc)](),_0xcaa25b=await createTDXInstance(_0x5f561c),_0xb144a7=await _0x3ba0f9[_0x21af6e(0x263)]({'options':{..._0x5f561c,..._0x362edd},'args':[],'tdx':_0xcaa25b});gracefulExit(_0xb144a7);}authCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x386))[a2_0xf13727(0x371)](a2_0xf13727(0x18f))[a2_0xf13727(0x2cf)](a2_0xf13727(0x228),a2_0xf13727(0x2cd))[a2_0xf13727(0x3b6)](a2_0xf13727(0x2e6),a2_0xf13727(0x1cc))[a2_0xf13727(0x159)](authSetupAction),authCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x23b),{'hidden':!![]})[a2_0xf13727(0x2cf)](a2_0xf13727(0x228),a2_0xf13727(0x2cd))[a2_0xf13727(0x159)](authSetupAction),authCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xe9))[a2_0xf13727(0x371)](a2_0xf13727(0x145))[a2_0xf13727(0x3b6)](a2_0xf13727(0x2e6),a2_0xf13727(0x2a0))[a2_0xf13727(0x159)](async _0x44e887=>{const _0x4c0ac1=new AuthClearCommand(),_0x1e01ce=program['opts'](),_0x2b5e2c=await _0x4c0ac1['run']({'options':{..._0x1e01ce,..._0x44e887},'args':[],'tdx':null});gracefulExit(_0x2b5e2c);});const userCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x327))['description'](a2_0xf13727(0x2e4)),userListAction=async _0x988e90=>{const _0x6ad578=a2_0xf13727,_0x424a1d=new UserListCommand(),_0x5615c5=program['opts'](),_0x1e88af=await createTDXInstance(_0x5615c5),_0x5ecab6=await _0x424a1d[_0x6ad578(0x263)]({'options':{..._0x5615c5,..._0x988e90},'args':[],'tdx':_0x1e88af});gracefulExit(_0x5ecab6);};userCmd[a2_0xf13727(0x159)](async _0x4ff691=>{const _0x4bbfed=a2_0xf13727,_0x11af66=new UserCommand(),_0x5bc657=program[_0x4bbfed(0x2cc)](),_0x3278df=await createTDXInstance(_0x5bc657),_0x19b882=await _0x11af66[_0x4bbfed(0x263)]({'options':{..._0x5bc657,..._0x4ff691},'args':[],'tdx':_0x3278df});gracefulExit(_0x19b882);}),userCmd[a2_0xf13727(0x3ae)]('list')[a2_0xf13727(0x371)]('List\x20all\x20users\x20in\x20the\x20account')['action'](userListAction),program['command'](a2_0xf13727(0xbe))[a2_0xf13727(0x371)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')['action'](userListAction);const policyCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x33d))[a2_0xf13727(0x371)](a2_0xf13727(0x133));policyCmd['action'](async _0x164fa5=>{const _0x35289d=a2_0xf13727,_0x1b04ff=new PolicyCommand(),_0x5bdeca=program[_0x35289d(0x2cc)](),_0x32eecd=await createTDXInstance(_0x5bdeca),_0xb8ca0f=await _0x1b04ff[_0x35289d(0x263)]({'options':{..._0x5bdeca,..._0x164fa5},'args':[],'tdx':_0x32eecd});gracefulExit(_0xb8ca0f);}),policyCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x1a0))[a2_0xf13727(0x371)](a2_0xf13727(0x2e9))[a2_0xf13727(0x159)](async _0x1fafeb=>{const _0x38c354=a2_0xf13727,_0x219768=new PolicyListCommand(),_0xeabceb=program[_0x38c354(0x2cc)](),_0x591298=await createTDXInstance(_0xeabceb),_0x2a132d=await _0x219768[_0x38c354(0x263)]({'options':{..._0xeabceb,..._0x1fafeb},'args':[],'tdx':_0x591298});gracefulExit(_0x2a132d);}),policyCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2fa))[a2_0xf13727(0x371)]('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0xf13727(0x159)](async(_0x1e84a8,_0x47aa9f)=>{const _0x59862d=a2_0xf13727,_0x1090c6=new PolicyShowCommand(),_0x5488ce=program[_0x59862d(0x2cc)](),_0x392bbf=await createTDXInstance(_0x5488ce),_0x2a4f4f=await _0x1090c6['run']({'options':{..._0x5488ce,..._0x47aa9f},'args':[_0x1e84a8],'tdx':_0x392bbf});gracefulExit(_0x2a4f4f);}),program[a2_0xf13727(0x3ae)](a2_0xf13727(0x27b))[a2_0xf13727(0x371)](a2_0xf13727(0x1b0))[a2_0xf13727(0x159)](async _0x299b37=>{const _0x4072bf=a2_0xf13727,_0x333df0=new ProfilesCommand(),_0x1dd5a1=program[_0x4072bf(0x2cc)](),_0x541e88=await _0x333df0[_0x4072bf(0x263)]({'options':{..._0x1dd5a1,..._0x299b37},'args':[],'tdx':null});gracefulExit(_0x541e88);});const profileCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x158))[a2_0xf13727(0x371)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd['action'](()=>{const _0x299eb9=a2_0xf13727;profileCmd[_0x299eb9(0x32d)]();});const profileListAction=async _0x1a7cc9=>{const _0x12e9fd=a2_0xf13727,_0x417044=new ProfilesCommand(),_0x216e6f=program['opts'](),_0x5a98dd=await _0x417044[_0x12e9fd(0x263)]({'options':{..._0x216e6f,..._0x1a7cc9},'args':[],'tdx':null});gracefulExit(_0x5a98dd);};profileCmd['command'](a2_0xf13727(0x1a0))[a2_0xf13727(0x371)](a2_0xf13727(0x1b0))[a2_0xf13727(0x159)](profileListAction),profileCmd['command'](a2_0xf13727(0x2fe))[a2_0xf13727(0x371)]('Create\x20a\x20new\x20profile')[a2_0xf13727(0x2cf)](a2_0xf13727(0x228),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0xf13727(0x2cf)](a2_0xf13727(0xb3),a2_0xf13727(0x2de))[a2_0xf13727(0x3b6)](a2_0xf13727(0x2e6),a2_0xf13727(0xfe))['action'](async(_0x331b27,_0x583586)=>{const _0x42d774=a2_0xf13727,_0xf3bab5=new ProfileCreateCommand(),_0x226e91=program[_0x42d774(0x2cc)](),_0x4849d2=await _0xf3bab5['run']({'options':{..._0x226e91,..._0x583586},'args':_0x331b27?[_0x331b27]:[],'tdx':null});gracefulExit(_0x4849d2);});async function profileDeleteAction(_0x4fe55e,_0x12a2b8){const _0x5e56ea=a2_0xf13727,_0x2380c6=new ProfileDeleteCommand(),_0x4966ca=program['opts'](),_0x18f8c1=await _0x2380c6[_0x5e56ea(0x263)]({'options':{..._0x4966ca,..._0x12a2b8},'args':[_0x4fe55e],'tdx':null});gracefulExit(_0x18f8c1);}profileCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x307))[a2_0xf13727(0x371)](a2_0xf13727(0x118))[a2_0xf13727(0x3b6)](a2_0xf13727(0x2e6),a2_0xf13727(0x144))['action'](profileDeleteAction),profileCmd['command'](a2_0xf13727(0x106),{'hidden':!![]})['action'](profileDeleteAction),profileCmd['command']('set\x20<key=value>')[a2_0xf13727(0x371)](a2_0xf13727(0x238))[a2_0xf13727(0x3b6)](a2_0xf13727(0x2e6),'\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_0xf13727(0x159)](async(_0x5a9ff0,_0x2a0ba4)=>{const _0x102910=a2_0xf13727,_0x3d5754=new ProfileSetCommand(),_0x5a52b2=program[_0x102910(0x2cc)](),_0x3caeca=await _0x3d5754['run']({'options':{..._0x5a52b2,..._0x2a0ba4},'args':[_0x5a9ff0],'tdx':null});gracefulExit(_0x3caeca);}),profileCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x155))[a2_0xf13727(0x371)](a2_0xf13727(0x200))[a2_0xf13727(0x2cf)]('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0xf13727(0x3b6)](a2_0xf13727(0x2e6),a2_0xf13727(0x1e0))[a2_0xf13727(0x159)](async(_0x29c440,_0x4b8199)=>{const _0x5732fc=a2_0xf13727,_0x2eaf53=new ProfileUseCommand(),_0x17965f=program[_0x5732fc(0x2cc)](),_0x506f16=await _0x2eaf53[_0x5732fc(0x263)]({'options':{..._0x17965f,..._0x4b8199},'args':[_0x29c440],'tdx':null});gracefulExit(_0x506f16);});const engageCmd=program['command']('engage')[a2_0xf13727(0x371)](a2_0xf13727(0x21d)),createEngageAction=_0x4e57b6=>{return async(_0x3e11e9,_0x41ff60)=>{const _0x3afac0=a2_0x3cce,_0x5b560f=new _0x4e57b6(),_0x2cf8a2=program[_0x3afac0(0x2cc)](),_0x8b9c3f=await createTDXInstance(_0x2cf8a2),_0x2d40d3=await _0x5b560f[_0x3afac0(0x263)]({'options':{..._0x2cf8a2,..._0x41ff60},'args':[_0x3e11e9],'tdx':_0x8b9c3f});gracefulExit(_0x2d40d3);};},createEngageNoArgAction=_0x51ea14=>{return async _0xc24624=>{const _0xd9cb53=a2_0x3cce,_0x5553b8=new _0x51ea14(),_0xf22026=program[_0xd9cb53(0x2cc)](),_0x4de0b0=await createTDXInstance(_0xf22026),_0x41d38e=await _0x5553b8['run']({'options':{..._0xf22026,..._0xc24624},'args':[],'tdx':_0x4de0b0});gracefulExit(_0x41d38e);};},createEngageListAction=_0x295bff=>{return async(_0x3070ef,_0x275fe2)=>{const _0x141ab9=a2_0x3cce,_0x14c659=new _0x295bff(),_0xb037f2=program[_0x141ab9(0x2cc)](),_0x359966=await createTDXInstance(_0xb037f2),_0x141cd5=await _0x14c659[_0x141ab9(0x263)]({'options':{..._0xb037f2,..._0x275fe2},'args':_0x3070ef?[_0x3070ef]:[],'tdx':_0x359966});gracefulExit(_0x141cd5);};},campaignCmd=engageCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x29c))[a2_0xf13727(0x371)]('Campaign\x20management');campaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x1f6),a2_0xf13727(0x387))[a2_0xf13727(0x2cf)]('--status\x20<status>',a2_0xf13727(0xfd))[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),a2_0xf13727(0x1ac))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0xf13727(0x296))[a2_0xf13727(0x371)](a2_0xf13727(0xfa))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1f6),a2_0xf13727(0x387))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2e7),a2_0xf13727(0xfd))[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),a2_0xf13727(0x1ac))[a2_0xf13727(0x159)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x168))[a2_0xf13727(0x371)](a2_0xf13727(0x391))['option'](a2_0xf13727(0x190),a2_0xf13727(0x1ac))[a2_0xf13727(0x2cf)](a2_0xf13727(0x122),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0xf13727(0x159)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x22b))[a2_0xf13727(0x371)](a2_0xf13727(0x2fd))['requiredOption']('--name\x20<name>','Campaign\x20name')[a2_0xf13727(0x3be)](a2_0xf13727(0x1f6),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),'Workspace\x20name\x20(required)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x22f),'Campaign\x20description')['option'](a2_0xf13727(0x28c),a2_0xf13727(0x320))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2b5),'Email\x20sender\x20ID\x20for\x20delivery')['option']('--json-columns\x20<cols>',a2_0xf13727(0x244))[a2_0xf13727(0x2cf)](a2_0xf13727(0x125),a2_0xf13727(0x39b))['option'](a2_0xf13727(0x1bc),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0xf13727(0x159)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0xf13727(0x3ae)]('update\x20<name-or-id>')[a2_0xf13727(0x371)](a2_0xf13727(0x299))[a2_0xf13727(0x2cf)]('--workspace\x20<name>',a2_0xf13727(0x1ac))['option']('--name\x20<name>','New\x20campaign\x20name')['option']('--description\x20<desc>',a2_0xf13727(0x1f0))[a2_0xf13727(0x2cf)]('--segment\x20<path>',a2_0xf13727(0x320))['option'](a2_0xf13727(0x2b5),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0xf13727(0x2cf)](a2_0xf13727(0x141),a2_0xf13727(0x244))[a2_0xf13727(0x2cf)]('--start-at\x20<datetime>',a2_0xf13727(0x39b))[a2_0xf13727(0x2cf)]('--timezone\x20<tz>',a2_0xf13727(0x1b7))[a2_0xf13727(0x159)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0xf13727(0xda))[a2_0xf13727(0x371)](a2_0xf13727(0x30b))[a2_0xf13727(0x2cf)]('--workspace\x20<name>',a2_0xf13727(0x1ac))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1d7),a2_0xf13727(0x240))[a2_0xf13727(0x159)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0xf13727(0x379))[a2_0xf13727(0x371)](a2_0xf13727(0x372))['option']('--workspace\x20<name>',a2_0xf13727(0x1ac))[a2_0xf13727(0x159)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x127))[a2_0xf13727(0x371)](a2_0xf13727(0x376))['option'](a2_0xf13727(0x190),a2_0xf13727(0x1ac))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0xf13727(0x3ae)]('resume\x20<name-or-id>')['description'](a2_0xf13727(0x24f))[a2_0xf13727(0x2cf)]('--workspace\x20<name>','Workspace\x20name')['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0xf13727(0x3ae)]('duplicate\x20<name-or-id>')[a2_0xf13727(0x371)]('Duplicate\x20a\x20campaign')[a2_0xf13727(0x2cf)]('--workspace\x20<name>',a2_0xf13727(0x1ac))[a2_0xf13727(0x159)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0xf13727(0x3ae)]('pull\x20[workspace-name]')['description'](a2_0xf13727(0x36c))[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),a2_0xf13727(0x1ac))[a2_0xf13727(0x2cf)](a2_0xf13727(0x209),a2_0xf13727(0x365))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1f6),a2_0xf13727(0x387))['option'](a2_0xf13727(0xcf),a2_0xf13727(0xe3))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0xf13727(0x131))[a2_0xf13727(0x371)](a2_0xf13727(0x23c))[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),a2_0xf13727(0x1ac))[a2_0xf13727(0x2cf)](a2_0xf13727(0xcf),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0xf13727(0x159)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command'](a2_0xf13727(0x16c))[a2_0xf13727(0x371)](a2_0xf13727(0xdf))[a2_0xf13727(0x2cf)]('--verbose','Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0xf13727(0x159)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0xf13727(0x3ae)]('always-on-campaign')[a2_0xf13727(0x371)](a2_0xf13727(0x35a));alwaysOnCampaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3ad))['description'](a2_0xf13727(0x351))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1f6),a2_0xf13727(0x387))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2e7),a2_0xf13727(0x1e1))[a2_0xf13727(0x3be)](a2_0xf13727(0x190),a2_0xf13727(0x1e7))[a2_0xf13727(0x159)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command'](a2_0xf13727(0x23f))[a2_0xf13727(0x371)](a2_0xf13727(0x1a7))[a2_0xf13727(0x2cf)]('--type\x20<type>',a2_0xf13727(0x387))['option']('--status\x20<status>',a2_0xf13727(0x1e1))['requiredOption'](a2_0xf13727(0x190),a2_0xf13727(0x1e7))[a2_0xf13727(0x159)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command']('show\x20<name-or-id>')[a2_0xf13727(0x371)](a2_0xf13727(0x30d))[a2_0xf13727(0x3be)](a2_0xf13727(0x190),a2_0xf13727(0x1e7))['option'](a2_0xf13727(0x122),a2_0xf13727(0x36b))[a2_0xf13727(0x159)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0xf13727(0x3ae)]('create')['description']('Create\x20a\x20new\x20always-on\x20campaign')[a2_0xf13727(0x3be)]('--name\x20<name>',a2_0xf13727(0xff))[a2_0xf13727(0x3be)](a2_0xf13727(0x1f6),'Campaign\x20type\x20(email\x20or\x20push)')['requiredOption']('--workspace\x20<name>',a2_0xf13727(0x1e7))[a2_0xf13727(0x2cf)](a2_0xf13727(0x22f),a2_0xf13727(0x1f0))[a2_0xf13727(0x2cf)](a2_0xf13727(0x28c),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')['option'](a2_0xf13727(0x3b9),'Enable\x20UTM\x20tracking')[a2_0xf13727(0x159)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2fb))[a2_0xf13727(0x371)]('Update\x20an\x20always-on\x20campaign')['requiredOption'](a2_0xf13727(0x190),a2_0xf13727(0x1e7))[a2_0xf13727(0x2cf)](a2_0xf13727(0x209),a2_0xf13727(0x2d8))['option'](a2_0xf13727(0x22f),a2_0xf13727(0x1f0))[a2_0xf13727(0x2cf)](a2_0xf13727(0x28c),a2_0xf13727(0x2bf))[a2_0xf13727(0x2cf)](a2_0xf13727(0x3b9),'Enable\x20UTM\x20tracking')['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xda))[a2_0xf13727(0x371)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')[a2_0xf13727(0x3be)]('--workspace\x20<name>',a2_0xf13727(0x1e7))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1d7),a2_0xf13727(0x240))[a2_0xf13727(0x159)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x379))[a2_0xf13727(0x371)](a2_0xf13727(0xd3))['requiredOption'](a2_0xf13727(0x190),a2_0xf13727(0x1e7))[a2_0xf13727(0x159)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0xf13727(0x3ae)]('pause\x20<name-or-id>')[a2_0xf13727(0x371)](a2_0xf13727(0x362))['requiredOption']('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0xf13727(0x159)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x199))['description']('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0xf13727(0x3be)](a2_0xf13727(0x190),a2_0xf13727(0x1e7))[a2_0xf13727(0x159)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0xf13727(0x3ae)]('finish\x20<name-or-id>')[a2_0xf13727(0x371)](a2_0xf13727(0x24d))[a2_0xf13727(0x3be)](a2_0xf13727(0x190),'Workspace\x20name\x20(required)')[a2_0xf13727(0x2cf)](a2_0xf13727(0x1d7),'Skip\x20confirmation\x20prompt')[a2_0xf13727(0x159)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x230))[a2_0xf13727(0x371)]('Duplicate\x20an\x20always-on\x20campaign')[a2_0xf13727(0x3be)](a2_0xf13727(0x190),a2_0xf13727(0x1e7))[a2_0xf13727(0x3be)](a2_0xf13727(0x209),a2_0xf13727(0x129))[a2_0xf13727(0x159)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x1ca))[a2_0xf13727(0x371)](a2_0xf13727(0x340));templateCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)](a2_0xf13727(0x38a))['option'](a2_0xf13727(0x190),a2_0xf13727(0x1ac))[a2_0xf13727(0x159)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2ef))[a2_0xf13727(0x371)](a2_0xf13727(0x14e))[a2_0xf13727(0x2cf)]('--workspace\x20<name>',a2_0xf13727(0x1ac))[a2_0xf13727(0x159)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x168))[a2_0xf13727(0x371)]('Show\x20email\x20template\x20details')[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),'Workspace\x20name')[a2_0xf13727(0x2cf)](a2_0xf13727(0x122),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0xf13727(0x3ae)]('create')[a2_0xf13727(0x371)](a2_0xf13727(0xfc))[a2_0xf13727(0x3be)]('--name\x20<name>',a2_0xf13727(0x28b))[a2_0xf13727(0x3be)]('--subject\x20<subject>',a2_0xf13727(0xef))[a2_0xf13727(0x2cf)]('--html\x20<html>',a2_0xf13727(0x181))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1fe),a2_0xf13727(0x397))[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),a2_0xf13727(0x1e7))[a2_0xf13727(0x2cf)](a2_0xf13727(0xd1),'Plaintext\x20template\x20content')['option'](a2_0xf13727(0x21e),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x14519c=>{const _0x391583=a2_0xf13727;if(![_0x391583(0x1d9),'grapesjs']['includes'](_0x14519c))throw new SDKError(ErrorCode[_0x391583(0x192)],_0x391583(0x157)+_0x14519c+_0x391583(0x2e2));return _0x14519c;})[a2_0xf13727(0x159)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2fb))[a2_0xf13727(0x371)]('Update\x20an\x20email\x20template')['option'](a2_0xf13727(0x190),a2_0xf13727(0x1ac))['option'](a2_0xf13727(0x209),a2_0xf13727(0x1e6))[a2_0xf13727(0x2cf)](a2_0xf13727(0x27e),a2_0xf13727(0xef))['option']('--html\x20<html>','HTML\x20template\x20content')[a2_0xf13727(0x2cf)](a2_0xf13727(0x1fe),a2_0xf13727(0x397))[a2_0xf13727(0x2cf)](a2_0xf13727(0xd1),a2_0xf13727(0x22d))[a2_0xf13727(0x159)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x176))[a2_0xf13727(0x371)](a2_0xf13727(0x138))[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),a2_0xf13727(0x1ac))[a2_0xf13727(0x2cf)](a2_0xf13727(0x209),a2_0xf13727(0x1a4))[a2_0xf13727(0x2cf)]('-y,\x20--yes',a2_0xf13727(0x240))[a2_0xf13727(0x2cf)](a2_0xf13727(0xcf),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0xf13727(0x3ae)]('push\x20[target]')['description'](a2_0xf13727(0xca))[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),a2_0xf13727(0x1ac))[a2_0xf13727(0x2cf)](a2_0xf13727(0x305),'Skip\x20confirmation\x20prompt')[a2_0xf13727(0x2cf)](a2_0xf13727(0xcf),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0xf13727(0x159)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x16c))[a2_0xf13727(0x371)](a2_0xf13727(0x3a2))[a2_0xf13727(0x2cf)]('--verbose','Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0xf13727(0x159)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xda))[a2_0xf13727(0x371)](a2_0xf13727(0x316))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0xf13727(0x2cf)](a2_0xf13727(0x1d7),a2_0xf13727(0x240))[a2_0xf13727(0x159)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3b0))[a2_0xf13727(0x371)]('Workspace\x20management');workspaceCmd[a2_0xf13727(0x3ae)]('list\x20[pattern]')['description'](a2_0xf13727(0x246))[a2_0xf13727(0x159)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x1c2))[a2_0xf13727(0x371)](a2_0xf13727(0x15b))[a2_0xf13727(0x159)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0xf13727(0x3ae)]('show\x20<name-or-id>')[a2_0xf13727(0x371)](a2_0xf13727(0x2ad))[a2_0xf13727(0x2cf)](a2_0xf13727(0x122),a2_0xf13727(0x36b))[a2_0xf13727(0x159)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0xf13727(0x3ae)]('create')['description'](a2_0xf13727(0x15e))['requiredOption'](a2_0xf13727(0x209),a2_0xf13727(0x1ac))[a2_0xf13727(0x2cf)](a2_0xf13727(0x22f),a2_0xf13727(0xc5))[a2_0xf13727(0x159)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2fb))[a2_0xf13727(0x371)](a2_0xf13727(0x1ba))[a2_0xf13727(0x2cf)](a2_0xf13727(0x209),a2_0xf13727(0xeb))[a2_0xf13727(0x2cf)](a2_0xf13727(0x22f),a2_0xf13727(0xc5))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xda))[a2_0xf13727(0x371)](a2_0xf13727(0x34a))[a2_0xf13727(0x2cf)]('--yes',a2_0xf13727(0x240))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0xf13727(0x3ae)]('use\x20<name>')[a2_0xf13727(0x371)](a2_0xf13727(0x251))[a2_0xf13727(0x159)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0xf13727(0x3ae)]('delivery')[a2_0xf13727(0x371)](a2_0xf13727(0xd6));deliveryCmd['command']('senders\x20[pattern]')[a2_0xf13727(0x371)]('List\x20email\x20senders')[a2_0xf13727(0x2cf)](a2_0xf13727(0x190),a2_0xf13727(0x1ac))[a2_0xf13727(0x159)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0xf13727(0x3ae)]('connection')[a2_0xf13727(0x371)](a2_0xf13727(0x295)),connectionListAction=async _0x1285a1=>{const _0x3e4066=a2_0xf13727,_0x349f44=new ConnectionListCommand(),_0x598900=program[_0x3e4066(0x2cc)](),_0x5a4a49=await createTDXInstance(_0x598900),_0xd3fbaa=await _0x349f44['run']({'options':{..._0x598900,..._0x1285a1},'args':[],'tdx':_0x5a4a49});gracefulExit(_0xd3fbaa);};connectionCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x1a0))['description'](a2_0xf13727(0x108))[a2_0xf13727(0x159)](connectionListAction),program[a2_0xf13727(0x3ae)](a2_0xf13727(0x39d),{'hidden':!![]})['description'](a2_0xf13727(0x1d0))[a2_0xf13727(0x159)](connectionListAction),connectionCmd['command'](a2_0xf13727(0x11a))[a2_0xf13727(0x371)](a2_0xf13727(0x140))['action'](async(_0x1b1b44,_0x5e813a)=>{const _0x597ee1=a2_0xf13727,_0x3dc58b=new ConnectionShowCommand(),_0xa2ea77=program['opts'](),_0x4d0c72=await createTDXInstance(_0xa2ea77),_0x2b4791=await _0x3dc58b[_0x597ee1(0x263)]({'options':{..._0xa2ea77,..._0x5e813a},'args':[_0x1b1b44],'tdx':_0x4d0c72});gracefulExit(_0x2b4791);}),connectionCmd['command'](a2_0xf13727(0x306))[a2_0xf13727(0x371)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0xf13727(0x159)](async(_0x231364,_0x4f3e3e)=>{const _0x3cf74f=a2_0xf13727,_0x579d6c=new ConnectionSchemaCommand(),_0x119917=program[_0x3cf74f(0x2cc)](),_0x6f179a=await createTDXInstance(_0x119917),_0x2948c9=await _0x579d6c[_0x3cf74f(0x263)]({'options':{..._0x119917,..._0x4f3e3e},'args':[_0x231364],'tdx':_0x6f179a});gracefulExit(_0x2948c9);}),connectionCmd['command']('types')['description']('List\x20available\x20connector\x20types')[a2_0xf13727(0x159)](async _0x28dbea=>{const _0x57ffb9=a2_0xf13727,_0x23af90=new ConnectionTypesCommand(),_0x5711d4=program[_0x57ffb9(0x2cc)](),_0x3a0041=await createTDXInstance(_0x5711d4),_0x4dddfc=await _0x23af90[_0x57ffb9(0x263)]({'options':{..._0x5711d4,..._0x28dbea},'args':[],'tdx':_0x3a0041});gracefulExit(_0x4dddfc);}),connectionCmd['command'](a2_0xf13727(0x277))[a2_0xf13727(0x371)](a2_0xf13727(0x3c1))[a2_0xf13727(0x159)](async(_0x1b0406,_0x54f446)=>{const _0x1c8227=new ConnectionSettingsCommand(),_0x5b4dc5=program['opts'](),_0x426ab4=await createTDXInstance(_0x5b4dc5),_0x15ea33=await _0x1c8227['run']({'options':{..._0x5b4dc5,..._0x54f446},'args':[_0x1b0406],'tdx':_0x426ab4});gracefulExit(_0x15ea33);});const casCmd=program['command'](a2_0xf13727(0x373))[a2_0xf13727(0x371)](a2_0xf13727(0x2ac));casCmd['command']('list')[a2_0xf13727(0x371)]('List\x20composable\x20audiences')[a2_0xf13727(0x159)](async _0x10c227=>{const _0x1a34ee=a2_0xf13727,_0x44b679=new CASListCommand(),_0x483dc8=program[_0x1a34ee(0x2cc)](),_0x239015=await createTDXInstance(_0x483dc8),_0x3b7abd=await _0x44b679[_0x1a34ee(0x263)]({'options':{..._0x483dc8,..._0x10c227},'args':[],'tdx':_0x239015});gracefulExit(_0x3b7abd);}),casCmd[a2_0xf13727(0x3ae)]('desc\x20[name]')[a2_0xf13727(0x371)](a2_0xf13727(0x177))[a2_0xf13727(0x159)](async(_0x3d2ce4,_0x50e370)=>{const _0x605c1e=a2_0xf13727,_0x24f14d=new CASDescCommand(),_0x2be9f4=program[_0x605c1e(0x2cc)](),_0x5abe02=await createTDXInstance(_0x2be9f4),_0x3ad511=await _0x24f14d[_0x605c1e(0x263)]({'options':{..._0x2be9f4,..._0x50e370},'args':_0x3d2ce4?[_0x3d2ce4]:[],'tdx':_0x5abe02});gracefulExit(_0x3ad511);}),casCmd['command'](a2_0xf13727(0x198))[a2_0xf13727(0x371)](a2_0xf13727(0x218))[a2_0xf13727(0x2cf)](a2_0xf13727(0x167),a2_0xf13727(0x31b))['option']('--dry-run',a2_0xf13727(0x111))[a2_0xf13727(0x159)](async(_0x40bd48,_0x36603d)=>{const _0x1d4774=a2_0xf13727,_0x2c0a00=new CASPullCommand(),_0x55daa2=program[_0x1d4774(0x2cc)](),_0x3fc93c=await createTDXInstance(_0x55daa2),_0xfd193d=await _0x2c0a00[_0x1d4774(0x263)]({'options':{..._0x55daa2,..._0x36603d},'args':_0x40bd48?[_0x40bd48]:[],'tdx':_0x3fc93c});gracefulExit(_0xfd193d);}),casCmd['command']('push\x20[target]')[a2_0xf13727(0x371)](a2_0xf13727(0x28a))[a2_0xf13727(0x2cf)](a2_0xf13727(0xcf),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0xf13727(0x159)](async(_0x35fd11,_0x4598eb)=>{const _0x464526=a2_0xf13727,_0x51b47f=new CASPushCommand(),_0x1e61cd=program[_0x464526(0x2cc)](),_0x16a697=await createTDXInstance(_0x1e61cd),_0x321383=await _0x51b47f[_0x464526(0x263)]({'options':{..._0x1e61cd,..._0x4598eb},'args':_0x35fd11?[_0x35fd11]:[],'tdx':_0x16a697});gracefulExit(_0x321383);}),casCmd[a2_0xf13727(0x3ae)]('preview\x20<segment_name>')[a2_0xf13727(0x371)](a2_0xf13727(0x258))[a2_0xf13727(0x2cf)](a2_0xf13727(0x39e),a2_0xf13727(0xf6))[a2_0xf13727(0x159)](async(_0x335caf,_0x106853)=>{const _0x225de0=a2_0xf13727,_0xa30771=new CASPreviewCommand(),_0x270c13=program[_0x225de0(0x2cc)](),_0x2c53b9=await createTDXInstance(_0x270c13),_0x45e7ec=await _0xa30771['run']({'options':{..._0x270c13,..._0x106853},'args':[_0x335caf,_0x106853['audience']],'tdx':_0x2c53b9});gracefulExit(_0x45e7ec);});const casSgCmd=casCmd[a2_0xf13727(0x3ae)]('sg')[a2_0xf13727(0x371)](a2_0xf13727(0xb5));casSgCmd[a2_0xf13727(0x3ae)]('list\x20[audience_name]')[a2_0xf13727(0x371)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0xf13727(0x159)](async(_0x487592,_0x5d6d1c)=>{const _0x471430=a2_0xf13727,_0x11ff8e=new CASSegmentListCommand(),_0x1852ca=program['opts'](),_0x15fe73=await createTDXInstance(_0x1852ca),_0x475d8e=await _0x11ff8e[_0x471430(0x263)]({'options':{..._0x1852ca,..._0x5d6d1c},'args':_0x487592?[_0x487592]:[],'tdx':_0x15fe73});gracefulExit(_0x475d8e);});const journeyCmd=program[a2_0xf13727(0x3ae)](a2_0xf13727(0x1c3))['description'](a2_0xf13727(0x207)),journeyListAction=async(_0x1937c0,_0x1a4a79)=>{const _0x42a727=a2_0xf13727,_0x161966=new JourneyListCommand(),_0x529209=program[_0x42a727(0x2cc)](),_0x2a268c=await createTDXInstance(_0x529209),_0x3b47b2=await _0x161966[_0x42a727(0x263)]({'options':{..._0x529209,..._0x1a4a79},'args':_0x1937c0?[_0x1937c0]:[],'tdx':_0x2a268c});gracefulExit(_0x3b47b2);};journeyCmd['command'](a2_0xf13727(0x3ad))[a2_0xf13727(0x371)](a2_0xf13727(0x243))[a2_0xf13727(0x159)](journeyListAction),journeyCmd[a2_0xf13727(0x3ae)]('view\x20<name-or-path>')[a2_0xf13727(0x371)](a2_0xf13727(0x355))[a2_0xf13727(0x2cf)](a2_0xf13727(0x22e),a2_0xf13727(0x1f9))['option'](a2_0xf13727(0x34c),'Include\x20execution\x20statistics')[a2_0xf13727(0x159)](async(_0x2f4881,_0x5e2fd2)=>{const _0x16480f=a2_0xf13727,_0x187f87=new JourneyViewCommand(),_0x591496=program[_0x16480f(0x2cc)](),_0x1f2992=await createTDXInstance(_0x591496),_0x3658d0=await _0x187f87[_0x16480f(0x263)]({'options':{..._0x591496,..._0x5e2fd2},'args':[_0x2f4881],'tdx':_0x1f2992});gracefulExit(_0x3658d0);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0xf13727(0x371)](a2_0xf13727(0x38f))['option'](a2_0xf13727(0x223),'Show\x20stats\x20for\x20specific\x20stage')[a2_0xf13727(0x2cf)]('--from\x20<date>',a2_0xf13727(0x1e4))[a2_0xf13727(0x2cf)](a2_0xf13727(0x162),a2_0xf13727(0x3b2))[a2_0xf13727(0x2cf)]('--include-history','Include\x20raw\x20history\x20data\x20in\x20output')['action'](async(_0x27f336,_0x45e2bc)=>{const _0x3aadaa=a2_0xf13727,_0x21a173=new JourneyStatsCommand(),_0x2456fa=program[_0x3aadaa(0x2cc)](),_0x5960a4=await createTDXInstance(_0x2456fa),_0x1dab18=await _0x21a173[_0x3aadaa(0x263)]({'options':{..._0x2456fa,..._0x45e2bc},'args':[_0x27f336],'tdx':_0x5960a4});gracefulExit(_0x1dab18);}),journeyCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x219))[a2_0xf13727(0x371)](a2_0xf13727(0x10d))[a2_0xf13727(0x2cf)]('--type\x20<type>',a2_0xf13727(0x1d2))[a2_0xf13727(0x2cf)](a2_0xf13727(0xe6),a2_0xf13727(0x1e4))[a2_0xf13727(0x2cf)](a2_0xf13727(0x162),a2_0xf13727(0x3b2))[a2_0xf13727(0x2cf)](a2_0xf13727(0x1d4),a2_0xf13727(0x2a5),_0x38de23=>{const _0x54b89f=a2_0xf13727,_0x25e0c7=parseInt(_0x38de23,0xa);if(isNaN(_0x25e0c7))throw new Error(_0x54b89f(0xba)+_0x38de23+_0x54b89f(0x389));return _0x25e0c7;})['action'](async(_0x4eda91,_0x1fe80c)=>{const _0x56bef8=a2_0xf13727,_0xaf31fe=new JourneyTrafficCommand(),_0x222f46=program['opts'](),_0x1516b8=await createTDXInstance(_0x222f46),_0x419e9a=await _0xaf31fe[_0x56bef8(0x263)]({'options':{..._0x222f46,..._0x1fe80c},'args':[_0x4eda91],'tdx':_0x1516b8});gracefulExit(_0x419e9a);}),journeyCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2ec))[a2_0xf13727(0x371)](a2_0xf13727(0x21a))['action'](async(_0x388247,_0x31fb0a)=>{const _0xf4f433=a2_0xf13727,_0x925e98=new JourneyPauseCommand(),_0x86cac5=program['opts'](),_0x1581c6=await createTDXInstance(_0x86cac5),_0xb5db38=await _0x925e98[_0xf4f433(0x263)]({'options':{..._0x86cac5,..._0x31fb0a},'args':[_0x388247],'tdx':_0x1581c6});gracefulExit(_0xb5db38);}),journeyCmd['command']('resume\x20<name-or-path>')[a2_0xf13727(0x371)](a2_0xf13727(0x286))[a2_0xf13727(0x159)](async(_0x51dc87,_0x4c9deb)=>{const _0x2a8d4a=a2_0xf13727,_0x16fbb3=new JourneyResumeCommand(),_0x310331=program['opts'](),_0x49151f=await createTDXInstance(_0x310331),_0x64e149=await _0x16fbb3[_0x2a8d4a(0x263)]({'options':{..._0x310331,..._0x4c9deb},'args':[_0x51dc87],'tdx':_0x49151f});gracefulExit(_0x64e149);}),journeyCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x198))['description'](a2_0xf13727(0x35b))[a2_0xf13727(0x2cf)](a2_0xf13727(0xcf),a2_0xf13727(0x111))[a2_0xf13727(0x159)](async(_0x393cf4,_0x26c1c8)=>{const _0x190f5f=a2_0xf13727,_0x752dee=new JourneyPullCommand(),_0x5dd508=program[_0x190f5f(0x2cc)](),_0x35ace2=await createTDXInstance(_0x5dd508),_0x54dab1=await _0x752dee[_0x190f5f(0x263)]({'options':{..._0x5dd508,..._0x26c1c8},'args':_0x393cf4?[_0x393cf4]:[],'tdx':_0x35ace2});gracefulExit(_0x54dab1);}),journeyCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x131))[a2_0xf13727(0x371)](a2_0xf13727(0x2c5))['action'](async(_0x22e8aa,_0x58b464)=>{const _0x26bab6=a2_0xf13727,_0x14024f=new JourneyPushCommand(),_0x451745=program[_0x26bab6(0x2cc)](),_0x543422=await createTDXInstance(_0x451745),_0x3fcb1b=await _0x14024f['run']({'options':{..._0x451745,..._0x58b464},'args':_0x22e8aa?[_0x22e8aa]:[],'tdx':_0x543422});gracefulExit(_0x3fcb1b);}),journeyCmd['command'](a2_0xf13727(0x242))[a2_0xf13727(0x371)](a2_0xf13727(0x318))[a2_0xf13727(0x159)](async(_0x4676c8,_0x426b8a)=>{const _0x432dc3=a2_0xf13727,_0x45f538=new JourneyColumnsCommand(),_0xddbb1f=program['opts'](),_0x194c50=await createTDXInstance(_0xddbb1f),_0x34c82f=await _0x45f538[_0x432dc3(0x263)]({'options':{..._0xddbb1f,..._0x426b8a},'args':[_0x4676c8],'tdx':_0x194c50});gracefulExit(_0x34c82f);}),journeyCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x2b6))[a2_0xf13727(0x371)](a2_0xf13727(0x281))[a2_0xf13727(0x159)](async(_0x59b7c2,_0x1f7399)=>{const _0x582624=a2_0xf13727,_0x57b1df=new JourneyActivationsCommand(),_0x4fff00=program[_0x582624(0x2cc)](),_0x5cc66a=await createTDXInstance(_0x4fff00),_0x12779c=await _0x57b1df['run']({'options':{..._0x4fff00,..._0x1f7399},'args':[_0x59b7c2],'tdx':_0x5cc66a});gracefulExit(_0x12779c);}),journeyCmd[a2_0xf13727(0x3ae)]('versions\x20<name-or-path>')[a2_0xf13727(0x371)](a2_0xf13727(0x28f))[a2_0xf13727(0x159)](async(_0x12e49b,_0x993be3)=>{const _0x303328=a2_0xf13727,_0x26e989=new JourneyVersionsCommand(),_0x9b4a2c=program[_0x303328(0x2cc)](),_0x38c9bb=await createTDXInstance(_0x9b4a2c),_0x5cdcee=await _0x26e989[_0x303328(0x263)]({'options':{..._0x9b4a2c,..._0x993be3},'args':[_0x12e49b],'tdx':_0x38c9bb});gracefulExit(_0x5cdcee);});const journeyVersionCmd=journeyCmd['command'](a2_0xf13727(0x2ee))[a2_0xf13727(0x371)]('Journey\x20version\x20management');journeyVersionCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3a6))[a2_0xf13727(0x371)](a2_0xf13727(0x2e1))['action'](async(_0x50e74f,_0x2cbc16)=>{const _0x4f15c9=new JourneyVersionCreateCommand(),_0x5d4d3f=program['opts'](),_0x567dea=await createTDXInstance(_0x5d4d3f),_0x3bf693=await _0x4f15c9['run']({'options':{..._0x5d4d3f,..._0x2cbc16},'args':[_0x50e74f],'tdx':_0x567dea});gracefulExit(_0x3bf693);}),journeyVersionCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x227))[a2_0xf13727(0x371)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')[a2_0xf13727(0x3be)]('--version\x20<number>',a2_0xf13727(0x137))[a2_0xf13727(0x159)](async(_0x28779e,_0x5afde1)=>{const _0x1a182a=a2_0xf13727,_0x4f84c3=new JourneyVersionViewCommand(),_0x139bc0=program['opts'](),_0x3dbde4=await createTDXInstance(_0x139bc0),_0x5dce12=await _0x4f84c3[_0x1a182a(0x263)]({'options':{..._0x139bc0,..._0x5afde1},'args':[_0x28779e],'tdx':_0x3dbde4});gracefulExit(_0x5dce12);}),journeyCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x16c))[a2_0xf13727(0x371)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0xf13727(0x159)](async(_0x5bb02f,_0x3ffd24)=>{const _0xdabf64=a2_0xf13727,_0x43bb62=new JourneyValidateCommand(),_0x1e1101=program[_0xdabf64(0x2cc)](),_0xa0270d=await createTDXInstance(_0x1e1101),_0x58fe20=await _0x43bb62[_0xdabf64(0x263)]({'options':{..._0x1e1101,..._0x3ffd24},'args':_0x5bb02f?[_0x5bb02f]:[],'tdx':_0xa0270d});gracefulExit(_0x58fe20);}),program[a2_0xf13727(0x3ae)](a2_0xf13727(0x1a3))[a2_0xf13727(0x371)](a2_0xf13727(0x143))['action'](journeyListAction);const agentSyncCmd=program[a2_0xf13727(0x3ae)]('agent')[a2_0xf13727(0x371)](a2_0xf13727(0x385));agentSyncCmd['command']('pull\x20[project]\x20[agent-name]')[a2_0xf13727(0x371)](a2_0xf13727(0x2db))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2da),a2_0xf13727(0x1b5))['option'](a2_0xf13727(0xb3),a2_0xf13727(0x24c))[a2_0xf13727(0x2cf)]('-a,\x20--agent\x20<name>',a2_0xf13727(0x398))[a2_0xf13727(0x159)](async(_0x2ef9a3,_0x28420d,_0x25a263)=>{const _0x183814=a2_0xf13727,_0x339eb6=new AgentPullCommand(),_0x3dad39=program[_0x183814(0x2cc)](),_0x4d57a9=await createTDXInstance(_0x3dad39),_0xe8fb0c=[];if(_0x2ef9a3)_0xe8fb0c[_0x183814(0xcd)](_0x2ef9a3);if(_0x28420d)_0xe8fb0c[_0x183814(0xcd)](_0x28420d);const _0x47b573=await _0x339eb6[_0x183814(0x263)]({'options':{..._0x3dad39,..._0x25a263},'args':_0xe8fb0c,'tdx':_0x4d57a9});gracefulExit(_0x47b573);}),agentSyncCmd['command'](a2_0xf13727(0x23d))[a2_0xf13727(0x371)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0xf13727(0x2cf)](a2_0xf13727(0xb3),a2_0xf13727(0xaf))[a2_0xf13727(0x159)](async(_0x1f1283,_0x2d6999)=>{const _0x4c29f9=a2_0xf13727,_0x16a1b7=new AgentPushCommand(),_0x389e7f=program[_0x4c29f9(0x2cc)](),_0x342157=await createTDXInstance(_0x389e7f),_0x3c79b6=await _0x16a1b7[_0x4c29f9(0x263)]({'options':{..._0x389e7f,..._0x2d6999},'args':_0x1f1283?[_0x1f1283]:[],'tdx':_0x342157});gracefulExit(_0x3c79b6);}),agentSyncCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x267))[a2_0xf13727(0x371)](a2_0xf13727(0x30a))['option']('-n,\x20--name\x20<name>',a2_0xf13727(0x233))[a2_0xf13727(0x159)](async(_0x1d4b6f,_0xc385e2)=>{const _0x11fe8e=a2_0xf13727,_0x28b6a7=new AgentCloneCommand(),_0x4ef5d8=program[_0x11fe8e(0x2cc)](),_0x372612=await createTDXInstance(_0x4ef5d8),_0x41be64=await _0x28b6a7[_0x11fe8e(0x263)]({'options':{..._0x4ef5d8,..._0xc385e2},'args':_0x1d4b6f?[_0x1d4b6f]:[],'tdx':_0x372612});gracefulExit(_0x41be64);}),agentSyncCmd[a2_0xf13727(0x3ae)]('test\x20[path]')[a2_0xf13727(0x371)](a2_0xf13727(0x183))[a2_0xf13727(0x2cf)](a2_0xf13727(0x370),a2_0xf13727(0x128))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2a6),a2_0xf13727(0x2cb))['option'](a2_0xf13727(0xcf),a2_0xf13727(0x278))['option'](a2_0xf13727(0x179),'Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0xf13727(0x2cf)](a2_0xf13727(0x147),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')['action'](async(_0x21c754,_0x29a285)=>{const _0x31f496=a2_0xf13727,_0x2ff9a2=new AgentTestCommand(),_0x5378f8=program[_0x31f496(0x2cc)](),_0x4a4d1b=await createTDXInstance(_0x5378f8),_0x1fcc27=await _0x2ff9a2[_0x31f496(0x263)]({'options':{..._0x5378f8,..._0x29a285},'args':_0x21c754?[_0x21c754]:[],'tdx':_0x4a4d1b});gracefulExit(_0x1fcc27);}),agentSyncCmd[a2_0xf13727(0x3ae)]('list\x20[pattern]')[a2_0xf13727(0x371)](a2_0xf13727(0xb6))[a2_0xf13727(0x159)](llmAgentListAction),agentSyncCmd[a2_0xf13727(0x3ae)]('show\x20<agent-name>')[a2_0xf13727(0x371)](a2_0xf13727(0x37e))[a2_0xf13727(0x159)](async(_0x333def,_0x59891a)=>{const _0x2234ab=new LLMAgentShowCommand(),_0x16885b=program['opts'](),_0x15140b=await createTDXInstance(_0x16885b),_0x220602=await _0x2234ab['run']({'options':{..._0x16885b,..._0x59891a},'args':[_0x333def],'tdx':_0x15140b});gracefulExit(_0x220602);}),agentSyncCmd['command'](a2_0xf13727(0x28e))[a2_0xf13727(0x371)](a2_0xf13727(0x313))[a2_0xf13727(0x2cf)](a2_0xf13727(0x272),a2_0xf13727(0xc6))['option'](a2_0xf13727(0x280),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0xf13727(0x25d))[a2_0xf13727(0x2cf)](a2_0xf13727(0x380),a2_0xf13727(0x1bd))[a2_0xf13727(0x2cf)](a2_0xf13727(0x21b),a2_0xf13727(0xc1),'4')[a2_0xf13727(0x2cf)](a2_0xf13727(0x1dd),a2_0xf13727(0x2c8),a2_0xf13727(0x2a3))[a2_0xf13727(0x159)](async(_0x3c35c2,_0x3525d7)=>{const _0x3fb903=a2_0xf13727,_0x324c73=new LLMAgentCreateCommand(),_0x583fc7=program[_0x3fb903(0x2cc)](),_0x4a40ae=await createTDXInstance(_0x583fc7),_0x4af301=await _0x324c73[_0x3fb903(0x263)]({'options':{..._0x583fc7,..._0x3525d7},'args':[_0x3c35c2],'tdx':_0x4a40ae});gracefulExit(_0x4af301);}),agentSyncCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x136))[a2_0xf13727(0x371)](a2_0xf13727(0x332))[a2_0xf13727(0x2cf)](a2_0xf13727(0x132),a2_0xf13727(0x1f1))['option'](a2_0xf13727(0x1d1),'Agent\x20prompt/instructions')[a2_0xf13727(0x2cf)](a2_0xf13727(0x3a5),a2_0xf13727(0x204))[a2_0xf13727(0x2cf)](a2_0xf13727(0x380),a2_0xf13727(0x1bd))['action'](async(_0x13b203,_0x422eef)=>{const _0x24cea3=a2_0xf13727,_0x36be0e=new LLMAgentUpdateCommand(),_0x15c56f=program[_0x24cea3(0x2cc)](),_0x398bfb=await createTDXInstance(_0x15c56f),_0x26cc16=await _0x36be0e[_0x24cea3(0x263)]({'options':{..._0x15c56f,..._0x422eef},'args':[_0x13b203],'tdx':_0x398bfb});gracefulExit(_0x26cc16);}),agentSyncCmd[a2_0xf13727(0x3ae)]('delete\x20<agent-name>')[a2_0xf13727(0x371)]('Delete\x20an\x20agent')[a2_0xf13727(0x159)](async(_0x280a36,_0x5655ee)=>{const _0x48e369=a2_0xf13727,_0x42377d=new LLMAgentDeleteCommand(),_0x419585=program[_0x48e369(0x2cc)](),_0x471677=await createTDXInstance(_0x419585),_0x5b16ab=await _0x42377d['run']({'options':{..._0x419585,..._0x5655ee},'args':[_0x280a36],'tdx':_0x471677});gracefulExit(_0x5b16ab);});const workCmd=program[a2_0xf13727(0x3ae)]('work')[a2_0xf13727(0x371)]('AI-native\x20work\x20management');workCmd[a2_0xf13727(0x2cf)](a2_0xf13727(0x160),'Show\x20items\x20updated\x20within\x20N\x20days')[a2_0xf13727(0x2cf)](a2_0xf13727(0x182),a2_0xf13727(0x388))[a2_0xf13727(0x159)](workSummaryAction),workCmd['command'](a2_0xf13727(0xc8))[a2_0xf13727(0x371)]('Initialize\x20a\x20new\x20workspace')['option'](a2_0xf13727(0x1e9),a2_0xf13727(0x32a))['action'](workInitAction),workCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0xf8))[a2_0xf13727(0x371)]('Create\x20a\x20new\x20document')[a2_0xf13727(0x2cf)]('--kind\x20<kind>',a2_0xf13727(0x2df),a2_0xf13727(0x189))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2a6),'Comma-separated\x20tags')['option'](a2_0xf13727(0x297),a2_0xf13727(0x15f))[a2_0xf13727(0x2cf)](a2_0xf13727(0x329),a2_0xf13727(0x3af))['option'](a2_0xf13727(0x1d5),a2_0xf13727(0x12e))['option'](a2_0xf13727(0x2e7),a2_0xf13727(0x116))[a2_0xf13727(0x2cf)](a2_0xf13727(0x2b3),a2_0xf13727(0xd9))[a2_0xf13727(0x159)](workNewAction),workCmd[a2_0xf13727(0x3ae)]('move\x20<name>\x20<status>')[a2_0xf13727(0x371)](a2_0xf13727(0xbc))['action'](workMoveAction),workCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x282))['description'](a2_0xf13727(0x1c1))['option'](a2_0xf13727(0x160),a2_0xf13727(0x14b))[a2_0xf13727(0x2cf)](a2_0xf13727(0x182),a2_0xf13727(0x388))['action'](workBoardAction),workCmd['command'](a2_0xf13727(0x11a))[a2_0xf13727(0x371)]('Show\x20document\x20details')['action'](workShowAction),workCmd[a2_0xf13727(0x3ae)](a2_0xf13727(0x3ab))['description'](a2_0xf13727(0x107))[a2_0xf13727(0x159)](workLinksAction),workCmd['command']('open\x20<name>')[a2_0xf13727(0x371)]('Open\x20a\x20document\x20in\x20$EDITOR')[a2_0xf13727(0x159)](workOpenAction),program[a2_0xf13727(0x3ae)]('_list-commands',{'hidden':!![]})[a2_0xf13727(0x159)](()=>{const _0x32d17d=a2_0xf13727;function _0x46bf02(_0x3d491a,_0x472351){const _0x1eaa4b=a2_0x3cce,_0x41804c=[];for(const _0x35d62f of _0x3d491a[_0x1eaa4b(0x2f6)]){if(_0x35d62f[_0x1eaa4b(0x2bc)])continue;const _0x4b02a5=_0x472351?_0x472351+'\x20'+_0x35d62f[_0x1eaa4b(0x331)]():_0x35d62f['name'](),_0x163e3a=_0x4b02a5[_0x1eaa4b(0x35f)]('\x20')[0x0],_0x6ae49b=COMMAND_CATEGORIES[_0x1eaa4b(0x3bc)](_0x2df89b=>_0x2df89b['commands'][_0x1eaa4b(0x14f)](_0x163e3a)),_0x219965=_0x6ae49b?.[_0x1eaa4b(0x331)]??'';if(_0x35d62f['commands'][_0x1eaa4b(0x322)]>0x0)_0x41804c['push'](..._0x46bf02(_0x35d62f,_0x4b02a5));else{const _0x3adea8=(_0x35d62f[_0x1eaa4b(0x2a4)]||[])['map'](_0x8dd84b=>{const _0x3545b1=_0x1eaa4b,_0x4de1f4=_0x8dd84b['variadic']?_0x8dd84b[_0x3545b1(0x331)]()+_0x3545b1(0x1e8):_0x8dd84b[_0x3545b1(0x331)]();return _0x8dd84b[_0x3545b1(0x1f3)]?'<'+_0x4de1f4+'>':'['+_0x4de1f4+']';})[_0x1eaa4b(0x11b)]('\x20'),_0x1cc8ea=_0x35d62f[_0x1eaa4b(0x2b8)][_0x1eaa4b(0x25c)](_0x528144=>!_0x528144['hidden']&&_0x528144[_0x1eaa4b(0x1a2)]!=='--help')[_0x1eaa4b(0xdb)](_0x42257a=>({'flags':_0x42257a['flags'],'description':_0x42257a[_0x1eaa4b(0x371)]}));_0x41804c['push']({'name':_0x4b02a5,'description':_0x35d62f[_0x1eaa4b(0x371)](),'group':_0x219965,'usage':_0x3adea8,'options':_0x1cc8ea});}}return _0x41804c;}console[_0x32d17d(0x270)](JSON[_0x32d17d(0x36d)](_0x46bf02(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x2cc2df=a2_0xf13727,_0x14e4c8=!process[_0x2cc2df(0x26e)][_0x2cc2df(0x2f5)](0x2)['length'];showBriefHelp=_0x14e4c8,program[_0x2cc2df(0x37f)](process[_0x2cc2df(0x26e)]);_0x14e4c8&&program[_0x2cc2df(0x32d)]();const _0x6f25c5=process[_0x2cc2df(0x26e)][0x2]===_0x2cc2df(0x1da);if(process[_0x2cc2df(0x212)][_0x2cc2df(0x3b8)]&&process[_0x2cc2df(0x26e)][_0x2cc2df(0x322)]>0x2&&!isDevVersion()&&!_0x6f25c5){const _0x1db23f=loadReleaseChannel();checkForUpdate(currentVersion,_0x1db23f)['then'](_0x4b4e01=>{_0x4b4e01&&displayUpdateNotification(_0x4b4e01);})[_0x2cc2df(0xdd)](()=>{});}}