@treasuredata/tdx 2026.4.19 → 2026.4.21

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 (252) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/commands/activations.js +1 -1
  8. package/dist/commands/agent-command.js +1 -1
  9. package/dist/commands/agent-test-command.js +1 -1
  10. package/dist/commands/api-command.js +1 -1
  11. package/dist/commands/auth-command.js +1 -1
  12. package/dist/commands/cas-command.js +1 -1
  13. package/dist/commands/cas-segment-command.js +1 -1
  14. package/dist/commands/chat-command.js +1 -1
  15. package/dist/commands/claude-command.js +1 -1
  16. package/dist/commands/claude-statusline-command.js +1 -1
  17. package/dist/commands/claude-usage-command.js +1 -1
  18. package/dist/commands/command.js +1 -1
  19. package/dist/commands/connection-command.js +1 -1
  20. package/dist/commands/databases.js +1 -1
  21. package/dist/commands/delivery-command.js +1 -1
  22. package/dist/commands/describe.js +1 -1
  23. package/dist/commands/engage-campaign-pull-command.js +1 -1
  24. package/dist/commands/engage-campaign-push-command.js +1 -1
  25. package/dist/commands/engage-campaign-validate-command.js +1 -1
  26. package/dist/commands/engage-command.d.ts +47 -0
  27. package/dist/commands/engage-command.d.ts.map +1 -1
  28. package/dist/commands/engage-command.js +1 -1
  29. package/dist/commands/engage-command.js.map +1 -1
  30. package/dist/commands/engage-template-pull-command.js +1 -1
  31. package/dist/commands/engage-template-push-command.js +1 -1
  32. package/dist/commands/engage-template-validate-command.js +1 -1
  33. package/dist/commands/job-command.js +1 -1
  34. package/dist/commands/journey-command.d.ts +1 -0
  35. package/dist/commands/journey-command.d.ts.map +1 -1
  36. package/dist/commands/journey-command.js +1 -1
  37. package/dist/commands/journey-command.js.map +1 -1
  38. package/dist/commands/journey-validate-command.js +1 -1
  39. package/dist/commands/llm-command.js +1 -1
  40. package/dist/commands/mcp-command.js +1 -1
  41. package/dist/commands/parent-segment-command.js +1 -1
  42. package/dist/commands/policy-command.js +1 -1
  43. package/dist/commands/profile-command.js +1 -1
  44. package/dist/commands/profiles-command.js +1 -1
  45. package/dist/commands/query-command.js +1 -1
  46. package/dist/commands/schedule-command.js +1 -1
  47. package/dist/commands/segment-command.js +1 -1
  48. package/dist/commands/segment-create-command.js +1 -1
  49. package/dist/commands/segment-fields-command.js +1 -1
  50. package/dist/commands/segment-pull-command.js +1 -1
  51. package/dist/commands/segment-push-command.js +1 -1
  52. package/dist/commands/segment-update-command.js +1 -1
  53. package/dist/commands/segment-use-command.js +1 -1
  54. package/dist/commands/segment-validate-command.js +1 -1
  55. package/dist/commands/segments.js +1 -1
  56. package/dist/commands/show.js +1 -1
  57. package/dist/commands/status-command.js +1 -1
  58. package/dist/commands/tables.js +1 -1
  59. package/dist/commands/unset-command.js +1 -1
  60. package/dist/commands/upgrade-command.js +1 -1
  61. package/dist/commands/use-command.js +1 -1
  62. package/dist/commands/user-command.js +1 -1
  63. package/dist/commands/work-command.js +1 -1
  64. package/dist/commands/workflow-command.d.ts +1 -0
  65. package/dist/commands/workflow-command.d.ts.map +1 -1
  66. package/dist/commands/workflow-command.js +1 -1
  67. package/dist/commands/workflow-command.js.map +1 -1
  68. package/dist/core/auth.js +1 -1
  69. package/dist/core/command-output.js +1 -1
  70. package/dist/core/config.js +1 -1
  71. package/dist/core/connection-cache.js +1 -1
  72. package/dist/core/constants.js +1 -1
  73. package/dist/core/credential-cache.js +1 -1
  74. package/dist/core/global-context.js +1 -1
  75. package/dist/core/keychain.js +1 -1
  76. package/dist/core/oauth-keychain.js +1 -1
  77. package/dist/core/oauth.js +1 -1
  78. package/dist/core/profile.js +1 -1
  79. package/dist/core/project-config.js +1 -1
  80. package/dist/core/session.js +1 -1
  81. package/dist/core/user-cache.js +1 -1
  82. package/dist/core/version.js +1 -1
  83. package/dist/index.js +1 -1
  84. package/dist/mcp/server.js +1 -1
  85. package/dist/mcp/tools/index.js +1 -1
  86. package/dist/mcp/tools/tdx-run.js +1 -1
  87. package/dist/mcp/tools/tdx-search.js +1 -1
  88. package/dist/mcp/tools/work-create-item.js +1 -1
  89. package/dist/mcp/utils.js +1 -1
  90. package/dist/proxy/claude-usage-tracker.js +1 -1
  91. package/dist/proxy/passthrough-server.js +1 -1
  92. package/dist/proxy/sse-usage-parser.js +1 -1
  93. package/dist/sdk/agent/agent-config.js +1 -1
  94. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  95. package/dist/sdk/agent/agent-yaml.js +1 -1
  96. package/dist/sdk/agent/test/evaluator.js +1 -1
  97. package/dist/sdk/agent/test/executor.js +1 -1
  98. package/dist/sdk/agent/test/index.js +1 -1
  99. package/dist/sdk/agent/test/output.js +1 -1
  100. package/dist/sdk/agent/test/parser.js +1 -1
  101. package/dist/sdk/agent/tool-target-registry.js +1 -1
  102. package/dist/sdk/api.js +1 -1
  103. package/dist/sdk/cas/cas-api-client.js +1 -1
  104. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  105. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  106. package/dist/sdk/cas/index.js +1 -1
  107. package/dist/sdk/cas/pull-workflow.js +1 -1
  108. package/dist/sdk/cas/push-workflow.js +1 -1
  109. package/dist/sdk/client/cdp-api-client.js +1 -1
  110. package/dist/sdk/client/delivery-api-client.js +1 -1
  111. package/dist/sdk/client/endpoints.js +1 -1
  112. package/dist/sdk/client/engage-api-client.d.ts +50 -1
  113. package/dist/sdk/client/engage-api-client.d.ts.map +1 -1
  114. package/dist/sdk/client/engage-api-client.js +1 -1
  115. package/dist/sdk/client/engage-api-client.js.map +1 -1
  116. package/dist/sdk/client/http-client.js +1 -1
  117. package/dist/sdk/client/llm-api-client.js +1 -1
  118. package/dist/sdk/client/oauth-refresh.js +1 -1
  119. package/dist/sdk/client/rate-limiter.js +1 -1
  120. package/dist/sdk/client/td-api-client.js +1 -1
  121. package/dist/sdk/client/trino-api-client.js +1 -1
  122. package/dist/sdk/client/workflow-client.d.ts +7 -0
  123. package/dist/sdk/client/workflow-client.d.ts.map +1 -1
  124. package/dist/sdk/client/workflow-client.js +1 -1
  125. package/dist/sdk/client/workflow-client.js.map +1 -1
  126. package/dist/sdk/connection-validator.js +1 -1
  127. package/dist/sdk/connection.js +1 -1
  128. package/dist/sdk/delivery.js +1 -1
  129. package/dist/sdk/engage/campaign-pull.js +1 -1
  130. package/dist/sdk/engage/campaign-push.js +1 -1
  131. package/dist/sdk/engage/campaign-validator.js +1 -1
  132. package/dist/sdk/engage/campaign-yaml.js +1 -1
  133. package/dist/sdk/engage/template-pull.js +1 -1
  134. package/dist/sdk/engage/template-push.js +1 -1
  135. package/dist/sdk/engage/template-validator.js +1 -1
  136. package/dist/sdk/engage/template-yaml.js +1 -1
  137. package/dist/sdk/engage/types/campaign-def.js +1 -1
  138. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  139. package/dist/sdk/engage/types/template-schema.js +1 -1
  140. package/dist/sdk/engage.d.ts +35 -1
  141. package/dist/sdk/engage.d.ts.map +1 -1
  142. package/dist/sdk/engage.js +1 -1
  143. package/dist/sdk/engage.js.map +1 -1
  144. package/dist/sdk/errors.js +1 -1
  145. package/dist/sdk/index.js +1 -1
  146. package/dist/sdk/io/index.js +1 -1
  147. package/dist/sdk/io/node-filesystem.js +1 -1
  148. package/dist/sdk/job.js +1 -1
  149. package/dist/sdk/journey.js +1 -1
  150. package/dist/sdk/llm/chat-cache.js +1 -1
  151. package/dist/sdk/llm/index.js +1 -1
  152. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  153. package/dist/sdk/llm/model-factors.js +1 -1
  154. package/dist/sdk/personalization.js +1 -1
  155. package/dist/sdk/policy.js +1 -1
  156. package/dist/sdk/query/index.js +1 -1
  157. package/dist/sdk/query/sql-parser.js +1 -1
  158. package/dist/sdk/realtime.js +1 -1
  159. package/dist/sdk/schedule.js +1 -1
  160. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  161. package/dist/sdk/segment/fields-display.js +1 -1
  162. package/dist/sdk/segment/file-discovery.js +1 -1
  163. package/dist/sdk/segment/journey-utils.js +1 -1
  164. package/dist/sdk/segment/journey-validator.js +1 -1
  165. package/dist/sdk/segment/journey-yaml.js +1 -1
  166. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  167. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  168. package/dist/sdk/segment/pull-workflow.js +1 -1
  169. package/dist/sdk/segment/push-recovery.js +1 -1
  170. package/dist/sdk/segment/push-workflow.js +1 -1
  171. package/dist/sdk/segment/resolution-context.js +1 -1
  172. package/dist/sdk/segment/segment-path-parser.js +1 -1
  173. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  174. package/dist/sdk/segment/segment-validator.js +1 -1
  175. package/dist/sdk/segment/target-resolution.js +1 -1
  176. package/dist/sdk/segment/tdx-config.js +1 -1
  177. package/dist/sdk/segment/types/activation-schema.js +1 -1
  178. package/dist/sdk/segment/types/journey-def.js +1 -1
  179. package/dist/sdk/segment/types/journey-schema.js +1 -1
  180. package/dist/sdk/segment/types/segment-def.js +1 -1
  181. package/dist/sdk/segment/types/segment-schema.js +1 -1
  182. package/dist/sdk/segment/validate-files.js +1 -1
  183. package/dist/sdk/segment/yaml-validator.js +1 -1
  184. package/dist/sdk/segment.js +1 -1
  185. package/dist/sdk/types/engage.d.ts +53 -0
  186. package/dist/sdk/types/engage.d.ts.map +1 -1
  187. package/dist/sdk/types/index.d.ts +1 -1
  188. package/dist/sdk/types/index.d.ts.map +1 -1
  189. package/dist/sdk/types/index.js +1 -1
  190. package/dist/sdk/types/index.js.map +1 -1
  191. package/dist/sdk/types/progress.js +1 -1
  192. package/dist/sdk/types/workspace.js +1 -1
  193. package/dist/sdk/user.js +1 -1
  194. package/dist/sdk/util/format-detector.js +1 -1
  195. package/dist/sdk/util/formatters.js +1 -1
  196. package/dist/sdk/util/index.js +1 -1
  197. package/dist/sdk/util/paginate.js +1 -1
  198. package/dist/sdk/util/tree-formatter.js +1 -1
  199. package/dist/sdk/workflow/archive-validation.js +1 -1
  200. package/dist/sdk/workflow/clone-workflow.js +1 -1
  201. package/dist/sdk/workflow/index.d.ts +14 -1
  202. package/dist/sdk/workflow/index.d.ts.map +1 -1
  203. package/dist/sdk/workflow/index.js +1 -1
  204. package/dist/sdk/workflow/index.js.map +1 -1
  205. package/dist/sdk/workflow/pull-workflow.js +1 -1
  206. package/dist/sdk/workflow/push-workflow.js +1 -1
  207. package/dist/sdk/workflow/task-graph.d.ts +65 -0
  208. package/dist/sdk/workflow/task-graph.d.ts.map +1 -0
  209. package/dist/sdk/workflow/task-graph.js +1 -0
  210. package/dist/sdk/workflow/task-graph.js.map +1 -0
  211. package/dist/sdk/workflow/tdx-config.js +1 -1
  212. package/dist/sdk/workflow/workflow-utils.js +1 -1
  213. package/dist/sdk/workspace/access-tracker.js +1 -1
  214. package/dist/sdk/workspace/frontmatter.js +1 -1
  215. package/dist/sdk/workspace/git.js +1 -1
  216. package/dist/sdk/workspace/index.js +1 -1
  217. package/dist/sdk/workspace/templates.js +1 -1
  218. package/dist/sdk/workspace/weekly.js +1 -1
  219. package/dist/sdk/workspace/wikilinks.js +1 -1
  220. package/dist/test-utils/command-runner.js +1 -1
  221. package/dist/test-utils/factories.js +1 -1
  222. package/dist/test-utils/fixtures.js +1 -1
  223. package/dist/test-utils/http-mock.js +1 -1
  224. package/dist/test-utils/index.js +1 -1
  225. package/dist/utils/async.js +1 -1
  226. package/dist/utils/colors.js +1 -1
  227. package/dist/utils/diff.js +1 -1
  228. package/dist/utils/file-permissions.js +1 -1
  229. package/dist/utils/file-reader.js +1 -1
  230. package/dist/utils/github-releases.js +1 -1
  231. package/dist/utils/global-cache.js +1 -1
  232. package/dist/utils/json-loader.js +1 -1
  233. package/dist/utils/local-cache.js +1 -1
  234. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  235. package/dist/utils/logger/formatters/index.js +1 -1
  236. package/dist/utils/logger/handlers/console-handler.js +1 -1
  237. package/dist/utils/logger/handlers/file-handler.js +1 -1
  238. package/dist/utils/logger/handlers/index.js +1 -1
  239. package/dist/utils/logger/handlers/null-handler.js +1 -1
  240. package/dist/utils/logger/index.js +1 -1
  241. package/dist/utils/logger/logger.js +1 -1
  242. package/dist/utils/logger/types.js +1 -1
  243. package/dist/utils/option-validation.js +1 -1
  244. package/dist/utils/process.js +1 -1
  245. package/dist/utils/prompt.js +1 -1
  246. package/dist/utils/spinner.js +1 -1
  247. package/dist/utils/sse-parser.js +1 -1
  248. package/dist/utils/string-utils.js +1 -1
  249. package/dist/utils/table-ref-parser.js +1 -1
  250. package/dist/utils/tdx-logger.js +1 -1
  251. package/dist/utils/version-check.js +1 -1
  252. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x2ebaf3=a2_0x22e8;(function(_0x1fa865,_0x21ae70){const _0xa4474e=a2_0x22e8,_0x18a55c=_0x1fa865();while(!![]){try{const _0x21ea2a=parseInt(_0xa4474e(0x1f3))/0x1+-parseInt(_0xa4474e(0x2c6))/0x2+-parseInt(_0xa4474e(0x2e8))/0x3*(-parseInt(_0xa4474e(0x29c))/0x4)+-parseInt(_0xa4474e(0x416))/0x5*(-parseInt(_0xa4474e(0x289))/0x6)+parseInt(_0xa4474e(0x422))/0x7+-parseInt(_0xa4474e(0x4ab))/0x8+-parseInt(_0xa4474e(0x3b5))/0x9;if(_0x21ea2a===_0x21ae70)break;else _0x18a55c['push'](_0x18a55c['shift']());}catch(_0x54c919){_0x18a55c['push'](_0x18a55c['shift']());}}}(a2_0x46e2,0xb7f0a));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x2ebaf3(0x21f)][a2_0x2ebaf3(0x4df)](a2_0x2ebaf3(0x2c1))){let versionOutput=a2_0x2ebaf3(0x1e4)+currentVersion;buildInfo[a2_0x2ebaf3(0x223)]&&!currentVersion['includes'](buildInfo[a2_0x2ebaf3(0x223)])&&(versionOutput+='\x20('+buildInfo[a2_0x2ebaf3(0x223)]+')'),buildInfo[a2_0x2ebaf3(0x25e)]&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x2ebaf3(0x25e)]),console[a2_0x2ebaf3(0x1e1)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x34aa1a,_0x4ec67e){const _0x9e8e2a=a2_0x2ebaf3,_0x1805d5={..._0x34aa1a};for(const [_0x238f61,_0x185f73]of Object[_0x9e8e2a(0x454)](_0x4ec67e)){_0x185f73!==undefined&&(_0x1805d5[_0x238f61]=_0x185f73);}return _0x1805d5;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x2ebaf3(0x223)]&&!currentVersion['includes'](buildInfo[a2_0x2ebaf3(0x223)])?description+=a2_0x2ebaf3(0x2df)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x2ebaf3(0x2df)+currentVersion;program[a2_0x2ebaf3(0x3a9)]('tdx')[a2_0x2ebaf3(0x39c)](description),program[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3cc),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x44c),a2_0x2ebaf3(0x3a0))[a2_0x2ebaf3(0x1ea)]('--site\x20<site>',a2_0x2ebaf3(0x378),'us01')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x205),a2_0x2ebaf3(0x1b5))['option'](a2_0x2ebaf3(0x264),a2_0x2ebaf3(0x282))['option'](a2_0x2ebaf3(0x2bf),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x43a),a2_0x2ebaf3(0x1f5))['option'](a2_0x2ebaf3(0x3ab),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x228),'Save\x20output\x20to\x20file')[a2_0x2ebaf3(0x1ea)]('--limit\x20<number>',a2_0x2ebaf3(0x49d))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2ec),a2_0x2ebaf3(0x20f),![])[a2_0x2ebaf3(0x1ea)]('--no-color',a2_0x2ebaf3(0x312),![])[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x21e),a2_0x2ebaf3(0x2bc),![])[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3ad),a2_0x2ebaf3(0x3fa))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2f7),a2_0x2ebaf3(0x257))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x290),a2_0x2ebaf3(0x44e),'30')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x48f),![])['option']('-y,\x20--yes',a2_0x2ebaf3(0x2af),![])['option'](a2_0x2ebaf3(0x48b),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2ef),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x2ebaf3(0x43c),a2_0x2ebaf3(0x32f)),program[a2_0x2ebaf3(0x24d)]({'formatHelp':(_0x430198,_0x5459b5)=>{const _0x2f0d81=a2_0x2ebaf3,_0x19a48c=_0x5459b5[_0x2f0d81(0x44d)](_0x430198,_0x5459b5),_0x272fab=0x2,_0x278b62=0x2;function _0x447bfc(_0x39c4b1){const _0x2fbc10=_0x2f0d81,_0x49f1fe=_0x39c4b1;return!!(_0x49f1fe[_0x2fbc10(0x310)]||_0x49f1fe[_0x2fbc10(0x4aa)]);}function _0x35ebcc(_0x547fd0,_0x5897b7){const _0x5b21d7=_0x2f0d81;if(_0x5897b7){const _0x598d5f=''+_0x547fd0[_0x5b21d7(0x25f)](_0x19a48c+_0x278b62)+_0x5897b7;return _0x598d5f;}return _0x547fd0;}function _0x3ef45a(_0x4d8cca){const _0x1a96fa=_0x2f0d81;return _0x4d8cca[_0x1a96fa(0x413)]('\x0a')[_0x1a96fa(0x41e)](/^/gm,'\x20'[_0x1a96fa(0x256)](_0x272fab));}const _0x39d53f=[];_0x39d53f[_0x2f0d81(0x437)]('Usage:\x20'+_0x5459b5['commandUsage'](_0x430198));const _0x4f6c00=_0x5459b5[_0x2f0d81(0x2b2)](_0x430198);_0x4f6c00&&(_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f['push'](_0x4f6c00));const _0x6f5ada=_0x430198[_0x2f0d81(0x240)][_0x2f0d81(0x491)](_0xdae70=>!_0x447bfc(_0xdae70));if(_0x6f5ada[_0x2f0d81(0x22a)]>0x0){if(_0x430198['name']()==='tdx'){const _0x627b42=_0x430198['opts'](),_0xe92fba=!_0x627b42[_0x2f0d81(0x25a)]&&process[_0x2f0d81(0x465)][_0x2f0d81(0x4c7)],_0x314054=COMMAND_CATEGORIES,_0x4db259=(_0x9f2085,_0x1b4b92)=>_0xe92fba?_0x1b4b92(_0x9f2085):_0x9f2085,_0x27c937=new Map();_0x6f5ada[_0x2f0d81(0x21c)](_0x1d0e38=>{const _0x36c115=_0x2f0d81;_0x27c937[_0x36c115(0x281)](_0x1d0e38[_0x36c115(0x3a9)](),_0x1d0e38);}),_0x314054[_0x2f0d81(0x21c)](_0x552c2d=>{const _0x122da8=_0x2f0d81,_0x206b3d=_0x552c2d['commands'][_0x122da8(0x2dd)](_0x5e5715=>_0x27c937[_0x122da8(0x350)](_0x5e5715)??[]);if(_0x206b3d[_0x122da8(0x22a)]>0x0){_0x39d53f['push'](''),_0x39d53f[_0x122da8(0x437)](_0x4db259(_0x552c2d[_0x122da8(0x3a9)]+':',_0x552c2d[_0x122da8(0x4a6)]));const _0x42a90f=_0x206b3d[_0x122da8(0x2b8)](_0x446221=>{const _0x56c571=_0x122da8,_0x30494b=_0x5459b5[_0x56c571(0x485)](_0x446221),_0x26b9bf=_0x5459b5[_0x56c571(0x342)](_0x446221);return _0x35ebcc(_0x30494b,_0x26b9bf);});_0x39d53f[_0x122da8(0x437)](_0x3ef45a(_0x42a90f));}}),_0x39d53f['push'](''),_0x39d53f['push'](_0x2f0d81(0x270));}else{const _0x588259=_0x6f5ada[_0x2f0d81(0x2b8)](_0x52b278=>{const _0xa22dac=_0x2f0d81,_0x4c5a10=_0x5459b5[_0xa22dac(0x485)](_0x52b278),_0x529a34=_0x5459b5['subcommandDescription'](_0x52b278);return _0x35ebcc(_0x4c5a10,_0x529a34);});_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f['push']('Commands:'),_0x39d53f[_0x2f0d81(0x437)](_0x3ef45a(_0x588259));}}if(showBriefHelp&&_0x430198[_0x2f0d81(0x3a9)]()===_0x2f0d81(0x3ca))_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f[_0x2f0d81(0x437)](_0x2f0d81(0x2c3));else{const _0x4debf9=_0x430198[_0x2f0d81(0x222)]['filter'](_0x367166=>!_0x447bfc(_0x367166));if(_0x4debf9['length']>0x0){const _0x3bc6c2=_0x4debf9['map'](_0x1e50a5=>{const _0x354625=_0x2f0d81,_0x5df4bc=_0x5459b5[_0x354625(0x376)](_0x1e50a5),_0x59a2d8=_0x5459b5[_0x354625(0x1c7)](_0x1e50a5);return _0x35ebcc(_0x5df4bc,_0x59a2d8);});_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f[_0x2f0d81(0x437)]('Options:'),_0x39d53f[_0x2f0d81(0x437)](_0x3ef45a(_0x3bc6c2));}}const _0xbb3f83=(_0x430198[_0x2f0d81(0x2d7)]||[])['filter'](_0x519c99=>!_0x447bfc(_0x519c99));if(_0xbb3f83[_0x2f0d81(0x22a)]>0x0){const _0x17ede1=_0xbb3f83[_0x2f0d81(0x2b8)](_0x53f3d3=>{const _0x2487b7=_0x2f0d81,_0x5d9955=_0x5459b5['argumentTerm'](_0x53f3d3),_0x23b0d5=_0x5459b5[_0x2487b7(0x3a1)](_0x53f3d3);return _0x35ebcc(_0x5d9955,_0x23b0d5);});_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f[_0x2f0d81(0x437)](_0x2f0d81(0x363)),_0x39d53f[_0x2f0d81(0x437)](_0x3ef45a(_0x17ede1));}return _0x39d53f[_0x2f0d81(0x413)]('\x0a')+'\x0a';},'subcommandTerm':_0xaf1063=>{const _0x1177c9=a2_0x2ebaf3,_0x2dc186=(_0xaf1063[_0x1177c9(0x2d7)]||[])[_0x1177c9(0x2b8)](_0x44afe8=>_0x44afe8['required']?'<'+_0x44afe8['name']()+'>':'['+_0x44afe8[_0x1177c9(0x3a9)]()+']')['join']('\x20'),_0xde6b64=_0xaf1063[_0x1177c9(0x3b4)](),_0x5c9cbf=_0xde6b64[_0x1177c9(0x22a)]>0x0?_0xaf1063['name']()+',\x20'+_0xde6b64[_0x1177c9(0x413)](',\x20'):_0xaf1063[_0x1177c9(0x3a9)]();return _0x2dc186?_0x5c9cbf+'\x20'+_0x2dc186:_0x5c9cbf;}}),program[a2_0x2ebaf3(0x37b)](a2_0x2ebaf3(0x43f),_0x5e3623=>{const _0xd9dad1=a2_0x2ebaf3,_0x3095a8=_0x5e3623[_0xd9dad1(0x1af)]();if(_0x3095a8[_0xd9dad1(0x373)]){const _0x47db77=resolve(_0x3095a8['directory']),_0x45f57b=_0x47db77!==_0x3095a8[_0xd9dad1(0x373)]?_0xd9dad1(0x402)+_0x47db77+')':'';if(!existsSync(_0x47db77))throw new SDKError(ErrorCode[_0xd9dad1(0x42f)],_0xd9dad1(0x384)+_0x3095a8['directory']+_0x45f57b,undefined,{'helpText':_0xd9dad1(0x3be)});const _0x120db6=statSync(_0x47db77);if(!_0x120db6[_0xd9dad1(0x31f)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x3095a8[_0xd9dad1(0x373)]+_0x45f57b,undefined,{'helpText':_0xd9dad1(0x439)});process[_0xd9dad1(0x4dd)](_0x47db77);}if(!_0x3095a8[_0xd9dad1(0x3dd)]){if(_0x3095a8[_0xd9dad1(0x46a)])_0x3095a8['format']=_0xd9dad1(0x46a);else{if(_0x3095a8['json'])_0x3095a8[_0xd9dad1(0x3dd)]=_0xd9dad1(0x48e);else{if(_0x3095a8[_0xd9dad1(0x401)])_0x3095a8[_0xd9dad1(0x3dd)]='jsonl';else _0x3095a8['tsv']&&(_0x3095a8[_0xd9dad1(0x3dd)]=_0xd9dad1(0x3f7));}}}if(_0x3095a8[_0xd9dad1(0x1eb)])_0x3095a8['logLevel']=LogLevel[_0xd9dad1(0x366)];else{if(_0x3095a8[_0xd9dad1(0x3df)])_0x3095a8[_0xd9dad1(0x209)]=LogLevel[_0xd9dad1(0x353)];else _0x3095a8[_0xd9dad1(0x209)]===undefined&&(_0x3095a8[_0xd9dad1(0x209)]=LogLevel[_0xd9dad1(0x1b8)]);}});async function createTDXInstance(_0x2d71fc){const _0x1104ae=a2_0x2ebaf3,_0x42e31=await GlobalContext[_0x1104ae(0x4e8)](_0x2d71fc);_0x42e31['injectIntoOptions'](_0x2d71fc);const _0x3aff06=Number(_0x2d71fc['timeout']),_0x3b23dc=!isNaN(_0x3aff06)&&_0x3aff06>0x0?_0x3aff06*0x3e8:undefined;return TDX[_0x1104ae(0x4d9)]({'site':_0x42e31['site'],'apiKey':_0x42e31['apiKey'],'accessToken':_0x42e31['accessToken'],'logLevel':_0x42e31[_0x1104ae(0x209)],'profile':_0x42e31[_0x1104ae(0x268)],'timeout':_0x3b23dc});}const databaseCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x219))['alias']('db')[a2_0x2ebaf3(0x39c)]('Database\x20management\x20commands'),databaseListAction=async(_0x6f7b87,_0x5ea35b)=>{const _0x4e5120=a2_0x2ebaf3,_0x3f2dfc=new DatabasesCommand(),_0x2fbff1=program[_0x4e5120(0x1af)](),_0x42ae15=await createTDXInstance(_0x2fbff1),_0x279a13=await _0x3f2dfc[_0x4e5120(0x1e5)]({'options':{..._0x2fbff1,..._0x5ea35b},'args':_0x6f7b87?[_0x6f7b87]:[],'tdx':_0x42ae15});gracefulExit(_0x279a13);};databaseCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3c4))[a2_0x2ebaf3(0x345)](databaseListAction),program[a2_0x2ebaf3(0x308)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2f3))[a2_0x2ebaf3(0x345)](databaseListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4b0))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x266))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2dc),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x288),a2_0x2ebaf3(0x2c8))['option']('--chat-id\x20<id>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x284),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')['action'](async(_0x40018e,_0x2f6291)=>{const _0x5c7316=a2_0x2ebaf3,_0x17646f=program[_0x5c7316(0x1af)](),_0x4e5f4a=await createTDXInstance(_0x17646f);if(_0x40018e[0x0]===_0x5c7316(0x4d9)){const _0x1f5fae=new ChatCreateCommand();gracefulExit(await _0x1f5fae[_0x5c7316(0x1e5)]({'options':{..._0x17646f,..._0x2f6291},'args':_0x40018e[_0x5c7316(0x315)](0x1),'tdx':_0x4e5f4a}));return;}const _0x2690f4=new ChatCommand(),_0x592995=await _0x2690f4[_0x5c7316(0x1e5)]({'options':{..._0x17646f,..._0x2f6291},'args':_0x40018e,'tdx':_0x4e5f4a});gracefulExit(_0x592995);});const apiCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x26d))[a2_0x2ebaf3(0x2fc)](a2_0x2ebaf3(0x3e6))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x313))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x483),a2_0x2ebaf3(0x1e6),'GET')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x405),'Request\x20body\x20as\x20JSON\x20string')['option'](a2_0x2ebaf3(0x449),'Read\x20request\x20body\x20from\x20file')['option'](a2_0x2ebaf3(0x35c),a2_0x2ebaf3(0x448),(_0x21e855,_0x30d43a)=>{return _0x30d43a?[..._0x30d43a,_0x21e855]:[_0x21e855];})['option'](a2_0x2ebaf3(0x34f),a2_0x2ebaf3(0x415),'td')['action'](async(_0x2d81af,_0x1ef7e9)=>{const _0x5ecfd8=a2_0x2ebaf3;if(!_0x2d81af){apiCmd[_0x5ecfd8(0x4bc)]();return;}const _0xd38dd6=new ApiCommand(),_0x1a890f=program['opts'](),_0x4477fe=await createTDXInstance(_0x1a890f),_0x4937e3=await _0xd38dd6[_0x5ecfd8(0x1e5)]({'options':{..._0x1a890f,..._0x1ef7e9},'args':[_0x2d81af],'tdx':_0x4477fe});gracefulExit(_0x4937e3);});program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x231))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3f5))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),'\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_0x2ebaf3(0x345)](async _0x4c11c1=>{const _0x59c129=a2_0x2ebaf3,_0x460a42=new MCPCommand(),_0x49f6bf=program['opts'](),_0x3ea8b5=await createTDXInstance(_0x49f6bf),_0xd65841=await _0x460a42[_0x59c129(0x1e5)]({'options':{..._0x49f6bf,..._0x4c11c1},'args':[],'tdx':_0x3ea8b5});gracefulExit(_0xd65841);});const tableCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x46a))[a2_0x2ebaf3(0x39c)]('Table\x20management\x20commands'),tableListAction=async(_0x52ea35,_0xfc71e5)=>{const _0x1dfbaa=a2_0x2ebaf3,_0x33b666=new TablesCommand(),_0x483ca3=program[_0x1dfbaa(0x1af)](),_0x246987=await createTDXInstance(_0x483ca3);_0xfc71e5['in']&&(_0xfc71e5[_0x1dfbaa(0x219)]=_0xfc71e5['in']);const _0x5deb5d=await _0x33b666[_0x1dfbaa(0x1e5)]({'options':{..._0x483ca3,..._0xfc71e5},'args':_0x52ea35?[_0x52ea35]:[],'tdx':_0x246987});gracefulExit(_0x5deb5d);};tableCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x250))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x359),a2_0x2ebaf3(0x489))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c8),a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x345)](tableListAction),program['command']('tables\x20[pattern]',{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x34e))['option'](a2_0x2ebaf3(0x359),a2_0x2ebaf3(0x489))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c8),a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x345)](tableListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3bb))['description'](a2_0x2ebaf3(0x2ee))['option']('-d,\x20--database\x20<database>',a2_0x2ebaf3(0x421))[a2_0x2ebaf3(0x1ea)]('--in\x20<database>',a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x345)](async(_0x46695e,_0x507633)=>{const _0x7c40a9=a2_0x2ebaf3,_0x9f097d=new ShowCommand(),_0x81ac9=program[_0x7c40a9(0x1af)](),_0x18c2da=await createTDXInstance(_0x81ac9);_0x507633['in']&&(_0x507633['database']=_0x507633['in']);const _0x18fd1c=await _0x9f097d[_0x7c40a9(0x1e5)]({'options':{..._0x81ac9,..._0x507633},'args':_0x46695e?[_0x46695e]:[],'tdx':_0x18c2da});gracefulExit(_0x18fd1c);}),program[a2_0x2ebaf3(0x308)]('describe\x20[table]')[a2_0x2ebaf3(0x262)](a2_0x2ebaf3(0x435))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x368))[a2_0x2ebaf3(0x1ea)]('-d,\x20--database\x20<database>',a2_0x2ebaf3(0x421))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c8),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x2ebaf3(0x345)](async(_0x1df04b,_0x413b3c)=>{const _0x2416d6=a2_0x2ebaf3,_0x4f23ed=new DescribeCommand(),_0x10fca7=program['opts'](),_0x56695b=await createTDXInstance(_0x10fca7);_0x413b3c['in']&&(_0x413b3c[_0x2416d6(0x219)]=_0x413b3c['in']);const _0x4f142d=await _0x4f23ed[_0x2416d6(0x1e5)]({'options':{..._0x10fca7,..._0x413b3c},'args':_0x1df04b?[_0x1df04b]:[],'tdx':_0x56695b});gracefulExit(_0x4f142d);}),program[a2_0x2ebaf3(0x308)]('query\x20[sql]')['description'](a2_0x2ebaf3(0x1ba))['option'](a2_0x2ebaf3(0x359),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c8),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option'](a2_0x2ebaf3(0x3ee),'Trino\x20catalog\x20(default:\x20td)')['option']('-f,\x20--file\x20<path>',a2_0x2ebaf3(0x4d7))['option']('--limit\x20<rows>',a2_0x2ebaf3(0x33b))[a2_0x2ebaf3(0x345)](async(_0x3cd773,_0x181e14)=>{const _0x5af770=a2_0x2ebaf3,_0x46503c=new QueryCommand(),_0x33686b=program['opts'](),_0x4681d8=await createTDXInstance(_0x33686b);_0x181e14['in']&&(_0x181e14[_0x5af770(0x219)]=_0x181e14['in']);const _0x565b8f=await _0x46503c[_0x5af770(0x1e5)]({'options':mergeCommandOptions(_0x33686b,_0x181e14),'args':_0x3cd773?[_0x3cd773]:[],'tdx':_0x4681d8});gracefulExit(_0x565b8f);});const segmentCmd=program[a2_0x2ebaf3(0x308)]('segment')[a2_0x2ebaf3(0x262)]('sg')['description'](a2_0x2ebaf3(0x4dc)),segmentListAction=async(_0x306fbd,_0x8e530e)=>{const _0x174134=a2_0x2ebaf3,_0x4e6dc6=new SegmentsCommand(),_0x27dfb3=program[_0x174134(0x1af)](),_0x253fa2=await createTDXInstance(_0x27dfb3),_0x4de3b7=await _0x4e6dc6[_0x174134(0x1e5)]({'options':{..._0x27dfb3,..._0x8e530e},'args':_0x306fbd?[_0x306fbd]:[],'tdx':_0x253fa2});gracefulExit(_0x4de3b7);};function a2_0x22e8(_0x3b5a0a,_0x225a49){_0x3b5a0a=_0x3b5a0a-0x1ad;const _0x46e205=a2_0x46e2();let _0x22e803=_0x46e205[_0x3b5a0a];return _0x22e803;}segmentCmd['command'](a2_0x2ebaf3(0x479))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1cb))[a2_0x2ebaf3(0x1ea)]('-r,\x20--recursive','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x2ebaf3(0x1ea)]('--max-depth\x20<depth>','Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x2ebaf3(0x345)](segmentListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x418),{'hidden':!![]})['description'](a2_0x2ebaf3(0x447))['option']('-r,\x20--recursive',a2_0x2ebaf3(0x377))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x440),a2_0x2ebaf3(0x2ba),'10')[a2_0x2ebaf3(0x345)](segmentListAction),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x292),{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x356))['action'](async(_0x56cebb,_0x306a40)=>{const _0x1266f4=a2_0x2ebaf3,_0x5c4d5c=new SegmentUseCommand(),_0x563794=program[_0x1266f4(0x1af)](),_0x4ed551=await createTDXInstance(_0x563794),_0x529105=await _0x5c4d5c[_0x1266f4(0x1e5)]({'options':{..._0x563794,..._0x306a40},'args':[_0x56cebb],'tdx':_0x4ed551});gracefulExit(_0x529105);});const segmentViewAction=async(_0x3d1e7b,_0x28181b)=>{const _0x3d308a=new SegmentViewCommand(),_0x193ab2=program['opts'](),_0x5efe02=await createTDXInstance(_0x193ab2),_0x2b5476=await _0x3d308a['run']({'options':{..._0x193ab2,..._0x28181b},'args':_0x3d1e7b?[_0x3d1e7b]:[],'tdx':_0x5efe02});gracefulExit(_0x2b5476);};segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x28f))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x48a))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x432),a2_0x2ebaf3(0x36a))[a2_0x2ebaf3(0x345)](segmentViewAction),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1de),{'hidden':!![]})['alias'](a2_0x2ebaf3(0x303))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x432),a2_0x2ebaf3(0x36a))['description'](a2_0x2ebaf3(0x349))[a2_0x2ebaf3(0x345)](segmentViewAction),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x253))[a2_0x2ebaf3(0x39c)]('Show\x20segment\x20schema\x20(column\x20types)')[a2_0x2ebaf3(0x345)](async(_0x43862f,_0x181e7f)=>{const _0x5319af=a2_0x2ebaf3,_0x1bfc91=new SegmentDescCommand(),_0x59a6b6=program[_0x5319af(0x1af)](),_0x63a726=await createTDXInstance(_0x59a6b6),_0x37838a=await _0x1bfc91[_0x5319af(0x1e5)]({'options':{..._0x59a6b6,..._0x181e7f},'args':_0x43862f?[_0x43862f]:[],'tdx':_0x63a726});gracefulExit(_0x37838a);}),segmentCmd[a2_0x2ebaf3(0x308)]('show\x20[segment_name]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4e2))['action'](async(_0x5895fd,_0x50af2a)=>{const _0x5209a0=a2_0x2ebaf3,_0x36f356=new SegmentShowCommand(),_0x50f9e5=program[_0x5209a0(0x1af)](),_0x5a7c0e=await createTDXInstance(_0x50f9e5),_0x2a1974=await _0x36f356[_0x5209a0(0x1e5)]({'options':{..._0x50f9e5,..._0x50af2a},'args':_0x5895fd?[_0x5895fd]:[],'tdx':_0x5a7c0e});gracefulExit(_0x2a1974);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4af),{'hidden':!![]})['description'](a2_0x2ebaf3(0x33d))[a2_0x2ebaf3(0x345)](async(_0x4735e3,_0x329638)=>{const _0x274f52=a2_0x2ebaf3,_0x23c3cf=new SegmentFolderListCommand(),_0x15fc55=program[_0x274f52(0x1af)](),_0x1d5d14=await createTDXInstance(_0x15fc55),_0x13157f=await _0x23c3cf[_0x274f52(0x1e5)]({'options':{..._0x15fc55,..._0x329638},'args':[_0x4735e3],'tdx':_0x1d5d14});gracefulExit(_0x13157f);});const folderCmd=segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1d1),{'hidden':!![]})[a2_0x2ebaf3(0x39c)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x220))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1b9))['action'](async(_0x116ab5,_0x34db2c)=>{const _0x2b218f=a2_0x2ebaf3,_0x5d7bcf=new SegmentFolderShowCommand(),_0xd2061f=program[_0x2b218f(0x1af)](),_0x129010=await createTDXInstance(_0xd2061f),_0x1bec46=await _0x5d7bcf[_0x2b218f(0x1e5)]({'options':{..._0xd2061f,..._0x34db2c},'args':[_0x116ab5],'tdx':_0x129010});gracefulExit(_0x1bec46);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x46f))['description'](a2_0x2ebaf3(0x2d6))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x388),a2_0x2ebaf3(0x238))['action'](async(_0x1f19c5,_0x1b7671)=>{const _0x3955f4=a2_0x2ebaf3,_0x553d7e=new SegmentSQLCommand(),_0x43f51b=program[_0x3955f4(0x1af)](),_0x162824=await createTDXInstance(_0x43f51b),_0xe37eaa=await _0x553d7e['run']({'options':{..._0x43f51b,..._0x1b7671},'args':_0x1f19c5?[_0x1f19c5]:[],'tdx':_0x162824});gracefulExit(_0xe37eaa);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x39a))[a2_0x2ebaf3(0x39c)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')['action'](async(_0x1f7c2b,_0x2fe9d3)=>{const _0x1903c2=a2_0x2ebaf3,_0x4263d7=new SegmentFieldsCommand(),_0x34a003=program[_0x1903c2(0x1af)](),_0x1c0928=await createTDXInstance(_0x34a003),_0x11091a=await _0x4263d7[_0x1903c2(0x1e5)]({'options':{..._0x34a003,..._0x2fe9d3},'args':_0x1f7c2b?[_0x1f7c2b]:[],'tdx':_0x1c0928});gracefulExit(_0x11091a);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x31d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x425))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x276))[a2_0x2ebaf3(0x345)](async(_0xfb4d6a,_0x3640e5)=>{const _0x3b25c6=a2_0x2ebaf3,_0x23429a=new SegmentPullCommand(),_0x1091bb=program[_0x3b25c6(0x1af)](),_0x2c5940=await createTDXInstance(_0x1091bb),_0x49e3c1=await _0x23429a[_0x3b25c6(0x1e5)]({'options':{..._0x1091bb,..._0x3640e5},'args':_0xfb4d6a?[_0xfb4d6a]:[],'tdx':_0x2c5940});gracefulExit(_0x49e3c1);}),segmentCmd[a2_0x2ebaf3(0x308)]('push\x20[parent_or_file]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4a3))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x276))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x406),a2_0x2ebaf3(0x41b))[a2_0x2ebaf3(0x345)](async(_0x2f6e9b,_0x4ec206)=>{const _0x457572=a2_0x2ebaf3,_0x577dd5=new SegmentPushCommand(),_0x4630c6=program[_0x457572(0x1af)](),_0x40ce97=await createTDXInstance(_0x4630c6),_0x3bc993=await _0x577dd5['run']({'options':{..._0x4630c6,..._0x4ec206},'args':_0x2f6e9b?[_0x2f6e9b]:[],'tdx':_0x40ce97});gracefulExit(_0x3bc993);}),segmentCmd['command'](a2_0x2ebaf3(0x362))[a2_0x2ebaf3(0x39c)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x2ebaf3(0x345)](async(_0x12ca58,_0x199e5c)=>{const _0x1de4ec=a2_0x2ebaf3,_0x1e32f2=new SegmentValidateCommand(),_0x35f6bf=program[_0x1de4ec(0x1af)](),_0x3c9714=await createTDXInstance(_0x35f6bf),_0x549b1c=await _0x1e32f2[_0x1de4ec(0x1e5)]({'options':{..._0x35f6bf,..._0x199e5c},'args':_0x12ca58?[_0x12ca58]:[],'tdx':_0x3c9714});gracefulExit(_0x549b1c);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x468),{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2db))['option']('--description\x20<text>',a2_0x2ebaf3(0x33c))[a2_0x2ebaf3(0x1ea)]('--rule\x20<json>',a2_0x2ebaf3(0x1c4))[a2_0x2ebaf3(0x1ea)]('--rule-file\x20<file>',a2_0x2ebaf3(0x3b2))['option'](a2_0x2ebaf3(0x2ab),a2_0x2ebaf3(0x40d))['option'](a2_0x2ebaf3(0x2e5),a2_0x2ebaf3(0x20a))['option'](a2_0x2ebaf3(0x484),a2_0x2ebaf3(0x1e7))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x394),a2_0x2ebaf3(0x314))[a2_0x2ebaf3(0x345)](async(_0x47f0c0,_0x2c05f5)=>{const _0x2d25d9=a2_0x2ebaf3,_0x4304e6=new SegmentCreateCommand(),_0x365413=program[_0x2d25d9(0x1af)](),_0x556736=await createTDXInstance(_0x365413),_0x4723e7=await _0x4304e6[_0x2d25d9(0x1e5)]({'options':{..._0x365413,..._0x2c05f5},'args':[_0x47f0c0],'tdx':_0x556736});gracefulExit(_0x4723e7);}),segmentCmd['command']('update\x20<segment_name>',{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2ce))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x267),a2_0x2ebaf3(0x218))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x490))[a2_0x2ebaf3(0x1ea)]('--rule\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x29b),a2_0x2ebaf3(0x2be))['option'](a2_0x2ebaf3(0x2ab),a2_0x2ebaf3(0x22b))[a2_0x2ebaf3(0x1ea)]('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x2ebaf3(0x345)](async(_0x3d48bd,_0x573ed6)=>{const _0x4efd3a=a2_0x2ebaf3,_0x45104d=new SegmentUpdateCommand(),_0x2e2c85=program[_0x4efd3a(0x1af)](),_0x1a2b7c=await createTDXInstance(_0x2e2c85),_0x3acc9d=await _0x45104d[_0x4efd3a(0x1e5)]({'options':{..._0x2e2c85,..._0x573ed6},'args':[_0x3d48bd],'tdx':_0x1a2b7c});gracefulExit(_0x3acc9d);});const parentCmd=segmentCmd['command'](a2_0x2ebaf3(0x36f),{'hidden':!![]})['description'](a2_0x2ebaf3(0x4c9)),parentListAction=async(_0x2b5297,_0x5293da)=>{const _0x16503a=a2_0x2ebaf3,_0x5b2874=new ParentSegmentListCommand(),_0x270dfd=program[_0x16503a(0x1af)](),_0x2f6f8c=await createTDXInstance(_0x270dfd),_0x1a019e=await _0x5b2874[_0x16503a(0x1e5)]({'options':{..._0x270dfd,..._0x5293da},'args':_0x2b5297?[_0x2b5297]:[],'tdx':_0x2f6f8c});gracefulExit(_0x1a019e);};parentCmd[a2_0x2ebaf3(0x308)]('list\x20[pattern]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3ba))[a2_0x2ebaf3(0x345)](parentListAction),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x335),{'hidden':!![]})['description'](a2_0x2ebaf3(0x4a8))[a2_0x2ebaf3(0x345)](parentListAction),parentCmd['command'](a2_0x2ebaf3(0x451))['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')['option'](a2_0x2ebaf3(0x2d3),'Output\x20file\x20path\x20(default:\x20<name>.yml)')['action'](async(_0x59b179,_0x3d845f)=>{const _0x2e0f52=a2_0x2ebaf3,_0x4b997f=new ParentSegmentPullCommand(),_0x52fafa=program[_0x2e0f52(0x1af)](),_0x2a53bf=await createTDXInstance(_0x52fafa),_0x3e0798=await _0x4b997f[_0x2e0f52(0x1e5)]({'options':{..._0x52fafa,..._0x3d845f},'args':_0x59b179?[_0x59b179]:[],'tdx':_0x2a53bf});gracefulExit(_0x3e0798);}),parentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4b3))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x427))[a2_0x2ebaf3(0x345)](async(_0x11c094,_0x581333)=>{const _0x575ef9=a2_0x2ebaf3,_0xd5481e=new ParentSegmentPushCommand(),_0x15b366=program['opts'](),_0x18940d=await createTDXInstance(_0x15b366),_0x1a4b39=await _0xd5481e[_0x575ef9(0x1e5)]({'options':{..._0x15b366,..._0x581333},'args':_0x11c094?[_0x11c094]:[],'tdx':_0x18940d});gracefulExit(_0x1a4b39);}),parentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1c6))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x444),a2_0x2ebaf3(0x271))['option']('--attribute\x20[name]',a2_0x2ebaf3(0x4bf))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2b7),a2_0x2ebaf3(0x442))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f8),a2_0x2ebaf3(0x4da))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c6),a2_0x2ebaf3(0x2e7),a2_0x2ebaf3(0x357))['action'](async(_0x3f9b90,_0x418b2a)=>{const _0x532903=a2_0x2ebaf3,_0x4a1308=new ParentSegmentValidateCommand(),_0xaa9032=program[_0x532903(0x1af)](),_0x1208aa=await createTDXInstance(_0xaa9032),_0x546716=await _0x4a1308[_0x532903(0x1e5)]({'options':{..._0xaa9032,..._0x418b2a},'args':_0x3f9b90?[_0x3f9b90]:[],'tdx':_0x1208aa});gracefulExit(_0x546716);}),parentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x49b))[a2_0x2ebaf3(0x39c)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option']('--master',a2_0x2ebaf3(0x480))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x300),a2_0x2ebaf3(0x4e0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2b7),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f8),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x2ebaf3(0x1ea)]('--interval\x20<range>',a2_0x2ebaf3(0x2e7),a2_0x2ebaf3(0x357))[a2_0x2ebaf3(0x345)](async(_0xff1231,_0x445465)=>{const _0x1f530=a2_0x2ebaf3,_0x284db4=new ParentSegmentPreviewCommand(),_0x17bf4a=program[_0x1f530(0x1af)](),_0x10f69b=await createTDXInstance(_0x17bf4a),_0x228e39=await _0x284db4[_0x1f530(0x1e5)]({'options':{..._0x17bf4a,..._0x445465},'args':_0xff1231?[_0xff1231]:[],'tdx':_0x10f69b});gracefulExit(_0x228e39);}),parentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1da))[a2_0x2ebaf3(0x39c)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x2ebaf3(0x345)](async(_0xbba393,_0x445cba)=>{const _0x157608=a2_0x2ebaf3,_0x1a334c=new ParentSegmentRunCommand(),_0x5cb3dc=program[_0x157608(0x1af)](),_0x4029e1=await createTDXInstance(_0x5cb3dc),_0x399ecb=await _0x1a334c[_0x157608(0x1e5)]({'options':{..._0x5cb3dc,..._0x445cba},'args':_0xbba393?[_0xbba393]:[],'tdx':_0x4029e1});gracefulExit(_0x399ecb);});const parentSegmentCmd=program[a2_0x2ebaf3(0x308)]('parent-segment')[a2_0x2ebaf3(0x262)]('ps')['description'](a2_0x2ebaf3(0x2c5));parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3ba))[a2_0x2ebaf3(0x345)](parentListAction),parentSegmentCmd['command']('pull\x20[name]')[a2_0x2ebaf3(0x39c)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2ebaf3(0x1ea)]('-o,\x20--output\x20<file>',a2_0x2ebaf3(0x41f))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x355),a2_0x2ebaf3(0x2a7))[a2_0x2ebaf3(0x345)](async(_0x289cd0,_0x5ae341)=>{const _0xf196c2=a2_0x2ebaf3,_0x114362=new ParentSegmentPullCommand(),_0x5e6b31=program[_0xf196c2(0x1af)](),_0x5d34db=await createTDXInstance(_0x5e6b31),_0xe4bb3=await _0x114362['run']({'options':{..._0x5e6b31,..._0x5ae341},'args':_0x289cd0?[_0x289cd0]:[],'tdx':_0x5d34db});gracefulExit(_0xe4bb3);}),parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1ff))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4d0))[a2_0x2ebaf3(0x345)](async(_0x483df8,_0x4f2dd7)=>{const _0x49474d=a2_0x2ebaf3,_0x42da66=new ParentSegmentPushCommand(),_0x5e102e=program[_0x49474d(0x1af)](),_0x4c0330=await createTDXInstance(_0x5e102e),_0x4df0d6=await _0x42da66[_0x49474d(0x1e5)]({'options':{..._0x5e102e,..._0x4f2dd7},'args':_0x483df8?[_0x483df8]:[],'tdx':_0x4c0330});gracefulExit(_0x4df0d6);}),parentSegmentCmd['command'](a2_0x2ebaf3(0x438))[a2_0x2ebaf3(0x39c)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x2ebaf3(0x1ea)]('--master',a2_0x2ebaf3(0x271))[a2_0x2ebaf3(0x1ea)]('--attribute\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2b7),a2_0x2ebaf3(0x442))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f8),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x2ebaf3(0x1ea)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x2ebaf3(0x345)](async(_0x2d1d16,_0x267ccd)=>{const _0x394e16=a2_0x2ebaf3,_0x417d93=new ParentSegmentValidateCommand(),_0x4dcf11=program['opts'](),_0xb77c53=await createTDXInstance(_0x4dcf11),_0x3aa4ee=await _0x417d93[_0x394e16(0x1e5)]({'options':{..._0x4dcf11,..._0x267ccd},'args':_0x2d1d16?[_0x2d1d16]:[],'tdx':_0xb77c53});gracefulExit(_0x3aa4ee);}),parentSegmentCmd[a2_0x2ebaf3(0x308)]('preview\x20[name]')[a2_0x2ebaf3(0x39c)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x444),a2_0x2ebaf3(0x480))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x300),a2_0x2ebaf3(0x4e0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2b7),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f8),a2_0x2ebaf3(0x4e4))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c6),a2_0x2ebaf3(0x2e7),a2_0x2ebaf3(0x357))[a2_0x2ebaf3(0x345)](async(_0x3db0c5,_0x1c006d)=>{const _0x737a76=a2_0x2ebaf3,_0x4e6774=new ParentSegmentPreviewCommand(),_0x45797f=program[_0x737a76(0x1af)](),_0x4aa8a6=await createTDXInstance(_0x45797f),_0x4aac5a=await _0x4e6774[_0x737a76(0x1e5)]({'options':{..._0x45797f,..._0x1c006d},'args':_0x3db0c5?[_0x3db0c5]:[],'tdx':_0x4aa8a6});gracefulExit(_0x4aac5a);}),parentSegmentCmd['command'](a2_0x2ebaf3(0x1da))['description'](a2_0x2ebaf3(0x25b))['action'](async(_0x301857,_0x499bb4)=>{const _0x3d6a6e=a2_0x2ebaf3,_0x29cc57=new ParentSegmentRunCommand(),_0x43338a=program[_0x3d6a6e(0x1af)](),_0x5eb5dc=await createTDXInstance(_0x43338a),_0x2b56c3=await _0x29cc57['run']({'options':{..._0x43338a,..._0x499bb4},'args':_0x301857?[_0x301857]:[],'tdx':_0x5eb5dc});gracefulExit(_0x2b56c3);}),parentSegmentCmd[a2_0x2ebaf3(0x308)]('fields\x20[name]')['description'](a2_0x2ebaf3(0x1c3))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2bf),a2_0x2ebaf3(0x279))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x43a),a2_0x2ebaf3(0x4e6))[a2_0x2ebaf3(0x345)](async(_0x491539,_0x525f0c)=>{const _0x2d5e57=a2_0x2ebaf3,_0x21657b=new ParentSegmentFieldsCommand(),_0xfdc89e=program['opts'](),_0x2fec8d=await createTDXInstance(_0xfdc89e),_0x50ee05=await _0x21657b[_0x2d5e57(0x1e5)]({'options':{..._0xfdc89e,..._0x525f0c},'args':_0x491539?[_0x491539]:[],'tdx':_0x2fec8d});gracefulExit(_0x50ee05);}),parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x46d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x242))[a2_0x2ebaf3(0x1ea)]('-w,\x20--web',a2_0x2ebaf3(0x3a4))['option'](a2_0x2ebaf3(0x2bf),a2_0x2ebaf3(0x279))[a2_0x2ebaf3(0x1ea)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x2ebaf3(0x345)](async(_0x35b642,_0x3c8e44)=>{const _0x351f67=a2_0x2ebaf3,_0x294ea4=new ParentSegmentViewCommand(),_0x4a9e72=program[_0x351f67(0x1af)](),_0xf67673=await createTDXInstance(_0x4a9e72),_0x1f9f1e=await _0x294ea4[_0x351f67(0x1e5)]({'options':{..._0x4a9e72,..._0x3c8e44},'args':_0x35b642?[_0x35b642]:[],'tdx':_0xf67673});gracefulExit(_0x1f9f1e);}),parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3d3))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2d8))[a2_0x2ebaf3(0x1ea)]('-o,\x20--output\x20<file>',a2_0x2ebaf3(0x41f))['option']('--json',a2_0x2ebaf3(0x279))[a2_0x2ebaf3(0x1ea)]('--jsonl','Output\x20as\x20JSON\x20Lines')['action'](async(_0x1ea2a2,_0x5075e6)=>{const _0x59abf6=new ParentSegmentDescCommand(),_0x32e087=program['opts'](),_0x44f353=await createTDXInstance(_0x32e087),_0x20091e=await _0x59abf6['run']({'options':{..._0x32e087,..._0x5075e6},'args':_0x1ea2a2?[_0x1ea2a2]:[],'tdx':_0x44f353});gracefulExit(_0x20091e);}),parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4a5))[a2_0x2ebaf3(0x39c)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x2ebaf3(0x2bf),a2_0x2ebaf3(0x279))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x43a),a2_0x2ebaf3(0x4e6))['action'](async(_0x40ee12,_0x117393)=>{const _0x6b5a0e=a2_0x2ebaf3,_0x3586e5=new ParentSegmentSQLCommand(),_0x2c262a=program[_0x6b5a0e(0x1af)](),_0x8ba742=await createTDXInstance(_0x2c262a),_0x4795fe=await _0x3586e5[_0x6b5a0e(0x1e5)]({'options':{..._0x2c262a,..._0x117393},'args':_0x40ee12?[_0x40ee12]:[],'tdx':_0x8ba742});gracefulExit(_0x4795fe);}),parentSegmentCmd['command']('show\x20[name]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x40b))['option'](a2_0x2ebaf3(0x4e9),a2_0x2ebaf3(0x346))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2bf),a2_0x2ebaf3(0x279))['option'](a2_0x2ebaf3(0x43a),a2_0x2ebaf3(0x4e6))[a2_0x2ebaf3(0x345)](async(_0x59e9fa,_0x201f5d)=>{const _0x1312f7=a2_0x2ebaf3,_0x46e4cd=new ParentSegmentShowCommand(),_0x23d87e=program[_0x1312f7(0x1af)](),_0x4a51e4=await createTDXInstance(_0x23d87e),_0x5755ce=await _0x46e4cd[_0x1312f7(0x1e5)]({'options':{..._0x23d87e,..._0x201f5d},'args':_0x59e9fa?[_0x59e9fa]:[],'tdx':_0x4a51e4});gracefulExit(_0x5755ce);}),parentSegmentCmd['command'](a2_0x2ebaf3(0x1fc))['description']('Set\x20or\x20show\x20parent\x20segment\x20context')[a2_0x2ebaf3(0x345)](async(_0x54e1c5,_0x564203)=>{const _0x1f21da=a2_0x2ebaf3,_0xdefa01=new UseCommand(),_0x1b2914=program[_0x1f21da(0x1af)](),_0x3dc54a=_0x54e1c5?['parent_segment',_0x54e1c5]:[],_0x19df05=await _0xdefa01[_0x1f21da(0x1e5)]({'options':{..._0x1b2914,..._0x564203},'args':_0x3dc54a,'tdx':null});gracefulExit(_0x19df05);});const psRtCmd=parentSegmentCmd[a2_0x2ebaf3(0x308)]('rt')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x496));psRtCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))['description'](a2_0x2ebaf3(0x38e))[a2_0x2ebaf3(0x345)](async(_0x1959e1,_0x360eb4)=>{const _0x222545=a2_0x2ebaf3,_0x4565ef=new PSRtListCommand(),_0x2c240e=program[_0x222545(0x1af)](),_0x5635cd=await createTDXInstance(_0x2c240e),_0x5b8335=await _0x4565ef[_0x222545(0x1e5)]({'options':{..._0x2c240e,..._0x360eb4},'args':_0x1959e1?[_0x1959e1]:[],'tdx':_0x5635cd});gracefulExit(_0x5b8335);}),psRtCmd['command'](a2_0x2ebaf3(0x438))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x453))['action'](async(_0x25d63a,_0x398e7a)=>{const _0x1a7f7c=a2_0x2ebaf3,_0x3cd086=new PSRtValidateCommand(),_0x41e079=program[_0x1a7f7c(0x1af)](),_0x2ba208=await createTDXInstance(_0x41e079),_0x57f9af=await _0x3cd086[_0x1a7f7c(0x1e5)]({'options':{..._0x41e079,..._0x398e7a},'args':_0x25d63a?[_0x25d63a]:[],'tdx':_0x2ba208});gracefulExit(_0x57f9af);}),psRtCmd['command'](a2_0x2ebaf3(0x30e))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3a6))['action'](async(_0x350eb5,_0x42a98a)=>{const _0x30dfd4=a2_0x2ebaf3,_0xd9cd9d=new PSRtConfigVersionCommand(),_0x4d36c0=program['opts'](),_0x13d6c7=await createTDXInstance(_0x4d36c0),_0x14f4a1=await _0xd9cd9d[_0x30dfd4(0x1e5)]({'options':{..._0x4d36c0,..._0x42a98a},'args':_0x350eb5?[_0x350eb5]:[],'tdx':_0x13d6c7});gracefulExit(_0x14f4a1);});const psRtJnCmd=psRtCmd[a2_0x2ebaf3(0x308)]('jn')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x410));psRtJnCmd['command'](a2_0x2ebaf3(0x460))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x41a))['action'](async(_0x441d70,_0x1fad45)=>{const _0x36135e=a2_0x2ebaf3,_0xba2dd8=new PSRtJnListCommand(),_0x12fefc=program[_0x36135e(0x1af)](),_0x345751=await createTDXInstance(_0x12fefc),_0x181ef5=await _0xba2dd8[_0x36135e(0x1e5)]({'options':{..._0x12fefc,..._0x1fad45},'args':_0x441d70?[_0x441d70]:[],'tdx':_0x345751});gracefulExit(_0x181ef5);}),psRtJnCmd[a2_0x2ebaf3(0x308)]('pause_activations\x20<journeyId>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x43d))[a2_0x2ebaf3(0x345)](async(_0x2180df,_0xb90c54)=>{const _0xa3e97b=a2_0x2ebaf3,_0x56cdc2=new PSRtJnPauseCommand(),_0x127d1b=program[_0xa3e97b(0x1af)](),_0x4c2646=await createTDXInstance(_0x127d1b),_0x455a18=await _0x56cdc2[_0xa3e97b(0x1e5)]({'options':{..._0x127d1b,..._0xb90c54},'args':[_0x2180df],'tdx':_0x4c2646});gracefulExit(_0x455a18);}),psRtJnCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4e7))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4ba))[a2_0x2ebaf3(0x345)](async(_0x527758,_0x149122)=>{const _0x3cf2d0=a2_0x2ebaf3,_0x11c0fa=new PSRtJnResumeCommand(),_0xe12e20=program[_0x3cf2d0(0x1af)](),_0x36e795=await createTDXInstance(_0xe12e20),_0x229cb7=await _0x11c0fa['run']({'options':{..._0xe12e20,..._0x149122},'args':[_0x527758],'tdx':_0x36e795});gracefulExit(_0x229cb7);});const parentRtCmd=parentCmd[a2_0x2ebaf3(0x308)]('rt',{'hidden':!![]})['description'](a2_0x2ebaf3(0x496));parentRtCmd[a2_0x2ebaf3(0x308)]('list\x20[pattern]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x38e))[a2_0x2ebaf3(0x345)](async(_0x1bf13a,_0x4b9212)=>{const _0xb4925a=a2_0x2ebaf3,_0x4405f0=new PSRtListCommand(),_0x74a43b=program['opts'](),_0x200f0e=await createTDXInstance(_0x74a43b),_0x50c833=await _0x4405f0[_0xb4925a(0x1e5)]({'options':{..._0x74a43b,..._0x4b9212},'args':_0x1bf13a?[_0x1bf13a]:[],'tdx':_0x200f0e});gracefulExit(_0x50c833);}),parentRtCmd['command'](a2_0x2ebaf3(0x438))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x453))[a2_0x2ebaf3(0x345)](async(_0x596881,_0x5146ed)=>{const _0x4bb856=a2_0x2ebaf3,_0x5a72b1=new PSRtValidateCommand(),_0x2b8ba0=program[_0x4bb856(0x1af)](),_0xd1e49f=await createTDXInstance(_0x2b8ba0),_0x8d5592=await _0x5a72b1[_0x4bb856(0x1e5)]({'options':{..._0x2b8ba0,..._0x5146ed},'args':_0x596881?[_0x596881]:[],'tdx':_0xd1e49f});gracefulExit(_0x8d5592);});const psPzCmd=parentSegmentCmd[a2_0x2ebaf3(0x308)]('pz')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x488));psPzCmd[a2_0x2ebaf3(0x308)]('list\x20[name]')[a2_0x2ebaf3(0x39c)]('List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x33eb08,_0x5d5d84)=>{const _0x807dd7=a2_0x2ebaf3,_0x26b8ab=new PSPzListCommand(),_0x1a742d=program[_0x807dd7(0x1af)](),_0x7b531a=await createTDXInstance(_0x1a742d),_0x5d3f91=await _0x26b8ab[_0x807dd7(0x1e5)]({'options':{..._0x1a742d,..._0x5d5d84},'args':_0x33eb08?[_0x33eb08]:[],'tdx':_0x7b531a});gracefulExit(_0x5d3f91);}),psPzCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x434))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4bd))[a2_0x2ebaf3(0x345)](async(_0x2fe360,_0x578d46)=>{const _0x420dea=a2_0x2ebaf3,_0x3010df=new PSPzShowCommand(),_0x3e2d22=program[_0x420dea(0x1af)](),_0x64e784=await createTDXInstance(_0x3e2d22),_0x41c267=await _0x3010df[_0x420dea(0x1e5)]({'options':{..._0x3e2d22,..._0x578d46},'args':[_0x2fe360],'tdx':_0x64e784});gracefulExit(_0x41c267);}),psPzCmd['command']('delete\x20<personalization_id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x343))[a2_0x2ebaf3(0x345)](async(_0x579175,_0x485406)=>{const _0x2bd071=a2_0x2ebaf3,_0x4a664=new PSPzDeleteCommand(),_0x467cb4=program[_0x2bd071(0x1af)](),_0x3d7b11=await createTDXInstance(_0x467cb4),_0x44295a=await _0x4a664[_0x2bd071(0x1e5)]({'options':{..._0x467cb4,..._0x485406},'args':[_0x579175],'tdx':_0x3d7b11});gracefulExit(_0x44295a);}),psPzCmd['command'](a2_0x2ebaf3(0x4d9))[a2_0x2ebaf3(0x39c)]('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x26f),a2_0x2ebaf3(0x2cc))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),'Personalization\x20description')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x385),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')[a2_0x2ebaf3(0x1ea)]('--folder-id\x20<id>',a2_0x2ebaf3(0x23f))['option']('--sections\x20<json>',a2_0x2ebaf3(0x45e))['option'](a2_0x2ebaf3(0x475),a2_0x2ebaf3(0x2a8))[a2_0x2ebaf3(0x345)](async _0x21c996=>{const _0x27a1c6=a2_0x2ebaf3,_0x5253b2=new PSPzCreateCommand(),_0x39bd73=program[_0x27a1c6(0x1af)](),_0x27e8c5=await createTDXInstance(_0x39bd73),_0x43273c=await _0x5253b2[_0x27a1c6(0x1e5)]({'options':{..._0x39bd73,..._0x21c996},'args':[],'tdx':_0x27e8c5});gracefulExit(_0x43273c);}),psPzCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1ec))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3ce))['option']('--name\x20<text>',a2_0x2ebaf3(0x2cc))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),'Personalization\x20description')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x400),a2_0x2ebaf3(0x45e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x475),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x2ebaf3(0x345)](async(_0x3cc2bb,_0x5d1c8a)=>{const _0x4dabe2=a2_0x2ebaf3,_0x36ae68=new PSPzPatchCommand(),_0xbec64c=program[_0x4dabe2(0x1af)](),_0x485a04=await createTDXInstance(_0xbec64c),_0x521349=await _0x36ae68['run']({'options':{..._0xbec64c,..._0x5d1c8a},'args':[_0x3cc2bb],'tdx':_0x485a04});gracefulExit(_0x521349);});const psPzServiceCmd=psPzCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x237))[a2_0x2ebaf3(0x39c)]('Personalization\x20service\x20management');psPzServiceCmd[a2_0x2ebaf3(0x308)]('list\x20[name]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x42e))['action'](async(_0x198eb9,_0x4667d9)=>{const _0x22f5b3=a2_0x2ebaf3,_0xa234e1=new PSPzServiceListCommand(),_0x577627=program[_0x22f5b3(0x1af)](),_0x2b0610=await createTDXInstance(_0x577627),_0xf7c4e0=await _0xa234e1[_0x22f5b3(0x1e5)]({'options':{..._0x577627,..._0x4667d9},'args':_0x198eb9?[_0x198eb9]:[],'tdx':_0x2b0610});gracefulExit(_0xf7c4e0);}),psPzServiceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x297))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x408))['option'](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x302))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4d1),a2_0x2ebaf3(0x452))[a2_0x2ebaf3(0x345)](async(_0x2c73de,_0x1e27c4,_0x42982d)=>{const _0x35ce04=a2_0x2ebaf3,_0x2ea17e=new PSPzServiceCreateCommand(),_0x57223b=program[_0x35ce04(0x1af)](),_0x500062=await createTDXInstance(_0x57223b),_0x58148d=await _0x2ea17e[_0x35ce04(0x1e5)]({'options':{..._0x57223b,..._0x42982d},'args':_0x1e27c4?[_0x2c73de,_0x1e27c4]:[_0x2c73de],'tdx':_0x500062});gracefulExit(_0x58148d);}),psPzServiceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x28d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2d1))['action'](async(_0xb585fc,_0x36f1bd,_0x57f57f)=>{const _0x4780d8=a2_0x2ebaf3,_0x382eeb=new PSPzServiceShowCommand(),_0x31d589=program[_0x4780d8(0x1af)](),_0x4f4bee=await createTDXInstance(_0x31d589),_0x4b193b=await _0x382eeb[_0x4780d8(0x1e5)]({'options':{..._0x31d589,..._0x57f57f},'args':_0x36f1bd?[_0xb585fc,_0x36f1bd]:[_0xb585fc],'tdx':_0x4f4bee});gracefulExit(_0x4b193b);}),psPzServiceCmd['command'](a2_0x2ebaf3(0x2a1))['description'](a2_0x2ebaf3(0x3f9))[a2_0x2ebaf3(0x345)](async(_0xc2edda,_0x17652e,_0x5645e1)=>{const _0x4bde5f=a2_0x2ebaf3,_0x5c3ff8=new PSPzServiceDeleteCommand(),_0x20cba0=program[_0x4bde5f(0x1af)](),_0x169e7f=await createTDXInstance(_0x20cba0),_0x31641c=await _0x5c3ff8['run']({'options':{..._0x20cba0,..._0x5645e1},'args':_0x17652e?[_0xc2edda,_0x17652e]:[_0xc2edda],'tdx':_0x169e7f});gracefulExit(_0x31641c);}),psPzServiceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3e4))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x30a))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x31e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x1be))[a2_0x2ebaf3(0x345)](async(_0x3bb55f,_0x3ade24,_0x4edab9)=>{const _0x121842=a2_0x2ebaf3,_0x3d6f69=new PSPzServiceUpdateCommand(),_0x318f2c=program[_0x121842(0x1af)](),_0x1c7ed7=await createTDXInstance(_0x318f2c),_0x3ecc3c=await _0x3d6f69[_0x121842(0x1e5)]({'options':{..._0x318f2c,..._0x4edab9},'args':_0x3ade24?[_0x3bb55f,_0x3ade24]:[_0x3bb55f],'tdx':_0x1c7ed7});gracefulExit(_0x3ecc3c);}),psPzServiceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x327))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x47f))[a2_0x2ebaf3(0x345)](async(_0x437931,_0x55e09f)=>{const _0x89a9c6=a2_0x2ebaf3,_0x2f0a2b=new PSPzInitCommand(),_0x14b5a1=program[_0x89a9c6(0x1af)](),_0xc034ab=await createTDXInstance(_0x14b5a1),_0x3f6449=await _0x2f0a2b[_0x89a9c6(0x1e5)]({'options':{..._0x14b5a1,..._0x55e09f},'args':_0x437931?[_0x437931]:[],'tdx':_0xc034ab});gracefulExit(_0x3f6449);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x2ebaf3(0x308)]('token')['description'](a2_0x2ebaf3(0x32e));psPzServiceTokenCmd['command'](a2_0x2ebaf3(0x370))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2e9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x330),a2_0x2ebaf3(0x1c9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x2e6))[a2_0x2ebaf3(0x345)](async(_0x9b8bb7,_0x42d240,_0x290e96,_0x3a734b)=>{const _0x3627e1=new PSPzServiceTokenCreateCommand(),_0x54d1b4=program['opts'](),_0x592375=await createTDXInstance(_0x54d1b4),_0x1f3ed2=await _0x3627e1['run']({'options':{..._0x54d1b4,..._0x3a734b},'args':_0x290e96?[_0x9b8bb7,_0x42d240,_0x290e96]:[_0x9b8bb7,_0x42d240],'tdx':_0x592375});gracefulExit(_0x1f3ed2);}),psPzServiceTokenCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x320))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x407))[a2_0x2ebaf3(0x345)](async(_0x8f8e12,_0x47b22e,_0x4fb985)=>{const _0x129f23=new PSPzServiceTokenDeleteCommand(),_0x5a3bfe=program['opts'](),_0x2bbc41=await createTDXInstance(_0x5a3bfe),_0x4b6f4f=await _0x129f23['run']({'options':{..._0x5a3bfe,..._0x4fb985},'args':_0x47b22e?[_0x8f8e12,_0x47b22e]:[_0x8f8e12],'tdx':_0x2bbc41});gracefulExit(_0x4b6f4f);}),parentCmd['command'](a2_0x2ebaf3(0x2a9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1d0))[a2_0x2ebaf3(0x27b)]('--database\x20<db>',a2_0x2ebaf3(0x2b5))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x338),a2_0x2ebaf3(0x344))[a2_0x2ebaf3(0x1ea)]('--description\x20<text>',a2_0x2ebaf3(0x211))[a2_0x2ebaf3(0x1ea)]('--schedule-type\x20<type>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x216),a2_0x2ebaf3(0x36b))['option'](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x2c9))[a2_0x2ebaf3(0x1ea)]('--attributes\x20<json>',a2_0x2ebaf3(0x1e2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x40e),a2_0x2ebaf3(0x28e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x43b),a2_0x2ebaf3(0x369))['option'](a2_0x2ebaf3(0x4a4),a2_0x2ebaf3(0x241))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x29d),a2_0x2ebaf3(0x45b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x285),a2_0x2ebaf3(0x1c8))[a2_0x2ebaf3(0x345)](async(_0x4110d3,_0x40a7e3)=>{const _0xe67129=a2_0x2ebaf3,_0xcfb91e=new ParentSegmentCreateCommand(),_0x5b4f65=program[_0xe67129(0x1af)](),_0x458158=await createTDXInstance(_0x5b4f65),_0x24b1ab=await _0xcfb91e[_0xe67129(0x1e5)]({'options':{..._0x5b4f65,..._0x40a7e3},'args':[_0x4110d3],'tdx':_0x458158});gracefulExit(_0x24b1ab);}),parentCmd['command'](a2_0x2ebaf3(0x212))[a2_0x2ebaf3(0x39c)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x490))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c9),a2_0x2ebaf3(0x41c))['option']('--schedule-option\x20<value>',a2_0x2ebaf3(0x283))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x348))[a2_0x2ebaf3(0x1ea)]('--add-attributes\x20<json>',a2_0x2ebaf3(0x2cb))['option'](a2_0x2ebaf3(0x360),a2_0x2ebaf3(0x39f))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4ac),a2_0x2ebaf3(0x2cf))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x26e),a2_0x2ebaf3(0x2a0))[a2_0x2ebaf3(0x345)](async(_0x59f78a,_0x248eaf)=>{const _0x382ec6=a2_0x2ebaf3,_0xc10e3c=new ParentSegmentUpdateCommand(),_0x105be4=program['opts'](),_0x57fedb=await createTDXInstance(_0x105be4),_0x2c5ffd=await _0xc10e3c[_0x382ec6(0x1e5)]({'options':{..._0x105be4,..._0x248eaf},'args':[_0x59f78a],'tdx':_0x57fedb});gracefulExit(_0x2c5ffd);}),folderCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3ea))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x26b))['option']('--description\x20<text>','Folder\x20description')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x46c),a2_0x2ebaf3(0x4e3))[a2_0x2ebaf3(0x345)](async(_0x207a54,_0x35b6e6,_0x50fa6b)=>{const _0x526035=a2_0x2ebaf3,_0xc44ead=new SegmentFolderCreateCommand(),_0x4df340=program['opts'](),_0x5923db=await createTDXInstance(_0x4df340),_0x49979f=await _0xc44ead[_0x526035(0x1e5)]({'options':{..._0x4df340,..._0x50fa6b},'args':[_0x207a54,_0x35b6e6],'tdx':_0x5923db});gracefulExit(_0x49979f);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2c0))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x31b))['action'](async(_0x502f19,_0x26d685)=>{const _0x29abf9=a2_0x2ebaf3,_0x3df471=new ActivationsCommand(),_0x499fb8=program[_0x29abf9(0x1af)](),_0x4c9030=await createTDXInstance(_0x499fb8),_0xbd083d=await _0x3df471['run']({'options':{..._0x499fb8,..._0x26d685},'args':[_0x502f19],'tdx':_0x4c9030});gracefulExit(_0xbd083d);});const workflowCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1d2))['alias']('wf')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x450)),wfProjectCmd=workflowCmd[a2_0x2ebaf3(0x308)]('project')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x203)),wfProjectListAction=async(_0x418887,_0x41eb23)=>{const _0x3b0c47=a2_0x2ebaf3,_0x2ad90e=new WorkflowProjectsCommand(),_0x18c766=program[_0x3b0c47(0x1af)](),_0x2350b5=await createTDXInstance(_0x18c766),_0x5d2cec=await _0x2ad90e[_0x3b0c47(0x1e5)]({'options':{..._0x18c766,..._0x41eb23},'args':_0x418887?[_0x418887]:[],'tdx':_0x2350b5});gracefulExit(_0x5d2cec);};wfProjectCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x403))[a2_0x2ebaf3(0x345)](wfProjectListAction),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3a7))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x252))[a2_0x2ebaf3(0x345)](wfProjectListAction);const wfWorkflowListAction=async(_0x2b30fe,_0x493803)=>{const _0x562db1=a2_0x2ebaf3,_0x2fee58=new WorkflowWorkflowsCommand(),_0x335cdb=program[_0x562db1(0x1af)](),_0x2ffcb4=await createTDXInstance(_0x335cdb),_0xa13e62=await _0x2fee58['run']({'options':{..._0x335cdb,..._0x493803},'args':_0x2b30fe?[_0x2b30fe]:[],'tdx':_0x2ffcb4});gracefulExit(_0xa13e62);};workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x423))['description'](a2_0x2ebaf3(0x391))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2e2))[a2_0x2ebaf3(0x39c)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x3b7d8a,_0x5219db)=>{const _0x6eb552=a2_0x2ebaf3,_0x4ea83d=new WorkflowSessionsCommand(),_0x45c9bf=program[_0x6eb552(0x1af)](),_0x29e64a=await createTDXInstance(_0x45c9bf),_0x1b8f1e=await _0x4ea83d[_0x6eb552(0x1e5)]({'options':{..._0x45c9bf,..._0x5219db},'args':_0x3b7d8a?[_0x3b7d8a]:[],'tdx':_0x29e64a});gracefulExit(_0x1b8f1e);};wfSessionCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x457))['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option'](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x2e0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x318),a2_0x2ebaf3(0x1f0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1ae),a2_0x2ebaf3(0x1d3))[a2_0x2ebaf3(0x345)](wfSessionListAction),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4b5))['description'](a2_0x2ebaf3(0x36d))['option'](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x2e0))['option']('--from\x20<timestamp>',a2_0x2ebaf3(0x1f0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1ae),a2_0x2ebaf3(0x1d3))[a2_0x2ebaf3(0x345)](wfSessionListAction);const wfAttemptListAction=async(_0x1a9629,_0x5bb1d9)=>{const _0x5a7ae1=a2_0x2ebaf3,_0x3d3c49=new WorkflowAttemptsCommand(),_0x4ee86a=program[_0x5a7ae1(0x1af)](),_0x20cb97=await createTDXInstance(_0x4ee86a),_0x41d813=await _0x3d3c49[_0x5a7ae1(0x1e5)]({'options':{..._0x4ee86a,..._0x5bb1d9},'args':_0x1a9629?[_0x1a9629]:[],'tdx':_0x20cb97});gracefulExit(_0x41d813);},attemptCmd=workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4c0))['description'](a2_0x2ebaf3(0x49c))[a2_0x2ebaf3(0x4b6)](a2_0x2ebaf3(0x286),'Attempt\x20ID')[a2_0x2ebaf3(0x4b6)](a2_0x2ebaf3(0x2ae),a2_0x2ebaf3(0x396))[a2_0x2ebaf3(0x4b6)](a2_0x2ebaf3(0x23c),a2_0x2ebaf3(0x3a5))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x471),a2_0x2ebaf3(0x37c))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3e0),a2_0x2ebaf3(0x494))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x45d),a2_0x2ebaf3(0x3c2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x233),a2_0x2ebaf3(0x36e))[a2_0x2ebaf3(0x1ea)]('--force',a2_0x2ebaf3(0x3d1))['option']('--include-retried',a2_0x2ebaf3(0x2ea))[a2_0x2ebaf3(0x345)](async(_0x49f699,_0x2e335a,_0x2e19d7,_0x510eca)=>{const _0x399f4c=a2_0x2ebaf3;if(_0x49f699===_0x399f4c(0x201)){await wfAttemptListAction(_0x2e335a,_0x510eca);return;}if(!_0x49f699){attemptCmd[_0x399f4c(0x4bc)]();return;}const _0x2678df=program[_0x399f4c(0x1af)](),_0x5f089d=await createTDXInstance(_0x2678df);let _0x51ef36=0x0;if(!_0x2e335a){const _0x9d2ab9=new WorkflowAttemptCommand();_0x51ef36=await _0x9d2ab9[_0x399f4c(0x1e5)]({'options':{..._0x2678df,..._0x510eca},'args':[_0x49f699],'tdx':_0x5f089d});}else{if(_0x2e335a===_0x399f4c(0x4ca)){const _0xdeb935=new WorkflowLogsCommand();_0x51ef36=await _0xdeb935[_0x399f4c(0x1e5)]({'options':{..._0x2678df,..._0x510eca},'args':_0x2e19d7?[_0x49f699,_0x2e19d7]:[_0x49f699],'tdx':_0x5f089d});}else{if(_0x2e335a===_0x399f4c(0x329)){const _0x15b9f8=new WorkflowTasksCommand();_0x51ef36=await _0x15b9f8['run']({'options':{..._0x2678df,..._0x510eca},'args':[_0x49f699],'tdx':_0x5f089d});}else{if(_0x2e335a===_0x399f4c(0x3b8)){const _0x3012dd=new WorkflowKillCommand();_0x51ef36=await _0x3012dd['run']({'options':{..._0x2678df,..._0x510eca},'args':[_0x49f699],'tdx':_0x5f089d});}else{if(_0x2e335a===_0x399f4c(0x45a)){const _0x121134=new WorkflowRetryCommand();_0x51ef36=await _0x121134[_0x399f4c(0x1e5)]({'options':{..._0x2678df,..._0x510eca},'args':['attempt:'+_0x49f699],'tdx':_0x5f089d});}else console[_0x399f4c(0x1ca)](_0x399f4c(0x463)+_0x2e335a),console[_0x399f4c(0x1ca)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x51ef36=0x1;}}}}gracefulExit(_0x51ef36);});attemptCmd[a2_0x2ebaf3(0x308)]('list\x20[project]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3d6))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f2),a2_0x2ebaf3(0x1e9))[a2_0x2ebaf3(0x345)](wfAttemptListAction),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x28b))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x39e))['option'](a2_0x2ebaf3(0x3f2),a2_0x2ebaf3(0x1e9))[a2_0x2ebaf3(0x345)](wfAttemptListAction),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2c2))[a2_0x2ebaf3(0x39c)]('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c6),a2_0x2ebaf3(0x260))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x317),a2_0x2ebaf3(0x295))[a2_0x2ebaf3(0x1ea)]('--attempt-id\x20<id>',a2_0x2ebaf3(0x3e7))[a2_0x2ebaf3(0x345)](async(_0x5d95b2,_0x47d5fa)=>{const _0x2fcf45=a2_0x2ebaf3,_0x4160e1=new WorkflowTimelineCommand(),_0x3b682b=program[_0x2fcf45(0x1af)](),_0x31dc25=await createTDXInstance(_0x3b682b),_0x40008c=await _0x4160e1[_0x2fcf45(0x1e5)]({'options':{..._0x3b682b,..._0x47d5fa},'args':_0x5d95b2?[_0x5d95b2]:[],'tdx':_0x31dc25});gracefulExit(_0x40008c);}),workflowCmd[a2_0x2ebaf3(0x308)]('retry\x20<session-id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3e1))[a2_0x2ebaf3(0x1ea)]('--from-task\x20<task>',a2_0x2ebaf3(0x3c7))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x233),a2_0x2ebaf3(0x4b1))[a2_0x2ebaf3(0x345)](async(_0x5a8d34,_0x4dfdbd)=>{const _0x9e93d7=a2_0x2ebaf3,_0x1b3a84=new WorkflowRetryCommand(),_0x13b9b9=program[_0x9e93d7(0x1af)](),_0x3c3fbc=await createTDXInstance(_0x13b9b9),_0x106f3f=await _0x1b3a84['run']({'options':{..._0x13b9b9,..._0x4dfdbd},'args':[_0x5a8d34],'tdx':_0x3c3fbc});gracefulExit(_0x106f3f);}),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2f4))['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')['option'](a2_0x2ebaf3(0x333),a2_0x2ebaf3(0x3ac),(_0x21d1b5,_0x201fad=[])=>[..._0x201fad,_0x21d1b5],[])[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4bb),a2_0x2ebaf3(0x3d0))[a2_0x2ebaf3(0x345)](async(_0x496ed0,_0x4a7dae)=>{const _0x1b4572=a2_0x2ebaf3,_0x860b5b=new WorkflowRunCommand(),_0x263622=program[_0x1b4572(0x1af)](),_0x2d719c=await createTDXInstance(_0x263622),_0xc151ba=await _0x860b5b[_0x1b4572(0x1e5)]({'options':{..._0x263622,..._0x4a7dae},'args':_0x496ed0?[_0x496ed0]:[],'tdx':_0x2d719c});gracefulExit(_0xc151ba);}),workflowCmd[a2_0x2ebaf3(0x308)]('download\x20<project-name>\x20[output-dir]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x263))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47c),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x2ebaf3(0x345)](async(_0x5d25f0,_0x4adc1e,_0x3b6a66)=>{const _0x1819a8=a2_0x2ebaf3,_0x1aa9bc=new WorkflowDownloadCommand(),_0x2fd68d=program[_0x1819a8(0x1af)](),_0x272528=await createTDXInstance(_0x2fd68d),_0x1bc4a7=await _0x1aa9bc[_0x1819a8(0x1e5)]({'options':{..._0x2fd68d,..._0x3b6a66},'args':[_0x5d25f0,_0x4adc1e||'.'],'tdx':_0x272528});gracefulExit(_0x1bc4a7);}),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x227))['description'](a2_0x2ebaf3(0x4a1))['option']('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x2ebaf3(0x345)](async(_0x5544df,_0x2bce52,_0x4e4095)=>{const _0x553d44=a2_0x2ebaf3,_0x28bef4=new WorkflowPullCommand(),_0xfa453b=program[_0x553d44(0x1af)](),_0x33523b=await createTDXInstance(_0xfa453b),_0x3e35a0=await _0x28bef4['run']({'options':{..._0xfa453b,..._0x4e4095},'args':_0x2bce52?[_0x5544df,_0x2bce52]:[_0x5544df],'tdx':_0x33523b});gracefulExit(_0x3e35a0);}),workflowCmd['command'](a2_0x2ebaf3(0x3fd))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x361))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47c),a2_0x2ebaf3(0x417))['option'](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x2ed))['option']('--skip-validation',a2_0x2ebaf3(0x3c1))[a2_0x2ebaf3(0x345)](async(_0x13b737,_0x57058a)=>{const _0x38c316=a2_0x2ebaf3,_0x1d371e=new WorkflowPushCommand(),_0x55d692=program[_0x38c316(0x1af)](),_0x19138f=await createTDXInstance(_0x55d692),_0x50b550=await _0x1d371e['run']({'options':{..._0x55d692,..._0x57058a},'args':_0x13b737?[_0x13b737]:[],'tdx':_0x19138f});gracefulExit(_0x50b550);}),workflowCmd['command'](a2_0x2ebaf3(0x37d))['description'](a2_0x2ebaf3(0x3ec))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x428))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47c),a2_0x2ebaf3(0x3cb))[a2_0x2ebaf3(0x1ea)]('--skip-validation',a2_0x2ebaf3(0x3c1))[a2_0x2ebaf3(0x345)](async(_0x404823,_0x31201f)=>{const _0x4a9848=a2_0x2ebaf3,_0x577114=new WorkflowUploadCommand(),_0x34e8ab=program['opts'](),_0x383d53=await createTDXInstance(_0x34e8ab),_0x29f250=await _0x577114[_0x4a9848(0x1e5)]({'options':{..._0x34e8ab,..._0x31201f},'args':_0x404823?[_0x404823]:[],'tdx':_0x383d53});gracefulExit(_0x29f250);}),workflowCmd[a2_0x2ebaf3(0x308)]('clone\x20[source-dir]')[a2_0x2ebaf3(0x39c)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x2ebaf3(0x1ea)]('--name\x20<name>',a2_0x2ebaf3(0x3d4))['option'](a2_0x2ebaf3(0x47c),a2_0x2ebaf3(0x417))[a2_0x2ebaf3(0x1ea)]('--dry-run',a2_0x2ebaf3(0x4ad))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x48c),a2_0x2ebaf3(0x3c1))[a2_0x2ebaf3(0x345)](async(_0x3d82ee,_0x1eae3a)=>{const _0x57ad40=a2_0x2ebaf3,_0x4c2ebb=new WorkflowCloneCommand(),_0x43e9be=program[_0x57ad40(0x1af)](),_0x499fb3=await createTDXInstance(_0x43e9be),_0x4eec41=await _0x4c2ebb[_0x57ad40(0x1e5)]({'options':{..._0x43e9be,..._0x1eae3a},'args':_0x3d82ee?[_0x3d82ee]:[],'tdx':_0x499fb3});gracefulExit(_0x4eec41);}),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x28a))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x37a))[a2_0x2ebaf3(0x345)](async(_0x32bda9,_0x2c7db7)=>{const _0x5c678e=a2_0x2ebaf3,_0x38312f=new WorkflowDeleteCommand(),_0x8b88e3=program['opts'](),_0x35002d=await createTDXInstance(_0x8b88e3),_0x2f0f68=await _0x38312f[_0x5c678e(0x1e5)]({'options':{..._0x8b88e3,..._0x2c7db7},'args':[_0x32bda9],'tdx':_0x35002d});gracefulExit(_0x2f0f68);}),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x392))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x495))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x287),'Clear\x20workflow\x20project\x20context')[a2_0x2ebaf3(0x345)](async(_0x2ad2be,_0x43a961)=>{const _0x4cacdd=a2_0x2ebaf3,_0x2a8dd5=new WorkflowUseCommand(),_0xbc514=program[_0x4cacdd(0x1af)](),_0x1218ce=await createTDXInstance(_0xbc514),_0x180b12=await _0x2a8dd5[_0x4cacdd(0x1e5)]({'options':{..._0xbc514,..._0x43a961},'args':_0x2ad2be?[_0x2ad2be]:[],'tdx':_0x1218ce});gracefulExit(_0x180b12);});const wfSecretsCmd=workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x461))[a2_0x2ebaf3(0x39c)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x457))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x304))[a2_0x2ebaf3(0x345)](async(_0x2aeceb,_0x41745c)=>{const _0x3560d9=new WorkflowSecretsListCommand(),_0x42b890=program['opts'](),_0x51f99a=await createTDXInstance(_0x42b890),_0x131273=await _0x3560d9['run']({'options':{..._0x42b890,..._0x41745c},'args':_0x2aeceb?[_0x2aeceb]:[],'tdx':_0x51f99a});gracefulExit(_0x131273);}),wfSecretsCmd['command'](a2_0x2ebaf3(0x2b6))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x339))[a2_0x2ebaf3(0x345)](async(_0x1ad376,_0x1890b7)=>{const _0xd63107=a2_0x2ebaf3,_0x3eef23=new WorkflowSecretsSetCommand(),_0x120e2c=program[_0xd63107(0x1af)](),_0x2a29dd=await createTDXInstance(_0x120e2c),_0x4943ec=await _0x3eef23['run']({'options':{..._0x120e2c,..._0x1890b7},'args':_0x1ad376,'tdx':_0x2a29dd});gracefulExit(_0x4943ec);}),wfSecretsCmd['command'](a2_0x2ebaf3(0x466))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4b7))[a2_0x2ebaf3(0x345)](async(_0x471210,_0x57c967)=>{const _0x339106=a2_0x2ebaf3,_0x4df495=new WorkflowSecretsDeleteCommand(),_0xddcdc7=program[_0x339106(0x1af)](),_0x4f816d=await createTDXInstance(_0xddcdc7),_0x26b2db=await _0x4df495['run']({'options':{..._0xddcdc7,..._0x57c967},'args':_0x471210,'tdx':_0x4f816d});gracefulExit(_0x26b2db);});const wfScheduleCmd=workflowCmd['command'](a2_0x2ebaf3(0x32d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3dc));wfScheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x34d))['description'](a2_0x2ebaf3(0x2b1))[a2_0x2ebaf3(0x345)](async(_0x18bfc9,_0x5492ec)=>{const _0x5b64b0=a2_0x2ebaf3,_0x5ac217=new WorkflowScheduleEnableCommand(),_0x40ec78=program[_0x5b64b0(0x1af)](),_0x4999db=await createTDXInstance(_0x40ec78),_0x461cf3=await _0x5ac217['run']({'options':{..._0x40ec78,..._0x5492ec},'args':[_0x18bfc9],'tdx':_0x4999db});gracefulExit(_0x461cf3);}),wfScheduleCmd['command']('disable\x20<id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3ef))[a2_0x2ebaf3(0x345)](async(_0x529ccd,_0xe70b05)=>{const _0x101cb0=a2_0x2ebaf3,_0xff3382=new WorkflowScheduleDisableCommand(),_0x4bdd4b=program[_0x101cb0(0x1af)](),_0x3b2dd2=await createTDXInstance(_0x4bdd4b),_0x195039=await _0xff3382[_0x101cb0(0x1e5)]({'options':{..._0x4bdd4b,..._0xe70b05},'args':[_0x529ccd],'tdx':_0x3b2dd2});gracefulExit(_0x195039);}),workflowCmd['command'](a2_0x2ebaf3(0x2a2))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x46b))['action'](async _0x257fcb=>{const _0x8abce4=a2_0x2ebaf3,_0xfe5b21=new WorkflowSchedulesCommand(),_0x4bcbff=program[_0x8abce4(0x1af)](),_0xfbfe9a=await createTDXInstance(_0x4bcbff),_0x107e8b=await _0xfe5b21[_0x8abce4(0x1e5)]({'options':{..._0x4bcbff,..._0x257fcb},'args':[],'tdx':_0xfbfe9a});gracefulExit(_0x107e8b);});const jobCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x386))['description'](a2_0x2ebaf3(0x21b)),jobListAction=async _0x537f0e=>{const _0x31a0bd=a2_0x2ebaf3,_0x455a34=new JobListCommand(),_0x303f1e=program[_0x31a0bd(0x1af)](),_0x130df3=await createTDXInstance(_0x303f1e),_0x8ef4df=await _0x455a34[_0x31a0bd(0x1e5)]({'options':{..._0x303f1e,..._0x537f0e},'args':[],'tdx':_0x130df3});gracefulExit(_0x8ef4df);};jobCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x213))['option'](a2_0x2ebaf3(0x1d9),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x215),{'hidden':!![]})['description']('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x35f))[a2_0x2ebaf3(0x345)](jobListAction),jobCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2cd))['description'](a2_0x2ebaf3(0x280))[a2_0x2ebaf3(0x345)](async(_0x6cdf9,_0x15aed2)=>{const _0x5d7a74=a2_0x2ebaf3,_0x325de5=new JobShowCommand(),_0x3ef779=program[_0x5d7a74(0x1af)](),_0x5ef074=await createTDXInstance(_0x3ef779),_0x3d8211=await _0x325de5[_0x5d7a74(0x1e5)]({'options':{..._0x3ef779,..._0x15aed2},'args':[_0x6cdf9],'tdx':_0x5ef074});gracefulExit(_0x3d8211);}),jobCmd['command'](a2_0x2ebaf3(0x379))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1b4))['action'](async(_0x48fdd5,_0x12535b)=>{const _0x1e2585=a2_0x2ebaf3,_0xbe0e94=new JobKillCommand(),_0x2ecfad=program[_0x1e2585(0x1af)](),_0x1b9f99=await createTDXInstance(_0x2ecfad),_0x28b1be=await _0xbe0e94['run']({'options':{..._0x2ecfad,..._0x12535b},'args':[_0x48fdd5],'tdx':_0x1b9f99});gracefulExit(_0x28b1be);}),jobCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3d5))['description'](a2_0x2ebaf3(0x226))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x34b),a2_0x2ebaf3(0x458),'trino')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x449),a2_0x2ebaf3(0x254))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x38d),a2_0x2ebaf3(0x380),a2_0x2ebaf3(0x2c7))[a2_0x2ebaf3(0x1ea)]('--result\x20<target>',a2_0x2ebaf3(0x331))[a2_0x2ebaf3(0x345)](async(_0x1e090b,_0x4e0ccf)=>{const _0xb92108=a2_0x2ebaf3,_0x33b8e9=new JobSubmitCommand(),_0x22857f=program['opts'](),_0x4e62e4=await createTDXInstance(_0x22857f),_0x38b2ad=await _0x33b8e9[_0xb92108(0x1e5)]({'options':{..._0x22857f,..._0x4e0ccf},'args':_0x1e090b?[_0x1e090b]:[],'tdx':_0x4e62e4});gracefulExit(_0x38b2ad);}),jobCmd['command'](a2_0x2ebaf3(0x38c))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x246))[a2_0x2ebaf3(0x345)](async(_0x5ecac6,_0x343bb7)=>{const _0x2c95cc=a2_0x2ebaf3,_0x3049ff=new JobResultCommand(),_0x560346=program[_0x2c95cc(0x1af)](),_0x5ce927=await createTDXInstance(_0x560346),_0x156096=await _0x3049ff[_0x2c95cc(0x1e5)]({'options':{..._0x560346,..._0x343bb7},'args':[_0x5ecac6],'tdx':_0x5ce927});gracefulExit(_0x156096);});const scheduleCmd=jobCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x32d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x202));scheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))['description'](a2_0x2ebaf3(0x3c0))['action'](async(_0x38473f,_0x1768d1)=>{const _0xebef31=a2_0x2ebaf3,_0x54986c=new ScheduleListCommand(),_0x45c971=program[_0xebef31(0x1af)](),_0xb7dd7c=await createTDXInstance(_0x45c971),_0x3a1a27=await _0x54986c[_0xebef31(0x1e5)]({'options':{..._0x45c971,..._0x1768d1},'args':_0x38473f?[_0x38473f]:[],'tdx':_0xb7dd7c});gracefulExit(_0x3a1a27);}),scheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3cf))[a2_0x2ebaf3(0x39c)]('Show\x20schedule\x20details')[a2_0x2ebaf3(0x345)](async(_0x1587e3,_0xb87b87)=>{const _0x25fa6c=a2_0x2ebaf3,_0x3d61cc=new ScheduleShowCommand(),_0x3bee22=program['opts'](),_0x49446b=await createTDXInstance(_0x3bee22),_0x1da409=await _0x3d61cc[_0x25fa6c(0x1e5)]({'options':{..._0x3bee22,..._0xb87b87},'args':[_0x1587e3],'tdx':_0x49446b});gracefulExit(_0x1da409);}),scheduleCmd[a2_0x2ebaf3(0x308)]('create\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x32c))['option'](a2_0x2ebaf3(0x1bf),a2_0x2ebaf3(0x3e8))['option'](a2_0x2ebaf3(0x277),a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x449),a2_0x2ebaf3(0x254))[a2_0x2ebaf3(0x1ea)]('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive',a2_0x2ebaf3(0x1ee))['option']('--cron\x20<expression>',a2_0x2ebaf3(0x2de))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x20c))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x20d),a2_0x2ebaf3(0x3a3))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1e8),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1dd),a2_0x2ebaf3(0x200))['option']('--engine-version\x20<version>',a2_0x2ebaf3(0x321))['option'](a2_0x2ebaf3(0x2f5),a2_0x2ebaf3(0x1c5))[a2_0x2ebaf3(0x345)](async(_0x514b4f,_0x5898c5)=>{const _0x6c3ed6=new ScheduleCreateCommand(),_0x33cac0=program['opts'](),_0x3c9caf=await createTDXInstance(_0x33cac0);_0x5898c5['in']&&(_0x5898c5['database']=_0x5898c5['in']);const _0x625221=await _0x6c3ed6['run']({'options':{..._0x33cac0,..._0x5898c5},'args':[_0x514b4f],'tdx':_0x3c9caf});gracefulExit(_0x625221);}),scheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x212))['description']('Update\x20a\x20scheduled\x20query')[a2_0x2ebaf3(0x1ea)]('-d,\x20--database\x20<db>',a2_0x2ebaf3(0x232))['option'](a2_0x2ebaf3(0x277),a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x1ea)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x33a))['option'](a2_0x2ebaf3(0x37f),a2_0x2ebaf3(0x2de))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x293))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x20d),a2_0x2ebaf3(0x3a3))['option'](a2_0x2ebaf3(0x1e8),a2_0x2ebaf3(0x399))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1dd),a2_0x2ebaf3(0x200))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x325),a2_0x2ebaf3(0x321))['option']('--result\x20<url>',a2_0x2ebaf3(0x1c5))['action'](async(_0x34c5cd,_0x532596)=>{const _0x548bbb=a2_0x2ebaf3,_0x17a317=new ScheduleUpdateCommand(),_0x23fd27=program[_0x548bbb(0x1af)](),_0x45c8fc=await createTDXInstance(_0x23fd27);_0x532596['in']&&(_0x532596[_0x548bbb(0x219)]=_0x532596['in']);const _0x282087=await _0x17a317[_0x548bbb(0x1e5)]({'options':{..._0x23fd27,..._0x532596},'args':[_0x34c5cd],'tdx':_0x45c8fc});gracefulExit(_0x282087);}),scheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2a3))['description']('Delete\x20a\x20scheduled\x20query')['action'](async(_0x5c9033,_0x33fb5a)=>{const _0x4dcef3=a2_0x2ebaf3,_0xf4db07=new ScheduleDeleteCommand(),_0x39ac09=program['opts'](),_0x1251dc=await createTDXInstance(_0x39ac09),_0x43d762=await _0xf4db07[_0x4dcef3(0x1e5)]({'options':{..._0x39ac09,..._0x33fb5a},'args':[_0x5c9033],'tdx':_0x1251dc});gracefulExit(_0x43d762);}),scheduleCmd[a2_0x2ebaf3(0x308)]('run\x20<name>')['description']('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x35e),a2_0x2ebaf3(0x2ad))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x30f),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x2ebaf3(0x345)](async(_0x154b08,_0x2104d4)=>{const _0x4c1321=a2_0x2ebaf3,_0x3ece3f=new ScheduleRunCommand(),_0x291f20=program['opts'](),_0x3a664e=await createTDXInstance(_0x291f20),_0x53cc53=await _0x3ece3f[_0x4c1321(0x1e5)]({'options':{..._0x291f20,..._0x2104d4},'args':[_0x154b08],'tdx':_0x3a664e});gracefulExit(_0x53cc53);}),scheduleCmd['command'](a2_0x2ebaf3(0x478))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2aa))['option'](a2_0x2ebaf3(0x27c),'Starting\x20offset\x20(default:\x200)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1fa),a2_0x2ebaf3(0x409))[a2_0x2ebaf3(0x345)](async(_0x3bffd8,_0x40bdca)=>{const _0x2eace7=a2_0x2ebaf3,_0x4b581b=new ScheduleHistoryCommand(),_0x47c0f4=program['opts'](),_0x3e1266=await createTDXInstance(_0x47c0f4),_0x7bc73d=await _0x4b581b[_0x2eace7(0x1e5)]({'options':{..._0x47c0f4,..._0x40bdca},'args':[_0x3bffd8],'tdx':_0x3e1266});gracefulExit(_0x7bc73d);});const llmCmd=program[a2_0x2ebaf3(0x308)]('llm')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x34a));llmCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4d6))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4a7))['action'](async(_0x5881e4,_0x3c00ec)=>{const _0x2e5f11=a2_0x2ebaf3,_0x118ab5=new LLMUseCommand(),_0xad8062=program[_0x2e5f11(0x1af)](),_0x39580a=await createTDXInstance(_0xad8062),_0x92e616=await _0x118ab5[_0x2e5f11(0x1e5)]({'options':{..._0xad8062,..._0x3c00ec},'args':[_0x5881e4],'tdx':_0x39580a});gracefulExit(_0x92e616);}),llmCmd[a2_0x2ebaf3(0x308)]('models')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x429))[a2_0x2ebaf3(0x345)](async _0x1162e4=>{const _0x35400c=new LLMModelsCommand(),_0x4a4d1f=program['opts'](),_0x5c0873=await createTDXInstance(_0x4a4d1f),_0x544e34=await _0x35400c['run']({'options':{..._0x4a4d1f,..._0x1162e4},'args':[],'tdx':_0x5c0873});gracefulExit(_0x544e34);});const projectCmd=llmCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x487))['description']('LLM\x20project\x20management'),llmProjectListAction=async(_0x2960c6,_0x1ee429)=>{const _0x42e3a8=a2_0x2ebaf3,_0x6c0a48=new LLMProjectsCommand(),_0x43a4dd=program[_0x42e3a8(0x1af)](),_0x9dfb47=await createTDXInstance(_0x43a4dd),_0x27c20f=await _0x6c0a48['run']({'options':{..._0x43a4dd,..._0x1ee429},'args':_0x2960c6?[_0x2960c6]:[],'tdx':_0x9dfb47});gracefulExit(_0x27c20f);};projectCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x2ebaf3(0x345)](llmProjectListAction),llmCmd['command'](a2_0x2ebaf3(0x3a7))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x473))['action'](llmProjectListAction),projectCmd['command'](a2_0x2ebaf3(0x2a9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x296))['option'](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x30c))[a2_0x2ebaf3(0x345)](async(_0x2823ff,_0x33d7f3)=>{const _0x439095=a2_0x2ebaf3,_0x2b64f7=new LLMProjectCreateCommand(),_0x15802c=program[_0x439095(0x1af)](),_0x340bcd=await createTDXInstance(_0x15802c),_0x5873c2=await _0x2b64f7[_0x439095(0x1e5)]({'options':{..._0x15802c,..._0x33d7f3},'args':[_0x2823ff],'tdx':_0x340bcd});gracefulExit(_0x5873c2);}),projectCmd[a2_0x2ebaf3(0x308)]('delete\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2fd))[a2_0x2ebaf3(0x345)](async(_0xf1b0cf,_0xb77150)=>{const _0x35fe6c=a2_0x2ebaf3,_0x387649=new LLMProjectDeleteCommand(),_0x5e8010=program[_0x35fe6c(0x1af)](),_0x2b6229=await createTDXInstance(_0x5e8010),_0x4b5cdc=await _0x387649[_0x35fe6c(0x1e5)]({'options':{..._0x5e8010,..._0xb77150},'args':[_0xf1b0cf],'tdx':_0x2b6229});gracefulExit(_0x4b5cdc);}),projectCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x398))['description'](a2_0x2ebaf3(0x4c3))['option']('-o,\x20--output\x20<folder>',a2_0x2ebaf3(0x4a2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x2ebaf3(0x345)](async(_0xd7a150,_0x53e77f)=>{const _0x36266c=a2_0x2ebaf3,_0x595a0e=new LLMProjectBackupCommand(),_0x5a6838=program['opts'](),_0x34ffb3=await createTDXInstance(_0x5a6838),_0x553cc7=await _0x595a0e[_0x36266c(0x1e5)]({'options':{..._0x5a6838,..._0x53e77f},'args':[_0xd7a150],'tdx':_0x34ffb3});gracefulExit(_0x553cc7);}),projectCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x404))['description']('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x40c),a2_0x2ebaf3(0x337))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x459))['action'](async(_0x1ca9d1,_0xac94d7)=>{const _0x123b8b=a2_0x2ebaf3,_0x56a459=new LLMProjectRestoreCommand(),_0x4e69a4=program[_0x123b8b(0x1af)](),_0x308192=await createTDXInstance(_0x4e69a4),_0x4235a1=await _0x56a459[_0x123b8b(0x1e5)]({'options':{..._0x4e69a4,..._0xac94d7},'args':[_0x1ca9d1],'tdx':_0x308192});gracefulExit(_0x4235a1);});const llmAgentListAction=async(_0x454636,_0x8f5a98)=>{const _0x2a23a6=a2_0x2ebaf3,_0x5bb5b5=new LLMAgentsCommand(),_0x4f694d=program[_0x2a23a6(0x1af)](),_0xeb8f4a=await createTDXInstance(_0x4f694d),_0x522501=await _0x5bb5b5['run']({'options':{..._0x4f694d,..._0x8f5a98},'args':_0x454636?[_0x454636]:[],'tdx':_0xeb8f4a});gracefulExit(_0x522501);};llmCmd['command'](a2_0x2ebaf3(0x1df))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x470))['action'](llmAgentListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1df))['description'](a2_0x2ebaf3(0x470))[a2_0x2ebaf3(0x345)](llmAgentListAction),llmCmd[a2_0x2ebaf3(0x308)]('history\x20[chat-id]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x22d))['option'](a2_0x2ebaf3(0x469),a2_0x2ebaf3(0x3bd))[a2_0x2ebaf3(0x345)](async(_0x193686,_0x360461)=>{const _0x43f6bf=a2_0x2ebaf3,_0x43e703=new LLMHistoryCommand(),_0x5332cd=program[_0x43f6bf(0x1af)](),_0x4ac665=await createTDXInstance(_0x5332cd),_0x5f5075=await _0x43e703['run']({'options':{..._0x5332cd,..._0x360461},'args':_0x193686?[_0x193686]:[],'tdx':_0x4ac665});gracefulExit(_0x5f5075);});isExperimentalAvailable()&&llmCmd['command'](a2_0x2ebaf3(0x322))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1ad))[a2_0x2ebaf3(0x345)](async(_0x43a862,_0x54d6b0)=>{const _0x11239f=a2_0x2ebaf3,_0x2f45dc=new LLMLogCommand(),_0x34a6c5=program[_0x11239f(0x1af)](),_0x4e078a=await createTDXInstance(_0x34a6c5),_0x375e3e=await _0x2f45dc[_0x11239f(0x1e5)]({'options':{..._0x34a6c5,..._0x54d6b0},'args':[_0x43a862],'tdx':_0x4e078a});gracefulExit(_0x375e3e);});program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x234))[a2_0x2ebaf3(0x2d4)](a2_0x2ebaf3(0x2d5))['description'](a2_0x2ebaf3(0x21d))[a2_0x2ebaf3(0x1ea)]('-c,\x20--continue',a2_0x2ebaf3(0x2f6))[a2_0x2ebaf3(0x1ea)]('-r,\x20--resume','Resume\x20a\x20conversation\x20(shows\x20selector)')['option'](a2_0x2ebaf3(0x1f8),a2_0x2ebaf3(0x3af))['allowUnknownOption']()[a2_0x2ebaf3(0x2f0)](!![])[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x1cc))['action'](async(_0x47ae83,_0x3b3523)=>{const _0x357fdd=a2_0x2ebaf3,_0x4b43c3=program[_0x357fdd(0x1af)](),_0x8b10e=Array[_0x357fdd(0x23a)](_0x47ae83)?_0x47ae83:[];if(_0x8b10e[0x0]===_0x357fdd(0x2f1)){const _0xfd93f2=new ClaudeStatuslineCommand(),_0x82d84f=await _0xfd93f2[_0x357fdd(0x1e5)]({'options':{..._0x4b43c3,..._0x3b3523},'args':_0x8b10e[_0x357fdd(0x315)](0x1),'tdx':null});gracefulExit(_0x82d84f);}if(_0x8b10e[0x0]===_0x357fdd(0x2d4)){const _0xc0717d=new ClaudeUsageCommand(),_0x3457bf=await _0xc0717d[_0x357fdd(0x1e5)]({'options':{..._0x4b43c3,..._0x3b3523},'args':_0x8b10e['slice'](0x1),'tdx':null});gracefulExit(_0x3457bf);}const _0x21c088=new ClaudeCommand(),_0x55b685=await createTDXInstance(_0x4b43c3),_0x1f32bf=await _0x21c088['run']({'options':{..._0x4b43c3,..._0x3b3523},'args':_0x8b10e,'tdx':_0x55b685});gracefulExit(_0x1f32bf);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x436))[a2_0x2ebaf3(0x39c)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x287),a2_0x2ebaf3(0x1d7))['option'](a2_0x2ebaf3(0x204),a2_0x2ebaf3(0x29e))[a2_0x2ebaf3(0x345)](async(_0x526a0b,_0x30fcc6,_0x2b4f3f)=>{const _0x26b9aa=a2_0x2ebaf3,_0x11d717=new UseCommand(),_0x3bed0b=program[_0x26b9aa(0x1af)](),_0x5f0073=[];if(_0x526a0b)_0x5f0073[_0x26b9aa(0x437)](_0x526a0b);if(_0x30fcc6)_0x5f0073[_0x26b9aa(0x437)](_0x30fcc6);const _0x186afd=_0x526a0b===_0x26b9aa(0x2ca),_0x2091fe=_0x186afd?await createTDXInstance(_0x3bed0b):null,_0x467c93=await _0x11d717[_0x26b9aa(0x1e5)]({'options':{..._0x3bed0b,..._0x2b4f3f},'args':_0x5f0073,'tdx':_0x2091fe});gracefulExit(_0x467c93);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x33f))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4d8))[a2_0x2ebaf3(0x345)](async _0x77fcfd=>{const _0x43235c=a2_0x2ebaf3,_0x440aff=new StatusCommand(),_0x31a175=program[_0x43235c(0x1af)](),_0x45e817=await createTDXInstance(_0x31a175),_0x3178cf=await _0x440aff['run']({'options':{..._0x31a175,..._0x77fcfd},'args':[],'tdx':_0x45e817});gracefulExit(_0x3178cf);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x341))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x32a))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x3f3))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x445),a2_0x2ebaf3(0x316))['option'](a2_0x2ebaf3(0x31a),a2_0x2ebaf3(0x4e1))[a2_0x2ebaf3(0x345)](async(_0x1de3e7,_0x63f21a)=>{const _0x23d6de=a2_0x2ebaf3,_0x50c679=new UpgradeCommand(),_0x28964=program[_0x23d6de(0x1af)](),_0x2ff0bb=await _0x50c679[_0x23d6de(0x1e5)]({'options':{..._0x28964,..._0x63f21a},'args':_0x1de3e7?[_0x1de3e7]:[],'tdx':null});gracefulExit(_0x2ff0bb);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1e3))[a2_0x2ebaf3(0x39c)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')['option'](a2_0x2ebaf3(0x204),a2_0x2ebaf3(0x2f9))[a2_0x2ebaf3(0x345)](async(_0x2fbde4,_0x105bc4)=>{const _0x1e7114=a2_0x2ebaf3,_0x15b5c8=new UnsetCommand(),_0x4f4233=program[_0x1e7114(0x1af)](),_0x47006a=await _0x15b5c8[_0x1e7114(0x1e5)]({'options':{..._0x4f4233,..._0x105bc4},'args':[_0x2fbde4],'tdx':null});gracefulExit(_0x47006a);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1ce))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x40a))['option'](a2_0x2ebaf3(0x469),'Show\x20the\x20most\x20recent\x20chat')['action'](async _0x2735a4=>{const _0x4d4c97=a2_0x2ebaf3,_0x298700=new ChatsCommand(),_0x374329=program[_0x4d4c97(0x1af)](),_0x1b0657=await createTDXInstance(_0x374329),_0x597183=await _0x298700[_0x4d4c97(0x1e5)]({'options':{..._0x374329,..._0x2735a4},'args':[],'tdx':_0x1b0657});gracefulExit(_0x597183);});const authCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x492))[a2_0x2ebaf3(0x39c)]('Authentication\x20management');async function runAuthStatusCommand(_0x2f9e57){const _0x16b52c=a2_0x2ebaf3,_0x3dfac8=new AuthStatusCommand(),_0x30a952=program[_0x16b52c(0x1af)](),_0x54dcf3=await createTDXInstance(_0x30a952),_0x1ebfda=await _0x3dfac8[_0x16b52c(0x1e5)]({'options':{..._0x30a952,..._0x2f9e57},'args':[],'tdx':_0x54dcf3});gracefulExit(_0x1ebfda);}authCmd[a2_0x2ebaf3(0x345)](runAuthStatusCommand),authCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x33f))['description'](a2_0x2ebaf3(0x4c2))[a2_0x2ebaf3(0x345)](runAuthStatusCommand);async function authSetupAction(_0x1017a6){const _0x4ae709=a2_0x2ebaf3,_0x430e66=new AuthSetupCommand(),_0x377e51=program[_0x4ae709(0x1af)](),_0x3b3336=await createTDXInstance(_0x377e51),_0x14303e=await _0x430e66['run']({'options':{..._0x377e51,..._0x1017a6},'args':[],'tdx':_0x3b3336});gracefulExit(_0x14303e);}authCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3fc))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2e4))[a2_0x2ebaf3(0x1ea)]('--account-name\x20<name>',a2_0x2ebaf3(0x23d))[a2_0x2ebaf3(0x245)]('after',a2_0x2ebaf3(0x2ac))[a2_0x2ebaf3(0x345)](authSetupAction),authCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x48d),{'hidden':!![]})[a2_0x2ebaf3(0x1ea)]('--account-name\x20<name>',a2_0x2ebaf3(0x23d))[a2_0x2ebaf3(0x345)](authSetupAction),authCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x419))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x45f))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x2b3))[a2_0x2ebaf3(0x345)](async _0x33d5d4=>{const _0x5471a2=a2_0x2ebaf3,_0x3e28c2=new AuthClearCommand(),_0x493f0a=program[_0x5471a2(0x1af)](),_0x281d1a=await _0x3e28c2[_0x5471a2(0x1e5)]({'options':{..._0x493f0a,..._0x33d5d4},'args':[],'tdx':null});gracefulExit(_0x281d1a);});const userCmd=program['command'](a2_0x2ebaf3(0x42d))[a2_0x2ebaf3(0x39c)]('User\x20management\x20commands'),userListAction=async _0x5e95d6=>{const _0x3d2f4e=a2_0x2ebaf3,_0x2436ea=new UserListCommand(),_0x4cc931=program[_0x3d2f4e(0x1af)](),_0x5dd47f=await createTDXInstance(_0x4cc931),_0x5d9f64=await _0x2436ea['run']({'options':{..._0x4cc931,..._0x5e95d6},'args':[],'tdx':_0x5dd47f});gracefulExit(_0x5d9f64);};userCmd[a2_0x2ebaf3(0x345)](async _0x5a9c01=>{const _0x34dbe4=a2_0x2ebaf3,_0x4b5e04=new UserCommand(),_0x49b3d0=program[_0x34dbe4(0x1af)](),_0x24eecf=await createTDXInstance(_0x49b3d0),_0x405485=await _0x4b5e04['run']({'options':{..._0x49b3d0,..._0x5a9c01},'args':[],'tdx':_0x24eecf});gracefulExit(_0x405485);}),userCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x31c))[a2_0x2ebaf3(0x345)](userListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x430))[a2_0x2ebaf3(0x39c)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x2ebaf3(0x345)](userListAction);const policyCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3b7))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x230));policyCmd['action'](async _0x5d5876=>{const _0x50c058=new PolicyCommand(),_0x2dad84=program['opts'](),_0x31f7ec=await createTDXInstance(_0x2dad84),_0x4d6d28=await _0x50c058['run']({'options':{..._0x2dad84,..._0x5d5876},'args':[],'tdx':_0x31f7ec});gracefulExit(_0x4d6d28);}),policyCmd['command']('list')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3aa))[a2_0x2ebaf3(0x345)](async _0x10708a=>{const _0x5302e5=a2_0x2ebaf3,_0x49c9f5=new PolicyListCommand(),_0x4a7800=program[_0x5302e5(0x1af)](),_0x8cfd1f=await createTDXInstance(_0x4a7800),_0x3c1071=await _0x49c9f5[_0x5302e5(0x1e5)]({'options':{..._0x4a7800,..._0x10708a},'args':[],'tdx':_0x8cfd1f});gracefulExit(_0x3c1071);}),policyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x42c))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x206))['action'](async(_0x4b5017,_0x44aa80)=>{const _0x2da969=a2_0x2ebaf3,_0x32f021=new PolicyShowCommand(),_0x4b1186=program[_0x2da969(0x1af)](),_0x3390de=await createTDXInstance(_0x4b1186),_0x3494e8=await _0x32f021['run']({'options':{..._0x4b1186,..._0x44aa80},'args':[_0x4b5017],'tdx':_0x3390de});gracefulExit(_0x3494e8);}),program['command'](a2_0x2ebaf3(0x1f1))['description'](a2_0x2ebaf3(0x3f6))[a2_0x2ebaf3(0x345)](async _0x28d2a2=>{const _0x3a40be=a2_0x2ebaf3,_0x1ac54d=new ProfilesCommand(),_0x1c25b2=program['opts'](),_0x35e967=await _0x1ac54d[_0x3a40be(0x1e5)]({'options':{..._0x1c25b2,..._0x28d2a2},'args':[],'tdx':null});gracefulExit(_0x35e967);});const profileCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x268))['description'](a2_0x2ebaf3(0x4d2));profileCmd['action'](()=>{const _0xe4768=a2_0x2ebaf3;profileCmd[_0xe4768(0x35a)]();});const profileListAction=async _0x14fef4=>{const _0x3f75aa=a2_0x2ebaf3,_0x4c6646=new ProfilesCommand(),_0x5b29ea=program[_0x3f75aa(0x1af)](),_0x4745f3=await _0x4c6646['run']({'options':{..._0x5b29ea,..._0x14fef4},'args':[],'tdx':null});gracefulExit(_0x4745f3);};profileCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3f6))[a2_0x2ebaf3(0x345)](profileListAction),profileCmd[a2_0x2ebaf3(0x308)]('create\x20[name]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x298))['option'](a2_0x2ebaf3(0x456),a2_0x2ebaf3(0x23d))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3d9),a2_0x2ebaf3(0x1d5))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a')[a2_0x2ebaf3(0x345)](async(_0x10d858,_0x45e9b5)=>{const _0x577a84=a2_0x2ebaf3,_0xbd5372=new ProfileCreateCommand(),_0x3fa004=program[_0x577a84(0x1af)](),_0x233bb0=await _0xbd5372[_0x577a84(0x1e5)]({'options':{..._0x3fa004,..._0x45e9b5},'args':_0x10d858?[_0x10d858]:[],'tdx':null});gracefulExit(_0x233bb0);});async function profileDeleteAction(_0x4aa1f1,_0x4898cf){const _0x57087e=a2_0x2ebaf3,_0x3cf576=new ProfileDeleteCommand(),_0x3d44eb=program[_0x57087e(0x1af)](),_0x2f9b47=await _0x3cf576[_0x57087e(0x1e5)]({'options':{..._0x3d44eb,..._0x4898cf},'args':[_0x4aa1f1],'tdx':null});gracefulExit(_0x2f9b47);}profileCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2a3))['description']('Delete\x20a\x20profile')[a2_0x2ebaf3(0x245)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x2ebaf3(0x345)](profileDeleteAction),profileCmd[a2_0x2ebaf3(0x308)]('remove\x20<name>',{'hidden':!![]})[a2_0x2ebaf3(0x345)](profileDeleteAction),profileCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3eb))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4d3))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x387))['action'](async(_0x290a13,_0x24e97f)=>{const _0x449297=new ProfileSetCommand(),_0x519635=program['opts'](),_0x76f32c=await _0x449297['run']({'options':{..._0x519635,..._0x24e97f},'args':[_0x290a13],'tdx':null});gracefulExit(_0x76f32c);}),profileCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x38a))[a2_0x2ebaf3(0x39c)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')['option'](a2_0x2ebaf3(0x204),a2_0x2ebaf3(0x29e))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x1f2))[a2_0x2ebaf3(0x345)](async(_0x11dccd,_0x107e60)=>{const _0x5a4dab=a2_0x2ebaf3,_0x527af5=new ProfileUseCommand(),_0x51a01c=program['opts'](),_0x44fe6b=await _0x527af5[_0x5a4dab(0x1e5)]({'options':{..._0x51a01c,..._0x107e60},'args':[_0x11dccd],'tdx':null});gracefulExit(_0x44fe6b);});const engageCmd=program['command'](a2_0x2ebaf3(0x4de))[a2_0x2ebaf3(0x39c)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x2685af=>{return async(_0x2d836d,_0x245d4b)=>{const _0x37836a=a2_0x22e8,_0x8ecb9e=new _0x2685af(),_0x257f2c=program[_0x37836a(0x1af)](),_0x3037e8=await createTDXInstance(_0x257f2c),_0x958280=await _0x8ecb9e[_0x37836a(0x1e5)]({'options':{..._0x257f2c,..._0x245d4b},'args':[_0x2d836d],'tdx':_0x3037e8});gracefulExit(_0x958280);};},createEngageNoArgAction=_0x1aa3fa=>{return async _0x5751c2=>{const _0x23db98=a2_0x22e8,_0x282e7a=new _0x1aa3fa(),_0x161863=program[_0x23db98(0x1af)](),_0x507785=await createTDXInstance(_0x161863),_0x4039ec=await _0x282e7a['run']({'options':{..._0x161863,..._0x5751c2},'args':[],'tdx':_0x507785});gracefulExit(_0x4039ec);};},createEngageListAction=_0x15507c=>{return async(_0x4c392c,_0x2bf186)=>{const _0x5f4a7f=a2_0x22e8,_0x31af8f=new _0x15507c(),_0x13dfdd=program['opts'](),_0x1c5d4c=await createTDXInstance(_0x13dfdd),_0x52e4da=await _0x31af8f[_0x5f4a7f(0x1e5)]({'options':{..._0x13dfdd,..._0x2bf186},'args':_0x4c392c?[_0x4c392c]:[],'tdx':_0x1c5d4c});gracefulExit(_0x52e4da);};},campaignCmd=engageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2bb))['description']('Campaign\x20management');campaignCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x224))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x2a4))['option'](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x372))['option'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x2ebaf3(0x3e5))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x23b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f4),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x372))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3ed))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1cf))[a2_0x2ebaf3(0x1ea)]('--workspace\x20<name>',a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3e9),a2_0x2ebaf3(0x49e))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command']('create')['description'](a2_0x2ebaf3(0x2b0))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),'Campaign\x20name')[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x3fb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),'Campaign\x20description')['option'](a2_0x2ebaf3(0x3b3),a2_0x2ebaf3(0x275))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x412),a2_0x2ebaf3(0x244))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x27e),a2_0x2ebaf3(0x2bd))[a2_0x2ebaf3(0x1ea)]('--start-at\x20<datetime>',a2_0x2ebaf3(0x261))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x476))[a2_0x2ebaf3(0x345)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command']('update\x20<name-or-id>')['description'](a2_0x2ebaf3(0x258))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['option'](a2_0x2ebaf3(0x301),'New\x20campaign\x20name')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),a2_0x2ebaf3(0x2b4))['option'](a2_0x2ebaf3(0x3b3),a2_0x2ebaf3(0x275))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x412),a2_0x2ebaf3(0x244))['option']('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')['option'](a2_0x2ebaf3(0x499),a2_0x2ebaf3(0x261))[a2_0x2ebaf3(0x1ea)]('--timezone\x20<tz>',a2_0x2ebaf3(0x476))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x2ebaf3(0x1d4))['description'](a2_0x2ebaf3(0x1fb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),'Workspace\x20name')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x319),a2_0x2ebaf3(0x347))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x236))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x47e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x334))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3b9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x20b))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x210))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3b1))['description']('Duplicate\x20a\x20campaign')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x2ebaf3(0x308)]('pull\x20[workspace-name]')['description'](a2_0x2ebaf3(0x306))['option'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),'Pull\x20specific\x20campaign\x20by\x20name')['option'](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x2a4))['option'](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x1fe))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x2ebaf3(0x352))['description'](a2_0x2ebaf3(0x47b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x362))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x27f))['option'](a2_0x2ebaf3(0x424),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x2ebaf3(0x26a))['description']('Always-on\x20campaign\x20management');alwaysOnCampaignCmd['command'](a2_0x2ebaf3(0x332))['description'](a2_0x2ebaf3(0x46e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x2a4))[a2_0x2ebaf3(0x1ea)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4c5))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x326))[a2_0x2ebaf3(0x1ea)]('--type\x20<type>',a2_0x2ebaf3(0x2a4))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x20e))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),'Workspace\x20name\x20(required)')['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3ed))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x497))[a2_0x2ebaf3(0x27b)]('--workspace\x20<name>',a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3e9),a2_0x2ebaf3(0x49e))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4d9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x49f))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),'Campaign\x20name')['requiredOption'](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x3fb))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),'Workspace\x20name\x20(required)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),a2_0x2ebaf3(0x2b4))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3b3),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c4),a2_0x2ebaf3(0x26c))[a2_0x2ebaf3(0x345)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x43e))[a2_0x2ebaf3(0x39c)]('Update\x20an\x20always-on\x20campaign')[a2_0x2ebaf3(0x27b)]('--workspace\x20<name>',a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x1ea)]('--name\x20<name>',a2_0x2ebaf3(0x4cc))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),'Campaign\x20description')['option'](a2_0x2ebaf3(0x3b3),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c4),a2_0x2ebaf3(0x26c))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1d4))[a2_0x2ebaf3(0x39c)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')[a2_0x2ebaf3(0x27b)]('--workspace\x20<name>',a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x319),a2_0x2ebaf3(0x347))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)]('launch\x20<name-or-id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x44b))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x2ebaf3(0x334))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x214))[a2_0x2ebaf3(0x27b)]('--workspace\x20<name>',a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x20b))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3a8))['requiredOption'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd['command'](a2_0x2ebaf3(0x374))['description'](a2_0x2ebaf3(0x24a))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),'Workspace\x20name\x20(required)')['option'](a2_0x2ebaf3(0x319),'Skip\x20confirmation\x20prompt')[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command']('duplicate\x20<name-or-id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4d5))['requiredOption'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x446))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command']('template')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1d8));templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3de))['description'](a2_0x2ebaf3(0x1ef))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3ed))['description']('Show\x20email\x20template\x20details')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)]('--full',a2_0x2ebaf3(0x49e))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4d9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x29a))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x42a))['requiredOption'](a2_0x2ebaf3(0x2d0),a2_0x2ebaf3(0x367))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x365),'HTML\x20template\x20content')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x464),a2_0x2ebaf3(0x364))[a2_0x2ebaf3(0x1ea)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f1),a2_0x2ebaf3(0x35b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x431),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x10b6df=>{const _0x3a86db=a2_0x2ebaf3;if(![_0x3a86db(0x38f),_0x3a86db(0x4b2)][_0x3a86db(0x4df)](_0x10b6df))throw new SDKError(ErrorCode[_0x3a86db(0x42f)],_0x3a86db(0x4ae)+_0x10b6df+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x10b6df;})[a2_0x2ebaf3(0x345)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x43e))['description'](a2_0x2ebaf3(0x455))[a2_0x2ebaf3(0x1ea)]('--workspace\x20<name>','Workspace\x20name')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x3d7))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2d0),a2_0x2ebaf3(0x367))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x365),'HTML\x20template\x20content')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x464),a2_0x2ebaf3(0x364))['option'](a2_0x2ebaf3(0x3f1),a2_0x2ebaf3(0x35b))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x371))[a2_0x2ebaf3(0x39c)]('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x2ebaf3(0x1ea)]('--workspace\x20<name>',a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),'Pull\x20specific\x20template\x20by\x20name')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cd),a2_0x2ebaf3(0x347))['option'](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x1fe))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x2ebaf3(0x308)]('push\x20[target]')['description'](a2_0x2ebaf3(0x477))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['option'](a2_0x2ebaf3(0x4cd),'Skip\x20confirmation\x20prompt')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x272))[a2_0x2ebaf3(0x345)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0x2ebaf3(0x362))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3bc))['option'](a2_0x2ebaf3(0x424),a2_0x2ebaf3(0x30d))['action'](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x2ebaf3(0x308)]('delete\x20<name-or-id>')['description'](a2_0x2ebaf3(0x390))['option']('--workspace\x20<name>','Workspace\x20name')['option'](a2_0x2ebaf3(0x319),'Skip\x20confirmation\x20prompt')[a2_0x2ebaf3(0x345)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x2ebaf3(0x420))[a2_0x2ebaf3(0x39c)]('Workspace\x20management');workspaceCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1b7))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x2ebaf3(0x249))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1b0))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x2ebaf3(0x3ed))[a2_0x2ebaf3(0x39c)]('Show\x20workspace\x20details')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3e9),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x2ebaf3(0x345)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x2ebaf3(0x4d9))[a2_0x2ebaf3(0x39c)]('Create\x20a\x20workspace')[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x3ff))['option'](a2_0x2ebaf3(0x1f9),'Workspace\x20description')[a2_0x2ebaf3(0x345)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x43e))['description'](a2_0x2ebaf3(0x4cb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x22f))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),a2_0x2ebaf3(0x1f6))[a2_0x2ebaf3(0x345)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1d4))['description'](a2_0x2ebaf3(0x1cd))[a2_0x2ebaf3(0x1ea)]('--yes',a2_0x2ebaf3(0x347))[a2_0x2ebaf3(0x345)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command']('use\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2fa))[a2_0x2ebaf3(0x345)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x27a))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3da));lineSenderAccountCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)]('List\x20LINE\x20sender\x20accounts')['option'](a2_0x2ebaf3(0x328),'Workspace\x20name')['action'](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x2ebaf3(0x308)]('show\x20<name-or-id>')['description'](a2_0x2ebaf3(0x1ed))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd['command']('line-imagemap-image')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x248));function a2_0x46e2(){const _0x266f7b=['Ending\x20offset\x20(default:\x2020)','Interactive\x20chat\x20selector','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--name\x20<new-name>','Folder\x20name\x20for\x20organization','--attributes-file\x20<file>','0.7','RT\x20Journey\x20management','--kind\x20<kind>','--email-sender-id\x20<id>','join','Target\x20directory\x20for\x20YAML\x20files','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','45Ifmquf','Custom\x20revision\x20name\x20(default:\x20timestamp)','segments\x20[path]','clear','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--max-tool-iterations\x20<n>','replace','Output\x20file\x20path','workspace','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','5177186bZnyFa','workflows\x20[project]','--verbose','Pull\x20child\x20segments\x20to\x20YAML\x20files','Overwrite\x20local\x20changes\x20without\x20confirmation','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Override\x20project\x20name','List\x20available\x20LLM\x20models','Template\x20name','\x22.\x20Must\x20be\x20a\x20number.','show\x20<policy>','user','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','INVALID_ARGUMENT','users','--editor-type\x20<type>','-w,\x20--web','resume\x20<name-or-path>','show\x20<personalization_id>','desc','use\x20[resource]\x20[value]','push','validate\x20[name]','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','--jsonl','--behaviors\x20<json>','--llm-project\x20<name>','Pause\x20activations\x20in\x20an\x20RT\x20journey','update\x20<name-or-id>','preAction','--max-depth\x20<depth>','Workspace\x20name\x20(required)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','--master','--next','Name\x20for\x20the\x20duplicated\x20campaign','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','-f,\x20--file\x20<path>','Transition\x20a\x20task\x20to\x20a\x20new\x20status','Launch\x20an\x20always-on\x20campaign','-p,\x20--profile\x20<name>','padWidth','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Workflow\x20(Digdag)\x20management\x20commands','pull\x20[name]','Make\x20service\x20public\x20(default:\x20private)','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','entries','Update\x20an\x20email\x20template','--account-name\x20<name>','list\x20[project]','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','retry','Customer\x20group\x20as\x20JSON\x20string','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','--resume-from\x20<task>','Sections\x20as\x20an\x20inline\x20JSON\x20array','Remove\x20API\x20key\x20from\x20system\x20keychain','list\x20[name]','secrets','List\x20journeys\x20in\x20current\x20context','Unknown\x20action:\x20','--html-file\x20<path>','stdout','delete\x20<args...>','Run\x20tests\x20for\x20an\x20LLM\x20agent','create\x20<segment_name>','--last','table','List\x20all\x20workflow\x20schedules','--parent-folder\x20<name>','view\x20[name]','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','sql\x20[segment_name]','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--include-subtasks','Show\x20journey\x20table\x20column-to-step\x20mapping','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--github\x20<owner/repo>','--file\x20<path>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','history\x20<name>','list\x20[path]','versions\x20<name-or-path>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','--revision\x20<revision>','--from\x20<date>','Launch\x20a\x20campaign','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20master\x20table\x20sample\x20data','--temperature\x20<n>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','-X,\x20--method\x20<method>','--invisible','subcommandTerm','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','project','Personalization\x20management','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--session\x20<id>','--skip-validation','login','json','Preview\x20operation\x20without\x20executing','Updated\x20description','filter','auth','columns\x20<name-or-path>','Reason\x20for\x20killing\x20the\x20attempt','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','RT\x202.0\x20configuration\x20management','Show\x20always-on\x20campaign\x20details','--model\x20<name>','--start-at\x20<datetime>','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','preview\x20[file]','Workflow\x20attempt\x20management','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Create\x20a\x20new\x20always-on\x20campaign','Push\x20without\x20confirmation','Pull\x20workflow\x20project\x20to\x20local\x20folder','Output\x20folder\x20(default:\x20{project_name}.llm)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','--behaviors-file\x20<file>','sql\x20[name]','colorFn','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Show\x20document\x20details','hidden','2146280SrwAbs','--add-behaviors\x20<json>','Preview\x20without\x20creating\x20the\x20project','Invalid\x20editor\x20type:\x20','folders\x20<parent_name>','chat\x20[message...]','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','grapesjs','push\x20[file]','AI-native\x20work\x20management','sessions\x20[project]','argument','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','List\x20composable\x20audiences','Resume\x20activations\x20in\x20an\x20RT\x20journey','--session-time\x20<time>','help','Show\x20a\x20specific\x20realtime\x20personalization','parse','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','attempt','after','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--enable-utm-tracking','always-on-campaigns\x20[pattern]','--follow','isTTY','--in\x20<database>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','logs','Update\x20a\x20workspace','New\x20campaign\x20name','-y,\x20--yes','upload\x20<file>','--timezone\x20<tz>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--public','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Set\x20a\x20profile\x20configuration\x20value','Output\x20directory','Duplicate\x20an\x20always-on\x20campaign','use\x20<project-name>','Read\x20SQL\x20query\x20from\x20file','Show\x20authentication\x20status\x20and\x20current\x20context','create','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--all','CDP\x20segment\x20management\x20commands','chdir','engage','includes','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Parent\x20folder\x20name\x20for\x20nested\x20folders','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Preview\x20composable\x20segment\x20query\x20on\x20CDW','Output\x20as\x20JSON\x20Lines','resume_activations\x20<journeyId>','createAsync','--limit\x20<n>','[EXPERIMENTAL]\x20Show\x20chat\x20log','--to\x20<timestamp>','opts','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Run\x20specific\x20tests\x20(comma-separated)','schema\x20<type>','Kill\x20a\x20job','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Agent\x20description','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','INFO','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Run\x20Trino\x20query\x20with\x20streaming\x20results','--include-stats','_list-commands','Composable\x20segment\x20commands','New\x20service\x20description','-d,\x20--database\x20<db>','flags','push\x20[path]','List\x20email\x20senders','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Filtering\x20rule\x20as\x20JSON\x20string','Result\x20output\x20destination\x20URL','validate\x20[file]','optionDescription','Customer\x20group\x20from\x20JSON\x20file','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','error','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','\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','Delete\x20a\x20workspace','chats','Show\x20campaign\x20details','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','folder','workflow','End\x20time\x20filter\x20(ISO\x208601\x20format)','delete\x20<name-or-id>','Overwrite\x20existing\x20profile','--description\x20<text>','Clear\x20session\x20context','Email\x20template\x20management','--status\x20<status>','run\x20[name]','Push\x20YAML\x20files\x20to\x20CAS\x20API','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','--retry-limit\x20<0~32>','info\x20[segment_name]','agents\x20[pattern]','stats\x20<name-or-path>','log','Attributes\x20as\x20JSON\x20string','unset\x20<resource>','tdx\x20','run','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Make\x20segment\x20invisible\x20(default:\x20visible)','--priority\x20<-2~2>','Include\x20retried\x20attempts','option','trace','patch\x20<personalization_id>','Show\x20LINE\x20sender\x20account\x20details','trino','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','profiles','\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','117675tjjLJB','--tags\x20<tags>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Workspace\x20description','Show\x20connection\x20details\x20by\x20name','--no-proxy','--description\x20<desc>','--to\x20<n>','Delete\x20a\x20campaign','use\x20[name]','agent','Show\x20what\x20would\x20be\x20written\x20without\x20writing','push\x20[name]','Retry\x20limit\x20(0\x20to\x2032)','list','Scheduled\x20query\x20management\x20commands','Workflow\x20project\x20management','--default','--format\x20<format>','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','update\x20<agent-name>','logLevel','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','resume\x20<name-or-id>','Timezone\x20for\x20cron\x20(default:\x20UTC)','--delay\x20<seconds>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Resume\x20a\x20paused\x20campaign','Parent\x20segment\x20description','update\x20<name>','List\x20jobs','Pause\x20an\x20always-on\x20campaign','jobs','--schedule-option\x20<value>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','New\x20segment\x20name','database','preview\x20<segment_name>','Job\x20management\x20commands','forEach','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','-v,\x20--verbose','argv','show\x20<folder_ref>','Invalid\x20--limit\x20value:\x20\x22','options','gitRevision','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Agent\x20prompt/instructions','Submit\x20a\x20job','pull\x20<project>\x20[target-dir]','--output\x20<file>','clone\x20[source]','length','Move\x20to\x20folder','catch','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','New\x20workspace\x20name','Access\x20control\x20policy\x20commands','mcp','Database\x20name','--params\x20<json>','claude\x20[args...]','create\x20<name-or-path>','launch\x20<name-or-id>','service','YAML\x20file\x20path\x20for\x20unpushed\x20segment','--days\x20<n>','isArray','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','[task-name]','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Version\x20number\x20to\x20view','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','commands','Behaviors\x20from\x20JSON\x20file','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Email\x20sender\x20ID\x20for\x20delivery','addHelpText','Get\x20job\x20results','view\x20<name-or-path>','LINE\x20imagemap\x20image\x20management','workspaces\x20[pattern]','Finish\x20an\x20always-on\x20campaign','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','--template\x20<name>','configureHelp','board','Composable\x20audience\x20name','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','stderr','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','desc\x20[segment_name]','Read\x20query\x20from\x20file','Open\x20a\x20document\x20in\x20$EDITOR','repeat','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Update\x20a\x20campaign','Create\x20a\x20new\x20agent\x20in\x20current\x20project','noColor','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','audience','--help','buildTime','padEnd','Follow/watch\x20timeline\x20for\x20running\x20attempts','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','alias','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','--table','Document\x20body\x20text','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--name\x20<new_name>','profile','Initialize\x20a\x20new\x20workspace','always-on-campaign','Create\x20segment\x20folder','Enable\x20UTM\x20tracking','api\x20[endpoint]','--add-behaviors-file\x20<file>','--name\x20<text>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Show\x20only\x20master\x20table\x20validation','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Priority\x20(critical,\x20high,\x20medium,\x20low)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--in\x20<db>','new\x20<title>','Output\x20as\x20JSON','line-sender-account','requiredOption','--from\x20<n>','--starter-message\x20<text>','--json-columns\x20<cols>','Validate\x20campaign\x20YAML\x20files\x20locally','Show\x20job\x20details','set','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Updated\x20schedule\x20option','--stream','--customer-group-file\x20<file>','[attempt-id]','--clear','--new','617982UAGbNQ','delete\x20<project-name-or-id>','attempts\x20[project]','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','show\x20<service_id>\x20[parent_segment]','Attributes\x20from\x20JSON\x20file','view\x20[segment_name]','--timeout\x20<seconds>','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','use\x20<path>','Timezone\x20for\x20cron','Agent\x20name','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Create\x20a\x20new\x20LLM\x20project','create\x20<name>\x20[parent_segment]','Create\x20a\x20new\x20profile','journeys\x20[pattern]','Create\x20an\x20email\x20template','--rule-file\x20<file>','8852zIMeWV','--customer-group\x20<json>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Assignee','Add\x20behaviors\x20from\x20JSON\x20file','delete\x20<service_id>\x20[parent_segment]','schedules','delete\x20<name>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--prompt\x20<text>','split','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','create\x20<name>','Show\x20schedule\x20execution\x20history','--folder\x20<name>','\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','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','[action]','Skip\x20confirmation\x20prompts','Create\x20a\x20new\x20campaign','Enable\x20a\x20disabled\x20workflow\x20schedule','commandDescription','\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','Campaign\x20description','Master\x20database\x20name','set\x20<args...>','--behavior\x20[name]','map','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Maximum\x20recursion\x20depth\x20(default:\x2010)','campaign','Enable\x20verbose\x20logging','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--json','activations\x20<segment_name>','--version','timeline\x20[project.workflow]','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','delivery','Parent\x20segment\x20management','1157264fOIQkX','information_schema','Start\x20a\x20new\x20chat\x20session','Timezone\x20(e.g.,\x20America/Los_Angeles)','engage_workspace','Add\x20attributes\x20as\x20JSON\x20string','Personalization\x20name','show\x20<job-id>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Add\x20behaviors\x20as\x20JSON\x20string','--subject\x20<subject>','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Starter\x20message','-o,\x20--output\x20<file>','usage','[options]\x20--\x20[claude-code-args...]','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','registeredArguments','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','connections','Update\x20an\x20existing\x20agent','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--agent\x20<ref>','flatMap','Cron\x20expression\x20for\x20scheduling',',\x20version\x20','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--limit\x20<number>','session','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Setup\x20API\x20key\x20authentication\x20interactively','--kind\x20<type>','Token\x20description','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','549nmcatQ','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Include\x20retried\x20attempts\x20(for\x20list)','required','--color','Preview\x20changes\x20without\x20pushing','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--parent-segment\x20<name>','allowExcessArguments','statusline','--body\x20<body>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','run\x20[workflow]','--result\x20<url>','Continue\x20most\x20recent\x20conversation','--trace','--to\x20<date>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Show\x20items\x20updated\x20within\x20N\x20days','summary','Delete\x20an\x20LLM\x20project','-o,\x20--output\x20<dir>','delete\x20<agent-name>','--attribute\x20[name]','--name\x20<name>','Service\x20description','describe','List\x20secret\x20keys\x20for\x20a\x20project','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Pull\x20campaigns\x20to\x20YAML\x20files','--dry-run','command','Maximum\x20tool\x20iterations\x20(default:\x204)','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Export\x20journey(s)\x20as\x20YAML\x20files','Project\x20description','Show\x20all\x20files\x20including\x20valid\x20ones','configuration_versions\x20[name]','--num\x20<1-10>','_hidden','journey','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','\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','Skip\x20population\x20counting','slice','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--session-id\x20<id>','--from\x20<timestamp>','--yes','--method\x20<pm>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','List\x20all\x20users\x20in\x20the\x20account','pull\x20[parent_or_file]','New\x20service\x20name','isDirectory','delete\x20<token_id>\x20[parent_segment]','Query\x20engine\x20version','log\x20<chat-id>','--no-eval','stringify','--engine-version\x20<version>','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','init\x20[name]','--workspace\x20<name>','tasks','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Create\x20a\x20scheduled\x20query','schedule','Personalization\x20service\x20token\x20management','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--allowed-ips\x20<ips>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','list\x20[pattern]','--param\x20<key=value>','pause\x20<name-or-id>','parents\x20[pattern]','Initial\x20status','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--table\x20<table>','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Query\x20type:\x20trino\x20or\x20hive','Maximum\x20rows\x20to\x20display','Segment\x20description','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','links\x20<name>','status','show\x20<agent-name>','upgrade\x20[version]','subcommandDescription','Delete\x20a\x20realtime\x20personalization','Master\x20table\x20name','action','Limit\x20number\x20of\x20rows','Skip\x20confirmation\x20prompt','Updated\x20timezone','Show\x20segment\x20details\x20(alias\x20for\x20view)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','--job-type\x20<type>','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','enable\x20<id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--type\x20<api_type>','get','Delete\x20an\x20agent','push\x20[target]','DEBUG','CDP\x20Journey\x20Orchestration\x20commands','-u,\x20--use','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','-1d','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','-d,\x20--database\x20<database>','outputHelp','Plaintext\x20template\x20content','-H,\x20--header\x20<header>','Data\x20connection\x20management\x20(for\x20activations/exports)','--time\x20<iso8601>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--add-attributes-file\x20<file>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','validate\x20[target]','Arguments:','Read\x20HTML\x20template\x20from\x20file','--html\x20<html>','TRACE','Email\x20subject\x20template','Describe\x20table\x20schema','Behaviors\x20as\x20JSON\x20string','Open\x20segment\x20in\x20web\x20browser','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','parent','create\x20<name>\x20<service_id>\x20[parent_segment]','pull\x20[workspace]','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','directory','finish\x20<name-or-id>','System\x20prompt/instructions\x20(default:\x20empty)','optionTerm','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','kill\x20<job-id>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','hook','Include\x20subtasks\x20in\x20tasks\x20output','upload\x20[project-name-or-dir]','upgrade','--cron\x20<expression>','Database\x20name\x20(default:\x20information_schema)','Pause\x20a\x20running\x20journey','Show\x20Kanban\x20board\x20view\x20of\x20tasks','item','Directory\x20does\x20not\x20exist:\x20','--audience-id\x20<id>','job','\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','--path\x20<file-path>','work','use\x20<name>','--priority\x20<priority>','result\x20<job-id>','--database\x20<name>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','beefree','Delete\x20an\x20email\x20template','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','use\x20[project]','List\x20activations\x20for\x20a\x20journey','--no-count-population','Show\x20journey\x20details','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Resume\x20a\x20paused\x20journey','backup\x20<name>','Job\x20priority\x20(-2\x20to\x202)','fields\x20[parent_name]','LLM\x20agent\x20management','description','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Add\x20attributes\x20from\x20JSON\x20file','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','argumentDescription','Include\x20raw\x20history\x20data\x20in\x20output','Delay\x20in\x20seconds\x20before\x20execution','Open\x20parent\x20segment\x20in\x20web\x20browser','Task\x20name\x20for\x20logs\x20action','Get\x20current\x20RT\x20configuration\x20version\x20status','projects\x20[pattern]','Resume\x20a\x20paused\x20always-on\x20campaign','name','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','--tsv','Workflow\x20parameter\x20(repeatable)','--debug','Parse\x20and\x20validate\x20without\x20executing','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Comma-separated\x20tags','duplicate\x20<name-or-id>','Filtering\x20rule\x20from\x20JSON\x20file','--segment\x20<path>','aliases','5300010oHdEwZ','senders\x20[pattern]','policy','kill','Pause\x20a\x20campaign','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','show\x20[table]','Validate\x20template\x20YAML\x20files\x20locally','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','traffic\x20<name-or-path>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Skip\x20validation\x20of\x20.dig\x20files','Resume\x20from\x20specific\x20task\x20(retry)','List\x20all\x20versions\x20of\x20a\x20journey','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--assignee\x20<assignee>','--interval\x20<range>','Resume\x20from\x20specific\x20task','--name\x20<names>','--schedule-type\x20<type>','tdx','Revision\x20name\x20(default:\x20timestamp)','-C,\x20--directory\x20<path>','move\x20<name>\x20<status>','Update\x20a\x20realtime\x20personalization\x20entity','show\x20<name>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Force\x20retry\x20even\x20if\x20not\x20failed','List\x20all\x20data\x20connections','desc\x20[name]','Name\x20for\x20the\x20new\x20project\x20(required)','submit\x20[query]','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','New\x20template\x20name','then','-f,\x20--force','LINE\x20sender\x20account\x20management','Journey\x20version\x20management','Manage\x20workflow\x20schedules\x20(enable/disable)','format','templates\x20[pattern]','debug','--reason\x20<text>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Apply\x20a\x20template','...','update\x20<service_id>\x20[parent_segment]','campaigns\x20[pattern]','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Show\x20timeline\x20for\x20specific\x20attempt','Database\x20name\x20(required)','--full','create\x20<parent_name>\x20<folder_name>','set\x20<key=value>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','show\x20<name-or-id>','--catalog\x20<catalog>','Disable\x20a\x20workflow\x20schedule','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','--plaintext\x20<text>','--include-retried','Check\x20for\x20updates\x20without\x20installing','--type\x20<type>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','List\x20all\x20available\x20profiles','tsv','--enriched','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Campaign\x20type\x20(email\x20or\x20push)','setup','push\x20[source-dir]','variadic','Workspace\x20name','--sections\x20<json>','jsonl','\x20(resolved\x20to\x20','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','restore\x20<folder>','--data\x20<data>','--delete','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)'];a2_0x46e2=function(){return _0x266f7b;};return a2_0x46e2();}lineImagemapImageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4ce))[a2_0x2ebaf3(0x39c)]('Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)')['action'](createEngageAction(EngageLineImagemapImageUploadCommand));const deliveryCmd=program['command'](a2_0x2ebaf3(0x2c4))['description']('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3b6))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1c2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x2ebaf3(0x308)]('connection')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x35d)),connectionListAction=async _0xd1df24=>{const _0x15cadc=a2_0x2ebaf3,_0x2c7333=new ConnectionListCommand(),_0x43eb26=program[_0x15cadc(0x1af)](),_0x20423=await createTDXInstance(_0x43eb26),_0x1b9c32=await _0x2c7333[_0x15cadc(0x1e5)]({'options':{..._0x43eb26,..._0xd1df24},'args':[],'tdx':_0x20423});gracefulExit(_0x1b9c32);};connectionCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3d2))[a2_0x2ebaf3(0x345)](connectionListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2d9),{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x39d))[a2_0x2ebaf3(0x345)](connectionListAction),connectionCmd[a2_0x2ebaf3(0x308)]('show\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1f7))['action'](async(_0x4fb297,_0x3bc2f8)=>{const _0x1dafd9=a2_0x2ebaf3,_0x268757=new ConnectionShowCommand(),_0x1abc32=program[_0x1dafd9(0x1af)](),_0x10b0b=await createTDXInstance(_0x1abc32),_0x4dc16f=await _0x268757[_0x1dafd9(0x1e5)]({'options':{..._0x1abc32,..._0x3bc2f8},'args':[_0x4fb297],'tdx':_0x10b0b});gracefulExit(_0x4dc16f);}),connectionCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1b3))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x32b))[a2_0x2ebaf3(0x345)](async(_0x131454,_0x278123)=>{const _0x58c89e=a2_0x2ebaf3,_0x240183=new ConnectionSchemaCommand(),_0x17931c=program['opts'](),_0x5d0265=await createTDXInstance(_0x17931c),_0xd574ca=await _0x240183[_0x58c89e(0x1e5)]({'options':{..._0x17931c,..._0x278123},'args':[_0x131454],'tdx':_0x5d0265});gracefulExit(_0xd574ca);}),connectionCmd['command']('types')[a2_0x2ebaf3(0x39c)]('List\x20available\x20connector\x20types')[a2_0x2ebaf3(0x345)](async _0x26965e=>{const _0x297358=a2_0x2ebaf3,_0x5e8732=new ConnectionTypesCommand(),_0xb59400=program[_0x297358(0x1af)](),_0x705fc0=await createTDXInstance(_0xb59400),_0x2fbf0c=await _0x5e8732[_0x297358(0x1e5)]({'options':{..._0xb59400,..._0x26965e},'args':[],'tdx':_0x705fc0});gracefulExit(_0x2fbf0c);}),connectionCmd[a2_0x2ebaf3(0x308)]('settings\x20<type>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x28c))['action'](async(_0x162faa,_0x7aafdc)=>{const _0x2eda0a=a2_0x2ebaf3,_0x2fdad4=new ConnectionSettingsCommand(),_0x56f74a=program[_0x2eda0a(0x1af)](),_0x158879=await createTDXInstance(_0x56f74a),_0x34d85c=await _0x2fdad4[_0x2eda0a(0x1e5)]({'options':{..._0x56f74a,..._0x7aafdc},'args':[_0x162faa],'tdx':_0x158879});gracefulExit(_0x34d85c);});const casCmd=program[a2_0x2ebaf3(0x308)]('cas')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x443));casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4b9))[a2_0x2ebaf3(0x345)](async _0x213d4e=>{const _0x477db8=a2_0x2ebaf3,_0x594f49=new CASListCommand(),_0x292e07=program[_0x477db8(0x1af)](),_0xfe6bc=await createTDXInstance(_0x292e07),_0x485f36=await _0x594f49['run']({'options':{..._0x292e07,..._0x213d4e},'args':[],'tdx':_0xfe6bc});gracefulExit(_0x485f36);}),casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3d3))[a2_0x2ebaf3(0x39c)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2ebaf3(0x345)](async(_0x7ed391,_0x8904f4)=>{const _0x473dd1=a2_0x2ebaf3,_0x28a351=new CASDescCommand(),_0x51829f=program[_0x473dd1(0x1af)](),_0x2cfe55=await createTDXInstance(_0x51829f),_0x321e00=await _0x28a351['run']({'options':{..._0x51829f,..._0x8904f4},'args':_0x7ed391?[_0x7ed391]:[],'tdx':_0x2cfe55});gracefulExit(_0x321e00);}),casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x451))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x24b))[a2_0x2ebaf3(0x1ea)]('--dir\x20<dir>',a2_0x2ebaf3(0x414))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x44f))[a2_0x2ebaf3(0x345)](async(_0x1db23c,_0xaa0572)=>{const _0x4e3275=a2_0x2ebaf3,_0x151410=new CASPullCommand(),_0x315013=program[_0x4e3275(0x1af)](),_0x296adb=await createTDXInstance(_0x315013),_0x3376e8=await _0x151410[_0x4e3275(0x1e5)]({'options':{..._0x315013,..._0xaa0572},'args':_0x1db23c?[_0x1db23c]:[],'tdx':_0x296adb});gracefulExit(_0x3376e8);}),casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x352))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1db))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x276))[a2_0x2ebaf3(0x345)](async(_0x2bdb7d,_0x5d783e)=>{const _0x1ccc3d=a2_0x2ebaf3,_0x575472=new CASPushCommand(),_0x150559=program[_0x1ccc3d(0x1af)](),_0x2964ff=await createTDXInstance(_0x150559),_0x2a8bb0=await _0x575472[_0x1ccc3d(0x1e5)]({'options':{..._0x150559,..._0x5d783e},'args':_0x2bdb7d?[_0x2bdb7d]:[],'tdx':_0x2964ff});gracefulExit(_0x2a8bb0);}),casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x21a))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4e5))[a2_0x2ebaf3(0x1ea)]('--audience\x20<name>',a2_0x2ebaf3(0x24f))[a2_0x2ebaf3(0x345)](async(_0x973433,_0x9212ac)=>{const _0x5b3e18=a2_0x2ebaf3,_0x5483f6=new CASPreviewCommand(),_0x131250=program[_0x5b3e18(0x1af)](),_0x2f6693=await createTDXInstance(_0x131250),_0x225af2=await _0x5483f6['run']({'options':{..._0x131250,..._0x9212ac},'args':[_0x973433,_0x9212ac[_0x5b3e18(0x25c)]],'tdx':_0x2f6693});gracefulExit(_0x225af2);});const casSgCmd=casCmd['command']('sg')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1bd));casSgCmd[a2_0x2ebaf3(0x308)]('list\x20[audience_name]')[a2_0x2ebaf3(0x39c)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0x2ebaf3(0x345)](async(_0x5cb3b5,_0x31792f)=>{const _0x3636ca=a2_0x2ebaf3,_0x3887db=new CASSegmentListCommand(),_0x179429=program[_0x3636ca(0x1af)](),_0x23b4ea=await createTDXInstance(_0x179429),_0x2c623a=await _0x3887db[_0x3636ca(0x1e5)]({'options':{..._0x179429,..._0x31792f},'args':_0x5cb3b5?[_0x5cb3b5]:[],'tdx':_0x23b4ea});gracefulExit(_0x2c623a);});const journeyCmd=program['command'](a2_0x2ebaf3(0x311))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x354)),journeyListAction=async(_0x1e5211,_0x2dbf2e)=>{const _0x1ab38a=a2_0x2ebaf3,_0x4b452c=new JourneyListCommand(),_0x2f9382=program[_0x1ab38a(0x1af)](),_0x483ced=await createTDXInstance(_0x2f9382),_0x4deddb=await _0x4b452c[_0x1ab38a(0x1e5)]({'options':{..._0x2f9382,..._0x2dbf2e},'args':_0x1e5211?[_0x1e5211]:[],'tdx':_0x483ced});gracefulExit(_0x4deddb);};journeyCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x462))[a2_0x2ebaf3(0x345)](journeyListAction),journeyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x247))['description'](a2_0x2ebaf3(0x395))['option'](a2_0x2ebaf3(0x432),'Open\x20journey\x20in\x20web\x20browser')['option'](a2_0x2ebaf3(0x1bb),'Include\x20execution\x20statistics')[a2_0x2ebaf3(0x345)](async(_0x50eb12,_0x760b43)=>{const _0x8ec1a7=a2_0x2ebaf3,_0x2d63b0=new JourneyViewCommand(),_0xf98ee=program['opts'](),_0x26667c=await createTDXInstance(_0xf98ee),_0x3bd975=await _0x2d63b0[_0x8ec1a7(0x1e5)]({'options':{..._0xf98ee,..._0x760b43},'args':[_0x50eb12],'tdx':_0x26667c});gracefulExit(_0x3bd975);}),journeyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1e0))['description']('Show\x20journey\x20statistics')[a2_0x2ebaf3(0x1ea)]('--stage\x20<name>','Show\x20stats\x20for\x20specific\x20stage')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47d),a2_0x2ebaf3(0x2b9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2f8),a2_0x2ebaf3(0x1b1))[a2_0x2ebaf3(0x1ea)]('--include-history',a2_0x2ebaf3(0x3a2))['action'](async(_0x5ec42f,_0x5aa778)=>{const _0x2252b7=a2_0x2ebaf3,_0xaf72e4=new JourneyStatsCommand(),_0x3304ef=program[_0x2252b7(0x1af)](),_0x46d3b4=await createTDXInstance(_0x3304ef),_0xa27797=await _0xaf72e4[_0x2252b7(0x1e5)]({'options':{..._0x3304ef,..._0x5aa778},'args':[_0x5ec42f],'tdx':_0x46d3b4});gracefulExit(_0xa27797);}),journeyCmd['command'](a2_0x2ebaf3(0x3bf))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x291))[a2_0x2ebaf3(0x1ea)]('--type\x20<type>',a2_0x2ebaf3(0x1dc))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47d),a2_0x2ebaf3(0x2b9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2f8),a2_0x2ebaf3(0x1b1))['option'](a2_0x2ebaf3(0x2e1),'Maximum\x20number\x20of\x20nodes',_0x5e127f=>{const _0x29b7ef=a2_0x2ebaf3,_0x117af3=parseInt(_0x5e127f,0xa);if(isNaN(_0x117af3))throw new Error(_0x29b7ef(0x221)+_0x5e127f+_0x29b7ef(0x42b));return _0x117af3;})[a2_0x2ebaf3(0x345)](async(_0x2830cf,_0x49abbb)=>{const _0x1a4f39=a2_0x2ebaf3,_0x5ed6fc=new JourneyTrafficCommand(),_0x5464fe=program[_0x1a4f39(0x1af)](),_0xf517fb=await createTDXInstance(_0x5464fe),_0x4af7fd=await _0x5ed6fc['run']({'options':{..._0x5464fe,..._0x49abbb},'args':[_0x2830cf],'tdx':_0xf517fb});gracefulExit(_0x4af7fd);}),journeyCmd[a2_0x2ebaf3(0x308)]('pause\x20<name-or-path>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x381))[a2_0x2ebaf3(0x345)](async(_0x4d8d7f,_0x524a1e)=>{const _0x58128f=a2_0x2ebaf3,_0x213c59=new JourneyPauseCommand(),_0x718613=program['opts'](),_0x5390b8=await createTDXInstance(_0x718613),_0x2cec61=await _0x213c59[_0x58128f(0x1e5)]({'options':{..._0x718613,..._0x524a1e},'args':[_0x4d8d7f],'tdx':_0x5390b8});gracefulExit(_0x2cec61);}),journeyCmd['command'](a2_0x2ebaf3(0x433))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x397))['action'](async(_0x409d1a,_0x4da1b7)=>{const _0x367a8f=a2_0x2ebaf3,_0x566910=new JourneyResumeCommand(),_0x498f72=program[_0x367a8f(0x1af)](),_0xa08a02=await createTDXInstance(_0x498f72),_0x56194a=await _0x566910[_0x367a8f(0x1e5)]({'options':{..._0x498f72,..._0x4da1b7},'args':[_0x409d1a],'tdx':_0xa08a02});gracefulExit(_0x56194a);}),journeyCmd['command'](a2_0x2ebaf3(0x451))['description'](a2_0x2ebaf3(0x30b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x44f))[a2_0x2ebaf3(0x345)](async(_0x39631b,_0x53db24)=>{const _0x4b3c81=a2_0x2ebaf3,_0x18c951=new JourneyPullCommand(),_0x3bbbfe=program[_0x4b3c81(0x1af)](),_0x292b42=await createTDXInstance(_0x3bbbfe),_0x11dd4a=await _0x18c951[_0x4b3c81(0x1e5)]({'options':{..._0x3bbbfe,..._0x53db24},'args':_0x39631b?[_0x39631b]:[],'tdx':_0x292b42});gracefulExit(_0x11dd4a);}),journeyCmd['command'](a2_0x2ebaf3(0x352))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x45c))['action'](async(_0x18508d,_0x14237f)=>{const _0x39b6a6=a2_0x2ebaf3,_0x4d228d=new JourneyPushCommand(),_0x4404d9=program['opts'](),_0x25776d=await createTDXInstance(_0x4404d9),_0x1d9e0a=await _0x4d228d[_0x39b6a6(0x1e5)]({'options':{..._0x4404d9,..._0x14237f},'args':_0x18508d?[_0x18508d]:[],'tdx':_0x25776d});gracefulExit(_0x1d9e0a);}),journeyCmd['command'](a2_0x2ebaf3(0x493))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x472))[a2_0x2ebaf3(0x345)](async(_0x4d3122,_0x370129)=>{const _0x2baf92=a2_0x2ebaf3,_0x55fc52=new JourneyColumnsCommand(),_0x129038=program[_0x2baf92(0x1af)](),_0x4fcc78=await createTDXInstance(_0x129038),_0x4647ca=await _0x55fc52[_0x2baf92(0x1e5)]({'options':{..._0x129038,..._0x370129},'args':[_0x4d3122],'tdx':_0x4fcc78});gracefulExit(_0x4647ca);}),journeyCmd[a2_0x2ebaf3(0x308)]('activations\x20<name-or-path>')['description'](a2_0x2ebaf3(0x393))[a2_0x2ebaf3(0x345)](async(_0x35be08,_0x3f9ba5)=>{const _0x3feb80=a2_0x2ebaf3,_0x277689=new JourneyActivationsCommand(),_0x1c99da=program[_0x3feb80(0x1af)](),_0x50dfb2=await createTDXInstance(_0x1c99da),_0x59cf54=await _0x277689['run']({'options':{..._0x1c99da,..._0x3f9ba5},'args':[_0x35be08],'tdx':_0x50dfb2});gracefulExit(_0x59cf54);}),journeyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x47a))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3c3))[a2_0x2ebaf3(0x345)](async(_0x5b4742,_0x133762)=>{const _0x4459c4=a2_0x2ebaf3,_0x1a871f=new JourneyVersionsCommand(),_0x2f06e5=program[_0x4459c4(0x1af)](),_0xad59c8=await createTDXInstance(_0x2f06e5),_0x396332=await _0x1a871f[_0x4459c4(0x1e5)]({'options':{..._0x2f06e5,..._0x133762},'args':[_0x5b4742],'tdx':_0xad59c8});gracefulExit(_0x396332);});const journeyVersionCmd=journeyCmd[a2_0x2ebaf3(0x308)]('version')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3db));journeyVersionCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x235))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x49a))[a2_0x2ebaf3(0x345)](async(_0x43300c,_0x2cd34f)=>{const _0x3a35c2=a2_0x2ebaf3,_0x40a8df=new JourneyVersionCreateCommand(),_0x5d03df=program[_0x3a35c2(0x1af)](),_0x50e827=await createTDXInstance(_0x5d03df),_0x9c8ef7=await _0x40a8df[_0x3a35c2(0x1e5)]({'options':{..._0x5d03df,..._0x2cd34f},'args':[_0x43300c],'tdx':_0x50e827});gracefulExit(_0x9c8ef7);}),journeyVersionCmd['command']('view\x20<name-or-path>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x274))[a2_0x2ebaf3(0x27b)]('--version\x20<number>',a2_0x2ebaf3(0x23e))[a2_0x2ebaf3(0x345)](async(_0x312c7a,_0x503e58)=>{const _0x55fd11=a2_0x2ebaf3,_0x530026=new JourneyVersionViewCommand(),_0xb51d48=program[_0x55fd11(0x1af)](),_0x2deb76=await createTDXInstance(_0xb51d48),_0x4fe1d1=await _0x530026[_0x55fd11(0x1e5)]({'options':{..._0xb51d48,..._0x503e58},'args':[_0x312c7a],'tdx':_0x2deb76});gracefulExit(_0x4fe1d1);}),journeyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x362))[a2_0x2ebaf3(0x39c)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0x2ebaf3(0x345)](async(_0x3095b2,_0x2d9986)=>{const _0xaed2ad=a2_0x2ebaf3,_0x5dfee3=new JourneyValidateCommand(),_0x17ff5c=program['opts'](),_0xa8e735=await createTDXInstance(_0x17ff5c),_0x456376=await _0x5dfee3[_0xaed2ad(0x1e5)]({'options':{..._0x17ff5c,..._0x2d9986},'args':_0x3095b2?[_0x3095b2]:[],'tdx':_0xa8e735});gracefulExit(_0x456376);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x299))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x217))[a2_0x2ebaf3(0x345)](journeyListAction);const agentSyncCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1fd))['description'](a2_0x2ebaf3(0x39b));agentSyncCmd[a2_0x2ebaf3(0x308)]('pull\x20[project]\x20[agent-name]')['description'](a2_0x2ebaf3(0x22e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2fe),a2_0x2ebaf3(0x4d4))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3d9),a2_0x2ebaf3(0x426))[a2_0x2ebaf3(0x1ea)]('-a,\x20--agent\x20<name>',a2_0x2ebaf3(0x207))[a2_0x2ebaf3(0x345)](async(_0x2b0e93,_0x5cbb01,_0x2d96d7)=>{const _0x400315=a2_0x2ebaf3,_0x26fe99=new AgentPullCommand(),_0xac0639=program[_0x400315(0x1af)](),_0x40366e=await createTDXInstance(_0xac0639),_0x568796=[];if(_0x2b0e93)_0x568796[_0x400315(0x437)](_0x2b0e93);if(_0x5cbb01)_0x568796[_0x400315(0x437)](_0x5cbb01);const _0x373395=await _0x26fe99[_0x400315(0x1e5)]({'options':{..._0xac0639,..._0x2d96d7},'args':_0x568796,'tdx':_0x40366e});gracefulExit(_0x373395);}),agentSyncCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1c1))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x305))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3d9),a2_0x2ebaf3(0x4a0))[a2_0x2ebaf3(0x345)](async(_0x45f8e2,_0x11a2a7)=>{const _0x430c7c=a2_0x2ebaf3,_0x2176ce=new AgentPushCommand(),_0x482fd7=program[_0x430c7c(0x1af)](),_0x36dc5a=await createTDXInstance(_0x482fd7),_0x1cf4c4=await _0x2176ce[_0x430c7c(0x1e5)]({'options':{..._0x482fd7,..._0x11a2a7},'args':_0x45f8e2?[_0x45f8e2]:[],'tdx':_0x36dc5a});gracefulExit(_0x1cf4c4);}),agentSyncCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x229))['description'](a2_0x2ebaf3(0x358))[a2_0x2ebaf3(0x1ea)]('-n,\x20--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x2ebaf3(0x345)](async(_0x427050,_0x428703)=>{const _0x28e833=a2_0x2ebaf3,_0x3d8be0=new AgentCloneCommand(),_0x18937f=program[_0x28e833(0x1af)](),_0xe7963b=await createTDXInstance(_0x18937f),_0x54b982=await _0x3d8be0['run']({'options':{..._0x18937f,..._0x428703},'args':_0x427050?[_0x427050]:[],'tdx':_0xe7963b});gracefulExit(_0x54b982);}),agentSyncCmd['command']('test\x20[path]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x467))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c8),a2_0x2ebaf3(0x1b2))[a2_0x2ebaf3(0x1ea)]('--tags\x20<tags>',a2_0x2ebaf3(0x3f0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x3ae))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x323),'Generate\x20test\x20conversations\x20without\x20evaluation')['option']('--reeval','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x2ebaf3(0x345)](async(_0x4fb9da,_0x14ef79)=>{const _0xbd1ff9=a2_0x2ebaf3,_0x25a3f2=new AgentTestCommand(),_0x5bd463=program[_0xbd1ff9(0x1af)](),_0x253c26=await createTDXInstance(_0x5bd463),_0x3c4704=await _0x25a3f2[_0xbd1ff9(0x1e5)]({'options':{..._0x5bd463,..._0x14ef79},'args':_0x4fb9da?[_0x4fb9da]:[],'tdx':_0x253c26});gracefulExit(_0x3c4704);}),agentSyncCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)]('List\x20agents\x20in\x20current\x20project')[a2_0x2ebaf3(0x345)](llmAgentListAction),agentSyncCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x340))['description']('Show\x20agent\x20details')['action'](async(_0x5b201b,_0x5062f2)=>{const _0x19ab93=a2_0x2ebaf3,_0xe242cf=new LLMAgentShowCommand(),_0x1222cf=program[_0x19ab93(0x1af)](),_0x5eb63b=await createTDXInstance(_0x1222cf),_0xed862d=await _0xe242cf[_0x19ab93(0x1e5)]({'options':{..._0x1222cf,..._0x5062f2},'args':[_0x5b201b],'tdx':_0x5eb63b});gracefulExit(_0xed862d);}),agentSyncCmd['command'](a2_0x2ebaf3(0x2a9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x259))[a2_0x2ebaf3(0x1ea)]('--system-prompt\x20<text>',a2_0x2ebaf3(0x375))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x498),a2_0x2ebaf3(0x36c),'claude-4.5-sonnet')[a2_0x2ebaf3(0x1ea)]('--starter-message\x20<text>',a2_0x2ebaf3(0x2d2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x41d),a2_0x2ebaf3(0x309),'4')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x481),a2_0x2ebaf3(0x243),a2_0x2ebaf3(0x40f))['action'](async(_0x35093d,_0x314612)=>{const _0x4aea49=a2_0x2ebaf3,_0x5684be=new LLMAgentCreateCommand(),_0x3e9657=program[_0x4aea49(0x1af)](),_0x56a41c=await createTDXInstance(_0x3e9657),_0x2ed4c9=await _0x5684be[_0x4aea49(0x1e5)]({'options':{..._0x3e9657,..._0x314612},'args':[_0x35093d],'tdx':_0x56a41c});gracefulExit(_0x2ed4c9);}),agentSyncCmd['command'](a2_0x2ebaf3(0x208))['description'](a2_0x2ebaf3(0x2da))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x26f),a2_0x2ebaf3(0x294))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2a5),a2_0x2ebaf3(0x225))['option'](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x1b6))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x27d),a2_0x2ebaf3(0x2d2))[a2_0x2ebaf3(0x345)](async(_0x29ddee,_0x32593a)=>{const _0x493e46=a2_0x2ebaf3,_0x190100=new LLMAgentUpdateCommand(),_0x20c74a=program[_0x493e46(0x1af)](),_0x10dd05=await createTDXInstance(_0x20c74a),_0x35e709=await _0x190100[_0x493e46(0x1e5)]({'options':{..._0x20c74a,..._0x32593a},'args':[_0x29ddee],'tdx':_0x10dd05});gracefulExit(_0x35e709);}),agentSyncCmd['command'](a2_0x2ebaf3(0x2ff))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x351))[a2_0x2ebaf3(0x345)](async(_0x316d35,_0x154c5a)=>{const _0x21873b=a2_0x2ebaf3,_0x294917=new LLMAgentDeleteCommand(),_0xc8950d=program[_0x21873b(0x1af)](),_0x28ba7d=await createTDXInstance(_0xc8950d),_0x2e5508=await _0x294917[_0x21873b(0x1e5)]({'options':{..._0xc8950d,..._0x154c5a},'args':[_0x316d35],'tdx':_0x28ba7d});gracefulExit(_0x2e5508);});const workCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x389))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4b4));workCmd[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x239),a2_0x2ebaf3(0x2fb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4db),a2_0x2ebaf3(0x2e3))[a2_0x2ebaf3(0x345)](workSummaryAction),workCmd['command'](a2_0x2ebaf3(0x327))['description'](a2_0x2ebaf3(0x269))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x474),a2_0x2ebaf3(0x34c))[a2_0x2ebaf3(0x345)](workInitAction),workCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x278))['description']('Create\x20a\x20new\x20document')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x411),a2_0x2ebaf3(0x486),a2_0x2ebaf3(0x383))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f4),a2_0x2ebaf3(0x3b0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x38b),a2_0x2ebaf3(0x273))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2f2),a2_0x2ebaf3(0x265))['option'](a2_0x2ebaf3(0x24c),a2_0x2ebaf3(0x3e2))['option']('--status\x20<status>',a2_0x2ebaf3(0x336))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c5),a2_0x2ebaf3(0x29f))[a2_0x2ebaf3(0x345)](workNewAction),workCmd['command'](a2_0x2ebaf3(0x3cd))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x44a))[a2_0x2ebaf3(0x345)](workMoveAction),workCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x24e))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x382))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x239),a2_0x2ebaf3(0x2fb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4db),a2_0x2ebaf3(0x2e3))[a2_0x2ebaf3(0x345)](workBoardAction),workCmd['command'](a2_0x2ebaf3(0x3cf))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4a9))['action'](workShowAction),workCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x33e))['description'](a2_0x2ebaf3(0x4b8))[a2_0x2ebaf3(0x345)](workLinksAction),workCmd[a2_0x2ebaf3(0x308)]('open\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x255))['action'](workOpenAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1bc),{'hidden':!![]})['action'](()=>{const _0x403472=a2_0x2ebaf3;function _0x41537a(_0x31b94b,_0x59c034){const _0x104ee7=a2_0x22e8,_0x454306=[];for(const _0x1a70ee of _0x31b94b[_0x104ee7(0x240)]){if(_0x1a70ee['_hidden'])continue;const _0x4cb766=_0x59c034?_0x59c034+'\x20'+_0x1a70ee['name']():_0x1a70ee['name'](),_0xaf68f9=_0x4cb766[_0x104ee7(0x2a6)]('\x20')[0x0],_0x52b7b9=COMMAND_CATEGORIES['find'](_0x47c4f7=>_0x47c4f7[_0x104ee7(0x240)][_0x104ee7(0x4df)](_0xaf68f9)),_0x381cbe=_0x52b7b9?.['name']??'';if(_0x1a70ee[_0x104ee7(0x240)][_0x104ee7(0x22a)]>0x0)_0x454306[_0x104ee7(0x437)](..._0x41537a(_0x1a70ee,_0x4cb766));else{const _0x55db6d=(_0x1a70ee[_0x104ee7(0x2d7)]||[])[_0x104ee7(0x2b8)](_0x2e6d07=>{const _0x503778=_0x104ee7,_0x4e72c0=_0x2e6d07[_0x503778(0x3fe)]?_0x2e6d07[_0x503778(0x3a9)]()+_0x503778(0x3e3):_0x2e6d07[_0x503778(0x3a9)]();return _0x2e6d07[_0x503778(0x2eb)]?'<'+_0x4e72c0+'>':'['+_0x4e72c0+']';})[_0x104ee7(0x413)]('\x20'),_0x397804=_0x1a70ee[_0x104ee7(0x222)]['filter'](_0x1ed8dd=>!_0x1ed8dd[_0x104ee7(0x4aa)]&&_0x1ed8dd['long']!==_0x104ee7(0x25d))[_0x104ee7(0x2b8)](_0x1247f3=>({'flags':_0x1247f3[_0x104ee7(0x1c0)],'description':_0x1247f3[_0x104ee7(0x39c)]}));_0x454306['push']({'name':_0x4cb766,'description':_0x1a70ee[_0x104ee7(0x39c)](),'group':_0x381cbe,'usage':_0x55db6d,'options':_0x397804});}}return _0x454306;}console[_0x403472(0x1e1)](JSON[_0x403472(0x324)](_0x41537a(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x4b729b=a2_0x2ebaf3,_0x2e3d0b=!process[_0x4b729b(0x21f)][_0x4b729b(0x315)](0x2)[_0x4b729b(0x22a)];showBriefHelp=_0x2e3d0b,program[_0x4b729b(0x4be)](process[_0x4b729b(0x21f)]);_0x2e3d0b&&program[_0x4b729b(0x35a)]();const _0x86c380=process['argv'][0x2]===_0x4b729b(0x37e);if(process[_0x4b729b(0x251)][_0x4b729b(0x4c7)]&&process[_0x4b729b(0x21f)]['length']>0x2&&!isDevVersion()&&!_0x86c380){const _0x496471=loadReleaseChannel();checkForUpdate(currentVersion,_0x496471)[_0x4b729b(0x3d8)](_0x15e421=>{_0x15e421&&displayUpdateNotification(_0x15e421);})[_0x4b729b(0x22c)](()=>{});}}
1
+ const a2_0x55edb9=a2_0xb354;(function(_0x1225e7,_0x2bc279){const _0x22ab5e=a2_0xb354,_0x1146d2=_0x1225e7();while(!![]){try{const _0x229d89=-parseInt(_0x22ab5e(0x423))/0x1+parseInt(_0x22ab5e(0x21a))/0x2*(-parseInt(_0x22ab5e(0x378))/0x3)+-parseInt(_0x22ab5e(0x30c))/0x4*(-parseInt(_0x22ab5e(0x174))/0x5)+-parseInt(_0x22ab5e(0x1d9))/0x6+parseInt(_0x22ab5e(0x2bf))/0x7*(-parseInt(_0x22ab5e(0x178))/0x8)+parseInt(_0x22ab5e(0x421))/0x9*(-parseInt(_0x22ab5e(0x36f))/0xa)+-parseInt(_0x22ab5e(0x448))/0xb*(-parseInt(_0x22ab5e(0x36b))/0xc);if(_0x229d89===_0x2bc279)break;else _0x1146d2['push'](_0x1146d2['shift']());}catch(_0x21ea67){_0x1146d2['push'](_0x1146d2['shift']());}}}(a2_0x3df8,0x53d7c));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand,EngageMediaUploadCommand,EngageMediaLsCommand,EngageMediaMkdirCommand,EngageMediaRmCommand,EngageMediaRmdirCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x55edb9(0x30f)][a2_0x55edb9(0x370)]('--version')){let versionOutput=a2_0x55edb9(0x2b3)+currentVersion;buildInfo[a2_0x55edb9(0x17f)]&&!currentVersion['includes'](buildInfo[a2_0x55edb9(0x17f)])&&(versionOutput+='\x20('+buildInfo[a2_0x55edb9(0x17f)]+')'),buildInfo[a2_0x55edb9(0x153)]&&(versionOutput+=a2_0x55edb9(0x332)+buildInfo[a2_0x55edb9(0x153)]),console['log'](versionOutput),process[a2_0x55edb9(0x141)](0x0);}const program=new Command();function a2_0xb354(_0x489402,_0x494ee3){_0x489402=_0x489402-0x123;const _0x3df83a=a2_0x3df8();let _0xb3548a=_0x3df83a[_0x489402];return _0xb3548a;}export function mergeCommandOptions(_0xcd2884,_0x1ec889){const _0x363c47=a2_0x55edb9,_0x8ac304={..._0xcd2884};for(const [_0x47efa5,_0x50e7bb]of Object[_0x363c47(0x302)](_0x1ec889)){_0x50e7bb!==undefined&&(_0x8ac304[_0x47efa5]=_0x50e7bb);}return _0x8ac304;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x55edb9(0x17f)]&&!currentVersion[a2_0x55edb9(0x370)](buildInfo['gitRevision'])?description+=a2_0x55edb9(0x140)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x55edb9(0x140)+currentVersion;program[a2_0x55edb9(0x3b8)](a2_0x55edb9(0x17c))[a2_0x55edb9(0x124)](description),program[a2_0x55edb9(0x133)]('-C,\x20--directory\x20<path>',a2_0x55edb9(0x186))[a2_0x55edb9(0x133)](a2_0x55edb9(0x35e),a2_0x55edb9(0x2c2))[a2_0x55edb9(0x133)](a2_0x55edb9(0x19f),a2_0x55edb9(0x285),a2_0x55edb9(0x1f8))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1b3),a2_0x55edb9(0x28d))[a2_0x55edb9(0x133)](a2_0x55edb9(0x349),a2_0x55edb9(0x1d0))[a2_0x55edb9(0x133)](a2_0x55edb9(0x18d),a2_0x55edb9(0x325))[a2_0x55edb9(0x133)](a2_0x55edb9(0x167),a2_0x55edb9(0x3d5))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1bb),a2_0x55edb9(0x381))['option'](a2_0x55edb9(0x200),a2_0x55edb9(0x28e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x2db),a2_0x55edb9(0x18e))[a2_0x55edb9(0x133)]('--color',a2_0x55edb9(0x353),![])['option'](a2_0x55edb9(0x185),a2_0x55edb9(0x29d),![])[a2_0x55edb9(0x133)]('-v,\x20--verbose',a2_0x55edb9(0x1e2),![])['option']('--debug',a2_0x55edb9(0x176))['option'](a2_0x55edb9(0x2d2),a2_0x55edb9(0x37e))['option']('--timeout\x20<seconds>',a2_0x55edb9(0x2ad),'30')[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x2ea),![])['option']('-y,\x20--yes',a2_0x55edb9(0x2c9),![])[a2_0x55edb9(0x133)](a2_0x55edb9(0x273),a2_0x55edb9(0x271))['option'](a2_0x55edb9(0x45a),a2_0x55edb9(0x1e8))['option'](a2_0x55edb9(0x127),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x55edb9(0x2f2)]({'formatHelp':(_0x57082f,_0x1547e3)=>{const _0x3ee514=a2_0x55edb9,_0x5a8dc6=_0x1547e3[_0x3ee514(0x20a)](_0x57082f,_0x1547e3),_0x5a9a77=0x2,_0x533d38=0x2;function _0x352b6e(_0x1ea66b){const _0x4d0e53=_0x3ee514,_0x30d464=_0x1ea66b;return!!(_0x30d464[_0x4d0e53(0x324)]||_0x30d464[_0x4d0e53(0x319)]);}function _0x5738d1(_0x17baca,_0x3c1c5f){const _0x3fd2c0=_0x3ee514;if(_0x3c1c5f){const _0xf1b6fc=''+_0x17baca[_0x3fd2c0(0x45d)](_0x5a8dc6+_0x533d38)+_0x3c1c5f;return _0xf1b6fc;}return _0x17baca;}function _0x45dc0b(_0x7ee4e7){const _0x3fd4bc=_0x3ee514;return _0x7ee4e7[_0x3fd4bc(0x16e)]('\x0a')[_0x3fd4bc(0x2a9)](/^/gm,'\x20'[_0x3fd4bc(0x2e8)](_0x5a9a77));}const _0x197ee5=[];_0x197ee5[_0x3ee514(0x19b)](_0x3ee514(0x3f8)+_0x1547e3['commandUsage'](_0x57082f));const _0x2bd0e8=_0x1547e3['commandDescription'](_0x57082f);_0x2bd0e8&&(_0x197ee5['push'](''),_0x197ee5[_0x3ee514(0x19b)](_0x2bd0e8));const _0x229dbc=_0x57082f[_0x3ee514(0x435)]['filter'](_0x94fc55=>!_0x352b6e(_0x94fc55));if(_0x229dbc[_0x3ee514(0x21c)]>0x0){if(_0x57082f[_0x3ee514(0x3b8)]()===_0x3ee514(0x17c)){const _0x2ae4d8=_0x57082f[_0x3ee514(0x26d)](),_0xb52c08=!_0x2ae4d8[_0x3ee514(0x25b)]&&process[_0x3ee514(0x22e)][_0x3ee514(0x2c6)],_0x4725ac=COMMAND_CATEGORIES,_0x23c4e5=(_0x21d3e4,_0x596ed8)=>_0xb52c08?_0x596ed8(_0x21d3e4):_0x21d3e4,_0x5d2203=new Map();_0x229dbc[_0x3ee514(0x150)](_0x252d32=>{const _0x4cb47e=_0x3ee514;_0x5d2203[_0x4cb47e(0x38f)](_0x252d32[_0x4cb47e(0x3b8)](),_0x252d32);}),_0x4725ac[_0x3ee514(0x150)](_0x2f4360=>{const _0x22495b=_0x3ee514,_0x1f48aa=_0x2f4360[_0x22495b(0x435)][_0x22495b(0x398)](_0x43622a=>_0x5d2203[_0x22495b(0x129)](_0x43622a)??[]);if(_0x1f48aa[_0x22495b(0x21c)]>0x0){_0x197ee5['push'](''),_0x197ee5['push'](_0x23c4e5(_0x2f4360['name']+':',_0x2f4360[_0x22495b(0x336)]));const _0x59c7f7=_0x1f48aa[_0x22495b(0x392)](_0x1f139f=>{const _0x181c43=_0x22495b,_0x2c8a3f=_0x1547e3[_0x181c43(0x173)](_0x1f139f),_0x5b315c=_0x1547e3['subcommandDescription'](_0x1f139f);return _0x5738d1(_0x2c8a3f,_0x5b315c);});_0x197ee5[_0x22495b(0x19b)](_0x45dc0b(_0x59c7f7));}}),_0x197ee5[_0x3ee514(0x19b)](''),_0x197ee5[_0x3ee514(0x19b)](_0x3ee514(0x391));}else{const _0x19d306=_0x229dbc['map'](_0x1ddb10=>{const _0x209af9=_0x3ee514,_0x31ac98=_0x1547e3['subcommandTerm'](_0x1ddb10),_0x28e59e=_0x1547e3[_0x209af9(0x1b5)](_0x1ddb10);return _0x5738d1(_0x31ac98,_0x28e59e);});_0x197ee5[_0x3ee514(0x19b)](''),_0x197ee5[_0x3ee514(0x19b)](_0x3ee514(0x365)),_0x197ee5[_0x3ee514(0x19b)](_0x45dc0b(_0x19d306));}}if(showBriefHelp&&_0x57082f[_0x3ee514(0x3b8)]()==='tdx')_0x197ee5[_0x3ee514(0x19b)](''),_0x197ee5[_0x3ee514(0x19b)](_0x3ee514(0x43b));else{const _0xaa6fd7=_0x57082f[_0x3ee514(0x17b)][_0x3ee514(0x2f7)](_0x127a3b=>!_0x352b6e(_0x127a3b));if(_0xaa6fd7['length']>0x0){const _0xf65d12=_0xaa6fd7[_0x3ee514(0x392)](_0x1ae864=>{const _0x377d15=_0x3ee514,_0x47e1db=_0x1547e3[_0x377d15(0x441)](_0x1ae864),_0x35d94a=_0x1547e3[_0x377d15(0x1a0)](_0x1ae864);return _0x5738d1(_0x47e1db,_0x35d94a);});_0x197ee5[_0x3ee514(0x19b)](''),_0x197ee5[_0x3ee514(0x19b)](_0x3ee514(0x2f3)),_0x197ee5[_0x3ee514(0x19b)](_0x45dc0b(_0xf65d12));}}const _0x5b5d9d=(_0x57082f['registeredArguments']||[])[_0x3ee514(0x2f7)](_0x84b8fa=>!_0x352b6e(_0x84b8fa));if(_0x5b5d9d[_0x3ee514(0x21c)]>0x0){const _0x3abe1b=_0x5b5d9d[_0x3ee514(0x392)](_0x3c4c5e=>{const _0x14ee43=_0x1547e3['argumentTerm'](_0x3c4c5e),_0x4329a2=_0x1547e3['argumentDescription'](_0x3c4c5e);return _0x5738d1(_0x14ee43,_0x4329a2);});_0x197ee5[_0x3ee514(0x19b)](''),_0x197ee5[_0x3ee514(0x19b)](_0x3ee514(0x262)),_0x197ee5['push'](_0x45dc0b(_0x3abe1b));}return _0x197ee5[_0x3ee514(0x16e)]('\x0a')+'\x0a';},'subcommandTerm':_0x9938d7=>{const _0xb12993=a2_0x55edb9,_0x4a1a57=(_0x9938d7[_0xb12993(0x3c3)]||[])['map'](_0x7ed07c=>_0x7ed07c[_0xb12993(0x1cb)]?'<'+_0x7ed07c[_0xb12993(0x3b8)]()+'>':'['+_0x7ed07c['name']()+']')[_0xb12993(0x16e)]('\x20'),_0x5ea650=_0x9938d7[_0xb12993(0x2f1)](),_0x1670f7=_0x5ea650['length']>0x0?_0x9938d7['name']()+',\x20'+_0x5ea650[_0xb12993(0x16e)](',\x20'):_0x9938d7['name']();return _0x4a1a57?_0x1670f7+'\x20'+_0x4a1a57:_0x1670f7;}}),program[a2_0x55edb9(0x447)](a2_0x55edb9(0x3be),_0x117613=>{const _0x390df6=a2_0x55edb9,_0x1b75e6=_0x117613[_0x390df6(0x26d)]();if(_0x1b75e6[_0x390df6(0x2a3)]){const _0x5a6e21=resolve(_0x1b75e6[_0x390df6(0x2a3)]),_0x379a42=_0x5a6e21!==_0x1b75e6[_0x390df6(0x2a3)]?'\x20(resolved\x20to\x20'+_0x5a6e21+')':'';if(!existsSync(_0x5a6e21))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Directory\x20does\x20not\x20exist:\x20'+_0x1b75e6[_0x390df6(0x2a3)]+_0x379a42,undefined,{'helpText':_0x390df6(0x2e7)});const _0x1938ba=statSync(_0x5a6e21);if(!_0x1938ba[_0x390df6(0x356)]())throw new SDKError(ErrorCode[_0x390df6(0x3c6)],_0x390df6(0x2b4)+_0x1b75e6[_0x390df6(0x2a3)]+_0x379a42,undefined,{'helpText':_0x390df6(0x138)});process['chdir'](_0x5a6e21);}if(!_0x1b75e6[_0x390df6(0x330)]){if(_0x1b75e6[_0x390df6(0x3eb)])_0x1b75e6['format']=_0x390df6(0x3eb);else{if(_0x1b75e6['json'])_0x1b75e6['format']='json';else{if(_0x1b75e6[_0x390df6(0x46c)])_0x1b75e6['format']=_0x390df6(0x46c);else _0x1b75e6[_0x390df6(0x15e)]&&(_0x1b75e6[_0x390df6(0x330)]='tsv');}}}if(_0x1b75e6[_0x390df6(0x28c)])_0x1b75e6[_0x390df6(0x22a)]=LogLevel['TRACE'];else{if(_0x1b75e6[_0x390df6(0x171)])_0x1b75e6[_0x390df6(0x22a)]=LogLevel[_0x390df6(0x413)];else _0x1b75e6['logLevel']===undefined&&(_0x1b75e6['logLevel']=LogLevel[_0x390df6(0x3ae)]);}});async function createTDXInstance(_0x457a70){const _0x527889=a2_0x55edb9,_0x35bf20=await GlobalContext[_0x527889(0x39e)](_0x457a70);_0x35bf20[_0x527889(0x266)](_0x457a70);const _0x114a50=Number(_0x457a70[_0x527889(0x260)]),_0x56184b=!isNaN(_0x114a50)&&_0x114a50>0x0?_0x114a50*0x3e8:undefined;return TDX[_0x527889(0x1a2)]({'site':_0x35bf20['site'],'apiKey':_0x35bf20[_0x527889(0x146)],'accessToken':_0x35bf20[_0x527889(0x467)],'logLevel':_0x35bf20[_0x527889(0x22a)],'profile':_0x35bf20[_0x527889(0x389)],'timeout':_0x56184b});}const databaseCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x40e))[a2_0x55edb9(0x2f4)]('db')[a2_0x55edb9(0x124)]('Database\x20management\x20commands'),databaseListAction=async(_0x452f15,_0x4f078f)=>{const _0x286c8f=a2_0x55edb9,_0x30559e=new DatabasesCommand(),_0x1f5469=program[_0x286c8f(0x26d)](),_0x455d0f=await createTDXInstance(_0x1f5469),_0x56271d=await _0x30559e[_0x286c8f(0x157)]({'options':{..._0x1f5469,..._0x4f078f},'args':_0x452f15?[_0x452f15]:[],'tdx':_0x455d0f});gracefulExit(_0x56271d);};databaseCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1a5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x144))[a2_0x55edb9(0x2dd)](databaseListAction),program[a2_0x55edb9(0x15f)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x2f5))[a2_0x55edb9(0x2dd)](databaseListAction),program['command']('chat\x20[message...]')['description'](a2_0x55edb9(0x15c))[a2_0x55edb9(0x133)](a2_0x55edb9(0x384),a2_0x55edb9(0x1b1))[a2_0x55edb9(0x133)](a2_0x55edb9(0x245),a2_0x55edb9(0x2b7))['option'](a2_0x55edb9(0x3aa),a2_0x55edb9(0x269))[a2_0x55edb9(0x133)]('--stream',a2_0x55edb9(0x29e))[a2_0x55edb9(0x2dd)](async(_0x37e05d,_0x448243)=>{const _0x4ec031=a2_0x55edb9,_0x3a88b8=program['opts'](),_0x2d30c9=await createTDXInstance(_0x3a88b8);if(_0x37e05d[0x0]==='create'){const _0x46aefd=new ChatCreateCommand();gracefulExit(await _0x46aefd['run']({'options':{..._0x3a88b8,..._0x448243},'args':_0x37e05d[_0x4ec031(0x165)](0x1),'tdx':_0x2d30c9}));return;}const _0x21326f=new ChatCommand(),_0x427265=await _0x21326f[_0x4ec031(0x157)]({'options':{..._0x3a88b8,..._0x448243},'args':_0x37e05d,'tdx':_0x2d30c9});gracefulExit(_0x427265);});const apiCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x348))['summary'](a2_0x55edb9(0x46d))[a2_0x55edb9(0x438)]('after',a2_0x55edb9(0x13f))[a2_0x55edb9(0x133)]('-X,\x20--method\x20<method>',a2_0x55edb9(0x1fd),'GET')[a2_0x55edb9(0x133)](a2_0x55edb9(0x152),a2_0x55edb9(0x32c))[a2_0x55edb9(0x133)](a2_0x55edb9(0x32d),a2_0x55edb9(0x42d))[a2_0x55edb9(0x133)](a2_0x55edb9(0x407),a2_0x55edb9(0x29a),(_0x4a2592,_0x247d4a)=>{return _0x247d4a?[..._0x247d4a,_0x4a2592]:[_0x4a2592];})[a2_0x55edb9(0x133)]('--type\x20<api_type>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x55edb9(0x2dd)](async(_0x28f04e,_0x28d996)=>{const _0x1a86e4=a2_0x55edb9;if(!_0x28f04e){apiCmd[_0x1a86e4(0x188)]();return;}const _0x40f498=new ApiCommand(),_0x175fcb=program['opts'](),_0x1341b7=await createTDXInstance(_0x175fcb),_0x4d3d1d=await _0x40f498['run']({'options':{..._0x175fcb,..._0x28d996},'args':[_0x28f04e],'tdx':_0x1341b7});gracefulExit(_0x4d3d1d);});program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x36d))[a2_0x55edb9(0x124)](a2_0x55edb9(0x431))[a2_0x55edb9(0x438)]('after','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x55edb9(0x2dd)](async _0x5e52dc=>{const _0x4f0f22=a2_0x55edb9,_0x32767b=new MCPCommand(),_0x324c9f=program[_0x4f0f22(0x26d)](),_0x350b03=await createTDXInstance(_0x324c9f),_0x1fc480=await _0x32767b['run']({'options':{..._0x324c9f,..._0x5e52dc},'args':[],'tdx':_0x350b03});gracefulExit(_0x1fc480);});const tableCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3eb))[a2_0x55edb9(0x124)]('Table\x20management\x20commands'),tableListAction=async(_0x362240,_0x11cdf7)=>{const _0x2f2cc8=a2_0x55edb9,_0x4b1162=new TablesCommand(),_0x372efe=program[_0x2f2cc8(0x26d)](),_0x23f2f1=await createTDXInstance(_0x372efe);_0x11cdf7['in']&&(_0x11cdf7['database']=_0x11cdf7['in']);const _0x46f01c=await _0x4b1162[_0x2f2cc8(0x157)]({'options':{..._0x372efe,..._0x11cdf7},'args':_0x362240?[_0x362240]:[],'tdx':_0x23f2f1});gracefulExit(_0x46f01c);};tableCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1a5))['description'](a2_0x55edb9(0x45e))['option'](a2_0x55edb9(0x1f7),a2_0x55edb9(0x247))[a2_0x55edb9(0x133)](a2_0x55edb9(0x160),a2_0x55edb9(0x3fe))['action'](tableListAction),program[a2_0x55edb9(0x15f)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x433))[a2_0x55edb9(0x133)]('-d,\x20--database\x20<database>',a2_0x55edb9(0x247))[a2_0x55edb9(0x133)](a2_0x55edb9(0x160),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2e5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x230))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1f7),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x160),a2_0x55edb9(0x3fe))[a2_0x55edb9(0x2dd)](async(_0x439b73,_0x3ffd2e)=>{const _0x3213f9=a2_0x55edb9,_0x3876c4=new ShowCommand(),_0x4fb104=program['opts'](),_0x270c34=await createTDXInstance(_0x4fb104);_0x3ffd2e['in']&&(_0x3ffd2e[_0x3213f9(0x40e)]=_0x3ffd2e['in']);const _0x4b243c=await _0x3876c4[_0x3213f9(0x157)]({'options':{..._0x4fb104,..._0x3ffd2e},'args':_0x439b73?[_0x439b73]:[],'tdx':_0x270c34});gracefulExit(_0x4b243c);}),program[a2_0x55edb9(0x15f)]('describe\x20[table]')[a2_0x55edb9(0x2f4)](a2_0x55edb9(0x321))['description'](a2_0x55edb9(0x42c))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1f7),a2_0x55edb9(0x2d7))['option'](a2_0x55edb9(0x160),a2_0x55edb9(0x3fe))[a2_0x55edb9(0x2dd)](async(_0x40ffb0,_0x42a19e)=>{const _0x598f3d=a2_0x55edb9,_0xa2c65d=new DescribeCommand(),_0x3bd408=program[_0x598f3d(0x26d)](),_0x16d94e=await createTDXInstance(_0x3bd408);_0x42a19e['in']&&(_0x42a19e[_0x598f3d(0x40e)]=_0x42a19e['in']);const _0x200bf9=await _0xa2c65d[_0x598f3d(0x157)]({'options':{..._0x3bd408,..._0x42a19e},'args':_0x40ffb0?[_0x40ffb0]:[],'tdx':_0x16d94e});gracefulExit(_0x200bf9);}),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x29c))[a2_0x55edb9(0x124)](a2_0x55edb9(0x45c))['option'](a2_0x55edb9(0x1f7),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x160),a2_0x55edb9(0x3fe))['option'](a2_0x55edb9(0x211),'Trino\x20catalog\x20(default:\x20td)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x32d),'Read\x20SQL\x20query\x20from\x20file')[a2_0x55edb9(0x133)]('--limit\x20<rows>','Maximum\x20rows\x20to\x20display')[a2_0x55edb9(0x2dd)](async(_0x4326c8,_0x1fa4e0)=>{const _0x3f70a2=a2_0x55edb9,_0x4bdbb8=new QueryCommand(),_0x1b7bf5=program[_0x3f70a2(0x26d)](),_0x2e3320=await createTDXInstance(_0x1b7bf5);_0x1fa4e0['in']&&(_0x1fa4e0['database']=_0x1fa4e0['in']);const _0x242231=await _0x4bdbb8[_0x3f70a2(0x157)]({'options':mergeCommandOptions(_0x1b7bf5,_0x1fa4e0),'args':_0x4326c8?[_0x4326c8]:[],'tdx':_0x2e3320});gracefulExit(_0x242231);});const segmentCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x26a))['alias']('sg')['description'](a2_0x55edb9(0x38a)),segmentListAction=async(_0x583515,_0xc6eae7)=>{const _0x3f1794=a2_0x55edb9,_0x2dafa3=new SegmentsCommand(),_0x2992af=program[_0x3f1794(0x26d)](),_0x3f9d9e=await createTDXInstance(_0x2992af),_0x271be4=await _0x2dafa3[_0x3f1794(0x157)]({'options':{..._0x2992af,..._0xc6eae7},'args':_0x583515?[_0x583515]:[],'tdx':_0x3f9d9e});gracefulExit(_0x271be4);};segmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x417))['description'](a2_0x55edb9(0x1ab))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1a4),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')['option'](a2_0x55edb9(0x235),a2_0x55edb9(0x292),'10')['action'](segmentListAction),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2b0),{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x279))[a2_0x55edb9(0x133)]('-r,\x20--recursive',a2_0x55edb9(0x443))['option']('--max-depth\x20<depth>',a2_0x55edb9(0x292),'10')[a2_0x55edb9(0x2dd)](segmentListAction),segmentCmd[a2_0x55edb9(0x15f)]('use\x20<path>',{'hidden':!![]})[a2_0x55edb9(0x124)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x55edb9(0x2dd)](async(_0x3e01ad,_0x3125c6)=>{const _0x5646d7=a2_0x55edb9,_0x2d7302=new SegmentUseCommand(),_0xb13805=program[_0x5646d7(0x26d)](),_0x3d94b9=await createTDXInstance(_0xb13805),_0xe7a79c=await _0x2d7302[_0x5646d7(0x157)]({'options':{..._0xb13805,..._0x3125c6},'args':[_0x3e01ad],'tdx':_0x3d94b9});gracefulExit(_0xe7a79c);});const segmentViewAction=async(_0x824e7d,_0x29fe66)=>{const _0x33f770=a2_0x55edb9,_0x21d028=new SegmentViewCommand(),_0x30f802=program['opts'](),_0x146b27=await createTDXInstance(_0x30f802),_0x5031c7=await _0x21d028[_0x33f770(0x157)]({'options':{..._0x30f802,..._0x29fe66},'args':_0x824e7d?[_0x824e7d]:[],'tdx':_0x146b27});gracefulExit(_0x5031c7);};segmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3af))['description'](a2_0x55edb9(0x24b))['option'](a2_0x55edb9(0x366),a2_0x55edb9(0x24d))[a2_0x55edb9(0x2dd)](segmentViewAction),segmentCmd[a2_0x55edb9(0x15f)]('info\x20[segment_name]',{'hidden':!![]})[a2_0x55edb9(0x2f4)](a2_0x55edb9(0x147))[a2_0x55edb9(0x133)](a2_0x55edb9(0x366),'Open\x20segment\x20in\x20web\x20browser')['description'](a2_0x55edb9(0x2cc))['action'](segmentViewAction),segmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x126))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2f0))['action'](async(_0x585d62,_0x378355)=>{const _0x50f44c=a2_0x55edb9,_0x37ec46=new SegmentDescCommand(),_0xfb0873=program[_0x50f44c(0x26d)](),_0x483594=await createTDXInstance(_0xfb0873),_0x911d4c=await _0x37ec46[_0x50f44c(0x157)]({'options':{..._0xfb0873,..._0x378355},'args':_0x585d62?[_0x585d62]:[],'tdx':_0x483594});gracefulExit(_0x911d4c);}),segmentCmd[a2_0x55edb9(0x15f)]('show\x20[segment_name]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x256))[a2_0x55edb9(0x2dd)](async(_0x3711a8,_0x136207)=>{const _0x4d2b7b=a2_0x55edb9,_0x25a36b=new SegmentShowCommand(),_0x32fcd9=program[_0x4d2b7b(0x26d)](),_0x4503fc=await createTDXInstance(_0x32fcd9),_0x2e7107=await _0x25a36b[_0x4d2b7b(0x157)]({'options':{..._0x32fcd9,..._0x136207},'args':_0x3711a8?[_0x3711a8]:[],'tdx':_0x4503fc});gracefulExit(_0x2e7107);}),segmentCmd[a2_0x55edb9(0x15f)]('folders\x20<parent_name>',{'hidden':!![]})['description'](a2_0x55edb9(0x36c))[a2_0x55edb9(0x2dd)](async(_0x558bbd,_0xc4572c)=>{const _0x2896b4=a2_0x55edb9,_0x5b9276=new SegmentFolderListCommand(),_0x9f94a=program['opts'](),_0x569149=await createTDXInstance(_0x9f94a),_0x2df184=await _0x5b9276[_0x2896b4(0x157)]({'options':{..._0x9f94a,..._0xc4572c},'args':[_0x558bbd],'tdx':_0x569149});gracefulExit(_0x2df184);});const folderCmd=segmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2fc),{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x3ad));folderCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3a3))[a2_0x55edb9(0x124)](a2_0x55edb9(0x30e))[a2_0x55edb9(0x2dd)](async(_0x2fd56f,_0x4cad38)=>{const _0x3690ea=a2_0x55edb9,_0x49aef7=new SegmentFolderShowCommand(),_0x562fc2=program[_0x3690ea(0x26d)](),_0x39b2d7=await createTDXInstance(_0x562fc2),_0x4040bb=await _0x49aef7[_0x3690ea(0x157)]({'options':{..._0x562fc2,..._0x4cad38},'args':[_0x2fd56f],'tdx':_0x39b2d7});gracefulExit(_0x4040bb);}),segmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1ca))[a2_0x55edb9(0x124)](a2_0x55edb9(0x44b))['option']('--path\x20<file-path>',a2_0x55edb9(0x156))[a2_0x55edb9(0x2dd)](async(_0x221f87,_0x37a0a5)=>{const _0x4241c8=a2_0x55edb9,_0x163803=new SegmentSQLCommand(),_0x22804f=program['opts'](),_0x3f0bd2=await createTDXInstance(_0x22804f),_0x428e3e=await _0x163803[_0x4241c8(0x157)]({'options':{..._0x22804f,..._0x37a0a5},'args':_0x221f87?[_0x221f87]:[],'tdx':_0x3f0bd2});gracefulExit(_0x428e3e);}),segmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x39b))[a2_0x55edb9(0x124)](a2_0x55edb9(0x38b))[a2_0x55edb9(0x2dd)](async(_0x56a38d,_0x2b7e0d)=>{const _0x4b5c58=a2_0x55edb9,_0x37f174=new SegmentFieldsCommand(),_0xeb8f6e=program[_0x4b5c58(0x26d)](),_0x351186=await createTDXInstance(_0xeb8f6e),_0x4a66ec=await _0x37f174[_0x4b5c58(0x157)]({'options':{..._0xeb8f6e,..._0x2b7e0d},'args':_0x56a38d?[_0x56a38d]:[],'tdx':_0x351186});gracefulExit(_0x4a66ec);}),segmentCmd['command'](a2_0x55edb9(0x1ea))['description'](a2_0x55edb9(0x251))[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x3ee))[a2_0x55edb9(0x2dd)](async(_0x4f1842,_0x2500ae)=>{const _0x26ee38=a2_0x55edb9,_0x592d6f=new SegmentPullCommand(),_0x55f8ab=program[_0x26ee38(0x26d)](),_0x3af2c=await createTDXInstance(_0x55f8ab),_0x27db0e=await _0x592d6f['run']({'options':{..._0x55f8ab,..._0x2500ae},'args':_0x4f1842?[_0x4f1842]:[],'tdx':_0x3af2c});gracefulExit(_0x27db0e);}),segmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2c7))['description'](a2_0x55edb9(0x29f))['option'](a2_0x55edb9(0x208),a2_0x55edb9(0x3ee))['option'](a2_0x55edb9(0x3b5),a2_0x55edb9(0x33a))[a2_0x55edb9(0x2dd)](async(_0x4e7476,_0x4897eb)=>{const _0x192b4b=a2_0x55edb9,_0x3a76c7=new SegmentPushCommand(),_0x4cfec6=program[_0x192b4b(0x26d)](),_0x2f2f1c=await createTDXInstance(_0x4cfec6),_0x3aef1f=await _0x3a76c7[_0x192b4b(0x157)]({'options':{..._0x4cfec6,..._0x4897eb},'args':_0x4e7476?[_0x4e7476]:[],'tdx':_0x2f2f1c});gracefulExit(_0x3aef1f);}),segmentCmd[a2_0x55edb9(0x15f)]('validate\x20[target]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x1b0))[a2_0x55edb9(0x2dd)](async(_0x4fbc0e,_0x3bf29c)=>{const _0x567396=a2_0x55edb9,_0x1a5ef3=new SegmentValidateCommand(),_0x59fcc1=program[_0x567396(0x26d)](),_0x4345b0=await createTDXInstance(_0x59fcc1),_0x427479=await _0x1a5ef3[_0x567396(0x157)]({'options':{..._0x59fcc1,..._0x3bf29c},'args':_0x4fbc0e?[_0x4fbc0e]:[],'tdx':_0x4345b0});gracefulExit(_0x427479);}),segmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x169),{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x12c))['option'](a2_0x55edb9(0x1a7),'Segment\x20description')['option'](a2_0x55edb9(0x3d0),a2_0x55edb9(0x41c))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3cf),'Filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x55edb9(0x40b),a2_0x55edb9(0x24e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3dc),a2_0x55edb9(0x424))[a2_0x55edb9(0x133)]('--invisible',a2_0x55edb9(0x19a))[a2_0x55edb9(0x133)](a2_0x55edb9(0x189),a2_0x55edb9(0x1f9))[a2_0x55edb9(0x2dd)](async(_0x2910d9,_0x168bec)=>{const _0x1f6cf8=a2_0x55edb9,_0x4d276b=new SegmentCreateCommand(),_0x466422=program[_0x1f6cf8(0x26d)](),_0x1395c9=await createTDXInstance(_0x466422),_0x195afd=await _0x4d276b[_0x1f6cf8(0x157)]({'options':{..._0x466422,..._0x168bec},'args':[_0x2910d9],'tdx':_0x1395c9});gracefulExit(_0x195afd);}),segmentCmd['command'](a2_0x55edb9(0x411),{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x222))['option'](a2_0x55edb9(0x33f),a2_0x55edb9(0x206))[a2_0x55edb9(0x133)]('--description\x20<text>',a2_0x55edb9(0x226))[a2_0x55edb9(0x133)]('--rule\x20<json>',a2_0x55edb9(0x3a1))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3cf),a2_0x55edb9(0x297))[a2_0x55edb9(0x133)]('--folder\x20<name>',a2_0x55edb9(0x1ae))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3dc),a2_0x55edb9(0x424))['action'](async(_0x46ea72,_0x5761fa)=>{const _0x5ccfbb=a2_0x55edb9,_0x316b4b=new SegmentUpdateCommand(),_0x20731d=program[_0x5ccfbb(0x26d)](),_0x99a7ff=await createTDXInstance(_0x20731d),_0x4bab9d=await _0x316b4b[_0x5ccfbb(0x157)]({'options':{..._0x20731d,..._0x5761fa},'args':[_0x46ea72],'tdx':_0x99a7ff});gracefulExit(_0x4bab9d);});const parentCmd=segmentCmd['command'](a2_0x55edb9(0x19e),{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x2f8)),parentListAction=async(_0x4bd990,_0x8001b8)=>{const _0x39053a=a2_0x55edb9,_0x3b9634=new ParentSegmentListCommand(),_0x4f145d=program[_0x39053a(0x26d)](),_0x27ece5=await createTDXInstance(_0x4f145d),_0x45e234=await _0x3b9634[_0x39053a(0x157)]({'options':{..._0x4f145d,..._0x8001b8},'args':_0x4bd990?[_0x4bd990]:[],'tdx':_0x27ece5});gracefulExit(_0x45e234);};parentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1a5))['description'](a2_0x55edb9(0x2d9))[a2_0x55edb9(0x2dd)](parentListAction),segmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x439),{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x2bd))['action'](parentListAction),parentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x191))['description'](a2_0x55edb9(0x326))['option'](a2_0x55edb9(0x151),a2_0x55edb9(0x373))['action'](async(_0x4c9a43,_0x2868f6)=>{const _0x435820=a2_0x55edb9,_0x3a937a=new ParentSegmentPullCommand(),_0x59552c=program[_0x435820(0x26d)](),_0x26facf=await createTDXInstance(_0x59552c),_0x2f63f4=await _0x3a937a[_0x435820(0x157)]({'options':{..._0x59552c,..._0x2868f6},'args':_0x4c9a43?[_0x4c9a43]:[],'tdx':_0x26facf});gracefulExit(_0x2f63f4);}),parentCmd['command'](a2_0x55edb9(0x268))[a2_0x55edb9(0x124)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x55edb9(0x2dd)](async(_0x555c5f,_0x40c3ad)=>{const _0x1e9af6=a2_0x55edb9,_0x28127f=new ParentSegmentPushCommand(),_0x278a44=program[_0x1e9af6(0x26d)](),_0x4a7900=await createTDXInstance(_0x278a44),_0x2508e6=await _0x28127f[_0x1e9af6(0x157)]({'options':{..._0x278a44,..._0x40c3ad},'args':_0x555c5f?[_0x555c5f]:[],'tdx':_0x4a7900});gracefulExit(_0x2508e6);}),parentCmd[a2_0x55edb9(0x15f)]('validate\x20[file]')['description'](a2_0x55edb9(0x288))[a2_0x55edb9(0x133)](a2_0x55edb9(0x437),a2_0x55edb9(0x2dc))[a2_0x55edb9(0x133)](a2_0x55edb9(0x41e),a2_0x55edb9(0x175))[a2_0x55edb9(0x133)](a2_0x55edb9(0x232),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x55edb9(0x133)]('--enriched',a2_0x55edb9(0x1d3))[a2_0x55edb9(0x133)]('--interval\x20<range>',a2_0x55edb9(0x212),'-1d')['action'](async(_0x1f78ee,_0x12ed43)=>{const _0x1fb1d4=new ParentSegmentValidateCommand(),_0x4a5c52=program['opts'](),_0x243451=await createTDXInstance(_0x4a5c52),_0x5ca98d=await _0x1fb1d4['run']({'options':{..._0x4a5c52,..._0x12ed43},'args':_0x1f78ee?[_0x1f78ee]:[],'tdx':_0x243451});gracefulExit(_0x5ca98d);}),parentCmd[a2_0x55edb9(0x15f)]('preview\x20[file]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x17e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x437),a2_0x55edb9(0x394))[a2_0x55edb9(0x133)]('--attribute\x20[name]',a2_0x55edb9(0x123))['option'](a2_0x55edb9(0x232),a2_0x55edb9(0x1eb))[a2_0x55edb9(0x133)](a2_0x55edb9(0x14b),a2_0x55edb9(0x2d4))[a2_0x55edb9(0x133)](a2_0x55edb9(0x440),a2_0x55edb9(0x212),a2_0x55edb9(0x20f))[a2_0x55edb9(0x2dd)](async(_0x238ecc,_0x7f57d3)=>{const _0x85796a=a2_0x55edb9,_0x56c743=new ParentSegmentPreviewCommand(),_0x29b389=program['opts'](),_0x3e34e1=await createTDXInstance(_0x29b389),_0xe7c891=await _0x56c743[_0x85796a(0x157)]({'options':{..._0x29b389,..._0x7f57d3},'args':_0x238ecc?[_0x238ecc]:[],'tdx':_0x3e34e1});gracefulExit(_0xe7c891);}),parentCmd['command'](a2_0x55edb9(0x214))[a2_0x55edb9(0x124)](a2_0x55edb9(0x44f))[a2_0x55edb9(0x2dd)](async(_0x5d95c0,_0x3997a2)=>{const _0x5a6928=a2_0x55edb9,_0x323858=new ParentSegmentRunCommand(),_0x5775e7=program['opts'](),_0x1bbdc3=await createTDXInstance(_0x5775e7),_0x3c9cfc=await _0x323858[_0x5a6928(0x157)]({'options':{..._0x5775e7,..._0x3997a2},'args':_0x5d95c0?[_0x5d95c0]:[],'tdx':_0x1bbdc3});gracefulExit(_0x3c9cfc);});const parentSegmentCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x12f))[a2_0x55edb9(0x2f4)]('ps')['description'](a2_0x55edb9(0x3fa));parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1a5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2d9))[a2_0x55edb9(0x2dd)](parentListAction),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x191))[a2_0x55edb9(0x124)](a2_0x55edb9(0x27b))[a2_0x55edb9(0x133)]('-o,\x20--output\x20<file>',a2_0x55edb9(0x396))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3e8),a2_0x55edb9(0x34f))['action'](async(_0x4df0d5,_0x24f84a)=>{const _0xe8a02=new ParentSegmentPullCommand(),_0x346177=program['opts'](),_0x4c3fe2=await createTDXInstance(_0x346177),_0x568ca3=await _0xe8a02['run']({'options':{..._0x346177,..._0x24f84a},'args':_0x4df0d5?[_0x4df0d5]:[],'tdx':_0x4c3fe2});gracefulExit(_0x568ca3);}),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x41a))[a2_0x55edb9(0x124)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x55edb9(0x2dd)](async(_0xf5eebf,_0x184b00)=>{const _0x4292f9=a2_0x55edb9,_0x26bb0e=new ParentSegmentPushCommand(),_0x32afa3=program[_0x4292f9(0x26d)](),_0x567a68=await createTDXInstance(_0x32afa3),_0x4e8459=await _0x26bb0e['run']({'options':{..._0x32afa3,..._0x184b00},'args':_0xf5eebf?[_0xf5eebf]:[],'tdx':_0x567a68});gracefulExit(_0x4e8459);}),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x346))[a2_0x55edb9(0x124)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option'](a2_0x55edb9(0x437),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x55edb9(0x41e),a2_0x55edb9(0x175))[a2_0x55edb9(0x133)](a2_0x55edb9(0x232),a2_0x55edb9(0x442))[a2_0x55edb9(0x133)]('--enriched',a2_0x55edb9(0x1d3))[a2_0x55edb9(0x133)](a2_0x55edb9(0x440),a2_0x55edb9(0x212),a2_0x55edb9(0x20f))['action'](async(_0x4f1b9d,_0x18acd0)=>{const _0x20a679=a2_0x55edb9,_0x4861a7=new ParentSegmentValidateCommand(),_0x3a81f6=program[_0x20a679(0x26d)](),_0x5c8fc2=await createTDXInstance(_0x3a81f6),_0x189682=await _0x4861a7[_0x20a679(0x157)]({'options':{..._0x3a81f6,..._0x18acd0},'args':_0x4f1b9d?[_0x4f1b9d]:[],'tdx':_0x5c8fc2});gracefulExit(_0x189682);}),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1b4))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x55edb9(0x133)]('--master',a2_0x55edb9(0x394))[a2_0x55edb9(0x133)](a2_0x55edb9(0x41e),a2_0x55edb9(0x123))[a2_0x55edb9(0x133)](a2_0x55edb9(0x232),a2_0x55edb9(0x1eb))[a2_0x55edb9(0x133)]('--enriched',a2_0x55edb9(0x2d4))[a2_0x55edb9(0x133)](a2_0x55edb9(0x440),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x55edb9(0x20f))['action'](async(_0x90f5a2,_0x2b4ac0)=>{const _0x5592ef=a2_0x55edb9,_0x33b165=new ParentSegmentPreviewCommand(),_0x323c25=program['opts'](),_0x2e61b1=await createTDXInstance(_0x323c25),_0x3bc636=await _0x33b165[_0x5592ef(0x157)]({'options':{..._0x323c25,..._0x2b4ac0},'args':_0x90f5a2?[_0x90f5a2]:[],'tdx':_0x2e61b1});gracefulExit(_0x3bc636);}),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x214))[a2_0x55edb9(0x124)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x55edb9(0x2dd)](async(_0xfb6df4,_0x123059)=>{const _0x5e702c=a2_0x55edb9,_0x3754c9=new ParentSegmentRunCommand(),_0x1d88e0=program[_0x5e702c(0x26d)](),_0x15ec77=await createTDXInstance(_0x1d88e0),_0x33df94=await _0x3754c9[_0x5e702c(0x157)]({'options':{..._0x1d88e0,..._0x123059},'args':_0xfb6df4?[_0xfb6df4]:[],'tdx':_0x15ec77});gracefulExit(_0x33df94);}),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x25a))[a2_0x55edb9(0x124)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x18d),a2_0x55edb9(0x134))[a2_0x55edb9(0x133)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x55edb9(0x2dd)](async(_0x4fe9ed,_0x15f75a)=>{const _0x4170a8=a2_0x55edb9,_0x527e1a=new ParentSegmentFieldsCommand(),_0x20af74=program[_0x4170a8(0x26d)](),_0x104e03=await createTDXInstance(_0x20af74),_0x42646e=await _0x527e1a[_0x4170a8(0x157)]({'options':{..._0x20af74,..._0x15f75a},'args':_0x4fe9ed?[_0x4fe9ed]:[],'tdx':_0x104e03});gracefulExit(_0x42646e);}),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x34d))['description'](a2_0x55edb9(0x2fd))[a2_0x55edb9(0x133)]('-w,\x20--web',a2_0x55edb9(0x1c5))['option'](a2_0x55edb9(0x18d),'Output\x20as\x20JSON')['option'](a2_0x55edb9(0x167),a2_0x55edb9(0x36e))[a2_0x55edb9(0x2dd)](async(_0x16816e,_0x55aae2)=>{const _0x5d17f0=a2_0x55edb9,_0x4efafb=new ParentSegmentViewCommand(),_0x2a82d4=program['opts'](),_0x176347=await createTDXInstance(_0x2a82d4),_0x5708f5=await _0x4efafb[_0x5d17f0(0x157)]({'options':{..._0x2a82d4,..._0x55aae2},'args':_0x16816e?[_0x16816e]:[],'tdx':_0x176347});gracefulExit(_0x5708f5);}),parentSegmentCmd['command'](a2_0x55edb9(0x21b))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1ed))['option']('-o,\x20--output\x20<file>','Output\x20file\x20path')[a2_0x55edb9(0x133)](a2_0x55edb9(0x18d),a2_0x55edb9(0x134))['option'](a2_0x55edb9(0x167),a2_0x55edb9(0x36e))[a2_0x55edb9(0x2dd)](async(_0x3771e1,_0x1cb49f)=>{const _0x2f7382=a2_0x55edb9,_0x3d3288=new ParentSegmentDescCommand(),_0xe8339c=program[_0x2f7382(0x26d)](),_0x48fbae=await createTDXInstance(_0xe8339c),_0x402780=await _0x3d3288[_0x2f7382(0x157)]({'options':{..._0xe8339c,..._0x1cb49f},'args':_0x3771e1?[_0x3771e1]:[],'tdx':_0x48fbae});gracefulExit(_0x402780);}),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2de))['description'](a2_0x55edb9(0x27c))[a2_0x55edb9(0x133)](a2_0x55edb9(0x18d),a2_0x55edb9(0x134))[a2_0x55edb9(0x133)](a2_0x55edb9(0x167),a2_0x55edb9(0x36e))['action'](async(_0x4839db,_0x2fa6c2)=>{const _0x30385a=a2_0x55edb9,_0x232b34=new ParentSegmentSQLCommand(),_0x207f15=program[_0x30385a(0x26d)](),_0x176ba8=await createTDXInstance(_0x207f15),_0x37b326=await _0x232b34[_0x30385a(0x157)]({'options':{..._0x207f15,..._0x2fa6c2},'args':_0x4839db?[_0x4839db]:[],'tdx':_0x176ba8});gracefulExit(_0x37b326);}),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2b5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x12d))[a2_0x55edb9(0x133)](a2_0x55edb9(0x23c),'Limit\x20number\x20of\x20rows')['option'](a2_0x55edb9(0x18d),a2_0x55edb9(0x134))[a2_0x55edb9(0x133)]('--jsonl',a2_0x55edb9(0x36e))[a2_0x55edb9(0x2dd)](async(_0x4e9bea,_0x15d12f)=>{const _0x24596f=new ParentSegmentShowCommand(),_0xa63b29=program['opts'](),_0x302ddc=await createTDXInstance(_0xa63b29),_0x1bc724=await _0x24596f['run']({'options':{..._0xa63b29,..._0x15d12f},'args':_0x4e9bea?[_0x4e9bea]:[],'tdx':_0x302ddc});gracefulExit(_0x1bc724);}),parentSegmentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1c8))['description'](a2_0x55edb9(0x26f))[a2_0x55edb9(0x2dd)](async(_0x4fccd4,_0x127dbe)=>{const _0x1caef6=a2_0x55edb9,_0x5a568c=new UseCommand(),_0x31d687=program['opts'](),_0xac4d1c=_0x4fccd4?[_0x1caef6(0x30b),_0x4fccd4]:[],_0x44a6c7=await _0x5a568c['run']({'options':{..._0x31d687,..._0x127dbe},'args':_0xac4d1c,'tdx':null});gracefulExit(_0x44a6c7);});function a2_0x3df8(){const _0x1c8ae2=['registeredArguments','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','campaign','INVALID_ARGUMENT','use\x20[resource]\x20[value]','chats','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','List\x20jobs','columns\x20<name-or-path>','claude-4.5-sonnet','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','push\x20[target]','--rule-file\x20<file>','--rule\x20<json>','projects\x20[pattern]','Output\x20directory','clear','RT\x20Journey\x20management','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Initialize\x20a\x20new\x20workspace','use\x20<name>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','--name\x20<names>','--skip-validation','--kind\x20<type>','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','-f,\x20--force','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--name\x20<text>','Get\x20current\x20RT\x20configuration\x20version\x20status','line-imagemap-image','--param\x20<key=value>','upload\x20<file>','Launch\x20an\x20always-on\x20campaign','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Create\x20a\x20new\x20always-on\x20campaign','-u,\x20--use','List\x20all\x20users\x20in\x20the\x20account','-n,\x20--name\x20<name>','table','split','Continue\x20most\x20recent\x20conversation','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','open\x20<name>','Preview\x20composable\x20segment\x20query\x20on\x20CDW','always-on-campaign','--session-id\x20<id>','Interactive\x20chat\x20selector','--days\x20<n>','delete\x20<name>','--database\x20<db>','--kind\x20<kind>','Usage:\x20','resume\x20<name-or-path>','Parent\x20segment\x20management','Pause\x20a\x20campaign','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Disable\x20a\x20workflow\x20schedule','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Master\x20table\x20name','Assignee','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','patch\x20<personalization_id>','--time\x20<iso8601>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Parent\x20segment\x20description','Push\x20without\x20confirmation','-H,\x20--header\x20<header>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Behaviors\x20as\x20JSON\x20string','Skip\x20confirmation\x20prompt','--folder\x20<name>','agents\x20[pattern]','Workflow\x20attempt\x20management','database','--prompt\x20<text>','Update\x20a\x20campaign','update\x20<segment_name>','--html-file\x20<path>','DEBUG','Delete\x20a\x20file\x20from\x20Engage\x20DAM','Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)','Workflow\x20session\x20management','list\x20[path]','delete\x20<name-or-id>','Database\x20name\x20(required)','push\x20[name]','Include\x20subtasks\x20in\x20tasks\x20output','Filtering\x20rule\x20as\x20JSON\x20string','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--attribute\x20[name]','Customer\x20group\x20from\x20JSON\x20file','--reeval','3897cYIjnY','template','143652QDyVtl','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','--max-tool-iterations\x20<n>','--status\x20<status>','RT\x202.0\x20configuration\x20management','workspaces\x20[pattern]','Campaign\x20management','login','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','Describe\x20table\x20schema','Read\x20request\x20body\x20from\x20file','[EXPERIMENTAL]\x20Show\x20chat\x20log','Action:\x20logs,\x20tasks,\x20kill,\x20retry','delete\x20<args...>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','log','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','commands','Add\x20attributes\x20from\x20JSON\x20file','--master','addHelpText','parents\x20[pattern]','Resume\x20from\x20specific\x20task\x20(retry)','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','update\x20<name>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Transition\x20a\x20task\x20to\x20a\x20new\x20status','--from\x20<date>','--interval\x20<range>','optionTerm','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Reason\x20for\x20killing\x20the\x20attempt','long','session','hook','2091089AqhIga','setup','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Show\x20schedule\x20execution\x20history','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20timeline\x20for\x20specific\x20attempt','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','pause\x20<name-or-path>','run\x20[workflow]','show\x20<name>','mkdir\x20<path>','--default','traffic\x20<name-or-path>','Preview\x20without\x20creating\x20the\x20project','--method\x20<pm>','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','--parent-segment\x20<name>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Run\x20Trino\x20query\x20with\x20streaming\x20results','padEnd','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','profiles','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--file\x20<path>','AI-native\x20work\x20management','Show\x20document\x20details','Email\x20template\x20management','View\x20a\x20specific\x20version\x20of\x20a\x20journey','accessToken','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','End\x20time\x20filter\x20(ISO\x208601\x20format)','Personalization\x20service\x20management','--in\x20<db>','jsonl','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Personalization\x20description','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','description','Show\x20what\x20would\x20be\x20written\x20without\x20writing','desc\x20[segment_name]','--llm-project\x20<name>','--html\x20<html>','get','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','Enable\x20UTM\x20tracking','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Overwrite\x20local\x20changes\x20without\x20confirmation','parent-segment','Delete\x20an\x20agent','--from\x20<n>','Manage\x20workflow\x20schedules\x20(enable/disable)','option','Output\x20as\x20JSON','[options]\x20--\x20[claude-code-args...]','Retry\x20limit\x20(0\x20to\x2032)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Initial\x20status','Create\x20a\x20scheduled\x20query','configuration_versions\x20[name]','Include\x20all\x20items\x20(no\x20stale\x20filtering)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','requiredOption','\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',',\x20version\x20','exit','Task\x20name\x20for\x20logs\x20action','Update\x20a\x20realtime\x20personalization\x20entity','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','apiKey','describe','--name\x20<new-name>','allowUnknownOption','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--enriched','Starter\x20message','history\x20<name>','Validate\x20campaign\x20YAML\x20files\x20locally','set\x20<args...>','forEach','-o,\x20--output\x20<file>','--data\x20<data>','buildTime','users','show\x20<name-or-id>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','run','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Plaintext\x20template\x20content','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Resume\x20a\x20paused\x20always-on\x20campaign','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Clear\x20workflow\x20project\x20context','tsv','command','--in\x20<database>','Revision\x20name\x20(default:\x20timestamp)','Delay\x20in\x20seconds\x20before\x20execution','Template\x20name','version','slice','isArray','--jsonl','Cron\x20expression\x20for\x20scheduling','create\x20<segment_name>','--cron\x20<expression>','List\x20all\x20versions\x20of\x20a\x20journey','--include-stats','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','join','Query\x20type:\x20trino\x20or\x20hive','line-sender-account','debug','timeline\x20[project.workflow]','subcommandTerm','905NDSGcH','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','media','8IGdaIX','push\x20[path]','Output\x20folder\x20(default:\x20{project_name}.llm)','options','tdx','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','gitRevision','Customer\x20group\x20as\x20JSON\x20string','--type\x20<type>','Add\x20behaviors\x20from\x20JSON\x20file','Updated\x20timezone','Sections\x20as\x20an\x20inline\x20JSON\x20array','--no-color','Change\x20to\x20directory\x20before\x20executing\x20command','List\x20Engage\x20DAM\x20directory\x20contents','help','--no-count-population','attempts\x20[project]','update\x20<agent-name>','log\x20<chat-id>','--json','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','--description\x20<desc>','job','pull\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','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','Campaign\x20description','Database\x20name\x20(default:\x20information_schema)','Job\x20management\x20commands','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Invalid\x20editor\x20type:\x20','New\x20service\x20description','Make\x20segment\x20invisible\x20(default:\x20visible)','push','--enable-utm-tracking','-y,\x20--yes','parent','--site\x20<site>','optionDescription','Target\x20directory\x20for\x20YAML\x20files','create','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','-r,\x20--recursive','list\x20[pattern]','Clear\x20session\x20context','--description\x20<text>','Job\x20priority\x20(-2\x20to\x202)','Show\x20journey\x20table\x20column-to-step\x20mapping','List\x20all\x20data\x20connections','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Personalization\x20name','--retry-limit\x20<0~32>','Move\x20to\x20folder','Access\x20control\x20policy\x20commands','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','--format\x20<format>','preview\x20[name]','subcommandDescription','List\x20all\x20available\x20profiles','New\x20workspace\x20name','Parse\x20and\x20validate\x20without\x20executing','Delete\x20a\x20workspace','Show\x20all\x20files\x20including\x20valid\x20ones','--tsv','Delete\x20a\x20campaign','outputHelp','Read\x20query\x20from\x20file','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Comma-separated\x20tags','Open\x20journey\x20in\x20web\x20browser','Agent\x20name','Version\x20number\x20to\x20view','Generate\x20test\x20conversations\x20without\x20evaluation','Open\x20parent\x20segment\x20in\x20web\x20browser','Updated\x20schedule\x20option','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','use\x20[name]','--priority\x20<-2~2>','sql\x20[segment_name]','required','--audience-id\x20<id>','Behaviors\x20from\x20JSON\x20file','Custom\x20revision\x20name\x20(default:\x20timestamp)','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Remove\x20API\x20key\x20from\x20system\x20keychain','Pull\x20specific\x20campaign\x20by\x20name','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','init\x20[name]','Maximum\x20tool\x20iterations\x20(default:\x204)','Pause\x20an\x20always-on\x20campaign','Database\x20name','Invalid\x20--limit\x20value:\x20\x22','4049640kZpbSD','engage_workspace','Conflict\x20strategy:\x20ask\x20(default),\x20replace,\x20keep','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Create\x20segment\x20folder','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Enable\x20verbose\x20logging','show\x20<job-id>','schedules','\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','jobs','Engage\x20DAM\x20media\x20management','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','list\x20[project]','pull\x20[parent_or_file]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','board','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','--customer-group\x20<json>','auth','launch\x20<name-or-id>','--assignee\x20<assignee>','--github\x20<owner/repo>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','--dir\x20<dir>','--system-prompt\x20<text>','-d,\x20--database\x20<database>','us01','Skip\x20population\x20counting','--include-history','List\x20journeys\x20in\x20current\x20context','-d,\x20--database\x20<db>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','--customer-group-file\x20<file>','statusline','--output\x20<file>','--schedule-option\x20<value>','activations\x20<name-or-path>','list\x20[audience_name]','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','-a,\x20--agent\x20<name>','New\x20segment\x20name','-o,\x20--output\x20<dir>','--dry-run','--plaintext\x20<text>','padWidth','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','--subject\x20<subject>','-1d','Show\x20the\x20most\x20recent\x20chat','--catalog\x20<catalog>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Get\x20job\x20results','run\x20[name]','LINE\x20sender\x20account\x20management','sessions\x20[project]','policy','Pull\x20templates\x20to\x20YAML\x20files','delivery','71982XiimOD','desc\x20[name]','length','Read\x20HTML\x20template\x20from\x20file','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Delete\x20a\x20scheduled\x20query','Attempt\x20ID','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Workflow\x20parameter\x20(repeatable)','Validate\x20template\x20YAML\x20files\x20locally','\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','Updated\x20description','--to\x20<date>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--audience\x20<name>','logLevel','schema\x20<type>','Duplicate\x20a\x20campaign','Always-on\x20campaign\x20management','stdout','--reason\x20<text>','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','links\x20<name>','--behavior\x20[name]','templates\x20[pattern]','--database\x20<name>','--max-depth\x20<depth>','Show\x20always-on\x20campaign\x20details','catch','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','workflows\x20[project]','agent','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','--limit\x20<n>','audience','--params\x20<json>','New\x20service\x20name','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Scheduled\x20query\x20management\x20commands','Show\x20job\x20details','connection','--last','--new','Apply\x20a\x20template','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Data\x20connection\x20management\x20(for\x20activations/exports)','Workflow\x20(Digdag)\x20management\x20commands','new\x20<title>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Preview\x20changes\x20without\x20pushing','Open\x20segment\x20in\x20web\x20browser','Folder\x20name\x20for\x20organization','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','LINE\x20imagemap\x20image\x20management','Pull\x20child\x20segments\x20to\x20YAML\x20files','Run\x20a\x20scheduled\x20query\x20immediately','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Campaign\x20name','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Check\x20for\x20updates\x20without\x20installing','error','fields\x20[name]','noColor','Pull\x20workflow\x20project\x20to\x20local\x20folder','--from-task\x20<task>','...','Workspace\x20name\x20(required)','timeout','enable\x20<id>','Arguments:','show\x20<personalization_id>','List\x20email\x20senders','activations\x20<segment_name>','injectIntoOptions','Workspace\x20management','push\x20[file]','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','segment','Validate\x20journey\x20YAML\x20files\x20locally','--folder-id\x20<id>','opts','Workspace\x20name','Set\x20or\x20show\x20parent\x20segment\x20context','rm\x20<path>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','engage','--session\x20<id>','--session-time\x20<time>','Show\x20workspace\x20details','--conflict\x20<strategy>','delete\x20<agent-name>','versions\x20<name-or-path>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','List\x20agents\x20in\x20current\x20project','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','--delay\x20<seconds>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--path\x20<folder>','always-on-campaigns\x20[pattern]','llm','submit\x20[query]','preview\x20<segment_name>','Show\x20LINE\x20sender\x20account\x20details','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Journey\x20version\x20management','New\x20template\x20name','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','beefree','--include-retried','then','trace','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Save\x20output\x20to\x20file','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','show\x20<service_id>\x20[parent_segment]','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Maximum\x20recursion\x20depth\x20(default:\x2010)','--timezone\x20<tz>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','stats\x20<name-or-path>','--include-subtasks','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Query\x20engine\x20version','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','0.7','query\x20[sql]','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','allowExcessArguments','status','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','directory','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--version\x20<number>','--name\x20<name>','Kill\x20a\x20job','delete\x20<personalization_id>','replace','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','project','Create\x20a\x20new\x20profile','Set\x20operation\x20timeout\x20in\x20seconds','Include\x20execution\x20statistics','Pause\x20a\x20running\x20journey','segments\x20[path]','Personalization\x20service\x20token\x20management','--sections\x20<json>','tdx\x20','Path\x20is\x20not\x20a\x20directory:\x20','show\x20[name]','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Start\x20a\x20new\x20chat\x20session','kill','Preview\x20changes\x20without\x20writing\x20files','upgrade','[action]','pause_activations\x20<journeyId>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','1327718pkVSkM','schedule','Create\x20a\x20directory\x20in\x20Engage\x20DAM','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','remove\x20<name>','Create\x20a\x20new\x20LLM\x20project','Result\x20output\x20destination\x20URL','isTTY','push\x20[parent_or_file]','list','Skip\x20confirmation\x20prompts','-c,\x20--continue','--temperature\x20<n>','Show\x20segment\x20details\x20(alias\x20for\x20view)','Include\x20retried\x20attempts\x20(for\x20list)','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','update\x20<name-or-id>','HTML\x20template\x20content','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--trace','Parent\x20folder\x20name\x20for\x20nested\x20folders','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Workflow\x20project\x20management','validate\x20[target]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--limit\x20<number>','Show\x20only\x20master\x20table\x20validation','action','sql\x20[name]','Show\x20items\x20updated\x20within\x20N\x20days','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','create\x20[name]','New\x20campaign\x20name','LLM\x20project\x20management','--result\x20<url>','show\x20[table]','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','repeat','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Preview\x20operation\x20without\x20executing','Attributes\x20from\x20JSON\x20file','--next','attempt','User\x20management\x20commands','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Show\x20segment\x20schema\x20(column\x20types)','aliases','configureHelp','Options:','alias','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Ending\x20offset\x20(default:\x2020)','filter','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','kill\x20<job-id>','clone\x20[source]','folder','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','pause\x20<name-or-id>','--engine-version\x20<version>','Set\x20a\x20profile\x20configuration\x20value','entries','trino','Enable\x20a\x20disabled\x20workflow\x20schedule','--workspace\x20<name>','Show\x20journey\x20details','set\x20<key=value>','delete\x20<project-name-or-id>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','tasks','parent_segment','376qBRzUk','Update\x20an\x20email\x20template','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','argv','result\x20<job-id>','--revision\x20<revision>','types','Run\x20tests\x20for\x20an\x20LLM\x20agent','unset\x20<resource>','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Show\x20campaign\x20details','[task-name]','Resume\x20a\x20paused\x20campaign','hidden','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','grapesjs','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','find','[attempt-id]','desc','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','_hidden','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Follow/watch\x20timeline\x20for\x20running\x20attempts','--stage\x20<name>','Resume\x20a\x20conversation\x20(shows\x20selector)','--add-attributes-file\x20<file>','Delete\x20a\x20profile','Request\x20body\x20as\x20JSON\x20string','-f,\x20--file\x20<path>','delete\x20<service_id>\x20[parent_segment]','Pull\x20specific\x20template\x20by\x20name','format','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','\x20-\x20built\x20','user','Create\x20a\x20new\x20document','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','colorFn','--no-proxy','backup\x20<name>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','campaigns\x20[pattern]','--result\x20<target>','Make\x20service\x20public\x20(default:\x20private)','create\x20<name>\x20<service_id>\x20[parent_segment]','--name\x20<new_name>','Create\x20a\x20workspace','--account-name\x20<name>','Timezone\x20for\x20cron','pull\x20[workspace]','\x22.\x20Must\x20be\x20a\x20number.','Project\x20description','validate\x20[name]','Show\x20email\x20template\x20details','api\x20[endpoint]','--table','Show\x20journey\x20statistics','Campaign\x20type\x20(email\x20or\x20push)','Email\x20sender\x20ID\x20for\x20delivery','view\x20[name]','--schedule-type\x20<type>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','rmdir\x20<path>','Force\x20retry\x20even\x20if\x20not\x20failed','pull\x20[project]\x20[agent-name]','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Service\x20description','Duplicate\x20an\x20always-on\x20campaign','isDirectory','--full','--attributes-file\x20<file>','work','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Show\x20the\x20task\x20graph\x20and\x20side-effect\x20warnings\x20without\x20executing','variadic','Show\x20connection\x20details\x20by\x20name','-p,\x20--profile\x20<name>','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Create\x20a\x20new\x20campaign','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','models','Run\x20specific\x20tests\x20(comma-separated)','--parent-folder\x20<name>','Commands:','-w,\x20--web','\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','Delete\x20a\x20realtime\x20personalization','parse','Show\x20schedule\x20details','132aIyXkM','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','mcp','Output\x20as\x20JSON\x20Lines','4170wTiZis','includes','stderr','duplicate\x20<name-or-id>','Output\x20file\x20path\x20(default:\x20<name>.yml)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','information_schema','Agent\x20description','show\x20<policy>','48RbuBPf','workspace','Include\x20retried\x20attempts','Document\x20body\x20text','create\x20<name>','--yes','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','--model\x20<name>','Open\x20a\x20document\x20in\x20$EDITOR','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Name\x20for\x20the\x20duplicated\x20campaign','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','--agent\x20<ref>','Email\x20subject\x20template','--editor-type\x20<type>','resume\x20<name-or-id>','_list-commands','profile','CDP\x20segment\x20management\x20commands','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20resuming','--segment\x20<path>','set','Resume\x20activations\x20in\x20an\x20RT\x20journey','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','map','stringify','Show\x20master\x20table\x20sample\x20data','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Output\x20file\x20path','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','flatMap','--tags\x20<tags>','Token\x20description','fields\x20[parent_name]','--behaviors\x20<json>','argument','createAsync','clone\x20[source-dir]','--email-sender-id\x20<id>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','show\x20<folder_ref>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--public','--to\x20<timestamp>','Skip\x20validation\x20of\x20.dig\x20files','restore\x20<folder>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--chat-id\x20<id>','LLM\x20agent\x20management','secrets','[DEPRECATED]\x20Segment\x20folder\x20management','INFO','view\x20[segment_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','--verbose','System\x20prompt/instructions\x20(default:\x20empty)','list\x20[name]','List\x20secret\x20keys\x20for\x20a\x20project','--delete','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--add-behaviors\x20<json>','name','Delete\x20a\x20directory\x20from\x20Engage\x20DAM\x20(must\x20be\x20empty)','--add-attributes\x20<json>','--starter-message\x20<text>','Update\x20a\x20workspace','create\x20<name>\x20[parent_segment]','preAction','usage','after','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Name\x20for\x20the\x20new\x20project\x20(required)'];a2_0x3df8=function(){return _0x1c8ae2;};return a2_0x3df8();}const psRtCmd=parentSegmentCmd[a2_0x55edb9(0x15f)]('rt')[a2_0x55edb9(0x124)](a2_0x55edb9(0x427));psRtCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1a5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x24f))['action'](async(_0x50f6a5,_0x57cd84)=>{const _0x324639=a2_0x55edb9,_0x82d29a=new PSRtListCommand(),_0x11c0df=program[_0x324639(0x26d)](),_0x4f58bb=await createTDXInstance(_0x11c0df),_0x48d4be=await _0x82d29a[_0x324639(0x157)]({'options':{..._0x11c0df,..._0x57cd84},'args':_0x50f6a5?[_0x50f6a5]:[],'tdx':_0x4f58bb});gracefulExit(_0x48d4be);}),psRtCmd[a2_0x55edb9(0x15f)]('validate\x20[name]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x240))[a2_0x55edb9(0x2dd)](async(_0x3daa2b,_0x45f298)=>{const _0x15f9c6=a2_0x55edb9,_0x5763bc=new PSRtValidateCommand(),_0x579672=program[_0x15f9c6(0x26d)](),_0x11af2e=await createTDXInstance(_0x579672),_0x23c2b3=await _0x5763bc[_0x15f9c6(0x157)]({'options':{..._0x579672,..._0x45f298},'args':_0x3daa2b?[_0x3daa2b]:[],'tdx':_0x11af2e});gracefulExit(_0x23c2b3);}),psRtCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x13b))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3e1))[a2_0x55edb9(0x2dd)](async(_0x29803a,_0x12a8d8)=>{const _0x8580d8=new PSRtConfigVersionCommand(),_0x18532f=program['opts'](),_0x3a16be=await createTDXInstance(_0x18532f),_0x393e60=await _0x8580d8['run']({'options':{..._0x18532f,..._0x12a8d8},'args':_0x29803a?[_0x29803a]:[],'tdx':_0x3a16be});gracefulExit(_0x393e60);});const psRtJnCmd=psRtCmd['command']('jn')[a2_0x55edb9(0x124)](a2_0x55edb9(0x3d4));psRtJnCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3b3))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1b2))[a2_0x55edb9(0x2dd)](async(_0x55418b,_0x546341)=>{const _0xe817cf=new PSRtJnListCommand(),_0x3fa5b9=program['opts'](),_0x52bdbb=await createTDXInstance(_0x3fa5b9),_0x4091b2=await _0xe817cf['run']({'options':{..._0x3fa5b9,..._0x546341},'args':_0x55418b?[_0x55418b]:[],'tdx':_0x52bdbb});gracefulExit(_0x4091b2);}),psRtJnCmd['command'](a2_0x55edb9(0x2bc))[a2_0x55edb9(0x124)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')['action'](async(_0x134309,_0x4d41ad)=>{const _0x3d1240=a2_0x55edb9,_0x5ff9c9=new PSRtJnPauseCommand(),_0x3652bf=program[_0x3d1240(0x26d)](),_0x56c894=await createTDXInstance(_0x3652bf),_0x3b82d5=await _0x5ff9c9[_0x3d1240(0x157)]({'options':{..._0x3652bf,..._0x4d41ad},'args':[_0x134309],'tdx':_0x56c894});gracefulExit(_0x3b82d5);}),psRtJnCmd[a2_0x55edb9(0x15f)]('resume_activations\x20<journeyId>')[a2_0x55edb9(0x124)](a2_0x55edb9(0x390))[a2_0x55edb9(0x2dd)](async(_0x3c96aa,_0x2fdace)=>{const _0x189977=a2_0x55edb9,_0x3f04f8=new PSRtJnResumeCommand(),_0x4d77fe=program[_0x189977(0x26d)](),_0x414e18=await createTDXInstance(_0x4d77fe),_0x1c9ed4=await _0x3f04f8[_0x189977(0x157)]({'options':{..._0x4d77fe,..._0x2fdace},'args':[_0x3c96aa],'tdx':_0x414e18});gracefulExit(_0x1c9ed4);});const parentRtCmd=parentCmd[a2_0x55edb9(0x15f)]('rt',{'hidden':!![]})['description'](a2_0x55edb9(0x427));parentRtCmd[a2_0x55edb9(0x15f)]('list\x20[pattern]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x24f))[a2_0x55edb9(0x2dd)](async(_0x50843d,_0x1555f3)=>{const _0x495115=a2_0x55edb9,_0x4f965b=new PSRtListCommand(),_0x10dd02=program[_0x495115(0x26d)](),_0x3acbb5=await createTDXInstance(_0x10dd02),_0x2a5757=await _0x4f965b[_0x495115(0x157)]({'options':{..._0x10dd02,..._0x1555f3},'args':_0x50843d?[_0x50843d]:[],'tdx':_0x3acbb5});gracefulExit(_0x2a5757);}),parentRtCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x346))[a2_0x55edb9(0x124)](a2_0x55edb9(0x240))[a2_0x55edb9(0x2dd)](async(_0x197354,_0x5f21e1)=>{const _0x7624bd=a2_0x55edb9,_0x4ac210=new PSRtValidateCommand(),_0x5c1f21=program['opts'](),_0x2f2035=await createTDXInstance(_0x5c1f21),_0x52c871=await _0x4ac210[_0x7624bd(0x157)]({'options':{..._0x5c1f21,..._0x5f21e1},'args':_0x197354?[_0x197354]:[],'tdx':_0x2f2035});gracefulExit(_0x52c871);});const psPzCmd=parentSegmentCmd[a2_0x55edb9(0x15f)]('pz')['description']('Personalization\x20management');psPzCmd['command'](a2_0x55edb9(0x3b3))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3c1))['action'](async(_0x378032,_0x4909cb)=>{const _0x3b72e5=a2_0x55edb9,_0x4a2b2c=new PSPzListCommand(),_0x11841c=program[_0x3b72e5(0x26d)](),_0xcd0883=await createTDXInstance(_0x11841c),_0x304d36=await _0x4a2b2c[_0x3b72e5(0x157)]({'options':{..._0x11841c,..._0x4909cb},'args':_0x378032?[_0x378032]:[],'tdx':_0xcd0883});gracefulExit(_0x304d36);}),psPzCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x263))[a2_0x55edb9(0x124)]('Show\x20a\x20specific\x20realtime\x20personalization')[a2_0x55edb9(0x2dd)](async(_0x2ea22f,_0x4c8e99)=>{const _0x1a5e0d=a2_0x55edb9,_0x1ef34a=new PSPzShowCommand(),_0x397cf1=program[_0x1a5e0d(0x26d)](),_0x28861f=await createTDXInstance(_0x397cf1),_0x115b99=await _0x1ef34a['run']({'options':{..._0x397cf1,..._0x4c8e99},'args':[_0x2ea22f],'tdx':_0x28861f});gracefulExit(_0x115b99);}),psPzCmd['command'](a2_0x55edb9(0x2a8))[a2_0x55edb9(0x124)](a2_0x55edb9(0x368))[a2_0x55edb9(0x2dd)](async(_0xfa01ae,_0x4f3a62)=>{const _0x181a42=a2_0x55edb9,_0x31b58c=new PSPzDeleteCommand(),_0x116578=program['opts'](),_0x19bce0=await createTDXInstance(_0x116578),_0x50e660=await _0x31b58c[_0x181a42(0x157)]({'options':{..._0x116578,..._0x4f3a62},'args':[_0xfa01ae],'tdx':_0x19bce0});gracefulExit(_0x50e660);}),psPzCmd['command'](a2_0x55edb9(0x1a2))[a2_0x55edb9(0x124)](a2_0x55edb9(0x20b))[a2_0x55edb9(0x133)]('--name\x20<text>',a2_0x55edb9(0x1ac))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1a7),a2_0x55edb9(0x46e))['option'](a2_0x55edb9(0x1cc),a2_0x55edb9(0x2b6))[a2_0x55edb9(0x133)](a2_0x55edb9(0x26c),'Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x2b2),a2_0x55edb9(0x184))['option'](a2_0x55edb9(0x462),a2_0x55edb9(0x1c7))[a2_0x55edb9(0x2dd)](async _0x32c616=>{const _0x290715=a2_0x55edb9,_0x20c57e=new PSPzCreateCommand(),_0x4dab20=program['opts'](),_0x17bd39=await createTDXInstance(_0x4dab20),_0x5ac0a5=await _0x20c57e[_0x290715(0x157)]({'options':{..._0x4dab20,..._0x32c616},'args':[],'tdx':_0x17bd39});gracefulExit(_0x5ac0a5);}),psPzCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x402))[a2_0x55edb9(0x124)](a2_0x55edb9(0x143))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3e0),a2_0x55edb9(0x1ac))['option']('--description\x20<text>',a2_0x55edb9(0x46e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x2b2),a2_0x55edb9(0x184))[a2_0x55edb9(0x133)](a2_0x55edb9(0x462),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x55edb9(0x2dd)](async(_0x217f35,_0x1a9d3c)=>{const _0x4a5965=a2_0x55edb9,_0x2a874c=new PSPzPatchCommand(),_0x27ca68=program[_0x4a5965(0x26d)](),_0x5ad584=await createTDXInstance(_0x27ca68),_0x2607fc=await _0x2a874c[_0x4a5965(0x157)]({'options':{..._0x27ca68,..._0x1a9d3c},'args':[_0x217f35],'tdx':_0x5ad584});gracefulExit(_0x2607fc);});const psPzServiceCmd=psPzCmd[a2_0x55edb9(0x15f)]('service')[a2_0x55edb9(0x124)](a2_0x55edb9(0x46a));psPzServiceCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3b3))[a2_0x55edb9(0x124)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x55edb9(0x2dd)](async(_0x521c48,_0x2b6b7b)=>{const _0x59ffd9=a2_0x55edb9,_0x4d71cc=new PSPzServiceListCommand(),_0x227535=program[_0x59ffd9(0x26d)](),_0x2df3fa=await createTDXInstance(_0x227535),_0x376a41=await _0x4d71cc[_0x59ffd9(0x157)]({'options':{..._0x227535,..._0x2b6b7b},'args':_0x521c48?[_0x521c48]:[],'tdx':_0x2df3fa});gracefulExit(_0x376a41);}),psPzServiceCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3bd))[a2_0x55edb9(0x124)](a2_0x55edb9(0x434))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1a7),a2_0x55edb9(0x354))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3a5),a2_0x55edb9(0x33d))[a2_0x55edb9(0x2dd)](async(_0x2632c5,_0x5ab2a2,_0x4770f7)=>{const _0x386f1c=a2_0x55edb9,_0x3e70b8=new PSPzServiceCreateCommand(),_0x592872=program[_0x386f1c(0x26d)](),_0x704af2=await createTDXInstance(_0x592872),_0x4a9e76=await _0x3e70b8[_0x386f1c(0x157)]({'options':{..._0x592872,..._0x4770f7},'args':_0x5ab2a2?[_0x2632c5,_0x5ab2a2]:[_0x2632c5],'tdx':_0x704af2});gracefulExit(_0x4a9e76);}),psPzServiceCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x290))[a2_0x55edb9(0x124)]('Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)')['action'](async(_0x5ee4e0,_0x3537bf,_0x497d6a)=>{const _0x245793=a2_0x55edb9,_0x1a2c58=new PSPzServiceShowCommand(),_0x680b56=program[_0x245793(0x26d)](),_0x1e4ef3=await createTDXInstance(_0x680b56),_0x366e69=await _0x1a2c58[_0x245793(0x157)]({'options':{..._0x680b56,..._0x497d6a},'args':_0x3537bf?[_0x5ee4e0,_0x3537bf]:[_0x5ee4e0],'tdx':_0x1e4ef3});gracefulExit(_0x366e69);}),psPzServiceCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x32e))['description'](a2_0x55edb9(0x2a4))[a2_0x55edb9(0x2dd)](async(_0x13e92a,_0x48ce7e,_0x546d69)=>{const _0x3896f5=a2_0x55edb9,_0xf06af=new PSPzServiceDeleteCommand(),_0x396859=program[_0x3896f5(0x26d)](),_0x2a0520=await createTDXInstance(_0x396859),_0x4f01f3=await _0xf06af[_0x3896f5(0x157)]({'options':{..._0x396859,..._0x546d69},'args':_0x48ce7e?[_0x13e92a,_0x48ce7e]:[_0x13e92a],'tdx':_0x2a0520});gracefulExit(_0x4f01f3);}),psPzServiceCmd[a2_0x55edb9(0x15f)]('update\x20<service_id>\x20[parent_segment]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x1cf))['requiredOption']('--name\x20<name>',a2_0x55edb9(0x23f))['option'](a2_0x55edb9(0x1a7),a2_0x55edb9(0x199))[a2_0x55edb9(0x2dd)](async(_0x40baea,_0x25a169,_0x28799c)=>{const _0x6aa663=a2_0x55edb9,_0x558627=new PSPzServiceUpdateCommand(),_0x54fc9e=program['opts'](),_0x3b24f4=await createTDXInstance(_0x54fc9e),_0x5bb48f=await _0x558627[_0x6aa663(0x157)]({'options':{..._0x54fc9e,..._0x28799c},'args':_0x25a169?[_0x40baea,_0x25a169]:[_0x40baea],'tdx':_0x3b24f4});gracefulExit(_0x5bb48f);}),psPzServiceCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1d4))[a2_0x55edb9(0x124)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x45ee41,_0x54766c)=>{const _0x44b904=a2_0x55edb9,_0x335f95=new PSPzInitCommand(),_0x1d61ce=program['opts'](),_0x4fea34=await createTDXInstance(_0x1d61ce),_0x24680e=await _0x335f95[_0x44b904(0x157)]({'options':{..._0x1d61ce,..._0x54766c},'args':_0x45ee41?[_0x45ee41]:[],'tdx':_0x4fea34});gracefulExit(_0x24680e);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x55edb9(0x15f)]('token')[a2_0x55edb9(0x124)](a2_0x55edb9(0x2b1));psPzServiceTokenCmd['command'](a2_0x55edb9(0x33e))['description'](a2_0x55edb9(0x323))[a2_0x55edb9(0x133)]('--allowed-ips\x20<ips>',a2_0x55edb9(0x291))[a2_0x55edb9(0x133)]('--description\x20<text>',a2_0x55edb9(0x39a))[a2_0x55edb9(0x2dd)](async(_0x469465,_0x3ae10e,_0x4c8ebe,_0x36c38e)=>{const _0x44da69=new PSPzServiceTokenCreateCommand(),_0x3cf630=program['opts'](),_0x3e6e6e=await createTDXInstance(_0x3cf630),_0x4a30b1=await _0x44da69['run']({'options':{..._0x3cf630,..._0x36c38e},'args':_0x4c8ebe?[_0x469465,_0x3ae10e,_0x4c8ebe]:[_0x469465,_0x3ae10e],'tdx':_0x3e6e6e});gracefulExit(_0x4a30b1);}),psPzServiceTokenCmd[a2_0x55edb9(0x15f)]('delete\x20<token_id>\x20[parent_segment]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x31e))[a2_0x55edb9(0x2dd)](async(_0x2ede77,_0x3916c4,_0x2087c3)=>{const _0xa4460f=a2_0x55edb9,_0x587fd5=new PSPzServiceTokenDeleteCommand(),_0x5b3981=program[_0xa4460f(0x26d)](),_0x445a46=await createTDXInstance(_0x5b3981),_0x5099c7=await _0x587fd5[_0xa4460f(0x157)]({'options':{..._0x5b3981,..._0x2087c3},'args':_0x3916c4?[_0x2ede77,_0x3916c4]:[_0x2ede77],'tdx':_0x445a46});gracefulExit(_0x5099c7);}),parentCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x37c))[a2_0x55edb9(0x124)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x55edb9(0x13e)](a2_0x55edb9(0x3f6),'Master\x20database\x20name')[a2_0x55edb9(0x13e)]('--table\x20<table>',a2_0x55edb9(0x3ff))[a2_0x55edb9(0x133)]('--description\x20<text>',a2_0x55edb9(0x405))[a2_0x55edb9(0x133)](a2_0x55edb9(0x34e),a2_0x55edb9(0x17d))[a2_0x55edb9(0x133)]('--schedule-option\x20<value>',a2_0x55edb9(0x1dc))['option'](a2_0x55edb9(0x293),'Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x55edb9(0x133)]('--attributes\x20<json>','Attributes\x20as\x20JSON\x20string')[a2_0x55edb9(0x133)](a2_0x55edb9(0x358),a2_0x55edb9(0x2eb))[a2_0x55edb9(0x133)](a2_0x55edb9(0x39c),a2_0x55edb9(0x409))[a2_0x55edb9(0x133)]('--behaviors-file\x20<file>',a2_0x55edb9(0x1cd))['option'](a2_0x55edb9(0x1ef),a2_0x55edb9(0x180))['option'](a2_0x55edb9(0x1fe),a2_0x55edb9(0x41f))[a2_0x55edb9(0x2dd)](async(_0x48e1d6,_0x14559d)=>{const _0xf6bbba=a2_0x55edb9,_0x4ec95e=new ParentSegmentCreateCommand(),_0xb9ce09=program[_0xf6bbba(0x26d)](),_0x3b0b5f=await createTDXInstance(_0xb9ce09),_0x5130cb=await _0x4ec95e['run']({'options':{..._0xb9ce09,..._0x14559d},'args':[_0x48e1d6],'tdx':_0x3b0b5f});gracefulExit(_0x5130cb);}),parentCmd[a2_0x55edb9(0x15f)]('update\x20<name>')[a2_0x55edb9(0x124)](a2_0x55edb9(0x38c))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1a7),a2_0x55edb9(0x226))['option']('--schedule-type\x20<type>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x55edb9(0x133)](a2_0x55edb9(0x201),a2_0x55edb9(0x1c6))[a2_0x55edb9(0x133)](a2_0x55edb9(0x293),a2_0x55edb9(0x183))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3ba),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x55edb9(0x133)](a2_0x55edb9(0x32a),a2_0x55edb9(0x436))['option'](a2_0x55edb9(0x3b7),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x55edb9(0x133)]('--add-behaviors-file\x20<file>',a2_0x55edb9(0x182))['action'](async(_0x3e24e0,_0x1fe22e)=>{const _0x56a7cb=a2_0x55edb9,_0x3b5552=new ParentSegmentUpdateCommand(),_0x531da0=program[_0x56a7cb(0x26d)](),_0x2ae862=await createTDXInstance(_0x531da0),_0x18124a=await _0x3b5552[_0x56a7cb(0x157)]({'options':{..._0x531da0,..._0x1fe22e},'args':[_0x3e24e0],'tdx':_0x2ae862});gracefulExit(_0x18124a);}),folderCmd[a2_0x55edb9(0x15f)]('create\x20<parent_name>\x20<folder_name>')[a2_0x55edb9(0x124)](a2_0x55edb9(0x1e0))['option'](a2_0x55edb9(0x1a7),'Folder\x20description')[a2_0x55edb9(0x133)](a2_0x55edb9(0x364),a2_0x55edb9(0x2d3))[a2_0x55edb9(0x2dd)](async(_0x1444b7,_0x5f0a15,_0xb67e6d)=>{const _0x2a4d57=a2_0x55edb9,_0x56d747=new SegmentFolderCreateCommand(),_0x313746=program[_0x2a4d57(0x26d)](),_0xc8cd48=await createTDXInstance(_0x313746),_0x272b24=await _0x56d747[_0x2a4d57(0x157)]({'options':{..._0x313746,..._0xb67e6d},'args':[_0x1444b7,_0x5f0a15],'tdx':_0xc8cd48});gracefulExit(_0x272b24);}),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x265))['description']('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x55edb9(0x2dd)](async(_0x2041c8,_0x56c1c9)=>{const _0x3f807c=a2_0x55edb9,_0x111ea3=new ActivationsCommand(),_0x10236d=program[_0x3f807c(0x26d)](),_0x2805c4=await createTDXInstance(_0x10236d),_0x439e36=await _0x111ea3[_0x3f807c(0x157)]({'options':{..._0x10236d,..._0x56c1c9},'args':[_0x2041c8],'tdx':_0x2805c4});gracefulExit(_0x439e36);});const workflowCmd=program[a2_0x55edb9(0x15f)]('workflow')[a2_0x55edb9(0x2f4)]('wf')['description'](a2_0x55edb9(0x249)),wfProjectCmd=workflowCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2ab))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2d5)),wfProjectListAction=async(_0x6fb796,_0x59c0d5)=>{const _0x36e946=a2_0x55edb9,_0x21cbde=new WorkflowProjectsCommand(),_0x2050d1=program[_0x36e946(0x26d)](),_0xaa2b0d=await createTDXInstance(_0x2050d1),_0x599515=await _0x21cbde['run']({'options':{..._0x2050d1,..._0x59c0d5},'args':_0x6fb796?[_0x6fb796]:[],'tdx':_0xaa2b0d});gracefulExit(_0x599515);};wfProjectCmd['command'](a2_0x55edb9(0x1a5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x13d))['action'](wfProjectListAction),workflowCmd[a2_0x55edb9(0x15f)]('projects\x20[pattern]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x254))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x1fd1a0,_0x4c9962)=>{const _0x383cb6=a2_0x55edb9,_0x340614=new WorkflowWorkflowsCommand(),_0x38b2a4=program[_0x383cb6(0x26d)](),_0x2ecf11=await createTDXInstance(_0x38b2a4),_0xb5595=await _0x340614[_0x383cb6(0x157)]({'options':{..._0x38b2a4,..._0x4c9962},'args':_0x1fd1a0?[_0x1fd1a0]:[],'tdx':_0x2ecf11});gracefulExit(_0xb5595);};workflowCmd['command'](a2_0x55edb9(0x239))[a2_0x55edb9(0x124)](a2_0x55edb9(0x14a))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x55edb9(0x446))[a2_0x55edb9(0x124)](a2_0x55edb9(0x416)),wfSessionListAction=async(_0x292828,_0x3cef84)=>{const _0xde04bf=a2_0x55edb9,_0x37318b=new WorkflowSessionsCommand(),_0x271d7e=program[_0xde04bf(0x26d)](),_0x365a3d=await createTDXInstance(_0x271d7e),_0x287cd5=await _0x37318b[_0xde04bf(0x157)]({'options':{..._0x271d7e,..._0x3cef84},'args':_0x292828?[_0x292828]:[],'tdx':_0x365a3d});gracefulExit(_0x287cd5);};wfSessionCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1e9))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3fc))['option'](a2_0x55edb9(0x426),a2_0x55edb9(0x3a4))[a2_0x55edb9(0x133)]('--from\x20<timestamp>',a2_0x55edb9(0x461))['option'](a2_0x55edb9(0x3a6),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x55edb9(0x2dd)](wfSessionListAction),workflowCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x216))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1ee))[a2_0x55edb9(0x133)](a2_0x55edb9(0x426),a2_0x55edb9(0x3a4))[a2_0x55edb9(0x133)]('--from\x20<timestamp>',a2_0x55edb9(0x461))['option'](a2_0x55edb9(0x3a6),a2_0x55edb9(0x469))[a2_0x55edb9(0x2dd)](wfSessionListAction);const wfAttemptListAction=async(_0x35c76f,_0x457cba)=>{const _0x3df810=a2_0x55edb9,_0x545acc=new WorkflowAttemptsCommand(),_0x3336af=program[_0x3df810(0x26d)](),_0x354b7a=await createTDXInstance(_0x3336af),_0x2fc26d=await _0x545acc[_0x3df810(0x157)]({'options':{..._0x3336af,..._0x457cba},'args':_0x35c76f?[_0x35c76f]:[],'tdx':_0x354b7a});gracefulExit(_0x2fc26d);},attemptCmd=workflowCmd['command'](a2_0x55edb9(0x2ed))[a2_0x55edb9(0x124)](a2_0x55edb9(0x40d))[a2_0x55edb9(0x39d)](a2_0x55edb9(0x320),a2_0x55edb9(0x220))['argument'](a2_0x55edb9(0x2bb),a2_0x55edb9(0x42f))[a2_0x55edb9(0x39d)](a2_0x55edb9(0x317),a2_0x55edb9(0x142))[a2_0x55edb9(0x133)](a2_0x55edb9(0x296),a2_0x55edb9(0x41b))[a2_0x55edb9(0x133)](a2_0x55edb9(0x22f),a2_0x55edb9(0x444))[a2_0x55edb9(0x133)]('--resume-from\x20<task>',a2_0x55edb9(0x43a))[a2_0x55edb9(0x133)](a2_0x55edb9(0x23e),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x55edb9(0x133)]('--force',a2_0x55edb9(0x351))['option']('--include-retried',a2_0x55edb9(0x2cd))[a2_0x55edb9(0x2dd)](async(_0x454def,_0x19f620,_0x23395c,_0x4e091f)=>{const _0x4d7338=a2_0x55edb9;if(_0x454def===_0x4d7338(0x2c8)){await wfAttemptListAction(_0x19f620,_0x4e091f);return;}if(!_0x454def){attemptCmd[_0x4d7338(0x188)]();return;}const _0x1c02d2=program[_0x4d7338(0x26d)](),_0x4a9372=await createTDXInstance(_0x1c02d2);let _0x583483=0x0;if(!_0x19f620){const _0x5129b8=new WorkflowAttemptCommand();_0x583483=await _0x5129b8[_0x4d7338(0x157)]({'options':{..._0x1c02d2,..._0x4e091f},'args':[_0x454def],'tdx':_0x4a9372});}else{if(_0x19f620==='logs'){const _0x3a965b=new WorkflowLogsCommand();_0x583483=await _0x3a965b[_0x4d7338(0x157)]({'options':{..._0x1c02d2,..._0x4e091f},'args':_0x23395c?[_0x454def,_0x23395c]:[_0x454def],'tdx':_0x4a9372});}else{if(_0x19f620===_0x4d7338(0x30a)){const _0xb34821=new WorkflowTasksCommand();_0x583483=await _0xb34821[_0x4d7338(0x157)]({'options':{..._0x1c02d2,..._0x4e091f},'args':[_0x454def],'tdx':_0x4a9372});}else{if(_0x19f620===_0x4d7338(0x2b8)){const _0x359019=new WorkflowKillCommand();_0x583483=await _0x359019['run']({'options':{..._0x1c02d2,..._0x4e091f},'args':[_0x454def],'tdx':_0x4a9372});}else{if(_0x19f620==='retry'){const _0x27c90e=new WorkflowRetryCommand();_0x583483=await _0x27c90e[_0x4d7338(0x157)]({'options':{..._0x1c02d2,..._0x4e091f},'args':['attempt:'+_0x454def],'tdx':_0x4a9372});}else console[_0x4d7338(0x259)]('Unknown\x20action:\x20'+_0x19f620),console[_0x4d7338(0x259)](_0x4d7338(0x468)),_0x583483=0x1;}}}}gracefulExit(_0x583483);});attemptCmd['command'](a2_0x55edb9(0x1e9))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3d9))['option'](a2_0x55edb9(0x28a),a2_0x55edb9(0x37a))[a2_0x55edb9(0x2dd)](wfAttemptListAction),workflowCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x18a))[a2_0x55edb9(0x124)](a2_0x55edb9(0x16d))['option'](a2_0x55edb9(0x28a),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd['command'](a2_0x55edb9(0x172))[a2_0x55edb9(0x124)](a2_0x55edb9(0x20d))[a2_0x55edb9(0x133)]('--follow',a2_0x55edb9(0x327))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3f2),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0x55edb9(0x133)]('--attempt-id\x20<id>',a2_0x55edb9(0x44e))[a2_0x55edb9(0x2dd)](async(_0x14b959,_0x28d6f8)=>{const _0x5d1ea4=a2_0x55edb9,_0x3ac2a7=new WorkflowTimelineCommand(),_0x4a6930=program[_0x5d1ea4(0x26d)](),_0x257f18=await createTDXInstance(_0x4a6930),_0x1f8708=await _0x3ac2a7[_0x5d1ea4(0x157)]({'options':{..._0x4a6930,..._0x28d6f8},'args':_0x14b959?[_0x14b959]:[],'tdx':_0x257f18});gracefulExit(_0x1f8708);}),workflowCmd['command']('retry\x20<session-id>')['description'](a2_0x55edb9(0x3c9))['option'](a2_0x55edb9(0x25d),'Resume\x20from\x20specific\x20task')['option']('--params\x20<json>',a2_0x55edb9(0x3cd))[a2_0x55edb9(0x2dd)](async(_0x4e8f9d,_0x426068)=>{const _0x43db32=a2_0x55edb9,_0x385b27=new WorkflowRetryCommand(),_0xcbe51e=program[_0x43db32(0x26d)](),_0x2aeb6a=await createTDXInstance(_0xcbe51e),_0x27ca1b=await _0x385b27[_0x43db32(0x157)]({'options':{..._0xcbe51e,..._0x426068},'args':[_0x4e8f9d],'tdx':_0x2aeb6a});gracefulExit(_0x27ca1b);}),workflowCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x452))[a2_0x55edb9(0x124)](a2_0x55edb9(0x299))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3e3),a2_0x55edb9(0x223),(_0x25db8d,_0x42238e=[])=>[..._0x42238e,_0x25db8d],[])[a2_0x55edb9(0x133)](a2_0x55edb9(0x274),a2_0x55edb9(0x41d))[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x35b))['action'](async(_0x2d011b,_0x34686b)=>{const _0xde022c=a2_0x55edb9,_0x2081e5=new WorkflowRunCommand(),_0x45f05e=program[_0xde022c(0x26d)](),_0x2fd195=await createTDXInstance(_0x45f05e),_0x407b34=await _0x2081e5[_0xde022c(0x157)]({'options':{..._0x45f05e,..._0x34686b},'args':_0x2d011b?[_0x2d011b]:[],'tdx':_0x2fd195});gracefulExit(_0x407b34);}),workflowCmd[a2_0x55edb9(0x15f)]('download\x20<project-name>\x20[output-dir]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x322))['option'](a2_0x55edb9(0x311),a2_0x55edb9(0x253))['action'](async(_0xfac2a2,_0x3e704d,_0x4d8b8b)=>{const _0x310369=new WorkflowDownloadCommand(),_0x811829=program['opts'](),_0x113375=await createTDXInstance(_0x811829),_0x5646ba=await _0x310369['run']({'options':{..._0x811829,..._0x4d8b8b},'args':[_0xfac2a2,_0x3e704d||'.'],'tdx':_0x113375});gracefulExit(_0x5646ba);}),workflowCmd[a2_0x55edb9(0x15f)]('pull\x20<project>\x20[target-dir]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x25c))[a2_0x55edb9(0x133)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x2b9))['action'](async(_0xdf13e8,_0x1d8b37,_0x30b590)=>{const _0x295158=a2_0x55edb9,_0x22e5c5=new WorkflowPullCommand(),_0x59bd5c=program[_0x295158(0x26d)](),_0x1dec54=await createTDXInstance(_0x59bd5c),_0x22b74b=await _0x22e5c5['run']({'options':{..._0x59bd5c,..._0x30b590},'args':_0x1d8b37?[_0xdf13e8,_0x1d8b37]:[_0xdf13e8],'tdx':_0x1dec54});gracefulExit(_0x22b74b);}),workflowCmd[a2_0x55edb9(0x15f)]('push\x20[source-dir]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x2be))[a2_0x55edb9(0x133)]('--revision\x20<revision>',a2_0x55edb9(0x1ce))[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x24c))[a2_0x55edb9(0x133)]('--skip-validation',a2_0x55edb9(0x3a7))[a2_0x55edb9(0x2dd)](async(_0x55bdb2,_0x652d7f)=>{const _0x336c08=new WorkflowPushCommand(),_0x4c25b2=program['opts'](),_0x3eb6e7=await createTDXInstance(_0x4c25b2),_0x74dede=await _0x336c08['run']({'options':{..._0x4c25b2,..._0x652d7f},'args':_0x55bdb2?[_0x55bdb2]:[],'tdx':_0x3eb6e7});gracefulExit(_0x74dede);}),workflowCmd[a2_0x55edb9(0x15f)]('upload\x20[project-name-or-dir]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x31a))[a2_0x55edb9(0x133)](a2_0x55edb9(0x2a6),'Override\x20project\x20name')[a2_0x55edb9(0x133)](a2_0x55edb9(0x311),a2_0x55edb9(0x161))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3db),a2_0x55edb9(0x3a7))[a2_0x55edb9(0x2dd)](async(_0x2cc5d5,_0x357853)=>{const _0x135a18=a2_0x55edb9,_0x3fbb2f=new WorkflowUploadCommand(),_0x54a1c4=program['opts'](),_0x1205fb=await createTDXInstance(_0x54a1c4),_0x57de2d=await _0x3fbb2f[_0x135a18(0x157)]({'options':{..._0x54a1c4,..._0x357853},'args':_0x2cc5d5?[_0x2cc5d5]:[],'tdx':_0x1205fb});gracefulExit(_0x57de2d);}),workflowCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x39f))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1a3))[a2_0x55edb9(0x133)](a2_0x55edb9(0x2a6),a2_0x55edb9(0x3c2))[a2_0x55edb9(0x133)](a2_0x55edb9(0x311),a2_0x55edb9(0x1ce))[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x457))[a2_0x55edb9(0x133)]('--skip-validation',a2_0x55edb9(0x3a7))[a2_0x55edb9(0x2dd)](async(_0x4dda18,_0x2e8b24)=>{const _0x505867=a2_0x55edb9,_0x586fb4=new WorkflowCloneCommand(),_0x23f4f9=program[_0x505867(0x26d)](),_0xe426e5=await createTDXInstance(_0x23f4f9),_0x247db9=await _0x586fb4[_0x505867(0x157)]({'options':{..._0x23f4f9,..._0x2e8b24},'args':_0x4dda18?[_0x4dda18]:[],'tdx':_0xe426e5});gracefulExit(_0x247db9);}),workflowCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x308))[a2_0x55edb9(0x124)](a2_0x55edb9(0x158))[a2_0x55edb9(0x2dd)](async(_0x1b73a6,_0x40deb7)=>{const _0x2ac86c=a2_0x55edb9,_0xf2e279=new WorkflowDeleteCommand(),_0x9bd8f9=program[_0x2ac86c(0x26d)](),_0x369e8a=await createTDXInstance(_0x9bd8f9),_0x1db08d=await _0xf2e279['run']({'options':{..._0x9bd8f9,..._0x40deb7},'args':[_0x1b73a6],'tdx':_0x369e8a});gracefulExit(_0x1db08d);}),workflowCmd[a2_0x55edb9(0x15f)]('use\x20[project]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x309))['option']('--clear',a2_0x55edb9(0x15d))['action'](async(_0x49f049,_0x1356d2)=>{const _0x1bb008=a2_0x55edb9,_0x33f01b=new WorkflowUseCommand(),_0x4ed800=program[_0x1bb008(0x26d)](),_0x5e0a0c=await createTDXInstance(_0x4ed800),_0x13c621=await _0x33f01b['run']({'options':{..._0x4ed800,..._0x1356d2},'args':_0x49f049?[_0x49f049]:[],'tdx':_0x5e0a0c});gracefulExit(_0x13c621);});const wfSecretsCmd=workflowCmd['command'](a2_0x55edb9(0x3ac))['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1e9))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3b4))[a2_0x55edb9(0x2dd)](async(_0x146ff9,_0xa43dc9)=>{const _0x40931d=a2_0x55edb9,_0x35b0b4=new WorkflowSecretsListCommand(),_0x3efbc5=program['opts'](),_0xe14a85=await createTDXInstance(_0x3efbc5),_0x36deb7=await _0x35b0b4[_0x40931d(0x157)]({'options':{..._0x3efbc5,..._0xa43dc9},'args':_0x146ff9?[_0x146ff9]:[],'tdx':_0xe14a85});gracefulExit(_0x36deb7);}),wfSecretsCmd['command'](a2_0x55edb9(0x14f))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2ce))[a2_0x55edb9(0x2dd)](async(_0x825576,_0x10697e)=>{const _0x1e997b=a2_0x55edb9,_0x39bd35=new WorkflowSecretsSetCommand(),_0x2c2708=program[_0x1e997b(0x26d)](),_0x2978ad=await createTDXInstance(_0x2c2708),_0x4fe131=await _0x39bd35[_0x1e997b(0x157)]({'options':{..._0x2c2708,..._0x10697e},'args':_0x825576,'tdx':_0x2978ad});gracefulExit(_0x4fe131);}),wfSecretsCmd['command'](a2_0x55edb9(0x430))['description'](a2_0x55edb9(0x2a2))[a2_0x55edb9(0x2dd)](async(_0x56b28f,_0x2c1d82)=>{const _0x41b2d8=a2_0x55edb9,_0x2a4e40=new WorkflowSecretsDeleteCommand(),_0x403eac=program[_0x41b2d8(0x26d)](),_0x9f2717=await createTDXInstance(_0x403eac),_0x1bb0c0=await _0x2a4e40[_0x41b2d8(0x157)]({'options':{..._0x403eac,..._0x2c1d82},'args':_0x56b28f,'tdx':_0x9f2717});gracefulExit(_0x1bb0c0);});const wfScheduleCmd=workflowCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2c0))[a2_0x55edb9(0x124)](a2_0x55edb9(0x132));wfScheduleCmd['command'](a2_0x55edb9(0x261))['description'](a2_0x55edb9(0x304))[a2_0x55edb9(0x2dd)](async(_0x2238d3,_0x32eaa2)=>{const _0x5f49bb=a2_0x55edb9,_0x279545=new WorkflowScheduleEnableCommand(),_0x11ba95=program['opts'](),_0x170c8f=await createTDXInstance(_0x11ba95),_0x1f8d8c=await _0x279545[_0x5f49bb(0x157)]({'options':{..._0x11ba95,..._0x32eaa2},'args':[_0x2238d3],'tdx':_0x170c8f});gracefulExit(_0x1f8d8c);}),wfScheduleCmd['command']('disable\x20<id>')['description'](a2_0x55edb9(0x3fd))['action'](async(_0x14a896,_0x2e2e91)=>{const _0x20f2ab=a2_0x55edb9,_0x1ab3f7=new WorkflowScheduleDisableCommand(),_0x3d8305=program[_0x20f2ab(0x26d)](),_0x276dcd=await createTDXInstance(_0x3d8305),_0x96a39d=await _0x1ab3f7[_0x20f2ab(0x157)]({'options':{..._0x3d8305,..._0x2e2e91},'args':[_0x14a896],'tdx':_0x276dcd});gracefulExit(_0x96a39d);}),workflowCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1e4))[a2_0x55edb9(0x124)]('List\x20all\x20workflow\x20schedules')[a2_0x55edb9(0x2dd)](async _0x445fda=>{const _0xae0f85=a2_0x55edb9,_0x236e9e=new WorkflowSchedulesCommand(),_0x3fc080=program['opts'](),_0x5070a1=await createTDXInstance(_0x3fc080),_0x56091c=await _0x236e9e[_0xae0f85(0x157)]({'options':{..._0x3fc080,..._0x445fda},'args':[],'tdx':_0x5070a1});gracefulExit(_0x56091c);});const jobCmd=program['command'](a2_0x55edb9(0x190))[a2_0x55edb9(0x124)](a2_0x55edb9(0x196)),jobListAction=async _0x27d0e9=>{const _0x3cabe9=a2_0x55edb9,_0x31d6a5=new JobListCommand(),_0x2bad22=program[_0x3cabe9(0x26d)](),_0x27782c=await createTDXInstance(_0x2bad22),_0x4bcfbf=await _0x31d6a5[_0x3cabe9(0x157)]({'options':{..._0x2bad22,..._0x27d0e9},'args':[],'tdx':_0x27782c});gracefulExit(_0x4bcfbf);};jobCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2c8))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3ca))[a2_0x55edb9(0x133)]('--status\x20<status>',a2_0x55edb9(0x335))[a2_0x55edb9(0x2dd)](jobListAction),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1e6),{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x3a2))[a2_0x55edb9(0x133)](a2_0x55edb9(0x426),a2_0x55edb9(0x335))[a2_0x55edb9(0x2dd)](jobListAction),jobCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1e3))[a2_0x55edb9(0x124)](a2_0x55edb9(0x242))[a2_0x55edb9(0x2dd)](async(_0x24472f,_0x23563a)=>{const _0x3df2cb=a2_0x55edb9,_0x301702=new JobShowCommand(),_0x11db85=program[_0x3df2cb(0x26d)](),_0x286e12=await createTDXInstance(_0x11db85),_0x470863=await _0x301702['run']({'options':{..._0x11db85,..._0x23563a},'args':[_0x24472f],'tdx':_0x286e12});gracefulExit(_0x470863);}),jobCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2fa))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2a7))[a2_0x55edb9(0x2dd)](async(_0x8aa541,_0x1ccfd2)=>{const _0x563c1a=a2_0x55edb9,_0x4b949f=new JobKillCommand(),_0x5c46cf=program['opts'](),_0x573441=await createTDXInstance(_0x5c46cf),_0x25f3e8=await _0x4b949f[_0x563c1a(0x157)]({'options':{..._0x5c46cf,..._0x1ccfd2},'args':[_0x8aa541],'tdx':_0x573441});gracefulExit(_0x25f3e8);}),jobCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x282))[a2_0x55edb9(0x124)]('Submit\x20a\x20job')[a2_0x55edb9(0x133)]('--job-type\x20<type>',a2_0x55edb9(0x43d),a2_0x55edb9(0x303))[a2_0x55edb9(0x133)](a2_0x55edb9(0x32d),a2_0x55edb9(0x1be))[a2_0x55edb9(0x133)](a2_0x55edb9(0x234),a2_0x55edb9(0x195),a2_0x55edb9(0x375))[a2_0x55edb9(0x133)](a2_0x55edb9(0x33c),a2_0x55edb9(0x404))[a2_0x55edb9(0x2dd)](async(_0xab5f38,_0xbead22)=>{const _0x3ec9e5=a2_0x55edb9,_0x185a4f=new JobSubmitCommand(),_0x23a88e=program['opts'](),_0x1a65b0=await createTDXInstance(_0x23a88e),_0x26e217=await _0x185a4f[_0x3ec9e5(0x157)]({'options':{..._0x23a88e,..._0xbead22},'args':_0xab5f38?[_0xab5f38]:[],'tdx':_0x1a65b0});gracefulExit(_0x26e217);}),jobCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x310))[a2_0x55edb9(0x124)](a2_0x55edb9(0x213))[a2_0x55edb9(0x2dd)](async(_0x4152b4,_0xf36505)=>{const _0x291c92=a2_0x55edb9,_0x231f15=new JobResultCommand(),_0x1ba1d6=program[_0x291c92(0x26d)](),_0x56a63f=await createTDXInstance(_0x1ba1d6),_0x23d02e=await _0x231f15[_0x291c92(0x157)]({'options':{..._0x1ba1d6,..._0xf36505},'args':[_0x4152b4],'tdx':_0x56a63f});gracefulExit(_0x23d02e);});const scheduleCmd=jobCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2c0))['description'](a2_0x55edb9(0x241));scheduleCmd['command'](a2_0x55edb9(0x1a5))[a2_0x55edb9(0x124)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')[a2_0x55edb9(0x2dd)](async(_0x133f8f,_0x1ac804)=>{const _0x512f66=new ScheduleListCommand(),_0x5e75a1=program['opts'](),_0x1bb621=await createTDXInstance(_0x5e75a1),_0x3f26a7=await _0x512f66['run']({'options':{..._0x5e75a1,..._0x1ac804},'args':_0x133f8f?[_0x133f8f]:[],'tdx':_0x1bb621});gracefulExit(_0x3f26a7);}),scheduleCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x453))[a2_0x55edb9(0x124)](a2_0x55edb9(0x36a))[a2_0x55edb9(0x2dd)](async(_0x10f33e,_0x1c7aa6)=>{const _0x4bdcbf=a2_0x55edb9,_0x35c648=new ScheduleShowCommand(),_0x40086c=program[_0x4bdcbf(0x26d)](),_0x38b8a6=await createTDXInstance(_0x40086c),_0x2cda1e=await _0x35c648[_0x4bdcbf(0x157)]({'options':{..._0x40086c,..._0x1c7aa6},'args':[_0x10f33e],'tdx':_0x38b8a6});gracefulExit(_0x2cda1e);}),scheduleCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x37c))[a2_0x55edb9(0x124)](a2_0x55edb9(0x13a))['option'](a2_0x55edb9(0x1fc),a2_0x55edb9(0x419))[a2_0x55edb9(0x133)](a2_0x55edb9(0x46b),a2_0x55edb9(0x3fe))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x32d),'Read\x20query\x20from\x20file')[a2_0x55edb9(0x133)](a2_0x55edb9(0x181),a2_0x55edb9(0x16f),'trino')[a2_0x55edb9(0x133)]('--cron\x20<expression>',a2_0x55edb9(0x168))[a2_0x55edb9(0x133)](a2_0x55edb9(0x293),'Timezone\x20for\x20cron\x20(default:\x20UTC)')['option'](a2_0x55edb9(0x27d),a2_0x55edb9(0x162))['option'](a2_0x55edb9(0x1c9),a2_0x55edb9(0x1a8))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1ad),a2_0x55edb9(0x136))[a2_0x55edb9(0x133)]('--engine-version\x20<version>',a2_0x55edb9(0x298))[a2_0x55edb9(0x133)](a2_0x55edb9(0x2e4),'Result\x20output\x20destination\x20URL')['action'](async(_0x4224ad,_0x2aa867)=>{const _0x17b6d5=a2_0x55edb9,_0x26e007=new ScheduleCreateCommand(),_0x9b95ab=program[_0x17b6d5(0x26d)](),_0x7a5c98=await createTDXInstance(_0x9b95ab);_0x2aa867['in']&&(_0x2aa867[_0x17b6d5(0x40e)]=_0x2aa867['in']);const _0x2de82d=await _0x26e007[_0x17b6d5(0x157)]({'options':{..._0x9b95ab,..._0x2aa867},'args':[_0x4224ad],'tdx':_0x7a5c98});gracefulExit(_0x2de82d);}),scheduleCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x43c))[a2_0x55edb9(0x124)]('Update\x20a\x20scheduled\x20query')[a2_0x55edb9(0x133)](a2_0x55edb9(0x1fc),a2_0x55edb9(0x1d7))['option'](a2_0x55edb9(0x46b),a2_0x55edb9(0x3fe))[a2_0x55edb9(0x133)](a2_0x55edb9(0x32d),a2_0x55edb9(0x1be))['option']('--type\x20<type>',a2_0x55edb9(0x16f))[a2_0x55edb9(0x133)](a2_0x55edb9(0x16a),a2_0x55edb9(0x168))[a2_0x55edb9(0x133)](a2_0x55edb9(0x293),a2_0x55edb9(0x342))['option'](a2_0x55edb9(0x27d),a2_0x55edb9(0x162))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1c9),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x1ad),a2_0x55edb9(0x136))[a2_0x55edb9(0x133)](a2_0x55edb9(0x300),a2_0x55edb9(0x298))[a2_0x55edb9(0x133)](a2_0x55edb9(0x2e4),a2_0x55edb9(0x2c5))[a2_0x55edb9(0x2dd)](async(_0xbedcf0,_0x3958a9)=>{const _0x270980=a2_0x55edb9,_0x3565ba=new ScheduleUpdateCommand(),_0x4c5427=program[_0x270980(0x26d)](),_0x5392c5=await createTDXInstance(_0x4c5427);_0x3958a9['in']&&(_0x3958a9[_0x270980(0x40e)]=_0x3958a9['in']);const _0x19f32b=await _0x3565ba['run']({'options':{..._0x4c5427,..._0x3958a9},'args':[_0xbedcf0],'tdx':_0x5392c5});gracefulExit(_0x19f32b);}),scheduleCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3f5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x21f))[a2_0x55edb9(0x2dd)](async(_0x1f2435,_0x529434)=>{const _0x1e0f13=a2_0x55edb9,_0x7dbd7a=new ScheduleDeleteCommand(),_0x25a22b=program[_0x1e0f13(0x26d)](),_0x2249a6=await createTDXInstance(_0x25a22b),_0x4c75f4=await _0x7dbd7a['run']({'options':{..._0x25a22b,..._0x529434},'args':[_0x1f2435],'tdx':_0x2249a6});gracefulExit(_0x4c75f4);}),scheduleCmd[a2_0x55edb9(0x15f)]('run\x20<name>')['description'](a2_0x55edb9(0x252))[a2_0x55edb9(0x133)](a2_0x55edb9(0x403),a2_0x55edb9(0x21e))[a2_0x55edb9(0x133)]('--num\x20<1-10>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)')['action'](async(_0x534560,_0x174a9a)=>{const _0x53ed35=a2_0x55edb9,_0x2d7310=new ScheduleRunCommand(),_0x1f5d38=program[_0x53ed35(0x26d)](),_0x3d783d=await createTDXInstance(_0x1f5d38),_0x4854b7=await _0x2d7310['run']({'options':{..._0x1f5d38,..._0x174a9a},'args':[_0x534560],'tdx':_0x3d783d});gracefulExit(_0x4854b7);}),scheduleCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x14d))[a2_0x55edb9(0x124)](a2_0x55edb9(0x44c))['option'](a2_0x55edb9(0x131),'Starting\x20offset\x20(default:\x200)')[a2_0x55edb9(0x133)]('--to\x20<n>',a2_0x55edb9(0x2f6))[a2_0x55edb9(0x2dd)](async(_0x120941,_0x5d2973)=>{const _0x292315=a2_0x55edb9,_0x43015a=new ScheduleHistoryCommand(),_0x55caa0=program[_0x292315(0x26d)](),_0x5d29cb=await createTDXInstance(_0x55caa0),_0x5b9822=await _0x43015a['run']({'options':{..._0x55caa0,..._0x5d2973},'args':[_0x120941],'tdx':_0x5d29cb});gracefulExit(_0x5b9822);});const llmCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x281))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2e9));llmCmd[a2_0x55edb9(0x15f)]('use\x20<project-name>')[a2_0x55edb9(0x124)](a2_0x55edb9(0x20c))['action'](async(_0x5ea92d,_0x309644)=>{const _0x187a29=a2_0x55edb9,_0x5b6d42=new LLMUseCommand(),_0xf2d9da=program[_0x187a29(0x26d)](),_0x3121be=await createTDXInstance(_0xf2d9da),_0x5d61cf=await _0x5b6d42[_0x187a29(0x157)]({'options':{..._0xf2d9da,..._0x309644},'args':[_0x5ea92d],'tdx':_0x3121be});gracefulExit(_0x5d61cf);}),llmCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x362))[a2_0x55edb9(0x124)]('List\x20available\x20LLM\x20models')[a2_0x55edb9(0x2dd)](async _0x248fe7=>{const _0xdf8754=a2_0x55edb9,_0x3e47a5=new LLMModelsCommand(),_0x327c56=program[_0xdf8754(0x26d)](),_0x186834=await createTDXInstance(_0x327c56),_0x3cd7ec=await _0x3e47a5['run']({'options':{..._0x327c56,..._0x248fe7},'args':[],'tdx':_0x186834});gracefulExit(_0x3cd7ec);});const projectCmd=llmCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2ab))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2e3)),llmProjectListAction=async(_0x17f829,_0x2804f0)=>{const _0x307390=a2_0x55edb9,_0x34450a=new LLMProjectsCommand(),_0x2d36c3=program[_0x307390(0x26d)](),_0x288eff=await createTDXInstance(_0x2d36c3),_0x31afad=await _0x34450a[_0x307390(0x157)]({'options':{..._0x2d36c3,..._0x2804f0},'args':_0x17f829?[_0x17f829]:[],'tdx':_0x288eff});gracefulExit(_0x31afad);};projectCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1a5))[a2_0x55edb9(0x124)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')['action'](llmProjectListAction),llmCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3d1))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2ef))['action'](llmProjectListAction),projectCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x37c))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2c4))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1a7),a2_0x55edb9(0x345))[a2_0x55edb9(0x2dd)](async(_0x33d480,_0x547773)=>{const _0x4c6d07=a2_0x55edb9,_0x19f29f=new LLMProjectCreateCommand(),_0x339227=program['opts'](),_0x4856fa=await createTDXInstance(_0x339227),_0x5d8926=await _0x19f29f[_0x4c6d07(0x157)]({'options':{..._0x339227,..._0x547773},'args':[_0x33d480],'tdx':_0x4856fa});gracefulExit(_0x5d8926);}),projectCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3f5))[a2_0x55edb9(0x124)]('Delete\x20an\x20LLM\x20project')[a2_0x55edb9(0x2dd)](async(_0x1a6573,_0x4d7d0a)=>{const _0x24ff3b=new LLMProjectDeleteCommand(),_0x11f935=program['opts'](),_0xb01244=await createTDXInstance(_0x11f935),_0x7b3d34=await _0x24ff3b['run']({'options':{..._0x11f935,..._0x4d7d0a},'args':[_0x1a6573],'tdx':_0xb01244});gracefulExit(_0x7b3d34);}),projectCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x338))[a2_0x55edb9(0x124)](a2_0x55edb9(0x408))[a2_0x55edb9(0x133)]('-o,\x20--output\x20<folder>',a2_0x55edb9(0x17a))['option'](a2_0x55edb9(0x208),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x55edb9(0x2dd)](async(_0x4de2a9,_0x14795d)=>{const _0x50adea=a2_0x55edb9,_0x37e736=new LLMProjectBackupCommand(),_0x26382f=program[_0x50adea(0x26d)](),_0x32e1aa=await createTDXInstance(_0x26382f),_0x201072=await _0x37e736[_0x50adea(0x157)]({'options':{..._0x26382f,..._0x14795d},'args':[_0x4de2a9],'tdx':_0x32e1aa});gracefulExit(_0x201072);}),projectCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3a8))['description']('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')['option'](a2_0x55edb9(0x148),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x55edb9(0x133)]('--dry-run',a2_0x55edb9(0x2fe))['action'](async(_0x5df337,_0x1646be)=>{const _0x42e36a=a2_0x55edb9,_0x55e29c=new LLMProjectRestoreCommand(),_0x56eb81=program[_0x42e36a(0x26d)](),_0x5a8ee5=await createTDXInstance(_0x56eb81),_0x48e24d=await _0x55e29c['run']({'options':{..._0x56eb81,..._0x1646be},'args':[_0x5df337],'tdx':_0x5a8ee5});gracefulExit(_0x48e24d);});const llmAgentListAction=async(_0x404e8e,_0x5c65e1)=>{const _0x376de=a2_0x55edb9,_0x29c479=new LLMAgentsCommand(),_0x308922=program['opts'](),_0x44e755=await createTDXInstance(_0x308922),_0x2ee6bb=await _0x29c479[_0x376de(0x157)]({'options':{..._0x308922,..._0x5c65e1},'args':_0x404e8e?[_0x404e8e]:[],'tdx':_0x44e755});gracefulExit(_0x2ee6bb);};llmCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x40c))[a2_0x55edb9(0x124)](a2_0x55edb9(0x397))[a2_0x55edb9(0x2dd)](llmAgentListAction),program['command'](a2_0x55edb9(0x40c))[a2_0x55edb9(0x124)](a2_0x55edb9(0x397))[a2_0x55edb9(0x2dd)](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x3dd))[a2_0x55edb9(0x133)](a2_0x55edb9(0x244),a2_0x55edb9(0x45b))[a2_0x55edb9(0x2dd)](async(_0x49b38c,_0x2a9372)=>{const _0x466747=a2_0x55edb9,_0x47b14f=new LLMHistoryCommand(),_0x477c13=program['opts'](),_0x4b8a60=await createTDXInstance(_0x477c13),_0x1d2109=await _0x47b14f[_0x466747(0x157)]({'options':{..._0x477c13,..._0x2a9372},'args':_0x49b38c?[_0x49b38c]:[],'tdx':_0x4b8a60});gracefulExit(_0x1d2109);});isExperimentalAvailable()&&llmCmd['command'](a2_0x55edb9(0x18c))[a2_0x55edb9(0x124)](a2_0x55edb9(0x42e))[a2_0x55edb9(0x2dd)](async(_0x438207,_0x4028dc)=>{const _0x4fb11d=a2_0x55edb9,_0x4fcf82=new LLMLogCommand(),_0x227dc2=program[_0x4fb11d(0x26d)](),_0x5606b=await createTDXInstance(_0x227dc2),_0x356fc2=await _0x4fcf82[_0x4fb11d(0x157)]({'options':{..._0x227dc2,..._0x4028dc},'args':[_0x438207],'tdx':_0x5606b});gracefulExit(_0x356fc2);});program[a2_0x55edb9(0x15f)]('claude\x20[args...]')[a2_0x55edb9(0x3bf)](a2_0x55edb9(0x135))['description'](a2_0x55edb9(0x197))['option'](a2_0x55edb9(0x2ca),a2_0x55edb9(0x3ed))[a2_0x55edb9(0x133)]('-r,\x20--resume',a2_0x55edb9(0x329))[a2_0x55edb9(0x133)](a2_0x55edb9(0x337),a2_0x55edb9(0x1dd))[a2_0x55edb9(0x149)]()[a2_0x55edb9(0x2a0)](!![])[a2_0x55edb9(0x438)](a2_0x55edb9(0x3c0),a2_0x55edb9(0x367))[a2_0x55edb9(0x2dd)](async(_0x242ef2,_0x4d2506)=>{const _0x9aeaa8=a2_0x55edb9,_0x3abfdd=program[_0x9aeaa8(0x26d)](),_0x20e96f=Array[_0x9aeaa8(0x166)](_0x242ef2)?_0x242ef2:[];if(_0x20e96f[0x0]===_0x9aeaa8(0x1ff)){const _0x261e25=new ClaudeStatuslineCommand(),_0x5c6154=await _0x261e25[_0x9aeaa8(0x157)]({'options':{..._0x3abfdd,..._0x4d2506},'args':_0x20e96f['slice'](0x1),'tdx':null});gracefulExit(_0x5c6154);}if(_0x20e96f[0x0]===_0x9aeaa8(0x3bf)){const _0x58632a=new ClaudeUsageCommand(),_0x219593=await _0x58632a['run']({'options':{..._0x3abfdd,..._0x4d2506},'args':_0x20e96f[_0x9aeaa8(0x165)](0x1),'tdx':null});gracefulExit(_0x219593);}const _0x3068e3=new ClaudeCommand(),_0x295bcd=await createTDXInstance(_0x3abfdd),_0xc761bf=await _0x3068e3[_0x9aeaa8(0x157)]({'options':{..._0x3abfdd,..._0x4d2506},'args':_0x20e96f,'tdx':_0x295bcd});gracefulExit(_0xc761bf);}),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3c7))[a2_0x55edb9(0x124)](a2_0x55edb9(0x401))[a2_0x55edb9(0x133)]('--clear',a2_0x55edb9(0x1a6))[a2_0x55edb9(0x133)](a2_0x55edb9(0x455),a2_0x55edb9(0x3a9))[a2_0x55edb9(0x2dd)](async(_0x1cdfb7,_0x1aaf82,_0x50db23)=>{const _0x4e37aa=a2_0x55edb9,_0x1dbd89=new UseCommand(),_0x1b69ef=program['opts'](),_0x546447=[];if(_0x1cdfb7)_0x546447['push'](_0x1cdfb7);if(_0x1aaf82)_0x546447[_0x4e37aa(0x19b)](_0x1aaf82);const _0x45622b=_0x1cdfb7===_0x4e37aa(0x1da),_0x976ca3=_0x45622b?await createTDXInstance(_0x1b69ef):null,_0x23022f=await _0x1dbd89[_0x4e37aa(0x157)]({'options':{..._0x1b69ef,..._0x50db23},'args':_0x546447,'tdx':_0x976ca3});gracefulExit(_0x23022f);}),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2a1))[a2_0x55edb9(0x124)]('Show\x20authentication\x20status\x20and\x20current\x20context')['action'](async _0xb4c654=>{const _0x3be101=a2_0x55edb9,_0x2db9bc=new StatusCommand(),_0x199076=program['opts'](),_0x5f18f1=await createTDXInstance(_0x199076),_0x3ae19c=await _0x2db9bc[_0x3be101(0x157)]({'options':{..._0x199076,..._0xb4c654},'args':[],'tdx':_0x5f18f1});gracefulExit(_0x3ae19c);}),program['command']('upgrade\x20[version]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x204))['option']('--dry-run',a2_0x55edb9(0x258))[a2_0x55edb9(0x133)](a2_0x55edb9(0x2ec),a2_0x55edb9(0x193))[a2_0x55edb9(0x133)](a2_0x55edb9(0x458),'Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)')['action'](async(_0x1e7813,_0x62d78f)=>{const _0x2a33da=a2_0x55edb9,_0x357bdc=new UpgradeCommand(),_0x231e62=program[_0x2a33da(0x26d)](),_0x48c351=await _0x357bdc['run']({'options':{..._0x231e62,..._0x62d78f},'args':_0x1e7813?[_0x1e7813]:[],'tdx':null});gracefulExit(_0x48c351);}),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x314))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2aa))['option']('--default',a2_0x55edb9(0x450))[a2_0x55edb9(0x2dd)](async(_0x49d48a,_0x329c01)=>{const _0xe433c9=a2_0x55edb9,_0x2aa160=new UnsetCommand(),_0x8ebd25=program[_0xe433c9(0x26d)](),_0x250d92=await _0x2aa160[_0xe433c9(0x157)]({'options':{..._0x8ebd25,..._0x329c01},'args':[_0x49d48a],'tdx':null});gracefulExit(_0x250d92);}),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3c8))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3f3))[a2_0x55edb9(0x133)](a2_0x55edb9(0x244),a2_0x55edb9(0x210))['action'](async _0x3b15fc=>{const _0x63c1a0=a2_0x55edb9,_0x58281f=new ChatsCommand(),_0x248acd=program['opts'](),_0x56e567=await createTDXInstance(_0x248acd),_0x4cb180=await _0x58281f[_0x63c1a0(0x157)]({'options':{..._0x248acd,..._0x3b15fc},'args':[],'tdx':_0x56e567});gracefulExit(_0x4cb180);});const authCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1f0))[a2_0x55edb9(0x124)]('Authentication\x20management');async function runAuthStatusCommand(_0x1dba10){const _0x25d740=a2_0x55edb9,_0x113870=new AuthStatusCommand(),_0x481bbc=program[_0x25d740(0x26d)](),_0x590e57=await createTDXInstance(_0x481bbc),_0x236118=await _0x113870[_0x25d740(0x157)]({'options':{..._0x481bbc,..._0x1dba10},'args':[],'tdx':_0x590e57});gracefulExit(_0x236118);}authCmd[a2_0x55edb9(0x2dd)](runAuthStatusCommand),authCmd[a2_0x55edb9(0x15f)]('status')[a2_0x55edb9(0x124)](a2_0x55edb9(0x137))[a2_0x55edb9(0x2dd)](runAuthStatusCommand);async function authSetupAction(_0x5f1721){const _0x5340df=a2_0x55edb9,_0x4b6a5d=new AuthSetupCommand(),_0x4dc3db=program[_0x5340df(0x26d)](),_0x1867bb=await createTDXInstance(_0x4dc3db),_0x5f3b10=await _0x4b6a5d[_0x5340df(0x157)]({'options':{..._0x4dc3db,..._0x5f1721},'args':[],'tdx':_0x1867bb});gracefulExit(_0x5f3b10);}authCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x449))[a2_0x55edb9(0x124)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x55edb9(0x133)](a2_0x55edb9(0x341),a2_0x55edb9(0x145))[a2_0x55edb9(0x438)](a2_0x55edb9(0x3c0),a2_0x55edb9(0x1e5))[a2_0x55edb9(0x2dd)](authSetupAction),authCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x42a),{'hidden':!![]})[a2_0x55edb9(0x133)](a2_0x55edb9(0x341),a2_0x55edb9(0x145))['action'](authSetupAction),authCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3d3))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1d1))[a2_0x55edb9(0x438)](a2_0x55edb9(0x3c0),a2_0x55edb9(0x225))[a2_0x55edb9(0x2dd)](async _0x34739b=>{const _0x3cc6bc=a2_0x55edb9,_0x427f31=new AuthClearCommand(),_0x2802d5=program[_0x3cc6bc(0x26d)](),_0x1f4628=await _0x427f31['run']({'options':{..._0x2802d5,..._0x34739b},'args':[],'tdx':null});gracefulExit(_0x1f4628);});const userCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x333))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2ee)),userListAction=async _0x400843=>{const _0x16f851=a2_0x55edb9,_0x5d4d52=new UserListCommand(),_0x4bbc58=program[_0x16f851(0x26d)](),_0x37d43a=await createTDXInstance(_0x4bbc58),_0x3a5407=await _0x5d4d52['run']({'options':{..._0x4bbc58,..._0x400843},'args':[],'tdx':_0x37d43a});gracefulExit(_0x3a5407);};userCmd[a2_0x55edb9(0x2dd)](async _0x4646fd=>{const _0x452482=a2_0x55edb9,_0x53ca5b=new UserCommand(),_0x33cd03=program[_0x452482(0x26d)](),_0x11aecf=await createTDXInstance(_0x33cd03),_0xdf2b65=await _0x53ca5b['run']({'options':{..._0x33cd03,..._0x4646fd},'args':[],'tdx':_0x11aecf});gracefulExit(_0xdf2b65);}),userCmd[a2_0x55edb9(0x15f)]('list')[a2_0x55edb9(0x124)](a2_0x55edb9(0x3e9))[a2_0x55edb9(0x2dd)](userListAction),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x154))['description']('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x55edb9(0x2dd)](userListAction);const policyCmd=program['command'](a2_0x55edb9(0x217))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1af));policyCmd[a2_0x55edb9(0x2dd)](async _0x220ea5=>{const _0x5c5884=a2_0x55edb9,_0x27857e=new PolicyCommand(),_0x4e5998=program[_0x5c5884(0x26d)](),_0x1e5047=await createTDXInstance(_0x4e5998),_0x2a9c91=await _0x27857e[_0x5c5884(0x157)]({'options':{..._0x4e5998,..._0x220ea5},'args':[],'tdx':_0x1e5047});gracefulExit(_0x2a9c91);}),policyCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2c8))[a2_0x55edb9(0x124)](a2_0x55edb9(0x331))[a2_0x55edb9(0x2dd)](async _0x55fb7e=>{const _0x5d0db6=a2_0x55edb9,_0x49da12=new PolicyListCommand(),_0x24c989=program[_0x5d0db6(0x26d)](),_0x4d51b4=await createTDXInstance(_0x24c989),_0x1a3147=await _0x49da12['run']({'options':{..._0x24c989,..._0x55fb7e},'args':[],'tdx':_0x4d51b4});gracefulExit(_0x1a3147);}),policyCmd['command'](a2_0x55edb9(0x377))[a2_0x55edb9(0x124)]('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0x55edb9(0x2dd)](async(_0x4b725a,_0x17d3b1)=>{const _0x15cc79=a2_0x55edb9,_0x120ae1=new PolicyShowCommand(),_0x4e02a4=program[_0x15cc79(0x26d)](),_0x49c86e=await createTDXInstance(_0x4e02a4),_0x256465=await _0x120ae1[_0x15cc79(0x157)]({'options':{..._0x4e02a4,..._0x17d3b1},'args':[_0x4b725a],'tdx':_0x49c86e});gracefulExit(_0x256465);}),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x45f))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1b6))[a2_0x55edb9(0x2dd)](async _0x13e1b6=>{const _0x7b8096=a2_0x55edb9,_0xdf23aa=new ProfilesCommand(),_0x51ea72=program[_0x7b8096(0x26d)](),_0x4669b7=await _0xdf23aa[_0x7b8096(0x157)]({'options':{..._0x51ea72,..._0x13e1b6},'args':[],'tdx':null});gracefulExit(_0x4669b7);});const profileCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x389))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3d8));profileCmd[a2_0x55edb9(0x2dd)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x3d96a9=>{const _0xea36ba=a2_0x55edb9,_0x39c661=new ProfilesCommand(),_0x334d49=program['opts'](),_0x1f2408=await _0x39c661[_0xea36ba(0x157)]({'options':{..._0x334d49,..._0x3d96a9},'args':[],'tdx':null});gracefulExit(_0x1f2408);};profileCmd[a2_0x55edb9(0x15f)]('list')['description'](a2_0x55edb9(0x1b6))[a2_0x55edb9(0x2dd)](profileListAction),profileCmd['command'](a2_0x55edb9(0x2e1))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2ac))[a2_0x55edb9(0x133)](a2_0x55edb9(0x341),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x55edb9(0x133)](a2_0x55edb9(0x3de),'Overwrite\x20existing\x20profile')[a2_0x55edb9(0x438)](a2_0x55edb9(0x3c0),a2_0x55edb9(0x339))[a2_0x55edb9(0x2dd)](async(_0x1382e6,_0x4fd8bb)=>{const _0x6b6ceb=a2_0x55edb9,_0x1917b1=new ProfileCreateCommand(),_0x5cae5f=program[_0x6b6ceb(0x26d)](),_0x1890d9=await _0x1917b1[_0x6b6ceb(0x157)]({'options':{..._0x5cae5f,..._0x4fd8bb},'args':_0x1382e6?[_0x1382e6]:[],'tdx':null});gracefulExit(_0x1890d9);});async function profileDeleteAction(_0xa9e18d,_0x162ec0){const _0x3c002d=new ProfileDeleteCommand(),_0x342699=program['opts'](),_0x58367b=await _0x3c002d['run']({'options':{..._0x342699,..._0x162ec0},'args':[_0xa9e18d],'tdx':null});gracefulExit(_0x58367b);}profileCmd['command'](a2_0x55edb9(0x3f5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x32b))[a2_0x55edb9(0x438)](a2_0x55edb9(0x3c0),a2_0x55edb9(0x12a))[a2_0x55edb9(0x2dd)](profileDeleteAction),profileCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2c3),{'hidden':!![]})['action'](profileDeleteAction),profileCmd['command'](a2_0x55edb9(0x307))[a2_0x55edb9(0x124)](a2_0x55edb9(0x301))[a2_0x55edb9(0x438)](a2_0x55edb9(0x3c0),a2_0x55edb9(0x192))[a2_0x55edb9(0x2dd)](async(_0x24f123,_0x432ff8)=>{const _0x5ce699=a2_0x55edb9,_0x5cfc2a=new ProfileSetCommand(),_0x52d8b7=program[_0x5ce699(0x26d)](),_0xde5002=await _0x5cfc2a[_0x5ce699(0x157)]({'options':{..._0x52d8b7,..._0x432ff8},'args':[_0x24f123],'tdx':null});gracefulExit(_0xde5002);}),profileCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3d7))[a2_0x55edb9(0x124)](a2_0x55edb9(0x395))[a2_0x55edb9(0x133)](a2_0x55edb9(0x455),a2_0x55edb9(0x3a9))['addHelpText'](a2_0x55edb9(0x3c0),a2_0x55edb9(0x3b0))['action'](async(_0x38c215,_0x68baef)=>{const _0x152479=new ProfileUseCommand(),_0x2a4c16=program['opts'](),_0x1cdca7=await _0x152479['run']({'options':{..._0x2a4c16,..._0x68baef},'args':[_0x38c215],'tdx':null});gracefulExit(_0x1cdca7);});const engageCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x272))['description']('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x5f401c=>{return async(_0x19abe6,_0x2b930f)=>{const _0x365e43=a2_0xb354,_0x477414=new _0x5f401c(),_0x383562=program[_0x365e43(0x26d)](),_0x2ba4da=await createTDXInstance(_0x383562),_0x506e50=await _0x477414[_0x365e43(0x157)]({'options':{..._0x383562,..._0x2b930f},'args':[_0x19abe6],'tdx':_0x2ba4da});gracefulExit(_0x506e50);};},createEngageNoArgAction=_0x2f97be=>{return async _0x29235c=>{const _0x42516e=a2_0xb354,_0x44a9e9=new _0x2f97be(),_0x4eae13=program[_0x42516e(0x26d)](),_0x263016=await createTDXInstance(_0x4eae13),_0x496244=await _0x44a9e9[_0x42516e(0x157)]({'options':{..._0x4eae13,..._0x29235c},'args':[],'tdx':_0x263016});gracefulExit(_0x496244);};},createEngageListAction=_0x50dc5a=>{return async(_0x1c4a05,_0x95bbe2)=>{const _0x2d9066=a2_0xb354,_0x135397=new _0x50dc5a(),_0x4b5692=program['opts'](),_0x438305=await createTDXInstance(_0x4b5692),_0xb41d02=await _0x135397[_0x2d9066(0x157)]({'options':{..._0x4b5692,..._0x95bbe2},'args':_0x1c4a05?[_0x1c4a05]:[],'tdx':_0x438305});gracefulExit(_0xb41d02);};},campaignCmd=engageCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3c5))['description'](a2_0x55edb9(0x429));campaignCmd['command'](a2_0x55edb9(0x1a5))['description']('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x181),a2_0x55edb9(0x374))[a2_0x55edb9(0x133)](a2_0x55edb9(0x426),a2_0x55edb9(0x2da))[a2_0x55edb9(0x133)]('--workspace\x20<name>',a2_0x55edb9(0x26e))[a2_0x55edb9(0x2dd)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x33b))[a2_0x55edb9(0x124)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')['option'](a2_0x55edb9(0x181),a2_0x55edb9(0x374))[a2_0x55edb9(0x133)]('--status\x20<status>',a2_0x55edb9(0x2da))[a2_0x55edb9(0x133)]('--workspace\x20<name>',a2_0x55edb9(0x26e))['action'](createEngageListAction(EngageCampaignsCommand)),campaignCmd['command'](a2_0x55edb9(0x155))[a2_0x55edb9(0x124)](a2_0x55edb9(0x316))['option'](a2_0x55edb9(0x305),'Workspace\x20name')['option']('--full',a2_0x55edb9(0x2d8))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x55edb9(0x15f)]('create')[a2_0x55edb9(0x124)](a2_0x55edb9(0x360))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x2a6),'Campaign\x20name')[a2_0x55edb9(0x13e)](a2_0x55edb9(0x181),'Campaign\x20type\x20(email\x20or\x20push)')['option'](a2_0x55edb9(0x305),a2_0x55edb9(0x25f))['option'](a2_0x55edb9(0x18f),a2_0x55edb9(0x194))[a2_0x55edb9(0x133)](a2_0x55edb9(0x38e),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x3a0),a2_0x55edb9(0x34c))['option']('--json-columns\x20<cols>',a2_0x55edb9(0x294))[a2_0x55edb9(0x133)]('--start-at\x20<datetime>',a2_0x55edb9(0x27e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x293),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x55edb9(0x2dd)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2cf))[a2_0x55edb9(0x124)](a2_0x55edb9(0x410))[a2_0x55edb9(0x133)]('--workspace\x20<name>','Workspace\x20name')[a2_0x55edb9(0x133)]('--name\x20<name>',a2_0x55edb9(0x2e2))[a2_0x55edb9(0x133)](a2_0x55edb9(0x18f),'Campaign\x20description')[a2_0x55edb9(0x133)]('--segment\x20<path>',a2_0x55edb9(0x361))[a2_0x55edb9(0x133)]('--email-sender-id\x20<id>',a2_0x55edb9(0x34c))[a2_0x55edb9(0x133)]('--json-columns\x20<cols>',a2_0x55edb9(0x294))[a2_0x55edb9(0x133)]('--start-at\x20<datetime>',a2_0x55edb9(0x27e))['option'](a2_0x55edb9(0x293),a2_0x55edb9(0x2d1))[a2_0x55edb9(0x2dd)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x418))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1bc))[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),'Workspace\x20name')[a2_0x55edb9(0x133)]('--yes',a2_0x55edb9(0x40a))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command']('launch\x20<name-or-id>')['description']('Launch\x20a\x20campaign')[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),'Workspace\x20name')['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x55edb9(0x15f)]('pause\x20<name-or-id>')['description'](a2_0x55edb9(0x3fb))[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),'Workspace\x20name')[a2_0x55edb9(0x2dd)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command']('resume\x20<name-or-id>')[a2_0x55edb9(0x124)](a2_0x55edb9(0x318))[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),'Workspace\x20name')[a2_0x55edb9(0x2dd)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x55edb9(0x372))[a2_0x55edb9(0x124)](a2_0x55edb9(0x22c))['option'](a2_0x55edb9(0x305),a2_0x55edb9(0x26e))[a2_0x55edb9(0x2dd)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x55edb9(0x15f)]('pull\x20[workspace-name]')[a2_0x55edb9(0x124)]('Pull\x20campaigns\x20to\x20YAML\x20files')[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),a2_0x55edb9(0x26e))[a2_0x55edb9(0x133)]('--name\x20<name>',a2_0x55edb9(0x1d2))['option'](a2_0x55edb9(0x181),a2_0x55edb9(0x374))[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x125))[a2_0x55edb9(0x2dd)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x55edb9(0x15f)]('push\x20[target]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x383))[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),a2_0x55edb9(0x26e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x35f))['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x55edb9(0x15f)]('validate\x20[target]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x14e))['option']('--verbose',a2_0x55edb9(0x1ba))[a2_0x55edb9(0x2dd)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3f1))['description'](a2_0x55edb9(0x22d));alwaysOnCampaignCmd['command'](a2_0x55edb9(0x1a5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x257))['option'](a2_0x55edb9(0x181),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x426),a2_0x55edb9(0x221))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x305),'Workspace\x20name\x20(required)')[a2_0x55edb9(0x2dd)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x280))['description'](a2_0x55edb9(0x460))[a2_0x55edb9(0x133)](a2_0x55edb9(0x181),a2_0x55edb9(0x374))['option'](a2_0x55edb9(0x426),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')['requiredOption'](a2_0x55edb9(0x305),'Workspace\x20name\x20(required)')[a2_0x55edb9(0x2dd)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x155))[a2_0x55edb9(0x124)](a2_0x55edb9(0x236))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x305),a2_0x55edb9(0x25f))[a2_0x55edb9(0x133)](a2_0x55edb9(0x357),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x55edb9(0x2dd)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1a2))['description'](a2_0x55edb9(0x3e7))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x2a6),a2_0x55edb9(0x255))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x181),a2_0x55edb9(0x34b))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x305),a2_0x55edb9(0x25f))[a2_0x55edb9(0x133)](a2_0x55edb9(0x18f),a2_0x55edb9(0x194))[a2_0x55edb9(0x133)](a2_0x55edb9(0x38e),a2_0x55edb9(0x23b))[a2_0x55edb9(0x133)]('--enable-utm-tracking',a2_0x55edb9(0x12b))['action'](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x55edb9(0x2cf))['description']('Update\x20an\x20always-on\x20campaign')[a2_0x55edb9(0x13e)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x55edb9(0x133)]('--name\x20<name>','New\x20campaign\x20name')[a2_0x55edb9(0x133)](a2_0x55edb9(0x18f),a2_0x55edb9(0x194))[a2_0x55edb9(0x133)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x19c),a2_0x55edb9(0x12b))[a2_0x55edb9(0x2dd)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x418))['description'](a2_0x55edb9(0x31b))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x305),a2_0x55edb9(0x25f))[a2_0x55edb9(0x133)](a2_0x55edb9(0x37d),'Skip\x20confirmation\x20prompt')[a2_0x55edb9(0x2dd)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd['command'](a2_0x55edb9(0x1f1))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3e5))[a2_0x55edb9(0x13e)]('--workspace\x20<name>',a2_0x55edb9(0x25f))[a2_0x55edb9(0x2dd)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x55edb9(0x2ff))['description'](a2_0x55edb9(0x1d6))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x305),'Workspace\x20name\x20(required)')[a2_0x55edb9(0x2dd)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd['command'](a2_0x55edb9(0x387))[a2_0x55edb9(0x124)](a2_0x55edb9(0x15b))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x305),a2_0x55edb9(0x25f))[a2_0x55edb9(0x2dd)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x55edb9(0x15f)]('finish\x20<name-or-id>')[a2_0x55edb9(0x124)]('Finish\x20an\x20always-on\x20campaign')[a2_0x55edb9(0x13e)](a2_0x55edb9(0x305),a2_0x55edb9(0x25f))[a2_0x55edb9(0x133)]('--yes',a2_0x55edb9(0x40a))[a2_0x55edb9(0x2dd)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x372))[a2_0x55edb9(0x124)](a2_0x55edb9(0x355))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x305),a2_0x55edb9(0x25f))['requiredOption'](a2_0x55edb9(0x2a6),a2_0x55edb9(0x382))[a2_0x55edb9(0x2dd)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x422))[a2_0x55edb9(0x124)](a2_0x55edb9(0x465));templateCmd[a2_0x55edb9(0x15f)]('list\x20[pattern]')['description'](a2_0x55edb9(0x3df))[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),a2_0x55edb9(0x26e))[a2_0x55edb9(0x2dd)](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x55edb9(0x233))[a2_0x55edb9(0x124)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),'Workspace\x20name')[a2_0x55edb9(0x2dd)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x155))[a2_0x55edb9(0x124)](a2_0x55edb9(0x347))[a2_0x55edb9(0x133)]('--workspace\x20<name>',a2_0x55edb9(0x26e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x357),a2_0x55edb9(0x2d8))[a2_0x55edb9(0x2dd)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x55edb9(0x15f)]('create')[a2_0x55edb9(0x124)]('Create\x20an\x20email\x20template')[a2_0x55edb9(0x13e)](a2_0x55edb9(0x2a6),a2_0x55edb9(0x163))['requiredOption']('--subject\x20<subject>',a2_0x55edb9(0x385))['option']('--html\x20<html>',a2_0x55edb9(0x2d0))[a2_0x55edb9(0x133)](a2_0x55edb9(0x412),a2_0x55edb9(0x21d))[a2_0x55edb9(0x133)]('--workspace\x20<name>',a2_0x55edb9(0x25f))['option']('--plaintext\x20<text>','Plaintext\x20template\x20content')[a2_0x55edb9(0x133)](a2_0x55edb9(0x386),a2_0x55edb9(0x31d),_0x280cd2=>{const _0x5ad7f4=a2_0x55edb9;if(![_0x5ad7f4(0x289),_0x5ad7f4(0x31c)][_0x5ad7f4(0x370)](_0x280cd2))throw new SDKError(ErrorCode[_0x5ad7f4(0x3c6)],_0x5ad7f4(0x198)+_0x280cd2+_0x5ad7f4(0x44a));return _0x280cd2;})[a2_0x55edb9(0x2dd)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x55edb9(0x15f)]('update\x20<name-or-id>')['description'](a2_0x55edb9(0x30d))[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),a2_0x55edb9(0x26e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x2a6),a2_0x55edb9(0x287))[a2_0x55edb9(0x133)](a2_0x55edb9(0x20e),a2_0x55edb9(0x385))[a2_0x55edb9(0x133)](a2_0x55edb9(0x128),a2_0x55edb9(0x2d0))[a2_0x55edb9(0x133)](a2_0x55edb9(0x412),a2_0x55edb9(0x21d))[a2_0x55edb9(0x133)](a2_0x55edb9(0x209),a2_0x55edb9(0x159))[a2_0x55edb9(0x2dd)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x55edb9(0x343))[a2_0x55edb9(0x124)](a2_0x55edb9(0x218))[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),'Workspace\x20name')['option'](a2_0x55edb9(0x2a6),a2_0x55edb9(0x32f))[a2_0x55edb9(0x133)](a2_0x55edb9(0x19d),a2_0x55edb9(0x40a))['option']('--dry-run',a2_0x55edb9(0x125))[a2_0x55edb9(0x2dd)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3ce))['description'](a2_0x55edb9(0x2e0))[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),a2_0x55edb9(0x26e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x19d),a2_0x55edb9(0x40a))[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x35f))[a2_0x55edb9(0x2dd)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2d6))[a2_0x55edb9(0x124)](a2_0x55edb9(0x224))['option'](a2_0x55edb9(0x3b1),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x55edb9(0x2dd)](createEngageAction(EngageTemplateValidateCommand)),templateCmd['command'](a2_0x55edb9(0x418))['description']('Delete\x20an\x20email\x20template')['option'](a2_0x55edb9(0x305),a2_0x55edb9(0x26e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x37d),a2_0x55edb9(0x40a))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x55edb9(0x379))[a2_0x55edb9(0x124)](a2_0x55edb9(0x267));workspaceCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1a5))[a2_0x55edb9(0x124)](a2_0x55edb9(0x238))[a2_0x55edb9(0x2dd)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x55edb9(0x428))['description'](a2_0x55edb9(0x28f))[a2_0x55edb9(0x2dd)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x155))[a2_0x55edb9(0x124)](a2_0x55edb9(0x275))['option'](a2_0x55edb9(0x357),a2_0x55edb9(0x2d8))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x55edb9(0x1a2))[a2_0x55edb9(0x124)](a2_0x55edb9(0x340))[a2_0x55edb9(0x13e)]('--name\x20<name>','Workspace\x20name')['option']('--description\x20<desc>','Workspace\x20description')[a2_0x55edb9(0x2dd)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2cf))['description'](a2_0x55edb9(0x3bc))['option']('--name\x20<name>',a2_0x55edb9(0x1b7))[a2_0x55edb9(0x133)](a2_0x55edb9(0x18f),'Workspace\x20description')[a2_0x55edb9(0x2dd)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x55edb9(0x418))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1b9))[a2_0x55edb9(0x133)](a2_0x55edb9(0x37d),a2_0x55edb9(0x40a))[a2_0x55edb9(0x2dd)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command']('use\x20<name>')[a2_0x55edb9(0x124)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x55edb9(0x2dd)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x170))[a2_0x55edb9(0x124)](a2_0x55edb9(0x215));lineSenderAccountCmd['command']('list\x20[pattern]')[a2_0x55edb9(0x124)]('List\x20LINE\x20sender\x20accounts')[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),a2_0x55edb9(0x26e))[a2_0x55edb9(0x2dd)](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x155))[a2_0x55edb9(0x124)](a2_0x55edb9(0x284))[a2_0x55edb9(0x133)](a2_0x55edb9(0x305),'Workspace\x20name')['action'](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3e2))[a2_0x55edb9(0x124)](a2_0x55edb9(0x250));lineImagemapImageCmd['command'](a2_0x55edb9(0x3e4))[a2_0x55edb9(0x124)](a2_0x55edb9(0x415))[a2_0x55edb9(0x2dd)](createEngageAction(EngageLineImagemapImageUploadCommand));const engageMediaCmd=engageCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x177))['description'](a2_0x55edb9(0x1e7));engageMediaCmd[a2_0x55edb9(0x15f)]('ls\x20[path]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x187))[a2_0x55edb9(0x2dd)](createEngageAction(EngageMediaLsCommand)),engageMediaCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3e4))[a2_0x55edb9(0x124)]('Upload\x20an\x20image\x20to\x20Engage\x20DAM\x20(JPEG/PNG/GIF/SVG)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x27f),'Destination\x20folder\x20in\x20DAM\x20(default:\x20root)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x276),a2_0x55edb9(0x1db))[a2_0x55edb9(0x2dd)](createEngageAction(EngageMediaUploadCommand)),engageMediaCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x454))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2c1))[a2_0x55edb9(0x2dd)](createEngageAction(EngageMediaMkdirCommand)),engageMediaCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x270))[a2_0x55edb9(0x124)](a2_0x55edb9(0x414))[a2_0x55edb9(0x2dd)](createEngageAction(EngageMediaRmCommand)),engageMediaCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x350))['description'](a2_0x55edb9(0x3b9))[a2_0x55edb9(0x2dd)](createEngageAction(EngageMediaRmdirCommand));const deliveryCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x219))['description']('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x55edb9(0x15f)]('senders\x20[pattern]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x264))['option'](a2_0x55edb9(0x305),a2_0x55edb9(0x26e))[a2_0x55edb9(0x2dd)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x55edb9(0x243))[a2_0x55edb9(0x124)](a2_0x55edb9(0x248)),connectionListAction=async _0x3a9eb4=>{const _0x4c5dda=a2_0x55edb9,_0x168485=new ConnectionListCommand(),_0x221121=program[_0x4c5dda(0x26d)](),_0xb53cc5=await createTDXInstance(_0x221121),_0x40b2e3=await _0x168485['run']({'options':{..._0x221121,..._0x3a9eb4},'args':[],'tdx':_0xb53cc5});gracefulExit(_0x40b2e3);};connectionCmd[a2_0x55edb9(0x15f)]('list')[a2_0x55edb9(0x124)](a2_0x55edb9(0x1aa))['action'](connectionListAction),program[a2_0x55edb9(0x15f)]('connections',{'hidden':!![]})[a2_0x55edb9(0x124)](a2_0x55edb9(0x46f))[a2_0x55edb9(0x2dd)](connectionListAction),connectionCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x453))[a2_0x55edb9(0x124)](a2_0x55edb9(0x35d))['action'](async(_0x30eee6,_0x5be681)=>{const _0x21ba11=a2_0x55edb9,_0x53c490=new ConnectionShowCommand(),_0x4524f1=program['opts'](),_0xf6148b=await createTDXInstance(_0x4524f1),_0x3d6715=await _0x53c490[_0x21ba11(0x157)]({'options':{..._0x4524f1,..._0x5be681},'args':[_0x30eee6],'tdx':_0xf6148b});gracefulExit(_0x3d6715);}),connectionCmd['command'](a2_0x55edb9(0x22b))[a2_0x55edb9(0x124)](a2_0x55edb9(0x15a))[a2_0x55edb9(0x2dd)](async(_0x28a8b8,_0x2c5786)=>{const _0x35c3a0=new ConnectionSchemaCommand(),_0x4f09bf=program['opts'](),_0x38e616=await createTDXInstance(_0x4f09bf),_0x150b38=await _0x35c3a0['run']({'options':{..._0x4f09bf,..._0x2c5786},'args':[_0x28a8b8],'tdx':_0x38e616});gracefulExit(_0x150b38);}),connectionCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x312))['description']('List\x20available\x20connector\x20types')[a2_0x55edb9(0x2dd)](async _0x25205e=>{const _0x30df22=new ConnectionTypesCommand(),_0x44991f=program['opts'](),_0x3e5a69=await createTDXInstance(_0x44991f),_0x2cb341=await _0x30df22['run']({'options':{..._0x44991f,..._0x25205e},'args':[],'tdx':_0x3e5a69});gracefulExit(_0x2cb341);}),connectionCmd[a2_0x55edb9(0x15f)]('settings\x20<type>')[a2_0x55edb9(0x124)](a2_0x55edb9(0x1df))['action'](async(_0x199a28,_0x5cdb5a)=>{const _0x136f97=a2_0x55edb9,_0x4a1af9=new ConnectionSettingsCommand(),_0x26bb99=program[_0x136f97(0x26d)](),_0x2262ff=await createTDXInstance(_0x26bb99),_0x545680=await _0x4a1af9[_0x136f97(0x157)]({'options':{..._0x26bb99,..._0x5cdb5a},'args':[_0x199a28],'tdx':_0x2262ff});gracefulExit(_0x545680);});const casCmd=program[a2_0x55edb9(0x15f)]('cas')[a2_0x55edb9(0x124)]('Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)');casCmd[a2_0x55edb9(0x15f)]('list')[a2_0x55edb9(0x124)]('List\x20composable\x20audiences')[a2_0x55edb9(0x2dd)](async _0x350c6a=>{const _0x2fb977=a2_0x55edb9,_0x30e0c2=new CASListCommand(),_0x112d27=program[_0x2fb977(0x26d)](),_0x3e86c1=await createTDXInstance(_0x112d27),_0x44feff=await _0x30e0c2[_0x2fb977(0x157)]({'options':{..._0x112d27,..._0x350c6a},'args':[],'tdx':_0x3e86c1});gracefulExit(_0x44feff);}),casCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x21b))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1bf))[a2_0x55edb9(0x2dd)](async(_0xa05bbe,_0x56792b)=>{const _0x4f9980=a2_0x55edb9,_0x37415f=new CASDescCommand(),_0x44df6b=program[_0x4f9980(0x26d)](),_0xc239df=await createTDXInstance(_0x44df6b),_0xff7f50=await _0x37415f[_0x4f9980(0x157)]({'options':{..._0x44df6b,..._0x56792b},'args':_0xa05bbe?[_0xa05bbe]:[],'tdx':_0xc239df});gracefulExit(_0xff7f50);}),casCmd[a2_0x55edb9(0x15f)]('pull\x20[name]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x44d))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1f5),a2_0x55edb9(0x1a1))['option']('--dry-run',a2_0x55edb9(0x3e6))[a2_0x55edb9(0x2dd)](async(_0x641928,_0x110949)=>{const _0x257c57=a2_0x55edb9,_0x4b181e=new CASPullCommand(),_0x46fbb9=program[_0x257c57(0x26d)](),_0x3d5dae=await createTDXInstance(_0x46fbb9),_0x5330a9=await _0x4b181e[_0x257c57(0x157)]({'options':{..._0x46fbb9,..._0x110949},'args':_0x641928?[_0x641928]:[],'tdx':_0x3d5dae});gracefulExit(_0x5330a9);}),casCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3ce))[a2_0x55edb9(0x124)]('Push\x20YAML\x20files\x20to\x20CAS\x20API')[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x3ee))[a2_0x55edb9(0x2dd)](async(_0x44223a,_0x4b40fc)=>{const _0x5410b9=new CASPushCommand(),_0x5c4edd=program['opts'](),_0x843c9f=await createTDXInstance(_0x5c4edd),_0x4bc890=await _0x5410b9['run']({'options':{..._0x5c4edd,..._0x4b40fc},'args':_0x44223a?[_0x44223a]:[],'tdx':_0x843c9f});gracefulExit(_0x4bc890);}),casCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x283))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3f0))[a2_0x55edb9(0x133)](a2_0x55edb9(0x229),'Composable\x20audience\x20name')[a2_0x55edb9(0x2dd)](async(_0x39894d,_0x1a45a2)=>{const _0x467c61=a2_0x55edb9,_0x38a6ce=new CASPreviewCommand(),_0x4b60a7=program[_0x467c61(0x26d)](),_0x483e2f=await createTDXInstance(_0x4b60a7),_0x91800c=await _0x38a6ce[_0x467c61(0x157)]({'options':{..._0x4b60a7,..._0x1a45a2},'args':[_0x39894d,_0x1a45a2[_0x467c61(0x23d)]],'tdx':_0x483e2f});gracefulExit(_0x91800c);});const casSgCmd=casCmd[a2_0x55edb9(0x15f)]('sg')['description']('Composable\x20segment\x20commands');casSgCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x203))[a2_0x55edb9(0x124)]('List\x20composable\x20segments\x20for\x20an\x20audience')['action'](async(_0x4aea0f,_0x316c75)=>{const _0xcdcb8e=a2_0x55edb9,_0x4c4331=new CASSegmentListCommand(),_0x495dbb=program['opts'](),_0x3589eb=await createTDXInstance(_0x495dbb),_0x7bfda6=await _0x4c4331[_0xcdcb8e(0x157)]({'options':{..._0x495dbb,..._0x316c75},'args':_0x4aea0f?[_0x4aea0f]:[],'tdx':_0x3589eb});gracefulExit(_0x7bfda6);});const journeyCmd=program['command']('journey')[a2_0x55edb9(0x124)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x45a04a,_0x2a81dc)=>{const _0x3ff66f=a2_0x55edb9,_0x32c7c2=new JourneyListCommand(),_0x47617c=program['opts'](),_0x3fc665=await createTDXInstance(_0x47617c),_0x40ebc7=await _0x32c7c2[_0x3ff66f(0x157)]({'options':{..._0x47617c,..._0x2a81dc},'args':_0x45a04a?[_0x45a04a]:[],'tdx':_0x3fc665});gracefulExit(_0x40ebc7);};journeyCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1a5))['description'](a2_0x55edb9(0x1fb))['action'](journeyListAction),journeyCmd[a2_0x55edb9(0x15f)]('view\x20<name-or-path>')[a2_0x55edb9(0x124)](a2_0x55edb9(0x306))[a2_0x55edb9(0x133)](a2_0x55edb9(0x366),a2_0x55edb9(0x1c1))[a2_0x55edb9(0x133)](a2_0x55edb9(0x16c),a2_0x55edb9(0x2ae))[a2_0x55edb9(0x2dd)](async(_0x5a4e81,_0x1595b8)=>{const _0x4ae7df=a2_0x55edb9,_0x186254=new JourneyViewCommand(),_0x58cfc5=program['opts'](),_0x57ffce=await createTDXInstance(_0x58cfc5),_0x10f47d=await _0x186254[_0x4ae7df(0x157)]({'options':{..._0x58cfc5,..._0x1595b8},'args':[_0x5a4e81],'tdx':_0x57ffce});gracefulExit(_0x10f47d);}),journeyCmd['command'](a2_0x55edb9(0x295))[a2_0x55edb9(0x124)](a2_0x55edb9(0x34a))['option'](a2_0x55edb9(0x328),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x55edb9(0x133)](a2_0x55edb9(0x43f),a2_0x55edb9(0x1e1))[a2_0x55edb9(0x133)](a2_0x55edb9(0x227),a2_0x55edb9(0x3b6))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1fa),'Include\x20raw\x20history\x20data\x20in\x20output')['action'](async(_0xfc5911,_0x2e4235)=>{const _0x2e90c1=a2_0x55edb9,_0x24955e=new JourneyStatsCommand(),_0x38ebc3=program[_0x2e90c1(0x26d)](),_0x29f310=await createTDXInstance(_0x38ebc3),_0x239a34=await _0x24955e[_0x2e90c1(0x157)]({'options':{..._0x38ebc3,..._0x2e4235},'args':[_0xfc5911],'tdx':_0x29f310});gracefulExit(_0x239a34);}),journeyCmd['command'](a2_0x55edb9(0x456))[a2_0x55edb9(0x124)]('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')[a2_0x55edb9(0x133)]('--type\x20<type>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x43f),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x55edb9(0x133)](a2_0x55edb9(0x227),a2_0x55edb9(0x3b6))[a2_0x55edb9(0x133)]('--limit\x20<number>','Maximum\x20number\x20of\x20nodes',_0x483e49=>{const _0x2ecc01=a2_0x55edb9,_0x25fba1=parseInt(_0x483e49,0xa);if(isNaN(_0x25fba1))throw new Error(_0x2ecc01(0x1d8)+_0x483e49+_0x2ecc01(0x344));return _0x25fba1;})[a2_0x55edb9(0x2dd)](async(_0x290957,_0x2c5fae)=>{const _0x272513=a2_0x55edb9,_0x238679=new JourneyTrafficCommand(),_0x3e34d0=program[_0x272513(0x26d)](),_0x11e453=await createTDXInstance(_0x3e34d0),_0x4e7db3=await _0x238679['run']({'options':{..._0x3e34d0,..._0x2c5fae},'args':[_0x290957],'tdx':_0x11e453});gracefulExit(_0x4e7db3);}),journeyCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x451))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2af))[a2_0x55edb9(0x2dd)](async(_0x44f656,_0x38f012)=>{const _0x3085d9=a2_0x55edb9,_0xc5b2e6=new JourneyPauseCommand(),_0x462990=program[_0x3085d9(0x26d)](),_0x11b797=await createTDXInstance(_0x462990),_0x54177a=await _0xc5b2e6[_0x3085d9(0x157)]({'options':{..._0x462990,..._0x38f012},'args':[_0x44f656],'tdx':_0x11b797});gracefulExit(_0x54177a);}),journeyCmd['command'](a2_0x55edb9(0x3f9))[a2_0x55edb9(0x124)]('Resume\x20a\x20paused\x20journey')[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x38d))[a2_0x55edb9(0x2dd)](async(_0x5e9631,_0x5ea4b9)=>{const _0x2f18bd=a2_0x55edb9,_0x5c316c=new JourneyResumeCommand(),_0x5baaad=program[_0x2f18bd(0x26d)](),_0xf2ed75=await createTDXInstance(_0x5baaad),_0x143bbe=await _0x5c316c['run']({'options':{..._0x5baaad,..._0x5ea4b9},'args':[_0x5e9631],'tdx':_0xf2ed75});gracefulExit(_0x143bbe);}),journeyCmd[a2_0x55edb9(0x15f)]('pull\x20[name]')[a2_0x55edb9(0x124)]('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x3e6))[a2_0x55edb9(0x2dd)](async(_0x4e8a11,_0x3b2874)=>{const _0x4375d3=a2_0x55edb9,_0x4edf67=new JourneyPullCommand(),_0x500a8c=program[_0x4375d3(0x26d)](),_0x54e587=await createTDXInstance(_0x500a8c),_0x17dc8a=await _0x4edf67[_0x4375d3(0x157)]({'options':{..._0x500a8c,..._0x3b2874},'args':_0x4e8a11?[_0x4e8a11]:[],'tdx':_0x54e587});gracefulExit(_0x17dc8a);}),journeyCmd['command'](a2_0x55edb9(0x3ce))[a2_0x55edb9(0x124)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x55edb9(0x2dd)](async(_0x3119af,_0x32178f)=>{const _0x5a440c=a2_0x55edb9,_0x50271d=new JourneyPushCommand(),_0x4bb137=program[_0x5a440c(0x26d)](),_0x4b99cd=await createTDXInstance(_0x4bb137),_0x17bc38=await _0x50271d[_0x5a440c(0x157)]({'options':{..._0x4bb137,..._0x32178f},'args':_0x3119af?[_0x3119af]:[],'tdx':_0x4b99cd});gracefulExit(_0x17bc38);}),journeyCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3cb))[a2_0x55edb9(0x124)](a2_0x55edb9(0x1a9))['action'](async(_0x5ba00b,_0x741870)=>{const _0x5c666a=a2_0x55edb9,_0x3a3511=new JourneyColumnsCommand(),_0x26eca6=program[_0x5c666a(0x26d)](),_0x1b8f12=await createTDXInstance(_0x26eca6),_0x22ed88=await _0x3a3511[_0x5c666a(0x157)]({'options':{..._0x26eca6,..._0x741870},'args':[_0x5ba00b],'tdx':_0x1b8f12});gracefulExit(_0x22ed88);}),journeyCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x202))['description']('List\x20activations\x20for\x20a\x20journey')[a2_0x55edb9(0x2dd)](async(_0xa86297,_0x494dc0)=>{const _0x51f7c0=a2_0x55edb9,_0x4209bd=new JourneyActivationsCommand(),_0x3b3fda=program[_0x51f7c0(0x26d)](),_0x36ce96=await createTDXInstance(_0x3b3fda),_0x26037a=await _0x4209bd[_0x51f7c0(0x157)]({'options':{..._0x3b3fda,..._0x494dc0},'args':[_0xa86297],'tdx':_0x36ce96});gracefulExit(_0x26037a);}),journeyCmd['command'](a2_0x55edb9(0x278))[a2_0x55edb9(0x124)](a2_0x55edb9(0x16b))[a2_0x55edb9(0x2dd)](async(_0x44845f,_0x21ac6a)=>{const _0x2f508e=a2_0x55edb9,_0x285c81=new JourneyVersionsCommand(),_0x84e95f=program[_0x2f508e(0x26d)](),_0x17b291=await createTDXInstance(_0x84e95f),_0x126404=await _0x285c81['run']({'options':{..._0x84e95f,..._0x21ac6a},'args':[_0x44845f],'tdx':_0x17b291});gracefulExit(_0x126404);});const journeyVersionCmd=journeyCmd['command'](a2_0x55edb9(0x164))[a2_0x55edb9(0x124)](a2_0x55edb9(0x286));journeyVersionCmd[a2_0x55edb9(0x15f)]('create\x20<name-or-path>')[a2_0x55edb9(0x124)](a2_0x55edb9(0x459))[a2_0x55edb9(0x2dd)](async(_0x53df37,_0x4e42c8)=>{const _0x4d162a=a2_0x55edb9,_0x16a79d=new JourneyVersionCreateCommand(),_0x51e4c7=program['opts'](),_0x2dbc18=await createTDXInstance(_0x51e4c7),_0x5abc7b=await _0x16a79d[_0x4d162a(0x157)]({'options':{..._0x51e4c7,..._0x4e42c8},'args':[_0x53df37],'tdx':_0x2dbc18});gracefulExit(_0x5abc7b);}),journeyVersionCmd[a2_0x55edb9(0x15f)]('view\x20<name-or-path>')[a2_0x55edb9(0x124)](a2_0x55edb9(0x466))[a2_0x55edb9(0x13e)](a2_0x55edb9(0x2a5),a2_0x55edb9(0x1c3))[a2_0x55edb9(0x2dd)](async(_0x1d504e,_0x2565b8)=>{const _0x182192=a2_0x55edb9,_0x1b39e2=new JourneyVersionViewCommand(),_0xa50529=program[_0x182192(0x26d)](),_0x15b71b=await createTDXInstance(_0xa50529),_0x17dbab=await _0x1b39e2[_0x182192(0x157)]({'options':{..._0xa50529,..._0x2565b8},'args':[_0x1d504e],'tdx':_0x15b71b});gracefulExit(_0x17dbab);}),journeyCmd['command'](a2_0x55edb9(0x2d6))['description'](a2_0x55edb9(0x26b))['action'](async(_0xda8786,_0xe151a0)=>{const _0x49936d=a2_0x55edb9,_0x2c71d4=new JourneyValidateCommand(),_0x22b31b=program[_0x49936d(0x26d)](),_0x2edf3a=await createTDXInstance(_0x22b31b),_0x488dd1=await _0x2c71d4[_0x49936d(0x157)]({'options':{..._0x22b31b,..._0xe151a0},'args':_0xda8786?[_0xda8786]:[],'tdx':_0x2edf3a});gracefulExit(_0x488dd1);}),program[a2_0x55edb9(0x15f)]('journeys\x20[pattern]')[a2_0x55edb9(0x124)](a2_0x55edb9(0x228))[a2_0x55edb9(0x2dd)](journeyListAction);const agentSyncCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x23a))['description'](a2_0x55edb9(0x3ab));agentSyncCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x352))[a2_0x55edb9(0x124)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')['option'](a2_0x55edb9(0x207),a2_0x55edb9(0x3d2))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3de),a2_0x55edb9(0x12e))[a2_0x55edb9(0x133)](a2_0x55edb9(0x205),a2_0x55edb9(0x315))['action'](async(_0x4d256e,_0x45812b,_0x3842d8)=>{const _0x489da4=a2_0x55edb9,_0x668f40=new AgentPullCommand(),_0x1a1313=program[_0x489da4(0x26d)](),_0x56be20=await createTDXInstance(_0x1a1313),_0x175d0c=[];if(_0x4d256e)_0x175d0c['push'](_0x4d256e);if(_0x45812b)_0x175d0c['push'](_0x45812b);const _0x42438b=await _0x668f40['run']({'options':{..._0x1a1313,..._0x3842d8},'args':_0x175d0c,'tdx':_0x56be20});gracefulExit(_0x42438b);}),agentSyncCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x179))[a2_0x55edb9(0x124)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x55edb9(0x133)](a2_0x55edb9(0x3de),a2_0x55edb9(0x406))[a2_0x55edb9(0x2dd)](async(_0x588b03,_0x21b09e)=>{const _0x59a8ab=a2_0x55edb9,_0xed2964=new AgentPushCommand(),_0x5ca15b=program[_0x59a8ab(0x26d)](),_0x44dbd7=await createTDXInstance(_0x5ca15b),_0x4de3c8=await _0xed2964[_0x59a8ab(0x157)]({'options':{..._0x5ca15b,..._0x21b09e},'args':_0x588b03?[_0x588b03]:[],'tdx':_0x44dbd7});gracefulExit(_0x4de3c8);}),agentSyncCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x2fb))[a2_0x55edb9(0x124)](a2_0x55edb9(0x2f9))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3ea),a2_0x55edb9(0x3c2))[a2_0x55edb9(0x2dd)](async(_0x1d70a5,_0x581faf)=>{const _0x6ae9a3=a2_0x55edb9,_0x5e122b=new AgentCloneCommand(),_0x1efe94=program[_0x6ae9a3(0x26d)](),_0xa0389b=await createTDXInstance(_0x1efe94),_0x7a612e=await _0x5e122b[_0x6ae9a3(0x157)]({'options':{..._0x1efe94,..._0x581faf},'args':_0x1d70a5?[_0x1d70a5]:[],'tdx':_0xa0389b});gracefulExit(_0x7a612e);}),agentSyncCmd[a2_0x55edb9(0x15f)]('test\x20[path]')['description'](a2_0x55edb9(0x313))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3da),a2_0x55edb9(0x363))[a2_0x55edb9(0x133)](a2_0x55edb9(0x399),a2_0x55edb9(0x1f4))[a2_0x55edb9(0x133)](a2_0x55edb9(0x208),a2_0x55edb9(0x1b8))[a2_0x55edb9(0x133)]('--no-eval',a2_0x55edb9(0x1c4))[a2_0x55edb9(0x133)](a2_0x55edb9(0x420),a2_0x55edb9(0x1de))[a2_0x55edb9(0x2dd)](async(_0x29a6b9,_0x2ef9ae)=>{const _0x18f2e8=a2_0x55edb9,_0x49df5d=new AgentTestCommand(),_0x46b6c4=program[_0x18f2e8(0x26d)](),_0x278be0=await createTDXInstance(_0x46b6c4),_0x4e895e=await _0x49df5d[_0x18f2e8(0x157)]({'options':{..._0x46b6c4,..._0x2ef9ae},'args':_0x29a6b9?[_0x29a6b9]:[],'tdx':_0x278be0});gracefulExit(_0x4e895e);}),agentSyncCmd[a2_0x55edb9(0x15f)]('list\x20[pattern]')['description'](a2_0x55edb9(0x27a))[a2_0x55edb9(0x2dd)](llmAgentListAction),agentSyncCmd['command']('show\x20<agent-name>')['description']('Show\x20agent\x20details')[a2_0x55edb9(0x2dd)](async(_0x4d4e3a,_0x645f7a)=>{const _0x53d86a=a2_0x55edb9,_0x30cd74=new LLMAgentShowCommand(),_0x52ff9c=program[_0x53d86a(0x26d)](),_0x334eaa=await createTDXInstance(_0x52ff9c),_0x11a64d=await _0x30cd74[_0x53d86a(0x157)]({'options':{..._0x52ff9c,..._0x645f7a},'args':[_0x4d4e3a],'tdx':_0x334eaa});gracefulExit(_0x11a64d);}),agentSyncCmd['command'](a2_0x55edb9(0x37c))[a2_0x55edb9(0x124)](a2_0x55edb9(0x35a))['option'](a2_0x55edb9(0x1f6),a2_0x55edb9(0x3b2))[a2_0x55edb9(0x133)](a2_0x55edb9(0x37f),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x55edb9(0x3cc))[a2_0x55edb9(0x133)]('--starter-message\x20<text>',a2_0x55edb9(0x14c))[a2_0x55edb9(0x133)](a2_0x55edb9(0x425),a2_0x55edb9(0x1d5),'4')[a2_0x55edb9(0x133)](a2_0x55edb9(0x2cb),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x55edb9(0x29b))['action'](async(_0x13dfc6,_0x27e214)=>{const _0x5bc026=a2_0x55edb9,_0x5006bf=new LLMAgentCreateCommand(),_0x2dc228=program[_0x5bc026(0x26d)](),_0x36a769=await createTDXInstance(_0x2dc228),_0x556519=await _0x5006bf[_0x5bc026(0x157)]({'options':{..._0x2dc228,..._0x27e214},'args':[_0x13dfc6],'tdx':_0x36a769});gracefulExit(_0x556519);}),agentSyncCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x18b))[a2_0x55edb9(0x124)]('Update\x20an\x20existing\x20agent')[a2_0x55edb9(0x133)](a2_0x55edb9(0x3e0),a2_0x55edb9(0x1c2))[a2_0x55edb9(0x133)](a2_0x55edb9(0x40f),'Agent\x20prompt/instructions')[a2_0x55edb9(0x133)]('--description\x20<text>',a2_0x55edb9(0x376))['option'](a2_0x55edb9(0x3bb),a2_0x55edb9(0x14c))[a2_0x55edb9(0x2dd)](async(_0x44e76a,_0x38b36d)=>{const _0xa15247=a2_0x55edb9,_0x29bc52=new LLMAgentUpdateCommand(),_0x43ce83=program[_0xa15247(0x26d)](),_0x4188c8=await createTDXInstance(_0x43ce83),_0x5a5b7d=await _0x29bc52[_0xa15247(0x157)]({'options':{..._0x43ce83,..._0x38b36d},'args':[_0x44e76a],'tdx':_0x4188c8});gracefulExit(_0x5a5b7d);}),agentSyncCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x277))[a2_0x55edb9(0x124)](a2_0x55edb9(0x130))[a2_0x55edb9(0x2dd)](async(_0x400695,_0x5c67cc)=>{const _0x466bce=a2_0x55edb9,_0x4a84e1=new LLMAgentDeleteCommand(),_0x3fdb7d=program[_0x466bce(0x26d)](),_0xd7f3d7=await createTDXInstance(_0x3fdb7d),_0x3e9000=await _0x4a84e1[_0x466bce(0x157)]({'options':{..._0x3fdb7d,..._0x5c67cc},'args':[_0x400695],'tdx':_0xd7f3d7});gracefulExit(_0x3e9000);});const workCmd=program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x359))[a2_0x55edb9(0x124)](a2_0x55edb9(0x463));workCmd[a2_0x55edb9(0x133)](a2_0x55edb9(0x3f4),'Show\x20items\x20updated\x20within\x20N\x20days')['option']('--all',a2_0x55edb9(0x13c))[a2_0x55edb9(0x2dd)](workSummaryAction),workCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x1d4))[a2_0x55edb9(0x124)](a2_0x55edb9(0x3d6))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1f3),a2_0x55edb9(0x2e6))[a2_0x55edb9(0x2dd)](workInitAction),workCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x24a))[a2_0x55edb9(0x124)](a2_0x55edb9(0x334))[a2_0x55edb9(0x133)](a2_0x55edb9(0x3f7),a2_0x55edb9(0x42b),'item')['option'](a2_0x55edb9(0x399),a2_0x55edb9(0x1c0))[a2_0x55edb9(0x133)]('--priority\x20<priority>','Priority\x20(critical,\x20high,\x20medium,\x20low)')[a2_0x55edb9(0x133)]('--body\x20<body>',a2_0x55edb9(0x37b))[a2_0x55edb9(0x133)]('--template\x20<name>',a2_0x55edb9(0x246))[a2_0x55edb9(0x133)](a2_0x55edb9(0x426),a2_0x55edb9(0x139))[a2_0x55edb9(0x133)](a2_0x55edb9(0x1f2),a2_0x55edb9(0x400))['action'](workNewAction),workCmd[a2_0x55edb9(0x15f)]('move\x20<name>\x20<status>')['description'](a2_0x55edb9(0x43e))[a2_0x55edb9(0x2dd)](workMoveAction),workCmd['command'](a2_0x55edb9(0x1ec))[a2_0x55edb9(0x124)]('Show\x20Kanban\x20board\x20view\x20of\x20tasks')['option'](a2_0x55edb9(0x3f4),a2_0x55edb9(0x2df))[a2_0x55edb9(0x133)]('--all','Include\x20all\x20items\x20(no\x20stale\x20filtering)')[a2_0x55edb9(0x2dd)](workBoardAction),workCmd['command'](a2_0x55edb9(0x453))[a2_0x55edb9(0x124)](a2_0x55edb9(0x464))[a2_0x55edb9(0x2dd)](workShowAction),workCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x231))['description'](a2_0x55edb9(0x3c4))[a2_0x55edb9(0x2dd)](workLinksAction),workCmd[a2_0x55edb9(0x15f)](a2_0x55edb9(0x3ef))['description'](a2_0x55edb9(0x380))[a2_0x55edb9(0x2dd)](workOpenAction),program[a2_0x55edb9(0x15f)](a2_0x55edb9(0x388),{'hidden':!![]})[a2_0x55edb9(0x2dd)](()=>{const _0x57cc7e=a2_0x55edb9;function _0x404b42(_0x75b57c,_0x4f4325){const _0x368711=a2_0xb354,_0x1aa2f8=[];for(const _0x21dd8a of _0x75b57c['commands']){if(_0x21dd8a[_0x368711(0x324)])continue;const _0x564831=_0x4f4325?_0x4f4325+'\x20'+_0x21dd8a[_0x368711(0x3b8)]():_0x21dd8a[_0x368711(0x3b8)](),_0x3f0cad=_0x564831[_0x368711(0x3ec)]('\x20')[0x0],_0x1b0b6e=COMMAND_CATEGORIES[_0x368711(0x31f)](_0x38566b=>_0x38566b[_0x368711(0x435)]['includes'](_0x3f0cad)),_0x33940d=_0x1b0b6e?.[_0x368711(0x3b8)]??'';if(_0x21dd8a[_0x368711(0x435)]['length']>0x0)_0x1aa2f8['push'](..._0x404b42(_0x21dd8a,_0x564831));else{const _0x582883=(_0x21dd8a[_0x368711(0x3c3)]||[])[_0x368711(0x392)](_0x503a59=>{const _0x18589e=_0x368711,_0x2ccfca=_0x503a59[_0x18589e(0x35c)]?_0x503a59[_0x18589e(0x3b8)]()+_0x18589e(0x25e):_0x503a59[_0x18589e(0x3b8)]();return _0x503a59['required']?'<'+_0x2ccfca+'>':'['+_0x2ccfca+']';})[_0x368711(0x16e)]('\x20'),_0x3c79e7=_0x21dd8a['options'][_0x368711(0x2f7)](_0x55fcd2=>!_0x55fcd2['hidden']&&_0x55fcd2[_0x368711(0x445)]!=='--help')[_0x368711(0x392)](_0xbe70fb=>({'flags':_0xbe70fb['flags'],'description':_0xbe70fb[_0x368711(0x124)]}));_0x1aa2f8[_0x368711(0x19b)]({'name':_0x564831,'description':_0x21dd8a[_0x368711(0x124)](),'group':_0x33940d,'usage':_0x582883,'options':_0x3c79e7});}}return _0x1aa2f8;}console[_0x57cc7e(0x432)](JSON[_0x57cc7e(0x393)](_0x404b42(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x100223=a2_0x55edb9,_0x4f39c7=!process[_0x100223(0x30f)][_0x100223(0x165)](0x2)['length'];showBriefHelp=_0x4f39c7,program[_0x100223(0x369)](process[_0x100223(0x30f)]);_0x4f39c7&&program[_0x100223(0x1bd)]();const _0x606763=process[_0x100223(0x30f)][0x2]===_0x100223(0x2ba);if(process[_0x100223(0x371)]['isTTY']&&process[_0x100223(0x30f)]['length']>0x2&&!isDevVersion()&&!_0x606763){const _0xc24548=loadReleaseChannel();checkForUpdate(currentVersion,_0xc24548)[_0x100223(0x28b)](_0x567e1f=>{_0x567e1f&&displayUpdateNotification(_0x567e1f);})[_0x100223(0x237)](()=>{});}}