@treasuredata/tdx 2026.4.18 → 2026.4.19

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 +38 -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.js +1 -1
  35. package/dist/commands/journey-validate-command.js +1 -1
  36. package/dist/commands/llm-command.js +1 -1
  37. package/dist/commands/mcp-command.js +1 -1
  38. package/dist/commands/parent-segment-command.js +1 -1
  39. package/dist/commands/policy-command.js +1 -1
  40. package/dist/commands/profile-command.js +1 -1
  41. package/dist/commands/profiles-command.js +1 -1
  42. package/dist/commands/query-command.js +1 -1
  43. package/dist/commands/schedule-command.js +1 -1
  44. package/dist/commands/segment-command.js +1 -1
  45. package/dist/commands/segment-create-command.js +1 -1
  46. package/dist/commands/segment-fields-command.js +1 -1
  47. package/dist/commands/segment-pull-command.js +1 -1
  48. package/dist/commands/segment-push-command.js +1 -1
  49. package/dist/commands/segment-update-command.js +1 -1
  50. package/dist/commands/segment-use-command.js +1 -1
  51. package/dist/commands/segment-validate-command.js +1 -1
  52. package/dist/commands/segments.js +1 -1
  53. package/dist/commands/show.js +1 -1
  54. package/dist/commands/status-command.js +1 -1
  55. package/dist/commands/tables.js +1 -1
  56. package/dist/commands/unset-command.js +1 -1
  57. package/dist/commands/upgrade-command.js +1 -1
  58. package/dist/commands/use-command.js +1 -1
  59. package/dist/commands/user-command.js +1 -1
  60. package/dist/commands/work-command.js +1 -1
  61. package/dist/commands/workflow-command.js +1 -1
  62. package/dist/core/auth.js +1 -1
  63. package/dist/core/command-output.js +1 -1
  64. package/dist/core/config.js +1 -1
  65. package/dist/core/connection-cache.js +1 -1
  66. package/dist/core/constants.js +1 -1
  67. package/dist/core/credential-cache.js +1 -1
  68. package/dist/core/global-context.js +1 -1
  69. package/dist/core/keychain.js +1 -1
  70. package/dist/core/oauth-keychain.js +1 -1
  71. package/dist/core/oauth.js +1 -1
  72. package/dist/core/profile.js +1 -1
  73. package/dist/core/project-config.js +1 -1
  74. package/dist/core/session.js +1 -1
  75. package/dist/core/user-cache.js +1 -1
  76. package/dist/core/version.js +1 -1
  77. package/dist/index.js +1 -1
  78. package/dist/mcp/server.js +1 -1
  79. package/dist/mcp/tools/index.js +1 -1
  80. package/dist/mcp/tools/tdx-run.js +1 -1
  81. package/dist/mcp/tools/tdx-search.js +1 -1
  82. package/dist/mcp/tools/work-create-item.js +1 -1
  83. package/dist/mcp/utils.js +1 -1
  84. package/dist/proxy/claude-usage-tracker.js +1 -1
  85. package/dist/proxy/passthrough-server.js +1 -1
  86. package/dist/proxy/sse-usage-parser.js +1 -1
  87. package/dist/sdk/agent/agent-config.js +1 -1
  88. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  89. package/dist/sdk/agent/agent-yaml.js +1 -1
  90. package/dist/sdk/agent/test/evaluator.js +1 -1
  91. package/dist/sdk/agent/test/executor.js +1 -1
  92. package/dist/sdk/agent/test/index.js +1 -1
  93. package/dist/sdk/agent/test/output.js +1 -1
  94. package/dist/sdk/agent/test/parser.js +1 -1
  95. package/dist/sdk/agent/tool-target-registry.js +1 -1
  96. package/dist/sdk/api.js +1 -1
  97. package/dist/sdk/cas/cas-api-client.js +1 -1
  98. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  99. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  100. package/dist/sdk/cas/index.js +1 -1
  101. package/dist/sdk/cas/pull-workflow.js +1 -1
  102. package/dist/sdk/cas/push-workflow.js +1 -1
  103. package/dist/sdk/client/cdp-api-client.js +1 -1
  104. package/dist/sdk/client/delivery-api-client.js +1 -1
  105. package/dist/sdk/client/endpoints.js +1 -1
  106. package/dist/sdk/client/engage-api-client.d.ts +26 -1
  107. package/dist/sdk/client/engage-api-client.d.ts.map +1 -1
  108. package/dist/sdk/client/engage-api-client.js +1 -1
  109. package/dist/sdk/client/engage-api-client.js.map +1 -1
  110. package/dist/sdk/client/http-client.d.ts +1 -1
  111. package/dist/sdk/client/http-client.d.ts.map +1 -1
  112. package/dist/sdk/client/http-client.js +1 -1
  113. package/dist/sdk/client/http-client.js.map +1 -1
  114. package/dist/sdk/client/llm-api-client.js +1 -1
  115. package/dist/sdk/client/oauth-refresh.js +1 -1
  116. package/dist/sdk/client/rate-limiter.js +1 -1
  117. package/dist/sdk/client/td-api-client.js +1 -1
  118. package/dist/sdk/client/trino-api-client.js +1 -1
  119. package/dist/sdk/client/workflow-client.js +1 -1
  120. package/dist/sdk/connection-validator.js +1 -1
  121. package/dist/sdk/connection.js +1 -1
  122. package/dist/sdk/delivery.js +1 -1
  123. package/dist/sdk/engage/campaign-pull.js +1 -1
  124. package/dist/sdk/engage/campaign-push.js +1 -1
  125. package/dist/sdk/engage/campaign-validator.js +1 -1
  126. package/dist/sdk/engage/campaign-validator.js.map +1 -1
  127. package/dist/sdk/engage/campaign-yaml.d.ts +1 -1
  128. package/dist/sdk/engage/campaign-yaml.d.ts.map +1 -1
  129. package/dist/sdk/engage/campaign-yaml.js +1 -1
  130. package/dist/sdk/engage/campaign-yaml.js.map +1 -1
  131. package/dist/sdk/engage/template-pull.js +1 -1
  132. package/dist/sdk/engage/template-push.js +1 -1
  133. package/dist/sdk/engage/template-validator.js +1 -1
  134. package/dist/sdk/engage/template-yaml.js +1 -1
  135. package/dist/sdk/engage/types/campaign-def.d.ts +2 -2
  136. package/dist/sdk/engage/types/campaign-def.d.ts.map +1 -1
  137. package/dist/sdk/engage/types/campaign-def.js +1 -1
  138. package/dist/sdk/engage/types/campaign-def.js.map +1 -1
  139. package/dist/sdk/engage/types/campaign-schema.d.ts +256 -8
  140. package/dist/sdk/engage/types/campaign-schema.d.ts.map +1 -1
  141. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  142. package/dist/sdk/engage/types/campaign-schema.js.map +1 -1
  143. package/dist/sdk/engage/types/template-schema.js +1 -1
  144. package/dist/sdk/engage.d.ts +28 -1
  145. package/dist/sdk/engage.d.ts.map +1 -1
  146. package/dist/sdk/engage.js +1 -1
  147. package/dist/sdk/engage.js.map +1 -1
  148. package/dist/sdk/errors.js +1 -1
  149. package/dist/sdk/index.d.ts +1 -1
  150. package/dist/sdk/index.d.ts.map +1 -1
  151. package/dist/sdk/index.js +1 -1
  152. package/dist/sdk/index.js.map +1 -1
  153. package/dist/sdk/io/index.js +1 -1
  154. package/dist/sdk/io/node-filesystem.js +1 -1
  155. package/dist/sdk/job.js +1 -1
  156. package/dist/sdk/journey.js +1 -1
  157. package/dist/sdk/llm/chat-cache.js +1 -1
  158. package/dist/sdk/llm/index.js +1 -1
  159. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  160. package/dist/sdk/llm/model-factors.js +1 -1
  161. package/dist/sdk/personalization.js +1 -1
  162. package/dist/sdk/policy.js +1 -1
  163. package/dist/sdk/query/index.js +1 -1
  164. package/dist/sdk/query/sql-parser.js +1 -1
  165. package/dist/sdk/realtime.js +1 -1
  166. package/dist/sdk/schedule.js +1 -1
  167. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  168. package/dist/sdk/segment/fields-display.js +1 -1
  169. package/dist/sdk/segment/file-discovery.js +1 -1
  170. package/dist/sdk/segment/journey-utils.js +1 -1
  171. package/dist/sdk/segment/journey-validator.js +1 -1
  172. package/dist/sdk/segment/journey-yaml.js +1 -1
  173. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  174. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  175. package/dist/sdk/segment/pull-workflow.js +1 -1
  176. package/dist/sdk/segment/push-recovery.js +1 -1
  177. package/dist/sdk/segment/push-workflow.js +1 -1
  178. package/dist/sdk/segment/resolution-context.js +1 -1
  179. package/dist/sdk/segment/segment-path-parser.js +1 -1
  180. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  181. package/dist/sdk/segment/segment-validator.js +1 -1
  182. package/dist/sdk/segment/target-resolution.js +1 -1
  183. package/dist/sdk/segment/tdx-config.js +1 -1
  184. package/dist/sdk/segment/types/activation-schema.js +1 -1
  185. package/dist/sdk/segment/types/journey-def.js +1 -1
  186. package/dist/sdk/segment/types/journey-schema.js +1 -1
  187. package/dist/sdk/segment/types/segment-def.js +1 -1
  188. package/dist/sdk/segment/types/segment-schema.js +1 -1
  189. package/dist/sdk/segment/validate-files.js +1 -1
  190. package/dist/sdk/segment/yaml-validator.js +1 -1
  191. package/dist/sdk/segment.js +1 -1
  192. package/dist/sdk/types/engage.d.ts +125 -1
  193. package/dist/sdk/types/engage.d.ts.map +1 -1
  194. package/dist/sdk/types/index.d.ts +1 -1
  195. package/dist/sdk/types/index.d.ts.map +1 -1
  196. package/dist/sdk/types/index.js +1 -1
  197. package/dist/sdk/types/index.js.map +1 -1
  198. package/dist/sdk/types/progress.js +1 -1
  199. package/dist/sdk/types/workspace.js +1 -1
  200. package/dist/sdk/user.js +1 -1
  201. package/dist/sdk/util/format-detector.js +1 -1
  202. package/dist/sdk/util/formatters.js +1 -1
  203. package/dist/sdk/util/index.js +1 -1
  204. package/dist/sdk/util/paginate.js +1 -1
  205. package/dist/sdk/util/tree-formatter.js +1 -1
  206. package/dist/sdk/workflow/archive-validation.js +1 -1
  207. package/dist/sdk/workflow/clone-workflow.js +1 -1
  208. package/dist/sdk/workflow/index.js +1 -1
  209. package/dist/sdk/workflow/pull-workflow.js +1 -1
  210. package/dist/sdk/workflow/push-workflow.js +1 -1
  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_0x135762=a2_0x168f;(function(_0x6e449f,_0x4d9407){const _0x2e2d56=a2_0x168f,_0x333d79=_0x6e449f();while(!![]){try{const _0xebf2ab=parseInt(_0x2e2d56(0x1b1))/0x1*(parseInt(_0x2e2d56(0x1d9))/0x2)+-parseInt(_0x2e2d56(0x144))/0x3+parseInt(_0x2e2d56(0x185))/0x4*(-parseInt(_0x2e2d56(0x1be))/0x5)+-parseInt(_0x2e2d56(0x268))/0x6+-parseInt(_0x2e2d56(0x228))/0x7+-parseInt(_0x2e2d56(0x182))/0x8+-parseInt(_0x2e2d56(0x152))/0x9*(-parseInt(_0x2e2d56(0x1fc))/0xa);if(_0xebf2ab===_0x4d9407)break;else _0x333d79['push'](_0x333d79['shift']());}catch(_0xb57927){_0x333d79['push'](_0x333d79['shift']());}}}(a2_0x3216,0x82d37));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';function a2_0x168f(_0x52d9eb,_0xca643f){_0x52d9eb=_0x52d9eb-0x140;const _0x32168f=a2_0x3216();let _0x168f3b=_0x32168f[_0x52d9eb];return _0x168f3b;}import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x135762(0x192)][a2_0x135762(0x25e)](a2_0x135762(0x1c9))){let versionOutput=a2_0x135762(0x2f3)+currentVersion;buildInfo['gitRevision']&&!currentVersion['includes'](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x135762(0x379)]+')'),buildInfo['buildTime']&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x135762(0x3e6)]),console[a2_0x135762(0x444)](versionOutput),process[a2_0x135762(0x2fa)](0x0);}function a2_0x3216(){const _0x50fd86=['Resume\x20from\x20specific\x20task\x20(retry)','Always-on\x20campaign\x20management','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Skip\x20confirmation\x20prompt','Show\x20the\x20most\x20recent\x20chat','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','-o,\x20--output\x20<folder>','New\x20template\x20name','settings\x20<type>','--verbose','agents\x20[pattern]','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Parent\x20segment\x20description','list\x20[name]','Describe\x20table\x20schema','--editor-type\x20<type>','Workspace\x20name\x20(required)','Show\x20always-on\x20campaign\x20details','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','--from\x20<date>','parent-segment','-u,\x20--use','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','isDirectory','Database\x20to\x20query\x20(default:\x20information_schema)','Show\x20master\x20table\x20sample\x20data','--start-at\x20<datetime>','--table\x20<table>','logLevel','--force','profile','launch\x20<name-or-id>','Read\x20HTML\x20template\x20from\x20file','--all','name','-C,\x20--directory\x20<path>','Sections\x20as\x20an\x20inline\x20JSON\x20array','-v,\x20--verbose','Assignee','Email\x20template\x20management','format','Customer\x20group\x20from\x20JSON\x20file','create\x20<name>','-c,\x20--continue','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','--dir\x20<dir>','configureHelp','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','length','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Agent\x20name','List\x20email\x20senders','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Show\x20all\x20files\x20including\x20valid\x20ones','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','--kind\x20<type>','tdx','Output\x20directory','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','sql\x20[name]','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','YAML\x20file\x20path\x20for\x20unpushed\x20segment','campaign','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Timezone\x20(e.g.,\x20America/Los_Angeles)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)',',\x20version\x20','catch','--num\x20<1-10>','List\x20all\x20data\x20connections','Plaintext\x20template\x20content','Request\x20body\x20as\x20JSON\x20string','Enable\x20a\x20disabled\x20workflow\x20schedule','delete\x20<agent-name>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','list\x20[path]','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','directory','forEach','--limit\x20<number>','view\x20<name-or-path>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Personalization\x20service\x20management','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','requiredOption','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','set','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','--dry-run','duplicate\x20<name-or-id>','Transition\x20a\x20task\x20to\x20a\x20new\x20status','--cron\x20<expression>','table','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','--body\x20<body>','Project\x20description','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','history\x20<name>','--follow','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','sessions\x20[project]','Start\x20a\x20new\x20chat\x20session','Invalid\x20editor\x20type:\x20','show\x20<name-or-id>','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','init\x20[name]','tdx\x20','Initialize\x20a\x20new\x20workspace','Clear\x20workflow\x20project\x20context','validate\x20[name]','journeys\x20[pattern]','show\x20[name]','Follow/watch\x20timeline\x20for\x20running\x20attempts','exit','setup','Set\x20a\x20profile\x20configuration\x20value','--help','Folder\x20description','desc','Set\x20operation\x20timeout\x20in\x20seconds','List\x20composable\x20audiences','Output\x20as\x20JSON','usage','--in\x20<db>','--attribute\x20[name]','enable\x20<id>','Access\x20control\x20policy\x20commands','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','connection','Campaign\x20type\x20(email\x20or\x20push)','Campaign\x20management','Updated\x20schedule\x20option','Result\x20output\x20destination\x20URL','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Pull\x20workflow\x20project\x20to\x20local\x20folder','Output\x20file\x20path\x20(default:\x20<name>.yml)','--format\x20<format>','--site\x20<site>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Update\x20a\x20realtime\x20personalization\x20entity','--description\x20<text>','--rule\x20<json>','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','split','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','--priority\x20<-2~2>','links\x20<name>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--attempt-id\x20<id>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','schema\x20<type>','project','Document\x20body\x20text','--parent-folder\x20<name>','--time\x20<iso8601>','--no-color','templates\x20[pattern]','Include\x20raw\x20history\x20data\x20in\x20output','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--no-count-population','update\x20<name-or-id>','Show\x20items\x20updated\x20within\x20N\x20days','option','Task\x20name\x20for\x20logs\x20action','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','finish\x20<name-or-id>','list\x20[pattern]','List\x20all\x20available\x20profiles','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','parse','Create\x20segment\x20folder','disable\x20<id>','--segment\x20<path>','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Change\x20to\x20directory\x20before\x20executing\x20command','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Pause\x20a\x20campaign','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','--sections\x20<json>','Show\x20a\x20specific\x20realtime\x20personalization','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Timezone\x20for\x20cron\x20(default:\x20UTC)','-f,\x20--force','System\x20prompt/instructions\x20(default:\x20empty)','Target\x20directory\x20for\x20YAML\x20files','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','push','Include\x20subtasks\x20in\x20tasks\x20output','Delete\x20a\x20realtime\x20personalization','activations\x20<name-or-path>','\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','--from\x20<timestamp>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','push\x20[target]','validate\x20[target]','Enable\x20verbose\x20logging','Resume\x20from\x20specific\x20task','Disable\x20a\x20workflow\x20schedule','Usage:\x20','[DEPRECATED]\x20Segment\x20folder\x20management','--catalog\x20<catalog>','--trace','\x20(resolved\x20to\x20','workflow','Manage\x20workflow\x20schedules\x20(enable/disable)','Submit\x20a\x20job','Personalization\x20description','--html\x20<html>','--result\x20<target>','Overwrite\x20local\x20changes\x20without\x20confirmation','unset\x20<resource>','Remove\x20API\x20key\x20from\x20system\x20keychain','Show\x20campaign\x20details','INVALID_ARGUMENT','--reason\x20<text>','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','[task-name]','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','outputHelp','Delete\x20a\x20scheduled\x20query','Run\x20specific\x20tests\x20(comma-separated)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Composable\x20segment\x20commands','kill\x20<job-id>','Clear\x20session\x20context','--stage\x20<name>','New\x20workspace\x20name','subcommandDescription','--resume-from\x20<task>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','show\x20<agent-name>','Agent\x20description','--system-prompt\x20<text>','\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','Show\x20authentication\x20status\x20and\x20current\x20context','_list-commands','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','gitRevision','claude\x20[args...]','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','delete\x20<name>','createAsync','Setup\x20API\x20key\x20authentication\x20interactively','--full','--chat-id\x20<id>','-r,\x20--recursive','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Custom\x20revision\x20name\x20(default:\x20timestamp)','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Create\x20a\x20new\x20campaign','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--llm-project\x20<name>','history\x20[chat-id]','End\x20time\x20filter\x20(ISO\x208601\x20format)','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Preview\x20changes\x20without\x20writing\x20files','stats\x20<name-or-path>','Update\x20a\x20workspace','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','query\x20[sql]','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Show\x20workspace\x20details','find','create','pause\x20<name-or-path>','view\x20[segment_name]','delete\x20<project-name-or-id>','Personalization\x20service\x20token\x20management','command','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--timeout\x20<seconds>','Resume\x20a\x20paused\x20campaign','update\x20<agent-name>','List\x20available\x20connector\x20types','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','List\x20available\x20LLM\x20models','Reason\x20for\x20killing\x20the\x20attempt','submit\x20[query]','--attributes-file\x20<file>','\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','--audience-id\x20<id>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','--no-eval','Workspace\x20name','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','CDP\x20Journey\x20Orchestration\x20commands','show\x20<job-id>','Force\x20retry\x20even\x20if\x20not\x20failed','error','-a,\x20--agent\x20<name>','upgrade','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--engine-version\x20<version>','Update\x20a\x20campaign','Maximum\x20tool\x20iterations\x20(default:\x204)','run','--parent-segment\x20<name>','push\x20[path]','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Export\x20journey(s)\x20as\x20YAML\x20files','--behavior\x20[name]','Timezone\x20for\x20cron','Run\x20a\x20scheduled\x20query\x20immediately','--version\x20<number>','pull\x20[parent_or_file]','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--max-depth\x20<depth>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Delivery\x20operations\x20(email\x20senders)','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Composable\x20audience\x20name','--max-tool-iterations\x20<n>','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','statusline','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','colorFn','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Priority\x20(critical,\x20high,\x20medium,\x20low)','pause_activations\x20<journeyId>','--github\x20<owner/repo>','Create\x20a\x20workspace','Update\x20an\x20always-on\x20campaign','List\x20all\x20workflow\x20schedules','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','patch\x20<personalization_id>','run\x20<name>','GET','--include-history','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','-w,\x20--web','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','delete\x20<personalization_id>','Continue\x20most\x20recent\x20conversation','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','parent','chat\x20[message...]','Parse\x20and\x20validate\x20without\x20executing','long','buildTime','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','pull\x20<project>\x20[target-dir]','run\x20[name]','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','engage','AI-native\x20work\x20management','open\x20<name>','[options]\x20--\x20[claude-code-args...]','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--stream','Maximum\x20number\x20of\x20nodes','Resume\x20activations\x20in\x20an\x20RT\x20journey','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Parent\x20segment\x20management','connections','--prompt\x20<text>','commandUsage','get','--job-type\x20<type>','board','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Enable\x20UTM\x20tracking','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','-d,\x20--database\x20<db>','push\x20[source-dir]','optionDescription','required','Override\x20project\x20name','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--customer-group\x20<json>','create\x20<name>\x20[parent_segment]','isArray','Show\x20journey\x20statistics','Retry\x20limit\x20(0\x20to\x2032)','version','subcommandTerm','token','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Filtering\x20rule\x20from\x20JSON\x20file','update\x20<name>','audience','auth','delivery','clear','Name\x20for\x20the\x20duplicated\x20campaign','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','json','--starter-message\x20<text>','--tags\x20<tags>','--clear','Show\x20journey\x20details','Options:','desc\x20[segment_name]','preview\x20[file]','opts','-X,\x20--method\x20<method>','-y,\x20--yes','Move\x20to\x20folder','--enable-utm-tracking','Show\x20segment\x20details\x20(alias\x20for\x20view)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','push\x20[name]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Unknown\x20action:\x20','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','agent','--email-sender-id\x20<id>','Comma-separated\x20tags','Preview\x20composable\x20segment\x20query\x20on\x20CDW','Starter\x20message','\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','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','--assignee\x20<assignee>','schedules','--schedule-option\x20<value>','--path\x20<file-path>','after','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','cas','resume\x20<name-or-id>','attempt:','--type\x20<type>','Output\x20as\x20JSON\x20Lines','-r,\x20--resume','Pause\x20a\x20running\x20journey','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Attempt\x20ID','Create\x20a\x20new\x20always-on\x20campaign','-o,\x20--output\x20<dir>','apiKey','\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','log','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','preview\x20[name]','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Trino\x20catalog\x20(default:\x20td)','--to\x20<timestamp>','New\x20service\x20description','workflows\x20[project]','Job\x20management\x20commands','padEnd','use\x20[name]','show\x20<name>','--temperature\x20<n>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Push\x20without\x20confirmation','--reeval','--table','List\x20secret\x20keys\x20for\x20a\x20project','upgrade\x20[version]','Overwrite\x20existing\x20profile','--database\x20<db>','--enriched','--public','site','Email\x20sender\x20ID\x20for\x20delivery','then','0.7','Manage\x20workflow\x20project\x20secrets','Generate\x20test\x20conversations\x20without\x20evaluation','User\x20management\x20commands','kill','show\x20[segment_name]','Show\x20segment\x20schema\x20(column\x20types)','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','--add-behaviors\x20<json>','Pull\x20templates\x20to\x20YAML\x20files','Scheduled\x20query\x20management\x20commands','--workspace\x20<name>','set\x20<args...>','Agent\x20prompt/instructions','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','registeredArguments','--revision\x20<revision>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','information_schema','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','options','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Apply\x20a\x20template','allowExcessArguments','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','1679895wsupxm','--attributes\x20<json>','profiles','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Behaviors\x20from\x20JSON\x20file','--invisible','--name\x20<text>','resume_activations\x20<journeyId>','--retry-limit\x20<0~32>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','-H,\x20--header\x20<header>','Interactive\x20chat\x20selector','--data\x20<data>','1171917MATZjJ','versions\x20<name-or-path>','AI-native\x20CLI\x20for\x20Treasure\x20Data','Table\x20management\x20commands','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','--interval\x20<range>','alias','Show\x20journey\x20table\x20column-to-step\x20mapping','Filtering\x20rule\x20as\x20JSON\x20string','Arguments:','users','chats','Invalid\x20--limit\x20value:\x20\x22','map','--skip-validation','Workspace\x20description','Token\x20description','create\x20<segment_name>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Add\x20behaviors\x20from\x20JSON\x20file','--behaviors-file\x20<file>','Show\x20agent\x20details','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Show\x20timeline\x20for\x20specific\x20attempt','Run\x20tests\x20for\x20an\x20LLM\x20agent','accessToken','projects\x20[pattern]','push\x20[file]','--database\x20<name>','Add\x20behaviors\x20as\x20JSON\x20string','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','New\x20service\x20name','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Open\x20segment\x20in\x20web\x20browser','--behaviors\x20<json>','HTML\x20template\x20content','update\x20<service_id>\x20[parent_segment]','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Show\x20job\x20details','--status\x20<status>','Skip\x20validation\x20of\x20.dig\x20files','...','LLM\x20project\x20management','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','--param\x20<key=value>','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','-d,\x20--database\x20<database>','Delete\x20a\x20profile','4114280FKNuVj','llm','Show\x20schedule\x20details','4UvwZNK','Version\x20number\x20to\x20view','Set\x20or\x20show\x20parent\x20segment\x20context','secrets','slice','activations\x20<segment_name>','LLM\x20agent\x20management','Open\x20parent\x20segment\x20in\x20web\x20browser','--last','Segment\x20description','Database\x20name\x20(required)','claude-4.5-sonnet','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','argv','flatMap','[attempt-id]','Delete\x20a\x20workspace','--add-behaviors-file\x20<file>','create\x20[name]','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','List\x20all\x20versions\x20of\x20a\x20journey','List\x20agents\x20in\x20current\x20project','Pull\x20campaigns\x20to\x20YAML\x20files','Skip\x20population\x20counting','Starting\x20offset\x20(default:\x200)','Resume\x20a\x20conversation\x20(shows\x20selector)','Pull\x20specific\x20campaign\x20by\x20name','database','Name\x20for\x20the\x20new\x20project\x20(required)','Include\x20retried\x20attempts','jsonl','Duplicate\x20an\x20always-on\x20campaign','New\x20campaign\x20name','parents\x20[pattern]','-o,\x20--output\x20<file>','-f,\x20--file\x20<path>','Master\x20database\x20name','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','models','DEBUG','Show\x20schedule\x20execution\x20history','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','304039SRSdmy','_hidden','--limit\x20<n>','policy','Ending\x20offset\x20(default:\x2020)','--timezone\x20<tz>','description','tsv','Skip\x20confirmation\x20prompts','--include-stats','--html-file\x20<path>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--name\x20<names>','3568715RYfWfK','list','Database\x20name','--yes','Limit\x20number\x20of\x20rows','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','describe','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Job\x20priority\x20(-2\x20to\x202)','Customer\x20group\x20as\x20JSON\x20string','--days\x20<n>','--version','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Show\x20stats\x20for\x20specific\x20stage','--folder\x20<name>','addHelpText','Delete\x20an\x20LLM\x20project','--to\x20<date>','trace','argument','Query\x20engine\x20version','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','create\x20<name>\x20<service_id>\x20[parent_segment]','describe\x20[table]','Email\x20subject\x20template','timeout','4BWqBuS','delete\x20<token_id>\x20[parent_segment]','Update\x20a\x20scheduled\x20query','[action]','workspace','restore\x20<folder>','help','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','pause\x20<name-or-id>','Directory\x20does\x20not\x20exist:\x20','upload\x20[project-name-or-dir]','Initial\x20status','--include-retried','Attributes\x20from\x20JSON\x20file','Delete\x20an\x20email\x20template','-p,\x20--profile\x20<name>','--name\x20<name>','set\x20<key=value>','--description\x20<desc>','commandDescription','--schedule-type\x20<type>','segments\x20[path]','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','delete\x20<name-or-id>','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','New\x20segment\x20name','grapesjs','argumentTerm','--account-name\x20<name>','logs','\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','use\x20[resource]\x20[value]','campaigns\x20[pattern]','Behaviors\x20as\x20JSON\x20string','attempt','240dZfxqy','--json-columns\x20<cols>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Revision\x20name\x20(default:\x20timestamp)','Launch\x20an\x20always-on\x20campaign','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','stringify','Delete\x20an\x20agent','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Pause\x20an\x20always-on\x20campaign','Cron\x20expression\x20for\x20scheduling','List\x20all\x20users\x20in\x20the\x20account','--output\x20<file>','Read\x20request\x20body\x20from\x20file','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','--result\x20<url>','Personalization\x20name','Show\x20only\x20master\x20table\x20validation','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Campaign\x20name','--method\x20<pm>','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','workspaces\x20[pattern]','Add\x20attributes\x20as\x20JSON\x20string','--from-task\x20<task>','Preview\x20changes\x20without\x20pushing','pull\x20[project]\x20[agent-name]','--jsonl','Kill\x20a\x20job','pull\x20[name]','use\x20<path>','Workspace\x20management','Pull\x20child\x20segments\x20to\x20YAML\x20files','Include\x20execution\x20statistics','info\x20[segment_name]','api\x20[endpoint]','delete\x20<args...>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Attributes\x20as\x20JSON\x20string','item','RT\x202.0\x20configuration\x20management','Delete\x20a\x20campaign','5447673MpLHFF','Template\x20name','--file\x20<path>','\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','Show\x20document\x20details','JSON\x20columns\x20for\x20connector\x20(comma-separated)','show\x20[table]','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Query\x20type:\x20trino\x20or\x20hive','--delay\x20<seconds>','Parent\x20folder\x20name\x20for\x20nested\x20folders','--session-time\x20<time>','traffic\x20<name-or-path>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','show\x20<personalization_id>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','injectIntoOptions','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','view\x20[name]','Create\x20a\x20new\x20document','--session-id\x20<id>','--rule-file\x20<file>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Show\x20email\x20template\x20details','status','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','List\x20composable\x20segments\x20for\x20an\x20audience','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Preview\x20operation\x20without\x20executing','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--folder-id\x20<id>','--plaintext\x20<text>','Maximum\x20recursion\x20depth\x20(default:\x2010)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--json','Resume\x20a\x20paused\x20always-on\x20campaign','List\x20activations\x20for\x20a\x20journey','show\x20<policy>','action','login','preAction','pull\x20[workspace-name]','Show\x20what\x20would\x20be\x20written\x20without\x20writing','flags','entries','Updated\x20description','work','Update\x20an\x20email\x20template','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','columns\x20<name-or-path>','INFO','stderr','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Validate\x20journey\x20YAML\x20files\x20locally','includes','Model\x20type\x20(default:\x20claude-4.5-sonnet)','schedule','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--default','use\x20<name>','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--allowed-ips\x20<ips>','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','3786570tkRgpE','hidden','show\x20<folder_ref>','Open\x20a\x20document\x20in\x20$EDITOR','join','databases\x20[pattern]','Read\x20query\x20from\x20file','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','variadic','--params\x20<json>','validate\x20[file]','--master','Output\x20file\x20path','Start\x20time\x20filter\x20(ISO\x208601\x20format)','list\x20[project]','Personalization\x20management','filter','Campaign\x20description','optionTerm','commands','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','-1d','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','[EXPERIMENTAL]\x20Show\x20chat\x20log','--in\x20<database>'];a2_0x3216=function(){return _0x50fd86;};return a2_0x3216();}const program=new Command();export function mergeCommandOptions(_0x3da836,_0x5eaba5){const _0x4dd7da=a2_0x135762,_0x46b43e={..._0x3da836};for(const [_0x343db9,_0xdc4a01]of Object[_0x4dd7da(0x254)](_0x5eaba5)){_0xdc4a01!==undefined&&(_0x46b43e[_0x343db9]=_0xdc4a01);}return _0x46b43e;}let showBriefHelp=![],description=a2_0x135762(0x154);buildInfo['gitRevision']&&!currentVersion['includes'](buildInfo['gitRevision'])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0x135762(0x379)]+')':description+=a2_0x135762(0x2c7)+currentVersion;program[a2_0x135762(0x2a4)](a2_0x135762(0x2bb))[a2_0x135762(0x1b7)](description),program['option'](a2_0x135762(0x2a5),a2_0x135762(0x338))[a2_0x135762(0x32b)](a2_0x135762(0x1e8),a2_0x135762(0x2db))[a2_0x135762(0x32b)](a2_0x135762(0x312),a2_0x135762(0x264),'us01')[a2_0x135762(0x32b)](a2_0x135762(0x311),a2_0x135762(0x1e0))[a2_0x135762(0x32b)](a2_0x135762(0x455),a2_0x135762(0x2b7))[a2_0x135762(0x32b)]('--json',a2_0x135762(0x2c6))[a2_0x135762(0x32b)](a2_0x135762(0x219),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x135762(0x32b)]('--tsv',a2_0x135762(0x404))[a2_0x135762(0x32b)](a2_0x135762(0x209),'Save\x20output\x20to\x20file')[a2_0x135762(0x32b)](a2_0x135762(0x2d4),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x135762(0x32b)]('--color',a2_0x135762(0x202),![])['option'](a2_0x135762(0x324),a2_0x135762(0x3cf),![])[a2_0x135762(0x32b)](a2_0x135762(0x2a7),a2_0x135762(0x34d),![])[a2_0x135762(0x32b)]('--debug','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x135762(0x32b)](a2_0x135762(0x353),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x135762(0x32b)](a2_0x135762(0x39b),a2_0x135762(0x300),'30')[a2_0x135762(0x32b)](a2_0x135762(0x2de),a2_0x135762(0x244),![])[a2_0x135762(0x32b)](a2_0x135762(0x420),a2_0x135762(0x1b9),![])['option']('--session\x20<id>',a2_0x135762(0x2d6))[a2_0x135762(0x32b)](a2_0x135762(0x3b7),a2_0x135762(0x339))[a2_0x135762(0x32b)](a2_0x135762(0x388),a2_0x135762(0x270)),program[a2_0x135762(0x2b1)]({'formatHelp':(_0xc8668e,_0x38ba7e)=>{const _0x15a441=a2_0x135762,_0x3fb541=_0x38ba7e['padWidth'](_0xc8668e,_0x38ba7e),_0x9f7079=0x2,_0x81c746=0x2;function _0xbc7ba0(_0x3ce53d){const _0x19a847=a2_0x168f,_0x19c42e=_0x3ce53d;return!!(_0x19c42e[_0x19a847(0x1b2)]||_0x19c42e[_0x19a847(0x269)]);}function _0x59d2f1(_0x427cf3,_0x1ef9de){const _0x504104=a2_0x168f;if(_0x1ef9de){const _0x49a06f=''+_0x427cf3[_0x504104(0x44e)](_0x3fb541+_0x81c746)+_0x1ef9de;return _0x49a06f;}return _0x427cf3;}function _0xb1de15(_0x468fb3){const _0x2b77f3=a2_0x168f;return _0x468fb3[_0x2b77f3(0x26c)]('\x0a')['replace'](/^/gm,'\x20'['repeat'](_0x9f7079));}const _0x643f76=[];_0x643f76['push'](_0x15a441(0x350)+_0x38ba7e[_0x15a441(0x3f7)](_0xc8668e));const _0x347907=_0x38ba7e[_0x15a441(0x1ec)](_0xc8668e);_0x347907&&(_0x643f76[_0x15a441(0x344)](''),_0x643f76[_0x15a441(0x344)](_0x347907));const _0x215792=_0xc8668e[_0x15a441(0x27c)][_0x15a441(0x279)](_0x5a2866=>!_0xbc7ba0(_0x5a2866));if(_0x215792[_0x15a441(0x2b3)]>0x0){if(_0xc8668e['name']()===_0x15a441(0x2bb)){const _0x149c4e=_0xc8668e[_0x15a441(0x41e)](),_0x23cfab=!_0x149c4e['noColor']&&process['stdout']['isTTY'],_0xc6c5e3=COMMAND_CATEGORIES,_0x5bbf9e=(_0xfbb36d,_0x29a187)=>_0x23cfab?_0x29a187(_0xfbb36d):_0xfbb36d,_0x27a7b5=new Map();_0x215792[_0x15a441(0x2d3)](_0x226482=>{const _0x32f80f=_0x15a441;_0x27a7b5[_0x32f80f(0x2dc)](_0x226482[_0x32f80f(0x2a4)](),_0x226482);}),_0xc6c5e3['forEach'](_0x28ebec=>{const _0x2a3c29=_0x15a441,_0x54ab08=_0x28ebec[_0x2a3c29(0x27c)][_0x2a3c29(0x193)](_0x5809fa=>_0x27a7b5[_0x2a3c29(0x3f8)](_0x5809fa)??[]);if(_0x54ab08[_0x2a3c29(0x2b3)]>0x0){_0x643f76[_0x2a3c29(0x344)](''),_0x643f76[_0x2a3c29(0x344)](_0x5bbf9e(_0x28ebec[_0x2a3c29(0x2a4)]+':',_0x28ebec[_0x2a3c29(0x3ce)]));const _0x33066f=_0x54ab08['map'](_0x16dfe6=>{const _0x2f4217=_0x38ba7e['subcommandTerm'](_0x16dfe6),_0x16d1d1=_0x38ba7e['subcommandDescription'](_0x16dfe6);return _0x59d2f1(_0x2f4217,_0x16d1d1);});_0x643f76[_0x2a3c29(0x344)](_0xb1de15(_0x33066f));}}),_0x643f76['push'](''),_0x643f76[_0x15a441(0x344)](_0x15a441(0x470));}else{const _0x566ea3=_0x215792[_0x15a441(0x15f)](_0x572156=>{const _0x25b9c6=_0x15a441,_0x2f8b7b=_0x38ba7e[_0x25b9c6(0x40b)](_0x572156),_0x499976=_0x38ba7e[_0x25b9c6(0x36d)](_0x572156);return _0x59d2f1(_0x2f8b7b,_0x499976);});_0x643f76[_0x15a441(0x344)](''),_0x643f76['push']('Commands:'),_0x643f76[_0x15a441(0x344)](_0xb1de15(_0x566ea3));}}if(showBriefHelp&&_0xc8668e[_0x15a441(0x2a4)]()===_0x15a441(0x2bb))_0x643f76[_0x15a441(0x344)](''),_0x643f76[_0x15a441(0x344)](_0x15a441(0x235));else{const _0x7360d3=_0xc8668e[_0x15a441(0x473)][_0x15a441(0x279)](_0x181bd0=>!_0xbc7ba0(_0x181bd0));if(_0x7360d3[_0x15a441(0x2b3)]>0x0){const _0x3079a6=_0x7360d3[_0x15a441(0x15f)](_0x2ca7c9=>{const _0x3f7379=_0x15a441,_0x371f92=_0x38ba7e[_0x3f7379(0x27b)](_0x2ca7c9),_0x3ec3fb=_0x38ba7e[_0x3f7379(0x401)](_0x2ca7c9);return _0x59d2f1(_0x371f92,_0x3ec3fb);});_0x643f76[_0x15a441(0x344)](''),_0x643f76[_0x15a441(0x344)](_0x15a441(0x41b)),_0x643f76[_0x15a441(0x344)](_0xb1de15(_0x3079a6));}}const _0x3bf36f=(_0xc8668e[_0x15a441(0x46e)]||[])[_0x15a441(0x279)](_0xf4c3c=>!_0xbc7ba0(_0xf4c3c));if(_0x3bf36f[_0x15a441(0x2b3)]>0x0){const _0x388b79=_0x3bf36f[_0x15a441(0x15f)](_0x2d4138=>{const _0xf84833=_0x15a441,_0x1c5cf3=_0x38ba7e[_0xf84833(0x1f4)](_0x2d4138),_0x3e51b7=_0x38ba7e['argumentDescription'](_0x2d4138);return _0x59d2f1(_0x1c5cf3,_0x3e51b7);});_0x643f76['push'](''),_0x643f76[_0x15a441(0x344)](_0x15a441(0x15b)),_0x643f76[_0x15a441(0x344)](_0xb1de15(_0x388b79));}return _0x643f76[_0x15a441(0x26c)]('\x0a')+'\x0a';},'subcommandTerm':_0x3c271e=>{const _0x26f3ca=a2_0x135762,_0x43d658=(_0x3c271e['registeredArguments']||[])['map'](_0x45e29f=>_0x45e29f[_0x26f3ca(0x402)]?'<'+_0x45e29f[_0x26f3ca(0x2a4)]()+'>':'['+_0x45e29f['name']()+']')[_0x26f3ca(0x26c)]('\x20'),_0x550c90=_0x3c271e['aliases'](),_0x25f6a4=_0x550c90[_0x26f3ca(0x2b3)]>0x0?_0x3c271e[_0x26f3ca(0x2a4)]()+',\x20'+_0x550c90['join'](',\x20'):_0x3c271e[_0x26f3ca(0x2a4)]();return _0x43d658?_0x25f6a4+'\x20'+_0x43d658:_0x25f6a4;}}),program['hook'](a2_0x135762(0x250),_0x179fa0=>{const _0x4520a2=a2_0x135762,_0x2a7088=_0x179fa0['opts']();if(_0x2a7088[_0x4520a2(0x2d2)]){const _0x479065=resolve(_0x2a7088[_0x4520a2(0x2d2)]),_0x3a8d21=_0x479065!==_0x2a7088[_0x4520a2(0x2d2)]?_0x4520a2(0x354)+_0x479065+')':'';if(!existsSync(_0x479065))throw new SDKError(ErrorCode[_0x4520a2(0x35f)],_0x4520a2(0x1e2)+_0x2a7088['directory']+_0x3a8d21,undefined,{'helpText':_0x4520a2(0x391)});const _0x378b4=statSync(_0x479065);if(!_0x378b4[_0x4520a2(0x299)]())throw new SDKError(ErrorCode[_0x4520a2(0x35f)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x2a7088[_0x4520a2(0x2d2)]+_0x3a8d21,undefined,{'helpText':_0x4520a2(0x3e1)});process['chdir'](_0x479065);}if(!_0x2a7088[_0x4520a2(0x2aa)]){if(_0x2a7088[_0x4520a2(0x2e2)])_0x2a7088[_0x4520a2(0x2aa)]=_0x4520a2(0x2e2);else{if(_0x2a7088[_0x4520a2(0x416)])_0x2a7088['format']='json';else{if(_0x2a7088[_0x4520a2(0x1a3)])_0x2a7088[_0x4520a2(0x2aa)]='jsonl';else _0x2a7088[_0x4520a2(0x1b8)]&&(_0x2a7088[_0x4520a2(0x2aa)]='tsv');}}}if(_0x2a7088[_0x4520a2(0x1d0)])_0x2a7088[_0x4520a2(0x29e)]=LogLevel['TRACE'];else{if(_0x2a7088['debug'])_0x2a7088[_0x4520a2(0x29e)]=LogLevel[_0x4520a2(0x1ae)];else _0x2a7088['logLevel']===undefined&&(_0x2a7088['logLevel']=LogLevel[_0x4520a2(0x25a)]);}});async function createTDXInstance(_0x41e335){const _0x3c700e=a2_0x135762,_0x5669fc=await GlobalContext[_0x3c700e(0x37d)](_0x41e335);_0x5669fc[_0x3c700e(0x238)](_0x41e335);const _0x318999=Number(_0x41e335[_0x3c700e(0x1d8)]),_0x18a8dc=!isNaN(_0x318999)&&_0x318999>0x0?_0x318999*0x3e8:undefined;return TDX[_0x3c700e(0x394)]({'site':_0x5669fc[_0x3c700e(0x45c)],'apiKey':_0x5669fc[_0x3c700e(0x442)],'accessToken':_0x5669fc[_0x3c700e(0x16b)],'logLevel':_0x5669fc[_0x3c700e(0x29e)],'profile':_0x5669fc[_0x3c700e(0x2a0)],'timeout':_0x18a8dc});}const databaseCmd=program[a2_0x135762(0x399)](a2_0x135762(0x1a0))[a2_0x135762(0x158)]('db')[a2_0x135762(0x1b7)]('Database\x20management\x20commands'),databaseListAction=async(_0x135459,_0x4e8011)=>{const _0x2aa760=a2_0x135762,_0x4a956b=new DatabasesCommand(),_0x4e9bb1=program[_0x2aa760(0x41e)](),_0x435a1f=await createTDXInstance(_0x4e9bb1),_0x15e8a7=await _0x4a956b[_0x2aa760(0x3b6)]({'options':{..._0x4e9bb1,..._0x4e8011},'args':_0x135459?[_0x135459]:[],'tdx':_0x435a1f});gracefulExit(_0x15e8a7);};databaseCmd[a2_0x135762(0x399)](a2_0x135762(0x330))[a2_0x135762(0x1b7)](a2_0x135762(0x343))[a2_0x135762(0x24e)](databaseListAction),program['command'](a2_0x135762(0x26d),{'hidden':!![]})[a2_0x135762(0x1b7)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x135762(0x24e)](databaseListAction),program[a2_0x135762(0x399)](a2_0x135762(0x3e3))[a2_0x135762(0x1b7)](a2_0x135762(0x1d3))[a2_0x135762(0x32b)]('--agent\x20<ref>',a2_0x135762(0x424))[a2_0x135762(0x32b)]('--new',a2_0x135762(0x2ee))[a2_0x135762(0x32b)](a2_0x135762(0x380),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')['option'](a2_0x135762(0x3f0),a2_0x135762(0x3f3))['action'](async(_0x1368e2,_0xfd3dd4)=>{const _0x491fb5=a2_0x135762,_0x4283cb=program[_0x491fb5(0x41e)](),_0x1c0cf0=await createTDXInstance(_0x4283cb);if(_0x1368e2[0x0]==='create'){const _0x5734e4=new ChatCreateCommand();gracefulExit(await _0x5734e4[_0x491fb5(0x3b6)]({'options':{..._0x4283cb,..._0xfd3dd4},'args':_0x1368e2[_0x491fb5(0x189)](0x1),'tdx':_0x1c0cf0}));return;}const _0x520084=new ChatCommand(),_0x533566=await _0x520084['run']({'options':{..._0x4283cb,..._0xfd3dd4},'args':_0x1368e2,'tdx':_0x1c0cf0});gracefulExit(_0x533566);});const apiCmd=program[a2_0x135762(0x399)](a2_0x135762(0x221))['summary'](a2_0x135762(0x198))[a2_0x135762(0x1cd)](a2_0x135762(0x435),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x135762(0x32b)](a2_0x135762(0x41f),a2_0x135762(0x472),a2_0x135762(0x3da))[a2_0x135762(0x32b)](a2_0x135762(0x151),a2_0x135762(0x2cc))[a2_0x135762(0x32b)](a2_0x135762(0x1a8),a2_0x135762(0x20a))[a2_0x135762(0x32b)](a2_0x135762(0x14f),a2_0x135762(0x294),(_0x1dd496,_0x46b3ab)=>{return _0x46b3ab?[..._0x46b3ab,_0x1dd496]:[_0x1dd496];})['option']('--type\x20<api_type>',a2_0x135762(0x2af),'td')[a2_0x135762(0x24e)](async(_0x15fb41,_0x53b50e)=>{const _0x509a71=a2_0x135762;if(!_0x15fb41){apiCmd['help']();return;}const _0x25213b=new ApiCommand(),_0x443b8a=program[_0x509a71(0x41e)](),_0x31e67b=await createTDXInstance(_0x443b8a),_0x25d069=await _0x25213b['run']({'options':{..._0x443b8a,..._0x53b50e},'args':[_0x15fb41],'tdx':_0x31e67b});gracefulExit(_0x25d069);});program[a2_0x135762(0x399)]('mcp')['description'](a2_0x135762(0x2b2))[a2_0x135762(0x1cd)](a2_0x135762(0x435),a2_0x135762(0x22b))[a2_0x135762(0x24e)](async _0x2fb1a6=>{const _0x1a88e3=a2_0x135762,_0x350cc1=new MCPCommand(),_0x4a100e=program[_0x1a88e3(0x41e)](),_0x40bed2=await createTDXInstance(_0x4a100e),_0x1e76f4=await _0x350cc1['run']({'options':{..._0x4a100e,..._0x2fb1a6},'args':[],'tdx':_0x40bed2});gracefulExit(_0x1e76f4);});const tableCmd=program[a2_0x135762(0x399)](a2_0x135762(0x2e2))['description'](a2_0x135762(0x155)),tableListAction=async(_0x5eeb2f,_0x3f5387)=>{const _0x5aff76=a2_0x135762,_0x307b20=new TablesCommand(),_0x51e75a=program[_0x5aff76(0x41e)](),_0x5332af=await createTDXInstance(_0x51e75a);_0x3f5387['in']&&(_0x3f5387[_0x5aff76(0x1a0)]=_0x3f5387['in']);const _0x33afd4=await _0x307b20[_0x5aff76(0x3b6)]({'options':{..._0x51e75a,..._0x3f5387},'args':_0x5eeb2f?[_0x5eeb2f]:[],'tdx':_0x5332af});gracefulExit(_0x33afd4);};tableCmd[a2_0x135762(0x399)](a2_0x135762(0x330))[a2_0x135762(0x1b7)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x135762(0x32b)]('-d,\x20--database\x20<database>',a2_0x135762(0x1fe))['option']('--in\x20<database>',a2_0x135762(0x20f))[a2_0x135762(0x24e)](tableListAction),program[a2_0x135762(0x399)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x135762(0x1b7)](a2_0x135762(0x298))[a2_0x135762(0x32b)](a2_0x135762(0x180),a2_0x135762(0x1fe))[a2_0x135762(0x32b)](a2_0x135762(0x281),a2_0x135762(0x20f))[a2_0x135762(0x24e)](tableListAction),program[a2_0x135762(0x399)](a2_0x135762(0x22e))[a2_0x135762(0x1b7)](a2_0x135762(0x1b0))[a2_0x135762(0x32b)](a2_0x135762(0x180),a2_0x135762(0x378))[a2_0x135762(0x32b)]('--in\x20<database>',a2_0x135762(0x20f))[a2_0x135762(0x24e)](async(_0x555312,_0x372f34)=>{const _0x292b87=a2_0x135762,_0xda2300=new ShowCommand(),_0x17a703=program['opts'](),_0x1e629d=await createTDXInstance(_0x17a703);_0x372f34['in']&&(_0x372f34[_0x292b87(0x1a0)]=_0x372f34['in']);const _0x30ad8c=await _0xda2300[_0x292b87(0x3b6)]({'options':{..._0x17a703,..._0x372f34},'args':_0x555312?[_0x555312]:[],'tdx':_0x1e629d});gracefulExit(_0x30ad8c);}),program[a2_0x135762(0x399)](a2_0x135762(0x1d6))[a2_0x135762(0x158)](a2_0x135762(0x2ff))[a2_0x135762(0x1b7)](a2_0x135762(0x290))[a2_0x135762(0x32b)](a2_0x135762(0x180),a2_0x135762(0x378))['option'](a2_0x135762(0x281),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x135762(0x24e)](async(_0x2bc70e,_0xe7eac0)=>{const _0x25a3e9=a2_0x135762,_0x7f9ea8=new DescribeCommand(),_0xe200bc=program['opts'](),_0x282f1c=await createTDXInstance(_0xe200bc);_0xe7eac0['in']&&(_0xe7eac0[_0x25a3e9(0x1a0)]=_0xe7eac0['in']);const _0x321644=await _0x7f9ea8['run']({'options':{..._0xe200bc,..._0xe7eac0},'args':_0x2bc70e?[_0x2bc70e]:[],'tdx':_0x282f1c});gracefulExit(_0x321644);}),program['command'](a2_0x135762(0x390))[a2_0x135762(0x1b7)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')['option'](a2_0x135762(0x180),a2_0x135762(0x29a))[a2_0x135762(0x32b)](a2_0x135762(0x281),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x135762(0x32b)](a2_0x135762(0x352),a2_0x135762(0x449))[a2_0x135762(0x32b)](a2_0x135762(0x1a8),'Read\x20SQL\x20query\x20from\x20file')[a2_0x135762(0x32b)]('--limit\x20<rows>','Maximum\x20rows\x20to\x20display')[a2_0x135762(0x24e)](async(_0x138e24,_0x50d518)=>{const _0x294181=a2_0x135762,_0x59f4c7=new QueryCommand(),_0x2be645=program[_0x294181(0x41e)](),_0x3a0387=await createTDXInstance(_0x2be645);_0x50d518['in']&&(_0x50d518[_0x294181(0x1a0)]=_0x50d518['in']);const _0x14263d=await _0x59f4c7['run']({'options':mergeCommandOptions(_0x2be645,_0x50d518),'args':_0x138e24?[_0x138e24]:[],'tdx':_0x3a0387});gracefulExit(_0x14263d);});const segmentCmd=program[a2_0x135762(0x399)]('segment')[a2_0x135762(0x158)]('sg')[a2_0x135762(0x1b7)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x586ea8,_0x31161c)=>{const _0x2f1c1a=a2_0x135762,_0x4d384e=new SegmentsCommand(),_0x60ff03=program[_0x2f1c1a(0x41e)](),_0x34b7a3=await createTDXInstance(_0x60ff03),_0x4f472c=await _0x4d384e[_0x2f1c1a(0x3b6)]({'options':{..._0x60ff03,..._0x31161c},'args':_0x586ea8?[_0x586ea8]:[],'tdx':_0x34b7a3});gracefulExit(_0x4f472c);};segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x2d0))[a2_0x135762(0x1b7)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')['option'](a2_0x135762(0x381),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')['option'](a2_0x135762(0x3c4),a2_0x135762(0x248),'10')[a2_0x135762(0x24e)](segmentListAction),program['command'](a2_0x135762(0x1ee),{'hidden':!![]})['description'](a2_0x135762(0x3a7))[a2_0x135762(0x32b)](a2_0x135762(0x381),a2_0x135762(0x31c))[a2_0x135762(0x32b)](a2_0x135762(0x3c4),a2_0x135762(0x248),'10')[a2_0x135762(0x24e)](segmentListAction),segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x21c),{'hidden':!![]})['description'](a2_0x135762(0x2c1))[a2_0x135762(0x24e)](async(_0x457e29,_0xdcbd81)=>{const _0x41f0d0=a2_0x135762,_0xf64948=new SegmentUseCommand(),_0x2d1836=program[_0x41f0d0(0x41e)](),_0x5b2a4c=await createTDXInstance(_0x2d1836),_0x401a19=await _0xf64948[_0x41f0d0(0x3b6)]({'options':{..._0x2d1836,..._0xdcbd81},'args':[_0x457e29],'tdx':_0x5b2a4c});gracefulExit(_0x401a19);});const segmentViewAction=async(_0x5a0c13,_0x55fcaf)=>{const _0x4e8c1b=a2_0x135762,_0x457cc4=new SegmentViewCommand(),_0x55abc5=program[_0x4e8c1b(0x41e)](),_0x3db50b=await createTDXInstance(_0x55abc5),_0x4b6f44=await _0x457cc4[_0x4e8c1b(0x3b6)]({'options':{..._0x55abc5,..._0x55fcaf},'args':_0x5a0c13?[_0x5a0c13]:[],'tdx':_0x3db50b});gracefulExit(_0x4b6f44);};segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x396))[a2_0x135762(0x1b7)](a2_0x135762(0x3a6))[a2_0x135762(0x32b)](a2_0x135762(0x3dd),a2_0x135762(0x173))[a2_0x135762(0x24e)](segmentViewAction),segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x220),{'hidden':!![]})['alias'](a2_0x135762(0x1c4))['option'](a2_0x135762(0x3dd),a2_0x135762(0x173))[a2_0x135762(0x1b7)](a2_0x135762(0x423))[a2_0x135762(0x24e)](segmentViewAction),segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x41c))[a2_0x135762(0x1b7)](a2_0x135762(0x465))[a2_0x135762(0x24e)](async(_0x4fd2bf,_0x38174f)=>{const _0x1f651e=new SegmentDescCommand(),_0x4abd76=program['opts'](),_0x3ddb36=await createTDXInstance(_0x4abd76),_0x1f4dbf=await _0x1f651e['run']({'options':{..._0x4abd76,..._0x38174f},'args':_0x4fd2bf?[_0x4fd2bf]:[],'tdx':_0x3ddb36});gracefulExit(_0x1f4dbf);}),segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x464))['description']('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x135762(0x24e)](async(_0x5b4d9c,_0x1a3299)=>{const _0x2e414c=a2_0x135762,_0x48ec25=new SegmentShowCommand(),_0x53fee4=program[_0x2e414c(0x41e)](),_0x4b913b=await createTDXInstance(_0x53fee4),_0x326719=await _0x48ec25[_0x2e414c(0x3b6)]({'options':{..._0x53fee4,..._0x1a3299},'args':_0x5b4d9c?[_0x5b4d9c]:[],'tdx':_0x4b913b});gracefulExit(_0x326719);}),segmentCmd['command']('folders\x20<parent_name>',{'hidden':!![]})[a2_0x135762(0x1b7)](a2_0x135762(0x3d0))['action'](async(_0x33311c,_0x5749c3)=>{const _0x276888=a2_0x135762,_0x5c85d8=new SegmentFolderListCommand(),_0x4299b4=program[_0x276888(0x41e)](),_0x378ab7=await createTDXInstance(_0x4299b4),_0x28adb2=await _0x5c85d8[_0x276888(0x3b6)]({'options':{..._0x4299b4,..._0x5749c3},'args':[_0x33311c],'tdx':_0x378ab7});gracefulExit(_0x28adb2);});const folderCmd=segmentCmd[a2_0x135762(0x399)]('folder',{'hidden':!![]})[a2_0x135762(0x1b7)](a2_0x135762(0x351));folderCmd[a2_0x135762(0x399)](a2_0x135762(0x26a))[a2_0x135762(0x1b7)](a2_0x135762(0x245))[a2_0x135762(0x24e)](async(_0x73c005,_0x5807e0)=>{const _0x1f5e79=a2_0x135762,_0x351b8f=new SegmentFolderShowCommand(),_0x42f00d=program['opts'](),_0x19c0a7=await createTDXInstance(_0x42f00d),_0xc693d7=await _0x351b8f[_0x1f5e79(0x3b6)]({'options':{..._0x42f00d,..._0x5807e0},'args':[_0x73c005],'tdx':_0x19c0a7});gracefulExit(_0xc693d7);}),segmentCmd[a2_0x135762(0x399)]('sql\x20[segment_name]')[a2_0x135762(0x1b7)](a2_0x135762(0x319))[a2_0x135762(0x32b)](a2_0x135762(0x434),a2_0x135762(0x2c2))[a2_0x135762(0x24e)](async(_0x173d6c,_0x486b5f)=>{const _0x4bf05f=a2_0x135762,_0x39cede=new SegmentSQLCommand(),_0x26a439=program[_0x4bf05f(0x41e)](),_0x5b77a4=await createTDXInstance(_0x26a439),_0x5f0136=await _0x39cede[_0x4bf05f(0x3b6)]({'options':{..._0x26a439,..._0x486b5f},'args':_0x173d6c?[_0x173d6c]:[],'tdx':_0x5b77a4});gracefulExit(_0x5f0136);}),segmentCmd[a2_0x135762(0x399)]('fields\x20[parent_name]')['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')['action'](async(_0x21c0fb,_0x5c9b24)=>{const _0x1d6a4f=a2_0x135762,_0x1c0c75=new SegmentFieldsCommand(),_0x5f1ce7=program[_0x1d6a4f(0x41e)](),_0x33ce19=await createTDXInstance(_0x5f1ce7),_0x4d8200=await _0x1c0c75[_0x1d6a4f(0x3b6)]({'options':{..._0x5f1ce7,..._0x5c9b24},'args':_0x21c0fb?[_0x21c0fb]:[],'tdx':_0x33ce19});gracefulExit(_0x4d8200);}),segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x3c0))[a2_0x135762(0x1b7)](a2_0x135762(0x21e))[a2_0x135762(0x32b)](a2_0x135762(0x2de),a2_0x135762(0x370))[a2_0x135762(0x24e)](async(_0x449d5c,_0x564a0b)=>{const _0x4cc26e=a2_0x135762,_0x25cbc5=new SegmentPullCommand(),_0x2060b0=program[_0x4cc26e(0x41e)](),_0x4fc1e0=await createTDXInstance(_0x2060b0),_0x2ccfd8=await _0x25cbc5[_0x4cc26e(0x3b6)]({'options':{..._0x2060b0,..._0x564a0b},'args':_0x449d5c?[_0x449d5c]:[],'tdx':_0x4fc1e0});gracefulExit(_0x2ccfd8);}),segmentCmd['command']('push\x20[parent_or_file]')[a2_0x135762(0x1b7)](a2_0x135762(0x170))['option']('--dry-run',a2_0x135762(0x370))[a2_0x135762(0x32b)]('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x135762(0x24e)](async(_0x169fef,_0xad7dc4)=>{const _0x3df4e1=a2_0x135762,_0x2bda42=new SegmentPushCommand(),_0x23e8d9=program[_0x3df4e1(0x41e)](),_0x1fbeea=await createTDXInstance(_0x23e8d9),_0x580a6d=await _0x2bda42[_0x3df4e1(0x3b6)]({'options':{..._0x23e8d9,..._0xad7dc4},'args':_0x169fef?[_0x169fef]:[],'tdx':_0x1fbeea});gracefulExit(_0x580a6d);}),segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x34c))['description'](a2_0x135762(0x261))[a2_0x135762(0x24e)](async(_0x1fa4b4,_0x389a)=>{const _0x34692a=a2_0x135762,_0x169d43=new SegmentValidateCommand(),_0x5d44cb=program[_0x34692a(0x41e)](),_0x58d629=await createTDXInstance(_0x5d44cb),_0x562bd7=await _0x169d43[_0x34692a(0x3b6)]({'options':{..._0x5d44cb,..._0x389a},'args':_0x1fa4b4?[_0x1fa4b4]:[],'tdx':_0x58d629});gracefulExit(_0x562bd7);}),segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x163),{'hidden':!![]})[a2_0x135762(0x1b7)](a2_0x135762(0x2d8))['option'](a2_0x135762(0x315),a2_0x135762(0x18e))[a2_0x135762(0x32b)](a2_0x135762(0x316),a2_0x135762(0x15a))[a2_0x135762(0x32b)]('--rule-file\x20<file>',a2_0x135762(0x40e))[a2_0x135762(0x32b)](a2_0x135762(0x1cc),'Folder\x20name\x20for\x20organization')[a2_0x135762(0x32b)]('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x135762(0x32b)](a2_0x135762(0x14a),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x135762(0x32b)](a2_0x135762(0x328),a2_0x135762(0x19c))[a2_0x135762(0x24e)](async(_0x9c7bf4,_0x2052d1)=>{const _0x35d624=a2_0x135762,_0x16614a=new SegmentCreateCommand(),_0x5b7888=program[_0x35d624(0x41e)](),_0x45fbd1=await createTDXInstance(_0x5b7888),_0x1ea747=await _0x16614a['run']({'options':{..._0x5b7888,..._0x2052d1},'args':[_0x9c7bf4],'tdx':_0x45fbd1});gracefulExit(_0x1ea747);}),segmentCmd[a2_0x135762(0x399)]('update\x20<segment_name>',{'hidden':!![]})[a2_0x135762(0x1b7)](a2_0x135762(0x2ae))[a2_0x135762(0x32b)]('--name\x20<new_name>',a2_0x135762(0x1f2))[a2_0x135762(0x32b)](a2_0x135762(0x315),'Updated\x20description')[a2_0x135762(0x32b)](a2_0x135762(0x316),a2_0x135762(0x23e))['option'](a2_0x135762(0x23d),a2_0x135762(0x39a))[a2_0x135762(0x32b)](a2_0x135762(0x1cc),a2_0x135762(0x421))[a2_0x135762(0x32b)](a2_0x135762(0x2ba),a2_0x135762(0x3aa))[a2_0x135762(0x24e)](async(_0x5b1ab0,_0x15e040)=>{const _0x226933=a2_0x135762,_0x2b338b=new SegmentUpdateCommand(),_0x4900bf=program[_0x226933(0x41e)](),_0x1c1668=await createTDXInstance(_0x4900bf),_0x368ecc=await _0x2b338b['run']({'options':{..._0x4900bf,..._0x15e040},'args':[_0x5b1ab0],'tdx':_0x1c1668});gracefulExit(_0x368ecc);});const parentCmd=segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x3e2),{'hidden':!![]})[a2_0x135762(0x1b7)]('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x2858e4,_0x259e8a)=>{const _0x55189b=a2_0x135762,_0x3c7678=new ParentSegmentListCommand(),_0x141c4b=program[_0x55189b(0x41e)](),_0x53568d=await createTDXInstance(_0x141c4b),_0x4a79b5=await _0x3c7678[_0x55189b(0x3b6)]({'options':{..._0x141c4b,..._0x259e8a},'args':_0x2858e4?[_0x2858e4]:[],'tdx':_0x53568d});gracefulExit(_0x4a79b5);};parentCmd[a2_0x135762(0x399)](a2_0x135762(0x330))['description'](a2_0x135762(0x3d7))['action'](parentListAction),segmentCmd[a2_0x135762(0x399)](a2_0x135762(0x1a6),{'hidden':!![]})[a2_0x135762(0x1b7)](a2_0x135762(0x205))[a2_0x135762(0x24e)](parentListAction),parentCmd['command'](a2_0x135762(0x21b))[a2_0x135762(0x1b7)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')['option'](a2_0x135762(0x1a7),a2_0x135762(0x310))['action'](async(_0x28084b,_0x4bfbac)=>{const _0x3f7963=a2_0x135762,_0x976ff6=new ParentSegmentPullCommand(),_0x1f26e1=program[_0x3f7963(0x41e)](),_0x3e06eb=await createTDXInstance(_0x1f26e1),_0x469569=await _0x976ff6[_0x3f7963(0x3b6)]({'options':{..._0x1f26e1,..._0x4bfbac},'args':_0x28084b?[_0x28084b]:[],'tdx':_0x3e06eb});gracefulExit(_0x469569);}),parentCmd['command'](a2_0x135762(0x16d))[a2_0x135762(0x1b7)](a2_0x135762(0x427))['action'](async(_0x4335a6,_0x443694)=>{const _0x12179d=new ParentSegmentPushCommand(),_0x51a67c=program['opts'](),_0x11d7e7=await createTDXInstance(_0x51a67c),_0xa75795=await _0x12179d['run']({'options':{..._0x51a67c,..._0x443694},'args':_0x4335a6?[_0x4335a6]:[],'tdx':_0x11d7e7});gracefulExit(_0xa75795);}),parentCmd['command'](a2_0x135762(0x273))[a2_0x135762(0x1b7)](a2_0x135762(0x168))[a2_0x135762(0x32b)](a2_0x135762(0x274),a2_0x135762(0x20e))[a2_0x135762(0x32b)](a2_0x135762(0x305),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x135762(0x32b)](a2_0x135762(0x3bc),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x135762(0x32b)](a2_0x135762(0x45a),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x135762(0x32b)](a2_0x135762(0x157),a2_0x135762(0x2c0),a2_0x135762(0x27e))[a2_0x135762(0x24e)](async(_0x12143b,_0x108f86)=>{const _0x905cd8=a2_0x135762,_0x5a6a20=new ParentSegmentValidateCommand(),_0x34f0a5=program[_0x905cd8(0x41e)](),_0x351b14=await createTDXInstance(_0x34f0a5),_0x156047=await _0x5a6a20[_0x905cd8(0x3b6)]({'options':{..._0x34f0a5,..._0x108f86},'args':_0x12143b?[_0x12143b]:[],'tdx':_0x351b14});gracefulExit(_0x156047);}),parentCmd[a2_0x135762(0x399)](a2_0x135762(0x41d))[a2_0x135762(0x1b7)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option']('--master','Show\x20master\x20table\x20sample\x20data')[a2_0x135762(0x32b)](a2_0x135762(0x305),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')['option'](a2_0x135762(0x3bc),a2_0x135762(0x1aa))[a2_0x135762(0x32b)]('--enriched',a2_0x135762(0x447))[a2_0x135762(0x32b)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x135762(0x24e)](async(_0x5a3ed1,_0x21df11)=>{const _0x14b82d=a2_0x135762,_0x40daf4=new ParentSegmentPreviewCommand(),_0x5f1e81=program[_0x14b82d(0x41e)](),_0x50c1fe=await createTDXInstance(_0x5f1e81),_0x4a719a=await _0x40daf4['run']({'options':{..._0x5f1e81,..._0x21df11},'args':_0x5a3ed1?[_0x5a3ed1]:[],'tdx':_0x50c1fe});gracefulExit(_0x4a719a);}),parentCmd[a2_0x135762(0x399)](a2_0x135762(0x3e9))[a2_0x135762(0x1b7)](a2_0x135762(0x27d))['action'](async(_0x3e699c,_0x42b2b9)=>{const _0x2f21c1=a2_0x135762,_0x3a80a7=new ParentSegmentRunCommand(),_0x2bb374=program[_0x2f21c1(0x41e)](),_0x226212=await createTDXInstance(_0x2bb374),_0x199a6f=await _0x3a80a7[_0x2f21c1(0x3b6)]({'options':{..._0x2bb374,..._0x42b2b9},'args':_0x3e699c?[_0x3e699c]:[],'tdx':_0x226212});gracefulExit(_0x199a6f);});const parentSegmentCmd=program['command'](a2_0x135762(0x296))[a2_0x135762(0x158)]('ps')['description'](a2_0x135762(0x3f4));parentSegmentCmd[a2_0x135762(0x399)]('list\x20[pattern]')['description'](a2_0x135762(0x3d7))['action'](parentListAction),parentSegmentCmd[a2_0x135762(0x399)](a2_0x135762(0x21b))[a2_0x135762(0x1b7)](a2_0x135762(0x14e))[a2_0x135762(0x32b)](a2_0x135762(0x1a7),a2_0x135762(0x275))['option'](a2_0x135762(0x297),a2_0x135762(0x452))[a2_0x135762(0x24e)](async(_0x1c853e,_0xc23432)=>{const _0x2c51b1=a2_0x135762,_0x50fce0=new ParentSegmentPullCommand(),_0x599eb5=program[_0x2c51b1(0x41e)](),_0x2f694b=await createTDXInstance(_0x599eb5),_0x3eb528=await _0x50fce0['run']({'options':{..._0x599eb5,..._0xc23432},'args':_0x1c853e?[_0x1c853e]:[],'tdx':_0x2f694b});gracefulExit(_0x3eb528);}),parentSegmentCmd[a2_0x135762(0x399)](a2_0x135762(0x426))['description'](a2_0x135762(0x448))[a2_0x135762(0x24e)](async(_0x23d053,_0x4ebbfc)=>{const _0x491a6b=a2_0x135762,_0x21a006=new ParentSegmentPushCommand(),_0x3ee1a7=program[_0x491a6b(0x41e)](),_0x18e136=await createTDXInstance(_0x3ee1a7),_0x4b56d5=await _0x21a006[_0x491a6b(0x3b6)]({'options':{..._0x3ee1a7,..._0x4ebbfc},'args':_0x23d053?[_0x23d053]:[],'tdx':_0x18e136});gracefulExit(_0x4b56d5);}),parentSegmentCmd[a2_0x135762(0x399)](a2_0x135762(0x2f6))[a2_0x135762(0x1b7)](a2_0x135762(0x168))[a2_0x135762(0x32b)](a2_0x135762(0x274),a2_0x135762(0x20e))[a2_0x135762(0x32b)]('--attribute\x20[name]',a2_0x135762(0x1ff))[a2_0x135762(0x32b)](a2_0x135762(0x3bc),a2_0x135762(0x156))[a2_0x135762(0x32b)](a2_0x135762(0x45a),a2_0x135762(0x287))[a2_0x135762(0x32b)]('--interval\x20<range>',a2_0x135762(0x2c0),a2_0x135762(0x27e))[a2_0x135762(0x24e)](async(_0x30b1d2,_0x35a871)=>{const _0x2a537b=a2_0x135762,_0x4c7347=new ParentSegmentValidateCommand(),_0x41011e=program[_0x2a537b(0x41e)](),_0x20a0f3=await createTDXInstance(_0x41011e),_0x365a60=await _0x4c7347['run']({'options':{..._0x41011e,..._0x35a871},'args':_0x30b1d2?[_0x30b1d2]:[],'tdx':_0x20a0f3});gracefulExit(_0x365a60);}),parentSegmentCmd[a2_0x135762(0x399)](a2_0x135762(0x446))[a2_0x135762(0x1b7)](a2_0x135762(0x3b9))[a2_0x135762(0x32b)](a2_0x135762(0x274),a2_0x135762(0x29b))['option'](a2_0x135762(0x305),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x135762(0x32b)](a2_0x135762(0x3bc),a2_0x135762(0x1aa))[a2_0x135762(0x32b)]('--enriched',a2_0x135762(0x447))['option'](a2_0x135762(0x157),a2_0x135762(0x2c0),a2_0x135762(0x27e))['action'](async(_0x438849,_0x5676ed)=>{const _0x4b372e=a2_0x135762,_0xf5361d=new ParentSegmentPreviewCommand(),_0xa7b519=program[_0x4b372e(0x41e)](),_0x16cfda=await createTDXInstance(_0xa7b519),_0x4946f3=await _0xf5361d['run']({'options':{..._0xa7b519,..._0x5676ed},'args':_0x438849?[_0x438849]:[],'tdx':_0x16cfda});gracefulExit(_0x4946f3);}),parentSegmentCmd[a2_0x135762(0x399)](a2_0x135762(0x3e9))[a2_0x135762(0x1b7)](a2_0x135762(0x27d))[a2_0x135762(0x24e)](async(_0x3639d8,_0xddb93e)=>{const _0x1ff636=a2_0x135762,_0x4a1480=new ParentSegmentRunCommand(),_0x3b4b0f=program[_0x1ff636(0x41e)](),_0x924640=await createTDXInstance(_0x3b4b0f),_0x1ebd36=await _0x4a1480[_0x1ff636(0x3b6)]({'options':{..._0x3b4b0f,..._0xddb93e},'args':_0x3639d8?[_0x3639d8]:[],'tdx':_0x924640});gracefulExit(_0x1ebd36);}),parentSegmentCmd[a2_0x135762(0x399)]('fields\x20[name]')[a2_0x135762(0x1b7)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x135762(0x32b)]('--json',a2_0x135762(0x302))[a2_0x135762(0x32b)](a2_0x135762(0x219),a2_0x135762(0x43b))[a2_0x135762(0x24e)](async(_0x3e8d83,_0x28a136)=>{const _0x4a1e34=a2_0x135762,_0x344a62=new ParentSegmentFieldsCommand(),_0x5c1339=program['opts'](),_0x181a19=await createTDXInstance(_0x5c1339),_0xdc5713=await _0x344a62[_0x4a1e34(0x3b6)]({'options':{..._0x5c1339,..._0x28a136},'args':_0x3e8d83?[_0x3e8d83]:[],'tdx':_0x181a19});gracefulExit(_0xdc5713);}),parentSegmentCmd[a2_0x135762(0x399)](a2_0x135762(0x23a))[a2_0x135762(0x1b7)](a2_0x135762(0x22f))[a2_0x135762(0x32b)](a2_0x135762(0x3dd),a2_0x135762(0x18c))[a2_0x135762(0x32b)](a2_0x135762(0x24a),a2_0x135762(0x302))['option'](a2_0x135762(0x219),a2_0x135762(0x43b))['action'](async(_0x59de88,_0xca0e1d)=>{const _0x45fb0b=a2_0x135762,_0x4737ee=new ParentSegmentViewCommand(),_0x43cd66=program['opts'](),_0xf07b6f=await createTDXInstance(_0x43cd66),_0x28d571=await _0x4737ee[_0x45fb0b(0x3b6)]({'options':{..._0x43cd66,..._0xca0e1d},'args':_0x59de88?[_0x59de88]:[],'tdx':_0xf07b6f});gracefulExit(_0x28d571);}),parentSegmentCmd[a2_0x135762(0x399)]('desc\x20[name]')['description'](a2_0x135762(0x2ea))[a2_0x135762(0x32b)]('-o,\x20--output\x20<file>',a2_0x135762(0x275))[a2_0x135762(0x32b)](a2_0x135762(0x24a),'Output\x20as\x20JSON')['option']('--jsonl',a2_0x135762(0x43b))[a2_0x135762(0x24e)](async(_0x49bfb5,_0x25ea66)=>{const _0x1d17fa=a2_0x135762,_0xa909d0=new ParentSegmentDescCommand(),_0x61ab33=program['opts'](),_0x33beaf=await createTDXInstance(_0x61ab33),_0xc26cce=await _0xa909d0[_0x1d17fa(0x3b6)]({'options':{..._0x61ab33,..._0x25ea66},'args':_0x49bfb5?[_0x49bfb5]:[],'tdx':_0x33beaf});gracefulExit(_0xc26cce);}),parentSegmentCmd['command'](a2_0x135762(0x2bf))[a2_0x135762(0x1b7)](a2_0x135762(0x425))[a2_0x135762(0x32b)]('--json',a2_0x135762(0x302))['option']('--jsonl',a2_0x135762(0x43b))['action'](async(_0x3cd2d1,_0x558ed3)=>{const _0x2ed81f=a2_0x135762,_0x22d408=new ParentSegmentSQLCommand(),_0x2b0f49=program[_0x2ed81f(0x41e)](),_0x439364=await createTDXInstance(_0x2b0f49),_0x54e8fc=await _0x22d408[_0x2ed81f(0x3b6)]({'options':{..._0x2b0f49,..._0x558ed3},'args':_0x3cd2d1?[_0x3cd2d1]:[],'tdx':_0x439364});gracefulExit(_0x54e8fc);}),parentSegmentCmd[a2_0x135762(0x399)](a2_0x135762(0x2f8))[a2_0x135762(0x1b7)](a2_0x135762(0x1d4))[a2_0x135762(0x32b)](a2_0x135762(0x1b3),a2_0x135762(0x1c2))[a2_0x135762(0x32b)]('--json',a2_0x135762(0x302))[a2_0x135762(0x32b)](a2_0x135762(0x219),a2_0x135762(0x43b))['action'](async(_0x4b7c64,_0x118b57)=>{const _0x16c490=a2_0x135762,_0x3eb56c=new ParentSegmentShowCommand(),_0x5e59cf=program[_0x16c490(0x41e)](),_0x3143ce=await createTDXInstance(_0x5e59cf),_0xdf7fcb=await _0x3eb56c['run']({'options':{..._0x5e59cf,..._0x118b57},'args':_0x4b7c64?[_0x4b7c64]:[],'tdx':_0x3143ce});gracefulExit(_0xdf7fcb);}),parentSegmentCmd[a2_0x135762(0x399)](a2_0x135762(0x44f))[a2_0x135762(0x1b7)](a2_0x135762(0x187))[a2_0x135762(0x24e)](async(_0x372518,_0xaf0ff9)=>{const _0x2f49e1=a2_0x135762,_0x456809=new UseCommand(),_0x1c984d=program[_0x2f49e1(0x41e)](),_0x538918=_0x372518?['parent_segment',_0x372518]:[],_0x2e1946=await _0x456809[_0x2f49e1(0x3b6)]({'options':{..._0x1c984d,..._0xaf0ff9},'args':_0x538918,'tdx':null});gracefulExit(_0x2e1946);});const psRtCmd=parentSegmentCmd[a2_0x135762(0x399)]('rt')[a2_0x135762(0x1b7)](a2_0x135762(0x226));psRtCmd[a2_0x135762(0x399)](a2_0x135762(0x330))[a2_0x135762(0x1b7)](a2_0x135762(0x2ec))['action'](async(_0x432e05,_0x5a7f85)=>{const _0x4fe2ea=a2_0x135762,_0x310d61=new PSRtListCommand(),_0x2edaa2=program[_0x4fe2ea(0x41e)](),_0x1d4395=await createTDXInstance(_0x2edaa2),_0x4a0f8b=await _0x310d61[_0x4fe2ea(0x3b6)]({'options':{..._0x2edaa2,..._0x5a7f85},'args':_0x432e05?[_0x432e05]:[],'tdx':_0x1d4395});gracefulExit(_0x4a0f8b);}),psRtCmd[a2_0x135762(0x399)]('validate\x20[name]')[a2_0x135762(0x1b7)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x135762(0x24e)](async(_0x4944eb,_0x46dbe9)=>{const _0x5229ff=a2_0x135762,_0x10f280=new PSRtValidateCommand(),_0x326c7a=program[_0x5229ff(0x41e)](),_0x3dbcac=await createTDXInstance(_0x326c7a),_0x28f45a=await _0x10f280[_0x5229ff(0x3b6)]({'options':{..._0x326c7a,..._0x46dbe9},'args':_0x4944eb?[_0x4944eb]:[],'tdx':_0x3dbcac});gracefulExit(_0x28f45a);}),psRtCmd[a2_0x135762(0x399)]('configuration_versions\x20[name]')[a2_0x135762(0x1b7)]('Get\x20current\x20RT\x20configuration\x20version\x20status')[a2_0x135762(0x24e)](async(_0x458985,_0x382b28)=>{const _0x388672=new PSRtConfigVersionCommand(),_0x4c49a8=program['opts'](),_0x512364=await createTDXInstance(_0x4c49a8),_0x2d5589=await _0x388672['run']({'options':{..._0x4c49a8,..._0x382b28},'args':_0x458985?[_0x458985]:[],'tdx':_0x512364});gracefulExit(_0x2d5589);});const psRtJnCmd=psRtCmd[a2_0x135762(0x399)]('jn')[a2_0x135762(0x1b7)]('RT\x20Journey\x20management');psRtJnCmd['command']('list\x20[name]')[a2_0x135762(0x1b7)](a2_0x135762(0x266))[a2_0x135762(0x24e)](async(_0x1163d9,_0x181dc6)=>{const _0x15be53=a2_0x135762,_0x207158=new PSRtJnListCommand(),_0xf43525=program[_0x15be53(0x41e)](),_0x5f5996=await createTDXInstance(_0xf43525),_0x2802b6=await _0x207158['run']({'options':{..._0xf43525,..._0x181dc6},'args':_0x1163d9?[_0x1163d9]:[],'tdx':_0x5f5996});gracefulExit(_0x2802b6);}),psRtJnCmd[a2_0x135762(0x399)](a2_0x135762(0x3d2))[a2_0x135762(0x1b7)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x135762(0x24e)](async(_0x5a8de0,_0x3a272f)=>{const _0x2912d2=a2_0x135762,_0x175f5c=new PSRtJnPauseCommand(),_0x519b27=program[_0x2912d2(0x41e)](),_0x1ae497=await createTDXInstance(_0x519b27),_0x3b03e4=await _0x175f5c[_0x2912d2(0x3b6)]({'options':{..._0x519b27,..._0x3a272f},'args':[_0x5a8de0],'tdx':_0x1ae497});gracefulExit(_0x3b03e4);}),psRtJnCmd[a2_0x135762(0x399)](a2_0x135762(0x14c))[a2_0x135762(0x1b7)](a2_0x135762(0x3f2))['action'](async(_0x1aac17,_0x59ce13)=>{const _0x2646cf=a2_0x135762,_0x517f2d=new PSRtJnResumeCommand(),_0x2bc0d6=program[_0x2646cf(0x41e)](),_0x1e229e=await createTDXInstance(_0x2bc0d6),_0x344c91=await _0x517f2d[_0x2646cf(0x3b6)]({'options':{..._0x2bc0d6,..._0x59ce13},'args':[_0x1aac17],'tdx':_0x1e229e});gracefulExit(_0x344c91);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x135762(0x1b7)]('RT\x202.0\x20configuration\x20management');parentRtCmd[a2_0x135762(0x399)]('list\x20[pattern]')[a2_0x135762(0x1b7)](a2_0x135762(0x2ec))[a2_0x135762(0x24e)](async(_0x3f7507,_0x36f019)=>{const _0x4d7a47=a2_0x135762,_0x21dfdf=new PSRtListCommand(),_0x51e0e0=program[_0x4d7a47(0x41e)](),_0x122a16=await createTDXInstance(_0x51e0e0),_0x2db1b4=await _0x21dfdf[_0x4d7a47(0x3b6)]({'options':{..._0x51e0e0,..._0x36f019},'args':_0x3f7507?[_0x3f7507]:[],'tdx':_0x122a16});gracefulExit(_0x2db1b4);}),parentRtCmd['command'](a2_0x135762(0x2f6))[a2_0x135762(0x1b7)](a2_0x135762(0x30e))[a2_0x135762(0x24e)](async(_0x4a4112,_0x1aa54c)=>{const _0x3feaec=a2_0x135762,_0x24fbb3=new PSRtValidateCommand(),_0x27ffc1=program[_0x3feaec(0x41e)](),_0x2f5a51=await createTDXInstance(_0x27ffc1),_0x4d93fe=await _0x24fbb3[_0x3feaec(0x3b6)]({'options':{..._0x27ffc1,..._0x1aa54c},'args':_0x4a4112?[_0x4a4112]:[],'tdx':_0x2f5a51});gracefulExit(_0x4d93fe);});const psPzCmd=parentSegmentCmd[a2_0x135762(0x399)]('pz')[a2_0x135762(0x1b7)](a2_0x135762(0x278));psPzCmd[a2_0x135762(0x399)]('list\x20[name]')[a2_0x135762(0x1b7)]('List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x5f19b7,_0x3999ec)=>{const _0x41d01b=a2_0x135762,_0x3ab8c6=new PSPzListCommand(),_0x23ec91=program[_0x41d01b(0x41e)](),_0x2f507d=await createTDXInstance(_0x23ec91),_0x49f988=await _0x3ab8c6[_0x41d01b(0x3b6)]({'options':{..._0x23ec91,..._0x3999ec},'args':_0x5f19b7?[_0x5f19b7]:[],'tdx':_0x2f507d});gracefulExit(_0x49f988);}),psPzCmd[a2_0x135762(0x399)](a2_0x135762(0x236))[a2_0x135762(0x1b7)](a2_0x135762(0x33d))[a2_0x135762(0x24e)](async(_0x5a8a6e,_0x3146e1)=>{const _0x120d04=a2_0x135762,_0x11dd8c=new PSPzShowCommand(),_0x1aafcd=program[_0x120d04(0x41e)](),_0x2cc53a=await createTDXInstance(_0x1aafcd),_0x2366c7=await _0x11dd8c['run']({'options':{..._0x1aafcd,..._0x3146e1},'args':[_0x5a8a6e],'tdx':_0x2cc53a});gracefulExit(_0x2366c7);}),psPzCmd['command'](a2_0x135762(0x3df))[a2_0x135762(0x1b7)](a2_0x135762(0x346))[a2_0x135762(0x24e)](async(_0x34c54f,_0x3f941d)=>{const _0x35c84f=a2_0x135762,_0x4e2def=new PSPzDeleteCommand(),_0x4a628c=program[_0x35c84f(0x41e)](),_0x25f79e=await createTDXInstance(_0x4a628c),_0x3d46b5=await _0x4e2def[_0x35c84f(0x3b6)]({'options':{..._0x4a628c,..._0x3f941d},'args':[_0x34c54f],'tdx':_0x25f79e});gracefulExit(_0x3d46b5);}),psPzCmd[a2_0x135762(0x399)](a2_0x135762(0x394))[a2_0x135762(0x1b7)](a2_0x135762(0x429))[a2_0x135762(0x32b)](a2_0x135762(0x14b),a2_0x135762(0x20d))[a2_0x135762(0x32b)](a2_0x135762(0x315),a2_0x135762(0x358))[a2_0x135762(0x32b)](a2_0x135762(0x3a5),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')['option'](a2_0x135762(0x246),a2_0x135762(0x148))[a2_0x135762(0x32b)](a2_0x135762(0x33c),a2_0x135762(0x2a6))[a2_0x135762(0x32b)](a2_0x135762(0x22a),a2_0x135762(0x172))[a2_0x135762(0x24e)](async _0x113505=>{const _0x2f2c44=a2_0x135762,_0x344672=new PSPzCreateCommand(),_0x34ff2a=program[_0x2f2c44(0x41e)](),_0x533999=await createTDXInstance(_0x34ff2a),_0xab1874=await _0x344672[_0x2f2c44(0x3b6)]({'options':{..._0x34ff2a,..._0x113505},'args':[],'tdx':_0x533999});gracefulExit(_0xab1874);}),psPzCmd[a2_0x135762(0x399)](a2_0x135762(0x3d8))[a2_0x135762(0x1b7)](a2_0x135762(0x314))['option'](a2_0x135762(0x14b),'Personalization\x20name')[a2_0x135762(0x32b)](a2_0x135762(0x315),a2_0x135762(0x358))[a2_0x135762(0x32b)]('--sections\x20<json>',a2_0x135762(0x2a6))['option'](a2_0x135762(0x22a),a2_0x135762(0x172))[a2_0x135762(0x24e)](async(_0x4db9b4,_0x5c97bd)=>{const _0x1f0c03=a2_0x135762,_0x446932=new PSPzPatchCommand(),_0x1b0267=program[_0x1f0c03(0x41e)](),_0x5c69c2=await createTDXInstance(_0x1b0267),_0x3ce160=await _0x446932['run']({'options':{..._0x1b0267,..._0x5c97bd},'args':[_0x4db9b4],'tdx':_0x5c69c2});gracefulExit(_0x3ce160);});const psPzServiceCmd=psPzCmd['command']('service')[a2_0x135762(0x1b7)](a2_0x135762(0x2d7));psPzServiceCmd[a2_0x135762(0x399)](a2_0x135762(0x28f))[a2_0x135762(0x1b7)](a2_0x135762(0x33b))[a2_0x135762(0x24e)](async(_0x4b3ce6,_0x4cd0d6)=>{const _0x253302=a2_0x135762,_0x4a4644=new PSPzServiceListCommand(),_0x247116=program[_0x253302(0x41e)](),_0x332cb5=await createTDXInstance(_0x247116),_0x5655df=await _0x4a4644[_0x253302(0x3b6)]({'options':{..._0x247116,..._0x4cd0d6},'args':_0x4b3ce6?[_0x4b3ce6]:[],'tdx':_0x332cb5});gracefulExit(_0x5655df);}),psPzServiceCmd[a2_0x135762(0x399)](a2_0x135762(0x406))[a2_0x135762(0x1b7)](a2_0x135762(0x3fb))[a2_0x135762(0x32b)](a2_0x135762(0x315),'Service\x20description')['option'](a2_0x135762(0x45b),'Make\x20service\x20public\x20(default:\x20private)')[a2_0x135762(0x24e)](async(_0x1d8c01,_0x251cee,_0x1adae9)=>{const _0x40dbe5=a2_0x135762,_0x1844ce=new PSPzServiceCreateCommand(),_0x14877a=program[_0x40dbe5(0x41e)](),_0x30eae0=await createTDXInstance(_0x14877a),_0x376745=await _0x1844ce[_0x40dbe5(0x3b6)]({'options':{..._0x14877a,..._0x1adae9},'args':_0x251cee?[_0x1d8c01,_0x251cee]:[_0x1d8c01],'tdx':_0x30eae0});gracefulExit(_0x376745);}),psPzServiceCmd[a2_0x135762(0x399)]('show\x20<service_id>\x20[parent_segment]')[a2_0x135762(0x1b7)]('Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x135762(0x24e)](async(_0x358409,_0x4d90c7,_0x5890e8)=>{const _0x5867dc=a2_0x135762,_0x2f9250=new PSPzServiceShowCommand(),_0x4b0c2b=program[_0x5867dc(0x41e)](),_0x5f3202=await createTDXInstance(_0x4b0c2b),_0x1841c3=await _0x2f9250[_0x5867dc(0x3b6)]({'options':{..._0x4b0c2b,..._0x5890e8},'args':_0x4d90c7?[_0x358409,_0x4d90c7]:[_0x358409],'tdx':_0x5f3202});gracefulExit(_0x1841c3);}),psPzServiceCmd[a2_0x135762(0x399)]('delete\x20<service_id>\x20[parent_segment]')[a2_0x135762(0x1b7)](a2_0x135762(0x40d))[a2_0x135762(0x24e)](async(_0x1e10a0,_0x47c9e7,_0x44774b)=>{const _0x7cd7dd=a2_0x135762,_0x3bcd09=new PSPzServiceDeleteCommand(),_0x249df2=program[_0x7cd7dd(0x41e)](),_0x10436b=await createTDXInstance(_0x249df2),_0x4658bc=await _0x3bcd09[_0x7cd7dd(0x3b6)]({'options':{..._0x249df2,..._0x44774b},'args':_0x47c9e7?[_0x1e10a0,_0x47c9e7]:[_0x1e10a0],'tdx':_0x10436b});gracefulExit(_0x4658bc);}),psPzServiceCmd['command'](a2_0x135762(0x176))[a2_0x135762(0x1b7)](a2_0x135762(0x377))['requiredOption'](a2_0x135762(0x1e9),a2_0x135762(0x171))['option'](a2_0x135762(0x315),a2_0x135762(0x44b))[a2_0x135762(0x24e)](async(_0x5c57ae,_0x21952c,_0x430903)=>{const _0x266a6b=new PSPzServiceUpdateCommand(),_0x7d028a=program['opts'](),_0x27c151=await createTDXInstance(_0x7d028a),_0x4f4e3b=await _0x266a6b['run']({'options':{..._0x7d028a,..._0x430903},'args':_0x21952c?[_0x5c57ae,_0x21952c]:[_0x5c57ae],'tdx':_0x27c151});gracefulExit(_0x4f4e3b);}),psPzServiceCmd[a2_0x135762(0x399)](a2_0x135762(0x2f2))[a2_0x135762(0x1b7)](a2_0x135762(0x2bd))[a2_0x135762(0x24e)](async(_0x388488,_0x781747)=>{const _0x37427c=a2_0x135762,_0x460cc5=new PSPzInitCommand(),_0x150f93=program['opts'](),_0x2c915e=await createTDXInstance(_0x150f93),_0x3ca724=await _0x460cc5[_0x37427c(0x3b6)]({'options':{..._0x150f93,..._0x781747},'args':_0x388488?[_0x388488]:[],'tdx':_0x2c915e});gracefulExit(_0x3ca724);});const psPzServiceTokenCmd=psPzServiceCmd['command'](a2_0x135762(0x40c))[a2_0x135762(0x1b7)](a2_0x135762(0x398));psPzServiceTokenCmd[a2_0x135762(0x399)](a2_0x135762(0x1d5))[a2_0x135762(0x1b7)](a2_0x135762(0x436))[a2_0x135762(0x32b)](a2_0x135762(0x265),a2_0x135762(0x2f1))[a2_0x135762(0x32b)](a2_0x135762(0x315),a2_0x135762(0x162))[a2_0x135762(0x24e)](async(_0x5b4e65,_0x1255c6,_0x2b9141,_0x33e6d3)=>{const _0x4ea741=a2_0x135762,_0x1e2ad9=new PSPzServiceTokenCreateCommand(),_0x452938=program[_0x4ea741(0x41e)](),_0x12dabc=await createTDXInstance(_0x452938),_0xbf38cb=await _0x1e2ad9['run']({'options':{..._0x452938,..._0x33e6d3},'args':_0x2b9141?[_0x5b4e65,_0x1255c6,_0x2b9141]:[_0x5b4e65,_0x1255c6],'tdx':_0x12dabc});gracefulExit(_0xbf38cb);}),psPzServiceTokenCmd[a2_0x135762(0x399)](a2_0x135762(0x1da))['description'](a2_0x135762(0x361))[a2_0x135762(0x24e)](async(_0x1d8b92,_0x465026,_0x1fc64f)=>{const _0x52b4dc=a2_0x135762,_0x29462d=new PSPzServiceTokenDeleteCommand(),_0x5e3bf5=program['opts'](),_0x146dbb=await createTDXInstance(_0x5e3bf5),_0x504df7=await _0x29462d[_0x52b4dc(0x3b6)]({'options':{..._0x5e3bf5,..._0x1fc64f},'args':_0x465026?[_0x1d8b92,_0x465026]:[_0x1d8b92],'tdx':_0x146dbb});gracefulExit(_0x504df7);}),parentCmd[a2_0x135762(0x399)]('create\x20<name>')[a2_0x135762(0x1b7)](a2_0x135762(0x3ef))['requiredOption'](a2_0x135762(0x459),a2_0x135762(0x1a9))[a2_0x135762(0x2da)](a2_0x135762(0x29d),'Master\x20table\x20name')[a2_0x135762(0x32b)](a2_0x135762(0x315),a2_0x135762(0x28e))[a2_0x135762(0x32b)](a2_0x135762(0x1ed),a2_0x135762(0x38b))['option'](a2_0x135762(0x433),a2_0x135762(0x3c2))[a2_0x135762(0x32b)]('--timezone\x20<tz>',a2_0x135762(0x2c5))['option'](a2_0x135762(0x145),a2_0x135762(0x224))['option'](a2_0x135762(0x3a3),a2_0x135762(0x1e6))[a2_0x135762(0x32b)](a2_0x135762(0x174),a2_0x135762(0x1fa))[a2_0x135762(0x32b)](a2_0x135762(0x166),a2_0x135762(0x149))[a2_0x135762(0x32b)](a2_0x135762(0x405),a2_0x135762(0x1c7))['option']('--customer-group-file\x20<file>',a2_0x135762(0x2ab))[a2_0x135762(0x24e)](async(_0xdd31da,_0x23efb2)=>{const _0x47f267=a2_0x135762,_0x17df87=new ParentSegmentCreateCommand(),_0x5a8b12=program[_0x47f267(0x41e)](),_0x222b8f=await createTDXInstance(_0x5a8b12),_0x49cb5f=await _0x17df87[_0x47f267(0x3b6)]({'options':{..._0x5a8b12,..._0x23efb2},'args':[_0xdd31da],'tdx':_0x222b8f});gracefulExit(_0x49cb5f);}),parentCmd[a2_0x135762(0x399)](a2_0x135762(0x40f))[a2_0x135762(0x1b7)](a2_0x135762(0x249))[a2_0x135762(0x32b)](a2_0x135762(0x315),a2_0x135762(0x255))[a2_0x135762(0x32b)](a2_0x135762(0x1ed),a2_0x135762(0x1c5))[a2_0x135762(0x32b)]('--schedule-option\x20<value>',a2_0x135762(0x30c))[a2_0x135762(0x32b)]('--timezone\x20<tz>','Updated\x20timezone')['option']('--add-attributes\x20<json>',a2_0x135762(0x215))[a2_0x135762(0x32b)]('--add-attributes-file\x20<file>','Add\x20attributes\x20from\x20JSON\x20file')[a2_0x135762(0x32b)](a2_0x135762(0x467),a2_0x135762(0x16f))['option'](a2_0x135762(0x196),a2_0x135762(0x165))[a2_0x135762(0x24e)](async(_0x410fac,_0x232a00)=>{const _0x143648=a2_0x135762,_0x10b817=new ParentSegmentUpdateCommand(),_0x140936=program[_0x143648(0x41e)](),_0x5843e6=await createTDXInstance(_0x140936),_0x5388d5=await _0x10b817['run']({'options':{..._0x140936,..._0x232a00},'args':[_0x410fac],'tdx':_0x5843e6});gracefulExit(_0x5388d5);}),folderCmd[a2_0x135762(0x399)]('create\x20<parent_name>\x20<folder_name>')[a2_0x135762(0x1b7)](a2_0x135762(0x334))[a2_0x135762(0x32b)](a2_0x135762(0x315),a2_0x135762(0x2fe))[a2_0x135762(0x32b)](a2_0x135762(0x322),a2_0x135762(0x232))[a2_0x135762(0x24e)](async(_0xec94fe,_0x5f4854,_0x20803a)=>{const _0x1a9982=a2_0x135762,_0xfa9feb=new SegmentFolderCreateCommand(),_0x2c320e=program[_0x1a9982(0x41e)](),_0x4db3f2=await createTDXInstance(_0x2c320e),_0x389489=await _0xfa9feb[_0x1a9982(0x3b6)]({'options':{..._0x2c320e,..._0x20803a},'args':[_0xec94fe,_0x5f4854],'tdx':_0x4db3f2});gracefulExit(_0x389489);}),program['command'](a2_0x135762(0x18a))[a2_0x135762(0x1b7)](a2_0x135762(0x3c3))[a2_0x135762(0x24e)](async(_0x161118,_0x9bfd72)=>{const _0x57160b=a2_0x135762,_0x27e034=new ActivationsCommand(),_0x5a5789=program['opts'](),_0x250e07=await createTDXInstance(_0x5a5789),_0x111ac=await _0x27e034[_0x57160b(0x3b6)]({'options':{..._0x5a5789,..._0x9bfd72},'args':[_0x161118],'tdx':_0x250e07});gracefulExit(_0x111ac);});const workflowCmd=program[a2_0x135762(0x399)](a2_0x135762(0x355))[a2_0x135762(0x158)]('wf')[a2_0x135762(0x1b7)]('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd[a2_0x135762(0x399)](a2_0x135762(0x320))[a2_0x135762(0x1b7)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x412383,_0x5ae262)=>{const _0x49ccde=a2_0x135762,_0x51bbe5=new WorkflowProjectsCommand(),_0x4444d6=program[_0x49ccde(0x41e)](),_0x4db19e=await createTDXInstance(_0x4444d6),_0x2ecc60=await _0x51bbe5[_0x49ccde(0x3b6)]({'options':{..._0x4444d6,..._0x5ae262},'args':_0x412383?[_0x412383]:[],'tdx':_0x4db19e});gracefulExit(_0x2ecc60);};wfProjectCmd[a2_0x135762(0x399)]('list\x20[pattern]')[a2_0x135762(0x1b7)](a2_0x135762(0x382))['action'](wfProjectListAction),workflowCmd[a2_0x135762(0x399)]('projects\x20[pattern]')[a2_0x135762(0x1b7)](a2_0x135762(0x32e))[a2_0x135762(0x24e)](wfProjectListAction);const wfWorkflowListAction=async(_0x2c3667,_0x5ac35b)=>{const _0x40fedf=a2_0x135762,_0x37e2eb=new WorkflowWorkflowsCommand(),_0x17db99=program[_0x40fedf(0x41e)](),_0x46754c=await createTDXInstance(_0x17db99),_0x79a507=await _0x37e2eb[_0x40fedf(0x3b6)]({'options':{..._0x17db99,..._0x5ac35b},'args':_0x2c3667?[_0x2c3667]:[],'tdx':_0x46754c});gracefulExit(_0x79a507);};workflowCmd[a2_0x135762(0x399)](a2_0x135762(0x44c))[a2_0x135762(0x1b7)](a2_0x135762(0x1ac))[a2_0x135762(0x24e)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x135762(0x399)]('session')[a2_0x135762(0x1b7)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x43ab67,_0x31c435)=>{const _0x45a099=a2_0x135762,_0x5cd811=new WorkflowSessionsCommand(),_0xbb0b98=program[_0x45a099(0x41e)](),_0x3e3a1f=await createTDXInstance(_0xbb0b98),_0x3389f2=await _0x5cd811[_0x45a099(0x3b6)]({'options':{..._0xbb0b98,..._0x31c435},'args':_0x43ab67?[_0x43ab67]:[],'tdx':_0x3e3a1f});gracefulExit(_0x3389f2);};wfSessionCmd['command'](a2_0x135762(0x277))['description'](a2_0x135762(0x3fe))['option']('--status\x20<status>',a2_0x135762(0x164))[a2_0x135762(0x32b)](a2_0x135762(0x349),a2_0x135762(0x276))[a2_0x135762(0x32b)](a2_0x135762(0x44a),a2_0x135762(0x38a))[a2_0x135762(0x24e)](wfSessionListAction),workflowCmd[a2_0x135762(0x399)](a2_0x135762(0x2ed))[a2_0x135762(0x1b7)](a2_0x135762(0x2d1))[a2_0x135762(0x32b)](a2_0x135762(0x179),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x135762(0x32b)](a2_0x135762(0x349),a2_0x135762(0x276))['option'](a2_0x135762(0x44a),a2_0x135762(0x38a))[a2_0x135762(0x24e)](wfSessionListAction);const wfAttemptListAction=async(_0x5e7519,_0x495f43)=>{const _0x41472e=a2_0x135762,_0x1985fd=new WorkflowAttemptsCommand(),_0x234319=program[_0x41472e(0x41e)](),_0x20c853=await createTDXInstance(_0x234319),_0x7fae10=await _0x1985fd[_0x41472e(0x3b6)]({'options':{..._0x234319,..._0x495f43},'args':_0x5e7519?[_0x5e7519]:[],'tdx':_0x20c853});gracefulExit(_0x7fae10);},attemptCmd=workflowCmd['command'](a2_0x135762(0x1fb))[a2_0x135762(0x1b7)]('Workflow\x20attempt\x20management')[a2_0x135762(0x1d1)](a2_0x135762(0x194),a2_0x135762(0x43f))[a2_0x135762(0x1d1)](a2_0x135762(0x1dc),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x135762(0x1d1)](a2_0x135762(0x362),a2_0x135762(0x32c))[a2_0x135762(0x32b)]('--include-subtasks',a2_0x135762(0x345))[a2_0x135762(0x32b)](a2_0x135762(0x360),a2_0x135762(0x3a1))[a2_0x135762(0x32b)](a2_0x135762(0x36e),a2_0x135762(0x282))[a2_0x135762(0x32b)](a2_0x135762(0x272),a2_0x135762(0x237))[a2_0x135762(0x32b)](a2_0x135762(0x29f),a2_0x135762(0x3ae))[a2_0x135762(0x32b)](a2_0x135762(0x1e5),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x135762(0x24e)](async(_0x38cfc5,_0x46800d,_0x2b4a51,_0x16e36b)=>{const _0xa480f0=a2_0x135762;if(_0x38cfc5===_0xa480f0(0x1bf)){await wfAttemptListAction(_0x46800d,_0x16e36b);return;}if(!_0x38cfc5){attemptCmd[_0xa480f0(0x1df)]();return;}const _0x1598c5=program['opts'](),_0x251e2d=await createTDXInstance(_0x1598c5);let _0x2a16a4=0x0;if(!_0x46800d){const _0x47425b=new WorkflowAttemptCommand();_0x2a16a4=await _0x47425b['run']({'options':{..._0x1598c5,..._0x16e36b},'args':[_0x38cfc5],'tdx':_0x251e2d});}else{if(_0x46800d===_0xa480f0(0x1f6)){const _0x897a50=new WorkflowLogsCommand();_0x2a16a4=await _0x897a50[_0xa480f0(0x3b6)]({'options':{..._0x1598c5,..._0x16e36b},'args':_0x2b4a51?[_0x38cfc5,_0x2b4a51]:[_0x38cfc5],'tdx':_0x251e2d});}else{if(_0x46800d==='tasks'){const _0x499a36=new WorkflowTasksCommand();_0x2a16a4=await _0x499a36[_0xa480f0(0x3b6)]({'options':{..._0x1598c5,..._0x16e36b},'args':[_0x38cfc5],'tdx':_0x251e2d});}else{if(_0x46800d===_0xa480f0(0x463)){const _0x17b925=new WorkflowKillCommand();_0x2a16a4=await _0x17b925[_0xa480f0(0x3b6)]({'options':{..._0x1598c5,..._0x16e36b},'args':[_0x38cfc5],'tdx':_0x251e2d});}else{if(_0x46800d==='retry'){const _0x3822d8=new WorkflowRetryCommand();_0x2a16a4=await _0x3822d8[_0xa480f0(0x3b6)]({'options':{..._0x1598c5,..._0x16e36b},'args':[_0xa480f0(0x439)+_0x38cfc5],'tdx':_0x251e2d});}else console[_0xa480f0(0x3af)](_0xa480f0(0x428)+_0x46800d),console[_0xa480f0(0x3af)](_0xa480f0(0x430)),_0x2a16a4=0x1;}}}}gracefulExit(_0x2a16a4);});attemptCmd[a2_0x135762(0x399)]('list\x20[project]')[a2_0x135762(0x1b7)](a2_0x135762(0x258))['option'](a2_0x135762(0x1e5),a2_0x135762(0x1a2))['action'](wfAttemptListAction),workflowCmd[a2_0x135762(0x399)]('attempts\x20[project]')[a2_0x135762(0x1b7)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x135762(0x32b)](a2_0x135762(0x1e5),a2_0x135762(0x1a2))['action'](wfAttemptListAction),workflowCmd[a2_0x135762(0x399)]('timeline\x20[project.workflow]')[a2_0x135762(0x1b7)](a2_0x135762(0x3cd))[a2_0x135762(0x32b)](a2_0x135762(0x2e8),a2_0x135762(0x2f9))[a2_0x135762(0x32b)](a2_0x135762(0x23c),a2_0x135762(0x1ef))[a2_0x135762(0x32b)](a2_0x135762(0x31d),a2_0x135762(0x169))[a2_0x135762(0x24e)](async(_0x2d9fd2,_0x4e9178)=>{const _0x2e2cc3=a2_0x135762,_0x99b7bf=new WorkflowTimelineCommand(),_0x117044=program[_0x2e2cc3(0x41e)](),_0x55a1a5=await createTDXInstance(_0x117044),_0x554eba=await _0x99b7bf[_0x2e2cc3(0x3b6)]({'options':{..._0x117044,..._0x4e9178},'args':_0x2d9fd2?[_0x2d9fd2]:[],'tdx':_0x55a1a5});gracefulExit(_0x554eba);}),workflowCmd[a2_0x135762(0x399)]('retry\x20<session-id>')['description'](a2_0x135762(0x143))['option'](a2_0x135762(0x216),a2_0x135762(0x34e))['option'](a2_0x135762(0x272),a2_0x135762(0x3cb))[a2_0x135762(0x24e)](async(_0x4c4fae,_0x4a05ec)=>{const _0x18f21c=a2_0x135762,_0x237aa4=new WorkflowRetryCommand(),_0x2605cb=program['opts'](),_0x1ab3c8=await createTDXInstance(_0x2605cb),_0x28407d=await _0x237aa4[_0x18f21c(0x3b6)]({'options':{..._0x2605cb,..._0x4a05ec},'args':[_0x4c4fae],'tdx':_0x1ab3c8});gracefulExit(_0x28407d);}),workflowCmd['command']('run\x20[workflow]')[a2_0x135762(0x1b7)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x135762(0x32b)](a2_0x135762(0x17e),'Workflow\x20parameter\x20(repeatable)',(_0x3594a2,_0x21324a=[])=>[..._0x21324a,_0x3594a2],[])['option'](a2_0x135762(0x233),a2_0x135762(0x223))[a2_0x135762(0x24e)](async(_0x17d0ba,_0x33d661)=>{const _0x5cf940=a2_0x135762,_0x26599a=new WorkflowRunCommand(),_0x2e2cad=program[_0x5cf940(0x41e)](),_0x3b49a5=await createTDXInstance(_0x2e2cad),_0x235b26=await _0x26599a[_0x5cf940(0x3b6)]({'options':{..._0x2e2cad,..._0x33d661},'args':_0x17d0ba?[_0x17d0ba]:[],'tdx':_0x3b49a5});gracefulExit(_0x235b26);}),workflowCmd[a2_0x135762(0x399)]('download\x20<project-name>\x20[output-dir]')[a2_0x135762(0x1b7)](a2_0x135762(0x243))[a2_0x135762(0x32b)](a2_0x135762(0x46f),a2_0x135762(0x239))[a2_0x135762(0x24e)](async(_0x2bbca4,_0x4a26e6,_0x275259)=>{const _0x5c4459=new WorkflowDownloadCommand(),_0x28bb28=program['opts'](),_0x448f33=await createTDXInstance(_0x28bb28),_0x25e960=await _0x5c4459['run']({'options':{..._0x28bb28,..._0x275259},'args':[_0x2bbca4,_0x4a26e6||'.'],'tdx':_0x448f33});gracefulExit(_0x25e960);}),workflowCmd[a2_0x135762(0x399)](a2_0x135762(0x3e8))['description'](a2_0x135762(0x30f))[a2_0x135762(0x32b)](a2_0x135762(0x46f),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x135762(0x32b)]('--dry-run',a2_0x135762(0x38c))[a2_0x135762(0x24e)](async(_0x129648,_0x21c726,_0x48a085)=>{const _0x815099=a2_0x135762,_0x204d2a=new WorkflowPullCommand(),_0x2594fe=program[_0x815099(0x41e)](),_0x40a2e7=await createTDXInstance(_0x2594fe),_0x11bbb1=await _0x204d2a['run']({'options':{..._0x2594fe,..._0x48a085},'args':_0x21c726?[_0x129648,_0x21c726]:[_0x129648],'tdx':_0x40a2e7});gracefulExit(_0x11bbb1);}),workflowCmd['command'](a2_0x135762(0x400))['description']('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')[a2_0x135762(0x32b)](a2_0x135762(0x46f),a2_0x135762(0x384))['option'](a2_0x135762(0x2de),a2_0x135762(0x217))[a2_0x135762(0x32b)](a2_0x135762(0x160),a2_0x135762(0x17a))['action'](async(_0x375435,_0x28571f)=>{const _0x409ff1=a2_0x135762,_0x89e841=new WorkflowPushCommand(),_0xeb13b4=program[_0x409ff1(0x41e)](),_0x3594ff=await createTDXInstance(_0xeb13b4),_0x483e29=await _0x89e841[_0x409ff1(0x3b6)]({'options':{..._0xeb13b4,..._0x28571f},'args':_0x375435?[_0x375435]:[],'tdx':_0x3594ff});gracefulExit(_0x483e29);}),workflowCmd[a2_0x135762(0x399)](a2_0x135762(0x1e3))['description'](a2_0x135762(0x1c3))[a2_0x135762(0x32b)](a2_0x135762(0x1e9),a2_0x135762(0x403))['option']('--revision\x20<revision>',a2_0x135762(0x200))['option'](a2_0x135762(0x160),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x135762(0x24e)](async(_0x290f83,_0x14c28c)=>{const _0x4128dc=a2_0x135762,_0xac5eeb=new WorkflowUploadCommand(),_0x422556=program['opts'](),_0x5e38c5=await createTDXInstance(_0x422556),_0x5e89dd=await _0xac5eeb[_0x4128dc(0x3b6)]({'options':{..._0x422556,..._0x14c28c},'args':_0x290f83?[_0x290f83]:[],'tdx':_0x5e38c5});gracefulExit(_0x5e89dd);}),workflowCmd[a2_0x135762(0x399)]('clone\x20[source-dir]')[a2_0x135762(0x1b7)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')['option'](a2_0x135762(0x1e9),a2_0x135762(0x1a1))['option']('--revision\x20<revision>',a2_0x135762(0x384))[a2_0x135762(0x32b)](a2_0x135762(0x2de),'Preview\x20without\x20creating\x20the\x20project')[a2_0x135762(0x32b)](a2_0x135762(0x160),a2_0x135762(0x17a))[a2_0x135762(0x24e)](async(_0xa92ae,_0x1eb23b)=>{const _0x537e9a=a2_0x135762,_0x4cfd5a=new WorkflowCloneCommand(),_0x23ab39=program['opts'](),_0x5aba39=await createTDXInstance(_0x23ab39),_0x50a969=await _0x4cfd5a[_0x537e9a(0x3b6)]({'options':{..._0x23ab39,..._0x1eb23b},'args':_0xa92ae?[_0xa92ae]:[],'tdx':_0x5aba39});gracefulExit(_0x50a969);}),workflowCmd[a2_0x135762(0x399)](a2_0x135762(0x397))[a2_0x135762(0x1b7)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')['action'](async(_0xf10650,_0x71ee2c)=>{const _0x2e4c20=a2_0x135762,_0x17930e=new WorkflowDeleteCommand(),_0xd06bae=program['opts'](),_0x1067cc=await createTDXInstance(_0xd06bae),_0x5ed878=await _0x17930e[_0x2e4c20(0x3b6)]({'options':{..._0xd06bae,..._0x71ee2c},'args':[_0xf10650],'tdx':_0x1067cc});gracefulExit(_0x5ed878);}),workflowCmd['command']('use\x20[project]')['description'](a2_0x135762(0x43e))[a2_0x135762(0x32b)](a2_0x135762(0x419),a2_0x135762(0x2f5))[a2_0x135762(0x24e)](async(_0x575f0c,_0x542928)=>{const _0x100317=a2_0x135762,_0x22e485=new WorkflowUseCommand(),_0x5ea8cc=program[_0x100317(0x41e)](),_0x4c2a41=await createTDXInstance(_0x5ea8cc),_0x4c3942=await _0x22e485[_0x100317(0x3b6)]({'options':{..._0x5ea8cc,..._0x542928},'args':_0x575f0c?[_0x575f0c]:[],'tdx':_0x4c2a41});gracefulExit(_0x4c3942);});const wfSecretsCmd=workflowCmd['command'](a2_0x135762(0x188))['description'](a2_0x135762(0x460));wfSecretsCmd[a2_0x135762(0x399)]('list\x20[project]')[a2_0x135762(0x1b7)](a2_0x135762(0x456))[a2_0x135762(0x24e)](async(_0x13d4bb,_0x1d61ce)=>{const _0x591e39=a2_0x135762,_0x4870f0=new WorkflowSecretsListCommand(),_0x5676da=program[_0x591e39(0x41e)](),_0x4bf271=await createTDXInstance(_0x5676da),_0x3c6278=await _0x4870f0['run']({'options':{..._0x5676da,..._0x1d61ce},'args':_0x13d4bb?[_0x13d4bb]:[],'tdx':_0x4bf271});gracefulExit(_0x3c6278);}),wfSecretsCmd[a2_0x135762(0x399)](a2_0x135762(0x46b))['description'](a2_0x135762(0x317))['action'](async(_0xe51f96,_0x2c2377)=>{const _0x5f1b22=a2_0x135762,_0xa60717=new WorkflowSecretsSetCommand(),_0xc200c7=program[_0x5f1b22(0x41e)](),_0xfe3d2=await createTDXInstance(_0xc200c7),_0x5905d6=await _0xa60717[_0x5f1b22(0x3b6)]({'options':{..._0xc200c7,..._0x2c2377},'args':_0xe51f96,'tdx':_0xfe3d2});gracefulExit(_0x5905d6);}),wfSecretsCmd[a2_0x135762(0x399)](a2_0x135762(0x222))['description'](a2_0x135762(0x3dc))['action'](async(_0x99b7cc,_0x29ee88)=>{const _0x514e57=a2_0x135762,_0x1e651d=new WorkflowSecretsDeleteCommand(),_0x5a51f2=program[_0x514e57(0x41e)](),_0x5967a4=await createTDXInstance(_0x5a51f2),_0x36103e=await _0x1e651d['run']({'options':{..._0x5a51f2,..._0x29ee88},'args':_0x99b7cc,'tdx':_0x5967a4});gracefulExit(_0x36103e);});const wfScheduleCmd=workflowCmd[a2_0x135762(0x399)]('schedule')['description'](a2_0x135762(0x356));wfScheduleCmd[a2_0x135762(0x399)](a2_0x135762(0x306))[a2_0x135762(0x1b7)](a2_0x135762(0x2cd))[a2_0x135762(0x24e)](async(_0x368af1,_0x345531)=>{const _0x50b69f=a2_0x135762,_0x46cce6=new WorkflowScheduleEnableCommand(),_0x329b67=program[_0x50b69f(0x41e)](),_0x112a03=await createTDXInstance(_0x329b67),_0x5dacf0=await _0x46cce6['run']({'options':{..._0x329b67,..._0x345531},'args':[_0x368af1],'tdx':_0x112a03});gracefulExit(_0x5dacf0);}),wfScheduleCmd[a2_0x135762(0x399)](a2_0x135762(0x335))[a2_0x135762(0x1b7)](a2_0x135762(0x34f))[a2_0x135762(0x24e)](async(_0x2f92a4,_0x1c7dfc)=>{const _0x4e0f5e=a2_0x135762,_0x125d45=new WorkflowScheduleDisableCommand(),_0x3eb8f6=program[_0x4e0f5e(0x41e)](),_0x2502b1=await createTDXInstance(_0x3eb8f6),_0x22bde8=await _0x125d45[_0x4e0f5e(0x3b6)]({'options':{..._0x3eb8f6,..._0x1c7dfc},'args':[_0x2f92a4],'tdx':_0x2502b1});gracefulExit(_0x22bde8);}),workflowCmd[a2_0x135762(0x399)](a2_0x135762(0x432))[a2_0x135762(0x1b7)](a2_0x135762(0x3d6))[a2_0x135762(0x24e)](async _0x64d338=>{const _0x1c5547=a2_0x135762,_0x51880c=new WorkflowSchedulesCommand(),_0x3c5d04=program[_0x1c5547(0x41e)](),_0x2356e1=await createTDXInstance(_0x3c5d04),_0x3c704e=await _0x51880c[_0x1c5547(0x3b6)]({'options':{..._0x3c5d04,..._0x64d338},'args':[],'tdx':_0x2356e1});gracefulExit(_0x3c704e);});const jobCmd=program[a2_0x135762(0x399)]('job')[a2_0x135762(0x1b7)](a2_0x135762(0x44d)),jobListAction=async _0x66acfa=>{const _0x5b0dfb=new JobListCommand(),_0x3245e6=program['opts'](),_0x1d8fdc=await createTDXInstance(_0x3245e6),_0x40b386=await _0x5b0dfb['run']({'options':{..._0x3245e6,..._0x66acfa},'args':[],'tdx':_0x1d8fdc});gracefulExit(_0x40b386);};jobCmd['command'](a2_0x135762(0x1bf))[a2_0x135762(0x1b7)]('List\x20jobs')[a2_0x135762(0x32b)](a2_0x135762(0x179),a2_0x135762(0x2be))[a2_0x135762(0x24e)](jobListAction),program[a2_0x135762(0x399)]('jobs',{'hidden':!![]})[a2_0x135762(0x1b7)](a2_0x135762(0x37b))[a2_0x135762(0x32b)](a2_0x135762(0x179),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x135762(0x24e)](jobListAction),jobCmd[a2_0x135762(0x399)](a2_0x135762(0x3ad))[a2_0x135762(0x1b7)](a2_0x135762(0x178))['action'](async(_0x38420e,_0x1e0215)=>{const _0x27060d=a2_0x135762,_0x489ef2=new JobShowCommand(),_0x3053cf=program[_0x27060d(0x41e)](),_0x5e75e8=await createTDXInstance(_0x3053cf),_0x4f0c69=await _0x489ef2[_0x27060d(0x3b6)]({'options':{..._0x3053cf,..._0x1e0215},'args':[_0x38420e],'tdx':_0x5e75e8});gracefulExit(_0x4f0c69);}),jobCmd[a2_0x135762(0x399)](a2_0x135762(0x369))[a2_0x135762(0x1b7)](a2_0x135762(0x21a))[a2_0x135762(0x24e)](async(_0x14d1d8,_0x187d3b)=>{const _0x668d1b=a2_0x135762,_0x4ffceb=new JobKillCommand(),_0x3feaff=program[_0x668d1b(0x41e)](),_0x266b47=await createTDXInstance(_0x3feaff),_0x14b2a5=await _0x4ffceb[_0x668d1b(0x3b6)]({'options':{..._0x3feaff,..._0x187d3b},'args':[_0x14d1d8],'tdx':_0x266b47});gracefulExit(_0x14b2a5);}),jobCmd[a2_0x135762(0x399)](a2_0x135762(0x3a2))[a2_0x135762(0x1b7)](a2_0x135762(0x357))[a2_0x135762(0x32b)](a2_0x135762(0x3f9),a2_0x135762(0x1ab),'trino')['option'](a2_0x135762(0x1a8),'Read\x20query\x20from\x20file')[a2_0x135762(0x32b)](a2_0x135762(0x16e),'Database\x20name\x20(default:\x20information_schema)',a2_0x135762(0x471))[a2_0x135762(0x32b)](a2_0x135762(0x35a),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x135762(0x24e)](async(_0x229063,_0x38e148)=>{const _0x418d97=a2_0x135762,_0x4f5958=new JobSubmitCommand(),_0x210f08=program[_0x418d97(0x41e)](),_0x229179=await createTDXInstance(_0x210f08),_0x2825ad=await _0x4f5958[_0x418d97(0x3b6)]({'options':{..._0x210f08,..._0x38e148},'args':_0x229063?[_0x229063]:[],'tdx':_0x229179});gracefulExit(_0x2825ad);}),jobCmd[a2_0x135762(0x399)]('result\x20<job-id>')[a2_0x135762(0x1b7)]('Get\x20job\x20results')[a2_0x135762(0x24e)](async(_0x4ce5d3,_0x3a2e89)=>{const _0x138624=a2_0x135762,_0x3c35b6=new JobResultCommand(),_0x48e65b=program[_0x138624(0x41e)](),_0x5a9bea=await createTDXInstance(_0x48e65b),_0x5e8b09=await _0x3c35b6[_0x138624(0x3b6)]({'options':{..._0x48e65b,..._0x3a2e89},'args':[_0x4ce5d3],'tdx':_0x5a9bea});gracefulExit(_0x5e8b09);});const scheduleCmd=jobCmd[a2_0x135762(0x399)](a2_0x135762(0x260))[a2_0x135762(0x1b7)](a2_0x135762(0x469));scheduleCmd[a2_0x135762(0x399)](a2_0x135762(0x330))[a2_0x135762(0x1b7)](a2_0x135762(0x2e6))['action'](async(_0x81577d,_0x14037f)=>{const _0x3cfd73=a2_0x135762,_0x2e1975=new ScheduleListCommand(),_0x2d02ae=program[_0x3cfd73(0x41e)](),_0x3e3c52=await createTDXInstance(_0x2d02ae),_0x16b65c=await _0x2e1975[_0x3cfd73(0x3b6)]({'options':{..._0x2d02ae,..._0x14037f},'args':_0x81577d?[_0x81577d]:[],'tdx':_0x3e3c52});gracefulExit(_0x16b65c);}),scheduleCmd['command'](a2_0x135762(0x450))[a2_0x135762(0x1b7)](a2_0x135762(0x184))['action'](async(_0xfbaed7,_0x10e0c2)=>{const _0x1ff4f8=new ScheduleShowCommand(),_0x170e07=program['opts'](),_0x136225=await createTDXInstance(_0x170e07),_0x27c5af=await _0x1ff4f8['run']({'options':{..._0x170e07,..._0x10e0c2},'args':[_0xfbaed7],'tdx':_0x136225});gracefulExit(_0x27c5af);}),scheduleCmd['command'](a2_0x135762(0x2ac))[a2_0x135762(0x1b7)]('Create\x20a\x20scheduled\x20query')[a2_0x135762(0x32b)](a2_0x135762(0x3ff),a2_0x135762(0x18f))[a2_0x135762(0x32b)](a2_0x135762(0x304),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x135762(0x2da)]('-f,\x20--file\x20<path>',a2_0x135762(0x26e))['option']('--type\x20<type>',a2_0x135762(0x230),'trino')[a2_0x135762(0x32b)](a2_0x135762(0x2e1),a2_0x135762(0x207))[a2_0x135762(0x32b)](a2_0x135762(0x1b6),a2_0x135762(0x33f))[a2_0x135762(0x32b)](a2_0x135762(0x231),'Delay\x20in\x20seconds\x20before\x20execution')['option']('--priority\x20<-2~2>',a2_0x135762(0x1c6))['option'](a2_0x135762(0x14d),a2_0x135762(0x409))['option'](a2_0x135762(0x3b3),a2_0x135762(0x1d2))[a2_0x135762(0x32b)]('--result\x20<url>','Result\x20output\x20destination\x20URL')[a2_0x135762(0x24e)](async(_0x345466,_0x14bbfc)=>{const _0x33de6d=a2_0x135762,_0x2b5d67=new ScheduleCreateCommand(),_0x573bdc=program[_0x33de6d(0x41e)](),_0x30be1a=await createTDXInstance(_0x573bdc);_0x14bbfc['in']&&(_0x14bbfc['database']=_0x14bbfc['in']);const _0x470e3f=await _0x2b5d67[_0x33de6d(0x3b6)]({'options':{..._0x573bdc,..._0x14bbfc},'args':[_0x345466],'tdx':_0x30be1a});gracefulExit(_0x470e3f);}),scheduleCmd[a2_0x135762(0x399)]('update\x20<name>')[a2_0x135762(0x1b7)](a2_0x135762(0x1db))['option'](a2_0x135762(0x3ff),a2_0x135762(0x1c0))[a2_0x135762(0x32b)](a2_0x135762(0x304),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x135762(0x32b)](a2_0x135762(0x1a8),a2_0x135762(0x26e))[a2_0x135762(0x32b)](a2_0x135762(0x43a),a2_0x135762(0x230))[a2_0x135762(0x32b)](a2_0x135762(0x2e1),a2_0x135762(0x207))[a2_0x135762(0x32b)](a2_0x135762(0x1b6),a2_0x135762(0x3bd))['option'](a2_0x135762(0x231),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x135762(0x32b)](a2_0x135762(0x31a),a2_0x135762(0x1c6))[a2_0x135762(0x32b)]('--retry-limit\x20<0~32>',a2_0x135762(0x409))['option']('--engine-version\x20<version>',a2_0x135762(0x1d2))[a2_0x135762(0x32b)](a2_0x135762(0x20c),a2_0x135762(0x30d))[a2_0x135762(0x24e)](async(_0x351db7,_0x4d3f5a)=>{const _0x3f1a6a=a2_0x135762,_0x1e54bc=new ScheduleUpdateCommand(),_0x291e58=program[_0x3f1a6a(0x41e)](),_0x259072=await createTDXInstance(_0x291e58);_0x4d3f5a['in']&&(_0x4d3f5a[_0x3f1a6a(0x1a0)]=_0x4d3f5a['in']);const _0x3972b3=await _0x1e54bc['run']({'options':{..._0x291e58,..._0x4d3f5a},'args':[_0x351db7],'tdx':_0x259072});gracefulExit(_0x3972b3);}),scheduleCmd[a2_0x135762(0x399)](a2_0x135762(0x37c))[a2_0x135762(0x1b7)](a2_0x135762(0x365))[a2_0x135762(0x24e)](async(_0x53c66c,_0x51f19f)=>{const _0x124153=a2_0x135762,_0x53b2ac=new ScheduleDeleteCommand(),_0x25248b=program[_0x124153(0x41e)](),_0x1b6bab=await createTDXInstance(_0x25248b),_0xebc8c=await _0x53b2ac[_0x124153(0x3b6)]({'options':{..._0x25248b,..._0x51f19f},'args':[_0x53c66c],'tdx':_0x1b6bab});gracefulExit(_0xebc8c);}),scheduleCmd['command'](a2_0x135762(0x3d9))['description'](a2_0x135762(0x3be))[a2_0x135762(0x32b)](a2_0x135762(0x323),a2_0x135762(0x308))[a2_0x135762(0x32b)](a2_0x135762(0x2c9),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x135762(0x24e)](async(_0x573bf9,_0x16468d)=>{const _0x10f7e7=a2_0x135762,_0x217c66=new ScheduleRunCommand(),_0x46732f=program[_0x10f7e7(0x41e)](),_0x38f1cf=await createTDXInstance(_0x46732f),_0x1558f4=await _0x217c66['run']({'options':{..._0x46732f,..._0x16468d},'args':[_0x573bf9],'tdx':_0x38f1cf});gracefulExit(_0x1558f4);}),scheduleCmd[a2_0x135762(0x399)](a2_0x135762(0x2e7))['description'](a2_0x135762(0x1af))[a2_0x135762(0x32b)]('--from\x20<n>',a2_0x135762(0x19d))['option']('--to\x20<n>',a2_0x135762(0x1b5))[a2_0x135762(0x24e)](async(_0x31bb5e,_0x1fe283)=>{const _0x305cfd=a2_0x135762,_0x447537=new ScheduleHistoryCommand(),_0x3bd7a3=program[_0x305cfd(0x41e)](),_0x4cca1a=await createTDXInstance(_0x3bd7a3),_0x1e8446=await _0x447537[_0x305cfd(0x3b6)]({'options':{..._0x3bd7a3,..._0x1fe283},'args':[_0x31bb5e],'tdx':_0x4cca1a});gracefulExit(_0x1e8446);});const llmCmd=program[a2_0x135762(0x399)](a2_0x135762(0x183))[a2_0x135762(0x1b7)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x135762(0x399)]('use\x20<project-name>')[a2_0x135762(0x1b7)](a2_0x135762(0x27f))[a2_0x135762(0x24e)](async(_0x4fd503,_0x39c113)=>{const _0x3fb6d2=new LLMUseCommand(),_0x24fada=program['opts'](),_0x5aaee1=await createTDXInstance(_0x24fada),_0x38b63a=await _0x3fb6d2['run']({'options':{..._0x24fada,..._0x39c113},'args':[_0x4fd503],'tdx':_0x5aaee1});gracefulExit(_0x38b63a);}),llmCmd[a2_0x135762(0x399)](a2_0x135762(0x1ad))[a2_0x135762(0x1b7)](a2_0x135762(0x3a0))[a2_0x135762(0x24e)](async _0x4f0129=>{const _0x3abae1=a2_0x135762,_0x4efaa9=new LLMModelsCommand(),_0x2d000d=program[_0x3abae1(0x41e)](),_0x313b04=await createTDXInstance(_0x2d000d),_0x1ffb70=await _0x4efaa9[_0x3abae1(0x3b6)]({'options':{..._0x2d000d,..._0x4f0129},'args':[],'tdx':_0x313b04});gracefulExit(_0x1ffb70);});const projectCmd=llmCmd[a2_0x135762(0x399)](a2_0x135762(0x320))[a2_0x135762(0x1b7)](a2_0x135762(0x17c)),llmProjectListAction=async(_0x1bc72d,_0x5a3dbc)=>{const _0x595fc7=a2_0x135762,_0x3cf101=new LLMProjectsCommand(),_0x11e84b=program[_0x595fc7(0x41e)](),_0x5a30ac=await createTDXInstance(_0x11e84b),_0x1c3d85=await _0x3cf101['run']({'options':{..._0x11e84b,..._0x5a3dbc},'args':_0x1bc72d?[_0x1bc72d]:[],'tdx':_0x5a30ac});gracefulExit(_0x1c3d85);};projectCmd[a2_0x135762(0x399)]('list\x20[pattern]')['description']('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')['action'](llmProjectListAction),llmCmd[a2_0x135762(0x399)](a2_0x135762(0x16c))['description']('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](llmProjectListAction),projectCmd[a2_0x135762(0x399)](a2_0x135762(0x2ac))[a2_0x135762(0x1b7)]('Create\x20a\x20new\x20LLM\x20project')['option'](a2_0x135762(0x315),a2_0x135762(0x2e5))[a2_0x135762(0x24e)](async(_0x1dddf5,_0x4e5f95)=>{const _0x2bde55=a2_0x135762,_0x124775=new LLMProjectCreateCommand(),_0x5e0d7c=program['opts'](),_0x2be24b=await createTDXInstance(_0x5e0d7c),_0x918ef1=await _0x124775[_0x2bde55(0x3b6)]({'options':{..._0x5e0d7c,..._0x4e5f95},'args':[_0x1dddf5],'tdx':_0x2be24b});gracefulExit(_0x918ef1);}),projectCmd[a2_0x135762(0x399)](a2_0x135762(0x37c))['description'](a2_0x135762(0x1ce))['action'](async(_0x3faf6d,_0x40cb7b)=>{const _0x2c2fd6=a2_0x135762,_0xd1a3ef=new LLMProjectDeleteCommand(),_0x49debd=program[_0x2c2fd6(0x41e)](),_0x17aad9=await createTDXInstance(_0x49debd),_0x26edb6=await _0xd1a3ef[_0x2c2fd6(0x3b6)]({'options':{..._0x49debd,..._0x40cb7b},'args':[_0x3faf6d],'tdx':_0x17aad9});gracefulExit(_0x26edb6);}),projectCmd['command']('backup\x20<name>')['description'](a2_0x135762(0x3de))['option'](a2_0x135762(0x288),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x135762(0x32b)](a2_0x135762(0x2de),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x135762(0x24e)](async(_0x55b2b0,_0x4b0f65)=>{const _0x2dd898=a2_0x135762,_0x441a7f=new LLMProjectBackupCommand(),_0x32832a=program[_0x2dd898(0x41e)](),_0x2e6631=await createTDXInstance(_0x32832a),_0x3120a4=await _0x441a7f['run']({'options':{..._0x32832a,..._0x4b0f65},'args':[_0x55b2b0],'tdx':_0x2e6631});gracefulExit(_0x3120a4);}),projectCmd['command'](a2_0x135762(0x1de))['description'](a2_0x135762(0x140))['option']('--name\x20<new-name>',a2_0x135762(0x445))['option'](a2_0x135762(0x2de),a2_0x135762(0x332))[a2_0x135762(0x24e)](async(_0x115b34,_0x451b70)=>{const _0x332e6a=a2_0x135762,_0x27ee38=new LLMProjectRestoreCommand(),_0x203f0b=program[_0x332e6a(0x41e)](),_0x8bdc6d=await createTDXInstance(_0x203f0b),_0x2ef325=await _0x27ee38['run']({'options':{..._0x203f0b,..._0x451b70},'args':[_0x115b34],'tdx':_0x8bdc6d});gracefulExit(_0x2ef325);});const llmAgentListAction=async(_0x2efada,_0x134d05)=>{const _0x4dfd9d=a2_0x135762,_0x22794f=new LLMAgentsCommand(),_0x1e7319=program[_0x4dfd9d(0x41e)](),_0x232354=await createTDXInstance(_0x1e7319),_0x537191=await _0x22794f['run']({'options':{..._0x1e7319,..._0x134d05},'args':_0x2efada?[_0x2efada]:[],'tdx':_0x232354});gracefulExit(_0x537191);};llmCmd[a2_0x135762(0x399)]('agents\x20[pattern]')[a2_0x135762(0x1b7)](a2_0x135762(0x2eb))['action'](llmAgentListAction),program['command'](a2_0x135762(0x28c))[a2_0x135762(0x1b7)](a2_0x135762(0x2eb))['action'](llmAgentListAction),llmCmd[a2_0x135762(0x399)](a2_0x135762(0x389))[a2_0x135762(0x1b7)](a2_0x135762(0x26f))[a2_0x135762(0x32b)]('--last',a2_0x135762(0x177))[a2_0x135762(0x24e)](async(_0x2d56b5,_0x32a1ed)=>{const _0x231b15=a2_0x135762,_0x15aa6f=new LLMHistoryCommand(),_0x16e1d5=program['opts'](),_0x2f6ac3=await createTDXInstance(_0x16e1d5),_0x320e0f=await _0x15aa6f[_0x231b15(0x3b6)]({'options':{..._0x16e1d5,..._0x32a1ed},'args':_0x2d56b5?[_0x2d56b5]:[],'tdx':_0x2f6ac3});gracefulExit(_0x320e0f);});isExperimentalAvailable()&&llmCmd['command']('log\x20<chat-id>')['description'](a2_0x135762(0x280))['action'](async(_0x22c28d,_0x5815fe)=>{const _0x4a2aac=a2_0x135762,_0x25eab6=new LLMLogCommand(),_0x2c3c99=program[_0x4a2aac(0x41e)](),_0x28fe0b=await createTDXInstance(_0x2c3c99),_0x543b26=await _0x25eab6['run']({'options':{..._0x2c3c99,..._0x5815fe},'args':[_0x22c28d],'tdx':_0x28fe0b});gracefulExit(_0x543b26);});program['command'](a2_0x135762(0x37a))[a2_0x135762(0x303)](a2_0x135762(0x3ee))['description'](a2_0x135762(0x25c))[a2_0x135762(0x32b)](a2_0x135762(0x2ad),a2_0x135762(0x3e0))[a2_0x135762(0x32b)](a2_0x135762(0x43c),a2_0x135762(0x19e))[a2_0x135762(0x32b)]('--no-proxy','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')['allowUnknownOption']()[a2_0x135762(0x142)](!![])[a2_0x135762(0x1cd)](a2_0x135762(0x435),a2_0x135762(0x374))[a2_0x135762(0x24e)](async(_0x13fa5b,_0x30695b)=>{const _0x3afefc=a2_0x135762,_0x218177=program[_0x3afefc(0x41e)](),_0x22dca3=Array[_0x3afefc(0x407)](_0x13fa5b)?_0x13fa5b:[];if(_0x22dca3[0x0]===_0x3afefc(0x3cc)){const _0x55aa9f=new ClaudeStatuslineCommand(),_0x4ab9d2=await _0x55aa9f['run']({'options':{..._0x218177,..._0x30695b},'args':_0x22dca3['slice'](0x1),'tdx':null});gracefulExit(_0x4ab9d2);}if(_0x22dca3[0x0]===_0x3afefc(0x303)){const _0x35be1d=new ClaudeUsageCommand(),_0x182134=await _0x35be1d[_0x3afefc(0x3b6)]({'options':{..._0x218177,..._0x30695b},'args':_0x22dca3[_0x3afefc(0x189)](0x1),'tdx':null});gracefulExit(_0x182134);}const _0x48b5f9=new ClaudeCommand(),_0xe9f4ba=await createTDXInstance(_0x218177),_0x33d154=await _0x48b5f9[_0x3afefc(0x3b6)]({'options':{..._0x218177,..._0x30695b},'args':_0x22dca3,'tdx':_0xe9f4ba});gracefulExit(_0x33d154);}),program[a2_0x135762(0x399)](a2_0x135762(0x1f8))[a2_0x135762(0x1b7)](a2_0x135762(0x210))[a2_0x135762(0x32b)](a2_0x135762(0x419),a2_0x135762(0x36a))[a2_0x135762(0x32b)](a2_0x135762(0x262),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x135762(0x24e)](async(_0x448b15,_0x156ad7,_0x51a85e)=>{const _0x32dcde=a2_0x135762,_0x39d274=new UseCommand(),_0x48d830=program[_0x32dcde(0x41e)](),_0x522c3c=[];if(_0x448b15)_0x522c3c[_0x32dcde(0x344)](_0x448b15);if(_0x156ad7)_0x522c3c['push'](_0x156ad7);const _0x43f4bc=_0x448b15==='engage_workspace',_0x301d0f=_0x43f4bc?await createTDXInstance(_0x48d830):null,_0x444978=await _0x39d274['run']({'options':{..._0x48d830,..._0x51a85e},'args':_0x522c3c,'tdx':_0x301d0f});gracefulExit(_0x444978);}),program[a2_0x135762(0x399)](a2_0x135762(0x240))[a2_0x135762(0x1b7)](a2_0x135762(0x375))['action'](async _0x5a8bdd=>{const _0x379494=a2_0x135762,_0x1f8926=new StatusCommand(),_0x563be1=program['opts'](),_0x33009b=await createTDXInstance(_0x563be1),_0x363c4e=await _0x1f8926[_0x379494(0x3b6)]({'options':{..._0x563be1,..._0x5a8bdd},'args':[],'tdx':_0x33009b});gracefulExit(_0x363c4e);}),program['command'](a2_0x135762(0x457))[a2_0x135762(0x1b7)](a2_0x135762(0x284))[a2_0x135762(0x32b)]('--dry-run','Check\x20for\x20updates\x20without\x20installing')[a2_0x135762(0x32b)]('--next','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')['option'](a2_0x135762(0x212),a2_0x135762(0x2c4))['action'](async(_0x24c0de,_0x529076)=>{const _0x4260c8=a2_0x135762,_0x3ac7e0=new UpgradeCommand(),_0x29648f=program[_0x4260c8(0x41e)](),_0x28067a=await _0x3ac7e0[_0x4260c8(0x3b6)]({'options':{..._0x29648f,..._0x529076},'args':_0x24c0de?[_0x24c0de]:[],'tdx':null});gracefulExit(_0x28067a);}),program[a2_0x135762(0x399)](a2_0x135762(0x35c))[a2_0x135762(0x1b7)](a2_0x135762(0x46d))[a2_0x135762(0x32b)](a2_0x135762(0x262),a2_0x135762(0x38f))[a2_0x135762(0x24e)](async(_0x1c91b4,_0x3a720e)=>{const _0x4f7813=a2_0x135762,_0x3b63ae=new UnsetCommand(),_0x4e6400=program[_0x4f7813(0x41e)](),_0x461649=await _0x3b63ae[_0x4f7813(0x3b6)]({'options':{..._0x4e6400,..._0x3a720e},'args':[_0x1c91b4],'tdx':null});gracefulExit(_0x461649);}),program[a2_0x135762(0x399)](a2_0x135762(0x15d))[a2_0x135762(0x1b7)](a2_0x135762(0x150))[a2_0x135762(0x32b)](a2_0x135762(0x18d),a2_0x135762(0x286))['action'](async _0x547739=>{const _0x54211f=a2_0x135762,_0x5a2239=new ChatsCommand(),_0x1b3213=program[_0x54211f(0x41e)](),_0xc73836=await createTDXInstance(_0x1b3213),_0xe8e18a=await _0x5a2239[_0x54211f(0x3b6)]({'options':{..._0x1b3213,..._0x547739},'args':[],'tdx':_0xc73836});gracefulExit(_0xe8e18a);});const authCmd=program[a2_0x135762(0x399)](a2_0x135762(0x411))['description']('Authentication\x20management');async function runAuthStatusCommand(_0x4e8b27){const _0x5b2270=a2_0x135762,_0x44a767=new AuthStatusCommand(),_0x4f7e27=program['opts'](),_0x324351=await createTDXInstance(_0x4f7e27),_0xb6365=await _0x44a767[_0x5b2270(0x3b6)]({'options':{..._0x4f7e27,..._0x4e8b27},'args':[],'tdx':_0x324351});gracefulExit(_0xb6365);}authCmd[a2_0x135762(0x24e)](runAuthStatusCommand),authCmd['command'](a2_0x135762(0x240))[a2_0x135762(0x1b7)](a2_0x135762(0x213))[a2_0x135762(0x24e)](runAuthStatusCommand);async function authSetupAction(_0x25b3f7){const _0x5c2509=new AuthSetupCommand(),_0x24223a=program['opts'](),_0x39878e=await createTDXInstance(_0x24223a),_0x4851c6=await _0x5c2509['run']({'options':{..._0x24223a,..._0x25b3f7},'args':[],'tdx':_0x39878e});gracefulExit(_0x4851c6);}authCmd[a2_0x135762(0x399)](a2_0x135762(0x2fb))[a2_0x135762(0x1b7)](a2_0x135762(0x37e))[a2_0x135762(0x32b)](a2_0x135762(0x1f5),a2_0x135762(0x363))['addHelpText'](a2_0x135762(0x435),a2_0x135762(0x42f))[a2_0x135762(0x24e)](authSetupAction),authCmd[a2_0x135762(0x399)](a2_0x135762(0x24f),{'hidden':!![]})['option'](a2_0x135762(0x1f5),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x135762(0x24e)](authSetupAction),authCmd[a2_0x135762(0x399)](a2_0x135762(0x413))[a2_0x135762(0x1b7)](a2_0x135762(0x35d))[a2_0x135762(0x1cd)](a2_0x135762(0x435),a2_0x135762(0x443))[a2_0x135762(0x24e)](async _0x5f84cc=>{const _0x5e4c4f=a2_0x135762,_0xa10932=new AuthClearCommand(),_0x86cf8c=program['opts'](),_0x3f4180=await _0xa10932[_0x5e4c4f(0x3b6)]({'options':{..._0x86cf8c,..._0x5f84cc},'args':[],'tdx':null});gracefulExit(_0x3f4180);});const userCmd=program['command']('user')[a2_0x135762(0x1b7)](a2_0x135762(0x462)),userListAction=async _0x48b311=>{const _0x261fba=a2_0x135762,_0xa529ff=new UserListCommand(),_0x2b5f48=program[_0x261fba(0x41e)](),_0x1daf08=await createTDXInstance(_0x2b5f48),_0x1f1b16=await _0xa529ff['run']({'options':{..._0x2b5f48,..._0x48b311},'args':[],'tdx':_0x1daf08});gracefulExit(_0x1f1b16);};userCmd['action'](async _0x55d87a=>{const _0x202625=a2_0x135762,_0x44211c=new UserCommand(),_0x12054a=program['opts'](),_0x3256e9=await createTDXInstance(_0x12054a),_0x515d00=await _0x44211c[_0x202625(0x3b6)]({'options':{..._0x12054a,..._0x55d87a},'args':[],'tdx':_0x3256e9});gracefulExit(_0x515d00);}),userCmd['command'](a2_0x135762(0x1bf))[a2_0x135762(0x1b7)](a2_0x135762(0x208))['action'](userListAction),program[a2_0x135762(0x399)](a2_0x135762(0x15c))[a2_0x135762(0x1b7)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')['action'](userListAction);const policyCmd=program[a2_0x135762(0x399)](a2_0x135762(0x1b4))[a2_0x135762(0x1b7)](a2_0x135762(0x307));policyCmd['action'](async _0x14e6af=>{const _0x2c9d88=a2_0x135762,_0x1fef30=new PolicyCommand(),_0xd4ed97=program[_0x2c9d88(0x41e)](),_0x442e46=await createTDXInstance(_0xd4ed97),_0x8c9d61=await _0x1fef30['run']({'options':{..._0xd4ed97,..._0x14e6af},'args':[],'tdx':_0x442e46});gracefulExit(_0x8c9d61);}),policyCmd['command'](a2_0x135762(0x1bf))[a2_0x135762(0x1b7)](a2_0x135762(0x337))[a2_0x135762(0x24e)](async _0x4f5b88=>{const _0x20658e=a2_0x135762,_0x3eed12=new PolicyListCommand(),_0x3bcea5=program[_0x20658e(0x41e)](),_0x5d8a2b=await createTDXInstance(_0x3bcea5),_0x49a15b=await _0x3eed12[_0x20658e(0x3b6)]({'options':{..._0x3bcea5,..._0x4f5b88},'args':[],'tdx':_0x5d8a2b});gracefulExit(_0x49a15b);}),policyCmd['command'](a2_0x135762(0x24d))[a2_0x135762(0x1b7)]('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0x135762(0x24e)](async(_0x344587,_0x21ab25)=>{const _0x2f1346=a2_0x135762,_0x496bdb=new PolicyShowCommand(),_0x29bcc5=program[_0x2f1346(0x41e)](),_0xad86b=await createTDXInstance(_0x29bcc5),_0x4c4453=await _0x496bdb['run']({'options':{..._0x29bcc5,..._0x21ab25},'args':[_0x344587],'tdx':_0xad86b});gracefulExit(_0x4c4453);}),program[a2_0x135762(0x399)](a2_0x135762(0x146))[a2_0x135762(0x1b7)](a2_0x135762(0x331))['action'](async _0x37d169=>{const _0x23fd02=a2_0x135762,_0x388625=new ProfilesCommand(),_0x3366c8=program[_0x23fd02(0x41e)](),_0x2ff575=await _0x388625['run']({'options':{..._0x3366c8,..._0x37d169},'args':[],'tdx':null});gracefulExit(_0x2ff575);});const profileCmd=program[a2_0x135762(0x399)](a2_0x135762(0x2a0))['description']('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x135762(0x24e)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x364df8=>{const _0x1a6c1a=a2_0x135762,_0x4b65bc=new ProfilesCommand(),_0x3b16e5=program[_0x1a6c1a(0x41e)](),_0x26c035=await _0x4b65bc['run']({'options':{..._0x3b16e5,..._0x364df8},'args':[],'tdx':null});gracefulExit(_0x26c035);};profileCmd[a2_0x135762(0x399)](a2_0x135762(0x1bf))['description'](a2_0x135762(0x331))[a2_0x135762(0x24e)](profileListAction),profileCmd[a2_0x135762(0x399)](a2_0x135762(0x197))['description']('Create\x20a\x20new\x20profile')['option'](a2_0x135762(0x1f5),a2_0x135762(0x363))[a2_0x135762(0x32b)](a2_0x135762(0x340),a2_0x135762(0x458))[a2_0x135762(0x1cd)](a2_0x135762(0x435),a2_0x135762(0x1f7))[a2_0x135762(0x24e)](async(_0x5bae7c,_0x8b0a1d)=>{const _0x39dcf1=a2_0x135762,_0x4d440d=new ProfileCreateCommand(),_0x3dda85=program[_0x39dcf1(0x41e)](),_0x3bbf11=await _0x4d440d[_0x39dcf1(0x3b6)]({'options':{..._0x3dda85,..._0x8b0a1d},'args':_0x5bae7c?[_0x5bae7c]:[],'tdx':null});gracefulExit(_0x3bbf11);});async function profileDeleteAction(_0x4b369c,_0x151c10){const _0x53dadc=a2_0x135762,_0x592cba=new ProfileDeleteCommand(),_0x161333=program[_0x53dadc(0x41e)](),_0x2d568d=await _0x592cba[_0x53dadc(0x3b6)]({'options':{..._0x161333,..._0x151c10},'args':[_0x4b369c],'tdx':null});gracefulExit(_0x2d568d);}profileCmd[a2_0x135762(0x399)](a2_0x135762(0x37c))[a2_0x135762(0x1b7)](a2_0x135762(0x181))[a2_0x135762(0x1cd)](a2_0x135762(0x435),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a')['action'](profileDeleteAction),profileCmd[a2_0x135762(0x399)]('remove\x20<name>',{'hidden':!![]})[a2_0x135762(0x24e)](profileDeleteAction),profileCmd['command'](a2_0x135762(0x1ea))['description'](a2_0x135762(0x2fc))[a2_0x135762(0x1cd)](a2_0x135762(0x435),a2_0x135762(0x3a4))['action'](async(_0xb58e70,_0xfbec3)=>{const _0x6b6095=a2_0x135762,_0x20a44f=new ProfileSetCommand(),_0xad1efe=program[_0x6b6095(0x41e)](),_0x180180=await _0x20a44f[_0x6b6095(0x3b6)]({'options':{..._0xad1efe,..._0xfbec3},'args':[_0xb58e70],'tdx':null});gracefulExit(_0x180180);}),profileCmd[a2_0x135762(0x399)](a2_0x135762(0x263))['description'](a2_0x135762(0x2e3))[a2_0x135762(0x32b)]('--default',a2_0x135762(0x2d9))[a2_0x135762(0x1cd)]('after',a2_0x135762(0x348))[a2_0x135762(0x24e)](async(_0x3fbdc9,_0x5ab0d8)=>{const _0x4a52f0=a2_0x135762,_0x5ede1c=new ProfileUseCommand(),_0x5cc0fb=program[_0x4a52f0(0x41e)](),_0x4098e5=await _0x5ede1c['run']({'options':{..._0x5cc0fb,..._0x5ab0d8},'args':[_0x3fbdc9],'tdx':null});gracefulExit(_0x4098e5);});const engageCmd=program['command'](a2_0x135762(0x3eb))[a2_0x135762(0x1b7)](a2_0x135762(0x191)),createEngageAction=_0x174737=>{return async(_0x250bbd,_0x5813c3)=>{const _0x5d2585=a2_0x168f,_0x35cb3f=new _0x174737(),_0x2e6cd5=program[_0x5d2585(0x41e)](),_0x2971c3=await createTDXInstance(_0x2e6cd5),_0x27fa95=await _0x35cb3f[_0x5d2585(0x3b6)]({'options':{..._0x2e6cd5,..._0x5813c3},'args':[_0x250bbd],'tdx':_0x2971c3});gracefulExit(_0x27fa95);};},createEngageNoArgAction=_0x463ece=>{return async _0x390d41=>{const _0x504fd5=a2_0x168f,_0x723468=new _0x463ece(),_0x41c9d9=program[_0x504fd5(0x41e)](),_0x45f684=await createTDXInstance(_0x41c9d9),_0x165cde=await _0x723468[_0x504fd5(0x3b6)]({'options':{..._0x41c9d9,..._0x390d41},'args':[],'tdx':_0x45f684});gracefulExit(_0x165cde);};},createEngageListAction=_0x5ca9ba=>{return async(_0x400da8,_0xb7d6b)=>{const _0x34f6a1=a2_0x168f,_0x335810=new _0x5ca9ba(),_0x6446ba=program[_0x34f6a1(0x41e)](),_0x28ffc5=await createTDXInstance(_0x6446ba),_0x1701da=await _0x335810[_0x34f6a1(0x3b6)]({'options':{..._0x6446ba,..._0xb7d6b},'args':_0x400da8?[_0x400da8]:[],'tdx':_0x28ffc5});gracefulExit(_0x1701da);};},campaignCmd=engageCmd[a2_0x135762(0x399)](a2_0x135762(0x2c3))[a2_0x135762(0x1b7)](a2_0x135762(0x30b));campaignCmd[a2_0x135762(0x399)](a2_0x135762(0x330))['description'](a2_0x135762(0x1bc))['option']('--type\x20<type>',a2_0x135762(0x313))[a2_0x135762(0x32b)](a2_0x135762(0x179),a2_0x135762(0x3c1))[a2_0x135762(0x32b)](a2_0x135762(0x46a),'Workspace\x20name')[a2_0x135762(0x24e)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x135762(0x399)](a2_0x135762(0x1f9))['description'](a2_0x135762(0x2b4))[a2_0x135762(0x32b)](a2_0x135762(0x43a),a2_0x135762(0x313))['option'](a2_0x135762(0x179),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x135762(0x32b)]('--workspace\x20<name>',a2_0x135762(0x3a9))[a2_0x135762(0x24e)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x135762(0x399)](a2_0x135762(0x2f0))[a2_0x135762(0x1b7)](a2_0x135762(0x35e))[a2_0x135762(0x32b)]('--workspace\x20<name>',a2_0x135762(0x3a9))[a2_0x135762(0x32b)](a2_0x135762(0x37f),a2_0x135762(0x28d))[a2_0x135762(0x24e)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x135762(0x399)](a2_0x135762(0x394))['description'](a2_0x135762(0x386))[a2_0x135762(0x2da)]('--name\x20<name>',a2_0x135762(0x211))[a2_0x135762(0x2da)](a2_0x135762(0x43a),a2_0x135762(0x30a))[a2_0x135762(0x32b)]('--workspace\x20<name>',a2_0x135762(0x292))['option'](a2_0x135762(0x1eb),a2_0x135762(0x27a))[a2_0x135762(0x32b)](a2_0x135762(0x336),a2_0x135762(0x2cf))[a2_0x135762(0x32b)](a2_0x135762(0x42b),a2_0x135762(0x45d))[a2_0x135762(0x32b)](a2_0x135762(0x1fd),a2_0x135762(0x22d))[a2_0x135762(0x32b)](a2_0x135762(0x29c),a2_0x135762(0x39f))[a2_0x135762(0x32b)](a2_0x135762(0x1b6),a2_0x135762(0x2e9))[a2_0x135762(0x24e)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x135762(0x399)](a2_0x135762(0x329))[a2_0x135762(0x1b7)](a2_0x135762(0x3b4))[a2_0x135762(0x32b)](a2_0x135762(0x46a),a2_0x135762(0x3a9))[a2_0x135762(0x32b)](a2_0x135762(0x1e9),'New\x20campaign\x20name')[a2_0x135762(0x32b)](a2_0x135762(0x1eb),a2_0x135762(0x27a))[a2_0x135762(0x32b)](a2_0x135762(0x336),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x135762(0x32b)]('--email-sender-id\x20<id>',a2_0x135762(0x45d))[a2_0x135762(0x32b)](a2_0x135762(0x1fd),a2_0x135762(0x22d))[a2_0x135762(0x32b)](a2_0x135762(0x29c),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x135762(0x32b)](a2_0x135762(0x1b6),a2_0x135762(0x2e9))[a2_0x135762(0x24e)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x135762(0x399)](a2_0x135762(0x1f0))[a2_0x135762(0x1b7)](a2_0x135762(0x227))[a2_0x135762(0x32b)](a2_0x135762(0x46a),'Workspace\x20name')[a2_0x135762(0x32b)](a2_0x135762(0x1c1),a2_0x135762(0x285))[a2_0x135762(0x24e)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x135762(0x2a1))[a2_0x135762(0x1b7)]('Launch\x20a\x20campaign')[a2_0x135762(0x32b)]('--workspace\x20<name>',a2_0x135762(0x3a9))[a2_0x135762(0x24e)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x135762(0x399)](a2_0x135762(0x1e1))[a2_0x135762(0x1b7)](a2_0x135762(0x33a))[a2_0x135762(0x32b)](a2_0x135762(0x46a),a2_0x135762(0x3a9))[a2_0x135762(0x24e)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x135762(0x399)](a2_0x135762(0x438))[a2_0x135762(0x1b7)](a2_0x135762(0x39c))['option'](a2_0x135762(0x46a),a2_0x135762(0x3a9))[a2_0x135762(0x24e)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x135762(0x2df))['description']('Duplicate\x20a\x20campaign')['option']('--workspace\x20<name>',a2_0x135762(0x3a9))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x135762(0x399)](a2_0x135762(0x251))['description'](a2_0x135762(0x19b))['option'](a2_0x135762(0x46a),a2_0x135762(0x3a9))['option']('--name\x20<name>',a2_0x135762(0x19f))[a2_0x135762(0x32b)]('--type\x20<type>',a2_0x135762(0x313))[a2_0x135762(0x32b)](a2_0x135762(0x2de),a2_0x135762(0x252))[a2_0x135762(0x24e)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x135762(0x399)]('push\x20[target]')[a2_0x135762(0x1b7)](a2_0x135762(0x31e))[a2_0x135762(0x32b)](a2_0x135762(0x46a),a2_0x135762(0x3a9))[a2_0x135762(0x32b)](a2_0x135762(0x2de),a2_0x135762(0x3e7))['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x135762(0x399)](a2_0x135762(0x34c))[a2_0x135762(0x1b7)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x135762(0x32b)](a2_0x135762(0x28b),a2_0x135762(0x2b8))['action'](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x135762(0x399)]('always-on-campaign')[a2_0x135762(0x1b7)](a2_0x135762(0x283));alwaysOnCampaignCmd['command']('list\x20[pattern]')[a2_0x135762(0x1b7)](a2_0x135762(0x3ab))[a2_0x135762(0x32b)](a2_0x135762(0x43a),a2_0x135762(0x313))['option']('--status\x20<status>',a2_0x135762(0x241))[a2_0x135762(0x2da)](a2_0x135762(0x46a),a2_0x135762(0x292))[a2_0x135762(0x24e)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x135762(0x399)]('always-on-campaigns\x20[pattern]')[a2_0x135762(0x1b7)](a2_0x135762(0x3c7))[a2_0x135762(0x32b)](a2_0x135762(0x43a),a2_0x135762(0x313))[a2_0x135762(0x32b)](a2_0x135762(0x179),a2_0x135762(0x241))[a2_0x135762(0x2da)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x135762(0x24e)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x135762(0x399)](a2_0x135762(0x2f0))[a2_0x135762(0x1b7)](a2_0x135762(0x293))[a2_0x135762(0x2da)](a2_0x135762(0x46a),'Workspace\x20name\x20(required)')[a2_0x135762(0x32b)](a2_0x135762(0x37f),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x135762(0x24e)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command'](a2_0x135762(0x394))['description'](a2_0x135762(0x440))[a2_0x135762(0x2da)](a2_0x135762(0x1e9),a2_0x135762(0x211))[a2_0x135762(0x2da)](a2_0x135762(0x43a),a2_0x135762(0x30a))['requiredOption']('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x135762(0x32b)](a2_0x135762(0x1eb),a2_0x135762(0x27a))[a2_0x135762(0x32b)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')['option'](a2_0x135762(0x422),'Enable\x20UTM\x20tracking')[a2_0x135762(0x24e)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x135762(0x399)](a2_0x135762(0x329))['description'](a2_0x135762(0x3d5))[a2_0x135762(0x2da)](a2_0x135762(0x46a),'Workspace\x20name\x20(required)')[a2_0x135762(0x32b)](a2_0x135762(0x1e9),a2_0x135762(0x1a5))[a2_0x135762(0x32b)](a2_0x135762(0x1eb),'Campaign\x20description')[a2_0x135762(0x32b)](a2_0x135762(0x336),a2_0x135762(0x17d))['option'](a2_0x135762(0x422),a2_0x135762(0x3fc))[a2_0x135762(0x24e)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x135762(0x399)](a2_0x135762(0x1f0))[a2_0x135762(0x1b7)](a2_0x135762(0x387))['requiredOption'](a2_0x135762(0x46a),'Workspace\x20name\x20(required)')[a2_0x135762(0x32b)](a2_0x135762(0x1c1),'Skip\x20confirmation\x20prompt')[a2_0x135762(0x24e)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x135762(0x399)](a2_0x135762(0x2a1))[a2_0x135762(0x1b7)](a2_0x135762(0x201))[a2_0x135762(0x2da)](a2_0x135762(0x46a),a2_0x135762(0x292))[a2_0x135762(0x24e)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x135762(0x1e1))[a2_0x135762(0x1b7)](a2_0x135762(0x206))[a2_0x135762(0x2da)]('--workspace\x20<name>',a2_0x135762(0x292))['action'](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x135762(0x399)](a2_0x135762(0x438))['description'](a2_0x135762(0x24b))['requiredOption'](a2_0x135762(0x46a),a2_0x135762(0x292))[a2_0x135762(0x24e)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x135762(0x399)](a2_0x135762(0x32f))[a2_0x135762(0x1b7)]('Finish\x20an\x20always-on\x20campaign')[a2_0x135762(0x2da)](a2_0x135762(0x46a),a2_0x135762(0x292))['option'](a2_0x135762(0x1c1),a2_0x135762(0x285))[a2_0x135762(0x24e)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x135762(0x399)]('duplicate\x20<name-or-id>')['description'](a2_0x135762(0x1a4))[a2_0x135762(0x2da)](a2_0x135762(0x46a),a2_0x135762(0x292))['requiredOption'](a2_0x135762(0x1e9),a2_0x135762(0x414))[a2_0x135762(0x24e)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x135762(0x399)]('template')[a2_0x135762(0x1b7)](a2_0x135762(0x2a9));templateCmd['command'](a2_0x135762(0x330))[a2_0x135762(0x1b7)](a2_0x135762(0x3b2))[a2_0x135762(0x32b)](a2_0x135762(0x46a),a2_0x135762(0x3a9))[a2_0x135762(0x24e)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x135762(0x399)](a2_0x135762(0x325))['description'](a2_0x135762(0x17f))['option'](a2_0x135762(0x46a),a2_0x135762(0x3a9))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x135762(0x399)](a2_0x135762(0x2f0))[a2_0x135762(0x1b7)](a2_0x135762(0x23f))[a2_0x135762(0x32b)](a2_0x135762(0x46a),a2_0x135762(0x3a9))[a2_0x135762(0x32b)](a2_0x135762(0x37f),a2_0x135762(0x28d))[a2_0x135762(0x24e)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x135762(0x399)](a2_0x135762(0x394))[a2_0x135762(0x1b7)]('Create\x20an\x20email\x20template')[a2_0x135762(0x2da)](a2_0x135762(0x1e9),a2_0x135762(0x229))[a2_0x135762(0x2da)]('--subject\x20<subject>',a2_0x135762(0x1d7))[a2_0x135762(0x32b)](a2_0x135762(0x359),a2_0x135762(0x175))[a2_0x135762(0x32b)]('--html-file\x20<path>',a2_0x135762(0x2a2))[a2_0x135762(0x32b)](a2_0x135762(0x46a),a2_0x135762(0x292))[a2_0x135762(0x32b)]('--plaintext\x20<text>',a2_0x135762(0x2cb))[a2_0x135762(0x32b)](a2_0x135762(0x291),a2_0x135762(0x383),_0x16b451=>{const _0x57c3e8=a2_0x135762;if(!['beefree',_0x57c3e8(0x1f3)][_0x57c3e8(0x25e)](_0x16b451))throw new SDKError(ErrorCode[_0x57c3e8(0x35f)],_0x57c3e8(0x2ef)+_0x16b451+_0x57c3e8(0x33e));return _0x16b451;})[a2_0x135762(0x24e)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x135762(0x399)](a2_0x135762(0x329))[a2_0x135762(0x1b7)](a2_0x135762(0x257))[a2_0x135762(0x32b)](a2_0x135762(0x46a),'Workspace\x20name')['option'](a2_0x135762(0x1e9),a2_0x135762(0x289))['option']('--subject\x20<subject>',a2_0x135762(0x1d7))['option'](a2_0x135762(0x359),'HTML\x20template\x20content')[a2_0x135762(0x32b)](a2_0x135762(0x1bb),a2_0x135762(0x2a2))[a2_0x135762(0x32b)](a2_0x135762(0x247),a2_0x135762(0x2cb))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x135762(0x399)]('pull\x20[workspace]')['description'](a2_0x135762(0x468))['option'](a2_0x135762(0x46a),a2_0x135762(0x3a9))['option'](a2_0x135762(0x1e9),'Pull\x20specific\x20template\x20by\x20name')[a2_0x135762(0x32b)](a2_0x135762(0x420),a2_0x135762(0x285))[a2_0x135762(0x32b)](a2_0x135762(0x2de),a2_0x135762(0x252))[a2_0x135762(0x24e)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x135762(0x399)](a2_0x135762(0x34b))[a2_0x135762(0x1b7)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x135762(0x32b)](a2_0x135762(0x46a),a2_0x135762(0x3a9))[a2_0x135762(0x32b)](a2_0x135762(0x420),'Skip\x20confirmation\x20prompt')[a2_0x135762(0x32b)]('--dry-run',a2_0x135762(0x3e7))[a2_0x135762(0x24e)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command']('validate\x20[target]')[a2_0x135762(0x1b7)]('Validate\x20template\x20YAML\x20files\x20locally')[a2_0x135762(0x32b)](a2_0x135762(0x28b),a2_0x135762(0x2b8))[a2_0x135762(0x24e)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x135762(0x399)](a2_0x135762(0x1f0))['description'](a2_0x135762(0x1e7))[a2_0x135762(0x32b)]('--workspace\x20<name>','Workspace\x20name')[a2_0x135762(0x32b)](a2_0x135762(0x1c1),a2_0x135762(0x285))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x135762(0x399)](a2_0x135762(0x1dd))[a2_0x135762(0x1b7)](a2_0x135762(0x21d));workspaceCmd['command'](a2_0x135762(0x330))[a2_0x135762(0x1b7)](a2_0x135762(0x32d))[a2_0x135762(0x24e)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x135762(0x214))[a2_0x135762(0x1b7)](a2_0x135762(0x34a))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x135762(0x399)](a2_0x135762(0x2f0))[a2_0x135762(0x1b7)](a2_0x135762(0x392))[a2_0x135762(0x32b)]('--full',a2_0x135762(0x28d))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x135762(0x399)](a2_0x135762(0x394))[a2_0x135762(0x1b7)](a2_0x135762(0x3d4))[a2_0x135762(0x2da)](a2_0x135762(0x1e9),'Workspace\x20name')['option'](a2_0x135762(0x1eb),'Workspace\x20description')[a2_0x135762(0x24e)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x135762(0x399)]('update\x20<name-or-id>')[a2_0x135762(0x1b7)](a2_0x135762(0x38e))['option']('--name\x20<name>',a2_0x135762(0x36c))['option'](a2_0x135762(0x1eb),a2_0x135762(0x161))[a2_0x135762(0x24e)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x135762(0x399)]('delete\x20<name-or-id>')[a2_0x135762(0x1b7)](a2_0x135762(0x195))[a2_0x135762(0x32b)](a2_0x135762(0x1c1),a2_0x135762(0x285))[a2_0x135762(0x24e)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x135762(0x399)](a2_0x135762(0x263))[a2_0x135762(0x1b7)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x135762(0x24e)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x135762(0x399)](a2_0x135762(0x412))[a2_0x135762(0x1b7)](a2_0x135762(0x3c6));deliveryCmd[a2_0x135762(0x399)]('senders\x20[pattern]')[a2_0x135762(0x1b7)](a2_0x135762(0x2b6))['option'](a2_0x135762(0x46a),a2_0x135762(0x3a9))['action'](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x135762(0x309))['description']('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x427401=>{const _0x3e1ad6=a2_0x135762,_0x219354=new ConnectionListCommand(),_0x247874=program['opts'](),_0x50b734=await createTDXInstance(_0x247874),_0x2fa0d9=await _0x219354[_0x3e1ad6(0x3b6)]({'options':{..._0x247874,..._0x427401},'args':[],'tdx':_0x50b734});gracefulExit(_0x2fa0d9);};connectionCmd[a2_0x135762(0x399)](a2_0x135762(0x1bf))['description'](a2_0x135762(0x2ca))['action'](connectionListAction),program[a2_0x135762(0x399)](a2_0x135762(0x3f5),{'hidden':!![]})[a2_0x135762(0x1b7)](a2_0x135762(0x147))[a2_0x135762(0x24e)](connectionListAction),connectionCmd[a2_0x135762(0x399)](a2_0x135762(0x450))[a2_0x135762(0x1b7)]('Show\x20connection\x20details\x20by\x20name')['action'](async(_0x3ba7d0,_0x179dc2)=>{const _0x1c3a6c=a2_0x135762,_0x145239=new ConnectionShowCommand(),_0x538c21=program[_0x1c3a6c(0x41e)](),_0x20980a=await createTDXInstance(_0x538c21),_0x6e9347=await _0x145239['run']({'options':{..._0x538c21,..._0x179dc2},'args':[_0x3ba7d0],'tdx':_0x20980a});gracefulExit(_0x6e9347);}),connectionCmd['command'](a2_0x135762(0x31f))['description'](a2_0x135762(0x20b))[a2_0x135762(0x24e)](async(_0x3e5753,_0x2a6e80)=>{const _0x3f1f5d=a2_0x135762,_0xb1637a=new ConnectionSchemaCommand(),_0x93829b=program[_0x3f1f5d(0x41e)](),_0x6fd342=await createTDXInstance(_0x93829b),_0x2fbd6b=await _0xb1637a[_0x3f1f5d(0x3b6)]({'options':{..._0x93829b,..._0x2a6e80},'args':[_0x3e5753],'tdx':_0x6fd342});gracefulExit(_0x2fbd6b);}),connectionCmd[a2_0x135762(0x399)]('types')['description'](a2_0x135762(0x39e))[a2_0x135762(0x24e)](async _0x2aabb1=>{const _0x4cc832=a2_0x135762,_0x1beaa2=new ConnectionTypesCommand(),_0x2ce63f=program[_0x4cc832(0x41e)](),_0x49c95f=await createTDXInstance(_0x2ce63f),_0x2356a2=await _0x1beaa2['run']({'options':{..._0x2ce63f,..._0x2aabb1},'args':[],'tdx':_0x49c95f});gracefulExit(_0x2356a2);}),connectionCmd[a2_0x135762(0x399)](a2_0x135762(0x28a))[a2_0x135762(0x1b7)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x135762(0x24e)](async(_0x30c46c,_0x33cd7c)=>{const _0x553852=a2_0x135762,_0x2c4918=new ConnectionSettingsCommand(),_0x52010a=program[_0x553852(0x41e)](),_0x4a654d=await createTDXInstance(_0x52010a),_0x3f06a7=await _0x2c4918[_0x553852(0x3b6)]({'options':{..._0x52010a,..._0x33cd7c},'args':[_0x30c46c],'tdx':_0x4a654d});gracefulExit(_0x3f06a7);});const casCmd=program[a2_0x135762(0x399)](a2_0x135762(0x437))[a2_0x135762(0x1b7)]('Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)');casCmd['command'](a2_0x135762(0x1bf))[a2_0x135762(0x1b7)](a2_0x135762(0x301))[a2_0x135762(0x24e)](async _0x3910b0=>{const _0x1da767=a2_0x135762,_0x275a6c=new CASListCommand(),_0x2c6892=program[_0x1da767(0x41e)](),_0x52508d=await createTDXInstance(_0x2c6892),_0x87a92a=await _0x275a6c[_0x1da767(0x3b6)]({'options':{..._0x2c6892,..._0x3910b0},'args':[],'tdx':_0x52508d});gracefulExit(_0x87a92a);}),casCmd[a2_0x135762(0x399)]('desc\x20[name]')[a2_0x135762(0x1b7)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x36d3e3,_0x3457a4)=>{const _0x2c91f0=a2_0x135762,_0x1ad3db=new CASDescCommand(),_0x9451cb=program[_0x2c91f0(0x41e)](),_0x2e8ae1=await createTDXInstance(_0x9451cb),_0x2119e7=await _0x1ad3db[_0x2c91f0(0x3b6)]({'options':{..._0x9451cb,..._0x3457a4},'args':_0x36d3e3?[_0x36d3e3]:[],'tdx':_0x2e8ae1});gracefulExit(_0x2119e7);}),casCmd[a2_0x135762(0x399)](a2_0x135762(0x21b))[a2_0x135762(0x1b7)](a2_0x135762(0x2b9))[a2_0x135762(0x32b)](a2_0x135762(0x2b0),a2_0x135762(0x342))[a2_0x135762(0x32b)]('--dry-run',a2_0x135762(0x267))[a2_0x135762(0x24e)](async(_0x7e5d35,_0x1f688d)=>{const _0x2ae170=a2_0x135762,_0x1e2e5f=new CASPullCommand(),_0x5ce12a=program['opts'](),_0x3275df=await createTDXInstance(_0x5ce12a),_0x2a0c24=await _0x1e2e5f[_0x2ae170(0x3b6)]({'options':{..._0x5ce12a,..._0x1f688d},'args':_0x7e5d35?[_0x7e5d35]:[],'tdx':_0x3275df});gracefulExit(_0x2a0c24);}),casCmd['command'](a2_0x135762(0x34b))[a2_0x135762(0x1b7)]('Push\x20YAML\x20files\x20to\x20CAS\x20API')[a2_0x135762(0x32b)](a2_0x135762(0x2de),a2_0x135762(0x370))[a2_0x135762(0x24e)](async(_0x23315d,_0x4e22bc)=>{const _0xf4281b=a2_0x135762,_0x5ecd6b=new CASPushCommand(),_0x566506=program[_0xf4281b(0x41e)](),_0x326c26=await createTDXInstance(_0x566506),_0x38f493=await _0x5ecd6b[_0xf4281b(0x3b6)]({'options':{..._0x566506,..._0x4e22bc},'args':_0x23315d?[_0x23315d]:[],'tdx':_0x326c26});gracefulExit(_0x38f493);}),casCmd[a2_0x135762(0x399)]('preview\x20<segment_name>')[a2_0x135762(0x1b7)](a2_0x135762(0x42d))[a2_0x135762(0x32b)]('--audience\x20<name>',a2_0x135762(0x3c9))[a2_0x135762(0x24e)](async(_0x30fe25,_0x26a54e)=>{const _0x4c17c0=a2_0x135762,_0x486332=new CASPreviewCommand(),_0x22c117=program[_0x4c17c0(0x41e)](),_0x551017=await createTDXInstance(_0x22c117),_0x5922e9=await _0x486332[_0x4c17c0(0x3b6)]({'options':{..._0x22c117,..._0x26a54e},'args':[_0x30fe25,_0x26a54e[_0x4c17c0(0x410)]],'tdx':_0x551017});gracefulExit(_0x5922e9);});const casSgCmd=casCmd[a2_0x135762(0x399)]('sg')[a2_0x135762(0x1b7)](a2_0x135762(0x368));casSgCmd[a2_0x135762(0x399)]('list\x20[audience_name]')[a2_0x135762(0x1b7)](a2_0x135762(0x242))[a2_0x135762(0x24e)](async(_0x3bce8a,_0x2c0937)=>{const _0xdb13aa=new CASSegmentListCommand(),_0x808888=program['opts'](),_0x19cb56=await createTDXInstance(_0x808888),_0x1ca796=await _0xdb13aa['run']({'options':{..._0x808888,..._0x2c0937},'args':_0x3bce8a?[_0x3bce8a]:[],'tdx':_0x19cb56});gracefulExit(_0x1ca796);});const journeyCmd=program[a2_0x135762(0x399)]('journey')[a2_0x135762(0x1b7)](a2_0x135762(0x3ac)),journeyListAction=async(_0x29c9d6,_0xf535d)=>{const _0x2c6dc5=a2_0x135762,_0x229cd9=new JourneyListCommand(),_0x4038dd=program[_0x2c6dc5(0x41e)](),_0x21f732=await createTDXInstance(_0x4038dd),_0x5e9fd5=await _0x229cd9[_0x2c6dc5(0x3b6)]({'options':{..._0x4038dd,..._0xf535d},'args':_0x29c9d6?[_0x29c9d6]:[],'tdx':_0x21f732});gracefulExit(_0x5e9fd5);};journeyCmd[a2_0x135762(0x399)](a2_0x135762(0x330))[a2_0x135762(0x1b7)]('List\x20journeys\x20in\x20current\x20context')[a2_0x135762(0x24e)](journeyListAction),journeyCmd[a2_0x135762(0x399)]('view\x20<name-or-path>')[a2_0x135762(0x1b7)](a2_0x135762(0x41a))[a2_0x135762(0x32b)](a2_0x135762(0x3dd),'Open\x20journey\x20in\x20web\x20browser')[a2_0x135762(0x32b)](a2_0x135762(0x1ba),a2_0x135762(0x21f))[a2_0x135762(0x24e)](async(_0x24d981,_0x49ff61)=>{const _0xdd02f4=a2_0x135762,_0x3d8e6b=new JourneyViewCommand(),_0x1271d3=program[_0xdd02f4(0x41e)](),_0x13c343=await createTDXInstance(_0x1271d3),_0x11d323=await _0x3d8e6b[_0xdd02f4(0x3b6)]({'options':{..._0x1271d3,..._0x49ff61},'args':[_0x24d981],'tdx':_0x13c343});gracefulExit(_0x11d323);}),journeyCmd[a2_0x135762(0x399)](a2_0x135762(0x38d))[a2_0x135762(0x1b7)](a2_0x135762(0x408))['option'](a2_0x135762(0x36b),a2_0x135762(0x1cb))['option']('--from\x20<date>',a2_0x135762(0x415))[a2_0x135762(0x32b)]('--to\x20<date>',a2_0x135762(0x1ca))[a2_0x135762(0x32b)](a2_0x135762(0x3db),a2_0x135762(0x326))[a2_0x135762(0x24e)](async(_0x2715de,_0x4068b0)=>{const _0x56cc58=a2_0x135762,_0x57790d=new JourneyStatsCommand(),_0xe97a86=program[_0x56cc58(0x41e)](),_0x15e1bc=await createTDXInstance(_0xe97a86),_0x337427=await _0x57790d['run']({'options':{..._0xe97a86,..._0x4068b0},'args':[_0x2715de],'tdx':_0x15e1bc});gracefulExit(_0x337427);}),journeyCmd[a2_0x135762(0x399)](a2_0x135762(0x234))[a2_0x135762(0x1b7)](a2_0x135762(0x466))[a2_0x135762(0x32b)](a2_0x135762(0x43a),a2_0x135762(0x3c5))[a2_0x135762(0x32b)](a2_0x135762(0x295),a2_0x135762(0x415))[a2_0x135762(0x32b)](a2_0x135762(0x1cf),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option']('--limit\x20<number>',a2_0x135762(0x3f1),_0x1abc30=>{const _0x372f1e=a2_0x135762,_0x448891=parseInt(_0x1abc30,0xa);if(isNaN(_0x448891))throw new Error(_0x372f1e(0x15e)+_0x1abc30+'\x22.\x20Must\x20be\x20a\x20number.');return _0x448891;})['action'](async(_0x11d7e9,_0x4a5182)=>{const _0x125a23=a2_0x135762,_0x2e5e22=new JourneyTrafficCommand(),_0x725701=program[_0x125a23(0x41e)](),_0x3e0e5d=await createTDXInstance(_0x725701),_0x2a9772=await _0x2e5e22[_0x125a23(0x3b6)]({'options':{..._0x725701,..._0x4a5182},'args':[_0x11d7e9],'tdx':_0x3e0e5d});gracefulExit(_0x2a9772);}),journeyCmd[a2_0x135762(0x399)](a2_0x135762(0x395))['description'](a2_0x135762(0x43d))[a2_0x135762(0x24e)](async(_0x10a23e,_0x4ec3b4)=>{const _0x3cdf30=a2_0x135762,_0x1a0a48=new JourneyPauseCommand(),_0x41490e=program[_0x3cdf30(0x41e)](),_0x402143=await createTDXInstance(_0x41490e),_0x2fd4fd=await _0x1a0a48[_0x3cdf30(0x3b6)]({'options':{..._0x41490e,..._0x4ec3b4},'args':[_0x10a23e],'tdx':_0x402143});gracefulExit(_0x2fd4fd);}),journeyCmd[a2_0x135762(0x399)]('resume\x20<name-or-path>')[a2_0x135762(0x1b7)]('Resume\x20a\x20paused\x20journey')['action'](async(_0x2794b2,_0x57e103)=>{const _0x155406=a2_0x135762,_0x6b5508=new JourneyResumeCommand(),_0x245b02=program[_0x155406(0x41e)](),_0x252ed8=await createTDXInstance(_0x245b02),_0xfa4c78=await _0x6b5508[_0x155406(0x3b6)]({'options':{..._0x245b02,..._0x57e103},'args':[_0x2794b2],'tdx':_0x252ed8});gracefulExit(_0xfa4c78);}),journeyCmd['command'](a2_0x135762(0x21b))['description'](a2_0x135762(0x3bb))[a2_0x135762(0x32b)](a2_0x135762(0x2de),a2_0x135762(0x267))[a2_0x135762(0x24e)](async(_0x6d3f14,_0x4d987c)=>{const _0x39b036=a2_0x135762,_0x5e1c41=new JourneyPullCommand(),_0x1b1d9e=program[_0x39b036(0x41e)](),_0x1d7223=await createTDXInstance(_0x1b1d9e),_0x2e2558=await _0x5e1c41[_0x39b036(0x3b6)]({'options':{..._0x1b1d9e,..._0x4d987c},'args':_0x6d3f14?[_0x6d3f14]:[],'tdx':_0x1d7223});gracefulExit(_0x2e2558);}),journeyCmd[a2_0x135762(0x399)](a2_0x135762(0x34b))[a2_0x135762(0x1b7)](a2_0x135762(0x3ba))[a2_0x135762(0x24e)](async(_0x14c7e8,_0x4d039d)=>{const _0x1c49d4=a2_0x135762,_0x588855=new JourneyPushCommand(),_0x15dcbd=program[_0x1c49d4(0x41e)](),_0x58e5a9=await createTDXInstance(_0x15dcbd),_0x59cd25=await _0x588855[_0x1c49d4(0x3b6)]({'options':{..._0x15dcbd,..._0x4d039d},'args':_0x14c7e8?[_0x14c7e8]:[],'tdx':_0x58e5a9});gracefulExit(_0x59cd25);}),journeyCmd[a2_0x135762(0x399)](a2_0x135762(0x259))[a2_0x135762(0x1b7)](a2_0x135762(0x159))[a2_0x135762(0x24e)](async(_0x1ade12,_0x162472)=>{const _0x13dac4=a2_0x135762,_0xfd20b9=new JourneyColumnsCommand(),_0x4ef726=program[_0x13dac4(0x41e)](),_0x210d41=await createTDXInstance(_0x4ef726),_0x308ede=await _0xfd20b9[_0x13dac4(0x3b6)]({'options':{..._0x4ef726,..._0x162472},'args':[_0x1ade12],'tdx':_0x210d41});gracefulExit(_0x308ede);}),journeyCmd[a2_0x135762(0x399)](a2_0x135762(0x347))[a2_0x135762(0x1b7)](a2_0x135762(0x24c))[a2_0x135762(0x24e)](async(_0x227bee,_0x789c2a)=>{const _0x2aa1ca=a2_0x135762,_0x4bac89=new JourneyActivationsCommand(),_0x5181aa=program[_0x2aa1ca(0x41e)](),_0x1409da=await createTDXInstance(_0x5181aa),_0x113a8c=await _0x4bac89[_0x2aa1ca(0x3b6)]({'options':{..._0x5181aa,..._0x789c2a},'args':[_0x227bee],'tdx':_0x1409da});gracefulExit(_0x113a8c);}),journeyCmd[a2_0x135762(0x399)](a2_0x135762(0x153))[a2_0x135762(0x1b7)](a2_0x135762(0x199))[a2_0x135762(0x24e)](async(_0x5a4253,_0x4bac88)=>{const _0x36af80=a2_0x135762,_0x1b01cd=new JourneyVersionsCommand(),_0xfa6e07=program[_0x36af80(0x41e)](),_0x144c96=await createTDXInstance(_0xfa6e07),_0x5a6418=await _0x1b01cd['run']({'options':{..._0xfa6e07,..._0x4bac88},'args':[_0x5a4253],'tdx':_0x144c96});gracefulExit(_0x5a6418);});const journeyVersionCmd=journeyCmd[a2_0x135762(0x399)](a2_0x135762(0x40a))['description']('Journey\x20version\x20management');journeyVersionCmd[a2_0x135762(0x399)]('create\x20<name-or-path>')['description']('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0x135762(0x24e)](async(_0x197b28,_0x1f0d43)=>{const _0x2f6176=new JourneyVersionCreateCommand(),_0x13d2c6=program['opts'](),_0x4acf43=await createTDXInstance(_0x13d2c6),_0x53b2b0=await _0x2f6176['run']({'options':{..._0x13d2c6,..._0x1f0d43},'args':[_0x197b28],'tdx':_0x4acf43});gracefulExit(_0x53b2b0);}),journeyVersionCmd['command'](a2_0x135762(0x2d5))['description'](a2_0x135762(0x3c8))[a2_0x135762(0x2da)](a2_0x135762(0x3bf),a2_0x135762(0x186))['action'](async(_0x280cbe,_0x3979aa)=>{const _0x5c99b7=a2_0x135762,_0x2c2733=new JourneyVersionViewCommand(),_0x5000a8=program[_0x5c99b7(0x41e)](),_0x11434d=await createTDXInstance(_0x5000a8),_0x2ffe7f=await _0x2c2733[_0x5c99b7(0x3b6)]({'options':{..._0x5000a8,..._0x3979aa},'args':[_0x280cbe],'tdx':_0x11434d});gracefulExit(_0x2ffe7f);}),journeyCmd['command'](a2_0x135762(0x34c))['description'](a2_0x135762(0x25d))[a2_0x135762(0x24e)](async(_0x32bbfa,_0x14cfb7)=>{const _0x3d6e99=a2_0x135762,_0x4615b4=new JourneyValidateCommand(),_0x3b4a24=program[_0x3d6e99(0x41e)](),_0x5a61bd=await createTDXInstance(_0x3b4a24),_0x5dc5a7=await _0x4615b4[_0x3d6e99(0x3b6)]({'options':{..._0x3b4a24,..._0x14cfb7},'args':_0x32bbfa?[_0x32bbfa]:[],'tdx':_0x5a61bd});gracefulExit(_0x5dc5a7);}),program[a2_0x135762(0x399)](a2_0x135762(0x2f7))[a2_0x135762(0x1b7)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x135762(0x24e)](journeyListAction);const agentSyncCmd=program['command'](a2_0x135762(0x42a))[a2_0x135762(0x1b7)](a2_0x135762(0x18b));agentSyncCmd[a2_0x135762(0x399)](a2_0x135762(0x218))[a2_0x135762(0x1b7)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x135762(0x32b)](a2_0x135762(0x441),a2_0x135762(0x2bc))[a2_0x135762(0x32b)](a2_0x135762(0x340),a2_0x135762(0x35b))[a2_0x135762(0x32b)](a2_0x135762(0x3b0),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')['action'](async(_0x173a19,_0x55030a,_0x45d52a)=>{const _0x3487ee=a2_0x135762,_0x16673c=new AgentPullCommand(),_0xe41df9=program[_0x3487ee(0x41e)](),_0x4b4cc4=await createTDXInstance(_0xe41df9),_0x11042c=[];if(_0x173a19)_0x11042c['push'](_0x173a19);if(_0x55030a)_0x11042c[_0x3487ee(0x344)](_0x55030a);const _0x23d398=await _0x16673c['run']({'options':{..._0xe41df9,..._0x45d52a},'args':_0x11042c,'tdx':_0x4b4cc4});gracefulExit(_0x23d398);}),agentSyncCmd[a2_0x135762(0x399)](a2_0x135762(0x3b8))[a2_0x135762(0x1b7)](a2_0x135762(0x3ea))[a2_0x135762(0x32b)](a2_0x135762(0x340),a2_0x135762(0x453))[a2_0x135762(0x24e)](async(_0x26d58b,_0x357312)=>{const _0x1f1974=a2_0x135762,_0x281b4b=new AgentPushCommand(),_0x2372e1=program[_0x1f1974(0x41e)](),_0x3d6347=await createTDXInstance(_0x2372e1),_0x175247=await _0x281b4b[_0x1f1974(0x3b6)]({'options':{..._0x2372e1,..._0x357312},'args':_0x26d58b?[_0x26d58b]:[],'tdx':_0x3d6347});gracefulExit(_0x175247);}),agentSyncCmd['command']('clone\x20[source]')[a2_0x135762(0x1b7)](a2_0x135762(0x3fd))['option']('-n,\x20--name\x20<name>',a2_0x135762(0x1a1))[a2_0x135762(0x24e)](async(_0x3caf64,_0x2a6021)=>{const _0xa21f1f=a2_0x135762,_0x288956=new AgentCloneCommand(),_0x2f8281=program['opts'](),_0x5b525b=await createTDXInstance(_0x2f8281),_0x4a075a=await _0x288956[_0xa21f1f(0x3b6)]({'options':{..._0x2f8281,..._0x2a6021},'args':_0x3caf64?[_0x3caf64]:[],'tdx':_0x5b525b});gracefulExit(_0x4a075a);}),agentSyncCmd[a2_0x135762(0x399)]('test\x20[path]')[a2_0x135762(0x1b7)](a2_0x135762(0x16a))['option'](a2_0x135762(0x1bd),a2_0x135762(0x366))[a2_0x135762(0x32b)](a2_0x135762(0x418),a2_0x135762(0x36f))['option'](a2_0x135762(0x2de),a2_0x135762(0x3e4))[a2_0x135762(0x32b)](a2_0x135762(0x3a8),a2_0x135762(0x461))[a2_0x135762(0x32b)](a2_0x135762(0x454),a2_0x135762(0x367))[a2_0x135762(0x24e)](async(_0x28a415,_0x93ce72)=>{const _0x367634=a2_0x135762,_0x374b2a=new AgentTestCommand(),_0x3b016a=program[_0x367634(0x41e)](),_0x4f72b1=await createTDXInstance(_0x3b016a),_0x19abfc=await _0x374b2a[_0x367634(0x3b6)]({'options':{..._0x3b016a,..._0x93ce72},'args':_0x28a415?[_0x28a415]:[],'tdx':_0x4f72b1});gracefulExit(_0x19abfc);}),agentSyncCmd[a2_0x135762(0x399)](a2_0x135762(0x330))[a2_0x135762(0x1b7)](a2_0x135762(0x19a))[a2_0x135762(0x24e)](llmAgentListAction),agentSyncCmd[a2_0x135762(0x399)](a2_0x135762(0x371))['description'](a2_0x135762(0x167))['action'](async(_0x3baa7f,_0x47826b)=>{const _0x16fbfb=a2_0x135762,_0x46b03b=new LLMAgentShowCommand(),_0x22fd66=program[_0x16fbfb(0x41e)](),_0x1a79c0=await createTDXInstance(_0x22fd66),_0x124785=await _0x46b03b['run']({'options':{..._0x22fd66,..._0x47826b},'args':[_0x3baa7f],'tdx':_0x1a79c0});gracefulExit(_0x124785);}),agentSyncCmd[a2_0x135762(0x399)](a2_0x135762(0x2ac))[a2_0x135762(0x1b7)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x135762(0x32b)](a2_0x135762(0x373),a2_0x135762(0x341))[a2_0x135762(0x32b)]('--model\x20<name>',a2_0x135762(0x25f),a2_0x135762(0x190))[a2_0x135762(0x32b)](a2_0x135762(0x417),a2_0x135762(0x42e))[a2_0x135762(0x32b)](a2_0x135762(0x3ca),a2_0x135762(0x3b5),'4')[a2_0x135762(0x32b)](a2_0x135762(0x451),a2_0x135762(0x327),a2_0x135762(0x45f))[a2_0x135762(0x24e)](async(_0x1a8d02,_0x482fee)=>{const _0x5b688e=a2_0x135762,_0x5556c0=new LLMAgentCreateCommand(),_0x222463=program[_0x5b688e(0x41e)](),_0x564061=await createTDXInstance(_0x222463),_0x28cfe3=await _0x5556c0[_0x5b688e(0x3b6)]({'options':{..._0x222463,..._0x482fee},'args':[_0x1a8d02],'tdx':_0x564061});gracefulExit(_0x28cfe3);}),agentSyncCmd[a2_0x135762(0x399)](a2_0x135762(0x39d))[a2_0x135762(0x1b7)]('Update\x20an\x20existing\x20agent')[a2_0x135762(0x32b)](a2_0x135762(0x14b),a2_0x135762(0x2b5))[a2_0x135762(0x32b)](a2_0x135762(0x3f6),a2_0x135762(0x46c))['option'](a2_0x135762(0x315),a2_0x135762(0x372))[a2_0x135762(0x32b)]('--starter-message\x20<text>','Starter\x20message')[a2_0x135762(0x24e)](async(_0x298e75,_0x462003)=>{const _0x5340ab=a2_0x135762,_0x3c5fd8=new LLMAgentUpdateCommand(),_0x459aa6=program[_0x5340ab(0x41e)](),_0x567b31=await createTDXInstance(_0x459aa6),_0xbf6da1=await _0x3c5fd8[_0x5340ab(0x3b6)]({'options':{..._0x459aa6,..._0x462003},'args':[_0x298e75],'tdx':_0x567b31});gracefulExit(_0xbf6da1);}),agentSyncCmd[a2_0x135762(0x399)](a2_0x135762(0x2ce))[a2_0x135762(0x1b7)](a2_0x135762(0x204))[a2_0x135762(0x24e)](async(_0x4b20aa,_0x2ad3ee)=>{const _0x572bae=a2_0x135762,_0x194fa8=new LLMAgentDeleteCommand(),_0x5618a6=program[_0x572bae(0x41e)](),_0x3620af=await createTDXInstance(_0x5618a6),_0x1881da=await _0x194fa8['run']({'options':{..._0x5618a6,..._0x2ad3ee},'args':[_0x4b20aa],'tdx':_0x3620af});gracefulExit(_0x1881da);});const workCmd=program['command'](a2_0x135762(0x256))[a2_0x135762(0x1b7)](a2_0x135762(0x3ec));workCmd[a2_0x135762(0x32b)](a2_0x135762(0x1c8),'Show\x20items\x20updated\x20within\x20N\x20days')[a2_0x135762(0x32b)](a2_0x135762(0x2a3),a2_0x135762(0x385))['action'](workSummaryAction),workCmd['command']('init\x20[name]')['description'](a2_0x135762(0x2f4))[a2_0x135762(0x32b)](a2_0x135762(0x3d3),a2_0x135762(0x1f1))['action'](workInitAction),workCmd[a2_0x135762(0x399)]('new\x20<title>')[a2_0x135762(0x1b7)](a2_0x135762(0x23b))[a2_0x135762(0x32b)]('--kind\x20<kind>','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)',a2_0x135762(0x225))[a2_0x135762(0x32b)]('--tags\x20<tags>',a2_0x135762(0x42c))[a2_0x135762(0x32b)]('--priority\x20<priority>',a2_0x135762(0x3d1))['option'](a2_0x135762(0x2e4),a2_0x135762(0x321))[a2_0x135762(0x32b)]('--template\x20<name>',a2_0x135762(0x141))[a2_0x135762(0x32b)](a2_0x135762(0x179),a2_0x135762(0x1e4))['option'](a2_0x135762(0x431),a2_0x135762(0x2a8))[a2_0x135762(0x24e)](workNewAction),workCmd[a2_0x135762(0x399)]('move\x20<name>\x20<status>')[a2_0x135762(0x1b7)](a2_0x135762(0x2e0))[a2_0x135762(0x24e)](workMoveAction),workCmd['command'](a2_0x135762(0x3fa))['description']('Show\x20Kanban\x20board\x20view\x20of\x20tasks')[a2_0x135762(0x32b)]('--days\x20<n>',a2_0x135762(0x32a))[a2_0x135762(0x32b)](a2_0x135762(0x2a3),a2_0x135762(0x385))[a2_0x135762(0x24e)](workBoardAction),workCmd[a2_0x135762(0x399)](a2_0x135762(0x450))[a2_0x135762(0x1b7)](a2_0x135762(0x22c))[a2_0x135762(0x24e)](workShowAction),workCmd[a2_0x135762(0x399)](a2_0x135762(0x31b))[a2_0x135762(0x1b7)](a2_0x135762(0x2dd))[a2_0x135762(0x24e)](workLinksAction),workCmd['command'](a2_0x135762(0x3ed))[a2_0x135762(0x1b7)](a2_0x135762(0x26b))[a2_0x135762(0x24e)](workOpenAction),program[a2_0x135762(0x399)](a2_0x135762(0x376),{'hidden':!![]})[a2_0x135762(0x24e)](()=>{const _0x417941=a2_0x135762;function _0x200677(_0x4450ea,_0x2ea800){const _0x26d45f=a2_0x168f,_0x293ed1=[];for(const _0x352b6d of _0x4450ea[_0x26d45f(0x27c)]){if(_0x352b6d[_0x26d45f(0x1b2)])continue;const _0x6727d7=_0x2ea800?_0x2ea800+'\x20'+_0x352b6d['name']():_0x352b6d[_0x26d45f(0x2a4)](),_0x43eadb=_0x6727d7[_0x26d45f(0x318)]('\x20')[0x0],_0x110e42=COMMAND_CATEGORIES[_0x26d45f(0x393)](_0x1df25a=>_0x1df25a[_0x26d45f(0x27c)][_0x26d45f(0x25e)](_0x43eadb)),_0x4d7927=_0x110e42?.[_0x26d45f(0x2a4)]??'';if(_0x352b6d[_0x26d45f(0x27c)][_0x26d45f(0x2b3)]>0x0)_0x293ed1['push'](..._0x200677(_0x352b6d,_0x6727d7));else{const _0x25951b=(_0x352b6d['registeredArguments']||[])['map'](_0x4ac698=>{const _0x2842f8=_0x26d45f,_0x300c3f=_0x4ac698[_0x2842f8(0x271)]?_0x4ac698[_0x2842f8(0x2a4)]()+_0x2842f8(0x17b):_0x4ac698['name']();return _0x4ac698[_0x2842f8(0x402)]?'<'+_0x300c3f+'>':'['+_0x300c3f+']';})[_0x26d45f(0x26c)]('\x20'),_0xcf8e85=_0x352b6d['options'][_0x26d45f(0x279)](_0x43a5c9=>!_0x43a5c9['hidden']&&_0x43a5c9[_0x26d45f(0x3e5)]!==_0x26d45f(0x2fd))[_0x26d45f(0x15f)](_0x174560=>({'flags':_0x174560[_0x26d45f(0x253)],'description':_0x174560[_0x26d45f(0x1b7)]}));_0x293ed1[_0x26d45f(0x344)]({'name':_0x6727d7,'description':_0x352b6d[_0x26d45f(0x1b7)](),'group':_0x4d7927,'usage':_0x25951b,'options':_0xcf8e85});}}return _0x293ed1;}console['log'](JSON[_0x417941(0x203)](_0x200677(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x564a30=a2_0x135762,_0xce78c1=!process[_0x564a30(0x192)]['slice'](0x2)[_0x564a30(0x2b3)];showBriefHelp=_0xce78c1,program[_0x564a30(0x333)](process[_0x564a30(0x192)]);_0xce78c1&&program[_0x564a30(0x364)]();const _0x48adf3=process[_0x564a30(0x192)][0x2]===_0x564a30(0x3b1);if(process[_0x564a30(0x25b)]['isTTY']&&process[_0x564a30(0x192)][_0x564a30(0x2b3)]>0x2&&!isDevVersion()&&!_0x48adf3){const _0x51f3c1=loadReleaseChannel();checkForUpdate(currentVersion,_0x51f3c1)[_0x564a30(0x45e)](_0x27914d=>{_0x27914d&&displayUpdateNotification(_0x27914d);})[_0x564a30(0x2c8)](()=>{});}}
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)](()=>{});}}