@treasuredata/tdx 2026.3.32 → 2026.3.34

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 (275) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/commands/activations.js +1 -1
  8. package/dist/commands/agent-command.js +1 -1
  9. package/dist/commands/agent-test-command.js +1 -1
  10. package/dist/commands/api-command.js +1 -1
  11. package/dist/commands/auth-command.js +1 -1
  12. package/dist/commands/auth-login-command.js +1 -1
  13. package/dist/commands/cas-command.js +1 -1
  14. package/dist/commands/cas-segment-command.js +1 -1
  15. package/dist/commands/chat-command.js +1 -1
  16. package/dist/commands/claude-command.js +1 -1
  17. package/dist/commands/claude-statusline-command.js +1 -1
  18. package/dist/commands/claude-usage-command.js +1 -1
  19. package/dist/commands/command.js +1 -1
  20. package/dist/commands/connection-command.js +1 -1
  21. package/dist/commands/databases.js +1 -1
  22. package/dist/commands/delivery-command.js +1 -1
  23. package/dist/commands/describe.js +1 -1
  24. package/dist/commands/engage-campaign-pull-command.js +1 -1
  25. package/dist/commands/engage-campaign-push-command.js +1 -1
  26. package/dist/commands/engage-campaign-validate-command.js +1 -1
  27. package/dist/commands/engage-command.js +1 -1
  28. package/dist/commands/engage-template-pull-command.js +1 -1
  29. package/dist/commands/engage-template-push-command.js +1 -1
  30. package/dist/commands/engage-template-validate-command.js +1 -1
  31. package/dist/commands/job-command.js +1 -1
  32. package/dist/commands/journey-command.js +1 -1
  33. package/dist/commands/journey-validate-command.js +1 -1
  34. package/dist/commands/llm-command.js +1 -1
  35. package/dist/commands/mcp-command.js +1 -1
  36. package/dist/commands/parent-segment-command.js +1 -1
  37. package/dist/commands/policy-command.js +1 -1
  38. package/dist/commands/profile-command.js +1 -1
  39. package/dist/commands/profiles-command.js +1 -1
  40. package/dist/commands/query-command.js +1 -1
  41. package/dist/commands/schedule-command.js +1 -1
  42. package/dist/commands/segment-command.js +1 -1
  43. package/dist/commands/segment-create-command.js +1 -1
  44. package/dist/commands/segment-fields-command.js +1 -1
  45. package/dist/commands/segment-pull-command.js +1 -1
  46. package/dist/commands/segment-push-command.js +1 -1
  47. package/dist/commands/segment-update-command.js +1 -1
  48. package/dist/commands/segment-use-command.js +1 -1
  49. package/dist/commands/segment-validate-command.js +1 -1
  50. package/dist/commands/segments.js +1 -1
  51. package/dist/commands/show.js +1 -1
  52. package/dist/commands/status-command.js +1 -1
  53. package/dist/commands/tables.js +1 -1
  54. package/dist/commands/unset-command.js +1 -1
  55. package/dist/commands/upgrade-command.js +1 -1
  56. package/dist/commands/use-command.js +1 -1
  57. package/dist/commands/user-command.js +1 -1
  58. package/dist/commands/work-command.d.ts +1 -3
  59. package/dist/commands/work-command.d.ts.map +1 -1
  60. package/dist/commands/work-command.js +1 -1
  61. package/dist/commands/work-command.js.map +1 -1
  62. package/dist/commands/workflow-command.js +1 -1
  63. package/dist/core/auth.js +1 -1
  64. package/dist/core/command-output.js +1 -1
  65. package/dist/core/config.js +1 -1
  66. package/dist/core/connection-cache.js +1 -1
  67. package/dist/core/constants.js +1 -1
  68. package/dist/core/credential-cache.js +1 -1
  69. package/dist/core/global-context.js +1 -1
  70. package/dist/core/keychain.js +1 -1
  71. package/dist/core/oauth-keychain.js +1 -1
  72. package/dist/core/oauth.js +1 -1
  73. package/dist/core/profile.js +1 -1
  74. package/dist/core/project-config.js +1 -1
  75. package/dist/core/session.js +1 -1
  76. package/dist/core/user-cache.js +1 -1
  77. package/dist/core/version.js +1 -1
  78. package/dist/index.js +1 -1
  79. package/dist/mcp/server.js +1 -1
  80. package/dist/mcp/tools/index.js +1 -1
  81. package/dist/mcp/tools/tdx-run.js +1 -1
  82. package/dist/mcp/tools/tdx-search.js +1 -1
  83. package/dist/mcp/utils.js +1 -1
  84. package/dist/proxy/claude-usage-tracker.js +1 -1
  85. package/dist/proxy/passthrough-server.js +1 -1
  86. package/dist/proxy/sse-usage-parser.js +1 -1
  87. package/dist/sdk/agent/agent-config.js +1 -1
  88. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  89. package/dist/sdk/agent/agent-yaml.js +1 -1
  90. package/dist/sdk/agent/test/evaluator.js +1 -1
  91. package/dist/sdk/agent/test/executor.js +1 -1
  92. package/dist/sdk/agent/test/index.js +1 -1
  93. package/dist/sdk/agent/test/output.js +1 -1
  94. package/dist/sdk/agent/test/parser.js +1 -1
  95. package/dist/sdk/agent/tool-target-registry.js +1 -1
  96. package/dist/sdk/api.d.ts.map +1 -1
  97. package/dist/sdk/api.js +1 -1
  98. package/dist/sdk/api.js.map +1 -1
  99. package/dist/sdk/cas/cas-api-client.d.ts.map +1 -1
  100. package/dist/sdk/cas/cas-api-client.js +1 -1
  101. package/dist/sdk/cas/cas-api-client.js.map +1 -1
  102. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  103. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  104. package/dist/sdk/cas/index.js +1 -1
  105. package/dist/sdk/cas/pull-workflow.js +1 -1
  106. package/dist/sdk/cas/push-workflow.js +1 -1
  107. package/dist/sdk/client/cdp-api-client.d.ts.map +1 -1
  108. package/dist/sdk/client/cdp-api-client.js +1 -1
  109. package/dist/sdk/client/cdp-api-client.js.map +1 -1
  110. package/dist/sdk/client/delivery-api-client.d.ts.map +1 -1
  111. package/dist/sdk/client/delivery-api-client.js +1 -1
  112. package/dist/sdk/client/delivery-api-client.js.map +1 -1
  113. package/dist/sdk/client/endpoints.js +1 -1
  114. package/dist/sdk/client/engage-api-client.d.ts.map +1 -1
  115. package/dist/sdk/client/engage-api-client.js +1 -1
  116. package/dist/sdk/client/engage-api-client.js.map +1 -1
  117. package/dist/sdk/client/http-client.d.ts +7 -0
  118. package/dist/sdk/client/http-client.d.ts.map +1 -1
  119. package/dist/sdk/client/http-client.js +1 -1
  120. package/dist/sdk/client/http-client.js.map +1 -1
  121. package/dist/sdk/client/llm-api-client.d.ts.map +1 -1
  122. package/dist/sdk/client/llm-api-client.js +1 -1
  123. package/dist/sdk/client/llm-api-client.js.map +1 -1
  124. package/dist/sdk/client/oauth-refresh.js +1 -1
  125. package/dist/sdk/client/rate-limiter.js +1 -1
  126. package/dist/sdk/client/td-api-client.d.ts.map +1 -1
  127. package/dist/sdk/client/td-api-client.js +1 -1
  128. package/dist/sdk/client/td-api-client.js.map +1 -1
  129. package/dist/sdk/client/trino-api-client.d.ts.map +1 -1
  130. package/dist/sdk/client/trino-api-client.js +1 -1
  131. package/dist/sdk/client/trino-api-client.js.map +1 -1
  132. package/dist/sdk/client/workflow-client.d.ts.map +1 -1
  133. package/dist/sdk/client/workflow-client.js +1 -1
  134. package/dist/sdk/client/workflow-client.js.map +1 -1
  135. package/dist/sdk/connection-validator.js +1 -1
  136. package/dist/sdk/connection.js +1 -1
  137. package/dist/sdk/delivery.js +1 -1
  138. package/dist/sdk/engage/campaign-pull.js +1 -1
  139. package/dist/sdk/engage/campaign-push.js +1 -1
  140. package/dist/sdk/engage/campaign-validator.js +1 -1
  141. package/dist/sdk/engage/campaign-yaml.js +1 -1
  142. package/dist/sdk/engage/template-pull.js +1 -1
  143. package/dist/sdk/engage/template-push.js +1 -1
  144. package/dist/sdk/engage/template-validator.js +1 -1
  145. package/dist/sdk/engage/template-yaml.js +1 -1
  146. package/dist/sdk/engage/types/campaign-def.js +1 -1
  147. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  148. package/dist/sdk/engage/types/template-schema.js +1 -1
  149. package/dist/sdk/engage.js +1 -1
  150. package/dist/sdk/errors.js +1 -1
  151. package/dist/sdk/index.d.ts +12 -0
  152. package/dist/sdk/index.d.ts.map +1 -1
  153. package/dist/sdk/index.js +1 -1
  154. package/dist/sdk/index.js.map +1 -1
  155. package/dist/sdk/io/index.js +1 -1
  156. package/dist/sdk/io/node-filesystem.js +1 -1
  157. package/dist/sdk/job.js +1 -1
  158. package/dist/sdk/journey.js +1 -1
  159. package/dist/sdk/llm/chat-cache.js +1 -1
  160. package/dist/sdk/llm/index.js +1 -1
  161. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  162. package/dist/sdk/llm/model-factors.js +1 -1
  163. package/dist/sdk/personalization.d.ts.map +1 -1
  164. package/dist/sdk/personalization.js +1 -1
  165. package/dist/sdk/personalization.js.map +1 -1
  166. package/dist/sdk/policy.d.ts.map +1 -1
  167. package/dist/sdk/policy.js +1 -1
  168. package/dist/sdk/policy.js.map +1 -1
  169. package/dist/sdk/query/index.js +1 -1
  170. package/dist/sdk/query/sql-parser.js +1 -1
  171. package/dist/sdk/realtime.d.ts.map +1 -1
  172. package/dist/sdk/realtime.js +1 -1
  173. package/dist/sdk/realtime.js.map +1 -1
  174. package/dist/sdk/schedule.js +1 -1
  175. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  176. package/dist/sdk/segment/fields-display.js +1 -1
  177. package/dist/sdk/segment/file-discovery.js +1 -1
  178. package/dist/sdk/segment/journey-utils.js +1 -1
  179. package/dist/sdk/segment/journey-validator.js +1 -1
  180. package/dist/sdk/segment/journey-yaml.js +1 -1
  181. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  182. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  183. package/dist/sdk/segment/pull-workflow.js +1 -1
  184. package/dist/sdk/segment/push-recovery.js +1 -1
  185. package/dist/sdk/segment/push-workflow.js +1 -1
  186. package/dist/sdk/segment/resolution-context.js +1 -1
  187. package/dist/sdk/segment/segment-path-parser.js +1 -1
  188. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  189. package/dist/sdk/segment/segment-validator.js +1 -1
  190. package/dist/sdk/segment/target-resolution.js +1 -1
  191. package/dist/sdk/segment/tdx-config.js +1 -1
  192. package/dist/sdk/segment/types/activation-schema.js +1 -1
  193. package/dist/sdk/segment/types/journey-def.js +1 -1
  194. package/dist/sdk/segment/types/journey-schema.js +1 -1
  195. package/dist/sdk/segment/types/segment-def.js +1 -1
  196. package/dist/sdk/segment/types/segment-schema.js +1 -1
  197. package/dist/sdk/segment/validate-files.js +1 -1
  198. package/dist/sdk/segment/yaml-validator.js +1 -1
  199. package/dist/sdk/segment.js +1 -1
  200. package/dist/sdk/types/index.d.ts +1 -1
  201. package/dist/sdk/types/index.d.ts.map +1 -1
  202. package/dist/sdk/types/index.js +1 -1
  203. package/dist/sdk/types/progress.js +1 -1
  204. package/dist/sdk/types/workspace.d.ts +43 -19
  205. package/dist/sdk/types/workspace.d.ts.map +1 -1
  206. package/dist/sdk/types/workspace.js +1 -1
  207. package/dist/sdk/types/workspace.js.map +1 -1
  208. package/dist/sdk/user.js +1 -1
  209. package/dist/sdk/util/format-detector.js +1 -1
  210. package/dist/sdk/util/formatters.js +1 -1
  211. package/dist/sdk/util/index.js +1 -1
  212. package/dist/sdk/util/paginate.js +1 -1
  213. package/dist/sdk/util/tree-formatter.js +1 -1
  214. package/dist/sdk/workflow/archive-validation.js +1 -1
  215. package/dist/sdk/workflow/clone-workflow.js +1 -1
  216. package/dist/sdk/workflow/index.js +1 -1
  217. package/dist/sdk/workflow/pull-workflow.js +1 -1
  218. package/dist/sdk/workflow/push-workflow.js +1 -1
  219. package/dist/sdk/workflow/tdx-config.js +1 -1
  220. package/dist/sdk/workflow/workflow-utils.js +1 -1
  221. package/dist/sdk/workspace/frontmatter.js +1 -1
  222. package/dist/sdk/workspace/git.d.ts +15 -0
  223. package/dist/sdk/workspace/git.d.ts.map +1 -1
  224. package/dist/sdk/workspace/git.js +1 -1
  225. package/dist/sdk/workspace/git.js.map +1 -1
  226. package/dist/sdk/workspace/index.d.ts +38 -21
  227. package/dist/sdk/workspace/index.d.ts.map +1 -1
  228. package/dist/sdk/workspace/index.js +1 -1
  229. package/dist/sdk/workspace/index.js.map +1 -1
  230. package/dist/sdk/workspace/templates.js +1 -1
  231. package/dist/sdk/workspace/weekly.d.ts +49 -0
  232. package/dist/sdk/workspace/weekly.d.ts.map +1 -0
  233. package/dist/sdk/workspace/weekly.js +1 -0
  234. package/dist/sdk/workspace/weekly.js.map +1 -0
  235. package/dist/sdk/workspace/wikilinks.d.ts +7 -2
  236. package/dist/sdk/workspace/wikilinks.d.ts.map +1 -1
  237. package/dist/sdk/workspace/wikilinks.js +1 -1
  238. package/dist/sdk/workspace/wikilinks.js.map +1 -1
  239. package/dist/test-utils/command-runner.js +1 -1
  240. package/dist/test-utils/factories.js +1 -1
  241. package/dist/test-utils/fixtures.js +1 -1
  242. package/dist/test-utils/http-mock.js +1 -1
  243. package/dist/test-utils/index.js +1 -1
  244. package/dist/utils/async.js +1 -1
  245. package/dist/utils/colors.js +1 -1
  246. package/dist/utils/diff.js +1 -1
  247. package/dist/utils/file-permissions.js +1 -1
  248. package/dist/utils/file-reader.js +1 -1
  249. package/dist/utils/github-releases.js +1 -1
  250. package/dist/utils/global-cache.js +1 -1
  251. package/dist/utils/json-loader.js +1 -1
  252. package/dist/utils/local-cache.js +1 -1
  253. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  254. package/dist/utils/logger/formatters/index.js +1 -1
  255. package/dist/utils/logger/handlers/console-handler.js +1 -1
  256. package/dist/utils/logger/handlers/file-handler.js +1 -1
  257. package/dist/utils/logger/handlers/index.js +1 -1
  258. package/dist/utils/logger/handlers/null-handler.js +1 -1
  259. package/dist/utils/logger/index.js +1 -1
  260. package/dist/utils/logger/logger.js +1 -1
  261. package/dist/utils/logger/types.js +1 -1
  262. package/dist/utils/option-validation.js +1 -1
  263. package/dist/utils/process.js +1 -1
  264. package/dist/utils/prompt.js +1 -1
  265. package/dist/utils/spinner.js +1 -1
  266. package/dist/utils/sse-parser.js +1 -1
  267. package/dist/utils/string-utils.js +1 -1
  268. package/dist/utils/table-ref-parser.js +1 -1
  269. package/dist/utils/tdx-logger.js +1 -1
  270. package/dist/utils/version-check.js +1 -1
  271. package/package.json +1 -1
  272. package/dist/sdk/workspace/skills.d.ts +0 -34
  273. package/dist/sdk/workspace/skills.d.ts.map +0 -1
  274. package/dist/sdk/workspace/skills.js +0 -1
  275. package/dist/sdk/workspace/skills.js.map +0 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x218ac7=a2_0x2627;(function(_0x49db1c,_0x4c840f){const _0x1fb182=a2_0x2627,_0x132623=_0x49db1c();while(!![]){try{const _0x391296=-parseInt(_0x1fb182(0x3f2))/0x1+-parseInt(_0x1fb182(0x2fd))/0x2*(-parseInt(_0x1fb182(0x46c))/0x3)+parseInt(_0x1fb182(0x2e9))/0x4+-parseInt(_0x1fb182(0x36d))/0x5*(-parseInt(_0x1fb182(0x31a))/0x6)+-parseInt(_0x1fb182(0x2be))/0x7+parseInt(_0x1fb182(0x4ca))/0x8*(-parseInt(_0x1fb182(0x1f5))/0x9)+parseInt(_0x1fb182(0x2d3))/0xa*(parseInt(_0x1fb182(0x2f3))/0xb);if(_0x391296===_0x4c840f)break;else _0x132623['push'](_0x132623['shift']());}catch(_0x48be7f){_0x132623['push'](_0x132623['shift']());}}}(a2_0x2253,0x1b734));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';function a2_0x2627(_0x42033b,_0x3191f4){_0x42033b=_0x42033b-0x1c1;const _0x225394=a2_0x2253();let _0x2627b4=_0x225394[_0x42033b];return _0x2627b4;}import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction,workSkillsAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv'][a2_0x218ac7(0x405)](a2_0x218ac7(0x3ae))){let versionOutput=a2_0x218ac7(0x345)+currentVersion;buildInfo[a2_0x218ac7(0x4ea)]&&!currentVersion[a2_0x218ac7(0x405)](buildInfo[a2_0x218ac7(0x4ea)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x218ac7(0x422)]&&(versionOutput+=a2_0x218ac7(0x24f)+buildInfo[a2_0x218ac7(0x422)]),console[a2_0x218ac7(0x341)](versionOutput),process[a2_0x218ac7(0x23e)](0x0);}const program=new Command();export function mergeCommandOptions(_0x5da52f,_0x1d358e){const _0x1b1247=a2_0x218ac7,_0x22a3d9={..._0x5da52f};for(const [_0xb39152,_0x2a47af]of Object[_0x1b1247(0x257)](_0x1d358e)){_0x2a47af!==undefined&&(_0x22a3d9[_0xb39152]=_0x2a47af);}return _0x22a3d9;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x218ac7(0x4ea)]&&!currentVersion[a2_0x218ac7(0x405)](buildInfo[a2_0x218ac7(0x4ea)])?description+=a2_0x218ac7(0x4c0)+currentVersion+'\x20('+buildInfo[a2_0x218ac7(0x4ea)]+')':description+=a2_0x218ac7(0x4c0)+currentVersion;program['name'](a2_0x218ac7(0x43e))['description'](description),program[a2_0x218ac7(0x47c)](a2_0x218ac7(0x362),a2_0x218ac7(0x46f))['option'](a2_0x218ac7(0x4d6),a2_0x218ac7(0x39b))['option'](a2_0x218ac7(0x223),'TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x218ac7(0x1d6))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x35c),a2_0x218ac7(0x30e))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x435),a2_0x218ac7(0x27a))[a2_0x218ac7(0x47c)]('--json','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')['option'](a2_0x218ac7(0x43d),a2_0x218ac7(0x46a))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3d8),a2_0x218ac7(0x2d7))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1c4),a2_0x218ac7(0x238))['option']('--limit\x20<number>',a2_0x218ac7(0x1df))['option'](a2_0x218ac7(0x37f),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x218ac7(0x47c)](a2_0x218ac7(0x42d),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x218ac7(0x47c)](a2_0x218ac7(0x483),a2_0x218ac7(0x231),![])[a2_0x218ac7(0x47c)]('--debug',a2_0x218ac7(0x2e0))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x400),a2_0x218ac7(0x497))[a2_0x218ac7(0x47c)]('--timeout\x20<seconds>',a2_0x218ac7(0x38d),'30')['option'](a2_0x218ac7(0x26e),a2_0x218ac7(0x4e5),![])[a2_0x218ac7(0x47c)]('-y,\x20--yes',a2_0x218ac7(0x36f),![])[a2_0x218ac7(0x47c)](a2_0x218ac7(0x309),a2_0x218ac7(0x335))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2f4),a2_0x218ac7(0x3e2))['option'](a2_0x218ac7(0x43a),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program['configureHelp']({'formatHelp':(_0x281b60,_0x383ced)=>{const _0x2c9f53=a2_0x218ac7,_0x4a1175=_0x383ced[_0x2c9f53(0x2bf)](_0x281b60,_0x383ced),_0x53bbab=0x2,_0x4a761e=0x2;function _0x2abaf1(_0x44ff75){const _0x5b754f=_0x2c9f53,_0x215c67=_0x44ff75;return!!(_0x215c67[_0x5b754f(0x3ec)]||_0x215c67['hidden']);}function _0x28f7f2(_0x528cd2,_0x3c459e){const _0x370833=_0x2c9f53;if(_0x3c459e){const _0x549afd=''+_0x528cd2[_0x370833(0x1cf)](_0x4a1175+_0x4a761e)+_0x3c459e;return _0x549afd;}return _0x528cd2;}function _0x73565(_0x37598c){const _0x5a8a3f=_0x2c9f53;return _0x37598c[_0x5a8a3f(0x45b)]('\x0a')[_0x5a8a3f(0x20d)](/^/gm,'\x20'[_0x5a8a3f(0x2c6)](_0x53bbab));}const _0x3c241b=[];_0x3c241b[_0x2c9f53(0x479)](_0x2c9f53(0x415)+_0x383ced['commandUsage'](_0x281b60));const _0x2d355d=_0x383ced[_0x2c9f53(0x412)](_0x281b60);_0x2d355d&&(_0x3c241b[_0x2c9f53(0x479)](''),_0x3c241b['push'](_0x2d355d));const _0xe8e942=_0x281b60[_0x2c9f53(0x369)][_0x2c9f53(0x334)](_0x199c6f=>!_0x2abaf1(_0x199c6f));if(_0xe8e942[_0x2c9f53(0x253)]>0x0){if(_0x281b60[_0x2c9f53(0x30d)]()==='tdx'){const _0x5b35b7=_0x281b60[_0x2c9f53(0x4ad)](),_0x2b08d6=!_0x5b35b7[_0x2c9f53(0x48a)]&&process[_0x2c9f53(0x1c9)][_0x2c9f53(0x32f)],_0x583142=COMMAND_CATEGORIES,_0x51b413=(_0x474585,_0x137b03)=>_0x2b08d6?_0x137b03(_0x474585):_0x474585,_0x35216c=new Map();_0xe8e942['forEach'](_0x578c48=>{const _0x196e59=_0x2c9f53;_0x35216c[_0x196e59(0x391)](_0x578c48[_0x196e59(0x30d)](),_0x578c48);}),_0x583142['forEach'](_0x4d2287=>{const _0x4bf2f6=_0x2c9f53,_0x45771b=_0x4d2287['commands']['flatMap'](_0x4ef972=>_0x35216c[_0x4bf2f6(0x4ac)](_0x4ef972)??[]);if(_0x45771b[_0x4bf2f6(0x253)]>0x0){_0x3c241b[_0x4bf2f6(0x479)](''),_0x3c241b[_0x4bf2f6(0x479)](_0x51b413(_0x4d2287[_0x4bf2f6(0x30d)]+':',_0x4d2287[_0x4bf2f6(0x2f2)]));const _0x1ce873=_0x45771b[_0x4bf2f6(0x42b)](_0x4ac760=>{const _0x1ae5aa=_0x4bf2f6,_0x42b6a5=_0x383ced[_0x1ae5aa(0x2b0)](_0x4ac760),_0x49f70a=_0x383ced[_0x1ae5aa(0x494)](_0x4ac760);return _0x28f7f2(_0x42b6a5,_0x49f70a);});_0x3c241b[_0x4bf2f6(0x479)](_0x73565(_0x1ce873));}}),_0x3c241b['push'](''),_0x3c241b[_0x2c9f53(0x479)](_0x2c9f53(0x3dc));}else{const _0xf688c=_0xe8e942[_0x2c9f53(0x42b)](_0x25787b=>{const _0xfde5d3=_0x2c9f53,_0x287a16=_0x383ced[_0xfde5d3(0x2b0)](_0x25787b),_0x3280ca=_0x383ced[_0xfde5d3(0x494)](_0x25787b);return _0x28f7f2(_0x287a16,_0x3280ca);});_0x3c241b[_0x2c9f53(0x479)](''),_0x3c241b[_0x2c9f53(0x479)](_0x2c9f53(0x201)),_0x3c241b[_0x2c9f53(0x479)](_0x73565(_0xf688c));}}if(showBriefHelp&&_0x281b60[_0x2c9f53(0x30d)]()===_0x2c9f53(0x43e))_0x3c241b[_0x2c9f53(0x479)](''),_0x3c241b[_0x2c9f53(0x479)](_0x2c9f53(0x4c5));else{const _0x3d0949=_0x281b60[_0x2c9f53(0x472)][_0x2c9f53(0x334)](_0x100555=>!_0x2abaf1(_0x100555));if(_0x3d0949[_0x2c9f53(0x253)]>0x0){const _0x2f9d51=_0x3d0949['map'](_0x3d5ceb=>{const _0x100632=_0x2c9f53,_0x1ed80d=_0x383ced[_0x100632(0x447)](_0x3d5ceb),_0xea39e0=_0x383ced[_0x100632(0x288)](_0x3d5ceb);return _0x28f7f2(_0x1ed80d,_0xea39e0);});_0x3c241b[_0x2c9f53(0x479)](''),_0x3c241b['push'](_0x2c9f53(0x35d)),_0x3c241b[_0x2c9f53(0x479)](_0x73565(_0x2f9d51));}}const _0x44c25f=(_0x281b60[_0x2c9f53(0x4e4)]||[])['filter'](_0x193ea0=>!_0x2abaf1(_0x193ea0));if(_0x44c25f[_0x2c9f53(0x253)]>0x0){const _0x23413f=_0x44c25f['map'](_0x43d2e8=>{const _0x48011f=_0x2c9f53,_0x427d33=_0x383ced[_0x48011f(0x24e)](_0x43d2e8),_0x2f46a5=_0x383ced[_0x48011f(0x22a)](_0x43d2e8);return _0x28f7f2(_0x427d33,_0x2f46a5);});_0x3c241b[_0x2c9f53(0x479)](''),_0x3c241b['push'](_0x2c9f53(0x4e0)),_0x3c241b[_0x2c9f53(0x479)](_0x73565(_0x23413f));}return _0x3c241b[_0x2c9f53(0x45b)]('\x0a')+'\x0a';},'subcommandTerm':_0x14e0c8=>{const _0x25fa9d=a2_0x218ac7,_0x9cd2b7=(_0x14e0c8[_0x25fa9d(0x4e4)]||[])['map'](_0x18cdab=>_0x18cdab[_0x25fa9d(0x347)]?'<'+_0x18cdab[_0x25fa9d(0x30d)]()+'>':'['+_0x18cdab['name']()+']')[_0x25fa9d(0x45b)]('\x20'),_0x25af86=_0x14e0c8['aliases'](),_0x518f4a=_0x25af86[_0x25fa9d(0x253)]>0x0?_0x14e0c8[_0x25fa9d(0x30d)]()+',\x20'+_0x25af86['join'](',\x20'):_0x14e0c8[_0x25fa9d(0x30d)]();return _0x9cd2b7?_0x518f4a+'\x20'+_0x9cd2b7:_0x518f4a;}}),program[a2_0x218ac7(0x27f)](a2_0x218ac7(0x28c),_0x3f6b15=>{const _0x2d93bc=a2_0x218ac7,_0x305b63=_0x3f6b15[_0x2d93bc(0x4ad)]();if(_0x305b63[_0x2d93bc(0x423)]){const _0x53feee=resolve(_0x305b63[_0x2d93bc(0x423)]),_0x39552b=_0x53feee!==_0x305b63[_0x2d93bc(0x423)]?'\x20(resolved\x20to\x20'+_0x53feee+')':'';if(!existsSync(_0x53feee))throw new SDKError(ErrorCode[_0x2d93bc(0x2b9)],_0x2d93bc(0x2b1)+_0x305b63['directory']+_0x39552b,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x53b7ac=statSync(_0x53feee);if(!_0x53b7ac[_0x2d93bc(0x372)]())throw new SDKError(ErrorCode[_0x2d93bc(0x2b9)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x305b63[_0x2d93bc(0x423)]+_0x39552b,undefined,{'helpText':_0x2d93bc(0x1dc)});process[_0x2d93bc(0x3dd)](_0x53feee);}if(!_0x305b63[_0x2d93bc(0x4ce)]){if(_0x305b63[_0x2d93bc(0x465)])_0x305b63['format']=_0x2d93bc(0x465);else{if(_0x305b63[_0x2d93bc(0x3ef)])_0x305b63['format']='json';else{if(_0x305b63['jsonl'])_0x305b63['format']='jsonl';else _0x305b63[_0x2d93bc(0x1e4)]&&(_0x305b63['format']=_0x2d93bc(0x1e4));}}}if(_0x305b63[_0x2d93bc(0x2d0)])_0x305b63[_0x2d93bc(0x1da)]=LogLevel[_0x2d93bc(0x3f4)];else{if(_0x305b63['debug'])_0x305b63[_0x2d93bc(0x1da)]=LogLevel['DEBUG'];else _0x305b63[_0x2d93bc(0x1da)]===undefined&&(_0x305b63[_0x2d93bc(0x1da)]=LogLevel[_0x2d93bc(0x3cf)]);}});async function createTDXInstance(_0x3b9b15){const _0x14351a=a2_0x218ac7,_0x55054f=await GlobalContext[_0x14351a(0x421)](_0x3b9b15);return _0x55054f[_0x14351a(0x3e0)](_0x3b9b15),TDX[_0x14351a(0x2bb)]({'site':_0x55054f[_0x14351a(0x25b)],'apiKey':_0x55054f['apiKey'],'accessToken':_0x55054f[_0x14351a(0x208)],'logLevel':_0x55054f['logLevel'],'profile':_0x55054f[_0x14351a(0x3cc)]});}const databaseCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1e3))[a2_0x218ac7(0x2c7)]('db')['description'](a2_0x218ac7(0x3a2)),databaseListAction=async(_0x4a2389,_0x2cf4bd)=>{const _0x12733c=a2_0x218ac7,_0xd7249e=new DatabasesCommand(),_0x3e8075=program[_0x12733c(0x4ad)](),_0x502eb7=await createTDXInstance(_0x3e8075),_0x1fdf17=await _0xd7249e[_0x12733c(0x409)]({'options':{..._0x3e8075,..._0x2cf4bd},'args':_0x4a2389?[_0x4a2389]:[],'tdx':_0x502eb7});gracefulExit(_0x1fdf17);};databaseCmd[a2_0x218ac7(0x25a)]('list\x20[pattern]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4d5))[a2_0x218ac7(0x211)](databaseListAction),program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4da),{'hidden':!![]})['description'](a2_0x218ac7(0x251))['action'](databaseListAction),program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x294))[a2_0x218ac7(0x3b0)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2d9),a2_0x218ac7(0x477))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x432),a2_0x218ac7(0x2c0))[a2_0x218ac7(0x47c)]('--chat-id\x20<id>',a2_0x218ac7(0x38b))[a2_0x218ac7(0x47c)]('--stream',a2_0x218ac7(0x20b))['action'](async(_0x8015f0,_0x509779)=>{const _0x5c9032=a2_0x218ac7,_0x154e1e=program[_0x5c9032(0x4ad)](),_0xde6967=await createTDXInstance(_0x154e1e);if(_0x8015f0[0x0]===_0x5c9032(0x2bb)){const _0x30312c=new ChatCreateCommand();gracefulExit(await _0x30312c[_0x5c9032(0x409)]({'options':{..._0x154e1e,..._0x509779},'args':_0x8015f0['slice'](0x1),'tdx':_0xde6967}));return;}const _0x241e1f=new ChatCommand(),_0x5a9cb0=await _0x241e1f[_0x5c9032(0x409)]({'options':{..._0x154e1e,..._0x509779},'args':_0x8015f0,'tdx':_0xde6967});gracefulExit(_0x5a9cb0);});const apiCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x34d))[a2_0x218ac7(0x232)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')['addHelpText'](a2_0x218ac7(0x281),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x49f),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','GET')[a2_0x218ac7(0x47c)]('--data\x20<data>',a2_0x218ac7(0x370))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4c8),a2_0x218ac7(0x1ea))['option'](a2_0x218ac7(0x234),a2_0x218ac7(0x1c1),(_0x29bbaf,_0x4cfc99)=>{return _0x4cfc99?[..._0x4cfc99,_0x29bbaf]:[_0x29bbaf];})['option'](a2_0x218ac7(0x441),a2_0x218ac7(0x4d0),'td')['action'](async(_0x4225e2,_0x12a9e6)=>{const _0xe8e823=a2_0x218ac7;if(!_0x4225e2){apiCmd[_0xe8e823(0x3aa)]();return;}const _0x1686d8=new ApiCommand(),_0x46519d=program['opts'](),_0x2cad71=await createTDXInstance(_0x46519d),_0x5d2d56=await _0x1686d8[_0xe8e823(0x409)]({'options':{..._0x46519d,..._0x12a9e6},'args':[_0x4225e2],'tdx':_0x2cad71});gracefulExit(_0x5d2d56);});program['command'](a2_0x218ac7(0x1d4))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x292))['addHelpText']('after',a2_0x218ac7(0x3f1))[a2_0x218ac7(0x211)](async _0x430da3=>{const _0x1ce2c3=a2_0x218ac7,_0x294229=new MCPCommand(),_0x147bf9=program[_0x1ce2c3(0x4ad)](),_0x51db69=await createTDXInstance(_0x147bf9),_0x80064a=await _0x294229[_0x1ce2c3(0x409)]({'options':{..._0x147bf9,..._0x430da3},'args':[],'tdx':_0x51db69});gracefulExit(_0x80064a);});const tableCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x465))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x48d)),tableListAction=async(_0x22ac52,_0x7b60b6)=>{const _0x59e59f=a2_0x218ac7,_0xf1ef8a=new TablesCommand(),_0x559ec8=program[_0x59e59f(0x4ad)](),_0x4da210=await createTDXInstance(_0x559ec8);_0x7b60b6['in']&&(_0x7b60b6[_0x59e59f(0x1e3)]=_0x7b60b6['in']);const _0x24221b=await _0xf1ef8a[_0x59e59f(0x409)]({'options':{..._0x559ec8,..._0x7b60b6},'args':_0x22ac52?[_0x22ac52]:[],'tdx':_0x4da210});gracefulExit(_0x24221b);};tableCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x496))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4c6),a2_0x218ac7(0x23f))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x358),a2_0x218ac7(0x39a))['action'](tableListAction),program['command']('tables\x20[pattern]',{'hidden':!![]})['description'](a2_0x218ac7(0x319))['option'](a2_0x218ac7(0x4c6),a2_0x218ac7(0x23f))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x358),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x218ac7(0x211)](tableListAction),program['command'](a2_0x218ac7(0x44a))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x443))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4c6),a2_0x218ac7(0x43f))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x358),a2_0x218ac7(0x39a))[a2_0x218ac7(0x211)](async(_0x203464,_0x5c4738)=>{const _0x43ee1d=a2_0x218ac7,_0x2b0b75=new ShowCommand(),_0x44fa9c=program[_0x43ee1d(0x4ad)](),_0x73ea02=await createTDXInstance(_0x44fa9c);_0x5c4738['in']&&(_0x5c4738[_0x43ee1d(0x1e3)]=_0x5c4738['in']);const _0x581a29=await _0x2b0b75[_0x43ee1d(0x409)]({'options':{..._0x44fa9c,..._0x5c4738},'args':_0x203464?[_0x203464]:[],'tdx':_0x73ea02});gracefulExit(_0x581a29);}),program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1ce))[a2_0x218ac7(0x2c7)](a2_0x218ac7(0x270))[a2_0x218ac7(0x3b0)]('Describe\x20table\x20schema')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4c6),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x358),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x218ac7(0x211)](async(_0x4c8a5a,_0x38462f)=>{const _0x4877de=a2_0x218ac7,_0x25a7c6=new DescribeCommand(),_0x12fa5d=program['opts'](),_0x291629=await createTDXInstance(_0x12fa5d);_0x38462f['in']&&(_0x38462f[_0x4877de(0x1e3)]=_0x38462f['in']);const _0x1066fa=await _0x25a7c6[_0x4877de(0x409)]({'options':{..._0x12fa5d,..._0x38462f},'args':_0x4c8a5a?[_0x4c8a5a]:[],'tdx':_0x291629});gracefulExit(_0x1066fa);}),program[a2_0x218ac7(0x25a)]('query\x20[sql]')['description'](a2_0x218ac7(0x30f))['option']('-d,\x20--database\x20<database>','Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x358),a2_0x218ac7(0x39a))['option'](a2_0x218ac7(0x46b),a2_0x218ac7(0x315))['option']('-f,\x20--file\x20<path>',a2_0x218ac7(0x262))[a2_0x218ac7(0x47c)]('--limit\x20<rows>',a2_0x218ac7(0x436))[a2_0x218ac7(0x211)](async(_0x6ed202,_0x1d4e4f)=>{const _0x4573b4=a2_0x218ac7,_0x3d4a2e=new QueryCommand(),_0x3715da=program['opts'](),_0xc4eec2=await createTDXInstance(_0x3715da);_0x1d4e4f['in']&&(_0x1d4e4f[_0x4573b4(0x1e3)]=_0x1d4e4f['in']);const _0x4de6b0=await _0x3d4a2e[_0x4573b4(0x409)]({'options':mergeCommandOptions(_0x3715da,_0x1d4e4f),'args':_0x6ed202?[_0x6ed202]:[],'tdx':_0xc4eec2});gracefulExit(_0x4de6b0);});const segmentCmd=program[a2_0x218ac7(0x25a)]('segment')[a2_0x218ac7(0x2c7)]('sg')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3ba)),segmentListAction=async(_0x415467,_0x3fa6bd)=>{const _0x3cf2a8=a2_0x218ac7,_0x23f762=new SegmentsCommand(),_0x288db9=program[_0x3cf2a8(0x4ad)](),_0x117fba=await createTDXInstance(_0x288db9),_0x624dd6=await _0x23f762[_0x3cf2a8(0x409)]({'options':{..._0x288db9,..._0x3fa6bd},'args':_0x415467?[_0x415467]:[],'tdx':_0x117fba});gracefulExit(_0x624dd6);};segmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x20a))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2f6))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x249),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')['option'](a2_0x218ac7(0x230),a2_0x218ac7(0x21f),'10')['action'](segmentListAction),program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2af),{'hidden':!![]})[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4df))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x249),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x218ac7(0x47c)]('--max-depth\x20<depth>','Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x218ac7(0x211)](segmentListAction),segmentCmd['command'](a2_0x218ac7(0x368),{'hidden':!![]})[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x482))[a2_0x218ac7(0x211)](async(_0x44de71,_0x222ed9)=>{const _0xac0be5=a2_0x218ac7,_0x6cee75=new SegmentUseCommand(),_0x4ce95d=program[_0xac0be5(0x4ad)](),_0x380275=await createTDXInstance(_0x4ce95d),_0x190c15=await _0x6cee75[_0xac0be5(0x409)]({'options':{..._0x4ce95d,..._0x222ed9},'args':[_0x44de71],'tdx':_0x380275});gracefulExit(_0x190c15);});const segmentViewAction=async(_0x11fac6,_0x180743)=>{const _0x59a597=a2_0x218ac7,_0xcf6ce6=new SegmentViewCommand(),_0x56e331=program['opts'](),_0x2bd058=await createTDXInstance(_0x56e331),_0x31a66c=await _0xcf6ce6[_0x59a597(0x409)]({'options':{..._0x56e331,..._0x180743},'args':_0x11fac6?[_0x11fac6]:[],'tdx':_0x2bd058});gracefulExit(_0x31a66c);};segmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x25f))['description']('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x413),a2_0x218ac7(0x2b8))[a2_0x218ac7(0x211)](segmentViewAction),segmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4e6),{'hidden':!![]})[a2_0x218ac7(0x2c7)](a2_0x218ac7(0x274))['option'](a2_0x218ac7(0x413),a2_0x218ac7(0x2b8))['description'](a2_0x218ac7(0x2df))[a2_0x218ac7(0x211)](segmentViewAction),segmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x37d))[a2_0x218ac7(0x3b0)]('Show\x20segment\x20schema\x20(column\x20types)')[a2_0x218ac7(0x211)](async(_0x43a799,_0x1650e6)=>{const _0x19eb7d=a2_0x218ac7,_0x743b72=new SegmentDescCommand(),_0x5c8e2f=program['opts'](),_0x11a802=await createTDXInstance(_0x5c8e2f),_0x4f4071=await _0x743b72[_0x19eb7d(0x409)]({'options':{..._0x5c8e2f,..._0x1650e6},'args':_0x43a799?[_0x43a799]:[],'tdx':_0x11a802});gracefulExit(_0x4f4071);}),segmentCmd[a2_0x218ac7(0x25a)]('show\x20[segment_name]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x298))['action'](async(_0x561dd3,_0x4e122f)=>{const _0x30c3b5=a2_0x218ac7,_0x287842=new SegmentShowCommand(),_0x24b231=program[_0x30c3b5(0x4ad)](),_0x1b326d=await createTDXInstance(_0x24b231),_0x474b7e=await _0x287842[_0x30c3b5(0x409)]({'options':{..._0x24b231,..._0x4e122f},'args':_0x561dd3?[_0x561dd3]:[],'tdx':_0x1b326d});gracefulExit(_0x474b7e);}),segmentCmd['command'](a2_0x218ac7(0x28b),{'hidden':!![]})[a2_0x218ac7(0x3b0)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x218ac7(0x211)](async(_0x46ba2b,_0x2a43a5)=>{const _0xbc6336=a2_0x218ac7,_0x142774=new SegmentFolderListCommand(),_0x131f24=program[_0xbc6336(0x4ad)](),_0x20b054=await createTDXInstance(_0x131f24),_0x1bf44a=await _0x142774[_0xbc6336(0x409)]({'options':{..._0x131f24,..._0x2a43a5},'args':[_0x46ba2b],'tdx':_0x20b054});gracefulExit(_0x1bf44a);});const folderCmd=segmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x478),{'hidden':!![]})[a2_0x218ac7(0x3b0)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3fd))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x240))[a2_0x218ac7(0x211)](async(_0x42cf68,_0x5841ea)=>{const _0x4a8127=a2_0x218ac7,_0x25eea7=new SegmentFolderShowCommand(),_0x46c1a8=program['opts'](),_0x3ef286=await createTDXInstance(_0x46c1a8),_0x1459bc=await _0x25eea7[_0x4a8127(0x409)]({'options':{..._0x46c1a8,..._0x5841ea},'args':[_0x42cf68],'tdx':_0x3ef286});gracefulExit(_0x1459bc);}),segmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x30c))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2c3))['option']('--path\x20<file-path>',a2_0x218ac7(0x283))['action'](async(_0x5c5123,_0x48a594)=>{const _0x2dc4bf=a2_0x218ac7,_0x544154=new SegmentSQLCommand(),_0x421528=program[_0x2dc4bf(0x4ad)](),_0x7fa37f=await createTDXInstance(_0x421528),_0x248a33=await _0x544154['run']({'options':{..._0x421528,..._0x48a594},'args':_0x5c5123?[_0x5c5123]:[],'tdx':_0x7fa37f});gracefulExit(_0x248a33);}),segmentCmd['command']('fields\x20[parent_name]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1ff))[a2_0x218ac7(0x211)](async(_0x1db865,_0x57a17f)=>{const _0x4dd44f=a2_0x218ac7,_0xacfe4f=new SegmentFieldsCommand(),_0x46114c=program[_0x4dd44f(0x4ad)](),_0x3d594e=await createTDXInstance(_0x46114c),_0x178f9e=await _0xacfe4f[_0x4dd44f(0x409)]({'options':{..._0x46114c,..._0x57a17f},'args':_0x1db865?[_0x1db865]:[],'tdx':_0x3d594e});gracefulExit(_0x178f9e);}),segmentCmd['command'](a2_0x218ac7(0x3d9))[a2_0x218ac7(0x3b0)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x26e),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x218ac7(0x211)](async(_0x3945e0,_0x23d63d)=>{const _0x551224=a2_0x218ac7,_0x59dd0d=new SegmentPullCommand(),_0x4e23ba=program[_0x551224(0x4ad)](),_0x495dcd=await createTDXInstance(_0x4e23ba),_0x16a502=await _0x59dd0d[_0x551224(0x409)]({'options':{..._0x4e23ba,..._0x23d63d},'args':_0x3945e0?[_0x3945e0]:[],'tdx':_0x495dcd});gracefulExit(_0x16a502);}),segmentCmd[a2_0x218ac7(0x25a)]('push\x20[parent_or_file]')[a2_0x218ac7(0x3b0)]('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')['option'](a2_0x218ac7(0x26e),a2_0x218ac7(0x408))['option'](a2_0x218ac7(0x20e),a2_0x218ac7(0x3a4))[a2_0x218ac7(0x211)](async(_0x208872,_0xfa6899)=>{const _0x36dfe9=a2_0x218ac7,_0x6b9221=new SegmentPushCommand(),_0x4c262a=program[_0x36dfe9(0x4ad)](),_0x36a077=await createTDXInstance(_0x4c262a),_0x1629a5=await _0x6b9221['run']({'options':{..._0x4c262a,..._0xfa6899},'args':_0x208872?[_0x208872]:[],'tdx':_0x36a077});gracefulExit(_0x1629a5);}),segmentCmd['command'](a2_0x218ac7(0x2c4))[a2_0x218ac7(0x3b0)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')['action'](async(_0x41b0be,_0x1556aa)=>{const _0x2884a3=a2_0x218ac7,_0x14493d=new SegmentValidateCommand(),_0x237432=program[_0x2884a3(0x4ad)](),_0x14378d=await createTDXInstance(_0x237432),_0x579930=await _0x14493d[_0x2884a3(0x409)]({'options':{..._0x237432,..._0x1556aa},'args':_0x41b0be?[_0x41b0be]:[],'tdx':_0x14378d});gracefulExit(_0x579930);}),segmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2ae),{'hidden':!![]})[a2_0x218ac7(0x3b0)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option'](a2_0x218ac7(0x329),a2_0x218ac7(0x350))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2bc),a2_0x218ac7(0x2f1))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x459),a2_0x218ac7(0x36e))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x248),a2_0x218ac7(0x21c))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x49e),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x40a),a2_0x218ac7(0x291))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x326),a2_0x218ac7(0x42f))[a2_0x218ac7(0x211)](async(_0x1145ff,_0x4740ae)=>{const _0x4e54a1=a2_0x218ac7,_0x38def4=new SegmentCreateCommand(),_0x685e95=program[_0x4e54a1(0x4ad)](),_0x2ca1f0=await createTDXInstance(_0x685e95),_0xff17c8=await _0x38def4['run']({'options':{..._0x685e95,..._0x4740ae},'args':[_0x1145ff],'tdx':_0x2ca1f0});gracefulExit(_0xff17c8);}),segmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1ca),{'hidden':!![]})[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1d2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x313),a2_0x218ac7(0x1f4))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x329),a2_0x218ac7(0x2b5))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2bc),a2_0x218ac7(0x35a))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x459),a2_0x218ac7(0x216))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x248),'Move\x20to\x20folder')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x49e),a2_0x218ac7(0x2b7))[a2_0x218ac7(0x211)](async(_0xe0d068,_0x544dcc)=>{const _0x119959=a2_0x218ac7,_0x1bc607=new SegmentUpdateCommand(),_0x34d9eb=program[_0x119959(0x4ad)](),_0xcfe2fa=await createTDXInstance(_0x34d9eb),_0x196415=await _0x1bc607['run']({'options':{..._0x34d9eb,..._0x544dcc},'args':[_0xe0d068],'tdx':_0xcfe2fa});gracefulExit(_0x196415);});const parentCmd=segmentCmd['command']('parent',{'hidden':!![]})[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x396)),parentListAction=async(_0x27a849,_0xcaf064)=>{const _0x47c5b1=a2_0x218ac7,_0x35d269=new ParentSegmentListCommand(),_0x1c82d9=program[_0x47c5b1(0x4ad)](),_0x4eed2b=await createTDXInstance(_0x1c82d9),_0x50e679=await _0x35d269[_0x47c5b1(0x409)]({'options':{..._0x1c82d9,..._0xcaf064},'args':_0x27a849?[_0x27a849]:[],'tdx':_0x4eed2b});gracefulExit(_0x50e679);};parentCmd[a2_0x218ac7(0x25a)]('list\x20[pattern]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x34e))[a2_0x218ac7(0x211)](parentListAction),segmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x293),{'hidden':!![]})[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x38c))[a2_0x218ac7(0x211)](parentListAction),parentCmd[a2_0x218ac7(0x25a)]('pull\x20[name]')['description'](a2_0x218ac7(0x4e8))['option'](a2_0x218ac7(0x3ed),a2_0x218ac7(0x355))[a2_0x218ac7(0x211)](async(_0x2a3641,_0x42eeee)=>{const _0x17a31c=a2_0x218ac7,_0xad533a=new ParentSegmentPullCommand(),_0x254ea2=program[_0x17a31c(0x4ad)](),_0x4eb1a0=await createTDXInstance(_0x254ea2),_0x298b8c=await _0xad533a['run']({'options':{..._0x254ea2,..._0x42eeee},'args':_0x2a3641?[_0x2a3641]:[],'tdx':_0x4eb1a0});gracefulExit(_0x298b8c);}),parentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4a5))['description'](a2_0x218ac7(0x47e))[a2_0x218ac7(0x211)](async(_0x2ac06e,_0x2ee792)=>{const _0x414f0d=a2_0x218ac7,_0x123448=new ParentSegmentPushCommand(),_0x311c88=program[_0x414f0d(0x4ad)](),_0x243b88=await createTDXInstance(_0x311c88),_0xa3c9fe=await _0x123448[_0x414f0d(0x409)]({'options':{..._0x311c88,..._0x2ee792},'args':_0x2ac06e?[_0x2ac06e]:[],'tdx':_0x243b88});gracefulExit(_0xa3c9fe);}),parentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x404))[a2_0x218ac7(0x3b0)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2f9),a2_0x218ac7(0x246))['option'](a2_0x218ac7(0x3d0),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x475),a2_0x218ac7(0x1fb))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x33b),a2_0x218ac7(0x271))['option'](a2_0x218ac7(0x4e3),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x218ac7(0x365))[a2_0x218ac7(0x211)](async(_0x48caea,_0xefe27f)=>{const _0x4875fa=a2_0x218ac7,_0x2d2899=new ParentSegmentValidateCommand(),_0x4fea44=program[_0x4875fa(0x4ad)](),_0x39f460=await createTDXInstance(_0x4fea44),_0x2a198f=await _0x2d2899['run']({'options':{..._0x4fea44,..._0xefe27f},'args':_0x48caea?[_0x48caea]:[],'tdx':_0x39f460});gracefulExit(_0x2a198f);}),parentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x434))[a2_0x218ac7(0x3b0)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2f9),'Show\x20master\x20table\x20sample\x20data')[a2_0x218ac7(0x47c)]('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x475),a2_0x218ac7(0x348))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x33b),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4e3),a2_0x218ac7(0x349),a2_0x218ac7(0x365))[a2_0x218ac7(0x211)](async(_0xe76390,_0x24ad62)=>{const _0x9f9f6c=a2_0x218ac7,_0x45e712=new ParentSegmentPreviewCommand(),_0x1bc78d=program[_0x9f9f6c(0x4ad)](),_0x16f7c2=await createTDXInstance(_0x1bc78d),_0x2adb6a=await _0x45e712[_0x9f9f6c(0x409)]({'options':{..._0x1bc78d,..._0x24ad62},'args':_0xe76390?[_0xe76390]:[],'tdx':_0x16f7c2});gracefulExit(_0x2adb6a);}),parentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x24c))[a2_0x218ac7(0x3b0)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x218ac7(0x211)](async(_0x3e5f09,_0x2b7034)=>{const _0xd7a3f5=a2_0x218ac7,_0x222bf3=new ParentSegmentRunCommand(),_0x44f648=program['opts'](),_0x808e02=await createTDXInstance(_0x44f648),_0x4a900d=await _0x222bf3[_0xd7a3f5(0x409)]({'options':{..._0x44f648,..._0x2b7034},'args':_0x3e5f09?[_0x3e5f09]:[],'tdx':_0x808e02});gracefulExit(_0x4a900d);});const parentSegmentCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x290))['alias']('ps')['description'](a2_0x218ac7(0x1e8));parentSegmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x34e))[a2_0x218ac7(0x211)](parentListAction),parentSegmentCmd[a2_0x218ac7(0x25a)]('pull\x20[name]')[a2_0x218ac7(0x3b0)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3ed),a2_0x218ac7(0x344))['option'](a2_0x218ac7(0x2cc),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x218ac7(0x211)](async(_0x417be5,_0x16c81b)=>{const _0x607fa5=a2_0x218ac7,_0x4469a1=new ParentSegmentPullCommand(),_0x551ccf=program['opts'](),_0x4e15a7=await createTDXInstance(_0x551ccf),_0x15de48=await _0x4469a1[_0x607fa5(0x409)]({'options':{..._0x551ccf,..._0x16c81b},'args':_0x417be5?[_0x417be5]:[],'tdx':_0x4e15a7});gracefulExit(_0x15de48);}),parentSegmentCmd['command']('push\x20[name]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x41d))[a2_0x218ac7(0x211)](async(_0x4fcf3d,_0x365c76)=>{const _0x429f4e=a2_0x218ac7,_0x33ef4c=new ParentSegmentPushCommand(),_0x251df7=program[_0x429f4e(0x4ad)](),_0x57f1db=await createTDXInstance(_0x251df7),_0x49308d=await _0x33ef4c['run']({'options':{..._0x251df7,..._0x365c76},'args':_0x4fcf3d?[_0x4fcf3d]:[],'tdx':_0x57f1db});gracefulExit(_0x49308d);}),parentSegmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4eb))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3f9))['option']('--master',a2_0x218ac7(0x246))['option'](a2_0x218ac7(0x3d0),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x475),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option'](a2_0x218ac7(0x33b),a2_0x218ac7(0x271))[a2_0x218ac7(0x47c)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x218ac7(0x365))['action'](async(_0x57a1cf,_0x282fde)=>{const _0x24a1af=a2_0x218ac7,_0xb39f63=new ParentSegmentValidateCommand(),_0x117466=program[_0x24a1af(0x4ad)](),_0x402a53=await createTDXInstance(_0x117466),_0x1cc31b=await _0xb39f63[_0x24a1af(0x409)]({'options':{..._0x117466,..._0x282fde},'args':_0x57a1cf?[_0x57a1cf]:[],'tdx':_0x402a53});gracefulExit(_0x1cc31b);}),parentSegmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x420))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x47a))['option'](a2_0x218ac7(0x2f9),a2_0x218ac7(0x2a4))['option'](a2_0x218ac7(0x3d0),a2_0x218ac7(0x4af))['option'](a2_0x218ac7(0x475),a2_0x218ac7(0x348))['option']('--enriched',a2_0x218ac7(0x2dc))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4e3),a2_0x218ac7(0x349),'-1d')['action'](async(_0x5b3d1a,_0x28cab6)=>{const _0x57340b=a2_0x218ac7,_0x15f818=new ParentSegmentPreviewCommand(),_0x3ffa9e=program[_0x57340b(0x4ad)](),_0x2ef991=await createTDXInstance(_0x3ffa9e),_0x11230d=await _0x15f818[_0x57340b(0x409)]({'options':{..._0x3ffa9e,..._0x28cab6},'args':_0x5b3d1a?[_0x5b3d1a]:[],'tdx':_0x2ef991});gracefulExit(_0x11230d);}),parentSegmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x24c))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x48c))[a2_0x218ac7(0x211)](async(_0x5490f4,_0x43dcf8)=>{const _0x2625d3=a2_0x218ac7,_0x317dac=new ParentSegmentRunCommand(),_0xd024e=program[_0x2625d3(0x4ad)](),_0x1f7242=await createTDXInstance(_0xd024e),_0x2fc192=await _0x317dac[_0x2625d3(0x409)]({'options':{..._0xd024e,..._0x43dcf8},'args':_0x5490f4?[_0x5490f4]:[],'tdx':_0x1f7242});gracefulExit(_0x2fc192);}),parentSegmentCmd[a2_0x218ac7(0x25a)]('fields\x20[name]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x36c))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1d7),a2_0x218ac7(0x460))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x43d),a2_0x218ac7(0x440))[a2_0x218ac7(0x211)](async(_0x37a9b6,_0xcbe317)=>{const _0x59d1a6=a2_0x218ac7,_0x28f2e4=new ParentSegmentFieldsCommand(),_0x451e42=program[_0x59d1a6(0x4ad)](),_0x47985c=await createTDXInstance(_0x451e42),_0x1e9a83=await _0x28f2e4[_0x59d1a6(0x409)]({'options':{..._0x451e42,..._0xcbe317},'args':_0x37a9b6?[_0x37a9b6]:[],'tdx':_0x47985c});gracefulExit(_0x1e9a83);}),parentSegmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2ef))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3d3))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x413),a2_0x218ac7(0x32b))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1d7),a2_0x218ac7(0x460))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x43d),a2_0x218ac7(0x440))[a2_0x218ac7(0x211)](async(_0x44ba9f,_0x5d1b27)=>{const _0x34024f=a2_0x218ac7,_0x5cd842=new ParentSegmentViewCommand(),_0x50bf70=program[_0x34024f(0x4ad)](),_0xe2f9bf=await createTDXInstance(_0x50bf70),_0x25a50a=await _0x5cd842[_0x34024f(0x409)]({'options':{..._0x50bf70,..._0x5d1b27},'args':_0x44ba9f?[_0x44ba9f]:[],'tdx':_0xe2f9bf});gracefulExit(_0x25a50a);}),parentSegmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1d0))[a2_0x218ac7(0x3b0)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x218ac7(0x3ed),a2_0x218ac7(0x344))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1d7),a2_0x218ac7(0x460))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x43d),a2_0x218ac7(0x440))['action'](async(_0x18e5f3,_0x3c4b69)=>{const _0x2ba37e=a2_0x218ac7,_0x2678a4=new ParentSegmentDescCommand(),_0x42cd69=program[_0x2ba37e(0x4ad)](),_0x1550db=await createTDXInstance(_0x42cd69),_0x3c6b3f=await _0x2678a4[_0x2ba37e(0x409)]({'options':{..._0x42cd69,..._0x3c4b69},'args':_0x18e5f3?[_0x18e5f3]:[],'tdx':_0x1550db});gracefulExit(_0x3c6b3f);}),parentSegmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x242))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x489))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1d7),a2_0x218ac7(0x460))[a2_0x218ac7(0x47c)]('--jsonl',a2_0x218ac7(0x440))[a2_0x218ac7(0x211)](async(_0xb9e6a9,_0x522a5c)=>{const _0x4916d0=a2_0x218ac7,_0x559dc5=new ParentSegmentSQLCommand(),_0x29e450=program[_0x4916d0(0x4ad)](),_0x1bd88e=await createTDXInstance(_0x29e450),_0x2a1d8b=await _0x559dc5[_0x4916d0(0x409)]({'options':{..._0x29e450,..._0x522a5c},'args':_0xb9e6a9?[_0xb9e6a9]:[],'tdx':_0x1bd88e});gracefulExit(_0x2a1d8b);}),parentSegmentCmd[a2_0x218ac7(0x25a)]('show\x20[name]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4c4))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x416),a2_0x218ac7(0x2e1))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1d7),'Output\x20as\x20JSON')['option']('--jsonl',a2_0x218ac7(0x440))['action'](async(_0x556ef5,_0x1272ee)=>{const _0x5c4ea5=a2_0x218ac7,_0x1b6f6b=new ParentSegmentShowCommand(),_0xc56bda=program[_0x5c4ea5(0x4ad)](),_0x1ddba3=await createTDXInstance(_0xc56bda),_0x1f8097=await _0x1b6f6b[_0x5c4ea5(0x409)]({'options':{..._0xc56bda,..._0x1272ee},'args':_0x556ef5?[_0x556ef5]:[],'tdx':_0x1ddba3});gracefulExit(_0x1f8097);}),parentSegmentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x351))['description'](a2_0x218ac7(0x4d1))['action'](async(_0xc34634,_0x3cadaa)=>{const _0x12c44a=a2_0x218ac7,_0x24b0de=new UseCommand(),_0x49ed9a=program[_0x12c44a(0x4ad)](),_0x8aebc5=_0xc34634?[_0x12c44a(0x393),_0xc34634]:[],_0x49ce04=await _0x24b0de[_0x12c44a(0x409)]({'options':{..._0x49ed9a,..._0x3cadaa},'args':_0x8aebc5,'tdx':null});gracefulExit(_0x49ce04);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x218ac7(0x3b0)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x218ac7(0x25a)]('list\x20[pattern]')['description'](a2_0x218ac7(0x4be))[a2_0x218ac7(0x211)](async(_0x4e3438,_0x54ecbf)=>{const _0x4bdfe0=a2_0x218ac7,_0x501a3d=new PSRtListCommand(),_0x11e6ec=program[_0x4bdfe0(0x4ad)](),_0x1ba7f6=await createTDXInstance(_0x11e6ec),_0x5c88f2=await _0x501a3d[_0x4bdfe0(0x409)]({'options':{..._0x11e6ec,..._0x54ecbf},'args':_0x4e3438?[_0x4e3438]:[],'tdx':_0x1ba7f6});gracefulExit(_0x5c88f2);}),psRtCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4eb))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x287))['action'](async(_0x3782f7,_0x44a05c)=>{const _0x229a05=a2_0x218ac7,_0x6282dc=new PSRtValidateCommand(),_0x438fea=program[_0x229a05(0x4ad)](),_0x587814=await createTDXInstance(_0x438fea),_0x4e3ed9=await _0x6282dc[_0x229a05(0x409)]({'options':{..._0x438fea,..._0x44a05c},'args':_0x3782f7?[_0x3782f7]:[],'tdx':_0x587814});gracefulExit(_0x4e3ed9);}),psRtCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x493))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1f7))[a2_0x218ac7(0x211)](async(_0x16951e,_0xc73e0e)=>{const _0x18df9b=a2_0x218ac7,_0x3b4a84=new PSRtConfigVersionCommand(),_0x5a66cb=program[_0x18df9b(0x4ad)](),_0x4285b2=await createTDXInstance(_0x5a66cb),_0x268cdd=await _0x3b4a84[_0x18df9b(0x409)]({'options':{..._0x5a66cb,..._0xc73e0e},'args':_0x16951e?[_0x16951e]:[],'tdx':_0x4285b2});gracefulExit(_0x268cdd);});const psRtJnCmd=psRtCmd[a2_0x218ac7(0x25a)]('jn')[a2_0x218ac7(0x3b0)]('RT\x20Journey\x20management');psRtJnCmd[a2_0x218ac7(0x25a)]('list\x20[name]')[a2_0x218ac7(0x3b0)]('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x218ac7(0x211)](async(_0x241415,_0x56efb8)=>{const _0x848e2b=a2_0x218ac7,_0x218ed8=new PSRtJnListCommand(),_0x50edc5=program[_0x848e2b(0x4ad)](),_0x299ab8=await createTDXInstance(_0x50edc5),_0x46d115=await _0x218ed8[_0x848e2b(0x409)]({'options':{..._0x50edc5,..._0x56efb8},'args':_0x241415?[_0x241415]:[],'tdx':_0x299ab8});gracefulExit(_0x46d115);}),psRtJnCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1ed))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x42a))[a2_0x218ac7(0x211)](async(_0x5d8413,_0x46c3f3)=>{const _0x4cd9ac=a2_0x218ac7,_0x42bda7=new PSRtJnPauseCommand(),_0x293e06=program[_0x4cd9ac(0x4ad)](),_0x58a007=await createTDXInstance(_0x293e06),_0x614895=await _0x42bda7[_0x4cd9ac(0x409)]({'options':{..._0x293e06,..._0x46c3f3},'args':[_0x5d8413],'tdx':_0x58a007});gracefulExit(_0x614895);}),psRtJnCmd['command'](a2_0x218ac7(0x367))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3bb))[a2_0x218ac7(0x211)](async(_0x270d5c,_0x2a3967)=>{const _0x2ba5a2=a2_0x218ac7,_0x4b37db=new PSRtJnResumeCommand(),_0x23fd28=program[_0x2ba5a2(0x4ad)](),_0x5177d2=await createTDXInstance(_0x23fd28),_0x1fd274=await _0x4b37db[_0x2ba5a2(0x409)]({'options':{..._0x23fd28,..._0x2a3967},'args':[_0x270d5c],'tdx':_0x5177d2});gracefulExit(_0x1fd274);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4a0));parentRtCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4be))[a2_0x218ac7(0x211)](async(_0x16cf98,_0x2132f7)=>{const _0x117438=a2_0x218ac7,_0x4d0d59=new PSRtListCommand(),_0x452614=program[_0x117438(0x4ad)](),_0x573743=await createTDXInstance(_0x452614),_0x14a092=await _0x4d0d59[_0x117438(0x409)]({'options':{..._0x452614,..._0x2132f7},'args':_0x16cf98?[_0x16cf98]:[],'tdx':_0x573743});gracefulExit(_0x14a092);}),parentRtCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4eb))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x287))['action'](async(_0x15d2cd,_0x3939b9)=>{const _0xf574d4=a2_0x218ac7,_0x52fc25=new PSRtValidateCommand(),_0x19792c=program[_0xf574d4(0x4ad)](),_0x2e82c7=await createTDXInstance(_0x19792c),_0x687ac4=await _0x52fc25[_0xf574d4(0x409)]({'options':{..._0x19792c,..._0x3939b9},'args':_0x15d2cd?[_0x15d2cd]:[],'tdx':_0x2e82c7});gracefulExit(_0x687ac4);});const psPzCmd=parentSegmentCmd['command']('pz')['description']('Personalization\x20management');psPzCmd[a2_0x218ac7(0x25a)]('list\x20[name]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x356))[a2_0x218ac7(0x211)](async(_0x4a6b4,_0x3abb77)=>{const _0x2af4d6=a2_0x218ac7,_0x9e3c2b=new PSPzListCommand(),_0x339c8b=program['opts'](),_0x37b765=await createTDXInstance(_0x339c8b),_0x371987=await _0x9e3c2b[_0x2af4d6(0x409)]({'options':{..._0x339c8b,..._0x3abb77},'args':_0x4a6b4?[_0x4a6b4]:[],'tdx':_0x37b765});gracefulExit(_0x371987);}),psPzCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x256))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x389))[a2_0x218ac7(0x211)](async(_0x8ecb36,_0x4dfc32)=>{const _0x43aa19=a2_0x218ac7,_0x46915e=new PSPzShowCommand(),_0x5737d5=program[_0x43aa19(0x4ad)](),_0xe5460d=await createTDXInstance(_0x5737d5),_0x68571=await _0x46915e[_0x43aa19(0x409)]({'options':{..._0x5737d5,..._0x4dfc32},'args':[_0x8ecb36],'tdx':_0xe5460d});gracefulExit(_0x68571);}),psPzCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d3))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x328))['action'](async(_0x3b4c7b,_0x19b2b6)=>{const _0x3fdb76=a2_0x218ac7,_0x5228fc=new PSPzDeleteCommand(),_0xc884d4=program[_0x3fdb76(0x4ad)](),_0x2afdf4=await createTDXInstance(_0xc884d4),_0xb5463f=await _0x5228fc[_0x3fdb76(0x409)]({'options':{..._0xc884d4,..._0x19b2b6},'args':[_0x3b4c7b],'tdx':_0x2afdf4});gracefulExit(_0xb5463f);}),psPzCmd[a2_0x218ac7(0x25a)]('create')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x317))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3fb),a2_0x218ac7(0x3d5))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x329),a2_0x218ac7(0x1fd))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x488),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3df),a2_0x218ac7(0x27c))['option']('--sections\x20<json>',a2_0x218ac7(0x314))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x32a),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x218ac7(0x211)](async _0x1afe48=>{const _0x1ff14c=a2_0x218ac7,_0x39196d=new PSPzCreateCommand(),_0x10c0da=program[_0x1ff14c(0x4ad)](),_0x1d2f31=await createTDXInstance(_0x10c0da),_0x44259c=await _0x39196d[_0x1ff14c(0x409)]({'options':{..._0x10c0da,..._0x1afe48},'args':[],'tdx':_0x1d2f31});gracefulExit(_0x44259c);}),psPzCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2c8))['description'](a2_0x218ac7(0x3e8))[a2_0x218ac7(0x47c)]('--name\x20<text>','Personalization\x20name')[a2_0x218ac7(0x47c)]('--description\x20<text>',a2_0x218ac7(0x1fd))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2ad),'Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x32a),a2_0x218ac7(0x213))['action'](async(_0x602a1d,_0x3d7c1a)=>{const _0x1bc832=a2_0x218ac7,_0x1104fd=new PSPzPatchCommand(),_0x50da5d=program[_0x1bc832(0x4ad)](),_0x19537a=await createTDXInstance(_0x50da5d),_0xf0e202=await _0x1104fd['run']({'options':{..._0x50da5d,..._0x3d7c1a},'args':[_0x602a1d],'tdx':_0x19537a});gracefulExit(_0xf0e202);});const psPzServiceCmd=psPzCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2bd))['description'](a2_0x218ac7(0x3d6));psPzServiceCmd[a2_0x218ac7(0x25a)]('list\x20[name]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2c1))[a2_0x218ac7(0x211)](async(_0x27bb81,_0xa94e63)=>{const _0x2dc0e5=a2_0x218ac7,_0x5f1b26=new PSPzServiceListCommand(),_0x4311e7=program[_0x2dc0e5(0x4ad)](),_0x3dac2a=await createTDXInstance(_0x4311e7),_0x3bdb3b=await _0x5f1b26[_0x2dc0e5(0x409)]({'options':{..._0x4311e7,..._0xa94e63},'args':_0x27bb81?[_0x27bb81]:[],'tdx':_0x3dac2a});gracefulExit(_0x3bdb3b);}),psPzServiceCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3d7))[a2_0x218ac7(0x3b0)]('Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x329),a2_0x218ac7(0x4dc))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2ea),a2_0x218ac7(0x29b))['action'](async(_0x592955,_0x4bf8e1,_0x35969d)=>{const _0x22c4c3=a2_0x218ac7,_0x43343c=new PSPzServiceCreateCommand(),_0x537806=program[_0x22c4c3(0x4ad)](),_0x403aed=await createTDXInstance(_0x537806),_0x4b2499=await _0x43343c[_0x22c4c3(0x409)]({'options':{..._0x537806,..._0x35969d},'args':_0x4bf8e1?[_0x592955,_0x4bf8e1]:[_0x592955],'tdx':_0x403aed});gracefulExit(_0x4b2499);}),psPzServiceCmd['command'](a2_0x218ac7(0x29f))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x490))[a2_0x218ac7(0x211)](async(_0x444f1e,_0x2ba2fa,_0x51c379)=>{const _0x1c4230=a2_0x218ac7,_0x547929=new PSPzServiceShowCommand(),_0x4df34d=program['opts'](),_0x3bc4bf=await createTDXInstance(_0x4df34d),_0x25b5c4=await _0x547929[_0x1c4230(0x409)]({'options':{..._0x4df34d,..._0x51c379},'args':_0x2ba2fa?[_0x444f1e,_0x2ba2fa]:[_0x444f1e],'tdx':_0x3bc4bf});gracefulExit(_0x25b5c4);}),psPzServiceCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x386))['description'](a2_0x218ac7(0x3b2))[a2_0x218ac7(0x211)](async(_0x2efbc8,_0x468413,_0x1c70d4)=>{const _0xe5288e=new PSPzServiceDeleteCommand(),_0xbe1bb2=program['opts'](),_0x472369=await createTDXInstance(_0xbe1bb2),_0x3abc24=await _0xe5288e['run']({'options':{..._0xbe1bb2,..._0x1c70d4},'args':_0x468413?[_0x2efbc8,_0x468413]:[_0x2efbc8],'tdx':_0x472369});gracefulExit(_0x3abc24);}),psPzServiceCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x425))['description'](a2_0x218ac7(0x220))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x473),a2_0x218ac7(0x392))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x329),a2_0x218ac7(0x325))['action'](async(_0x5a42b1,_0x1828e2,_0x37df4c)=>{const _0x7ba605=a2_0x218ac7,_0x57c2de=new PSPzServiceUpdateCommand(),_0x1bcb4a=program[_0x7ba605(0x4ad)](),_0x1bbb13=await createTDXInstance(_0x1bcb4a),_0x38f819=await _0x57c2de[_0x7ba605(0x409)]({'options':{..._0x1bcb4a,..._0x37df4c},'args':_0x1828e2?[_0x5a42b1,_0x1828e2]:[_0x5a42b1],'tdx':_0x1bbb13});gracefulExit(_0x38f819);}),psPzServiceCmd[a2_0x218ac7(0x25a)]('init\x20[name]')[a2_0x218ac7(0x3b0)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x218ac7(0x211)](async(_0x564ffa,_0x22fa9e)=>{const _0x4510ba=a2_0x218ac7,_0x2cc260=new PSPzInitCommand(),_0x1454ba=program[_0x4510ba(0x4ad)](),_0x1a3ce4=await createTDXInstance(_0x1454ba),_0x3fc388=await _0x2cc260[_0x4510ba(0x409)]({'options':{..._0x1454ba,..._0x22fa9e},'args':_0x564ffa?[_0x564ffa]:[],'tdx':_0x1a3ce4});gracefulExit(_0x3fc388);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x205))[a2_0x218ac7(0x3b0)]('Personalization\x20service\x20token\x20management');psPzServiceTokenCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3b7))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x33d))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x498),a2_0x218ac7(0x485))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x329),a2_0x218ac7(0x35b))[a2_0x218ac7(0x211)](async(_0x49994c,_0x2c1f4a,_0x1c74a2,_0x38e63e)=>{const _0x4fdd18=a2_0x218ac7,_0x29d2f9=new PSPzServiceTokenCreateCommand(),_0x191080=program['opts'](),_0x5f3c00=await createTDXInstance(_0x191080),_0x57ecc2=await _0x29d2f9[_0x4fdd18(0x409)]({'options':{..._0x191080,..._0x38e63e},'args':_0x1c74a2?[_0x49994c,_0x2c1f4a,_0x1c74a2]:[_0x49994c,_0x2c1f4a],'tdx':_0x5f3c00});gracefulExit(_0x57ecc2);}),psPzServiceTokenCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x28e))['description'](a2_0x218ac7(0x32d))[a2_0x218ac7(0x211)](async(_0x2314d6,_0x4d1d9d,_0x129808)=>{const _0x5e4e80=a2_0x218ac7,_0x10f70f=new PSPzServiceTokenDeleteCommand(),_0x310169=program[_0x5e4e80(0x4ad)](),_0x5789a4=await createTDXInstance(_0x310169),_0x7cfa3b=await _0x10f70f[_0x5e4e80(0x409)]({'options':{..._0x310169,..._0x129808},'args':_0x4d1d9d?[_0x2314d6,_0x4d1d9d]:[_0x2314d6],'tdx':_0x5789a4});gracefulExit(_0x7cfa3b);}),parentCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3c2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4b4))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x2fe),a2_0x218ac7(0x444))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x2e4),a2_0x218ac7(0x258))[a2_0x218ac7(0x47c)]('--description\x20<text>','Parent\x20segment\x20description')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x342),a2_0x218ac7(0x2b2))['option'](a2_0x218ac7(0x448),a2_0x218ac7(0x2a3))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x43c),a2_0x218ac7(0x4d9))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3ce),'Attributes\x20as\x20JSON\x20string')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x33a),a2_0x218ac7(0x308))['option'](a2_0x218ac7(0x3c5),a2_0x218ac7(0x31d))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3fa),a2_0x218ac7(0x324))[a2_0x218ac7(0x47c)]('--customer-group\x20<json>','Customer\x20group\x20as\x20JSON\x20string')['option']('--customer-group-file\x20<file>',a2_0x218ac7(0x360))['action'](async(_0xb98672,_0x854344)=>{const _0x2623db=a2_0x218ac7,_0x1e7b1f=new ParentSegmentCreateCommand(),_0x45a7df=program[_0x2623db(0x4ad)](),_0x4f5684=await createTDXInstance(_0x45a7df),_0x4a71a8=await _0x1e7b1f['run']({'options':{..._0x45a7df,..._0x854344},'args':[_0xb98672],'tdx':_0x4f5684});gracefulExit(_0x4a71a8);}),parentCmd[a2_0x218ac7(0x25a)]('update\x20<name>')[a2_0x218ac7(0x3b0)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x329),a2_0x218ac7(0x2b5))['option'](a2_0x218ac7(0x342),a2_0x218ac7(0x1dd))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x448),a2_0x218ac7(0x3fc))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x43c),a2_0x218ac7(0x4b5))['option'](a2_0x218ac7(0x2cf),a2_0x218ac7(0x226))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x322),a2_0x218ac7(0x3bd))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x470),a2_0x218ac7(0x2ff))['option']('--add-behaviors-file\x20<file>',a2_0x218ac7(0x4c9))[a2_0x218ac7(0x211)](async(_0x3cec86,_0x144565)=>{const _0x3e58f0=a2_0x218ac7,_0x265328=new ParentSegmentUpdateCommand(),_0x4b648e=program[_0x3e58f0(0x4ad)](),_0x22298b=await createTDXInstance(_0x4b648e),_0x215c6a=await _0x265328[_0x3e58f0(0x409)]({'options':{..._0x4b648e,..._0x144565},'args':[_0x3cec86],'tdx':_0x22298b});gracefulExit(_0x215c6a);}),folderCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x22e))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x285))['option'](a2_0x218ac7(0x329),a2_0x218ac7(0x2de))['option'](a2_0x218ac7(0x374),a2_0x218ac7(0x222))[a2_0x218ac7(0x211)](async(_0xb97022,_0x517ee7,_0x54ca98)=>{const _0x376aab=a2_0x218ac7,_0x232335=new SegmentFolderCreateCommand(),_0x65c5a=program['opts'](),_0x557c23=await createTDXInstance(_0x65c5a),_0x16e1af=await _0x232335[_0x376aab(0x409)]({'options':{..._0x65c5a,..._0x54ca98},'args':[_0xb97022,_0x517ee7],'tdx':_0x557c23});gracefulExit(_0x16e1af);}),program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x333))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x306))[a2_0x218ac7(0x211)](async(_0x1ddc87,_0x5018d9)=>{const _0x46b7d8=a2_0x218ac7,_0x4bc982=new ActivationsCommand(),_0x2cc53b=program[_0x46b7d8(0x4ad)](),_0x57c6c3=await createTDXInstance(_0x2cc53b),_0x3f87dc=await _0x4bc982[_0x46b7d8(0x409)]({'options':{..._0x2cc53b,..._0x5018d9},'args':[_0x1ddc87],'tdx':_0x57c6c3});gracefulExit(_0x3f87dc);});const workflowCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3c7))['alias']('wf')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x202)),wfProjectCmd=workflowCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x31e))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x276)),wfProjectListAction=async(_0x17784c,_0x397821)=>{const _0x2985a3=a2_0x218ac7,_0x1905c0=new WorkflowProjectsCommand(),_0x22c972=program[_0x2985a3(0x4ad)](),_0x4882d4=await createTDXInstance(_0x22c972),_0x432273=await _0x1905c0[_0x2985a3(0x409)]({'options':{..._0x22c972,..._0x397821},'args':_0x17784c?[_0x17784c]:[],'tdx':_0x4882d4});gracefulExit(_0x432273);};wfProjectCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x221))[a2_0x218ac7(0x211)](wfProjectListAction),workflowCmd[a2_0x218ac7(0x25a)]('projects\x20[pattern]')['description'](a2_0x218ac7(0x3e4))[a2_0x218ac7(0x211)](wfProjectListAction);const wfWorkflowListAction=async(_0x3cf546,_0x3322a0)=>{const _0x26c3a1=a2_0x218ac7,_0x37be64=new WorkflowWorkflowsCommand(),_0x53560a=program[_0x26c3a1(0x4ad)](),_0x1eb28b=await createTDXInstance(_0x53560a),_0x3e0b5f=await _0x37be64['run']({'options':{..._0x53560a,..._0x3322a0},'args':_0x3cf546?[_0x3cf546]:[],'tdx':_0x1eb28b});gracefulExit(_0x3e0b5f);};workflowCmd[a2_0x218ac7(0x25a)]('workflows\x20[project]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x41e))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x468))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1c5)),wfSessionListAction=async(_0x4e7c2c,_0x2cc063)=>{const _0x2fa5f4=new WorkflowSessionsCommand(),_0x41889b=program['opts'](),_0x36fa4a=await createTDXInstance(_0x41889b),_0x457b5d=await _0x2fa5f4['run']({'options':{..._0x41889b,..._0x2cc063},'args':_0x4e7c2c?[_0x4e7c2c]:[],'tdx':_0x36fa4a});gracefulExit(_0x457b5d);};wfSessionCmd['command'](a2_0x218ac7(0x3af))[a2_0x218ac7(0x3b0)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3de),a2_0x218ac7(0x4b7))['option'](a2_0x218ac7(0x264),a2_0x218ac7(0x3bc))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x22d),a2_0x218ac7(0x321))[a2_0x218ac7(0x211)](wfSessionListAction),workflowCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x34a))['description'](a2_0x218ac7(0x495))['option'](a2_0x218ac7(0x3de),a2_0x218ac7(0x4b7))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x264),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x22d),a2_0x218ac7(0x321))[a2_0x218ac7(0x211)](wfSessionListAction);const wfAttemptListAction=async(_0xf05950,_0x4ac6ae)=>{const _0x364f38=a2_0x218ac7,_0x5bcb3f=new WorkflowAttemptsCommand(),_0x38bc05=program[_0x364f38(0x4ad)](),_0x1f7d1b=await createTDXInstance(_0x38bc05),_0x17ad89=await _0x5bcb3f[_0x364f38(0x409)]({'options':{..._0x38bc05,..._0x4ac6ae},'args':_0xf05950?[_0xf05950]:[],'tdx':_0x1f7d1b});gracefulExit(_0x17ad89);},attemptCmd=workflowCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x43b))[a2_0x218ac7(0x3b0)]('Workflow\x20attempt\x20management')['argument'](a2_0x218ac7(0x499),'Attempt\x20ID')[a2_0x218ac7(0x2e3)](a2_0x218ac7(0x456),a2_0x218ac7(0x395))['argument'](a2_0x218ac7(0x481),a2_0x218ac7(0x4cc))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x229),a2_0x218ac7(0x406))['option'](a2_0x218ac7(0x3e5),a2_0x218ac7(0x1e6))['option']('--resume-from\x20<task>','Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x25d),a2_0x218ac7(0x252))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x207),a2_0x218ac7(0x3a9))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x236),a2_0x218ac7(0x411))['action'](async(_0xcc7183,_0x49970f,_0x166dad,_0x4e004a)=>{const _0x23d3e1=a2_0x218ac7;if(_0xcc7183===_0x23d3e1(0x30b)){await wfAttemptListAction(_0x49970f,_0x4e004a);return;}if(!_0xcc7183){attemptCmd[_0x23d3e1(0x3aa)]();return;}const _0x93c2b1=program[_0x23d3e1(0x4ad)](),_0x4de3af=await createTDXInstance(_0x93c2b1);let _0x3de72f=0x0;if(!_0x49970f){const _0x4c671d=new WorkflowAttemptCommand();_0x3de72f=await _0x4c671d[_0x23d3e1(0x409)]({'options':{..._0x93c2b1,..._0x4e004a},'args':[_0xcc7183],'tdx':_0x4de3af});}else{if(_0x49970f===_0x23d3e1(0x3f6)){const _0x1e480c=new WorkflowLogsCommand();_0x3de72f=await _0x1e480c[_0x23d3e1(0x409)]({'options':{..._0x93c2b1,..._0x4e004a},'args':_0x166dad?[_0xcc7183,_0x166dad]:[_0xcc7183],'tdx':_0x4de3af});}else{if(_0x49970f===_0x23d3e1(0x45d)){const _0x10e514=new WorkflowTasksCommand();_0x3de72f=await _0x10e514[_0x23d3e1(0x409)]({'options':{..._0x93c2b1,..._0x4e004a},'args':[_0xcc7183],'tdx':_0x4de3af});}else{if(_0x49970f===_0x23d3e1(0x2a5)){const _0x3f1079=new WorkflowKillCommand();_0x3de72f=await _0x3f1079['run']({'options':{..._0x93c2b1,..._0x4e004a},'args':[_0xcc7183],'tdx':_0x4de3af});}else{if(_0x49970f===_0x23d3e1(0x414)){const _0x5a5add=new WorkflowRetryCommand();_0x3de72f=await _0x5a5add[_0x23d3e1(0x409)]({'options':{..._0x93c2b1,..._0x4e004a},'args':[_0x23d3e1(0x331)+_0xcc7183],'tdx':_0x4de3af});}else console[_0x23d3e1(0x1cb)]('Unknown\x20action:\x20'+_0x49970f),console[_0x23d3e1(0x1cb)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x3de72f=0x1;}}}}gracefulExit(_0x3de72f);});attemptCmd[a2_0x218ac7(0x25a)]('list\x20[project]')[a2_0x218ac7(0x3b0)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x236),a2_0x218ac7(0x36b))[a2_0x218ac7(0x211)](wfAttemptListAction),workflowCmd['command'](a2_0x218ac7(0x3ca))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x254))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x236),'Include\x20retried\x20attempts')[a2_0x218ac7(0x211)](wfAttemptListAction),workflowCmd['command'](a2_0x218ac7(0x1f2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x38f))['option']('--follow','Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x403),a2_0x218ac7(0x466))[a2_0x218ac7(0x47c)]('--attempt-id\x20<id>',a2_0x218ac7(0x1f0))['action'](async(_0x555b2c,_0x4f0c6c)=>{const _0x479900=a2_0x218ac7,_0x54e753=new WorkflowTimelineCommand(),_0x2f68c8=program[_0x479900(0x4ad)](),_0x578892=await createTDXInstance(_0x2f68c8),_0x27298a=await _0x54e753[_0x479900(0x409)]({'options':{..._0x2f68c8,..._0x4f0c6c},'args':_0x555b2c?[_0x555b2c]:[],'tdx':_0x578892});gracefulExit(_0x27298a);}),workflowCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x457))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3b9))['option'](a2_0x218ac7(0x3c8),a2_0x218ac7(0x1f6))['option']('--params\x20<json>',a2_0x218ac7(0x327))[a2_0x218ac7(0x211)](async(_0x4ffb0a,_0xd48aeb)=>{const _0x3de214=a2_0x218ac7,_0x504277=new WorkflowRetryCommand(),_0x31821c=program[_0x3de214(0x4ad)](),_0x2d091d=await createTDXInstance(_0x31821c),_0x15bd33=await _0x504277[_0x3de214(0x409)]({'options':{..._0x31821c,..._0xd48aeb},'args':[_0x4ffb0a],'tdx':_0x2d091d});gracefulExit(_0x15bd33);}),workflowCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2f5))['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4c3),a2_0x218ac7(0x450),(_0x1f4244,_0x26f41d=[])=>[..._0x26f41d,_0x1f4244],[])[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4b9),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x218ac7(0x211)](async(_0x36a455,_0x4f016c)=>{const _0x23d0d0=new WorkflowRunCommand(),_0x4f7ba0=program['opts'](),_0x21db92=await createTDXInstance(_0x4f7ba0),_0x450a6f=await _0x23d0d0['run']({'options':{..._0x4f7ba0,..._0x4f016c},'args':_0x36a455?[_0x36a455]:[],'tdx':_0x21db92});gracefulExit(_0x450a6f);}),workflowCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x263))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x47b))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x29e),a2_0x218ac7(0x31c))[a2_0x218ac7(0x211)](async(_0x1c0810,_0x1f5866,_0x151a35)=>{const _0x560ebb=a2_0x218ac7,_0x54e085=new WorkflowDownloadCommand(),_0x1f9c55=program[_0x560ebb(0x4ad)](),_0x294577=await createTDXInstance(_0x1f9c55),_0x45d396=await _0x54e085[_0x560ebb(0x409)]({'options':{..._0x1f9c55,..._0x151a35},'args':[_0x1c0810,_0x1f5866||'.'],'tdx':_0x294577});gracefulExit(_0x45d396);}),workflowCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x492))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3b3))[a2_0x218ac7(0x47c)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')['option'](a2_0x218ac7(0x26e),a2_0x218ac7(0x37e))[a2_0x218ac7(0x211)](async(_0x4e11cb,_0x12ab93,_0x2b684a)=>{const _0x3ec935=a2_0x218ac7,_0x118a14=new WorkflowPullCommand(),_0x65186e=program[_0x3ec935(0x4ad)](),_0x1a5ba8=await createTDXInstance(_0x65186e),_0x4597f0=await _0x118a14[_0x3ec935(0x409)]({'options':{..._0x65186e,..._0x2b684a},'args':_0x12ab93?[_0x4e11cb,_0x12ab93]:[_0x4e11cb],'tdx':_0x1a5ba8});gracefulExit(_0x4597f0);}),workflowCmd['command'](a2_0x218ac7(0x237))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x44c))[a2_0x218ac7(0x47c)]('--revision\x20<revision>','Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x26e),a2_0x218ac7(0x295))['option'](a2_0x218ac7(0x2da),a2_0x218ac7(0x455))[a2_0x218ac7(0x211)](async(_0x481c37,_0x4b06cd)=>{const _0xa39101=a2_0x218ac7,_0x5b1ea7=new WorkflowPushCommand(),_0x2f9e8b=program[_0xa39101(0x4ad)](),_0xbe16d1=await createTDXInstance(_0x2f9e8b),_0x484de8=await _0x5b1ea7[_0xa39101(0x409)]({'options':{..._0x2f9e8b,..._0x4b06cd},'args':_0x481c37?[_0x481c37]:[],'tdx':_0xbe16d1});gracefulExit(_0x484de8);}),workflowCmd['command'](a2_0x218ac7(0x4cf))[a2_0x218ac7(0x3b0)]('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x473),a2_0x218ac7(0x46e))['option'](a2_0x218ac7(0x29e),'Revision\x20name\x20(default:\x20timestamp)')['option'](a2_0x218ac7(0x2da),a2_0x218ac7(0x455))[a2_0x218ac7(0x211)](async(_0x4c5e8f,_0x44afa9)=>{const _0x167ca0=a2_0x218ac7,_0x17cb6e=new WorkflowUploadCommand(),_0x248c39=program[_0x167ca0(0x4ad)](),_0x3d0d61=await createTDXInstance(_0x248c39),_0x262509=await _0x17cb6e[_0x167ca0(0x409)]({'options':{..._0x248c39,..._0x44afa9},'args':_0x4c5e8f?[_0x4c5e8f]:[],'tdx':_0x3d0d61});gracefulExit(_0x262509);}),workflowCmd['command']('clone\x20[source-dir]')['description']('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x473),a2_0x218ac7(0x272))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x29e),a2_0x218ac7(0x390))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x26e),a2_0x218ac7(0x428))[a2_0x218ac7(0x47c)]('--skip-validation',a2_0x218ac7(0x455))[a2_0x218ac7(0x211)](async(_0x232ef4,_0x47237c)=>{const _0x24327f=a2_0x218ac7,_0x7e669=new WorkflowCloneCommand(),_0x19a603=program[_0x24327f(0x4ad)](),_0x1f5e24=await createTDXInstance(_0x19a603),_0xa6551b=await _0x7e669[_0x24327f(0x409)]({'options':{..._0x19a603,..._0x47237c},'args':_0x232ef4?[_0x232ef4]:[],'tdx':_0x1f5e24});gracefulExit(_0xa6551b);}),workflowCmd[a2_0x218ac7(0x25a)]('delete\x20<project-name-or-id>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x363))[a2_0x218ac7(0x211)](async(_0x46fa70,_0xc34d8b)=>{const _0x1f6ea7=a2_0x218ac7,_0xe20150=new WorkflowDeleteCommand(),_0x5d4294=program[_0x1f6ea7(0x4ad)](),_0x3d6583=await createTDXInstance(_0x5d4294),_0x446e9d=await _0xe20150[_0x1f6ea7(0x409)]({'options':{..._0x5d4294,..._0xc34d8b},'args':[_0x46fa70],'tdx':_0x3d6583});gracefulExit(_0x446e9d);}),workflowCmd['command'](a2_0x218ac7(0x44f))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x336))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4a3),a2_0x218ac7(0x476))[a2_0x218ac7(0x211)](async(_0x48b969,_0x1f29ca)=>{const _0x59e21b=a2_0x218ac7,_0x56535b=new WorkflowUseCommand(),_0x17c1ab=program[_0x59e21b(0x4ad)](),_0x21f0c=await createTDXInstance(_0x17c1ab),_0x362ac0=await _0x56535b[_0x59e21b(0x409)]({'options':{..._0x17c1ab,..._0x1f29ca},'args':_0x48b969?[_0x48b969]:[],'tdx':_0x21f0c});gracefulExit(_0x362ac0);});const wfSecretsCmd=workflowCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x49a))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x491));wfSecretsCmd[a2_0x218ac7(0x25a)]('list\x20[project]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2eb))['action'](async(_0x3fe3cb,_0x1b8f57)=>{const _0xd727cc=a2_0x218ac7,_0x22d1a6=new WorkflowSecretsListCommand(),_0x1ceb7b=program[_0xd727cc(0x4ad)](),_0x1d5431=await createTDXInstance(_0x1ceb7b),_0x4b7f25=await _0x22d1a6[_0xd727cc(0x409)]({'options':{..._0x1ceb7b,..._0x1b8f57},'args':_0x3fe3cb?[_0x3fe3cb]:[],'tdx':_0x1d5431});gracefulExit(_0x4b7f25);}),wfSecretsCmd[a2_0x218ac7(0x25a)]('set\x20<args...>')[a2_0x218ac7(0x3b0)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x218ac7(0x211)](async(_0x1974ef,_0xbb828a)=>{const _0x3195dc=a2_0x218ac7,_0x18b8c7=new WorkflowSecretsSetCommand(),_0x381b8b=program['opts'](),_0x26765d=await createTDXInstance(_0x381b8b),_0x56a020=await _0x18b8c7[_0x3195dc(0x409)]({'options':{..._0x381b8b,..._0xbb828a},'args':_0x1974ef,'tdx':_0x26765d});gracefulExit(_0x56a020);}),wfSecretsCmd[a2_0x218ac7(0x25a)]('delete\x20<args...>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2d5))[a2_0x218ac7(0x211)](async(_0x4d50e6,_0x33439c)=>{const _0x56489c=a2_0x218ac7,_0x160370=new WorkflowSecretsDeleteCommand(),_0x19b153=program['opts'](),_0x3ec3ef=await createTDXInstance(_0x19b153),_0x304787=await _0x160370[_0x56489c(0x409)]({'options':{..._0x19b153,..._0x33439c},'args':_0x4d50e6,'tdx':_0x3ec3ef});gracefulExit(_0x304787);});const jobCmd=program['command'](a2_0x218ac7(0x206))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4a4)),jobListAction=async _0x44299c=>{const _0x5d58be=a2_0x218ac7,_0x14823d=new JobListCommand(),_0x14cb92=program[_0x5d58be(0x4ad)](),_0x15cae0=await createTDXInstance(_0x14cb92),_0x17f520=await _0x14823d[_0x5d58be(0x409)]({'options':{..._0x14cb92,..._0x44299c},'args':[],'tdx':_0x15cae0});gracefulExit(_0x17f520);};jobCmd['command']('list')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x21d))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3de),a2_0x218ac7(0x375))[a2_0x218ac7(0x211)](jobListAction),program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2a1),{'hidden':!![]})[a2_0x218ac7(0x3b0)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x218ac7(0x47c)]('--status\x20<status>',a2_0x218ac7(0x375))['action'](jobListAction),jobCmd[a2_0x218ac7(0x25a)]('show\x20<job-id>')[a2_0x218ac7(0x3b0)]('Show\x20job\x20details')['action'](async(_0x3ac397,_0x2c5e69)=>{const _0x32c0b9=a2_0x218ac7,_0x1c1b69=new JobShowCommand(),_0x37f2f6=program[_0x32c0b9(0x4ad)](),_0x641f9d=await createTDXInstance(_0x37f2f6),_0x2284f9=await _0x1c1b69[_0x32c0b9(0x409)]({'options':{..._0x37f2f6,..._0x2c5e69},'args':[_0x3ac397],'tdx':_0x641f9d});gracefulExit(_0x2284f9);}),jobCmd[a2_0x218ac7(0x25a)]('kill\x20<job-id>')[a2_0x218ac7(0x3b0)]('Kill\x20a\x20job')[a2_0x218ac7(0x211)](async(_0x291488,_0x306121)=>{const _0xf2cd68=a2_0x218ac7,_0x4489e9=new JobKillCommand(),_0x568ab3=program[_0xf2cd68(0x4ad)](),_0x27b79a=await createTDXInstance(_0x568ab3),_0x4bbca2=await _0x4489e9[_0xf2cd68(0x409)]({'options':{..._0x568ab3,..._0x306121},'args':[_0x291488],'tdx':_0x27b79a});gracefulExit(_0x4bbca2);}),jobCmd['command']('submit\x20[query]')[a2_0x218ac7(0x3b0)]('Submit\x20a\x20job')[a2_0x218ac7(0x47c)]('--job-type\x20<type>',a2_0x218ac7(0x2ed),a2_0x218ac7(0x2d8))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4c8),a2_0x218ac7(0x26a))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2ba),a2_0x218ac7(0x1e5),'information_schema')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x297),a2_0x218ac7(0x3d4))[a2_0x218ac7(0x211)](async(_0x528fd7,_0x2af8a1)=>{const _0x647814=a2_0x218ac7,_0xc9a6ad=new JobSubmitCommand(),_0x5dfff3=program['opts'](),_0x599a96=await createTDXInstance(_0x5dfff3),_0x4f2da9=await _0xc9a6ad[_0x647814(0x409)]({'options':{..._0x5dfff3,..._0x2af8a1},'args':_0x528fd7?[_0x528fd7]:[],'tdx':_0x599a96});gracefulExit(_0x4f2da9);}),jobCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x312))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4bf))[a2_0x218ac7(0x211)](async(_0x3a3ac8,_0x337300)=>{const _0x458bfe=a2_0x218ac7,_0x3371b1=new JobResultCommand(),_0x5672a8=program[_0x458bfe(0x4ad)](),_0xf868d4=await createTDXInstance(_0x5672a8),_0x58b3fd=await _0x3371b1['run']({'options':{..._0x5672a8,..._0x337300},'args':[_0x3a3ac8],'tdx':_0xf868d4});gracefulExit(_0x58b3fd);});const scheduleCmd=jobCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x34c))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3a7));scheduleCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x449))[a2_0x218ac7(0x211)](async(_0x16dd62,_0x32a732)=>{const _0x58110c=a2_0x218ac7,_0xde7439=new ScheduleListCommand(),_0xcf4a82=program[_0x58110c(0x4ad)](),_0x400458=await createTDXInstance(_0xcf4a82),_0x476e1d=await _0xde7439[_0x58110c(0x409)]({'options':{..._0xcf4a82,..._0x32a732},'args':_0x16dd62?[_0x16dd62]:[],'tdx':_0x400458});gracefulExit(_0x476e1d);}),scheduleCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x215))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x47d))[a2_0x218ac7(0x211)](async(_0xb7c83b,_0xad4828)=>{const _0x2aa64d=a2_0x218ac7,_0x3f504e=new ScheduleShowCommand(),_0x293da8=program[_0x2aa64d(0x4ad)](),_0x3ad113=await createTDXInstance(_0x293da8),_0x556078=await _0x3f504e[_0x2aa64d(0x409)]({'options':{..._0x293da8,..._0xad4828},'args':[_0xb7c83b],'tdx':_0x3ad113});gracefulExit(_0x556078);}),scheduleCmd[a2_0x218ac7(0x25a)]('create\x20<name>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x28f))[a2_0x218ac7(0x47c)]('-d,\x20--database\x20<db>',a2_0x218ac7(0x2cd))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x41c),a2_0x218ac7(0x39a))[a2_0x218ac7(0x3ea)]('-f,\x20--file\x20<path>',a2_0x218ac7(0x26a))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x45c),'Query\x20type:\x20trino\x20or\x20hive','trino')['option'](a2_0x218ac7(0x373),a2_0x218ac7(0x361))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x43c),a2_0x218ac7(0x37c))[a2_0x218ac7(0x47c)]('--delay\x20<seconds>','Delay\x20in\x20seconds\x20before\x20execution')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x44e),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3b6),a2_0x218ac7(0x26d))[a2_0x218ac7(0x47c)]('--engine-version\x20<version>','Query\x20engine\x20version')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x286),a2_0x218ac7(0x305))['action'](async(_0x2ca8ab,_0x48b3df)=>{const _0x217562=a2_0x218ac7,_0x4bc73c=new ScheduleCreateCommand(),_0x767f90=program[_0x217562(0x4ad)](),_0x419330=await createTDXInstance(_0x767f90);_0x48b3df['in']&&(_0x48b3df[_0x217562(0x1e3)]=_0x48b3df['in']);const _0x177c67=await _0x4bc73c[_0x217562(0x409)]({'options':{..._0x767f90,..._0x48b3df},'args':[_0x2ca8ab],'tdx':_0x419330});gracefulExit(_0x177c67);}),scheduleCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x47f))[a2_0x218ac7(0x3b0)]('Update\x20a\x20scheduled\x20query')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x39e),a2_0x218ac7(0x1fc))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x41c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x218ac7(0x47c)]('-f,\x20--file\x20<path>',a2_0x218ac7(0x26a))[a2_0x218ac7(0x47c)]('--type\x20<type>',a2_0x218ac7(0x1c8))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x373),a2_0x218ac7(0x361))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x43c),a2_0x218ac7(0x4b2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x204),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x44e),a2_0x218ac7(0x339))['option']('--retry-limit\x20<0~32>','Retry\x20limit\x20(0\x20to\x2032)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x241),a2_0x218ac7(0x217))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x286),a2_0x218ac7(0x305))[a2_0x218ac7(0x211)](async(_0x39d77c,_0x299a08)=>{const _0x511e4a=a2_0x218ac7,_0x54452b=new ScheduleUpdateCommand(),_0x26d8cd=program[_0x511e4a(0x4ad)](),_0x190dba=await createTDXInstance(_0x26d8cd);_0x299a08['in']&&(_0x299a08['database']=_0x299a08['in']);const _0x50b060=await _0x54452b['run']({'options':{..._0x26d8cd,..._0x299a08},'args':[_0x39d77c],'tdx':_0x190dba});gracefulExit(_0x50b060);}),scheduleCmd['command']('delete\x20<name>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x426))['action'](async(_0x32c55e,_0x1cf46e)=>{const _0x5930cb=a2_0x218ac7,_0x227152=new ScheduleDeleteCommand(),_0x71325d=program['opts'](),_0x1d7495=await createTDXInstance(_0x71325d),_0x2bf031=await _0x227152[_0x5930cb(0x409)]({'options':{..._0x71325d,..._0x1cf46e},'args':[_0x32c55e],'tdx':_0x1d7495});gracefulExit(_0x2bf031);}),scheduleCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x316))['description'](a2_0x218ac7(0x38a))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x378),a2_0x218ac7(0x303))[a2_0x218ac7(0x47c)]('--num\x20<1-10>',a2_0x218ac7(0x3a3))[a2_0x218ac7(0x211)](async(_0x3fd04a,_0x14ff5a)=>{const _0x3f88ac=a2_0x218ac7,_0x4c4ac1=new ScheduleRunCommand(),_0x5a5c2d=program[_0x3f88ac(0x4ad)](),_0x81d10c=await createTDXInstance(_0x5a5c2d),_0x1fdfc6=await _0x4c4ac1[_0x3f88ac(0x409)]({'options':{..._0x5a5c2d,..._0x14ff5a},'args':[_0x3fd04a],'tdx':_0x81d10c});gracefulExit(_0x1fdfc6);}),scheduleCmd['command'](a2_0x218ac7(0x26c))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x45a))['option'](a2_0x218ac7(0x23a),a2_0x218ac7(0x4ae))['option'](a2_0x218ac7(0x1d1),'Ending\x20offset\x20(default:\x2020)')[a2_0x218ac7(0x211)](async(_0x2ab3f0,_0x10784d)=>{const _0x103dd6=a2_0x218ac7,_0x3f3ec0=new ScheduleHistoryCommand(),_0x2e7bd0=program[_0x103dd6(0x4ad)](),_0x5364a5=await createTDXInstance(_0x2e7bd0),_0xce0c2c=await _0x3f3ec0['run']({'options':{..._0x2e7bd0,..._0x10784d},'args':[_0x2ab3f0],'tdx':_0x5364a5});gracefulExit(_0xce0c2c);});const llmCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3a8))['description'](a2_0x218ac7(0x2b6));llmCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x437))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x31b))[a2_0x218ac7(0x211)](async(_0x12842d,_0x1b343c)=>{const _0x29e1a8=a2_0x218ac7,_0x1513ed=new LLMUseCommand(),_0x4e6162=program[_0x29e1a8(0x4ad)](),_0x33240b=await createTDXInstance(_0x4e6162),_0x348871=await _0x1513ed[_0x29e1a8(0x409)]({'options':{..._0x4e6162,..._0x1b343c},'args':[_0x12842d],'tdx':_0x33240b});gracefulExit(_0x348871);}),llmCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x29c))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3f3))[a2_0x218ac7(0x211)](async _0x187f87=>{const _0x5dd6e6=a2_0x218ac7,_0x11198d=new LLMModelsCommand(),_0x380941=program['opts'](),_0x26d62b=await createTDXInstance(_0x380941),_0x4228b0=await _0x11198d[_0x5dd6e6(0x409)]({'options':{..._0x380941,..._0x187f87},'args':[],'tdx':_0x26d62b});gracefulExit(_0x4228b0);});const projectCmd=llmCmd['command'](a2_0x218ac7(0x31e))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x41f)),llmProjectListAction=async(_0x343711,_0x12e6a0)=>{const _0x387a6a=a2_0x218ac7,_0xb53a8e=new LLMProjectsCommand(),_0x1f3391=program[_0x387a6a(0x4ad)](),_0x5b5825=await createTDXInstance(_0x1f3391),_0x10a47f=await _0xb53a8e[_0x387a6a(0x409)]({'options':{..._0x1f3391,..._0x12e6a0},'args':_0x343711?[_0x343711]:[],'tdx':_0x5b5825});gracefulExit(_0x10a47f);};projectCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x37a))['action'](llmProjectListAction),llmCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x438))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x46d))[a2_0x218ac7(0x211)](llmProjectListAction),projectCmd[a2_0x218ac7(0x25a)]('create\x20<name>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2f0))['option']('--description\x20<text>',a2_0x218ac7(0x48f))[a2_0x218ac7(0x211)](async(_0x5d566d,_0x322921)=>{const _0x3b7cbb=a2_0x218ac7,_0x377d96=new LLMProjectCreateCommand(),_0x1041b9=program[_0x3b7cbb(0x4ad)](),_0x574c25=await createTDXInstance(_0x1041b9),_0x15defe=await _0x377d96['run']({'options':{..._0x1041b9,..._0x322921},'args':[_0x5d566d],'tdx':_0x574c25});gracefulExit(_0x15defe);}),projectCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4ed))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x27b))[a2_0x218ac7(0x211)](async(_0x571d29,_0x25beb5)=>{const _0x2869b2=a2_0x218ac7,_0x33a8a8=new LLMProjectDeleteCommand(),_0x37e09c=program['opts'](),_0x4a04f4=await createTDXInstance(_0x37e09c),_0x30b847=await _0x33a8a8[_0x2869b2(0x409)]({'options':{..._0x37e09c,..._0x25beb5},'args':[_0x571d29],'tdx':_0x4a04f4});gracefulExit(_0x30b847);}),projectCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x25c))[a2_0x218ac7(0x3b0)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')['option']('-o,\x20--output\x20<folder>',a2_0x218ac7(0x353))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x26e),a2_0x218ac7(0x261))['action'](async(_0x1744b8,_0x5a9b31)=>{const _0x329a48=a2_0x218ac7,_0x2e86f1=new LLMProjectBackupCommand(),_0x4474e5=program[_0x329a48(0x4ad)](),_0x3f5aa2=await createTDXInstance(_0x4474e5),_0x58637f=await _0x2e86f1['run']({'options':{..._0x4474e5,..._0x5a9b31},'args':[_0x1744b8],'tdx':_0x3f5aa2});gracefulExit(_0x58637f);}),projectCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3e7))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1fa))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x225),a2_0x218ac7(0x42e))[a2_0x218ac7(0x47c)]('--dry-run','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')['action'](async(_0x309d40,_0x3a6b66)=>{const _0x7d8a50=a2_0x218ac7,_0x33c6a9=new LLMProjectRestoreCommand(),_0x3a78c4=program[_0x7d8a50(0x4ad)](),_0x2e3064=await createTDXInstance(_0x3a78c4),_0x49a774=await _0x33c6a9[_0x7d8a50(0x409)]({'options':{..._0x3a78c4,..._0x3a6b66},'args':[_0x309d40],'tdx':_0x2e3064});gracefulExit(_0x49a774);});const llmAgentListAction=async(_0x3309b3,_0x4a79ff)=>{const _0x4c2d3a=a2_0x218ac7,_0x519a53=new LLMAgentsCommand(),_0x704715=program[_0x4c2d3a(0x4ad)](),_0x4a3aa9=await createTDXInstance(_0x704715),_0x59c12a=await _0x519a53['run']({'options':{..._0x704715,..._0x4a79ff},'args':_0x3309b3?[_0x3309b3]:[],'tdx':_0x4a3aa9});gracefulExit(_0x59c12a);};llmCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x296))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4bd))['action'](llmAgentListAction),program[a2_0x218ac7(0x25a)]('agents\x20[pattern]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4bd))[a2_0x218ac7(0x211)](llmAgentListAction),llmCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x239))[a2_0x218ac7(0x3b0)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1d9),a2_0x218ac7(0x302))[a2_0x218ac7(0x211)](async(_0x5b8ff9,_0x382d56)=>{const _0x7187e2=a2_0x218ac7,_0x58b9a3=new LLMHistoryCommand(),_0xfab820=program[_0x7187e2(0x4ad)](),_0x5466ae=await createTDXInstance(_0xfab820),_0xd88d92=await _0x58b9a3['run']({'options':{..._0xfab820,..._0x382d56},'args':_0x5b8ff9?[_0x5b8ff9]:[],'tdx':_0x5466ae});gracefulExit(_0xd88d92);});isExperimentalAvailable()&&llmCmd[a2_0x218ac7(0x25a)]('log\x20<chat-id>')['description']('[EXPERIMENTAL]\x20Show\x20chat\x20log')['action'](async(_0x183a62,_0x5a1b04)=>{const _0x161b72=a2_0x218ac7,_0x59d3c4=new LLMLogCommand(),_0x453844=program['opts'](),_0x2292b4=await createTDXInstance(_0x453844),_0xa46b64=await _0x59d3c4[_0x161b72(0x409)]({'options':{..._0x453844,..._0x5a1b04},'args':[_0x183a62],'tdx':_0x2292b4});gracefulExit(_0xa46b64);});program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4b3))[a2_0x218ac7(0x3db)]('[options]\x20--\x20[claude-code-args...]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x467))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3c6),a2_0x218ac7(0x1fe))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4db),a2_0x218ac7(0x3a1))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x430),a2_0x218ac7(0x29a))[a2_0x218ac7(0x3fe)]()[a2_0x218ac7(0x44d)](!![])['addHelpText'](a2_0x218ac7(0x281),a2_0x218ac7(0x40f))[a2_0x218ac7(0x211)](async(_0x3a4eb3,_0x17407f)=>{const _0x28464c=a2_0x218ac7,_0x3c2dad=program[_0x28464c(0x4ad)](),_0x4caef4=Array['isArray'](_0x3a4eb3)?_0x3a4eb3:[];if(_0x4caef4[0x0]==='statusline'){const _0x72a068=new ClaudeStatuslineCommand(),_0x436b2c=await _0x72a068[_0x28464c(0x409)]({'options':{..._0x3c2dad,..._0x17407f},'args':_0x4caef4['slice'](0x1),'tdx':null});gracefulExit(_0x436b2c);}if(_0x4caef4[0x0]===_0x28464c(0x3db)){const _0x58f8a0=new ClaudeUsageCommand(),_0x42648e=await _0x58f8a0[_0x28464c(0x409)]({'options':{..._0x3c2dad,..._0x17407f},'args':_0x4caef4[_0x28464c(0x1d3)](0x1),'tdx':null});gracefulExit(_0x42648e);}const _0xbb284a=new ClaudeCommand(),_0x67535e=await createTDXInstance(_0x3c2dad),_0x3fb9c0=await _0xbb284a[_0x28464c(0x409)]({'options':{..._0x3c2dad,..._0x17407f},'args':_0x4caef4,'tdx':_0x67535e});gracefulExit(_0x3fb9c0);}),program['command'](a2_0x218ac7(0x26f))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x24d))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4a3),a2_0x218ac7(0x338))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3e3),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x218ac7(0x211)](async(_0x35af2d,_0x1bdf71,_0x3b9815)=>{const _0x11617d=a2_0x218ac7,_0x33c3f3=new UseCommand(),_0x5e68aa=program[_0x11617d(0x4ad)](),_0x534136=[];if(_0x35af2d)_0x534136[_0x11617d(0x479)](_0x35af2d);if(_0x1bdf71)_0x534136[_0x11617d(0x479)](_0x1bdf71);const _0x28ae2a=_0x35af2d===_0x11617d(0x2ee),_0x2c3541=_0x28ae2a?await createTDXInstance(_0x5e68aa):null,_0x471215=await _0x33c3f3[_0x11617d(0x409)]({'options':{..._0x5e68aa,..._0x3b9815},'args':_0x534136,'tdx':_0x2c3541});gracefulExit(_0x471215);}),program['command'](a2_0x218ac7(0x243))['description'](a2_0x218ac7(0x398))[a2_0x218ac7(0x211)](async _0x31790c=>{const _0x163d70=a2_0x218ac7,_0x3a14eb=new StatusCommand(),_0x30ff91=program[_0x163d70(0x4ad)](),_0x767f0e=await createTDXInstance(_0x30ff91),_0x4d4770=await _0x3a14eb['run']({'options':{..._0x30ff91,..._0x31790c},'args':[],'tdx':_0x767f0e});gracefulExit(_0x4d4770);}),program['command'](a2_0x218ac7(0x320))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4ee))['option']('--dry-run',a2_0x218ac7(0x3c0))['option'](a2_0x218ac7(0x379),a2_0x218ac7(0x4de))[a2_0x218ac7(0x47c)]('--method\x20<pm>',a2_0x218ac7(0x4a6))['action'](async(_0x3e24b3,_0x4b209d)=>{const _0x395f3a=a2_0x218ac7,_0x18c836=new UpgradeCommand(),_0x4596d3=program[_0x395f3a(0x4ad)](),_0x57309f=await _0x18c836[_0x395f3a(0x409)]({'options':{..._0x4596d3,..._0x4b209d},'args':_0x3e24b3?[_0x3e24b3]:[],'tdx':null});gracefulExit(_0x57309f);}),program['command'](a2_0x218ac7(0x2dd))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x397))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3e3),a2_0x218ac7(0x2c9))[a2_0x218ac7(0x211)](async(_0x14a56e,_0x42fd01)=>{const _0x18dbbf=a2_0x218ac7,_0x267218=new UnsetCommand(),_0x1f520b=program[_0x18dbbf(0x4ad)](),_0x7b1608=await _0x267218[_0x18dbbf(0x409)]({'options':{..._0x1f520b,..._0x42fd01},'args':[_0x14a56e],'tdx':null});gracefulExit(_0x7b1608);}),program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x32e))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4a9))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1d9),a2_0x218ac7(0x2ab))[a2_0x218ac7(0x211)](async _0x4b2cd6=>{const _0x53d54c=a2_0x218ac7,_0x5ddacf=new ChatsCommand(),_0x516a6b=program[_0x53d54c(0x4ad)](),_0xfb510e=await createTDXInstance(_0x516a6b),_0x2fa41e=await _0x5ddacf[_0x53d54c(0x409)]({'options':{..._0x516a6b,..._0x4b2cd6},'args':[],'tdx':_0xfb510e});gracefulExit(_0x2fa41e);});const authCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2a7))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x40e));async function runAuthStatusCommand(_0x477829){const _0x125671=a2_0x218ac7,_0x3ce995=new AuthStatusCommand(),_0x509983=program[_0x125671(0x4ad)](),_0xce994a=await createTDXInstance(_0x509983),_0x848a11=await _0x3ce995[_0x125671(0x409)]({'options':{..._0x509983,..._0x477829},'args':[],'tdx':_0xce994a});gracefulExit(_0x848a11);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x243))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3ee))[a2_0x218ac7(0x211)](runAuthStatusCommand),authCmd[a2_0x218ac7(0x25a)]('setup')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1e0))[a2_0x218ac7(0x343)]('after',a2_0x218ac7(0x3ac))[a2_0x218ac7(0x211)](async _0x15cb20=>{const _0x140633=a2_0x218ac7,_0x492c93=new AuthSetupCommand(),_0x5176b8=program[_0x140633(0x4ad)](),_0x265928=await createTDXInstance(_0x5176b8),_0x56898a=await _0x492c93[_0x140633(0x409)]({'options':{..._0x5176b8,..._0x15cb20},'args':[],'tdx':_0x265928});gracefulExit(_0x56898a);}),authCmd['command'](a2_0x218ac7(0x1e2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1e9))[a2_0x218ac7(0x343)](a2_0x218ac7(0x281),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a')['action'](async _0x1b733b=>{const _0x286af6=a2_0x218ac7,_0x407479=new AuthLoginCommand(),_0x361b20=program[_0x286af6(0x4ad)](),_0x5749e2=await _0x407479['run']({'options':{..._0x361b20,..._0x1b733b},'args':[],'tdx':null});gracefulExit(_0x5749e2);}),authCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1ef))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x26b))[a2_0x218ac7(0x343)](a2_0x218ac7(0x281),a2_0x218ac7(0x210))[a2_0x218ac7(0x211)](async _0x161aa1=>{const _0x3d69a0=a2_0x218ac7,_0x124a06=new AuthClearCommand(),_0x2ea0e8=program[_0x3d69a0(0x4ad)](),_0x131ad8=await _0x124a06[_0x3d69a0(0x409)]({'options':{..._0x2ea0e8,..._0x161aa1},'args':[],'tdx':null});gracefulExit(_0x131ad8);});const userCmd=program['command'](a2_0x218ac7(0x30a))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x380)),userListAction=async _0x58b050=>{const _0x72a0fc=a2_0x218ac7,_0x12cb58=new UserListCommand(),_0x395e80=program[_0x72a0fc(0x4ad)](),_0x115beb=await createTDXInstance(_0x395e80),_0x1d3db9=await _0x12cb58['run']({'options':{..._0x395e80,..._0x58b050},'args':[],'tdx':_0x115beb});gracefulExit(_0x1d3db9);};userCmd[a2_0x218ac7(0x211)](async _0x3e5056=>{const _0x149b1e=a2_0x218ac7,_0x1635c8=new UserCommand(),_0x5454e5=program[_0x149b1e(0x4ad)](),_0x3cd211=await createTDXInstance(_0x5454e5),_0x2d6610=await _0x1635c8[_0x149b1e(0x409)]({'options':{..._0x5454e5,..._0x3e5056},'args':[],'tdx':_0x3cd211});gracefulExit(_0x2d6610);}),userCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x30b))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x255))[a2_0x218ac7(0x211)](userListAction),program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d7))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x41a))['action'](userListAction);const policyCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4a8))[a2_0x218ac7(0x3b0)]('Access\x20control\x20policy\x20commands');policyCmd[a2_0x218ac7(0x211)](async _0x2a73af=>{const _0x567473=a2_0x218ac7,_0x532472=new PolicyCommand(),_0x194cd2=program[_0x567473(0x4ad)](),_0x380cf0=await createTDXInstance(_0x194cd2),_0x2617b0=await _0x532472[_0x567473(0x409)]({'options':{..._0x194cd2,..._0x2a73af},'args':[],'tdx':_0x380cf0});gracefulExit(_0x2617b0);}),policyCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x30b))[a2_0x218ac7(0x3b0)]('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')[a2_0x218ac7(0x211)](async _0x4ff321=>{const _0x339cb6=a2_0x218ac7,_0x2d5119=new PolicyListCommand(),_0x4d42fd=program[_0x339cb6(0x4ad)](),_0x48664d=await createTDXInstance(_0x4d42fd),_0x3e385d=await _0x2d5119[_0x339cb6(0x409)]({'options':{..._0x4d42fd,..._0x4ff321},'args':[],'tdx':_0x48664d});gracefulExit(_0x3e385d);}),policyCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1f3))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2f7))[a2_0x218ac7(0x211)](async(_0x503a99,_0xa3afd5)=>{const _0x51c232=new PolicyShowCommand(),_0x2e9c5b=program['opts'](),_0x31e944=await createTDXInstance(_0x2e9c5b),_0x59a3bc=await _0x51c232['run']({'options':{..._0x2e9c5b,..._0xa3afd5},'args':[_0x503a99],'tdx':_0x31e944});gracefulExit(_0x59a3bc);}),program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2e8))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x268))[a2_0x218ac7(0x211)](async _0x442090=>{const _0x4ba237=a2_0x218ac7,_0x1c88ef=new ProfilesCommand(),_0xf456b7=program[_0x4ba237(0x4ad)](),_0x4499bb=await _0x1c88ef[_0x4ba237(0x409)]({'options':{..._0xf456b7,..._0x442090},'args':[],'tdx':null});gracefulExit(_0x4499bb);});const profileCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3cc))['description'](a2_0x218ac7(0x250));profileCmd[a2_0x218ac7(0x211)](()=>{const _0xb4db0e=a2_0x218ac7;profileCmd[_0xb4db0e(0x4a7)]();});const profileListAction=async _0x452c7a=>{const _0xdeb1da=a2_0x218ac7,_0x56b9ec=new ProfilesCommand(),_0x5dfbf3=program['opts'](),_0x5a53cf=await _0x56b9ec[_0xdeb1da(0x409)]({'options':{..._0x5dfbf3,..._0x452c7a},'args':[],'tdx':null});gracefulExit(_0x5a53cf);};profileCmd['command'](a2_0x218ac7(0x30b))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x268))[a2_0x218ac7(0x211)](profileListAction),profileCmd['command'](a2_0x218ac7(0x4a2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1f8))['addHelpText'](a2_0x218ac7(0x281),a2_0x218ac7(0x4c7))['action'](async(_0x5d5784,_0x1bcf21)=>{const _0x35ce30=a2_0x218ac7,_0x531583=new ProfileCreateCommand(),_0xfc6bc6=program[_0x35ce30(0x4ad)](),_0x194e4c=await _0x531583[_0x35ce30(0x409)]({'options':{..._0xfc6bc6,..._0x1bcf21},'args':_0x5d5784?[_0x5d5784]:[],'tdx':null});gracefulExit(_0x194e4c);}),profileCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x364))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1d8))[a2_0x218ac7(0x343)](a2_0x218ac7(0x281),a2_0x218ac7(0x3f0))[a2_0x218ac7(0x211)](async(_0x2cd600,_0x213599)=>{const _0x1b6633=a2_0x218ac7,_0x3dcfc5=new ProfileRemoveCommand(),_0x304628=program[_0x1b6633(0x4ad)](),_0x4ca995=await _0x3dcfc5[_0x1b6633(0x409)]({'options':{..._0x304628,..._0x213599},'args':[_0x2cd600],'tdx':null});gracefulExit(_0x4ca995);}),profileCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x474))['description'](a2_0x218ac7(0x1c6))[a2_0x218ac7(0x343)](a2_0x218ac7(0x281),a2_0x218ac7(0x299))[a2_0x218ac7(0x211)](async(_0x4b2d99,_0x3ffd49)=>{const _0x1b03e9=a2_0x218ac7,_0x2c3ee0=new ProfileSetCommand(),_0x555fe1=program[_0x1b03e9(0x4ad)](),_0x1e20eb=await _0x2c3ee0['run']({'options':{..._0x555fe1,..._0x3ffd49},'args':[_0x4b2d99],'tdx':null});gracefulExit(_0x1e20eb);}),profileCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x20f))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3bf))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3e3),a2_0x218ac7(0x21e))[a2_0x218ac7(0x343)](a2_0x218ac7(0x281),a2_0x218ac7(0x2f8))[a2_0x218ac7(0x211)](async(_0xc5beac,_0x9b430f)=>{const _0x35a1ea=a2_0x218ac7,_0x3167c5=new ProfileUseCommand(),_0x31cad2=program[_0x35a1ea(0x4ad)](),_0x3f72e6=await _0x3167c5['run']({'options':{..._0x31cad2,..._0x9b430f},'args':[_0xc5beac],'tdx':null});gracefulExit(_0x3f72e6);});const engageCmd=program[a2_0x218ac7(0x25a)]('engage')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x300)),createEngageAction=_0x1cee7b=>{return async(_0x593955,_0x5e7afa)=>{const _0x251b19=a2_0x2627,_0x161b18=new _0x1cee7b(),_0x1fc872=program[_0x251b19(0x4ad)](),_0x2a2788=await createTDXInstance(_0x1fc872),_0x3d1ed5=await _0x161b18['run']({'options':{..._0x1fc872,..._0x5e7afa},'args':[_0x593955],'tdx':_0x2a2788});gracefulExit(_0x3d1ed5);};},createEngageNoArgAction=_0x1b53ab=>{return async _0x352e02=>{const _0x9c24d0=a2_0x2627,_0x2be9a3=new _0x1b53ab(),_0x28dab3=program[_0x9c24d0(0x4ad)](),_0x316d77=await createTDXInstance(_0x28dab3),_0x22e8a2=await _0x2be9a3[_0x9c24d0(0x409)]({'options':{..._0x28dab3,..._0x352e02},'args':[],'tdx':_0x316d77});gracefulExit(_0x22e8a2);};},createEngageListAction=_0x126f58=>{return async(_0x560331,_0x1219b9)=>{const _0x26d910=a2_0x2627,_0xcf0eca=new _0x126f58(),_0x35b29e=program['opts'](),_0x254465=await createTDXInstance(_0x35b29e),_0x55cc93=await _0xcf0eca[_0x26d910(0x409)]({'options':{..._0x35b29e,..._0x1219b9},'args':_0x560331?[_0x560331]:[],'tdx':_0x254465});gracefulExit(_0x55cc93);};},campaignCmd=engageCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x431))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x227));campaignCmd[a2_0x218ac7(0x25a)]('list\x20[pattern]')[a2_0x218ac7(0x3b0)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x45c),a2_0x218ac7(0x2fa))[a2_0x218ac7(0x47c)]('--status\x20<status>',a2_0x218ac7(0x22c))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x402))[a2_0x218ac7(0x3b0)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x45c),a2_0x218ac7(0x2fa))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3de),a2_0x218ac7(0x22c))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x211)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x259))['description'](a2_0x218ac7(0x3d1))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),'Workspace\x20name')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x34b),a2_0x218ac7(0x39d))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2bb))['description'](a2_0x218ac7(0x417))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x473),a2_0x218ac7(0x1ee))[a2_0x218ac7(0x3ea)]('--type\x20<type>',a2_0x218ac7(0x3be))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x3d2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4aa),a2_0x218ac7(0x40c))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3f8),a2_0x218ac7(0x4b8))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x382),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x218ac7(0x47c)]('--json-columns\x20<cols>',a2_0x218ac7(0x446))[a2_0x218ac7(0x47c)]('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x218ac7(0x47c)]('--timezone\x20<tz>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x218ac7(0x211)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x218ac7(0x332))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2e7))['option'](a2_0x218ac7(0x1cd),'Workspace\x20name')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x473),'New\x20campaign\x20name')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4aa),'Campaign\x20description')['option']('--segment\x20<path>',a2_0x218ac7(0x4b8))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x382),a2_0x218ac7(0x22b))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1de),a2_0x218ac7(0x446))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x278),a2_0x218ac7(0x1d5))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x43c),a2_0x218ac7(0x4ab))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command']('delete\x20<name-or-id>')[a2_0x218ac7(0x3b0)]('Delete\x20a\x20campaign')['option'](a2_0x218ac7(0x1cd),'Workspace\x20name')['option'](a2_0x218ac7(0x354),a2_0x218ac7(0x2d2))[a2_0x218ac7(0x211)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x218ac7(0x25a)]('launch\x20<name-or-id>')[a2_0x218ac7(0x3b0)]('Launch\x20a\x20campaign')['option'](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x211)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x244))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3ad))[a2_0x218ac7(0x47c)]('--workspace\x20<name>',a2_0x218ac7(0x2cb))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x218ac7(0x25a)]('resume\x20<name-or-id>')['description'](a2_0x218ac7(0x219))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x211)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1db))[a2_0x218ac7(0x3b0)]('Duplicate\x20a\x20campaign')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x384))['description']('Pull\x20campaigns\x20to\x20YAML\x20files')[a2_0x218ac7(0x47c)]('--workspace\x20<name>',a2_0x218ac7(0x2cb))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x473),a2_0x218ac7(0x407))['option'](a2_0x218ac7(0x45c),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option']('--dry-run',a2_0x218ac7(0x2a0))[a2_0x218ac7(0x211)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x218ac7(0x25a)]('push\x20[target]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x23d))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))['option']('--dry-run',a2_0x218ac7(0x486))[a2_0x218ac7(0x211)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2c4))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x28d))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4dd),a2_0x218ac7(0x228))[a2_0x218ac7(0x211)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x247))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x323));alwaysOnCampaignCmd['command']('list\x20[pattern]')['description'](a2_0x218ac7(0x40d))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x45c),a2_0x218ac7(0x2fa))['option']('--status\x20<status>',a2_0x218ac7(0x454))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x3d2))[a2_0x218ac7(0x211)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1eb))['description'](a2_0x218ac7(0x284))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x45c),a2_0x218ac7(0x2fa))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3de),a2_0x218ac7(0x454))[a2_0x218ac7(0x3ea)]('--workspace\x20<name>',a2_0x218ac7(0x3d2))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x259))['description']('Show\x20always-on\x20campaign\x20details')['requiredOption']('--workspace\x20<name>',a2_0x218ac7(0x3d2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x34b),a2_0x218ac7(0x39d))['action'](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2bb))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2ce))['requiredOption'](a2_0x218ac7(0x473),a2_0x218ac7(0x1ee))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x45c),a2_0x218ac7(0x3be))['requiredOption'](a2_0x218ac7(0x1cd),a2_0x218ac7(0x3d2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4aa),'Campaign\x20description')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3f8),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2e6),a2_0x218ac7(0x376))['action'](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x218ac7(0x332))[a2_0x218ac7(0x3b0)]('Update\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x218ac7(0x1cd),a2_0x218ac7(0x3d2))[a2_0x218ac7(0x47c)]('--name\x20<name>','New\x20campaign\x20name')[a2_0x218ac7(0x47c)]('--description\x20<desc>',a2_0x218ac7(0x40c))['option']('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2e6),a2_0x218ac7(0x376))[a2_0x218ac7(0x211)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd['command'](a2_0x218ac7(0x39f))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x275))['requiredOption'](a2_0x218ac7(0x1cd),'Workspace\x20name\x20(required)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x354),a2_0x218ac7(0x2d2))[a2_0x218ac7(0x211)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2b4))[a2_0x218ac7(0x3b0)]('Launch\x20an\x20always-on\x20campaign')[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x3d2))[a2_0x218ac7(0x211)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x218ac7(0x25a)]('pause\x20<name-or-id>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x310))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x3d2))[a2_0x218ac7(0x211)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x218ac7(0x25a)]('resume\x20<name-or-id>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x337))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x3d2))[a2_0x218ac7(0x211)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x388))[a2_0x218ac7(0x3b0)]('Finish\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x218ac7(0x1cd),a2_0x218ac7(0x3d2))['option'](a2_0x218ac7(0x354),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1db))['description'](a2_0x218ac7(0x377))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x1cd),'Workspace\x20name\x20(required)')['requiredOption']('--name\x20<name>',a2_0x218ac7(0x42c))['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x218ac7(0x2aa))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x279));templateCmd['command'](a2_0x218ac7(0x4d2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x44b))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x211)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x41b))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x464))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x211)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x259))['description'](a2_0x218ac7(0x3c4))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x47c)]('--full',a2_0x218ac7(0x39d))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd['command']('create')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3e1))[a2_0x218ac7(0x3ea)]('--name\x20<name>',a2_0x218ac7(0x4b1))['requiredOption'](a2_0x218ac7(0x383),a2_0x218ac7(0x289))['option'](a2_0x218ac7(0x4e1),'HTML\x20template\x20content')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x330),a2_0x218ac7(0x2a2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x3d2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1f1),a2_0x218ac7(0x2a6))['option']('--editor-type\x20<type>',a2_0x218ac7(0x3b5),_0x479a8c=>{const _0x2dee79=a2_0x218ac7;if(![_0x2dee79(0x307),'grapesjs'][_0x2dee79(0x405)](_0x479a8c))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x2dee79(0x2fb)+_0x479a8c+_0x2dee79(0x269));return _0x479a8c;})[a2_0x218ac7(0x211)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x218ac7(0x25a)]('update\x20<name-or-id>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x463))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x47c)]('--name\x20<name>','New\x20template\x20name')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x383),a2_0x218ac7(0x289))['option']('--html\x20<html>',a2_0x218ac7(0x3e9))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x330),a2_0x218ac7(0x2a2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1f1),a2_0x218ac7(0x2a6))[a2_0x218ac7(0x211)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x218ac7(0x25a)]('pull\x20[workspace]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4e2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x47c)]('--name\x20<name>',a2_0x218ac7(0x4e9))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x401),a2_0x218ac7(0x2d2))['option']('--dry-run',a2_0x218ac7(0x2a0))[a2_0x218ac7(0x211)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command'](a2_0x218ac7(0x3b1))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x38e))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),'Workspace\x20name')['option'](a2_0x218ac7(0x401),a2_0x218ac7(0x2d2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x26e),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x218ac7(0x211)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x218ac7(0x25a)]('validate\x20[target]')[a2_0x218ac7(0x3b0)]('Validate\x20template\x20YAML\x20files\x20locally')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4dd),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x218ac7(0x211)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x39f))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x35e))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x1cd),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x47c)]('--yes',a2_0x218ac7(0x2d2))[a2_0x218ac7(0x211)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x27e))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1c7));workspaceCmd['command'](a2_0x218ac7(0x4d2))['description'](a2_0x218ac7(0x2d4))[a2_0x218ac7(0x211)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2fc))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3a0))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x218ac7(0x259))[a2_0x218ac7(0x3b0)]('Show\x20workspace\x20details')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x34b),a2_0x218ac7(0x39d))[a2_0x218ac7(0x211)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x218ac7(0x2bb))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1cc))['requiredOption'](a2_0x218ac7(0x473),a2_0x218ac7(0x2cb))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4aa),'Workspace\x20description')[a2_0x218ac7(0x211)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x218ac7(0x25a)]('update\x20<name-or-id>')['description'](a2_0x218ac7(0x3da))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x473),a2_0x218ac7(0x45e))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4aa),a2_0x218ac7(0x487))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x39f))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x433))['option'](a2_0x218ac7(0x354),a2_0x218ac7(0x2d2))[a2_0x218ac7(0x211)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x20f))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x35f))[a2_0x218ac7(0x211)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command']('delivery')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x203));deliveryCmd['command'](a2_0x218ac7(0x4e7))['description'](a2_0x218ac7(0x280))[a2_0x218ac7(0x47c)]('--workspace\x20<name>','Workspace\x20name')[a2_0x218ac7(0x211)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d8))[a2_0x218ac7(0x3b0)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x141232=>{const _0x2de8d0=a2_0x218ac7,_0x4890f0=new ConnectionListCommand(),_0x19570c=program[_0x2de8d0(0x4ad)](),_0x5da783=await createTDXInstance(_0x19570c),_0x51ef44=await _0x4890f0[_0x2de8d0(0x409)]({'options':{..._0x19570c,..._0x141232},'args':[],'tdx':_0x5da783});gracefulExit(_0x51ef44);};connectionCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x30b))[a2_0x218ac7(0x3b0)]('List\x20all\x20data\x20connections')[a2_0x218ac7(0x211)](connectionListAction),program['command'](a2_0x218ac7(0x23b),{'hidden':!![]})[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4a1))[a2_0x218ac7(0x211)](connectionListAction),connectionCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x215))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x461))[a2_0x218ac7(0x211)](async(_0xf7e846,_0x30c1dd)=>{const _0x153dc0=a2_0x218ac7,_0x1ecbe8=new ConnectionShowCommand(),_0xbc610a=program[_0x153dc0(0x4ad)](),_0x1c56b8=await createTDXInstance(_0xbc610a),_0x3eee8e=await _0x1ecbe8[_0x153dc0(0x409)]({'options':{..._0xbc610a,..._0x30c1dd},'args':[_0xf7e846],'tdx':_0x1c56b8});gracefulExit(_0x3eee8e);}),connectionCmd[a2_0x218ac7(0x25a)]('schema\x20<type>')['description'](a2_0x218ac7(0x33e))[a2_0x218ac7(0x211)](async(_0x7a0ee2,_0x408b7f)=>{const _0x1c6124=a2_0x218ac7,_0x1df654=new ConnectionSchemaCommand(),_0x29f29f=program[_0x1c6124(0x4ad)](),_0x5eb667=await createTDXInstance(_0x29f29f),_0x389d1a=await _0x1df654[_0x1c6124(0x409)]({'options':{..._0x29f29f,..._0x408b7f},'args':[_0x7a0ee2],'tdx':_0x5eb667});gracefulExit(_0x389d1a);}),connectionCmd['command']('types')['description'](a2_0x218ac7(0x2ec))[a2_0x218ac7(0x211)](async _0x2f96f2=>{const _0x405d7e=a2_0x218ac7,_0x154687=new ConnectionTypesCommand(),_0x5edfe3=program[_0x405d7e(0x4ad)](),_0x5c1ff5=await createTDXInstance(_0x5edfe3),_0x1808c7=await _0x154687['run']({'options':{..._0x5edfe3,..._0x2f96f2},'args':[],'tdx':_0x5c1ff5});gracefulExit(_0x1808c7);}),connectionCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1e1))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1ec))[a2_0x218ac7(0x211)](async(_0x2e0ddd,_0x26c502)=>{const _0x3e04a2=a2_0x218ac7,_0x592487=new ConnectionSettingsCommand(),_0x383b39=program['opts'](),_0x57fda8=await createTDXInstance(_0x383b39),_0x5c2518=await _0x592487[_0x3e04a2(0x409)]({'options':{..._0x383b39,..._0x26c502},'args':[_0x2e0ddd],'tdx':_0x57fda8});gracefulExit(_0x5c2518);});const casCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3a6))['description']('Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)');casCmd[a2_0x218ac7(0x25a)]('list')[a2_0x218ac7(0x3b0)]('List\x20composable\x20audiences')['action'](async _0x7a2f84=>{const _0x25592a=new CASListCommand(),_0x4b5398=program['opts'](),_0x1fe322=await createTDXInstance(_0x4b5398),_0x46a9f6=await _0x25592a['run']({'options':{..._0x4b5398,..._0x7a2f84},'args':[],'tdx':_0x1fe322});gracefulExit(_0x46a9f6);}),casCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x1d0))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x445))[a2_0x218ac7(0x211)](async(_0xa446ef,_0x54b5f8)=>{const _0x4a70ae=a2_0x218ac7,_0x5297b=new CASDescCommand(),_0x257ed8=program['opts'](),_0x17ff14=await createTDXInstance(_0x257ed8),_0x43e3da=await _0x5297b[_0x4a70ae(0x409)]({'options':{..._0x257ed8,..._0x54b5f8},'args':_0xa446ef?[_0xa446ef]:[],'tdx':_0x17ff14});gracefulExit(_0x43e3da);}),casCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x23c))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x451))['option'](a2_0x218ac7(0x4bc),a2_0x218ac7(0x2a8))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x26e),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x218ac7(0x211)](async(_0x19e015,_0x40a5cf)=>{const _0x599a6f=a2_0x218ac7,_0x3f9a21=new CASPullCommand(),_0x36a1e6=program[_0x599a6f(0x4ad)](),_0x584dda=await createTDXInstance(_0x36a1e6),_0x596cbb=await _0x3f9a21[_0x599a6f(0x409)]({'options':{..._0x36a1e6,..._0x40a5cf},'args':_0x19e015?[_0x19e015]:[],'tdx':_0x584dda});gracefulExit(_0x596cbb);}),casCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3b1))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x40b))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x26e),a2_0x218ac7(0x408))[a2_0x218ac7(0x211)](async(_0x56b2bd,_0x4eefb0)=>{const _0x3ae331=a2_0x218ac7,_0x17e449=new CASPushCommand(),_0x3ef20d=program[_0x3ae331(0x4ad)](),_0x5d3a8b=await createTDXInstance(_0x3ef20d),_0xf4ad62=await _0x17e449[_0x3ae331(0x409)]({'options':{..._0x3ef20d,..._0x4eefb0},'args':_0x56b2bd?[_0x56b2bd]:[],'tdx':_0x5d3a8b});gracefulExit(_0xf4ad62);}),casCmd['command']('preview\x20<segment_name>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4c2))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x410),a2_0x218ac7(0x3f7))[a2_0x218ac7(0x211)](async(_0x33875d,_0x14e806)=>{const _0xf5df01=a2_0x218ac7,_0x36e13f=new CASPreviewCommand(),_0x75ca0e=program[_0xf5df01(0x4ad)](),_0x884399=await createTDXInstance(_0x75ca0e),_0x2a62ac=await _0x36e13f[_0xf5df01(0x409)]({'options':{..._0x75ca0e,..._0x14e806},'args':[_0x33875d,_0x14e806[_0xf5df01(0x469)]],'tdx':_0x884399});gracefulExit(_0x2a62ac);});const casSgCmd=casCmd[a2_0x218ac7(0x25a)]('sg')[a2_0x218ac7(0x3b0)]('Composable\x20segment\x20commands');casSgCmd[a2_0x218ac7(0x25a)]('list\x20[audience_name]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x359))['action'](async(_0x5ce243,_0x22d086)=>{const _0xcbfd64=a2_0x218ac7,_0x3582f9=new CASSegmentListCommand(),_0x2e13c9=program[_0xcbfd64(0x4ad)](),_0x3ecddf=await createTDXInstance(_0x2e13c9),_0x156b61=await _0x3582f9[_0xcbfd64(0x409)]({'options':{..._0x2e13c9,..._0x22d086},'args':_0x5ce243?[_0x5ce243]:[],'tdx':_0x3ecddf});gracefulExit(_0x156b61);});const journeyCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x442))[a2_0x218ac7(0x3b0)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x20a0db,_0x589b65)=>{const _0x442f24=new JourneyListCommand(),_0xef158e=program['opts'](),_0x4c2c00=await createTDXInstance(_0xef158e),_0x2b36f0=await _0x442f24['run']({'options':{..._0xef158e,..._0x589b65},'args':_0x20a0db?[_0x20a0db]:[],'tdx':_0x4c2c00});gracefulExit(_0x2b36f0);};journeyCmd['command'](a2_0x218ac7(0x4d2))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4ec))['action'](journeyListAction),journeyCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d4))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2e2))['option'](a2_0x218ac7(0x413),a2_0x218ac7(0x49d))['option'](a2_0x218ac7(0x3c3),a2_0x218ac7(0x266))[a2_0x218ac7(0x211)](async(_0x22668b,_0x4263b2)=>{const _0x2cb639=a2_0x218ac7,_0x122ab5=new JourneyViewCommand(),_0x12d018=program[_0x2cb639(0x4ad)](),_0x485e06=await createTDXInstance(_0x12d018),_0x21cd04=await _0x122ab5[_0x2cb639(0x409)]({'options':{..._0x12d018,..._0x4263b2},'args':[_0x22668b],'tdx':_0x485e06});gracefulExit(_0x21cd04);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x218ac7(0x3b0)]('Show\x20journey\x20statistics')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x245),a2_0x218ac7(0x2ca))['option'](a2_0x218ac7(0x20c),a2_0x218ac7(0x427))['option']('--to\x20<date>',a2_0x218ac7(0x439))[a2_0x218ac7(0x47c)]('--include-history',a2_0x218ac7(0x265))['action'](async(_0xee375a,_0xd3447b)=>{const _0x58d41b=a2_0x218ac7,_0x37fddc=new JourneyStatsCommand(),_0x51048d=program[_0x58d41b(0x4ad)](),_0x5c407a=await createTDXInstance(_0x51048d),_0x754c16=await _0x37fddc[_0x58d41b(0x409)]({'options':{..._0x51048d,..._0xd3447b},'args':[_0xee375a],'tdx':_0x5c407a});gracefulExit(_0x754c16);}),journeyCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x318))[a2_0x218ac7(0x3b0)]('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')['option'](a2_0x218ac7(0x45c),a2_0x218ac7(0x45f))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x20c),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x452),a2_0x218ac7(0x439))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2d1),a2_0x218ac7(0x29d),_0x42c127=>{const _0x2e3e91=a2_0x218ac7,_0x712e4e=parseInt(_0x42c127,0xa);if(isNaN(_0x712e4e))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x42c127+_0x2e3e91(0x3ff));return _0x712e4e;})[a2_0x218ac7(0x211)](async(_0x22762f,_0x52bb80)=>{const _0x33d3f3=a2_0x218ac7,_0x450749=new JourneyTrafficCommand(),_0x39127a=program['opts'](),_0x3d2c7d=await createTDXInstance(_0x39127a),_0x47f916=await _0x450749[_0x33d3f3(0x409)]({'options':{..._0x39127a,..._0x52bb80},'args':[_0x22762f],'tdx':_0x3d2c7d});gracefulExit(_0x47f916);}),journeyCmd['command'](a2_0x218ac7(0x33c))['description']('Pause\x20a\x20running\x20journey')[a2_0x218ac7(0x211)](async(_0x3a76ae,_0xaddf7d)=>{const _0x5557e2=new JourneyPauseCommand(),_0x530c64=program['opts'](),_0x46f547=await createTDXInstance(_0x530c64),_0x1352a2=await _0x5557e2['run']({'options':{..._0x530c64,..._0xaddf7d},'args':[_0x3a76ae],'tdx':_0x46f547});gracefulExit(_0x1352a2);}),journeyCmd['command'](a2_0x218ac7(0x3b4))[a2_0x218ac7(0x3b0)]('Resume\x20a\x20paused\x20journey')[a2_0x218ac7(0x211)](async(_0x20898d,_0x267ef3)=>{const _0x1d6768=a2_0x218ac7,_0x2d2f3d=new JourneyResumeCommand(),_0x5ad9b3=program[_0x1d6768(0x4ad)](),_0x1deb39=await createTDXInstance(_0x5ad9b3),_0x599e22=await _0x2d2f3d['run']({'options':{..._0x5ad9b3,..._0x267ef3},'args':[_0x20898d],'tdx':_0x1deb39});gracefulExit(_0x599e22);}),journeyCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x23c))['description'](a2_0x218ac7(0x394))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x26e),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x218ac7(0x211)](async(_0x594dc4,_0x218730)=>{const _0x300c82=a2_0x218ac7,_0x4dcb34=new JourneyPullCommand(),_0x1ba1b2=program[_0x300c82(0x4ad)](),_0xa1e0b8=await createTDXInstance(_0x1ba1b2),_0x2e4647=await _0x4dcb34[_0x300c82(0x409)]({'options':{..._0x1ba1b2,..._0x218730},'args':_0x594dc4?[_0x594dc4]:[],'tdx':_0xa1e0b8});gracefulExit(_0x2e4647);}),journeyCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3b1))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x48e))['action'](async(_0x3e3697,_0x55b1c6)=>{const _0x36cd5d=a2_0x218ac7,_0x5e92ba=new JourneyPushCommand(),_0x4473e3=program[_0x36cd5d(0x4ad)](),_0x59e397=await createTDXInstance(_0x4473e3),_0x3edc15=await _0x5e92ba['run']({'options':{..._0x4473e3,..._0x55b1c6},'args':_0x3e3697?[_0x3e3697]:[],'tdx':_0x59e397});gracefulExit(_0x3edc15);}),journeyCmd[a2_0x218ac7(0x25a)]('columns\x20<name-or-path>')['description'](a2_0x218ac7(0x224))['action'](async(_0x44b159,_0x339f39)=>{const _0x1f9932=a2_0x218ac7,_0x2359d6=new JourneyColumnsCommand(),_0x38571a=program[_0x1f9932(0x4ad)](),_0x2cade9=await createTDXInstance(_0x38571a),_0x52199a=await _0x2359d6[_0x1f9932(0x409)]({'options':{..._0x38571a,..._0x339f39},'args':[_0x44b159],'tdx':_0x2cade9});gracefulExit(_0x52199a);}),journeyCmd[a2_0x218ac7(0x25a)]('activations\x20<name-or-path>')['description'](a2_0x218ac7(0x209))[a2_0x218ac7(0x211)](async(_0x49f437,_0x21c0f0)=>{const _0x41ce02=a2_0x218ac7,_0x188bce=new JourneyActivationsCommand(),_0x40cd46=program[_0x41ce02(0x4ad)](),_0x274972=await createTDXInstance(_0x40cd46),_0x1e06ed=await _0x188bce['run']({'options':{..._0x40cd46,..._0x21c0f0},'args':[_0x49f437],'tdx':_0x274972});gracefulExit(_0x1e06ed);}),journeyCmd[a2_0x218ac7(0x25a)]('versions\x20<name-or-path>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3cd))[a2_0x218ac7(0x211)](async(_0x14cf15,_0x224813)=>{const _0x591d5c=a2_0x218ac7,_0x2a36e1=new JourneyVersionsCommand(),_0x384e1b=program[_0x591d5c(0x4ad)](),_0xfdc885=await createTDXInstance(_0x384e1b),_0x1e1ee7=await _0x2a36e1['run']({'options':{..._0x384e1b,..._0x224813},'args':[_0x14cf15],'tdx':_0xfdc885});gracefulExit(_0x1e1ee7);});const journeyVersionCmd=journeyCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x3cb))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x1c3));journeyVersionCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x273))['description'](a2_0x218ac7(0x282))['action'](async(_0x204e34,_0x4a588d)=>{const _0xffc1ee=a2_0x218ac7,_0x56ed02=new JourneyVersionCreateCommand(),_0x2afd89=program[_0xffc1ee(0x4ad)](),_0x505577=await createTDXInstance(_0x2afd89),_0x4abaa5=await _0x56ed02['run']({'options':{..._0x2afd89,..._0x4a588d},'args':[_0x204e34],'tdx':_0x505577});gracefulExit(_0x4abaa5);}),journeyVersionCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x4d4))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x48b))[a2_0x218ac7(0x3ea)](a2_0x218ac7(0x1f9),a2_0x218ac7(0x25e))[a2_0x218ac7(0x211)](async(_0x16807b,_0x3e5739)=>{const _0x58497b=a2_0x218ac7,_0x297ca7=new JourneyVersionViewCommand(),_0x1df2a1=program[_0x58497b(0x4ad)](),_0x28678a=await createTDXInstance(_0x1df2a1),_0x22624a=await _0x297ca7[_0x58497b(0x409)]({'options':{..._0x1df2a1,..._0x3e5739},'args':[_0x16807b],'tdx':_0x28678a});gracefulExit(_0x22624a);}),journeyCmd['command'](a2_0x218ac7(0x2c4))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x301))['action'](async(_0x484874,_0xfc7408)=>{const _0x5ca80a=a2_0x218ac7,_0x49eb87=new JourneyValidateCommand(),_0x5d44a6=program[_0x5ca80a(0x4ad)](),_0x27db20=await createTDXInstance(_0x5d44a6),_0x48d5ad=await _0x49eb87[_0x5ca80a(0x409)]({'options':{..._0x5d44a6,..._0xfc7408},'args':_0x484874?[_0x484874]:[],'tdx':_0x27db20});gracefulExit(_0x48d5ad);}),program[a2_0x218ac7(0x25a)]('journeys\x20[pattern]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x49b))[a2_0x218ac7(0x211)](journeyListAction);function a2_0x2253(){const _0x57fbe0=['--name\x20<text>','Updated\x20schedule\x20option','show\x20<folder_ref>','allowUnknownOption','\x22.\x20Must\x20be\x20a\x20number.','--trace','-y,\x20--yes','campaigns\x20[pattern]','--session-id\x20<id>','validate\x20[file]','includes','Include\x20subtasks\x20in\x20tasks\x20output','Pull\x20specific\x20campaign\x20by\x20name','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','run','--invisible','Push\x20YAML\x20files\x20to\x20CAS\x20API','Campaign\x20description','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Authentication\x20management','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','--audience\x20<name>','Include\x20retried\x20attempts\x20(for\x20list)','commandDescription','-w,\x20--web','retry','Usage:\x20','--limit\x20<n>','Create\x20a\x20new\x20campaign','push\x20[path]','Push\x20without\x20confirmation','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','templates\x20[pattern]','--in\x20<db>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','LLM\x20project\x20management','preview\x20[name]','createAsync','buildTime','directory','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','update\x20<service_id>\x20[parent_segment]','Delete\x20a\x20scheduled\x20query','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Preview\x20without\x20creating\x20the\x20project','-f,\x20--force','Pause\x20activations\x20in\x20an\x20RT\x20journey','map','Name\x20for\x20the\x20duplicated\x20campaign','--no-color','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Skip\x20population\x20counting','--no-proxy','campaign','--new','Delete\x20a\x20workspace','preview\x20[file]','--table','Maximum\x20rows\x20to\x20display','use\x20<project-name>','projects\x20[pattern]','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--llm-project\x20<name>','attempt','--timezone\x20<tz>','--jsonl','tdx','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Output\x20as\x20JSON\x20Lines','--type\x20<api_type>','journey','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Master\x20database\x20name','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','optionTerm','--schedule-option\x20<value>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','show\x20[table]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','allowExcessArguments','--priority\x20<-2~2>','use\x20[project]','Workflow\x20parameter\x20(repeatable)','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','--to\x20<date>','Run\x20tests\x20for\x20an\x20LLM\x20agent','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Skip\x20validation\x20of\x20.dig\x20files','[action]','retry\x20<session-id>','init\x20[name]','--rule-file\x20<file>','Show\x20schedule\x20execution\x20history','join','--type\x20<type>','tasks','New\x20workspace\x20name','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Output\x20as\x20JSON','Show\x20connection\x20details\x20by\x20name','show\x20<agent-name>','Update\x20an\x20email\x20template','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','table','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','session','audience','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--catalog\x20<catalog>','570993gMrxnn','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Override\x20project\x20name','Change\x20to\x20directory\x20before\x20executing\x20command','--add-behaviors\x20<json>','List\x20agents\x20in\x20current\x20project','options','--name\x20<name>','set\x20<key=value>','--behavior\x20[name]','Clear\x20workflow\x20project\x20context','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','folder','push','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','option','Show\x20schedule\x20details','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','update\x20<name>','board','[task-name]','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','-v,\x20--verbose','then','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Workspace\x20description','--audience-id\x20<id>','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','noColor','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Table\x20management\x20commands','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Project\x20description','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Manage\x20workflow\x20project\x20secrets','pull\x20<project>\x20[target-dir]','configuration_versions\x20[name]','subcommandDescription','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','--allowed-ips\x20<ips>','[attempt-id]','secrets','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--max-tool-iterations\x20<n>','Open\x20journey\x20in\x20web\x20browser','--kind\x20<type>','-X,\x20--method\x20<method>','RT\x202.0\x20configuration\x20management','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','create\x20[name]','--clear','Job\x20management\x20commands','push\x20[file]','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','outputHelp','policy','Interactive\x20chat\x20selector','--description\x20<desc>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','get','opts','Starting\x20offset\x20(default:\x200)','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Run\x20specific\x20tests\x20(comma-separated)','Template\x20name','Timezone\x20for\x20cron','claude\x20[args...]','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Updated\x20timezone','Agent\x20name','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--session-time\x20<time>','Initial\x20status','Update\x20an\x20existing\x20agent','--dir\x20<dir>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Get\x20job\x20results',',\x20version\x20','--temperature\x20<n>','Preview\x20composable\x20segment\x20query\x20on\x20CDW','--param\x20<key=value>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','-d,\x20--database\x20<database>','\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','-f,\x20--file\x20<path>','Add\x20behaviors\x20from\x20JSON\x20file','15944hiwPJu','parse','Task\x20name\x20for\x20logs\x20action','--tags\x20<tags>','format','upload\x20[project-name-or-dir]','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Set\x20or\x20show\x20parent\x20segment\x20context','list\x20[pattern]','delete\x20<personalization_id>','view\x20<name-or-path>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','-p,\x20--profile\x20<name>','users','connection','Timezone\x20(e.g.,\x20America/Los_Angeles)','databases\x20[pattern]','-r,\x20--resume','Service\x20description','--verbose','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Arguments:','--html\x20<html>','Pull\x20templates\x20to\x20YAML\x20files','--interval\x20<range>','registeredArguments','Preview\x20operation\x20without\x20executing','info\x20[segment_name]','senders\x20[pattern]','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Pull\x20specific\x20template\x20by\x20name','gitRevision','validate\x20[name]','List\x20journeys\x20in\x20current\x20context','delete\x20<name>','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','0.7','Journey\x20version\x20management','--output\x20<file>','Workflow\x20session\x20management','Set\x20a\x20profile\x20configuration\x20value','Workspace\x20management','Query\x20type:\x20trino\x20or\x20hive','stdout','update\x20<segment_name>','error','Create\x20a\x20workspace','--workspace\x20<name>','describe\x20[table]','padEnd','desc\x20[name]','--to\x20<n>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','slice','mcp','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','us01','--json','Remove\x20a\x20profile','--last','logLevel','duplicate\x20<name-or-id>','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--json-columns\x20<cols>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Setup\x20API\x20key\x20authentication\x20interactively','settings\x20<type>','login','database','tsv','Database\x20name\x20(default:\x20information_schema)','Reason\x20for\x20killing\x20the\x20attempt','...','Parent\x20segment\x20management','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','Read\x20request\x20body\x20from\x20file','always-on-campaigns\x20[pattern]','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','pause_activations\x20<journeyId>','Campaign\x20name','clear','Show\x20timeline\x20for\x20specific\x20attempt','--plaintext\x20<text>','timeline\x20[project.workflow]','show\x20<policy>','New\x20segment\x20name','954rSwzgM','Resume\x20from\x20specific\x20task','Get\x20current\x20RT\x20configuration\x20version\x20status','Create\x20a\x20new\x20profile','--version\x20<number>','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Database\x20name','Personalization\x20description','Continue\x20most\x20recent\x20conversation','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','AI-native\x20work\x20management','Commands:','Workflow\x20(Digdag)\x20management\x20commands','Delivery\x20operations\x20(email\x20senders)','--delay\x20<seconds>','token','job','--force','accessToken','List\x20activations\x20for\x20a\x20journey','list\x20[path]','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','--from\x20<date>','replace','--delete','use\x20<name>','\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','action','argv','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','--prompt\x20<text>','show\x20<name>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Query\x20engine\x20version','pull\x20[project]\x20[agent-name]','Resume\x20a\x20paused\x20campaign','claude-4.5-sonnet','--body\x20<body>','Folder\x20name\x20for\x20organization','List\x20jobs','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Maximum\x20recursion\x20depth\x20(default:\x2010)','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Parent\x20folder\x20name\x20for\x20nested\x20folders','--site\x20<site>','Show\x20journey\x20table\x20column-to-step\x20mapping','--name\x20<new-name>','Add\x20attributes\x20as\x20JSON\x20string','Campaign\x20management','Show\x20all\x20files\x20including\x20valid\x20ones','--include-subtasks','argumentDescription','Email\x20sender\x20ID\x20for\x20delivery','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--to\x20<timestamp>','create\x20<parent_name>\x20<folder_name>','-a,\x20--agent\x20<name>','--max-depth\x20<depth>','Enable\x20verbose\x20logging','summary','move\x20<name>\x20<status>','-H,\x20--header\x20<header>','long','--include-retried','push\x20[source-dir]','Save\x20output\x20to\x20file','history\x20[chat-id]','--from\x20<n>','connections','pull\x20[name]','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','exit','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--engine-version\x20<version>','sql\x20[name]','status','pause\x20<name-or-id>','--stage\x20<name>','Show\x20only\x20master\x20table\x20validation','always-on-campaign','--folder\x20<name>','-r,\x20--recursive','delete\x20<agent-name>','Show\x20document\x20details','run\x20[name]','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','argumentTerm','\x20-\x20built\x20','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','length','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','List\x20all\x20users\x20in\x20the\x20account','show\x20<personalization_id>','entries','Master\x20table\x20name','show\x20<name-or-id>','command','site','backup\x20<name>','--params\x20<json>','Version\x20number\x20to\x20view','view\x20[segment_name]','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Read\x20SQL\x20query\x20from\x20file','download\x20<project-name>\x20[output-dir]','--from\x20<timestamp>','Include\x20raw\x20history\x20data\x20in\x20output','Include\x20execution\x20statistics','--assignee\x20<assignee>','List\x20all\x20available\x20profiles','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Read\x20query\x20from\x20file','Remove\x20API\x20key\x20from\x20system\x20keychain','history\x20<name>','Retry\x20limit\x20(0\x20to\x2032)','--dry-run','use\x20[resource]\x20[value]','desc','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Name\x20for\x20the\x20new\x20project\x20(required)','create\x20<name-or-path>','describe','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Workflow\x20project\x20management','Agent\x20prompt/instructions','--start-at\x20<datetime>','Email\x20template\x20management','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Delete\x20an\x20LLM\x20project','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','workspace','hook','List\x20email\x20senders','after','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','YAML\x20file\x20path\x20for\x20unpushed\x20segment','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Create\x20segment\x20folder','--result\x20<url>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','optionDescription','Email\x20subject\x20template','--github\x20<owner/repo>','folders\x20<parent_name>','preAction','Validate\x20campaign\x20YAML\x20files\x20locally','delete\x20<token_id>\x20[parent_segment]','Create\x20a\x20scheduled\x20query','parent-segment','Make\x20segment\x20invisible\x20(default:\x20visible)','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','parents\x20[pattern]','chat\x20[message...]','Preview\x20changes\x20without\x20pushing','agents\x20[pattern]','--result\x20<target>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','\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','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Make\x20service\x20public\x20(default:\x20private)','models','Maximum\x20number\x20of\x20nodes','--revision\x20<revision>','show\x20<service_id>\x20[parent_segment]','Show\x20what\x20would\x20be\x20written\x20without\x20writing','jobs','Read\x20HTML\x20template\x20from\x20file','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Show\x20master\x20table\x20sample\x20data','kill','Plaintext\x20template\x20content','auth','Target\x20directory\x20for\x20YAML\x20files','Generate\x20test\x20conversations\x20without\x20evaluation','template','Show\x20the\x20most\x20recent\x20chat','Agent\x20description','--sections\x20<json>','create\x20<segment_name>','segments\x20[path]','subcommandTerm','Directory\x20does\x20not\x20exist:\x20','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','update\x20<agent-name>','launch\x20<name-or-id>','Updated\x20description','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Open\x20segment\x20in\x20web\x20browser','INVALID_ARGUMENT','--database\x20<name>','create','--rule\x20<json>','service','1101156BdkPPz','padWidth','Start\x20a\x20new\x20chat\x20session','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20agent\x20details','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','validate\x20[target]','--no-eval','repeat','alias','patch\x20<personalization_id>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Show\x20stats\x20for\x20specific\x20stage','Workspace\x20name','-u,\x20--use','Database\x20name\x20(required)','Create\x20a\x20new\x20always-on\x20campaign','--add-attributes\x20<json>','trace','--limit\x20<number>','Skip\x20confirmation\x20prompt','10xCKmTn','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Priority\x20(critical,\x20high,\x20medium,\x20low)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','trino','--agent\x20<ref>','--skip-validation','Delete\x20an\x20agent','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','unset\x20<resource>','Folder\x20description','Show\x20segment\x20details\x20(alias\x20for\x20view)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Limit\x20number\x20of\x20rows','Show\x20journey\x20details','argument','--table\x20<table>','agent','--enable-utm-tracking','Update\x20a\x20campaign','profiles','734448vugIQx','--public','List\x20secret\x20keys\x20for\x20a\x20project','List\x20available\x20connector\x20types','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','engage_workspace','view\x20[name]','Create\x20a\x20new\x20LLM\x20project','Filtering\x20rule\x20as\x20JSON\x20string','colorFn','1118051gWcBja','--parent-segment\x20<name>','run\x20[workflow]','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','\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','--master','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Invalid\x20editor\x20type:\x20','workspaces\x20[pattern]','2vMEFVj','--database\x20<db>','Add\x20behaviors\x20as\x20JSON\x20string','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Validate\x20journey\x20YAML\x20files\x20locally','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Apply\x20a\x20template','Result\x20output\x20destination\x20URL','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','beefree','Attributes\x20from\x20JSON\x20file','--session\x20<id>','user','list','sql\x20[segment_name]','name','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Run\x20Trino\x20query\x20with\x20streaming\x20results','Pause\x20an\x20always-on\x20campaign','split','result\x20<job-id>','--name\x20<new_name>','Sections\x20as\x20an\x20inline\x20JSON\x20array','Trino\x20catalog\x20(default:\x20td)','run\x20<name>','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','traffic\x20<name-or-path>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','12pWDkfw','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Behaviors\x20as\x20JSON\x20string','project','--priority\x20<priority>','upgrade\x20[version]','End\x20time\x20filter\x20(ISO\x208601\x20format)','--add-attributes-file\x20<file>','Always-on\x20campaign\x20management','Behaviors\x20from\x20JSON\x20file','New\x20service\x20description','--no-count-population','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Delete\x20a\x20realtime\x20personalization','--description\x20<text>','--file\x20<path>','Open\x20parent\x20segment\x20in\x20web\x20browser','Maximum\x20tool\x20iterations\x20(default:\x204)','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','chats','isTTY','--html-file\x20<path>','attempt:','update\x20<name-or-id>','activations\x20<segment_name>','filter','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Resume\x20a\x20paused\x20always-on\x20campaign','Clear\x20session\x20context','Job\x20priority\x20(-2\x20to\x202)','--attributes-file\x20<file>','--enriched','pause\x20<name-or-path>','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','variadic','Output\x20directory','log','--schedule-type\x20<type>','addHelpText','Output\x20file\x20path','tdx\x20','--model\x20<name>','required','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','sessions\x20[project]','--full','schedule','api\x20[endpoint]','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','LLM\x20agent\x20management','Segment\x20description','use\x20[name]','Show\x20Kanban\x20board\x20view\x20of\x20tasks','Output\x20folder\x20(default:\x20{project_name}.llm)','--yes','Output\x20file\x20path\x20(default:\x20<name>.yml)','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--in\x20<database>','List\x20composable\x20segments\x20for\x20an\x20audience','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Token\x20description','--format\x20<format>','Options:','Delete\x20an\x20email\x20template','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Customer\x20group\x20from\x20JSON\x20file','Cron\x20expression\x20for\x20scheduling','-C,\x20--directory\x20<path>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','remove\x20<name>','-1d','Parse\x20and\x20validate\x20without\x20executing','resume_activations\x20<journeyId>','use\x20<path>','commands','--template\x20<name>','Include\x20retried\x20attempts','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','166360KLrSmI','Filtering\x20rule\x20from\x20JSON\x20file','Skip\x20confirmation\x20prompts','Request\x20body\x20as\x20JSON\x20string','Create\x20a\x20new\x20agent\x20in\x20current\x20project','isDirectory','--cron\x20<expression>','--parent-folder\x20<name>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Enable\x20UTM\x20tracking','Duplicate\x20an\x20always-on\x20campaign','--time\x20<iso8601>','--next','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Document\x20body\x20text','Timezone\x20for\x20cron\x20(default:\x20UTC)','desc\x20[segment_name]','Preview\x20changes\x20without\x20writing\x20files','--color','User\x20management\x20commands','--starter-message\x20<text>','--email-sender-id\x20<id>','--subject\x20<subject>','pull\x20[workspace-name]','links\x20<name>','delete\x20<service_id>\x20[parent_segment]','hidden','finish\x20<name-or-id>','Show\x20a\x20specific\x20realtime\x20personalization','Run\x20a\x20scheduled\x20query\x20immediately','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Set\x20operation\x20timeout\x20in\x20seconds','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Custom\x20revision\x20name\x20(default:\x20timestamp)','set','New\x20service\x20name','parent_segment','Export\x20journey(s)\x20as\x20YAML\x20files','Action:\x20logs,\x20tasks,\x20kill,\x20retry','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Show\x20authentication\x20status\x20and\x20current\x20context','skills','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Assignee','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','-d,\x20--database\x20<db>','delete\x20<name-or-id>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Resume\x20a\x20conversation\x20(shows\x20selector)','Database\x20management\x20commands','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--reeval','cas','Scheduled\x20query\x20management\x20commands','llm','Force\x20retry\x20even\x20if\x20not\x20failed','help','upgrade','\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','Pause\x20a\x20campaign','--version','list\x20[project]','description','push\x20[target]','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Pull\x20workflow\x20project\x20to\x20local\x20folder','resume\x20<name-or-path>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','--retry-limit\x20<0~32>','create\x20<name>\x20<service_id>\x20[parent_segment]','stringify','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','CDP\x20segment\x20management\x20commands','Resume\x20activations\x20in\x20an\x20RT\x20journey','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Add\x20attributes\x20from\x20JSON\x20file','Campaign\x20type\x20(email\x20or\x20push)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Check\x20for\x20updates\x20without\x20installing','Open\x20a\x20document\x20in\x20$EDITOR','create\x20<name>','--include-stats','Show\x20email\x20template\x20details','--behaviors\x20<json>','-c,\x20--continue','workflow','--from-task\x20<task>','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','attempts\x20[project]','version','profile','List\x20all\x20versions\x20of\x20a\x20journey','--attributes\x20<json>','INFO','--attribute\x20[name]','Show\x20campaign\x20details','Workspace\x20name\x20(required)','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Personalization\x20name','Personalization\x20service\x20management','create\x20<name>\x20[parent_segment]','--tsv','pull\x20[parent_or_file]','Update\x20a\x20workspace','usage','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','chdir','--status\x20<status>','--folder-id\x20<id>','injectIntoOptions','Create\x20an\x20email\x20template','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--default','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--reason\x20<text>','Starter\x20message','restore\x20<folder>','Update\x20a\x20realtime\x20personalization\x20entity','HTML\x20template\x20content','requiredOption','-o,\x20--output\x20<dir>','_hidden','-o,\x20--output\x20<file>','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','json','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','61126lyfdIq','List\x20available\x20LLM\x20models','TRACE','System\x20prompt/instructions\x20(default:\x20empty)','logs','Composable\x20audience\x20name','--segment\x20<path>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','--behaviors-file\x20<file>'];a2_0x2253=function(){return _0x57fbe0;};return a2_0x2253();}const agentSyncCmd=program[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2e5))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x34f));agentSyncCmd['command'](a2_0x218ac7(0x218))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x27d))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x3eb),a2_0x218ac7(0x340))[a2_0x218ac7(0x47c)]('-f,\x20--force','Overwrite\x20local\x20changes\x20without\x20confirmation')['option'](a2_0x218ac7(0x22f),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x218ac7(0x211)](async(_0x10e121,_0x54a632,_0x269b78)=>{const _0x5b708c=a2_0x218ac7,_0x299464=new AgentPullCommand(),_0x542ce7=program['opts'](),_0x3c502b=await createTDXInstance(_0x542ce7),_0x18c36f=[];if(_0x10e121)_0x18c36f[_0x5b708c(0x479)](_0x10e121);if(_0x54a632)_0x18c36f[_0x5b708c(0x479)](_0x54a632);const _0x172365=await _0x299464[_0x5b708c(0x409)]({'options':{..._0x542ce7,..._0x269b78},'args':_0x18c36f,'tdx':_0x3c502b});gracefulExit(_0x172365);}),agentSyncCmd['command'](a2_0x218ac7(0x418))['description']('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')['option'](a2_0x218ac7(0x429),a2_0x218ac7(0x419))[a2_0x218ac7(0x211)](async(_0x3be9c5,_0x3910bc)=>{const _0x5a2c8f=a2_0x218ac7,_0x53f78b=new AgentPushCommand(),_0x21bd34=program[_0x5a2c8f(0x4ad)](),_0x3e9d45=await createTDXInstance(_0x21bd34),_0x2f0240=await _0x53f78b[_0x5a2c8f(0x409)]({'options':{..._0x21bd34,..._0x3910bc},'args':_0x3be9c5?[_0x3be9c5]:[],'tdx':_0x3e9d45});gracefulExit(_0x2f0240);}),agentSyncCmd[a2_0x218ac7(0x25a)]('clone\x20[source]')['description'](a2_0x218ac7(0x3c9))[a2_0x218ac7(0x47c)]('-n,\x20--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x218ac7(0x211)](async(_0x5cb58b,_0x296aed)=>{const _0x4e25a8=a2_0x218ac7,_0xaf31fd=new AgentCloneCommand(),_0x5ae0d9=program['opts'](),_0x51984b=await createTDXInstance(_0x5ae0d9),_0x258ffd=await _0xaf31fd[_0x4e25a8(0x409)]({'options':{..._0x5ae0d9,..._0x296aed},'args':_0x5cb58b?[_0x5cb58b]:[],'tdx':_0x51984b});gracefulExit(_0x258ffd);}),agentSyncCmd['command']('test\x20[path]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x453))[a2_0x218ac7(0x47c)]('--name\x20<names>',a2_0x218ac7(0x4b0))[a2_0x218ac7(0x47c)]('--tags\x20<tags>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x26e),a2_0x218ac7(0x366))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x2c5),a2_0x218ac7(0x2a9))['option'](a2_0x218ac7(0x3a5),a2_0x218ac7(0x260))[a2_0x218ac7(0x211)](async(_0x35db00,_0x26c60d)=>{const _0x1c0b01=a2_0x218ac7,_0x4a1be4=new AgentTestCommand(),_0x11f643=program[_0x1c0b01(0x4ad)](),_0x3264bb=await createTDXInstance(_0x11f643),_0x46b995=await _0x4a1be4['run']({'options':{..._0x11f643,..._0x26c60d},'args':_0x35db00?[_0x35db00]:[],'tdx':_0x3264bb});gracefulExit(_0x46b995);}),agentSyncCmd[a2_0x218ac7(0x25a)]('list\x20[pattern]')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x471))[a2_0x218ac7(0x211)](llmAgentListAction),agentSyncCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x462))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x2c2))[a2_0x218ac7(0x211)](async(_0xb1b2f0,_0x37cf44)=>{const _0x3d48d4=a2_0x218ac7,_0x39be8c=new LLMAgentShowCommand(),_0xdf5fde=program['opts'](),_0x2e5a2b=await createTDXInstance(_0xdf5fde),_0x231c51=await _0x39be8c[_0x3d48d4(0x409)]({'options':{..._0xdf5fde,..._0x37cf44},'args':[_0xb1b2f0],'tdx':_0x2e5a2b});gracefulExit(_0x231c51);}),agentSyncCmd[a2_0x218ac7(0x25a)]('create\x20<name>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x371))[a2_0x218ac7(0x47c)]('--system-prompt\x20<text>',a2_0x218ac7(0x3f5))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x346),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x218ac7(0x21a))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x381),a2_0x218ac7(0x3e6))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x49c),a2_0x218ac7(0x32c),'4')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4c1),a2_0x218ac7(0x357),a2_0x218ac7(0x1c2))[a2_0x218ac7(0x211)](async(_0x9f6804,_0x1a3872)=>{const _0x442444=a2_0x218ac7,_0x3a2a5b=new LLMAgentCreateCommand(),_0xe5fa9e=program[_0x442444(0x4ad)](),_0x2936bc=await createTDXInstance(_0xe5fa9e),_0x7111d1=await _0x3a2a5b['run']({'options':{..._0xe5fa9e,..._0x1a3872},'args':[_0x9f6804],'tdx':_0x2936bc});gracefulExit(_0x7111d1);}),agentSyncCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x2b3))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x4bb))['option'](a2_0x218ac7(0x3fb),a2_0x218ac7(0x4b6))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x214),a2_0x218ac7(0x277))[a2_0x218ac7(0x47c)]('--description\x20<text>',a2_0x218ac7(0x2ac))['option'](a2_0x218ac7(0x381),a2_0x218ac7(0x3e6))[a2_0x218ac7(0x211)](async(_0x84c9d5,_0x273a51)=>{const _0x48da2c=a2_0x218ac7,_0xa25bb1=new LLMAgentUpdateCommand(),_0x25f19c=program['opts'](),_0x49f2c0=await createTDXInstance(_0x25f19c),_0x4bb2f4=await _0xa25bb1[_0x48da2c(0x409)]({'options':{..._0x25f19c,..._0x273a51},'args':[_0x84c9d5],'tdx':_0x49f2c0});gracefulExit(_0x4bb2f4);}),agentSyncCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x24a))['description'](a2_0x218ac7(0x2db))['action'](async(_0x8bdb01,_0x397518)=>{const _0x571018=a2_0x218ac7,_0x236b98=new LLMAgentDeleteCommand(),_0x125e89=program['opts'](),_0x3aa90d=await createTDXInstance(_0x125e89),_0xaa2c2f=await _0x236b98[_0x571018(0x409)]({'options':{..._0x125e89,..._0x397518},'args':[_0x8bdb01],'tdx':_0x3aa90d});gracefulExit(_0xaa2c2f);});const workCmd=program['command']('work')['description'](a2_0x218ac7(0x200));workCmd[a2_0x218ac7(0x211)](workSummaryAction),workCmd['command'](a2_0x218ac7(0x458))[a2_0x218ac7(0x3b0)]('Initialize\x20a\x20new\x20workspace')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x28a),a2_0x218ac7(0x424))[a2_0x218ac7(0x211)](workInitAction),workCmd[a2_0x218ac7(0x25a)]('new\x20<title>')[a2_0x218ac7(0x3b0)]('Create\x20a\x20new\x20document')[a2_0x218ac7(0x47c)]('--kind\x20<kind>','Document\x20kind\x20(task,\x20goal,\x20note,\x20plan,\x20record)','task')[a2_0x218ac7(0x47c)](a2_0x218ac7(0x4cd),'Comma-separated\x20tags')['option'](a2_0x218ac7(0x31f),a2_0x218ac7(0x2d6))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x21b),a2_0x218ac7(0x37b))[a2_0x218ac7(0x47c)](a2_0x218ac7(0x36a),a2_0x218ac7(0x304))[a2_0x218ac7(0x47c)]('--status\x20<status>',a2_0x218ac7(0x4ba))['option'](a2_0x218ac7(0x267),a2_0x218ac7(0x39c))['action'](workNewAction),workCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x233))['description']('Transition\x20a\x20task\x20to\x20a\x20new\x20status')[a2_0x218ac7(0x211)](workMoveAction),workCmd['command'](a2_0x218ac7(0x480))[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x352))[a2_0x218ac7(0x211)](workBoardAction),workCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x215))['description'](a2_0x218ac7(0x24b))[a2_0x218ac7(0x211)](workShowAction),workCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x385))[a2_0x218ac7(0x3b0)]('Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document')[a2_0x218ac7(0x211)](workLinksAction),workCmd[a2_0x218ac7(0x25a)]('open\x20<name>')[a2_0x218ac7(0x3b0)](a2_0x218ac7(0x3c1))[a2_0x218ac7(0x211)](workOpenAction),workCmd[a2_0x218ac7(0x25a)](a2_0x218ac7(0x399))[a2_0x218ac7(0x3b0)]('List\x20workspace\x20skills')['action'](workSkillsAction),program['command']('_list-commands',{'hidden':!![]})['action'](()=>{const _0x354f9f=a2_0x218ac7;function _0x51d72d(_0x20b648,_0x35e7c7){const _0xf5b289=a2_0x2627,_0x4c509f=[];for(const _0x19f941 of _0x20b648[_0xf5b289(0x369)]){if(_0x19f941[_0xf5b289(0x3ec)])continue;const _0xa5b052=_0x35e7c7?_0x35e7c7+'\x20'+_0x19f941[_0xf5b289(0x30d)]():_0x19f941[_0xf5b289(0x30d)](),_0x2537a7=_0xa5b052[_0xf5b289(0x311)]('\x20')[0x0],_0x44348f=COMMAND_CATEGORIES['find'](_0x49ea75=>_0x49ea75[_0xf5b289(0x369)][_0xf5b289(0x405)](_0x2537a7)),_0x97a29c=_0x44348f?.[_0xf5b289(0x30d)]??'';if(_0x19f941[_0xf5b289(0x369)][_0xf5b289(0x253)]>0x0)_0x4c509f[_0xf5b289(0x479)](..._0x51d72d(_0x19f941,_0xa5b052));else{const _0x5147d5=(_0x19f941[_0xf5b289(0x4e4)]||[])[_0xf5b289(0x42b)](_0x563850=>{const _0x3aaf4d=_0xf5b289,_0xa292ec=_0x563850[_0x3aaf4d(0x33f)]?_0x563850[_0x3aaf4d(0x30d)]()+_0x3aaf4d(0x1e7):_0x563850['name']();return _0x563850['required']?'<'+_0xa292ec+'>':'['+_0xa292ec+']';})[_0xf5b289(0x45b)]('\x20'),_0x11568c=_0x19f941['options'][_0xf5b289(0x334)](_0xaf510c=>!_0xaf510c[_0xf5b289(0x387)]&&_0xaf510c[_0xf5b289(0x235)]!=='--help')[_0xf5b289(0x42b)](_0x31cbc1=>({'flags':_0x31cbc1['flags'],'description':_0x31cbc1[_0xf5b289(0x3b0)]}));_0x4c509f['push']({'name':_0xa5b052,'description':_0x19f941[_0xf5b289(0x3b0)](),'group':_0x97a29c,'usage':_0x5147d5,'options':_0x11568c});}}return _0x4c509f;}console[_0x354f9f(0x341)](JSON[_0x354f9f(0x3b8)](_0x51d72d(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x49bf47=a2_0x218ac7,_0x1b8ec8=!process[_0x49bf47(0x212)][_0x49bf47(0x1d3)](0x2)[_0x49bf47(0x253)];showBriefHelp=_0x1b8ec8,program[_0x49bf47(0x4cb)](process['argv']);_0x1b8ec8&&program[_0x49bf47(0x4a7)]();const _0x33207b=process[_0x49bf47(0x212)][0x2]===_0x49bf47(0x3ab);if(process['stderr'][_0x49bf47(0x32f)]&&process[_0x49bf47(0x212)][_0x49bf47(0x253)]>0x2&&!isDevVersion()&&!_0x33207b){const _0x5b6101=loadReleaseChannel();checkForUpdate(currentVersion,_0x5b6101)[_0x49bf47(0x484)](_0x19bd70=>{_0x19bd70&&displayUpdateNotification(_0x19bd70);})['catch'](()=>{});}}
1
+ const a2_0x16aa97=a2_0x4753;(function(_0x38ea93,_0x9828c9){const _0x1609dc=a2_0x4753,_0x2ea3d6=_0x38ea93();while(!![]){try{const _0x5b965e=-parseInt(_0x1609dc(0x1a0))/0x1*(parseInt(_0x1609dc(0x320))/0x2)+-parseInt(_0x1609dc(0x407))/0x3+-parseInt(_0x1609dc(0x361))/0x4*(parseInt(_0x1609dc(0x1ae))/0x5)+parseInt(_0x1609dc(0x165))/0x6*(-parseInt(_0x1609dc(0x3c5))/0x7)+-parseInt(_0x1609dc(0x422))/0x8*(parseInt(_0x1609dc(0x288))/0x9)+-parseInt(_0x1609dc(0x3f1))/0xa+parseInt(_0x1609dc(0x3a9))/0xb*(parseInt(_0x1609dc(0x254))/0xc);if(_0x5b965e===_0x9828c9)break;else _0x2ea3d6['push'](_0x2ea3d6['shift']());}catch(_0x52b99f){_0x2ea3d6['push'](_0x2ea3d6['shift']());}}}(a2_0xc346,0xe9730));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv']['includes'](a2_0x16aa97(0x3f4))){let versionOutput=a2_0x16aa97(0x1ca)+currentVersion;buildInfo[a2_0x16aa97(0x354)]&&!currentVersion[a2_0x16aa97(0x284)](buildInfo[a2_0x16aa97(0x354)])&&(versionOutput+='\x20('+buildInfo[a2_0x16aa97(0x354)]+')'),buildInfo[a2_0x16aa97(0x1d2)]&&(versionOutput+=a2_0x16aa97(0x38b)+buildInfo[a2_0x16aa97(0x1d2)]),console['log'](versionOutput),process[a2_0x16aa97(0x291)](0x0);}const program=new Command();export function mergeCommandOptions(_0x26894d,_0x393d35){const _0x3831f7=a2_0x16aa97,_0x2d1b74={..._0x26894d};for(const [_0x5dc197,_0x32aad]of Object[_0x3831f7(0x2e7)](_0x393d35)){_0x32aad!==undefined&&(_0x2d1b74[_0x5dc197]=_0x32aad);}return _0x2d1b74;}let showBriefHelp=![],description=a2_0x16aa97(0x417);buildInfo[a2_0x16aa97(0x354)]&&!currentVersion['includes'](buildInfo['gitRevision'])?description+=a2_0x16aa97(0x396)+currentVersion+'\x20('+buildInfo[a2_0x16aa97(0x354)]+')':description+=a2_0x16aa97(0x396)+currentVersion;program[a2_0x16aa97(0x224)](a2_0x16aa97(0x442))['description'](description),program['option'](a2_0x16aa97(0x1f8),a2_0x16aa97(0x2a6))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2d7),a2_0x16aa97(0x28b))[a2_0x16aa97(0x296)]('--site\x20<site>',a2_0x16aa97(0x27e),a2_0x16aa97(0x441))[a2_0x16aa97(0x296)](a2_0x16aa97(0x181),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x1e1),a2_0x16aa97(0x251))[a2_0x16aa97(0x296)](a2_0x16aa97(0x329),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x16aa97(0x296)]('--jsonl',a2_0x16aa97(0x3e1))['option'](a2_0x16aa97(0x15e),a2_0x16aa97(0x3a0))['option'](a2_0x16aa97(0x184),a2_0x16aa97(0x1e8))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2a9),a2_0x16aa97(0x1df))[a2_0x16aa97(0x296)]('--color','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x16aa97(0x296)](a2_0x16aa97(0x133),a2_0x16aa97(0x1fd),![])[a2_0x16aa97(0x296)](a2_0x16aa97(0x38d),a2_0x16aa97(0x3fb),![])[a2_0x16aa97(0x296)](a2_0x16aa97(0x23c),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x2f1),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x252),a2_0x16aa97(0x451),'30')[a2_0x16aa97(0x296)](a2_0x16aa97(0x3be),'Preview\x20operation\x20without\x20executing',![])[a2_0x16aa97(0x296)](a2_0x16aa97(0x140),a2_0x16aa97(0x431),![])['option']('--session\x20<id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x315),a2_0x16aa97(0x43e))['option'](a2_0x16aa97(0x19f),a2_0x16aa97(0x364)),program[a2_0x16aa97(0x1ec)]({'formatHelp':(_0x23acb2,_0x488e88)=>{const _0x2c8aa1=a2_0x16aa97,_0x4b5126=_0x488e88[_0x2c8aa1(0x211)](_0x23acb2,_0x488e88),_0x531733=0x2,_0x438a3a=0x2;function _0xc1fc62(_0x1818a2){const _0x1d915d=_0x2c8aa1,_0x4da169=_0x1818a2;return!!(_0x4da169['_hidden']||_0x4da169[_0x1d915d(0x132)]);}function _0x131dce(_0x2ad867,_0x3fc684){const _0x5804e7=_0x2c8aa1;if(_0x3fc684){const _0x9e24d0=''+_0x2ad867[_0x5804e7(0x36e)](_0x4b5126+_0x438a3a)+_0x3fc684;return _0x9e24d0;}return _0x2ad867;}function _0x2dbb91(_0x51dd28){const _0x46c671=_0x2c8aa1;return _0x51dd28['join']('\x0a')[_0x46c671(0x1ea)](/^/gm,'\x20'[_0x46c671(0x362)](_0x531733));}const _0x15435e=[];_0x15435e[_0x2c8aa1(0x353)](_0x2c8aa1(0x297)+_0x488e88[_0x2c8aa1(0x37a)](_0x23acb2));const _0x278b4a=_0x488e88['commandDescription'](_0x23acb2);_0x278b4a&&(_0x15435e[_0x2c8aa1(0x353)](''),_0x15435e[_0x2c8aa1(0x353)](_0x278b4a));const _0x455e0d=_0x23acb2['commands'][_0x2c8aa1(0x363)](_0x1c2437=>!_0xc1fc62(_0x1c2437));if(_0x455e0d[_0x2c8aa1(0x2ff)]>0x0){if(_0x23acb2[_0x2c8aa1(0x224)]()===_0x2c8aa1(0x442)){const _0x370c7f=_0x23acb2[_0x2c8aa1(0x3b4)](),_0x32edce=!_0x370c7f['noColor']&&process[_0x2c8aa1(0x43d)][_0x2c8aa1(0x1f1)],_0x47c7d0=COMMAND_CATEGORIES,_0x12b844=(_0x39ce93,_0x27bd62)=>_0x32edce?_0x27bd62(_0x39ce93):_0x39ce93,_0xc86fe4=new Map();_0x455e0d[_0x2c8aa1(0x21f)](_0x4b4681=>{const _0x28e2c0=_0x2c8aa1;_0xc86fe4[_0x28e2c0(0x448)](_0x4b4681[_0x28e2c0(0x224)](),_0x4b4681);}),_0x47c7d0[_0x2c8aa1(0x21f)](_0x20d0e9=>{const _0x400f67=_0x2c8aa1,_0x3ec622=_0x20d0e9[_0x400f67(0x15b)][_0x400f67(0x34f)](_0x494b5c=>_0xc86fe4[_0x400f67(0x178)](_0x494b5c)??[]);if(_0x3ec622[_0x400f67(0x2ff)]>0x0){_0x15435e[_0x400f67(0x353)](''),_0x15435e['push'](_0x12b844(_0x20d0e9['name']+':',_0x20d0e9['colorFn']));const _0x375b2f=_0x3ec622[_0x400f67(0x264)](_0x5ca547=>{const _0x46267c=_0x400f67,_0x5b3b7c=_0x488e88[_0x46267c(0x410)](_0x5ca547),_0x1736b=_0x488e88[_0x46267c(0x389)](_0x5ca547);return _0x131dce(_0x5b3b7c,_0x1736b);});_0x15435e[_0x400f67(0x353)](_0x2dbb91(_0x375b2f));}}),_0x15435e['push'](''),_0x15435e[_0x2c8aa1(0x353)](_0x2c8aa1(0x3dd));}else{const _0x1c5e36=_0x455e0d[_0x2c8aa1(0x264)](_0xad6528=>{const _0x2a53a4=_0x2c8aa1,_0x4a93de=_0x488e88[_0x2a53a4(0x410)](_0xad6528),_0x4ec213=_0x488e88['subcommandDescription'](_0xad6528);return _0x131dce(_0x4a93de,_0x4ec213);});_0x15435e[_0x2c8aa1(0x353)](''),_0x15435e[_0x2c8aa1(0x353)](_0x2c8aa1(0x3b8)),_0x15435e[_0x2c8aa1(0x353)](_0x2dbb91(_0x1c5e36));}}if(showBriefHelp&&_0x23acb2[_0x2c8aa1(0x224)]()==='tdx')_0x15435e[_0x2c8aa1(0x353)](''),_0x15435e['push'](_0x2c8aa1(0x44e));else{const _0x50deaf=_0x23acb2[_0x2c8aa1(0x402)][_0x2c8aa1(0x363)](_0x4f8168=>!_0xc1fc62(_0x4f8168));if(_0x50deaf[_0x2c8aa1(0x2ff)]>0x0){const _0x6f9140=_0x50deaf[_0x2c8aa1(0x264)](_0x340770=>{const _0x5ed3d0=_0x2c8aa1,_0x4acd05=_0x488e88[_0x5ed3d0(0x263)](_0x340770),_0x1c9748=_0x488e88[_0x5ed3d0(0x41d)](_0x340770);return _0x131dce(_0x4acd05,_0x1c9748);});_0x15435e['push'](''),_0x15435e[_0x2c8aa1(0x353)](_0x2c8aa1(0x125)),_0x15435e[_0x2c8aa1(0x353)](_0x2dbb91(_0x6f9140));}}const _0x574646=(_0x23acb2[_0x2c8aa1(0x122)]||[])[_0x2c8aa1(0x363)](_0x2bbd5b=>!_0xc1fc62(_0x2bbd5b));if(_0x574646[_0x2c8aa1(0x2ff)]>0x0){const _0x5dc001=_0x574646['map'](_0x1a742f=>{const _0xcbc837=_0x2c8aa1,_0x3235cc=_0x488e88[_0xcbc837(0x2f2)](_0x1a742f),_0x444114=_0x488e88[_0xcbc837(0x2da)](_0x1a742f);return _0x131dce(_0x3235cc,_0x444114);});_0x15435e[_0x2c8aa1(0x353)](''),_0x15435e['push'](_0x2c8aa1(0x3b1)),_0x15435e[_0x2c8aa1(0x353)](_0x2dbb91(_0x5dc001));}return _0x15435e[_0x2c8aa1(0x3ab)]('\x0a')+'\x0a';},'subcommandTerm':_0x34227a=>{const _0x475383=a2_0x16aa97,_0xf5b996=(_0x34227a[_0x475383(0x122)]||[])[_0x475383(0x264)](_0x4f62e4=>_0x4f62e4[_0x475383(0x13d)]?'<'+_0x4f62e4[_0x475383(0x224)]()+'>':'['+_0x4f62e4['name']()+']')[_0x475383(0x3ab)]('\x20'),_0x1f0f3b=_0x34227a['aliases'](),_0x514a0d=_0x1f0f3b[_0x475383(0x2ff)]>0x0?_0x34227a[_0x475383(0x224)]()+',\x20'+_0x1f0f3b[_0x475383(0x3ab)](',\x20'):_0x34227a['name']();return _0xf5b996?_0x514a0d+'\x20'+_0xf5b996:_0x514a0d;}}),program[a2_0x16aa97(0x3aa)]('preAction',_0x492383=>{const _0x111d42=a2_0x16aa97,_0x196210=_0x492383['opts']();if(_0x196210[_0x111d42(0x421)]){const _0x157208=resolve(_0x196210[_0x111d42(0x421)]),_0x852f76=_0x157208!==_0x196210[_0x111d42(0x421)]?_0x111d42(0x3eb)+_0x157208+')':'';if(!existsSync(_0x157208))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x111d42(0x2d4)+_0x196210[_0x111d42(0x421)]+_0x852f76,undefined,{'helpText':_0x111d42(0x146)});const _0x1bed8a=statSync(_0x157208);if(!_0x1bed8a[_0x111d42(0x213)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x196210['directory']+_0x852f76,undefined,{'helpText':_0x111d42(0x202)});process[_0x111d42(0x391)](_0x157208);}if(!_0x196210[_0x111d42(0x1a9)]){if(_0x196210['table'])_0x196210[_0x111d42(0x1a9)]='table';else{if(_0x196210[_0x111d42(0x3ff)])_0x196210['format']=_0x111d42(0x3ff);else{if(_0x196210[_0x111d42(0x330)])_0x196210[_0x111d42(0x1a9)]=_0x111d42(0x330);else _0x196210[_0x111d42(0x3d1)]&&(_0x196210[_0x111d42(0x1a9)]='tsv');}}}if(_0x196210[_0x111d42(0x40a)])_0x196210[_0x111d42(0x2cc)]=LogLevel[_0x111d42(0x3b6)];else{if(_0x196210[_0x111d42(0x1b7)])_0x196210['logLevel']=LogLevel[_0x111d42(0x341)];else _0x196210[_0x111d42(0x2cc)]===undefined&&(_0x196210[_0x111d42(0x2cc)]=LogLevel[_0x111d42(0x345)]);}});async function createTDXInstance(_0x5c6d30){const _0x55bcdb=a2_0x16aa97,_0x538bf0=await GlobalContext[_0x55bcdb(0x1c8)](_0x5c6d30);_0x538bf0[_0x55bcdb(0x25f)](_0x5c6d30);const _0x3b1cde=Number(_0x5c6d30[_0x55bcdb(0x3f0)]),_0x44f009=!isNaN(_0x3b1cde)&&_0x3b1cde>0x0?_0x3b1cde*0x3e8:undefined;return TDX[_0x55bcdb(0x331)]({'site':_0x538bf0['site'],'apiKey':_0x538bf0[_0x55bcdb(0x3af)],'accessToken':_0x538bf0[_0x55bcdb(0x1f4)],'logLevel':_0x538bf0[_0x55bcdb(0x2cc)],'profile':_0x538bf0[_0x55bcdb(0x30e)],'timeout':_0x44f009});}const databaseCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x28a))[a2_0x16aa97(0x3fa)]('db')[a2_0x16aa97(0x458)](a2_0x16aa97(0x1f9)),databaseListAction=async(_0x5195f1,_0x50e69b)=>{const _0x5616d8=a2_0x16aa97,_0xa7bc65=new DatabasesCommand(),_0x4b0ac8=program[_0x5616d8(0x3b4)](),_0x59a8db=await createTDXInstance(_0x4b0ac8),_0x2f20e6=await _0xa7bc65[_0x5616d8(0x253)]({'options':{..._0x4b0ac8,..._0x50e69b},'args':_0x5195f1?[_0x5195f1]:[],'tdx':_0x59a8db});gracefulExit(_0x2f20e6);};databaseCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3b7))[a2_0x16aa97(0x381)](databaseListAction),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x39a),{'hidden':!![]})['description'](a2_0x16aa97(0x29e))[a2_0x16aa97(0x381)](databaseListAction),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x148))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1bc))['option'](a2_0x16aa97(0x31f),a2_0x16aa97(0x385))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b3),a2_0x16aa97(0x247))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1d5),a2_0x16aa97(0x237))[a2_0x16aa97(0x296)](a2_0x16aa97(0x31c),a2_0x16aa97(0x429))[a2_0x16aa97(0x381)](async(_0x4ade32,_0x26539b)=>{const _0x5ca51b=a2_0x16aa97,_0x239d74=program[_0x5ca51b(0x3b4)](),_0x27b881=await createTDXInstance(_0x239d74);if(_0x4ade32[0x0]===_0x5ca51b(0x331)){const _0x459852=new ChatCreateCommand();gracefulExit(await _0x459852['run']({'options':{..._0x239d74,..._0x26539b},'args':_0x4ade32[_0x5ca51b(0x375)](0x1),'tdx':_0x27b881}));return;}const _0x231bd4=new ChatCommand(),_0x59b7e2=await _0x231bd4[_0x5ca51b(0x253)]({'options':{..._0x239d74,..._0x26539b},'args':_0x4ade32,'tdx':_0x27b881});gracefulExit(_0x59b7e2);});const apiCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x267))[a2_0x16aa97(0x305)](a2_0x16aa97(0x40f))['addHelpText']('after',a2_0x16aa97(0x374))[a2_0x16aa97(0x296)](a2_0x16aa97(0x313),a2_0x16aa97(0x32a),a2_0x16aa97(0x3e8))['option']('--data\x20<data>',a2_0x16aa97(0x3e9))[a2_0x16aa97(0x296)](a2_0x16aa97(0x37b),a2_0x16aa97(0x3e0))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1b1),a2_0x16aa97(0x25a),(_0x4791a1,_0x4401f3)=>{return _0x4401f3?[..._0x4401f3,_0x4791a1]:[_0x4791a1];})['option']('--type\x20<api_type>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x16aa97(0x381)](async(_0x56e9ea,_0x396a44)=>{const _0x3b9181=a2_0x16aa97;if(!_0x56e9ea){apiCmd[_0x3b9181(0x190)]();return;}const _0x24414d=new ApiCommand(),_0x324a6e=program[_0x3b9181(0x3b4)](),_0x1d46c1=await createTDXInstance(_0x324a6e),_0x5eea79=await _0x24414d[_0x3b9181(0x253)]({'options':{..._0x324a6e,..._0x396a44},'args':[_0x56e9ea],'tdx':_0x1d46c1});gracefulExit(_0x5eea79);});program[a2_0x16aa97(0x1d1)]('mcp')[a2_0x16aa97(0x458)](a2_0x16aa97(0x2e1))['addHelpText'](a2_0x16aa97(0x144),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x16aa97(0x381)](async _0x85bcbd=>{const _0x5de9b8=a2_0x16aa97,_0x20458f=new MCPCommand(),_0xdbca8a=program[_0x5de9b8(0x3b4)](),_0xf55627=await createTDXInstance(_0xdbca8a),_0x45a9df=await _0x20458f[_0x5de9b8(0x253)]({'options':{..._0xdbca8a,..._0x85bcbd},'args':[],'tdx':_0xf55627});gracefulExit(_0x45a9df);});const tableCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x16f))[a2_0x16aa97(0x458)]('Table\x20management\x20commands'),tableListAction=async(_0x502015,_0x1ddb4b)=>{const _0x4b6a3b=a2_0x16aa97,_0x15d2b7=new TablesCommand(),_0x5a23f0=program[_0x4b6a3b(0x3b4)](),_0x580b99=await createTDXInstance(_0x5a23f0);_0x1ddb4b['in']&&(_0x1ddb4b['database']=_0x1ddb4b['in']);const _0x28484f=await _0x15d2b7[_0x4b6a3b(0x253)]({'options':{..._0x5a23f0,..._0x1ddb4b},'args':_0x502015?[_0x502015]:[],'tdx':_0x580b99});gracefulExit(_0x28484f);};tableCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1b4))[a2_0x16aa97(0x296)]('-d,\x20--database\x20<database>',a2_0x16aa97(0x1d7))['option'](a2_0x16aa97(0x145),a2_0x16aa97(0x321))[a2_0x16aa97(0x381)](tableListAction),program['command'](a2_0x16aa97(0x1e4),{'hidden':!![]})[a2_0x16aa97(0x458)](a2_0x16aa97(0x38f))[a2_0x16aa97(0x296)]('-d,\x20--database\x20<database>',a2_0x16aa97(0x1d7))[a2_0x16aa97(0x296)](a2_0x16aa97(0x145),a2_0x16aa97(0x321))['action'](tableListAction),program[a2_0x16aa97(0x1d1)]('show\x20[table]')['description'](a2_0x16aa97(0x12d))[a2_0x16aa97(0x296)](a2_0x16aa97(0x390),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option'](a2_0x16aa97(0x145),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x16aa97(0x381)](async(_0x280fda,_0x3e329c)=>{const _0x217e63=a2_0x16aa97,_0x134350=new ShowCommand(),_0x2ddc21=program['opts'](),_0x1e2651=await createTDXInstance(_0x2ddc21);_0x3e329c['in']&&(_0x3e329c['database']=_0x3e329c['in']);const _0x9f8109=await _0x134350[_0x217e63(0x253)]({'options':{..._0x2ddc21,..._0x3e329c},'args':_0x280fda?[_0x280fda]:[],'tdx':_0x1e2651});gracefulExit(_0x9f8109);}),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ed))['alias']('desc')[a2_0x16aa97(0x458)](a2_0x16aa97(0x2e0))['option'](a2_0x16aa97(0x390),a2_0x16aa97(0x323))[a2_0x16aa97(0x296)](a2_0x16aa97(0x145),a2_0x16aa97(0x321))[a2_0x16aa97(0x381)](async(_0x241e60,_0x3128ef)=>{const _0x58f8cc=a2_0x16aa97,_0x58ef4a=new DescribeCommand(),_0x14526d=program['opts'](),_0x18b175=await createTDXInstance(_0x14526d);_0x3128ef['in']&&(_0x3128ef[_0x58f8cc(0x28a)]=_0x3128ef['in']);const _0x5eea4b=await _0x58ef4a['run']({'options':{..._0x14526d,..._0x3128ef},'args':_0x241e60?[_0x241e60]:[],'tdx':_0x18b175});gracefulExit(_0x5eea4b);}),program[a2_0x16aa97(0x1d1)]('query\x20[sql]')[a2_0x16aa97(0x458)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x16aa97(0x296)]('-d,\x20--database\x20<database>',a2_0x16aa97(0x255))[a2_0x16aa97(0x296)](a2_0x16aa97(0x145),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x16aa97(0x296)]('--catalog\x20<catalog>',a2_0x16aa97(0x304))[a2_0x16aa97(0x296)](a2_0x16aa97(0x37b),'Read\x20SQL\x20query\x20from\x20file')[a2_0x16aa97(0x296)]('--limit\x20<rows>','Maximum\x20rows\x20to\x20display')['action'](async(_0x33d36b,_0x5c667f)=>{const _0x314c49=a2_0x16aa97,_0x12d022=new QueryCommand(),_0x5ce970=program[_0x314c49(0x3b4)](),_0x1c45c2=await createTDXInstance(_0x5ce970);_0x5c667f['in']&&(_0x5c667f[_0x314c49(0x28a)]=_0x5c667f['in']);const _0x39ba5e=await _0x12d022['run']({'options':mergeCommandOptions(_0x5ce970,_0x5c667f),'args':_0x33d36b?[_0x33d36b]:[],'tdx':_0x1c45c2});gracefulExit(_0x39ba5e);});const segmentCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2c6))[a2_0x16aa97(0x3fa)]('sg')['description']('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x1243bc,_0x42dc78)=>{const _0x13df8b=a2_0x16aa97,_0x40249f=new SegmentsCommand(),_0x5f0ade=program[_0x13df8b(0x3b4)](),_0x19a872=await createTDXInstance(_0x5f0ade),_0x420eb=await _0x40249f[_0x13df8b(0x253)]({'options':{..._0x5f0ade,..._0x42dc78},'args':_0x1243bc?[_0x1243bc]:[],'tdx':_0x19a872});gracefulExit(_0x420eb);};segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1a7))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2e2))[a2_0x16aa97(0x296)](a2_0x16aa97(0x37d),a2_0x16aa97(0x201))['option']('--max-depth\x20<depth>','Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x16aa97(0x381)](segmentListAction),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1bb),{'hidden':!![]})[a2_0x16aa97(0x458)](a2_0x16aa97(0x3bf))[a2_0x16aa97(0x296)](a2_0x16aa97(0x37d),a2_0x16aa97(0x201))['option'](a2_0x16aa97(0x456),a2_0x16aa97(0x303),'10')[a2_0x16aa97(0x381)](segmentListAction),segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x189),{'hidden':!![]})[a2_0x16aa97(0x458)](a2_0x16aa97(0x258))['action'](async(_0xa181a6,_0x1ffab9)=>{const _0x3c03b9=a2_0x16aa97,_0x37f3c1=new SegmentUseCommand(),_0x26997f=program[_0x3c03b9(0x3b4)](),_0x1b7bdd=await createTDXInstance(_0x26997f),_0x918437=await _0x37f3c1[_0x3c03b9(0x253)]({'options':{..._0x26997f,..._0x1ffab9},'args':[_0xa181a6],'tdx':_0x1b7bdd});gracefulExit(_0x918437);});const segmentViewAction=async(_0x744dec,_0x1f33d0)=>{const _0xe2fcf0=a2_0x16aa97,_0x4616a0=new SegmentViewCommand(),_0x14138d=program[_0xe2fcf0(0x3b4)](),_0x171efa=await createTDXInstance(_0x14138d),_0x15263d=await _0x4616a0[_0xe2fcf0(0x253)]({'options':{..._0x14138d,..._0x1f33d0},'args':_0x744dec?[_0x744dec]:[],'tdx':_0x171efa});gracefulExit(_0x15263d);};segmentCmd[a2_0x16aa97(0x1d1)]('view\x20[segment_name]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x225))[a2_0x16aa97(0x296)]('-w,\x20--web',a2_0x16aa97(0x1cf))[a2_0x16aa97(0x381)](segmentViewAction),segmentCmd[a2_0x16aa97(0x1d1)]('info\x20[segment_name]',{'hidden':!![]})[a2_0x16aa97(0x3fa)](a2_0x16aa97(0x33a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x423),a2_0x16aa97(0x1cf))[a2_0x16aa97(0x458)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x16aa97(0x381)](segmentViewAction),segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ca))['description'](a2_0x16aa97(0x203))[a2_0x16aa97(0x381)](async(_0x2731b7,_0x162039)=>{const _0x1f0fd9=a2_0x16aa97,_0x581a20=new SegmentDescCommand(),_0x215a4d=program[_0x1f0fd9(0x3b4)](),_0x5e9aad=await createTDXInstance(_0x215a4d),_0x36145a=await _0x581a20['run']({'options':{..._0x215a4d,..._0x162039},'args':_0x2731b7?[_0x2731b7]:[],'tdx':_0x5e9aad});gracefulExit(_0x36145a);}),segmentCmd['command'](a2_0x16aa97(0x2ee))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2c1))['action'](async(_0x4edba5,_0x2db12e)=>{const _0x65122=a2_0x16aa97,_0xee746f=new SegmentShowCommand(),_0x50741c=program[_0x65122(0x3b4)](),_0x456d81=await createTDXInstance(_0x50741c),_0x1d7fb2=await _0xee746f[_0x65122(0x253)]({'options':{..._0x50741c,..._0x2db12e},'args':_0x4edba5?[_0x4edba5]:[],'tdx':_0x456d81});gracefulExit(_0x1d7fb2);}),segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x393),{'hidden':!![]})[a2_0x16aa97(0x458)](a2_0x16aa97(0x22e))[a2_0x16aa97(0x381)](async(_0xf0f16c,_0x20e957)=>{const _0x16d1e6=a2_0x16aa97,_0x43fc7f=new SegmentFolderListCommand(),_0x4988b5=program[_0x16d1e6(0x3b4)](),_0x3aac5e=await createTDXInstance(_0x4988b5),_0xd1abb9=await _0x43fc7f[_0x16d1e6(0x253)]({'options':{..._0x4988b5,..._0x20e957},'args':[_0xf0f16c],'tdx':_0x3aac5e});gracefulExit(_0xd1abb9);});const folderCmd=segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x167),{'hidden':!![]})[a2_0x16aa97(0x458)](a2_0x16aa97(0x349));folderCmd['command'](a2_0x16aa97(0x19d))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1e9))[a2_0x16aa97(0x381)](async(_0x170d47,_0xd44017)=>{const _0x649fa7=a2_0x16aa97,_0x2d433e=new SegmentFolderShowCommand(),_0xc63755=program[_0x649fa7(0x3b4)](),_0x390712=await createTDXInstance(_0xc63755),_0x222a97=await _0x2d433e[_0x649fa7(0x253)]({'options':{..._0xc63755,..._0xd44017},'args':[_0x170d47],'tdx':_0x390712});gracefulExit(_0x222a97);}),segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x19c))['description'](a2_0x16aa97(0x127))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3ba),a2_0x16aa97(0x3f5))[a2_0x16aa97(0x381)](async(_0x49bdda,_0x425389)=>{const _0x227619=a2_0x16aa97,_0x48735a=new SegmentSQLCommand(),_0x2ad87f=program[_0x227619(0x3b4)](),_0x42d476=await createTDXInstance(_0x2ad87f),_0x1c52fa=await _0x48735a[_0x227619(0x253)]({'options':{..._0x2ad87f,..._0x425389},'args':_0x49bdda?[_0x49bdda]:[],'tdx':_0x42d476});gracefulExit(_0x1c52fa);}),segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x435))[a2_0x16aa97(0x458)](a2_0x16aa97(0x420))[a2_0x16aa97(0x381)](async(_0x55825b,_0x18a9f4)=>{const _0x185857=a2_0x16aa97,_0x73c479=new SegmentFieldsCommand(),_0xdd3877=program[_0x185857(0x3b4)](),_0x23982e=await createTDXInstance(_0xdd3877),_0x5cba68=await _0x73c479[_0x185857(0x253)]({'options':{..._0xdd3877,..._0x18a9f4},'args':_0x55825b?[_0x55825b]:[],'tdx':_0x23982e});gracefulExit(_0x5cba68);}),segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x387))[a2_0x16aa97(0x458)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')['option'](a2_0x16aa97(0x3be),a2_0x16aa97(0x1c2))[a2_0x16aa97(0x381)](async(_0x738b96,_0x279737)=>{const _0x4f07c3=a2_0x16aa97,_0x406dc=new SegmentPullCommand(),_0x3123c4=program[_0x4f07c3(0x3b4)](),_0x25d422=await createTDXInstance(_0x3123c4),_0x1fe0eb=await _0x406dc[_0x4f07c3(0x253)]({'options':{..._0x3123c4,..._0x279737},'args':_0x738b96?[_0x738b96]:[],'tdx':_0x25d422});gracefulExit(_0x1fe0eb);}),segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1d0))[a2_0x16aa97(0x458)](a2_0x16aa97(0x450))[a2_0x16aa97(0x296)]('--dry-run',a2_0x16aa97(0x1c2))['option'](a2_0x16aa97(0x232),a2_0x16aa97(0x2e5))[a2_0x16aa97(0x381)](async(_0x3a7831,_0x366b80)=>{const _0xd5b883=a2_0x16aa97,_0x5300e0=new SegmentPushCommand(),_0x5ceafb=program[_0xd5b883(0x3b4)](),_0x54dd71=await createTDXInstance(_0x5ceafb),_0x51c3d7=await _0x5300e0[_0xd5b883(0x253)]({'options':{..._0x5ceafb,..._0x366b80},'args':_0x3a7831?[_0x3a7831]:[],'tdx':_0x54dd71});gracefulExit(_0x51c3d7);}),segmentCmd['command'](a2_0x16aa97(0x438))[a2_0x16aa97(0x458)](a2_0x16aa97(0x121))[a2_0x16aa97(0x381)](async(_0x279a5c,_0x2f4ab8)=>{const _0x218476=a2_0x16aa97,_0x520b0a=new SegmentValidateCommand(),_0x2a4d29=program[_0x218476(0x3b4)](),_0x5e9d8a=await createTDXInstance(_0x2a4d29),_0x4bf9ed=await _0x520b0a[_0x218476(0x253)]({'options':{..._0x2a4d29,..._0x2f4ab8},'args':_0x279a5c?[_0x279a5c]:[],'tdx':_0x5e9d8a});gracefulExit(_0x4bf9ed);}),segmentCmd['command'](a2_0x16aa97(0x228),{'hidden':!![]})['description'](a2_0x16aa97(0x34d))[a2_0x16aa97(0x296)]('--description\x20<text>',a2_0x16aa97(0x27b))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2b6),a2_0x16aa97(0x162))[a2_0x16aa97(0x296)](a2_0x16aa97(0x33c),a2_0x16aa97(0x286))['option'](a2_0x16aa97(0x1b3),a2_0x16aa97(0x23f))[a2_0x16aa97(0x296)]('--kind\x20<type>',a2_0x16aa97(0x372))[a2_0x16aa97(0x296)](a2_0x16aa97(0x136),a2_0x16aa97(0x2aa))['option'](a2_0x16aa97(0x27d),a2_0x16aa97(0x32c))[a2_0x16aa97(0x381)](async(_0x59f4f0,_0x253d65)=>{const _0x18d94f=a2_0x16aa97,_0x17ba0d=new SegmentCreateCommand(),_0xfb7277=program['opts'](),_0x3c6a8f=await createTDXInstance(_0xfb7277),_0x50ed83=await _0x17ba0d[_0x18d94f(0x253)]({'options':{..._0xfb7277,..._0x253d65},'args':[_0x59f4f0],'tdx':_0x3c6a8f});gracefulExit(_0x50ed83);}),segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x300),{'hidden':!![]})['description'](a2_0x16aa97(0x13c))['option']('--name\x20<new_name>','New\x20segment\x20name')[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b5),a2_0x16aa97(0x3f9))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2b6),a2_0x16aa97(0x3cd))[a2_0x16aa97(0x296)](a2_0x16aa97(0x33c),a2_0x16aa97(0x2e9))['option'](a2_0x16aa97(0x1b3),a2_0x16aa97(0x215))[a2_0x16aa97(0x296)](a2_0x16aa97(0x274),a2_0x16aa97(0x372))['action'](async(_0x4c4673,_0x27e5b1)=>{const _0x2c80e1=a2_0x16aa97,_0x3ee98b=new SegmentUpdateCommand(),_0x1909a9=program[_0x2c80e1(0x3b4)](),_0x2eb59a=await createTDXInstance(_0x1909a9),_0x352843=await _0x3ee98b['run']({'options':{..._0x1909a9,..._0x27e5b1},'args':[_0x4c4673],'tdx':_0x2eb59a});gracefulExit(_0x352843);});const parentCmd=segmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x16c),{'hidden':!![]})[a2_0x16aa97(0x458)](a2_0x16aa97(0x187)),parentListAction=async(_0x2ba026,_0x20a28e)=>{const _0x41f989=a2_0x16aa97,_0x155f8e=new ParentSegmentListCommand(),_0x59f476=program[_0x41f989(0x3b4)](),_0x4d5bb4=await createTDXInstance(_0x59f476),_0x15bb34=await _0x155f8e[_0x41f989(0x253)]({'options':{..._0x59f476,..._0x20a28e},'args':_0x2ba026?[_0x2ba026]:[],'tdx':_0x4d5bb4});gracefulExit(_0x15bb34);};parentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))['description'](a2_0x16aa97(0x2b7))[a2_0x16aa97(0x381)](parentListAction),segmentCmd['command'](a2_0x16aa97(0x30c),{'hidden':!![]})[a2_0x16aa97(0x458)](a2_0x16aa97(0x371))['action'](parentListAction),parentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x18d))[a2_0x16aa97(0x458)](a2_0x16aa97(0x20f))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1e6),a2_0x16aa97(0x340))[a2_0x16aa97(0x381)](async(_0x5c72d6,_0x471f6d)=>{const _0x1f86d7=a2_0x16aa97,_0xdda7dc=new ParentSegmentPullCommand(),_0x24d8da=program[_0x1f86d7(0x3b4)](),_0x1bbd04=await createTDXInstance(_0x24d8da),_0x53d30=await _0xdda7dc[_0x1f86d7(0x253)]({'options':{..._0x24d8da,..._0x471f6d},'args':_0x5c72d6?[_0x5c72d6]:[],'tdx':_0x1bbd04});gracefulExit(_0x53d30);}),parentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x124))[a2_0x16aa97(0x458)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x16aa97(0x381)](async(_0x3bb456,_0x3d351f)=>{const _0x21d721=a2_0x16aa97,_0x105146=new ParentSegmentPushCommand(),_0x81e06d=program[_0x21d721(0x3b4)](),_0x385d83=await createTDXInstance(_0x81e06d),_0x2575cf=await _0x105146['run']({'options':{..._0x81e06d,..._0x3d351f},'args':_0x3bb456?[_0x3bb456]:[],'tdx':_0x385d83});gracefulExit(_0x2575cf);}),parentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1d6))['description'](a2_0x16aa97(0x42d))[a2_0x16aa97(0x296)]('--master',a2_0x16aa97(0x3a1))[a2_0x16aa97(0x296)](a2_0x16aa97(0x38e),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x16aa97(0x296)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option'](a2_0x16aa97(0x1a2),a2_0x16aa97(0x316))['option'](a2_0x16aa97(0x38c),a2_0x16aa97(0x22a),a2_0x16aa97(0x3f2))['action'](async(_0x460185,_0xd03aed)=>{const _0x11f636=a2_0x16aa97,_0x19481b=new ParentSegmentValidateCommand(),_0xb129d3=program[_0x11f636(0x3b4)](),_0x420b82=await createTDXInstance(_0xb129d3),_0x2adfe1=await _0x19481b['run']({'options':{..._0xb129d3,..._0xd03aed},'args':_0x460185?[_0x460185]:[],'tdx':_0x420b82});gracefulExit(_0x2adfe1);}),parentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3f8))[a2_0x16aa97(0x458)](a2_0x16aa97(0x40b))[a2_0x16aa97(0x296)]('--master',a2_0x16aa97(0x36c))[a2_0x16aa97(0x296)](a2_0x16aa97(0x38e),a2_0x16aa97(0x2cb))[a2_0x16aa97(0x296)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x16aa97(0x296)](a2_0x16aa97(0x1a2),a2_0x16aa97(0x283))['option'](a2_0x16aa97(0x38c),a2_0x16aa97(0x22a),a2_0x16aa97(0x3f2))[a2_0x16aa97(0x381)](async(_0xe8bd59,_0x540047)=>{const _0x4dbaa1=a2_0x16aa97,_0x5156b5=new ParentSegmentPreviewCommand(),_0x18bd0c=program[_0x4dbaa1(0x3b4)](),_0x547122=await createTDXInstance(_0x18bd0c),_0x4685e7=await _0x5156b5['run']({'options':{..._0x18bd0c,..._0x540047},'args':_0xe8bd59?[_0xe8bd59]:[],'tdx':_0x547122});gracefulExit(_0x4685e7);}),parentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x222))['description'](a2_0x16aa97(0x208))['action'](async(_0x524b7a,_0xb149af)=>{const _0x115e51=a2_0x16aa97,_0x2f940e=new ParentSegmentRunCommand(),_0x165d1b=program['opts'](),_0x6c6c5e=await createTDXInstance(_0x165d1b),_0x1fd25b=await _0x2f940e[_0x115e51(0x253)]({'options':{..._0x165d1b,..._0xb149af},'args':_0x524b7a?[_0x524b7a]:[],'tdx':_0x6c6c5e});gracefulExit(_0x1fd25b);});const parentSegmentCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x23b))[a2_0x16aa97(0x3fa)]('ps')[a2_0x16aa97(0x458)](a2_0x16aa97(0x31e));parentSegmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2b7))[a2_0x16aa97(0x381)](parentListAction),parentSegmentCmd['command'](a2_0x16aa97(0x18d))['description'](a2_0x16aa97(0x394))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1e6),a2_0x16aa97(0x2dc))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3d8),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')['action'](async(_0x3255a7,_0x3db729)=>{const _0x5ea78f=a2_0x16aa97,_0x5e9ee6=new ParentSegmentPullCommand(),_0x53283f=program['opts'](),_0x3222ae=await createTDXInstance(_0x53283f),_0x2c2a7d=await _0x5e9ee6[_0x5ea78f(0x253)]({'options':{..._0x53283f,..._0x3db729},'args':_0x3255a7?[_0x3255a7]:[],'tdx':_0x3222ae});gracefulExit(_0x2c2a7d);}),parentSegmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x337))['description'](a2_0x16aa97(0x26e))[a2_0x16aa97(0x381)](async(_0x1fbf0f,_0x14db6f)=>{const _0x4a2c83=a2_0x16aa97,_0x5b780f=new ParentSegmentPushCommand(),_0x49c0cb=program[_0x4a2c83(0x3b4)](),_0x11a8e3=await createTDXInstance(_0x49c0cb),_0x3e758a=await _0x5b780f[_0x4a2c83(0x253)]({'options':{..._0x49c0cb,..._0x14db6f},'args':_0x1fbf0f?[_0x1fbf0f]:[],'tdx':_0x11a8e3});gracefulExit(_0x3e758a);}),parentSegmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1a4))[a2_0x16aa97(0x458)](a2_0x16aa97(0x42d))[a2_0x16aa97(0x296)](a2_0x16aa97(0x35d),a2_0x16aa97(0x3a1))[a2_0x16aa97(0x296)](a2_0x16aa97(0x38e),a2_0x16aa97(0x137))[a2_0x16aa97(0x296)]('--behavior\x20[name]',a2_0x16aa97(0x1fb))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1a2),a2_0x16aa97(0x316))[a2_0x16aa97(0x296)](a2_0x16aa97(0x38c),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')['action'](async(_0x123097,_0x1a3c31)=>{const _0x3fb27a=a2_0x16aa97,_0x7ce892=new ParentSegmentValidateCommand(),_0x340b82=program[_0x3fb27a(0x3b4)](),_0x2eab09=await createTDXInstance(_0x340b82),_0x5b7063=await _0x7ce892[_0x3fb27a(0x253)]({'options':{..._0x340b82,..._0x1a3c31},'args':_0x123097?[_0x123097]:[],'tdx':_0x2eab09});gracefulExit(_0x5b7063);}),parentSegmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x18f))[a2_0x16aa97(0x458)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option']('--master',a2_0x16aa97(0x36c))[a2_0x16aa97(0x296)]('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x16aa97(0x296)](a2_0x16aa97(0x1b8),a2_0x16aa97(0x2e3))[a2_0x16aa97(0x296)]('--enriched',a2_0x16aa97(0x283))[a2_0x16aa97(0x296)](a2_0x16aa97(0x38c),a2_0x16aa97(0x22a),'-1d')[a2_0x16aa97(0x381)](async(_0x44a2cf,_0x9860fe)=>{const _0x1767e3=a2_0x16aa97,_0x1cd99c=new ParentSegmentPreviewCommand(),_0xb6ffb4=program[_0x1767e3(0x3b4)](),_0x2f4a01=await createTDXInstance(_0xb6ffb4),_0x3a68a8=await _0x1cd99c['run']({'options':{..._0xb6ffb4,..._0x9860fe},'args':_0x44a2cf?[_0x44a2cf]:[],'tdx':_0x2f4a01});gracefulExit(_0x3a68a8);}),parentSegmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x222))[a2_0x16aa97(0x458)](a2_0x16aa97(0x208))[a2_0x16aa97(0x381)](async(_0xce0380,_0x3165ea)=>{const _0x25d811=a2_0x16aa97,_0x415576=new ParentSegmentRunCommand(),_0x19f47a=program[_0x25d811(0x3b4)](),_0x400cdd=await createTDXInstance(_0x19f47a),_0x191206=await _0x415576[_0x25d811(0x253)]({'options':{..._0x19f47a,..._0x3165ea},'args':_0xce0380?[_0xce0380]:[],'tdx':_0x400cdd});gracefulExit(_0x191206);}),parentSegmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1bf))[a2_0x16aa97(0x458)](a2_0x16aa97(0x139))[a2_0x16aa97(0x296)](a2_0x16aa97(0x329),a2_0x16aa97(0x1f7))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2ae),a2_0x16aa97(0x34e))[a2_0x16aa97(0x381)](async(_0xbcd309,_0x308ff9)=>{const _0x485711=a2_0x16aa97,_0x15f28a=new ParentSegmentFieldsCommand(),_0x38b720=program[_0x485711(0x3b4)](),_0x36d9a0=await createTDXInstance(_0x38b720),_0x5d40a8=await _0x15f28a[_0x485711(0x253)]({'options':{..._0x38b720,..._0x308ff9},'args':_0xbcd309?[_0xbcd309]:[],'tdx':_0x36d9a0});gracefulExit(_0x5d40a8);}),parentSegmentCmd[a2_0x16aa97(0x1d1)]('view\x20[name]')['description'](a2_0x16aa97(0x17d))[a2_0x16aa97(0x296)](a2_0x16aa97(0x423),a2_0x16aa97(0x28c))[a2_0x16aa97(0x296)](a2_0x16aa97(0x329),a2_0x16aa97(0x1f7))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2ae),'Output\x20as\x20JSON\x20Lines')[a2_0x16aa97(0x381)](async(_0xba8e8a,_0x1b6217)=>{const _0x2cadb7=a2_0x16aa97,_0x3d8b5f=new ParentSegmentViewCommand(),_0x1347a7=program[_0x2cadb7(0x3b4)](),_0x1a05ab=await createTDXInstance(_0x1347a7),_0x1e097d=await _0x3d8b5f[_0x2cadb7(0x253)]({'options':{..._0x1347a7,..._0x1b6217},'args':_0xba8e8a?[_0xba8e8a]:[],'tdx':_0x1a05ab});gracefulExit(_0x1e097d);}),parentSegmentCmd['command'](a2_0x16aa97(0x2a8))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2ef))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1e6),a2_0x16aa97(0x2dc))[a2_0x16aa97(0x296)](a2_0x16aa97(0x329),a2_0x16aa97(0x1f7))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2ae),a2_0x16aa97(0x34e))[a2_0x16aa97(0x381)](async(_0x173868,_0x297d51)=>{const _0x38e27b=a2_0x16aa97,_0x347e75=new ParentSegmentDescCommand(),_0x3cf84e=program[_0x38e27b(0x3b4)](),_0x387ba4=await createTDXInstance(_0x3cf84e),_0x4a09dc=await _0x347e75[_0x38e27b(0x253)]({'options':{..._0x3cf84e,..._0x297d51},'args':_0x173868?[_0x173868]:[],'tdx':_0x387ba4});gracefulExit(_0x4a09dc);}),parentSegmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x455))[a2_0x16aa97(0x458)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x329),a2_0x16aa97(0x1f7))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2ae),'Output\x20as\x20JSON\x20Lines')[a2_0x16aa97(0x381)](async(_0x3e3ebc,_0x5d437c)=>{const _0x2e3326=a2_0x16aa97,_0x44591c=new ParentSegmentSQLCommand(),_0x25120e=program[_0x2e3326(0x3b4)](),_0x24019d=await createTDXInstance(_0x25120e),_0x59da3c=await _0x44591c['run']({'options':{..._0x25120e,..._0x5d437c},'args':_0x3e3ebc?[_0x3e3ebc]:[],'tdx':_0x24019d});gracefulExit(_0x59da3c);}),parentSegmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ec))[a2_0x16aa97(0x458)](a2_0x16aa97(0x152))[a2_0x16aa97(0x296)]('--limit\x20<n>',a2_0x16aa97(0x1b9))[a2_0x16aa97(0x296)](a2_0x16aa97(0x329),'Output\x20as\x20JSON')[a2_0x16aa97(0x296)](a2_0x16aa97(0x2ae),a2_0x16aa97(0x34e))[a2_0x16aa97(0x381)](async(_0x2fca85,_0x1ae4f2)=>{const _0x53e708=a2_0x16aa97,_0xae72b4=new ParentSegmentShowCommand(),_0xc65650=program[_0x53e708(0x3b4)](),_0x35bf1c=await createTDXInstance(_0xc65650),_0x55f637=await _0xae72b4[_0x53e708(0x253)]({'options':{..._0xc65650,..._0x1ae4f2},'args':_0x2fca85?[_0x2fca85]:[],'tdx':_0x35bf1c});gracefulExit(_0x55f637);}),parentSegmentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x149))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1ce))[a2_0x16aa97(0x381)](async(_0x2d2acf,_0x4b7bea)=>{const _0x5d1dfe=a2_0x16aa97,_0x197306=new UseCommand(),_0x1afa78=program[_0x5d1dfe(0x3b4)](),_0x5e6f40=_0x2d2acf?[_0x5d1dfe(0x32f),_0x2d2acf]:[],_0x4f56de=await _0x197306['run']({'options':{..._0x1afa78,..._0x4b7bea},'args':_0x5e6f40,'tdx':null});gracefulExit(_0x4f56de);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x16aa97(0x458)](a2_0x16aa97(0x1b2));psRtCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1a1))['action'](async(_0x46ebff,_0x2b0f3c)=>{const _0x2e1d4e=a2_0x16aa97,_0x436cc6=new PSRtListCommand(),_0x2d4a71=program['opts'](),_0x25ca19=await createTDXInstance(_0x2d4a71),_0x31668f=await _0x436cc6[_0x2e1d4e(0x253)]({'options':{..._0x2d4a71,..._0x2b0f3c},'args':_0x46ebff?[_0x46ebff]:[],'tdx':_0x25ca19});gracefulExit(_0x31668f);}),psRtCmd['command'](a2_0x16aa97(0x1a4))[a2_0x16aa97(0x458)](a2_0x16aa97(0x142))[a2_0x16aa97(0x381)](async(_0x7bda65,_0x12e46b)=>{const _0x1fc1e2=a2_0x16aa97,_0x4f895d=new PSRtValidateCommand(),_0x28de20=program['opts'](),_0x5d9e22=await createTDXInstance(_0x28de20),_0x58b1f7=await _0x4f895d[_0x1fc1e2(0x253)]({'options':{..._0x28de20,..._0x12e46b},'args':_0x7bda65?[_0x7bda65]:[],'tdx':_0x5d9e22});gracefulExit(_0x58b1f7);}),psRtCmd[a2_0x16aa97(0x1d1)]('configuration_versions\x20[name]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x2bd))[a2_0x16aa97(0x381)](async(_0x4a059e,_0x48912d)=>{const _0x3c4504=a2_0x16aa97,_0x581581=new PSRtConfigVersionCommand(),_0x2b09a6=program[_0x3c4504(0x3b4)](),_0x5437bc=await createTDXInstance(_0x2b09a6),_0x1bcbc4=await _0x581581[_0x3c4504(0x253)]({'options':{..._0x2b09a6,..._0x48912d},'args':_0x4a059e?[_0x4a059e]:[],'tdx':_0x5437bc});gracefulExit(_0x1bcbc4);});const psRtJnCmd=psRtCmd[a2_0x16aa97(0x1d1)]('jn')[a2_0x16aa97(0x458)]('RT\x20Journey\x20management');psRtJnCmd['command'](a2_0x16aa97(0x26c))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1fa))[a2_0x16aa97(0x381)](async(_0x484b07,_0x2d4290)=>{const _0x2500b6=a2_0x16aa97,_0x529907=new PSRtJnListCommand(),_0x30cf4e=program[_0x2500b6(0x3b4)](),_0x40c4ec=await createTDXInstance(_0x30cf4e),_0x6deb39=await _0x529907[_0x2500b6(0x253)]({'options':{..._0x30cf4e,..._0x2d4290},'args':_0x484b07?[_0x484b07]:[],'tdx':_0x40c4ec});gracefulExit(_0x6deb39);}),psRtJnCmd[a2_0x16aa97(0x1d1)]('pause_activations\x20<journeyId>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x245))[a2_0x16aa97(0x381)](async(_0x41a0e0,_0x313386)=>{const _0x55234d=a2_0x16aa97,_0x5016d4=new PSRtJnPauseCommand(),_0x16f661=program[_0x55234d(0x3b4)](),_0x5591b4=await createTDXInstance(_0x16f661),_0x443f50=await _0x5016d4[_0x55234d(0x253)]({'options':{..._0x16f661,..._0x313386},'args':[_0x41a0e0],'tdx':_0x5591b4});gracefulExit(_0x443f50);}),psRtJnCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x367))[a2_0x16aa97(0x458)](a2_0x16aa97(0x183))['action'](async(_0x3679df,_0x3c7cc0)=>{const _0x48c615=a2_0x16aa97,_0x7faff3=new PSRtJnResumeCommand(),_0x59a1cb=program[_0x48c615(0x3b4)](),_0x103670=await createTDXInstance(_0x59a1cb),_0x5368f5=await _0x7faff3[_0x48c615(0x253)]({'options':{..._0x59a1cb,..._0x3c7cc0},'args':[_0x3679df],'tdx':_0x103670});gracefulExit(_0x5368f5);});const parentRtCmd=parentCmd[a2_0x16aa97(0x1d1)]('rt',{'hidden':!![]})['description']('RT\x202.0\x20configuration\x20management');parentRtCmd[a2_0x16aa97(0x1d1)]('list\x20[pattern]')['description']('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x1c377b,_0x2efb78)=>{const _0x16253a=a2_0x16aa97,_0x105b1c=new PSRtListCommand(),_0x9d15cf=program[_0x16253a(0x3b4)](),_0x784b98=await createTDXInstance(_0x9d15cf),_0x3b395c=await _0x105b1c[_0x16253a(0x253)]({'options':{..._0x9d15cf,..._0x2efb78},'args':_0x1c377b?[_0x1c377b]:[],'tdx':_0x784b98});gracefulExit(_0x3b395c);}),parentRtCmd[a2_0x16aa97(0x1d1)]('validate\x20[name]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x142))['action'](async(_0x239067,_0x702061)=>{const _0x32f229=a2_0x16aa97,_0x3fdca3=new PSRtValidateCommand(),_0x255b3b=program[_0x32f229(0x3b4)](),_0x178709=await createTDXInstance(_0x255b3b),_0x351c71=await _0x3fdca3[_0x32f229(0x253)]({'options':{..._0x255b3b,..._0x702061},'args':_0x239067?[_0x239067]:[],'tdx':_0x178709});gracefulExit(_0x351c71);});const psPzCmd=parentSegmentCmd[a2_0x16aa97(0x1d1)]('pz')[a2_0x16aa97(0x458)](a2_0x16aa97(0x299));psPzCmd[a2_0x16aa97(0x1d1)]('list\x20[name]')['description'](a2_0x16aa97(0x3cc))[a2_0x16aa97(0x381)](async(_0xc11baa,_0x38802d)=>{const _0x335dc9=a2_0x16aa97,_0x5ef861=new PSPzListCommand(),_0x4b0b87=program[_0x335dc9(0x3b4)](),_0xf03a12=await createTDXInstance(_0x4b0b87),_0x1e289f=await _0x5ef861[_0x335dc9(0x253)]({'options':{..._0x4b0b87,..._0x38802d},'args':_0xc11baa?[_0xc11baa]:[],'tdx':_0xf03a12});gracefulExit(_0x1e289f);}),psPzCmd['command'](a2_0x16aa97(0x29f))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2b9))[a2_0x16aa97(0x381)](async(_0x1dfe8f,_0x32db32)=>{const _0x3e890e=a2_0x16aa97,_0x5f2b9a=new PSPzShowCommand(),_0x92aa83=program[_0x3e890e(0x3b4)](),_0x11a9c8=await createTDXInstance(_0x92aa83),_0x39a912=await _0x5f2b9a[_0x3e890e(0x253)]({'options':{..._0x92aa83,..._0x32db32},'args':[_0x1dfe8f],'tdx':_0x11a9c8});gracefulExit(_0x39a912);}),psPzCmd[a2_0x16aa97(0x1d1)]('delete\x20<personalization_id>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x370))[a2_0x16aa97(0x381)](async(_0xaadd1f,_0xa262dc)=>{const _0x1547fe=a2_0x16aa97,_0x34958d=new PSPzDeleteCommand(),_0x23afe9=program[_0x1547fe(0x3b4)](),_0x2a2419=await createTDXInstance(_0x23afe9),_0x12d956=await _0x34958d[_0x1547fe(0x253)]({'options':{..._0x23afe9,..._0xa262dc},'args':[_0xaadd1f],'tdx':_0x2a2419});gracefulExit(_0x12d956);}),psPzCmd['command'](a2_0x16aa97(0x331))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3d5))['option'](a2_0x16aa97(0x357),a2_0x16aa97(0x234))['option'](a2_0x16aa97(0x3b5),a2_0x16aa97(0x3e6))[a2_0x16aa97(0x296)]('--audience-id\x20<id>',a2_0x16aa97(0x322))[a2_0x16aa97(0x296)](a2_0x16aa97(0x35a),a2_0x16aa97(0x373))['option'](a2_0x16aa97(0x1ee),a2_0x16aa97(0x1d8))[a2_0x16aa97(0x296)](a2_0x16aa97(0x21d),a2_0x16aa97(0x26d))['action'](async _0x317e67=>{const _0x2f4acc=a2_0x16aa97,_0x231e45=new PSPzCreateCommand(),_0x32f554=program[_0x2f4acc(0x3b4)](),_0x5487ab=await createTDXInstance(_0x32f554),_0x37c819=await _0x231e45[_0x2f4acc(0x253)]({'options':{..._0x32f554,..._0x317e67},'args':[],'tdx':_0x5487ab});gracefulExit(_0x37c819);}),psPzCmd['command'](a2_0x16aa97(0x1f6))[a2_0x16aa97(0x458)](a2_0x16aa97(0x273))[a2_0x16aa97(0x296)](a2_0x16aa97(0x357),a2_0x16aa97(0x234))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b5),'Personalization\x20description')[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ee),a2_0x16aa97(0x1d8))['option'](a2_0x16aa97(0x21d),a2_0x16aa97(0x26d))[a2_0x16aa97(0x381)](async(_0x35fd85,_0x2771d0)=>{const _0x4f116f=a2_0x16aa97,_0x463046=new PSPzPatchCommand(),_0x15bea9=program[_0x4f116f(0x3b4)](),_0x595566=await createTDXInstance(_0x15bea9),_0x34eb78=await _0x463046[_0x4f116f(0x253)]({'options':{..._0x15bea9,..._0x2771d0},'args':[_0x35fd85],'tdx':_0x595566});gracefulExit(_0x34eb78);});const psPzServiceCmd=psPzCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x37e))[a2_0x16aa97(0x458)](a2_0x16aa97(0x298));function a2_0x4753(_0x4861c2,_0x49d505){_0x4861c2=_0x4861c2-0x121;const _0xc346cc=a2_0xc346();let _0x475365=_0xc346cc[_0x4861c2];return _0x475365;}psPzServiceCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x26c))[a2_0x16aa97(0x458)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x16aa97(0x381)](async(_0x5a0036,_0x39605b)=>{const _0x53c128=a2_0x16aa97,_0x4bc109=new PSPzServiceListCommand(),_0xa63dc2=program[_0x53c128(0x3b4)](),_0x1824c5=await createTDXInstance(_0xa63dc2),_0x3edc9c=await _0x4bc109[_0x53c128(0x253)]({'options':{..._0xa63dc2,..._0x39605b},'args':_0x5a0036?[_0x5a0036]:[],'tdx':_0x1824c5});gracefulExit(_0x3edc9c);}),psPzServiceCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x41e))[a2_0x16aa97(0x458)](a2_0x16aa97(0x33e))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b5),a2_0x16aa97(0x16b))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1c3),a2_0x16aa97(0x380))[a2_0x16aa97(0x381)](async(_0x5c5691,_0x5519d4,_0x2fb362)=>{const _0x398547=a2_0x16aa97,_0xaa1d3e=new PSPzServiceCreateCommand(),_0xbf6ab9=program[_0x398547(0x3b4)](),_0x11c1f7=await createTDXInstance(_0xbf6ab9),_0x4bc762=await _0xaa1d3e['run']({'options':{..._0xbf6ab9,..._0x2fb362},'args':_0x5519d4?[_0x5c5691,_0x5519d4]:[_0x5c5691],'tdx':_0x11c1f7});gracefulExit(_0x4bc762);}),psPzServiceCmd['command'](a2_0x16aa97(0x250))['description'](a2_0x16aa97(0x154))[a2_0x16aa97(0x381)](async(_0x400a2f,_0xb10832,_0x18e3a6)=>{const _0x435948=a2_0x16aa97,_0x50a45a=new PSPzServiceShowCommand(),_0x370596=program[_0x435948(0x3b4)](),_0x318b8f=await createTDXInstance(_0x370596),_0x2dcafd=await _0x50a45a['run']({'options':{..._0x370596,..._0x18e3a6},'args':_0xb10832?[_0x400a2f,_0xb10832]:[_0x400a2f],'tdx':_0x318b8f});gracefulExit(_0x2dcafd);}),psPzServiceCmd[a2_0x16aa97(0x1d1)]('delete\x20<service_id>\x20[parent_segment]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x2b0))[a2_0x16aa97(0x381)](async(_0x1c9e7b,_0x1ff262,_0x4b094b)=>{const _0x3b763b=a2_0x16aa97,_0x43e0df=new PSPzServiceDeleteCommand(),_0x445d40=program['opts'](),_0x22369b=await createTDXInstance(_0x445d40),_0x305723=await _0x43e0df[_0x3b763b(0x253)]({'options':{..._0x445d40,..._0x4b094b},'args':_0x1ff262?[_0x1c9e7b,_0x1ff262]:[_0x1c9e7b],'tdx':_0x22369b});gracefulExit(_0x305723);}),psPzServiceCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2a7))[a2_0x16aa97(0x458)](a2_0x16aa97(0x29a))[a2_0x16aa97(0x382)](a2_0x16aa97(0x31b),a2_0x16aa97(0x1b6))[a2_0x16aa97(0x296)]('--description\x20<text>',a2_0x16aa97(0x3df))[a2_0x16aa97(0x381)](async(_0x517fea,_0x57a865,_0x5704dc)=>{const _0x4fe266=a2_0x16aa97,_0x16ae9d=new PSPzServiceUpdateCommand(),_0x319abd=program[_0x4fe266(0x3b4)](),_0x413b0e=await createTDXInstance(_0x319abd),_0x53e325=await _0x16ae9d['run']({'options':{..._0x319abd,..._0x5704dc},'args':_0x57a865?[_0x517fea,_0x57a865]:[_0x517fea],'tdx':_0x413b0e});gracefulExit(_0x53e325);}),psPzServiceCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x278))['description'](a2_0x16aa97(0x306))[a2_0x16aa97(0x381)](async(_0x213ae9,_0x1f0827)=>{const _0x281bbb=a2_0x16aa97,_0x2cc4dc=new PSPzInitCommand(),_0x724181=program[_0x281bbb(0x3b4)](),_0x555980=await createTDXInstance(_0x724181),_0x5231f9=await _0x2cc4dc[_0x281bbb(0x253)]({'options':{..._0x724181,..._0x1f0827},'args':_0x213ae9?[_0x213ae9]:[],'tdx':_0x555980});gracefulExit(_0x5231f9);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x16aa97(0x1d1)]('token')[a2_0x16aa97(0x458)]('Personalization\x20service\x20token\x20management');function a2_0xc346(){const _0x23e939=['2DUtDLL','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','preview\x20<segment_name>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--behaviors\x20<json>','Delete\x20a\x20campaign','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','--json','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','create\x20<parent_name>\x20<folder_name>','Skip\x20population\x20counting','traffic\x20<name-or-path>','unset\x20<resource>','parent_segment','jsonl','create','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Ending\x20offset\x20(default:\x2020)','Submit\x20a\x20job','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','push\x20[name]','Master\x20database\x20name','submit\x20[query]','describe','Show\x20journey\x20details','--rule-file\x20<file>','Retry\x20limit\x20(0\x20to\x2032)','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--from\x20<timestamp>','Output\x20file\x20path\x20(default:\x20<name>.yml)','DEBUG','schema\x20<type>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--resume-from\x20<task>','INFO','--github\x20<owner/repo>','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Create\x20a\x20new\x20document','[DEPRECATED]\x20Segment\x20folder\x20management','Email\x20sender\x20ID\x20for\x20delivery','new\x20<title>','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Output\x20as\x20JSON\x20Lines','flatMap','upgrade\x20[version]','Push\x20YAML\x20files\x20to\x20CAS\x20API','Workflow\x20(Digdag)\x20management\x20commands','push','gitRevision','_list-commands','Show\x20workspace\x20details','--name\x20<text>','Resume\x20a\x20paused\x20campaign','--include-stats','--folder-id\x20<id>','--engine-version\x20<version>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','--master','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Interactive\x20chat\x20selector','Show\x20schedule\x20details','184DEcXTs','repeat','filter','LLM\x20project\x20to\x20use\x20(overrides\x20context)','list\x20[audience_name]','--json-columns\x20<cols>','resume_activations\x20<journeyId>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','settings\x20<type>','--skip-validation','delivery','Show\x20master\x20table\x20sample\x20data','Workflow\x20project\x20management','padEnd','--clear','Delete\x20a\x20realtime\x20personalization','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','\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','slice','--timezone\x20<tz>','claude\x20[args...]','Job\x20priority\x20(-2\x20to\x202)','Maximum\x20number\x20of\x20nodes','commandUsage','-f,\x20--file\x20<path>','finish\x20<name-or-id>','-r,\x20--recursive','service','Kill\x20a\x20job','Make\x20service\x20public\x20(default:\x20private)','action','requiredOption','run\x20<name>','--to\x20<date>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--yes','pull\x20[parent_or_file]','Agent\x20name','subcommandDescription','Include\x20subtasks\x20in\x20tasks\x20output','\x20-\x20built\x20','--interval\x20<range>','-v,\x20--verbose','--attribute\x20[name]','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','-d,\x20--database\x20<database>','chdir','_hidden','folders\x20<parent_name>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files',',\x20version\x20','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--no-proxy','List\x20available\x20LLM\x20models','databases\x20[pattern]','Show\x20journey\x20table\x20column-to-step\x20mapping','Add\x20attributes\x20as\x20JSON\x20string','[attempt-id]','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Authentication\x20management','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Show\x20only\x20master\x20table\x20validation','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Template\x20name','Run\x20specific\x20tests\x20(comma-separated)','Maximum\x20tool\x20iterations\x20(default:\x204)','Invalid\x20editor\x20type:\x20','Master\x20table\x20name','25295930TjRYRL','hook','join','Parent\x20folder\x20name\x20for\x20nested\x20folders','--default','error','apiKey','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Arguments:','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--new','opts','--description\x20<text>','TRACE','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Commands:','stderr','--path\x20<file-path>','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','\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','Pull\x20specific\x20template\x20by\x20name','--dry-run','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Delivery\x20operations\x20(email\x20senders)','Remove\x20API\x20key\x20from\x20system\x20keychain','Add\x20behaviors\x20as\x20JSON\x20string','List\x20activations\x20for\x20a\x20journey','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','994gxCOEu','project','Update\x20a\x20scheduled\x20query','update\x20<name>','Job\x20management\x20commands','desc\x20[segment_name]','Clear\x20session\x20context','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','list\x20[pattern]','Show\x20campaign\x20details','LLM\x20project\x20management','tsv','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Duplicate\x20a\x20campaign','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','--allowed-ips\x20<ips>','clone\x20[source]','-u,\x20--use','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Delay\x20in\x20seconds\x20before\x20execution','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','List\x20all\x20available\x20profiles','New\x20service\x20description','Read\x20request\x20body\x20from\x20file','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Cron\x20expression\x20for\x20scheduling','kill','workspaces\x20[pattern]','engage_workspace','Personalization\x20description','projects\x20[pattern]','GET','Request\x20body\x20as\x20JSON\x20string','--status\x20<status>','\x20(resolved\x20to\x20','show\x20[name]','describe\x20[table]','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','attempts\x20[project]','timeout','17351140TPZZMD','-1d','statusline','--version','YAML\x20file\x20path\x20for\x20unpushed\x20segment','--from\x20<n>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','preview\x20[file]','Updated\x20description','alias','Enable\x20verbose\x20logging','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','create\x20<name>','json','engage','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','options','--session-time\x20<time>','duplicate\x20<name-or-id>','show\x20<name-or-id>','Document\x20body\x20text','5276016cJhNuF','--priority\x20<priority>','--max-tool-iterations\x20<n>','trace','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Journey\x20version\x20management','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','subcommandTerm','create\x20<name>\x20<service_id>\x20[parent_segment]','--segment\x20<path>','Preview\x20without\x20creating\x20the\x20project','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','AI-native\x20CLI\x20for\x20Treasure\x20Data','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Customer\x20group\x20from\x20JSON\x20file','Workspace\x20name','System\x20prompt/instructions\x20(default:\x20empty)','Delete\x20a\x20scheduled\x20query','optionDescription','create\x20<name>\x20[parent_segment]','Launch\x20an\x20always-on\x20campaign','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','directory','194752VdbRgE','-w,\x20--web','show\x20<policy>','Timezone\x20(e.g.,\x20America/Los_Angeles)','item','Name\x20for\x20the\x20duplicated\x20campaign','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Overwrite\x20local\x20changes\x20without\x20confirmation','Show\x20agent\x20details','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Comma-separated\x20tags','List\x20email\x20senders','--last','Skip\x20confirmation\x20prompts','Assignee','show\x20<name>','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','fields\x20[parent_name]','clear','run\x20[workflow]','validate\x20[target]','Add\x20attributes\x20from\x20JSON\x20file','\x22.\x20Must\x20be\x20a\x20number.','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','--behaviors-file\x20<file>','stdout','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','--schedule-type\x20<type>','us01','tdx','--params\x20<json>','Attempt\x20ID','Resume\x20from\x20specific\x20task\x20(retry)','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','Include\x20retried\x20attempts','set','delete\x20<project-name-or-id>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Clear\x20workflow\x20project\x20context','stringify','setup','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Create\x20segment\x20folder','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Set\x20operation\x20timeout\x20in\x20seconds','result\x20<job-id>','--from-task\x20<task>','Validate\x20template\x20YAML\x20files\x20locally','sql\x20[name]','--max-depth\x20<depth>','Update\x20an\x20email\x20template','description','llm','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','registeredArguments','Remove\x20a\x20profile','push\x20[file]','Options:','addHelpText','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','beefree','Pull\x20campaigns\x20to\x20YAML\x20files','claude-4.5-sonnet','jobs','Create\x20a\x20scheduled\x20query','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Target\x20directory\x20for\x20YAML\x20files','--name\x20<names>','test\x20[path]','--from\x20<date>','hidden','--no-color','catch','--template\x20<name>','--invisible','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Query\x20type:\x20trino\x20or\x20hive','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Data\x20connection\x20management\x20(for\x20activations/exports)','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','required','Show\x20document\x20details','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','-y,\x20--yes','push\x20[target]','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Validate\x20journey\x20YAML\x20files\x20locally','after','--in\x20<database>','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','chat\x20[message...]','use\x20[name]','Unknown\x20action:\x20','update\x20<agent-name>','HTML\x20template\x20content','--html-file\x20<path>','--html\x20<html>','clone\x20[source-dir]','--type\x20<type>','Customer\x20group\x20as\x20JSON\x20string','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Email\x20template\x20management','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20composable\x20audiences','information_schema','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Push\x20without\x20confirmation','usage','Run\x20a\x20scheduled\x20query\x20immediately','commands','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','attempt','--tsv','Database\x20name\x20(required)','Starting\x20offset\x20(default:\x200)','Workflow\x20parameter\x20(repeatable)','Filtering\x20rule\x20as\x20JSON\x20string','Enable\x20UTM\x20tracking','--database\x20<db>','62754rSKHne','List\x20all\x20data\x20connections','folder','pull\x20[workspace]','list\x20[project]','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Service\x20description','parent','history\x20<name>','Timezone\x20for\x20cron\x20(default:\x20UTC)','table','Open\x20a\x20document\x20in\x20$EDITOR','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','delete\x20<name-or-id>','Resume\x20from\x20specific\x20task','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Revision\x20name\x20(default:\x20timestamp)','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--session-id\x20<id>','get','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Force\x20retry\x20even\x20if\x20not\x20failed','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','--customer-group-file\x20<file>','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','allowUnknownOption','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20stats\x20for\x20specific\x20stage','--format\x20<format>','Email\x20subject\x20template','Resume\x20activations\x20in\x20an\x20RT\x20journey','--output\x20<file>','Create\x20a\x20new\x20LLM\x20project','--name\x20<new-name>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','pause\x20<name-or-id>','use\x20<path>','Get\x20job\x20results','work','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','pull\x20[name]','timeline\x20[project.workflow]','preview\x20[name]','help','--plaintext\x20<text>','Behaviors\x20as\x20JSON\x20string','Resume\x20a\x20conversation\x20(shows\x20selector)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Workspace\x20description','Skip\x20validation\x20of\x20.dig\x20files','--result\x20<url>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','\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\x20schedule\x20execution\x20history','sql\x20[segment_name]','show\x20<folder_ref>','chats','--llm-project\x20<name>','1356342sHbaht','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--enriched','Behaviors\x20from\x20JSON\x20file','validate\x20[name]','List\x20composable\x20segments\x20for\x20an\x20audience','Updated\x20timezone','list\x20[path]','create\x20<name-or-path>','format','history\x20[chat-id]','long','versions\x20<name-or-path>','--no-eval','77625ouXyCw','Parse\x20and\x20validate\x20without\x20executing','user','-H,\x20--header\x20<header>','RT\x202.0\x20configuration\x20management','--folder\x20<name>','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','journeys\x20[pattern]','New\x20service\x20name','debug','--behavior\x20[name]','Limit\x20number\x20of\x20rows','--workspace\x20<name>','segments\x20[path]','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','List\x20agents\x20in\x20current\x20project','Open\x20journey\x20in\x20web\x20browser','fields\x20[name]','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--public','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','--retry-limit\x20<0~32>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','End\x20time\x20filter\x20(ISO\x208601\x20format)','createAsync','--start-at\x20<datetime>','tdx\x20','Read\x20query\x20from\x20file','Continue\x20most\x20recent\x20conversation','Campaign\x20description','Set\x20or\x20show\x20parent\x20segment\x20context','Open\x20segment\x20in\x20web\x20browser','push\x20[parent_or_file]','command','buildTime','Custom\x20revision\x20name\x20(default:\x20timestamp)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--chat-id\x20<id>','validate\x20[file]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Sections\x20as\x20an\x20inline\x20JSON\x20array','--priority\x20<-2~2>','Finish\x20an\x20always-on\x20campaign','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','tasks','upload\x20[project-name-or-dir]','Initialize\x20a\x20new\x20workspace','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Duplicate\x20an\x20always-on\x20campaign','--table','Priority\x20(critical,\x20high,\x20medium,\x20low)','launch\x20<name-or-id>','tables\x20[pattern]','--follow','-o,\x20--output\x20<file>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Save\x20output\x20to\x20file','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','replace','set\x20<key=value>','configureHelp','profiles','--sections\x20<json>','List\x20all\x20users\x20in\x20the\x20account','-o,\x20--output\x20<dir>','isTTY','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','accessToken','Campaign\x20type\x20(email\x20or\x20push)','patch\x20<personalization_id>','Output\x20as\x20JSON','-C,\x20--directory\x20<path>','Database\x20management\x20commands','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Show\x20timeline\x20for\x20specific\x20attempt','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','[action]','senders\x20[pattern]','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Show\x20segment\x20schema\x20(column\x20types)','Read\x20HTML\x20template\x20from\x20file','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Update\x20an\x20existing\x20agent','--add-attributes\x20<json>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Include\x20retried\x20attempts\x20(for\x20list)','version','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Show\x20journey\x20statistics','models','-d,\x20--database\x20<db>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','padWidth','JSON\x20columns\x20for\x20connector\x20(comma-separated)','isDirectory','then','Move\x20to\x20folder','argument','templates\x20[pattern]','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','secrets','Agent\x20description','list','remove\x20<name>','--file\x20<path>','users','forEach','Pause\x20an\x20always-on\x20campaign','\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','run\x20[name]','use\x20[project]','name','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--enable-utm-tracking','set\x20<args...>','create\x20<segment_name>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-r,\x20--resume','Delete\x20a\x20workspace','-a,\x20--agent\x20<name>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Show\x20the\x20most\x20recent\x20chat','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','resume\x20<name-or-id>','--delete','Invalid\x20--limit\x20value:\x20\x22','Personalization\x20name','List\x20available\x20connector\x20types','Agent\x20prompt/instructions','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Starter\x20message','Version\x20number\x20to\x20view','retry','parent-segment','--debug','Preview\x20changes\x20without\x20pushing','Create\x20a\x20new\x20profile','Folder\x20name\x20for\x20organization','Token\x20description','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','log','Attributes\x20as\x20JSON\x20string','Pause\x20activations\x20in\x20an\x20RT\x20journey','--add-behaviors\x20<json>','Start\x20a\x20new\x20chat\x20session','Update\x20a\x20campaign','--temperature\x20<n>','--force','agents\x20[pattern]','create\x20[name]','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Campaign\x20name','show\x20<service_id>\x20[parent_segment]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','--timeout\x20<seconds>','run','48FccqDB','Database\x20to\x20query\x20(default:\x20information_schema)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','--param\x20<key=value>','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Pause\x20a\x20running\x20journey','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20job\x20details','Workspace\x20name\x20(required)','-f,\x20--force','push\x20[path]','injectIntoOptions','--delay\x20<seconds>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','agent','optionTerm','map','policy','Launch\x20a\x20campaign','api\x20[endpoint]','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','use\x20<name>','--model\x20<name>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','list\x20[name]','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Resume\x20a\x20paused\x20journey','parse','[task-name]','--include-retried','Update\x20a\x20realtime\x20personalization\x20entity','--kind\x20<type>','Validate\x20campaign\x20YAML\x20files\x20locally','update\x20<name-or-id>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','init\x20[name]','Generate\x20test\x20conversations\x20without\x20evaluation','schedule','Segment\x20description','retry\x20<session-id>','--no-count-population','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Pull\x20specific\x20revision\x20(default:\x20latest)','links\x20<name>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','pull\x20[workspace-name]','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','includes','activations\x20<name-or-path>','Filtering\x20rule\x20from\x20JSON\x20file','Action:\x20logs,\x20tasks,\x20kill,\x20retry','441voTfbi','Create\x20a\x20new\x20always-on\x20campaign','database','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Open\x20parent\x20segment\x20in\x20web\x20browser','List\x20all\x20versions\x20of\x20a\x20journey','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','variadic','backup\x20<name>','exit','open\x20<name>','use\x20<project-name>','--editor-type\x20<type>','-n,\x20--name\x20<name>','option','Usage:\x20','Personalization\x20service\x20management','Personalization\x20management','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','New\x20campaign\x20name','Pause\x20a\x20campaign','Skip\x20confirmation\x20prompt','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','show\x20<personalization_id>','--assignee\x20<assignee>','trino','--tags\x20<tags>','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','Always-on\x20campaign\x20management','--attributes-file\x20<file>','Change\x20to\x20directory\x20before\x20executing\x20command','update\x20<service_id>\x20[parent_segment]','desc\x20[name]','--limit\x20<number>','Make\x20segment\x20invisible\x20(default:\x20visible)','status','allowExcessArguments','--method\x20<pm>','--jsonl','INVALID_ARGUMENT','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','campaigns\x20[pattern]','Show\x20always-on\x20campaign\x20details','Apply\x20a\x20template','pull\x20<project>\x20[target-dir]','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--rule\x20<json>','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Create\x20a\x20workspace','Show\x20a\x20specific\x20realtime\x20personalization','Output\x20directory','--add-behaviors-file\x20<file>','Pull\x20templates\x20to\x20YAML\x20files','Get\x20current\x20RT\x20configuration\x20version\x20status','CDP\x20Journey\x20Orchestration\x20commands','--revision\x20<revision>','resume\x20<name-or-path>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Access\x20control\x20policy\x20commands','audience','Plaintext\x20template\x20content','--description\x20<desc>','segment','connections','--num\x20<1-10>','--reeval','Show\x20email\x20template\x20details','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','logLevel','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Reason\x20for\x20killing\x20the\x20attempt','delete\x20<name>','isArray','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','always-on-campaign','Timezone\x20for\x20cron','Directory\x20does\x20not\x20exist:\x20','Delete\x20an\x20agent','pause\x20<name-or-path>','-p,\x20--profile\x20<name>','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','argumentDescription','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Output\x20file\x20path','--to\x20<timestamp>','--schedule-option\x20<value>','--verbose','Describe\x20table\x20schema','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','-c,\x20--continue','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--database\x20<name>','entries','Query\x20engine\x20version','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','argv','List\x20secret\x20keys\x20for\x20a\x20project','login','show\x20[segment_name]','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--subject\x20<subject>','--trace','argumentTerm','\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','show\x20<job-id>','--reason\x20<text>','--version\x20<number>','upgrade','Name\x20for\x20the\x20new\x20project\x20(required)','show\x20<agent-name>','Show\x20Kanban\x20board\x20view\x20of\x20tasks','\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','--full','use\x20[resource]\x20[value]','Create\x20a\x20new\x20campaign','length','update\x20<segment_name>','find','--starter-message\x20<text>','Maximum\x20recursion\x20depth\x20(default:\x2010)','Trino\x20catalog\x20(default:\x20td)','summary','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Follow/watch\x20timeline\x20for\x20running\x20attempts','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--stage\x20<name>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','--result\x20<target>','parents\x20[pattern]','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','profile','delete\x20<agent-name>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','cas','-X,\x20--method\x20<method>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--parent-segment\x20<name>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','grapesjs','template','pull\x20[project]\x20[agent-name]','--name\x20<name>','--stream','Initial\x20status','Parent\x20segment\x20management','--agent\x20<ref>'];a2_0xc346=function(){return _0x23e939;};return a2_0xc346();}psPzServiceTokenCmd['command'](a2_0x16aa97(0x411))[a2_0x16aa97(0x458)](a2_0x16aa97(0x218))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3d6),'Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses')[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b5),a2_0x16aa97(0x240))[a2_0x16aa97(0x381)](async(_0x49dc5e,_0x4e6ece,_0x57eee3,_0x21bc74)=>{const _0x222135=new PSPzServiceTokenCreateCommand(),_0x8a3d25=program['opts'](),_0x5b560a=await createTDXInstance(_0x8a3d25),_0x532bfd=await _0x222135['run']({'options':{..._0x8a3d25,..._0x21bc74},'args':_0x57eee3?[_0x49dc5e,_0x4e6ece,_0x57eee3]:[_0x49dc5e,_0x4e6ece],'tdx':_0x5b560a});gracefulExit(_0x532bfd);}),psPzServiceTokenCmd['command']('delete\x20<token_id>\x20[parent_segment]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x1c0))[a2_0x16aa97(0x381)](async(_0x52b74c,_0x1c87f1,_0x55b5ec)=>{const _0x2b3b08=a2_0x16aa97,_0x193e12=new PSPzServiceTokenDeleteCommand(),_0x30c434=program[_0x2b3b08(0x3b4)](),_0x2a1ddb=await createTDXInstance(_0x30c434),_0x485762=await _0x193e12['run']({'options':{..._0x30c434,..._0x55b5ec},'args':_0x1c87f1?[_0x52b74c,_0x1c87f1]:[_0x52b74c],'tdx':_0x2a1ddb});gracefulExit(_0x485762);}),parentCmd[a2_0x16aa97(0x1d1)]('create\x20<name>')['description'](a2_0x16aa97(0x20b))['requiredOption'](a2_0x16aa97(0x164),a2_0x16aa97(0x338))[a2_0x16aa97(0x382)]('--table\x20<table>',a2_0x16aa97(0x3a8))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b5),'Parent\x20segment\x20description')[a2_0x16aa97(0x296)](a2_0x16aa97(0x440),a2_0x16aa97(0x343))['option'](a2_0x16aa97(0x2de),a2_0x16aa97(0x34c))['option']('--timezone\x20<tz>',a2_0x16aa97(0x425))[a2_0x16aa97(0x296)]('--attributes\x20<json>',a2_0x16aa97(0x244))['option'](a2_0x16aa97(0x2a5),'Attributes\x20from\x20JSON\x20file')[a2_0x16aa97(0x296)](a2_0x16aa97(0x326),a2_0x16aa97(0x192))[a2_0x16aa97(0x296)](a2_0x16aa97(0x43c),a2_0x16aa97(0x1a3))[a2_0x16aa97(0x296)]('--customer-group\x20<json>',a2_0x16aa97(0x151))[a2_0x16aa97(0x296)](a2_0x16aa97(0x17c),a2_0x16aa97(0x419))[a2_0x16aa97(0x381)](async(_0x5126bc,_0x11a0c5)=>{const _0x46f705=a2_0x16aa97,_0xf6c410=new ParentSegmentCreateCommand(),_0x35bc10=program[_0x46f705(0x3b4)](),_0x5c1b92=await createTDXInstance(_0x35bc10),_0x5ce286=await _0xf6c410[_0x46f705(0x253)]({'options':{..._0x35bc10,..._0x11a0c5},'args':[_0x5126bc],'tdx':_0x5c1b92});gracefulExit(_0x5ce286);}),parentCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3c8))[a2_0x16aa97(0x458)](a2_0x16aa97(0x179))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b5),a2_0x16aa97(0x3f9))['option'](a2_0x16aa97(0x440),a2_0x16aa97(0x199))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2de),'Updated\x20schedule\x20option')[a2_0x16aa97(0x296)](a2_0x16aa97(0x376),a2_0x16aa97(0x1a6))['option'](a2_0x16aa97(0x207),a2_0x16aa97(0x39c))[a2_0x16aa97(0x296)]('--add-attributes-file\x20<file>',a2_0x16aa97(0x439))[a2_0x16aa97(0x296)](a2_0x16aa97(0x246),a2_0x16aa97(0x3c2))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2bb),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x16aa97(0x381)](async(_0x512d67,_0x36152b)=>{const _0x51798a=a2_0x16aa97,_0x57c428=new ParentSegmentUpdateCommand(),_0x37732f=program[_0x51798a(0x3b4)](),_0x342713=await createTDXInstance(_0x37732f),_0x1ca78e=await _0x57c428[_0x51798a(0x253)]({'options':{..._0x37732f,..._0x36152b},'args':[_0x512d67],'tdx':_0x342713});gracefulExit(_0x1ca78e);}),folderCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x32b))[a2_0x16aa97(0x458)](a2_0x16aa97(0x44f))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b5),'Folder\x20description')['option']('--parent-folder\x20<name>',a2_0x16aa97(0x3ac))[a2_0x16aa97(0x381)](async(_0x52e7ab,_0x45d624,_0x3d6a18)=>{const _0x40013c=a2_0x16aa97,_0x2d64f8=new SegmentFolderCreateCommand(),_0x33f123=program[_0x40013c(0x3b4)](),_0x4a6226=await createTDXInstance(_0x33f123),_0x28d823=await _0x2d64f8[_0x40013c(0x253)]({'options':{..._0x33f123,..._0x3d6a18},'args':[_0x52e7ab,_0x45d624],'tdx':_0x4a6226});gracefulExit(_0x28d823);}),program[a2_0x16aa97(0x1d1)]('activations\x20<segment_name>')['description'](a2_0x16aa97(0x26b))['action'](async(_0x12419f,_0x5c5dd7)=>{const _0x11e1ff=a2_0x16aa97,_0x2ad08d=new ActivationsCommand(),_0x43760f=program[_0x11e1ff(0x3b4)](),_0x5bf56f=await createTDXInstance(_0x43760f),_0x15eb03=await _0x2ad08d['run']({'options':{..._0x43760f,..._0x5c5dd7},'args':[_0x12419f],'tdx':_0x5bf56f});gracefulExit(_0x15eb03);});const workflowCmd=program[a2_0x16aa97(0x1d1)]('workflow')['alias']('wf')[a2_0x16aa97(0x458)](a2_0x16aa97(0x352)),wfProjectCmd=workflowCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3c6))['description'](a2_0x16aa97(0x36d)),wfProjectListAction=async(_0x264999,_0x3d881f)=>{const _0x3fb988=a2_0x16aa97,_0x189bbb=new WorkflowProjectsCommand(),_0xcc9ae7=program[_0x3fb988(0x3b4)](),_0x3f484f=await createTDXInstance(_0xcc9ae7),_0x2eb918=await _0x189bbb[_0x3fb988(0x253)]({'options':{..._0xcc9ae7,..._0x3d881f},'args':_0x264999?[_0x264999]:[],'tdx':_0x3f484f});gracefulExit(_0x2eb918);};wfProjectCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1e7))[a2_0x16aa97(0x381)](wfProjectListAction),workflowCmd['command'](a2_0x16aa97(0x3e7))[a2_0x16aa97(0x458)](a2_0x16aa97(0x210))[a2_0x16aa97(0x381)](wfProjectListAction);const wfWorkflowListAction=async(_0xa66c94,_0x37388a)=>{const _0x4d4097=new WorkflowWorkflowsCommand(),_0x1708fc=program['opts'](),_0x208377=await createTDXInstance(_0x1708fc),_0x449dab=await _0x4d4097['run']({'options':{..._0x1708fc,..._0x37388a},'args':_0xa66c94?[_0xa66c94]:[],'tdx':_0x208377});gracefulExit(_0x449dab);};workflowCmd[a2_0x16aa97(0x1d1)]('workflows\x20[project]')['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x16aa97(0x1d1)]('session')['description']('Workflow\x20session\x20management'),wfSessionListAction=async(_0x9d459d,_0x3bc851)=>{const _0x2d16b3=a2_0x16aa97,_0x6ea7d5=new WorkflowSessionsCommand(),_0x41aaed=program[_0x2d16b3(0x3b4)](),_0x5aef0b=await createTDXInstance(_0x41aaed),_0x590379=await _0x6ea7d5[_0x2d16b3(0x253)]({'options':{..._0x41aaed,..._0x3bc851},'args':_0x9d459d?[_0x9d459d]:[],'tdx':_0x5aef0b});gracefulExit(_0x590379);};wfSessionCmd[a2_0x16aa97(0x1d1)]('list\x20[project]')[a2_0x16aa97(0x458)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x3ea),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x33f),a2_0x16aa97(0x13a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2dd),a2_0x16aa97(0x1c7))[a2_0x16aa97(0x381)](wfSessionListAction),workflowCmd['command']('sessions\x20[project]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x3a2))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3ea),a2_0x16aa97(0x1f3))[a2_0x16aa97(0x296)](a2_0x16aa97(0x33f),a2_0x16aa97(0x13a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2dd),a2_0x16aa97(0x1c7))[a2_0x16aa97(0x381)](wfSessionListAction);const wfAttemptListAction=async(_0x527ec5,_0x11dc8f)=>{const _0x1a7255=a2_0x16aa97,_0x526d58=new WorkflowAttemptsCommand(),_0x38c2f2=program[_0x1a7255(0x3b4)](),_0x1f2176=await createTDXInstance(_0x38c2f2),_0x486137=await _0x526d58['run']({'options':{..._0x38c2f2,..._0x11dc8f},'args':_0x527ec5?[_0x527ec5]:[],'tdx':_0x1f2176});gracefulExit(_0x486137);},attemptCmd=workflowCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x15d))[a2_0x16aa97(0x458)]('Workflow\x20attempt\x20management')['argument'](a2_0x16aa97(0x39d),a2_0x16aa97(0x444))[a2_0x16aa97(0x216)](a2_0x16aa97(0x1ff),a2_0x16aa97(0x287))['argument'](a2_0x16aa97(0x271),'Task\x20name\x20for\x20logs\x20action')[a2_0x16aa97(0x296)]('--include-subtasks',a2_0x16aa97(0x38a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2f5),a2_0x16aa97(0x2ce))[a2_0x16aa97(0x296)](a2_0x16aa97(0x344),a2_0x16aa97(0x445))[a2_0x16aa97(0x296)](a2_0x16aa97(0x443),a2_0x16aa97(0x24d))[a2_0x16aa97(0x296)](a2_0x16aa97(0x24a),a2_0x16aa97(0x17a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x272),a2_0x16aa97(0x209))[a2_0x16aa97(0x381)](async(_0xd35b77,_0x3141e2,_0x468ed8,_0x58e3ce)=>{const _0x595be3=a2_0x16aa97;if(_0xd35b77===_0x595be3(0x21b)){await wfAttemptListAction(_0x3141e2,_0x58e3ce);return;}if(!_0xd35b77){attemptCmd[_0x595be3(0x190)]();return;}const _0x3af911=program[_0x595be3(0x3b4)](),_0x22ad40=await createTDXInstance(_0x3af911);let _0x229e5d=0x0;if(!_0x3141e2){const _0x336ebd=new WorkflowAttemptCommand();_0x229e5d=await _0x336ebd[_0x595be3(0x253)]({'options':{..._0x3af911,..._0x58e3ce},'args':[_0xd35b77],'tdx':_0x22ad40});}else{if(_0x3141e2==='logs'){const _0x434c29=new WorkflowLogsCommand();_0x229e5d=await _0x434c29[_0x595be3(0x253)]({'options':{..._0x3af911,..._0x58e3ce},'args':_0x468ed8?[_0xd35b77,_0x468ed8]:[_0xd35b77],'tdx':_0x22ad40});}else{if(_0x3141e2===_0x595be3(0x1dc)){const _0x5fdacf=new WorkflowTasksCommand();_0x229e5d=await _0x5fdacf[_0x595be3(0x253)]({'options':{..._0x3af911,..._0x58e3ce},'args':[_0xd35b77],'tdx':_0x22ad40});}else{if(_0x3141e2===_0x595be3(0x3e3)){const _0x49ba1a=new WorkflowKillCommand();_0x229e5d=await _0x49ba1a[_0x595be3(0x253)]({'options':{..._0x3af911,..._0x58e3ce},'args':[_0xd35b77],'tdx':_0x22ad40});}else{if(_0x3141e2===_0x595be3(0x23a)){const _0x5dd1b2=new WorkflowRetryCommand();_0x229e5d=await _0x5dd1b2[_0x595be3(0x253)]({'options':{..._0x3af911,..._0x58e3ce},'args':['attempt:'+_0xd35b77],'tdx':_0x22ad40});}else console[_0x595be3(0x3ae)](_0x595be3(0x14a)+_0x3141e2),console[_0x595be3(0x3ae)](_0x595be3(0x1c6)),_0x229e5d=0x1;}}}}gracefulExit(_0x229e5d);});attemptCmd['command'](a2_0x16aa97(0x169))['description'](a2_0x16aa97(0x2db))[a2_0x16aa97(0x296)](a2_0x16aa97(0x272),a2_0x16aa97(0x447))[a2_0x16aa97(0x381)](wfAttemptListAction),workflowCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ef))[a2_0x16aa97(0x458)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')['option'](a2_0x16aa97(0x272),'Include\x20retried\x20attempts')[a2_0x16aa97(0x381)](wfAttemptListAction),workflowCmd['command'](a2_0x16aa97(0x18e))['description'](a2_0x16aa97(0x268))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1e5),a2_0x16aa97(0x307))[a2_0x16aa97(0x296)](a2_0x16aa97(0x177),a2_0x16aa97(0x310))[a2_0x16aa97(0x296)]('--attempt-id\x20<id>',a2_0x16aa97(0x1fc))[a2_0x16aa97(0x381)](async(_0x247679,_0xe2f169)=>{const _0x1744b3=a2_0x16aa97,_0x20ded6=new WorkflowTimelineCommand(),_0x35b2c9=program[_0x1744b3(0x3b4)](),_0x101041=await createTDXInstance(_0x35b2c9),_0x3698d6=await _0x20ded6[_0x1744b3(0x253)]({'options':{..._0x35b2c9,..._0xe2f169},'args':_0x247679?[_0x247679]:[],'tdx':_0x101041});gracefulExit(_0x3698d6);}),workflowCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x27c))[a2_0x16aa97(0x458)](a2_0x16aa97(0x157))[a2_0x16aa97(0x296)](a2_0x16aa97(0x453),a2_0x16aa97(0x173))[a2_0x16aa97(0x296)](a2_0x16aa97(0x443),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')['action'](async(_0x3b2389,_0x3d551f)=>{const _0x33022a=a2_0x16aa97,_0x4907de=new WorkflowRetryCommand(),_0x1baef5=program[_0x33022a(0x3b4)](),_0x17c948=await createTDXInstance(_0x1baef5),_0x57f8a9=await _0x4907de['run']({'options':{..._0x1baef5,..._0x3d551f},'args':[_0x3b2389],'tdx':_0x17c948});gracefulExit(_0x57f8a9);}),workflowCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x437))[a2_0x16aa97(0x458)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x257),a2_0x16aa97(0x161),(_0xc087c4,_0x4e64a5=[])=>[..._0x4e64a5,_0xc087c4],[])[a2_0x16aa97(0x296)](a2_0x16aa97(0x403),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x16aa97(0x381)](async(_0x2c311f,_0x550584)=>{const _0x4d95d1=a2_0x16aa97,_0x34064b=new WorkflowRunCommand(),_0x4f4d31=program[_0x4d95d1(0x3b4)](),_0x2c5dc2=await createTDXInstance(_0x4f4d31),_0x1c50b7=await _0x34064b[_0x4d95d1(0x253)]({'options':{..._0x4f4d31,..._0x550584},'args':_0x2c311f?[_0x2c311f]:[],'tdx':_0x2c5dc2});gracefulExit(_0x1c50b7);}),workflowCmd[a2_0x16aa97(0x1d1)]('download\x20<project-name>\x20[output-dir]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x16a))['option'](a2_0x16aa97(0x2bf),a2_0x16aa97(0x314))[a2_0x16aa97(0x381)](async(_0x1913ea,_0x388fd1,_0x3e510f)=>{const _0x2d2292=a2_0x16aa97,_0x2572cc=new WorkflowDownloadCommand(),_0x3b89e3=program[_0x2d2292(0x3b4)](),_0x537b77=await createTDXInstance(_0x3b89e3),_0x9fd19d=await _0x2572cc[_0x2d2292(0x253)]({'options':{..._0x3b89e3,..._0x3e510f},'args':[_0x1913ea,_0x388fd1||'.'],'tdx':_0x537b77});gracefulExit(_0x9fd19d);}),workflowCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2b4))[a2_0x16aa97(0x458)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x16aa97(0x296)]('--revision\x20<revision>',a2_0x16aa97(0x27f))['option'](a2_0x16aa97(0x3be),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x16aa97(0x381)](async(_0x1e7662,_0x513713,_0x48adb8)=>{const _0x2d051b=a2_0x16aa97,_0x1cb72a=new WorkflowPullCommand(),_0x25c8e3=program[_0x2d051b(0x3b4)](),_0x2cb5bf=await createTDXInstance(_0x25c8e3),_0x28f809=await _0x1cb72a['run']({'options':{..._0x25c8e3,..._0x48adb8},'args':_0x513713?[_0x1e7662,_0x513713]:[_0x1e7662],'tdx':_0x2cb5bf});gracefulExit(_0x28f809);}),workflowCmd[a2_0x16aa97(0x1d1)]('push\x20[source-dir]')[a2_0x16aa97(0x458)]('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')['option'](a2_0x16aa97(0x2bf),a2_0x16aa97(0x1d3))[a2_0x16aa97(0x296)]('--dry-run',a2_0x16aa97(0x23d))['option']('--skip-validation',a2_0x16aa97(0x197))['action'](async(_0x4fc335,_0x313a19)=>{const _0x39c4b8=a2_0x16aa97,_0x5eab65=new WorkflowPushCommand(),_0x5a638b=program[_0x39c4b8(0x3b4)](),_0x75e73f=await createTDXInstance(_0x5a638b),_0xc96f2e=await _0x5eab65[_0x39c4b8(0x253)]({'options':{..._0x5a638b,..._0x313a19},'args':_0x4fc335?[_0x4fc335]:[],'tdx':_0x75e73f});gracefulExit(_0xc96f2e);}),workflowCmd['command'](a2_0x16aa97(0x1dd))[a2_0x16aa97(0x458)]('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x31b),'Override\x20project\x20name')['option']('--revision\x20<revision>',a2_0x16aa97(0x175))['option']('--skip-validation',a2_0x16aa97(0x197))[a2_0x16aa97(0x381)](async(_0x4637f6,_0x2253f1)=>{const _0x1a5a42=a2_0x16aa97,_0x359575=new WorkflowUploadCommand(),_0x2e1243=program[_0x1a5a42(0x3b4)](),_0x290fc9=await createTDXInstance(_0x2e1243),_0x5d3668=await _0x359575[_0x1a5a42(0x253)]({'options':{..._0x2e1243,..._0x2253f1},'args':_0x4637f6?[_0x4637f6]:[],'tdx':_0x290fc9});gracefulExit(_0x5d3668);}),workflowCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x14f))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1db))[a2_0x16aa97(0x296)]('--name\x20<name>',a2_0x16aa97(0x2f8))[a2_0x16aa97(0x296)]('--revision\x20<revision>',a2_0x16aa97(0x1d3))['option']('--dry-run',a2_0x16aa97(0x413))[a2_0x16aa97(0x296)](a2_0x16aa97(0x36a),a2_0x16aa97(0x197))[a2_0x16aa97(0x381)](async(_0x7288ee,_0x10db1d)=>{const _0x5ce873=a2_0x16aa97,_0x3588dc=new WorkflowCloneCommand(),_0x1509ff=program['opts'](),_0x56e48c=await createTDXInstance(_0x1509ff),_0x11b3cf=await _0x3588dc[_0x5ce873(0x253)]({'options':{..._0x1509ff,..._0x10db1d},'args':_0x7288ee?[_0x7288ee]:[],'tdx':_0x56e48c});gracefulExit(_0x11b3cf);}),workflowCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x449))['description']('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x16aa97(0x381)](async(_0x32da94,_0x2b0217)=>{const _0x5981dc=a2_0x16aa97,_0x1242b4=new WorkflowDeleteCommand(),_0x39dad1=program[_0x5981dc(0x3b4)](),_0x4f1de0=await createTDXInstance(_0x39dad1),_0x385fb8=await _0x1242b4[_0x5981dc(0x253)]({'options':{..._0x39dad1,..._0x2b0217},'args':[_0x32da94],'tdx':_0x4f1de0});gracefulExit(_0x385fb8);}),workflowCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x223))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3ee))['option'](a2_0x16aa97(0x36f),a2_0x16aa97(0x44b))[a2_0x16aa97(0x381)](async(_0x2280d1,_0x27cc00)=>{const _0x3b4462=a2_0x16aa97,_0x175171=new WorkflowUseCommand(),_0x9941d3=program[_0x3b4462(0x3b4)](),_0x44a3fc=await createTDXInstance(_0x9941d3),_0x3a805c=await _0x175171[_0x3b4462(0x253)]({'options':{..._0x9941d3,..._0x27cc00},'args':_0x2280d1?[_0x2280d1]:[],'tdx':_0x44a3fc});gracefulExit(_0x3a805c);});const wfSecretsCmd=workflowCmd['command'](a2_0x16aa97(0x219))[a2_0x16aa97(0x458)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x169))['description'](a2_0x16aa97(0x2ec))[a2_0x16aa97(0x381)](async(_0x43229b,_0x5ad602)=>{const _0x361d4d=a2_0x16aa97,_0x9137f2=new WorkflowSecretsListCommand(),_0x1be7b8=program[_0x361d4d(0x3b4)](),_0x349a96=await createTDXInstance(_0x1be7b8),_0x1d0264=await _0x9137f2[_0x361d4d(0x253)]({'options':{..._0x1be7b8,..._0x5ad602},'args':_0x43229b?[_0x43229b]:[],'tdx':_0x349a96});gracefulExit(_0x1d0264);}),wfSecretsCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x227))[a2_0x16aa97(0x458)](a2_0x16aa97(0x401))['action'](async(_0x471b73,_0x31c24a)=>{const _0x30b382=new WorkflowSecretsSetCommand(),_0x3e1e9e=program['opts'](),_0x4bc21c=await createTDXInstance(_0x3e1e9e),_0x97b735=await _0x30b382['run']({'options':{..._0x3e1e9e,..._0x31c24a},'args':_0x471b73,'tdx':_0x4bc21c});gracefulExit(_0x97b735);}),wfSecretsCmd[a2_0x16aa97(0x1d1)]('delete\x20<args...>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x17b))[a2_0x16aa97(0x381)](async(_0x277a0b,_0x1f8673)=>{const _0x37534a=a2_0x16aa97,_0x1b2f71=new WorkflowSecretsDeleteCommand(),_0x1d3aca=program[_0x37534a(0x3b4)](),_0x43e17a=await createTDXInstance(_0x1d3aca),_0x2e4535=await _0x1b2f71[_0x37534a(0x253)]({'options':{..._0x1d3aca,..._0x1f8673},'args':_0x277a0b,'tdx':_0x43e17a});gracefulExit(_0x2e4535);});const jobCmd=program[a2_0x16aa97(0x1d1)]('job')[a2_0x16aa97(0x458)](a2_0x16aa97(0x3c9)),jobListAction=async _0x4bc427=>{const _0x3173b7=a2_0x16aa97,_0x4b88c7=new JobListCommand(),_0x3be04a=program['opts'](),_0x3773d4=await createTDXInstance(_0x3be04a),_0x352083=await _0x4b88c7[_0x3173b7(0x253)]({'options':{..._0x3be04a,..._0x4bc427},'args':[],'tdx':_0x3773d4});gracefulExit(_0x352083);};jobCmd['command']('list')[a2_0x16aa97(0x458)]('List\x20jobs')[a2_0x16aa97(0x296)](a2_0x16aa97(0x3ea),a2_0x16aa97(0x397))[a2_0x16aa97(0x381)](jobListAction),program['command'](a2_0x16aa97(0x12b),{'hidden':!![]})[a2_0x16aa97(0x458)](a2_0x16aa97(0x2b5))[a2_0x16aa97(0x296)]('--status\x20<status>',a2_0x16aa97(0x397))[a2_0x16aa97(0x381)](jobListAction),jobCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2f4))[a2_0x16aa97(0x458)](a2_0x16aa97(0x25b))[a2_0x16aa97(0x381)](async(_0x653788,_0x31b8e5)=>{const _0x450b2e=a2_0x16aa97,_0x18b28e=new JobShowCommand(),_0x291b81=program[_0x450b2e(0x3b4)](),_0x253bb4=await createTDXInstance(_0x291b81),_0x13b552=await _0x18b28e[_0x450b2e(0x253)]({'options':{..._0x291b81,..._0x31b8e5},'args':[_0x653788],'tdx':_0x253bb4});gracefulExit(_0x13b552);}),jobCmd[a2_0x16aa97(0x1d1)]('kill\x20<job-id>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x37f))['action'](async(_0x4bff22,_0x36ab1a)=>{const _0x141afb=a2_0x16aa97,_0xdb0a81=new JobKillCommand(),_0x5ed442=program[_0x141afb(0x3b4)](),_0x45c7ff=await createTDXInstance(_0x5ed442),_0x5bff9e=await _0xdb0a81[_0x141afb(0x253)]({'options':{..._0x5ed442,..._0x36ab1a},'args':[_0x4bff22],'tdx':_0x45c7ff});gracefulExit(_0x5bff9e);}),jobCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x339))[a2_0x16aa97(0x458)](a2_0x16aa97(0x334))['option']('--job-type\x20<type>',a2_0x16aa97(0x277),a2_0x16aa97(0x2a1))[a2_0x16aa97(0x296)](a2_0x16aa97(0x37b),a2_0x16aa97(0x1cb))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2e6),'Database\x20name\x20(default:\x20information_schema)',a2_0x16aa97(0x156))['option'](a2_0x16aa97(0x30b),a2_0x16aa97(0x171))[a2_0x16aa97(0x381)](async(_0x26f34b,_0x489108)=>{const _0x3397ab=a2_0x16aa97,_0x5e7508=new JobSubmitCommand(),_0x5f3e94=program[_0x3397ab(0x3b4)](),_0x3a7bf0=await createTDXInstance(_0x5f3e94),_0x319482=await _0x5e7508[_0x3397ab(0x253)]({'options':{..._0x5f3e94,..._0x489108},'args':_0x26f34b?[_0x26f34b]:[],'tdx':_0x3a7bf0});gracefulExit(_0x319482);}),jobCmd['command'](a2_0x16aa97(0x452))[a2_0x16aa97(0x458)](a2_0x16aa97(0x18a))[a2_0x16aa97(0x381)](async(_0x55e4a1,_0x484dce)=>{const _0x171cc2=new JobResultCommand(),_0x1c55c1=program['opts'](),_0x3681e0=await createTDXInstance(_0x1c55c1),_0xd845f=await _0x171cc2['run']({'options':{..._0x1c55c1,..._0x484dce},'args':[_0x55e4a1],'tdx':_0x3681e0});gracefulExit(_0xd845f);});const scheduleCmd=jobCmd['command'](a2_0x16aa97(0x27a))[a2_0x16aa97(0x458)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x174))[a2_0x16aa97(0x381)](async(_0x2b311a,_0xece83c)=>{const _0x444b48=a2_0x16aa97,_0x3f55c8=new ScheduleListCommand(),_0x52aa30=program[_0x444b48(0x3b4)](),_0x299e99=await createTDXInstance(_0x52aa30),_0x298b7e=await _0x3f55c8[_0x444b48(0x253)]({'options':{..._0x52aa30,..._0xece83c},'args':_0x2b311a?[_0x2b311a]:[],'tdx':_0x299e99});gracefulExit(_0x298b7e);}),scheduleCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x433))['description'](a2_0x16aa97(0x360))['action'](async(_0x356883,_0x13bdd8)=>{const _0x510d43=a2_0x16aa97,_0x3d12a9=new ScheduleShowCommand(),_0x45002f=program['opts'](),_0x4096f2=await createTDXInstance(_0x45002f),_0xb0c178=await _0x3d12a9[_0x510d43(0x253)]({'options':{..._0x45002f,..._0x13bdd8},'args':[_0x356883],'tdx':_0x4096f2});gracefulExit(_0xb0c178);}),scheduleCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3fe))[a2_0x16aa97(0x458)](a2_0x16aa97(0x12c))[a2_0x16aa97(0x296)](a2_0x16aa97(0x20e),a2_0x16aa97(0x15f))[a2_0x16aa97(0x296)]('--in\x20<db>',a2_0x16aa97(0x321))['requiredOption']('-f,\x20--file\x20<path>',a2_0x16aa97(0x1cb))[a2_0x16aa97(0x296)](a2_0x16aa97(0x150),'Query\x20type:\x20trino\x20or\x20hive',a2_0x16aa97(0x2a1))[a2_0x16aa97(0x296)]('--cron\x20<expression>','Cron\x20expression\x20for\x20scheduling')[a2_0x16aa97(0x296)](a2_0x16aa97(0x376),a2_0x16aa97(0x16e))['option'](a2_0x16aa97(0x260),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x16aa97(0x296)]('--priority\x20<-2~2>',a2_0x16aa97(0x378))['option'](a2_0x16aa97(0x1c5),a2_0x16aa97(0x33d))[a2_0x16aa97(0x296)](a2_0x16aa97(0x35b),a2_0x16aa97(0x2e8))[a2_0x16aa97(0x296)]('--result\x20<url>','Result\x20output\x20destination\x20URL')[a2_0x16aa97(0x381)](async(_0xdb2b79,_0x308526)=>{const _0x58bff8=a2_0x16aa97,_0x1d6152=new ScheduleCreateCommand(),_0x252a58=program[_0x58bff8(0x3b4)](),_0x336e51=await createTDXInstance(_0x252a58);_0x308526['in']&&(_0x308526['database']=_0x308526['in']);const _0x5c90cb=await _0x1d6152[_0x58bff8(0x253)]({'options':{..._0x252a58,..._0x308526},'args':[_0xdb2b79],'tdx':_0x336e51});gracefulExit(_0x5c90cb);}),scheduleCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3c8))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3c7))[a2_0x16aa97(0x296)](a2_0x16aa97(0x20e),'Database\x20name')['option']('--in\x20<db>',a2_0x16aa97(0x321))[a2_0x16aa97(0x296)](a2_0x16aa97(0x37b),a2_0x16aa97(0x1cb))[a2_0x16aa97(0x296)](a2_0x16aa97(0x150),a2_0x16aa97(0x138))['option']('--cron\x20<expression>',a2_0x16aa97(0x3e2))['option'](a2_0x16aa97(0x376),a2_0x16aa97(0x2d3))['option'](a2_0x16aa97(0x260),a2_0x16aa97(0x3db))['option'](a2_0x16aa97(0x1d9),a2_0x16aa97(0x378))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1c5),a2_0x16aa97(0x33d))[a2_0x16aa97(0x296)](a2_0x16aa97(0x35b),'Query\x20engine\x20version')[a2_0x16aa97(0x296)](a2_0x16aa97(0x198),'Result\x20output\x20destination\x20URL')[a2_0x16aa97(0x381)](async(_0x5ae69b,_0x53f40b)=>{const _0x3c6db0=a2_0x16aa97,_0x18df09=new ScheduleUpdateCommand(),_0x5e8d3e=program[_0x3c6db0(0x3b4)](),_0x54ecf7=await createTDXInstance(_0x5e8d3e);_0x53f40b['in']&&(_0x53f40b[_0x3c6db0(0x28a)]=_0x53f40b['in']);const _0x2a5663=await _0x18df09['run']({'options':{..._0x5e8d3e,..._0x53f40b},'args':[_0x5ae69b],'tdx':_0x54ecf7});gracefulExit(_0x2a5663);}),scheduleCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2cf))['description'](a2_0x16aa97(0x41c))[a2_0x16aa97(0x381)](async(_0x1f5682,_0x5d8213)=>{const _0x16d33f=a2_0x16aa97,_0x190959=new ScheduleDeleteCommand(),_0x2c88cf=program[_0x16d33f(0x3b4)](),_0x888d32=await createTDXInstance(_0x2c88cf),_0x150e66=await _0x190959[_0x16d33f(0x253)]({'options':{..._0x2c88cf,..._0x5d8213},'args':[_0x1f5682],'tdx':_0x888d32});gracefulExit(_0x150e66);}),scheduleCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x383))['description'](a2_0x16aa97(0x15a))[a2_0x16aa97(0x296)]('--time\x20<iso8601>',a2_0x16aa97(0x368))['option'](a2_0x16aa97(0x2c8),a2_0x16aa97(0x35c))[a2_0x16aa97(0x381)](async(_0x41858a,_0x1da181)=>{const _0x554713=a2_0x16aa97,_0xe1004a=new ScheduleRunCommand(),_0x53d29f=program[_0x554713(0x3b4)](),_0x2069a8=await createTDXInstance(_0x53d29f),_0x122cda=await _0xe1004a[_0x554713(0x253)]({'options':{..._0x53d29f,..._0x1da181},'args':[_0x41858a],'tdx':_0x2069a8});gracefulExit(_0x122cda);}),scheduleCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x16d))[a2_0x16aa97(0x458)](a2_0x16aa97(0x19b))['option'](a2_0x16aa97(0x3f6),a2_0x16aa97(0x160))['option']('--to\x20<n>',a2_0x16aa97(0x333))[a2_0x16aa97(0x381)](async(_0x19f321,_0x564317)=>{const _0xb53ba9=new ScheduleHistoryCommand(),_0x132cd5=program['opts'](),_0x1c4ed7=await createTDXInstance(_0x132cd5),_0x14e488=await _0xb53ba9['run']({'options':{..._0x132cd5,..._0x564317},'args':[_0x19f321],'tdx':_0x1c4ed7});gracefulExit(_0x14e488);});const llmCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x459))[a2_0x16aa97(0x458)](a2_0x16aa97(0x336));llmCmd['command'](a2_0x16aa97(0x293))[a2_0x16aa97(0x458)](a2_0x16aa97(0x311))[a2_0x16aa97(0x381)](async(_0xd512b8,_0x28141e)=>{const _0x379686=a2_0x16aa97,_0x1891d1=new LLMUseCommand(),_0x38973b=program[_0x379686(0x3b4)](),_0x3dce12=await createTDXInstance(_0x38973b),_0x7b7541=await _0x1891d1[_0x379686(0x253)]({'options':{..._0x38973b,..._0x28141e},'args':[_0xd512b8],'tdx':_0x3dce12});gracefulExit(_0x7b7541);}),llmCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x20d))['description'](a2_0x16aa97(0x399))[a2_0x16aa97(0x381)](async _0x150c00=>{const _0x4d9f98=a2_0x16aa97,_0x38f753=new LLMModelsCommand(),_0x2b76a6=program[_0x4d9f98(0x3b4)](),_0x5aaa70=await createTDXInstance(_0x2b76a6),_0x56c282=await _0x38f753['run']({'options':{..._0x2b76a6,..._0x150c00},'args':[],'tdx':_0x5aaa70});gracefulExit(_0x56c282);});const projectCmd=llmCmd['command'](a2_0x16aa97(0x3c6))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3d0)),llmProjectListAction=async(_0x3a8ef9,_0x35ca03)=>{const _0x4201a3=new LLMProjectsCommand(),_0xb71376=program['opts'](),_0x47fba8=await createTDXInstance(_0xb71376),_0x1ec794=await _0x4201a3['run']({'options':{..._0xb71376,..._0x35ca03},'args':_0x3a8ef9?[_0x3a8ef9]:[],'tdx':_0x47fba8});gracefulExit(_0x1ec794);};projectCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3c4))[a2_0x16aa97(0x381)](llmProjectListAction),llmCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3e7))[a2_0x16aa97(0x458)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x16aa97(0x381)](llmProjectListAction),projectCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3fe))[a2_0x16aa97(0x458)](a2_0x16aa97(0x185))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b5),'Project\x20description')['action'](async(_0x2b2d34,_0x338349)=>{const _0x535b42=a2_0x16aa97,_0x31d730=new LLMProjectCreateCommand(),_0x21cd26=program[_0x535b42(0x3b4)](),_0xae48af=await createTDXInstance(_0x21cd26),_0x494d61=await _0x31d730[_0x535b42(0x253)]({'options':{..._0x21cd26,..._0x338349},'args':[_0x2b2d34],'tdx':_0xae48af});gracefulExit(_0x494d61);}),projectCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2cf))[a2_0x16aa97(0x458)]('Delete\x20an\x20LLM\x20project')['action'](async(_0x3c0e7e,_0x59519f)=>{const _0x144013=a2_0x16aa97,_0x324c30=new LLMProjectDeleteCommand(),_0x1776b8=program[_0x144013(0x3b4)](),_0x2d8613=await createTDXInstance(_0x1776b8),_0x551a3c=await _0x324c30[_0x144013(0x253)]({'options':{..._0x1776b8,..._0x59519f},'args':[_0x3c0e7e],'tdx':_0x2d8613});gracefulExit(_0x551a3c);}),projectCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x290))[a2_0x16aa97(0x458)](a2_0x16aa97(0x176))[a2_0x16aa97(0x296)]('-o,\x20--output\x20<folder>','Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x3be),a2_0x16aa97(0x395))[a2_0x16aa97(0x381)](async(_0x4ca0db,_0x2d830a)=>{const _0x308933=a2_0x16aa97,_0x55352a=new LLMProjectBackupCommand(),_0x120c7a=program[_0x308933(0x3b4)](),_0x3c88e8=await createTDXInstance(_0x120c7a),_0x1aa873=await _0x55352a[_0x308933(0x253)]({'options':{..._0x120c7a,..._0x2d830a},'args':[_0x4ca0db],'tdx':_0x3c88e8});gracefulExit(_0x1aa873);}),projectCmd[a2_0x16aa97(0x1d1)]('restore\x20<folder>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x3d9))[a2_0x16aa97(0x296)](a2_0x16aa97(0x186),a2_0x16aa97(0x39e))[a2_0x16aa97(0x296)]('--dry-run','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')['action'](async(_0x3ae0a2,_0x4ded53)=>{const _0x26dd04=a2_0x16aa97,_0x2b2b0d=new LLMProjectRestoreCommand(),_0x3b84a8=program[_0x26dd04(0x3b4)](),_0xcc0b17=await createTDXInstance(_0x3b84a8),_0x129a22=await _0x2b2b0d['run']({'options':{..._0x3b84a8,..._0x4ded53},'args':[_0x3ae0a2],'tdx':_0xcc0b17});gracefulExit(_0x129a22);});const llmAgentListAction=async(_0x3ca153,_0x450f43)=>{const _0x12e69e=a2_0x16aa97,_0x4b7fb2=new LLMAgentsCommand(),_0x230bf2=program[_0x12e69e(0x3b4)](),_0x3b229f=await createTDXInstance(_0x230bf2),_0x3ed681=await _0x4b7fb2[_0x12e69e(0x253)]({'options':{..._0x230bf2,..._0x450f43},'args':_0x3ca153?[_0x3ca153]:[],'tdx':_0x3b229f});gracefulExit(_0x3ed681);};llmCmd['command']('agents\x20[pattern]')['description'](a2_0x16aa97(0x205))[a2_0x16aa97(0x381)](llmAgentListAction),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x24b))[a2_0x16aa97(0x458)](a2_0x16aa97(0x205))[a2_0x16aa97(0x381)](llmAgentListAction),llmCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1aa))[a2_0x16aa97(0x458)](a2_0x16aa97(0x328))[a2_0x16aa97(0x296)](a2_0x16aa97(0x430),a2_0x16aa97(0x281))[a2_0x16aa97(0x381)](async(_0x1854b5,_0x2c293a)=>{const _0x24863f=a2_0x16aa97,_0x4e1ea0=new LLMHistoryCommand(),_0x254ac2=program[_0x24863f(0x3b4)](),_0x45cd04=await createTDXInstance(_0x254ac2),_0x281f76=await _0x4e1ea0[_0x24863f(0x253)]({'options':{..._0x254ac2,..._0x2c293a},'args':_0x1854b5?[_0x1854b5]:[],'tdx':_0x45cd04});gracefulExit(_0x281f76);});isExperimentalAvailable()&&llmCmd[a2_0x16aa97(0x1d1)]('log\x20<chat-id>')['description']('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x16aa97(0x381)](async(_0x3b158b,_0x2e71c5)=>{const _0x283c23=a2_0x16aa97,_0x28e352=new LLMLogCommand(),_0xbd5f21=program[_0x283c23(0x3b4)](),_0x35a248=await createTDXInstance(_0xbd5f21),_0x741c51=await _0x28e352[_0x283c23(0x253)]({'options':{..._0xbd5f21,..._0x2e71c5},'args':[_0x3b158b],'tdx':_0x35a248});gracefulExit(_0x741c51);});program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x377))[a2_0x16aa97(0x159)]('[options]\x20--\x20[claude-code-args...]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x2cd))['option'](a2_0x16aa97(0x2e4),a2_0x16aa97(0x1cc))[a2_0x16aa97(0x296)](a2_0x16aa97(0x22b),a2_0x16aa97(0x193))['option'](a2_0x16aa97(0x398),a2_0x16aa97(0x1fe))[a2_0x16aa97(0x17e)]()[a2_0x16aa97(0x2ac)](!![])[a2_0x16aa97(0x126)](a2_0x16aa97(0x144),a2_0x16aa97(0x1c1))[a2_0x16aa97(0x381)](async(_0x48e617,_0x5c5d8e)=>{const _0x2cf3b5=a2_0x16aa97,_0x3464a5=program[_0x2cf3b5(0x3b4)](),_0x56dfbe=Array[_0x2cf3b5(0x2d0)](_0x48e617)?_0x48e617:[];if(_0x56dfbe[0x0]===_0x2cf3b5(0x3f3)){const _0x2f0352=new ClaudeStatuslineCommand(),_0x1c2090=await _0x2f0352[_0x2cf3b5(0x253)]({'options':{..._0x3464a5,..._0x5c5d8e},'args':_0x56dfbe[_0x2cf3b5(0x375)](0x1),'tdx':null});gracefulExit(_0x1c2090);}if(_0x56dfbe[0x0]===_0x2cf3b5(0x159)){const _0xd3efe1=new ClaudeUsageCommand(),_0x36852=await _0xd3efe1[_0x2cf3b5(0x253)]({'options':{..._0x3464a5,..._0x5c5d8e},'args':_0x56dfbe[_0x2cf3b5(0x375)](0x1),'tdx':null});gracefulExit(_0x36852);}const _0x318633=new ClaudeCommand(),_0x3a2291=await createTDXInstance(_0x3464a5),_0x18806c=await _0x318633[_0x2cf3b5(0x253)]({'options':{..._0x3464a5,..._0x5c5d8e},'args':_0x56dfbe,'tdx':_0x3a2291});gracefulExit(_0x18806c);}),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2fd))['description'](a2_0x16aa97(0x261))[a2_0x16aa97(0x296)]('--clear',a2_0x16aa97(0x3cb))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3ad),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['action'](async(_0x57f301,_0x54006d,_0x377eb5)=>{const _0x348434=a2_0x16aa97,_0x2aa85a=new UseCommand(),_0x5ed8e8=program[_0x348434(0x3b4)](),_0x239bc6=[];if(_0x57f301)_0x239bc6[_0x348434(0x353)](_0x57f301);if(_0x54006d)_0x239bc6['push'](_0x54006d);const _0x390609=_0x57f301===_0x348434(0x3e5),_0x3b9205=_0x390609?await createTDXInstance(_0x5ed8e8):null,_0x49e6d4=await _0x2aa85a['run']({'options':{..._0x5ed8e8,..._0x377eb5},'args':_0x239bc6,'tdx':_0x3b9205});gracefulExit(_0x49e6d4);}),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2ab))[a2_0x16aa97(0x458)]('Show\x20authentication\x20status\x20and\x20current\x20context')['action'](async _0x42e81c=>{const _0x596390=a2_0x16aa97,_0x4c6427=new StatusCommand(),_0x20dd5=program[_0x596390(0x3b4)](),_0x20074e=await createTDXInstance(_0x20dd5),_0x1fba6c=await _0x4c6427[_0x596390(0x253)]({'options':{..._0x20dd5,..._0x42e81c},'args':[],'tdx':_0x20074e});gracefulExit(_0x1fba6c);}),program['command'](a2_0x16aa97(0x350))['description'](a2_0x16aa97(0x15c))['option']('--dry-run','Check\x20for\x20updates\x20without\x20installing')[a2_0x16aa97(0x296)]('--next',a2_0x16aa97(0x446))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2ad),a2_0x16aa97(0x3d2))[a2_0x16aa97(0x381)](async(_0x2b5082,_0x147326)=>{const _0x568ede=a2_0x16aa97,_0x190a0e=new UpgradeCommand(),_0x1cf01d=program['opts'](),_0x3cef6b=await _0x190a0e[_0x568ede(0x253)]({'options':{..._0x1cf01d,..._0x147326},'args':_0x2b5082?[_0x2b5082]:[],'tdx':null});gracefulExit(_0x3cef6b);}),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x32e))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3bb))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3ad),a2_0x16aa97(0x415))[a2_0x16aa97(0x381)](async(_0x40b480,_0x18cb43)=>{const _0x35e8df=a2_0x16aa97,_0x56bf24=new UnsetCommand(),_0x304253=program[_0x35e8df(0x3b4)](),_0xabeae1=await _0x56bf24['run']({'options':{..._0x304253,..._0x18cb43},'args':[_0x40b480],'tdx':null});gracefulExit(_0xabeae1);}),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x19e))[a2_0x16aa97(0x458)](a2_0x16aa97(0x35f))[a2_0x16aa97(0x296)](a2_0x16aa97(0x430),a2_0x16aa97(0x22f))[a2_0x16aa97(0x381)](async _0x3b0739=>{const _0xb81245=a2_0x16aa97,_0x3f568a=new ChatsCommand(),_0x4027f8=program[_0xb81245(0x3b4)](),_0x55d3e8=await createTDXInstance(_0x4027f8),_0x3dfc82=await _0x3f568a[_0xb81245(0x253)]({'options':{..._0x4027f8,..._0x3b0739},'args':[],'tdx':_0x55d3e8});gracefulExit(_0x3dfc82);});const authCmd=program[a2_0x16aa97(0x1d1)]('auth')[a2_0x16aa97(0x458)](a2_0x16aa97(0x39f));async function runAuthStatusCommand(_0x116b6c){const _0x5d82ac=a2_0x16aa97,_0x3be3a0=new AuthStatusCommand(),_0x20d9b3=program[_0x5d82ac(0x3b4)](),_0x1cae26=await createTDXInstance(_0x20d9b3),_0x5c179f=await _0x3be3a0[_0x5d82ac(0x253)]({'options':{..._0x20d9b3,..._0x116b6c},'args':[],'tdx':_0x1cae26});gracefulExit(_0x5c179f);}authCmd[a2_0x16aa97(0x381)](runAuthStatusCommand),authCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2ab))[a2_0x16aa97(0x458)](a2_0x16aa97(0x428))[a2_0x16aa97(0x381)](runAuthStatusCommand),authCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x44d))[a2_0x16aa97(0x458)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x16aa97(0x126)]('after',a2_0x16aa97(0x19a))[a2_0x16aa97(0x381)](async _0x243aed=>{const _0x6a6d65=a2_0x16aa97,_0x426112=new AuthSetupCommand(),_0x4201a5=program['opts'](),_0x2794be=await createTDXInstance(_0x4201a5),_0x12c524=await _0x426112[_0x6a6d65(0x253)]({'options':{..._0x4201a5,..._0x243aed},'args':[],'tdx':_0x2794be});gracefulExit(_0x12c524);}),authCmd['command'](a2_0x16aa97(0x2ed))[a2_0x16aa97(0x458)](a2_0x16aa97(0x13f))[a2_0x16aa97(0x126)](a2_0x16aa97(0x144),a2_0x16aa97(0x414))[a2_0x16aa97(0x381)](async _0x18d85d=>{const _0x2d4521=a2_0x16aa97,_0x14b181=new AuthLoginCommand(),_0x4b14ae=program[_0x2d4521(0x3b4)](),_0x1c238d=await _0x14b181[_0x2d4521(0x253)]({'options':{..._0x4b14ae,..._0x18d85d},'args':[],'tdx':null});gracefulExit(_0x1c238d);}),authCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x436))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3c1))[a2_0x16aa97(0x126)](a2_0x16aa97(0x144),a2_0x16aa97(0x2fb))[a2_0x16aa97(0x381)](async _0x125e5f=>{const _0x3aa1fc=a2_0x16aa97,_0x54f8dd=new AuthClearCommand(),_0x50fd77=program[_0x3aa1fc(0x3b4)](),_0x3b923e=await _0x54f8dd[_0x3aa1fc(0x253)]({'options':{..._0x50fd77,..._0x125e5f},'args':[],'tdx':null});gracefulExit(_0x3b923e);});const userCmd=program['command'](a2_0x16aa97(0x1b0))[a2_0x16aa97(0x458)]('User\x20management\x20commands'),userListAction=async _0x38a781=>{const _0x291b23=a2_0x16aa97,_0x3e47e3=new UserListCommand(),_0x2a04a0=program[_0x291b23(0x3b4)](),_0x3d7041=await createTDXInstance(_0x2a04a0),_0x1dbd7f=await _0x3e47e3[_0x291b23(0x253)]({'options':{..._0x2a04a0,..._0x38a781},'args':[],'tdx':_0x3d7041});gracefulExit(_0x1dbd7f);};userCmd[a2_0x16aa97(0x381)](async _0x3a28c2=>{const _0x56226d=a2_0x16aa97,_0x59ac60=new UserCommand(),_0x4eb2bb=program[_0x56226d(0x3b4)](),_0x593fc8=await createTDXInstance(_0x4eb2bb),_0x3ada0e=await _0x59ac60[_0x56226d(0x253)]({'options':{..._0x4eb2bb,..._0x3a28c2},'args':[],'tdx':_0x593fc8});gracefulExit(_0x3ada0e);}),userCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x21b))['description'](a2_0x16aa97(0x1ef))[a2_0x16aa97(0x381)](userListAction),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x21e))[a2_0x16aa97(0x458)](a2_0x16aa97(0x40c))['action'](userListAction);const policyCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x265))['description'](a2_0x16aa97(0x2c2));policyCmd[a2_0x16aa97(0x381)](async _0x328997=>{const _0x58dd0d=a2_0x16aa97,_0x485b53=new PolicyCommand(),_0x11d1a3=program[_0x58dd0d(0x3b4)](),_0x3043c6=await createTDXInstance(_0x11d1a3),_0x2ab074=await _0x485b53['run']({'options':{..._0x11d1a3,..._0x328997},'args':[],'tdx':_0x3043c6});gracefulExit(_0x2ab074);}),policyCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x21b))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2d8))['action'](async _0x59ab8f=>{const _0x454689=a2_0x16aa97,_0x54bbca=new PolicyListCommand(),_0x4f1cc5=program[_0x454689(0x3b4)](),_0x2441bf=await createTDXInstance(_0x4f1cc5),_0x3fc7d8=await _0x54bbca[_0x454689(0x253)]({'options':{..._0x4f1cc5,..._0x59ab8f},'args':[],'tdx':_0x2441bf});gracefulExit(_0x3fc7d8);}),policyCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x424))['description']('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')['action'](async(_0x2e1c8d,_0x358cf8)=>{const _0x3148c2=a2_0x16aa97,_0xabc324=new PolicyShowCommand(),_0x2c3db3=program[_0x3148c2(0x3b4)](),_0x44b983=await createTDXInstance(_0x2c3db3),_0x3a413f=await _0xabc324[_0x3148c2(0x253)]({'options':{..._0x2c3db3,..._0x358cf8},'args':[_0x2e1c8d],'tdx':_0x44b983});gracefulExit(_0x3a413f);}),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1ed))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3de))['action'](async _0x15e876=>{const _0x3830cd=a2_0x16aa97,_0x1deddf=new ProfilesCommand(),_0x3b4405=program[_0x3830cd(0x3b4)](),_0x3395ce=await _0x1deddf[_0x3830cd(0x253)]({'options':{..._0x3b4405,..._0x15e876},'args':[],'tdx':null});gracefulExit(_0x3395ce);});const profileCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x30e))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3a3));profileCmd[a2_0x16aa97(0x381)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x2a4a77=>{const _0x125785=a2_0x16aa97,_0x5e6490=new ProfilesCommand(),_0x33d380=program['opts'](),_0x192cd9=await _0x5e6490[_0x125785(0x253)]({'options':{..._0x33d380,..._0x2a4a77},'args':[],'tdx':null});gracefulExit(_0x192cd9);};profileCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x21b))['description'](a2_0x16aa97(0x3de))[a2_0x16aa97(0x381)](profileListAction),profileCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x24c))[a2_0x16aa97(0x458)](a2_0x16aa97(0x23e))[a2_0x16aa97(0x126)]('after',a2_0x16aa97(0x2f3))[a2_0x16aa97(0x381)](async(_0x11223e,_0x3d1ddf)=>{const _0x3b282d=a2_0x16aa97,_0x74edb=new ProfileCreateCommand(),_0x4bb1d1=program[_0x3b282d(0x3b4)](),_0x5624e7=await _0x74edb[_0x3b282d(0x253)]({'options':{..._0x4bb1d1,..._0x3d1ddf},'args':_0x11223e?[_0x11223e]:[],'tdx':null});gracefulExit(_0x5624e7);}),profileCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x21c))[a2_0x16aa97(0x458)](a2_0x16aa97(0x123))[a2_0x16aa97(0x126)](a2_0x16aa97(0x144),a2_0x16aa97(0x40d))[a2_0x16aa97(0x381)](async(_0x12b508,_0x386451)=>{const _0x218a15=a2_0x16aa97,_0x559a70=new ProfileRemoveCommand(),_0x843263=program[_0x218a15(0x3b4)](),_0x60d6f6=await _0x559a70['run']({'options':{..._0x843263,..._0x386451},'args':[_0x12b508],'tdx':null});gracefulExit(_0x60d6f6);}),profileCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1eb))['description']('Set\x20a\x20profile\x20configuration\x20value')[a2_0x16aa97(0x126)](a2_0x16aa97(0x144),a2_0x16aa97(0x221))[a2_0x16aa97(0x381)](async(_0x5f4a32,_0x436e86)=>{const _0x31fdde=a2_0x16aa97,_0x3c2c76=new ProfileSetCommand(),_0xf1d6e5=program[_0x31fdde(0x3b4)](),_0x367fa3=await _0x3c2c76['run']({'options':{..._0xf1d6e5,..._0x436e86},'args':[_0x5f4a32],'tdx':null});gracefulExit(_0x367fa3);}),profileCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x269))[a2_0x16aa97(0x458)](a2_0x16aa97(0x24e))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3ad),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x16aa97(0x126)]('after',a2_0x16aa97(0x3bc))[a2_0x16aa97(0x381)](async(_0x28764e,_0x5dfda4)=>{const _0x31a79f=new ProfileUseCommand(),_0xdeb19c=program['opts'](),_0x202b9e=await _0x31a79f['run']({'options':{..._0xdeb19c,..._0x5dfda4},'args':[_0x28764e],'tdx':null});gracefulExit(_0x202b9e);});const engageCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x400))[a2_0x16aa97(0x458)](a2_0x16aa97(0x17f)),createEngageAction=_0x54cabf=>{return async(_0x142e27,_0x1627b7)=>{const _0x3e696f=a2_0x4753,_0x14a162=new _0x54cabf(),_0x43fdfc=program[_0x3e696f(0x3b4)](),_0x33f192=await createTDXInstance(_0x43fdfc),_0x426f00=await _0x14a162[_0x3e696f(0x253)]({'options':{..._0x43fdfc,..._0x1627b7},'args':[_0x142e27],'tdx':_0x33f192});gracefulExit(_0x426f00);};},createEngageNoArgAction=_0xe93b84=>{return async _0x55d7bc=>{const _0x311c3e=a2_0x4753,_0x5cce9e=new _0xe93b84(),_0x5d0ce7=program[_0x311c3e(0x3b4)](),_0x4d25b5=await createTDXInstance(_0x5d0ce7),_0x34daf2=await _0x5cce9e['run']({'options':{..._0x5d0ce7,..._0x55d7bc},'args':[],'tdx':_0x4d25b5});gracefulExit(_0x34daf2);};},createEngageListAction=_0xecc174=>{return async(_0x2bd491,_0x486043)=>{const _0x49db83=a2_0x4753,_0x285835=new _0xecc174(),_0x3f9edf=program[_0x49db83(0x3b4)](),_0x22a62c=await createTDXInstance(_0x3f9edf),_0x1fd178=await _0x285835['run']({'options':{..._0x3f9edf,..._0x486043},'args':_0x2bd491?[_0x2bd491]:[],'tdx':_0x22a62c});gracefulExit(_0x1fd178);};},campaignCmd=engageCmd[a2_0x16aa97(0x1d1)]('campaign')[a2_0x16aa97(0x458)]('Campaign\x20management');campaignCmd[a2_0x16aa97(0x1d1)]('list\x20[pattern]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x3b2))[a2_0x16aa97(0x296)](a2_0x16aa97(0x150),a2_0x16aa97(0x335))[a2_0x16aa97(0x296)]('--status\x20<status>',a2_0x16aa97(0x3da))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x41a))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2b1))[a2_0x16aa97(0x458)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x150),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x16aa97(0x296)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),'Workspace\x20name')[a2_0x16aa97(0x381)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x405))['description'](a2_0x16aa97(0x3cf))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),'Workspace\x20name')[a2_0x16aa97(0x296)](a2_0x16aa97(0x2fc),a2_0x16aa97(0x44a))[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x331))['description'](a2_0x16aa97(0x2fe))[a2_0x16aa97(0x382)](a2_0x16aa97(0x31b),a2_0x16aa97(0x24f))[a2_0x16aa97(0x382)](a2_0x16aa97(0x150),a2_0x16aa97(0x1f5))['option'](a2_0x16aa97(0x1ba),a2_0x16aa97(0x25c))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2c5),a2_0x16aa97(0x1cd))[a2_0x16aa97(0x296)](a2_0x16aa97(0x412),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x16aa97(0x296)]('--email-sender-id\x20<id>',a2_0x16aa97(0x34a))[a2_0x16aa97(0x296)]('--json-columns\x20<cols>',a2_0x16aa97(0x212))[a2_0x16aa97(0x296)]('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x16aa97(0x376),a2_0x16aa97(0x35e))[a2_0x16aa97(0x381)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x16aa97(0x276))[a2_0x16aa97(0x458)](a2_0x16aa97(0x248))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),'Workspace\x20name')[a2_0x16aa97(0x296)](a2_0x16aa97(0x31b),a2_0x16aa97(0x29b))[a2_0x16aa97(0x296)]('--description\x20<desc>',a2_0x16aa97(0x1cd))[a2_0x16aa97(0x296)](a2_0x16aa97(0x412),a2_0x16aa97(0x242))[a2_0x16aa97(0x296)]('--email-sender-id\x20<id>',a2_0x16aa97(0x34a))['option'](a2_0x16aa97(0x366),a2_0x16aa97(0x212))['option'](a2_0x16aa97(0x1c9),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x16aa97(0x376),a2_0x16aa97(0x35e))[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x16aa97(0x172))[a2_0x16aa97(0x458)](a2_0x16aa97(0x327))[a2_0x16aa97(0x296)]('--workspace\x20<name>',a2_0x16aa97(0x41a))[a2_0x16aa97(0x296)]('--yes',a2_0x16aa97(0x29d))[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1e3))[a2_0x16aa97(0x458)](a2_0x16aa97(0x266))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),'Workspace\x20name')[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x16aa97(0x1d1)]('pause\x20<name-or-id>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x29c))[a2_0x16aa97(0x296)]('--workspace\x20<name>',a2_0x16aa97(0x41a))[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x16aa97(0x1d1)]('resume\x20<name-or-id>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x358))['option']('--workspace\x20<name>',a2_0x16aa97(0x41a))[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x404))['description'](a2_0x16aa97(0x3d3))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x41a))[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x282))['description'](a2_0x16aa97(0x129))['option']('--workspace\x20<name>',a2_0x16aa97(0x41a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x31b),'Pull\x20specific\x20campaign\x20by\x20name')[a2_0x16aa97(0x296)](a2_0x16aa97(0x150),a2_0x16aa97(0x335))['option'](a2_0x16aa97(0x3be),a2_0x16aa97(0x347))[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x141))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1c4))['option'](a2_0x16aa97(0x1ba),a2_0x16aa97(0x41a))['option']('--dry-run',a2_0x16aa97(0x3b0))[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x438))[a2_0x16aa97(0x458)](a2_0x16aa97(0x275))[a2_0x16aa97(0x296)]('--verbose','Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x16aa97(0x381)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2d2))['description'](a2_0x16aa97(0x2a4));alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x147))[a2_0x16aa97(0x296)](a2_0x16aa97(0x150),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x16aa97(0x296)]('--status\x20<status>',a2_0x16aa97(0x325))[a2_0x16aa97(0x382)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x25c))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x16aa97(0x1d1)]('always-on-campaigns\x20[pattern]')['description'](a2_0x16aa97(0x434))[a2_0x16aa97(0x296)](a2_0x16aa97(0x150),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x3ea),a2_0x16aa97(0x325))[a2_0x16aa97(0x382)](a2_0x16aa97(0x1ba),'Workspace\x20name\x20(required)')['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x405))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2b2))[a2_0x16aa97(0x382)](a2_0x16aa97(0x1ba),'Workspace\x20name\x20(required)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x2fc),a2_0x16aa97(0x44a))[a2_0x16aa97(0x381)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x331))[a2_0x16aa97(0x458)](a2_0x16aa97(0x289))[a2_0x16aa97(0x382)](a2_0x16aa97(0x31b),'Campaign\x20name')['requiredOption'](a2_0x16aa97(0x150),a2_0x16aa97(0x1f5))[a2_0x16aa97(0x382)](a2_0x16aa97(0x1ba),'Workspace\x20name\x20(required)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x2c5),a2_0x16aa97(0x1cd))[a2_0x16aa97(0x296)](a2_0x16aa97(0x412),a2_0x16aa97(0x43b))['option'](a2_0x16aa97(0x226),a2_0x16aa97(0x163))['action'](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)]('update\x20<name-or-id>')['description']('Update\x20an\x20always-on\x20campaign')[a2_0x16aa97(0x382)]('--workspace\x20<name>',a2_0x16aa97(0x25c))[a2_0x16aa97(0x296)]('--name\x20<name>',a2_0x16aa97(0x29b))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2c5),'Campaign\x20description')[a2_0x16aa97(0x296)](a2_0x16aa97(0x412),a2_0x16aa97(0x43b))[a2_0x16aa97(0x296)](a2_0x16aa97(0x226),a2_0x16aa97(0x163))['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x172))[a2_0x16aa97(0x458)](a2_0x16aa97(0x308))[a2_0x16aa97(0x382)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x25c))['option'](a2_0x16aa97(0x386),a2_0x16aa97(0x29d))['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1e3))['description'](a2_0x16aa97(0x41f))[a2_0x16aa97(0x382)](a2_0x16aa97(0x1ba),'Workspace\x20name\x20(required)')[a2_0x16aa97(0x381)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x188))[a2_0x16aa97(0x458)](a2_0x16aa97(0x220))[a2_0x16aa97(0x382)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x25c))[a2_0x16aa97(0x381)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x231))['description']('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x16aa97(0x382)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x25c))[a2_0x16aa97(0x381)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x37c))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1da))[a2_0x16aa97(0x382)](a2_0x16aa97(0x1ba),'Workspace\x20name\x20(required)')['option'](a2_0x16aa97(0x386),'Skip\x20confirmation\x20prompt')[a2_0x16aa97(0x381)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x404))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1e0))[a2_0x16aa97(0x382)]('--workspace\x20<name>',a2_0x16aa97(0x25c))['requiredOption'](a2_0x16aa97(0x31b),a2_0x16aa97(0x427))[a2_0x16aa97(0x381)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x16aa97(0x319))[a2_0x16aa97(0x458)](a2_0x16aa97(0x153));templateCmd['command'](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x18c))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),'Workspace\x20name')[a2_0x16aa97(0x381)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x217))[a2_0x16aa97(0x458)](a2_0x16aa97(0x42c))['option']('--workspace\x20<name>',a2_0x16aa97(0x41a))[a2_0x16aa97(0x381)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x405))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2ca))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x41a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2fc),a2_0x16aa97(0x44a))[a2_0x16aa97(0x381)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x331))[a2_0x16aa97(0x458)]('Create\x20an\x20email\x20template')[a2_0x16aa97(0x382)](a2_0x16aa97(0x31b),a2_0x16aa97(0x3a4))['requiredOption'](a2_0x16aa97(0x2f0),'Email\x20subject\x20template')[a2_0x16aa97(0x296)](a2_0x16aa97(0x14e),'HTML\x20template\x20content')[a2_0x16aa97(0x296)](a2_0x16aa97(0x14d),a2_0x16aa97(0x204))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x25c))['option'](a2_0x16aa97(0x191),a2_0x16aa97(0x2c4))['option'](a2_0x16aa97(0x294),a2_0x16aa97(0x195),_0x7fece1=>{const _0x287dd5=a2_0x16aa97;if(![_0x287dd5(0x128),_0x287dd5(0x318)][_0x287dd5(0x284)](_0x7fece1))throw new SDKError(ErrorCode[_0x287dd5(0x2af)],_0x287dd5(0x3a7)+_0x7fece1+_0x287dd5(0x317));return _0x7fece1;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x276))[a2_0x16aa97(0x458)](a2_0x16aa97(0x457))[a2_0x16aa97(0x296)]('--workspace\x20<name>',a2_0x16aa97(0x41a))[a2_0x16aa97(0x296)]('--name\x20<name>','New\x20template\x20name')['option'](a2_0x16aa97(0x2f0),a2_0x16aa97(0x182))[a2_0x16aa97(0x296)](a2_0x16aa97(0x14e),a2_0x16aa97(0x14c))['option'](a2_0x16aa97(0x14d),a2_0x16aa97(0x204))['option']('--plaintext\x20<text>',a2_0x16aa97(0x2c4))[a2_0x16aa97(0x381)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x168))['description'](a2_0x16aa97(0x2bc))['option'](a2_0x16aa97(0x1ba),a2_0x16aa97(0x41a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x31b),a2_0x16aa97(0x3bd))['option'](a2_0x16aa97(0x140),a2_0x16aa97(0x29d))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3be),a2_0x16aa97(0x347))[a2_0x16aa97(0x381)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x141))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3f7))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x41a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x140),a2_0x16aa97(0x29d))[a2_0x16aa97(0x296)]('--dry-run',a2_0x16aa97(0x3b0))[a2_0x16aa97(0x381)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x438))[a2_0x16aa97(0x458)](a2_0x16aa97(0x454))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2df),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x16aa97(0x381)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x172))[a2_0x16aa97(0x458)]('Delete\x20an\x20email\x20template')[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ba),a2_0x16aa97(0x41a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x386),a2_0x16aa97(0x29d))[a2_0x16aa97(0x381)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x16aa97(0x1d1)]('workspace')['description']('Workspace\x20management');workspaceCmd['command'](a2_0x16aa97(0x3ce))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2ea))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x16aa97(0x3e4))['description']('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')[a2_0x16aa97(0x381)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command']('show\x20<name-or-id>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x356))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2fc),a2_0x16aa97(0x44a))[a2_0x16aa97(0x381)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x16aa97(0x1d1)]('create')['description'](a2_0x16aa97(0x2b8))[a2_0x16aa97(0x382)](a2_0x16aa97(0x31b),a2_0x16aa97(0x41a))[a2_0x16aa97(0x296)]('--description\x20<desc>',a2_0x16aa97(0x196))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x276))['description']('Update\x20a\x20workspace')[a2_0x16aa97(0x296)](a2_0x16aa97(0x31b),'New\x20workspace\x20name')[a2_0x16aa97(0x296)](a2_0x16aa97(0x2c5),a2_0x16aa97(0x196))[a2_0x16aa97(0x381)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x172))['description'](a2_0x16aa97(0x22c))[a2_0x16aa97(0x296)](a2_0x16aa97(0x386),a2_0x16aa97(0x29d))[a2_0x16aa97(0x381)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command'](a2_0x16aa97(0x269))['description'](a2_0x16aa97(0x230))[a2_0x16aa97(0x381)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x36b))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3c0));deliveryCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x200))[a2_0x16aa97(0x458)](a2_0x16aa97(0x42f))['option'](a2_0x16aa97(0x1ba),a2_0x16aa97(0x41a))[a2_0x16aa97(0x381)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command']('connection')[a2_0x16aa97(0x458)](a2_0x16aa97(0x13b)),connectionListAction=async _0x199a68=>{const _0x30ef65=a2_0x16aa97,_0x4b9ce9=new ConnectionListCommand(),_0x16670b=program[_0x30ef65(0x3b4)](),_0x40d04d=await createTDXInstance(_0x16670b),_0x43a2be=await _0x4b9ce9[_0x30ef65(0x253)]({'options':{..._0x16670b,..._0x199a68},'args':[],'tdx':_0x40d04d});gracefulExit(_0x43a2be);};connectionCmd['command'](a2_0x16aa97(0x21b))[a2_0x16aa97(0x458)](a2_0x16aa97(0x166))['action'](connectionListAction),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2c7),{'hidden':!![]})['description'](a2_0x16aa97(0x3d4))[a2_0x16aa97(0x381)](connectionListAction),connectionCmd[a2_0x16aa97(0x1d1)]('show\x20<name>')[a2_0x16aa97(0x458)]('Show\x20connection\x20details\x20by\x20name')[a2_0x16aa97(0x381)](async(_0x27eb29,_0x21256d)=>{const _0x116d53=a2_0x16aa97,_0x2c17cc=new ConnectionShowCommand(),_0x136c75=program['opts'](),_0x4561ab=await createTDXInstance(_0x136c75),_0x511182=await _0x2c17cc[_0x116d53(0x253)]({'options':{..._0x136c75,..._0x21256d},'args':[_0x27eb29],'tdx':_0x4561ab});gracefulExit(_0x511182);}),connectionCmd['command'](a2_0x16aa97(0x342))[a2_0x16aa97(0x458)](a2_0x16aa97(0x43f))[a2_0x16aa97(0x381)](async(_0x4ad98b,_0x4e1bc4)=>{const _0xca08c1=a2_0x16aa97,_0x387336=new ConnectionSchemaCommand(),_0x2d241c=program[_0xca08c1(0x3b4)](),_0x4d4efe=await createTDXInstance(_0x2d241c),_0x2c52d8=await _0x387336[_0xca08c1(0x253)]({'options':{..._0x2d241c,..._0x4e1bc4},'args':[_0x4ad98b],'tdx':_0x4d4efe});gracefulExit(_0x2c52d8);}),connectionCmd['command']('types')[a2_0x16aa97(0x458)](a2_0x16aa97(0x235))[a2_0x16aa97(0x381)](async _0x5c2760=>{const _0x397b7f=a2_0x16aa97,_0x5ad4ba=new ConnectionTypesCommand(),_0x389488=program[_0x397b7f(0x3b4)](),_0x25ff6f=await createTDXInstance(_0x389488),_0x19559e=await _0x5ad4ba['run']({'options':{..._0x389488,..._0x5c2760},'args':[],'tdx':_0x25ff6f});gracefulExit(_0x19559e);}),connectionCmd['command'](a2_0x16aa97(0x369))[a2_0x16aa97(0x458)](a2_0x16aa97(0x229))[a2_0x16aa97(0x381)](async(_0x392f5b,_0xacf493)=>{const _0x57d538=a2_0x16aa97,_0x58102e=new ConnectionSettingsCommand(),_0x22501e=program[_0x57d538(0x3b4)](),_0x13fe7c=await createTDXInstance(_0x22501e),_0x1bf8cd=await _0x58102e[_0x57d538(0x253)]({'options':{..._0x22501e,..._0xacf493},'args':[_0x392f5b],'tdx':_0x13fe7c});gracefulExit(_0x1bf8cd);});const casCmd=program['command'](a2_0x16aa97(0x312))['description']('Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)');casCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x21b))[a2_0x16aa97(0x458)](a2_0x16aa97(0x155))[a2_0x16aa97(0x381)](async _0x44407c=>{const _0x4d8cae=new CASListCommand(),_0x4c3f5e=program['opts'](),_0x177f13=await createTDXInstance(_0x4c3f5e),_0x1cd61d=await _0x4d8cae['run']({'options':{..._0x4c3f5e,..._0x44407c},'args':[],'tdx':_0x177f13});gracefulExit(_0x1cd61d);}),casCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2a8))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3dc))[a2_0x16aa97(0x381)](async(_0x2fe4a3,_0x489707)=>{const _0x275dc4=a2_0x16aa97,_0x455b2c=new CASDescCommand(),_0x375fe6=program[_0x275dc4(0x3b4)](),_0x1d168a=await createTDXInstance(_0x375fe6),_0x350805=await _0x455b2c[_0x275dc4(0x253)]({'options':{..._0x375fe6,..._0x489707},'args':_0x2fe4a3?[_0x2fe4a3]:[],'tdx':_0x1d168a});gracefulExit(_0x350805);}),casCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x18d))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2a3))[a2_0x16aa97(0x296)]('--dir\x20<dir>',a2_0x16aa97(0x12e))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3be),a2_0x16aa97(0x30a))[a2_0x16aa97(0x381)](async(_0x497518,_0x11cda0)=>{const _0x4405d2=a2_0x16aa97,_0x2c62ee=new CASPullCommand(),_0x263a0a=program[_0x4405d2(0x3b4)](),_0x29533c=await createTDXInstance(_0x263a0a),_0x103f11=await _0x2c62ee[_0x4405d2(0x253)]({'options':{..._0x263a0a,..._0x11cda0},'args':_0x497518?[_0x497518]:[],'tdx':_0x29533c});gracefulExit(_0x103f11);}),casCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x141))[a2_0x16aa97(0x458)](a2_0x16aa97(0x351))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3be),a2_0x16aa97(0x1c2))[a2_0x16aa97(0x381)](async(_0x321fa3,_0x481e59)=>{const _0x51a9b3=new CASPushCommand(),_0x303e61=program['opts'](),_0x374a4e=await createTDXInstance(_0x303e61),_0x256418=await _0x51a9b3['run']({'options':{..._0x303e61,..._0x481e59},'args':_0x321fa3?[_0x321fa3]:[],'tdx':_0x374a4e});gracefulExit(_0x256418);}),casCmd['command'](a2_0x16aa97(0x324))[a2_0x16aa97(0x458)]('Preview\x20composable\x20segment\x20query\x20on\x20CDW')[a2_0x16aa97(0x296)]('--audience\x20<name>','Composable\x20audience\x20name')[a2_0x16aa97(0x381)](async(_0x1bc24c,_0x4f2d01)=>{const _0x4032b1=a2_0x16aa97,_0x46e502=new CASPreviewCommand(),_0x1ea1e7=program[_0x4032b1(0x3b4)](),_0x4c6b23=await createTDXInstance(_0x1ea1e7),_0x587c1f=await _0x46e502[_0x4032b1(0x253)]({'options':{..._0x1ea1e7,..._0x4f2d01},'args':[_0x1bc24c,_0x4f2d01[_0x4032b1(0x2c3)]],'tdx':_0x4c6b23});gracefulExit(_0x587c1f);});const casSgCmd=casCmd[a2_0x16aa97(0x1d1)]('sg')['description']('Composable\x20segment\x20commands');casSgCmd['command'](a2_0x16aa97(0x365))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1a5))[a2_0x16aa97(0x381)](async(_0x4af7f3,_0x3f5660)=>{const _0x33b0ad=a2_0x16aa97,_0x4963b0=new CASSegmentListCommand(),_0x318ab2=program['opts'](),_0x21e74e=await createTDXInstance(_0x318ab2),_0x20d629=await _0x4963b0[_0x33b0ad(0x253)]({'options':{..._0x318ab2,..._0x3f5660},'args':_0x4af7f3?[_0x4af7f3]:[],'tdx':_0x21e74e});gracefulExit(_0x20d629);});const journeyCmd=program[a2_0x16aa97(0x1d1)]('journey')['description'](a2_0x16aa97(0x2be)),journeyListAction=async(_0x5972f5,_0x5baf69)=>{const _0x2e0347=a2_0x16aa97,_0x4848b7=new JourneyListCommand(),_0xc5a94a=program['opts'](),_0xa3d974=await createTDXInstance(_0xc5a94a),_0x4dc3f3=await _0x4848b7[_0x2e0347(0x253)]({'options':{..._0xc5a94a,..._0x5baf69},'args':_0x5972f5?[_0x5972f5]:[],'tdx':_0xa3d974});gracefulExit(_0x4dc3f3);};journeyCmd[a2_0x16aa97(0x1d1)]('list\x20[pattern]')['description']('List\x20journeys\x20in\x20current\x20context')[a2_0x16aa97(0x381)](journeyListAction),journeyCmd[a2_0x16aa97(0x1d1)]('view\x20<name-or-path>')['description'](a2_0x16aa97(0x33b))[a2_0x16aa97(0x296)](a2_0x16aa97(0x423),a2_0x16aa97(0x1be))[a2_0x16aa97(0x296)](a2_0x16aa97(0x359),'Include\x20execution\x20statistics')[a2_0x16aa97(0x381)](async(_0x5a59bc,_0x11b758)=>{const _0x5b5b5c=a2_0x16aa97,_0x245e12=new JourneyViewCommand(),_0x514660=program[_0x5b5b5c(0x3b4)](),_0x26e085=await createTDXInstance(_0x514660),_0x55b075=await _0x245e12[_0x5b5b5c(0x253)]({'options':{..._0x514660,..._0x11b758},'args':[_0x5a59bc],'tdx':_0x26e085});gracefulExit(_0x55b075);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x20c))[a2_0x16aa97(0x296)](a2_0x16aa97(0x309),a2_0x16aa97(0x180))['option'](a2_0x16aa97(0x131),a2_0x16aa97(0x418))['option'](a2_0x16aa97(0x384),a2_0x16aa97(0x241))[a2_0x16aa97(0x296)]('--include-history','Include\x20raw\x20history\x20data\x20in\x20output')[a2_0x16aa97(0x381)](async(_0x4c3b64,_0x1cee10)=>{const _0x1096ba=a2_0x16aa97,_0x34199=new JourneyStatsCommand(),_0x144ccb=program[_0x1096ba(0x3b4)](),_0x450fbc=await createTDXInstance(_0x144ccb),_0x2723bd=await _0x34199[_0x1096ba(0x253)]({'options':{..._0x144ccb,..._0x1cee10},'args':[_0x4c3b64],'tdx':_0x450fbc});gracefulExit(_0x2723bd);}),journeyCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x32d))['description'](a2_0x16aa97(0x45a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x150),'Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')['option']('--from\x20<date>',a2_0x16aa97(0x418))[a2_0x16aa97(0x296)]('--to\x20<date>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x16aa97(0x296)](a2_0x16aa97(0x2a9),a2_0x16aa97(0x379),_0x45e628=>{const _0x52a947=a2_0x16aa97,_0x556a23=parseInt(_0x45e628,0xa);if(isNaN(_0x556a23))throw new Error(_0x52a947(0x233)+_0x45e628+_0x52a947(0x43a));return _0x556a23;})[a2_0x16aa97(0x381)](async(_0x24927a,_0x26212e)=>{const _0x1256cc=new JourneyTrafficCommand(),_0x1227fe=program['opts'](),_0x18244e=await createTDXInstance(_0x1227fe),_0x45018d=await _0x1256cc['run']({'options':{..._0x1227fe,..._0x26212e},'args':[_0x24927a],'tdx':_0x18244e});gracefulExit(_0x45018d);}),journeyCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2d6))[a2_0x16aa97(0x458)](a2_0x16aa97(0x259))[a2_0x16aa97(0x381)](async(_0x3fda99,_0x4f9e01)=>{const _0x14b69b=a2_0x16aa97,_0x4c5474=new JourneyPauseCommand(),_0x5b38cc=program[_0x14b69b(0x3b4)](),_0x16bd43=await createTDXInstance(_0x5b38cc),_0x147c07=await _0x4c5474[_0x14b69b(0x253)]({'options':{..._0x5b38cc,..._0x4f9e01},'args':[_0x3fda99],'tdx':_0x16bd43});gracefulExit(_0x147c07);}),journeyCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x2c0))[a2_0x16aa97(0x458)](a2_0x16aa97(0x26f))[a2_0x16aa97(0x381)](async(_0xba32e0,_0x1ce8c0)=>{const _0xc08764=a2_0x16aa97,_0x459c1b=new JourneyResumeCommand(),_0x40f77e=program['opts'](),_0x15c74b=await createTDXInstance(_0x40f77e),_0x23836d=await _0x459c1b[_0xc08764(0x253)]({'options':{..._0x40f77e,..._0x1ce8c0},'args':[_0xba32e0],'tdx':_0x15c74b});gracefulExit(_0x23836d);}),journeyCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x18d))[a2_0x16aa97(0x458)]('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x16aa97(0x296)](a2_0x16aa97(0x3be),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')['action'](async(_0x59cf2f,_0x1ab10e)=>{const _0x39dfe1=a2_0x16aa97,_0x39b77a=new JourneyPullCommand(),_0x59f2eb=program[_0x39dfe1(0x3b4)](),_0x38f001=await createTDXInstance(_0x59f2eb),_0x266b0a=await _0x39b77a[_0x39dfe1(0x253)]({'options':{..._0x59f2eb,..._0x1ab10e},'args':_0x59cf2f?[_0x59cf2f]:[],'tdx':_0x38f001});gracefulExit(_0x266b0a);}),journeyCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x141))[a2_0x16aa97(0x458)](a2_0x16aa97(0x30d))[a2_0x16aa97(0x381)](async(_0x3f04d6,_0x586e4d)=>{const _0x5a78ae=new JourneyPushCommand(),_0x57eb66=program['opts'](),_0x5afb4e=await createTDXInstance(_0x57eb66),_0x4508fb=await _0x5a78ae['run']({'options':{..._0x57eb66,..._0x586e4d},'args':_0x3f04d6?[_0x3f04d6]:[],'tdx':_0x5afb4e});gracefulExit(_0x4508fb);}),journeyCmd['command']('columns\x20<name-or-path>')[a2_0x16aa97(0x458)](a2_0x16aa97(0x39b))[a2_0x16aa97(0x381)](async(_0x4351d5,_0x28a8f9)=>{const _0x1af793=a2_0x16aa97,_0x104deb=new JourneyColumnsCommand(),_0x180d92=program[_0x1af793(0x3b4)](),_0x1d9fef=await createTDXInstance(_0x180d92),_0x37e260=await _0x104deb['run']({'options':{..._0x180d92,..._0x28a8f9},'args':[_0x4351d5],'tdx':_0x1d9fef});gracefulExit(_0x37e260);}),journeyCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x285))[a2_0x16aa97(0x458)](a2_0x16aa97(0x3c3))['action'](async(_0xd876db,_0x5f28e)=>{const _0x16fdea=a2_0x16aa97,_0x4ca333=new JourneyActivationsCommand(),_0x147426=program['opts'](),_0x50bf0e=await createTDXInstance(_0x147426),_0x515f89=await _0x4ca333[_0x16fdea(0x253)]({'options':{..._0x147426,..._0x5f28e},'args':[_0xd876db],'tdx':_0x50bf0e});gracefulExit(_0x515f89);}),journeyCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1ac))[a2_0x16aa97(0x458)](a2_0x16aa97(0x28d))[a2_0x16aa97(0x381)](async(_0x4d5a54,_0x4e6ac1)=>{const _0x59cde9=a2_0x16aa97,_0x992e56=new JourneyVersionsCommand(),_0x2d70ee=program['opts'](),_0x2642e4=await createTDXInstance(_0x2d70ee),_0x11ac61=await _0x992e56[_0x59cde9(0x253)]({'options':{..._0x2d70ee,..._0x4e6ac1},'args':[_0x4d5a54],'tdx':_0x2642e4});gracefulExit(_0x11ac61);});const journeyVersionCmd=journeyCmd['command'](a2_0x16aa97(0x20a))[a2_0x16aa97(0x458)](a2_0x16aa97(0x40e));journeyVersionCmd['command'](a2_0x16aa97(0x1a8))[a2_0x16aa97(0x458)](a2_0x16aa97(0x1f2))['action'](async(_0x26a3f9,_0x5c79a8)=>{const _0x566d75=a2_0x16aa97,_0x401c00=new JourneyVersionCreateCommand(),_0x39f3a1=program[_0x566d75(0x3b4)](),_0x4b8104=await createTDXInstance(_0x39f3a1),_0x3fcc38=await _0x401c00[_0x566d75(0x253)]({'options':{..._0x39f3a1,..._0x5c79a8},'args':[_0x26a3f9],'tdx':_0x4b8104});gracefulExit(_0x3fcc38);}),journeyVersionCmd[a2_0x16aa97(0x1d1)]('view\x20<name-or-path>')['description'](a2_0x16aa97(0x194))[a2_0x16aa97(0x382)](a2_0x16aa97(0x2f6),a2_0x16aa97(0x239))[a2_0x16aa97(0x381)](async(_0x41991a,_0x5a2a7f)=>{const _0x343fad=new JourneyVersionViewCommand(),_0x44b4e2=program['opts'](),_0x387f09=await createTDXInstance(_0x44b4e2),_0x4c7992=await _0x343fad['run']({'options':{..._0x44b4e2,..._0x5a2a7f},'args':[_0x41991a],'tdx':_0x387f09});gracefulExit(_0x4c7992);}),journeyCmd[a2_0x16aa97(0x1d1)]('validate\x20[target]')[a2_0x16aa97(0x458)](a2_0x16aa97(0x143))[a2_0x16aa97(0x381)](async(_0x534baa,_0x1c2b49)=>{const _0x3ddf4d=a2_0x16aa97,_0x2a7af0=new JourneyValidateCommand(),_0xfbc8fe=program[_0x3ddf4d(0x3b4)](),_0x5a90a6=await createTDXInstance(_0xfbc8fe),_0x3c0ed6=await _0x2a7af0[_0x3ddf4d(0x253)]({'options':{..._0xfbc8fe,..._0x1c2b49},'args':_0x534baa?[_0x534baa]:[],'tdx':_0x5a90a6});gracefulExit(_0x3c0ed6);}),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x1b5))['description'](a2_0x16aa97(0x1d4))['action'](journeyListAction);const agentSyncCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x262))[a2_0x16aa97(0x458)]('LLM\x20agent\x20management');agentSyncCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x31a))['description']('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')['option'](a2_0x16aa97(0x1f0),a2_0x16aa97(0x2ba))[a2_0x16aa97(0x296)]('-f,\x20--force',a2_0x16aa97(0x42a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x22d),a2_0x16aa97(0x416))[a2_0x16aa97(0x381)](async(_0x316b6b,_0x29abc4,_0x4b0125)=>{const _0x50604e=a2_0x16aa97,_0x493381=new AgentPullCommand(),_0x26dd64=program['opts'](),_0x51f962=await createTDXInstance(_0x26dd64),_0x32557d=[];if(_0x316b6b)_0x32557d[_0x50604e(0x353)](_0x316b6b);if(_0x29abc4)_0x32557d['push'](_0x29abc4);const _0x35bb52=await _0x493381[_0x50604e(0x253)]({'options':{..._0x26dd64,..._0x4b0125},'args':_0x32557d,'tdx':_0x51f962});gracefulExit(_0x35bb52);}),agentSyncCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x25e))[a2_0x16aa97(0x458)](a2_0x16aa97(0x332))[a2_0x16aa97(0x296)](a2_0x16aa97(0x25d),a2_0x16aa97(0x158))['action'](async(_0xa72196,_0x3d3404)=>{const _0x9f9899=a2_0x16aa97,_0x15debb=new AgentPushCommand(),_0x563eb8=program[_0x9f9899(0x3b4)](),_0x15e1e4=await createTDXInstance(_0x563eb8),_0x5f0d69=await _0x15debb[_0x9f9899(0x253)]({'options':{..._0x563eb8,..._0x3d3404},'args':_0xa72196?[_0xa72196]:[],'tdx':_0x15e1e4});gracefulExit(_0x5f0d69);}),agentSyncCmd['command'](a2_0x16aa97(0x3d7))[a2_0x16aa97(0x458)](a2_0x16aa97(0x28e))[a2_0x16aa97(0x296)](a2_0x16aa97(0x295),a2_0x16aa97(0x2f8))[a2_0x16aa97(0x381)](async(_0x2ced3e,_0x2b53e4)=>{const _0x1dc365=a2_0x16aa97,_0x591a7a=new AgentCloneCommand(),_0x50e6ce=program[_0x1dc365(0x3b4)](),_0x2a4acc=await createTDXInstance(_0x50e6ce),_0x340f39=await _0x591a7a[_0x1dc365(0x253)]({'options':{..._0x50e6ce,..._0x2b53e4},'args':_0x2ced3e?[_0x2ced3e]:[],'tdx':_0x2a4acc});gracefulExit(_0x340f39);}),agentSyncCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x130))[a2_0x16aa97(0x458)]('Run\x20tests\x20for\x20an\x20LLM\x20agent')[a2_0x16aa97(0x296)](a2_0x16aa97(0x12f),a2_0x16aa97(0x3a5))['option'](a2_0x16aa97(0x2a2),a2_0x16aa97(0x3fc))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3be),a2_0x16aa97(0x1af))[a2_0x16aa97(0x296)](a2_0x16aa97(0x1ad),a2_0x16aa97(0x279))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2c9),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x16aa97(0x381)](async(_0x455ee0,_0x5bfbff)=>{const _0x267654=a2_0x16aa97,_0x51045d=new AgentTestCommand(),_0x38a4c4=program['opts'](),_0x16ffcc=await createTDXInstance(_0x38a4c4),_0x3a0a9d=await _0x51045d[_0x267654(0x253)]({'options':{..._0x38a4c4,..._0x5bfbff},'args':_0x455ee0?[_0x455ee0]:[],'tdx':_0x16ffcc});gracefulExit(_0x3a0a9d);}),agentSyncCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x3ce))['description'](a2_0x16aa97(0x1bd))[a2_0x16aa97(0x381)](llmAgentListAction),agentSyncCmd['command'](a2_0x16aa97(0x2f9))[a2_0x16aa97(0x458)](a2_0x16aa97(0x42b))[a2_0x16aa97(0x381)](async(_0xd89a29,_0x543cf7)=>{const _0x250d2d=a2_0x16aa97,_0x5c8be4=new LLMAgentShowCommand(),_0x3f8241=program[_0x250d2d(0x3b4)](),_0x56ee6f=await createTDXInstance(_0x3f8241),_0x58bcf3=await _0x5c8be4[_0x250d2d(0x253)]({'options':{..._0x3f8241,..._0x543cf7},'args':[_0xd89a29],'tdx':_0x56ee6f});gracefulExit(_0x58bcf3);}),agentSyncCmd['command']('create\x20<name>')['description']('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x16aa97(0x296)]('--system-prompt\x20<text>',a2_0x16aa97(0x41b))[a2_0x16aa97(0x296)](a2_0x16aa97(0x26a),a2_0x16aa97(0x256),a2_0x16aa97(0x12a))['option'](a2_0x16aa97(0x302),a2_0x16aa97(0x238))[a2_0x16aa97(0x296)](a2_0x16aa97(0x409),a2_0x16aa97(0x3a6),'4')[a2_0x16aa97(0x296)](a2_0x16aa97(0x249),a2_0x16aa97(0x3fd),'0.7')['action'](async(_0x199228,_0x4a8ac2)=>{const _0x4bc726=a2_0x16aa97,_0x38155c=new LLMAgentCreateCommand(),_0x2a2a50=program[_0x4bc726(0x3b4)](),_0x610f95=await createTDXInstance(_0x2a2a50),_0x4c57c2=await _0x38155c[_0x4bc726(0x253)]({'options':{..._0x2a2a50,..._0x4a8ac2},'args':[_0x199228],'tdx':_0x610f95});gracefulExit(_0x4c57c2);}),agentSyncCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x14b))[a2_0x16aa97(0x458)](a2_0x16aa97(0x206))[a2_0x16aa97(0x296)](a2_0x16aa97(0x357),a2_0x16aa97(0x388))[a2_0x16aa97(0x296)]('--prompt\x20<text>',a2_0x16aa97(0x236))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3b5),a2_0x16aa97(0x21a))[a2_0x16aa97(0x296)](a2_0x16aa97(0x302),a2_0x16aa97(0x238))[a2_0x16aa97(0x381)](async(_0x221ef9,_0xe4db04)=>{const _0x50d337=a2_0x16aa97,_0x59e5f4=new LLMAgentUpdateCommand(),_0x3e8def=program[_0x50d337(0x3b4)](),_0x57cb26=await createTDXInstance(_0x3e8def),_0x1cde7d=await _0x59e5f4[_0x50d337(0x253)]({'options':{..._0x3e8def,..._0xe4db04},'args':[_0x221ef9],'tdx':_0x57cb26});gracefulExit(_0x1cde7d);}),agentSyncCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x30f))[a2_0x16aa97(0x458)](a2_0x16aa97(0x2d5))[a2_0x16aa97(0x381)](async(_0x5344c0,_0x2ff4fe)=>{const _0xd1c80d=a2_0x16aa97,_0x49729f=new LLMAgentDeleteCommand(),_0x269846=program[_0xd1c80d(0x3b4)](),_0x9a20d9=await createTDXInstance(_0x269846),_0x4b1101=await _0x49729f[_0xd1c80d(0x253)]({'options':{..._0x269846,..._0x2ff4fe},'args':[_0x5344c0],'tdx':_0x9a20d9});gracefulExit(_0x4b1101);});const workCmd=program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x18b))['description']('AI-native\x20work\x20management');workCmd[a2_0x16aa97(0x381)](workSummaryAction),workCmd['command'](a2_0x16aa97(0x278))['description'](a2_0x16aa97(0x1de))[a2_0x16aa97(0x296)](a2_0x16aa97(0x346),a2_0x16aa97(0x2d9))[a2_0x16aa97(0x381)](workInitAction),workCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x34b))[a2_0x16aa97(0x458)](a2_0x16aa97(0x348))[a2_0x16aa97(0x296)]('--kind\x20<kind>','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)',a2_0x16aa97(0x426))[a2_0x16aa97(0x296)]('--tags\x20<tags>',a2_0x16aa97(0x42e))[a2_0x16aa97(0x296)](a2_0x16aa97(0x408),a2_0x16aa97(0x1e2))[a2_0x16aa97(0x296)]('--body\x20<body>',a2_0x16aa97(0x406))[a2_0x16aa97(0x296)](a2_0x16aa97(0x135),a2_0x16aa97(0x2b3))[a2_0x16aa97(0x296)](a2_0x16aa97(0x3ea),a2_0x16aa97(0x31d))[a2_0x16aa97(0x296)](a2_0x16aa97(0x2a0),a2_0x16aa97(0x432))[a2_0x16aa97(0x381)](workNewAction),workCmd[a2_0x16aa97(0x1d1)]('move\x20<name>\x20<status>')[a2_0x16aa97(0x458)]('Transition\x20a\x20task\x20to\x20a\x20new\x20status')['action'](workMoveAction),workCmd[a2_0x16aa97(0x1d1)]('board')[a2_0x16aa97(0x458)](a2_0x16aa97(0x2fa))[a2_0x16aa97(0x381)](workBoardAction),workCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x433))['description'](a2_0x16aa97(0x13e))[a2_0x16aa97(0x381)](workShowAction),workCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x280))['description'](a2_0x16aa97(0x2d1))['action'](workLinksAction),workCmd[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x292))[a2_0x16aa97(0x458)](a2_0x16aa97(0x170))[a2_0x16aa97(0x381)](workOpenAction),program[a2_0x16aa97(0x1d1)](a2_0x16aa97(0x355),{'hidden':!![]})['action'](()=>{const _0xa4070f=a2_0x16aa97;function _0x5d37d0(_0x4ee523,_0x3e563d){const _0x102fbd=a2_0x4753,_0x196e00=[];for(const _0x573a44 of _0x4ee523['commands']){if(_0x573a44[_0x102fbd(0x392)])continue;const _0x305bb3=_0x3e563d?_0x3e563d+'\x20'+_0x573a44[_0x102fbd(0x224)]():_0x573a44['name'](),_0x53b9dc=_0x305bb3['split']('\x20')[0x0],_0xae81c7=COMMAND_CATEGORIES[_0x102fbd(0x301)](_0x230d1a=>_0x230d1a[_0x102fbd(0x15b)][_0x102fbd(0x284)](_0x53b9dc)),_0x3c4e53=_0xae81c7?.[_0x102fbd(0x224)]??'';if(_0x573a44[_0x102fbd(0x15b)]['length']>0x0)_0x196e00[_0x102fbd(0x353)](..._0x5d37d0(_0x573a44,_0x305bb3));else{const _0x3f961f=(_0x573a44[_0x102fbd(0x122)]||[])['map'](_0x2e046=>{const _0x56b257=_0x102fbd,_0x3e0fc2=_0x2e046[_0x56b257(0x28f)]?_0x2e046[_0x56b257(0x224)]()+'...':_0x2e046['name']();return _0x2e046[_0x56b257(0x13d)]?'<'+_0x3e0fc2+'>':'['+_0x3e0fc2+']';})[_0x102fbd(0x3ab)]('\x20'),_0x5b53e2=_0x573a44['options'][_0x102fbd(0x363)](_0x228138=>!_0x228138[_0x102fbd(0x132)]&&_0x228138[_0x102fbd(0x1ab)]!=='--help')[_0x102fbd(0x264)](_0x1fcb35=>({'flags':_0x1fcb35['flags'],'description':_0x1fcb35['description']}));_0x196e00[_0x102fbd(0x353)]({'name':_0x305bb3,'description':_0x573a44[_0x102fbd(0x458)](),'group':_0x3c4e53,'usage':_0x3f961f,'options':_0x5b53e2});}}return _0x196e00;}console[_0xa4070f(0x243)](JSON[_0xa4070f(0x44c)](_0x5d37d0(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x40ce35=a2_0x16aa97,_0x30c838=!process[_0x40ce35(0x2eb)][_0x40ce35(0x375)](0x2)['length'];showBriefHelp=_0x30c838,program[_0x40ce35(0x270)](process[_0x40ce35(0x2eb)]);_0x30c838&&program['outputHelp']();const _0x5bfef8=process['argv'][0x2]===_0x40ce35(0x2f7);if(process[_0x40ce35(0x3b9)][_0x40ce35(0x1f1)]&&process['argv'][_0x40ce35(0x2ff)]>0x2&&!isDevVersion()&&!_0x5bfef8){const _0x5f3bcf=loadReleaseChannel();checkForUpdate(currentVersion,_0x5f3bcf)[_0x40ce35(0x214)](_0x33c16c=>{_0x33c16c&&displayUpdateNotification(_0x33c16c);})[_0x40ce35(0x134)](()=>{});}}