@treasuredata/tdx 2026.8.5 → 2026.8.6

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 (276) hide show
  1. package/README.md +1 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/build-info.json +3 -3
  4. package/dist/cli-categories.d.ts +1 -1
  5. package/dist/cli-categories.js +1 -1
  6. package/dist/cli-categories.js.map +1 -1
  7. package/dist/cli.d.ts.map +1 -1
  8. package/dist/cli.js +1 -1
  9. package/dist/cli.js.map +1 -1
  10. package/dist/commands/activations.js +1 -1
  11. package/dist/commands/agent-command.js +1 -1
  12. package/dist/commands/agent-test-command.js +1 -1
  13. package/dist/commands/api-command.js +1 -1
  14. package/dist/commands/auth-command.js +1 -1
  15. package/dist/commands/cas-command.js +1 -1
  16. package/dist/commands/cas-segment-command.js +1 -1
  17. package/dist/commands/chat-command.js +1 -1
  18. package/dist/commands/claude-command.js +1 -1
  19. package/dist/commands/claude-statusline-command.js +1 -1
  20. package/dist/commands/claude-usage-command.js +1 -1
  21. package/dist/commands/codex-command.d.ts +51 -0
  22. package/dist/commands/codex-command.d.ts.map +1 -0
  23. package/dist/commands/codex-command.js +1 -0
  24. package/dist/commands/codex-command.js.map +1 -0
  25. package/dist/commands/command.js +1 -1
  26. package/dist/commands/connection-command.js +1 -1
  27. package/dist/commands/databases.js +1 -1
  28. package/dist/commands/delivery-command.js +1 -1
  29. package/dist/commands/describe.js +1 -1
  30. package/dist/commands/engage-always-on-campaign-pull-command.js +1 -1
  31. package/dist/commands/engage-always-on-campaign-push-command.js +1 -1
  32. package/dist/commands/engage-always-on-campaign-validate-command.js +1 -1
  33. package/dist/commands/engage-campaign-pull-command.js +1 -1
  34. package/dist/commands/engage-campaign-push-command.js +1 -1
  35. package/dist/commands/engage-campaign-validate-command.js +1 -1
  36. package/dist/commands/engage-command.d.ts.map +1 -1
  37. package/dist/commands/engage-command.js +1 -1
  38. package/dist/commands/engage-command.js.map +1 -1
  39. package/dist/commands/engage-template-pull-command.js +1 -1
  40. package/dist/commands/engage-template-push-command.js +1 -1
  41. package/dist/commands/engage-template-validate-command.js +1 -1
  42. package/dist/commands/job-command.js +1 -1
  43. package/dist/commands/journey-command.js +1 -1
  44. package/dist/commands/journey-validate-command.js +1 -1
  45. package/dist/commands/llm-command.js +1 -1
  46. package/dist/commands/mcp-command.js +1 -1
  47. package/dist/commands/p13n-command.js +1 -1
  48. package/dist/commands/parent-segment-command.js +1 -1
  49. package/dist/commands/policy-command.js +1 -1
  50. package/dist/commands/profile-command.js +1 -1
  51. package/dist/commands/profiles-command.js +1 -1
  52. package/dist/commands/query-command.js +1 -1
  53. package/dist/commands/schedule-command.js +1 -1
  54. package/dist/commands/segment-command.js +1 -1
  55. package/dist/commands/segment-create-command.js +1 -1
  56. package/dist/commands/segment-fields-command.js +1 -1
  57. package/dist/commands/segment-move-command.js +1 -1
  58. package/dist/commands/segment-pull-command.js +1 -1
  59. package/dist/commands/segment-push-command.js +1 -1
  60. package/dist/commands/segment-update-command.js +1 -1
  61. package/dist/commands/segment-use-command.js +1 -1
  62. package/dist/commands/segment-validate-command.js +1 -1
  63. package/dist/commands/segments.js +1 -1
  64. package/dist/commands/show.js +1 -1
  65. package/dist/commands/status-command.js +1 -1
  66. package/dist/commands/table-deleted.js +1 -1
  67. package/dist/commands/tables.js +1 -1
  68. package/dist/commands/unset-command.js +1 -1
  69. package/dist/commands/upgrade-command.js +1 -1
  70. package/dist/commands/use-command.js +1 -1
  71. package/dist/commands/user-command.js +1 -1
  72. package/dist/commands/work-command.js +1 -1
  73. package/dist/commands/workflow-command.js +1 -1
  74. package/dist/core/auth.js +1 -1
  75. package/dist/core/command-output.js +1 -1
  76. package/dist/core/config.js +1 -1
  77. package/dist/core/connection-cache.js +1 -1
  78. package/dist/core/constants.js +1 -1
  79. package/dist/core/credential-cache.js +1 -1
  80. package/dist/core/global-context.js +1 -1
  81. package/dist/core/keychain.js +1 -1
  82. package/dist/core/oauth-keychain.js +1 -1
  83. package/dist/core/oauth.js +1 -1
  84. package/dist/core/profile.js +1 -1
  85. package/dist/core/project-config.js +1 -1
  86. package/dist/core/session.js +1 -1
  87. package/dist/core/site-mismatch.js +1 -1
  88. package/dist/core/user-cache.js +1 -1
  89. package/dist/core/version.d.ts +3 -3
  90. package/dist/core/version.d.ts.map +1 -1
  91. package/dist/core/version.js +1 -1
  92. package/dist/core/version.js.map +1 -1
  93. package/dist/index.js +1 -1
  94. package/dist/mcp/server.js +1 -1
  95. package/dist/mcp/tools/index.js +1 -1
  96. package/dist/mcp/tools/tdx-run.js +1 -1
  97. package/dist/mcp/tools/tdx-search.js +1 -1
  98. package/dist/mcp/tools/work-create-item.js +1 -1
  99. package/dist/mcp/utils.js +1 -1
  100. package/dist/proxy/claude-usage-tracker.js +1 -1
  101. package/dist/proxy/passthrough-server.js +1 -1
  102. package/dist/proxy/sse-usage-parser.js +1 -1
  103. package/dist/sdk/agent/agent-config.js +1 -1
  104. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  105. package/dist/sdk/agent/agent-yaml.js +1 -1
  106. package/dist/sdk/agent/test/evaluator.js +1 -1
  107. package/dist/sdk/agent/test/executor.js +1 -1
  108. package/dist/sdk/agent/test/index.js +1 -1
  109. package/dist/sdk/agent/test/output.js +1 -1
  110. package/dist/sdk/agent/test/parser.js +1 -1
  111. package/dist/sdk/agent/tool-target-registry.js +1 -1
  112. package/dist/sdk/api.js +1 -1
  113. package/dist/sdk/auth-token.js +1 -1
  114. package/dist/sdk/cas/cas-api-client.js +1 -1
  115. package/dist/sdk/cas/cas-audience-schema.js +1 -1
  116. package/dist/sdk/cas/cas-audience-validator.js +1 -1
  117. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  118. package/dist/sdk/cas/cas-segment-schema.js +1 -1
  119. package/dist/sdk/cas/cas-segment-validator.js +1 -1
  120. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  121. package/dist/sdk/cas/index.js +1 -1
  122. package/dist/sdk/cas/pull-workflow.js +1 -1
  123. package/dist/sdk/cas/push-workflow.js +1 -1
  124. package/dist/sdk/cas/validate-files.js +1 -1
  125. package/dist/sdk/client/cdp-api-client.js +1 -1
  126. package/dist/sdk/client/delivery-api-client.js +1 -1
  127. package/dist/sdk/client/endpoints.js +1 -1
  128. package/dist/sdk/client/engage-api-client.js +1 -1
  129. package/dist/sdk/client/http-client.js +1 -1
  130. package/dist/sdk/client/llm-api-client.js +1 -1
  131. package/dist/sdk/client/oauth-refresh.js +1 -1
  132. package/dist/sdk/client/p13n-studio-api-client.js +1 -1
  133. package/dist/sdk/client/rate-limiter.js +1 -1
  134. package/dist/sdk/client/td-api-client.js +1 -1
  135. package/dist/sdk/client/trino-api-client.js +1 -1
  136. package/dist/sdk/client/workflow-client.js +1 -1
  137. package/dist/sdk/connection-validator.js +1 -1
  138. package/dist/sdk/connection.js +1 -1
  139. package/dist/sdk/delivery.js +1 -1
  140. package/dist/sdk/engage/always-on-campaign-pull.js +1 -1
  141. package/dist/sdk/engage/always-on-campaign-push.js +1 -1
  142. package/dist/sdk/engage/always-on-campaign-validator.js +1 -1
  143. package/dist/sdk/engage/always-on-campaign-yaml.d.ts.map +1 -1
  144. package/dist/sdk/engage/always-on-campaign-yaml.js +1 -1
  145. package/dist/sdk/engage/always-on-campaign-yaml.js.map +1 -1
  146. package/dist/sdk/engage/campaign-pull.js +1 -1
  147. package/dist/sdk/engage/campaign-push.js +1 -1
  148. package/dist/sdk/engage/campaign-validator.js +1 -1
  149. package/dist/sdk/engage/campaign-yaml.d.ts.map +1 -1
  150. package/dist/sdk/engage/campaign-yaml.js +1 -1
  151. package/dist/sdk/engage/campaign-yaml.js.map +1 -1
  152. package/dist/sdk/engage/template-pull.js +1 -1
  153. package/dist/sdk/engage/template-push.js +1 -1
  154. package/dist/sdk/engage/template-validator.js +1 -1
  155. package/dist/sdk/engage/template-yaml.d.ts.map +1 -1
  156. package/dist/sdk/engage/template-yaml.js +1 -1
  157. package/dist/sdk/engage/template-yaml.js.map +1 -1
  158. package/dist/sdk/engage/types/always-on-campaign-schema.d.ts +1 -0
  159. package/dist/sdk/engage/types/always-on-campaign-schema.d.ts.map +1 -1
  160. package/dist/sdk/engage/types/always-on-campaign-schema.js +1 -1
  161. package/dist/sdk/engage/types/campaign-def.js +1 -1
  162. package/dist/sdk/engage/types/campaign-schema.d.ts +2 -0
  163. package/dist/sdk/engage/types/campaign-schema.d.ts.map +1 -1
  164. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  165. package/dist/sdk/engage/types/campaign-schema.js.map +1 -1
  166. package/dist/sdk/engage/types/template-schema.d.ts +1 -0
  167. package/dist/sdk/engage/types/template-schema.d.ts.map +1 -1
  168. package/dist/sdk/engage/types/template-schema.js +1 -1
  169. package/dist/sdk/engage/types/template-schema.js.map +1 -1
  170. package/dist/sdk/engage.js +1 -1
  171. package/dist/sdk/errors.js +1 -1
  172. package/dist/sdk/index.js +1 -1
  173. package/dist/sdk/io/index.js +1 -1
  174. package/dist/sdk/io/node-filesystem.js +1 -1
  175. package/dist/sdk/job.js +1 -1
  176. package/dist/sdk/journey.js +1 -1
  177. package/dist/sdk/llm/chat-cache.js +1 -1
  178. package/dist/sdk/llm/index.js +1 -1
  179. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  180. package/dist/sdk/llm/model-factors.js +1 -1
  181. package/dist/sdk/llm/user-settings.js +1 -1
  182. package/dist/sdk/p13n-studio.js +1 -1
  183. package/dist/sdk/personalization.js +1 -1
  184. package/dist/sdk/policy.js +1 -1
  185. package/dist/sdk/query/deleted-table-validation.js +1 -1
  186. package/dist/sdk/query/index.js +1 -1
  187. package/dist/sdk/query/sql-parser.js +1 -1
  188. package/dist/sdk/realtime.js +1 -1
  189. package/dist/sdk/schedule.js +1 -1
  190. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  191. package/dist/sdk/segment/fields-display.js +1 -1
  192. package/dist/sdk/segment/file-discovery.js +1 -1
  193. package/dist/sdk/segment/journey-utils.js +1 -1
  194. package/dist/sdk/segment/journey-validator.js +1 -1
  195. package/dist/sdk/segment/journey-yaml.js +1 -1
  196. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  197. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  198. package/dist/sdk/segment/pull-workflow.js +1 -1
  199. package/dist/sdk/segment/push-recovery.js +1 -1
  200. package/dist/sdk/segment/push-workflow.js +1 -1
  201. package/dist/sdk/segment/resolution-context.js +1 -1
  202. package/dist/sdk/segment/segment-path-parser.js +1 -1
  203. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  204. package/dist/sdk/segment/segment-validator.js +1 -1
  205. package/dist/sdk/segment/target-resolution.js +1 -1
  206. package/dist/sdk/segment/tdx-config.js +1 -1
  207. package/dist/sdk/segment/types/activation-schema.js +1 -1
  208. package/dist/sdk/segment/types/journey-def.js +1 -1
  209. package/dist/sdk/segment/types/journey-schema.js +1 -1
  210. package/dist/sdk/segment/types/segment-def.js +1 -1
  211. package/dist/sdk/segment/types/segment-schema.js +1 -1
  212. package/dist/sdk/segment/validate-files.js +1 -1
  213. package/dist/sdk/segment/yaml-validator.js +1 -1
  214. package/dist/sdk/segment.js +1 -1
  215. package/dist/sdk/types/engage.d.ts +8 -0
  216. package/dist/sdk/types/engage.d.ts.map +1 -1
  217. package/dist/sdk/types/index.js +1 -1
  218. package/dist/sdk/types/progress.js +1 -1
  219. package/dist/sdk/types/workspace.js +1 -1
  220. package/dist/sdk/user.js +1 -1
  221. package/dist/sdk/util/format-detector.js +1 -1
  222. package/dist/sdk/util/formatters.js +1 -1
  223. package/dist/sdk/util/index.js +1 -1
  224. package/dist/sdk/util/paginate.js +1 -1
  225. package/dist/sdk/util/tree-formatter.js +1 -1
  226. package/dist/sdk/util/tree-search.js +1 -1
  227. package/dist/sdk/workflow/archive-validation.js +1 -1
  228. package/dist/sdk/workflow/clone-workflow.js +1 -1
  229. package/dist/sdk/workflow/index.js +1 -1
  230. package/dist/sdk/workflow/pull-workflow.js +1 -1
  231. package/dist/sdk/workflow/push-workflow.js +1 -1
  232. package/dist/sdk/workflow/task-graph.js +1 -1
  233. package/dist/sdk/workflow/tdx-config.js +1 -1
  234. package/dist/sdk/workflow/workflow-utils.js +1 -1
  235. package/dist/sdk/workspace/access-tracker.js +1 -1
  236. package/dist/sdk/workspace/frontmatter.js +1 -1
  237. package/dist/sdk/workspace/git.js +1 -1
  238. package/dist/sdk/workspace/index.js +1 -1
  239. package/dist/sdk/workspace/templates.js +1 -1
  240. package/dist/sdk/workspace/weekly.js +1 -1
  241. package/dist/sdk/workspace/wikilinks.js +1 -1
  242. package/dist/test-utils/command-runner.js +1 -1
  243. package/dist/test-utils/factories.js +1 -1
  244. package/dist/test-utils/fixtures.js +1 -1
  245. package/dist/test-utils/http-mock.js +1 -1
  246. package/dist/test-utils/index.js +1 -1
  247. package/dist/utils/async.js +1 -1
  248. package/dist/utils/claude-code-state.js +1 -1
  249. package/dist/utils/colors.js +1 -1
  250. package/dist/utils/diff.js +1 -1
  251. package/dist/utils/file-permissions.js +1 -1
  252. package/dist/utils/file-reader.js +1 -1
  253. package/dist/utils/github-releases.js +1 -1
  254. package/dist/utils/global-cache.js +1 -1
  255. package/dist/utils/json-loader.js +1 -1
  256. package/dist/utils/local-cache.js +1 -1
  257. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  258. package/dist/utils/logger/formatters/index.js +1 -1
  259. package/dist/utils/logger/handlers/console-handler.js +1 -1
  260. package/dist/utils/logger/handlers/file-handler.js +1 -1
  261. package/dist/utils/logger/handlers/index.js +1 -1
  262. package/dist/utils/logger/handlers/null-handler.js +1 -1
  263. package/dist/utils/logger/index.js +1 -1
  264. package/dist/utils/logger/logger.js +1 -1
  265. package/dist/utils/logger/types.js +1 -1
  266. package/dist/utils/option-validation.js +1 -1
  267. package/dist/utils/process.js +1 -1
  268. package/dist/utils/prompt.js +1 -1
  269. package/dist/utils/proxy-fetch.js +1 -1
  270. package/dist/utils/spinner.js +1 -1
  271. package/dist/utils/sse-parser.js +1 -1
  272. package/dist/utils/string-utils.js +1 -1
  273. package/dist/utils/table-ref-parser.js +1 -1
  274. package/dist/utils/tdx-logger.js +1 -1
  275. package/dist/utils/version-check.js +1 -1
  276. package/package.json +2 -47
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x4dbb55=a2_0x472e;(function(_0x1c0bb9,_0x5aad48){const _0x5d0a43=a2_0x472e,_0x362763=_0x1c0bb9();while(!![]){try{const _0x4cbd83=-parseInt(_0x5d0a43(0x324))/0x1+-parseInt(_0x5d0a43(0x384))/0x2+parseInt(_0x5d0a43(0x376))/0x3*(-parseInt(_0x5d0a43(0x291))/0x4)+-parseInt(_0x5d0a43(0x357))/0x5*(-parseInt(_0x5d0a43(0x1c2))/0x6)+parseInt(_0x5d0a43(0x3f1))/0x7*(parseInt(_0x5d0a43(0x224))/0x8)+-parseInt(_0x5d0a43(0x333))/0x9*(parseInt(_0x5d0a43(0x217))/0xa)+-parseInt(_0x5d0a43(0x174))/0xb*(-parseInt(_0x5d0a43(0x30e))/0xc);if(_0x4cbd83===_0x5aad48)break;else _0x362763['push'](_0x362763['shift']());}catch(_0x4bed33){_0x362763['push'](_0x362763['shift']());}}}(a2_0x7fbe,0xa2a79));import a2_0x2c88d1 from'chalk';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{printSDKError}from'./commands/command.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{TableDeletedCommand,TableRecoverCommand}from'./commands/table-deleted.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{SegmentMoveCommand}from'./commands/segment-move-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,JourneyRunCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand,EngageMediaUploadCommand,EngageMediaLsCommand,EngageMediaMkdirCommand,EngageMediaRmCommand,EngageMediaRmdirCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageAlwaysOnCampaignPullCommand}from'./commands/engage-always-on-campaign-pull-command.js';import{EngageAlwaysOnCampaignPushCommand}from'./commands/engage-always-on-campaign-push-command.js';import{EngageAlwaysOnCampaignValidateCommand}from'./commands/engage-always-on-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,AuthTokenCommand,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,CASValidateCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand,CASSegmentPushCommand}from'./commands/cas-segment-command.js';import{P13nListCommand}from'./commands/p13n-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{isApiCommandEnabled,isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x4dbb55(0x218)][a2_0x4dbb55(0x3c0)](a2_0x4dbb55(0x2f9))){let versionOutput=a2_0x4dbb55(0x439)+currentVersion;buildInfo[a2_0x4dbb55(0x19f)]&&!currentVersion[a2_0x4dbb55(0x3c0)](buildInfo[a2_0x4dbb55(0x19f)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x4dbb55(0x3f4)]&&(versionOutput+=a2_0x4dbb55(0x345)+buildInfo['buildTime']),console[a2_0x4dbb55(0x371)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x4138d1,_0x2412b4){const _0x44bb12=a2_0x4dbb55,_0x19ef5f={..._0x4138d1};for(const [_0x334ca6,_0x1b1f09]of Object[_0x44bb12(0x1d4)](_0x2412b4)){_0x1b1f09!==undefined&&(_0x19ef5f[_0x334ca6]=_0x1b1f09);}return _0x19ef5f;}let showBriefHelp=![],description=a2_0x4dbb55(0x435);buildInfo[a2_0x4dbb55(0x19f)]&&!currentVersion[a2_0x4dbb55(0x3c0)](buildInfo[a2_0x4dbb55(0x19f)])?description+=a2_0x4dbb55(0x2de)+currentVersion+'\x20('+buildInfo[a2_0x4dbb55(0x19f)]+')':description+=a2_0x4dbb55(0x2de)+currentVersion;program[a2_0x4dbb55(0x256)](a2_0x4dbb55(0x294))[a2_0x4dbb55(0x2c4)](description),program[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1a8),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x4dbb55(0x1b4)]('-p,\x20--profile\x20<name>',a2_0x4dbb55(0x27f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ef),a2_0x4dbb55(0x2db))['option'](a2_0x4dbb55(0x2b2),a2_0x4dbb55(0x42d))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x31f),a2_0x4dbb55(0x223))['option'](a2_0x4dbb55(0x201),a2_0x4dbb55(0x47e))[a2_0x4dbb55(0x1b4)]('--jsonl',a2_0x4dbb55(0x315))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x26a),a2_0x4dbb55(0x14b))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x380),a2_0x4dbb55(0x2c3))[a2_0x4dbb55(0x1b4)]('--limit\x20<number>',a2_0x4dbb55(0x17a))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x22b),a2_0x4dbb55(0x33b),![])[a2_0x4dbb55(0x1b4)]('--no-color',a2_0x4dbb55(0x2dc),![])[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2b7),a2_0x4dbb55(0x275),![])[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2fe),a2_0x4dbb55(0x26e))[a2_0x4dbb55(0x1b4)]('--trace','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x4dbb55(0x1b4)]('--timeout\x20<seconds>',a2_0x4dbb55(0x305),'30')['option'](a2_0x4dbb55(0x254),a2_0x4dbb55(0x355),![])['option'](a2_0x4dbb55(0x448),a2_0x4dbb55(0x2bc),![])[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x277),a2_0x4dbb55(0x1cb))[a2_0x4dbb55(0x1b4)]('--parent-segment\x20<name>',a2_0x4dbb55(0x19e))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x32c),a2_0x4dbb55(0x2b8)),program['configureHelp']({'formatHelp':(_0x462bab,_0x2f1520)=>{const _0x461f16=a2_0x4dbb55,_0x45b888=_0x2f1520[_0x461f16(0x2bd)](_0x462bab,_0x2f1520),_0x15187a=0x2,_0x50f982=0x2;function _0x5f0102(_0x278c62){const _0x49f49d=_0x461f16,_0x132c96=_0x278c62;return!!(_0x132c96[_0x49f49d(0x251)]||_0x132c96[_0x49f49d(0x157)]);}function _0x39d526(_0x57e90e,_0x1470aa){if(_0x1470aa){const _0x14d95a=''+_0x57e90e['padEnd'](_0x45b888+_0x50f982)+_0x1470aa;return _0x14d95a;}return _0x57e90e;}function _0x32e7f6(_0x4ef505){const _0x1fa619=_0x461f16;return _0x4ef505[_0x1fa619(0x403)]('\x0a')[_0x1fa619(0x248)](/^/gm,'\x20'[_0x1fa619(0x420)](_0x15187a));}const _0x54a9c1=[];_0x54a9c1['push'](_0x461f16(0x44b)+_0x2f1520[_0x461f16(0x34f)](_0x462bab));const _0x28934a=_0x2f1520[_0x461f16(0x47b)](_0x462bab);_0x28934a&&(_0x54a9c1['push'](''),_0x54a9c1['push'](_0x28934a));const _0x1215fa=_0x462bab[_0x461f16(0x306)][_0x461f16(0x3b7)](_0xe133e0=>!_0x5f0102(_0xe133e0));if(_0x1215fa[_0x461f16(0x3f7)]>0x0){if(_0x462bab[_0x461f16(0x256)]()===_0x461f16(0x294)){const _0x4b52c3=_0x462bab[_0x461f16(0x45b)](),_0x555e9b=!_0x4b52c3['noColor']&&process[_0x461f16(0x3a6)][_0x461f16(0x37b)],_0x37d918=COMMAND_CATEGORIES,_0x7f03d1=(_0x1a3ca,_0x382ab6)=>_0x555e9b?_0x382ab6(_0x1a3ca):_0x1a3ca,_0xf6a0de=new Map();_0x1215fa[_0x461f16(0x267)](_0xc95b1d=>{const _0x1b0ea0=_0x461f16;_0xf6a0de['set'](_0xc95b1d[_0x1b0ea0(0x256)](),_0xc95b1d);}),_0x37d918[_0x461f16(0x267)](_0x4ece57=>{const _0xa3f3c9=_0x461f16,_0x1eb301=_0x4ece57[_0xa3f3c9(0x306)][_0xa3f3c9(0x438)](_0x429b11=>_0xf6a0de[_0xa3f3c9(0x3f0)](_0x429b11)??[]);if(_0x1eb301[_0xa3f3c9(0x3f7)]>0x0){_0x54a9c1[_0xa3f3c9(0x330)](''),_0x54a9c1[_0xa3f3c9(0x330)](_0x7f03d1(_0x4ece57[_0xa3f3c9(0x256)]+':',_0x4ece57[_0xa3f3c9(0x1a6)]));const _0x3c4f35=_0x1eb301[_0xa3f3c9(0x207)](_0x3b0822=>{const _0x3cdaa=_0xa3f3c9,_0x58d688=_0x2f1520[_0x3cdaa(0x301)](_0x3b0822),_0x5ba448=_0x2f1520[_0x3cdaa(0x1f9)](_0x3b0822);return _0x39d526(_0x58d688,_0x5ba448);});_0x54a9c1[_0xa3f3c9(0x330)](_0x32e7f6(_0x3c4f35));}}),_0x54a9c1[_0x461f16(0x330)](''),_0x54a9c1[_0x461f16(0x330)](_0x461f16(0x3fd));}else{const _0x4e110f=_0x1215fa[_0x461f16(0x207)](_0x8ede81=>{const _0x23bf8d=_0x461f16,_0x1f718c=_0x2f1520[_0x23bf8d(0x301)](_0x8ede81),_0x18cea6=_0x2f1520[_0x23bf8d(0x1f9)](_0x8ede81);return _0x39d526(_0x1f718c,_0x18cea6);});_0x54a9c1[_0x461f16(0x330)](''),_0x54a9c1[_0x461f16(0x330)](_0x461f16(0x1de)),_0x54a9c1[_0x461f16(0x330)](_0x32e7f6(_0x4e110f));}}if(showBriefHelp&&_0x462bab[_0x461f16(0x256)]()==='tdx')_0x54a9c1[_0x461f16(0x330)](''),_0x54a9c1[_0x461f16(0x330)](_0x461f16(0x18d));else{const _0x3769d7=_0x462bab[_0x461f16(0x169)][_0x461f16(0x3b7)](_0x250a08=>!_0x5f0102(_0x250a08));if(_0x3769d7[_0x461f16(0x3f7)]>0x0){const _0x3402ea=_0x3769d7[_0x461f16(0x207)](_0x1c13fe=>{const _0x5c17c3=_0x461f16,_0x2410e9=_0x2f1520[_0x5c17c3(0x387)](_0x1c13fe),_0x5054a6=_0x2f1520['optionDescription'](_0x1c13fe);return _0x39d526(_0x2410e9,_0x5054a6);});_0x54a9c1[_0x461f16(0x330)](''),_0x54a9c1['push'](_0x461f16(0x1b9)),_0x54a9c1[_0x461f16(0x330)](_0x32e7f6(_0x3402ea));}}const _0x2a0a1e=(_0x462bab['registeredArguments']||[])['filter'](_0x583fe6=>!_0x5f0102(_0x583fe6));if(_0x2a0a1e[_0x461f16(0x3f7)]>0x0){const _0x2cd47b=_0x2a0a1e[_0x461f16(0x207)](_0x5345ef=>{const _0x4fe51e=_0x461f16,_0x310075=_0x2f1520['argumentTerm'](_0x5345ef),_0x2ea3bc=_0x2f1520[_0x4fe51e(0x46c)](_0x5345ef);return _0x39d526(_0x310075,_0x2ea3bc);});_0x54a9c1[_0x461f16(0x330)](''),_0x54a9c1[_0x461f16(0x330)]('Arguments:'),_0x54a9c1[_0x461f16(0x330)](_0x32e7f6(_0x2cd47b));}return _0x54a9c1[_0x461f16(0x403)]('\x0a')+'\x0a';},'subcommandTerm':_0x404421=>{const _0x3624bf=a2_0x4dbb55,_0x408c24=(_0x404421[_0x3624bf(0x31c)]||[])[_0x3624bf(0x207)](_0x1e348a=>_0x1e348a[_0x3624bf(0x1bd)]?'<'+_0x1e348a[_0x3624bf(0x256)]()+'>':'['+_0x1e348a[_0x3624bf(0x256)]()+']')[_0x3624bf(0x403)]('\x20'),_0x2664b6=_0x404421[_0x3624bf(0x3ed)](),_0x2b0849=_0x2664b6['length']>0x0?_0x404421[_0x3624bf(0x256)]()+',\x20'+_0x2664b6[_0x3624bf(0x403)](',\x20'):_0x404421[_0x3624bf(0x256)]();return _0x408c24?_0x2b0849+'\x20'+_0x408c24:_0x2b0849;}}),program[a2_0x4dbb55(0x178)](a2_0x4dbb55(0x365),_0x4f5f7b=>{const _0x17727b=a2_0x4dbb55,_0x35efe6=_0x4f5f7b['opts']();if(_0x35efe6[_0x17727b(0x2a0)]){const _0x31768f=resolve(_0x35efe6['directory']),_0x5b2859=_0x31768f!==_0x35efe6[_0x17727b(0x2a0)]?_0x17727b(0x461)+_0x31768f+')':'';if(!existsSync(_0x31768f))throw new SDKError(ErrorCode[_0x17727b(0x1d2)],_0x17727b(0x3b6)+_0x35efe6[_0x17727b(0x2a0)]+_0x5b2859,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x3d6372=statSync(_0x31768f);if(!_0x3d6372[_0x17727b(0x39a)]())throw new SDKError(ErrorCode[_0x17727b(0x1d2)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x35efe6[_0x17727b(0x2a0)]+_0x5b2859,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x17727b(0x382)](_0x31768f);}if(!_0x35efe6[_0x17727b(0x353)]){if(_0x35efe6[_0x17727b(0x4a2)])_0x35efe6[_0x17727b(0x353)]='table';else{if(_0x35efe6[_0x17727b(0x1d8)])_0x35efe6[_0x17727b(0x353)]=_0x17727b(0x1d8);else{if(_0x35efe6[_0x17727b(0x272)])_0x35efe6[_0x17727b(0x353)]=_0x17727b(0x272);else _0x35efe6[_0x17727b(0x473)]&&(_0x35efe6[_0x17727b(0x353)]=_0x17727b(0x473));}}}if(_0x35efe6[_0x17727b(0x46f)])_0x35efe6['logLevel']=LogLevel['TRACE'];else{if(_0x35efe6[_0x17727b(0x239)])_0x35efe6[_0x17727b(0x42e)]=LogLevel['DEBUG'];else _0x35efe6['logLevel']===undefined&&(_0x35efe6[_0x17727b(0x42e)]=LogLevel[_0x17727b(0x3d8)]);}});async function createTDXInstance(_0x1af24c,{skipSiteMismatchCheck:skipSiteMismatchCheck=![]}={}){const _0x92fdcd=a2_0x4dbb55;let _0x2c8cb9;try{_0x2c8cb9=await GlobalContext['createAsync'](_0x1af24c,{'skipSiteMismatchCheck':skipSiteMismatchCheck});}catch(_0x18f245){return _0x18f245 instanceof SDKError?printSDKError(_0x18f245):console[_0x92fdcd(0x3a8)](a2_0x2c88d1['red'](_0x92fdcd(0x444)+(_0x18f245 instanceof Error?_0x18f245[_0x92fdcd(0x226)]:String(_0x18f245)))),gracefulExit(0x1),new Promise(()=>{});}_0x2c8cb9['injectIntoOptions'](_0x1af24c);const _0x20a5c2=Number(_0x1af24c[_0x92fdcd(0x44a)]),_0x574745=!isNaN(_0x20a5c2)&&_0x20a5c2>0x0?_0x20a5c2*0x3e8:undefined;return TDX[_0x92fdcd(0x35a)]({'site':_0x2c8cb9[_0x92fdcd(0x425)],'apiKey':_0x2c8cb9['apiKey'],'accessToken':_0x2c8cb9[_0x92fdcd(0x2d5)],'logLevel':_0x2c8cb9[_0x92fdcd(0x42e)],'profile':_0x2c8cb9[_0x92fdcd(0x3bf)],'timeout':_0x574745});}const databaseCmd=program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2c5))['alias']('db')['description']('Database\x20management\x20commands'),databaseListAction=async(_0x570910,_0x1a0592)=>{const _0x4bf470=a2_0x4dbb55,_0x21b1ce=new DatabasesCommand(),_0x329c40=program[_0x4bf470(0x45b)](),_0x2a4fd7=await createTDXInstance(_0x329c40),_0x4cfd3f=await _0x21b1ce[_0x4bf470(0x399)]({'options':{..._0x329c40,..._0x1a0592},'args':_0x570910?[_0x570910]:[],'tdx':_0x2a4fd7});gracefulExit(_0x4cfd3f);};databaseCmd['command']('list\x20[pattern]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x20d))['action'](databaseListAction),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x260),{'hidden':!![]})[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x259))[a2_0x4dbb55(0x204)](databaseListAction),program['command']('chat\x20[message...]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x289))['option']('--agent\x20<ref>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x478),'Start\x20a\x20new\x20chat\x20session')[a2_0x4dbb55(0x1b4)]('--chat-id\x20<id>',a2_0x4dbb55(0x2cf))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x177),a2_0x4dbb55(0x154))[a2_0x4dbb55(0x204)](async(_0x46d23a,_0x26c45f)=>{const _0x1ba0a1=a2_0x4dbb55,_0x512f7a=program[_0x1ba0a1(0x45b)](),_0x4c7c58=await createTDXInstance(_0x512f7a);if(_0x46d23a[0x0]===_0x1ba0a1(0x35a)){const _0x477439=new ChatCreateCommand();gracefulExit(await _0x477439['run']({'options':{..._0x512f7a,..._0x26c45f},'args':_0x46d23a[_0x1ba0a1(0x27d)](0x1),'tdx':_0x4c7c58}));return;}const _0x386e70=new ChatCommand(),_0x4a73f5=await _0x386e70[_0x1ba0a1(0x399)]({'options':{..._0x512f7a,..._0x26c45f},'args':_0x46d23a,'tdx':_0x4c7c58});gracefulExit(_0x4a73f5);});const apiCmd=program[a2_0x4dbb55(0x404)]('api\x20[endpoint]',{'hidden':!isApiCommandEnabled()})['summary']('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs\x20(opt-in)')[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x297))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x419),a2_0x4dbb55(0x41a),'GET')['option'](a2_0x4dbb55(0x412),'Request\x20body\x20as\x20JSON\x20string')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x347),a2_0x4dbb55(0x363))['option']('-H,\x20--header\x20<header>',a2_0x4dbb55(0x164),(_0x1d7106,_0xa7a375)=>{return _0xa7a375?[..._0xa7a375,_0x1d7106]:[_0x1d7106];})['option'](a2_0x4dbb55(0x313),a2_0x4dbb55(0x395),'td')[a2_0x4dbb55(0x204)](async(_0x1ebea2,_0x4908df)=>{const _0x254e69=a2_0x4dbb55;if(!isApiCommandEnabled()){console[_0x254e69(0x3a8)](a2_0x2c88d1['red'](_0x254e69(0x268))),console['error'](''),console[_0x254e69(0x3a8)]('Raw\x20API\x20requests\x20bypass\x20tdx\x27s\x20structured\x20commands\x20and\x20safety\x20checks.'),console[_0x254e69(0x3a8)](_0x254e69(0x199)),console['error'](''),console['error'](a2_0x2c88d1[_0x254e69(0x16e)](_0x254e69(0x3f2))),console[_0x254e69(0x3a8)](''),console[_0x254e69(0x3a8)]('For\x20setup\x20instructions,\x20see\x20https://tdx.treasuredata.com/guide/api-command-safety'),gracefulExit(0x1);return;}if(!_0x1ebea2){apiCmd[_0x254e69(0x3c9)]();return;}const _0x4a9286=new ApiCommand(),_0x5d70d0=program[_0x254e69(0x45b)](),_0x3ac6bf=await createTDXInstance(_0x5d70d0),_0x4c96cc=await _0x4a9286[_0x254e69(0x399)]({'options':{..._0x5d70d0,..._0x4908df},'args':[_0x1ebea2],'tdx':_0x3ac6bf});gracefulExit(_0x4c96cc);});program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x278))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2dd))[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x487))['action'](async _0x1050f5=>{const _0x276497=a2_0x4dbb55,_0x25be1a=new MCPCommand(),_0x381d51=program[_0x276497(0x45b)](),_0x219f3c=await createTDXInstance(_0x381d51),_0x6b2432=await _0x25be1a[_0x276497(0x399)]({'options':{..._0x381d51,..._0x1050f5},'args':[],'tdx':_0x219f3c});gracefulExit(_0x6b2432);});const tableCmd=program[a2_0x4dbb55(0x404)]('table')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x27b)),tableListAction=async(_0x56d887,_0x305662)=>{const _0x173468=a2_0x4dbb55,_0x2917f7=new TablesCommand(),_0x58c112=program[_0x173468(0x45b)](),_0x109c61=await createTDXInstance(_0x58c112);_0x305662['in']&&(_0x305662[_0x173468(0x2c5)]=_0x305662['in']);const _0x5bc3d4=await _0x2917f7[_0x173468(0x399)]({'options':{..._0x58c112,..._0x305662},'args':_0x56d887?[_0x56d887]:[],'tdx':_0x109c61});gracefulExit(_0x5bc3d4);};tableCmd[a2_0x4dbb55(0x404)]('list\x20[pattern]')['description'](a2_0x4dbb55(0x3ca))['option']('-d,\x20--database\x20<database>',a2_0x4dbb55(0x48f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x390),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x4dbb55(0x204)](tableListAction),tableCmd['command'](a2_0x4dbb55(0x210))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1f2))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x492),'Page\x20size\x201-100\x20(default\x2025)')['option'](a2_0x4dbb55(0x282),a2_0x4dbb55(0x2ee))[a2_0x4dbb55(0x204)](async _0x39e583=>{const _0x4c4ab6=a2_0x4dbb55,_0x2c0073=new TableDeletedCommand(),_0x4fa564=program['opts'](),_0x19dfdf=await createTDXInstance(_0x4fa564),_0xd6a65f=await _0x2c0073[_0x4c4ab6(0x399)]({'options':{..._0x4fa564,..._0x39e583},'args':[],'tdx':_0x19dfdf});gracefulExit(_0xd6a65f);}),tableCmd[a2_0x4dbb55(0x404)]('recover\x20<id>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2e7))[a2_0x4dbb55(0x1b4)]('--name\x20<name>','Rename\x20the\x20recovered\x20table\x20(use\x20on\x20409\x20name\x20conflict)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3e5),'Restore\x20into\x20a\x20different\x20database\x20(use\x20on\x20409\x20db\x20conflict)')[a2_0x4dbb55(0x204)](async(_0x13b34f,_0x55a9bd)=>{const _0x2f7d37=a2_0x4dbb55,_0x367fc9=new TableRecoverCommand(),_0x35580d=program['opts'](),_0x44787e=await createTDXInstance(_0x35580d),_0x3a2e18=await _0x367fc9[_0x2f7d37(0x399)]({'options':{..._0x35580d,..._0x55a9bd},'args':[_0x13b34f],'tdx':_0x44787e});gracefulExit(_0x3a2e18);}),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x373),{'hidden':!![]})[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2c7))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x379),a2_0x4dbb55(0x48f))['option'](a2_0x4dbb55(0x390),a2_0x4dbb55(0x3b5))[a2_0x4dbb55(0x204)](tableListAction),program[a2_0x4dbb55(0x404)]('show\x20[table]')['description'](a2_0x4dbb55(0x48c))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x379),a2_0x4dbb55(0x28f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x390),a2_0x4dbb55(0x3b5))[a2_0x4dbb55(0x204)](async(_0x70ec0f,_0x580ec9)=>{const _0x5432a1=a2_0x4dbb55,_0x412f50=new ShowCommand(),_0x350461=program[_0x5432a1(0x45b)](),_0x58c001=await createTDXInstance(_0x350461);_0x580ec9['in']&&(_0x580ec9[_0x5432a1(0x2c5)]=_0x580ec9['in']);const _0xb04ef=await _0x412f50['run']({'options':{..._0x350461,..._0x580ec9},'args':_0x70ec0f?[_0x70ec0f]:[],'tdx':_0x58c001});gracefulExit(_0xb04ef);}),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2ba))['alias'](a2_0x4dbb55(0x410))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x389))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x379),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x390),a2_0x4dbb55(0x3b5))['action'](async(_0x25c03c,_0x1c7233)=>{const _0x2e36c7=a2_0x4dbb55,_0x50ff3a=new DescribeCommand(),_0x5568ca=program[_0x2e36c7(0x45b)](),_0x45b7dc=await createTDXInstance(_0x5568ca);_0x1c7233['in']&&(_0x1c7233[_0x2e36c7(0x2c5)]=_0x1c7233['in']);const _0xeff74a=await _0x50ff3a[_0x2e36c7(0x399)]({'options':{..._0x5568ca,..._0x1c7233},'args':_0x25c03c?[_0x25c03c]:[],'tdx':_0x45b7dc});gracefulExit(_0xeff74a);}),program[a2_0x4dbb55(0x404)]('query\x20[sql]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x41e))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x379),a2_0x4dbb55(0x2b0))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x390),a2_0x4dbb55(0x3b5))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x488),a2_0x4dbb55(0x2d4))[a2_0x4dbb55(0x1b4)]('-f,\x20--file\x20<path>','Read\x20SQL\x20query\x20from\x20file')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x46b),a2_0x4dbb55(0x3df))['action'](async(_0x695a07,_0x55723e)=>{const _0x5a77fc=a2_0x4dbb55,_0x5b6fcc=new QueryCommand(),_0x41546=program[_0x5a77fc(0x45b)](),_0x3cfa2d=await createTDXInstance(_0x41546);_0x55723e['in']&&(_0x55723e['database']=_0x55723e['in']);const _0x214b9a=await _0x5b6fcc['run']({'options':mergeCommandOptions(_0x41546,_0x55723e),'args':_0x695a07?[_0x695a07]:[],'tdx':_0x3cfa2d});gracefulExit(_0x214b9a);});const segmentCmd=program['command'](a2_0x4dbb55(0x221))['alias']('sg')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x298)),segmentListAction=async(_0xc8859f,_0x3589b3)=>{const _0x2563aa=a2_0x4dbb55,_0x440e97=new SegmentsCommand(),_0x3c2de5=program['opts'](),_0x555c0d=await createTDXInstance(_0x3c2de5),_0x26ec3d=await _0x440e97[_0x2563aa(0x399)]({'options':{..._0x3c2de5,..._0x3589b3},'args':_0xc8859f?[_0xc8859f]:[],'tdx':_0x555c0d});gracefulExit(_0x26ec3d);};segmentCmd[a2_0x4dbb55(0x404)]('list\x20[pattern]')['description']('List\x20folders\x20and\x20segments;\x20with\x20-r\x20and\x20a\x20pattern,\x20search\x20the\x20whole\x20tree\x20by\x20name')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3cb),'Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20a\x20plain\x20string\x20matches\x20as\x20a\x20substring,\x20`*`\x20and\x20`?`\x20are\x20wildcards)\x20and\x20print\x20each\x20match\x20with\x20its\x20full\x20folder\x20path\x20for\x20use\x20with\x20`sg\x20move`')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3cc),a2_0x4dbb55(0x1ad),'10')['addHelpText'](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x293))[a2_0x4dbb55(0x204)](segmentListAction),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x21b),{'hidden':!![]})[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3db))[a2_0x4dbb55(0x1b4)]('-r,\x20--recursive','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20substring,\x20with\x20`*`/`?`\x20wildcards)')[a2_0x4dbb55(0x1b4)]('--max-depth\x20<depth>',a2_0x4dbb55(0x1ad),'10')[a2_0x4dbb55(0x204)](segmentListAction),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1ab),{'hidden':!![]})[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x49c))['action'](async(_0x6f891e,_0x5c828c)=>{const _0x3e6722=a2_0x4dbb55,_0xd9b587=new SegmentUseCommand(),_0x3b7644=program[_0x3e6722(0x45b)](),_0x2998bf=await createTDXInstance(_0x3b7644),_0x947279=await _0xd9b587[_0x3e6722(0x399)]({'options':{..._0x3b7644,..._0x5c828c},'args':[_0x6f891e],'tdx':_0x2998bf});gracefulExit(_0x947279);});const segmentViewAction=async(_0x25edfd,_0x16d0d5)=>{const _0x19c76a=a2_0x4dbb55,_0x437950=new SegmentViewCommand(),_0x33f177=program['opts'](),_0x58c28a=await createTDXInstance(_0x33f177),_0x40fc7a=await _0x437950[_0x19c76a(0x399)]({'options':{..._0x33f177,..._0x16d0d5},'args':_0x25edfd?[_0x25edfd]:[],'tdx':_0x58c28a});gracefulExit(_0x40fc7a);};segmentCmd[a2_0x4dbb55(0x404)]('view\x20[segment_name]')['description'](a2_0x4dbb55(0x3ec))['option'](a2_0x4dbb55(0x15c),a2_0x4dbb55(0x230))[a2_0x4dbb55(0x204)](segmentViewAction),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x155),{'hidden':!![]})[a2_0x4dbb55(0x159)]('describe')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x15c),a2_0x4dbb55(0x230))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x160))[a2_0x4dbb55(0x204)](segmentViewAction),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x23a))[a2_0x4dbb55(0x2c4)]('Safely\x20move\x20one\x20or\x20more\x20segments\x20(by\x20ID\x20or\x20name)\x20to\x20a\x20folder\x20—\x20preserves\x20rules')[a2_0x4dbb55(0x29c)]('--folder\x20<folder>',a2_0x4dbb55(0x17c))['option']('--dry-run','Preview\x20the\x20move\x20without\x20changing\x20anything\x20(no\x20data\x20is\x20modified)')[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x229))['action'](async(_0x51b916,_0x5db1de)=>{const _0x3fef89=a2_0x4dbb55,_0x1a3dfa=new SegmentMoveCommand(),_0x2c2c31=program['opts'](),_0x24c64c=await createTDXInstance(_0x2c2c31),_0x5f03c9=await _0x1a3dfa[_0x3fef89(0x399)]({'options':{..._0x2c2c31,..._0x5db1de},'args':_0x51b916,'tdx':_0x24c64c});gracefulExit(_0x5f03c9);}),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x369))[a2_0x4dbb55(0x2c4)]('Show\x20segment\x20schema\x20(column\x20types)')[a2_0x4dbb55(0x204)](async(_0x14c387,_0xab77e0)=>{const _0x58c077=a2_0x4dbb55,_0x3bfbc4=new SegmentDescCommand(),_0x4da01a=program[_0x58c077(0x45b)](),_0x2d3228=await createTDXInstance(_0x4da01a),_0x580a9d=await _0x3bfbc4[_0x58c077(0x399)]({'options':{..._0x4da01a,..._0xab77e0},'args':_0x14c387?[_0x14c387]:[],'tdx':_0x2d3228});gracefulExit(_0x580a9d);}),segmentCmd['command'](a2_0x4dbb55(0x441))[a2_0x4dbb55(0x2c4)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x4dbb55(0x204)](async(_0x1058bc,_0x3d4002)=>{const _0x59e799=a2_0x4dbb55,_0x381070=new SegmentShowCommand(),_0x554966=program[_0x59e799(0x45b)](),_0x151975=await createTDXInstance(_0x554966),_0x23dc51=await _0x381070[_0x59e799(0x399)]({'options':{..._0x554966,..._0x3d4002},'args':_0x1058bc?[_0x1058bc]:[],'tdx':_0x151975});gracefulExit(_0x23dc51);}),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1ba),{'hidden':!![]})['description'](a2_0x4dbb55(0x3bc))[a2_0x4dbb55(0x204)](async(_0x358c17,_0x2e0a25)=>{const _0x5f3f49=a2_0x4dbb55,_0x5f14a7=new SegmentFolderListCommand(),_0x54c22f=program[_0x5f3f49(0x45b)](),_0x1b49ef=await createTDXInstance(_0x54c22f),_0x179274=await _0x5f14a7['run']({'options':{..._0x54c22f,..._0x2e0a25},'args':[_0x358c17],'tdx':_0x1b49ef});gracefulExit(_0x179274);});const folderCmd=segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x386),{'hidden':!![]})[a2_0x4dbb55(0x2c4)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd['command'](a2_0x4dbb55(0x172))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3cf))[a2_0x4dbb55(0x204)](async(_0x4dacb2,_0x41bf6c)=>{const _0x1d115a=new SegmentFolderShowCommand(),_0x1b79b7=program['opts'](),_0x4bcd4c=await createTDXInstance(_0x1b79b7),_0x3b5c9f=await _0x1d115a['run']({'options':{..._0x1b79b7,..._0x41bf6c},'args':[_0x4dacb2],'tdx':_0x4bcd4c});gracefulExit(_0x3b5c9f);}),segmentCmd[a2_0x4dbb55(0x404)]('sql\x20[segment_name]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x26d))['option'](a2_0x4dbb55(0x453),a2_0x4dbb55(0x2fd))[a2_0x4dbb55(0x204)](async(_0xf62480,_0xa2eed0)=>{const _0x46ba3f=a2_0x4dbb55,_0xb713fa=new SegmentSQLCommand(),_0x223bc8=program['opts'](),_0x115ca5=await createTDXInstance(_0x223bc8),_0x2759f7=await _0xb713fa[_0x46ba3f(0x399)]({'options':{..._0x223bc8,..._0xa2eed0},'args':_0xf62480?[_0xf62480]:[],'tdx':_0x115ca5});gracefulExit(_0x2759f7);}),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x391))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x265))[a2_0x4dbb55(0x204)](async(_0x5deb0c,_0x223175)=>{const _0x321f35=a2_0x4dbb55,_0x307b60=new SegmentFieldsCommand(),_0x33ddcb=program['opts'](),_0x5ec08f=await createTDXInstance(_0x33ddcb),_0x1a4170=await _0x307b60[_0x321f35(0x399)]({'options':{..._0x33ddcb,..._0x223175},'args':_0x5deb0c?[_0x5deb0c]:[],'tdx':_0x5ec08f});gracefulExit(_0x1a4170);}),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x308))[a2_0x4dbb55(0x2c4)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x3ce))[a2_0x4dbb55(0x204)](async(_0x3dfd34,_0x1ed99d)=>{const _0x54f7d3=a2_0x4dbb55,_0x521818=new SegmentPullCommand(),_0x45d855=program[_0x54f7d3(0x45b)](),_0x5e8f7d=await createTDXInstance(_0x45d855),_0x12d113=await _0x521818[_0x54f7d3(0x399)]({'options':{..._0x45d855,..._0x1ed99d},'args':_0x3dfd34?[_0x3dfd34]:[],'tdx':_0x5e8f7d});gracefulExit(_0x12d113);}),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3f6))[a2_0x4dbb55(0x2c4)]('Push\x20YAML\x20files\x20to\x20Treasure\x20AI\x20as\x20child\x20segments')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x3ce))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x162),a2_0x4dbb55(0x457))[a2_0x4dbb55(0x204)](async(_0x2ea786,_0x5aabc8)=>{const _0x525659=a2_0x4dbb55,_0x164e4c=new SegmentPushCommand(),_0x10cf0f=program[_0x525659(0x45b)](),_0x1cc9ce=await createTDXInstance(_0x10cf0f),_0x2e0fb3=await _0x164e4c[_0x525659(0x399)]({'options':{..._0x10cf0f,..._0x5aabc8},'args':_0x2ea786?[_0x2ea786]:[],'tdx':_0x1cc9ce});gracefulExit(_0x2e0fb3);}),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x460))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x471))[a2_0x4dbb55(0x204)](async(_0x195c03,_0x3a9e58)=>{const _0x45e0eb=a2_0x4dbb55,_0x2fd07d=new SegmentValidateCommand(),_0x3b495e=program[_0x45e0eb(0x45b)](),_0x548835=await createTDXInstance(_0x3b495e),_0x1956b5=await _0x2fd07d[_0x45e0eb(0x399)]({'options':{..._0x3b495e,..._0x3a9e58},'args':_0x195c03?[_0x195c03]:[],'tdx':_0x548835});gracefulExit(_0x1956b5);}),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x35d),{'hidden':!![]})[a2_0x4dbb55(0x2c4)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),'Segment\x20description')['option'](a2_0x4dbb55(0x292),a2_0x4dbb55(0x3c6))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1b5),a2_0x4dbb55(0x233))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1b6),a2_0x4dbb55(0x1ff))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2b9),a2_0x4dbb55(0x1f3))[a2_0x4dbb55(0x1b4)]('--invisible','Make\x20segment\x20invisible\x20(default:\x20visible)')['option']('--no-count-population',a2_0x4dbb55(0x25c))[a2_0x4dbb55(0x204)](async(_0x310fe3,_0x184452)=>{const _0xd6865c=a2_0x4dbb55,_0x348537=new SegmentCreateCommand(),_0x28de9a=program[_0xd6865c(0x45b)](),_0x35b77c=await createTDXInstance(_0x28de9a),_0x242cac=await _0x348537[_0xd6865c(0x399)]({'options':{..._0x28de9a,..._0x184452},'args':[_0x310fe3],'tdx':_0x35b77c});gracefulExit(_0x242cac);}),segmentCmd['command']('update\x20<segment_name>',{'hidden':!![]})['description'](a2_0x4dbb55(0x494))['option'](a2_0x4dbb55(0x467),a2_0x4dbb55(0x3b2))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),'Updated\x20description')['option'](a2_0x4dbb55(0x292),a2_0x4dbb55(0x40b))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1b5),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x4dbb55(0x1b6),a2_0x4dbb55(0x3a5))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2b9),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x4dbb55(0x204)](async(_0xa7ff1c,_0x34dee8)=>{const _0x1d9162=a2_0x4dbb55,_0x5d7b70=new SegmentUpdateCommand(),_0x2f30ca=program[_0x1d9162(0x45b)](),_0x31d341=await createTDXInstance(_0x2f30ca),_0x3dceb9=await _0x5d7b70[_0x1d9162(0x399)]({'options':{..._0x2f30ca,..._0x34dee8},'args':[_0xa7ff1c],'tdx':_0x31d341});gracefulExit(_0x3dceb9);});const parentCmd=segmentCmd['command']('parent',{'hidden':!![]})[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x34c)),parentListAction=async(_0x2d75e7,_0x41f9b2)=>{const _0x3a08cd=a2_0x4dbb55,_0x5e9fe5=new ParentSegmentListCommand(),_0x174dbd=program[_0x3a08cd(0x45b)](),_0x45c2cb=await createTDXInstance(_0x174dbd),_0x1741cb=await _0x5e9fe5[_0x3a08cd(0x399)]({'options':{..._0x174dbd,..._0x41f9b2},'args':_0x2d75e7?[_0x2d75e7]:[],'tdx':_0x45c2cb});gracefulExit(_0x1741cb);};function a2_0x7fbe(){const _0x268328=['Behaviors\x20from\x20JSON\x20file','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','desc','retry\x20<session-id>','--data\x20<data>','--all','Query\x20engine\x20version','--customer-group-file\x20<file>','Resume\x20a\x20paused\x20journey','Assignee','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','-X,\x20--method\x20<method>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','clone\x20[source]','--full','Delete\x20the\x20named\x20segment\x20instead\x20of\x20creating/updating\x20it\x20(single\x20segment\x20only,\x20not\x20a\x20directory\x20prune\x20—\x20disabled\x20by\x20default)','Run\x20Trino\x20query\x20with\x20streaming\x20results','--interval\x20<range>','repeat','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20AI','--enriched','mkdir\x20<path>','site','Delete\x20a\x20realtime\x20personalization','Set\x20or\x20show\x20parent\x20segment\x20context','New\x20workspace\x20name','Push\x20YAML\x20files\x20to\x20CAS\x20API','Workspace\x20management','split','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','logLevel','resume\x20<name-or-id>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','List\x20all\x20versions\x20of\x20a\x20journey','Disable\x20a\x20workflow\x20schedule','kill','Interactive\x20chat\x20selector','AI-native\x20CLI\x20for\x20Treasure\x20AI','--from\x20<n>','Create\x20a\x20directory\x20in\x20Engage\x20DAM','flatMap','tdx\x20','resume\x20<name-or-path>','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Starting\x20offset\x20(default:\x200)','Preview\x20changes\x20without\x20pushing','--attributes-file\x20<file>','--model\x20<name>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','show\x20[segment_name]','--in\x20<db>','parents\x20[pattern]','Error:\x20','show\x20<name-or-id>','Create\x20a\x20new\x20always-on\x20campaign','Force\x20an\x20MCP\x20server\x20and\x20TD\x20skills\x20refresh\x20(normally\x20automatic)','-y,\x20--yes','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','timeout','Usage:\x20','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Invalid\x20--limit\x20value:\x20\x22','Parent\x20segment\x20management','Read\x20query\x20from\x20file','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','--json-columns\x20<cols>','--path\x20<file-path>','show\x20<service_id>\x20[parent_segment]','create\x20<name>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--from\x20<date>','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','\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','opts','campaigns\x20[pattern]','Validate\x20template\x20YAML\x20files\x20locally','Duplicate\x20a\x20campaign','--version\x20<number>','validate\x20[target]','\x20(resolved\x20to\x20','run\x20<name-or-path>','Create\x20a\x20workspace','List\x20activations\x20for\x20a\x20journey','Include\x20retried\x20attempts','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--name\x20<new_name>','Validate\x20campaign\x20YAML\x20files\x20locally','Enable\x20UTM\x20tracking','--engine-version\x20<version>','--limit\x20<rows>','argumentDescription','Database\x20name','Continue\x20most\x20recent\x20conversation','trace','Updated\x20schedule\x20option','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--days\x20<n>','tsv','Transition\x20a\x20task\x20to\x20a\x20new\x20status','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Parent\x20folder\x20name\x20for\x20nested\x20folders','show\x20<personalization_id>','--new','--include-subtasks','--name\x20<text>','commandDescription','schedules\x20[project.workflow]','Get\x20job\x20results','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--system-prompt\x20<text>','Comma-separated\x20tags','pause\x20<name-or-id>','upload\x20[project-name-or-dir]','--verbose','Show\x20only\x20master\x20table\x20validation','Show\x20schedule\x20execution\x20history','schedule','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20AI\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','--catalog\x20<catalog>','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','-1d','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','project','Create\x20a\x20new\x20LLM\x20project','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Download\x20workflow\x20project\x20from\x20Treasure\x20AI','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--page-size\x20<n>','Delete\x20an\x20agent','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','use\x20<project-name>','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','--dir\x20<dir>','stringify','validate\x20[path]','Resume\x20from\x20specific\x20task\x20(retry)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--to\x20<date>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','agents\x20[pattern]','catch','Composable\x20audience\x20name','table','--time\x20<iso8601>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','\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','--method\x20<pm>','engage','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','create\x20<name-or-path>','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','info\x20[segment_name]','board','hidden','push\x20[path]','alias','validate\x20[file]','Output\x20file\x20path','-w,\x20--web','disable\x20<id>','Include\x20retried\x20attempts\x20(for\x20list)','Version\x20number\x20to\x20view','Show\x20segment\x20details\x20(alias\x20for\x20view)','Pause\x20a\x20running\x20journey','--delete','Pull\x20campaigns\x20to\x20YAML\x20files','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Update\x20an\x20existing\x20agent','use\x20[name]','delete\x20<args...>','patch\x20<personalization_id>','options','claude\x20[args...]','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','history\x20[chat-id]','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','yellow','session','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--name\x20<name>','show\x20<folder_ref>','Name\x20for\x20the\x20duplicated\x20campaign','11zDHKZr','[attempt-id]','Updated\x20description','--stream','hook','timeline\x20[project.workflow]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Override\x20project\x20name','Target\x20folder\x20(destination)\x20—\x20numeric\x20ID\x20or\x20name/path','Output\x20as\x20JSON\x20Lines','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Engage\x20DAM\x20media\x20management','cas','--stage\x20<name>','Read\x20HTML\x20template\x20from\x20file','Initialize\x20a\x20new\x20workspace','--resume-from\x20<task>','duplicate\x20<name-or-id>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','set\x20<key=value>','-c,\x20--continue','Update\x20an\x20email\x20template','Show\x20always-on\x20campaign\x20details','Clear\x20workflow\x20project\x20context','Update\x20a\x20workspace','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','create\x20<name>\x20[parent_segment]','Add\x20attributes\x20as\x20JSON\x20string','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Ending\x20offset\x20(default:\x2020)','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20resuming','Email\x20sender\x20ID\x20for\x20delivery','List\x20agents\x20in\x20current\x20project','line-imagemap-image','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','test\x20[path]','New\x20campaign\x20name','Prefer\x20typed\x20commands\x20—\x20run\x20`tdx\x20--help`\x20to\x20see\x20them.','--sections\x20<json>','Show\x20a\x20specific\x20realtime\x20personalization','delete\x20<name>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','gitRevision','Update\x20a\x20campaign','launch\x20<name-or-id>','restore\x20<folder>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','tasks','projects\x20[pattern]','colorFn','--database\x20<name>','-C,\x20--directory\x20<path>','workspace','list\x20[project]','use\x20<path>','submit\x20[query]','Maximum\x20recursion\x20depth\x20(default:\x2010)','--workspace\x20<name>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--from-task\x20<task>','[action]','Master\x20database\x20name','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','option','--rule-file\x20<file>','--folder\x20<name>','List\x20available\x20connector\x20types','LLM\x20agent\x20management','Options:','folders\x20<parent_name>','--parent-folder\x20<name>','Create\x20a\x20new\x20document','required','Job\x20priority\x20(-2\x20to\x202)','Show\x20items\x20updated\x20within\x20N\x20days','show\x20<job-id>','Kill\x20a\x20job','1561818qZninE','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Service\x20description','delete\x20<service_id>\x20[parent_segment]','Attributes\x20from\x20JSON\x20file','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','delete\x20<project-name-or-id>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','--attribute\x20[name]','--param\x20<key=value>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20always-on\x20campaigns','backup\x20<name>','Update\x20a\x20scheduled\x20query','INVALID_ARGUMENT','delete\x20<name-or-id>','entries','--schedule-type\x20<type>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','json','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','--start-at\x20<datetime>','Output\x20directory','secrets','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Commands:','-f,\x20--force','--add-attributes-file\x20<file>','Resume\x20a\x20paused\x20campaign','List\x20all\x20data\x20connections','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Show\x20authentication\x20status\x20and\x20current\x20context','delivery','template','resume_activations\x20<journeyId>','--schedule-id\x20<id>','Delay\x20in\x20seconds\x20before\x20execution','Overwrite\x20existing\x20profile','--no-eval','--reason\x20<text>','Pause\x20a\x20campaign','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--site\x20<site>','Skip\x20validation\x20of\x20.dig\x20files','--include-retried','List\x20recoverable\x20deleted\x20tables\x20(last\x207\x20days)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Query\x20type:\x20trino\x20or\x20hive','attempt','Delete\x20workflow\x20project\x20from\x20Treasure\x20AI','--params\x20<json>','subcommandDescription','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','usage','create\x20<name>\x20<service_id>\x20[parent_segment]','--next','list','Folder\x20name\x20for\x20organization','Push\x20without\x20confirmation','--json','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','action','\x22.\x20Must\x20be\x20a\x20number.','remove\x20<name>','map','view\x20<name-or-path>','Retry\x20limit\x20(0\x20to\x2032)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','work','Add\x20behaviors\x20from\x20JSON\x20file','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','attempts\x20[project]','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','deleted','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','show\x20<policy>','Personalization\x20management','Custom\x20revision\x20name\x20(default:\x20timestamp)','user','Database\x20name\x20(default:\x20information_schema)','33190knDYNO','argv','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','push\x20[source-dir]','segments\x20[pattern]','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','[task-name]','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Campaign\x20type\x20(email\x20or\x20push)','--cron\x20<expression>','segment','Starter\x20message','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','24VxKbuh','--temperature\x20<n>','message','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','enable\x20<id>','\x0aSegments\x20and\x20--folder\x20accept\x20a\x20numeric\x20ID\x20or\x20a\x20name/path,\x20resolved\x20(case-insensitive)\x0awithin\x20the\x20current\x20parent\x20segment.\x20Names\x20need\x20a\x20parent\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20ID\x0a\x20\x20tdx\x20sg\x20move\x20\x22VIP\x20Customers\x22\x20--folder\x20\x22Archive\x22\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20name\x0a\x20\x20tdx\x20sg\x20move\x20\x22Marketing/VIP\x20Customers\x22\x20--folder\x20\x22Marketing/Archive\x22\x20\x20\x20nested\x20path\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20--dry-run\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20preview,\x20no\x20changes\x0a\x0aDon\x27t\x20know\x20where\x20a\x20segment\x20lives\x20(or\x20the\x20name\x20is\x20nested)?\x20Find\x20it\x20first,\x20then\x20move\x20by\x20the\x20printed\x20path:\x0a\x20\x20tdx\x20sg\x20list\x20\x22<name>\x22\x20-r\x0aIf\x20a\x20bare\x20name\x20matches\x20several\x20segments,\x20the\x20move\x20refuses\x20and\x20lists\x20them\x20—\x20pass\x20the\x20intended\x20full\x20path\x20or\x20id.','Limit\x20number\x20of\x20rows','--color','--audience-id\x20<id>','System\x20prompt/instructions\x20(default:\x20empty)','Delivery\x20operations\x20(email\x20senders)','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Open\x20segment\x20in\x20web\x20browser','Workflow\x20(Digdag)\x20management\x20commands','sessions\x20[project]','Filtering\x20rule\x20from\x20JSON\x20file','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Print\x20the\x20current\x20OAuth\x20access\x20token','Job\x20management\x20commands','Unknown\x20action:\x20','move\x20<name>\x20<status>','debug','move\x20<segment...>','--audience\x20<name>','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Customer\x20group\x20from\x20JSON\x20file','Show\x20all\x20files\x20including\x20valid\x20ones','--last','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','list\x20[name]','--status\x20<status>','retry','HTML\x20template\x20content','Database\x20name\x20(required)','allowUnknownOption','Plaintext\x20template\x20content','replace','--behavior\x20[name]','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Finish\x20an\x20always-on\x20campaign','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','preview\x20<segment_name>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','push\x20[target]','claude-4.5-sonnet','_hidden','Workflow\x20session\x20management','Create\x20a\x20new\x20profile','--dry-run','Reason\x20for\x20killing\x20the\x20attempt','name','_list-commands','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Allow\x20removing\x20audience\x20attributes/behaviors\x20not\x20in\x20local\x20YAML\x20(disabled\x20by\x20default)','clear','Skip\x20population\x20counting','Include\x20subtasks\x20in\x20tasks\x20output','--from\x20<timestamp>','Show\x20LINE\x20sender\x20account\x20details','databases\x20[pattern]','preview\x20[name]','User\x20management\x20commands','Validate\x20journey\x20YAML\x20files\x20locally','Preview\x20changes\x20without\x20writing\x20files','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','links\x20<name>','forEach','Error:\x20`tdx\x20api`\x20is\x20disabled\x20by\x20default\x20to\x20prevent\x20unintended\x20API\x20calls.','--name\x20<names>','--tsv','Upload\x20workflow\x20project\x20to\x20Treasure\x20AI\x20(digdag-style)','policy','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Parse\x20and\x20validate\x20without\x20executing','run\x20[name]','jsonl','Sections\x20as\x20an\x20inline\x20JSON\x20array','Output\x20file\x20path\x20(default:\x20<name>.yml)','Enable\x20verbose\x20logging','--force','--session\x20<id>','mcp','Trigger\x20on-demand\x20journey\x20workflow\x20execution','Agent\x20description','Table\x20management\x20commands','traffic\x20<name-or-path>','slice','configuration_versions\x20[name]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Add\x20behaviors\x20as\x20JSON\x20string','always-on-campaigns\x20[pattern]','--cursor-id\x20<id>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--schedule-option\x20<value>','Template\x20name','Maximum\x20number\x20of\x20nodes','LLM\x20project\x20management','Show\x20journey\x20details','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','-u,\x20--use','--html\x20<html>','profiles','List\x20composable\x20segments\x20for\x20an\x20audience','log\x20<chat-id>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Authentication\x20management','158212LtiWGy','--rule\x20<json>','\x0aNeeds\x20a\x20parent\x20segment\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x20Add\x20--format\x20json\x20for\x20machine\x20output.\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list\x20the\x20current\x20context\x20(folders\x20+\x20segments)\x0a\x20\x20tdx\x20sg\x20list\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20full\x20tree\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20find\x20every\x20segment/folder\x20whose\x20name\x20contains\x20\x22VIP\x22\x20(with\x20its\x20path)\x0a\x20\x20tdx\x20sg\x20list\x20\x22Q1\x20*\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wildcard\x20search\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20--format\x20json\x20\x20\x20\x20same,\x20as\x20JSON\x20for\x20jq/grep\x0a\x0aUse\x20a\x20printed\x20path\x20with\x20`tdx\x20sg\x20move`.','tdx','[EXPERIMENTAL]\x20Show\x20chat\x20log','--description\x20<desc>','\x0aDisabled\x20by\x20default.\x20See\x20https://tdx.treasuredata.com/guide/api-command-safety\x0afor\x20how\x20to\x20enable.\x0a\x0aAI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf\x20—\x20ask\x20them\x20first.\x0aPrefer\x20structured\x20commands;\x20they\x20validate\x20inputs\x20and\x20resolve\x20names\x20to\x20IDs.\x0a\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','CDP\x20segment\x20management\x20commands','--skip-validation','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','sql\x20[name]','requiredOption','push\x20[file]','clone\x20[source-dir]','Email\x20template\x20management','directory','Export\x20journey(s)\x20as\x20YAML\x20files','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--to\x20<timestamp>','init\x20[name]','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--template\x20<name>','create\x20<parent_name>\x20<folder_name>','Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)','argument','llm','Setup\x20API\x20key\x20authentication\x20interactively','senders\x20[pattern]','Attributes\x20as\x20JSON\x20string','Database\x20to\x20query\x20(default:\x20information_schema)','New\x20service\x20description','--format\x20<format>','Name\x20for\x20the\x20new\x20project\x20(required)','list\x20[pattern]','--allowed-ips\x20<ips>','Open\x20a\x20document\x20in\x20$EDITOR','-v,\x20--verbose','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--kind\x20<type>','describe\x20[table]','agent','Skip\x20confirmation\x20prompts','padWidth','update\x20<name-or-id>','--default','Clear\x20session\x20context','journey','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Save\x20output\x20to\x20file','description','database','Workspace\x20description','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--num\x20<1-10>','show\x20[name]','Show\x20a\x20single\x20schedule\x20by\x20its\x20ID','trino','--limit\x20<n>','auth','jobs','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Timezone\x20(e.g.,\x20America/Los_Angeles)','validate\x20[name]','desc\x20[name]','status','Trino\x20catalog\x20(default:\x20td)','accessToken','Check\x20for\x20updates\x20without\x20installing','use\x20<name>','list\x20[audience_name]','media','logs','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws).\x20Defaults\x20to\x20the\x20active\x20profile\x27s\x20site,\x20or\x20us01','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration',',\x20version\x20','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','--editor-type\x20<type>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Overwrite\x20local\x20changes\x20without\x20confirmation','--plaintext\x20<text>','AI-native\x20work\x20management','Recover\x20a\x20deleted\x20table\x20by\x20id','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Personalization\x20description','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Show\x20journey\x20table\x20column-to-step\x20mapping','fields\x20[name]','rm\x20<path>','Resume\x20listing\x20after\x20this\x20table\x20id\x20(from\x20a\x20previous\x20page)','variadic','End\x20time\x20filter\x20(ISO\x208601\x20format)','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','open\x20<name>','--table\x20<table>','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20workflow\x20schedules\x20(alias\x20for\x20`schedule\x20list`)','Attempt\x20ID','use\x20[resource]\x20[value]','--version','Personalization\x20service\x20token\x20management','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','YAML\x20file\x20path\x20for\x20unpushed\x20segment','--debug','history\x20<name>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','subcommandTerm','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','parent-segment','delete\x20<personalization_id>','Set\x20operation\x20timeout\x20in\x20seconds','commands','Access\x20control\x20policy\x20commands','pull\x20[parent_or_file]','columns\x20<name-or-path>','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Personalization\x20service\x20management','--tags\x20<tags>','Validate\x20always-on\x20campaign\x20YAML\x20files','7397772jmKbxI','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','--no-proxy','--type\x20<type>','--type\x20<api_type>','Destination\x20folder\x20in\x20DAM\x20(default:\x20root)','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Run\x20specific\x20tests\x20(comma-separated)','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','Email\x20subject\x20template','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','CDP\x20Journey\x20Orchestration\x20commands','registeredArguments','upload\x20<file>','stderr','--table','Resume\x20a\x20paused\x20always-on\x20campaign','addHelpText','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','42918bXclgP','--result\x20<target>','always-on-campaign','Show\x20agent\x20details','--timezone\x20<tz>','Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)','--html-file\x20<path>','Workflow\x20parameter\x20(repeatable)','--llm-project\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Task\x20name\x20for\x20logs\x20action','Pull\x20templates\x20to\x20YAML\x20files','push','-o,\x20--output\x20<file>','Delete\x20a\x20workspace','2601biLuYi','Filter\x20by\x20parent\x20segment\x20ID\x20(numeric)','push\x20[name]','result\x20<job-id>','--revision\x20<revision>','Updated\x20timezone','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','stats\x20<name-or-path>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Open\x20journey\x20in\x20web\x20browser','workflows\x20[project]','Campaign\x20description','allowExcessArguments','service','Show\x20journey\x20statistics','Validate\x20composable\x20audience\x20YAML\x20files\x20locally','update\x20<name>','audience','\x20-\x20built\x20','--parent-segment-id\x20<id>','-f,\x20--file\x20<path>','--behaviors\x20<json>','Update\x20a\x20realtime\x20personalization\x20entity','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Show\x20connection\x20details\x20by\x20name','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--master','Show\x20the\x20task\x20graph\x20and\x20side-effect\x20warnings\x20without\x20executing','commandUsage','parent_segment','Cron\x20expression\x20for\x20scheduling','--max-tool-iterations\x20<n>','format','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Preview\x20operation\x20without\x20executing','show\x20<name>','20upnehE','run\x20[workflow]','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','create','Workflow\x20project\x20management','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','create\x20<segment_name>','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','settings\x20<type>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','upgrade\x20[version]','Read\x20request\x20body\x20from\x20file','Show\x20document\x20details','preAction','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Campaign\x20name','desc\x20[segment_name]','List\x20journeys\x20(alias\x20for\x20journey\x20list)','List\x20all\x20users\x20in\x20the\x20account','Preview\x20without\x20creating\x20the\x20project','--file\x20<path>','Delete\x20a\x20profile','preview\x20[file]','run\x20<name>','log','--conflict\x20<strategy>','tables\x20[pattern]','Resume\x20from\x20specific\x20task','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','3aUiYKt','Workspace\x20name','--yes','-d,\x20--database\x20<database>','p13n','isTTY','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Revision\x20name\x20(default:\x20timestamp)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--assignee\x20<assignee>','--output\x20<file>','0.7','chdir','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','2447898ubOCjr','Add\x20attributes\x20from\x20JSON\x20file','folder','optionTerm','Duplicate\x20an\x20always-on\x20campaign','Describe\x20table\x20schema','-d,\x20--database\x20<db>','Composable\x20segment\x20commands','view\x20[name]','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','-a,\x20--agent\x20<name>','Pull\x20specific\x20campaign\x20by\x20name','--in\x20<database>','fields\x20[parent_name]','pull\x20[workspace-name]','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','delete\x20<agent-name>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','version','Campaign\x20management','set\x20<args...>','run','isDirectory','activations\x20<segment_name>','update\x20<agent-name>','show\x20<agent-name>','RT\x202.0\x20configuration\x20management','Include\x20raw\x20history\x20data\x20in\x20output','schema\x20<type>','Agent\x20prompt/instructions','users','line-sender-account','Folder\x20description','Move\x20to\x20folder','stdout','--to\x20<n>','error','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--delay\x20<seconds>','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','--kind\x20<kind>','Generate\x20test\x20conversations\x20without\x20evaluation','after','New\x20segment\x20name','Workspace\x20name\x20(required)','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Directory\x20does\x20not\x20exist:\x20','filter','List\x20secret\x20keys\x20for\x20a\x20project','Show\x20the\x20most\x20recent\x20chat','\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\x20--refresh\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Force-refresh\x20MCP\x20servers\x20and\x20TD\x20skills\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\x0a\x0aTD\x20skills\x20and\x20the\x20td-docs\x20MCP\x20server\x20are\x20set\x20up\x20automatically,\x20skipping\x20whatever\x20is\x0aalready\x20in\x20place.\x20Skills\x20refresh\x20on\x20every\x20tdx\x20upgrade,\x20and\x20at\x20least\x20every\x20two\x20weeks.','Delete\x20an\x20LLM\x20project','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Follow/watch\x20timeline\x20for\x20running\x20attempts','--jsonl','profile','includes','\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','Result\x20output\x20destination\x20URL','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Conflict\x20strategy:\x20ask\x20(default),\x20replace,\x20keep','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Filtering\x20rule\x20as\x20JSON\x20string','templates\x20[pattern]','--add-behaviors\x20<json>','help','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','-r,\x20--recursive','--max-depth\x20<depth>','--segment\x20<path>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','then','Output\x20as\x20JSON','--session-id\x20<id>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','pull\x20[name]','-n,\x20--name\x20<name>','INFO','Make\x20service\x20public\x20(default:\x20private)','Scheduled\x20query\x20management\x20commands','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','--result\x20<url>','New\x20service\x20name','--description\x20<text>','Maximum\x20rows\x20to\x20display','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Create\x20segment\x20folder','attempt:','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','--database\x20<database>','Update\x20an\x20always-on\x20campaign','login','Create,\x20update,\x20or\x20delete\x20a\x20single\x20composable\x20child\x20segment','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20triggering','--starter-message\x20<text>','new\x20<title>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','aliases','--job-type\x20<type>','Personalization\x20name','get','2973019jaEECc','AI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf.\x20Ask\x20the\x20user,\x20or\x20use\x20a\x20structured\x20command\x20instead.','Priority\x20(critical,\x20high,\x20medium,\x20low)','buildTime','--session-time\x20<time>','push\x20[parent_or_file]','length','--add-behaviors-file\x20<file>','finish\x20<name-or-id>','List\x20all\x20available\x20profiles','Skip\x20confirmation\x20prompt','Show\x20campaign\x20details','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','-p,\x20--profile\x20<name>','--prompt\x20<text>','--retry-limit\x20<0~32>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','join','command','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Workflow\x20attempt\x20management','Show\x20master\x20table\x20sample\x20data','list\x20[project.workflow]','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Manage\x20workflow\x20project\x20secrets','campaign'];a2_0x7fbe=function(){return _0x268328;};return a2_0x7fbe();}parentCmd['command'](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x450))[a2_0x4dbb55(0x204)](parentListAction),segmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x443),{'hidden':!![]})[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1ee))[a2_0x4dbb55(0x204)](parentListAction),parentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3d6))[a2_0x4dbb55(0x2c4)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x331),a2_0x4dbb55(0x274))[a2_0x4dbb55(0x204)](async(_0x34c536,_0x36c4a8)=>{const _0x38e65c=a2_0x4dbb55,_0x3e96d6=new ParentSegmentPullCommand(),_0x33efe0=program[_0x38e65c(0x45b)](),_0x176f69=await createTDXInstance(_0x33efe0),_0x3632f9=await _0x3e96d6[_0x38e65c(0x399)]({'options':{..._0x33efe0,..._0x36c4a8},'args':_0x34c536?[_0x34c536]:[],'tdx':_0x176f69});gracefulExit(_0x3632f9);}),parentCmd['command'](a2_0x4dbb55(0x29d))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3d5))[a2_0x4dbb55(0x204)](async(_0x2bfd7d,_0x4e6e1f)=>{const _0x13dfcc=a2_0x4dbb55,_0x246b2c=new ParentSegmentPushCommand(),_0x301ba5=program[_0x13dfcc(0x45b)](),_0x56bc80=await createTDXInstance(_0x301ba5),_0x117835=await _0x246b2c['run']({'options':{..._0x301ba5,..._0x4e6e1f},'args':_0x2bfd7d?[_0x2bfd7d]:[],'tdx':_0x56bc80});gracefulExit(_0x117835);}),parentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x15a))['description'](a2_0x4dbb55(0x1ce))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x34d),a2_0x4dbb55(0x484))['option'](a2_0x4dbb55(0x1cc),a2_0x4dbb55(0x40f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x249),a2_0x4dbb55(0x2df))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x423),a2_0x4dbb55(0x3a9))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x41f),a2_0x4dbb55(0x2fb),a2_0x4dbb55(0x48a))[a2_0x4dbb55(0x204)](async(_0x180707,_0x7e6fee)=>{const _0x49ad8d=a2_0x4dbb55,_0x2460f1=new ParentSegmentValidateCommand(),_0x3632b7=program[_0x49ad8d(0x45b)](),_0x4bc8ea=await createTDXInstance(_0x3632b7),_0xfdc957=await _0x2460f1['run']({'options':{..._0x3632b7,..._0x7e6fee},'args':_0x180707?[_0x180707]:[],'tdx':_0x4bc8ea});gracefulExit(_0xfdc957);}),parentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x36f))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x34a))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x34d),'Show\x20master\x20table\x20sample\x20data')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1cc),a2_0x4dbb55(0x383))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x249),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')['option'](a2_0x4dbb55(0x423),a2_0x4dbb55(0x405))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x41f),a2_0x4dbb55(0x2fb),'-1d')[a2_0x4dbb55(0x204)](async(_0x2f21f1,_0x3134de)=>{const _0x5c9347=a2_0x4dbb55,_0x220178=new ParentSegmentPreviewCommand(),_0x2fdb05=program[_0x5c9347(0x45b)](),_0x488e74=await createTDXInstance(_0x2fdb05),_0x348c9b=await _0x220178[_0x5c9347(0x399)]({'options':{..._0x2fdb05,..._0x3134de},'args':_0x2f21f1?[_0x2f21f1]:[],'tdx':_0x488e74});gracefulExit(_0x348c9b);}),parentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x271))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3c5))[a2_0x4dbb55(0x204)](async(_0xeaf3cf,_0x334ce7)=>{const _0x24976d=a2_0x4dbb55,_0x2c05a=new ParentSegmentRunCommand(),_0x548dc9=program['opts'](),_0x3bdf50=await createTDXInstance(_0x548dc9),_0x103f16=await _0x2c05a[_0x24976d(0x399)]({'options':{..._0x548dc9,..._0x334ce7},'args':_0xeaf3cf?[_0xeaf3cf]:[],'tdx':_0x3bdf50});gracefulExit(_0x103f16);});const parentSegmentCmd=program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x303))[a2_0x4dbb55(0x159)]('ps')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x44e));parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x450))[a2_0x4dbb55(0x204)](parentListAction),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3d6))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2a2))[a2_0x4dbb55(0x1b4)]('-o,\x20--output\x20<file>',a2_0x4dbb55(0x15b))['option'](a2_0x4dbb55(0x28a),a2_0x4dbb55(0x30f))[a2_0x4dbb55(0x204)](async(_0x1855c3,_0x2e0e72)=>{const _0x2608a4=a2_0x4dbb55,_0x4cfd89=new ParentSegmentPullCommand(),_0x2d772e=program[_0x2608a4(0x45b)](),_0x3f69d5=await createTDXInstance(_0x2d772e),_0x4517d2=await _0x4cfd89[_0x2608a4(0x399)]({'options':{..._0x2d772e,..._0x2e0e72},'args':_0x1855c3?[_0x1855c3]:[],'tdx':_0x3f69d5});gracefulExit(_0x4517d2);}),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x335))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1c7))[a2_0x4dbb55(0x204)](async(_0x2d5d65,_0x1f05b1)=>{const _0x572771=a2_0x4dbb55,_0x1afc79=new ParentSegmentPushCommand(),_0x38bdf3=program['opts'](),_0x50bf68=await createTDXInstance(_0x38bdf3),_0x254b4d=await _0x1afc79[_0x572771(0x399)]({'options':{..._0x38bdf3,..._0x1f05b1},'args':_0x2d5d65?[_0x2d5d65]:[],'tdx':_0x50bf68});gracefulExit(_0x254b4d);}),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2d1))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1ce))['option'](a2_0x4dbb55(0x34d),a2_0x4dbb55(0x484))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1cc),a2_0x4dbb55(0x40f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x249),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option']('--enriched','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x41f),a2_0x4dbb55(0x2fb),a2_0x4dbb55(0x48a))['action'](async(_0x3e6574,_0x51de74)=>{const _0x1ab999=a2_0x4dbb55,_0x1cc269=new ParentSegmentValidateCommand(),_0x1552c4=program['opts'](),_0xbd4ad9=await createTDXInstance(_0x1552c4),_0x5c8969=await _0x1cc269[_0x1ab999(0x399)]({'options':{..._0x1552c4,..._0x51de74},'args':_0x3e6574?[_0x3e6574]:[],'tdx':_0xbd4ad9});gracefulExit(_0x5c8969);}),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x261))['description'](a2_0x4dbb55(0x34a))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x34d),a2_0x4dbb55(0x409))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1cc),a2_0x4dbb55(0x383))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x249),a2_0x4dbb55(0x227))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x423),a2_0x4dbb55(0x405))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x41f),a2_0x4dbb55(0x2fb),a2_0x4dbb55(0x48a))['action'](async(_0x22dbdb,_0xec3b19)=>{const _0x31c8a3=a2_0x4dbb55,_0x5e9568=new ParentSegmentPreviewCommand(),_0x29f1c1=program[_0x31c8a3(0x45b)](),_0x8e6518=await createTDXInstance(_0x29f1c1),_0x9aaa91=await _0x5e9568['run']({'options':{..._0x29f1c1,..._0xec3b19},'args':_0x22dbdb?[_0x22dbdb]:[],'tdx':_0x8e6518});gracefulExit(_0x9aaa91);}),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x271))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3c5))[a2_0x4dbb55(0x204)](async(_0x32531b,_0x42d713)=>{const _0x3e65a3=new ParentSegmentRunCommand(),_0xc4789=program['opts'](),_0x49b9ea=await createTDXInstance(_0xc4789),_0x1eb57b=await _0x3e65a3['run']({'options':{..._0xc4789,..._0x42d713},'args':_0x32531b?[_0x32531b]:[],'tdx':_0x49b9ea});gracefulExit(_0x1eb57b);}),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2ec))['description'](a2_0x4dbb55(0x302))[a2_0x4dbb55(0x1b4)]('--json',a2_0x4dbb55(0x3d3))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3be),a2_0x4dbb55(0x17d))[a2_0x4dbb55(0x204)](async(_0x41d463,_0x44a0f2)=>{const _0x3fe94d=a2_0x4dbb55,_0x5909c5=new ParentSegmentFieldsCommand(),_0x33cabc=program[_0x3fe94d(0x45b)](),_0x47ce5a=await createTDXInstance(_0x33cabc),_0x432825=await _0x5909c5['run']({'options':{..._0x33cabc,..._0x44a0f2},'args':_0x41d463?[_0x41d463]:[],'tdx':_0x47ce5a});gracefulExit(_0x432825);}),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x38c))['description'](a2_0x4dbb55(0x3d1))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x15c),'Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x4dbb55(0x1b4)]('--json',a2_0x4dbb55(0x3d3))['option'](a2_0x4dbb55(0x3be),a2_0x4dbb55(0x17d))[a2_0x4dbb55(0x204)](async(_0x4797e9,_0x5707a6)=>{const _0x11e145=a2_0x4dbb55,_0x46b84d=new ParentSegmentViewCommand(),_0x1a4e28=program[_0x11e145(0x45b)](),_0x39f06a=await createTDXInstance(_0x1a4e28),_0x3be07e=await _0x46b84d['run']({'options':{..._0x1a4e28,..._0x5707a6},'args':_0x4797e9?[_0x4797e9]:[],'tdx':_0x39f06a});gracefulExit(_0x3be07e);}),parentSegmentCmd[a2_0x4dbb55(0x404)]('desc\x20[name]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2f5))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x331),a2_0x4dbb55(0x15b))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x201),'Output\x20as\x20JSON')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3be),a2_0x4dbb55(0x17d))[a2_0x4dbb55(0x204)](async(_0x252f2f,_0x159f1c)=>{const _0x55a53a=a2_0x4dbb55,_0x10c399=new ParentSegmentDescCommand(),_0x5370a1=program[_0x55a53a(0x45b)](),_0x3ed101=await createTDXInstance(_0x5370a1),_0x58fbcb=await _0x10c399[_0x55a53a(0x399)]({'options':{..._0x5370a1,..._0x159f1c},'args':_0x252f2f?[_0x252f2f]:[],'tdx':_0x3ed101});gracefulExit(_0x58fbcb);}),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x29b))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2f2))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x201),'Output\x20as\x20JSON')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3be),a2_0x4dbb55(0x17d))['action'](async(_0x27a575,_0x1bacfc)=>{const _0x43cef5=a2_0x4dbb55,_0x45c751=new ParentSegmentSQLCommand(),_0x22b4ba=program[_0x43cef5(0x45b)](),_0x683859=await createTDXInstance(_0x22b4ba),_0x5a1b69=await _0x45c751[_0x43cef5(0x399)]({'options':{..._0x22b4ba,..._0x1bacfc},'args':_0x27a575?[_0x27a575]:[],'tdx':_0x683859});gracefulExit(_0x5a1b69);}),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2c9))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1b3))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2cc),a2_0x4dbb55(0x22a))['option'](a2_0x4dbb55(0x201),a2_0x4dbb55(0x3d3))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3be),'Output\x20as\x20JSON\x20Lines')[a2_0x4dbb55(0x204)](async(_0x552d9b,_0x4be363)=>{const _0x33217f=a2_0x4dbb55,_0x1475ba=new ParentSegmentShowCommand(),_0x53e116=program[_0x33217f(0x45b)](),_0x569ca6=await createTDXInstance(_0x53e116),_0x3ec1d2=await _0x1475ba['run']({'options':{..._0x53e116,..._0x4be363},'args':_0x552d9b?[_0x552d9b]:[],'tdx':_0x569ca6});gracefulExit(_0x3ec1d2);}),parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x166))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x427))[a2_0x4dbb55(0x204)](async(_0x28f77a,_0x5a51a8)=>{const _0x37de76=a2_0x4dbb55,_0x46e077=new UseCommand(),_0x47d0d1=program[_0x37de76(0x45b)](),_0x59d042=_0x28f77a?[_0x37de76(0x350),_0x28f77a]:[],_0x38ed07=await _0x46e077[_0x37de76(0x399)]({'options':{..._0x47d0d1,..._0x5a51a8},'args':_0x59d042,'tdx':null});gracefulExit(_0x38ed07);});const psRtCmd=parentSegmentCmd[a2_0x4dbb55(0x404)]('rt')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x39e));psRtCmd['command'](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x283))[a2_0x4dbb55(0x204)](async(_0x4a1a03,_0x26ab66)=>{const _0x2e4b70=a2_0x4dbb55,_0x218d6c=new PSRtListCommand(),_0x2ed63c=program[_0x2e4b70(0x45b)](),_0x58bdc5=await createTDXInstance(_0x2ed63c),_0x17c3ea=await _0x218d6c[_0x2e4b70(0x399)]({'options':{..._0x2ed63c,..._0x26ab66},'args':_0x4a1a03?[_0x4a1a03]:[],'tdx':_0x58bdc5});gracefulExit(_0x17c3ea);}),psRtCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2d1))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x203))[a2_0x4dbb55(0x204)](async(_0x4da42c,_0xdda74b)=>{const _0x5735fa=a2_0x4dbb55,_0x9d878a=new PSRtValidateCommand(),_0x39d3a7=program['opts'](),_0x3e448a=await createTDXInstance(_0x39d3a7),_0x1d2cec=await _0x9d878a[_0x5735fa(0x399)]({'options':{..._0x39d3a7,..._0xdda74b},'args':_0x4da42c?[_0x4da42c]:[],'tdx':_0x3e448a});gracefulExit(_0x1d2cec);}),psRtCmd['command'](a2_0x4dbb55(0x27e))['description']('Get\x20current\x20RT\x20configuration\x20version\x20status')['action'](async(_0x166d9f,_0x104a78)=>{const _0xd72486=new PSRtConfigVersionCommand(),_0x2166f6=program['opts'](),_0x1e38c4=await createTDXInstance(_0x2166f6),_0x344ed5=await _0xd72486['run']({'options':{..._0x2166f6,..._0x104a78},'args':_0x166d9f?[_0x166d9f]:[],'tdx':_0x1e38c4});gracefulExit(_0x344ed5);});const psRtJnCmd=psRtCmd[a2_0x4dbb55(0x404)]('jn')[a2_0x4dbb55(0x2c4)]('RT\x20Journey\x20management');psRtJnCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x241))[a2_0x4dbb55(0x2c4)]('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x4dbb55(0x204)](async(_0x16cb18,_0x1af785)=>{const _0x15fe83=a2_0x4dbb55,_0x11113c=new PSRtJnListCommand(),_0x578f91=program[_0x15fe83(0x45b)](),_0x2386cb=await createTDXInstance(_0x578f91),_0x4c7498=await _0x11113c[_0x15fe83(0x399)]({'options':{..._0x578f91,..._0x1af785},'args':_0x16cb18?[_0x16cb18]:[],'tdx':_0x2386cb});gracefulExit(_0x4c7498);}),psRtJnCmd[a2_0x4dbb55(0x404)]('pause_activations\x20<journeyId>')[a2_0x4dbb55(0x2c4)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x4dbb55(0x204)](async(_0x5e732c,_0x3fd546)=>{const _0x598600=a2_0x4dbb55,_0x1cb40f=new PSRtJnPauseCommand(),_0x35bd68=program['opts'](),_0x148343=await createTDXInstance(_0x35bd68),_0x454bc6=await _0x1cb40f[_0x598600(0x399)]({'options':{..._0x35bd68,..._0x3fd546},'args':[_0x5e732c],'tdx':_0x148343});gracefulExit(_0x454bc6);}),psRtJnCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1e7))[a2_0x4dbb55(0x2c4)]('Resume\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x4dbb55(0x204)](async(_0x49f14f,_0x5e463a)=>{const _0x4202f8=a2_0x4dbb55,_0x157df7=new PSRtJnResumeCommand(),_0x30384=program[_0x4202f8(0x45b)](),_0x3623e1=await createTDXInstance(_0x30384),_0x1ffe15=await _0x157df7['run']({'options':{..._0x30384,..._0x5e463a},'args':[_0x49f14f],'tdx':_0x3623e1});gracefulExit(_0x1ffe15);});const parentRtCmd=parentCmd[a2_0x4dbb55(0x404)]('rt',{'hidden':!![]})[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x39e));parentRtCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x283))[a2_0x4dbb55(0x204)](async(_0x24420b,_0x1244f6)=>{const _0x4f50e7=a2_0x4dbb55,_0x542c26=new PSRtListCommand(),_0x55cdfd=program[_0x4f50e7(0x45b)](),_0x2c9af3=await createTDXInstance(_0x55cdfd),_0x2049bb=await _0x542c26[_0x4f50e7(0x399)]({'options':{..._0x55cdfd,..._0x1244f6},'args':_0x24420b?[_0x24420b]:[],'tdx':_0x2c9af3});gracefulExit(_0x2049bb);}),parentRtCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2d1))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x203))[a2_0x4dbb55(0x204)](async(_0x4a1040,_0x4f8254)=>{const _0x34a4da=a2_0x4dbb55,_0x31a4e4=new PSRtValidateCommand(),_0x123ce9=program[_0x34a4da(0x45b)](),_0x3cfcb5=await createTDXInstance(_0x123ce9),_0x563500=await _0x31a4e4[_0x34a4da(0x399)]({'options':{..._0x123ce9,..._0x4f8254},'args':_0x4a1040?[_0x4a1040]:[],'tdx':_0x3cfcb5});gracefulExit(_0x563500);});const psPzCmd=parentSegmentCmd[a2_0x4dbb55(0x404)]('pz')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x213));psPzCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x241))[a2_0x4dbb55(0x2c4)]('List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x2a0712,_0x4f5dc3)=>{const _0x5f13b4=a2_0x4dbb55,_0x2c3525=new PSPzListCommand(),_0xc2f7b5=program[_0x5f13b4(0x45b)](),_0x3a8f21=await createTDXInstance(_0xc2f7b5),_0x2298f7=await _0x2c3525['run']({'options':{..._0xc2f7b5,..._0x4f5dc3},'args':_0x2a0712?[_0x2a0712]:[],'tdx':_0x3a8f21});gracefulExit(_0x2298f7);}),psPzCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x477))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x19b))[a2_0x4dbb55(0x204)](async(_0x315dc4,_0x30c3f8)=>{const _0x56c59b=a2_0x4dbb55,_0x3ad3ee=new PSPzShowCommand(),_0x31d18a=program[_0x56c59b(0x45b)](),_0xf2bd7e=await createTDXInstance(_0x31d18a),_0x64abd9=await _0x3ad3ee[_0x56c59b(0x399)]({'options':{..._0x31d18a,..._0x30c3f8},'args':[_0x315dc4],'tdx':_0xf2bd7e});gracefulExit(_0x64abd9);}),psPzCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x304))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x426))[a2_0x4dbb55(0x204)](async(_0x337ff7,_0x568915)=>{const _0x53a151=a2_0x4dbb55,_0x1f172b=new PSPzDeleteCommand(),_0x324f9b=program[_0x53a151(0x45b)](),_0x43a164=await createTDXInstance(_0x324f9b),_0x1354d2=await _0x1f172b[_0x53a151(0x399)]({'options':{..._0x324f9b,..._0x568915},'args':[_0x337ff7],'tdx':_0x43a164});gracefulExit(_0x1354d2);}),psPzCmd[a2_0x4dbb55(0x404)]('create')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3ae))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x47a),a2_0x4dbb55(0x3ef))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),a2_0x4dbb55(0x2e9))['option'](a2_0x4dbb55(0x22c),a2_0x4dbb55(0x35e))['option']('--folder-id\x20<id>',a2_0x4dbb55(0x29a))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x19a),a2_0x4dbb55(0x273))[a2_0x4dbb55(0x1b4)]('--file\x20<path>',a2_0x4dbb55(0x489))[a2_0x4dbb55(0x204)](async _0x2aef56=>{const _0x1f53be=a2_0x4dbb55,_0x336cc9=new PSPzCreateCommand(),_0x10d8ac=program[_0x1f53be(0x45b)](),_0x221feb=await createTDXInstance(_0x10d8ac),_0x5ca8f7=await _0x336cc9[_0x1f53be(0x399)]({'options':{..._0x10d8ac,..._0x2aef56},'args':[],'tdx':_0x221feb});gracefulExit(_0x5ca8f7);}),psPzCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x168))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x349))[a2_0x4dbb55(0x1b4)]('--name\x20<text>','Personalization\x20name')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),'Personalization\x20description')['option']('--sections\x20<json>',a2_0x4dbb55(0x273))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x36d),a2_0x4dbb55(0x489))['action'](async(_0x3ad19e,_0x91d45b)=>{const _0xcee4c4=a2_0x4dbb55,_0x19cb86=new PSPzPatchCommand(),_0x29ba97=program[_0xcee4c4(0x45b)](),_0x1b49f1=await createTDXInstance(_0x29ba97),_0x3d7a15=await _0x19cb86[_0xcee4c4(0x399)]({'options':{..._0x29ba97,..._0x91d45b},'args':[_0x3ad19e],'tdx':_0x1b49f1});gracefulExit(_0x3d7a15);});const psPzServiceCmd=psPzCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x340))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x30b));psPzServiceCmd['command'](a2_0x4dbb55(0x241))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x354))[a2_0x4dbb55(0x204)](async(_0x39958d,_0x32624d)=>{const _0x5a194f=new PSPzServiceListCommand(),_0x1d8cef=program['opts'](),_0x26101a=await createTDXInstance(_0x1d8cef),_0x140cb6=await _0x5a194f['run']({'options':{..._0x1d8cef,..._0x32624d},'args':_0x39958d?[_0x39958d]:[],'tdx':_0x26101a});gracefulExit(_0x140cb6);}),psPzServiceCmd['command'](a2_0x4dbb55(0x18e))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x466))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),a2_0x4dbb55(0x1c4))[a2_0x4dbb55(0x1b4)]('--public',a2_0x4dbb55(0x3d9))[a2_0x4dbb55(0x204)](async(_0x497cad,_0x8ea15b,_0x506912)=>{const _0x160da1=a2_0x4dbb55,_0x4e746b=new PSPzServiceCreateCommand(),_0x1eebbe=program[_0x160da1(0x45b)](),_0x469f00=await createTDXInstance(_0x1eebbe),_0x1c85de=await _0x4e746b['run']({'options':{..._0x1eebbe,..._0x506912},'args':_0x8ea15b?[_0x497cad,_0x8ea15b]:[_0x497cad],'tdx':_0x469f00});gracefulExit(_0x1c85de);}),psPzServiceCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x454))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x17e))[a2_0x4dbb55(0x204)](async(_0xd18837,_0x21f95f,_0x158b9e)=>{const _0x556ecf=a2_0x4dbb55,_0x1965d4=new PSPzServiceShowCommand(),_0x23b34a=program['opts'](),_0x139c44=await createTDXInstance(_0x23b34a),_0x5a47f9=await _0x1965d4[_0x556ecf(0x399)]({'options':{..._0x23b34a,..._0x158b9e},'args':_0x21f95f?[_0xd18837,_0x21f95f]:[_0xd18837],'tdx':_0x139c44});gracefulExit(_0x5a47f9);}),psPzServiceCmd['command'](a2_0x4dbb55(0x1c5))['description'](a2_0x4dbb55(0x393))[a2_0x4dbb55(0x204)](async(_0x20f815,_0x5445e3,_0x3794cb)=>{const _0x5f03b=a2_0x4dbb55,_0x41c503=new PSPzServiceDeleteCommand(),_0x63b3ba=program[_0x5f03b(0x45b)](),_0x46a52d=await createTDXInstance(_0x63b3ba),_0x34ba95=await _0x41c503[_0x5f03b(0x399)]({'options':{..._0x63b3ba,..._0x3794cb},'args':_0x5445e3?[_0x20f815,_0x5445e3]:[_0x20f815],'tdx':_0x46a52d});gracefulExit(_0x34ba95);}),psPzServiceCmd[a2_0x4dbb55(0x404)]('update\x20<service_id>\x20[parent_segment]')[a2_0x4dbb55(0x2c4)]('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x171),a2_0x4dbb55(0x3dd))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),a2_0x4dbb55(0x2b1))[a2_0x4dbb55(0x204)](async(_0x1ffa5a,_0x511192,_0x1d837d)=>{const _0x99ac39=a2_0x4dbb55,_0x515ba0=new PSPzServiceUpdateCommand(),_0x371d1f=program[_0x99ac39(0x45b)](),_0x4f39ef=await createTDXInstance(_0x371d1f),_0x3107f3=await _0x515ba0['run']({'options':{..._0x371d1f,..._0x1d837d},'args':_0x511192?[_0x1ffa5a,_0x511192]:[_0x1ffa5a],'tdx':_0x4f39ef});gracefulExit(_0x3107f3);}),psPzServiceCmd['command'](a2_0x4dbb55(0x2a6))['description'](a2_0x4dbb55(0x323))[a2_0x4dbb55(0x204)](async(_0x5624f5,_0x35599d)=>{const _0x28e3da=a2_0x4dbb55,_0x354685=new PSPzInitCommand(),_0x1f02f3=program[_0x28e3da(0x45b)](),_0x45b320=await createTDXInstance(_0x1f02f3),_0x24da1b=await _0x354685[_0x28e3da(0x399)]({'options':{..._0x1f02f3,..._0x35599d},'args':_0x5624f5?[_0x5624f5]:[],'tdx':_0x45b320});gracefulExit(_0x24da1b);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x4dbb55(0x404)]('token')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2fa));psPzServiceTokenCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1fc))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x35c))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2b5),a2_0x4dbb55(0x30a))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),'Token\x20description')[a2_0x4dbb55(0x204)](async(_0x2fae2e,_0x46e130,_0x47a686,_0x12d640)=>{const _0x3a1fda=a2_0x4dbb55,_0x3fa367=new PSPzServiceTokenCreateCommand(),_0x54a390=program[_0x3a1fda(0x45b)](),_0xddb4df=await createTDXInstance(_0x54a390),_0x12ce40=await _0x3fa367[_0x3a1fda(0x399)]({'options':{..._0x54a390,..._0x12d640},'args':_0x47a686?[_0x2fae2e,_0x46e130,_0x47a686]:[_0x2fae2e,_0x46e130],'tdx':_0xddb4df});gracefulExit(_0x12ce40);}),psPzServiceTokenCmd[a2_0x4dbb55(0x404)]('delete\x20<token_id>\x20[parent_segment]')['description'](a2_0x4dbb55(0x2a4))[a2_0x4dbb55(0x204)](async(_0x1cf1b4,_0x1c4dd8,_0x3e5e7)=>{const _0x19e35a=a2_0x4dbb55,_0x3bdac3=new PSPzServiceTokenDeleteCommand(),_0x787d83=program[_0x19e35a(0x45b)](),_0x1cea92=await createTDXInstance(_0x787d83),_0x1da5cc=await _0x3bdac3[_0x19e35a(0x399)]({'options':{..._0x787d83,..._0x3e5e7},'args':_0x1c4dd8?[_0x1cf1b4,_0x1c4dd8]:[_0x1cf1b4],'tdx':_0x1cea92});gracefulExit(_0x1da5cc);}),parentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x455))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x16b))['requiredOption']('--database\x20<db>',a2_0x4dbb55(0x1b2))[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x2f4),'Master\x20table\x20name')['option'](a2_0x4dbb55(0x3de),'Parent\x20segment\x20description')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1d5),a2_0x4dbb55(0x491))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x284),a2_0x4dbb55(0x21e))['option'](a2_0x4dbb55(0x328),a2_0x4dbb55(0x2d0))[a2_0x4dbb55(0x1b4)]('--attributes\x20<json>',a2_0x4dbb55(0x2af))['option'](a2_0x4dbb55(0x43e),a2_0x4dbb55(0x1c6))['option'](a2_0x4dbb55(0x348),'Behaviors\x20as\x20JSON\x20string')['option']('--behaviors-file\x20<file>',a2_0x4dbb55(0x40e))[a2_0x4dbb55(0x1b4)]('--customer-group\x20<json>','Customer\x20group\x20as\x20JSON\x20string')['option'](a2_0x4dbb55(0x415),a2_0x4dbb55(0x23d))[a2_0x4dbb55(0x204)](async(_0xd92ff1,_0x23d41e)=>{const _0x342da6=a2_0x4dbb55,_0xcc9dea=new ParentSegmentCreateCommand(),_0x1399fe=program[_0x342da6(0x45b)](),_0x41fea5=await createTDXInstance(_0x1399fe),_0x5304e5=await _0xcc9dea[_0x342da6(0x399)]({'options':{..._0x1399fe,..._0x23d41e},'args':[_0xd92ff1],'tdx':_0x41fea5});gracefulExit(_0x5304e5);}),parentCmd[a2_0x4dbb55(0x404)]('update\x20<name>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1dd))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),a2_0x4dbb55(0x176))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1d5),a2_0x4dbb55(0x1e3))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x284),a2_0x4dbb55(0x470))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x328),a2_0x4dbb55(0x338))[a2_0x4dbb55(0x1b4)]('--add-attributes\x20<json>',a2_0x4dbb55(0x18f))['option'](a2_0x4dbb55(0x1e0),a2_0x4dbb55(0x385))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3c8),a2_0x4dbb55(0x280))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3f8),a2_0x4dbb55(0x20c))[a2_0x4dbb55(0x204)](async(_0x4067cd,_0x13b672)=>{const _0x3909db=a2_0x4dbb55,_0x1c2d0d=new ParentSegmentUpdateCommand(),_0x5d1db2=program['opts'](),_0x364f6b=await createTDXInstance(_0x5d1db2),_0x26e463=await _0x1c2d0d[_0x3909db(0x399)]({'options':{..._0x5d1db2,..._0x13b672},'args':[_0x4067cd],'tdx':_0x364f6b});gracefulExit(_0x26e463);}),folderCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2a9))['description'](a2_0x4dbb55(0x3e1))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),a2_0x4dbb55(0x3a4))['option'](a2_0x4dbb55(0x1bb),a2_0x4dbb55(0x476))[a2_0x4dbb55(0x204)](async(_0x281145,_0x5bfaf5,_0x47c4d0)=>{const _0x165f57=a2_0x4dbb55,_0x4fe3b6=new SegmentFolderCreateCommand(),_0x4178ba=program['opts'](),_0x4f913c=await createTDXInstance(_0x4178ba),_0x349c46=await _0x4fe3b6[_0x165f57(0x399)]({'options':{..._0x4178ba,..._0x47c4d0},'args':[_0x281145,_0x5bfaf5],'tdx':_0x4f913c});gracefulExit(_0x349c46);}),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x39b))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2fc))[a2_0x4dbb55(0x204)](async(_0x4027b4,_0x39b3ee)=>{const _0x563330=a2_0x4dbb55,_0x4ea73b=new ActivationsCommand(),_0x357ace=program[_0x563330(0x45b)](),_0x1e07d9=await createTDXInstance(_0x357ace),_0x52454e=await _0x4ea73b[_0x563330(0x399)]({'options':{..._0x357ace,..._0x39b3ee},'args':[_0x4027b4],'tdx':_0x1e07d9});gracefulExit(_0x52454e);});const workflowCmd=program[a2_0x4dbb55(0x404)]('workflow')[a2_0x4dbb55(0x159)]('wf')['description'](a2_0x4dbb55(0x231)),wfProjectCmd=workflowCmd[a2_0x4dbb55(0x404)]('project')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x35b)),wfProjectListAction=async(_0x17e932,_0xf3073a)=>{const _0x1a9fb8=a2_0x4dbb55,_0x13ae0c=new WorkflowProjectsCommand(),_0x20693f=program[_0x1a9fb8(0x45b)](),_0x292212=await createTDXInstance(_0x20693f),_0x6e2579=await _0x13ae0c[_0x1a9fb8(0x399)]({'options':{..._0x20693f,..._0xf3073a},'args':_0x17e932?[_0x17e932]:[],'tdx':_0x292212});gracefulExit(_0x6e2579);};wfProjectCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x4dbb55(0x204)](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x24c))[a2_0x4dbb55(0x204)](wfProjectListAction);const wfWorkflowListAction=async(_0x22ef49,_0x44c6bd)=>{const _0x5e2e2f=a2_0x4dbb55,_0x545fd1=new WorkflowWorkflowsCommand(),_0x1ae12e=program['opts'](),_0x3ad886=await createTDXInstance(_0x1ae12e),_0x3857be=await _0x545fd1[_0x5e2e2f(0x399)]({'options':{..._0x1ae12e,..._0x44c6bd},'args':_0x22ef49?[_0x22ef49]:[],'tdx':_0x3ad886});gracefulExit(_0x3857be);};workflowCmd['command'](a2_0x4dbb55(0x33d))[a2_0x4dbb55(0x2c4)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x4dbb55(0x204)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x4dbb55(0x16f))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x252)),wfSessionListAction=async(_0x44933d,_0xbc3413)=>{const _0x48d64c=a2_0x4dbb55,_0x54431e=new WorkflowSessionsCommand(),_0x2aee87=program['opts'](),_0x381c98=await createTDXInstance(_0x2aee87),_0x1da56b=await _0x54431e[_0x48d64c(0x399)]({'options':{..._0x2aee87,..._0xbc3413},'args':_0x44933d?[_0x44933d]:[],'tdx':_0x381c98});gracefulExit(_0x1da56b);};wfSessionCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1aa))['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x242),a2_0x4dbb55(0x421))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x25e),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x4dbb55(0x2a5),a2_0x4dbb55(0x2f0))[a2_0x4dbb55(0x204)](wfSessionListAction),workflowCmd['command'](a2_0x4dbb55(0x232))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3d0))[a2_0x4dbb55(0x1b4)]('--status\x20<status>',a2_0x4dbb55(0x421))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x25e),a2_0x4dbb55(0x440))['option'](a2_0x4dbb55(0x2a5),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x4dbb55(0x204)](wfSessionListAction);const wfAttemptListAction=async(_0x4c44a7,_0x4aeabf)=>{const _0x4bf878=a2_0x4dbb55,_0x113c73=new WorkflowAttemptsCommand(),_0x5d766c=program[_0x4bf878(0x45b)](),_0x5215ac=await createTDXInstance(_0x5d766c),_0x3fb565=await _0x113c73['run']({'options':{..._0x5d766c,..._0x4aeabf},'args':_0x4c44a7?[_0x4c44a7]:[],'tdx':_0x5215ac});gracefulExit(_0x3fb565);},attemptCmd=workflowCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1f6))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x408))[a2_0x4dbb55(0x2ab)](a2_0x4dbb55(0x175),a2_0x4dbb55(0x2f7))[a2_0x4dbb55(0x2ab)](a2_0x4dbb55(0x1b1),a2_0x4dbb55(0x186))[a2_0x4dbb55(0x2ab)](a2_0x4dbb55(0x21d),a2_0x4dbb55(0x32e))['option'](a2_0x4dbb55(0x479),a2_0x4dbb55(0x25d))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ec),a2_0x4dbb55(0x255))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x184),a2_0x4dbb55(0x49a))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1f8),a2_0x4dbb55(0x202))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x276),'Force\x20retry\x20even\x20if\x20not\x20failed')['option'](a2_0x4dbb55(0x1f1),a2_0x4dbb55(0x15e))[a2_0x4dbb55(0x204)](async(_0x5cdd16,_0x47d73b,_0x20897a,_0x5735c8)=>{const _0x4e0406=a2_0x4dbb55;if(_0x5cdd16===_0x4e0406(0x1fe)){await wfAttemptListAction(_0x47d73b,_0x5735c8);return;}if(!_0x5cdd16){attemptCmd[_0x4e0406(0x3c9)]();return;}const _0x38fcae=program['opts'](),_0x33de54=await createTDXInstance(_0x38fcae);let _0x1c23ed=0x0;if(!_0x47d73b){const _0x15450a=new WorkflowAttemptCommand();_0x1c23ed=await _0x15450a['run']({'options':{..._0x38fcae,..._0x5735c8},'args':[_0x5cdd16],'tdx':_0x33de54});}else{if(_0x47d73b===_0x4e0406(0x2da)){const _0x4b0197=new WorkflowLogsCommand();_0x1c23ed=await _0x4b0197['run']({'options':{..._0x38fcae,..._0x5735c8},'args':_0x20897a?[_0x5cdd16,_0x20897a]:[_0x5cdd16],'tdx':_0x33de54});}else{if(_0x47d73b===_0x4e0406(0x1a4)){const _0x1e0201=new WorkflowTasksCommand();_0x1c23ed=await _0x1e0201[_0x4e0406(0x399)]({'options':{..._0x38fcae,..._0x5735c8},'args':[_0x5cdd16],'tdx':_0x33de54});}else{if(_0x47d73b===_0x4e0406(0x433)){const _0x3b0db1=new WorkflowKillCommand();_0x1c23ed=await _0x3b0db1[_0x4e0406(0x399)]({'options':{..._0x38fcae,..._0x5735c8},'args':[_0x5cdd16],'tdx':_0x33de54});}else{if(_0x47d73b===_0x4e0406(0x243)){const _0x32fc9b=new WorkflowRetryCommand();_0x1c23ed=await _0x32fc9b['run']({'options':{..._0x38fcae,..._0x5735c8},'args':[_0x4e0406(0x3e2)+_0x5cdd16],'tdx':_0x33de54});}else console['error'](_0x4e0406(0x237)+_0x47d73b),console[_0x4e0406(0x3a8)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x1c23ed=0x1;}}}}gracefulExit(_0x1c23ed);});attemptCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1aa))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x20a))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1f1),a2_0x4dbb55(0x465))[a2_0x4dbb55(0x204)](wfAttemptListAction),workflowCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x20e))['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x4dbb55(0x1b4)]('--include-retried','Include\x20retried\x20attempts')[a2_0x4dbb55(0x204)](wfAttemptListAction),workflowCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x179))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1c3))['option']('--follow',a2_0x4dbb55(0x3bd))['option'](a2_0x4dbb55(0x3d4),a2_0x4dbb55(0x367))[a2_0x4dbb55(0x1b4)]('--attempt-id\x20<id>','Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x4dbb55(0x204)](async(_0x4910fc,_0x5900d0)=>{const _0x20661c=a2_0x4dbb55,_0x5914ff=new WorkflowTimelineCommand(),_0x21bb0d=program[_0x20661c(0x45b)](),_0x355492=await createTDXInstance(_0x21bb0d),_0x2a66b1=await _0x5914ff[_0x20661c(0x399)]({'options':{..._0x21bb0d,..._0x5900d0},'args':_0x4910fc?[_0x4910fc]:[],'tdx':_0x355492});gracefulExit(_0x2a66b1);}),workflowCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x411))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x430))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1b0),a2_0x4dbb55(0x374))['option'](a2_0x4dbb55(0x1f8),a2_0x4dbb55(0x151))[a2_0x4dbb55(0x204)](async(_0x15cb7d,_0x3170f3)=>{const _0x443327=a2_0x4dbb55,_0x54ee55=new WorkflowRetryCommand(),_0x147d5f=program[_0x443327(0x45b)](),_0x24c4d2=await createTDXInstance(_0x147d5f),_0x5d8189=await _0x54ee55[_0x443327(0x399)]({'options':{..._0x147d5f,..._0x3170f3},'args':[_0x15cb7d],'tdx':_0x24c4d2});gracefulExit(_0x5d8189);}),workflowCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x358))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1f4))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1cd),a2_0x4dbb55(0x32b),(_0x272dd5,_0x499900=[])=>[..._0x499900,_0x272dd5],[])[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3f5),a2_0x4dbb55(0x449))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x34e))['action'](async(_0x336297,_0x509bbd)=>{const _0xc4886d=a2_0x4dbb55,_0x4c4413=new WorkflowRunCommand(),_0x258ed3=program[_0xc4886d(0x45b)](),_0x221aaa=await createTDXInstance(_0x258ed3),_0x3000a5=await _0x4c4413[_0xc4886d(0x399)]({'options':{..._0x258ed3,..._0x509bbd},'args':_0x336297?[_0x336297]:[],'tdx':_0x221aaa});gracefulExit(_0x3000a5);}),workflowCmd[a2_0x4dbb55(0x404)]('download\x20<project-name>\x20[output-dir]')['description'](a2_0x4dbb55(0x490))['option'](a2_0x4dbb55(0x337),a2_0x4dbb55(0x44c))['action'](async(_0x3e44ea,_0x25f5df,_0x45e5cb)=>{const _0xf91f36=a2_0x4dbb55,_0x2eb0b4=new WorkflowDownloadCommand(),_0x4bef3e=program[_0xf91f36(0x45b)](),_0x54d978=await createTDXInstance(_0x4bef3e),_0x520874=await _0x2eb0b4[_0xf91f36(0x399)]({'options':{..._0x4bef3e,..._0x45e5cb},'args':[_0x3e44ea,_0x25f5df||'.'],'tdx':_0x54d978});gracefulExit(_0x520874);}),workflowCmd[a2_0x4dbb55(0x404)]('pull\x20<project>\x20[target-dir]')[a2_0x4dbb55(0x2c4)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')['option'](a2_0x4dbb55(0x337),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x264))['action'](async(_0x58dd08,_0x11f0ee,_0x2d5cdb)=>{const _0x5d3b1c=a2_0x4dbb55,_0x3ad443=new WorkflowPullCommand(),_0x471d84=program[_0x5d3b1c(0x45b)](),_0x19dbad=await createTDXInstance(_0x471d84),_0x4165c5=await _0x3ad443[_0x5d3b1c(0x399)]({'options':{..._0x471d84,..._0x2d5cdb},'args':_0x11f0ee?[_0x58dd08,_0x11f0ee]:[_0x58dd08],'tdx':_0x19dbad});gracefulExit(_0x4165c5);}),workflowCmd['command'](a2_0x4dbb55(0x21a))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x422))['option'](a2_0x4dbb55(0x337),a2_0x4dbb55(0x214))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x43d))[a2_0x4dbb55(0x1b4)]('--skip-validation',a2_0x4dbb55(0x1f0))['option']('--backfill',a2_0x4dbb55(0x2aa))[a2_0x4dbb55(0x204)](async(_0xb1edcc,_0x37cc29)=>{const _0x334067=a2_0x4dbb55,_0x20e1c3=new WorkflowPushCommand(),_0x4f56e4=program[_0x334067(0x45b)](),_0x197ede=await createTDXInstance(_0x4f56e4),_0x33edd7=await _0x20e1c3['run']({'options':{..._0x4f56e4,..._0x37cc29},'args':_0xb1edcc?[_0xb1edcc]:[],'tdx':_0x197ede});gracefulExit(_0x33edd7);}),workflowCmd['command'](a2_0x4dbb55(0x482))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x26b))['option']('--name\x20<name>',a2_0x4dbb55(0x17b))['option'](a2_0x4dbb55(0x337),a2_0x4dbb55(0x37d))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x299),a2_0x4dbb55(0x1f0))[a2_0x4dbb55(0x204)](async(_0x440602,_0x543ca3)=>{const _0x158313=a2_0x4dbb55,_0x4d975c=new WorkflowUploadCommand(),_0x498bd2=program[_0x158313(0x45b)](),_0x15c9ac=await createTDXInstance(_0x498bd2),_0x24ae87=await _0x4d975c[_0x158313(0x399)]({'options':{..._0x498bd2,..._0x543ca3},'args':_0x440602?[_0x440602]:[],'tdx':_0x15c9ac});gracefulExit(_0x24ae87);}),workflowCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x29e))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x22f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x171),a2_0x4dbb55(0x2b3))[a2_0x4dbb55(0x1b4)]('--revision\x20<revision>',a2_0x4dbb55(0x214))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x36c))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x299),a2_0x4dbb55(0x1f0))[a2_0x4dbb55(0x204)](async(_0x5bcedb,_0x3dc445)=>{const _0x151c14=a2_0x4dbb55,_0x4f5912=new WorkflowCloneCommand(),_0x454abd=program[_0x151c14(0x45b)](),_0x27925b=await createTDXInstance(_0x454abd),_0x594edc=await _0x4f5912[_0x151c14(0x399)]({'options':{..._0x454abd,..._0x3dc445},'args':_0x5bcedb?[_0x5bcedb]:[],'tdx':_0x27925b});gracefulExit(_0x594edc);}),workflowCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1c9))['description'](a2_0x4dbb55(0x1f7))[a2_0x4dbb55(0x204)](async(_0x1092e9,_0x38cf4a)=>{const _0x41ccd8=a2_0x4dbb55,_0x2cf583=new WorkflowDeleteCommand(),_0x126ea2=program[_0x41ccd8(0x45b)](),_0x130fd6=await createTDXInstance(_0x126ea2),_0x4ed0bd=await _0x2cf583[_0x41ccd8(0x399)]({'options':{..._0x126ea2,..._0x38cf4a},'args':[_0x1092e9],'tdx':_0x130fd6});gracefulExit(_0x4ed0bd);}),workflowCmd['command']('use\x20[project]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x366))[a2_0x4dbb55(0x1b4)]('--clear',a2_0x4dbb55(0x18b))[a2_0x4dbb55(0x204)](async(_0x5b33d3,_0x581d4a)=>{const _0x146b53=a2_0x4dbb55,_0x21a7a5=new WorkflowUseCommand(),_0x242c4a=program['opts'](),_0x27f927=await createTDXInstance(_0x242c4a),_0x50516e=await _0x21a7a5[_0x146b53(0x399)]({'options':{..._0x242c4a,..._0x581d4a},'args':_0x5b33d3?[_0x5b33d3]:[],'tdx':_0x27f927});gracefulExit(_0x50516e);});const wfSecretsCmd=workflowCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1dc))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x40c));wfSecretsCmd[a2_0x4dbb55(0x404)]('list\x20[project]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3b8))[a2_0x4dbb55(0x204)](async(_0x486854,_0x1ad6c4)=>{const _0x5801d9=a2_0x4dbb55,_0x4f435d=new WorkflowSecretsListCommand(),_0xdb7945=program[_0x5801d9(0x45b)](),_0x1222ec=await createTDXInstance(_0xdb7945),_0x25060c=await _0x4f435d[_0x5801d9(0x399)]({'options':{..._0xdb7945,..._0x1ad6c4},'args':_0x486854?[_0x486854]:[],'tdx':_0x1222ec});gracefulExit(_0x25060c);}),wfSecretsCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x398))['description'](a2_0x4dbb55(0x322))[a2_0x4dbb55(0x204)](async(_0xe4cafc,_0x509fee)=>{const _0x3c73f9=a2_0x4dbb55,_0x54d58e=new WorkflowSecretsSetCommand(),_0x2c0a53=program[_0x3c73f9(0x45b)](),_0x22fafa=await createTDXInstance(_0x2c0a53),_0x1916c6=await _0x54d58e[_0x3c73f9(0x399)]({'options':{..._0x2c0a53,..._0x509fee},'args':_0xe4cafc,'tdx':_0x22fafa});gracefulExit(_0x1916c6);}),wfSecretsCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x167))['description'](a2_0x4dbb55(0x418))[a2_0x4dbb55(0x204)](async(_0x411078,_0x44f0a4)=>{const _0x1e279c=a2_0x4dbb55,_0x5ecc85=new WorkflowSecretsDeleteCommand(),_0x5ab594=program[_0x1e279c(0x45b)](),_0x3abb24=await createTDXInstance(_0x5ab594),_0x4392a9=await _0x5ecc85['run']({'options':{..._0x5ab594,..._0x44f0a4},'args':_0x411078,'tdx':_0x3abb24});gracefulExit(_0x4392a9);});const wfScheduleCmd=workflowCmd['command'](a2_0x4dbb55(0x486))[a2_0x4dbb55(0x2c4)]('Manage\x20workflow\x20schedules\x20(enable/disable)');wfScheduleCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x228))[a2_0x4dbb55(0x2c4)]('Enable\x20a\x20disabled\x20workflow\x20schedule')[a2_0x4dbb55(0x1b4)]('--backfill',a2_0x4dbb55(0x2aa))[a2_0x4dbb55(0x1b4)]('--next-time\x20<time>','Resume\x20scheduling\x20from\x20this\x20time\x20instead\x20of\x20the\x20schedule\x20definition\x20(ISO-8601,\x20e.g.\x202026-12-31T23:59:00+00:00)')[a2_0x4dbb55(0x204)](async(_0x348b11,_0x20bbfe)=>{const _0x67b3fe=a2_0x4dbb55,_0x66316c=new WorkflowScheduleEnableCommand(),_0xa3c109=program[_0x67b3fe(0x45b)](),_0x171e8a=await createTDXInstance(_0xa3c109),_0x2b2e0d=await _0x66316c[_0x67b3fe(0x399)]({'options':{..._0xa3c109,..._0x20bbfe},'args':[_0x348b11],'tdx':_0x171e8a});gracefulExit(_0x2b2e0d);}),wfScheduleCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x15d))['description'](a2_0x4dbb55(0x432))[a2_0x4dbb55(0x204)](async(_0x242fe3,_0x4ae36e)=>{const _0x10f38b=a2_0x4dbb55,_0xea03bb=new WorkflowScheduleDisableCommand(),_0x1f5ed7=program[_0x10f38b(0x45b)](),_0x339688=await createTDXInstance(_0x1f5ed7),_0x299185=await _0xea03bb['run']({'options':{..._0x1f5ed7,..._0x4ae36e},'args':[_0x242fe3],'tdx':_0x339688});gracefulExit(_0x299185);});const wfSchedulesListAction=async(_0x3687cb,_0x1d7e12)=>{const _0x30595b=a2_0x4dbb55,_0x3fcc7f=new WorkflowSchedulesCommand(),_0x2955d3=program[_0x30595b(0x45b)](),_0x52fad2=await createTDXInstance(_0x2955d3),_0x21d6c2=await _0x3fcc7f[_0x30595b(0x399)]({'options':{..._0x2955d3,..._0x1d7e12},'args':_0x3687cb?[_0x3687cb]:[],'tdx':_0x52fad2});gracefulExit(_0x21d6c2);};wfScheduleCmd['command'](a2_0x4dbb55(0x40a))[a2_0x4dbb55(0x2c4)]('List\x20workflow\x20schedules\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1e8),a2_0x4dbb55(0x2ca))[a2_0x4dbb55(0x204)](wfSchedulesListAction),workflowCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x47c))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2f6))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1e8),'Show\x20a\x20single\x20schedule\x20by\x20its\x20ID')['action'](wfSchedulesListAction);const jobCmd=program[a2_0x4dbb55(0x404)]('job')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x236)),jobListAction=async _0x2feb94=>{const _0xdd7e6=a2_0x4dbb55,_0x50b132=new JobListCommand(),_0x4ee3e3=program[_0xdd7e6(0x45b)](),_0x20a5f9=await createTDXInstance(_0x4ee3e3),_0x443c62=await _0x50b132[_0xdd7e6(0x399)]({'options':{..._0x4ee3e3,..._0x2feb94},'args':[],'tdx':_0x20a5f9});gracefulExit(_0x443c62);};jobCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1fe))[a2_0x4dbb55(0x2c4)]('List\x20jobs')['option'](a2_0x4dbb55(0x242),a2_0x4dbb55(0x24e))[a2_0x4dbb55(0x204)](jobListAction),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2ce),{'hidden':!![]})[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x26f))['option'](a2_0x4dbb55(0x242),a2_0x4dbb55(0x24e))[a2_0x4dbb55(0x204)](jobListAction),jobCmd['command'](a2_0x4dbb55(0x1c0))[a2_0x4dbb55(0x2c4)]('Show\x20job\x20details')['action'](async(_0x6c5cda,_0x2102d5)=>{const _0x4cde79=a2_0x4dbb55,_0xdca16c=new JobShowCommand(),_0x1a2d94=program[_0x4cde79(0x45b)](),_0x534904=await createTDXInstance(_0x1a2d94),_0xa4993a=await _0xdca16c['run']({'options':{..._0x1a2d94,..._0x2102d5},'args':[_0x6c5cda],'tdx':_0x534904});gracefulExit(_0xa4993a);}),jobCmd[a2_0x4dbb55(0x404)]('kill\x20<job-id>')['description'](a2_0x4dbb55(0x1c1))['action'](async(_0xbf8199,_0x268c40)=>{const _0x135bc4=a2_0x4dbb55,_0x30072c=new JobKillCommand(),_0x3ce442=program['opts'](),_0x1ec1b7=await createTDXInstance(_0x3ce442),_0x287027=await _0x30072c[_0x135bc4(0x399)]({'options':{..._0x3ce442,..._0x268c40},'args':[_0xbf8199],'tdx':_0x1ec1b7});gracefulExit(_0x287027);}),jobCmd['command'](a2_0x4dbb55(0x1ac))[a2_0x4dbb55(0x2c4)]('Submit\x20a\x20job')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3ee),a2_0x4dbb55(0x19d),a2_0x4dbb55(0x2cb))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x347),a2_0x4dbb55(0x44f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1a7),a2_0x4dbb55(0x216),'information_schema')['option'](a2_0x4dbb55(0x325),a2_0x4dbb55(0x37c))[a2_0x4dbb55(0x204)](async(_0x31d557,_0x3b2cf7)=>{const _0x1741c7=a2_0x4dbb55,_0x4d2d89=new JobSubmitCommand(),_0x304ff4=program['opts'](),_0xcfa57e=await createTDXInstance(_0x304ff4),_0x49eadc=await _0x4d2d89[_0x1741c7(0x399)]({'options':{..._0x304ff4,..._0x3b2cf7},'args':_0x31d557?[_0x31d557]:[],'tdx':_0xcfa57e});gracefulExit(_0x49eadc);}),jobCmd['command'](a2_0x4dbb55(0x336))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x47d))['action'](async(_0xb373a8,_0x2d9609)=>{const _0x272646=a2_0x4dbb55,_0x38d8e8=new JobResultCommand(),_0x3dfd64=program['opts'](),_0x7c799=await createTDXInstance(_0x3dfd64),_0xb0ba91=await _0x38d8e8[_0x272646(0x399)]({'options':{..._0x3dfd64,..._0x2d9609},'args':[_0xb373a8],'tdx':_0x7c799});gracefulExit(_0xb0ba91);});const scheduleCmd=jobCmd['command']('schedule')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3da));scheduleCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x38d))[a2_0x4dbb55(0x204)](async(_0x46649c,_0x4aa5c3)=>{const _0xb095a0=a2_0x4dbb55,_0x199148=new ScheduleListCommand(),_0x239b44=program[_0xb095a0(0x45b)](),_0x43ff8a=await createTDXInstance(_0x239b44),_0x5df523=await _0x199148[_0xb095a0(0x399)]({'options':{..._0x239b44,..._0x4aa5c3},'args':_0x46649c?[_0x46649c]:[],'tdx':_0x43ff8a});gracefulExit(_0x5df523);}),scheduleCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x356))[a2_0x4dbb55(0x2c4)]('Show\x20schedule\x20details')['action'](async(_0x39ecf8,_0x35f3b3)=>{const _0x90e885=a2_0x4dbb55,_0x8cb90d=new ScheduleShowCommand(),_0x3d0215=program[_0x90e885(0x45b)](),_0x1e4490=await createTDXInstance(_0x3d0215),_0xb1c74f=await _0x8cb90d[_0x90e885(0x399)]({'options':{..._0x3d0215,..._0x35f3b3},'args':[_0x39ecf8],'tdx':_0x1e4490});gracefulExit(_0xb1c74f);}),scheduleCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x455))[a2_0x4dbb55(0x2c4)]('Create\x20a\x20scheduled\x20query')[a2_0x4dbb55(0x1b4)]('-d,\x20--database\x20<db>',a2_0x4dbb55(0x245))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x442),a2_0x4dbb55(0x3b5))['requiredOption']('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')[a2_0x4dbb55(0x1b4)]('--type\x20<type>',a2_0x4dbb55(0x1f5),a2_0x4dbb55(0x2cb))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x220),a2_0x4dbb55(0x351))[a2_0x4dbb55(0x1b4)]('--timezone\x20<tz>','Timezone\x20for\x20cron\x20(default:\x20UTC)')['option'](a2_0x4dbb55(0x3aa),a2_0x4dbb55(0x1e9))[a2_0x4dbb55(0x1b4)]('--priority\x20<-2~2>',a2_0x4dbb55(0x1be))['option'](a2_0x4dbb55(0x400),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x46a),a2_0x4dbb55(0x414))['option'](a2_0x4dbb55(0x3dc),a2_0x4dbb55(0x3c2))[a2_0x4dbb55(0x204)](async(_0x385f73,_0x3421b2)=>{const _0x4323fe=a2_0x4dbb55,_0x539b5d=new ScheduleCreateCommand(),_0x347ce9=program['opts'](),_0x2060bd=await createTDXInstance(_0x347ce9);_0x3421b2['in']&&(_0x3421b2[_0x4323fe(0x2c5)]=_0x3421b2['in']);const _0x45485c=await _0x539b5d['run']({'options':{..._0x347ce9,..._0x3421b2},'args':[_0x385f73],'tdx':_0x2060bd});gracefulExit(_0x45485c);}),scheduleCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x343))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1d1))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x38a),a2_0x4dbb55(0x46d))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x442),a2_0x4dbb55(0x3b5))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x347),a2_0x4dbb55(0x44f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x312),a2_0x4dbb55(0x1f5))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x220),a2_0x4dbb55(0x351))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x328),'Timezone\x20for\x20cron')['option'](a2_0x4dbb55(0x3aa),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x4dbb55(0x1b4)]('--priority\x20<-2~2>',a2_0x4dbb55(0x1be))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x400),a2_0x4dbb55(0x209))['option'](a2_0x4dbb55(0x46a),'Query\x20engine\x20version')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3dc),a2_0x4dbb55(0x3c2))[a2_0x4dbb55(0x204)](async(_0x13bf49,_0x42bd3e)=>{const _0x4e7331=a2_0x4dbb55,_0x2ad093=new ScheduleUpdateCommand(),_0xa04586=program['opts'](),_0x46c9bd=await createTDXInstance(_0xa04586);_0x42bd3e['in']&&(_0x42bd3e[_0x4e7331(0x2c5)]=_0x42bd3e['in']);const _0x415fe7=await _0x2ad093[_0x4e7331(0x399)]({'options':{..._0xa04586,..._0x42bd3e},'args':[_0x13bf49],'tdx':_0x46c9bd});gracefulExit(_0x415fe7);}),scheduleCmd['command'](a2_0x4dbb55(0x19c))[a2_0x4dbb55(0x2c4)]('Delete\x20a\x20scheduled\x20query')[a2_0x4dbb55(0x204)](async(_0x3b2ca6,_0x4f4178)=>{const _0xff16a5=a2_0x4dbb55,_0x15d98a=new ScheduleDeleteCommand(),_0x4da4a9=program[_0xff16a5(0x45b)](),_0x57df27=await createTDXInstance(_0x4da4a9),_0x11bb71=await _0x15d98a[_0xff16a5(0x399)]({'options':{..._0x4da4a9,..._0x4f4178},'args':[_0x3b2ca6],'tdx':_0x57df27});gracefulExit(_0x11bb71);}),scheduleCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x370))[a2_0x4dbb55(0x2c4)]('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x14a),a2_0x4dbb55(0x1d7))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2c8),a2_0x4dbb55(0x401))[a2_0x4dbb55(0x204)](async(_0x505a75,_0x284f7c)=>{const _0x37e9fd=a2_0x4dbb55,_0x40804e=new ScheduleRunCommand(),_0x575138=program[_0x37e9fd(0x45b)](),_0x24c47b=await createTDXInstance(_0x575138),_0x305493=await _0x40804e['run']({'options':{..._0x575138,..._0x284f7c},'args':[_0x505a75],'tdx':_0x24c47b});gracefulExit(_0x305493);}),scheduleCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2ff))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x485))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x436),a2_0x4dbb55(0x43c))['option'](a2_0x4dbb55(0x3a7),a2_0x4dbb55(0x191))['action'](async(_0x28ddd2,_0x1500dc)=>{const _0x54bd5e=a2_0x4dbb55,_0x2e27f2=new ScheduleHistoryCommand(),_0x22b80a=program[_0x54bd5e(0x45b)](),_0x2a5770=await createTDXInstance(_0x22b80a),_0x1ac29d=await _0x2e27f2[_0x54bd5e(0x399)]({'options':{..._0x22b80a,..._0x1500dc},'args':[_0x28ddd2],'tdx':_0x2a5770});gracefulExit(_0x1ac29d);});const llmCmd=program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2ac))['description']('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x495))['description'](a2_0x4dbb55(0x2e3))['action'](async(_0x2995bd,_0x33add6)=>{const _0x4588cc=a2_0x4dbb55,_0x35fe58=new LLMUseCommand(),_0x3bcdd7=program[_0x4588cc(0x45b)](),_0x3ce725=await createTDXInstance(_0x3bcdd7),_0x473296=await _0x35fe58['run']({'options':{..._0x3bcdd7,..._0x33add6},'args':[_0x2995bd],'tdx':_0x3ce725});gracefulExit(_0x473296);}),llmCmd[a2_0x4dbb55(0x404)]('models')[a2_0x4dbb55(0x2c4)]('List\x20available\x20LLM\x20models')[a2_0x4dbb55(0x204)](async _0x3d8423=>{const _0x1dfc7a=a2_0x4dbb55,_0x165c1f=new LLMModelsCommand(),_0xd56059=program[_0x1dfc7a(0x45b)](),_0x8a479d=await createTDXInstance(_0xd56059),_0x179de8=await _0x165c1f[_0x1dfc7a(0x399)]({'options':{..._0xd56059,..._0x3d8423},'args':[],'tdx':_0x8a479d});gracefulExit(_0x179de8);});const projectCmd=llmCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x48d))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x287)),llmProjectListAction=async(_0x3a76fa,_0x58bc65)=>{const _0x4524ca=a2_0x4dbb55,_0x44a705=new LLMProjectsCommand(),_0x93d23=program[_0x4524ca(0x45b)](),_0x276336=await createTDXInstance(_0x93d23),_0x1e094d=await _0x44a705[_0x4524ca(0x399)]({'options':{..._0x93d23,..._0x58bc65},'args':_0x3a76fa?[_0x3a76fa]:[],'tdx':_0x276336});gracefulExit(_0x1e094d);};projectCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x359))['action'](llmProjectListAction),llmCmd['command'](a2_0x4dbb55(0x1a5))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2e0))[a2_0x4dbb55(0x204)](llmProjectListAction),projectCmd[a2_0x4dbb55(0x404)]('create\x20<name>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x48e))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),'Project\x20description')['action'](async(_0x1b93f7,_0x1d8bf1)=>{const _0x2cbde6=a2_0x4dbb55,_0x2d5ac1=new LLMProjectCreateCommand(),_0x4b9ab6=program[_0x2cbde6(0x45b)](),_0x2b6264=await createTDXInstance(_0x4b9ab6),_0x6a2591=await _0x2d5ac1[_0x2cbde6(0x399)]({'options':{..._0x4b9ab6,..._0x1d8bf1},'args':[_0x1b93f7],'tdx':_0x2b6264});gracefulExit(_0x6a2591);}),projectCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x19c))['description'](a2_0x4dbb55(0x3bb))[a2_0x4dbb55(0x204)](async(_0x3f331f,_0x1a6319)=>{const _0xe0b3c6=a2_0x4dbb55,_0x46d9b0=new LLMProjectDeleteCommand(),_0x169a6e=program[_0xe0b3c6(0x45b)](),_0x1642af=await createTDXInstance(_0x169a6e),_0x578f88=await _0x46d9b0[_0xe0b3c6(0x399)]({'options':{..._0x169a6e,..._0x1a6319},'args':[_0x3f331f],'tdx':_0x1642af});gracefulExit(_0x578f88);}),projectCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1d0))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x360))['option']('-o,\x20--output\x20<folder>','Output\x20folder\x20(default:\x20{project_name}.llm)')['option']('--dry-run',a2_0x4dbb55(0x49e))[a2_0x4dbb55(0x204)](async(_0x1e3d6c,_0x7d307)=>{const _0x15b9d0=a2_0x4dbb55,_0x185e61=new LLMProjectBackupCommand(),_0xce0b5d=program[_0x15b9d0(0x45b)](),_0x2d407e=await createTDXInstance(_0xce0b5d),_0xd6f5ea=await _0x185e61[_0x15b9d0(0x399)]({'options':{..._0xce0b5d,..._0x7d307},'args':[_0x1e3d6c],'tdx':_0x2d407e});gracefulExit(_0xd6f5ea);}),projectCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1a2))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2c2))[a2_0x4dbb55(0x1b4)]('--name\x20<new-name>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')['option'](a2_0x4dbb55(0x254),a2_0x4dbb55(0x234))[a2_0x4dbb55(0x204)](async(_0x3cb3ca,_0x23b07f)=>{const _0x3480e6=a2_0x4dbb55,_0x22dd3a=new LLMProjectRestoreCommand(),_0x172081=program[_0x3480e6(0x45b)](),_0x2b1de5=await createTDXInstance(_0x172081),_0x1f24a7=await _0x22dd3a[_0x3480e6(0x399)]({'options':{..._0x172081,..._0x23b07f},'args':[_0x3cb3ca],'tdx':_0x2b1de5});gracefulExit(_0x1f24a7);});const llmAgentListAction=async(_0x132e98,_0x3fb7a1)=>{const _0x49a7bd=a2_0x4dbb55,_0x15a5e9=new LLMAgentsCommand(),_0x294f25=program[_0x49a7bd(0x45b)](),_0x319841=await createTDXInstance(_0x294f25),_0x4b73d3=await _0x15a5e9[_0x49a7bd(0x399)]({'options':{..._0x294f25,..._0x3fb7a1},'args':_0x132e98?[_0x132e98]:[],'tdx':_0x319841});gracefulExit(_0x4b73d3);};llmCmd['command'](a2_0x4dbb55(0x49f))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x20f))[a2_0x4dbb55(0x204)](llmAgentListAction),program['command'](a2_0x4dbb55(0x49f))['description']('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x4dbb55(0x204)](llmAgentListAction),llmCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x16c))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x23c))[a2_0x4dbb55(0x1b4)]('--last','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x4dbb55(0x204)](async(_0x223ef9,_0x31b45c)=>{const _0x3a9ad9=a2_0x4dbb55,_0xc2b233=new LLMHistoryCommand(),_0xebcf6d=program['opts'](),_0x93495c=await createTDXInstance(_0xebcf6d),_0x536f70=await _0xc2b233[_0x3a9ad9(0x399)]({'options':{..._0xebcf6d,..._0x31b45c},'args':_0x223ef9?[_0x223ef9]:[],'tdx':_0x93495c});gracefulExit(_0x536f70);});isExperimentalAvailable()&&llmCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x28e))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x295))[a2_0x4dbb55(0x204)](async(_0x240e04,_0x3c0014)=>{const _0x512b30=new LLMLogCommand(),_0x5b2b04=program['opts'](),_0x184cf3=await createTDXInstance(_0x5b2b04),_0x44e682=await _0x512b30['run']({'options':{..._0x5b2b04,..._0x3c0014},'args':[_0x240e04],'tdx':_0x184cf3});gracefulExit(_0x44e682);});program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x16a))[a2_0x4dbb55(0x1fb)]('[options]\x20--\x20[claude-code-args...]')['description'](a2_0x4dbb55(0x49b))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x188),a2_0x4dbb55(0x46e))[a2_0x4dbb55(0x1b4)]('-r,\x20--resume','Resume\x20a\x20conversation\x20(shows\x20selector)')['option'](a2_0x4dbb55(0x311),a2_0x4dbb55(0x43b))['option']('--refresh',a2_0x4dbb55(0x447))[a2_0x4dbb55(0x246)]()[a2_0x4dbb55(0x33f)](!![])['addHelpText'](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x3ba))[a2_0x4dbb55(0x204)](async(_0xf06efc,_0x9f77a)=>{const _0xb56a9c=a2_0x4dbb55,_0x2eb10b=program[_0xb56a9c(0x45b)](),_0x159436=Array['isArray'](_0xf06efc)?_0xf06efc:[];if(_0x159436[0x0]==='statusline'){const _0x39bfcd=new ClaudeStatuslineCommand(),_0x143c02=await _0x39bfcd['run']({'options':{..._0x2eb10b,..._0x9f77a},'args':_0x159436[_0xb56a9c(0x27d)](0x1),'tdx':null});gracefulExit(_0x143c02);}if(_0x159436[0x0]==='usage'){const _0x3ba403=new ClaudeUsageCommand(),_0xcf29ca=await _0x3ba403[_0xb56a9c(0x399)]({'options':{..._0x2eb10b,..._0x9f77a},'args':_0x159436[_0xb56a9c(0x27d)](0x1),'tdx':null});gracefulExit(_0xcf29ca);}const _0x170aeb=new ClaudeCommand(),_0x35bcaf=await createTDXInstance(_0x2eb10b),_0x462263=await _0x170aeb[_0xb56a9c(0x399)]({'options':{..._0x2eb10b,..._0x9f77a},'args':_0x159436,'tdx':_0x35bcaf});gracefulExit(_0x462263);}),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2f8))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2e8))[a2_0x4dbb55(0x1b4)]('--clear',a2_0x4dbb55(0x2c0))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2bf),a2_0x4dbb55(0x2a7))['action'](async(_0x226a3d,_0x2b6ca9,_0x58e26a)=>{const _0x13e6e6=a2_0x4dbb55,_0x1fdbd8=new UseCommand(),_0x1b235d=program[_0x13e6e6(0x45b)](),_0x3aa344=[];if(_0x226a3d)_0x3aa344['push'](_0x226a3d);if(_0x2b6ca9)_0x3aa344[_0x13e6e6(0x330)](_0x2b6ca9);const _0x5df246=_0x226a3d==='engage_workspace',_0x5f5822=_0x5df246?await createTDXInstance(_0x1b235d):null,_0x118491=await _0x1fdbd8[_0x13e6e6(0x399)]({'options':{..._0x1b235d,..._0x58e26a},'args':_0x3aa344,'tdx':_0x5f5822});gracefulExit(_0x118491);}),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2d3))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1e4))[a2_0x4dbb55(0x204)](async _0x89764f=>{const _0x132a6b=a2_0x4dbb55,_0x38160e=new StatusCommand(),_0x52be9b=program[_0x132a6b(0x45b)](),_0x1b69db={..._0x52be9b},_0x105a29=await createTDXInstance(_0x52be9b,{'skipSiteMismatchCheck':!![]}),_0x338eab=await _0x38160e[_0x132a6b(0x399)]({'options':{..._0x1b69db,..._0x89764f},'args':[],'tdx':_0x105a29});gracefulExit(_0x338eab);}),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x362))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3c3))['option'](a2_0x4dbb55(0x254),a2_0x4dbb55(0x2d6))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1fd),a2_0x4dbb55(0x196))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x14d),a2_0x4dbb55(0x475))[a2_0x4dbb55(0x204)](async(_0x3270ba,_0x1e0eba)=>{const _0xfac407=a2_0x4dbb55,_0x1eb0c3=new UpgradeCommand(),_0x2a6587=program[_0xfac407(0x45b)](),_0x38c75a=await _0x1eb0c3[_0xfac407(0x399)]({'options':{..._0x2a6587,..._0x1e0eba},'args':_0x3270ba?[_0x3270ba]:[],'tdx':null});gracefulExit(_0x38c75a);}),program[a2_0x4dbb55(0x404)]('unset\x20<resource>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x150))[a2_0x4dbb55(0x1b4)]('--default',a2_0x4dbb55(0x310))['action'](async(_0x5f5303,_0x48c144)=>{const _0x26284d=a2_0x4dbb55,_0x3d61ff=new UnsetCommand(),_0x109c03=program[_0x26284d(0x45b)](),_0x50cf1b=await _0x3d61ff[_0x26284d(0x399)]({'options':{..._0x109c03,..._0x48c144},'args':[_0x5f5303],'tdx':null});gracefulExit(_0x50cf1b);}),program[a2_0x4dbb55(0x404)]('chats')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x434))['option'](a2_0x4dbb55(0x23f),a2_0x4dbb55(0x3b9))[a2_0x4dbb55(0x204)](async _0xcd00b3=>{const _0x8f1530=a2_0x4dbb55,_0x49fbe5=new ChatsCommand(),_0x51f8dd=program[_0x8f1530(0x45b)](),_0x3fd183=await createTDXInstance(_0x51f8dd),_0x2f086a=await _0x49fbe5[_0x8f1530(0x399)]({'options':{..._0x51f8dd,..._0xcd00b3},'args':[],'tdx':_0x3fd183});gracefulExit(_0x2f086a);});const authCmd=program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2cd))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x290));async function runAuthStatusCommand(_0x3aa7b9){const _0x36ea5b=a2_0x4dbb55,_0x1fe91e=new AuthStatusCommand(),_0xb0a0aa=program[_0x36ea5b(0x45b)](),_0x1144d4=await createTDXInstance(_0xb0a0aa,{'skipSiteMismatchCheck':!![]}),_0x3868ee=await _0x1fe91e['run']({'options':{..._0xb0a0aa,..._0x3aa7b9},'args':[],'tdx':_0x1144d4});gracefulExit(_0x3868ee);}authCmd[a2_0x4dbb55(0x204)](runAuthStatusCommand),authCmd['command'](a2_0x4dbb55(0x2d3))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x375))[a2_0x4dbb55(0x204)](runAuthStatusCommand);async function authSetupAction(_0x1e1d57){const _0x570780=a2_0x4dbb55,_0xe63485=new AuthSetupCommand(),_0x14d4ed=program[_0x570780(0x45b)](),_0x207c16=await createTDXInstance(_0x14d4ed,{'skipSiteMismatchCheck':!![]}),_0x113994=await _0xe63485['run']({'options':{..._0x14d4ed,..._0x1e1d57},'args':[],'tdx':_0x207c16});gracefulExit(_0x113994);}authCmd[a2_0x4dbb55(0x404)]('setup')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2ad))[a2_0x4dbb55(0x1b4)]('--account-name\x20<name>','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x45a))[a2_0x4dbb55(0x204)](authSetupAction),authCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3e7),{'hidden':!![]})[a2_0x4dbb55(0x1b4)]('--account-name\x20<name>',a2_0x4dbb55(0x407))[a2_0x4dbb55(0x204)](authSetupAction),authCmd['command']('token')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x235))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3fe),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20token\x0a\x20\x20$\x20tdx\x20auth\x20token\x20--profile\x20production\x0a')[a2_0x4dbb55(0x204)](async _0x14adf4=>{const _0x291c9e=a2_0x4dbb55,_0x604d49=new AuthTokenCommand(),_0xd3db97=mergeCommandOptions(program[_0x291c9e(0x45b)](),_0x14adf4),_0xc11a46=await createTDXInstance(_0xd3db97),_0x1ee3fb=await _0x604d49[_0x291c9e(0x399)]({'options':_0xd3db97,'args':[],'tdx':_0xc11a46});gracefulExit(_0x1ee3fb);}),authCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x25b))[a2_0x4dbb55(0x2c4)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x3c1))['action'](async _0x352a64=>{const _0x4405de=a2_0x4dbb55,_0x2fa181=new AuthClearCommand(),_0x19a006=program[_0x4405de(0x45b)](),_0x6fd341=await _0x2fa181[_0x4405de(0x399)]({'options':{..._0x19a006,..._0x352a64},'args':[],'tdx':null});gracefulExit(_0x6fd341);});const userCmd=program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x215))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x262)),userListAction=async _0x598d47=>{const _0x2f8e01=a2_0x4dbb55,_0x4ca148=new UserListCommand(),_0x38afac=program[_0x2f8e01(0x45b)](),_0x3f799b=await createTDXInstance(_0x38afac),_0x1c5616=await _0x4ca148['run']({'options':{..._0x38afac,..._0x598d47},'args':[],'tdx':_0x3f799b});gracefulExit(_0x1c5616);};userCmd[a2_0x4dbb55(0x204)](async _0x380af5=>{const _0x302244=a2_0x4dbb55,_0x3251ca=new UserCommand(),_0x5abebe=program[_0x302244(0x45b)](),_0x243ffb=await createTDXInstance(_0x5abebe),_0x189a00=await _0x3251ca[_0x302244(0x399)]({'options':{..._0x5abebe,..._0x380af5},'args':[],'tdx':_0x243ffb});gracefulExit(_0x189a00);}),userCmd[a2_0x4dbb55(0x404)]('list')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x36b))[a2_0x4dbb55(0x204)](userListAction),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3a2))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2f1))[a2_0x4dbb55(0x204)](userListAction);const policyCmd=program['command'](a2_0x4dbb55(0x26c))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x307));policyCmd[a2_0x4dbb55(0x204)](async _0x594185=>{const _0x3dfc7c=new PolicyCommand(),_0x2615d6=program['opts'](),_0x456218=await createTDXInstance(_0x2615d6),_0x5e8c91=await _0x3dfc7c['run']({'options':{..._0x2615d6,..._0x594185},'args':[],'tdx':_0x456218});gracefulExit(_0x5e8c91);}),policyCmd[a2_0x4dbb55(0x404)]('list')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1fa))['action'](async _0x51d90b=>{const _0x116548=a2_0x4dbb55,_0x3369f2=new PolicyListCommand(),_0x43d268=program['opts'](),_0x25c670=await createTDXInstance(_0x43d268),_0x3a749a=await _0x3369f2[_0x116548(0x399)]({'options':{..._0x43d268,..._0x51d90b},'args':[],'tdx':_0x25c670});gracefulExit(_0x3a749a);}),policyCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x212))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2ea))[a2_0x4dbb55(0x204)](async(_0x3af8df,_0x2771ce)=>{const _0x433d7a=a2_0x4dbb55,_0x16cf03=new PolicyShowCommand(),_0x5f1bd8=program[_0x433d7a(0x45b)](),_0x21e023=await createTDXInstance(_0x5f1bd8),_0x7c6329=await _0x16cf03['run']({'options':{..._0x5f1bd8,..._0x2771ce},'args':[_0x3af8df],'tdx':_0x21e023});gracefulExit(_0x7c6329);}),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x28c))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3fa))[a2_0x4dbb55(0x204)](async _0x32c249=>{const _0xff005b=a2_0x4dbb55,_0x1dc0b5=new ProfilesCommand(),_0xe341b9=program[_0xff005b(0x45b)](),_0x408d95=await _0x1dc0b5[_0xff005b(0x399)]({'options':{..._0xe341b9,..._0x32c249},'args':[],'tdx':null});gracefulExit(_0x408d95);});const profileCmd=program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3bf))[a2_0x4dbb55(0x2c4)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x4dbb55(0x204)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x14a54a=>{const _0x59cd75=a2_0x4dbb55,_0x5777eb=new ProfilesCommand(),_0x586bdf=program[_0x59cd75(0x45b)](),_0x211506=await _0x5777eb[_0x59cd75(0x399)]({'options':{..._0x586bdf,..._0x14a54a},'args':[],'tdx':null});gracefulExit(_0x211506);};profileCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1fe))[a2_0x4dbb55(0x2c4)]('List\x20all\x20available\x20profiles')[a2_0x4dbb55(0x204)](profileListAction),profileCmd[a2_0x4dbb55(0x404)]('create\x20[name]')['description'](a2_0x4dbb55(0x253))[a2_0x4dbb55(0x1b4)]('--account-name\x20<name>',a2_0x4dbb55(0x407))[a2_0x4dbb55(0x1b4)]('-f,\x20--force',a2_0x4dbb55(0x1ea))[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x14c))[a2_0x4dbb55(0x204)](async(_0x458f4f,_0x60a2a7)=>{const _0x572232=a2_0x4dbb55,_0x51bba9=new ProfileCreateCommand(),_0x4c2419=program[_0x572232(0x45b)](),_0x3c84ce=await _0x51bba9[_0x572232(0x399)]({'options':{..._0x4c2419,..._0x60a2a7},'args':_0x458f4f?[_0x458f4f]:[],'tdx':null});gracefulExit(_0x3c84ce);});async function profileDeleteAction(_0x1dbd96,_0x144021){const _0x36c736=a2_0x4dbb55,_0x5600e1=new ProfileDeleteCommand(),_0x12e179=program[_0x36c736(0x45b)](),_0x1e8e64=await _0x5600e1[_0x36c736(0x399)]({'options':{..._0x12e179,..._0x144021},'args':[_0x1dbd96],'tdx':null});gracefulExit(_0x1e8e64);}profileCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x19c))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x36e))[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x211))['action'](profileDeleteAction),profileCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x206),{'hidden':!![]})[a2_0x4dbb55(0x204)](profileDeleteAction),profileCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x187))[a2_0x4dbb55(0x2c4)]('Set\x20a\x20profile\x20configuration\x20value')[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),a2_0x4dbb55(0x219))[a2_0x4dbb55(0x204)](async(_0x4d5a32,_0x33bf41)=>{const _0x281973=a2_0x4dbb55,_0x81d1eb=new ProfileSetCommand(),_0xafbb60=program['opts'](),_0x45a6e5=await _0x81d1eb[_0x281973(0x399)]({'options':{..._0xafbb60,..._0x33bf41},'args':[_0x4d5a32],'tdx':null});gracefulExit(_0x45a6e5);}),profileCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2d7))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3ac))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2bf),a2_0x4dbb55(0x2a7))[a2_0x4dbb55(0x321)](a2_0x4dbb55(0x3b1),'\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')[a2_0x4dbb55(0x204)](async(_0x3f9918,_0x228ec2)=>{const _0x2d69f2=a2_0x4dbb55,_0x2df26c=new ProfileUseCommand(),_0x1047a8=program[_0x2d69f2(0x45b)](),_0x448c4b=await _0x2df26c['run']({'options':{..._0x1047a8,..._0x228ec2},'args':[_0x3f9918],'tdx':null});gracefulExit(_0x448c4b);});const engageCmd=program['command'](a2_0x4dbb55(0x14e))['description'](a2_0x4dbb55(0x3e3)),createEngageAction=_0x247ded=>{return async(_0x14d8c5,_0xc5b0f3)=>{const _0x291535=a2_0x472e,_0x52245a=new _0x247ded(),_0x306ea7=program[_0x291535(0x45b)](),_0x512dc5=await createTDXInstance(_0x306ea7),_0x1d3aa3=await _0x52245a['run']({'options':{..._0x306ea7,..._0xc5b0f3},'args':[_0x14d8c5],'tdx':_0x512dc5});gracefulExit(_0x1d3aa3);};},createEngageNoArgAction=_0x3d3154=>{return async _0x59d09d=>{const _0x2004d2=a2_0x472e,_0x47417b=new _0x3d3154(),_0x2f8cf6=program[_0x2004d2(0x45b)](),_0x12852a=await createTDXInstance(_0x2f8cf6),_0x181797=await _0x47417b[_0x2004d2(0x399)]({'options':{..._0x2f8cf6,..._0x59d09d},'args':[],'tdx':_0x12852a});gracefulExit(_0x181797);};},createEngageListAction=_0x68d103=>{return async(_0x289331,_0x23ebb4)=>{const _0x59d3eb=new _0x68d103(),_0x2c50cf=program['opts'](),_0x5dda23=await createTDXInstance(_0x2c50cf),_0x3607ce=await _0x59d3eb['run']({'options':{..._0x2c50cf,..._0x23ebb4},'args':_0x289331?[_0x289331]:[],'tdx':_0x5dda23});gracefulExit(_0x3607ce);};},campaignCmd=engageCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x40d))['description'](a2_0x4dbb55(0x397));campaignCmd['command'](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x300))[a2_0x4dbb55(0x1b4)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x4dbb55(0x1b4)]('--status\x20<status>',a2_0x4dbb55(0x402))['option'](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x204)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x45c))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x24a))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x312),a2_0x4dbb55(0x1ca))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x242),a2_0x4dbb55(0x402))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),'Workspace\x20name')[a2_0x4dbb55(0x204)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x4dbb55(0x404)]('show\x20<name-or-id>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3fc))['option']('--workspace\x20<name>',a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)]('--full',a2_0x4dbb55(0x1c8))[a2_0x4dbb55(0x204)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x35a))['description']('Create\x20a\x20new\x20campaign')['requiredOption'](a2_0x4dbb55(0x171),a2_0x4dbb55(0x368))[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x312),a2_0x4dbb55(0x21f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x3b3))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x296),a2_0x4dbb55(0x33e))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3cd),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option']('--email-sender-id\x20<id>',a2_0x4dbb55(0x193))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x452),a2_0x4dbb55(0x42c))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1da),a2_0x4dbb55(0x170))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x328),a2_0x4dbb55(0x1af))[a2_0x4dbb55(0x204)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2be))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1a0))['option'](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x171),a2_0x4dbb55(0x198))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x296),a2_0x4dbb55(0x33e))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3cd),a2_0x4dbb55(0x21c))[a2_0x4dbb55(0x1b4)]('--email-sender-id\x20<id>',a2_0x4dbb55(0x193))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x452),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1da),a2_0x4dbb55(0x170))[a2_0x4dbb55(0x1b4)]('--timezone\x20<tz>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1d3))[a2_0x4dbb55(0x2c4)]('Delete\x20a\x20campaign')['option'](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x378),a2_0x4dbb55(0x3fb))[a2_0x4dbb55(0x204)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1a1))['description']('Launch\x20a\x20campaign')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x204)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x481))['description'](a2_0x4dbb55(0x1ed))['option'](a2_0x4dbb55(0x1ae),'Workspace\x20name')[a2_0x4dbb55(0x204)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0x4dbb55(0x42f))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1e1))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x204)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command']('duplicate\x20<name-or-id>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x45e))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),'Workspace\x20name')['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd['command'](a2_0x4dbb55(0x392))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x163))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x171),a2_0x4dbb55(0x38f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x312),a2_0x4dbb55(0x1ca))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x2e1))[a2_0x4dbb55(0x204)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x24f))['description'](a2_0x4dbb55(0x31a))['option'](a2_0x4dbb55(0x1ae),'Workspace\x20name')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x460))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x468))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x483),a2_0x4dbb55(0x23e))['action'](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x326))[a2_0x4dbb55(0x2c4)]('Always-on\x20campaign\x20management');alwaysOnCampaignCmd['command'](a2_0x4dbb55(0x392))[a2_0x4dbb55(0x2c4)]('Pull\x20always-on\x20campaigns\x20to\x20YAML\x20files')['option'](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x171),a2_0x4dbb55(0x38f))['option'](a2_0x4dbb55(0x312),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x2e1))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignPullCommand)),alwaysOnCampaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x24f))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1cf))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)]('--dry-run',a2_0x4dbb55(0x2a3))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignPushCommand)),alwaysOnCampaignCmd[a2_0x4dbb55(0x404)]('list\x20[pattern]')['description']('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x312),a2_0x4dbb55(0x1ca))['option']('--status\x20<status>',a2_0x4dbb55(0x3ad))[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x1ae),'Workspace\x20name\x20(required)')[a2_0x4dbb55(0x204)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x281))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3b4))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x312),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option']('--status\x20<status>',a2_0x4dbb55(0x3ad))['requiredOption'](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x3b3))[a2_0x4dbb55(0x204)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command']('show\x20<name-or-id>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x18a))[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x3b3))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x41c),a2_0x4dbb55(0x1c8))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x4dbb55(0x404)]('create')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x446))['requiredOption']('--name\x20<name>',a2_0x4dbb55(0x368))['requiredOption'](a2_0x4dbb55(0x312),a2_0x4dbb55(0x21f))['requiredOption'](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x3b3))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x296),'Campaign\x20description')[a2_0x4dbb55(0x1b4)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x4dbb55(0x1b4)]('--enable-utm-tracking',a2_0x4dbb55(0x469))['action'](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2be))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3e6))[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x3b3))[a2_0x4dbb55(0x1b4)]('--name\x20<name>',a2_0x4dbb55(0x198))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x296),a2_0x4dbb55(0x33e))['option'](a2_0x4dbb55(0x3cd),a2_0x4dbb55(0x318))['option']('--enable-utm-tracking',a2_0x4dbb55(0x469))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd['command'](a2_0x4dbb55(0x1d3))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x459))['requiredOption'](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x3b3))['option']('--yes',a2_0x4dbb55(0x3fb))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1a1))[a2_0x4dbb55(0x2c4)]('Launch\x20an\x20always-on\x20campaign')['requiredOption']('--workspace\x20<name>',a2_0x4dbb55(0x3b3))['action'](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x481))[a2_0x4dbb55(0x2c4)]('Pause\x20an\x20always-on\x20campaign')[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x3b3))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd['command'](a2_0x4dbb55(0x42f))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x320))['requiredOption'](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x3b3))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3f9))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x24b))[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x3b3))[a2_0x4dbb55(0x1b4)]('--yes',a2_0x4dbb55(0x3fb))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x185))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x388))['requiredOption']('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x4dbb55(0x29c)]('--name\x20<name>',a2_0x4dbb55(0x173))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand)),alwaysOnCampaignCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x499))['description'](a2_0x4dbb55(0x30d))[a2_0x4dbb55(0x1b4)]('--verbose',a2_0x4dbb55(0x23e))[a2_0x4dbb55(0x204)](createEngageAction(EngageAlwaysOnCampaignValidateCommand));const templateCmd=engageCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1e6))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x29f));templateCmd[a2_0x4dbb55(0x404)]('list\x20[pattern]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x361))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),'Workspace\x20name')[a2_0x4dbb55(0x204)](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x4dbb55(0x3c7))['description']('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x4dbb55(0x1b4)]('--workspace\x20<name>',a2_0x4dbb55(0x377))[a2_0x4dbb55(0x204)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x445))[a2_0x4dbb55(0x2c4)]('Show\x20email\x20template\x20details')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x41c),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x35a))[a2_0x4dbb55(0x2c4)]('Create\x20an\x20email\x20template')['requiredOption'](a2_0x4dbb55(0x171),a2_0x4dbb55(0x285))[a2_0x4dbb55(0x29c)]('--subject\x20<subject>',a2_0x4dbb55(0x319))['option'](a2_0x4dbb55(0x28b),a2_0x4dbb55(0x244))['option'](a2_0x4dbb55(0x32a),a2_0x4dbb55(0x182))['option']('--workspace\x20<name>',a2_0x4dbb55(0x3b3))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2e5),a2_0x4dbb55(0x247))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2e2),a2_0x4dbb55(0x339),_0xc67880=>{const _0x59cb73=a2_0x4dbb55;if(!['beefree','grapesjs'][_0x59cb73(0x3c0)](_0xc67880))throw new SDKError(ErrorCode[_0x59cb73(0x1d2)],'Invalid\x20editor\x20type:\x20'+_0xc67880+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0xc67880;})[a2_0x4dbb55(0x204)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2be))['description'](a2_0x4dbb55(0x189))[a2_0x4dbb55(0x1b4)]('--workspace\x20<name>',a2_0x4dbb55(0x377))['option'](a2_0x4dbb55(0x171),'New\x20template\x20name')[a2_0x4dbb55(0x1b4)]('--subject\x20<subject>','Email\x20subject\x20template')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x28b),'HTML\x20template\x20content')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x32a),a2_0x4dbb55(0x182))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x2e5),a2_0x4dbb55(0x247))[a2_0x4dbb55(0x204)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x4dbb55(0x404)]('pull\x20[workspace]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x32f))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x171),'Pull\x20specific\x20template\x20by\x20name')['option'](a2_0x4dbb55(0x448),'Skip\x20confirmation\x20prompt')['option'](a2_0x4dbb55(0x254),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x4dbb55(0x204)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x24f))['description']('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x448),a2_0x4dbb55(0x3fb))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x4dbb55(0x204)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x4dbb55(0x404)]('validate\x20[target]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x45d))['option'](a2_0x4dbb55(0x483),a2_0x4dbb55(0x23e))[a2_0x4dbb55(0x204)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1d3))[a2_0x4dbb55(0x2c4)]('Delete\x20an\x20email\x20template')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x378),a2_0x4dbb55(0x3fb))[a2_0x4dbb55(0x204)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x4dbb55(0x1a9))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x42a));workspaceCmd[a2_0x4dbb55(0x404)]('list\x20[pattern]')['description']('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command']('workspaces\x20[pattern]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x406))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x445))[a2_0x4dbb55(0x2c4)]('Show\x20workspace\x20details')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x41c),a2_0x4dbb55(0x1c8))[a2_0x4dbb55(0x204)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x4dbb55(0x35a))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x463))[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x171),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x296),a2_0x4dbb55(0x2c6))[a2_0x4dbb55(0x204)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2be))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x18c))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x171),a2_0x4dbb55(0x428))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x296),a2_0x4dbb55(0x2c6))[a2_0x4dbb55(0x204)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x4dbb55(0x1d3))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x332))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x378),'Skip\x20confirmation\x20prompt')[a2_0x4dbb55(0x204)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x4dbb55(0x404)]('use\x20<name>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3e4))[a2_0x4dbb55(0x204)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd['command'](a2_0x4dbb55(0x3a3))['description']('LINE\x20sender\x20account\x20management');lineSenderAccountCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)]('List\x20LINE\x20sender\x20accounts')[a2_0x4dbb55(0x1b4)]('--workspace\x20<name>',a2_0x4dbb55(0x377))[a2_0x4dbb55(0x204)](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x445))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x25f))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x204)](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x195))[a2_0x4dbb55(0x2c4)]('LINE\x20imagemap\x20image\x20management');lineImagemapImageCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x31d))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x329))[a2_0x4dbb55(0x204)](createEngageAction(EngageLineImagemapImageUploadCommand));const engageMediaCmd=engageCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2d9))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x17f));engageMediaCmd[a2_0x4dbb55(0x404)]('ls\x20[path]')[a2_0x4dbb55(0x2c4)]('List\x20Engage\x20DAM\x20directory\x20contents')[a2_0x4dbb55(0x204)](createEngageAction(EngageMediaLsCommand)),engageMediaCmd[a2_0x4dbb55(0x404)]('upload\x20<file>')[a2_0x4dbb55(0x2c4)]('Upload\x20an\x20image\x20to\x20Engage\x20DAM\x20(JPEG/PNG/GIF)')[a2_0x4dbb55(0x1b4)]('--path\x20<folder>',a2_0x4dbb55(0x314))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x372),a2_0x4dbb55(0x3c4))[a2_0x4dbb55(0x204)](createEngageAction(EngageMediaUploadCommand)),engageMediaCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x424))['description'](a2_0x4dbb55(0x437))[a2_0x4dbb55(0x204)](createEngageAction(EngageMediaMkdirCommand)),engageMediaCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2ed))[a2_0x4dbb55(0x2c4)]('Delete\x20a\x20file\x20from\x20Engage\x20DAM')['action'](createEngageAction(EngageMediaRmCommand)),engageMediaCmd['command']('rmdir\x20<path>')[a2_0x4dbb55(0x2c4)]('Delete\x20a\x20directory\x20from\x20Engage\x20DAM\x20(must\x20be\x20empty)')[a2_0x4dbb55(0x204)](createEngageAction(EngageMediaRmdirCommand));const deliveryCmd=program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x1e5))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x22e));deliveryCmd['command'](a2_0x4dbb55(0x2ae))['description']('List\x20email\x20senders')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1ae),a2_0x4dbb55(0x377))[a2_0x4dbb55(0x204)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command']('connection')[a2_0x4dbb55(0x2c4)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x5cbe3e=>{const _0x423997=a2_0x4dbb55,_0x5d7cfc=new ConnectionListCommand(),_0x5b0c90=program['opts'](),_0x1da9ff=await createTDXInstance(_0x5b0c90),_0x2a5141=await _0x5d7cfc[_0x423997(0x399)]({'options':{..._0x5b0c90,..._0x5cbe3e},'args':[],'tdx':_0x1da9ff});gracefulExit(_0x2a5141);};connectionCmd['command'](a2_0x4dbb55(0x1fe))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1e2))['action'](connectionListAction),program[a2_0x4dbb55(0x404)]('connections',{'hidden':!![]})[a2_0x4dbb55(0x2c4)]('List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)')[a2_0x4dbb55(0x204)](connectionListAction),connectionCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x356))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x34b))[a2_0x4dbb55(0x204)](async(_0x35d474,_0x153592)=>{const _0x2844f0=a2_0x4dbb55,_0x24bcba=new ConnectionShowCommand(),_0x2ea287=program[_0x2844f0(0x45b)](),_0x46f2fc=await createTDXInstance(_0x2ea287),_0x52ed6a=await _0x24bcba[_0x2844f0(0x399)]({'options':{..._0x2ea287,..._0x153592},'args':[_0x35d474],'tdx':_0x46f2fc});gracefulExit(_0x52ed6a);}),connectionCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3a0))[a2_0x4dbb55(0x2c4)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x4dbb55(0x204)](async(_0x169dc8,_0x8696eb)=>{const _0x1dfd04=a2_0x4dbb55,_0x29ef59=new ConnectionSchemaCommand(),_0x5e5870=program[_0x1dfd04(0x45b)](),_0x45f2af=await createTDXInstance(_0x5e5870),_0x700183=await _0x29ef59[_0x1dfd04(0x399)]({'options':{..._0x5e5870,..._0x8696eb},'args':[_0x169dc8],'tdx':_0x45f2af});gracefulExit(_0x700183);}),connectionCmd[a2_0x4dbb55(0x404)]('types')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1b7))[a2_0x4dbb55(0x204)](async _0x271f27=>{const _0x257869=a2_0x4dbb55,_0x36be75=new ConnectionTypesCommand(),_0xd1b1f0=program[_0x257869(0x45b)](),_0x322564=await createTDXInstance(_0xd1b1f0),_0x2c8b70=await _0x36be75[_0x257869(0x399)]({'options':{..._0xd1b1f0,..._0x271f27},'args':[],'tdx':_0x322564});gracefulExit(_0x2c8b70);}),connectionCmd['command'](a2_0x4dbb55(0x35f))['description']('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')['action'](async(_0x3bbc56,_0x193e85)=>{const _0x3af8d2=a2_0x4dbb55,_0x5489ef=new ConnectionSettingsCommand(),_0x46acc2=program['opts'](),_0x17ae39=await createTDXInstance(_0x46acc2),_0x146826=await _0x5489ef[_0x3af8d2(0x399)]({'options':{..._0x46acc2,..._0x193e85},'args':[_0x3bbc56],'tdx':_0x17ae39});gracefulExit(_0x146826);});const casCmd=program['command'](a2_0x4dbb55(0x180))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x16d));casCmd['command'](a2_0x4dbb55(0x1fe))['description']('List\x20composable\x20audiences')[a2_0x4dbb55(0x204)](async _0x44ad11=>{const _0x47d87f=a2_0x4dbb55,_0x343a97=new CASListCommand(),_0x4d9c5b=program[_0x47d87f(0x45b)](),_0x2d03af=await createTDXInstance(_0x4d9c5b),_0x1b9cb5=await _0x343a97[_0x47d87f(0x399)]({'options':{..._0x4d9c5b,..._0x44ad11},'args':[],'tdx':_0x2d03af});gracefulExit(_0x1b9cb5);}),casCmd['command'](a2_0x4dbb55(0x2d2))[a2_0x4dbb55(0x2c4)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x4dbb55(0x204)](async(_0x14b246,_0x1ad5d3)=>{const _0x5d5a55=new CASDescCommand(),_0x396729=program['opts'](),_0x5b51b6=await createTDXInstance(_0x396729),_0x545ea7=await _0x5d5a55['run']({'options':{..._0x396729,..._0x1ad5d3},'args':_0x14b246?[_0x14b246]:[],'tdx':_0x5b51b6});gracefulExit(_0x545ea7);}),casCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3d6))[a2_0x4dbb55(0x2c4)]('Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x497),'Target\x20directory\x20for\x20YAML\x20files')[a2_0x4dbb55(0x1b4)]('--dry-run',a2_0x4dbb55(0x456))[a2_0x4dbb55(0x204)](async(_0x444bfe,_0x4316ac)=>{const _0x4786cc=a2_0x4dbb55,_0x4a2f3b=new CASPullCommand(),_0x1ed07f=program[_0x4786cc(0x45b)](),_0x534555=await createTDXInstance(_0x1ed07f),_0x5ec4f0=await _0x4a2f3b['run']({'options':{..._0x1ed07f,..._0x4316ac},'args':_0x444bfe?[_0x444bfe]:[],'tdx':_0x534555});gracefulExit(_0x5ec4f0);}),casCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x24f))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x429))['option']('--dry-run',a2_0x4dbb55(0x3ce))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x448),a2_0x4dbb55(0x3fb))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x162),a2_0x4dbb55(0x25a))['action'](async(_0xdc5551,_0x360087)=>{const _0x335335=a2_0x4dbb55,_0x439e99=new CASPushCommand(),_0xbde2a0=program[_0x335335(0x45b)](),_0x3a5a4e=await createTDXInstance(_0xbde2a0),_0x866c94=await _0x439e99[_0x335335(0x399)]({'options':{..._0xbde2a0,..._0x360087},'args':_0xdc5551?[_0xdc5551]:[],'tdx':_0x3a5a4e});gracefulExit(_0x866c94);}),casCmd[a2_0x4dbb55(0x404)]('validate\x20[target]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x342))['action'](async(_0x4525c4,_0x1b1634)=>{const _0x3106f8=a2_0x4dbb55,_0x261d1a=new CASValidateCommand(),_0xd4ca19=program['opts'](),_0x5722a5=await createTDXInstance(_0xd4ca19),_0x128070=await _0x261d1a[_0x3106f8(0x399)]({'options':{..._0xd4ca19,..._0x1b1634},'args':_0x4525c4?[_0x4525c4]:[],'tdx':_0x5722a5});gracefulExit(_0x128070);}),casCmd['command'](a2_0x4dbb55(0x24d))[a2_0x4dbb55(0x2c4)]('Preview\x20composable\x20segment\x20query\x20on\x20CDW')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x23b),a2_0x4dbb55(0x4a1))[a2_0x4dbb55(0x204)](async(_0x3bdcb6,_0x378631)=>{const _0x511430=a2_0x4dbb55,_0x14f38d=new CASPreviewCommand(),_0x9c48b4=program[_0x511430(0x45b)](),_0x1d71a1=await createTDXInstance(_0x9c48b4),_0x491dc5=await _0x14f38d[_0x511430(0x399)]({'options':{..._0x9c48b4,..._0x378631},'args':[_0x3bdcb6,_0x378631[_0x511430(0x344)]],'tdx':_0x1d71a1});gracefulExit(_0x491dc5);});const casSgCmd=casCmd['command']('sg')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x38b));function a2_0x472e(_0x4e068a,_0x1bcb2f){_0x4e068a=_0x4e068a-0x14a;const _0x7fbe48=a2_0x7fbe();let _0x472ef8=_0x7fbe48[_0x4e068a];return _0x472ef8;}casSgCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2d8))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x28d))[a2_0x4dbb55(0x204)](async(_0x155bb0,_0x176793)=>{const _0x542d94=a2_0x4dbb55,_0x4baeb1=new CASSegmentListCommand(),_0x76cde9=program['opts'](),_0x5f238b=await createTDXInstance(_0x76cde9),_0x312792=await _0x4baeb1[_0x542d94(0x399)]({'options':{..._0x76cde9,..._0x176793},'args':_0x155bb0?[_0x155bb0]:[],'tdx':_0x5f238b});gracefulExit(_0x312792);}),casSgCmd[a2_0x4dbb55(0x404)]('push\x20<file>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3e8))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x23b),a2_0x4dbb55(0x4a1))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x3ce))['option'](a2_0x4dbb55(0x448),a2_0x4dbb55(0x3fb))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x162),a2_0x4dbb55(0x41d))[a2_0x4dbb55(0x204)](async(_0x1a94f3,_0x805ea9)=>{const _0x7f8068=a2_0x4dbb55,_0x521ae7=new CASSegmentPushCommand(),_0x21a1f9=program[_0x7f8068(0x45b)](),_0x1914cf=await createTDXInstance(_0x21a1f9),_0x3168cb=await _0x521ae7[_0x7f8068(0x399)]({'options':{..._0x21a1f9,..._0x805ea9},'args':[_0x1a94f3],'tdx':_0x1914cf});gracefulExit(_0x3168cb);});const psP13nCmd=parentSegmentCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x37a))[a2_0x4dbb55(0x2c4)]('Personalization\x20Studio\x20campaign\x20management');psP13nCmd['command']('list\x20[name]')[a2_0x4dbb55(0x2c4)]('List\x20campaigns\x20(filter\x20by\x20parent\x20segment\x20name\x20or\x20use\x20context)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x346),a2_0x4dbb55(0x334))[a2_0x4dbb55(0x204)](async(_0x4bd0ec,_0x550cdd)=>{const _0x90c42e=a2_0x4dbb55,_0x3c5174=new P13nListCommand(),_0x58e043=program[_0x90c42e(0x45b)](),_0x5320d0=await createTDXInstance(_0x58e043),_0x17d19c=await _0x3c5174[_0x90c42e(0x399)]({'options':{..._0x58e043,..._0x550cdd},'args':_0x4bd0ec?[_0x4bd0ec]:[],'tdx':_0x5320d0});gracefulExit(_0x17d19c);});const journeyCmd=program['command'](a2_0x4dbb55(0x2c1))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x31b)),journeyListAction=async(_0x97508a,_0x319afc)=>{const _0xd25a2f=a2_0x4dbb55,_0x57749e=new JourneyListCommand(),_0x5792de=program[_0xd25a2f(0x45b)](),_0x337400=await createTDXInstance(_0x5792de),_0x45395c=await _0x57749e[_0xd25a2f(0x399)]({'options':{..._0x5792de,..._0x319afc},'args':_0x97508a?[_0x97508a]:[],'tdx':_0x337400});gracefulExit(_0x45395c);};journeyCmd['command'](a2_0x4dbb55(0x2b4))[a2_0x4dbb55(0x2c4)]('List\x20journeys\x20in\x20current\x20context')[a2_0x4dbb55(0x204)](journeyListAction),journeyCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x208))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x288))['option'](a2_0x4dbb55(0x15c),a2_0x4dbb55(0x33c))['option']('--include-stats','Include\x20execution\x20statistics')[a2_0x4dbb55(0x204)](async(_0x271898,_0x4aa46d)=>{const _0x4298b7=a2_0x4dbb55,_0x49de3e=new JourneyViewCommand(),_0x2cb915=program[_0x4298b7(0x45b)](),_0x5cb159=await createTDXInstance(_0x2cb915),_0x48989c=await _0x49de3e[_0x4298b7(0x399)]({'options':{..._0x2cb915,..._0x4aa46d},'args':[_0x271898],'tdx':_0x5cb159});gracefulExit(_0x48989c);}),journeyCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x33a))['description'](a2_0x4dbb55(0x341))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x181),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x458),a2_0x4dbb55(0x1a3))['option'](a2_0x4dbb55(0x49d),a2_0x4dbb55(0x14f))[a2_0x4dbb55(0x1b4)]('--include-history',a2_0x4dbb55(0x39f))['action'](async(_0xfd7433,_0x892050)=>{const _0x1f89d6=new JourneyStatsCommand(),_0x5cd769=program['opts'](),_0x3d9b91=await createTDXInstance(_0x5cd769),_0x59da40=await _0x1f89d6['run']({'options':{..._0x5cd769,..._0x892050},'args':[_0xfd7433],'tdx':_0x3d9b91});gracefulExit(_0x59da40);}),journeyCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x27c))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x496))['option']('--type\x20<type>',a2_0x4dbb55(0x451))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x458),a2_0x4dbb55(0x1a3))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x49d),a2_0x4dbb55(0x14f))[a2_0x4dbb55(0x1b4)]('--limit\x20<number>',a2_0x4dbb55(0x286),_0x3fcc23=>{const _0x18306e=a2_0x4dbb55,_0x44a79b=parseInt(_0x3fcc23,0xa);if(isNaN(_0x44a79b))throw new Error(_0x18306e(0x44d)+_0x3fcc23+_0x18306e(0x205));return _0x44a79b;})[a2_0x4dbb55(0x204)](async(_0x4f4796,_0x42e989)=>{const _0x5c7859=a2_0x4dbb55,_0x3d7eae=new JourneyTrafficCommand(),_0x489a84=program[_0x5c7859(0x45b)](),_0x29c54a=await createTDXInstance(_0x489a84),_0x43676b=await _0x3d7eae[_0x5c7859(0x399)]({'options':{..._0x489a84,..._0x42e989},'args':[_0x4f4796],'tdx':_0x29c54a});gracefulExit(_0x43676b);}),journeyCmd[a2_0x4dbb55(0x404)]('pause\x20<name-or-path>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x161))[a2_0x4dbb55(0x204)](async(_0x4363ef,_0x13ffeb)=>{const _0x19ed7d=a2_0x4dbb55,_0x5f9224=new JourneyPauseCommand(),_0x1d5011=program[_0x19ed7d(0x45b)](),_0xdb0dbc=await createTDXInstance(_0x1d5011),_0x17c5e7=await _0x5f9224[_0x19ed7d(0x399)]({'options':{..._0x1d5011,..._0x13ffeb},'args':[_0x4363ef],'tdx':_0xdb0dbc});gracefulExit(_0x17c5e7);}),journeyCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x462))['description'](a2_0x4dbb55(0x279))[a2_0x4dbb55(0x1b4)]('--dry-run',a2_0x4dbb55(0x3e9))[a2_0x4dbb55(0x204)](async(_0x32af36,_0x450c43)=>{const _0x3f1bef=a2_0x4dbb55,_0x2a4d3b=new JourneyRunCommand(),_0x18b846=program[_0x3f1bef(0x45b)](),_0x22a54c=await createTDXInstance(_0x18b846),_0x5261a6=await _0x2a4d3b[_0x3f1bef(0x399)]({'options':{..._0x18b846,..._0x450c43},'args':[_0x32af36],'tdx':_0x22a54c});gracefulExit(_0x5261a6);}),journeyCmd['command'](a2_0x4dbb55(0x43a))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x416))['option'](a2_0x4dbb55(0x254),a2_0x4dbb55(0x192))[a2_0x4dbb55(0x204)](async(_0x2ff8a5,_0x964757)=>{const _0x2408ed=a2_0x4dbb55,_0x450e05=new JourneyResumeCommand(),_0x24c1d5=program[_0x2408ed(0x45b)](),_0x3f7723=await createTDXInstance(_0x24c1d5),_0x47293c=await _0x450e05[_0x2408ed(0x399)]({'options':{..._0x24c1d5,..._0x964757},'args':[_0x2ff8a5],'tdx':_0x3f7723});gracefulExit(_0x47293c);}),journeyCmd['command']('pull\x20[name]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2a1))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x456))[a2_0x4dbb55(0x204)](async(_0xe88355,_0x17d38b)=>{const _0xc25d73=a2_0x4dbb55,_0x1834a1=new JourneyPullCommand(),_0x365a8f=program['opts'](),_0x49e5be=await createTDXInstance(_0x365a8f),_0x49aaaf=await _0x1834a1[_0xc25d73(0x399)]({'options':{..._0x365a8f,..._0x17d38b},'args':_0xe88355?[_0xe88355]:[],'tdx':_0x49e5be});gracefulExit(_0x49aaaf);}),journeyCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x24f))[a2_0x4dbb55(0x2c4)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20AI')[a2_0x4dbb55(0x204)](async(_0x31f2f7,_0x1f5533)=>{const _0x50b5bb=a2_0x4dbb55,_0x4d7812=new JourneyPushCommand(),_0x11ec2e=program[_0x50b5bb(0x45b)](),_0x182798=await createTDXInstance(_0x11ec2e),_0x744c97=await _0x4d7812['run']({'options':{..._0x11ec2e,..._0x1f5533},'args':_0x31f2f7?[_0x31f2f7]:[],'tdx':_0x182798});gracefulExit(_0x744c97);}),journeyCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x309))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2eb))[a2_0x4dbb55(0x204)](async(_0x1ca4b1,_0x87fb81)=>{const _0xf97811=a2_0x4dbb55,_0xbc7c45=new JourneyColumnsCommand(),_0x59125e=program[_0xf97811(0x45b)](),_0xaae4e8=await createTDXInstance(_0x59125e),_0x1af91c=await _0xbc7c45[_0xf97811(0x399)]({'options':{..._0x59125e,..._0x87fb81},'args':[_0x1ca4b1],'tdx':_0xaae4e8});gracefulExit(_0x1af91c);}),journeyCmd[a2_0x4dbb55(0x404)]('activations\x20<name-or-path>')['description'](a2_0x4dbb55(0x464))[a2_0x4dbb55(0x204)](async(_0x18b343,_0x470e6a)=>{const _0x5b47d5=a2_0x4dbb55,_0x408eaa=new JourneyActivationsCommand(),_0x267e63=program[_0x5b47d5(0x45b)](),_0x5629a2=await createTDXInstance(_0x267e63),_0x2ba144=await _0x408eaa['run']({'options':{..._0x267e63,..._0x470e6a},'args':[_0x18b343],'tdx':_0x5629a2});gracefulExit(_0x2ba144);}),journeyCmd[a2_0x4dbb55(0x404)]('versions\x20<name-or-path>')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x431))[a2_0x4dbb55(0x204)](async(_0x2b871d,_0x409d03)=>{const _0xf5c2b3=a2_0x4dbb55,_0x39939e=new JourneyVersionsCommand(),_0x2c80fd=program[_0xf5c2b3(0x45b)](),_0x21ef16=await createTDXInstance(_0x2c80fd),_0x1d10fb=await _0x39939e[_0xf5c2b3(0x399)]({'options':{..._0x2c80fd,..._0x409d03},'args':[_0x2b871d],'tdx':_0x21ef16});gracefulExit(_0x1d10fb);});const journeyVersionCmd=journeyCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x396))[a2_0x4dbb55(0x2c4)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x152))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x3e0))[a2_0x4dbb55(0x204)](async(_0x3af338,_0x501cdb)=>{const _0x50e5c7=new JourneyVersionCreateCommand(),_0x13d411=program['opts'](),_0x1d5968=await createTDXInstance(_0x13d411),_0xb22597=await _0x50e5c7['run']({'options':{..._0x13d411,..._0x501cdb},'args':[_0x3af338],'tdx':_0x1d5968});gracefulExit(_0xb22597);}),journeyVersionCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x208))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x316))[a2_0x4dbb55(0x29c)](a2_0x4dbb55(0x45f),a2_0x4dbb55(0x15f))[a2_0x4dbb55(0x204)](async(_0x397551,_0x4fc8b0)=>{const _0x73192e=a2_0x4dbb55,_0x2fbcad=new JourneyVersionViewCommand(),_0xace7a2=program[_0x73192e(0x45b)](),_0x466808=await createTDXInstance(_0xace7a2),_0x1acd70=await _0x2fbcad['run']({'options':{..._0xace7a2,..._0x4fc8b0},'args':[_0x397551],'tdx':_0x466808});gracefulExit(_0x1acd70);}),journeyCmd['command'](a2_0x4dbb55(0x460))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x263))['action'](async(_0xbd8160,_0x4300c5)=>{const _0x281559=a2_0x4dbb55,_0x4992c2=new JourneyValidateCommand(),_0x412e58=program[_0x281559(0x45b)](),_0x708518=await createTDXInstance(_0x412e58),_0x5412f8=await _0x4992c2[_0x281559(0x399)]({'options':{..._0x412e58,..._0x4300c5},'args':_0xbd8160?[_0xbd8160]:[],'tdx':_0x708518});gracefulExit(_0x5412f8);}),program[a2_0x4dbb55(0x404)]('journeys\x20[pattern]')['description'](a2_0x4dbb55(0x36a))[a2_0x4dbb55(0x204)](journeyListAction);const agentSyncCmd=program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2bb))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1b8));agentSyncCmd[a2_0x4dbb55(0x404)]('pull\x20[project]\x20[agent-name]')['description'](a2_0x4dbb55(0x258))[a2_0x4dbb55(0x1b4)]('-o,\x20--output\x20<dir>',a2_0x4dbb55(0x1db))[a2_0x4dbb55(0x1b4)]('-f,\x20--force',a2_0x4dbb55(0x2e4))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x38e),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x4dbb55(0x204)](async(_0x3ec734,_0x5d9b29,_0x5d0a0d)=>{const _0xe98bd1=a2_0x4dbb55,_0x3cc51f=new AgentPullCommand(),_0x1b9799=program['opts'](),_0x56dc1d=await createTDXInstance(_0x1b9799),_0x1315b7=[];if(_0x3ec734)_0x1315b7[_0xe98bd1(0x330)](_0x3ec734);if(_0x5d9b29)_0x1315b7[_0xe98bd1(0x330)](_0x5d9b29);const _0x5aae2e=await _0x3cc51f[_0xe98bd1(0x399)]({'options':{..._0x1b9799,..._0x5d0a0d},'args':_0x1315b7,'tdx':_0x56dc1d});gracefulExit(_0x5aae2e);}),agentSyncCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x158))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1d6))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1df),a2_0x4dbb55(0x200))[a2_0x4dbb55(0x204)](async(_0x2c8be7,_0x168e18)=>{const _0x343958=a2_0x4dbb55,_0xd9d03a=new AgentPushCommand(),_0x4abefe=program[_0x343958(0x45b)](),_0x103d86=await createTDXInstance(_0x4abefe),_0x3a37bc=await _0xd9d03a['run']({'options':{..._0x4abefe,..._0x168e18},'args':_0x2c8be7?[_0x2c8be7]:[],'tdx':_0x103d86});gracefulExit(_0x3a37bc);}),agentSyncCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x41b))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x37e))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3d7),a2_0x4dbb55(0x2b3))['action'](async(_0x17c161,_0x4a5dd1)=>{const _0x524f72=a2_0x4dbb55,_0x5339d6=new AgentCloneCommand(),_0x3b9090=program[_0x524f72(0x45b)](),_0x3c7161=await createTDXInstance(_0x3b9090),_0x20c720=await _0x5339d6[_0x524f72(0x399)]({'options':{..._0x3b9090,..._0x4a5dd1},'args':_0x17c161?[_0x17c161]:[],'tdx':_0x3c7161});gracefulExit(_0x20c720);}),agentSyncCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x197))['description']('Run\x20tests\x20for\x20an\x20LLM\x20agent')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x269),a2_0x4dbb55(0x317))['option'](a2_0x4dbb55(0x30c),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x254),a2_0x4dbb55(0x270))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x1eb),a2_0x4dbb55(0x3b0))[a2_0x4dbb55(0x1b4)]('--reeval','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x4dbb55(0x204)](async(_0x69cad7,_0x527493)=>{const _0xf0928f=new AgentTestCommand(),_0x266f90=program['opts'](),_0x23f0f0=await createTDXInstance(_0x266f90),_0x35fbd2=await _0xf0928f['run']({'options':{..._0x266f90,..._0x527493},'args':_0x69cad7?[_0x69cad7]:[],'tdx':_0x23f0f0});gracefulExit(_0x35fbd2);}),agentSyncCmd[a2_0x4dbb55(0x404)]('list\x20[pattern]')[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x194))[a2_0x4dbb55(0x204)](llmAgentListAction),agentSyncCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x39d))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x327))[a2_0x4dbb55(0x204)](async(_0x50d8a5,_0x537743)=>{const _0x375f18=a2_0x4dbb55,_0x16f3fa=new LLMAgentShowCommand(),_0x3433ad=program[_0x375f18(0x45b)](),_0x4d1e5b=await createTDXInstance(_0x3433ad),_0x3767db=await _0x16f3fa[_0x375f18(0x399)]({'options':{..._0x3433ad,..._0x537743},'args':[_0x50d8a5],'tdx':_0x4d1e5b});gracefulExit(_0x3767db);}),agentSyncCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x455))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x48b))['option'](a2_0x4dbb55(0x47f),a2_0x4dbb55(0x22d))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x43f),a2_0x4dbb55(0x32d),a2_0x4dbb55(0x250))[a2_0x4dbb55(0x1b4)]('--starter-message\x20<text>',a2_0x4dbb55(0x222))['option'](a2_0x4dbb55(0x352),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x225),a2_0x4dbb55(0x190),a2_0x4dbb55(0x381))[a2_0x4dbb55(0x204)](async(_0x48c4a1,_0x580205)=>{const _0x9a8021=a2_0x4dbb55,_0x5d8768=new LLMAgentCreateCommand(),_0x463ae7=program[_0x9a8021(0x45b)](),_0x58af67=await createTDXInstance(_0x463ae7),_0x2320e1=await _0x5d8768[_0x9a8021(0x399)]({'options':{..._0x463ae7,..._0x580205},'args':[_0x48c4a1],'tdx':_0x58af67});gracefulExit(_0x2320e1);}),agentSyncCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x39c))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x165))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x47a),'Agent\x20name')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3ff),a2_0x4dbb55(0x3a1))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3de),a2_0x4dbb55(0x27a))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x3ea),a2_0x4dbb55(0x222))[a2_0x4dbb55(0x204)](async(_0x11fa51,_0x2d5826)=>{const _0x51d94e=a2_0x4dbb55,_0x15bb9c=new LLMAgentUpdateCommand(),_0x1f7ef0=program[_0x51d94e(0x45b)](),_0x436908=await createTDXInstance(_0x1f7ef0),_0x477e27=await _0x15bb9c[_0x51d94e(0x399)]({'options':{..._0x1f7ef0,..._0x2d5826},'args':[_0x11fa51],'tdx':_0x436908});gracefulExit(_0x477e27);}),agentSyncCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x394))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x493))[a2_0x4dbb55(0x204)](async(_0x56c795,_0x2610bd)=>{const _0x103263=a2_0x4dbb55,_0x2792cd=new LLMAgentDeleteCommand(),_0xdff00b=program['opts'](),_0xa58f74=await createTDXInstance(_0xdff00b),_0x29779d=await _0x2792cd[_0x103263(0x399)]({'options':{..._0xdff00b,..._0x2610bd},'args':[_0x56c795],'tdx':_0xa58f74});gracefulExit(_0x29779d);});const workCmd=program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x20b))['description'](a2_0x4dbb55(0x2e6));workCmd[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x472),a2_0x4dbb55(0x1bf))[a2_0x4dbb55(0x1b4)]('--all','Include\x20all\x20items\x20(no\x20stale\x20filtering)')[a2_0x4dbb55(0x204)](workSummaryAction),workCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2a6))['description'](a2_0x4dbb55(0x183))[a2_0x4dbb55(0x1b4)]('--github\x20<owner/repo>',a2_0x4dbb55(0x240))[a2_0x4dbb55(0x204)](workInitAction),workCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x3eb))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x1bc))['option'](a2_0x4dbb55(0x3af),a2_0x4dbb55(0x1d9),'item')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x30c),a2_0x4dbb55(0x480))[a2_0x4dbb55(0x1b4)]('--priority\x20<priority>',a2_0x4dbb55(0x3f3))[a2_0x4dbb55(0x1b4)]('--body\x20<body>','Document\x20body\x20text')['option'](a2_0x4dbb55(0x2a8),'Apply\x20a\x20template')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x242),'Initial\x20status')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x37f),a2_0x4dbb55(0x417))['action'](workNewAction),workCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x238))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x474))['action'](workMoveAction),workCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x156))[a2_0x4dbb55(0x2c4)]('Show\x20Kanban\x20board\x20view\x20of\x20tasks')[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x472),a2_0x4dbb55(0x1bf))[a2_0x4dbb55(0x1b4)](a2_0x4dbb55(0x413),a2_0x4dbb55(0x3ab))[a2_0x4dbb55(0x204)](workBoardAction),workCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x356))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x364))[a2_0x4dbb55(0x204)](workShowAction),workCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x266))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x153))[a2_0x4dbb55(0x204)](workLinksAction),workCmd[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x2f3))[a2_0x4dbb55(0x2c4)](a2_0x4dbb55(0x2b6))[a2_0x4dbb55(0x204)](workOpenAction),program[a2_0x4dbb55(0x404)](a2_0x4dbb55(0x257),{'hidden':!![]})[a2_0x4dbb55(0x204)](()=>{const _0x3d33d5=a2_0x4dbb55;function _0x5a0c8b(_0x4dda67,_0xb1a6b5){const _0xfe1757=a2_0x472e,_0x10b154=[];for(const _0x43da77 of _0x4dda67[_0xfe1757(0x306)]){if(_0x43da77[_0xfe1757(0x251)])continue;const _0x2d6c6e=_0xb1a6b5?_0xb1a6b5+'\x20'+_0x43da77['name']():_0x43da77[_0xfe1757(0x256)](),_0x3d8d15=_0x2d6c6e[_0xfe1757(0x42b)]('\x20')[0x0],_0x26059c=COMMAND_CATEGORIES['find'](_0x28d4e9=>_0x28d4e9[_0xfe1757(0x306)][_0xfe1757(0x3c0)](_0x3d8d15)),_0x3bae36=_0x26059c?.[_0xfe1757(0x256)]??'';if(_0x43da77[_0xfe1757(0x306)]['length']>0x0)_0x10b154['push'](..._0x5a0c8b(_0x43da77,_0x2d6c6e));else{const _0x512ca7=(_0x43da77[_0xfe1757(0x31c)]||[])[_0xfe1757(0x207)](_0x18b565=>{const _0x280d69=_0xfe1757,_0xe8cd13=_0x18b565[_0x280d69(0x2ef)]?_0x18b565[_0x280d69(0x256)]()+'...':_0x18b565['name']();return _0x18b565['required']?'<'+_0xe8cd13+'>':'['+_0xe8cd13+']';})['join']('\x20'),_0x55ed7a=_0x43da77[_0xfe1757(0x169)][_0xfe1757(0x3b7)](_0x251acf=>!_0x251acf[_0xfe1757(0x157)]&&_0x251acf['long']!=='--help')[_0xfe1757(0x207)](_0x26ed31=>({'flags':_0x26ed31['flags'],'description':_0x26ed31[_0xfe1757(0x2c4)]}));_0x10b154[_0xfe1757(0x330)]({'name':_0x2d6c6e,'description':_0x43da77[_0xfe1757(0x2c4)](),'group':_0x3bae36,'usage':_0x512ca7,'options':_0x55ed7a});}}return _0x10b154;}console[_0x3d33d5(0x371)](JSON[_0x3d33d5(0x498)](_0x5a0c8b(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x49ab60=a2_0x4dbb55,_0x149785=!process[_0x49ab60(0x218)][_0x49ab60(0x27d)](0x2)[_0x49ab60(0x3f7)];showBriefHelp=_0x149785,program['parse'](process[_0x49ab60(0x218)]);_0x149785&&program['outputHelp']();const _0x3af390=process[_0x49ab60(0x218)][0x2]==='upgrade';if(process[_0x49ab60(0x31e)][_0x49ab60(0x37b)]&&process[_0x49ab60(0x218)][_0x49ab60(0x3f7)]>0x2&&!isDevVersion()&&!_0x3af390){const _0x18eee1=loadReleaseChannel();checkForUpdate(currentVersion,_0x18eee1)[_0x49ab60(0x3d2)](_0x4dc78b=>{_0x4dc78b&&displayUpdateNotification(_0x4dc78b);})[_0x49ab60(0x4a0)](()=>{});}}
1
+ const a2_0x51b5f3=a2_0x48b5;(function(_0xc9b7d5,_0x507de1){const _0x5cd4c0=a2_0x48b5,_0x4fce93=_0xc9b7d5();while(!![]){try{const _0x4267dc=-parseInt(_0x5cd4c0(0x2e1))/0x1*(-parseInt(_0x5cd4c0(0x16a))/0x2)+parseInt(_0x5cd4c0(0x303))/0x3+-parseInt(_0x5cd4c0(0x35c))/0x4*(parseInt(_0x5cd4c0(0x1fb))/0x5)+-parseInt(_0x5cd4c0(0x2d9))/0x6+-parseInt(_0x5cd4c0(0x266))/0x7+-parseInt(_0x5cd4c0(0x2c5))/0x8*(parseInt(_0x5cd4c0(0x2bf))/0x9)+parseInt(_0x5cd4c0(0x16b))/0xa*(parseInt(_0x5cd4c0(0x3c3))/0xb);if(_0x4267dc===_0x507de1)break;else _0x4fce93['push'](_0x4fce93['shift']());}catch(_0x34cbc1){_0x4fce93['push'](_0x4fce93['shift']());}}}(a2_0x5238,0x99b91));import a2_0x423e19 from'chalk';import{Command}from'commander';import{existsSync,statSync}from'fs';function a2_0x48b5(_0x58d726,_0x3defb9){_0x58d726=_0x58d726-0x73;const _0x5238b1=a2_0x5238();let _0x48b54d=_0x5238b1[_0x58d726];return _0x48b54d;}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{printSDKError}from'./commands/command.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{TableDeletedCommand,TableRecoverCommand}from'./commands/table-deleted.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{SegmentMoveCommand}from'./commands/segment-move-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,JourneyRunCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand,EngageMediaUploadCommand,EngageMediaLsCommand,EngageMediaMkdirCommand,EngageMediaRmCommand,EngageMediaRmdirCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageAlwaysOnCampaignPullCommand}from'./commands/engage-always-on-campaign-pull-command.js';import{EngageAlwaysOnCampaignPushCommand}from'./commands/engage-always-on-campaign-push-command.js';import{EngageAlwaysOnCampaignValidateCommand}from'./commands/engage-always-on-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{CodexCommand}from'./commands/codex-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,AuthTokenCommand,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,CASValidateCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand,CASSegmentPushCommand}from'./commands/cas-segment-command.js';import{P13nListCommand}from'./commands/p13n-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{isApiCommandEnabled,isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv'][a2_0x51b5f3(0x22a)](a2_0x51b5f3(0x277))){let versionOutput=a2_0x51b5f3(0x1a5)+currentVersion;buildInfo[a2_0x51b5f3(0x35a)]&&!currentVersion['includes'](buildInfo[a2_0x51b5f3(0x35a)])&&(versionOutput+='\x20('+buildInfo[a2_0x51b5f3(0x35a)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x51b5f3(0x18b)+buildInfo[a2_0x51b5f3(0x119)]),console['log'](versionOutput),process[a2_0x51b5f3(0x156)](0x0);}const program=new Command();export function mergeCommandOptions(_0x53c30c,_0x59d573){const _0xb4b1ee={..._0x53c30c};for(const [_0x4238d3,_0x132e40]of Object['entries'](_0x59d573)){_0x132e40!==undefined&&(_0xb4b1ee[_0x4238d3]=_0x132e40);}return _0xb4b1ee;}let showBriefHelp=![],description=a2_0x51b5f3(0xee);buildInfo[a2_0x51b5f3(0x35a)]&&!currentVersion[a2_0x51b5f3(0x22a)](buildInfo[a2_0x51b5f3(0x35a)])?description+=a2_0x51b5f3(0x22c)+currentVersion+'\x20('+buildInfo[a2_0x51b5f3(0x35a)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0x51b5f3(0x219)](a2_0x51b5f3(0x36b))['description'](description),program[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x27e),a2_0x51b5f3(0x373))[a2_0x51b5f3(0x2ab)]('-p,\x20--profile\x20<name>',a2_0x51b5f3(0x32a))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x367),a2_0x51b5f3(0x236))['option'](a2_0x51b5f3(0x1a8),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')['option']('--table',a2_0x51b5f3(0x19a))[a2_0x51b5f3(0x2ab)]('--json',a2_0x51b5f3(0xcf))[a2_0x51b5f3(0x2ab)]('--jsonl',a2_0x51b5f3(0x1c1))['option']('--tsv',a2_0x51b5f3(0x28b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x13c),a2_0x51b5f3(0x341))[a2_0x51b5f3(0x2ab)]('--limit\x20<number>',a2_0x51b5f3(0x221))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x386),a2_0x51b5f3(0x175),![])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x18c),a2_0x51b5f3(0x384),![])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2ff),a2_0x51b5f3(0x1ec),![])['option']('--debug',a2_0x51b5f3(0x36f))['option'](a2_0x51b5f3(0x180),a2_0x51b5f3(0x33f))[a2_0x51b5f3(0x2ab)]('--timeout\x20<seconds>',a2_0x51b5f3(0x124),'30')[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0x84),![])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe2),a2_0x51b5f3(0x202),![])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x14a),a2_0x51b5f3(0x17e))['option']('--parent-segment\x20<name>',a2_0x51b5f3(0x15a))[a2_0x51b5f3(0x2ab)]('--llm-project\x20<name>',a2_0x51b5f3(0x323)),program['configureHelp']({'formatHelp':(_0x3ebf65,_0x24c7a0)=>{const _0x34a9c3=a2_0x51b5f3,_0x13ef3a=_0x24c7a0['padWidth'](_0x3ebf65,_0x24c7a0),_0x2921ba=0x2,_0x22f9e8=0x2;function _0x23e22e(_0x3bc109){const _0x33d373=a2_0x48b5,_0x523922=_0x3bc109;return!!(_0x523922[_0x33d373(0x3c2)]||_0x523922[_0x33d373(0x2ec)]);}function _0x42726a(_0x325d57,_0x111d0c){const _0x128f3c=a2_0x48b5;if(_0x111d0c){const _0x97f5c3=''+_0x325d57[_0x128f3c(0x297)](_0x13ef3a+_0x22f9e8)+_0x111d0c;return _0x97f5c3;}return _0x325d57;}function _0x35bb16(_0xe3463f){const _0x148349=a2_0x48b5;return _0xe3463f[_0x148349(0x27c)]('\x0a')['replace'](/^/gm,'\x20'[_0x148349(0xc7)](_0x2921ba));}const _0x2f9e26=[];_0x2f9e26['push'](_0x34a9c3(0x28c)+_0x24c7a0[_0x34a9c3(0x358)](_0x3ebf65));const _0x45d9de=_0x24c7a0[_0x34a9c3(0x2aa)](_0x3ebf65);_0x45d9de&&(_0x2f9e26[_0x34a9c3(0x1a6)](''),_0x2f9e26['push'](_0x45d9de));const _0x4e729c=_0x3ebf65[_0x34a9c3(0x369)]['filter'](_0x4c5d25=>!_0x23e22e(_0x4c5d25));if(_0x4e729c['length']>0x0){if(_0x3ebf65['name']()==='tdx'){const _0x29dbca=_0x3ebf65[_0x34a9c3(0x3a8)](),_0x490c37=!_0x29dbca['noColor']&&process['stdout']['isTTY'],_0x4c8161=COMMAND_CATEGORIES,_0x18cd52=(_0x71b0c6,_0x128649)=>_0x490c37?_0x128649(_0x71b0c6):_0x71b0c6,_0x2d702d=new Map();_0x4e729c[_0x34a9c3(0x13b)](_0x266267=>{const _0x114030=_0x34a9c3;_0x2d702d[_0x114030(0x18f)](_0x266267[_0x114030(0x219)](),_0x266267);}),_0x4c8161[_0x34a9c3(0x13b)](_0x22559e=>{const _0x198213=_0x34a9c3,_0x401289=_0x22559e[_0x198213(0x369)]['flatMap'](_0x258f60=>_0x2d702d['get'](_0x258f60)??[]);if(_0x401289[_0x198213(0x29b)]>0x0){_0x2f9e26[_0x198213(0x1a6)](''),_0x2f9e26[_0x198213(0x1a6)](_0x18cd52(_0x22559e[_0x198213(0x219)]+':',_0x22559e['colorFn']));const _0x535312=_0x401289['map'](_0x6793a8=>{const _0x9cf25d=_0x198213,_0x32facb=_0x24c7a0[_0x9cf25d(0x208)](_0x6793a8),_0x1a5632=_0x24c7a0[_0x9cf25d(0x3d0)](_0x6793a8);return _0x42726a(_0x32facb,_0x1a5632);});_0x2f9e26[_0x198213(0x1a6)](_0x35bb16(_0x535312));}}),_0x2f9e26['push'](''),_0x2f9e26[_0x34a9c3(0x1a6)](_0x34a9c3(0x1b5));}else{const _0x4aad3b=_0x4e729c[_0x34a9c3(0x337)](_0x334095=>{const _0x138cd1=_0x34a9c3,_0x3fe2b7=_0x24c7a0[_0x138cd1(0x208)](_0x334095),_0x27ff76=_0x24c7a0['subcommandDescription'](_0x334095);return _0x42726a(_0x3fe2b7,_0x27ff76);});_0x2f9e26[_0x34a9c3(0x1a6)](''),_0x2f9e26['push'](_0x34a9c3(0x1ef)),_0x2f9e26['push'](_0x35bb16(_0x4aad3b));}}if(showBriefHelp&&_0x3ebf65[_0x34a9c3(0x219)]()===_0x34a9c3(0x36b))_0x2f9e26[_0x34a9c3(0x1a6)](''),_0x2f9e26['push'](_0x34a9c3(0xb2));else{const _0x21bc13=_0x3ebf65['options'][_0x34a9c3(0x3a3)](_0x3b6ea2=>!_0x23e22e(_0x3b6ea2));if(_0x21bc13['length']>0x0){const _0x52539c=_0x21bc13[_0x34a9c3(0x337)](_0x4a4a55=>{const _0x9ec99b=_0x34a9c3,_0x591a9b=_0x24c7a0[_0x9ec99b(0x13e)](_0x4a4a55),_0x4b6b49=_0x24c7a0[_0x9ec99b(0x295)](_0x4a4a55);return _0x42726a(_0x591a9b,_0x4b6b49);});_0x2f9e26['push'](''),_0x2f9e26['push'](_0x34a9c3(0x214)),_0x2f9e26[_0x34a9c3(0x1a6)](_0x35bb16(_0x52539c));}}const _0x287cd1=(_0x3ebf65[_0x34a9c3(0x27f)]||[])[_0x34a9c3(0x3a3)](_0x18a354=>!_0x23e22e(_0x18a354));if(_0x287cd1[_0x34a9c3(0x29b)]>0x0){const _0x41e8f3=_0x287cd1['map'](_0x5b01bc=>{const _0x469836=_0x34a9c3,_0x32117b=_0x24c7a0[_0x469836(0x222)](_0x5b01bc),_0x4d85a5=_0x24c7a0['argumentDescription'](_0x5b01bc);return _0x42726a(_0x32117b,_0x4d85a5);});_0x2f9e26[_0x34a9c3(0x1a6)](''),_0x2f9e26[_0x34a9c3(0x1a6)]('Arguments:'),_0x2f9e26[_0x34a9c3(0x1a6)](_0x35bb16(_0x41e8f3));}return _0x2f9e26[_0x34a9c3(0x27c)]('\x0a')+'\x0a';},'subcommandTerm':_0x15ee4f=>{const _0x3a42ec=a2_0x51b5f3,_0x1a0bf5=(_0x15ee4f[_0x3a42ec(0x27f)]||[])[_0x3a42ec(0x337)](_0xabea0f=>_0xabea0f[_0x3a42ec(0x2ae)]?'<'+_0xabea0f[_0x3a42ec(0x219)]()+'>':'['+_0xabea0f[_0x3a42ec(0x219)]()+']')[_0x3a42ec(0x27c)]('\x20'),_0x4a9580=_0x15ee4f[_0x3a42ec(0x247)](),_0x3040e7=_0x4a9580['length']>0x0?_0x15ee4f[_0x3a42ec(0x219)]()+',\x20'+_0x4a9580[_0x3a42ec(0x27c)](',\x20'):_0x15ee4f[_0x3a42ec(0x219)]();return _0x1a0bf5?_0x3040e7+'\x20'+_0x1a0bf5:_0x3040e7;}}),program['hook'](a2_0x51b5f3(0x1a0),_0xc11ec7=>{const _0x560fd4=a2_0x51b5f3,_0x51289f=_0xc11ec7[_0x560fd4(0x3a8)]();if(_0x51289f[_0x560fd4(0x319)]){const _0x2de945=resolve(_0x51289f[_0x560fd4(0x319)]),_0x23783b=_0x2de945!==_0x51289f[_0x560fd4(0x319)]?'\x20(resolved\x20to\x20'+_0x2de945+')':'';if(!existsSync(_0x2de945))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x560fd4(0x375)+_0x51289f[_0x560fd4(0x319)]+_0x23783b,undefined,{'helpText':_0x560fd4(0x2af)});const _0x2fef72=statSync(_0x2de945);if(!_0x2fef72['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x560fd4(0x1d6)+_0x51289f[_0x560fd4(0x319)]+_0x23783b,undefined,{'helpText':_0x560fd4(0x3cc)});process[_0x560fd4(0x286)](_0x2de945);}if(!_0x51289f[_0x560fd4(0xf8)]){if(_0x51289f[_0x560fd4(0x398)])_0x51289f[_0x560fd4(0xf8)]=_0x560fd4(0x398);else{if(_0x51289f['json'])_0x51289f[_0x560fd4(0xf8)]='json';else{if(_0x51289f[_0x560fd4(0x218)])_0x51289f[_0x560fd4(0xf8)]=_0x560fd4(0x218);else _0x51289f[_0x560fd4(0x2f0)]&&(_0x51289f[_0x560fd4(0xf8)]='tsv');}}}if(_0x51289f[_0x560fd4(0x171)])_0x51289f['logLevel']=LogLevel['TRACE'];else{if(_0x51289f[_0x560fd4(0x284)])_0x51289f[_0x560fd4(0x2f2)]=LogLevel[_0x560fd4(0x19c)];else _0x51289f[_0x560fd4(0x2f2)]===undefined&&(_0x51289f[_0x560fd4(0x2f2)]=LogLevel[_0x560fd4(0x1c8)]);}});async function createTDXInstance(_0x31d128,{skipSiteMismatchCheck:skipSiteMismatchCheck=![]}={}){const _0x2301b1=a2_0x51b5f3;let _0x372a65;try{_0x372a65=await GlobalContext[_0x2301b1(0xf0)](_0x31d128,{'skipSiteMismatchCheck':skipSiteMismatchCheck});}catch(_0x2e4ff5){return _0x2e4ff5 instanceof SDKError?printSDKError(_0x2e4ff5):console[_0x2301b1(0xf1)](a2_0x423e19[_0x2301b1(0x145)]('Error:\x20'+(_0x2e4ff5 instanceof Error?_0x2e4ff5[_0x2301b1(0x1f5)]:String(_0x2e4ff5)))),gracefulExit(0x1),new Promise(()=>{});}_0x372a65['injectIntoOptions'](_0x31d128);const _0x2a2cd7=Number(_0x31d128['timeout']),_0x3cf373=!isNaN(_0x2a2cd7)&&_0x2a2cd7>0x0?_0x2a2cd7*0x3e8:undefined;return TDX[_0x2301b1(0x374)]({'site':_0x372a65['site'],'apiKey':_0x372a65[_0x2301b1(0xad)],'accessToken':_0x372a65[_0x2301b1(0x131)],'logLevel':_0x372a65[_0x2301b1(0x2f2)],'profile':_0x372a65[_0x2301b1(0x352)],'timeout':_0x3cf373});}const databaseCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x14c))[a2_0x51b5f3(0x3ab)]('db')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x11f)),databaseListAction=async(_0x2772e5,_0x5cdb52)=>{const _0x19d881=a2_0x51b5f3,_0xf777a2=new DatabasesCommand(),_0x2a5f56=program[_0x19d881(0x3a8)](),_0x3132ea=await createTDXInstance(_0x2a5f56),_0x19c98c=await _0xf777a2[_0x19d881(0x345)]({'options':{..._0x2a5f56,..._0x5cdb52},'args':_0x2772e5?[_0x2772e5]:[],'tdx':_0x3132ea});gracefulExit(_0x19c98c);};databaseCmd['command']('list\x20[pattern]')['description'](a2_0x51b5f3(0x1e8))['action'](databaseListAction),program[a2_0x51b5f3(0x361)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2ed))[a2_0x51b5f3(0x198)](databaseListAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1a2))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2be))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x23a),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x51b5f3(0x2ab)]('--new',a2_0x51b5f3(0x2ee))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x9a),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3b4),a2_0x51b5f3(0x2ef))[a2_0x51b5f3(0x198)](async(_0x32f8c5,_0x2a9daa)=>{const _0x14c1f8=a2_0x51b5f3,_0x4d537e=program[_0x14c1f8(0x3a8)](),_0x1c0120=await createTDXInstance(_0x4d537e);if(_0x32f8c5[0x0]===_0x14c1f8(0x374)){const _0x826ee6=new ChatCreateCommand();gracefulExit(await _0x826ee6[_0x14c1f8(0x345)]({'options':{..._0x4d537e,..._0x2a9daa},'args':_0x32f8c5['slice'](0x1),'tdx':_0x1c0120}));return;}const _0x29dca6=new ChatCommand(),_0x1f38c5=await _0x29dca6['run']({'options':{..._0x4d537e,..._0x2a9daa},'args':_0x32f8c5,'tdx':_0x1c0120});gracefulExit(_0x1f38c5);});const apiCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x162),{'hidden':!isApiCommandEnabled()})['summary']('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs\x20(opt-in)')['addHelpText'](a2_0x51b5f3(0x169),a2_0x51b5f3(0xea))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2e0),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','GET')[a2_0x51b5f3(0x2ab)]('--data\x20<data>',a2_0x51b5f3(0x32b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x371),a2_0x51b5f3(0x100))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2b7),a2_0x51b5f3(0x255),(_0x4aee23,_0x33987f)=>{return _0x33987f?[..._0x33987f,_0x4aee23]:[_0x4aee23];})[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x349),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x51b5f3(0x198)](async(_0x527690,_0x2b7461)=>{const _0x442371=a2_0x51b5f3;if(!isApiCommandEnabled()){console[_0x442371(0xf1)](a2_0x423e19['red'](_0x442371(0x309))),console[_0x442371(0xf1)](''),console[_0x442371(0xf1)]('Raw\x20API\x20requests\x20bypass\x20tdx\x27s\x20structured\x20commands\x20and\x20safety\x20checks.'),console['error'](_0x442371(0x2db)),console[_0x442371(0xf1)](''),console[_0x442371(0xf1)](a2_0x423e19[_0x442371(0x2a4)]('AI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf.\x20Ask\x20the\x20user,\x20or\x20use\x20a\x20structured\x20command\x20instead.')),console[_0x442371(0xf1)](''),console[_0x442371(0xf1)](_0x442371(0x207)),gracefulExit(0x1);return;}if(!_0x527690){apiCmd[_0x442371(0x3a6)]();return;}const _0xbe8109=new ApiCommand(),_0x12a60d=program[_0x442371(0x3a8)](),_0x2c3b81=await createTDXInstance(_0x12a60d),_0x47f0a6=await _0xbe8109[_0x442371(0x345)]({'options':{..._0x12a60d,..._0x2b7461},'args':[_0x527690],'tdx':_0x2c3b81});gracefulExit(_0x47f0a6);});program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2fd))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1cb))[a2_0x51b5f3(0xa2)]('after',a2_0x51b5f3(0xb9))[a2_0x51b5f3(0x198)](async _0x5f2ed6=>{const _0x289f2d=a2_0x51b5f3,_0x261810=new MCPCommand(),_0x1cb066=program[_0x289f2d(0x3a8)](),_0x27ddf5=await createTDXInstance(_0x1cb066),_0x304193=await _0x261810['run']({'options':{..._0x1cb066,..._0x5f2ed6},'args':[],'tdx':_0x27ddf5});gracefulExit(_0x304193);});const tableCmd=program['command'](a2_0x51b5f3(0x398))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1af)),tableListAction=async(_0x21992b,_0x3c545e)=>{const _0xf9d7dc=a2_0x51b5f3,_0x310de9=new TablesCommand(),_0x5d9f4e=program[_0xf9d7dc(0x3a8)](),_0x42494f=await createTDXInstance(_0x5d9f4e);_0x3c545e['in']&&(_0x3c545e[_0xf9d7dc(0x14c)]=_0x3c545e['in']);const _0x1dd83c=await _0x310de9[_0xf9d7dc(0x345)]({'options':{..._0x5d9f4e,..._0x3c545e},'args':_0x21992b?[_0x21992b]:[],'tdx':_0x42494f});gracefulExit(_0x1dd83c);};tableCmd['command'](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x245))['option'](a2_0x51b5f3(0x123),a2_0x51b5f3(0x2e7))['option'](a2_0x51b5f3(0x166),a2_0x51b5f3(0xfe))[a2_0x51b5f3(0x198)](tableListAction),tableCmd['command']('deleted')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2e3))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x38c),'Page\x20size\x201-100\x20(default\x2025)')['option'](a2_0x51b5f3(0x31d),a2_0x51b5f3(0x36e))['action'](async _0x4d33e2=>{const _0x126486=a2_0x51b5f3,_0xecfe40=new TableDeletedCommand(),_0xd4e209=program['opts'](),_0x4e9e92=await createTDXInstance(_0xd4e209),_0x7b754e=await _0xecfe40[_0x126486(0x345)]({'options':{..._0xd4e209,..._0x4d33e2},'args':[],'tdx':_0x4e9e92});gracefulExit(_0x7b754e);}),tableCmd['command'](a2_0x51b5f3(0x3c0))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x14d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x29d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1cd),a2_0x51b5f3(0x25f))[a2_0x51b5f3(0x198)](async(_0x4c3965,_0x2c2235)=>{const _0x245e67=a2_0x51b5f3,_0x36a6da=new TableRecoverCommand(),_0xcb5432=program['opts'](),_0x59d85d=await createTDXInstance(_0xcb5432),_0x211209=await _0x36a6da[_0x245e67(0x345)]({'options':{..._0xcb5432,..._0x2c2235},'args':[_0x4c3965],'tdx':_0x59d85d});gracefulExit(_0x211209);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1cc),{'hidden':!![]})['description'](a2_0x51b5f3(0xc0))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x123),a2_0x51b5f3(0x2e7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x166),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a0))['description'](a2_0x51b5f3(0xf9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x123),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x166),a2_0x51b5f3(0xfe))[a2_0x51b5f3(0x198)](async(_0x2a3a8f,_0x4b19c6)=>{const _0x126600=a2_0x51b5f3,_0x458c9e=new ShowCommand(),_0x3352ae=program['opts'](),_0x33c5fa=await createTDXInstance(_0x3352ae);_0x4b19c6['in']&&(_0x4b19c6[_0x126600(0x14c)]=_0x4b19c6['in']);const _0x3d2f3c=await _0x458c9e[_0x126600(0x345)]({'options':{..._0x3352ae,..._0x4b19c6},'args':_0x2a3a8f?[_0x2a3a8f]:[],'tdx':_0x33c5fa});gracefulExit(_0x3d2f3c);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xed))[a2_0x51b5f3(0x3ab)]('desc')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x243))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x123),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option']('--in\x20<database>',a2_0x51b5f3(0xfe))['action'](async(_0x50594e,_0x284f3a)=>{const _0x104646=a2_0x51b5f3,_0x3c57e5=new DescribeCommand(),_0x56bea4=program['opts'](),_0x39c683=await createTDXInstance(_0x56bea4);_0x284f3a['in']&&(_0x284f3a[_0x104646(0x14c)]=_0x284f3a['in']);const _0x439c9d=await _0x3c57e5[_0x104646(0x345)]({'options':{..._0x56bea4,..._0x284f3a},'args':_0x50594e?[_0x50594e]:[],'tdx':_0x39c683});gracefulExit(_0x439c9d);}),program[a2_0x51b5f3(0x361)]('query\x20[sql]')['description'](a2_0x51b5f3(0x261))['option'](a2_0x51b5f3(0x123),a2_0x51b5f3(0x360))[a2_0x51b5f3(0x2ab)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x51b5f3(0x2ab)]('--catalog\x20<catalog>',a2_0x51b5f3(0x229))['option']('-f,\x20--file\x20<path>',a2_0x51b5f3(0x2fa))['option'](a2_0x51b5f3(0x2fc),a2_0x51b5f3(0x32c))['action'](async(_0xd6120e,_0x56e69d)=>{const _0xb4dd05=a2_0x51b5f3,_0x29cab7=new QueryCommand(),_0x581235=program['opts'](),_0x5b9981=await createTDXInstance(_0x581235);_0x56e69d['in']&&(_0x56e69d[_0xb4dd05(0x14c)]=_0x56e69d['in']);const _0xbac5e4=await _0x29cab7[_0xb4dd05(0x345)]({'options':mergeCommandOptions(_0x581235,_0x56e69d),'args':_0xd6120e?[_0xd6120e]:[],'tdx':_0x5b9981});gracefulExit(_0xbac5e4);});const segmentCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x152))[a2_0x51b5f3(0x3ab)]('sg')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2e6)),segmentListAction=async(_0x431397,_0x4a92a6)=>{const _0x34b372=a2_0x51b5f3,_0x4eb618=new SegmentsCommand(),_0x3e5e07=program['opts'](),_0x5434aa=await createTDXInstance(_0x3e5e07),_0x57dcc6=await _0x4eb618[_0x34b372(0x345)]({'options':{..._0x3e5e07,..._0x4a92a6},'args':_0x431397?[_0x431397]:[],'tdx':_0x5434aa});gracefulExit(_0x57dcc6);};segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x233))['option']('-r,\x20--recursive',a2_0x51b5f3(0x31b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x9b),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x51b5f3(0xa2)]('after',a2_0x51b5f3(0x28a))[a2_0x51b5f3(0x198)](segmentListAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3a5),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x21c))['option'](a2_0x51b5f3(0xfd),a2_0x51b5f3(0x383))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x9b),a2_0x51b5f3(0x1ca),'10')['action'](segmentListAction),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x343),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1b8))[a2_0x51b5f3(0x198)](async(_0xf75caf,_0x57b82a)=>{const _0x42f07f=a2_0x51b5f3,_0x407c43=new SegmentUseCommand(),_0xb965d6=program[_0x42f07f(0x3a8)](),_0x298cd6=await createTDXInstance(_0xb965d6),_0x3566a1=await _0x407c43['run']({'options':{..._0xb965d6,..._0x57b82a},'args':[_0xf75caf],'tdx':_0x298cd6});gracefulExit(_0x3566a1);});const segmentViewAction=async(_0x92162c,_0x2a164a)=>{const _0x110226=a2_0x51b5f3,_0x241b21=new SegmentViewCommand(),_0x33e52f=program[_0x110226(0x3a8)](),_0x7e637d=await createTDXInstance(_0x33e52f),_0x5a7d34=await _0x241b21[_0x110226(0x345)]({'options':{..._0x33e52f,..._0x2a164a},'args':_0x92162c?[_0x92162c]:[],'tdx':_0x7e637d});gracefulExit(_0x5a7d34);};segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xcb))['description'](a2_0x51b5f3(0x34b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xeb),a2_0x51b5f3(0xa5))['action'](segmentViewAction),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x382),{'hidden':!![]})[a2_0x51b5f3(0x3ab)](a2_0x51b5f3(0x182))[a2_0x51b5f3(0x2ab)]('-w,\x20--web',a2_0x51b5f3(0xa5))['description'](a2_0x51b5f3(0x155))[a2_0x51b5f3(0x198)](segmentViewAction),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x192))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x342))[a2_0x51b5f3(0x333)]('--folder\x20<folder>',a2_0x51b5f3(0x9e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x1c3))['addHelpText'](a2_0x51b5f3(0x169),a2_0x51b5f3(0xbc))[a2_0x51b5f3(0x198)](async(_0x2bf59c,_0x7518bf)=>{const _0x16a82d=a2_0x51b5f3,_0x34e385=new SegmentMoveCommand(),_0x40bc7d=program[_0x16a82d(0x3a8)](),_0x56c14b=await createTDXInstance(_0x40bc7d),_0x3716e8=await _0x34e385[_0x16a82d(0x345)]({'options':{..._0x40bc7d,..._0x7518bf},'args':_0x2bf59c,'tdx':_0x56c14b});gracefulExit(_0x3716e8);}),segmentCmd['command']('desc\x20[segment_name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xbd))[a2_0x51b5f3(0x198)](async(_0x291509,_0x5a9a17)=>{const _0xe93f26=a2_0x51b5f3,_0x180d6b=new SegmentDescCommand(),_0x47144a=program[_0xe93f26(0x3a8)](),_0x1aff67=await createTDXInstance(_0x47144a),_0xf6d26d=await _0x180d6b[_0xe93f26(0x345)]({'options':{..._0x47144a,..._0x5a9a17},'args':_0x291509?[_0x291509]:[],'tdx':_0x1aff67});gracefulExit(_0xf6d26d);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1d1))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x36c))[a2_0x51b5f3(0x198)](async(_0x1e6837,_0x2a1c54)=>{const _0x9aaf9a=a2_0x51b5f3,_0x2c166d=new SegmentShowCommand(),_0x2d412b=program[_0x9aaf9a(0x3a8)](),_0x5ec75d=await createTDXInstance(_0x2d412b),_0x571c5a=await _0x2c166d[_0x9aaf9a(0x345)]({'options':{..._0x2d412b,..._0x2a1c54},'args':_0x1e6837?[_0x1e6837]:[],'tdx':_0x5ec75d});gracefulExit(_0x571c5a);}),segmentCmd['command'](a2_0x51b5f3(0x304),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x259))[a2_0x51b5f3(0x198)](async(_0x54c849,_0xa5aa4d)=>{const _0x5dd7db=a2_0x51b5f3,_0xfd71f1=new SegmentFolderListCommand(),_0x590687=program['opts'](),_0x2ad16b=await createTDXInstance(_0x590687),_0x15bceb=await _0xfd71f1[_0x5dd7db(0x345)]({'options':{..._0x590687,..._0xa5aa4d},'args':[_0x54c849],'tdx':_0x2ad16b});gracefulExit(_0x15bceb);});const folderCmd=segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x368),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3da));folderCmd['command'](a2_0x51b5f3(0x227))['description']('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x51b5f3(0x198)](async(_0x366d6f,_0x571328)=>{const _0x539ce3=a2_0x51b5f3,_0x5157f8=new SegmentFolderShowCommand(),_0x1285d1=program[_0x539ce3(0x3a8)](),_0x5634aa=await createTDXInstance(_0x1285d1),_0x2229c7=await _0x5157f8[_0x539ce3(0x345)]({'options':{..._0x1285d1,..._0x571328},'args':[_0x366d6f],'tdx':_0x5634aa});gracefulExit(_0x2229c7);}),segmentCmd['command'](a2_0x51b5f3(0x1b0))['description']('Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)')['option']('--path\x20<file-path>',a2_0x51b5f3(0x328))[a2_0x51b5f3(0x198)](async(_0x2d5ebf,_0x32d407)=>{const _0x346184=a2_0x51b5f3,_0x3950a4=new SegmentSQLCommand(),_0x457eed=program['opts'](),_0x40953e=await createTDXInstance(_0x457eed),_0xeb5bdf=await _0x3950a4[_0x346184(0x345)]({'options':{..._0x457eed,..._0x32d407},'args':_0x2d5ebf?[_0x2d5ebf]:[],'tdx':_0x40953e});gracefulExit(_0xeb5bdf);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xff))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x28f))['action'](async(_0x1a3180,_0x2a8539)=>{const _0x29073c=a2_0x51b5f3,_0x1c04a6=new SegmentFieldsCommand(),_0x2b4d91=program[_0x29073c(0x3a8)](),_0x1937ee=await createTDXInstance(_0x2b4d91),_0xad841=await _0x1c04a6['run']({'options':{..._0x2b4d91,..._0x2a8539},'args':_0x1a3180?[_0x1a3180]:[],'tdx':_0x1937ee});gracefulExit(_0xad841);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x139))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3cd))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x37e))[a2_0x51b5f3(0x198)](async(_0x44760f,_0x457560)=>{const _0x48a276=a2_0x51b5f3,_0x4512f0=new SegmentPullCommand(),_0x5f11d2=program[_0x48a276(0x3a8)](),_0x2a61ba=await createTDXInstance(_0x5f11d2),_0x3f0a24=await _0x4512f0[_0x48a276(0x345)]({'options':{..._0x5f11d2,..._0x457560},'args':_0x44760f?[_0x44760f]:[],'tdx':_0x2a61ba});gracefulExit(_0x3f0a24);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x272))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1ff))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x96),a2_0x51b5f3(0x120))[a2_0x51b5f3(0x198)](async(_0x2ca0f7,_0x2da202)=>{const _0x348f9f=a2_0x51b5f3,_0x28dacc=new SegmentPushCommand(),_0x154a40=program['opts'](),_0x37493a=await createTDXInstance(_0x154a40),_0x15adc9=await _0x28dacc[_0x348f9f(0x345)]({'options':{..._0x154a40,..._0x2da202},'args':_0x2ca0f7?[_0x2ca0f7]:[],'tdx':_0x37493a});gracefulExit(_0x15adc9);}),segmentCmd[a2_0x51b5f3(0x361)]('validate\x20[target]')['description']('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x51b5f3(0x198)](async(_0x4df434,_0x3d3a88)=>{const _0x4cac4c=a2_0x51b5f3,_0x18308a=new SegmentValidateCommand(),_0x1174bc=program[_0x4cac4c(0x3a8)](),_0x12b332=await createTDXInstance(_0x1174bc),_0x4d06b1=await _0x18308a['run']({'options':{..._0x1174bc,..._0x3d3a88},'args':_0x4df434?[_0x4df434]:[],'tdx':_0x12b332});gracefulExit(_0x4d06b1);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2d4),{'hidden':!![]})[a2_0x51b5f3(0x334)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x1f7))['option'](a2_0x51b5f3(0x79),a2_0x51b5f3(0x12b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3a9),a2_0x51b5f3(0x347))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3ce),a2_0x51b5f3(0x3bc))['option'](a2_0x51b5f3(0x102),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x389),a2_0x51b5f3(0x26d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x226),a2_0x51b5f3(0xa8))[a2_0x51b5f3(0x198)](async(_0x1bec4c,_0x2dd958)=>{const _0x51e2b4=a2_0x51b5f3,_0x56df65=new SegmentCreateCommand(),_0x1c3637=program[_0x51e2b4(0x3a8)](),_0x27bd52=await createTDXInstance(_0x1c3637),_0x3149d0=await _0x56df65[_0x51e2b4(0x345)]({'options':{..._0x1c3637,..._0x2dd958},'args':[_0x1bec4c],'tdx':_0x27bd52});gracefulExit(_0x3149d0);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1ed),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2dc))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x153),'New\x20segment\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x212))[a2_0x51b5f3(0x2ab)]('--rule\x20<json>',a2_0x51b5f3(0x3ba))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3a9),a2_0x51b5f3(0xd3))['option'](a2_0x51b5f3(0x3ce),a2_0x51b5f3(0x1f3))['option'](a2_0x51b5f3(0x102),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['action'](async(_0x89537c,_0x42b19f)=>{const _0x37251a=a2_0x51b5f3,_0x19174f=new SegmentUpdateCommand(),_0x394f8c=program[_0x37251a(0x3a8)](),_0x347d07=await createTDXInstance(_0x394f8c),_0x2aaff2=await _0x19174f[_0x37251a(0x345)]({'options':{..._0x394f8c,..._0x42b19f},'args':[_0x89537c],'tdx':_0x347d07});gracefulExit(_0x2aaff2);});const parentCmd=segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2d2),{'hidden':!![]})[a2_0x51b5f3(0x334)]('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x41cf78,_0x23c0e6)=>{const _0x7a8995=a2_0x51b5f3,_0x19015e=new ParentSegmentListCommand(),_0x1d30bb=program[_0x7a8995(0x3a8)](),_0x11c461=await createTDXInstance(_0x1d30bb),_0x1a925d=await _0x19015e[_0x7a8995(0x345)]({'options':{..._0x1d30bb,..._0x23c0e6},'args':_0x41cf78?[_0x41cf78]:[],'tdx':_0x11c461});gracefulExit(_0x1a925d);};parentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1d0))[a2_0x51b5f3(0x198)](parentListAction),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x264),{'hidden':!![]})[a2_0x51b5f3(0x334)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')['action'](parentListAction),parentCmd['command']('pull\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1b6))[a2_0x51b5f3(0x2ab)]('-o,\x20--output\x20<file>',a2_0x51b5f3(0x126))[a2_0x51b5f3(0x198)](async(_0x26822a,_0x38de21)=>{const _0x50b48e=a2_0x51b5f3,_0x1826b1=new ParentSegmentPullCommand(),_0x4ab6f5=program[_0x50b48e(0x3a8)](),_0x324ed1=await createTDXInstance(_0x4ab6f5),_0xe51a1b=await _0x1826b1['run']({'options':{..._0x4ab6f5,..._0x38de21},'args':_0x26822a?[_0x26822a]:[],'tdx':_0x324ed1});gracefulExit(_0xe51a1b);}),parentCmd[a2_0x51b5f3(0x361)]('push\x20[file]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x82))['action'](async(_0x39787a,_0xacf3e6)=>{const _0x35fcb9=a2_0x51b5f3,_0x17744a=new ParentSegmentPushCommand(),_0x3e3346=program[_0x35fcb9(0x3a8)](),_0x38b40a=await createTDXInstance(_0x3e3346),_0x4a79f5=await _0x17744a[_0x35fcb9(0x345)]({'options':{..._0x3e3346,..._0xacf3e6},'args':_0x39787a?[_0x39787a]:[],'tdx':_0x38b40a});gracefulExit(_0x4a79f5);}),parentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x179))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x7c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x10e),a2_0x51b5f3(0x325))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa1),a2_0x51b5f3(0x2bd))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x20b),a2_0x51b5f3(0x2a1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x87),a2_0x51b5f3(0x1b9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x196),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x51b5f3(0x30b))[a2_0x51b5f3(0x198)](async(_0x597d26,_0x1b1bcf)=>{const _0xc2a880=a2_0x51b5f3,_0x5d0afe=new ParentSegmentValidateCommand(),_0x34121f=program[_0xc2a880(0x3a8)](),_0x4425b3=await createTDXInstance(_0x34121f),_0x1e8c0a=await _0x5d0afe['run']({'options':{..._0x34121f,..._0x1b1bcf},'args':_0x597d26?[_0x597d26]:[],'tdx':_0x4425b3});gracefulExit(_0x1e8c0a);}),parentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x104))[a2_0x51b5f3(0x334)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x10e),a2_0x51b5f3(0x280))[a2_0x51b5f3(0x2ab)]('--attribute\x20[name]',a2_0x51b5f3(0x16f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x20b),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x51b5f3(0x2ab)]('--enriched',a2_0x51b5f3(0x379))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x196),a2_0x51b5f3(0x242),a2_0x51b5f3(0x30b))['action'](async(_0x4cb42b,_0x2c06e2)=>{const _0x47f0b7=a2_0x51b5f3,_0x526b7d=new ParentSegmentPreviewCommand(),_0x411473=program['opts'](),_0x2224c6=await createTDXInstance(_0x411473),_0x32e744=await _0x526b7d[_0x47f0b7(0x345)]({'options':{..._0x411473,..._0x2c06e2},'args':_0x4cb42b?[_0x4cb42b]:[],'tdx':_0x2224c6});gracefulExit(_0x32e744);}),parentCmd[a2_0x51b5f3(0x361)]('run\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x90))[a2_0x51b5f3(0x198)](async(_0x41c356,_0x58b466)=>{const _0x2e94e2=a2_0x51b5f3,_0x3179ab=new ParentSegmentRunCommand(),_0x3098cf=program[_0x2e94e2(0x3a8)](),_0x57209f=await createTDXInstance(_0x3098cf),_0x25f815=await _0x3179ab['run']({'options':{..._0x3098cf,..._0x58b466},'args':_0x41c356?[_0x41c356]:[],'tdx':_0x57209f});gracefulExit(_0x25f815);});const parentSegmentCmd=program['command']('parent-segment')[a2_0x51b5f3(0x3ab)]('ps')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1ac));parentSegmentCmd['command']('list\x20[pattern]')['description'](a2_0x51b5f3(0x1d0))[a2_0x51b5f3(0x198)](parentListAction),parentSegmentCmd['command'](a2_0x51b5f3(0x10d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x391))['option'](a2_0x51b5f3(0x114),a2_0x51b5f3(0x1df))['option'](a2_0x51b5f3(0x32f),a2_0x51b5f3(0x2b2))[a2_0x51b5f3(0x198)](async(_0x300453,_0x11c2ae)=>{const _0x4c28df=a2_0x51b5f3,_0x162fa3=new ParentSegmentPullCommand(),_0x31f4cb=program[_0x4c28df(0x3a8)](),_0x1943ea=await createTDXInstance(_0x31f4cb),_0x94e03d=await _0x162fa3[_0x4c28df(0x345)]({'options':{..._0x31f4cb,..._0x11c2ae},'args':_0x300453?[_0x300453]:[],'tdx':_0x1943ea});gracefulExit(_0x94e03d);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x168))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x238))[a2_0x51b5f3(0x198)](async(_0x32ef35,_0x496103)=>{const _0x2f1c14=a2_0x51b5f3,_0x4023e0=new ParentSegmentPushCommand(),_0x3ba39f=program[_0x2f1c14(0x3a8)](),_0x90fd10=await createTDXInstance(_0x3ba39f),_0x2ea5d2=await _0x4023e0[_0x2f1c14(0x345)]({'options':{..._0x3ba39f,..._0x496103},'args':_0x32ef35?[_0x32ef35]:[],'tdx':_0x90fd10});gracefulExit(_0x2ea5d2);}),parentSegmentCmd['command'](a2_0x51b5f3(0x188))[a2_0x51b5f3(0x334)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x10e),a2_0x51b5f3(0x325))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa1),a2_0x51b5f3(0x2bd))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x20b),a2_0x51b5f3(0x2a1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x87),a2_0x51b5f3(0x1b9))[a2_0x51b5f3(0x2ab)]('--interval\x20<range>',a2_0x51b5f3(0x242),'-1d')[a2_0x51b5f3(0x198)](async(_0x4873f1,_0x4ad7f3)=>{const _0x2c80a1=a2_0x51b5f3,_0x15e8da=new ParentSegmentValidateCommand(),_0x9afe5d=program[_0x2c80a1(0x3a8)](),_0x154c69=await createTDXInstance(_0x9afe5d),_0x1ef970=await _0x15e8da[_0x2c80a1(0x345)]({'options':{..._0x9afe5d,..._0x4ad7f3},'args':_0x4873f1?[_0x4873f1]:[],'tdx':_0x154c69});gracefulExit(_0x1ef970);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xa0))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option']('--master',a2_0x51b5f3(0x280))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa1),a2_0x51b5f3(0x16f))['option'](a2_0x51b5f3(0x20b),a2_0x51b5f3(0x205))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x87),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x51b5f3(0x196),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x51b5f3(0x30b))[a2_0x51b5f3(0x198)](async(_0x47531e,_0x246467)=>{const _0x4dfa36=new ParentSegmentPreviewCommand(),_0x16a4da=program['opts'](),_0x59880c=await createTDXInstance(_0x16a4da),_0x5db085=await _0x4dfa36['run']({'options':{..._0x16a4da,..._0x246467},'args':_0x47531e?[_0x47531e]:[],'tdx':_0x59880c});gracefulExit(_0x5db085);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x318))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x90))[a2_0x51b5f3(0x198)](async(_0xfa3089,_0x478713)=>{const _0x585c3b=a2_0x51b5f3,_0x15c3ee=new ParentSegmentRunCommand(),_0x1ff75e=program[_0x585c3b(0x3a8)](),_0x432f1a=await createTDXInstance(_0x1ff75e),_0x5f5511=await _0x15c3ee[_0x585c3b(0x345)]({'options':{..._0x1ff75e,..._0x478713},'args':_0xfa3089?[_0xfa3089]:[],'tdx':_0x432f1a});gracefulExit(_0x5f5511);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a5))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x34c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xab),a2_0x51b5f3(0x38f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x109),a2_0x51b5f3(0xa4))[a2_0x51b5f3(0x198)](async(_0x4d70a8,_0x2ff12a)=>{const _0x207fea=a2_0x51b5f3,_0x3ddaa1=new ParentSegmentFieldsCommand(),_0x1a31bc=program[_0x207fea(0x3a8)](),_0x43d390=await createTDXInstance(_0x1a31bc),_0x3678ad=await _0x3ddaa1[_0x207fea(0x345)]({'options':{..._0x1a31bc,..._0x2ff12a},'args':_0x4d70a8?[_0x4d70a8]:[],'tdx':_0x43d390});gracefulExit(_0x3678ad);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x186))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x291))[a2_0x51b5f3(0x2ab)]('-w,\x20--web',a2_0x51b5f3(0x366))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xab),a2_0x51b5f3(0x38f))['option'](a2_0x51b5f3(0x109),a2_0x51b5f3(0xa4))[a2_0x51b5f3(0x198)](async(_0x19f56d,_0x3e210e)=>{const _0x1ec715=a2_0x51b5f3,_0x3fd659=new ParentSegmentViewCommand(),_0x4fdc70=program[_0x1ec715(0x3a8)](),_0x4ebcb3=await createTDXInstance(_0x4fdc70),_0x5d1c18=await _0x3fd659[_0x1ec715(0x345)]({'options':{..._0x4fdc70,..._0x3e210e},'args':_0x19f56d?[_0x19f56d]:[],'tdx':_0x4ebcb3});gracefulExit(_0x5d1c18);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2cb))['description'](a2_0x51b5f3(0x24f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x114),a2_0x51b5f3(0x1df))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xab),a2_0x51b5f3(0x38f))[a2_0x51b5f3(0x2ab)]('--jsonl',a2_0x51b5f3(0xa4))['action'](async(_0xd10f0c,_0x506073)=>{const _0x253e46=a2_0x51b5f3,_0x2366a6=new ParentSegmentDescCommand(),_0x234afa=program['opts'](),_0x21f77f=await createTDXInstance(_0x234afa),_0x20e24f=await _0x2366a6[_0x253e46(0x345)]({'options':{..._0x234afa,..._0x506073},'args':_0xd10f0c?[_0xd10f0c]:[],'tdx':_0x21f77f});gracefulExit(_0x20e24f);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3b8))[a2_0x51b5f3(0x334)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x51b5f3(0xab),a2_0x51b5f3(0x38f))['option'](a2_0x51b5f3(0x109),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x2210ac,_0x4366a1)=>{const _0x505894=a2_0x51b5f3,_0x539483=new ParentSegmentSQLCommand(),_0x4574f2=program[_0x505894(0x3a8)](),_0x49f99a=await createTDXInstance(_0x4574f2),_0xdeba2=await _0x539483[_0x505894(0x345)]({'options':{..._0x4574f2,..._0x4366a1},'args':_0x2210ac?[_0x2210ac]:[],'tdx':_0x49f99a});gracefulExit(_0xdeba2);}),parentSegmentCmd['command'](a2_0x51b5f3(0x2eb))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x268))[a2_0x51b5f3(0x2ab)]('--limit\x20<n>',a2_0x51b5f3(0x3d1))[a2_0x51b5f3(0x2ab)]('--json',a2_0x51b5f3(0x38f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x109),'Output\x20as\x20JSON\x20Lines')[a2_0x51b5f3(0x198)](async(_0x23c0ee,_0x15b95a)=>{const _0xc4cc9b=a2_0x51b5f3,_0x1c717a=new ParentSegmentShowCommand(),_0x2ea089=program[_0xc4cc9b(0x3a8)](),_0xa64d00=await createTDXInstance(_0x2ea089),_0x5d1ade=await _0x1c717a['run']({'options':{..._0x2ea089,..._0x15b95a},'args':_0x23c0ee?[_0x23c0ee]:[],'tdx':_0xa64d00});gracefulExit(_0x5d1ade);}),parentSegmentCmd[a2_0x51b5f3(0x361)]('use\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x234))[a2_0x51b5f3(0x198)](async(_0x21c48a,_0x5d84ed)=>{const _0x2cd3c7=a2_0x51b5f3,_0x7249be=new UseCommand(),_0x142210=program['opts'](),_0x3ffcd3=_0x21c48a?['parent_segment',_0x21c48a]:[],_0x2b367d=await _0x7249be[_0x2cd3c7(0x345)]({'options':{..._0x142210,..._0x5d84ed},'args':_0x3ffcd3,'tdx':null});gracefulExit(_0x2b367d);});const psRtCmd=parentSegmentCmd[a2_0x51b5f3(0x361)]('rt')[a2_0x51b5f3(0x334)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1c2))[a2_0x51b5f3(0x198)](async(_0x50111f,_0x3f29a5)=>{const _0x57f60=a2_0x51b5f3,_0x5c0f84=new PSRtListCommand(),_0xd01f9c=program[_0x57f60(0x3a8)](),_0x467340=await createTDXInstance(_0xd01f9c),_0x5efebe=await _0x5c0f84[_0x57f60(0x345)]({'options':{..._0xd01f9c,..._0x3f29a5},'args':_0x50111f?[_0x50111f]:[],'tdx':_0x467340});gracefulExit(_0x5efebe);}),psRtCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x188))['description'](a2_0x51b5f3(0x2fe))[a2_0x51b5f3(0x198)](async(_0xac678a,_0x228684)=>{const _0x10056e=a2_0x51b5f3,_0x53713f=new PSRtValidateCommand(),_0x58341c=program[_0x10056e(0x3a8)](),_0x3a4154=await createTDXInstance(_0x58341c),_0x15ae26=await _0x53713f[_0x10056e(0x345)]({'options':{..._0x58341c,..._0x228684},'args':_0xac678a?[_0xac678a]:[],'tdx':_0x3a4154});gracefulExit(_0x15ae26);}),psRtCmd['command']('configuration_versions\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x296))[a2_0x51b5f3(0x198)](async(_0x3f12f7,_0x592172)=>{const _0x140638=a2_0x51b5f3,_0x29d1f4=new PSRtConfigVersionCommand(),_0x3c22f9=program['opts'](),_0x35f9b0=await createTDXInstance(_0x3c22f9),_0x4760ef=await _0x29d1f4[_0x140638(0x345)]({'options':{..._0x3c22f9,..._0x592172},'args':_0x3f12f7?[_0x3f12f7]:[],'tdx':_0x35f9b0});gracefulExit(_0x4760ef);});const psRtJnCmd=psRtCmd[a2_0x51b5f3(0x361)]('jn')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2b8));psRtJnCmd[a2_0x51b5f3(0x361)]('list\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x293))[a2_0x51b5f3(0x198)](async(_0x20faaf,_0x349c64)=>{const _0x5cbf80=a2_0x51b5f3,_0x1a91f6=new PSRtJnListCommand(),_0x281da4=program[_0x5cbf80(0x3a8)](),_0x1098f6=await createTDXInstance(_0x281da4),_0x2fcf06=await _0x1a91f6[_0x5cbf80(0x345)]({'options':{..._0x281da4,..._0x349c64},'args':_0x20faaf?[_0x20faaf]:[],'tdx':_0x1098f6});gracefulExit(_0x2fcf06);}),psRtJnCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x133))['description'](a2_0x51b5f3(0xc3))['action'](async(_0x2cbc85,_0x4f658b)=>{const _0x2447b7=a2_0x51b5f3,_0xbf96ad=new PSRtJnPauseCommand(),_0x230574=program[_0x2447b7(0x3a8)](),_0x28b6f2=await createTDXInstance(_0x230574),_0x2f9174=await _0xbf96ad[_0x2447b7(0x345)]({'options':{..._0x230574,..._0x4f658b},'args':[_0x2cbc85],'tdx':_0x28b6f2});gracefulExit(_0x2f9174);}),psRtJnCmd[a2_0x51b5f3(0x361)]('resume_activations\x20<journeyId>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2d3))[a2_0x51b5f3(0x198)](async(_0x1f485f,_0x553319)=>{const _0x46812b=a2_0x51b5f3,_0x147c22=new PSRtJnResumeCommand(),_0x58a0d6=program[_0x46812b(0x3a8)](),_0x167c36=await createTDXInstance(_0x58a0d6),_0x583104=await _0x147c22[_0x46812b(0x345)]({'options':{..._0x58a0d6,..._0x553319},'args':[_0x1f485f],'tdx':_0x167c36});gracefulExit(_0x583104);});function a2_0x5238(){const _0x35d0eb=['Create\x20a\x20workspace','Disable\x20a\x20workflow\x20schedule','map','--database\x20<db>','Show\x20a\x20specific\x20realtime\x20personalization','projects\x20[pattern]','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Workflow\x20project\x20management','delivery','Output\x20directory','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','log','Save\x20output\x20to\x20file','Safely\x20move\x20one\x20or\x20more\x20segments\x20(by\x20ID\x20or\x20name)\x20to\x20a\x20folder\x20—\x20preserves\x20rules','use\x20<path>','Folder\x20description','run','delete\x20<token_id>\x20[parent_segment]','Filtering\x20rule\x20from\x20JSON\x20file','auth','--type\x20<api_type>','--html-file\x20<path>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','--email-sender-id\x20<id>','restore\x20<folder>','--customer-group-file\x20<file>','list\x20[project.workflow]','--file\x20<path>','profile','Delay\x20in\x20seconds\x20before\x20execution','Preview\x20without\x20creating\x20the\x20project','--revision\x20<revision>','List\x20workflow\x20schedules\x20(alias\x20for\x20`schedule\x20list`)','Show\x20timeline\x20for\x20specific\x20attempt','commandUsage','Personalization\x20service\x20management','gitRevision','Include\x20subtasks\x20in\x20tasks\x20output','3868nqkUZi','Overwrite\x20existing\x20profile','Update\x20a\x20realtime\x20personalization\x20entity','--to\x20<date>','Database\x20to\x20query\x20(default:\x20information_schema)','command','Read\x20query\x20from\x20file','Preview\x20changes\x20without\x20writing\x20files','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Duplicate\x20a\x20campaign','Open\x20parent\x20segment\x20in\x20web\x20browser','--site\x20<site>','folder','commands','Show\x20document\x20details','tdx','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','create\x20<parent_name>\x20<folder_name>','Resume\x20listing\x20after\x20this\x20table\x20id\x20(from\x20a\x20previous\x20page)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','line-imagemap-image','-f,\x20--file\x20<path>','--yes','Change\x20to\x20directory\x20before\x20executing\x20command','create','Directory\x20does\x20not\x20exist:\x20','slice','Custom\x20revision\x20name\x20(default:\x20timestamp)','Skip\x20validation\x20of\x20.dig\x20files','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Create\x20a\x20new\x20profile','argv','--limit\x20<number>','use\x20<name>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Show\x20authentication\x20status\x20and\x20current\x20context','attempt:','Interactive\x20chat\x20selector','info\x20[segment_name]','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20substring,\x20with\x20`*`/`?`\x20wildcards)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','profiles','--color','Target\x20directory\x20for\x20YAML\x20files','--priority\x20<priority>','--invisible','Email\x20subject\x20template','--timezone\x20<tz>','--page-size\x20<n>','-n,\x20--name\x20<name>','Assignee','Output\x20as\x20JSON','finish\x20<name-or-id>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Access\x20control\x20policy\x20commands','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--audience\x20<name>','Agent\x20description','--dry-run','table','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Resume\x20a\x20paused\x20campaign','audience','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Run\x20tests\x20for\x20an\x20LLM\x20agent','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Pull\x20campaigns\x20to\x20YAML\x20files','filter','Cron\x20expression\x20for\x20scheduling','segments\x20[pattern]','help','Create\x20segment\x20folder','opts','--rule-file\x20<file>','update\x20<name>','alias','Show\x20email\x20template\x20details','Parent\x20folder\x20name\x20for\x20nested\x20folders','Workspace\x20management','Show\x20campaign\x20details','Update\x20an\x20email\x20template','stderr','--next','upload\x20[project-name-or-dir]','--stream','enable\x20<id>','ls\x20[path]','line-sender-account','sql\x20[name]','[options]\x20--\x20[claude-code-args...]','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Destination\x20folder\x20in\x20DAM\x20(default:\x20root)','Folder\x20name\x20for\x20organization','delete\x20<project-name-or-id>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','project','recover\x20<id>','use\x20[project]','_hidden','13211tkPbCd','Reason\x20for\x20killing\x20the\x20attempt','Initialize\x20a\x20new\x20workspace','LINE\x20sender\x20account\x20management','--days\x20<n>','Make\x20service\x20public\x20(default:\x20private)','-r,\x20--resume','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Open\x20a\x20document\x20in\x20$EDITOR','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Pull\x20child\x20segments\x20to\x20YAML\x20files','--folder\x20<name>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','subcommandDescription','Limit\x20number\x20of\x20rows','Resume\x20a\x20conversation\x20(shows\x20selector)','Show\x20workspace\x20details','Conflict\x20strategy:\x20ask\x20(default),\x20replace,\x20keep','Always-on\x20campaign\x20management','connections','--engine-version\x20<version>','--in\x20<db>','--enable-utm-tracking','[DEPRECATED]\x20Segment\x20folder\x20management','--assignee\x20<assignee>','logs','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','AI-native\x20work\x20management','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Remove\x20API\x20key\x20from\x20system\x20keychain','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','--rule\x20<json>','list\x20[project]','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','mkdir\x20<path>','init\x20[name]','outputHelp','Plaintext\x20template\x20content','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','update\x20<agent-name>','Preview\x20operation\x20without\x20executing','Create,\x20update,\x20or\x20delete\x20a\x20single\x20composable\x20child\x20segment','Data\x20connection\x20management\x20(for\x20activations/exports)','--enriched','--include-stats','--add-attributes-file\x20<file>','always-on-campaigns\x20[pattern]','Model\x20type\x20(default:\x20claude-4.5-sonnet)','[action]','--include-retried','Override\x20project\x20name','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Delivery\x20operations\x20(email\x20senders)','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','--method\x20<pm>','schema\x20<type>','--delete','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','--conflict\x20<strategy>','kill','--chat-id\x20<id>','--max-depth\x20<depth>','Trigger\x20on-demand\x20journey\x20workflow\x20execution','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Target\x20folder\x20(destination)\x20—\x20numeric\x20ID\x20or\x20name/path','--editor-type\x20<type>','preview\x20[name]','--attribute\x20[name]','addHelpText','--from\x20<timestamp>','Output\x20as\x20JSON\x20Lines','Open\x20segment\x20in\x20web\x20browser','\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20token\x0a\x20\x20$\x20tdx\x20auth\x20token\x20--profile\x20production\x0a','Email\x20preview\x20text\x20(up\x20to\x20220\x20characters)','Skip\x20population\x20counting','--parent-folder\x20<name>','status','--json','Show\x20the\x20task\x20graph\x20and\x20side-effect\x20warnings\x20without\x20executing','apiKey','--include-history','Print\x20the\x20current\x20OAuth\x20access\x20token','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Service\x20description','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','LINE\x20imagemap\x20image\x20management','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Allow\x20removing\x20audience\x20attributes/behaviors\x20not\x20in\x20local\x20YAML\x20(disabled\x20by\x20default)','Create\x20an\x20email\x20template','Database\x20name','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20AI\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','Follow/watch\x20timeline\x20for\x20running\x20attempts','allowExcessArguments','\x0aSegments\x20and\x20--folder\x20accept\x20a\x20numeric\x20ID\x20or\x20a\x20name/path,\x20resolved\x20(case-insensitive)\x0awithin\x20the\x20current\x20parent\x20segment.\x20Names\x20need\x20a\x20parent\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20ID\x0a\x20\x20tdx\x20sg\x20move\x20\x22VIP\x20Customers\x22\x20--folder\x20\x22Archive\x22\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20name\x0a\x20\x20tdx\x20sg\x20move\x20\x22Marketing/VIP\x20Customers\x22\x20--folder\x20\x22Marketing/Archive\x22\x20\x20\x20nested\x20path\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20--dry-run\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20preview,\x20no\x20changes\x0a\x0aDon\x27t\x20know\x20where\x20a\x20segment\x20lives\x20(or\x20the\x20name\x20is\x20nested)?\x20Find\x20it\x20first,\x20then\x20move\x20by\x20the\x20printed\x20path:\x0a\x20\x20tdx\x20sg\x20list\x20\x22<name>\x22\x20-r\x0aIf\x20a\x20bare\x20name\x20matches\x20several\x20segments,\x20the\x20move\x20refuses\x20and\x20lists\x20them\x20—\x20pass\x20the\x20intended\x20full\x20path\x20or\x20id.','Show\x20segment\x20schema\x20(column\x20types)','Skip\x20confirmation\x20prompt','\x22.\x20Must\x20be\x20a\x20number.','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--to\x20<n>','result\x20<job-id>','Pause\x20activations\x20in\x20an\x20RT\x20journey','agents\x20[pattern]','isArray','job','repeat','--workspace\x20<name>','Pause\x20a\x20running\x20journey','history\x20<name>','view\x20[segment_name]','--behaviors-file\x20<file>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','delete\x20<name-or-id>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Attributes\x20as\x20JSON\x20string','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','columns\x20<name-or-path>','Personalization\x20management','Campaign\x20type\x20(email\x20or\x20push)','--reeval','codex\x20[args...]','Download\x20workflow\x20project\x20from\x20Treasure\x20AI','List\x20email\x20senders','Validate\x20composable\x20audience\x20YAML\x20files\x20locally','\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\x20--refresh\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Force-refresh\x20MCP\x20servers\x20and\x20TD\x20skills\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\x0a\x0aTD\x20skills\x20and\x20the\x20td-docs\x20MCP\x20server\x20are\x20set\x20up\x20automatically,\x20skipping\x20whatever\x20is\x0aalready\x20in\x20place.\x20Skills\x20refresh\x20on\x20every\x20tdx\x20upgrade,\x20and\x20at\x20least\x20every\x20two\x20weeks.','service','Delete\x20a\x20realtime\x20personalization','--description\x20<text>','--add-behaviors\x20<json>','Submit\x20a\x20job','-y,\x20--yes','--force','beefree','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','--body\x20<body>','Show\x20schedule\x20execution\x20history','--result\x20<url>','--from\x20<n>','\x0aDisabled\x20by\x20default.\x20See\x20https://tdx.treasuredata.com/guide/api-command-safety\x0afor\x20how\x20to\x20enable.\x0a\x0aAI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf\x20—\x20ask\x20them\x20first.\x0aPrefer\x20structured\x20commands;\x20they\x20validate\x20inputs\x20and\x20resolve\x20names\x20to\x20IDs.\x0a\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','-w,\x20--web','--include-subtasks','describe\x20[table]','AI-native\x20CLI\x20for\x20Treasure\x20AI','Duplicate\x20an\x20always-on\x20campaign','createAsync','error','argument','Get\x20job\x20results','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','validate\x20[target]','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','format','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--attributes\x20<json>','isTTY','--schedule-option\x20<value>','-r,\x20--recursive','Alias\x20for\x20--database\x20(natural\x20language\x20style)','fields\x20[parent_name]','Read\x20request\x20body\x20from\x20file','upload\x20<file>','--kind\x20<type>','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','preview\x20[file]','Agent\x20name','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Revision\x20name\x20(default:\x20timestamp)','--jsonl','Overwrite\x20local\x20changes\x20without\x20confirmation','activations\x20<segment_name>','--stage\x20<name>','pull\x20[name]','--master','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Job\x20management\x20commands','journeys\x20[pattern]','versions\x20<name-or-path>','--params\x20<json>','-o,\x20--output\x20<file>','--cron\x20<expression>','Parse\x20and\x20validate\x20without\x20executing','New\x20campaign\x20name','policy','buildTime','\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','Preview\x20composable\x20segment\x20query\x20on\x20CDW','timeline\x20[project.workflow]','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','--name\x20<name>','Database\x20management\x20commands','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','campaigns\x20[pattern]','-d,\x20--database\x20<database>','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20all\x20files\x20including\x20valid\x20ones','Output\x20file\x20path\x20(default:\x20<name>.yml)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Workflow\x20(Digdag)\x20management\x20commands','Workflow\x20parameter\x20(repeatable)','Filtering\x20rule\x20as\x20JSON\x20string','Run\x20a\x20scheduled\x20query\x20immediately','models','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Upload\x20an\x20image\x20to\x20Engage\x20DAM\x20(JPEG/PNG/GIF)','Query\x20type:\x20trino\x20or\x20hive','accessToken','Attributes\x20from\x20JSON\x20file','pause_activations\x20<journeyId>','Document\x20body\x20text','view\x20<name-or-path>','Update\x20a\x20workspace','set\x20<key=value>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','pull\x20[parent_or_file]','List\x20available\x20LLM\x20models','forEach','--output\x20<file>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','optionTerm','Setup\x20API\x20key\x20authentication\x20interactively','item','_list-commands','Check\x20for\x20updates\x20without\x20installing','Name\x20for\x20the\x20duplicated\x20campaign','--description\x20<desc>','red','always-on-campaign','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Starter\x20message','--session\x20<id>','Scheduled\x20query\x20management\x20commands','database','Recover\x20a\x20deleted\x20table\x20by\x20id','claude-4.5-sonnet','Ending\x20offset\x20(default:\x2020)','push\x20[target]','Email\x20sender\x20ID\x20for\x20delivery','segment','--name\x20<new_name>','Resume\x20a\x20paused\x20journey','Show\x20segment\x20details\x20(alias\x20for\x20view)','exit','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20always-on\x20campaigns','Add\x20behaviors\x20from\x20JSON\x20file','List\x20all\x20data\x20connections','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','options','--priority\x20<-2~2>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','split','Push\x20without\x20confirmation','--allowed-ips\x20<ips>','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','api\x20[endpoint]','show\x20<job-id>','Resume\x20from\x20specific\x20task\x20(retry)','trino','--in\x20<database>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','push\x20[name]','after','2OHGynZ','8390qRkJxN','Pull\x20always-on\x20campaigns\x20to\x20YAML\x20files','Resume\x20scheduling\x20from\x20this\x20time\x20instead\x20of\x20the\x20schedule\x20definition\x20(ISO-8601,\x20e.g.\x202026-12-31T23:59:00+00:00)','list\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','List\x20composable\x20audiences','trace','Include\x20all\x20items\x20(no\x20stale\x20filtering)','list','--default','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--html\x20<html>','users','--session-time\x20<time>','validate\x20[file]','resume\x20<name-or-id>','claude\x20[args...]','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','--start-at\x20<datetime>','--trace','create\x20<name>','describe','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','engage','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','view\x20[name]','llm','validate\x20[name]','tasks','Pull\x20workflow\x20project\x20to\x20local\x20folder','\x20-\x20built\x20','--no-color','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Delete\x20a\x20campaign','set','validate\x20[path]','--param\x20<key=value>','move\x20<segment...>','statusline','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Export\x20journey(s)\x20as\x20YAML\x20files','--interval\x20<range>','--retry-limit\x20<0~32>','action','--refresh','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','engage_workspace','DEBUG','--temperature\x20<n>','Agent\x20prompt/instructions','Name\x20for\x20the\x20new\x20project\x20(required)','preAction','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','chat\x20[message...]','--name\x20<new-name>','Database\x20name\x20(default:\x20information_schema)','tdx\x20','push','Show\x20agent\x20details','--format\x20<format>','types','Resume\x20a\x20paused\x20always-on\x20campaign','rm\x20<path>','Parent\x20segment\x20management','Timezone\x20for\x20cron\x20(default:\x20UTC)','push\x20<file>','Table\x20management\x20commands','sql\x20[segment_name]','Task\x20name\x20for\x20logs\x20action','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','list\x20[pattern]','Email\x20template\x20management','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','attempts\x20[project]','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Transition\x20a\x20task\x20to\x20a\x20new\x20status','pause\x20<name-or-id>','--schedule-type\x20<type>','upgrade','--name\x20<text>','Show\x20journey\x20table\x20column-to-step\x20mapping','run\x20<name>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Preview\x20the\x20move\x20without\x20changing\x20anything\x20(no\x20data\x20is\x20modified)','...','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20a\x20single\x20schedule\x20by\x20its\x20ID','INFO','Resume\x20from\x20specific\x20task','Maximum\x20recursion\x20depth\x20(default:\x2010)','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','tables\x20[pattern]','--database\x20<database>','Timezone\x20(e.g.,\x20America/Los_Angeles)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','show\x20[segment_name]','workflows\x20[project]','Force\x20retry\x20even\x20if\x20not\x20failed','Initial\x20status','--audience-id\x20<id>','Path\x20is\x20not\x20a\x20directory:\x20','Open\x20journey\x20in\x20web\x20browser','Maximum\x20number\x20of\x20nodes','Manage\x20workflow\x20project\x20secrets','Personalization\x20name','retry\x20<session-id>','Update\x20an\x20existing\x20agent','workspaces\x20[pattern]','\x0aExamples:\x0a\x20\x20tdx\x20codex\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\x20\x20Launch\x20Codex\x20routed\x20through\x20TD\x20LLM\x20Proxy\x0a\x20\x20tdx\x20codex\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20\x20Start\x20Codex\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20codex\x20--profile\x20my-profile\x20\x20\x20\x20\x20\x20Use\x20a\x20specific\x20tdx\x20profile\x20for\x20auth\x0a\x0aCodex\x20is\x20configured\x20via\x20\x27-c\x27\x20overrides\x20only\x20—\x20your\x20~/.codex/config.toml\x20is\x0anever\x20modified.\x20The\x20\x27td\x27\x20model\x20provider\x20it\x20registers\x20calls\x20\x27tdx\x20auth\x20token\x27\x0aper\x20request,\x20so\x20bearer\x20tokens\x20refresh\x20automatically.','Output\x20file\x20path','New\x20service\x20name','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Continue\x20most\x20recent\x20conversation','patch\x20<personalization_id>','Include\x20retried\x20attempts\x20(for\x20list)','-f,\x20--force','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Show\x20always-on\x20campaign\x20details','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Clear\x20workflow\x20project\x20context','--all','clone\x20[source]','Enable\x20verbose\x20logging','update\x20<segment_name>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Commands:','Validate\x20journey\x20YAML\x20files\x20locally','Pull\x20specific\x20campaign\x20by\x20name','Show\x20items\x20updated\x20within\x20N\x20days','Move\x20to\x20folder','launch\x20<name-or-id>','message','Retry\x20limit\x20(0\x20to\x2032)','Segment\x20description','-p,\x20--profile\x20<name>','Create\x20a\x20new\x20campaign','agent','85xHJDxY','List\x20Engage\x20DAM\x20directory\x20contents','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','HTML\x20template\x20content','Push\x20YAML\x20files\x20to\x20Treasure\x20AI\x20as\x20child\x20segments','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','attempt','Skip\x20confirmation\x20prompts','board','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','For\x20setup\x20instructions,\x20see\x20https://tdx.treasuredata.com/guide/api-command-safety','subcommandTerm','-o,\x20--output\x20<dir>','Campaign\x20description','--behavior\x20[name]','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Behaviors\x20as\x20JSON\x20string','List\x20all\x20available\x20profiles','Include\x20retried\x20attempts','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Pause\x20an\x20always-on\x20campaign','Updated\x20description','delete\x20<args...>','Options:','Delete\x20the\x20named\x20segment\x20instead\x20of\x20creating/updating\x20it\x20(single\x20segment\x20only,\x20not\x20a\x20directory\x20prune\x20—\x20disabled\x20by\x20default)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Result\x20output\x20destination\x20URL','jsonl','name','media','Delete\x20a\x20workspace','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','workflow','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--add-attributes\x20<json>','Timezone\x20for\x20cron','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','argumentTerm','show\x20<name>','Delete\x20workflow\x20project\x20from\x20Treasure\x20AI','variadic','--no-count-population','show\x20<folder_ref>','Run\x20specific\x20tests\x20(comma-separated)','Trino\x20catalog\x20(default:\x20td)','includes','RT\x202.0\x20configuration\x20management',',\x20version\x20','Delete\x20an\x20LLM\x20project','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--tags\x20<tags>','--full','--starter-message\x20<text>','catch','List\x20folders\x20and\x20segments;\x20with\x20-r\x20and\x20a\x20pattern,\x20search\x20the\x20whole\x20tree\x20by\x20name','Set\x20or\x20show\x20parent\x20segment\x20context','jobs','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws).\x20Defaults\x20to\x20the\x20active\x20profile\x27s\x20site,\x20or\x20us01','update\x20<service_id>\x20[parent_segment]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--attempt-id\x20<id>','--agent\x20<ref>','--result\x20<target>','duplicate\x20<name-or-id>','Composable\x20audience\x20name','Sections\x20as\x20an\x20inline\x20JSON\x20array','--schedule-id\x20<id>','delete\x20<personalization_id>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Describe\x20table\x20schema','--type\x20<type>','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','create\x20<name>\x20<service_id>\x20[parent_segment]','aliases','-o,\x20--output\x20<folder>','Launch\x20an\x20always-on\x20campaign','show\x20<personalization_id>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','List\x20activations\x20for\x20a\x20journey','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','User\x20management\x20commands','token','Invalid\x20editor\x20type:\x20','Show\x20the\x20most\x20recent\x20chat','Finish\x20an\x20always-on\x20campaign','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Kill\x20a\x20job','--segment\x20<path>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','--sections\x20<json>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','show\x20<policy>','\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','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Restore\x20into\x20a\x20different\x20database\x20(use\x20on\x20409\x20db\x20conflict)','--skip-validation','Run\x20Trino\x20query\x20with\x20streaming\x20results','Job\x20priority\x20(-2\x20to\x202)','New\x20workspace\x20name','parents\x20[pattern]','flags','3086692LWpbPr','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20Kanban\x20board\x20view\x20of\x20tasks','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--status\x20<status>','Update\x20an\x20always-on\x20campaign','Make\x20segment\x20invisible\x20(default:\x20visible)','New\x20service\x20description','create\x20<name>\x20[parent_segment]','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','schedule','push\x20[parent_or_file]','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','0.7','--clear','Comma-separated\x20tags','--version','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Create\x20a\x20scheduled\x20query','Starting\x20offset\x20(default:\x200)','-d,\x20--database\x20<db>','join','secrets','-C,\x20--directory\x20<path>','registeredArguments','Show\x20master\x20table\x20sample\x20data','usage','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','templates\x20[pattern]','debug','push\x20[source-dir]','chdir','Add\x20behaviors\x20as\x20JSON\x20string','Workflow\x20attempt\x20management','Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)','\x0aNeeds\x20a\x20parent\x20segment\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x20Add\x20--format\x20json\x20for\x20machine\x20output.\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list\x20the\x20current\x20context\x20(folders\x20+\x20segments)\x0a\x20\x20tdx\x20sg\x20list\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20full\x20tree\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20find\x20every\x20segment/folder\x20whose\x20name\x20contains\x20\x22VIP\x22\x20(with\x20its\x20path)\x0a\x20\x20tdx\x20sg\x20list\x20\x22Q1\x20*\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wildcard\x20search\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20--format\x20json\x20\x20\x20\x20same,\x20as\x20JSON\x20for\x20jq/grep\x0a\x0aUse\x20a\x20printed\x20path\x20with\x20`tdx\x20sg\x20move`.','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Usage:\x20','unset\x20<resource>','Workspace\x20name','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Customer\x20group\x20from\x20JSON\x20file','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--from-task\x20<task>','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Validate\x20template\x20YAML\x20files\x20locally','optionDescription','Get\x20current\x20RT\x20configuration\x20version\x20status','padEnd','--parent-segment-id\x20<id>','List\x20all\x20versions\x20of\x20a\x20journey','--subject\x20<subject>','length','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20AI','Rename\x20the\x20recovered\x20table\x20(use\x20on\x20409\x20name\x20conflict)','move\x20<name>\x20<status>','Enable\x20UTM\x20tracking','show\x20[table]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','sessions\x20[project]','yellow','fields\x20[name]','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','update\x20<name-or-id>','Launch\x20Codex\x20with\x20TD\x20LLM\x20Proxy\x20as\x20the\x20backend','--backfill','commandDescription','option','download\x20<project-name>\x20[output-dir]','open\x20<name>','required','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Database\x20name\x20(required)','Create\x20a\x20new\x20always-on\x20campaign','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','List\x20composable\x20segments\x20for\x20an\x20audience','--json-columns\x20<cols>','Filter\x20by\x20parent\x20segment\x20ID\x20(numeric)','-H,\x20--header\x20<header>','RT\x20Journey\x20management','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','cas','Force\x20an\x20MCP\x20server\x20and\x20TD\x20skills\x20refresh\x20(normally\x20automatic)','\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','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','6975wLAzrC','template','Query\x20engine\x20version','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20resuming','--account-name\x20<name>','328sRnDgO','create\x20<name-or-path>','delete\x20<agent-name>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Validate\x20campaign\x20YAML\x20files\x20locally','run\x20[workflow]','desc\x20[name]','Delete\x20an\x20email\x20template','Parent\x20segment\x20description','Engage\x20DAM\x20media\x20management','Set\x20a\x20profile\x20configuration\x20value','backup\x20<name>','work','parent','Resume\x20activations\x20in\x20an\x20RT\x20journey','create\x20<segment_name>','New\x20template\x20name','submit\x20[query]','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Delete\x20a\x20scheduled\x20query','3342552pVpPjm','Show\x20journey\x20details','Prefer\x20typed\x20commands\x20—\x20run\x20`tdx\x20--help`\x20to\x20see\x20them.','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Token\x20description','pull\x20[workspace-name]','--to\x20<timestamp>','-X,\x20--method\x20<method>','320477cPEMqc','upgrade\x20[version]','List\x20recoverable\x20deleted\x20tables\x20(last\x207\x20days)','Clear\x20session\x20context','-c,\x20--continue','CDP\x20segment\x20management\x20commands','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--verbose','Launch\x20a\x20campaign','kill\x20<job-id>','show\x20[name]','hidden','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Start\x20a\x20new\x20chat\x20session','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','tsv','Personalization\x20Studio\x20campaign\x20management','logLevel','Show\x20journey\x20statistics','allowUnknownOption','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','pause\x20<name-or-path>','--no-eval','[attempt-id]','Show\x20stats\x20for\x20specific\x20stage','Read\x20SQL\x20query\x20from\x20file','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','--limit\x20<rows>','mcp','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','-v,\x20--verbose','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','setup','connection','1043385jUiqui','folders\x20<parent_name>','chats','Manage\x20workflow\x20schedules\x20(enable/disable)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Invalid\x20--limit\x20value:\x20\x22','Error:\x20`tdx\x20api`\x20is\x20disabled\x20by\x20default\x20to\x20prevent\x20unintended\x20API\x20calls.','--prompt\x20<text>','-1d','Output\x20folder\x20(default:\x20{project_name}.llm)','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','Include\x20execution\x20statistics','Generate\x20test\x20conversations\x20without\x20evaluation','--last','Composable\x20segment\x20commands','Update\x20a\x20scheduled\x20query','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','show\x20<name-or-id>','delete\x20<name>','--num\x20<1-10>','--delay\x20<seconds>','run\x20[name]','directory','[options]\x20--\x20[codex-args...]','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20a\x20plain\x20string\x20matches\x20as\x20a\x20substring,\x20`*`\x20and\x20`?`\x20are\x20wildcards)\x20and\x20print\x20each\x20match\x20with\x20its\x20full\x20folder\x20path\x20for\x20use\x20with\x20`sg\x20move`','Upload\x20workflow\x20project\x20to\x20Treasure\x20AI\x20(digdag-style)','--cursor-id\x20<id>','\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','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Create\x20a\x20new\x20LLM\x20project','--add-behaviors-file\x20<file>','Campaign\x20name','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--follow','Show\x20only\x20master\x20table\x20validation','user','Updated\x20schedule\x20option','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Show\x20schedule\x20details','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Request\x20body\x20as\x20JSON\x20string','Maximum\x20rows\x20to\x20display','Workspace\x20name\x20(required)','create\x20[name]','-u,\x20--use','--plaintext\x20<text>','Add\x20attributes\x20as\x20JSON\x20string','pull\x20[project]\x20[agent-name]','requiredOption','description'];a2_0x5238=function(){return _0x35d0eb;};return a2_0x5238();}const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x22b));parentRtCmd['command'](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1c2))['action'](async(_0x2b5a13,_0x53859a)=>{const _0x4f283b=a2_0x51b5f3,_0x48aefc=new PSRtListCommand(),_0x2eca69=program[_0x4f283b(0x3a8)](),_0xbb9df3=await createTDXInstance(_0x2eca69),_0x360c66=await _0x48aefc[_0x4f283b(0x345)]({'options':{..._0x2eca69,..._0x53859a},'args':_0x2b5a13?[_0x2b5a13]:[],'tdx':_0xbb9df3});gracefulExit(_0x360c66);}),parentRtCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x188))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2fe))[a2_0x51b5f3(0x198)](async(_0x42a6d6,_0x4f748c)=>{const _0x4d75b5=a2_0x51b5f3,_0xad7a28=new PSRtValidateCommand(),_0x3a2368=program[_0x4d75b5(0x3a8)](),_0x50384f=await createTDXInstance(_0x3a2368),_0x4d3365=await _0xad7a28[_0x4d75b5(0x345)]({'options':{..._0x3a2368,..._0x4f748c},'args':_0x42a6d6?[_0x42a6d6]:[],'tdx':_0x50384f});gracefulExit(_0x4d3365);});const psPzCmd=parentSegmentCmd[a2_0x51b5f3(0x361)]('pz')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xd5));psPzCmd['command']('list\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x300))[a2_0x51b5f3(0x198)](async(_0x5c9a9f,_0x1c54f4)=>{const _0x4c8165=a2_0x51b5f3,_0xe567f=new PSPzListCommand(),_0x36dbe2=program[_0x4c8165(0x3a8)](),_0x1a83db=await createTDXInstance(_0x36dbe2),_0x293cde=await _0xe567f[_0x4c8165(0x345)]({'options':{..._0x36dbe2,..._0x1c54f4},'args':_0x5c9a9f?[_0x5c9a9f]:[],'tdx':_0x1a83db});gracefulExit(_0x293cde);}),psPzCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x24a))['description'](a2_0x51b5f3(0x339))[a2_0x51b5f3(0x198)](async(_0x71f96e,_0x303d99)=>{const _0x11a78f=a2_0x51b5f3,_0x4b3b42=new PSPzShowCommand(),_0x1fa709=program[_0x11a78f(0x3a8)](),_0x58c746=await createTDXInstance(_0x1fa709),_0x1432f2=await _0x4b3b42[_0x11a78f(0x345)]({'options':{..._0x1fa709,..._0x303d99},'args':[_0x71f96e],'tdx':_0x58c746});gracefulExit(_0x1432f2);}),psPzCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x240))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xde))[a2_0x51b5f3(0x198)](async(_0x5dc7e3,_0x256469)=>{const _0x44f722=a2_0x51b5f3,_0xc0d769=new PSPzDeleteCommand(),_0x483b54=program[_0x44f722(0x3a8)](),_0x227a32=await createTDXInstance(_0x483b54),_0x58edc0=await _0xc0d769['run']({'options':{..._0x483b54,..._0x256469},'args':[_0x5dc7e3],'tdx':_0x227a32});gracefulExit(_0x58edc0);}),psPzCmd[a2_0x51b5f3(0x361)]('create')[a2_0x51b5f3(0x334)]('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')[a2_0x51b5f3(0x2ab)]('--name\x20<text>',a2_0x51b5f3(0x1da))[a2_0x51b5f3(0x2ab)]('--description\x20<text>','Personalization\x20description')['option'](a2_0x51b5f3(0x1d5),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')[a2_0x51b5f3(0x2ab)]('--folder-id\x20<id>','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x25a),a2_0x51b5f3(0x23e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x351),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x51b5f3(0x198)](async _0x2aa369=>{const _0x19160b=a2_0x51b5f3,_0x50d4a6=new PSPzCreateCommand(),_0x4ac52c=program['opts'](),_0x5a8232=await createTDXInstance(_0x4ac52c),_0x16f3ed=await _0x50d4a6[_0x19160b(0x345)]({'options':{..._0x4ac52c,..._0x2aa369},'args':[],'tdx':_0x5a8232});gracefulExit(_0x16f3ed);}),psPzCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1e3))['description'](a2_0x51b5f3(0x35e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1be),a2_0x51b5f3(0x1da))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),'Personalization\x20description')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x25a),'Sections\x20as\x20an\x20inline\x20JSON\x20array')['option'](a2_0x51b5f3(0x351),a2_0x51b5f3(0x1fd))['action'](async(_0x179cab,_0x5cff1f)=>{const _0x19a58c=a2_0x51b5f3,_0xbd0731=new PSPzPatchCommand(),_0x54cfca=program[_0x19a58c(0x3a8)](),_0x1003c6=await createTDXInstance(_0x54cfca),_0x35e1d8=await _0xbd0731['run']({'options':{..._0x54cfca,..._0x5cff1f},'args':[_0x179cab],'tdx':_0x1003c6});gracefulExit(_0x35e1d8);});const psPzServiceCmd=psPzCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xdd))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x359));psPzServiceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x16e))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x39f))[a2_0x51b5f3(0x198)](async(_0x4b9819,_0x7c69f4)=>{const _0x455345=a2_0x51b5f3,_0x2cc4db=new PSPzServiceListCommand(),_0x49a68d=program[_0x455345(0x3a8)](),_0x2eb9ad=await createTDXInstance(_0x49a68d),_0x32baca=await _0x2cc4db[_0x455345(0x345)]({'options':{..._0x49a68d,..._0x7c69f4},'args':_0x4b9819?[_0x4b9819]:[],'tdx':_0x2eb9ad});gracefulExit(_0x32baca);}),psPzServiceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x26f))[a2_0x51b5f3(0x334)]('Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x51b5f3(0x2ab)]('--description\x20<text>',a2_0x51b5f3(0xb1))[a2_0x51b5f3(0x2ab)]('--public',a2_0x51b5f3(0x3c8))[a2_0x51b5f3(0x198)](async(_0x2eb285,_0x30eebc,_0x1b90bc)=>{const _0xe1a2c3=a2_0x51b5f3,_0x149432=new PSPzServiceCreateCommand(),_0x8ef888=program[_0xe1a2c3(0x3a8)](),_0x31aa4d=await createTDXInstance(_0x8ef888),_0x4c263f=await _0x149432[_0xe1a2c3(0x345)]({'options':{..._0x8ef888,..._0x1b90bc},'args':_0x30eebc?[_0x2eb285,_0x30eebc]:[_0x2eb285],'tdx':_0x31aa4d});gracefulExit(_0x4c263f);}),psPzServiceCmd[a2_0x51b5f3(0x361)]('show\x20<service_id>\x20[parent_segment]')['description'](a2_0x51b5f3(0x33b))['action'](async(_0x5f592a,_0x232411,_0x189e34)=>{const _0x5ea1e6=a2_0x51b5f3,_0x1ac1fc=new PSPzServiceShowCommand(),_0x4750b1=program[_0x5ea1e6(0x3a8)](),_0x4b7674=await createTDXInstance(_0x4750b1),_0x5133df=await _0x1ac1fc[_0x5ea1e6(0x345)]({'options':{..._0x4750b1,..._0x189e34},'args':_0x232411?[_0x5f592a,_0x232411]:[_0x5f592a],'tdx':_0x4b7674});gracefulExit(_0x5133df);}),psPzServiceCmd[a2_0x51b5f3(0x361)]('delete\x20<service_id>\x20[parent_segment]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x183))[a2_0x51b5f3(0x198)](async(_0x139d18,_0x27234b,_0x44eb7a)=>{const _0x2f7186=a2_0x51b5f3,_0x4a1c6f=new PSPzServiceDeleteCommand(),_0x5cd403=program['opts'](),_0x1da053=await createTDXInstance(_0x5cd403),_0x244b4d=await _0x4a1c6f[_0x2f7186(0x345)]({'options':{..._0x5cd403,..._0x44eb7a},'args':_0x27234b?[_0x139d18,_0x27234b]:[_0x139d18],'tdx':_0x1da053});gracefulExit(_0x244b4d);}),psPzServiceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x237))['description'](a2_0x51b5f3(0x3ca))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x1e0))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x26e))['action'](async(_0xbb07d4,_0x4dd070,_0x593ff7)=>{const _0x295192=a2_0x51b5f3,_0x5855e9=new PSPzServiceUpdateCommand(),_0x2b1b19=program[_0x295192(0x3a8)](),_0x81b6f5=await createTDXInstance(_0x2b1b19),_0xfbc3bc=await _0x5855e9['run']({'options':{..._0x2b1b19,..._0x593ff7},'args':_0x4dd070?[_0xbb07d4,_0x4dd070]:[_0xbb07d4],'tdx':_0x81b6f5});gracefulExit(_0xfbc3bc);}),psPzServiceCmd['command'](a2_0x51b5f3(0x7f))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x12e))['action'](async(_0x2fb149,_0xe27e82)=>{const _0x62cbb3=new PSPzInitCommand(),_0xcb464d=program['opts'](),_0x2ca0de=await createTDXInstance(_0xcb464d),_0x4eb628=await _0x62cbb3['run']({'options':{..._0xcb464d,..._0xe27e82},'args':_0x2fb149?[_0x2fb149]:[],'tdx':_0x2ca0de});gracefulExit(_0x4eb628);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x251))[a2_0x51b5f3(0x334)]('Personalization\x20service\x20token\x20management');psPzServiceTokenCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x246))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x75))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x160),a2_0x51b5f3(0x39c))['option']('--description\x20<text>',a2_0x51b5f3(0x2dd))[a2_0x51b5f3(0x198)](async(_0x5a37d4,_0x4c470e,_0xaf9bc4,_0x39df92)=>{const _0x19cadd=a2_0x51b5f3,_0x5b3a53=new PSPzServiceTokenCreateCommand(),_0x2f9e12=program[_0x19cadd(0x3a8)](),_0x37c267=await createTDXInstance(_0x2f9e12),_0x590bc2=await _0x5b3a53[_0x19cadd(0x345)]({'options':{..._0x2f9e12,..._0x39df92},'args':_0xaf9bc4?[_0x5a37d4,_0x4c470e,_0xaf9bc4]:[_0x5a37d4,_0x4c470e],'tdx':_0x37c267});gracefulExit(_0x590bc2);}),psPzServiceTokenCmd['command'](a2_0x51b5f3(0x346))[a2_0x51b5f3(0x334)]('Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x51b5f3(0x198)](async(_0x168213,_0x205be7,_0x10fb07)=>{const _0xf68db3=a2_0x51b5f3,_0x1f408f=new PSPzServiceTokenDeleteCommand(),_0x5b848c=program[_0xf68db3(0x3a8)](),_0x3fffec=await createTDXInstance(_0x5b848c),_0x3b8dfd=await _0x1f408f['run']({'options':{..._0x5b848c,..._0x10fb07},'args':_0x205be7?[_0x168213,_0x205be7]:[_0x168213],'tdx':_0x3fffec});gracefulExit(_0x3b8dfd);}),parentCmd[a2_0x51b5f3(0x361)]('create\x20<name>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x9d))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x338),'Master\x20database\x20name')[a2_0x51b5f3(0x333)]('--table\x20<table>','Master\x20table\x20name')['option']('--description\x20<text>',a2_0x51b5f3(0x2cd))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1bc),a2_0x51b5f3(0x24b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xfc),a2_0x51b5f3(0xb4))[a2_0x51b5f3(0x2ab)]('--timezone\x20<tz>',a2_0x51b5f3(0x1ce))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xfa),a2_0x51b5f3(0xd2))[a2_0x51b5f3(0x2ab)]('--attributes-file\x20<file>',a2_0x51b5f3(0x132))[a2_0x51b5f3(0x2ab)]('--behaviors\x20<json>',a2_0x51b5f3(0x20d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xcc),'Behaviors\x20from\x20JSON\x20file')[a2_0x51b5f3(0x2ab)]('--customer-group\x20<json>','Customer\x20group\x20as\x20JSON\x20string')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x34f),a2_0x51b5f3(0x290))[a2_0x51b5f3(0x198)](async(_0x452fb0,_0x44a6b0)=>{const _0x57267b=a2_0x51b5f3,_0x113d95=new ParentSegmentCreateCommand(),_0x159492=program[_0x57267b(0x3a8)](),_0x2f58da=await createTDXInstance(_0x159492),_0x54ee43=await _0x113d95[_0x57267b(0x345)]({'options':{..._0x159492,..._0x44a6b0},'args':[_0x452fb0],'tdx':_0x2f58da});gracefulExit(_0x54ee43);}),parentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3aa))['description'](a2_0x51b5f3(0x1e1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),'Updated\x20description')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1bc),a2_0x51b5f3(0xb8))[a2_0x51b5f3(0x2ab)]('--schedule-option\x20<value>',a2_0x51b5f3(0x327))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x38b),'Updated\x20timezone')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x21f),a2_0x51b5f3(0x331))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x89),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe0),a2_0x51b5f3(0x287))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x321),a2_0x51b5f3(0x158))['action'](async(_0x27e511,_0x2c71a2)=>{const _0x3b953d=a2_0x51b5f3,_0x3ee8ce=new ParentSegmentUpdateCommand(),_0x1ff1da=program[_0x3b953d(0x3a8)](),_0x1b684a=await createTDXInstance(_0x1ff1da),_0x1d9b5e=await _0x3ee8ce[_0x3b953d(0x345)]({'options':{..._0x1ff1da,..._0x2c71a2},'args':[_0x27e511],'tdx':_0x1b684a});gracefulExit(_0x1d9b5e);}),folderCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x36d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3a7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x344))['option'](a2_0x51b5f3(0xa9),a2_0x51b5f3(0x3ad))['action'](async(_0x1480d0,_0x5823a9,_0x53e0dc)=>{const _0xdd4b76=a2_0x51b5f3,_0x5bec6d=new SegmentFolderCreateCommand(),_0x510fd5=program['opts'](),_0x278359=await createTDXInstance(_0x510fd5),_0x5110d5=await _0x5bec6d[_0xdd4b76(0x345)]({'options':{..._0x510fd5,..._0x53e0dc},'args':[_0x1480d0,_0x5823a9],'tdx':_0x278359});gracefulExit(_0x5110d5);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x10b))[a2_0x51b5f3(0x334)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')['action'](async(_0x476cea,_0x1fed8c)=>{const _0x587c27=a2_0x51b5f3,_0x35bdc9=new ActivationsCommand(),_0x1ed622=program[_0x587c27(0x3a8)](),_0x32316c=await createTDXInstance(_0x1ed622),_0xb2e117=await _0x35bdc9[_0x587c27(0x345)]({'options':{..._0x1ed622,..._0x1fed8c},'args':[_0x476cea],'tdx':_0x32316c});gracefulExit(_0xb2e117);});const workflowCmd=program['command'](a2_0x51b5f3(0x21d))['alias']('wf')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x129)),wfProjectCmd=workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3bf))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x33c)),wfProjectListAction=async(_0x16dd50,_0x5acf13)=>{const _0x89b957=a2_0x51b5f3,_0x68ee16=new WorkflowProjectsCommand(),_0xc0cb77=program[_0x89b957(0x3a8)](),_0x15cf36=await createTDXInstance(_0xc0cb77),_0x5b7f6e=await _0x68ee16[_0x89b957(0x345)]({'options':{..._0xc0cb77,..._0x5acf13},'args':_0x16dd50?[_0x16dd50]:[],'tdx':_0x15cf36});gracefulExit(_0x5b7f6e);};wfProjectCmd[a2_0x51b5f3(0x361)]('list\x20[pattern]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2a6))[a2_0x51b5f3(0x198)](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')[a2_0x51b5f3(0x334)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x35582c,_0x473b8b)=>{const _0x2a0667=a2_0x51b5f3,_0x426781=new WorkflowWorkflowsCommand(),_0x4a6378=program[_0x2a0667(0x3a8)](),_0x37059d=await createTDXInstance(_0x4a6378),_0xf097f5=await _0x426781['run']({'options':{..._0x4a6378,..._0x473b8b},'args':_0x35582c?[_0x35582c]:[],'tdx':_0x37059d});gracefulExit(_0xf097f5);};workflowCmd['command'](a2_0x51b5f3(0x1d2))['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x51b5f3(0x198)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x51b5f3(0x361)]('session')[a2_0x51b5f3(0x334)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x2ade5b,_0x5b618e)=>{const _0x35a9=a2_0x51b5f3,_0x1156c2=new WorkflowSessionsCommand(),_0x1f6a59=program[_0x35a9(0x3a8)](),_0x88fd24=await createTDXInstance(_0x1f6a59),_0x4acd67=await _0x1156c2[_0x35a9(0x345)]({'options':{..._0x1f6a59,..._0x5b618e},'args':_0x2ade5b?[_0x2ade5b]:[],'tdx':_0x88fd24});gracefulExit(_0x4acd67);};wfSessionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x206))['option']('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa3),a2_0x51b5f3(0x1c6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2df),a2_0x51b5f3(0xd1))[a2_0x51b5f3(0x198)](wfSessionListAction),workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x148))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x26b),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa3),a2_0x51b5f3(0x1c6))[a2_0x51b5f3(0x2ab)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x51b5f3(0x198)](wfSessionListAction);const wfAttemptListAction=async(_0x3ae684,_0x245c27)=>{const _0x32ea55=a2_0x51b5f3,_0x59228f=new WorkflowAttemptsCommand(),_0x304615=program[_0x32ea55(0x3a8)](),_0x5f0b8d=await createTDXInstance(_0x304615),_0x181b75=await _0x59228f[_0x32ea55(0x345)]({'options':{..._0x304615,..._0x245c27},'args':_0x3ae684?[_0x3ae684]:[],'tdx':_0x5f0b8d});gracefulExit(_0x181b75);},attemptCmd=workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x201))['description'](a2_0x51b5f3(0x288))['argument'](a2_0x51b5f3(0x2f8),'Attempt\x20ID')[a2_0x51b5f3(0xf2)](a2_0x51b5f3(0x8c),a2_0x51b5f3(0x278))[a2_0x51b5f3(0xf2)]('[task-name]',a2_0x51b5f3(0x1b1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xec),a2_0x51b5f3(0x35b))[a2_0x51b5f3(0x2ab)]('--reason\x20<text>',a2_0x51b5f3(0x3c4))[a2_0x51b5f3(0x2ab)]('--resume-from\x20<task>',a2_0x51b5f3(0x164))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x113),a2_0x51b5f3(0x24c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe3),a2_0x51b5f3(0x1d3))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x8d),a2_0x51b5f3(0x1e4))[a2_0x51b5f3(0x198)](async(_0x3a4528,_0x5f3aa6,_0x1d17ad,_0x4f26ef)=>{const _0x7039af=a2_0x51b5f3;if(_0x3a4528===_0x7039af(0x173)){await wfAttemptListAction(_0x5f3aa6,_0x4f26ef);return;}if(!_0x3a4528){attemptCmd['help']();return;}const _0x3a031b=program[_0x7039af(0x3a8)](),_0x215f46=await createTDXInstance(_0x3a031b);let _0x1fc557=0x0;if(!_0x5f3aa6){const _0x43e772=new WorkflowAttemptCommand();_0x1fc557=await _0x43e772[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':[_0x3a4528],'tdx':_0x215f46});}else{if(_0x5f3aa6===_0x7039af(0x3dc)){const _0x59f46b=new WorkflowLogsCommand();_0x1fc557=await _0x59f46b[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':_0x1d17ad?[_0x3a4528,_0x1d17ad]:[_0x3a4528],'tdx':_0x215f46});}else{if(_0x5f3aa6===_0x7039af(0x189)){const _0x367907=new WorkflowTasksCommand();_0x1fc557=await _0x367907[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':[_0x3a4528],'tdx':_0x215f46});}else{if(_0x5f3aa6===_0x7039af(0x99)){const _0x409ed0=new WorkflowKillCommand();_0x1fc557=await _0x409ed0[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':[_0x3a4528],'tdx':_0x215f46});}else{if(_0x5f3aa6==='retry'){const _0x4f28f8=new WorkflowRetryCommand();_0x1fc557=await _0x4f28f8[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':[_0x7039af(0x380)+_0x3a4528],'tdx':_0x215f46});}else console[_0x7039af(0xf1)]('Unknown\x20action:\x20'+_0x5f3aa6),console[_0x7039af(0xf1)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x1fc557=0x1;}}}}gracefulExit(_0x1fc557);});attemptCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x76))['option']('--include-retried',a2_0x51b5f3(0x20f))[a2_0x51b5f3(0x198)](wfAttemptListAction),workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x17c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x8d),a2_0x51b5f3(0x20f))[a2_0x51b5f3(0x198)](wfAttemptListAction),workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x11c))['description'](a2_0x51b5f3(0x13d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x324),a2_0x51b5f3(0xba))[a2_0x51b5f3(0x2ab)]('--session-id\x20<id>',a2_0x51b5f3(0x194))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x239),a2_0x51b5f3(0x357))['action'](async(_0x1996ec,_0x19bc9c)=>{const _0x5b7e88=a2_0x51b5f3,_0x30f899=new WorkflowTimelineCommand(),_0x3c620b=program['opts'](),_0x15b15f=await createTDXInstance(_0x3c620b),_0x2ffdf7=await _0x30f899[_0x5b7e88(0x345)]({'options':{..._0x3c620b,..._0x19bc9c},'args':_0x1996ec?[_0x1996ec]:[],'tdx':_0x15b15f});gracefulExit(_0x2ffdf7);}),workflowCmd['command'](a2_0x51b5f3(0x1db))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3cf))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x292),a2_0x51b5f3(0x1c9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x113),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x51b5f3(0x198)](async(_0x464a6e,_0x5f372b)=>{const _0x13a0dd=a2_0x51b5f3,_0x5908e1=new WorkflowRetryCommand(),_0x2fa0cb=program['opts'](),_0x146aad=await createTDXInstance(_0x2fa0cb),_0x6bdb89=await _0x5908e1[_0x13a0dd(0x345)]({'options':{..._0x2fa0cb,..._0x5f372b},'args':[_0x464a6e],'tdx':_0x146aad});gracefulExit(_0x6bdb89);}),workflowCmd['command'](a2_0x51b5f3(0x2ca))['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x191),a2_0x51b5f3(0x12a),(_0x4e87a9,_0x527a73=[])=>[..._0x527a73,_0x4e87a9],[])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x178),a2_0x51b5f3(0xce))[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0xac))[a2_0x51b5f3(0x198)](async(_0x48a87e,_0x4d1e29)=>{const _0x2a95f5=a2_0x51b5f3,_0x12b877=new WorkflowRunCommand(),_0x1cb7f4=program[_0x2a95f5(0x3a8)](),_0xb0c767=await createTDXInstance(_0x1cb7f4),_0x3b3ef3=await _0x12b877[_0x2a95f5(0x345)]({'options':{..._0x1cb7f4,..._0x4d1e29},'args':_0x48a87e?[_0x48a87e]:[],'tdx':_0xb0c767});gracefulExit(_0x3b3ef3);}),workflowCmd['command'](a2_0x51b5f3(0x2ac))['description'](a2_0x51b5f3(0xd9))[a2_0x51b5f3(0x2ab)]('--revision\x20<revision>',a2_0x51b5f3(0x24d))[a2_0x51b5f3(0x198)](async(_0x45b736,_0x2309f7,_0xb2d04)=>{const _0x3f6425=a2_0x51b5f3,_0x2804c8=new WorkflowDownloadCommand(),_0x328d7e=program[_0x3f6425(0x3a8)](),_0x85f17f=await createTDXInstance(_0x328d7e),_0x13595d=await _0x2804c8[_0x3f6425(0x345)]({'options':{..._0x328d7e,..._0xb2d04},'args':[_0x45b736,_0x2309f7||'.'],'tdx':_0x85f17f});gracefulExit(_0x13595d);}),workflowCmd[a2_0x51b5f3(0x361)]('pull\x20<project>\x20[target-dir]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x18a))[a2_0x51b5f3(0x2ab)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0x363))[a2_0x51b5f3(0x198)](async(_0x2587ab,_0x791cf7,_0x2cc326)=>{const _0x53c191=a2_0x51b5f3,_0x521f07=new WorkflowPullCommand(),_0x4564b6=program[_0x53c191(0x3a8)](),_0xa56fb7=await createTDXInstance(_0x4564b6),_0xb0a0c7=await _0x521f07['run']({'options':{..._0x4564b6,..._0x2cc326},'args':_0x791cf7?[_0x2587ab,_0x791cf7]:[_0x2587ab],'tdx':_0xa56fb7});gracefulExit(_0xb0a0c7);}),workflowCmd['command'](a2_0x51b5f3(0x285))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x29c))['option'](a2_0x51b5f3(0x355),a2_0x51b5f3(0x377))['option'](a2_0x51b5f3(0x397),'Preview\x20changes\x20without\x20pushing')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x260),a2_0x51b5f3(0x378))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2a9),a2_0x51b5f3(0x39e))['action'](async(_0x23f050,_0x571049)=>{const _0x43b7c6=a2_0x51b5f3,_0x15ca14=new WorkflowPushCommand(),_0x377d03=program[_0x43b7c6(0x3a8)](),_0x2cc591=await createTDXInstance(_0x377d03),_0x11f189=await _0x15ca14['run']({'options':{..._0x377d03,..._0x571049},'args':_0x23f050?[_0x23f050]:[],'tdx':_0x2cc591});gracefulExit(_0x11f189);}),workflowCmd['command'](a2_0x51b5f3(0x3b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x31c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x8e))[a2_0x51b5f3(0x2ab)]('--revision\x20<revision>',a2_0x51b5f3(0x108))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x260),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x51b5f3(0x198)](async(_0x11fb31,_0x1b2e3a)=>{const _0x47184a=a2_0x51b5f3,_0x4f9227=new WorkflowUploadCommand(),_0x314681=program['opts'](),_0x199dfb=await createTDXInstance(_0x314681),_0x1f2f05=await _0x4f9227[_0x47184a(0x345)]({'options':{..._0x314681,..._0x1b2e3a},'args':_0x11fb31?[_0x11fb31]:[],'tdx':_0x199dfb});gracefulExit(_0x1f2f05);}),workflowCmd[a2_0x51b5f3(0x361)]('clone\x20[source-dir]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1e6))['option'](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x19f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x355),a2_0x51b5f3(0x377))[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0x354))[a2_0x51b5f3(0x2ab)]('--skip-validation',a2_0x51b5f3(0x378))[a2_0x51b5f3(0x198)](async(_0x5798a2,_0x16e31e)=>{const _0x1e2667=a2_0x51b5f3,_0x5c886e=new WorkflowCloneCommand(),_0x556159=program[_0x1e2667(0x3a8)](),_0x40c0de=await createTDXInstance(_0x556159),_0x5de3ea=await _0x5c886e[_0x1e2667(0x345)]({'options':{..._0x556159,..._0x16e31e},'args':_0x5798a2?[_0x5798a2]:[],'tdx':_0x40c0de});gracefulExit(_0x5de3ea);}),workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3bd))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x224))[a2_0x51b5f3(0x198)](async(_0x31f72e,_0x14c218)=>{const _0x26f56e=a2_0x51b5f3,_0x312ffc=new WorkflowDeleteCommand(),_0x560d7d=program[_0x26f56e(0x3a8)](),_0x31a71b=await createTDXInstance(_0x560d7d),_0x53895d=await _0x312ffc['run']({'options':{..._0x560d7d,..._0x14c218},'args':[_0x31f72e],'tdx':_0x31a71b});gracefulExit(_0x53895d);}),workflowCmd['command'](a2_0x51b5f3(0x3c1))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x241))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x275),a2_0x51b5f3(0x1e9))['action'](async(_0x264f6b,_0x4d4f09)=>{const _0x482632=a2_0x51b5f3,_0x1af95f=new WorkflowUseCommand(),_0x6d93f7=program[_0x482632(0x3a8)](),_0x919178=await createTDXInstance(_0x6d93f7),_0x214388=await _0x1af95f['run']({'options':{..._0x6d93f7,..._0x4d4f09},'args':_0x264f6b?[_0x264f6b]:[],'tdx':_0x919178});gracefulExit(_0x214388);});const wfSecretsCmd=workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x27d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1d9));wfSecretsCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7a))['description']('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x4ec4ef,_0x34ebb4)=>{const _0x5519e9=a2_0x51b5f3,_0x2f9dbe=new WorkflowSecretsListCommand(),_0x5a44a9=program[_0x5519e9(0x3a8)](),_0xb1ceb9=await createTDXInstance(_0x5a44a9),_0x246055=await _0x2f9dbe[_0x5519e9(0x345)]({'options':{..._0x5a44a9,..._0x34ebb4},'args':_0x4ec4ef?[_0x4ec4ef]:[],'tdx':_0xb1ceb9});gracefulExit(_0x246055);}),wfSecretsCmd[a2_0x51b5f3(0x361)]('set\x20<args...>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xf7))[a2_0x51b5f3(0x198)](async(_0x296f17,_0x5be74e)=>{const _0x47833b=a2_0x51b5f3,_0x99f7de=new WorkflowSecretsSetCommand(),_0x32d509=program[_0x47833b(0x3a8)](),_0x9898f8=await createTDXInstance(_0x32d509),_0x5bd78e=await _0x99f7de['run']({'options':{..._0x32d509,..._0x5be74e},'args':_0x296f17,'tdx':_0x9898f8});gracefulExit(_0x5bd78e);}),wfSecretsCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x213))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x10f))['action'](async(_0x3ddc2c,_0x316c80)=>{const _0x4b80a8=a2_0x51b5f3,_0x56f5cd=new WorkflowSecretsDeleteCommand(),_0x42ae2e=program['opts'](),_0x13f505=await createTDXInstance(_0x42ae2e),_0x551bf2=await _0x56f5cd[_0x4b80a8(0x345)]({'options':{..._0x42ae2e,..._0x316c80},'args':_0x3ddc2c,'tdx':_0x13f505});gracefulExit(_0x551bf2);});const wfScheduleCmd=workflowCmd[a2_0x51b5f3(0x361)]('schedule')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x306));wfScheduleCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3b5))[a2_0x51b5f3(0x334)]('Enable\x20a\x20disabled\x20workflow\x20schedule')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2a9),a2_0x51b5f3(0x39e))[a2_0x51b5f3(0x2ab)]('--next-time\x20<time>',a2_0x51b5f3(0x16d))[a2_0x51b5f3(0x198)](async(_0x529ebe,_0x2d2059)=>{const _0x4dcc1c=a2_0x51b5f3,_0x437b97=new WorkflowScheduleEnableCommand(),_0x506153=program['opts'](),_0x487cc3=await createTDXInstance(_0x506153),_0x3c79c1=await _0x437b97[_0x4dcc1c(0x345)]({'options':{..._0x506153,..._0x2d2059},'args':[_0x529ebe],'tdx':_0x487cc3});gracefulExit(_0x3c79c1);}),wfScheduleCmd['command']('disable\x20<id>')['description'](a2_0x51b5f3(0x336))[a2_0x51b5f3(0x198)](async(_0x4afdaf,_0xc7b4b4)=>{const _0x1dd1d0=a2_0x51b5f3,_0x194976=new WorkflowScheduleDisableCommand(),_0x2fed94=program[_0x1dd1d0(0x3a8)](),_0x195889=await createTDXInstance(_0x2fed94),_0x92001=await _0x194976[_0x1dd1d0(0x345)]({'options':{..._0x2fed94,..._0xc7b4b4},'args':[_0x4afdaf],'tdx':_0x195889});gracefulExit(_0x92001);});const wfSchedulesListAction=async(_0x361bce,_0x5f5a78)=>{const _0x280366=a2_0x51b5f3,_0x44898e=new WorkflowSchedulesCommand(),_0x29167d=program['opts'](),_0x5a1419=await createTDXInstance(_0x29167d),_0x235fa5=await _0x44898e[_0x280366(0x345)]({'options':{..._0x29167d,..._0x5f5a78},'args':_0x361bce?[_0x361bce]:[],'tdx':_0x5a1419});gracefulExit(_0x235fa5);};wfScheduleCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x350))['description']('List\x20workflow\x20schedules\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option'](a2_0x51b5f3(0x23f),'Show\x20a\x20single\x20schedule\x20by\x20its\x20ID')[a2_0x51b5f3(0x198)](wfSchedulesListAction),workflowCmd['command']('schedules\x20[project.workflow]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x356))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x23f),a2_0x51b5f3(0x1c7))[a2_0x51b5f3(0x198)](wfSchedulesListAction);const jobCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xc6))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x110)),jobListAction=async _0x44be61=>{const _0xae5a07=a2_0x51b5f3,_0x44289d=new JobListCommand(),_0x3a2fa4=program[_0xae5a07(0x3a8)](),_0x4a3a8d=await createTDXInstance(_0x3a2fa4),_0x44b48a=await _0x44289d[_0xae5a07(0x345)]({'options':{..._0x3a2fa4,..._0x44be61},'args':[],'tdx':_0x4a3a8d});gracefulExit(_0x44b48a);};jobCmd[a2_0x51b5f3(0x361)]('list')[a2_0x51b5f3(0x334)]('List\x20jobs')['option'](a2_0x51b5f3(0x26b),a2_0x51b5f3(0x107))['action'](jobListAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x235),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xb0))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x26b),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x51b5f3(0x198)](jobListAction),jobCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x163))['description']('Show\x20job\x20details')[a2_0x51b5f3(0x198)](async(_0x3fadd4,_0x334a28)=>{const _0x1030a3=a2_0x51b5f3,_0x282680=new JobShowCommand(),_0x57aa0a=program[_0x1030a3(0x3a8)](),_0x4f28bb=await createTDXInstance(_0x57aa0a),_0x459999=await _0x282680[_0x1030a3(0x345)]({'options':{..._0x57aa0a,..._0x334a28},'args':[_0x3fadd4],'tdx':_0x4f28bb});gracefulExit(_0x459999);}),jobCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2ea))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x257))[a2_0x51b5f3(0x198)](async(_0x3c0d7f,_0x5d4e4c)=>{const _0x2dea0f=a2_0x51b5f3,_0x4b94cb=new JobKillCommand(),_0xa4c206=program[_0x2dea0f(0x3a8)](),_0x23232d=await createTDXInstance(_0xa4c206),_0x4f8698=await _0x4b94cb[_0x2dea0f(0x345)]({'options':{..._0xa4c206,..._0x5d4e4c},'args':[_0x3c0d7f],'tdx':_0x23232d});gracefulExit(_0x4f8698);}),jobCmd['command'](a2_0x51b5f3(0x2d6))['description'](a2_0x51b5f3(0xe1))[a2_0x51b5f3(0x2ab)]('--job-type\x20<type>',a2_0x51b5f3(0x138),a2_0x51b5f3(0x165))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x371),'Read\x20query\x20from\x20file')['option']('--database\x20<name>',a2_0x51b5f3(0x1a4),'information_schema')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x23b),a2_0x51b5f3(0x25b))['action'](async(_0x19faa8,_0x2d5d1e)=>{const _0x2f950c=a2_0x51b5f3,_0x5e9f18=new JobSubmitCommand(),_0x4b0a89=program[_0x2f950c(0x3a8)](),_0x235c47=await createTDXInstance(_0x4b0a89),_0x46db72=await _0x5e9f18[_0x2f950c(0x345)]({'options':{..._0x4b0a89,..._0x2d5d1e},'args':_0x19faa8?[_0x19faa8]:[],'tdx':_0x235c47});gracefulExit(_0x46db72);}),jobCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xc2))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xf3))[a2_0x51b5f3(0x198)](async(_0x35360f,_0x26b21f)=>{const _0x1b2f56=a2_0x51b5f3,_0xbf61e4=new JobResultCommand(),_0x39f6db=program[_0x1b2f56(0x3a8)](),_0x1a2a12=await createTDXInstance(_0x39f6db),_0x397a1a=await _0xbf61e4[_0x1b2f56(0x345)]({'options':{..._0x39f6db,..._0x26b21f},'args':[_0x35360f],'tdx':_0x1a2a12});gracefulExit(_0x397a1a);});const scheduleCmd=jobCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x271))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x14b));scheduleCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))['description'](a2_0x51b5f3(0x31f))[a2_0x51b5f3(0x198)](async(_0x5df9a2,_0x535429)=>{const _0x348a1f=a2_0x51b5f3,_0x2ef073=new ScheduleListCommand(),_0x34a546=program['opts'](),_0x1d6ac6=await createTDXInstance(_0x34a546),_0x48951f=await _0x2ef073[_0x348a1f(0x345)]({'options':{..._0x34a546,..._0x535429},'args':_0x5df9a2?[_0x5df9a2]:[],'tdx':_0x1d6ac6});gracefulExit(_0x48951f);}),scheduleCmd['command'](a2_0x51b5f3(0x223))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x329))[a2_0x51b5f3(0x198)](async(_0xcacd66,_0x1c4acc)=>{const _0x1f2d12=a2_0x51b5f3,_0x39994c=new ScheduleShowCommand(),_0x290500=program['opts'](),_0x57cf58=await createTDXInstance(_0x290500),_0x391fae=await _0x39994c[_0x1f2d12(0x345)]({'options':{..._0x290500,..._0x1c4acc},'args':[_0xcacd66],'tdx':_0x57cf58});gracefulExit(_0x391fae);}),scheduleCmd['command'](a2_0x51b5f3(0x181))['description'](a2_0x51b5f3(0x279))['option']('-d,\x20--database\x20<db>',a2_0x51b5f3(0x2b0))['option'](a2_0x51b5f3(0x3d8),a2_0x51b5f3(0xfe))['requiredOption'](a2_0x51b5f3(0x371),a2_0x51b5f3(0x362))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),'Query\x20type:\x20trino\x20or\x20hive','trino')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x115),a2_0x51b5f3(0x3a4))['option']('--timezone\x20<tz>',a2_0x51b5f3(0x1ad))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x317),a2_0x51b5f3(0x353))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x15c),a2_0x51b5f3(0x262))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x197),a2_0x51b5f3(0x1f6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3d7),a2_0x51b5f3(0x2c1))[a2_0x51b5f3(0x2ab)]('--result\x20<url>','Result\x20output\x20destination\x20URL')[a2_0x51b5f3(0x198)](async(_0x110270,_0x32d3b7)=>{const _0x17d495=a2_0x51b5f3,_0x53f3e6=new ScheduleCreateCommand(),_0x483fa6=program['opts'](),_0x47dd78=await createTDXInstance(_0x483fa6);_0x32d3b7['in']&&(_0x32d3b7[_0x17d495(0x14c)]=_0x32d3b7['in']);const _0x4025a1=await _0x53f3e6[_0x17d495(0x345)]({'options':{..._0x483fa6,..._0x32d3b7},'args':[_0x110270],'tdx':_0x47dd78});gracefulExit(_0x4025a1);}),scheduleCmd['command'](a2_0x51b5f3(0x3aa))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x312))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x27b),a2_0x51b5f3(0xb7))[a2_0x51b5f3(0x2ab)]('--in\x20<db>',a2_0x51b5f3(0xfe))['option']('-f,\x20--file\x20<path>',a2_0x51b5f3(0x362))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),a2_0x51b5f3(0x130))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x115),a2_0x51b5f3(0x3a4))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x38b),a2_0x51b5f3(0x220))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x317),a2_0x51b5f3(0x353))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x15c),a2_0x51b5f3(0x262))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x197),a2_0x51b5f3(0x1f6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3d7),a2_0x51b5f3(0x2c1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe8),a2_0x51b5f3(0x217))[a2_0x51b5f3(0x198)](async(_0x174075,_0x499fa1)=>{const _0xb15e08=a2_0x51b5f3,_0x145b12=new ScheduleUpdateCommand(),_0x3e61ee=program['opts'](),_0x45ecd8=await createTDXInstance(_0x3e61ee);_0x499fa1['in']&&(_0x499fa1[_0xb15e08(0x14c)]=_0x499fa1['in']);const _0x5f004c=await _0x145b12[_0xb15e08(0x345)]({'options':{..._0x3e61ee,..._0x499fa1},'args':[_0x174075],'tdx':_0x45ecd8});gracefulExit(_0x5f004c);}),scheduleCmd[a2_0x51b5f3(0x361)]('delete\x20<name>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2d8))['action'](async(_0x77dd91,_0x471611)=>{const _0x4f92ec=a2_0x51b5f3,_0x33bb3d=new ScheduleDeleteCommand(),_0x108507=program[_0x4f92ec(0x3a8)](),_0x1b8eeb=await createTDXInstance(_0x108507),_0x1e5638=await _0x33bb3d['run']({'options':{..._0x108507,..._0x471611},'args':[_0x77dd91],'tdx':_0x1b8eeb});gracefulExit(_0x1e5638);}),scheduleCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1c0))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x12c))[a2_0x51b5f3(0x2ab)]('--time\x20<iso8601>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')['option'](a2_0x51b5f3(0x316),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x51b5f3(0x198)](async(_0x582a11,_0xeeb093)=>{const _0xb09b71=a2_0x51b5f3,_0x5d8454=new ScheduleRunCommand(),_0x5d83d2=program['opts'](),_0x31add1=await createTDXInstance(_0x5d83d2),_0x2a8b71=await _0x5d8454[_0xb09b71(0x345)]({'options':{..._0x5d83d2,..._0xeeb093},'args':[_0x582a11],'tdx':_0x31add1});gracefulExit(_0x2a8b71);}),scheduleCmd['command'](a2_0x51b5f3(0xca))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xe7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe9),a2_0x51b5f3(0x27a))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc1),a2_0x51b5f3(0x14f))[a2_0x51b5f3(0x198)](async(_0x152bde,_0x4ca6b6)=>{const _0x3e7cdd=a2_0x51b5f3,_0x4bc4ee=new ScheduleHistoryCommand(),_0xf67f32=program[_0x3e7cdd(0x3a8)](),_0x4352a2=await createTDXInstance(_0xf67f32),_0x5d416=await _0x4bc4ee['run']({'options':{..._0xf67f32,..._0x4ca6b6},'args':[_0x152bde],'tdx':_0x4352a2});gracefulExit(_0x5d416);});const llmCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x187))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2c2));llmCmd[a2_0x51b5f3(0x361)]('use\x20<project-name>')[a2_0x51b5f3(0x334)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x51b5f3(0x198)](async(_0x2f6c3d,_0x346618)=>{const _0x49e1a5=a2_0x51b5f3,_0x1e1db7=new LLMUseCommand(),_0x42192a=program['opts'](),_0x14b6fd=await createTDXInstance(_0x42192a),_0x14037f=await _0x1e1db7[_0x49e1a5(0x345)]({'options':{..._0x42192a,..._0x346618},'args':[_0x2f6c3d],'tdx':_0x14b6fd});gracefulExit(_0x14037f);}),llmCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x12d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x13a))[a2_0x51b5f3(0x198)](async _0x2668e0=>{const _0x3ac5ed=a2_0x51b5f3,_0x2a57db=new LLMModelsCommand(),_0x533cad=program[_0x3ac5ed(0x3a8)](),_0x507fec=await createTDXInstance(_0x533cad),_0x4dfe9b=await _0x2a57db[_0x3ac5ed(0x345)]({'options':{..._0x533cad,..._0x2668e0},'args':[],'tdx':_0x507fec});gracefulExit(_0x4dfe9b);});const projectCmd=llmCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3bf))[a2_0x51b5f3(0x334)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x58bd84,_0x46501a)=>{const _0x4475ad=a2_0x51b5f3,_0x3139e7=new LLMProjectsCommand(),_0x4fa389=program[_0x4475ad(0x3a8)](),_0x230a54=await createTDXInstance(_0x4fa389),_0x815f47=await _0x3139e7[_0x4475ad(0x345)]({'options':{..._0x4fa389,..._0x46501a},'args':_0x58bd84?[_0x58bd84]:[],'tdx':_0x230a54});gracefulExit(_0x815f47);};projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))['description'](a2_0x51b5f3(0x93))[a2_0x51b5f3(0x198)](llmProjectListAction),llmCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x33a))['description'](a2_0x51b5f3(0x2f5))['action'](llmProjectListAction),projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x181))['description'](a2_0x51b5f3(0x320))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),'Project\x20description')['action'](async(_0xdafb51,_0x2beb5e)=>{const _0x224046=a2_0x51b5f3,_0x4606f7=new LLMProjectCreateCommand(),_0x48c182=program[_0x224046(0x3a8)](),_0xa57b66=await createTDXInstance(_0x48c182),_0x4cdede=await _0x4606f7[_0x224046(0x345)]({'options':{..._0x48c182,..._0x2beb5e},'args':[_0xdafb51],'tdx':_0xa57b66});gracefulExit(_0x4cdede);}),projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x315))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x22d))[a2_0x51b5f3(0x198)](async(_0x1e5a8c,_0x37faec)=>{const _0x3570b7=a2_0x51b5f3,_0x31dc58=new LLMProjectDeleteCommand(),_0x4b89df=program[_0x3570b7(0x3a8)](),_0x31ce1a=await createTDXInstance(_0x4b89df),_0xbbecb2=await _0x31dc58[_0x3570b7(0x345)]({'options':{..._0x4b89df,..._0x37faec},'args':[_0x1e5a8c],'tdx':_0x31ce1a});gracefulExit(_0xbbecb2);}),projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2d0))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x73))['option'](a2_0x51b5f3(0x248),a2_0x51b5f3(0x30c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x7b))[a2_0x51b5f3(0x198)](async(_0x26dffa,_0x496bcc)=>{const _0x5bb5ce=a2_0x51b5f3,_0x2e5202=new LLMProjectBackupCommand(),_0x2c1a74=program['opts'](),_0x572dee=await createTDXInstance(_0x2c1a74),_0x16cdfc=await _0x2e5202[_0x5bb5ce(0x345)]({'options':{..._0x2c1a74,..._0x496bcc},'args':[_0x26dffa],'tdx':_0x572dee});gracefulExit(_0x16cdfc);}),projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x34e))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x364))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1a3),a2_0x51b5f3(0x2b9))['option'](a2_0x51b5f3(0x397),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x51b5f3(0x198)](async(_0x32a659,_0x17f4b1)=>{const _0x432c03=a2_0x51b5f3,_0x1a35e4=new LLMProjectRestoreCommand(),_0x4396e0=program[_0x432c03(0x3a8)](),_0x157ed5=await createTDXInstance(_0x4396e0),_0x5d423e=await _0x1a35e4[_0x432c03(0x345)]({'options':{..._0x4396e0,..._0x17f4b1},'args':[_0x32a659],'tdx':_0x157ed5});gracefulExit(_0x5d423e);});const llmAgentListAction=async(_0x1ff1f6,_0x399b6e)=>{const _0x24bdb8=a2_0x51b5f3,_0x2b8698=new LLMAgentsCommand(),_0x5bd1d6=program[_0x24bdb8(0x3a8)](),_0x269fb1=await createTDXInstance(_0x5bd1d6),_0x279eb1=await _0x2b8698['run']({'options':{..._0x5bd1d6,..._0x399b6e},'args':_0x1ff1f6?[_0x1ff1f6]:[],'tdx':_0x269fb1});gracefulExit(_0x279eb1);};llmCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xc4))['description'](a2_0x51b5f3(0x216))['action'](llmAgentListAction),program['command'](a2_0x51b5f3(0xc4))['description']('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x51b5f3(0x198)](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')[a2_0x51b5f3(0x334)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x51b5f3(0x2ab)]('--last',a2_0x51b5f3(0x2a2))[a2_0x51b5f3(0x198)](async(_0x312dd2,_0x12efc2)=>{const _0x5e840c=a2_0x51b5f3,_0x4f0afe=new LLMHistoryCommand(),_0x2d70d1=program[_0x5e840c(0x3a8)](),_0x5e519c=await createTDXInstance(_0x2d70d1),_0x29fc08=await _0x4f0afe[_0x5e840c(0x345)]({'options':{..._0x2d70d1,..._0x12efc2},'args':_0x312dd2?[_0x312dd2]:[],'tdx':_0x5e519c});gracefulExit(_0x29fc08);});isExperimentalAvailable()&&llmCmd['command']('log\x20<chat-id>')[a2_0x51b5f3(0x334)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x51b5f3(0x198)](async(_0x5347cd,_0x348890)=>{const _0x5863a0=a2_0x51b5f3,_0x406641=new LLMLogCommand(),_0x762fba=program['opts'](),_0x3750f9=await createTDXInstance(_0x762fba),_0x260042=await _0x406641[_0x5863a0(0x345)]({'options':{..._0x762fba,..._0x348890},'args':[_0x5347cd],'tdx':_0x3750f9});gracefulExit(_0x260042);});program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x17b))[a2_0x51b5f3(0x281)](a2_0x51b5f3(0x3b9))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x20c))['option'](a2_0x51b5f3(0x2e5),a2_0x51b5f3(0x1e2))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3c9),a2_0x51b5f3(0x3d2))[a2_0x51b5f3(0x2ab)]('--no-proxy','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')['option'](a2_0x51b5f3(0x199),a2_0x51b5f3(0x2bb))[a2_0x51b5f3(0x2f4)]()[a2_0x51b5f3(0xbb)](!![])[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0xdc))[a2_0x51b5f3(0x198)](async(_0x473770,_0x216c59)=>{const _0x84e20b=a2_0x51b5f3,_0x2444d3=program['opts'](),_0x4831f8=Array[_0x84e20b(0xc5)](_0x473770)?_0x473770:[];if(_0x4831f8[0x0]===_0x84e20b(0x193)){const _0x485843=new ClaudeStatuslineCommand(),_0x377894=await _0x485843['run']({'options':{..._0x2444d3,..._0x216c59},'args':_0x4831f8[_0x84e20b(0x376)](0x1),'tdx':null});gracefulExit(_0x377894);}if(_0x4831f8[0x0]==='usage'){const _0x2498ba=new ClaudeUsageCommand(),_0x220957=await _0x2498ba['run']({'options':{..._0x2444d3,..._0x216c59},'args':_0x4831f8[_0x84e20b(0x376)](0x1),'tdx':null});gracefulExit(_0x220957);}const _0x49e777=new ClaudeCommand(),_0x12d569=await createTDXInstance(_0x2444d3),_0x5e695d=await _0x49e777[_0x84e20b(0x345)]({'options':{..._0x2444d3,..._0x216c59},'args':_0x4831f8,'tdx':_0x12d569});gracefulExit(_0x5e695d);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xd8))[a2_0x51b5f3(0x281)](a2_0x51b5f3(0x31a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2a8))[a2_0x51b5f3(0x2f4)]()[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x1de))[a2_0x51b5f3(0x198)](async(_0xa9508,_0x28e89d)=>{const _0x35c07e=a2_0x51b5f3,_0x28d602=program[_0x35c07e(0x3a8)](),_0x232a2b=Array[_0x35c07e(0xc5)](_0xa9508)?_0xa9508:[],_0xe3163c=new CodexCommand(),_0x2e8c44=await createTDXInstance(_0x28d602),_0x47bbee=await _0xe3163c[_0x35c07e(0x345)]({'options':{..._0x28d602,..._0x28e89d},'args':_0x232a2b,'tdx':_0x2e8c44});gracefulExit(_0x47bbee);}),program['command']('use\x20[resource]\x20[value]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x25e))[a2_0x51b5f3(0x2ab)]('--clear',a2_0x51b5f3(0x2e4))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x174),a2_0x51b5f3(0x2b3))['action'](async(_0x537dec,_0x1a1a87,_0x4dcd5f)=>{const _0x34d3e2=a2_0x51b5f3,_0x49d1e8=new UseCommand(),_0x36786a=program['opts'](),_0x2512d8=[];if(_0x537dec)_0x2512d8[_0x34d3e2(0x1a6)](_0x537dec);if(_0x1a1a87)_0x2512d8[_0x34d3e2(0x1a6)](_0x1a1a87);const _0x392581=_0x537dec===_0x34d3e2(0x19b),_0x215f76=_0x392581?await createTDXInstance(_0x36786a):null,_0x2b0645=await _0x49d1e8[_0x34d3e2(0x345)]({'options':{..._0x36786a,..._0x4dcd5f},'args':_0x2512d8,'tdx':_0x215f76});gracefulExit(_0x2b0645);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xaa))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x37f))[a2_0x51b5f3(0x198)](async _0x429e10=>{const _0x5ca204=a2_0x51b5f3,_0x4e65c2=new StatusCommand(),_0x49b7d6=program['opts'](),_0x4f5040={..._0x49b7d6},_0xe07896=await createTDXInstance(_0x49b7d6,{'skipSiteMismatchCheck':!![]}),_0x50946c=await _0x4e65c2[_0x5ca204(0x345)]({'options':{..._0x4f5040,..._0x429e10},'args':[],'tdx':_0xe07896});gracefulExit(_0x50946c);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2e2))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xf4))['option'](a2_0x51b5f3(0x397),a2_0x51b5f3(0x142))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3b2),'Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x94),a2_0x51b5f3(0x200))['action'](async(_0x1d643e,_0x175270)=>{const _0x502347=a2_0x51b5f3,_0x47840c=new UpgradeCommand(),_0xe0fb92=program[_0x502347(0x3a8)](),_0x390d82=await _0x47840c[_0x502347(0x345)]({'options':{..._0xe0fb92,..._0x175270},'args':_0x1d643e?[_0x1d643e]:[],'tdx':null});gracefulExit(_0x390d82);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x28d))['description']('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x174),a2_0x51b5f3(0x15d))[a2_0x51b5f3(0x198)](async(_0x307962,_0x235261)=>{const _0x2cefb5=a2_0x51b5f3,_0x40f5bc=new UnsetCommand(),_0x547741=program[_0x2cefb5(0x3a8)](),_0x46d486=await _0x40f5bc[_0x2cefb5(0x345)]({'options':{..._0x547741,..._0x235261},'args':[_0x307962],'tdx':null});gracefulExit(_0x46d486);}),program['command'](a2_0x51b5f3(0x305))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x381))['option'](a2_0x51b5f3(0x310),a2_0x51b5f3(0x253))[a2_0x51b5f3(0x198)](async _0x284157=>{const _0x579405=a2_0x51b5f3,_0x31f907=new ChatsCommand(),_0x1fd9a4=program[_0x579405(0x3a8)](),_0x128416=await createTDXInstance(_0x1fd9a4),_0x3d6569=await _0x31f907[_0x579405(0x345)]({'options':{..._0x1fd9a4,..._0x284157},'args':[],'tdx':_0x128416});gracefulExit(_0x3d6569);});const authCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x348))[a2_0x51b5f3(0x334)]('Authentication\x20management');async function runAuthStatusCommand(_0xdd8012){const _0x3ed4ca=a2_0x51b5f3,_0xf74d9d=new AuthStatusCommand(),_0x3a80ff=program[_0x3ed4ca(0x3a8)](),_0x4826fe=await createTDXInstance(_0x3a80ff,{'skipSiteMismatchCheck':!![]}),_0x2d8bf5=await _0xf74d9d['run']({'options':{..._0x3a80ff,..._0xdd8012},'args':[],'tdx':_0x4826fe});gracefulExit(_0x2d8bf5);}authCmd[a2_0x51b5f3(0x198)](runAuthStatusCommand),authCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xaa))[a2_0x51b5f3(0x334)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x51b5f3(0x198)](runAuthStatusCommand);async function authSetupAction(_0x498724){const _0x14124e=a2_0x51b5f3,_0x501b38=new AuthSetupCommand(),_0x486c8e=program[_0x14124e(0x3a8)](),_0xb13f21=await createTDXInstance(_0x486c8e,{'skipSiteMismatchCheck':!![]}),_0x3380a0=await _0x501b38['run']({'options':{..._0x486c8e,..._0x498724},'args':[],'tdx':_0xb13f21});gracefulExit(_0x3380a0);}authCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x301))['description'](a2_0x51b5f3(0x13f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2c4),a2_0x51b5f3(0x78))[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x25d))['action'](authSetupAction),authCmd[a2_0x51b5f3(0x361)]('login',{'hidden':!![]})[a2_0x51b5f3(0x2ab)]('--account-name\x20<name>',a2_0x51b5f3(0x78))['action'](authSetupAction),authCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x251))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xaf))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1f8),a2_0x51b5f3(0x32a))[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0xa6))['action'](async _0x1fcd94=>{const _0x5571e1=a2_0x51b5f3,_0x545660=new AuthTokenCommand(),_0x468e11=mergeCommandOptions(program['opts'](),_0x1fcd94),_0x2ad5ec=await createTDXInstance(_0x468e11),_0x384c2e=await _0x545660[_0x5571e1(0x345)]({'options':_0x468e11,'args':[],'tdx':_0x2ad5ec});gracefulExit(_0x384c2e);}),authCmd['command']('clear')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x77))['addHelpText'](a2_0x51b5f3(0x169),'\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')[a2_0x51b5f3(0x198)](async _0x396fb0=>{const _0xb88be1=a2_0x51b5f3,_0x218f83=new AuthClearCommand(),_0x12c844=program[_0xb88be1(0x3a8)](),_0x1332d2=await _0x218f83[_0xb88be1(0x345)]({'options':{..._0x12c844,..._0x396fb0},'args':[],'tdx':null});gracefulExit(_0x1332d2);});const userCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x326))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x250)),userListAction=async _0x43a6a4=>{const _0x29b7a3=a2_0x51b5f3,_0x48ec3b=new UserListCommand(),_0x5263a6=program[_0x29b7a3(0x3a8)](),_0x1625d6=await createTDXInstance(_0x5263a6),_0x4112a8=await _0x48ec3b[_0x29b7a3(0x345)]({'options':{..._0x5263a6,..._0x43a6a4},'args':[],'tdx':_0x1625d6});gracefulExit(_0x4112a8);};userCmd[a2_0x51b5f3(0x198)](async _0x4ae9bc=>{const _0x9f0254=a2_0x51b5f3,_0x80322f=new UserCommand(),_0x387899=program[_0x9f0254(0x3a8)](),_0x3d6108=await createTDXInstance(_0x387899),_0x5849f1=await _0x80322f['run']({'options':{..._0x387899,..._0x4ae9bc},'args':[],'tdx':_0x3d6108});gracefulExit(_0x5849f1);}),userCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x173))['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0x51b5f3(0x198)](userListAction),program['command'](a2_0x51b5f3(0x177))['description']('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')['action'](userListAction);const policyCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x118))['description'](a2_0x51b5f3(0x393));policyCmd[a2_0x51b5f3(0x198)](async _0x651ada=>{const _0x1dd673=a2_0x51b5f3,_0x1353d6=new PolicyCommand(),_0x133706=program[_0x1dd673(0x3a8)](),_0x19a9e7=await createTDXInstance(_0x133706),_0x35ba93=await _0x1353d6[_0x1dd673(0x345)]({'options':{..._0x133706,..._0x651ada},'args':[],'tdx':_0x19a9e7});gracefulExit(_0x35ba93);}),policyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x173))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x273))[a2_0x51b5f3(0x198)](async _0x2a7c25=>{const _0x50b004=a2_0x51b5f3,_0x2426cd=new PolicyListCommand(),_0xa36a76=program[_0x50b004(0x3a8)](),_0x209467=await createTDXInstance(_0xa36a76),_0x3a4854=await _0x2426cd[_0x50b004(0x345)]({'options':{..._0xa36a76,..._0x2a7c25},'args':[],'tdx':_0x209467});gracefulExit(_0x3a4854);}),policyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x25c))[a2_0x51b5f3(0x334)]('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0x51b5f3(0x198)](async(_0x2f74a8,_0x24e1bc)=>{const _0x374a7d=a2_0x51b5f3,_0x18625d=new PolicyShowCommand(),_0x5602a4=program[_0x374a7d(0x3a8)](),_0x35b48b=await createTDXInstance(_0x5602a4),_0x2e183d=await _0x18625d['run']({'options':{..._0x5602a4,..._0x24e1bc},'args':[_0x2f74a8],'tdx':_0x35b48b});gracefulExit(_0x2e183d);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x385))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x20e))['action'](async _0x5e77cb=>{const _0x1218f2=new ProfilesCommand(),_0x47c1bb=program['opts'](),_0x5a51aa=await _0x1218f2['run']({'options':{..._0x47c1bb,..._0x5e77cb},'args':[],'tdx':null});gracefulExit(_0x5a51aa);});const profileCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x352))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x121));profileCmd[a2_0x51b5f3(0x198)](()=>{const _0x5737c9=a2_0x51b5f3;profileCmd[_0x5737c9(0x80)]();});const profileListAction=async _0x3187b7=>{const _0x4c425b=a2_0x51b5f3,_0x4cb291=new ProfilesCommand(),_0x1084e2=program[_0x4c425b(0x3a8)](),_0x2629a4=await _0x4cb291[_0x4c425b(0x345)]({'options':{..._0x1084e2,..._0x3187b7},'args':[],'tdx':null});gracefulExit(_0x2629a4);};profileCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x173))[a2_0x51b5f3(0x334)]('List\x20all\x20available\x20profiles')[a2_0x51b5f3(0x198)](profileListAction),profileCmd['command'](a2_0x51b5f3(0x32e))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x37a))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2c4),a2_0x51b5f3(0x78))['option'](a2_0x51b5f3(0x1e5),a2_0x51b5f3(0x35d))[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x11a))[a2_0x51b5f3(0x198)](async(_0x4cf5d7,_0x2b80a2)=>{const _0x4c4df1=a2_0x51b5f3,_0x203ea5=new ProfileCreateCommand(),_0xbe9f3=program['opts'](),_0x412571=await _0x203ea5[_0x4c4df1(0x345)]({'options':{..._0xbe9f3,..._0x2b80a2},'args':_0x4cf5d7?[_0x4cf5d7]:[],'tdx':null});gracefulExit(_0x412571);});async function profileDeleteAction(_0x3d724d,_0x1154a0){const _0x1ed895=a2_0x51b5f3,_0x4774a3=new ProfileDeleteCommand(),_0x29d9d4=program[_0x1ed895(0x3a8)](),_0x21e1d8=await _0x4774a3['run']({'options':{..._0x29d9d4,..._0x1154a0},'args':[_0x3d724d],'tdx':null});gracefulExit(_0x21e1d8);}profileCmd['command'](a2_0x51b5f3(0x315))[a2_0x51b5f3(0x334)]('Delete\x20a\x20profile')[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x39d))[a2_0x51b5f3(0x198)](profileDeleteAction),profileCmd[a2_0x51b5f3(0x361)]('remove\x20<name>',{'hidden':!![]})[a2_0x51b5f3(0x198)](profileDeleteAction),profileCmd['command'](a2_0x51b5f3(0x137))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2cf))[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x2bc))[a2_0x51b5f3(0x198)](async(_0x5c4dd6,_0x14e656)=>{const _0x82b25b=a2_0x51b5f3,_0x367459=new ProfileSetCommand(),_0x4a8b6b=program[_0x82b25b(0x3a8)](),_0x7d5ff1=await _0x367459[_0x82b25b(0x345)]({'options':{..._0x4a8b6b,..._0x14e656},'args':[_0x5c4dd6],'tdx':null});gracefulExit(_0x7d5ff1);}),profileCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x37d))[a2_0x51b5f3(0x334)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')['option'](a2_0x51b5f3(0x174),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['addHelpText'](a2_0x51b5f3(0x169),a2_0x51b5f3(0x31e))[a2_0x51b5f3(0x198)](async(_0x1eab7b,_0x17fd7d)=>{const _0x5b8fa5=a2_0x51b5f3,_0x29fc91=new ProfileUseCommand(),_0x237f7b=program[_0x5b8fa5(0x3a8)](),_0x3d4e3c=await _0x29fc91[_0x5b8fa5(0x345)]({'options':{..._0x237f7b,..._0x17fd7d},'args':[_0x1eab7b],'tdx':null});gracefulExit(_0x3d4e3c);});const engageCmd=program['command'](a2_0x51b5f3(0x184))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x204)),createEngageAction=_0x3b9713=>{return async(_0x1bfe48,_0x43d8ae)=>{const _0x38def5=a2_0x48b5,_0x4d8753=new _0x3b9713(),_0xb4f22a=program['opts'](),_0xa0faf2=await createTDXInstance(_0xb4f22a),_0x2881e2=await _0x4d8753[_0x38def5(0x345)]({'options':{..._0xb4f22a,..._0x43d8ae},'args':[_0x1bfe48],'tdx':_0xa0faf2});gracefulExit(_0x2881e2);};},createEngageNoArgAction=_0x489da4=>{return async _0x4bc6c0=>{const _0x338e82=a2_0x48b5,_0x1770eb=new _0x489da4(),_0x3347db=program[_0x338e82(0x3a8)](),_0x841dac=await createTDXInstance(_0x3347db),_0x5a6020=await _0x1770eb[_0x338e82(0x345)]({'options':{..._0x3347db,..._0x4bc6c0},'args':[],'tdx':_0x841dac});gracefulExit(_0x5a6020);};},createEngageListAction=_0x182b36=>{return async(_0x49aaf3,_0x59b219)=>{const _0x411af7=a2_0x48b5,_0xd945f5=new _0x182b36(),_0x291c6b=program[_0x411af7(0x3a8)](),_0x5e2e70=await createTDXInstance(_0x291c6b),_0x28e6b7=await _0xd945f5['run']({'options':{..._0x291c6b,..._0x59b219},'args':_0x49aaf3?[_0x49aaf3]:[],'tdx':_0x5e2e70});gracefulExit(_0x28e6b7);};},campaignCmd=engageCmd['command']('campaign')[a2_0x51b5f3(0x334)]('Campaign\x20management');campaignCmd['command'](a2_0x51b5f3(0x1b3))['description'](a2_0x51b5f3(0xcd))['option'](a2_0x51b5f3(0x244),a2_0x51b5f3(0xf6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x26b),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x51b5f3(0x122))['description'](a2_0x51b5f3(0x392))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x51b5f3(0x2ab)]('--status\x20<status>',a2_0x51b5f3(0x8f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x198)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x51b5f3(0x361)]('show\x20<name-or-id>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3af))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))['option']('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x374))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1f9))['requiredOption'](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x322))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x244),a2_0x51b5f3(0xd6))[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>',a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x144),a2_0x51b5f3(0x20a))['option'](a2_0x51b5f3(0x258),a2_0x51b5f3(0x3a1))['option'](a2_0x51b5f3(0x34d),a2_0x51b5f3(0x151))[a2_0x51b5f3(0x2ab)]('--json-columns\x20<cols>',a2_0x51b5f3(0x210))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x17f),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x38b),a2_0x51b5f3(0x128))[a2_0x51b5f3(0x198)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a7))[a2_0x51b5f3(0x334)]('Update\x20a\x20campaign')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')['option'](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x117))[a2_0x51b5f3(0x2ab)]('--description\x20<desc>',a2_0x51b5f3(0x20a))['option'](a2_0x51b5f3(0x258),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x34d),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2b5),a2_0x51b5f3(0x210))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x17f),a2_0x51b5f3(0x399))['option']('--timezone\x20<tz>',a2_0x51b5f3(0x128))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xd0))['description'](a2_0x51b5f3(0x18e))['option'](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x372),a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x51b5f3(0x1f4))['description'](a2_0x51b5f3(0x2e9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x51b5f3(0x361)]('pause\x20<name-or-id>')[a2_0x51b5f3(0x334)]('Pause\x20a\x20campaign')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x17a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x39a))['option'](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x51b5f3(0x23c))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x365))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2de))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3a2))[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>',a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),'Pull\x20specific\x20campaign\x20by\x20name')[a2_0x51b5f3(0x2ab)]('--type\x20<type>',a2_0x51b5f3(0xf6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x256))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x51b5f3(0x150))['description'](a2_0x51b5f3(0x1a1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x11d))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xf5))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2c9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2e8),a2_0x51b5f3(0x125))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x51b5f3(0x146))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3d5));alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2de))['description'](a2_0x51b5f3(0x16c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)]('--name\x20<name>',a2_0x51b5f3(0x1f1))['option'](a2_0x51b5f3(0x244),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x256))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignPullCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x150))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x157))['option'](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x11d))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignPushCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))['description']('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x51b5f3(0x244),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x51b5f3(0x2ab)]('--status\x20<status>',a2_0x51b5f3(0x106))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),'Workspace\x20name\x20(required)')[a2_0x51b5f3(0x198)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x8a))[a2_0x51b5f3(0x334)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),a2_0x51b5f3(0xf6))[a2_0x51b5f3(0x2ab)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x198)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command'](a2_0x51b5f3(0x314))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1e7))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))['option'](a2_0x51b5f3(0x230),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x374))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2b1))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x322))['requiredOption'](a2_0x51b5f3(0x244),a2_0x51b5f3(0xd6))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x144),'Campaign\x20description')[a2_0x51b5f3(0x2ab)]('--segment\x20<path>',a2_0x51b5f3(0xe5))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3d9),a2_0x51b5f3(0x29f))[a2_0x51b5f3(0x198)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x26c))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),'New\x20campaign\x20name')['option']('--description\x20<desc>','Campaign\x20description')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x258),a2_0x51b5f3(0xe5))['option'](a2_0x51b5f3(0x3d9),a2_0x51b5f3(0x29f))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)]('delete\x20<name-or-id>')[a2_0x51b5f3(0x334)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')['requiredOption'](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x372),'Skip\x20confirmation\x20prompt')[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1f4))['description'](a2_0x51b5f3(0x249))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),'Workspace\x20name\x20(required)')[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1bb))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x211))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)]('resume\x20<name-or-id>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1aa))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x390))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x254))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))['option'](a2_0x51b5f3(0x372),a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x23c))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xef))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),'Workspace\x20name\x20(required)')[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x143))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x190))[a2_0x51b5f3(0x334)]('Validate\x20always-on\x20campaign\x20YAML\x20files')['option'](a2_0x51b5f3(0x2e8),a2_0x51b5f3(0x125))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignValidateCommand));const templateCmd=engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2c0))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1b4));templateCmd['command'](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x103))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x198)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x283))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x307))[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>',a2_0x51b5f3(0x28e))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x314))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3ac))['option'](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x230),a2_0x51b5f3(0x22e))[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x51b5f3(0x374))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xb6))[a2_0x51b5f3(0x333)]('--name\x20<name>','Template\x20name')[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x29a),a2_0x51b5f3(0x38a))['option']('--preheader\x20<text>',a2_0x51b5f3(0xa7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x176),a2_0x51b5f3(0x1fe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x34a),'Read\x20HTML\x20template\x20from\x20file')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x330),a2_0x51b5f3(0x81))['option'](a2_0x51b5f3(0x9f),a2_0x51b5f3(0x2c8),_0x18f929=>{const _0x6df02d=a2_0x51b5f3;if(![_0x6df02d(0xe4),'grapesjs'][_0x6df02d(0x22a)](_0x18f929))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x6df02d(0x252)+_0x18f929+_0x6df02d(0x21e));return _0x18f929;})[a2_0x51b5f3(0x198)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3b0))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x2d5))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x29a),'Email\x20subject\x20template')[a2_0x51b5f3(0x2ab)]('--preheader\x20<text>',a2_0x51b5f3(0xa7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x176),a2_0x51b5f3(0x1fe))[a2_0x51b5f3(0x2ab)]('--html-file\x20<path>','Read\x20HTML\x20template\x20from\x20file')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x330),a2_0x51b5f3(0x81))[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x51b5f3(0x361)]('pull\x20[workspace]')[a2_0x51b5f3(0x334)]('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>','Workspace\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),'Pull\x20specific\x20template\x20by\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe2),a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x256))[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x51b5f3(0x361)]('push\x20[target]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x270))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x2ab)]('-y,\x20--yes',a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x11d))['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xf5))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x294))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2e8),a2_0x51b5f3(0x125))[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xd0))['description'](a2_0x51b5f3(0x2cc))[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>',a2_0x51b5f3(0x28e))['option']('--yes','Skip\x20confirmation\x20prompt')[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x51b5f3(0x361)]('workspace')['description'](a2_0x51b5f3(0x3ae));workspaceCmd[a2_0x51b5f3(0x361)]('list\x20[pattern]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1cf))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1dd))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x127))[a2_0x51b5f3(0x198)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x314))['description'](a2_0x51b5f3(0x3d3))['option']('--full',a2_0x51b5f3(0x22e))[a2_0x51b5f3(0x198)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x374))['description'](a2_0x51b5f3(0x335))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x144),'Workspace\x20description')['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x51b5f3(0x2a7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x136))['option'](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x263))[a2_0x51b5f3(0x2ab)]('--description\x20<desc>','Workspace\x20description')[a2_0x51b5f3(0x198)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xd0))['description'](a2_0x51b5f3(0x21b))['option']('--yes',a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x198)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x51b5f3(0x361)]('use\x20<name>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x147))[a2_0x51b5f3(0x198)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd['command'](a2_0x51b5f3(0x3b7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3c6));lineSenderAccountCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)]('List\x20LINE\x20sender\x20accounts')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x198)](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x314))[a2_0x51b5f3(0x334)]('Show\x20LINE\x20sender\x20account\x20details')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x198)](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x370))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xb3));lineImagemapImageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x101))['description'](a2_0x51b5f3(0x289))[a2_0x51b5f3(0x198)](createEngageAction(EngageLineImagemapImageUploadCommand));const engageMediaCmd=engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x21a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2ce));engageMediaCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3b6))['description'](a2_0x51b5f3(0x1fc))[a2_0x51b5f3(0x198)](createEngageAction(EngageMediaLsCommand)),engageMediaCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x101))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x12f))[a2_0x51b5f3(0x2ab)]('--path\x20<folder>',a2_0x51b5f3(0x3bb))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x98),a2_0x51b5f3(0x3d4))[a2_0x51b5f3(0x198)](createEngageAction(EngageMediaUploadCommand)),engageMediaCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7e))[a2_0x51b5f3(0x334)]('Create\x20a\x20directory\x20in\x20Engage\x20DAM')['action'](createEngageAction(EngageMediaMkdirCommand)),engageMediaCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1ab))[a2_0x51b5f3(0x334)]('Delete\x20a\x20file\x20from\x20Engage\x20DAM')[a2_0x51b5f3(0x198)](createEngageAction(EngageMediaRmCommand)),engageMediaCmd[a2_0x51b5f3(0x361)]('rmdir\x20<path>')[a2_0x51b5f3(0x334)]('Delete\x20a\x20directory\x20from\x20Engage\x20DAM\x20(must\x20be\x20empty)')[a2_0x51b5f3(0x198)](createEngageAction(EngageMediaRmdirCommand));const deliveryCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x33d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x91));deliveryCmd['command']('senders\x20[pattern]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xda))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))['action'](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x302))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x86)),connectionListAction=async _0x505545=>{const _0x1ccec2=a2_0x51b5f3,_0x160223=new ConnectionListCommand(),_0x240ff0=program[_0x1ccec2(0x3a8)](),_0xf1f1b6=await createTDXInstance(_0x240ff0),_0x429cf5=await _0x160223['run']({'options':{..._0x240ff0,..._0x505545},'args':[],'tdx':_0xf1f1b6});gracefulExit(_0x429cf5);};connectionCmd['command'](a2_0x51b5f3(0x173))['description'](a2_0x51b5f3(0x159))[a2_0x51b5f3(0x198)](connectionListAction),program['command'](a2_0x51b5f3(0x3d6),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x161))[a2_0x51b5f3(0x198)](connectionListAction),connectionCmd[a2_0x51b5f3(0x361)]('show\x20<name>')['description']('Show\x20connection\x20details\x20by\x20name')['action'](async(_0x7349fa,_0x27b00c)=>{const _0x1975d4=a2_0x51b5f3,_0x49d7fc=new ConnectionShowCommand(),_0x58aa50=program['opts'](),_0x41f38b=await createTDXInstance(_0x58aa50),_0x7a608f=await _0x49d7fc[_0x1975d4(0x345)]({'options':{..._0x58aa50,..._0x27b00c},'args':[_0x7349fa],'tdx':_0x41f38b});gracefulExit(_0x7a608f);}),connectionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x95))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x185))[a2_0x51b5f3(0x198)](async(_0x1b47d1,_0x27c5bb)=>{const _0x4827ad=a2_0x51b5f3,_0xbee412=new ConnectionSchemaCommand(),_0x3ca386=program['opts'](),_0x61a903=await createTDXInstance(_0x3ca386),_0x1eae27=await _0xbee412[_0x4827ad(0x345)]({'options':{..._0x3ca386,..._0x27c5bb},'args':[_0x1b47d1],'tdx':_0x61a903});gracefulExit(_0x1eae27);}),connectionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1a9))['description']('List\x20available\x20connector\x20types')[a2_0x51b5f3(0x198)](async _0x358ac7=>{const _0x5534b9=a2_0x51b5f3,_0x2d2636=new ConnectionTypesCommand(),_0x46e271=program[_0x5534b9(0x3a8)](),_0x5dc69f=await createTDXInstance(_0x46e271),_0x5b1478=await _0x2d2636[_0x5534b9(0x345)]({'options':{..._0x46e271,..._0x358ac7},'args':[],'tdx':_0x5dc69f});gracefulExit(_0x5b1478);}),connectionCmd[a2_0x51b5f3(0x361)]('settings\x20<type>')[a2_0x51b5f3(0x334)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x51b5f3(0x198)](async(_0x46cc55,_0x4fe653)=>{const _0x2df015=a2_0x51b5f3,_0x107d31=new ConnectionSettingsCommand(),_0x1fcf01=program[_0x2df015(0x3a8)](),_0x18dd38=await createTDXInstance(_0x1fcf01),_0x1a2c5d=await _0x107d31[_0x2df015(0x345)]({'options':{..._0x1fcf01,..._0x4fe653},'args':[_0x46cc55],'tdx':_0x18dd38});gracefulExit(_0x1a2c5d);});const casCmd=program['command'](a2_0x51b5f3(0x2ba))['description'](a2_0x51b5f3(0x97));casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x173))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x170))['action'](async _0xd57b85=>{const _0x539f27=a2_0x51b5f3,_0xd653cc=new CASListCommand(),_0xc4c7cf=program['opts'](),_0x569013=await createTDXInstance(_0xc4c7cf),_0x50b886=await _0xd653cc[_0x539f27(0x345)]({'options':{..._0xc4c7cf,..._0xd57b85},'args':[],'tdx':_0x569013});gracefulExit(_0x50b886);}),casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2cb))[a2_0x51b5f3(0x334)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x40b461,_0x4c1520)=>{const _0x7d31c8=a2_0x51b5f3,_0x5815aa=new CASDescCommand(),_0x11ff7b=program[_0x7d31c8(0x3a8)](),_0x44f4b2=await createTDXInstance(_0x11ff7b),_0x5d9ca0=await _0x5815aa['run']({'options':{..._0x11ff7b,..._0x4c1520},'args':_0x40b461?[_0x40b461]:[],'tdx':_0x44f4b2});gracefulExit(_0x5d9ca0);}),casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x10d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1b2))['option']('--dir\x20<dir>',a2_0x51b5f3(0x387))[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0x167))[a2_0x51b5f3(0x198)](async(_0x2f97c6,_0x5a45e7)=>{const _0x15e22e=a2_0x51b5f3,_0x58ca35=new CASPullCommand(),_0x198794=program['opts'](),_0xb02b15=await createTDXInstance(_0x198794),_0x9bc26e=await _0x58ca35[_0x15e22e(0x345)]({'options':{..._0x198794,..._0x5a45e7},'args':_0x2f97c6?[_0x2f97c6]:[],'tdx':_0xb02b15});gracefulExit(_0x9bc26e);}),casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x150))[a2_0x51b5f3(0x334)]('Push\x20YAML\x20files\x20to\x20CAS\x20API')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x37e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe2),a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x96),a2_0x51b5f3(0xb5))[a2_0x51b5f3(0x198)](async(_0x3e1e55,_0x407c83)=>{const _0x56a121=a2_0x51b5f3,_0x4781db=new CASPushCommand(),_0x167ebb=program[_0x56a121(0x3a8)](),_0x3eae6b=await createTDXInstance(_0x167ebb),_0x34562c=await _0x4781db[_0x56a121(0x345)]({'options':{..._0x167ebb,..._0x407c83},'args':_0x3e1e55?[_0x3e1e55]:[],'tdx':_0x3eae6b});gracefulExit(_0x34562c);}),casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xf5))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xdb))[a2_0x51b5f3(0x198)](async(_0x2e4d98,_0x2f5360)=>{const _0x2ea13e=a2_0x51b5f3,_0x1e07e3=new CASValidateCommand(),_0x3001c8=program[_0x2ea13e(0x3a8)](),_0x261fa7=await createTDXInstance(_0x3001c8),_0x215739=await _0x1e07e3[_0x2ea13e(0x345)]({'options':{..._0x3001c8,..._0x2f5360},'args':_0x2e4d98?[_0x2e4d98]:[],'tdx':_0x261fa7});gracefulExit(_0x215739);}),casCmd[a2_0x51b5f3(0x361)]('preview\x20<segment_name>')['description'](a2_0x51b5f3(0x11b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x395),a2_0x51b5f3(0x23d))[a2_0x51b5f3(0x198)](async(_0x1027b0,_0x3b55b3)=>{const _0x5d5dbd=a2_0x51b5f3,_0x48dd2d=new CASPreviewCommand(),_0x516814=program[_0x5d5dbd(0x3a8)](),_0x46d422=await createTDXInstance(_0x516814),_0x3f1579=await _0x48dd2d[_0x5d5dbd(0x345)]({'options':{..._0x516814,..._0x3b55b3},'args':[_0x1027b0,_0x3b55b3[_0x5d5dbd(0x39b)]],'tdx':_0x46d422});gracefulExit(_0x3f1579);});const casSgCmd=casCmd[a2_0x51b5f3(0x361)]('sg')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x311));casSgCmd[a2_0x51b5f3(0x361)]('list\x20[audience_name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2b4))[a2_0x51b5f3(0x198)](async(_0x1b3c8a,_0x15471c)=>{const _0x2d1462=a2_0x51b5f3,_0x2dbc4e=new CASSegmentListCommand(),_0x1921a7=program[_0x2d1462(0x3a8)](),_0x3d075b=await createTDXInstance(_0x1921a7),_0x2dfae5=await _0x2dbc4e['run']({'options':{..._0x1921a7,..._0x15471c},'args':_0x1b3c8a?[_0x1b3c8a]:[],'tdx':_0x3d075b});gracefulExit(_0x2dfae5);}),casSgCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1ae))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x85))[a2_0x51b5f3(0x2ab)]('--audience\x20<name>','Composable\x20audience\x20name')['option'](a2_0x51b5f3(0x397),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['option']('-y,\x20--yes',a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x96),a2_0x51b5f3(0x215))[a2_0x51b5f3(0x198)](async(_0x510265,_0x186e93)=>{const _0x2ad0c8=new CASSegmentPushCommand(),_0x5eeb53=program['opts'](),_0x19480e=await createTDXInstance(_0x5eeb53),_0x46ae44=await _0x2ad0c8['run']({'options':{..._0x5eeb53,..._0x186e93},'args':[_0x510265],'tdx':_0x19480e});gracefulExit(_0x46ae44);});const psP13nCmd=parentSegmentCmd[a2_0x51b5f3(0x361)]('p13n')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2f1));psP13nCmd[a2_0x51b5f3(0x361)]('list\x20[name]')[a2_0x51b5f3(0x334)]('List\x20campaigns\x20(filter\x20by\x20parent\x20segment\x20name\x20or\x20use\x20context)')['option'](a2_0x51b5f3(0x298),a2_0x51b5f3(0x2b6))['action'](async(_0x10982c,_0x11e1f4)=>{const _0x4656a3=a2_0x51b5f3,_0x5e5289=new P13nListCommand(),_0x11eab5=program[_0x4656a3(0x3a8)](),_0x3cb370=await createTDXInstance(_0x11eab5),_0x8485fc=await _0x5e5289[_0x4656a3(0x345)]({'options':{..._0x11eab5,..._0x11e1f4},'args':_0x10982c?[_0x10982c]:[],'tdx':_0x3cb370});gracefulExit(_0x8485fc);});const journeyCmd=program[a2_0x51b5f3(0x361)]('journey')[a2_0x51b5f3(0x334)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0xd9904c,_0x37144d)=>{const _0x1d4eda=a2_0x51b5f3,_0x29b4f4=new JourneyListCommand(),_0x3cb1e4=program[_0x1d4eda(0x3a8)](),_0x1b0d5f=await createTDXInstance(_0x3cb1e4),_0x187d8c=await _0x29b4f4[_0x1d4eda(0x345)]({'options':{..._0x3cb1e4,..._0x37144d},'args':_0xd9904c?[_0xd9904c]:[],'tdx':_0x1b0d5f});gracefulExit(_0x187d8c);};journeyCmd['command'](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)]('List\x20journeys\x20in\x20current\x20context')['action'](journeyListAction),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x135))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2da))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xeb),a2_0x51b5f3(0x1d7))['option'](a2_0x51b5f3(0x88),a2_0x51b5f3(0x30e))['action'](async(_0x39d9f9,_0x5c360e)=>{const _0x46d94=a2_0x51b5f3,_0x3ba03a=new JourneyViewCommand(),_0x555972=program[_0x46d94(0x3a8)](),_0x59c70e=await createTDXInstance(_0x555972),_0x26471f=await _0x3ba03a['run']({'options':{..._0x555972,..._0x5c360e},'args':[_0x39d9f9],'tdx':_0x59c70e});gracefulExit(_0x26471f);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2f3))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x10c),a2_0x51b5f3(0x2f9))[a2_0x51b5f3(0x2ab)]('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x35f),a2_0x51b5f3(0x3be))['option'](a2_0x51b5f3(0xae),'Include\x20raw\x20history\x20data\x20in\x20output')[a2_0x51b5f3(0x198)](async(_0x30ef36,_0x30026e)=>{const _0x5a755d=a2_0x51b5f3,_0x388511=new JourneyStatsCommand(),_0x5cfc9c=program[_0x5a755d(0x3a8)](),_0x2b2750=await createTDXInstance(_0x5cfc9c),_0x18c904=await _0x388511[_0x5a755d(0x345)]({'options':{..._0x5cfc9c,..._0x30026e},'args':[_0x30ef36],'tdx':_0x2b2750});gracefulExit(_0x18c904);}),journeyCmd[a2_0x51b5f3(0x361)]('traffic\x20<name-or-path>')['description'](a2_0x51b5f3(0x1c5))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),a2_0x51b5f3(0x92))[a2_0x51b5f3(0x2ab)]('--from\x20<date>',a2_0x51b5f3(0x313))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x35f),a2_0x51b5f3(0x3be))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x37c),a2_0x51b5f3(0x1d8),_0x3dd570=>{const _0x445ebf=a2_0x51b5f3,_0x28f95a=parseInt(_0x3dd570,0xa);if(isNaN(_0x28f95a))throw new Error(_0x445ebf(0x308)+_0x3dd570+_0x445ebf(0xbf));return _0x28f95a;})['action'](async(_0xe8b069,_0x3f6d66)=>{const _0x46fbe2=a2_0x51b5f3,_0x354f7a=new JourneyTrafficCommand(),_0x7c5bc4=program[_0x46fbe2(0x3a8)](),_0x2a6ddc=await createTDXInstance(_0x7c5bc4),_0x3c9e95=await _0x354f7a[_0x46fbe2(0x345)]({'options':{..._0x7c5bc4,..._0x3f6d66},'args':[_0xe8b069],'tdx':_0x2a6ddc});gracefulExit(_0x3c9e95);}),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2f6))['description'](a2_0x51b5f3(0xc9))[a2_0x51b5f3(0x198)](async(_0x500350,_0x542b81)=>{const _0x369316=a2_0x51b5f3,_0x224cc1=new JourneyPauseCommand(),_0x4451ea=program[_0x369316(0x3a8)](),_0x46bfc5=await createTDXInstance(_0x4451ea),_0x596ca1=await _0x224cc1[_0x369316(0x345)]({'options':{..._0x4451ea,..._0x542b81},'args':[_0x500350],'tdx':_0x46bfc5});gracefulExit(_0x596ca1);}),journeyCmd['command']('run\x20<name-or-path>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x9c))[a2_0x51b5f3(0x2ab)]('--dry-run','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20triggering')[a2_0x51b5f3(0x198)](async(_0x288c2f,_0x14aed1)=>{const _0x1e1908=a2_0x51b5f3,_0x43a64e=new JourneyRunCommand(),_0x3a60a5=program[_0x1e1908(0x3a8)](),_0x28d999=await createTDXInstance(_0x3a60a5),_0x1f4348=await _0x43a64e[_0x1e1908(0x345)]({'options':{..._0x3a60a5,..._0x14aed1},'args':[_0x288c2f],'tdx':_0x28d999});gracefulExit(_0x1f4348);}),journeyCmd[a2_0x51b5f3(0x361)]('resume\x20<name-or-path>')['description'](a2_0x51b5f3(0x154))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x2c3))[a2_0x51b5f3(0x198)](async(_0x5d67d8,_0xadbc2c)=>{const _0x93ef93=a2_0x51b5f3,_0x3fcbe5=new JourneyResumeCommand(),_0x43eb59=program[_0x93ef93(0x3a8)](),_0x1ade65=await createTDXInstance(_0x43eb59),_0x5ddd11=await _0x3fcbe5[_0x93ef93(0x345)]({'options':{..._0x43eb59,..._0xadbc2c},'args':[_0x5d67d8],'tdx':_0x1ade65});gracefulExit(_0x5ddd11);}),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x10d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x195))['option'](a2_0x51b5f3(0x397),a2_0x51b5f3(0x167))[a2_0x51b5f3(0x198)](async(_0x5934e3,_0x3eb5d4)=>{const _0x34065a=a2_0x51b5f3,_0x2fd119=new JourneyPullCommand(),_0x223353=program[_0x34065a(0x3a8)](),_0x171e41=await createTDXInstance(_0x223353),_0x316bec=await _0x2fd119[_0x34065a(0x345)]({'options':{..._0x223353,..._0x3eb5d4},'args':_0x5934e3?[_0x5934e3]:[],'tdx':_0x171e41});gracefulExit(_0x316bec);}),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x150))[a2_0x51b5f3(0x334)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20AI')[a2_0x51b5f3(0x198)](async(_0xc4fbf0,_0x27766f)=>{const _0x566d02=a2_0x51b5f3,_0xf38244=new JourneyPushCommand(),_0x3790a2=program[_0x566d02(0x3a8)](),_0x1b25df=await createTDXInstance(_0x3790a2),_0x19cd60=await _0xf38244[_0x566d02(0x345)]({'options':{..._0x3790a2,..._0x27766f},'args':_0xc4fbf0?[_0xc4fbf0]:[],'tdx':_0x1b25df});gracefulExit(_0x19cd60);}),journeyCmd['command'](a2_0x51b5f3(0xd4))['description'](a2_0x51b5f3(0x1bf))[a2_0x51b5f3(0x198)](async(_0x470ac4,_0x5d7419)=>{const _0x400fc6=a2_0x51b5f3,_0x19aa35=new JourneyColumnsCommand(),_0x2aec5d=program[_0x400fc6(0x3a8)](),_0x4f6912=await createTDXInstance(_0x2aec5d),_0x55017b=await _0x19aa35['run']({'options':{..._0x2aec5d,..._0x5d7419},'args':[_0x470ac4],'tdx':_0x4f6912});gracefulExit(_0x55017b);}),journeyCmd[a2_0x51b5f3(0x361)]('activations\x20<name-or-path>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x24e))[a2_0x51b5f3(0x198)](async(_0xa52c58,_0x13924f)=>{const _0x497ad3=a2_0x51b5f3,_0x3a2818=new JourneyActivationsCommand(),_0x1bd6a3=program[_0x497ad3(0x3a8)](),_0x2c9cd3=await createTDXInstance(_0x1bd6a3),_0x3fc928=await _0x3a2818[_0x497ad3(0x345)]({'options':{..._0x1bd6a3,..._0x13924f},'args':[_0xa52c58],'tdx':_0x2c9cd3});gracefulExit(_0x3fc928);}),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x112))['description'](a2_0x51b5f3(0x299))[a2_0x51b5f3(0x198)](async(_0x4abe97,_0x575272)=>{const _0x8b1294=a2_0x51b5f3,_0x1542ef=new JourneyVersionsCommand(),_0x64a972=program[_0x8b1294(0x3a8)](),_0x13d5a6=await createTDXInstance(_0x64a972),_0x4caf00=await _0x1542ef[_0x8b1294(0x345)]({'options':{..._0x64a972,..._0x575272},'args':[_0x4abe97],'tdx':_0x13d5a6});gracefulExit(_0x4caf00);});const journeyVersionCmd=journeyCmd[a2_0x51b5f3(0x361)]('version')[a2_0x51b5f3(0x334)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2c6))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x18d))[a2_0x51b5f3(0x198)](async(_0x38deed,_0x1f82f2)=>{const _0x530b57=a2_0x51b5f3,_0x3707ac=new JourneyVersionCreateCommand(),_0x4dcd08=program[_0x530b57(0x3a8)](),_0xdf751c=await createTDXInstance(_0x4dcd08),_0x162e30=await _0x3707ac[_0x530b57(0x345)]({'options':{..._0x4dcd08,..._0x1f82f2},'args':[_0x38deed],'tdx':_0xdf751c});gracefulExit(_0x162e30);}),journeyVersionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x135))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2d7))[a2_0x51b5f3(0x333)]('--version\x20<number>','Version\x20number\x20to\x20view')[a2_0x51b5f3(0x198)](async(_0x4e5a93,_0x3c8d4b)=>{const _0x549281=a2_0x51b5f3,_0x5d22ca=new JourneyVersionViewCommand(),_0x38b86e=program[_0x549281(0x3a8)](),_0x1ee9c5=await createTDXInstance(_0x38b86e),_0x3bbb12=await _0x5d22ca[_0x549281(0x345)]({'options':{..._0x38b86e,..._0x3c8d4b},'args':[_0x4e5a93],'tdx':_0x1ee9c5});gracefulExit(_0x3bbb12);}),journeyCmd['command']('validate\x20[target]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1f0))[a2_0x51b5f3(0x198)](async(_0x193c5b,_0x5876b2)=>{const _0x5f46ad=a2_0x51b5f3,_0x3c94d5=new JourneyValidateCommand(),_0x33c80a=program['opts'](),_0x1d703e=await createTDXInstance(_0x33c80a),_0x417c84=await _0x3c94d5[_0x5f46ad(0x345)]({'options':{..._0x33c80a,..._0x5876b2},'args':_0x193c5b?[_0x193c5b]:[],'tdx':_0x1d703e});gracefulExit(_0x417c84);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x111))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x26a))[a2_0x51b5f3(0x198)](journeyListAction);const agentSyncCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1fa))[a2_0x51b5f3(0x334)]('LLM\x20agent\x20management');agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x332))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1ee))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x209),a2_0x51b5f3(0x33e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1e5),a2_0x51b5f3(0x10a))[a2_0x51b5f3(0x2ab)]('-a,\x20--agent\x20<name>',a2_0x51b5f3(0x282))[a2_0x51b5f3(0x198)](async(_0x5dc9d3,_0x395345,_0x343f49)=>{const _0x1bd4cc=a2_0x51b5f3,_0x15e724=new AgentPullCommand(),_0x565cd1=program[_0x1bd4cc(0x3a8)](),_0x1e7087=await createTDXInstance(_0x565cd1),_0x1f7af2=[];if(_0x5dc9d3)_0x1f7af2[_0x1bd4cc(0x1a6)](_0x5dc9d3);if(_0x395345)_0x1f7af2[_0x1bd4cc(0x1a6)](_0x395345);const _0x5f37fa=await _0x15e724['run']({'options':{..._0x565cd1,..._0x343f49},'args':_0x1f7af2,'tdx':_0x1e7087});gracefulExit(_0x5f37fa);}),agentSyncCmd[a2_0x51b5f3(0x361)]('push\x20[path]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x17d))[a2_0x51b5f3(0x2ab)]('-f,\x20--force',a2_0x51b5f3(0x15f))[a2_0x51b5f3(0x198)](async(_0x3a113b,_0x108193)=>{const _0x779c07=a2_0x51b5f3,_0x3b57e8=new AgentPushCommand(),_0x23498c=program[_0x779c07(0x3a8)](),_0x39a380=await createTDXInstance(_0x23498c),_0x1922ca=await _0x3b57e8[_0x779c07(0x345)]({'options':{..._0x23498c,..._0x108193},'args':_0x3a113b?[_0x3a113b]:[],'tdx':_0x39a380});gracefulExit(_0x1922ca);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1eb))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x7d))['option'](a2_0x51b5f3(0x38d),a2_0x51b5f3(0x19f))[a2_0x51b5f3(0x198)](async(_0x228067,_0x161aad)=>{const _0x32cadb=new AgentCloneCommand(),_0x4fc228=program['opts'](),_0x527bd0=await createTDXInstance(_0x4fc228),_0x5ad427=await _0x32cadb['run']({'options':{..._0x4fc228,..._0x161aad},'args':_0x228067?[_0x228067]:[],'tdx':_0x527bd0});gracefulExit(_0x5ad427);}),agentSyncCmd[a2_0x51b5f3(0x361)]('test\x20[path]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3a0))[a2_0x51b5f3(0x2ab)]('--name\x20<names>',a2_0x51b5f3(0x228))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x22f),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')['option'](a2_0x51b5f3(0x397),a2_0x51b5f3(0x116))['option'](a2_0x51b5f3(0x2f7),a2_0x51b5f3(0x30f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xd7),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')['action'](async(_0xf6b381,_0x261ac9)=>{const _0x1a0569=a2_0x51b5f3,_0x221ba3=new AgentTestCommand(),_0x48a87f=program[_0x1a0569(0x3a8)](),_0x43441e=await createTDXInstance(_0x48a87f),_0x234c72=await _0x221ba3[_0x1a0569(0x345)]({'options':{..._0x48a87f,..._0x261ac9},'args':_0xf6b381?[_0xf6b381]:[],'tdx':_0x43441e});gracefulExit(_0x234c72);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)]('List\x20agents\x20in\x20current\x20project')['action'](llmAgentListAction),agentSyncCmd[a2_0x51b5f3(0x361)]('show\x20<agent-name>')['description'](a2_0x51b5f3(0x1a7))[a2_0x51b5f3(0x198)](async(_0x2b109b,_0x16a2c6)=>{const _0x28f88b=a2_0x51b5f3,_0x4356cd=new LLMAgentShowCommand(),_0x21c0ed=program[_0x28f88b(0x3a8)](),_0x5d871f=await createTDXInstance(_0x21c0ed),_0x5290c4=await _0x4356cd['run']({'options':{..._0x21c0ed,..._0x16a2c6},'args':[_0x2b109b],'tdx':_0x5d871f});gracefulExit(_0x5290c4);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x181))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x267))[a2_0x51b5f3(0x2ab)]('--system-prompt\x20<text>','System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x51b5f3(0x2ab)]('--model\x20<name>',a2_0x51b5f3(0x8b),a2_0x51b5f3(0x14e))['option']('--starter-message\x20<text>','Starter\x20message')[a2_0x51b5f3(0x2ab)]('--max-tool-iterations\x20<n>','Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x19d),a2_0x51b5f3(0x394),a2_0x51b5f3(0x274))[a2_0x51b5f3(0x198)](async(_0x42e429,_0x296541)=>{const _0x25790e=a2_0x51b5f3,_0x46a5d9=new LLMAgentCreateCommand(),_0x5ea65b=program['opts'](),_0x2e04df=await createTDXInstance(_0x5ea65b),_0x2a31e7=await _0x46a5d9[_0x25790e(0x345)]({'options':{..._0x5ea65b,..._0x296541},'args':[_0x42e429],'tdx':_0x2e04df});gracefulExit(_0x2a31e7);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x83))['description'](a2_0x51b5f3(0x1dc))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1be),a2_0x51b5f3(0x105))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x30a),a2_0x51b5f3(0x19e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x396))['option'](a2_0x51b5f3(0x231),a2_0x51b5f3(0x149))[a2_0x51b5f3(0x198)](async(_0x3cd34c,_0x55e965)=>{const _0xd31d94=a2_0x51b5f3,_0x7b737b=new LLMAgentUpdateCommand(),_0x20fb3b=program[_0xd31d94(0x3a8)](),_0x23403b=await createTDXInstance(_0x20fb3b),_0x467140=await _0x7b737b[_0xd31d94(0x345)]({'options':{..._0x20fb3b,..._0x55e965},'args':[_0x3cd34c],'tdx':_0x23403b});gracefulExit(_0x467140);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2c7))[a2_0x51b5f3(0x334)]('Delete\x20an\x20agent')[a2_0x51b5f3(0x198)](async(_0x2bd0fa,_0x10b21d)=>{const _0x29ba21=a2_0x51b5f3,_0x537994=new LLMAgentDeleteCommand(),_0x5e950b=program[_0x29ba21(0x3a8)](),_0x3ad040=await createTDXInstance(_0x5e950b),_0x470869=await _0x537994[_0x29ba21(0x345)]({'options':{..._0x5e950b,..._0x10b21d},'args':[_0x2bd0fa],'tdx':_0x3ad040});gracefulExit(_0x470869);});const workCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2d1))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x74));workCmd[a2_0x51b5f3(0x2ab)]('--days\x20<n>',a2_0x51b5f3(0x1f2))['option'](a2_0x51b5f3(0x1ea),a2_0x51b5f3(0x172))['action'](workSummaryAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7f))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3c5))[a2_0x51b5f3(0x2ab)]('--github\x20<owner/repo>','Link\x20workspace\x20to\x20a\x20GitHub\x20repository')[a2_0x51b5f3(0x198)](workInitAction),workCmd[a2_0x51b5f3(0x361)]('new\x20<title>')[a2_0x51b5f3(0x334)]('Create\x20a\x20new\x20document')['option']('--kind\x20<kind>',a2_0x51b5f3(0x2fb),a2_0x51b5f3(0x140))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x22f),a2_0x51b5f3(0x276))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x388),'Priority\x20(critical,\x20high,\x20medium,\x20low)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe6),a2_0x51b5f3(0x134))[a2_0x51b5f3(0x2ab)]('--template\x20<name>','Apply\x20a\x20template')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x26b),a2_0x51b5f3(0x1d4))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3db),a2_0x51b5f3(0x38e))[a2_0x51b5f3(0x198)](workNewAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x29e))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1ba))[a2_0x51b5f3(0x198)](workMoveAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x203))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x269))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3c7),'Show\x20items\x20updated\x20within\x20N\x20days')['option'](a2_0x51b5f3(0x1ea),a2_0x51b5f3(0x172))['action'](workBoardAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x223))['description'](a2_0x51b5f3(0x36a))[a2_0x51b5f3(0x198)](workShowAction),workCmd[a2_0x51b5f3(0x361)]('links\x20<name>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x30d))[a2_0x51b5f3(0x198)](workLinksAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2ad))['description'](a2_0x51b5f3(0x3cb))[a2_0x51b5f3(0x198)](workOpenAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x141),{'hidden':!![]})[a2_0x51b5f3(0x198)](()=>{const _0x2c64f6=a2_0x51b5f3;function _0x3a659e(_0x4e5502,_0x4a06f6){const _0xff419=a2_0x48b5,_0x314e05=[];for(const _0x3621ad of _0x4e5502[_0xff419(0x369)]){if(_0x3621ad[_0xff419(0x3c2)])continue;const _0x13ec14=_0x4a06f6?_0x4a06f6+'\x20'+_0x3621ad['name']():_0x3621ad[_0xff419(0x219)](),_0x4036f6=_0x13ec14[_0xff419(0x15e)]('\x20')[0x0],_0xa76ec4=COMMAND_CATEGORIES['find'](_0x2c560c=>_0x2c560c[_0xff419(0x369)][_0xff419(0x22a)](_0x4036f6)),_0x1c440f=_0xa76ec4?.[_0xff419(0x219)]??'';if(_0x3621ad['commands'][_0xff419(0x29b)]>0x0)_0x314e05[_0xff419(0x1a6)](..._0x3a659e(_0x3621ad,_0x13ec14));else{const _0x5d5238=(_0x3621ad[_0xff419(0x27f)]||[])[_0xff419(0x337)](_0x192e03=>{const _0x16dd1c=_0xff419,_0x57038e=_0x192e03[_0x16dd1c(0x225)]?_0x192e03['name']()+_0x16dd1c(0x1c4):_0x192e03[_0x16dd1c(0x219)]();return _0x192e03[_0x16dd1c(0x2ae)]?'<'+_0x57038e+'>':'['+_0x57038e+']';})[_0xff419(0x27c)]('\x20'),_0x24d100=_0x3621ad[_0xff419(0x15b)][_0xff419(0x3a3)](_0x9bfd16=>!_0x9bfd16['hidden']&&_0x9bfd16['long']!=='--help')[_0xff419(0x337)](_0x3e18cb=>({'flags':_0x3e18cb[_0xff419(0x265)],'description':_0x3e18cb['description']}));_0x314e05[_0xff419(0x1a6)]({'name':_0x13ec14,'description':_0x3621ad['description'](),'group':_0x1c440f,'usage':_0x5d5238,'options':_0x24d100});}}return _0x314e05;}console[_0x2c64f6(0x340)](JSON['stringify'](_0x3a659e(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x7f18bc=a2_0x51b5f3,_0x131b78=!process['argv'][_0x7f18bc(0x376)](0x2)[_0x7f18bc(0x29b)];showBriefHelp=_0x131b78,program['parse'](process[_0x7f18bc(0x37b)]);_0x131b78&&program[_0x7f18bc(0x80)]();const _0x2f9a92=process[_0x7f18bc(0x37b)][0x2]===_0x7f18bc(0x1bd);if(process[_0x7f18bc(0x3b1)][_0x7f18bc(0xfb)]&&process[_0x7f18bc(0x37b)]['length']>0x2&&!isDevVersion()&&!_0x2f9a92){const _0x2e2b18=loadReleaseChannel();checkForUpdate(currentVersion,_0x2e2b18)['then'](_0x4d7738=>{_0x4d7738&&displayUpdateNotification(_0x4d7738);})[_0x7f18bc(0x232)](()=>{});}}