@treasuredata/tdx 2026.6.4 → 2026.6.5

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 (241) 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.js +1 -1
  27. package/dist/commands/engage-template-pull-command.js +1 -1
  28. package/dist/commands/engage-template-push-command.js +1 -1
  29. package/dist/commands/engage-template-validate-command.js +1 -1
  30. package/dist/commands/job-command.js +1 -1
  31. package/dist/commands/journey-command.js +1 -1
  32. package/dist/commands/journey-validate-command.js +1 -1
  33. package/dist/commands/llm-command.js +1 -1
  34. package/dist/commands/mcp-command.js +1 -1
  35. package/dist/commands/parent-segment-command.js +1 -1
  36. package/dist/commands/policy-command.js +1 -1
  37. package/dist/commands/profile-command.js +1 -1
  38. package/dist/commands/profiles-command.js +1 -1
  39. package/dist/commands/query-command.js +1 -1
  40. package/dist/commands/schedule-command.js +1 -1
  41. package/dist/commands/segment-command.js +1 -1
  42. package/dist/commands/segment-create-command.js +1 -1
  43. package/dist/commands/segment-fields-command.js +1 -1
  44. package/dist/commands/segment-move-command.d.ts +19 -0
  45. package/dist/commands/segment-move-command.d.ts.map +1 -0
  46. package/dist/commands/segment-move-command.js +1 -0
  47. package/dist/commands/segment-move-command.js.map +1 -0
  48. package/dist/commands/segment-pull-command.js +1 -1
  49. package/dist/commands/segment-push-command.js +1 -1
  50. package/dist/commands/segment-update-command.js +1 -1
  51. package/dist/commands/segment-use-command.js +1 -1
  52. package/dist/commands/segment-validate-command.js +1 -1
  53. package/dist/commands/segments.js +1 -1
  54. package/dist/commands/show.js +1 -1
  55. package/dist/commands/status-command.js +1 -1
  56. package/dist/commands/table-deleted.js +1 -1
  57. package/dist/commands/tables.js +1 -1
  58. package/dist/commands/unset-command.js +1 -1
  59. package/dist/commands/upgrade-command.js +1 -1
  60. package/dist/commands/use-command.js +1 -1
  61. package/dist/commands/user-command.js +1 -1
  62. package/dist/commands/work-command.js +1 -1
  63. package/dist/commands/workflow-command.js +1 -1
  64. package/dist/core/auth.js +1 -1
  65. package/dist/core/command-output.js +1 -1
  66. package/dist/core/config.js +1 -1
  67. package/dist/core/connection-cache.js +1 -1
  68. package/dist/core/constants.js +1 -1
  69. package/dist/core/credential-cache.js +1 -1
  70. package/dist/core/global-context.js +1 -1
  71. package/dist/core/keychain.js +1 -1
  72. package/dist/core/oauth-keychain.js +1 -1
  73. package/dist/core/oauth.js +1 -1
  74. package/dist/core/profile.js +1 -1
  75. package/dist/core/project-config.js +1 -1
  76. package/dist/core/session.js +1 -1
  77. package/dist/core/user-cache.js +1 -1
  78. package/dist/core/version.js +1 -1
  79. package/dist/index.js +1 -1
  80. package/dist/mcp/server.js +1 -1
  81. package/dist/mcp/tools/index.js +1 -1
  82. package/dist/mcp/tools/tdx-run.js +1 -1
  83. package/dist/mcp/tools/tdx-search.js +1 -1
  84. package/dist/mcp/tools/work-create-item.js +1 -1
  85. package/dist/mcp/utils.js +1 -1
  86. package/dist/proxy/claude-usage-tracker.js +1 -1
  87. package/dist/proxy/passthrough-server.js +1 -1
  88. package/dist/proxy/sse-usage-parser.js +1 -1
  89. package/dist/sdk/agent/agent-config.js +1 -1
  90. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  91. package/dist/sdk/agent/agent-yaml.js +1 -1
  92. package/dist/sdk/agent/test/evaluator.js +1 -1
  93. package/dist/sdk/agent/test/executor.js +1 -1
  94. package/dist/sdk/agent/test/index.js +1 -1
  95. package/dist/sdk/agent/test/output.js +1 -1
  96. package/dist/sdk/agent/test/parser.js +1 -1
  97. package/dist/sdk/agent/tool-target-registry.js +1 -1
  98. package/dist/sdk/api.js +1 -1
  99. package/dist/sdk/cas/cas-api-client.js +1 -1
  100. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  101. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  102. package/dist/sdk/cas/index.js +1 -1
  103. package/dist/sdk/cas/pull-workflow.js +1 -1
  104. package/dist/sdk/cas/push-workflow.js +1 -1
  105. package/dist/sdk/client/cdp-api-client.d.ts +18 -0
  106. package/dist/sdk/client/cdp-api-client.d.ts.map +1 -1
  107. package/dist/sdk/client/cdp-api-client.js +1 -1
  108. package/dist/sdk/client/cdp-api-client.js.map +1 -1
  109. package/dist/sdk/client/delivery-api-client.js +1 -1
  110. package/dist/sdk/client/endpoints.js +1 -1
  111. package/dist/sdk/client/engage-api-client.js +1 -1
  112. package/dist/sdk/client/http-client.js +1 -1
  113. package/dist/sdk/client/llm-api-client.js +1 -1
  114. package/dist/sdk/client/oauth-refresh.js +1 -1
  115. package/dist/sdk/client/rate-limiter.js +1 -1
  116. package/dist/sdk/client/td-api-client.js +1 -1
  117. package/dist/sdk/client/trino-api-client.js +1 -1
  118. package/dist/sdk/client/workflow-client.js +1 -1
  119. package/dist/sdk/connection-validator.js +1 -1
  120. package/dist/sdk/connection.js +1 -1
  121. package/dist/sdk/delivery.js +1 -1
  122. package/dist/sdk/engage/campaign-pull.js +1 -1
  123. package/dist/sdk/engage/campaign-push.js +1 -1
  124. package/dist/sdk/engage/campaign-validator.js +1 -1
  125. package/dist/sdk/engage/campaign-yaml.js +1 -1
  126. package/dist/sdk/engage/template-pull.js +1 -1
  127. package/dist/sdk/engage/template-push.js +1 -1
  128. package/dist/sdk/engage/template-validator.js +1 -1
  129. package/dist/sdk/engage/template-yaml.js +1 -1
  130. package/dist/sdk/engage/types/campaign-def.js +1 -1
  131. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  132. package/dist/sdk/engage/types/template-schema.js +1 -1
  133. package/dist/sdk/engage.js +1 -1
  134. package/dist/sdk/errors.js +1 -1
  135. package/dist/sdk/index.js +1 -1
  136. package/dist/sdk/io/index.js +1 -1
  137. package/dist/sdk/io/node-filesystem.js +1 -1
  138. package/dist/sdk/job.js +1 -1
  139. package/dist/sdk/journey.js +1 -1
  140. package/dist/sdk/llm/chat-cache.js +1 -1
  141. package/dist/sdk/llm/index.js +1 -1
  142. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  143. package/dist/sdk/llm/model-factors.js +1 -1
  144. package/dist/sdk/llm/user-settings.js +1 -1
  145. package/dist/sdk/personalization.js +1 -1
  146. package/dist/sdk/policy.js +1 -1
  147. package/dist/sdk/query/deleted-table-validation.js +1 -1
  148. package/dist/sdk/query/index.js +1 -1
  149. package/dist/sdk/query/sql-parser.js +1 -1
  150. package/dist/sdk/realtime.js +1 -1
  151. package/dist/sdk/schedule.js +1 -1
  152. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  153. package/dist/sdk/segment/fields-display.js +1 -1
  154. package/dist/sdk/segment/file-discovery.js +1 -1
  155. package/dist/sdk/segment/journey-utils.js +1 -1
  156. package/dist/sdk/segment/journey-validator.js +1 -1
  157. package/dist/sdk/segment/journey-yaml.js +1 -1
  158. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  159. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  160. package/dist/sdk/segment/pull-workflow.js +1 -1
  161. package/dist/sdk/segment/push-recovery.js +1 -1
  162. package/dist/sdk/segment/push-workflow.js +1 -1
  163. package/dist/sdk/segment/resolution-context.js +1 -1
  164. package/dist/sdk/segment/segment-path-parser.js +1 -1
  165. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  166. package/dist/sdk/segment/segment-validator.js +1 -1
  167. package/dist/sdk/segment/target-resolution.js +1 -1
  168. package/dist/sdk/segment/tdx-config.js +1 -1
  169. package/dist/sdk/segment/types/activation-schema.js +1 -1
  170. package/dist/sdk/segment/types/journey-def.js +1 -1
  171. package/dist/sdk/segment/types/journey-schema.js +1 -1
  172. package/dist/sdk/segment/types/segment-def.js +1 -1
  173. package/dist/sdk/segment/types/segment-schema.js +1 -1
  174. package/dist/sdk/segment/validate-files.js +1 -1
  175. package/dist/sdk/segment/yaml-validator.js +1 -1
  176. package/dist/sdk/segment.d.ts +28 -1
  177. package/dist/sdk/segment.d.ts.map +1 -1
  178. package/dist/sdk/segment.js +1 -1
  179. package/dist/sdk/segment.js.map +1 -1
  180. package/dist/sdk/types/cdp.d.ts +15 -0
  181. package/dist/sdk/types/cdp.d.ts.map +1 -1
  182. package/dist/sdk/types/index.d.ts +1 -1
  183. package/dist/sdk/types/index.d.ts.map +1 -1
  184. package/dist/sdk/types/index.js +1 -1
  185. package/dist/sdk/types/index.js.map +1 -1
  186. package/dist/sdk/types/progress.js +1 -1
  187. package/dist/sdk/types/workspace.js +1 -1
  188. package/dist/sdk/user.js +1 -1
  189. package/dist/sdk/util/format-detector.js +1 -1
  190. package/dist/sdk/util/formatters.js +1 -1
  191. package/dist/sdk/util/index.js +1 -1
  192. package/dist/sdk/util/paginate.js +1 -1
  193. package/dist/sdk/util/tree-formatter.js +1 -1
  194. package/dist/sdk/workflow/archive-validation.js +1 -1
  195. package/dist/sdk/workflow/clone-workflow.js +1 -1
  196. package/dist/sdk/workflow/index.js +1 -1
  197. package/dist/sdk/workflow/pull-workflow.js +1 -1
  198. package/dist/sdk/workflow/push-workflow.js +1 -1
  199. package/dist/sdk/workflow/task-graph.js +1 -1
  200. package/dist/sdk/workflow/tdx-config.js +1 -1
  201. package/dist/sdk/workflow/workflow-utils.js +1 -1
  202. package/dist/sdk/workspace/access-tracker.js +1 -1
  203. package/dist/sdk/workspace/frontmatter.js +1 -1
  204. package/dist/sdk/workspace/git.js +1 -1
  205. package/dist/sdk/workspace/index.js +1 -1
  206. package/dist/sdk/workspace/templates.js +1 -1
  207. package/dist/sdk/workspace/weekly.js +1 -1
  208. package/dist/sdk/workspace/wikilinks.js +1 -1
  209. package/dist/test-utils/command-runner.js +1 -1
  210. package/dist/test-utils/factories.js +1 -1
  211. package/dist/test-utils/fixtures.js +1 -1
  212. package/dist/test-utils/http-mock.js +1 -1
  213. package/dist/test-utils/index.js +1 -1
  214. package/dist/utils/async.js +1 -1
  215. package/dist/utils/colors.js +1 -1
  216. package/dist/utils/diff.js +1 -1
  217. package/dist/utils/file-permissions.js +1 -1
  218. package/dist/utils/file-reader.js +1 -1
  219. package/dist/utils/github-releases.js +1 -1
  220. package/dist/utils/global-cache.js +1 -1
  221. package/dist/utils/json-loader.js +1 -1
  222. package/dist/utils/local-cache.js +1 -1
  223. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  224. package/dist/utils/logger/formatters/index.js +1 -1
  225. package/dist/utils/logger/handlers/console-handler.js +1 -1
  226. package/dist/utils/logger/handlers/file-handler.js +1 -1
  227. package/dist/utils/logger/handlers/index.js +1 -1
  228. package/dist/utils/logger/handlers/null-handler.js +1 -1
  229. package/dist/utils/logger/index.js +1 -1
  230. package/dist/utils/logger/logger.js +1 -1
  231. package/dist/utils/logger/types.js +1 -1
  232. package/dist/utils/option-validation.js +1 -1
  233. package/dist/utils/process.js +1 -1
  234. package/dist/utils/prompt.js +1 -1
  235. package/dist/utils/spinner.js +1 -1
  236. package/dist/utils/sse-parser.js +1 -1
  237. package/dist/utils/string-utils.js +1 -1
  238. package/dist/utils/table-ref-parser.js +1 -1
  239. package/dist/utils/tdx-logger.js +1 -1
  240. package/dist/utils/version-check.js +1 -1
  241. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x37aff4=a2_0x150a;(function(_0x341873,_0x11577e){const _0x2aa468=a2_0x150a,_0x59ab1d=_0x341873();while(!![]){try{const _0x1ea05d=-parseInt(_0x2aa468(0x1d2))/0x1*(-parseInt(_0x2aa468(0x461))/0x2)+parseInt(_0x2aa468(0x490))/0x3+parseInt(_0x2aa468(0x3b7))/0x4*(parseInt(_0x2aa468(0x37f))/0x5)+-parseInt(_0x2aa468(0x495))/0x6*(parseInt(_0x2aa468(0x1ca))/0x7)+-parseInt(_0x2aa468(0x402))/0x8*(-parseInt(_0x2aa468(0x492))/0x9)+-parseInt(_0x2aa468(0x1e4))/0xa+parseInt(_0x2aa468(0x1a7))/0xb*(-parseInt(_0x2aa468(0x36e))/0xc);if(_0x1ea05d===_0x11577e)break;else _0x59ab1d['push'](_0x59ab1d['shift']());}catch(_0x29f556){_0x59ab1d['push'](_0x59ab1d['shift']());}}}(a2_0x4a7b,0xc0311));import a2_0x53b006 from'chalk';import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{TableDeletedCommand,TableRecoverCommand}from'./commands/table-deleted.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyRunCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand,EngageMediaUploadCommand,EngageMediaLsCommand,EngageMediaMkdirCommand,EngageMediaRmCommand,EngageMediaRmdirCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{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';function a2_0x4a7b(){const _0x3bf7e5=['Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','folder','description','Personalization\x20management','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','models','log\x20<chat-id>','preAction','Filtering\x20rule\x20from\x20JSON\x20file','Describe\x20table\x20schema','--interval\x20<range>','[task-name]','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Validate\x20journey\x20YAML\x20files\x20locally','opts','--starter-message\x20<text>','open\x20<name>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','show\x20<service_id>\x20[parent_segment]','types','Delete\x20a\x20directory\x20from\x20Engage\x20DAM\x20(must\x20be\x20empty)','Options:','-1d','Behaviors\x20from\x20JSON\x20file','show\x20<name-or-id>','recover\x20<id>','parents\x20[pattern]','rm\x20<path>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','show\x20<name>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20the\x20task\x20graph\x20and\x20side-effect\x20warnings\x20without\x20executing','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Always-on\x20campaign\x20management','cas','Push\x20YAML\x20files\x20to\x20CAS\x20API','--jsonl','[DEPRECATED]\x20Segment\x20folder\x20management','use\x20[name]','--next-time\x20<time>','split','TRACE','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Resume\x20scheduling\x20from\x20this\x20time\x20instead\x20of\x20the\x20schedule\x20definition\x20(ISO-8601,\x20e.g.\x202026-12-31T23:59:00+00:00)','list\x20[audience_name]','--reason\x20<text>','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--skip-validation','--data\x20<data>','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Enable\x20verbose\x20logging','--json','Add\x20attributes\x20from\x20JSON\x20file','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','hook','Name\x20for\x20the\x20duplicated\x20campaign','-v,\x20--verbose','Ending\x20offset\x20(default:\x2020)','-n,\x20--name\x20<name>','--rule-file\x20<file>','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','Error:\x20`tdx\x20api`\x20is\x20disabled\x20by\x20default\x20to\x20prevent\x20unintended\x20API\x20calls.','delete\x20<service_id>\x20[parent_segment]','Delete\x20a\x20scheduled\x20query','journey','Update\x20a\x20workspace','--agent\x20<ref>','--new','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','-f,\x20--file\x20<path>','clear','upgrade\x20[version]','setup','[attempt-id]','Campaign\x20name','delete\x20<agent-name>','Personalization\x20name','Resume\x20a\x20paused\x20journey','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','delete\x20<personalization_id>','list\x20[project]','Create\x20a\x20new\x20LLM\x20project','Show\x20Kanban\x20board\x20view\x20of\x20tasks','tsv','submit\x20[query]','subcommandTerm','Show\x20journey\x20statistics','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Restore\x20into\x20a\x20different\x20database\x20(use\x20on\x20409\x20db\x20conflict)','after','set\x20<args...>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--schedule-type\x20<type>','--description\x20<text>','New\x20service\x20name','info\x20[segment_name]','Cron\x20expression\x20for\x20scheduling','--verbose','--include-history','database','json','attempt','create\x20<name>\x20<service_id>\x20[parent_segment]','mkdir\x20<path>','Launch\x20a\x20campaign','Workspace\x20management','Prefer\x20typed\x20commands\x20—\x20run\x20`tdx\x20--help`\x20to\x20see\x20them.','--session-time\x20<time>','parent','Output\x20directory','Preview\x20without\x20creating\x20the\x20project','update\x20<segment_name>','Pause\x20an\x20always-on\x20campaign','update\x20<agent-name>','--add-behaviors-file\x20<file>','List\x20secret\x20keys\x20for\x20a\x20project','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','New\x20template\x20name','Behaviors\x20as\x20JSON\x20string','Read\x20request\x20body\x20from\x20file','create\x20<parent_name>\x20<folder_name>','Show\x20all\x20files\x20including\x20valid\x20ones','Delete\x20an\x20LLM\x20project','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Clear\x20workflow\x20project\x20context','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20agents\x20in\x20current\x20project','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','resume\x20<name-or-id>','--start-at\x20<datetime>','--help','Master\x20database\x20name','push\x20[parent_or_file]','Query\x20engine\x20version','-w,\x20--web','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Add\x20attributes\x20as\x20JSON\x20string','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','board','--html-file\x20<path>','validate\x20[target]','delete\x20<project-name-or-id>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--from\x20<n>','Trigger\x20on-demand\x20journey\x20workflow\x20execution','--folder\x20<name>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Show\x20authentication\x20status\x20and\x20current\x20context','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','delivery','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','list','--parent-folder\x20<name>','--in\x20<database>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','list\x20[project.workflow]','Master\x20table\x20name','List\x20all\x20data\x20connections','show\x20<folder_ref>','audience','list\x20[name]','--retry-limit\x20<0~32>','Revision\x20name\x20(default:\x20timestamp)','agents\x20[pattern]','List\x20recoverable\x20deleted\x20tables\x20(last\x207\x20days)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Customer\x20group\x20from\x20JSON\x20file','Maximum\x20tool\x20iterations\x20(default:\x204)','disable\x20<id>','--system-prompt\x20<text>','length','5952012RGoJZB','Updated\x20schedule\x20option','set','pull\x20[workspace]','--subject\x20<subject>','Delay\x20in\x20seconds\x20before\x20execution','New\x20service\x20description','Delete\x20an\x20email\x20template','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','tables\x20[pattern]','Move\x20to\x20folder','--name\x20<names>','campaigns\x20[pattern]','Show\x20LINE\x20sender\x20account\x20details','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','38575oAHySr','replace','Campaign\x20management','project','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Set\x20or\x20show\x20parent\x20segment\x20context','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','apiKey','--path\x20<file-path>','job','Push\x20YAML\x20files\x20to\x20Treasure\x20AI\x20as\x20child\x20segments','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','argument','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','delete\x20<name-or-id>','filter','-u,\x20--use','Agent\x20description','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','summary','Updated\x20description','Service\x20description','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','stdout','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','chats','Target\x20directory\x20for\x20YAML\x20files','Pause\x20activations\x20in\x20an\x20RT\x20journey','new\x20<title>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','profiles','--version\x20<number>','--days\x20<n>','validate\x20[name]','argumentTerm','view\x20[segment_name]','--sections\x20<json>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','chat\x20[message...]','always-on-campaign','Show\x20segment\x20schema\x20(column\x20types)','Filtering\x20rule\x20as\x20JSON\x20string','CDP\x20Journey\x20Orchestration\x20commands','Sections\x20as\x20an\x20inline\x20JSON\x20array','Agent\x20prompt/instructions','Delete\x20workflow\x20project\x20from\x20Treasure\x20AI','--attributes-file\x20<file>','Change\x20to\x20directory\x20before\x20executing\x20command','information_schema','--behaviors\x20<json>','Add\x20behaviors\x20as\x20JSON\x20string','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Email\x20sender\x20ID\x20for\x20delivery','--add-attributes-file\x20<file>','--max-depth\x20<depth>','580rPtAye','statusline','name','table','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','use\x20[resource]\x20[value]','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','line-imagemap-image','List\x20all\x20available\x20profiles','pull\x20[name]','option','--prompt\x20<text>','Show\x20connection\x20details\x20by\x20name','Duplicate\x20a\x20campaign','timeline\x20[project.workflow]','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','--name\x20<new-name>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','remove\x20<name>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','entries','argv','Overwrite\x20local\x20changes\x20without\x20confirmation','Job\x20management\x20commands','catch','Delete\x20a\x20realtime\x20personalization','--behavior\x20[name]','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','find','Resume\x20from\x20specific\x20task','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','options','Save\x20output\x20to\x20file','journeys\x20[pattern]','download\x20<project-name>\x20[output-dir]','Show\x20job\x20details','gitRevision','--no-eval','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Open\x20a\x20document\x20in\x20$EDITOR','--name\x20<text>','Workflow\x20attempt\x20management','Delivery\x20operations\x20(email\x20senders)','-a,\x20--agent\x20<name>','Show\x20items\x20updated\x20within\x20N\x20days','Output\x20file\x20path\x20(default:\x20<name>.yml)','[action]','auth','-o,\x20--output\x20<folder>','includes','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Folder\x20description','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--attributes\x20<json>','AI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf.\x20Ask\x20the\x20user,\x20or\x20use\x20a\x20structured\x20command\x20instead.','[EXPERIMENTAL]\x20Show\x20chat\x20log','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20AI','Preview\x20composable\x20segment\x20query\x20on\x20CDW','List\x20email\x20senders','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20AI','stderr','Workspace\x20description','Run\x20Trino\x20query\x20with\x20streaming\x20results','Push\x20without\x20confirmation','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','links\x20<name>','--delete','Show\x20a\x20single\x20schedule\x20by\x20its\x20ID','Show\x20only\x20master\x20table\x20validation','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)','Show\x20agent\x20details','69824RnnKxg','Delete\x20a\x20file\x20from\x20Engage\x20DAM','Job\x20priority\x20(-2\x20to\x202)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','format','\x0aDisabled\x20by\x20default.\x20See\x20https://tdx.treasuredata.com/guide/api-command-safety\x0afor\x20how\x20to\x20enable.\x0a\x0aAI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf\x20—\x20ask\x20them\x20first.\x0aPrefer\x20structured\x20commands;\x20they\x20validate\x20inputs\x20and\x20resolve\x20names\x20to\x20IDs.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a','Journey\x20version\x20management','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Duplicate\x20an\x20always-on\x20campaign','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','finish\x20<name-or-id>','--plaintext\x20<text>','Table\x20management\x20commands','List\x20composable\x20segments\x20for\x20an\x20audience','Show\x20schedule\x20execution\x20history','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Invalid\x20editor\x20type:\x20','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','kill','--attempt-id\x20<id>','requiredOption','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Show\x20workspace\x20details','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','desc\x20[segment_name]','Parent\x20segment\x20management','Preview\x20changes\x20without\x20pushing','ls\x20[path]','--cron\x20<expression>','help','--priority\x20<-2~2>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Campaign\x20description','Get\x20job\x20results','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','INVALID_ARGUMENT','--result\x20<url>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Skip\x20confirmation\x20prompts','attempt:','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--timeout\x20<seconds>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','list\x20[path]','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Personalization\x20description','Workflow\x20parameter\x20(repeatable)','--chat-id\x20<id>','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Attributes\x20from\x20JSON\x20file','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Retry\x20limit\x20(0\x20to\x2032)','trino','Starting\x20offset\x20(default:\x200)','List\x20available\x20LLM\x20models','action','--kind\x20<type>','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Plaintext\x20template\x20content','Workflow\x20project\x20management','INFO','--attribute\x20[name]','Unknown\x20action:\x20','Pull\x20specific\x20template\x20by\x20name','update\x20<name-or-id>','--add-behaviors\x20<json>','Delete\x20an\x20agent','--to\x20<timestamp>','optionTerm','Model\x20type\x20(default:\x20claude-4.5-sonnet)','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','--enriched','create\x20<name-or-path>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','run','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Output\x20file\x20path','--name\x20<name>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','-r,\x20--recursive','Update\x20a\x20realtime\x20personalization\x20entity','Create\x20a\x20new\x20profile','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','item','List\x20jobs','List\x20Engage\x20DAM\x20directory\x20contents','Resume\x20activations\x20in\x20an\x20RT\x20journey','slice','sql\x20[segment_name]','--temperature\x20<n>','query\x20[sql]','6892ygVJvD','clone\x20[source]','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','LINE\x20imagemap\x20image\x20management','argumentDescription','Resume\x20listing\x20after\x20this\x20table\x20id\x20(from\x20a\x20previous\x20page)','sql\x20[name]','Manage\x20workflow\x20project\x20secrets','get','Usage:\x20','Priority\x20(critical,\x20high,\x20medium,\x20low)','Pause\x20a\x20running\x20journey','padEnd','Enable\x20a\x20disabled\x20workflow\x20schedule','commandUsage','Pull\x20workflow\x20project\x20to\x20local\x20folder','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--cursor-id\x20<id>','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','settings\x20<type>','--llm-project\x20<name>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','command','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','Show\x20a\x20specific\x20realtime\x20personalization','pause_activations\x20<journeyId>','--enable-utm-tracking','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','desc\x20[name]','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','--limit\x20<number>','Show\x20the\x20most\x20recent\x20chat','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','\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','Workspace\x20name','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Open\x20segment\x20in\x20web\x20browser','Conflict\x20strategy:\x20ask\x20(default),\x20replace,\x20keep','folders\x20<parent_name>','--full','0.7','--delay\x20<seconds>','Submit\x20a\x20job','Validate\x20campaign\x20YAML\x20files\x20locally','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','3087678XeJcSQ','activations\x20<name-or-path>','1593firhFY','Task\x20name\x20for\x20logs\x20action','timeout','60dIMvEW','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','\x20(resolved\x20to\x20','templates\x20[pattern]','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','run\x20<name-or-path>','Show\x20timeline\x20for\x20specific\x20attempt','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--table','Run\x20specific\x20tests\x20(comma-separated)','Timezone\x20for\x20cron\x20(default:\x20UTC)','--workspace\x20<name>','--timezone\x20<tz>','--account-name\x20<name>','--params\x20<json>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','buildTime','--to\x20<date>','--tsv','Scheduled\x20query\x20management\x20commands','Page\x20size\x201-100\x20(default\x2025)','show\x20<personalization_id>','--table\x20<table>','--dry-run','Update\x20an\x20email\x20template','Read\x20SQL\x20query\x20from\x20file','--stream','version','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Initialize\x20a\x20new\x20workspace','create\x20[name]','preview\x20<segment_name>','--tags\x20<tags>','Setup\x20API\x20key\x20authentication\x20interactively','segments\x20[path]','Show\x20always-on\x20campaign\x20details','Starter\x20message','Updated\x20timezone','LINE\x20sender\x20account\x20management','Resume\x20a\x20paused\x20always-on\x20campaign','create\x20<segment_name>','Custom\x20revision\x20name\x20(default:\x20timestamp)','repeat','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Include\x20retried\x20attempts','describe','Skip\x20confirmation\x20prompt','--include-stats','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','--method\x20<pm>','_hidden','required','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','Upload\x20workflow\x20project\x20to\x20Treasure\x20AI\x20(digdag-style)','Recover\x20a\x20deleted\x20table\x20by\x20id','--num\x20<1-10>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Campaign\x20type\x20(email\x20or\x20push)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Output\x20as\x20JSON\x20Lines','List\x20LINE\x20sender\x20accounts','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','allowUnknownOption','Database\x20management\x20commands','grapesjs','--github\x20<owner/repo>','allowExcessArguments','Apply\x20a\x20template','workflows\x20[project]','subcommandDescription','--next','secrets','token','-d,\x20--database\x20<db>','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Remove\x20API\x20key\x20from\x20system\x20keychain','describe\x20[table]','Authentication\x20management','kill\x20<job-id>','Check\x20for\x20updates\x20without\x20installing','Show\x20master\x20table\x20sample\x20data','stats\x20<name-or-path>','List\x20all\x20users\x20in\x20the\x20account','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Delete\x20a\x20campaign','show\x20[table]','log','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Pull\x20specific\x20revision\x20(default:\x20latest)','backup\x20<name>','claude-4.5-sonnet','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','clone\x20[source-dir]','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Personalization\x20service\x20token\x20management','Transition\x20a\x20task\x20to\x20a\x20new\x20status','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--engine-version\x20<version>','CDP\x20segment\x20management\x20commands','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','jobs','--max-tool-iterations\x20<n>','Continue\x20most\x20recent\x20conversation','33mcLhuf','Finish\x20an\x20always-on\x20campaign','push','Initial\x20status','New\x20campaign\x20name','alias','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Show\x20journey\x20table\x20column-to-step\x20mapping','Overwrite\x20existing\x20profile','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','-c,\x20--continue','colorFn','Reason\x20for\x20killing\x20the\x20attempt','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','--clear','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','RT\x20Journey\x20management','--no-proxy','--last','List\x20all\x20versions\x20of\x20a\x20journey','result\x20<job-id>','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','map','duplicate\x20<name-or-id>','upgrade','--backfill','Download\x20workflow\x20project\x20from\x20Treasure\x20AI','debug','Enable\x20UTM\x20tracking','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--force','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','-y,\x20--yes','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','--result\x20<target>','976668EZExqb','run\x20[name]','--default','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','list\x20[pattern]','Template\x20name','create','--limit\x20<n>','432cdohAZ','--add-attributes\x20<json>','delete\x20<name>','schedule','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--priority\x20<priority>','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20triggering','agent','--from\x20<timestamp>','--path\x20<folder>','RT\x202.0\x20configuration\x20management','-d,\x20--database\x20<database>','stringify','Arguments:','LLM\x20project\x20management','activations\x20<segment_name>','pull\x20<project>\x20[target-dir]','15109690bqQAJy','--customer-group-file\x20<file>','Raw\x20API\x20requests\x20bypass\x20tdx\x27s\x20structured\x20commands\x20and\x20safety\x20checks.','Follow/watch\x20timeline\x20for\x20running\x20attempts','Interactive\x20chat\x20selector','push\x20[source-dir]','\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','--editor-type\x20<type>','commands','history\x20[chat-id]','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','validate\x20[file]','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Parse\x20and\x20validate\x20without\x20executing','Export\x20journey(s)\x20as\x20YAML\x20files','upload\x20<file>','--audience-id\x20<id>','User\x20management\x20commands','--master','Include\x20subtasks\x20in\x20tasks\x20output','exit','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--schedule-id\x20<id>','Engage\x20DAM\x20media\x20management','attempts\x20[project]','then','update\x20<name>','aliases','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Workflow\x20session\x20management','launch\x20<name-or-id>','--database\x20<database>','injectIntoOptions','Composable\x20segment\x20commands','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','--session-id\x20<id>','--description\x20<desc>','Include\x20retried\x20attempts\x20(for\x20list)','Make\x20segment\x20invisible\x20(default:\x20visible)','--trace','noColor','\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','mcp','connection','logLevel','List\x20workflow\x20schedules\x20(alias\x20for\x20`schedule\x20list`)','show\x20[name]','Parent\x20segment\x20description','line-sender-account','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Directory\x20does\x20not\x20exist:\x20','--in\x20<db>','Read\x20HTML\x20template\x20from\x20file','configuration_versions\x20[name]','configureHelp','isTTY','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','For\x20setup\x20instructions,\x20see\x20https://tdx.treasuredata.com/guide/api-command-safety','Customer\x20group\x20as\x20JSON\x20string','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','view\x20[name]','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','use\x20[project]','schedules\x20[project.workflow]','Override\x20project\x20name','view\x20<name-or-path>','Show\x20schedule\x20details','push\x20[target]','Attributes\x20as\x20JSON\x20string','--body\x20<body>','--assignee\x20<assignee>','Disable\x20a\x20workflow\x20schedule','optionDescription','--from-task\x20<task>','Delete\x20a\x20workspace','pull\x20[workspace-name]','--type\x20<api_type>','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','media','Resume\x20a\x20conversation\x20(shows\x20selector)','Add\x20behaviors\x20from\x20JSON\x20file','outputHelp','--page-size\x20<n>','Email\x20template\x20management','Run\x20tests\x20for\x20an\x20LLM\x20agent','Database\x20to\x20query\x20(default:\x20information_schema)','parent-segment','--format\x20<format>','Result\x20output\x20destination\x20URL','--type\x20<type>','--job-type\x20<type>','Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)','--rule\x20<json>','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20AI\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','session','Version\x20number\x20to\x20view','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','versions\x20<name-or-path>','--email-sender-id\x20<id>','--schedule-option\x20<value>','run\x20<name>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Create\x20a\x20new\x20document','columns\x20<name-or-path>','long','registeredArguments','-o,\x20--output\x20<file>','-p,\x20--profile\x20<name>','--no-count-population','--limit\x20<rows>','--revision\x20<revision>','-X,\x20--method\x20<method>','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','senders\x20[pattern]','\x20-\x20built\x20','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Maximum\x20recursion\x20depth\x20(default:\x2010)','users','Update\x20a\x20campaign','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Destination\x20folder\x20in\x20DAM\x20(default:\x20root)','--name\x20<new_name>','llm','Limit\x20number\x20of\x20rows','GET','\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','Document\x20body\x20text','--html\x20<html>','--output\x20<file>','retry\x20<session-id>','trace','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','red','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Query\x20type:\x20trino\x20or\x20hive','--yes','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Read\x20query\x20from\x20file','delete\x20<token_id>\x20[parent_segment]','Create\x20a\x20scheduled\x20query',',\x20version\x20','preview\x20[name]','Timezone\x20for\x20cron','traffic\x20<name-or-path>','--from\x20<date>','List\x20journeys\x20in\x20current\x20context','set\x20<key=value>','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--status\x20<status>','pull\x20[parent_or_file]','show\x20<job-id>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','-o,\x20--output\x20<dir>','beefree','hidden','AI-native\x20work\x20management','Resume\x20a\x20paused\x20campaign','Show\x20campaign\x20details','Open\x20journey\x20in\x20web\x20browser','Preview\x20changes\x20without\x20writing\x20files','resume_activations\x20<journeyId>','addHelpText','engage_workspace','Delete\x20a\x20profile','--site\x20<site>','List\x20workflow\x20schedules\x20(filter\x20by\x20project\x20or\x20project.workflow)','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','-f,\x20--force','tasks','_list-commands','directory','--kind\x20<kind>','Include\x20raw\x20history\x20data\x20in\x20output','preview\x20[file]','Name\x20for\x20the\x20new\x20project\x20(required)','--segment\x20<path>','test\x20[path]','Output\x20folder\x20(default:\x20{project_name}.llm)','Skip\x20validation\x20of\x20.dig\x20files','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Maximum\x20number\x20of\x20nodes','tdx','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Workspace\x20name\x20(required)','--all','segment','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','profile','usage','--allowed-ips\x20<ips>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','New\x20segment\x20name','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','accessToken','Timezone\x20(e.g.,\x20America/Los_Angeles)','api\x20[endpoint]','Output\x20as\x20JSON','error','join','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','Pull\x20templates\x20to\x20YAML\x20files','[options]\x20--\x20[claude-code-args...]','forEach','flatMap','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','create\x20<name>\x20[parent_segment]','create\x20<name>','service','init\x20[name]','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','use\x20<path>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Upload\x20an\x20image\x20to\x20Engage\x20DAM\x20(JPEG/PNG/GIF/SVG)'];a2_0x4a7b=function(){return _0x3bf7e5;};return a2_0x4a7b();}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{isApiCommandEnabled,isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x37aff4(0x3ce)][a2_0x37aff4(0x3eb)]('--version')){let versionOutput='tdx\x20'+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x37aff4(0x3eb)](buildInfo[a2_0x37aff4(0x3de)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x37aff4(0x258)+buildInfo[a2_0x37aff4(0x4a8)]),console[a2_0x37aff4(0x195)](versionOutput),process[a2_0x37aff4(0x1f8)](0x0);}const program=new Command();export function mergeCommandOptions(_0x14eec7,_0x20e728){const _0x483526=a2_0x37aff4,_0x89ec34={..._0x14eec7};for(const [_0x2c6859,_0x46cedc]of Object[_0x483526(0x3cd)](_0x20e728)){_0x46cedc!==undefined&&(_0x89ec34[_0x2c6859]=_0x46cedc);}return _0x89ec34;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20AI';buildInfo[a2_0x37aff4(0x3de)]&&!currentVersion[a2_0x37aff4(0x3eb)](buildInfo['gitRevision'])?description+=a2_0x37aff4(0x274)+currentVersion+'\x20('+buildInfo[a2_0x37aff4(0x3de)]+')':description+=a2_0x37aff4(0x274)+currentVersion;program[a2_0x37aff4(0x3b9)]('tdx')[a2_0x37aff4(0x2c0)](description),program[a2_0x37aff4(0x3c2)]('-C,\x20--directory\x20<path>',a2_0x37aff4(0x3af))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x251),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x28c),a2_0x37aff4(0x3d4),'us01')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x23d),a2_0x37aff4(0x2af))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x49f),a2_0x37aff4(0x233))['option'](a2_0x37aff4(0x2f4),a2_0x37aff4(0x2c2))[a2_0x37aff4(0x3c2)]('--jsonl',a2_0x37aff4(0x2cf))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4aa),a2_0x37aff4(0x2be))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x267),a2_0x37aff4(0x3da))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x481),a2_0x37aff4(0x2b5))[a2_0x37aff4(0x3c2)]('--color',a2_0x37aff4(0x409),![])[a2_0x37aff4(0x3c2)]('--no-color',a2_0x37aff4(0x3be),![])[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2fa),a2_0x37aff4(0x2f3),![])[a2_0x37aff4(0x3c2)]('--debug',a2_0x37aff4(0x1a2))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x20c),a2_0x37aff4(0x19c))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x42e),a2_0x37aff4(0x2dd),'30')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),'Preview\x20operation\x20without\x20executing',![])[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1c7),a2_0x37aff4(0x42b),![])[a2_0x37aff4(0x3c2)]('--session\x20<id>',a2_0x37aff4(0x42a))[a2_0x37aff4(0x3c2)]('--parent-segment\x20<name>',a2_0x37aff4(0x4a6))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x476),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x37aff4(0x21b)]({'formatHelp':(_0x1fa4a1,_0x12391d)=>{const _0x1f3965=a2_0x37aff4,_0x44f11f=_0x12391d['padWidth'](_0x1fa4a1,_0x12391d),_0x6245a5=0x2,_0x7ac561=0x2;function _0x2cb870(_0x2aa7eb){const _0x589072=a2_0x150a,_0x503f6c=_0x2aa7eb;return!!(_0x503f6c[_0x589072(0x16f)]||_0x503f6c['hidden']);}function _0x1962cd(_0x216a32,_0x5a9f40){const _0x5cb29e=a2_0x150a;if(_0x5a9f40){const _0x221ea4=''+_0x216a32[_0x5cb29e(0x46d)](_0x44f11f+_0x7ac561)+_0x5a9f40;return _0x221ea4;}return _0x216a32;}function _0x1001f5(_0x503268){const _0x4c37dc=a2_0x150a;return _0x503268[_0x4c37dc(0x2ae)]('\x0a')[_0x4c37dc(0x380)](/^/gm,'\x20'[_0x4c37dc(0x167)](_0x6245a5));}const _0x317434=[];_0x317434[_0x1f3965(0x1a9)](_0x1f3965(0x46a)+_0x12391d[_0x1f3965(0x46f)](_0x1fa4a1));const _0x464b0f=_0x12391d['commandDescription'](_0x1fa4a1);_0x464b0f&&(_0x317434[_0x1f3965(0x1a9)](''),_0x317434[_0x1f3965(0x1a9)](_0x464b0f));const _0x2f717d=_0x1fa4a1[_0x1f3965(0x1ec)][_0x1f3965(0x38f)](_0x586e16=>!_0x2cb870(_0x586e16));if(_0x2f717d[_0x1f3965(0x36d)]>0x0){if(_0x1fa4a1['name']()===_0x1f3965(0x29d)){const _0x330656=_0x1fa4a1[_0x1f3965(0x2cc)](),_0x362919=!_0x330656[_0x1f3965(0x20d)]&&process[_0x1f3965(0x397)][_0x1f3965(0x21c)],_0x782483=COMMAND_CATEGORIES,_0x37124a=(_0x51f18f,_0xab097a)=>_0x362919?_0xab097a(_0x51f18f):_0x51f18f,_0x42086e=new Map();_0x2f717d[_0x1f3965(0x2b3)](_0x4446f7=>{const _0x4e6d8a=_0x1f3965;_0x42086e[_0x4e6d8a(0x370)](_0x4446f7['name'](),_0x4446f7);}),_0x782483[_0x1f3965(0x2b3)](_0x123749=>{const _0x3054d5=_0x1f3965,_0x5cad65=_0x123749[_0x3054d5(0x1ec)][_0x3054d5(0x2b4)](_0x21628b=>_0x42086e[_0x3054d5(0x469)](_0x21628b)??[]);if(_0x5cad65[_0x3054d5(0x36d)]>0x0){_0x317434[_0x3054d5(0x1a9)](''),_0x317434[_0x3054d5(0x1a9)](_0x37124a(_0x123749[_0x3054d5(0x3b9)]+':',_0x123749[_0x3054d5(0x1b2)]));const _0xc1cb5f=_0x5cad65[_0x3054d5(0x1bd)](_0x24afcf=>{const _0x4c3837=_0x12391d['subcommandTerm'](_0x24afcf),_0x16e3e2=_0x12391d['subcommandDescription'](_0x24afcf);return _0x1962cd(_0x4c3837,_0x16e3e2);});_0x317434[_0x3054d5(0x1a9)](_0x1001f5(_0xc1cb5f));}}),_0x317434['push'](''),_0x317434[_0x1f3965(0x1a9)](_0x1f3965(0x1cd));}else{const _0x4df2e0=_0x2f717d[_0x1f3965(0x1bd)](_0x34d89a=>{const _0x55198d=_0x1f3965,_0x191d5c=_0x12391d[_0x55198d(0x317)](_0x34d89a),_0x2dbac9=_0x12391d[_0x55198d(0x183)](_0x34d89a);return _0x1962cd(_0x191d5c,_0x2dbac9);});_0x317434[_0x1f3965(0x1a9)](''),_0x317434[_0x1f3965(0x1a9)]('Commands:'),_0x317434['push'](_0x1001f5(_0x4df2e0));}}if(showBriefHelp&&_0x1fa4a1[_0x1f3965(0x3b9)]()===_0x1f3965(0x29d))_0x317434[_0x1f3965(0x1a9)](''),_0x317434['push']('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x36d066=_0x1fa4a1[_0x1f3965(0x3d9)][_0x1f3965(0x38f)](_0x22df67=>!_0x2cb870(_0x22df67));if(_0x36d066[_0x1f3965(0x36d)]>0x0){const _0x1d88d9=_0x36d066[_0x1f3965(0x1bd)](_0x410e5b=>{const _0x5c77e4=_0x1f3965,_0x470ea4=_0x12391d[_0x5c77e4(0x449)](_0x410e5b),_0x1e41ed=_0x12391d[_0x5c77e4(0x22e)](_0x410e5b);return _0x1962cd(_0x470ea4,_0x1e41ed);});_0x317434[_0x1f3965(0x1a9)](''),_0x317434[_0x1f3965(0x1a9)](_0x1f3965(0x2d3)),_0x317434['push'](_0x1001f5(_0x1d88d9));}}const _0x24f118=(_0x1fa4a1[_0x1f3965(0x24f)]||[])['filter'](_0x3eae66=>!_0x2cb870(_0x3eae66));if(_0x24f118[_0x1f3965(0x36d)]>0x0){const _0x2d3406=_0x24f118[_0x1f3965(0x1bd)](_0x3ded2e=>{const _0x20b8b6=_0x1f3965,_0x188f6d=_0x12391d[_0x20b8b6(0x3a2)](_0x3ded2e),_0x4840a7=_0x12391d[_0x20b8b6(0x465)](_0x3ded2e);return _0x1962cd(_0x188f6d,_0x4840a7);});_0x317434[_0x1f3965(0x1a9)](''),_0x317434[_0x1f3965(0x1a9)](_0x1f3965(0x1e0)),_0x317434[_0x1f3965(0x1a9)](_0x1001f5(_0x2d3406));}return _0x317434[_0x1f3965(0x2ae)]('\x0a')+'\x0a';},'subcommandTerm':_0x24c7b6=>{const _0x38564b=a2_0x37aff4,_0x645791=(_0x24c7b6['registeredArguments']||[])[_0x38564b(0x1bd)](_0x5b9d60=>_0x5b9d60[_0x38564b(0x170)]?'<'+_0x5b9d60['name']()+'>':'['+_0x5b9d60[_0x38564b(0x3b9)]()+']')['join']('\x20'),_0x4900a9=_0x24c7b6[_0x38564b(0x200)](),_0x22cdc3=_0x4900a9[_0x38564b(0x36d)]>0x0?_0x24c7b6['name']()+',\x20'+_0x4900a9[_0x38564b(0x2ae)](',\x20'):_0x24c7b6[_0x38564b(0x3b9)]();return _0x645791?_0x22cdc3+'\x20'+_0x645791:_0x22cdc3;}}),program[a2_0x37aff4(0x2f8)](a2_0x37aff4(0x2c5),_0x17cfc3=>{const _0x51da02=a2_0x37aff4,_0x3d9843=_0x17cfc3[_0x51da02(0x2cc)]();if(_0x3d9843['directory']){const _0x24e0b7=resolve(_0x3d9843[_0x51da02(0x292)]),_0x4972c1=_0x24e0b7!==_0x3d9843[_0x51da02(0x292)]?_0x51da02(0x499)+_0x24e0b7+')':'';if(!existsSync(_0x24e0b7))throw new SDKError(ErrorCode[_0x51da02(0x428)],_0x51da02(0x217)+_0x3d9843['directory']+_0x4972c1,undefined,{'helpText':_0x51da02(0x357)});const _0x4b1657=statSync(_0x24e0b7);if(!_0x4b1657['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x3d9843[_0x51da02(0x292)]+_0x4972c1,undefined,{'helpText':_0x51da02(0x47e)});process['chdir'](_0x24e0b7);}if(!_0x3d9843[_0x51da02(0x406)]){if(_0x3d9843['table'])_0x3d9843[_0x51da02(0x406)]=_0x51da02(0x3ba);else{if(_0x3d9843[_0x51da02(0x326)])_0x3d9843[_0x51da02(0x406)]=_0x51da02(0x326);else{if(_0x3d9843['jsonl'])_0x3d9843[_0x51da02(0x406)]='jsonl';else _0x3d9843['tsv']&&(_0x3d9843[_0x51da02(0x406)]=_0x51da02(0x315));}}}if(_0x3d9843[_0x51da02(0x269)])_0x3d9843[_0x51da02(0x211)]=LogLevel[_0x51da02(0x2e8)];else{if(_0x3d9843[_0x51da02(0x1c2)])_0x3d9843[_0x51da02(0x211)]=LogLevel['DEBUG'];else _0x3d9843[_0x51da02(0x211)]===undefined&&(_0x3d9843[_0x51da02(0x211)]=LogLevel[_0x51da02(0x441)]);}});async function createTDXInstance(_0x4d5e82){const _0xad5bfd=a2_0x37aff4,_0xbdbb81=await GlobalContext['createAsync'](_0x4d5e82);_0xbdbb81[_0xad5bfd(0x205)](_0x4d5e82);const _0x43ae48=Number(_0x4d5e82[_0xad5bfd(0x494)]),_0x87c524=!isNaN(_0x43ae48)&&_0x43ae48>0x0?_0x43ae48*0x3e8:undefined;return TDX[_0xad5bfd(0x1d0)]({'site':_0xbdbb81['site'],'apiKey':_0xbdbb81[_0xad5bfd(0x387)],'accessToken':_0xbdbb81[_0xad5bfd(0x2a9)],'logLevel':_0xbdbb81[_0xad5bfd(0x211)],'profile':_0xbdbb81[_0xad5bfd(0x2a3)],'timeout':_0x87c524});}const databaseCmd=program[a2_0x37aff4(0x479)](a2_0x37aff4(0x325))[a2_0x37aff4(0x1ac)]('db')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x17d)),databaseListAction=async(_0x532a04,_0x4fc589)=>{const _0x20967f=a2_0x37aff4,_0x589b20=new DatabasesCommand(),_0x197325=program['opts'](),_0x1b56dd=await createTDXInstance(_0x197325),_0x1702a9=await _0x589b20[_0x20967f(0x44f)]({'options':{..._0x197325,..._0x4fc589},'args':_0x532a04?[_0x532a04]:[],'tdx':_0x1b56dd});gracefulExit(_0x1702a9);};databaseCmd['command'](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x223))[a2_0x37aff4(0x43c)](databaseListAction),program[a2_0x37aff4(0x479)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x37aff4(0x2c0)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')['action'](databaseListAction),program['command'](a2_0x37aff4(0x3a6))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1c6))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x304),a2_0x37aff4(0x42d))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x305),'Start\x20a\x20new\x20chat\x20session')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x434),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x157),a2_0x37aff4(0x386))[a2_0x37aff4(0x43c)](async(_0x13d51e,_0xd32f0f)=>{const _0x3f0678=a2_0x37aff4,_0x5a4b69=program[_0x3f0678(0x2cc)](),_0x2e694f=await createTDXInstance(_0x5a4b69);if(_0x13d51e[0x0]===_0x3f0678(0x1d0)){const _0x4962b8=new ChatCreateCommand();gracefulExit(await _0x4962b8[_0x3f0678(0x44f)]({'options':{..._0x5a4b69,..._0xd32f0f},'args':_0x13d51e[_0x3f0678(0x45d)](0x1),'tdx':_0x2e694f}));return;}const _0xc18a94=new ChatCommand(),_0x1ae1ff=await _0xc18a94[_0x3f0678(0x44f)]({'options':{..._0x5a4b69,..._0xd32f0f},'args':_0x13d51e,'tdx':_0x2e694f});gracefulExit(_0x1ae1ff);});const apiCmd=program[a2_0x37aff4(0x479)](a2_0x37aff4(0x2ab),{'hidden':!isApiCommandEnabled()})[a2_0x37aff4(0x393)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs\x20(opt-in)')['addHelpText'](a2_0x37aff4(0x31b),a2_0x37aff4(0x407))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x255),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x37aff4(0x263))['option'](a2_0x37aff4(0x2f1),'Request\x20body\x20as\x20JSON\x20string')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x307),a2_0x37aff4(0x339))[a2_0x37aff4(0x3c2)]('-H,\x20--header\x20<header>',a2_0x37aff4(0x188),(_0x33e9eb,_0x647d31)=>{return _0x647d31?[..._0x647d31,_0x33e9eb]:[_0x33e9eb];})[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x232),a2_0x37aff4(0x38d),'td')[a2_0x37aff4(0x43c)](async(_0x230511,_0x5cda4a)=>{const _0x33223e=a2_0x37aff4;if(!isApiCommandEnabled()){console[_0x33223e(0x2ad)](a2_0x53b006[_0x33223e(0x26c)](_0x33223e(0x2ff))),console[_0x33223e(0x2ad)](''),console['error'](_0x33223e(0x1e6)),console[_0x33223e(0x2ad)](_0x33223e(0x32c)),console[_0x33223e(0x2ad)](''),console['error'](a2_0x53b006['yellow'](_0x33223e(0x3f0))),console[_0x33223e(0x2ad)](''),console[_0x33223e(0x2ad)](_0x33223e(0x21e)),gracefulExit(0x1);return;}if(!_0x230511){apiCmd[_0x33223e(0x422)]();return;}const _0x417f8a=new ApiCommand(),_0xdeb0cf=program[_0x33223e(0x2cc)](),_0x29e3fe=await createTDXInstance(_0xdeb0cf),_0x4a9eb4=await _0x417f8a[_0x33223e(0x44f)]({'options':{..._0xdeb0cf,..._0x5cda4a},'args':[_0x230511],'tdx':_0x29e3fe});gracefulExit(_0x4a9eb4);});program[a2_0x37aff4(0x479)](a2_0x37aff4(0x20f))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x383))[a2_0x37aff4(0x289)](a2_0x37aff4(0x31b),a2_0x37aff4(0x243))[a2_0x37aff4(0x43c)](async _0x119c69=>{const _0x410cd6=a2_0x37aff4,_0x28a3be=new MCPCommand(),_0x214465=program['opts'](),_0x2da0fa=await createTDXInstance(_0x214465),_0x105dc0=await _0x28a3be[_0x410cd6(0x44f)]({'options':{..._0x214465,..._0x119c69},'args':[],'tdx':_0x2da0fa});gracefulExit(_0x105dc0);});const tableCmd=program['command'](a2_0x37aff4(0x3ba))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x40e)),tableListAction=async(_0x4a340a,_0x58e315)=>{const _0x9aaa9b=a2_0x37aff4,_0x176aec=new TablesCommand(),_0x23273a=program[_0x9aaa9b(0x2cc)](),_0x2217bb=await createTDXInstance(_0x23273a);_0x58e315['in']&&(_0x58e315[_0x9aaa9b(0x325)]=_0x58e315['in']);const _0x1eed84=await _0x176aec[_0x9aaa9b(0x44f)]({'options':{..._0x23273a,..._0x58e315},'args':_0x4a340a?[_0x4a340a]:[],'tdx':_0x2217bb});gracefulExit(_0x1eed84);};tableCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1de),a2_0x37aff4(0x31d))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x35c),a2_0x37aff4(0x25e))[a2_0x37aff4(0x43c)](tableListAction),tableCmd['command']('deleted')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x367))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x238),a2_0x37aff4(0x4ac))['option'](a2_0x37aff4(0x472),a2_0x37aff4(0x466))['action'](async _0x8d72b8=>{const _0x27144b=a2_0x37aff4,_0x22a70f=new TableDeletedCommand(),_0x9b6d9b=program[_0x27144b(0x2cc)](),_0x3ba208=await createTDXInstance(_0x9b6d9b),_0x219825=await _0x22a70f[_0x27144b(0x44f)]({'options':{..._0x9b6d9b,..._0x8d72b8},'args':[],'tdx':_0x3ba208});gracefulExit(_0x219825);}),tableCmd['command'](a2_0x37aff4(0x2d7))['description'](a2_0x37aff4(0x173))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x452),'Rename\x20the\x20recovered\x20table\x20(use\x20on\x20409\x20name\x20conflict)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x204),a2_0x37aff4(0x31a))[a2_0x37aff4(0x43c)](async(_0x518e47,_0x523672)=>{const _0x12d355=a2_0x37aff4,_0x2c062c=new TableRecoverCommand(),_0x3b6a78=program[_0x12d355(0x2cc)](),_0x309bad=await createTDXInstance(_0x3b6a78),_0x46f87d=await _0x2c062c['run']({'options':{..._0x3b6a78,..._0x523672},'args':[_0x518e47],'tdx':_0x309bad});gracefulExit(_0x46f87d);}),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x378),{'hidden':!![]})[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x463))['option']('-d,\x20--database\x20<database>',a2_0x37aff4(0x31d))['option'](a2_0x37aff4(0x35c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x37aff4(0x43c)](tableListAction),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x194))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x41b))[a2_0x37aff4(0x3c2)]('-d,\x20--database\x20<database>',a2_0x37aff4(0x41c))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x35c),a2_0x37aff4(0x25e))[a2_0x37aff4(0x43c)](async(_0x12cda8,_0xd2df5b)=>{const _0x5332e4=a2_0x37aff4,_0xb1c831=new ShowCommand(),_0x144a89=program[_0x5332e4(0x2cc)](),_0x16870d=await createTDXInstance(_0x144a89);_0xd2df5b['in']&&(_0xd2df5b[_0x5332e4(0x325)]=_0xd2df5b['in']);const _0x4843fe=await _0xb1c831[_0x5332e4(0x44f)]({'options':{..._0x144a89,..._0xd2df5b},'args':_0x12cda8?[_0x12cda8]:[],'tdx':_0x16870d});gracefulExit(_0x4843fe);}),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x18b))[a2_0x37aff4(0x1ac)]('desc')['description'](a2_0x37aff4(0x2c7))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1de),a2_0x37aff4(0x41c))['option'](a2_0x37aff4(0x35c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x37aff4(0x43c)](async(_0x137c1b,_0x2860cc)=>{const _0x316080=a2_0x37aff4,_0x394bd3=new DescribeCommand(),_0x686ffd=program['opts'](),_0x492621=await createTDXInstance(_0x686ffd);_0x2860cc['in']&&(_0x2860cc[_0x316080(0x325)]=_0x2860cc['in']);const _0x49ac79=await _0x394bd3[_0x316080(0x44f)]({'options':{..._0x686ffd,..._0x2860cc},'args':_0x137c1b?[_0x137c1b]:[],'tdx':_0x492621});gracefulExit(_0x49ac79);}),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x460))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3f8))['option'](a2_0x37aff4(0x1de),a2_0x37aff4(0x23b))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x35c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x37aff4(0x3c2)]('--catalog\x20<catalog>','Trino\x20catalog\x20(default:\x20td)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x307),a2_0x37aff4(0x156))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x253),'Maximum\x20rows\x20to\x20display')[a2_0x37aff4(0x43c)](async(_0x2c5c33,_0x4e4490)=>{const _0x27885a=a2_0x37aff4,_0x4284c5=new QueryCommand(),_0x188cfe=program[_0x27885a(0x2cc)](),_0x54fcac=await createTDXInstance(_0x188cfe);_0x4e4490['in']&&(_0x4e4490[_0x27885a(0x325)]=_0x4e4490['in']);const _0x3909b3=await _0x4284c5[_0x27885a(0x44f)]({'options':mergeCommandOptions(_0x188cfe,_0x4e4490),'args':_0x2c5c33?[_0x2c5c33]:[],'tdx':_0x54fcac});gracefulExit(_0x3909b3);});const segmentCmd=program[a2_0x37aff4(0x479)](a2_0x37aff4(0x2a1))[a2_0x37aff4(0x1ac)]('sg')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1a1)),segmentListAction=async(_0x4ab4b7,_0x15b1cc)=>{const _0x4fb068=a2_0x37aff4,_0x96c5e0=new SegmentsCommand(),_0x4cb855=program[_0x4fb068(0x2cc)](),_0x2e7a0c=await createTDXInstance(_0x4cb855),_0x4d6b08=await _0x96c5e0[_0x4fb068(0x44f)]({'options':{..._0x4cb855,..._0x15b1cc},'args':_0x4ab4b7?[_0x4ab4b7]:[],'tdx':_0x2e7a0c});gracefulExit(_0x4d6b08);};segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x430))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x458))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x454),a2_0x37aff4(0x471))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3b6),a2_0x37aff4(0x25a),'10')[a2_0x37aff4(0x43c)](segmentListAction),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x15f),{'hidden':!![]})[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2ee))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x454),a2_0x37aff4(0x471))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3b6),a2_0x37aff4(0x25a),'10')[a2_0x37aff4(0x43c)](segmentListAction),segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2bb),{'hidden':!![]})['description'](a2_0x37aff4(0x26b))[a2_0x37aff4(0x43c)](async(_0x156af8,_0x11f219)=>{const _0x13833a=a2_0x37aff4,_0x45c2be=new SegmentUseCommand(),_0x3db72f=program[_0x13833a(0x2cc)](),_0x1da9fa=await createTDXInstance(_0x3db72f),_0x106719=await _0x45c2be[_0x13833a(0x44f)]({'options':{..._0x3db72f,..._0x11f219},'args':[_0x156af8],'tdx':_0x1da9fa});gracefulExit(_0x106719);});const segmentViewAction=async(_0x1fdcd5,_0x3436d2)=>{const _0x186193=a2_0x37aff4,_0x2eda35=new SegmentViewCommand(),_0x38f2e2=program[_0x186193(0x2cc)](),_0x28f331=await createTDXInstance(_0x38f2e2),_0x33b5a3=await _0x2eda35[_0x186193(0x44f)]({'options':{..._0x38f2e2,..._0x3436d2},'args':_0x1fdcd5?[_0x1fdcd5]:[],'tdx':_0x28f331});gracefulExit(_0x33b5a3);};segmentCmd['command'](a2_0x37aff4(0x3a3))['description'](a2_0x37aff4(0x2ca))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x348),a2_0x37aff4(0x487))['action'](segmentViewAction),segmentCmd['command'](a2_0x37aff4(0x321),{'hidden':!![]})[a2_0x37aff4(0x1ac)](a2_0x37aff4(0x16a))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x348),a2_0x37aff4(0x487))[a2_0x37aff4(0x2c0)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x37aff4(0x43c)](segmentViewAction),segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x41d))['description'](a2_0x37aff4(0x3a8))[a2_0x37aff4(0x43c)](async(_0x256a42,_0x380315)=>{const _0x26e115=a2_0x37aff4,_0x37715f=new SegmentDescCommand(),_0x1b773f=program[_0x26e115(0x2cc)](),_0xa329b5=await createTDXInstance(_0x1b773f),_0x57917b=await _0x37715f[_0x26e115(0x44f)]({'options':{..._0x1b773f,..._0x380315},'args':_0x256a42?[_0x256a42]:[],'tdx':_0xa329b5});gracefulExit(_0x57917b);}),segmentCmd[a2_0x37aff4(0x479)]('show\x20[segment_name]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1f0))[a2_0x37aff4(0x43c)](async(_0x1ffd99,_0x4392cc)=>{const _0x3dbe99=a2_0x37aff4,_0x2652fa=new SegmentShowCommand(),_0x276167=program['opts'](),_0x1be8d4=await createTDXInstance(_0x276167),_0x239410=await _0x2652fa[_0x3dbe99(0x44f)]({'options':{..._0x276167,..._0x4392cc},'args':_0x1ffd99?[_0x1ffd99]:[],'tdx':_0x1be8d4});gracefulExit(_0x239410);}),segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x489),{'hidden':!![]})[a2_0x37aff4(0x2c0)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x37aff4(0x43c)](async(_0x337951,_0x1e3202)=>{const _0x20b478=a2_0x37aff4,_0x579010=new SegmentFolderListCommand(),_0x5bb79b=program[_0x20b478(0x2cc)](),_0x5ef1ad=await createTDXInstance(_0x5bb79b),_0x3f7df6=await _0x579010[_0x20b478(0x44f)]({'options':{..._0x5bb79b,..._0x1e3202},'args':[_0x337951],'tdx':_0x5ef1ad});gracefulExit(_0x3f7df6);});const folderCmd=segmentCmd['command'](a2_0x37aff4(0x2bf),{'hidden':!![]})[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2e4));folderCmd['command'](a2_0x37aff4(0x361))['description'](a2_0x37aff4(0x1d6))[a2_0x37aff4(0x43c)](async(_0x8ef9fd,_0xb8eba)=>{const _0x435d89=a2_0x37aff4,_0x41444f=new SegmentFolderShowCommand(),_0x4322ae=program[_0x435d89(0x2cc)](),_0x447dde=await createTDXInstance(_0x4322ae),_0x451efa=await _0x41444f[_0x435d89(0x44f)]({'options':{..._0x4322ae,..._0xb8eba},'args':[_0x8ef9fd],'tdx':_0x447dde});gracefulExit(_0x451efa);}),segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x45e))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x175))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x388),a2_0x37aff4(0x35d))[a2_0x37aff4(0x43c)](async(_0x229076,_0x56b57b)=>{const _0x182458=a2_0x37aff4,_0x13605c=new SegmentSQLCommand(),_0x307c73=program[_0x182458(0x2cc)](),_0x1dd3c4=await createTDXInstance(_0x307c73),_0x378148=await _0x13605c[_0x182458(0x44f)]({'options':{..._0x307c73,..._0x56b57b},'args':_0x229076?[_0x229076]:[],'tdx':_0x1dd3c4});gracefulExit(_0x378148);}),segmentCmd[a2_0x37aff4(0x479)]('fields\x20[parent_name]')[a2_0x37aff4(0x2c0)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x37aff4(0x43c)](async(_0x59de54,_0xecf2f9)=>{const _0x4cd85a=a2_0x37aff4,_0x5bf12b=new SegmentFieldsCommand(),_0x40ead2=program[_0x4cd85a(0x2cc)](),_0x32908f=await createTDXInstance(_0x40ead2),_0x280a08=await _0x5bf12b['run']({'options':{..._0x40ead2,..._0xecf2f9},'args':_0x59de54?[_0x59de54]:[],'tdx':_0x32908f});gracefulExit(_0x280a08);}),segmentCmd['command'](a2_0x37aff4(0x27d))[a2_0x37aff4(0x2c0)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x450))[a2_0x37aff4(0x43c)](async(_0x189dd1,_0x4b80d7)=>{const _0x435596=a2_0x37aff4,_0x24daea=new SegmentPullCommand(),_0x35bf43=program[_0x435596(0x2cc)](),_0x2d6ade=await createTDXInstance(_0x35bf43),_0x577901=await _0x24daea[_0x435596(0x44f)]({'options':{..._0x35bf43,..._0x4b80d7},'args':_0x189dd1?[_0x189dd1]:[],'tdx':_0x2d6ade});gracefulExit(_0x577901);}),segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x346))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x38a))['option'](a2_0x37aff4(0x4af),a2_0x37aff4(0x450))['option'](a2_0x37aff4(0x3fc),a2_0x37aff4(0x496))[a2_0x37aff4(0x43c)](async(_0x218548,_0x18badf)=>{const _0x50d78d=new SegmentPushCommand(),_0x180093=program['opts'](),_0x3d565f=await createTDXInstance(_0x180093),_0x413dd9=await _0x50d78d['run']({'options':{..._0x180093,..._0x18badf},'args':_0x218548?[_0x218548]:[],'tdx':_0x3d565f});gracefulExit(_0x413dd9);}),segmentCmd[a2_0x37aff4(0x479)]('validate\x20[target]')[a2_0x37aff4(0x2c0)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x37aff4(0x43c)](async(_0x239bd2,_0x1d4107)=>{const _0x5b47ae=new SegmentValidateCommand(),_0x1a6eef=program['opts'](),_0x33ebed=await createTDXInstance(_0x1a6eef),_0x4a906d=await _0x5b47ae['run']({'options':{..._0x1a6eef,..._0x1d4107},'args':_0x239bd2?[_0x239bd2]:[],'tdx':_0x33ebed});gracefulExit(_0x4a906d);}),segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x165),{'hidden':!![]})[a2_0x37aff4(0x2c0)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option'](a2_0x37aff4(0x31f),'Segment\x20description')['option'](a2_0x37aff4(0x242),a2_0x37aff4(0x3a9))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2fd),a2_0x37aff4(0x2c6))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x354),'Folder\x20name\x20for\x20organization')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x43d),a2_0x37aff4(0x341))['option']('--invisible',a2_0x37aff4(0x20b))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x252),'Skip\x20population\x20counting')[a2_0x37aff4(0x43c)](async(_0xed41ab,_0x50993a)=>{const _0xcd9812=a2_0x37aff4,_0x4d056e=new SegmentCreateCommand(),_0x9996a7=program['opts'](),_0x380c48=await createTDXInstance(_0x9996a7),_0x4125e3=await _0x4d056e[_0xcd9812(0x44f)]({'options':{..._0x9996a7,..._0x50993a},'args':[_0xed41ab],'tdx':_0x380c48});gracefulExit(_0x4125e3);}),segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x331),{'hidden':!![]})[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1ee))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x260),a2_0x37aff4(0x2a7))[a2_0x37aff4(0x3c2)]('--description\x20<text>','Updated\x20description')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x242),a2_0x37aff4(0x2ef))[a2_0x37aff4(0x3c2)]('--rule-file\x20<file>',a2_0x37aff4(0x336))['option']('--folder\x20<name>',a2_0x37aff4(0x379))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x43d),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x37aff4(0x43c)](async(_0x1b0afb,_0x42401a)=>{const _0x4e5807=a2_0x37aff4,_0x6b076f=new SegmentUpdateCommand(),_0x47b902=program[_0x4e5807(0x2cc)](),_0xaf0492=await createTDXInstance(_0x47b902),_0x26a11c=await _0x6b076f[_0x4e5807(0x44f)]({'options':{..._0x47b902,..._0x42401a},'args':[_0x1b0afb],'tdx':_0xaf0492});gracefulExit(_0x26a11c);});const parentCmd=segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x32e),{'hidden':!![]})[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x216)),parentListAction=async(_0x2bf271,_0x204987)=>{const _0x52ec42=a2_0x37aff4,_0x17da4e=new ParentSegmentListCommand(),_0x540174=program[_0x52ec42(0x2cc)](),_0x29fcc3=await createTDXInstance(_0x540174),_0x43cb02=await _0x17da4e[_0x52ec42(0x44f)]({'options':{..._0x540174,..._0x204987},'args':_0x2bf271?[_0x2bf271]:[],'tdx':_0x29fcc3});gracefulExit(_0x43cb02);};parentCmd['command'](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x37aff4(0x43c)](parentListAction),segmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2d8),{'hidden':!![]})[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x34b))[a2_0x37aff4(0x43c)](parentListAction),parentCmd['command']('pull\x20[name]')['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x250),a2_0x37aff4(0x3e7))['action'](async(_0x25483b,_0x44e23c)=>{const _0x25fb2b=a2_0x37aff4,_0x815be9=new ParentSegmentPullCommand(),_0x4fe857=program[_0x25fb2b(0x2cc)](),_0xb1345b=await createTDXInstance(_0x4fe857),_0x1cae27=await _0x815be9[_0x25fb2b(0x44f)]({'options':{..._0x4fe857,..._0x44e23c},'args':_0x25483b?[_0x25483b]:[],'tdx':_0xb1345b});gracefulExit(_0x1cae27);}),parentCmd['command']('push\x20[file]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x27f))['action'](async(_0x178345,_0x4eafda)=>{const _0x177c43=a2_0x37aff4,_0x3e5114=new ParentSegmentPushCommand(),_0x510e1d=program[_0x177c43(0x2cc)](),_0x4e89e9=await createTDXInstance(_0x510e1d),_0x5d9511=await _0x3e5114[_0x177c43(0x44f)]({'options':{..._0x510e1d,..._0x4eafda},'args':_0x178345?[_0x178345]:[],'tdx':_0x4e89e9});gracefulExit(_0x5d9511);}),parentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ef))['description'](a2_0x37aff4(0x457))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1f6),a2_0x37aff4(0x3fe))[a2_0x37aff4(0x3c2)]('--attribute\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3d3),a2_0x37aff4(0x39d))['option']('--enriched',a2_0x37aff4(0x483))['option'](a2_0x37aff4(0x2c8),a2_0x37aff4(0x3a5),a2_0x37aff4(0x2d4))[a2_0x37aff4(0x43c)](async(_0x1c15cc,_0x150024)=>{const _0x30a7eb=new ParentSegmentValidateCommand(),_0x2e4c0c=program['opts'](),_0x2bd3de=await createTDXInstance(_0x2e4c0c),_0x13c675=await _0x30a7eb['run']({'options':{..._0x2e4c0c,..._0x150024},'args':_0x1c15cc?[_0x1c15cc]:[],'tdx':_0x2bd3de});gracefulExit(_0x13c675);}),parentCmd['command'](a2_0x37aff4(0x295))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1b0))[a2_0x37aff4(0x3c2)]('--master',a2_0x37aff4(0x18f))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x442),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x37aff4(0x3c2)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x44c),a2_0x37aff4(0x189))[a2_0x37aff4(0x3c2)]('--interval\x20<range>',a2_0x37aff4(0x3a5),a2_0x37aff4(0x2d4))[a2_0x37aff4(0x43c)](async(_0x563a01,_0x51a4d1)=>{const _0x4e7e82=a2_0x37aff4,_0x36227e=new ParentSegmentPreviewCommand(),_0x9036dc=program['opts'](),_0x48b24f=await createTDXInstance(_0x9036dc),_0x155055=await _0x36227e[_0x4e7e82(0x44f)]({'options':{..._0x9036dc,..._0x51a4d1},'args':_0x563a01?[_0x563a01]:[],'tdx':_0x48b24f});gracefulExit(_0x155055);}),parentCmd['command'](a2_0x37aff4(0x1cb))['description']('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['action'](async(_0x52dead,_0x9f3c19)=>{const _0xa720d3=a2_0x37aff4,_0x2bf0f3=new ParentSegmentRunCommand(),_0x15f494=program['opts'](),_0x4190ee=await createTDXInstance(_0x15f494),_0x1dd68b=await _0x2bf0f3[_0xa720d3(0x44f)]({'options':{..._0x15f494,..._0x9f3c19},'args':_0x52dead?[_0x52dead]:[],'tdx':_0x4190ee});gracefulExit(_0x1dd68b);});const parentSegmentCmd=program[a2_0x37aff4(0x479)](a2_0x37aff4(0x23c))[a2_0x37aff4(0x1ac)]('ps')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x41e));parentSegmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x29e))['action'](parentListAction),parentSegmentCmd['command'](a2_0x37aff4(0x3c1))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3ee))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x250),a2_0x37aff4(0x451))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x390),a2_0x37aff4(0x49b))[a2_0x37aff4(0x43c)](async(_0x419672,_0x37867e)=>{const _0x25e33d=a2_0x37aff4,_0x53d986=new ParentSegmentPullCommand(),_0x4c808b=program[_0x25e33d(0x2cc)](),_0x1db6b9=await createTDXInstance(_0x4c808b),_0x417df1=await _0x53d986[_0x25e33d(0x44f)]({'options':{..._0x4c808b,..._0x37867e},'args':_0x419672?[_0x419672]:[],'tdx':_0x1db6b9});gracefulExit(_0x417df1);}),parentSegmentCmd[a2_0x37aff4(0x479)]('push\x20[name]')['description'](a2_0x37aff4(0x405))[a2_0x37aff4(0x43c)](async(_0x3b9b82,_0x3c5125)=>{const _0x5d4bb1=a2_0x37aff4,_0x262aac=new ParentSegmentPushCommand(),_0x5567f8=program[_0x5d4bb1(0x2cc)](),_0x1714f5=await createTDXInstance(_0x5567f8),_0x320359=await _0x262aac[_0x5d4bb1(0x44f)]({'options':{..._0x5567f8,..._0x3c5125},'args':_0x3b9b82?[_0x3b9b82]:[],'tdx':_0x1714f5});gracefulExit(_0x320359);}),parentSegmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x3a1))['description'](a2_0x37aff4(0x457))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1f6),a2_0x37aff4(0x3fe))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x442),a2_0x37aff4(0x49e))['option']('--behavior\x20[name]',a2_0x37aff4(0x39d))['option']('--enriched',a2_0x37aff4(0x483))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2c8),a2_0x37aff4(0x3a5),a2_0x37aff4(0x2d4))[a2_0x37aff4(0x43c)](async(_0x2929ca,_0x535785)=>{const _0x5e2d3c=a2_0x37aff4,_0x5baa71=new ParentSegmentValidateCommand(),_0x12b36b=program[_0x5e2d3c(0x2cc)](),_0x15d074=await createTDXInstance(_0x12b36b),_0x3b2004=await _0x5baa71[_0x5e2d3c(0x44f)]({'options':{..._0x12b36b,..._0x535785},'args':_0x2929ca?[_0x2929ca]:[],'tdx':_0x15d074});gracefulExit(_0x3b2004);}),parentSegmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x275))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x37aff4(0x3c2)]('--master',a2_0x37aff4(0x18f))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x442),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x37aff4(0x3c2)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x44c),a2_0x37aff4(0x189))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2c8),a2_0x37aff4(0x3a5),a2_0x37aff4(0x2d4))[a2_0x37aff4(0x43c)](async(_0x1102d9,_0x56946c)=>{const _0x4d2d9f=a2_0x37aff4,_0x3c1bb7=new ParentSegmentPreviewCommand(),_0x5be8e3=program[_0x4d2d9f(0x2cc)](),_0x47db40=await createTDXInstance(_0x5be8e3),_0x29fd1c=await _0x3c1bb7[_0x4d2d9f(0x44f)]({'options':{..._0x5be8e3,..._0x56946c},'args':_0x1102d9?[_0x1102d9]:[],'tdx':_0x47db40});gracefulExit(_0x29fd1c);}),parentSegmentCmd[a2_0x37aff4(0x479)]('run\x20[name]')['description'](a2_0x37aff4(0x16d))['action'](async(_0x21ab0c,_0x26eea6)=>{const _0x12a430=a2_0x37aff4,_0x1cf15b=new ParentSegmentRunCommand(),_0x28d3c7=program[_0x12a430(0x2cc)](),_0x6276f5=await createTDXInstance(_0x28d3c7),_0x5c766b=await _0x1cf15b['run']({'options':{..._0x28d3c7,..._0x26eea6},'args':_0x21ab0c?[_0x21ab0c]:[],'tdx':_0x6276f5});gracefulExit(_0x5c766b);}),parentSegmentCmd[a2_0x37aff4(0x479)]('fields\x20[name]')['description'](a2_0x37aff4(0x411))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2f4),a2_0x37aff4(0x2ac))['option'](a2_0x37aff4(0x2e3),a2_0x37aff4(0x179))[a2_0x37aff4(0x43c)](async(_0x3b5e6f,_0x298350)=>{const _0x5d7d8f=a2_0x37aff4,_0xb19687=new ParentSegmentFieldsCommand(),_0x21bc10=program[_0x5d7d8f(0x2cc)](),_0x1e0a34=await createTDXInstance(_0x21bc10),_0x1907fd=await _0xb19687['run']({'options':{..._0x21bc10,..._0x298350},'args':_0x3b5e6f?[_0x3b5e6f]:[],'tdx':_0x1e0a34});gracefulExit(_0x1907fd);}),parentSegmentCmd['command'](a2_0x37aff4(0x222))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1b6))['option']('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')['option'](a2_0x37aff4(0x2f4),a2_0x37aff4(0x2ac))[a2_0x37aff4(0x3c2)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x37aff4(0x43c)](async(_0xa1ca4d,_0x5e4809)=>{const _0x1e8296=a2_0x37aff4,_0x5bcc69=new ParentSegmentViewCommand(),_0x4acff4=program[_0x1e8296(0x2cc)](),_0x24a056=await createTDXInstance(_0x4acff4),_0x323ddb=await _0x5bcc69[_0x1e8296(0x44f)]({'options':{..._0x4acff4,..._0x5e4809},'args':_0xa1ca4d?[_0xa1ca4d]:[],'tdx':_0x24a056});gracefulExit(_0x323ddb);}),parentSegmentCmd[a2_0x37aff4(0x479)]('desc\x20[name]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x177))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x250),a2_0x37aff4(0x451))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2f4),a2_0x37aff4(0x2ac))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2e3),a2_0x37aff4(0x179))[a2_0x37aff4(0x43c)](async(_0x258442,_0x482cd0)=>{const _0x5aa93e=a2_0x37aff4,_0x769ba8=new ParentSegmentDescCommand(),_0x54f288=program[_0x5aa93e(0x2cc)](),_0x45354a=await createTDXInstance(_0x54f288),_0x45c7e3=await _0x769ba8[_0x5aa93e(0x44f)]({'options':{..._0x54f288,..._0x482cd0},'args':_0x258442?[_0x258442]:[],'tdx':_0x45354a});gracefulExit(_0x45c7e3);}),parentSegmentCmd['command'](a2_0x37aff4(0x467))['description'](a2_0x37aff4(0x48f))['option'](a2_0x37aff4(0x2f4),'Output\x20as\x20JSON')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2e3),'Output\x20as\x20JSON\x20Lines')[a2_0x37aff4(0x43c)](async(_0x40dd29,_0x55ebc2)=>{const _0x472366=a2_0x37aff4,_0x1dadf8=new ParentSegmentSQLCommand(),_0x438f05=program[_0x472366(0x2cc)](),_0x307789=await createTDXInstance(_0x438f05),_0x214873=await _0x1dadf8['run']({'options':{..._0x438f05,..._0x55ebc2},'args':_0x40dd29?[_0x40dd29]:[],'tdx':_0x307789});gracefulExit(_0x214873);}),parentSegmentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x213))[a2_0x37aff4(0x2c0)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1d1),a2_0x37aff4(0x262))['option'](a2_0x37aff4(0x2f4),a2_0x37aff4(0x2ac))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2e3),a2_0x37aff4(0x179))[a2_0x37aff4(0x43c)](async(_0x3e935c,_0x5d45b5)=>{const _0x207d90=a2_0x37aff4,_0x1e4d83=new ParentSegmentShowCommand(),_0x53fa13=program[_0x207d90(0x2cc)](),_0x3b35af=await createTDXInstance(_0x53fa13),_0x524d1b=await _0x1e4d83[_0x207d90(0x44f)]({'options':{..._0x53fa13,..._0x5d45b5},'args':_0x3e935c?[_0x3e935c]:[],'tdx':_0x3b35af});gracefulExit(_0x524d1b);}),parentSegmentCmd['command'](a2_0x37aff4(0x2e5))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x384))[a2_0x37aff4(0x43c)](async(_0x5b1dd2,_0x3f54f3)=>{const _0x476597=a2_0x37aff4,_0x375242=new UseCommand(),_0xa67ecf=program[_0x476597(0x2cc)](),_0x5a0c45=_0x5b1dd2?['parent_segment',_0x5b1dd2]:[],_0x2bfc2d=await _0x375242['run']({'options':{..._0xa67ecf,..._0x3f54f3},'args':_0x5a0c45,'tdx':null});gracefulExit(_0x2bfc2d);});const psRtCmd=parentSegmentCmd[a2_0x37aff4(0x479)]('rt')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1dd));psRtCmd[a2_0x37aff4(0x479)]('list\x20[pattern]')[a2_0x37aff4(0x2c0)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x247407,_0x2b6609)=>{const _0x272c1b=a2_0x37aff4,_0xd1e088=new PSRtListCommand(),_0x1231ea=program[_0x272c1b(0x2cc)](),_0xac99c4=await createTDXInstance(_0x1231ea),_0x925701=await _0xd1e088['run']({'options':{..._0x1231ea,..._0x2b6609},'args':_0x247407?[_0x247407]:[],'tdx':_0xac99c4});gracefulExit(_0x925701);}),psRtCmd['command'](a2_0x37aff4(0x3a1))['description'](a2_0x37aff4(0x1f9))[a2_0x37aff4(0x43c)](async(_0x522197,_0x9b5263)=>{const _0x1db4b1=a2_0x37aff4,_0x5bc466=new PSRtValidateCommand(),_0x236a9e=program[_0x1db4b1(0x2cc)](),_0x1222cb=await createTDXInstance(_0x236a9e),_0x564190=await _0x5bc466[_0x1db4b1(0x44f)]({'options':{..._0x236a9e,..._0x9b5263},'args':_0x522197?[_0x522197]:[],'tdx':_0x1222cb});gracefulExit(_0x564190);}),psRtCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x21a))[a2_0x37aff4(0x2c0)]('Get\x20current\x20RT\x20configuration\x20version\x20status')[a2_0x37aff4(0x43c)](async(_0xcd0c4d,_0x51ccbb)=>{const _0x5231c7=a2_0x37aff4,_0x481a2f=new PSRtConfigVersionCommand(),_0x40a852=program[_0x5231c7(0x2cc)](),_0x3b83b0=await createTDXInstance(_0x40a852),_0x5b7cb6=await _0x481a2f[_0x5231c7(0x44f)]({'options':{..._0x40a852,..._0x51ccbb},'args':_0xcd0c4d?[_0xcd0c4d]:[],'tdx':_0x3b83b0});gracefulExit(_0x5b7cb6);});const psRtJnCmd=psRtCmd[a2_0x37aff4(0x479)]('jn')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1b7));psRtJnCmd['command']('list\x20[name]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2ed))[a2_0x37aff4(0x43c)](async(_0x3c66fc,_0x235d8a)=>{const _0x4f7c6c=a2_0x37aff4,_0x59f63c=new PSRtJnListCommand(),_0x189bcd=program[_0x4f7c6c(0x2cc)](),_0x1d8de0=await createTDXInstance(_0x189bcd),_0x5170d4=await _0x59f63c['run']({'options':{..._0x189bcd,..._0x235d8a},'args':_0x3c66fc?[_0x3c66fc]:[],'tdx':_0x1d8de0});gracefulExit(_0x5170d4);}),psRtJnCmd['command'](a2_0x37aff4(0x47c))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x39b))[a2_0x37aff4(0x43c)](async(_0x33fcb4,_0x3ac531)=>{const _0xa4060e=a2_0x37aff4,_0x343cd6=new PSRtJnPauseCommand(),_0xdf42e=program[_0xa4060e(0x2cc)](),_0x6ddd9d=await createTDXInstance(_0xdf42e),_0x13760a=await _0x343cd6[_0xa4060e(0x44f)]({'options':{..._0xdf42e,..._0x3ac531},'args':[_0x33fcb4],'tdx':_0x6ddd9d});gracefulExit(_0x13760a);}),psRtJnCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x288))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x45c))[a2_0x37aff4(0x43c)](async(_0x363445,_0x2ace46)=>{const _0x1704c4=a2_0x37aff4,_0x15aee9=new PSRtJnResumeCommand(),_0x12352b=program[_0x1704c4(0x2cc)](),_0x23ca5a=await createTDXInstance(_0x12352b),_0x5ab04c=await _0x15aee9['run']({'options':{..._0x12352b,..._0x2ace46},'args':[_0x363445],'tdx':_0x23ca5a});gracefulExit(_0x5ab04c);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1dd));parentRtCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))['description']('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x37aff4(0x43c)](async(_0x3841a3,_0x3585b7)=>{const _0x491f60=a2_0x37aff4,_0x321d67=new PSRtListCommand(),_0x12f5c3=program[_0x491f60(0x2cc)](),_0x1bf819=await createTDXInstance(_0x12f5c3),_0x70e5f1=await _0x321d67[_0x491f60(0x44f)]({'options':{..._0x12f5c3,..._0x3585b7},'args':_0x3841a3?[_0x3841a3]:[],'tdx':_0x1bf819});gracefulExit(_0x70e5f1);}),parentRtCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x3a1))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1f9))[a2_0x37aff4(0x43c)](async(_0x2057ed,_0x163ea4)=>{const _0x2fa3f2=a2_0x37aff4,_0x2dd345=new PSRtValidateCommand(),_0x27ccb5=program[_0x2fa3f2(0x2cc)](),_0x437b3e=await createTDXInstance(_0x27ccb5),_0x1bbff3=await _0x2dd345[_0x2fa3f2(0x44f)]({'options':{..._0x27ccb5,..._0x163ea4},'args':_0x2057ed?[_0x2057ed]:[],'tdx':_0x437b3e});gracefulExit(_0x1bbff3);});const psPzCmd=parentSegmentCmd[a2_0x37aff4(0x479)]('pz')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2c1));psPzCmd[a2_0x37aff4(0x479)]('list\x20[name]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2a2))[a2_0x37aff4(0x43c)](async(_0x1801f4,_0x5b9d9b)=>{const _0x425505=a2_0x37aff4,_0x4c0a41=new PSPzListCommand(),_0x55951c=program[_0x425505(0x2cc)](),_0x390bfa=await createTDXInstance(_0x55951c),_0xd525f9=await _0x4c0a41[_0x425505(0x44f)]({'options':{..._0x55951c,..._0x5b9d9b},'args':_0x1801f4?[_0x1801f4]:[],'tdx':_0x390bfa});gracefulExit(_0xd525f9);}),psPzCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x4ad))['description'](a2_0x37aff4(0x47b))[a2_0x37aff4(0x43c)](async(_0x49f89a,_0x1828e4)=>{const _0x27b7e9=a2_0x37aff4,_0x40b593=new PSPzShowCommand(),_0x2dcf06=program[_0x27b7e9(0x2cc)](),_0x125f87=await createTDXInstance(_0x2dcf06),_0xeaae9d=await _0x40b593[_0x27b7e9(0x44f)]({'options':{..._0x2dcf06,..._0x1828e4},'args':[_0x49f89a],'tdx':_0x125f87});gracefulExit(_0xeaae9d);}),psPzCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x311))['description'](a2_0x37aff4(0x3d2))['action'](async(_0x5902a6,_0x1620f8)=>{const _0x3e490d=new PSPzDeleteCommand(),_0x188a9b=program['opts'](),_0x4e678c=await createTDXInstance(_0x188a9b),_0x3a0851=await _0x3e490d['run']({'options':{..._0x188a9b,..._0x1620f8},'args':[_0x5902a6],'tdx':_0x4e678c});gracefulExit(_0x3a0851);}),psPzCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1d0))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x359))['option']('--name\x20<text>',a2_0x37aff4(0x30e))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x31f),a2_0x37aff4(0x432))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1f4),a2_0x37aff4(0x259))[a2_0x37aff4(0x3c2)]('--folder-id\x20<id>',a2_0x37aff4(0x1b4))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3a4),a2_0x37aff4(0x3ab))['option']('--file\x20<path>',a2_0x37aff4(0x398))[a2_0x37aff4(0x43c)](async _0x2b780b=>{const _0x256fbe=a2_0x37aff4,_0x197825=new PSPzCreateCommand(),_0x5bef99=program[_0x256fbe(0x2cc)](),_0x467149=await createTDXInstance(_0x5bef99),_0x37bc7d=await _0x197825[_0x256fbe(0x44f)]({'options':{..._0x5bef99,..._0x2b780b},'args':[],'tdx':_0x467149});gracefulExit(_0x37bc7d);}),psPzCmd[a2_0x37aff4(0x479)]('patch\x20<personalization_id>')['description'](a2_0x37aff4(0x455))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3e2),a2_0x37aff4(0x30e))['option'](a2_0x37aff4(0x31f),a2_0x37aff4(0x432))['option'](a2_0x37aff4(0x3a4),a2_0x37aff4(0x3ab))[a2_0x37aff4(0x3c2)]('--file\x20<path>',a2_0x37aff4(0x398))[a2_0x37aff4(0x43c)](async(_0x71028a,_0x30f5f1)=>{const _0x42cf9e=a2_0x37aff4,_0x466040=new PSPzPatchCommand(),_0x5a1f9f=program[_0x42cf9e(0x2cc)](),_0x3d04c2=await createTDXInstance(_0x5a1f9f),_0x325978=await _0x466040[_0x42cf9e(0x44f)]({'options':{..._0x5a1f9f,..._0x30f5f1},'args':[_0x71028a],'tdx':_0x3d04c2});gracefulExit(_0x325978);});const psPzServiceCmd=psPzCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2b8))[a2_0x37aff4(0x2c0)]('Personalization\x20service\x20management');psPzServiceCmd['command'](a2_0x37aff4(0x363))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1a3))[a2_0x37aff4(0x43c)](async(_0x5211cb,_0x5076ce)=>{const _0xc5d638=a2_0x37aff4,_0x1257b6=new PSPzServiceListCommand(),_0x3635d0=program['opts'](),_0x4ecc51=await createTDXInstance(_0x3635d0),_0x254f69=await _0x1257b6[_0xc5d638(0x44f)]({'options':{..._0x3635d0,..._0x5076ce},'args':_0x5211cb?[_0x5211cb]:[],'tdx':_0x4ecc51});gracefulExit(_0x254f69);}),psPzServiceCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2b6))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x27b))[a2_0x37aff4(0x3c2)]('--description\x20<text>',a2_0x37aff4(0x395))['option']('--public','Make\x20service\x20public\x20(default:\x20private)')['action'](async(_0x3ac504,_0x29ad25,_0x3ca8d6)=>{const _0x15394d=a2_0x37aff4,_0x35cee9=new PSPzServiceCreateCommand(),_0x3633bf=program['opts'](),_0x157d6d=await createTDXInstance(_0x3633bf),_0x48108a=await _0x35cee9[_0x15394d(0x44f)]({'options':{..._0x3633bf,..._0x3ca8d6},'args':_0x29ad25?[_0x3ac504,_0x29ad25]:[_0x3ac504],'tdx':_0x157d6d});gracefulExit(_0x48108a);}),psPzServiceCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2d0))['description'](a2_0x37aff4(0x473))[a2_0x37aff4(0x43c)](async(_0x266a4e,_0x3496ba,_0x49b43d)=>{const _0x5ce200=a2_0x37aff4,_0x43a5fe=new PSPzServiceShowCommand(),_0x3252b9=program[_0x5ce200(0x2cc)](),_0x1e7884=await createTDXInstance(_0x3252b9),_0x1ca08f=await _0x43a5fe[_0x5ce200(0x44f)]({'options':{..._0x3252b9,..._0x49b43d},'args':_0x3496ba?[_0x266a4e,_0x3496ba]:[_0x266a4e],'tdx':_0x1e7884});gracefulExit(_0x1ca08f);}),psPzServiceCmd['command'](a2_0x37aff4(0x300))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x392))['action'](async(_0x38843a,_0x444857,_0x184dda)=>{const _0x297d1f=new PSPzServiceDeleteCommand(),_0x4e3992=program['opts'](),_0x2f01b4=await createTDXInstance(_0x4e3992),_0x289481=await _0x297d1f['run']({'options':{..._0x4e3992,..._0x184dda},'args':_0x444857?[_0x38843a,_0x444857]:[_0x38843a],'tdx':_0x2f01b4});gracefulExit(_0x289481);}),psPzServiceCmd['command']('update\x20<service_id>\x20[parent_segment]')['description']('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x37aff4(0x418)](a2_0x37aff4(0x452),a2_0x37aff4(0x320))['option'](a2_0x37aff4(0x31f),a2_0x37aff4(0x374))[a2_0x37aff4(0x43c)](async(_0x35b194,_0x3be079,_0x449883)=>{const _0x42c3f3=a2_0x37aff4,_0x5b6504=new PSPzServiceUpdateCommand(),_0x563617=program[_0x42c3f3(0x2cc)](),_0x53a1d0=await createTDXInstance(_0x563617),_0x18468d=await _0x5b6504[_0x42c3f3(0x44f)]({'options':{..._0x563617,..._0x449883},'args':_0x3be079?[_0x35b194,_0x3be079]:[_0x35b194],'tdx':_0x53a1d0});gracefulExit(_0x18468d);}),psPzServiceCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2b9))['description'](a2_0x37aff4(0x424))['action'](async(_0x364510,_0x17437b)=>{const _0x205127=a2_0x37aff4,_0xff77a3=new PSPzInitCommand(),_0x367ea2=program[_0x205127(0x2cc)](),_0x221f83=await createTDXInstance(_0x367ea2),_0x59ca89=await _0xff77a3[_0x205127(0x44f)]({'options':{..._0x367ea2,..._0x17437b},'args':_0x364510?[_0x364510]:[],'tdx':_0x221f83});gracefulExit(_0x59ca89);});const psPzServiceTokenCmd=psPzServiceCmd['command'](a2_0x37aff4(0x186))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x19d));psPzServiceTokenCmd['command'](a2_0x37aff4(0x328))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x168))['option'](a2_0x37aff4(0x2a5),a2_0x37aff4(0x47a))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x31f),'Token\x20description')['action'](async(_0x3b4e78,_0x18928e,_0x34423f,_0x865f15)=>{const _0x381736=a2_0x37aff4,_0x4fa411=new PSPzServiceTokenCreateCommand(),_0x22da4b=program[_0x381736(0x2cc)](),_0x3373ca=await createTDXInstance(_0x22da4b),_0x4c3b6e=await _0x4fa411[_0x381736(0x44f)]({'options':{..._0x22da4b,..._0x865f15},'args':_0x34423f?[_0x3b4e78,_0x18928e,_0x34423f]:[_0x3b4e78,_0x18928e],'tdx':_0x3373ca});gracefulExit(_0x4c3b6e);}),psPzServiceTokenCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x272))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x33f))[a2_0x37aff4(0x43c)](async(_0x2ceb8f,_0x67b334,_0x338478)=>{const _0x5a2b55=a2_0x37aff4,_0x4ee855=new PSPzServiceTokenDeleteCommand(),_0x473b0c=program[_0x5a2b55(0x2cc)](),_0x21fa30=await createTDXInstance(_0x473b0c),_0x12c41f=await _0x4ee855['run']({'options':{..._0x473b0c,..._0x338478},'args':_0x67b334?[_0x2ceb8f,_0x67b334]:[_0x2ceb8f],'tdx':_0x21fa30});gracefulExit(_0x12c41f);}),parentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2b7))[a2_0x37aff4(0x2c0)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x37aff4(0x418)]('--database\x20<db>',a2_0x37aff4(0x345))[a2_0x37aff4(0x418)](a2_0x37aff4(0x4ae),a2_0x37aff4(0x35f))[a2_0x37aff4(0x3c2)]('--description\x20<text>',a2_0x37aff4(0x214))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x31e),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option'](a2_0x37aff4(0x249),a2_0x37aff4(0x43e))['option'](a2_0x37aff4(0x4a3),a2_0x37aff4(0x2aa))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3ef),a2_0x37aff4(0x22a))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3ae),a2_0x37aff4(0x436))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3b1),a2_0x37aff4(0x338))[a2_0x37aff4(0x3c2)]('--behaviors-file\x20<file>',a2_0x37aff4(0x2d5))[a2_0x37aff4(0x3c2)]('--customer-group\x20<json>',a2_0x37aff4(0x21f))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1e5),a2_0x37aff4(0x369))['action'](async(_0x15b9b9,_0x2635b6)=>{const _0x58ff67=a2_0x37aff4,_0x3d944e=new ParentSegmentCreateCommand(),_0x7187c3=program['opts'](),_0x37b2a9=await createTDXInstance(_0x7187c3),_0x40630f=await _0x3d944e[_0x58ff67(0x44f)]({'options':{..._0x7187c3,..._0x2635b6},'args':[_0x15b9b9],'tdx':_0x37b2a9});gracefulExit(_0x40630f);}),parentCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ff))['description'](a2_0x37aff4(0x221))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x31f),a2_0x37aff4(0x394))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x31e),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x249),a2_0x37aff4(0x36f))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a3),a2_0x37aff4(0x162))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1d3),a2_0x37aff4(0x34a))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3b5),a2_0x37aff4(0x2f5))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x446),a2_0x37aff4(0x3b2))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x334),a2_0x37aff4(0x236))[a2_0x37aff4(0x43c)](async(_0x14ddc7,_0x5f4d55)=>{const _0x2ee8f8=a2_0x37aff4,_0x715f19=new ParentSegmentUpdateCommand(),_0x5dd7cd=program[_0x2ee8f8(0x2cc)](),_0x15c4c4=await createTDXInstance(_0x5dd7cd),_0x25dc0c=await _0x715f19[_0x2ee8f8(0x44f)]({'options':{..._0x5dd7cd,..._0x5f4d55},'args':[_0x14ddc7],'tdx':_0x15c4c4});gracefulExit(_0x25dc0c);}),folderCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x33a))[a2_0x37aff4(0x2c0)]('Create\x20segment\x20folder')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x31f),a2_0x37aff4(0x3ed))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x35b),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x37aff4(0x43c)](async(_0x52a479,_0x14ef10,_0x592c3f)=>{const _0x421e30=a2_0x37aff4,_0x33b57e=new SegmentFolderCreateCommand(),_0x2dfab6=program[_0x421e30(0x2cc)](),_0x44d990=await createTDXInstance(_0x2dfab6),_0x2cfafd=await _0x33b57e[_0x421e30(0x44f)]({'options':{..._0x2dfab6,..._0x592c3f},'args':[_0x52a479,_0x14ef10],'tdx':_0x44d990});gracefulExit(_0x2cfafd);}),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x1e2))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x435))[a2_0x37aff4(0x43c)](async(_0xb42494,_0x286a88)=>{const _0x368965=a2_0x37aff4,_0xd68476=new ActivationsCommand(),_0x4596a1=program['opts'](),_0x12fc57=await createTDXInstance(_0x4596a1),_0x17cdbc=await _0xd68476[_0x368965(0x44f)]({'options':{..._0x4596a1,..._0x286a88},'args':[_0xb42494],'tdx':_0x12fc57});gracefulExit(_0x17cdbc);});const workflowCmd=program[a2_0x37aff4(0x479)]('workflow')[a2_0x37aff4(0x1ac)]('wf')[a2_0x37aff4(0x2c0)]('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x382))['description'](a2_0x37aff4(0x440)),wfProjectListAction=async(_0x31a019,_0x41fd97)=>{const _0x489d7d=a2_0x37aff4,_0x27113b=new WorkflowProjectsCommand(),_0x3f57ca=program[_0x489d7d(0x2cc)](),_0x2d84b6=await createTDXInstance(_0x3f57ca),_0x316a48=await _0x27113b[_0x489d7d(0x44f)]({'options':{..._0x3f57ca,..._0x41fd97},'args':_0x31a019?[_0x31a019]:[],'tdx':_0x2d84b6});gracefulExit(_0x316a48);};wfProjectCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x4a7))[a2_0x37aff4(0x43c)](wfProjectListAction),workflowCmd[a2_0x37aff4(0x479)]('projects\x20[pattern]')['description'](a2_0x37aff4(0x2bc))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x314b5b,_0x1adabc)=>{const _0x5cf93f=a2_0x37aff4,_0x381f40=new WorkflowWorkflowsCommand(),_0x5519a4=program[_0x5cf93f(0x2cc)](),_0x273a0f=await createTDXInstance(_0x5519a4),_0x52e1e0=await _0x381f40[_0x5cf93f(0x44f)]({'options':{..._0x5519a4,..._0x1adabc},'args':_0x314b5b?[_0x314b5b]:[],'tdx':_0x273a0f});gracefulExit(_0x52e1e0);};workflowCmd['command'](a2_0x37aff4(0x182))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x376))[a2_0x37aff4(0x43c)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x244))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x202)),wfSessionListAction=async(_0x1d66e0,_0x396c3e)=>{const _0x1d272b=a2_0x37aff4,_0x56f6ef=new WorkflowSessionsCommand(),_0x296ad7=program[_0x1d272b(0x2cc)](),_0x2ff847=await createTDXInstance(_0x296ad7),_0x17b48f=await _0x56f6ef[_0x1d272b(0x44f)]({'options':{..._0x296ad7,..._0x396c3e},'args':_0x1d66e0?[_0x1d66e0]:[],'tdx':_0x2ff847});gracefulExit(_0x17b48f);};wfSessionCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x312))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x220))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x27c),a2_0x37aff4(0x3bb))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1db),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x448),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x37aff4(0x43c)](wfSessionListAction),workflowCmd[a2_0x37aff4(0x479)]('sessions\x20[project]')['description'](a2_0x37aff4(0x3c8))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x27c),a2_0x37aff4(0x3bb))['option'](a2_0x37aff4(0x1db),a2_0x37aff4(0x29b))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x448),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x37aff4(0x43c)](wfSessionListAction);function a2_0x150a(_0x532e9e,_0xe62b6a){_0x532e9e=_0x532e9e-0x156;const _0x4a7baf=a2_0x4a7b();let _0x150aa1=_0x4a7baf[_0x532e9e];return _0x150aa1;}const wfAttemptListAction=async(_0x1d7861,_0x3753c8)=>{const _0x5a3a2f=a2_0x37aff4,_0x4b5235=new WorkflowAttemptsCommand(),_0x3f94cf=program[_0x5a3a2f(0x2cc)](),_0x2a7e1d=await createTDXInstance(_0x3f94cf),_0x340503=await _0x4b5235[_0x5a3a2f(0x44f)]({'options':{..._0x3f94cf,..._0x3753c8},'args':_0x1d7861?[_0x1d7861]:[],'tdx':_0x2a7e1d});gracefulExit(_0x340503);},attemptCmd=workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x327))['description'](a2_0x37aff4(0x3e3))['argument'](a2_0x37aff4(0x30b),'Attempt\x20ID')[a2_0x37aff4(0x38c)](a2_0x37aff4(0x3e8),a2_0x37aff4(0x3ca))['argument'](a2_0x37aff4(0x2c9),a2_0x37aff4(0x493))[a2_0x37aff4(0x3c2)]('--include-subtasks',a2_0x37aff4(0x1f7))['option'](a2_0x37aff4(0x2ec),a2_0x37aff4(0x1b3))[a2_0x37aff4(0x3c2)]('--resume-from\x20<task>','Resume\x20from\x20specific\x20task\x20(retry)')['option'](a2_0x37aff4(0x4a5),a2_0x37aff4(0x415))['option'](a2_0x37aff4(0x1c5),'Force\x20retry\x20even\x20if\x20not\x20failed')['option']('--include-retried',a2_0x37aff4(0x20a))[a2_0x37aff4(0x43c)](async(_0x482973,_0x24b655,_0x37e0af,_0x3825b1)=>{const _0x12b81b=a2_0x37aff4;if(_0x482973===_0x12b81b(0x35a)){await wfAttemptListAction(_0x24b655,_0x3825b1);return;}if(!_0x482973){attemptCmd[_0x12b81b(0x422)]();return;}const _0x22a7a4=program['opts'](),_0x54da08=await createTDXInstance(_0x22a7a4);let _0x10840b=0x0;if(!_0x24b655){const _0x4fff22=new WorkflowAttemptCommand();_0x10840b=await _0x4fff22[_0x12b81b(0x44f)]({'options':{..._0x22a7a4,..._0x3825b1},'args':[_0x482973],'tdx':_0x54da08});}else{if(_0x24b655==='logs'){const _0x1b5a34=new WorkflowLogsCommand();_0x10840b=await _0x1b5a34[_0x12b81b(0x44f)]({'options':{..._0x22a7a4,..._0x3825b1},'args':_0x37e0af?[_0x482973,_0x37e0af]:[_0x482973],'tdx':_0x54da08});}else{if(_0x24b655===_0x12b81b(0x290)){const _0x3114bd=new WorkflowTasksCommand();_0x10840b=await _0x3114bd[_0x12b81b(0x44f)]({'options':{..._0x22a7a4,..._0x3825b1},'args':[_0x482973],'tdx':_0x54da08});}else{if(_0x24b655===_0x12b81b(0x416)){const _0x4b7e45=new WorkflowKillCommand();_0x10840b=await _0x4b7e45[_0x12b81b(0x44f)]({'options':{..._0x22a7a4,..._0x3825b1},'args':[_0x482973],'tdx':_0x54da08});}else{if(_0x24b655==='retry'){const _0x16a1b7=new WorkflowRetryCommand();_0x10840b=await _0x16a1b7[_0x12b81b(0x44f)]({'options':{..._0x22a7a4,..._0x3825b1},'args':[_0x12b81b(0x42c)+_0x482973],'tdx':_0x54da08});}else console[_0x12b81b(0x2ad)](_0x12b81b(0x443)+_0x24b655),console[_0x12b81b(0x2ad)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x10840b=0x1;}}}}gracefulExit(_0x10840b);});attemptCmd[a2_0x37aff4(0x479)]('list\x20[project]')['description'](a2_0x37aff4(0x310))[a2_0x37aff4(0x3c2)]('--include-retried',a2_0x37aff4(0x169))[a2_0x37aff4(0x43c)](wfAttemptListAction),workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1fd))['description'](a2_0x37aff4(0x396))['option']('--include-retried',a2_0x37aff4(0x169))[a2_0x37aff4(0x43c)](wfAttemptListAction),workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x3c6))['description'](a2_0x37aff4(0x38b))[a2_0x37aff4(0x3c2)]('--follow',a2_0x37aff4(0x1e7))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x208),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x417),a2_0x37aff4(0x49d))['action'](async(_0x40af55,_0x4f46d3)=>{const _0x43735f=new WorkflowTimelineCommand(),_0x5225cd=program['opts'](),_0x4b0db3=await createTDXInstance(_0x5225cd),_0x55cebe=await _0x43735f['run']({'options':{..._0x5225cd,..._0x4f46d3},'args':_0x40af55?[_0x40af55]:[],'tdx':_0x4b0db3});gracefulExit(_0x55cebe);}),workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x268))[a2_0x37aff4(0x2c0)]('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')['option'](a2_0x37aff4(0x22f),a2_0x37aff4(0x3d6))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a5),a2_0x37aff4(0x478))['action'](async(_0x4e3335,_0x5f1093)=>{const _0x3de272=a2_0x37aff4,_0x18e18c=new WorkflowRetryCommand(),_0x5d2703=program[_0x3de272(0x2cc)](),_0xab9ace=await createTDXInstance(_0x5d2703),_0x815d3b=await _0x18e18c[_0x3de272(0x44f)]({'options':{..._0x5d2703,..._0x5f1093},'args':[_0x4e3335],'tdx':_0xab9ace});gracefulExit(_0x815d3b);}),workflowCmd[a2_0x37aff4(0x479)]('run\x20[workflow]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x498))[a2_0x37aff4(0x3c2)]('--param\x20<key=value>',a2_0x37aff4(0x433),(_0x5303da,_0xe670fb=[])=>[..._0xe670fb,_0x5303da],[])[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x32d),a2_0x37aff4(0x419))[a2_0x37aff4(0x3c2)]('--dry-run',a2_0x37aff4(0x2de))[a2_0x37aff4(0x43c)](async(_0x11f1ad,_0x13147b)=>{const _0x483a8a=a2_0x37aff4,_0x25679e=new WorkflowRunCommand(),_0x882b37=program[_0x483a8a(0x2cc)](),_0x3f94a8=await createTDXInstance(_0x882b37),_0x24876a=await _0x25679e[_0x483a8a(0x44f)]({'options':{..._0x882b37,..._0x13147b},'args':_0x11f1ad?[_0x11f1ad]:[],'tdx':_0x3f94a8});gracefulExit(_0x24876a);}),workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x3dc))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1c1))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x254),a2_0x37aff4(0x19a))['action'](async(_0x2c4042,_0x32405d,_0x2d3176)=>{const _0x3d4421=a2_0x37aff4,_0x5005d0=new WorkflowDownloadCommand(),_0x3b00af=program[_0x3d4421(0x2cc)](),_0x385f4d=await createTDXInstance(_0x3b00af),_0x4fe587=await _0x5005d0[_0x3d4421(0x44f)]({'options':{..._0x3b00af,..._0x2d3176},'args':[_0x2c4042,_0x32405d||'.'],'tdx':_0x385f4d});gracefulExit(_0x4fe587);}),workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1e3))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x470))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x254),a2_0x37aff4(0x197))['option'](a2_0x37aff4(0x4af),a2_0x37aff4(0x287))[a2_0x37aff4(0x43c)](async(_0x39c327,_0x77f0cd,_0x2b1286)=>{const _0x2c2351=new WorkflowPullCommand(),_0x473fc8=program['opts'](),_0x190304=await createTDXInstance(_0x473fc8),_0x4d7751=await _0x2c2351['run']({'options':{..._0x473fc8,..._0x2b1286},'args':_0x77f0cd?[_0x39c327,_0x77f0cd]:[_0x39c327],'tdx':_0x190304});gracefulExit(_0x4d7751);}),workflowCmd['command'](a2_0x37aff4(0x1e9))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3f2))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x254),a2_0x37aff4(0x166))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x41f))['option'](a2_0x37aff4(0x2f0),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x37aff4(0x3c2)]('--backfill',a2_0x37aff4(0x241))[a2_0x37aff4(0x43c)](async(_0x488ac3,_0x4bf381)=>{const _0x4c3fd2=a2_0x37aff4,_0x356fb7=new WorkflowPushCommand(),_0x22e1d7=program[_0x4c3fd2(0x2cc)](),_0x1c3451=await createTDXInstance(_0x22e1d7),_0x597305=await _0x356fb7[_0x4c3fd2(0x44f)]({'options':{..._0x22e1d7,..._0x4bf381},'args':_0x488ac3?[_0x488ac3]:[],'tdx':_0x1c3451});gracefulExit(_0x597305);}),workflowCmd[a2_0x37aff4(0x479)]('upload\x20[project-name-or-dir]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x172))['option'](a2_0x37aff4(0x452),a2_0x37aff4(0x226))['option'](a2_0x37aff4(0x254),a2_0x37aff4(0x365))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2f0),a2_0x37aff4(0x29a))['action'](async(_0x139e17,_0x54c1c0)=>{const _0x32468c=a2_0x37aff4,_0x4e06cf=new WorkflowUploadCommand(),_0xf8be61=program[_0x32468c(0x2cc)](),_0x56158f=await createTDXInstance(_0xf8be61),_0x40456f=await _0x4e06cf[_0x32468c(0x44f)]({'options':{..._0xf8be61,..._0x54c1c0},'args':_0x139e17?[_0x139e17]:[],'tdx':_0x56158f});gracefulExit(_0x40456f);}),workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x19b))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x40b))['option']('--name\x20<name>',a2_0x37aff4(0x296))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x254),a2_0x37aff4(0x166))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x330))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2f0),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x37aff4(0x43c)](async(_0x2eb1eb,_0x5f1584)=>{const _0x129138=a2_0x37aff4,_0x519d6f=new WorkflowCloneCommand(),_0x2f319f=program[_0x129138(0x2cc)](),_0x329536=await createTDXInstance(_0x2f319f),_0x581c7a=await _0x519d6f[_0x129138(0x44f)]({'options':{..._0x2f319f,..._0x5f1584},'args':_0x2eb1eb?[_0x2eb1eb]:[],'tdx':_0x329536});gracefulExit(_0x581c7a);}),workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x34f))['description'](a2_0x37aff4(0x3ad))[a2_0x37aff4(0x43c)](async(_0x4f1ee0,_0x292017)=>{const _0x58a45d=a2_0x37aff4,_0x455496=new WorkflowDeleteCommand(),_0x444611=program[_0x58a45d(0x2cc)](),_0x338031=await createTDXInstance(_0x444611),_0x22b692=await _0x455496[_0x58a45d(0x44f)]({'options':{..._0x444611,..._0x292017},'args':[_0x4f1ee0],'tdx':_0x338031});gracefulExit(_0x22b692);}),workflowCmd['command'](a2_0x37aff4(0x224))['description'](a2_0x37aff4(0x431))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1b5),a2_0x37aff4(0x33e))[a2_0x37aff4(0x43c)](async(_0x3b21d5,_0x83f157)=>{const _0x389df9=a2_0x37aff4,_0x48de4d=new WorkflowUseCommand(),_0x426267=program[_0x389df9(0x2cc)](),_0x98fee2=await createTDXInstance(_0x426267),_0xf9952d=await _0x48de4d['run']({'options':{..._0x426267,..._0x83f157},'args':_0x3b21d5?[_0x3b21d5]:[],'tdx':_0x98fee2});gracefulExit(_0xf9952d);});const wfSecretsCmd=workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x185))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x468));wfSecretsCmd[a2_0x37aff4(0x479)]('list\x20[project]')['description'](a2_0x37aff4(0x335))[a2_0x37aff4(0x43c)](async(_0x3ccfaf,_0x3bdc93)=>{const _0x5a4824=a2_0x37aff4,_0x40291e=new WorkflowSecretsListCommand(),_0x34393c=program['opts'](),_0x58ca9c=await createTDXInstance(_0x34393c),_0x42537e=await _0x40291e[_0x5a4824(0x44f)]({'options':{..._0x34393c,..._0x3bdc93},'args':_0x3ccfaf?[_0x3ccfaf]:[],'tdx':_0x58ca9c});gracefulExit(_0x42537e);}),wfSecretsCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x31c))[a2_0x37aff4(0x2c0)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x37aff4(0x43c)](async(_0x7828dd,_0x4251c7)=>{const _0x5b100b=a2_0x37aff4,_0x41d2fa=new WorkflowSecretsSetCommand(),_0x48b6f7=program[_0x5b100b(0x2cc)](),_0x582a0d=await createTDXInstance(_0x48b6f7),_0x4b6691=await _0x41d2fa[_0x5b100b(0x44f)]({'options':{..._0x48b6f7,..._0x4251c7},'args':_0x7828dd,'tdx':_0x582a0d});gracefulExit(_0x4b6691);}),wfSecretsCmd[a2_0x37aff4(0x479)]('delete\x20<args...>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x21d))[a2_0x37aff4(0x43c)](async(_0x511a25,_0x2d700e)=>{const _0x12e1e0=new WorkflowSecretsDeleteCommand(),_0x2c5906=program['opts'](),_0x42f4e4=await createTDXInstance(_0x2c5906),_0xc1cd11=await _0x12e1e0['run']({'options':{..._0x2c5906,..._0x2d700e},'args':_0x511a25,'tdx':_0x42f4e4});gracefulExit(_0xc1cd11);});const wfScheduleCmd=workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1d5))[a2_0x37aff4(0x2c0)]('Manage\x20workflow\x20schedules\x20(enable/disable)');wfScheduleCmd[a2_0x37aff4(0x479)]('enable\x20<id>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x46e))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1c0),a2_0x37aff4(0x241))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2e6),a2_0x37aff4(0x2ea))[a2_0x37aff4(0x43c)](async(_0x440f21,_0x75915)=>{const _0x342623=new WorkflowScheduleEnableCommand(),_0x57fa26=program['opts'](),_0x252308=await createTDXInstance(_0x57fa26),_0x21fe6d=await _0x342623['run']({'options':{..._0x57fa26,..._0x75915},'args':[_0x440f21],'tdx':_0x252308});gracefulExit(_0x21fe6d);}),wfScheduleCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x36b))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x22d))[a2_0x37aff4(0x43c)](async(_0x5e4abe,_0x172014)=>{const _0x1b2e08=a2_0x37aff4,_0x2207ab=new WorkflowScheduleDisableCommand(),_0x4d16da=program['opts'](),_0x1cf61d=await createTDXInstance(_0x4d16da),_0x5ec9d6=await _0x2207ab[_0x1b2e08(0x44f)]({'options':{..._0x4d16da,..._0x172014},'args':[_0x5e4abe],'tdx':_0x1cf61d});gracefulExit(_0x5ec9d6);});const wfSchedulesListAction=async(_0x41164e,_0x242134)=>{const _0x5acce8=a2_0x37aff4,_0x26a416=new WorkflowSchedulesCommand(),_0x346e3b=program[_0x5acce8(0x2cc)](),_0x3b82df=await createTDXInstance(_0x346e3b),_0x132a49=await _0x26a416[_0x5acce8(0x44f)]({'options':{..._0x346e3b,..._0x242134},'args':_0x41164e?[_0x41164e]:[],'tdx':_0x3b82df});gracefulExit(_0x132a49);};wfScheduleCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x35e))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x28d))['option'](a2_0x37aff4(0x1fb),a2_0x37aff4(0x3fd))['action'](wfSchedulesListAction),workflowCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x225))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x212))[a2_0x37aff4(0x3c2)]('--schedule-id\x20<id>','Show\x20a\x20single\x20schedule\x20by\x20its\x20ID')[a2_0x37aff4(0x43c)](wfSchedulesListAction);const jobCmd=program['command'](a2_0x37aff4(0x389))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3d0)),jobListAction=async _0x272711=>{const _0x23d7d5=a2_0x37aff4,_0x16eebe=new JobListCommand(),_0x13a72a=program['opts'](),_0x49079a=await createTDXInstance(_0x13a72a),_0x4d9284=await _0x16eebe[_0x23d7d5(0x44f)]({'options':{..._0x13a72a,..._0x272711},'args':[],'tdx':_0x49079a});gracefulExit(_0x4d9284);};jobCmd[a2_0x37aff4(0x479)]('list')['description'](a2_0x37aff4(0x45a))['option']('--status\x20<status>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x37aff4(0x43c)](jobListAction),program['command'](a2_0x37aff4(0x1a4),{'hidden':!![]})['description']('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x27c),a2_0x37aff4(0x3b3))[a2_0x37aff4(0x43c)](jobListAction),jobCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x27e))['description'](a2_0x37aff4(0x3dd))[a2_0x37aff4(0x43c)](async(_0x204786,_0x14700d)=>{const _0x16bef6=a2_0x37aff4,_0x36f742=new JobShowCommand(),_0x3cc3fe=program['opts'](),_0x135f8f=await createTDXInstance(_0x3cc3fe),_0x50819b=await _0x36f742[_0x16bef6(0x44f)]({'options':{..._0x3cc3fe,..._0x14700d},'args':[_0x204786],'tdx':_0x135f8f});gracefulExit(_0x50819b);}),jobCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x18d))[a2_0x37aff4(0x2c0)]('Kill\x20a\x20job')[a2_0x37aff4(0x43c)](async(_0x306644,_0x11c644)=>{const _0x1523fb=a2_0x37aff4,_0x53e42b=new JobKillCommand(),_0x2a74a0=program[_0x1523fb(0x2cc)](),_0x2c6ed6=await createTDXInstance(_0x2a74a0),_0x140c3b=await _0x53e42b[_0x1523fb(0x44f)]({'options':{..._0x2a74a0,..._0x11c644},'args':[_0x306644],'tdx':_0x2c6ed6});gracefulExit(_0x140c3b);}),jobCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x316))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x48d))['option'](a2_0x37aff4(0x240),a2_0x37aff4(0x385),a2_0x37aff4(0x439))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x307),a2_0x37aff4(0x271))[a2_0x37aff4(0x3c2)]('--database\x20<name>','Database\x20name\x20(default:\x20information_schema)',a2_0x37aff4(0x3b0))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1c9),a2_0x37aff4(0x413))[a2_0x37aff4(0x43c)](async(_0x55bf84,_0x3ae0c0)=>{const _0x6e067f=a2_0x37aff4,_0x553af8=new JobSubmitCommand(),_0x8de155=program[_0x6e067f(0x2cc)](),_0x1d1e8c=await createTDXInstance(_0x8de155),_0x30a1db=await _0x553af8[_0x6e067f(0x44f)]({'options':{..._0x8de155,..._0x3ae0c0},'args':_0x55bf84?[_0x55bf84]:[],'tdx':_0x1d1e8c});gracefulExit(_0x30a1db);}),jobCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1bb))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x426))[a2_0x37aff4(0x43c)](async(_0x5dfa08,_0x16e729)=>{const _0xea6690=a2_0x37aff4,_0x2a9003=new JobResultCommand(),_0x3df368=program[_0xea6690(0x2cc)](),_0x58e357=await createTDXInstance(_0x3df368),_0x3eb1ee=await _0x2a9003[_0xea6690(0x44f)]({'options':{..._0x3df368,..._0x16e729},'args':[_0x5dfa08],'tdx':_0x58e357});gracefulExit(_0x3eb1ee);});const scheduleCmd=jobCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1d5))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x4ab));scheduleCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3d8))[a2_0x37aff4(0x43c)](async(_0x29acbe,_0x29b319)=>{const _0x233209=a2_0x37aff4,_0xc7b395=new ScheduleListCommand(),_0x4d0121=program[_0x233209(0x2cc)](),_0x9eafcb=await createTDXInstance(_0x4d0121),_0x7d414c=await _0xc7b395[_0x233209(0x44f)]({'options':{..._0x4d0121,..._0x29b319},'args':_0x29acbe?[_0x29acbe]:[],'tdx':_0x9eafcb});gracefulExit(_0x7d414c);}),scheduleCmd[a2_0x37aff4(0x479)]('show\x20<name>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x228))['action'](async(_0x5529af,_0x21f056)=>{const _0x5aa63b=a2_0x37aff4,_0x926ca0=new ScheduleShowCommand(),_0x336bbe=program[_0x5aa63b(0x2cc)](),_0x835204=await createTDXInstance(_0x336bbe),_0x4ee9e6=await _0x926ca0[_0x5aa63b(0x44f)]({'options':{..._0x336bbe,..._0x21f056},'args':[_0x5529af],'tdx':_0x835204});gracefulExit(_0x4ee9e6);}),scheduleCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2b7))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x273))['option']('-d,\x20--database\x20<db>','Database\x20name\x20(required)')[a2_0x37aff4(0x3c2)]('--in\x20<db>',a2_0x37aff4(0x25e))[a2_0x37aff4(0x418)](a2_0x37aff4(0x307),a2_0x37aff4(0x271))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x23f),a2_0x37aff4(0x26e),a2_0x37aff4(0x439))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x421),'Cron\x20expression\x20for\x20scheduling')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a3),a2_0x37aff4(0x4a1))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x48c),a2_0x37aff4(0x373))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x423),a2_0x37aff4(0x404))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x364),a2_0x37aff4(0x438))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1a0),a2_0x37aff4(0x347))['option'](a2_0x37aff4(0x429),a2_0x37aff4(0x23e))[a2_0x37aff4(0x43c)](async(_0x37da30,_0x4533ab)=>{const _0x393b0f=a2_0x37aff4,_0x2e66d7=new ScheduleCreateCommand(),_0x4a8fa0=program[_0x393b0f(0x2cc)](),_0x4ed0ab=await createTDXInstance(_0x4a8fa0);_0x4533ab['in']&&(_0x4533ab[_0x393b0f(0x325)]=_0x4533ab['in']);const _0x2c9b93=await _0x2e66d7['run']({'options':{..._0x4a8fa0,..._0x4533ab},'args':[_0x37da30],'tdx':_0x4ed0ab});gracefulExit(_0x2c9b93);}),scheduleCmd['command']('update\x20<name>')[a2_0x37aff4(0x2c0)]('Update\x20a\x20scheduled\x20query')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x187),'Database\x20name')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x218),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x37aff4(0x3c2)]('-f,\x20--file\x20<path>',a2_0x37aff4(0x271))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x23f),a2_0x37aff4(0x26e))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x421),a2_0x37aff4(0x322))['option']('--timezone\x20<tz>',a2_0x37aff4(0x276))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x48c),a2_0x37aff4(0x373))[a2_0x37aff4(0x3c2)]('--priority\x20<-2~2>',a2_0x37aff4(0x404))['option'](a2_0x37aff4(0x364),a2_0x37aff4(0x438))['option'](a2_0x37aff4(0x1a0),a2_0x37aff4(0x347))['option'](a2_0x37aff4(0x429),a2_0x37aff4(0x23e))[a2_0x37aff4(0x43c)](async(_0x2633fb,_0x46a16e)=>{const _0x210bf1=a2_0x37aff4,_0xfda0e4=new ScheduleUpdateCommand(),_0x281a63=program['opts'](),_0x42a57e=await createTDXInstance(_0x281a63);_0x46a16e['in']&&(_0x46a16e[_0x210bf1(0x325)]=_0x46a16e['in']);const _0x1c3750=await _0xfda0e4['run']({'options':{..._0x281a63,..._0x46a16e},'args':[_0x2633fb],'tdx':_0x42a57e});gracefulExit(_0x1c3750);}),scheduleCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1d4))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x301))[a2_0x37aff4(0x43c)](async(_0x19c632,_0x37bb8a)=>{const _0x56bed0=a2_0x37aff4,_0x52f2fb=new ScheduleDeleteCommand(),_0x2ff7fd=program[_0x56bed0(0x2cc)](),_0x288ecf=await createTDXInstance(_0x2ff7fd),_0x512b3d=await _0x52f2fb[_0x56bed0(0x44f)]({'options':{..._0x2ff7fd,..._0x37bb8a},'args':[_0x19c632],'tdx':_0x288ecf});gracefulExit(_0x512b3d);}),scheduleCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x24a))['description']('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x37aff4(0x3c2)]('--time\x20<iso8601>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x174),a2_0x37aff4(0x3c7))[a2_0x37aff4(0x43c)](async(_0x439276,_0x3d53cc)=>{const _0x33f437=a2_0x37aff4,_0x1a86a5=new ScheduleRunCommand(),_0x553246=program['opts'](),_0x6f0add=await createTDXInstance(_0x553246),_0x2c7ccb=await _0x1a86a5[_0x33f437(0x44f)]({'options':{..._0x553246,..._0x3d53cc},'args':[_0x439276],'tdx':_0x6f0add});gracefulExit(_0x2c7ccb);}),scheduleCmd['command']('history\x20<name>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x410))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x352),a2_0x37aff4(0x43a))[a2_0x37aff4(0x3c2)]('--to\x20<n>',a2_0x37aff4(0x2fb))['action'](async(_0x596f21,_0x46947b)=>{const _0x38bfdc=a2_0x37aff4,_0x42b25d=new ScheduleHistoryCommand(),_0x55806a=program[_0x38bfdc(0x2cc)](),_0xfbf648=await createTDXInstance(_0x55806a),_0x3728dc=await _0x42b25d[_0x38bfdc(0x44f)]({'options':{..._0x55806a,..._0x46947b},'args':[_0x596f21],'tdx':_0xfbf648});gracefulExit(_0x3728dc);});const llmCmd=program['command'](a2_0x37aff4(0x261))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x349));llmCmd[a2_0x37aff4(0x479)]('use\x20<project-name>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x474))['action'](async(_0x340f32,_0x1a0f77)=>{const _0x1f75a0=a2_0x37aff4,_0xec2e09=new LLMUseCommand(),_0x33871a=program['opts'](),_0x17f997=await createTDXInstance(_0x33871a),_0x1723ef=await _0xec2e09[_0x1f75a0(0x44f)]({'options':{..._0x33871a,..._0x1a0f77},'args':[_0x340f32],'tdx':_0x17f997});gracefulExit(_0x1723ef);}),llmCmd['command'](a2_0x37aff4(0x2c3))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x43b))[a2_0x37aff4(0x43c)](async _0x2c0447=>{const _0x1ac22a=a2_0x37aff4,_0x1363a8=new LLMModelsCommand(),_0xbc242c=program[_0x1ac22a(0x2cc)](),_0x5f2f67=await createTDXInstance(_0xbc242c),_0x285482=await _0x1363a8['run']({'options':{..._0xbc242c,..._0x2c0447},'args':[],'tdx':_0x5f2f67});gracefulExit(_0x285482);});const projectCmd=llmCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x382))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1e1)),llmProjectListAction=async(_0x313c27,_0x205a32)=>{const _0x54b83d=a2_0x37aff4,_0x820d85=new LLMProjectsCommand(),_0x4f1811=program[_0x54b83d(0x2cc)](),_0x44a37e=await createTDXInstance(_0x4f1811),_0x176336=await _0x820d85['run']({'options':{..._0x4f1811,..._0x205a32},'args':_0x313c27?[_0x313c27]:[],'tdx':_0x44a37e});gracefulExit(_0x176336);};projectCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2e9))[a2_0x37aff4(0x43c)](llmProjectListAction),llmCmd[a2_0x37aff4(0x479)]('projects\x20[pattern]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x24b))[a2_0x37aff4(0x43c)](llmProjectListAction),projectCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2b7))['description'](a2_0x37aff4(0x313))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x31f),'Project\x20description')[a2_0x37aff4(0x43c)](async(_0x90e0c7,_0x2b2807)=>{const _0x288ef5=a2_0x37aff4,_0x32c2c7=new LLMProjectCreateCommand(),_0xf5babf=program[_0x288ef5(0x2cc)](),_0x4cc145=await createTDXInstance(_0xf5babf),_0x118ed2=await _0x32c2c7[_0x288ef5(0x44f)]({'options':{..._0xf5babf,..._0x2b2807},'args':[_0x90e0c7],'tdx':_0x4cc145});gracefulExit(_0x118ed2);}),projectCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1d4))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x33c))['action'](async(_0x15f3ff,_0x30c934)=>{const _0x311505=a2_0x37aff4,_0x3de190=new LLMProjectDeleteCommand(),_0xcead96=program[_0x311505(0x2cc)](),_0x10fc49=await createTDXInstance(_0xcead96),_0x2ec356=await _0x3de190[_0x311505(0x44f)]({'options':{..._0xcead96,..._0x30c934},'args':[_0x15f3ff],'tdx':_0x10fc49});gracefulExit(_0x2ec356);}),projectCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x198))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x453))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3ea),a2_0x37aff4(0x299))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x37aff4(0x43c)](async(_0x34b4cf,_0x2cb204)=>{const _0x3c2a5d=a2_0x37aff4,_0x2095d3=new LLMProjectBackupCommand(),_0x418e71=program[_0x3c2a5d(0x2cc)](),_0x56f312=await createTDXInstance(_0x418e71),_0x20fdd1=await _0x2095d3[_0x3c2a5d(0x44f)]({'options':{..._0x418e71,..._0x2cb204},'args':[_0x34b4cf],'tdx':_0x56f312});gracefulExit(_0x20fdd1);}),projectCmd[a2_0x37aff4(0x479)]('restore\x20<folder>')[a2_0x37aff4(0x2c0)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3c9),a2_0x37aff4(0x2da))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x207))[a2_0x37aff4(0x43c)](async(_0x8e9bd9,_0x226939)=>{const _0x397ad6=a2_0x37aff4,_0x171664=new LLMProjectRestoreCommand(),_0xd342c7=program[_0x397ad6(0x2cc)](),_0x361a1a=await createTDXInstance(_0xd342c7),_0x3d9b84=await _0x171664[_0x397ad6(0x44f)]({'options':{..._0xd342c7,..._0x226939},'args':[_0x8e9bd9],'tdx':_0x361a1a});gracefulExit(_0x3d9b84);});const llmAgentListAction=async(_0x57923e,_0x13dc58)=>{const _0x56acf2=a2_0x37aff4,_0x4ab426=new LLMAgentsCommand(),_0x5281a8=program[_0x56acf2(0x2cc)](),_0x4a8b18=await createTDXInstance(_0x5281a8),_0x5f102f=await _0x4ab426[_0x56acf2(0x44f)]({'options':{..._0x5281a8,..._0x13dc58},'args':_0x57923e?[_0x57923e]:[],'tdx':_0x4a8b18});gracefulExit(_0x5f102f);};llmCmd['command'](a2_0x37aff4(0x366))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3cc))[a2_0x37aff4(0x43c)](llmAgentListAction),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x366))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3cc))[a2_0x37aff4(0x43c)](llmAgentListAction),llmCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ed))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x377))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1b9),a2_0x37aff4(0x2a8))[a2_0x37aff4(0x43c)](async(_0x1cf85e,_0x2fb22b)=>{const _0x52860a=a2_0x37aff4,_0x1d82c7=new LLMHistoryCommand(),_0x2f4847=program['opts'](),_0x46e058=await createTDXInstance(_0x2f4847),_0x8834cb=await _0x1d82c7[_0x52860a(0x44f)]({'options':{..._0x2f4847,..._0x2fb22b},'args':_0x1cf85e?[_0x1cf85e]:[],'tdx':_0x46e058});gracefulExit(_0x8834cb);});isExperimentalAvailable()&&llmCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2c4))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3f1))[a2_0x37aff4(0x43c)](async(_0x94e771,_0x4197de)=>{const _0x51e654=a2_0x37aff4,_0x4ed32d=new LLMLogCommand(),_0x110d9e=program['opts'](),_0x5e2091=await createTDXInstance(_0x110d9e),_0x5cb3ee=await _0x4ed32d[_0x51e654(0x44f)]({'options':{..._0x110d9e,..._0x4197de},'args':[_0x94e771],'tdx':_0x5e2091});gracefulExit(_0x5cb3ee);});program[a2_0x37aff4(0x479)]('claude\x20[args...]')[a2_0x37aff4(0x2a4)](a2_0x37aff4(0x2b2))['description'](a2_0x37aff4(0x3bc))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1b1),a2_0x37aff4(0x1a6))[a2_0x37aff4(0x3c2)]('-r,\x20--resume',a2_0x37aff4(0x235))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1b8),a2_0x37aff4(0x437))[a2_0x37aff4(0x17c)]()[a2_0x37aff4(0x180)](!![])[a2_0x37aff4(0x289)]('after',a2_0x37aff4(0x484))[a2_0x37aff4(0x43c)](async(_0x45a34f,_0x80e17a)=>{const _0x5849d0=a2_0x37aff4,_0x325d99=program['opts'](),_0x4f6e33=Array['isArray'](_0x45a34f)?_0x45a34f:[];if(_0x4f6e33[0x0]===_0x5849d0(0x3b8)){const _0x20b90d=new ClaudeStatuslineCommand(),_0x49c0cb=await _0x20b90d[_0x5849d0(0x44f)]({'options':{..._0x325d99,..._0x80e17a},'args':_0x4f6e33['slice'](0x1),'tdx':null});gracefulExit(_0x49c0cb);}if(_0x4f6e33[0x0]==='usage'){const _0x17ac08=new ClaudeUsageCommand(),_0x35bed6=await _0x17ac08[_0x5849d0(0x44f)]({'options':{..._0x325d99,..._0x80e17a},'args':_0x4f6e33[_0x5849d0(0x45d)](0x1),'tdx':null});gracefulExit(_0x35bed6);}const _0x4f4942=new ClaudeCommand(),_0x4ba314=await createTDXInstance(_0x325d99),_0x425a02=await _0x4f4942[_0x5849d0(0x44f)]({'options':{..._0x325d99,..._0x80e17a},'args':_0x4f6e33,'tdx':_0x4ba314});gracefulExit(_0x425a02);}),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x3bd))['description'](a2_0x37aff4(0x2ba))['option']('--clear','Clear\x20session\x20context')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1cc),a2_0x37aff4(0x3ec))[a2_0x37aff4(0x43c)](async(_0xb12ecf,_0x2d151a,_0x5a38f7)=>{const _0x427e15=a2_0x37aff4,_0x45088c=new UseCommand(),_0x19b93a=program['opts'](),_0x81d148=[];if(_0xb12ecf)_0x81d148['push'](_0xb12ecf);if(_0x2d151a)_0x81d148['push'](_0x2d151a);const _0x30eea0=_0xb12ecf===_0x427e15(0x28a),_0x38d6de=_0x30eea0?await createTDXInstance(_0x19b93a):null,_0x4500e1=await _0x45088c[_0x427e15(0x44f)]({'options':{..._0x19b93a,..._0x5a38f7},'args':_0x81d148,'tdx':_0x38d6de});gracefulExit(_0x4500e1);}),program[a2_0x37aff4(0x479)]('status')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x356))['action'](async _0x3ee63c=>{const _0x125bea=a2_0x37aff4,_0x52c155=new StatusCommand(),_0x21f19c=program['opts'](),_0x3a972a=await createTDXInstance(_0x21f19c),_0xa9138=await _0x52c155[_0x125bea(0x44f)]({'options':{..._0x21f19c,..._0x3ee63c},'args':[],'tdx':_0x3a972a});gracefulExit(_0xa9138);}),program['command'](a2_0x37aff4(0x309))[a2_0x37aff4(0x2c0)]('Upgrade\x20tdx\x20to\x20the\x20latest\x20version')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x18e))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x184),'Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')['option'](a2_0x37aff4(0x16e),'Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)')[a2_0x37aff4(0x43c)](async(_0x5f0f2b,_0x2e4fba)=>{const _0x522356=a2_0x37aff4,_0x92ce0=new UpgradeCommand(),_0x446a9b=program[_0x522356(0x2cc)](),_0x2f4332=await _0x92ce0[_0x522356(0x44f)]({'options':{..._0x446a9b,..._0x2e4fba},'args':_0x5f0f2b?[_0x5f0f2b]:[],'tdx':null});gracefulExit(_0x2f4332);}),program[a2_0x37aff4(0x479)]('unset\x20<resource>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x26a))['option'](a2_0x37aff4(0x1cc),a2_0x37aff4(0x1c8))[a2_0x37aff4(0x43c)](async(_0x2234f2,_0x4c09b3)=>{const _0x40ee51=a2_0x37aff4,_0x23b463=new UnsetCommand(),_0xed57e6=program[_0x40ee51(0x2cc)](),_0x356409=await _0x23b463['run']({'options':{..._0xed57e6,..._0x4c09b3},'args':[_0x2234f2],'tdx':null});gracefulExit(_0x356409);}),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x399))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1e8))[a2_0x37aff4(0x3c2)]('--last',a2_0x37aff4(0x482))[a2_0x37aff4(0x43c)](async _0x56a5a7=>{const _0x1ee75b=a2_0x37aff4,_0x3afce7=new ChatsCommand(),_0x22bd00=program[_0x1ee75b(0x2cc)](),_0x199d19=await createTDXInstance(_0x22bd00),_0x381ef3=await _0x3afce7[_0x1ee75b(0x44f)]({'options':{..._0x22bd00,..._0x56a5a7},'args':[],'tdx':_0x199d19});gracefulExit(_0x381ef3);});const authCmd=program[a2_0x37aff4(0x479)](a2_0x37aff4(0x3e9))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x18c));async function runAuthStatusCommand(_0xd35bf4){const _0xf5b6b3=a2_0x37aff4,_0x5a3cd5=new AuthStatusCommand(),_0x8038f6=program['opts'](),_0x5db3bc=await createTDXInstance(_0x8038f6),_0x4e252e=await _0x5a3cd5[_0xf5b6b3(0x44f)]({'options':{..._0x8038f6,..._0xd35bf4},'args':[],'tdx':_0x5db3bc});gracefulExit(_0x4e252e);}authCmd[a2_0x37aff4(0x43c)](runAuthStatusCommand),authCmd[a2_0x37aff4(0x479)]('status')['description'](a2_0x37aff4(0x256))[a2_0x37aff4(0x43c)](runAuthStatusCommand);async function authSetupAction(_0x5adbd0){const _0x542fcd=a2_0x37aff4,_0x1ff59e=new AuthSetupCommand(),_0x379262=program[_0x542fcd(0x2cc)](),_0xabfc60=await createTDXInstance(_0x379262),_0x2d9a87=await _0x1ff59e['run']({'options':{..._0x379262,..._0x5adbd0},'args':[],'tdx':_0xabfc60});gracefulExit(_0x2d9a87);}authCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x30a))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x15e))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a4),a2_0x37aff4(0x171))[a2_0x37aff4(0x289)]('after',a2_0x37aff4(0x264))[a2_0x37aff4(0x43c)](authSetupAction),authCmd[a2_0x37aff4(0x479)]('login',{'hidden':!![]})[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a4),a2_0x37aff4(0x171))['action'](authSetupAction),authCmd['command'](a2_0x37aff4(0x308))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x18a))[a2_0x37aff4(0x289)](a2_0x37aff4(0x31b),'\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a')['action'](async _0x4b9a6c=>{const _0x3b9129=new AuthClearCommand(),_0x5a5055=program['opts'](),_0x2b8384=await _0x3b9129['run']({'options':{..._0x5a5055,..._0x4b9a6c},'args':[],'tdx':null});gracefulExit(_0x2b8384);});const userCmd=program[a2_0x37aff4(0x479)]('user')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1f5)),userListAction=async _0x395ab0=>{const _0x42d2bd=a2_0x37aff4,_0x2559cc=new UserListCommand(),_0x3da07f=program[_0x42d2bd(0x2cc)](),_0x5901b1=await createTDXInstance(_0x3da07f),_0x52848d=await _0x2559cc[_0x42d2bd(0x44f)]({'options':{..._0x3da07f,..._0x395ab0},'args':[],'tdx':_0x5901b1});gracefulExit(_0x52848d);};userCmd[a2_0x37aff4(0x43c)](async _0x117fe2=>{const _0x5dbb07=a2_0x37aff4,_0xe1a12f=new UserCommand(),_0x5a7b88=program[_0x5dbb07(0x2cc)](),_0x396d85=await createTDXInstance(_0x5a7b88),_0x504360=await _0xe1a12f[_0x5dbb07(0x44f)]({'options':{..._0x5a7b88,..._0x117fe2},'args':[],'tdx':_0x396d85});gracefulExit(_0x504360);}),userCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x35a))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x191))[a2_0x37aff4(0x43c)](userListAction),program['command'](a2_0x37aff4(0x25b))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x44b))['action'](userListAction);const policyCmd=program[a2_0x37aff4(0x479)]('policy')[a2_0x37aff4(0x2c0)]('Access\x20control\x20policy\x20commands');policyCmd['action'](async _0x2638f7=>{const _0xf76131=a2_0x37aff4,_0x574969=new PolicyCommand(),_0x2161fe=program['opts'](),_0x909383=await createTDXInstance(_0x2161fe),_0x561dcd=await _0x574969[_0xf76131(0x44f)]({'options':{..._0x2161fe,..._0x2638f7},'args':[],'tdx':_0x909383});gracefulExit(_0x561dcd);}),policyCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x35a))[a2_0x37aff4(0x2c0)]('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')[a2_0x37aff4(0x43c)](async _0x13edca=>{const _0x465023=a2_0x37aff4,_0x2901c1=new PolicyListCommand(),_0x5f583c=program[_0x465023(0x2cc)](),_0x53a0d5=await createTDXInstance(_0x5f583c),_0x39daf9=await _0x2901c1[_0x465023(0x44f)]({'options':{..._0x5f583c,..._0x13edca},'args':[],'tdx':_0x53a0d5});gracefulExit(_0x39daf9);}),policyCmd[a2_0x37aff4(0x479)]('show\x20<policy>')['description'](a2_0x37aff4(0x178))[a2_0x37aff4(0x43c)](async(_0xda2efd,_0x2057d6)=>{const _0x10de9a=a2_0x37aff4,_0x5eb370=new PolicyShowCommand(),_0x3c2ef2=program[_0x10de9a(0x2cc)](),_0x3e6d1c=await createTDXInstance(_0x3c2ef2),_0x5e15d2=await _0x5eb370[_0x10de9a(0x44f)]({'options':{..._0x3c2ef2,..._0x2057d6},'args':[_0xda2efd],'tdx':_0x3e6d1c});gracefulExit(_0x5e15d2);}),program['command'](a2_0x37aff4(0x39e))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3c0))[a2_0x37aff4(0x43c)](async _0x2b1517=>{const _0x5591d3=a2_0x37aff4,_0x31bf91=new ProfilesCommand(),_0xe6198f=program[_0x5591d3(0x2cc)](),_0x4e26e8=await _0x31bf91[_0x5591d3(0x44f)]({'options':{..._0xe6198f,..._0x2b1517},'args':[],'tdx':null});gracefulExit(_0x4e26e8);});const profileCmd=program[a2_0x37aff4(0x479)]('profile')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2a6));profileCmd['action'](()=>{const _0x32a822=a2_0x37aff4;profileCmd[_0x32a822(0x237)]();});const profileListAction=async _0x457744=>{const _0x153b09=a2_0x37aff4,_0x4a2500=new ProfilesCommand(),_0x2050fa=program['opts'](),_0x1ff186=await _0x4a2500[_0x153b09(0x44f)]({'options':{..._0x2050fa,..._0x457744},'args':[],'tdx':null});gracefulExit(_0x1ff186);};profileCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x35a))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3c0))[a2_0x37aff4(0x43c)](profileListAction),profileCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x15b))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x456))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a4),a2_0x37aff4(0x171))[a2_0x37aff4(0x3c2)]('-f,\x20--force',a2_0x37aff4(0x1af))[a2_0x37aff4(0x289)](a2_0x37aff4(0x31b),a2_0x37aff4(0x1ea))[a2_0x37aff4(0x43c)](async(_0x12a472,_0x4a1c63)=>{const _0xaf7b71=a2_0x37aff4,_0x237e8b=new ProfileCreateCommand(),_0x32376b=program[_0xaf7b71(0x2cc)](),_0x4b62b4=await _0x237e8b['run']({'options':{..._0x32376b,..._0x4a1c63},'args':_0x12a472?[_0x12a472]:[],'tdx':null});gracefulExit(_0x4b62b4);});async function profileDeleteAction(_0x145252,_0x57465f){const _0x4ecdc3=a2_0x37aff4,_0x104011=new ProfileDeleteCommand(),_0x12d75a=program['opts'](),_0x953ae3=await _0x104011[_0x4ecdc3(0x44f)]({'options':{..._0x12d75a,..._0x57465f},'args':[_0x145252],'tdx':null});gracefulExit(_0x953ae3);}profileCmd['command']('delete\x20<name>')['description'](a2_0x37aff4(0x28b))[a2_0x37aff4(0x289)](a2_0x37aff4(0x31b),a2_0x37aff4(0x3d7))['action'](profileDeleteAction),profileCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x3cb),{'hidden':!![]})[a2_0x37aff4(0x43c)](profileDeleteAction),profileCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x27a))[a2_0x37aff4(0x2c0)]('Set\x20a\x20profile\x20configuration\x20value')['addHelpText'](a2_0x37aff4(0x31b),'\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')['action'](async(_0xec9400,_0x303cd0)=>{const _0x221655=a2_0x37aff4,_0x29b4f5=new ProfileSetCommand(),_0x9529fd=program[_0x221655(0x2cc)](),_0x1a5ff8=await _0x29b4f5['run']({'options':{..._0x9529fd,..._0x303cd0},'args':[_0xec9400],'tdx':null});gracefulExit(_0x1a5ff8);}),profileCmd['command']('use\x20<name>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x414))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1cc),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x37aff4(0x289)](a2_0x37aff4(0x31b),a2_0x37aff4(0x20e))[a2_0x37aff4(0x43c)](async(_0x5b052f,_0x1af924)=>{const _0x19bb48=a2_0x37aff4,_0x547bb2=new ProfileUseCommand(),_0x557045=program['opts'](),_0x584c7f=await _0x547bb2[_0x19bb48(0x44f)]({'options':{..._0x557045,..._0x1af924},'args':[_0x5b052f],'tdx':null});gracefulExit(_0x584c7f);});const engageCmd=program[a2_0x37aff4(0x479)]('engage')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x351)),createEngageAction=_0x43055e=>{return async(_0x60896a,_0x4bec77)=>{const _0x2515cb=a2_0x150a,_0x11898d=new _0x43055e(),_0x41cced=program[_0x2515cb(0x2cc)](),_0x4c2852=await createTDXInstance(_0x41cced),_0x1baf0d=await _0x11898d[_0x2515cb(0x44f)]({'options':{..._0x41cced,..._0x4bec77},'args':[_0x60896a],'tdx':_0x4c2852});gracefulExit(_0x1baf0d);};},createEngageNoArgAction=_0x187ee9=>{return async _0x289c79=>{const _0x13d645=a2_0x150a,_0x1167f0=new _0x187ee9(),_0x39d0e1=program[_0x13d645(0x2cc)](),_0x4d9cff=await createTDXInstance(_0x39d0e1),_0x214412=await _0x1167f0[_0x13d645(0x44f)]({'options':{..._0x39d0e1,..._0x289c79},'args':[],'tdx':_0x4d9cff});gracefulExit(_0x214412);};},createEngageListAction=_0x9190eb=>{return async(_0x3fb055,_0x1e2f65)=>{const _0x5cbaea=a2_0x150a,_0x2628f8=new _0x9190eb(),_0x144255=program[_0x5cbaea(0x2cc)](),_0x4d62e5=await createTDXInstance(_0x144255),_0x1d3507=await _0x2628f8[_0x5cbaea(0x44f)]({'options':{..._0x144255,..._0x1e2f65},'args':_0x3fb055?[_0x3fb055]:[],'tdx':_0x4d62e5});gracefulExit(_0x1d3507);};},campaignCmd=engageCmd['command']('campaign')['description'](a2_0x37aff4(0x381));campaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1d7))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x23f),a2_0x37aff4(0x44e))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x27c),a2_0x37aff4(0x192))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))[a2_0x37aff4(0x43c)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x37b))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x350))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x23f),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x37aff4(0x3c2)]('--status\x20<status>',a2_0x37aff4(0x192))[a2_0x37aff4(0x3c2)]('--workspace\x20<name>',a2_0x37aff4(0x485))[a2_0x37aff4(0x43c)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2d6))['description'](a2_0x37aff4(0x285))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))[a2_0x37aff4(0x3c2)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x37aff4(0x43c)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1d0))[a2_0x37aff4(0x2c0)]('Create\x20a\x20new\x20campaign')[a2_0x37aff4(0x418)]('--name\x20<name>',a2_0x37aff4(0x30c))[a2_0x37aff4(0x418)](a2_0x37aff4(0x23f),a2_0x37aff4(0x176))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))[a2_0x37aff4(0x3c2)]('--description\x20<desc>','Campaign\x20description')['option']('--segment\x20<path>',a2_0x37aff4(0x42f))['option'](a2_0x37aff4(0x248),a2_0x37aff4(0x3b4))[a2_0x37aff4(0x3c2)]('--json-columns\x20<cols>',a2_0x37aff4(0x159))[a2_0x37aff4(0x3c2)]('--start-at\x20<datetime>',a2_0x37aff4(0x477))['option'](a2_0x37aff4(0x4a3),a2_0x37aff4(0x2dc))[a2_0x37aff4(0x43c)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x37aff4(0x445))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x25c))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))['option'](a2_0x37aff4(0x452),a2_0x37aff4(0x1ab))['option'](a2_0x37aff4(0x209),a2_0x37aff4(0x425))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x297),a2_0x37aff4(0x42f))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x248),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x37aff4(0x3c2)]('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x343),a2_0x37aff4(0x477))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a3),a2_0x37aff4(0x2dc))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x37aff4(0x38e))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x193))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),'Workspace\x20name')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x26f),a2_0x37aff4(0x16b))[a2_0x37aff4(0x43c)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x37aff4(0x479)]('launch\x20<name-or-id>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x32a))['option'](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))[a2_0x37aff4(0x43c)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command']('pause\x20<name-or-id>')[a2_0x37aff4(0x2c0)]('Pause\x20a\x20campaign')[a2_0x37aff4(0x3c2)]('--workspace\x20<name>','Workspace\x20name')[a2_0x37aff4(0x43c)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x342))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x284))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))[a2_0x37aff4(0x43c)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x37aff4(0x1be))['description'](a2_0x37aff4(0x3c5))['option'](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))[a2_0x37aff4(0x43c)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x231))[a2_0x37aff4(0x2c0)]('Pull\x20campaigns\x20to\x20YAML\x20files')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),'Workspace\x20name')['option']('--name\x20<name>','Pull\x20specific\x20campaign\x20by\x20name')['option']('--type\x20<type>',a2_0x37aff4(0x44e))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x37d))[a2_0x37aff4(0x43c)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x229))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2df))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),'Workspace\x20name')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x306))[a2_0x37aff4(0x43c)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x37aff4(0x479)]('validate\x20[target]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x48e))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x323),a2_0x37aff4(0x33b))[a2_0x37aff4(0x43c)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x37aff4(0x3a7))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2e0));alwaysOnCampaignCmd[a2_0x37aff4(0x479)]('list\x20[pattern]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x497))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x23f),a2_0x37aff4(0x44e))[a2_0x37aff4(0x3c2)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x37aff4(0x418)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))[a2_0x37aff4(0x43c)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command']('always-on-campaigns\x20[pattern]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x427))['option']('--type\x20<type>',a2_0x37aff4(0x44e))['option'](a2_0x37aff4(0x27c),a2_0x37aff4(0x37e))[a2_0x37aff4(0x418)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))[a2_0x37aff4(0x43c)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2d6))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x160))[a2_0x37aff4(0x418)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x48a),a2_0x37aff4(0x486))[a2_0x37aff4(0x43c)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1d0))[a2_0x37aff4(0x2c0)]('Create\x20a\x20new\x20always-on\x20campaign')[a2_0x37aff4(0x418)](a2_0x37aff4(0x452),a2_0x37aff4(0x30c))[a2_0x37aff4(0x418)]('--type\x20<type>',a2_0x37aff4(0x176))[a2_0x37aff4(0x418)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))['option'](a2_0x37aff4(0x209),'Campaign\x20description')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x297),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x37aff4(0x3c2)]('--enable-utm-tracking',a2_0x37aff4(0x1c3))[a2_0x37aff4(0x43c)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x37aff4(0x445))['description']('Update\x20an\x20always-on\x20campaign')[a2_0x37aff4(0x418)]('--workspace\x20<name>',a2_0x37aff4(0x29f))['option'](a2_0x37aff4(0x452),a2_0x37aff4(0x1ab))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x209),'Campaign\x20description')['option'](a2_0x37aff4(0x297),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x47d),'Enable\x20UTM\x20tracking')[a2_0x37aff4(0x43c)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x38e))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1c4))[a2_0x37aff4(0x418)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))['option'](a2_0x37aff4(0x26f),'Skip\x20confirmation\x20prompt')[a2_0x37aff4(0x43c)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x203))[a2_0x37aff4(0x2c0)]('Launch\x20an\x20always-on\x20campaign')[a2_0x37aff4(0x418)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))[a2_0x37aff4(0x43c)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x37aff4(0x479)]('pause\x20<name-or-id>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x332))[a2_0x37aff4(0x418)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))['action'](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x342))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x164))['requiredOption'](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))[a2_0x37aff4(0x43c)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x40c))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1a8))[a2_0x37aff4(0x418)]('--workspace\x20<name>',a2_0x37aff4(0x29f))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x26f),a2_0x37aff4(0x16b))[a2_0x37aff4(0x43c)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x37aff4(0x1be))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x40a))[a2_0x37aff4(0x418)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x29f))[a2_0x37aff4(0x418)]('--name\x20<name>',a2_0x37aff4(0x2f9))[a2_0x37aff4(0x43c)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x37aff4(0x479)]('template')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x239));templateCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1bc))[a2_0x37aff4(0x3c2)]('--workspace\x20<name>',a2_0x37aff4(0x485))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x49a))[a2_0x37aff4(0x2c0)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))[a2_0x37aff4(0x43c)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2d6))['description']('Show\x20email\x20template\x20details')['option']('--workspace\x20<name>',a2_0x37aff4(0x485))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x48a),a2_0x37aff4(0x486))[a2_0x37aff4(0x43c)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x37aff4(0x479)]('create')[a2_0x37aff4(0x2c0)]('Create\x20an\x20email\x20template')[a2_0x37aff4(0x418)](a2_0x37aff4(0x452),a2_0x37aff4(0x1cf))[a2_0x37aff4(0x418)](a2_0x37aff4(0x372),'Email\x20subject\x20template')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x266),'HTML\x20template\x20content')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x34d),a2_0x37aff4(0x219))[a2_0x37aff4(0x3c2)]('--workspace\x20<name>',a2_0x37aff4(0x29f))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x40d),'Plaintext\x20template\x20content')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1eb),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x331934=>{const _0x3a879c=a2_0x37aff4;if(![_0x3a879c(0x281),_0x3a879c(0x17e)][_0x3a879c(0x3eb)](_0x331934))throw new SDKError(ErrorCode[_0x3a879c(0x428)],_0x3a879c(0x412)+_0x331934+_0x3a879c(0x2f2));return _0x331934;})[a2_0x37aff4(0x43c)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x445))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x4b0))['option'](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))['option'](a2_0x37aff4(0x452),a2_0x37aff4(0x337))['option']('--subject\x20<subject>','Email\x20subject\x20template')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x266),'HTML\x20template\x20content')['option']('--html-file\x20<path>','Read\x20HTML\x20template\x20from\x20file')['option'](a2_0x37aff4(0x40d),a2_0x37aff4(0x43f))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x371))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2b1))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),'Workspace\x20name')[a2_0x37aff4(0x3c2)]('--name\x20<name>',a2_0x37aff4(0x444))[a2_0x37aff4(0x3c2)]('-y,\x20--yes',a2_0x37aff4(0x16b))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x229))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x246))['option'](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))['option'](a2_0x37aff4(0x1c7),'Skip\x20confirmation\x20prompt')['option'](a2_0x37aff4(0x4af),a2_0x37aff4(0x306))['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x34e))[a2_0x37aff4(0x2c0)]('Validate\x20template\x20YAML\x20files\x20locally')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x323),'Show\x20all\x20files\x20including\x20valid\x20ones')['action'](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x38e))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x375))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),'Workspace\x20name')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x26f),a2_0x37aff4(0x16b))[a2_0x37aff4(0x43c)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command']('workspace')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x32b));workspaceCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x319))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x37aff4(0x479)]('workspaces\x20[pattern]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x25d))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2d6))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x41a))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x48a),a2_0x37aff4(0x486))[a2_0x37aff4(0x43c)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1d0))[a2_0x37aff4(0x2c0)]('Create\x20a\x20workspace')[a2_0x37aff4(0x418)](a2_0x37aff4(0x452),a2_0x37aff4(0x485))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x209),a2_0x37aff4(0x3f7))[a2_0x37aff4(0x43c)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x37aff4(0x445))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x303))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x452),'New\x20workspace\x20name')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x209),a2_0x37aff4(0x3f7))[a2_0x37aff4(0x43c)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x37aff4(0x479)]('delete\x20<name-or-id>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x230))['option'](a2_0x37aff4(0x26f),a2_0x37aff4(0x16b))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x37aff4(0x479)]('use\x20<name>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x355))['action'](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x215))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x163));lineSenderAccountCmd['command'](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x17a))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))[a2_0x37aff4(0x43c)](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2d6))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x37c))['option'](a2_0x37aff4(0x4a2),a2_0x37aff4(0x485))[a2_0x37aff4(0x43c)](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x3bf))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x464));lineImagemapImageCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1f3))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x400))[a2_0x37aff4(0x43c)](createEngageAction(EngageLineImagemapImageUploadCommand));const engageMediaCmd=engageCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x234))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1fc));engageMediaCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x420))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x45b))[a2_0x37aff4(0x43c)](createEngageAction(EngageMediaLsCommand)),engageMediaCmd['command']('upload\x20<file>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2bd))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1dc),a2_0x37aff4(0x25f))['option']('--conflict\x20<strategy>',a2_0x37aff4(0x488))[a2_0x37aff4(0x43c)](createEngageAction(EngageMediaUploadCommand)),engageMediaCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x329))['description']('Create\x20a\x20directory\x20in\x20Engage\x20DAM')[a2_0x37aff4(0x43c)](createEngageAction(EngageMediaMkdirCommand)),engageMediaCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2d9))['description'](a2_0x37aff4(0x403))[a2_0x37aff4(0x43c)](createEngageAction(EngageMediaRmCommand)),engageMediaCmd[a2_0x37aff4(0x479)]('rmdir\x20<path>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2d2))[a2_0x37aff4(0x43c)](createEngageAction(EngageMediaRmdirCommand));const deliveryCmd=program[a2_0x37aff4(0x479)](a2_0x37aff4(0x358))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3e4));deliveryCmd['command'](a2_0x37aff4(0x257))['description'](a2_0x37aff4(0x3f4))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a2),'Workspace\x20name')[a2_0x37aff4(0x43c)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x37aff4(0x479)](a2_0x37aff4(0x210))[a2_0x37aff4(0x2c0)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x4ccedd=>{const _0x3a6558=a2_0x37aff4,_0x3a5a69=new ConnectionListCommand(),_0x5d4018=program['opts'](),_0x1810d5=await createTDXInstance(_0x5d4018),_0x5c0478=await _0x3a5a69[_0x3a6558(0x44f)]({'options':{..._0x5d4018,..._0x4ccedd},'args':[],'tdx':_0x1810d5});gracefulExit(_0x5c0478);};connectionCmd['command']('list')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x360))['action'](connectionListAction),program[a2_0x37aff4(0x479)]('connections',{'hidden':!![]})[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1ad))['action'](connectionListAction),connectionCmd['command'](a2_0x37aff4(0x2db))['description'](a2_0x37aff4(0x3c4))[a2_0x37aff4(0x43c)](async(_0x4b99b5,_0x521536)=>{const _0x1af488=a2_0x37aff4,_0x1b76da=new ConnectionShowCommand(),_0x5c4427=program[_0x1af488(0x2cc)](),_0x585669=await createTDXInstance(_0x5c4427),_0x377a77=await _0x1b76da[_0x1af488(0x44f)]({'options':{..._0x5c4427,..._0x521536},'args':[_0x4b99b5],'tdx':_0x585669});gracefulExit(_0x377a77);}),connectionCmd[a2_0x37aff4(0x479)]('schema\x20<type>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3e0))[a2_0x37aff4(0x43c)](async(_0x3e5ee3,_0x200f42)=>{const _0x9ee7e=new ConnectionSchemaCommand(),_0x3ea925=program['opts'](),_0x48fd57=await createTDXInstance(_0x3ea925),_0x351151=await _0x9ee7e['run']({'options':{..._0x3ea925,..._0x200f42},'args':[_0x3e5ee3],'tdx':_0x48fd57});gracefulExit(_0x351151);}),connectionCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2d1))['description']('List\x20available\x20connector\x20types')[a2_0x37aff4(0x43c)](async _0x3d7354=>{const _0x58447a=a2_0x37aff4,_0x1df234=new ConnectionTypesCommand(),_0xadd9cf=program[_0x58447a(0x2cc)](),_0xa01510=await createTDXInstance(_0xadd9cf),_0x3cbe54=await _0x1df234[_0x58447a(0x44f)]({'options':{..._0xadd9cf,..._0x3d7354},'args':[],'tdx':_0xa01510});gracefulExit(_0x3cbe54);}),connectionCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x475))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x26d))[a2_0x37aff4(0x43c)](async(_0x2592a1,_0x2b4119)=>{const _0xb6ab3b=a2_0x37aff4,_0x2590d8=new ConnectionSettingsCommand(),_0x435e5a=program[_0xb6ab3b(0x2cc)](),_0x155f8f=await createTDXInstance(_0x435e5a),_0x391250=await _0x2590d8['run']({'options':{..._0x435e5a,..._0x2b4119},'args':[_0x2592a1],'tdx':_0x155f8f});gracefulExit(_0x391250);});const casCmd=program['command'](a2_0x37aff4(0x2e1))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2b0));casCmd[a2_0x37aff4(0x479)]('list')['description']('List\x20composable\x20audiences')['action'](async _0xcef4d1=>{const _0x5356d1=a2_0x37aff4,_0x199055=new CASListCommand(),_0x12e8e6=program[_0x5356d1(0x2cc)](),_0xa53fec=await createTDXInstance(_0x12e8e6),_0x274d91=await _0x199055['run']({'options':{..._0x12e8e6,..._0xcef4d1},'args':[],'tdx':_0xa53fec});gracefulExit(_0x274d91);}),casCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x47f))[a2_0x37aff4(0x2c0)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x37aff4(0x43c)](async(_0x289180,_0x2ae59b)=>{const _0x2d23ff=a2_0x37aff4,_0x46ef1e=new CASDescCommand(),_0x503453=program[_0x2d23ff(0x2cc)](),_0x48b51f=await createTDXInstance(_0x503453),_0x385f5c=await _0x46ef1e['run']({'options':{..._0x503453,..._0x2ae59b},'args':_0x289180?[_0x289180]:[],'tdx':_0x48b51f});gracefulExit(_0x385f5c);}),casCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x3c1))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x28e))[a2_0x37aff4(0x3c2)]('--dir\x20<dir>',a2_0x37aff4(0x39a))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x480))[a2_0x37aff4(0x43c)](async(_0x25e0b5,_0xb7afc2)=>{const _0x443ae5=a2_0x37aff4,_0x144bac=new CASPullCommand(),_0x1ffcda=program[_0x443ae5(0x2cc)](),_0x4db86a=await createTDXInstance(_0x1ffcda),_0x15dd2a=await _0x144bac[_0x443ae5(0x44f)]({'options':{..._0x1ffcda,..._0xb7afc2},'args':_0x25e0b5?[_0x25e0b5]:[],'tdx':_0x4db86a});gracefulExit(_0x15dd2a);}),casCmd['command'](a2_0x37aff4(0x229))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2e2))['option'](a2_0x37aff4(0x4af),a2_0x37aff4(0x450))[a2_0x37aff4(0x43c)](async(_0x59d417,_0x2d1dc6)=>{const _0x4ea223=a2_0x37aff4,_0x299846=new CASPushCommand(),_0x43acda=program['opts'](),_0xf630c4=await createTDXInstance(_0x43acda),_0x41feea=await _0x299846[_0x4ea223(0x44f)]({'options':{..._0x43acda,..._0x2d1dc6},'args':_0x59d417?[_0x59d417]:[],'tdx':_0xf630c4});gracefulExit(_0x41feea);}),casCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x15c))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3f3))[a2_0x37aff4(0x3c2)]('--audience\x20<name>','Composable\x20audience\x20name')[a2_0x37aff4(0x43c)](async(_0x574846,_0x531711)=>{const _0x5db5b3=a2_0x37aff4,_0xc87633=new CASPreviewCommand(),_0x2e547a=program[_0x5db5b3(0x2cc)](),_0x4db76c=await createTDXInstance(_0x2e547a),_0x689d8a=await _0xc87633[_0x5db5b3(0x44f)]({'options':{..._0x2e547a,..._0x531711},'args':[_0x574846,_0x531711[_0x5db5b3(0x362)]],'tdx':_0x4db76c});gracefulExit(_0x689d8a);});const casSgCmd=casCmd[a2_0x37aff4(0x479)]('sg')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x206));casSgCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2eb))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x40f))[a2_0x37aff4(0x43c)](async(_0x4161fe,_0x3e6ea7)=>{const _0x5270ea=a2_0x37aff4,_0x68475a=new CASSegmentListCommand(),_0x547570=program[_0x5270ea(0x2cc)](),_0x277e1c=await createTDXInstance(_0x547570),_0x592bad=await _0x68475a[_0x5270ea(0x44f)]({'options':{..._0x547570,..._0x3e6ea7},'args':_0x4161fe?[_0x4161fe]:[],'tdx':_0x277e1c});gracefulExit(_0x592bad);});const journeyCmd=program[a2_0x37aff4(0x479)](a2_0x37aff4(0x302))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3aa)),journeyListAction=async(_0x4054ea,_0x2f0f4a)=>{const _0x4a3bce=a2_0x37aff4,_0x4d2bdb=new JourneyListCommand(),_0x5f196b=program[_0x4a3bce(0x2cc)](),_0x256b55=await createTDXInstance(_0x5f196b),_0x228935=await _0x4d2bdb['run']({'options':{..._0x5f196b,..._0x2f0f4a},'args':_0x4054ea?[_0x4054ea]:[],'tdx':_0x256b55});gracefulExit(_0x228935);};journeyCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x1ce))['description'](a2_0x37aff4(0x279))['action'](journeyListAction),journeyCmd['command'](a2_0x37aff4(0x227))[a2_0x37aff4(0x2c0)]('Show\x20journey\x20details')['option'](a2_0x37aff4(0x348),a2_0x37aff4(0x286))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x16c),'Include\x20execution\x20statistics')[a2_0x37aff4(0x43c)](async(_0x3f2229,_0x5e32c7)=>{const _0x4ed129=a2_0x37aff4,_0x28622e=new JourneyViewCommand(),_0x316d4e=program[_0x4ed129(0x2cc)](),_0x31828d=await createTDXInstance(_0x316d4e),_0x179cec=await _0x28622e[_0x4ed129(0x44f)]({'options':{..._0x316d4e,..._0x5e32c7},'args':[_0x3f2229],'tdx':_0x31828d});gracefulExit(_0x179cec);}),journeyCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x190))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x318))[a2_0x37aff4(0x3c2)]('--stage\x20<name>','Show\x20stats\x20for\x20specific\x20stage')['option'](a2_0x37aff4(0x278),a2_0x37aff4(0x201))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a9),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x324),a2_0x37aff4(0x294))['action'](async(_0x244ac3,_0x20b317)=>{const _0x3457a8=a2_0x37aff4,_0x30bb31=new JourneyStatsCommand(),_0x384d68=program[_0x3457a8(0x2cc)](),_0x177acb=await createTDXInstance(_0x384d68),_0x355ea1=await _0x30bb31[_0x3457a8(0x44f)]({'options':{..._0x384d68,..._0x20b317},'args':[_0x244ac3],'tdx':_0x177acb});gracefulExit(_0x355ea1);}),journeyCmd['command'](a2_0x37aff4(0x277))['description']('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')[a2_0x37aff4(0x3c2)]('--type\x20<type>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')[a2_0x37aff4(0x3c2)]('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4a9),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option'](a2_0x37aff4(0x481),a2_0x37aff4(0x29c),_0x489e4e=>{const _0x19b339=parseInt(_0x489e4e,0xa);if(isNaN(_0x19b339))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x489e4e+'\x22.\x20Must\x20be\x20a\x20number.');return _0x19b339;})['action'](async(_0x6bde9d,_0xfad31)=>{const _0x569682=a2_0x37aff4,_0x29717d=new JourneyTrafficCommand(),_0x5baa48=program[_0x569682(0x2cc)](),_0x50037b=await createTDXInstance(_0x5baa48),_0x24ad21=await _0x29717d[_0x569682(0x44f)]({'options':{..._0x5baa48,..._0xfad31},'args':[_0x6bde9d],'tdx':_0x50037b});gracefulExit(_0x24ad21);}),journeyCmd[a2_0x37aff4(0x479)]('pause\x20<name-or-path>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x46c))[a2_0x37aff4(0x43c)](async(_0x207785,_0x43b0f9)=>{const _0x37dd9f=a2_0x37aff4,_0x5224ce=new JourneyPauseCommand(),_0x4d399e=program['opts'](),_0xafd513=await createTDXInstance(_0x4d399e),_0x50d5f9=await _0x5224ce[_0x37dd9f(0x44f)]({'options':{..._0x4d399e,..._0x43b0f9},'args':[_0x207785],'tdx':_0xafd513});gracefulExit(_0x50d5f9);}),journeyCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x49c))['description'](a2_0x37aff4(0x353))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x1d9))[a2_0x37aff4(0x43c)](async(_0x330cb6,_0x32dac9)=>{const _0x39b7f7=a2_0x37aff4,_0x47e425=new JourneyRunCommand(),_0x7ebe26=program[_0x39b7f7(0x2cc)](),_0x505187=await createTDXInstance(_0x7ebe26),_0x18c8f9=await _0x47e425[_0x39b7f7(0x44f)]({'options':{..._0x7ebe26,..._0x32dac9},'args':[_0x330cb6],'tdx':_0x505187});gracefulExit(_0x18c8f9);}),journeyCmd['command']('resume\x20<name-or-path>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x30f))['option'](a2_0x37aff4(0x4af),'Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20resuming')[a2_0x37aff4(0x43c)](async(_0x258158,_0x1906b4)=>{const _0x19a025=a2_0x37aff4,_0x2ca271=new JourneyResumeCommand(),_0x2148d8=program[_0x19a025(0x2cc)](),_0x4813f2=await createTDXInstance(_0x2148d8),_0x112025=await _0x2ca271[_0x19a025(0x44f)]({'options':{..._0x2148d8,..._0x1906b4},'args':[_0x258158],'tdx':_0x4813f2});gracefulExit(_0x112025);}),journeyCmd[a2_0x37aff4(0x479)]('pull\x20[name]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1f2))['option'](a2_0x37aff4(0x4af),a2_0x37aff4(0x480))[a2_0x37aff4(0x43c)](async(_0x23ad56,_0x394657)=>{const _0x21e055=new JourneyPullCommand(),_0x5e78ad=program['opts'](),_0x493ce1=await createTDXInstance(_0x5e78ad),_0x310684=await _0x21e055['run']({'options':{..._0x5e78ad,..._0x394657},'args':_0x23ad56?[_0x23ad56]:[],'tdx':_0x493ce1});gracefulExit(_0x310684);}),journeyCmd[a2_0x37aff4(0x479)]('push\x20[target]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x3f5))[a2_0x37aff4(0x43c)](async(_0x46c197,_0x33a4a0)=>{const _0x501693=a2_0x37aff4,_0x130938=new JourneyPushCommand(),_0x3abd74=program[_0x501693(0x2cc)](),_0x215038=await createTDXInstance(_0x3abd74),_0xf376a8=await _0x130938['run']({'options':{..._0x3abd74,..._0x33a4a0},'args':_0x46c197?[_0x46c197]:[],'tdx':_0x215038});gracefulExit(_0xf376a8);}),journeyCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x24d))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x1ae))[a2_0x37aff4(0x43c)](async(_0x5f4038,_0xf82f38)=>{const _0x64b645=a2_0x37aff4,_0x4cb46a=new JourneyColumnsCommand(),_0x49b390=program[_0x64b645(0x2cc)](),_0xb7a011=await createTDXInstance(_0x49b390),_0x4ad7c6=await _0x4cb46a['run']({'options':{..._0x49b390,..._0xf82f38},'args':[_0x5f4038],'tdx':_0xb7a011});gracefulExit(_0x4ad7c6);}),journeyCmd['command'](a2_0x37aff4(0x491))[a2_0x37aff4(0x2c0)]('List\x20activations\x20for\x20a\x20journey')['action'](async(_0x45f4a8,_0x837c2f)=>{const _0x289d40=a2_0x37aff4,_0x1d03ff=new JourneyActivationsCommand(),_0x1c3e72=program[_0x289d40(0x2cc)](),_0x4ce1b5=await createTDXInstance(_0x1c3e72),_0xd6dba8=await _0x1d03ff[_0x289d40(0x44f)]({'options':{..._0x1c3e72,..._0x837c2f},'args':[_0x45f4a8],'tdx':_0x4ce1b5});gracefulExit(_0xd6dba8);}),journeyCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x247))['description'](a2_0x37aff4(0x1ba))['action'](async(_0x1b0401,_0x147e5b)=>{const _0x1fa5b7=a2_0x37aff4,_0x3647ab=new JourneyVersionsCommand(),_0xb2f040=program['opts'](),_0x158856=await createTDXInstance(_0xb2f040),_0x2c95ac=await _0x3647ab[_0x1fa5b7(0x44f)]({'options':{..._0xb2f040,..._0x147e5b},'args':[_0x1b0401],'tdx':_0x158856});gracefulExit(_0x2c95ac);});const journeyVersionCmd=journeyCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x158))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x408));journeyVersionCmd['command'](a2_0x37aff4(0x44d))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x33d))[a2_0x37aff4(0x43c)](async(_0x5a7ffe,_0xad4966)=>{const _0x109aff=new JourneyVersionCreateCommand(),_0x154eb0=program['opts'](),_0x1d1a55=await createTDXInstance(_0x154eb0),_0x3e07c5=await _0x109aff['run']({'options':{..._0x154eb0,..._0xad4966},'args':[_0x5a7ffe],'tdx':_0x1d1a55});gracefulExit(_0x3e07c5);}),journeyVersionCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x227))['description'](a2_0x37aff4(0x368))[a2_0x37aff4(0x418)](a2_0x37aff4(0x39f),a2_0x37aff4(0x245))[a2_0x37aff4(0x43c)](async(_0x1034f7,_0x1f5b95)=>{const _0x256c00=a2_0x37aff4,_0x6d3286=new JourneyVersionViewCommand(),_0x236fb7=program[_0x256c00(0x2cc)](),_0xb9c1b2=await createTDXInstance(_0x236fb7),_0x461bc2=await _0x6d3286['run']({'options':{..._0x236fb7,..._0x1f5b95},'args':[_0x1034f7],'tdx':_0xb9c1b2});gracefulExit(_0x461bc2);}),journeyCmd[a2_0x37aff4(0x479)]('validate\x20[target]')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2cb))[a2_0x37aff4(0x43c)](async(_0x7d0fc4,_0x1b6f95)=>{const _0x2f0712=a2_0x37aff4,_0x469e13=new JourneyValidateCommand(),_0x5b90a9=program['opts'](),_0x2affee=await createTDXInstance(_0x5b90a9),_0x25af41=await _0x469e13[_0x2f0712(0x44f)]({'options':{..._0x5b90a9,..._0x1b6f95},'args':_0x7d0fc4?[_0x7d0fc4]:[],'tdx':_0x2affee});gracefulExit(_0x25af41);}),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x3db))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x196))[a2_0x37aff4(0x43c)](journeyListAction);const agentSyncCmd=program[a2_0x37aff4(0x479)](a2_0x37aff4(0x1da))['description']('LLM\x20agent\x20management');agentSyncCmd[a2_0x37aff4(0x479)]('pull\x20[project]\x20[agent-name]')[a2_0x37aff4(0x2c0)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x280),a2_0x37aff4(0x32f))['option'](a2_0x37aff4(0x28f),a2_0x37aff4(0x3cf))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3e5),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x37aff4(0x43c)](async(_0x19c642,_0x363d4c,_0x120519)=>{const _0x166e84=a2_0x37aff4,_0x2bda19=new AgentPullCommand(),_0x6920a5=program[_0x166e84(0x2cc)](),_0x1d3a9a=await createTDXInstance(_0x6920a5),_0x114122=[];if(_0x19c642)_0x114122[_0x166e84(0x1a9)](_0x19c642);if(_0x363d4c)_0x114122['push'](_0x363d4c);const _0x5c79b7=await _0x2bda19['run']({'options':{..._0x6920a5,..._0x120519},'args':_0x114122,'tdx':_0x1d3a9a});gracefulExit(_0x5c79b7);}),agentSyncCmd[a2_0x37aff4(0x479)]('push\x20[path]')['description'](a2_0x37aff4(0x2f7))['option'](a2_0x37aff4(0x28f),a2_0x37aff4(0x3f9))['action'](async(_0x3b4092,_0x1667a7)=>{const _0x4247f3=a2_0x37aff4,_0x2f0599=new AgentPushCommand(),_0x20dc55=program[_0x4247f3(0x2cc)](),_0x31bedf=await createTDXInstance(_0x20dc55),_0x49ab96=await _0x2f0599[_0x4247f3(0x44f)]({'options':{..._0x20dc55,..._0x1667a7},'args':_0x3b4092?[_0x3b4092]:[],'tdx':_0x31bedf});gracefulExit(_0x49ab96);}),agentSyncCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x462))['description'](a2_0x37aff4(0x19f))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x2fc),'Name\x20for\x20the\x20new\x20project\x20(required)')['action'](async(_0xd2b603,_0x3effee)=>{const _0x1b59ea=a2_0x37aff4,_0x5112ae=new AgentCloneCommand(),_0x369fb6=program[_0x1b59ea(0x2cc)](),_0x3da964=await createTDXInstance(_0x369fb6),_0x13a66e=await _0x5112ae['run']({'options':{..._0x369fb6,..._0x3effee},'args':_0xd2b603?[_0xd2b603]:[],'tdx':_0x3da964});gracefulExit(_0x13a66e);}),agentSyncCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x298))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x23a))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x37a),a2_0x37aff4(0x4a0))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x15d),a2_0x37aff4(0x3fa))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x4af),a2_0x37aff4(0x1f1))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3df),'Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x37aff4(0x3c2)]('--reeval',a2_0x37aff4(0x1fa))['action'](async(_0x3f4431,_0x4eea23)=>{const _0x1b9461=a2_0x37aff4,_0x2935e6=new AgentTestCommand(),_0x40603d=program['opts'](),_0x3983e6=await createTDXInstance(_0x40603d),_0x403287=await _0x2935e6[_0x1b9461(0x44f)]({'options':{..._0x40603d,..._0x4eea23},'args':_0x3f4431?[_0x3f4431]:[],'tdx':_0x3983e6});gracefulExit(_0x403287);}),agentSyncCmd['command'](a2_0x37aff4(0x1ce))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x340))[a2_0x37aff4(0x43c)](llmAgentListAction),agentSyncCmd[a2_0x37aff4(0x479)]('show\x20<agent-name>')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x401))[a2_0x37aff4(0x43c)](async(_0x463f9d,_0x3d171e)=>{const _0x1f0a5c=a2_0x37aff4,_0x482578=new LLMAgentShowCommand(),_0x42e44f=program[_0x1f0a5c(0x2cc)](),_0x36d647=await createTDXInstance(_0x42e44f),_0x503832=await _0x482578[_0x1f0a5c(0x44f)]({'options':{..._0x42e44f,..._0x3d171e},'args':[_0x463f9d],'tdx':_0x36d647});gracefulExit(_0x503832);}),agentSyncCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2b7))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2f6))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x36c),'System\x20prompt/instructions\x20(default:\x20empty)')['option']('--model\x20<name>',a2_0x37aff4(0x44a),a2_0x37aff4(0x199))[a2_0x37aff4(0x3c2)]('--starter-message\x20<text>',a2_0x37aff4(0x161))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x1a5),a2_0x37aff4(0x36a),'4')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x45f),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x37aff4(0x48b))['action'](async(_0x519bdb,_0x44b388)=>{const _0x251cfa=a2_0x37aff4,_0x5a2e1d=new LLMAgentCreateCommand(),_0x1f7143=program['opts'](),_0x404652=await createTDXInstance(_0x1f7143),_0x209d4d=await _0x5a2e1d[_0x251cfa(0x44f)]({'options':{..._0x1f7143,..._0x44b388},'args':[_0x519bdb],'tdx':_0x404652});gracefulExit(_0x209d4d);}),agentSyncCmd['command'](a2_0x37aff4(0x333))[a2_0x37aff4(0x2c0)]('Update\x20an\x20existing\x20agent')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3e2),'Agent\x20name')[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x3c3),a2_0x37aff4(0x3ac))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x31f),a2_0x37aff4(0x391))['option'](a2_0x37aff4(0x2cd),'Starter\x20message')[a2_0x37aff4(0x43c)](async(_0x1b63b4,_0x314e96)=>{const _0x30227e=new LLMAgentUpdateCommand(),_0x53ed97=program['opts'](),_0x240f39=await createTDXInstance(_0x53ed97),_0x199c24=await _0x30227e['run']({'options':{..._0x53ed97,..._0x314e96},'args':[_0x1b63b4],'tdx':_0x240f39});gracefulExit(_0x199c24);}),agentSyncCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x30d))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x447))['action'](async(_0xf9b32,_0x397395)=>{const _0x2a86b1=a2_0x37aff4,_0x1495af=new LLMAgentDeleteCommand(),_0x1e24ac=program[_0x2a86b1(0x2cc)](),_0x546111=await createTDXInstance(_0x1e24ac),_0x5eae5b=await _0x1495af['run']({'options':{..._0x1e24ac,..._0x397395},'args':[_0xf9b32],'tdx':_0x546111});gracefulExit(_0x5eae5b);});const workCmd=program[a2_0x37aff4(0x479)]('work')[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x283));workCmd[a2_0x37aff4(0x3c2)]('--days\x20<n>',a2_0x37aff4(0x3e6))[a2_0x37aff4(0x3c2)]('--all',a2_0x37aff4(0x270))[a2_0x37aff4(0x43c)](workSummaryAction),workCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2b9))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x15a))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x17f),a2_0x37aff4(0x3ff))[a2_0x37aff4(0x43c)](workInitAction),workCmd['command'](a2_0x37aff4(0x39c))['description'](a2_0x37aff4(0x24c))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x293),a2_0x37aff4(0x17b),a2_0x37aff4(0x459))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x15d),'Comma-separated\x20tags')['option'](a2_0x37aff4(0x1d8),a2_0x37aff4(0x46b))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x22b),a2_0x37aff4(0x265))['option']('--template\x20<name>',a2_0x37aff4(0x181))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x27c),a2_0x37aff4(0x1aa))[a2_0x37aff4(0x3c2)](a2_0x37aff4(0x22c),'Assignee')['action'](workNewAction),workCmd[a2_0x37aff4(0x479)]('move\x20<name>\x20<status>')['description'](a2_0x37aff4(0x19e))[a2_0x37aff4(0x43c)](workMoveAction),workCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x34c))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x314))['option'](a2_0x37aff4(0x3a0),a2_0x37aff4(0x3e6))['option'](a2_0x37aff4(0x2a0),a2_0x37aff4(0x270))[a2_0x37aff4(0x43c)](workBoardAction),workCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2db))[a2_0x37aff4(0x2c0)]('Show\x20document\x20details')[a2_0x37aff4(0x43c)](workShowAction),workCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x3fb))[a2_0x37aff4(0x2c0)](a2_0x37aff4(0x2fe))['action'](workLinksAction),workCmd[a2_0x37aff4(0x479)](a2_0x37aff4(0x2ce))['description'](a2_0x37aff4(0x3e1))[a2_0x37aff4(0x43c)](workOpenAction),program[a2_0x37aff4(0x479)](a2_0x37aff4(0x291),{'hidden':!![]})[a2_0x37aff4(0x43c)](()=>{const _0x1fa596=a2_0x37aff4;function _0x5f0f82(_0x3533ad,_0x36c2d4){const _0x13f669=a2_0x150a,_0x1ff71c=[];for(const _0x257799 of _0x3533ad['commands']){if(_0x257799[_0x13f669(0x16f)])continue;const _0x9bc5b9=_0x36c2d4?_0x36c2d4+'\x20'+_0x257799[_0x13f669(0x3b9)]():_0x257799[_0x13f669(0x3b9)](),_0x4c1e17=_0x9bc5b9[_0x13f669(0x2e7)]('\x20')[0x0],_0x52bfe2=COMMAND_CATEGORIES[_0x13f669(0x3d5)](_0x1c9d9e=>_0x1c9d9e['commands'][_0x13f669(0x3eb)](_0x4c1e17)),_0x50b34e=_0x52bfe2?.['name']??'';if(_0x257799['commands'][_0x13f669(0x36d)]>0x0)_0x1ff71c[_0x13f669(0x1a9)](..._0x5f0f82(_0x257799,_0x9bc5b9));else{const _0x4718c7=(_0x257799[_0x13f669(0x24f)]||[])[_0x13f669(0x1bd)](_0x33750b=>{const _0x39fe51=_0x13f669,_0x3b6406=_0x33750b['variadic']?_0x33750b[_0x39fe51(0x3b9)]()+'...':_0x33750b[_0x39fe51(0x3b9)]();return _0x33750b[_0x39fe51(0x170)]?'<'+_0x3b6406+'>':'['+_0x3b6406+']';})['join']('\x20'),_0x9644ea=_0x257799['options'][_0x13f669(0x38f)](_0xc9f2ff=>!_0xc9f2ff[_0x13f669(0x282)]&&_0xc9f2ff[_0x13f669(0x24e)]!==_0x13f669(0x344))[_0x13f669(0x1bd)](_0x174f8f=>({'flags':_0x174f8f['flags'],'description':_0x174f8f[_0x13f669(0x2c0)]}));_0x1ff71c[_0x13f669(0x1a9)]({'name':_0x9bc5b9,'description':_0x257799[_0x13f669(0x2c0)](),'group':_0x50b34e,'usage':_0x4718c7,'options':_0x9644ea});}}return _0x1ff71c;}console[_0x1fa596(0x195)](JSON[_0x1fa596(0x1df)](_0x5f0f82(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x29ee45=a2_0x37aff4,_0x2e19ff=!process[_0x29ee45(0x3ce)][_0x29ee45(0x45d)](0x2)['length'];showBriefHelp=_0x2e19ff,program['parse'](process[_0x29ee45(0x3ce)]);_0x2e19ff&&program[_0x29ee45(0x237)]();const _0x3b76eb=process[_0x29ee45(0x3ce)][0x2]===_0x29ee45(0x1bf);if(process[_0x29ee45(0x3f6)][_0x29ee45(0x21c)]&&process[_0x29ee45(0x3ce)][_0x29ee45(0x36d)]>0x2&&!isDevVersion()&&!_0x3b76eb){const _0x457642=loadReleaseChannel();checkForUpdate(currentVersion,_0x457642)[_0x29ee45(0x1fe)](_0x43a631=>{_0x43a631&&displayUpdateNotification(_0x43a631);})[_0x29ee45(0x3d1)](()=>{});}}
1
+ const a2_0x17025f=a2_0x1df2;(function(_0x2eee65,_0x459a32){const _0x585bdd=a2_0x1df2,_0x3bc80d=_0x2eee65();while(!![]){try{const _0x5a4a9f=-parseInt(_0x585bdd(0x47e))/0x1*(parseInt(_0x585bdd(0x2b2))/0x2)+-parseInt(_0x585bdd(0x1fe))/0x3+-parseInt(_0x585bdd(0x22c))/0x4*(parseInt(_0x585bdd(0x332))/0x5)+-parseInt(_0x585bdd(0x253))/0x6+parseInt(_0x585bdd(0x279))/0x7+-parseInt(_0x585bdd(0x418))/0x8*(-parseInt(_0x585bdd(0x4f7))/0x9)+parseInt(_0x585bdd(0x47f))/0xa;if(_0x5a4a9f===_0x459a32)break;else _0x3bc80d['push'](_0x3bc80d['shift']());}catch(_0xfc4a55){_0x3bc80d['push'](_0x3bc80d['shift']());}}}(a2_0x2a61,0xa8003));import a2_0x3dbe57 from'chalk';import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{TableDeletedCommand,TableRecoverCommand}from'./commands/table-deleted.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentMoveCommand}from'./commands/segment-move-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyRunCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand,EngageMediaUploadCommand,EngageMediaLsCommand,EngageMediaMkdirCommand,EngageMediaRmCommand,EngageMediaRmdirCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{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{isApiCommandEnabled,isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x17025f(0x2f2)][a2_0x17025f(0x462)](a2_0x17025f(0x2a9))){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x17025f(0x4e6)]&&!currentVersion[a2_0x17025f(0x462)](buildInfo[a2_0x17025f(0x4e6)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x17025f(0x4be)+buildInfo[a2_0x17025f(0x364)]),console[a2_0x17025f(0x28e)](versionOutput),process[a2_0x17025f(0x4ae)](0x0);}const program=new Command();export function mergeCommandOptions(_0x5d4a75,_0x2c1cae){const _0x3ca11c=a2_0x17025f,_0x34f9c5={..._0x5d4a75};for(const [_0x24efad,_0xbaa3db]of Object[_0x3ca11c(0x451)](_0x2c1cae)){_0xbaa3db!==undefined&&(_0x34f9c5[_0x24efad]=_0xbaa3db);}return _0x34f9c5;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20AI';buildInfo[a2_0x17025f(0x4e6)]&&!currentVersion['includes'](buildInfo[a2_0x17025f(0x4e6)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0x17025f(0x4e6)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0x17025f(0x4e2)](a2_0x17025f(0x36a))[a2_0x17025f(0x221)](description),program[a2_0x17025f(0x434)]('-C,\x20--directory\x20<path>','Change\x20to\x20directory\x20before\x20executing\x20command')['option']('-p,\x20--profile\x20<name>',a2_0x17025f(0x4c4))[a2_0x17025f(0x434)]('--site\x20<site>',a2_0x17025f(0x424),'us01')[a2_0x17025f(0x434)](a2_0x17025f(0x4dc),a2_0x17025f(0x290))[a2_0x17025f(0x434)](a2_0x17025f(0x3e9),a2_0x17025f(0x2f3))[a2_0x17025f(0x434)]('--json','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x17025f(0x434)]('--jsonl',a2_0x17025f(0x3f3))[a2_0x17025f(0x434)](a2_0x17025f(0x26d),a2_0x17025f(0x474))[a2_0x17025f(0x434)](a2_0x17025f(0x1fa),'Save\x20output\x20to\x20file')[a2_0x17025f(0x434)](a2_0x17025f(0x2d5),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')['option'](a2_0x17025f(0x30f),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x17025f(0x434)](a2_0x17025f(0x470),a2_0x17025f(0x322),![])[a2_0x17025f(0x434)](a2_0x17025f(0x38b),'Enable\x20verbose\x20logging',![])[a2_0x17025f(0x434)](a2_0x17025f(0x428),a2_0x17025f(0x441))[a2_0x17025f(0x434)]('--trace',a2_0x17025f(0x28f))[a2_0x17025f(0x434)](a2_0x17025f(0x2fa),a2_0x17025f(0x497),'30')[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x445),![])[a2_0x17025f(0x434)](a2_0x17025f(0x377),a2_0x17025f(0x3d8),![])[a2_0x17025f(0x434)](a2_0x17025f(0x475),a2_0x17025f(0x42a))[a2_0x17025f(0x434)](a2_0x17025f(0x1e3),a2_0x17025f(0x373))[a2_0x17025f(0x434)](a2_0x17025f(0x505),a2_0x17025f(0x421)),program[a2_0x17025f(0x2ad)]({'formatHelp':(_0x5ca575,_0x54ac35)=>{const _0x292108=a2_0x17025f,_0x330c05=_0x54ac35[_0x292108(0x245)](_0x5ca575,_0x54ac35),_0x5d9bb4=0x2,_0x51874e=0x2;function _0x2be896(_0x351584){const _0x202e02=_0x292108,_0x2259c9=_0x351584;return!!(_0x2259c9[_0x202e02(0x2c7)]||_0x2259c9[_0x202e02(0x3b7)]);}function _0x1c6577(_0x215217,_0x58f0df){if(_0x58f0df){const _0xc0dd8c=''+_0x215217['padEnd'](_0x330c05+_0x51874e)+_0x58f0df;return _0xc0dd8c;}return _0x215217;}function _0x443ef4(_0x586bf7){const _0x38b2c9=_0x292108;return _0x586bf7[_0x38b2c9(0x4f2)]('\x0a')['replace'](/^/gm,'\x20'[_0x38b2c9(0x225)](_0x5d9bb4));}const _0xd067a3=[];_0xd067a3[_0x292108(0x29b)](_0x292108(0x409)+_0x54ac35['commandUsage'](_0x5ca575));const _0x493489=_0x54ac35[_0x292108(0x3f8)](_0x5ca575);_0x493489&&(_0xd067a3[_0x292108(0x29b)](''),_0xd067a3[_0x292108(0x29b)](_0x493489));const _0xf771fe=_0x5ca575[_0x292108(0x39a)][_0x292108(0x449)](_0x5e4d6a=>!_0x2be896(_0x5e4d6a));if(_0xf771fe[_0x292108(0x2cd)]>0x0){if(_0x5ca575['name']()===_0x292108(0x36a)){const _0x29c954=_0x5ca575['opts'](),_0x1b23f9=!_0x29c954['noColor']&&process[_0x292108(0x38f)][_0x292108(0x41a)],_0xb2623=COMMAND_CATEGORIES,_0x58adb3=(_0xcf4496,_0x16b612)=>_0x1b23f9?_0x16b612(_0xcf4496):_0xcf4496,_0x5445b6=new Map();_0xf771fe[_0x292108(0x3cb)](_0xb07e86=>{const _0xe66f30=_0x292108;_0x5445b6[_0xe66f30(0x372)](_0xb07e86[_0xe66f30(0x4e2)](),_0xb07e86);}),_0xb2623[_0x292108(0x3cb)](_0x27851f=>{const _0x4e06eb=_0x292108,_0x13cc0d=_0x27851f['commands'][_0x4e06eb(0x247)](_0x5b7209=>_0x5445b6[_0x4e06eb(0x280)](_0x5b7209)??[]);if(_0x13cc0d['length']>0x0){_0xd067a3['push'](''),_0xd067a3[_0x4e06eb(0x29b)](_0x58adb3(_0x27851f['name']+':',_0x27851f[_0x4e06eb(0x29c)]));const _0x335772=_0x13cc0d[_0x4e06eb(0x4e3)](_0x272220=>{const _0x124034=_0x4e06eb,_0x3383a2=_0x54ac35['subcommandTerm'](_0x272220),_0x323f13=_0x54ac35[_0x124034(0x47a)](_0x272220);return _0x1c6577(_0x3383a2,_0x323f13);});_0xd067a3[_0x4e06eb(0x29b)](_0x443ef4(_0x335772));}}),_0xd067a3[_0x292108(0x29b)](''),_0xd067a3[_0x292108(0x29b)](_0x292108(0x48e));}else{const _0x32dfaf=_0xf771fe[_0x292108(0x4e3)](_0x2692a1=>{const _0x49f7cb=_0x292108,_0xb640c=_0x54ac35[_0x49f7cb(0x296)](_0x2692a1),_0x266056=_0x54ac35[_0x49f7cb(0x47a)](_0x2692a1);return _0x1c6577(_0xb640c,_0x266056);});_0xd067a3['push'](''),_0xd067a3[_0x292108(0x29b)]('Commands:'),_0xd067a3[_0x292108(0x29b)](_0x443ef4(_0x32dfaf));}}if(showBriefHelp&&_0x5ca575['name']()===_0x292108(0x36a))_0xd067a3[_0x292108(0x29b)](''),_0xd067a3['push']('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x1d08b3=_0x5ca575[_0x292108(0x49d)][_0x292108(0x449)](_0x389d6b=>!_0x2be896(_0x389d6b));if(_0x1d08b3[_0x292108(0x2cd)]>0x0){const _0x44abdb=_0x1d08b3['map'](_0x21fa83=>{const _0x539077=_0x292108,_0x49fce0=_0x54ac35[_0x539077(0x4db)](_0x21fa83),_0x450476=_0x54ac35[_0x539077(0x259)](_0x21fa83);return _0x1c6577(_0x49fce0,_0x450476);});_0xd067a3[_0x292108(0x29b)](''),_0xd067a3['push'](_0x292108(0x1e8)),_0xd067a3[_0x292108(0x29b)](_0x443ef4(_0x44abdb));}}const _0x1d0a4b=(_0x5ca575[_0x292108(0x4b1)]||[])[_0x292108(0x449)](_0x5eae28=>!_0x2be896(_0x5eae28));if(_0x1d0a4b[_0x292108(0x2cd)]>0x0){const _0xfa384b=_0x1d0a4b[_0x292108(0x4e3)](_0x1788ce=>{const _0x1517d2=_0x292108,_0x146acd=_0x54ac35['argumentTerm'](_0x1788ce),_0x299b26=_0x54ac35[_0x1517d2(0x23a)](_0x1788ce);return _0x1c6577(_0x146acd,_0x299b26);});_0xd067a3[_0x292108(0x29b)](''),_0xd067a3[_0x292108(0x29b)](_0x292108(0x4d7)),_0xd067a3[_0x292108(0x29b)](_0x443ef4(_0xfa384b));}return _0xd067a3[_0x292108(0x4f2)]('\x0a')+'\x0a';},'subcommandTerm':_0x205fb6=>{const _0x44d964=a2_0x17025f,_0x112ca5=(_0x205fb6[_0x44d964(0x4b1)]||[])[_0x44d964(0x4e3)](_0x54e935=>_0x54e935[_0x44d964(0x2f7)]?'<'+_0x54e935[_0x44d964(0x4e2)]()+'>':'['+_0x54e935[_0x44d964(0x4e2)]()+']')[_0x44d964(0x4f2)]('\x20'),_0x21ee7e=_0x205fb6[_0x44d964(0x33f)](),_0x21f109=_0x21ee7e['length']>0x0?_0x205fb6[_0x44d964(0x4e2)]()+',\x20'+_0x21ee7e[_0x44d964(0x4f2)](',\x20'):_0x205fb6[_0x44d964(0x4e2)]();return _0x112ca5?_0x21f109+'\x20'+_0x112ca5:_0x21f109;}}),program['hook'](a2_0x17025f(0x3ee),_0x505150=>{const _0x5c6d97=a2_0x17025f,_0x33fbe2=_0x505150[_0x5c6d97(0x4af)]();if(_0x33fbe2[_0x5c6d97(0x456)]){const _0xc82fc0=resolve(_0x33fbe2[_0x5c6d97(0x456)]),_0x1137d5=_0xc82fc0!==_0x33fbe2[_0x5c6d97(0x456)]?_0x5c6d97(0x4f5)+_0xc82fc0+')':'';if(!existsSync(_0xc82fc0))throw new SDKError(ErrorCode[_0x5c6d97(0x24b)],_0x5c6d97(0x4a9)+_0x33fbe2['directory']+_0x1137d5,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x21ba03=statSync(_0xc82fc0);if(!_0x21ba03['isDirectory']())throw new SDKError(ErrorCode[_0x5c6d97(0x24b)],_0x5c6d97(0x42b)+_0x33fbe2[_0x5c6d97(0x456)]+_0x1137d5,undefined,{'helpText':_0x5c6d97(0x2f1)});process[_0x5c6d97(0x263)](_0xc82fc0);}if(!_0x33fbe2[_0x5c6d97(0x350)]){if(_0x33fbe2[_0x5c6d97(0x256)])_0x33fbe2[_0x5c6d97(0x350)]='table';else{if(_0x33fbe2[_0x5c6d97(0x48b)])_0x33fbe2[_0x5c6d97(0x350)]=_0x5c6d97(0x48b);else{if(_0x33fbe2[_0x5c6d97(0x45c)])_0x33fbe2[_0x5c6d97(0x350)]=_0x5c6d97(0x45c);else _0x33fbe2['tsv']&&(_0x33fbe2[_0x5c6d97(0x350)]=_0x5c6d97(0x482));}}}if(_0x33fbe2[_0x5c6d97(0x32c)])_0x33fbe2[_0x5c6d97(0x282)]=LogLevel[_0x5c6d97(0x446)];else{if(_0x33fbe2['debug'])_0x33fbe2[_0x5c6d97(0x282)]=LogLevel[_0x5c6d97(0x4bb)];else _0x33fbe2[_0x5c6d97(0x282)]===undefined&&(_0x33fbe2['logLevel']=LogLevel[_0x5c6d97(0x415)]);}});async function createTDXInstance(_0xdc20){const _0x2d6e60=a2_0x17025f,_0x3d75a4=await GlobalContext['createAsync'](_0xdc20);_0x3d75a4[_0x2d6e60(0x239)](_0xdc20);const _0x2f0afe=Number(_0xdc20[_0x2d6e60(0x1e9)]),_0x20e8d5=!isNaN(_0x2f0afe)&&_0x2f0afe>0x0?_0x2f0afe*0x3e8:undefined;return TDX[_0x2d6e60(0x35a)]({'site':_0x3d75a4['site'],'apiKey':_0x3d75a4['apiKey'],'accessToken':_0x3d75a4[_0x2d6e60(0x3f4)],'logLevel':_0x3d75a4[_0x2d6e60(0x282)],'profile':_0x3d75a4[_0x2d6e60(0x2b0)],'timeout':_0x20e8d5});}const databaseCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x1e7))[a2_0x17025f(0x250)]('db')['description'](a2_0x17025f(0x352)),databaseListAction=async(_0x564203,_0x33b381)=>{const _0x1f7fd2=a2_0x17025f,_0x465403=new DatabasesCommand(),_0x2a4f23=program['opts'](),_0x34ccf6=await createTDXInstance(_0x2a4f23),_0x528ea0=await _0x465403[_0x1f7fd2(0x2fe)]({'options':{..._0x2a4f23,..._0x33b381},'args':_0x564203?[_0x564203]:[],'tdx':_0x34ccf6});gracefulExit(_0x528ea0);};databaseCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x30b))[a2_0x17025f(0x221)](a2_0x17025f(0x258))['action'](databaseListAction),program[a2_0x17025f(0x25f)]('databases\x20[pattern]',{'hidden':!![]})['description'](a2_0x17025f(0x48d))[a2_0x17025f(0x355)](databaseListAction),program[a2_0x17025f(0x25f)](a2_0x17025f(0x233))[a2_0x17025f(0x221)](a2_0x17025f(0x30e))[a2_0x17025f(0x434)](a2_0x17025f(0x43d),a2_0x17025f(0x23f))['option'](a2_0x17025f(0x47d),a2_0x17025f(0x503))[a2_0x17025f(0x434)](a2_0x17025f(0x39f),a2_0x17025f(0x465))[a2_0x17025f(0x434)](a2_0x17025f(0x20e),a2_0x17025f(0x27e))[a2_0x17025f(0x355)](async(_0x3c86c4,_0x4ea332)=>{const _0x242ddc=a2_0x17025f,_0x501691=program[_0x242ddc(0x4af)](),_0x19345e=await createTDXInstance(_0x501691);if(_0x3c86c4[0x0]===_0x242ddc(0x35a)){const _0x160df9=new ChatCreateCommand();gracefulExit(await _0x160df9[_0x242ddc(0x2fe)]({'options':{..._0x501691,..._0x4ea332},'args':_0x3c86c4[_0x242ddc(0x3f7)](0x1),'tdx':_0x19345e}));return;}const _0x216146=new ChatCommand(),_0x76554f=await _0x216146[_0x242ddc(0x2fe)]({'options':{..._0x501691,..._0x4ea332},'args':_0x3c86c4,'tdx':_0x19345e});gracefulExit(_0x76554f);});const apiCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x21c),{'hidden':!isApiCommandEnabled()})[a2_0x17025f(0x204)](a2_0x17025f(0x4e7))[a2_0x17025f(0x3d0)]('after',a2_0x17025f(0x1ea))['option']('-X,\x20--method\x20<method>',a2_0x17025f(0x423),a2_0x17025f(0x3e2))[a2_0x17025f(0x434)](a2_0x17025f(0x4e0),a2_0x17025f(0x4df))[a2_0x17025f(0x434)]('-f,\x20--file\x20<path>',a2_0x17025f(0x436))[a2_0x17025f(0x434)](a2_0x17025f(0x3c7),a2_0x17025f(0x2d1),(_0x1fe1dc,_0x181ca3)=>{return _0x181ca3?[..._0x181ca3,_0x1fe1dc]:[_0x1fe1dc];})['option'](a2_0x17025f(0x416),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x17025f(0x355)](async(_0x52a9aa,_0x3abcf1)=>{const _0x278a07=a2_0x17025f;if(!isApiCommandEnabled()){console[_0x278a07(0x420)](a2_0x3dbe57[_0x278a07(0x44c)]('Error:\x20`tdx\x20api`\x20is\x20disabled\x20by\x20default\x20to\x20prevent\x20unintended\x20API\x20calls.')),console[_0x278a07(0x420)](''),console['error'](_0x278a07(0x3b1)),console[_0x278a07(0x420)](_0x278a07(0x2bb)),console[_0x278a07(0x420)](''),console[_0x278a07(0x420)](a2_0x3dbe57[_0x278a07(0x4cb)]('AI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf.\x20Ask\x20the\x20user,\x20or\x20use\x20a\x20structured\x20command\x20instead.')),console[_0x278a07(0x420)](''),console[_0x278a07(0x420)](_0x278a07(0x2c8)),gracefulExit(0x1);return;}if(!_0x52a9aa){apiCmd[_0x278a07(0x4e5)]();return;}const _0x58be84=new ApiCommand(),_0x1a8cc6=program[_0x278a07(0x4af)](),_0x157252=await createTDXInstance(_0x1a8cc6),_0x8c2ebe=await _0x58be84['run']({'options':{..._0x1a8cc6,..._0x3abcf1},'args':[_0x52a9aa],'tdx':_0x157252});gracefulExit(_0x8c2ebe);});program[a2_0x17025f(0x25f)](a2_0x17025f(0x4bc))[a2_0x17025f(0x221)](a2_0x17025f(0x2c5))[a2_0x17025f(0x3d0)](a2_0x17025f(0x268),a2_0x17025f(0x2a0))[a2_0x17025f(0x355)](async _0x229fac=>{const _0x48f830=a2_0x17025f,_0x51c56e=new MCPCommand(),_0x1c42f7=program[_0x48f830(0x4af)](),_0x7890c4=await createTDXInstance(_0x1c42f7),_0x49c095=await _0x51c56e[_0x48f830(0x2fe)]({'options':{..._0x1c42f7,..._0x229fac},'args':[],'tdx':_0x7890c4});gracefulExit(_0x49c095);});const tableCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x256))[a2_0x17025f(0x221)](a2_0x17025f(0x453)),tableListAction=async(_0x263f67,_0x10944a)=>{const _0x339766=a2_0x17025f,_0x149a26=new TablesCommand(),_0x16d514=program[_0x339766(0x4af)](),_0x1d471a=await createTDXInstance(_0x16d514);_0x10944a['in']&&(_0x10944a[_0x339766(0x1e7)]=_0x10944a['in']);const _0x4655da=await _0x149a26[_0x339766(0x2fe)]({'options':{..._0x16d514,..._0x10944a},'args':_0x263f67?[_0x263f67]:[],'tdx':_0x1d471a});gracefulExit(_0x4655da);};tableCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x30b))[a2_0x17025f(0x221)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x17025f(0x434)](a2_0x17025f(0x251),a2_0x17025f(0x31d))[a2_0x17025f(0x434)](a2_0x17025f(0x2a1),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x17025f(0x355)](tableListAction),tableCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x48c))['description'](a2_0x17025f(0x2bc))[a2_0x17025f(0x434)](a2_0x17025f(0x4ac),'Page\x20size\x201-100\x20(default\x2025)')['option'](a2_0x17025f(0x375),'Resume\x20listing\x20after\x20this\x20table\x20id\x20(from\x20a\x20previous\x20page)')['action'](async _0xf998bd=>{const _0x25ad70=a2_0x17025f,_0x54d23c=new TableDeletedCommand(),_0x1963b4=program[_0x25ad70(0x4af)](),_0x2310a9=await createTDXInstance(_0x1963b4),_0x47bb48=await _0x54d23c[_0x25ad70(0x2fe)]({'options':{..._0x1963b4,..._0xf998bd},'args':[],'tdx':_0x2310a9});gracefulExit(_0x47bb48);}),tableCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3fd))['description'](a2_0x17025f(0x21f))[a2_0x17025f(0x434)](a2_0x17025f(0x4b0),a2_0x17025f(0x270))[a2_0x17025f(0x434)](a2_0x17025f(0x3bc),a2_0x17025f(0x404))[a2_0x17025f(0x355)](async(_0x221f1d,_0x229a63)=>{const _0xdbf7c3=a2_0x17025f,_0x1ca9a6=new TableRecoverCommand(),_0x23afe2=program[_0xdbf7c3(0x4af)](),_0x11eb34=await createTDXInstance(_0x23afe2),_0x3f366c=await _0x1ca9a6['run']({'options':{..._0x23afe2,..._0x229a63},'args':[_0x221f1d],'tdx':_0x11eb34});gracefulExit(_0x3f366c);}),program[a2_0x17025f(0x25f)](a2_0x17025f(0x4fa),{'hidden':!![]})[a2_0x17025f(0x221)]('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x17025f(0x434)](a2_0x17025f(0x251),a2_0x17025f(0x31d))[a2_0x17025f(0x434)]('--in\x20<database>',a2_0x17025f(0x1fb))['action'](tableListAction),program[a2_0x17025f(0x25f)]('show\x20[table]')['description']('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x17025f(0x434)](a2_0x17025f(0x251),a2_0x17025f(0x26c))['option']('--in\x20<database>',a2_0x17025f(0x1fb))['action'](async(_0x3d115c,_0x5154ec)=>{const _0x13a23d=a2_0x17025f,_0x413d78=new ShowCommand(),_0x541715=program['opts'](),_0x4440b8=await createTDXInstance(_0x541715);_0x5154ec['in']&&(_0x5154ec[_0x13a23d(0x1e7)]=_0x5154ec['in']);const _0x3f3a65=await _0x413d78['run']({'options':{..._0x541715,..._0x5154ec},'args':_0x3d115c?[_0x3d115c]:[],'tdx':_0x4440b8});gracefulExit(_0x3f3a65);}),program[a2_0x17025f(0x25f)](a2_0x17025f(0x255))[a2_0x17025f(0x250)](a2_0x17025f(0x200))['description'](a2_0x17025f(0x443))['option']('-d,\x20--database\x20<database>',a2_0x17025f(0x26c))[a2_0x17025f(0x434)](a2_0x17025f(0x2a1),a2_0x17025f(0x1fb))[a2_0x17025f(0x355)](async(_0x31bce7,_0x453793)=>{const _0xc4a40f=a2_0x17025f,_0x566c33=new DescribeCommand(),_0x34273b=program[_0xc4a40f(0x4af)](),_0x4646eb=await createTDXInstance(_0x34273b);_0x453793['in']&&(_0x453793['database']=_0x453793['in']);const _0x36949a=await _0x566c33[_0xc4a40f(0x2fe)]({'options':{..._0x34273b,..._0x453793},'args':_0x31bce7?[_0x31bce7]:[],'tdx':_0x4646eb});gracefulExit(_0x36949a);}),program['command'](a2_0x17025f(0x39e))['description'](a2_0x17025f(0x4f0))['option'](a2_0x17025f(0x251),a2_0x17025f(0x1c3))[a2_0x17025f(0x434)](a2_0x17025f(0x2a1),a2_0x17025f(0x1fb))['option'](a2_0x17025f(0x3c9),a2_0x17025f(0x4f3))['option'](a2_0x17025f(0x338),a2_0x17025f(0x1dd))[a2_0x17025f(0x434)]('--limit\x20<rows>','Maximum\x20rows\x20to\x20display')[a2_0x17025f(0x355)](async(_0x3c559e,_0xdecd32)=>{const _0x217573=a2_0x17025f,_0x42f866=new QueryCommand(),_0xc0fb88=program['opts'](),_0x2e2aaa=await createTDXInstance(_0xc0fb88);_0xdecd32['in']&&(_0xdecd32[_0x217573(0x1e7)]=_0xdecd32['in']);const _0x4a828d=await _0x42f866[_0x217573(0x2fe)]({'options':mergeCommandOptions(_0xc0fb88,_0xdecd32),'args':_0x3c559e?[_0x3c559e]:[],'tdx':_0x2e2aaa});gracefulExit(_0x4a828d);});const segmentCmd=program['command']('segment')[a2_0x17025f(0x250)]('sg')[a2_0x17025f(0x221)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x12b1b3,_0x1e128e)=>{const _0x2e4a77=a2_0x17025f,_0x49ce7e=new SegmentsCommand(),_0x2045d0=program[_0x2e4a77(0x4af)](),_0x4c1401=await createTDXInstance(_0x2045d0),_0x133a6e=await _0x49ce7e[_0x2e4a77(0x2fe)]({'options':{..._0x2045d0,..._0x1e128e},'args':_0x12b1b3?[_0x12b1b3]:[],'tdx':_0x4c1401});gracefulExit(_0x133a6e);};segmentCmd[a2_0x17025f(0x25f)]('list\x20[path]')[a2_0x17025f(0x221)](a2_0x17025f(0x2f5))[a2_0x17025f(0x434)](a2_0x17025f(0x3b5),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x17025f(0x434)](a2_0x17025f(0x2ee),a2_0x17025f(0x246),'10')['action'](segmentListAction),program['command'](a2_0x17025f(0x2f9),{'hidden':!![]})['description']('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x17025f(0x434)]('-r,\x20--recursive',a2_0x17025f(0x31f))[a2_0x17025f(0x434)](a2_0x17025f(0x2ee),a2_0x17025f(0x246),'10')[a2_0x17025f(0x355)](segmentListAction),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2d3),{'hidden':!![]})[a2_0x17025f(0x221)](a2_0x17025f(0x390))['action'](async(_0x5e8526,_0x3c05a5)=>{const _0x39d3b6=a2_0x17025f,_0xd51f2d=new SegmentUseCommand(),_0x5e69d9=program[_0x39d3b6(0x4af)](),_0x3ed5ab=await createTDXInstance(_0x5e69d9),_0x53d2f9=await _0xd51f2d[_0x39d3b6(0x2fe)]({'options':{..._0x5e69d9,..._0x3c05a5},'args':[_0x5e8526],'tdx':_0x3ed5ab});gracefulExit(_0x53d2f9);});function a2_0x2a61(){const _0x59cd27=['Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','Delete\x20a\x20campaign','recover\x20<id>','engage','delete\x20<name-or-id>','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Add\x20behaviors\x20as\x20JSON\x20string','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--include-retried','Restore\x20into\x20a\x20different\x20database\x20(use\x20on\x20409\x20db\x20conflict)','--revision\x20<revision>','create\x20[name]','Workflow\x20attempt\x20management','Resume\x20a\x20paused\x20journey','Usage:\x20','--schedule-option\x20<value>','launch\x20<name-or-id>','--clear','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','attempt','Delete\x20a\x20directory\x20from\x20Engage\x20DAM\x20(must\x20be\x20empty)','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','traffic\x20<name-or-path>','attempt:','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','--default','INFO','--type\x20<api_type>','Overwrite\x20existing\x20profile','748216RntntC','Action:\x20logs,\x20tasks,\x20kill,\x20retry','isTTY','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Show\x20journey\x20details','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Unknown\x20action:\x20','error','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Workspace\x20name\x20(required)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--add-behaviors\x20<json>','-u,\x20--use','Disable\x20a\x20workflow\x20schedule','--debug','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Path\x20is\x20not\x20a\x20directory:\x20','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','\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','Show\x20schedule\x20execution\x20history','[DEPRECATED]\x20Segment\x20folder\x20management','--attribute\x20[name]','Interactive\x20chat\x20selector','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','option','Query\x20type:\x20trino\x20or\x20hive','Read\x20request\x20body\x20from\x20file','Add\x20attributes\x20as\x20JSON\x20string','--from\x20<timestamp>','--no-proxy','List\x20all\x20data\x20connections','Sections\x20as\x20an\x20inline\x20JSON\x20array','--add-attributes-file\x20<file>','--agent\x20<ref>','pause\x20<name-or-path>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20AI','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Manage\x20workflow\x20schedules\x20(enable/disable)','Describe\x20table\x20schema','versions\x20<name-or-path>','Preview\x20operation\x20without\x20executing','TRACE','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','--type\x20<type>','filter','unset\x20<resource>','long','red','Validate\x20template\x20YAML\x20files\x20locally','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--customer-group-file\x20<file>','--skip-validation','entries','pull\x20[workspace-name]','Table\x20management\x20commands','--to\x20<timestamp>','usage','directory','--resume-from\x20<task>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','cas','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','use\x20<project-name>','jsonl','Show\x20only\x20master\x20table\x20validation','--path\x20<folder>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Composable\x20audience\x20name','includes','Customer\x20group\x20from\x20JSON\x20file','--temperature\x20<n>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','list','--email-sender-id\x20<id>','use\x20[name]','--sections\x20<json>','users','push\x20[source-dir]','--no-eval','List\x20all\x20available\x20profiles','Master\x20database\x20name','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--no-color','Personalization\x20management','show\x20<agent-name>','--enriched','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--session\x20<id>','Show\x20LINE\x20sender\x20account\x20details','Get\x20current\x20RT\x20configuration\x20version\x20status','Make\x20segment\x20invisible\x20(default:\x20visible)','setup','subcommandDescription','item','--verbose','--new','17pHAtLL','6672720lvgUWs','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','List\x20secret\x20keys\x20for\x20a\x20project','tsv','Pause\x20activations\x20in\x20an\x20RT\x20journey','Comma-separated\x20tags','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--all','Validate\x20campaign\x20YAML\x20files\x20locally','always-on-campaigns\x20[pattern]','show\x20[name]','User\x20management\x20commands','json','deleted','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Ending\x20offset\x20(default:\x2020)','Workflow\x20parameter\x20(repeatable)','Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)','--last','Folder\x20description','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Set\x20operation\x20timeout\x20in\x20seconds','Resume\x20activations\x20in\x20an\x20RT\x20journey','Preview\x20changes\x20without\x20pushing','agents\x20[pattern]','Invalid\x20--limit\x20value:\x20\x22','projects\x20[pattern]','options','view\x20[name]','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Workflow\x20(Digdag)\x20management\x20commands','--master','run\x20[workflow]','Show\x20schedule\x20details','Show\x20always-on\x20campaign\x20details','--max-tool-iterations\x20<n>','Output\x20directory','Template\x20name','project','Directory\x20does\x20not\x20exist:\x20','List\x20agents\x20in\x20current\x20project','--reason\x20<text>','--page-size\x20<n>','--schedule-id\x20<id>','exit','opts','--name\x20<name>','registeredArguments','Add\x20behaviors\x20from\x20JSON\x20file','Result\x20output\x20destination\x20URL','resume_activations\x20<journeyId>','Upload\x20workflow\x20project\x20to\x20Treasure\x20AI\x20(digdag-style)','view\x20[segment_name]','Update\x20a\x20workspace','Create\x20a\x20directory\x20in\x20Engage\x20DAM','Initialize\x20a\x20new\x20workspace','Resume\x20from\x20specific\x20task\x20(retry)','DEBUG','mcp','Create\x20a\x20new\x20agent\x20in\x20current\x20project','\x20-\x20built\x20','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20workspace\x20details','timeline\x20[project.workflow]','Kill\x20a\x20job','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Personalization\x20service\x20token\x20management','List\x20available\x20LLM\x20models','Delete\x20workflow\x20project\x20from\x20Treasure\x20AI','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Parent\x20segment\x20management','yellow','--assignee\x20<assignee>','Finish\x20an\x20always-on\x20campaign','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Launch\x20a\x20campaign','--delete','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20triggering','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--json-columns\x20<cols>','Arguments:','--to\x20<date>','--next','Parent\x20segment\x20description','optionTerm','--format\x20<format>','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Conflict\x20strategy:\x20ask\x20(default),\x20replace,\x20keep','Request\x20body\x20as\x20JSON\x20string','--data\x20<data>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','name','map','variadic','help','gitRevision','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs\x20(opt-in)','links\x20<name>','clear','Access\x20control\x20policy\x20commands','-o,\x20--output\x20<file>','Skip\x20confirmation\x20prompt','Pull\x20specific\x20revision\x20(default:\x20latest)','push\x20[target]','--kind\x20<type>','Run\x20Trino\x20query\x20with\x20streaming\x20results','preview\x20[name]','join','Trino\x20catalog\x20(default:\x20td)','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','\x20(resolved\x20to\x20','Agent\x20name','117dXuLpS','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','tables\x20[pattern]','update\x20<name>','--audience\x20<name>','Include\x20retried\x20attempts\x20(for\x20list)','isArray','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','New\x20service\x20description','preview\x20[file]','--table\x20<table>','Start\x20a\x20new\x20chat\x20session','parents\x20[pattern]','--llm-project\x20<name>','show\x20[segment_name]','restore\x20<folder>','--folder-id\x20<id>','Filtering\x20rule\x20as\x20JSON\x20string','List\x20available\x20connector\x20types','--next-time\x20<time>','Preview\x20changes\x20without\x20writing\x20files','LLM\x20agent\x20management','board','find','workflow','--name\x20<new_name>','Output\x20folder\x20(default:\x20{project_name}.llm)','upgrade\x20[version]','Always-on\x20campaign\x20management','--database\x20<name>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Database\x20to\x20query\x20(default:\x20information_schema)','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Remove\x20API\x20key\x20from\x20system\x20keychain','\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','--json','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Delete\x20an\x20agent','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Update\x20a\x20campaign','--result\x20<url>','agent','workspace','push\x20[file]','Priority\x20(critical,\x20high,\x20medium,\x20low)','validate\x20[target]','rmdir\x20<path>','Attributes\x20from\x20JSON\x20file','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','Output\x20as\x20JSON\x20Lines','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','pull\x20[project]\x20[agent-name]','Show\x20a\x20single\x20schedule\x20by\x20its\x20ID','Read\x20SQL\x20query\x20from\x20file','delete\x20<args...>','resume\x20<name-or-path>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Campaign\x20description','view\x20<name-or-path>','--parent-segment\x20<name>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','init\x20[name]','--status\x20<status>','database','Options:','timeout','\x0aDisabled\x20by\x20default.\x20See\x20https://tdx.treasuredata.com/guide/api-command-safety\x0afor\x20how\x20to\x20enable.\x0a\x0aAI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf\x20—\x20ask\x20them\x20first.\x0aPrefer\x20structured\x20commands;\x20they\x20validate\x20inputs\x20and\x20resolve\x20names\x20to\x20IDs.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a','-c,\x20--continue','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Campaign\x20type\x20(email\x20or\x20push)','--cron\x20<expression>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--backfill','New\x20workspace\x20name','backup\x20<name>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Create\x20a\x20scheduled\x20query','--add-attributes\x20<json>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','--behaviors\x20<json>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','--output\x20<file>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','1715181elmCCN','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','desc','claude\x20[args...]','list\x20[project]','Starting\x20offset\x20(default:\x200)','summary','Follow/watch\x20timeline\x20for\x20running\x20attempts','activations\x20<segment_name>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Agent\x20description','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','update\x20<name-or-id>','--name\x20<text>','Delay\x20in\x20seconds\x20before\x20execution','--stream','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','--tags\x20<tags>','run\x20<name>','Pull\x20specific\x20template\x20by\x20name','--follow','push\x20[path]','Show\x20journey\x20statistics','delete\x20<personalization_id>','work','--job-type\x20<type>','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','List\x20Engage\x20DAM\x20directory\x20contents','Workflow\x20project\x20management','api\x20[endpoint]','desc\x20[name]','List\x20activations\x20for\x20a\x20journey','Recover\x20a\x20deleted\x20table\x20by\x20id','retry\x20<session-id>','description','folders\x20<parent_name>','Plaintext\x20template\x20content','Delete\x20a\x20scheduled\x20query','repeat','workflows\x20[project]','Update\x20an\x20email\x20template','Update\x20an\x20existing\x20agent','--time\x20<iso8601>','-w,\x20--web','Duplicate\x20a\x20campaign','2143212WUpqea','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20AI','Scheduled\x20query\x20management\x20commands','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','--priority\x20<-2~2>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','media','chat\x20[message...]','--html\x20<html>','Maximum\x20tool\x20iterations\x20(default:\x204)','--model\x20<name>','connections','--body\x20<body>','injectIntoOptions','argumentDescription','update\x20<segment_name>','List\x20all\x20users\x20in\x20the\x20account','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Show\x20segment\x20schema\x20(column\x20types)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--allowed-ips\x20<ips>','Clear\x20session\x20context','--timezone\x20<tz>','Email\x20sender\x20ID\x20for\x20delivery','[action]','padWidth','Maximum\x20recursion\x20depth\x20(default:\x2010)','flatMap','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','parent-segment','-1d','INVALID_ARGUMENT','pull\x20<project>\x20[target-dir]','-f,\x20--force','clone\x20[source]','parse','alias','-d,\x20--database\x20<database>','kill\x20<job-id>','6652230esAUzQ','--include-stats','describe\x20[table]','table','Workspace\x20name','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','optionDescription','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','flags','Journey\x20version\x20management','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','System\x20prompt/instructions\x20(default:\x20empty)','command','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20resuming','[task-name]','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','chdir','--result\x20<target>','--full','create\x20<name>\x20<service_id>\x20[parent_segment]','Segment\x20description','after','status','Name\x20for\x20the\x20new\x20project\x20(required)','RT\x202.0\x20configuration\x20management','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--tsv','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Rename\x20the\x20recovered\x20table\x20(use\x20on\x20409\x20name\x20conflict)','token','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Transition\x20a\x20task\x20to\x20a\x20new\x20status','templates\x20[pattern]','--from\x20<n>','Token\x20description','grapesjs','list\x20[name]','9272375WwmFLu','Delete\x20an\x20email\x20template','--editor-type\x20<type>','Preview\x20without\x20creating\x20the\x20project','--starter-message\x20<text>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','stderr','get','Timezone\x20for\x20cron\x20(default:\x20UTC)','logLevel','disable\x20<id>','--priority\x20<priority>','schedule','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','requiredOption','campaigns\x20[pattern]','parent_segment','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','-a,\x20--agent\x20<name>','Preview\x20composable\x20segment\x20query\x20on\x20CDW','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','log','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','--from-task\x20<task>','Attempt\x20ID','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Set\x20a\x20profile\x20configuration\x20value','LINE\x20imagemap\x20image\x20management','subcommandTerm','Pause\x20an\x20always-on\x20campaign','ls\x20[path]','Engage\x20DAM\x20media\x20management','--description\x20<text>','push','colorFn','--stage\x20<name>','Resume\x20a\x20paused\x20campaign','--session-id\x20<id>','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20AI\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','--in\x20<database>','rm\x20<path>','Campaign\x20management','line-imagemap-image','Timezone\x20for\x20cron','Override\x20project\x20name','configuration_versions\x20[name]','Maximum\x20number\x20of\x20nodes','--version','create\x20<parent_name>\x20<folder_name>','Pull\x20campaigns\x20to\x20YAML\x20files','list\x20[audience_name]','configureHelp','kill','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','profile','--file\x20<path>','35692ohYOyj','sql\x20[segment_name]','Target\x20directory\x20for\x20YAML\x20files','Behaviors\x20from\x20JSON\x20file','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','List\x20composable\x20audiences','--interval\x20<range>','Output\x20as\x20JSON','beefree','Prefer\x20typed\x20commands\x20—\x20run\x20`tdx\x20--help`\x20to\x20see\x20them.','List\x20recoverable\x20deleted\x20tables\x20(last\x207\x20days)','move\x20<name>\x20<status>','\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','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20master\x20table\x20sample\x20data','create\x20<name>','argument','create\x20<segment_name>','history\x20<name>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Folder\x20name\x20for\x20organization','_hidden','For\x20setup\x20instructions,\x20see\x20https://tdx.treasuredata.com/guide/api-command-safety','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','jobs','length','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','-r,\x20--resume','New\x20segment\x20name','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','trino','use\x20<path>','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--limit\x20<number>','Database\x20name','job','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Attributes\x20as\x20JSON\x20string','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','Clear\x20workflow\x20project\x20context','List\x20all\x20versions\x20of\x20a\x20journey','set\x20<key=value>','delivery','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Email\x20template\x20management','pull\x20[name]','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Apply\x20a\x20template','Show\x20connection\x20details\x20by\x20name','--include-subtasks','--account-name\x20<name>','Resume\x20from\x20specific\x20task','--attributes\x20<json>','--subject\x20<subject>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','--include-history','--session-time\x20<time>','connection','--max-depth\x20<depth>','finish\x20<name-or-id>','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','argv','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','--workspace\x20<name>','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','senders\x20[pattern]','required','--html-file\x20<path>','segments\x20[path]','--timeout\x20<seconds>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','upload\x20<file>','--limit\x20<n>','run','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--attempt-id\x20<id>','List\x20workflow\x20schedules\x20(alias\x20for\x20`schedule\x20list`)','Pull\x20templates\x20to\x20YAML\x20files','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Updated\x20timezone','open\x20<name>','Pull\x20child\x20segments\x20to\x20YAML\x20files','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Push\x20YAML\x20files\x20to\x20CAS\x20API','attempts\x20[project]','list\x20[pattern]','Show\x20campaign\x20details','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--color','Job\x20priority\x20(-2\x20to\x202)','Duplicate\x20an\x20always-on\x20campaign','--num\x20<1-10>','--behavior\x20[name]','Limit\x20number\x20of\x20rows','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','engage_workspace','show\x20<name-or-id>','Set\x20or\x20show\x20parent\x20segment\x20context','info\x20[segment_name]','--public','--attributes-file\x20<file>','Version\x20number\x20to\x20view','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','upload\x20[project-name-or-dir]','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Data\x20connection\x20management\x20(for\x20activations/exports)','Workspace\x20management','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Trigger\x20on-demand\x20journey\x20workflow\x20execution','Export\x20journey(s)\x20as\x20YAML\x20files','push\x20[parent_or_file]','Output\x20file\x20path\x20(default:\x20<name>.yml)','--segment\x20<path>','Parent\x20folder\x20name\x20for\x20nested\x20folders','Pull\x20specific\x20campaign\x20by\x20name','Name\x20for\x20the\x20duplicated\x20campaign','Campaign\x20name','trace','Setup\x20API\x20key\x20authentication\x20interactively','Enable\x20UTM\x20tracking','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Retry\x20limit\x20(0\x20to\x2032)','validate\x20[name]','5lfGelK','use\x20[project]','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','validate\x20[file]','Open\x20journey\x20in\x20web\x20browser','preview\x20<segment_name>','-f,\x20--file\x20<path>','List\x20composable\x20segments\x20for\x20an\x20audience','--delay\x20<seconds>','Personalization\x20service\x20management','Workspace\x20description','Upload\x20an\x20image\x20to\x20Engage\x20DAM\x20(JPEG/PNG/GIF/SVG)','test\x20[path]','aliases','--version\x20<number>','Personalization\x20name','Include\x20execution\x20statistics','auth','Read\x20query\x20from\x20file','show\x20<service_id>\x20[parent_segment]','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','pause\x20<name-or-id>','Show\x20stats\x20for\x20specific\x20stage','Filtering\x20rule\x20from\x20JSON\x20file','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Show\x20agent\x20details','Show\x20email\x20template\x20details','--name\x20<new-name>','tasks','--method\x20<pm>','format','Reason\x20for\x20killing\x20the\x20attempt','Database\x20management\x20commands','Update\x20a\x20scheduled\x20query','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','action','Document\x20body\x20text','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','stats\x20<name-or-path>','update\x20<agent-name>','create','-o,\x20--output\x20<folder>','Email\x20subject\x20template','columns\x20<name-or-path>','Include\x20retried\x20attempts','Create\x20a\x20new\x20LLM\x20project','result\x20<job-id>','--parent-folder\x20<name>','Initial\x20status','Show\x20timeline\x20for\x20specific\x20attempt','buildTime','allowUnknownOption','Push\x20YAML\x20files\x20to\x20Treasure\x20AI\x20as\x20child\x20segments','show\x20<name>','run\x20[name]','--start-at\x20<datetime>','tdx','Manage\x20workflow\x20project\x20secrets','use\x20[resource]\x20[value]','--plaintext\x20<text>','schema\x20<type>','Create\x20an\x20email\x20template','--rule\x20<json>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','set','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Behaviors\x20as\x20JSON\x20string','--cursor-id\x20<id>','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','-y,\x20--yes','campaign','settings\x20<type>','Create\x20a\x20new\x20profile','resume\x20<name-or-id>','Pause\x20a\x20running\x20journey','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--retry-limit\x20<0~32>','--from\x20<date>','Include\x20all\x20items\x20(no\x20stale\x20filtering)','show\x20<folder_ref>','New\x20campaign\x20name','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--schedule-type\x20<type>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--folder\x20<name>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','outputHelp','-v,\x20--verbose','show\x20<job-id>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--behaviors-file\x20<file>','stdout','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','statusline','journey','chats','history\x20[chat-id]','Update\x20an\x20always-on\x20campaign','Output\x20file\x20path','--params\x20<json>','Cron\x20expression\x20for\x20scheduling','always-on-campaign','commands','End\x20time\x20filter\x20(ISO\x208601\x20format)','Launch\x20an\x20always-on\x20campaign','split','query\x20[sql]','--chat-id\x20<id>','Delete\x20a\x20workspace','RT\x20Journey\x20management','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','update\x20<service_id>\x20[parent_segment]','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','List\x20LINE\x20sender\x20accounts','information_schema','Get\x20job\x20results','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','--days\x20<n>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)','Show\x20the\x20task\x20graph\x20and\x20side-effect\x20warnings\x20without\x20executing','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Raw\x20API\x20requests\x20bypass\x20tdx\x27s\x20structured\x20commands\x20and\x20safety\x20checks.','Personalization\x20description','secrets','--dry-run','-r,\x20--recursive','Run\x20specific\x20tests\x20(comma-separated)','hidden','Resume\x20a\x20paused\x20always-on\x20campaign','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','list\x20[project.workflow]','delete\x20<token_id>\x20[parent_segment]','--database\x20<database>','--to\x20<n>','Assignee','delete\x20<project-name-or-id>','Make\x20service\x20public\x20(default:\x20private)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','pause_activations\x20<journeyId>','Create\x20a\x20new\x20campaign','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','--description\x20<desc>','Updated\x20schedule\x20option','-H,\x20--header\x20<header>','--param\x20<key=value>','--catalog\x20<catalog>','delete\x20<service_id>\x20[parent_segment]','forEach','line-sender-account','user','[attempt-id]','[EXPERIMENTAL]\x20Show\x20chat\x20log','addHelpText','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20job\x20details','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','create\x20<name-or-path>','--yes','Skip\x20validation\x20of\x20.dig\x20files','Run\x20tests\x20for\x20an\x20LLM\x20agent','Skip\x20confirmation\x20prompts','Open\x20a\x20document\x20in\x20$EDITOR','--in\x20<db>','move\x20<segment_ids...>','Customer\x20group\x20as\x20JSON\x20string','login','Show\x20a\x20specific\x20realtime\x20personalization','Show\x20Kanban\x20board\x20view\x20of\x20tasks','logs','enable\x20<id>','GET','delete\x20<name>','--jsonl','\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','Pause\x20a\x20campaign','HTML\x20template\x20content','Show\x20all\x20files\x20including\x20valid\x20ones','--table','fields\x20[parent_name]','Open\x20segment\x20in\x20web\x20browser','show\x20<personalization_id>','--invisible','preAction','Custom\x20revision\x20name\x20(default:\x20timestamp)','Show\x20authentication\x20status\x20and\x20current\x20context','Show\x20journey\x20table\x20column-to-step\x20mapping','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','accessToken','Delete\x20a\x20profile','--github\x20<owner/repo>','slice','commandDescription','submit\x20[query]','Pull\x20workflow\x20project\x20to\x20local\x20folder'];a2_0x2a61=function(){return _0x59cd27;};return a2_0x2a61();}const segmentViewAction=async(_0x1bf5dc,_0x470514)=>{const _0x2907a1=a2_0x17025f,_0x10f042=new SegmentViewCommand(),_0x358fc7=program[_0x2907a1(0x4af)](),_0x14b896=await createTDXInstance(_0x358fc7),_0x45de72=await _0x10f042[_0x2907a1(0x2fe)]({'options':{..._0x358fc7,..._0x470514},'args':_0x1bf5dc?[_0x1bf5dc]:[],'tdx':_0x14b896});gracefulExit(_0x45de72);};segmentCmd['command'](a2_0x17025f(0x4b6))[a2_0x17025f(0x221)](a2_0x17025f(0x357))[a2_0x17025f(0x434)](a2_0x17025f(0x22a),a2_0x17025f(0x3eb))[a2_0x17025f(0x355)](segmentViewAction),segmentCmd['command'](a2_0x17025f(0x319),{'hidden':!![]})[a2_0x17025f(0x250)]('describe')[a2_0x17025f(0x434)](a2_0x17025f(0x22a),'Open\x20segment\x20in\x20web\x20browser')[a2_0x17025f(0x221)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x17025f(0x355)](segmentViewAction),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3db))[a2_0x17025f(0x221)]('Safely\x20move\x20one\x20or\x20more\x20segments\x20to\x20a\x20folder\x20(preserves\x20rules)')[a2_0x17025f(0x287)]('--folder\x20<folder_id>','Target\x20folder\x20ID\x20(destination)')[a2_0x17025f(0x355)](async(_0x3774e5,_0x2afa7a)=>{const _0x1b3199=a2_0x17025f,_0x50dd23=new SegmentMoveCommand(),_0xdd724c=program['opts'](),_0x4453a4=await createTDXInstance(_0xdd724c),_0x178430=await _0x50dd23[_0x1b3199(0x2fe)]({'options':{..._0xdd724c,..._0x2afa7a},'args':_0x3774e5,'tdx':_0x4453a4});gracefulExit(_0x178430);}),segmentCmd[a2_0x17025f(0x25f)]('desc\x20[segment_name]')['description'](a2_0x17025f(0x23e))['action'](async(_0x52ab58,_0x4c69eb)=>{const _0xab1dda=a2_0x17025f,_0x8208cb=new SegmentDescCommand(),_0x4360c4=program['opts'](),_0x3f9624=await createTDXInstance(_0x4360c4),_0x556bca=await _0x8208cb[_0xab1dda(0x2fe)]({'options':{..._0x4360c4,..._0x4c69eb},'args':_0x52ab58?[_0x52ab58]:[],'tdx':_0x3f9624});gracefulExit(_0x556bca);}),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x506))[a2_0x17025f(0x221)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x17025f(0x355)](async(_0x424a2b,_0x1bc293)=>{const _0x369a91=a2_0x17025f,_0x2188bf=new SegmentShowCommand(),_0x464aec=program[_0x369a91(0x4af)](),_0x192db9=await createTDXInstance(_0x464aec),_0x44d38d=await _0x2188bf[_0x369a91(0x2fe)]({'options':{..._0x464aec,..._0x1bc293},'args':_0x424a2b?[_0x424a2b]:[],'tdx':_0x192db9});gracefulExit(_0x44d38d);}),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x222),{'hidden':!![]})['description'](a2_0x17025f(0x458))[a2_0x17025f(0x355)](async(_0x945335,_0x2c705c)=>{const _0x232b53=a2_0x17025f,_0x4b1895=new SegmentFolderListCommand(),_0x13373e=program[_0x232b53(0x4af)](),_0x1fcd41=await createTDXInstance(_0x13373e),_0x2b8523=await _0x4b1895[_0x232b53(0x2fe)]({'options':{..._0x13373e,..._0x2c705c},'args':[_0x945335],'tdx':_0x1fcd41});gracefulExit(_0x2b8523);});const folderCmd=segmentCmd[a2_0x17025f(0x25f)]('folder',{'hidden':!![]})[a2_0x17025f(0x221)](a2_0x17025f(0x42f));folderCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x382))[a2_0x17025f(0x221)](a2_0x17025f(0x304))[a2_0x17025f(0x355)](async(_0x4c26c8,_0x504fc8)=>{const _0x117ed7=new SegmentFolderShowCommand(),_0x5258a9=program['opts'](),_0x97d032=await createTDXInstance(_0x5258a9),_0xba6ac2=await _0x117ed7['run']({'options':{..._0x5258a9,..._0x504fc8},'args':[_0x4c26c8],'tdx':_0x97d032});gracefulExit(_0xba6ac2);}),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2b3))[a2_0x17025f(0x221)](a2_0x17025f(0x1f7))[a2_0x17025f(0x434)]('--path\x20<file-path>',a2_0x17025f(0x371))[a2_0x17025f(0x355)](async(_0x5f4fe0,_0x2df62f)=>{const _0x12108a=new SegmentSQLCommand(),_0x2547aa=program['opts'](),_0x1e6ea0=await createTDXInstance(_0x2547aa),_0x1a3a00=await _0x12108a['run']({'options':{..._0x2547aa,..._0x2df62f},'args':_0x5f4fe0?[_0x5f4fe0]:[],'tdx':_0x1e6ea0});gracefulExit(_0x1a3a00);}),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3ea))['description'](a2_0x17025f(0x4f9))['action'](async(_0x8ce367,_0x31a914)=>{const _0x1395ba=a2_0x17025f,_0x24ae3f=new SegmentFieldsCommand(),_0x2dd16d=program[_0x1395ba(0x4af)](),_0x1dfba2=await createTDXInstance(_0x2dd16d),_0x4ba4eb=await _0x24ae3f[_0x1395ba(0x2fe)]({'options':{..._0x2dd16d,..._0x31a914},'args':_0x8ce367?[_0x8ce367]:[],'tdx':_0x1dfba2});gracefulExit(_0x4ba4eb);}),segmentCmd[a2_0x17025f(0x25f)]('pull\x20[parent_or_file]')[a2_0x17025f(0x221)](a2_0x17025f(0x307))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x17025f(0x355)](async(_0xa10515,_0x72e62f)=>{const _0x2ad949=new SegmentPullCommand(),_0x3e016a=program['opts'](),_0x573544=await createTDXInstance(_0x3e016a),_0x53201b=await _0x2ad949['run']({'options':{..._0x3e016a,..._0x72e62f},'args':_0xa10515?[_0xa10515]:[],'tdx':_0x573544});gracefulExit(_0x53201b);}),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x325))['description'](a2_0x17025f(0x366))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x17025f(0x434)](a2_0x17025f(0x4d2),a2_0x17025f(0x248))['action'](async(_0x29ebd1,_0x4e6421)=>{const _0x354363=a2_0x17025f,_0x40d5e0=new SegmentPushCommand(),_0x427c49=program[_0x354363(0x4af)](),_0xcf9d6e=await createTDXInstance(_0x427c49),_0x44f09f=await _0x40d5e0[_0x354363(0x2fe)]({'options':{..._0x427c49,..._0x4e6421},'args':_0x29ebd1?[_0x29ebd1]:[],'tdx':_0xcf9d6e});gracefulExit(_0x44f09f);}),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1d2))[a2_0x17025f(0x221)](a2_0x17025f(0x293))[a2_0x17025f(0x355)](async(_0x24cf57,_0x638131)=>{const _0x25833d=a2_0x17025f,_0x285410=new SegmentValidateCommand(),_0x10df47=program[_0x25833d(0x4af)](),_0x28fbd0=await createTDXInstance(_0x10df47),_0x4dcd56=await _0x285410['run']({'options':{..._0x10df47,..._0x638131},'args':_0x24cf57?[_0x24cf57]:[],'tdx':_0x28fbd0});gracefulExit(_0x4dcd56);}),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2c3),{'hidden':!![]})[a2_0x17025f(0x221)](a2_0x17025f(0x1fc))[a2_0x17025f(0x434)](a2_0x17025f(0x29a),a2_0x17025f(0x267))[a2_0x17025f(0x434)](a2_0x17025f(0x370),a2_0x17025f(0x1b5))['option']('--rule-file\x20<file>',a2_0x17025f(0x349))['option'](a2_0x17025f(0x387),a2_0x17025f(0x2c6))[a2_0x17025f(0x434)](a2_0x17025f(0x4ef),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['option'](a2_0x17025f(0x3ed),a2_0x17025f(0x478))[a2_0x17025f(0x434)]('--no-count-population','Skip\x20population\x20counting')[a2_0x17025f(0x355)](async(_0x30f02e,_0x48e979)=>{const _0x2ee3c7=a2_0x17025f,_0x5c1377=new SegmentCreateCommand(),_0x5d677a=program[_0x2ee3c7(0x4af)](),_0x35ebae=await createTDXInstance(_0x5d677a),_0x39d915=await _0x5c1377[_0x2ee3c7(0x2fe)]({'options':{..._0x5d677a,..._0x48e979},'args':[_0x30f02e],'tdx':_0x35ebae});gracefulExit(_0x39d915);}),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x23b),{'hidden':!![]})['description']('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x17025f(0x434)](a2_0x17025f(0x1bd),a2_0x17025f(0x2d0))['option'](a2_0x17025f(0x29a),'Updated\x20description')['option'](a2_0x17025f(0x370),a2_0x17025f(0x1d9))['option']('--rule-file\x20<file>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x17025f(0x434)](a2_0x17025f(0x387),'Move\x20to\x20folder')[a2_0x17025f(0x434)](a2_0x17025f(0x4ef),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x17025f(0x355)](async(_0x47fc78,_0x503c2e)=>{const _0x3fa215=a2_0x17025f,_0x61e84b=new SegmentUpdateCommand(),_0x4e00af=program[_0x3fa215(0x4af)](),_0x4318b7=await createTDXInstance(_0x4e00af),_0xdaa816=await _0x61e84b['run']({'options':{..._0x4e00af,..._0x503c2e},'args':[_0x47fc78],'tdx':_0x4318b7});gracefulExit(_0xdaa816);});const parentCmd=segmentCmd[a2_0x17025f(0x25f)]('parent',{'hidden':!![]})[a2_0x17025f(0x221)](a2_0x17025f(0x402)),parentListAction=async(_0x14e6b0,_0x2b121b)=>{const _0x489876=a2_0x17025f,_0x2e6278=new ParentSegmentListCommand(),_0x16a01f=program['opts'](),_0x3a82b5=await createTDXInstance(_0x16a01f),_0x49da12=await _0x2e6278[_0x489876(0x2fe)]({'options':{..._0x16a01f,..._0x2b121b},'args':_0x14e6b0?[_0x14e6b0]:[],'tdx':_0x3a82b5});gracefulExit(_0x49da12);};parentCmd['command'](a2_0x17025f(0x30b))[a2_0x17025f(0x221)](a2_0x17025f(0x46f))[a2_0x17025f(0x355)](parentListAction),segmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x504),{'hidden':!![]})[a2_0x17025f(0x221)](a2_0x17025f(0x4d5))['action'](parentListAction),parentCmd['command'](a2_0x17025f(0x2e1))[a2_0x17025f(0x221)](a2_0x17025f(0x384))['option']('-o,\x20--output\x20<file>',a2_0x17025f(0x326))[a2_0x17025f(0x355)](async(_0x1af64b,_0x2a7414)=>{const _0x5ebffb=a2_0x17025f,_0x2b411d=new ParentSegmentPullCommand(),_0x4b87bd=program[_0x5ebffb(0x4af)](),_0x7ff410=await createTDXInstance(_0x4b87bd),_0x4d2671=await _0x2b411d[_0x5ebffb(0x2fe)]({'options':{..._0x4b87bd,..._0x2a7414},'args':_0x1af64b?[_0x1af64b]:[],'tdx':_0x7ff410});gracefulExit(_0x4d2671);}),parentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1d0))[a2_0x17025f(0x221)](a2_0x17025f(0x48f))['action'](async(_0x1c5657,_0x16a2d1)=>{const _0x302a38=a2_0x17025f,_0xaea885=new ParentSegmentPushCommand(),_0x2fc39e=program[_0x302a38(0x4af)](),_0x1ad8fe=await createTDXInstance(_0x2fc39e),_0x5ff5f=await _0xaea885['run']({'options':{..._0x2fc39e,..._0x16a2d1},'args':_0x1c5657?[_0x1c5657]:[],'tdx':_0x1ad8fe});gracefulExit(_0x5ff5f);}),parentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x335))[a2_0x17025f(0x221)](a2_0x17025f(0x2fb))['option'](a2_0x17025f(0x4a1),a2_0x17025f(0x45d))[a2_0x17025f(0x434)]('--attribute\x20[name]',a2_0x17025f(0x40d))[a2_0x17025f(0x434)](a2_0x17025f(0x313),a2_0x17025f(0x1c2))[a2_0x17025f(0x434)](a2_0x17025f(0x473),a2_0x17025f(0x1ec))[a2_0x17025f(0x434)](a2_0x17025f(0x2b8),a2_0x17025f(0x354),a2_0x17025f(0x24a))[a2_0x17025f(0x355)](async(_0x245c2c,_0x1bb2e7)=>{const _0x1e74e8=a2_0x17025f,_0x1522dc=new ParentSegmentValidateCommand(),_0x1d1661=program['opts'](),_0x2c14d2=await createTDXInstance(_0x1d1661),_0x3851bc=await _0x1522dc[_0x1e74e8(0x2fe)]({'options':{..._0x1d1661,..._0x1bb2e7},'args':_0x245c2c?[_0x245c2c]:[],'tdx':_0x2c14d2});gracefulExit(_0x3851bc);}),parentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x501))[a2_0x17025f(0x221)](a2_0x17025f(0x41c))[a2_0x17025f(0x434)](a2_0x17025f(0x4a1),a2_0x17025f(0x2c0))[a2_0x17025f(0x434)](a2_0x17025f(0x430),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x17025f(0x434)](a2_0x17025f(0x313),a2_0x17025f(0x41b))['option'](a2_0x17025f(0x473),a2_0x17025f(0x1ff))[a2_0x17025f(0x434)](a2_0x17025f(0x2b8),a2_0x17025f(0x354),'-1d')[a2_0x17025f(0x355)](async(_0x401c4a,_0x2e4b11)=>{const _0x275412=a2_0x17025f,_0x2363a6=new ParentSegmentPreviewCommand(),_0x543b5f=program[_0x275412(0x4af)](),_0x3929fc=await createTDXInstance(_0x543b5f),_0x3b0a65=await _0x2363a6['run']({'options':{..._0x543b5f,..._0x2e4b11},'args':_0x401c4a?[_0x401c4a]:[],'tdx':_0x3929fc});gracefulExit(_0x3b0a65);}),parentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x368))[a2_0x17025f(0x221)](a2_0x17025f(0x231))[a2_0x17025f(0x355)](async(_0x387653,_0x27075c)=>{const _0x131836=a2_0x17025f,_0x3188a4=new ParentSegmentRunCommand(),_0x436ea8=program['opts'](),_0x2a81e2=await createTDXInstance(_0x436ea8),_0x1d311f=await _0x3188a4[_0x131836(0x2fe)]({'options':{..._0x436ea8,..._0x27075c},'args':_0x387653?[_0x387653]:[],'tdx':_0x2a81e2});gracefulExit(_0x1d311f);});const parentSegmentCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x249))[a2_0x17025f(0x250)]('ps')[a2_0x17025f(0x221)](a2_0x17025f(0x4ca));parentSegmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x30b))[a2_0x17025f(0x221)](a2_0x17025f(0x46f))[a2_0x17025f(0x355)](parentListAction),parentSegmentCmd[a2_0x17025f(0x25f)]('pull\x20[name]')[a2_0x17025f(0x221)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x17025f(0x4eb),a2_0x17025f(0x396))[a2_0x17025f(0x434)](a2_0x17025f(0x426),a2_0x17025f(0x490))[a2_0x17025f(0x355)](async(_0x335dec,_0x931864)=>{const _0x1625a3=a2_0x17025f,_0x49ce51=new ParentSegmentPullCommand(),_0x2b9ea1=program[_0x1625a3(0x4af)](),_0x2a7523=await createTDXInstance(_0x2b9ea1),_0x77355f=await _0x49ce51[_0x1625a3(0x2fe)]({'options':{..._0x2b9ea1,..._0x931864},'args':_0x335dec?[_0x335dec]:[],'tdx':_0x2a7523});gracefulExit(_0x77355f);}),parentSegmentCmd['command']('push\x20[name]')[a2_0x17025f(0x221)](a2_0x17025f(0x4d3))['action'](async(_0x42fadb,_0x928a3b)=>{const _0x38057d=a2_0x17025f,_0x31f0e4=new ParentSegmentPushCommand(),_0x52fd72=program[_0x38057d(0x4af)](),_0x24d7f0=await createTDXInstance(_0x52fd72),_0x7b1c1e=await _0x31f0e4[_0x38057d(0x2fe)]({'options':{..._0x52fd72,..._0x928a3b},'args':_0x42fadb?[_0x42fadb]:[],'tdx':_0x24d7f0});gracefulExit(_0x7b1c1e);}),parentSegmentCmd[a2_0x17025f(0x25f)]('validate\x20[name]')[a2_0x17025f(0x221)](a2_0x17025f(0x2fb))['option'](a2_0x17025f(0x4a1),'Show\x20only\x20master\x20table\x20validation')[a2_0x17025f(0x434)](a2_0x17025f(0x430),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x17025f(0x434)](a2_0x17025f(0x313),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option'](a2_0x17025f(0x473),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x17025f(0x434)](a2_0x17025f(0x2b8),a2_0x17025f(0x354),a2_0x17025f(0x24a))[a2_0x17025f(0x355)](async(_0x2f3c2a,_0x1e241d)=>{const _0x374c8c=new ParentSegmentValidateCommand(),_0x2bb853=program['opts'](),_0x18f28d=await createTDXInstance(_0x2bb853),_0x56131c=await _0x374c8c['run']({'options':{..._0x2bb853,..._0x1e241d},'args':_0x2f3c2a?[_0x2f3c2a]:[],'tdx':_0x18f28d});gracefulExit(_0x56131c);}),parentSegmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x4f1))[a2_0x17025f(0x221)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x17025f(0x434)]('--master',a2_0x17025f(0x2c0))[a2_0x17025f(0x434)](a2_0x17025f(0x430),a2_0x17025f(0x1da))[a2_0x17025f(0x434)](a2_0x17025f(0x313),a2_0x17025f(0x41b))[a2_0x17025f(0x434)](a2_0x17025f(0x473),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option']('--interval\x20<range>',a2_0x17025f(0x354),a2_0x17025f(0x24a))[a2_0x17025f(0x355)](async(_0x2ab36f,_0x3664d6)=>{const _0x472506=a2_0x17025f,_0x5161d6=new ParentSegmentPreviewCommand(),_0x27bb28=program[_0x472506(0x4af)](),_0x35a099=await createTDXInstance(_0x27bb28),_0xf81cb9=await _0x5161d6['run']({'options':{..._0x27bb28,..._0x3664d6},'args':_0x2ab36f?[_0x2ab36f]:[],'tdx':_0x35a099});gracefulExit(_0xf81cb9);}),parentSegmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x368))[a2_0x17025f(0x221)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x17025f(0x355)](async(_0x17efaf,_0x5d1867)=>{const _0x4f6f8b=a2_0x17025f,_0x5cfe3c=new ParentSegmentRunCommand(),_0x1400fb=program['opts'](),_0x4c874f=await createTDXInstance(_0x1400fb),_0x382013=await _0x5cfe3c[_0x4f6f8b(0x2fe)]({'options':{..._0x1400fb,..._0x5d1867},'args':_0x17efaf?[_0x17efaf]:[],'tdx':_0x4c874f});gracefulExit(_0x382013);}),parentSegmentCmd[a2_0x17025f(0x25f)]('fields\x20[name]')[a2_0x17025f(0x221)](a2_0x17025f(0x3b0))[a2_0x17025f(0x434)](a2_0x17025f(0x1c7),a2_0x17025f(0x2b9))[a2_0x17025f(0x434)]('--jsonl',a2_0x17025f(0x1d6))[a2_0x17025f(0x355)](async(_0x1ae76c,_0x569669)=>{const _0x448762=new ParentSegmentFieldsCommand(),_0x11172c=program['opts'](),_0x144ecf=await createTDXInstance(_0x11172c),_0xbe17ec=await _0x448762['run']({'options':{..._0x11172c,..._0x569669},'args':_0x1ae76c?[_0x1ae76c]:[],'tdx':_0x144ecf});gracefulExit(_0xbe17ec);}),parentSegmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x49e))[a2_0x17025f(0x221)](a2_0x17025f(0x2e2))[a2_0x17025f(0x434)](a2_0x17025f(0x22a),'Open\x20parent\x20segment\x20in\x20web\x20browser')['option'](a2_0x17025f(0x1c7),a2_0x17025f(0x2b9))[a2_0x17025f(0x434)](a2_0x17025f(0x3e4),a2_0x17025f(0x1d6))['action'](async(_0xab1bde,_0x1df7e1)=>{const _0x2b745d=a2_0x17025f,_0x66412b=new ParentSegmentViewCommand(),_0x1eda82=program[_0x2b745d(0x4af)](),_0x4012ee=await createTDXInstance(_0x1eda82),_0x1217cb=await _0x66412b[_0x2b745d(0x2fe)]({'options':{..._0x1eda82,..._0x1df7e1},'args':_0xab1bde?[_0xab1bde]:[],'tdx':_0x4012ee});gracefulExit(_0x1217cb);}),parentSegmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x21d))[a2_0x17025f(0x221)](a2_0x17025f(0x2d4))[a2_0x17025f(0x434)]('-o,\x20--output\x20<file>',a2_0x17025f(0x396))['option'](a2_0x17025f(0x1c7),'Output\x20as\x20JSON')[a2_0x17025f(0x434)]('--jsonl',a2_0x17025f(0x1d6))[a2_0x17025f(0x355)](async(_0xebe846,_0x308ec0)=>{const _0x1b8f12=a2_0x17025f,_0x22337a=new ParentSegmentDescCommand(),_0x4eec49=program[_0x1b8f12(0x4af)](),_0x39cc45=await createTDXInstance(_0x4eec49),_0x34d88b=await _0x22337a['run']({'options':{..._0x4eec49,..._0x308ec0},'args':_0xebe846?[_0xebe846]:[],'tdx':_0x39cc45});gracefulExit(_0x34d88b);}),parentSegmentCmd[a2_0x17025f(0x25f)]('sql\x20[name]')['description'](a2_0x17025f(0x4bf))[a2_0x17025f(0x434)]('--json',a2_0x17025f(0x2b9))[a2_0x17025f(0x434)](a2_0x17025f(0x3e4),'Output\x20as\x20JSON\x20Lines')[a2_0x17025f(0x355)](async(_0x2a5806,_0x12951c)=>{const _0x85183=a2_0x17025f,_0x157e58=new ParentSegmentSQLCommand(),_0x1989ba=program['opts'](),_0x5c80f1=await createTDXInstance(_0x1989ba),_0x516651=await _0x157e58[_0x85183(0x2fe)]({'options':{..._0x1989ba,..._0x12951c},'args':_0x2a5806?[_0x2a5806]:[],'tdx':_0x5c80f1});gracefulExit(_0x516651);}),parentSegmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x489))[a2_0x17025f(0x221)](a2_0x17025f(0x1e0))[a2_0x17025f(0x434)](a2_0x17025f(0x2fd),a2_0x17025f(0x314))[a2_0x17025f(0x434)]('--json','Output\x20as\x20JSON')[a2_0x17025f(0x434)](a2_0x17025f(0x3e4),a2_0x17025f(0x1d6))[a2_0x17025f(0x355)](async(_0x594294,_0x107cc0)=>{const _0x4ecbeb=a2_0x17025f,_0x33cd53=new ParentSegmentShowCommand(),_0x9011b=program[_0x4ecbeb(0x4af)](),_0x547a2d=await createTDXInstance(_0x9011b),_0x54fbd2=await _0x33cd53[_0x4ecbeb(0x2fe)]({'options':{..._0x9011b,..._0x107cc0},'args':_0x594294?[_0x594294]:[],'tdx':_0x547a2d});gracefulExit(_0x54fbd2);}),parentSegmentCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x468))[a2_0x17025f(0x221)](a2_0x17025f(0x318))[a2_0x17025f(0x355)](async(_0x52955b,_0x417c03)=>{const _0xd0b8aa=a2_0x17025f,_0x24ba0f=new UseCommand(),_0x346a44=program['opts'](),_0x3eb80e=_0x52955b?[_0xd0b8aa(0x289),_0x52955b]:[],_0x59a0c9=await _0x24ba0f[_0xd0b8aa(0x2fe)]({'options':{..._0x346a44,..._0x417c03},'args':_0x3eb80e,'tdx':null});gracefulExit(_0x59a0c9);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x17025f(0x221)](a2_0x17025f(0x26b));psRtCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x30b))[a2_0x17025f(0x221)](a2_0x17025f(0x2df))['action'](async(_0xf147ab,_0x37b699)=>{const _0x13769a=a2_0x17025f,_0x589a60=new PSRtListCommand(),_0x5b04c3=program[_0x13769a(0x4af)](),_0x2e3036=await createTDXInstance(_0x5b04c3),_0x20699a=await _0x589a60[_0x13769a(0x2fe)]({'options':{..._0x5b04c3,..._0x37b699},'args':_0xf147ab?[_0xf147ab]:[],'tdx':_0x2e3036});gracefulExit(_0x20699a);}),psRtCmd[a2_0x17025f(0x25f)]('validate\x20[name]')[a2_0x17025f(0x221)](a2_0x17025f(0x3ad))[a2_0x17025f(0x355)](async(_0x2f594e,_0x5e54b9)=>{const _0x58e09f=a2_0x17025f,_0x3c48f8=new PSRtValidateCommand(),_0x2dfc67=program[_0x58e09f(0x4af)](),_0x25efd4=await createTDXInstance(_0x2dfc67),_0x38b15f=await _0x3c48f8[_0x58e09f(0x2fe)]({'options':{..._0x2dfc67,..._0x5e54b9},'args':_0x2f594e?[_0x2f594e]:[],'tdx':_0x25efd4});gracefulExit(_0x38b15f);}),psRtCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2a7))[a2_0x17025f(0x221)](a2_0x17025f(0x477))[a2_0x17025f(0x355)](async(_0x534976,_0xde82f)=>{const _0x5dddf2=a2_0x17025f,_0x1a6744=new PSRtConfigVersionCommand(),_0x3ae961=program['opts'](),_0x27d670=await createTDXInstance(_0x3ae961),_0x199347=await _0x1a6744[_0x5dddf2(0x2fe)]({'options':{..._0x3ae961,..._0xde82f},'args':_0x534976?[_0x534976]:[],'tdx':_0x27d670});gracefulExit(_0x199347);});const psRtJnCmd=psRtCmd['command']('jn')[a2_0x17025f(0x221)](a2_0x17025f(0x3a1));psRtJnCmd['command'](a2_0x17025f(0x278))[a2_0x17025f(0x221)](a2_0x17025f(0x376))[a2_0x17025f(0x355)](async(_0x250ae7,_0x5afaac)=>{const _0x10cb9b=a2_0x17025f,_0x596fdc=new PSRtJnListCommand(),_0x527546=program[_0x10cb9b(0x4af)](),_0x58d4f9=await createTDXInstance(_0x527546),_0x3a0ac0=await _0x596fdc[_0x10cb9b(0x2fe)]({'options':{..._0x527546,..._0x5afaac},'args':_0x250ae7?[_0x250ae7]:[],'tdx':_0x58d4f9});gracefulExit(_0x3a0ac0);}),psRtJnCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3c2))[a2_0x17025f(0x221)](a2_0x17025f(0x483))[a2_0x17025f(0x355)](async(_0x340e33,_0x122595)=>{const _0x49d5a4=a2_0x17025f,_0x22e38a=new PSRtJnPauseCommand(),_0x159002=program[_0x49d5a4(0x4af)](),_0x41a95e=await createTDXInstance(_0x159002),_0x35285c=await _0x22e38a[_0x49d5a4(0x2fe)]({'options':{..._0x159002,..._0x122595},'args':[_0x340e33],'tdx':_0x41a95e});gracefulExit(_0x35285c);}),psRtJnCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x4b4))[a2_0x17025f(0x221)](a2_0x17025f(0x498))['action'](async(_0x691ae4,_0x342f63)=>{const _0x249a69=a2_0x17025f,_0x2f4ed4=new PSRtJnResumeCommand(),_0x5a87ba=program[_0x249a69(0x4af)](),_0x5aa1da=await createTDXInstance(_0x5a87ba),_0x2da1b4=await _0x2f4ed4[_0x249a69(0x2fe)]({'options':{..._0x5a87ba,..._0x342f63},'args':[_0x691ae4],'tdx':_0x5aa1da});gracefulExit(_0x2da1b4);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})['description']('RT\x202.0\x20configuration\x20management');parentRtCmd['command'](a2_0x17025f(0x30b))[a2_0x17025f(0x221)](a2_0x17025f(0x2df))[a2_0x17025f(0x355)](async(_0x45f417,_0x33eeea)=>{const _0x143026=a2_0x17025f,_0x141f13=new PSRtListCommand(),_0x2994c5=program[_0x143026(0x4af)](),_0x5f5590=await createTDXInstance(_0x2994c5),_0x3eec1b=await _0x141f13[_0x143026(0x2fe)]({'options':{..._0x2994c5,..._0x33eeea},'args':_0x45f417?[_0x45f417]:[],'tdx':_0x5f5590});gracefulExit(_0x3eec1b);}),parentRtCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x331))[a2_0x17025f(0x221)](a2_0x17025f(0x3ad))[a2_0x17025f(0x355)](async(_0x4e5223,_0x1c6224)=>{const _0x191922=a2_0x17025f,_0x433b70=new PSRtValidateCommand(),_0x16536a=program['opts'](),_0x593501=await createTDXInstance(_0x16536a),_0x2ba0e0=await _0x433b70[_0x191922(0x2fe)]({'options':{..._0x16536a,..._0x1c6224},'args':_0x4e5223?[_0x4e5223]:[],'tdx':_0x593501});gracefulExit(_0x2ba0e0);});const psPzCmd=parentSegmentCmd[a2_0x17025f(0x25f)]('pz')[a2_0x17025f(0x221)](a2_0x17025f(0x471));psPzCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x278))['description'](a2_0x17025f(0x42c))[a2_0x17025f(0x355)](async(_0x4ae729,_0x37bf69)=>{const _0x36e0d8=new PSPzListCommand(),_0x450e1d=program['opts'](),_0x5358b6=await createTDXInstance(_0x450e1d),_0x16e9d0=await _0x36e0d8['run']({'options':{..._0x450e1d,..._0x37bf69},'args':_0x4ae729?[_0x4ae729]:[],'tdx':_0x5358b6});gracefulExit(_0x16e9d0);}),psPzCmd['command'](a2_0x17025f(0x3ec))[a2_0x17025f(0x221)](a2_0x17025f(0x3de))[a2_0x17025f(0x355)](async(_0xb1570,_0x3f097f)=>{const _0x2881d8=a2_0x17025f,_0x7b501d=new PSPzShowCommand(),_0x33970b=program[_0x2881d8(0x4af)](),_0x1822d1=await createTDXInstance(_0x33970b),_0x555dc7=await _0x7b501d[_0x2881d8(0x2fe)]({'options':{..._0x33970b,..._0x3f097f},'args':[_0xb1570],'tdx':_0x1822d1});gracefulExit(_0x555dc7);}),psPzCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x216))[a2_0x17025f(0x221)]('Delete\x20a\x20realtime\x20personalization')[a2_0x17025f(0x355)](async(_0x5a5473,_0x235375)=>{const _0x19cc8a=a2_0x17025f,_0x52ca1d=new PSPzDeleteCommand(),_0x43204b=program[_0x19cc8a(0x4af)](),_0x48acc5=await createTDXInstance(_0x43204b),_0x309e29=await _0x52ca1d['run']({'options':{..._0x43204b,..._0x235375},'args':[_0x5a5473],'tdx':_0x48acc5});gracefulExit(_0x309e29);}),psPzCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x35a))[a2_0x17025f(0x221)]('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')[a2_0x17025f(0x434)](a2_0x17025f(0x20c),'Personalization\x20name')[a2_0x17025f(0x434)](a2_0x17025f(0x29a),a2_0x17025f(0x3b2))['option']('--audience-id\x20<id>',a2_0x17025f(0x400))['option'](a2_0x17025f(0x508),a2_0x17025f(0x4f4))[a2_0x17025f(0x434)](a2_0x17025f(0x469),'Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x17025f(0x434)](a2_0x17025f(0x2b1),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')['action'](async _0x68b8c5=>{const _0x1d268d=a2_0x17025f,_0xb13971=new PSPzCreateCommand(),_0x3b6c35=program[_0x1d268d(0x4af)](),_0x4ed5df=await createTDXInstance(_0x3b6c35),_0x558995=await _0xb13971['run']({'options':{..._0x3b6c35,..._0x68b8c5},'args':[],'tdx':_0x4ed5df});gracefulExit(_0x558995);}),psPzCmd[a2_0x17025f(0x25f)]('patch\x20<personalization_id>')[a2_0x17025f(0x221)]('Update\x20a\x20realtime\x20personalization\x20entity')[a2_0x17025f(0x434)](a2_0x17025f(0x20c),a2_0x17025f(0x341))['option']('--description\x20<text>','Personalization\x20description')['option'](a2_0x17025f(0x469),a2_0x17025f(0x43b))[a2_0x17025f(0x434)](a2_0x17025f(0x2b1),a2_0x17025f(0x496))['action'](async(_0x537cfe,_0x225e64)=>{const _0x3c0552=a2_0x17025f,_0xbd8f1f=new PSPzPatchCommand(),_0x31dd51=program['opts'](),_0x538d1a=await createTDXInstance(_0x31dd51),_0x59e1a3=await _0xbd8f1f[_0x3c0552(0x2fe)]({'options':{..._0x31dd51,..._0x225e64},'args':[_0x537cfe],'tdx':_0x538d1a});gracefulExit(_0x59e1a3);});const psPzServiceCmd=psPzCmd['command']('service')[a2_0x17025f(0x221)](a2_0x17025f(0x33b));psPzServiceCmd[a2_0x17025f(0x25f)]('list\x20[name]')[a2_0x17025f(0x221)](a2_0x17025f(0x3d1))[a2_0x17025f(0x355)](async(_0xb4f3b7,_0x498854)=>{const _0x327ac6=new PSPzServiceListCommand(),_0x56e948=program['opts'](),_0x2678cc=await createTDXInstance(_0x56e948),_0x183e73=await _0x327ac6['run']({'options':{..._0x56e948,..._0x498854},'args':_0xb4f3b7?[_0xb4f3b7]:[],'tdx':_0x2678cc});gracefulExit(_0x183e73);}),psPzServiceCmd[a2_0x17025f(0x25f)]('create\x20<name>\x20[parent_segment]')['description'](a2_0x17025f(0x3a2))[a2_0x17025f(0x434)](a2_0x17025f(0x29a),'Service\x20description')['option'](a2_0x17025f(0x31a),a2_0x17025f(0x3c0))['action'](async(_0x41dfbd,_0x50252b,_0x499633)=>{const _0x36e59c=a2_0x17025f,_0xbe843a=new PSPzServiceCreateCommand(),_0x59d480=program[_0x36e59c(0x4af)](),_0x5ae108=await createTDXInstance(_0x59d480),_0xdc7835=await _0xbe843a[_0x36e59c(0x2fe)]({'options':{..._0x59d480,..._0x499633},'args':_0x50252b?[_0x41dfbd,_0x50252b]:[_0x41dfbd],'tdx':_0x5ae108});gracefulExit(_0xdc7835);}),psPzServiceCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x345))[a2_0x17025f(0x221)]('Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x17025f(0x355)](async(_0x8f3307,_0x5aae21,_0x472bd2)=>{const _0x79cf20=a2_0x17025f,_0x357d05=new PSPzServiceShowCommand(),_0x4af6c4=program[_0x79cf20(0x4af)](),_0x363db6=await createTDXInstance(_0x4af6c4),_0x1cc1b8=await _0x357d05['run']({'options':{..._0x4af6c4,..._0x472bd2},'args':_0x5aae21?[_0x8f3307,_0x5aae21]:[_0x8f3307],'tdx':_0x363db6});gracefulExit(_0x1cc1b8);}),psPzServiceCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3ca))[a2_0x17025f(0x221)](a2_0x17025f(0x1cb))[a2_0x17025f(0x355)](async(_0x24e735,_0x2f37b2,_0x3e39b2)=>{const _0x3148e6=a2_0x17025f,_0x351055=new PSPzServiceDeleteCommand(),_0x3f9392=program['opts'](),_0x5027b1=await createTDXInstance(_0x3f9392),_0x374d68=await _0x351055[_0x3148e6(0x2fe)]({'options':{..._0x3f9392,..._0x3e39b2},'args':_0x2f37b2?[_0x24e735,_0x2f37b2]:[_0x24e735],'tdx':_0x5027b1});gracefulExit(_0x374d68);}),psPzServiceCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3a3))['description']('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x17025f(0x287)](a2_0x17025f(0x4b0),'New\x20service\x20name')[a2_0x17025f(0x434)](a2_0x17025f(0x29a),a2_0x17025f(0x500))[a2_0x17025f(0x355)](async(_0x3b1040,_0x34b778,_0x9a743e)=>{const _0x3f4223=a2_0x17025f,_0x194dba=new PSPzServiceUpdateCommand(),_0x1a7775=program[_0x3f4223(0x4af)](),_0x3b3fba=await createTDXInstance(_0x1a7775),_0x34f248=await _0x194dba[_0x3f4223(0x2fe)]({'options':{..._0x1a7775,..._0x9a743e},'args':_0x34b778?[_0x3b1040,_0x34b778]:[_0x3b1040],'tdx':_0x3b3fba});gracefulExit(_0x34f248);}),psPzServiceCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1e5))['description'](a2_0x17025f(0x32f))[a2_0x17025f(0x355)](async(_0x285c66,_0x3daa2f)=>{const _0x311ea2=a2_0x17025f,_0x2dbfaf=new PSPzInitCommand(),_0xc53417=program['opts'](),_0x1f8d6f=await createTDXInstance(_0xc53417),_0x3e8969=await _0x2dbfaf[_0x311ea2(0x2fe)]({'options':{..._0xc53417,..._0x3daa2f},'args':_0x285c66?[_0x285c66]:[],'tdx':_0x1f8d6f});gracefulExit(_0x3e8969);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x271))[a2_0x17025f(0x221)](a2_0x17025f(0x4c5));psPzServiceTokenCmd['command'](a2_0x17025f(0x266))[a2_0x17025f(0x221)](a2_0x17025f(0x1c4))[a2_0x17025f(0x434)](a2_0x17025f(0x240),a2_0x17025f(0x219))['option']('--description\x20<text>',a2_0x17025f(0x276))['action'](async(_0xcfa9b0,_0x1b1736,_0x449c52,_0x9c5134)=>{const _0x499c1a=a2_0x17025f,_0x149a18=new PSPzServiceTokenCreateCommand(),_0x171b1e=program[_0x499c1a(0x4af)](),_0x5b8341=await createTDXInstance(_0x171b1e),_0x41b120=await _0x149a18[_0x499c1a(0x2fe)]({'options':{..._0x171b1e,..._0x9c5134},'args':_0x449c52?[_0xcfa9b0,_0x1b1736,_0x449c52]:[_0xcfa9b0,_0x1b1736],'tdx':_0x5b8341});gracefulExit(_0x41b120);}),psPzServiceTokenCmd['command'](a2_0x17025f(0x3bb))['description'](a2_0x17025f(0x2bf))[a2_0x17025f(0x355)](async(_0x5a8623,_0x3b21c8,_0x39287a)=>{const _0x23ed85=a2_0x17025f,_0x1cf624=new PSPzServiceTokenDeleteCommand(),_0x594c58=program[_0x23ed85(0x4af)](),_0x3323e2=await createTDXInstance(_0x594c58),_0x5e001a=await _0x1cf624[_0x23ed85(0x2fe)]({'options':{..._0x594c58,..._0x39287a},'args':_0x3b21c8?[_0x5a8623,_0x3b21c8]:[_0x5a8623],'tdx':_0x3323e2});gracefulExit(_0x5e001a);}),parentCmd[a2_0x17025f(0x25f)]('create\x20<name>')[a2_0x17025f(0x221)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x17025f(0x287)]('--database\x20<db>',a2_0x17025f(0x46e))[a2_0x17025f(0x287)](a2_0x17025f(0x502),'Master\x20table\x20name')[a2_0x17025f(0x434)]('--description\x20<text>',a2_0x17025f(0x4da))[a2_0x17025f(0x434)](a2_0x17025f(0x385),a2_0x17025f(0x41e))[a2_0x17025f(0x434)](a2_0x17025f(0x40a),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x17025f(0x434)]('--timezone\x20<tz>','Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x17025f(0x434)](a2_0x17025f(0x2e8),a2_0x17025f(0x2d9))['option'](a2_0x17025f(0x31b),a2_0x17025f(0x1d4))[a2_0x17025f(0x434)](a2_0x17025f(0x1f8),a2_0x17025f(0x374))[a2_0x17025f(0x434)](a2_0x17025f(0x38e),a2_0x17025f(0x2b5))[a2_0x17025f(0x434)]('--customer-group\x20<json>',a2_0x17025f(0x3dc))[a2_0x17025f(0x434)](a2_0x17025f(0x44f),a2_0x17025f(0x463))[a2_0x17025f(0x355)](async(_0x338555,_0x453e0a)=>{const _0x2726f7=a2_0x17025f,_0x2190e3=new ParentSegmentCreateCommand(),_0x555e59=program[_0x2726f7(0x4af)](),_0x30427e=await createTDXInstance(_0x555e59),_0x2a2786=await _0x2190e3[_0x2726f7(0x2fe)]({'options':{..._0x555e59,..._0x453e0a},'args':[_0x338555],'tdx':_0x30427e});gracefulExit(_0x2a2786);}),parentCmd['command'](a2_0x17025f(0x4fb))[a2_0x17025f(0x221)](a2_0x17025f(0x4ce))[a2_0x17025f(0x434)](a2_0x17025f(0x29a),'Updated\x20description')[a2_0x17025f(0x434)](a2_0x17025f(0x385),a2_0x17025f(0x4c9))[a2_0x17025f(0x434)]('--schedule-option\x20<value>',a2_0x17025f(0x3c6))[a2_0x17025f(0x434)](a2_0x17025f(0x242),a2_0x17025f(0x305))[a2_0x17025f(0x434)](a2_0x17025f(0x1f6),a2_0x17025f(0x437))[a2_0x17025f(0x434)](a2_0x17025f(0x43c),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x17025f(0x434)](a2_0x17025f(0x425),a2_0x17025f(0x401))[a2_0x17025f(0x434)]('--add-behaviors-file\x20<file>',a2_0x17025f(0x4b2))[a2_0x17025f(0x355)](async(_0x18bd1a,_0x11817d)=>{const _0x30b155=a2_0x17025f,_0x57216d=new ParentSegmentUpdateCommand(),_0x194613=program[_0x30b155(0x4af)](),_0x1d0f02=await createTDXInstance(_0x194613),_0xd9cec=await _0x57216d[_0x30b155(0x2fe)]({'options':{..._0x194613,..._0x11817d},'args':[_0x18bd1a],'tdx':_0x1d0f02});gracefulExit(_0xd9cec);}),folderCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2aa))['description']('Create\x20segment\x20folder')[a2_0x17025f(0x434)](a2_0x17025f(0x29a),a2_0x17025f(0x495))[a2_0x17025f(0x434)](a2_0x17025f(0x361),a2_0x17025f(0x328))['action'](async(_0x59c14d,_0x3041ef,_0x3bac35)=>{const _0x1842fe=a2_0x17025f,_0x25f606=new SegmentFolderCreateCommand(),_0x4057b2=program[_0x1842fe(0x4af)](),_0x3812c5=await createTDXInstance(_0x4057b2),_0x11625a=await _0x25f606[_0x1842fe(0x2fe)]({'options':{..._0x4057b2,..._0x3bac35},'args':[_0x59c14d,_0x3041ef],'tdx':_0x3812c5});gracefulExit(_0x11625a);}),program[a2_0x17025f(0x25f)](a2_0x17025f(0x206))[a2_0x17025f(0x221)](a2_0x17025f(0x460))[a2_0x17025f(0x355)](async(_0x40c0d0,_0x239949)=>{const _0x57b02d=a2_0x17025f,_0xdf668b=new ActivationsCommand(),_0x44054b=program[_0x57b02d(0x4af)](),_0x512abb=await createTDXInstance(_0x44054b),_0x308095=await _0xdf668b[_0x57b02d(0x2fe)]({'options':{..._0x44054b,..._0x239949},'args':[_0x40c0d0],'tdx':_0x512abb});gracefulExit(_0x308095);});const workflowCmd=program['command'](a2_0x17025f(0x1bc))[a2_0x17025f(0x250)]('wf')[a2_0x17025f(0x221)](a2_0x17025f(0x4a0)),wfProjectCmd=workflowCmd['command'](a2_0x17025f(0x4a8))[a2_0x17025f(0x221)](a2_0x17025f(0x21b)),wfProjectListAction=async(_0x40f1a4,_0x463ab5)=>{const _0x57d404=a2_0x17025f,_0x2ac312=new WorkflowProjectsCommand(),_0x36d7d5=program[_0x57d404(0x4af)](),_0x51553f=await createTDXInstance(_0x36d7d5),_0xcb51f6=await _0x2ac312[_0x57d404(0x2fe)]({'options':{..._0x36d7d5,..._0x463ab5},'args':_0x40f1a4?[_0x40f1a4]:[],'tdx':_0x51553f});gracefulExit(_0xcb51f6);};wfProjectCmd['command'](a2_0x17025f(0x30b))[a2_0x17025f(0x221)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x17025f(0x355)](wfProjectListAction),workflowCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x49c))[a2_0x17025f(0x221)](a2_0x17025f(0x4e1))[a2_0x17025f(0x355)](wfProjectListAction);const wfWorkflowListAction=async(_0x24a356,_0x4c7b7b)=>{const _0x36a7ef=a2_0x17025f,_0x23515a=new WorkflowWorkflowsCommand(),_0x5223cb=program[_0x36a7ef(0x4af)](),_0x1f6c35=await createTDXInstance(_0x5223cb),_0xa1f8e=await _0x23515a[_0x36a7ef(0x2fe)]({'options':{..._0x5223cb,..._0x4c7b7b},'args':_0x24a356?[_0x24a356]:[],'tdx':_0x1f6c35});gracefulExit(_0xa1f8e);};workflowCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x226))[a2_0x17025f(0x221)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x17025f(0x355)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command']('session')[a2_0x17025f(0x221)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x4e0ee1,_0x1fdf0e)=>{const _0x3cee16=a2_0x17025f,_0x378e0f=new WorkflowSessionsCommand(),_0x21a643=program['opts'](),_0x1a9c42=await createTDXInstance(_0x21a643),_0x4832f1=await _0x378e0f[_0x3cee16(0x2fe)]({'options':{..._0x21a643,..._0x1fdf0e},'args':_0x4e0ee1?[_0x4e0ee1]:[],'tdx':_0x1a9c42});gracefulExit(_0x4832f1);};wfSessionCmd[a2_0x17025f(0x25f)]('list\x20[project]')[a2_0x17025f(0x221)](a2_0x17025f(0x4f8))[a2_0x17025f(0x434)](a2_0x17025f(0x1e6),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x17025f(0x434)](a2_0x17025f(0x438),a2_0x17025f(0x4cf))[a2_0x17025f(0x434)](a2_0x17025f(0x454),a2_0x17025f(0x39b))['action'](wfSessionListAction),workflowCmd[a2_0x17025f(0x25f)]('sessions\x20[project]')[a2_0x17025f(0x221)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')[a2_0x17025f(0x434)]('--status\x20<status>',a2_0x17025f(0x25a))[a2_0x17025f(0x434)](a2_0x17025f(0x438),a2_0x17025f(0x4cf))[a2_0x17025f(0x434)](a2_0x17025f(0x454),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x17025f(0x355)](wfSessionListAction);const wfAttemptListAction=async(_0x4bef33,_0x505b45)=>{const _0x2af6dc=a2_0x17025f,_0x2ef3b4=new WorkflowAttemptsCommand(),_0x9bfa2a=program[_0x2af6dc(0x4af)](),_0xa22d33=await createTDXInstance(_0x9bfa2a),_0x35936f=await _0x2ef3b4[_0x2af6dc(0x2fe)]({'options':{..._0x9bfa2a,..._0x505b45},'args':_0x4bef33?[_0x4bef33]:[],'tdx':_0xa22d33});gracefulExit(_0x35936f);},attemptCmd=workflowCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x40e))[a2_0x17025f(0x221)](a2_0x17025f(0x407))['argument'](a2_0x17025f(0x3ce),a2_0x17025f(0x292))['argument'](a2_0x17025f(0x244),a2_0x17025f(0x419))[a2_0x17025f(0x2c2)](a2_0x17025f(0x261),'Task\x20name\x20for\x20logs\x20action')['option'](a2_0x17025f(0x2e5),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x17025f(0x434)](a2_0x17025f(0x4ab),a2_0x17025f(0x351))['option'](a2_0x17025f(0x457),a2_0x17025f(0x4ba))[a2_0x17025f(0x434)](a2_0x17025f(0x397),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x17025f(0x434)]('--force','Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x17025f(0x434)](a2_0x17025f(0x403),a2_0x17025f(0x4fd))[a2_0x17025f(0x355)](async(_0x18b89a,_0x266a73,_0x5269c1,_0x2e24a5)=>{const _0x21e8d3=a2_0x17025f;if(_0x18b89a===_0x21e8d3(0x466)){await wfAttemptListAction(_0x266a73,_0x2e24a5);return;}if(!_0x18b89a){attemptCmd[_0x21e8d3(0x4e5)]();return;}const _0x41faee=program['opts'](),_0x2ca27a=await createTDXInstance(_0x41faee);let _0x5a025c=0x0;if(!_0x266a73){const _0x5a8c81=new WorkflowAttemptCommand();_0x5a025c=await _0x5a8c81[_0x21e8d3(0x2fe)]({'options':{..._0x41faee,..._0x2e24a5},'args':[_0x18b89a],'tdx':_0x2ca27a});}else{if(_0x266a73===_0x21e8d3(0x3e0)){const _0x216d96=new WorkflowLogsCommand();_0x5a025c=await _0x216d96['run']({'options':{..._0x41faee,..._0x2e24a5},'args':_0x5269c1?[_0x18b89a,_0x5269c1]:[_0x18b89a],'tdx':_0x2ca27a});}else{if(_0x266a73===_0x21e8d3(0x34e)){const _0x17bdca=new WorkflowTasksCommand();_0x5a025c=await _0x17bdca[_0x21e8d3(0x2fe)]({'options':{..._0x41faee,..._0x2e24a5},'args':[_0x18b89a],'tdx':_0x2ca27a});}else{if(_0x266a73===_0x21e8d3(0x2ae)){const _0xa15c84=new WorkflowKillCommand();_0x5a025c=await _0xa15c84[_0x21e8d3(0x2fe)]({'options':{..._0x41faee,..._0x2e24a5},'args':[_0x18b89a],'tdx':_0x2ca27a});}else{if(_0x266a73==='retry'){const _0x3be3b0=new WorkflowRetryCommand();_0x5a025c=await _0x3be3b0['run']({'options':{..._0x41faee,..._0x2e24a5},'args':[_0x21e8d3(0x412)+_0x18b89a],'tdx':_0x2ca27a});}else console[_0x21e8d3(0x420)](_0x21e8d3(0x41f)+_0x266a73),console[_0x21e8d3(0x420)](_0x21e8d3(0x49f)),_0x5a025c=0x1;}}}}gracefulExit(_0x5a025c);});attemptCmd['command'](a2_0x17025f(0x202))[a2_0x17025f(0x221)](a2_0x17025f(0x2f0))[a2_0x17025f(0x434)](a2_0x17025f(0x403),'Include\x20retried\x20attempts')[a2_0x17025f(0x355)](wfAttemptListAction),workflowCmd['command'](a2_0x17025f(0x30a))[a2_0x17025f(0x221)](a2_0x17025f(0x432))['option'](a2_0x17025f(0x403),a2_0x17025f(0x35e))['action'](wfAttemptListAction),workflowCmd['command'](a2_0x17025f(0x4c1))[a2_0x17025f(0x221)](a2_0x17025f(0x20a))[a2_0x17025f(0x434)](a2_0x17025f(0x213),a2_0x17025f(0x205))[a2_0x17025f(0x434)](a2_0x17025f(0x29f),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0x17025f(0x434)](a2_0x17025f(0x301),a2_0x17025f(0x363))[a2_0x17025f(0x355)](async(_0x55256b,_0x426148)=>{const _0x29d805=a2_0x17025f,_0x18485b=new WorkflowTimelineCommand(),_0x156940=program[_0x29d805(0x4af)](),_0x36cff5=await createTDXInstance(_0x156940),_0x3893ea=await _0x18485b['run']({'options':{..._0x156940,..._0x426148},'args':_0x55256b?[_0x55256b]:[],'tdx':_0x36cff5});gracefulExit(_0x3893ea);}),workflowCmd['command'](a2_0x17025f(0x220))[a2_0x17025f(0x221)](a2_0x17025f(0x300))[a2_0x17025f(0x434)](a2_0x17025f(0x291),a2_0x17025f(0x2e7))[a2_0x17025f(0x434)](a2_0x17025f(0x397),a2_0x17025f(0x2ff))[a2_0x17025f(0x355)](async(_0x53a5af,_0x47b4e8)=>{const _0x5530c4=a2_0x17025f,_0x26127c=new WorkflowRetryCommand(),_0x568d73=program[_0x5530c4(0x4af)](),_0x17bf9a=await createTDXInstance(_0x568d73),_0x22e486=await _0x26127c['run']({'options':{..._0x568d73,..._0x47b4e8},'args':[_0x53a5af],'tdx':_0x17bf9a});gracefulExit(_0x22e486);}),workflowCmd['command'](a2_0x17025f(0x4a2))[a2_0x17025f(0x221)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x17025f(0x434)](a2_0x17025f(0x3c8),a2_0x17025f(0x492),(_0x391cb7,_0x4e57db=[])=>[..._0x4e57db,_0x391cb7],[])[a2_0x17025f(0x434)](a2_0x17025f(0x2ec),a2_0x17025f(0x2ca))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x3af))[a2_0x17025f(0x355)](async(_0x327106,_0x37f6b2)=>{const _0x11dd77=a2_0x17025f,_0x46453d=new WorkflowRunCommand(),_0x3ce421=program[_0x11dd77(0x4af)](),_0x51e5ff=await createTDXInstance(_0x3ce421),_0x2419a1=await _0x46453d['run']({'options':{..._0x3ce421,..._0x37f6b2},'args':_0x327106?[_0x327106]:[],'tdx':_0x51e5ff});gracefulExit(_0x2419a1);}),workflowCmd[a2_0x17025f(0x25f)]('download\x20<project-name>\x20[output-dir]')[a2_0x17025f(0x221)]('Download\x20workflow\x20project\x20from\x20Treasure\x20AI')[a2_0x17025f(0x434)](a2_0x17025f(0x405),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x17025f(0x355)](async(_0x2f6d7e,_0x3aea95,_0x2b6065)=>{const _0x44fbf8=a2_0x17025f,_0x1153fb=new WorkflowDownloadCommand(),_0x3aa6f2=program[_0x44fbf8(0x4af)](),_0x3f06aa=await createTDXInstance(_0x3aa6f2),_0x5f44e4=await _0x1153fb['run']({'options':{..._0x3aa6f2,..._0x2b6065},'args':[_0x2f6d7e,_0x3aea95||'.'],'tdx':_0x3f06aa});gracefulExit(_0x5f44e4);}),workflowCmd['command'](a2_0x17025f(0x24c))[a2_0x17025f(0x221)](a2_0x17025f(0x3fa))[a2_0x17025f(0x434)](a2_0x17025f(0x405),a2_0x17025f(0x4ed))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x1b8))[a2_0x17025f(0x355)](async(_0x5dfd4f,_0x152bae,_0x24347f)=>{const _0x4b9dba=a2_0x17025f,_0xdf719f=new WorkflowPullCommand(),_0x37289e=program['opts'](),_0x423c8a=await createTDXInstance(_0x37289e),_0x273adb=await _0xdf719f[_0x4b9dba(0x2fe)]({'options':{..._0x37289e,..._0x24347f},'args':_0x152bae?[_0x5dfd4f,_0x152bae]:[_0x5dfd4f],'tdx':_0x423c8a});gracefulExit(_0x273adb);}),workflowCmd['command'](a2_0x17025f(0x46b))[a2_0x17025f(0x221)](a2_0x17025f(0x22d))['option'](a2_0x17025f(0x405),a2_0x17025f(0x3ef))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x499))[a2_0x17025f(0x434)](a2_0x17025f(0x450),'Skip\x20validation\x20of\x20.dig\x20files')['option']('--backfill','Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)')[a2_0x17025f(0x355)](async(_0x513d0f,_0x320c7b)=>{const _0x504836=a2_0x17025f,_0x4d2e30=new WorkflowPushCommand(),_0x1fe731=program['opts'](),_0x2f48ae=await createTDXInstance(_0x1fe731),_0x65d69f=await _0x4d2e30[_0x504836(0x2fe)]({'options':{..._0x1fe731,..._0x320c7b},'args':_0x513d0f?[_0x513d0f]:[],'tdx':_0x2f48ae});gracefulExit(_0x65d69f);}),workflowCmd['command'](a2_0x17025f(0x31e))['description'](a2_0x17025f(0x4b5))[a2_0x17025f(0x434)](a2_0x17025f(0x4b0),a2_0x17025f(0x2a6))[a2_0x17025f(0x434)](a2_0x17025f(0x405),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x17025f(0x434)]('--skip-validation',a2_0x17025f(0x3d6))['action'](async(_0x25b4bf,_0x579a86)=>{const _0x1b8641=a2_0x17025f,_0x20a721=new WorkflowUploadCommand(),_0x273428=program['opts'](),_0x583f73=await createTDXInstance(_0x273428),_0x34a106=await _0x20a721[_0x1b8641(0x2fe)]({'options':{..._0x273428,..._0x579a86},'args':_0x25b4bf?[_0x25b4bf]:[],'tdx':_0x583f73});gracefulExit(_0x34a106);}),workflowCmd[a2_0x17025f(0x25f)]('clone\x20[source-dir]')['description'](a2_0x17025f(0x208))[a2_0x17025f(0x434)](a2_0x17025f(0x4b0),'Name\x20for\x20the\x20new\x20project\x20(required)')['option']('--revision\x20<revision>',a2_0x17025f(0x3ef))[a2_0x17025f(0x434)]('--dry-run',a2_0x17025f(0x27c))[a2_0x17025f(0x434)](a2_0x17025f(0x450),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x17025f(0x355)](async(_0x1d5f4c,_0x1d77e7)=>{const _0x470f2f=new WorkflowCloneCommand(),_0x41dbab=program['opts'](),_0x1f3cb6=await createTDXInstance(_0x41dbab),_0x2b00b8=await _0x470f2f['run']({'options':{..._0x41dbab,..._0x1d77e7},'args':_0x1d5f4c?[_0x1d5f4c]:[],'tdx':_0x1f3cb6});gracefulExit(_0x2b00b8);}),workflowCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3bf))[a2_0x17025f(0x221)](a2_0x17025f(0x4c7))[a2_0x17025f(0x355)](async(_0x2e8eab,_0x515c3e)=>{const _0x2337d9=a2_0x17025f,_0x140f8e=new WorkflowDeleteCommand(),_0x181191=program[_0x2337d9(0x4af)](),_0x490d80=await createTDXInstance(_0x181191),_0x5ce09e=await _0x140f8e['run']({'options':{..._0x181191,..._0x515c3e},'args':[_0x2e8eab],'tdx':_0x490d80});gracefulExit(_0x5ce09e);}),workflowCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x333))[a2_0x17025f(0x221)](a2_0x17025f(0x1f4))[a2_0x17025f(0x434)](a2_0x17025f(0x40c),a2_0x17025f(0x2db))['action'](async(_0x1ac828,_0x45bdb7)=>{const _0xf48d7f=a2_0x17025f,_0x2e1b5f=new WorkflowUseCommand(),_0xe148f1=program[_0xf48d7f(0x4af)](),_0x5c17d6=await createTDXInstance(_0xe148f1),_0x4ded8a=await _0x2e1b5f[_0xf48d7f(0x2fe)]({'options':{..._0xe148f1,..._0x45bdb7},'args':_0x1ac828?[_0x1ac828]:[],'tdx':_0x5c17d6});gracefulExit(_0x4ded8a);});const wfSecretsCmd=workflowCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3b3))['description'](a2_0x17025f(0x36b));wfSecretsCmd['command']('list\x20[project]')['description'](a2_0x17025f(0x481))['action'](async(_0x37a117,_0x5504b1)=>{const _0x33d48e=a2_0x17025f,_0x608c15=new WorkflowSecretsListCommand(),_0x11ee87=program['opts'](),_0x2c90df=await createTDXInstance(_0x11ee87),_0x5365c3=await _0x608c15[_0x33d48e(0x2fe)]({'options':{..._0x11ee87,..._0x5504b1},'args':_0x37a117?[_0x37a117]:[],'tdx':_0x2c90df});gracefulExit(_0x5365c3);}),wfSecretsCmd[a2_0x17025f(0x25f)]('set\x20<args...>')[a2_0x17025f(0x221)](a2_0x17025f(0x2af))['action'](async(_0x453305,_0x526cf6)=>{const _0x5e39d0=a2_0x17025f,_0x36ee32=new WorkflowSecretsSetCommand(),_0x46061e=program['opts'](),_0x3ced1c=await createTDXInstance(_0x46061e),_0x21a04b=await _0x36ee32[_0x5e39d0(0x2fe)]({'options':{..._0x46061e,..._0x526cf6},'args':_0x453305,'tdx':_0x3ced1c});gracefulExit(_0x21a04b);}),wfSecretsCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1de))[a2_0x17025f(0x221)](a2_0x17025f(0x410))[a2_0x17025f(0x355)](async(_0x10484f,_0x30b95b)=>{const _0x41b813=a2_0x17025f,_0x185130=new WorkflowSecretsDeleteCommand(),_0x24d15a=program[_0x41b813(0x4af)](),_0x1566d1=await createTDXInstance(_0x24d15a),_0x362843=await _0x185130[_0x41b813(0x2fe)]({'options':{..._0x24d15a,..._0x30b95b},'args':_0x10484f,'tdx':_0x1566d1});gracefulExit(_0x362843);});const wfScheduleCmd=workflowCmd[a2_0x17025f(0x25f)]('schedule')[a2_0x17025f(0x221)](a2_0x17025f(0x442));wfScheduleCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3e1))[a2_0x17025f(0x221)]('Enable\x20a\x20disabled\x20workflow\x20schedule')['option'](a2_0x17025f(0x1f0),a2_0x17025f(0x493))[a2_0x17025f(0x434)](a2_0x17025f(0x1b7),'Resume\x20scheduling\x20from\x20this\x20time\x20instead\x20of\x20the\x20schedule\x20definition\x20(ISO-8601,\x20e.g.\x202026-12-31T23:59:00+00:00)')['action'](async(_0x30d9af,_0x461409)=>{const _0x579eb2=a2_0x17025f,_0x9f3d9a=new WorkflowScheduleEnableCommand(),_0x196c9b=program[_0x579eb2(0x4af)](),_0x37931b=await createTDXInstance(_0x196c9b),_0x1400b8=await _0x9f3d9a[_0x579eb2(0x2fe)]({'options':{..._0x196c9b,..._0x461409},'args':[_0x30d9af],'tdx':_0x37931b});gracefulExit(_0x1400b8);}),wfScheduleCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x283))[a2_0x17025f(0x221)](a2_0x17025f(0x427))[a2_0x17025f(0x355)](async(_0x143feb,_0x56e280)=>{const _0x1127ef=a2_0x17025f,_0x1cca8a=new WorkflowScheduleDisableCommand(),_0x194c40=program[_0x1127ef(0x4af)](),_0x4f171e=await createTDXInstance(_0x194c40),_0x49046b=await _0x1cca8a['run']({'options':{..._0x194c40,..._0x56e280},'args':[_0x143feb],'tdx':_0x4f171e});gracefulExit(_0x49046b);});const wfSchedulesListAction=async(_0x7d3fe2,_0x269a40)=>{const _0xb757f1=a2_0x17025f,_0xf3b76e=new WorkflowSchedulesCommand(),_0x238858=program[_0xb757f1(0x4af)](),_0x53ee8f=await createTDXInstance(_0x238858),_0x1556b6=await _0xf3b76e[_0xb757f1(0x2fe)]({'options':{..._0x238858,..._0x269a40},'args':_0x7d3fe2?[_0x7d3fe2]:[],'tdx':_0x53ee8f});gracefulExit(_0x1556b6);};wfScheduleCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3ba))[a2_0x17025f(0x221)]('List\x20workflow\x20schedules\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x17025f(0x434)]('--schedule-id\x20<id>',a2_0x17025f(0x1dc))['action'](wfSchedulesListAction),workflowCmd[a2_0x17025f(0x25f)]('schedules\x20[project.workflow]')[a2_0x17025f(0x221)](a2_0x17025f(0x302))['option'](a2_0x17025f(0x4ad),'Show\x20a\x20single\x20schedule\x20by\x20its\x20ID')[a2_0x17025f(0x355)](wfSchedulesListAction);const jobCmd=program['command'](a2_0x17025f(0x2d7))[a2_0x17025f(0x221)]('Job\x20management\x20commands'),jobListAction=async _0x5017ef=>{const _0x13fc34=a2_0x17025f,_0x1b66ed=new JobListCommand(),_0x5b032a=program[_0x13fc34(0x4af)](),_0x37d326=await createTDXInstance(_0x5b032a),_0x2eb414=await _0x1b66ed[_0x13fc34(0x2fe)]({'options':{..._0x5b032a,..._0x5017ef},'args':[],'tdx':_0x37d326});gracefulExit(_0x2eb414);};jobCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x466))[a2_0x17025f(0x221)]('List\x20jobs')['option']('--status\x20<status>',a2_0x17025f(0x1ca))[a2_0x17025f(0x355)](jobListAction),program[a2_0x17025f(0x25f)](a2_0x17025f(0x2cc),{'hidden':!![]})['description']('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x17025f(0x434)](a2_0x17025f(0x1e6),a2_0x17025f(0x1ca))[a2_0x17025f(0x355)](jobListAction),jobCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x38c))[a2_0x17025f(0x221)](a2_0x17025f(0x3d2))[a2_0x17025f(0x355)](async(_0x1a8f6e,_0x295d9f)=>{const _0x40fe8c=a2_0x17025f,_0x5864a3=new JobShowCommand(),_0xa0b467=program['opts'](),_0x1541f2=await createTDXInstance(_0xa0b467),_0x43ab37=await _0x5864a3[_0x40fe8c(0x2fe)]({'options':{..._0xa0b467,..._0x295d9f},'args':[_0x1a8f6e],'tdx':_0x1541f2});gracefulExit(_0x43ab37);}),jobCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x252))[a2_0x17025f(0x221)](a2_0x17025f(0x4c2))[a2_0x17025f(0x355)](async(_0x24c285,_0x2a5ab7)=>{const _0x37ff59=a2_0x17025f,_0x4e1693=new JobKillCommand(),_0x15e066=program[_0x37ff59(0x4af)](),_0x1d5499=await createTDXInstance(_0x15e066),_0xec32a9=await _0x4e1693[_0x37ff59(0x2fe)]({'options':{..._0x15e066,..._0x2a5ab7},'args':[_0x24c285],'tdx':_0x1d5499});gracefulExit(_0xec32a9);}),jobCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3f9))[a2_0x17025f(0x221)]('Submit\x20a\x20job')[a2_0x17025f(0x434)](a2_0x17025f(0x218),a2_0x17025f(0x38d),'trino')[a2_0x17025f(0x434)](a2_0x17025f(0x338),a2_0x17025f(0x344))[a2_0x17025f(0x434)](a2_0x17025f(0x1c1),'Database\x20name\x20(default:\x20information_schema)',a2_0x17025f(0x3a8))[a2_0x17025f(0x434)](a2_0x17025f(0x264),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x17025f(0x355)](async(_0x674215,_0x50a9b8)=>{const _0x572f18=a2_0x17025f,_0x2d08cb=new JobSubmitCommand(),_0x639c1e=program[_0x572f18(0x4af)](),_0x23f17b=await createTDXInstance(_0x639c1e),_0x3fa496=await _0x2d08cb['run']({'options':{..._0x639c1e,..._0x50a9b8},'args':_0x674215?[_0x674215]:[],'tdx':_0x23f17b});gracefulExit(_0x3fa496);}),jobCmd['command'](a2_0x17025f(0x360))[a2_0x17025f(0x221)](a2_0x17025f(0x3a9))[a2_0x17025f(0x355)](async(_0x30952c,_0x3996a5)=>{const _0x4fc8c6=a2_0x17025f,_0x448b05=new JobResultCommand(),_0x797c25=program[_0x4fc8c6(0x4af)](),_0x43c009=await createTDXInstance(_0x797c25),_0x2ef78a=await _0x448b05[_0x4fc8c6(0x2fe)]({'options':{..._0x797c25,..._0x3996a5},'args':[_0x30952c],'tdx':_0x43c009});gracefulExit(_0x2ef78a);});const scheduleCmd=jobCmd['command'](a2_0x17025f(0x285))['description'](a2_0x17025f(0x22e));scheduleCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x30b))['description'](a2_0x17025f(0x3a5))['action'](async(_0x1e7425,_0x9c177f)=>{const _0x39ceec=a2_0x17025f,_0x455857=new ScheduleListCommand(),_0x48d598=program[_0x39ceec(0x4af)](),_0x4c2eb6=await createTDXInstance(_0x48d598),_0x2d4f5a=await _0x455857['run']({'options':{..._0x48d598,..._0x9c177f},'args':_0x1e7425?[_0x1e7425]:[],'tdx':_0x4c2eb6});gracefulExit(_0x2d4f5a);}),scheduleCmd['command'](a2_0x17025f(0x367))[a2_0x17025f(0x221)](a2_0x17025f(0x4a3))[a2_0x17025f(0x355)](async(_0x335fb4,_0x2fe2a9)=>{const _0x5e1c2d=a2_0x17025f,_0x3ce152=new ScheduleShowCommand(),_0x43f411=program[_0x5e1c2d(0x4af)](),_0x2952db=await createTDXInstance(_0x43f411),_0x3befe0=await _0x3ce152['run']({'options':{..._0x43f411,..._0x2fe2a9},'args':[_0x335fb4],'tdx':_0x2952db});gracefulExit(_0x3befe0);}),scheduleCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2c1))[a2_0x17025f(0x221)](a2_0x17025f(0x1f5))[a2_0x17025f(0x434)]('-d,\x20--database\x20<db>','Database\x20name\x20(required)')[a2_0x17025f(0x434)]('--in\x20<db>',a2_0x17025f(0x1fb))[a2_0x17025f(0x287)](a2_0x17025f(0x338),a2_0x17025f(0x344))[a2_0x17025f(0x434)]('--type\x20<type>',a2_0x17025f(0x435),a2_0x17025f(0x2d2))['option'](a2_0x17025f(0x1ee),a2_0x17025f(0x398))['option']('--timezone\x20<tz>',a2_0x17025f(0x281))[a2_0x17025f(0x434)](a2_0x17025f(0x33a),a2_0x17025f(0x20d))[a2_0x17025f(0x434)](a2_0x17025f(0x230),a2_0x17025f(0x310))[a2_0x17025f(0x434)](a2_0x17025f(0x37f),a2_0x17025f(0x330))[a2_0x17025f(0x434)]('--engine-version\x20<version>','Query\x20engine\x20version')[a2_0x17025f(0x434)]('--result\x20<url>',a2_0x17025f(0x4b3))[a2_0x17025f(0x355)](async(_0x5eea45,_0x5a9315)=>{const _0x1e54a5=a2_0x17025f,_0x139af7=new ScheduleCreateCommand(),_0x47581e=program[_0x1e54a5(0x4af)](),_0x3b20de=await createTDXInstance(_0x47581e);_0x5a9315['in']&&(_0x5a9315[_0x1e54a5(0x1e7)]=_0x5a9315['in']);const _0x3ac982=await _0x139af7['run']({'options':{..._0x47581e,..._0x5a9315},'args':[_0x5eea45],'tdx':_0x3b20de});gracefulExit(_0x3ac982);}),scheduleCmd['command'](a2_0x17025f(0x4fb))['description'](a2_0x17025f(0x353))[a2_0x17025f(0x434)]('-d,\x20--database\x20<db>',a2_0x17025f(0x2d6))['option'](a2_0x17025f(0x3da),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option']('-f,\x20--file\x20<path>',a2_0x17025f(0x344))[a2_0x17025f(0x434)](a2_0x17025f(0x448),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x17025f(0x434)](a2_0x17025f(0x1ee),a2_0x17025f(0x398))[a2_0x17025f(0x434)](a2_0x17025f(0x242),a2_0x17025f(0x2a5))[a2_0x17025f(0x434)](a2_0x17025f(0x33a),a2_0x17025f(0x20d))[a2_0x17025f(0x434)](a2_0x17025f(0x230),a2_0x17025f(0x310))['option'](a2_0x17025f(0x37f),a2_0x17025f(0x330))[a2_0x17025f(0x434)]('--engine-version\x20<version>','Query\x20engine\x20version')[a2_0x17025f(0x434)](a2_0x17025f(0x1cd),'Result\x20output\x20destination\x20URL')[a2_0x17025f(0x355)](async(_0x30ea99,_0x5677cc)=>{const _0x2e119a=a2_0x17025f,_0x608455=new ScheduleUpdateCommand(),_0x1268bf=program[_0x2e119a(0x4af)](),_0x51b00e=await createTDXInstance(_0x1268bf);_0x5677cc['in']&&(_0x5677cc[_0x2e119a(0x1e7)]=_0x5677cc['in']);const _0x4cab8c=await _0x608455[_0x2e119a(0x2fe)]({'options':{..._0x1268bf,..._0x5677cc},'args':[_0x30ea99],'tdx':_0x51b00e});gracefulExit(_0x4cab8c);}),scheduleCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3e3))[a2_0x17025f(0x221)](a2_0x17025f(0x224))[a2_0x17025f(0x355)](async(_0x440925,_0x59d8d4)=>{const _0x4b4da7=a2_0x17025f,_0x3b93c1=new ScheduleDeleteCommand(),_0x3da70a=program['opts'](),_0x309bc4=await createTDXInstance(_0x3da70a),_0x41f1f5=await _0x3b93c1[_0x4b4da7(0x2fe)]({'options':{..._0x3da70a,..._0x59d8d4},'args':[_0x440925],'tdx':_0x309bc4});gracefulExit(_0x41f1f5);}),scheduleCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x211))[a2_0x17025f(0x221)]('Run\x20a\x20scheduled\x20query\x20immediately')['option'](a2_0x17025f(0x229),a2_0x17025f(0x413))[a2_0x17025f(0x434)](a2_0x17025f(0x312),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x17025f(0x355)](async(_0x39f968,_0x532577)=>{const _0x2d3b67=a2_0x17025f,_0x2ccbb6=new ScheduleRunCommand(),_0x26abb9=program[_0x2d3b67(0x4af)](),_0x3f6360=await createTDXInstance(_0x26abb9),_0x5740ad=await _0x2ccbb6[_0x2d3b67(0x2fe)]({'options':{..._0x26abb9,..._0x532577},'args':[_0x39f968],'tdx':_0x3f6360});gracefulExit(_0x5740ad);}),scheduleCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2c4))[a2_0x17025f(0x221)](a2_0x17025f(0x42e))[a2_0x17025f(0x434)](a2_0x17025f(0x275),a2_0x17025f(0x203))[a2_0x17025f(0x434)](a2_0x17025f(0x3bd),a2_0x17025f(0x491))['action'](async(_0x33c41e,_0x37c557)=>{const _0x5b5352=a2_0x17025f,_0x218334=new ScheduleHistoryCommand(),_0x1daf19=program[_0x5b5352(0x4af)](),_0x2729ad=await createTDXInstance(_0x1daf19),_0x53c7b2=await _0x218334[_0x5b5352(0x2fe)]({'options':{..._0x1daf19,..._0x37c557},'args':[_0x33c41e],'tdx':_0x2729ad});gracefulExit(_0x53c7b2);});const llmCmd=program[a2_0x17025f(0x25f)]('llm')[a2_0x17025f(0x221)](a2_0x17025f(0x1e4));llmCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x45b))[a2_0x17025f(0x221)](a2_0x17025f(0x43f))['action'](async(_0x150d28,_0x8815e2)=>{const _0x3ec39b=a2_0x17025f,_0x509fed=new LLMUseCommand(),_0x6928bf=program[_0x3ec39b(0x4af)](),_0x5e3a09=await createTDXInstance(_0x6928bf),_0x416bb0=await _0x509fed[_0x3ec39b(0x2fe)]({'options':{..._0x6928bf,..._0x8815e2},'args':[_0x150d28],'tdx':_0x5e3a09});gracefulExit(_0x416bb0);}),llmCmd[a2_0x17025f(0x25f)]('models')[a2_0x17025f(0x221)](a2_0x17025f(0x4c6))['action'](async _0x1c525c=>{const _0x5877ba=a2_0x17025f,_0x332a5b=new LLMModelsCommand(),_0x323a99=program[_0x5877ba(0x4af)](),_0x3b0da7=await createTDXInstance(_0x323a99),_0x365027=await _0x332a5b[_0x5877ba(0x2fe)]({'options':{..._0x323a99,..._0x1c525c},'args':[],'tdx':_0x3b0da7});gracefulExit(_0x365027);});const projectCmd=llmCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x4a8))[a2_0x17025f(0x221)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x5a4ec6,_0x1fe161)=>{const _0x39b942=a2_0x17025f,_0x3950fd=new LLMProjectsCommand(),_0x582dcb=program[_0x39b942(0x4af)](),_0x1f6bd4=await createTDXInstance(_0x582dcb),_0x566d5a=await _0x3950fd[_0x39b942(0x2fe)]({'options':{..._0x582dcb,..._0x1fe161},'args':_0x5a4ec6?[_0x5a4ec6]:[],'tdx':_0x1f6bd4});gracefulExit(_0x566d5a);};projectCmd['command'](a2_0x17025f(0x30b))[a2_0x17025f(0x221)](a2_0x17025f(0x37d))[a2_0x17025f(0x355)](llmProjectListAction),llmCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x49c))[a2_0x17025f(0x221)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](llmProjectListAction),projectCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2c1))[a2_0x17025f(0x221)](a2_0x17025f(0x35f))[a2_0x17025f(0x434)](a2_0x17025f(0x29a),'Project\x20description')[a2_0x17025f(0x355)](async(_0x5667f7,_0x20dd0e)=>{const _0x31e524=a2_0x17025f,_0x4dc480=new LLMProjectCreateCommand(),_0x27b0e2=program[_0x31e524(0x4af)](),_0x29f094=await createTDXInstance(_0x27b0e2),_0x2b3ea2=await _0x4dc480['run']({'options':{..._0x27b0e2,..._0x20dd0e},'args':[_0x5667f7],'tdx':_0x29f094});gracefulExit(_0x2b3ea2);}),projectCmd[a2_0x17025f(0x25f)]('delete\x20<name>')['description']('Delete\x20an\x20LLM\x20project')[a2_0x17025f(0x355)](async(_0x76b1df,_0x15ef60)=>{const _0x3352b9=a2_0x17025f,_0x37951e=new LLMProjectDeleteCommand(),_0x104cc2=program['opts'](),_0x489cec=await createTDXInstance(_0x104cc2),_0x9a48ce=await _0x37951e[_0x3352b9(0x2fe)]({'options':{..._0x104cc2,..._0x15ef60},'args':[_0x76b1df],'tdx':_0x489cec});gracefulExit(_0x9a48ce);}),projectCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1f2))[a2_0x17025f(0x221)](a2_0x17025f(0x388))['option'](a2_0x17025f(0x35b),a2_0x17025f(0x1be))[a2_0x17025f(0x434)]('--dry-run',a2_0x17025f(0x3f2))[a2_0x17025f(0x355)](async(_0x4f30c8,_0x168ab2)=>{const _0x20c9be=a2_0x17025f,_0x3b48c4=new LLMProjectBackupCommand(),_0x13227b=program[_0x20c9be(0x4af)](),_0x52400f=await createTDXInstance(_0x13227b),_0x33ce3e=await _0x3b48c4['run']({'options':{..._0x13227b,..._0x168ab2},'args':[_0x4f30c8],'tdx':_0x52400f});gracefulExit(_0x33ce3e);}),projectCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x507))['description'](a2_0x17025f(0x2c9))[a2_0x17025f(0x434)](a2_0x17025f(0x34d),a2_0x17025f(0x2cb))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x4c8))[a2_0x17025f(0x355)](async(_0x293925,_0x599ae0)=>{const _0x42f64a=a2_0x17025f,_0xa037b0=new LLMProjectRestoreCommand(),_0x1149c1=program[_0x42f64a(0x4af)](),_0x20e542=await createTDXInstance(_0x1149c1),_0x569c88=await _0xa037b0[_0x42f64a(0x2fe)]({'options':{..._0x1149c1,..._0x599ae0},'args':[_0x293925],'tdx':_0x20e542});gracefulExit(_0x569c88);});const llmAgentListAction=async(_0xc9f7bc,_0x2e4a4f)=>{const _0x9b9926=new LLMAgentsCommand(),_0x3163dd=program['opts'](),_0x3dfc14=await createTDXInstance(_0x3163dd),_0x36115d=await _0x9b9926['run']({'options':{..._0x3163dd,..._0x2e4a4f},'args':_0xc9f7bc?[_0xc9f7bc]:[],'tdx':_0x3dfc14});gracefulExit(_0x36115d);};llmCmd['command'](a2_0x17025f(0x49a))[a2_0x17025f(0x221)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')['action'](llmAgentListAction),program['command'](a2_0x17025f(0x49a))['description']('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')['action'](llmAgentListAction),llmCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x394))[a2_0x17025f(0x221)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x17025f(0x434)](a2_0x17025f(0x494),a2_0x17025f(0x23d))['action'](async(_0x2425d0,_0x13bed1)=>{const _0x3ce1a4=a2_0x17025f,_0x54e730=new LLMHistoryCommand(),_0x110706=program[_0x3ce1a4(0x4af)](),_0xa6a232=await createTDXInstance(_0x110706),_0x5926aa=await _0x54e730['run']({'options':{..._0x110706,..._0x13bed1},'args':_0x2425d0?[_0x2425d0]:[],'tdx':_0xa6a232});gracefulExit(_0x5926aa);});isExperimentalAvailable()&&llmCmd[a2_0x17025f(0x25f)]('log\x20<chat-id>')[a2_0x17025f(0x221)](a2_0x17025f(0x3cf))[a2_0x17025f(0x355)](async(_0x5577e3,_0x2942d9)=>{const _0x23fac7=a2_0x17025f,_0x351a31=new LLMLogCommand(),_0x365329=program[_0x23fac7(0x4af)](),_0x4e5e38=await createTDXInstance(_0x365329),_0x48794c=await _0x351a31[_0x23fac7(0x2fe)]({'options':{..._0x365329,..._0x2942d9},'args':[_0x5577e3],'tdx':_0x4e5e38});gracefulExit(_0x48794c);});program[a2_0x17025f(0x25f)](a2_0x17025f(0x201))[a2_0x17025f(0x455)]('[options]\x20--\x20[claude-code-args...]')[a2_0x17025f(0x221)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x17025f(0x434)](a2_0x17025f(0x1eb),'Continue\x20most\x20recent\x20conversation')[a2_0x17025f(0x434)](a2_0x17025f(0x2cf),'Resume\x20a\x20conversation\x20(shows\x20selector)')['option'](a2_0x17025f(0x439),a2_0x17025f(0x272))[a2_0x17025f(0x365)]()['allowExcessArguments'](!![])[a2_0x17025f(0x3d0)](a2_0x17025f(0x268),'\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')[a2_0x17025f(0x355)](async(_0x472ee4,_0x27fc8e)=>{const _0x24cb1b=a2_0x17025f,_0x77f6f8=program[_0x24cb1b(0x4af)](),_0x5da04d=Array[_0x24cb1b(0x4fe)](_0x472ee4)?_0x472ee4:[];if(_0x5da04d[0x0]===_0x24cb1b(0x391)){const _0x6f1884=new ClaudeStatuslineCommand(),_0x2bcffe=await _0x6f1884[_0x24cb1b(0x2fe)]({'options':{..._0x77f6f8,..._0x27fc8e},'args':_0x5da04d[_0x24cb1b(0x3f7)](0x1),'tdx':null});gracefulExit(_0x2bcffe);}if(_0x5da04d[0x0]==='usage'){const _0x5174f2=new ClaudeUsageCommand(),_0x25fdea=await _0x5174f2[_0x24cb1b(0x2fe)]({'options':{..._0x77f6f8,..._0x27fc8e},'args':_0x5da04d[_0x24cb1b(0x3f7)](0x1),'tdx':null});gracefulExit(_0x25fdea);}const _0x1577fa=new ClaudeCommand(),_0x130503=await createTDXInstance(_0x77f6f8),_0x40e53d=await _0x1577fa['run']({'options':{..._0x77f6f8,..._0x27fc8e},'args':_0x5da04d,'tdx':_0x130503});gracefulExit(_0x40e53d);}),program['command'](a2_0x17025f(0x36c))['description'](a2_0x17025f(0x1d8))['option']('--clear',a2_0x17025f(0x241))[a2_0x17025f(0x434)](a2_0x17025f(0x414),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x17025f(0x355)](async(_0x599aac,_0x1b24a8,_0x4c29bd)=>{const _0x4d3238=a2_0x17025f,_0x146a48=new UseCommand(),_0x144589=program['opts'](),_0x64cbac=[];if(_0x599aac)_0x64cbac[_0x4d3238(0x29b)](_0x599aac);if(_0x1b24a8)_0x64cbac[_0x4d3238(0x29b)](_0x1b24a8);const _0x3b258c=_0x599aac===_0x4d3238(0x316),_0x3a2bbf=_0x3b258c?await createTDXInstance(_0x144589):null,_0x215f07=await _0x146a48['run']({'options':{..._0x144589,..._0x4c29bd},'args':_0x64cbac,'tdx':_0x3a2bbf});gracefulExit(_0x215f07);}),program[a2_0x17025f(0x25f)](a2_0x17025f(0x269))['description'](a2_0x17025f(0x3f0))[a2_0x17025f(0x355)](async _0x204884=>{const _0x1d7e68=a2_0x17025f,_0x504d81=new StatusCommand(),_0x34f37d=program[_0x1d7e68(0x4af)](),_0x236198=await createTDXInstance(_0x34f37d),_0x5798eb=await _0x504d81[_0x1d7e68(0x2fe)]({'options':{..._0x34f37d,..._0x204884},'args':[],'tdx':_0x236198});gracefulExit(_0x5798eb);}),program[a2_0x17025f(0x25f)](a2_0x17025f(0x1bf))[a2_0x17025f(0x221)](a2_0x17025f(0x1c8))[a2_0x17025f(0x434)]('--dry-run','Check\x20for\x20updates\x20without\x20installing')[a2_0x17025f(0x434)](a2_0x17025f(0x4d9),a2_0x17025f(0x2da))[a2_0x17025f(0x434)](a2_0x17025f(0x34f),a2_0x17025f(0x3ab))[a2_0x17025f(0x355)](async(_0x48f16b,_0x428433)=>{const _0x20ef92=a2_0x17025f,_0xf273dd=new UpgradeCommand(),_0x75249e=program[_0x20ef92(0x4af)](),_0x317c5f=await _0xf273dd[_0x20ef92(0x2fe)]({'options':{..._0x75249e,..._0x428433},'args':_0x48f16b?[_0x48f16b]:[],'tdx':null});gracefulExit(_0x317c5f);}),program[a2_0x17025f(0x25f)](a2_0x17025f(0x44a))['description'](a2_0x17025f(0x3c4))[a2_0x17025f(0x434)]('--default','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x17025f(0x355)](async(_0x4b8f93,_0x32f92d)=>{const _0x487c6e=a2_0x17025f,_0xf5fed=new UnsetCommand(),_0x42c1bc=program['opts'](),_0x194b52=await _0xf5fed[_0x487c6e(0x2fe)]({'options':{..._0x42c1bc,..._0x32f92d},'args':[_0x4b8f93],'tdx':null});gracefulExit(_0x194b52);}),program[a2_0x17025f(0x25f)](a2_0x17025f(0x393))[a2_0x17025f(0x221)](a2_0x17025f(0x431))['option']('--last','Show\x20the\x20most\x20recent\x20chat')[a2_0x17025f(0x355)](async _0x3fe404=>{const _0x561884=a2_0x17025f,_0x511bfa=new ChatsCommand(),_0x442f62=program[_0x561884(0x4af)](),_0x29af74=await createTDXInstance(_0x442f62),_0x4a9afe=await _0x511bfa['run']({'options':{..._0x442f62,..._0x3fe404},'args':[],'tdx':_0x29af74});gracefulExit(_0x4a9afe);});const authCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x343))[a2_0x17025f(0x221)]('Authentication\x20management');async function runAuthStatusCommand(_0x31a9f8){const _0x20881c=a2_0x17025f,_0xc91628=new AuthStatusCommand(),_0x24d019=program[_0x20881c(0x4af)](),_0x31f405=await createTDXInstance(_0x24d019),_0xda1d02=await _0xc91628[_0x20881c(0x2fe)]({'options':{..._0x24d019,..._0x31a9f8},'args':[],'tdx':_0x31f405});gracefulExit(_0xda1d02);}authCmd['action'](runAuthStatusCommand),authCmd['command'](a2_0x17025f(0x269))[a2_0x17025f(0x221)](a2_0x17025f(0x3d3))['action'](runAuthStatusCommand);async function authSetupAction(_0x499bb6){const _0x312547=a2_0x17025f,_0x585690=new AuthSetupCommand(),_0x2910b4=program[_0x312547(0x4af)](),_0x4a0a3c=await createTDXInstance(_0x2910b4),_0x245990=await _0x585690[_0x312547(0x2fe)]({'options':{..._0x2910b4,..._0x499bb6},'args':[],'tdx':_0x4a0a3c});gracefulExit(_0x245990);}authCmd['command'](a2_0x17025f(0x479))['description'](a2_0x17025f(0x32d))[a2_0x17025f(0x434)](a2_0x17025f(0x2e6),a2_0x17025f(0x25d))[a2_0x17025f(0x3d0)](a2_0x17025f(0x268),a2_0x17025f(0x2be))['action'](authSetupAction),authCmd['command'](a2_0x17025f(0x3dd),{'hidden':!![]})[a2_0x17025f(0x434)](a2_0x17025f(0x2e6),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x17025f(0x355)](authSetupAction),authCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x4e9))['description'](a2_0x17025f(0x1c5))[a2_0x17025f(0x3d0)](a2_0x17025f(0x268),a2_0x17025f(0x28d))[a2_0x17025f(0x355)](async _0xdf3875=>{const _0x33482f=a2_0x17025f,_0x558737=new AuthClearCommand(),_0x222d09=program[_0x33482f(0x4af)](),_0x2bb745=await _0x558737[_0x33482f(0x2fe)]({'options':{..._0x222d09,..._0xdf3875},'args':[],'tdx':null});gracefulExit(_0x2bb745);});const userCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x3cd))[a2_0x17025f(0x221)](a2_0x17025f(0x48a)),userListAction=async _0x17c7e0=>{const _0x13a41a=a2_0x17025f,_0x433f4a=new UserListCommand(),_0x352cf7=program[_0x13a41a(0x4af)](),_0x376c16=await createTDXInstance(_0x352cf7),_0x19302d=await _0x433f4a['run']({'options':{..._0x352cf7,..._0x17c7e0},'args':[],'tdx':_0x376c16});gracefulExit(_0x19302d);};userCmd['action'](async _0x542ee1=>{const _0x40aed2=a2_0x17025f,_0x133b31=new UserCommand(),_0x13d6ae=program['opts'](),_0x24851a=await createTDXInstance(_0x13d6ae),_0xff4f36=await _0x133b31[_0x40aed2(0x2fe)]({'options':{..._0x13d6ae,..._0x542ee1},'args':[],'tdx':_0x24851a});gracefulExit(_0xff4f36);}),userCmd[a2_0x17025f(0x25f)]('list')[a2_0x17025f(0x221)](a2_0x17025f(0x23c))[a2_0x17025f(0x355)](userListAction),program[a2_0x17025f(0x25f)](a2_0x17025f(0x46a))[a2_0x17025f(0x221)](a2_0x17025f(0x389))[a2_0x17025f(0x355)](userListAction);const policyCmd=program[a2_0x17025f(0x25f)]('policy')[a2_0x17025f(0x221)](a2_0x17025f(0x4ea));policyCmd[a2_0x17025f(0x355)](async _0x2a833b=>{const _0x110b1f=a2_0x17025f,_0x12a8fa=new PolicyCommand(),_0xa48d6c=program[_0x110b1f(0x4af)](),_0xddc2a=await createTDXInstance(_0xa48d6c),_0xeb3ea0=await _0x12a8fa[_0x110b1f(0x2fe)]({'options':{..._0xa48d6c,..._0x2a833b},'args':[],'tdx':_0xddc2a});gracefulExit(_0xeb3ea0);}),policyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x466))[a2_0x17025f(0x221)]('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')[a2_0x17025f(0x355)](async _0x2d7b15=>{const _0x25127f=a2_0x17025f,_0x5c81ac=new PolicyListCommand(),_0x4131f8=program[_0x25127f(0x4af)](),_0x390ced=await createTDXInstance(_0x4131f8),_0x23f38a=await _0x5c81ac['run']({'options':{..._0x4131f8,..._0x2d7b15},'args':[],'tdx':_0x390ced});gracefulExit(_0x23f38a);}),policyCmd[a2_0x17025f(0x25f)]('show\x20<policy>')[a2_0x17025f(0x221)](a2_0x17025f(0x262))[a2_0x17025f(0x355)](async(_0x3ea401,_0x3cd8a4)=>{const _0x540588=a2_0x17025f,_0x1bc44d=new PolicyShowCommand(),_0x2f1230=program[_0x540588(0x4af)](),_0x2aad6c=await createTDXInstance(_0x2f1230),_0x257380=await _0x1bc44d[_0x540588(0x2fe)]({'options':{..._0x2f1230,..._0x3cd8a4},'args':[_0x3ea401],'tdx':_0x2aad6c});gracefulExit(_0x257380);}),program[a2_0x17025f(0x25f)]('profiles')[a2_0x17025f(0x221)](a2_0x17025f(0x46d))[a2_0x17025f(0x355)](async _0x44cc0d=>{const _0x3cde57=a2_0x17025f,_0x4425b6=new ProfilesCommand(),_0x4fb16c=program[_0x3cde57(0x4af)](),_0x3443b3=await _0x4425b6[_0x3cde57(0x2fe)]({'options':{..._0x4fb16c,..._0x44cc0d},'args':[],'tdx':null});gracefulExit(_0x3443b3);});const profileCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x2b0))['description']('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd['action'](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x508b1e=>{const _0x3a1302=a2_0x17025f,_0x35838d=new ProfilesCommand(),_0x551c2b=program['opts'](),_0x18dcef=await _0x35838d[_0x3a1302(0x2fe)]({'options':{..._0x551c2b,..._0x508b1e},'args':[],'tdx':null});gracefulExit(_0x18dcef);};profileCmd[a2_0x17025f(0x25f)]('list')[a2_0x17025f(0x221)](a2_0x17025f(0x46d))[a2_0x17025f(0x355)](profileListAction),profileCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x406))['description'](a2_0x17025f(0x37a))[a2_0x17025f(0x434)](a2_0x17025f(0x2e6),a2_0x17025f(0x25d))[a2_0x17025f(0x434)]('-f,\x20--force',a2_0x17025f(0x417))[a2_0x17025f(0x3d0)](a2_0x17025f(0x268),a2_0x17025f(0x3e5))[a2_0x17025f(0x355)](async(_0x2e8635,_0x49da5e)=>{const _0xb3a822=a2_0x17025f,_0x2791d9=new ProfileCreateCommand(),_0x103c86=program['opts'](),_0x5a2d15=await _0x2791d9[_0xb3a822(0x2fe)]({'options':{..._0x103c86,..._0x49da5e},'args':_0x2e8635?[_0x2e8635]:[],'tdx':null});gracefulExit(_0x5a2d15);});async function profileDeleteAction(_0x3173f6,_0x2f99c5){const _0x32ef84=a2_0x17025f,_0x514a90=new ProfileDeleteCommand(),_0x332792=program[_0x32ef84(0x4af)](),_0x1c25c6=await _0x514a90[_0x32ef84(0x2fe)]({'options':{..._0x332792,..._0x2f99c5},'args':[_0x3173f6],'tdx':null});gracefulExit(_0x1c25c6);}profileCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3e3))[a2_0x17025f(0x221)](a2_0x17025f(0x3f5))[a2_0x17025f(0x3d0)](a2_0x17025f(0x268),a2_0x17025f(0x45f))[a2_0x17025f(0x355)](profileDeleteAction),profileCmd['command']('remove\x20<name>',{'hidden':!![]})[a2_0x17025f(0x355)](profileDeleteAction),profileCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2dd))[a2_0x17025f(0x221)](a2_0x17025f(0x294))[a2_0x17025f(0x3d0)](a2_0x17025f(0x268),a2_0x17025f(0x1c6))[a2_0x17025f(0x355)](async(_0x257a86,_0x1d2569)=>{const _0x390985=a2_0x17025f,_0x1608ea=new ProfileSetCommand(),_0x2c4eca=program[_0x390985(0x4af)](),_0x31c944=await _0x1608ea['run']({'options':{..._0x2c4eca,..._0x1d2569},'args':[_0x257a86],'tdx':null});gracefulExit(_0x31c944);}),profileCmd[a2_0x17025f(0x25f)]('use\x20<name>')[a2_0x17025f(0x221)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')[a2_0x17025f(0x434)]('--default',a2_0x17025f(0x45a))[a2_0x17025f(0x3d0)](a2_0x17025f(0x268),a2_0x17025f(0x42d))[a2_0x17025f(0x355)](async(_0x1dc4dc,_0x42ea81)=>{const _0x9d759b=a2_0x17025f,_0x4a9d6c=new ProfileUseCommand(),_0x1f577c=program[_0x9d759b(0x4af)](),_0x1da26d=await _0x4a9d6c[_0x9d759b(0x2fe)]({'options':{..._0x1f577c,..._0x42ea81},'args':[_0x1dc4dc],'tdx':null});gracefulExit(_0x1da26d);});const engageCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x3fe))[a2_0x17025f(0x221)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x5ab2ac=>{return async(_0x314e10,_0x2766d2)=>{const _0x232a0b=a2_0x1df2,_0x5101a1=new _0x5ab2ac(),_0x19c4d6=program[_0x232a0b(0x4af)](),_0xb9c228=await createTDXInstance(_0x19c4d6),_0x5c836d=await _0x5101a1[_0x232a0b(0x2fe)]({'options':{..._0x19c4d6,..._0x2766d2},'args':[_0x314e10],'tdx':_0xb9c228});gracefulExit(_0x5c836d);};},createEngageNoArgAction=_0x2e28e0=>{return async _0x5329c2=>{const _0x591ab2=a2_0x1df2,_0x2686c6=new _0x2e28e0(),_0x50eb2a=program[_0x591ab2(0x4af)](),_0x9cb8ce=await createTDXInstance(_0x50eb2a),_0x4a43b3=await _0x2686c6[_0x591ab2(0x2fe)]({'options':{..._0x50eb2a,..._0x5329c2},'args':[],'tdx':_0x9cb8ce});gracefulExit(_0x4a43b3);};},createEngageListAction=_0x415803=>{return async(_0x18dad9,_0x35cb03)=>{const _0x2a95d0=a2_0x1df2,_0x424c68=new _0x415803(),_0x2805d1=program[_0x2a95d0(0x4af)](),_0x1f1fa8=await createTDXInstance(_0x2805d1),_0x18dd16=await _0x424c68[_0x2a95d0(0x2fe)]({'options':{..._0x2805d1,..._0x35cb03},'args':_0x18dad9?[_0x18dad9]:[],'tdx':_0x1f1fa8});gracefulExit(_0x18dd16);};},campaignCmd=engageCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x378))['description'](a2_0x17025f(0x2a3));campaignCmd[a2_0x17025f(0x25f)]('list\x20[pattern]')['description'](a2_0x17025f(0x3c1))[a2_0x17025f(0x434)](a2_0x17025f(0x448),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x17025f(0x434)](a2_0x17025f(0x1e6),a2_0x17025f(0x207))['option'](a2_0x17025f(0x2f4),'Workspace\x20name')[a2_0x17025f(0x355)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x288))[a2_0x17025f(0x221)](a2_0x17025f(0x429))[a2_0x17025f(0x434)](a2_0x17025f(0x448),a2_0x17025f(0x34a))[a2_0x17025f(0x434)](a2_0x17025f(0x1e6),a2_0x17025f(0x207))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x355)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x317))[a2_0x17025f(0x221)](a2_0x17025f(0x30c))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x434)](a2_0x17025f(0x265),a2_0x17025f(0x37e))[a2_0x17025f(0x355)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command']('create')['description'](a2_0x17025f(0x3c3))[a2_0x17025f(0x287)](a2_0x17025f(0x4b0),'Campaign\x20name')[a2_0x17025f(0x287)](a2_0x17025f(0x448),a2_0x17025f(0x1ed))['option'](a2_0x17025f(0x2f4),a2_0x17025f(0x422))[a2_0x17025f(0x434)](a2_0x17025f(0x3c5),a2_0x17025f(0x1e1))['option'](a2_0x17025f(0x327),a2_0x17025f(0x1ef))['option']('--email-sender-id\x20<id>','Email\x20sender\x20ID\x20for\x20delivery')[a2_0x17025f(0x434)](a2_0x17025f(0x4d6),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x17025f(0x434)](a2_0x17025f(0x369),a2_0x17025f(0x1f3))['option'](a2_0x17025f(0x242),a2_0x17025f(0x2b6))[a2_0x17025f(0x355)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x17025f(0x20b))[a2_0x17025f(0x221)](a2_0x17025f(0x1cc))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))['option'](a2_0x17025f(0x4b0),'New\x20campaign\x20name')[a2_0x17025f(0x434)](a2_0x17025f(0x3c5),'Campaign\x20description')[a2_0x17025f(0x434)](a2_0x17025f(0x327),a2_0x17025f(0x1ef))[a2_0x17025f(0x434)](a2_0x17025f(0x467),a2_0x17025f(0x243))['option'](a2_0x17025f(0x4d6),a2_0x17025f(0x26e))[a2_0x17025f(0x434)]('--start-at\x20<datetime>',a2_0x17025f(0x1f3))[a2_0x17025f(0x434)](a2_0x17025f(0x242),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command']('delete\x20<name-or-id>')['description'](a2_0x17025f(0x3fc))[a2_0x17025f(0x434)]('--workspace\x20<name>',a2_0x17025f(0x257))[a2_0x17025f(0x434)](a2_0x17025f(0x3d5),a2_0x17025f(0x4ec))[a2_0x17025f(0x355)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x40b))[a2_0x17025f(0x221)](a2_0x17025f(0x4d1))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x355)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x347))['description'](a2_0x17025f(0x3e6))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x355)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command']('resume\x20<name-or-id>')[a2_0x17025f(0x221)](a2_0x17025f(0x29e))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x17025f(0x355)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x17025f(0x25f)]('duplicate\x20<name-or-id>')[a2_0x17025f(0x221)](a2_0x17025f(0x22b))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),'Workspace\x20name')[a2_0x17025f(0x355)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x452))[a2_0x17025f(0x221)](a2_0x17025f(0x2ab))['option'](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x434)](a2_0x17025f(0x4b0),a2_0x17025f(0x329))[a2_0x17025f(0x434)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x17025f(0x3b4),a2_0x17025f(0x1d7))[a2_0x17025f(0x355)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command']('push\x20[target]')[a2_0x17025f(0x221)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns')[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x22f))['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1d2))[a2_0x17025f(0x221)](a2_0x17025f(0x487))['option'](a2_0x17025f(0x47c),a2_0x17025f(0x3e8))[a2_0x17025f(0x355)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x17025f(0x399))[a2_0x17025f(0x221)](a2_0x17025f(0x1c0));alwaysOnCampaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x30b))['description']('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x17025f(0x434)](a2_0x17025f(0x448),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option']('--status\x20<status>',a2_0x17025f(0x1fd))[a2_0x17025f(0x287)]('--workspace\x20<name>',a2_0x17025f(0x422))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x488))[a2_0x17025f(0x221)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')['option'](a2_0x17025f(0x448),a2_0x17025f(0x34a))[a2_0x17025f(0x434)](a2_0x17025f(0x1e6),a2_0x17025f(0x1fd))[a2_0x17025f(0x287)]('--workspace\x20<name>',a2_0x17025f(0x422))[a2_0x17025f(0x355)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x17025f(0x25f)]('show\x20<name-or-id>')[a2_0x17025f(0x221)](a2_0x17025f(0x4a4))[a2_0x17025f(0x287)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x17025f(0x434)](a2_0x17025f(0x265),a2_0x17025f(0x37e))[a2_0x17025f(0x355)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x35a))[a2_0x17025f(0x221)]('Create\x20a\x20new\x20always-on\x20campaign')[a2_0x17025f(0x287)](a2_0x17025f(0x4b0),a2_0x17025f(0x32b))[a2_0x17025f(0x287)](a2_0x17025f(0x448),a2_0x17025f(0x1ed))['requiredOption'](a2_0x17025f(0x2f4),a2_0x17025f(0x422))[a2_0x17025f(0x434)]('--description\x20<desc>',a2_0x17025f(0x1e1))[a2_0x17025f(0x434)](a2_0x17025f(0x327),'Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x17025f(0x434)]('--enable-utm-tracking',a2_0x17025f(0x32e))[a2_0x17025f(0x355)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x17025f(0x25f)]('update\x20<name-or-id>')['description'](a2_0x17025f(0x395))[a2_0x17025f(0x287)]('--workspace\x20<name>',a2_0x17025f(0x422))[a2_0x17025f(0x434)](a2_0x17025f(0x4b0),a2_0x17025f(0x383))[a2_0x17025f(0x434)](a2_0x17025f(0x3c5),a2_0x17025f(0x1e1))['option'](a2_0x17025f(0x327),a2_0x17025f(0x2ea))[a2_0x17025f(0x434)]('--enable-utm-tracking',a2_0x17025f(0x32e))[a2_0x17025f(0x355)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3ff))[a2_0x17025f(0x221)](a2_0x17025f(0x485))[a2_0x17025f(0x287)](a2_0x17025f(0x2f4),'Workspace\x20name\x20(required)')[a2_0x17025f(0x434)](a2_0x17025f(0x3d5),a2_0x17025f(0x4ec))[a2_0x17025f(0x355)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x40b))[a2_0x17025f(0x221)](a2_0x17025f(0x39c))[a2_0x17025f(0x287)](a2_0x17025f(0x2f4),'Workspace\x20name\x20(required)')[a2_0x17025f(0x355)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x347))['description'](a2_0x17025f(0x297))['requiredOption']('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x17025f(0x355)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x37b))['description'](a2_0x17025f(0x3b8))[a2_0x17025f(0x287)](a2_0x17025f(0x2f4),a2_0x17025f(0x422))[a2_0x17025f(0x355)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2ef))[a2_0x17025f(0x221)](a2_0x17025f(0x4cd))[a2_0x17025f(0x287)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x17025f(0x434)](a2_0x17025f(0x3d5),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command']('duplicate\x20<name-or-id>')[a2_0x17025f(0x221)](a2_0x17025f(0x311))[a2_0x17025f(0x287)](a2_0x17025f(0x2f4),a2_0x17025f(0x422))[a2_0x17025f(0x287)]('--name\x20<name>',a2_0x17025f(0x32a))[a2_0x17025f(0x355)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x17025f(0x25f)]('template')['description'](a2_0x17025f(0x2e0));templateCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x30b))[a2_0x17025f(0x221)](a2_0x17025f(0x2d8))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x355)](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x17025f(0x274))[a2_0x17025f(0x221)](a2_0x17025f(0x3b9))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x355)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command'](a2_0x17025f(0x317))['description'](a2_0x17025f(0x34c))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),'Workspace\x20name')['option']('--full',a2_0x17025f(0x37e))[a2_0x17025f(0x355)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x17025f(0x35a))[a2_0x17025f(0x221)](a2_0x17025f(0x36f))[a2_0x17025f(0x287)](a2_0x17025f(0x4b0),a2_0x17025f(0x4a7))[a2_0x17025f(0x287)](a2_0x17025f(0x2e9),a2_0x17025f(0x35c))[a2_0x17025f(0x434)](a2_0x17025f(0x234),a2_0x17025f(0x3e7))[a2_0x17025f(0x434)](a2_0x17025f(0x2f8),'Read\x20HTML\x20template\x20from\x20file')[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x422))[a2_0x17025f(0x434)](a2_0x17025f(0x36d),a2_0x17025f(0x223))['option'](a2_0x17025f(0x27b),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x4dd5ab=>{const _0x53df31=a2_0x17025f;if(![_0x53df31(0x2ba),_0x53df31(0x277)]['includes'](_0x4dd5ab))throw new SDKError(ErrorCode[_0x53df31(0x24b)],'Invalid\x20editor\x20type:\x20'+_0x4dd5ab+_0x53df31(0x433));return _0x4dd5ab;})[a2_0x17025f(0x355)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x20b))[a2_0x17025f(0x221)](a2_0x17025f(0x227))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))['option']('--name\x20<name>','New\x20template\x20name')[a2_0x17025f(0x434)](a2_0x17025f(0x2e9),'Email\x20subject\x20template')['option'](a2_0x17025f(0x234),a2_0x17025f(0x3e7))[a2_0x17025f(0x434)]('--html-file\x20<path>','Read\x20HTML\x20template\x20from\x20file')[a2_0x17025f(0x434)]('--plaintext\x20<text>',a2_0x17025f(0x223))[a2_0x17025f(0x355)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x17025f(0x25f)]('pull\x20[workspace]')[a2_0x17025f(0x221)](a2_0x17025f(0x303))['option'](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x434)](a2_0x17025f(0x4b0),a2_0x17025f(0x212))[a2_0x17025f(0x434)](a2_0x17025f(0x377),'Skip\x20confirmation\x20prompt')[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x1d7))[a2_0x17025f(0x355)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x17025f(0x25f)]('push\x20[target]')[a2_0x17025f(0x221)](a2_0x17025f(0x20f))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x434)](a2_0x17025f(0x377),'Skip\x20confirmation\x20prompt')[a2_0x17025f(0x434)]('--dry-run','Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x17025f(0x355)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command']('validate\x20[target]')['description'](a2_0x17025f(0x44d))[a2_0x17025f(0x434)]('--verbose',a2_0x17025f(0x3e8))[a2_0x17025f(0x355)](createEngageAction(EngageTemplateValidateCommand)),templateCmd['command'](a2_0x17025f(0x3ff))['description'](a2_0x17025f(0x27a))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))['option'](a2_0x17025f(0x3d5),a2_0x17025f(0x4ec))[a2_0x17025f(0x355)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1cf))['description'](a2_0x17025f(0x321));workspaceCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x30b))[a2_0x17025f(0x221)](a2_0x17025f(0x3a6))[a2_0x17025f(0x355)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x17025f(0x25f)]('workspaces\x20[pattern]')['description'](a2_0x17025f(0x28a))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command']('show\x20<name-or-id>')['description'](a2_0x17025f(0x4c0))[a2_0x17025f(0x434)](a2_0x17025f(0x265),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x17025f(0x355)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x35a))['description']('Create\x20a\x20workspace')[a2_0x17025f(0x287)](a2_0x17025f(0x4b0),a2_0x17025f(0x257))[a2_0x17025f(0x434)](a2_0x17025f(0x3c5),a2_0x17025f(0x33c))[a2_0x17025f(0x355)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x20b))['description'](a2_0x17025f(0x4b7))[a2_0x17025f(0x434)](a2_0x17025f(0x4b0),a2_0x17025f(0x1f1))[a2_0x17025f(0x434)](a2_0x17025f(0x3c5),a2_0x17025f(0x33c))[a2_0x17025f(0x355)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command']('delete\x20<name-or-id>')[a2_0x17025f(0x221)](a2_0x17025f(0x3a0))[a2_0x17025f(0x434)]('--yes','Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x17025f(0x25f)]('use\x20<name>')[a2_0x17025f(0x221)](a2_0x17025f(0x1f9))[a2_0x17025f(0x355)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x3cc))[a2_0x17025f(0x221)]('LINE\x20sender\x20account\x20management');function a2_0x1df2(_0x5b47fa,_0x32910b){_0x5b47fa=_0x5b47fa-0x1b5;const _0x2a61e6=a2_0x2a61();let _0x1df2a7=_0x2a61e6[_0x5b47fa];return _0x1df2a7;}lineSenderAccountCmd[a2_0x17025f(0x25f)]('list\x20[pattern]')[a2_0x17025f(0x221)](a2_0x17025f(0x3a7))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x355)](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x17025f(0x25f)]('show\x20<name-or-id>')[a2_0x17025f(0x221)](a2_0x17025f(0x476))[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),'Workspace\x20name')[a2_0x17025f(0x355)](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd['command'](a2_0x17025f(0x2a4))[a2_0x17025f(0x221)](a2_0x17025f(0x295));lineImagemapImageCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2fc))['description'](a2_0x17025f(0x3ae))[a2_0x17025f(0x355)](createEngageAction(EngageLineImagemapImageUploadCommand));const engageMediaCmd=engageCmd['command'](a2_0x17025f(0x232))[a2_0x17025f(0x221)](a2_0x17025f(0x299));engageMediaCmd['command'](a2_0x17025f(0x298))[a2_0x17025f(0x221)](a2_0x17025f(0x21a))['action'](createEngageAction(EngageMediaLsCommand)),engageMediaCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2fc))['description'](a2_0x17025f(0x33d))[a2_0x17025f(0x434)](a2_0x17025f(0x45e),'Destination\x20folder\x20in\x20DAM\x20(default:\x20root)')[a2_0x17025f(0x434)]('--conflict\x20<strategy>',a2_0x17025f(0x4de))['action'](createEngageAction(EngageMediaUploadCommand)),engageMediaCmd[a2_0x17025f(0x25f)]('mkdir\x20<path>')['description'](a2_0x17025f(0x4b8))[a2_0x17025f(0x355)](createEngageAction(EngageMediaMkdirCommand)),engageMediaCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2a2))[a2_0x17025f(0x221)]('Delete\x20a\x20file\x20from\x20Engage\x20DAM')['action'](createEngageAction(EngageMediaRmCommand)),engageMediaCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1d3))[a2_0x17025f(0x221)](a2_0x17025f(0x40f))['action'](createEngageAction(EngageMediaRmdirCommand));const deliveryCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x2de))[a2_0x17025f(0x221)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2f6))[a2_0x17025f(0x221)]('List\x20email\x20senders')[a2_0x17025f(0x434)](a2_0x17025f(0x2f4),a2_0x17025f(0x257))[a2_0x17025f(0x355)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x2ed))['description'](a2_0x17025f(0x320)),connectionListAction=async _0x1fff92=>{const _0x135bda=a2_0x17025f,_0x2e2e12=new ConnectionListCommand(),_0x86b1e8=program[_0x135bda(0x4af)](),_0x1cbbd5=await createTDXInstance(_0x86b1e8),_0x565427=await _0x2e2e12['run']({'options':{..._0x86b1e8,..._0x1fff92},'args':[],'tdx':_0x1cbbd5});gracefulExit(_0x565427);};connectionCmd['command']('list')['description'](a2_0x17025f(0x43a))[a2_0x17025f(0x355)](connectionListAction),program['command'](a2_0x17025f(0x237),{'hidden':!![]})[a2_0x17025f(0x221)](a2_0x17025f(0x3aa))[a2_0x17025f(0x355)](connectionListAction),connectionCmd['command'](a2_0x17025f(0x367))['description'](a2_0x17025f(0x2e4))[a2_0x17025f(0x355)](async(_0x4cc6a7,_0x3da1da)=>{const _0x55198c=a2_0x17025f,_0x611ca5=new ConnectionShowCommand(),_0xe49fc5=program[_0x55198c(0x4af)](),_0x346dbd=await createTDXInstance(_0xe49fc5),_0x520fa4=await _0x611ca5[_0x55198c(0x2fe)]({'options':{..._0xe49fc5,..._0x3da1da},'args':[_0x4cc6a7],'tdx':_0x346dbd});gracefulExit(_0x520fa4);}),connectionCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x36e))['description'](a2_0x17025f(0x2ce))[a2_0x17025f(0x355)](async(_0x238fbd,_0x49138a)=>{const _0x4ce565=a2_0x17025f,_0x243539=new ConnectionSchemaCommand(),_0x3c22c2=program[_0x4ce565(0x4af)](),_0xf7df7c=await createTDXInstance(_0x3c22c2),_0x4e8a77=await _0x243539[_0x4ce565(0x2fe)]({'options':{..._0x3c22c2,..._0x49138a},'args':[_0x238fbd],'tdx':_0xf7df7c});gracefulExit(_0x4e8a77);}),connectionCmd[a2_0x17025f(0x25f)]('types')[a2_0x17025f(0x221)](a2_0x17025f(0x1b6))['action'](async _0x5f24b6=>{const _0x2f7fb5=a2_0x17025f,_0x125fb0=new ConnectionTypesCommand(),_0x27dfed=program[_0x2f7fb5(0x4af)](),_0x186f9d=await createTDXInstance(_0x27dfed),_0x3b1fc0=await _0x125fb0[_0x2f7fb5(0x2fe)]({'options':{..._0x27dfed,..._0x5f24b6},'args':[],'tdx':_0x186f9d});gracefulExit(_0x3b1fc0);}),connectionCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x379))['description'](a2_0x17025f(0x334))[a2_0x17025f(0x355)](async(_0x4c1625,_0x5eb07f)=>{const _0x2d9c30=a2_0x17025f,_0x1e7b92=new ConnectionSettingsCommand(),_0x917f77=program['opts'](),_0x245cb9=await createTDXInstance(_0x917f77),_0x1d102a=await _0x1e7b92[_0x2d9c30(0x2fe)]({'options':{..._0x917f77,..._0x5eb07f},'args':[_0x4c1625],'tdx':_0x245cb9});gracefulExit(_0x1d102a);});const casCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x459))[a2_0x17025f(0x221)](a2_0x17025f(0x3fb));casCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x466))[a2_0x17025f(0x221)](a2_0x17025f(0x2b7))['action'](async _0x235aa3=>{const _0x3ed62f=a2_0x17025f,_0x19e31a=new CASListCommand(),_0x48d7ac=program[_0x3ed62f(0x4af)](),_0x1323a1=await createTDXInstance(_0x48d7ac),_0x46a1f5=await _0x19e31a[_0x3ed62f(0x2fe)]({'options':{..._0x48d7ac,..._0x235aa3},'args':[],'tdx':_0x1323a1});gracefulExit(_0x46a1f5);}),casCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x21d))[a2_0x17025f(0x221)](a2_0x17025f(0x4d0))[a2_0x17025f(0x355)](async(_0x158a70,_0xaf13af)=>{const _0x1938bc=a2_0x17025f,_0x6e099=new CASDescCommand(),_0x29abf6=program['opts'](),_0x27cbf5=await createTDXInstance(_0x29abf6),_0x382097=await _0x6e099[_0x1938bc(0x2fe)]({'options':{..._0x29abf6,..._0xaf13af},'args':_0x158a70?[_0x158a70]:[],'tdx':_0x27cbf5});gracefulExit(_0x382097);}),casCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2e1))[a2_0x17025f(0x221)](a2_0x17025f(0x3a4))[a2_0x17025f(0x434)]('--dir\x20<dir>',a2_0x17025f(0x2b4))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')['action'](async(_0x2c5842,_0x3c3279)=>{const _0x24c1a6=a2_0x17025f,_0x259615=new CASPullCommand(),_0x1242fc=program[_0x24c1a6(0x4af)](),_0x2208a5=await createTDXInstance(_0x1242fc),_0x46e90f=await _0x259615[_0x24c1a6(0x2fe)]({'options':{..._0x1242fc,..._0x3c3279},'args':_0x2c5842?[_0x2c5842]:[],'tdx':_0x2208a5});gracefulExit(_0x46e90f);}),casCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x4ee))['description'](a2_0x17025f(0x309))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x17025f(0x355)](async(_0x123420,_0x40fb48)=>{const _0x8c75e8=a2_0x17025f,_0x3fde7d=new CASPushCommand(),_0x1a9e13=program[_0x8c75e8(0x4af)](),_0x555fe1=await createTDXInstance(_0x1a9e13),_0x28635f=await _0x3fde7d[_0x8c75e8(0x2fe)]({'options':{..._0x1a9e13,..._0x40fb48},'args':_0x123420?[_0x123420]:[],'tdx':_0x555fe1});gracefulExit(_0x28635f);}),casCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x337))[a2_0x17025f(0x221)](a2_0x17025f(0x28c))['option'](a2_0x17025f(0x4fc),a2_0x17025f(0x461))[a2_0x17025f(0x355)](async(_0x407ab3,_0x117cd2)=>{const _0x5cab57=a2_0x17025f,_0x8b0173=new CASPreviewCommand(),_0xe0cacb=program['opts'](),_0x477340=await createTDXInstance(_0xe0cacb),_0x307a0e=await _0x8b0173[_0x5cab57(0x2fe)]({'options':{..._0xe0cacb,..._0x117cd2},'args':[_0x407ab3,_0x117cd2['audience']],'tdx':_0x477340});gracefulExit(_0x307a0e);});const casSgCmd=casCmd[a2_0x17025f(0x25f)]('sg')[a2_0x17025f(0x221)]('Composable\x20segment\x20commands');casSgCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2ac))['description'](a2_0x17025f(0x339))['action'](async(_0xa8341c,_0x246ff5)=>{const _0xbfa02c=a2_0x17025f,_0x3a1a75=new CASSegmentListCommand(),_0x1fe4f0=program[_0xbfa02c(0x4af)](),_0x139e8=await createTDXInstance(_0x1fe4f0),_0x14306d=await _0x3a1a75['run']({'options':{..._0x1fe4f0,..._0x246ff5},'args':_0xa8341c?[_0xa8341c]:[],'tdx':_0x139e8});gracefulExit(_0x14306d);});const journeyCmd=program['command'](a2_0x17025f(0x392))['description']('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x43d4b5,_0x115dd7)=>{const _0x4735c8=a2_0x17025f,_0x2b0845=new JourneyListCommand(),_0x27f73a=program[_0x4735c8(0x4af)](),_0x4d664d=await createTDXInstance(_0x27f73a),_0x4527ce=await _0x2b0845[_0x4735c8(0x2fe)]({'options':{..._0x27f73a,..._0x115dd7},'args':_0x43d4b5?[_0x43d4b5]:[],'tdx':_0x4d664d});gracefulExit(_0x4527ce);};journeyCmd['command']('list\x20[pattern]')[a2_0x17025f(0x221)]('List\x20journeys\x20in\x20current\x20context')[a2_0x17025f(0x355)](journeyListAction),journeyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1e2))['description'](a2_0x17025f(0x41d))[a2_0x17025f(0x434)](a2_0x17025f(0x22a),a2_0x17025f(0x336))[a2_0x17025f(0x434)](a2_0x17025f(0x254),a2_0x17025f(0x342))[a2_0x17025f(0x355)](async(_0x1329c7,_0x4a0176)=>{const _0x1e61ca=a2_0x17025f,_0x31c6ec=new JourneyViewCommand(),_0x435b87=program[_0x1e61ca(0x4af)](),_0x50d8b0=await createTDXInstance(_0x435b87),_0x45dc3c=await _0x31c6ec[_0x1e61ca(0x2fe)]({'options':{..._0x435b87,..._0x4a0176},'args':[_0x1329c7],'tdx':_0x50d8b0});gracefulExit(_0x45dc3c);}),journeyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x358))[a2_0x17025f(0x221)](a2_0x17025f(0x215))[a2_0x17025f(0x434)](a2_0x17025f(0x29d),a2_0x17025f(0x348))[a2_0x17025f(0x434)](a2_0x17025f(0x380),a2_0x17025f(0x386))['option'](a2_0x17025f(0x4d8),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x17025f(0x434)](a2_0x17025f(0x2eb),'Include\x20raw\x20history\x20data\x20in\x20output')['action'](async(_0x3acfb2,_0x32cb62)=>{const _0x13172c=a2_0x17025f,_0x23878a=new JourneyStatsCommand(),_0x4b6beb=program['opts'](),_0x210ebb=await createTDXInstance(_0x4b6beb),_0x48b253=await _0x23878a[_0x13172c(0x2fe)]({'options':{..._0x4b6beb,..._0x32cb62},'args':[_0x3acfb2],'tdx':_0x210ebb});gracefulExit(_0x48b253);}),journeyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x411))[a2_0x17025f(0x221)](a2_0x17025f(0x4ff))[a2_0x17025f(0x434)](a2_0x17025f(0x448),'Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')[a2_0x17025f(0x434)]('--from\x20<date>',a2_0x17025f(0x386))[a2_0x17025f(0x434)]('--to\x20<date>',a2_0x17025f(0x346))['option'](a2_0x17025f(0x2d5),a2_0x17025f(0x2a8),_0x3e2133=>{const _0x58a6fe=a2_0x17025f,_0x58a5da=parseInt(_0x3e2133,0xa);if(isNaN(_0x58a5da))throw new Error(_0x58a6fe(0x49b)+_0x3e2133+'\x22.\x20Must\x20be\x20a\x20number.');return _0x58a5da;})[a2_0x17025f(0x355)](async(_0x3b33f4,_0x5abdfe)=>{const _0x1af890=a2_0x17025f,_0x140d62=new JourneyTrafficCommand(),_0x31bd82=program[_0x1af890(0x4af)](),_0x175810=await createTDXInstance(_0x31bd82),_0x5a43aa=await _0x140d62[_0x1af890(0x2fe)]({'options':{..._0x31bd82,..._0x5abdfe},'args':[_0x3b33f4],'tdx':_0x175810});gracefulExit(_0x5a43aa);}),journeyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x43e))['description'](a2_0x17025f(0x37c))[a2_0x17025f(0x355)](async(_0x1ad8a1,_0x37bac9)=>{const _0x33f16d=a2_0x17025f,_0x378a0b=new JourneyPauseCommand(),_0x4b090b=program[_0x33f16d(0x4af)](),_0xd16f23=await createTDXInstance(_0x4b090b),_0x1a96ac=await _0x378a0b['run']({'options':{..._0x4b090b,..._0x37bac9},'args':[_0x1ad8a1],'tdx':_0xd16f23});gracefulExit(_0x1a96ac);}),journeyCmd[a2_0x17025f(0x25f)]('run\x20<name-or-path>')[a2_0x17025f(0x221)](a2_0x17025f(0x323))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x4d4))[a2_0x17025f(0x355)](async(_0x3f387f,_0x5c3e34)=>{const _0x7875b7=a2_0x17025f,_0x19b39f=new JourneyRunCommand(),_0x49c2f5=program[_0x7875b7(0x4af)](),_0x16e961=await createTDXInstance(_0x49c2f5),_0xe248f6=await _0x19b39f['run']({'options':{..._0x49c2f5,..._0x5c3e34},'args':[_0x3f387f],'tdx':_0x16e961});gracefulExit(_0xe248f6);}),journeyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1df))[a2_0x17025f(0x221)](a2_0x17025f(0x408))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x260))['action'](async(_0x5bf38d,_0x540a54)=>{const _0x1addd0=a2_0x17025f,_0x4ec349=new JourneyResumeCommand(),_0xd4716b=program[_0x1addd0(0x4af)](),_0x585847=await createTDXInstance(_0xd4716b),_0x431253=await _0x4ec349['run']({'options':{..._0xd4716b,..._0x540a54},'args':[_0x5bf38d],'tdx':_0x585847});gracefulExit(_0x431253);}),journeyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2e1))['description'](a2_0x17025f(0x324))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),a2_0x17025f(0x4c3))[a2_0x17025f(0x355)](async(_0x3161b7,_0x5ed72f)=>{const _0x5d862d=a2_0x17025f,_0xfa9e8=new JourneyPullCommand(),_0x8506ab=program[_0x5d862d(0x4af)](),_0x247202=await createTDXInstance(_0x8506ab),_0x1219ea=await _0xfa9e8[_0x5d862d(0x2fe)]({'options':{..._0x8506ab,..._0x5ed72f},'args':_0x3161b7?[_0x3161b7]:[],'tdx':_0x247202});gracefulExit(_0x1219ea);}),journeyCmd[a2_0x17025f(0x25f)]('push\x20[target]')['description'](a2_0x17025f(0x440))['action'](async(_0x343123,_0x22bbee)=>{const _0x53a651=new JourneyPushCommand(),_0x15dd8a=program['opts'](),_0x288515=await createTDXInstance(_0x15dd8a),_0x203aea=await _0x53a651['run']({'options':{..._0x15dd8a,..._0x22bbee},'args':_0x343123?[_0x343123]:[],'tdx':_0x288515});gracefulExit(_0x203aea);}),journeyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x35d))[a2_0x17025f(0x221)](a2_0x17025f(0x3f1))['action'](async(_0x17b8be,_0x3c33db)=>{const _0x3354c9=new JourneyColumnsCommand(),_0xea44b8=program['opts'](),_0x16f547=await createTDXInstance(_0xea44b8),_0x48fbbb=await _0x3354c9['run']({'options':{..._0xea44b8,..._0x3c33db},'args':[_0x17b8be],'tdx':_0x16f547});gracefulExit(_0x48fbbb);}),journeyCmd[a2_0x17025f(0x25f)]('activations\x20<name-or-path>')[a2_0x17025f(0x221)](a2_0x17025f(0x21e))[a2_0x17025f(0x355)](async(_0x20db80,_0x4e2b89)=>{const _0x294740=a2_0x17025f,_0x38ca96=new JourneyActivationsCommand(),_0x46784c=program[_0x294740(0x4af)](),_0x2f1521=await createTDXInstance(_0x46784c),_0x2c3b0b=await _0x38ca96[_0x294740(0x2fe)]({'options':{..._0x46784c,..._0x4e2b89},'args':[_0x20db80],'tdx':_0x2f1521});gracefulExit(_0x2c3b0b);}),journeyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x444))['description'](a2_0x17025f(0x2dc))[a2_0x17025f(0x355)](async(_0x24d4a8,_0x4b5a4a)=>{const _0x1ecf8f=a2_0x17025f,_0x40216a=new JourneyVersionsCommand(),_0x4781b8=program[_0x1ecf8f(0x4af)](),_0x4c0574=await createTDXInstance(_0x4781b8),_0x26b694=await _0x40216a[_0x1ecf8f(0x2fe)]({'options':{..._0x4781b8,..._0x4b5a4a},'args':[_0x24d4a8],'tdx':_0x4c0574});gracefulExit(_0x26b694);});const journeyVersionCmd=journeyCmd[a2_0x17025f(0x25f)]('version')[a2_0x17025f(0x221)](a2_0x17025f(0x25c));journeyVersionCmd['command'](a2_0x17025f(0x3d4))[a2_0x17025f(0x221)](a2_0x17025f(0x30d))[a2_0x17025f(0x355)](async(_0x52face,_0x420fed)=>{const _0x4ab09d=a2_0x17025f,_0x1eb99a=new JourneyVersionCreateCommand(),_0x1a2882=program[_0x4ab09d(0x4af)](),_0x46306f=await createTDXInstance(_0x1a2882),_0x5635ea=await _0x1eb99a['run']({'options':{..._0x1a2882,..._0x420fed},'args':[_0x52face],'tdx':_0x46306f});gracefulExit(_0x5635ea);}),journeyVersionCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1e2))[a2_0x17025f(0x221)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')[a2_0x17025f(0x287)](a2_0x17025f(0x340),a2_0x17025f(0x31c))[a2_0x17025f(0x355)](async(_0xd395a4,_0x43abda)=>{const _0x396a4b=a2_0x17025f,_0x2cc645=new JourneyVersionViewCommand(),_0x423996=program[_0x396a4b(0x4af)](),_0x93f6e8=await createTDXInstance(_0x423996),_0x5d53ac=await _0x2cc645[_0x396a4b(0x2fe)]({'options':{..._0x423996,..._0x43abda},'args':[_0xd395a4],'tdx':_0x93f6e8});gracefulExit(_0x5d53ac);}),journeyCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1d2))[a2_0x17025f(0x221)]('Validate\x20journey\x20YAML\x20files\x20locally')['action'](async(_0x27215d,_0x2cbada)=>{const _0x1a43ff=a2_0x17025f,_0x494376=new JourneyValidateCommand(),_0x523d37=program[_0x1a43ff(0x4af)](),_0x4fb979=await createTDXInstance(_0x523d37),_0xda294=await _0x494376['run']({'options':{..._0x523d37,..._0x2cbada},'args':_0x27215d?[_0x27215d]:[],'tdx':_0x4fb979});gracefulExit(_0xda294);}),program['command']('journeys\x20[pattern]')[a2_0x17025f(0x221)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x17025f(0x355)](journeyListAction);const agentSyncCmd=program[a2_0x17025f(0x25f)](a2_0x17025f(0x1ce))[a2_0x17025f(0x221)](a2_0x17025f(0x1b9));agentSyncCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1db))[a2_0x17025f(0x221)](a2_0x17025f(0x26f))['option']('-o,\x20--output\x20<dir>',a2_0x17025f(0x4a6))[a2_0x17025f(0x434)](a2_0x17025f(0x24d),'Overwrite\x20local\x20changes\x20without\x20confirmation')[a2_0x17025f(0x434)](a2_0x17025f(0x28b),a2_0x17025f(0x4dd))['action'](async(_0x5ce2d5,_0x31dc88,_0x45a2bd)=>{const _0x567297=a2_0x17025f,_0x4d2309=new AgentPullCommand(),_0x927e5c=program[_0x567297(0x4af)](),_0x4607d1=await createTDXInstance(_0x927e5c),_0x558fbf=[];if(_0x5ce2d5)_0x558fbf[_0x567297(0x29b)](_0x5ce2d5);if(_0x31dc88)_0x558fbf[_0x567297(0x29b)](_0x31dc88);const _0x393ceb=await _0x4d2309[_0x567297(0x2fe)]({'options':{..._0x927e5c,..._0x45a2bd},'args':_0x558fbf,'tdx':_0x4607d1});gracefulExit(_0x393ceb);}),agentSyncCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x214))[a2_0x17025f(0x221)](a2_0x17025f(0x447))[a2_0x17025f(0x434)]('-f,\x20--force','Push\x20without\x20confirmation')[a2_0x17025f(0x355)](async(_0x1aec63,_0x347ed3)=>{const _0x128872=a2_0x17025f,_0x28e235=new AgentPushCommand(),_0x9212da=program[_0x128872(0x4af)](),_0x314dd8=await createTDXInstance(_0x9212da),_0x2d1a78=await _0x28e235[_0x128872(0x2fe)]({'options':{..._0x9212da,..._0x347ed3},'args':_0x1aec63?[_0x1aec63]:[],'tdx':_0x314dd8});gracefulExit(_0x2d1a78);}),agentSyncCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x24e))[a2_0x17025f(0x221)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')[a2_0x17025f(0x434)]('-n,\x20--name\x20<name>',a2_0x17025f(0x26a))[a2_0x17025f(0x355)](async(_0x2b26cb,_0x52dacf)=>{const _0xb46ec1=a2_0x17025f,_0x4b1527=new AgentCloneCommand(),_0xaacbe9=program[_0xb46ec1(0x4af)](),_0x1c4e22=await createTDXInstance(_0xaacbe9),_0x41f789=await _0x4b1527[_0xb46ec1(0x2fe)]({'options':{..._0xaacbe9,..._0x52dacf},'args':_0x2b26cb?[_0x2b26cb]:[],'tdx':_0x1c4e22});gracefulExit(_0x41f789);}),agentSyncCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x33e))['description'](a2_0x17025f(0x3d7))[a2_0x17025f(0x434)]('--name\x20<names>',a2_0x17025f(0x3b6))['option']('--tags\x20<tags>',a2_0x17025f(0x315))[a2_0x17025f(0x434)](a2_0x17025f(0x3b4),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x17025f(0x434)](a2_0x17025f(0x46c),'Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x17025f(0x434)]('--reeval','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x17025f(0x355)](async(_0x202b16,_0x483258)=>{const _0x1b65c3=a2_0x17025f,_0x1bb6cc=new AgentTestCommand(),_0x2c4213=program[_0x1b65c3(0x4af)](),_0x46e56b=await createTDXInstance(_0x2c4213),_0x4fddea=await _0x1bb6cc[_0x1b65c3(0x2fe)]({'options':{..._0x2c4213,..._0x483258},'args':_0x202b16?[_0x202b16]:[],'tdx':_0x46e56b});gracefulExit(_0x4fddea);}),agentSyncCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x30b))[a2_0x17025f(0x221)](a2_0x17025f(0x4aa))[a2_0x17025f(0x355)](llmAgentListAction),agentSyncCmd['command'](a2_0x17025f(0x472))[a2_0x17025f(0x221)](a2_0x17025f(0x34b))[a2_0x17025f(0x355)](async(_0x23e69e,_0x33edde)=>{const _0x5e0604=a2_0x17025f,_0x3c8d68=new LLMAgentShowCommand(),_0x3c4611=program[_0x5e0604(0x4af)](),_0x53ce4e=await createTDXInstance(_0x3c4611),_0x281b41=await _0x3c8d68[_0x5e0604(0x2fe)]({'options':{..._0x3c4611,..._0x33edde},'args':[_0x23e69e],'tdx':_0x53ce4e});gracefulExit(_0x281b41);}),agentSyncCmd[a2_0x17025f(0x25f)]('create\x20<name>')[a2_0x17025f(0x221)](a2_0x17025f(0x4bd))['option']('--system-prompt\x20<text>',a2_0x17025f(0x25e))[a2_0x17025f(0x434)](a2_0x17025f(0x236),a2_0x17025f(0x308),'claude-4.5-sonnet')['option'](a2_0x17025f(0x27d),'Starter\x20message')[a2_0x17025f(0x434)](a2_0x17025f(0x4a5),a2_0x17025f(0x235),'4')[a2_0x17025f(0x434)](a2_0x17025f(0x464),a2_0x17025f(0x44e),'0.7')[a2_0x17025f(0x355)](async(_0x3d19af,_0x58f447)=>{const _0x16a4b4=a2_0x17025f,_0x27db95=new LLMAgentCreateCommand(),_0x4f791e=program[_0x16a4b4(0x4af)](),_0x47d735=await createTDXInstance(_0x4f791e),_0x5c26b7=await _0x27db95[_0x16a4b4(0x2fe)]({'options':{..._0x4f791e,..._0x58f447},'args':[_0x3d19af],'tdx':_0x47d735});gracefulExit(_0x5c26b7);}),agentSyncCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x359))[a2_0x17025f(0x221)](a2_0x17025f(0x228))[a2_0x17025f(0x434)]('--name\x20<text>',a2_0x17025f(0x4f6))['option']('--prompt\x20<text>','Agent\x20prompt/instructions')[a2_0x17025f(0x434)]('--description\x20<text>',a2_0x17025f(0x209))['option'](a2_0x17025f(0x27d),'Starter\x20message')[a2_0x17025f(0x355)](async(_0xfb5c56,_0xc3b5e5)=>{const _0x2aff30=a2_0x17025f,_0x4b5a7e=new LLMAgentUpdateCommand(),_0x533fd1=program['opts'](),_0x9820ac=await createTDXInstance(_0x533fd1),_0x2add54=await _0x4b5a7e[_0x2aff30(0x2fe)]({'options':{..._0x533fd1,..._0xc3b5e5},'args':[_0xfb5c56],'tdx':_0x9820ac});gracefulExit(_0x2add54);}),agentSyncCmd[a2_0x17025f(0x25f)]('delete\x20<agent-name>')['description'](a2_0x17025f(0x1c9))[a2_0x17025f(0x355)](async(_0xb2bc78,_0x55eae2)=>{const _0x3459f0=new LLMAgentDeleteCommand(),_0x3e54bf=program['opts'](),_0x32ab97=await createTDXInstance(_0x3e54bf),_0x3c4513=await _0x3459f0['run']({'options':{..._0x3e54bf,..._0x55eae2},'args':[_0xb2bc78],'tdx':_0x32ab97});gracefulExit(_0x3c4513);});const workCmd=program['command'](a2_0x17025f(0x217))[a2_0x17025f(0x221)]('AI-native\x20work\x20management');workCmd['option']('--days\x20<n>','Show\x20items\x20updated\x20within\x20N\x20days')['option'](a2_0x17025f(0x486),'Include\x20all\x20items\x20(no\x20stale\x20filtering)')['action'](workSummaryAction),workCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x1e5))[a2_0x17025f(0x221)](a2_0x17025f(0x4b9))[a2_0x17025f(0x434)](a2_0x17025f(0x3f6),a2_0x17025f(0x1d5))[a2_0x17025f(0x355)](workInitAction),workCmd[a2_0x17025f(0x25f)]('new\x20<title>')[a2_0x17025f(0x221)]('Create\x20a\x20new\x20document')[a2_0x17025f(0x434)]('--kind\x20<kind>',a2_0x17025f(0x480),a2_0x17025f(0x47b))[a2_0x17025f(0x434)](a2_0x17025f(0x210),a2_0x17025f(0x484))[a2_0x17025f(0x434)](a2_0x17025f(0x284),a2_0x17025f(0x1d1))[a2_0x17025f(0x434)](a2_0x17025f(0x238),a2_0x17025f(0x356))[a2_0x17025f(0x434)]('--template\x20<name>',a2_0x17025f(0x2e3))[a2_0x17025f(0x434)](a2_0x17025f(0x1e6),a2_0x17025f(0x362))[a2_0x17025f(0x434)](a2_0x17025f(0x4cc),a2_0x17025f(0x3be))[a2_0x17025f(0x355)](workNewAction),workCmd[a2_0x17025f(0x25f)](a2_0x17025f(0x2bd))['description'](a2_0x17025f(0x273))[a2_0x17025f(0x355)](workMoveAction),workCmd['command'](a2_0x17025f(0x1ba))[a2_0x17025f(0x221)](a2_0x17025f(0x3df))[a2_0x17025f(0x434)](a2_0x17025f(0x3ac),'Show\x20items\x20updated\x20within\x20N\x20days')[a2_0x17025f(0x434)](a2_0x17025f(0x486),a2_0x17025f(0x381))['action'](workBoardAction),workCmd['command'](a2_0x17025f(0x367))[a2_0x17025f(0x221)]('Show\x20document\x20details')[a2_0x17025f(0x355)](workShowAction),workCmd['command'](a2_0x17025f(0x4e8))[a2_0x17025f(0x221)](a2_0x17025f(0x286))[a2_0x17025f(0x355)](workLinksAction),workCmd['command'](a2_0x17025f(0x306))[a2_0x17025f(0x221)](a2_0x17025f(0x3d9))[a2_0x17025f(0x355)](workOpenAction),program[a2_0x17025f(0x25f)]('_list-commands',{'hidden':!![]})[a2_0x17025f(0x355)](()=>{function _0x30caec(_0x56cb94,_0x48d848){const _0x2e3193=a2_0x1df2,_0x18fb04=[];for(const _0xee0c43 of _0x56cb94[_0x2e3193(0x39a)]){if(_0xee0c43['_hidden'])continue;const _0x2cd16f=_0x48d848?_0x48d848+'\x20'+_0xee0c43[_0x2e3193(0x4e2)]():_0xee0c43[_0x2e3193(0x4e2)](),_0x3b7909=_0x2cd16f[_0x2e3193(0x39d)]('\x20')[0x0],_0x24f7e5=COMMAND_CATEGORIES[_0x2e3193(0x1bb)](_0x4725a7=>_0x4725a7['commands']['includes'](_0x3b7909)),_0x3c4d37=_0x24f7e5?.['name']??'';if(_0xee0c43[_0x2e3193(0x39a)]['length']>0x0)_0x18fb04['push'](..._0x30caec(_0xee0c43,_0x2cd16f));else{const _0x536773=(_0xee0c43[_0x2e3193(0x4b1)]||[])[_0x2e3193(0x4e3)](_0x4dbdaa=>{const _0x228f67=_0x2e3193,_0x534201=_0x4dbdaa[_0x228f67(0x4e4)]?_0x4dbdaa[_0x228f67(0x4e2)]()+'...':_0x4dbdaa['name']();return _0x4dbdaa[_0x228f67(0x2f7)]?'<'+_0x534201+'>':'['+_0x534201+']';})[_0x2e3193(0x4f2)]('\x20'),_0x248b5b=_0xee0c43[_0x2e3193(0x49d)][_0x2e3193(0x449)](_0x31a43b=>!_0x31a43b[_0x2e3193(0x3b7)]&&_0x31a43b[_0x2e3193(0x44b)]!=='--help')[_0x2e3193(0x4e3)](_0x1be7ad=>({'flags':_0x1be7ad[_0x2e3193(0x25b)],'description':_0x1be7ad[_0x2e3193(0x221)]}));_0x18fb04[_0x2e3193(0x29b)]({'name':_0x2cd16f,'description':_0xee0c43[_0x2e3193(0x221)](),'group':_0x3c4d37,'usage':_0x536773,'options':_0x248b5b});}}return _0x18fb04;}console['log'](JSON['stringify'](_0x30caec(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x2e08dc=a2_0x17025f,_0x4ca74e=!process[_0x2e08dc(0x2f2)][_0x2e08dc(0x3f7)](0x2)[_0x2e08dc(0x2cd)];showBriefHelp=_0x4ca74e,program[_0x2e08dc(0x24f)](process[_0x2e08dc(0x2f2)]);_0x4ca74e&&program[_0x2e08dc(0x38a)]();const _0x2c7c37=process[_0x2e08dc(0x2f2)][0x2]==='upgrade';if(process[_0x2e08dc(0x27f)][_0x2e08dc(0x41a)]&&process[_0x2e08dc(0x2f2)]['length']>0x2&&!isDevVersion()&&!_0x2c7c37){const _0x2ef5bb=loadReleaseChannel();checkForUpdate(currentVersion,_0x2ef5bb)['then'](_0x49f7b5=>{_0x49f7b5&&displayUpdateNotification(_0x49f7b5);})['catch'](()=>{});}}