@treasuredata/tdx 2026.3.38 → 2026.3.39

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 (223) 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/auth-login-command.js +1 -1
  11. package/dist/commands/cas-command.js +1 -1
  12. package/dist/commands/cas-segment-command.js +1 -1
  13. package/dist/commands/chat-command.js +1 -1
  14. package/dist/commands/claude-command.js +1 -1
  15. package/dist/commands/claude-statusline-command.js +1 -1
  16. package/dist/commands/claude-usage-command.js +1 -1
  17. package/dist/commands/command.js +1 -1
  18. package/dist/commands/connection-command.js +1 -1
  19. package/dist/commands/databases.js +1 -1
  20. package/dist/commands/delivery-command.js +1 -1
  21. package/dist/commands/describe.js +1 -1
  22. package/dist/commands/engage-campaign-pull-command.js +1 -1
  23. package/dist/commands/engage-campaign-push-command.js +1 -1
  24. package/dist/commands/engage-campaign-validate-command.js +1 -1
  25. package/dist/commands/engage-command.js +1 -1
  26. package/dist/commands/engage-template-pull-command.js +1 -1
  27. package/dist/commands/engage-template-push-command.js +1 -1
  28. package/dist/commands/engage-template-validate-command.js +1 -1
  29. package/dist/commands/job-command.js +1 -1
  30. package/dist/commands/journey-command.js +1 -1
  31. package/dist/commands/journey-validate-command.js +1 -1
  32. package/dist/commands/llm-command.js +1 -1
  33. package/dist/commands/mcp-command.js +1 -1
  34. package/dist/commands/parent-segment-command.js +1 -1
  35. package/dist/commands/policy-command.js +1 -1
  36. package/dist/commands/profile-command.js +1 -1
  37. package/dist/commands/profiles-command.js +1 -1
  38. package/dist/commands/query-command.js +1 -1
  39. package/dist/commands/schedule-command.js +1 -1
  40. package/dist/commands/segment-command.js +1 -1
  41. package/dist/commands/segment-create-command.js +1 -1
  42. package/dist/commands/segment-fields-command.js +1 -1
  43. package/dist/commands/segment-pull-command.js +1 -1
  44. package/dist/commands/segment-push-command.js +1 -1
  45. package/dist/commands/segment-update-command.js +1 -1
  46. package/dist/commands/segment-use-command.js +1 -1
  47. package/dist/commands/segment-validate-command.js +1 -1
  48. package/dist/commands/segments.js +1 -1
  49. package/dist/commands/show.js +1 -1
  50. package/dist/commands/status-command.js +1 -1
  51. package/dist/commands/tables.js +1 -1
  52. package/dist/commands/unset-command.js +1 -1
  53. package/dist/commands/upgrade-command.js +1 -1
  54. package/dist/commands/use-command.js +1 -1
  55. package/dist/commands/user-command.js +1 -1
  56. package/dist/commands/work-command.js +1 -1
  57. package/dist/commands/workflow-command.js +1 -1
  58. package/dist/core/auth.js +1 -1
  59. package/dist/core/command-output.js +1 -1
  60. package/dist/core/config.js +1 -1
  61. package/dist/core/connection-cache.js +1 -1
  62. package/dist/core/constants.js +1 -1
  63. package/dist/core/credential-cache.js +1 -1
  64. package/dist/core/global-context.js +1 -1
  65. package/dist/core/keychain.js +1 -1
  66. package/dist/core/oauth-keychain.js +1 -1
  67. package/dist/core/oauth.js +1 -1
  68. package/dist/core/profile.js +1 -1
  69. package/dist/core/project-config.js +1 -1
  70. package/dist/core/session.js +1 -1
  71. package/dist/core/user-cache.js +1 -1
  72. package/dist/core/version.js +1 -1
  73. package/dist/index.js +1 -1
  74. package/dist/mcp/server.js +1 -1
  75. package/dist/mcp/tools/index.js +1 -1
  76. package/dist/mcp/tools/tdx-run.js +1 -1
  77. package/dist/mcp/tools/tdx-search.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.d.ts.map +1 -1
  184. package/dist/sdk/workspace/index.js +1 -1
  185. package/dist/sdk/workspace/index.js.map +1 -1
  186. package/dist/sdk/workspace/templates.js +1 -1
  187. package/dist/sdk/workspace/weekly.js +1 -1
  188. package/dist/sdk/workspace/wikilinks.js +1 -1
  189. package/dist/test-utils/command-runner.js +1 -1
  190. package/dist/test-utils/factories.js +1 -1
  191. package/dist/test-utils/fixtures.js +1 -1
  192. package/dist/test-utils/http-mock.js +1 -1
  193. package/dist/test-utils/index.js +1 -1
  194. package/dist/utils/async.js +1 -1
  195. package/dist/utils/colors.js +1 -1
  196. package/dist/utils/diff.js +1 -1
  197. package/dist/utils/file-permissions.js +1 -1
  198. package/dist/utils/file-reader.js +1 -1
  199. package/dist/utils/github-releases.d.ts +1 -1
  200. package/dist/utils/github-releases.js +1 -1
  201. package/dist/utils/github-releases.js.map +1 -1
  202. package/dist/utils/global-cache.js +1 -1
  203. package/dist/utils/json-loader.js +1 -1
  204. package/dist/utils/local-cache.js +1 -1
  205. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  206. package/dist/utils/logger/formatters/index.js +1 -1
  207. package/dist/utils/logger/handlers/console-handler.js +1 -1
  208. package/dist/utils/logger/handlers/file-handler.js +1 -1
  209. package/dist/utils/logger/handlers/index.js +1 -1
  210. package/dist/utils/logger/handlers/null-handler.js +1 -1
  211. package/dist/utils/logger/index.js +1 -1
  212. package/dist/utils/logger/logger.js +1 -1
  213. package/dist/utils/logger/types.js +1 -1
  214. package/dist/utils/option-validation.js +1 -1
  215. package/dist/utils/process.js +1 -1
  216. package/dist/utils/prompt.js +1 -1
  217. package/dist/utils/spinner.js +1 -1
  218. package/dist/utils/sse-parser.js +1 -1
  219. package/dist/utils/string-utils.js +1 -1
  220. package/dist/utils/table-ref-parser.js +1 -1
  221. package/dist/utils/tdx-logger.js +1 -1
  222. package/dist/utils/version-check.js +1 -1
  223. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x43228c=a2_0x1bec;(function(_0x5ae18d,_0x451856){const _0x2b8da9=a2_0x1bec,_0x20370e=_0x5ae18d();while(!![]){try{const _0x3eba35=-parseInt(_0x2b8da9(0x3dc))/0x1+parseInt(_0x2b8da9(0x129))/0x2+parseInt(_0x2b8da9(0x1f6))/0x3*(-parseInt(_0x2b8da9(0x1c4))/0x4)+parseInt(_0x2b8da9(0x33c))/0x5*(-parseInt(_0x2b8da9(0x2f8))/0x6)+parseInt(_0x2b8da9(0x3fd))/0x7+-parseInt(_0x2b8da9(0x169))/0x8+-parseInt(_0x2b8da9(0x16a))/0x9*(-parseInt(_0x2b8da9(0x1de))/0xa);if(_0x3eba35===_0x451856)break;else _0x20370e['push'](_0x20370e['shift']());}catch(_0x1582bc){_0x20370e['push'](_0x20370e['shift']());}}}(a2_0x2e18,0x638b5));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-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_0x43228c(0x16f)][a2_0x43228c(0x3fc)]('--version')){let versionOutput=a2_0x43228c(0x33b)+currentVersion;buildInfo[a2_0x43228c(0x28a)]&&!currentVersion[a2_0x43228c(0x3fc)](buildInfo[a2_0x43228c(0x28a)])&&(versionOutput+='\x20('+buildInfo[a2_0x43228c(0x28a)]+')'),buildInfo[a2_0x43228c(0x22b)]&&(versionOutput+=a2_0x43228c(0x2c5)+buildInfo[a2_0x43228c(0x22b)]),console[a2_0x43228c(0x238)](versionOutput),process['exit'](0x0);}function a2_0x2e18(){const _0x2a1f24=['-1d','show\x20<name-or-id>','filter','Resume\x20a\x20paused\x20journey','error','--parent-segment\x20<name>','run','Preview\x20without\x20creating\x20the\x20project','New\x20campaign\x20name','Agent\x20description','view\x20<name-or-path>','--name\x20<text>','forEach','agent','--json','\x20(resolved\x20to\x20','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','\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\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','Behaviors\x20as\x20JSON\x20string','includes','5683944fTmzSI','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','pull\x20<project>\x20[target-dir]','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--subject\x20<subject>','--no-eval','--public','--parent-folder\x20<name>','--retry-limit\x20<0~32>','duplicate\x20<name-or-id>','List\x20agents\x20in\x20current\x20project','flags','Update\x20an\x20existing\x20agent','Arguments:','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Validate\x20campaign\x20YAML\x20files\x20locally','Resume\x20a\x20paused\x20always-on\x20campaign','--from\x20<timestamp>','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Pull\x20specific\x20campaign\x20by\x20name','Preview\x20changes\x20without\x20writing\x20files','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Transition\x20a\x20task\x20to\x20a\x20new\x20status','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Invalid\x20--limit\x20value:\x20\x22','--github\x20<owner/repo>','run\x20[workflow]','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','pause_activations\x20<journeyId>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Journey\x20version\x20management','slice','Launch\x20an\x20always-on\x20campaign','auth','table','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','push\x20[path]','list\x20[name]','mcp','flatMap',',\x20version\x20','json','hidden','--timezone\x20<tz>','-u,\x20--use','Submit\x20a\x20job','site','use\x20<project-name>','Open\x20journey\x20in\x20web\x20browser','Skip\x20confirmation\x20prompt','--last','Show\x20journey\x20statistics','[options]\x20--\x20[claude-code-args...]','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--table\x20<table>','schema\x20<type>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--format\x20<format>','jobs','init\x20[name]','Open\x20segment\x20in\x20web\x20browser','entries','Job\x20management\x20commands','--status\x20<status>','Create\x20a\x20new\x20LLM\x20project','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Email\x20sender\x20ID\x20for\x20delivery','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Invalid\x20editor\x20type:\x20','injectIntoOptions','Output\x20file\x20path\x20(default:\x20<name>.yml)','Pull\x20campaigns\x20to\x20YAML\x20files','create\x20<segment_name>','--kind\x20<kind>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','show\x20<folder_ref>','Duplicate\x20a\x20campaign','colorFn','Resume\x20from\x20specific\x20task','Validate\x20journey\x20YAML\x20files\x20locally','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Pull\x20child\x20segments\x20to\x20YAML\x20files','senders\x20[pattern]','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','optionDescription','--limit\x20<number>','-c,\x20--continue','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','chat\x20[message...]','545680uEqWcb','Update\x20an\x20email\x20template','Add\x20attributes\x20from\x20JSON\x20file','LLM\x20project\x20to\x20use\x20(overrides\x20context)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--audience\x20<name>','\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','--model\x20<name>','kill\x20<job-id>','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Update\x20a\x20workspace','[DEPRECATED]\x20Segment\x20folder\x20management','List\x20jobs','logLevel','--type\x20<type>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Maximum\x20rows\x20to\x20display','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','create\x20<name-or-path>','--attribute\x20[name]','Pause\x20an\x20always-on\x20campaign','--llm-project\x20<name>','--output\x20<file>','cas','--start-at\x20<datetime>','after','pause\x20<name-or-id>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','history\x20[chat-id]','Version\x20number\x20to\x20view','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','log\x20<chat-id>','update\x20<agent-name>','Update\x20a\x20scheduled\x20query','Delete\x20a\x20scheduled\x20query','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Read\x20request\x20body\x20from\x20file','View\x20a\x20specific\x20version\x20of\x20a\x20journey','--plaintext\x20<text>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--enriched','Service\x20description','Include\x20retried\x20attempts\x20(for\x20list)','agents\x20[pattern]','--session-id\x20<id>','Preview\x20operation\x20without\x20executing','List\x20composable\x20audiences','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','delete\x20<name-or-id>','-o,\x20--output\x20<file>','--priority\x20<priority>','--audience-id\x20<id>','--template\x20<name>','Email\x20template\x20management','tables\x20[pattern]','--type\x20<api_type>','view\x20[segment_name]','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Data\x20connection\x20management\x20(for\x20activations/exports)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','User\x20management\x20commands','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','4409224WMbuem','8082ueVaHU','download\x20<project-name>\x20[output-dir]','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Retry\x20limit\x20(0\x20to\x2032)','argv','List\x20composable\x20segments\x20for\x20an\x20audience','--result\x20<url>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','argument','Clear\x20workflow\x20project\x20context','alias','Master\x20database\x20name','work','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','users','Show\x20document\x20details','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Check\x20for\x20updates\x20without\x20installing','--tags\x20<tags>','createAsync','Duplicate\x20an\x20always-on\x20campaign','Show\x20segment\x20details\x20(alias\x20for\x20view)','databases\x20[pattern]','delete\x20<service_id>\x20[parent_segment]','--attempt-id\x20<id>','preAction','--method\x20<pm>','--clear','Workflow\x20project\x20management','--yes','--file\x20<path>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','folders\x20<parent_name>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','columns\x20<name-or-path>','Options:','template','show\x20<policy>','split','repeat','--behavior\x20[name]','Updated\x20description','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','show\x20<personalization_id>','retry\x20<session-id>','show\x20[name]','name','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','upgrade','--prompt\x20<text>','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Show\x20agent\x20details','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Scheduled\x20query\x20management\x20commands','length','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Skip\x20confirmation\x20prompts','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Document\x20body\x20text','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--skip-validation','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','-H,\x20--header\x20<header>','--days\x20<n>','Create\x20a\x20scheduled\x20query','-X,\x20--method\x20<method>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','usage','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Starter\x20message','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Delete\x20an\x20LLM\x20project','profile','Composable\x20segment\x20commands','Workspace\x20management','--timeout\x20<seconds>','campaigns\x20[pattern]','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','info\x20[segment_name]','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Create\x20a\x20workspace','RT\x202.0\x20configuration\x20management','70196AcqUSg','Database\x20name','-f,\x20--file\x20<path>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','schedule','Priority\x20(critical,\x20high,\x20medium,\x20low)','validate\x20[file]','move\x20<name>\x20<status>','--email-sender-id\x20<id>','End\x20time\x20filter\x20(ISO\x208601\x20format)','history\x20<name>','Remove\x20a\x20profile','commands','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','delete\x20<name>','Delete\x20an\x20agent','always-on-campaigns\x20[pattern]','submit\x20[query]','finish\x20<name-or-id>','Folder\x20description','--to\x20<timestamp>','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','17560TReUym','Create\x20segment\x20folder','Follow/watch\x20timeline\x20for\x20running\x20attempts','Show\x20campaign\x20details','New\x20segment\x20name','\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','parse','Show\x20job\x20details','--body\x20<body>','Pause\x20activations\x20in\x20an\x20RT\x20journey','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Add\x20behaviors\x20from\x20JSON\x20file','create\x20[name]','attempt:','argumentDescription','version','Add\x20attributes\x20as\x20JSON\x20string','activations\x20<segment_name>','--attributes\x20<json>','INVALID_ARGUMENT','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Delete\x20a\x20realtime\x20personalization','--tsv','99NJOGtH','push\x20[file]','Move\x20to\x20folder','Maximum\x20tool\x20iterations\x20(default:\x204)','command','attempts\x20[project]','-w,\x20--web','subcommandTerm','--add-attributes-file\x20<file>','\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','kill','Push\x20YAML\x20files\x20to\x20CAS\x20API','Authentication\x20management','--json-columns\x20<cols>','test\x20[path]','set','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Enable\x20verbose\x20logging','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Kill\x20a\x20job','CDP\x20segment\x20management\x20commands','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Composable\x20audience\x20name','Create\x20a\x20new\x20document','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','0.7','Show\x20always-on\x20campaign\x20details','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','Set\x20a\x20profile\x20configuration\x20value','--max-depth\x20<depth>','Show\x20timeline\x20for\x20specific\x20attempt','resume\x20<name-or-id>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','argumentTerm','--segment\x20<path>','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','backup\x20<name>','types','Show\x20stats\x20for\x20specific\x20stage','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Open\x20parent\x20segment\x20in\x20web\x20browser','Enable\x20UTM\x20tracking','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','delete\x20<agent-name>','Filtering\x20rule\x20from\x20JSON\x20file','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','-p,\x20--profile\x20<name>','Preview\x20changes\x20without\x20pushing','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','list\x20[project]','buildTime','parent_segment','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','status','journeys\x20[pattern]','Directory\x20does\x20not\x20exist:\x20','Job\x20priority\x20(-2\x20to\x202)','List\x20available\x20connector\x20types','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','New\x20template\x20name','Trino\x20catalog\x20(default:\x20td)','New\x20service\x20name','log','--from\x20<date>','Timezone\x20for\x20cron','Create\x20a\x20new\x20always-on\x20campaign','Pull\x20specific\x20revision\x20(default:\x20latest)','--delete','--reeval','delete\x20<args...>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Update\x20a\x20campaign','Show\x20only\x20master\x20table\x20validation','hook','validate\x20[name]','Workflow\x20session\x20management','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','-f,\x20--force','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Show\x20the\x20most\x20recent\x20chat','Workflow\x20attempt\x20management','--interval\x20<range>','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Read\x20SQL\x20query\x20from\x20file','set\x20<args...>','--description\x20<text>','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Change\x20to\x20directory\x20before\x20executing\x20command','optionTerm','push\x20[source-dir]','...','Output\x20file\x20path','Campaign\x20management','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','upgrade\x20[version]','TRACE','chdir','pull\x20[project]\x20[agent-name]','DEBUG','-o,\x20--output\x20<dir>','preview\x20<segment_name>','Personalization\x20description','Show\x20journey\x20details','--jsonl','Revision\x20name\x20(default:\x20timestamp)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','[attempt-id]','launch\x20<name-or-id>','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--to\x20<date>','attempt','--default','--add-attributes\x20<json>','Include\x20all\x20items\x20(no\x20stale\x20filtering)','configureHelp','Usage:\x20','Attempt\x20ID','create\x20<name>','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','List\x20email\x20senders','variadic','preview\x20[name]','describe','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','push','validate\x20[target]','sql\x20[name]','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','LLM\x20agent\x20management','Show\x20items\x20updated\x20within\x20N\x20days','folder','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','catch','Override\x20project\x20name','addHelpText','Include\x20execution\x20statistics','database','isTTY','links\x20<name>','connections','us01','Database\x20name\x20(required)','gitRevision','show\x20<job-id>','Delay\x20in\x20seconds\x20before\x20execution','allowExcessArguments','Request\x20body\x20as\x20JSON\x20string','retry','setup','Personalization\x20management','Pause\x20a\x20campaign','--in\x20<database>','show\x20[segment_name]','--no-proxy','--delay\x20<seconds>','--behaviors\x20<json>','Timezone\x20(e.g.,\x20America/Los_Angeles)','--name\x20<name>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','create','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--color','--add-behaviors-file\x20<file>','Output\x20as\x20JSON\x20Lines','-C,\x20--directory\x20<path>','--limit\x20<rows>','--params\x20<json>','delete\x20<token_id>\x20[parent_segment]','Create\x20an\x20email\x20template','push\x20[parent_or_file]','stdout','Show\x20all\x20files\x20including\x20valid\x20ones','tsv','Output\x20as\x20JSON','_hidden','Update\x20a\x20realtime\x20personalization\x20entity','--starter-message\x20<text>','Result\x20output\x20destination\x20URL','List\x20all\x20available\x20profiles','Template\x20name','list\x20[pattern]','Name\x20for\x20the\x20new\x20project\x20(required)','--sections\x20<json>','push\x20[name]','Create\x20a\x20new\x20campaign','Customer\x20group\x20from\x20JSON\x20file','trino','Run\x20tests\x20for\x20an\x20LLM\x20agent','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','--schedule-option\x20<value>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Query\x20type:\x20trino\x20or\x20hive','--revision\x20<revision>','list','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Describe\x20table\x20schema','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','--from\x20<n>','use\x20[resource]\x20[value]','\x20-\x20built\x20','Show\x20a\x20specific\x20realtime\x20personalization','--param\x20<key=value>','Attributes\x20from\x20JSON\x20file','Apply\x20a\x20template','registeredArguments','--new','Workflow\x20(Digdag)\x20management\x20commands','desc\x20[name]','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','--all','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--full','journey','desc','models','--result\x20<target>','-d,\x20--database\x20<database>','templates\x20[pattern]','Table\x20management\x20commands','_list-commands','Show\x20journey\x20table\x20column-to-step\x20mapping','--master','--description\x20<desc>','Maximum\x20recursion\x20depth\x20(default:\x2010)','--include-stats','-r,\x20--resume','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','-y,\x20--yes','Comma-separated\x20tags','\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','Database\x20to\x20query\x20(default:\x20information_schema)','accessToken','-v,\x20--verbose','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Show\x20authentication\x20status\x20and\x20current\x20context','Show\x20segment\x20schema\x20(column\x20types)','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Pause\x20a\x20running\x20journey','view\x20[name]','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Set\x20operation\x20timeout\x20in\x20seconds','configuration_versions\x20[name]','Include\x20subtasks\x20in\x20tasks\x20output','engage_workspace','Plaintext\x20template\x20content','Agent\x20prompt/instructions','18054IAIHvI','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','show\x20<agent-name>','HTML\x20template\x20content','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','New\x20service\x20description','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Campaign\x20type\x20(email\x20or\x20push)','workflow','--stream','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','--trace','Get\x20current\x20RT\x20configuration\x20version\x20status','Customer\x20group\x20as\x20JSON\x20string','map','information_schema','Pull\x20workflow\x20project\x20to\x20local\x20folder','INFO','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Initialize\x20a\x20new\x20workspace','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','statusline','Update\x20an\x20always-on\x20campaign','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','stderr','description','Personalization\x20service\x20token\x20management','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','use\x20<path>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','api\x20[endpoint]','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Read\x20HTML\x20template\x20from\x20file','Parent\x20segment\x20description','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','desc\x20[segment_name]','item','Output\x20folder\x20(default:\x20{project_name}.llm)','Assignee','restore\x20<folder>','--html-file\x20<path>','Workspace\x20name','push\x20[target]','Master\x20table\x20name','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','--temperature\x20<n>','--site\x20<site>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Launch\x20a\x20campaign','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Create\x20a\x20new\x20profile','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','commandDescription','GET','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','find','login','-r,\x20--recursive','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Limit\x20number\x20of\x20rows','--dir\x20<dir>','Push\x20without\x20confirmation','opts','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','tdx\x20','1105MYyvya','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','segment','create\x20<parent_name>\x20<folder_name>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','project','action','List\x20activations\x20for\x20a\x20journey','Updated\x20schedule\x20option','--force','option','Email\x20subject\x20template','CDP\x20Journey\x20Orchestration\x20commands','-d,\x20--database\x20<db>','Run\x20a\x20scheduled\x20query\x20immediately','requiredOption','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Pull\x20templates\x20to\x20YAML\x20files','--allowed-ips\x20<ips>','--follow','settings\x20<type>','Force\x20retry\x20even\x20if\x20not\x20failed','user','--dry-run','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--folder\x20<name>','isDirectory','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','resume\x20<name-or-path>','trace','Cron\x20expression\x20for\x20scheduling','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','session','--max-tool-iterations\x20<n>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--html\x20<html>','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','subcommandDescription','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Overwrite\x20local\x20changes\x20without\x20confirmation','show\x20[table]','parent','--cron\x20<expression>','directory','run\x20[name]','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','--enable-utm-tracking','--name\x20<new-name>','--include-subtasks','update\x20<name>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Filtering\x20rule\x20as\x20JSON\x20string','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--folder-id\x20<id>','--catalog\x20<catalog>','engage','Resume\x20a\x20paused\x20campaign','--rule\x20<json>','--kind\x20<type>','Read\x20query\x20from\x20file','--to\x20<n>','versions\x20<name-or-path>','update\x20<name-or-id>','Workflow\x20parameter\x20(repeatable)','resume_activations\x20<journeyId>','--customer-group\x20<json>','Make\x20segment\x20invisible\x20(default:\x20visible)','--table','token','Delete\x20a\x20campaign','Output\x20directory','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--in\x20<db>','--rule-file\x20<file>','Show\x20Kanban\x20board\x20view\x20of\x20tasks','update\x20<service_id>\x20[parent_segment]','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','Generate\x20test\x20conversations\x20without\x20evaluation','--job-type\x20<type>','pull\x20[workspace-name]','Run\x20specific\x20tests\x20(comma-separated)','Interactive\x20chat\x20selector','Start\x20time\x20filter\x20(ISO\x208601\x20format)','list\x20[audience_name]','List\x20all\x20data\x20connections','--path\x20<file-path>','\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','parents\x20[pattern]','Campaign\x20description','--limit\x20<n>','segments\x20[path]','--priority\x20<-2~2>','apiKey','outputHelp','List\x20available\x20LLM\x20models','Segment\x20description','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Show\x20master\x20table\x20sample\x20data','format','remove\x20<name>','result\x20<job-id>','Delete\x20an\x20email\x20template','tdx','Maximum\x20number\x20of\x20nodes','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','System\x20prompt/instructions\x20(default:\x20empty)','campaign','--behaviors-file\x20<file>','--engine-version\x20<version>','--schedule-type\x20<type>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','List\x20all\x20users\x20in\x20the\x20account','--chat-id\x20<id>','--name\x20<new_name>','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','show\x20<name>','--include-retried','\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','--session\x20<id>','sql\x20[segment_name]','padWidth','--time\x20<iso8601>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--verbose','--data\x20<data>','pull\x20[name]','Workspace\x20name\x20(required)','help','preview\x20[file]','list\x20[path]','query\x20[sql]','Attributes\x20as\x20JSON\x20string','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Updated\x20timezone','Action:\x20logs,\x20tasks,\x20kill,\x20retry','projects\x20[pattern]','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','show\x20<service_id>\x20[parent_segment]','--workspace\x20<name>','get','-n,\x20--name\x20<name>','Skip\x20validation\x20of\x20.dig\x20files','Include\x20retried\x20attempts','Start\x20a\x20new\x20chat\x20session','summary','Target\x20directory\x20for\x20YAML\x20files','chats','Sections\x20as\x20an\x20inline\x20JSON\x20array','Clear\x20session\x20context','-a,\x20--agent\x20<name>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','458728pubITe','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','claude\x20[args...]','open\x20<name>','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','join','jsonl','--assignee\x20<assignee>','upload\x20[project-name-or-dir]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Starting\x20offset\x20(default:\x200)'];a2_0x2e18=function(){return _0x2a1f24;};return a2_0x2e18();}const program=new Command();export function mergeCommandOptions(_0x3f6a81,_0x2af9bf){const _0x1f0fdb=a2_0x43228c,_0x166f1a={..._0x3f6a81};for(const [_0x1e049b,_0x394a47]of Object[_0x1f0fdb(0x43f)](_0x2af9bf)){_0x394a47!==undefined&&(_0x166f1a[_0x1e049b]=_0x394a47);}return _0x166f1a;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x43228c(0x28a)]&&!currentVersion[a2_0x43228c(0x3fc)](buildInfo[a2_0x43228c(0x28a)])?description+=a2_0x43228c(0x428)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x43228c(0x428)+currentVersion;program['name'](a2_0x43228c(0x3aa))[a2_0x43228c(0x311)](description),program['option'](a2_0x43228c(0x2a0),a2_0x43228c(0x251))['option'](a2_0x43228c(0x227),a2_0x43228c(0x358))[a2_0x43228c(0x346)](a2_0x43228c(0x328),'TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x43228c(0x288))[a2_0x43228c(0x346)](a2_0x43228c(0x43b),a2_0x43228c(0x2fe))[a2_0x43228c(0x346)](a2_0x43228c(0x386),a2_0x43228c(0x24c))[a2_0x43228c(0x346)](a2_0x43228c(0x3f6),a2_0x43228c(0x166))[a2_0x43228c(0x346)](a2_0x43228c(0x261),a2_0x43228c(0x32b))[a2_0x43228c(0x346)](a2_0x43228c(0x1f5),a2_0x43228c(0x2e8))[a2_0x43228c(0x346)](a2_0x43228c(0x140),'Save\x20output\x20to\x20file')[a2_0x43228c(0x346)](a2_0x43228c(0x457),a2_0x43228c(0x2bb))[a2_0x43228c(0x346)](a2_0x43228c(0x29d),a2_0x43228c(0x27f),![])[a2_0x43228c(0x346)]('--no-color',a2_0x43228c(0x316),![])['option'](a2_0x43228c(0x2e6),a2_0x43228c(0x208),![])[a2_0x43228c(0x346)]('--debug','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x43228c(0x346)](a2_0x43228c(0x303),a2_0x43228c(0x133))[a2_0x43228c(0x346)](a2_0x43228c(0x1bc),a2_0x43228c(0x2f2),'30')[a2_0x43228c(0x346)]('--dry-run',a2_0x43228c(0x158),![])[a2_0x43228c(0x346)]('-y,\x20--yes',a2_0x43228c(0x1a6),![])[a2_0x43228c(0x346)](a2_0x43228c(0x3ba),a2_0x43228c(0x3a4))['option'](a2_0x43228c(0x3ed),a2_0x43228c(0x3cc))[a2_0x43228c(0x346)](a2_0x43228c(0x13f),a2_0x43228c(0x12c)),program[a2_0x43228c(0x26d)]({'formatHelp':(_0x57ad0a,_0x26ea67)=>{const _0x34f0b1=a2_0x43228c,_0x472760=_0x26ea67[_0x34f0b1(0x3bc)](_0x57ad0a,_0x26ea67),_0x30719b=0x2,_0x1d8c17=0x2;function _0x317dc1(_0x478f3e){const _0x22c6ae=_0x34f0b1,_0x50c0c8=_0x478f3e;return!!(_0x50c0c8[_0x22c6ae(0x2aa)]||_0x50c0c8[_0x22c6ae(0x42a)]);}function _0x4f5c82(_0x2bfceb,_0x2b822d){if(_0x2b822d){const _0x53b04d=''+_0x2bfceb['padEnd'](_0x472760+_0x1d8c17)+_0x2b822d;return _0x53b04d;}return _0x2bfceb;}function _0x2146e6(_0x5c65cf){const _0x26a614=_0x34f0b1;return _0x5c65cf[_0x26a614(0x3e2)]('\x0a')['replace'](/^/gm,'\x20'[_0x26a614(0x193)](_0x30719b));}const _0xd63ecd=[];_0xd63ecd[_0x34f0b1(0x278)](_0x34f0b1(0x26e)+_0x26ea67['commandUsage'](_0x57ad0a));const _0x4e3ea0=_0x26ea67[_0x34f0b1(0x32e)](_0x57ad0a);_0x4e3ea0&&(_0xd63ecd[_0x34f0b1(0x278)](''),_0xd63ecd[_0x34f0b1(0x278)](_0x4e3ea0));const _0x12d5c3=_0x57ad0a[_0x34f0b1(0x1d0)][_0x34f0b1(0x3ea)](_0x2311ec=>!_0x317dc1(_0x2311ec));if(_0x12d5c3[_0x34f0b1(0x1a4)]>0x0){if(_0x57ad0a[_0x34f0b1(0x19a)]()===_0x34f0b1(0x3aa)){const _0x1708df=_0x57ad0a[_0x34f0b1(0x339)](),_0xcfa088=!_0x1708df['noColor']&&process[_0x34f0b1(0x2a6)][_0x34f0b1(0x285)],_0x3263f9=COMMAND_CATEGORIES,_0x37b537=(_0xfb429a,_0x43498b)=>_0xcfa088?_0x43498b(_0xfb429a):_0xfb429a,_0x4b8575=new Map();_0x12d5c3[_0x34f0b1(0x3f4)](_0x5de01e=>{const _0x285a62=_0x34f0b1;_0x4b8575[_0x285a62(0x205)](_0x5de01e[_0x285a62(0x19a)](),_0x5de01e);}),_0x3263f9[_0x34f0b1(0x3f4)](_0x251399=>{const _0x4a2251=_0x34f0b1,_0x2c6816=_0x251399[_0x4a2251(0x1d0)][_0x4a2251(0x427)](_0x22c45e=>_0x4b8575[_0x4a2251(0x3d0)](_0x22c45e)??[]);if(_0x2c6816[_0x4a2251(0x1a4)]>0x0){_0xd63ecd['push'](''),_0xd63ecd['push'](_0x37b537(_0x251399[_0x4a2251(0x19a)]+':',_0x251399[_0x4a2251(0x44f)]));const _0x136e86=_0x2c6816['map'](_0x120ff9=>{const _0x261858=_0x4a2251,_0x2f5710=_0x26ea67[_0x261858(0x1fd)](_0x120ff9),_0x3669c7=_0x26ea67[_0x261858(0x365)](_0x120ff9);return _0x4f5c82(_0x2f5710,_0x3669c7);});_0xd63ecd[_0x4a2251(0x278)](_0x2146e6(_0x136e86));}}),_0xd63ecd['push'](''),_0xd63ecd[_0x34f0b1(0x278)](_0x34f0b1(0x246));}else{const _0x1137a1=_0x12d5c3[_0x34f0b1(0x306)](_0xe2e09=>{const _0x5b9dc0=_0x34f0b1,_0x4265a6=_0x26ea67[_0x5b9dc0(0x1fd)](_0xe2e09),_0x4ba4fe=_0x26ea67[_0x5b9dc0(0x365)](_0xe2e09);return _0x4f5c82(_0x4265a6,_0x4ba4fe);});_0xd63ecd[_0x34f0b1(0x278)](''),_0xd63ecd[_0x34f0b1(0x278)]('Commands:'),_0xd63ecd[_0x34f0b1(0x278)](_0x2146e6(_0x1137a1));}}if(showBriefHelp&&_0x57ad0a[_0x34f0b1(0x19a)]()===_0x34f0b1(0x3aa))_0xd63ecd[_0x34f0b1(0x278)](''),_0xd63ecd['push'](_0x34f0b1(0x2c2));else{const _0xc5eaab=_0x57ad0a['options'][_0x34f0b1(0x3ea)](_0x1d81ea=>!_0x317dc1(_0x1d81ea));if(_0xc5eaab[_0x34f0b1(0x1a4)]>0x0){const _0x160db7=_0xc5eaab['map'](_0x1ae60a=>{const _0x6ce11a=_0x34f0b1,_0x3f7a57=_0x26ea67[_0x6ce11a(0x252)](_0x1ae60a),_0x2cc8fc=_0x26ea67[_0x6ce11a(0x456)](_0x1ae60a);return _0x4f5c82(_0x3f7a57,_0x2cc8fc);});_0xd63ecd[_0x34f0b1(0x278)](''),_0xd63ecd[_0x34f0b1(0x278)](_0x34f0b1(0x18f)),_0xd63ecd['push'](_0x2146e6(_0x160db7));}}const _0x5ead44=(_0x57ad0a[_0x34f0b1(0x2ca)]||[])['filter'](_0x217630=>!_0x317dc1(_0x217630));if(_0x5ead44[_0x34f0b1(0x1a4)]>0x0){const _0x468ab5=_0x5ead44['map'](_0x4362cd=>{const _0x413a54=_0x34f0b1,_0x408fe5=_0x26ea67[_0x413a54(0x21a)](_0x4362cd),_0x1f641b=_0x26ea67[_0x413a54(0x1ec)](_0x4362cd);return _0x4f5c82(_0x408fe5,_0x1f641b);});_0xd63ecd[_0x34f0b1(0x278)](''),_0xd63ecd[_0x34f0b1(0x278)](_0x34f0b1(0x40c)),_0xd63ecd['push'](_0x2146e6(_0x468ab5));}return _0xd63ecd[_0x34f0b1(0x3e2)]('\x0a')+'\x0a';},'subcommandTerm':_0x55b61e=>{const _0x48599b=a2_0x43228c,_0x2c49bb=(_0x55b61e[_0x48599b(0x2ca)]||[])[_0x48599b(0x306)](_0x40384d=>_0x40384d['required']?'<'+_0x40384d[_0x48599b(0x19a)]()+'>':'['+_0x40384d[_0x48599b(0x19a)]()+']')[_0x48599b(0x3e2)]('\x20'),_0x52eecb=_0x55b61e['aliases'](),_0x2708e3=_0x52eecb[_0x48599b(0x1a4)]>0x0?_0x55b61e[_0x48599b(0x19a)]()+',\x20'+_0x52eecb[_0x48599b(0x3e2)](',\x20'):_0x55b61e['name']();return _0x2c49bb?_0x2708e3+'\x20'+_0x2c49bb:_0x2708e3;}}),program[a2_0x43228c(0x243)](a2_0x43228c(0x184),_0x1e340a=>{const _0x37a01a=a2_0x43228c,_0x22a9ae=_0x1e340a[_0x37a01a(0x339)]();if(_0x22a9ae[_0x37a01a(0x36b)]){const _0x53c84f=resolve(_0x22a9ae[_0x37a01a(0x36b)]),_0x19ac34=_0x53c84f!==_0x22a9ae['directory']?_0x37a01a(0x3f7)+_0x53c84f+')':'';if(!existsSync(_0x53c84f))throw new SDKError(ErrorCode[_0x37a01a(0x1f1)],_0x37a01a(0x231)+_0x22a9ae[_0x37a01a(0x36b)]+_0x19ac34,undefined,{'helpText':_0x37a01a(0x2bf)});const _0x5b3b1a=statSync(_0x53c84f);if(!_0x5b3b1a[_0x37a01a(0x357)]())throw new SDKError(ErrorCode[_0x37a01a(0x1f1)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x22a9ae[_0x37a01a(0x36b)]+_0x19ac34,undefined,{'helpText':_0x37a01a(0x1a0)});process[_0x37a01a(0x25a)](_0x53c84f);}if(!_0x22a9ae[_0x37a01a(0x3a6)]){if(_0x22a9ae[_0x37a01a(0x422)])_0x22a9ae[_0x37a01a(0x3a6)]=_0x37a01a(0x422);else{if(_0x22a9ae[_0x37a01a(0x429)])_0x22a9ae[_0x37a01a(0x3a6)]=_0x37a01a(0x429);else{if(_0x22a9ae[_0x37a01a(0x3e3)])_0x22a9ae[_0x37a01a(0x3a6)]=_0x37a01a(0x3e3);else _0x22a9ae[_0x37a01a(0x2a8)]&&(_0x22a9ae[_0x37a01a(0x3a6)]=_0x37a01a(0x2a8));}}}if(_0x22a9ae[_0x37a01a(0x35a)])_0x22a9ae[_0x37a01a(0x137)]=LogLevel[_0x37a01a(0x259)];else{if(_0x22a9ae['debug'])_0x22a9ae[_0x37a01a(0x137)]=LogLevel[_0x37a01a(0x25c)];else _0x22a9ae['logLevel']===undefined&&(_0x22a9ae[_0x37a01a(0x137)]=LogLevel[_0x37a01a(0x309)]);}});async function createTDXInstance(_0x40d6d4){const _0xb18d19=a2_0x43228c,_0x5aaa45=await GlobalContext[_0xb18d19(0x17e)](_0x40d6d4);_0x5aaa45[_0xb18d19(0x447)](_0x40d6d4);const _0x4f8478=Number(_0x40d6d4['timeout']),_0x3d12cc=!isNaN(_0x4f8478)&&_0x4f8478>0x0?_0x4f8478*0x3e8:undefined;return TDX[_0xb18d19(0x29b)]({'site':_0x5aaa45[_0xb18d19(0x42e)],'apiKey':_0x5aaa45[_0xb18d19(0x3a0)],'accessToken':_0x5aaa45[_0xb18d19(0x2e5)],'logLevel':_0x5aaa45['logLevel'],'profile':_0x5aaa45[_0xb18d19(0x1b9)],'timeout':_0x3d12cc});}const databaseCmd=program['command']('database')[a2_0x43228c(0x175)]('db')[a2_0x43228c(0x311)]('Database\x20management\x20commands'),databaseListAction=async(_0x1ce888,_0x151e04)=>{const _0x3356e1=a2_0x43228c,_0x350bad=new DatabasesCommand(),_0x2566c3=program[_0x3356e1(0x339)](),_0x3417b3=await createTDXInstance(_0x2566c3),_0x52327e=await _0x350bad[_0x3356e1(0x3ee)]({'options':{..._0x2566c3,..._0x151e04},'args':_0x1ce888?[_0x1ce888]:[],'tdx':_0x3417b3});gracefulExit(_0x52327e);};databaseCmd['command']('list\x20[pattern]')[a2_0x43228c(0x311)](a2_0x43228c(0x38a))[a2_0x43228c(0x342)](databaseListAction),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x181),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x3db))[a2_0x43228c(0x342)](databaseListAction),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x128))['description'](a2_0x43228c(0x43a))[a2_0x43228c(0x346)]('--agent\x20<ref>',a2_0x43228c(0x401))[a2_0x43228c(0x346)](a2_0x43228c(0x2cb),a2_0x43228c(0x3d4))[a2_0x43228c(0x346)](a2_0x43228c(0x3b4),a2_0x43228c(0x277))[a2_0x43228c(0x346)](a2_0x43228c(0x301),a2_0x43228c(0x18a))[a2_0x43228c(0x342)](async(_0x172425,_0x45534f)=>{const _0x137be7=a2_0x43228c,_0x425472=program[_0x137be7(0x339)](),_0x5811bd=await createTDXInstance(_0x425472);if(_0x172425[0x0]===_0x137be7(0x29b)){const _0x3af4c6=new ChatCreateCommand();gracefulExit(await _0x3af4c6[_0x137be7(0x3ee)]({'options':{..._0x425472,..._0x45534f},'args':_0x172425[_0x137be7(0x41f)](0x1),'tdx':_0x5811bd}));return;}const _0xc5f316=new ChatCommand(),_0x3a5bec=await _0xc5f316[_0x137be7(0x3ee)]({'options':{..._0x425472,..._0x45534f},'args':_0x172425,'tdx':_0x5811bd});gracefulExit(_0x3a5bec);});const apiCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x317))[a2_0x43228c(0x3d5)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x43228c(0x282)](a2_0x43228c(0x143),a2_0x43228c(0x1ff))[a2_0x43228c(0x346)](a2_0x43228c(0x1af),a2_0x43228c(0x1b2),a2_0x43228c(0x32f))[a2_0x43228c(0x346)](a2_0x43228c(0x3c0),a2_0x43228c(0x28e))[a2_0x43228c(0x346)](a2_0x43228c(0x1c6),a2_0x43228c(0x14e))[a2_0x43228c(0x346)](a2_0x43228c(0x1ac),a2_0x43228c(0x250),(_0x5be5f2,_0x4768a5)=>{return _0x4768a5?[..._0x4768a5,_0x5be5f2]:[_0x5be5f2];})[a2_0x43228c(0x346)](a2_0x43228c(0x162),a2_0x43228c(0x41b),'td')[a2_0x43228c(0x342)](async(_0x551bfc,_0x53f05e)=>{const _0x2aec04=a2_0x43228c;if(!_0x551bfc){apiCmd[_0x2aec04(0x3c3)]();return;}const _0x2d8bc3=new ApiCommand(),_0x18a2e9=program[_0x2aec04(0x339)](),_0x5e720a=await createTDXInstance(_0x18a2e9),_0x79b980=await _0x2d8bc3[_0x2aec04(0x3ee)]({'options':{..._0x18a2e9,..._0x53f05e},'args':[_0x551bfc],'tdx':_0x5e720a});gracefulExit(_0x79b980);});program[a2_0x43228c(0x1fa)](a2_0x43228c(0x426))[a2_0x43228c(0x311)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x43228c(0x282)]('after',a2_0x43228c(0x2e3))[a2_0x43228c(0x342)](async _0x35f0af=>{const _0x4d0ff4=a2_0x43228c,_0x5c592b=new MCPCommand(),_0x4c69c6=program[_0x4d0ff4(0x339)](),_0x517eab=await createTDXInstance(_0x4c69c6),_0x1ee157=await _0x5c592b[_0x4d0ff4(0x3ee)]({'options':{..._0x4c69c6,..._0x35f0af},'args':[],'tdx':_0x517eab});gracefulExit(_0x1ee157);});const tableCmd=program['command'](a2_0x43228c(0x422))[a2_0x43228c(0x311)](a2_0x43228c(0x2d8)),tableListAction=async(_0x6138ae,_0x3780b6)=>{const _0x3cca5c=a2_0x43228c,_0x3d252c=new TablesCommand(),_0x435d66=program[_0x3cca5c(0x339)](),_0x486737=await createTDXInstance(_0x435d66);_0x3780b6['in']&&(_0x3780b6[_0x3cca5c(0x284)]=_0x3780b6['in']);const _0x33121a=await _0x3d252c[_0x3cca5c(0x3ee)]({'options':{..._0x435d66,..._0x3780b6},'args':_0x6138ae?[_0x6138ae]:[],'tdx':_0x486737});gracefulExit(_0x33121a);};tableCmd['command'](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)](a2_0x43228c(0x366))[a2_0x43228c(0x346)](a2_0x43228c(0x2d6),a2_0x43228c(0x44c))[a2_0x43228c(0x346)](a2_0x43228c(0x293),a2_0x43228c(0x20c))[a2_0x43228c(0x342)](tableListAction),program['command'](a2_0x43228c(0x161),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x257))[a2_0x43228c(0x346)](a2_0x43228c(0x2d6),a2_0x43228c(0x44c))[a2_0x43228c(0x346)](a2_0x43228c(0x293),a2_0x43228c(0x20c))['action'](tableListAction),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x368))[a2_0x43228c(0x311)](a2_0x43228c(0x206))[a2_0x43228c(0x346)](a2_0x43228c(0x2d6),a2_0x43228c(0x29a))['option'](a2_0x43228c(0x293),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x43228c(0x342)](async(_0x5afcc0,_0x4a0e2)=>{const _0xac1cd5=a2_0x43228c,_0x470da9=new ShowCommand(),_0x43ab17=program[_0xac1cd5(0x339)](),_0x19403f=await createTDXInstance(_0x43ab17);_0x4a0e2['in']&&(_0x4a0e2['database']=_0x4a0e2['in']);const _0x401f4a=await _0x470da9[_0xac1cd5(0x3ee)]({'options':{..._0x43ab17,..._0x4a0e2},'args':_0x5afcc0?[_0x5afcc0]:[],'tdx':_0x19403f});gracefulExit(_0x401f4a);}),program[a2_0x43228c(0x1fa)]('describe\x20[table]')[a2_0x43228c(0x175)](a2_0x43228c(0x2d3))[a2_0x43228c(0x311)](a2_0x43228c(0x2c0))[a2_0x43228c(0x346)](a2_0x43228c(0x2d6),a2_0x43228c(0x29a))[a2_0x43228c(0x346)](a2_0x43228c(0x293),a2_0x43228c(0x20c))[a2_0x43228c(0x342)](async(_0x39b699,_0x423b11)=>{const _0x467648=a2_0x43228c,_0x531b47=new DescribeCommand(),_0x29795b=program[_0x467648(0x339)](),_0x4f8301=await createTDXInstance(_0x29795b);_0x423b11['in']&&(_0x423b11[_0x467648(0x284)]=_0x423b11['in']);const _0x27ff02=await _0x531b47[_0x467648(0x3ee)]({'options':{..._0x29795b,..._0x423b11},'args':_0x39b699?[_0x39b699]:[],'tdx':_0x4f8301});gracefulExit(_0x27ff02);}),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x3c6))[a2_0x43228c(0x311)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')['option'](a2_0x43228c(0x2d6),a2_0x43228c(0x2e4))[a2_0x43228c(0x346)](a2_0x43228c(0x293),a2_0x43228c(0x20c))['option'](a2_0x43228c(0x379),a2_0x43228c(0x236))[a2_0x43228c(0x346)]('-f,\x20--file\x20<path>',a2_0x43228c(0x24d))['option'](a2_0x43228c(0x2a1),a2_0x43228c(0x13a))[a2_0x43228c(0x342)](async(_0x43b788,_0x2d4bdf)=>{const _0x237bda=a2_0x43228c,_0x23cad6=new QueryCommand(),_0x329a28=program[_0x237bda(0x339)](),_0x13fee7=await createTDXInstance(_0x329a28);_0x2d4bdf['in']&&(_0x2d4bdf[_0x237bda(0x284)]=_0x2d4bdf['in']);const _0x1357ba=await _0x23cad6[_0x237bda(0x3ee)]({'options':mergeCommandOptions(_0x329a28,_0x2d4bdf),'args':_0x43b788?[_0x43b788]:[],'tdx':_0x13fee7});gracefulExit(_0x1357ba);});const segmentCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x33e))[a2_0x43228c(0x175)]('sg')[a2_0x43228c(0x311)](a2_0x43228c(0x20b)),segmentListAction=async(_0x42244e,_0x6c2830)=>{const _0x401a9b=a2_0x43228c,_0x203427=new SegmentsCommand(),_0x191aa8=program[_0x401a9b(0x339)](),_0x193c67=await createTDXInstance(_0x191aa8),_0x44642b=await _0x203427['run']({'options':{..._0x191aa8,..._0x6c2830},'args':_0x42244e?[_0x42244e]:[],'tdx':_0x193c67});gracefulExit(_0x44642b);};segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3c5))['description'](a2_0x43228c(0x3f8))[a2_0x43228c(0x346)](a2_0x43228c(0x333),a2_0x43228c(0x1c1))[a2_0x43228c(0x346)](a2_0x43228c(0x216),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x43228c(0x342)](segmentListAction),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x39e),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x2f9))['option'](a2_0x43228c(0x333),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x43228c(0x346)](a2_0x43228c(0x216),a2_0x43228c(0x2dd),'10')[a2_0x43228c(0x342)](segmentListAction),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x314),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x21c))[a2_0x43228c(0x342)](async(_0x5d1057,_0x46265c)=>{const _0x3ad1a3=a2_0x43228c,_0x32dc71=new SegmentUseCommand(),_0xf6310f=program['opts'](),_0x554893=await createTDXInstance(_0xf6310f),_0x2e5c1f=await _0x32dc71[_0x3ad1a3(0x3ee)]({'options':{..._0xf6310f,..._0x46265c},'args':[_0x5d1057],'tdx':_0x554893});gracefulExit(_0x2e5c1f);});const segmentViewAction=async(_0x31a9c7,_0x172294)=>{const _0x38d985=a2_0x43228c,_0x479c39=new SegmentViewCommand(),_0xaf23e8=program[_0x38d985(0x339)](),_0x2dcd10=await createTDXInstance(_0xaf23e8),_0x5c4b78=await _0x479c39[_0x38d985(0x3ee)]({'options':{..._0xaf23e8,..._0x172294},'args':_0x31a9c7?[_0x31a9c7]:[],'tdx':_0x2dcd10});gracefulExit(_0x5c4b78);};segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x163))[a2_0x43228c(0x311)](a2_0x43228c(0x22d))[a2_0x43228c(0x346)](a2_0x43228c(0x1fc),a2_0x43228c(0x43e))[a2_0x43228c(0x342)](segmentViewAction),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1bf),{'hidden':!![]})[a2_0x43228c(0x175)](a2_0x43228c(0x275))[a2_0x43228c(0x346)](a2_0x43228c(0x1fc),'Open\x20segment\x20in\x20web\x20browser')[a2_0x43228c(0x311)](a2_0x43228c(0x180))[a2_0x43228c(0x342)](segmentViewAction),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x31d))[a2_0x43228c(0x311)](a2_0x43228c(0x2eb))[a2_0x43228c(0x342)](async(_0x33881a,_0x59753c)=>{const _0x5ee4dd=a2_0x43228c,_0x56d5db=new SegmentDescCommand(),_0xa787d2=program[_0x5ee4dd(0x339)](),_0x246521=await createTDXInstance(_0xa787d2),_0x38469e=await _0x56d5db['run']({'options':{..._0xa787d2,..._0x59753c},'args':_0x33881a?[_0x33881a]:[],'tdx':_0x246521});gracefulExit(_0x38469e);}),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x294))['description'](a2_0x43228c(0x223))[a2_0x43228c(0x342)](async(_0x572cf4,_0x487b59)=>{const _0x1dc76a=a2_0x43228c,_0x42f86c=new SegmentShowCommand(),_0x17205d=program[_0x1dc76a(0x339)](),_0xd3e35a=await createTDXInstance(_0x17205d),_0x29a8b8=await _0x42f86c[_0x1dc76a(0x3ee)]({'options':{..._0x17205d,..._0x487b59},'args':_0x572cf4?[_0x572cf4]:[],'tdx':_0xd3e35a});gracefulExit(_0x29a8b8);}),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x18c),{'hidden':!![]})['description'](a2_0x43228c(0x1da))[a2_0x43228c(0x342)](async(_0x9bbe62,_0x25b696)=>{const _0x3f0318=a2_0x43228c,_0x4584ef=new SegmentFolderListCommand(),_0x496dd6=program[_0x3f0318(0x339)](),_0x33e9ca=await createTDXInstance(_0x496dd6),_0x3c75fb=await _0x4584ef['run']({'options':{..._0x496dd6,..._0x25b696},'args':[_0x9bbe62],'tdx':_0x33e9ca});gracefulExit(_0x3c75fb);});const folderCmd=segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x27e),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x135));folderCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x44d))['description'](a2_0x43228c(0x276))['action'](async(_0xab8e75,_0x1039ce)=>{const _0x3ef761=a2_0x43228c,_0x3d37e4=new SegmentFolderShowCommand(),_0x124a83=program[_0x3ef761(0x339)](),_0x5aa104=await createTDXInstance(_0x124a83),_0x15e32f=await _0x3d37e4['run']({'options':{..._0x124a83,..._0x1039ce},'args':[_0xab8e75],'tdx':_0x5aa104});gracefulExit(_0x15e32f);}),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3bb))[a2_0x43228c(0x311)](a2_0x43228c(0x168))[a2_0x43228c(0x346)](a2_0x43228c(0x399),'YAML\x20file\x20path\x20for\x20unpushed\x20segment')[a2_0x43228c(0x342)](async(_0x987d98,_0x12d6d8)=>{const _0x1abcb0=a2_0x43228c,_0x32b29e=new SegmentSQLCommand(),_0x2de24f=program[_0x1abcb0(0x339)](),_0x10f59b=await createTDXInstance(_0x2de24f),_0x2c95b=await _0x32b29e['run']({'options':{..._0x2de24f,..._0x12d6d8},'args':_0x987d98?[_0x987d98]:[],'tdx':_0x10f59b});gracefulExit(_0x2c95b);}),segmentCmd['command']('fields\x20[parent_name]')['description'](a2_0x43228c(0x40d))[a2_0x43228c(0x342)](async(_0x5b5cd8,_0x2e22d4)=>{const _0xce2b54=a2_0x43228c,_0x2a191b=new SegmentFieldsCommand(),_0x2c8ea1=program[_0xce2b54(0x339)](),_0x3bfae8=await createTDXInstance(_0x2c8ea1),_0x521ebb=await _0x2a191b[_0xce2b54(0x3ee)]({'options':{..._0x2c8ea1,..._0x2e22d4},'args':_0x5b5cd8?[_0x5b5cd8]:[],'tdx':_0x3bfae8});gracefulExit(_0x521ebb);}),segmentCmd[a2_0x43228c(0x1fa)]('pull\x20[parent_or_file]')['description'](a2_0x43228c(0x453))[a2_0x43228c(0x346)](a2_0x43228c(0x354),a2_0x43228c(0x435))[a2_0x43228c(0x342)](async(_0x598842,_0x4e782e)=>{const _0x195959=a2_0x43228c,_0x55ac3a=new SegmentPullCommand(),_0x300340=program[_0x195959(0x339)](),_0x1c78a1=await createTDXInstance(_0x300340),_0x143871=await _0x55ac3a[_0x195959(0x3ee)]({'options':{..._0x300340,..._0x4e782e},'args':_0x598842?[_0x598842]:[],'tdx':_0x1c78a1});gracefulExit(_0x143871);}),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2a5))[a2_0x43228c(0x311)](a2_0x43228c(0x207))[a2_0x43228c(0x346)](a2_0x43228c(0x354),a2_0x43228c(0x435))[a2_0x43228c(0x346)](a2_0x43228c(0x23d),a2_0x43228c(0x363))[a2_0x43228c(0x342)](async(_0x1d8535,_0x6de516)=>{const _0xe5d08c=a2_0x43228c,_0x1452cd=new SegmentPushCommand(),_0x50b9d8=program[_0xe5d08c(0x339)](),_0x784f5d=await createTDXInstance(_0x50b9d8),_0x31be71=await _0x1452cd[_0xe5d08c(0x3ee)]({'options':{..._0x50b9d8,..._0x6de516},'args':_0x1d8535?[_0x1d8535]:[],'tdx':_0x784f5d});gracefulExit(_0x31be71);}),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x279))[a2_0x43228c(0x311)](a2_0x43228c(0x18b))[a2_0x43228c(0x342)](async(_0x24873f,_0x46f1ba)=>{const _0x556dc4=a2_0x43228c,_0x3195d8=new SegmentValidateCommand(),_0x7e9b8f=program[_0x556dc4(0x339)](),_0x5b2038=await createTDXInstance(_0x7e9b8f),_0x4113e3=await _0x3195d8[_0x556dc4(0x3ee)]({'options':{..._0x7e9b8f,..._0x46f1ba},'args':_0x24873f?[_0x24873f]:[],'tdx':_0x5b2038});gracefulExit(_0x4113e3);}),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x44a),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x1dc))['option'](a2_0x43228c(0x24f),a2_0x43228c(0x3a3))['option'](a2_0x43228c(0x37c),a2_0x43228c(0x374))['option']('--rule-file\x20<file>',a2_0x43228c(0x225))['option'](a2_0x43228c(0x356),'Folder\x20name\x20for\x20organization')[a2_0x43228c(0x346)](a2_0x43228c(0x37d),a2_0x43228c(0x240))[a2_0x43228c(0x346)]('--invisible',a2_0x43228c(0x385))[a2_0x43228c(0x346)]('--no-count-population','Skip\x20population\x20counting')[a2_0x43228c(0x342)](async(_0x2aba02,_0x553769)=>{const _0x15b6a3=a2_0x43228c,_0x287ef6=new SegmentCreateCommand(),_0x1ce109=program[_0x15b6a3(0x339)](),_0x276aa9=await createTDXInstance(_0x1ce109),_0x345a00=await _0x287ef6[_0x15b6a3(0x3ee)]({'options':{..._0x1ce109,..._0x553769},'args':[_0x2aba02],'tdx':_0x276aa9});gracefulExit(_0x345a00);}),segmentCmd['command']('update\x20<segment_name>',{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x1a9))[a2_0x43228c(0x346)](a2_0x43228c(0x3b5),a2_0x43228c(0x1e2))[a2_0x43228c(0x346)](a2_0x43228c(0x24f),a2_0x43228c(0x195))[a2_0x43228c(0x346)]('--rule\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string')['option'](a2_0x43228c(0x38c),a2_0x43228c(0x32d))[a2_0x43228c(0x346)](a2_0x43228c(0x356),a2_0x43228c(0x1f8))[a2_0x43228c(0x346)](a2_0x43228c(0x37d),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['action'](async(_0x39ecb0,_0x15a911)=>{const _0x118b6a=a2_0x43228c,_0x249928=new SegmentUpdateCommand(),_0x16594d=program[_0x118b6a(0x339)](),_0x30c9cf=await createTDXInstance(_0x16594d),_0xcaa428=await _0x249928[_0x118b6a(0x3ee)]({'options':{..._0x16594d,..._0x15a911},'args':[_0x39ecb0],'tdx':_0x30c9cf});gracefulExit(_0xcaa428);});const parentCmd=segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x369),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x2d0)),parentListAction=async(_0x3358a2,_0xc23def)=>{const _0x5035a1=a2_0x43228c,_0x2e9e76=new ParentSegmentListCommand(),_0x7011a1=program[_0x5035a1(0x339)](),_0x54eade=await createTDXInstance(_0x7011a1),_0x3c9eb9=await _0x2e9e76[_0x5035a1(0x3ee)]({'options':{..._0x7011a1,..._0xc23def},'args':_0x3358a2?[_0x3358a2]:[],'tdx':_0x54eade});gracefulExit(_0x3c9eb9);};parentCmd[a2_0x43228c(0x1fa)]('list\x20[pattern]')[a2_0x43228c(0x311)](a2_0x43228c(0x164))[a2_0x43228c(0x342)](parentListAction),segmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x39b),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x377))[a2_0x43228c(0x342)](parentListAction),parentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3c1))[a2_0x43228c(0x311)](a2_0x43228c(0x14d))[a2_0x43228c(0x346)](a2_0x43228c(0x15c),a2_0x43228c(0x448))[a2_0x43228c(0x342)](async(_0x46a1c5,_0x336deb)=>{const _0x1e9f06=a2_0x43228c,_0x37b842=new ParentSegmentPullCommand(),_0x57b371=program[_0x1e9f06(0x339)](),_0x14c5d5=await createTDXInstance(_0x57b371),_0x77aeb8=await _0x37b842[_0x1e9f06(0x3ee)]({'options':{..._0x57b371,..._0x336deb},'args':_0x46a1c5?[_0x46a1c5]:[],'tdx':_0x14c5d5});gracefulExit(_0x77aeb8);}),parentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1f7))[a2_0x43228c(0x311)](a2_0x43228c(0x248))[a2_0x43228c(0x342)](async(_0x462717,_0x38bb9f)=>{const _0x31e485=a2_0x43228c,_0x8417a4=new ParentSegmentPushCommand(),_0x50a6a2=program['opts'](),_0xbc4239=await createTDXInstance(_0x50a6a2),_0x228ee0=await _0x8417a4[_0x31e485(0x3ee)]({'options':{..._0x50a6a2,..._0x38bb9f},'args':_0x462717?[_0x462717]:[],'tdx':_0xbc4239});gracefulExit(_0x228ee0);}),parentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1ca))['description'](a2_0x43228c(0x3dd))[a2_0x43228c(0x346)]('--master','Show\x20only\x20master\x20table\x20validation')['option'](a2_0x43228c(0x13d),a2_0x43228c(0x145))[a2_0x43228c(0x346)](a2_0x43228c(0x194),a2_0x43228c(0x263))[a2_0x43228c(0x346)](a2_0x43228c(0x153),a2_0x43228c(0x3be))[a2_0x43228c(0x346)](a2_0x43228c(0x24b),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x43228c(0x3e8))[a2_0x43228c(0x342)](async(_0x51b14b,_0x8cfb0c)=>{const _0x35985d=a2_0x43228c,_0x32d0ce=new ParentSegmentValidateCommand(),_0x40d28c=program[_0x35985d(0x339)](),_0x52bb20=await createTDXInstance(_0x40d28c),_0x305edf=await _0x32d0ce[_0x35985d(0x3ee)]({'options':{..._0x40d28c,..._0x8cfb0c},'args':_0x51b14b?[_0x51b14b]:[],'tdx':_0x52bb20});gracefulExit(_0x305edf);}),parentCmd['command'](a2_0x43228c(0x3c4))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x43228c(0x346)]('--master',a2_0x43228c(0x3a5))[a2_0x43228c(0x346)](a2_0x43228c(0x13d),a2_0x43228c(0x1db))[a2_0x43228c(0x346)]('--behavior\x20[name]',a2_0x43228c(0x20d))[a2_0x43228c(0x346)](a2_0x43228c(0x153),a2_0x43228c(0x18d))[a2_0x43228c(0x346)]('--interval\x20<range>',a2_0x43228c(0x27b),a2_0x43228c(0x3e8))[a2_0x43228c(0x342)](async(_0x35cae7,_0x3e2d76)=>{const _0x467cf5=a2_0x43228c,_0x14126a=new ParentSegmentPreviewCommand(),_0x59a0e7=program[_0x467cf5(0x339)](),_0x2f4914=await createTDXInstance(_0x59a0e7),_0x566b7f=await _0x14126a[_0x467cf5(0x3ee)]({'options':{..._0x59a0e7,..._0x3e2d76},'args':_0x35cae7?[_0x35cae7]:[],'tdx':_0x2f4914});gracefulExit(_0x566b7f);}),parentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x36c))[a2_0x43228c(0x311)](a2_0x43228c(0x445))[a2_0x43228c(0x342)](async(_0x35c714,_0x48d1cd)=>{const _0x2de8ab=a2_0x43228c,_0x50a213=new ParentSegmentRunCommand(),_0x3eafd5=program['opts'](),_0x28ce63=await createTDXInstance(_0x3eafd5),_0x14ea2c=await _0x50a213[_0x2de8ab(0x3ee)]({'options':{..._0x3eafd5,..._0x48d1cd},'args':_0x35c714?[_0x35c714]:[],'tdx':_0x28ce63});gracefulExit(_0x14ea2c);});const parentSegmentCmd=program[a2_0x43228c(0x1fa)]('parent-segment')[a2_0x43228c(0x175)]('ps')[a2_0x43228c(0x311)]('Parent\x20segment\x20management');parentSegmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)](a2_0x43228c(0x164))[a2_0x43228c(0x342)](parentListAction),parentSegmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3c1))[a2_0x43228c(0x311)](a2_0x43228c(0x452))[a2_0x43228c(0x346)](a2_0x43228c(0x15c),a2_0x43228c(0x255))[a2_0x43228c(0x346)](a2_0x43228c(0x42c),a2_0x43228c(0x2b9))[a2_0x43228c(0x342)](async(_0x1e9d37,_0x11dfe8)=>{const _0x3951e4=a2_0x43228c,_0x76486d=new ParentSegmentPullCommand(),_0xdebb7=program[_0x3951e4(0x339)](),_0x38a92f=await createTDXInstance(_0xdebb7),_0x3d20fd=await _0x76486d[_0x3951e4(0x3ee)]({'options':{..._0xdebb7,..._0x11dfe8},'args':_0x1e9d37?[_0x1e9d37]:[],'tdx':_0x38a92f});gracefulExit(_0x3d20fd);}),parentSegmentCmd['command'](a2_0x43228c(0x2b3))[a2_0x43228c(0x311)](a2_0x43228c(0x373))[a2_0x43228c(0x342)](async(_0x4c22dc,_0x26d57b)=>{const _0x218ab6=a2_0x43228c,_0x8b5507=new ParentSegmentPushCommand(),_0x3d0451=program[_0x218ab6(0x339)](),_0x1e79b5=await createTDXInstance(_0x3d0451),_0x11f632=await _0x8b5507[_0x218ab6(0x3ee)]({'options':{..._0x3d0451,..._0x26d57b},'args':_0x4c22dc?[_0x4c22dc]:[],'tdx':_0x1e79b5});gracefulExit(_0x11f632);}),parentSegmentCmd['command'](a2_0x43228c(0x244))[a2_0x43228c(0x311)](a2_0x43228c(0x3dd))[a2_0x43228c(0x346)]('--master',a2_0x43228c(0x242))['option']('--attribute\x20[name]',a2_0x43228c(0x145))[a2_0x43228c(0x346)](a2_0x43228c(0x194),a2_0x43228c(0x263))['option'](a2_0x43228c(0x153),a2_0x43228c(0x3be))[a2_0x43228c(0x346)](a2_0x43228c(0x24b),a2_0x43228c(0x27b),'-1d')[a2_0x43228c(0x342)](async(_0x109782,_0x57ca52)=>{const _0x2be7cb=a2_0x43228c,_0x4cc345=new ParentSegmentValidateCommand(),_0x227a2b=program[_0x2be7cb(0x339)](),_0x19deb7=await createTDXInstance(_0x227a2b),_0x2e3f13=await _0x4cc345[_0x2be7cb(0x3ee)]({'options':{..._0x227a2b,..._0x57ca52},'args':_0x109782?[_0x109782]:[],'tdx':_0x19deb7});gracefulExit(_0x2e3f13);}),parentSegmentCmd['command'](a2_0x43228c(0x274))[a2_0x43228c(0x311)](a2_0x43228c(0x375))[a2_0x43228c(0x346)](a2_0x43228c(0x2db),a2_0x43228c(0x3a5))[a2_0x43228c(0x346)](a2_0x43228c(0x13d),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x43228c(0x346)]('--behavior\x20[name]',a2_0x43228c(0x20d))['option'](a2_0x43228c(0x153),a2_0x43228c(0x18d))['option']('--interval\x20<range>',a2_0x43228c(0x27b),a2_0x43228c(0x3e8))['action'](async(_0x313147,_0x225682)=>{const _0x2b29ae=a2_0x43228c,_0x219a6f=new ParentSegmentPreviewCommand(),_0x444f6c=program[_0x2b29ae(0x339)](),_0x8ca175=await createTDXInstance(_0x444f6c),_0x5f05f7=await _0x219a6f[_0x2b29ae(0x3ee)]({'options':{..._0x444f6c,..._0x225682},'args':_0x313147?[_0x313147]:[],'tdx':_0x8ca175});gracefulExit(_0x5f05f7);}),parentSegmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x36c))[a2_0x43228c(0x311)](a2_0x43228c(0x445))[a2_0x43228c(0x342)](async(_0x5bb904,_0x50cfdb)=>{const _0x56ac26=a2_0x43228c,_0x3964e5=new ParentSegmentRunCommand(),_0x5f246c=program[_0x56ac26(0x339)](),_0x64a645=await createTDXInstance(_0x5f246c),_0x27e0fb=await _0x3964e5[_0x56ac26(0x3ee)]({'options':{..._0x5f246c,..._0x50cfdb},'args':_0x5bb904?[_0x5bb904]:[],'tdx':_0x64a645});gracefulExit(_0x27e0fb);}),parentSegmentCmd['command']('fields\x20[name]')['description'](a2_0x43228c(0x17b))[a2_0x43228c(0x346)](a2_0x43228c(0x3f6),'Output\x20as\x20JSON')[a2_0x43228c(0x346)](a2_0x43228c(0x261),'Output\x20as\x20JSON\x20Lines')[a2_0x43228c(0x342)](async(_0xa09a8a,_0x5290b7)=>{const _0x5d9313=a2_0x43228c,_0x127643=new ParentSegmentFieldsCommand(),_0xb0a3dd=program[_0x5d9313(0x339)](),_0x3382bb=await createTDXInstance(_0xb0a3dd),_0x5a07f1=await _0x127643[_0x5d9313(0x3ee)]({'options':{..._0xb0a3dd,..._0x5290b7},'args':_0xa09a8a?[_0xa09a8a]:[],'tdx':_0x3382bb});gracefulExit(_0x5a07f1);}),parentSegmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2ee))[a2_0x43228c(0x311)](a2_0x43228c(0x3c8))['option']('-w,\x20--web',a2_0x43228c(0x221))[a2_0x43228c(0x346)](a2_0x43228c(0x3f6),'Output\x20as\x20JSON')[a2_0x43228c(0x346)](a2_0x43228c(0x261),a2_0x43228c(0x29f))[a2_0x43228c(0x342)](async(_0x153d2c,_0xf84b77)=>{const _0x127e90=a2_0x43228c,_0x81659a=new ParentSegmentViewCommand(),_0x5989e0=program[_0x127e90(0x339)](),_0x58d98e=await createTDXInstance(_0x5989e0),_0x170f10=await _0x81659a[_0x127e90(0x3ee)]({'options':{..._0x5989e0,..._0xf84b77},'args':_0x153d2c?[_0x153d2c]:[],'tdx':_0x58d98e});gracefulExit(_0x170f10);}),parentSegmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2cd))[a2_0x43228c(0x311)](a2_0x43228c(0x402))[a2_0x43228c(0x346)]('-o,\x20--output\x20<file>',a2_0x43228c(0x255))[a2_0x43228c(0x346)](a2_0x43228c(0x3f6),'Output\x20as\x20JSON')[a2_0x43228c(0x346)](a2_0x43228c(0x261),a2_0x43228c(0x29f))[a2_0x43228c(0x342)](async(_0x23f9ff,_0x18e75e)=>{const _0x175a8c=a2_0x43228c,_0x35eaf5=new ParentSegmentDescCommand(),_0x52e71e=program[_0x175a8c(0x339)](),_0x1ec5ae=await createTDXInstance(_0x52e71e),_0x21f835=await _0x35eaf5[_0x175a8c(0x3ee)]({'options':{..._0x52e71e,..._0x18e75e},'args':_0x23f9ff?[_0x23f9ff]:[],'tdx':_0x1ec5ae});gracefulExit(_0x21f835);}),parentSegmentCmd['command'](a2_0x43228c(0x27a))[a2_0x43228c(0x311)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x43228c(0x346)](a2_0x43228c(0x3f6),a2_0x43228c(0x2a9))['option']('--jsonl',a2_0x43228c(0x29f))[a2_0x43228c(0x342)](async(_0x2193b4,_0x7e4e1b)=>{const _0x13b872=a2_0x43228c,_0x1acc80=new ParentSegmentSQLCommand(),_0x30ec88=program[_0x13b872(0x339)](),_0xb648fa=await createTDXInstance(_0x30ec88),_0x3676bb=await _0x1acc80[_0x13b872(0x3ee)]({'options':{..._0x30ec88,..._0x7e4e1b},'args':_0x2193b4?[_0x2193b4]:[],'tdx':_0xb648fa});gracefulExit(_0x3676bb);}),parentSegmentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x199))[a2_0x43228c(0x311)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x43228c(0x346)](a2_0x43228c(0x39d),a2_0x43228c(0x336))['option'](a2_0x43228c(0x3f6),a2_0x43228c(0x2a9))[a2_0x43228c(0x346)](a2_0x43228c(0x261),a2_0x43228c(0x29f))[a2_0x43228c(0x342)](async(_0x4ea135,_0x16facf)=>{const _0x1529a0=a2_0x43228c,_0x151172=new ParentSegmentShowCommand(),_0x495e4b=program['opts'](),_0xce7dc4=await createTDXInstance(_0x495e4b),_0x15a9d0=await _0x151172[_0x1529a0(0x3ee)]({'options':{..._0x495e4b,..._0x16facf},'args':_0x4ea135?[_0x4ea135]:[],'tdx':_0xce7dc4});gracefulExit(_0x15a9d0);}),parentSegmentCmd[a2_0x43228c(0x1fa)]('use\x20[name]')['description']('Set\x20or\x20show\x20parent\x20segment\x20context')['action'](async(_0xee61a9,_0x21a803)=>{const _0x407466=a2_0x43228c,_0x8bd929=new UseCommand(),_0xd4e677=program[_0x407466(0x339)](),_0x4c265d=_0xee61a9?[_0x407466(0x22c),_0xee61a9]:[],_0x2cd931=await _0x8bd929[_0x407466(0x3ee)]({'options':{..._0xd4e677,..._0x21a803},'args':_0x4c265d,'tdx':null});gracefulExit(_0x2cd931);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x43228c(0x311)](a2_0x43228c(0x1c3));psRtCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)](a2_0x43228c(0x1e8))[a2_0x43228c(0x342)](async(_0x44611c,_0x4394d9)=>{const _0x35f308=a2_0x43228c,_0x410354=new PSRtListCommand(),_0x19a8aa=program['opts'](),_0x490cec=await createTDXInstance(_0x19a8aa),_0x440371=await _0x410354[_0x35f308(0x3ee)]({'options':{..._0x19a8aa,..._0x4394d9},'args':_0x44611c?[_0x44611c]:[],'tdx':_0x490cec});gracefulExit(_0x440371);}),psRtCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x244))['description'](a2_0x43228c(0x209))[a2_0x43228c(0x342)](async(_0x4d9cca,_0x3aa940)=>{const _0x173add=a2_0x43228c,_0x592ee8=new PSRtValidateCommand(),_0x31e6f5=program[_0x173add(0x339)](),_0x171c65=await createTDXInstance(_0x31e6f5),_0x38d8be=await _0x592ee8[_0x173add(0x3ee)]({'options':{..._0x31e6f5,..._0x3aa940},'args':_0x4d9cca?[_0x4d9cca]:[],'tdx':_0x171c65});gracefulExit(_0x38d8be);}),psRtCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2f3))[a2_0x43228c(0x311)](a2_0x43228c(0x304))[a2_0x43228c(0x342)](async(_0x46319c,_0x4f1322)=>{const _0x14119d=a2_0x43228c,_0x887010=new PSRtConfigVersionCommand(),_0x318fa1=program[_0x14119d(0x339)](),_0x478091=await createTDXInstance(_0x318fa1),_0x267a95=await _0x887010['run']({'options':{..._0x318fa1,..._0x4f1322},'args':_0x46319c?[_0x46319c]:[],'tdx':_0x478091});gracefulExit(_0x267a95);});const psRtJnCmd=psRtCmd['command']('jn')[a2_0x43228c(0x311)]('RT\x20Journey\x20management');psRtJnCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x425))[a2_0x43228c(0x311)](a2_0x43228c(0x400))[a2_0x43228c(0x342)](async(_0x1ea612,_0x21c8e1)=>{const _0x2bbf2a=a2_0x43228c,_0x6dbd5=new PSRtJnListCommand(),_0x5c967a=program[_0x2bbf2a(0x339)](),_0x2d3143=await createTDXInstance(_0x5c967a),_0x1a46ed=await _0x6dbd5[_0x2bbf2a(0x3ee)]({'options':{..._0x5c967a,..._0x21c8e1},'args':_0x1ea612?[_0x1ea612]:[],'tdx':_0x2d3143});gracefulExit(_0x1a46ed);}),psRtJnCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x41c))['description'](a2_0x43228c(0x1e7))[a2_0x43228c(0x342)](async(_0xc8c92a,_0x336445)=>{const _0x287713=a2_0x43228c,_0x143890=new PSRtJnPauseCommand(),_0x28ea41=program['opts'](),_0x15efa1=await createTDXInstance(_0x28ea41),_0x4f6d1d=await _0x143890[_0x287713(0x3ee)]({'options':{..._0x28ea41,..._0x336445},'args':[_0xc8c92a],'tdx':_0x15efa1});gracefulExit(_0x4f6d1d);}),psRtJnCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x383))[a2_0x43228c(0x311)]('Resume\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x43228c(0x342)](async(_0x1a0cee,_0x445de6)=>{const _0x5d8760=a2_0x43228c,_0x2a0195=new PSRtJnResumeCommand(),_0x325e7c=program[_0x5d8760(0x339)](),_0x1620cf=await createTDXInstance(_0x325e7c),_0x13f27e=await _0x2a0195['run']({'options':{..._0x325e7c,..._0x445de6},'args':[_0x1a0cee],'tdx':_0x1620cf});gracefulExit(_0x13f27e);});const parentRtCmd=parentCmd[a2_0x43228c(0x1fa)]('rt',{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x1c3));parentRtCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)](a2_0x43228c(0x1e8))[a2_0x43228c(0x342)](async(_0xccca4c,_0x21ae00)=>{const _0x3e6365=a2_0x43228c,_0x36bca6=new PSRtListCommand(),_0x327b1d=program[_0x3e6365(0x339)](),_0x1da07=await createTDXInstance(_0x327b1d),_0x96a6ed=await _0x36bca6[_0x3e6365(0x3ee)]({'options':{..._0x327b1d,..._0x21ae00},'args':_0xccca4c?[_0xccca4c]:[],'tdx':_0x1da07});gracefulExit(_0x96a6ed);}),parentRtCmd[a2_0x43228c(0x1fa)]('validate\x20[name]')['description'](a2_0x43228c(0x209))[a2_0x43228c(0x342)](async(_0x4a317a,_0x14c2ce)=>{const _0x48df10=a2_0x43228c,_0x3a5e4f=new PSRtValidateCommand(),_0x381366=program['opts'](),_0x288c5f=await createTDXInstance(_0x381366),_0x880bbb=await _0x3a5e4f[_0x48df10(0x3ee)]({'options':{..._0x381366,..._0x14c2ce},'args':_0x4a317a?[_0x4a317a]:[],'tdx':_0x288c5f});gracefulExit(_0x880bbb);});const psPzCmd=parentSegmentCmd[a2_0x43228c(0x1fa)]('pz')['description'](a2_0x43228c(0x291));psPzCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x425))[a2_0x43228c(0x311)](a2_0x43228c(0x196))['action'](async(_0xbdc51a,_0x29d8ea)=>{const _0x267ecb=a2_0x43228c,_0x2912c8=new PSPzListCommand(),_0x49b572=program['opts'](),_0x37d0dc=await createTDXInstance(_0x49b572),_0x533d1d=await _0x2912c8[_0x267ecb(0x3ee)]({'options':{..._0x49b572,..._0x29d8ea},'args':_0xbdc51a?[_0xbdc51a]:[],'tdx':_0x37d0dc});gracefulExit(_0x533d1d);}),psPzCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x197))['description'](a2_0x43228c(0x2c6))[a2_0x43228c(0x342)](async(_0x2d1260,_0x841f97)=>{const _0xa5bea7=a2_0x43228c,_0x3a2e84=new PSPzShowCommand(),_0x3c2fec=program[_0xa5bea7(0x339)](),_0x1d18ba=await createTDXInstance(_0x3c2fec),_0x502ae7=await _0x3a2e84[_0xa5bea7(0x3ee)]({'options':{..._0x3c2fec,..._0x841f97},'args':[_0x2d1260],'tdx':_0x1d18ba});gracefulExit(_0x502ae7);}),psPzCmd['command']('delete\x20<personalization_id>')[a2_0x43228c(0x311)](a2_0x43228c(0x1f4))[a2_0x43228c(0x342)](async(_0x1269dd,_0x300793)=>{const _0x465491=a2_0x43228c,_0x57b1fc=new PSPzDeleteCommand(),_0x1a60f1=program['opts'](),_0x3fafe9=await createTDXInstance(_0x1a60f1),_0x3bf087=await _0x57b1fc[_0x465491(0x3ee)]({'options':{..._0x1a60f1,..._0x300793},'args':[_0x1269dd],'tdx':_0x3fafe9});gracefulExit(_0x3bf087);}),psPzCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x29b))['description'](a2_0x43228c(0x1f3))[a2_0x43228c(0x346)](a2_0x43228c(0x3f3),'Personalization\x20name')[a2_0x43228c(0x346)](a2_0x43228c(0x24f),a2_0x43228c(0x25f))[a2_0x43228c(0x346)](a2_0x43228c(0x15e),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')['option'](a2_0x43228c(0x378),'Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x43228c(0x346)](a2_0x43228c(0x2b2),a2_0x43228c(0x3d8))[a2_0x43228c(0x346)]('--file\x20<path>',a2_0x43228c(0x15a))[a2_0x43228c(0x342)](async _0x50d533=>{const _0x35b952=a2_0x43228c,_0x171d10=new PSPzCreateCommand(),_0x36aa8b=program[_0x35b952(0x339)](),_0xa5f607=await createTDXInstance(_0x36aa8b),_0x4fecae=await _0x171d10[_0x35b952(0x3ee)]({'options':{..._0x36aa8b,..._0x50d533},'args':[],'tdx':_0xa5f607});gracefulExit(_0x4fecae);}),psPzCmd['command']('patch\x20<personalization_id>')[a2_0x43228c(0x311)](a2_0x43228c(0x2ab))[a2_0x43228c(0x346)](a2_0x43228c(0x3f3),'Personalization\x20name')['option'](a2_0x43228c(0x24f),a2_0x43228c(0x25f))[a2_0x43228c(0x346)](a2_0x43228c(0x2b2),a2_0x43228c(0x3d8))[a2_0x43228c(0x346)](a2_0x43228c(0x189),a2_0x43228c(0x15a))[a2_0x43228c(0x342)](async(_0x44f7ac,_0x7cdc02)=>{const _0x288e01=a2_0x43228c,_0x3ec7c2=new PSPzPatchCommand(),_0x20295c=program[_0x288e01(0x339)](),_0x3c8001=await createTDXInstance(_0x20295c),_0x3e0a14=await _0x3ec7c2['run']({'options':{..._0x20295c,..._0x7cdc02},'args':[_0x44f7ac],'tdx':_0x3c8001});gracefulExit(_0x3e0a14);});const psPzServiceCmd=psPzCmd[a2_0x43228c(0x1fa)]('service')[a2_0x43228c(0x311)]('Personalization\x20service\x20management');psPzServiceCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x425))[a2_0x43228c(0x311)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x61d88a,_0x347a11)=>{const _0x55c415=a2_0x43228c,_0x2bf9e5=new PSPzServiceListCommand(),_0x56aa3f=program['opts'](),_0x21fbf0=await createTDXInstance(_0x56aa3f),_0x45a2b7=await _0x2bf9e5[_0x55c415(0x3ee)]({'options':{..._0x56aa3f,..._0x347a11},'args':_0x61d88a?[_0x61d88a]:[],'tdx':_0x21fbf0});gracefulExit(_0x45a2b7);}),psPzServiceCmd[a2_0x43228c(0x1fa)]('create\x20<name>\x20[parent_segment]')[a2_0x43228c(0x311)](a2_0x43228c(0x1d1))[a2_0x43228c(0x346)](a2_0x43228c(0x24f),a2_0x43228c(0x154))[a2_0x43228c(0x346)](a2_0x43228c(0x405),'Make\x20service\x20public\x20(default:\x20private)')['action'](async(_0x133208,_0x43a737,_0x168b19)=>{const _0x2a50d5=a2_0x43228c,_0x33ffe5=new PSPzServiceCreateCommand(),_0x1f5f9c=program['opts'](),_0x514549=await createTDXInstance(_0x1f5f9c),_0x347fdf=await _0x33ffe5[_0x2a50d5(0x3ee)]({'options':{..._0x1f5f9c,..._0x168b19},'args':_0x43a737?[_0x133208,_0x43a737]:[_0x133208],'tdx':_0x514549});gracefulExit(_0x347fdf);}),psPzServiceCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3ce))[a2_0x43228c(0x311)](a2_0x43228c(0x38f))[a2_0x43228c(0x342)](async(_0x5118be,_0x474f2e,_0x248060)=>{const _0x5ac7ba=a2_0x43228c,_0x7b42ba=new PSPzServiceShowCommand(),_0x3ed96e=program[_0x5ac7ba(0x339)](),_0x218162=await createTDXInstance(_0x3ed96e),_0x473bf8=await _0x7b42ba[_0x5ac7ba(0x3ee)]({'options':{..._0x3ed96e,..._0x248060},'args':_0x474f2e?[_0x5118be,_0x474f2e]:[_0x5118be],'tdx':_0x218162});gracefulExit(_0x473bf8);}),psPzServiceCmd['command'](a2_0x43228c(0x182))['description'](a2_0x43228c(0x30a))[a2_0x43228c(0x342)](async(_0x2357e,_0x48a7a7,_0x5ce838)=>{const _0x55b804=new PSPzServiceDeleteCommand(),_0x2f096e=program['opts'](),_0x1e1b68=await createTDXInstance(_0x2f096e),_0xdda358=await _0x55b804['run']({'options':{..._0x2f096e,..._0x5ce838},'args':_0x48a7a7?[_0x2357e,_0x48a7a7]:[_0x2357e],'tdx':_0x1e1b68});gracefulExit(_0xdda358);}),psPzServiceCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x38e))[a2_0x43228c(0x311)](a2_0x43228c(0x2ce))['requiredOption']('--name\x20<name>',a2_0x43228c(0x237))[a2_0x43228c(0x346)](a2_0x43228c(0x24f),a2_0x43228c(0x2fd))['action'](async(_0x17fcc7,_0x306026,_0x26eaa4)=>{const _0x348413=a2_0x43228c,_0x19d4f7=new PSPzServiceUpdateCommand(),_0x53a252=program[_0x348413(0x339)](),_0x1c548d=await createTDXInstance(_0x53a252),_0x3df02f=await _0x19d4f7['run']({'options':{..._0x53a252,..._0x26eaa4},'args':_0x306026?[_0x17fcc7,_0x306026]:[_0x17fcc7],'tdx':_0x1c548d});gracefulExit(_0x3df02f);}),psPzServiceCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x43d))['description']('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x43228c(0x342)](async(_0x3a616c,_0x19f030)=>{const _0x5f288e=a2_0x43228c,_0x572a0d=new PSPzInitCommand(),_0x5baa26=program['opts'](),_0x388c70=await createTDXInstance(_0x5baa26),_0x58164a=await _0x572a0d[_0x5f288e(0x3ee)]({'options':{..._0x5baa26,..._0x19f030},'args':_0x3a616c?[_0x3a616c]:[],'tdx':_0x388c70});gracefulExit(_0x58164a);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x387))['description'](a2_0x43228c(0x312));psPzServiceTokenCmd[a2_0x43228c(0x1fa)]('create\x20<name>\x20<service_id>\x20[parent_segment]')['description']('Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['option'](a2_0x43228c(0x34f),a2_0x43228c(0x34d))[a2_0x43228c(0x346)](a2_0x43228c(0x24f),'Token\x20description')[a2_0x43228c(0x342)](async(_0x5abbe6,_0x140429,_0x12fbeb,_0xa71a66)=>{const _0xdca40e=a2_0x43228c,_0x177792=new PSPzServiceTokenCreateCommand(),_0x3294c0=program[_0xdca40e(0x339)](),_0x570dad=await createTDXInstance(_0x3294c0),_0x459377=await _0x177792[_0xdca40e(0x3ee)]({'options':{..._0x3294c0,..._0xa71a66},'args':_0x12fbeb?[_0x5abbe6,_0x140429,_0x12fbeb]:[_0x5abbe6,_0x140429],'tdx':_0x570dad});gracefulExit(_0x459377);}),psPzServiceTokenCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2a3))[a2_0x43228c(0x311)](a2_0x43228c(0x436))[a2_0x43228c(0x342)](async(_0x49e549,_0x18fcb9,_0x1b4ca3)=>{const _0x29515a=a2_0x43228c,_0x4552b0=new PSPzServiceTokenDeleteCommand(),_0x4e873d=program[_0x29515a(0x339)](),_0x40050e=await createTDXInstance(_0x4e873d),_0x550e24=await _0x4552b0[_0x29515a(0x3ee)]({'options':{..._0x4e873d,..._0x1b4ca3},'args':_0x18fcb9?[_0x49e549,_0x18fcb9]:[_0x49e549],'tdx':_0x40050e});gracefulExit(_0x550e24);}),parentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x270))[a2_0x43228c(0x311)](a2_0x43228c(0x2e7))[a2_0x43228c(0x34b)]('--database\x20<db>',a2_0x43228c(0x176))[a2_0x43228c(0x34b)](a2_0x43228c(0x437),a2_0x43228c(0x325))[a2_0x43228c(0x346)]('--description\x20<text>',a2_0x43228c(0x31b))[a2_0x43228c(0x346)](a2_0x43228c(0x3b1),a2_0x43228c(0x330))[a2_0x43228c(0x346)](a2_0x43228c(0x2ba),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x43228c(0x346)](a2_0x43228c(0x42b),a2_0x43228c(0x298))[a2_0x43228c(0x346)](a2_0x43228c(0x1f0),a2_0x43228c(0x3c7))[a2_0x43228c(0x346)]('--attributes-file\x20<file>',a2_0x43228c(0x2c8))[a2_0x43228c(0x346)](a2_0x43228c(0x297),a2_0x43228c(0x3fb))[a2_0x43228c(0x346)](a2_0x43228c(0x3af),'Behaviors\x20from\x20JSON\x20file')[a2_0x43228c(0x346)](a2_0x43228c(0x384),a2_0x43228c(0x305))['option']('--customer-group-file\x20<file>',a2_0x43228c(0x2b5))[a2_0x43228c(0x342)](async(_0x3d0825,_0x4344cd)=>{const _0x2fa423=a2_0x43228c,_0x28b9ca=new ParentSegmentCreateCommand(),_0x49178e=program['opts'](),_0x27fdd8=await createTDXInstance(_0x49178e),_0x383263=await _0x28b9ca[_0x2fa423(0x3ee)]({'options':{..._0x49178e,..._0x4344cd},'args':[_0x3d0825],'tdx':_0x27fdd8});gracefulExit(_0x383263);}),parentCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x372))[a2_0x43228c(0x311)](a2_0x43228c(0x313))[a2_0x43228c(0x346)](a2_0x43228c(0x24f),a2_0x43228c(0x195))[a2_0x43228c(0x346)]('--schedule-type\x20<type>',a2_0x43228c(0x415))[a2_0x43228c(0x346)](a2_0x43228c(0x2ba),a2_0x43228c(0x344))[a2_0x43228c(0x346)](a2_0x43228c(0x42b),a2_0x43228c(0x3c9))['option'](a2_0x43228c(0x26b),a2_0x43228c(0x1ee))['option'](a2_0x43228c(0x1fe),a2_0x43228c(0x12b))[a2_0x43228c(0x346)]('--add-behaviors\x20<json>','Add\x20behaviors\x20as\x20JSON\x20string')['option'](a2_0x43228c(0x29e),a2_0x43228c(0x1e9))[a2_0x43228c(0x342)](async(_0x449ec4,_0x57c607)=>{const _0x50b394=a2_0x43228c,_0x572538=new ParentSegmentUpdateCommand(),_0x2a2ab0=program[_0x50b394(0x339)](),_0x3c4449=await createTDXInstance(_0x2a2ab0),_0x45ff65=await _0x572538[_0x50b394(0x3ee)]({'options':{..._0x2a2ab0,..._0x57c607},'args':[_0x449ec4],'tdx':_0x3c4449});gracefulExit(_0x45ff65);}),folderCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x33f))[a2_0x43228c(0x311)](a2_0x43228c(0x1df))[a2_0x43228c(0x346)](a2_0x43228c(0x24f),a2_0x43228c(0x1d7))[a2_0x43228c(0x346)](a2_0x43228c(0x406),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x43228c(0x342)](async(_0x751a9a,_0x16d511,_0x12fc96)=>{const _0x1116be=a2_0x43228c,_0x31543d=new SegmentFolderCreateCommand(),_0x518757=program[_0x1116be(0x339)](),_0xf6be68=await createTDXInstance(_0x518757),_0x187e66=await _0x31543d['run']({'options':{..._0x518757,..._0x12fc96},'args':[_0x751a9a,_0x16d511],'tdx':_0xf6be68});gracefulExit(_0x187e66);}),program['command'](a2_0x43228c(0x1ef))[a2_0x43228c(0x311)](a2_0x43228c(0x172))[a2_0x43228c(0x342)](async(_0x526ba1,_0x1fe054)=>{const _0x27ec36=a2_0x43228c,_0xa2d6df=new ActivationsCommand(),_0x26f9ec=program[_0x27ec36(0x339)](),_0x39d2c5=await createTDXInstance(_0x26f9ec),_0x158729=await _0xa2d6df[_0x27ec36(0x3ee)]({'options':{..._0x26f9ec,..._0x1fe054},'args':[_0x526ba1],'tdx':_0x39d2c5});gracefulExit(_0x158729);});const workflowCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x300))[a2_0x43228c(0x175)]('wf')[a2_0x43228c(0x311)](a2_0x43228c(0x2cc)),wfProjectCmd=workflowCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x341))[a2_0x43228c(0x311)](a2_0x43228c(0x187)),wfProjectListAction=async(_0x52afcc,_0x287518)=>{const _0x125a9f=a2_0x43228c,_0x3fa6bc=new WorkflowProjectsCommand(),_0x4ca973=program[_0x125a9f(0x339)](),_0xc1e00f=await createTDXInstance(_0x4ca973),_0x478826=await _0x3fa6bc['run']({'options':{..._0x4ca973,..._0x287518},'args':_0x52afcc?[_0x52afcc]:[],'tdx':_0xc1e00f});gracefulExit(_0x478826);};wfProjectCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)](a2_0x43228c(0x2f1))['action'](wfProjectListAction),workflowCmd[a2_0x43228c(0x1fa)]('projects\x20[pattern]')[a2_0x43228c(0x311)](a2_0x43228c(0x423))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x343646,_0x4d3f8c)=>{const _0x1411bc=a2_0x43228c,_0x474fed=new WorkflowWorkflowsCommand(),_0x13c8f1=program[_0x1411bc(0x339)](),_0xa63304=await createTDXInstance(_0x13c8f1),_0x44e07a=await _0x474fed[_0x1411bc(0x3ee)]({'options':{..._0x13c8f1,..._0x4d3f8c},'args':_0x343646?[_0x343646]:[],'tdx':_0xa63304});gracefulExit(_0x44e07a);};workflowCmd[a2_0x43228c(0x1fa)]('workflows\x20[project]')[a2_0x43228c(0x311)](a2_0x43228c(0x1d9))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x43228c(0x35d))[a2_0x43228c(0x311)](a2_0x43228c(0x245)),wfSessionListAction=async(_0x47d028,_0x4a07c8)=>{const _0x3213ed=a2_0x43228c,_0x3be8e9=new WorkflowSessionsCommand(),_0x4b7c29=program[_0x3213ed(0x339)](),_0x108eee=await createTDXInstance(_0x4b7c29),_0xc9bc1a=await _0x3be8e9['run']({'options':{..._0x4b7c29,..._0x4a07c8},'args':_0x47d028?[_0x47d028]:[],'tdx':_0x108eee});gracefulExit(_0xc9bc1a);};wfSessionCmd[a2_0x43228c(0x1fa)]('list\x20[project]')[a2_0x43228c(0x311)](a2_0x43228c(0x19b))[a2_0x43228c(0x346)]('--status\x20<status>',a2_0x43228c(0x459))['option']('--from\x20<timestamp>',a2_0x43228c(0x396))[a2_0x43228c(0x346)](a2_0x43228c(0x1d8),a2_0x43228c(0x1cd))[a2_0x43228c(0x342)](wfSessionListAction),workflowCmd[a2_0x43228c(0x1fa)]('sessions\x20[project]')[a2_0x43228c(0x311)](a2_0x43228c(0x1c7))['option'](a2_0x43228c(0x441),a2_0x43228c(0x459))[a2_0x43228c(0x346)](a2_0x43228c(0x411),a2_0x43228c(0x396))[a2_0x43228c(0x346)]('--to\x20<timestamp>',a2_0x43228c(0x1cd))[a2_0x43228c(0x342)](wfSessionListAction);const wfAttemptListAction=async(_0x2fd414,_0x349159)=>{const _0x51b1e6=a2_0x43228c,_0x4da4e7=new WorkflowAttemptsCommand(),_0x115355=program[_0x51b1e6(0x339)](),_0x2f8e73=await createTDXInstance(_0x115355),_0x55f387=await _0x4da4e7[_0x51b1e6(0x3ee)]({'options':{..._0x115355,..._0x349159},'args':_0x2fd414?[_0x2fd414]:[],'tdx':_0x2f8e73});gracefulExit(_0x55f387);},attemptCmd=workflowCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x269))[a2_0x43228c(0x311)](a2_0x43228c(0x24a))[a2_0x43228c(0x173)](a2_0x43228c(0x264),a2_0x43228c(0x26f))[a2_0x43228c(0x173)]('[action]',a2_0x43228c(0x3ca))[a2_0x43228c(0x173)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x43228c(0x346)](a2_0x43228c(0x371),a2_0x43228c(0x2f4))['option']('--reason\x20<text>','Reason\x20for\x20killing\x20the\x20attempt')[a2_0x43228c(0x346)]('--resume-from\x20<task>','Resume\x20from\x20specific\x20task\x20(retry)')['option'](a2_0x43228c(0x2a2),a2_0x43228c(0x2f0))[a2_0x43228c(0x346)](a2_0x43228c(0x345),a2_0x43228c(0x352))[a2_0x43228c(0x346)]('--include-retried',a2_0x43228c(0x155))[a2_0x43228c(0x342)](async(_0x58605e,_0x4ffd3b,_0xd02896,_0x7cd421)=>{const _0x219b31=a2_0x43228c;if(_0x58605e==='list'){await wfAttemptListAction(_0x4ffd3b,_0x7cd421);return;}if(!_0x58605e){attemptCmd[_0x219b31(0x3c3)]();return;}const _0x3f2b60=program[_0x219b31(0x339)](),_0x186050=await createTDXInstance(_0x3f2b60);let _0x23c950=0x0;if(!_0x4ffd3b){const _0x2ac0a3=new WorkflowAttemptCommand();_0x23c950=await _0x2ac0a3[_0x219b31(0x3ee)]({'options':{..._0x3f2b60,..._0x7cd421},'args':[_0x58605e],'tdx':_0x186050});}else{if(_0x4ffd3b==='logs'){const _0x77c5c1=new WorkflowLogsCommand();_0x23c950=await _0x77c5c1['run']({'options':{..._0x3f2b60,..._0x7cd421},'args':_0xd02896?[_0x58605e,_0xd02896]:[_0x58605e],'tdx':_0x186050});}else{if(_0x4ffd3b==='tasks'){const _0xf359fb=new WorkflowTasksCommand();_0x23c950=await _0xf359fb['run']({'options':{..._0x3f2b60,..._0x7cd421},'args':[_0x58605e],'tdx':_0x186050});}else{if(_0x4ffd3b===_0x219b31(0x200)){const _0x2c9f87=new WorkflowKillCommand();_0x23c950=await _0x2c9f87['run']({'options':{..._0x3f2b60,..._0x7cd421},'args':[_0x58605e],'tdx':_0x186050});}else{if(_0x4ffd3b===_0x219b31(0x28f)){const _0x284b26=new WorkflowRetryCommand();_0x23c950=await _0x284b26['run']({'options':{..._0x3f2b60,..._0x7cd421},'args':[_0x219b31(0x1eb)+_0x58605e],'tdx':_0x186050});}else console['error']('Unknown\x20action:\x20'+_0x4ffd3b),console[_0x219b31(0x3ec)](_0x219b31(0x36e)),_0x23c950=0x1;}}}}gracefulExit(_0x23c950);});attemptCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x22a))[a2_0x43228c(0x311)](a2_0x43228c(0x13b))[a2_0x43228c(0x346)](a2_0x43228c(0x3b8),a2_0x43228c(0x3d3))[a2_0x43228c(0x342)](wfAttemptListAction),workflowCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1fb))['description'](a2_0x43228c(0x326))[a2_0x43228c(0x346)]('--include-retried',a2_0x43228c(0x3d3))[a2_0x43228c(0x342)](wfAttemptListAction),workflowCmd[a2_0x43228c(0x1fa)]('timeline\x20[project.workflow]')[a2_0x43228c(0x311)](a2_0x43228c(0x376))[a2_0x43228c(0x346)](a2_0x43228c(0x350),a2_0x43228c(0x1e0))['option'](a2_0x43228c(0x157),a2_0x43228c(0x151))[a2_0x43228c(0x346)](a2_0x43228c(0x183),a2_0x43228c(0x217))[a2_0x43228c(0x342)](async(_0x26c54e,_0x480e0c)=>{const _0x57310d=a2_0x43228c,_0x347b5a=new WorkflowTimelineCommand(),_0x4dcc6f=program['opts'](),_0x33bd9c=await createTDXInstance(_0x4dcc6f),_0x1b44ee=await _0x347b5a[_0x57310d(0x3ee)]({'options':{..._0x4dcc6f,..._0x480e0c},'args':_0x26c54e?[_0x26c54e]:[],'tdx':_0x33bd9c});gracefulExit(_0x1b44ee);}),workflowCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x198))[a2_0x43228c(0x311)](a2_0x43228c(0x364))[a2_0x43228c(0x346)]('--from-task\x20<task>',a2_0x43228c(0x450))['option'](a2_0x43228c(0x2a2),a2_0x43228c(0x1a2))[a2_0x43228c(0x342)](async(_0x4fc7ab,_0x153d8e)=>{const _0x6121bc=a2_0x43228c,_0x51181=new WorkflowRetryCommand(),_0x40b130=program[_0x6121bc(0x339)](),_0x5e484e=await createTDXInstance(_0x40b130),_0x622d6d=await _0x51181['run']({'options':{..._0x40b130,..._0x153d8e},'args':[_0x4fc7ab],'tdx':_0x5e484e});gracefulExit(_0x622d6d);}),workflowCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x41a))['description'](a2_0x43228c(0x30c))[a2_0x43228c(0x346)](a2_0x43228c(0x2c7),a2_0x43228c(0x382),(_0x17b3fb,_0x1eb5aa=[])=>[..._0x1eb5aa,_0x17b3fb],[])[a2_0x43228c(0x346)]('--session-time\x20<time>',a2_0x43228c(0x220))[a2_0x43228c(0x342)](async(_0xc5cb9f,_0x4591a2)=>{const _0x4bc03c=a2_0x43228c,_0x340676=new WorkflowRunCommand(),_0x4d7fe4=program[_0x4bc03c(0x339)](),_0x33bf04=await createTDXInstance(_0x4d7fe4),_0x23d902=await _0x340676[_0x4bc03c(0x3ee)]({'options':{..._0x4d7fe4,..._0x4591a2},'args':_0xc5cb9f?[_0xc5cb9f]:[],'tdx':_0x33bf04});gracefulExit(_0x23d902);}),workflowCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x16b))[a2_0x43228c(0x311)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x43228c(0x346)](a2_0x43228c(0x2bd),a2_0x43228c(0x1ab))['action'](async(_0x3cd6da,_0x24c47b,_0x4ba32d)=>{const _0x30b063=a2_0x43228c,_0x4a40d2=new WorkflowDownloadCommand(),_0x3ffc26=program[_0x30b063(0x339)](),_0x22ef1b=await createTDXInstance(_0x3ffc26),_0x57cdc7=await _0x4a40d2[_0x30b063(0x3ee)]({'options':{..._0x3ffc26,..._0x4ba32d},'args':[_0x3cd6da,_0x24c47b||'.'],'tdx':_0x22ef1b});gracefulExit(_0x57cdc7);}),workflowCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3ff))[a2_0x43228c(0x311)](a2_0x43228c(0x308))['option'](a2_0x43228c(0x2bd),a2_0x43228c(0x23c))[a2_0x43228c(0x346)](a2_0x43228c(0x354),a2_0x43228c(0x414))[a2_0x43228c(0x342)](async(_0x15e584,_0x21d4b1,_0x3486fa)=>{const _0x3d72bc=new WorkflowPullCommand(),_0x409616=program['opts'](),_0x8617e9=await createTDXInstance(_0x409616),_0xde0ee1=await _0x3d72bc['run']({'options':{..._0x409616,..._0x3486fa},'args':_0x21d4b1?[_0x15e584,_0x21d4b1]:[_0x15e584],'tdx':_0x8617e9});gracefulExit(_0xde0ee1);}),workflowCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x253))[a2_0x43228c(0x311)](a2_0x43228c(0x31c))[a2_0x43228c(0x346)](a2_0x43228c(0x2bd),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x43228c(0x346)](a2_0x43228c(0x354),a2_0x43228c(0x228))[a2_0x43228c(0x346)](a2_0x43228c(0x1aa),a2_0x43228c(0x3d2))['action'](async(_0x3fc4ed,_0x59c13d)=>{const _0x5d1e00=a2_0x43228c,_0x536d8e=new WorkflowPushCommand(),_0x453164=program[_0x5d1e00(0x339)](),_0x496c93=await createTDXInstance(_0x453164),_0x2eba5d=await _0x536d8e['run']({'options':{..._0x453164,..._0x59c13d},'args':_0x3fc4ed?[_0x3fc4ed]:[],'tdx':_0x496c93});gracefulExit(_0x2eba5d);}),workflowCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3e5))[a2_0x43228c(0x311)]('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0x43228c(0x346)](a2_0x43228c(0x299),a2_0x43228c(0x281))[a2_0x43228c(0x346)](a2_0x43228c(0x2bd),a2_0x43228c(0x262))[a2_0x43228c(0x346)](a2_0x43228c(0x1aa),a2_0x43228c(0x3d2))['action'](async(_0x285bb4,_0x539a06)=>{const _0x24f78b=a2_0x43228c,_0x104171=new WorkflowUploadCommand(),_0x4126bb=program[_0x24f78b(0x339)](),_0xac48ac=await createTDXInstance(_0x4126bb),_0x477b33=await _0x104171[_0x24f78b(0x3ee)]({'options':{..._0x4126bb,..._0x539a06},'args':_0x285bb4?[_0x285bb4]:[],'tdx':_0xac48ac});gracefulExit(_0x477b33);}),workflowCmd[a2_0x43228c(0x1fa)]('clone\x20[source-dir]')[a2_0x43228c(0x311)](a2_0x43228c(0x267))[a2_0x43228c(0x346)](a2_0x43228c(0x299),a2_0x43228c(0x2b1))['option'](a2_0x43228c(0x2bd),a2_0x43228c(0x41d))[a2_0x43228c(0x346)]('--dry-run',a2_0x43228c(0x3ef))[a2_0x43228c(0x346)](a2_0x43228c(0x1aa),a2_0x43228c(0x3d2))[a2_0x43228c(0x342)](async(_0x33a355,_0x2d8d6c)=>{const _0x324527=a2_0x43228c,_0x12aa07=new WorkflowCloneCommand(),_0x38d41c=program[_0x324527(0x339)](),_0x9f0ba5=await createTDXInstance(_0x38d41c),_0x211a96=await _0x12aa07[_0x324527(0x3ee)]({'options':{..._0x38d41c,..._0x2d8d6c},'args':_0x33a355?[_0x33a355]:[],'tdx':_0x9f0ba5});gracefulExit(_0x211a96);}),workflowCmd[a2_0x43228c(0x1fa)]('delete\x20<project-name-or-id>')[a2_0x43228c(0x311)](a2_0x43228c(0x334))[a2_0x43228c(0x342)](async(_0x523a85,_0x8744a6)=>{const _0x2b9f54=new WorkflowDeleteCommand(),_0x29634a=program['opts'](),_0xfe0846=await createTDXInstance(_0x29634a),_0x2387c2=await _0x2b9f54['run']({'options':{..._0x29634a,..._0x8744a6},'args':[_0x523a85],'tdx':_0xfe0846});gracefulExit(_0x2387c2);}),workflowCmd[a2_0x43228c(0x1fa)]('use\x20[project]')[a2_0x43228c(0x311)](a2_0x43228c(0x2ec))[a2_0x43228c(0x346)](a2_0x43228c(0x186),a2_0x43228c(0x174))['action'](async(_0x28418d,_0x3421b1)=>{const _0x57ac17=a2_0x43228c,_0x5ad43f=new WorkflowUseCommand(),_0x4ccc02=program[_0x57ac17(0x339)](),_0x29111f=await createTDXInstance(_0x4ccc02),_0x36a13b=await _0x5ad43f[_0x57ac17(0x3ee)]({'options':{..._0x4ccc02,..._0x3421b1},'args':_0x28418d?[_0x28418d]:[],'tdx':_0x29111f});gracefulExit(_0x36a13b);});const wfSecretsCmd=workflowCmd[a2_0x43228c(0x1fa)]('secrets')['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x22a))[a2_0x43228c(0x311)]('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x979e9f,_0x2b7874)=>{const _0x311e42=a2_0x43228c,_0x58e51a=new WorkflowSecretsListCommand(),_0x7e5400=program['opts'](),_0x28dcd0=await createTDXInstance(_0x7e5400),_0x49002f=await _0x58e51a[_0x311e42(0x3ee)]({'options':{..._0x7e5400,..._0x2b7874},'args':_0x979e9f?[_0x979e9f]:[],'tdx':_0x28dcd0});gracefulExit(_0x49002f);}),wfSecretsCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x24e))[a2_0x43228c(0x311)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x43228c(0x342)](async(_0x5e6e75,_0x38bfb0)=>{const _0x583698=a2_0x43228c,_0x1f680b=new WorkflowSecretsSetCommand(),_0x5b6f04=program['opts'](),_0x4bdef3=await createTDXInstance(_0x5b6f04),_0x24152b=await _0x1f680b[_0x583698(0x3ee)]({'options':{..._0x5b6f04,..._0x38bfb0},'args':_0x5e6e75,'tdx':_0x4bdef3});gracefulExit(_0x24152b);}),wfSecretsCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x23f))[a2_0x43228c(0x311)](a2_0x43228c(0x3de))[a2_0x43228c(0x342)](async(_0x11a902,_0x17cdbb)=>{const _0xe226d2=a2_0x43228c,_0x36a6dd=new WorkflowSecretsDeleteCommand(),_0x109913=program[_0xe226d2(0x339)](),_0x50eec9=await createTDXInstance(_0x109913),_0x350abd=await _0x36a6dd['run']({'options':{..._0x109913,..._0x17cdbb},'args':_0x11a902,'tdx':_0x50eec9});gracefulExit(_0x350abd);});const jobCmd=program[a2_0x43228c(0x1fa)]('job')[a2_0x43228c(0x311)](a2_0x43228c(0x440)),jobListAction=async _0x3a2342=>{const _0x4eea10=a2_0x43228c,_0x5635a9=new JobListCommand(),_0x407c1b=program['opts'](),_0x539ceb=await createTDXInstance(_0x407c1b),_0x4c060d=await _0x5635a9[_0x4eea10(0x3ee)]({'options':{..._0x407c1b,..._0x3a2342},'args':[],'tdx':_0x539ceb});gracefulExit(_0x4c060d);};jobCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2be))[a2_0x43228c(0x311)](a2_0x43228c(0x136))['option'](a2_0x43228c(0x441),a2_0x43228c(0x2ef))[a2_0x43228c(0x342)](jobListAction),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x43c),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x35f))[a2_0x43228c(0x346)]('--status\x20<status>',a2_0x43228c(0x2ef))[a2_0x43228c(0x342)](jobListAction),jobCmd['command'](a2_0x43228c(0x28b))[a2_0x43228c(0x311)](a2_0x43228c(0x1e5))[a2_0x43228c(0x342)](async(_0x24790f,_0x1ed248)=>{const _0x21b17a=a2_0x43228c,_0x12fc2e=new JobShowCommand(),_0x2c017a=program[_0x21b17a(0x339)](),_0x2a416b=await createTDXInstance(_0x2c017a),_0x3f395e=await _0x12fc2e['run']({'options':{..._0x2c017a,..._0x1ed248},'args':[_0x24790f],'tdx':_0x2a416b});gracefulExit(_0x3f395e);}),jobCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x131))[a2_0x43228c(0x311)](a2_0x43228c(0x20a))[a2_0x43228c(0x342)](async(_0x5e6e69,_0x47228c)=>{const _0x16ffbd=a2_0x43228c,_0x1942f4=new JobKillCommand(),_0x4f55a0=program[_0x16ffbd(0x339)](),_0x3e2c16=await createTDXInstance(_0x4f55a0),_0x4164c0=await _0x1942f4['run']({'options':{..._0x4f55a0,..._0x47228c},'args':[_0x5e6e69],'tdx':_0x3e2c16});gracefulExit(_0x4164c0);}),jobCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1d5))['description'](a2_0x43228c(0x42d))[a2_0x43228c(0x346)](a2_0x43228c(0x392),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)',a2_0x43228c(0x2b6))[a2_0x43228c(0x346)](a2_0x43228c(0x1c6),a2_0x43228c(0x37e))['option']('--database\x20<name>','Database\x20name\x20(default:\x20information_schema)',a2_0x43228c(0x307))[a2_0x43228c(0x346)](a2_0x43228c(0x2d5),a2_0x43228c(0x16d))['action'](async(_0x5d9cd1,_0x22d763)=>{const _0x16d51a=a2_0x43228c,_0x56c494=new JobSubmitCommand(),_0x100b97=program['opts'](),_0x287c88=await createTDXInstance(_0x100b97),_0x3704c3=await _0x56c494[_0x16d51a(0x3ee)]({'options':{..._0x100b97,..._0x22d763},'args':_0x5d9cd1?[_0x5d9cd1]:[],'tdx':_0x287c88});gracefulExit(_0x3704c3);}),jobCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3a8))[a2_0x43228c(0x311)]('Get\x20job\x20results')[a2_0x43228c(0x342)](async(_0x6cbd80,_0xf98dff)=>{const _0x2fbbf2=a2_0x43228c,_0x24c9cc=new JobResultCommand(),_0x2930eb=program[_0x2fbbf2(0x339)](),_0x127b9d=await createTDXInstance(_0x2930eb),_0x5df83e=await _0x24c9cc[_0x2fbbf2(0x3ee)]({'options':{..._0x2930eb,..._0xf98dff},'args':[_0x6cbd80],'tdx':_0x127b9d});gracefulExit(_0x5df83e);});const scheduleCmd=jobCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1c8))[a2_0x43228c(0x311)](a2_0x43228c(0x1a3));scheduleCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)](a2_0x43228c(0x229))['action'](async(_0x2f0646,_0x25e63b)=>{const _0x1ca750=a2_0x43228c,_0x37e0cd=new ScheduleListCommand(),_0xa543e4=program['opts'](),_0xb6a7d=await createTDXInstance(_0xa543e4),_0xbc41fd=await _0x37e0cd[_0x1ca750(0x3ee)]({'options':{..._0xa543e4,..._0x25e63b},'args':_0x2f0646?[_0x2f0646]:[],'tdx':_0xb6a7d});gracefulExit(_0xbc41fd);}),scheduleCmd['command']('show\x20<name>')[a2_0x43228c(0x311)]('Show\x20schedule\x20details')[a2_0x43228c(0x342)](async(_0x5a06a6,_0x5da85f)=>{const _0x32f315=a2_0x43228c,_0x170691=new ScheduleShowCommand(),_0x2f4ea8=program[_0x32f315(0x339)](),_0x19a2e9=await createTDXInstance(_0x2f4ea8),_0x2b5572=await _0x170691[_0x32f315(0x3ee)]({'options':{..._0x2f4ea8,..._0x5da85f},'args':[_0x5a06a6],'tdx':_0x19a2e9});gracefulExit(_0x2b5572);}),scheduleCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x270))['description'](a2_0x43228c(0x1ae))[a2_0x43228c(0x346)]('-d,\x20--database\x20<db>',a2_0x43228c(0x289))[a2_0x43228c(0x346)](a2_0x43228c(0x38b),a2_0x43228c(0x20c))[a2_0x43228c(0x34b)](a2_0x43228c(0x1c6),'Read\x20query\x20from\x20file')[a2_0x43228c(0x346)](a2_0x43228c(0x138),a2_0x43228c(0x2bc),'trino')[a2_0x43228c(0x346)](a2_0x43228c(0x36a),'Cron\x20expression\x20for\x20scheduling')[a2_0x43228c(0x346)](a2_0x43228c(0x42b),'Timezone\x20for\x20cron\x20(default:\x20UTC)')['option'](a2_0x43228c(0x296),'Delay\x20in\x20seconds\x20before\x20execution')['option']('--priority\x20<-2~2>','Job\x20priority\x20(-2\x20to\x202)')['option'](a2_0x43228c(0x407),a2_0x43228c(0x16e))[a2_0x43228c(0x346)](a2_0x43228c(0x3b0),'Query\x20engine\x20version')[a2_0x43228c(0x346)](a2_0x43228c(0x171),a2_0x43228c(0x2ad))[a2_0x43228c(0x342)](async(_0x4415ad,_0x456acf)=>{const _0x564f3e=a2_0x43228c,_0x3697d4=new ScheduleCreateCommand(),_0x18e808=program[_0x564f3e(0x339)](),_0x5152b0=await createTDXInstance(_0x18e808);_0x456acf['in']&&(_0x456acf[_0x564f3e(0x284)]=_0x456acf['in']);const _0x538d43=await _0x3697d4['run']({'options':{..._0x18e808,..._0x456acf},'args':[_0x4415ad],'tdx':_0x5152b0});gracefulExit(_0x538d43);}),scheduleCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x372))[a2_0x43228c(0x311)](a2_0x43228c(0x14b))[a2_0x43228c(0x346)](a2_0x43228c(0x349),a2_0x43228c(0x1c5))['option']('--in\x20<db>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x43228c(0x346)](a2_0x43228c(0x1c6),a2_0x43228c(0x37e))[a2_0x43228c(0x346)]('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive')[a2_0x43228c(0x346)](a2_0x43228c(0x36a),a2_0x43228c(0x35b))[a2_0x43228c(0x346)](a2_0x43228c(0x42b),a2_0x43228c(0x23a))[a2_0x43228c(0x346)]('--delay\x20<seconds>',a2_0x43228c(0x28c))[a2_0x43228c(0x346)](a2_0x43228c(0x39f),a2_0x43228c(0x232))[a2_0x43228c(0x346)]('--retry-limit\x20<0~32>',a2_0x43228c(0x16e))[a2_0x43228c(0x346)](a2_0x43228c(0x3b0),'Query\x20engine\x20version')[a2_0x43228c(0x346)](a2_0x43228c(0x171),a2_0x43228c(0x2ad))[a2_0x43228c(0x342)](async(_0x3cecdc,_0x9c6a1a)=>{const _0x41099f=a2_0x43228c,_0x15d663=new ScheduleUpdateCommand(),_0x11a05b=program[_0x41099f(0x339)](),_0x4d26b6=await createTDXInstance(_0x11a05b);_0x9c6a1a['in']&&(_0x9c6a1a[_0x41099f(0x284)]=_0x9c6a1a['in']);const _0x58774a=await _0x15d663[_0x41099f(0x3ee)]({'options':{..._0x11a05b,..._0x9c6a1a},'args':[_0x3cecdc],'tdx':_0x4d26b6});gracefulExit(_0x58774a);}),scheduleCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1d2))[a2_0x43228c(0x311)](a2_0x43228c(0x14c))[a2_0x43228c(0x342)](async(_0x52dbfd,_0x14e170)=>{const _0x1f88f2=a2_0x43228c,_0x48e7d1=new ScheduleDeleteCommand(),_0x82d043=program[_0x1f88f2(0x339)](),_0x10d48b=await createTDXInstance(_0x82d043),_0x34b6ee=await _0x48e7d1[_0x1f88f2(0x3ee)]({'options':{..._0x82d043,..._0x14e170},'args':[_0x52dbfd],'tdx':_0x10d48b});gracefulExit(_0x34b6ee);}),scheduleCmd[a2_0x43228c(0x1fa)]('run\x20<name>')[a2_0x43228c(0x311)](a2_0x43228c(0x34a))[a2_0x43228c(0x346)](a2_0x43228c(0x3bd),a2_0x43228c(0x335))['option']('--num\x20<1-10>',a2_0x43228c(0x211))[a2_0x43228c(0x342)](async(_0x3b6634,_0xbc2e3f)=>{const _0x2a5675=new ScheduleRunCommand(),_0x3543f6=program['opts'](),_0x4a20ee=await createTDXInstance(_0x3543f6),_0x219862=await _0x2a5675['run']({'options':{..._0x3543f6,..._0xbc2e3f},'args':[_0x3b6634],'tdx':_0x4a20ee});gracefulExit(_0x219862);}),scheduleCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1ce))[a2_0x43228c(0x311)]('Show\x20schedule\x20execution\x20history')['option'](a2_0x43228c(0x2c3),a2_0x43228c(0x3e7))[a2_0x43228c(0x346)](a2_0x43228c(0x37f),'Ending\x20offset\x20(default:\x2020)')[a2_0x43228c(0x342)](async(_0x3689a1,_0xdf666c)=>{const _0x97bca4=a2_0x43228c,_0x2ed1a5=new ScheduleHistoryCommand(),_0x5bf1b9=program[_0x97bca4(0x339)](),_0x174369=await createTDXInstance(_0x5bf1b9),_0x4860c5=await _0x2ed1a5['run']({'options':{..._0x5bf1b9,..._0xdf666c},'args':[_0x3689a1],'tdx':_0x174369});gracefulExit(_0x4860c5);});const llmCmd=program[a2_0x43228c(0x1fa)]('llm')[a2_0x43228c(0x311)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd['command'](a2_0x43228c(0x42f))['description'](a2_0x43228c(0x340))[a2_0x43228c(0x342)](async(_0x4e74d1,_0x2ce285)=>{const _0x26fdea=a2_0x43228c,_0x20d27e=new LLMUseCommand(),_0x1d8245=program['opts'](),_0x306be8=await createTDXInstance(_0x1d8245),_0x19fdfd=await _0x20d27e[_0x26fdea(0x3ee)]({'options':{..._0x1d8245,..._0x2ce285},'args':[_0x4e74d1],'tdx':_0x306be8});gracefulExit(_0x19fdfd);}),llmCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2d4))[a2_0x43228c(0x311)](a2_0x43228c(0x3a2))[a2_0x43228c(0x342)](async _0x300371=>{const _0x115489=a2_0x43228c,_0x4de450=new LLMModelsCommand(),_0x34dae5=program['opts'](),_0x2d6d19=await createTDXInstance(_0x34dae5),_0x21d8e2=await _0x4de450[_0x115489(0x3ee)]({'options':{..._0x34dae5,..._0x300371},'args':[],'tdx':_0x2d6d19});gracefulExit(_0x21d8e2);});const projectCmd=llmCmd['command'](a2_0x43228c(0x341))[a2_0x43228c(0x311)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x19f211,_0x171e19)=>{const _0x43884c=new LLMProjectsCommand(),_0x38d398=program['opts'](),_0x3c249b=await createTDXInstance(_0x38d398),_0x547003=await _0x43884c['run']({'options':{..._0x38d398,..._0x171e19},'args':_0x19f211?[_0x19f211]:[],'tdx':_0x3c249b});gracefulExit(_0x547003);};projectCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x43228c(0x342)](llmProjectListAction),llmCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3cb))['description'](a2_0x43228c(0x417))['action'](llmProjectListAction),projectCmd['command'](a2_0x43228c(0x270))[a2_0x43228c(0x311)](a2_0x43228c(0x442))[a2_0x43228c(0x346)](a2_0x43228c(0x24f),'Project\x20description')[a2_0x43228c(0x342)](async(_0x5d000b,_0x1e73e5)=>{const _0x497be5=a2_0x43228c,_0x6b9c93=new LLMProjectCreateCommand(),_0x536085=program[_0x497be5(0x339)](),_0x144cca=await createTDXInstance(_0x536085),_0x2e78c7=await _0x6b9c93[_0x497be5(0x3ee)]({'options':{..._0x536085,..._0x1e73e5},'args':[_0x5d000b],'tdx':_0x144cca});gracefulExit(_0x2e78c7);}),projectCmd[a2_0x43228c(0x1fa)]('delete\x20<name>')[a2_0x43228c(0x311)](a2_0x43228c(0x1b8))[a2_0x43228c(0x342)](async(_0x46689c,_0x11bbc1)=>{const _0x42ba3a=a2_0x43228c,_0x217d97=new LLMProjectDeleteCommand(),_0x3e632c=program[_0x42ba3a(0x339)](),_0x4dc410=await createTDXInstance(_0x3e632c),_0x365d89=await _0x217d97[_0x42ba3a(0x3ee)]({'options':{..._0x3e632c,..._0x11bbc1},'args':[_0x46689c],'tdx':_0x4dc410});gracefulExit(_0x365d89);}),projectCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x21d))['description'](a2_0x43228c(0x16c))[a2_0x43228c(0x346)]('-o,\x20--output\x20<folder>',a2_0x43228c(0x31f))[a2_0x43228c(0x346)](a2_0x43228c(0x354),a2_0x43228c(0x234))['action'](async(_0xefb65d,_0x10b095)=>{const _0x3f671c=a2_0x43228c,_0x36d71e=new LLMProjectBackupCommand(),_0x4c5d21=program[_0x3f671c(0x339)](),_0x324b26=await createTDXInstance(_0x4c5d21),_0x13e3b2=await _0x36d71e[_0x3f671c(0x3ee)]({'options':{..._0x4c5d21,..._0x10b095},'args':[_0xefb65d],'tdx':_0x324b26});gracefulExit(_0x13e3b2);}),projectCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x321))[a2_0x43228c(0x311)](a2_0x43228c(0x362))[a2_0x43228c(0x346)](a2_0x43228c(0x370),a2_0x43228c(0x439))[a2_0x43228c(0x346)](a2_0x43228c(0x354),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x43228c(0x342)](async(_0x31c9ab,_0x142721)=>{const _0x412f11=a2_0x43228c,_0x5d492f=new LLMProjectRestoreCommand(),_0x45e4ac=program['opts'](),_0x58dc0f=await createTDXInstance(_0x45e4ac),_0x5002a8=await _0x5d492f[_0x412f11(0x3ee)]({'options':{..._0x45e4ac,..._0x142721},'args':[_0x31c9ab],'tdx':_0x58dc0f});gracefulExit(_0x5002a8);});const llmAgentListAction=async(_0xcb21c9,_0x5def52)=>{const _0x1dd2fc=a2_0x43228c,_0x7f25f4=new LLMAgentsCommand(),_0x152303=program[_0x1dd2fc(0x339)](),_0xaaac3a=await createTDXInstance(_0x152303),_0x910cc4=await _0x7f25f4['run']({'options':{..._0x152303,..._0x5def52},'args':_0xcb21c9?[_0xcb21c9]:[],'tdx':_0xaaac3a});gracefulExit(_0x910cc4);};llmCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x156))[a2_0x43228c(0x311)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x43228c(0x342)](llmAgentListAction),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x156))[a2_0x43228c(0x311)](a2_0x43228c(0x19f))[a2_0x43228c(0x342)](llmAgentListAction),llmCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x146))[a2_0x43228c(0x311)](a2_0x43228c(0x40e))[a2_0x43228c(0x346)](a2_0x43228c(0x432),a2_0x43228c(0x1b0))[a2_0x43228c(0x342)](async(_0x2f4b85,_0x252a98)=>{const _0x20ccb2=a2_0x43228c,_0x28db80=new LLMHistoryCommand(),_0x56d3f9=program[_0x20ccb2(0x339)](),_0x5425dd=await createTDXInstance(_0x56d3f9),_0x5cd9bb=await _0x28db80[_0x20ccb2(0x3ee)]({'options':{..._0x56d3f9,..._0x252a98},'args':_0x2f4b85?[_0x2f4b85]:[],'tdx':_0x5425dd});gracefulExit(_0x5cd9bb);});isExperimentalAvailable()&&llmCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x149))[a2_0x43228c(0x311)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x43228c(0x342)](async(_0x95f32b,_0x3ab616)=>{const _0xda1661=a2_0x43228c,_0x4b46c8=new LLMLogCommand(),_0x3a3422=program[_0xda1661(0x339)](),_0x352f21=await createTDXInstance(_0x3a3422),_0x1ae396=await _0x4b46c8['run']({'options':{..._0x3a3422,..._0x3ab616},'args':[_0x95f32b],'tdx':_0x352f21});gracefulExit(_0x1ae396);});program[a2_0x43228c(0x1fa)](a2_0x43228c(0x3df))[a2_0x43228c(0x1b1)](a2_0x43228c(0x434))[a2_0x43228c(0x311)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x43228c(0x346)](a2_0x43228c(0x458),'Continue\x20most\x20recent\x20conversation')[a2_0x43228c(0x346)](a2_0x43228c(0x2df),'Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x43228c(0x346)](a2_0x43228c(0x295),a2_0x43228c(0x1b5))['allowUnknownOption']()[a2_0x43228c(0x28d)](!![])[a2_0x43228c(0x282)](a2_0x43228c(0x143),a2_0x43228c(0x12f))[a2_0x43228c(0x342)](async(_0x137d7d,_0x4b3435)=>{const _0x50bd21=a2_0x43228c,_0x10b3bb=program['opts'](),_0x588eab=Array['isArray'](_0x137d7d)?_0x137d7d:[];if(_0x588eab[0x0]===_0x50bd21(0x30d)){const _0x660fb1=new ClaudeStatuslineCommand(),_0x439889=await _0x660fb1['run']({'options':{..._0x10b3bb,..._0x4b3435},'args':_0x588eab[_0x50bd21(0x41f)](0x1),'tdx':null});gracefulExit(_0x439889);}if(_0x588eab[0x0]===_0x50bd21(0x1b1)){const _0xe4276c=new ClaudeUsageCommand(),_0x9b2f7d=await _0xe4276c[_0x50bd21(0x3ee)]({'options':{..._0x10b3bb,..._0x4b3435},'args':_0x588eab[_0x50bd21(0x41f)](0x1),'tdx':null});gracefulExit(_0x9b2f7d);}const _0x19683f=new ClaudeCommand(),_0x35b71c=await createTDXInstance(_0x10b3bb),_0x42acb7=await _0x19683f['run']({'options':{..._0x10b3bb,..._0x4b3435},'args':_0x588eab,'tdx':_0x35b71c});gracefulExit(_0x42acb7);}),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x2c4))[a2_0x43228c(0x311)](a2_0x43228c(0x1a5))[a2_0x43228c(0x346)](a2_0x43228c(0x186),a2_0x43228c(0x3d9))[a2_0x43228c(0x346)]('--default',a2_0x43228c(0x1b6))[a2_0x43228c(0x342)](async(_0x4af39f,_0x32f9c9,_0x64cc85)=>{const _0x569e8a=a2_0x43228c,_0x5a1f75=new UseCommand(),_0x22041b=program[_0x569e8a(0x339)](),_0x5c3c1d=[];if(_0x4af39f)_0x5c3c1d[_0x569e8a(0x278)](_0x4af39f);if(_0x32f9c9)_0x5c3c1d['push'](_0x32f9c9);const _0x1c7ffa=_0x4af39f===_0x569e8a(0x2f5),_0x2fd6d0=_0x1c7ffa?await createTDXInstance(_0x22041b):null,_0x592db6=await _0x5a1f75[_0x569e8a(0x3ee)]({'options':{..._0x22041b,..._0x64cc85},'args':_0x5c3c1d,'tdx':_0x2fd6d0});gracefulExit(_0x592db6);}),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x22f))[a2_0x43228c(0x311)](a2_0x43228c(0x2ea))[a2_0x43228c(0x342)](async _0x2c69cf=>{const _0x39e529=a2_0x43228c,_0x558ecb=new StatusCommand(),_0x18c961=program[_0x39e529(0x339)](),_0x442283=await createTDXInstance(_0x18c961),_0x1939ee=await _0x558ecb[_0x39e529(0x3ee)]({'options':{..._0x18c961,..._0x2c69cf},'args':[],'tdx':_0x442283});gracefulExit(_0x1939ee);}),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x258))['description']('Upgrade\x20tdx\x20to\x20the\x20latest\x20version')[a2_0x43228c(0x346)]('--dry-run',a2_0x43228c(0x17c))[a2_0x43228c(0x346)]('--next','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')[a2_0x43228c(0x346)](a2_0x43228c(0x185),a2_0x43228c(0x412))[a2_0x43228c(0x342)](async(_0x1ac897,_0xf9fe7a)=>{const _0xeffd89=a2_0x43228c,_0xef6c68=new UpgradeCommand(),_0x3e65cf=program[_0xeffd89(0x339)](),_0x9ebfdc=await _0xef6c68['run']({'options':{..._0x3e65cf,..._0xf9fe7a},'args':_0x1ac897?[_0x1ac897]:[],'tdx':null});gracefulExit(_0x9ebfdc);}),program[a2_0x43228c(0x1fa)]('unset\x20<resource>')[a2_0x43228c(0x311)](a2_0x43228c(0x178))['option'](a2_0x43228c(0x26a),a2_0x43228c(0x33a))[a2_0x43228c(0x342)](async(_0x48df72,_0x43d2aa)=>{const _0x1c2c4d=a2_0x43228c,_0x1d48dc=new UnsetCommand(),_0x4f3976=program['opts'](),_0x41a99a=await _0x1d48dc[_0x1c2c4d(0x3ee)]({'options':{..._0x4f3976,..._0x43d2aa},'args':[_0x48df72],'tdx':null});gracefulExit(_0x41a99a);}),program['command'](a2_0x43228c(0x3d7))[a2_0x43228c(0x311)](a2_0x43228c(0x395))[a2_0x43228c(0x346)]('--last',a2_0x43228c(0x249))[a2_0x43228c(0x342)](async _0x2dd45c=>{const _0x5312ff=a2_0x43228c,_0x3cd119=new ChatsCommand(),_0x281485=program[_0x5312ff(0x339)](),_0x5ce6c4=await createTDXInstance(_0x281485),_0x96f2c6=await _0x3cd119['run']({'options':{..._0x281485,..._0x2dd45c},'args':[],'tdx':_0x5ce6c4});gracefulExit(_0x96f2c6);});const authCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x421))[a2_0x43228c(0x311)](a2_0x43228c(0x202));async function runAuthStatusCommand(_0x561d34){const _0x57f34e=a2_0x43228c,_0xb2cfd1=new AuthStatusCommand(),_0x2b5fdc=program[_0x57f34e(0x339)](),_0x38d177=await createTDXInstance(_0x2b5fdc),_0x27487c=await _0xb2cfd1['run']({'options':{..._0x2b5fdc,..._0x561d34},'args':[],'tdx':_0x38d177});gracefulExit(_0x27487c);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x22f))[a2_0x43228c(0x311)](a2_0x43228c(0x266))[a2_0x43228c(0x342)](runAuthStatusCommand),authCmd['command'](a2_0x43228c(0x290))[a2_0x43228c(0x311)]('Setup\x20API\x20key\x20authentication\x20interactively')['addHelpText'](a2_0x43228c(0x143),a2_0x43228c(0x1e3))[a2_0x43228c(0x342)](async _0x2cd995=>{const _0x2b7fa0=a2_0x43228c,_0x2f8d7b=new AuthSetupCommand(),_0x2b7f86=program['opts'](),_0x4568b7=await createTDXInstance(_0x2b7f86),_0x1f5bd5=await _0x2f8d7b[_0x2b7fa0(0x3ee)]({'options':{..._0x2b7f86,..._0x2cd995},'args':[],'tdx':_0x4568b7});gracefulExit(_0x1f5bd5);}),authCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x332))[a2_0x43228c(0x311)]('Login\x20via\x20OAuth\x20(dev\x20sites\x20only)')['addHelpText'](a2_0x43228c(0x143),a2_0x43228c(0x3fa))[a2_0x43228c(0x342)](async _0x2e044b=>{const _0x571a95=a2_0x43228c,_0x5b42e1=new AuthLoginCommand(),_0x566062=program[_0x571a95(0x339)](),_0x7b2c85=await _0x5b42e1[_0x571a95(0x3ee)]({'options':{..._0x566062,..._0x2e044b},'args':[],'tdx':null});gracefulExit(_0x7b2c85);}),authCmd[a2_0x43228c(0x1fa)]('clear')[a2_0x43228c(0x311)]('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x43228c(0x143),a2_0x43228c(0x3b9))[a2_0x43228c(0x342)](async _0x1850dc=>{const _0x1866e5=new AuthClearCommand(),_0x1c2717=program['opts'](),_0x4b0c74=await _0x1866e5['run']({'options':{..._0x1c2717,..._0x1850dc},'args':[],'tdx':null});gracefulExit(_0x4b0c74);});const userCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x353))[a2_0x43228c(0x311)](a2_0x43228c(0x167)),userListAction=async _0x259093=>{const _0x536f3c=a2_0x43228c,_0x45d01a=new UserListCommand(),_0x5ccd06=program[_0x536f3c(0x339)](),_0x123f9c=await createTDXInstance(_0x5ccd06),_0xb8cb57=await _0x45d01a[_0x536f3c(0x3ee)]({'options':{..._0x5ccd06,..._0x259093},'args':[],'tdx':_0x123f9c});gracefulExit(_0xb8cb57);};function a2_0x1bec(_0x315873,_0x523545){_0x315873=_0x315873-0x128;const _0x2e18d9=a2_0x2e18();let _0x1bec2e=_0x2e18d9[_0x315873];return _0x1bec2e;}userCmd[a2_0x43228c(0x342)](async _0x508710=>{const _0x3c6db2=a2_0x43228c,_0x56be8e=new UserCommand(),_0x421e34=program[_0x3c6db2(0x339)](),_0x3da155=await createTDXInstance(_0x421e34),_0x4475e3=await _0x56be8e['run']({'options':{..._0x421e34,..._0x508710},'args':[],'tdx':_0x3da155});gracefulExit(_0x4475e3);}),userCmd[a2_0x43228c(0x1fa)]('list')[a2_0x43228c(0x311)](a2_0x43228c(0x3b3))[a2_0x43228c(0x342)](userListAction),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x179))[a2_0x43228c(0x311)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x43228c(0x342)](userListAction);const policyCmd=program[a2_0x43228c(0x1fa)]('policy')[a2_0x43228c(0x311)]('Access\x20control\x20policy\x20commands');policyCmd[a2_0x43228c(0x342)](async _0x13e2f0=>{const _0x3737d4=a2_0x43228c,_0x3b1d9f=new PolicyCommand(),_0xa191c6=program[_0x3737d4(0x339)](),_0x9133fe=await createTDXInstance(_0xa191c6),_0x3651d9=await _0x3b1d9f['run']({'options':{..._0xa191c6,..._0x13e2f0},'args':[],'tdx':_0x9133fe});gracefulExit(_0x3651d9);}),policyCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2be))[a2_0x43228c(0x311)](a2_0x43228c(0x33d))[a2_0x43228c(0x342)](async _0x504ad2=>{const _0xc2ecea=a2_0x43228c,_0x3c8398=new PolicyListCommand(),_0x56e454=program['opts'](),_0x3318b3=await createTDXInstance(_0x56e454),_0x1cf316=await _0x3c8398[_0xc2ecea(0x3ee)]({'options':{..._0x56e454,..._0x504ad2},'args':[],'tdx':_0x3318b3});gracefulExit(_0x1cf316);}),policyCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x191))[a2_0x43228c(0x311)]('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0x43228c(0x342)](async(_0x3a4101,_0x29ca87)=>{const _0x361548=a2_0x43228c,_0x2dde44=new PolicyShowCommand(),_0x251072=program[_0x361548(0x339)](),_0x4f77e2=await createTDXInstance(_0x251072),_0x703b2=await _0x2dde44[_0x361548(0x3ee)]({'options':{..._0x251072,..._0x29ca87},'args':[_0x3a4101],'tdx':_0x4f77e2});gracefulExit(_0x703b2);}),program[a2_0x43228c(0x1fa)]('profiles')['description']('List\x20all\x20available\x20profiles')['action'](async _0x448fe3=>{const _0x1d7a48=a2_0x43228c,_0x108bfa=new ProfilesCommand(),_0x4ea644=program[_0x1d7a48(0x339)](),_0x1ca452=await _0x108bfa[_0x1d7a48(0x3ee)]({'options':{..._0x4ea644,..._0x448fe3},'args':[],'tdx':null});gracefulExit(_0x1ca452);});const profileCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x1b9))[a2_0x43228c(0x311)](a2_0x43228c(0x139));profileCmd[a2_0x43228c(0x342)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x412909=>{const _0x40838d=a2_0x43228c,_0x343570=new ProfilesCommand(),_0x38b259=program['opts'](),_0x2f6f20=await _0x343570[_0x40838d(0x3ee)]({'options':{..._0x38b259,..._0x412909},'args':[],'tdx':null});gracefulExit(_0x2f6f20);};profileCmd['command']('list')[a2_0x43228c(0x311)](a2_0x43228c(0x2ae))[a2_0x43228c(0x342)](profileListAction),profileCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1ea))[a2_0x43228c(0x311)](a2_0x43228c(0x32c))[a2_0x43228c(0x282)](a2_0x43228c(0x143),a2_0x43228c(0x39a))['action'](async(_0x40a097,_0x2a6116)=>{const _0xf0ea2a=a2_0x43228c,_0x31139b=new ProfileCreateCommand(),_0x55fdf1=program[_0xf0ea2a(0x339)](),_0x4cc7b4=await _0x31139b[_0xf0ea2a(0x3ee)]({'options':{..._0x55fdf1,..._0x2a6116},'args':_0x40a097?[_0x40a097]:[],'tdx':null});gracefulExit(_0x4cc7b4);}),profileCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3a7))['description'](a2_0x43228c(0x1cf))[a2_0x43228c(0x282)]('after',a2_0x43228c(0x329))[a2_0x43228c(0x342)](async(_0x5c40b3,_0x4d1028)=>{const _0x1f2334=a2_0x43228c,_0x1472ea=new ProfileRemoveCommand(),_0x72a69c=program[_0x1f2334(0x339)](),_0x17bc80=await _0x1472ea[_0x1f2334(0x3ee)]({'options':{..._0x72a69c,..._0x4d1028},'args':[_0x5c40b3],'tdx':null});gracefulExit(_0x17bc80);}),profileCmd[a2_0x43228c(0x1fa)]('set\x20<key=value>')[a2_0x43228c(0x311)](a2_0x43228c(0x215))[a2_0x43228c(0x282)](a2_0x43228c(0x143),'\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')['action'](async(_0x77453f,_0x101902)=>{const _0x3a96d1=a2_0x43228c,_0x100007=new ProfileSetCommand(),_0xd6ec4e=program['opts'](),_0xf35528=await _0x100007[_0x3a96d1(0x3ee)]({'options':{..._0xd6ec4e,..._0x101902},'args':[_0x77453f],'tdx':null});gracefulExit(_0xf35528);}),profileCmd['command']('use\x20<name>')[a2_0x43228c(0x311)](a2_0x43228c(0x455))[a2_0x43228c(0x346)](a2_0x43228c(0x26a),a2_0x43228c(0x1b6))['addHelpText'](a2_0x43228c(0x143),a2_0x43228c(0x36d))[a2_0x43228c(0x342)](async(_0xa66033,_0x4f4090)=>{const _0x453692=a2_0x43228c,_0x816833=new ProfileUseCommand(),_0x26b5b6=program[_0x453692(0x339)](),_0x202609=await _0x816833[_0x453692(0x3ee)]({'options':{..._0x26b5b6,..._0x4f4090},'args':[_0xa66033],'tdx':null});gracefulExit(_0x202609);});const engageCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x37a))['description'](a2_0x43228c(0x19e)),createEngageAction=_0xbf7b1e=>{return async(_0x20d795,_0xb7e9f2)=>{const _0x34e0b4=a2_0x1bec,_0x5d06f7=new _0xbf7b1e(),_0x4e18eb=program[_0x34e0b4(0x339)](),_0x28c66e=await createTDXInstance(_0x4e18eb),_0x1e9aea=await _0x5d06f7[_0x34e0b4(0x3ee)]({'options':{..._0x4e18eb,..._0xb7e9f2},'args':[_0x20d795],'tdx':_0x28c66e});gracefulExit(_0x1e9aea);};},createEngageNoArgAction=_0x248406=>{return async _0x2e8d40=>{const _0xd8316=a2_0x1bec,_0x5e334e=new _0x248406(),_0x15ca2b=program[_0xd8316(0x339)](),_0x4a2762=await createTDXInstance(_0x15ca2b),_0x4e7942=await _0x5e334e[_0xd8316(0x3ee)]({'options':{..._0x15ca2b,..._0x2e8d40},'args':[],'tdx':_0x4a2762});gracefulExit(_0x4e7942);};},createEngageListAction=_0x32d7c1=>{return async(_0x57eb43,_0x2f289f)=>{const _0x21700a=a2_0x1bec,_0x17f27b=new _0x32d7c1(),_0x4b481f=program[_0x21700a(0x339)](),_0x5921f7=await createTDXInstance(_0x4b481f),_0x506241=await _0x17f27b[_0x21700a(0x3ee)]({'options':{..._0x4b481f,..._0x2f289f},'args':_0x57eb43?[_0x57eb43]:[],'tdx':_0x5921f7});gracefulExit(_0x506241);};},campaignCmd=engageCmd['command'](a2_0x43228c(0x3ae))[a2_0x43228c(0x311)](a2_0x43228c(0x256));campaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)](a2_0x43228c(0x315))[a2_0x43228c(0x346)](a2_0x43228c(0x138),a2_0x43228c(0x2fc))[a2_0x43228c(0x346)](a2_0x43228c(0x441),a2_0x43228c(0x3fe))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),a2_0x43228c(0x323))[a2_0x43228c(0x342)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x43228c(0x1bd))[a2_0x43228c(0x311)](a2_0x43228c(0x2c1))[a2_0x43228c(0x346)](a2_0x43228c(0x138),a2_0x43228c(0x2fc))[a2_0x43228c(0x346)](a2_0x43228c(0x441),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),'Workspace\x20name')[a2_0x43228c(0x342)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3e9))[a2_0x43228c(0x311)](a2_0x43228c(0x1e1))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),'Workspace\x20name')[a2_0x43228c(0x346)](a2_0x43228c(0x2d1),a2_0x43228c(0x34c))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x29b))['description'](a2_0x43228c(0x2b4))[a2_0x43228c(0x34b)](a2_0x43228c(0x299),'Campaign\x20name')[a2_0x43228c(0x34b)](a2_0x43228c(0x138),a2_0x43228c(0x2ff))['option'](a2_0x43228c(0x3cf),a2_0x43228c(0x3c2))[a2_0x43228c(0x346)](a2_0x43228c(0x2dc),a2_0x43228c(0x39c))['option']('--segment\x20<path>',a2_0x43228c(0x3ac))[a2_0x43228c(0x346)](a2_0x43228c(0x1cc),a2_0x43228c(0x444))[a2_0x43228c(0x346)](a2_0x43228c(0x203),a2_0x43228c(0x219))['option'](a2_0x43228c(0x142),a2_0x43228c(0x30f))[a2_0x43228c(0x346)](a2_0x43228c(0x42b),a2_0x43228c(0x3f9))['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x43228c(0x1fa)]('update\x20<name-or-id>')[a2_0x43228c(0x311)](a2_0x43228c(0x241))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),'Workspace\x20name')[a2_0x43228c(0x346)](a2_0x43228c(0x299),'New\x20campaign\x20name')[a2_0x43228c(0x346)]('--description\x20<desc>',a2_0x43228c(0x39c))[a2_0x43228c(0x346)](a2_0x43228c(0x21b),a2_0x43228c(0x3ac))[a2_0x43228c(0x346)](a2_0x43228c(0x1cc),a2_0x43228c(0x444))[a2_0x43228c(0x346)](a2_0x43228c(0x203),a2_0x43228c(0x219))[a2_0x43228c(0x346)](a2_0x43228c(0x142),a2_0x43228c(0x30f))[a2_0x43228c(0x346)](a2_0x43228c(0x42b),a2_0x43228c(0x3f9))[a2_0x43228c(0x342)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x43228c(0x1fa)]('delete\x20<name-or-id>')['description'](a2_0x43228c(0x388))['option'](a2_0x43228c(0x3cf),a2_0x43228c(0x323))['option'](a2_0x43228c(0x188),a2_0x43228c(0x431))[a2_0x43228c(0x342)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x43228c(0x1fa)]('launch\x20<name-or-id>')[a2_0x43228c(0x311)](a2_0x43228c(0x32a))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),a2_0x43228c(0x323))[a2_0x43228c(0x342)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x43228c(0x1fa)]('pause\x20<name-or-id>')[a2_0x43228c(0x311)](a2_0x43228c(0x292))['option'](a2_0x43228c(0x3cf),a2_0x43228c(0x323))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x218))[a2_0x43228c(0x311)](a2_0x43228c(0x37b))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),'Workspace\x20name')[a2_0x43228c(0x342)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x408))['description'](a2_0x43228c(0x44e))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),'Workspace\x20name')['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd['command'](a2_0x43228c(0x393))['description'](a2_0x43228c(0x449))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),'Workspace\x20name')[a2_0x43228c(0x346)](a2_0x43228c(0x299),a2_0x43228c(0x413))[a2_0x43228c(0x346)](a2_0x43228c(0x138),a2_0x43228c(0x2fc))[a2_0x43228c(0x346)]('--dry-run',a2_0x43228c(0x318))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x43228c(0x1fa)]('push\x20[target]')[a2_0x43228c(0x311)](a2_0x43228c(0x3b2))[a2_0x43228c(0x346)]('--workspace\x20<name>',a2_0x43228c(0x323))['option']('--dry-run',a2_0x43228c(0x132))[a2_0x43228c(0x342)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command'](a2_0x43228c(0x279))['description'](a2_0x43228c(0x40f))[a2_0x43228c(0x346)]('--verbose',a2_0x43228c(0x2a7))[a2_0x43228c(0x342)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x43228c(0x1fa)]('always-on-campaign')[a2_0x43228c(0x311)]('Always-on\x20campaign\x20management');alwaysOnCampaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)](a2_0x43228c(0x226))[a2_0x43228c(0x346)](a2_0x43228c(0x138),a2_0x43228c(0x2fc))[a2_0x43228c(0x346)](a2_0x43228c(0x441),a2_0x43228c(0x29c))[a2_0x43228c(0x34b)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x43228c(0x342)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command'](a2_0x43228c(0x1d4))[a2_0x43228c(0x311)](a2_0x43228c(0x2e0))[a2_0x43228c(0x346)](a2_0x43228c(0x138),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x43228c(0x346)](a2_0x43228c(0x441),a2_0x43228c(0x29c))[a2_0x43228c(0x34b)]('--workspace\x20<name>',a2_0x43228c(0x3c2))[a2_0x43228c(0x342)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3e9))[a2_0x43228c(0x311)](a2_0x43228c(0x213))[a2_0x43228c(0x34b)]('--workspace\x20<name>','Workspace\x20name\x20(required)')['option'](a2_0x43228c(0x2d1),a2_0x43228c(0x34c))[a2_0x43228c(0x342)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x29b))[a2_0x43228c(0x311)](a2_0x43228c(0x23b))[a2_0x43228c(0x34b)](a2_0x43228c(0x299),'Campaign\x20name')[a2_0x43228c(0x34b)]('--type\x20<type>',a2_0x43228c(0x2ff))[a2_0x43228c(0x34b)]('--workspace\x20<name>',a2_0x43228c(0x3c2))[a2_0x43228c(0x346)](a2_0x43228c(0x2dc),a2_0x43228c(0x39c))[a2_0x43228c(0x346)]('--segment\x20<path>',a2_0x43228c(0x1c0))[a2_0x43228c(0x346)]('--enable-utm-tracking',a2_0x43228c(0x222))[a2_0x43228c(0x342)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x43228c(0x1fa)]('update\x20<name-or-id>')['description'](a2_0x43228c(0x30e))[a2_0x43228c(0x34b)]('--workspace\x20<name>',a2_0x43228c(0x3c2))['option'](a2_0x43228c(0x299),a2_0x43228c(0x3f0))[a2_0x43228c(0x346)](a2_0x43228c(0x2dc),'Campaign\x20description')['option']('--segment\x20<path>',a2_0x43228c(0x1c0))['option'](a2_0x43228c(0x36f),a2_0x43228c(0x222))[a2_0x43228c(0x342)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x15b))[a2_0x43228c(0x311)](a2_0x43228c(0x1dd))[a2_0x43228c(0x34b)](a2_0x43228c(0x3cf),a2_0x43228c(0x3c2))['option']('--yes','Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd['command'](a2_0x43228c(0x265))['description'](a2_0x43228c(0x420))[a2_0x43228c(0x34b)](a2_0x43228c(0x3cf),'Workspace\x20name\x20(required)')[a2_0x43228c(0x342)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x144))['description'](a2_0x43228c(0x13e))[a2_0x43228c(0x34b)](a2_0x43228c(0x3cf),a2_0x43228c(0x3c2))[a2_0x43228c(0x342)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x218))[a2_0x43228c(0x311)](a2_0x43228c(0x410))[a2_0x43228c(0x34b)](a2_0x43228c(0x3cf),a2_0x43228c(0x3c2))[a2_0x43228c(0x342)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1d6))[a2_0x43228c(0x311)]('Finish\x20an\x20always-on\x20campaign')[a2_0x43228c(0x34b)](a2_0x43228c(0x3cf),a2_0x43228c(0x3c2))[a2_0x43228c(0x346)]('--yes','Skip\x20confirmation\x20prompt')[a2_0x43228c(0x342)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command']('duplicate\x20<name-or-id>')[a2_0x43228c(0x311)](a2_0x43228c(0x17f))[a2_0x43228c(0x34b)]('--workspace\x20<name>',a2_0x43228c(0x3c2))[a2_0x43228c(0x34b)]('--name\x20<name>','Name\x20for\x20the\x20duplicated\x20campaign')['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x190))['description'](a2_0x43228c(0x160));templateCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))['description'](a2_0x43228c(0x3e6))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),a2_0x43228c(0x323))[a2_0x43228c(0x342)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2d7))[a2_0x43228c(0x311)](a2_0x43228c(0x148))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),a2_0x43228c(0x323))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x43228c(0x1fa)]('show\x20<name-or-id>')[a2_0x43228c(0x311)]('Show\x20email\x20template\x20details')['option']('--workspace\x20<name>',a2_0x43228c(0x323))[a2_0x43228c(0x346)](a2_0x43228c(0x2d1),a2_0x43228c(0x34c))[a2_0x43228c(0x342)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x43228c(0x29b))[a2_0x43228c(0x311)](a2_0x43228c(0x2a4))[a2_0x43228c(0x34b)](a2_0x43228c(0x299),a2_0x43228c(0x2af))[a2_0x43228c(0x34b)](a2_0x43228c(0x403),a2_0x43228c(0x347))[a2_0x43228c(0x346)](a2_0x43228c(0x360),a2_0x43228c(0x2fb))[a2_0x43228c(0x346)](a2_0x43228c(0x322),a2_0x43228c(0x31a))[a2_0x43228c(0x346)]('--workspace\x20<name>',a2_0x43228c(0x3c2))[a2_0x43228c(0x346)](a2_0x43228c(0x150),a2_0x43228c(0x2f6))[a2_0x43228c(0x346)]('--editor-type\x20<type>',a2_0x43228c(0x302),_0x2012c=>{const _0x386c96=a2_0x43228c;if(!['beefree','grapesjs'][_0x386c96(0x3fc)](_0x2012c))throw new SDKError(ErrorCode[_0x386c96(0x1f1)],_0x386c96(0x446)+_0x2012c+_0x386c96(0x271));return _0x2012c;})[a2_0x43228c(0x342)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x381))[a2_0x43228c(0x311)](a2_0x43228c(0x12a))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),a2_0x43228c(0x323))[a2_0x43228c(0x346)]('--name\x20<name>',a2_0x43228c(0x235))[a2_0x43228c(0x346)](a2_0x43228c(0x403),a2_0x43228c(0x347))[a2_0x43228c(0x346)]('--html\x20<html>','HTML\x20template\x20content')[a2_0x43228c(0x346)]('--html-file\x20<path>',a2_0x43228c(0x31a))[a2_0x43228c(0x346)](a2_0x43228c(0x150),'Plaintext\x20template\x20content')[a2_0x43228c(0x342)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x43228c(0x1fa)]('pull\x20[workspace]')[a2_0x43228c(0x311)](a2_0x43228c(0x34e))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),a2_0x43228c(0x323))[a2_0x43228c(0x346)]('--name\x20<name>','Pull\x20specific\x20template\x20by\x20name')[a2_0x43228c(0x346)](a2_0x43228c(0x2e1),'Skip\x20confirmation\x20prompt')[a2_0x43228c(0x346)](a2_0x43228c(0x354),a2_0x43228c(0x318))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd['command'](a2_0x43228c(0x324))[a2_0x43228c(0x311)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')['option']('--workspace\x20<name>',a2_0x43228c(0x323))[a2_0x43228c(0x346)]('-y,\x20--yes',a2_0x43228c(0x431))['option']('--dry-run',a2_0x43228c(0x132))[a2_0x43228c(0x342)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x279))[a2_0x43228c(0x311)]('Validate\x20template\x20YAML\x20files\x20locally')[a2_0x43228c(0x346)](a2_0x43228c(0x3bf),a2_0x43228c(0x2a7))[a2_0x43228c(0x342)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x43228c(0x1fa)]('delete\x20<name-or-id>')[a2_0x43228c(0x311)](a2_0x43228c(0x3a9))['option'](a2_0x43228c(0x3cf),a2_0x43228c(0x323))['option'](a2_0x43228c(0x188),a2_0x43228c(0x431))[a2_0x43228c(0x342)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x43228c(0x1fa)]('workspace')['description'](a2_0x43228c(0x1bb));workspaceCmd[a2_0x43228c(0x1fa)]('list\x20[pattern]')[a2_0x43228c(0x311)](a2_0x43228c(0x210))[a2_0x43228c(0x342)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command']('workspaces\x20[pattern]')[a2_0x43228c(0x311)](a2_0x43228c(0x1be))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x43228c(0x3e9))[a2_0x43228c(0x311)]('Show\x20workspace\x20details')[a2_0x43228c(0x346)](a2_0x43228c(0x2d1),a2_0x43228c(0x34c))[a2_0x43228c(0x342)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x29b))[a2_0x43228c(0x311)](a2_0x43228c(0x1c2))['requiredOption'](a2_0x43228c(0x299),a2_0x43228c(0x323))[a2_0x43228c(0x346)](a2_0x43228c(0x2dc),'Workspace\x20description')[a2_0x43228c(0x342)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x381))[a2_0x43228c(0x311)](a2_0x43228c(0x134))[a2_0x43228c(0x346)](a2_0x43228c(0x299),'New\x20workspace\x20name')[a2_0x43228c(0x346)](a2_0x43228c(0x2dc),'Workspace\x20description')['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x43228c(0x15b))[a2_0x43228c(0x311)]('Delete\x20a\x20workspace')['option'](a2_0x43228c(0x188),'Skip\x20confirmation\x20prompt')[a2_0x43228c(0x342)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x43228c(0x1fa)]('use\x20<name>')[a2_0x43228c(0x311)](a2_0x43228c(0x1b3))[a2_0x43228c(0x342)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x43228c(0x1fa)]('delivery')[a2_0x43228c(0x311)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x454))[a2_0x43228c(0x311)](a2_0x43228c(0x272))[a2_0x43228c(0x346)](a2_0x43228c(0x3cf),a2_0x43228c(0x323))[a2_0x43228c(0x342)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command']('connection')[a2_0x43228c(0x311)](a2_0x43228c(0x165)),connectionListAction=async _0x2a00ad=>{const _0x2f1680=a2_0x43228c,_0x11aa85=new ConnectionListCommand(),_0x5bba9f=program[_0x2f1680(0x339)](),_0x3f1e8c=await createTDXInstance(_0x5bba9f),_0x555c08=await _0x11aa85[_0x2f1680(0x3ee)]({'options':{..._0x5bba9f,..._0x2a00ad},'args':[],'tdx':_0x3f1e8c});gracefulExit(_0x555c08);};connectionCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2be))[a2_0x43228c(0x311)](a2_0x43228c(0x398))[a2_0x43228c(0x342)](connectionListAction),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x287),{'hidden':!![]})[a2_0x43228c(0x311)](a2_0x43228c(0x12d))[a2_0x43228c(0x342)](connectionListAction),connectionCmd['command'](a2_0x43228c(0x3b7))[a2_0x43228c(0x311)]('Show\x20connection\x20details\x20by\x20name')[a2_0x43228c(0x342)](async(_0x463a22,_0x1c30f8)=>{const _0x4af6c6=a2_0x43228c,_0x50ef4b=new ConnectionShowCommand(),_0x307717=program[_0x4af6c6(0x339)](),_0x26e13e=await createTDXInstance(_0x307717),_0x405600=await _0x50ef4b['run']({'options':{..._0x307717,..._0x1c30f8},'args':[_0x463a22],'tdx':_0x26e13e});gracefulExit(_0x405600);}),connectionCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x438))[a2_0x43228c(0x311)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x43228c(0x342)](async(_0x115b11,_0x4a1213)=>{const _0x46fc9e=a2_0x43228c,_0x13276c=new ConnectionSchemaCommand(),_0x887d5c=program[_0x46fc9e(0x339)](),_0x3bca04=await createTDXInstance(_0x887d5c),_0xdf1fcc=await _0x13276c[_0x46fc9e(0x3ee)]({'options':{..._0x887d5c,..._0x4a1213},'args':[_0x115b11],'tdx':_0x3bca04});gracefulExit(_0xdf1fcc);}),connectionCmd['command'](a2_0x43228c(0x21e))[a2_0x43228c(0x311)](a2_0x43228c(0x233))[a2_0x43228c(0x342)](async _0x315e33=>{const _0x315ee4=a2_0x43228c,_0x544e5c=new ConnectionTypesCommand(),_0x3ee12f=program[_0x315ee4(0x339)](),_0x44d4a3=await createTDXInstance(_0x3ee12f),_0x130587=await _0x544e5c[_0x315ee4(0x3ee)]({'options':{..._0x3ee12f,..._0x315e33},'args':[],'tdx':_0x44d4a3});gracefulExit(_0x130587);}),connectionCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x351))[a2_0x43228c(0x311)](a2_0x43228c(0x35c))[a2_0x43228c(0x342)](async(_0x374222,_0x418acb)=>{const _0x29c35f=a2_0x43228c,_0x43ad85=new ConnectionSettingsCommand(),_0x23560e=program[_0x29c35f(0x339)](),_0x2abcc0=await createTDXInstance(_0x23560e),_0x392032=await _0x43ad85[_0x29c35f(0x3ee)]({'options':{..._0x23560e,..._0x418acb},'args':[_0x374222],'tdx':_0x2abcc0});gracefulExit(_0x392032);});const casCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x141))['description']('Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)');casCmd[a2_0x43228c(0x1fa)]('list')[a2_0x43228c(0x311)](a2_0x43228c(0x159))[a2_0x43228c(0x342)](async _0x72cda4=>{const _0x225a2b=new CASListCommand(),_0xd73660=program['opts'](),_0x32bbc7=await createTDXInstance(_0xd73660),_0x28d5bd=await _0x225a2b['run']({'options':{..._0xd73660,..._0x72cda4},'args':[],'tdx':_0x32bbc7});gracefulExit(_0x28d5bd);}),casCmd[a2_0x43228c(0x1fa)]('desc\x20[name]')[a2_0x43228c(0x311)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0xff3956,_0x3a19c7)=>{const _0x1ec660=a2_0x43228c,_0x3f89f9=new CASDescCommand(),_0x3adf55=program[_0x1ec660(0x339)](),_0x1c5bc9=await createTDXInstance(_0x3adf55),_0x35386b=await _0x3f89f9['run']({'options':{..._0x3adf55,..._0x3a19c7},'args':_0xff3956?[_0xff3956]:[],'tdx':_0x1c5bc9});gracefulExit(_0x35386b);}),casCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3c1))[a2_0x43228c(0x311)](a2_0x43228c(0x3e1))[a2_0x43228c(0x346)](a2_0x43228c(0x337),a2_0x43228c(0x3d6))['option'](a2_0x43228c(0x354),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x43228c(0x342)](async(_0x401ac5,_0x40b2da)=>{const _0x2a2beb=a2_0x43228c,_0x16c34e=new CASPullCommand(),_0xf92779=program[_0x2a2beb(0x339)](),_0x36a1a5=await createTDXInstance(_0xf92779),_0x340b3f=await _0x16c34e['run']({'options':{..._0xf92779,..._0x40b2da},'args':_0x401ac5?[_0x401ac5]:[],'tdx':_0x36a1a5});gracefulExit(_0x340b3f);}),casCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x324))[a2_0x43228c(0x311)](a2_0x43228c(0x201))[a2_0x43228c(0x346)](a2_0x43228c(0x354),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x43228c(0x342)](async(_0x2ca303,_0x5c6df0)=>{const _0x125952=a2_0x43228c,_0x3e7545=new CASPushCommand(),_0x273fab=program[_0x125952(0x339)](),_0x4396a3=await createTDXInstance(_0x273fab),_0x503aff=await _0x3e7545[_0x125952(0x3ee)]({'options':{..._0x273fab,..._0x5c6df0},'args':_0x2ca303?[_0x2ca303]:[],'tdx':_0x4396a3});gracefulExit(_0x503aff);}),casCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x25e))[a2_0x43228c(0x311)]('Preview\x20composable\x20segment\x20query\x20on\x20CDW')[a2_0x43228c(0x346)](a2_0x43228c(0x12e),a2_0x43228c(0x20e))['action'](async(_0x331831,_0x3cb779)=>{const _0x5eab6b=new CASPreviewCommand(),_0x572d1d=program['opts'](),_0x312ce1=await createTDXInstance(_0x572d1d),_0x599fe8=await _0x5eab6b['run']({'options':{..._0x572d1d,..._0x3cb779},'args':[_0x331831,_0x3cb779['audience']],'tdx':_0x312ce1});gracefulExit(_0x599fe8);});const casSgCmd=casCmd[a2_0x43228c(0x1fa)]('sg')[a2_0x43228c(0x311)](a2_0x43228c(0x1ba));casSgCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x397))[a2_0x43228c(0x311)](a2_0x43228c(0x170))[a2_0x43228c(0x342)](async(_0x244703,_0x5b265e)=>{const _0xb0f701=a2_0x43228c,_0x3eca53=new CASSegmentListCommand(),_0xb2f9c5=program[_0xb0f701(0x339)](),_0x2f1f42=await createTDXInstance(_0xb2f9c5),_0x6f39c9=await _0x3eca53[_0xb0f701(0x3ee)]({'options':{..._0xb2f9c5,..._0x5b265e},'args':_0x244703?[_0x244703]:[],'tdx':_0x2f1f42});gracefulExit(_0x6f39c9);});const journeyCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x2d2))[a2_0x43228c(0x311)](a2_0x43228c(0x348)),journeyListAction=async(_0x5a9e87,_0x847978)=>{const _0x1414a3=a2_0x43228c,_0x118b42=new JourneyListCommand(),_0x55e3ac=program[_0x1414a3(0x339)](),_0xfd01a1=await createTDXInstance(_0x55e3ac),_0x2bbffd=await _0x118b42[_0x1414a3(0x3ee)]({'options':{..._0x55e3ac,..._0x847978},'args':_0x5a9e87?[_0x5a9e87]:[],'tdx':_0xfd01a1});gracefulExit(_0x2bbffd);};journeyCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)]('List\x20journeys\x20in\x20current\x20context')[a2_0x43228c(0x342)](journeyListAction),journeyCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3f2))[a2_0x43228c(0x311)](a2_0x43228c(0x260))[a2_0x43228c(0x346)](a2_0x43228c(0x1fc),a2_0x43228c(0x430))[a2_0x43228c(0x346)](a2_0x43228c(0x2de),a2_0x43228c(0x283))['action'](async(_0x597db9,_0x34d561)=>{const _0x5884dc=a2_0x43228c,_0x9a93f1=new JourneyViewCommand(),_0x5ccaef=program[_0x5884dc(0x339)](),_0x494d5c=await createTDXInstance(_0x5ccaef),_0x53e05e=await _0x9a93f1[_0x5884dc(0x3ee)]({'options':{..._0x5ccaef,..._0x34d561},'args':[_0x597db9],'tdx':_0x494d5c});gracefulExit(_0x53e05e);}),journeyCmd[a2_0x43228c(0x1fa)]('stats\x20<name-or-path>')[a2_0x43228c(0x311)](a2_0x43228c(0x433))[a2_0x43228c(0x346)]('--stage\x20<name>',a2_0x43228c(0x21f))[a2_0x43228c(0x346)]('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x43228c(0x346)](a2_0x43228c(0x268),a2_0x43228c(0x22e))[a2_0x43228c(0x346)]('--include-history','Include\x20raw\x20history\x20data\x20in\x20output')[a2_0x43228c(0x342)](async(_0x575172,_0x1a7bc7)=>{const _0x3d1eb4=a2_0x43228c,_0x237ab7=new JourneyStatsCommand(),_0x133392=program[_0x3d1eb4(0x339)](),_0x1113da=await createTDXInstance(_0x133392),_0x350125=await _0x237ab7['run']({'options':{..._0x133392,..._0x1a7bc7},'args':[_0x575172],'tdx':_0x1113da});gracefulExit(_0x350125);}),journeyCmd[a2_0x43228c(0x1fa)]('traffic\x20<name-or-path>')['description'](a2_0x43228c(0x1b7))[a2_0x43228c(0x346)](a2_0x43228c(0x138),'Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')[a2_0x43228c(0x346)](a2_0x43228c(0x239),a2_0x43228c(0x355))[a2_0x43228c(0x346)](a2_0x43228c(0x268),a2_0x43228c(0x22e))[a2_0x43228c(0x346)](a2_0x43228c(0x457),a2_0x43228c(0x3ab),_0x214383=>{const _0x26035f=a2_0x43228c,_0x5a4a80=parseInt(_0x214383,0xa);if(isNaN(_0x5a4a80))throw new Error(_0x26035f(0x418)+_0x214383+'\x22.\x20Must\x20be\x20a\x20number.');return _0x5a4a80;})['action'](async(_0x11663d,_0x161d94)=>{const _0x1fcbb2=a2_0x43228c,_0x4105aa=new JourneyTrafficCommand(),_0x121991=program[_0x1fcbb2(0x339)](),_0xd7a27e=await createTDXInstance(_0x121991),_0x2a5b51=await _0x4105aa[_0x1fcbb2(0x3ee)]({'options':{..._0x121991,..._0x161d94},'args':[_0x11663d],'tdx':_0xd7a27e});gracefulExit(_0x2a5b51);}),journeyCmd[a2_0x43228c(0x1fa)]('pause\x20<name-or-path>')[a2_0x43228c(0x311)](a2_0x43228c(0x2ed))[a2_0x43228c(0x342)](async(_0x48e50f,_0x23e59a)=>{const _0xcc7688=a2_0x43228c,_0x5015fc=new JourneyPauseCommand(),_0x37bcce=program[_0xcc7688(0x339)](),_0x2c3705=await createTDXInstance(_0x37bcce),_0x524ed7=await _0x5015fc[_0xcc7688(0x3ee)]({'options':{..._0x37bcce,..._0x23e59a},'args':[_0x48e50f],'tdx':_0x2c3705});gracefulExit(_0x524ed7);}),journeyCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x359))[a2_0x43228c(0x311)](a2_0x43228c(0x3eb))['action'](async(_0x2636c3,_0x1e6754)=>{const _0x29d7b4=a2_0x43228c,_0x1ebe8c=new JourneyResumeCommand(),_0x29c0f3=program[_0x29d7b4(0x339)](),_0x4926cf=await createTDXInstance(_0x29c0f3),_0x2d7442=await _0x1ebe8c[_0x29d7b4(0x3ee)]({'options':{..._0x29c0f3,..._0x1e6754},'args':[_0x2636c3],'tdx':_0x4926cf});gracefulExit(_0x2d7442);}),journeyCmd['command'](a2_0x43228c(0x3c1))[a2_0x43228c(0x311)]('Export\x20journey(s)\x20as\x20YAML\x20files')['option']('--dry-run',a2_0x43228c(0x2b8))[a2_0x43228c(0x342)](async(_0x55db8,_0x10caf6)=>{const _0x413e66=a2_0x43228c,_0x2761fd=new JourneyPullCommand(),_0x47e2a2=program[_0x413e66(0x339)](),_0x30cb4a=await createTDXInstance(_0x47e2a2),_0x4e5de0=await _0x2761fd[_0x413e66(0x3ee)]({'options':{..._0x47e2a2,..._0x10caf6},'args':_0x55db8?[_0x55db8]:[],'tdx':_0x30cb4a});gracefulExit(_0x4e5de0);}),journeyCmd[a2_0x43228c(0x1fa)]('push\x20[target]')[a2_0x43228c(0x311)](a2_0x43228c(0x1a7))['action'](async(_0x43f77a,_0x33e54a)=>{const _0x2115f6=a2_0x43228c,_0xd8f3f5=new JourneyPushCommand(),_0x587189=program[_0x2115f6(0x339)](),_0x3d73c9=await createTDXInstance(_0x587189),_0x5743c3=await _0xd8f3f5[_0x2115f6(0x3ee)]({'options':{..._0x587189,..._0x33e54a},'args':_0x43f77a?[_0x43f77a]:[],'tdx':_0x3d73c9});gracefulExit(_0x5743c3);}),journeyCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x18e))['description'](a2_0x43228c(0x2da))['action'](async(_0x3059b2,_0x24cbe3)=>{const _0x2b965c=a2_0x43228c,_0x8150c6=new JourneyColumnsCommand(),_0x5a88d8=program[_0x2b965c(0x339)](),_0x199071=await createTDXInstance(_0x5a88d8),_0x2eefa6=await _0x8150c6['run']({'options':{..._0x5a88d8,..._0x24cbe3},'args':[_0x3059b2],'tdx':_0x199071});gracefulExit(_0x2eefa6);}),journeyCmd['command']('activations\x20<name-or-path>')[a2_0x43228c(0x311)](a2_0x43228c(0x343))[a2_0x43228c(0x342)](async(_0x14140d,_0x1875c8)=>{const _0x2234e6=a2_0x43228c,_0x37319c=new JourneyActivationsCommand(),_0x291963=program[_0x2234e6(0x339)](),_0x2fbb69=await createTDXInstance(_0x291963),_0x54df84=await _0x37319c['run']({'options':{..._0x291963,..._0x1875c8},'args':[_0x14140d],'tdx':_0x2fbb69});gracefulExit(_0x54df84);}),journeyCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x380))['description']('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x43228c(0x342)](async(_0x1c0820,_0x165b94)=>{const _0x23ee65=a2_0x43228c,_0x42b1ab=new JourneyVersionsCommand(),_0xe0837f=program[_0x23ee65(0x339)](),_0x5c3b2e=await createTDXInstance(_0xe0837f),_0x4047d7=await _0x42b1ab[_0x23ee65(0x3ee)]({'options':{..._0xe0837f,..._0x165b94},'args':[_0x1c0820],'tdx':_0x5c3b2e});gracefulExit(_0x4047d7);});const journeyVersionCmd=journeyCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1ed))[a2_0x43228c(0x311)](a2_0x43228c(0x41e));journeyVersionCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x13c))[a2_0x43228c(0x311)](a2_0x43228c(0x361))['action'](async(_0x3ac95c,_0x596574)=>{const _0x355a9e=a2_0x43228c,_0x1b2c80=new JourneyVersionCreateCommand(),_0x15ff40=program['opts'](),_0x28d141=await createTDXInstance(_0x15ff40),_0x112465=await _0x1b2c80[_0x355a9e(0x3ee)]({'options':{..._0x15ff40,..._0x596574},'args':[_0x3ac95c],'tdx':_0x28d141});gracefulExit(_0x112465);}),journeyVersionCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3f2))[a2_0x43228c(0x311)](a2_0x43228c(0x14f))[a2_0x43228c(0x34b)]('--version\x20<number>',a2_0x43228c(0x147))[a2_0x43228c(0x342)](async(_0x44db7b,_0x3dc844)=>{const _0x3fec22=a2_0x43228c,_0x57c984=new JourneyVersionViewCommand(),_0x168f9e=program['opts'](),_0x322cd7=await createTDXInstance(_0x168f9e),_0x5a64b7=await _0x57c984[_0x3fec22(0x3ee)]({'options':{..._0x168f9e,..._0x3dc844},'args':[_0x44db7b],'tdx':_0x322cd7});gracefulExit(_0x5a64b7);}),journeyCmd[a2_0x43228c(0x1fa)]('validate\x20[target]')[a2_0x43228c(0x311)](a2_0x43228c(0x451))['action'](async(_0x37ac79,_0x548dbc)=>{const _0x530db2=a2_0x43228c,_0x3a0e50=new JourneyValidateCommand(),_0x4c8cdb=program['opts'](),_0x1432ea=await createTDXInstance(_0x4c8cdb),_0x572619=await _0x3a0e50[_0x530db2(0x3ee)]({'options':{..._0x4c8cdb,..._0x548dbc},'args':_0x37ac79?[_0x37ac79]:[],'tdx':_0x1432ea});gracefulExit(_0x572619);}),program[a2_0x43228c(0x1fa)](a2_0x43228c(0x230))[a2_0x43228c(0x311)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x43228c(0x342)](journeyListAction);const agentSyncCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x3f5))['description'](a2_0x43228c(0x27c));agentSyncCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x25b))[a2_0x43228c(0x311)](a2_0x43228c(0x3cd))[a2_0x43228c(0x346)](a2_0x43228c(0x25d),a2_0x43228c(0x389))[a2_0x43228c(0x346)](a2_0x43228c(0x247),a2_0x43228c(0x367))[a2_0x43228c(0x346)](a2_0x43228c(0x3da),a2_0x43228c(0x2e9))[a2_0x43228c(0x342)](async(_0x5a116c,_0x3ef60e,_0x451de6)=>{const _0xb1491e=a2_0x43228c,_0x5c8939=new AgentPullCommand(),_0x338d03=program['opts'](),_0x5dc0cd=await createTDXInstance(_0x338d03),_0x5c7d3f=[];if(_0x5a116c)_0x5c7d3f[_0xb1491e(0x278)](_0x5a116c);if(_0x3ef60e)_0x5c7d3f[_0xb1491e(0x278)](_0x3ef60e);const _0x44d94e=await _0x5c8939['run']({'options':{..._0x338d03,..._0x451de6},'args':_0x5c7d3f,'tdx':_0x5dc0cd});gracefulExit(_0x44d94e);}),agentSyncCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x424))[a2_0x43228c(0x311)](a2_0x43228c(0x319))['option'](a2_0x43228c(0x247),a2_0x43228c(0x338))[a2_0x43228c(0x342)](async(_0x4244dd,_0x439aee)=>{const _0x1c2d0f=a2_0x43228c,_0xabaf93=new AgentPushCommand(),_0x2079c0=program[_0x1c2d0f(0x339)](),_0x2f46e7=await createTDXInstance(_0x2079c0),_0x4d729a=await _0xabaf93['run']({'options':{..._0x2079c0,..._0x439aee},'args':_0x4244dd?[_0x4244dd]:[],'tdx':_0x2f46e7});gracefulExit(_0x4d729a);}),agentSyncCmd[a2_0x43228c(0x1fa)]('clone\x20[source]')['description']('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')['option'](a2_0x43228c(0x3d1),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x43228c(0x342)](async(_0x4c7e18,_0x55417e)=>{const _0x363ad1=a2_0x43228c,_0x487bc8=new AgentCloneCommand(),_0x82596a=program['opts'](),_0x1b432c=await createTDXInstance(_0x82596a),_0x216782=await _0x487bc8[_0x363ad1(0x3ee)]({'options':{..._0x82596a,..._0x55417e},'args':_0x4c7e18?[_0x4c7e18]:[],'tdx':_0x1b432c});gracefulExit(_0x216782);}),agentSyncCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x204))[a2_0x43228c(0x311)](a2_0x43228c(0x2b7))['option']('--name\x20<names>',a2_0x43228c(0x394))[a2_0x43228c(0x346)]('--tags\x20<tags>',a2_0x43228c(0x443))[a2_0x43228c(0x346)](a2_0x43228c(0x354),'Parse\x20and\x20validate\x20without\x20executing')['option'](a2_0x43228c(0x404),a2_0x43228c(0x391))[a2_0x43228c(0x346)](a2_0x43228c(0x23e),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x43228c(0x342)](async(_0x4d9a0e,_0x52d8c4)=>{const _0x4dfa81=a2_0x43228c,_0x3c4109=new AgentTestCommand(),_0x5addd3=program[_0x4dfa81(0x339)](),_0x57648e=await createTDXInstance(_0x5addd3),_0x32800b=await _0x3c4109[_0x4dfa81(0x3ee)]({'options':{..._0x5addd3,..._0x52d8c4},'args':_0x4d9a0e?[_0x4d9a0e]:[],'tdx':_0x57648e});gracefulExit(_0x32800b);}),agentSyncCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2b0))[a2_0x43228c(0x311)](a2_0x43228c(0x409))[a2_0x43228c(0x342)](llmAgentListAction),agentSyncCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x2fa))['description'](a2_0x43228c(0x1a1))[a2_0x43228c(0x342)](async(_0x4ae50c,_0x17e32c)=>{const _0x507e0f=a2_0x43228c,_0x3d2d5e=new LLMAgentShowCommand(),_0x4f3301=program[_0x507e0f(0x339)](),_0x3a38f3=await createTDXInstance(_0x4f3301),_0x2c7901=await _0x3d2d5e['run']({'options':{..._0x4f3301,..._0x17e32c},'args':[_0x4ae50c],'tdx':_0x3a38f3});gracefulExit(_0x2c7901);}),agentSyncCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x270))[a2_0x43228c(0x311)](a2_0x43228c(0x1f2))['option']('--system-prompt\x20<text>',a2_0x43228c(0x3ad))[a2_0x43228c(0x346)](a2_0x43228c(0x130),'Model\x20type\x20(default:\x20claude-4.5-sonnet)','claude-4.5-sonnet')[a2_0x43228c(0x346)](a2_0x43228c(0x2ac),a2_0x43228c(0x1b4))[a2_0x43228c(0x346)](a2_0x43228c(0x35e),a2_0x43228c(0x1f9),'4')['option'](a2_0x43228c(0x327),a2_0x43228c(0x152),a2_0x43228c(0x212))[a2_0x43228c(0x342)](async(_0xba2d39,_0x20e24a)=>{const _0x19570e=new LLMAgentCreateCommand(),_0x4801f5=program['opts'](),_0x2a0784=await createTDXInstance(_0x4801f5),_0x4a06a3=await _0x19570e['run']({'options':{..._0x4801f5,..._0x20e24a},'args':[_0xba2d39],'tdx':_0x2a0784});gracefulExit(_0x4a06a3);}),agentSyncCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x14a))[a2_0x43228c(0x311)](a2_0x43228c(0x40b))[a2_0x43228c(0x346)](a2_0x43228c(0x3f3),'Agent\x20name')[a2_0x43228c(0x346)](a2_0x43228c(0x19d),a2_0x43228c(0x2f7))[a2_0x43228c(0x346)](a2_0x43228c(0x24f),a2_0x43228c(0x3f1))[a2_0x43228c(0x346)]('--starter-message\x20<text>',a2_0x43228c(0x1b4))[a2_0x43228c(0x342)](async(_0x42b429,_0x1dbb97)=>{const _0x5c3552=new LLMAgentUpdateCommand(),_0x5b9ff0=program['opts'](),_0x380b08=await createTDXInstance(_0x5b9ff0),_0x5c0b41=await _0x5c3552['run']({'options':{..._0x5b9ff0,..._0x1dbb97},'args':[_0x42b429],'tdx':_0x380b08});gracefulExit(_0x5c0b41);}),agentSyncCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x224))[a2_0x43228c(0x311)](a2_0x43228c(0x1d3))[a2_0x43228c(0x342)](async(_0x92ac57,_0x2fa49f)=>{const _0x519763=a2_0x43228c,_0x512c80=new LLMAgentDeleteCommand(),_0x42032f=program['opts'](),_0x1dd749=await createTDXInstance(_0x42032f),_0x13bc53=await _0x512c80[_0x519763(0x3ee)]({'options':{..._0x42032f,..._0x2fa49f},'args':[_0x92ac57],'tdx':_0x1dd749});gracefulExit(_0x13bc53);});const workCmd=program[a2_0x43228c(0x1fa)](a2_0x43228c(0x177))[a2_0x43228c(0x311)]('AI-native\x20work\x20management');workCmd[a2_0x43228c(0x346)](a2_0x43228c(0x1ad),a2_0x43228c(0x27d))[a2_0x43228c(0x346)]('--all',a2_0x43228c(0x26c))[a2_0x43228c(0x342)](workSummaryAction),workCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x43d))[a2_0x43228c(0x311)](a2_0x43228c(0x30b))[a2_0x43228c(0x346)](a2_0x43228c(0x419),a2_0x43228c(0x3b6))[a2_0x43228c(0x342)](workInitAction),workCmd[a2_0x43228c(0x1fa)]('new\x20<title>')[a2_0x43228c(0x311)](a2_0x43228c(0x20f))['option'](a2_0x43228c(0x44b),a2_0x43228c(0x214),a2_0x43228c(0x31e))[a2_0x43228c(0x346)](a2_0x43228c(0x17d),a2_0x43228c(0x2e2))['option'](a2_0x43228c(0x15d),a2_0x43228c(0x1c9))[a2_0x43228c(0x346)](a2_0x43228c(0x1e6),a2_0x43228c(0x1a8))[a2_0x43228c(0x346)](a2_0x43228c(0x15f),a2_0x43228c(0x2c9))[a2_0x43228c(0x346)](a2_0x43228c(0x441),'Initial\x20status')[a2_0x43228c(0x346)](a2_0x43228c(0x3e4),a2_0x43228c(0x320))[a2_0x43228c(0x342)](workNewAction),workCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x1cb))['description'](a2_0x43228c(0x416))[a2_0x43228c(0x342)](workMoveAction),workCmd[a2_0x43228c(0x1fa)]('board')[a2_0x43228c(0x311)](a2_0x43228c(0x38d))['option'](a2_0x43228c(0x1ad),'Show\x20items\x20updated\x20within\x20N\x20days')[a2_0x43228c(0x346)](a2_0x43228c(0x2cf),a2_0x43228c(0x26c))['action'](workBoardAction),workCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x3b7))[a2_0x43228c(0x311)](a2_0x43228c(0x17a))[a2_0x43228c(0x342)](workShowAction),workCmd[a2_0x43228c(0x1fa)](a2_0x43228c(0x286))[a2_0x43228c(0x311)](a2_0x43228c(0x390))[a2_0x43228c(0x342)](workLinksAction),workCmd['command'](a2_0x43228c(0x3e0))['description']('Open\x20a\x20document\x20in\x20$EDITOR')[a2_0x43228c(0x342)](workOpenAction),program['command'](a2_0x43228c(0x2d9),{'hidden':!![]})[a2_0x43228c(0x342)](()=>{function _0x140e2c(_0x2d3e19,_0x55dae2){const _0x553c9c=a2_0x1bec,_0x525253=[];for(const _0x4519a1 of _0x2d3e19['commands']){if(_0x4519a1['_hidden'])continue;const _0x3f9de1=_0x55dae2?_0x55dae2+'\x20'+_0x4519a1[_0x553c9c(0x19a)]():_0x4519a1['name'](),_0x4ba24f=_0x3f9de1[_0x553c9c(0x192)]('\x20')[0x0],_0x3563a5=COMMAND_CATEGORIES[_0x553c9c(0x331)](_0x3ede2e=>_0x3ede2e[_0x553c9c(0x1d0)][_0x553c9c(0x3fc)](_0x4ba24f)),_0x53d4ef=_0x3563a5?.[_0x553c9c(0x19a)]??'';if(_0x4519a1[_0x553c9c(0x1d0)][_0x553c9c(0x1a4)]>0x0)_0x525253[_0x553c9c(0x278)](..._0x140e2c(_0x4519a1,_0x3f9de1));else{const _0x49cafe=(_0x4519a1[_0x553c9c(0x2ca)]||[])[_0x553c9c(0x306)](_0x47baf3=>{const _0x3f71af=_0x553c9c,_0x1f0b43=_0x47baf3[_0x3f71af(0x273)]?_0x47baf3[_0x3f71af(0x19a)]()+_0x3f71af(0x254):_0x47baf3['name']();return _0x47baf3['required']?'<'+_0x1f0b43+'>':'['+_0x1f0b43+']';})[_0x553c9c(0x3e2)]('\x20'),_0x238db5=_0x4519a1['options'][_0x553c9c(0x3ea)](_0x1c4793=>!_0x1c4793[_0x553c9c(0x42a)]&&_0x1c4793['long']!=='--help')[_0x553c9c(0x306)](_0x3181dc=>({'flags':_0x3181dc[_0x553c9c(0x40a)],'description':_0x3181dc[_0x553c9c(0x311)]}));_0x525253[_0x553c9c(0x278)]({'name':_0x3f9de1,'description':_0x4519a1[_0x553c9c(0x311)](),'group':_0x53d4ef,'usage':_0x49cafe,'options':_0x238db5});}}return _0x525253;}console['log'](JSON['stringify'](_0x140e2c(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x261c14=a2_0x43228c,_0x5de4a1=!process['argv'][_0x261c14(0x41f)](0x2)[_0x261c14(0x1a4)];showBriefHelp=_0x5de4a1,program[_0x261c14(0x1e4)](process[_0x261c14(0x16f)]);_0x5de4a1&&program[_0x261c14(0x3a1)]();const _0x75379a=process[_0x261c14(0x16f)][0x2]===_0x261c14(0x19c);if(process[_0x261c14(0x310)][_0x261c14(0x285)]&&process['argv']['length']>0x2&&!isDevVersion()&&!_0x75379a){const _0x45fafb=loadReleaseChannel();checkForUpdate(currentVersion,_0x45fafb)['then'](_0x3d006e=>{_0x3d006e&&displayUpdateNotification(_0x3d006e);})[_0x261c14(0x280)](()=>{});}}
1
+ const a2_0x28f113=a2_0xbd13;(function(_0x478c68,_0x4db6ae){const _0x5431e0=a2_0xbd13,_0x2f49fe=_0x478c68();while(!![]){try{const _0x32efbf=parseInt(_0x5431e0(0x33f))/0x1+-parseInt(_0x5431e0(0x3dd))/0x2*(parseInt(_0x5431e0(0x281))/0x3)+-parseInt(_0x5431e0(0x383))/0x4*(-parseInt(_0x5431e0(0x3b4))/0x5)+parseInt(_0x5431e0(0x3d4))/0x6+-parseInt(_0x5431e0(0x406))/0x7*(parseInt(_0x5431e0(0x454))/0x8)+-parseInt(_0x5431e0(0x2c2))/0x9*(-parseInt(_0x5431e0(0x21f))/0xa)+parseInt(_0x5431e0(0x4e4))/0xb*(-parseInt(_0x5431e0(0x41b))/0xc);if(_0x32efbf===_0x4db6ae)break;else _0x2f49fe['push'](_0x2f49fe['shift']());}catch(_0x17d7e9){_0x2f49fe['push'](_0x2f49fe['shift']());}}}(a2_0x3937,0xe7739));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';function a2_0xbd13(_0x1f30ea,_0x93ff8d){_0x1f30ea=_0x1f30ea-0x1dd;const _0x3937ea=a2_0x3937();let _0xbd138b=_0x3937ea[_0x1f30ea];return _0xbd138b;}import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-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_0x28f113(0x38c)][a2_0x28f113(0x29b)](a2_0x28f113(0x433))){let versionOutput=a2_0x28f113(0x2a7)+currentVersion;buildInfo[a2_0x28f113(0x39c)]&&!currentVersion[a2_0x28f113(0x29b)](buildInfo[a2_0x28f113(0x39c)])&&(versionOutput+='\x20('+buildInfo[a2_0x28f113(0x39c)]+')'),buildInfo[a2_0x28f113(0x332)]&&(versionOutput+=a2_0x28f113(0x31e)+buildInfo['buildTime']),console['log'](versionOutput),process[a2_0x28f113(0x1ec)](0x0);}const program=new Command();export function mergeCommandOptions(_0x59d57d,_0x2fd7dd){const _0x302dab={..._0x59d57d};for(const [_0x318432,_0x373a39]of Object['entries'](_0x2fd7dd)){_0x373a39!==undefined&&(_0x302dab[_0x318432]=_0x373a39);}return _0x302dab;}let showBriefHelp=![],description=a2_0x28f113(0x328);buildInfo['gitRevision']&&!currentVersion['includes'](buildInfo['gitRevision'])?description+=a2_0x28f113(0x42b)+currentVersion+'\x20('+buildInfo[a2_0x28f113(0x39c)]+')':description+=a2_0x28f113(0x42b)+currentVersion;program[a2_0x28f113(0x2b3)]('tdx')[a2_0x28f113(0x1fe)](description),program[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ad),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x28f113(0x4b1)](a2_0x28f113(0x43b),a2_0x28f113(0x4da))[a2_0x28f113(0x4b1)](a2_0x28f113(0x37d),a2_0x28f113(0x35d),a2_0x28f113(0x336))[a2_0x28f113(0x4b1)](a2_0x28f113(0x326),a2_0x28f113(0x375))[a2_0x28f113(0x4b1)]('--table',a2_0x28f113(0x2d0))[a2_0x28f113(0x4b1)]('--json','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x316),a2_0x28f113(0x413))[a2_0x28f113(0x4b1)]('--tsv',a2_0x28f113(0x2dd))[a2_0x28f113(0x4b1)](a2_0x28f113(0x200),a2_0x28f113(0x289))[a2_0x28f113(0x4b1)](a2_0x28f113(0x261),a2_0x28f113(0x334))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2d9),a2_0x28f113(0x244),![])[a2_0x28f113(0x4b1)]('--no-color',a2_0x28f113(0x308),![])[a2_0x28f113(0x4b1)](a2_0x28f113(0x40b),a2_0x28f113(0x24e),![])[a2_0x28f113(0x4b1)]('--debug',a2_0x28f113(0x294))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3e3),a2_0x28f113(0x3fd))[a2_0x28f113(0x4b1)](a2_0x28f113(0x32b),a2_0x28f113(0x28d),'30')[a2_0x28f113(0x4b1)]('--dry-run',a2_0x28f113(0x448),![])[a2_0x28f113(0x4b1)](a2_0x28f113(0x3c4),a2_0x28f113(0x432),![])['option'](a2_0x28f113(0x27a),a2_0x28f113(0x426))[a2_0x28f113(0x4b1)]('--parent-segment\x20<name>',a2_0x28f113(0x2f5))['option']('--llm-project\x20<name>',a2_0x28f113(0x1dd)),program['configureHelp']({'formatHelp':(_0x1e33ee,_0x17d660)=>{const _0xc040dc=a2_0x28f113,_0x1abd2f=_0x17d660[_0xc040dc(0x27e)](_0x1e33ee,_0x17d660),_0x2abe09=0x2,_0x119f63=0x2;function _0x518115(_0x103706){const _0xc7cf48=_0x103706;return!!(_0xc7cf48['_hidden']||_0xc7cf48['hidden']);}function _0x9bc08a(_0x4e8c6b,_0x57d0b3){const _0x27ba8a=_0xc040dc;if(_0x57d0b3){const _0x2085a2=''+_0x4e8c6b[_0x27ba8a(0x21e)](_0x1abd2f+_0x119f63)+_0x57d0b3;return _0x2085a2;}return _0x4e8c6b;}function _0x1b04dc(_0x15b0ef){const _0xe8f9bc=_0xc040dc;return _0x15b0ef[_0xe8f9bc(0x295)]('\x0a')['replace'](/^/gm,'\x20'['repeat'](_0x2abe09));}const _0x50184b=[];_0x50184b[_0xc040dc(0x3a9)]('Usage:\x20'+_0x17d660[_0xc040dc(0x464)](_0x1e33ee));const _0x13123f=_0x17d660['commandDescription'](_0x1e33ee);_0x13123f&&(_0x50184b['push'](''),_0x50184b[_0xc040dc(0x3a9)](_0x13123f));const _0x566dd6=_0x1e33ee[_0xc040dc(0x3d7)][_0xc040dc(0x22b)](_0x4abc24=>!_0x518115(_0x4abc24));if(_0x566dd6[_0xc040dc(0x231)]>0x0){if(_0x1e33ee[_0xc040dc(0x2b3)]()===_0xc040dc(0x2a9)){const _0x11ee58=_0x1e33ee[_0xc040dc(0x2c6)](),_0x336a19=!_0x11ee58[_0xc040dc(0x365)]&&process[_0xc040dc(0x237)]['isTTY'],_0x428841=COMMAND_CATEGORIES,_0x57e7b4=(_0x4ecfd4,_0x1000ae)=>_0x336a19?_0x1000ae(_0x4ecfd4):_0x4ecfd4,_0x3390d8=new Map();_0x566dd6['forEach'](_0x1b0757=>{_0x3390d8['set'](_0x1b0757['name'](),_0x1b0757);}),_0x428841[_0xc040dc(0x468)](_0xaa14e8=>{const _0x2c49c6=_0xc040dc,_0x1d3606=_0xaa14e8[_0x2c49c6(0x3d7)]['flatMap'](_0x187923=>_0x3390d8[_0x2c49c6(0x26b)](_0x187923)??[]);if(_0x1d3606[_0x2c49c6(0x231)]>0x0){_0x50184b[_0x2c49c6(0x3a9)](''),_0x50184b[_0x2c49c6(0x3a9)](_0x57e7b4(_0xaa14e8[_0x2c49c6(0x2b3)]+':',_0xaa14e8[_0x2c49c6(0x4a9)]));const _0x45d56a=_0x1d3606[_0x2c49c6(0x3b2)](_0x5b669e=>{const _0x13f6b8=_0x2c49c6,_0xb40ecb=_0x17d660[_0x13f6b8(0x1e3)](_0x5b669e),_0x57c28c=_0x17d660[_0x13f6b8(0x2d8)](_0x5b669e);return _0x9bc08a(_0xb40ecb,_0x57c28c);});_0x50184b['push'](_0x1b04dc(_0x45d56a));}}),_0x50184b[_0xc040dc(0x3a9)](''),_0x50184b[_0xc040dc(0x3a9)](_0xc040dc(0x465));}else{const _0x5032a0=_0x566dd6[_0xc040dc(0x3b2)](_0x45732b=>{const _0x5e5174=_0xc040dc,_0x169251=_0x17d660['subcommandTerm'](_0x45732b),_0x31d657=_0x17d660[_0x5e5174(0x2d8)](_0x45732b);return _0x9bc08a(_0x169251,_0x31d657);});_0x50184b['push'](''),_0x50184b['push'](_0xc040dc(0x3a4)),_0x50184b[_0xc040dc(0x3a9)](_0x1b04dc(_0x5032a0));}}if(showBriefHelp&&_0x1e33ee[_0xc040dc(0x2b3)]()===_0xc040dc(0x2a9))_0x50184b[_0xc040dc(0x3a9)](''),_0x50184b[_0xc040dc(0x3a9)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0xd77a15=_0x1e33ee['options'][_0xc040dc(0x22b)](_0x245e93=>!_0x518115(_0x245e93));if(_0xd77a15[_0xc040dc(0x231)]>0x0){const _0x41f63b=_0xd77a15[_0xc040dc(0x3b2)](_0x56aa49=>{const _0x39dcf8=_0xc040dc,_0x5517fa=_0x17d660[_0x39dcf8(0x309)](_0x56aa49),_0x3b6f50=_0x17d660['optionDescription'](_0x56aa49);return _0x9bc08a(_0x5517fa,_0x3b6f50);});_0x50184b[_0xc040dc(0x3a9)](''),_0x50184b[_0xc040dc(0x3a9)](_0xc040dc(0x4cd)),_0x50184b[_0xc040dc(0x3a9)](_0x1b04dc(_0x41f63b));}}const _0xb1df90=(_0x1e33ee['registeredArguments']||[])[_0xc040dc(0x22b)](_0x2fcb03=>!_0x518115(_0x2fcb03));if(_0xb1df90[_0xc040dc(0x231)]>0x0){const _0x2e1248=_0xb1df90[_0xc040dc(0x3b2)](_0x54302f=>{const _0x147f92=_0xc040dc,_0x4c8ec3=_0x17d660[_0x147f92(0x428)](_0x54302f),_0x2101a9=_0x17d660[_0x147f92(0x4b2)](_0x54302f);return _0x9bc08a(_0x4c8ec3,_0x2101a9);});_0x50184b[_0xc040dc(0x3a9)](''),_0x50184b[_0xc040dc(0x3a9)](_0xc040dc(0x2cd)),_0x50184b['push'](_0x1b04dc(_0x2e1248));}return _0x50184b[_0xc040dc(0x295)]('\x0a')+'\x0a';},'subcommandTerm':_0x2122bb=>{const _0x4e8dc3=a2_0x28f113,_0xc18096=(_0x2122bb[_0x4e8dc3(0x3ea)]||[])['map'](_0x2651d8=>_0x2651d8[_0x4e8dc3(0x34c)]?'<'+_0x2651d8['name']()+'>':'['+_0x2651d8[_0x4e8dc3(0x2b3)]()+']')[_0x4e8dc3(0x295)]('\x20'),_0x5ed014=_0x2122bb[_0x4e8dc3(0x36f)](),_0x5a9605=_0x5ed014[_0x4e8dc3(0x231)]>0x0?_0x2122bb['name']()+',\x20'+_0x5ed014[_0x4e8dc3(0x295)](',\x20'):_0x2122bb[_0x4e8dc3(0x2b3)]();return _0xc18096?_0x5a9605+'\x20'+_0xc18096:_0x5a9605;}}),program[a2_0x28f113(0x47d)](a2_0x28f113(0x286),_0x57ef93=>{const _0x20a198=a2_0x28f113,_0x3b1296=_0x57ef93[_0x20a198(0x2c6)]();if(_0x3b1296[_0x20a198(0x389)]){const _0x2b59d6=resolve(_0x3b1296[_0x20a198(0x389)]),_0x3acd2b=_0x2b59d6!==_0x3b1296['directory']?_0x20a198(0x215)+_0x2b59d6+')':'';if(!existsSync(_0x2b59d6))throw new SDKError(ErrorCode[_0x20a198(0x2f7)],'Directory\x20does\x20not\x20exist:\x20'+_0x3b1296[_0x20a198(0x389)]+_0x3acd2b,undefined,{'helpText':_0x20a198(0x277)});const _0x409b89=statSync(_0x2b59d6);if(!_0x409b89[_0x20a198(0x2ff)]())throw new SDKError(ErrorCode[_0x20a198(0x2f7)],_0x20a198(0x47f)+_0x3b1296[_0x20a198(0x389)]+_0x3acd2b,undefined,{'helpText':_0x20a198(0x238)});process[_0x20a198(0x4cc)](_0x2b59d6);}if(!_0x3b1296[_0x20a198(0x315)]){if(_0x3b1296[_0x20a198(0x3c1)])_0x3b1296[_0x20a198(0x315)]=_0x20a198(0x3c1);else{if(_0x3b1296[_0x20a198(0x329)])_0x3b1296[_0x20a198(0x315)]=_0x20a198(0x329);else{if(_0x3b1296[_0x20a198(0x239)])_0x3b1296[_0x20a198(0x315)]=_0x20a198(0x239);else _0x3b1296[_0x20a198(0x321)]&&(_0x3b1296[_0x20a198(0x315)]=_0x20a198(0x321));}}}if(_0x3b1296['trace'])_0x3b1296[_0x20a198(0x379)]=LogLevel[_0x20a198(0x1f7)];else{if(_0x3b1296[_0x20a198(0x271)])_0x3b1296[_0x20a198(0x379)]=LogLevel[_0x20a198(0x304)];else _0x3b1296[_0x20a198(0x379)]===undefined&&(_0x3b1296[_0x20a198(0x379)]=LogLevel[_0x20a198(0x39b)]);}});async function createTDXInstance(_0x64fc){const _0x5658d3=a2_0x28f113,_0x18334b=await GlobalContext['createAsync'](_0x64fc);_0x18334b[_0x5658d3(0x479)](_0x64fc);const _0x410bfa=Number(_0x64fc[_0x5658d3(0x2e7)]),_0x4ff1db=!isNaN(_0x410bfa)&&_0x410bfa>0x0?_0x410bfa*0x3e8:undefined;return TDX[_0x5658d3(0x4a3)]({'site':_0x18334b['site'],'apiKey':_0x18334b[_0x5658d3(0x382)],'accessToken':_0x18334b[_0x5658d3(0x47a)],'logLevel':_0x18334b['logLevel'],'profile':_0x18334b[_0x5658d3(0x297)],'timeout':_0x4ff1db});}const databaseCmd=program[a2_0x28f113(0x327)]('database')['alias']('db')['description']('Database\x20management\x20commands'),databaseListAction=async(_0x1b6630,_0x2a67e4)=>{const _0x26510c=a2_0x28f113,_0x997de2=new DatabasesCommand(),_0x1129e2=program[_0x26510c(0x2c6)](),_0x32d362=await createTDXInstance(_0x1129e2),_0xcbaa9=await _0x997de2['run']({'options':{..._0x1129e2,..._0x2a67e4},'args':_0x1b6630?[_0x1b6630]:[],'tdx':_0x32d362});gracefulExit(_0xcbaa9);};databaseCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2b5))[a2_0x28f113(0x44e)](databaseListAction),program[a2_0x28f113(0x327)](a2_0x28f113(0x424),{'hidden':!![]})[a2_0x28f113(0x1fe)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x28f113(0x44e)](databaseListAction),program[a2_0x28f113(0x327)](a2_0x28f113(0x21a))[a2_0x28f113(0x1fe)](a2_0x28f113(0x42d))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4ba),a2_0x28f113(0x496))[a2_0x28f113(0x4b1)]('--new',a2_0x28f113(0x3c9))[a2_0x28f113(0x4b1)](a2_0x28f113(0x28a),a2_0x28f113(0x482))[a2_0x28f113(0x4b1)](a2_0x28f113(0x270),a2_0x28f113(0x288))[a2_0x28f113(0x44e)](async(_0x144625,_0x3709ab)=>{const _0x53dff9=a2_0x28f113,_0x48a746=program[_0x53dff9(0x2c6)](),_0x11c858=await createTDXInstance(_0x48a746);if(_0x144625[0x0]===_0x53dff9(0x4a3)){const _0x3772f0=new ChatCreateCommand();gracefulExit(await _0x3772f0[_0x53dff9(0x2d1)]({'options':{..._0x48a746,..._0x3709ab},'args':_0x144625[_0x53dff9(0x345)](0x1),'tdx':_0x11c858}));return;}const _0x368074=new ChatCommand(),_0x3862e4=await _0x368074[_0x53dff9(0x2d1)]({'options':{..._0x48a746,..._0x3709ab},'args':_0x144625,'tdx':_0x11c858});gracefulExit(_0x3862e4);});const apiCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x218))[a2_0x28f113(0x4ce)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x28f113(0x490)](a2_0x28f113(0x2b8),a2_0x28f113(0x380))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4d5),a2_0x28f113(0x4e9),a2_0x28f113(0x243))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2b7),a2_0x28f113(0x2ea))[a2_0x28f113(0x4b1)](a2_0x28f113(0x210),a2_0x28f113(0x267))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4d8),a2_0x28f113(0x2f3),(_0x17529a,_0x45544c)=>{return _0x45544c?[..._0x45544c,_0x17529a]:[_0x17529a];})[a2_0x28f113(0x4b1)](a2_0x28f113(0x415),a2_0x28f113(0x203),'td')[a2_0x28f113(0x44e)](async(_0x720df5,_0xc6d982)=>{const _0xcf1ae=a2_0x28f113;if(!_0x720df5){apiCmd[_0xcf1ae(0x40c)]();return;}const _0x56a460=new ApiCommand(),_0x14e1f7=program[_0xcf1ae(0x2c6)](),_0x152dda=await createTDXInstance(_0x14e1f7),_0x13a387=await _0x56a460[_0xcf1ae(0x2d1)]({'options':{..._0x14e1f7,..._0xc6d982},'args':[_0x720df5],'tdx':_0x152dda});gracefulExit(_0x13a387);});program[a2_0x28f113(0x327)](a2_0x28f113(0x3f1))[a2_0x28f113(0x1fe)](a2_0x28f113(0x330))[a2_0x28f113(0x490)](a2_0x28f113(0x2b8),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x28f113(0x44e)](async _0x2f9ca6=>{const _0xf20f2=a2_0x28f113,_0x3ca32f=new MCPCommand(),_0x4f845c=program[_0xf20f2(0x2c6)](),_0x380f46=await createTDXInstance(_0x4f845c),_0x4d7074=await _0x3ca32f[_0xf20f2(0x2d1)]({'options':{..._0x4f845c,..._0x2f9ca6},'args':[],'tdx':_0x380f46});gracefulExit(_0x4d7074);});const tableCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x3c1))[a2_0x28f113(0x1fe)](a2_0x28f113(0x27f)),tableListAction=async(_0x3dae5c,_0x2b8043)=>{const _0x20d9e3=a2_0x28f113,_0x4b7a1f=new TablesCommand(),_0x25b3b2=program[_0x20d9e3(0x2c6)](),_0x12b9b1=await createTDXInstance(_0x25b3b2);_0x2b8043['in']&&(_0x2b8043[_0x20d9e3(0x2ca)]=_0x2b8043['in']);const _0x2e4af2=await _0x4b7a1f[_0x20d9e3(0x2d1)]({'options':{..._0x25b3b2,..._0x2b8043},'args':_0x3dae5c?[_0x3dae5c]:[],'tdx':_0x12b9b1});gracefulExit(_0x2e4af2);};tableCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)](a2_0x28f113(0x28f))[a2_0x28f113(0x4b1)]('-d,\x20--database\x20<database>',a2_0x28f113(0x28b))['option'](a2_0x28f113(0x2a0),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program[a2_0x28f113(0x327)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x28f113(0x1fe)](a2_0x28f113(0x23a))[a2_0x28f113(0x4b1)](a2_0x28f113(0x220),a2_0x28f113(0x28b))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2a0),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program[a2_0x28f113(0x327)](a2_0x28f113(0x311))[a2_0x28f113(0x1fe)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')['option'](a2_0x28f113(0x220),a2_0x28f113(0x35c))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2a0),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x28f113(0x44e)](async(_0x5cd593,_0x391598)=>{const _0x5e522c=a2_0x28f113,_0x3a0638=new ShowCommand(),_0x16bcbd=program[_0x5e522c(0x2c6)](),_0x5622a0=await createTDXInstance(_0x16bcbd);_0x391598['in']&&(_0x391598[_0x5e522c(0x2ca)]=_0x391598['in']);const _0x6f69b=await _0x3a0638[_0x5e522c(0x2d1)]({'options':{..._0x16bcbd,..._0x391598},'args':_0x5cd593?[_0x5cd593]:[],'tdx':_0x5622a0});gracefulExit(_0x6f69b);}),program[a2_0x28f113(0x327)](a2_0x28f113(0x312))['alias']('desc')[a2_0x28f113(0x1fe)](a2_0x28f113(0x37b))[a2_0x28f113(0x4b1)](a2_0x28f113(0x220),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2a0),a2_0x28f113(0x331))[a2_0x28f113(0x44e)](async(_0x900162,_0x3bfb1c)=>{const _0x4f439a=a2_0x28f113,_0x8fb389=new DescribeCommand(),_0x55571d=program[_0x4f439a(0x2c6)](),_0x5a881b=await createTDXInstance(_0x55571d);_0x3bfb1c['in']&&(_0x3bfb1c['database']=_0x3bfb1c['in']);const _0x1f7884=await _0x8fb389['run']({'options':{..._0x55571d,..._0x3bfb1c},'args':_0x900162?[_0x900162]:[],'tdx':_0x5a881b});gracefulExit(_0x1f7884);}),program[a2_0x28f113(0x327)]('query\x20[sql]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x24d))['option'](a2_0x28f113(0x220),a2_0x28f113(0x3f4))[a2_0x28f113(0x4b1)]('--in\x20<database>',a2_0x28f113(0x331))[a2_0x28f113(0x4b1)](a2_0x28f113(0x225),a2_0x28f113(0x399))[a2_0x28f113(0x4b1)](a2_0x28f113(0x210),a2_0x28f113(0x48d))[a2_0x28f113(0x4b1)](a2_0x28f113(0x31f),a2_0x28f113(0x3cb))['action'](async(_0x2adfcf,_0x29fb74)=>{const _0x2a2b00=a2_0x28f113,_0x47ebe9=new QueryCommand(),_0x1b48ee=program['opts'](),_0x36f99f=await createTDXInstance(_0x1b48ee);_0x29fb74['in']&&(_0x29fb74[_0x2a2b00(0x2ca)]=_0x29fb74['in']);const _0x4a4e71=await _0x47ebe9[_0x2a2b00(0x2d1)]({'options':mergeCommandOptions(_0x1b48ee,_0x29fb74),'args':_0x2adfcf?[_0x2adfcf]:[],'tdx':_0x36f99f});gracefulExit(_0x4a4e71);});const segmentCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x3f6))[a2_0x28f113(0x2e9)]('sg')[a2_0x28f113(0x1fe)](a2_0x28f113(0x2e3)),segmentListAction=async(_0x1826ce,_0x2af6c2)=>{const _0x17b518=a2_0x28f113,_0x5f414c=new SegmentsCommand(),_0x27836a=program[_0x17b518(0x2c6)](),_0x3e4f2b=await createTDXInstance(_0x27836a),_0x3278d8=await _0x5f414c[_0x17b518(0x2d1)]({'options':{..._0x27836a,..._0x2af6c2},'args':_0x1826ce?[_0x1826ce]:[],'tdx':_0x3e4f2b});gracefulExit(_0x3278d8);};segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3b9))[a2_0x28f113(0x1fe)](a2_0x28f113(0x49a))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4d7),a2_0x28f113(0x407))[a2_0x28f113(0x4b1)](a2_0x28f113(0x453),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x28f113(0x44e)](segmentListAction),program[a2_0x28f113(0x327)]('segments\x20[path]',{'hidden':!![]})[a2_0x28f113(0x1fe)](a2_0x28f113(0x2bb))['option'](a2_0x28f113(0x4d7),a2_0x28f113(0x407))[a2_0x28f113(0x4b1)]('--max-depth\x20<depth>',a2_0x28f113(0x246),'10')[a2_0x28f113(0x44e)](segmentListAction),segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2df),{'hidden':!![]})[a2_0x28f113(0x1fe)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')['action'](async(_0x2f8ee5,_0x3c817e)=>{const _0xbb4fc2=a2_0x28f113,_0x1ffcf9=new SegmentUseCommand(),_0x251c7d=program['opts'](),_0x5e9a92=await createTDXInstance(_0x251c7d),_0x15db9f=await _0x1ffcf9[_0xbb4fc2(0x2d1)]({'options':{..._0x251c7d,..._0x3c817e},'args':[_0x2f8ee5],'tdx':_0x5e9a92});gracefulExit(_0x15db9f);});const segmentViewAction=async(_0x5aa0cf,_0x368485)=>{const _0x1fcbda=a2_0x28f113,_0x56a409=new SegmentViewCommand(),_0xc40779=program[_0x1fcbda(0x2c6)](),_0x428d4c=await createTDXInstance(_0xc40779),_0xac89fc=await _0x56a409[_0x1fcbda(0x2d1)]({'options':{..._0xc40779,..._0x368485},'args':_0x5aa0cf?[_0x5aa0cf]:[],'tdx':_0x428d4c});gracefulExit(_0xac89fc);};segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x42f))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3d3))[a2_0x28f113(0x4b1)]('-w,\x20--web',a2_0x28f113(0x430))[a2_0x28f113(0x44e)](segmentViewAction),segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x25c),{'hidden':!![]})[a2_0x28f113(0x2e9)](a2_0x28f113(0x338))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2a5),'Open\x20segment\x20in\x20web\x20browser')[a2_0x28f113(0x1fe)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')['action'](segmentViewAction),segmentCmd['command']('desc\x20[segment_name]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x36c))['action'](async(_0x16d81f,_0x51d799)=>{const _0x4a56fa=a2_0x28f113,_0x1a41d2=new SegmentDescCommand(),_0x3a37f9=program[_0x4a56fa(0x2c6)](),_0x5a14f0=await createTDXInstance(_0x3a37f9),_0xe1b078=await _0x1a41d2[_0x4a56fa(0x2d1)]({'options':{..._0x3a37f9,..._0x51d799},'args':_0x16d81f?[_0x16d81f]:[],'tdx':_0x5a14f0});gracefulExit(_0xe1b078);}),segmentCmd['command']('show\x20[segment_name]')[a2_0x28f113(0x1fe)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')['action'](async(_0x1fa520,_0x55ad69)=>{const _0x4219ec=a2_0x28f113,_0x4f9e9c=new SegmentShowCommand(),_0x30f883=program['opts'](),_0x3190e3=await createTDXInstance(_0x30f883),_0x23d6a5=await _0x4f9e9c[_0x4219ec(0x2d1)]({'options':{..._0x30f883,..._0x55ad69},'args':_0x1fa520?[_0x1fa520]:[],'tdx':_0x3190e3});gracefulExit(_0x23d6a5);}),segmentCmd[a2_0x28f113(0x327)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0x28f113(0x1fe)](a2_0x28f113(0x4a7))[a2_0x28f113(0x44e)](async(_0xdd6169,_0x3c2e6e)=>{const _0x2df8b3=a2_0x28f113,_0x1c1f68=new SegmentFolderListCommand(),_0x1c5853=program[_0x2df8b3(0x2c6)](),_0x42aa1a=await createTDXInstance(_0x1c5853),_0x515bdb=await _0x1c1f68['run']({'options':{..._0x1c5853,..._0x3c2e6e},'args':[_0xdd6169],'tdx':_0x42aa1a});gracefulExit(_0x515bdb);});const folderCmd=segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3fc),{'hidden':!![]})[a2_0x28f113(0x1fe)](a2_0x28f113(0x23e));folderCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2de))['description'](a2_0x28f113(0x3c0))[a2_0x28f113(0x44e)](async(_0x299af5,_0x467304)=>{const _0x2e8f7c=a2_0x28f113,_0x5c2c79=new SegmentFolderShowCommand(),_0x11b6c7=program[_0x2e8f7c(0x2c6)](),_0x15b63e=await createTDXInstance(_0x11b6c7),_0xc2e5c=await _0x5c2c79[_0x2e8f7c(0x2d1)]({'options':{..._0x11b6c7,..._0x467304},'args':[_0x299af5],'tdx':_0x15b63e});gracefulExit(_0xc2e5c);}),segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2af))[a2_0x28f113(0x1fe)]('Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x29d),a2_0x28f113(0x46d))['action'](async(_0x2fb9e4,_0x28d3b2)=>{const _0xd1baf9=a2_0x28f113,_0x2dd02e=new SegmentSQLCommand(),_0x3bdf64=program[_0xd1baf9(0x2c6)](),_0x5ca20e=await createTDXInstance(_0x3bdf64),_0x42d6c3=await _0x2dd02e['run']({'options':{..._0x3bdf64,..._0x28d3b2},'args':_0x2fb9e4?[_0x2fb9e4]:[],'tdx':_0x5ca20e});gracefulExit(_0x42d6c3);}),segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x351))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x28f113(0x44e)](async(_0xc7a488,_0x4bafe2)=>{const _0x508f19=a2_0x28f113,_0x554c74=new SegmentFieldsCommand(),_0x5a9d9b=program[_0x508f19(0x2c6)](),_0x3ae8eb=await createTDXInstance(_0x5a9d9b),_0x2ee2b4=await _0x554c74[_0x508f19(0x2d1)]({'options':{..._0x5a9d9b,..._0x4bafe2},'args':_0xc7a488?[_0xc7a488]:[],'tdx':_0x3ae8eb});gracefulExit(_0x2ee2b4);}),segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3e5))[a2_0x28f113(0x1fe)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')['option'](a2_0x28f113(0x2c1),a2_0x28f113(0x38d))[a2_0x28f113(0x44e)](async(_0x5cb61d,_0x325d2f)=>{const _0x46e05c=a2_0x28f113,_0x406e72=new SegmentPullCommand(),_0x3feaff=program[_0x46e05c(0x2c6)](),_0x32f2c8=await createTDXInstance(_0x3feaff),_0xd79d2c=await _0x406e72['run']({'options':{..._0x3feaff,..._0x325d2f},'args':_0x5cb61d?[_0x5cb61d]:[],'tdx':_0x32f2c8});gracefulExit(_0xd79d2c);}),segmentCmd['command'](a2_0x28f113(0x350))[a2_0x28f113(0x1fe)]('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')['option'](a2_0x28f113(0x2c1),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x28f113(0x4b1)](a2_0x28f113(0x414),a2_0x28f113(0x26e))[a2_0x28f113(0x44e)](async(_0x493fad,_0x4290b6)=>{const _0x493751=a2_0x28f113,_0x3d29d4=new SegmentPushCommand(),_0xba0d4e=program[_0x493751(0x2c6)](),_0x2dcb0b=await createTDXInstance(_0xba0d4e),_0x8ab26=await _0x3d29d4[_0x493751(0x2d1)]({'options':{..._0xba0d4e,..._0x4290b6},'args':_0x493fad?[_0x493fad]:[],'tdx':_0x2dcb0b});gracefulExit(_0x8ab26);}),segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x444))[a2_0x28f113(0x1fe)](a2_0x28f113(0x357))[a2_0x28f113(0x44e)](async(_0x571ca3,_0x1f1e59)=>{const _0x1d30ab=a2_0x28f113,_0x47fb05=new SegmentValidateCommand(),_0x88abb2=program[_0x1d30ab(0x2c6)](),_0x531878=await createTDXInstance(_0x88abb2),_0x4ad097=await _0x47fb05[_0x1d30ab(0x2d1)]({'options':{..._0x88abb2,..._0x1f1e59},'args':_0x571ca3?[_0x571ca3]:[],'tdx':_0x531878});gracefulExit(_0x4ad097);}),segmentCmd[a2_0x28f113(0x327)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x28f113(0x1fe)](a2_0x28f113(0x483))[a2_0x28f113(0x4b1)]('--description\x20<text>',a2_0x28f113(0x254))[a2_0x28f113(0x4b1)]('--rule\x20<json>',a2_0x28f113(0x4e6))[a2_0x28f113(0x4b1)](a2_0x28f113(0x23f),a2_0x28f113(0x2f4))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3d0),'Folder\x20name\x20for\x20organization')[a2_0x28f113(0x4b1)](a2_0x28f113(0x4e2),a2_0x28f113(0x30a))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3b6),a2_0x28f113(0x262))[a2_0x28f113(0x4b1)](a2_0x28f113(0x46b),'Skip\x20population\x20counting')[a2_0x28f113(0x44e)](async(_0x477460,_0x319eb2)=>{const _0x4e806d=a2_0x28f113,_0x1d003c=new SegmentCreateCommand(),_0x20bc26=program[_0x4e806d(0x2c6)](),_0x49e902=await createTDXInstance(_0x20bc26),_0x36af5a=await _0x1d003c[_0x4e806d(0x2d1)]({'options':{..._0x20bc26,..._0x319eb2},'args':[_0x477460],'tdx':_0x49e902});gracefulExit(_0x36af5a);}),segmentCmd['command']('update\x20<segment_name>',{'hidden':!![]})['description']('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option'](a2_0x28f113(0x3bc),a2_0x28f113(0x358))['option']('--description\x20<text>','Updated\x20description')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ca),a2_0x28f113(0x36d))['option'](a2_0x28f113(0x23f),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3d0),a2_0x28f113(0x38f))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4e2),a2_0x28f113(0x30a))['action'](async(_0x32d1a5,_0x2cfd6b)=>{const _0x1704ba=a2_0x28f113,_0x139a8d=new SegmentUpdateCommand(),_0x3ea1a8=program[_0x1704ba(0x2c6)](),_0x32fb7c=await createTDXInstance(_0x3ea1a8),_0x50225c=await _0x139a8d[_0x1704ba(0x2d1)]({'options':{..._0x3ea1a8,..._0x2cfd6b},'args':[_0x32d1a5],'tdx':_0x32fb7c});gracefulExit(_0x50225c);});const parentCmd=segmentCmd['command'](a2_0x28f113(0x452),{'hidden':!![]})['description'](a2_0x28f113(0x494)),parentListAction=async(_0x52d37d,_0x42dcf3)=>{const _0x2e9447=a2_0x28f113,_0x20f1c4=new ParentSegmentListCommand(),_0x463f65=program[_0x2e9447(0x2c6)](),_0x28c5db=await createTDXInstance(_0x463f65),_0x728284=await _0x20f1c4[_0x2e9447(0x2d1)]({'options':{..._0x463f65,..._0x42dcf3},'args':_0x52d37d?[_0x52d37d]:[],'tdx':_0x28c5db});gracefulExit(_0x728284);};parentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')['action'](parentListAction),segmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x402),{'hidden':!![]})['description'](a2_0x28f113(0x400))[a2_0x28f113(0x44e)](parentListAction),parentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x340))['description'](a2_0x28f113(0x376))['option']('-o,\x20--output\x20<file>','Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x28f113(0x44e)](async(_0x189b25,_0x492d2b)=>{const _0x3984a9=a2_0x28f113,_0x49eb43=new ParentSegmentPullCommand(),_0x5dfd08=program[_0x3984a9(0x2c6)](),_0x3bfe74=await createTDXInstance(_0x5dfd08),_0x5ce061=await _0x49eb43['run']({'options':{..._0x5dfd08,..._0x492d2b},'args':_0x189b25?[_0x189b25]:[],'tdx':_0x3bfe74});gracefulExit(_0x5ce061);}),parentCmd[a2_0x28f113(0x327)]('push\x20[file]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x245))[a2_0x28f113(0x44e)](async(_0x55688b,_0x16e8b4)=>{const _0x441444=a2_0x28f113,_0x2196be=new ParentSegmentPushCommand(),_0x454d13=program[_0x441444(0x2c6)](),_0x5c9a23=await createTDXInstance(_0x454d13),_0x321fba=await _0x2196be[_0x441444(0x2d1)]({'options':{..._0x454d13,..._0x16e8b4},'args':_0x55688b?[_0x55688b]:[],'tdx':_0x5c9a23});gracefulExit(_0x321fba);}),parentCmd['command'](a2_0x28f113(0x32e))[a2_0x28f113(0x1fe)](a2_0x28f113(0x352))['option'](a2_0x28f113(0x214),a2_0x28f113(0x459))[a2_0x28f113(0x4b1)](a2_0x28f113(0x241),a2_0x28f113(0x236))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3e6),a2_0x28f113(0x46f))[a2_0x28f113(0x4b1)](a2_0x28f113(0x43f),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x26f),a2_0x28f113(0x211),a2_0x28f113(0x2d5))[a2_0x28f113(0x44e)](async(_0x442cf9,_0x104a5e)=>{const _0x3bf481=a2_0x28f113,_0x5f46fe=new ParentSegmentValidateCommand(),_0x4e8ddb=program[_0x3bf481(0x2c6)](),_0x5a768a=await createTDXInstance(_0x4e8ddb),_0x4fedac=await _0x5f46fe['run']({'options':{..._0x4e8ddb,..._0x104a5e},'args':_0x442cf9?[_0x442cf9]:[],'tdx':_0x5a768a});gracefulExit(_0x4fedac);}),parentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x31c))[a2_0x28f113(0x1fe)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x28f113(0x4b1)](a2_0x28f113(0x214),'Show\x20master\x20table\x20sample\x20data')[a2_0x28f113(0x4b1)](a2_0x28f113(0x241),a2_0x28f113(0x441))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3e6),a2_0x28f113(0x240))[a2_0x28f113(0x4b1)](a2_0x28f113(0x43f),a2_0x28f113(0x32c))[a2_0x28f113(0x4b1)](a2_0x28f113(0x26f),a2_0x28f113(0x211),a2_0x28f113(0x2d5))['action'](async(_0x5b4c8b,_0x2a725c)=>{const _0x2e818b=a2_0x28f113,_0x4bd2ba=new ParentSegmentPreviewCommand(),_0x188e47=program['opts'](),_0x22817c=await createTDXInstance(_0x188e47),_0x53457b=await _0x4bd2ba[_0x2e818b(0x2d1)]({'options':{..._0x188e47,..._0x2a725c},'args':_0x5b4c8b?[_0x5b4c8b]:[],'tdx':_0x22817c});gracefulExit(_0x53457b);}),parentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x37e))[a2_0x28f113(0x1fe)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x28f113(0x44e)](async(_0x49e8d2,_0x257f2d)=>{const _0x4bfe72=a2_0x28f113,_0x347148=new ParentSegmentRunCommand(),_0x737fb1=program[_0x4bfe72(0x2c6)](),_0x558ee0=await createTDXInstance(_0x737fb1),_0x1aa553=await _0x347148[_0x4bfe72(0x2d1)]({'options':{..._0x737fb1,..._0x257f2d},'args':_0x49e8d2?[_0x49e8d2]:[],'tdx':_0x558ee0});gracefulExit(_0x1aa553);});const parentSegmentCmd=program['command'](a2_0x28f113(0x3ec))[a2_0x28f113(0x2e9)]('ps')['description'](a2_0x28f113(0x43c));parentSegmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)](a2_0x28f113(0x257))[a2_0x28f113(0x44e)](parentListAction),parentSegmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x340))[a2_0x28f113(0x1fe)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x1ff),a2_0x28f113(0x34d))[a2_0x28f113(0x4b1)](a2_0x28f113(0x274),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')['action'](async(_0x12ecc9,_0x195ba0)=>{const _0x3e0029=a2_0x28f113,_0x3b0f9a=new ParentSegmentPullCommand(),_0x411155=program[_0x3e0029(0x2c6)](),_0x186fe2=await createTDXInstance(_0x411155),_0x5f03f7=await _0x3b0f9a[_0x3e0029(0x2d1)]({'options':{..._0x411155,..._0x195ba0},'args':_0x12ecc9?[_0x12ecc9]:[],'tdx':_0x186fe2});gracefulExit(_0x5f03f7);}),parentSegmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3ac))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2b4))[a2_0x28f113(0x44e)](async(_0x411867,_0xe43ab4)=>{const _0xac7262=a2_0x28f113,_0x2af2b3=new ParentSegmentPushCommand(),_0xea8623=program[_0xac7262(0x2c6)](),_0x23d014=await createTDXInstance(_0xea8623),_0x2826e4=await _0x2af2b3['run']({'options':{..._0xea8623,..._0xe43ab4},'args':_0x411867?[_0x411867]:[],'tdx':_0x23d014});gracefulExit(_0x2826e4);}),parentSegmentCmd[a2_0x28f113(0x327)]('validate\x20[name]')[a2_0x28f113(0x1fe)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x28f113(0x4b1)](a2_0x28f113(0x214),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x28f113(0x241),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3e6),a2_0x28f113(0x46f))[a2_0x28f113(0x4b1)]('--enriched',a2_0x28f113(0x4d4))[a2_0x28f113(0x4b1)]('--interval\x20<range>',a2_0x28f113(0x211),a2_0x28f113(0x2d5))[a2_0x28f113(0x44e)](async(_0x30005f,_0x2aef21)=>{const _0x2f37c8=a2_0x28f113,_0x3d0c5c=new ParentSegmentValidateCommand(),_0x4ac1f2=program['opts'](),_0x1f1323=await createTDXInstance(_0x4ac1f2),_0x3a09ca=await _0x3d0c5c[_0x2f37c8(0x2d1)]({'options':{..._0x4ac1f2,..._0x2aef21},'args':_0x30005f?[_0x30005f]:[],'tdx':_0x1f1323});gracefulExit(_0x3a09ca);}),parentSegmentCmd['command']('preview\x20[name]')[a2_0x28f113(0x1fe)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x28f113(0x4b1)]('--master',a2_0x28f113(0x395))[a2_0x28f113(0x4b1)]('--attribute\x20[name]',a2_0x28f113(0x441))[a2_0x28f113(0x4b1)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x28f113(0x4b1)]('--enriched',a2_0x28f113(0x32c))['option'](a2_0x28f113(0x26f),a2_0x28f113(0x211),'-1d')[a2_0x28f113(0x44e)](async(_0x1e829a,_0x3c22ad)=>{const _0x295ce7=a2_0x28f113,_0xce7905=new ParentSegmentPreviewCommand(),_0x1b7b59=program[_0x295ce7(0x2c6)](),_0x49778e=await createTDXInstance(_0x1b7b59),_0x25663e=await _0xce7905[_0x295ce7(0x2d1)]({'options':{..._0x1b7b59,..._0x3c22ad},'args':_0x1e829a?[_0x1e829a]:[],'tdx':_0x49778e});gracefulExit(_0x25663e);}),parentSegmentCmd['command'](a2_0x28f113(0x37e))['description']('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x28f113(0x44e)](async(_0xca449a,_0xda05de)=>{const _0x3fc927=a2_0x28f113,_0x229141=new ParentSegmentRunCommand(),_0x2b9add=program[_0x3fc927(0x2c6)](),_0x1203c0=await createTDXInstance(_0x2b9add),_0x40cc60=await _0x229141[_0x3fc927(0x2d1)]({'options':{..._0x2b9add,..._0xda05de},'args':_0xca449a?[_0xca449a]:[],'tdx':_0x1203c0});gracefulExit(_0x40cc60);}),parentSegmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x439))['description'](a2_0x28f113(0x24c))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ac),a2_0x28f113(0x251))['option'](a2_0x28f113(0x316),a2_0x28f113(0x35a))[a2_0x28f113(0x44e)](async(_0x39f405,_0x3097b5)=>{const _0x245f82=a2_0x28f113,_0x346fdb=new ParentSegmentFieldsCommand(),_0xcaba64=program[_0x245f82(0x2c6)](),_0x491edb=await createTDXInstance(_0xcaba64),_0x4493a6=await _0x346fdb[_0x245f82(0x2d1)]({'options':{..._0xcaba64,..._0x3097b5},'args':_0x39f405?[_0x39f405]:[],'tdx':_0x491edb});gracefulExit(_0x4493a6);}),parentSegmentCmd[a2_0x28f113(0x327)]('view\x20[name]')['description'](a2_0x28f113(0x4aa))['option']('-w,\x20--web',a2_0x28f113(0x492))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ac),'Output\x20as\x20JSON')[a2_0x28f113(0x4b1)]('--jsonl','Output\x20as\x20JSON\x20Lines')['action'](async(_0x1286cb,_0x1768d2)=>{const _0x535ee3=a2_0x28f113,_0x90002d=new ParentSegmentViewCommand(),_0xeeca66=program[_0x535ee3(0x2c6)](),_0x40d051=await createTDXInstance(_0xeeca66),_0x371741=await _0x90002d[_0x535ee3(0x2d1)]({'options':{..._0xeeca66,..._0x1768d2},'args':_0x1286cb?[_0x1286cb]:[],'tdx':_0x40d051});gracefulExit(_0x371741);}),parentSegmentCmd['command'](a2_0x28f113(0x478))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3b1))[a2_0x28f113(0x4b1)](a2_0x28f113(0x1ff),a2_0x28f113(0x34d))['option'](a2_0x28f113(0x2ac),a2_0x28f113(0x251))[a2_0x28f113(0x4b1)](a2_0x28f113(0x316),a2_0x28f113(0x35a))[a2_0x28f113(0x44e)](async(_0x42d610,_0x3d2c07)=>{const _0x42f300=a2_0x28f113,_0x4c3dd8=new ParentSegmentDescCommand(),_0x18ddba=program[_0x42f300(0x2c6)](),_0x531e7b=await createTDXInstance(_0x18ddba),_0x450720=await _0x4c3dd8[_0x42f300(0x2d1)]({'options':{..._0x18ddba,..._0x3d2c07},'args':_0x42d610?[_0x42d610]:[],'tdx':_0x531e7b});gracefulExit(_0x450720);}),parentSegmentCmd[a2_0x28f113(0x327)]('sql\x20[name]')['description'](a2_0x28f113(0x33d))['option'](a2_0x28f113(0x2ac),a2_0x28f113(0x251))['option'](a2_0x28f113(0x316),a2_0x28f113(0x35a))[a2_0x28f113(0x44e)](async(_0x57c75c,_0x406b0c)=>{const _0x32fa64=a2_0x28f113,_0x241f57=new ParentSegmentSQLCommand(),_0x4787d7=program[_0x32fa64(0x2c6)](),_0x3322cf=await createTDXInstance(_0x4787d7),_0x946334=await _0x241f57[_0x32fa64(0x2d1)]({'options':{..._0x4787d7,..._0x406b0c},'args':_0x57c75c?[_0x57c75c]:[],'tdx':_0x3322cf});gracefulExit(_0x946334);}),parentSegmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2a4))['description']('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x28f113(0x217),a2_0x28f113(0x2c5))[a2_0x28f113(0x4b1)]('--json',a2_0x28f113(0x251))['option'](a2_0x28f113(0x316),'Output\x20as\x20JSON\x20Lines')[a2_0x28f113(0x44e)](async(_0x55e1b1,_0x2e7de0)=>{const _0x205c0c=a2_0x28f113,_0x232266=new ParentSegmentShowCommand(),_0x3f4882=program[_0x205c0c(0x2c6)](),_0x38159d=await createTDXInstance(_0x3f4882),_0x1a1881=await _0x232266['run']({'options':{..._0x3f4882,..._0x2e7de0},'args':_0x55e1b1?[_0x55e1b1]:[],'tdx':_0x38159d});gracefulExit(_0x1a1881);}),parentSegmentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3ee))[a2_0x28f113(0x1fe)](a2_0x28f113(0x1e1))[a2_0x28f113(0x44e)](async(_0x5f3fe0,_0x49312a)=>{const _0x2318ce=a2_0x28f113,_0x4e6c1e=new UseCommand(),_0x2d82a1=program[_0x2318ce(0x2c6)](),_0x726c01=_0x5f3fe0?[_0x2318ce(0x408),_0x5f3fe0]:[],_0x2f9d90=await _0x4e6c1e[_0x2318ce(0x2d1)]({'options':{..._0x2d82a1,..._0x49312a},'args':_0x726c01,'tdx':null});gracefulExit(_0x2f9d90);});const psRtCmd=parentSegmentCmd[a2_0x28f113(0x327)]('rt')[a2_0x28f113(0x1fe)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))['description']('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x28f113(0x44e)](async(_0x28261d,_0x483c06)=>{const _0x69d594=a2_0x28f113,_0x106069=new PSRtListCommand(),_0x53d2f3=program[_0x69d594(0x2c6)](),_0x178812=await createTDXInstance(_0x53d2f3),_0x11febd=await _0x106069[_0x69d594(0x2d1)]({'options':{..._0x53d2f3,..._0x483c06},'args':_0x28261d?[_0x28261d]:[],'tdx':_0x178812});gracefulExit(_0x11febd);}),psRtCmd[a2_0x28f113(0x327)](a2_0x28f113(0x475))[a2_0x28f113(0x1fe)](a2_0x28f113(0x224))[a2_0x28f113(0x44e)](async(_0x3a3263,_0x27a490)=>{const _0x319132=a2_0x28f113,_0x45a984=new PSRtValidateCommand(),_0x46ced6=program[_0x319132(0x2c6)](),_0x4200bf=await createTDXInstance(_0x46ced6),_0x7cc608=await _0x45a984[_0x319132(0x2d1)]({'options':{..._0x46ced6,..._0x27a490},'args':_0x3a3263?[_0x3a3263]:[],'tdx':_0x4200bf});gracefulExit(_0x7cc608);}),psRtCmd[a2_0x28f113(0x327)](a2_0x28f113(0x1e5))[a2_0x28f113(0x1fe)]('Get\x20current\x20RT\x20configuration\x20version\x20status')[a2_0x28f113(0x44e)](async(_0x5bc97f,_0x99060)=>{const _0x55060f=a2_0x28f113,_0x222c5a=new PSRtConfigVersionCommand(),_0x416979=program[_0x55060f(0x2c6)](),_0x5c3f94=await createTDXInstance(_0x416979),_0x74ec95=await _0x222c5a[_0x55060f(0x2d1)]({'options':{..._0x416979,..._0x99060},'args':_0x5bc97f?[_0x5bc97f]:[],'tdx':_0x5c3f94});gracefulExit(_0x74ec95);});const psRtJnCmd=psRtCmd[a2_0x28f113(0x327)]('jn')['description'](a2_0x28f113(0x247));psRtJnCmd[a2_0x28f113(0x327)](a2_0x28f113(0x1f8))['description']('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x829a49,_0x5579ea)=>{const _0x56daa6=a2_0x28f113,_0x5a50f=new PSRtJnListCommand(),_0x2ad85a=program[_0x56daa6(0x2c6)](),_0x3c5e2f=await createTDXInstance(_0x2ad85a),_0x266e96=await _0x5a50f[_0x56daa6(0x2d1)]({'options':{..._0x2ad85a,..._0x5579ea},'args':_0x829a49?[_0x829a49]:[],'tdx':_0x3c5e2f});gracefulExit(_0x266e96);}),psRtJnCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3be))[a2_0x28f113(0x1fe)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x28f113(0x44e)](async(_0x3dc6dc,_0x32c493)=>{const _0x41f89a=a2_0x28f113,_0x4e0389=new PSRtJnPauseCommand(),_0x14e0d7=program[_0x41f89a(0x2c6)](),_0x56b2e1=await createTDXInstance(_0x14e0d7),_0xb3a3d7=await _0x4e0389[_0x41f89a(0x2d1)]({'options':{..._0x14e0d7,..._0x32c493},'args':[_0x3dc6dc],'tdx':_0x56b2e1});gracefulExit(_0xb3a3d7);}),psRtJnCmd[a2_0x28f113(0x327)](a2_0x28f113(0x31d))[a2_0x28f113(0x1fe)]('Resume\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x28f113(0x44e)](async(_0x52e424,_0x15a33f)=>{const _0x69ee49=a2_0x28f113,_0x58b4b7=new PSRtJnResumeCommand(),_0x2bf3f8=program[_0x69ee49(0x2c6)](),_0x5d16ad=await createTDXInstance(_0x2bf3f8),_0x1cb1b3=await _0x58b4b7['run']({'options':{..._0x2bf3f8,..._0x15a33f},'args':[_0x52e424],'tdx':_0x5d16ad});gracefulExit(_0x1cb1b3);});const parentRtCmd=parentCmd[a2_0x28f113(0x327)]('rt',{'hidden':!![]})['description'](a2_0x28f113(0x3f3));parentRtCmd['command'](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x28f113(0x44e)](async(_0x20e1c1,_0x274d0a)=>{const _0x44ad44=a2_0x28f113,_0x540038=new PSRtListCommand(),_0x2132c0=program[_0x44ad44(0x2c6)](),_0x5a032=await createTDXInstance(_0x2132c0),_0x494377=await _0x540038[_0x44ad44(0x2d1)]({'options':{..._0x2132c0,..._0x274d0a},'args':_0x20e1c1?[_0x20e1c1]:[],'tdx':_0x5a032});gracefulExit(_0x494377);}),parentRtCmd['command'](a2_0x28f113(0x475))[a2_0x28f113(0x1fe)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x28f113(0x44e)](async(_0x4b7300,_0x3f23bf)=>{const _0x542384=a2_0x28f113,_0x8fee06=new PSRtValidateCommand(),_0x5e09b6=program[_0x542384(0x2c6)](),_0x185a8c=await createTDXInstance(_0x5e09b6),_0x3ced21=await _0x8fee06['run']({'options':{..._0x5e09b6,..._0x3f23bf},'args':_0x4b7300?[_0x4b7300]:[],'tdx':_0x185a8c});gracefulExit(_0x3ced21);});const psPzCmd=parentSegmentCmd['command']('pz')['description'](a2_0x28f113(0x22d));psPzCmd[a2_0x28f113(0x327)](a2_0x28f113(0x1f8))[a2_0x28f113(0x1fe)](a2_0x28f113(0x27c))['action'](async(_0x5efd3a,_0x572b74)=>{const _0x31c49b=new PSPzListCommand(),_0x2ccacd=program['opts'](),_0x504733=await createTDXInstance(_0x2ccacd),_0x32a932=await _0x31c49b['run']({'options':{..._0x2ccacd,..._0x572b74},'args':_0x5efd3a?[_0x5efd3a]:[],'tdx':_0x504733});gracefulExit(_0x32a932);}),psPzCmd[a2_0x28f113(0x327)]('show\x20<personalization_id>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x377))['action'](async(_0x39dc4e,_0x15dc10)=>{const _0x3567ce=a2_0x28f113,_0x55ed70=new PSPzShowCommand(),_0x537736=program['opts'](),_0x57bf58=await createTDXInstance(_0x537736),_0x48eaf5=await _0x55ed70[_0x3567ce(0x2d1)]({'options':{..._0x537736,..._0x15dc10},'args':[_0x39dc4e],'tdx':_0x57bf58});gracefulExit(_0x48eaf5);}),psPzCmd['command']('delete\x20<personalization_id>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x3e7))['action'](async(_0x1367a3,_0x38b832)=>{const _0x2d8fb6=a2_0x28f113,_0x22adb2=new PSPzDeleteCommand(),_0x5f1012=program[_0x2d8fb6(0x2c6)](),_0x5bd25f=await createTDXInstance(_0x5f1012),_0x35c664=await _0x22adb2[_0x2d8fb6(0x2d1)]({'options':{..._0x5f1012,..._0x38b832},'args':[_0x1367a3],'tdx':_0x5bd25f});gracefulExit(_0x35c664);}),psPzCmd[a2_0x28f113(0x327)]('create')[a2_0x28f113(0x1fe)](a2_0x28f113(0x446))[a2_0x28f113(0x4b1)](a2_0x28f113(0x489),a2_0x28f113(0x44a))['option'](a2_0x28f113(0x24f),'Personalization\x20description')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3d8),a2_0x28f113(0x362))[a2_0x28f113(0x4b1)]('--folder-id\x20<id>',a2_0x28f113(0x4ca))[a2_0x28f113(0x4b1)](a2_0x28f113(0x456),'Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x28f113(0x4b1)]('--file\x20<path>',a2_0x28f113(0x26d))[a2_0x28f113(0x44e)](async _0x8a110e=>{const _0x1d3e1f=a2_0x28f113,_0x1699e3=new PSPzCreateCommand(),_0x3595a5=program[_0x1d3e1f(0x2c6)](),_0x35a1d3=await createTDXInstance(_0x3595a5),_0x29b448=await _0x1699e3[_0x1d3e1f(0x2d1)]({'options':{..._0x3595a5,..._0x8a110e},'args':[],'tdx':_0x35a1d3});gracefulExit(_0x29b448);}),psPzCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2f9))[a2_0x28f113(0x1fe)](a2_0x28f113(0x42c))['option'](a2_0x28f113(0x489),a2_0x28f113(0x44a))[a2_0x28f113(0x4b1)](a2_0x28f113(0x24f),a2_0x28f113(0x34f))[a2_0x28f113(0x4b1)](a2_0x28f113(0x456),a2_0x28f113(0x3de))['option'](a2_0x28f113(0x2e6),a2_0x28f113(0x26d))[a2_0x28f113(0x44e)](async(_0x1d277d,_0xc75b1c)=>{const _0x27eb65=a2_0x28f113,_0x51f657=new PSPzPatchCommand(),_0x4a248d=program['opts'](),_0x3cce=await createTDXInstance(_0x4a248d),_0x2f8e1e=await _0x51f657[_0x27eb65(0x2d1)]({'options':{..._0x4a248d,..._0xc75b1c},'args':[_0x1d277d],'tdx':_0x3cce});gracefulExit(_0x2f8e1e);});const psPzServiceCmd=psPzCmd[a2_0x28f113(0x327)](a2_0x28f113(0x49f))[a2_0x28f113(0x1fe)](a2_0x28f113(0x253));psPzServiceCmd[a2_0x28f113(0x327)](a2_0x28f113(0x1f8))[a2_0x28f113(0x1fe)](a2_0x28f113(0x45c))[a2_0x28f113(0x44e)](async(_0x2dd154,_0x1d4a1d)=>{const _0x3629ae=a2_0x28f113,_0x202385=new PSPzServiceListCommand(),_0x52d849=program[_0x3629ae(0x2c6)](),_0x344175=await createTDXInstance(_0x52d849),_0xce22cc=await _0x202385[_0x3629ae(0x2d1)]({'options':{..._0x52d849,..._0x1d4a1d},'args':_0x2dd154?[_0x2dd154]:[],'tdx':_0x344175});gracefulExit(_0xce22cc);}),psPzServiceCmd[a2_0x28f113(0x327)]('create\x20<name>\x20[parent_segment]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x259))[a2_0x28f113(0x4b1)](a2_0x28f113(0x24f),a2_0x28f113(0x409))[a2_0x28f113(0x4b1)]('--public','Make\x20service\x20public\x20(default:\x20private)')[a2_0x28f113(0x44e)](async(_0x48ced5,_0x555637,_0x237309)=>{const _0x26e9cc=a2_0x28f113,_0x2e2f02=new PSPzServiceCreateCommand(),_0x2999c9=program['opts'](),_0x5a3185=await createTDXInstance(_0x2999c9),_0x386f71=await _0x2e2f02[_0x26e9cc(0x2d1)]({'options':{..._0x2999c9,..._0x237309},'args':_0x555637?[_0x48ced5,_0x555637]:[_0x48ced5],'tdx':_0x5a3185});gracefulExit(_0x386f71);}),psPzServiceCmd[a2_0x28f113(0x327)](a2_0x28f113(0x1e4))[a2_0x28f113(0x1fe)](a2_0x28f113(0x305))['action'](async(_0x24b96e,_0x38ed15,_0x5dffd2)=>{const _0x47f084=a2_0x28f113,_0x2eaa58=new PSPzServiceShowCommand(),_0x3c20f6=program[_0x47f084(0x2c6)](),_0x1da6b4=await createTDXInstance(_0x3c20f6),_0x4427f1=await _0x2eaa58[_0x47f084(0x2d1)]({'options':{..._0x3c20f6,..._0x5dffd2},'args':_0x38ed15?[_0x24b96e,_0x38ed15]:[_0x24b96e],'tdx':_0x1da6b4});gracefulExit(_0x4427f1);}),psPzServiceCmd['command'](a2_0x28f113(0x2fa))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2c8))[a2_0x28f113(0x44e)](async(_0x3f195e,_0x4245b7,_0xa4b785)=>{const _0x4d8aa3=a2_0x28f113,_0x539eab=new PSPzServiceDeleteCommand(),_0x4e9d10=program['opts'](),_0x1ed240=await createTDXInstance(_0x4e9d10),_0x14cebe=await _0x539eab[_0x4d8aa3(0x2d1)]({'options':{..._0x4e9d10,..._0xa4b785},'args':_0x4245b7?[_0x3f195e,_0x4245b7]:[_0x3f195e],'tdx':_0x1ed240});gracefulExit(_0x14cebe);}),psPzServiceCmd[a2_0x28f113(0x327)]('update\x20<service_id>\x20[parent_segment]')[a2_0x28f113(0x1fe)]('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x28f113(0x4cb)](a2_0x28f113(0x266),a2_0x28f113(0x369))['option'](a2_0x28f113(0x24f),a2_0x28f113(0x235))[a2_0x28f113(0x44e)](async(_0x38cd3c,_0x5846e2,_0x1c7901)=>{const _0x38486d=a2_0x28f113,_0x223389=new PSPzServiceUpdateCommand(),_0x7af7a1=program[_0x38486d(0x2c6)](),_0x56c9e6=await createTDXInstance(_0x7af7a1),_0x428dcb=await _0x223389[_0x38486d(0x2d1)]({'options':{..._0x7af7a1,..._0x1c7901},'args':_0x5846e2?[_0x38cd3c,_0x5846e2]:[_0x38cd3c],'tdx':_0x56c9e6});gracefulExit(_0x428dcb);}),psPzServiceCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4db))[a2_0x28f113(0x1fe)](a2_0x28f113(0x4c0))[a2_0x28f113(0x44e)](async(_0x13aaeb,_0x3cc90e)=>{const _0x2d4bb8=a2_0x28f113,_0x210461=new PSPzInitCommand(),_0x34513f=program[_0x2d4bb8(0x2c6)](),_0x42052a=await createTDXInstance(_0x34513f),_0x903dd2=await _0x210461[_0x2d4bb8(0x2d1)]({'options':{..._0x34513f,..._0x3cc90e},'args':_0x13aaeb?[_0x13aaeb]:[],'tdx':_0x42052a});gracefulExit(_0x903dd2);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x28f113(0x327)]('token')[a2_0x28f113(0x1fe)](a2_0x28f113(0x466));psPzServiceTokenCmd[a2_0x28f113(0x327)](a2_0x28f113(0x474))[a2_0x28f113(0x1fe)]('Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['option']('--allowed-ips\x20<ips>',a2_0x28f113(0x46a))[a2_0x28f113(0x4b1)]('--description\x20<text>',a2_0x28f113(0x495))['action'](async(_0x15ac0a,_0x5c5038,_0x201b38,_0x39ca36)=>{const _0x3efac4=a2_0x28f113,_0x3c6fac=new PSPzServiceTokenCreateCommand(),_0x2ece09=program[_0x3efac4(0x2c6)](),_0x39c7b4=await createTDXInstance(_0x2ece09),_0x4f5546=await _0x3c6fac[_0x3efac4(0x2d1)]({'options':{..._0x2ece09,..._0x39ca36},'args':_0x201b38?[_0x15ac0a,_0x5c5038,_0x201b38]:[_0x15ac0a,_0x5c5038],'tdx':_0x39c7b4});gracefulExit(_0x4f5546);}),psPzServiceTokenCmd[a2_0x28f113(0x327)](a2_0x28f113(0x213))[a2_0x28f113(0x1fe)](a2_0x28f113(0x292))['action'](async(_0x56ea15,_0x4a40c3,_0x2e30c1)=>{const _0x100a38=a2_0x28f113,_0x36a887=new PSPzServiceTokenDeleteCommand(),_0x358e07=program[_0x100a38(0x2c6)](),_0x2c0c08=await createTDXInstance(_0x358e07),_0xb8c367=await _0x36a887[_0x100a38(0x2d1)]({'options':{..._0x358e07,..._0x2e30c1},'args':_0x4a40c3?[_0x56ea15,_0x4a40c3]:[_0x56ea15],'tdx':_0x2c0c08});gracefulExit(_0xb8c367);}),parentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x275))[a2_0x28f113(0x1fe)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x28f113(0x4cb)](a2_0x28f113(0x222),a2_0x28f113(0x1ef))['requiredOption']('--table\x20<table>',a2_0x28f113(0x341))[a2_0x28f113(0x4b1)](a2_0x28f113(0x24f),'Parent\x20segment\x20description')['option']('--schedule-type\x20<type>',a2_0x28f113(0x470))['option'](a2_0x28f113(0x227),a2_0x28f113(0x385))[a2_0x28f113(0x4b1)](a2_0x28f113(0x320),a2_0x28f113(0x2b9))[a2_0x28f113(0x4b1)]('--attributes\x20<json>',a2_0x28f113(0x3a2))['option']('--attributes-file\x20<file>',a2_0x28f113(0x260))['option'](a2_0x28f113(0x403),a2_0x28f113(0x436))[a2_0x28f113(0x4b1)](a2_0x28f113(0x422),a2_0x28f113(0x265))[a2_0x28f113(0x4b1)]('--customer-group\x20<json>',a2_0x28f113(0x481))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3c7),'Customer\x20group\x20from\x20JSON\x20file')[a2_0x28f113(0x44e)](async(_0x25eda8,_0x4de2f3)=>{const _0x4e4c23=a2_0x28f113,_0x46cac1=new ParentSegmentCreateCommand(),_0x3c3a9b=program[_0x4e4c23(0x2c6)](),_0x44632c=await createTDXInstance(_0x3c3a9b),_0x5fb3b8=await _0x46cac1[_0x4e4c23(0x2d1)]({'options':{..._0x3c3a9b,..._0x4de2f3},'args':[_0x25eda8],'tdx':_0x44632c});gracefulExit(_0x5fb3b8);}),parentCmd[a2_0x28f113(0x327)](a2_0x28f113(0x368))['description'](a2_0x28f113(0x344))[a2_0x28f113(0x4b1)](a2_0x28f113(0x24f),a2_0x28f113(0x32f))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ad),a2_0x28f113(0x484))[a2_0x28f113(0x4b1)](a2_0x28f113(0x227),'Updated\x20schedule\x20option')['option'](a2_0x28f113(0x320),a2_0x28f113(0x349))[a2_0x28f113(0x4b1)](a2_0x28f113(0x343),a2_0x28f113(0x1df))[a2_0x28f113(0x4b1)](a2_0x28f113(0x455),a2_0x28f113(0x363))[a2_0x28f113(0x4b1)]('--add-behaviors\x20<json>','Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x28f113(0x4b1)](a2_0x28f113(0x364),a2_0x28f113(0x44f))[a2_0x28f113(0x44e)](async(_0x3b9ca2,_0x519632)=>{const _0x1cda06=a2_0x28f113,_0x4feb37=new ParentSegmentUpdateCommand(),_0x110407=program[_0x1cda06(0x2c6)](),_0x45a609=await createTDXInstance(_0x110407),_0x41d9dd=await _0x4feb37[_0x1cda06(0x2d1)]({'options':{..._0x110407,..._0x519632},'args':[_0x3b9ca2],'tdx':_0x45a609});gracefulExit(_0x41d9dd);}),folderCmd[a2_0x28f113(0x327)](a2_0x28f113(0x22c))[a2_0x28f113(0x1fe)](a2_0x28f113(0x45d))['option'](a2_0x28f113(0x24f),a2_0x28f113(0x371))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2bf),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x247b60,_0x49e0c9,_0x32f40e)=>{const _0x5060e2=a2_0x28f113,_0x51e6bf=new SegmentFolderCreateCommand(),_0x2fcc96=program[_0x5060e2(0x2c6)](),_0x4d86a1=await createTDXInstance(_0x2fcc96),_0x29e388=await _0x51e6bf['run']({'options':{..._0x2fcc96,..._0x32f40e},'args':[_0x247b60,_0x49e0c9],'tdx':_0x4d86a1});gracefulExit(_0x29e388);}),program[a2_0x28f113(0x327)]('activations\x20<segment_name>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x3df))[a2_0x28f113(0x44e)](async(_0xb1932a,_0x441de8)=>{const _0x2b3630=a2_0x28f113,_0x373286=new ActivationsCommand(),_0x2fc4c5=program['opts'](),_0x241e57=await createTDXInstance(_0x2fc4c5),_0x505913=await _0x373286[_0x2b3630(0x2d1)]({'options':{..._0x2fc4c5,..._0x441de8},'args':[_0xb1932a],'tdx':_0x241e57});gracefulExit(_0x505913);});const workflowCmd=program[a2_0x28f113(0x327)]('workflow')['alias']('wf')[a2_0x28f113(0x1fe)](a2_0x28f113(0x4ae)),wfProjectCmd=workflowCmd['command'](a2_0x28f113(0x2f1))[a2_0x28f113(0x1fe)](a2_0x28f113(0x1e6)),wfProjectListAction=async(_0x3dab9b,_0x4d3997)=>{const _0x542609=a2_0x28f113,_0x430105=new WorkflowProjectsCommand(),_0x9624d4=program[_0x542609(0x2c6)](),_0x20ea24=await createTDXInstance(_0x9624d4),_0x43f31e=await _0x430105[_0x542609(0x2d1)]({'options':{..._0x9624d4,..._0x4d3997},'args':_0x3dab9b?[_0x3dab9b]:[],'tdx':_0x20ea24});gracefulExit(_0x43f31e);};wfProjectCmd['command'](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)](a2_0x28f113(0x1e7))[a2_0x28f113(0x44e)](wfProjectListAction),workflowCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2fb))[a2_0x28f113(0x1fe)](a2_0x28f113(0x337))[a2_0x28f113(0x44e)](wfProjectListAction);const wfWorkflowListAction=async(_0x44a213,_0x369a85)=>{const _0x45f2fa=a2_0x28f113,_0x2fc72b=new WorkflowWorkflowsCommand(),_0x963e1c=program['opts'](),_0xa948f5=await createTDXInstance(_0x963e1c),_0x5c79bf=await _0x2fc72b[_0x45f2fa(0x2d1)]({'options':{..._0x963e1c,..._0x369a85},'args':_0x44a213?[_0x44a213]:[],'tdx':_0xa948f5});gracefulExit(_0x5c79bf);};workflowCmd[a2_0x28f113(0x327)]('workflows\x20[project]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x303))[a2_0x28f113(0x44e)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4ab))[a2_0x28f113(0x1fe)](a2_0x28f113(0x29c)),wfSessionListAction=async(_0x9fa92d,_0x592632)=>{const _0x467693=a2_0x28f113,_0x39c1de=new WorkflowSessionsCommand(),_0x3b7d0f=program[_0x467693(0x2c6)](),_0x1c34ae=await createTDXInstance(_0x3b7d0f),_0x348fc8=await _0x39c1de[_0x467693(0x2d1)]({'options':{..._0x3b7d0f,..._0x592632},'args':_0x9fa92d?[_0x9fa92d]:[],'tdx':_0x1c34ae});gracefulExit(_0x348fc8);};wfSessionCmd['command']('list\x20[project]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x2f8))['option']('--status\x20<status>',a2_0x28f113(0x4c8))['option'](a2_0x28f113(0x2e5),a2_0x28f113(0x282))[a2_0x28f113(0x4b1)](a2_0x28f113(0x264),a2_0x28f113(0x229))[a2_0x28f113(0x44e)](wfSessionListAction),workflowCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4e8))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2d2))[a2_0x28f113(0x4b1)]('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2e5),a2_0x28f113(0x282))['option']('--to\x20<timestamp>',a2_0x28f113(0x229))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x5e22b8,_0x5a4c25)=>{const _0x1ee697=a2_0x28f113,_0xd6b14d=new WorkflowAttemptsCommand(),_0x3929cc=program[_0x1ee697(0x2c6)](),_0x435ec0=await createTDXInstance(_0x3929cc),_0x5addec=await _0xd6b14d[_0x1ee697(0x2d1)]({'options':{..._0x3929cc,..._0x5a4c25},'args':_0x5e22b8?[_0x5e22b8]:[],'tdx':_0x435ec0});gracefulExit(_0x5addec);},attemptCmd=workflowCmd[a2_0x28f113(0x327)]('attempt')['description'](a2_0x28f113(0x310))[a2_0x28f113(0x39a)]('[attempt-id]',a2_0x28f113(0x205))[a2_0x28f113(0x39a)](a2_0x28f113(0x23d),a2_0x28f113(0x1f5))['argument'](a2_0x28f113(0x3c6),'Task\x20name\x20for\x20logs\x20action')[a2_0x28f113(0x4b1)]('--include-subtasks','Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x28f113(0x4b1)](a2_0x28f113(0x4b3),a2_0x28f113(0x2e1))['option'](a2_0x28f113(0x323),a2_0x28f113(0x4be))[a2_0x28f113(0x4b1)]('--params\x20<json>',a2_0x28f113(0x1f3))[a2_0x28f113(0x4b1)](a2_0x28f113(0x473),'Force\x20retry\x20even\x20if\x20not\x20failed')['option'](a2_0x28f113(0x35e),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x28f113(0x44e)](async(_0x119669,_0x36117c,_0x1b59fa,_0x2f54f4)=>{const _0x3eaa3b=a2_0x28f113;if(_0x119669==='list'){await wfAttemptListAction(_0x36117c,_0x2f54f4);return;}if(!_0x119669){attemptCmd[_0x3eaa3b(0x40c)]();return;}const _0x2fa01d=program['opts'](),_0x3abb7a=await createTDXInstance(_0x2fa01d);let _0x49e8c=0x0;if(!_0x36117c){const _0x7bd7ce=new WorkflowAttemptCommand();_0x49e8c=await _0x7bd7ce[_0x3eaa3b(0x2d1)]({'options':{..._0x2fa01d,..._0x2f54f4},'args':[_0x119669],'tdx':_0x3abb7a});}else{if(_0x36117c==='logs'){const _0x5802bd=new WorkflowLogsCommand();_0x49e8c=await _0x5802bd['run']({'options':{..._0x2fa01d,..._0x2f54f4},'args':_0x1b59fa?[_0x119669,_0x1b59fa]:[_0x119669],'tdx':_0x3abb7a});}else{if(_0x36117c===_0x3eaa3b(0x318)){const _0x416167=new WorkflowTasksCommand();_0x49e8c=await _0x416167[_0x3eaa3b(0x2d1)]({'options':{..._0x2fa01d,..._0x2f54f4},'args':[_0x119669],'tdx':_0x3abb7a});}else{if(_0x36117c==='kill'){const _0x472521=new WorkflowKillCommand();_0x49e8c=await _0x472521[_0x3eaa3b(0x2d1)]({'options':{..._0x2fa01d,..._0x2f54f4},'args':[_0x119669],'tdx':_0x3abb7a});}else{if(_0x36117c===_0x3eaa3b(0x398)){const _0x517e46=new WorkflowRetryCommand();_0x49e8c=await _0x517e46[_0x3eaa3b(0x2d1)]({'options':{..._0x2fa01d,..._0x2f54f4},'args':[_0x3eaa3b(0x40e)+_0x119669],'tdx':_0x3abb7a});}else console[_0x3eaa3b(0x471)](_0x3eaa3b(0x418)+_0x36117c),console[_0x3eaa3b(0x471)](_0x3eaa3b(0x25f)),_0x49e8c=0x1;}}}}gracefulExit(_0x49e8c);});attemptCmd[a2_0x28f113(0x327)](a2_0x28f113(0x287))[a2_0x28f113(0x1fe)](a2_0x28f113(0x47c))[a2_0x28f113(0x4b1)](a2_0x28f113(0x35e),a2_0x28f113(0x4a4))[a2_0x28f113(0x44e)](wfAttemptListAction),workflowCmd[a2_0x28f113(0x327)]('attempts\x20[project]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x322))[a2_0x28f113(0x4b1)]('--include-retried','Include\x20retried\x20attempts')[a2_0x28f113(0x44e)](wfAttemptListAction),workflowCmd[a2_0x28f113(0x327)]('timeline\x20[project.workflow]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x36b))[a2_0x28f113(0x4b1)](a2_0x28f113(0x354),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x28f113(0x4b1)]('--session-id\x20<id>',a2_0x28f113(0x2c7))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3fa),'Show\x20timeline\x20for\x20specific\x20attempt')['action'](async(_0x9c4da6,_0x32956c)=>{const _0x46946d=a2_0x28f113,_0x36549c=new WorkflowTimelineCommand(),_0x4a0e42=program[_0x46946d(0x2c6)](),_0xc935a3=await createTDXInstance(_0x4a0e42),_0x81d21e=await _0x36549c['run']({'options':{..._0x4a0e42,..._0x32956c},'args':_0x9c4da6?[_0x9c4da6]:[],'tdx':_0xc935a3});gracefulExit(_0x81d21e);}),workflowCmd[a2_0x28f113(0x327)]('retry\x20<session-id>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x325))['option']('--from-task\x20<task>',a2_0x28f113(0x4ad))['option'](a2_0x28f113(0x45b),a2_0x28f113(0x285))['action'](async(_0x3e3fce,_0x367d6b)=>{const _0x5b1e15=a2_0x28f113,_0x17c2bc=new WorkflowRetryCommand(),_0x6e5487=program[_0x5b1e15(0x2c6)](),_0x1eab00=await createTDXInstance(_0x6e5487),_0x56ac8c=await _0x17c2bc[_0x5b1e15(0x2d1)]({'options':{..._0x6e5487,..._0x367d6b},'args':[_0x3e3fce],'tdx':_0x1eab00});gracefulExit(_0x56ac8c);}),workflowCmd[a2_0x28f113(0x327)]('run\x20[workflow]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x384))['option'](a2_0x28f113(0x4c2),'Workflow\x20parameter\x20(repeatable)',(_0x2a1e5a,_0x21fd5e=[])=>[..._0x21fd5e,_0x2a1e5a],[])[a2_0x28f113(0x4b1)](a2_0x28f113(0x410),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x28f113(0x44e)](async(_0x28465f,_0x120b9c)=>{const _0x2a22fa=a2_0x28f113,_0x26f1cc=new WorkflowRunCommand(),_0x2dff62=program[_0x2a22fa(0x2c6)](),_0x1ac7da=await createTDXInstance(_0x2dff62),_0x500c73=await _0x26f1cc[_0x2a22fa(0x2d1)]({'options':{..._0x2dff62,..._0x120b9c},'args':_0x28465f?[_0x28465f]:[],'tdx':_0x1ac7da});gracefulExit(_0x500c73);}),workflowCmd['command']('download\x20<project-name>\x20[output-dir]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x417))['option'](a2_0x28f113(0x4bb),a2_0x28f113(0x3f2))[a2_0x28f113(0x44e)](async(_0x472f20,_0x198391,_0x5bfb58)=>{const _0xdc711e=a2_0x28f113,_0xfcdbab=new WorkflowDownloadCommand(),_0x282dde=program[_0xdc711e(0x2c6)](),_0x3e4986=await createTDXInstance(_0x282dde),_0xde78=await _0xfcdbab['run']({'options':{..._0x282dde,..._0x5bfb58},'args':[_0x472f20,_0x198391||'.'],'tdx':_0x3e4986});gracefulExit(_0xde78);}),workflowCmd[a2_0x28f113(0x327)]('pull\x20<project>\x20[target-dir]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x34b))[a2_0x28f113(0x4b1)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2c1),'Preview\x20changes\x20without\x20writing\x20files')['action'](async(_0x3dffb1,_0x13265c,_0x5df315)=>{const _0x32442a=a2_0x28f113,_0x28d9c3=new WorkflowPullCommand(),_0x48699f=program[_0x32442a(0x2c6)](),_0x3a733b=await createTDXInstance(_0x48699f),_0x34b0aa=await _0x28d9c3[_0x32442a(0x2d1)]({'options':{..._0x48699f,..._0x5df315},'args':_0x13265c?[_0x3dffb1,_0x13265c]:[_0x3dffb1],'tdx':_0x3a733b});gracefulExit(_0x34b0aa);}),workflowCmd['command'](a2_0x28f113(0x36a))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2e0))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4bb),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2c1),'Preview\x20changes\x20without\x20pushing')[a2_0x28f113(0x4b1)]('--skip-validation',a2_0x28f113(0x44c))[a2_0x28f113(0x44e)](async(_0x5540d6,_0x2efee1)=>{const _0xee7a75=a2_0x28f113,_0x4f24d8=new WorkflowPushCommand(),_0x40d32c=program[_0xee7a75(0x2c6)](),_0x5e69c3=await createTDXInstance(_0x40d32c),_0x214e1e=await _0x4f24d8['run']({'options':{..._0x40d32c,..._0x2efee1},'args':_0x5540d6?[_0x5540d6]:[],'tdx':_0x5e69c3});gracefulExit(_0x214e1e);}),workflowCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2be))[a2_0x28f113(0x1fe)](a2_0x28f113(0x230))['option'](a2_0x28f113(0x266),a2_0x28f113(0x359))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4bb),a2_0x28f113(0x302))[a2_0x28f113(0x4b1)]('--skip-validation',a2_0x28f113(0x44c))[a2_0x28f113(0x44e)](async(_0x173d24,_0x4d6c6d)=>{const _0x2bca06=a2_0x28f113,_0x47cd91=new WorkflowUploadCommand(),_0x5a6743=program[_0x2bca06(0x2c6)](),_0x2e87d2=await createTDXInstance(_0x5a6743),_0x3a8af6=await _0x47cd91[_0x2bca06(0x2d1)]({'options':{..._0x5a6743,..._0x4d6c6d},'args':_0x173d24?[_0x173d24]:[],'tdx':_0x2e87d2});gracefulExit(_0x3a8af6);}),workflowCmd['command'](a2_0x28f113(0x3ef))[a2_0x28f113(0x1fe)](a2_0x28f113(0x49b))[a2_0x28f113(0x4b1)](a2_0x28f113(0x266),a2_0x28f113(0x4ac))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4bb),a2_0x28f113(0x1de))[a2_0x28f113(0x4b1)]('--dry-run','Preview\x20without\x20creating\x20the\x20project')[a2_0x28f113(0x4b1)]('--skip-validation',a2_0x28f113(0x44c))[a2_0x28f113(0x44e)](async(_0x48d55c,_0x45c5ee)=>{const _0x5e8875=a2_0x28f113,_0x15f274=new WorkflowCloneCommand(),_0x4ac365=program[_0x5e8875(0x2c6)](),_0x121220=await createTDXInstance(_0x4ac365),_0xcc66f3=await _0x15f274['run']({'options':{..._0x4ac365,..._0x45c5ee},'args':_0x48d55c?[_0x48d55c]:[],'tdx':_0x121220});gracefulExit(_0xcc66f3);}),workflowCmd['command']('delete\x20<project-name-or-id>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x4af))[a2_0x28f113(0x44e)](async(_0x29a44f,_0xc7a026)=>{const _0x1a95aa=a2_0x28f113,_0x24f4d7=new WorkflowDeleteCommand(),_0x4c1824=program[_0x1a95aa(0x2c6)](),_0x535d8b=await createTDXInstance(_0x4c1824),_0x2b6deb=await _0x24f4d7['run']({'options':{..._0x4c1824,..._0xc7a026},'args':[_0x29a44f],'tdx':_0x535d8b});gracefulExit(_0x2b6deb);}),workflowCmd[a2_0x28f113(0x327)](a2_0x28f113(0x46c))[a2_0x28f113(0x1fe)](a2_0x28f113(0x38e))[a2_0x28f113(0x4b1)]('--clear',a2_0x28f113(0x469))[a2_0x28f113(0x44e)](async(_0x53f0a1,_0x3ad2eb)=>{const _0x2dca27=a2_0x28f113,_0x5502b5=new WorkflowUseCommand(),_0x475f13=program[_0x2dca27(0x2c6)](),_0x238a01=await createTDXInstance(_0x475f13),_0x173fd7=await _0x5502b5[_0x2dca27(0x2d1)]({'options':{..._0x475f13,..._0x3ad2eb},'args':_0x53f0a1?[_0x53f0a1]:[],'tdx':_0x238a01});gracefulExit(_0x173fd7);});const wfSecretsCmd=workflowCmd[a2_0x28f113(0x327)]('secrets')[a2_0x28f113(0x1fe)](a2_0x28f113(0x3c2));wfSecretsCmd[a2_0x28f113(0x327)](a2_0x28f113(0x287))[a2_0x28f113(0x1fe)](a2_0x28f113(0x4a2))[a2_0x28f113(0x44e)](async(_0x2727df,_0x284ec9)=>{const _0xf36954=a2_0x28f113,_0x5c4fda=new WorkflowSecretsListCommand(),_0x7946fb=program[_0xf36954(0x2c6)](),_0x5f43a4=await createTDXInstance(_0x7946fb),_0x3d4cec=await _0x5c4fda[_0xf36954(0x2d1)]({'options':{..._0x7946fb,..._0x284ec9},'args':_0x2727df?[_0x2727df]:[],'tdx':_0x5f43a4});gracefulExit(_0x3d4cec);}),wfSecretsCmd[a2_0x28f113(0x327)]('set\x20<args...>')['description'](a2_0x28f113(0x22a))[a2_0x28f113(0x44e)](async(_0x271a6c,_0x4cd17e)=>{const _0x228c69=a2_0x28f113,_0x1daa6b=new WorkflowSecretsSetCommand(),_0x150763=program[_0x228c69(0x2c6)](),_0xf6899b=await createTDXInstance(_0x150763),_0x168350=await _0x1daa6b[_0x228c69(0x2d1)]({'options':{..._0x150763,..._0x4cd17e},'args':_0x271a6c,'tdx':_0xf6899b});gracefulExit(_0x168350);}),wfSecretsCmd[a2_0x28f113(0x327)]('delete\x20<args...>')['description'](a2_0x28f113(0x301))['action'](async(_0x1cce50,_0x44c678)=>{const _0x5e5c8f=a2_0x28f113,_0x19d4e4=new WorkflowSecretsDeleteCommand(),_0x3f8831=program[_0x5e5c8f(0x2c6)](),_0x167969=await createTDXInstance(_0x3f8831),_0x498a82=await _0x19d4e4[_0x5e5c8f(0x2d1)]({'options':{..._0x3f8831,..._0x44c678},'args':_0x1cce50,'tdx':_0x167969});gracefulExit(_0x498a82);});const jobCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x41e))['description'](a2_0x28f113(0x1e2)),jobListAction=async _0x488841=>{const _0x4192a7=a2_0x28f113,_0x5a95dc=new JobListCommand(),_0x281ad9=program[_0x4192a7(0x2c6)](),_0x5e5fb1=await createTDXInstance(_0x281ad9),_0x37ae12=await _0x5a95dc[_0x4192a7(0x2d1)]({'options':{..._0x281ad9,..._0x488841},'args':[],'tdx':_0x5e5fb1});gracefulExit(_0x37ae12);};jobCmd[a2_0x28f113(0x327)](a2_0x28f113(0x355))['description'](a2_0x28f113(0x226))[a2_0x28f113(0x4b1)]('--status\x20<status>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x28f113(0x44e)](jobListAction),program['command'](a2_0x28f113(0x20d),{'hidden':!![]})[a2_0x28f113(0x1fe)](a2_0x28f113(0x263))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3f8),a2_0x28f113(0x2b2))[a2_0x28f113(0x44e)](jobListAction),jobCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3d6))['description'](a2_0x28f113(0x3dc))[a2_0x28f113(0x44e)](async(_0x1f9e9d,_0x999ba9)=>{const _0x47c92d=a2_0x28f113,_0x4e8015=new JobShowCommand(),_0x135853=program[_0x47c92d(0x2c6)](),_0xf33322=await createTDXInstance(_0x135853),_0x582d01=await _0x4e8015['run']({'options':{..._0x135853,..._0x999ba9},'args':[_0x1f9e9d],'tdx':_0xf33322});gracefulExit(_0x582d01);}),jobCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2c0))[a2_0x28f113(0x1fe)]('Kill\x20a\x20job')['action'](async(_0x10e681,_0x591848)=>{const _0x356f8f=a2_0x28f113,_0x2e313e=new JobKillCommand(),_0x1f472a=program[_0x356f8f(0x2c6)](),_0x4231c2=await createTDXInstance(_0x1f472a),_0x468e39=await _0x2e313e[_0x356f8f(0x2d1)]({'options':{..._0x1f472a,..._0x591848},'args':[_0x10e681],'tdx':_0x4231c2});gracefulExit(_0x468e39);}),jobCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2dc))['description'](a2_0x28f113(0x39e))[a2_0x28f113(0x4b1)]('--job-type\x20<type>',a2_0x28f113(0x4e0),a2_0x28f113(0x4b0))[a2_0x28f113(0x4b1)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')[a2_0x28f113(0x4b1)](a2_0x28f113(0x4d9),'Database\x20name\x20(default:\x20information_schema)',a2_0x28f113(0x392))[a2_0x28f113(0x4b1)]('--result\x20<target>',a2_0x28f113(0x443))[a2_0x28f113(0x44e)](async(_0x3e7330,_0x18c4e5)=>{const _0x1eb8cf=a2_0x28f113,_0x17cffd=new JobSubmitCommand(),_0xce78c9=program[_0x1eb8cf(0x2c6)](),_0x317d01=await createTDXInstance(_0xce78c9),_0x4e8c25=await _0x17cffd[_0x1eb8cf(0x2d1)]({'options':{..._0xce78c9,..._0x18c4e5},'args':_0x3e7330?[_0x3e7330]:[],'tdx':_0x317d01});gracefulExit(_0x4e8c25);}),jobCmd[a2_0x28f113(0x327)]('result\x20<job-id>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x47e))['action'](async(_0x16b607,_0x2c51bf)=>{const _0x2f0709=a2_0x28f113,_0x41fd1a=new JobResultCommand(),_0x378d39=program[_0x2f0709(0x2c6)](),_0x5704d3=await createTDXInstance(_0x378d39),_0x20c8db=await _0x41fd1a[_0x2f0709(0x2d1)]({'options':{..._0x378d39,..._0x2c51bf},'args':[_0x16b607],'tdx':_0x5704d3});gracefulExit(_0x20c8db);});const scheduleCmd=jobCmd[a2_0x28f113(0x327)]('schedule')[a2_0x28f113(0x1fe)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)](a2_0x28f113(0x1eb))['action'](async(_0x17e3c7,_0xbd495f)=>{const _0x4099e4=a2_0x28f113,_0x41d94f=new ScheduleListCommand(),_0x471135=program[_0x4099e4(0x2c6)](),_0x3c0b47=await createTDXInstance(_0x471135),_0x132dc8=await _0x41d94f['run']({'options':{..._0x471135,..._0xbd495f},'args':_0x17e3c7?[_0x17e3c7]:[],'tdx':_0x3c0b47});gracefulExit(_0x132dc8);}),scheduleCmd[a2_0x28f113(0x327)](a2_0x28f113(0x258))[a2_0x28f113(0x1fe)]('Show\x20schedule\x20details')['action'](async(_0x2bba7a,_0x5b2077)=>{const _0x3cdac0=new ScheduleShowCommand(),_0x13bcd2=program['opts'](),_0x30f464=await createTDXInstance(_0x13bcd2),_0x300765=await _0x3cdac0['run']({'options':{..._0x13bcd2,..._0x5b2077},'args':[_0x2bba7a],'tdx':_0x30f464});gracefulExit(_0x300765);}),scheduleCmd[a2_0x28f113(0x327)](a2_0x28f113(0x275))['description'](a2_0x28f113(0x405))['option']('-d,\x20--database\x20<db>',a2_0x28f113(0x25b))[a2_0x28f113(0x4b1)](a2_0x28f113(0x221),a2_0x28f113(0x331))[a2_0x28f113(0x4cb)](a2_0x28f113(0x210),a2_0x28f113(0x25d))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3bf),a2_0x28f113(0x3c3),'trino')[a2_0x28f113(0x4b1)](a2_0x28f113(0x37f),a2_0x28f113(0x4a6))[a2_0x28f113(0x4b1)]('--timezone\x20<tz>',a2_0x28f113(0x4b5))[a2_0x28f113(0x4b1)](a2_0x28f113(0x497),a2_0x28f113(0x447))['option'](a2_0x28f113(0x232),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x28f113(0x4b1)]('--retry-limit\x20<0~32>',a2_0x28f113(0x3cd))['option'](a2_0x28f113(0x2f0),'Query\x20engine\x20version')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3f5),a2_0x28f113(0x442))[a2_0x28f113(0x44e)](async(_0x2b7a6a,_0x24e346)=>{const _0x1805f9=a2_0x28f113,_0x9f4d6f=new ScheduleCreateCommand(),_0xf1276e=program[_0x1805f9(0x2c6)](),_0x5ec281=await createTDXInstance(_0xf1276e);_0x24e346['in']&&(_0x24e346[_0x1805f9(0x2ca)]=_0x24e346['in']);const _0x20665b=await _0x9f4d6f[_0x1805f9(0x2d1)]({'options':{..._0xf1276e,..._0x24e346},'args':[_0x2b7a6a],'tdx':_0x5ec281});gracefulExit(_0x20665b);}),scheduleCmd[a2_0x28f113(0x327)](a2_0x28f113(0x368))['description'](a2_0x28f113(0x3ff))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4c1),a2_0x28f113(0x223))[a2_0x28f113(0x4b1)](a2_0x28f113(0x221),a2_0x28f113(0x331))[a2_0x28f113(0x4b1)](a2_0x28f113(0x210),a2_0x28f113(0x25d))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3bf),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x28f113(0x4b1)](a2_0x28f113(0x37f),a2_0x28f113(0x4a6))[a2_0x28f113(0x4b1)](a2_0x28f113(0x320),a2_0x28f113(0x348))['option'](a2_0x28f113(0x497),a2_0x28f113(0x447))['option'](a2_0x28f113(0x232),a2_0x28f113(0x228))['option'](a2_0x28f113(0x487),a2_0x28f113(0x3cd))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2f0),'Query\x20engine\x20version')['option'](a2_0x28f113(0x3f5),'Result\x20output\x20destination\x20URL')['action'](async(_0x24aaf7,_0x3ddf1e)=>{const _0x133f6d=a2_0x28f113,_0x4cffaf=new ScheduleUpdateCommand(),_0x4e366e=program['opts'](),_0x3f590b=await createTDXInstance(_0x4e366e);_0x3ddf1e['in']&&(_0x3ddf1e[_0x133f6d(0x2ca)]=_0x3ddf1e['in']);const _0x2ba241=await _0x4cffaf['run']({'options':{..._0x4e366e,..._0x3ddf1e},'args':[_0x24aaf7],'tdx':_0x3f590b});gracefulExit(_0x2ba241);}),scheduleCmd[a2_0x28f113(0x327)](a2_0x28f113(0x425))[a2_0x28f113(0x1fe)](a2_0x28f113(0x4c3))['action'](async(_0x103dd6,_0x4b028c)=>{const _0x2fbcd3=a2_0x28f113,_0x3f598d=new ScheduleDeleteCommand(),_0x5ebfc7=program[_0x2fbcd3(0x2c6)](),_0x11c1b3=await createTDXInstance(_0x5ebfc7),_0xc0e6f1=await _0x3f598d[_0x2fbcd3(0x2d1)]({'options':{..._0x5ebfc7,..._0x4b028c},'args':[_0x103dd6],'tdx':_0x11c1b3});gracefulExit(_0xc0e6f1);}),scheduleCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3b8))[a2_0x28f113(0x1fe)](a2_0x28f113(0x284))['option']('--time\x20<iso8601>',a2_0x28f113(0x278))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ab),a2_0x28f113(0x4d0))[a2_0x28f113(0x44e)](async(_0x1c52f2,_0x3b3e15)=>{const _0x1d32b6=a2_0x28f113,_0x531da2=new ScheduleRunCommand(),_0x155e1b=program[_0x1d32b6(0x2c6)](),_0x1d1bc1=await createTDXInstance(_0x155e1b),_0x436617=await _0x531da2[_0x1d32b6(0x2d1)]({'options':{..._0x155e1b,..._0x3b3e15},'args':[_0x1c52f2],'tdx':_0x1d1bc1});gracefulExit(_0x436617);}),scheduleCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4dc))['description'](a2_0x28f113(0x272))[a2_0x28f113(0x4b1)]('--from\x20<n>',a2_0x28f113(0x48a))['option']('--to\x20<n>','Ending\x20offset\x20(default:\x2020)')['action'](async(_0x378f6a,_0xe087dc)=>{const _0xb33a04=a2_0x28f113,_0x2772f8=new ScheduleHistoryCommand(),_0x2a6029=program[_0xb33a04(0x2c6)](),_0x3b9888=await createTDXInstance(_0x2a6029),_0x3fe361=await _0x2772f8[_0xb33a04(0x2d1)]({'options':{..._0x2a6029,..._0xe087dc},'args':[_0x378f6a],'tdx':_0x3b9888});gracefulExit(_0x3fe361);});const llmCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x206))[a2_0x28f113(0x1fe)](a2_0x28f113(0x4c7));llmCmd[a2_0x28f113(0x327)]('use\x20<project-name>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x29e))[a2_0x28f113(0x44e)](async(_0x132d6c,_0x5ad203)=>{const _0x10b397=a2_0x28f113,_0x540eeb=new LLMUseCommand(),_0x900fb2=program[_0x10b397(0x2c6)](),_0x11c31d=await createTDXInstance(_0x900fb2),_0x27fbd6=await _0x540eeb[_0x10b397(0x2d1)]({'options':{..._0x900fb2,..._0x5ad203},'args':[_0x132d6c],'tdx':_0x11c31d});gracefulExit(_0x27fbd6);}),llmCmd[a2_0x28f113(0x327)]('models')[a2_0x28f113(0x1fe)]('List\x20available\x20LLM\x20models')[a2_0x28f113(0x44e)](async _0x41ba2f=>{const _0x77c846=a2_0x28f113,_0x56f5df=new LLMModelsCommand(),_0x4f3991=program[_0x77c846(0x2c6)](),_0x15c093=await createTDXInstance(_0x4f3991),_0x4d5ea9=await _0x56f5df[_0x77c846(0x2d1)]({'options':{..._0x4f3991,..._0x41ba2f},'args':[],'tdx':_0x15c093});gracefulExit(_0x4d5ea9);});const projectCmd=llmCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2f1))['description'](a2_0x28f113(0x1e9)),llmProjectListAction=async(_0xdd3e92,_0x24d74d)=>{const _0x2615fa=a2_0x28f113,_0x2b8b8a=new LLMProjectsCommand(),_0x2e8d7a=program[_0x2615fa(0x2c6)](),_0x4b3d07=await createTDXInstance(_0x2e8d7a),_0x499bed=await _0x2b8b8a[_0x2615fa(0x2d1)]({'options':{..._0x2e8d7a,..._0x24d74d},'args':_0xdd3e92?[_0xdd3e92]:[],'tdx':_0x4b3d07});gracefulExit(_0x499bed);};projectCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))['description'](a2_0x28f113(0x314))[a2_0x28f113(0x44e)](llmProjectListAction),llmCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2fb))['description'](a2_0x28f113(0x39f))[a2_0x28f113(0x44e)](llmProjectListAction),projectCmd[a2_0x28f113(0x327)](a2_0x28f113(0x275))['description']('Create\x20a\x20new\x20LLM\x20project')['option'](a2_0x28f113(0x24f),a2_0x28f113(0x233))[a2_0x28f113(0x44e)](async(_0x5f124b,_0x3babb9)=>{const _0x545035=a2_0x28f113,_0x5d4378=new LLMProjectCreateCommand(),_0x566108=program[_0x545035(0x2c6)](),_0x346033=await createTDXInstance(_0x566108),_0x57bcae=await _0x5d4378[_0x545035(0x2d1)]({'options':{..._0x566108,..._0x3babb9},'args':[_0x5f124b],'tdx':_0x346033});gracefulExit(_0x57bcae);}),projectCmd[a2_0x28f113(0x327)]('delete\x20<name>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x41f))[a2_0x28f113(0x44e)](async(_0x361b55,_0x3d3653)=>{const _0x5e7681=a2_0x28f113,_0x381437=new LLMProjectDeleteCommand(),_0x5c6ea9=program[_0x5e7681(0x2c6)](),_0x263c48=await createTDXInstance(_0x5c6ea9),_0x440ef3=await _0x381437['run']({'options':{..._0x5c6ea9,..._0x3d3653},'args':[_0x361b55],'tdx':_0x263c48});gracefulExit(_0x440ef3);}),projectCmd[a2_0x28f113(0x327)]('backup\x20<name>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x2d4))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3d9),a2_0x28f113(0x25e))[a2_0x28f113(0x4b1)]('--dry-run',a2_0x28f113(0x486))[a2_0x28f113(0x44e)](async(_0x51447b,_0xe1b1db)=>{const _0x44707f=new LLMProjectBackupCommand(),_0x1a8e51=program['opts'](),_0x1c2648=await createTDXInstance(_0x1a8e51),_0xe0da3c=await _0x44707f['run']({'options':{..._0x1a8e51,..._0xe1b1db},'args':[_0x51447b],'tdx':_0x1c2648});gracefulExit(_0xe0da3c);}),projectCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2d7))[a2_0x28f113(0x1fe)](a2_0x28f113(0x1fa))['option'](a2_0x28f113(0x280),a2_0x28f113(0x4e3))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2c1),a2_0x28f113(0x283))[a2_0x28f113(0x44e)](async(_0x3a1960,_0x3e4572)=>{const _0x3460cd=a2_0x28f113,_0x3478af=new LLMProjectRestoreCommand(),_0x16cbc4=program['opts'](),_0xd0d74d=await createTDXInstance(_0x16cbc4),_0x4af168=await _0x3478af[_0x3460cd(0x2d1)]({'options':{..._0x16cbc4,..._0x3e4572},'args':[_0x3a1960],'tdx':_0xd0d74d});gracefulExit(_0x4af168);});const llmAgentListAction=async(_0x5089b0,_0x2037f1)=>{const _0x74d282=a2_0x28f113,_0x2cd550=new LLMAgentsCommand(),_0x4c607e=program['opts'](),_0x7fdf15=await createTDXInstance(_0x4c607e),_0x147dbc=await _0x2cd550[_0x74d282(0x2d1)]({'options':{..._0x4c607e,..._0x2037f1},'args':_0x5089b0?[_0x5089b0]:[],'tdx':_0x7fdf15});gracefulExit(_0x147dbc);};llmCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2aa))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3b7))[a2_0x28f113(0x44e)](llmAgentListAction),program['command'](a2_0x28f113(0x2aa))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3b7))['action'](llmAgentListAction),llmCmd[a2_0x28f113(0x327)]('history\x20[chat-id]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x467))['option'](a2_0x28f113(0x1f0),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')['action'](async(_0x57e0b8,_0x1681da)=>{const _0x1cccd4=a2_0x28f113,_0x2f3f8b=new LLMHistoryCommand(),_0x4d9c48=program['opts'](),_0x4345a1=await createTDXInstance(_0x4d9c48),_0x40aeb4=await _0x2f3f8b[_0x1cccd4(0x2d1)]({'options':{..._0x4d9c48,..._0x1681da},'args':_0x57e0b8?[_0x57e0b8]:[],'tdx':_0x4345a1});gracefulExit(_0x40aeb4);});isExperimentalAvailable()&&llmCmd[a2_0x28f113(0x327)](a2_0x28f113(0x44d))['description'](a2_0x28f113(0x28e))[a2_0x28f113(0x44e)](async(_0x3f5190,_0x1d86ee)=>{const _0x10506c=a2_0x28f113,_0x59e812=new LLMLogCommand(),_0x55172a=program[_0x10506c(0x2c6)](),_0x3fa4c0=await createTDXInstance(_0x55172a),_0x3bae3a=await _0x59e812[_0x10506c(0x2d1)]({'options':{..._0x55172a,..._0x1d86ee},'args':[_0x3f5190],'tdx':_0x3fa4c0});gracefulExit(_0x3bae3a);});program[a2_0x28f113(0x327)](a2_0x28f113(0x298))[a2_0x28f113(0x1f4)](a2_0x28f113(0x1fb))['description']('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x28f113(0x4b1)](a2_0x28f113(0x22f),'Continue\x20most\x20recent\x20conversation')['option'](a2_0x28f113(0x26a),a2_0x28f113(0x374))[a2_0x28f113(0x4b1)]('--no-proxy','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x28f113(0x46e)]()[a2_0x28f113(0x463)](!![])[a2_0x28f113(0x490)]('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_0x28f113(0x44e)](async(_0x193e09,_0x296d34)=>{const _0xaf73f8=a2_0x28f113,_0x418f4d=program[_0xaf73f8(0x2c6)](),_0x169c4f=Array[_0xaf73f8(0x429)](_0x193e09)?_0x193e09:[];if(_0x169c4f[0x0]==='statusline'){const _0x13da2c=new ClaudeStatuslineCommand(),_0x41118a=await _0x13da2c[_0xaf73f8(0x2d1)]({'options':{..._0x418f4d,..._0x296d34},'args':_0x169c4f[_0xaf73f8(0x345)](0x1),'tdx':null});gracefulExit(_0x41118a);}if(_0x169c4f[0x0]===_0xaf73f8(0x1f4)){const _0x2cfd61=new ClaudeUsageCommand(),_0x422ece=await _0x2cfd61[_0xaf73f8(0x2d1)]({'options':{..._0x418f4d,..._0x296d34},'args':_0x169c4f[_0xaf73f8(0x345)](0x1),'tdx':null});gracefulExit(_0x422ece);}const _0x52342b=new ClaudeCommand(),_0x2cdf33=await createTDXInstance(_0x418f4d),_0x338fe3=await _0x52342b[_0xaf73f8(0x2d1)]({'options':{..._0x418f4d,..._0x296d34},'args':_0x169c4f,'tdx':_0x2cdf33});gracefulExit(_0x338fe3);}),program[a2_0x28f113(0x327)]('use\x20[resource]\x20[value]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x45e))['option'](a2_0x28f113(0x480),a2_0x28f113(0x2db))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2a8),a2_0x28f113(0x1f9))[a2_0x28f113(0x44e)](async(_0x4a9e60,_0x51635e,_0x1fd00d)=>{const _0x46e371=a2_0x28f113,_0x101b9c=new UseCommand(),_0x17ccf3=program[_0x46e371(0x2c6)](),_0x2ce075=[];if(_0x4a9e60)_0x2ce075[_0x46e371(0x3a9)](_0x4a9e60);if(_0x51635e)_0x2ce075['push'](_0x51635e);const _0x2ed4a3=_0x4a9e60==='engage_workspace',_0x42007c=_0x2ed4a3?await createTDXInstance(_0x17ccf3):null,_0x273d52=await _0x101b9c[_0x46e371(0x2d1)]({'options':{..._0x17ccf3,..._0x1fd00d},'args':_0x2ce075,'tdx':_0x42007c});gracefulExit(_0x273d52);}),program[a2_0x28f113(0x327)](a2_0x28f113(0x290))[a2_0x28f113(0x1fe)]('Show\x20authentication\x20status\x20and\x20current\x20context')['action'](async _0x1d7ced=>{const _0x8a7fc9=a2_0x28f113,_0x2255df=new StatusCommand(),_0x3dab45=program[_0x8a7fc9(0x2c6)](),_0x2324b7=await createTDXInstance(_0x3dab45),_0x4fbf08=await _0x2255df['run']({'options':{..._0x3dab45,..._0x1d7ced},'args':[],'tdx':_0x2324b7});gracefulExit(_0x4fbf08);}),program['command'](a2_0x28f113(0x23c))[a2_0x28f113(0x1fe)](a2_0x28f113(0x22e))['option'](a2_0x28f113(0x2c1),a2_0x28f113(0x250))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4bd),a2_0x28f113(0x3e9))[a2_0x28f113(0x4b1)]('--method\x20<pm>','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)')['action'](async(_0x4dce1e,_0x1a1fb9)=>{const _0x3e904d=a2_0x28f113,_0x3817d4=new UpgradeCommand(),_0x14078c=program[_0x3e904d(0x2c6)](),_0x2bbfc5=await _0x3817d4[_0x3e904d(0x2d1)]({'options':{..._0x14078c,..._0x1a1fb9},'args':_0x4dce1e?[_0x4dce1e]:[],'tdx':null});gracefulExit(_0x2bbfc5);}),program['command'](a2_0x28f113(0x26c))[a2_0x28f113(0x1fe)](a2_0x28f113(0x39d))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2a8),a2_0x28f113(0x4b8))[a2_0x28f113(0x44e)](async(_0x567386,_0x5a45a6)=>{const _0x2b0f02=a2_0x28f113,_0x565bbd=new UnsetCommand(),_0x294931=program[_0x2b0f02(0x2c6)](),_0x197ec9=await _0x565bbd[_0x2b0f02(0x2d1)]({'options':{..._0x294931,..._0x5a45a6},'args':[_0x567386],'tdx':null});gracefulExit(_0x197ec9);}),program['command'](a2_0x28f113(0x32d))[a2_0x28f113(0x1fe)](a2_0x28f113(0x33e))['option'](a2_0x28f113(0x1f0),a2_0x28f113(0x3f9))['action'](async _0x4e8fbd=>{const _0x8456b3=a2_0x28f113,_0x249d96=new ChatsCommand(),_0x4a466a=program['opts'](),_0x1985f5=await createTDXInstance(_0x4a466a),_0x24eeb8=await _0x249d96[_0x8456b3(0x2d1)]({'options':{..._0x4a466a,..._0x4e8fbd},'args':[],'tdx':_0x1985f5});gracefulExit(_0x24eeb8);});const authCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x450))[a2_0x28f113(0x1fe)]('Authentication\x20management');async function runAuthStatusCommand(_0x489f9d){const _0x519824=a2_0x28f113,_0x334c8b=new AuthStatusCommand(),_0x168f28=program[_0x519824(0x2c6)](),_0x2ef674=await createTDXInstance(_0x168f28),_0x63d32c=await _0x334c8b[_0x519824(0x2d1)]({'options':{..._0x168f28,..._0x489f9d},'args':[],'tdx':_0x2ef674});gracefulExit(_0x63d32c);}authCmd[a2_0x28f113(0x44e)](runAuthStatusCommand),authCmd[a2_0x28f113(0x327)](a2_0x28f113(0x290))[a2_0x28f113(0x1fe)](a2_0x28f113(0x44b))[a2_0x28f113(0x44e)](runAuthStatusCommand),authCmd[a2_0x28f113(0x327)]('setup')[a2_0x28f113(0x1fe)](a2_0x28f113(0x3cc))[a2_0x28f113(0x490)](a2_0x28f113(0x2b8),a2_0x28f113(0x1ed))['action'](async _0x1c625c=>{const _0x184978=a2_0x28f113,_0xc7596c=new AuthSetupCommand(),_0x198523=program[_0x184978(0x2c6)](),_0x3b0afd=await createTDXInstance(_0x198523),_0x3f5909=await _0xc7596c[_0x184978(0x2d1)]({'options':{..._0x198523,..._0x1c625c},'args':[],'tdx':_0x3b0afd});gracefulExit(_0x3f5909);}),authCmd[a2_0x28f113(0x327)]('login')['description'](a2_0x28f113(0x347))[a2_0x28f113(0x490)]('after',a2_0x28f113(0x30b))['action'](async _0x450cc8=>{const _0x49d552=a2_0x28f113,_0x47160d=new AuthLoginCommand(),_0xf1b66d=program[_0x49d552(0x2c6)](),_0x5c94cf=await _0x47160d['run']({'options':{..._0xf1b66d,..._0x450cc8},'args':[],'tdx':null});gracefulExit(_0x5c94cf);}),authCmd[a2_0x28f113(0x327)](a2_0x28f113(0x427))['description'](a2_0x28f113(0x48e))[a2_0x28f113(0x490)](a2_0x28f113(0x2b8),a2_0x28f113(0x4cf))[a2_0x28f113(0x44e)](async _0x146dea=>{const _0x2264ce=a2_0x28f113,_0x2dce8f=new AuthClearCommand(),_0x4c73f3=program[_0x2264ce(0x2c6)](),_0x36c101=await _0x2dce8f[_0x2264ce(0x2d1)]({'options':{..._0x4c73f3,..._0x146dea},'args':[],'tdx':null});gracefulExit(_0x36c101);});const userCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x437))[a2_0x28f113(0x1fe)]('User\x20management\x20commands'),userListAction=async _0x144e2a=>{const _0x241a9e=a2_0x28f113,_0x17ed4a=new UserListCommand(),_0x19caec=program[_0x241a9e(0x2c6)](),_0x472df7=await createTDXInstance(_0x19caec),_0x1a3dac=await _0x17ed4a['run']({'options':{..._0x19caec,..._0x144e2a},'args':[],'tdx':_0x472df7});gracefulExit(_0x1a3dac);};userCmd[a2_0x28f113(0x44e)](async _0x2d9ab7=>{const _0x1afe70=a2_0x28f113,_0x1dcff4=new UserCommand(),_0x3f35f6=program[_0x1afe70(0x2c6)](),_0x219db5=await createTDXInstance(_0x3f35f6),_0x3f04fa=await _0x1dcff4[_0x1afe70(0x2d1)]({'options':{..._0x3f35f6,..._0x2d9ab7},'args':[],'tdx':_0x219db5});gracefulExit(_0x3f04fa);}),userCmd[a2_0x28f113(0x327)]('list')[a2_0x28f113(0x1fe)](a2_0x28f113(0x1fc))[a2_0x28f113(0x44e)](userListAction),program[a2_0x28f113(0x327)](a2_0x28f113(0x3d1))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2bc))['action'](userListAction);const policyCmd=program[a2_0x28f113(0x327)]('policy')[a2_0x28f113(0x1fe)](a2_0x28f113(0x48f));policyCmd[a2_0x28f113(0x44e)](async _0x42b386=>{const _0x2d6264=a2_0x28f113,_0x11374c=new PolicyCommand(),_0x4a8ce9=program[_0x2d6264(0x2c6)](),_0x232c28=await createTDXInstance(_0x4a8ce9),_0x9d70c0=await _0x11374c[_0x2d6264(0x2d1)]({'options':{..._0x4a8ce9,..._0x42b386},'args':[],'tdx':_0x232c28});gracefulExit(_0x9d70c0);}),policyCmd[a2_0x28f113(0x327)](a2_0x28f113(0x355))[a2_0x28f113(0x1fe)](a2_0x28f113(0x20e))[a2_0x28f113(0x44e)](async _0x4681bc=>{const _0x2df420=a2_0x28f113,_0x1b7fdd=new PolicyListCommand(),_0x24fd4d=program['opts'](),_0x128ea6=await createTDXInstance(_0x24fd4d),_0x176bdb=await _0x1b7fdd[_0x2df420(0x2d1)]({'options':{..._0x24fd4d,..._0x4681bc},'args':[],'tdx':_0x128ea6});gracefulExit(_0x176bdb);}),policyCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4b4))['description']('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0x28f113(0x44e)](async(_0x3d5307,_0x391f5b)=>{const _0x3d91c0=a2_0x28f113,_0x41d076=new PolicyShowCommand(),_0x2c12f1=program[_0x3d91c0(0x2c6)](),_0x57ee3a=await createTDXInstance(_0x2c12f1),_0x2a6dde=await _0x41d076[_0x3d91c0(0x2d1)]({'options':{..._0x2c12f1,..._0x391f5b},'args':[_0x3d5307],'tdx':_0x57ee3a});gracefulExit(_0x2a6dde);}),program[a2_0x28f113(0x327)](a2_0x28f113(0x2ec))[a2_0x28f113(0x1fe)](a2_0x28f113(0x296))['action'](async _0x4f6f8d=>{const _0x2f900d=a2_0x28f113,_0x18eee8=new ProfilesCommand(),_0x49bc23=program[_0x2f900d(0x2c6)](),_0x2288df=await _0x18eee8[_0x2f900d(0x2d1)]({'options':{..._0x49bc23,..._0x4f6f8d},'args':[],'tdx':null});gracefulExit(_0x2288df);});const profileCmd=program[a2_0x28f113(0x327)]('profile')[a2_0x28f113(0x1fe)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x28f113(0x44e)](()=>{const _0x44dd4d=a2_0x28f113;profileCmd[_0x44dd4d(0x378)]();});const profileListAction=async _0x44b2d3=>{const _0x1020b7=new ProfilesCommand(),_0x466ab7=program['opts'](),_0x399469=await _0x1020b7['run']({'options':{..._0x466ab7,..._0x44b2d3},'args':[],'tdx':null});gracefulExit(_0x399469);};function a2_0x3937(){const _0x1bb133=['move\x20<name>\x20<status>','information_schema','senders\x20[pattern]','Delivery\x20operations\x20(email\x20senders)','Show\x20master\x20table\x20sample\x20data','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--verbose','retry','Trino\x20catalog\x20(default:\x20td)','argument','INFO','gitRevision','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Submit\x20a\x20job','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','clone\x20[source]','--assignee\x20<assignee>','Attributes\x20as\x20JSON\x20string','--full','Commands:','always-on-campaigns\x20[pattern]','Open\x20journey\x20in\x20web\x20browser','--template\x20<name>','\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','push','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--num\x20<1-10>','push\x20[name]','-C,\x20--directory\x20<path>','List\x20email\x20senders','Launch\x20a\x20campaign','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','map','Set\x20a\x20profile\x20configuration\x20value','91915chyynz','Campaign\x20name','--invisible','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','run\x20<name>','list\x20[path]','set\x20<key=value>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--name\x20<new_name>','--days\x20<n>','pause_activations\x20<journeyId>','--type\x20<type>','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','table','Manage\x20workflow\x20project\x20secrets','Query\x20type:\x20trino\x20or\x20hive','-y,\x20--yes','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','[task-name]','--customer-group-file\x20<file>','--reeval','Start\x20a\x20new\x20chat\x20session','--rule\x20<json>','Maximum\x20rows\x20to\x20display','Setup\x20API\x20key\x20authentication\x20interactively','Retry\x20limit\x20(0\x20to\x2032)','--workspace\x20<name>','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--folder\x20<name>','users','--kind\x20<kind>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','107790lHhGwL','versions\x20<name-or-path>','show\x20<job-id>','commands','--audience-id\x20<id>','-o,\x20--output\x20<folder>','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Show\x20job\x20details','529822JgTDET','Sections\x20as\x20an\x20inline\x20JSON\x20array','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--starter-message\x20<text>','beefree','Email\x20template\x20management','--trace','_list-commands','pull\x20[parent_or_file]','--behavior\x20[name]','Delete\x20a\x20realtime\x20personalization','Workspace\x20management','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','registeredArguments','List\x20available\x20connector\x20types','parent-segment','--yes','use\x20[name]','clone\x20[source-dir]','open\x20<name>','mcp','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','RT\x202.0\x20configuration\x20management','Database\x20to\x20query\x20(default:\x20information_schema)','--result\x20<url>','segment','Validate\x20campaign\x20YAML\x20files\x20locally','--status\x20<status>','Show\x20the\x20most\x20recent\x20chat','--attempt-id\x20<id>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','folder','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Update\x20a\x20workspace','Update\x20a\x20scheduled\x20query','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','LLM\x20agent\x20management','parents\x20[pattern]','--behaviors\x20<json>','Always-on\x20campaign\x20management','Create\x20a\x20scheduled\x20query','105511aYUCqW','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','parent_segment','Service\x20description','--editor-type\x20<type>','-v,\x20--verbose','help','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','attempt:','update\x20<name-or-id>','--session-time\x20<time>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','hidden','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--delete','--type\x20<api_type>','HTML\x20template\x20content','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Unknown\x20action:\x20','Composable\x20segment\x20commands','Show\x20journey\x20statistics','33192dnrOrI','List\x20all\x20data\x20connections','variadic','job','Delete\x20an\x20LLM\x20project','Open\x20a\x20document\x20in\x20$EDITOR','Run\x20specific\x20tests\x20(comma-separated)','--behaviors-file\x20<file>','Output\x20directory','databases\x20[pattern]','delete\x20<name>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','clear','argumentTerm','isArray','Launch\x20an\x20always-on\x20campaign',',\x20version\x20','Update\x20a\x20realtime\x20personalization\x20entity','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Show\x20connection\x20details\x20by\x20name','view\x20[segment_name]','Open\x20segment\x20in\x20web\x20browser','pause\x20<name-or-path>','Skip\x20confirmation\x20prompts','--version','workspace','Email\x20subject\x20template','Behaviors\x20as\x20JSON\x20string','user','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','fields\x20[name]','work','-p,\x20--profile\x20<name>','Parent\x20segment\x20management','--temperature\x20<n>','Include\x20raw\x20history\x20data\x20in\x20output','--enriched','find','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Result\x20output\x20destination\x20URL','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','validate\x20[target]','-n,\x20--name\x20<name>','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Delay\x20in\x20seconds\x20before\x20execution','Preview\x20operation\x20without\x20executing','Create\x20a\x20new\x20always-on\x20campaign','Personalization\x20name','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Skip\x20validation\x20of\x20.dig\x20files','log\x20<chat-id>','action','Add\x20behaviors\x20from\x20JSON\x20file','auth','--to\x20<date>','parent','--max-depth\x20<depth>','272BfxaWE','--add-attributes-file\x20<file>','--sections\x20<json>','Initialize\x20a\x20new\x20workspace','launch\x20<name-or-id>','Show\x20only\x20master\x20table\x20validation','create\x20<name-or-path>','--params\x20<json>','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Create\x20segment\x20folder','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','isTTY','push\x20[path]','journey','--email-sender-id\x20<id>','allowExcessArguments','commandUsage','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Personalization\x20service\x20token\x20management','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','forEach','Clear\x20workflow\x20project\x20context','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','--no-count-population','use\x20[project]','YAML\x20file\x20path\x20for\x20unpushed\x20segment','allowUnknownOption','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','error','_hidden','--force','create\x20<name>\x20<service_id>\x20[parent_segment]','validate\x20[name]','Agent\x20name','List\x20journeys\x20in\x20current\x20context','desc\x20[name]','injectIntoOptions','accessToken','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','hook','Get\x20job\x20results','Path\x20is\x20not\x20a\x20directory:\x20','--clear','Customer\x20group\x20as\x20JSON\x20string','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Pause\x20an\x20always-on\x20campaign','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--retry-limit\x20<0~32>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','--name\x20<text>','Starting\x20offset\x20(default:\x200)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Create\x20a\x20new\x20document','Read\x20SQL\x20query\x20from\x20file','Remove\x20API\x20key\x20from\x20system\x20keychain','Access\x20control\x20policy\x20commands','addHelpText','--html\x20<html>','Open\x20parent\x20segment\x20in\x20web\x20browser','Pull\x20specific\x20template\x20by\x20name','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Token\x20description','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--delay\x20<seconds>','-f,\x20--force','--stage\x20<name>','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','engage','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','service','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','List\x20secret\x20keys\x20for\x20a\x20project','create','Include\x20retried\x20attempts','--version\x20<number>','Cron\x20expression\x20for\x20scheduling','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Validate\x20template\x20YAML\x20files\x20locally','colorFn','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','session','Name\x20for\x20the\x20new\x20project\x20(required)','Resume\x20from\x20specific\x20task','Workflow\x20(Digdag)\x20management\x20commands','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','trino','option','argumentDescription','--reason\x20<text>','show\x20<policy>','Timezone\x20for\x20cron\x20(default:\x20UTC)','Target\x20directory\x20for\x20YAML\x20files','Name\x20for\x20the\x20duplicated\x20campaign','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--agent\x20<ref>','--revision\x20<revision>','pause\x20<name-or-id>','--next','Resume\x20from\x20specific\x20task\x20(retry)','0.7','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','-d,\x20--database\x20<db>','--param\x20<key=value>','Delete\x20a\x20scheduled\x20query','Show\x20all\x20files\x20including\x20valid\x20ones','remove\x20<name>','create\x20[name]','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','pull\x20[project]\x20[agent-name]','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','requiredOption','chdir','Options:','summary','\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','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','-X,\x20--method\x20<method>','\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','-r,\x20--recursive','-H,\x20--header\x20<header>','--database\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','init\x20[name]','history\x20<name>','view\x20<name-or-path>','Agent\x20prompt/instructions','Update\x20a\x20campaign','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--no-eval','--kind\x20<type>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','5335GPMoOP','stderr','Filtering\x20rule\x20as\x20JSON\x20string','connection','sessions\x20[project]','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Custom\x20revision\x20name\x20(default:\x20timestamp)','Add\x20attributes\x20as\x20JSON\x20string','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Set\x20or\x20show\x20parent\x20segment\x20context','Job\x20management\x20commands','subcommandTerm','show\x20<service_id>\x20[parent_segment]','configuration_versions\x20[name]','Workflow\x20project\x20management','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--all','LLM\x20project\x20management','cas','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','exit','\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','Read\x20HTML\x20template\x20from\x20file','Master\x20database\x20name','--last','--body\x20<body>','AI-native\x20work\x20management','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','usage','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','TRACE','list\x20[name]','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','[options]\x20--\x20[claude-code-args...]','List\x20all\x20users\x20in\x20the\x20account','Resume\x20a\x20paused\x20always-on\x20campaign','description','-o,\x20--output\x20<file>','--output\x20<file>','Campaign\x20type\x20(email\x20or\x20push)','--start-at\x20<datetime>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','Attempt\x20ID','llm','Create\x20a\x20workspace','New\x20campaign\x20name','use\x20<name>','pull\x20[workspace]','Pause\x20a\x20campaign','Resume\x20a\x20paused\x20campaign','jobs','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','--name\x20<names>','-f,\x20--file\x20<path>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Assignee','delete\x20<token_id>\x20[parent_segment]','--master','\x20(resolved\x20to\x20','Overwrite\x20local\x20changes\x20without\x20confirmation','--limit\x20<n>','api\x20[endpoint]','list\x20[pattern]','chat\x20[message...]','-a,\x20--agent\x20<name>','Agent\x20description','activations\x20<name-or-path>','padEnd','1830820AqrMnQ','-d,\x20--database\x20<database>','--in\x20<db>','--database\x20<db>','Database\x20name','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--catalog\x20<catalog>','List\x20jobs','--schedule-option\x20<value>','Job\x20priority\x20(-2\x20to\x202)','End\x20time\x20filter\x20(ISO\x208601\x20format)','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','filter','create\x20<parent_name>\x20<folder_name>','Personalization\x20management','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','-c,\x20--continue','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','length','--priority\x20<-2~2>','Project\x20description','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','New\x20service\x20description','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','stdout','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','jsonl','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','List\x20composable\x20segments\x20for\x20an\x20audience','upgrade\x20[version]','[action]','[DEPRECATED]\x20Segment\x20folder\x20management','--rule-file\x20<file>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--attribute\x20[name]','options','GET','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Maximum\x20recursion\x20depth\x20(default:\x2010)','RT\x20Journey\x20management','Create\x20an\x20email\x20template','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Temperature\x20(0.0-2.0,\x20default:\x200.7)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Run\x20Trino\x20query\x20with\x20streaming\x20results','Enable\x20verbose\x20logging','--description\x20<text>','Check\x20for\x20updates\x20without\x20installing','Output\x20as\x20JSON','Workspace\x20name','Personalization\x20service\x20management','Segment\x20description','long','Document\x20body\x20text','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','show\x20<name>','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20all\x20versions\x20of\x20a\x20journey','Database\x20name\x20(required)','info\x20[segment_name]','Read\x20query\x20from\x20file','Output\x20folder\x20(default:\x20{project_name}.llm)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Attributes\x20from\x20JSON\x20file','--limit\x20<number>','Make\x20segment\x20invisible\x20(default:\x20visible)','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--to\x20<timestamp>','Behaviors\x20from\x20JSON\x20file','--name\x20<name>','Read\x20request\x20body\x20from\x20file','--segment\x20<path>','flags','-r,\x20--resume','get','unset\x20<resource>','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--interval\x20<range>','--stream','debug','Show\x20schedule\x20execution\x20history','Skip\x20confirmation\x20prompt','-u,\x20--use','create\x20<name>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Duplicate\x20an\x20always-on\x20campaign','--session\x20<id>','Duplicate\x20a\x20campaign','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Campaign\x20description','padWidth','Table\x20management\x20commands','--name\x20<new-name>','9zvoeyB','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Run\x20a\x20scheduled\x20query\x20immediately','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','preAction','list\x20[project]','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Save\x20output\x20to\x20file','--chat-id\x20<id>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Initial\x20status','Set\x20operation\x20timeout\x20in\x20seconds','[EXPERIMENTAL]\x20Show\x20chat\x20log','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','status','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--plaintext\x20<text>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','join','List\x20all\x20available\x20profiles','profile','claude\x20[args...]','...','columns\x20<name-or-path>','includes','Workflow\x20session\x20management','--path\x20<file-path>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Data\x20connection\x20management\x20(for\x20activations/exports)','--in\x20<database>','Plaintext\x20template\x20content','Create\x20a\x20new\x20campaign','split','show\x20[name]','-w,\x20--web','always-on-campaign','tdx\x20','--default','tdx','agents\x20[pattern]','--description\x20<desc>','--json','--schedule-type\x20<type>','journeys\x20[pattern]','sql\x20[segment_name]','list\x20[audience_name]','Invalid\x20--limit\x20value:\x20\x22','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','name','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','links\x20<name>','--data\x20<data>','after','Timezone\x20(e.g.,\x20America/Los_Angeles)','--from\x20<date>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Composable\x20audience\x20name','upload\x20[project-name-or-dir]','--parent-folder\x20<name>','kill\x20<job-id>','--dry-run','72HUWxkb','grapesjs','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Limit\x20number\x20of\x20rows','opts','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','then','database','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--help','Arguments:','--tags\x20<tags>','--include-history','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','run','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','--html-file\x20<path>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','-1d','Include\x20all\x20items\x20(no\x20stale\x20filtering)','restore\x20<folder>','subcommandDescription','--color','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Clear\x20session\x20context','submit\x20[query]','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','show\x20<folder_ref>','use\x20<path>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Reason\x20for\x20killing\x20the\x20attempt','Show\x20items\x20updated\x20within\x20N\x20days','CDP\x20segment\x20management\x20commands','Delete\x20a\x20workspace','--from\x20<timestamp>','--file\x20<path>','timeout','Create\x20a\x20new\x20profile','alias','Request\x20body\x20as\x20JSON\x20string','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','profiles','update\x20<agent-name>','Campaign\x20management','Validate\x20journey\x20YAML\x20files\x20locally','--engine-version\x20<version>','project','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Filtering\x20rule\x20from\x20JSON\x20file','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Starter\x20message','INVALID_ARGUMENT','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','patch\x20<personalization_id>','delete\x20<service_id>\x20[parent_segment]','projects\x20[pattern]','Parse\x20and\x20validate\x20without\x20executing','Delete\x20an\x20email\x20template','--json-columns\x20<cols>','isDirectory','\x22.\x20Must\x20be\x20a\x20number.','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Revision\x20name\x20(default:\x20timestamp)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','DEBUG','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20document\x20details','delete\x20<name-or-id>','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','optionTerm','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','\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\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','Workspace\x20description','resume\x20<name-or-id>','Transition\x20a\x20task\x20to\x20a\x20new\x20status','audience','Workflow\x20attempt\x20management','show\x20[table]','describe\x20[table]','Pause\x20a\x20running\x20journey','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','format','--jsonl','Version\x20number\x20to\x20view','tasks','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Update\x20an\x20existing\x20agent','Show\x20agent\x20details','preview\x20[file]','resume_activations\x20<journeyId>','\x20-\x20built\x20','--limit\x20<rows>','--timezone\x20<tz>','tsv','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','--resume-from\x20<task>','Email\x20sender\x20ID\x20for\x20delivery','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--format\x20<format>','command','AI-native\x20CLI\x20for\x20Treasure\x20Data','json','stringify','--timeout\x20<seconds>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','chats','validate\x20[file]','Updated\x20description','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Alias\x20for\x20--database\x20(natural\x20language\x20style)','buildTime','test\x20[path]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','resume\x20<name-or-path>','us01','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','describe','Remove\x20a\x20profile','catch','show\x20<name-or-id>','Show\x20email\x20template\x20details','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Interactive\x20chat\x20selector','1581022vPkaqP','pull\x20[name]','Master\x20table\x20name','-o,\x20--output\x20<dir>','--add-attributes\x20<json>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','slice','finish\x20<name-or-id>','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','Timezone\x20for\x20cron','Updated\x20timezone','Show\x20journey\x20details','Pull\x20workflow\x20project\x20to\x20local\x20folder','required','Output\x20file\x20path','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Personalization\x20description','push\x20[parent_or_file]','fields\x20[parent_name]','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','--follow','list','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','New\x20segment\x20name','Override\x20project\x20name','Output\x20as\x20JSON\x20Lines','Generate\x20test\x20conversations\x20without\x20evaluation','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--include-retried','Update\x20an\x20always-on\x20campaign','delivery','workspaces\x20[pattern]','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Add\x20attributes\x20from\x20JSON\x20file','--add-behaviors-file\x20<file>','noColor','template','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','update\x20<name>','New\x20service\x20name','push\x20[source-dir]','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Show\x20segment\x20schema\x20(column\x20types)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','aliases','traffic\x20<name-or-path>','Folder\x20description','--subject\x20<subject>','Run\x20tests\x20for\x20an\x20LLM\x20agent','Resume\x20a\x20conversation\x20(shows\x20selector)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Show\x20a\x20specific\x20realtime\x20personalization','outputHelp','logLevel','Show\x20stats\x20for\x20specific\x20stage','Describe\x20table\x20schema','Maximum\x20tool\x20iterations\x20(default:\x204)','--site\x20<site>','run\x20[name]','--cron\x20<expression>','\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','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','apiKey','116SGIXnX','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','types','Workspace\x20name\x20(required)','push\x20[target]','directory','duplicate\x20<name-or-id>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','argv','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Move\x20to\x20folder','CDP\x20Journey\x20Orchestration\x20commands'];a2_0x3937=function(){return _0x1bb133;};return a2_0x3937();}profileCmd[a2_0x28f113(0x327)](a2_0x28f113(0x355))[a2_0x28f113(0x1fe)](a2_0x28f113(0x296))[a2_0x28f113(0x44e)](profileListAction),profileCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4c6))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2e8))[a2_0x28f113(0x490)](a2_0x28f113(0x2b8),a2_0x28f113(0x38b))[a2_0x28f113(0x44e)](async(_0x1e056b,_0x49435b)=>{const _0x151ab4=a2_0x28f113,_0x4fe383=new ProfileCreateCommand(),_0x330bb4=program[_0x151ab4(0x2c6)](),_0x18cc30=await _0x4fe383[_0x151ab4(0x2d1)]({'options':{..._0x330bb4,..._0x49435b},'args':_0x1e056b?[_0x1e056b]:[],'tdx':null});gracefulExit(_0x18cc30);}),profileCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4c5))[a2_0x28f113(0x1fe)](a2_0x28f113(0x339))['addHelpText']('after',a2_0x28f113(0x488))[a2_0x28f113(0x44e)](async(_0x519182,_0x151694)=>{const _0x3da378=a2_0x28f113,_0xb4d0e9=new ProfileRemoveCommand(),_0x3b3724=program[_0x3da378(0x2c6)](),_0x4296ea=await _0xb4d0e9['run']({'options':{..._0x3b3724,..._0x151694},'args':[_0x519182],'tdx':null});gracefulExit(_0x4296ea);}),profileCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3ba))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3b3))['addHelpText']('after',a2_0x28f113(0x3a8))[a2_0x28f113(0x44e)](async(_0xa047e4,_0x3614d6)=>{const _0x20e94d=a2_0x28f113,_0x1fc009=new ProfileSetCommand(),_0x7fc630=program[_0x20e94d(0x2c6)](),_0x5291a2=await _0x1fc009[_0x20e94d(0x2d1)]({'options':{..._0x7fc630,..._0x3614d6},'args':[_0xa047e4],'tdx':null});gracefulExit(_0x5291a2);}),profileCmd['command'](a2_0x28f113(0x209))[a2_0x28f113(0x1fe)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2a8),a2_0x28f113(0x1f9))[a2_0x28f113(0x490)](a2_0x28f113(0x2b8),a2_0x28f113(0x4d6))[a2_0x28f113(0x44e)](async(_0x4217de,_0x42d379)=>{const _0x72cf40=a2_0x28f113,_0x504483=new ProfileUseCommand(),_0x5d3b65=program[_0x72cf40(0x2c6)](),_0x523fc4=await _0x504483[_0x72cf40(0x2d1)]({'options':{..._0x5d3b65,..._0x42d379},'args':[_0x4217de],'tdx':null});gracefulExit(_0x523fc4);});const engageCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x49d))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3aa)),createEngageAction=_0x3111a2=>{return async(_0x557f62,_0x3b40ab)=>{const _0x47c49a=a2_0xbd13,_0x1f0700=new _0x3111a2(),_0x3270b2=program[_0x47c49a(0x2c6)](),_0x4ac113=await createTDXInstance(_0x3270b2),_0x80c8d8=await _0x1f0700[_0x47c49a(0x2d1)]({'options':{..._0x3270b2,..._0x3b40ab},'args':[_0x557f62],'tdx':_0x4ac113});gracefulExit(_0x80c8d8);};},createEngageNoArgAction=_0x3332f0=>{return async _0x121275=>{const _0x2c48c2=a2_0xbd13,_0x163582=new _0x3332f0(),_0x2f381e=program[_0x2c48c2(0x2c6)](),_0x1b0775=await createTDXInstance(_0x2f381e),_0x53ef6b=await _0x163582['run']({'options':{..._0x2f381e,..._0x121275},'args':[],'tdx':_0x1b0775});gracefulExit(_0x53ef6b);};},createEngageListAction=_0x4fc845=>{return async(_0x4cfffc,_0x56fa52)=>{const _0x4c4321=a2_0xbd13,_0x1106d4=new _0x4fc845(),_0x54268a=program[_0x4c4321(0x2c6)](),_0x11fbdf=await createTDXInstance(_0x54268a),_0x363ecb=await _0x1106d4[_0x4c4321(0x2d1)]({'options':{..._0x54268a,..._0x56fa52},'args':_0x4cfffc?[_0x4cfffc]:[],'tdx':_0x11fbdf});gracefulExit(_0x363ecb);};},campaignCmd=engageCmd[a2_0x28f113(0x327)]('campaign')['description'](a2_0x28f113(0x2ee));campaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)](a2_0x28f113(0x234))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3bf),a2_0x28f113(0x2da))['option'](a2_0x28f113(0x3f8),a2_0x28f113(0x1f6))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),'Workspace\x20name')[a2_0x28f113(0x44e)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x28f113(0x327)]('campaigns\x20[pattern]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x3b0))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3bf),a2_0x28f113(0x2da))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3f8),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x28f113(0x4b1)]('--workspace\x20<name>','Workspace\x20name')[a2_0x28f113(0x44e)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x33b))[a2_0x28f113(0x1fe)]('Show\x20campaign\x20details')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),a2_0x28f113(0x252))['option'](a2_0x28f113(0x3a3),a2_0x28f113(0x3bb))[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4a3))['description'](a2_0x28f113(0x2a2))[a2_0x28f113(0x4cb)](a2_0x28f113(0x266),a2_0x28f113(0x3b5))[a2_0x28f113(0x4cb)](a2_0x28f113(0x3bf),'Campaign\x20type\x20(email\x20or\x20push)')['option'](a2_0x28f113(0x3ce),'Workspace\x20name\x20(required)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ab),'Campaign\x20description')['option']('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option'](a2_0x28f113(0x462),a2_0x28f113(0x324))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2fe),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')['option'](a2_0x28f113(0x202),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x320),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x28f113(0x44e)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x40f))[a2_0x28f113(0x1fe)](a2_0x28f113(0x4df))['option'](a2_0x28f113(0x3ce),a2_0x28f113(0x252))['option']('--name\x20<name>',a2_0x28f113(0x208))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ab),a2_0x28f113(0x27d))[a2_0x28f113(0x4b1)](a2_0x28f113(0x268),a2_0x28f113(0x2cb))['option']('--email-sender-id\x20<id>','Email\x20sender\x20ID\x20for\x20delivery')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2fe),a2_0x28f113(0x48b))[a2_0x28f113(0x4b1)](a2_0x28f113(0x202),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x320),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x307))[a2_0x28f113(0x1fe)]('Delete\x20a\x20campaign')['option'](a2_0x28f113(0x3ce),a2_0x28f113(0x252))[a2_0x28f113(0x4b1)]('--yes',a2_0x28f113(0x273))[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x458))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3af))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),a2_0x28f113(0x252))[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4bc))['description'](a2_0x28f113(0x20b))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),a2_0x28f113(0x252))[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x30d))[a2_0x28f113(0x1fe)](a2_0x28f113(0x20c))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),'Workspace\x20name')[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x28f113(0x38a))[a2_0x28f113(0x1fe)](a2_0x28f113(0x27b))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),a2_0x28f113(0x252))[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd['command']('pull\x20[workspace-name]')[a2_0x28f113(0x1fe)]('Pull\x20campaigns\x20to\x20YAML\x20files')[a2_0x28f113(0x4b1)]('--workspace\x20<name>',a2_0x28f113(0x252))[a2_0x28f113(0x4b1)](a2_0x28f113(0x266),'Pull\x20specific\x20campaign\x20by\x20name')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3bf),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2c1),a2_0x28f113(0x3da))[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x388))[a2_0x28f113(0x1fe)](a2_0x28f113(0x249))['option'](a2_0x28f113(0x3ce),'Workspace\x20name')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2c1),a2_0x28f113(0x3c5))[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x28f113(0x327)]('validate\x20[target]')['description'](a2_0x28f113(0x3f7))[a2_0x28f113(0x4b1)](a2_0x28f113(0x397),a2_0x28f113(0x4c4))[a2_0x28f113(0x44e)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x28f113(0x2a6))[a2_0x28f113(0x1fe)](a2_0x28f113(0x404));alwaysOnCampaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3cf))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3bf),a2_0x28f113(0x2da))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3f8),a2_0x28f113(0x3fb))['requiredOption'](a2_0x28f113(0x3ce),'Workspace\x20name\x20(required)')[a2_0x28f113(0x44e)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command'](a2_0x28f113(0x3a5))[a2_0x28f113(0x1fe)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3bf),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3f8),a2_0x28f113(0x3fb))[a2_0x28f113(0x4cb)](a2_0x28f113(0x3ce),'Workspace\x20name\x20(required)')[a2_0x28f113(0x44e)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x28f113(0x327)]('show\x20<name-or-id>')['description']('Show\x20always-on\x20campaign\x20details')[a2_0x28f113(0x4cb)](a2_0x28f113(0x3ce),a2_0x28f113(0x387))['option']('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x28f113(0x44e)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x28f113(0x327)]('create')['description'](a2_0x28f113(0x449))[a2_0x28f113(0x4cb)](a2_0x28f113(0x266),a2_0x28f113(0x3b5))[a2_0x28f113(0x4cb)](a2_0x28f113(0x3bf),a2_0x28f113(0x201))['requiredOption'](a2_0x28f113(0x3ce),'Workspace\x20name\x20(required)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ab),a2_0x28f113(0x27d))[a2_0x28f113(0x4b1)](a2_0x28f113(0x268),a2_0x28f113(0x411))[a2_0x28f113(0x4b1)]('--enable-utm-tracking','Enable\x20UTM\x20tracking')[a2_0x28f113(0x44e)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x28f113(0x40f))[a2_0x28f113(0x1fe)](a2_0x28f113(0x35f))[a2_0x28f113(0x4cb)](a2_0x28f113(0x3ce),a2_0x28f113(0x387))['option'](a2_0x28f113(0x266),a2_0x28f113(0x208))['option'](a2_0x28f113(0x2ab),a2_0x28f113(0x27d))[a2_0x28f113(0x4b1)](a2_0x28f113(0x268),a2_0x28f113(0x411))[a2_0x28f113(0x4b1)]('--enable-utm-tracking','Enable\x20UTM\x20tracking')[a2_0x28f113(0x44e)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x307))[a2_0x28f113(0x1fe)](a2_0x28f113(0x4a0))['requiredOption'](a2_0x28f113(0x3ce),a2_0x28f113(0x387))[a2_0x28f113(0x4b1)]('--yes',a2_0x28f113(0x273))[a2_0x28f113(0x44e)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x458))[a2_0x28f113(0x1fe)](a2_0x28f113(0x42a))['requiredOption'](a2_0x28f113(0x3ce),a2_0x28f113(0x387))['action'](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x28f113(0x4bc))[a2_0x28f113(0x1fe)](a2_0x28f113(0x485))[a2_0x28f113(0x4cb)](a2_0x28f113(0x3ce),a2_0x28f113(0x387))[a2_0x28f113(0x44e)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x30d))['description'](a2_0x28f113(0x1fd))[a2_0x28f113(0x4cb)]('--workspace\x20<name>',a2_0x28f113(0x387))[a2_0x28f113(0x44e)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x346))[a2_0x28f113(0x1fe)]('Finish\x20an\x20always-on\x20campaign')[a2_0x28f113(0x4cb)](a2_0x28f113(0x3ce),a2_0x28f113(0x387))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ed),'Skip\x20confirmation\x20prompt')[a2_0x28f113(0x44e)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x28f113(0x327)](a2_0x28f113(0x38a))['description'](a2_0x28f113(0x279))[a2_0x28f113(0x4cb)](a2_0x28f113(0x3ce),a2_0x28f113(0x387))[a2_0x28f113(0x4cb)](a2_0x28f113(0x266),a2_0x28f113(0x4b7))[a2_0x28f113(0x44e)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x28f113(0x327)](a2_0x28f113(0x366))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3e2));templateCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)](a2_0x28f113(0x1e0))[a2_0x28f113(0x4b1)]('--workspace\x20<name>',a2_0x28f113(0x252))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x28f113(0x327)]('templates\x20[pattern]')[a2_0x28f113(0x1fe)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),a2_0x28f113(0x252))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x28f113(0x327)]('show\x20<name-or-id>')['description'](a2_0x28f113(0x33c))[a2_0x28f113(0x4b1)]('--workspace\x20<name>','Workspace\x20name')['option'](a2_0x28f113(0x3a3),a2_0x28f113(0x3bb))[a2_0x28f113(0x44e)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4a3))[a2_0x28f113(0x1fe)](a2_0x28f113(0x248))[a2_0x28f113(0x4cb)](a2_0x28f113(0x266),'Template\x20name')['requiredOption'](a2_0x28f113(0x372),'Email\x20subject\x20template')[a2_0x28f113(0x4b1)](a2_0x28f113(0x491),a2_0x28f113(0x416))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2d3),a2_0x28f113(0x1ee))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),a2_0x28f113(0x387))[a2_0x28f113(0x4b1)](a2_0x28f113(0x293),a2_0x28f113(0x2a1))[a2_0x28f113(0x4b1)](a2_0x28f113(0x40a),a2_0x28f113(0x4d2),_0x28302d=>{const _0x268aac=a2_0x28f113;if(![_0x268aac(0x3e1),_0x268aac(0x2c3)][_0x268aac(0x29b)](_0x28302d))throw new SDKError(ErrorCode[_0x268aac(0x2f7)],'Invalid\x20editor\x20type:\x20'+_0x28302d+_0x268aac(0x40d));return _0x28302d;})[a2_0x28f113(0x44e)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x28f113(0x327)]('update\x20<name-or-id>')[a2_0x28f113(0x1fe)]('Update\x20an\x20email\x20template')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),a2_0x28f113(0x252))[a2_0x28f113(0x4b1)](a2_0x28f113(0x266),'New\x20template\x20name')['option']('--subject\x20<subject>',a2_0x28f113(0x435))[a2_0x28f113(0x4b1)](a2_0x28f113(0x491),a2_0x28f113(0x416))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2d3),'Read\x20HTML\x20template\x20from\x20file')[a2_0x28f113(0x4b1)](a2_0x28f113(0x293),a2_0x28f113(0x2a1))[a2_0x28f113(0x44e)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x28f113(0x327)](a2_0x28f113(0x20a))['description']('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),'Workspace\x20name')[a2_0x28f113(0x4b1)]('--name\x20<name>',a2_0x28f113(0x493))['option'](a2_0x28f113(0x3c4),a2_0x28f113(0x273))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2c1),a2_0x28f113(0x3da))[a2_0x28f113(0x44e)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x28f113(0x327)]('push\x20[target]')[a2_0x28f113(0x1fe)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),a2_0x28f113(0x252))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3c4),a2_0x28f113(0x273))['option'](a2_0x28f113(0x2c1),a2_0x28f113(0x3c5))[a2_0x28f113(0x44e)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x28f113(0x327)]('validate\x20[target]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x4a8))['option']('--verbose',a2_0x28f113(0x4c4))[a2_0x28f113(0x44e)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x28f113(0x327)](a2_0x28f113(0x307))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2fd))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ce),a2_0x28f113(0x252))[a2_0x28f113(0x4b1)]('--yes',a2_0x28f113(0x273))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x28f113(0x327)](a2_0x28f113(0x434))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3e8));workspaceCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)]('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x28f113(0x44e)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x28f113(0x327)](a2_0x28f113(0x361))[a2_0x28f113(0x1fe)](a2_0x28f113(0x4b9))[a2_0x28f113(0x44e)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x28f113(0x327)](a2_0x28f113(0x33b))[a2_0x28f113(0x1fe)]('Show\x20workspace\x20details')[a2_0x28f113(0x4b1)](a2_0x28f113(0x3a3),a2_0x28f113(0x3bb))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4a3))[a2_0x28f113(0x1fe)](a2_0x28f113(0x207))[a2_0x28f113(0x4cb)](a2_0x28f113(0x266),a2_0x28f113(0x252))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ab),a2_0x28f113(0x30c))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x28f113(0x40f))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3fe))[a2_0x28f113(0x4b1)](a2_0x28f113(0x266),'New\x20workspace\x20name')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ab),a2_0x28f113(0x30c))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x28f113(0x327)]('delete\x20<name-or-id>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x2e4))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3ed),'Skip\x20confirmation\x20prompt')[a2_0x28f113(0x44e)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x28f113(0x327)]('use\x20<name>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x4a1))['action'](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x28f113(0x360))['description'](a2_0x28f113(0x394));deliveryCmd[a2_0x28f113(0x327)](a2_0x28f113(0x393))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3ae))['option']('--workspace\x20<name>',a2_0x28f113(0x252))[a2_0x28f113(0x44e)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x4e7))[a2_0x28f113(0x1fe)](a2_0x28f113(0x29f)),connectionListAction=async _0x1696f4=>{const _0xb658b6=a2_0x28f113,_0x5a5ce4=new ConnectionListCommand(),_0x1db03f=program[_0xb658b6(0x2c6)](),_0x2c1c51=await createTDXInstance(_0x1db03f),_0x41897f=await _0x5a5ce4[_0xb658b6(0x2d1)]({'options':{..._0x1db03f,..._0x1696f4},'args':[],'tdx':_0x2c1c51});gracefulExit(_0x41897f);};connectionCmd[a2_0x28f113(0x327)]('list')[a2_0x28f113(0x1fe)](a2_0x28f113(0x41c))['action'](connectionListAction),program[a2_0x28f113(0x327)]('connections',{'hidden':!![]})[a2_0x28f113(0x1fe)](a2_0x28f113(0x49e))['action'](connectionListAction),connectionCmd[a2_0x28f113(0x327)](a2_0x28f113(0x258))['description'](a2_0x28f113(0x42e))[a2_0x28f113(0x44e)](async(_0x2a36a3,_0x107983)=>{const _0x243ebc=a2_0x28f113,_0x201845=new ConnectionShowCommand(),_0x320a77=program['opts'](),_0x5933c9=await createTDXInstance(_0x320a77),_0x488e60=await _0x201845[_0x243ebc(0x2d1)]({'options':{..._0x320a77,..._0x107983},'args':[_0x2a36a3],'tdx':_0x5933c9});gracefulExit(_0x488e60);}),connectionCmd[a2_0x28f113(0x327)]('schema\x20<type>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x3db))[a2_0x28f113(0x44e)](async(_0x852138,_0x5587af)=>{const _0x3a3c32=a2_0x28f113,_0x50ff7a=new ConnectionSchemaCommand(),_0x58405a=program[_0x3a3c32(0x2c6)](),_0x58719d=await createTDXInstance(_0x58405a),_0x134d89=await _0x50ff7a[_0x3a3c32(0x2d1)]({'options':{..._0x58405a,..._0x5587af},'args':[_0x852138],'tdx':_0x58719d});gracefulExit(_0x134d89);}),connectionCmd[a2_0x28f113(0x327)](a2_0x28f113(0x386))[a2_0x28f113(0x1fe)](a2_0x28f113(0x3eb))[a2_0x28f113(0x44e)](async _0x4e7e28=>{const _0x504ba7=a2_0x28f113,_0x3bb986=new ConnectionTypesCommand(),_0x1e4019=program['opts'](),_0x236d86=await createTDXInstance(_0x1e4019),_0x4ef689=await _0x3bb986[_0x504ba7(0x2d1)]({'options':{..._0x1e4019,..._0x4e7e28},'args':[],'tdx':_0x236d86});gracefulExit(_0x4ef689);}),connectionCmd['command']('settings\x20<type>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x381))[a2_0x28f113(0x44e)](async(_0x3ffdf3,_0x614411)=>{const _0x51fd20=a2_0x28f113,_0x30cdbb=new ConnectionSettingsCommand(),_0x2252d7=program[_0x51fd20(0x2c6)](),_0x467ead=await createTDXInstance(_0x2252d7),_0x21ced5=await _0x30cdbb[_0x51fd20(0x2d1)]({'options':{..._0x2252d7,..._0x614411},'args':[_0x3ffdf3],'tdx':_0x467ead});gracefulExit(_0x21ced5);});const casCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x1ea))['description'](a2_0x28f113(0x204));casCmd[a2_0x28f113(0x327)](a2_0x28f113(0x355))['description']('List\x20composable\x20audiences')[a2_0x28f113(0x44e)](async _0x1c89a8=>{const _0x5afff0=new CASListCommand(),_0x36003a=program['opts'](),_0x454fd2=await createTDXInstance(_0x36003a),_0x97d751=await _0x5afff0['run']({'options':{..._0x36003a,..._0x1c89a8},'args':[],'tdx':_0x454fd2});gracefulExit(_0x97d751);}),casCmd[a2_0x28f113(0x327)]('desc\x20[name]')[a2_0x28f113(0x1fe)](a2_0x28f113(0x291))['action'](async(_0x5b7052,_0x329ba9)=>{const _0x5847d7=a2_0x28f113,_0x46684e=new CASDescCommand(),_0x3c4be3=program[_0x5847d7(0x2c6)](),_0xaba3ce=await createTDXInstance(_0x3c4be3),_0x4e12fc=await _0x46684e[_0x5847d7(0x2d1)]({'options':{..._0x3c4be3,..._0x329ba9},'args':_0x5b7052?[_0x5b7052]:[],'tdx':_0xaba3ce});gracefulExit(_0x4e12fc);}),casCmd['command'](a2_0x28f113(0x340))[a2_0x28f113(0x1fe)]('Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x28f113(0x4b1)]('--dir\x20<dir>',a2_0x28f113(0x4b6))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2c1),a2_0x28f113(0x2c4))[a2_0x28f113(0x44e)](async(_0x55d31d,_0x15d20f)=>{const _0x18de1b=a2_0x28f113,_0x11436d=new CASPullCommand(),_0x5d6e33=program['opts'](),_0xe0a58b=await createTDXInstance(_0x5d6e33),_0x17f78d=await _0x11436d[_0x18de1b(0x2d1)]({'options':{..._0x5d6e33,..._0x15d20f},'args':_0x55d31d?[_0x55d31d]:[],'tdx':_0xe0a58b});gracefulExit(_0x17f78d);}),casCmd[a2_0x28f113(0x327)](a2_0x28f113(0x388))[a2_0x28f113(0x1fe)]('Push\x20YAML\x20files\x20to\x20CAS\x20API')['option'](a2_0x28f113(0x2c1),a2_0x28f113(0x38d))['action'](async(_0x20f973,_0x8567d4)=>{const _0x31f9a4=a2_0x28f113,_0x16bb0b=new CASPushCommand(),_0x31415c=program[_0x31f9a4(0x2c6)](),_0x5327bb=await createTDXInstance(_0x31415c),_0xbcbe39=await _0x16bb0b[_0x31f9a4(0x2d1)]({'options':{..._0x31415c,..._0x8567d4},'args':_0x20f973?[_0x20f973]:[],'tdx':_0x5327bb});gracefulExit(_0xbcbe39);}),casCmd[a2_0x28f113(0x327)]('preview\x20<segment_name>')['description']('Preview\x20composable\x20segment\x20query\x20on\x20CDW')['option']('--audience\x20<name>',a2_0x28f113(0x2bd))['action'](async(_0x14de4a,_0x410681)=>{const _0x2464ba=a2_0x28f113,_0x309425=new CASPreviewCommand(),_0x3a2867=program[_0x2464ba(0x2c6)](),_0x578ddd=await createTDXInstance(_0x3a2867),_0x32f1c6=await _0x309425[_0x2464ba(0x2d1)]({'options':{..._0x3a2867,..._0x410681},'args':[_0x14de4a,_0x410681[_0x2464ba(0x30f)]],'tdx':_0x578ddd});gracefulExit(_0x32f1c6);});const casSgCmd=casCmd[a2_0x28f113(0x327)]('sg')[a2_0x28f113(0x1fe)](a2_0x28f113(0x419));casSgCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2b0))[a2_0x28f113(0x1fe)](a2_0x28f113(0x23b))[a2_0x28f113(0x44e)](async(_0x297c8c,_0x2ad44c)=>{const _0x2723c7=a2_0x28f113,_0x12421e=new CASSegmentListCommand(),_0x1c7b77=program[_0x2723c7(0x2c6)](),_0x389f3a=await createTDXInstance(_0x1c7b77),_0x300f98=await _0x12421e['run']({'options':{..._0x1c7b77,..._0x2ad44c},'args':_0x297c8c?[_0x297c8c]:[],'tdx':_0x389f3a});gracefulExit(_0x300f98);});const journeyCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x461))[a2_0x28f113(0x1fe)](a2_0x28f113(0x390)),journeyListAction=async(_0x1a6703,_0xd431d1)=>{const _0x2f198b=a2_0x28f113,_0x4abcd1=new JourneyListCommand(),_0x44ee16=program[_0x2f198b(0x2c6)](),_0x2b1506=await createTDXInstance(_0x44ee16),_0x4999be=await _0x4abcd1['run']({'options':{..._0x44ee16,..._0xd431d1},'args':_0x1a6703?[_0x1a6703]:[],'tdx':_0x2b1506});gracefulExit(_0x4999be);};journeyCmd['command'](a2_0x28f113(0x219))['description'](a2_0x28f113(0x477))[a2_0x28f113(0x44e)](journeyListAction),journeyCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4dd))['description'](a2_0x28f113(0x34a))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2a5),a2_0x28f113(0x3a6))[a2_0x28f113(0x4b1)]('--include-stats','Include\x20execution\x20statistics')[a2_0x28f113(0x44e)](async(_0x38752b,_0x471bd3)=>{const _0x51ef6f=a2_0x28f113,_0x2deb5f=new JourneyViewCommand(),_0x56800e=program[_0x51ef6f(0x2c6)](),_0x3d0ea4=await createTDXInstance(_0x56800e),_0xb6287a=await _0x2deb5f[_0x51ef6f(0x2d1)]({'options':{..._0x56800e,..._0x471bd3},'args':[_0x38752b],'tdx':_0x3d0ea4});gracefulExit(_0xb6287a);}),journeyCmd[a2_0x28f113(0x327)]('stats\x20<name-or-path>')['description'](a2_0x28f113(0x41a))['option'](a2_0x28f113(0x499),a2_0x28f113(0x37a))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ba),a2_0x28f113(0x36e))[a2_0x28f113(0x4b1)](a2_0x28f113(0x451),a2_0x28f113(0x396))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2cf),a2_0x28f113(0x43e))['action'](async(_0x44726f,_0x4dff61)=>{const _0x45bab1=a2_0x28f113,_0x184bc9=new JourneyStatsCommand(),_0x5e8ea0=program[_0x45bab1(0x2c6)](),_0x3417d9=await createTDXInstance(_0x5e8ea0),_0x542c79=await _0x184bc9[_0x45bab1(0x2d1)]({'options':{..._0x5e8ea0,..._0x4dff61},'args':[_0x44726f],'tdx':_0x3417d9});gracefulExit(_0x542c79);}),journeyCmd[a2_0x28f113(0x327)](a2_0x28f113(0x370))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2eb))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3bf),a2_0x28f113(0x353))['option'](a2_0x28f113(0x2ba),a2_0x28f113(0x36e))[a2_0x28f113(0x4b1)](a2_0x28f113(0x451),a2_0x28f113(0x396))[a2_0x28f113(0x4b1)]('--limit\x20<number>','Maximum\x20number\x20of\x20nodes',_0x1da36d=>{const _0x140db2=a2_0x28f113,_0x451533=parseInt(_0x1da36d,0xa);if(isNaN(_0x451533))throw new Error(_0x140db2(0x2b1)+_0x1da36d+_0x140db2(0x300));return _0x451533;})[a2_0x28f113(0x44e)](async(_0x49bcc9,_0x1daf21)=>{const _0x282709=a2_0x28f113,_0x389c92=new JourneyTrafficCommand(),_0x31e39e=program[_0x282709(0x2c6)](),_0x5db327=await createTDXInstance(_0x31e39e),_0x2eb5a6=await _0x389c92[_0x282709(0x2d1)]({'options':{..._0x31e39e,..._0x1daf21},'args':[_0x49bcc9],'tdx':_0x5db327});gracefulExit(_0x2eb5a6);}),journeyCmd[a2_0x28f113(0x327)](a2_0x28f113(0x431))[a2_0x28f113(0x1fe)](a2_0x28f113(0x313))['action'](async(_0x8189e2,_0x455de7)=>{const _0xc80bbb=a2_0x28f113,_0x4300ba=new JourneyPauseCommand(),_0x2918a6=program[_0xc80bbb(0x2c6)](),_0x371b6c=await createTDXInstance(_0x2918a6),_0x3e89b3=await _0x4300ba[_0xc80bbb(0x2d1)]({'options':{..._0x2918a6,..._0x455de7},'args':[_0x8189e2],'tdx':_0x371b6c});gracefulExit(_0x3e89b3);}),journeyCmd[a2_0x28f113(0x327)](a2_0x28f113(0x335))['description']('Resume\x20a\x20paused\x20journey')[a2_0x28f113(0x44e)](async(_0x239e0d,_0x1fd4c9)=>{const _0x1da4fb=a2_0x28f113,_0x239c7c=new JourneyResumeCommand(),_0x1c29af=program[_0x1da4fb(0x2c6)](),_0x3b31a5=await createTDXInstance(_0x1c29af),_0x30cf65=await _0x239c7c[_0x1da4fb(0x2d1)]({'options':{..._0x1c29af,..._0x1fd4c9},'args':[_0x239e0d],'tdx':_0x3b31a5});gracefulExit(_0x30cf65);}),journeyCmd[a2_0x28f113(0x327)](a2_0x28f113(0x340))[a2_0x28f113(0x1fe)]('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2c1),a2_0x28f113(0x2c4))[a2_0x28f113(0x44e)](async(_0x30637e,_0x5e51cb)=>{const _0x26e40c=a2_0x28f113,_0x4469f5=new JourneyPullCommand(),_0x110a19=program[_0x26e40c(0x2c6)](),_0x1f5000=await createTDXInstance(_0x110a19),_0x4ef4e3=await _0x4469f5['run']({'options':{..._0x110a19,..._0x5e51cb},'args':_0x30637e?[_0x30637e]:[],'tdx':_0x1f5000});gracefulExit(_0x4ef4e3);}),journeyCmd['command'](a2_0x28f113(0x388))[a2_0x28f113(0x1fe)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x28f113(0x44e)](async(_0x2e5922,_0x37465d)=>{const _0x195114=a2_0x28f113,_0x2f3940=new JourneyPushCommand(),_0x51175b=program[_0x195114(0x2c6)](),_0x32f9d0=await createTDXInstance(_0x51175b),_0x2dc8b3=await _0x2f3940[_0x195114(0x2d1)]({'options':{..._0x51175b,..._0x37465d},'args':_0x2e5922?[_0x2e5922]:[],'tdx':_0x32f9d0});gracefulExit(_0x2dc8b3);}),journeyCmd['command'](a2_0x28f113(0x29a))[a2_0x28f113(0x1fe)]('Show\x20journey\x20table\x20column-to-step\x20mapping')[a2_0x28f113(0x44e)](async(_0x33335f,_0x346674)=>{const _0x189b17=a2_0x28f113,_0x8720f8=new JourneyColumnsCommand(),_0x17dd4b=program[_0x189b17(0x2c6)](),_0x330c32=await createTDXInstance(_0x17dd4b),_0x2fbba2=await _0x8720f8[_0x189b17(0x2d1)]({'options':{..._0x17dd4b,..._0x346674},'args':[_0x33335f],'tdx':_0x330c32});gracefulExit(_0x2fbba2);}),journeyCmd['command'](a2_0x28f113(0x21d))[a2_0x28f113(0x1fe)]('List\x20activations\x20for\x20a\x20journey')[a2_0x28f113(0x44e)](async(_0x4a2bdb,_0x440d23)=>{const _0x17138f=a2_0x28f113,_0x1d017d=new JourneyActivationsCommand(),_0x1967bc=program[_0x17138f(0x2c6)](),_0x134a4d=await createTDXInstance(_0x1967bc),_0x2b54e2=await _0x1d017d['run']({'options':{..._0x1967bc,..._0x440d23},'args':[_0x4a2bdb],'tdx':_0x134a4d});gracefulExit(_0x2b54e2);}),journeyCmd['command'](a2_0x28f113(0x3d5))['description'](a2_0x28f113(0x25a))[a2_0x28f113(0x44e)](async(_0x37f1e8,_0x350b96)=>{const _0xbffb5d=a2_0x28f113,_0x319809=new JourneyVersionsCommand(),_0x2ff731=program['opts'](),_0x36f805=await createTDXInstance(_0x2ff731),_0x1d2557=await _0x319809[_0xbffb5d(0x2d1)]({'options':{..._0x2ff731,..._0x350b96},'args':[_0x37f1e8],'tdx':_0x36f805});gracefulExit(_0x1d2557);});const journeyVersionCmd=journeyCmd[a2_0x28f113(0x327)]('version')[a2_0x28f113(0x1fe)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x28f113(0x327)](a2_0x28f113(0x45a))[a2_0x28f113(0x1fe)](a2_0x28f113(0x49c))[a2_0x28f113(0x44e)](async(_0x46efc6,_0x479838)=>{const _0x392b8b=a2_0x28f113,_0x181337=new JourneyVersionCreateCommand(),_0x23244d=program[_0x392b8b(0x2c6)](),_0x5c1b84=await createTDXInstance(_0x23244d),_0x37b0bb=await _0x181337[_0x392b8b(0x2d1)]({'options':{..._0x23244d,..._0x479838},'args':[_0x46efc6],'tdx':_0x5c1b84});gracefulExit(_0x37b0bb);}),journeyVersionCmd[a2_0x28f113(0x327)]('view\x20<name-or-path>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x24a))['requiredOption'](a2_0x28f113(0x4a5),a2_0x28f113(0x317))[a2_0x28f113(0x44e)](async(_0x4a71ef,_0x3216c1)=>{const _0x3314ec=a2_0x28f113,_0x49796e=new JourneyVersionViewCommand(),_0x3f73e4=program[_0x3314ec(0x2c6)](),_0x3a33ac=await createTDXInstance(_0x3f73e4),_0x39ef9b=await _0x49796e[_0x3314ec(0x2d1)]({'options':{..._0x3f73e4,..._0x3216c1},'args':[_0x4a71ef],'tdx':_0x3a33ac});gracefulExit(_0x39ef9b);}),journeyCmd[a2_0x28f113(0x327)](a2_0x28f113(0x444))[a2_0x28f113(0x1fe)](a2_0x28f113(0x2ef))[a2_0x28f113(0x44e)](async(_0x483297,_0x10b333)=>{const _0x34c8fa=a2_0x28f113,_0x3f3aab=new JourneyValidateCommand(),_0x154882=program[_0x34c8fa(0x2c6)](),_0x30dd27=await createTDXInstance(_0x154882),_0x435caa=await _0x3f3aab[_0x34c8fa(0x2d1)]({'options':{..._0x154882,..._0x10b333},'args':_0x483297?[_0x483297]:[],'tdx':_0x30dd27});gracefulExit(_0x435caa);}),program[a2_0x28f113(0x327)](a2_0x28f113(0x2ae))['description'](a2_0x28f113(0x276))['action'](journeyListAction);const agentSyncCmd=program[a2_0x28f113(0x327)]('agent')['description'](a2_0x28f113(0x401));agentSyncCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4c9))[a2_0x28f113(0x1fe)](a2_0x28f113(0x4d1))[a2_0x28f113(0x4b1)](a2_0x28f113(0x342),a2_0x28f113(0x423))[a2_0x28f113(0x4b1)](a2_0x28f113(0x498),a2_0x28f113(0x216))[a2_0x28f113(0x4b1)](a2_0x28f113(0x21b),a2_0x28f113(0x319))[a2_0x28f113(0x44e)](async(_0x13d842,_0x4217c2,_0x4066df)=>{const _0x3cf90e=a2_0x28f113,_0x251983=new AgentPullCommand(),_0x19ae90=program[_0x3cf90e(0x2c6)](),_0x10ce96=await createTDXInstance(_0x19ae90),_0x189731=[];if(_0x13d842)_0x189731[_0x3cf90e(0x3a9)](_0x13d842);if(_0x4217c2)_0x189731[_0x3cf90e(0x3a9)](_0x4217c2);const _0x31ccf2=await _0x251983[_0x3cf90e(0x2d1)]({'options':{..._0x19ae90,..._0x4066df},'args':_0x189731,'tdx':_0x10ce96});gracefulExit(_0x31ccf2);}),agentSyncCmd[a2_0x28f113(0x327)](a2_0x28f113(0x460))[a2_0x28f113(0x1fe)](a2_0x28f113(0x367))['option'](a2_0x28f113(0x498),'Push\x20without\x20confirmation')[a2_0x28f113(0x44e)](async(_0x8fddeb,_0xeac8b4)=>{const _0x4d8f1b=a2_0x28f113,_0x1499fd=new AgentPushCommand(),_0x4def31=program[_0x4d8f1b(0x2c6)](),_0x342dd5=await createTDXInstance(_0x4def31),_0x33c275=await _0x1499fd[_0x4d8f1b(0x2d1)]({'options':{..._0x4def31,..._0xeac8b4},'args':_0x8fddeb?[_0x8fddeb]:[],'tdx':_0x342dd5});gracefulExit(_0x33c275);}),agentSyncCmd[a2_0x28f113(0x327)](a2_0x28f113(0x3a0))[a2_0x28f113(0x1fe)](a2_0x28f113(0x438))[a2_0x28f113(0x4b1)](a2_0x28f113(0x445),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x28f113(0x44e)](async(_0x175016,_0x59f6e7)=>{const _0x421167=a2_0x28f113,_0x39c462=new AgentCloneCommand(),_0x444a72=program[_0x421167(0x2c6)](),_0x18ce54=await createTDXInstance(_0x444a72),_0x5e35de=await _0x39c462[_0x421167(0x2d1)]({'options':{..._0x444a72,..._0x59f6e7},'args':_0x175016?[_0x175016]:[],'tdx':_0x18ce54});gracefulExit(_0x5e35de);}),agentSyncCmd[a2_0x28f113(0x327)](a2_0x28f113(0x333))[a2_0x28f113(0x1fe)](a2_0x28f113(0x373))['option'](a2_0x28f113(0x20f),a2_0x28f113(0x421))['option']('--tags\x20<tags>',a2_0x28f113(0x356))[a2_0x28f113(0x4b1)](a2_0x28f113(0x2c1),a2_0x28f113(0x2fc))[a2_0x28f113(0x4b1)](a2_0x28f113(0x4e1),a2_0x28f113(0x35b))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3c8),a2_0x28f113(0x47b))[a2_0x28f113(0x44e)](async(_0x418e7c,_0x1d7af6)=>{const _0x4d8391=a2_0x28f113,_0x47796=new AgentTestCommand(),_0x2ef6c2=program[_0x4d8391(0x2c6)](),_0x406e8f=await createTDXInstance(_0x2ef6c2),_0x5d366c=await _0x47796[_0x4d8391(0x2d1)]({'options':{..._0x2ef6c2,..._0x1d7af6},'args':_0x418e7c?[_0x418e7c]:[],'tdx':_0x406e8f});gracefulExit(_0x5d366c);}),agentSyncCmd[a2_0x28f113(0x327)](a2_0x28f113(0x219))[a2_0x28f113(0x1fe)]('List\x20agents\x20in\x20current\x20project')[a2_0x28f113(0x44e)](llmAgentListAction),agentSyncCmd[a2_0x28f113(0x327)]('show\x20<agent-name>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x31b))['action'](async(_0x511741,_0x1a8caf)=>{const _0x3b2b9a=a2_0x28f113,_0x45269f=new LLMAgentShowCommand(),_0xfe6626=program[_0x3b2b9a(0x2c6)](),_0x20c2a4=await createTDXInstance(_0xfe6626),_0x7d80e3=await _0x45269f[_0x3b2b9a(0x2d1)]({'options':{..._0xfe6626,..._0x1a8caf},'args':[_0x511741],'tdx':_0x20c2a4});gracefulExit(_0x7d80e3);}),agentSyncCmd['command'](a2_0x28f113(0x275))[a2_0x28f113(0x1fe)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x28f113(0x4b1)]('--system-prompt\x20<text>','System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x28f113(0x4b1)]('--model\x20<name>',a2_0x28f113(0x34e),'claude-4.5-sonnet')[a2_0x28f113(0x4b1)]('--starter-message\x20<text>',a2_0x28f113(0x2f6))['option']('--max-tool-iterations\x20<n>',a2_0x28f113(0x37c),'4')[a2_0x28f113(0x4b1)](a2_0x28f113(0x43d),a2_0x28f113(0x24b),a2_0x28f113(0x4bf))[a2_0x28f113(0x44e)](async(_0x4f692b,_0x34d0f4)=>{const _0xd82501=new LLMAgentCreateCommand(),_0x5ef721=program['opts'](),_0x2e2d06=await createTDXInstance(_0x5ef721),_0x21facc=await _0xd82501['run']({'options':{..._0x5ef721,..._0x34d0f4},'args':[_0x4f692b],'tdx':_0x2e2d06});gracefulExit(_0x21facc);}),agentSyncCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2ed))[a2_0x28f113(0x1fe)](a2_0x28f113(0x31a))[a2_0x28f113(0x4b1)](a2_0x28f113(0x489),a2_0x28f113(0x476))['option']('--prompt\x20<text>',a2_0x28f113(0x4de))[a2_0x28f113(0x4b1)](a2_0x28f113(0x24f),a2_0x28f113(0x21c))['option'](a2_0x28f113(0x3e0),a2_0x28f113(0x2f6))[a2_0x28f113(0x44e)](async(_0x3f8c06,_0x53a768)=>{const _0x5cefdb=a2_0x28f113,_0x277612=new LLMAgentUpdateCommand(),_0x124da4=program[_0x5cefdb(0x2c6)](),_0x243f10=await createTDXInstance(_0x124da4),_0x2a8d0a=await _0x277612['run']({'options':{..._0x124da4,..._0x53a768},'args':[_0x3f8c06],'tdx':_0x243f10});gracefulExit(_0x2a8d0a);}),agentSyncCmd[a2_0x28f113(0x327)]('delete\x20<agent-name>')[a2_0x28f113(0x1fe)]('Delete\x20an\x20agent')[a2_0x28f113(0x44e)](async(_0x426a5b,_0x3f8226)=>{const _0xf900ee=a2_0x28f113,_0x7d0a46=new LLMAgentDeleteCommand(),_0x574006=program['opts'](),_0x1f1f13=await createTDXInstance(_0x574006),_0x4f678b=await _0x7d0a46[_0xf900ee(0x2d1)]({'options':{..._0x574006,..._0x3f8226},'args':[_0x426a5b],'tdx':_0x1f1f13});gracefulExit(_0x4f678b);});const workCmd=program[a2_0x28f113(0x327)](a2_0x28f113(0x43a))[a2_0x28f113(0x1fe)](a2_0x28f113(0x1f2));workCmd[a2_0x28f113(0x4b1)](a2_0x28f113(0x3bd),a2_0x28f113(0x2e2))[a2_0x28f113(0x4b1)](a2_0x28f113(0x1e8),a2_0x28f113(0x2d6))[a2_0x28f113(0x44e)](workSummaryAction),workCmd[a2_0x28f113(0x327)](a2_0x28f113(0x4db))[a2_0x28f113(0x1fe)](a2_0x28f113(0x457))[a2_0x28f113(0x4b1)]('--github\x20<owner/repo>',a2_0x28f113(0x4d3))[a2_0x28f113(0x44e)](workInitAction),workCmd['command']('new\x20<title>')['description'](a2_0x28f113(0x48c))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3d2),a2_0x28f113(0x2f2),'item')[a2_0x28f113(0x4b1)](a2_0x28f113(0x2ce),'Comma-separated\x20tags')[a2_0x28f113(0x4b1)]('--priority\x20<priority>','Priority\x20(critical,\x20high,\x20medium,\x20low)')[a2_0x28f113(0x4b1)](a2_0x28f113(0x1f1),a2_0x28f113(0x256))[a2_0x28f113(0x4b1)](a2_0x28f113(0x3a7),'Apply\x20a\x20template')['option'](a2_0x28f113(0x3f8),a2_0x28f113(0x28c))['option'](a2_0x28f113(0x3a1),a2_0x28f113(0x212))[a2_0x28f113(0x44e)](workNewAction),workCmd[a2_0x28f113(0x327)](a2_0x28f113(0x391))['description'](a2_0x28f113(0x30e))[a2_0x28f113(0x44e)](workMoveAction),workCmd[a2_0x28f113(0x327)]('board')[a2_0x28f113(0x1fe)]('Show\x20Kanban\x20board\x20view\x20of\x20tasks')['option']('--days\x20<n>',a2_0x28f113(0x2e2))[a2_0x28f113(0x4b1)](a2_0x28f113(0x1e8),a2_0x28f113(0x2d6))[a2_0x28f113(0x44e)](workBoardAction),workCmd['command']('show\x20<name>')[a2_0x28f113(0x1fe)](a2_0x28f113(0x306))[a2_0x28f113(0x44e)](workShowAction),workCmd[a2_0x28f113(0x327)](a2_0x28f113(0x2b6))[a2_0x28f113(0x1fe)]('Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document')[a2_0x28f113(0x44e)](workLinksAction),workCmd['command'](a2_0x28f113(0x3f0))[a2_0x28f113(0x1fe)](a2_0x28f113(0x420))['action'](workOpenAction),program['command'](a2_0x28f113(0x3e4),{'hidden':!![]})[a2_0x28f113(0x44e)](()=>{const _0x3d4e34=a2_0x28f113;function _0x49d96f(_0x45ff58,_0x3ab3d6){const _0x910a5a=a2_0xbd13,_0x49bdbd=[];for(const _0xe66610 of _0x45ff58[_0x910a5a(0x3d7)]){if(_0xe66610[_0x910a5a(0x472)])continue;const _0x5ecad1=_0x3ab3d6?_0x3ab3d6+'\x20'+_0xe66610['name']():_0xe66610[_0x910a5a(0x2b3)](),_0x1338e9=_0x5ecad1[_0x910a5a(0x2a3)]('\x20')[0x0],_0x2c4a94=COMMAND_CATEGORIES[_0x910a5a(0x440)](_0x4d3f9a=>_0x4d3f9a[_0x910a5a(0x3d7)][_0x910a5a(0x29b)](_0x1338e9)),_0x812928=_0x2c4a94?.[_0x910a5a(0x2b3)]??'';if(_0xe66610[_0x910a5a(0x3d7)][_0x910a5a(0x231)]>0x0)_0x49bdbd[_0x910a5a(0x3a9)](..._0x49d96f(_0xe66610,_0x5ecad1));else{const _0x3b7b86=(_0xe66610[_0x910a5a(0x3ea)]||[])['map'](_0x373e55=>{const _0xacf44=_0x910a5a,_0x483e0d=_0x373e55[_0xacf44(0x41d)]?_0x373e55[_0xacf44(0x2b3)]()+_0xacf44(0x299):_0x373e55[_0xacf44(0x2b3)]();return _0x373e55[_0xacf44(0x34c)]?'<'+_0x483e0d+'>':'['+_0x483e0d+']';})['join']('\x20'),_0x32b95c=_0xe66610[_0x910a5a(0x242)][_0x910a5a(0x22b)](_0x55c7e3=>!_0x55c7e3[_0x910a5a(0x412)]&&_0x55c7e3[_0x910a5a(0x255)]!==_0x910a5a(0x2cc))['map'](_0x3d8726=>({'flags':_0x3d8726[_0x910a5a(0x269)],'description':_0x3d8726['description']}));_0x49bdbd['push']({'name':_0x5ecad1,'description':_0xe66610[_0x910a5a(0x1fe)](),'group':_0x812928,'usage':_0x3b7b86,'options':_0x32b95c});}}return _0x49bdbd;}console['log'](JSON[_0x3d4e34(0x32a)](_0x49d96f(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x4aacb4=a2_0x28f113,_0x4b0211=!process[_0x4aacb4(0x38c)][_0x4aacb4(0x345)](0x2)['length'];showBriefHelp=_0x4b0211,program['parse'](process[_0x4aacb4(0x38c)]);_0x4b0211&&program['outputHelp']();const _0xa2d2aa=process['argv'][0x2]==='upgrade';if(process[_0x4aacb4(0x4e5)][_0x4aacb4(0x45f)]&&process[_0x4aacb4(0x38c)]['length']>0x2&&!isDevVersion()&&!_0xa2d2aa){const _0x123d6c=loadReleaseChannel();checkForUpdate(currentVersion,_0x123d6c)[_0x4aacb4(0x2c9)](_0x43930e=>{_0x43930e&&displayUpdateNotification(_0x43930e);})[_0x4aacb4(0x33a)](()=>{});}}