@treasuredata/tdx 2026.4.17 → 2026.4.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/commands/activations.js +1 -1
  8. package/dist/commands/agent-command.js +1 -1
  9. package/dist/commands/agent-test-command.js +1 -1
  10. package/dist/commands/api-command.js +1 -1
  11. package/dist/commands/auth-command.js +1 -1
  12. package/dist/commands/cas-command.js +1 -1
  13. package/dist/commands/cas-segment-command.js +1 -1
  14. package/dist/commands/chat-command.js +1 -1
  15. package/dist/commands/claude-command.js +1 -1
  16. package/dist/commands/claude-statusline-command.js +1 -1
  17. package/dist/commands/claude-usage-command.js +1 -1
  18. package/dist/commands/command.js +1 -1
  19. package/dist/commands/connection-command.js +1 -1
  20. package/dist/commands/databases.js +1 -1
  21. package/dist/commands/delivery-command.js +1 -1
  22. package/dist/commands/describe.js +1 -1
  23. package/dist/commands/engage-campaign-pull-command.js +1 -1
  24. package/dist/commands/engage-campaign-push-command.js +1 -1
  25. package/dist/commands/engage-campaign-validate-command.js +1 -1
  26. package/dist/commands/engage-command.d.ts +38 -0
  27. package/dist/commands/engage-command.d.ts.map +1 -1
  28. package/dist/commands/engage-command.js +1 -1
  29. package/dist/commands/engage-command.js.map +1 -1
  30. package/dist/commands/engage-template-pull-command.js +1 -1
  31. package/dist/commands/engage-template-push-command.js +1 -1
  32. package/dist/commands/engage-template-validate-command.js +1 -1
  33. package/dist/commands/job-command.js +1 -1
  34. package/dist/commands/journey-command.js +1 -1
  35. package/dist/commands/journey-validate-command.js +1 -1
  36. package/dist/commands/llm-command.js +1 -1
  37. package/dist/commands/mcp-command.js +1 -1
  38. package/dist/commands/parent-segment-command.js +1 -1
  39. package/dist/commands/policy-command.js +1 -1
  40. package/dist/commands/profile-command.js +1 -1
  41. package/dist/commands/profiles-command.js +1 -1
  42. package/dist/commands/query-command.js +1 -1
  43. package/dist/commands/schedule-command.js +1 -1
  44. package/dist/commands/segment-command.js +1 -1
  45. package/dist/commands/segment-create-command.js +1 -1
  46. package/dist/commands/segment-fields-command.js +1 -1
  47. package/dist/commands/segment-pull-command.js +1 -1
  48. package/dist/commands/segment-push-command.js +1 -1
  49. package/dist/commands/segment-update-command.js +1 -1
  50. package/dist/commands/segment-use-command.js +1 -1
  51. package/dist/commands/segment-validate-command.js +1 -1
  52. package/dist/commands/segments.js +1 -1
  53. package/dist/commands/show.js +1 -1
  54. package/dist/commands/status-command.js +1 -1
  55. package/dist/commands/tables.js +1 -1
  56. package/dist/commands/unset-command.js +1 -1
  57. package/dist/commands/upgrade-command.js +1 -1
  58. package/dist/commands/use-command.js +1 -1
  59. package/dist/commands/user-command.js +1 -1
  60. package/dist/commands/work-command.js +1 -1
  61. package/dist/commands/workflow-command.js +1 -1
  62. package/dist/core/auth.js +1 -1
  63. package/dist/core/command-output.js +1 -1
  64. package/dist/core/config.js +1 -1
  65. package/dist/core/connection-cache.js +1 -1
  66. package/dist/core/constants.js +1 -1
  67. package/dist/core/credential-cache.js +1 -1
  68. package/dist/core/global-context.js +1 -1
  69. package/dist/core/keychain.js +1 -1
  70. package/dist/core/oauth-keychain.js +1 -1
  71. package/dist/core/oauth.js +1 -1
  72. package/dist/core/profile.js +1 -1
  73. package/dist/core/project-config.js +1 -1
  74. package/dist/core/session.js +1 -1
  75. package/dist/core/user-cache.js +1 -1
  76. package/dist/core/version.js +1 -1
  77. package/dist/index.js +1 -1
  78. package/dist/mcp/server.js +1 -1
  79. package/dist/mcp/tools/index.js +1 -1
  80. package/dist/mcp/tools/tdx-run.js +1 -1
  81. package/dist/mcp/tools/tdx-search.js +1 -1
  82. package/dist/mcp/tools/work-create-item.js +1 -1
  83. package/dist/mcp/utils.js +1 -1
  84. package/dist/proxy/claude-usage-tracker.js +1 -1
  85. package/dist/proxy/passthrough-server.js +1 -1
  86. package/dist/proxy/sse-usage-parser.js +1 -1
  87. package/dist/sdk/agent/agent-config.js +1 -1
  88. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  89. package/dist/sdk/agent/agent-yaml.js +1 -1
  90. package/dist/sdk/agent/test/evaluator.js +1 -1
  91. package/dist/sdk/agent/test/executor.js +1 -1
  92. package/dist/sdk/agent/test/index.js +1 -1
  93. package/dist/sdk/agent/test/output.js +1 -1
  94. package/dist/sdk/agent/test/parser.js +1 -1
  95. package/dist/sdk/agent/tool-target-registry.js +1 -1
  96. package/dist/sdk/api.js +1 -1
  97. package/dist/sdk/cas/cas-api-client.js +1 -1
  98. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  99. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  100. package/dist/sdk/cas/index.js +1 -1
  101. package/dist/sdk/cas/pull-workflow.js +1 -1
  102. package/dist/sdk/cas/push-workflow.js +1 -1
  103. package/dist/sdk/client/cdp-api-client.js +1 -1
  104. package/dist/sdk/client/delivery-api-client.js +1 -1
  105. package/dist/sdk/client/endpoints.js +1 -1
  106. package/dist/sdk/client/engage-api-client.d.ts +26 -1
  107. package/dist/sdk/client/engage-api-client.d.ts.map +1 -1
  108. package/dist/sdk/client/engage-api-client.js +1 -1
  109. package/dist/sdk/client/engage-api-client.js.map +1 -1
  110. package/dist/sdk/client/http-client.d.ts +1 -1
  111. package/dist/sdk/client/http-client.d.ts.map +1 -1
  112. package/dist/sdk/client/http-client.js +1 -1
  113. package/dist/sdk/client/http-client.js.map +1 -1
  114. package/dist/sdk/client/llm-api-client.js +1 -1
  115. package/dist/sdk/client/oauth-refresh.js +1 -1
  116. package/dist/sdk/client/rate-limiter.js +1 -1
  117. package/dist/sdk/client/td-api-client.js +1 -1
  118. package/dist/sdk/client/trino-api-client.js +1 -1
  119. package/dist/sdk/client/workflow-client.js +1 -1
  120. package/dist/sdk/connection-validator.js +1 -1
  121. package/dist/sdk/connection.js +1 -1
  122. package/dist/sdk/delivery.js +1 -1
  123. package/dist/sdk/engage/campaign-pull.js +1 -1
  124. package/dist/sdk/engage/campaign-push.js +1 -1
  125. package/dist/sdk/engage/campaign-validator.js +1 -1
  126. package/dist/sdk/engage/campaign-validator.js.map +1 -1
  127. package/dist/sdk/engage/campaign-yaml.d.ts +1 -1
  128. package/dist/sdk/engage/campaign-yaml.d.ts.map +1 -1
  129. package/dist/sdk/engage/campaign-yaml.js +1 -1
  130. package/dist/sdk/engage/campaign-yaml.js.map +1 -1
  131. package/dist/sdk/engage/template-pull.js +1 -1
  132. package/dist/sdk/engage/template-push.js +1 -1
  133. package/dist/sdk/engage/template-validator.js +1 -1
  134. package/dist/sdk/engage/template-yaml.js +1 -1
  135. package/dist/sdk/engage/types/campaign-def.d.ts +2 -2
  136. package/dist/sdk/engage/types/campaign-def.d.ts.map +1 -1
  137. package/dist/sdk/engage/types/campaign-def.js +1 -1
  138. package/dist/sdk/engage/types/campaign-def.js.map +1 -1
  139. package/dist/sdk/engage/types/campaign-schema.d.ts +256 -8
  140. package/dist/sdk/engage/types/campaign-schema.d.ts.map +1 -1
  141. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  142. package/dist/sdk/engage/types/campaign-schema.js.map +1 -1
  143. package/dist/sdk/engage/types/template-schema.js +1 -1
  144. package/dist/sdk/engage.d.ts +28 -1
  145. package/dist/sdk/engage.d.ts.map +1 -1
  146. package/dist/sdk/engage.js +1 -1
  147. package/dist/sdk/engage.js.map +1 -1
  148. package/dist/sdk/errors.js +1 -1
  149. package/dist/sdk/index.d.ts +1 -1
  150. package/dist/sdk/index.d.ts.map +1 -1
  151. package/dist/sdk/index.js +1 -1
  152. package/dist/sdk/index.js.map +1 -1
  153. package/dist/sdk/io/index.js +1 -1
  154. package/dist/sdk/io/node-filesystem.js +1 -1
  155. package/dist/sdk/job.js +1 -1
  156. package/dist/sdk/journey.js +1 -1
  157. package/dist/sdk/llm/chat-cache.js +1 -1
  158. package/dist/sdk/llm/index.js +1 -1
  159. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  160. package/dist/sdk/llm/model-factors.js +1 -1
  161. package/dist/sdk/personalization.js +1 -1
  162. package/dist/sdk/policy.js +1 -1
  163. package/dist/sdk/query/index.js +1 -1
  164. package/dist/sdk/query/sql-parser.js +1 -1
  165. package/dist/sdk/realtime.js +1 -1
  166. package/dist/sdk/schedule.js +1 -1
  167. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  168. package/dist/sdk/segment/fields-display.js +1 -1
  169. package/dist/sdk/segment/file-discovery.js +1 -1
  170. package/dist/sdk/segment/journey-utils.js +1 -1
  171. package/dist/sdk/segment/journey-validator.js +1 -1
  172. package/dist/sdk/segment/journey-yaml.js +1 -1
  173. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  174. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  175. package/dist/sdk/segment/pull-workflow.js +1 -1
  176. package/dist/sdk/segment/push-recovery.js +1 -1
  177. package/dist/sdk/segment/push-workflow.js +1 -1
  178. package/dist/sdk/segment/resolution-context.js +1 -1
  179. package/dist/sdk/segment/segment-path-parser.js +1 -1
  180. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  181. package/dist/sdk/segment/segment-validator.js +1 -1
  182. package/dist/sdk/segment/target-resolution.js +1 -1
  183. package/dist/sdk/segment/tdx-config.js +1 -1
  184. package/dist/sdk/segment/types/activation-schema.js +1 -1
  185. package/dist/sdk/segment/types/journey-def.js +1 -1
  186. package/dist/sdk/segment/types/journey-schema.js +1 -1
  187. package/dist/sdk/segment/types/segment-def.js +1 -1
  188. package/dist/sdk/segment/types/segment-schema.js +1 -1
  189. package/dist/sdk/segment/validate-files.js +1 -1
  190. package/dist/sdk/segment/yaml-validator.js +1 -1
  191. package/dist/sdk/segment.js +1 -1
  192. package/dist/sdk/types/engage.d.ts +125 -1
  193. package/dist/sdk/types/engage.d.ts.map +1 -1
  194. package/dist/sdk/types/index.d.ts +1 -1
  195. package/dist/sdk/types/index.d.ts.map +1 -1
  196. package/dist/sdk/types/index.js +1 -1
  197. package/dist/sdk/types/index.js.map +1 -1
  198. package/dist/sdk/types/progress.js +1 -1
  199. package/dist/sdk/types/workspace.js +1 -1
  200. package/dist/sdk/user.js +1 -1
  201. package/dist/sdk/util/format-detector.js +1 -1
  202. package/dist/sdk/util/formatters.js +1 -1
  203. package/dist/sdk/util/index.js +1 -1
  204. package/dist/sdk/util/paginate.js +1 -1
  205. package/dist/sdk/util/tree-formatter.js +1 -1
  206. package/dist/sdk/workflow/archive-validation.js +1 -1
  207. package/dist/sdk/workflow/clone-workflow.js +1 -1
  208. package/dist/sdk/workflow/index.js +1 -1
  209. package/dist/sdk/workflow/pull-workflow.js +1 -1
  210. package/dist/sdk/workflow/push-workflow.js +1 -1
  211. package/dist/sdk/workflow/tdx-config.js +1 -1
  212. package/dist/sdk/workflow/workflow-utils.js +1 -1
  213. package/dist/sdk/workspace/access-tracker.js +1 -1
  214. package/dist/sdk/workspace/frontmatter.js +1 -1
  215. package/dist/sdk/workspace/git.js +1 -1
  216. package/dist/sdk/workspace/index.js +1 -1
  217. package/dist/sdk/workspace/templates.js +1 -1
  218. package/dist/sdk/workspace/weekly.js +1 -1
  219. package/dist/sdk/workspace/wikilinks.js +1 -1
  220. package/dist/test-utils/command-runner.js +1 -1
  221. package/dist/test-utils/factories.js +1 -1
  222. package/dist/test-utils/fixtures.js +1 -1
  223. package/dist/test-utils/http-mock.js +1 -1
  224. package/dist/test-utils/index.js +1 -1
  225. package/dist/utils/async.js +1 -1
  226. package/dist/utils/colors.js +1 -1
  227. package/dist/utils/diff.js +1 -1
  228. package/dist/utils/file-permissions.js +1 -1
  229. package/dist/utils/file-reader.js +1 -1
  230. package/dist/utils/github-releases.js +1 -1
  231. package/dist/utils/global-cache.js +1 -1
  232. package/dist/utils/json-loader.js +1 -1
  233. package/dist/utils/local-cache.js +1 -1
  234. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  235. package/dist/utils/logger/formatters/index.js +1 -1
  236. package/dist/utils/logger/handlers/console-handler.js +1 -1
  237. package/dist/utils/logger/handlers/file-handler.js +1 -1
  238. package/dist/utils/logger/handlers/index.js +1 -1
  239. package/dist/utils/logger/handlers/null-handler.js +1 -1
  240. package/dist/utils/logger/index.js +1 -1
  241. package/dist/utils/logger/logger.js +1 -1
  242. package/dist/utils/logger/types.js +1 -1
  243. package/dist/utils/option-validation.js +1 -1
  244. package/dist/utils/process.js +1 -1
  245. package/dist/utils/prompt.js +1 -1
  246. package/dist/utils/spinner.js +1 -1
  247. package/dist/utils/sse-parser.js +1 -1
  248. package/dist/utils/string-utils.js +1 -1
  249. package/dist/utils/table-ref-parser.js +1 -1
  250. package/dist/utils/tdx-logger.js +1 -1
  251. package/dist/utils/version-check.js +1 -1
  252. package/package.json +17 -2
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x3068b9=a2_0x4365;(function(_0x493de9,_0x484414){const _0x31bd9e=a2_0x4365,_0x393ff2=_0x493de9();while(!![]){try{const _0x560884=-parseInt(_0x31bd9e(0x12b))/0x1+parseInt(_0x31bd9e(0x101))/0x2+parseInt(_0x31bd9e(0x369))/0x3+-parseInt(_0x31bd9e(0x281))/0x4+-parseInt(_0x31bd9e(0x85))/0x5+-parseInt(_0x31bd9e(0x309))/0x6*(parseInt(_0x31bd9e(0x226))/0x7)+parseInt(_0x31bd9e(0x216))/0x8;if(_0x560884===_0x484414)break;else _0x393ff2['push'](_0x393ff2['shift']());}catch(_0x4de03e){_0x393ff2['push'](_0x393ff2['shift']());}}}(a2_0x5b70,0xdd03b));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';function a2_0x5b70(){const _0x6bfb90=['Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','List\x20all\x20workflow\x20schedules','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','open\x20<name>','tdx','Run\x20a\x20scheduled\x20query\x20immediately','--github\x20<owner/repo>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--help','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','outputHelp','Retry\x20limit\x20(0\x20to\x2032)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Resume\x20from\x20specific\x20task\x20(retry)','Skip\x20population\x20counting','Email\x20template\x20management','New\x20campaign\x20name','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','description','name','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','segments\x20[path]','join','Personalization\x20service\x20token\x20management','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--add-attributes-file\x20<file>','Create\x20a\x20new\x20profile','attempt:','Version\x20number\x20to\x20view','commandUsage','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--priority\x20<priority>','view\x20[segment_name]','Create\x20a\x20workspace','Resume\x20a\x20paused\x20always-on\x20campaign','parent','parents\x20[pattern]','Workflow\x20session\x20management','[DEPRECATED]\x20Segment\x20folder\x20management','query\x20[sql]','list\x20[project]','HTML\x20template\x20content','session','--include-retried','repeat','argumentDescription','--revision\x20<revision>','--schedule-type\x20<type>','Run\x20tests\x20for\x20an\x20LLM\x20agent','result\x20<job-id>','show\x20[table]','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--skip-validation','Document\x20body\x20text','campaign','Initialize\x20a\x20new\x20workspace','-o,\x20--output\x20<dir>','--system-prompt\x20<text>','Folder\x20name\x20for\x20organization','--attributes\x20<json>','--add-behaviors\x20<json>','log\x20<chat-id>','30701912GJfIBJ','--enriched','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Invalid\x20--limit\x20value:\x20\x22','-r,\x20--recursive','show\x20<folder_ref>','logLevel','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','backup\x20<name>','--interval\x20<range>','usage','show\x20<personalization_id>','submit\x20[query]','[task-name]','Show\x20journey\x20table\x20column-to-step\x20mapping','--in\x20<db>','2776249ttHIRW','upload\x20[project-name-or-dir]','List\x20all\x20users\x20in\x20the\x20account','run\x20[workflow]','Sections\x20as\x20an\x20inline\x20JSON\x20array','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','--all','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--template\x20<name>','Job\x20management\x20commands','folders\x20<parent_name>','--parent-segment\x20<name>','\x20(resolved\x20to\x20','--description\x20<text>','--body\x20<body>','--parent-folder\x20<name>','List\x20secret\x20keys\x20for\x20a\x20project','init\x20[name]','--editor-type\x20<type>','pull\x20<project>\x20[target-dir]','--email-sender-id\x20<id>','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','--database\x20<name>','list\x20[audience_name]','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','commands','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','filter','Attributes\x20as\x20JSON\x20string','Folder\x20description','use\x20[project]','Transition\x20a\x20task\x20to\x20a\x20new\x20status','buildTime','Resume\x20a\x20conversation\x20(shows\x20selector)','desc','show\x20[name]','view\x20<name-or-path>','Interactive\x20chat\x20selector','--audience-id\x20<id>','us01','GET','workspaces\x20[pattern]','audience','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--reeval','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','models','Token\x20description','workflow','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Database\x20name','Pause\x20an\x20always-on\x20campaign','--plaintext\x20<text>','command','disable\x20<id>','--include-stats','--color','subcommandTerm','profile','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Reason\x20for\x20killing\x20the\x20attempt','-d,\x20--database\x20<database>','schedules','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Remove\x20API\x20key\x20from\x20system\x20keychain','Validate\x20journey\x20YAML\x20files\x20locally','Change\x20to\x20directory\x20before\x20executing\x20command','workspace','List\x20email\x20senders','\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','Always-on\x20campaign\x20management','CDP\x20Journey\x20Orchestration\x20commands','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','--catalog\x20<catalog>','-f,\x20--file\x20<path>','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','sessions\x20[project]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','kill\x20<job-id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Skip\x20confirmation\x20prompt','desc\x20[name]','[EXPERIMENTAL]\x20Show\x20chat\x20log','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','job','folder','format','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','1918072RRqyxp','Include\x20retried\x20attempts','clone\x20[source-dir]','--clear','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Attributes\x20from\x20JSON\x20file','Validate\x20campaign\x20YAML\x20files\x20locally','--schedule-option\x20<value>','Pull\x20workflow\x20project\x20to\x20local\x20folder','--subject\x20<subject>','Campaign\x20type\x20(email\x20or\x20push)','push','agents\x20[pattern]','launch\x20<name-or-id>','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Follow/watch\x20timeline\x20for\x20running\x20attempts','--in\x20<database>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Pull\x20specific\x20revision\x20(default:\x20latest)','Include\x20all\x20items\x20(no\x20stale\x20filtering)','pause\x20<name-or-id>','--output\x20<file>','--attempt-id\x20<id>','Parent\x20folder\x20name\x20for\x20nested\x20folders','sql\x20[segment_name]','Customer\x20group\x20from\x20JSON\x20file','-f,\x20--force','Database\x20to\x20query\x20(default:\x20information_schema)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--resume-from\x20<task>','List\x20composable\x20audiences','TRACE','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Pause\x20a\x20running\x20journey','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Path\x20is\x20not\x20a\x20directory:\x20','Show\x20the\x20most\x20recent\x20chat','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-H,\x20--header\x20<header>','pull\x20[workspace]','Limit\x20number\x20of\x20rows','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','claude-4.5-sonnet','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Move\x20to\x20folder','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--workspace\x20<name>','set','Show\x20document\x20details','Delete\x20an\x20email\x20template','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--table','Show\x20journey\x20statistics','login','Preview\x20composable\x20segment\x20query\x20on\x20CDW','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','upgrade\x20[version]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','-r,\x20--resume','push\x20[path]','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','colorFn','--type\x20<api_type>','--days\x20<n>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','stderr','secrets','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Agent\x20description','Personalization\x20service\x20management','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Request\x20body\x20as\x20JSON\x20string','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','--last','-v,\x20--verbose','Show\x20authentication\x20status\x20and\x20current\x20context','Filtering\x20rule\x20from\x20JSON\x20file','--file\x20<path>','--param\x20<key=value>','Campaign\x20name','YAML\x20file\x20path\x20for\x20unpushed\x20segment','auth','Override\x20project\x20name','Cron\x20expression\x20for\x20scheduling','Resume\x20from\x20specific\x20task','[options]\x20--\x20[claude-code-args...]','tables\x20[pattern]','Delete\x20an\x20agent','Parent\x20segment\x20management','jobs','includes','Personalization\x20name','Plaintext\x20template\x20content','user','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Run\x20specific\x20tests\x20(comma-separated)','Authentication\x20management','--kind\x20<kind>','Workspace\x20name','--priority\x20<-2~2>','Updated\x20timezone','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','INVALID_ARGUMENT','engage','update\x20<name>','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Workflow\x20attempt\x20management','--tags\x20<tags>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Continue\x20most\x20recent\x20conversation','Apply\x20a\x20template','Read\x20request\x20body\x20from\x20file','Campaign\x20description','activations\x20<segment_name>','--behaviors\x20<json>','help','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','retry','Filtering\x20rule\x20as\x20JSON\x20string','Preview\x20changes\x20without\x20pushing','engage_workspace','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','users','Open\x20journey\x20in\x20web\x20browser','push\x20[source-dir]','Pull\x20child\x20segments\x20to\x20YAML\x20files','--master','--from\x20<timestamp>','Delete\x20a\x20realtime\x20personalization','--folder\x20<name>','--stage\x20<name>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','18MiyzXA','delete\x20<name>','Maximum\x20recursion\x20depth\x20(default:\x2010)','table','Output\x20file\x20path','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Show\x20master\x20table\x20sample\x20data','Update\x20an\x20always-on\x20campaign','Validate\x20template\x20YAML\x20files\x20locally','links\x20<name>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','list\x20[name]','--starter-message\x20<text>','Read\x20SQL\x20query\x20from\x20file','version','Delay\x20in\x20seconds\x20before\x20execution','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Parent\x20segment\x20description','Overwrite\x20local\x20changes\x20without\x20confirmation','Model\x20type\x20(default:\x20claude-4.5-sonnet)','--tsv','--method\x20<pm>','summary','describe','--account-name\x20<name>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Behaviors\x20from\x20JSON\x20file','\x22.\x20Must\x20be\x20a\x20number.','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','subcommandDescription','--no-eval','\x20-\x20built\x20','create\x20<parent_name>\x20<folder_name>','Master\x20table\x20name','Task\x20name\x20for\x20logs\x20action','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Show\x20connection\x20details\x20by\x20name','Job\x20priority\x20(-2\x20to\x202)','_list-commands','--model\x20<name>','--attributes-file\x20<file>','Access\x20control\x20policy\x20commands','--path\x20<file-path>','information_schema','mcp','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','-p,\x20--profile\x20<name>','versions\x20<name-or-path>','delete\x20<agent-name>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Run\x20Trino\x20query\x20with\x20streaming\x20results','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--no-color','padEnd','Check\x20for\x20updates\x20without\x20installing','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','-o,\x20--output\x20<folder>','--html-file\x20<path>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','item','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','parent_segment','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Push\x20YAML\x20files\x20to\x20CAS\x20API','--reason\x20<text>','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Template\x20name','alias','--debug','Show\x20workspace\x20details','--html\x20<html>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Customer\x20group\x20as\x20JSON\x20string','List\x20all\x20available\x20profiles','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','replace','columns\x20<name-or-path>','-o,\x20--output\x20<file>','Kill\x20a\x20job','--timeout\x20<seconds>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','List\x20journeys\x20in\x20current\x20context','update\x20<segment_name>','Custom\x20revision\x20name\x20(default:\x20timestamp)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Skip\x20validation\x20of\x20.dig\x20files','journeys\x20[pattern]','List\x20available\x20LLM\x20models','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Set\x20operation\x20timeout\x20in\x20seconds','1455123Bgxweu','--timezone\x20<tz>','push\x20[target]','argv','optionTerm','setup','List\x20activations\x20for\x20a\x20journey','--name\x20<text>','validate\x20[target]','INFO','show\x20<job-id>','Invalid\x20editor\x20type:\x20','Name\x20for\x20the\x20new\x20project\x20(required)','jsonl','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Delivery\x20operations\x20(email\x20senders)','show\x20<name-or-id>','--num\x20<1-10>','List\x20agents\x20in\x20current\x20project','--rule\x20<json>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Update\x20a\x20workspace','--customer-group-file\x20<file>','Attempt\x20ID','--params\x20<json>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','list\x20[pattern]','create\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','--new','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','segment','New\x20workspace\x20name','Create\x20a\x20scheduled\x20query','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','cas','status','RT\x202.0\x20configuration\x20management','claude\x20[args...]','Enable\x20UTM\x20tracking','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','run','set\x20<key=value>','Table\x20management\x20commands','--full','Workflow\x20(Digdag)\x20management\x20commands','argument','Finish\x20an\x20always-on\x20campaign','Create\x20a\x20new\x20always-on\x20campaign','delete\x20<personalization_id>','grapesjs','find','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Open\x20a\x20document\x20in\x20$EDITOR','accessToken','--default','Disable\x20a\x20workflow\x20schedule','Show\x20email\x20template\x20details','--temperature\x20<n>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','error',',\x20version\x20','--force','Query\x20engine\x20version','preview\x20[name]','Project\x20description','Database\x20management\x20commands','[action]','action','--name\x20<name>','view\x20[name]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','4931290sGwSFb','-y,\x20--yes','use\x20<path>','Include\x20execution\x20statistics','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','--description\x20<desc>','hook','Show\x20segment\x20details\x20(alias\x20for\x20view)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Enable\x20a\x20disabled\x20workflow\x20schedule','New\x20service\x20name','-d,\x20--database\x20<db>','Email\x20sender\x20ID\x20for\x20delivery','Read\x20HTML\x20template\x20from\x20file','System\x20prompt/instructions\x20(default:\x20empty)','Show\x20agent\x20details','Data\x20connection\x20management\x20(for\x20activations/exports)','fields\x20[parent_name]','-a,\x20--agent\x20<name>','fields\x20[name]','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','End\x20time\x20filter\x20(ISO\x208601\x20format)','Workspace\x20name\x20(required)','--from\x20<date>','-C,\x20--directory\x20<path>','--time\x20<iso8601>','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Pause\x20activations\x20in\x20an\x20RT\x20journey','Agent\x20prompt/instructions','Service\x20description','Delete\x20a\x20scheduled\x20query','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Delete\x20a\x20workspace','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Create\x20a\x20new\x20campaign','Show\x20only\x20master\x20table\x20validation','show\x20<name>','stringify','--include-history','argumentTerm','history\x20[chat-id]','project','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','update\x20<agent-name>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','log','Update\x20an\x20existing\x20agent','tsv','Show\x20segment\x20schema\x20(column\x20types)','Open\x20segment\x20in\x20web\x20browser','--follow','beefree','create\x20<name>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--result\x20<url>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','split','projects\x20[pattern]','forEach','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Revision\x20name\x20(default:\x20timestamp)','--behaviors-file\x20<file>','Add\x20behaviors\x20from\x20JSON\x20file','clear','duplicate\x20<name-or-id>','--name\x20<new_name>','--no-count-population','createAsync','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','desc\x20[segment_name]','settings\x20<type>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','trino','Save\x20output\x20to\x20file','directory','Pull\x20templates\x20to\x20YAML\x20files','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Parse\x20and\x20validate\x20without\x20executing','--session-time\x20<time>','Update\x20a\x20scheduled\x20query','--table\x20<table>','gitRevision','use\x20[name]','--segment\x20<path>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','commandDescription','journey','--jsonl','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','\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','Personalization\x20description','exit','entries','Show\x20items\x20updated\x20within\x20N\x20days','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Maximum\x20rows\x20to\x20display','clone\x20[source]','New\x20segment\x20name','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','-X,\x20--method\x20<method>','Start\x20a\x20new\x20chat\x20session','Enable\x20verbose\x20logging','--name\x20<names>','Show\x20stats\x20for\x20specific\x20stage','--limit\x20<number>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','always-on-campaigns\x20[pattern]','--type\x20<type>','stats\x20<name-or-path>','Delete\x20a\x20campaign','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','show\x20[segment_name]','connections','--attribute\x20[name]','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','set\x20<args...>','flatMap','--verbose','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','service','Read\x20query\x20from\x20file','site','652004cFMIdE','attempts\x20[project]','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','parse','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--from-task\x20<task>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','list','noColor','remove\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','--from\x20<n>','Delete\x20an\x20LLM\x20project','push\x20[parent_or_file]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','required','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Describe\x20table\x20schema','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Show\x20campaign\x20details','Set\x20or\x20show\x20parent\x20segment\x20context','aliases','pause_activations\x20<journeyId>','--retry-limit\x20<0~32>','_hidden','--version','Timezone\x20(e.g.,\x20America/Los_Angeles)','templates\x20[pattern]','Updated\x20description','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','traffic\x20<name-or-path>','unset\x20<resource>','validate\x20[name]','-w,\x20--web','push\x20[name]','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','1087910fPgQrj','Database\x20name\x20(default:\x20information_schema)','isTTY','Set\x20a\x20profile\x20configuration\x20value','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','llm','length','workflows\x20[project]','option','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Update\x20a\x20campaign','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Overwrite\x20existing\x20profile','[attempt-id]','connection','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Query\x20type:\x20trino\x20or\x20hive','Submit\x20a\x20job','after','upgrade','Include\x20raw\x20history\x20data\x20in\x20output','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','-u,\x20--use','policy','New\x20service\x20description','--yes','Resume\x20activations\x20in\x20an\x20RT\x20journey','--invisible','Create\x20a\x20new\x20LLM\x20project','Show\x20journey\x20details','User\x20management\x20commands','Manage\x20workflow\x20schedules\x20(enable/disable)','timeout','-c,\x20--continue','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','then','push\x20[file]','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','get','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--data\x20<data>','update\x20<name-or-id>','Result\x20output\x20destination\x20URL','--json','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','list\x20[path]','Update\x20a\x20realtime\x20personalization\x20entity','--job-type\x20<type>','Create\x20an\x20email\x20template','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--max-depth\x20<depth>','patch\x20<personalization_id>','validate\x20[file]','Pull\x20specific\x20campaign\x20by\x20name','pull\x20[project]\x20[agent-name]','isDirectory','--trace','Workspace\x20management','Email\x20subject\x20template','delete\x20<name-or-id>','senders\x20[pattern]','parent-segment','pause\x20<name-or-path>','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Timezone\x20for\x20cron','--kind\x20<type>','types','--engine-version\x20<version>','resume_activations\x20<journeyId>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Directory\x20does\x20not\x20exist:\x20','attempt','Show\x20schedule\x20details','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','show\x20<agent-name>','allowUnknownOption','AI-native\x20CLI\x20for\x20Treasure\x20Data','--sections\x20<json>','Manage\x20workflow\x20project\x20secrets','create\x20<name-or-path>','LLM\x20agent\x20management','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Push\x20without\x20confirmation','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','delivery','chat\x20[message...]','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Trino\x20catalog\x20(default:\x20td)','--status\x20<status>','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','activations\x20<name-or-path>','Show\x20timeline\x20for\x20specific\x20attempt','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Export\x20journey(s)\x20as\x20YAML\x20files','--agent\x20<ref>','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','--session-id\x20<id>','Workspace\x20description','List\x20all\x20data\x20connections','--to\x20<date>','history\x20<name>','chdir','Make\x20service\x20public\x20(default:\x20private)','agent','Target\x20directory\x20for\x20YAML\x20files','Output\x20directory','map','pull\x20[name]','requiredOption','Get\x20current\x20RT\x20configuration\x20version\x20status','--limit\x20<n>','Output\x20as\x20JSON\x20Lines','Make\x20segment\x20invisible\x20(default:\x20visible)','Get\x20job\x20results','Starter\x20message','hidden','--delay\x20<seconds>','optionDescription','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','AI-native\x20work\x20management','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Show\x20always-on\x20campaign\x20details','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','--add-behaviors-file\x20<file>','--dry-run','--to\x20<timestamp>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','registeredArguments','Output\x20as\x20JSON','sql\x20[name]','campaigns\x20[pattern]','--format\x20<format>','\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','database','--allowed-ips\x20<ips>','--json-columns\x20<cols>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','apiKey','JSON\x20columns\x20for\x20connector\x20(comma-separated)','pull\x20[workspace-name]','show\x20<service_id>\x20[parent_segment]','--assignee\x20<assignee>','schedule','create','--behavior\x20[name]','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','token','tdx\x20','opts','-1d','Behaviors\x20as\x20JSON\x20string','--cron\x20<expression>','Comma-separated\x20tags','addHelpText','slice','tasks','create\x20<segment_name>','stdout','--enable-utm-tracking','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Arguments:'];a2_0x5b70=function(){return _0x6bfb90;};return a2_0x5b70();}import{UserCommand,UserListCommand}from'./commands/user-command.js';function a2_0x4365(_0x557ce7,_0x474a2c){_0x557ce7=_0x557ce7-0x74;const _0x5b709b=a2_0x5b70();let _0x436563=_0x5b709b[_0x557ce7];return _0x436563;}import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x3068b9(0x36c)][a2_0x3068b9(0x2dd)](a2_0x3068b9(0x11f))){let versionOutput=a2_0x3068b9(0x1c6)+currentVersion;buildInfo[a2_0x3068b9(0xd7)]&&!currentVersion['includes'](buildInfo[a2_0x3068b9(0xd7)])&&(versionOutput+='\x20('+buildInfo[a2_0x3068b9(0xd7)]+')'),buildInfo[a2_0x3068b9(0x247)]&&(versionOutput+=a2_0x3068b9(0x328)+buildInfo['buildTime']),console['log'](versionOutput),process[a2_0x3068b9(0xe2)](0x0);}const program=new Command();export function mergeCommandOptions(_0xc2c6a4,_0x501461){const _0x3a4211=a2_0x3068b9,_0x4dcedc={..._0xc2c6a4};for(const [_0x20a556,_0x35ef43]of Object[_0x3a4211(0xe3)](_0x501461)){_0x35ef43!==undefined&&(_0x4dcedc[_0x20a556]=_0x35ef43);}return _0x4dcedc;}let showBriefHelp=![],description=a2_0x3068b9(0x17a);buildInfo[a2_0x3068b9(0xd7)]&&!currentVersion['includes'](buildInfo['gitRevision'])?description+=a2_0x3068b9(0x7a)+currentVersion+'\x20('+buildInfo[a2_0x3068b9(0xd7)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0x3068b9(0x1e8)]('tdx')[a2_0x3068b9(0x1e7)](description),program[a2_0x3068b9(0x133)](a2_0x3068b9(0x9d),a2_0x3068b9(0x269))[a2_0x3068b9(0x133)](a2_0x3068b9(0x337),a2_0x3068b9(0x10d))['option']('--site\x20<site>',a2_0x3068b9(0x12a),a2_0x3068b9(0x24e))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1b6),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')['option'](a2_0x3068b9(0x2b4),a2_0x3068b9(0x2bb))[a2_0x3068b9(0x133)](a2_0x3068b9(0x157),a2_0x3068b9(0x15f))[a2_0x3068b9(0x133)](a2_0x3068b9(0xde),a2_0x3068b9(0x113))[a2_0x3068b9(0x133)](a2_0x3068b9(0x31d),a2_0x3068b9(0x352))[a2_0x3068b9(0x133)](a2_0x3068b9(0x296),a2_0x3068b9(0xcf))[a2_0x3068b9(0x133)](a2_0x3068b9(0xef),a2_0x3068b9(0x111))[a2_0x3068b9(0x133)](a2_0x3068b9(0x25f),a2_0x3068b9(0x308),![])[a2_0x3068b9(0x133)](a2_0x3068b9(0x33d),a2_0x3068b9(0x190),![])[a2_0x3068b9(0x133)](a2_0x3068b9(0x2cd),a2_0x3068b9(0xec),![])[a2_0x3068b9(0x133)](a2_0x3068b9(0x34f),a2_0x3068b9(0x140))[a2_0x3068b9(0x133)](a2_0x3068b9(0x166),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x35b),a2_0x3068b9(0x368),'30')[a2_0x3068b9(0x133)](a2_0x3068b9(0x1af),'Preview\x20operation\x20without\x20executing',![])[a2_0x3068b9(0x133)](a2_0x3068b9(0x86),'Skip\x20confirmation\x20prompts',![])[a2_0x3068b9(0x133)]('--session\x20<id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x231),a2_0x3068b9(0x258))['option']('--llm-project\x20<name>',a2_0x3068b9(0x153)),program['configureHelp']({'formatHelp':(_0x1c0557,_0x46fb35)=>{const _0x2868c1=a2_0x3068b9,_0x30a221=_0x46fb35['padWidth'](_0x1c0557,_0x46fb35),_0x1ca409=0x2,_0x121c67=0x2;function _0x87ff1c(_0x1aa8a1){const _0x2492ca=a2_0x4365,_0x3eea20=_0x1aa8a1;return!!(_0x3eea20[_0x2492ca(0x11e)]||_0x3eea20[_0x2492ca(0x1a4)]);}function _0x5ef8fb(_0x560c5c,_0x2bca7f){const _0x2fe840=a2_0x4365;if(_0x2bca7f){const _0x247f93=''+_0x560c5c[_0x2fe840(0x33e)](_0x30a221+_0x121c67)+_0x2bca7f;return _0x247f93;}return _0x560c5c;}function _0x390f47(_0x17c29d){const _0x1c34c7=a2_0x4365;return _0x17c29d[_0x1c34c7(0x1ec)]('\x0a')[_0x1c34c7(0x357)](/^/gm,'\x20'[_0x1c34c7(0x203)](_0x1ca409));}const _0x3e95fa=[];_0x3e95fa[_0x2868c1(0x28c)]('Usage:\x20'+_0x46fb35[_0x2868c1(0x1f3)](_0x1c0557));const _0x3596c6=_0x46fb35[_0x2868c1(0xdc)](_0x1c0557);_0x3596c6&&(_0x3e95fa[_0x2868c1(0x28c)](''),_0x3e95fa[_0x2868c1(0x28c)](_0x3596c6));const _0xac4003=_0x1c0557['commands'][_0x2868c1(0x242)](_0x3a33b7=>!_0x87ff1c(_0x3a33b7));if(_0xac4003['length']>0x0){if(_0x1c0557[_0x2868c1(0x1e8)]()===_0x2868c1(0x1d8)){const _0x7b5593=_0x1c0557[_0x2868c1(0x1c7)](),_0xffd3a3=!_0x7b5593[_0x2868c1(0x10b)]&&process[_0x2868c1(0x1d0)][_0x2868c1(0x12d)],_0x41e693=COMMAND_CATEGORIES,_0x4e90b4=(_0x348a2e,_0x38ed64)=>_0xffd3a3?_0x38ed64(_0x348a2e):_0x348a2e,_0x54d880=new Map();_0xac4003[_0x2868c1(0xc0)](_0x5009f0=>{const _0x2ab528=_0x2868c1;_0x54d880[_0x2ab528(0x2b0)](_0x5009f0[_0x2ab528(0x1e8)](),_0x5009f0);}),_0x41e693['forEach'](_0x483b58=>{const _0x1d089f=_0x2868c1,_0xe79b10=_0x483b58['commands'][_0x1d089f(0xfb)](_0x1c2edc=>_0x54d880[_0x1d089f(0x152)](_0x1c2edc)??[]);if(_0xe79b10[_0x1d089f(0x131)]>0x0){_0x3e95fa[_0x1d089f(0x28c)](''),_0x3e95fa['push'](_0x4e90b4(_0x483b58[_0x1d089f(0x1e8)]+':',_0x483b58[_0x1d089f(0x2bf)]));const _0x4f7fa1=_0xe79b10[_0x1d089f(0x19b)](_0x4321a5=>{const _0x21483a=_0x1d089f,_0x70792b=_0x46fb35[_0x21483a(0x260)](_0x4321a5),_0x14544e=_0x46fb35[_0x21483a(0x326)](_0x4321a5);return _0x5ef8fb(_0x70792b,_0x14544e);});_0x3e95fa[_0x1d089f(0x28c)](_0x390f47(_0x4f7fa1));}}),_0x3e95fa['push'](''),_0x3e95fa[_0x2868c1(0x28c)](_0x2868c1(0x23e));}else{const _0x4c30ab=_0xac4003['map'](_0x4e4fed=>{const _0x4df5dc=_0x2868c1,_0x1232ba=_0x46fb35[_0x4df5dc(0x260)](_0x4e4fed),_0x2de7ec=_0x46fb35[_0x4df5dc(0x326)](_0x4e4fed);return _0x5ef8fb(_0x1232ba,_0x2de7ec);});_0x3e95fa['push'](''),_0x3e95fa[_0x2868c1(0x28c)]('Commands:'),_0x3e95fa[_0x2868c1(0x28c)](_0x390f47(_0x4c30ab));}}if(showBriefHelp&&_0x1c0557[_0x2868c1(0x1e8)]()==='tdx')_0x3e95fa[_0x2868c1(0x28c)](''),_0x3e95fa['push'](_0x2868c1(0x2cb));else{const _0x5b3f28=_0x1c0557['options'][_0x2868c1(0x242)](_0x1b58ba=>!_0x87ff1c(_0x1b58ba));if(_0x5b3f28[_0x2868c1(0x131)]>0x0){const _0x2c83e2=_0x5b3f28[_0x2868c1(0x19b)](_0x344abc=>{const _0x5dcff4=_0x2868c1,_0x450717=_0x46fb35[_0x5dcff4(0x36d)](_0x344abc),_0x4ccbef=_0x46fb35[_0x5dcff4(0x1a6)](_0x344abc);return _0x5ef8fb(_0x450717,_0x4ccbef);});_0x3e95fa[_0x2868c1(0x28c)](''),_0x3e95fa[_0x2868c1(0x28c)]('Options:'),_0x3e95fa[_0x2868c1(0x28c)](_0x390f47(_0x2c83e2));}}const _0x20ae05=(_0x1c0557[_0x2868c1(0x1b2)]||[])[_0x2868c1(0x242)](_0xebd857=>!_0x87ff1c(_0xebd857));if(_0x20ae05[_0x2868c1(0x131)]>0x0){const _0x576b43=_0x20ae05[_0x2868c1(0x19b)](_0x3b0096=>{const _0xf2f5a9=_0x2868c1,_0x2002a3=_0x46fb35[_0xf2f5a9(0xac)](_0x3b0096),_0x2eff51=_0x46fb35[_0xf2f5a9(0x204)](_0x3b0096);return _0x5ef8fb(_0x2002a3,_0x2eff51);});_0x3e95fa[_0x2868c1(0x28c)](''),_0x3e95fa[_0x2868c1(0x28c)](_0x2868c1(0x1d3)),_0x3e95fa[_0x2868c1(0x28c)](_0x390f47(_0x576b43));}return _0x3e95fa['join']('\x0a')+'\x0a';},'subcommandTerm':_0x4d53e2=>{const _0x11e8b2=a2_0x3068b9,_0x35a608=(_0x4d53e2[_0x11e8b2(0x1b2)]||[])[_0x11e8b2(0x19b)](_0x14b36c=>_0x14b36c[_0x11e8b2(0x115)]?'<'+_0x14b36c[_0x11e8b2(0x1e8)]()+'>':'['+_0x14b36c['name']()+']')['join']('\x20'),_0x3869cc=_0x4d53e2[_0x11e8b2(0x11b)](),_0x2a2f35=_0x3869cc[_0x11e8b2(0x131)]>0x0?_0x4d53e2[_0x11e8b2(0x1e8)]()+',\x20'+_0x3869cc[_0x11e8b2(0x1ec)](',\x20'):_0x4d53e2[_0x11e8b2(0x1e8)]();return _0x35a608?_0x2a2f35+'\x20'+_0x35a608:_0x2a2f35;}}),program[a2_0x3068b9(0x8b)]('preAction',_0x422c17=>{const _0x44639c=a2_0x3068b9,_0x63f405=_0x422c17['opts']();if(_0x63f405[_0x44639c(0xd0)]){const _0xeca716=resolve(_0x63f405['directory']),_0x475d01=_0xeca716!==_0x63f405[_0x44639c(0xd0)]?_0x44639c(0x232)+_0xeca716+')':'';if(!existsSync(_0xeca716))throw new SDKError(ErrorCode[_0x44639c(0x2e9)],_0x44639c(0x174)+_0x63f405['directory']+_0x475d01,undefined,{'helpText':_0x44639c(0x28f)});const _0x4a88a8=statSync(_0xeca716);if(!_0x4a88a8[_0x44639c(0x165)]())throw new SDKError(ErrorCode[_0x44639c(0x2e9)],_0x44639c(0x2a4)+_0x63f405[_0x44639c(0xd0)]+_0x475d01,undefined,{'helpText':_0x44639c(0x2ec)});process[_0x44639c(0x196)](_0xeca716);}if(!_0x63f405[_0x44639c(0x27f)]){if(_0x63f405[_0x44639c(0x30c)])_0x63f405[_0x44639c(0x27f)]='table';else{if(_0x63f405['json'])_0x63f405[_0x44639c(0x27f)]='json';else{if(_0x63f405[_0x44639c(0x376)])_0x63f405[_0x44639c(0x27f)]=_0x44639c(0x376);else _0x63f405[_0x44639c(0xb4)]&&(_0x63f405[_0x44639c(0x27f)]=_0x44639c(0xb4));}}}if(_0x63f405['trace'])_0x63f405[_0x44639c(0x21c)]=LogLevel[_0x44639c(0x2a0)];else{if(_0x63f405['debug'])_0x63f405[_0x44639c(0x21c)]=LogLevel['DEBUG'];else _0x63f405[_0x44639c(0x21c)]===undefined&&(_0x63f405[_0x44639c(0x21c)]=LogLevel[_0x44639c(0x372)]);}});async function createTDXInstance(_0x27871e){const _0x172f69=a2_0x3068b9,_0x1f8ea1=await GlobalContext[_0x172f69(0xc9)](_0x27871e);_0x1f8ea1['injectIntoOptions'](_0x27871e);const _0x3c5ab4=Number(_0x27871e[_0x172f69(0x14b)]),_0x4a888d=!isNaN(_0x3c5ab4)&&_0x3c5ab4>0x0?_0x3c5ab4*0x3e8:undefined;return TDX[_0x172f69(0x1c2)]({'site':_0x1f8ea1[_0x172f69(0x100)],'apiKey':_0x1f8ea1[_0x172f69(0x1bc)],'accessToken':_0x1f8ea1[_0x172f69(0x3a0)],'logLevel':_0x1f8ea1[_0x172f69(0x21c)],'profile':_0x1f8ea1[_0x172f69(0x261)],'timeout':_0x4a888d});}const databaseCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1b8))[a2_0x3068b9(0x34e)]('db')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x7f)),databaseListAction=async(_0x459cca,_0x6d8aba)=>{const _0x24b96=a2_0x3068b9,_0x525b2b=new DatabasesCommand(),_0x31f4ea=program['opts'](),_0x4ff653=await createTDXInstance(_0x31f4ea),_0x2e3dfe=await _0x525b2b[_0x24b96(0x392)]({'options':{..._0x31f4ea,..._0x6d8aba},'args':_0x459cca?[_0x459cca]:[],'tdx':_0x4ff653});gracefulExit(_0x2e3dfe);};databaseCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3068b9(0x81)](databaseListAction),program[a2_0x3068b9(0x25c)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x377))[a2_0x3068b9(0x81)](databaseListAction),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x186))[a2_0x3068b9(0x1e7)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x18f),a2_0x3068b9(0x1a9))[a2_0x3068b9(0x133)](a2_0x3068b9(0x386),a2_0x3068b9(0xeb))['option']('--chat-id\x20<id>',a2_0x3068b9(0xca))[a2_0x3068b9(0x133)]('--stream',a2_0x3068b9(0x262))[a2_0x3068b9(0x81)](async(_0xf96b01,_0x2f8070)=>{const _0x279c91=a2_0x3068b9,_0x58ba56=program[_0x279c91(0x1c7)](),_0x4d570f=await createTDXInstance(_0x58ba56);if(_0xf96b01[0x0]==='create'){const _0x1c76e0=new ChatCreateCommand();gracefulExit(await _0x1c76e0[_0x279c91(0x392)]({'options':{..._0x58ba56,..._0x2f8070},'args':_0xf96b01['slice'](0x1),'tdx':_0x4d570f}));return;}const _0x1e6b55=new ChatCommand(),_0x362f21=await _0x1e6b55['run']({'options':{..._0x58ba56,..._0x2f8070},'args':_0xf96b01,'tdx':_0x4d570f});gracefulExit(_0x362f21);});const apiCmd=program[a2_0x3068b9(0x25c)]('api\x20[endpoint]')[a2_0x3068b9(0x31f)](a2_0x3068b9(0x1ea))[a2_0x3068b9(0x1cc)]('after',a2_0x3068b9(0xe0))[a2_0x3068b9(0x133)](a2_0x3068b9(0xea),a2_0x3068b9(0x118),a2_0x3068b9(0x24f))[a2_0x3068b9(0x133)](a2_0x3068b9(0x154),a2_0x3068b9(0x2ca))[a2_0x3068b9(0x133)]('-f,\x20--file\x20<path>',a2_0x3068b9(0x2f2))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2a7),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x569fb8,_0x5cd37c)=>{return _0x5cd37c?[..._0x5cd37c,_0x569fb8]:[_0x569fb8];})['option'](a2_0x3068b9(0x2c0),a2_0x3068b9(0x129),'td')['action'](async(_0x564a40,_0x497537)=>{const _0x13a1e9=a2_0x3068b9;if(!_0x564a40){apiCmd[_0x13a1e9(0x2f6)]();return;}const _0x333902=new ApiCommand(),_0x39cecd=program[_0x13a1e9(0x1c7)](),_0x5ebb88=await createTDXInstance(_0x39cecd),_0x344009=await _0x333902[_0x13a1e9(0x392)]({'options':{..._0x39cecd,..._0x497537},'args':[_0x564a40],'tdx':_0x5ebb88});gracefulExit(_0x344009);});program['command'](a2_0x3068b9(0x335))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xda))[a2_0x3068b9(0x1cc)](a2_0x3068b9(0x13d),'\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_0x3068b9(0x81)](async _0x3fa8c4=>{const _0x284b27=a2_0x3068b9,_0x32cd8b=new MCPCommand(),_0x2db74a=program[_0x284b27(0x1c7)](),_0x5e5e95=await createTDXInstance(_0x2db74a),_0x581ae2=await _0x32cd8b[_0x284b27(0x392)]({'options':{..._0x2db74a,..._0x3fa8c4},'args':[],'tdx':_0x5e5e95});gracefulExit(_0x581ae2);});const tableCmd=program['command']('table')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x394)),tableListAction=async(_0x585827,_0x84b8ce)=>{const _0x344e24=a2_0x3068b9,_0x53ae3e=new TablesCommand(),_0x1757e3=program[_0x344e24(0x1c7)](),_0x4a9d3f=await createTDXInstance(_0x1757e3);_0x84b8ce['in']&&(_0x84b8ce[_0x344e24(0x1b8)]=_0x84b8ce['in']);const _0x205439=await _0x53ae3e[_0x344e24(0x392)]({'options':{..._0x1757e3,..._0x84b8ce},'args':_0x585827?[_0x585827]:[],'tdx':_0x4a9d3f});gracefulExit(_0x205439);};tableCmd[a2_0x3068b9(0x25c)]('list\x20[pattern]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x106))[a2_0x3068b9(0x133)]('-d,\x20--database\x20<database>',a2_0x3068b9(0x275))[a2_0x3068b9(0x133)](a2_0x3068b9(0x291),a2_0x3068b9(0x1b1))[a2_0x3068b9(0x81)](tableListAction),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2d9),{'hidden':!![]})[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x277))[a2_0x3068b9(0x133)](a2_0x3068b9(0x264),a2_0x3068b9(0x275))['option'](a2_0x3068b9(0x291),a2_0x3068b9(0x1b1))['action'](tableListAction),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x209))[a2_0x3068b9(0x1e7)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x264),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3068b9(0x133)]('--in\x20<database>',a2_0x3068b9(0x1b1))[a2_0x3068b9(0x81)](async(_0x49d61b,_0xa1a9ac)=>{const _0x4266a2=new ShowCommand(),_0x200206=program['opts'](),_0x54a1fb=await createTDXInstance(_0x200206);_0xa1a9ac['in']&&(_0xa1a9ac['database']=_0xa1a9ac['in']);const _0x3985cb=await _0x4266a2['run']({'options':{..._0x200206,..._0xa1a9ac},'args':_0x49d61b?[_0x49d61b]:[],'tdx':_0x54a1fb});gracefulExit(_0x3985cb);}),program['command']('describe\x20[table]')[a2_0x3068b9(0x34e)](a2_0x3068b9(0x249))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x117))[a2_0x3068b9(0x133)](a2_0x3068b9(0x264),a2_0x3068b9(0x8d))[a2_0x3068b9(0x133)]('--in\x20<database>',a2_0x3068b9(0x1b1))['action'](async(_0x4f121a,_0x490ed7)=>{const _0x5704d0=a2_0x3068b9,_0x1dc074=new DescribeCommand(),_0x4556bb=program[_0x5704d0(0x1c7)](),_0x5b65b0=await createTDXInstance(_0x4556bb);_0x490ed7['in']&&(_0x490ed7[_0x5704d0(0x1b8)]=_0x490ed7['in']);const _0x40730b=await _0x1dc074['run']({'options':{..._0x4556bb,..._0x490ed7},'args':_0x4f121a?[_0x4f121a]:[],'tdx':_0x5b65b0});gracefulExit(_0x40730b);}),program['command'](a2_0x3068b9(0x1fe))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x33b))[a2_0x3068b9(0x133)](a2_0x3068b9(0x264),a2_0x3068b9(0x29c))['option']('--in\x20<database>',a2_0x3068b9(0x1b1))['option'](a2_0x3068b9(0x270),a2_0x3068b9(0x188))[a2_0x3068b9(0x133)](a2_0x3068b9(0x271),a2_0x3068b9(0x316))['option']('--limit\x20<rows>',a2_0x3068b9(0xe6))['action'](async(_0x47df30,_0xf0613d)=>{const _0x48edbc=a2_0x3068b9,_0x22e33e=new QueryCommand(),_0xd1d165=program['opts'](),_0x25de03=await createTDXInstance(_0xd1d165);_0xf0613d['in']&&(_0xf0613d[_0x48edbc(0x1b8)]=_0xf0613d['in']);const _0x5593bf=await _0x22e33e[_0x48edbc(0x392)]({'options':mergeCommandOptions(_0xd1d165,_0xf0613d),'args':_0x47df30?[_0x47df30]:[],'tdx':_0x25de03});gracefulExit(_0x5593bf);});const segmentCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x388))[a2_0x3068b9(0x34e)]('sg')['description']('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x1815d4,_0x119023)=>{const _0x4cdefe=a2_0x3068b9,_0x329f38=new SegmentsCommand(),_0x194987=program[_0x4cdefe(0x1c7)](),_0x4abb92=await createTDXInstance(_0x194987),_0x22e530=await _0x329f38['run']({'options':{..._0x194987,..._0x119023},'args':_0x1815d4?[_0x1815d4]:[],'tdx':_0x4abb92});gracefulExit(_0x22e530);};segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x15b))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2fe))[a2_0x3068b9(0x133)](a2_0x3068b9(0x21a),a2_0x3068b9(0x33a))[a2_0x3068b9(0x133)]('--max-depth\x20<depth>',a2_0x3068b9(0x30b),'10')['action'](segmentListAction),program['command'](a2_0x3068b9(0x1eb),{'hidden':!![]})[a2_0x3068b9(0x1e7)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x21a),a2_0x3068b9(0x33a))['option'](a2_0x3068b9(0x160),a2_0x3068b9(0x30b),'10')['action'](segmentListAction),segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x87),{'hidden':!![]})[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x17f))['action'](async(_0x9071cc,_0x4653cb)=>{const _0x22913b=a2_0x3068b9,_0x1a9b84=new SegmentUseCommand(),_0x142ce9=program[_0x22913b(0x1c7)](),_0x251570=await createTDXInstance(_0x142ce9),_0x559996=await _0x1a9b84['run']({'options':{..._0x142ce9,..._0x4653cb},'args':[_0x9071cc],'tdx':_0x251570});gracefulExit(_0x559996);});const segmentViewAction=async(_0x4874a6,_0x3cdc07)=>{const _0x5679ff=a2_0x3068b9,_0x1e8ec2=new SegmentViewCommand(),_0x323b6c=program[_0x5679ff(0x1c7)](),_0x4bfc68=await createTDXInstance(_0x323b6c),_0x28f3d5=await _0x1e8ec2[_0x5679ff(0x392)]({'options':{..._0x323b6c,..._0x3cdc07},'args':_0x4874a6?[_0x4874a6]:[],'tdx':_0x4bfc68});gracefulExit(_0x28f3d5);};segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1f7))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xbd))[a2_0x3068b9(0x133)](a2_0x3068b9(0x127),a2_0x3068b9(0xb6))[a2_0x3068b9(0x81)](segmentViewAction),segmentCmd[a2_0x3068b9(0x25c)]('info\x20[segment_name]',{'hidden':!![]})[a2_0x3068b9(0x34e)](a2_0x3068b9(0x320))[a2_0x3068b9(0x133)](a2_0x3068b9(0x127),a2_0x3068b9(0xb6))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x8c))['action'](segmentViewAction),segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xcb))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xb5))[a2_0x3068b9(0x81)](async(_0x52cef0,_0x17b824)=>{const _0x483872=a2_0x3068b9,_0x13426f=new SegmentDescCommand(),_0x398c0c=program[_0x483872(0x1c7)](),_0x19583d=await createTDXInstance(_0x398c0c),_0x24364b=await _0x13426f[_0x483872(0x392)]({'options':{..._0x398c0c,..._0x17b824},'args':_0x52cef0?[_0x52cef0]:[],'tdx':_0x19583d});gracefulExit(_0x24364b);}),segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xf6))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1c4))[a2_0x3068b9(0x81)](async(_0x597391,_0xa6c090)=>{const _0x5d00c1=a2_0x3068b9,_0x26261b=new SegmentShowCommand(),_0x4314cd=program[_0x5d00c1(0x1c7)](),_0xa19eff=await createTDXInstance(_0x4314cd),_0xaa659a=await _0x26261b[_0x5d00c1(0x392)]({'options':{..._0x4314cd,..._0xa6c090},'args':_0x597391?[_0x597391]:[],'tdx':_0xa19eff});gracefulExit(_0xaa659a);}),segmentCmd['command'](a2_0x3068b9(0x230),{'hidden':!![]})[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2a3))['action'](async(_0x331dc1,_0x43cc77)=>{const _0x22d3cb=a2_0x3068b9,_0x43fd68=new SegmentFolderListCommand(),_0x5d712d=program[_0x22d3cb(0x1c7)](),_0x14a354=await createTDXInstance(_0x5d712d),_0x334e7f=await _0x43fd68['run']({'options':{..._0x5d712d,..._0x43cc77},'args':[_0x331dc1],'tdx':_0x14a354});gracefulExit(_0x334e7f);});const folderCmd=segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x27e),{'hidden':!![]})[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1fd));folderCmd['command'](a2_0x3068b9(0x21b))['description'](a2_0x3068b9(0x391))['action'](async(_0x42dde7,_0x5d72c9)=>{const _0x115da9=new SegmentFolderShowCommand(),_0x32d036=program['opts'](),_0x3be1d0=await createTDXInstance(_0x32d036),_0x2a7ede=await _0x115da9['run']({'options':{..._0x32d036,..._0x5d72c9},'args':[_0x42dde7],'tdx':_0x3be1d0});gracefulExit(_0x2a7ede);}),segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x299))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x12f))[a2_0x3068b9(0x133)](a2_0x3068b9(0x333),a2_0x3068b9(0x2d3))[a2_0x3068b9(0x81)](async(_0xee2ba7,_0x2aa30d)=>{const _0x2030f8=a2_0x3068b9,_0x4dab5f=new SegmentSQLCommand(),_0x318e87=program['opts'](),_0x6bb2fe=await createTDXInstance(_0x318e87),_0x17289d=await _0x4dab5f[_0x2030f8(0x392)]({'options':{..._0x318e87,..._0x2aa30d},'args':_0xee2ba7?[_0xee2ba7]:[],'tdx':_0x6bb2fe});gracefulExit(_0x17289d);}),segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x96))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x21d))[a2_0x3068b9(0x81)](async(_0x3545b6,_0x31662d)=>{const _0xda739b=a2_0x3068b9,_0xc575=new SegmentFieldsCommand(),_0x1050ac=program[_0xda739b(0x1c7)](),_0x571afb=await createTDXInstance(_0x1050ac),_0x13b357=await _0xc575['run']({'options':{..._0x1050ac,..._0x31662d},'args':_0x3545b6?[_0x3545b6]:[],'tdx':_0x571afb});gracefulExit(_0x13b357);}),segmentCmd['command']('pull\x20[parent_or_file]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x302))['option'](a2_0x3068b9(0x1af),a2_0x3068b9(0x123))['action'](async(_0x5a6611,_0x4856ef)=>{const _0x47a502=a2_0x3068b9,_0xcdf6b9=new SegmentPullCommand(),_0x36a8da=program[_0x47a502(0x1c7)](),_0x246eec=await createTDXInstance(_0x36a8da),_0x280c3e=await _0xcdf6b9[_0x47a502(0x392)]({'options':{..._0x36a8da,..._0x4856ef},'args':_0x5a6611?[_0x5a6611]:[],'tdx':_0x246eec});gracefulExit(_0x280c3e);}),segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x110))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2e1))[a2_0x3068b9(0x133)]('--dry-run',a2_0x3068b9(0x123))[a2_0x3068b9(0x133)]('--delete',a2_0x3068b9(0x292))[a2_0x3068b9(0x81)](async(_0x2d9da1,_0x1b958d)=>{const _0x217419=a2_0x3068b9,_0xe0ee9a=new SegmentPushCommand(),_0x4d6424=program[_0x217419(0x1c7)](),_0x2eca83=await createTDXInstance(_0x4d6424),_0x52513a=await _0xe0ee9a[_0x217419(0x392)]({'options':{..._0x4d6424,..._0x1b958d},'args':_0x2d9da1?[_0x2d9da1]:[],'tdx':_0x2eca83});gracefulExit(_0x52513a);}),segmentCmd['command'](a2_0x3068b9(0x371))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x14e))[a2_0x3068b9(0x81)](async(_0x101b1b,_0x41fa3a)=>{const _0x35b94e=a2_0x3068b9,_0x2f50e6=new SegmentValidateCommand(),_0x4bdd50=program[_0x35b94e(0x1c7)](),_0x294c51=await createTDXInstance(_0x4bdd50),_0xb70894=await _0x2f50e6[_0x35b94e(0x392)]({'options':{..._0x4bdd50,..._0x41fa3a},'args':_0x101b1b?[_0x101b1b]:[],'tdx':_0x294c51});gracefulExit(_0xb70894);}),segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1cf),{'hidden':!![]})[a2_0x3068b9(0x1e7)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x3068b9(0x133)]('--description\x20<text>','Segment\x20description')[a2_0x3068b9(0x133)]('--rule\x20<json>',a2_0x3068b9(0x2fb))[a2_0x3068b9(0x133)]('--rule-file\x20<file>',a2_0x3068b9(0x2cf))[a2_0x3068b9(0x133)](a2_0x3068b9(0x306),a2_0x3068b9(0x212))[a2_0x3068b9(0x133)](a2_0x3068b9(0x16f),a2_0x3068b9(0x1db))[a2_0x3068b9(0x133)](a2_0x3068b9(0x146),a2_0x3068b9(0x1a1))[a2_0x3068b9(0x133)](a2_0x3068b9(0xc8),a2_0x3068b9(0x1e3))['action'](async(_0x3cc49a,_0x54cae4)=>{const _0x18a750=a2_0x3068b9,_0x7b33c1=new SegmentCreateCommand(),_0x362d17=program['opts'](),_0x1f6818=await createTDXInstance(_0x362d17),_0x2f609e=await _0x7b33c1[_0x18a750(0x392)]({'options':{..._0x362d17,..._0x54cae4},'args':[_0x3cc49a],'tdx':_0x1f6818});gracefulExit(_0x2f609e);}),segmentCmd['command'](a2_0x3068b9(0x35f),{'hidden':!![]})['description']('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x3068b9(0x133)](a2_0x3068b9(0xc7),a2_0x3068b9(0xe8))[a2_0x3068b9(0x133)](a2_0x3068b9(0x233),a2_0x3068b9(0x122))['option'](a2_0x3068b9(0x37c),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x3068b9(0x133)]('--rule-file\x20<file>',a2_0x3068b9(0x348))['option']('--folder\x20<name>',a2_0x3068b9(0x2ad))[a2_0x3068b9(0x133)](a2_0x3068b9(0x16f),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x3068b9(0x81)](async(_0x398564,_0x1d0931)=>{const _0xb747a4=a2_0x3068b9,_0x66c155=new SegmentUpdateCommand(),_0x5d07af=program[_0xb747a4(0x1c7)](),_0x4f4f9c=await createTDXInstance(_0x5d07af),_0x1a9409=await _0x66c155[_0xb747a4(0x392)]({'options':{..._0x5d07af,..._0x1d0931},'args':[_0x398564],'tdx':_0x4f4f9c});gracefulExit(_0x1a9409);});const parentCmd=segmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1fa),{'hidden':!![]})[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x33c)),parentListAction=async(_0x3807d5,_0x22efef)=>{const _0x24a7e7=a2_0x3068b9,_0x74e07d=new ParentSegmentListCommand(),_0x7dab5c=program[_0x24a7e7(0x1c7)](),_0x54b85a=await createTDXInstance(_0x7dab5c),_0x4c337d=await _0x74e07d[_0x24a7e7(0x392)]({'options':{..._0x7dab5c,..._0x22efef},'args':_0x3807d5?[_0x3807d5]:[],'tdx':_0x54b85a});gracefulExit(_0x4c337d);};parentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x3068b9(0x81)](parentListAction),segmentCmd['command'](a2_0x3068b9(0x1fb),{'hidden':!![]})['description'](a2_0x3068b9(0xba))[a2_0x3068b9(0x81)](parentListAction),parentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x19c))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x340))[a2_0x3068b9(0x133)](a2_0x3068b9(0x359),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x3068b9(0x81)](async(_0x4e4436,_0x1b0b15)=>{const _0x306926=a2_0x3068b9,_0x2c9e61=new ParentSegmentPullCommand(),_0xbb4023=program[_0x306926(0x1c7)](),_0x282b7e=await createTDXInstance(_0xbb4023),_0x50942d=await _0x2c9e61[_0x306926(0x392)]({'options':{..._0xbb4023,..._0x1b0b15},'args':_0x4e4436?[_0x4e4436]:[],'tdx':_0x282b7e});gracefulExit(_0x50942d);}),parentCmd['command'](a2_0x3068b9(0x150))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x109))[a2_0x3068b9(0x81)](async(_0x4fb896,_0x522b8d)=>{const _0x199d78=a2_0x3068b9,_0x4163bc=new ParentSegmentPushCommand(),_0x2f2d10=program[_0x199d78(0x1c7)](),_0x2b440a=await createTDXInstance(_0x2f2d10),_0xfe25d8=await _0x4163bc['run']({'options':{..._0x2f2d10,..._0x522b8d},'args':_0x4fb896?[_0x4fb896]:[],'tdx':_0x2b440a});gracefulExit(_0xfe25d8);}),parentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x162))['description'](a2_0x3068b9(0x27c))[a2_0x3068b9(0x133)](a2_0x3068b9(0x303),'Show\x20only\x20master\x20table\x20validation')[a2_0x3068b9(0x133)]('--attribute\x20[name]',a2_0x3068b9(0x39e))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1c3),a2_0x3068b9(0x385))['option']('--enriched',a2_0x3068b9(0x2f9))['option'](a2_0x3068b9(0x21f),a2_0x3068b9(0x2a6),a2_0x3068b9(0x1c8))[a2_0x3068b9(0x81)](async(_0x57a915,_0x3f8e61)=>{const _0xa60baf=a2_0x3068b9,_0xff7ce7=new ParentSegmentValidateCommand(),_0x12cbdc=program[_0xa60baf(0x1c7)](),_0x19c04f=await createTDXInstance(_0x12cbdc),_0x533fc6=await _0xff7ce7[_0xa60baf(0x392)]({'options':{..._0x12cbdc,..._0x3f8e61},'args':_0x57a915?[_0x57a915]:[],'tdx':_0x19c04f});gracefulExit(_0x533fc6);}),parentCmd[a2_0x3068b9(0x25c)]('preview\x20[file]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x241))[a2_0x3068b9(0x133)](a2_0x3068b9(0x303),a2_0x3068b9(0x30f))[a2_0x3068b9(0x133)](a2_0x3068b9(0xf8),a2_0x3068b9(0x2ba))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1c3),a2_0x3068b9(0xe9))['option'](a2_0x3068b9(0x217),a2_0x3068b9(0xa6))[a2_0x3068b9(0x133)](a2_0x3068b9(0x21f),a2_0x3068b9(0x2a6),a2_0x3068b9(0x1c8))[a2_0x3068b9(0x81)](async(_0x196df9,_0x537082)=>{const _0x215087=a2_0x3068b9,_0x52fc09=new ParentSegmentPreviewCommand(),_0x3b436b=program[_0x215087(0x1c7)](),_0x50975c=await createTDXInstance(_0x3b436b),_0x216346=await _0x52fc09['run']({'options':{..._0x3b436b,..._0x537082},'args':_0x196df9?[_0x196df9]:[],'tdx':_0x50975c});gracefulExit(_0x216346);}),parentCmd[a2_0x3068b9(0x25c)]('run\x20[name]')['description'](a2_0x3068b9(0x1d4))[a2_0x3068b9(0x81)](async(_0x203de5,_0x4486d4)=>{const _0x1d8894=new ParentSegmentRunCommand(),_0x21e382=program['opts'](),_0x53b966=await createTDXInstance(_0x21e382),_0x29e3b4=await _0x1d8894['run']({'options':{..._0x21e382,..._0x4486d4},'args':_0x203de5?[_0x203de5]:[],'tdx':_0x53b966});gracefulExit(_0x29e3b4);});const parentSegmentCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x16b))[a2_0x3068b9(0x34e)]('ps')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2db));parentSegmentCmd['command']('list\x20[pattern]')['description'](a2_0x3068b9(0x1dc))[a2_0x3068b9(0x81)](parentListAction),parentSegmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x19c))[a2_0x3068b9(0x1e7)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3068b9(0x133)]('-o,\x20--output\x20<file>',a2_0x3068b9(0x30d))[a2_0x3068b9(0x133)](a2_0x3068b9(0x141),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x3068b9(0x81)](async(_0x48bcb8,_0x55343d)=>{const _0x5bfe3a=a2_0x3068b9,_0x14d809=new ParentSegmentPullCommand(),_0x34e536=program[_0x5bfe3a(0x1c7)](),_0x3a7f41=await createTDXInstance(_0x34e536),_0x23b9df=await _0x14d809[_0x5bfe3a(0x392)]({'options':{..._0x34e536,..._0x55343d},'args':_0x48bcb8?[_0x48bcb8]:[],'tdx':_0x3a7f41});gracefulExit(_0x23b9df);}),parentSegmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x128))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1e6))['action'](async(_0x585023,_0xb73f87)=>{const _0xc14337=a2_0x3068b9,_0x4af137=new ParentSegmentPushCommand(),_0x14e63a=program[_0xc14337(0x1c7)](),_0x1bb57e=await createTDXInstance(_0x14e63a),_0x2d9db9=await _0x4af137[_0xc14337(0x392)]({'options':{..._0x14e63a,..._0xb73f87},'args':_0x585023?[_0x585023]:[],'tdx':_0x1bb57e});gracefulExit(_0x2d9db9);}),parentSegmentCmd[a2_0x3068b9(0x25c)]('validate\x20[name]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x27c))[a2_0x3068b9(0x133)](a2_0x3068b9(0x303),a2_0x3068b9(0xa8))[a2_0x3068b9(0x133)](a2_0x3068b9(0xf8),a2_0x3068b9(0x39e))['option']('--behavior\x20[name]',a2_0x3068b9(0x385))[a2_0x3068b9(0x133)](a2_0x3068b9(0x217),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x3068b9(0x133)]('--interval\x20<range>',a2_0x3068b9(0x2a6),a2_0x3068b9(0x1c8))['action'](async(_0x5165e4,_0x271f30)=>{const _0x2f1438=a2_0x3068b9,_0x4791f7=new ParentSegmentValidateCommand(),_0x45a13c=program[_0x2f1438(0x1c7)](),_0x442aa1=await createTDXInstance(_0x45a13c),_0x1a36c3=await _0x4791f7[_0x2f1438(0x392)]({'options':{..._0x45a13c,..._0x271f30},'args':_0x5165e4?[_0x5165e4]:[],'tdx':_0x442aa1});gracefulExit(_0x1a36c3);}),parentSegmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x7d))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option']('--master',a2_0x3068b9(0x30f))[a2_0x3068b9(0x133)](a2_0x3068b9(0xf8),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x3068b9(0x133)](a2_0x3068b9(0x1c3),a2_0x3068b9(0xe9))[a2_0x3068b9(0x133)](a2_0x3068b9(0x217),a2_0x3068b9(0xa6))[a2_0x3068b9(0x133)](a2_0x3068b9(0x21f),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3068b9(0x1c8))[a2_0x3068b9(0x81)](async(_0x2fec63,_0x3db1f7)=>{const _0x554496=a2_0x3068b9,_0x478056=new ParentSegmentPreviewCommand(),_0x47eb49=program[_0x554496(0x1c7)](),_0x5f478d=await createTDXInstance(_0x47eb49),_0x4a00ae=await _0x478056[_0x554496(0x392)]({'options':{..._0x47eb49,..._0x3db1f7},'args':_0x2fec63?[_0x2fec63]:[],'tdx':_0x5f478d});gracefulExit(_0x4a00ae);}),parentSegmentCmd[a2_0x3068b9(0x25c)]('run\x20[name]')[a2_0x3068b9(0x1e7)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['action'](async(_0x291b19,_0x45e4a3)=>{const _0x48d04b=a2_0x3068b9,_0x1b9d92=new ParentSegmentRunCommand(),_0x43806e=program[_0x48d04b(0x1c7)](),_0x152fa9=await createTDXInstance(_0x43806e),_0x1b9c86=await _0x1b9d92[_0x48d04b(0x392)]({'options':{..._0x43806e,..._0x45e4a3},'args':_0x291b19?[_0x291b19]:[],'tdx':_0x152fa9});gracefulExit(_0x1b9c86);}),parentSegmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x98))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x183))[a2_0x3068b9(0x133)](a2_0x3068b9(0x157),a2_0x3068b9(0x1b3))[a2_0x3068b9(0x133)](a2_0x3068b9(0xde),a2_0x3068b9(0x1a0))['action'](async(_0x8faf57,_0x45dbd1)=>{const _0x33c932=a2_0x3068b9,_0x1ccb79=new ParentSegmentFieldsCommand(),_0x7ab04d=program[_0x33c932(0x1c7)](),_0x3289d2=await createTDXInstance(_0x7ab04d),_0x48523c=await _0x1ccb79[_0x33c932(0x392)]({'options':{..._0x7ab04d,..._0x45dbd1},'args':_0x8faf57?[_0x8faf57]:[],'tdx':_0x3289d2});gracefulExit(_0x48523c);}),parentSegmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x83))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x34b))[a2_0x3068b9(0x133)]('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x3068b9(0x133)](a2_0x3068b9(0x157),'Output\x20as\x20JSON')[a2_0x3068b9(0x133)](a2_0x3068b9(0xde),'Output\x20as\x20JSON\x20Lines')['action'](async(_0xdab93a,_0x2e8ee2)=>{const _0x3a38ce=a2_0x3068b9,_0x296fa8=new ParentSegmentViewCommand(),_0x165512=program[_0x3a38ce(0x1c7)](),_0xe6cec0=await createTDXInstance(_0x165512),_0x5ce45b=await _0x296fa8[_0x3a38ce(0x392)]({'options':{..._0x165512,..._0x2e8ee2},'args':_0xdab93a?[_0xdab93a]:[],'tdx':_0xe6cec0});gracefulExit(_0x5ce45b);}),parentSegmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x27a))['description'](a2_0x3068b9(0xf9))[a2_0x3068b9(0x133)]('-o,\x20--output\x20<file>',a2_0x3068b9(0x30d))[a2_0x3068b9(0x133)](a2_0x3068b9(0x157),a2_0x3068b9(0x1b3))[a2_0x3068b9(0x133)](a2_0x3068b9(0xde),'Output\x20as\x20JSON\x20Lines')[a2_0x3068b9(0x81)](async(_0x4a8325,_0x3c33e2)=>{const _0x5cd516=a2_0x3068b9,_0x317b4d=new ParentSegmentDescCommand(),_0x28d1e4=program[_0x5cd516(0x1c7)](),_0x4b527d=await createTDXInstance(_0x28d1e4),_0xf69cc0=await _0x317b4d[_0x5cd516(0x392)]({'options':{..._0x28d1e4,..._0x3c33e2},'args':_0x4a8325?[_0x4a8325]:[],'tdx':_0x4b527d});gracefulExit(_0xf69cc0);}),parentSegmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1b4))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x136))['option'](a2_0x3068b9(0x157),a2_0x3068b9(0x1b3))[a2_0x3068b9(0x133)](a2_0x3068b9(0xde),a2_0x3068b9(0x1a0))[a2_0x3068b9(0x81)](async(_0x1ef3b4,_0x3b6104)=>{const _0x3dffd5=a2_0x3068b9,_0x16f37c=new ParentSegmentSQLCommand(),_0x569070=program[_0x3dffd5(0x1c7)](),_0x6cacbc=await createTDXInstance(_0x569070),_0x5b76e0=await _0x16f37c['run']({'options':{..._0x569070,..._0x3b6104},'args':_0x1ef3b4?[_0x1ef3b4]:[],'tdx':_0x6cacbc});gracefulExit(_0x5b76e0);}),parentSegmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x24a))[a2_0x3068b9(0x1e7)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x19f),a2_0x3068b9(0x2a9))[a2_0x3068b9(0x133)]('--json',a2_0x3068b9(0x1b3))[a2_0x3068b9(0x133)](a2_0x3068b9(0xde),a2_0x3068b9(0x1a0))[a2_0x3068b9(0x81)](async(_0x2a5a19,_0x1e997c)=>{const _0x406c69=a2_0x3068b9,_0x190bda=new ParentSegmentShowCommand(),_0x28774c=program[_0x406c69(0x1c7)](),_0x56d52a=await createTDXInstance(_0x28774c),_0x9f6de9=await _0x190bda['run']({'options':{..._0x28774c,..._0x1e997c},'args':_0x2a5a19?[_0x2a5a19]:[],'tdx':_0x56d52a});gracefulExit(_0x9f6de9);}),parentSegmentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xd8))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x11a))[a2_0x3068b9(0x81)](async(_0x973d7,_0x402954)=>{const _0x890390=a2_0x3068b9,_0x45ed96=new UseCommand(),_0x877269=program[_0x890390(0x1c7)](),_0x1fa2fa=_0x973d7?[_0x890390(0x347),_0x973d7]:[],_0x1b0565=await _0x45ed96[_0x890390(0x392)]({'options':{..._0x877269,..._0x402954},'args':_0x1fa2fa,'tdx':null});gracefulExit(_0x1b0565);});const psRtCmd=parentSegmentCmd[a2_0x3068b9(0x25c)]('rt')['description'](a2_0x3068b9(0x38e));psRtCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x3068b9(0x81)](async(_0x110ff5,_0x452f15)=>{const _0xd6fcb0=a2_0x3068b9,_0x4c0112=new PSRtListCommand(),_0x3e94e2=program['opts'](),_0x2cd87f=await createTDXInstance(_0x3e94e2),_0xeb6695=await _0x4c0112[_0xd6fcb0(0x392)]({'options':{..._0x3e94e2,..._0x452f15},'args':_0x110ff5?[_0x110ff5]:[],'tdx':_0x2cd87f});gracefulExit(_0xeb6695);}),psRtCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x126))['description']('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x3068b9(0x81)](async(_0x369d63,_0x34031a)=>{const _0x4b0aab=a2_0x3068b9,_0x48d51e=new PSRtValidateCommand(),_0x13619d=program[_0x4b0aab(0x1c7)](),_0x21200b=await createTDXInstance(_0x13619d),_0x494cdc=await _0x48d51e[_0x4b0aab(0x392)]({'options':{..._0x13619d,..._0x34031a},'args':_0x369d63?[_0x369d63]:[],'tdx':_0x21200b});gracefulExit(_0x494cdc);}),psRtCmd[a2_0x3068b9(0x25c)]('configuration_versions\x20[name]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x19e))[a2_0x3068b9(0x81)](async(_0x141c39,_0x236ee4)=>{const _0x21a492=a2_0x3068b9,_0x344cba=new PSRtConfigVersionCommand(),_0x52d119=program[_0x21a492(0x1c7)](),_0x4c29d4=await createTDXInstance(_0x52d119),_0x3c7c81=await _0x344cba[_0x21a492(0x392)]({'options':{..._0x52d119,..._0x236ee4},'args':_0x141c39?[_0x141c39]:[],'tdx':_0x4c29d4});gracefulExit(_0x3c7c81);});const psRtJnCmd=psRtCmd[a2_0x3068b9(0x25c)]('jn')[a2_0x3068b9(0x1e7)]('RT\x20Journey\x20management');psRtJnCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x314))['description'](a2_0x3068b9(0x18d))[a2_0x3068b9(0x81)](async(_0xfcb023,_0x25a59a)=>{const _0x87c687=a2_0x3068b9,_0x5025fe=new PSRtJnListCommand(),_0x564cf0=program[_0x87c687(0x1c7)](),_0x29c00d=await createTDXInstance(_0x564cf0),_0x26e703=await _0x5025fe[_0x87c687(0x392)]({'options':{..._0x564cf0,..._0x25a59a},'args':_0xfcb023?[_0xfcb023]:[],'tdx':_0x29c00d});gracefulExit(_0x26e703);}),psRtJnCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x11c))['description'](a2_0x3068b9(0xa0))[a2_0x3068b9(0x81)](async(_0x231b33,_0x2913ba)=>{const _0x56f4ff=a2_0x3068b9,_0x5520ad=new PSRtJnPauseCommand(),_0xabddb3=program[_0x56f4ff(0x1c7)](),_0x5a2d00=await createTDXInstance(_0xabddb3),_0x2473e2=await _0x5520ad[_0x56f4ff(0x392)]({'options':{..._0xabddb3,..._0x2913ba},'args':[_0x231b33],'tdx':_0x5a2d00});gracefulExit(_0x2473e2);}),psRtJnCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x172))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x145))[a2_0x3068b9(0x81)](async(_0x410a98,_0x4a33fb)=>{const _0x40813c=a2_0x3068b9,_0x45fd79=new PSRtJnResumeCommand(),_0x33d9c9=program['opts'](),_0x8c3567=await createTDXInstance(_0x33d9c9),_0x2e655c=await _0x45fd79[_0x40813c(0x392)]({'options':{..._0x33d9c9,..._0x4a33fb},'args':[_0x410a98],'tdx':_0x8c3567});gracefulExit(_0x2e655c);});const parentRtCmd=parentCmd[a2_0x3068b9(0x25c)]('rt',{'hidden':!![]})[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x38e));parentRtCmd['command'](a2_0x3068b9(0x383))['description'](a2_0x3068b9(0x173))[a2_0x3068b9(0x81)](async(_0x567f2e,_0x2a4424)=>{const _0x4d0da7=a2_0x3068b9,_0x5b4242=new PSRtListCommand(),_0x6106ce=program[_0x4d0da7(0x1c7)](),_0x5a6127=await createTDXInstance(_0x6106ce),_0x37c607=await _0x5b4242['run']({'options':{..._0x6106ce,..._0x2a4424},'args':_0x567f2e?[_0x567f2e]:[],'tdx':_0x5a6127});gracefulExit(_0x37c607);}),parentRtCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x126))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x116))['action'](async(_0x5932eb,_0x514d9c)=>{const _0x320031=a2_0x3068b9,_0x3e50f6=new PSRtValidateCommand(),_0x4918c7=program[_0x320031(0x1c7)](),_0x1cfeca=await createTDXInstance(_0x4918c7),_0x427205=await _0x3e50f6[_0x320031(0x392)]({'options':{..._0x4918c7,..._0x514d9c},'args':_0x5932eb?[_0x5932eb]:[],'tdx':_0x1cfeca});gracefulExit(_0x427205);});const psPzCmd=parentSegmentCmd[a2_0x3068b9(0x25c)]('pz')['description']('Personalization\x20management');psPzCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x314))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x177))[a2_0x3068b9(0x81)](async(_0x4a680f,_0x964b2f)=>{const _0x1179b1=a2_0x3068b9,_0x4bcbb6=new PSPzListCommand(),_0x1b4ce2=program[_0x1179b1(0x1c7)](),_0x5e3d73=await createTDXInstance(_0x1b4ce2),_0x49bf06=await _0x4bcbb6[_0x1179b1(0x392)]({'options':{..._0x1b4ce2,..._0x964b2f},'args':_0x4a680f?[_0x4a680f]:[],'tdx':_0x5e3d73});gracefulExit(_0x49bf06);}),psPzCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x221))[a2_0x3068b9(0x1e7)]('Show\x20a\x20specific\x20realtime\x20personalization')[a2_0x3068b9(0x81)](async(_0x4f3666,_0xdd7e22)=>{const _0x237f83=a2_0x3068b9,_0x45ff3e=new PSPzShowCommand(),_0x480e9a=program[_0x237f83(0x1c7)](),_0x354df6=await createTDXInstance(_0x480e9a),_0x30b4d6=await _0x45ff3e[_0x237f83(0x392)]({'options':{..._0x480e9a,..._0xdd7e22},'args':[_0x4f3666],'tdx':_0x354df6});gracefulExit(_0x30b4d6);}),psPzCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x39a))['description'](a2_0x3068b9(0x305))[a2_0x3068b9(0x81)](async(_0x2fbe1b,_0x29e47c)=>{const _0x4c235d=a2_0x3068b9,_0x1983f9=new PSPzDeleteCommand(),_0xa67a74=program[_0x4c235d(0x1c7)](),_0x59b23c=await createTDXInstance(_0xa67a74),_0x9ab067=await _0x1983f9[_0x4c235d(0x392)]({'options':{..._0xa67a74,..._0x29e47c},'args':[_0x2fbe1b],'tdx':_0x59b23c});gracefulExit(_0x9ab067);}),psPzCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1c2))[a2_0x3068b9(0x1e7)]('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x370),a2_0x3068b9(0x2de))[a2_0x3068b9(0x133)](a2_0x3068b9(0x233),a2_0x3068b9(0xe1))['option'](a2_0x3068b9(0x24d),a2_0x3068b9(0x9f))[a2_0x3068b9(0x133)]('--folder-id\x20<id>',a2_0x3068b9(0x35d))[a2_0x3068b9(0x133)](a2_0x3068b9(0x17b),a2_0x3068b9(0x22a))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2d0),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')['action'](async _0x179127=>{const _0x58bc67=a2_0x3068b9,_0x1fa7dd=new PSPzCreateCommand(),_0x5439c3=program[_0x58bc67(0x1c7)](),_0x5c8024=await createTDXInstance(_0x5439c3),_0x12359a=await _0x1fa7dd['run']({'options':{..._0x5439c3,..._0x179127},'args':[],'tdx':_0x5c8024});gracefulExit(_0x12359a);}),psPzCmd['command'](a2_0x3068b9(0x161))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x15c))[a2_0x3068b9(0x133)](a2_0x3068b9(0x370),'Personalization\x20name')[a2_0x3068b9(0x133)]('--description\x20<text>',a2_0x3068b9(0xe1))[a2_0x3068b9(0x133)](a2_0x3068b9(0x17b),a2_0x3068b9(0x22a))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2d0),a2_0x3068b9(0x2a1))[a2_0x3068b9(0x81)](async(_0x2fd6ed,_0x1d3773)=>{const _0x629bb4=new PSPzPatchCommand(),_0x29f01b=program['opts'](),_0x16352f=await createTDXInstance(_0x29f01b),_0x3e19dd=await _0x629bb4['run']({'options':{..._0x29f01b,..._0x1d3773},'args':[_0x2fd6ed],'tdx':_0x16352f});gracefulExit(_0x3e19dd);});const psPzServiceCmd=psPzCmd['command'](a2_0x3068b9(0xfe))['description'](a2_0x3068b9(0x2c7));psPzServiceCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x314))[a2_0x3068b9(0x1e7)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3068b9(0x81)](async(_0x598417,_0x18d1f9)=>{const _0x58c34c=a2_0x3068b9,_0x59ee43=new PSPzServiceListCommand(),_0x595c6b=program[_0x58c34c(0x1c7)](),_0x1b3afc=await createTDXInstance(_0x595c6b),_0x4ea7c0=await _0x59ee43[_0x58c34c(0x392)]({'options':{..._0x595c6b,..._0x18d1f9},'args':_0x598417?[_0x598417]:[],'tdx':_0x1b3afc});gracefulExit(_0x4ea7c0);}),psPzServiceCmd[a2_0x3068b9(0x25c)]('create\x20<name>\x20[parent_segment]')[a2_0x3068b9(0x1e7)]('Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x3068b9(0x133)]('--description\x20<text>',a2_0x3068b9(0xa2))[a2_0x3068b9(0x133)]('--public',a2_0x3068b9(0x197))[a2_0x3068b9(0x81)](async(_0x24ab9c,_0x489744,_0x44db23)=>{const _0x583f10=a2_0x3068b9,_0x2b551f=new PSPzServiceCreateCommand(),_0x32d652=program[_0x583f10(0x1c7)](),_0x41e8ef=await createTDXInstance(_0x32d652),_0x52707e=await _0x2b551f[_0x583f10(0x392)]({'options':{..._0x32d652,..._0x44db23},'args':_0x489744?[_0x24ab9c,_0x489744]:[_0x24ab9c],'tdx':_0x41e8ef});gracefulExit(_0x52707e);}),psPzServiceCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1bf))['description'](a2_0x3068b9(0x34c))[a2_0x3068b9(0x81)](async(_0x1a009f,_0x4d2065,_0x327e2e)=>{const _0x4c1118=a2_0x3068b9,_0x3ce8de=new PSPzServiceShowCommand(),_0x1f890f=program[_0x4c1118(0x1c7)](),_0x2d42dd=await createTDXInstance(_0x1f890f),_0x2a68d1=await _0x3ce8de[_0x4c1118(0x392)]({'options':{..._0x1f890f,..._0x327e2e},'args':_0x4d2065?[_0x1a009f,_0x4d2065]:[_0x1a009f],'tdx':_0x2d42dd});gracefulExit(_0x2a68d1);}),psPzServiceCmd[a2_0x3068b9(0x25c)]('delete\x20<service_id>\x20[parent_segment]')[a2_0x3068b9(0x1e7)]('Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x3068b9(0x81)](async(_0x3b4499,_0xc2c2d4,_0x248fc7)=>{const _0x32e11b=a2_0x3068b9,_0x52638b=new PSPzServiceDeleteCommand(),_0x3a7ae9=program[_0x32e11b(0x1c7)](),_0x21bcbd=await createTDXInstance(_0x3a7ae9),_0x47b66f=await _0x52638b[_0x32e11b(0x392)]({'options':{..._0x3a7ae9,..._0x248fc7},'args':_0xc2c2d4?[_0x3b4499,_0xc2c2d4]:[_0x3b4499],'tdx':_0x21bcbd});gracefulExit(_0x47b66f);}),psPzServiceCmd[a2_0x3068b9(0x25c)]('update\x20<service_id>\x20[parent_segment]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x184))[a2_0x3068b9(0x19d)](a2_0x3068b9(0x82),a2_0x3068b9(0x8f))[a2_0x3068b9(0x133)](a2_0x3068b9(0x233),a2_0x3068b9(0x143))[a2_0x3068b9(0x81)](async(_0x566e31,_0x2ea42c,_0x2249d4)=>{const _0x48c33a=a2_0x3068b9,_0x469cac=new PSPzServiceUpdateCommand(),_0x57ad19=program[_0x48c33a(0x1c7)](),_0x32c7ab=await createTDXInstance(_0x57ad19),_0x53fac9=await _0x469cac['run']({'options':{..._0x57ad19,..._0x2249d4},'args':_0x2ea42c?[_0x566e31,_0x2ea42c]:[_0x566e31],'tdx':_0x32c7ab});gracefulExit(_0x53fac9);}),psPzServiceCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x237))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2c2))['action'](async(_0x233fba,_0x5c9939)=>{const _0x2868ca=a2_0x3068b9,_0x26ce3a=new PSPzInitCommand(),_0x29af25=program[_0x2868ca(0x1c7)](),_0x20b98e=await createTDXInstance(_0x29af25),_0x172a43=await _0x26ce3a[_0x2868ca(0x392)]({'options':{..._0x29af25,..._0x5c9939},'args':_0x233fba?[_0x233fba]:[],'tdx':_0x20b98e});gracefulExit(_0x172a43);});const psPzServiceTokenCmd=psPzServiceCmd['command'](a2_0x3068b9(0x1c5))['description'](a2_0x3068b9(0x1ed));psPzServiceTokenCmd['command']('create\x20<name>\x20<service_id>\x20[parent_segment]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1ee))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1b9),a2_0x3068b9(0x2c8))['option'](a2_0x3068b9(0x233),a2_0x3068b9(0x256))[a2_0x3068b9(0x81)](async(_0x2b5027,_0x42f1c6,_0x1354d2,_0x30dfbc)=>{const _0x178c6f=a2_0x3068b9,_0x19c7f1=new PSPzServiceTokenCreateCommand(),_0xacf211=program[_0x178c6f(0x1c7)](),_0x43c8a3=await createTDXInstance(_0xacf211),_0x262bad=await _0x19c7f1[_0x178c6f(0x392)]({'options':{..._0xacf211,..._0x30dfbc},'args':_0x1354d2?[_0x2b5027,_0x42f1c6,_0x1354d2]:[_0x2b5027,_0x42f1c6],'tdx':_0x43c8a3});gracefulExit(_0x262bad);}),psPzServiceTokenCmd[a2_0x3068b9(0x25c)]('delete\x20<token_id>\x20[parent_segment]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1e9))[a2_0x3068b9(0x81)](async(_0x5d28b6,_0x217b52,_0x154865)=>{const _0x47c9b9=a2_0x3068b9,_0x4a786a=new PSPzServiceTokenDeleteCommand(),_0x56ede6=program['opts'](),_0x28070e=await createTDXInstance(_0x56ede6),_0x1ff6c=await _0x4a786a[_0x47c9b9(0x392)]({'options':{..._0x56ede6,..._0x154865},'args':_0x217b52?[_0x5d28b6,_0x217b52]:[_0x5d28b6],'tdx':_0x28070e});gracefulExit(_0x1ff6c);}),parentCmd[a2_0x3068b9(0x25c)]('create\x20<name>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x114))[a2_0x3068b9(0x19d)]('--database\x20<db>','Master\x20database\x20name')[a2_0x3068b9(0x19d)](a2_0x3068b9(0xd6),a2_0x3068b9(0x32a))['option'](a2_0x3068b9(0x233),a2_0x3068b9(0x31a))[a2_0x3068b9(0x133)](a2_0x3068b9(0x206),a2_0x3068b9(0x2e8))[a2_0x3068b9(0x133)](a2_0x3068b9(0x288),a2_0x3068b9(0x38b))[a2_0x3068b9(0x133)](a2_0x3068b9(0x36a),a2_0x3068b9(0x120))[a2_0x3068b9(0x133)](a2_0x3068b9(0x213),a2_0x3068b9(0x243))[a2_0x3068b9(0x133)](a2_0x3068b9(0x331),a2_0x3068b9(0x286))['option'](a2_0x3068b9(0x2f5),a2_0x3068b9(0x1c9))[a2_0x3068b9(0x133)](a2_0x3068b9(0xc3),a2_0x3068b9(0x323))['option']('--customer-group\x20<json>',a2_0x3068b9(0x353))[a2_0x3068b9(0x133)](a2_0x3068b9(0x37f),a2_0x3068b9(0x29a))[a2_0x3068b9(0x81)](async(_0x418916,_0x1881d6)=>{const _0x6fa4dd=a2_0x3068b9,_0x4dbba9=new ParentSegmentCreateCommand(),_0x337ae0=program[_0x6fa4dd(0x1c7)](),_0x1f3d62=await createTDXInstance(_0x337ae0),_0x177067=await _0x4dbba9[_0x6fa4dd(0x392)]({'options':{..._0x337ae0,..._0x1881d6},'args':[_0x418916],'tdx':_0x1f3d62});gracefulExit(_0x177067);}),parentCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2eb))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2be))[a2_0x3068b9(0x133)](a2_0x3068b9(0x233),a2_0x3068b9(0x122))['option']('--schedule-type\x20<type>',a2_0x3068b9(0x15a))[a2_0x3068b9(0x133)]('--schedule-option\x20<value>','Updated\x20schedule\x20option')[a2_0x3068b9(0x133)](a2_0x3068b9(0x36a),a2_0x3068b9(0x2e7))[a2_0x3068b9(0x133)]('--add-attributes\x20<json>','Add\x20attributes\x20as\x20JSON\x20string')[a2_0x3068b9(0x133)](a2_0x3068b9(0x1ef),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x3068b9(0x133)](a2_0x3068b9(0x214),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x3068b9(0x133)](a2_0x3068b9(0x1ae),a2_0x3068b9(0xc4))[a2_0x3068b9(0x81)](async(_0x486c12,_0x19281a)=>{const _0x2d08f7=a2_0x3068b9,_0x5f418a=new ParentSegmentUpdateCommand(),_0xc8dfda=program[_0x2d08f7(0x1c7)](),_0x20727=await createTDXInstance(_0xc8dfda),_0x29259b=await _0x5f418a['run']({'options':{..._0xc8dfda,..._0x19281a},'args':[_0x486c12],'tdx':_0x20727});gracefulExit(_0x29259b);}),folderCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x329))[a2_0x3068b9(0x1e7)]('Create\x20segment\x20folder')[a2_0x3068b9(0x133)](a2_0x3068b9(0x233),a2_0x3068b9(0x244))[a2_0x3068b9(0x133)](a2_0x3068b9(0x235),a2_0x3068b9(0x298))['action'](async(_0x50a778,_0x2f7f52,_0x26ed0e)=>{const _0x35ba12=a2_0x3068b9,_0x566312=new SegmentFolderCreateCommand(),_0x2c6241=program[_0x35ba12(0x1c7)](),_0x3f6c20=await createTDXInstance(_0x2c6241),_0x50f985=await _0x566312['run']({'options':{..._0x2c6241,..._0x26ed0e},'args':[_0x50a778,_0x2f7f52],'tdx':_0x3f6c20});gracefulExit(_0x50f985);}),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2f4))['description'](a2_0x3068b9(0xb1))[a2_0x3068b9(0x81)](async(_0x4c0933,_0xc06e92)=>{const _0x930e33=a2_0x3068b9,_0x5c317c=new ActivationsCommand(),_0x24de7b=program[_0x930e33(0x1c7)](),_0x4cf864=await createTDXInstance(_0x24de7b),_0x3f76da=await _0x5c317c[_0x930e33(0x392)]({'options':{..._0x24de7b,..._0xc06e92},'args':[_0x4c0933],'tdx':_0x4cf864});gracefulExit(_0x3f76da);});const workflowCmd=program['command'](a2_0x3068b9(0x257))[a2_0x3068b9(0x34e)]('wf')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x396)),wfProjectCmd=workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xae))[a2_0x3068b9(0x1e7)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x44b6fa,_0x4f6b7b)=>{const _0x149c34=new WorkflowProjectsCommand(),_0x553680=program['opts'](),_0x16439a=await createTDXInstance(_0x553680),_0x44cc45=await _0x149c34['run']({'options':{..._0x553680,..._0x4f6b7b},'args':_0x44b6fa?[_0x44b6fa]:[],'tdx':_0x16439a});gracefulExit(_0x44cc45);};wfProjectCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2b8))[a2_0x3068b9(0x81)](wfProjectListAction),workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xbf))[a2_0x3068b9(0x1e7)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x3068b9(0x81)](wfProjectListAction);const wfWorkflowListAction=async(_0x20e6c1,_0x485b89)=>{const _0x4de820=a2_0x3068b9,_0x125102=new WorkflowWorkflowsCommand(),_0x378802=program[_0x4de820(0x1c7)](),_0x33daeb=await createTDXInstance(_0x378802),_0x1890de=await _0x125102[_0x4de820(0x392)]({'options':{..._0x378802,..._0x485b89},'args':_0x20e6c1?[_0x20e6c1]:[],'tdx':_0x33daeb});gracefulExit(_0x1890de);};workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x132))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x103))[a2_0x3068b9(0x81)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x201))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1fc)),wfSessionListAction=async(_0x2cb806,_0x4c5120)=>{const _0x4c05fd=a2_0x3068b9,_0x5cc163=new WorkflowSessionsCommand(),_0x1c7540=program[_0x4c05fd(0x1c7)](),_0x1f01ca=await createTDXInstance(_0x1c7540),_0x21ebf2=await _0x5cc163[_0x4c05fd(0x392)]({'options':{..._0x1c7540,..._0x4c5120},'args':_0x2cb806?[_0x2cb806]:[],'tdx':_0x1f01ca});gracefulExit(_0x21ebf2);};wfSessionCmd[a2_0x3068b9(0x25c)]('list\x20[project]')['description'](a2_0x3068b9(0x2ac))[a2_0x3068b9(0x133)](a2_0x3068b9(0x189),a2_0x3068b9(0xcd))[a2_0x3068b9(0x133)](a2_0x3068b9(0x304),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x1b0),a2_0x3068b9(0x9a))['action'](wfSessionListAction),workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x274))['description'](a2_0x3068b9(0x2c5))[a2_0x3068b9(0x133)](a2_0x3068b9(0x189),a2_0x3068b9(0xcd))['option']('--from\x20<timestamp>',a2_0x3068b9(0x22d))['option']('--to\x20<timestamp>',a2_0x3068b9(0x9a))[a2_0x3068b9(0x81)](wfSessionListAction);const wfAttemptListAction=async(_0x4c1ef2,_0x165cad)=>{const _0x5ebed0=a2_0x3068b9,_0x7dda95=new WorkflowAttemptsCommand(),_0x31b982=program[_0x5ebed0(0x1c7)](),_0x1c9156=await createTDXInstance(_0x31b982),_0x1bf9d8=await _0x7dda95[_0x5ebed0(0x392)]({'options':{..._0x31b982,..._0x165cad},'args':_0x4c1ef2?[_0x4c1ef2]:[],'tdx':_0x1c9156});gracefulExit(_0x1bf9d8);},attemptCmd=workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x175))['description'](a2_0x3068b9(0x2ed))[a2_0x3068b9(0x397)](a2_0x3068b9(0x138),a2_0x3068b9(0x380))[a2_0x3068b9(0x397)](a2_0x3068b9(0x80),a2_0x3068b9(0x32c))['argument'](a2_0x3068b9(0x223),a2_0x3068b9(0x32b))[a2_0x3068b9(0x133)]('--include-subtasks','Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x3068b9(0x133)](a2_0x3068b9(0x34a),a2_0x3068b9(0x263))['option'](a2_0x3068b9(0x29e),a2_0x3068b9(0x1e2))[a2_0x3068b9(0x133)](a2_0x3068b9(0x381),a2_0x3068b9(0x382))[a2_0x3068b9(0x133)](a2_0x3068b9(0x7b),'Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x3068b9(0x133)]('--include-retried','Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x3068b9(0x81)](async(_0x3ca03d,_0x15e376,_0xf1b369,_0x3feede)=>{const _0xdec754=a2_0x3068b9;if(_0x3ca03d===_0xdec754(0x10a)){await wfAttemptListAction(_0x15e376,_0x3feede);return;}if(!_0x3ca03d){attemptCmd[_0xdec754(0x2f6)]();return;}const _0x5b3646=program[_0xdec754(0x1c7)](),_0x458a3b=await createTDXInstance(_0x5b3646);let _0x27148c=0x0;if(!_0x15e376){const _0x132d1c=new WorkflowAttemptCommand();_0x27148c=await _0x132d1c[_0xdec754(0x392)]({'options':{..._0x5b3646,..._0x3feede},'args':[_0x3ca03d],'tdx':_0x458a3b});}else{if(_0x15e376==='logs'){const _0x285e4c=new WorkflowLogsCommand();_0x27148c=await _0x285e4c[_0xdec754(0x392)]({'options':{..._0x5b3646,..._0x3feede},'args':_0xf1b369?[_0x3ca03d,_0xf1b369]:[_0x3ca03d],'tdx':_0x458a3b});}else{if(_0x15e376===_0xdec754(0x1ce)){const _0x25a9d0=new WorkflowTasksCommand();_0x27148c=await _0x25a9d0['run']({'options':{..._0x5b3646,..._0x3feede},'args':[_0x3ca03d],'tdx':_0x458a3b});}else{if(_0x15e376==='kill'){const _0x471941=new WorkflowKillCommand();_0x27148c=await _0x471941['run']({'options':{..._0x5b3646,..._0x3feede},'args':[_0x3ca03d],'tdx':_0x458a3b});}else{if(_0x15e376===_0xdec754(0x2fa)){const _0x177638=new WorkflowRetryCommand();_0x27148c=await _0x177638[_0xdec754(0x392)]({'options':{..._0x5b3646,..._0x3feede},'args':[_0xdec754(0x1f1)+_0x3ca03d],'tdx':_0x458a3b});}else console[_0xdec754(0x79)]('Unknown\x20action:\x20'+_0x15e376),console[_0xdec754(0x79)](_0xdec754(0x1e1)),_0x27148c=0x1;}}}}gracefulExit(_0x27148c);});attemptCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1ff))[a2_0x3068b9(0x1e7)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x3068b9(0x133)]('--include-retried',a2_0x3068b9(0x282))[a2_0x3068b9(0x81)](wfAttemptListAction),workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x102))[a2_0x3068b9(0x1e7)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x202),a2_0x3068b9(0x282))[a2_0x3068b9(0x81)](wfAttemptListAction),workflowCmd[a2_0x3068b9(0x25c)]('timeline\x20[project.workflow]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x105))[a2_0x3068b9(0x133)](a2_0x3068b9(0xb7),a2_0x3068b9(0x290))[a2_0x3068b9(0x133)](a2_0x3068b9(0x191),a2_0x3068b9(0x30e))['option'](a2_0x3068b9(0x297),a2_0x3068b9(0x18c))[a2_0x3068b9(0x81)](async(_0x2a165e,_0x165822)=>{const _0x738691=a2_0x3068b9,_0x1f58f5=new WorkflowTimelineCommand(),_0x1c491d=program[_0x738691(0x1c7)](),_0x4d229d=await createTDXInstance(_0x1c491d),_0x43d6c4=await _0x1f58f5[_0x738691(0x392)]({'options':{..._0x1c491d,..._0x165822},'args':_0x2a165e?[_0x2a165e]:[],'tdx':_0x4d229d});gracefulExit(_0x43d6c4);}),workflowCmd[a2_0x3068b9(0x25c)]('retry\x20<session-id>')['description']('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x107),a2_0x3068b9(0x2d7))[a2_0x3068b9(0x133)]('--params\x20<json>',a2_0x3068b9(0x26f))['action'](async(_0x428374,_0x38b7e5)=>{const _0x32e9ed=a2_0x3068b9,_0x4659f8=new WorkflowRetryCommand(),_0x53f701=program[_0x32e9ed(0x1c7)](),_0x39233c=await createTDXInstance(_0x53f701),_0x20975a=await _0x4659f8[_0x32e9ed(0x392)]({'options':{..._0x53f701,..._0x38b7e5},'args':[_0x428374],'tdx':_0x39233c});gracefulExit(_0x20975a);}),workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x229))[a2_0x3068b9(0x1e7)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x2d1),'Workflow\x20parameter\x20(repeatable)',(_0x1e4cce,_0x16558d=[])=>[..._0x16558d,_0x1e4cce],[])[a2_0x3068b9(0x133)](a2_0x3068b9(0xd4),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')['action'](async(_0xd0459c,_0x21cbfa)=>{const _0x18a15d=a2_0x3068b9,_0x17f247=new WorkflowRunCommand(),_0x5bd79b=program[_0x18a15d(0x1c7)](),_0x408f0d=await createTDXInstance(_0x5bd79b),_0x461593=await _0x17f247[_0x18a15d(0x392)]({'options':{..._0x5bd79b,..._0x21cbfa},'args':_0xd0459c?[_0xd0459c]:[],'tdx':_0x408f0d});gracefulExit(_0x461593);}),workflowCmd['command']('download\x20<project-name>\x20[output-dir]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x99))[a2_0x3068b9(0x133)]('--revision\x20<revision>',a2_0x3068b9(0x346))[a2_0x3068b9(0x81)](async(_0x23a75b,_0x5439bc,_0x2a4a15)=>{const _0x5d31bf=a2_0x3068b9,_0x24d3a6=new WorkflowDownloadCommand(),_0x39a787=program[_0x5d31bf(0x1c7)](),_0x16e450=await createTDXInstance(_0x39a787),_0xffebf4=await _0x24d3a6[_0x5d31bf(0x392)]({'options':{..._0x39a787,..._0x2a4a15},'args':[_0x23a75b,_0x5439bc||'.'],'tdx':_0x16e450});gracefulExit(_0xffebf4);}),workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x239))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x289))['option'](a2_0x3068b9(0x205),a2_0x3068b9(0x293))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1af),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x3068b9(0x81)](async(_0x5c78ff,_0x497386,_0x1b2919)=>{const _0x59e2fb=a2_0x3068b9,_0x3a2b5=new WorkflowPullCommand(),_0x12eeae=program['opts'](),_0x16c91e=await createTDXInstance(_0x12eeae),_0x5c38e9=await _0x3a2b5[_0x59e2fb(0x392)]({'options':{..._0x12eeae,..._0x1b2919},'args':_0x497386?[_0x5c78ff,_0x497386]:[_0x5c78ff],'tdx':_0x16c91e});gracefulExit(_0x5c38e9);}),workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x301))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xc1))[a2_0x3068b9(0x133)]('--revision\x20<revision>',a2_0x3068b9(0x360))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1af),a2_0x3068b9(0x2fc))['option'](a2_0x3068b9(0x20c),a2_0x3068b9(0x362))[a2_0x3068b9(0x81)](async(_0xff6437,_0x21a367)=>{const _0x5bae9a=new WorkflowPushCommand(),_0x3bc7b1=program['opts'](),_0x259303=await createTDXInstance(_0x3bc7b1),_0x2bcde8=await _0x5bae9a['run']({'options':{..._0x3bc7b1,..._0x21a367},'args':_0xff6437?[_0xff6437]:[],'tdx':_0x259303});gracefulExit(_0x2bcde8);}),workflowCmd['command'](a2_0x3068b9(0x227))['description'](a2_0x3068b9(0x387))[a2_0x3068b9(0x133)](a2_0x3068b9(0x82),a2_0x3068b9(0x2d5))[a2_0x3068b9(0x133)](a2_0x3068b9(0x205),a2_0x3068b9(0xc2))['option'](a2_0x3068b9(0x20c),a2_0x3068b9(0x362))[a2_0x3068b9(0x81)](async(_0x1c4039,_0x2034c9)=>{const _0x544265=new WorkflowUploadCommand(),_0x311b0b=program['opts'](),_0x463079=await createTDXInstance(_0x311b0b),_0x16a9a3=await _0x544265['run']({'options':{..._0x311b0b,..._0x2034c9},'args':_0x1c4039?[_0x1c4039]:[],'tdx':_0x463079});gracefulExit(_0x16a9a3);}),workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x283))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x273))[a2_0x3068b9(0x133)]('--name\x20<name>',a2_0x3068b9(0x375))[a2_0x3068b9(0x133)](a2_0x3068b9(0x205),a2_0x3068b9(0x360))['option'](a2_0x3068b9(0x1af),'Preview\x20without\x20creating\x20the\x20project')['option']('--skip-validation',a2_0x3068b9(0x362))[a2_0x3068b9(0x81)](async(_0x44c2df,_0x33a76f)=>{const _0x44e150=a2_0x3068b9,_0x12a0f1=new WorkflowCloneCommand(),_0x21b9d0=program['opts'](),_0x48085f=await createTDXInstance(_0x21b9d0),_0xba717a=await _0x12a0f1[_0x44e150(0x392)]({'options':{..._0x21b9d0,..._0x33a76f},'args':_0x44c2df?[_0x44c2df]:[],'tdx':_0x48085f});gracefulExit(_0xba717a);}),workflowCmd[a2_0x3068b9(0x25c)]('delete\x20<project-name-or-id>')['description']('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x3068b9(0x81)](async(_0x1c944d,_0x23b92a)=>{const _0x589946=a2_0x3068b9,_0x2bd7a1=new WorkflowDeleteCommand(),_0x2a2b09=program[_0x589946(0x1c7)](),_0xe7314a=await createTDXInstance(_0x2a2b09),_0x1ce8d9=await _0x2bd7a1[_0x589946(0x392)]({'options':{..._0x2a2b09,..._0x23b92a},'args':[_0x1c944d],'tdx':_0xe7314a});gracefulExit(_0x1ce8d9);}),workflowCmd['command'](a2_0x3068b9(0x245))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x322))[a2_0x3068b9(0x133)](a2_0x3068b9(0x284),'Clear\x20workflow\x20project\x20context')['action'](async(_0x46796c,_0x13eb18)=>{const _0x22188e=a2_0x3068b9,_0x2d7204=new WorkflowUseCommand(),_0x4722bc=program[_0x22188e(0x1c7)](),_0x1ca015=await createTDXInstance(_0x4722bc),_0x5ef8f6=await _0x2d7204['run']({'options':{..._0x4722bc,..._0x13eb18},'args':_0x46796c?[_0x46796c]:[],'tdx':_0x1ca015});gracefulExit(_0x5ef8f6);});const wfSecretsCmd=workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2c4))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x17c));wfSecretsCmd[a2_0x3068b9(0x25c)]('list\x20[project]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x236))[a2_0x3068b9(0x81)](async(_0x1c30a6,_0x2cc2b1)=>{const _0x564e62=a2_0x3068b9,_0x148a8e=new WorkflowSecretsListCommand(),_0x54c406=program[_0x564e62(0x1c7)](),_0x2558c2=await createTDXInstance(_0x54c406),_0x16e10d=await _0x148a8e[_0x564e62(0x392)]({'options':{..._0x54c406,..._0x2cc2b1},'args':_0x1c30a6?[_0x1c30a6]:[],'tdx':_0x2558c2});gracefulExit(_0x16e10d);}),wfSecretsCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xfa))[a2_0x3068b9(0x1e7)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x3068b9(0x81)](async(_0x3e32a4,_0x52c904)=>{const _0x10e335=a2_0x3068b9,_0x26a7d7=new WorkflowSecretsSetCommand(),_0xd46b3=program[_0x10e335(0x1c7)](),_0x23c022=await createTDXInstance(_0xd46b3),_0x2f7333=await _0x26a7d7['run']({'options':{..._0xd46b3,..._0x52c904},'args':_0x3e32a4,'tdx':_0x23c022});gracefulExit(_0x2f7333);}),wfSecretsCmd[a2_0x3068b9(0x25c)]('delete\x20<args...>')[a2_0x3068b9(0x1e7)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x3068b9(0x81)](async(_0x2d8211,_0x25f161)=>{const _0x35b065=a2_0x3068b9,_0x27c920=new WorkflowSecretsDeleteCommand(),_0x3030de=program[_0x35b065(0x1c7)](),_0x3b49a9=await createTDXInstance(_0x3030de),_0x3ff38b=await _0x27c920[_0x35b065(0x392)]({'options':{..._0x3030de,..._0x25f161},'args':_0x2d8211,'tdx':_0x3b49a9});gracefulExit(_0x3ff38b);});const wfScheduleCmd=workflowCmd[a2_0x3068b9(0x25c)]('schedule')['description'](a2_0x3068b9(0x14a));wfScheduleCmd[a2_0x3068b9(0x25c)]('enable\x20<id>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x8e))['action'](async(_0xfb33a5,_0x18807c)=>{const _0x896d59=a2_0x3068b9,_0x5730c9=new WorkflowScheduleEnableCommand(),_0x514df4=program[_0x896d59(0x1c7)](),_0x30aa78=await createTDXInstance(_0x514df4),_0x28a020=await _0x5730c9[_0x896d59(0x392)]({'options':{..._0x514df4,..._0x18807c},'args':[_0xfb33a5],'tdx':_0x30aa78});gracefulExit(_0x28a020);}),wfScheduleCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x25d))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x75))[a2_0x3068b9(0x81)](async(_0xded247,_0x55a297)=>{const _0x23aa09=a2_0x3068b9,_0x1d30e9=new WorkflowScheduleDisableCommand(),_0x28eee2=program[_0x23aa09(0x1c7)](),_0x3bfee0=await createTDXInstance(_0x28eee2),_0x39cd2b=await _0x1d30e9[_0x23aa09(0x392)]({'options':{..._0x28eee2,..._0x55a297},'args':[_0xded247],'tdx':_0x3bfee0});gracefulExit(_0x39cd2b);}),workflowCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x265))['description'](a2_0x3068b9(0x1d5))[a2_0x3068b9(0x81)](async _0x53c482=>{const _0x197bab=a2_0x3068b9,_0x105b8e=new WorkflowSchedulesCommand(),_0x5d0ad0=program[_0x197bab(0x1c7)](),_0x3c9473=await createTDXInstance(_0x5d0ad0),_0x5534c0=await _0x105b8e[_0x197bab(0x392)]({'options':{..._0x5d0ad0,..._0x53c482},'args':[],'tdx':_0x3c9473});gracefulExit(_0x5534c0);});const jobCmd=program['command'](a2_0x3068b9(0x27d))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x22f)),jobListAction=async _0x4a233f=>{const _0x2eaeda=a2_0x3068b9,_0x377f09=new JobListCommand(),_0x2cd552=program[_0x2eaeda(0x1c7)](),_0x409876=await createTDXInstance(_0x2cd552),_0x240120=await _0x377f09[_0x2eaeda(0x392)]({'options':{..._0x2cd552,..._0x4a233f},'args':[],'tdx':_0x409876});gracefulExit(_0x240120);};jobCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x10a))[a2_0x3068b9(0x1e7)]('List\x20jobs')['option'](a2_0x3068b9(0x189),a2_0x3068b9(0x20b))[a2_0x3068b9(0x81)](jobListAction),program['command'](a2_0x3068b9(0x2dc),{'hidden':!![]})[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x266))['option'](a2_0x3068b9(0x189),a2_0x3068b9(0x20b))[a2_0x3068b9(0x81)](jobListAction),jobCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x373))[a2_0x3068b9(0x1e7)]('Show\x20job\x20details')['action'](async(_0x3871e3,_0x4094d1)=>{const _0x126bdd=a2_0x3068b9,_0x170a4f=new JobShowCommand(),_0x101d50=program[_0x126bdd(0x1c7)](),_0x2ea2e2=await createTDXInstance(_0x101d50),_0x51b2ba=await _0x170a4f[_0x126bdd(0x392)]({'options':{..._0x101d50,..._0x4094d1},'args':[_0x3871e3],'tdx':_0x2ea2e2});gracefulExit(_0x51b2ba);}),jobCmd['command'](a2_0x3068b9(0x276))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x35a))[a2_0x3068b9(0x81)](async(_0x204d2e,_0x2dbb21)=>{const _0x5d4b8d=a2_0x3068b9,_0x169d5f=new JobKillCommand(),_0x42ea33=program[_0x5d4b8d(0x1c7)](),_0x4bccff=await createTDXInstance(_0x42ea33),_0x3fbaf9=await _0x169d5f['run']({'options':{..._0x42ea33,..._0x2dbb21},'args':[_0x204d2e],'tdx':_0x4bccff});gracefulExit(_0x3fbaf9);}),jobCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x222))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x13c))[a2_0x3068b9(0x133)](a2_0x3068b9(0x15d),a2_0x3068b9(0xf5),a2_0x3068b9(0xce))[a2_0x3068b9(0x133)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')['option'](a2_0x3068b9(0x23c),a2_0x3068b9(0x12c),a2_0x3068b9(0x334))[a2_0x3068b9(0x133)]('--result\x20<target>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x3068b9(0x81)](async(_0x2ab595,_0x201a44)=>{const _0x487150=a2_0x3068b9,_0x399ad0=new JobSubmitCommand(),_0x24d9c5=program[_0x487150(0x1c7)](),_0x512207=await createTDXInstance(_0x24d9c5),_0x27dba1=await _0x399ad0[_0x487150(0x392)]({'options':{..._0x24d9c5,..._0x201a44},'args':_0x2ab595?[_0x2ab595]:[],'tdx':_0x512207});gracefulExit(_0x27dba1);}),jobCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x208))['description'](a2_0x3068b9(0x1a2))[a2_0x3068b9(0x81)](async(_0x4e6cdd,_0x699581)=>{const _0x1f460a=a2_0x3068b9,_0x2a295c=new JobResultCommand(),_0x4fa5e7=program[_0x1f460a(0x1c7)](),_0x5bfc21=await createTDXInstance(_0x4fa5e7),_0x50f368=await _0x2a295c['run']({'options':{..._0x4fa5e7,..._0x699581},'args':[_0x4e6cdd],'tdx':_0x5bfc21});gracefulExit(_0x50f368);});const scheduleCmd=jobCmd['command'](a2_0x3068b9(0x1c1))[a2_0x3068b9(0x1e7)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x187))[a2_0x3068b9(0x81)](async(_0x5aa6e1,_0x570e27)=>{const _0x37564e=a2_0x3068b9,_0x5ea9d6=new ScheduleListCommand(),_0x4a978f=program[_0x37564e(0x1c7)](),_0x38b604=await createTDXInstance(_0x4a978f),_0x1c4e93=await _0x5ea9d6[_0x37564e(0x392)]({'options':{..._0x4a978f,..._0x570e27},'args':_0x5aa6e1?[_0x5aa6e1]:[],'tdx':_0x38b604});gracefulExit(_0x1c4e93);}),scheduleCmd[a2_0x3068b9(0x25c)]('show\x20<name>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x176))[a2_0x3068b9(0x81)](async(_0x1412df,_0x45b24d)=>{const _0x9ee314=a2_0x3068b9,_0x36e081=new ScheduleShowCommand(),_0x446ac7=program[_0x9ee314(0x1c7)](),_0xa27e11=await createTDXInstance(_0x446ac7),_0x5167d7=await _0x36e081['run']({'options':{..._0x446ac7,..._0x45b24d},'args':[_0x1412df],'tdx':_0xa27e11});gracefulExit(_0x5167d7);}),scheduleCmd[a2_0x3068b9(0x25c)]('create\x20<name>')['description'](a2_0x3068b9(0x38a))['option']('-d,\x20--database\x20<db>','Database\x20name\x20(required)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x225),a2_0x3068b9(0x1b1))[a2_0x3068b9(0x19d)](a2_0x3068b9(0x271),a2_0x3068b9(0xff))[a2_0x3068b9(0x133)](a2_0x3068b9(0xf2),a2_0x3068b9(0x13b),a2_0x3068b9(0xce))['option'](a2_0x3068b9(0x1ca),a2_0x3068b9(0x2d6))[a2_0x3068b9(0x133)]('--timezone\x20<tz>','Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x1a5),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x3068b9(0x133)](a2_0x3068b9(0x2e6),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x3068b9(0x133)]('--retry-limit\x20<0~32>',a2_0x3068b9(0x1e0))['option'](a2_0x3068b9(0x171),a2_0x3068b9(0x7c))[a2_0x3068b9(0x133)](a2_0x3068b9(0xbc),a2_0x3068b9(0x156))['action'](async(_0x18d37e,_0x5142f7)=>{const _0xa7d32d=a2_0x3068b9,_0x1cc46b=new ScheduleCreateCommand(),_0x41dd45=program[_0xa7d32d(0x1c7)](),_0x352f4a=await createTDXInstance(_0x41dd45);_0x5142f7['in']&&(_0x5142f7[_0xa7d32d(0x1b8)]=_0x5142f7['in']);const _0x52f426=await _0x1cc46b[_0xa7d32d(0x392)]({'options':{..._0x41dd45,..._0x5142f7},'args':[_0x18d37e],'tdx':_0x352f4a});gracefulExit(_0x52f426);}),scheduleCmd['command'](a2_0x3068b9(0x2eb))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xd5))[a2_0x3068b9(0x133)](a2_0x3068b9(0x90),a2_0x3068b9(0x259))['option'](a2_0x3068b9(0x225),a2_0x3068b9(0x1b1))[a2_0x3068b9(0x133)]('-f,\x20--file\x20<path>',a2_0x3068b9(0xff))['option'](a2_0x3068b9(0xf2),a2_0x3068b9(0x13b))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1ca),a2_0x3068b9(0x2d6))[a2_0x3068b9(0x133)](a2_0x3068b9(0x36a),a2_0x3068b9(0x16e))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1a5),a2_0x3068b9(0x318))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2e6),a2_0x3068b9(0x32e))[a2_0x3068b9(0x133)](a2_0x3068b9(0x11d),a2_0x3068b9(0x1e0))[a2_0x3068b9(0x133)](a2_0x3068b9(0x171),a2_0x3068b9(0x7c))[a2_0x3068b9(0x133)]('--result\x20<url>',a2_0x3068b9(0x156))[a2_0x3068b9(0x81)](async(_0x4fb67b,_0x5340b9)=>{const _0x2eb2dc=a2_0x3068b9,_0x4b4dbc=new ScheduleUpdateCommand(),_0x42311a=program['opts'](),_0x357f40=await createTDXInstance(_0x42311a);_0x5340b9['in']&&(_0x5340b9[_0x2eb2dc(0x1b8)]=_0x5340b9['in']);const _0xf5c5c6=await _0x4b4dbc[_0x2eb2dc(0x392)]({'options':{..._0x42311a,..._0x5340b9},'args':[_0x4fb67b],'tdx':_0x357f40});gracefulExit(_0xf5c5c6);}),scheduleCmd['command']('delete\x20<name>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xa3))[a2_0x3068b9(0x81)](async(_0x30213d,_0x3da402)=>{const _0x2b2ee2=a2_0x3068b9,_0x3958ce=new ScheduleDeleteCommand(),_0x974a0e=program[_0x2b2ee2(0x1c7)](),_0x34e821=await createTDXInstance(_0x974a0e),_0x3bacce=await _0x3958ce['run']({'options':{..._0x974a0e,..._0x3da402},'args':[_0x30213d],'tdx':_0x34e821});gracefulExit(_0x3bacce);}),scheduleCmd['command']('run\x20<name>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1d9))[a2_0x3068b9(0x133)](a2_0x3068b9(0x9e),a2_0x3068b9(0x343))[a2_0x3068b9(0x133)](a2_0x3068b9(0x37a),a2_0x3068b9(0x14d))[a2_0x3068b9(0x81)](async(_0x179e33,_0x348a56)=>{const _0x47459f=a2_0x3068b9,_0x56fbb6=new ScheduleRunCommand(),_0x4d1f6c=program['opts'](),_0x5de180=await createTDXInstance(_0x4d1f6c),_0x46157b=await _0x56fbb6[_0x47459f(0x392)]({'options':{..._0x4d1f6c,..._0x348a56},'args':[_0x179e33],'tdx':_0x5de180});gracefulExit(_0x46157b);}),scheduleCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x195))[a2_0x3068b9(0x1e7)]('Show\x20schedule\x20execution\x20history')[a2_0x3068b9(0x133)](a2_0x3068b9(0x10e),'Starting\x20offset\x20(default:\x200)')[a2_0x3068b9(0x133)]('--to\x20<n>','Ending\x20offset\x20(default:\x2020)')[a2_0x3068b9(0x81)](async(_0x21d180,_0x4283d4)=>{const _0x36dd06=a2_0x3068b9,_0x3be1d3=new ScheduleHistoryCommand(),_0x56805d=program[_0x36dd06(0x1c7)](),_0x1e3a6f=await createTDXInstance(_0x56805d),_0x101dc4=await _0x3be1d3['run']({'options':{..._0x56805d,..._0x4283d4},'args':[_0x21d180],'tdx':_0x1e3a6f});gracefulExit(_0x101dc4);});const llmCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x130))[a2_0x3068b9(0x1e7)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x3068b9(0x25c)]('use\x20<project-name>')[a2_0x3068b9(0x1e7)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')['action'](async(_0x1ad752,_0x11b8a1)=>{const _0x15d5bb=a2_0x3068b9,_0x49100f=new LLMUseCommand(),_0x26e315=program[_0x15d5bb(0x1c7)](),_0x26961b=await createTDXInstance(_0x26e315),_0x559fe7=await _0x49100f['run']({'options':{..._0x26e315,..._0x11b8a1},'args':[_0x1ad752],'tdx':_0x26961b});gracefulExit(_0x559fe7);}),llmCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x255))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x364))[a2_0x3068b9(0x81)](async _0x355fbf=>{const _0x146ffd=a2_0x3068b9,_0x5751e9=new LLMModelsCommand(),_0x5158c1=program['opts'](),_0x4cea79=await createTDXInstance(_0x5158c1),_0x48c633=await _0x5751e9[_0x146ffd(0x392)]({'options':{..._0x5158c1,..._0x355fbf},'args':[],'tdx':_0x4cea79});gracefulExit(_0x48c633);});const projectCmd=llmCmd[a2_0x3068b9(0x25c)]('project')['description']('LLM\x20project\x20management'),llmProjectListAction=async(_0x1c0e87,_0x404369)=>{const _0x56c830=a2_0x3068b9,_0x5db317=new LLMProjectsCommand(),_0x48b10f=program[_0x56c830(0x1c7)](),_0x124473=await createTDXInstance(_0x48b10f),_0x5560d0=await _0x5db317[_0x56c830(0x392)]({'options':{..._0x48b10f,..._0x404369},'args':_0x1c0e87?[_0x1c0e87]:[],'tdx':_0x124473});gracefulExit(_0x5560d0);};projectCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))['description'](a2_0x3068b9(0x1d2))[a2_0x3068b9(0x81)](llmProjectListAction),llmCmd[a2_0x3068b9(0x25c)]('projects\x20[pattern]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1d6))[a2_0x3068b9(0x81)](llmProjectListAction),projectCmd['command']('create\x20<name>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x147))[a2_0x3068b9(0x133)]('--description\x20<text>',a2_0x3068b9(0x7e))[a2_0x3068b9(0x81)](async(_0xdf143a,_0x265568)=>{const _0xa37d05=a2_0x3068b9,_0xb6577c=new LLMProjectCreateCommand(),_0x3ee81e=program['opts'](),_0x2a1304=await createTDXInstance(_0x3ee81e),_0x7314c2=await _0xb6577c[_0xa37d05(0x392)]({'options':{..._0x3ee81e,..._0x265568},'args':[_0xdf143a],'tdx':_0x2a1304});gracefulExit(_0x7314c2);}),projectCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x30a))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x10f))[a2_0x3068b9(0x81)](async(_0x3ef2b7,_0x30a3ed)=>{const _0x46a8b9=a2_0x3068b9,_0x3820bd=new LLMProjectDeleteCommand(),_0x26b7c6=program[_0x46a8b9(0x1c7)](),_0x4a9c4f=await createTDXInstance(_0x26b7c6),_0x4cde95=await _0x3820bd[_0x46a8b9(0x392)]({'options':{..._0x26b7c6,..._0x30a3ed},'args':[_0x3ef2b7],'tdx':_0x4a9c4f});gracefulExit(_0x4cde95);}),projectCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x21e))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x355))[a2_0x3068b9(0x133)](a2_0x3068b9(0x341),'Output\x20folder\x20(default:\x20{project_name}.llm)')['option'](a2_0x3068b9(0x1af),a2_0x3068b9(0xe5))['action'](async(_0x3bd606,_0x4b5eb5)=>{const _0x21e96f=a2_0x3068b9,_0x48badb=new LLMProjectBackupCommand(),_0xcda86a=program[_0x21e96f(0x1c7)](),_0x22146c=await createTDXInstance(_0xcda86a),_0x18ecf6=await _0x48badb['run']({'options':{..._0xcda86a,..._0x4b5eb5},'args':[_0x3bd606],'tdx':_0x22146c});gracefulExit(_0x18ecf6);}),projectCmd[a2_0x3068b9(0x25c)]('restore\x20<folder>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1ad))[a2_0x3068b9(0x133)]('--name\x20<new-name>',a2_0x3068b9(0x182))['option'](a2_0x3068b9(0x1af),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x3068b9(0x81)](async(_0x4eaef8,_0x1bfe78)=>{const _0x1bf775=a2_0x3068b9,_0x3d2435=new LLMProjectRestoreCommand(),_0x16893f=program['opts'](),_0x5fced3=await createTDXInstance(_0x16893f),_0x3f1798=await _0x3d2435[_0x1bf775(0x392)]({'options':{..._0x16893f,..._0x1bfe78},'args':[_0x4eaef8],'tdx':_0x5fced3});gracefulExit(_0x3f1798);});const llmAgentListAction=async(_0x43bfec,_0x21a4d4)=>{const _0x371b54=a2_0x3068b9,_0x292853=new LLMAgentsCommand(),_0x1476a7=program['opts'](),_0x54bc9d=await createTDXInstance(_0x1476a7),_0x7a5f8e=await _0x292853[_0x371b54(0x392)]({'options':{..._0x1476a7,..._0x21a4d4},'args':_0x43bfec?[_0x43bfec]:[],'tdx':_0x54bc9d});gracefulExit(_0x7a5f8e);};llmCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x28d))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x78))[a2_0x3068b9(0x81)](llmAgentListAction),program['command'](a2_0x3068b9(0x28d))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x78))[a2_0x3068b9(0x81)](llmAgentListAction),llmCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xad))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x181))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2cc),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x3068b9(0x81)](async(_0x395bf2,_0x477962)=>{const _0x4646a0=a2_0x3068b9,_0x1535be=new LLMHistoryCommand(),_0x255c78=program[_0x4646a0(0x1c7)](),_0x3cb03a=await createTDXInstance(_0x255c78),_0x40e258=await _0x1535be[_0x4646a0(0x392)]({'options':{..._0x255c78,..._0x477962},'args':_0x395bf2?[_0x395bf2]:[],'tdx':_0x3cb03a});gracefulExit(_0x40e258);});isExperimentalAvailable()&&llmCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x215))['description'](a2_0x3068b9(0x27b))['action'](async(_0xf2849f,_0x37ced2)=>{const _0x3f5693=a2_0x3068b9,_0x11abe8=new LLMLogCommand(),_0x286fcc=program[_0x3f5693(0x1c7)](),_0x320277=await createTDXInstance(_0x286fcc),_0x47841b=await _0x11abe8[_0x3f5693(0x392)]({'options':{..._0x286fcc,..._0x37ced2},'args':[_0xf2849f],'tdx':_0x320277});gracefulExit(_0x47841b);});program['command'](a2_0x3068b9(0x38f))[a2_0x3068b9(0x220)](a2_0x3068b9(0x2d8))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xdf))[a2_0x3068b9(0x133)](a2_0x3068b9(0x14c),a2_0x3068b9(0x2f0))['option'](a2_0x3068b9(0x2bc),a2_0x3068b9(0x248))[a2_0x3068b9(0x133)]('--no-proxy',a2_0x3068b9(0x39d))[a2_0x3068b9(0x179)]()['allowExcessArguments'](!![])[a2_0x3068b9(0x1cc)](a2_0x3068b9(0x13d),a2_0x3068b9(0x26c))[a2_0x3068b9(0x81)](async(_0x57de07,_0x14b945)=>{const _0x179e07=a2_0x3068b9,_0xbc2a4e=program['opts'](),_0x47ea87=Array['isArray'](_0x57de07)?_0x57de07:[];if(_0x47ea87[0x0]==='statusline'){const _0x2d2e47=new ClaudeStatuslineCommand(),_0x582562=await _0x2d2e47[_0x179e07(0x392)]({'options':{..._0xbc2a4e,..._0x14b945},'args':_0x47ea87[_0x179e07(0x1cd)](0x1),'tdx':null});gracefulExit(_0x582562);}if(_0x47ea87[0x0]===_0x179e07(0x220)){const _0x420ddb=new ClaudeUsageCommand(),_0x3b90b8=await _0x420ddb['run']({'options':{..._0xbc2a4e,..._0x14b945},'args':_0x47ea87['slice'](0x1),'tdx':null});gracefulExit(_0x3b90b8);}const _0x31a183=new ClaudeCommand(),_0x4cf42b=await createTDXInstance(_0xbc2a4e),_0x28763b=await _0x31a183['run']({'options':{..._0xbc2a4e,..._0x14b945},'args':_0x47ea87,'tdx':_0x4cf42b});gracefulExit(_0x28763b);}),program[a2_0x3068b9(0x25c)]('use\x20[resource]\x20[value]')['description'](a2_0x3068b9(0xaf))[a2_0x3068b9(0x133)]('--clear','Clear\x20session\x20context')[a2_0x3068b9(0x133)](a2_0x3068b9(0x74),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x3068b9(0x81)](async(_0x2f6563,_0x477714,_0x265ba6)=>{const _0x2c7f17=a2_0x3068b9,_0x485f40=new UseCommand(),_0x5922c7=program[_0x2c7f17(0x1c7)](),_0x47f3df=[];if(_0x2f6563)_0x47f3df[_0x2c7f17(0x28c)](_0x2f6563);if(_0x477714)_0x47f3df[_0x2c7f17(0x28c)](_0x477714);const _0x248377=_0x2f6563===_0x2c7f17(0x2fd),_0x163c0a=_0x248377?await createTDXInstance(_0x5922c7):null,_0x53b50b=await _0x485f40[_0x2c7f17(0x392)]({'options':{..._0x5922c7,..._0x265ba6},'args':_0x47f3df,'tdx':_0x163c0a});gracefulExit(_0x53b50b);}),program['command'](a2_0x3068b9(0x38d))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2ce))['action'](async _0x3c8628=>{const _0xa27f35=a2_0x3068b9,_0x94a787=new StatusCommand(),_0x394803=program[_0xa27f35(0x1c7)](),_0x38e8d6=await createTDXInstance(_0x394803),_0x466a85=await _0x94a787[_0xa27f35(0x392)]({'options':{..._0x394803,..._0x3c8628},'args':[],'tdx':_0x38e8d6});gracefulExit(_0x466a85);}),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2b9))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1f4))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1af),a2_0x3068b9(0x33f))[a2_0x3068b9(0x133)]('--next',a2_0x3068b9(0xbb))[a2_0x3068b9(0x133)](a2_0x3068b9(0x31e),a2_0x3068b9(0x151))[a2_0x3068b9(0x81)](async(_0x2a7501,_0x9ff7ca)=>{const _0x283e69=a2_0x3068b9,_0x3f41fe=new UpgradeCommand(),_0x6ec51a=program[_0x283e69(0x1c7)](),_0x37bbc7=await _0x3f41fe['run']({'options':{..._0x6ec51a,..._0x9ff7ca},'args':_0x2a7501?[_0x2a7501]:[],'tdx':null});gracefulExit(_0x37bbc7);}),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x125))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x18a))[a2_0x3068b9(0x133)]('--default',a2_0x3068b9(0x37d))[a2_0x3068b9(0x81)](async(_0x3cb409,_0x248d5d)=>{const _0x4d94ea=a2_0x3068b9,_0x315e1a=new UnsetCommand(),_0x29c887=program[_0x4d94ea(0x1c7)](),_0x4f90af=await _0x315e1a[_0x4d94ea(0x392)]({'options':{..._0x29c887,..._0x248d5d},'args':[_0x3cb409],'tdx':null});gracefulExit(_0x4f90af);}),program[a2_0x3068b9(0x25c)]('chats')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x24c))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2cc),a2_0x3068b9(0x2a5))[a2_0x3068b9(0x81)](async _0x5d6431=>{const _0x32634d=a2_0x3068b9,_0x96df4d=new ChatsCommand(),_0x410ad1=program[_0x32634d(0x1c7)](),_0x38b8fa=await createTDXInstance(_0x410ad1),_0x10db49=await _0x96df4d[_0x32634d(0x392)]({'options':{..._0x410ad1,..._0x5d6431},'args':[],'tdx':_0x38b8fa});gracefulExit(_0x10db49);});const authCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2d4))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2e3));async function runAuthStatusCommand(_0x51f42b){const _0x36bb76=new AuthStatusCommand(),_0x120b38=program['opts'](),_0x675e3b=await createTDXInstance(_0x120b38),_0x359da4=await _0x36bb76['run']({'options':{..._0x120b38,..._0x51f42b},'args':[],'tdx':_0x675e3b});gracefulExit(_0x359da4);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x38d))[a2_0x3068b9(0x1e7)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')['action'](runAuthStatusCommand);async function authSetupAction(_0x416fd4){const _0x3b5b5c=a2_0x3068b9,_0x2ad6ea=new AuthSetupCommand(),_0x2d2464=program[_0x3b5b5c(0x1c7)](),_0x3c3177=await createTDXInstance(_0x2d2464),_0x1522bd=await _0x2ad6ea[_0x3b5b5c(0x392)]({'options':{..._0x2d2464,..._0x416fd4},'args':[],'tdx':_0x3c3177});gracefulExit(_0x1522bd);}authCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x36e))[a2_0x3068b9(0x1e7)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x3068b9(0x133)](a2_0x3068b9(0x321),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x3068b9(0x1cc)](a2_0x3068b9(0x13d),'\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')[a2_0x3068b9(0x81)](authSetupAction),authCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2b6),{'hidden':!![]})['option'](a2_0x3068b9(0x321),a2_0x3068b9(0x1ab))[a2_0x3068b9(0x81)](authSetupAction),authCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xc5))['description'](a2_0x3068b9(0x267))[a2_0x3068b9(0x1cc)]('after',a2_0x3068b9(0x1b7))['action'](async _0x8b1ef5=>{const _0x5031b5=a2_0x3068b9,_0x2726cb=new AuthClearCommand(),_0x52b8e7=program['opts'](),_0x5b97ae=await _0x2726cb[_0x5031b5(0x392)]({'options':{..._0x52b8e7,..._0x8b1ef5},'args':[],'tdx':null});gracefulExit(_0x5b97ae);});const userCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2e0))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x149)),userListAction=async _0x4aaa77=>{const _0x12235d=a2_0x3068b9,_0x59a311=new UserListCommand(),_0x3c73a4=program[_0x12235d(0x1c7)](),_0x5a6a6f=await createTDXInstance(_0x3c73a4),_0x202248=await _0x59a311['run']({'options':{..._0x3c73a4,..._0x4aaa77},'args':[],'tdx':_0x5a6a6f});gracefulExit(_0x202248);};userCmd['action'](async _0x21855a=>{const _0x33da34=a2_0x3068b9,_0x270f0b=new UserCommand(),_0x1f073f=program[_0x33da34(0x1c7)](),_0x4a80ba=await createTDXInstance(_0x1f073f),_0x1369c9=await _0x270f0b[_0x33da34(0x392)]({'options':{..._0x1f073f,..._0x21855a},'args':[],'tdx':_0x4a80ba});gracefulExit(_0x1369c9);}),userCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x10a))['description'](a2_0x3068b9(0x228))[a2_0x3068b9(0x81)](userListAction),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2ff))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x336))['action'](userListAction);const policyCmd=program['command'](a2_0x3068b9(0x142))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x332));policyCmd[a2_0x3068b9(0x81)](async _0xb326c1=>{const _0x3293cb=a2_0x3068b9,_0x5405d4=new PolicyCommand(),_0x1d111c=program[_0x3293cb(0x1c7)](),_0x468e1a=await createTDXInstance(_0x1d111c),_0x59208f=await _0x5405d4['run']({'options':{..._0x1d111c,..._0xb326c1},'args':[],'tdx':_0x468e1a});gracefulExit(_0x59208f);}),policyCmd['command'](a2_0x3068b9(0x10a))[a2_0x3068b9(0x1e7)]('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')[a2_0x3068b9(0x81)](async _0x51f8af=>{const _0x1b3e80=a2_0x3068b9,_0xdf539d=new PolicyListCommand(),_0xa8aba4=program[_0x1b3e80(0x1c7)](),_0x3131c8=await createTDXInstance(_0xa8aba4),_0x219e41=await _0xdf539d[_0x1b3e80(0x392)]({'options':{..._0xa8aba4,..._0x51f8af},'args':[],'tdx':_0x3131c8});gracefulExit(_0x219e41);}),policyCmd[a2_0x3068b9(0x25c)]('show\x20<policy>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xd2))[a2_0x3068b9(0x81)](async(_0x1fe547,_0x43f680)=>{const _0x407c2b=a2_0x3068b9,_0x265e70=new PolicyShowCommand(),_0x52b54f=program[_0x407c2b(0x1c7)](),_0x417845=await createTDXInstance(_0x52b54f),_0xa11c5e=await _0x265e70[_0x407c2b(0x392)]({'options':{..._0x52b54f,..._0x43f680},'args':[_0x1fe547],'tdx':_0x417845});gracefulExit(_0xa11c5e);}),program[a2_0x3068b9(0x25c)]('profiles')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x354))[a2_0x3068b9(0x81)](async _0x5574f6=>{const _0x393e12=a2_0x3068b9,_0x25d6c9=new ProfilesCommand(),_0x42e16a=program['opts'](),_0x43451c=await _0x25d6c9[_0x393e12(0x392)]({'options':{..._0x42e16a,..._0x5574f6},'args':[],'tdx':null});gracefulExit(_0x43451c);});const profileCmd=program['command'](a2_0x3068b9(0x261))['description'](a2_0x3068b9(0x218));profileCmd[a2_0x3068b9(0x81)](()=>{const _0x4746fd=a2_0x3068b9;profileCmd[_0x4746fd(0x1df)]();});const profileListAction=async _0x5ca285=>{const _0x3b0e74=a2_0x3068b9,_0xfb8cc5=new ProfilesCommand(),_0x5d4ee3=program['opts'](),_0x1b26eb=await _0xfb8cc5[_0x3b0e74(0x392)]({'options':{..._0x5d4ee3,..._0x5ca285},'args':[],'tdx':null});gracefulExit(_0x1b26eb);};profileCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x10a))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x354))[a2_0x3068b9(0x81)](profileListAction),profileCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x384))['description'](a2_0x3068b9(0x1f0))[a2_0x3068b9(0x133)]('--account-name\x20<name>','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')['option'](a2_0x3068b9(0x29b),a2_0x3068b9(0x137))[a2_0x3068b9(0x1cc)](a2_0x3068b9(0x13d),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a')[a2_0x3068b9(0x81)](async(_0x1440d6,_0x66b4e8)=>{const _0x6d024=a2_0x3068b9,_0x2c786f=new ProfileCreateCommand(),_0x899dfa=program[_0x6d024(0x1c7)](),_0x296550=await _0x2c786f[_0x6d024(0x392)]({'options':{..._0x899dfa,..._0x66b4e8},'args':_0x1440d6?[_0x1440d6]:[],'tdx':null});gracefulExit(_0x296550);});async function profileDeleteAction(_0x896747,_0x5016ea){const _0x6e1644=a2_0x3068b9,_0x2fc1a6=new ProfileDeleteCommand(),_0x337ca6=program[_0x6e1644(0x1c7)](),_0x50c4e4=await _0x2fc1a6[_0x6e1644(0x392)]({'options':{..._0x337ca6,..._0x5016ea},'args':[_0x896747],'tdx':null});gracefulExit(_0x50c4e4);}profileCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x30a))['description']('Delete\x20a\x20profile')[a2_0x3068b9(0x1cc)](a2_0x3068b9(0x13d),a2_0x3068b9(0x108))[a2_0x3068b9(0x81)](profileDeleteAction),profileCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x10c),{'hidden':!![]})[a2_0x3068b9(0x81)](profileDeleteAction),profileCmd['command'](a2_0x3068b9(0x393))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x12e))[a2_0x3068b9(0x1cc)](a2_0x3068b9(0x13d),'\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')[a2_0x3068b9(0x81)](async(_0x344820,_0x524caa)=>{const _0x39c374=a2_0x3068b9,_0x4ab2c3=new ProfileSetCommand(),_0x3d0ad5=program[_0x39c374(0x1c7)](),_0x58d393=await _0x4ab2c3[_0x39c374(0x392)]({'options':{..._0x3d0ad5,..._0x524caa},'args':[_0x344820],'tdx':null});gracefulExit(_0x58d393);}),profileCmd['command']('use\x20<name>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xa4))['option']('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['addHelpText']('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a')[a2_0x3068b9(0x81)](async(_0x1e18f1,_0x1a71a1)=>{const _0x4dc90e=a2_0x3068b9,_0x32a27f=new ProfileUseCommand(),_0x295845=program['opts'](),_0x375d40=await _0x32a27f[_0x4dc90e(0x392)]({'options':{..._0x295845,..._0x1a71a1},'args':[_0x1e18f1],'tdx':null});gracefulExit(_0x375d40);});const engageCmd=program['command'](a2_0x3068b9(0x2ea))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x280)),createEngageAction=_0x24dfff=>{return async(_0x26791a,_0x44b5cc)=>{const _0x5872b5=a2_0x4365,_0x5239bd=new _0x24dfff(),_0x52d457=program[_0x5872b5(0x1c7)](),_0x18acd0=await createTDXInstance(_0x52d457),_0x5a6c3f=await _0x5239bd[_0x5872b5(0x392)]({'options':{..._0x52d457,..._0x44b5cc},'args':[_0x26791a],'tdx':_0x18acd0});gracefulExit(_0x5a6c3f);};},createEngageNoArgAction=_0x268344=>{return async _0x5b93b8=>{const _0x368985=a2_0x4365,_0x59f0fc=new _0x268344(),_0x446758=program[_0x368985(0x1c7)](),_0x1482c1=await createTDXInstance(_0x446758),_0x29942a=await _0x59f0fc[_0x368985(0x392)]({'options':{..._0x446758,..._0x5b93b8},'args':[],'tdx':_0x1482c1});gracefulExit(_0x29942a);};},createEngageListAction=_0x30ef76=>{return async(_0x1e0c77,_0x4f47ed)=>{const _0x4ff46f=a2_0x4365,_0x382b46=new _0x30ef76(),_0x595eda=program[_0x4ff46f(0x1c7)](),_0x5016bc=await createTDXInstance(_0x595eda),_0x359b97=await _0x382b46[_0x4ff46f(0x392)]({'options':{..._0x595eda,..._0x4f47ed},'args':_0x1e0c77?[_0x1e0c77]:[],'tdx':_0x5016bc});gracefulExit(_0x359b97);};},campaignCmd=engageCmd['command'](a2_0x3068b9(0x20e))[a2_0x3068b9(0x1e7)]('Campaign\x20management');campaignCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1f5))['option'](a2_0x3068b9(0xf2),a2_0x3068b9(0x2aa))['option']('--status\x20<status>',a2_0x3068b9(0x134))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x3068b9(0x1b5))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x23f))[a2_0x3068b9(0x133)](a2_0x3068b9(0xf2),a2_0x3068b9(0x2aa))[a2_0x3068b9(0x133)](a2_0x3068b9(0x189),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),'Workspace\x20name')[a2_0x3068b9(0x81)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x3068b9(0x25c)]('show\x20<name-or-id>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x119))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x133)](a2_0x3068b9(0x395),a2_0x3068b9(0x2ae))[a2_0x3068b9(0x81)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3068b9(0x25c)]('create')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xa7))['requiredOption'](a2_0x3068b9(0x82),a2_0x3068b9(0x2d2))[a2_0x3068b9(0x19d)]('--type\x20<type>',a2_0x3068b9(0x28b))['option'](a2_0x3068b9(0x2af),a2_0x3068b9(0x9b))[a2_0x3068b9(0x133)](a2_0x3068b9(0x8a),a2_0x3068b9(0x2f3))[a2_0x3068b9(0x133)](a2_0x3068b9(0xd9),a2_0x3068b9(0x159))[a2_0x3068b9(0x133)]('--email-sender-id\x20<id>','Email\x20sender\x20ID\x20for\x20delivery')[a2_0x3068b9(0x133)]('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x3068b9(0x133)]('--start-at\x20<datetime>',a2_0x3068b9(0x325))[a2_0x3068b9(0x133)]('--timezone\x20<tz>',a2_0x3068b9(0x158))[a2_0x3068b9(0x81)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x155))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x135))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),'Workspace\x20name')[a2_0x3068b9(0x133)](a2_0x3068b9(0x82),'New\x20campaign\x20name')[a2_0x3068b9(0x133)](a2_0x3068b9(0x8a),a2_0x3068b9(0x2f3))[a2_0x3068b9(0x133)](a2_0x3068b9(0xd9),a2_0x3068b9(0x159))[a2_0x3068b9(0x133)](a2_0x3068b9(0x23a),a2_0x3068b9(0x91))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1ba),a2_0x3068b9(0x1bd))[a2_0x3068b9(0x133)]('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x36a),a2_0x3068b9(0x158))[a2_0x3068b9(0x81)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x169))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xf4))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))['option'](a2_0x3068b9(0x144),a2_0x3068b9(0x279))[a2_0x3068b9(0x81)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x3068b9(0x28e))['description']('Launch\x20a\x20campaign')[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x81)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x295))['description']('Pause\x20a\x20campaign')[a2_0x3068b9(0x133)]('--workspace\x20<name>',a2_0x3068b9(0x2e5))[a2_0x3068b9(0x81)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3068b9(0x25c)]('resume\x20<name-or-id>')[a2_0x3068b9(0x1e7)]('Resume\x20a\x20paused\x20campaign')['option']('--workspace\x20<name>',a2_0x3068b9(0x2e5))[a2_0x3068b9(0x81)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xc6))['description']('Duplicate\x20a\x20campaign')[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x81)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd['command'](a2_0x3068b9(0x1be))[a2_0x3068b9(0x1e7)]('Pull\x20campaigns\x20to\x20YAML\x20files')['option'](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x133)]('--name\x20<name>',a2_0x3068b9(0x163))['option'](a2_0x3068b9(0xf2),a2_0x3068b9(0x2aa))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1af),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x36b))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x13a))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x133)]('--dry-run',a2_0x3068b9(0x278))[a2_0x3068b9(0x81)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command'](a2_0x3068b9(0x371))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x287))['option'](a2_0x3068b9(0xfc),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x3068b9(0x81)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x3068b9(0x25c)]('always-on-campaign')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x26d));alwaysOnCampaignCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x345))[a2_0x3068b9(0x133)](a2_0x3068b9(0xf2),a2_0x3068b9(0x2aa))[a2_0x3068b9(0x133)]('--status\x20<status>',a2_0x3068b9(0x366))[a2_0x3068b9(0x19d)](a2_0x3068b9(0x2af),a2_0x3068b9(0x9b))[a2_0x3068b9(0x81)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xf1))['description'](a2_0x3068b9(0x16d))[a2_0x3068b9(0x133)](a2_0x3068b9(0xf2),a2_0x3068b9(0x2aa))[a2_0x3068b9(0x133)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x3068b9(0x19d)]('--workspace\x20<name>',a2_0x3068b9(0x9b))[a2_0x3068b9(0x81)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x379))['description'](a2_0x3068b9(0x1aa))[a2_0x3068b9(0x19d)](a2_0x3068b9(0x2af),a2_0x3068b9(0x9b))[a2_0x3068b9(0x133)](a2_0x3068b9(0x395),a2_0x3068b9(0x2ae))[a2_0x3068b9(0x81)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command'](a2_0x3068b9(0x1c2))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x399))[a2_0x3068b9(0x19d)](a2_0x3068b9(0x82),a2_0x3068b9(0x2d2))['requiredOption'](a2_0x3068b9(0xf2),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x3068b9(0x19d)]('--workspace\x20<name>',a2_0x3068b9(0x9b))[a2_0x3068b9(0x133)]('--description\x20<desc>',a2_0x3068b9(0x2f3))[a2_0x3068b9(0x133)](a2_0x3068b9(0xd9),a2_0x3068b9(0x313))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1d1),a2_0x3068b9(0x390))[a2_0x3068b9(0x81)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x155))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x310))['requiredOption'](a2_0x3068b9(0x2af),a2_0x3068b9(0x9b))[a2_0x3068b9(0x133)](a2_0x3068b9(0x82),a2_0x3068b9(0x1e5))[a2_0x3068b9(0x133)](a2_0x3068b9(0x8a),'Campaign\x20description')['option'](a2_0x3068b9(0xd9),a2_0x3068b9(0x313))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1d1),'Enable\x20UTM\x20tracking')['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x3068b9(0x25c)]('delete\x20<name-or-id>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1de))[a2_0x3068b9(0x19d)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x144),a2_0x3068b9(0x279))[a2_0x3068b9(0x81)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd['command'](a2_0x3068b9(0x28e))['description']('Launch\x20an\x20always-on\x20campaign')[a2_0x3068b9(0x19d)](a2_0x3068b9(0x2af),a2_0x3068b9(0x9b))[a2_0x3068b9(0x81)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x3068b9(0x25c)]('pause\x20<name-or-id>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x25a))[a2_0x3068b9(0x19d)]('--workspace\x20<name>',a2_0x3068b9(0x9b))[a2_0x3068b9(0x81)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x3068b9(0x25c)]('resume\x20<name-or-id>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1f9))[a2_0x3068b9(0x19d)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x3068b9(0x81)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x3068b9(0x25c)]('finish\x20<name-or-id>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x398))['requiredOption']('--workspace\x20<name>',a2_0x3068b9(0x9b))[a2_0x3068b9(0x133)](a2_0x3068b9(0x144),a2_0x3068b9(0x279))['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x3068b9(0xc6))[a2_0x3068b9(0x1e7)]('Duplicate\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x3068b9(0x2af),a2_0x3068b9(0x9b))[a2_0x3068b9(0x19d)](a2_0x3068b9(0x82),'Name\x20for\x20the\x20duplicated\x20campaign')[a2_0x3068b9(0x81)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command']('template')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1e4));templateCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x84))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x3068b9(0x121))[a2_0x3068b9(0x1e7)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x81)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command'](a2_0x3068b9(0x379))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x76))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))['option'](a2_0x3068b9(0x395),a2_0x3068b9(0x2ae))[a2_0x3068b9(0x81)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3068b9(0x25c)]('create')['description'](a2_0x3068b9(0x15e))[a2_0x3068b9(0x19d)]('--name\x20<name>',a2_0x3068b9(0x34d))[a2_0x3068b9(0x19d)](a2_0x3068b9(0x28a),a2_0x3068b9(0x168))[a2_0x3068b9(0x133)](a2_0x3068b9(0x351),'HTML\x20template\x20content')['option'](a2_0x3068b9(0x342),a2_0x3068b9(0x92))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x9b))[a2_0x3068b9(0x133)]('--plaintext\x20<text>','Plaintext\x20template\x20content')['option'](a2_0x3068b9(0x238),a2_0x3068b9(0x22b),_0x3aca25=>{const _0x4fe44f=a2_0x3068b9;if(![_0x4fe44f(0xb8),_0x4fe44f(0x39b)][_0x4fe44f(0x2dd)](_0x3aca25))throw new SDKError(ErrorCode[_0x4fe44f(0x2e9)],_0x4fe44f(0x374)+_0x3aca25+_0x4fe44f(0x361));return _0x3aca25;})[a2_0x3068b9(0x81)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x155))[a2_0x3068b9(0x1e7)]('Update\x20an\x20email\x20template')['option']('--workspace\x20<name>',a2_0x3068b9(0x2e5))[a2_0x3068b9(0x133)](a2_0x3068b9(0x82),'New\x20template\x20name')[a2_0x3068b9(0x133)]('--subject\x20<subject>',a2_0x3068b9(0x168))[a2_0x3068b9(0x133)](a2_0x3068b9(0x351),a2_0x3068b9(0x200))[a2_0x3068b9(0x133)](a2_0x3068b9(0x342),a2_0x3068b9(0x92))[a2_0x3068b9(0x133)](a2_0x3068b9(0x25b),a2_0x3068b9(0x2df))[a2_0x3068b9(0x81)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x3068b9(0x2a8))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xd1))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),'Workspace\x20name')[a2_0x3068b9(0x133)](a2_0x3068b9(0x82),'Pull\x20specific\x20template\x20by\x20name')[a2_0x3068b9(0x133)](a2_0x3068b9(0x86),'Skip\x20confirmation\x20prompt')['option'](a2_0x3068b9(0x1af),a2_0x3068b9(0x2f7))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x36b))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x20a))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x133)]('-y,\x20--yes',a2_0x3068b9(0x279))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1af),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x3068b9(0x81)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0x3068b9(0x371))['description'](a2_0x3068b9(0x311))[a2_0x3068b9(0x133)](a2_0x3068b9(0xfc),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x3068b9(0x81)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x169))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2b2))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x133)](a2_0x3068b9(0x144),a2_0x3068b9(0x279))[a2_0x3068b9(0x81)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x3068b9(0x26a))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x167));workspaceCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x356))[a2_0x3068b9(0x81)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x250))['description'](a2_0x3068b9(0x112))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x3068b9(0x25c)]('show\x20<name-or-id>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x350))[a2_0x3068b9(0x133)]('--full',a2_0x3068b9(0x2ae))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1c2))['description'](a2_0x3068b9(0x1f8))[a2_0x3068b9(0x19d)](a2_0x3068b9(0x82),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x133)]('--description\x20<desc>',a2_0x3068b9(0x192))[a2_0x3068b9(0x81)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3068b9(0x25c)]('update\x20<name-or-id>')['description'](a2_0x3068b9(0x37e))[a2_0x3068b9(0x133)](a2_0x3068b9(0x82),a2_0x3068b9(0x389))[a2_0x3068b9(0x133)](a2_0x3068b9(0x8a),a2_0x3068b9(0x192))[a2_0x3068b9(0x81)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x169))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xa5))['option'](a2_0x3068b9(0x144),a2_0x3068b9(0x279))[a2_0x3068b9(0x81)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3068b9(0x25c)]('use\x20<name>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x367))[a2_0x3068b9(0x81)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x185))['description'](a2_0x3068b9(0x378));deliveryCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x16a))['description'](a2_0x3068b9(0x26b))['option'](a2_0x3068b9(0x2af),a2_0x3068b9(0x2e5))[a2_0x3068b9(0x81)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x139))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x95)),connectionListAction=async _0x331ac2=>{const _0x56b649=a2_0x3068b9,_0xedaa10=new ConnectionListCommand(),_0x18045e=program['opts'](),_0x2987cf=await createTDXInstance(_0x18045e),_0x54ddcf=await _0xedaa10[_0x56b649(0x392)]({'options':{..._0x18045e,..._0x331ac2},'args':[],'tdx':_0x2987cf});gracefulExit(_0x54ddcf);};connectionCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x10a))['description'](a2_0x3068b9(0x193))[a2_0x3068b9(0x81)](connectionListAction),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0xf7),{'hidden':!![]})['description'](a2_0x3068b9(0x2b3))['action'](connectionListAction),connectionCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xa9))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x32d))['action'](async(_0x4bb84d,_0x995b1e)=>{const _0x44dedc=new ConnectionShowCommand(),_0x1181e5=program['opts'](),_0x215381=await createTDXInstance(_0x1181e5),_0x26de41=await _0x44dedc['run']({'options':{..._0x1181e5,..._0x995b1e},'args':[_0x4bb84d],'tdx':_0x215381});gracefulExit(_0x26de41);}),connectionCmd[a2_0x3068b9(0x25c)]('schema\x20<type>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xfd))[a2_0x3068b9(0x81)](async(_0x451517,_0x2cba75)=>{const _0x3dc989=a2_0x3068b9,_0x4c1785=new ConnectionSchemaCommand(),_0x25e7f7=program[_0x3dc989(0x1c7)](),_0xe20cad=await createTDXInstance(_0x25e7f7),_0x523ceb=await _0x4c1785[_0x3dc989(0x392)]({'options':{..._0x25e7f7,..._0x2cba75},'args':[_0x451517],'tdx':_0xe20cad});gracefulExit(_0x523ceb);}),connectionCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x170))[a2_0x3068b9(0x1e7)]('List\x20available\x20connector\x20types')[a2_0x3068b9(0x81)](async _0x51221d=>{const _0x5aa59f=a2_0x3068b9,_0x3bc835=new ConnectionTypesCommand(),_0x559a12=program[_0x5aa59f(0x1c7)](),_0x3a76a=await createTDXInstance(_0x559a12),_0x25e548=await _0x3bc835[_0x5aa59f(0x392)]({'options':{..._0x559a12,..._0x51221d},'args':[],'tdx':_0x3a76a});gracefulExit(_0x25e548);}),connectionCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xcc))[a2_0x3068b9(0x1e7)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x3068b9(0x81)](async(_0x3e3a93,_0xe8c5f1)=>{const _0x565b5a=a2_0x3068b9,_0x465764=new ConnectionSettingsCommand(),_0x377426=program[_0x565b5a(0x1c7)](),_0x4457fb=await createTDXInstance(_0x377426),_0x4257cc=await _0x465764[_0x565b5a(0x392)]({'options':{..._0x377426,..._0xe8c5f1},'args':[_0x3e3a93],'tdx':_0x4457fb});gracefulExit(_0x4257cc);});const casCmd=program['command'](a2_0x3068b9(0x38c))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x365));casCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x10a))['description'](a2_0x3068b9(0x29f))[a2_0x3068b9(0x81)](async _0xf9cfa8=>{const _0x16fa93=a2_0x3068b9,_0x43efd4=new CASListCommand(),_0x17e74a=program[_0x16fa93(0x1c7)](),_0x510224=await createTDXInstance(_0x17e74a),_0x498df8=await _0x43efd4[_0x16fa93(0x392)]({'options':{..._0x17e74a,..._0xf9cfa8},'args':[],'tdx':_0x510224});gracefulExit(_0x498df8);}),casCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x27a))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1ac))['action'](async(_0x158c27,_0x2a94a0)=>{const _0x1ce992=a2_0x3068b9,_0x2df9dd=new CASDescCommand(),_0x54534e=program[_0x1ce992(0x1c7)](),_0x5f26d5=await createTDXInstance(_0x54534e),_0x493667=await _0x2df9dd[_0x1ce992(0x392)]({'options':{..._0x54534e,..._0x2a94a0},'args':_0x158c27?[_0x158c27]:[],'tdx':_0x5f26d5});gracefulExit(_0x493667);}),casCmd['command'](a2_0x3068b9(0x19c))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x89))[a2_0x3068b9(0x133)]('--dir\x20<dir>',a2_0x3068b9(0x199))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1af),a2_0x3068b9(0x1bb))[a2_0x3068b9(0x81)](async(_0x290177,_0xbb313a)=>{const _0x43c6c4=a2_0x3068b9,_0x4a3e9e=new CASPullCommand(),_0x42060f=program[_0x43c6c4(0x1c7)](),_0x781746=await createTDXInstance(_0x42060f),_0x21d7d1=await _0x4a3e9e[_0x43c6c4(0x392)]({'options':{..._0x42060f,..._0xbb313a},'args':_0x290177?[_0x290177]:[],'tdx':_0x781746});gracefulExit(_0x21d7d1);}),casCmd[a2_0x3068b9(0x25c)]('push\x20[target]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x349))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1af),a2_0x3068b9(0x123))[a2_0x3068b9(0x81)](async(_0x42384d,_0x53067e)=>{const _0x13113b=a2_0x3068b9,_0x14e36c=new CASPushCommand(),_0x4463db=program[_0x13113b(0x1c7)](),_0x4858a5=await createTDXInstance(_0x4463db),_0x525723=await _0x14e36c[_0x13113b(0x392)]({'options':{..._0x4463db,..._0x53067e},'args':_0x42384d?[_0x42384d]:[],'tdx':_0x4858a5});gracefulExit(_0x525723);}),casCmd[a2_0x3068b9(0x25c)]('preview\x20<segment_name>')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2b7))[a2_0x3068b9(0x133)]('--audience\x20<name>','Composable\x20audience\x20name')[a2_0x3068b9(0x81)](async(_0x23d0ec,_0x24dcbd)=>{const _0x128963=a2_0x3068b9,_0x965b7b=new CASPreviewCommand(),_0x3967fa=program[_0x128963(0x1c7)](),_0x112c59=await createTDXInstance(_0x3967fa),_0x685f47=await _0x965b7b[_0x128963(0x392)]({'options':{..._0x3967fa,..._0x24dcbd},'args':[_0x23d0ec,_0x24dcbd[_0x128963(0x251)]],'tdx':_0x112c59});gracefulExit(_0x685f47);});const casSgCmd=casCmd[a2_0x3068b9(0x25c)]('sg')[a2_0x3068b9(0x1e7)]('Composable\x20segment\x20commands');casSgCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x23d))[a2_0x3068b9(0x1e7)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0x3068b9(0x81)](async(_0x50b670,_0x31a103)=>{const _0x1a95a0=a2_0x3068b9,_0x15d452=new CASSegmentListCommand(),_0x3b8bd9=program[_0x1a95a0(0x1c7)](),_0x3a3dd8=await createTDXInstance(_0x3b8bd9),_0x36d033=await _0x15d452[_0x1a95a0(0x392)]({'options':{..._0x3b8bd9,..._0x31a103},'args':_0x50b670?[_0x50b670]:[],'tdx':_0x3a3dd8});gracefulExit(_0x36d033);});const journeyCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0xdd))['description'](a2_0x3068b9(0x26e)),journeyListAction=async(_0x145dfc,_0x8e7aa1)=>{const _0x17d229=a2_0x3068b9,_0x4ca8ef=new JourneyListCommand(),_0xe555de=program[_0x17d229(0x1c7)](),_0x469b2d=await createTDXInstance(_0xe555de),_0x2018fb=await _0x4ca8ef[_0x17d229(0x392)]({'options':{..._0xe555de,..._0x8e7aa1},'args':_0x145dfc?[_0x145dfc]:[],'tdx':_0x469b2d});gracefulExit(_0x2018fb);};journeyCmd[a2_0x3068b9(0x25c)]('list\x20[pattern]')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x35e))[a2_0x3068b9(0x81)](journeyListAction),journeyCmd['command'](a2_0x3068b9(0x24b))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x148))[a2_0x3068b9(0x133)](a2_0x3068b9(0x127),a2_0x3068b9(0x300))[a2_0x3068b9(0x133)](a2_0x3068b9(0x25e),a2_0x3068b9(0x88))[a2_0x3068b9(0x81)](async(_0xd2857f,_0x1a41f5)=>{const _0x4fae38=a2_0x3068b9,_0x292d2f=new JourneyViewCommand(),_0x50ecfb=program['opts'](),_0x5b54dc=await createTDXInstance(_0x50ecfb),_0x3af884=await _0x292d2f[_0x4fae38(0x392)]({'options':{..._0x50ecfb,..._0x1a41f5},'args':[_0xd2857f],'tdx':_0x5b54dc});gracefulExit(_0x3af884);}),journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xf3))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2b5))[a2_0x3068b9(0x133)](a2_0x3068b9(0x307),a2_0x3068b9(0xee))[a2_0x3068b9(0x133)](a2_0x3068b9(0x9c),a2_0x3068b9(0x35c))[a2_0x3068b9(0x133)](a2_0x3068b9(0x194),a2_0x3068b9(0x2c9))[a2_0x3068b9(0x133)](a2_0x3068b9(0xab),a2_0x3068b9(0x13f))[a2_0x3068b9(0x81)](async(_0x5d1e8b,_0x4bd2f2)=>{const _0x484d59=new JourneyStatsCommand(),_0x4e8fe2=program['opts'](),_0x3d5002=await createTDXInstance(_0x4e8fe2),_0x23b0f5=await _0x484d59['run']({'options':{..._0x4e8fe2,..._0x4bd2f2},'args':[_0x5d1e8b],'tdx':_0x3d5002});gracefulExit(_0x23b0f5);}),journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x124))[a2_0x3068b9(0x1e7)]('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')[a2_0x3068b9(0x133)](a2_0x3068b9(0xf2),a2_0x3068b9(0xf0))['option'](a2_0x3068b9(0x9c),a2_0x3068b9(0x35c))[a2_0x3068b9(0x133)](a2_0x3068b9(0x194),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option']('--limit\x20<number>','Maximum\x20number\x20of\x20nodes',_0x2bb998=>{const _0x58f400=a2_0x3068b9,_0x4f459f=parseInt(_0x2bb998,0xa);if(isNaN(_0x4f459f))throw new Error(_0x58f400(0x219)+_0x2bb998+_0x58f400(0x324));return _0x4f459f;})['action'](async(_0x39d4bb,_0x226325)=>{const _0xd1ad59=a2_0x3068b9,_0x4f787f=new JourneyTrafficCommand(),_0x483810=program[_0xd1ad59(0x1c7)](),_0x5746c8=await createTDXInstance(_0x483810),_0x205075=await _0x4f787f[_0xd1ad59(0x392)]({'options':{..._0x483810,..._0x226325},'args':[_0x39d4bb],'tdx':_0x5746c8});gracefulExit(_0x205075);}),journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x16c))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2a2))[a2_0x3068b9(0x81)](async(_0x428eea,_0x3d43f6)=>{const _0x52a8ef=a2_0x3068b9,_0x3ff1d9=new JourneyPauseCommand(),_0x55f415=program[_0x52a8ef(0x1c7)](),_0xe653a1=await createTDXInstance(_0x55f415),_0x5b99cc=await _0x3ff1d9[_0x52a8ef(0x392)]({'options':{..._0x55f415,..._0x3d43f6},'args':[_0x428eea],'tdx':_0xe653a1});gracefulExit(_0x5b99cc);}),journeyCmd[a2_0x3068b9(0x25c)]('resume\x20<name-or-path>')[a2_0x3068b9(0x1e7)]('Resume\x20a\x20paused\x20journey')[a2_0x3068b9(0x81)](async(_0x4b6d92,_0x410f01)=>{const _0x511199=a2_0x3068b9,_0x5c19e3=new JourneyResumeCommand(),_0x157250=program[_0x511199(0x1c7)](),_0xb99f16=await createTDXInstance(_0x157250),_0x379943=await _0x5c19e3[_0x511199(0x392)]({'options':{..._0x157250,..._0x410f01},'args':[_0x4b6d92],'tdx':_0xb99f16});gracefulExit(_0x379943);}),journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x19c))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x18e))[a2_0x3068b9(0x133)]('--dry-run',a2_0x3068b9(0x1bb))[a2_0x3068b9(0x81)](async(_0x27cea3,_0x22de64)=>{const _0x53b183=new JourneyPullCommand(),_0x3254b7=program['opts'](),_0x24572c=await createTDXInstance(_0x3254b7),_0x244ca4=await _0x53b183['run']({'options':{..._0x3254b7,..._0x22de64},'args':_0x27cea3?[_0x27cea3]:[],'tdx':_0x24572c});gracefulExit(_0x244ca4);}),journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x36b))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x254))['action'](async(_0x570d1e,_0x5ad673)=>{const _0x311348=a2_0x3068b9,_0x49d659=new JourneyPushCommand(),_0x5ccf60=program[_0x311348(0x1c7)](),_0x58b084=await createTDXInstance(_0x5ccf60),_0x3d7332=await _0x49d659[_0x311348(0x392)]({'options':{..._0x5ccf60,..._0x5ad673},'args':_0x570d1e?[_0x570d1e]:[],'tdx':_0x58b084});gracefulExit(_0x3d7332);}),journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x358))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x224))['action'](async(_0x2d57b6,_0x3876b5)=>{const _0x56ef53=a2_0x3068b9,_0x4b6539=new JourneyColumnsCommand(),_0xaaf6ad=program[_0x56ef53(0x1c7)](),_0x7ce894=await createTDXInstance(_0xaaf6ad),_0x1ea408=await _0x4b6539[_0x56ef53(0x392)]({'options':{..._0xaaf6ad,..._0x3876b5},'args':[_0x2d57b6],'tdx':_0x7ce894});gracefulExit(_0x1ea408);}),journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x18b))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x36f))[a2_0x3068b9(0x81)](async(_0x217eb8,_0x47275a)=>{const _0x837368=new JourneyActivationsCommand(),_0x5e7f99=program['opts'](),_0xf1b9e=await createTDXInstance(_0x5e7f99),_0x4a8fcd=await _0x837368['run']({'options':{..._0x5e7f99,..._0x47275a},'args':[_0x217eb8],'tdx':_0xf1b9e});gracefulExit(_0x4a8fcd);}),journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x338))[a2_0x3068b9(0x1e7)]('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x3068b9(0x81)](async(_0x2b8bfb,_0x47b4af)=>{const _0x189099=a2_0x3068b9,_0x445a7b=new JourneyVersionsCommand(),_0x19df54=program[_0x189099(0x1c7)](),_0x2bafe6=await createTDXInstance(_0x19df54),_0x23e22f=await _0x445a7b[_0x189099(0x392)]({'options':{..._0x19df54,..._0x47b4af},'args':[_0x2b8bfb],'tdx':_0x2bafe6});gracefulExit(_0x23e22f);});const journeyVersionCmd=journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x317))[a2_0x3068b9(0x1e7)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x17d))[a2_0x3068b9(0x1e7)]('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0x3068b9(0x81)](async(_0x172f1b,_0x2e6417)=>{const _0x108c38=a2_0x3068b9,_0x42c078=new JourneyVersionCreateCommand(),_0x3255cb=program[_0x108c38(0x1c7)](),_0x5dc696=await createTDXInstance(_0x3255cb),_0xd8b834=await _0x42c078[_0x108c38(0x392)]({'options':{..._0x3255cb,..._0x2e6417},'args':[_0x172f1b],'tdx':_0x5dc696});gracefulExit(_0xd8b834);}),journeyVersionCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x24b))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x319))['requiredOption']('--version\x20<number>',a2_0x3068b9(0x1f2))['action'](async(_0x1d15be,_0x52d6ea)=>{const _0x2e1962=a2_0x3068b9,_0x22369f=new JourneyVersionViewCommand(),_0x40c217=program[_0x2e1962(0x1c7)](),_0x1d3d1a=await createTDXInstance(_0x40c217),_0x507d2f=await _0x22369f[_0x2e1962(0x392)]({'options':{..._0x40c217,..._0x52d6ea},'args':[_0x1d15be],'tdx':_0x1d3d1a});gracefulExit(_0x507d2f);}),journeyCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x371))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x268))['action'](async(_0x4c2a0a,_0x134905)=>{const _0x22472b=a2_0x3068b9,_0xa87e21=new JourneyValidateCommand(),_0x1650cc=program[_0x22472b(0x1c7)](),_0x33d5a1=await createTDXInstance(_0x1650cc),_0x979623=await _0xa87e21[_0x22472b(0x392)]({'options':{..._0x1650cc,..._0x134905},'args':_0x4c2a0a?[_0x4c2a0a]:[],'tdx':_0x33d5a1});gracefulExit(_0x979623);}),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x363))['description'](a2_0x3068b9(0x29d))[a2_0x3068b9(0x81)](journeyListAction);const agentSyncCmd=program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x198))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x17e));agentSyncCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x164))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x252))[a2_0x3068b9(0x133)](a2_0x3068b9(0x210),a2_0x3068b9(0x19a))[a2_0x3068b9(0x133)](a2_0x3068b9(0x29b),a2_0x3068b9(0x31b))['option'](a2_0x3068b9(0x97),a2_0x3068b9(0x1a7))[a2_0x3068b9(0x81)](async(_0x3f4601,_0x3f42fc,_0x3b2eb3)=>{const _0x26e7dc=a2_0x3068b9,_0x4bb287=new AgentPullCommand(),_0x2b1079=program[_0x26e7dc(0x1c7)](),_0x13592c=await createTDXInstance(_0x2b1079),_0x46d542=[];if(_0x3f4601)_0x46d542[_0x26e7dc(0x28c)](_0x3f4601);if(_0x3f42fc)_0x46d542['push'](_0x3f42fc);const _0x208f98=await _0x4bb287['run']({'options':{..._0x2b1079,..._0x3b2eb3},'args':_0x46d542,'tdx':_0x13592c});gracefulExit(_0x208f98);}),agentSyncCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x2bd))[a2_0x3068b9(0x1e7)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x3068b9(0x133)](a2_0x3068b9(0x29b),a2_0x3068b9(0x180))[a2_0x3068b9(0x81)](async(_0x25813d,_0x8c330a)=>{const _0xac7d4=a2_0x3068b9,_0x1daf03=new AgentPushCommand(),_0x21bda6=program[_0xac7d4(0x1c7)](),_0x11eeab=await createTDXInstance(_0x21bda6),_0x26b4f4=await _0x1daf03['run']({'options':{..._0x21bda6,..._0x8c330a},'args':_0x25813d?[_0x25813d]:[],'tdx':_0x11eeab});gracefulExit(_0x26b4f4);}),agentSyncCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xe7))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2f8))[a2_0x3068b9(0x133)]('-n,\x20--name\x20<name>',a2_0x3068b9(0x375))[a2_0x3068b9(0x81)](async(_0x3421d6,_0x6b7d68)=>{const _0x597b84=a2_0x3068b9,_0x10a932=new AgentCloneCommand(),_0x46c8c9=program[_0x597b84(0x1c7)](),_0xc941dd=await createTDXInstance(_0x46c8c9),_0x57d00f=await _0x10a932['run']({'options':{..._0x46c8c9,..._0x6b7d68},'args':_0x3421d6?[_0x3421d6]:[],'tdx':_0xc941dd});gracefulExit(_0x57d00f);}),agentSyncCmd[a2_0x3068b9(0x25c)]('test\x20[path]')['description'](a2_0x3068b9(0x207))[a2_0x3068b9(0x133)](a2_0x3068b9(0xed),a2_0x3068b9(0x2e2))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2ee),a2_0x3068b9(0xdb))['option'](a2_0x3068b9(0x1af),a2_0x3068b9(0xd3))['option'](a2_0x3068b9(0x327),'Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x3068b9(0x133)](a2_0x3068b9(0x253),a2_0x3068b9(0x272))[a2_0x3068b9(0x81)](async(_0x46cbc7,_0x1c322f)=>{const _0x1aa68b=a2_0x3068b9,_0x142a80=new AgentTestCommand(),_0xdcc9d9=program[_0x1aa68b(0x1c7)](),_0x2d1dda=await createTDXInstance(_0xdcc9d9),_0x2a102a=await _0x142a80[_0x1aa68b(0x392)]({'options':{..._0xdcc9d9,..._0x1c322f},'args':_0x46cbc7?[_0x46cbc7]:[],'tdx':_0x2d1dda});gracefulExit(_0x2a102a);}),agentSyncCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x383))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x37b))['action'](llmAgentListAction),agentSyncCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x178))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x94))[a2_0x3068b9(0x81)](async(_0xca6790,_0x3ad4a4)=>{const _0x12cea2=a2_0x3068b9,_0x15037b=new LLMAgentShowCommand(),_0x46d11d=program[_0x12cea2(0x1c7)](),_0xfd6c85=await createTDXInstance(_0x46d11d),_0x24a343=await _0x15037b[_0x12cea2(0x392)]({'options':{..._0x46d11d,..._0x3ad4a4},'args':[_0xca6790],'tdx':_0xfd6c85});gracefulExit(_0x24a343);}),agentSyncCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xb9))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2ef))[a2_0x3068b9(0x133)](a2_0x3068b9(0x211),a2_0x3068b9(0x93))[a2_0x3068b9(0x133)](a2_0x3068b9(0x330),a2_0x3068b9(0x31c),a2_0x3068b9(0x2ab))[a2_0x3068b9(0x133)](a2_0x3068b9(0x315),a2_0x3068b9(0x1a3))[a2_0x3068b9(0x133)]('--max-tool-iterations\x20<n>','Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x3068b9(0x133)](a2_0x3068b9(0x77),a2_0x3068b9(0x285),'0.7')[a2_0x3068b9(0x81)](async(_0x5a8e35,_0x170eaa)=>{const _0x68316c=a2_0x3068b9,_0x496d6c=new LLMAgentCreateCommand(),_0x487304=program[_0x68316c(0x1c7)](),_0x2d78c8=await createTDXInstance(_0x487304),_0x4526ec=await _0x496d6c[_0x68316c(0x392)]({'options':{..._0x487304,..._0x170eaa},'args':[_0x5a8e35],'tdx':_0x2d78c8});gracefulExit(_0x4526ec);}),agentSyncCmd['command'](a2_0x3068b9(0xb0))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0xb3))[a2_0x3068b9(0x133)]('--name\x20<text>','Agent\x20name')[a2_0x3068b9(0x133)]('--prompt\x20<text>',a2_0x3068b9(0xa1))[a2_0x3068b9(0x133)](a2_0x3068b9(0x233),a2_0x3068b9(0x2c6))['option'](a2_0x3068b9(0x315),a2_0x3068b9(0x1a3))['action'](async(_0x579815,_0xabecd5)=>{const _0x2542e3=a2_0x3068b9,_0x238ea2=new LLMAgentUpdateCommand(),_0x2956a0=program[_0x2542e3(0x1c7)](),_0x42c19f=await createTDXInstance(_0x2956a0),_0x38e6a7=await _0x238ea2[_0x2542e3(0x392)]({'options':{..._0x2956a0,..._0xabecd5},'args':[_0x579815],'tdx':_0x42c19f});gracefulExit(_0x38e6a7);}),agentSyncCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x339))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x2da))['action'](async(_0x17216f,_0xe859aa)=>{const _0x5bf58f=a2_0x3068b9,_0x5b7a7b=new LLMAgentDeleteCommand(),_0x43891f=program[_0x5bf58f(0x1c7)](),_0x4483d8=await createTDXInstance(_0x43891f),_0x4a21f4=await _0x5b7a7b[_0x5bf58f(0x392)]({'options':{..._0x43891f,..._0xe859aa},'args':[_0x17216f],'tdx':_0x4483d8});gracefulExit(_0x4a21f4);});const workCmd=program['command']('work')[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x1a8));workCmd['option'](a2_0x3068b9(0x2c1),a2_0x3068b9(0xe4))[a2_0x3068b9(0x133)](a2_0x3068b9(0x22c),a2_0x3068b9(0x294))[a2_0x3068b9(0x81)](workSummaryAction),workCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x237))[a2_0x3068b9(0x1e7)](a2_0x3068b9(0x20f))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1da),'Link\x20workspace\x20to\x20a\x20GitHub\x20repository')[a2_0x3068b9(0x81)](workInitAction),workCmd['command']('new\x20<title>')[a2_0x3068b9(0x1e7)]('Create\x20a\x20new\x20document')[a2_0x3068b9(0x133)](a2_0x3068b9(0x2e4),a2_0x3068b9(0x23b),a2_0x3068b9(0x344))[a2_0x3068b9(0x133)](a2_0x3068b9(0x2ee),a2_0x3068b9(0x1cb))[a2_0x3068b9(0x133)](a2_0x3068b9(0x1f6),'Priority\x20(critical,\x20high,\x20medium,\x20low)')['option'](a2_0x3068b9(0x234),a2_0x3068b9(0x20d))[a2_0x3068b9(0x133)](a2_0x3068b9(0x22e),a2_0x3068b9(0x2f1))[a2_0x3068b9(0x133)](a2_0x3068b9(0x189),'Initial\x20status')['option'](a2_0x3068b9(0x1c0),'Assignee')[a2_0x3068b9(0x81)](workNewAction),workCmd[a2_0x3068b9(0x25c)]('move\x20<name>\x20<status>')['description'](a2_0x3068b9(0x246))[a2_0x3068b9(0x81)](workMoveAction),workCmd[a2_0x3068b9(0x25c)]('board')[a2_0x3068b9(0x1e7)]('Show\x20Kanban\x20board\x20view\x20of\x20tasks')[a2_0x3068b9(0x133)](a2_0x3068b9(0x2c1),a2_0x3068b9(0xe4))[a2_0x3068b9(0x133)](a2_0x3068b9(0x22c),a2_0x3068b9(0x294))[a2_0x3068b9(0x81)](workBoardAction),workCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0xa9))['description'](a2_0x3068b9(0x2b1))['action'](workShowAction),workCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x312))['description']('Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document')[a2_0x3068b9(0x81)](workLinksAction),workCmd[a2_0x3068b9(0x25c)](a2_0x3068b9(0x1d7))['description'](a2_0x3068b9(0x39f))[a2_0x3068b9(0x81)](workOpenAction),program[a2_0x3068b9(0x25c)](a2_0x3068b9(0x32f),{'hidden':!![]})['action'](()=>{const _0x2e2cba=a2_0x3068b9;function _0x32cb16(_0x5a3288,_0x266026){const _0x22e9e6=a2_0x4365,_0x29a312=[];for(const _0x154c6a of _0x5a3288[_0x22e9e6(0x240)]){if(_0x154c6a[_0x22e9e6(0x11e)])continue;const _0x4ee041=_0x266026?_0x266026+'\x20'+_0x154c6a['name']():_0x154c6a[_0x22e9e6(0x1e8)](),_0x231867=_0x4ee041[_0x22e9e6(0xbe)]('\x20')[0x0],_0x1dc7e7=COMMAND_CATEGORIES[_0x22e9e6(0x39c)](_0x558876=>_0x558876[_0x22e9e6(0x240)]['includes'](_0x231867)),_0x3b7007=_0x1dc7e7?.[_0x22e9e6(0x1e8)]??'';if(_0x154c6a[_0x22e9e6(0x240)]['length']>0x0)_0x29a312[_0x22e9e6(0x28c)](..._0x32cb16(_0x154c6a,_0x4ee041));else{const _0x125031=(_0x154c6a[_0x22e9e6(0x1b2)]||[])[_0x22e9e6(0x19b)](_0x17c797=>{const _0x514921=_0x22e9e6,_0x4a10f4=_0x17c797['variadic']?_0x17c797[_0x514921(0x1e8)]()+'...':_0x17c797[_0x514921(0x1e8)]();return _0x17c797[_0x514921(0x115)]?'<'+_0x4a10f4+'>':'['+_0x4a10f4+']';})['join']('\x20'),_0x4c3711=_0x154c6a['options'][_0x22e9e6(0x242)](_0x1861f9=>!_0x1861f9[_0x22e9e6(0x1a4)]&&_0x1861f9['long']!==_0x22e9e6(0x1dd))['map'](_0x23abc2=>({'flags':_0x23abc2['flags'],'description':_0x23abc2[_0x22e9e6(0x1e7)]}));_0x29a312[_0x22e9e6(0x28c)]({'name':_0x4ee041,'description':_0x154c6a[_0x22e9e6(0x1e7)](),'group':_0x3b7007,'usage':_0x125031,'options':_0x4c3711});}}return _0x29a312;}console[_0x2e2cba(0xb2)](JSON[_0x2e2cba(0xaa)](_0x32cb16(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x10a3b5=a2_0x3068b9,_0x44e981=!process['argv'][_0x10a3b5(0x1cd)](0x2)[_0x10a3b5(0x131)];showBriefHelp=_0x44e981,program[_0x10a3b5(0x104)](process[_0x10a3b5(0x36c)]);_0x44e981&&program['outputHelp']();const _0x54a887=process[_0x10a3b5(0x36c)][0x2]===_0x10a3b5(0x13e);if(process[_0x10a3b5(0x2c3)][_0x10a3b5(0x12d)]&&process[_0x10a3b5(0x36c)][_0x10a3b5(0x131)]>0x2&&!isDevVersion()&&!_0x54a887){const _0xa01109=loadReleaseChannel();checkForUpdate(currentVersion,_0xa01109)[_0x10a3b5(0x14f)](_0x1c4a7b=>{_0x1c4a7b&&displayUpdateNotification(_0x1c4a7b);})['catch'](()=>{});}}
1
+ const a2_0x2ebaf3=a2_0x22e8;(function(_0x1fa865,_0x21ae70){const _0xa4474e=a2_0x22e8,_0x18a55c=_0x1fa865();while(!![]){try{const _0x21ea2a=parseInt(_0xa4474e(0x1f3))/0x1+-parseInt(_0xa4474e(0x2c6))/0x2+-parseInt(_0xa4474e(0x2e8))/0x3*(-parseInt(_0xa4474e(0x29c))/0x4)+-parseInt(_0xa4474e(0x416))/0x5*(-parseInt(_0xa4474e(0x289))/0x6)+parseInt(_0xa4474e(0x422))/0x7+-parseInt(_0xa4474e(0x4ab))/0x8+-parseInt(_0xa4474e(0x3b5))/0x9;if(_0x21ea2a===_0x21ae70)break;else _0x18a55c['push'](_0x18a55c['shift']());}catch(_0x54c919){_0x18a55c['push'](_0x18a55c['shift']());}}}(a2_0x46e2,0xb7f0a));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x2ebaf3(0x21f)][a2_0x2ebaf3(0x4df)](a2_0x2ebaf3(0x2c1))){let versionOutput=a2_0x2ebaf3(0x1e4)+currentVersion;buildInfo[a2_0x2ebaf3(0x223)]&&!currentVersion['includes'](buildInfo[a2_0x2ebaf3(0x223)])&&(versionOutput+='\x20('+buildInfo[a2_0x2ebaf3(0x223)]+')'),buildInfo[a2_0x2ebaf3(0x25e)]&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x2ebaf3(0x25e)]),console[a2_0x2ebaf3(0x1e1)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x34aa1a,_0x4ec67e){const _0x9e8e2a=a2_0x2ebaf3,_0x1805d5={..._0x34aa1a};for(const [_0x238f61,_0x185f73]of Object[_0x9e8e2a(0x454)](_0x4ec67e)){_0x185f73!==undefined&&(_0x1805d5[_0x238f61]=_0x185f73);}return _0x1805d5;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x2ebaf3(0x223)]&&!currentVersion['includes'](buildInfo[a2_0x2ebaf3(0x223)])?description+=a2_0x2ebaf3(0x2df)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x2ebaf3(0x2df)+currentVersion;program[a2_0x2ebaf3(0x3a9)]('tdx')[a2_0x2ebaf3(0x39c)](description),program[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3cc),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x44c),a2_0x2ebaf3(0x3a0))[a2_0x2ebaf3(0x1ea)]('--site\x20<site>',a2_0x2ebaf3(0x378),'us01')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x205),a2_0x2ebaf3(0x1b5))['option'](a2_0x2ebaf3(0x264),a2_0x2ebaf3(0x282))['option'](a2_0x2ebaf3(0x2bf),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x43a),a2_0x2ebaf3(0x1f5))['option'](a2_0x2ebaf3(0x3ab),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x228),'Save\x20output\x20to\x20file')[a2_0x2ebaf3(0x1ea)]('--limit\x20<number>',a2_0x2ebaf3(0x49d))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2ec),a2_0x2ebaf3(0x20f),![])[a2_0x2ebaf3(0x1ea)]('--no-color',a2_0x2ebaf3(0x312),![])[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x21e),a2_0x2ebaf3(0x2bc),![])[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3ad),a2_0x2ebaf3(0x3fa))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2f7),a2_0x2ebaf3(0x257))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x290),a2_0x2ebaf3(0x44e),'30')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x48f),![])['option']('-y,\x20--yes',a2_0x2ebaf3(0x2af),![])['option'](a2_0x2ebaf3(0x48b),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2ef),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x2ebaf3(0x43c),a2_0x2ebaf3(0x32f)),program[a2_0x2ebaf3(0x24d)]({'formatHelp':(_0x430198,_0x5459b5)=>{const _0x2f0d81=a2_0x2ebaf3,_0x19a48c=_0x5459b5[_0x2f0d81(0x44d)](_0x430198,_0x5459b5),_0x272fab=0x2,_0x278b62=0x2;function _0x447bfc(_0x39c4b1){const _0x2fbc10=_0x2f0d81,_0x49f1fe=_0x39c4b1;return!!(_0x49f1fe[_0x2fbc10(0x310)]||_0x49f1fe[_0x2fbc10(0x4aa)]);}function _0x35ebcc(_0x547fd0,_0x5897b7){const _0x5b21d7=_0x2f0d81;if(_0x5897b7){const _0x598d5f=''+_0x547fd0[_0x5b21d7(0x25f)](_0x19a48c+_0x278b62)+_0x5897b7;return _0x598d5f;}return _0x547fd0;}function _0x3ef45a(_0x4d8cca){const _0x1a96fa=_0x2f0d81;return _0x4d8cca[_0x1a96fa(0x413)]('\x0a')[_0x1a96fa(0x41e)](/^/gm,'\x20'[_0x1a96fa(0x256)](_0x272fab));}const _0x39d53f=[];_0x39d53f[_0x2f0d81(0x437)]('Usage:\x20'+_0x5459b5['commandUsage'](_0x430198));const _0x4f6c00=_0x5459b5[_0x2f0d81(0x2b2)](_0x430198);_0x4f6c00&&(_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f['push'](_0x4f6c00));const _0x6f5ada=_0x430198[_0x2f0d81(0x240)][_0x2f0d81(0x491)](_0xdae70=>!_0x447bfc(_0xdae70));if(_0x6f5ada[_0x2f0d81(0x22a)]>0x0){if(_0x430198['name']()==='tdx'){const _0x627b42=_0x430198['opts'](),_0xe92fba=!_0x627b42[_0x2f0d81(0x25a)]&&process[_0x2f0d81(0x465)][_0x2f0d81(0x4c7)],_0x314054=COMMAND_CATEGORIES,_0x4db259=(_0x9f2085,_0x1b4b92)=>_0xe92fba?_0x1b4b92(_0x9f2085):_0x9f2085,_0x27c937=new Map();_0x6f5ada[_0x2f0d81(0x21c)](_0x1d0e38=>{const _0x36c115=_0x2f0d81;_0x27c937[_0x36c115(0x281)](_0x1d0e38[_0x36c115(0x3a9)](),_0x1d0e38);}),_0x314054[_0x2f0d81(0x21c)](_0x552c2d=>{const _0x122da8=_0x2f0d81,_0x206b3d=_0x552c2d['commands'][_0x122da8(0x2dd)](_0x5e5715=>_0x27c937[_0x122da8(0x350)](_0x5e5715)??[]);if(_0x206b3d[_0x122da8(0x22a)]>0x0){_0x39d53f['push'](''),_0x39d53f[_0x122da8(0x437)](_0x4db259(_0x552c2d[_0x122da8(0x3a9)]+':',_0x552c2d[_0x122da8(0x4a6)]));const _0x42a90f=_0x206b3d[_0x122da8(0x2b8)](_0x446221=>{const _0x56c571=_0x122da8,_0x30494b=_0x5459b5[_0x56c571(0x485)](_0x446221),_0x26b9bf=_0x5459b5[_0x56c571(0x342)](_0x446221);return _0x35ebcc(_0x30494b,_0x26b9bf);});_0x39d53f[_0x122da8(0x437)](_0x3ef45a(_0x42a90f));}}),_0x39d53f['push'](''),_0x39d53f['push'](_0x2f0d81(0x270));}else{const _0x588259=_0x6f5ada[_0x2f0d81(0x2b8)](_0x52b278=>{const _0xa22dac=_0x2f0d81,_0x4c5a10=_0x5459b5[_0xa22dac(0x485)](_0x52b278),_0x529a34=_0x5459b5['subcommandDescription'](_0x52b278);return _0x35ebcc(_0x4c5a10,_0x529a34);});_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f['push']('Commands:'),_0x39d53f[_0x2f0d81(0x437)](_0x3ef45a(_0x588259));}}if(showBriefHelp&&_0x430198[_0x2f0d81(0x3a9)]()===_0x2f0d81(0x3ca))_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f[_0x2f0d81(0x437)](_0x2f0d81(0x2c3));else{const _0x4debf9=_0x430198[_0x2f0d81(0x222)]['filter'](_0x367166=>!_0x447bfc(_0x367166));if(_0x4debf9['length']>0x0){const _0x3bc6c2=_0x4debf9['map'](_0x1e50a5=>{const _0x354625=_0x2f0d81,_0x5df4bc=_0x5459b5[_0x354625(0x376)](_0x1e50a5),_0x59a2d8=_0x5459b5[_0x354625(0x1c7)](_0x1e50a5);return _0x35ebcc(_0x5df4bc,_0x59a2d8);});_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f[_0x2f0d81(0x437)]('Options:'),_0x39d53f[_0x2f0d81(0x437)](_0x3ef45a(_0x3bc6c2));}}const _0xbb3f83=(_0x430198[_0x2f0d81(0x2d7)]||[])['filter'](_0x519c99=>!_0x447bfc(_0x519c99));if(_0xbb3f83[_0x2f0d81(0x22a)]>0x0){const _0x17ede1=_0xbb3f83[_0x2f0d81(0x2b8)](_0x53f3d3=>{const _0x2487b7=_0x2f0d81,_0x5d9955=_0x5459b5['argumentTerm'](_0x53f3d3),_0x23b0d5=_0x5459b5[_0x2487b7(0x3a1)](_0x53f3d3);return _0x35ebcc(_0x5d9955,_0x23b0d5);});_0x39d53f[_0x2f0d81(0x437)](''),_0x39d53f[_0x2f0d81(0x437)](_0x2f0d81(0x363)),_0x39d53f[_0x2f0d81(0x437)](_0x3ef45a(_0x17ede1));}return _0x39d53f[_0x2f0d81(0x413)]('\x0a')+'\x0a';},'subcommandTerm':_0xaf1063=>{const _0x1177c9=a2_0x2ebaf3,_0x2dc186=(_0xaf1063[_0x1177c9(0x2d7)]||[])[_0x1177c9(0x2b8)](_0x44afe8=>_0x44afe8['required']?'<'+_0x44afe8['name']()+'>':'['+_0x44afe8[_0x1177c9(0x3a9)]()+']')['join']('\x20'),_0xde6b64=_0xaf1063[_0x1177c9(0x3b4)](),_0x5c9cbf=_0xde6b64[_0x1177c9(0x22a)]>0x0?_0xaf1063['name']()+',\x20'+_0xde6b64[_0x1177c9(0x413)](',\x20'):_0xaf1063[_0x1177c9(0x3a9)]();return _0x2dc186?_0x5c9cbf+'\x20'+_0x2dc186:_0x5c9cbf;}}),program[a2_0x2ebaf3(0x37b)](a2_0x2ebaf3(0x43f),_0x5e3623=>{const _0xd9dad1=a2_0x2ebaf3,_0x3095a8=_0x5e3623[_0xd9dad1(0x1af)]();if(_0x3095a8[_0xd9dad1(0x373)]){const _0x47db77=resolve(_0x3095a8['directory']),_0x45f57b=_0x47db77!==_0x3095a8[_0xd9dad1(0x373)]?_0xd9dad1(0x402)+_0x47db77+')':'';if(!existsSync(_0x47db77))throw new SDKError(ErrorCode[_0xd9dad1(0x42f)],_0xd9dad1(0x384)+_0x3095a8['directory']+_0x45f57b,undefined,{'helpText':_0xd9dad1(0x3be)});const _0x120db6=statSync(_0x47db77);if(!_0x120db6[_0xd9dad1(0x31f)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x3095a8[_0xd9dad1(0x373)]+_0x45f57b,undefined,{'helpText':_0xd9dad1(0x439)});process[_0xd9dad1(0x4dd)](_0x47db77);}if(!_0x3095a8[_0xd9dad1(0x3dd)]){if(_0x3095a8[_0xd9dad1(0x46a)])_0x3095a8['format']=_0xd9dad1(0x46a);else{if(_0x3095a8['json'])_0x3095a8[_0xd9dad1(0x3dd)]=_0xd9dad1(0x48e);else{if(_0x3095a8[_0xd9dad1(0x401)])_0x3095a8[_0xd9dad1(0x3dd)]='jsonl';else _0x3095a8['tsv']&&(_0x3095a8[_0xd9dad1(0x3dd)]=_0xd9dad1(0x3f7));}}}if(_0x3095a8[_0xd9dad1(0x1eb)])_0x3095a8['logLevel']=LogLevel[_0xd9dad1(0x366)];else{if(_0x3095a8[_0xd9dad1(0x3df)])_0x3095a8[_0xd9dad1(0x209)]=LogLevel[_0xd9dad1(0x353)];else _0x3095a8[_0xd9dad1(0x209)]===undefined&&(_0x3095a8[_0xd9dad1(0x209)]=LogLevel[_0xd9dad1(0x1b8)]);}});async function createTDXInstance(_0x2d71fc){const _0x1104ae=a2_0x2ebaf3,_0x42e31=await GlobalContext[_0x1104ae(0x4e8)](_0x2d71fc);_0x42e31['injectIntoOptions'](_0x2d71fc);const _0x3aff06=Number(_0x2d71fc['timeout']),_0x3b23dc=!isNaN(_0x3aff06)&&_0x3aff06>0x0?_0x3aff06*0x3e8:undefined;return TDX[_0x1104ae(0x4d9)]({'site':_0x42e31['site'],'apiKey':_0x42e31['apiKey'],'accessToken':_0x42e31['accessToken'],'logLevel':_0x42e31[_0x1104ae(0x209)],'profile':_0x42e31[_0x1104ae(0x268)],'timeout':_0x3b23dc});}const databaseCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x219))['alias']('db')[a2_0x2ebaf3(0x39c)]('Database\x20management\x20commands'),databaseListAction=async(_0x6f7b87,_0x5ea35b)=>{const _0x4e5120=a2_0x2ebaf3,_0x3f2dfc=new DatabasesCommand(),_0x2fbff1=program[_0x4e5120(0x1af)](),_0x42ae15=await createTDXInstance(_0x2fbff1),_0x279a13=await _0x3f2dfc[_0x4e5120(0x1e5)]({'options':{..._0x2fbff1,..._0x5ea35b},'args':_0x6f7b87?[_0x6f7b87]:[],'tdx':_0x42ae15});gracefulExit(_0x279a13);};databaseCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3c4))[a2_0x2ebaf3(0x345)](databaseListAction),program[a2_0x2ebaf3(0x308)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2f3))[a2_0x2ebaf3(0x345)](databaseListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4b0))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x266))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2dc),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x288),a2_0x2ebaf3(0x2c8))['option']('--chat-id\x20<id>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x284),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')['action'](async(_0x40018e,_0x2f6291)=>{const _0x5c7316=a2_0x2ebaf3,_0x17646f=program[_0x5c7316(0x1af)](),_0x4e5f4a=await createTDXInstance(_0x17646f);if(_0x40018e[0x0]===_0x5c7316(0x4d9)){const _0x1f5fae=new ChatCreateCommand();gracefulExit(await _0x1f5fae[_0x5c7316(0x1e5)]({'options':{..._0x17646f,..._0x2f6291},'args':_0x40018e[_0x5c7316(0x315)](0x1),'tdx':_0x4e5f4a}));return;}const _0x2690f4=new ChatCommand(),_0x592995=await _0x2690f4[_0x5c7316(0x1e5)]({'options':{..._0x17646f,..._0x2f6291},'args':_0x40018e,'tdx':_0x4e5f4a});gracefulExit(_0x592995);});const apiCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x26d))[a2_0x2ebaf3(0x2fc)](a2_0x2ebaf3(0x3e6))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x313))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x483),a2_0x2ebaf3(0x1e6),'GET')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x405),'Request\x20body\x20as\x20JSON\x20string')['option'](a2_0x2ebaf3(0x449),'Read\x20request\x20body\x20from\x20file')['option'](a2_0x2ebaf3(0x35c),a2_0x2ebaf3(0x448),(_0x21e855,_0x30d43a)=>{return _0x30d43a?[..._0x30d43a,_0x21e855]:[_0x21e855];})['option'](a2_0x2ebaf3(0x34f),a2_0x2ebaf3(0x415),'td')['action'](async(_0x2d81af,_0x1ef7e9)=>{const _0x5ecfd8=a2_0x2ebaf3;if(!_0x2d81af){apiCmd[_0x5ecfd8(0x4bc)]();return;}const _0xd38dd6=new ApiCommand(),_0x1a890f=program['opts'](),_0x4477fe=await createTDXInstance(_0x1a890f),_0x4937e3=await _0xd38dd6[_0x5ecfd8(0x1e5)]({'options':{..._0x1a890f,..._0x1ef7e9},'args':[_0x2d81af],'tdx':_0x4477fe});gracefulExit(_0x4937e3);});program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x231))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3f5))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x2ebaf3(0x345)](async _0x4c11c1=>{const _0x59c129=a2_0x2ebaf3,_0x460a42=new MCPCommand(),_0x49f6bf=program['opts'](),_0x3ea8b5=await createTDXInstance(_0x49f6bf),_0xd65841=await _0x460a42[_0x59c129(0x1e5)]({'options':{..._0x49f6bf,..._0x4c11c1},'args':[],'tdx':_0x3ea8b5});gracefulExit(_0xd65841);});const tableCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x46a))[a2_0x2ebaf3(0x39c)]('Table\x20management\x20commands'),tableListAction=async(_0x52ea35,_0xfc71e5)=>{const _0x1dfbaa=a2_0x2ebaf3,_0x33b666=new TablesCommand(),_0x483ca3=program[_0x1dfbaa(0x1af)](),_0x246987=await createTDXInstance(_0x483ca3);_0xfc71e5['in']&&(_0xfc71e5[_0x1dfbaa(0x219)]=_0xfc71e5['in']);const _0x5deb5d=await _0x33b666[_0x1dfbaa(0x1e5)]({'options':{..._0x483ca3,..._0xfc71e5},'args':_0x52ea35?[_0x52ea35]:[],'tdx':_0x246987});gracefulExit(_0x5deb5d);};tableCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x250))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x359),a2_0x2ebaf3(0x489))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c8),a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x345)](tableListAction),program['command']('tables\x20[pattern]',{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x34e))['option'](a2_0x2ebaf3(0x359),a2_0x2ebaf3(0x489))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c8),a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x345)](tableListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3bb))['description'](a2_0x2ebaf3(0x2ee))['option']('-d,\x20--database\x20<database>',a2_0x2ebaf3(0x421))[a2_0x2ebaf3(0x1ea)]('--in\x20<database>',a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x345)](async(_0x46695e,_0x507633)=>{const _0x7c40a9=a2_0x2ebaf3,_0x9f097d=new ShowCommand(),_0x81ac9=program[_0x7c40a9(0x1af)](),_0x18c2da=await createTDXInstance(_0x81ac9);_0x507633['in']&&(_0x507633['database']=_0x507633['in']);const _0x18fd1c=await _0x9f097d[_0x7c40a9(0x1e5)]({'options':{..._0x81ac9,..._0x507633},'args':_0x46695e?[_0x46695e]:[],'tdx':_0x18c2da});gracefulExit(_0x18fd1c);}),program[a2_0x2ebaf3(0x308)]('describe\x20[table]')[a2_0x2ebaf3(0x262)](a2_0x2ebaf3(0x435))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x368))[a2_0x2ebaf3(0x1ea)]('-d,\x20--database\x20<database>',a2_0x2ebaf3(0x421))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c8),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x2ebaf3(0x345)](async(_0x1df04b,_0x413b3c)=>{const _0x2416d6=a2_0x2ebaf3,_0x4f23ed=new DescribeCommand(),_0x10fca7=program['opts'](),_0x56695b=await createTDXInstance(_0x10fca7);_0x413b3c['in']&&(_0x413b3c[_0x2416d6(0x219)]=_0x413b3c['in']);const _0x4f142d=await _0x4f23ed[_0x2416d6(0x1e5)]({'options':{..._0x10fca7,..._0x413b3c},'args':_0x1df04b?[_0x1df04b]:[],'tdx':_0x56695b});gracefulExit(_0x4f142d);}),program[a2_0x2ebaf3(0x308)]('query\x20[sql]')['description'](a2_0x2ebaf3(0x1ba))['option'](a2_0x2ebaf3(0x359),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c8),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option'](a2_0x2ebaf3(0x3ee),'Trino\x20catalog\x20(default:\x20td)')['option']('-f,\x20--file\x20<path>',a2_0x2ebaf3(0x4d7))['option']('--limit\x20<rows>',a2_0x2ebaf3(0x33b))[a2_0x2ebaf3(0x345)](async(_0x3cd773,_0x181e14)=>{const _0x5af770=a2_0x2ebaf3,_0x46503c=new QueryCommand(),_0x33686b=program['opts'](),_0x4681d8=await createTDXInstance(_0x33686b);_0x181e14['in']&&(_0x181e14[_0x5af770(0x219)]=_0x181e14['in']);const _0x565b8f=await _0x46503c[_0x5af770(0x1e5)]({'options':mergeCommandOptions(_0x33686b,_0x181e14),'args':_0x3cd773?[_0x3cd773]:[],'tdx':_0x4681d8});gracefulExit(_0x565b8f);});const segmentCmd=program[a2_0x2ebaf3(0x308)]('segment')[a2_0x2ebaf3(0x262)]('sg')['description'](a2_0x2ebaf3(0x4dc)),segmentListAction=async(_0x306fbd,_0x8e530e)=>{const _0x174134=a2_0x2ebaf3,_0x4e6dc6=new SegmentsCommand(),_0x27dfb3=program[_0x174134(0x1af)](),_0x253fa2=await createTDXInstance(_0x27dfb3),_0x4de3b7=await _0x4e6dc6[_0x174134(0x1e5)]({'options':{..._0x27dfb3,..._0x8e530e},'args':_0x306fbd?[_0x306fbd]:[],'tdx':_0x253fa2});gracefulExit(_0x4de3b7);};function a2_0x22e8(_0x3b5a0a,_0x225a49){_0x3b5a0a=_0x3b5a0a-0x1ad;const _0x46e205=a2_0x46e2();let _0x22e803=_0x46e205[_0x3b5a0a];return _0x22e803;}segmentCmd['command'](a2_0x2ebaf3(0x479))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1cb))[a2_0x2ebaf3(0x1ea)]('-r,\x20--recursive','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x2ebaf3(0x1ea)]('--max-depth\x20<depth>','Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x2ebaf3(0x345)](segmentListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x418),{'hidden':!![]})['description'](a2_0x2ebaf3(0x447))['option']('-r,\x20--recursive',a2_0x2ebaf3(0x377))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x440),a2_0x2ebaf3(0x2ba),'10')[a2_0x2ebaf3(0x345)](segmentListAction),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x292),{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x356))['action'](async(_0x56cebb,_0x306a40)=>{const _0x1266f4=a2_0x2ebaf3,_0x5c4d5c=new SegmentUseCommand(),_0x563794=program[_0x1266f4(0x1af)](),_0x4ed551=await createTDXInstance(_0x563794),_0x529105=await _0x5c4d5c[_0x1266f4(0x1e5)]({'options':{..._0x563794,..._0x306a40},'args':[_0x56cebb],'tdx':_0x4ed551});gracefulExit(_0x529105);});const segmentViewAction=async(_0x3d1e7b,_0x28181b)=>{const _0x3d308a=new SegmentViewCommand(),_0x193ab2=program['opts'](),_0x5efe02=await createTDXInstance(_0x193ab2),_0x2b5476=await _0x3d308a['run']({'options':{..._0x193ab2,..._0x28181b},'args':_0x3d1e7b?[_0x3d1e7b]:[],'tdx':_0x5efe02});gracefulExit(_0x2b5476);};segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x28f))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x48a))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x432),a2_0x2ebaf3(0x36a))[a2_0x2ebaf3(0x345)](segmentViewAction),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1de),{'hidden':!![]})['alias'](a2_0x2ebaf3(0x303))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x432),a2_0x2ebaf3(0x36a))['description'](a2_0x2ebaf3(0x349))[a2_0x2ebaf3(0x345)](segmentViewAction),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x253))[a2_0x2ebaf3(0x39c)]('Show\x20segment\x20schema\x20(column\x20types)')[a2_0x2ebaf3(0x345)](async(_0x43862f,_0x181e7f)=>{const _0x5319af=a2_0x2ebaf3,_0x1bfc91=new SegmentDescCommand(),_0x59a6b6=program[_0x5319af(0x1af)](),_0x63a726=await createTDXInstance(_0x59a6b6),_0x37838a=await _0x1bfc91[_0x5319af(0x1e5)]({'options':{..._0x59a6b6,..._0x181e7f},'args':_0x43862f?[_0x43862f]:[],'tdx':_0x63a726});gracefulExit(_0x37838a);}),segmentCmd[a2_0x2ebaf3(0x308)]('show\x20[segment_name]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4e2))['action'](async(_0x5895fd,_0x50af2a)=>{const _0x5209a0=a2_0x2ebaf3,_0x36f356=new SegmentShowCommand(),_0x50f9e5=program[_0x5209a0(0x1af)](),_0x5a7c0e=await createTDXInstance(_0x50f9e5),_0x2a1974=await _0x36f356[_0x5209a0(0x1e5)]({'options':{..._0x50f9e5,..._0x50af2a},'args':_0x5895fd?[_0x5895fd]:[],'tdx':_0x5a7c0e});gracefulExit(_0x2a1974);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4af),{'hidden':!![]})['description'](a2_0x2ebaf3(0x33d))[a2_0x2ebaf3(0x345)](async(_0x4735e3,_0x329638)=>{const _0x274f52=a2_0x2ebaf3,_0x23c3cf=new SegmentFolderListCommand(),_0x15fc55=program[_0x274f52(0x1af)](),_0x1d5d14=await createTDXInstance(_0x15fc55),_0x13157f=await _0x23c3cf[_0x274f52(0x1e5)]({'options':{..._0x15fc55,..._0x329638},'args':[_0x4735e3],'tdx':_0x1d5d14});gracefulExit(_0x13157f);});const folderCmd=segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1d1),{'hidden':!![]})[a2_0x2ebaf3(0x39c)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x220))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1b9))['action'](async(_0x116ab5,_0x34db2c)=>{const _0x2b218f=a2_0x2ebaf3,_0x5d7bcf=new SegmentFolderShowCommand(),_0xd2061f=program[_0x2b218f(0x1af)](),_0x129010=await createTDXInstance(_0xd2061f),_0x1bec46=await _0x5d7bcf[_0x2b218f(0x1e5)]({'options':{..._0xd2061f,..._0x34db2c},'args':[_0x116ab5],'tdx':_0x129010});gracefulExit(_0x1bec46);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x46f))['description'](a2_0x2ebaf3(0x2d6))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x388),a2_0x2ebaf3(0x238))['action'](async(_0x1f19c5,_0x1b7671)=>{const _0x3955f4=a2_0x2ebaf3,_0x553d7e=new SegmentSQLCommand(),_0x43f51b=program[_0x3955f4(0x1af)](),_0x162824=await createTDXInstance(_0x43f51b),_0xe37eaa=await _0x553d7e['run']({'options':{..._0x43f51b,..._0x1b7671},'args':_0x1f19c5?[_0x1f19c5]:[],'tdx':_0x162824});gracefulExit(_0xe37eaa);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x39a))[a2_0x2ebaf3(0x39c)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')['action'](async(_0x1f7c2b,_0x2fe9d3)=>{const _0x1903c2=a2_0x2ebaf3,_0x4263d7=new SegmentFieldsCommand(),_0x34a003=program[_0x1903c2(0x1af)](),_0x1c0928=await createTDXInstance(_0x34a003),_0x11091a=await _0x4263d7[_0x1903c2(0x1e5)]({'options':{..._0x34a003,..._0x2fe9d3},'args':_0x1f7c2b?[_0x1f7c2b]:[],'tdx':_0x1c0928});gracefulExit(_0x11091a);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x31d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x425))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x276))[a2_0x2ebaf3(0x345)](async(_0xfb4d6a,_0x3640e5)=>{const _0x3b25c6=a2_0x2ebaf3,_0x23429a=new SegmentPullCommand(),_0x1091bb=program[_0x3b25c6(0x1af)](),_0x2c5940=await createTDXInstance(_0x1091bb),_0x49e3c1=await _0x23429a[_0x3b25c6(0x1e5)]({'options':{..._0x1091bb,..._0x3640e5},'args':_0xfb4d6a?[_0xfb4d6a]:[],'tdx':_0x2c5940});gracefulExit(_0x49e3c1);}),segmentCmd[a2_0x2ebaf3(0x308)]('push\x20[parent_or_file]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4a3))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x276))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x406),a2_0x2ebaf3(0x41b))[a2_0x2ebaf3(0x345)](async(_0x2f6e9b,_0x4ec206)=>{const _0x457572=a2_0x2ebaf3,_0x577dd5=new SegmentPushCommand(),_0x4630c6=program[_0x457572(0x1af)](),_0x40ce97=await createTDXInstance(_0x4630c6),_0x3bc993=await _0x577dd5['run']({'options':{..._0x4630c6,..._0x4ec206},'args':_0x2f6e9b?[_0x2f6e9b]:[],'tdx':_0x40ce97});gracefulExit(_0x3bc993);}),segmentCmd['command'](a2_0x2ebaf3(0x362))[a2_0x2ebaf3(0x39c)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x2ebaf3(0x345)](async(_0x12ca58,_0x199e5c)=>{const _0x1de4ec=a2_0x2ebaf3,_0x1e32f2=new SegmentValidateCommand(),_0x35f6bf=program[_0x1de4ec(0x1af)](),_0x3c9714=await createTDXInstance(_0x35f6bf),_0x549b1c=await _0x1e32f2[_0x1de4ec(0x1e5)]({'options':{..._0x35f6bf,..._0x199e5c},'args':_0x12ca58?[_0x12ca58]:[],'tdx':_0x3c9714});gracefulExit(_0x549b1c);}),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x468),{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2db))['option']('--description\x20<text>',a2_0x2ebaf3(0x33c))[a2_0x2ebaf3(0x1ea)]('--rule\x20<json>',a2_0x2ebaf3(0x1c4))[a2_0x2ebaf3(0x1ea)]('--rule-file\x20<file>',a2_0x2ebaf3(0x3b2))['option'](a2_0x2ebaf3(0x2ab),a2_0x2ebaf3(0x40d))['option'](a2_0x2ebaf3(0x2e5),a2_0x2ebaf3(0x20a))['option'](a2_0x2ebaf3(0x484),a2_0x2ebaf3(0x1e7))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x394),a2_0x2ebaf3(0x314))[a2_0x2ebaf3(0x345)](async(_0x47f0c0,_0x2c05f5)=>{const _0x2d25d9=a2_0x2ebaf3,_0x4304e6=new SegmentCreateCommand(),_0x365413=program[_0x2d25d9(0x1af)](),_0x556736=await createTDXInstance(_0x365413),_0x4723e7=await _0x4304e6[_0x2d25d9(0x1e5)]({'options':{..._0x365413,..._0x2c05f5},'args':[_0x47f0c0],'tdx':_0x556736});gracefulExit(_0x4723e7);}),segmentCmd['command']('update\x20<segment_name>',{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2ce))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x267),a2_0x2ebaf3(0x218))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x490))[a2_0x2ebaf3(0x1ea)]('--rule\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x29b),a2_0x2ebaf3(0x2be))['option'](a2_0x2ebaf3(0x2ab),a2_0x2ebaf3(0x22b))[a2_0x2ebaf3(0x1ea)]('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x2ebaf3(0x345)](async(_0x3d48bd,_0x573ed6)=>{const _0x4efd3a=a2_0x2ebaf3,_0x45104d=new SegmentUpdateCommand(),_0x2e2c85=program[_0x4efd3a(0x1af)](),_0x1a2b7c=await createTDXInstance(_0x2e2c85),_0x3acc9d=await _0x45104d[_0x4efd3a(0x1e5)]({'options':{..._0x2e2c85,..._0x573ed6},'args':[_0x3d48bd],'tdx':_0x1a2b7c});gracefulExit(_0x3acc9d);});const parentCmd=segmentCmd['command'](a2_0x2ebaf3(0x36f),{'hidden':!![]})['description'](a2_0x2ebaf3(0x4c9)),parentListAction=async(_0x2b5297,_0x5293da)=>{const _0x16503a=a2_0x2ebaf3,_0x5b2874=new ParentSegmentListCommand(),_0x270dfd=program[_0x16503a(0x1af)](),_0x2f6f8c=await createTDXInstance(_0x270dfd),_0x1a019e=await _0x5b2874[_0x16503a(0x1e5)]({'options':{..._0x270dfd,..._0x5293da},'args':_0x2b5297?[_0x2b5297]:[],'tdx':_0x2f6f8c});gracefulExit(_0x1a019e);};parentCmd[a2_0x2ebaf3(0x308)]('list\x20[pattern]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3ba))[a2_0x2ebaf3(0x345)](parentListAction),segmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x335),{'hidden':!![]})['description'](a2_0x2ebaf3(0x4a8))[a2_0x2ebaf3(0x345)](parentListAction),parentCmd['command'](a2_0x2ebaf3(0x451))['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')['option'](a2_0x2ebaf3(0x2d3),'Output\x20file\x20path\x20(default:\x20<name>.yml)')['action'](async(_0x59b179,_0x3d845f)=>{const _0x2e0f52=a2_0x2ebaf3,_0x4b997f=new ParentSegmentPullCommand(),_0x52fafa=program[_0x2e0f52(0x1af)](),_0x2a53bf=await createTDXInstance(_0x52fafa),_0x3e0798=await _0x4b997f[_0x2e0f52(0x1e5)]({'options':{..._0x52fafa,..._0x3d845f},'args':_0x59b179?[_0x59b179]:[],'tdx':_0x2a53bf});gracefulExit(_0x3e0798);}),parentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4b3))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x427))[a2_0x2ebaf3(0x345)](async(_0x11c094,_0x581333)=>{const _0x575ef9=a2_0x2ebaf3,_0xd5481e=new ParentSegmentPushCommand(),_0x15b366=program['opts'](),_0x18940d=await createTDXInstance(_0x15b366),_0x1a4b39=await _0xd5481e[_0x575ef9(0x1e5)]({'options':{..._0x15b366,..._0x581333},'args':_0x11c094?[_0x11c094]:[],'tdx':_0x18940d});gracefulExit(_0x1a4b39);}),parentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1c6))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x444),a2_0x2ebaf3(0x271))['option']('--attribute\x20[name]',a2_0x2ebaf3(0x4bf))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2b7),a2_0x2ebaf3(0x442))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f8),a2_0x2ebaf3(0x4da))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c6),a2_0x2ebaf3(0x2e7),a2_0x2ebaf3(0x357))['action'](async(_0x3f9b90,_0x418b2a)=>{const _0x532903=a2_0x2ebaf3,_0x4a1308=new ParentSegmentValidateCommand(),_0xaa9032=program[_0x532903(0x1af)](),_0x1208aa=await createTDXInstance(_0xaa9032),_0x546716=await _0x4a1308[_0x532903(0x1e5)]({'options':{..._0xaa9032,..._0x418b2a},'args':_0x3f9b90?[_0x3f9b90]:[],'tdx':_0x1208aa});gracefulExit(_0x546716);}),parentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x49b))[a2_0x2ebaf3(0x39c)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option']('--master',a2_0x2ebaf3(0x480))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x300),a2_0x2ebaf3(0x4e0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2b7),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f8),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x2ebaf3(0x1ea)]('--interval\x20<range>',a2_0x2ebaf3(0x2e7),a2_0x2ebaf3(0x357))[a2_0x2ebaf3(0x345)](async(_0xff1231,_0x445465)=>{const _0x1f530=a2_0x2ebaf3,_0x284db4=new ParentSegmentPreviewCommand(),_0x17bf4a=program[_0x1f530(0x1af)](),_0x10f69b=await createTDXInstance(_0x17bf4a),_0x228e39=await _0x284db4[_0x1f530(0x1e5)]({'options':{..._0x17bf4a,..._0x445465},'args':_0xff1231?[_0xff1231]:[],'tdx':_0x10f69b});gracefulExit(_0x228e39);}),parentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1da))[a2_0x2ebaf3(0x39c)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x2ebaf3(0x345)](async(_0xbba393,_0x445cba)=>{const _0x157608=a2_0x2ebaf3,_0x1a334c=new ParentSegmentRunCommand(),_0x5cb3dc=program[_0x157608(0x1af)](),_0x4029e1=await createTDXInstance(_0x5cb3dc),_0x399ecb=await _0x1a334c[_0x157608(0x1e5)]({'options':{..._0x5cb3dc,..._0x445cba},'args':_0xbba393?[_0xbba393]:[],'tdx':_0x4029e1});gracefulExit(_0x399ecb);});const parentSegmentCmd=program[a2_0x2ebaf3(0x308)]('parent-segment')[a2_0x2ebaf3(0x262)]('ps')['description'](a2_0x2ebaf3(0x2c5));parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3ba))[a2_0x2ebaf3(0x345)](parentListAction),parentSegmentCmd['command']('pull\x20[name]')[a2_0x2ebaf3(0x39c)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2ebaf3(0x1ea)]('-o,\x20--output\x20<file>',a2_0x2ebaf3(0x41f))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x355),a2_0x2ebaf3(0x2a7))[a2_0x2ebaf3(0x345)](async(_0x289cd0,_0x5ae341)=>{const _0xf196c2=a2_0x2ebaf3,_0x114362=new ParentSegmentPullCommand(),_0x5e6b31=program[_0xf196c2(0x1af)](),_0x5d34db=await createTDXInstance(_0x5e6b31),_0xe4bb3=await _0x114362['run']({'options':{..._0x5e6b31,..._0x5ae341},'args':_0x289cd0?[_0x289cd0]:[],'tdx':_0x5d34db});gracefulExit(_0xe4bb3);}),parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1ff))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4d0))[a2_0x2ebaf3(0x345)](async(_0x483df8,_0x4f2dd7)=>{const _0x49474d=a2_0x2ebaf3,_0x42da66=new ParentSegmentPushCommand(),_0x5e102e=program[_0x49474d(0x1af)](),_0x4c0330=await createTDXInstance(_0x5e102e),_0x4df0d6=await _0x42da66[_0x49474d(0x1e5)]({'options':{..._0x5e102e,..._0x4f2dd7},'args':_0x483df8?[_0x483df8]:[],'tdx':_0x4c0330});gracefulExit(_0x4df0d6);}),parentSegmentCmd['command'](a2_0x2ebaf3(0x438))[a2_0x2ebaf3(0x39c)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x2ebaf3(0x1ea)]('--master',a2_0x2ebaf3(0x271))[a2_0x2ebaf3(0x1ea)]('--attribute\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2b7),a2_0x2ebaf3(0x442))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f8),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x2ebaf3(0x1ea)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x2ebaf3(0x345)](async(_0x2d1d16,_0x267ccd)=>{const _0x394e16=a2_0x2ebaf3,_0x417d93=new ParentSegmentValidateCommand(),_0x4dcf11=program['opts'](),_0xb77c53=await createTDXInstance(_0x4dcf11),_0x3aa4ee=await _0x417d93[_0x394e16(0x1e5)]({'options':{..._0x4dcf11,..._0x267ccd},'args':_0x2d1d16?[_0x2d1d16]:[],'tdx':_0xb77c53});gracefulExit(_0x3aa4ee);}),parentSegmentCmd[a2_0x2ebaf3(0x308)]('preview\x20[name]')[a2_0x2ebaf3(0x39c)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x444),a2_0x2ebaf3(0x480))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x300),a2_0x2ebaf3(0x4e0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2b7),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f8),a2_0x2ebaf3(0x4e4))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c6),a2_0x2ebaf3(0x2e7),a2_0x2ebaf3(0x357))[a2_0x2ebaf3(0x345)](async(_0x3db0c5,_0x1c006d)=>{const _0x737a76=a2_0x2ebaf3,_0x4e6774=new ParentSegmentPreviewCommand(),_0x45797f=program[_0x737a76(0x1af)](),_0x4aa8a6=await createTDXInstance(_0x45797f),_0x4aac5a=await _0x4e6774[_0x737a76(0x1e5)]({'options':{..._0x45797f,..._0x1c006d},'args':_0x3db0c5?[_0x3db0c5]:[],'tdx':_0x4aa8a6});gracefulExit(_0x4aac5a);}),parentSegmentCmd['command'](a2_0x2ebaf3(0x1da))['description'](a2_0x2ebaf3(0x25b))['action'](async(_0x301857,_0x499bb4)=>{const _0x3d6a6e=a2_0x2ebaf3,_0x29cc57=new ParentSegmentRunCommand(),_0x43338a=program[_0x3d6a6e(0x1af)](),_0x5eb5dc=await createTDXInstance(_0x43338a),_0x2b56c3=await _0x29cc57['run']({'options':{..._0x43338a,..._0x499bb4},'args':_0x301857?[_0x301857]:[],'tdx':_0x5eb5dc});gracefulExit(_0x2b56c3);}),parentSegmentCmd[a2_0x2ebaf3(0x308)]('fields\x20[name]')['description'](a2_0x2ebaf3(0x1c3))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2bf),a2_0x2ebaf3(0x279))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x43a),a2_0x2ebaf3(0x4e6))[a2_0x2ebaf3(0x345)](async(_0x491539,_0x525f0c)=>{const _0x2d5e57=a2_0x2ebaf3,_0x21657b=new ParentSegmentFieldsCommand(),_0xfdc89e=program['opts'](),_0x2fec8d=await createTDXInstance(_0xfdc89e),_0x50ee05=await _0x21657b[_0x2d5e57(0x1e5)]({'options':{..._0xfdc89e,..._0x525f0c},'args':_0x491539?[_0x491539]:[],'tdx':_0x2fec8d});gracefulExit(_0x50ee05);}),parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x46d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x242))[a2_0x2ebaf3(0x1ea)]('-w,\x20--web',a2_0x2ebaf3(0x3a4))['option'](a2_0x2ebaf3(0x2bf),a2_0x2ebaf3(0x279))[a2_0x2ebaf3(0x1ea)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x2ebaf3(0x345)](async(_0x35b642,_0x3c8e44)=>{const _0x351f67=a2_0x2ebaf3,_0x294ea4=new ParentSegmentViewCommand(),_0x4a9e72=program[_0x351f67(0x1af)](),_0xf67673=await createTDXInstance(_0x4a9e72),_0x1f9f1e=await _0x294ea4[_0x351f67(0x1e5)]({'options':{..._0x4a9e72,..._0x3c8e44},'args':_0x35b642?[_0x35b642]:[],'tdx':_0xf67673});gracefulExit(_0x1f9f1e);}),parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3d3))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2d8))[a2_0x2ebaf3(0x1ea)]('-o,\x20--output\x20<file>',a2_0x2ebaf3(0x41f))['option']('--json',a2_0x2ebaf3(0x279))[a2_0x2ebaf3(0x1ea)]('--jsonl','Output\x20as\x20JSON\x20Lines')['action'](async(_0x1ea2a2,_0x5075e6)=>{const _0x59abf6=new ParentSegmentDescCommand(),_0x32e087=program['opts'](),_0x44f353=await createTDXInstance(_0x32e087),_0x20091e=await _0x59abf6['run']({'options':{..._0x32e087,..._0x5075e6},'args':_0x1ea2a2?[_0x1ea2a2]:[],'tdx':_0x44f353});gracefulExit(_0x20091e);}),parentSegmentCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4a5))[a2_0x2ebaf3(0x39c)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x2ebaf3(0x2bf),a2_0x2ebaf3(0x279))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x43a),a2_0x2ebaf3(0x4e6))['action'](async(_0x40ee12,_0x117393)=>{const _0x6b5a0e=a2_0x2ebaf3,_0x3586e5=new ParentSegmentSQLCommand(),_0x2c262a=program[_0x6b5a0e(0x1af)](),_0x8ba742=await createTDXInstance(_0x2c262a),_0x4795fe=await _0x3586e5[_0x6b5a0e(0x1e5)]({'options':{..._0x2c262a,..._0x117393},'args':_0x40ee12?[_0x40ee12]:[],'tdx':_0x8ba742});gracefulExit(_0x4795fe);}),parentSegmentCmd['command']('show\x20[name]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x40b))['option'](a2_0x2ebaf3(0x4e9),a2_0x2ebaf3(0x346))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2bf),a2_0x2ebaf3(0x279))['option'](a2_0x2ebaf3(0x43a),a2_0x2ebaf3(0x4e6))[a2_0x2ebaf3(0x345)](async(_0x59e9fa,_0x201f5d)=>{const _0x1312f7=a2_0x2ebaf3,_0x46e4cd=new ParentSegmentShowCommand(),_0x23d87e=program[_0x1312f7(0x1af)](),_0x4a51e4=await createTDXInstance(_0x23d87e),_0x5755ce=await _0x46e4cd[_0x1312f7(0x1e5)]({'options':{..._0x23d87e,..._0x201f5d},'args':_0x59e9fa?[_0x59e9fa]:[],'tdx':_0x4a51e4});gracefulExit(_0x5755ce);}),parentSegmentCmd['command'](a2_0x2ebaf3(0x1fc))['description']('Set\x20or\x20show\x20parent\x20segment\x20context')[a2_0x2ebaf3(0x345)](async(_0x54e1c5,_0x564203)=>{const _0x1f21da=a2_0x2ebaf3,_0xdefa01=new UseCommand(),_0x1b2914=program[_0x1f21da(0x1af)](),_0x3dc54a=_0x54e1c5?['parent_segment',_0x54e1c5]:[],_0x19df05=await _0xdefa01[_0x1f21da(0x1e5)]({'options':{..._0x1b2914,..._0x564203},'args':_0x3dc54a,'tdx':null});gracefulExit(_0x19df05);});const psRtCmd=parentSegmentCmd[a2_0x2ebaf3(0x308)]('rt')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x496));psRtCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))['description'](a2_0x2ebaf3(0x38e))[a2_0x2ebaf3(0x345)](async(_0x1959e1,_0x360eb4)=>{const _0x222545=a2_0x2ebaf3,_0x4565ef=new PSRtListCommand(),_0x2c240e=program[_0x222545(0x1af)](),_0x5635cd=await createTDXInstance(_0x2c240e),_0x5b8335=await _0x4565ef[_0x222545(0x1e5)]({'options':{..._0x2c240e,..._0x360eb4},'args':_0x1959e1?[_0x1959e1]:[],'tdx':_0x5635cd});gracefulExit(_0x5b8335);}),psRtCmd['command'](a2_0x2ebaf3(0x438))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x453))['action'](async(_0x25d63a,_0x398e7a)=>{const _0x1a7f7c=a2_0x2ebaf3,_0x3cd086=new PSRtValidateCommand(),_0x41e079=program[_0x1a7f7c(0x1af)](),_0x2ba208=await createTDXInstance(_0x41e079),_0x57f9af=await _0x3cd086[_0x1a7f7c(0x1e5)]({'options':{..._0x41e079,..._0x398e7a},'args':_0x25d63a?[_0x25d63a]:[],'tdx':_0x2ba208});gracefulExit(_0x57f9af);}),psRtCmd['command'](a2_0x2ebaf3(0x30e))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3a6))['action'](async(_0x350eb5,_0x42a98a)=>{const _0x30dfd4=a2_0x2ebaf3,_0xd9cd9d=new PSRtConfigVersionCommand(),_0x4d36c0=program['opts'](),_0x13d6c7=await createTDXInstance(_0x4d36c0),_0x14f4a1=await _0xd9cd9d[_0x30dfd4(0x1e5)]({'options':{..._0x4d36c0,..._0x42a98a},'args':_0x350eb5?[_0x350eb5]:[],'tdx':_0x13d6c7});gracefulExit(_0x14f4a1);});const psRtJnCmd=psRtCmd[a2_0x2ebaf3(0x308)]('jn')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x410));psRtJnCmd['command'](a2_0x2ebaf3(0x460))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x41a))['action'](async(_0x441d70,_0x1fad45)=>{const _0x36135e=a2_0x2ebaf3,_0xba2dd8=new PSRtJnListCommand(),_0x12fefc=program[_0x36135e(0x1af)](),_0x345751=await createTDXInstance(_0x12fefc),_0x181ef5=await _0xba2dd8[_0x36135e(0x1e5)]({'options':{..._0x12fefc,..._0x1fad45},'args':_0x441d70?[_0x441d70]:[],'tdx':_0x345751});gracefulExit(_0x181ef5);}),psRtJnCmd[a2_0x2ebaf3(0x308)]('pause_activations\x20<journeyId>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x43d))[a2_0x2ebaf3(0x345)](async(_0x2180df,_0xb90c54)=>{const _0xa3e97b=a2_0x2ebaf3,_0x56cdc2=new PSRtJnPauseCommand(),_0x127d1b=program[_0xa3e97b(0x1af)](),_0x4c2646=await createTDXInstance(_0x127d1b),_0x455a18=await _0x56cdc2[_0xa3e97b(0x1e5)]({'options':{..._0x127d1b,..._0xb90c54},'args':[_0x2180df],'tdx':_0x4c2646});gracefulExit(_0x455a18);}),psRtJnCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4e7))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4ba))[a2_0x2ebaf3(0x345)](async(_0x527758,_0x149122)=>{const _0x3cf2d0=a2_0x2ebaf3,_0x11c0fa=new PSRtJnResumeCommand(),_0xe12e20=program[_0x3cf2d0(0x1af)](),_0x36e795=await createTDXInstance(_0xe12e20),_0x229cb7=await _0x11c0fa['run']({'options':{..._0xe12e20,..._0x149122},'args':[_0x527758],'tdx':_0x36e795});gracefulExit(_0x229cb7);});const parentRtCmd=parentCmd[a2_0x2ebaf3(0x308)]('rt',{'hidden':!![]})['description'](a2_0x2ebaf3(0x496));parentRtCmd[a2_0x2ebaf3(0x308)]('list\x20[pattern]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x38e))[a2_0x2ebaf3(0x345)](async(_0x1bf13a,_0x4b9212)=>{const _0xb4925a=a2_0x2ebaf3,_0x4405f0=new PSRtListCommand(),_0x74a43b=program['opts'](),_0x200f0e=await createTDXInstance(_0x74a43b),_0x50c833=await _0x4405f0[_0xb4925a(0x1e5)]({'options':{..._0x74a43b,..._0x4b9212},'args':_0x1bf13a?[_0x1bf13a]:[],'tdx':_0x200f0e});gracefulExit(_0x50c833);}),parentRtCmd['command'](a2_0x2ebaf3(0x438))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x453))[a2_0x2ebaf3(0x345)](async(_0x596881,_0x5146ed)=>{const _0x4bb856=a2_0x2ebaf3,_0x5a72b1=new PSRtValidateCommand(),_0x2b8ba0=program[_0x4bb856(0x1af)](),_0xd1e49f=await createTDXInstance(_0x2b8ba0),_0x8d5592=await _0x5a72b1[_0x4bb856(0x1e5)]({'options':{..._0x2b8ba0,..._0x5146ed},'args':_0x596881?[_0x596881]:[],'tdx':_0xd1e49f});gracefulExit(_0x8d5592);});const psPzCmd=parentSegmentCmd[a2_0x2ebaf3(0x308)]('pz')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x488));psPzCmd[a2_0x2ebaf3(0x308)]('list\x20[name]')[a2_0x2ebaf3(0x39c)]('List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x33eb08,_0x5d5d84)=>{const _0x807dd7=a2_0x2ebaf3,_0x26b8ab=new PSPzListCommand(),_0x1a742d=program[_0x807dd7(0x1af)](),_0x7b531a=await createTDXInstance(_0x1a742d),_0x5d3f91=await _0x26b8ab[_0x807dd7(0x1e5)]({'options':{..._0x1a742d,..._0x5d5d84},'args':_0x33eb08?[_0x33eb08]:[],'tdx':_0x7b531a});gracefulExit(_0x5d3f91);}),psPzCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x434))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4bd))[a2_0x2ebaf3(0x345)](async(_0x2fe360,_0x578d46)=>{const _0x420dea=a2_0x2ebaf3,_0x3010df=new PSPzShowCommand(),_0x3e2d22=program[_0x420dea(0x1af)](),_0x64e784=await createTDXInstance(_0x3e2d22),_0x41c267=await _0x3010df[_0x420dea(0x1e5)]({'options':{..._0x3e2d22,..._0x578d46},'args':[_0x2fe360],'tdx':_0x64e784});gracefulExit(_0x41c267);}),psPzCmd['command']('delete\x20<personalization_id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x343))[a2_0x2ebaf3(0x345)](async(_0x579175,_0x485406)=>{const _0x2bd071=a2_0x2ebaf3,_0x4a664=new PSPzDeleteCommand(),_0x467cb4=program[_0x2bd071(0x1af)](),_0x3d7b11=await createTDXInstance(_0x467cb4),_0x44295a=await _0x4a664[_0x2bd071(0x1e5)]({'options':{..._0x467cb4,..._0x485406},'args':[_0x579175],'tdx':_0x3d7b11});gracefulExit(_0x44295a);}),psPzCmd['command'](a2_0x2ebaf3(0x4d9))[a2_0x2ebaf3(0x39c)]('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x26f),a2_0x2ebaf3(0x2cc))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),'Personalization\x20description')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x385),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')[a2_0x2ebaf3(0x1ea)]('--folder-id\x20<id>',a2_0x2ebaf3(0x23f))['option']('--sections\x20<json>',a2_0x2ebaf3(0x45e))['option'](a2_0x2ebaf3(0x475),a2_0x2ebaf3(0x2a8))[a2_0x2ebaf3(0x345)](async _0x21c996=>{const _0x27a1c6=a2_0x2ebaf3,_0x5253b2=new PSPzCreateCommand(),_0x39bd73=program[_0x27a1c6(0x1af)](),_0x27e8c5=await createTDXInstance(_0x39bd73),_0x43273c=await _0x5253b2[_0x27a1c6(0x1e5)]({'options':{..._0x39bd73,..._0x21c996},'args':[],'tdx':_0x27e8c5});gracefulExit(_0x43273c);}),psPzCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1ec))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3ce))['option']('--name\x20<text>',a2_0x2ebaf3(0x2cc))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),'Personalization\x20description')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x400),a2_0x2ebaf3(0x45e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x475),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x2ebaf3(0x345)](async(_0x3cc2bb,_0x5d1c8a)=>{const _0x4dabe2=a2_0x2ebaf3,_0x36ae68=new PSPzPatchCommand(),_0xbec64c=program[_0x4dabe2(0x1af)](),_0x485a04=await createTDXInstance(_0xbec64c),_0x521349=await _0x36ae68['run']({'options':{..._0xbec64c,..._0x5d1c8a},'args':[_0x3cc2bb],'tdx':_0x485a04});gracefulExit(_0x521349);});const psPzServiceCmd=psPzCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x237))[a2_0x2ebaf3(0x39c)]('Personalization\x20service\x20management');psPzServiceCmd[a2_0x2ebaf3(0x308)]('list\x20[name]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x42e))['action'](async(_0x198eb9,_0x4667d9)=>{const _0x22f5b3=a2_0x2ebaf3,_0xa234e1=new PSPzServiceListCommand(),_0x577627=program[_0x22f5b3(0x1af)](),_0x2b0610=await createTDXInstance(_0x577627),_0xf7c4e0=await _0xa234e1[_0x22f5b3(0x1e5)]({'options':{..._0x577627,..._0x4667d9},'args':_0x198eb9?[_0x198eb9]:[],'tdx':_0x2b0610});gracefulExit(_0xf7c4e0);}),psPzServiceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x297))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x408))['option'](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x302))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4d1),a2_0x2ebaf3(0x452))[a2_0x2ebaf3(0x345)](async(_0x2c73de,_0x1e27c4,_0x42982d)=>{const _0x35ce04=a2_0x2ebaf3,_0x2ea17e=new PSPzServiceCreateCommand(),_0x57223b=program[_0x35ce04(0x1af)](),_0x500062=await createTDXInstance(_0x57223b),_0x58148d=await _0x2ea17e[_0x35ce04(0x1e5)]({'options':{..._0x57223b,..._0x42982d},'args':_0x1e27c4?[_0x2c73de,_0x1e27c4]:[_0x2c73de],'tdx':_0x500062});gracefulExit(_0x58148d);}),psPzServiceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x28d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2d1))['action'](async(_0xb585fc,_0x36f1bd,_0x57f57f)=>{const _0x4780d8=a2_0x2ebaf3,_0x382eeb=new PSPzServiceShowCommand(),_0x31d589=program[_0x4780d8(0x1af)](),_0x4f4bee=await createTDXInstance(_0x31d589),_0x4b193b=await _0x382eeb[_0x4780d8(0x1e5)]({'options':{..._0x31d589,..._0x57f57f},'args':_0x36f1bd?[_0xb585fc,_0x36f1bd]:[_0xb585fc],'tdx':_0x4f4bee});gracefulExit(_0x4b193b);}),psPzServiceCmd['command'](a2_0x2ebaf3(0x2a1))['description'](a2_0x2ebaf3(0x3f9))[a2_0x2ebaf3(0x345)](async(_0xc2edda,_0x17652e,_0x5645e1)=>{const _0x4bde5f=a2_0x2ebaf3,_0x5c3ff8=new PSPzServiceDeleteCommand(),_0x20cba0=program[_0x4bde5f(0x1af)](),_0x169e7f=await createTDXInstance(_0x20cba0),_0x31641c=await _0x5c3ff8['run']({'options':{..._0x20cba0,..._0x5645e1},'args':_0x17652e?[_0xc2edda,_0x17652e]:[_0xc2edda],'tdx':_0x169e7f});gracefulExit(_0x31641c);}),psPzServiceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3e4))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x30a))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x31e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x1be))[a2_0x2ebaf3(0x345)](async(_0x3bb55f,_0x3ade24,_0x4edab9)=>{const _0x121842=a2_0x2ebaf3,_0x3d6f69=new PSPzServiceUpdateCommand(),_0x318f2c=program[_0x121842(0x1af)](),_0x1c7ed7=await createTDXInstance(_0x318f2c),_0x3ecc3c=await _0x3d6f69[_0x121842(0x1e5)]({'options':{..._0x318f2c,..._0x4edab9},'args':_0x3ade24?[_0x3bb55f,_0x3ade24]:[_0x3bb55f],'tdx':_0x1c7ed7});gracefulExit(_0x3ecc3c);}),psPzServiceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x327))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x47f))[a2_0x2ebaf3(0x345)](async(_0x437931,_0x55e09f)=>{const _0x89a9c6=a2_0x2ebaf3,_0x2f0a2b=new PSPzInitCommand(),_0x14b5a1=program[_0x89a9c6(0x1af)](),_0xc034ab=await createTDXInstance(_0x14b5a1),_0x3f6449=await _0x2f0a2b[_0x89a9c6(0x1e5)]({'options':{..._0x14b5a1,..._0x55e09f},'args':_0x437931?[_0x437931]:[],'tdx':_0xc034ab});gracefulExit(_0x3f6449);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x2ebaf3(0x308)]('token')['description'](a2_0x2ebaf3(0x32e));psPzServiceTokenCmd['command'](a2_0x2ebaf3(0x370))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2e9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x330),a2_0x2ebaf3(0x1c9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x2e6))[a2_0x2ebaf3(0x345)](async(_0x9b8bb7,_0x42d240,_0x290e96,_0x3a734b)=>{const _0x3627e1=new PSPzServiceTokenCreateCommand(),_0x54d1b4=program['opts'](),_0x592375=await createTDXInstance(_0x54d1b4),_0x1f3ed2=await _0x3627e1['run']({'options':{..._0x54d1b4,..._0x3a734b},'args':_0x290e96?[_0x9b8bb7,_0x42d240,_0x290e96]:[_0x9b8bb7,_0x42d240],'tdx':_0x592375});gracefulExit(_0x1f3ed2);}),psPzServiceTokenCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x320))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x407))[a2_0x2ebaf3(0x345)](async(_0x8f8e12,_0x47b22e,_0x4fb985)=>{const _0x129f23=new PSPzServiceTokenDeleteCommand(),_0x5a3bfe=program['opts'](),_0x2bbc41=await createTDXInstance(_0x5a3bfe),_0x4b6f4f=await _0x129f23['run']({'options':{..._0x5a3bfe,..._0x4fb985},'args':_0x47b22e?[_0x8f8e12,_0x47b22e]:[_0x8f8e12],'tdx':_0x2bbc41});gracefulExit(_0x4b6f4f);}),parentCmd['command'](a2_0x2ebaf3(0x2a9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1d0))[a2_0x2ebaf3(0x27b)]('--database\x20<db>',a2_0x2ebaf3(0x2b5))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x338),a2_0x2ebaf3(0x344))[a2_0x2ebaf3(0x1ea)]('--description\x20<text>',a2_0x2ebaf3(0x211))[a2_0x2ebaf3(0x1ea)]('--schedule-type\x20<type>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x216),a2_0x2ebaf3(0x36b))['option'](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x2c9))[a2_0x2ebaf3(0x1ea)]('--attributes\x20<json>',a2_0x2ebaf3(0x1e2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x40e),a2_0x2ebaf3(0x28e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x43b),a2_0x2ebaf3(0x369))['option'](a2_0x2ebaf3(0x4a4),a2_0x2ebaf3(0x241))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x29d),a2_0x2ebaf3(0x45b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x285),a2_0x2ebaf3(0x1c8))[a2_0x2ebaf3(0x345)](async(_0x4110d3,_0x40a7e3)=>{const _0xe67129=a2_0x2ebaf3,_0xcfb91e=new ParentSegmentCreateCommand(),_0x5b4f65=program[_0xe67129(0x1af)](),_0x458158=await createTDXInstance(_0x5b4f65),_0x24b1ab=await _0xcfb91e[_0xe67129(0x1e5)]({'options':{..._0x5b4f65,..._0x40a7e3},'args':[_0x4110d3],'tdx':_0x458158});gracefulExit(_0x24b1ab);}),parentCmd['command'](a2_0x2ebaf3(0x212))[a2_0x2ebaf3(0x39c)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x490))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c9),a2_0x2ebaf3(0x41c))['option']('--schedule-option\x20<value>',a2_0x2ebaf3(0x283))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x348))[a2_0x2ebaf3(0x1ea)]('--add-attributes\x20<json>',a2_0x2ebaf3(0x2cb))['option'](a2_0x2ebaf3(0x360),a2_0x2ebaf3(0x39f))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4ac),a2_0x2ebaf3(0x2cf))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x26e),a2_0x2ebaf3(0x2a0))[a2_0x2ebaf3(0x345)](async(_0x59f78a,_0x248eaf)=>{const _0x382ec6=a2_0x2ebaf3,_0xc10e3c=new ParentSegmentUpdateCommand(),_0x105be4=program['opts'](),_0x57fedb=await createTDXInstance(_0x105be4),_0x2c5ffd=await _0xc10e3c[_0x382ec6(0x1e5)]({'options':{..._0x105be4,..._0x248eaf},'args':[_0x59f78a],'tdx':_0x57fedb});gracefulExit(_0x2c5ffd);}),folderCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3ea))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x26b))['option']('--description\x20<text>','Folder\x20description')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x46c),a2_0x2ebaf3(0x4e3))[a2_0x2ebaf3(0x345)](async(_0x207a54,_0x35b6e6,_0x50fa6b)=>{const _0x526035=a2_0x2ebaf3,_0xc44ead=new SegmentFolderCreateCommand(),_0x4df340=program['opts'](),_0x5923db=await createTDXInstance(_0x4df340),_0x49979f=await _0xc44ead[_0x526035(0x1e5)]({'options':{..._0x4df340,..._0x50fa6b},'args':[_0x207a54,_0x35b6e6],'tdx':_0x5923db});gracefulExit(_0x49979f);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2c0))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x31b))['action'](async(_0x502f19,_0x26d685)=>{const _0x29abf9=a2_0x2ebaf3,_0x3df471=new ActivationsCommand(),_0x499fb8=program[_0x29abf9(0x1af)](),_0x4c9030=await createTDXInstance(_0x499fb8),_0xbd083d=await _0x3df471['run']({'options':{..._0x499fb8,..._0x26d685},'args':[_0x502f19],'tdx':_0x4c9030});gracefulExit(_0xbd083d);});const workflowCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1d2))['alias']('wf')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x450)),wfProjectCmd=workflowCmd[a2_0x2ebaf3(0x308)]('project')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x203)),wfProjectListAction=async(_0x418887,_0x41eb23)=>{const _0x3b0c47=a2_0x2ebaf3,_0x2ad90e=new WorkflowProjectsCommand(),_0x18c766=program[_0x3b0c47(0x1af)](),_0x2350b5=await createTDXInstance(_0x18c766),_0x5d2cec=await _0x2ad90e[_0x3b0c47(0x1e5)]({'options':{..._0x18c766,..._0x41eb23},'args':_0x418887?[_0x418887]:[],'tdx':_0x2350b5});gracefulExit(_0x5d2cec);};wfProjectCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x403))[a2_0x2ebaf3(0x345)](wfProjectListAction),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3a7))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x252))[a2_0x2ebaf3(0x345)](wfProjectListAction);const wfWorkflowListAction=async(_0x2b30fe,_0x493803)=>{const _0x562db1=a2_0x2ebaf3,_0x2fee58=new WorkflowWorkflowsCommand(),_0x335cdb=program[_0x562db1(0x1af)](),_0x2ffcb4=await createTDXInstance(_0x335cdb),_0xa13e62=await _0x2fee58['run']({'options':{..._0x335cdb,..._0x493803},'args':_0x2b30fe?[_0x2b30fe]:[],'tdx':_0x2ffcb4});gracefulExit(_0xa13e62);};workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x423))['description'](a2_0x2ebaf3(0x391))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2e2))[a2_0x2ebaf3(0x39c)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x3b7d8a,_0x5219db)=>{const _0x6eb552=a2_0x2ebaf3,_0x4ea83d=new WorkflowSessionsCommand(),_0x45c9bf=program[_0x6eb552(0x1af)](),_0x29e64a=await createTDXInstance(_0x45c9bf),_0x1b8f1e=await _0x4ea83d[_0x6eb552(0x1e5)]({'options':{..._0x45c9bf,..._0x5219db},'args':_0x3b7d8a?[_0x3b7d8a]:[],'tdx':_0x29e64a});gracefulExit(_0x1b8f1e);};wfSessionCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x457))['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option'](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x2e0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x318),a2_0x2ebaf3(0x1f0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1ae),a2_0x2ebaf3(0x1d3))[a2_0x2ebaf3(0x345)](wfSessionListAction),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4b5))['description'](a2_0x2ebaf3(0x36d))['option'](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x2e0))['option']('--from\x20<timestamp>',a2_0x2ebaf3(0x1f0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1ae),a2_0x2ebaf3(0x1d3))[a2_0x2ebaf3(0x345)](wfSessionListAction);const wfAttemptListAction=async(_0x1a9629,_0x5bb1d9)=>{const _0x5a7ae1=a2_0x2ebaf3,_0x3d3c49=new WorkflowAttemptsCommand(),_0x4ee86a=program[_0x5a7ae1(0x1af)](),_0x20cb97=await createTDXInstance(_0x4ee86a),_0x41d813=await _0x3d3c49[_0x5a7ae1(0x1e5)]({'options':{..._0x4ee86a,..._0x5bb1d9},'args':_0x1a9629?[_0x1a9629]:[],'tdx':_0x20cb97});gracefulExit(_0x41d813);},attemptCmd=workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4c0))['description'](a2_0x2ebaf3(0x49c))[a2_0x2ebaf3(0x4b6)](a2_0x2ebaf3(0x286),'Attempt\x20ID')[a2_0x2ebaf3(0x4b6)](a2_0x2ebaf3(0x2ae),a2_0x2ebaf3(0x396))[a2_0x2ebaf3(0x4b6)](a2_0x2ebaf3(0x23c),a2_0x2ebaf3(0x3a5))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x471),a2_0x2ebaf3(0x37c))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3e0),a2_0x2ebaf3(0x494))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x45d),a2_0x2ebaf3(0x3c2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x233),a2_0x2ebaf3(0x36e))[a2_0x2ebaf3(0x1ea)]('--force',a2_0x2ebaf3(0x3d1))['option']('--include-retried',a2_0x2ebaf3(0x2ea))[a2_0x2ebaf3(0x345)](async(_0x49f699,_0x2e335a,_0x2e19d7,_0x510eca)=>{const _0x399f4c=a2_0x2ebaf3;if(_0x49f699===_0x399f4c(0x201)){await wfAttemptListAction(_0x2e335a,_0x510eca);return;}if(!_0x49f699){attemptCmd[_0x399f4c(0x4bc)]();return;}const _0x2678df=program[_0x399f4c(0x1af)](),_0x5f089d=await createTDXInstance(_0x2678df);let _0x51ef36=0x0;if(!_0x2e335a){const _0x9d2ab9=new WorkflowAttemptCommand();_0x51ef36=await _0x9d2ab9[_0x399f4c(0x1e5)]({'options':{..._0x2678df,..._0x510eca},'args':[_0x49f699],'tdx':_0x5f089d});}else{if(_0x2e335a===_0x399f4c(0x4ca)){const _0xdeb935=new WorkflowLogsCommand();_0x51ef36=await _0xdeb935[_0x399f4c(0x1e5)]({'options':{..._0x2678df,..._0x510eca},'args':_0x2e19d7?[_0x49f699,_0x2e19d7]:[_0x49f699],'tdx':_0x5f089d});}else{if(_0x2e335a===_0x399f4c(0x329)){const _0x15b9f8=new WorkflowTasksCommand();_0x51ef36=await _0x15b9f8['run']({'options':{..._0x2678df,..._0x510eca},'args':[_0x49f699],'tdx':_0x5f089d});}else{if(_0x2e335a===_0x399f4c(0x3b8)){const _0x3012dd=new WorkflowKillCommand();_0x51ef36=await _0x3012dd['run']({'options':{..._0x2678df,..._0x510eca},'args':[_0x49f699],'tdx':_0x5f089d});}else{if(_0x2e335a===_0x399f4c(0x45a)){const _0x121134=new WorkflowRetryCommand();_0x51ef36=await _0x121134[_0x399f4c(0x1e5)]({'options':{..._0x2678df,..._0x510eca},'args':['attempt:'+_0x49f699],'tdx':_0x5f089d});}else console[_0x399f4c(0x1ca)](_0x399f4c(0x463)+_0x2e335a),console[_0x399f4c(0x1ca)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x51ef36=0x1;}}}}gracefulExit(_0x51ef36);});attemptCmd[a2_0x2ebaf3(0x308)]('list\x20[project]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3d6))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f2),a2_0x2ebaf3(0x1e9))[a2_0x2ebaf3(0x345)](wfAttemptListAction),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x28b))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x39e))['option'](a2_0x2ebaf3(0x3f2),a2_0x2ebaf3(0x1e9))[a2_0x2ebaf3(0x345)](wfAttemptListAction),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2c2))[a2_0x2ebaf3(0x39c)]('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c6),a2_0x2ebaf3(0x260))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x317),a2_0x2ebaf3(0x295))[a2_0x2ebaf3(0x1ea)]('--attempt-id\x20<id>',a2_0x2ebaf3(0x3e7))[a2_0x2ebaf3(0x345)](async(_0x5d95b2,_0x47d5fa)=>{const _0x2fcf45=a2_0x2ebaf3,_0x4160e1=new WorkflowTimelineCommand(),_0x3b682b=program[_0x2fcf45(0x1af)](),_0x31dc25=await createTDXInstance(_0x3b682b),_0x40008c=await _0x4160e1[_0x2fcf45(0x1e5)]({'options':{..._0x3b682b,..._0x47d5fa},'args':_0x5d95b2?[_0x5d95b2]:[],'tdx':_0x31dc25});gracefulExit(_0x40008c);}),workflowCmd[a2_0x2ebaf3(0x308)]('retry\x20<session-id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3e1))[a2_0x2ebaf3(0x1ea)]('--from-task\x20<task>',a2_0x2ebaf3(0x3c7))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x233),a2_0x2ebaf3(0x4b1))[a2_0x2ebaf3(0x345)](async(_0x5a8d34,_0x4dfdbd)=>{const _0x9e93d7=a2_0x2ebaf3,_0x1b3a84=new WorkflowRetryCommand(),_0x13b9b9=program[_0x9e93d7(0x1af)](),_0x3c3fbc=await createTDXInstance(_0x13b9b9),_0x106f3f=await _0x1b3a84['run']({'options':{..._0x13b9b9,..._0x4dfdbd},'args':[_0x5a8d34],'tdx':_0x3c3fbc});gracefulExit(_0x106f3f);}),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2f4))['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')['option'](a2_0x2ebaf3(0x333),a2_0x2ebaf3(0x3ac),(_0x21d1b5,_0x201fad=[])=>[..._0x201fad,_0x21d1b5],[])[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4bb),a2_0x2ebaf3(0x3d0))[a2_0x2ebaf3(0x345)](async(_0x496ed0,_0x4a7dae)=>{const _0x1b4572=a2_0x2ebaf3,_0x860b5b=new WorkflowRunCommand(),_0x263622=program[_0x1b4572(0x1af)](),_0x2d719c=await createTDXInstance(_0x263622),_0xc151ba=await _0x860b5b[_0x1b4572(0x1e5)]({'options':{..._0x263622,..._0x4a7dae},'args':_0x496ed0?[_0x496ed0]:[],'tdx':_0x2d719c});gracefulExit(_0xc151ba);}),workflowCmd[a2_0x2ebaf3(0x308)]('download\x20<project-name>\x20[output-dir]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x263))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47c),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x2ebaf3(0x345)](async(_0x5d25f0,_0x4adc1e,_0x3b6a66)=>{const _0x1819a8=a2_0x2ebaf3,_0x1aa9bc=new WorkflowDownloadCommand(),_0x2fd68d=program[_0x1819a8(0x1af)](),_0x272528=await createTDXInstance(_0x2fd68d),_0x1bc4a7=await _0x1aa9bc[_0x1819a8(0x1e5)]({'options':{..._0x2fd68d,..._0x3b6a66},'args':[_0x5d25f0,_0x4adc1e||'.'],'tdx':_0x272528});gracefulExit(_0x1bc4a7);}),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x227))['description'](a2_0x2ebaf3(0x4a1))['option']('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x2ebaf3(0x345)](async(_0x5544df,_0x2bce52,_0x4e4095)=>{const _0x553d44=a2_0x2ebaf3,_0x28bef4=new WorkflowPullCommand(),_0xfa453b=program[_0x553d44(0x1af)](),_0x33523b=await createTDXInstance(_0xfa453b),_0x3e35a0=await _0x28bef4['run']({'options':{..._0xfa453b,..._0x4e4095},'args':_0x2bce52?[_0x5544df,_0x2bce52]:[_0x5544df],'tdx':_0x33523b});gracefulExit(_0x3e35a0);}),workflowCmd['command'](a2_0x2ebaf3(0x3fd))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x361))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47c),a2_0x2ebaf3(0x417))['option'](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x2ed))['option']('--skip-validation',a2_0x2ebaf3(0x3c1))[a2_0x2ebaf3(0x345)](async(_0x13b737,_0x57058a)=>{const _0x38c316=a2_0x2ebaf3,_0x1d371e=new WorkflowPushCommand(),_0x55d692=program[_0x38c316(0x1af)](),_0x19138f=await createTDXInstance(_0x55d692),_0x50b550=await _0x1d371e['run']({'options':{..._0x55d692,..._0x57058a},'args':_0x13b737?[_0x13b737]:[],'tdx':_0x19138f});gracefulExit(_0x50b550);}),workflowCmd['command'](a2_0x2ebaf3(0x37d))['description'](a2_0x2ebaf3(0x3ec))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x428))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47c),a2_0x2ebaf3(0x3cb))[a2_0x2ebaf3(0x1ea)]('--skip-validation',a2_0x2ebaf3(0x3c1))[a2_0x2ebaf3(0x345)](async(_0x404823,_0x31201f)=>{const _0x4a9848=a2_0x2ebaf3,_0x577114=new WorkflowUploadCommand(),_0x34e8ab=program['opts'](),_0x383d53=await createTDXInstance(_0x34e8ab),_0x29f250=await _0x577114[_0x4a9848(0x1e5)]({'options':{..._0x34e8ab,..._0x31201f},'args':_0x404823?[_0x404823]:[],'tdx':_0x383d53});gracefulExit(_0x29f250);}),workflowCmd[a2_0x2ebaf3(0x308)]('clone\x20[source-dir]')[a2_0x2ebaf3(0x39c)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x2ebaf3(0x1ea)]('--name\x20<name>',a2_0x2ebaf3(0x3d4))['option'](a2_0x2ebaf3(0x47c),a2_0x2ebaf3(0x417))[a2_0x2ebaf3(0x1ea)]('--dry-run',a2_0x2ebaf3(0x4ad))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x48c),a2_0x2ebaf3(0x3c1))[a2_0x2ebaf3(0x345)](async(_0x3d82ee,_0x1eae3a)=>{const _0x57ad40=a2_0x2ebaf3,_0x4c2ebb=new WorkflowCloneCommand(),_0x43e9be=program[_0x57ad40(0x1af)](),_0x499fb3=await createTDXInstance(_0x43e9be),_0x4eec41=await _0x4c2ebb[_0x57ad40(0x1e5)]({'options':{..._0x43e9be,..._0x1eae3a},'args':_0x3d82ee?[_0x3d82ee]:[],'tdx':_0x499fb3});gracefulExit(_0x4eec41);}),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x28a))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x37a))[a2_0x2ebaf3(0x345)](async(_0x32bda9,_0x2c7db7)=>{const _0x5c678e=a2_0x2ebaf3,_0x38312f=new WorkflowDeleteCommand(),_0x8b88e3=program['opts'](),_0x35002d=await createTDXInstance(_0x8b88e3),_0x2f0f68=await _0x38312f[_0x5c678e(0x1e5)]({'options':{..._0x8b88e3,..._0x2c7db7},'args':[_0x32bda9],'tdx':_0x35002d});gracefulExit(_0x2f0f68);}),workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x392))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x495))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x287),'Clear\x20workflow\x20project\x20context')[a2_0x2ebaf3(0x345)](async(_0x2ad2be,_0x43a961)=>{const _0x4cacdd=a2_0x2ebaf3,_0x2a8dd5=new WorkflowUseCommand(),_0xbc514=program[_0x4cacdd(0x1af)](),_0x1218ce=await createTDXInstance(_0xbc514),_0x180b12=await _0x2a8dd5[_0x4cacdd(0x1e5)]({'options':{..._0xbc514,..._0x43a961},'args':_0x2ad2be?[_0x2ad2be]:[],'tdx':_0x1218ce});gracefulExit(_0x180b12);});const wfSecretsCmd=workflowCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x461))[a2_0x2ebaf3(0x39c)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x457))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x304))[a2_0x2ebaf3(0x345)](async(_0x2aeceb,_0x41745c)=>{const _0x3560d9=new WorkflowSecretsListCommand(),_0x42b890=program['opts'](),_0x51f99a=await createTDXInstance(_0x42b890),_0x131273=await _0x3560d9['run']({'options':{..._0x42b890,..._0x41745c},'args':_0x2aeceb?[_0x2aeceb]:[],'tdx':_0x51f99a});gracefulExit(_0x131273);}),wfSecretsCmd['command'](a2_0x2ebaf3(0x2b6))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x339))[a2_0x2ebaf3(0x345)](async(_0x1ad376,_0x1890b7)=>{const _0xd63107=a2_0x2ebaf3,_0x3eef23=new WorkflowSecretsSetCommand(),_0x120e2c=program[_0xd63107(0x1af)](),_0x2a29dd=await createTDXInstance(_0x120e2c),_0x4943ec=await _0x3eef23['run']({'options':{..._0x120e2c,..._0x1890b7},'args':_0x1ad376,'tdx':_0x2a29dd});gracefulExit(_0x4943ec);}),wfSecretsCmd['command'](a2_0x2ebaf3(0x466))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4b7))[a2_0x2ebaf3(0x345)](async(_0x471210,_0x57c967)=>{const _0x339106=a2_0x2ebaf3,_0x4df495=new WorkflowSecretsDeleteCommand(),_0xddcdc7=program[_0x339106(0x1af)](),_0x4f816d=await createTDXInstance(_0xddcdc7),_0x26b2db=await _0x4df495['run']({'options':{..._0xddcdc7,..._0x57c967},'args':_0x471210,'tdx':_0x4f816d});gracefulExit(_0x26b2db);});const wfScheduleCmd=workflowCmd['command'](a2_0x2ebaf3(0x32d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3dc));wfScheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x34d))['description'](a2_0x2ebaf3(0x2b1))[a2_0x2ebaf3(0x345)](async(_0x18bfc9,_0x5492ec)=>{const _0x5b64b0=a2_0x2ebaf3,_0x5ac217=new WorkflowScheduleEnableCommand(),_0x40ec78=program[_0x5b64b0(0x1af)](),_0x4999db=await createTDXInstance(_0x40ec78),_0x461cf3=await _0x5ac217['run']({'options':{..._0x40ec78,..._0x5492ec},'args':[_0x18bfc9],'tdx':_0x4999db});gracefulExit(_0x461cf3);}),wfScheduleCmd['command']('disable\x20<id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3ef))[a2_0x2ebaf3(0x345)](async(_0x529ccd,_0xe70b05)=>{const _0x101cb0=a2_0x2ebaf3,_0xff3382=new WorkflowScheduleDisableCommand(),_0x4bdd4b=program[_0x101cb0(0x1af)](),_0x3b2dd2=await createTDXInstance(_0x4bdd4b),_0x195039=await _0xff3382[_0x101cb0(0x1e5)]({'options':{..._0x4bdd4b,..._0xe70b05},'args':[_0x529ccd],'tdx':_0x3b2dd2});gracefulExit(_0x195039);}),workflowCmd['command'](a2_0x2ebaf3(0x2a2))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x46b))['action'](async _0x257fcb=>{const _0x8abce4=a2_0x2ebaf3,_0xfe5b21=new WorkflowSchedulesCommand(),_0x4bcbff=program[_0x8abce4(0x1af)](),_0xfbfe9a=await createTDXInstance(_0x4bcbff),_0x107e8b=await _0xfe5b21[_0x8abce4(0x1e5)]({'options':{..._0x4bcbff,..._0x257fcb},'args':[],'tdx':_0xfbfe9a});gracefulExit(_0x107e8b);});const jobCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x386))['description'](a2_0x2ebaf3(0x21b)),jobListAction=async _0x537f0e=>{const _0x31a0bd=a2_0x2ebaf3,_0x455a34=new JobListCommand(),_0x303f1e=program[_0x31a0bd(0x1af)](),_0x130df3=await createTDXInstance(_0x303f1e),_0x8ef4df=await _0x455a34[_0x31a0bd(0x1e5)]({'options':{..._0x303f1e,..._0x537f0e},'args':[],'tdx':_0x130df3});gracefulExit(_0x8ef4df);};jobCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x213))['option'](a2_0x2ebaf3(0x1d9),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x215),{'hidden':!![]})['description']('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x35f))[a2_0x2ebaf3(0x345)](jobListAction),jobCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2cd))['description'](a2_0x2ebaf3(0x280))[a2_0x2ebaf3(0x345)](async(_0x6cdf9,_0x15aed2)=>{const _0x5d7a74=a2_0x2ebaf3,_0x325de5=new JobShowCommand(),_0x3ef779=program[_0x5d7a74(0x1af)](),_0x5ef074=await createTDXInstance(_0x3ef779),_0x3d8211=await _0x325de5[_0x5d7a74(0x1e5)]({'options':{..._0x3ef779,..._0x15aed2},'args':[_0x6cdf9],'tdx':_0x5ef074});gracefulExit(_0x3d8211);}),jobCmd['command'](a2_0x2ebaf3(0x379))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1b4))['action'](async(_0x48fdd5,_0x12535b)=>{const _0x1e2585=a2_0x2ebaf3,_0xbe0e94=new JobKillCommand(),_0x2ecfad=program[_0x1e2585(0x1af)](),_0x1b9f99=await createTDXInstance(_0x2ecfad),_0x28b1be=await _0xbe0e94['run']({'options':{..._0x2ecfad,..._0x12535b},'args':[_0x48fdd5],'tdx':_0x1b9f99});gracefulExit(_0x28b1be);}),jobCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3d5))['description'](a2_0x2ebaf3(0x226))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x34b),a2_0x2ebaf3(0x458),'trino')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x449),a2_0x2ebaf3(0x254))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x38d),a2_0x2ebaf3(0x380),a2_0x2ebaf3(0x2c7))[a2_0x2ebaf3(0x1ea)]('--result\x20<target>',a2_0x2ebaf3(0x331))[a2_0x2ebaf3(0x345)](async(_0x1e090b,_0x4e0ccf)=>{const _0xb92108=a2_0x2ebaf3,_0x33b8e9=new JobSubmitCommand(),_0x22857f=program['opts'](),_0x4e62e4=await createTDXInstance(_0x22857f),_0x38b2ad=await _0x33b8e9[_0xb92108(0x1e5)]({'options':{..._0x22857f,..._0x4e0ccf},'args':_0x1e090b?[_0x1e090b]:[],'tdx':_0x4e62e4});gracefulExit(_0x38b2ad);}),jobCmd['command'](a2_0x2ebaf3(0x38c))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x246))[a2_0x2ebaf3(0x345)](async(_0x5ecac6,_0x343bb7)=>{const _0x2c95cc=a2_0x2ebaf3,_0x3049ff=new JobResultCommand(),_0x560346=program[_0x2c95cc(0x1af)](),_0x5ce927=await createTDXInstance(_0x560346),_0x156096=await _0x3049ff[_0x2c95cc(0x1e5)]({'options':{..._0x560346,..._0x343bb7},'args':[_0x5ecac6],'tdx':_0x5ce927});gracefulExit(_0x156096);});const scheduleCmd=jobCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x32d))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x202));scheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))['description'](a2_0x2ebaf3(0x3c0))['action'](async(_0x38473f,_0x1768d1)=>{const _0xebef31=a2_0x2ebaf3,_0x54986c=new ScheduleListCommand(),_0x45c971=program[_0xebef31(0x1af)](),_0xb7dd7c=await createTDXInstance(_0x45c971),_0x3a1a27=await _0x54986c[_0xebef31(0x1e5)]({'options':{..._0x45c971,..._0x1768d1},'args':_0x38473f?[_0x38473f]:[],'tdx':_0xb7dd7c});gracefulExit(_0x3a1a27);}),scheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3cf))[a2_0x2ebaf3(0x39c)]('Show\x20schedule\x20details')[a2_0x2ebaf3(0x345)](async(_0x1587e3,_0xb87b87)=>{const _0x25fa6c=a2_0x2ebaf3,_0x3d61cc=new ScheduleShowCommand(),_0x3bee22=program['opts'](),_0x49446b=await createTDXInstance(_0x3bee22),_0x1da409=await _0x3d61cc[_0x25fa6c(0x1e5)]({'options':{..._0x3bee22,..._0xb87b87},'args':[_0x1587e3],'tdx':_0x49446b});gracefulExit(_0x1da409);}),scheduleCmd[a2_0x2ebaf3(0x308)]('create\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x32c))['option'](a2_0x2ebaf3(0x1bf),a2_0x2ebaf3(0x3e8))['option'](a2_0x2ebaf3(0x277),a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x449),a2_0x2ebaf3(0x254))[a2_0x2ebaf3(0x1ea)]('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive',a2_0x2ebaf3(0x1ee))['option']('--cron\x20<expression>',a2_0x2ebaf3(0x2de))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x20c))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x20d),a2_0x2ebaf3(0x3a3))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1e8),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1dd),a2_0x2ebaf3(0x200))['option']('--engine-version\x20<version>',a2_0x2ebaf3(0x321))['option'](a2_0x2ebaf3(0x2f5),a2_0x2ebaf3(0x1c5))[a2_0x2ebaf3(0x345)](async(_0x514b4f,_0x5898c5)=>{const _0x6c3ed6=new ScheduleCreateCommand(),_0x33cac0=program['opts'](),_0x3c9caf=await createTDXInstance(_0x33cac0);_0x5898c5['in']&&(_0x5898c5['database']=_0x5898c5['in']);const _0x625221=await _0x6c3ed6['run']({'options':{..._0x33cac0,..._0x5898c5},'args':[_0x514b4f],'tdx':_0x3c9caf});gracefulExit(_0x625221);}),scheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x212))['description']('Update\x20a\x20scheduled\x20query')[a2_0x2ebaf3(0x1ea)]('-d,\x20--database\x20<db>',a2_0x2ebaf3(0x232))['option'](a2_0x2ebaf3(0x277),a2_0x2ebaf3(0x482))[a2_0x2ebaf3(0x1ea)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x33a))['option'](a2_0x2ebaf3(0x37f),a2_0x2ebaf3(0x2de))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x293))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x20d),a2_0x2ebaf3(0x3a3))['option'](a2_0x2ebaf3(0x1e8),a2_0x2ebaf3(0x399))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1dd),a2_0x2ebaf3(0x200))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x325),a2_0x2ebaf3(0x321))['option']('--result\x20<url>',a2_0x2ebaf3(0x1c5))['action'](async(_0x34c5cd,_0x532596)=>{const _0x548bbb=a2_0x2ebaf3,_0x17a317=new ScheduleUpdateCommand(),_0x23fd27=program[_0x548bbb(0x1af)](),_0x45c8fc=await createTDXInstance(_0x23fd27);_0x532596['in']&&(_0x532596[_0x548bbb(0x219)]=_0x532596['in']);const _0x282087=await _0x17a317[_0x548bbb(0x1e5)]({'options':{..._0x23fd27,..._0x532596},'args':[_0x34c5cd],'tdx':_0x45c8fc});gracefulExit(_0x282087);}),scheduleCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2a3))['description']('Delete\x20a\x20scheduled\x20query')['action'](async(_0x5c9033,_0x33fb5a)=>{const _0x4dcef3=a2_0x2ebaf3,_0xf4db07=new ScheduleDeleteCommand(),_0x39ac09=program['opts'](),_0x1251dc=await createTDXInstance(_0x39ac09),_0x43d762=await _0xf4db07[_0x4dcef3(0x1e5)]({'options':{..._0x39ac09,..._0x33fb5a},'args':[_0x5c9033],'tdx':_0x1251dc});gracefulExit(_0x43d762);}),scheduleCmd[a2_0x2ebaf3(0x308)]('run\x20<name>')['description']('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x35e),a2_0x2ebaf3(0x2ad))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x30f),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x2ebaf3(0x345)](async(_0x154b08,_0x2104d4)=>{const _0x4c1321=a2_0x2ebaf3,_0x3ece3f=new ScheduleRunCommand(),_0x291f20=program['opts'](),_0x3a664e=await createTDXInstance(_0x291f20),_0x53cc53=await _0x3ece3f[_0x4c1321(0x1e5)]({'options':{..._0x291f20,..._0x2104d4},'args':[_0x154b08],'tdx':_0x3a664e});gracefulExit(_0x53cc53);}),scheduleCmd['command'](a2_0x2ebaf3(0x478))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2aa))['option'](a2_0x2ebaf3(0x27c),'Starting\x20offset\x20(default:\x200)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1fa),a2_0x2ebaf3(0x409))[a2_0x2ebaf3(0x345)](async(_0x3bffd8,_0x40bdca)=>{const _0x2eace7=a2_0x2ebaf3,_0x4b581b=new ScheduleHistoryCommand(),_0x47c0f4=program['opts'](),_0x3e1266=await createTDXInstance(_0x47c0f4),_0x7bc73d=await _0x4b581b[_0x2eace7(0x1e5)]({'options':{..._0x47c0f4,..._0x40bdca},'args':[_0x3bffd8],'tdx':_0x3e1266});gracefulExit(_0x7bc73d);});const llmCmd=program[a2_0x2ebaf3(0x308)]('llm')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x34a));llmCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4d6))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4a7))['action'](async(_0x5881e4,_0x3c00ec)=>{const _0x2e5f11=a2_0x2ebaf3,_0x118ab5=new LLMUseCommand(),_0xad8062=program[_0x2e5f11(0x1af)](),_0x39580a=await createTDXInstance(_0xad8062),_0x92e616=await _0x118ab5[_0x2e5f11(0x1e5)]({'options':{..._0xad8062,..._0x3c00ec},'args':[_0x5881e4],'tdx':_0x39580a});gracefulExit(_0x92e616);}),llmCmd[a2_0x2ebaf3(0x308)]('models')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x429))[a2_0x2ebaf3(0x345)](async _0x1162e4=>{const _0x35400c=new LLMModelsCommand(),_0x4a4d1f=program['opts'](),_0x5c0873=await createTDXInstance(_0x4a4d1f),_0x544e34=await _0x35400c['run']({'options':{..._0x4a4d1f,..._0x1162e4},'args':[],'tdx':_0x5c0873});gracefulExit(_0x544e34);});const projectCmd=llmCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x487))['description']('LLM\x20project\x20management'),llmProjectListAction=async(_0x2960c6,_0x1ee429)=>{const _0x42e3a8=a2_0x2ebaf3,_0x6c0a48=new LLMProjectsCommand(),_0x43a4dd=program[_0x42e3a8(0x1af)](),_0x9dfb47=await createTDXInstance(_0x43a4dd),_0x27c20f=await _0x6c0a48['run']({'options':{..._0x43a4dd,..._0x1ee429},'args':_0x2960c6?[_0x2960c6]:[],'tdx':_0x9dfb47});gracefulExit(_0x27c20f);};projectCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x2ebaf3(0x345)](llmProjectListAction),llmCmd['command'](a2_0x2ebaf3(0x3a7))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x473))['action'](llmProjectListAction),projectCmd['command'](a2_0x2ebaf3(0x2a9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x296))['option'](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x30c))[a2_0x2ebaf3(0x345)](async(_0x2823ff,_0x33d7f3)=>{const _0x439095=a2_0x2ebaf3,_0x2b64f7=new LLMProjectCreateCommand(),_0x15802c=program[_0x439095(0x1af)](),_0x340bcd=await createTDXInstance(_0x15802c),_0x5873c2=await _0x2b64f7[_0x439095(0x1e5)]({'options':{..._0x15802c,..._0x33d7f3},'args':[_0x2823ff],'tdx':_0x340bcd});gracefulExit(_0x5873c2);}),projectCmd[a2_0x2ebaf3(0x308)]('delete\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2fd))[a2_0x2ebaf3(0x345)](async(_0xf1b0cf,_0xb77150)=>{const _0x35fe6c=a2_0x2ebaf3,_0x387649=new LLMProjectDeleteCommand(),_0x5e8010=program[_0x35fe6c(0x1af)](),_0x2b6229=await createTDXInstance(_0x5e8010),_0x4b5cdc=await _0x387649[_0x35fe6c(0x1e5)]({'options':{..._0x5e8010,..._0xb77150},'args':[_0xf1b0cf],'tdx':_0x2b6229});gracefulExit(_0x4b5cdc);}),projectCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x398))['description'](a2_0x2ebaf3(0x4c3))['option']('-o,\x20--output\x20<folder>',a2_0x2ebaf3(0x4a2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x2ebaf3(0x345)](async(_0xd7a150,_0x53e77f)=>{const _0x36266c=a2_0x2ebaf3,_0x595a0e=new LLMProjectBackupCommand(),_0x5a6838=program['opts'](),_0x34ffb3=await createTDXInstance(_0x5a6838),_0x553cc7=await _0x595a0e[_0x36266c(0x1e5)]({'options':{..._0x5a6838,..._0x53e77f},'args':[_0xd7a150],'tdx':_0x34ffb3});gracefulExit(_0x553cc7);}),projectCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x404))['description']('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x40c),a2_0x2ebaf3(0x337))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x459))['action'](async(_0x1ca9d1,_0xac94d7)=>{const _0x123b8b=a2_0x2ebaf3,_0x56a459=new LLMProjectRestoreCommand(),_0x4e69a4=program[_0x123b8b(0x1af)](),_0x308192=await createTDXInstance(_0x4e69a4),_0x4235a1=await _0x56a459[_0x123b8b(0x1e5)]({'options':{..._0x4e69a4,..._0xac94d7},'args':[_0x1ca9d1],'tdx':_0x308192});gracefulExit(_0x4235a1);});const llmAgentListAction=async(_0x454636,_0x8f5a98)=>{const _0x2a23a6=a2_0x2ebaf3,_0x5bb5b5=new LLMAgentsCommand(),_0x4f694d=program[_0x2a23a6(0x1af)](),_0xeb8f4a=await createTDXInstance(_0x4f694d),_0x522501=await _0x5bb5b5['run']({'options':{..._0x4f694d,..._0x8f5a98},'args':_0x454636?[_0x454636]:[],'tdx':_0xeb8f4a});gracefulExit(_0x522501);};llmCmd['command'](a2_0x2ebaf3(0x1df))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x470))['action'](llmAgentListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1df))['description'](a2_0x2ebaf3(0x470))[a2_0x2ebaf3(0x345)](llmAgentListAction),llmCmd[a2_0x2ebaf3(0x308)]('history\x20[chat-id]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x22d))['option'](a2_0x2ebaf3(0x469),a2_0x2ebaf3(0x3bd))[a2_0x2ebaf3(0x345)](async(_0x193686,_0x360461)=>{const _0x43f6bf=a2_0x2ebaf3,_0x43e703=new LLMHistoryCommand(),_0x5332cd=program[_0x43f6bf(0x1af)](),_0x4ac665=await createTDXInstance(_0x5332cd),_0x5f5075=await _0x43e703['run']({'options':{..._0x5332cd,..._0x360461},'args':_0x193686?[_0x193686]:[],'tdx':_0x4ac665});gracefulExit(_0x5f5075);});isExperimentalAvailable()&&llmCmd['command'](a2_0x2ebaf3(0x322))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1ad))[a2_0x2ebaf3(0x345)](async(_0x43a862,_0x54d6b0)=>{const _0x11239f=a2_0x2ebaf3,_0x2f45dc=new LLMLogCommand(),_0x34a6c5=program[_0x11239f(0x1af)](),_0x4e078a=await createTDXInstance(_0x34a6c5),_0x375e3e=await _0x2f45dc[_0x11239f(0x1e5)]({'options':{..._0x34a6c5,..._0x54d6b0},'args':[_0x43a862],'tdx':_0x4e078a});gracefulExit(_0x375e3e);});program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x234))[a2_0x2ebaf3(0x2d4)](a2_0x2ebaf3(0x2d5))['description'](a2_0x2ebaf3(0x21d))[a2_0x2ebaf3(0x1ea)]('-c,\x20--continue',a2_0x2ebaf3(0x2f6))[a2_0x2ebaf3(0x1ea)]('-r,\x20--resume','Resume\x20a\x20conversation\x20(shows\x20selector)')['option'](a2_0x2ebaf3(0x1f8),a2_0x2ebaf3(0x3af))['allowUnknownOption']()[a2_0x2ebaf3(0x2f0)](!![])[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x1cc))['action'](async(_0x47ae83,_0x3b3523)=>{const _0x357fdd=a2_0x2ebaf3,_0x4b43c3=program[_0x357fdd(0x1af)](),_0x8b10e=Array[_0x357fdd(0x23a)](_0x47ae83)?_0x47ae83:[];if(_0x8b10e[0x0]===_0x357fdd(0x2f1)){const _0xfd93f2=new ClaudeStatuslineCommand(),_0x82d84f=await _0xfd93f2[_0x357fdd(0x1e5)]({'options':{..._0x4b43c3,..._0x3b3523},'args':_0x8b10e[_0x357fdd(0x315)](0x1),'tdx':null});gracefulExit(_0x82d84f);}if(_0x8b10e[0x0]===_0x357fdd(0x2d4)){const _0xc0717d=new ClaudeUsageCommand(),_0x3457bf=await _0xc0717d[_0x357fdd(0x1e5)]({'options':{..._0x4b43c3,..._0x3b3523},'args':_0x8b10e['slice'](0x1),'tdx':null});gracefulExit(_0x3457bf);}const _0x21c088=new ClaudeCommand(),_0x55b685=await createTDXInstance(_0x4b43c3),_0x1f32bf=await _0x21c088['run']({'options':{..._0x4b43c3,..._0x3b3523},'args':_0x8b10e,'tdx':_0x55b685});gracefulExit(_0x1f32bf);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x436))[a2_0x2ebaf3(0x39c)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x287),a2_0x2ebaf3(0x1d7))['option'](a2_0x2ebaf3(0x204),a2_0x2ebaf3(0x29e))[a2_0x2ebaf3(0x345)](async(_0x526a0b,_0x30fcc6,_0x2b4f3f)=>{const _0x26b9aa=a2_0x2ebaf3,_0x11d717=new UseCommand(),_0x3bed0b=program[_0x26b9aa(0x1af)](),_0x5f0073=[];if(_0x526a0b)_0x5f0073[_0x26b9aa(0x437)](_0x526a0b);if(_0x30fcc6)_0x5f0073[_0x26b9aa(0x437)](_0x30fcc6);const _0x186afd=_0x526a0b===_0x26b9aa(0x2ca),_0x2091fe=_0x186afd?await createTDXInstance(_0x3bed0b):null,_0x467c93=await _0x11d717[_0x26b9aa(0x1e5)]({'options':{..._0x3bed0b,..._0x2b4f3f},'args':_0x5f0073,'tdx':_0x2091fe});gracefulExit(_0x467c93);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x33f))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4d8))[a2_0x2ebaf3(0x345)](async _0x77fcfd=>{const _0x43235c=a2_0x2ebaf3,_0x440aff=new StatusCommand(),_0x31a175=program[_0x43235c(0x1af)](),_0x45e817=await createTDXInstance(_0x31a175),_0x3178cf=await _0x440aff['run']({'options':{..._0x31a175,..._0x77fcfd},'args':[],'tdx':_0x45e817});gracefulExit(_0x3178cf);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x341))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x32a))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x3f3))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x445),a2_0x2ebaf3(0x316))['option'](a2_0x2ebaf3(0x31a),a2_0x2ebaf3(0x4e1))[a2_0x2ebaf3(0x345)](async(_0x1de3e7,_0x63f21a)=>{const _0x23d6de=a2_0x2ebaf3,_0x50c679=new UpgradeCommand(),_0x28964=program[_0x23d6de(0x1af)](),_0x2ff0bb=await _0x50c679[_0x23d6de(0x1e5)]({'options':{..._0x28964,..._0x63f21a},'args':_0x1de3e7?[_0x1de3e7]:[],'tdx':null});gracefulExit(_0x2ff0bb);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1e3))[a2_0x2ebaf3(0x39c)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')['option'](a2_0x2ebaf3(0x204),a2_0x2ebaf3(0x2f9))[a2_0x2ebaf3(0x345)](async(_0x2fbde4,_0x105bc4)=>{const _0x1e7114=a2_0x2ebaf3,_0x15b5c8=new UnsetCommand(),_0x4f4233=program[_0x1e7114(0x1af)](),_0x47006a=await _0x15b5c8[_0x1e7114(0x1e5)]({'options':{..._0x4f4233,..._0x105bc4},'args':[_0x2fbde4],'tdx':null});gracefulExit(_0x47006a);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1ce))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x40a))['option'](a2_0x2ebaf3(0x469),'Show\x20the\x20most\x20recent\x20chat')['action'](async _0x2735a4=>{const _0x4d4c97=a2_0x2ebaf3,_0x298700=new ChatsCommand(),_0x374329=program[_0x4d4c97(0x1af)](),_0x1b0657=await createTDXInstance(_0x374329),_0x597183=await _0x298700[_0x4d4c97(0x1e5)]({'options':{..._0x374329,..._0x2735a4},'args':[],'tdx':_0x1b0657});gracefulExit(_0x597183);});const authCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x492))[a2_0x2ebaf3(0x39c)]('Authentication\x20management');async function runAuthStatusCommand(_0x2f9e57){const _0x16b52c=a2_0x2ebaf3,_0x3dfac8=new AuthStatusCommand(),_0x30a952=program[_0x16b52c(0x1af)](),_0x54dcf3=await createTDXInstance(_0x30a952),_0x1ebfda=await _0x3dfac8[_0x16b52c(0x1e5)]({'options':{..._0x30a952,..._0x2f9e57},'args':[],'tdx':_0x54dcf3});gracefulExit(_0x1ebfda);}authCmd[a2_0x2ebaf3(0x345)](runAuthStatusCommand),authCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x33f))['description'](a2_0x2ebaf3(0x4c2))[a2_0x2ebaf3(0x345)](runAuthStatusCommand);async function authSetupAction(_0x1017a6){const _0x4ae709=a2_0x2ebaf3,_0x430e66=new AuthSetupCommand(),_0x377e51=program[_0x4ae709(0x1af)](),_0x3b3336=await createTDXInstance(_0x377e51),_0x14303e=await _0x430e66['run']({'options':{..._0x377e51,..._0x1017a6},'args':[],'tdx':_0x3b3336});gracefulExit(_0x14303e);}authCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3fc))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2e4))[a2_0x2ebaf3(0x1ea)]('--account-name\x20<name>',a2_0x2ebaf3(0x23d))[a2_0x2ebaf3(0x245)]('after',a2_0x2ebaf3(0x2ac))[a2_0x2ebaf3(0x345)](authSetupAction),authCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x48d),{'hidden':!![]})[a2_0x2ebaf3(0x1ea)]('--account-name\x20<name>',a2_0x2ebaf3(0x23d))[a2_0x2ebaf3(0x345)](authSetupAction),authCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x419))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x45f))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x2b3))[a2_0x2ebaf3(0x345)](async _0x33d5d4=>{const _0x5471a2=a2_0x2ebaf3,_0x3e28c2=new AuthClearCommand(),_0x493f0a=program[_0x5471a2(0x1af)](),_0x281d1a=await _0x3e28c2[_0x5471a2(0x1e5)]({'options':{..._0x493f0a,..._0x33d5d4},'args':[],'tdx':null});gracefulExit(_0x281d1a);});const userCmd=program['command'](a2_0x2ebaf3(0x42d))[a2_0x2ebaf3(0x39c)]('User\x20management\x20commands'),userListAction=async _0x5e95d6=>{const _0x3d2f4e=a2_0x2ebaf3,_0x2436ea=new UserListCommand(),_0x4cc931=program[_0x3d2f4e(0x1af)](),_0x5dd47f=await createTDXInstance(_0x4cc931),_0x5d9f64=await _0x2436ea['run']({'options':{..._0x4cc931,..._0x5e95d6},'args':[],'tdx':_0x5dd47f});gracefulExit(_0x5d9f64);};userCmd[a2_0x2ebaf3(0x345)](async _0x5a9c01=>{const _0x34dbe4=a2_0x2ebaf3,_0x4b5e04=new UserCommand(),_0x49b3d0=program[_0x34dbe4(0x1af)](),_0x24eecf=await createTDXInstance(_0x49b3d0),_0x405485=await _0x4b5e04['run']({'options':{..._0x49b3d0,..._0x5a9c01},'args':[],'tdx':_0x24eecf});gracefulExit(_0x405485);}),userCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x31c))[a2_0x2ebaf3(0x345)](userListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x430))[a2_0x2ebaf3(0x39c)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x2ebaf3(0x345)](userListAction);const policyCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3b7))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x230));policyCmd['action'](async _0x5d5876=>{const _0x50c058=new PolicyCommand(),_0x2dad84=program['opts'](),_0x31f7ec=await createTDXInstance(_0x2dad84),_0x4d6d28=await _0x50c058['run']({'options':{..._0x2dad84,..._0x5d5876},'args':[],'tdx':_0x31f7ec});gracefulExit(_0x4d6d28);}),policyCmd['command']('list')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3aa))[a2_0x2ebaf3(0x345)](async _0x10708a=>{const _0x5302e5=a2_0x2ebaf3,_0x49c9f5=new PolicyListCommand(),_0x4a7800=program[_0x5302e5(0x1af)](),_0x8cfd1f=await createTDXInstance(_0x4a7800),_0x3c1071=await _0x49c9f5[_0x5302e5(0x1e5)]({'options':{..._0x4a7800,..._0x10708a},'args':[],'tdx':_0x8cfd1f});gracefulExit(_0x3c1071);}),policyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x42c))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x206))['action'](async(_0x4b5017,_0x44aa80)=>{const _0x2da969=a2_0x2ebaf3,_0x32f021=new PolicyShowCommand(),_0x4b1186=program[_0x2da969(0x1af)](),_0x3390de=await createTDXInstance(_0x4b1186),_0x3494e8=await _0x32f021['run']({'options':{..._0x4b1186,..._0x44aa80},'args':[_0x4b5017],'tdx':_0x3390de});gracefulExit(_0x3494e8);}),program['command'](a2_0x2ebaf3(0x1f1))['description'](a2_0x2ebaf3(0x3f6))[a2_0x2ebaf3(0x345)](async _0x28d2a2=>{const _0x3a40be=a2_0x2ebaf3,_0x1ac54d=new ProfilesCommand(),_0x1c25b2=program['opts'](),_0x35e967=await _0x1ac54d[_0x3a40be(0x1e5)]({'options':{..._0x1c25b2,..._0x28d2a2},'args':[],'tdx':null});gracefulExit(_0x35e967);});const profileCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x268))['description'](a2_0x2ebaf3(0x4d2));profileCmd['action'](()=>{const _0xe4768=a2_0x2ebaf3;profileCmd[_0xe4768(0x35a)]();});const profileListAction=async _0x14fef4=>{const _0x3f75aa=a2_0x2ebaf3,_0x4c6646=new ProfilesCommand(),_0x5b29ea=program[_0x3f75aa(0x1af)](),_0x4745f3=await _0x4c6646['run']({'options':{..._0x5b29ea,..._0x14fef4},'args':[],'tdx':null});gracefulExit(_0x4745f3);};profileCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3f6))[a2_0x2ebaf3(0x345)](profileListAction),profileCmd[a2_0x2ebaf3(0x308)]('create\x20[name]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x298))['option'](a2_0x2ebaf3(0x456),a2_0x2ebaf3(0x23d))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3d9),a2_0x2ebaf3(0x1d5))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a')[a2_0x2ebaf3(0x345)](async(_0x10d858,_0x45e9b5)=>{const _0x577a84=a2_0x2ebaf3,_0xbd5372=new ProfileCreateCommand(),_0x3fa004=program[_0x577a84(0x1af)](),_0x233bb0=await _0xbd5372[_0x577a84(0x1e5)]({'options':{..._0x3fa004,..._0x45e9b5},'args':_0x10d858?[_0x10d858]:[],'tdx':null});gracefulExit(_0x233bb0);});async function profileDeleteAction(_0x4aa1f1,_0x4898cf){const _0x57087e=a2_0x2ebaf3,_0x3cf576=new ProfileDeleteCommand(),_0x3d44eb=program[_0x57087e(0x1af)](),_0x2f9b47=await _0x3cf576[_0x57087e(0x1e5)]({'options':{..._0x3d44eb,..._0x4898cf},'args':[_0x4aa1f1],'tdx':null});gracefulExit(_0x2f9b47);}profileCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2a3))['description']('Delete\x20a\x20profile')[a2_0x2ebaf3(0x245)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x2ebaf3(0x345)](profileDeleteAction),profileCmd[a2_0x2ebaf3(0x308)]('remove\x20<name>',{'hidden':!![]})[a2_0x2ebaf3(0x345)](profileDeleteAction),profileCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3eb))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4d3))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x387))['action'](async(_0x290a13,_0x24e97f)=>{const _0x449297=new ProfileSetCommand(),_0x519635=program['opts'](),_0x76f32c=await _0x449297['run']({'options':{..._0x519635,..._0x24e97f},'args':[_0x290a13],'tdx':null});gracefulExit(_0x76f32c);}),profileCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x38a))[a2_0x2ebaf3(0x39c)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')['option'](a2_0x2ebaf3(0x204),a2_0x2ebaf3(0x29e))[a2_0x2ebaf3(0x245)](a2_0x2ebaf3(0x4c1),a2_0x2ebaf3(0x1f2))[a2_0x2ebaf3(0x345)](async(_0x11dccd,_0x107e60)=>{const _0x5a4dab=a2_0x2ebaf3,_0x527af5=new ProfileUseCommand(),_0x51a01c=program['opts'](),_0x44fe6b=await _0x527af5[_0x5a4dab(0x1e5)]({'options':{..._0x51a01c,..._0x107e60},'args':[_0x11dccd],'tdx':null});gracefulExit(_0x44fe6b);});const engageCmd=program['command'](a2_0x2ebaf3(0x4de))[a2_0x2ebaf3(0x39c)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x2685af=>{return async(_0x2d836d,_0x245d4b)=>{const _0x37836a=a2_0x22e8,_0x8ecb9e=new _0x2685af(),_0x257f2c=program[_0x37836a(0x1af)](),_0x3037e8=await createTDXInstance(_0x257f2c),_0x958280=await _0x8ecb9e[_0x37836a(0x1e5)]({'options':{..._0x257f2c,..._0x245d4b},'args':[_0x2d836d],'tdx':_0x3037e8});gracefulExit(_0x958280);};},createEngageNoArgAction=_0x1aa3fa=>{return async _0x5751c2=>{const _0x23db98=a2_0x22e8,_0x282e7a=new _0x1aa3fa(),_0x161863=program[_0x23db98(0x1af)](),_0x507785=await createTDXInstance(_0x161863),_0x4039ec=await _0x282e7a['run']({'options':{..._0x161863,..._0x5751c2},'args':[],'tdx':_0x507785});gracefulExit(_0x4039ec);};},createEngageListAction=_0x15507c=>{return async(_0x4c392c,_0x2bf186)=>{const _0x5f4a7f=a2_0x22e8,_0x31af8f=new _0x15507c(),_0x13dfdd=program['opts'](),_0x1c5d4c=await createTDXInstance(_0x13dfdd),_0x52e4da=await _0x31af8f[_0x5f4a7f(0x1e5)]({'options':{..._0x13dfdd,..._0x2bf186},'args':_0x4c392c?[_0x4c392c]:[],'tdx':_0x1c5d4c});gracefulExit(_0x52e4da);};},campaignCmd=engageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2bb))['description']('Campaign\x20management');campaignCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x224))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x2a4))['option'](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x372))['option'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x2ebaf3(0x3e5))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x23b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f4),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x372))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3ed))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1cf))[a2_0x2ebaf3(0x1ea)]('--workspace\x20<name>',a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3e9),a2_0x2ebaf3(0x49e))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command']('create')['description'](a2_0x2ebaf3(0x2b0))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),'Campaign\x20name')[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x3fb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),'Campaign\x20description')['option'](a2_0x2ebaf3(0x3b3),a2_0x2ebaf3(0x275))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x412),a2_0x2ebaf3(0x244))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x27e),a2_0x2ebaf3(0x2bd))[a2_0x2ebaf3(0x1ea)]('--start-at\x20<datetime>',a2_0x2ebaf3(0x261))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cf),a2_0x2ebaf3(0x476))[a2_0x2ebaf3(0x345)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command']('update\x20<name-or-id>')['description'](a2_0x2ebaf3(0x258))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['option'](a2_0x2ebaf3(0x301),'New\x20campaign\x20name')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),a2_0x2ebaf3(0x2b4))['option'](a2_0x2ebaf3(0x3b3),a2_0x2ebaf3(0x275))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x412),a2_0x2ebaf3(0x244))['option']('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')['option'](a2_0x2ebaf3(0x499),a2_0x2ebaf3(0x261))[a2_0x2ebaf3(0x1ea)]('--timezone\x20<tz>',a2_0x2ebaf3(0x476))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x2ebaf3(0x1d4))['description'](a2_0x2ebaf3(0x1fb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),'Workspace\x20name')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x319),a2_0x2ebaf3(0x347))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x236))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x47e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x334))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3b9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x20b))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x210))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3b1))['description']('Duplicate\x20a\x20campaign')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x2ebaf3(0x308)]('pull\x20[workspace-name]')['description'](a2_0x2ebaf3(0x306))['option'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),'Pull\x20specific\x20campaign\x20by\x20name')['option'](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x2a4))['option'](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x1fe))[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x2ebaf3(0x352))['description'](a2_0x2ebaf3(0x47b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x362))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x27f))['option'](a2_0x2ebaf3(0x424),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x2ebaf3(0x345)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x2ebaf3(0x26a))['description']('Always-on\x20campaign\x20management');alwaysOnCampaignCmd['command'](a2_0x2ebaf3(0x332))['description'](a2_0x2ebaf3(0x46e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x2a4))[a2_0x2ebaf3(0x1ea)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4c5))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x326))[a2_0x2ebaf3(0x1ea)]('--type\x20<type>',a2_0x2ebaf3(0x2a4))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1d9),a2_0x2ebaf3(0x20e))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),'Workspace\x20name\x20(required)')['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3ed))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x497))[a2_0x2ebaf3(0x27b)]('--workspace\x20<name>',a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3e9),a2_0x2ebaf3(0x49e))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4d9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x49f))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),'Campaign\x20name')['requiredOption'](a2_0x2ebaf3(0x3f4),a2_0x2ebaf3(0x3fb))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),'Workspace\x20name\x20(required)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),a2_0x2ebaf3(0x2b4))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3b3),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c4),a2_0x2ebaf3(0x26c))[a2_0x2ebaf3(0x345)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x43e))[a2_0x2ebaf3(0x39c)]('Update\x20an\x20always-on\x20campaign')[a2_0x2ebaf3(0x27b)]('--workspace\x20<name>',a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x1ea)]('--name\x20<name>',a2_0x2ebaf3(0x4cc))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),'Campaign\x20description')['option'](a2_0x2ebaf3(0x3b3),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4c4),a2_0x2ebaf3(0x26c))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1d4))[a2_0x2ebaf3(0x39c)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')[a2_0x2ebaf3(0x27b)]('--workspace\x20<name>',a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x319),a2_0x2ebaf3(0x347))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)]('launch\x20<name-or-id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x44b))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x2ebaf3(0x334))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x214))[a2_0x2ebaf3(0x27b)]('--workspace\x20<name>',a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x20b))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3a8))['requiredOption'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd['command'](a2_0x2ebaf3(0x374))['description'](a2_0x2ebaf3(0x24a))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x328),'Workspace\x20name\x20(required)')['option'](a2_0x2ebaf3(0x319),'Skip\x20confirmation\x20prompt')[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command']('duplicate\x20<name-or-id>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4d5))['requiredOption'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x441))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x446))[a2_0x2ebaf3(0x345)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command']('template')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1d8));templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3de))['description'](a2_0x2ebaf3(0x1ef))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3ed))['description']('Show\x20email\x20template\x20details')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)]('--full',a2_0x2ebaf3(0x49e))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4d9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x29a))[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x42a))['requiredOption'](a2_0x2ebaf3(0x2d0),a2_0x2ebaf3(0x367))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x365),'HTML\x20template\x20content')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x464),a2_0x2ebaf3(0x364))[a2_0x2ebaf3(0x1ea)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3f1),a2_0x2ebaf3(0x35b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x431),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x10b6df=>{const _0x3a86db=a2_0x2ebaf3;if(![_0x3a86db(0x38f),_0x3a86db(0x4b2)][_0x3a86db(0x4df)](_0x10b6df))throw new SDKError(ErrorCode[_0x3a86db(0x42f)],_0x3a86db(0x4ae)+_0x10b6df+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x10b6df;})[a2_0x2ebaf3(0x345)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x43e))['description'](a2_0x2ebaf3(0x455))[a2_0x2ebaf3(0x1ea)]('--workspace\x20<name>','Workspace\x20name')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x3d7))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2d0),a2_0x2ebaf3(0x367))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x365),'HTML\x20template\x20content')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x464),a2_0x2ebaf3(0x364))['option'](a2_0x2ebaf3(0x3f1),a2_0x2ebaf3(0x35b))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x371))[a2_0x2ebaf3(0x39c)]('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x2ebaf3(0x1ea)]('--workspace\x20<name>',a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),'Pull\x20specific\x20template\x20by\x20name')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4cd),a2_0x2ebaf3(0x347))['option'](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x1fe))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x2ebaf3(0x308)]('push\x20[target]')['description'](a2_0x2ebaf3(0x477))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['option'](a2_0x2ebaf3(0x4cd),'Skip\x20confirmation\x20prompt')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x272))[a2_0x2ebaf3(0x345)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0x2ebaf3(0x362))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3bc))['option'](a2_0x2ebaf3(0x424),a2_0x2ebaf3(0x30d))['action'](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x2ebaf3(0x308)]('delete\x20<name-or-id>')['description'](a2_0x2ebaf3(0x390))['option']('--workspace\x20<name>','Workspace\x20name')['option'](a2_0x2ebaf3(0x319),'Skip\x20confirmation\x20prompt')[a2_0x2ebaf3(0x345)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x2ebaf3(0x420))[a2_0x2ebaf3(0x39c)]('Workspace\x20management');workspaceCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1b7))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x2ebaf3(0x249))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1b0))[a2_0x2ebaf3(0x345)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x2ebaf3(0x3ed))[a2_0x2ebaf3(0x39c)]('Show\x20workspace\x20details')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3e9),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x2ebaf3(0x345)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x2ebaf3(0x4d9))[a2_0x2ebaf3(0x39c)]('Create\x20a\x20workspace')[a2_0x2ebaf3(0x27b)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x3ff))['option'](a2_0x2ebaf3(0x1f9),'Workspace\x20description')[a2_0x2ebaf3(0x345)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x43e))['description'](a2_0x2ebaf3(0x4cb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x301),a2_0x2ebaf3(0x22f))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f9),a2_0x2ebaf3(0x1f6))[a2_0x2ebaf3(0x345)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1d4))['description'](a2_0x2ebaf3(0x1cd))[a2_0x2ebaf3(0x1ea)]('--yes',a2_0x2ebaf3(0x347))[a2_0x2ebaf3(0x345)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command']('use\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x2fa))[a2_0x2ebaf3(0x345)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x27a))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3da));lineSenderAccountCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)]('List\x20LINE\x20sender\x20accounts')['option'](a2_0x2ebaf3(0x328),'Workspace\x20name')['action'](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x2ebaf3(0x308)]('show\x20<name-or-id>')['description'](a2_0x2ebaf3(0x1ed))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))['action'](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd['command']('line-imagemap-image')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x248));function a2_0x46e2(){const _0x266f7b=['Ending\x20offset\x20(default:\x2020)','Interactive\x20chat\x20selector','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--name\x20<new-name>','Folder\x20name\x20for\x20organization','--attributes-file\x20<file>','0.7','RT\x20Journey\x20management','--kind\x20<kind>','--email-sender-id\x20<id>','join','Target\x20directory\x20for\x20YAML\x20files','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','45Ifmquf','Custom\x20revision\x20name\x20(default:\x20timestamp)','segments\x20[path]','clear','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--max-tool-iterations\x20<n>','replace','Output\x20file\x20path','workspace','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','5177186bZnyFa','workflows\x20[project]','--verbose','Pull\x20child\x20segments\x20to\x20YAML\x20files','Overwrite\x20local\x20changes\x20without\x20confirmation','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Override\x20project\x20name','List\x20available\x20LLM\x20models','Template\x20name','\x22.\x20Must\x20be\x20a\x20number.','show\x20<policy>','user','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','INVALID_ARGUMENT','users','--editor-type\x20<type>','-w,\x20--web','resume\x20<name-or-path>','show\x20<personalization_id>','desc','use\x20[resource]\x20[value]','push','validate\x20[name]','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','--jsonl','--behaviors\x20<json>','--llm-project\x20<name>','Pause\x20activations\x20in\x20an\x20RT\x20journey','update\x20<name-or-id>','preAction','--max-depth\x20<depth>','Workspace\x20name\x20(required)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','--master','--next','Name\x20for\x20the\x20duplicated\x20campaign','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','-f,\x20--file\x20<path>','Transition\x20a\x20task\x20to\x20a\x20new\x20status','Launch\x20an\x20always-on\x20campaign','-p,\x20--profile\x20<name>','padWidth','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Workflow\x20(Digdag)\x20management\x20commands','pull\x20[name]','Make\x20service\x20public\x20(default:\x20private)','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','entries','Update\x20an\x20email\x20template','--account-name\x20<name>','list\x20[project]','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','retry','Customer\x20group\x20as\x20JSON\x20string','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','--resume-from\x20<task>','Sections\x20as\x20an\x20inline\x20JSON\x20array','Remove\x20API\x20key\x20from\x20system\x20keychain','list\x20[name]','secrets','List\x20journeys\x20in\x20current\x20context','Unknown\x20action:\x20','--html-file\x20<path>','stdout','delete\x20<args...>','Run\x20tests\x20for\x20an\x20LLM\x20agent','create\x20<segment_name>','--last','table','List\x20all\x20workflow\x20schedules','--parent-folder\x20<name>','view\x20[name]','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','sql\x20[segment_name]','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--include-subtasks','Show\x20journey\x20table\x20column-to-step\x20mapping','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--github\x20<owner/repo>','--file\x20<path>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','history\x20<name>','list\x20[path]','versions\x20<name-or-path>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','--revision\x20<revision>','--from\x20<date>','Launch\x20a\x20campaign','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20master\x20table\x20sample\x20data','--temperature\x20<n>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','-X,\x20--method\x20<method>','--invisible','subcommandTerm','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','project','Personalization\x20management','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--session\x20<id>','--skip-validation','login','json','Preview\x20operation\x20without\x20executing','Updated\x20description','filter','auth','columns\x20<name-or-path>','Reason\x20for\x20killing\x20the\x20attempt','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','RT\x202.0\x20configuration\x20management','Show\x20always-on\x20campaign\x20details','--model\x20<name>','--start-at\x20<datetime>','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','preview\x20[file]','Workflow\x20attempt\x20management','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Create\x20a\x20new\x20always-on\x20campaign','Push\x20without\x20confirmation','Pull\x20workflow\x20project\x20to\x20local\x20folder','Output\x20folder\x20(default:\x20{project_name}.llm)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','--behaviors-file\x20<file>','sql\x20[name]','colorFn','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Show\x20document\x20details','hidden','2146280SrwAbs','--add-behaviors\x20<json>','Preview\x20without\x20creating\x20the\x20project','Invalid\x20editor\x20type:\x20','folders\x20<parent_name>','chat\x20[message...]','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','grapesjs','push\x20[file]','AI-native\x20work\x20management','sessions\x20[project]','argument','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','List\x20composable\x20audiences','Resume\x20activations\x20in\x20an\x20RT\x20journey','--session-time\x20<time>','help','Show\x20a\x20specific\x20realtime\x20personalization','parse','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','attempt','after','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--enable-utm-tracking','always-on-campaigns\x20[pattern]','--follow','isTTY','--in\x20<database>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','logs','Update\x20a\x20workspace','New\x20campaign\x20name','-y,\x20--yes','upload\x20<file>','--timezone\x20<tz>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--public','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Set\x20a\x20profile\x20configuration\x20value','Output\x20directory','Duplicate\x20an\x20always-on\x20campaign','use\x20<project-name>','Read\x20SQL\x20query\x20from\x20file','Show\x20authentication\x20status\x20and\x20current\x20context','create','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--all','CDP\x20segment\x20management\x20commands','chdir','engage','includes','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Parent\x20folder\x20name\x20for\x20nested\x20folders','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Preview\x20composable\x20segment\x20query\x20on\x20CDW','Output\x20as\x20JSON\x20Lines','resume_activations\x20<journeyId>','createAsync','--limit\x20<n>','[EXPERIMENTAL]\x20Show\x20chat\x20log','--to\x20<timestamp>','opts','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Run\x20specific\x20tests\x20(comma-separated)','schema\x20<type>','Kill\x20a\x20job','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Agent\x20description','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','INFO','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Run\x20Trino\x20query\x20with\x20streaming\x20results','--include-stats','_list-commands','Composable\x20segment\x20commands','New\x20service\x20description','-d,\x20--database\x20<db>','flags','push\x20[path]','List\x20email\x20senders','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Filtering\x20rule\x20as\x20JSON\x20string','Result\x20output\x20destination\x20URL','validate\x20[file]','optionDescription','Customer\x20group\x20from\x20JSON\x20file','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','error','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','Delete\x20a\x20workspace','chats','Show\x20campaign\x20details','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','folder','workflow','End\x20time\x20filter\x20(ISO\x208601\x20format)','delete\x20<name-or-id>','Overwrite\x20existing\x20profile','--description\x20<text>','Clear\x20session\x20context','Email\x20template\x20management','--status\x20<status>','run\x20[name]','Push\x20YAML\x20files\x20to\x20CAS\x20API','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','--retry-limit\x20<0~32>','info\x20[segment_name]','agents\x20[pattern]','stats\x20<name-or-path>','log','Attributes\x20as\x20JSON\x20string','unset\x20<resource>','tdx\x20','run','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Make\x20segment\x20invisible\x20(default:\x20visible)','--priority\x20<-2~2>','Include\x20retried\x20attempts','option','trace','patch\x20<personalization_id>','Show\x20LINE\x20sender\x20account\x20details','trino','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','profiles','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a','117675tjjLJB','--tags\x20<tags>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Workspace\x20description','Show\x20connection\x20details\x20by\x20name','--no-proxy','--description\x20<desc>','--to\x20<n>','Delete\x20a\x20campaign','use\x20[name]','agent','Show\x20what\x20would\x20be\x20written\x20without\x20writing','push\x20[name]','Retry\x20limit\x20(0\x20to\x2032)','list','Scheduled\x20query\x20management\x20commands','Workflow\x20project\x20management','--default','--format\x20<format>','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','update\x20<agent-name>','logLevel','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','resume\x20<name-or-id>','Timezone\x20for\x20cron\x20(default:\x20UTC)','--delay\x20<seconds>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Resume\x20a\x20paused\x20campaign','Parent\x20segment\x20description','update\x20<name>','List\x20jobs','Pause\x20an\x20always-on\x20campaign','jobs','--schedule-option\x20<value>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','New\x20segment\x20name','database','preview\x20<segment_name>','Job\x20management\x20commands','forEach','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','-v,\x20--verbose','argv','show\x20<folder_ref>','Invalid\x20--limit\x20value:\x20\x22','options','gitRevision','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Agent\x20prompt/instructions','Submit\x20a\x20job','pull\x20<project>\x20[target-dir]','--output\x20<file>','clone\x20[source]','length','Move\x20to\x20folder','catch','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','New\x20workspace\x20name','Access\x20control\x20policy\x20commands','mcp','Database\x20name','--params\x20<json>','claude\x20[args...]','create\x20<name-or-path>','launch\x20<name-or-id>','service','YAML\x20file\x20path\x20for\x20unpushed\x20segment','--days\x20<n>','isArray','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','[task-name]','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Version\x20number\x20to\x20view','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','commands','Behaviors\x20from\x20JSON\x20file','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Email\x20sender\x20ID\x20for\x20delivery','addHelpText','Get\x20job\x20results','view\x20<name-or-path>','LINE\x20imagemap\x20image\x20management','workspaces\x20[pattern]','Finish\x20an\x20always-on\x20campaign','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','--template\x20<name>','configureHelp','board','Composable\x20audience\x20name','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','stderr','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','desc\x20[segment_name]','Read\x20query\x20from\x20file','Open\x20a\x20document\x20in\x20$EDITOR','repeat','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Update\x20a\x20campaign','Create\x20a\x20new\x20agent\x20in\x20current\x20project','noColor','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','audience','--help','buildTime','padEnd','Follow/watch\x20timeline\x20for\x20running\x20attempts','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','alias','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','--table','Document\x20body\x20text','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--name\x20<new_name>','profile','Initialize\x20a\x20new\x20workspace','always-on-campaign','Create\x20segment\x20folder','Enable\x20UTM\x20tracking','api\x20[endpoint]','--add-behaviors-file\x20<file>','--name\x20<text>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Show\x20only\x20master\x20table\x20validation','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Priority\x20(critical,\x20high,\x20medium,\x20low)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--in\x20<db>','new\x20<title>','Output\x20as\x20JSON','line-sender-account','requiredOption','--from\x20<n>','--starter-message\x20<text>','--json-columns\x20<cols>','Validate\x20campaign\x20YAML\x20files\x20locally','Show\x20job\x20details','set','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Updated\x20schedule\x20option','--stream','--customer-group-file\x20<file>','[attempt-id]','--clear','--new','617982UAGbNQ','delete\x20<project-name-or-id>','attempts\x20[project]','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','show\x20<service_id>\x20[parent_segment]','Attributes\x20from\x20JSON\x20file','view\x20[segment_name]','--timeout\x20<seconds>','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','use\x20<path>','Timezone\x20for\x20cron','Agent\x20name','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Create\x20a\x20new\x20LLM\x20project','create\x20<name>\x20[parent_segment]','Create\x20a\x20new\x20profile','journeys\x20[pattern]','Create\x20an\x20email\x20template','--rule-file\x20<file>','8852zIMeWV','--customer-group\x20<json>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Assignee','Add\x20behaviors\x20from\x20JSON\x20file','delete\x20<service_id>\x20[parent_segment]','schedules','delete\x20<name>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--prompt\x20<text>','split','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','create\x20<name>','Show\x20schedule\x20execution\x20history','--folder\x20<name>','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','[action]','Skip\x20confirmation\x20prompts','Create\x20a\x20new\x20campaign','Enable\x20a\x20disabled\x20workflow\x20schedule','commandDescription','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','Campaign\x20description','Master\x20database\x20name','set\x20<args...>','--behavior\x20[name]','map','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Maximum\x20recursion\x20depth\x20(default:\x2010)','campaign','Enable\x20verbose\x20logging','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--json','activations\x20<segment_name>','--version','timeline\x20[project.workflow]','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','delivery','Parent\x20segment\x20management','1157264fOIQkX','information_schema','Start\x20a\x20new\x20chat\x20session','Timezone\x20(e.g.,\x20America/Los_Angeles)','engage_workspace','Add\x20attributes\x20as\x20JSON\x20string','Personalization\x20name','show\x20<job-id>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Add\x20behaviors\x20as\x20JSON\x20string','--subject\x20<subject>','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Starter\x20message','-o,\x20--output\x20<file>','usage','[options]\x20--\x20[claude-code-args...]','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','registeredArguments','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','connections','Update\x20an\x20existing\x20agent','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--agent\x20<ref>','flatMap','Cron\x20expression\x20for\x20scheduling',',\x20version\x20','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--limit\x20<number>','session','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Setup\x20API\x20key\x20authentication\x20interactively','--kind\x20<type>','Token\x20description','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','549nmcatQ','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Include\x20retried\x20attempts\x20(for\x20list)','required','--color','Preview\x20changes\x20without\x20pushing','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--parent-segment\x20<name>','allowExcessArguments','statusline','--body\x20<body>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','run\x20[workflow]','--result\x20<url>','Continue\x20most\x20recent\x20conversation','--trace','--to\x20<date>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Show\x20items\x20updated\x20within\x20N\x20days','summary','Delete\x20an\x20LLM\x20project','-o,\x20--output\x20<dir>','delete\x20<agent-name>','--attribute\x20[name]','--name\x20<name>','Service\x20description','describe','List\x20secret\x20keys\x20for\x20a\x20project','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Pull\x20campaigns\x20to\x20YAML\x20files','--dry-run','command','Maximum\x20tool\x20iterations\x20(default:\x204)','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Export\x20journey(s)\x20as\x20YAML\x20files','Project\x20description','Show\x20all\x20files\x20including\x20valid\x20ones','configuration_versions\x20[name]','--num\x20<1-10>','_hidden','journey','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a','Skip\x20population\x20counting','slice','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--session-id\x20<id>','--from\x20<timestamp>','--yes','--method\x20<pm>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','List\x20all\x20users\x20in\x20the\x20account','pull\x20[parent_or_file]','New\x20service\x20name','isDirectory','delete\x20<token_id>\x20[parent_segment]','Query\x20engine\x20version','log\x20<chat-id>','--no-eval','stringify','--engine-version\x20<version>','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','init\x20[name]','--workspace\x20<name>','tasks','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Create\x20a\x20scheduled\x20query','schedule','Personalization\x20service\x20token\x20management','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--allowed-ips\x20<ips>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','list\x20[pattern]','--param\x20<key=value>','pause\x20<name-or-id>','parents\x20[pattern]','Initial\x20status','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--table\x20<table>','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Query\x20type:\x20trino\x20or\x20hive','Maximum\x20rows\x20to\x20display','Segment\x20description','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','links\x20<name>','status','show\x20<agent-name>','upgrade\x20[version]','subcommandDescription','Delete\x20a\x20realtime\x20personalization','Master\x20table\x20name','action','Limit\x20number\x20of\x20rows','Skip\x20confirmation\x20prompt','Updated\x20timezone','Show\x20segment\x20details\x20(alias\x20for\x20view)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','--job-type\x20<type>','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','enable\x20<id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--type\x20<api_type>','get','Delete\x20an\x20agent','push\x20[target]','DEBUG','CDP\x20Journey\x20Orchestration\x20commands','-u,\x20--use','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','-1d','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','-d,\x20--database\x20<database>','outputHelp','Plaintext\x20template\x20content','-H,\x20--header\x20<header>','Data\x20connection\x20management\x20(for\x20activations/exports)','--time\x20<iso8601>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--add-attributes-file\x20<file>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','validate\x20[target]','Arguments:','Read\x20HTML\x20template\x20from\x20file','--html\x20<html>','TRACE','Email\x20subject\x20template','Describe\x20table\x20schema','Behaviors\x20as\x20JSON\x20string','Open\x20segment\x20in\x20web\x20browser','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','parent','create\x20<name>\x20<service_id>\x20[parent_segment]','pull\x20[workspace]','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','directory','finish\x20<name-or-id>','System\x20prompt/instructions\x20(default:\x20empty)','optionTerm','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','kill\x20<job-id>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','hook','Include\x20subtasks\x20in\x20tasks\x20output','upload\x20[project-name-or-dir]','upgrade','--cron\x20<expression>','Database\x20name\x20(default:\x20information_schema)','Pause\x20a\x20running\x20journey','Show\x20Kanban\x20board\x20view\x20of\x20tasks','item','Directory\x20does\x20not\x20exist:\x20','--audience-id\x20<id>','job','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','--path\x20<file-path>','work','use\x20<name>','--priority\x20<priority>','result\x20<job-id>','--database\x20<name>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','beefree','Delete\x20an\x20email\x20template','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','use\x20[project]','List\x20activations\x20for\x20a\x20journey','--no-count-population','Show\x20journey\x20details','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Resume\x20a\x20paused\x20journey','backup\x20<name>','Job\x20priority\x20(-2\x20to\x202)','fields\x20[parent_name]','LLM\x20agent\x20management','description','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Add\x20attributes\x20from\x20JSON\x20file','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','argumentDescription','Include\x20raw\x20history\x20data\x20in\x20output','Delay\x20in\x20seconds\x20before\x20execution','Open\x20parent\x20segment\x20in\x20web\x20browser','Task\x20name\x20for\x20logs\x20action','Get\x20current\x20RT\x20configuration\x20version\x20status','projects\x20[pattern]','Resume\x20a\x20paused\x20always-on\x20campaign','name','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','--tsv','Workflow\x20parameter\x20(repeatable)','--debug','Parse\x20and\x20validate\x20without\x20executing','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Comma-separated\x20tags','duplicate\x20<name-or-id>','Filtering\x20rule\x20from\x20JSON\x20file','--segment\x20<path>','aliases','5300010oHdEwZ','senders\x20[pattern]','policy','kill','Pause\x20a\x20campaign','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','show\x20[table]','Validate\x20template\x20YAML\x20files\x20locally','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','traffic\x20<name-or-path>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Skip\x20validation\x20of\x20.dig\x20files','Resume\x20from\x20specific\x20task\x20(retry)','List\x20all\x20versions\x20of\x20a\x20journey','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--assignee\x20<assignee>','--interval\x20<range>','Resume\x20from\x20specific\x20task','--name\x20<names>','--schedule-type\x20<type>','tdx','Revision\x20name\x20(default:\x20timestamp)','-C,\x20--directory\x20<path>','move\x20<name>\x20<status>','Update\x20a\x20realtime\x20personalization\x20entity','show\x20<name>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Force\x20retry\x20even\x20if\x20not\x20failed','List\x20all\x20data\x20connections','desc\x20[name]','Name\x20for\x20the\x20new\x20project\x20(required)','submit\x20[query]','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','New\x20template\x20name','then','-f,\x20--force','LINE\x20sender\x20account\x20management','Journey\x20version\x20management','Manage\x20workflow\x20schedules\x20(enable/disable)','format','templates\x20[pattern]','debug','--reason\x20<text>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Apply\x20a\x20template','...','update\x20<service_id>\x20[parent_segment]','campaigns\x20[pattern]','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Show\x20timeline\x20for\x20specific\x20attempt','Database\x20name\x20(required)','--full','create\x20<parent_name>\x20<folder_name>','set\x20<key=value>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','show\x20<name-or-id>','--catalog\x20<catalog>','Disable\x20a\x20workflow\x20schedule','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','--plaintext\x20<text>','--include-retried','Check\x20for\x20updates\x20without\x20installing','--type\x20<type>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','List\x20all\x20available\x20profiles','tsv','--enriched','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Campaign\x20type\x20(email\x20or\x20push)','setup','push\x20[source-dir]','variadic','Workspace\x20name','--sections\x20<json>','jsonl','\x20(resolved\x20to\x20','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','restore\x20<folder>','--data\x20<data>','--delete','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)'];a2_0x46e2=function(){return _0x266f7b;};return a2_0x46e2();}lineImagemapImageCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x4ce))[a2_0x2ebaf3(0x39c)]('Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)')['action'](createEngageAction(EngageLineImagemapImageUploadCommand));const deliveryCmd=program['command'](a2_0x2ebaf3(0x2c4))['description']('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3b6))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1c2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x328),a2_0x2ebaf3(0x3ff))[a2_0x2ebaf3(0x345)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x2ebaf3(0x308)]('connection')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x35d)),connectionListAction=async _0xd1df24=>{const _0x15cadc=a2_0x2ebaf3,_0x2c7333=new ConnectionListCommand(),_0x43eb26=program[_0x15cadc(0x1af)](),_0x20423=await createTDXInstance(_0x43eb26),_0x1b9c32=await _0x2c7333[_0x15cadc(0x1e5)]({'options':{..._0x43eb26,..._0xd1df24},'args':[],'tdx':_0x20423});gracefulExit(_0x1b9c32);};connectionCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3d2))[a2_0x2ebaf3(0x345)](connectionListAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x2d9),{'hidden':!![]})[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x39d))[a2_0x2ebaf3(0x345)](connectionListAction),connectionCmd[a2_0x2ebaf3(0x308)]('show\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1f7))['action'](async(_0x4fb297,_0x3bc2f8)=>{const _0x1dafd9=a2_0x2ebaf3,_0x268757=new ConnectionShowCommand(),_0x1abc32=program[_0x1dafd9(0x1af)](),_0x10b0b=await createTDXInstance(_0x1abc32),_0x4dc16f=await _0x268757[_0x1dafd9(0x1e5)]({'options':{..._0x1abc32,..._0x3bc2f8},'args':[_0x4fb297],'tdx':_0x10b0b});gracefulExit(_0x4dc16f);}),connectionCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1b3))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x32b))[a2_0x2ebaf3(0x345)](async(_0x131454,_0x278123)=>{const _0x58c89e=a2_0x2ebaf3,_0x240183=new ConnectionSchemaCommand(),_0x17931c=program['opts'](),_0x5d0265=await createTDXInstance(_0x17931c),_0xd574ca=await _0x240183[_0x58c89e(0x1e5)]({'options':{..._0x17931c,..._0x278123},'args':[_0x131454],'tdx':_0x5d0265});gracefulExit(_0xd574ca);}),connectionCmd['command']('types')[a2_0x2ebaf3(0x39c)]('List\x20available\x20connector\x20types')[a2_0x2ebaf3(0x345)](async _0x26965e=>{const _0x297358=a2_0x2ebaf3,_0x5e8732=new ConnectionTypesCommand(),_0xb59400=program[_0x297358(0x1af)](),_0x705fc0=await createTDXInstance(_0xb59400),_0x2fbf0c=await _0x5e8732[_0x297358(0x1e5)]({'options':{..._0xb59400,..._0x26965e},'args':[],'tdx':_0x705fc0});gracefulExit(_0x2fbf0c);}),connectionCmd[a2_0x2ebaf3(0x308)]('settings\x20<type>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x28c))['action'](async(_0x162faa,_0x7aafdc)=>{const _0x2eda0a=a2_0x2ebaf3,_0x2fdad4=new ConnectionSettingsCommand(),_0x56f74a=program[_0x2eda0a(0x1af)](),_0x158879=await createTDXInstance(_0x56f74a),_0x34d85c=await _0x2fdad4[_0x2eda0a(0x1e5)]({'options':{..._0x56f74a,..._0x7aafdc},'args':[_0x162faa],'tdx':_0x158879});gracefulExit(_0x34d85c);});const casCmd=program[a2_0x2ebaf3(0x308)]('cas')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x443));casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x201))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4b9))[a2_0x2ebaf3(0x345)](async _0x213d4e=>{const _0x477db8=a2_0x2ebaf3,_0x594f49=new CASListCommand(),_0x292e07=program[_0x477db8(0x1af)](),_0xfe6bc=await createTDXInstance(_0x292e07),_0x485f36=await _0x594f49['run']({'options':{..._0x292e07,..._0x213d4e},'args':[],'tdx':_0xfe6bc});gracefulExit(_0x485f36);}),casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x3d3))[a2_0x2ebaf3(0x39c)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x2ebaf3(0x345)](async(_0x7ed391,_0x8904f4)=>{const _0x473dd1=a2_0x2ebaf3,_0x28a351=new CASDescCommand(),_0x51829f=program[_0x473dd1(0x1af)](),_0x2cfe55=await createTDXInstance(_0x51829f),_0x321e00=await _0x28a351['run']({'options':{..._0x51829f,..._0x8904f4},'args':_0x7ed391?[_0x7ed391]:[],'tdx':_0x2cfe55});gracefulExit(_0x321e00);}),casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x451))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x24b))[a2_0x2ebaf3(0x1ea)]('--dir\x20<dir>',a2_0x2ebaf3(0x414))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x44f))[a2_0x2ebaf3(0x345)](async(_0x1db23c,_0xaa0572)=>{const _0x4e3275=a2_0x2ebaf3,_0x151410=new CASPullCommand(),_0x315013=program[_0x4e3275(0x1af)](),_0x296adb=await createTDXInstance(_0x315013),_0x3376e8=await _0x151410[_0x4e3275(0x1e5)]({'options':{..._0x315013,..._0xaa0572},'args':_0x1db23c?[_0x1db23c]:[],'tdx':_0x296adb});gracefulExit(_0x3376e8);}),casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x352))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1db))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x276))[a2_0x2ebaf3(0x345)](async(_0x2bdb7d,_0x5d783e)=>{const _0x1ccc3d=a2_0x2ebaf3,_0x575472=new CASPushCommand(),_0x150559=program[_0x1ccc3d(0x1af)](),_0x2964ff=await createTDXInstance(_0x150559),_0x2a8bb0=await _0x575472[_0x1ccc3d(0x1e5)]({'options':{..._0x150559,..._0x5d783e},'args':_0x2bdb7d?[_0x2bdb7d]:[],'tdx':_0x2964ff});gracefulExit(_0x2a8bb0);}),casCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x21a))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4e5))[a2_0x2ebaf3(0x1ea)]('--audience\x20<name>',a2_0x2ebaf3(0x24f))[a2_0x2ebaf3(0x345)](async(_0x973433,_0x9212ac)=>{const _0x5b3e18=a2_0x2ebaf3,_0x5483f6=new CASPreviewCommand(),_0x131250=program[_0x5b3e18(0x1af)](),_0x2f6693=await createTDXInstance(_0x131250),_0x225af2=await _0x5483f6['run']({'options':{..._0x131250,..._0x9212ac},'args':[_0x973433,_0x9212ac[_0x5b3e18(0x25c)]],'tdx':_0x2f6693});gracefulExit(_0x225af2);});const casSgCmd=casCmd['command']('sg')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x1bd));casSgCmd[a2_0x2ebaf3(0x308)]('list\x20[audience_name]')[a2_0x2ebaf3(0x39c)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0x2ebaf3(0x345)](async(_0x5cb3b5,_0x31792f)=>{const _0x3636ca=a2_0x2ebaf3,_0x3887db=new CASSegmentListCommand(),_0x179429=program[_0x3636ca(0x1af)](),_0x23b4ea=await createTDXInstance(_0x179429),_0x2c623a=await _0x3887db[_0x3636ca(0x1e5)]({'options':{..._0x179429,..._0x31792f},'args':_0x5cb3b5?[_0x5cb3b5]:[],'tdx':_0x23b4ea});gracefulExit(_0x2c623a);});const journeyCmd=program['command'](a2_0x2ebaf3(0x311))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x354)),journeyListAction=async(_0x1e5211,_0x2dbf2e)=>{const _0x1ab38a=a2_0x2ebaf3,_0x4b452c=new JourneyListCommand(),_0x2f9382=program[_0x1ab38a(0x1af)](),_0x483ced=await createTDXInstance(_0x2f9382),_0x4deddb=await _0x4b452c[_0x1ab38a(0x1e5)]({'options':{..._0x2f9382,..._0x2dbf2e},'args':_0x1e5211?[_0x1e5211]:[],'tdx':_0x483ced});gracefulExit(_0x4deddb);};journeyCmd['command'](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x462))[a2_0x2ebaf3(0x345)](journeyListAction),journeyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x247))['description'](a2_0x2ebaf3(0x395))['option'](a2_0x2ebaf3(0x432),'Open\x20journey\x20in\x20web\x20browser')['option'](a2_0x2ebaf3(0x1bb),'Include\x20execution\x20statistics')[a2_0x2ebaf3(0x345)](async(_0x50eb12,_0x760b43)=>{const _0x8ec1a7=a2_0x2ebaf3,_0x2d63b0=new JourneyViewCommand(),_0xf98ee=program['opts'](),_0x26667c=await createTDXInstance(_0xf98ee),_0x3bd975=await _0x2d63b0[_0x8ec1a7(0x1e5)]({'options':{..._0xf98ee,..._0x760b43},'args':[_0x50eb12],'tdx':_0x26667c});gracefulExit(_0x3bd975);}),journeyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1e0))['description']('Show\x20journey\x20statistics')[a2_0x2ebaf3(0x1ea)]('--stage\x20<name>','Show\x20stats\x20for\x20specific\x20stage')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47d),a2_0x2ebaf3(0x2b9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2f8),a2_0x2ebaf3(0x1b1))[a2_0x2ebaf3(0x1ea)]('--include-history',a2_0x2ebaf3(0x3a2))['action'](async(_0x5ec42f,_0x5aa778)=>{const _0x2252b7=a2_0x2ebaf3,_0xaf72e4=new JourneyStatsCommand(),_0x3304ef=program[_0x2252b7(0x1af)](),_0x46d3b4=await createTDXInstance(_0x3304ef),_0xa27797=await _0xaf72e4[_0x2252b7(0x1e5)]({'options':{..._0x3304ef,..._0x5aa778},'args':[_0x5ec42f],'tdx':_0x46d3b4});gracefulExit(_0xa27797);}),journeyCmd['command'](a2_0x2ebaf3(0x3bf))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x291))[a2_0x2ebaf3(0x1ea)]('--type\x20<type>',a2_0x2ebaf3(0x1dc))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x47d),a2_0x2ebaf3(0x2b9))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2f8),a2_0x2ebaf3(0x1b1))['option'](a2_0x2ebaf3(0x2e1),'Maximum\x20number\x20of\x20nodes',_0x5e127f=>{const _0x29b7ef=a2_0x2ebaf3,_0x117af3=parseInt(_0x5e127f,0xa);if(isNaN(_0x117af3))throw new Error(_0x29b7ef(0x221)+_0x5e127f+_0x29b7ef(0x42b));return _0x117af3;})[a2_0x2ebaf3(0x345)](async(_0x2830cf,_0x49abbb)=>{const _0x1a4f39=a2_0x2ebaf3,_0x5ed6fc=new JourneyTrafficCommand(),_0x5464fe=program[_0x1a4f39(0x1af)](),_0xf517fb=await createTDXInstance(_0x5464fe),_0x4af7fd=await _0x5ed6fc['run']({'options':{..._0x5464fe,..._0x49abbb},'args':[_0x2830cf],'tdx':_0xf517fb});gracefulExit(_0x4af7fd);}),journeyCmd[a2_0x2ebaf3(0x308)]('pause\x20<name-or-path>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x381))[a2_0x2ebaf3(0x345)](async(_0x4d8d7f,_0x524a1e)=>{const _0x58128f=a2_0x2ebaf3,_0x213c59=new JourneyPauseCommand(),_0x718613=program['opts'](),_0x5390b8=await createTDXInstance(_0x718613),_0x2cec61=await _0x213c59[_0x58128f(0x1e5)]({'options':{..._0x718613,..._0x524a1e},'args':[_0x4d8d7f],'tdx':_0x5390b8});gracefulExit(_0x2cec61);}),journeyCmd['command'](a2_0x2ebaf3(0x433))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x397))['action'](async(_0x409d1a,_0x4da1b7)=>{const _0x367a8f=a2_0x2ebaf3,_0x566910=new JourneyResumeCommand(),_0x498f72=program[_0x367a8f(0x1af)](),_0xa08a02=await createTDXInstance(_0x498f72),_0x56194a=await _0x566910[_0x367a8f(0x1e5)]({'options':{..._0x498f72,..._0x4da1b7},'args':[_0x409d1a],'tdx':_0xa08a02});gracefulExit(_0x56194a);}),journeyCmd['command'](a2_0x2ebaf3(0x451))['description'](a2_0x2ebaf3(0x30b))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x44f))[a2_0x2ebaf3(0x345)](async(_0x39631b,_0x53db24)=>{const _0x4b3c81=a2_0x2ebaf3,_0x18c951=new JourneyPullCommand(),_0x3bbbfe=program[_0x4b3c81(0x1af)](),_0x292b42=await createTDXInstance(_0x3bbbfe),_0x11dd4a=await _0x18c951[_0x4b3c81(0x1e5)]({'options':{..._0x3bbbfe,..._0x53db24},'args':_0x39631b?[_0x39631b]:[],'tdx':_0x292b42});gracefulExit(_0x11dd4a);}),journeyCmd['command'](a2_0x2ebaf3(0x352))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x45c))['action'](async(_0x18508d,_0x14237f)=>{const _0x39b6a6=a2_0x2ebaf3,_0x4d228d=new JourneyPushCommand(),_0x4404d9=program['opts'](),_0x25776d=await createTDXInstance(_0x4404d9),_0x1d9e0a=await _0x4d228d[_0x39b6a6(0x1e5)]({'options':{..._0x4404d9,..._0x14237f},'args':_0x18508d?[_0x18508d]:[],'tdx':_0x25776d});gracefulExit(_0x1d9e0a);}),journeyCmd['command'](a2_0x2ebaf3(0x493))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x472))[a2_0x2ebaf3(0x345)](async(_0x4d3122,_0x370129)=>{const _0x2baf92=a2_0x2ebaf3,_0x55fc52=new JourneyColumnsCommand(),_0x129038=program[_0x2baf92(0x1af)](),_0x4fcc78=await createTDXInstance(_0x129038),_0x4647ca=await _0x55fc52[_0x2baf92(0x1e5)]({'options':{..._0x129038,..._0x370129},'args':[_0x4d3122],'tdx':_0x4fcc78});gracefulExit(_0x4647ca);}),journeyCmd[a2_0x2ebaf3(0x308)]('activations\x20<name-or-path>')['description'](a2_0x2ebaf3(0x393))[a2_0x2ebaf3(0x345)](async(_0x35be08,_0x3f9ba5)=>{const _0x3feb80=a2_0x2ebaf3,_0x277689=new JourneyActivationsCommand(),_0x1c99da=program[_0x3feb80(0x1af)](),_0x50dfb2=await createTDXInstance(_0x1c99da),_0x59cf54=await _0x277689['run']({'options':{..._0x1c99da,..._0x3f9ba5},'args':[_0x35be08],'tdx':_0x50dfb2});gracefulExit(_0x59cf54);}),journeyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x47a))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3c3))[a2_0x2ebaf3(0x345)](async(_0x5b4742,_0x133762)=>{const _0x4459c4=a2_0x2ebaf3,_0x1a871f=new JourneyVersionsCommand(),_0x2f06e5=program[_0x4459c4(0x1af)](),_0xad59c8=await createTDXInstance(_0x2f06e5),_0x396332=await _0x1a871f[_0x4459c4(0x1e5)]({'options':{..._0x2f06e5,..._0x133762},'args':[_0x5b4742],'tdx':_0xad59c8});gracefulExit(_0x396332);});const journeyVersionCmd=journeyCmd[a2_0x2ebaf3(0x308)]('version')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x3db));journeyVersionCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x235))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x49a))[a2_0x2ebaf3(0x345)](async(_0x43300c,_0x2cd34f)=>{const _0x3a35c2=a2_0x2ebaf3,_0x40a8df=new JourneyVersionCreateCommand(),_0x5d03df=program[_0x3a35c2(0x1af)](),_0x50e827=await createTDXInstance(_0x5d03df),_0x9c8ef7=await _0x40a8df[_0x3a35c2(0x1e5)]({'options':{..._0x5d03df,..._0x2cd34f},'args':[_0x43300c],'tdx':_0x50e827});gracefulExit(_0x9c8ef7);}),journeyVersionCmd['command']('view\x20<name-or-path>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x274))[a2_0x2ebaf3(0x27b)]('--version\x20<number>',a2_0x2ebaf3(0x23e))[a2_0x2ebaf3(0x345)](async(_0x312c7a,_0x503e58)=>{const _0x55fd11=a2_0x2ebaf3,_0x530026=new JourneyVersionViewCommand(),_0xb51d48=program[_0x55fd11(0x1af)](),_0x2deb76=await createTDXInstance(_0xb51d48),_0x4fe1d1=await _0x530026[_0x55fd11(0x1e5)]({'options':{..._0xb51d48,..._0x503e58},'args':[_0x312c7a],'tdx':_0x2deb76});gracefulExit(_0x4fe1d1);}),journeyCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x362))[a2_0x2ebaf3(0x39c)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0x2ebaf3(0x345)](async(_0x3095b2,_0x2d9986)=>{const _0xaed2ad=a2_0x2ebaf3,_0x5dfee3=new JourneyValidateCommand(),_0x17ff5c=program['opts'](),_0xa8e735=await createTDXInstance(_0x17ff5c),_0x456376=await _0x5dfee3[_0xaed2ad(0x1e5)]({'options':{..._0x17ff5c,..._0x2d9986},'args':_0x3095b2?[_0x3095b2]:[],'tdx':_0xa8e735});gracefulExit(_0x456376);}),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x299))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x217))[a2_0x2ebaf3(0x345)](journeyListAction);const agentSyncCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1fd))['description'](a2_0x2ebaf3(0x39b));agentSyncCmd[a2_0x2ebaf3(0x308)]('pull\x20[project]\x20[agent-name]')['description'](a2_0x2ebaf3(0x22e))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2fe),a2_0x2ebaf3(0x4d4))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3d9),a2_0x2ebaf3(0x426))[a2_0x2ebaf3(0x1ea)]('-a,\x20--agent\x20<name>',a2_0x2ebaf3(0x207))[a2_0x2ebaf3(0x345)](async(_0x2b0e93,_0x5cbb01,_0x2d96d7)=>{const _0x400315=a2_0x2ebaf3,_0x26fe99=new AgentPullCommand(),_0xac0639=program[_0x400315(0x1af)](),_0x40366e=await createTDXInstance(_0xac0639),_0x568796=[];if(_0x2b0e93)_0x568796[_0x400315(0x437)](_0x2b0e93);if(_0x5cbb01)_0x568796[_0x400315(0x437)](_0x5cbb01);const _0x373395=await _0x26fe99[_0x400315(0x1e5)]({'options':{..._0xac0639,..._0x2d96d7},'args':_0x568796,'tdx':_0x40366e});gracefulExit(_0x373395);}),agentSyncCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1c1))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x305))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3d9),a2_0x2ebaf3(0x4a0))[a2_0x2ebaf3(0x345)](async(_0x45f8e2,_0x11a2a7)=>{const _0x430c7c=a2_0x2ebaf3,_0x2176ce=new AgentPushCommand(),_0x482fd7=program[_0x430c7c(0x1af)](),_0x36dc5a=await createTDXInstance(_0x482fd7),_0x1cf4c4=await _0x2176ce[_0x430c7c(0x1e5)]({'options':{..._0x482fd7,..._0x11a2a7},'args':_0x45f8e2?[_0x45f8e2]:[],'tdx':_0x36dc5a});gracefulExit(_0x1cf4c4);}),agentSyncCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x229))['description'](a2_0x2ebaf3(0x358))[a2_0x2ebaf3(0x1ea)]('-n,\x20--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x2ebaf3(0x345)](async(_0x427050,_0x428703)=>{const _0x28e833=a2_0x2ebaf3,_0x3d8be0=new AgentCloneCommand(),_0x18937f=program[_0x28e833(0x1af)](),_0xe7963b=await createTDXInstance(_0x18937f),_0x54b982=await _0x3d8be0['run']({'options':{..._0x18937f,..._0x428703},'args':_0x427050?[_0x427050]:[],'tdx':_0xe7963b});gracefulExit(_0x54b982);}),agentSyncCmd['command']('test\x20[path]')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x467))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c8),a2_0x2ebaf3(0x1b2))[a2_0x2ebaf3(0x1ea)]('--tags\x20<tags>',a2_0x2ebaf3(0x3f0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x307),a2_0x2ebaf3(0x3ae))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x323),'Generate\x20test\x20conversations\x20without\x20evaluation')['option']('--reeval','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x2ebaf3(0x345)](async(_0x4fb9da,_0x14ef79)=>{const _0xbd1ff9=a2_0x2ebaf3,_0x25a3f2=new AgentTestCommand(),_0x5bd463=program[_0xbd1ff9(0x1af)](),_0x253c26=await createTDXInstance(_0x5bd463),_0x3c4704=await _0x25a3f2[_0xbd1ff9(0x1e5)]({'options':{..._0x5bd463,..._0x14ef79},'args':_0x4fb9da?[_0x4fb9da]:[],'tdx':_0x253c26});gracefulExit(_0x3c4704);}),agentSyncCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x332))[a2_0x2ebaf3(0x39c)]('List\x20agents\x20in\x20current\x20project')[a2_0x2ebaf3(0x345)](llmAgentListAction),agentSyncCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x340))['description']('Show\x20agent\x20details')['action'](async(_0x5b201b,_0x5062f2)=>{const _0x19ab93=a2_0x2ebaf3,_0xe242cf=new LLMAgentShowCommand(),_0x1222cf=program[_0x19ab93(0x1af)](),_0x5eb63b=await createTDXInstance(_0x1222cf),_0xed862d=await _0xe242cf[_0x19ab93(0x1e5)]({'options':{..._0x1222cf,..._0x5062f2},'args':[_0x5b201b],'tdx':_0x5eb63b});gracefulExit(_0xed862d);}),agentSyncCmd['command'](a2_0x2ebaf3(0x2a9))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x259))[a2_0x2ebaf3(0x1ea)]('--system-prompt\x20<text>',a2_0x2ebaf3(0x375))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x498),a2_0x2ebaf3(0x36c),'claude-4.5-sonnet')[a2_0x2ebaf3(0x1ea)]('--starter-message\x20<text>',a2_0x2ebaf3(0x2d2))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x41d),a2_0x2ebaf3(0x309),'4')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x481),a2_0x2ebaf3(0x243),a2_0x2ebaf3(0x40f))['action'](async(_0x35093d,_0x314612)=>{const _0x4aea49=a2_0x2ebaf3,_0x5684be=new LLMAgentCreateCommand(),_0x3e9657=program[_0x4aea49(0x1af)](),_0x56a41c=await createTDXInstance(_0x3e9657),_0x2ed4c9=await _0x5684be[_0x4aea49(0x1e5)]({'options':{..._0x3e9657,..._0x314612},'args':[_0x35093d],'tdx':_0x56a41c});gracefulExit(_0x2ed4c9);}),agentSyncCmd['command'](a2_0x2ebaf3(0x208))['description'](a2_0x2ebaf3(0x2da))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x26f),a2_0x2ebaf3(0x294))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2a5),a2_0x2ebaf3(0x225))['option'](a2_0x2ebaf3(0x1d6),a2_0x2ebaf3(0x1b6))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x27d),a2_0x2ebaf3(0x2d2))[a2_0x2ebaf3(0x345)](async(_0x29ddee,_0x32593a)=>{const _0x493e46=a2_0x2ebaf3,_0x190100=new LLMAgentUpdateCommand(),_0x20c74a=program[_0x493e46(0x1af)](),_0x10dd05=await createTDXInstance(_0x20c74a),_0x35e709=await _0x190100[_0x493e46(0x1e5)]({'options':{..._0x20c74a,..._0x32593a},'args':[_0x29ddee],'tdx':_0x10dd05});gracefulExit(_0x35e709);}),agentSyncCmd['command'](a2_0x2ebaf3(0x2ff))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x351))[a2_0x2ebaf3(0x345)](async(_0x316d35,_0x154c5a)=>{const _0x21873b=a2_0x2ebaf3,_0x294917=new LLMAgentDeleteCommand(),_0xc8950d=program[_0x21873b(0x1af)](),_0x28ba7d=await createTDXInstance(_0xc8950d),_0x2e5508=await _0x294917[_0x21873b(0x1e5)]({'options':{..._0xc8950d,..._0x154c5a},'args':[_0x316d35],'tdx':_0x28ba7d});gracefulExit(_0x2e5508);});const workCmd=program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x389))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4b4));workCmd[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x239),a2_0x2ebaf3(0x2fb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4db),a2_0x2ebaf3(0x2e3))[a2_0x2ebaf3(0x345)](workSummaryAction),workCmd['command'](a2_0x2ebaf3(0x327))['description'](a2_0x2ebaf3(0x269))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x474),a2_0x2ebaf3(0x34c))[a2_0x2ebaf3(0x345)](workInitAction),workCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x278))['description']('Create\x20a\x20new\x20document')[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x411),a2_0x2ebaf3(0x486),a2_0x2ebaf3(0x383))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x1f4),a2_0x2ebaf3(0x3b0))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x38b),a2_0x2ebaf3(0x273))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x2f2),a2_0x2ebaf3(0x265))['option'](a2_0x2ebaf3(0x24c),a2_0x2ebaf3(0x3e2))['option']('--status\x20<status>',a2_0x2ebaf3(0x336))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x3c5),a2_0x2ebaf3(0x29f))[a2_0x2ebaf3(0x345)](workNewAction),workCmd['command'](a2_0x2ebaf3(0x3cd))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x44a))[a2_0x2ebaf3(0x345)](workMoveAction),workCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x24e))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x382))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x239),a2_0x2ebaf3(0x2fb))[a2_0x2ebaf3(0x1ea)](a2_0x2ebaf3(0x4db),a2_0x2ebaf3(0x2e3))[a2_0x2ebaf3(0x345)](workBoardAction),workCmd['command'](a2_0x2ebaf3(0x3cf))[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x4a9))['action'](workShowAction),workCmd[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x33e))['description'](a2_0x2ebaf3(0x4b8))[a2_0x2ebaf3(0x345)](workLinksAction),workCmd[a2_0x2ebaf3(0x308)]('open\x20<name>')[a2_0x2ebaf3(0x39c)](a2_0x2ebaf3(0x255))['action'](workOpenAction),program[a2_0x2ebaf3(0x308)](a2_0x2ebaf3(0x1bc),{'hidden':!![]})['action'](()=>{const _0x403472=a2_0x2ebaf3;function _0x41537a(_0x31b94b,_0x59c034){const _0x104ee7=a2_0x22e8,_0x454306=[];for(const _0x1a70ee of _0x31b94b[_0x104ee7(0x240)]){if(_0x1a70ee['_hidden'])continue;const _0x4cb766=_0x59c034?_0x59c034+'\x20'+_0x1a70ee['name']():_0x1a70ee['name'](),_0xaf68f9=_0x4cb766[_0x104ee7(0x2a6)]('\x20')[0x0],_0x52b7b9=COMMAND_CATEGORIES['find'](_0x47c4f7=>_0x47c4f7[_0x104ee7(0x240)][_0x104ee7(0x4df)](_0xaf68f9)),_0x381cbe=_0x52b7b9?.['name']??'';if(_0x1a70ee[_0x104ee7(0x240)][_0x104ee7(0x22a)]>0x0)_0x454306[_0x104ee7(0x437)](..._0x41537a(_0x1a70ee,_0x4cb766));else{const _0x55db6d=(_0x1a70ee[_0x104ee7(0x2d7)]||[])[_0x104ee7(0x2b8)](_0x2e6d07=>{const _0x503778=_0x104ee7,_0x4e72c0=_0x2e6d07[_0x503778(0x3fe)]?_0x2e6d07[_0x503778(0x3a9)]()+_0x503778(0x3e3):_0x2e6d07[_0x503778(0x3a9)]();return _0x2e6d07[_0x503778(0x2eb)]?'<'+_0x4e72c0+'>':'['+_0x4e72c0+']';})[_0x104ee7(0x413)]('\x20'),_0x397804=_0x1a70ee[_0x104ee7(0x222)]['filter'](_0x1ed8dd=>!_0x1ed8dd[_0x104ee7(0x4aa)]&&_0x1ed8dd['long']!==_0x104ee7(0x25d))[_0x104ee7(0x2b8)](_0x1247f3=>({'flags':_0x1247f3[_0x104ee7(0x1c0)],'description':_0x1247f3[_0x104ee7(0x39c)]}));_0x454306['push']({'name':_0x4cb766,'description':_0x1a70ee[_0x104ee7(0x39c)](),'group':_0x381cbe,'usage':_0x55db6d,'options':_0x397804});}}return _0x454306;}console[_0x403472(0x1e1)](JSON[_0x403472(0x324)](_0x41537a(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x4b729b=a2_0x2ebaf3,_0x2e3d0b=!process[_0x4b729b(0x21f)][_0x4b729b(0x315)](0x2)[_0x4b729b(0x22a)];showBriefHelp=_0x2e3d0b,program[_0x4b729b(0x4be)](process[_0x4b729b(0x21f)]);_0x2e3d0b&&program[_0x4b729b(0x35a)]();const _0x86c380=process['argv'][0x2]===_0x4b729b(0x37e);if(process[_0x4b729b(0x251)][_0x4b729b(0x4c7)]&&process[_0x4b729b(0x21f)]['length']>0x2&&!isDevVersion()&&!_0x86c380){const _0x496471=loadReleaseChannel();checkForUpdate(currentVersion,_0x496471)[_0x4b729b(0x3d8)](_0x15e421=>{_0x15e421&&displayUpdateNotification(_0x15e421);})[_0x4b729b(0x22c)](()=>{});}}