@treasuredata/tdx 2026.3.26 → 2026.3.28

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 (224) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/commands/activations.js +1 -1
  8. package/dist/commands/agent-command.js +1 -1
  9. package/dist/commands/agent-test-command.js +1 -1
  10. package/dist/commands/api-command.js +1 -1
  11. package/dist/commands/auth-command.js +1 -1
  12. package/dist/commands/auth-login-command.js +1 -1
  13. package/dist/commands/chat-command.js +1 -1
  14. package/dist/commands/claude-command.js +1 -1
  15. package/dist/commands/claude-statusline-command.js +1 -1
  16. package/dist/commands/claude-usage-command.js +1 -1
  17. package/dist/commands/command.js +1 -1
  18. package/dist/commands/connection-command.js +1 -1
  19. package/dist/commands/databases.js +1 -1
  20. package/dist/commands/delivery-command.js +1 -1
  21. package/dist/commands/describe.js +1 -1
  22. package/dist/commands/engage-campaign-pull-command.js +1 -1
  23. package/dist/commands/engage-campaign-push-command.js +1 -1
  24. package/dist/commands/engage-campaign-validate-command.js +1 -1
  25. package/dist/commands/engage-command.js +1 -1
  26. package/dist/commands/engage-template-pull-command.js +1 -1
  27. package/dist/commands/engage-template-push-command.js +1 -1
  28. package/dist/commands/engage-template-validate-command.js +1 -1
  29. package/dist/commands/job-command.js +1 -1
  30. package/dist/commands/journey-command.js +1 -1
  31. package/dist/commands/journey-validate-command.js +1 -1
  32. package/dist/commands/llm-command.js +1 -1
  33. package/dist/commands/mcp-command.js +1 -1
  34. package/dist/commands/parent-segment-command.d.ts +141 -2
  35. package/dist/commands/parent-segment-command.d.ts.map +1 -1
  36. package/dist/commands/parent-segment-command.js +1 -1
  37. package/dist/commands/parent-segment-command.js.map +1 -1
  38. package/dist/commands/policy-command.js +1 -1
  39. package/dist/commands/profile-command.js +1 -1
  40. package/dist/commands/profiles-command.js +1 -1
  41. package/dist/commands/query-command.js +1 -1
  42. package/dist/commands/schedule-command.js +1 -1
  43. package/dist/commands/segment-command.js +1 -1
  44. package/dist/commands/segment-create-command.js +1 -1
  45. package/dist/commands/segment-fields-command.js +1 -1
  46. package/dist/commands/segment-pull-command.js +1 -1
  47. package/dist/commands/segment-push-command.js +1 -1
  48. package/dist/commands/segment-update-command.js +1 -1
  49. package/dist/commands/segment-use-command.js +1 -1
  50. package/dist/commands/segment-validate-command.js +1 -1
  51. package/dist/commands/segments.js +1 -1
  52. package/dist/commands/show.js +1 -1
  53. package/dist/commands/status-command.js +1 -1
  54. package/dist/commands/tables.js +1 -1
  55. package/dist/commands/unset-command.js +1 -1
  56. package/dist/commands/upgrade-command.js +1 -1
  57. package/dist/commands/use-command.js +1 -1
  58. package/dist/commands/user-command.js +1 -1
  59. package/dist/commands/workflow-command.js +1 -1
  60. package/dist/core/auth.js +1 -1
  61. package/dist/core/command-output.js +1 -1
  62. package/dist/core/config.js +1 -1
  63. package/dist/core/connection-cache.js +1 -1
  64. package/dist/core/constants.js +1 -1
  65. package/dist/core/credential-cache.js +1 -1
  66. package/dist/core/global-context.js +1 -1
  67. package/dist/core/keychain.js +1 -1
  68. package/dist/core/oauth-keychain.js +1 -1
  69. package/dist/core/oauth.d.ts.map +1 -1
  70. package/dist/core/oauth.js +1 -1
  71. package/dist/core/oauth.js.map +1 -1
  72. package/dist/core/profile.js +1 -1
  73. package/dist/core/project-config.js +1 -1
  74. package/dist/core/session.js +1 -1
  75. package/dist/core/user-cache.js +1 -1
  76. package/dist/core/version.js +1 -1
  77. package/dist/index.js +1 -1
  78. package/dist/mcp/server.js +1 -1
  79. package/dist/mcp/tools/index.js +1 -1
  80. package/dist/mcp/tools/tdx-run.js +1 -1
  81. package/dist/mcp/tools/tdx-search.js +1 -1
  82. package/dist/mcp/utils.js +1 -1
  83. package/dist/proxy/claude-usage-tracker.js +1 -1
  84. package/dist/proxy/passthrough-server.js +1 -1
  85. package/dist/proxy/sse-usage-parser.js +1 -1
  86. package/dist/sdk/agent/agent-config.js +1 -1
  87. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  88. package/dist/sdk/agent/agent-yaml.js +1 -1
  89. package/dist/sdk/agent/test/evaluator.js +1 -1
  90. package/dist/sdk/agent/test/executor.js +1 -1
  91. package/dist/sdk/agent/test/index.js +1 -1
  92. package/dist/sdk/agent/test/output.js +1 -1
  93. package/dist/sdk/agent/test/parser.js +1 -1
  94. package/dist/sdk/agent/tool-target-registry.js +1 -1
  95. package/dist/sdk/api.js +1 -1
  96. package/dist/sdk/client/cdp-api-client.d.ts +29 -1
  97. package/dist/sdk/client/cdp-api-client.d.ts.map +1 -1
  98. package/dist/sdk/client/cdp-api-client.js +1 -1
  99. package/dist/sdk/client/cdp-api-client.js.map +1 -1
  100. package/dist/sdk/client/delivery-api-client.js +1 -1
  101. package/dist/sdk/client/endpoints.js +1 -1
  102. package/dist/sdk/client/engage-api-client.js +1 -1
  103. package/dist/sdk/client/http-client.js +1 -1
  104. package/dist/sdk/client/llm-api-client.js +1 -1
  105. package/dist/sdk/client/oauth-refresh.js +1 -1
  106. package/dist/sdk/client/rate-limiter.js +1 -1
  107. package/dist/sdk/client/td-api-client.js +1 -1
  108. package/dist/sdk/client/trino-api-client.js +1 -1
  109. package/dist/sdk/client/workflow-client.js +1 -1
  110. package/dist/sdk/connection-validator.js +1 -1
  111. package/dist/sdk/connection.js +1 -1
  112. package/dist/sdk/delivery.js +1 -1
  113. package/dist/sdk/engage/campaign-pull.js +1 -1
  114. package/dist/sdk/engage/campaign-push.js +1 -1
  115. package/dist/sdk/engage/campaign-validator.js +1 -1
  116. package/dist/sdk/engage/campaign-yaml.js +1 -1
  117. package/dist/sdk/engage/template-pull.js +1 -1
  118. package/dist/sdk/engage/template-push.js +1 -1
  119. package/dist/sdk/engage/template-validator.js +1 -1
  120. package/dist/sdk/engage/template-yaml.js +1 -1
  121. package/dist/sdk/engage/types/campaign-def.js +1 -1
  122. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  123. package/dist/sdk/engage/types/template-schema.js +1 -1
  124. package/dist/sdk/engage.js +1 -1
  125. package/dist/sdk/errors.js +1 -1
  126. package/dist/sdk/index.js +1 -1
  127. package/dist/sdk/io/index.js +1 -1
  128. package/dist/sdk/io/node-filesystem.js +1 -1
  129. package/dist/sdk/job.js +1 -1
  130. package/dist/sdk/journey.js +1 -1
  131. package/dist/sdk/llm/chat-cache.js +1 -1
  132. package/dist/sdk/llm/index.js +1 -1
  133. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  134. package/dist/sdk/llm/model-factors.js +1 -1
  135. package/dist/sdk/personalization.d.ts +228 -0
  136. package/dist/sdk/personalization.d.ts.map +1 -1
  137. package/dist/sdk/personalization.js +1 -1
  138. package/dist/sdk/personalization.js.map +1 -1
  139. package/dist/sdk/policy.js +1 -1
  140. package/dist/sdk/query/index.js +1 -1
  141. package/dist/sdk/query/sql-parser.js +1 -1
  142. package/dist/sdk/realtime.d.ts +57 -0
  143. package/dist/sdk/realtime.d.ts.map +1 -1
  144. package/dist/sdk/realtime.js +1 -1
  145. package/dist/sdk/realtime.js.map +1 -1
  146. package/dist/sdk/schedule.js +1 -1
  147. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  148. package/dist/sdk/segment/fields-display.js +1 -1
  149. package/dist/sdk/segment/file-discovery.js +1 -1
  150. package/dist/sdk/segment/journey-utils.js +1 -1
  151. package/dist/sdk/segment/journey-validator.js +1 -1
  152. package/dist/sdk/segment/journey-yaml.js +1 -1
  153. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  154. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  155. package/dist/sdk/segment/pull-workflow.js +1 -1
  156. package/dist/sdk/segment/push-recovery.js +1 -1
  157. package/dist/sdk/segment/push-workflow.js +1 -1
  158. package/dist/sdk/segment/resolution-context.js +1 -1
  159. package/dist/sdk/segment/segment-path-parser.js +1 -1
  160. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  161. package/dist/sdk/segment/segment-validator.js +1 -1
  162. package/dist/sdk/segment/target-resolution.js +1 -1
  163. package/dist/sdk/segment/tdx-config.js +1 -1
  164. package/dist/sdk/segment/types/activation-schema.js +1 -1
  165. package/dist/sdk/segment/types/journey-def.js +1 -1
  166. package/dist/sdk/segment/types/journey-schema.js +1 -1
  167. package/dist/sdk/segment/types/segment-def.js +1 -1
  168. package/dist/sdk/segment/types/segment-schema.js +1 -1
  169. package/dist/sdk/segment/validate-files.js +1 -1
  170. package/dist/sdk/segment/yaml-validator.js +1 -1
  171. package/dist/sdk/segment.js +1 -1
  172. package/dist/sdk/types/cdp.d.ts +76 -0
  173. package/dist/sdk/types/cdp.d.ts.map +1 -1
  174. package/dist/sdk/types/index.d.ts +1 -1
  175. package/dist/sdk/types/index.d.ts.map +1 -1
  176. package/dist/sdk/types/index.js +1 -1
  177. package/dist/sdk/types/index.js.map +1 -1
  178. package/dist/sdk/types/progress.js +1 -1
  179. package/dist/sdk/user.js +1 -1
  180. package/dist/sdk/util/format-detector.js +1 -1
  181. package/dist/sdk/util/formatters.js +1 -1
  182. package/dist/sdk/util/index.js +1 -1
  183. package/dist/sdk/util/paginate.js +1 -1
  184. package/dist/sdk/util/tree-formatter.js +1 -1
  185. package/dist/sdk/workflow/archive-validation.js +1 -1
  186. package/dist/sdk/workflow/clone-workflow.js +1 -1
  187. package/dist/sdk/workflow/index.js +1 -1
  188. package/dist/sdk/workflow/pull-workflow.js +1 -1
  189. package/dist/sdk/workflow/push-workflow.js +1 -1
  190. package/dist/sdk/workflow/tdx-config.js +1 -1
  191. package/dist/sdk/workflow/workflow-utils.js +1 -1
  192. package/dist/test-utils/command-runner.js +1 -1
  193. package/dist/test-utils/factories.js +1 -1
  194. package/dist/test-utils/fixtures.js +1 -1
  195. package/dist/test-utils/http-mock.js +1 -1
  196. package/dist/test-utils/index.js +1 -1
  197. package/dist/utils/async.js +1 -1
  198. package/dist/utils/colors.js +1 -1
  199. package/dist/utils/diff.js +1 -1
  200. package/dist/utils/file-permissions.js +1 -1
  201. package/dist/utils/file-reader.js +1 -1
  202. package/dist/utils/github-releases.js +1 -1
  203. package/dist/utils/global-cache.js +1 -1
  204. package/dist/utils/json-loader.js +1 -1
  205. package/dist/utils/local-cache.js +1 -1
  206. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  207. package/dist/utils/logger/formatters/index.js +1 -1
  208. package/dist/utils/logger/handlers/console-handler.js +1 -1
  209. package/dist/utils/logger/handlers/file-handler.js +1 -1
  210. package/dist/utils/logger/handlers/index.js +1 -1
  211. package/dist/utils/logger/handlers/null-handler.js +1 -1
  212. package/dist/utils/logger/index.js +1 -1
  213. package/dist/utils/logger/logger.js +1 -1
  214. package/dist/utils/logger/types.js +1 -1
  215. package/dist/utils/option-validation.js +1 -1
  216. package/dist/utils/process.js +1 -1
  217. package/dist/utils/prompt.js +1 -1
  218. package/dist/utils/spinner.js +1 -1
  219. package/dist/utils/sse-parser.js +1 -1
  220. package/dist/utils/string-utils.js +1 -1
  221. package/dist/utils/table-ref-parser.js +1 -1
  222. package/dist/utils/tdx-logger.js +1 -1
  223. package/dist/utils/version-check.js +1 -1
  224. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x1dd5bc=a2_0xa400;(function(_0x531d8b,_0x5c00c7){const _0x5941a7=a2_0xa400,_0x2267d1=_0x531d8b();while(!![]){try{const _0x18d520=-parseInt(_0x5941a7(0x3b7))/0x1+parseInt(_0x5941a7(0x434))/0x2+parseInt(_0x5941a7(0x489))/0x3*(parseInt(_0x5941a7(0x1cd))/0x4)+-parseInt(_0x5941a7(0x3d7))/0x5+-parseInt(_0x5941a7(0x2a7))/0x6+-parseInt(_0x5941a7(0x21c))/0x7+parseInt(_0x5941a7(0x1d7))/0x8;if(_0x18d520===_0x5c00c7)break;else _0x2267d1['push'](_0x2267d1['shift']());}catch(_0x16d001){_0x2267d1['push'](_0x2267d1['shift']());}}}(a2_0x1499,0xdfa48));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';function a2_0x1499(){const _0x41deca=['retry\x20<session-id>','--name\x20<names>','--help','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Segment\x20description','\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','Output\x20file\x20path','Set\x20or\x20show\x20parent\x20segment\x20context','Delete\x20a\x20workspace','Database\x20name','--session-time\x20<time>','versions\x20<name-or-path>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Email\x20subject\x20template','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--name\x20<new_name>','Output\x20directory','Overwrite\x20local\x20changes\x20without\x20confirmation','New\x20segment\x20name','pull\x20[project]\x20[agent-name]','view\x20[segment_name]','--include-stats','push','Skip\x20validation\x20of\x20.dig\x20files','--limit\x20<number>','Duplicate\x20a\x20campaign','0.7','--json','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','run\x20[workflow]','Remove\x20a\x20profile','show\x20<name>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Show\x20email\x20template\x20details','--system-prompt\x20<text>','kill\x20<job-id>','Run\x20Trino\x20query\x20with\x20streaming\x20results','show\x20[name]','--type\x20<type>','\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','--name\x20<text>','Delete\x20a\x20scheduled\x20query','TRACE','pull\x20<project>\x20[target-dir]','--limit\x20<rows>','run\x20[name]','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','describe','projects\x20[pattern]','log\x20<chat-id>','information_schema','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','2790172YSeTga','--behavior\x20[name]','Show\x20stats\x20for\x20specific\x20stage','aliases','Change\x20to\x20directory\x20before\x20executing\x20command','buildTime','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','[DEPRECATED]\x20Segment\x20folder\x20management','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','-r,\x20--recursive','Pull\x20child\x20segments\x20to\x20YAML\x20files','create\x20<parent_name>\x20<folder_name>','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Customer\x20group\x20as\x20JSON\x20string','--dry-run','Show\x20only\x20master\x20table\x20validation','--in\x20<database>','--tags\x20<tags>','--num\x20<1-10>','parents\x20[pattern]','Clear\x20workflow\x20project\x20context','-o,\x20--output\x20<folder>','--add-attributes-file\x20<file>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20agents\x20in\x20current\x20project','--behaviors-file\x20<file>','Show\x20all\x20files\x20including\x20valid\x20ones','action','pull\x20[workspace]','JSON\x20columns\x20for\x20connector\x20(comma-separated)','claude\x20[args...]','-d,\x20--database\x20<database>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Duplicate\x20an\x20always-on\x20campaign','Open\x20segment\x20in\x20web\x20browser','Validate\x20template\x20YAML\x20files\x20locally','Show\x20journey\x20statistics','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Launch\x20an\x20always-on\x20campaign','--result\x20<url>','use\x20[name]','status','--in\x20<db>','argumentTerm','always-on-campaign','commandDescription','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Create\x20a\x20new\x20campaign','--color','push\x20[target]','--engine-version\x20<version>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--plaintext\x20<text>','Finish\x20an\x20always-on\x20campaign','Table\x20management\x20commands','upload\x20[project-name-or-dir]','pull\x20[name]','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','--debug','Pause\x20a\x20running\x20journey','--add-attributes\x20<json>','Show\x20workspace\x20details','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Delete\x20an\x20email\x20template','-f,\x20--force','tdx\x20','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','\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','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','list\x20[pattern]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','list','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Show\x20timeline\x20for\x20specific\x20attempt','Maximum\x20recursion\x20depth\x20(default:\x2010)','Directory\x20does\x20not\x20exist:\x20','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Create\x20a\x20new\x20always-on\x20campaign','\x20(resolved\x20to\x20','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','login','\x20-\x20built\x20','padEnd','225LaiLMM','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Launch\x20a\x20campaign','INVALID_ARGUMENT','Ending\x20offset\x20(default:\x2020)','-u,\x20--use','--prompt\x20<text>','-f,\x20--file\x20<path>','list\x20[project]','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Limit\x20number\x20of\x20rows','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Update\x20a\x20campaign','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--cron\x20<expression>','Invalid\x20--limit\x20value:\x20\x22','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Create\x20an\x20email\x20template','Project\x20description','create\x20<name>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--status\x20<status>','New\x20template\x20name','--enable-utm-tracking','--subject\x20<subject>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','5856VxCCUf','--reason\x20<text>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Unknown\x20action:\x20','Email\x20template\x20management','template','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--no-proxy','claude-4.5-sonnet','--full','29765048XiHsCh','templates\x20[pattern]','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Output\x20as\x20JSON','-d,\x20--database\x20<db>','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','List\x20email\x20senders','Workspace\x20description','validate\x20[name]','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','List\x20available\x20connector\x20types','name','history\x20[chat-id]','error','Update\x20an\x20always-on\x20campaign','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Output\x20as\x20JSON\x20Lines','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','preview\x20[file]','View\x20a\x20specific\x20version\x20of\x20a\x20journey','gitRevision','delete\x20<project-name-or-id>','Skip\x20population\x20counting','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Get\x20job\x20results','sessions\x20[project]','Add\x20attributes\x20as\x20JSON\x20string','List\x20activations\x20for\x20a\x20journey','logs','--database\x20<name>','--kind\x20<type>','format','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','jobs','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Customer\x20group\x20from\x20JSON\x20file','--clear','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Authentication\x20management','--output\x20<file>','profile','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','option','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Workspace\x20name','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','isTTY','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','-y,\x20--yes','Enable\x20UTM\x20tracking','injectIntoOptions','Access\x20control\x20policy\x20commands','journey','senders\x20[pattern]','then','Usage:\x20','Trino\x20catalog\x20(default:\x20td)','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--interval\x20<range>','policy','--html\x20<html>','--delay\x20<seconds>','8770538XxGjGF','Reason\x20for\x20killing\x20the\x20attempt','Include\x20execution\x20statistics','chdir','Skip\x20confirmation\x20prompt','Delay\x20in\x20seconds\x20before\x20execution','Show\x20master\x20table\x20sample\x20data','trino','--schedule-type\x20<type>','Preview\x20operation\x20without\x20executing','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Save\x20output\x20to\x20file','use\x20<path>','show\x20<agent-name>','Include\x20retried\x20attempts\x20(for\x20list)','optionTerm','--include-retried','Agent\x20description','summary','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Starting\x20offset\x20(default:\x200)','list\x20[path]','--limit\x20<n>','--default','--parent-segment\x20<name>','forEach','sql\x20[segment_name]','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Manage\x20workflow\x20project\x20secrets','[task-name]','System\x20prompt/instructions\x20(default:\x20empty)','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Workspace\x20name\x20(required)','Enable\x20verbose\x20logging','database','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','subcommandTerm','argumentDescription','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','repeat','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','parent-segment','Show\x20job\x20details','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','create','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Path\x20is\x20not\x20a\x20directory:\x20','-n,\x20--name\x20<name>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Custom\x20revision\x20name\x20(default:\x20timestamp)','New\x20campaign\x20name','Follow/watch\x20timeline\x20for\x20running\x20attempts','Commands:','--folder\x20<name>','--time\x20<iso8601>','--params\x20<json>','Resume\x20a\x20paused\x20always-on\x20campaign','Timezone\x20for\x20cron\x20(default:\x20UTC)','[action]','--result\x20<target>','session','update\x20<name>','campaigns\x20[pattern]','models','Override\x20project\x20name','activations\x20<name-or-path>','addHelpText','--catalog\x20<catalog>','--html-file\x20<path>','test\x20[path]','Show\x20journey\x20table\x20column-to-step\x20mapping','--rule-file\x20<file>','allowUnknownOption','join','padWidth','--email-sender-id\x20<id>','Result\x20output\x20destination\x20URL','trace','Journey\x20version\x20management','isDirectory','Job\x20management\x20commands','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Always-on\x20campaign\x20management','--from-task\x20<task>','--workspace\x20<name>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Create\x20a\x20new\x20profile','--priority\x20<-2~2>','Show\x20schedule\x20details','jsonl','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--starter-message\x20<text>','--enriched','Continue\x20most\x20recent\x20conversation','mcp','Options:','set\x20<key=value>','--customer-group-file\x20<file>','download\x20<project-name>\x20[output-dir]','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Invalid\x20editor\x20type:\x20','\x22.\x20Must\x20be\x20a\x20number.','command','json','set\x20<args...>','after','variadic','slice','parse','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Resume\x20a\x20paused\x20journey','Show\x20segment\x20details\x20(alias\x20for\x20view)','Updated\x20timezone','clear','--description\x20<text>','\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','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Delete\x20a\x20campaign','show\x20<name-or-id>','length','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','-X,\x20--method\x20<method>','Resume\x20a\x20paused\x20campaign','Show\x20connection\x20details\x20by\x20name','Push\x20without\x20confirmation','Job\x20priority\x20(-2\x20to\x202)','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','_hidden','argument','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','kill','Show\x20agent\x20details','--chat-id\x20<id>','beefree','-H,\x20--header\x20<header>','Start\x20a\x20new\x20chat\x20session','9852600jersgl','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Query\x20engine\x20version','Generate\x20test\x20conversations\x20without\x20evaluation','subcommandDescription','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','-c,\x20--continue','List\x20all\x20versions\x20of\x20a\x20journey','LLM\x20project\x20to\x20use\x20(overrides\x20context)',',\x20version\x20','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','workspaces\x20[pattern]','Campaign\x20name','--from\x20<timestamp>','--to\x20<date>','Attempt\x20ID','Filtering\x20rule\x20as\x20JSON\x20string','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','update\x20<name-or-id>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','agents\x20[pattern]','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Workspace\x20management','use\x20<project-name>','--tsv','attempts\x20[project]','view\x20[name]','registeredArguments','map','requiredOption','Filtering\x20rule\x20from\x20JSON\x20file','delete\x20<name-or-id>','Workflow\x20parameter\x20(repeatable)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Data\x20connection\x20management\x20(for\x20activations/exports)','chat\x20[message...]','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','options','commandUsage','Database\x20to\x20query\x20(default:\x20information_schema)','show\x20<job-id>','show\x20<folder_ref>','--no-count-population','tasks','backup\x20<name>','createAsync','tdx','--from\x20<date>','Workflow\x20attempt\x20management','New\x20workspace\x20name','--segment\x20<path>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Submit\x20a\x20job','Retry\x20limit\x20(0\x20to\x2032)','Pull\x20specific\x20campaign\x20by\x20name','-o,\x20--output\x20<dir>','tsv','Master\x20database\x20name','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Workflow\x20project\x20management','--version','create\x20<name-or-path>','Show\x20segment\x20schema\x20(column\x20types)','Personalization\x20service\x20management','Create\x20segment\x20folder','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Arguments:','Campaign\x20description','Update\x20an\x20existing\x20agent','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','logLevel','--rule\x20<json>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','flags','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Set\x20operation\x20timeout\x20in\x20seconds','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','_list-commands','List\x20all\x20users\x20in\x20the\x20account','Query\x20type:\x20trino\x20or\x20hive','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','duplicate\x20<name-or-id>','--reeval','End\x20time\x20filter\x20(ISO\x208601\x20format)','create\x20<segment_name>','workflow','Update\x20an\x20email\x20template','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','connection','-1d','--behaviors\x20<json>','--temperature\x20<n>','validate\x20[target]','INFO','Include\x20raw\x20history\x20data\x20in\x20output','Starter\x20message','--from\x20<n>','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','settings\x20<type>','apiKey','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','catch','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','User\x20management\x20commands','resume\x20<name-or-path>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','directory','Delete\x20an\x20LLM\x20project','job','\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','Pull\x20specific\x20revision\x20(default:\x20latest)','pull\x20[workspace-name]','Maximum\x20tool\x20iterations\x20(default:\x204)','Set\x20a\x20profile\x20configuration\x20value','Open\x20journey\x20in\x20web\x20browser','-o,\x20--output\x20<file>','Validate\x20journey\x20YAML\x20files\x20locally','-v,\x20--verbose','Show\x20authentication\x20status\x20and\x20current\x20context','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','use\x20[project]','get','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','[attempt-id]','segments\x20[path]','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--no-eval','-w,\x20--web','--timeout\x20<seconds>','timeline\x20[project.workflow]','--attribute\x20[name]','run','Read\x20query\x20from\x20file','list\x20[name]','schema\x20<type>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','validate\x20[file]','table','--verbose','List\x20jobs','--database\x20<db>','Timezone\x20(e.g.,\x20America/Los_Angeles)','fields\x20[name]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','--skip-validation','preview\x20[name]','Update\x20a\x20workspace','Remove\x20API\x20key\x20from\x20system\x20keychain','outputHelp','includes','--name\x20<new-name>','Read\x20request\x20body\x20from\x20file','--description\x20<desc>','Behaviors\x20as\x20JSON\x20string','HTML\x20template\x20content','noColor','argv','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--invisible','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','[EXPERIMENTAL]\x20Show\x20chat\x20log','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','List\x20all\x20available\x20profiles','engage_workspace','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','view\x20<name-or-path>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','chats','--yes','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Database\x20management\x20commands','push\x20[source-dir]','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Open\x20parent\x20segment\x20in\x20web\x20browser','Updated\x20schedule\x20option','Preview\x20without\x20creating\x20the\x20project','hook','--method\x20<pm>','Run\x20a\x20scheduled\x20query\x20immediately','Update\x20a\x20scheduled\x20query','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Action:\x20logs,\x20tasks,\x20kill,\x20retry','databases\x20[pattern]','journeys\x20[pattern]','Resume\x20from\x20specific\x20task\x20(retry)','pause\x20<name-or-path>','--revision\x20<revision>','Move\x20to\x20folder','--path\x20<file-path>','push\x20[parent_or_file]','project','configureHelp','delivery','--to\x20<n>','filter','allowExcessArguments','Create\x20a\x20new\x20agent\x20in\x20current\x20project','--retry-limit\x20<0~32>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','--data\x20<data>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Show\x20always-on\x20campaign\x20details','activations\x20<segment_name>','tables\x20[pattern]','--llm-project\x20<name>','Attributes\x20from\x20JSON\x20file','finish\x20<name-or-id>','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Read\x20HTML\x20template\x20from\x20file','show\x20<policy>','push\x20[name]','set','Run\x20tests\x20for\x20an\x20LLM\x20agent','AI-native\x20CLI\x20for\x20Treasure\x20Data','-C,\x20--directory\x20<path>','describe\x20[table]','description','opts','delete\x20<name>','help','Timezone\x20for\x20cron','upgrade\x20[version]','--editor-type\x20<type>','resume\x20<name-or-id>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','history\x20<name>','--start-at\x20<datetime>','alias','--parent-folder\x20<name>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Preview\x20changes\x20without\x20pushing','Pause\x20a\x20campaign','unset\x20<resource>','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','RT\x202.0\x20configuration\x20management','launch\x20<name-or-id>','Parent\x20segment\x20management','schedule','parent_segment','Task\x20name\x20for\x20logs\x20action','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','profiles','accessToken','Campaign\x20management','Output\x20folder\x20(default:\x20{project_name}.llm)','desc\x20[name]','--master','Pull\x20campaigns\x20to\x20YAML\x20files','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','--table','--attributes-file\x20<file>','pause\x20<name-or-id>','usage','--last','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','find','--table\x20<table>','update\x20<segment_name>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','agent','1051528BWOgJZ','--trace','stringify','--attempt-id\x20<id>','segment','--max-depth\x20<depth>','Interactive\x20chat\x20selector','desc\x20[segment_name]','--json-columns\x20<cols>','exit','Pull\x20templates\x20to\x20YAML\x20files','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Include\x20retried\x20attempts','submit\x20[query]','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','List\x20available\x20LLM\x20models','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Revision\x20name\x20(default:\x20timestamp)','Run\x20specific\x20tests\x20(comma-separated)','--to\x20<timestamp>','--no-color','log','Include\x20subtasks\x20in\x20tasks\x20output','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--jsonl','\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','--include-history','delete\x20<args...>','required','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','stats\x20<name-or-path>','1814575ICaJfe','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','always-on-campaigns\x20[pattern]','--timezone\x20<tz>','Agent\x20name','-a,\x20--agent\x20<name>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Workflow\x20(Digdag)\x20management\x20commands','debug','Cron\x20expression\x20for\x20scheduling','stderr','statusline','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','commands','Email\x20sender\x20ID\x20for\x20delivery','Show\x20the\x20most\x20recent\x20chat','--name\x20<name>','version','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','optionDescription','init\x20[name]','Clear\x20session\x20context','Campaign\x20type\x20(email\x20or\x20push)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Updated\x20description','show\x20[segment_name]','--new','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','fields\x20[parent_name]','Scheduled\x20query\x20management\x20commands','use\x20<name>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--next','Name\x20for\x20the\x20duplicated\x20campaign','push\x20[path]','restore\x20<folder>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','List\x20secret\x20keys\x20for\x20a\x20project','Plaintext\x20template\x20content','attempt'];a2_0x1499=function(){return _0x41deca;};return a2_0x1499();}import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x1dd5bc(0x349)][a2_0x1dd5bc(0x342)](a2_0x1dd5bc(0x2e5))){let versionOutput=a2_0x1dd5bc(0x477)+currentVersion;buildInfo[a2_0x1dd5bc(0x1ee)]&&!currentVersion[a2_0x1dd5bc(0x342)](buildInfo[a2_0x1dd5bc(0x1ee)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x1dd5bc(0x439)]&&(versionOutput+=a2_0x1dd5bc(0x487)+buildInfo[a2_0x1dd5bc(0x439)]),console['log'](versionOutput),process[a2_0x1dd5bc(0x3c0)](0x0);}const program=new Command();export function mergeCommandOptions(_0x30fe1e,_0x55a5fe){const _0x4925a0={..._0x30fe1e};for(const [_0x23ce3d,_0x44a7aa]of Object['entries'](_0x55a5fe)){_0x44a7aa!==undefined&&(_0x4925a0[_0x23ce3d]=_0x44a7aa);}return _0x4925a0;}let showBriefHelp=![],description=a2_0x1dd5bc(0x385);buildInfo['gitRevision']&&!currentVersion[a2_0x1dd5bc(0x342)](buildInfo[a2_0x1dd5bc(0x1ee)])?description+=a2_0x1dd5bc(0x2b1)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x1dd5bc(0x2b1)+currentVersion;program[a2_0x1dd5bc(0x1e4)](a2_0x1dd5bc(0x2d6))['description'](description),program[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x386),a2_0x1dd5bc(0x438))[a2_0x1dd5bc(0x207)]('-p,\x20--profile\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)')['option']('--site\x20<site>',a2_0x1dd5bc(0x200),'us01')[a2_0x1dd5bc(0x207)]('--format\x20<format>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3aa),a2_0x1dd5bc(0x33a))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x41b),a2_0x1dd5bc(0x20a))['option'](a2_0x1dd5bc(0x3d0),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2c0),a2_0x1dd5bc(0x3cf))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x203),a2_0x1dd5bc(0x227))[a2_0x1dd5bc(0x207)]('--limit\x20<number>',a2_0x1dd5bc(0x3c8))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x466),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])['option'](a2_0x1dd5bc(0x3cc),a2_0x1dd5bc(0x43d),![])[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x320),a2_0x1dd5bc(0x23d),![])['option'](a2_0x1dd5bc(0x470),a2_0x1dd5bc(0x377))['option'](a2_0x1dd5bc(0x3b8),a2_0x1dd5bc(0x29d))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x32b),a2_0x1dd5bc(0x2f4),'30')[a2_0x1dd5bc(0x207)]('--dry-run',a2_0x1dd5bc(0x225),![])['option'](a2_0x1dd5bc(0x20e),'Skip\x20confirmation\x20prompts',![])['option']('--session\x20<id>',a2_0x1dd5bc(0x325))['option'](a2_0x1dd5bc(0x234),a2_0x1dd5bc(0x2cc))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x37c),a2_0x1dd5bc(0x2b0)),program[a2_0x1dd5bc(0x36d)]({'formatHelp':(_0xe42ddd,_0x2dddd6)=>{const _0x3e19dd=a2_0x1dd5bc,_0x4e7cbf=_0x2dddd6[_0x3e19dd(0x267)](_0xe42ddd,_0x2dddd6),_0x5d2201=0x2,_0x367765=0x2;function _0x4aaa79(_0xd6662b){const _0x26e2a2=_0x3e19dd,_0x40ac06=_0xd6662b;return!!(_0x40ac06[_0x26e2a2(0x29e)]||_0x40ac06['hidden']);}function _0x30c971(_0xe8b6cb,_0x3b77e4){const _0xee3005=_0x3e19dd;if(_0x3b77e4){const _0x12c676=''+_0xe8b6cb[_0xee3005(0x488)](_0x4e7cbf+_0x367765)+_0x3b77e4;return _0x12c676;}return _0xe8b6cb;}function _0x503f30(_0x52cc1f){const _0x2dd2cd=_0x3e19dd;return _0x52cc1f[_0x2dd2cd(0x266)]('\x0a')['replace'](/^/gm,'\x20'[_0x2dd2cd(0x244)](_0x5d2201));}const _0x126f67=[];_0x126f67[_0x3e19dd(0x416)](_0x3e19dd(0x215)+_0x2dddd6[_0x3e19dd(0x2ce)](_0xe42ddd));const _0x18d64f=_0x2dddd6[_0x3e19dd(0x463)](_0xe42ddd);_0x18d64f&&(_0x126f67[_0x3e19dd(0x416)](''),_0x126f67[_0x3e19dd(0x416)](_0x18d64f));const _0x4f3e84=_0xe42ddd[_0x3e19dd(0x3e5)][_0x3e19dd(0x370)](_0x8e339e=>!_0x4aaa79(_0x8e339e));if(_0x4f3e84[_0x3e19dd(0x295)]>0x0){if(_0xe42ddd['name']()===_0x3e19dd(0x2d6)){const _0x1693a0=_0xe42ddd[_0x3e19dd(0x389)](),_0x29ef03=!_0x1693a0[_0x3e19dd(0x348)]&&process['stdout'][_0x3e19dd(0x20c)],_0x54270c=COMMAND_CATEGORIES,_0x1306de=(_0x46d2d9,_0x18e56e)=>_0x29ef03?_0x18e56e(_0x46d2d9):_0x46d2d9,_0x4d86f7=new Map();_0x4f3e84[_0x3e19dd(0x235)](_0x5a1ed3=>{const _0x131ba4=_0x3e19dd;_0x4d86f7[_0x131ba4(0x383)](_0x5a1ed3[_0x131ba4(0x1e4)](),_0x5a1ed3);}),_0x54270c[_0x3e19dd(0x235)](_0x3b7b7d=>{const _0x230d8c=_0x3e19dd,_0x3a98f9=_0x3b7b7d[_0x230d8c(0x3e5)]['flatMap'](_0x5487ab=>_0x4d86f7[_0x230d8c(0x324)](_0x5487ab)??[]);if(_0x3a98f9['length']>0x0){_0x126f67[_0x230d8c(0x416)](''),_0x126f67[_0x230d8c(0x416)](_0x1306de(_0x3b7b7d[_0x230d8c(0x1e4)]+':',_0x3b7b7d['colorFn']));const _0x510bdc=_0x3a98f9[_0x230d8c(0x2c4)](_0x6f0863=>{const _0x9bc5eb=_0x230d8c,_0x4a6764=_0x2dddd6[_0x9bc5eb(0x240)](_0x6f0863),_0x241162=_0x2dddd6[_0x9bc5eb(0x2ab)](_0x6f0863);return _0x30c971(_0x4a6764,_0x241162);});_0x126f67['push'](_0x503f30(_0x510bdc));}}),_0x126f67[_0x3e19dd(0x416)](''),_0x126f67[_0x3e19dd(0x416)](_0x3e19dd(0x1e8));}else{const _0x3bc0b9=_0x4f3e84[_0x3e19dd(0x2c4)](_0x26f92a=>{const _0x132160=_0x3e19dd,_0x288584=_0x2dddd6['subcommandTerm'](_0x26f92a),_0x3c01c0=_0x2dddd6[_0x132160(0x2ab)](_0x26f92a);return _0x30c971(_0x288584,_0x3c01c0);});_0x126f67['push'](''),_0x126f67['push'](_0x3e19dd(0x251)),_0x126f67[_0x3e19dd(0x416)](_0x503f30(_0x3bc0b9));}}if(showBriefHelp&&_0xe42ddd[_0x3e19dd(0x1e4)]()===_0x3e19dd(0x2d6))_0x126f67[_0x3e19dd(0x416)](''),_0x126f67[_0x3e19dd(0x416)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x39efa6=_0xe42ddd['options'][_0x3e19dd(0x370)](_0x34cb0f=>!_0x4aaa79(_0x34cb0f));if(_0x39efa6[_0x3e19dd(0x295)]>0x0){const _0x38fca4=_0x39efa6[_0x3e19dd(0x2c4)](_0x373634=>{const _0x4a64a9=_0x3e19dd,_0x20cba7=_0x2dddd6[_0x4a64a9(0x22b)](_0x373634),_0x3e9f09=_0x2dddd6[_0x4a64a9(0x3eb)](_0x373634);return _0x30c971(_0x20cba7,_0x3e9f09);});_0x126f67[_0x3e19dd(0x416)](''),_0x126f67['push'](_0x3e19dd(0x27d)),_0x126f67[_0x3e19dd(0x416)](_0x503f30(_0x38fca4));}}const _0x24bc6d=(_0xe42ddd[_0x3e19dd(0x2c3)]||[])[_0x3e19dd(0x370)](_0xa57ff2=>!_0x4aaa79(_0xa57ff2));if(_0x24bc6d['length']>0x0){const _0x225f0a=_0x24bc6d[_0x3e19dd(0x2c4)](_0x44e111=>{const _0x2f7ae7=_0x3e19dd,_0x6575b8=_0x2dddd6[_0x2f7ae7(0x461)](_0x44e111),_0x4dab3f=_0x2dddd6[_0x2f7ae7(0x241)](_0x44e111);return _0x30c971(_0x6575b8,_0x4dab3f);});_0x126f67[_0x3e19dd(0x416)](''),_0x126f67['push'](_0x3e19dd(0x2eb)),_0x126f67[_0x3e19dd(0x416)](_0x503f30(_0x225f0a));}return _0x126f67[_0x3e19dd(0x266)]('\x0a')+'\x0a';},'subcommandTerm':_0x5c8b45=>{const _0x2fac55=a2_0x1dd5bc,_0x1703ab=(_0x5c8b45[_0x2fac55(0x2c3)]||[])[_0x2fac55(0x2c4)](_0x1026e3=>_0x1026e3[_0x2fac55(0x3d4)]?'<'+_0x1026e3[_0x2fac55(0x1e4)]()+'>':'['+_0x1026e3[_0x2fac55(0x1e4)]()+']')[_0x2fac55(0x266)]('\x20'),_0x138d20=_0x5c8b45[_0x2fac55(0x437)](),_0x5ec7fb=_0x138d20['length']>0x0?_0x5c8b45['name']()+',\x20'+_0x138d20[_0x2fac55(0x266)](',\x20'):_0x5c8b45['name']();return _0x1703ab?_0x5ec7fb+'\x20'+_0x1703ab:_0x5ec7fb;}}),program[a2_0x1dd5bc(0x35e)]('preAction',_0x510c79=>{const _0xdff6dc=a2_0x1dd5bc,_0x132287=_0x510c79[_0xdff6dc(0x389)]();if(_0x132287[_0xdff6dc(0x315)]){const _0x59d6a9=resolve(_0x132287['directory']),_0x129f9f=_0x59d6a9!==_0x132287[_0xdff6dc(0x315)]?_0xdff6dc(0x484)+_0x59d6a9+')':'';if(!existsSync(_0x59d6a9))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0xdff6dc(0x481)+_0x132287[_0xdff6dc(0x315)]+_0x129f9f,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x33f08e=statSync(_0x59d6a9);if(!_0x33f08e[_0xdff6dc(0x26c)]())throw new SDKError(ErrorCode[_0xdff6dc(0x1b6)],_0xdff6dc(0x24b)+_0x132287[_0xdff6dc(0x315)]+_0x129f9f,undefined,{'helpText':_0xdff6dc(0x2c9)});process[_0xdff6dc(0x21f)](_0x59d6a9);}if(!_0x132287['format']){if(_0x132287[_0xdff6dc(0x334)])_0x132287['format']=_0xdff6dc(0x334);else{if(_0x132287['json'])_0x132287['format']=_0xdff6dc(0x285);else{if(_0x132287['jsonl'])_0x132287[_0xdff6dc(0x1f9)]=_0xdff6dc(0x276);else _0x132287['tsv']&&(_0x132287['format']=_0xdff6dc(0x2e0));}}}if(_0x132287[_0xdff6dc(0x26a)])_0x132287['logLevel']=LogLevel[_0xdff6dc(0x42a)];else{if(_0x132287[_0xdff6dc(0x3df)])_0x132287[_0xdff6dc(0x2ef)]=LogLevel['DEBUG'];else _0x132287[_0xdff6dc(0x2ef)]===undefined&&(_0x132287[_0xdff6dc(0x2ef)]=LogLevel[_0xdff6dc(0x306)]);}});async function createTDXInstance(_0x1f28d0){const _0x35246d=a2_0x1dd5bc,_0x57f386=await GlobalContext[_0x35246d(0x2d5)](_0x1f28d0);return _0x57f386[_0x35246d(0x210)](_0x1f28d0),TDX[_0x35246d(0x249)]({'site':_0x57f386['site'],'apiKey':_0x57f386[_0x35246d(0x30d)],'accessToken':_0x57f386[_0x35246d(0x3a3)],'logLevel':_0x57f386[_0x35246d(0x2ef)],'profile':_0x57f386[_0x35246d(0x204)]});}const databaseCmd=program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x23e))[a2_0x1dd5bc(0x393)]('db')['description'](a2_0x1dd5bc(0x358)),databaseListAction=async(_0x4086e9,_0x51a447)=>{const _0x283d16=a2_0x1dd5bc,_0xee96cb=new DatabasesCommand(),_0x44749e=program[_0x283d16(0x389)](),_0x398b91=await createTDXInstance(_0x44749e),_0x168390=await _0xee96cb[_0x283d16(0x32e)]({'options':{..._0x44749e,..._0x51a447},'args':_0x4086e9?[_0x4086e9]:[],'tdx':_0x398b91});gracefulExit(_0x168390);};databaseCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x47b))['description'](a2_0x1dd5bc(0x29c))[a2_0x1dd5bc(0x450)](databaseListAction),program['command'](a2_0x1dd5bc(0x364),{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x362))[a2_0x1dd5bc(0x450)](databaseListAction),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2cb))['description']('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x1dd5bc(0x207)]('--agent\x20<ref>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3f2),a2_0x1dd5bc(0x2a6))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2a3),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x1dd5bc(0x207)]('--stream',a2_0x1dd5bc(0x3fc))[a2_0x1dd5bc(0x450)](async(_0xed7bfd,_0x3f2f8f)=>{const _0x1e8e18=a2_0x1dd5bc,_0x1d07ac=program[_0x1e8e18(0x389)](),_0x295358=await createTDXInstance(_0x1d07ac);if(_0xed7bfd[0x0]==='create'){const _0x4e9e58=new ChatCreateCommand();gracefulExit(await _0x4e9e58[_0x1e8e18(0x32e)]({'options':{..._0x1d07ac,..._0x3f2f8f},'args':_0xed7bfd[_0x1e8e18(0x289)](0x1),'tdx':_0x295358}));return;}const _0x445901=new ChatCommand(),_0x2c9615=await _0x445901[_0x1e8e18(0x32e)]({'options':{..._0x1d07ac,..._0x3f2f8f},'args':_0xed7bfd,'tdx':_0x295358});gracefulExit(_0x2c9615);});const apiCmd=program[a2_0x1dd5bc(0x284)]('api\x20[endpoint]')[a2_0x1dd5bc(0x22e)](a2_0x1dd5bc(0x395))[a2_0x1dd5bc(0x25f)]('after',a2_0x1dd5bc(0x3d1))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x297),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','GET')['option'](a2_0x1dd5bc(0x376),'Request\x20body\x20as\x20JSON\x20string')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1ba),a2_0x1dd5bc(0x344))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2a5),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x124fd6,_0xf15158)=>{return _0xf15158?[..._0xf15158,_0x124fd6]:[_0x124fd6];})[a2_0x1dd5bc(0x207)]('--type\x20<api_type>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x3a42d7,_0xf057b9)=>{if(!_0x3a42d7){apiCmd['help']();return;}const _0x4ff6c0=new ApiCommand(),_0x4646d3=program['opts'](),_0x51f81b=await createTDXInstance(_0x4646d3),_0x14a5fd=await _0x4ff6c0['run']({'options':{..._0x4646d3,..._0xf057b9},'args':[_0x3a42d7],'tdx':_0x51f81b});gracefulExit(_0x14a5fd);});program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x27c))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x39a))[a2_0x1dd5bc(0x25f)]('after',a2_0x1dd5bc(0x277))['action'](async _0x16898d=>{const _0x6ca99d=a2_0x1dd5bc,_0x375412=new MCPCommand(),_0x45af0e=program['opts'](),_0x4b6c8f=await createTDXInstance(_0x45af0e),_0x6df5f6=await _0x375412[_0x6ca99d(0x32e)]({'options':{..._0x45af0e,..._0x16898d},'args':[],'tdx':_0x4b6c8f});gracefulExit(_0x6df5f6);});const tableCmd=program[a2_0x1dd5bc(0x284)]('table')['description'](a2_0x1dd5bc(0x46c)),tableListAction=async(_0x11c7ae,_0x328a08)=>{const _0x5a8c60=a2_0x1dd5bc,_0x572d45=new TablesCommand(),_0x20c8ca=program[_0x5a8c60(0x389)](),_0x225388=await createTDXInstance(_0x20c8ca);_0x328a08['in']&&(_0x328a08[_0x5a8c60(0x23e)]=_0x328a08['in']);const _0x4c7b80=await _0x572d45['run']({'options':{..._0x20c8ca,..._0x328a08},'args':_0x11c7ae?[_0x11c7ae]:[],'tdx':_0x225388});gracefulExit(_0x4c7b80);};tableCmd['command'](a2_0x1dd5bc(0x47b))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1da))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x454),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')['option'](a2_0x1dd5bc(0x445),a2_0x1dd5bc(0x464))['action'](tableListAction),program['command'](a2_0x1dd5bc(0x37b),{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x351))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x454),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')['option'](a2_0x1dd5bc(0x445),a2_0x1dd5bc(0x464))['action'](tableListAction),program['command']('show\x20[table]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2ad))['option'](a2_0x1dd5bc(0x454),a2_0x1dd5bc(0x314))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x445),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x3f0529,_0x13bb80)=>{const _0x13d15a=a2_0x1dd5bc,_0x3145c1=new ShowCommand(),_0xb2199c=program['opts'](),_0x400953=await createTDXInstance(_0xb2199c);_0x13bb80['in']&&(_0x13bb80[_0x13d15a(0x23e)]=_0x13bb80['in']);const _0x260184=await _0x3145c1[_0x13d15a(0x32e)]({'options':{..._0xb2199c,..._0x13bb80},'args':_0x3f0529?[_0x3f0529]:[],'tdx':_0x400953});gracefulExit(_0x260184);}),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x387))['alias']('desc')[a2_0x1dd5bc(0x388)]('Describe\x20table\x20schema')[a2_0x1dd5bc(0x207)]('-d,\x20--database\x20<database>',a2_0x1dd5bc(0x314))[a2_0x1dd5bc(0x207)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x1dd5bc(0x450)](async(_0x32e58f,_0x355b55)=>{const _0x345054=a2_0x1dd5bc,_0x449de3=new DescribeCommand(),_0x2ecef9=program[_0x345054(0x389)](),_0x2e6917=await createTDXInstance(_0x2ecef9);_0x355b55['in']&&(_0x355b55[_0x345054(0x23e)]=_0x355b55['in']);const _0x3db7c1=await _0x449de3[_0x345054(0x32e)]({'options':{..._0x2ecef9,..._0x355b55},'args':_0x32e58f?[_0x32e58f]:[],'tdx':_0x2e6917});gracefulExit(_0x3db7c1);}),program[a2_0x1dd5bc(0x284)]('query\x20[sql]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x424))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x454),a2_0x1dd5bc(0x2cf))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x445),a2_0x1dd5bc(0x464))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x260),a2_0x1dd5bc(0x216))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1ba),'Read\x20SQL\x20query\x20from\x20file')['option'](a2_0x1dd5bc(0x42c),'Maximum\x20rows\x20to\x20display')[a2_0x1dd5bc(0x450)](async(_0x3da22b,_0x3d66d8)=>{const _0x2eb9a3=a2_0x1dd5bc,_0xd439af=new QueryCommand(),_0x35e9e1=program['opts'](),_0x44dff7=await createTDXInstance(_0x35e9e1);_0x3d66d8['in']&&(_0x3d66d8[_0x2eb9a3(0x23e)]=_0x3d66d8['in']);const _0x40ea89=await _0xd439af[_0x2eb9a3(0x32e)]({'options':mergeCommandOptions(_0x35e9e1,_0x3d66d8),'args':_0x3da22b?[_0x3da22b]:[],'tdx':_0x44dff7});gracefulExit(_0x40ea89);});const segmentCmd=program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3bb))[a2_0x1dd5bc(0x393)]('sg')[a2_0x1dd5bc(0x388)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x17411d,_0x1bdfa3)=>{const _0x1134b6=a2_0x1dd5bc,_0x31b730=new SegmentsCommand(),_0x28dc08=program['opts'](),_0x132729=await createTDXInstance(_0x28dc08),_0x3391ae=await _0x31b730[_0x1134b6(0x32e)]({'options':{..._0x28dc08,..._0x1bdfa3},'args':_0x17411d?[_0x17411d]:[],'tdx':_0x132729});gracefulExit(_0x3391ae);};segmentCmd['command'](a2_0x1dd5bc(0x231))['description'](a2_0x1dd5bc(0x1fa))[a2_0x1dd5bc(0x207)]('-r,\x20--recursive',a2_0x1dd5bc(0x40c))['option'](a2_0x1dd5bc(0x3bc),a2_0x1dd5bc(0x480),'10')[a2_0x1dd5bc(0x450)](segmentListAction),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x327),{'hidden':!![]})[a2_0x1dd5bc(0x388)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x43e),a2_0x1dd5bc(0x40c))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3bc),a2_0x1dd5bc(0x480),'10')[a2_0x1dd5bc(0x450)](segmentListAction),segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x228),{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x441))['action'](async(_0x55667a,_0x105f5a)=>{const _0x5f03f9=a2_0x1dd5bc,_0xf53f97=new SegmentUseCommand(),_0x11bf7f=program[_0x5f03f9(0x389)](),_0x5ea5d0=await createTDXInstance(_0x11bf7f),_0x5668d1=await _0xf53f97[_0x5f03f9(0x32e)]({'options':{..._0x11bf7f,..._0x105f5a},'args':[_0x55667a],'tdx':_0x5ea5d0});gracefulExit(_0x5668d1);});const segmentViewAction=async(_0x47f820,_0x342110)=>{const _0x3763c1=a2_0x1dd5bc,_0xb772d1=new SegmentViewCommand(),_0x5bfec8=program[_0x3763c1(0x389)](),_0x64821d=await createTDXInstance(_0x5bfec8),_0x319ab6=await _0xb772d1['run']({'options':{..._0x5bfec8,..._0x342110},'args':_0x47f820?[_0x47f820]:[],'tdx':_0x64821d});gracefulExit(_0x319ab6);};segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x414))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x478))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x32a),a2_0x1dd5bc(0x457))[a2_0x1dd5bc(0x450)](segmentViewAction),segmentCmd[a2_0x1dd5bc(0x284)]('info\x20[segment_name]',{'hidden':!![]})[a2_0x1dd5bc(0x393)](a2_0x1dd5bc(0x42f))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x32a),a2_0x1dd5bc(0x457))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x28d))[a2_0x1dd5bc(0x450)](segmentViewAction),segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3be))['description'](a2_0x1dd5bc(0x2e7))[a2_0x1dd5bc(0x450)](async(_0x82d028,_0x24bfeb)=>{const _0x585ba1=a2_0x1dd5bc,_0x3bac39=new SegmentDescCommand(),_0x141df6=program[_0x585ba1(0x389)](),_0x455e11=await createTDXInstance(_0x141df6),_0xcbb03e=await _0x3bac39['run']({'options':{..._0x141df6,..._0x24bfeb},'args':_0x82d028?[_0x82d028]:[],'tdx':_0x455e11});gracefulExit(_0xcbb03e);}),segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3f1))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2f5))[a2_0x1dd5bc(0x450)](async(_0x162634,_0x1d6566)=>{const _0x1a5f77=a2_0x1dd5bc,_0xf046be=new SegmentShowCommand(),_0xd351f6=program[_0x1a5f77(0x389)](),_0x14d4fe=await createTDXInstance(_0xd351f6),_0xe43023=await _0xf046be[_0x1a5f77(0x32e)]({'options':{..._0xd351f6,..._0x1d6566},'args':_0x162634?[_0x162634]:[],'tdx':_0x14d4fe});gracefulExit(_0xe43023);}),segmentCmd[a2_0x1dd5bc(0x284)]('folders\x20<parent_name>',{'hidden':!![]})['description'](a2_0x1dd5bc(0x281))[a2_0x1dd5bc(0x450)](async(_0x2fe99b,_0x102d2d)=>{const _0x23c32b=a2_0x1dd5bc,_0x10a33b=new SegmentFolderListCommand(),_0x451bad=program[_0x23c32b(0x389)](),_0x1df799=await createTDXInstance(_0x451bad),_0x168b72=await _0x10a33b[_0x23c32b(0x32e)]({'options':{..._0x451bad,..._0x102d2d},'args':[_0x2fe99b],'tdx':_0x1df799});gracefulExit(_0x168b72);});const folderCmd=segmentCmd[a2_0x1dd5bc(0x284)]('folder',{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x43b));folderCmd['command'](a2_0x1dd5bc(0x2d1))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3d8))['action'](async(_0x4a6c36,_0x3edc93)=>{const _0x50c90e=a2_0x1dd5bc,_0x44cb59=new SegmentFolderShowCommand(),_0x59f4db=program['opts'](),_0x431968=await createTDXInstance(_0x59f4db),_0x56d3d1=await _0x44cb59[_0x50c90e(0x32e)]({'options':{..._0x59f4db,..._0x3edc93},'args':[_0x4a6c36],'tdx':_0x431968});gracefulExit(_0x56d3d1);}),segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x236))['description']('Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x36a),a2_0x1dd5bc(0x420))[a2_0x1dd5bc(0x450)](async(_0x4a6d93,_0xa8a31c)=>{const _0x5a0742=a2_0x1dd5bc,_0x242c04=new SegmentSQLCommand(),_0x4576e7=program[_0x5a0742(0x389)](),_0x2d42e6=await createTDXInstance(_0x4576e7),_0x3da3b3=await _0x242c04['run']({'options':{..._0x4576e7,..._0xa8a31c},'args':_0x4a6d93?[_0x4a6d93]:[],'tdx':_0x2d42e6});gracefulExit(_0x3da3b3);}),segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3f4))['description'](a2_0x1dd5bc(0x332))['action'](async(_0x28a839,_0x47f908)=>{const _0x22203f=a2_0x1dd5bc,_0x351b76=new SegmentFieldsCommand(),_0x3c77c3=program['opts'](),_0x13d5f4=await createTDXInstance(_0x3c77c3),_0x4a0251=await _0x351b76[_0x22203f(0x32e)]({'options':{..._0x3c77c3,..._0x47f908},'args':_0x28a839?[_0x28a839]:[],'tdx':_0x13d5f4});gracefulExit(_0x4a0251);}),segmentCmd[a2_0x1dd5bc(0x284)]('pull\x20[parent_or_file]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x43f))['option']('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['action'](async(_0x1725af,_0x36fab9)=>{const _0xe12d0d=a2_0x1dd5bc,_0x16bb76=new SegmentPullCommand(),_0x47bede=program[_0xe12d0d(0x389)](),_0x4ba07e=await createTDXInstance(_0x47bede),_0x582dbf=await _0x16bb76['run']({'options':{..._0x47bede,..._0x36fab9},'args':_0x1725af?[_0x1725af]:[],'tdx':_0x4ba07e});gracefulExit(_0x582dbf);}),segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x36b))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x474))['option'](a2_0x1dd5bc(0x443),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x1dd5bc(0x207)]('--delete',a2_0x1dd5bc(0x2b9))[a2_0x1dd5bc(0x450)](async(_0x52b644,_0x5792ec)=>{const _0x4fc846=a2_0x1dd5bc,_0x5038b0=new SegmentPushCommand(),_0x2ae219=program[_0x4fc846(0x389)](),_0x367e8d=await createTDXInstance(_0x2ae219),_0x1c7970=await _0x5038b0[_0x4fc846(0x32e)]({'options':{..._0x2ae219,..._0x5792ec},'args':_0x52b644?[_0x52b644]:[],'tdx':_0x367e8d});gracefulExit(_0x1c7970);}),segmentCmd[a2_0x1dd5bc(0x284)]('validate\x20[target]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1c3))[a2_0x1dd5bc(0x450)](async(_0x377a75,_0x3a5d71)=>{const _0x220b89=a2_0x1dd5bc,_0x550cd5=new SegmentValidateCommand(),_0x243de5=program['opts'](),_0xecc265=await createTDXInstance(_0x243de5),_0x140bc4=await _0x550cd5[_0x220b89(0x32e)]({'options':{..._0x243de5,..._0x3a5d71},'args':_0x377a75?[_0x377a75]:[],'tdx':_0xecc265});gracefulExit(_0x140bc4);}),segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2fd),{'hidden':!![]})[a2_0x1dd5bc(0x388)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option']('--description\x20<text>',a2_0x1dd5bc(0x404))[a2_0x1dd5bc(0x207)]('--rule\x20<json>',a2_0x1dd5bc(0x2b8))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x264),a2_0x1dd5bc(0x2c6))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x252),'Folder\x20name\x20for\x20organization')['option'](a2_0x1dd5bc(0x1f8),a2_0x1dd5bc(0x237))['option'](a2_0x1dd5bc(0x34b),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2d2),a2_0x1dd5bc(0x1f0))[a2_0x1dd5bc(0x450)](async(_0x750d50,_0x4b25c7)=>{const _0x175abf=a2_0x1dd5bc,_0x2437f3=new SegmentCreateCommand(),_0x2118d6=program[_0x175abf(0x389)](),_0x500cf4=await createTDXInstance(_0x2118d6),_0x37a629=await _0x2437f3[_0x175abf(0x32e)]({'options':{..._0x2118d6,..._0x4b25c7},'args':[_0x750d50],'tdx':_0x500cf4});gracefulExit(_0x37a629);}),segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3b2),{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x33b))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x40f),a2_0x1dd5bc(0x412))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x290),'Updated\x20description')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2f0),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x264),a2_0x1dd5bc(0x485))['option']('--folder\x20<name>',a2_0x1dd5bc(0x369))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1f8),a2_0x1dd5bc(0x237))[a2_0x1dd5bc(0x450)](async(_0xa36ca,_0x2bb104)=>{const _0x437c4c=a2_0x1dd5bc,_0x3045de=new SegmentUpdateCommand(),_0x2881c9=program[_0x437c4c(0x389)](),_0x49e316=await createTDXInstance(_0x2881c9),_0x42f320=await _0x3045de[_0x437c4c(0x32e)]({'options':{..._0x2881c9,..._0x2bb104},'args':[_0xa36ca],'tdx':_0x49e316});gracefulExit(_0x42f320);});const parentCmd=segmentCmd[a2_0x1dd5bc(0x284)]('parent',{'hidden':!![]})[a2_0x1dd5bc(0x388)]('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x517f1a,_0x84f7e)=>{const _0x33b398=new ParentSegmentListCommand(),_0x3e3343=program['opts'](),_0x2e5f09=await createTDXInstance(_0x3e3343),_0x1fb6ca=await _0x33b398['run']({'options':{..._0x3e3343,..._0x84f7e},'args':_0x517f1a?[_0x517f1a]:[],'tdx':_0x2e5f09});gracefulExit(_0x1fb6ca);};parentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x47b))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x482))[a2_0x1dd5bc(0x450)](parentListAction),segmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x448),{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x206))[a2_0x1dd5bc(0x450)](parentListAction),parentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x46e))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x208))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x31e),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x1dd5bc(0x450)](async(_0x5ba627,_0x5cd42a)=>{const _0x1f8216=a2_0x1dd5bc,_0x15fbff=new ParentSegmentPullCommand(),_0x3d1eff=program['opts'](),_0x4fe472=await createTDXInstance(_0x3d1eff),_0x1fe7df=await _0x15fbff[_0x1f8216(0x32e)]({'options':{..._0x3d1eff,..._0x5cd42a},'args':_0x5ba627?[_0x5ba627]:[],'tdx':_0x4fe472});gracefulExit(_0x1fe7df);}),parentCmd[a2_0x1dd5bc(0x284)]('push\x20[file]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x47c))[a2_0x1dd5bc(0x450)](async(_0x38eb5a,_0x2bb4d8)=>{const _0x1008c2=a2_0x1dd5bc,_0x6a144c=new ParentSegmentPushCommand(),_0x5a8ccd=program['opts'](),_0x2ea506=await createTDXInstance(_0x5a8ccd),_0x1b1f7d=await _0x6a144c[_0x1008c2(0x32e)]({'options':{..._0x5a8ccd,..._0x2bb4d8},'args':_0x38eb5a?[_0x38eb5a]:[],'tdx':_0x2ea506});gracefulExit(_0x1b1f7d);}),parentCmd['command'](a2_0x1dd5bc(0x333))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3e3))['option'](a2_0x1dd5bc(0x3a7),a2_0x1dd5bc(0x444))['option'](a2_0x1dd5bc(0x32d),a2_0x1dd5bc(0x226))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x435),a2_0x1dd5bc(0x354))[a2_0x1dd5bc(0x207)]('--enriched',a2_0x1dd5bc(0x26e))[a2_0x1dd5bc(0x207)]('--interval\x20<range>',a2_0x1dd5bc(0x23f),a2_0x1dd5bc(0x302))[a2_0x1dd5bc(0x450)](async(_0x22fca2,_0x632bb9)=>{const _0x2e769b=a2_0x1dd5bc,_0x560d93=new ParentSegmentValidateCommand(),_0x715f91=program[_0x2e769b(0x389)](),_0x562748=await createTDXInstance(_0x715f91),_0x1ef7f7=await _0x560d93[_0x2e769b(0x32e)]({'options':{..._0x715f91,..._0x632bb9},'args':_0x22fca2?[_0x22fca2]:[],'tdx':_0x562748});gracefulExit(_0x1ef7f7);}),parentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x1ec))[a2_0x1dd5bc(0x388)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option'](a2_0x1dd5bc(0x3a7),a2_0x1dd5bc(0x222))['option'](a2_0x1dd5bc(0x32d),a2_0x1dd5bc(0x296))['option'](a2_0x1dd5bc(0x435),a2_0x1dd5bc(0x1be))[a2_0x1dd5bc(0x207)]('--enriched','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x218),a2_0x1dd5bc(0x23f),'-1d')[a2_0x1dd5bc(0x450)](async(_0x3cd224,_0x3b3182)=>{const _0x3c8ca3=a2_0x1dd5bc,_0x545f84=new ParentSegmentPreviewCommand(),_0xde6540=program['opts'](),_0x541c54=await createTDXInstance(_0xde6540),_0x2e1bca=await _0x545f84[_0x3c8ca3(0x32e)]({'options':{..._0xde6540,..._0x3b3182},'args':_0x3cd224?[_0x3cd224]:[],'tdx':_0x541c54});gracefulExit(_0x2e1bca);}),parentCmd['command'](a2_0x1dd5bc(0x42d))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x41c))[a2_0x1dd5bc(0x450)](async(_0x2c2f0f,_0x5a418d)=>{const _0x10cd77=a2_0x1dd5bc,_0x5d1b21=new ParentSegmentRunCommand(),_0x52c32e=program[_0x10cd77(0x389)](),_0x18e912=await createTDXInstance(_0x52c32e),_0x5a22d2=await _0x5d1b21[_0x10cd77(0x32e)]({'options':{..._0x52c32e,..._0x5a418d},'args':_0x2c2f0f?[_0x2c2f0f]:[],'tdx':_0x18e912});gracefulExit(_0x5a22d2);});const parentSegmentCmd=program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x246))[a2_0x1dd5bc(0x393)]('ps')['description'](a2_0x1dd5bc(0x39d));parentSegmentCmd['command'](a2_0x1dd5bc(0x47b))['description'](a2_0x1dd5bc(0x482))[a2_0x1dd5bc(0x450)](parentListAction),parentSegmentCmd[a2_0x1dd5bc(0x284)]('pull\x20[name]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1eb))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x31e),a2_0x1dd5bc(0x406))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1b8),a2_0x1dd5bc(0x1d9))['action'](async(_0x542ad0,_0x197dcc)=>{const _0x3e5859=a2_0x1dd5bc,_0x3b7f8a=new ParentSegmentPullCommand(),_0x27ba86=program['opts'](),_0x1f565b=await createTDXInstance(_0x27ba86),_0x492a53=await _0x3b7f8a[_0x3e5859(0x32e)]({'options':{..._0x27ba86,..._0x197dcc},'args':_0x542ad0?[_0x542ad0]:[],'tdx':_0x1f565b});gracefulExit(_0x492a53);}),parentSegmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x382))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x243))[a2_0x1dd5bc(0x450)](async(_0x528e71,_0x959571)=>{const _0x3ff1f4=a2_0x1dd5bc,_0x1a2c75=new ParentSegmentPushCommand(),_0x5781d1=program[_0x3ff1f4(0x389)](),_0x413e01=await createTDXInstance(_0x5781d1),_0x1dbff6=await _0x1a2c75[_0x3ff1f4(0x32e)]({'options':{..._0x5781d1,..._0x959571},'args':_0x528e71?[_0x528e71]:[],'tdx':_0x413e01});gracefulExit(_0x1dbff6);}),parentSegmentCmd['command']('validate\x20[name]')[a2_0x1dd5bc(0x388)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option']('--master',a2_0x1dd5bc(0x444))[a2_0x1dd5bc(0x207)]('--attribute\x20[name]',a2_0x1dd5bc(0x226))[a2_0x1dd5bc(0x207)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x27a),a2_0x1dd5bc(0x26e))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x218),a2_0x1dd5bc(0x23f),a2_0x1dd5bc(0x302))['action'](async(_0x4ad6c2,_0x234b81)=>{const _0x156b74=a2_0x1dd5bc,_0x2edadd=new ParentSegmentValidateCommand(),_0x407596=program[_0x156b74(0x389)](),_0x1f386e=await createTDXInstance(_0x407596),_0x36dfc4=await _0x2edadd[_0x156b74(0x32e)]({'options':{..._0x407596,..._0x234b81},'args':_0x4ad6c2?[_0x4ad6c2]:[],'tdx':_0x1f386e});gracefulExit(_0x36dfc4);}),parentSegmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x33e))[a2_0x1dd5bc(0x388)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x1dd5bc(0x207)]('--master',a2_0x1dd5bc(0x222))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x32d),a2_0x1dd5bc(0x296))['option'](a2_0x1dd5bc(0x435),a2_0x1dd5bc(0x1be))[a2_0x1dd5bc(0x207)]('--enriched',a2_0x1dd5bc(0x34a))[a2_0x1dd5bc(0x207)]('--interval\x20<range>',a2_0x1dd5bc(0x23f),a2_0x1dd5bc(0x302))[a2_0x1dd5bc(0x450)](async(_0x510fd5,_0xc90ea2)=>{const _0x53fc8d=a2_0x1dd5bc,_0x12efed=new ParentSegmentPreviewCommand(),_0x890476=program[_0x53fc8d(0x389)](),_0x5da241=await createTDXInstance(_0x890476),_0x3864da=await _0x12efed[_0x53fc8d(0x32e)]({'options':{..._0x890476,..._0xc90ea2},'args':_0x510fd5?[_0x510fd5]:[],'tdx':_0x5da241});gracefulExit(_0x3864da);}),parentSegmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x42d))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x41c))[a2_0x1dd5bc(0x450)](async(_0x36174b,_0x4c0f1b)=>{const _0x2d5f94=a2_0x1dd5bc,_0x4e58ca=new ParentSegmentRunCommand(),_0x105419=program[_0x2d5f94(0x389)](),_0x508920=await createTDXInstance(_0x105419),_0xaba0a=await _0x4e58ca[_0x2d5f94(0x32e)]({'options':{..._0x105419,..._0x4c0f1b},'args':_0x36174b?[_0x36174b]:[],'tdx':_0x508920});gracefulExit(_0xaba0a);}),parentSegmentCmd['command'](a2_0x1dd5bc(0x339))[a2_0x1dd5bc(0x388)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x41b),a2_0x1dd5bc(0x1db))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3d0),a2_0x1dd5bc(0x1e9))[a2_0x1dd5bc(0x450)](async(_0x217c9c,_0x212738)=>{const _0x134d04=a2_0x1dd5bc,_0x41e859=new ParentSegmentFieldsCommand(),_0x476945=program[_0x134d04(0x389)](),_0x1abcc3=await createTDXInstance(_0x476945),_0x329101=await _0x41e859[_0x134d04(0x32e)]({'options':{..._0x476945,..._0x212738},'args':_0x217c9c?[_0x217c9c]:[],'tdx':_0x1abcc3});gracefulExit(_0x329101);}),parentSegmentCmd['command'](a2_0x1dd5bc(0x2c2))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x217))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x32a),a2_0x1dd5bc(0x35b))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x41b),a2_0x1dd5bc(0x1db))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3d0),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x4ac7f7,_0x5ab9a6)=>{const _0x594d04=a2_0x1dd5bc,_0x4cd5af=new ParentSegmentViewCommand(),_0x3cd379=program[_0x594d04(0x389)](),_0x12eedc=await createTDXInstance(_0x3cd379),_0x2cee7f=await _0x4cd5af[_0x594d04(0x32e)]({'options':{..._0x3cd379,..._0x5ab9a6},'args':_0x4ac7f7?[_0x4ac7f7]:[],'tdx':_0x12eedc});gracefulExit(_0x2cee7f);}),parentSegmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3a6))[a2_0x1dd5bc(0x388)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x31e),a2_0x1dd5bc(0x406))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x41b),a2_0x1dd5bc(0x1db))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3d0),a2_0x1dd5bc(0x1e9))[a2_0x1dd5bc(0x450)](async(_0x1be9f2,_0x1d003e)=>{const _0xf8af64=a2_0x1dd5bc,_0x305b5b=new ParentSegmentDescCommand(),_0x2ade36=program['opts'](),_0x41e07e=await createTDXInstance(_0x2ade36),_0x402305=await _0x305b5b[_0xf8af64(0x32e)]({'options':{..._0x2ade36,..._0x1d003e},'args':_0x1be9f2?[_0x1be9f2]:[],'tdx':_0x41e07e});gracefulExit(_0x402305);}),parentSegmentCmd[a2_0x1dd5bc(0x284)]('sql\x20[name]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3af))['option']('--json',a2_0x1dd5bc(0x1db))[a2_0x1dd5bc(0x207)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x1dd5bc(0x450)](async(_0xa30e9e,_0x9b11a5)=>{const _0x15d3a1=a2_0x1dd5bc,_0x4f5d35=new ParentSegmentSQLCommand(),_0x452cf2=program[_0x15d3a1(0x389)](),_0x1f80f7=await createTDXInstance(_0x452cf2),_0x47dafe=await _0x4f5d35[_0x15d3a1(0x32e)]({'options':{..._0x452cf2,..._0x9b11a5},'args':_0xa30e9e?[_0xa30e9e]:[],'tdx':_0x1f80f7});gracefulExit(_0x47dafe);}),parentSegmentCmd['command'](a2_0x1dd5bc(0x425))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x300))['option'](a2_0x1dd5bc(0x232),a2_0x1dd5bc(0x1bd))['option'](a2_0x1dd5bc(0x41b),'Output\x20as\x20JSON')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3d0),a2_0x1dd5bc(0x1e9))[a2_0x1dd5bc(0x450)](async(_0x4f2d02,_0x4b7124)=>{const _0xfef576=a2_0x1dd5bc,_0x247a6a=new ParentSegmentShowCommand(),_0x4a134a=program['opts'](),_0x1463be=await createTDXInstance(_0x4a134a),_0x8710c5=await _0x247a6a[_0xfef576(0x32e)]({'options':{..._0x4a134a,..._0x4b7124},'args':_0x4f2d02?[_0x4f2d02]:[],'tdx':_0x1463be});gracefulExit(_0x8710c5);}),parentSegmentCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x45e))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x407))['action'](async(_0x26b8da,_0x206347)=>{const _0x5e5917=a2_0x1dd5bc,_0x4b81cf=new UseCommand(),_0x5916f4=program[_0x5e5917(0x389)](),_0x495595=_0x26b8da?[_0x5e5917(0x39f),_0x26b8da]:[],_0xf61817=await _0x4b81cf[_0x5e5917(0x32e)]({'options':{..._0x5916f4,..._0x206347},'args':_0x495595,'tdx':null});gracefulExit(_0xf61817);});const psRtCmd=parentSegmentCmd[a2_0x1dd5bc(0x284)]('rt')[a2_0x1dd5bc(0x388)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x1dd5bc(0x284)]('list\x20[pattern]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x378))[a2_0x1dd5bc(0x450)](async(_0x3d57d0,_0x5ebda1)=>{const _0xd94d0b=a2_0x1dd5bc,_0x2896fa=new PSRtListCommand(),_0x2ab318=program[_0xd94d0b(0x389)](),_0x24f7b3=await createTDXInstance(_0x2ab318),_0x2eafbb=await _0x2896fa[_0xd94d0b(0x32e)]({'options':{..._0x2ab318,..._0x5ebda1},'args':_0x3d57d0?[_0x3d57d0]:[],'tdx':_0x24f7b3});gracefulExit(_0x2eafbb);}),psRtCmd['command'](a2_0x1dd5bc(0x1e1))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3dd))['action'](async(_0x3d4631,_0x3ef1ee)=>{const _0x48da55=a2_0x1dd5bc,_0x538b54=new PSRtValidateCommand(),_0x57a5c8=program['opts'](),_0xda06f1=await createTDXInstance(_0x57a5c8),_0x4589da=await _0x538b54[_0x48da55(0x32e)]({'options':{..._0x57a5c8,..._0x3ef1ee},'args':_0x3d4631?[_0x3d4631]:[],'tdx':_0xda06f1});gracefulExit(_0x4589da);});const parentRtCmd=parentCmd[a2_0x1dd5bc(0x284)]('rt',{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x39b));parentRtCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x47b))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x378))[a2_0x1dd5bc(0x450)](async(_0x23cd15,_0xf8ddd1)=>{const _0x55a97f=new PSRtListCommand(),_0x339ecd=program['opts'](),_0x2ce3e0=await createTDXInstance(_0x339ecd),_0x949923=await _0x55a97f['run']({'options':{..._0x339ecd,..._0xf8ddd1},'args':_0x23cd15?[_0x23cd15]:[],'tdx':_0x2ce3e0});gracefulExit(_0x949923);}),parentRtCmd['command'](a2_0x1dd5bc(0x1e1))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3dd))[a2_0x1dd5bc(0x450)](async(_0x18a0a8,_0xdfcdfb)=>{const _0x4e15c6=a2_0x1dd5bc,_0x5d43ca=new PSRtValidateCommand(),_0x53129a=program[_0x4e15c6(0x389)](),_0x24b911=await createTDXInstance(_0x53129a),_0x30c422=await _0x5d43ca[_0x4e15c6(0x32e)]({'options':{..._0x53129a,..._0xdfcdfb},'args':_0x18a0a8?[_0x18a0a8]:[],'tdx':_0x24b911});gracefulExit(_0x30c422);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2e8));psPzCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x330))[a2_0x1dd5bc(0x388)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x1dd5bc(0x450)](async(_0x1f0e20,_0x24549d)=>{const _0x2b13e9=a2_0x1dd5bc,_0x150949=new PSPzListCommand(),_0x2800cd=program['opts'](),_0x2f68eb=await createTDXInstance(_0x2800cd),_0x202e43=await _0x150949[_0x2b13e9(0x32e)]({'options':{..._0x2800cd,..._0x24549d},'args':_0x1f0e20?[_0x1f0e20]:[],'tdx':_0x2f68eb});gracefulExit(_0x202e43);}),psPzCmd[a2_0x1dd5bc(0x284)]('init\x20[name]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x433))[a2_0x1dd5bc(0x450)](async(_0x34c63a,_0x23d200)=>{const _0x8b295c=a2_0x1dd5bc,_0x2db981=new PSPzInitCommand(),_0x14bd94=program['opts'](),_0x52b16c=await createTDXInstance(_0x14bd94),_0x3595ca=await _0x2db981[_0x8b295c(0x32e)]({'options':{..._0x14bd94,..._0x23d200},'args':_0x34c63a?[_0x34c63a]:[],'tdx':_0x52b16c});gracefulExit(_0x3595ca);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2e8));parentPzCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x330))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x47a))[a2_0x1dd5bc(0x450)](async(_0x4312e6,_0x191fdd)=>{const _0x3a1cd7=a2_0x1dd5bc,_0x4ce7d6=new PSPzListCommand(),_0x387b53=program['opts'](),_0x356ba7=await createTDXInstance(_0x387b53),_0x2ea223=await _0x4ce7d6[_0x3a1cd7(0x32e)]({'options':{..._0x387b53,..._0x191fdd},'args':_0x4312e6?[_0x4312e6]:[],'tdx':_0x356ba7});gracefulExit(_0x2ea223);}),parentPzCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3ec))['description'](a2_0x1dd5bc(0x433))[a2_0x1dd5bc(0x450)](async(_0x3c2d4f,_0x174fba)=>{const _0x25928b=a2_0x1dd5bc,_0x15866f=new PSPzInitCommand(),_0x22416d=program[_0x25928b(0x389)](),_0xa0a470=await createTDXInstance(_0x22416d),_0x29753f=await _0x15866f[_0x25928b(0x32e)]({'options':{..._0x22416d,..._0x174fba},'args':_0x3c2d4f?[_0x3c2d4f]:[],'tdx':_0xa0a470});gracefulExit(_0x29753f);}),parentCmd['command'](a2_0x1dd5bc(0x1c6))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x42e))['requiredOption'](a2_0x1dd5bc(0x337),a2_0x1dd5bc(0x2e1))['requiredOption'](a2_0x1dd5bc(0x3b1),'Master\x20table\x20name')[a2_0x1dd5bc(0x207)]('--description\x20<text>','Parent\x20segment\x20description')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x224),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option']('--schedule-option\x20<value>',a2_0x1dd5bc(0x3c2))[a2_0x1dd5bc(0x207)]('--timezone\x20<tz>',a2_0x1dd5bc(0x338))[a2_0x1dd5bc(0x207)]('--attributes\x20<json>','Attributes\x20as\x20JSON\x20string')['option'](a2_0x1dd5bc(0x3ab),a2_0x1dd5bc(0x37d))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x303),a2_0x1dd5bc(0x346))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x44e),'Behaviors\x20from\x20JSON\x20file')[a2_0x1dd5bc(0x207)]('--customer-group\x20<json>',a2_0x1dd5bc(0x442))['option'](a2_0x1dd5bc(0x27f),a2_0x1dd5bc(0x1fd))[a2_0x1dd5bc(0x450)](async(_0x536958,_0x3f81bf)=>{const _0x3ff015=a2_0x1dd5bc,_0x5dd41b=new ParentSegmentCreateCommand(),_0x5ea24b=program[_0x3ff015(0x389)](),_0x344b73=await createTDXInstance(_0x5ea24b),_0x25d224=await _0x5dd41b[_0x3ff015(0x32e)]({'options':{..._0x5ea24b,..._0x3f81bf},'args':[_0x536958],'tdx':_0x344b73});gracefulExit(_0x25d224);}),parentCmd[a2_0x1dd5bc(0x284)]('update\x20<name>')['description'](a2_0x1dd5bc(0x248))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x290),a2_0x1dd5bc(0x3f0))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x224),a2_0x1dd5bc(0x2bb))[a2_0x1dd5bc(0x207)]('--schedule-option\x20<value>',a2_0x1dd5bc(0x35c))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3da),a2_0x1dd5bc(0x28e))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x472),a2_0x1dd5bc(0x1f4))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x44b),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x1dd5bc(0x207)]('--add-behaviors\x20<json>','Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x1dd5bc(0x207)]('--add-behaviors-file\x20<file>','Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x1dd5bc(0x450)](async(_0x31cb73,_0x5c2fca)=>{const _0xe6441b=a2_0x1dd5bc,_0x523052=new ParentSegmentUpdateCommand(),_0x2c11d3=program[_0xe6441b(0x389)](),_0x205018=await createTDXInstance(_0x2c11d3),_0x46003c=await _0x523052[_0xe6441b(0x32e)]({'options':{..._0x2c11d3,..._0x5c2fca},'args':[_0x31cb73],'tdx':_0x205018});gracefulExit(_0x46003c);}),folderCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x440))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2e9))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x290),'Folder\x20description')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x394),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x1dd5bc(0x450)](async(_0x108a18,_0xa26617,_0x5d2bfc)=>{const _0x3047bd=a2_0x1dd5bc,_0x50a92c=new SegmentFolderCreateCommand(),_0x2af802=program[_0x3047bd(0x389)](),_0x2a7c43=await createTDXInstance(_0x2af802),_0x53e7c5=await _0x50a92c[_0x3047bd(0x32e)]({'options':{..._0x2af802,..._0x5d2bfc},'args':[_0x108a18,_0xa26617],'tdx':_0x2a7c43});gracefulExit(_0x53e7c5);}),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x37a))['description'](a2_0x1dd5bc(0x1c0))[a2_0x1dd5bc(0x450)](async(_0x2fd59b,_0x827fec)=>{const _0x3eaa23=a2_0x1dd5bc,_0x133020=new ActivationsCommand(),_0x2f1336=program[_0x3eaa23(0x389)](),_0x16eca1=await createTDXInstance(_0x2f1336),_0x2c903c=await _0x133020['run']({'options':{..._0x2f1336,..._0x827fec},'args':[_0x2fd59b],'tdx':_0x16eca1});gracefulExit(_0x2c903c);});const workflowCmd=program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2fe))[a2_0x1dd5bc(0x393)]('wf')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3de)),wfProjectCmd=workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x36c))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2e4)),wfProjectListAction=async(_0x2919db,_0x54173d)=>{const _0x55a061=a2_0x1dd5bc,_0x423078=new WorkflowProjectsCommand(),_0x275d86=program['opts'](),_0x4c1f7b=await createTDXInstance(_0x275d86),_0x4dceff=await _0x423078[_0x55a061(0x32e)]({'options':{..._0x275d86,..._0x54173d},'args':_0x2919db?[_0x2919db]:[],'tdx':_0x4c1f7b});gracefulExit(_0x4dceff);};wfProjectCmd[a2_0x1dd5bc(0x284)]('list\x20[pattern]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2db))[a2_0x1dd5bc(0x450)](wfProjectListAction),workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x430))[a2_0x1dd5bc(0x388)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x1dd5bc(0x450)](wfProjectListAction);const wfWorkflowListAction=async(_0x554b67,_0x1206a6)=>{const _0x30dc9b=a2_0x1dd5bc,_0x264f51=new WorkflowWorkflowsCommand(),_0x386767=program[_0x30dc9b(0x389)](),_0x39382e=await createTDXInstance(_0x386767),_0x37818b=await _0x264f51[_0x30dc9b(0x32e)]({'options':{..._0x386767,..._0x1206a6},'args':_0x554b67?[_0x554b67]:[],'tdx':_0x39382e});gracefulExit(_0x37818b);};workflowCmd['command']('workflows\x20[project]')[a2_0x1dd5bc(0x388)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x259))[a2_0x1dd5bc(0x388)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x32b3f5,_0x21eea0)=>{const _0x59ba40=a2_0x1dd5bc,_0x4e8a6b=new WorkflowSessionsCommand(),_0x4cccc6=program[_0x59ba40(0x389)](),_0x19f88d=await createTDXInstance(_0x4cccc6),_0x28d71f=await _0x4e8a6b[_0x59ba40(0x32e)]({'options':{..._0x4cccc6,..._0x21eea0},'args':_0x32b3f5?[_0x32b3f5]:[],'tdx':_0x19f88d});gracefulExit(_0x28d71f);};wfSessionCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x1bb))[a2_0x1dd5bc(0x388)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1c8),a2_0x1dd5bc(0x469))[a2_0x1dd5bc(0x207)]('--from\x20<timestamp>',a2_0x1dd5bc(0x3b3))['option']('--to\x20<timestamp>',a2_0x1dd5bc(0x2fc))[a2_0x1dd5bc(0x450)](wfSessionListAction),workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x1f3))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x390))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1c8),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2b5),a2_0x1dd5bc(0x3b3))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3cb),a2_0x1dd5bc(0x2fc))[a2_0x1dd5bc(0x450)](wfSessionListAction);const wfAttemptListAction=async(_0x53afa2,_0xaff811)=>{const _0x45d018=a2_0x1dd5bc,_0x5ada09=new WorkflowAttemptsCommand(),_0x509a50=program[_0x45d018(0x389)](),_0x26cbd9=await createTDXInstance(_0x509a50),_0x258ad1=await _0x5ada09[_0x45d018(0x32e)]({'options':{..._0x509a50,..._0xaff811},'args':_0x53afa2?[_0x53afa2]:[],'tdx':_0x26cbd9});gracefulExit(_0x258ad1);},attemptCmd=workflowCmd['command'](a2_0x1dd5bc(0x3ff))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2d8))[a2_0x1dd5bc(0x29f)](a2_0x1dd5bc(0x326),a2_0x1dd5bc(0x2b7))[a2_0x1dd5bc(0x29f)](a2_0x1dd5bc(0x257),a2_0x1dd5bc(0x363))[a2_0x1dd5bc(0x29f)](a2_0x1dd5bc(0x239),a2_0x1dd5bc(0x3a0))[a2_0x1dd5bc(0x207)]('--include-subtasks',a2_0x1dd5bc(0x3ce))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1ce),a2_0x1dd5bc(0x21d))['option']('--resume-from\x20<task>',a2_0x1dd5bc(0x366))['option'](a2_0x1dd5bc(0x254),a2_0x1dd5bc(0x1bc))['option']('--force','Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x22c),a2_0x1dd5bc(0x22a))[a2_0x1dd5bc(0x450)](async(_0x569f4a,_0xfd2c15,_0x456467,_0x2543cc)=>{const _0x205881=a2_0x1dd5bc;if(_0x569f4a==='list'){await wfAttemptListAction(_0xfd2c15,_0x2543cc);return;}if(!_0x569f4a){attemptCmd[_0x205881(0x38b)]();return;}const _0x4e5178=program[_0x205881(0x389)](),_0x398ad2=await createTDXInstance(_0x4e5178);let _0x1e0199=0x0;if(!_0xfd2c15){const _0xc9eaf3=new WorkflowAttemptCommand();_0x1e0199=await _0xc9eaf3[_0x205881(0x32e)]({'options':{..._0x4e5178,..._0x2543cc},'args':[_0x569f4a],'tdx':_0x398ad2});}else{if(_0xfd2c15===_0x205881(0x1f6)){const _0x13277e=new WorkflowLogsCommand();_0x1e0199=await _0x13277e[_0x205881(0x32e)]({'options':{..._0x4e5178,..._0x2543cc},'args':_0x456467?[_0x569f4a,_0x456467]:[_0x569f4a],'tdx':_0x398ad2});}else{if(_0xfd2c15===_0x205881(0x2d3)){const _0x40f657=new WorkflowTasksCommand();_0x1e0199=await _0x40f657[_0x205881(0x32e)]({'options':{..._0x4e5178,..._0x2543cc},'args':[_0x569f4a],'tdx':_0x398ad2});}else{if(_0xfd2c15===_0x205881(0x2a1)){const _0x43e4c5=new WorkflowKillCommand();_0x1e0199=await _0x43e4c5[_0x205881(0x32e)]({'options':{..._0x4e5178,..._0x2543cc},'args':[_0x569f4a],'tdx':_0x398ad2});}else{if(_0xfd2c15==='retry'){const _0x4fc02f=new WorkflowRetryCommand();_0x1e0199=await _0x4fc02f[_0x205881(0x32e)]({'options':{..._0x4e5178,..._0x2543cc},'args':['attempt:'+_0x569f4a],'tdx':_0x398ad2});}else console['error'](_0x205881(0x1d0)+_0xfd2c15),console[_0x205881(0x1e6)](_0x205881(0x3a9)),_0x1e0199=0x1;}}}}gracefulExit(_0x1e0199);});attemptCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x1bb))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x45b))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x22c),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2c1))[a2_0x1dd5bc(0x388)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x22c),a2_0x1dd5bc(0x3c3))[a2_0x1dd5bc(0x450)](wfAttemptListAction),workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x32c))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2ac))['option']('--follow',a2_0x1dd5bc(0x250))[a2_0x1dd5bc(0x207)]('--session-id\x20<id>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3ba),a2_0x1dd5bc(0x47f))[a2_0x1dd5bc(0x450)](async(_0x31c2ba,_0x408f86)=>{const _0x5ee011=a2_0x1dd5bc,_0x13b3c6=new WorkflowTimelineCommand(),_0x1c4237=program[_0x5ee011(0x389)](),_0xeae387=await createTDXInstance(_0x1c4237),_0x5143c1=await _0x13b3c6['run']({'options':{..._0x1c4237,..._0x408f86},'args':_0x31c2ba?[_0x31c2ba]:[],'tdx':_0xeae387});gracefulExit(_0x5143c1);}),workflowCmd['command'](a2_0x1dd5bc(0x400))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1e2))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x270),'Resume\x20from\x20specific\x20task')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x254),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x1dd5bc(0x450)](async(_0x3d6c60,_0x4c8c3d)=>{const _0x44064f=a2_0x1dd5bc,_0x2f12db=new WorkflowRetryCommand(),_0x211064=program[_0x44064f(0x389)](),_0x9b9712=await createTDXInstance(_0x211064),_0x273a69=await _0x2f12db[_0x44064f(0x32e)]({'options':{..._0x211064,..._0x4c8c3d},'args':[_0x3d6c60],'tdx':_0x9b9712});gracefulExit(_0x273a69);}),workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x41d))['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')['option']('--param\x20<key=value>',a2_0x1dd5bc(0x2c8),(_0x3e1420,_0x10bd3e=[])=>[..._0x10bd3e,_0x3e1420],[])['option'](a2_0x1dd5bc(0x40a),a2_0x1dd5bc(0x2e2))[a2_0x1dd5bc(0x450)](async(_0x5b13d9,_0x8a090b)=>{const _0x50a389=a2_0x1dd5bc,_0x185364=new WorkflowRunCommand(),_0x139c66=program[_0x50a389(0x389)](),_0x23b129=await createTDXInstance(_0x139c66),_0x5abb2a=await _0x185364[_0x50a389(0x32e)]({'options':{..._0x139c66,..._0x8a090b},'args':_0x5b13d9?[_0x5b13d9]:[],'tdx':_0x23b129});gracefulExit(_0x5abb2a);}),workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x280))[a2_0x1dd5bc(0x388)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x368),a2_0x1dd5bc(0x3f7))[a2_0x1dd5bc(0x450)](async(_0x3481ec,_0x267482,_0x577db2)=>{const _0x4a42bf=a2_0x1dd5bc,_0x524e8b=new WorkflowDownloadCommand(),_0x229356=program[_0x4a42bf(0x389)](),_0x382823=await createTDXInstance(_0x229356),_0x545bf0=await _0x524e8b[_0x4a42bf(0x32e)]({'options':{..._0x229356,..._0x577db2},'args':[_0x3481ec,_0x267482||'.'],'tdx':_0x382823});gracefulExit(_0x545bf0);}),workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x42b))[a2_0x1dd5bc(0x388)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x368),a2_0x1dd5bc(0x319))[a2_0x1dd5bc(0x207)]('--dry-run','Preview\x20changes\x20without\x20writing\x20files')[a2_0x1dd5bc(0x450)](async(_0x175529,_0x21dbe2,_0x86edc5)=>{const _0xf951d7=a2_0x1dd5bc,_0x2b2146=new WorkflowPullCommand(),_0x247111=program[_0xf951d7(0x389)](),_0xc9299d=await createTDXInstance(_0x247111),_0x4bdb3a=await _0x2b2146['run']({'options':{..._0x247111,..._0x86edc5},'args':_0x21dbe2?[_0x175529,_0x21dbe2]:[_0x175529],'tdx':_0xc9299d});gracefulExit(_0x4bdb3a);}),workflowCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x359))[a2_0x1dd5bc(0x388)]('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x368),a2_0x1dd5bc(0x24e))['option'](a2_0x1dd5bc(0x443),a2_0x1dd5bc(0x396))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x33d),a2_0x1dd5bc(0x417))[a2_0x1dd5bc(0x450)](async(_0x3c3a3c,_0x200209)=>{const _0x11630b=a2_0x1dd5bc,_0x13fa1a=new WorkflowPushCommand(),_0x51306a=program[_0x11630b(0x389)](),_0x3cd301=await createTDXInstance(_0x51306a),_0x84d66a=await _0x13fa1a[_0x11630b(0x32e)]({'options':{..._0x51306a,..._0x200209},'args':_0x3c3a3c?[_0x3c3a3c]:[],'tdx':_0x3cd301});gracefulExit(_0x84d66a);}),workflowCmd['command'](a2_0x1dd5bc(0x46d))['description'](a2_0x1dd5bc(0x455))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3e8),a2_0x1dd5bc(0x25d))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x368),a2_0x1dd5bc(0x3c9))['option'](a2_0x1dd5bc(0x33d),a2_0x1dd5bc(0x417))[a2_0x1dd5bc(0x450)](async(_0x2870d6,_0x7494f4)=>{const _0x1c5236=a2_0x1dd5bc,_0x318791=new WorkflowUploadCommand(),_0x3039a3=program[_0x1c5236(0x389)](),_0x3c6323=await createTDXInstance(_0x3039a3),_0x3ef2dc=await _0x318791[_0x1c5236(0x32e)]({'options':{..._0x3039a3,..._0x7494f4},'args':_0x2870d6?[_0x2870d6]:[],'tdx':_0x3c6323});gracefulExit(_0x3ef2dc);}),workflowCmd['command']('clone\x20[source-dir]')['description'](a2_0x1dd5bc(0x1de))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3e8),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x368),a2_0x1dd5bc(0x24e))['option'](a2_0x1dd5bc(0x443),a2_0x1dd5bc(0x35d))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x33d),'Skip\x20validation\x20of\x20.dig\x20files')['action'](async(_0x34d087,_0x301eb5)=>{const _0x54056a=a2_0x1dd5bc,_0x540cd5=new WorkflowCloneCommand(),_0x3b9f30=program[_0x54056a(0x389)](),_0x2104a1=await createTDXInstance(_0x3b9f30),_0x4cd724=await _0x540cd5[_0x54056a(0x32e)]({'options':{..._0x3b9f30,..._0x301eb5},'args':_0x34d087?[_0x34d087]:[],'tdx':_0x2104a1});gracefulExit(_0x4cd724);}),workflowCmd['command'](a2_0x1dd5bc(0x1ef))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x24d))[a2_0x1dd5bc(0x450)](async(_0x59527e,_0x21d769)=>{const _0x2d4ba1=a2_0x1dd5bc,_0x6d1336=new WorkflowDeleteCommand(),_0x47d154=program[_0x2d4ba1(0x389)](),_0x235df0=await createTDXInstance(_0x47d154),_0x5761a0=await _0x6d1336[_0x2d4ba1(0x32e)]({'options':{..._0x47d154,..._0x21d769},'args':[_0x59527e],'tdx':_0x235df0});gracefulExit(_0x5761a0);}),workflowCmd['command'](a2_0x1dd5bc(0x323))['description'](a2_0x1dd5bc(0x245))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1fe),a2_0x1dd5bc(0x449))[a2_0x1dd5bc(0x450)](async(_0x56c0cf,_0x4ea8de)=>{const _0x1afcf1=a2_0x1dd5bc,_0x1d2cc2=new WorkflowUseCommand(),_0x4ebc2a=program[_0x1afcf1(0x389)](),_0xb4e30e=await createTDXInstance(_0x4ebc2a),_0x1bcbe5=await _0x1d2cc2[_0x1afcf1(0x32e)]({'options':{..._0x4ebc2a,..._0x4ea8de},'args':_0x56c0cf?[_0x56c0cf]:[],'tdx':_0xb4e30e});gracefulExit(_0x1bcbe5);});const wfSecretsCmd=workflowCmd[a2_0x1dd5bc(0x284)]('secrets')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x238));function a2_0xa400(_0x1adee6,_0x40bd21){_0x1adee6=_0x1adee6-0x1b6;const _0x1499d9=a2_0x1499();let _0xa40090=_0x1499d9[_0x1adee6];return _0xa40090;}wfSecretsCmd[a2_0x1dd5bc(0x284)]('list\x20[project]')['description'](a2_0x1dd5bc(0x3fd))[a2_0x1dd5bc(0x450)](async(_0x3329b6,_0x262081)=>{const _0x310fff=a2_0x1dd5bc,_0x2faf56=new WorkflowSecretsListCommand(),_0x211647=program[_0x310fff(0x389)](),_0x56d00b=await createTDXInstance(_0x211647),_0x15a328=await _0x2faf56['run']({'options':{..._0x211647,..._0x262081},'args':_0x3329b6?[_0x3329b6]:[],'tdx':_0x56d00b});gracefulExit(_0x15a328);}),wfSecretsCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x286))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x43a))['action'](async(_0x227a8c,_0x2b8fb7)=>{const _0x479461=a2_0x1dd5bc,_0x1b9901=new WorkflowSecretsSetCommand(),_0x442124=program[_0x479461(0x389)](),_0x48c667=await createTDXInstance(_0x442124),_0x283cff=await _0x1b9901[_0x479461(0x32e)]({'options':{..._0x442124,..._0x2b8fb7},'args':_0x227a8c,'tdx':_0x48c667});gracefulExit(_0x283cff);}),wfSecretsCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3d3))['description']('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x1dd5bc(0x450)](async(_0x2d9ebc,_0x702227)=>{const _0x2621f5=a2_0x1dd5bc,_0x15332e=new WorkflowSecretsDeleteCommand(),_0x289619=program[_0x2621f5(0x389)](),_0x5276c0=await createTDXInstance(_0x289619),_0x1f1f8b=await _0x15332e[_0x2621f5(0x32e)]({'options':{..._0x289619,..._0x702227},'args':_0x2d9ebc,'tdx':_0x5276c0});gracefulExit(_0x1f1f8b);});const jobCmd=program['command'](a2_0x1dd5bc(0x317))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x26d)),jobListAction=async _0x4c7c59=>{const _0x2ab505=a2_0x1dd5bc,_0x40bfa5=new JobListCommand(),_0x10aaa4=program[_0x2ab505(0x389)](),_0x2c2603=await createTDXInstance(_0x10aaa4),_0x2d091e=await _0x40bfa5[_0x2ab505(0x32e)]({'options':{..._0x10aaa4,..._0x4c7c59},'args':[],'tdx':_0x2c2603});gracefulExit(_0x2d091e);};jobCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x47d))['description'](a2_0x1dd5bc(0x336))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1c8),a2_0x1dd5bc(0x30e))[a2_0x1dd5bc(0x450)](jobListAction),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x1fb),{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x272))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1c8),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x1dd5bc(0x450)](jobListAction),jobCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2d0))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x247))['action'](async(_0x17d8ac,_0x446149)=>{const _0x1b7cbf=a2_0x1dd5bc,_0x23d2f2=new JobShowCommand(),_0x5a28c6=program[_0x1b7cbf(0x389)](),_0x2c147f=await createTDXInstance(_0x5a28c6),_0x565d9b=await _0x23d2f2[_0x1b7cbf(0x32e)]({'options':{..._0x5a28c6,..._0x446149},'args':[_0x17d8ac],'tdx':_0x2c147f});gracefulExit(_0x565d9b);}),jobCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x423))[a2_0x1dd5bc(0x388)]('Kill\x20a\x20job')[a2_0x1dd5bc(0x450)](async(_0x54c400,_0x1da83c)=>{const _0x2c2b5=a2_0x1dd5bc,_0x109ec4=new JobKillCommand(),_0x3964b2=program[_0x2c2b5(0x389)](),_0x2aa7ae=await createTDXInstance(_0x3964b2),_0xb96c99=await _0x109ec4[_0x2c2b5(0x32e)]({'options':{..._0x3964b2,..._0x1da83c},'args':[_0x54c400],'tdx':_0x2aa7ae});gracefulExit(_0xb96c99);}),jobCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3c4))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2dc))[a2_0x1dd5bc(0x207)]('--job-type\x20<type>',a2_0x1dd5bc(0x322),a2_0x1dd5bc(0x223))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1ba),a2_0x1dd5bc(0x32f))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1f7),'Database\x20name\x20(default:\x20information_schema)',a2_0x1dd5bc(0x432))['option'](a2_0x1dd5bc(0x258),a2_0x1dd5bc(0x20b))[a2_0x1dd5bc(0x450)](async(_0x455a95,_0x5e9328)=>{const _0x789fec=a2_0x1dd5bc,_0x3e926b=new JobSubmitCommand(),_0x3ac996=program['opts'](),_0x34bf37=await createTDXInstance(_0x3ac996),_0x543e81=await _0x3e926b[_0x789fec(0x32e)]({'options':{..._0x3ac996,..._0x5e9328},'args':_0x455a95?[_0x455a95]:[],'tdx':_0x34bf37});gracefulExit(_0x543e81);}),jobCmd[a2_0x1dd5bc(0x284)]('result\x20<job-id>')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1f2))[a2_0x1dd5bc(0x450)](async(_0x386c3a,_0x42a9df)=>{const _0x99444c=a2_0x1dd5bc,_0x18ddb7=new JobResultCommand(),_0x191467=program['opts'](),_0x47edb5=await createTDXInstance(_0x191467),_0x58cff5=await _0x18ddb7[_0x99444c(0x32e)]({'options':{..._0x191467,..._0x42a9df},'args':[_0x386c3a],'tdx':_0x47edb5});gracefulExit(_0x58cff5);});const scheduleCmd=jobCmd['command'](a2_0x1dd5bc(0x39e))['description'](a2_0x1dd5bc(0x3f5));scheduleCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x47b))['description'](a2_0x1dd5bc(0x47e))[a2_0x1dd5bc(0x450)](async(_0x3ca4ae,_0x1b29b9)=>{const _0x14f6ae=a2_0x1dd5bc,_0x5743aa=new ScheduleListCommand(),_0x13bc46=program[_0x14f6ae(0x389)](),_0x79d5a5=await createTDXInstance(_0x13bc46),_0x2e4149=await _0x5743aa['run']({'options':{..._0x13bc46,..._0x1b29b9},'args':_0x3ca4ae?[_0x3ca4ae]:[],'tdx':_0x79d5a5});gracefulExit(_0x2e4149);}),scheduleCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x41f))['description'](a2_0x1dd5bc(0x275))[a2_0x1dd5bc(0x450)](async(_0x2d0d53,_0x16ea0a)=>{const _0x59db48=a2_0x1dd5bc,_0xba084d=new ScheduleShowCommand(),_0x32d12e=program['opts'](),_0x500eaf=await createTDXInstance(_0x32d12e),_0x3b853a=await _0xba084d[_0x59db48(0x32e)]({'options':{..._0x32d12e,..._0x16ea0a},'args':[_0x2d0d53],'tdx':_0x500eaf});gracefulExit(_0x3b853a);}),scheduleCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x1c6))[a2_0x1dd5bc(0x388)]('Create\x20a\x20scheduled\x20query')[a2_0x1dd5bc(0x207)]('-d,\x20--database\x20<db>','Database\x20name\x20(required)')[a2_0x1dd5bc(0x207)]('--in\x20<db>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x1dd5bc(0x2c5)]('-f,\x20--file\x20<path>',a2_0x1dd5bc(0x32f))['option'](a2_0x1dd5bc(0x426),a2_0x1dd5bc(0x2f8),'trino')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1c1),a2_0x1dd5bc(0x3e0))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3da),a2_0x1dd5bc(0x256))['option'](a2_0x1dd5bc(0x21b),a2_0x1dd5bc(0x221))['option'](a2_0x1dd5bc(0x274),a2_0x1dd5bc(0x29b))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x373),a2_0x1dd5bc(0x2dd))[a2_0x1dd5bc(0x207)]('--engine-version\x20<version>','Query\x20engine\x20version')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x45d),a2_0x1dd5bc(0x269))['action'](async(_0x4d5af8,_0x35d0f1)=>{const _0x4aa506=a2_0x1dd5bc,_0x15c5d1=new ScheduleCreateCommand(),_0x484697=program['opts'](),_0x1235e1=await createTDXInstance(_0x484697);_0x35d0f1['in']&&(_0x35d0f1[_0x4aa506(0x23e)]=_0x35d0f1['in']);const _0x38c1a4=await _0x15c5d1[_0x4aa506(0x32e)]({'options':{..._0x484697,..._0x35d0f1},'args':[_0x4d5af8],'tdx':_0x1235e1});gracefulExit(_0x38c1a4);}),scheduleCmd['command'](a2_0x1dd5bc(0x25a))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x361))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1dc),a2_0x1dd5bc(0x409))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x460),a2_0x1dd5bc(0x464))[a2_0x1dd5bc(0x207)]('-f,\x20--file\x20<path>',a2_0x1dd5bc(0x32f))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x426),a2_0x1dd5bc(0x2f8))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1c1),a2_0x1dd5bc(0x3e0))[a2_0x1dd5bc(0x207)]('--timezone\x20<tz>',a2_0x1dd5bc(0x38c))['option'](a2_0x1dd5bc(0x21b),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x274),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x373),a2_0x1dd5bc(0x2dd))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x468),a2_0x1dd5bc(0x2a9))['option']('--result\x20<url>',a2_0x1dd5bc(0x269))['action'](async(_0x5536a4,_0x4b35d9)=>{const _0x3b20cf=a2_0x1dd5bc,_0x34361e=new ScheduleUpdateCommand(),_0x3d42cf=program[_0x3b20cf(0x389)](),_0x36c037=await createTDXInstance(_0x3d42cf);_0x4b35d9['in']&&(_0x4b35d9[_0x3b20cf(0x23e)]=_0x4b35d9['in']);const _0x3e568a=await _0x34361e[_0x3b20cf(0x32e)]({'options':{..._0x3d42cf,..._0x4b35d9},'args':[_0x5536a4],'tdx':_0x36c037});gracefulExit(_0x3e568a);}),scheduleCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x38a))['description'](a2_0x1dd5bc(0x429))[a2_0x1dd5bc(0x450)](async(_0x4fb190,_0x328e88)=>{const _0x2b5f99=a2_0x1dd5bc,_0x52c341=new ScheduleDeleteCommand(),_0x598c62=program[_0x2b5f99(0x389)](),_0x59e310=await createTDXInstance(_0x598c62),_0x114d55=await _0x52c341[_0x2b5f99(0x32e)]({'options':{..._0x598c62,..._0x328e88},'args':[_0x4fb190],'tdx':_0x59e310});gracefulExit(_0x114d55);}),scheduleCmd[a2_0x1dd5bc(0x284)]('run\x20<name>')['description'](a2_0x1dd5bc(0x360))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x253),a2_0x1dd5bc(0x3c7))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x447),a2_0x1dd5bc(0x310))[a2_0x1dd5bc(0x450)](async(_0x31b75e,_0x33c52b)=>{const _0x20ca80=a2_0x1dd5bc,_0x197f6b=new ScheduleRunCommand(),_0x1f21ce=program[_0x20ca80(0x389)](),_0x353b49=await createTDXInstance(_0x1f21ce),_0x941056=await _0x197f6b[_0x20ca80(0x32e)]({'options':{..._0x1f21ce,..._0x33c52b},'args':[_0x31b75e],'tdx':_0x353b49});gracefulExit(_0x941056);}),scheduleCmd['command'](a2_0x1dd5bc(0x391))[a2_0x1dd5bc(0x388)]('Show\x20schedule\x20execution\x20history')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x309),a2_0x1dd5bc(0x230))['option'](a2_0x1dd5bc(0x36f),a2_0x1dd5bc(0x1b7))[a2_0x1dd5bc(0x450)](async(_0x501374,_0x13efce)=>{const _0x39f9dc=a2_0x1dd5bc,_0x527951=new ScheduleHistoryCommand(),_0x1f11a1=program[_0x39f9dc(0x389)](),_0x50cbb6=await createTDXInstance(_0x1f11a1),_0x4cfc6e=await _0x527951[_0x39f9dc(0x32e)]({'options':{..._0x1f11a1,..._0x13efce},'args':[_0x501374],'tdx':_0x50cbb6});gracefulExit(_0x4cfc6e);});const llmCmd=program[a2_0x1dd5bc(0x284)]('llm')[a2_0x1dd5bc(0x388)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2bf))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3b4))[a2_0x1dd5bc(0x450)](async(_0x42c8ff,_0x2d87fa)=>{const _0x51498d=a2_0x1dd5bc,_0xb38c72=new LLMUseCommand(),_0x3b38d4=program[_0x51498d(0x389)](),_0x3b2ae6=await createTDXInstance(_0x3b38d4),_0x1030e5=await _0xb38c72[_0x51498d(0x32e)]({'options':{..._0x3b38d4,..._0x2d87fa},'args':[_0x42c8ff],'tdx':_0x3b2ae6});gracefulExit(_0x1030e5);}),llmCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x25c))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3c6))[a2_0x1dd5bc(0x450)](async _0xe36c1a=>{const _0x2ddb8b=a2_0x1dd5bc,_0x45a819=new LLMModelsCommand(),_0x411e5b=program[_0x2ddb8b(0x389)](),_0xcf04e2=await createTDXInstance(_0x411e5b),_0x563d03=await _0x45a819[_0x2ddb8b(0x32e)]({'options':{..._0x411e5b,..._0xe36c1a},'args':[],'tdx':_0xcf04e2});gracefulExit(_0x563d03);});const projectCmd=llmCmd['command'](a2_0x1dd5bc(0x36c))[a2_0x1dd5bc(0x388)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x39fb36,_0xd6e4b6)=>{const _0xdabc13=a2_0x1dd5bc,_0x1cdd48=new LLMProjectsCommand(),_0x57d0b4=program[_0xdabc13(0x389)](),_0x552fdf=await createTDXInstance(_0x57d0b4),_0x24a985=await _0x1cdd48[_0xdabc13(0x32e)]({'options':{..._0x57d0b4,..._0xd6e4b6},'args':_0x39fb36?[_0x39fb36]:[],'tdx':_0x552fdf});gracefulExit(_0x24a985);};projectCmd['command'](a2_0x1dd5bc(0x47b))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x375))[a2_0x1dd5bc(0x450)](llmProjectListAction),llmCmd[a2_0x1dd5bc(0x284)]('projects\x20[pattern]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x403))[a2_0x1dd5bc(0x450)](llmProjectListAction),projectCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x1c6))['description']('Create\x20a\x20new\x20LLM\x20project')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x290),a2_0x1dd5bc(0x1c5))[a2_0x1dd5bc(0x450)](async(_0x5ba08a,_0x1e47ad)=>{const _0x43b099=a2_0x1dd5bc,_0xcbc92e=new LLMProjectCreateCommand(),_0x59fc8b=program['opts'](),_0x5775c1=await createTDXInstance(_0x59fc8b),_0x499952=await _0xcbc92e[_0x43b099(0x32e)]({'options':{..._0x59fc8b,..._0x1e47ad},'args':[_0x5ba08a],'tdx':_0x5775c1});gracefulExit(_0x499952);}),projectCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x38a))['description'](a2_0x1dd5bc(0x316))['action'](async(_0x45bb41,_0x1147b4)=>{const _0x133381=a2_0x1dd5bc,_0x21518e=new LLMProjectDeleteCommand(),_0x4a5e2d=program[_0x133381(0x389)](),_0x188a68=await createTDXInstance(_0x4a5e2d),_0x566ea4=await _0x21518e[_0x133381(0x32e)]({'options':{..._0x4a5e2d,..._0x1147b4},'args':[_0x45bb41],'tdx':_0x188a68});gracefulExit(_0x566ea4);}),projectCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2d4))['description'](a2_0x1dd5bc(0x44c))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x44a),a2_0x1dd5bc(0x3a5))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x443),a2_0x1dd5bc(0x2ea))[a2_0x1dd5bc(0x450)](async(_0x4d127e,_0x31c530)=>{const _0x2e17d0=a2_0x1dd5bc,_0x5328c7=new LLMProjectBackupCommand(),_0x35b487=program[_0x2e17d0(0x389)](),_0x3099d4=await createTDXInstance(_0x35b487),_0x33f6e6=await _0x5328c7[_0x2e17d0(0x32e)]({'options':{..._0x35b487,..._0x31c530},'args':[_0x4d127e],'tdx':_0x3099d4});gracefulExit(_0x33f6e6);}),projectCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3fb))[a2_0x1dd5bc(0x388)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x343),a2_0x1dd5bc(0x3d5))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x443),a2_0x1dd5bc(0x1dd))[a2_0x1dd5bc(0x450)](async(_0x357b60,_0x3e0bde)=>{const _0x2f42cf=a2_0x1dd5bc,_0x35077f=new LLMProjectRestoreCommand(),_0x4ae45c=program[_0x2f42cf(0x389)](),_0x115e54=await createTDXInstance(_0x4ae45c),_0x3d36d0=await _0x35077f[_0x2f42cf(0x32e)]({'options':{..._0x4ae45c,..._0x3e0bde},'args':[_0x357b60],'tdx':_0x115e54});gracefulExit(_0x3d36d0);});const llmAgentListAction=async(_0x4fa3f1,_0x1892dc)=>{const _0x1b858d=a2_0x1dd5bc,_0xd0d141=new LLMAgentsCommand(),_0x2946fa=program[_0x1b858d(0x389)](),_0x594e21=await createTDXInstance(_0x2946fa),_0x2d7a5f=await _0xd0d141[_0x1b858d(0x32e)]({'options':{..._0x2946fa,..._0x1892dc},'args':_0x4fa3f1?[_0x4fa3f1]:[],'tdx':_0x594e21});gracefulExit(_0x2d7a5f);};llmCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2bc))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1fc))['action'](llmAgentListAction),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2bc))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1fc))['action'](llmAgentListAction),llmCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x1e5))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x201))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3ae),a2_0x1dd5bc(0x30b))[a2_0x1dd5bc(0x450)](async(_0x9f91cc,_0x56908c)=>{const _0x56b1ff=a2_0x1dd5bc,_0x30522d=new LLMHistoryCommand(),_0x573b62=program['opts'](),_0xbcd513=await createTDXInstance(_0x573b62),_0x5136c1=await _0x30522d[_0x56b1ff(0x32e)]({'options':{..._0x573b62,..._0x56908c},'args':_0x9f91cc?[_0x9f91cc]:[],'tdx':_0xbcd513});gracefulExit(_0x5136c1);});isExperimentalAvailable()&&llmCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x431))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x34d))['action'](async(_0x403d94,_0x189e0d)=>{const _0x376411=a2_0x1dd5bc,_0x1749c2=new LLMLogCommand(),_0x169f80=program['opts'](),_0x1c52f4=await createTDXInstance(_0x169f80),_0x414f4f=await _0x1749c2[_0x376411(0x32e)]({'options':{..._0x169f80,..._0x189e0d},'args':[_0x403d94],'tdx':_0x1c52f4});gracefulExit(_0x414f4f);});program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x453))[a2_0x1dd5bc(0x3ad)]('[options]\x20--\x20[claude-code-args...]')[a2_0x1dd5bc(0x388)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2ae),a2_0x1dd5bc(0x27b))['option']('-r,\x20--resume','Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1d4),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x1dd5bc(0x265)]()[a2_0x1dd5bc(0x371)](!![])[a2_0x1dd5bc(0x25f)](a2_0x1dd5bc(0x287),a2_0x1dd5bc(0x405))[a2_0x1dd5bc(0x450)](async(_0x339ba3,_0x4baa3c)=>{const _0x658a57=a2_0x1dd5bc,_0x67d5b=program['opts'](),_0x246ce3=Array['isArray'](_0x339ba3)?_0x339ba3:[];if(_0x246ce3[0x0]===_0x658a57(0x3e2)){const _0x31d723=new ClaudeStatuslineCommand(),_0x1c1a1f=await _0x31d723['run']({'options':{..._0x67d5b,..._0x4baa3c},'args':_0x246ce3[_0x658a57(0x289)](0x1),'tdx':null});gracefulExit(_0x1c1a1f);}if(_0x246ce3[0x0]===_0x658a57(0x3ad)){const _0x344db8=new ClaudeUsageCommand(),_0x5724a4=await _0x344db8[_0x658a57(0x32e)]({'options':{..._0x67d5b,..._0x4baa3c},'args':_0x246ce3[_0x658a57(0x289)](0x1),'tdx':null});gracefulExit(_0x5724a4);}const _0x33bd0e=new ClaudeCommand(),_0x56a9fb=await createTDXInstance(_0x67d5b),_0x5b25f8=await _0x33bd0e[_0x658a57(0x32e)]({'options':{..._0x67d5b,..._0x4baa3c},'args':_0x246ce3,'tdx':_0x56a9fb});gracefulExit(_0x5b25f8);}),program[a2_0x1dd5bc(0x284)]('use\x20[resource]\x20[value]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x205))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1fe),a2_0x1dd5bc(0x3ed))['option'](a2_0x1dd5bc(0x233),a2_0x1dd5bc(0x328))[a2_0x1dd5bc(0x450)](async(_0xed8d3e,_0x4a6f49,_0x5124a0)=>{const _0x1e5411=a2_0x1dd5bc,_0x3b681b=new UseCommand(),_0xae505a=program[_0x1e5411(0x389)](),_0x23aa83=[];if(_0xed8d3e)_0x23aa83[_0x1e5411(0x416)](_0xed8d3e);if(_0x4a6f49)_0x23aa83['push'](_0x4a6f49);const _0xdf2fc=_0xed8d3e===_0x1e5411(0x350),_0x26f099=_0xdf2fc?await createTDXInstance(_0xae505a):null,_0x1003fe=await _0x3b681b[_0x1e5411(0x32e)]({'options':{..._0xae505a,..._0x5124a0},'args':_0x23aa83,'tdx':_0x26f099});gracefulExit(_0x1003fe);}),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x45f))['description'](a2_0x1dd5bc(0x321))[a2_0x1dd5bc(0x450)](async _0x3cb2eb=>{const _0x5eee56=a2_0x1dd5bc,_0x255db2=new StatusCommand(),_0x579f77=program['opts'](),_0x2626a5=await createTDXInstance(_0x579f77),_0x38263a=await _0x255db2[_0x5eee56(0x32e)]({'options':{..._0x579f77,..._0x3cb2eb},'args':[],'tdx':_0x2626a5});gracefulExit(_0x38263a);}),program['command'](a2_0x1dd5bc(0x38d))[a2_0x1dd5bc(0x388)]('Upgrade\x20tdx\x20to\x20the\x20latest\x20version')[a2_0x1dd5bc(0x207)]('--dry-run','Check\x20for\x20updates\x20without\x20installing')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3f8),a2_0x1dd5bc(0x43c))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x35f),a2_0x1dd5bc(0x35a))[a2_0x1dd5bc(0x450)](async(_0x1a0a09,_0x51fb25)=>{const _0x2c8864=a2_0x1dd5bc,_0x13ab5d=new UpgradeCommand(),_0xae932b=program['opts'](),_0x2d410d=await _0x13ab5d[_0x2c8864(0x32e)]({'options':{..._0xae932b,..._0x51fb25},'args':_0x1a0a09?[_0x1a0a09]:[],'tdx':null});gracefulExit(_0x2d410d);}),program['command'](a2_0x1dd5bc(0x398))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x37f))['option'](a2_0x1dd5bc(0x233),a2_0x1dd5bc(0x1cf))[a2_0x1dd5bc(0x450)](async(_0x5f4fa6,_0x32a648)=>{const _0x318351=a2_0x1dd5bc,_0x1e9dbd=new UnsetCommand(),_0x3d76b7=program[_0x318351(0x389)](),_0x2d9e9c=await _0x1e9dbd['run']({'options':{..._0x3d76b7,..._0x32a648},'args':[_0x5f4fa6],'tdx':null});gracefulExit(_0x2d9e9c);}),program['command'](a2_0x1dd5bc(0x355))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3bd))['option']('--last',a2_0x1dd5bc(0x3e7))[a2_0x1dd5bc(0x450)](async _0x2ac51c=>{const _0x1be24f=a2_0x1dd5bc,_0x47638c=new ChatsCommand(),_0x415740=program['opts'](),_0x4f1b17=await createTDXInstance(_0x415740),_0x549e28=await _0x47638c[_0x1be24f(0x32e)]({'options':{..._0x415740,..._0x2ac51c},'args':[],'tdx':_0x4f1b17});gracefulExit(_0x549e28);});const authCmd=program['command']('auth')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x202));async function runAuthStatusCommand(_0x5a0f5a){const _0x2438fc=a2_0x1dd5bc,_0x420340=new AuthStatusCommand(),_0x2da9df=program['opts'](),_0x1c51e1=await createTDXInstance(_0x2da9df),_0x544c43=await _0x420340[_0x2438fc(0x32e)]({'options':{..._0x2da9df,..._0x5a0f5a},'args':[],'tdx':_0x1c51e1});gracefulExit(_0x544c43);}authCmd[a2_0x1dd5bc(0x450)](runAuthStatusCommand),authCmd[a2_0x1dd5bc(0x284)]('status')[a2_0x1dd5bc(0x388)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x1dd5bc(0x450)](runAuthStatusCommand),authCmd['command']('setup')[a2_0x1dd5bc(0x388)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x1dd5bc(0x25f)](a2_0x1dd5bc(0x287),a2_0x1dd5bc(0x318))[a2_0x1dd5bc(0x450)](async _0x4f4934=>{const _0x543f67=a2_0x1dd5bc,_0x5ae70a=new AuthSetupCommand(),_0x4ad27=program[_0x543f67(0x389)](),_0x1860ba=await createTDXInstance(_0x4ad27),_0x5b61d7=await _0x5ae70a[_0x543f67(0x32e)]({'options':{..._0x4ad27,..._0x4f4934},'args':[],'tdx':_0x1860ba});gracefulExit(_0x5b61d7);}),authCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x486))[a2_0x1dd5bc(0x388)]('Login\x20via\x20OAuth\x20(dev\x20sites\x20only)')[a2_0x1dd5bc(0x25f)](a2_0x1dd5bc(0x287),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a')[a2_0x1dd5bc(0x450)](async _0x128079=>{const _0x5b8384=a2_0x1dd5bc,_0x1171d4=new AuthLoginCommand(),_0x1d3de0=program[_0x5b8384(0x389)](),_0x493b63=await _0x1171d4[_0x5b8384(0x32e)]({'options':{..._0x1d3de0,..._0x128079},'args':[],'tdx':null});gracefulExit(_0x493b63);}),authCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x28f))['description'](a2_0x1dd5bc(0x340))[a2_0x1dd5bc(0x25f)]('after',a2_0x1dd5bc(0x479))[a2_0x1dd5bc(0x450)](async _0x57ae93=>{const _0x399612=a2_0x1dd5bc,_0x39401a=new AuthClearCommand(),_0x3ee40a=program[_0x399612(0x389)](),_0x672045=await _0x39401a['run']({'options':{..._0x3ee40a,..._0x57ae93},'args':[],'tdx':null});gracefulExit(_0x672045);});const userCmd=program[a2_0x1dd5bc(0x284)]('user')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x312)),userListAction=async _0x2e4190=>{const _0x1d9c91=a2_0x1dd5bc,_0x54fc88=new UserListCommand(),_0x522391=program[_0x1d9c91(0x389)](),_0x1da8c8=await createTDXInstance(_0x522391),_0x3751c3=await _0x54fc88[_0x1d9c91(0x32e)]({'options':{..._0x522391,..._0x2e4190},'args':[],'tdx':_0x1da8c8});gracefulExit(_0x3751c3);};userCmd[a2_0x1dd5bc(0x450)](async _0xa5731d=>{const _0x485cfb=a2_0x1dd5bc,_0x83506d=new UserCommand(),_0x3a0c5a=program[_0x485cfb(0x389)](),_0x1e2761=await createTDXInstance(_0x3a0c5a),_0x30e5a8=await _0x83506d[_0x485cfb(0x32e)]({'options':{..._0x3a0c5a,..._0xa5731d},'args':[],'tdx':_0x1e2761});gracefulExit(_0x30e5a8);}),userCmd[a2_0x1dd5bc(0x284)]('list')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2f7))[a2_0x1dd5bc(0x450)](userListAction),program[a2_0x1dd5bc(0x284)]('users')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2ee))[a2_0x1dd5bc(0x450)](userListAction);const policyCmd=program['command'](a2_0x1dd5bc(0x219))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x211));policyCmd[a2_0x1dd5bc(0x450)](async _0x59cac5=>{const _0x3c02c3=a2_0x1dd5bc,_0x2c2c9b=new PolicyCommand(),_0x1b0466=program[_0x3c02c3(0x389)](),_0x4e9394=await createTDXInstance(_0x1b0466),_0x52145a=await _0x2c2c9b[_0x3c02c3(0x32e)]({'options':{..._0x1b0466,..._0x59cac5},'args':[],'tdx':_0x4e9394});gracefulExit(_0x52145a);}),policyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x47d))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x22f))[a2_0x1dd5bc(0x450)](async _0x163f29=>{const _0x517330=a2_0x1dd5bc,_0x2608ff=new PolicyListCommand(),_0x4797b2=program[_0x517330(0x389)](),_0x26e98a=await createTDXInstance(_0x4797b2),_0x5dd5ff=await _0x2608ff[_0x517330(0x32e)]({'options':{..._0x4797b2,..._0x163f29},'args':[],'tdx':_0x26e98a});gracefulExit(_0x5dd5ff);}),policyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x381))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x48b))['action'](async(_0x425d58,_0x31ae76)=>{const _0x39876b=a2_0x1dd5bc,_0x57cc02=new PolicyShowCommand(),_0x4f2a1b=program[_0x39876b(0x389)](),_0x38e34e=await createTDXInstance(_0x4f2a1b),_0x3ee5bb=await _0x57cc02[_0x39876b(0x32e)]({'options':{..._0x4f2a1b,..._0x31ae76},'args':[_0x425d58],'tdx':_0x38e34e});gracefulExit(_0x3ee5bb);}),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3a2))[a2_0x1dd5bc(0x388)]('List\x20all\x20available\x20profiles')[a2_0x1dd5bc(0x450)](async _0x4842e1=>{const _0x434dfc=a2_0x1dd5bc,_0x22afc4=new ProfilesCommand(),_0x59dfb5=program[_0x434dfc(0x389)](),_0x395475=await _0x22afc4[_0x434dfc(0x32e)]({'options':{..._0x59dfb5,..._0x4842e1},'args':[],'tdx':null});gracefulExit(_0x395475);});const profileCmd=program[a2_0x1dd5bc(0x284)]('profile')['description'](a2_0x1dd5bc(0x33c));profileCmd[a2_0x1dd5bc(0x450)](()=>{const _0x116a84=a2_0x1dd5bc;profileCmd[_0x116a84(0x341)]();});const profileListAction=async _0x836550=>{const _0x218ded=a2_0x1dd5bc,_0x8b16fd=new ProfilesCommand(),_0x5c6f80=program[_0x218ded(0x389)](),_0x3a0364=await _0x8b16fd[_0x218ded(0x32e)]({'options':{..._0x5c6f80,..._0x836550},'args':[],'tdx':null});gracefulExit(_0x3a0364);};profileCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x47d))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x34f))['action'](profileListAction),profileCmd[a2_0x1dd5bc(0x284)]('create\x20[name]')['description'](a2_0x1dd5bc(0x273))[a2_0x1dd5bc(0x25f)]('after',a2_0x1dd5bc(0x291))['action'](async(_0x11d8a7,_0xdf1f87)=>{const _0x18dffc=a2_0x1dd5bc,_0x118791=new ProfileCreateCommand(),_0x5854b3=program[_0x18dffc(0x389)](),_0x7537a3=await _0x118791[_0x18dffc(0x32e)]({'options':{..._0x5854b3,..._0xdf1f87},'args':_0x11d8a7?[_0x11d8a7]:[],'tdx':null});gracefulExit(_0x7537a3);}),profileCmd[a2_0x1dd5bc(0x284)]('remove\x20<name>')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x41e))[a2_0x1dd5bc(0x25f)](a2_0x1dd5bc(0x287),a2_0x1dd5bc(0x3ea))[a2_0x1dd5bc(0x450)](async(_0x556520,_0x1bbf3f)=>{const _0x327035=a2_0x1dd5bc,_0x4d1d4e=new ProfileRemoveCommand(),_0x3cf3d0=program['opts'](),_0xc4d84e=await _0x4d1d4e[_0x327035(0x32e)]({'options':{..._0x3cf3d0,..._0x1bbf3f},'args':[_0x556520],'tdx':null});gracefulExit(_0xc4d84e);}),profileCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x27e))['description'](a2_0x1dd5bc(0x31c))[a2_0x1dd5bc(0x25f)](a2_0x1dd5bc(0x287),'\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')[a2_0x1dd5bc(0x450)](async(_0x4f4ed2,_0x3eb615)=>{const _0x36e4c3=a2_0x1dd5bc,_0x593f02=new ProfileSetCommand(),_0x47f44c=program[_0x36e4c3(0x389)](),_0x274fab=await _0x593f02['run']({'options':{..._0x47f44c,..._0x3eb615},'args':[_0x4f4ed2],'tdx':null});gracefulExit(_0x274fab);}),profileCmd['command'](a2_0x1dd5bc(0x3f6))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2a8))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x233),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['addHelpText'](a2_0x1dd5bc(0x287),a2_0x1dd5bc(0x427))[a2_0x1dd5bc(0x450)](async(_0x1cf69e,_0x1ca33c)=>{const _0x39471c=a2_0x1dd5bc,_0x990847=new ProfileUseCommand(),_0x5ed74a=program[_0x39471c(0x389)](),_0x2a01d0=await _0x990847[_0x39471c(0x32e)]({'options':{..._0x5ed74a,..._0x1ca33c},'args':[_0x1cf69e],'tdx':null});gracefulExit(_0x2a01d0);});const engageCmd=program[a2_0x1dd5bc(0x284)]('engage')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2b2)),createEngageAction=_0x3b7c31=>{return async(_0x3ba7f7,_0x4bfbe5)=>{const _0x5ae297=a2_0xa400,_0x43b924=new _0x3b7c31(),_0x42aa95=program[_0x5ae297(0x389)](),_0x530010=await createTDXInstance(_0x42aa95),_0x445626=await _0x43b924['run']({'options':{..._0x42aa95,..._0x4bfbe5},'args':[_0x3ba7f7],'tdx':_0x530010});gracefulExit(_0x445626);};},createEngageNoArgAction=_0x5aecbd=>{return async _0xb9305d=>{const _0x395c23=a2_0xa400,_0x156b8e=new _0x5aecbd(),_0x55af8b=program[_0x395c23(0x389)](),_0x4437b4=await createTDXInstance(_0x55af8b),_0x47b4d0=await _0x156b8e[_0x395c23(0x32e)]({'options':{..._0x55af8b,..._0xb9305d},'args':[],'tdx':_0x4437b4});gracefulExit(_0x47b4d0);};},createEngageListAction=_0x80fa07=>{return async(_0x2cd699,_0xe85cf3)=>{const _0x577184=a2_0xa400,_0x1e5c46=new _0x80fa07(),_0xeb3bac=program['opts'](),_0x1581fc=await createTDXInstance(_0xeb3bac),_0x31c899=await _0x1e5c46[_0x577184(0x32e)]({'options':{..._0xeb3bac,..._0xe85cf3},'args':_0x2cd699?[_0x2cd699]:[],'tdx':_0x1581fc});gracefulExit(_0x31c899);};},campaignCmd=engageCmd[a2_0x1dd5bc(0x284)]('campaign')['description'](a2_0x1dd5bc(0x3a4));campaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x47b))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x242))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x426),a2_0x1dd5bc(0x1f1))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1c8),a2_0x1dd5bc(0x20d))['option'](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x450)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x25b))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3b5))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x426),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1c8),a2_0x1dd5bc(0x20d))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x450)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x1dd5bc(0x284)]('show\x20<name-or-id>')[a2_0x1dd5bc(0x388)]('Show\x20campaign\x20details')['option'](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x207)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x1dd5bc(0x249))['description'](a2_0x1dd5bc(0x465))['requiredOption'](a2_0x1dd5bc(0x3e8),a2_0x1dd5bc(0x2b4))['requiredOption'](a2_0x1dd5bc(0x426),a2_0x1dd5bc(0x3ee))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x345),'Campaign\x20description')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2da),a2_0x1dd5bc(0x23b))['option'](a2_0x1dd5bc(0x268),a2_0x1dd5bc(0x3e6))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3bf),a2_0x1dd5bc(0x452))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x392),a2_0x1dd5bc(0x1d3))['option']('--timezone\x20<tz>',a2_0x1dd5bc(0x24a))[a2_0x1dd5bc(0x450)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x1dd5bc(0x2ba))['description'](a2_0x1dd5bc(0x1bf))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3e8),a2_0x1dd5bc(0x24f))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x345),'Campaign\x20description')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2da),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x268),a2_0x1dd5bc(0x3e6))[a2_0x1dd5bc(0x207)]('--json-columns\x20<cols>',a2_0x1dd5bc(0x452))['option'](a2_0x1dd5bc(0x392),a2_0x1dd5bc(0x1d3))['option']('--timezone\x20<tz>',a2_0x1dd5bc(0x24a))[a2_0x1dd5bc(0x450)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command']('delete\x20<name-or-id>')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x293))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))['option']('--yes',a2_0x1dd5bc(0x220))[a2_0x1dd5bc(0x450)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x39c))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x48d))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),'Workspace\x20name')[a2_0x1dd5bc(0x450)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3ac))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x397))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),'Workspace\x20name')[a2_0x1dd5bc(0x450)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x38f))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x298))['option'](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x450)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x1dd5bc(0x2fa))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x419))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x450)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd['command'](a2_0x1dd5bc(0x31a))['description'](a2_0x1dd5bc(0x3a8))[a2_0x1dd5bc(0x207)]('--workspace\x20<name>',a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x207)]('--name\x20<name>',a2_0x1dd5bc(0x2de))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x426),a2_0x1dd5bc(0x1f1))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x443),a2_0x1dd5bc(0x30a))[a2_0x1dd5bc(0x450)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x1dd5bc(0x467))['description'](a2_0x1dd5bc(0x3f3))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x207)]('--dry-run',a2_0x1dd5bc(0x399))[a2_0x1dd5bc(0x450)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x1dd5bc(0x284)]('validate\x20[target]')[a2_0x1dd5bc(0x388)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x1dd5bc(0x207)]('--verbose',a2_0x1dd5bc(0x44f))[a2_0x1dd5bc(0x450)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x462))['description'](a2_0x1dd5bc(0x26f));alwaysOnCampaignCmd['command'](a2_0x1dd5bc(0x47b))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2f9))['option'](a2_0x1dd5bc(0x426),a2_0x1dd5bc(0x1f1))['option']('--status\x20<status>',a2_0x1dd5bc(0x1cc))[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x23c))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command'](a2_0x1dd5bc(0x3d9))[a2_0x1dd5bc(0x388)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x426),a2_0x1dd5bc(0x1f1))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1c8),a2_0x1dd5bc(0x1cc))['requiredOption']('--workspace\x20<name>',a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x450)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command'](a2_0x1dd5bc(0x294))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x379))[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1d6),a2_0x1dd5bc(0x278))[a2_0x1dd5bc(0x450)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x249))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x483))[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x3e8),a2_0x1dd5bc(0x2b4))[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x426),a2_0x1dd5bc(0x3ee))['requiredOption']('--workspace\x20<name>',a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x207)]('--description\x20<desc>',a2_0x1dd5bc(0x2ec))['option'](a2_0x1dd5bc(0x2da),a2_0x1dd5bc(0x352))['option'](a2_0x1dd5bc(0x1ca),a2_0x1dd5bc(0x20f))[a2_0x1dd5bc(0x450)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x1dd5bc(0x284)]('update\x20<name-or-id>')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1e7))['requiredOption'](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x23c))['option']('--name\x20<name>',a2_0x1dd5bc(0x24f))[a2_0x1dd5bc(0x207)]('--description\x20<desc>',a2_0x1dd5bc(0x2ec))['option'](a2_0x1dd5bc(0x2da),a2_0x1dd5bc(0x352))[a2_0x1dd5bc(0x207)]('--enable-utm-tracking',a2_0x1dd5bc(0x20f))[a2_0x1dd5bc(0x450)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2c7))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x28b))[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x356),a2_0x1dd5bc(0x220))[a2_0x1dd5bc(0x450)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x39c))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x45c))['requiredOption']('--workspace\x20<name>',a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x450)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3ac))['description']('Pause\x20an\x20always-on\x20campaign')['requiredOption'](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x450)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x1dd5bc(0x284)]('resume\x20<name-or-id>')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x255))[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x450)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x37e))['description'](a2_0x1dd5bc(0x46b))[a2_0x1dd5bc(0x2c5)]('--workspace\x20<name>',a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x207)]('--yes','Skip\x20confirmation\x20prompt')[a2_0x1dd5bc(0x450)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2fa))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x456))[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x23c))[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x3e8),a2_0x1dd5bc(0x3f9))[a2_0x1dd5bc(0x450)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x1d2))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1d1));templateCmd[a2_0x1dd5bc(0x284)]('list\x20[pattern]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1ff))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x450)](createEngageListAction(EngageTemplatesCommand)),engageCmd['command'](a2_0x1dd5bc(0x1d8))['description'](a2_0x1dd5bc(0x3ef))[a2_0x1dd5bc(0x207)]('--workspace\x20<name>',a2_0x1dd5bc(0x209))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x294))['description'](a2_0x1dd5bc(0x421))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))['option'](a2_0x1dd5bc(0x1d6),a2_0x1dd5bc(0x278))[a2_0x1dd5bc(0x450)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x1dd5bc(0x249))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1c4))[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x3e8),'Template\x20name')[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x1cb),a2_0x1dd5bc(0x40d))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x21a),'HTML\x20template\x20content')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x261),a2_0x1dd5bc(0x380))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),'Workspace\x20name\x20(required)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x46a),a2_0x1dd5bc(0x3fe))['option'](a2_0x1dd5bc(0x38e),a2_0x1dd5bc(0x311),_0x1ac05e=>{const _0x20e887=a2_0x1dd5bc;if(![_0x20e887(0x2a4),'grapesjs'][_0x20e887(0x342)](_0x1ac05e))throw new SDKError(ErrorCode[_0x20e887(0x1b6)],_0x20e887(0x282)+_0x1ac05e+_0x20e887(0x34e));return _0x1ac05e;})[a2_0x1dd5bc(0x450)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command']('update\x20<name-or-id>')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2ff))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3e8),a2_0x1dd5bc(0x1c9))['option'](a2_0x1dd5bc(0x1cb),a2_0x1dd5bc(0x40d))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x21a),a2_0x1dd5bc(0x347))['option'](a2_0x1dd5bc(0x261),a2_0x1dd5bc(0x380))['option'](a2_0x1dd5bc(0x46a),a2_0x1dd5bc(0x3fe))[a2_0x1dd5bc(0x450)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x451))['description'](a2_0x1dd5bc(0x3c1))['option'](a2_0x1dd5bc(0x271),'Workspace\x20name')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3e8),'Pull\x20specific\x20template\x20by\x20name')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x20e),a2_0x1dd5bc(0x220))[a2_0x1dd5bc(0x207)]('--dry-run','Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x1dd5bc(0x450)](createEngageAction(EngageTemplatePullCommand)),templateCmd['command'](a2_0x1dd5bc(0x467))[a2_0x1dd5bc(0x388)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x207)]('-y,\x20--yes',a2_0x1dd5bc(0x220))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x443),a2_0x1dd5bc(0x399))[a2_0x1dd5bc(0x450)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x305))['description'](a2_0x1dd5bc(0x458))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x335),a2_0x1dd5bc(0x44f))[a2_0x1dd5bc(0x450)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2c7))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x475))['option'](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x356),a2_0x1dd5bc(0x220))[a2_0x1dd5bc(0x450)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x1dd5bc(0x284)]('workspace')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2be));workspaceCmd['command']('list\x20[pattern]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3c5))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x1dd5bc(0x2b3))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x45a))[a2_0x1dd5bc(0x450)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x1dd5bc(0x294))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x473))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1d6),a2_0x1dd5bc(0x278))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x1dd5bc(0x284)]('create')['description']('Create\x20a\x20workspace')[a2_0x1dd5bc(0x2c5)](a2_0x1dd5bc(0x3e8),'Workspace\x20name')['option'](a2_0x1dd5bc(0x345),a2_0x1dd5bc(0x1e0))[a2_0x1dd5bc(0x450)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2ba))['description'](a2_0x1dd5bc(0x33f))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3e8),a2_0x1dd5bc(0x2d9))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x345),'Workspace\x20description')[a2_0x1dd5bc(0x450)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2c7))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x408))[a2_0x1dd5bc(0x207)]('--yes',a2_0x1dd5bc(0x220))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command'](a2_0x1dd5bc(0x3f6))['description'](a2_0x1dd5bc(0x46f))[a2_0x1dd5bc(0x450)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x36e))[a2_0x1dd5bc(0x388)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x213))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1df))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x271),a2_0x1dd5bc(0x209))[a2_0x1dd5bc(0x450)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x301))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2ca)),connectionListAction=async _0x1d5049=>{const _0x6694e1=a2_0x1dd5bc,_0x227b3d=new ConnectionListCommand(),_0xa901cd=program[_0x6694e1(0x389)](),_0x5e94be=await createTDXInstance(_0xa901cd),_0x1ae97a=await _0x227b3d[_0x6694e1(0x32e)]({'options':{..._0xa901cd,..._0x1d5049},'args':[],'tdx':_0x5e94be});gracefulExit(_0x1ae97a);};connectionCmd['command'](a2_0x1dd5bc(0x47d))['description']('List\x20all\x20data\x20connections')[a2_0x1dd5bc(0x450)](connectionListAction),program['command']('connections',{'hidden':!![]})[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3e4))[a2_0x1dd5bc(0x450)](connectionListAction),connectionCmd['command'](a2_0x1dd5bc(0x41f))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x299))['action'](async(_0x265bba,_0x4d570b)=>{const _0x1854ef=a2_0x1dd5bc,_0x537004=new ConnectionShowCommand(),_0x7f418c=program[_0x1854ef(0x389)](),_0x4c59d7=await createTDXInstance(_0x7f418c),_0x3ecb0e=await _0x537004[_0x1854ef(0x32e)]({'options':{..._0x7f418c,..._0x4d570b},'args':[_0x265bba],'tdx':_0x4c59d7});gracefulExit(_0x3ecb0e);}),connectionCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x331))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2f3))[a2_0x1dd5bc(0x450)](async(_0x42c0cb,_0x552fa0)=>{const _0x18ed92=a2_0x1dd5bc,_0x1c226b=new ConnectionSchemaCommand(),_0x2ede8b=program[_0x18ed92(0x389)](),_0x270771=await createTDXInstance(_0x2ede8b),_0xd62da8=await _0x1c226b[_0x18ed92(0x32e)]({'options':{..._0x2ede8b,..._0x552fa0},'args':[_0x42c0cb],'tdx':_0x270771});gracefulExit(_0xd62da8);}),connectionCmd[a2_0x1dd5bc(0x284)]('types')['description'](a2_0x1dd5bc(0x1e3))[a2_0x1dd5bc(0x450)](async _0x350c06=>{const _0x5b2e24=a2_0x1dd5bc,_0x59aa6e=new ConnectionTypesCommand(),_0x3be475=program[_0x5b2e24(0x389)](),_0x1843cc=await createTDXInstance(_0x3be475),_0x372764=await _0x59aa6e[_0x5b2e24(0x32e)]({'options':{..._0x3be475,..._0x350c06},'args':[],'tdx':_0x1843cc});gracefulExit(_0x372764);}),connectionCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x30c))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2a0))[a2_0x1dd5bc(0x450)](async(_0x446bfc,_0x1ce953)=>{const _0x10035c=a2_0x1dd5bc,_0xab44c8=new ConnectionSettingsCommand(),_0x41702b=program[_0x10035c(0x389)](),_0x46ff1a=await createTDXInstance(_0x41702b),_0x1e1269=await _0xab44c8[_0x10035c(0x32e)]({'options':{..._0x41702b,..._0x1ce953},'args':[_0x446bfc],'tdx':_0x46ff1a});gracefulExit(_0x1e1269);});const journeyCmd=program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x212))['description']('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x21e067,_0x59b57b)=>{const _0x56cc26=a2_0x1dd5bc,_0x4d9608=new JourneyListCommand(),_0x247c09=program[_0x56cc26(0x389)](),_0x328dca=await createTDXInstance(_0x247c09),_0x4edcbc=await _0x4d9608[_0x56cc26(0x32e)]({'options':{..._0x247c09,..._0x59b57b},'args':_0x21e067?[_0x21e067]:[],'tdx':_0x328dca});gracefulExit(_0x4edcbc);};journeyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x47b))[a2_0x1dd5bc(0x388)]('List\x20journeys\x20in\x20current\x20context')[a2_0x1dd5bc(0x450)](journeyListAction),journeyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x353))[a2_0x1dd5bc(0x388)]('Show\x20journey\x20details')['option']('-w,\x20--web',a2_0x1dd5bc(0x31d))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x415),a2_0x1dd5bc(0x21e))['action'](async(_0x44c366,_0x852a54)=>{const _0x2b61bf=a2_0x1dd5bc,_0x5c2ee1=new JourneyViewCommand(),_0x3f0a94=program[_0x2b61bf(0x389)](),_0x2742d5=await createTDXInstance(_0x3f0a94),_0x55f807=await _0x5c2ee1[_0x2b61bf(0x32e)]({'options':{..._0x3f0a94,..._0x852a54},'args':[_0x44c366],'tdx':_0x2742d5});gracefulExit(_0x55f807);}),journeyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3d6))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x459))[a2_0x1dd5bc(0x207)]('--stage\x20<name>',a2_0x1dd5bc(0x436))[a2_0x1dd5bc(0x207)]('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2b6),a2_0x1dd5bc(0x1ea))['option'](a2_0x1dd5bc(0x3d2),a2_0x1dd5bc(0x307))[a2_0x1dd5bc(0x450)](async(_0x2a2e28,_0x2dc00d)=>{const _0x2caafc=a2_0x1dd5bc,_0x3f946d=new JourneyStatsCommand(),_0x8d7bbf=program[_0x2caafc(0x389)](),_0x2c62b7=await createTDXInstance(_0x8d7bbf),_0x232acd=await _0x3f946d['run']({'options':{..._0x8d7bbf,..._0x2dc00d},'args':[_0x2a2e28],'tdx':_0x2c62b7});gracefulExit(_0x232acd);}),journeyCmd[a2_0x1dd5bc(0x284)]('traffic\x20<name-or-path>')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x48a))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x426),'Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x2d7),a2_0x1dd5bc(0x34c))[a2_0x1dd5bc(0x207)]('--to\x20<date>',a2_0x1dd5bc(0x1ea))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x418),'Maximum\x20number\x20of\x20nodes',_0x3bdde0=>{const _0x15b96e=a2_0x1dd5bc,_0x15a583=parseInt(_0x3bdde0,0xa);if(isNaN(_0x15a583))throw new Error(_0x15b96e(0x1c2)+_0x3bdde0+_0x15b96e(0x283));return _0x15a583;})[a2_0x1dd5bc(0x450)](async(_0x35db2a,_0x20ea92)=>{const _0x48b8ee=a2_0x1dd5bc,_0x396609=new JourneyTrafficCommand(),_0x5455cb=program[_0x48b8ee(0x389)](),_0x5e2127=await createTDXInstance(_0x5455cb),_0x1e56cf=await _0x396609[_0x48b8ee(0x32e)]({'options':{..._0x5455cb,..._0x20ea92},'args':[_0x35db2a],'tdx':_0x5e2127});gracefulExit(_0x1e56cf);}),journeyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x367))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x471))[a2_0x1dd5bc(0x450)](async(_0x549532,_0x546fda)=>{const _0x23daae=a2_0x1dd5bc,_0x475b0e=new JourneyPauseCommand(),_0x11b710=program[_0x23daae(0x389)](),_0x27021e=await createTDXInstance(_0x11b710),_0x2b9e3c=await _0x475b0e[_0x23daae(0x32e)]({'options':{..._0x11b710,..._0x546fda},'args':[_0x549532],'tdx':_0x27021e});gracefulExit(_0x2b9e3c);}),journeyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x313))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x28c))[a2_0x1dd5bc(0x450)](async(_0x457aa2,_0x5dae3b)=>{const _0x4df8b8=a2_0x1dd5bc,_0x1ca22c=new JourneyResumeCommand(),_0x160335=program[_0x4df8b8(0x389)](),_0x2be021=await createTDXInstance(_0x160335),_0x189530=await _0x1ca22c[_0x4df8b8(0x32e)]({'options':{..._0x160335,..._0x5dae3b},'args':[_0x457aa2],'tdx':_0x2be021});gracefulExit(_0x189530);}),journeyCmd['command'](a2_0x1dd5bc(0x46e))['description']('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x1dd5bc(0x207)]('--dry-run',a2_0x1dd5bc(0x357))['action'](async(_0x67410c,_0x33596e)=>{const _0xdefd15=a2_0x1dd5bc,_0x5d7080=new JourneyPullCommand(),_0x11cfab=program[_0xdefd15(0x389)](),_0x8b14fa=await createTDXInstance(_0x11cfab),_0x1d193e=await _0x5d7080[_0xdefd15(0x32e)]({'options':{..._0x11cfab,..._0x33596e},'args':_0x67410c?[_0x67410c]:[],'tdx':_0x8b14fa});gracefulExit(_0x1d193e);}),journeyCmd['command']('push\x20[target]')[a2_0x1dd5bc(0x388)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x1dd5bc(0x450)](async(_0x59ccf5,_0x827a1a)=>{const _0xa25e82=a2_0x1dd5bc,_0x23b8bf=new JourneyPushCommand(),_0x16b658=program[_0xa25e82(0x389)](),_0x5e944e=await createTDXInstance(_0x16b658),_0x518c30=await _0x23b8bf[_0xa25e82(0x32e)]({'options':{..._0x16b658,..._0x827a1a},'args':_0x59ccf5?[_0x59ccf5]:[],'tdx':_0x5e944e});gracefulExit(_0x518c30);}),journeyCmd[a2_0x1dd5bc(0x284)]('columns\x20<name-or-path>')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x263))['action'](async(_0x274f18,_0x27af20)=>{const _0x41605b=a2_0x1dd5bc,_0x539060=new JourneyColumnsCommand(),_0x10a23e=program[_0x41605b(0x389)](),_0x2110b4=await createTDXInstance(_0x10a23e),_0x30505d=await _0x539060[_0x41605b(0x32e)]({'options':{..._0x10a23e,..._0x27af20},'args':[_0x274f18],'tdx':_0x2110b4});gracefulExit(_0x30505d);}),journeyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x25e))['description'](a2_0x1dd5bc(0x1f5))[a2_0x1dd5bc(0x450)](async(_0x4eb918,_0x379ec3)=>{const _0x11b05d=a2_0x1dd5bc,_0x7f4104=new JourneyActivationsCommand(),_0x4115c5=program[_0x11b05d(0x389)](),_0x192f0c=await createTDXInstance(_0x4115c5),_0x5ed990=await _0x7f4104[_0x11b05d(0x32e)]({'options':{..._0x4115c5,..._0x379ec3},'args':[_0x4eb918],'tdx':_0x192f0c});gracefulExit(_0x5ed990);}),journeyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x40b))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2af))[a2_0x1dd5bc(0x450)](async(_0x94edf5,_0x3d54d9)=>{const _0x25801e=a2_0x1dd5bc,_0x4e3578=new JourneyVersionsCommand(),_0x28d3d1=program[_0x25801e(0x389)](),_0x168332=await createTDXInstance(_0x28d3d1),_0x352daa=await _0x4e3578[_0x25801e(0x32e)]({'options':{..._0x28d3d1,..._0x3d54d9},'args':[_0x94edf5],'tdx':_0x168332});gracefulExit(_0x352daa);});const journeyVersionCmd=journeyCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3e9))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x26b));journeyVersionCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2e6))[a2_0x1dd5bc(0x388)]('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')['action'](async(_0x27ee83,_0xc2cea0)=>{const _0x75c81e=a2_0x1dd5bc,_0xaca518=new JourneyVersionCreateCommand(),_0x498265=program['opts'](),_0x23f200=await createTDXInstance(_0x498265),_0x524603=await _0xaca518[_0x75c81e(0x32e)]({'options':{..._0x498265,..._0xc2cea0},'args':[_0x27ee83],'tdx':_0x23f200});gracefulExit(_0x524603);}),journeyVersionCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x353))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x1ed))[a2_0x1dd5bc(0x2c5)]('--version\x20<number>','Version\x20number\x20to\x20view')['action'](async(_0x8cf3d4,_0x2e1590)=>{const _0x3dbb6d=new JourneyVersionViewCommand(),_0x212586=program['opts'](),_0xd31084=await createTDXInstance(_0x212586),_0x433785=await _0x3dbb6d['run']({'options':{..._0x212586,..._0x2e1590},'args':[_0x8cf3d4],'tdx':_0xd31084});gracefulExit(_0x433785);}),journeyCmd[a2_0x1dd5bc(0x284)]('validate\x20[target]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x31f))[a2_0x1dd5bc(0x450)](async(_0x1b59c2,_0x571a3a)=>{const _0x307ed8=a2_0x1dd5bc,_0x5e2c6b=new JourneyValidateCommand(),_0x2025d1=program[_0x307ed8(0x389)](),_0x4b96a2=await createTDXInstance(_0x2025d1),_0x448959=await _0x5e2c6b['run']({'options':{..._0x2025d1,..._0x571a3a},'args':_0x1b59c2?[_0x1b59c2]:[],'tdx':_0x4b96a2});gracefulExit(_0x448959);}),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x365))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2f1))[a2_0x1dd5bc(0x450)](journeyListAction);const agentSyncCmd=program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x3b6))[a2_0x1dd5bc(0x388)]('LLM\x20agent\x20management');agentSyncCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x413))['description'](a2_0x1dd5bc(0x374))['option'](a2_0x1dd5bc(0x2df),a2_0x1dd5bc(0x410))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x476),a2_0x1dd5bc(0x411))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x3dc),a2_0x1dd5bc(0x292))[a2_0x1dd5bc(0x450)](async(_0x10dcf8,_0x12d757,_0x180d42)=>{const _0x3d391c=a2_0x1dd5bc,_0x443d42=new AgentPullCommand(),_0x2e8115=program['opts'](),_0x54ac20=await createTDXInstance(_0x2e8115),_0x429af4=[];if(_0x10dcf8)_0x429af4[_0x3d391c(0x416)](_0x10dcf8);if(_0x12d757)_0x429af4['push'](_0x12d757);const _0x184736=await _0x443d42['run']({'options':{..._0x2e8115,..._0x180d42},'args':_0x429af4,'tdx':_0x54ac20});gracefulExit(_0x184736);}),agentSyncCmd['command'](a2_0x1dd5bc(0x3fa))['description'](a2_0x1dd5bc(0x2bd))['option']('-f,\x20--force',a2_0x1dd5bc(0x29a))['action'](async(_0x419fa0,_0x2c85b2)=>{const _0x571acf=a2_0x1dd5bc,_0x39b835=new AgentPushCommand(),_0x252b1b=program[_0x571acf(0x389)](),_0x566f52=await createTDXInstance(_0x252b1b),_0x5cb8af=await _0x39b835[_0x571acf(0x32e)]({'options':{..._0x252b1b,..._0x2c85b2},'args':_0x419fa0?[_0x419fa0]:[],'tdx':_0x566f52});gracefulExit(_0x5cb8af);}),agentSyncCmd[a2_0x1dd5bc(0x284)]('clone\x20[source]')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x3a1))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x24c),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x1dd5bc(0x450)](async(_0x5696e5,_0x9c4973)=>{const _0x417274=a2_0x1dd5bc,_0x28c888=new AgentCloneCommand(),_0x54fc16=program[_0x417274(0x389)](),_0x32dd94=await createTDXInstance(_0x54fc16),_0x213a5a=await _0x28c888[_0x417274(0x32e)]({'options':{..._0x54fc16,..._0x9c4973},'args':_0x5696e5?[_0x5696e5]:[],'tdx':_0x32dd94});gracefulExit(_0x213a5a);}),agentSyncCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x262))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x384))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x401),a2_0x1dd5bc(0x3ca))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x446),a2_0x1dd5bc(0x2e3))[a2_0x1dd5bc(0x207)]('--dry-run','Parse\x20and\x20validate\x20without\x20executing')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x329),a2_0x1dd5bc(0x2aa))['option'](a2_0x1dd5bc(0x2fb),a2_0x1dd5bc(0x40e))[a2_0x1dd5bc(0x450)](async(_0xdbf557,_0x21c3e1)=>{const _0x1b8038=new AgentTestCommand(),_0x264c48=program['opts'](),_0x4ea04f=await createTDXInstance(_0x264c48),_0x3a53a3=await _0x1b8038['run']({'options':{..._0x264c48,..._0x21c3e1},'args':_0xdbf557?[_0xdbf557]:[],'tdx':_0x4ea04f});gracefulExit(_0x3a53a3);}),agentSyncCmd[a2_0x1dd5bc(0x284)]('list\x20[pattern]')['description'](a2_0x1dd5bc(0x44d))[a2_0x1dd5bc(0x450)](llmAgentListAction),agentSyncCmd[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x229))[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2a2))['action'](async(_0x2bf7d5,_0x5b97ee)=>{const _0x1f6c11=a2_0x1dd5bc,_0x1c9525=new LLMAgentShowCommand(),_0x3c7169=program[_0x1f6c11(0x389)](),_0x49d41c=await createTDXInstance(_0x3c7169),_0x55717b=await _0x1c9525['run']({'options':{..._0x3c7169,..._0x5b97ee},'args':[_0x2bf7d5],'tdx':_0x49d41c});gracefulExit(_0x55717b);}),agentSyncCmd[a2_0x1dd5bc(0x284)]('create\x20<name>')['description'](a2_0x1dd5bc(0x372))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x422),a2_0x1dd5bc(0x23a))['option']('--model\x20<name>',a2_0x1dd5bc(0x48c),a2_0x1dd5bc(0x1d5))['option'](a2_0x1dd5bc(0x279),a2_0x1dd5bc(0x308))[a2_0x1dd5bc(0x207)]('--max-tool-iterations\x20<n>',a2_0x1dd5bc(0x31b),'4')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x304),a2_0x1dd5bc(0x1c7),a2_0x1dd5bc(0x41a))[a2_0x1dd5bc(0x450)](async(_0x30c1b0,_0x1c4a63)=>{const _0x5097e1=a2_0x1dd5bc,_0x1fc97f=new LLMAgentCreateCommand(),_0x15a530=program[_0x5097e1(0x389)](),_0x3d5218=await createTDXInstance(_0x15a530),_0x1fc485=await _0x1fc97f[_0x5097e1(0x32e)]({'options':{..._0x15a530,..._0x1c4a63},'args':[_0x30c1b0],'tdx':_0x3d5218});gracefulExit(_0x1fc485);}),agentSyncCmd[a2_0x1dd5bc(0x284)]('update\x20<agent-name>')[a2_0x1dd5bc(0x388)](a2_0x1dd5bc(0x2ed))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x428),a2_0x1dd5bc(0x3db))[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x1b9),'Agent\x20prompt/instructions')[a2_0x1dd5bc(0x207)](a2_0x1dd5bc(0x290),a2_0x1dd5bc(0x22d))['option'](a2_0x1dd5bc(0x279),a2_0x1dd5bc(0x308))[a2_0x1dd5bc(0x450)](async(_0x5b9f50,_0x5455d0)=>{const _0x541847=new LLMAgentUpdateCommand(),_0x1dd134=program['opts'](),_0x5b58c9=await createTDXInstance(_0x1dd134),_0x4d9c26=await _0x541847['run']({'options':{..._0x1dd134,..._0x5455d0},'args':[_0x5b9f50],'tdx':_0x5b58c9});gracefulExit(_0x4d9c26);}),agentSyncCmd[a2_0x1dd5bc(0x284)]('delete\x20<agent-name>')[a2_0x1dd5bc(0x388)]('Delete\x20an\x20agent')[a2_0x1dd5bc(0x450)](async(_0x5d8747,_0x7a12c2)=>{const _0x358af1=a2_0x1dd5bc,_0x47d182=new LLMAgentDeleteCommand(),_0x3fbd59=program[_0x358af1(0x389)](),_0x1853f7=await createTDXInstance(_0x3fbd59),_0x433254=await _0x47d182['run']({'options':{..._0x3fbd59,..._0x7a12c2},'args':[_0x5d8747],'tdx':_0x1853f7});gracefulExit(_0x433254);}),program[a2_0x1dd5bc(0x284)](a2_0x1dd5bc(0x2f6),{'hidden':!![]})[a2_0x1dd5bc(0x450)](()=>{const _0x2afcf3=a2_0x1dd5bc;function _0x47ed1a(_0x1deda5,_0x500a9d){const _0x35474a=a2_0xa400,_0x34107a=[];for(const _0x93d84c of _0x1deda5[_0x35474a(0x3e5)]){if(_0x93d84c[_0x35474a(0x29e)])continue;const _0x47f9a7=_0x500a9d?_0x500a9d+'\x20'+_0x93d84c[_0x35474a(0x1e4)]():_0x93d84c['name'](),_0xbae8be=_0x47f9a7['split']('\x20')[0x0],_0x418386=COMMAND_CATEGORIES[_0x35474a(0x3b0)](_0x4f1531=>_0x4f1531[_0x35474a(0x3e5)][_0x35474a(0x342)](_0xbae8be)),_0x368240=_0x418386?.['name']??'';if(_0x93d84c['commands'][_0x35474a(0x295)]>0x0)_0x34107a[_0x35474a(0x416)](..._0x47ed1a(_0x93d84c,_0x47f9a7));else{const _0x1c7340=(_0x93d84c['registeredArguments']||[])[_0x35474a(0x2c4)](_0x5eaa39=>{const _0x1d8b78=_0x35474a,_0x49a46a=_0x5eaa39[_0x1d8b78(0x288)]?_0x5eaa39[_0x1d8b78(0x1e4)]()+'...':_0x5eaa39[_0x1d8b78(0x1e4)]();return _0x5eaa39[_0x1d8b78(0x3d4)]?'<'+_0x49a46a+'>':'['+_0x49a46a+']';})[_0x35474a(0x266)]('\x20'),_0x137942=_0x93d84c[_0x35474a(0x2cd)]['filter'](_0x2da1b6=>!_0x2da1b6['hidden']&&_0x2da1b6['long']!==_0x35474a(0x402))[_0x35474a(0x2c4)](_0xb5a133=>({'flags':_0xb5a133[_0x35474a(0x2f2)],'description':_0xb5a133[_0x35474a(0x388)]}));_0x34107a[_0x35474a(0x416)]({'name':_0x47f9a7,'description':_0x93d84c[_0x35474a(0x388)](),'group':_0x368240,'usage':_0x1c7340,'options':_0x137942});}}return _0x34107a;}console[_0x2afcf3(0x3cd)](JSON[_0x2afcf3(0x3b9)](_0x47ed1a(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x27b405=a2_0x1dd5bc,_0x39c31f=!process['argv'][_0x27b405(0x289)](0x2)[_0x27b405(0x295)];showBriefHelp=_0x39c31f,program[_0x27b405(0x28a)](process[_0x27b405(0x349)]);_0x39c31f&&program['outputHelp']();const _0x113557=process[_0x27b405(0x349)][0x2]==='upgrade';if(process[_0x27b405(0x3e1)][_0x27b405(0x20c)]&&process[_0x27b405(0x349)][_0x27b405(0x295)]>0x2&&!isDevVersion()&&!_0x113557){const _0x4cbaf5=loadReleaseChannel();checkForUpdate(currentVersion,_0x4cbaf5)[_0x27b405(0x214)](_0x54b864=>{_0x54b864&&displayUpdateNotification(_0x54b864);})[_0x27b405(0x30f)](()=>{});}}
1
+ const a2_0x3e05f6=a2_0x1c3b;(function(_0x3094a7,_0x4433ba){const _0x4f3313=a2_0x1c3b,_0x3c4fbd=_0x3094a7();while(!![]){try{const _0x130df3=parseInt(_0x4f3313(0x29f))/0x1+parseInt(_0x4f3313(0x45d))/0x2+parseInt(_0x4f3313(0x3c1))/0x3*(parseInt(_0x4f3313(0x283))/0x4)+-parseInt(_0x4f3313(0x315))/0x5*(-parseInt(_0x4f3313(0x340))/0x6)+-parseInt(_0x4f3313(0x21f))/0x7+parseInt(_0x4f3313(0x2a0))/0x8+-parseInt(_0x4f3313(0x207))/0x9;if(_0x130df3===_0x4433ba)break;else _0x3c4fbd['push'](_0x3c4fbd['shift']());}catch(_0x524c11){_0x3c4fbd['push'](_0x3c4fbd['shift']());}}}(a2_0x1590,0x201eb));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{AuthLoginCommand}from'./commands/auth-login-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x3e05f6(0x2d9)][a2_0x3e05f6(0x3f1)](a2_0x3e05f6(0x266))){let versionOutput=a2_0x3e05f6(0x48b)+currentVersion;buildInfo[a2_0x3e05f6(0x1d8)]&&!currentVersion[a2_0x3e05f6(0x3f1)](buildInfo[a2_0x3e05f6(0x1d8)])&&(versionOutput+='\x20('+buildInfo[a2_0x3e05f6(0x1d8)]+')'),buildInfo[a2_0x3e05f6(0x272)]&&(versionOutput+=a2_0x3e05f6(0x2a5)+buildInfo[a2_0x3e05f6(0x272)]),console[a2_0x3e05f6(0x247)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x56fc30,_0x190a32){const _0x411fdb=a2_0x3e05f6,_0x132aab={..._0x56fc30};for(const [_0x2cadc9,_0x23fe85]of Object[_0x411fdb(0x1ea)](_0x190a32)){_0x23fe85!==undefined&&(_0x132aab[_0x2cadc9]=_0x23fe85);}return _0x132aab;}let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x3e05f6(0x1d8)]&&!currentVersion['includes'](buildInfo[a2_0x3e05f6(0x1d8)])?description+=a2_0x3e05f6(0x35e)+currentVersion+'\x20('+buildInfo[a2_0x3e05f6(0x1d8)]+')':description+=a2_0x3e05f6(0x35e)+currentVersion;program[a2_0x3e05f6(0x2a9)](a2_0x3e05f6(0x1b7))[a2_0x3e05f6(0x343)](description),program['option'](a2_0x3e05f6(0x1cb),a2_0x3e05f6(0x259))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x29a),a2_0x3e05f6(0x256))['option'](a2_0x3e05f6(0x41e),a2_0x3e05f6(0x1bc),a2_0x3e05f6(0x1ad))['option'](a2_0x3e05f6(0x3f5),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x20d),a2_0x3e05f6(0x485))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),a2_0x3e05f6(0x419))[a2_0x3e05f6(0x3fc)]('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x295),a2_0x3e05f6(0x26c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x289),a2_0x3e05f6(0x1f5))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2a4),a2_0x3e05f6(0x262))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x33c),a2_0x3e05f6(0x463),![])[a2_0x3e05f6(0x3fc)]('--no-color',a2_0x3e05f6(0x1b9),![])[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e0),'Enable\x20verbose\x20logging',![])[a2_0x3e05f6(0x3fc)]('--debug','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')['option'](a2_0x3e05f6(0x469),a2_0x3e05f6(0x287))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e6),'Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x2a3),![])[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2ac),'Skip\x20confirmation\x20prompts',![])[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2b4),a2_0x3e05f6(0x47e))[a2_0x3e05f6(0x3fc)]('--parent-segment\x20<name>',a2_0x3e05f6(0x27b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x351),a2_0x3e05f6(0x2bc)),program[a2_0x3e05f6(0x221)]({'formatHelp':(_0x58a9d4,_0x4ce6a4)=>{const _0x132668=a2_0x3e05f6,_0xbd8669=_0x4ce6a4[_0x132668(0x1ff)](_0x58a9d4,_0x4ce6a4),_0x4fe104=0x2,_0x1dd67c=0x2;function _0x1c7f27(_0x24d5f2){const _0x14c62c=_0x132668,_0x1d6519=_0x24d5f2;return!!(_0x1d6519[_0x14c62c(0x2b7)]||_0x1d6519[_0x14c62c(0x404)]);}function _0x32c4c7(_0x2e388c,_0x264918){if(_0x264918){const _0x13114a=''+_0x2e388c['padEnd'](_0xbd8669+_0x1dd67c)+_0x264918;return _0x13114a;}return _0x2e388c;}function _0x293285(_0x1d368f){const _0x25869d=_0x132668;return _0x1d368f[_0x25869d(0x3fa)]('\x0a')[_0x25869d(0x29d)](/^/gm,'\x20'[_0x25869d(0x39a)](_0x4fe104));}const _0x1afd1b=[];_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x2bf)+_0x4ce6a4[_0x132668(0x355)](_0x58a9d4));const _0x55ee2b=_0x4ce6a4[_0x132668(0x43a)](_0x58a9d4);_0x55ee2b&&(_0x1afd1b[_0x132668(0x3c6)](''),_0x1afd1b[_0x132668(0x3c6)](_0x55ee2b));const _0x1202ba=_0x58a9d4[_0x132668(0x1c1)][_0x132668(0x250)](_0x5597d3=>!_0x1c7f27(_0x5597d3));if(_0x1202ba[_0x132668(0x361)]>0x0){if(_0x58a9d4[_0x132668(0x2a9)]()===_0x132668(0x1b7)){const _0x1830ae=_0x58a9d4[_0x132668(0x431)](),_0x28d599=!_0x1830ae[_0x132668(0x201)]&&process[_0x132668(0x217)][_0x132668(0x29e)],_0x476532=COMMAND_CATEGORIES,_0x5d21a2=(_0x27358a,_0x24c166)=>_0x28d599?_0x24c166(_0x27358a):_0x27358a,_0x32e689=new Map();_0x1202ba[_0x132668(0x1d1)](_0x40e4db=>{const _0x217212=_0x132668;_0x32e689[_0x217212(0x494)](_0x40e4db['name'](),_0x40e4db);}),_0x476532['forEach'](_0x5b4cbe=>{const _0x11b53e=_0x132668,_0x10e111=_0x5b4cbe[_0x11b53e(0x1c1)][_0x11b53e(0x490)](_0xdf410c=>_0x32e689[_0x11b53e(0x2be)](_0xdf410c)??[]);if(_0x10e111['length']>0x0){_0x1afd1b[_0x11b53e(0x3c6)](''),_0x1afd1b[_0x11b53e(0x3c6)](_0x5d21a2(_0x5b4cbe[_0x11b53e(0x2a9)]+':',_0x5b4cbe[_0x11b53e(0x1c3)]));const _0x474575=_0x10e111[_0x11b53e(0x392)](_0xfc085f=>{const _0x54fdeb=_0x4ce6a4['subcommandTerm'](_0xfc085f),_0x811f5=_0x4ce6a4['subcommandDescription'](_0xfc085f);return _0x32c4c7(_0x54fdeb,_0x811f5);});_0x1afd1b[_0x11b53e(0x3c6)](_0x293285(_0x474575));}}),_0x1afd1b[_0x132668(0x3c6)](''),_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x314));}else{const _0x5664a3=_0x1202ba['map'](_0x5d96d5=>{const _0x3f5e73=_0x132668,_0x1fdea2=_0x4ce6a4[_0x3f5e73(0x359)](_0x5d96d5),_0x2c390c=_0x4ce6a4[_0x3f5e73(0x33f)](_0x5d96d5);return _0x32c4c7(_0x1fdea2,_0x2c390c);});_0x1afd1b[_0x132668(0x3c6)](''),_0x1afd1b[_0x132668(0x3c6)]('Commands:'),_0x1afd1b[_0x132668(0x3c6)](_0x293285(_0x5664a3));}}if(showBriefHelp&&_0x58a9d4[_0x132668(0x2a9)]()===_0x132668(0x1b7))_0x1afd1b[_0x132668(0x3c6)](''),_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x411));else{const _0x3b2bf3=_0x58a9d4['options'][_0x132668(0x250)](_0x8805ec=>!_0x1c7f27(_0x8805ec));if(_0x3b2bf3[_0x132668(0x361)]>0x0){const _0xce06a7=_0x3b2bf3['map'](_0xab711f=>{const _0x209515=_0x132668,_0x221208=_0x4ce6a4[_0x209515(0x1af)](_0xab711f),_0x548b82=_0x4ce6a4[_0x209515(0x2e1)](_0xab711f);return _0x32c4c7(_0x221208,_0x548b82);});_0x1afd1b['push'](''),_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x313)),_0x1afd1b[_0x132668(0x3c6)](_0x293285(_0xce06a7));}}const _0x557278=(_0x58a9d4[_0x132668(0x3e9)]||[])[_0x132668(0x250)](_0x5e5f77=>!_0x1c7f27(_0x5e5f77));if(_0x557278[_0x132668(0x361)]>0x0){const _0x22aef6=_0x557278[_0x132668(0x392)](_0xd4b93a=>{const _0x58f2d7=_0x132668,_0x32997f=_0x4ce6a4[_0x58f2d7(0x400)](_0xd4b93a),_0x5ac08c=_0x4ce6a4['argumentDescription'](_0xd4b93a);return _0x32c4c7(_0x32997f,_0x5ac08c);});_0x1afd1b['push'](''),_0x1afd1b[_0x132668(0x3c6)](_0x132668(0x213)),_0x1afd1b[_0x132668(0x3c6)](_0x293285(_0x22aef6));}return _0x1afd1b[_0x132668(0x3fa)]('\x0a')+'\x0a';},'subcommandTerm':_0x1a3502=>{const _0x3a9d4d=a2_0x3e05f6,_0xd9be34=(_0x1a3502['registeredArguments']||[])[_0x3a9d4d(0x392)](_0x3c4cb2=>_0x3c4cb2[_0x3a9d4d(0x3a8)]?'<'+_0x3c4cb2[_0x3a9d4d(0x2a9)]()+'>':'['+_0x3c4cb2[_0x3a9d4d(0x2a9)]()+']')[_0x3a9d4d(0x3fa)]('\x20'),_0x2b34e8=_0x1a3502['aliases'](),_0x268bcb=_0x2b34e8[_0x3a9d4d(0x361)]>0x0?_0x1a3502[_0x3a9d4d(0x2a9)]()+',\x20'+_0x2b34e8['join'](',\x20'):_0x1a3502[_0x3a9d4d(0x2a9)]();return _0xd9be34?_0x268bcb+'\x20'+_0xd9be34:_0x268bcb;}}),program[a2_0x3e05f6(0x3b1)]('preAction',_0x2fb558=>{const _0x533763=a2_0x3e05f6,_0xd70fb8=_0x2fb558['opts']();if(_0xd70fb8['directory']){const _0x2c2cf7=resolve(_0xd70fb8[_0x533763(0x32c)]),_0x1ce186=_0x2c2cf7!==_0xd70fb8[_0x533763(0x32c)]?'\x20(resolved\x20to\x20'+_0x2c2cf7+')':'';if(!existsSync(_0x2c2cf7))throw new SDKError(ErrorCode[_0x533763(0x369)],_0x533763(0x407)+_0xd70fb8[_0x533763(0x32c)]+_0x1ce186,undefined,{'helpText':_0x533763(0x3b3)});const _0x4195db=statSync(_0x2c2cf7);if(!_0x4195db['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0xd70fb8[_0x533763(0x32c)]+_0x1ce186,undefined,{'helpText':_0x533763(0x40e)});process[_0x533763(0x225)](_0x2c2cf7);}if(!_0xd70fb8[_0x533763(0x41d)]){if(_0xd70fb8[_0x533763(0x2d4)])_0xd70fb8[_0x533763(0x41d)]=_0x533763(0x2d4);else{if(_0xd70fb8['json'])_0xd70fb8[_0x533763(0x41d)]=_0x533763(0x435);else{if(_0xd70fb8[_0x533763(0x1e8)])_0xd70fb8[_0x533763(0x41d)]=_0x533763(0x1e8);else _0xd70fb8[_0x533763(0x481)]&&(_0xd70fb8[_0x533763(0x41d)]=_0x533763(0x481));}}}if(_0xd70fb8['trace'])_0xd70fb8[_0x533763(0x452)]=LogLevel[_0x533763(0x3ab)];else{if(_0xd70fb8[_0x533763(0x2fc)])_0xd70fb8[_0x533763(0x452)]=LogLevel[_0x533763(0x34d)];else _0xd70fb8[_0x533763(0x452)]===undefined&&(_0xd70fb8[_0x533763(0x452)]=LogLevel['INFO']);}});async function createTDXInstance(_0x38920b){const _0x37b475=a2_0x3e05f6,_0x32553b=await GlobalContext[_0x37b475(0x42d)](_0x38920b);return _0x32553b[_0x37b475(0x2cd)](_0x38920b),TDX[_0x37b475(0x311)]({'site':_0x32553b[_0x37b475(0x2cc)],'apiKey':_0x32553b[_0x37b475(0x402)],'accessToken':_0x32553b[_0x37b475(0x40d)],'logLevel':_0x32553b[_0x37b475(0x452)],'profile':_0x32553b[_0x37b475(0x3b9)]});}const databaseCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1b6))[a2_0x3e05f6(0x257)]('db')['description'](a2_0x3e05f6(0x335)),databaseListAction=async(_0x132a66,_0x2198f4)=>{const _0x3642d0=a2_0x3e05f6,_0x50644e=new DatabasesCommand(),_0x116750=program[_0x3642d0(0x431)](),_0xb22e3f=await createTDXInstance(_0x116750),_0x7cb4e8=await _0x50644e[_0x3642d0(0x1bf)]({'options':{..._0x116750,..._0x2198f4},'args':_0x132a66?[_0x132a66]:[],'tdx':_0xb22e3f});gracefulExit(_0x7cb4e8);};databaseCmd['command']('list\x20[pattern]')[a2_0x3e05f6(0x343)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3e05f6(0x270)](databaseListAction),program[a2_0x3e05f6(0x416)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1ce))[a2_0x3e05f6(0x270)](databaseListAction),program[a2_0x3e05f6(0x416)]('chat\x20[message...]')['description'](a2_0x3e05f6(0x460))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1a2),a2_0x3e05f6(0x3ea))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e8),a2_0x3e05f6(0x2c6))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x28d),a2_0x3e05f6(0x22d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x36a),a2_0x3e05f6(0x3a4))['action'](async(_0x3b1e75,_0x1be4f6)=>{const _0x2aab8b=a2_0x3e05f6,_0x49c09c=program['opts'](),_0x1ab575=await createTDXInstance(_0x49c09c);if(_0x3b1e75[0x0]===_0x2aab8b(0x311)){const _0x5c00f0=new ChatCreateCommand();gracefulExit(await _0x5c00f0[_0x2aab8b(0x1bf)]({'options':{..._0x49c09c,..._0x1be4f6},'args':_0x3b1e75[_0x2aab8b(0x212)](0x1),'tdx':_0x1ab575}));return;}const _0x81e0c5=new ChatCommand(),_0x3b1ad0=await _0x81e0c5['run']({'options':{..._0x49c09c,..._0x1be4f6},'args':_0x3b1e75,'tdx':_0x1ab575});gracefulExit(_0x3b1ad0);});const apiCmd=program['command'](a2_0x3e05f6(0x1a4))[a2_0x3e05f6(0x3ef)](a2_0x3e05f6(0x200))[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x2fb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x317),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x3e05f6(0x27d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x252),'Request\x20body\x20as\x20JSON\x20string')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x263),a2_0x3e05f6(0x284))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x31f),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x5b1df8,_0x352fbe)=>{return _0x352fbe?[..._0x352fbe,_0x5b1df8]:[_0x5b1df8];})['option'](a2_0x3e05f6(0x2d0),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x2c0715,_0x5bef40)=>{const _0x5e46f6=a2_0x3e05f6;if(!_0x2c0715){apiCmd[_0x5e46f6(0x303)]();return;}const _0x373ed9=new ApiCommand(),_0x3ee134=program['opts'](),_0x3e58a3=await createTDXInstance(_0x3ee134),_0x7c5347=await _0x373ed9[_0x5e46f6(0x1bf)]({'options':{..._0x3ee134,..._0x5bef40},'args':[_0x2c0715],'tdx':_0x3e58a3});gracefulExit(_0x7c5347);});program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ed))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x198))[a2_0x3e05f6(0x299)]('after',a2_0x3e05f6(0x3d8))[a2_0x3e05f6(0x270)](async _0x1b0e73=>{const _0x5fbccd=a2_0x3e05f6,_0x164677=new MCPCommand(),_0x1131b8=program['opts'](),_0x37005f=await createTDXInstance(_0x1131b8),_0x1ea6a3=await _0x164677[_0x5fbccd(0x1bf)]({'options':{..._0x1131b8,..._0x1b0e73},'args':[],'tdx':_0x37005f});gracefulExit(_0x1ea6a3);});const tableCmd=program[a2_0x3e05f6(0x416)]('table')['description'](a2_0x3e05f6(0x226)),tableListAction=async(_0x29db3,_0x3952ac)=>{const _0x5a2bdc=a2_0x3e05f6,_0x237bbc=new TablesCommand(),_0x37c267=program['opts'](),_0x420849=await createTDXInstance(_0x37c267);_0x3952ac['in']&&(_0x3952ac[_0x5a2bdc(0x1b6)]=_0x3952ac['in']);const _0x2e484c=await _0x237bbc[_0x5a2bdc(0x1bf)]({'options':{..._0x37c267,..._0x3952ac},'args':_0x29db3?[_0x29db3]:[],'tdx':_0x420849});gracefulExit(_0x2e484c);};tableCmd[a2_0x3e05f6(0x416)]('list\x20[pattern]')[a2_0x3e05f6(0x343)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')['option'](a2_0x3e05f6(0x20a),a2_0x3e05f6(0x44e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2fa),a2_0x3e05f6(0x2f6))['action'](tableListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x448),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x328))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x20a),a2_0x3e05f6(0x44e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2fa),a2_0x3e05f6(0x2f6))['action'](tableListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2e3))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x497))['option']('-d,\x20--database\x20<database>',a2_0x3e05f6(0x27c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2fa),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x16cee0,_0x2e9186)=>{const _0x4af9e8=a2_0x3e05f6,_0xf4e35b=new ShowCommand(),_0x91ddac=program[_0x4af9e8(0x431)](),_0x285b06=await createTDXInstance(_0x91ddac);_0x2e9186['in']&&(_0x2e9186['database']=_0x2e9186['in']);const _0x5277f0=await _0xf4e35b[_0x4af9e8(0x1bf)]({'options':{..._0x91ddac,..._0x2e9186},'args':_0x16cee0?[_0x16cee0]:[],'tdx':_0x285b06});gracefulExit(_0x5277f0);}),program[a2_0x3e05f6(0x416)]('describe\x20[table]')[a2_0x3e05f6(0x257)](a2_0x3e05f6(0x2c7))['description'](a2_0x3e05f6(0x471))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x20a),a2_0x3e05f6(0x27c))['option'](a2_0x3e05f6(0x2fa),a2_0x3e05f6(0x2f6))['action'](async(_0x20b46e,_0x4af6f7)=>{const _0x43f802=a2_0x3e05f6,_0x3084e1=new DescribeCommand(),_0x1bbaf8=program[_0x43f802(0x431)](),_0x41d999=await createTDXInstance(_0x1bbaf8);_0x4af6f7['in']&&(_0x4af6f7[_0x43f802(0x1b6)]=_0x4af6f7['in']);const _0x572597=await _0x3084e1['run']({'options':{..._0x1bbaf8,..._0x4af6f7},'args':_0x20b46e?[_0x20b46e]:[],'tdx':_0x41d999});gracefulExit(_0x572597);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x231))['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x3e05f6(0x3fc)]('-d,\x20--database\x20<database>',a2_0x3e05f6(0x39c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2fa),a2_0x3e05f6(0x2f6))[a2_0x3e05f6(0x3fc)]('--catalog\x20<catalog>',a2_0x3e05f6(0x462))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x263),a2_0x3e05f6(0x258))[a2_0x3e05f6(0x3fc)]('--limit\x20<rows>',a2_0x3e05f6(0x273))[a2_0x3e05f6(0x270)](async(_0x582966,_0xb85518)=>{const _0x4c03e6=a2_0x3e05f6,_0x40eec5=new QueryCommand(),_0x154ce8=program['opts'](),_0x2bf73a=await createTDXInstance(_0x154ce8);_0xb85518['in']&&(_0xb85518[_0x4c03e6(0x1b6)]=_0xb85518['in']);const _0x870886=await _0x40eec5[_0x4c03e6(0x1bf)]({'options':mergeCommandOptions(_0x154ce8,_0xb85518),'args':_0x582966?[_0x582966]:[],'tdx':_0x2bf73a});gracefulExit(_0x870886);});const segmentCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3d6))['alias']('sg')[a2_0x3e05f6(0x343)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x4c8ffe,_0x50d3d6)=>{const _0x1d0c6f=a2_0x3e05f6,_0x19a7d2=new SegmentsCommand(),_0xe39766=program[_0x1d0c6f(0x431)](),_0x443807=await createTDXInstance(_0xe39766),_0x3d187c=await _0x19a7d2[_0x1d0c6f(0x1bf)]({'options':{..._0xe39766,..._0x50d3d6},'args':_0x4c8ffe?[_0x4c8ffe]:[],'tdx':_0x443807});gracefulExit(_0x3d187c);};segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2bd))['description'](a2_0x3e05f6(0x330))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x43e),a2_0x3e05f6(0x2a7))[a2_0x3e05f6(0x3fc)]('--max-depth\x20<depth>',a2_0x3e05f6(0x1dc),'10')[a2_0x3e05f6(0x270)](segmentListAction),program['command']('segments\x20[path]',{'hidden':!![]})['description']('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')['option'](a2_0x3e05f6(0x43e),a2_0x3e05f6(0x2a7))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x306),a2_0x3e05f6(0x1dc),'10')[a2_0x3e05f6(0x270)](segmentListAction),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x342),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2c2))[a2_0x3e05f6(0x270)](async(_0x3cc7fa,_0x251dc8)=>{const _0x4e2b9d=a2_0x3e05f6,_0x17a1c4=new SegmentUseCommand(),_0x24e1bd=program[_0x4e2b9d(0x431)](),_0x201cba=await createTDXInstance(_0x24e1bd),_0x42faee=await _0x17a1c4[_0x4e2b9d(0x1bf)]({'options':{..._0x24e1bd,..._0x251dc8},'args':[_0x3cc7fa],'tdx':_0x201cba});gracefulExit(_0x42faee);});const segmentViewAction=async(_0xdd5874,_0x270a8d)=>{const _0x4d343e=a2_0x3e05f6,_0x2e9ed6=new SegmentViewCommand(),_0x474f67=program[_0x4d343e(0x431)](),_0x235367=await createTDXInstance(_0x474f67),_0x224689=await _0x2e9ed6['run']({'options':{..._0x474f67,..._0x270a8d},'args':_0xdd5874?[_0xdd5874]:[],'tdx':_0x235367});gracefulExit(_0x224689);};segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3fe))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x21e))[a2_0x3e05f6(0x3fc)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x3e05f6(0x270)](segmentViewAction),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x241),{'hidden':!![]})['alias'](a2_0x3e05f6(0x23f))[a2_0x3e05f6(0x3fc)]('-w,\x20--web',a2_0x3e05f6(0x1d3))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x488))['action'](segmentViewAction),segmentCmd[a2_0x3e05f6(0x416)]('desc\x20[segment_name]')[a2_0x3e05f6(0x343)]('Show\x20segment\x20schema\x20(column\x20types)')['action'](async(_0x55b011,_0x4b165d)=>{const _0x436d18=a2_0x3e05f6,_0x411257=new SegmentDescCommand(),_0x27238b=program[_0x436d18(0x431)](),_0xa901d8=await createTDXInstance(_0x27238b),_0x3265c4=await _0x411257[_0x436d18(0x1bf)]({'options':{..._0x27238b,..._0x4b165d},'args':_0x55b011?[_0x55b011]:[],'tdx':_0xa901d8});gracefulExit(_0x3265c4);}),segmentCmd[a2_0x3e05f6(0x416)]('show\x20[segment_name]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x194))['action'](async(_0x2a6751,_0x579429)=>{const _0x2fa222=a2_0x3e05f6,_0xd23db7=new SegmentShowCommand(),_0x4a03de=program[_0x2fa222(0x431)](),_0x385eab=await createTDXInstance(_0x4a03de),_0x165611=await _0xd23db7[_0x2fa222(0x1bf)]({'options':{..._0x4a03de,..._0x579429},'args':_0x2a6751?[_0x2a6751]:[],'tdx':_0x385eab});gracefulExit(_0x165611);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x379),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x396))[a2_0x3e05f6(0x270)](async(_0x1ca16b,_0x13a11f)=>{const _0x42409d=new SegmentFolderListCommand(),_0x192358=program['opts'](),_0x2ae003=await createTDXInstance(_0x192358),_0x45e465=await _0x42409d['run']({'options':{..._0x192358,..._0x13a11f},'args':[_0x1ca16b],'tdx':_0x2ae003});gracefulExit(_0x45e465);});const folderCmd=segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3ff),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x44f));folderCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2a1))['description']('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x3e05f6(0x270)](async(_0x5cfc34,_0x1bd7dd)=>{const _0x186f2a=a2_0x3e05f6,_0x5c6285=new SegmentFolderShowCommand(),_0x4d84a4=program[_0x186f2a(0x431)](),_0xc7be88=await createTDXInstance(_0x4d84a4),_0x200c59=await _0x5c6285[_0x186f2a(0x1bf)]({'options':{..._0x4d84a4,..._0x1bd7dd},'args':[_0x5cfc34],'tdx':_0xc7be88});gracefulExit(_0x200c59);}),segmentCmd['command'](a2_0x3e05f6(0x382))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x334))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1a7),a2_0x3e05f6(0x35f))[a2_0x3e05f6(0x270)](async(_0xf9450,_0x56b059)=>{const _0x1d0d15=a2_0x3e05f6,_0x69e660=new SegmentSQLCommand(),_0x3026f4=program[_0x1d0d15(0x431)](),_0x45d3e3=await createTDXInstance(_0x3026f4),_0x179487=await _0x69e660['run']({'options':{..._0x3026f4,..._0x56b059},'args':_0xf9450?[_0xf9450]:[],'tdx':_0x45d3e3});gracefulExit(_0x179487);}),segmentCmd['command'](a2_0x3e05f6(0x1a1))['description'](a2_0x3e05f6(0x373))[a2_0x3e05f6(0x270)](async(_0x554bc9,_0x139d7d)=>{const _0x3baea2=a2_0x3e05f6,_0x338546=new SegmentFieldsCommand(),_0x551e2e=program[_0x3baea2(0x431)](),_0x448b2c=await createTDXInstance(_0x551e2e),_0x1f91d6=await _0x338546[_0x3baea2(0x1bf)]({'options':{..._0x551e2e,..._0x139d7d},'args':_0x554bc9?[_0x554bc9]:[],'tdx':_0x448b2c});gracefulExit(_0x1f91d6);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x26e))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2c3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x1fe))['action'](async(_0x144163,_0x59345b)=>{const _0x524e8c=a2_0x3e05f6,_0x4ff618=new SegmentPullCommand(),_0x57b34d=program[_0x524e8c(0x431)](),_0x2f22fb=await createTDXInstance(_0x57b34d),_0x51bf5f=await _0x4ff618[_0x524e8c(0x1bf)]({'options':{..._0x57b34d,..._0x59345b},'args':_0x144163?[_0x144163]:[],'tdx':_0x2f22fb});gracefulExit(_0x51bf5f);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2c0))['description'](a2_0x3e05f6(0x322))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x1fe))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2f3),a2_0x3e05f6(0x1a6))[a2_0x3e05f6(0x270)](async(_0x177726,_0x232ee0)=>{const _0x39df12=a2_0x3e05f6,_0x5600bb=new SegmentPushCommand(),_0x32be83=program[_0x39df12(0x431)](),_0x3a30ea=await createTDXInstance(_0x32be83),_0x5762b5=await _0x5600bb[_0x39df12(0x1bf)]({'options':{..._0x32be83,..._0x232ee0},'args':_0x177726?[_0x177726]:[],'tdx':_0x3a30ea});gracefulExit(_0x5762b5);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x325))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1f6))[a2_0x3e05f6(0x270)](async(_0x15ba22,_0x6f86db)=>{const _0x63cd7=a2_0x3e05f6,_0x36bdae=new SegmentValidateCommand(),_0x16ad72=program[_0x63cd7(0x431)](),_0xc2bc24=await createTDXInstance(_0x16ad72),_0x5d58cc=await _0x36bdae[_0x63cd7(0x1bf)]({'options':{..._0x16ad72,..._0x6f86db},'args':_0x15ba22?[_0x15ba22]:[],'tdx':_0xc2bc24});gracefulExit(_0x5d58cc);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x248),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d1))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),'Segment\x20description')['option'](a2_0x3e05f6(0x399),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x28c),a2_0x3e05f6(0x3af))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x37c),a2_0x3e05f6(0x3c2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x21b),a2_0x3e05f6(0x337))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3fd),a2_0x3e05f6(0x3db))[a2_0x3e05f6(0x3fc)]('--no-count-population',a2_0x3e05f6(0x467))[a2_0x3e05f6(0x270)](async(_0x245e02,_0x37005a)=>{const _0x2d749e=a2_0x3e05f6,_0x4375e3=new SegmentCreateCommand(),_0x9055fd=program[_0x2d749e(0x431)](),_0x134848=await createTDXInstance(_0x9055fd),_0x293087=await _0x4375e3[_0x2d749e(0x1bf)]({'options':{..._0x9055fd,..._0x37005a},'args':[_0x245e02],'tdx':_0x134848});gracefulExit(_0x293087);}),segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2a6),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x29c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x327),a2_0x3e05f6(0x26d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x3b4))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x399),a2_0x3e05f6(0x3f2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x28c),a2_0x3e05f6(0x3ca))['option'](a2_0x3e05f6(0x37c),'Move\x20to\x20folder')['option']('--kind\x20<type>',a2_0x3e05f6(0x337))['action'](async(_0x53ec97,_0x1b5e17)=>{const _0x3452ac=a2_0x3e05f6,_0x1b1ebb=new SegmentUpdateCommand(),_0x28ff7d=program[_0x3452ac(0x431)](),_0x450e9a=await createTDXInstance(_0x28ff7d),_0x56af63=await _0x1b1ebb['run']({'options':{..._0x28ff7d,..._0x1b5e17},'args':[_0x53ec97],'tdx':_0x450e9a});gracefulExit(_0x56af63);});const parentCmd=segmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x36c),{'hidden':!![]})[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x48d)),parentListAction=async(_0x4eed93,_0x2862b5)=>{const _0x5ee05b=a2_0x3e05f6,_0x5c82d2=new ParentSegmentListCommand(),_0x512a1c=program[_0x5ee05b(0x431)](),_0x4f7564=await createTDXInstance(_0x512a1c),_0x1e4f8a=await _0x5c82d2[_0x5ee05b(0x1bf)]({'options':{..._0x512a1c,..._0x2862b5},'args':_0x4eed93?[_0x4eed93]:[],'tdx':_0x4f7564});gracefulExit(_0x1e4f8a);};parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x3f7))['action'](parentListAction),segmentCmd['command'](a2_0x3e05f6(0x484),{'hidden':!![]})['description'](a2_0x3e05f6(0x31c))[a2_0x3e05f6(0x270)](parentListAction),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x344))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2c8))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x234),a2_0x3e05f6(0x1f7))['action'](async(_0x34b999,_0x164a51)=>{const _0x2b8fda=a2_0x3e05f6,_0x1de561=new ParentSegmentPullCommand(),_0x326aad=program[_0x2b8fda(0x431)](),_0x147dc7=await createTDXInstance(_0x326aad),_0x7f6b=await _0x1de561[_0x2b8fda(0x1bf)]({'options':{..._0x326aad,..._0x164a51},'args':_0x34b999?[_0x34b999]:[],'tdx':_0x147dc7});gracefulExit(_0x7f6b);}),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x202))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x38c))[a2_0x3e05f6(0x270)](async(_0x468a5a,_0x4e46c4)=>{const _0x1dab08=a2_0x3e05f6,_0x201a1b=new ParentSegmentPushCommand(),_0x57198f=program[_0x1dab08(0x431)](),_0x153ab4=await createTDXInstance(_0x57198f),_0x33aaf0=await _0x201a1b['run']({'options':{..._0x57198f,..._0x4e46c4},'args':_0x468a5a?[_0x468a5a]:[],'tdx':_0x153ab4});gracefulExit(_0x33aaf0);}),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x238))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e3))[a2_0x3e05f6(0x3fc)]('--master',a2_0x3e05f6(0x1de))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x474),a2_0x3e05f6(0x2f0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x371),a2_0x3e05f6(0x464))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x26a),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x3e05f6(0x3fc)]('--interval\x20<range>',a2_0x3e05f6(0x385),'-1d')[a2_0x3e05f6(0x270)](async(_0x7be3d1,_0x229d92)=>{const _0x3548a4=a2_0x3e05f6,_0x1a5db9=new ParentSegmentValidateCommand(),_0xba4fa6=program[_0x3548a4(0x431)](),_0x3ac82f=await createTDXInstance(_0xba4fa6),_0x351c1f=await _0x1a5db9[_0x3548a4(0x1bf)]({'options':{..._0xba4fa6,..._0x229d92},'args':_0x7be3d1?[_0x7be3d1]:[],'tdx':_0x3ac82f});gracefulExit(_0x351c1f);}),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x24f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1a9))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x279),a2_0x3e05f6(0x352))[a2_0x3e05f6(0x3fc)]('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x371),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x26a),a2_0x3e05f6(0x493))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3c0),a2_0x3e05f6(0x385),a2_0x3e05f6(0x1d7))[a2_0x3e05f6(0x270)](async(_0x12ba32,_0x6a6295)=>{const _0xe5462a=a2_0x3e05f6,_0x310c9c=new ParentSegmentPreviewCommand(),_0x5d2a47=program['opts'](),_0x3a7b95=await createTDXInstance(_0x5d2a47),_0x5bc224=await _0x310c9c[_0xe5462a(0x1bf)]({'options':{..._0x5d2a47,..._0x6a6295},'args':_0x12ba32?[_0x12ba32]:[],'tdx':_0x3a7b95});gracefulExit(_0x5bc224);}),parentCmd[a2_0x3e05f6(0x416)]('run\x20[name]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1ca))['action'](async(_0x2b3515,_0x24b837)=>{const _0xabefd5=a2_0x3e05f6,_0x5b11aa=new ParentSegmentRunCommand(),_0x3bd688=program[_0xabefd5(0x431)](),_0x29f312=await createTDXInstance(_0x3bd688),_0x51019e=await _0x5b11aa[_0xabefd5(0x1bf)]({'options':{..._0x3bd688,..._0x24b837},'args':_0x2b3515?[_0x2b3515]:[],'tdx':_0x29f312});gracefulExit(_0x51019e);});const parentSegmentCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x43f))[a2_0x3e05f6(0x257)]('ps')['description']('Parent\x20segment\x20management');parentSegmentCmd['command'](a2_0x3e05f6(0x1aa))['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x3e05f6(0x270)](parentListAction),parentSegmentCmd[a2_0x3e05f6(0x416)]('pull\x20[name]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e1))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x234),a2_0x3e05f6(0x466))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x206),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x3e05f6(0x270)](async(_0x8633b9,_0xad0b0a)=>{const _0x4cfefd=a2_0x3e05f6,_0x4cda20=new ParentSegmentPullCommand(),_0x29a620=program['opts'](),_0x4197a0=await createTDXInstance(_0x29a620),_0x17c3cb=await _0x4cda20[_0x4cfefd(0x1bf)]({'options':{..._0x29a620,..._0xad0b0a},'args':_0x8633b9?[_0x8633b9]:[],'tdx':_0x4197a0});gracefulExit(_0x17c3cb);}),parentSegmentCmd[a2_0x3e05f6(0x416)]('push\x20[name]')['description'](a2_0x3e05f6(0x353))['action'](async(_0x3b3c2a,_0x55f2f4)=>{const _0x5ac7f8=a2_0x3e05f6,_0x1ce664=new ParentSegmentPushCommand(),_0x24e750=program[_0x5ac7f8(0x431)](),_0x5f4bed=await createTDXInstance(_0x24e750),_0x1609f7=await _0x1ce664[_0x5ac7f8(0x1bf)]({'options':{..._0x24e750,..._0x55f2f4},'args':_0x3b3c2a?[_0x3b3c2a]:[],'tdx':_0x5f4bed});gracefulExit(_0x1609f7);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x41f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x279),a2_0x3e05f6(0x1de))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x474),a2_0x3e05f6(0x2f0))['option'](a2_0x3e05f6(0x371),a2_0x3e05f6(0x464))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x26a),a2_0x3e05f6(0x338))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3c0),a2_0x3e05f6(0x385),a2_0x3e05f6(0x1d7))['action'](async(_0x467212,_0xcb8172)=>{const _0x1efcdb=a2_0x3e05f6,_0x3a2dca=new ParentSegmentValidateCommand(),_0x3bb520=program['opts'](),_0x3dc0e2=await createTDXInstance(_0x3bb520),_0x248df8=await _0x3a2dca[_0x1efcdb(0x1bf)]({'options':{..._0x3bb520,..._0xcb8172},'args':_0x467212?[_0x467212]:[],'tdx':_0x3dc0e2});gracefulExit(_0x248df8);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x229))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1a9))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x279),a2_0x3e05f6(0x352))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x474),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x3e05f6(0x3fc)]('--behavior\x20[name]',a2_0x3e05f6(0x35d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x26a),a2_0x3e05f6(0x493))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3c0),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x3e05f6(0x270)](async(_0xd37a8b,_0xb56756)=>{const _0x39aa4f=a2_0x3e05f6,_0x4b2ce2=new ParentSegmentPreviewCommand(),_0x2ab236=program[_0x39aa4f(0x431)](),_0xe472c9=await createTDXInstance(_0x2ab236),_0x1f9d01=await _0x4b2ce2[_0x39aa4f(0x1bf)]({'options':{..._0x2ab236,..._0xb56756},'args':_0xd37a8b?[_0xd37a8b]:[],'tdx':_0xe472c9});gracefulExit(_0x1f9d01);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1ed))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1ca))[a2_0x3e05f6(0x270)](async(_0x14e92b,_0x19354b)=>{const _0x2c0a51=a2_0x3e05f6,_0x1e4dde=new ParentSegmentRunCommand(),_0x258af6=program[_0x2c0a51(0x431)](),_0x507e54=await createTDXInstance(_0x258af6),_0x1f6658=await _0x1e4dde['run']({'options':{..._0x258af6,..._0x19354b},'args':_0x14e92b?[_0x14e92b]:[],'tdx':_0x507e54});gracefulExit(_0x1f6658);}),parentSegmentCmd['command'](a2_0x3e05f6(0x40b))['description'](a2_0x3e05f6(0x37e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),'Output\x20as\x20JSON')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),a2_0x3e05f6(0x22f))[a2_0x3e05f6(0x270)](async(_0xacfa19,_0x308a21)=>{const _0x278617=a2_0x3e05f6,_0x203508=new ParentSegmentFieldsCommand(),_0x3fb6d2=program[_0x278617(0x431)](),_0x4388b5=await createTDXInstance(_0x3fb6d2),_0xfeca80=await _0x203508['run']({'options':{..._0x3fb6d2,..._0x308a21},'args':_0xacfa19?[_0xacfa19]:[],'tdx':_0x4388b5});gracefulExit(_0xfeca80);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x380))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x28b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2d6),'Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),a2_0x3e05f6(0x1cc))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),a2_0x3e05f6(0x22f))['action'](async(_0x52740d,_0x2b5548)=>{const _0x4d36fa=a2_0x3e05f6,_0x151077=new ParentSegmentViewCommand(),_0x5855fa=program[_0x4d36fa(0x431)](),_0x4352a1=await createTDXInstance(_0x5855fa),_0x58a2f8=await _0x151077[_0x4d36fa(0x1bf)]({'options':{..._0x5855fa,..._0x2b5548},'args':_0x52740d?[_0x52740d]:[],'tdx':_0x4352a1});gracefulExit(_0x58a2f8);}),parentSegmentCmd['command'](a2_0x3e05f6(0x398))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c6))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x234),a2_0x3e05f6(0x466))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),'Output\x20as\x20JSON')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),'Output\x20as\x20JSON\x20Lines')[a2_0x3e05f6(0x270)](async(_0x2ad74f,_0x2557a4)=>{const _0x410b95=a2_0x3e05f6,_0x195862=new ParentSegmentDescCommand(),_0x4ee9e4=program[_0x410b95(0x431)](),_0x2c6deb=await createTDXInstance(_0x4ee9e4),_0x44b12c=await _0x195862[_0x410b95(0x1bf)]({'options':{..._0x4ee9e4,..._0x2557a4},'args':_0x2ad74f?[_0x2ad74f]:[],'tdx':_0x2c6deb});gracefulExit(_0x44b12c);}),parentSegmentCmd['command'](a2_0x3e05f6(0x297))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x227))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),a2_0x3e05f6(0x1cc))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),a2_0x3e05f6(0x22f))[a2_0x3e05f6(0x270)](async(_0x1f9c66,_0x1b4201)=>{const _0x4d9d31=a2_0x3e05f6,_0x2f33f7=new ParentSegmentSQLCommand(),_0x6b867d=program[_0x4d9d31(0x431)](),_0x4435cf=await createTDXInstance(_0x6b867d),_0x34e42e=await _0x2f33f7[_0x4d9d31(0x1bf)]({'options':{..._0x6b867d,..._0x1b4201},'args':_0x1f9c66?[_0x1f9c66]:[],'tdx':_0x4435cf});gracefulExit(_0x34e42e);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2df))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x20c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x410),'Limit\x20number\x20of\x20rows')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2e2),a2_0x3e05f6(0x1cc))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x319),a2_0x3e05f6(0x22f))['action'](async(_0x26471f,_0x534c99)=>{const _0x146f1a=a2_0x3e05f6,_0x44c880=new ParentSegmentShowCommand(),_0x1e621f=program[_0x146f1a(0x431)](),_0x402c8b=await createTDXInstance(_0x1e621f),_0x3b15b4=await _0x44c880[_0x146f1a(0x1bf)]({'options':{..._0x1e621f,..._0x534c99},'args':_0x26471f?[_0x26471f]:[],'tdx':_0x402c8b});gracefulExit(_0x3b15b4);}),parentSegmentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31d))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x443))['action'](async(_0x485418,_0x5a6b53)=>{const _0x2f8038=a2_0x3e05f6,_0x54179a=new UseCommand(),_0x2c990a=program[_0x2f8038(0x431)](),_0x28d56f=_0x485418?['parent_segment',_0x485418]:[],_0x17d51f=await _0x54179a[_0x2f8038(0x1bf)]({'options':{..._0x2c990a,..._0x5a6b53},'args':_0x28d56f,'tdx':null});gracefulExit(_0x17d51f);});const psRtCmd=parentSegmentCmd[a2_0x3e05f6(0x416)]('rt')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x39d));psRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x38d))['action'](async(_0x212f9a,_0x9bf7c8)=>{const _0x37303c=a2_0x3e05f6,_0x5938d2=new PSRtListCommand(),_0x20c633=program['opts'](),_0x11c9eb=await createTDXInstance(_0x20c633),_0x21e3df=await _0x5938d2[_0x37303c(0x1bf)]({'options':{..._0x20c633,..._0x9bf7c8},'args':_0x212f9a?[_0x212f9a]:[],'tdx':_0x11c9eb});gracefulExit(_0x21e3df);}),psRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x41f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1db))[a2_0x3e05f6(0x270)](async(_0x27008c,_0x62cfc1)=>{const _0x4c476c=a2_0x3e05f6,_0x43ffd4=new PSRtValidateCommand(),_0x2812b2=program['opts'](),_0x5cb701=await createTDXInstance(_0x2812b2),_0x44723f=await _0x43ffd4[_0x4c476c(0x1bf)]({'options':{..._0x2812b2,..._0x62cfc1},'args':_0x27008c?[_0x27008c]:[],'tdx':_0x5cb701});gracefulExit(_0x44723f);}),psRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x394))[a2_0x3e05f6(0x343)]('Get\x20current\x20RT\x20configuration\x20version\x20status')['action'](async(_0x383b26,_0x45db84)=>{const _0x2f8484=a2_0x3e05f6,_0x131c94=new PSRtConfigVersionCommand(),_0x44475d=program[_0x2f8484(0x431)](),_0x573d9a=await createTDXInstance(_0x44475d),_0x5125e4=await _0x131c94[_0x2f8484(0x1bf)]({'options':{..._0x44475d,..._0x45db84},'args':_0x383b26?[_0x383b26]:[],'tdx':_0x573d9a});gracefulExit(_0x5125e4);});const psRtJnCmd=psRtCmd[a2_0x3e05f6(0x416)]('jn')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1b1));psRtJnCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x24a))['description']('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x5e46f7,_0x18ded2)=>{const _0x531d6e=a2_0x3e05f6,_0x5d94d7=new PSRtJnListCommand(),_0x161c70=program['opts'](),_0x5bdb2b=await createTDXInstance(_0x161c70),_0x559faa=await _0x5d94d7[_0x531d6e(0x1bf)]({'options':{..._0x161c70,..._0x18ded2},'args':_0x5e46f7?[_0x5e46f7]:[],'tdx':_0x5bdb2b});gracefulExit(_0x559faa);}),psRtJnCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x333))[a2_0x3e05f6(0x343)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x3e05f6(0x270)](async(_0x37d674,_0x4bbe02)=>{const _0x53ab40=a2_0x3e05f6,_0x42ad17=new PSRtJnPauseCommand(),_0xf5c5ff=program[_0x53ab40(0x431)](),_0x912a37=await createTDXInstance(_0xf5c5ff),_0x512370=await _0x42ad17[_0x53ab40(0x1bf)]({'options':{..._0xf5c5ff,..._0x4bbe02},'args':[_0x37d674],'tdx':_0x912a37});gracefulExit(_0x512370);}),psRtJnCmd[a2_0x3e05f6(0x416)]('resume_activations\x20<journeyId>')[a2_0x3e05f6(0x343)]('Resume\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x3e05f6(0x270)](async(_0x46a031,_0x263fca)=>{const _0x3d346a=a2_0x3e05f6,_0x3446ae=new PSRtJnResumeCommand(),_0x2274eb=program['opts'](),_0xb6e1ad=await createTDXInstance(_0x2274eb),_0x42f39a=await _0x3446ae[_0x3d346a(0x1bf)]({'options':{..._0x2274eb,..._0x263fca},'args':[_0x46a031],'tdx':_0xb6e1ad});gracefulExit(_0x42f39a);});const parentRtCmd=parentCmd[a2_0x3e05f6(0x416)]('rt',{'hidden':!![]})['description'](a2_0x3e05f6(0x39d));parentRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x3e05f6(0x270)](async(_0x2c6f59,_0x524de3)=>{const _0x45531e=a2_0x3e05f6,_0x59af80=new PSRtListCommand(),_0x59d46d=program['opts'](),_0xcc8afa=await createTDXInstance(_0x59d46d),_0x2db926=await _0x59af80[_0x45531e(0x1bf)]({'options':{..._0x59d46d,..._0x524de3},'args':_0x2c6f59?[_0x2c6f59]:[],'tdx':_0xcc8afa});gracefulExit(_0x2db926);}),parentRtCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x41f))['description'](a2_0x3e05f6(0x1db))[a2_0x3e05f6(0x270)](async(_0x4d5425,_0x247d70)=>{const _0xc95fa8=a2_0x3e05f6,_0x1c9b43=new PSRtValidateCommand(),_0x4a97e7=program[_0xc95fa8(0x431)](),_0x5c8750=await createTDXInstance(_0x4a97e7),_0x367a8d=await _0x1c9b43['run']({'options':{..._0x4a97e7,..._0x247d70},'args':_0x4d5425?[_0x4d5425]:[],'tdx':_0x5c8750});gracefulExit(_0x367a8d);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x323));psPzCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x24a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3bc))[a2_0x3e05f6(0x270)](async(_0x546ef2,_0x4f8ade)=>{const _0x42a1b8=a2_0x3e05f6,_0x3dd403=new PSPzListCommand(),_0x853b7=program[_0x42a1b8(0x431)](),_0x543d9d=await createTDXInstance(_0x853b7),_0x59a891=await _0x3dd403[_0x42a1b8(0x1bf)]({'options':{..._0x853b7,..._0x4f8ade},'args':_0x546ef2?[_0x546ef2]:[],'tdx':_0x543d9d});gracefulExit(_0x59a891);}),psPzCmd[a2_0x3e05f6(0x416)]('show\x20<personalization_id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1a5))[a2_0x3e05f6(0x270)](async(_0x38232f,_0x28dfb6)=>{const _0x3f9435=new PSPzShowCommand(),_0xa25b70=program['opts'](),_0x5353e4=await createTDXInstance(_0xa25b70),_0x725273=await _0x3f9435['run']({'options':{..._0xa25b70,..._0x28dfb6},'args':[_0x38232f],'tdx':_0x5353e4});gracefulExit(_0x725273);}),psPzCmd[a2_0x3e05f6(0x416)]('delete\x20<personalization_id>')['description'](a2_0x3e05f6(0x1be))[a2_0x3e05f6(0x270)](async(_0x32878c,_0x12c4d6)=>{const _0x3c63b9=a2_0x3e05f6,_0x13b864=new PSPzDeleteCommand(),_0x428f51=program[_0x3c63b9(0x431)](),_0x4eff28=await createTDXInstance(_0x428f51),_0x419da3=await _0x13b864[_0x3c63b9(0x1bf)]({'options':{..._0x428f51,..._0x12c4d6},'args':[_0x32878c],'tdx':_0x4eff28});gracefulExit(_0x419da3);}),psPzCmd['command'](a2_0x3e05f6(0x311))[a2_0x3e05f6(0x343)]('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')[a2_0x3e05f6(0x3fc)]('--name\x20<text>','Personalization\x20name')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),'Personalization\x20description')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x357),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')['option'](a2_0x3e05f6(0x356),a2_0x3e05f6(0x36b))[a2_0x3e05f6(0x3fc)]('--sections\x20<json>',a2_0x3e05f6(0x278))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x232),a2_0x3e05f6(0x1fc))[a2_0x3e05f6(0x270)](async _0x432a98=>{const _0x10daf2=a2_0x3e05f6,_0xa1cfc2=new PSPzCreateCommand(),_0x138e38=program[_0x10daf2(0x431)](),_0x1dd34c=await createTDXInstance(_0x138e38),_0x5b67a2=await _0xa1cfc2['run']({'options':{..._0x138e38,..._0x432a98},'args':[],'tdx':_0x1dd34c});gracefulExit(_0x5b67a2);}),psPzCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x240))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x23d),a2_0x3e05f6(0x1ec))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x461))['option'](a2_0x3e05f6(0x473),'Sections\x20as\x20an\x20inline\x20JSON\x20array')['option'](a2_0x3e05f6(0x232),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x3e05f6(0x270)](async(_0x42594c,_0x150b89)=>{const _0x3dd050=a2_0x3e05f6,_0x887943=new PSPzPatchCommand(),_0x2b59ef=program[_0x3dd050(0x431)](),_0x1f3d2f=await createTDXInstance(_0x2b59ef),_0x1df1a5=await _0x887943[_0x3dd050(0x1bf)]({'options':{..._0x2b59ef,..._0x150b89},'args':[_0x42594c],'tdx':_0x1f3d2f});gracefulExit(_0x1df1a5);});const psPzServiceCmd=psPzCmd['command'](a2_0x3e05f6(0x3ae))[a2_0x3e05f6(0x343)]('Personalization\x20service\x20management');psPzServiceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x24a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x237))['action'](async(_0x360485,_0x5c3a2d)=>{const _0x466d7e=a2_0x3e05f6,_0x44a7bb=new PSPzServiceListCommand(),_0x438239=program[_0x466d7e(0x431)](),_0x1be84d=await createTDXInstance(_0x438239),_0x1be081=await _0x44a7bb[_0x466d7e(0x1bf)]({'options':{..._0x438239,..._0x5c3a2d},'args':_0x360485?[_0x360485]:[],'tdx':_0x1be84d});gracefulExit(_0x1be081);}),psPzServiceCmd['command'](a2_0x3e05f6(0x48a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x37d))[a2_0x3e05f6(0x3fc)]('--description\x20<text>',a2_0x3e05f6(0x223))['option'](a2_0x3e05f6(0x395),a2_0x3e05f6(0x372))[a2_0x3e05f6(0x270)](async(_0x4b9f0d,_0x3f76db,_0x22e6c9)=>{const _0x3fbcdb=a2_0x3e05f6,_0x547fb2=new PSPzServiceCreateCommand(),_0x29085b=program[_0x3fbcdb(0x431)](),_0x39de84=await createTDXInstance(_0x29085b),_0x2508d7=await _0x547fb2['run']({'options':{..._0x29085b,..._0x22e6c9},'args':_0x3f76db?[_0x4b9f0d,_0x3f76db]:[_0x4b9f0d],'tdx':_0x39de84});gracefulExit(_0x2508d7);}),psPzServiceCmd['command']('show\x20<service_id>\x20[parent_segment]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2aa))[a2_0x3e05f6(0x270)](async(_0x3c44b1,_0xbe8d6,_0xd2cc4f)=>{const _0x1c544b=a2_0x3e05f6,_0x59fb1b=new PSPzServiceShowCommand(),_0x4495b0=program[_0x1c544b(0x431)](),_0x2be9de=await createTDXInstance(_0x4495b0),_0x23efaf=await _0x59fb1b[_0x1c544b(0x1bf)]({'options':{..._0x4495b0,..._0xd2cc4f},'args':_0xbe8d6?[_0x3c44b1,_0xbe8d6]:[_0x3c44b1],'tdx':_0x2be9de});gracefulExit(_0x23efaf);}),psPzServiceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x389))[a2_0x3e05f6(0x343)]('Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['action'](async(_0x50b3a6,_0x23ce29,_0x130ece)=>{const _0x116dce=a2_0x3e05f6,_0x670bfd=new PSPzServiceDeleteCommand(),_0x1800ff=program['opts'](),_0x113b13=await createTDXInstance(_0x1800ff),_0x192e20=await _0x670bfd[_0x116dce(0x1bf)]({'options':{..._0x1800ff,..._0x130ece},'args':_0x23ce29?[_0x50b3a6,_0x23ce29]:[_0x50b3a6],'tdx':_0x113b13});gracefulExit(_0x192e20);}),psPzServiceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x429))[a2_0x3e05f6(0x343)]('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x3e05f6(0x2af)]('--name\x20<name>',a2_0x3e05f6(0x376))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),'New\x20service\x20description')['action'](async(_0x5cb5db,_0x5c92e1,_0x3252a6)=>{const _0x42e22e=new PSPzServiceUpdateCommand(),_0x3e5dd6=program['opts'](),_0x3b0f23=await createTDXInstance(_0x3e5dd6),_0x18597c=await _0x42e22e['run']({'options':{..._0x3e5dd6,..._0x3252a6},'args':_0x5c92e1?[_0x5cb5db,_0x5c92e1]:[_0x5cb5db],'tdx':_0x3b0f23});gracefulExit(_0x18597c);}),psPzServiceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x25b))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x191))['action'](async(_0x37204d,_0x4effe0)=>{const _0xf1919e=new PSPzInitCommand(),_0x5831fd=program['opts'](),_0x51df26=await createTDXInstance(_0x5831fd),_0x488d00=await _0xf1919e['run']({'options':{..._0x5831fd,..._0x4effe0},'args':_0x37204d?[_0x37204d]:[],'tdx':_0x51df26});gracefulExit(_0x488d00);});const psPzServiceTokenCmd=psPzServiceCmd['command'](a2_0x3e05f6(0x2ab))[a2_0x3e05f6(0x343)]('Personalization\x20service\x20token\x20management');psPzServiceTokenCmd['command']('create\x20<name>\x20<service_id>\x20[parent_segment]')[a2_0x3e05f6(0x343)]('Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['option']('--allowed-ips\x20<ips>',a2_0x3e05f6(0x341))[a2_0x3e05f6(0x3fc)]('--description\x20<text>','Token\x20description')[a2_0x3e05f6(0x270)](async(_0x33400f,_0x21f7c7,_0x195683,_0x24a006)=>{const _0x4abd32=a2_0x3e05f6,_0x5cb072=new PSPzServiceTokenCreateCommand(),_0x4b230a=program['opts'](),_0x1c1972=await createTDXInstance(_0x4b230a),_0x4dbb90=await _0x5cb072[_0x4abd32(0x1bf)]({'options':{..._0x4b230a,..._0x24a006},'args':_0x195683?[_0x33400f,_0x21f7c7,_0x195683]:[_0x33400f,_0x21f7c7],'tdx':_0x1c1972});gracefulExit(_0x4dbb90);}),psPzServiceTokenCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x386))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x190))[a2_0x3e05f6(0x270)](async(_0xd1fc32,_0x1c4ed9,_0x16d5ac)=>{const _0x5ea64e=new PSPzServiceTokenDeleteCommand(),_0x5c51e1=program['opts'](),_0x3d89d9=await createTDXInstance(_0x5c51e1),_0x528748=await _0x5ea64e['run']({'options':{..._0x5c51e1,..._0x16d5ac},'args':_0x1c4ed9?[_0xd1fc32,_0x1c4ed9]:[_0xd1fc32],'tdx':_0x3d89d9});gracefulExit(_0x528748);}),parentCmd['command'](a2_0x3e05f6(0x375))['description']('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')['requiredOption']('--database\x20<db>',a2_0x3e05f6(0x3a9))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x3cb),'Master\x20table\x20name')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x1b0))['option'](a2_0x3e05f6(0x39e),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x487),a2_0x3e05f6(0x1f0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x43c),a2_0x3e05f6(0x3c4))['option'](a2_0x3e05f6(0x25c),a2_0x3e05f6(0x193))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1f9),a2_0x3e05f6(0x472))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2b3),a2_0x3e05f6(0x1e5))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2de),'Behaviors\x20from\x20JSON\x20file')['option'](a2_0x3e05f6(0x2c1),a2_0x3e05f6(0x305))[a2_0x3e05f6(0x3fc)]('--customer-group-file\x20<file>',a2_0x3e05f6(0x245))[a2_0x3e05f6(0x270)](async(_0x208925,_0x3f9cf2)=>{const _0x2293f2=a2_0x3e05f6,_0x5c5799=new ParentSegmentCreateCommand(),_0x327203=program[_0x2293f2(0x431)](),_0x140384=await createTDXInstance(_0x327203),_0x3f446a=await _0x5c5799[_0x2293f2(0x1bf)]({'options':{..._0x327203,..._0x3f9cf2},'args':[_0x208925],'tdx':_0x140384});gracefulExit(_0x3f446a);}),parentCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2d8))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2a2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x3b4))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x39e),a2_0x3e05f6(0x46b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x487),'Updated\x20schedule\x20option')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x43c),'Updated\x20timezone')['option']('--add-attributes\x20<json>',a2_0x3e05f6(0x39b))['option'](a2_0x3e05f6(0x224),a2_0x3e05f6(0x3e7))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x422),a2_0x3e05f6(0x260))['option']('--add-behaviors-file\x20<file>',a2_0x3e05f6(0x420))[a2_0x3e05f6(0x270)](async(_0x3ade4e,_0x396487)=>{const _0x40914b=new ParentSegmentUpdateCommand(),_0x4e2c22=program['opts'](),_0x4e658f=await createTDXInstance(_0x4e2c22),_0x44a856=await _0x40914b['run']({'options':{..._0x4e2c22,..._0x396487},'args':[_0x3ade4e],'tdx':_0x4e658f});gracefulExit(_0x44a856);}),folderCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x26f))['description'](a2_0x3e05f6(0x203))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x19f))[a2_0x3e05f6(0x3fc)]('--parent-folder\x20<name>',a2_0x3e05f6(0x2fe))['action'](async(_0x47db7f,_0x3ed998,_0x430f60)=>{const _0x353fa6=a2_0x3e05f6,_0x34ff12=new SegmentFolderCreateCommand(),_0x2945b0=program[_0x353fa6(0x431)](),_0x12467e=await createTDXInstance(_0x2945b0),_0x1f140b=await _0x34ff12[_0x353fa6(0x1bf)]({'options':{..._0x2945b0,..._0x430f60},'args':[_0x47db7f,_0x3ed998],'tdx':_0x12467e});gracefulExit(_0x1f140b);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x255))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e4))[a2_0x3e05f6(0x270)](async(_0x1c1551,_0x286dc7)=>{const _0x13089f=a2_0x3e05f6,_0x575d95=new ActivationsCommand(),_0x2fbcd4=program['opts'](),_0x4ec6af=await createTDXInstance(_0x2fbcd4),_0x219906=await _0x575d95[_0x13089f(0x1bf)]({'options':{..._0x2fbcd4,..._0x286dc7},'args':[_0x1c1551],'tdx':_0x4ec6af});gracefulExit(_0x219906);});const workflowCmd=program['command'](a2_0x3e05f6(0x32a))['alias']('wf')['description']('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd[a2_0x3e05f6(0x416)]('project')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1fd)),wfProjectListAction=async(_0x310944,_0x646792)=>{const _0x51080d=new WorkflowProjectsCommand(),_0x13f65f=program['opts'](),_0x4f0aa6=await createTDXInstance(_0x13f65f),_0x20aec3=await _0x51080d['run']({'options':{..._0x13f65f,..._0x646792},'args':_0x310944?[_0x310944]:[],'tdx':_0x4f0aa6});gracefulExit(_0x20aec3);};wfProjectCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x204))[a2_0x3e05f6(0x270)](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')['description']('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x3e05f6(0x270)](wfProjectListAction);const wfWorkflowListAction=async(_0x2c55a2,_0x4e1710)=>{const _0x85b808=a2_0x3e05f6,_0x136aec=new WorkflowWorkflowsCommand(),_0xad7715=program[_0x85b808(0x431)](),_0x9d6ad=await createTDXInstance(_0xad7715),_0xfa8b5b=await _0x136aec[_0x85b808(0x1bf)]({'options':{..._0xad7715,..._0x4e1710},'args':_0x2c55a2?[_0x2c55a2]:[],'tdx':_0x9d6ad});gracefulExit(_0xfa8b5b);};workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x25d))['description'](a2_0x3e05f6(0x251))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x3e05f6(0x3ee))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2e0)),wfSessionListAction=async(_0x378035,_0x1ec990)=>{const _0x38de09=a2_0x3e05f6,_0x1096d8=new WorkflowSessionsCommand(),_0x11e5c7=program[_0x38de09(0x431)](),_0x437f05=await createTDXInstance(_0x11e5c7),_0x55320b=await _0x1096d8[_0x38de09(0x1bf)]({'options':{..._0x11e5c7,..._0x1ec990},'args':_0x378035?[_0x378035]:[],'tdx':_0x437f05});gracefulExit(_0x55320b);};wfSessionCmd[a2_0x3e05f6(0x416)]('list\x20[project]')['description'](a2_0x3e05f6(0x28e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),a2_0x3e05f6(0x1e0))[a2_0x3e05f6(0x3fc)]('--from\x20<timestamp>',a2_0x3e05f6(0x24b))['option']('--to\x20<timestamp>',a2_0x3e05f6(0x235))['action'](wfSessionListAction),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2f9))[a2_0x3e05f6(0x343)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),a2_0x3e05f6(0x1e0))['option'](a2_0x3e05f6(0x2b9),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x3e05f6(0x25e),a2_0x3e05f6(0x235))['action'](wfSessionListAction);const wfAttemptListAction=async(_0xf0374,_0x1c01d6)=>{const _0x5bff43=a2_0x3e05f6,_0x76a93d=new WorkflowAttemptsCommand(),_0x747d11=program[_0x5bff43(0x431)](),_0x4853bb=await createTDXInstance(_0x747d11),_0x34a461=await _0x76a93d[_0x5bff43(0x1bf)]({'options':{..._0x747d11,..._0x1c01d6},'args':_0xf0374?[_0xf0374]:[],'tdx':_0x4853bb});gracefulExit(_0x34a461);},attemptCmd=workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x211))[a2_0x3e05f6(0x343)]('Workflow\x20attempt\x20management')[a2_0x3e05f6(0x3f6)](a2_0x3e05f6(0x1ac),a2_0x3e05f6(0x2bb))['argument'](a2_0x3e05f6(0x1d5),a2_0x3e05f6(0x365))['argument'](a2_0x3e05f6(0x31e),'Task\x20name\x20for\x20logs\x20action')[a2_0x3e05f6(0x3fc)]('--include-subtasks',a2_0x3e05f6(0x1c0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1e2),'Reason\x20for\x20killing\x20the\x20attempt')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x292),a2_0x3e05f6(0x21d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x454),a2_0x3e05f6(0x3a5))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x46d),'Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34b),a2_0x3e05f6(0x33e))['action'](async(_0x3a7080,_0x4cc953,_0x3eecd0,_0x29185c)=>{const _0x126739=a2_0x3e05f6;if(_0x3a7080===_0x126739(0x22a)){await wfAttemptListAction(_0x4cc953,_0x29185c);return;}if(!_0x3a7080){attemptCmd[_0x126739(0x303)]();return;}const _0x436b5a=program['opts'](),_0xa4e8e0=await createTDXInstance(_0x436b5a);let _0x1ac52d=0x0;if(!_0x4cc953){const _0x4b94a2=new WorkflowAttemptCommand();_0x1ac52d=await _0x4b94a2['run']({'options':{..._0x436b5a,..._0x29185c},'args':[_0x3a7080],'tdx':_0xa4e8e0});}else{if(_0x4cc953===_0x126739(0x1b3)){const _0x220e10=new WorkflowLogsCommand();_0x1ac52d=await _0x220e10[_0x126739(0x1bf)]({'options':{..._0x436b5a,..._0x29185c},'args':_0x3eecd0?[_0x3a7080,_0x3eecd0]:[_0x3a7080],'tdx':_0xa4e8e0});}else{if(_0x4cc953===_0x126739(0x2c5)){const _0x3fdfec=new WorkflowTasksCommand();_0x1ac52d=await _0x3fdfec[_0x126739(0x1bf)]({'options':{..._0x436b5a,..._0x29185c},'args':[_0x3a7080],'tdx':_0xa4e8e0});}else{if(_0x4cc953===_0x126739(0x48f)){const _0xc09a5c=new WorkflowKillCommand();_0x1ac52d=await _0xc09a5c[_0x126739(0x1bf)]({'options':{..._0x436b5a,..._0x29185c},'args':[_0x3a7080],'tdx':_0xa4e8e0});}else{if(_0x4cc953===_0x126739(0x42b)){const _0x127590=new WorkflowRetryCommand();_0x1ac52d=await _0x127590[_0x126739(0x1bf)]({'options':{..._0x436b5a,..._0x29185c},'args':[_0x126739(0x2e7)+_0x3a7080],'tdx':_0xa4e8e0});}else console[_0x126739(0x3ec)](_0x126739(0x236)+_0x4cc953),console[_0x126739(0x3ec)](_0x126739(0x2b2)),_0x1ac52d=0x1;}}}}gracefulExit(_0x1ac52d);});attemptCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x326))[a2_0x3e05f6(0x343)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34b),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd['command'](a2_0x3e05f6(0x1f4))['description'](a2_0x3e05f6(0x3a7))['option'](a2_0x3e05f6(0x34b),a2_0x3e05f6(0x479))['action'](wfAttemptListAction),workflowCmd['command'](a2_0x3e05f6(0x47d))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1b2))['option']('--follow',a2_0x3e05f6(0x28a))['option']('--session-id\x20<id>',a2_0x3e05f6(0x30b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x383),a2_0x3e05f6(0x3b8))[a2_0x3e05f6(0x270)](async(_0x5bb85d,_0x448a16)=>{const _0x39cd28=a2_0x3e05f6,_0x4ab079=new WorkflowTimelineCommand(),_0x54aa48=program[_0x39cd28(0x431)](),_0x438711=await createTDXInstance(_0x54aa48),_0x4800c6=await _0x4ab079['run']({'options':{..._0x54aa48,..._0x448a16},'args':_0x5bb85d?[_0x5bb85d]:[],'tdx':_0x438711});gracefulExit(_0x4800c6);}),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3d5))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x42a))['option'](a2_0x3e05f6(0x331),'Resume\x20from\x20specific\x20task')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x454),a2_0x3e05f6(0x2e8))[a2_0x3e05f6(0x270)](async(_0x14120b,_0x59766f)=>{const _0x481b39=a2_0x3e05f6,_0x34e6e1=new WorkflowRetryCommand(),_0x3d3ff8=program[_0x481b39(0x431)](),_0x607968=await createTDXInstance(_0x3d3ff8),_0x7cd05d=await _0x34e6e1[_0x481b39(0x1bf)]({'options':{..._0x3d3ff8,..._0x59766f},'args':[_0x14120b],'tdx':_0x607968});gracefulExit(_0x7cd05d);}),workflowCmd['command']('run\x20[workflow]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3c8))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x28f),a2_0x3e05f6(0x451),(_0x4a844c,_0x1b1282=[])=>[..._0x1b1282,_0x4a844c],[])[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x27e),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x3e05f6(0x270)](async(_0x47fd21,_0x4abd11)=>{const _0x51b9aa=a2_0x3e05f6,_0x94fce0=new WorkflowRunCommand(),_0x22664b=program[_0x51b9aa(0x431)](),_0x544d5f=await createTDXInstance(_0x22664b),_0x3fb94c=await _0x94fce0[_0x51b9aa(0x1bf)]({'options':{..._0x22664b,..._0x4abd11},'args':_0x47fd21?[_0x47fd21]:[],'tdx':_0x544d5f});gracefulExit(_0x3fb94c);}),workflowCmd[a2_0x3e05f6(0x416)]('download\x20<project-name>\x20[output-dir]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3cd))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45c),a2_0x3e05f6(0x275))[a2_0x3e05f6(0x270)](async(_0x21df9f,_0x2bbeae,_0xe27752)=>{const _0x2262bd=a2_0x3e05f6,_0x513775=new WorkflowDownloadCommand(),_0x565ed1=program['opts'](),_0x57f640=await createTDXInstance(_0x565ed1),_0x120d24=await _0x513775[_0x2262bd(0x1bf)]({'options':{..._0x565ed1,..._0xe27752},'args':[_0x21df9f,_0x2bbeae||'.'],'tdx':_0x57f640});gracefulExit(_0x120d24);}),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1ef))['description']('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45c),a2_0x3e05f6(0x45b))['option'](a2_0x3e05f6(0x192),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x3e05f6(0x270)](async(_0x3de3ce,_0x2fa886,_0x385cee)=>{const _0x4e8b64=a2_0x3e05f6,_0x89b4cf=new WorkflowPullCommand(),_0x5136c2=program[_0x4e8b64(0x431)](),_0x132937=await createTDXInstance(_0x5136c2),_0x5f26ee=await _0x89b4cf['run']({'options':{..._0x5136c2,..._0x385cee},'args':_0x2fa886?[_0x3de3ce,_0x2fa886]:[_0x3de3ce],'tdx':_0x132937});gracefulExit(_0x5f26ee);}),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x46c))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x220))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45c),a2_0x3e05f6(0x26b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),'Preview\x20changes\x20without\x20pushing')['option'](a2_0x3e05f6(0x261),a2_0x3e05f6(0x3f3))[a2_0x3e05f6(0x270)](async(_0x513799,_0xb97a20)=>{const _0x1acc9f=a2_0x3e05f6,_0x2fe163=new WorkflowPushCommand(),_0x3ff4d8=program[_0x1acc9f(0x431)](),_0x597d9c=await createTDXInstance(_0x3ff4d8),_0x568cb1=await _0x2fe163[_0x1acc9f(0x1bf)]({'options':{..._0x3ff4d8,..._0xb97a20},'args':_0x513799?[_0x513799]:[],'tdx':_0x597d9c});gracefulExit(_0x568cb1);}),workflowCmd[a2_0x3e05f6(0x416)]('upload\x20[project-name-or-dir]')['description']('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x3b2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45c),a2_0x3e05f6(0x401))['option'](a2_0x3e05f6(0x261),a2_0x3e05f6(0x3f3))[a2_0x3e05f6(0x270)](async(_0x5f022b,_0x1b64df)=>{const _0x2b075a=a2_0x3e05f6,_0x5a67cc=new WorkflowUploadCommand(),_0x5a6a9a=program[_0x2b075a(0x431)](),_0x45df80=await createTDXInstance(_0x5a6a9a),_0x172cfd=await _0x5a67cc[_0x2b075a(0x1bf)]({'options':{..._0x5a6a9a,..._0x1b64df},'args':_0x5f022b?[_0x5f022b]:[],'tdx':_0x45df80});gracefulExit(_0x172cfd);}),workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2b8))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x34c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),'Name\x20for\x20the\x20new\x20project\x20(required)')['option']('--revision\x20<revision>',a2_0x3e05f6(0x26b))['option'](a2_0x3e05f6(0x192),a2_0x3e05f6(0x274))[a2_0x3e05f6(0x3fc)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3e05f6(0x270)](async(_0x2937d9,_0x444722)=>{const _0x2145ca=a2_0x3e05f6,_0x384513=new WorkflowCloneCommand(),_0x3df765=program[_0x2145ca(0x431)](),_0x34bcc2=await createTDXInstance(_0x3df765),_0xc69202=await _0x384513[_0x2145ca(0x1bf)]({'options':{..._0x3df765,..._0x444722},'args':_0x2937d9?[_0x2937d9]:[],'tdx':_0x34bcc2});gracefulExit(_0xc69202);}),workflowCmd['command'](a2_0x3e05f6(0x495))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x31a))[a2_0x3e05f6(0x270)](async(_0xf7bdaa,_0x331b59)=>{const _0x23d453=a2_0x3e05f6,_0x9d06aa=new WorkflowDeleteCommand(),_0x13aae7=program[_0x23d453(0x431)](),_0x17d8af=await createTDXInstance(_0x13aae7),_0x10b7c7=await _0x9d06aa[_0x23d453(0x1bf)]({'options':{..._0x13aae7,..._0x331b59},'args':[_0xf7bdaa],'tdx':_0x17d8af});gracefulExit(_0x10b7c7);}),workflowCmd['command'](a2_0x3e05f6(0x20e))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x42f))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x25a),'Clear\x20workflow\x20project\x20context')['action'](async(_0x39e1f5,_0x451906)=>{const _0x408eb7=a2_0x3e05f6,_0x4200b1=new WorkflowUseCommand(),_0x3d3da5=program[_0x408eb7(0x431)](),_0x494710=await createTDXInstance(_0x3d3da5),_0x19772e=await _0x4200b1[_0x408eb7(0x1bf)]({'options':{..._0x3d3da5,..._0x451906},'args':_0x39e1f5?[_0x39e1f5]:[],'tdx':_0x494710});gracefulExit(_0x19772e);});const wfSecretsCmd=workflowCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3c5))['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x326))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c8))[a2_0x3e05f6(0x270)](async(_0xcfc5fc,_0x321290)=>{const _0x2e313d=a2_0x3e05f6,_0x4d3e6b=new WorkflowSecretsListCommand(),_0xaf036b=program['opts'](),_0x5adf2b=await createTDXInstance(_0xaf036b),_0x48eed0=await _0x4d3e6b[_0x2e313d(0x1bf)]({'options':{..._0xaf036b,..._0x321290},'args':_0xcfc5fc?[_0xcfc5fc]:[],'tdx':_0x5adf2b});gracefulExit(_0x48eed0);}),wfSecretsCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2c9))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1d2))[a2_0x3e05f6(0x270)](async(_0xc2fa0e,_0x101836)=>{const _0x13bb65=a2_0x3e05f6,_0xf4398e=new WorkflowSecretsSetCommand(),_0x2bc466=program['opts'](),_0x3bf5c6=await createTDXInstance(_0x2bc466),_0x5ce96f=await _0xf4398e[_0x13bb65(0x1bf)]({'options':{..._0x2bc466,..._0x101836},'args':_0xc2fa0e,'tdx':_0x3bf5c6});gracefulExit(_0x5ce96f);}),wfSecretsCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x430))[a2_0x3e05f6(0x343)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x3e05f6(0x270)](async(_0x358d75,_0x488fae)=>{const _0x7346fd=a2_0x3e05f6,_0x368a5c=new WorkflowSecretsDeleteCommand(),_0x24bb4e=program[_0x7346fd(0x431)](),_0x552939=await createTDXInstance(_0x24bb4e),_0x60e496=await _0x368a5c['run']({'options':{..._0x24bb4e,..._0x488fae},'args':_0x358d75,'tdx':_0x552939});gracefulExit(_0x60e496);});const jobCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1d9))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x446)),jobListAction=async _0x2298ab=>{const _0x3e12f6=a2_0x3e05f6,_0x1d08d6=new JobListCommand(),_0x357891=program[_0x3e12f6(0x431)](),_0x5e9f66=await createTDXInstance(_0x357891),_0x233b51=await _0x1d08d6[_0x3e12f6(0x1bf)]({'options':{..._0x357891,..._0x2298ab},'args':[],'tdx':_0x5e9f66});gracefulExit(_0x233b51);};jobCmd[a2_0x3e05f6(0x416)]('list')[a2_0x3e05f6(0x343)]('List\x20jobs')['option'](a2_0x3e05f6(0x440),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x456),{'hidden':!![]})['description']('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x3e05f6(0x3fc)]('--status\x20<status>',a2_0x3e05f6(0x406))['action'](jobListAction),jobCmd['command'](a2_0x3e05f6(0x492))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d9))[a2_0x3e05f6(0x270)](async(_0x551e32,_0x5b9608)=>{const _0x14a73c=new JobShowCommand(),_0x6a82dd=program['opts'](),_0x4ce3b0=await createTDXInstance(_0x6a82dd),_0x587361=await _0x14a73c['run']({'options':{..._0x6a82dd,..._0x5b9608},'args':[_0x551e32],'tdx':_0x4ce3b0});gracefulExit(_0x587361);}),jobCmd[a2_0x3e05f6(0x416)]('kill\x20<job-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x22c))[a2_0x3e05f6(0x270)](async(_0x1dde37,_0x21d781)=>{const _0x2c6a45=a2_0x3e05f6,_0x1c3e95=new JobKillCommand(),_0x3e5ebd=program[_0x2c6a45(0x431)](),_0x224052=await createTDXInstance(_0x3e5ebd),_0x575120=await _0x1c3e95[_0x2c6a45(0x1bf)]({'options':{..._0x3e5ebd,..._0x21d781},'args':[_0x1dde37],'tdx':_0x224052});gracefulExit(_0x575120);}),jobCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x282))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x368))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x418),a2_0x3e05f6(0x214),a2_0x3e05f6(0x281))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x263),a2_0x3e05f6(0x1d0))['option'](a2_0x3e05f6(0x1cd),a2_0x3e05f6(0x1d6),a2_0x3e05f6(0x3fb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x45a),a2_0x3e05f6(0x478))['action'](async(_0x262f8f,_0x30c1f1)=>{const _0x345ac8=a2_0x3e05f6,_0x50b992=new JobSubmitCommand(),_0x92d588=program[_0x345ac8(0x431)](),_0x5cdddf=await createTDXInstance(_0x92d588),_0x579963=await _0x50b992['run']({'options':{..._0x92d588,..._0x30c1f1},'args':_0x262f8f?[_0x262f8f]:[],'tdx':_0x5cdddf});gracefulExit(_0x579963);}),jobCmd['command']('result\x20<job-id>')['description']('Get\x20job\x20results')['action'](async(_0x3126c1,_0x3a6741)=>{const _0x4301f4=a2_0x3e05f6,_0x2f31e9=new JobResultCommand(),_0x5a582c=program['opts'](),_0x335186=await createTDXInstance(_0x5a582c),_0x31ed69=await _0x2f31e9[_0x4301f4(0x1bf)]({'options':{..._0x5a582c,..._0x3a6741},'args':[_0x3126c1],'tdx':_0x335186});gracefulExit(_0x31ed69);});const scheduleCmd=jobCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3a1))['description'](a2_0x3e05f6(0x23a));scheduleCmd[a2_0x3e05f6(0x416)]('list\x20[pattern]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d0))[a2_0x3e05f6(0x270)](async(_0x5986c1,_0x995b3)=>{const _0x213b31=a2_0x3e05f6,_0x3354fd=new ScheduleListCommand(),_0xd0bcad=program[_0x213b31(0x431)](),_0x5e2f8b=await createTDXInstance(_0xd0bcad),_0x45ce60=await _0x3354fd[_0x213b31(0x1bf)]({'options':{..._0xd0bcad,..._0x995b3},'args':_0x5986c1?[_0x5986c1]:[],'tdx':_0x5e2f8b});gracefulExit(_0x45ce60);}),scheduleCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x38f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1fa))[a2_0x3e05f6(0x270)](async(_0x541cd3,_0x252ad7)=>{const _0x4da9e1=a2_0x3e05f6,_0x7aaf75=new ScheduleShowCommand(),_0x47e48b=program[_0x4da9e1(0x431)](),_0x3fb296=await createTDXInstance(_0x47e48b),_0x39cdaa=await _0x7aaf75[_0x4da9e1(0x1bf)]({'options':{..._0x47e48b,..._0x252ad7},'args':[_0x541cd3],'tdx':_0x3fb296});gracefulExit(_0x39cdaa);}),scheduleCmd['command'](a2_0x3e05f6(0x375))['description'](a2_0x3e05f6(0x442))[a2_0x3e05f6(0x3fc)]('-d,\x20--database\x20<db>',a2_0x3e05f6(0x35a))['option'](a2_0x3e05f6(0x2f2),a2_0x3e05f6(0x2f6))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x263),a2_0x3e05f6(0x1d0))['option'](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x476),'trino')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x44c),'Cron\x20expression\x20for\x20scheduling')['option'](a2_0x3e05f6(0x43c),a2_0x3e05f6(0x413))['option'](a2_0x3e05f6(0x197),a2_0x3e05f6(0x347))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x27f),a2_0x3e05f6(0x432))['option'](a2_0x3e05f6(0x2ba),a2_0x3e05f6(0x1ba))['option']('--engine-version\x20<version>',a2_0x3e05f6(0x3f8))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1a8),a2_0x3e05f6(0x32b))[a2_0x3e05f6(0x270)](async(_0x443c7b,_0x548709)=>{const _0x5f07bb=a2_0x3e05f6,_0x418052=new ScheduleCreateCommand(),_0x910c0e=program['opts'](),_0x286a13=await createTDXInstance(_0x910c0e);_0x548709['in']&&(_0x548709[_0x5f07bb(0x1b6)]=_0x548709['in']);const _0x13beac=await _0x418052['run']({'options':{..._0x910c0e,..._0x548709},'args':[_0x443c7b],'tdx':_0x286a13});gracefulExit(_0x13beac);}),scheduleCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2d8))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x44a))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x249),a2_0x3e05f6(0x290))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2f2),a2_0x3e05f6(0x2f6))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x263),'Read\x20query\x20from\x20file')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x476))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x44c),'Cron\x20expression\x20for\x20scheduling')[a2_0x3e05f6(0x3fc)]('--timezone\x20<tz>',a2_0x3e05f6(0x2e4))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x197),a2_0x3e05f6(0x347))['option'](a2_0x3e05f6(0x27f),a2_0x3e05f6(0x432))[a2_0x3e05f6(0x3fc)]('--retry-limit\x20<0~32>',a2_0x3e05f6(0x1ba))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x288),a2_0x3e05f6(0x3f8))[a2_0x3e05f6(0x3fc)]('--result\x20<url>',a2_0x3e05f6(0x32b))['action'](async(_0x926cc,_0x22b6e7)=>{const _0x3142a5=a2_0x3e05f6,_0xa1a598=new ScheduleUpdateCommand(),_0x34eded=program[_0x3142a5(0x431)](),_0x51c193=await createTDXInstance(_0x34eded);_0x22b6e7['in']&&(_0x22b6e7[_0x3142a5(0x1b6)]=_0x22b6e7['in']);const _0x5e7926=await _0xa1a598[_0x3142a5(0x1bf)]({'options':{..._0x34eded,..._0x22b6e7},'args':[_0x926cc],'tdx':_0x51c193});gracefulExit(_0x5e7926);}),scheduleCmd['command'](a2_0x3e05f6(0x44d))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1e9))[a2_0x3e05f6(0x270)](async(_0x488ab3,_0x202a59)=>{const _0x471987=a2_0x3e05f6,_0x568679=new ScheduleDeleteCommand(),_0x89694c=program[_0x471987(0x431)](),_0x2aae4e=await createTDXInstance(_0x89694c),_0x223a33=await _0x568679['run']({'options':{..._0x89694c,..._0x202a59},'args':[_0x488ab3],'tdx':_0x2aae4e});gracefulExit(_0x223a33);}),scheduleCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3c3))[a2_0x3e05f6(0x343)]('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2ea),a2_0x3e05f6(0x457))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x348),a2_0x3e05f6(0x3e4))[a2_0x3e05f6(0x270)](async(_0x56c126,_0x362508)=>{const _0x82ce44=a2_0x3e05f6,_0x39d9ea=new ScheduleRunCommand(),_0x265146=program[_0x82ce44(0x431)](),_0x46ad7a=await createTDXInstance(_0x265146),_0x15324c=await _0x39d9ea[_0x82ce44(0x1bf)]({'options':{..._0x265146,..._0x362508},'args':[_0x56c126],'tdx':_0x46ad7a});gracefulExit(_0x15324c);}),scheduleCmd['command'](a2_0x3e05f6(0x3bf))['description'](a2_0x3e05f6(0x2db))['option'](a2_0x3e05f6(0x48c),a2_0x3e05f6(0x244))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x27a),'Ending\x20offset\x20(default:\x2020)')[a2_0x3e05f6(0x270)](async(_0x318f0c,_0xc48f64)=>{const _0x5286e4=a2_0x3e05f6,_0x47e066=new ScheduleHistoryCommand(),_0x24bf94=program['opts'](),_0x243b6e=await createTDXInstance(_0x24bf94),_0x60f2c8=await _0x47e066[_0x5286e4(0x1bf)]({'options':{..._0x24bf94,..._0xc48f64},'args':[_0x318f0c],'tdx':_0x243b6e});gracefulExit(_0x60f2c8);});const llmCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x29b))[a2_0x3e05f6(0x343)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x30a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x209))['action'](async(_0x330560,_0xfa4cc6)=>{const _0x524249=a2_0x3e05f6,_0x5255d2=new LLMUseCommand(),_0x13d7d5=program[_0x524249(0x431)](),_0x1a1c81=await createTDXInstance(_0x13d7d5),_0x2ffd35=await _0x5255d2[_0x524249(0x1bf)]({'options':{..._0x13d7d5,..._0xfa4cc6},'args':[_0x330560],'tdx':_0x1a1c81});gracefulExit(_0x2ffd35);}),llmCmd['command'](a2_0x3e05f6(0x3ce))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x23b))['action'](async _0x2d97a3=>{const _0x5ca6e0=a2_0x3e05f6,_0x44e84f=new LLMModelsCommand(),_0x2a7645=program[_0x5ca6e0(0x431)](),_0x277c22=await createTDXInstance(_0x2a7645),_0x412b8a=await _0x44e84f[_0x5ca6e0(0x1bf)]({'options':{..._0x2a7645,..._0x2d97a3},'args':[],'tdx':_0x277c22});gracefulExit(_0x412b8a);});const projectCmd=llmCmd[a2_0x3e05f6(0x416)]('project')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2c4)),llmProjectListAction=async(_0x4ad4d7,_0x1c12dd)=>{const _0x4f2650=a2_0x3e05f6,_0x3b0342=new LLMProjectsCommand(),_0xb68df2=program[_0x4f2650(0x431)](),_0x3f3b9b=await createTDXInstance(_0xb68df2),_0x2af4a0=await _0x3b0342[_0x4f2650(0x1bf)]({'options':{..._0xb68df2,..._0x1c12dd},'args':_0x4ad4d7?[_0x4ad4d7]:[],'tdx':_0x3f3b9b});gracefulExit(_0x2af4a0);};projectCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x24d))[a2_0x3e05f6(0x270)](llmProjectListAction),llmCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3a2))['description'](a2_0x3e05f6(0x1cf))[a2_0x3e05f6(0x270)](llmProjectListAction),projectCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x375))['description'](a2_0x3e05f6(0x21c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x39f))[a2_0x3e05f6(0x270)](async(_0x382445,_0x3546a2)=>{const _0x575a33=a2_0x3e05f6,_0x2f8e74=new LLMProjectCreateCommand(),_0x88ebf9=program[_0x575a33(0x431)](),_0x198425=await createTDXInstance(_0x88ebf9),_0x280720=await _0x2f8e74[_0x575a33(0x1bf)]({'options':{..._0x88ebf9,..._0x3546a2},'args':[_0x382445],'tdx':_0x198425});gracefulExit(_0x280720);}),projectCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x44d))['description'](a2_0x3e05f6(0x32f))[a2_0x3e05f6(0x270)](async(_0x3a7252,_0xda9b11)=>{const _0x149684=a2_0x3e05f6,_0x3306c9=new LLMProjectDeleteCommand(),_0x4ce4a6=program[_0x149684(0x431)](),_0x88dddd=await createTDXInstance(_0x4ce4a6),_0x41aaeb=await _0x3306c9[_0x149684(0x1bf)]({'options':{..._0x4ce4a6,..._0xda9b11},'args':[_0x3a7252],'tdx':_0x88dddd});gracefulExit(_0x41aaeb);}),projectCmd['command'](a2_0x3e05f6(0x304))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x280))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x37b),a2_0x3e05f6(0x30d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x30e))[a2_0x3e05f6(0x270)](async(_0x25242a,_0x354291)=>{const _0x19f18c=a2_0x3e05f6,_0x45598b=new LLMProjectBackupCommand(),_0x2ccaea=program['opts'](),_0x375634=await createTDXInstance(_0x2ccaea),_0x4daae4=await _0x45598b[_0x19f18c(0x1bf)]({'options':{..._0x2ccaea,..._0x354291},'args':[_0x25242a],'tdx':_0x375634});gracefulExit(_0x4daae4);}),projectCmd[a2_0x3e05f6(0x416)]('restore\x20<folder>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3ed))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x33d),a2_0x3e05f6(0x46a))['option'](a2_0x3e05f6(0x192),a2_0x3e05f6(0x316))['action'](async(_0x30a278,_0x478610)=>{const _0x4f22dc=a2_0x3e05f6,_0x5a6a94=new LLMProjectRestoreCommand(),_0x3ba811=program[_0x4f22dc(0x431)](),_0x1dce26=await createTDXInstance(_0x3ba811),_0x2d2af9=await _0x5a6a94[_0x4f22dc(0x1bf)]({'options':{..._0x3ba811,..._0x478610},'args':[_0x30a278],'tdx':_0x1dce26});gracefulExit(_0x2d2af9);});const llmAgentListAction=async(_0x2b1d15,_0x5e7f63)=>{const _0xccf687=a2_0x3e05f6,_0x234bf2=new LLMAgentsCommand(),_0x23d9bd=program[_0xccf687(0x431)](),_0x2cc65c=await createTDXInstance(_0x23d9bd),_0x3198c3=await _0x234bf2[_0xccf687(0x1bf)]({'options':{..._0x23d9bd,..._0x5e7f63},'args':_0x2b1d15?[_0x2b1d15]:[],'tdx':_0x2cc65c});gracefulExit(_0x3198c3);};llmCmd['command'](a2_0x3e05f6(0x230))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3bb))[a2_0x3e05f6(0x270)](llmAgentListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x230))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3bb))['action'](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')['description'](a2_0x3e05f6(0x38b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x269),a2_0x3e05f6(0x33b))[a2_0x3e05f6(0x270)](async(_0x590f6d,_0x4a4068)=>{const _0x30f4c3=a2_0x3e05f6,_0x224227=new LLMHistoryCommand(),_0xf77b35=program[_0x30f4c3(0x431)](),_0x33aafd=await createTDXInstance(_0xf77b35),_0x5ae28d=await _0x224227[_0x30f4c3(0x1bf)]({'options':{..._0xf77b35,..._0x4a4068},'args':_0x590f6d?[_0x590f6d]:[],'tdx':_0x33aafd});gracefulExit(_0x5ae28d);});isExperimentalAvailable()&&llmCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x254))['description']('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x3e05f6(0x270)](async(_0x3a90f6,_0x4b3965)=>{const _0x1ae59f=a2_0x3e05f6,_0x27387f=new LLMLogCommand(),_0x5b09b0=program[_0x1ae59f(0x431)](),_0x4005e7=await createTDXInstance(_0x5b09b0),_0xe449c1=await _0x27387f[_0x1ae59f(0x1bf)]({'options':{..._0x5b09b0,..._0x4b3965},'args':[_0x3a90f6],'tdx':_0x4005e7});gracefulExit(_0xe449c1);});program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x293))['usage'](a2_0x3e05f6(0x40f))[a2_0x3e05f6(0x343)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x3e05f6(0x3fc)]('-c,\x20--continue',a2_0x3e05f6(0x3cf))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1d4),a2_0x3e05f6(0x3a6))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x253),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x3e05f6(0x414)]()[a2_0x3e05f6(0x428)](!![])[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x2f5))[a2_0x3e05f6(0x270)](async(_0xbc137b,_0x3b968b)=>{const _0x29add7=a2_0x3e05f6,_0x2e3a43=program[_0x29add7(0x431)](),_0x5cbfe3=Array[_0x29add7(0x20f)](_0xbc137b)?_0xbc137b:[];if(_0x5cbfe3[0x0]==='statusline'){const _0x327cc7=new ClaudeStatuslineCommand(),_0x292b06=await _0x327cc7[_0x29add7(0x1bf)]({'options':{..._0x2e3a43,..._0x3b968b},'args':_0x5cbfe3['slice'](0x1),'tdx':null});gracefulExit(_0x292b06);}if(_0x5cbfe3[0x0]===_0x29add7(0x308)){const _0x5521e4=new ClaudeUsageCommand(),_0x803331=await _0x5521e4[_0x29add7(0x1bf)]({'options':{..._0x2e3a43,..._0x3b968b},'args':_0x5cbfe3[_0x29add7(0x212)](0x1),'tdx':null});gracefulExit(_0x803331);}const _0x51ac25=new ClaudeCommand(),_0x429042=await createTDXInstance(_0x2e3a43),_0x21e098=await _0x51ac25[_0x29add7(0x1bf)]({'options':{..._0x2e3a43,..._0x3b968b},'args':_0x5cbfe3,'tdx':_0x429042});gracefulExit(_0x21e098);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x423))[a2_0x3e05f6(0x343)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')['option'](a2_0x3e05f6(0x25a),a2_0x3e05f6(0x2ad))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x384),a2_0x3e05f6(0x205))[a2_0x3e05f6(0x270)](async(_0x7fe11c,_0x1c976f,_0x36fa02)=>{const _0x27fff7=a2_0x3e05f6,_0x28c139=new UseCommand(),_0x471a14=program[_0x27fff7(0x431)](),_0x35d7ad=[];if(_0x7fe11c)_0x35d7ad[_0x27fff7(0x3c6)](_0x7fe11c);if(_0x1c976f)_0x35d7ad[_0x27fff7(0x3c6)](_0x1c976f);const _0x58e9ee=_0x7fe11c===_0x27fff7(0x444),_0x484a9d=_0x58e9ee?await createTDXInstance(_0x471a14):null,_0x15f0fd=await _0x28c139[_0x27fff7(0x1bf)]({'options':{..._0x471a14,..._0x36fa02},'args':_0x35d7ad,'tdx':_0x484a9d});gracefulExit(_0x15f0fd);}),program['command'](a2_0x3e05f6(0x47c))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x32d))[a2_0x3e05f6(0x270)](async _0x87123b=>{const _0x47b237=a2_0x3e05f6,_0x1867f6=new StatusCommand(),_0x70d95a=program['opts'](),_0x940d2b=await createTDXInstance(_0x70d95a),_0x170a16=await _0x1867f6[_0x47b237(0x1bf)]({'options':{..._0x70d95a,..._0x87123b},'args':[],'tdx':_0x940d2b});gracefulExit(_0x170a16);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x264))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3bd))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),'Check\x20for\x20updates\x20without\x20installing')['option'](a2_0x3e05f6(0x38e),a2_0x3e05f6(0x3df))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e1),a2_0x3e05f6(0x2a8))['action'](async(_0x2e3100,_0x57b7a0)=>{const _0x4714c8=a2_0x3e05f6,_0x7b050e=new UpgradeCommand(),_0x50bf8=program[_0x4714c8(0x431)](),_0x3484ca=await _0x7b050e['run']({'options':{..._0x50bf8,..._0x57b7a0},'args':_0x2e3100?[_0x2e3100]:[],'tdx':null});gracefulExit(_0x3484ca);}),program[a2_0x3e05f6(0x416)]('unset\x20<resource>')['description'](a2_0x3e05f6(0x210))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x384),a2_0x3e05f6(0x3dc))[a2_0x3e05f6(0x270)](async(_0x46007a,_0x1a5b7a)=>{const _0x496481=a2_0x3e05f6,_0x5f0add=new UnsetCommand(),_0x4f0073=program['opts'](),_0x164273=await _0x5f0add[_0x496481(0x1bf)]({'options':{..._0x4f0073,..._0x1a5b7a},'args':[_0x46007a],'tdx':null});gracefulExit(_0x164273);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x480))[a2_0x3e05f6(0x343)]('Interactive\x20chat\x20selector')['option'](a2_0x3e05f6(0x269),a2_0x3e05f6(0x455))[a2_0x3e05f6(0x270)](async _0x378d5c=>{const _0xe32a7a=a2_0x3e05f6,_0x381531=new ChatsCommand(),_0x3e31a8=program[_0xe32a7a(0x431)](),_0x5cb189=await createTDXInstance(_0x3e31a8),_0x2413dd=await _0x381531[_0xe32a7a(0x1bf)]({'options':{..._0x3e31a8,..._0x378d5c},'args':[],'tdx':_0x5cb189});gracefulExit(_0x2413dd);});const authCmd=program['command'](a2_0x3e05f6(0x3b5))['description'](a2_0x3e05f6(0x318));async function runAuthStatusCommand(_0x7ae067){const _0x5b974b=a2_0x3e05f6,_0x3edfdf=new AuthStatusCommand(),_0x253f3c=program[_0x5b974b(0x431)](),_0x15b9d8=await createTDXInstance(_0x253f3c),_0x17362f=await _0x3edfdf[_0x5b974b(0x1bf)]({'options':{..._0x253f3c,..._0x7ae067},'args':[],'tdx':_0x15b9d8});gracefulExit(_0x17362f);}authCmd[a2_0x3e05f6(0x270)](runAuthStatusCommand),authCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x47c))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1b8))[a2_0x3e05f6(0x270)](runAuthStatusCommand),authCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2cf))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2d1))[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x243))['action'](async _0x1828d7=>{const _0x1f0ed3=a2_0x3e05f6,_0x486f84=new AuthSetupCommand(),_0x916f4f=program[_0x1f0ed3(0x431)](),_0x598029=await createTDXInstance(_0x916f4f),_0x1398e9=await _0x486f84['run']({'options':{..._0x916f4f,..._0x1828d7},'args':[],'tdx':_0x598029});gracefulExit(_0x1398e9);}),authCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ee))['description'](a2_0x3e05f6(0x1e6))[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x3be))['action'](async _0x400a8e=>{const _0x1cc3f8=a2_0x3e05f6,_0x5f1e5f=new AuthLoginCommand(),_0x14934a=program[_0x1cc3f8(0x431)](),_0x4c5472=await _0x5f1e5f[_0x1cc3f8(0x1bf)]({'options':{..._0x14934a,..._0x400a8e},'args':[],'tdx':null});gracefulExit(_0x4c5472);}),authCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x450))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x286))[a2_0x3e05f6(0x299)]('after',a2_0x3e05f6(0x367))[a2_0x3e05f6(0x270)](async _0x2b6185=>{const _0x319355=a2_0x3e05f6,_0x4fa41e=new AuthClearCommand(),_0x49cc13=program['opts'](),_0x52e9ac=await _0x4fa41e[_0x319355(0x1bf)]({'options':{..._0x49cc13,..._0x2b6185},'args':[],'tdx':null});gracefulExit(_0x52e9ac);});const userCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x222))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c9)),userListAction=async _0x40a269=>{const _0x32530d=a2_0x3e05f6,_0x42eb3a=new UserListCommand(),_0x5969f3=program[_0x32530d(0x431)](),_0x38e558=await createTDXInstance(_0x5969f3),_0x3bfcd1=await _0x42eb3a['run']({'options':{..._0x5969f3,..._0x40a269},'args':[],'tdx':_0x38e558});gracefulExit(_0x3bfcd1);};userCmd[a2_0x3e05f6(0x270)](async _0x45f2c6=>{const _0x389dd8=a2_0x3e05f6,_0x32544f=new UserCommand(),_0x550b3e=program[_0x389dd8(0x431)](),_0xbcd037=await createTDXInstance(_0x550b3e),_0x2c7e1c=await _0x32544f[_0x389dd8(0x1bf)]({'options':{..._0x550b3e,..._0x45f2c6},'args':[],'tdx':_0xbcd037});gracefulExit(_0x2c7e1c);}),userCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x22a))['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0x3e05f6(0x270)](userListAction),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3b6))[a2_0x3e05f6(0x343)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x3e05f6(0x270)](userListAction);const policyCmd=program['command']('policy')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3eb));policyCmd['action'](async _0x4d3565=>{const _0x1ce01c=a2_0x3e05f6,_0x47cf17=new PolicyCommand(),_0x575273=program['opts'](),_0x2fc033=await createTDXInstance(_0x575273),_0x24decb=await _0x47cf17[_0x1ce01c(0x1bf)]({'options':{..._0x575273,..._0x4d3565},'args':[],'tdx':_0x2fc033});gracefulExit(_0x24decb);}),policyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x22a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x491))[a2_0x3e05f6(0x270)](async _0x3e94ed=>{const _0xc6b75b=new PolicyListCommand(),_0x1e14d6=program['opts'](),_0x1993d7=await createTDXInstance(_0x1e14d6),_0x184e27=await _0xc6b75b['run']({'options':{..._0x1e14d6,..._0x3e94ed},'args':[],'tdx':_0x1993d7});gracefulExit(_0x184e27);}),policyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x19b))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x294))[a2_0x3e05f6(0x270)](async(_0x2215f6,_0x57be1c)=>{const _0x1eae33=a2_0x3e05f6,_0x3834e7=new PolicyShowCommand(),_0x56f2ba=program[_0x1eae33(0x431)](),_0x44db3d=await createTDXInstance(_0x56f2ba),_0x2c8acc=await _0x3834e7[_0x1eae33(0x1bf)]({'options':{..._0x56f2ba,..._0x57be1c},'args':[_0x2215f6],'tdx':_0x44db3d});gracefulExit(_0x2c8acc);}),program['command']('profiles')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2f4))['action'](async _0x35aff1=>{const _0x15449f=a2_0x3e05f6,_0x5d3b40=new ProfilesCommand(),_0x29b63f=program[_0x15449f(0x431)](),_0x16ff84=await _0x5d3b40[_0x15449f(0x1bf)]({'options':{..._0x29b63f,..._0x35aff1},'args':[],'tdx':null});gracefulExit(_0x16ff84);});function a2_0x1c3b(_0x13280f,_0x4d973f){_0x13280f=_0x13280f-0x190;const _0x1590fc=a2_0x1590();let _0x1c3bbd=_0x1590fc[_0x13280f];return _0x1c3bbd;}const profileCmd=program['command'](a2_0x3e05f6(0x3b9))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x360));profileCmd['action'](()=>{const _0x3beb05=a2_0x3e05f6;profileCmd[_0x3beb05(0x377)]();});const profileListAction=async _0x399e20=>{const _0x3f7fe9=a2_0x3e05f6,_0x37f938=new ProfilesCommand(),_0x49e0c8=program[_0x3f7fe9(0x431)](),_0x17709b=await _0x37f938[_0x3f7fe9(0x1bf)]({'options':{..._0x49e0c8,..._0x399e20},'args':[],'tdx':null});gracefulExit(_0x17709b);};profileCmd[a2_0x3e05f6(0x416)]('list')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2f4))[a2_0x3e05f6(0x270)](profileListAction),profileCmd[a2_0x3e05f6(0x416)]('create\x20[name]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x321))[a2_0x3e05f6(0x299)]('after','\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')[a2_0x3e05f6(0x270)](async(_0x3658cb,_0x2ab681)=>{const _0x3359d3=a2_0x3e05f6,_0x5bb77d=new ProfileCreateCommand(),_0x1098b8=program[_0x3359d3(0x431)](),_0x3c4a1e=await _0x5bb77d['run']({'options':{..._0x1098b8,..._0x2ab681},'args':_0x3658cb?[_0x3658cb]:[],'tdx':null});gracefulExit(_0x3c4a1e);}),profileCmd['command'](a2_0x3e05f6(0x477))[a2_0x3e05f6(0x343)]('Remove\x20a\x20profile')[a2_0x3e05f6(0x299)](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x465))[a2_0x3e05f6(0x270)](async(_0x1e22ba,_0x2da356)=>{const _0xd8dbc4=a2_0x3e05f6,_0x7f904e=new ProfileRemoveCommand(),_0x39d15e=program['opts'](),_0x2961cd=await _0x7f904e[_0xd8dbc4(0x1bf)]({'options':{..._0x39d15e,..._0x2da356},'args':[_0x1e22ba],'tdx':null});gracefulExit(_0x2961cd);}),profileCmd['command'](a2_0x3e05f6(0x426))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x23c))['addHelpText'](a2_0x3e05f6(0x19c),a2_0x3e05f6(0x215))[a2_0x3e05f6(0x270)](async(_0x3adc73,_0x25b4df)=>{const _0x3f5e9f=a2_0x3e05f6,_0x2eb7f3=new ProfileSetCommand(),_0x55c284=program[_0x3f5e9f(0x431)](),_0x556635=await _0x2eb7f3[_0x3f5e9f(0x1bf)]({'options':{..._0x55c284,..._0x25b4df},'args':[_0x3adc73],'tdx':null});gracefulExit(_0x556635);}),profileCmd[a2_0x3e05f6(0x416)]('use\x20<name>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x354))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x384),a2_0x3e05f6(0x205))['addHelpText'](a2_0x3e05f6(0x19c),'\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')['action'](async(_0x198915,_0x4db906)=>{const _0x14db82=a2_0x3e05f6,_0x578386=new ProfileUseCommand(),_0x305b4c=program[_0x14db82(0x431)](),_0x372969=await _0x578386[_0x14db82(0x1bf)]({'options':{..._0x305b4c,..._0x4db906},'args':[_0x198915],'tdx':null});gracefulExit(_0x372969);});function a2_0x1590(){const _0x1e2316=['--method\x20<pm>','--name\x20<name>','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Pause\x20a\x20running\x20journey','use\x20<name>','Add\x20attributes\x20from\x20JSON\x20file','--new','registeredArguments','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Access\x20control\x20policy\x20commands','error','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','session','summary','Run\x20specific\x20tests\x20(comma-separated)','includes','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Skip\x20validation\x20of\x20.dig\x20files','Validate\x20campaign\x20YAML\x20files\x20locally','--format\x20<format>','argument','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Query\x20engine\x20version','settings\x20<type>','join','information_schema','option','--invisible','view\x20[segment_name]','folder','argumentTerm','Revision\x20name\x20(default:\x20timestamp)','apiKey','List\x20journeys\x20(alias\x20for\x20journey\x20list)','hidden','journey','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Directory\x20does\x20not\x20exist:\x20','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','finish\x20<name-or-id>','duplicate\x20<name-or-id>','fields\x20[name]','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','accessToken','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','[options]\x20--\x20[claude-code-args...]','--limit\x20<n>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','--subject\x20<subject>','Timezone\x20for\x20cron\x20(default:\x20UTC)','allowUnknownOption','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','command','New\x20campaign\x20name','--job-type\x20<type>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--full','Delete\x20an\x20agent','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','format','--site\x20<site>','validate\x20[name]','Add\x20behaviors\x20from\x20JSON\x20file','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--add-behaviors\x20<json>','use\x20[resource]\x20[value]','agent','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','set\x20<key=value>','List\x20all\x20versions\x20of\x20a\x20journey','allowExcessArguments','update\x20<service_id>\x20[parent_segment]','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','retry','--verbose','createAsync','Read\x20HTML\x20template\x20from\x20file','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','delete\x20<args...>','opts','Job\x20priority\x20(-2\x20to\x202)','--tags\x20<tags>','-f,\x20--force','json','Name\x20for\x20the\x20duplicated\x20campaign','Generate\x20test\x20conversations\x20without\x20evaluation','--editor-type\x20<type>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','commandDescription','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--timezone\x20<tz>','version','-r,\x20--recursive','parent-segment','--status\x20<status>','pull\x20[workspace]','Create\x20a\x20scheduled\x20query','Set\x20or\x20show\x20parent\x20segment\x20context','engage_workspace','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Job\x20management\x20commands','delete\x20<agent-name>','tables\x20[pattern]','Agent\x20name','Update\x20a\x20scheduled\x20query','CDP\x20Journey\x20Orchestration\x20commands','--cron\x20<expression>','delete\x20<name>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','[DEPRECATED]\x20Segment\x20folder\x20management','clear','Workflow\x20parameter\x20(repeatable)','logLevel','--enable-utm-tracking','--params\x20<json>','Show\x20the\x20most\x20recent\x20chat','jobs','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Show\x20connection\x20details\x20by\x20name','--result\x20<target>','Pull\x20specific\x20revision\x20(default:\x20latest)','--revision\x20<revision>','153206Pzornt','Launch\x20an\x20always-on\x20campaign','New\x20workspace\x20name','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Personalization\x20description','Trino\x20catalog\x20(default:\x20td)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Output\x20file\x20path','Skip\x20population\x20counting','Data\x20connection\x20management\x20(for\x20activations/exports)','--trace','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','push\x20[source-dir]','--force','List\x20journeys\x20in\x20current\x20context','launch\x20<name-or-id>','Create\x20a\x20new\x20always-on\x20campaign','Describe\x20table\x20schema','Attributes\x20from\x20JSON\x20file','--sections\x20<json>','--attribute\x20[name]','Update\x20an\x20email\x20template','Query\x20type:\x20trino\x20or\x20hive','remove\x20<name>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Include\x20retried\x20attempts','--description\x20<text>','flags','status','timeline\x20[project.workflow]','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Push\x20without\x20confirmation','chats','tsv','Pull\x20templates\x20to\x20YAML\x20files','columns\x20<name-or-path>','parents\x20[pattern]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','System\x20prompt/instructions\x20(default:\x20empty)','--schedule-option\x20<value>','Show\x20segment\x20details\x20(alias\x20for\x20view)','--to\x20<date>','create\x20<name>\x20[parent_segment]','tdx\x20','--from\x20<n>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--include-history','kill','flatMap','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','show\x20<job-id>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','set','delete\x20<project-name-or-id>','upgrade','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Workspace\x20description','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','--dry-run','Attributes\x20as\x20JSON\x20string','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','test\x20[path]','LLM\x20agent\x20management','--delay\x20<seconds>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Maximum\x20number\x20of\x20nodes','--temperature\x20<n>','show\x20<policy>','after','Campaign\x20description','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Folder\x20description','--html-file\x20<path>','fields\x20[parent_name]','--agent\x20<ref>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','api\x20[endpoint]','Show\x20a\x20specific\x20realtime\x20personalization','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--path\x20<file-path>','--result\x20<url>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','list\x20[pattern]','--model\x20<name>','[attempt-id]','us01','Email\x20template\x20management','optionTerm','Parent\x20segment\x20description','RT\x20Journey\x20management','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','logs','Show\x20journey\x20table\x20column-to-step\x20mapping','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','database','tdx','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Retry\x20limit\x20(0\x20to\x2032)','find','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Always-on\x20campaign\x20management','Delete\x20a\x20realtime\x20personalization','run','Include\x20subtasks\x20in\x20tasks\x20output','commands','Delete\x20a\x20campaign','colorFn','List\x20available\x20connector\x20types','Show\x20email\x20template\x20details','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Email\x20sender\x20ID\x20for\x20delivery','List\x20secret\x20keys\x20for\x20a\x20project','User\x20management\x20commands','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','-C,\x20--directory\x20<path>','Output\x20as\x20JSON','--database\x20<name>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Read\x20query\x20from\x20file','forEach','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','Open\x20segment\x20in\x20web\x20browser','-r,\x20--resume','[action]','Database\x20name\x20(default:\x20information_schema)','-1d','gitRevision','job','--segment\x20<path>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Maximum\x20recursion\x20depth\x20(default:\x2010)','List\x20all\x20data\x20connections','Show\x20only\x20master\x20table\x20validation','--starter-message\x20<text>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--reason\x20<text>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Behaviors\x20as\x20JSON\x20string','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','jsonl','Delete\x20a\x20scheduled\x20query','entries','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Personalization\x20name','run\x20[name]','workspaces\x20[pattern]','pull\x20<project>\x20[target-dir]','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Invalid\x20editor\x20type:\x20','Include\x20execution\x20statistics','Workspace\x20name','attempts\x20[project]','Save\x20output\x20to\x20file','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Output\x20file\x20path\x20(default:\x20<name>.yml)','update\x20<agent-name>','--attributes-file\x20<file>','Show\x20schedule\x20details','Launch\x20a\x20campaign','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Workflow\x20project\x20management','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','padWidth','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','noColor','push\x20[file]','Create\x20segment\x20folder','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','-u,\x20--use','1518471iIkIzG','Workspace\x20name\x20(required)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','-d,\x20--database\x20<database>','Enable\x20UTM\x20tracking','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--table','use\x20[project]','isArray','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','attempt','slice','Arguments:','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','\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','schema\x20<type>','stdout','\x22.\x20Must\x20be\x20a\x20number.','grapesjs','--name\x20<names>','--kind\x20<type>','Create\x20a\x20new\x20LLM\x20project','Resume\x20from\x20specific\x20task\x20(retry)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','161518OrfaDA','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','configureHelp','user','Service\x20description','--add-attributes-file\x20<file>','chdir','Table\x20management\x20commands','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Update\x20a\x20campaign','preview\x20[name]','list','Workspace\x20management','Kill\x20a\x20job','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','--yes','Output\x20as\x20JSON\x20Lines','agents\x20[pattern]','query\x20[sql]','--file\x20<path>','Show\x20what\x20would\x20be\x20written\x20without\x20writing','-o,\x20--output\x20<file>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Unknown\x20action:\x20','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','validate\x20[file]','Show\x20always-on\x20campaign\x20details','Scheduled\x20query\x20management\x20commands','List\x20available\x20LLM\x20models','Set\x20a\x20profile\x20configuration\x20value','--name\x20<text>','New\x20template\x20name','describe','patch\x20<personalization_id>','info\x20[segment_name]','variadic','\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','Starting\x20offset\x20(default:\x200)','Customer\x20group\x20from\x20JSON\x20file','--plaintext\x20<text>','log','create\x20<segment_name>','-d,\x20--database\x20<db>','list\x20[name]','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Version\x20number\x20to\x20view','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Agent\x20description','preview\x20[file]','filter','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--data\x20<data>','--no-proxy','log\x20<chat-id>','activations\x20<segment_name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','alias','Read\x20SQL\x20query\x20from\x20file','Change\x20to\x20directory\x20before\x20executing\x20command','--clear','init\x20[name]','--attributes\x20<json>','workflows\x20[project]','--to\x20<timestamp>','--email-sender-id\x20<id>','Add\x20behaviors\x20as\x20JSON\x20string','--skip-validation','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','-f,\x20--file\x20<path>','upgrade\x20[version]','Show\x20all\x20files\x20including\x20valid\x20ones','--version','--description\x20<desc>','parse','--last','--enriched','Custom\x20revision\x20name\x20(default:\x20timestamp)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','New\x20segment\x20name','pull\x20[parent_or_file]','create\x20<parent_name>\x20<folder_name>','action','--from\x20<date>','buildTime','Maximum\x20rows\x20to\x20display','Preview\x20without\x20creating\x20the\x20project','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--html\x20<html>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Sections\x20as\x20an\x20inline\x20JSON\x20array','--master','--to\x20<n>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','GET','--session-time\x20<time>','--priority\x20<-2~2>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','trino','submit\x20[query]','24844ZQaWIh','Read\x20request\x20body\x20from\x20file','connection','Remove\x20API\x20key\x20from\x20system\x20keychain','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','--engine-version\x20<version>','--output\x20<file>','Follow/watch\x20timeline\x20for\x20running\x20attempts','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--rule-file\x20<file>','--chat-id\x20<id>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--param\x20<key=value>','Database\x20name','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','--resume-from\x20<task>','claude\x20[args...]','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','--tsv','Delete\x20a\x20workspace','sql\x20[name]','workspace','addHelpText','-p,\x20--profile\x20<name>','llm','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','replace','isTTY','12004MXxsfL','218568sTDGiR','show\x20<folder_ref>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Preview\x20operation\x20without\x20executing','--limit\x20<number>','\x20-\x20built\x20','update\x20<segment_name>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','name','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','token','-y,\x20--yes','Clear\x20session\x20context','Show\x20workspace\x20details','requiredOption','Duplicate\x20a\x20campaign','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','--behaviors\x20<json>','--session\x20<id>','--version\x20<number>','view\x20<name-or-path>','_hidden','clone\x20[source-dir]','--from\x20<timestamp>','--retry-limit\x20<0~32>','Attempt\x20ID','LLM\x20project\x20to\x20use\x20(overrides\x20context)','list\x20[path]','get','Usage:\x20','push\x20[parent_or_file]','--customer-group\x20<json>','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Pull\x20child\x20segments\x20to\x20YAML\x20files','LLM\x20project\x20management','tasks','Start\x20a\x20new\x20chat\x20session','desc','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','set\x20<args...>','push\x20[target]','0.7','site','injectIntoOptions','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','setup','--type\x20<api_type>','Setup\x20API\x20key\x20authentication\x20interactively','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Validate\x20journey\x20YAML\x20files\x20locally','table','Resume\x20a\x20paused\x20always-on\x20campaign','-w,\x20--web','resume\x20<name-or-id>','update\x20<name>','argv','--workspace\x20<name>','Show\x20schedule\x20execution\x20history','-o,\x20--output\x20<dir>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--behaviors-file\x20<file>','show\x20[name]','Workflow\x20session\x20management','optionDescription','--json','show\x20[table]','Timezone\x20for\x20cron','--reeval','--timeout\x20<seconds>','attempt:','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Campaign\x20name','--time\x20<iso8601>','Show\x20campaign\x20details','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','mcp','login','Pull\x20campaigns\x20to\x20YAML\x20files','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--help','--in\x20<db>','--delete','List\x20all\x20available\x20profiles','\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','Alias\x20for\x20--database\x20(natural\x20language\x20style)','push\x20[path]','--system-prompt\x20<text>','sessions\x20[project]','--in\x20<database>','\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','debug','Delete\x20an\x20email\x20template','Parent\x20folder\x20name\x20for\x20nested\x20folders','Show\x20stats\x20for\x20specific\x20stage','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','resume\x20<name-or-path>','--no-eval','help','backup\x20<name>','Customer\x20group\x20as\x20JSON\x20string','--max-depth\x20<depth>','Include\x20raw\x20history\x20data\x20in\x20output','usage','Overwrite\x20local\x20changes\x20without\x20confirmation','use\x20<project-name>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Output\x20folder\x20(default:\x20{project_name}.llm)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Plaintext\x20template\x20content','--start-at\x20<datetime>','create','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Options:','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','35lDepCN','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','-X,\x20--method\x20<method>','Authentication\x20management','--jsonl','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','update\x20<name-or-id>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','use\x20[name]','[task-name]','-H,\x20--header\x20<header>','Starter\x20message','Create\x20a\x20new\x20profile','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Personalization\x20management','--prompt\x20<text>','validate\x20[target]','list\x20[project]','--name\x20<new_name>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Pull\x20specific\x20template\x20by\x20name','workflow','Result\x20output\x20destination\x20URL','directory','Show\x20authentication\x20status\x20and\x20current\x20context','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Delete\x20an\x20LLM\x20project','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','--from-task\x20<task>','HTML\x20template\x20content','pause_activations\x20<journeyId>','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Database\x20management\x20commands','Validate\x20template\x20YAML\x20files\x20locally','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Pause\x20a\x20campaign','clone\x20[source]','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','--color','--name\x20<new-name>','Include\x20retried\x20attempts\x20(for\x20list)','subcommandDescription','129882LJxjdB','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','use\x20<path>','description','pull\x20[name]','then','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Delay\x20in\x20seconds\x20before\x20execution','--num\x20<1-10>','engage','Update\x20an\x20existing\x20agent','--include-retried','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','DEBUG','--type\x20<type>','senders\x20[pattern]','Campaign\x20type\x20(email\x20or\x20push)','--llm-project\x20<name>','Show\x20master\x20table\x20sample\x20data','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','commandUsage','--folder-id\x20<id>','--audience-id\x20<id>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','subcommandTerm','Database\x20name\x20(required)','Email\x20subject\x20template','templates\x20[pattern]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior',',\x20version\x20','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','length','delete\x20<name-or-id>','Journey\x20version\x20management','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Action:\x20logs,\x20tasks,\x20kill,\x20retry','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','\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','Submit\x20a\x20job','INVALID_ARGUMENT','--stream','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','parent','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','beefree','pull\x20[workspace-name]','--stage\x20<name>','--behavior\x20[name]','Make\x20service\x20public\x20(default:\x20private)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Update\x20a\x20workspace','create\x20<name>','New\x20service\x20name','outputHelp','create\x20<name-or-path>','folders\x20<parent_name>','Name\x20for\x20the\x20new\x20project\x20(required)','-o,\x20--output\x20<folder>','--folder\x20<name>','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','view\x20[name]','Create\x20a\x20workspace','sql\x20[segment_name]','--attempt-id\x20<id>','--default','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','delete\x20<token_id>\x20[parent_segment]','Campaign\x20management','_list-commands','delete\x20<service_id>\x20[parent_segment]','Invalid\x20--limit\x20value:\x20\x22','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--next','show\x20<name>','catch','claude-4.5-sonnet','map','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','configuration_versions\x20[name]','--public','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','desc\x20[name]','--rule\x20<json>','repeat','Add\x20attributes\x20as\x20JSON\x20string','Database\x20to\x20query\x20(default:\x20information_schema)','RT\x202.0\x20configuration\x20management','--schedule-type\x20<type>','Project\x20description','--json-columns\x20<cols>','schedule','projects\x20[pattern]','Show\x20journey\x20details','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Resume\x20a\x20conversation\x20(shows\x20selector)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','required','Master\x20database\x20name','--max-tool-iterations\x20<n>','TRACE','pause\x20<name-or-id>','Output\x20directory','service','Filtering\x20rule\x20from\x20JSON\x20file','Update\x20an\x20always-on\x20campaign','hook','Override\x20project\x20name','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Updated\x20description','auth','users','Finish\x20an\x20always-on\x20campaign','Show\x20timeline\x20for\x20specific\x20attempt','profile','split','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','history\x20<name>','--interval\x20<range>','27EVEyOk','Folder\x20name\x20for\x20organization','run\x20<name>','Timezone\x20(e.g.,\x20America/Los_Angeles)','secrets','push','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','options','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--table\x20<table>','Skip\x20confirmation\x20prompt','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','models','Continue\x20most\x20recent\x20conversation','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Update\x20a\x20realtime\x20personalization\x20entity','Export\x20journey(s)\x20as\x20YAML\x20files','Create\x20a\x20new\x20campaign','retry\x20<session-id>','segment','Pull\x20specific\x20campaign\x20by\x20name','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Show\x20job\x20details','List\x20activations\x20for\x20a\x20journey','Make\x20segment\x20invisible\x20(default:\x20visible)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','List\x20agents\x20in\x20current\x20project','campaigns\x20[pattern]','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','-v,\x20--verbose'];a2_0x1590=function(){return _0x1e2316;};return a2_0x1590();}const engageCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x349))['description']('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x4351ef=>{return async(_0x4d5e71,_0x32db11)=>{const _0x203e40=new _0x4351ef(),_0x10e208=program['opts'](),_0x402300=await createTDXInstance(_0x10e208),_0x48ad22=await _0x203e40['run']({'options':{..._0x10e208,..._0x32db11},'args':[_0x4d5e71],'tdx':_0x402300});gracefulExit(_0x48ad22);};},createEngageNoArgAction=_0x5d9a4e=>{return async _0x5106eb=>{const _0x294428=a2_0x1c3b,_0x32de48=new _0x5d9a4e(),_0x78ef8c=program[_0x294428(0x431)](),_0x1f8605=await createTDXInstance(_0x78ef8c),_0x217aca=await _0x32de48[_0x294428(0x1bf)]({'options':{..._0x78ef8c,..._0x5106eb},'args':[],'tdx':_0x1f8605});gracefulExit(_0x217aca);};},createEngageListAction=_0x117a4d=>{return async(_0xa33bdf,_0x48e59e)=>{const _0x8d80ef=a2_0x1c3b,_0x43f8be=new _0x117a4d(),_0x1e0f99=program[_0x8d80ef(0x431)](),_0x21e4e9=await createTDXInstance(_0x1e0f99),_0x116f59=await _0x43f8be['run']({'options':{..._0x1e0f99,..._0x48e59e},'args':_0xa33bdf?[_0xa33bdf]:[],'tdx':_0x21e4e9});gracefulExit(_0x116f59);};},campaignCmd=engageCmd[a2_0x3e05f6(0x416)]('campaign')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x387));campaignCmd['command'](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x499))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x43b))['option']('--status\x20<status>',a2_0x3e05f6(0x2ec))[a2_0x3e05f6(0x3fc)]('--workspace\x20<name>',a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3de))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x37f))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3e05f6(0x3fc)]('--workspace\x20<name>','Workspace\x20name')[a2_0x3e05f6(0x270)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x3e05f6(0x416)]('show\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2eb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),'Workspace\x20name')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x41a),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x311))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d4))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x2e9))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x34e),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x267),'Campaign\x20description')['option']('--segment\x20<path>',a2_0x3e05f6(0x421))['option'](a2_0x3e05f6(0x25f),a2_0x3e05f6(0x1c7))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3a0),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')['option'](a2_0x3e05f6(0x310),a2_0x3e05f6(0x397))[a2_0x3e05f6(0x3fc)]('--timezone\x20<tz>',a2_0x3e05f6(0x300))[a2_0x3e05f6(0x270)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31b))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x228))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),'New\x20campaign\x20name')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x267),a2_0x3e05f6(0x19d))[a2_0x3e05f6(0x3fc)]('--segment\x20<path>',a2_0x3e05f6(0x421))['option'](a2_0x3e05f6(0x25f),a2_0x3e05f6(0x1c7))['option'](a2_0x3e05f6(0x3a0),a2_0x3e05f6(0x445))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x310),a2_0x3e05f6(0x397))[a2_0x3e05f6(0x3fc)]('--timezone\x20<tz>',a2_0x3e05f6(0x300))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x362))['description'](a2_0x3e05f6(0x1c2))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x22e),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x3e05f6(0x46f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1fb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3ac))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x339))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2d7))[a2_0x3e05f6(0x343)]('Resume\x20a\x20paused\x20campaign')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),'Workspace\x20name')[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3e05f6(0x416)]('duplicate\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2b0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x36f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2ef))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),'Workspace\x20name')['option'](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x3d7))['option']('--type\x20<type>',a2_0x3e05f6(0x43b))[a2_0x3e05f6(0x3fc)]('--dry-run',a2_0x3e05f6(0x233))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ca))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x19e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))['option'](a2_0x3e05f6(0x192),a2_0x3e05f6(0x312))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x325))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3f4))[a2_0x3e05f6(0x3fc)]('--verbose',a2_0x3e05f6(0x265))[a2_0x3e05f6(0x270)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x3e05f6(0x416)]('always-on-campaign')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1bd));alwaysOnCampaignCmd['command'](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2d2))[a2_0x3e05f6(0x3fc)]('--type\x20<type>',a2_0x3e05f6(0x43b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),a2_0x3e05f6(0x3c7))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),'Workspace\x20name\x20(required)')[a2_0x3e05f6(0x270)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x3e05f6(0x416)]('always-on-campaigns\x20[pattern]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x40c))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x43b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x440),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')['requiredOption'](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)]('show\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x239))[a2_0x3e05f6(0x2af)]('--workspace\x20<name>',a2_0x3e05f6(0x208))['option'](a2_0x3e05f6(0x41a),a2_0x3e05f6(0x2dd))[a2_0x3e05f6(0x270)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)]('create')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x470))[a2_0x3e05f6(0x2af)]('--name\x20<name>',a2_0x3e05f6(0x2e9))['requiredOption'](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x350))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),'Workspace\x20name\x20(required)')[a2_0x3e05f6(0x3fc)]('--description\x20<desc>',a2_0x3e05f6(0x19d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1da),a2_0x3e05f6(0x425))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x453),a2_0x3e05f6(0x20b))[a2_0x3e05f6(0x270)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31b))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3b0))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x417))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x267),a2_0x3e05f6(0x19d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1da),a2_0x3e05f6(0x425))['option']('--enable-utm-tracking',a2_0x3e05f6(0x20b))['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x362))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x291))[a2_0x3e05f6(0x2af)]('--workspace\x20<name>',a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)]('--yes',a2_0x3e05f6(0x3cc))['action'](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x46f))['description'](a2_0x3e05f6(0x45e))['requiredOption'](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x270)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3ac))[a2_0x3e05f6(0x343)]('Pause\x20an\x20always-on\x20campaign')[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x270)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2d7))['description'](a2_0x3e05f6(0x2d5))[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x409))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3b7))['requiredOption'](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x22e),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x270)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x3e05f6(0x40a))[a2_0x3e05f6(0x343)]('Duplicate\x20an\x20always-on\x20campaign')['requiredOption']('--workspace\x20<name>',a2_0x3e05f6(0x208))['requiredOption'](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x436))['action'](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command']('template')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1ae));templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x1b5))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x35c))[a2_0x3e05f6(0x343)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x270)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command']('show\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c5))['option']('--workspace\x20<name>',a2_0x3e05f6(0x1f3))[a2_0x3e05f6(0x3fc)]('--full',a2_0x3e05f6(0x2dd))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3e05f6(0x416)]('create')['description']('Create\x20an\x20email\x20template')[a2_0x3e05f6(0x2af)]('--name\x20<name>','Template\x20name')['requiredOption'](a2_0x3e05f6(0x412),a2_0x3e05f6(0x35b))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x276),a2_0x3e05f6(0x332))[a2_0x3e05f6(0x3fc)]('--html-file\x20<path>',a2_0x3e05f6(0x42e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x208))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x246),a2_0x3e05f6(0x30f))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x438),a2_0x3e05f6(0x277),_0x29ccca=>{const _0x5c6830=a2_0x3e05f6;if(![_0x5c6830(0x36e),_0x5c6830(0x219)]['includes'](_0x29ccca))throw new SDKError(ErrorCode[_0x5c6830(0x369)],_0x5c6830(0x1f1)+_0x29ccca+_0x5c6830(0x1e7));return _0x29ccca;})[a2_0x3e05f6(0x270)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31b))['description'](a2_0x3e05f6(0x475))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))['option'](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x23e))['option'](a2_0x3e05f6(0x412),a2_0x3e05f6(0x35b))['option']('--html\x20<html>',a2_0x3e05f6(0x332))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1a0),a2_0x3e05f6(0x42e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x246),a2_0x3e05f6(0x30f))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x441))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x482))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),'Workspace\x20name')['option'](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x329))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2ac),'Skip\x20confirmation\x20prompt')['option'](a2_0x3e05f6(0x192),a2_0x3e05f6(0x233))[a2_0x3e05f6(0x270)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ca))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1eb))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))['option'](a2_0x3e05f6(0x2ac),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x312))[a2_0x3e05f6(0x270)](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0x3e05f6(0x325))['description'](a2_0x3e05f6(0x336))['option'](a2_0x3e05f6(0x42c),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x3e05f6(0x270)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x362))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2fd))['option'](a2_0x3e05f6(0x2da),a2_0x3e05f6(0x1f3))['option'](a2_0x3e05f6(0x22e),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x270)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x298))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x22b));workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x366))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1ee))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x30c))['action'](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command']('show\x20<name-or-id>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2ae))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x41a),a2_0x3e05f6(0x2dd))[a2_0x3e05f6(0x270)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x311))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x381))[a2_0x3e05f6(0x2af)]('--name\x20<name>','Workspace\x20name')[a2_0x3e05f6(0x3fc)]('--description\x20<desc>',a2_0x3e05f6(0x498))[a2_0x3e05f6(0x270)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x31b))['description'](a2_0x3e05f6(0x374))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3e2),a2_0x3e05f6(0x45f))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x267),a2_0x3e05f6(0x498))[a2_0x3e05f6(0x270)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x362))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x296))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x22e),a2_0x3e05f6(0x3cc))[a2_0x3e05f6(0x270)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3e6))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x358))[a2_0x3e05f6(0x270)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x3e05f6(0x416)]('delivery')[a2_0x3e05f6(0x343)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x34f))['description']('List\x20email\x20senders')[a2_0x3e05f6(0x3fc)]('--workspace\x20<name>','Workspace\x20name')[a2_0x3e05f6(0x270)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x285))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x468)),connectionListAction=async _0x3d9e95=>{const _0x55369b=a2_0x3e05f6,_0x551e11=new ConnectionListCommand(),_0x210045=program[_0x55369b(0x431)](),_0x3674c7=await createTDXInstance(_0x210045),_0x3fc229=await _0x551e11['run']({'options':{..._0x210045,..._0x3d9e95},'args':[],'tdx':_0x3674c7});gracefulExit(_0x3fc229);};connectionCmd['command'](a2_0x3e05f6(0x22a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1dd))[a2_0x3e05f6(0x270)](connectionListAction),program[a2_0x3e05f6(0x416)]('connections',{'hidden':!![]})[a2_0x3e05f6(0x343)]('List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)')[a2_0x3e05f6(0x270)](connectionListAction),connectionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x38f))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x459))[a2_0x3e05f6(0x270)](async(_0x3ccfce,_0x211272)=>{const _0x2c03c4=a2_0x3e05f6,_0x7cf87=new ConnectionShowCommand(),_0x30b7e7=program[_0x2c03c4(0x431)](),_0x4150b5=await createTDXInstance(_0x30b7e7),_0x55243d=await _0x7cf87[_0x2c03c4(0x1bf)]({'options':{..._0x30b7e7,..._0x211272},'args':[_0x3ccfce],'tdx':_0x4150b5});gracefulExit(_0x55243d);}),connectionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x216))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1a3))[a2_0x3e05f6(0x270)](async(_0xf0fe1c,_0x467639)=>{const _0x84a3f0=a2_0x3e05f6,_0x258177=new ConnectionSchemaCommand(),_0xed1569=program[_0x84a3f0(0x431)](),_0x38a0ff=await createTDXInstance(_0xed1569),_0x400cc3=await _0x258177[_0x84a3f0(0x1bf)]({'options':{..._0xed1569,..._0x467639},'args':[_0xf0fe1c],'tdx':_0x38a0ff});gracefulExit(_0x400cc3);}),connectionCmd[a2_0x3e05f6(0x416)]('types')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x1c4))['action'](async _0x4aaea7=>{const _0x5f21ba=a2_0x3e05f6,_0x469fa3=new ConnectionTypesCommand(),_0x405a13=program[_0x5f21ba(0x431)](),_0x1a6259=await createTDXInstance(_0x405a13),_0x394aa0=await _0x469fa3[_0x5f21ba(0x1bf)]({'options':{..._0x405a13,..._0x4aaea7},'args':[],'tdx':_0x1a6259});gracefulExit(_0x394aa0);}),connectionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x3f9))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x408))[a2_0x3e05f6(0x270)](async(_0x329026,_0x5110b7)=>{const _0x447a46=a2_0x3e05f6,_0x344cbd=new ConnectionSettingsCommand(),_0x3fa786=program['opts'](),_0xd16df9=await createTDXInstance(_0x3fa786),_0x363354=await _0x344cbd[_0x447a46(0x1bf)]({'options':{..._0x3fa786,..._0x5110b7},'args':[_0x329026],'tdx':_0xd16df9});gracefulExit(_0x363354);});const journeyCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x405))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x44b)),journeyListAction=async(_0x57878b,_0x4b33a7)=>{const _0x2208fb=a2_0x3e05f6,_0xac217c=new JourneyListCommand(),_0x4573bc=program[_0x2208fb(0x431)](),_0x3482cb=await createTDXInstance(_0x4573bc),_0x58a17a=await _0xac217c['run']({'options':{..._0x4573bc,..._0x4b33a7},'args':_0x57878b?[_0x57878b]:[],'tdx':_0x3482cb});gracefulExit(_0x58a17a);};journeyCmd['command'](a2_0x3e05f6(0x1aa))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x46e))[a2_0x3e05f6(0x270)](journeyListAction),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2b6))['description'](a2_0x3e05f6(0x3a3))[a2_0x3e05f6(0x3fc)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')[a2_0x3e05f6(0x3fc)]('--include-stats',a2_0x3e05f6(0x1f2))['action'](async(_0x5c5770,_0x180e3a)=>{const _0x32992a=a2_0x3e05f6,_0x44c6a5=new JourneyViewCommand(),_0x1756e4=program[_0x32992a(0x431)](),_0x153a55=await createTDXInstance(_0x1756e4),_0x3265e2=await _0x44c6a5[_0x32992a(0x1bf)]({'options':{..._0x1756e4,..._0x180e3a},'args':[_0x5c5770],'tdx':_0x153a55});gracefulExit(_0x3265e2);}),journeyCmd[a2_0x3e05f6(0x416)]('stats\x20<name-or-path>')[a2_0x3e05f6(0x343)]('Show\x20journey\x20statistics')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x370),a2_0x3e05f6(0x2ff))['option'](a2_0x3e05f6(0x271),a2_0x3e05f6(0x364))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x489),a2_0x3e05f6(0x439))['option'](a2_0x3e05f6(0x48e),a2_0x3e05f6(0x307))[a2_0x3e05f6(0x270)](async(_0x5d096e,_0x34b5ff)=>{const _0x277eae=a2_0x3e05f6,_0x12de77=new JourneyStatsCommand(),_0x33727e=program[_0x277eae(0x431)](),_0x53ecd6=await createTDXInstance(_0x33727e),_0x322bc0=await _0x12de77['run']({'options':{..._0x33727e,..._0x34b5ff},'args':[_0x5d096e],'tdx':_0x53ecd6});gracefulExit(_0x322bc0);}),journeyCmd[a2_0x3e05f6(0x416)]('traffic\x20<name-or-path>')['description'](a2_0x3e05f6(0x36d))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x34e),a2_0x3e05f6(0x32e))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x271),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option']('--to\x20<date>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x3e05f6(0x3fc)]('--limit\x20<number>',a2_0x3e05f6(0x199),_0xeb9e16=>{const _0x1de280=a2_0x3e05f6,_0x346300=parseInt(_0xeb9e16,0xa);if(isNaN(_0x346300))throw new Error(_0x1de280(0x38a)+_0xeb9e16+_0x1de280(0x218));return _0x346300;})[a2_0x3e05f6(0x270)](async(_0x1731c5,_0x2e8923)=>{const _0x593c8=a2_0x3e05f6,_0xbbc6aa=new JourneyTrafficCommand(),_0x391852=program[_0x593c8(0x431)](),_0x4f787f=await createTDXInstance(_0x391852),_0x200a09=await _0xbbc6aa['run']({'options':{..._0x391852,..._0x2e8923},'args':[_0x1731c5],'tdx':_0x4f787f});gracefulExit(_0x200a09);}),journeyCmd[a2_0x3e05f6(0x416)]('pause\x20<name-or-path>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3e5))['action'](async(_0x3cadaf,_0x178052)=>{const _0x2b75b3=a2_0x3e05f6,_0x251ad5=new JourneyPauseCommand(),_0x1c2511=program[_0x2b75b3(0x431)](),_0x29a345=await createTDXInstance(_0x1c2511),_0x4936fe=await _0x251ad5['run']({'options':{..._0x1c2511,..._0x178052},'args':[_0x3cadaf],'tdx':_0x29a345});gracefulExit(_0x4936fe);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x301))[a2_0x3e05f6(0x343)]('Resume\x20a\x20paused\x20journey')['action'](async(_0x27542e,_0x273228)=>{const _0x1c41f7=a2_0x3e05f6,_0x3890c8=new JourneyResumeCommand(),_0x31f32a=program[_0x1c41f7(0x431)](),_0xf2c15b=await createTDXInstance(_0x31f32a),_0x3c1b29=await _0x3890c8[_0x1c41f7(0x1bf)]({'options':{..._0x31f32a,..._0x273228},'args':[_0x27542e],'tdx':_0xf2c15b});gracefulExit(_0x3c1b29);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x344))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3d3))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),a2_0x3e05f6(0x346))[a2_0x3e05f6(0x270)](async(_0x1d8733,_0x3f6d52)=>{const _0x3f3223=a2_0x3e05f6,_0x229cfe=new JourneyPullCommand(),_0x24357f=program[_0x3f3223(0x431)](),_0x14acaf=await createTDXInstance(_0x24357f),_0x435878=await _0x229cfe[_0x3f3223(0x1bf)]({'options':{..._0x24357f,..._0x3f6d52},'args':_0x1d8733?[_0x1d8733]:[],'tdx':_0x14acaf});gracefulExit(_0x435878);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2ca))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x41c))[a2_0x3e05f6(0x270)](async(_0x557b21,_0x177392)=>{const _0x11e2b2=a2_0x3e05f6,_0x54166a=new JourneyPushCommand(),_0x49716b=program[_0x11e2b2(0x431)](),_0xcc321a=await createTDXInstance(_0x49716b),_0x526385=await _0x54166a[_0x11e2b2(0x1bf)]({'options':{..._0x49716b,..._0x177392},'args':_0x557b21?[_0x557b21]:[],'tdx':_0xcc321a});gracefulExit(_0x526385);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x483))['description'](a2_0x3e05f6(0x1b4))['action'](async(_0x1d79a3,_0x5e2194)=>{const _0x5647f2=a2_0x3e05f6,_0x2e35d6=new JourneyColumnsCommand(),_0x1fae7a=program[_0x5647f2(0x431)](),_0x45073=await createTDXInstance(_0x1fae7a),_0x3bf67e=await _0x2e35d6['run']({'options':{..._0x1fae7a,..._0x5e2194},'args':[_0x1d79a3],'tdx':_0x45073});gracefulExit(_0x3bf67e);}),journeyCmd[a2_0x3e05f6(0x416)]('activations\x20<name-or-path>')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x3da))[a2_0x3e05f6(0x270)](async(_0x25bc75,_0x26d8b7)=>{const _0x4ec734=a2_0x3e05f6,_0x341c85=new JourneyActivationsCommand(),_0x53a965=program[_0x4ec734(0x431)](),_0x25c6eb=await createTDXInstance(_0x53a965),_0xd4fb60=await _0x341c85['run']({'options':{..._0x53a965,..._0x26d8b7},'args':[_0x25bc75],'tdx':_0x25c6eb});gracefulExit(_0xd4fb60);}),journeyCmd[a2_0x3e05f6(0x416)]('versions\x20<name-or-path>')['description'](a2_0x3e05f6(0x427))[a2_0x3e05f6(0x270)](async(_0x413318,_0x3709f5)=>{const _0x4656a8=a2_0x3e05f6,_0x4df8ed=new JourneyVersionsCommand(),_0x25ca0e=program[_0x4656a8(0x431)](),_0x565aaa=await createTDXInstance(_0x25ca0e),_0x518631=await _0x4df8ed[_0x4656a8(0x1bf)]({'options':{..._0x25ca0e,..._0x3709f5},'args':[_0x413318],'tdx':_0x565aaa});gracefulExit(_0x518631);});const journeyVersionCmd=journeyCmd['command'](a2_0x3e05f6(0x43d))['description'](a2_0x3e05f6(0x363));journeyVersionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x378))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x393))[a2_0x3e05f6(0x270)](async(_0x4ed352,_0x378aae)=>{const _0x2e6d84=a2_0x3e05f6,_0x4cece0=new JourneyVersionCreateCommand(),_0x38cba7=program[_0x2e6d84(0x431)](),_0x598a29=await createTDXInstance(_0x38cba7),_0x37ca1f=await _0x4cece0['run']({'options':{..._0x38cba7,..._0x378aae},'args':[_0x4ed352],'tdx':_0x598a29});gracefulExit(_0x37ca1f);}),journeyVersionCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x2b6))[a2_0x3e05f6(0x343)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')[a2_0x3e05f6(0x2af)](a2_0x3e05f6(0x2b5),a2_0x3e05f6(0x24c))[a2_0x3e05f6(0x270)](async(_0x5d5dd6,_0x2ac9e2)=>{const _0x458467=a2_0x3e05f6,_0x77e239=new JourneyVersionViewCommand(),_0x53a7ae=program[_0x458467(0x431)](),_0xcea7e4=await createTDXInstance(_0x53a7ae),_0x248ff6=await _0x77e239[_0x458467(0x1bf)]({'options':{..._0x53a7ae,..._0x2ac9e2},'args':[_0x5d5dd6],'tdx':_0xcea7e4});gracefulExit(_0x248ff6);}),journeyCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x325))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2d3))[a2_0x3e05f6(0x270)](async(_0x4d1408,_0x33d442)=>{const _0x29cca8=a2_0x3e05f6,_0x116bc8=new JourneyValidateCommand(),_0x2e4857=program[_0x29cca8(0x431)](),_0x4f18f6=await createTDXInstance(_0x2e4857),_0x1412f3=await _0x116bc8[_0x29cca8(0x1bf)]({'options':{..._0x2e4857,..._0x33d442},'args':_0x4d1408?[_0x4d1408]:[],'tdx':_0x4f18f6});gracefulExit(_0x1412f3);}),program[a2_0x3e05f6(0x416)]('journeys\x20[pattern]')[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x403))['action'](journeyListAction);const agentSyncCmd=program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x424))['description'](a2_0x3e05f6(0x196));agentSyncCmd[a2_0x3e05f6(0x416)]('pull\x20[project]\x20[agent-name]')[a2_0x3e05f6(0x343)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2dc),a2_0x3e05f6(0x3ad))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x434),a2_0x3e05f6(0x309))[a2_0x3e05f6(0x3fc)]('-a,\x20--agent\x20<name>',a2_0x3e05f6(0x415))['action'](async(_0xd8b1e4,_0x237edf,_0x4aec8f)=>{const _0x2be5be=a2_0x3e05f6,_0x4b2420=new AgentPullCommand(),_0x44b1f0=program['opts'](),_0x258166=await createTDXInstance(_0x44b1f0),_0x3e6207=[];if(_0xd8b1e4)_0x3e6207[_0x2be5be(0x3c6)](_0xd8b1e4);if(_0x237edf)_0x3e6207[_0x2be5be(0x3c6)](_0x237edf);const _0x3cc02a=await _0x4b2420[_0x2be5be(0x1bf)]({'options':{..._0x44b1f0,..._0x4aec8f},'args':_0x3e6207,'tdx':_0x258166});gracefulExit(_0x3cc02a);}),agentSyncCmd['command'](a2_0x3e05f6(0x2f7))[a2_0x3e05f6(0x343)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x434),a2_0x3e05f6(0x47f))[a2_0x3e05f6(0x270)](async(_0xbdba22,_0x50bf44)=>{const _0x2d1be5=new AgentPushCommand(),_0x1dc599=program['opts'](),_0x66b023=await createTDXInstance(_0x1dc599),_0x10ecdb=await _0x2d1be5['run']({'options':{..._0x1dc599,..._0x50bf44},'args':_0xbdba22?[_0xbdba22]:[],'tdx':_0x66b023});gracefulExit(_0x10ecdb);}),agentSyncCmd['command'](a2_0x3e05f6(0x33a))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x2b1))[a2_0x3e05f6(0x3fc)]('-n,\x20--name\x20<name>',a2_0x3e05f6(0x37a))[a2_0x3e05f6(0x270)](async(_0x4c3e90,_0x223f73)=>{const _0x5eaf57=a2_0x3e05f6,_0x9b467=new AgentCloneCommand(),_0x5f4d85=program[_0x5eaf57(0x431)](),_0x3f354c=await createTDXInstance(_0x5f4d85),_0x448944=await _0x9b467[_0x5eaf57(0x1bf)]({'options':{..._0x5f4d85,..._0x223f73},'args':_0x4c3e90?[_0x4c3e90]:[],'tdx':_0x3f354c});gracefulExit(_0x448944);}),agentSyncCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x195))[a2_0x3e05f6(0x343)]('Run\x20tests\x20for\x20an\x20LLM\x20agent')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x21a),a2_0x3e05f6(0x3f0))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x433),a2_0x3e05f6(0x2ce))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x192),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x302),a2_0x3e05f6(0x437))['option'](a2_0x3e05f6(0x2e5),a2_0x3e05f6(0x3e3))[a2_0x3e05f6(0x270)](async(_0x110ce1,_0x2cc90d)=>{const _0x569d91=a2_0x3e05f6,_0x3b0dce=new AgentTestCommand(),_0x4081c4=program[_0x569d91(0x431)](),_0x4f414d=await createTDXInstance(_0x4081c4),_0x2d0257=await _0x3b0dce['run']({'options':{..._0x4081c4,..._0x2cc90d},'args':_0x110ce1?[_0x110ce1]:[],'tdx':_0x4f414d});gracefulExit(_0x2d0257);}),agentSyncCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1aa))['description'](a2_0x3e05f6(0x3dd))[a2_0x3e05f6(0x270)](llmAgentListAction),agentSyncCmd['command']('show\x20<agent-name>')[a2_0x3e05f6(0x343)]('Show\x20agent\x20details')[a2_0x3e05f6(0x270)](async(_0x3bcccc,_0x2986ec)=>{const _0x73a802=a2_0x3e05f6,_0x4c41f6=new LLMAgentShowCommand(),_0x1b1fee=program[_0x73a802(0x431)](),_0x224a2e=await createTDXInstance(_0x1b1fee),_0x3b49d1=await _0x4c41f6['run']({'options':{..._0x1b1fee,..._0x2986ec},'args':[_0x3bcccc],'tdx':_0x224a2e});gracefulExit(_0x3b49d1);}),agentSyncCmd['command'](a2_0x3e05f6(0x375))[a2_0x3e05f6(0x343)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x2f8),a2_0x3e05f6(0x486))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x1ab),a2_0x3e05f6(0x458),a2_0x3e05f6(0x391))['option'](a2_0x3e05f6(0x1df),'Starter\x20message')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x3aa),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x19a),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x3e05f6(0x2cb))[a2_0x3e05f6(0x270)](async(_0x4e3b6c,_0x3cf711)=>{const _0x14ecc6=a2_0x3e05f6,_0x2d4679=new LLMAgentCreateCommand(),_0x481b9c=program[_0x14ecc6(0x431)](),_0x7d8d89=await createTDXInstance(_0x481b9c),_0x3236a6=await _0x2d4679[_0x14ecc6(0x1bf)]({'options':{..._0x481b9c,..._0x3cf711},'args':[_0x4e3b6c],'tdx':_0x7d8d89});gracefulExit(_0x3236a6);}),agentSyncCmd[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x1f8))[a2_0x3e05f6(0x343)](a2_0x3e05f6(0x34a))[a2_0x3e05f6(0x3fc)](a2_0x3e05f6(0x23d),a2_0x3e05f6(0x449))['option'](a2_0x3e05f6(0x324),'Agent\x20prompt/instructions')['option'](a2_0x3e05f6(0x47a),a2_0x3e05f6(0x24e))['option'](a2_0x3e05f6(0x1df),a2_0x3e05f6(0x320))[a2_0x3e05f6(0x270)](async(_0x42a50c,_0x3e69b8)=>{const _0x46f719=a2_0x3e05f6,_0xe904c4=new LLMAgentUpdateCommand(),_0x5bcf42=program['opts'](),_0xa73044=await createTDXInstance(_0x5bcf42),_0x40ba50=await _0xe904c4[_0x46f719(0x1bf)]({'options':{..._0x5bcf42,..._0x3e69b8},'args':[_0x42a50c],'tdx':_0xa73044});gracefulExit(_0x40ba50);}),agentSyncCmd['command'](a2_0x3e05f6(0x447))['description'](a2_0x3e05f6(0x41b))[a2_0x3e05f6(0x270)](async(_0x565187,_0x2e9ccb)=>{const _0x4c3fc2=a2_0x3e05f6,_0x12d3a9=new LLMAgentDeleteCommand(),_0x322f29=program[_0x4c3fc2(0x431)](),_0x2cfcb4=await createTDXInstance(_0x322f29),_0x36c035=await _0x12d3a9[_0x4c3fc2(0x1bf)]({'options':{..._0x322f29,..._0x2e9ccb},'args':[_0x565187],'tdx':_0x2cfcb4});gracefulExit(_0x36c035);}),program[a2_0x3e05f6(0x416)](a2_0x3e05f6(0x388),{'hidden':!![]})[a2_0x3e05f6(0x270)](()=>{const _0x1ed841=a2_0x3e05f6;function _0x261aa0(_0x162b39,_0x4caf1c){const _0xcb781a=a2_0x1c3b,_0x4e2cc0=[];for(const _0x182c5e of _0x162b39[_0xcb781a(0x1c1)]){if(_0x182c5e[_0xcb781a(0x2b7)])continue;const _0x44dea5=_0x4caf1c?_0x4caf1c+'\x20'+_0x182c5e[_0xcb781a(0x2a9)]():_0x182c5e[_0xcb781a(0x2a9)](),_0x1b143b=_0x44dea5[_0xcb781a(0x3ba)]('\x20')[0x0],_0x4f0a4e=COMMAND_CATEGORIES[_0xcb781a(0x1bb)](_0x478767=>_0x478767[_0xcb781a(0x1c1)][_0xcb781a(0x3f1)](_0x1b143b)),_0x23c57c=_0x4f0a4e?.[_0xcb781a(0x2a9)]??'';if(_0x182c5e[_0xcb781a(0x1c1)][_0xcb781a(0x361)]>0x0)_0x4e2cc0['push'](..._0x261aa0(_0x182c5e,_0x44dea5));else{const _0x3f97b2=(_0x182c5e[_0xcb781a(0x3e9)]||[])[_0xcb781a(0x392)](_0x4bc73a=>{const _0xbe7179=_0xcb781a,_0x56c1cb=_0x4bc73a[_0xbe7179(0x242)]?_0x4bc73a[_0xbe7179(0x2a9)]()+'...':_0x4bc73a[_0xbe7179(0x2a9)]();return _0x4bc73a['required']?'<'+_0x56c1cb+'>':'['+_0x56c1cb+']';})[_0xcb781a(0x3fa)]('\x20'),_0xcfd5d2=_0x182c5e[_0xcb781a(0x3c9)]['filter'](_0x18ed89=>!_0x18ed89[_0xcb781a(0x404)]&&_0x18ed89['long']!==_0xcb781a(0x2f1))[_0xcb781a(0x392)](_0x5cfece=>({'flags':_0x5cfece[_0xcb781a(0x47b)],'description':_0x5cfece[_0xcb781a(0x343)]}));_0x4e2cc0[_0xcb781a(0x3c6)]({'name':_0x44dea5,'description':_0x182c5e['description'](),'group':_0x23c57c,'usage':_0x3f97b2,'options':_0xcfd5d2});}}return _0x4e2cc0;}console[_0x1ed841(0x247)](JSON['stringify'](_0x261aa0(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x4a87af=a2_0x3e05f6,_0x43e7fc=!process[_0x4a87af(0x2d9)][_0x4a87af(0x212)](0x2)[_0x4a87af(0x361)];showBriefHelp=_0x43e7fc,program[_0x4a87af(0x268)](process['argv']);_0x43e7fc&&program[_0x4a87af(0x377)]();const _0xd1cc27=process[_0x4a87af(0x2d9)][0x2]===_0x4a87af(0x496);if(process['stderr']['isTTY']&&process[_0x4a87af(0x2d9)][_0x4a87af(0x361)]>0x2&&!isDevVersion()&&!_0xd1cc27){const _0x34ac04=loadReleaseChannel();checkForUpdate(currentVersion,_0x34ac04)[_0x4a87af(0x345)](_0x29a682=>{_0x29a682&&displayUpdateNotification(_0x29a682);})[_0x4a87af(0x390)](()=>{});}}