@treasuredata/tdx 0.29.1 → 0.29.3

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 (216) 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.js +1 -1
  5. package/dist/commands/activations.js +1 -1
  6. package/dist/commands/agent-command.js +1 -1
  7. package/dist/commands/agent-test-command.js +1 -1
  8. package/dist/commands/api-command.js +1 -1
  9. package/dist/commands/auth-command.js +1 -1
  10. package/dist/commands/chat-command.js +1 -1
  11. package/dist/commands/claude-command.js +1 -1
  12. package/dist/commands/claude-statusline-command.js +1 -1
  13. package/dist/commands/claude-usage-command.js +1 -1
  14. package/dist/commands/command.js +1 -1
  15. package/dist/commands/connection-command.js +1 -1
  16. package/dist/commands/databases.js +1 -1
  17. package/dist/commands/delivery-command.js +1 -1
  18. package/dist/commands/describe.js +1 -1
  19. package/dist/commands/engage-campaign-pull-command.js +1 -1
  20. package/dist/commands/engage-campaign-push-command.js +1 -1
  21. package/dist/commands/engage-campaign-validate-command.js +1 -1
  22. package/dist/commands/engage-command.js +1 -1
  23. package/dist/commands/job-command.js +1 -1
  24. package/dist/commands/journey-command.js +1 -1
  25. package/dist/commands/journey-validate-command.js +1 -1
  26. package/dist/commands/llm-command.js +1 -1
  27. package/dist/commands/mcp-command.js +1 -1
  28. package/dist/commands/parent-segment-command.js +1 -1
  29. package/dist/commands/profile-command.js +1 -1
  30. package/dist/commands/profiles-command.js +1 -1
  31. package/dist/commands/query-command.js +1 -1
  32. package/dist/commands/schedule-command.js +1 -1
  33. package/dist/commands/segment-command.js +1 -1
  34. package/dist/commands/segment-create-command.js +1 -1
  35. package/dist/commands/segment-fields-command.js +1 -1
  36. package/dist/commands/segment-pull-command.js +1 -1
  37. package/dist/commands/segment-push-command.js +1 -1
  38. package/dist/commands/segment-update-command.js +1 -1
  39. package/dist/commands/segment-use-command.js +1 -1
  40. package/dist/commands/segment-validate-command.js +1 -1
  41. package/dist/commands/segments.js +1 -1
  42. package/dist/commands/show.js +1 -1
  43. package/dist/commands/status-command.js +1 -1
  44. package/dist/commands/tables.js +1 -1
  45. package/dist/commands/unset-command.js +1 -1
  46. package/dist/commands/upgrade-command.js +1 -1
  47. package/dist/commands/use-command.js +1 -1
  48. package/dist/commands/user-command.js +1 -1
  49. package/dist/commands/workflow-command.js +1 -1
  50. package/dist/core/auth.js +1 -1
  51. package/dist/core/command-output.js +1 -1
  52. package/dist/core/config.js +1 -1
  53. package/dist/core/connection-cache.js +1 -1
  54. package/dist/core/constants.js +1 -1
  55. package/dist/core/credential-cache.js +1 -1
  56. package/dist/core/global-context.js +1 -1
  57. package/dist/core/keychain.js +1 -1
  58. package/dist/core/profile.js +1 -1
  59. package/dist/core/project-config.js +1 -1
  60. package/dist/core/session.js +1 -1
  61. package/dist/core/user-cache.js +1 -1
  62. package/dist/core/version.js +1 -1
  63. package/dist/index.js +1 -1
  64. package/dist/mcp/server.js +1 -1
  65. package/dist/mcp/tools/index.js +1 -1
  66. package/dist/mcp/tools/tdx-run.js +1 -1
  67. package/dist/mcp/tools/tdx-search.js +1 -1
  68. package/dist/mcp/utils.js +1 -1
  69. package/dist/proxy/claude-usage-tracker.js +1 -1
  70. package/dist/proxy/passthrough-server.js +1 -1
  71. package/dist/proxy/sse-usage-parser.js +1 -1
  72. package/dist/sdk/agent/agent-config.js +1 -1
  73. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  74. package/dist/sdk/agent/agent-yaml.js +1 -1
  75. package/dist/sdk/agent/test/evaluator.js +1 -1
  76. package/dist/sdk/agent/test/executor.js +1 -1
  77. package/dist/sdk/agent/test/index.js +1 -1
  78. package/dist/sdk/agent/test/output.js +1 -1
  79. package/dist/sdk/agent/test/parser.js +1 -1
  80. package/dist/sdk/agent/tool-target-registry.js +1 -1
  81. package/dist/sdk/api.js +1 -1
  82. package/dist/sdk/client/cdp-api-client.js +1 -1
  83. package/dist/sdk/client/delivery-api-client.js +1 -1
  84. package/dist/sdk/client/endpoints.js +1 -1
  85. package/dist/sdk/client/engage-api-client.js +1 -1
  86. package/dist/sdk/client/http-client.js +1 -1
  87. package/dist/sdk/client/llm-api-client.js +1 -1
  88. package/dist/sdk/client/rate-limiter.js +1 -1
  89. package/dist/sdk/client/td-api-client.js +1 -1
  90. package/dist/sdk/client/trino-api-client.js +1 -1
  91. package/dist/sdk/client/workflow-client.js +1 -1
  92. package/dist/sdk/connection-validator.js +1 -1
  93. package/dist/sdk/connection.js +1 -1
  94. package/dist/sdk/delivery.js +1 -1
  95. package/dist/sdk/engage/campaign-pull.js +1 -1
  96. package/dist/sdk/engage/campaign-push.js +1 -1
  97. package/dist/sdk/engage/campaign-validator.js +1 -1
  98. package/dist/sdk/engage/campaign-yaml.js +1 -1
  99. package/dist/sdk/engage/types/campaign-def.js +1 -1
  100. package/dist/sdk/engage/types/campaign-schema.d.ts +1 -2
  101. package/dist/sdk/engage/types/campaign-schema.d.ts.map +1 -1
  102. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  103. package/dist/sdk/engage/types/campaign-schema.js.map +1 -1
  104. package/dist/sdk/engage.js +1 -1
  105. package/dist/sdk/errors.js +1 -1
  106. package/dist/sdk/index.js +1 -1
  107. package/dist/sdk/io/index.js +1 -1
  108. package/dist/sdk/io/node-filesystem.js +1 -1
  109. package/dist/sdk/job.js +1 -1
  110. package/dist/sdk/journey.js +1 -1
  111. package/dist/sdk/llm/chat-cache.js +1 -1
  112. package/dist/sdk/llm/index.js +1 -1
  113. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  114. package/dist/sdk/llm/model-factors.js +1 -1
  115. package/dist/sdk/personalization.js +1 -1
  116. package/dist/sdk/query/index.js +1 -1
  117. package/dist/sdk/query/sql-parser.js +1 -1
  118. package/dist/sdk/realtime.js +1 -1
  119. package/dist/sdk/schedule.js +1 -1
  120. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  121. package/dist/sdk/segment/fields-display.js +1 -1
  122. package/dist/sdk/segment/file-discovery.js +1 -1
  123. package/dist/sdk/segment/journey-utils.js +1 -1
  124. package/dist/sdk/segment/journey-validator.d.ts +13 -6
  125. package/dist/sdk/segment/journey-validator.d.ts.map +1 -1
  126. package/dist/sdk/segment/journey-validator.js +1 -1
  127. package/dist/sdk/segment/journey-validator.js.map +1 -1
  128. package/dist/sdk/segment/journey-yaml.d.ts.map +1 -1
  129. package/dist/sdk/segment/journey-yaml.js +1 -1
  130. package/dist/sdk/segment/journey-yaml.js.map +1 -1
  131. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  132. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  133. package/dist/sdk/segment/pull-workflow.js +1 -1
  134. package/dist/sdk/segment/push-recovery.js +1 -1
  135. package/dist/sdk/segment/push-workflow.js +1 -1
  136. package/dist/sdk/segment/push-workflow.js.map +1 -1
  137. package/dist/sdk/segment/resolution-context.js +1 -1
  138. package/dist/sdk/segment/segment-path-parser.js +1 -1
  139. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  140. package/dist/sdk/segment/segment-validator.d.ts.map +1 -1
  141. package/dist/sdk/segment/segment-validator.js +1 -1
  142. package/dist/sdk/segment/segment-validator.js.map +1 -1
  143. package/dist/sdk/segment/target-resolution.js +1 -1
  144. package/dist/sdk/segment/tdx-config.js +1 -1
  145. package/dist/sdk/segment/types/activation-schema.d.ts +184 -0
  146. package/dist/sdk/segment/types/activation-schema.d.ts.map +1 -0
  147. package/dist/sdk/segment/types/activation-schema.js +1 -0
  148. package/dist/sdk/segment/types/activation-schema.js.map +1 -0
  149. package/dist/sdk/segment/types/journey-def.d.ts +5 -0
  150. package/dist/sdk/segment/types/journey-def.d.ts.map +1 -1
  151. package/dist/sdk/segment/types/journey-def.js +1 -1
  152. package/dist/sdk/segment/types/journey-def.js.map +1 -1
  153. package/dist/sdk/segment/types/journey-schema.d.ts +419 -0
  154. package/dist/sdk/segment/types/journey-schema.d.ts.map +1 -0
  155. package/dist/sdk/segment/types/journey-schema.js +1 -0
  156. package/dist/sdk/segment/types/journey-schema.js.map +1 -0
  157. package/dist/sdk/segment/types/segment-def.d.ts +4 -87
  158. package/dist/sdk/segment/types/segment-def.d.ts.map +1 -1
  159. package/dist/sdk/segment/types/segment-def.js +1 -1
  160. package/dist/sdk/segment/types/segment-def.js.map +1 -1
  161. package/dist/sdk/segment/types/segment-schema.js +1 -1
  162. package/dist/sdk/segment/validate-files.js +1 -1
  163. package/dist/sdk/segment/validate-files.js.map +1 -1
  164. package/dist/sdk/segment/yaml-validator.d.ts +14 -1
  165. package/dist/sdk/segment/yaml-validator.d.ts.map +1 -1
  166. package/dist/sdk/segment/yaml-validator.js +1 -1
  167. package/dist/sdk/segment/yaml-validator.js.map +1 -1
  168. package/dist/sdk/segment.js +1 -1
  169. package/dist/sdk/types/cdp.d.ts +3 -3
  170. package/dist/sdk/types/cdp.d.ts.map +1 -1
  171. package/dist/sdk/types/index.js +1 -1
  172. package/dist/sdk/types/progress.js +1 -1
  173. package/dist/sdk/user.js +1 -1
  174. package/dist/sdk/util/format-detector.js +1 -1
  175. package/dist/sdk/util/formatters.js +1 -1
  176. package/dist/sdk/util/index.js +1 -1
  177. package/dist/sdk/util/tree-formatter.js +1 -1
  178. package/dist/sdk/workflow/archive-validation.js +1 -1
  179. package/dist/sdk/workflow/clone-workflow.js +1 -1
  180. package/dist/sdk/workflow/index.js +1 -1
  181. package/dist/sdk/workflow/pull-workflow.js +1 -1
  182. package/dist/sdk/workflow/push-workflow.js +1 -1
  183. package/dist/sdk/workflow/tdx-config.js +1 -1
  184. package/dist/sdk/workflow/workflow-utils.js +1 -1
  185. package/dist/test-utils/command-runner.js +1 -1
  186. package/dist/test-utils/factories.js +1 -1
  187. package/dist/test-utils/fixtures.js +1 -1
  188. package/dist/test-utils/http-mock.js +1 -1
  189. package/dist/test-utils/index.js +1 -1
  190. package/dist/utils/async.js +1 -1
  191. package/dist/utils/colors.js +1 -1
  192. package/dist/utils/diff.js +1 -1
  193. package/dist/utils/file-permissions.js +1 -1
  194. package/dist/utils/file-reader.js +1 -1
  195. package/dist/utils/global-cache.js +1 -1
  196. package/dist/utils/json-loader.js +1 -1
  197. package/dist/utils/local-cache.js +1 -1
  198. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  199. package/dist/utils/logger/formatters/index.js +1 -1
  200. package/dist/utils/logger/handlers/console-handler.js +1 -1
  201. package/dist/utils/logger/handlers/file-handler.js +1 -1
  202. package/dist/utils/logger/handlers/index.js +1 -1
  203. package/dist/utils/logger/handlers/null-handler.js +1 -1
  204. package/dist/utils/logger/index.js +1 -1
  205. package/dist/utils/logger/logger.js +1 -1
  206. package/dist/utils/logger/types.js +1 -1
  207. package/dist/utils/option-validation.js +1 -1
  208. package/dist/utils/process.js +1 -1
  209. package/dist/utils/prompt.js +1 -1
  210. package/dist/utils/spinner.js +1 -1
  211. package/dist/utils/sse-parser.js +1 -1
  212. package/dist/utils/string-utils.js +1 -1
  213. package/dist/utils/table-ref-parser.js +1 -1
  214. package/dist/utils/tdx-logger.js +1 -1
  215. package/dist/utils/version-check.js +1 -1
  216. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x4cef1c=a2_0xffe1;(function(_0x385659,_0x3bd5bb){const _0x4c599c=a2_0xffe1,_0xa4631b=_0x385659();while(!![]){try{const _0x4669a3=-parseInt(_0x4c599c(0x1ff))/0x1+parseInt(_0x4c599c(0x2b8))/0x2*(parseInt(_0x4c599c(0x242))/0x3)+-parseInt(_0x4c599c(0x119))/0x4*(-parseInt(_0x4c599c(0x84))/0x5)+-parseInt(_0x4c599c(0xf9))/0x6*(-parseInt(_0x4c599c(0xb2))/0x7)+parseInt(_0x4c599c(0x2d6))/0x8+-parseInt(_0x4c599c(0xd4))/0x9*(parseInt(_0x4c599c(0x2cb))/0xa)+parseInt(_0x4c599c(0x1ad))/0xb;if(_0x4669a3===_0x3bd5bb)break;else _0xa4631b['push'](_0xa4631b['shift']());}catch(_0x170d3c){_0xa4631b['push'](_0xa4631b['shift']());}}}(a2_0x35d3,0xc4fbe));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,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';function a2_0xffe1(_0x92348f,_0x284465){_0x92348f=_0x92348f-0x80;const _0x35d347=a2_0x35d3();let _0xffe126=_0x35d347[_0x92348f];return _0xffe126;}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{UserCommand,UserListCommand}from'./commands/user-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_0x4cef1c(0x26d)][a2_0x4cef1c(0x25d)](a2_0x4cef1c(0x121))){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x4cef1c(0x244)]&&!currentVersion[a2_0x4cef1c(0x25d)](buildInfo[a2_0x4cef1c(0x244)])&&(versionOutput+='\x20('+buildInfo[a2_0x4cef1c(0x244)]+')'),buildInfo[a2_0x4cef1c(0x2bd)]&&(versionOutput+=a2_0x4cef1c(0x23e)+buildInfo[a2_0x4cef1c(0x2bd)]),console[a2_0x4cef1c(0x2f4)](versionOutput),process[a2_0x4cef1c(0x19d)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x4cef1c(0x2ce);buildInfo[a2_0x4cef1c(0x244)]&&!currentVersion['includes'](buildInfo['gitRevision'])?description+=a2_0x4cef1c(0x2c9)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x4cef1c(0x2c9)+currentVersion;program[a2_0x4cef1c(0x151)](a2_0x4cef1c(0x293))[a2_0x4cef1c(0x320)](description),program['option'](a2_0x4cef1c(0x18d),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x311),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x15c),a2_0x4cef1c(0x2ef),a2_0x4cef1c(0x18c))[a2_0x4cef1c(0x1da)]('--format\x20<format>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x28d),a2_0x4cef1c(0x21d))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x255),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x4cef1c(0x1da)]('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')['option'](a2_0x4cef1c(0x1c4),a2_0x4cef1c(0x20f))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1b0),a2_0x4cef1c(0x305))[a2_0x4cef1c(0x1da)]('--limit\x20<number>',a2_0x4cef1c(0x30c))[a2_0x4cef1c(0x1da)]('--color',a2_0x4cef1c(0x261),![])[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2ba),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x4cef1c(0x1da)]('-v,\x20--verbose',a2_0x4cef1c(0xed),![])[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x23a),a2_0x4cef1c(0x2b6))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x236),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x4cef1c(0x1da)]('--timeout\x20<seconds>',a2_0x4cef1c(0x2a3),'30')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a7),'Preview\x20operation\x20without\x20executing',![])[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1f4),a2_0x4cef1c(0x198),![])[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x87),a2_0x4cef1c(0x138))['option']('--parent-segment\x20<name>',a2_0x4cef1c(0x2d4))['option'](a2_0x4cef1c(0xe1),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x4cef1c(0xf5)]({'formatHelp':(_0xb776f1,_0x1abde4)=>{const _0x5ebf0a=a2_0x4cef1c,_0x3912e6=_0x1abde4[_0x5ebf0a(0x197)](_0xb776f1,_0x1abde4),_0x3ad51c=0x2,_0x4a4c9=0x2;function _0xa27d39(_0xba6f23){const _0x29a825=_0x5ebf0a,_0x41a549=_0xba6f23;return!!(_0x41a549[_0x29a825(0x2dc)]||_0x41a549[_0x29a825(0x23d)]);}function _0x192b5f(_0x475f65,_0x2859dd){const _0x42a9ba=_0x5ebf0a;if(_0x2859dd){const _0x3578ea=''+_0x475f65[_0x42a9ba(0x11c)](_0x3912e6+_0x4a4c9)+_0x2859dd;return _0x3578ea;}return _0x475f65;}function _0x51908e(_0x477cfe){const _0x4b21be=_0x5ebf0a;return _0x477cfe[_0x4b21be(0x2df)]('\x0a')[_0x4b21be(0x2ae)](/^/gm,'\x20'[_0x4b21be(0xa3)](_0x3ad51c));}const _0x5c9530=[];_0x5c9530[_0x5ebf0a(0x308)]('Usage:\x20'+_0x1abde4[_0x5ebf0a(0x1f6)](_0xb776f1));const _0x5f0253=_0x1abde4[_0x5ebf0a(0x285)](_0xb776f1);_0x5f0253&&(_0x5c9530[_0x5ebf0a(0x308)](''),_0x5c9530['push'](_0x5f0253));const _0x318dd9=_0xb776f1[_0x5ebf0a(0x1bd)][_0x5ebf0a(0xb9)](_0x1b6860=>!_0xa27d39(_0x1b6860));if(_0x318dd9[_0x5ebf0a(0xde)]>0x0){if(_0xb776f1[_0x5ebf0a(0x151)]()==='tdx'){const _0x18593c=_0xb776f1[_0x5ebf0a(0xdf)](),_0x5c68c0=!_0x18593c['noColor']&&process[_0x5ebf0a(0x2ed)][_0x5ebf0a(0x31f)],_0x533a46=COMMAND_CATEGORIES,_0x3ea5e2=(_0x4b1943,_0xa754eb)=>_0x5c68c0?_0xa754eb(_0x4b1943):_0x4b1943,_0x59cf11=new Map();_0x318dd9[_0x5ebf0a(0xc1)](_0x3d22a0=>{_0x59cf11['set'](_0x3d22a0['name'](),_0x3d22a0);}),_0x533a46[_0x5ebf0a(0xc1)](_0x1f730b=>{const _0x5d66ef=_0x5ebf0a,_0x2265fe=_0x1f730b['commands'][_0x5d66ef(0x2d8)](_0x17db68=>_0x59cf11[_0x5d66ef(0xf4)](_0x17db68)??[]);if(_0x2265fe[_0x5d66ef(0xde)]>0x0){_0x5c9530[_0x5d66ef(0x308)](''),_0x5c9530[_0x5d66ef(0x308)](_0x3ea5e2(_0x1f730b[_0x5d66ef(0x151)]+':',_0x1f730b[_0x5d66ef(0x183)]));const _0x4e5860=_0x2265fe[_0x5d66ef(0xfa)](_0xf82a6f=>{const _0x5eedb3=_0x5d66ef,_0x5d77d3=_0x1abde4[_0x5eedb3(0x283)](_0xf82a6f),_0x10562c=_0x1abde4['subcommandDescription'](_0xf82a6f);return _0x192b5f(_0x5d77d3,_0x10562c);});_0x5c9530['push'](_0x51908e(_0x4e5860));}}),_0x5c9530[_0x5ebf0a(0x308)](''),_0x5c9530[_0x5ebf0a(0x308)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x12c956=_0x318dd9[_0x5ebf0a(0xfa)](_0x429869=>{const _0x292f59=_0x5ebf0a,_0x5c5b50=_0x1abde4[_0x292f59(0x283)](_0x429869),_0x54552b=_0x1abde4['subcommandDescription'](_0x429869);return _0x192b5f(_0x5c5b50,_0x54552b);});_0x5c9530[_0x5ebf0a(0x308)](''),_0x5c9530['push'](_0x5ebf0a(0xe6)),_0x5c9530[_0x5ebf0a(0x308)](_0x51908e(_0x12c956));}}if(showBriefHelp&&_0xb776f1[_0x5ebf0a(0x151)]()==='tdx')_0x5c9530['push'](''),_0x5c9530[_0x5ebf0a(0x308)](_0x5ebf0a(0x232));else{const _0x3d5b7f=_0xb776f1['options'][_0x5ebf0a(0xb9)](_0xf31c3b=>!_0xa27d39(_0xf31c3b));if(_0x3d5b7f['length']>0x0){const _0x34a9ec=_0x3d5b7f[_0x5ebf0a(0xfa)](_0x3e3ba8=>{const _0x55102d=_0x5ebf0a,_0x626833=_0x1abde4[_0x55102d(0x114)](_0x3e3ba8),_0x11122b=_0x1abde4[_0x55102d(0x27b)](_0x3e3ba8);return _0x192b5f(_0x626833,_0x11122b);});_0x5c9530[_0x5ebf0a(0x308)](''),_0x5c9530[_0x5ebf0a(0x308)](_0x5ebf0a(0x93)),_0x5c9530[_0x5ebf0a(0x308)](_0x51908e(_0x34a9ec));}}const _0x1e9c68=(_0xb776f1[_0x5ebf0a(0x215)]||[])[_0x5ebf0a(0xb9)](_0x42ccbf=>!_0xa27d39(_0x42ccbf));if(_0x1e9c68[_0x5ebf0a(0xde)]>0x0){const _0x4ce439=_0x1e9c68[_0x5ebf0a(0xfa)](_0x3ab0eb=>{const _0x39d6d6=_0x5ebf0a,_0x2bd501=_0x1abde4[_0x39d6d6(0x2be)](_0x3ab0eb),_0x4957bf=_0x1abde4[_0x39d6d6(0x316)](_0x3ab0eb);return _0x192b5f(_0x2bd501,_0x4957bf);});_0x5c9530[_0x5ebf0a(0x308)](''),_0x5c9530['push'](_0x5ebf0a(0x2e4)),_0x5c9530[_0x5ebf0a(0x308)](_0x51908e(_0x4ce439));}return _0x5c9530[_0x5ebf0a(0x2df)]('\x0a')+'\x0a';},'subcommandTerm':_0x25f27a=>{const _0x53dd8a=a2_0x4cef1c,_0x100901=(_0x25f27a[_0x53dd8a(0x215)]||[])[_0x53dd8a(0xfa)](_0x2c9d9d=>_0x2c9d9d[_0x53dd8a(0x2ff)]?'<'+_0x2c9d9d[_0x53dd8a(0x151)]()+'>':'['+_0x2c9d9d[_0x53dd8a(0x151)]()+']')[_0x53dd8a(0x2df)]('\x20'),_0x5c3268=_0x25f27a[_0x53dd8a(0x26c)](),_0x31232e=_0x5c3268[_0x53dd8a(0xde)]>0x0?_0x25f27a[_0x53dd8a(0x151)]()+',\x20'+_0x5c3268['join'](',\x20'):_0x25f27a['name']();return _0x100901?_0x31232e+'\x20'+_0x100901:_0x31232e;}}),program[a2_0x4cef1c(0x2bb)](a2_0x4cef1c(0x192),_0x342548=>{const _0x22e4c0=a2_0x4cef1c,_0x5668a6=_0x342548['opts']();if(_0x5668a6[_0x22e4c0(0x249)]){const _0x48bfa4=resolve(_0x5668a6[_0x22e4c0(0x249)]),_0xd2743c=_0x48bfa4!==_0x5668a6[_0x22e4c0(0x249)]?_0x22e4c0(0x123)+_0x48bfa4+')':'';if(!existsSync(_0x48bfa4))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x22e4c0(0x176)+_0x5668a6[_0x22e4c0(0x249)]+_0xd2743c,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x3991ad=statSync(_0x48bfa4);if(!_0x3991ad[_0x22e4c0(0xdb)]())throw new SDKError(ErrorCode[_0x22e4c0(0x8b)],_0x22e4c0(0x1df)+_0x5668a6[_0x22e4c0(0x249)]+_0xd2743c,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x22e4c0(0x2f3)](_0x48bfa4);}if(!_0x5668a6[_0x22e4c0(0x26a)]){if(_0x5668a6['table'])_0x5668a6[_0x22e4c0(0x26a)]=_0x22e4c0(0x204);else{if(_0x5668a6[_0x22e4c0(0x1b7)])_0x5668a6[_0x22e4c0(0x26a)]='json';else{if(_0x5668a6[_0x22e4c0(0x19b)])_0x5668a6[_0x22e4c0(0x26a)]=_0x22e4c0(0x19b);else _0x5668a6[_0x22e4c0(0x286)]&&(_0x5668a6[_0x22e4c0(0x26a)]=_0x22e4c0(0x286));}}}if(_0x5668a6[_0x22e4c0(0x219)])_0x5668a6[_0x22e4c0(0x82)]=LogLevel['TRACE'];else{if(_0x5668a6[_0x22e4c0(0x2e7)])_0x5668a6[_0x22e4c0(0x82)]=LogLevel[_0x22e4c0(0x303)];else _0x5668a6[_0x22e4c0(0x82)]===undefined&&(_0x5668a6['logLevel']=LogLevel['INFO']);}});async function createTDXInstance(_0x2963f9){const _0x162d1=a2_0x4cef1c,_0x3decaa=await GlobalContext[_0x162d1(0x2c6)](_0x2963f9);return _0x3decaa[_0x162d1(0x100)](_0x2963f9),TDX[_0x162d1(0xa1)]({'site':_0x3decaa[_0x162d1(0x213)],'apiKey':_0x3decaa[_0x162d1(0x14c)],'logLevel':_0x3decaa[_0x162d1(0x82)],'profile':_0x3decaa[_0x162d1(0xcb)]});}const databaseCmd=program['command'](a2_0x4cef1c(0x13c))['alias']('db')['description'](a2_0x4cef1c(0x254)),databaseListAction=async(_0xe6acd2,_0x2a7db2)=>{const _0x7004cc=a2_0x4cef1c,_0x2a986b=new DatabasesCommand(),_0x7ac5ad=program[_0x7004cc(0xdf)](),_0x199537=await createTDXInstance(_0x7ac5ad),_0x19d856=await _0x2a986b[_0x7004cc(0x131)]({'options':{..._0x7ac5ad,..._0x2a7db2},'args':_0xe6acd2?[_0xe6acd2]:[],'tdx':_0x199537});gracefulExit(_0x19d856);};databaseCmd[a2_0x4cef1c(0xa7)]('list\x20[pattern]')[a2_0x4cef1c(0x320)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x4cef1c(0x221)](databaseListAction),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2ca),{'hidden':!![]})[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xb3))[a2_0x4cef1c(0x221)](databaseListAction),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x22a))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x278))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x171),a2_0x4cef1c(0x16b))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2ad),a2_0x4cef1c(0xbd))[a2_0x4cef1c(0x1da)]('--chat-id\x20<id>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x4cef1c(0x1da)]('--stream',a2_0x4cef1c(0x1fa))['action'](async(_0x586256,_0x276781)=>{const _0x479467=a2_0x4cef1c,_0x2ffa0c=program['opts'](),_0x381c32=await createTDXInstance(_0x2ffa0c);if(_0x586256[0x0]===_0x479467(0xa1)){const _0x25b2e9=new ChatCreateCommand();gracefulExit(await _0x25b2e9[_0x479467(0x131)]({'options':{..._0x2ffa0c,..._0x276781},'args':_0x586256[_0x479467(0x20c)](0x1),'tdx':_0x381c32}));return;}const _0x1cfe88=new ChatCommand(),_0x53134b=await _0x1cfe88[_0x479467(0x131)]({'options':{..._0x2ffa0c,..._0x276781},'args':_0x586256,'tdx':_0x381c32});gracefulExit(_0x53134b);});const apiCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x15b))[a2_0x4cef1c(0x124)](a2_0x4cef1c(0x299))['addHelpText'](a2_0x4cef1c(0x1f7),a2_0x4cef1c(0x92))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x25c),a2_0x4cef1c(0x153),'GET')[a2_0x4cef1c(0x1da)]('--data\x20<data>','Request\x20body\x20as\x20JSON\x20string')[a2_0x4cef1c(0x1da)]('-f,\x20--file\x20<path>',a2_0x4cef1c(0x302))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x20b),a2_0x4cef1c(0x209),(_0x540386,_0x735b8b)=>{return _0x735b8b?[..._0x735b8b,_0x540386]:[_0x540386];})[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x220),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x4cef1c(0x221)](async(_0x5c8e8f,_0x40befb)=>{const _0x4450ee=a2_0x4cef1c;if(!_0x5c8e8f){apiCmd[_0x4450ee(0x229)]();return;}const _0x3b5c6c=new ApiCommand(),_0x1bb64d=program[_0x4450ee(0xdf)](),_0x16936b=await createTDXInstance(_0x1bb64d),_0x46a76c=await _0x3b5c6c[_0x4450ee(0x131)]({'options':{..._0x1bb64d,..._0x40befb},'args':[_0x5c8e8f],'tdx':_0x16936b});gracefulExit(_0x46a76c);});program[a2_0x4cef1c(0xa7)]('mcp')['description'](a2_0x4cef1c(0x19c))['addHelpText'](a2_0x4cef1c(0x1f7),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x4cef1c(0x221)](async _0x5e6b3d=>{const _0x4e492d=a2_0x4cef1c,_0x315ed9=new MCPCommand(),_0x218331=program['opts'](),_0xd0157b=await createTDXInstance(_0x218331),_0x200ced=await _0x315ed9[_0x4e492d(0x131)]({'options':{..._0x218331,..._0x5e6b3d},'args':[],'tdx':_0xd0157b});gracefulExit(_0x200ced);});const tableCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x204))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x313)),tableListAction=async(_0x1c67e6,_0x41a628)=>{const _0xa104ac=a2_0x4cef1c,_0x3811d8=new TablesCommand(),_0xff99fd=program[_0xa104ac(0xdf)](),_0x491d3c=await createTDXInstance(_0xff99fd);_0x41a628['in']&&(_0x41a628[_0xa104ac(0x13c)]=_0x41a628['in']);const _0x23b532=await _0x3811d8[_0xa104ac(0x131)]({'options':{..._0xff99fd,..._0x41a628},'args':_0x1c67e6?[_0x1c67e6]:[],'tdx':_0x491d3c});gracefulExit(_0x23b532);};tableCmd['command']('list\x20[pattern]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x95))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x10a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x12c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x4cef1c(0x221)](tableListAction),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1ab),{'hidden':!![]})[a2_0x4cef1c(0x320)]('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x4cef1c(0x1da)]('-d,\x20--database\x20<database>',a2_0x4cef1c(0x1c6))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x12c),a2_0x4cef1c(0x1e8))[a2_0x4cef1c(0x221)](tableListAction),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1c9))['description'](a2_0x4cef1c(0x32d))[a2_0x4cef1c(0x1da)]('-d,\x20--database\x20<database>',a2_0x4cef1c(0xfe))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x12c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x4cef1c(0x221)](async(_0x30b28d,_0x2d1af8)=>{const _0x76c6ec=a2_0x4cef1c,_0x2f9d62=new ShowCommand(),_0x118f95=program[_0x76c6ec(0xdf)](),_0x29475b=await createTDXInstance(_0x118f95);_0x2d1af8['in']&&(_0x2d1af8[_0x76c6ec(0x13c)]=_0x2d1af8['in']);const _0x47c48a=await _0x2f9d62[_0x76c6ec(0x131)]({'options':{..._0x118f95,..._0x2d1af8},'args':_0x30b28d?[_0x30b28d]:[],'tdx':_0x29475b});gracefulExit(_0x47c48a);}),program[a2_0x4cef1c(0xa7)]('describe\x20[table]')[a2_0x4cef1c(0xc8)](a2_0x4cef1c(0x134))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1ea))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x10a),a2_0x4cef1c(0xfe))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x12c),a2_0x4cef1c(0x1e8))['action'](async(_0x57d1b9,_0x10e33a)=>{const _0x3b8072=a2_0x4cef1c,_0x16697b=new DescribeCommand(),_0x18010c=program['opts'](),_0x209f30=await createTDXInstance(_0x18010c);_0x10e33a['in']&&(_0x10e33a[_0x3b8072(0x13c)]=_0x10e33a['in']);const _0x39646d=await _0x16697b[_0x3b8072(0x131)]({'options':{..._0x18010c,..._0x10e33a},'args':_0x57d1b9?[_0x57d1b9]:[],'tdx':_0x209f30});gracefulExit(_0x39646d);}),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x228))[a2_0x4cef1c(0x320)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')['option']('-d,\x20--database\x20<database>',a2_0x4cef1c(0x2ee))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x12c),a2_0x4cef1c(0x1e8))[a2_0x4cef1c(0x1da)]('--catalog\x20<catalog>',a2_0x4cef1c(0xe7))['option'](a2_0x4cef1c(0x265),a2_0x4cef1c(0x277))[a2_0x4cef1c(0x1da)]('--limit\x20<rows>',a2_0x4cef1c(0x231),'40')['action'](async(_0x12bc89,_0x15386d)=>{const _0x297ac1=a2_0x4cef1c,_0x21dd90=new QueryCommand(),_0x2a31cf=program[_0x297ac1(0xdf)](),_0x2e460a=await createTDXInstance(_0x2a31cf);_0x15386d['in']&&(_0x15386d[_0x297ac1(0x13c)]=_0x15386d['in']);const _0x5989c0=await _0x21dd90['run']({'options':{..._0x2a31cf,..._0x15386d},'args':_0x12bc89?[_0x12bc89]:[],'tdx':_0x2e460a});gracefulExit(_0x5989c0);});const segmentCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2b0))['alias']('sg')[a2_0x4cef1c(0x320)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x18caa1,_0x6457b4)=>{const _0x27d14d=a2_0x4cef1c,_0x35b31c=new SegmentsCommand(),_0x24d4b4=program[_0x27d14d(0xdf)](),_0x54a194=await createTDXInstance(_0x24d4b4),_0x5aa354=await _0x35b31c[_0x27d14d(0x131)]({'options':{..._0x24d4b4,..._0x6457b4},'args':_0x18caa1?[_0x18caa1]:[],'tdx':_0x54a194});gracefulExit(_0x5aa354);};segmentCmd[a2_0x4cef1c(0xa7)]('list\x20[path]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x120))[a2_0x4cef1c(0x1da)]('-r,\x20--recursive','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x4cef1c(0x1da)]('--max-depth\x20<depth>',a2_0x4cef1c(0x136),'10')[a2_0x4cef1c(0x221)](segmentListAction),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x294),{'hidden':!![]})[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x18f))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2e3),a2_0x4cef1c(0xd8))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x129),a2_0x4cef1c(0x136),'10')[a2_0x4cef1c(0x221)](segmentListAction),segmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x98),{'hidden':!![]})['description'](a2_0x4cef1c(0x1ce))[a2_0x4cef1c(0x221)](async(_0xd86396,_0x23eac5)=>{const _0xb82b92=a2_0x4cef1c,_0x26b303=new SegmentUseCommand(),_0x3ba36a=program[_0xb82b92(0xdf)](),_0x22aa04=await createTDXInstance(_0x3ba36a),_0x46deb3=await _0x26b303['run']({'options':{..._0x3ba36a,..._0x23eac5},'args':[_0xd86396],'tdx':_0x22aa04});gracefulExit(_0x46deb3);});const segmentViewAction=async(_0x2f3b2a,_0x22a7af)=>{const _0x29a612=a2_0x4cef1c,_0x1aff7c=new SegmentViewCommand(),_0x22a930=program[_0x29a612(0xdf)](),_0xca85b2=await createTDXInstance(_0x22a930),_0x425b5d=await _0x1aff7c[_0x29a612(0x131)]({'options':{..._0x22a930,..._0x22a7af},'args':_0x2f3b2a?[_0x2f3b2a]:[],'tdx':_0xca85b2});gracefulExit(_0x425b5d);};segmentCmd[a2_0x4cef1c(0xa7)]('view\x20[segment_name]')[a2_0x4cef1c(0x320)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1d6),'Open\x20segment\x20in\x20web\x20browser')['action'](segmentViewAction),segmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1b4),{'hidden':!![]})[a2_0x4cef1c(0xc8)](a2_0x4cef1c(0x28c))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1d6),a2_0x4cef1c(0x2a2))['description'](a2_0x4cef1c(0x175))[a2_0x4cef1c(0x221)](segmentViewAction),segmentCmd[a2_0x4cef1c(0xa7)]('desc\x20[segment_name]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x170))[a2_0x4cef1c(0x221)](async(_0x1816fb,_0x250dbc)=>{const _0x41c63f=a2_0x4cef1c,_0x4050fd=new SegmentDescCommand(),_0x12f781=program[_0x41c63f(0xdf)](),_0x3b2d5a=await createTDXInstance(_0x12f781),_0x50979a=await _0x4050fd['run']({'options':{..._0x12f781,..._0x250dbc},'args':_0x1816fb?[_0x1816fb]:[],'tdx':_0x3b2d5a});gracefulExit(_0x50979a);}),segmentCmd['command'](a2_0x4cef1c(0x19e))[a2_0x4cef1c(0x320)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x4cef1c(0x221)](async(_0x1f3373,_0x5cb8e1)=>{const _0x1c9533=a2_0x4cef1c,_0x1d9023=new SegmentShowCommand(),_0x242592=program['opts'](),_0x3b3b4b=await createTDXInstance(_0x242592),_0x1d0641=await _0x1d9023[_0x1c9533(0x131)]({'options':{..._0x242592,..._0x5cb8e1},'args':_0x1f3373?[_0x1f3373]:[],'tdx':_0x3b3b4b});gracefulExit(_0x1d0641);}),segmentCmd[a2_0x4cef1c(0xa7)]('folders\x20<parent_name>',{'hidden':!![]})['description'](a2_0x4cef1c(0xc5))['action'](async(_0x43ee67,_0xccf58)=>{const _0x38e149=a2_0x4cef1c,_0x415383=new SegmentFolderListCommand(),_0x4a2743=program[_0x38e149(0xdf)](),_0x40a2b6=await createTDXInstance(_0x4a2743),_0x2b7df2=await _0x415383[_0x38e149(0x131)]({'options':{..._0x4a2743,..._0xccf58},'args':[_0x43ee67],'tdx':_0x40a2b6});gracefulExit(_0x2b7df2);});const folderCmd=segmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x94),{'hidden':!![]})['description'](a2_0x4cef1c(0x1c1));folderCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xba))[a2_0x4cef1c(0x320)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')['action'](async(_0x28d29b,_0x4af1d4)=>{const _0x372177=a2_0x4cef1c,_0xb75672=new SegmentFolderShowCommand(),_0x3d521f=program['opts'](),_0x2652c0=await createTDXInstance(_0x3d521f),_0x3c4cd6=await _0xb75672[_0x372177(0x131)]({'options':{..._0x3d521f,..._0x4af1d4},'args':[_0x28d29b],'tdx':_0x2652c0});gracefulExit(_0x3c4cd6);}),segmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xa8))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xc2))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x235),a2_0x4cef1c(0x306))[a2_0x4cef1c(0x221)](async(_0x55d952,_0x465266)=>{const _0x5b92f9=a2_0x4cef1c,_0x410e45=new SegmentSQLCommand(),_0x2d82f4=program['opts'](),_0x200e2d=await createTDXInstance(_0x2d82f4),_0x5becac=await _0x410e45[_0x5b92f9(0x131)]({'options':{..._0x2d82f4,..._0x465266},'args':_0x55d952?[_0x55d952]:[],'tdx':_0x200e2d});gracefulExit(_0x5becac);}),segmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1ae))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x4cef1c(0x221)](async(_0x1dac52,_0x4c5491)=>{const _0x48f3c4=a2_0x4cef1c,_0x550260=new SegmentFieldsCommand(),_0x40eb73=program[_0x48f3c4(0xdf)](),_0x5670e2=await createTDXInstance(_0x40eb73),_0x3cd250=await _0x550260[_0x48f3c4(0x131)]({'options':{..._0x40eb73,..._0x4c5491},'args':_0x1dac52?[_0x1dac52]:[],'tdx':_0x5670e2});gracefulExit(_0x3cd250);}),segmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2c7))[a2_0x4cef1c(0x320)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a7),a2_0x4cef1c(0x169))[a2_0x4cef1c(0x221)](async(_0x9f4de8,_0x553d9a)=>{const _0x9af7c5=a2_0x4cef1c,_0x2763ac=new SegmentPullCommand(),_0x4bc10c=program[_0x9af7c5(0xdf)](),_0x17e628=await createTDXInstance(_0x4bc10c),_0x479548=await _0x2763ac[_0x9af7c5(0x131)]({'options':{..._0x4bc10c,..._0x553d9a},'args':_0x9f4de8?[_0x9f4de8]:[],'tdx':_0x17e628});gracefulExit(_0x479548);}),segmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x102))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1a8))[a2_0x4cef1c(0x1da)]('--dry-run',a2_0x4cef1c(0x169))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xc3),a2_0x4cef1c(0x139))[a2_0x4cef1c(0x221)](async(_0x1e4805,_0x1d02f9)=>{const _0x57bba4=a2_0x4cef1c,_0x1fb4c9=new SegmentPushCommand(),_0x1cca38=program[_0x57bba4(0xdf)](),_0x2696bd=await createTDXInstance(_0x1cca38),_0x58dbc7=await _0x1fb4c9['run']({'options':{..._0x1cca38,..._0x1d02f9},'args':_0x1e4805?[_0x1e4805]:[],'tdx':_0x2696bd});gracefulExit(_0x58dbc7);}),segmentCmd['command'](a2_0x4cef1c(0x15f))['description']('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x4cef1c(0x221)](async(_0x4852a0,_0x43a509)=>{const _0x51cb8f=a2_0x4cef1c,_0x2b5e8d=new SegmentValidateCommand(),_0x4743e8=program[_0x51cb8f(0xdf)](),_0x3aa1fa=await createTDXInstance(_0x4743e8),_0x429b74=await _0x2b5e8d[_0x51cb8f(0x131)]({'options':{..._0x4743e8,..._0x43a509},'args':_0x4852a0?[_0x4852a0]:[],'tdx':_0x3aa1fa});gracefulExit(_0x429b74);}),segmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2d0),{'hidden':!![]})[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2f7))['option'](a2_0x4cef1c(0x1d2),'Segment\x20description')[a2_0x4cef1c(0x1da)]('--rule\x20<json>',a2_0x4cef1c(0x16f))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xdd),'Filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x4cef1c(0x186),a2_0x4cef1c(0x2c2))['option'](a2_0x4cef1c(0xbf),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x15a),'Make\x20segment\x20invisible\x20(default:\x20visible)')['option'](a2_0x4cef1c(0xaf),'Skip\x20population\x20counting')[a2_0x4cef1c(0x221)](async(_0x1f1849,_0x4a6ec2)=>{const _0x24db02=a2_0x4cef1c,_0x3b5b47=new SegmentCreateCommand(),_0x46dbe1=program['opts'](),_0x59e974=await createTDXInstance(_0x46dbe1),_0x1ed20d=await _0x3b5b47[_0x24db02(0x131)]({'options':{..._0x46dbe1,..._0x4a6ec2},'args':[_0x1f1849],'tdx':_0x59e974});gracefulExit(_0x1ed20d);}),segmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x17b),{'hidden':!![]})[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x177))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xd6),'New\x20segment\x20name')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1d2),a2_0x4cef1c(0x8e))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x25e),a2_0x4cef1c(0x16c))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xdd),a2_0x4cef1c(0x14b))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x186),a2_0x4cef1c(0x2f6))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xbf),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['action'](async(_0x2ee00b,_0x2b6b5b)=>{const _0x46f23f=a2_0x4cef1c,_0x1d6002=new SegmentUpdateCommand(),_0x53ed29=program[_0x46f23f(0xdf)](),_0xf175cf=await createTDXInstance(_0x53ed29),_0x1af7ca=await _0x1d6002[_0x46f23f(0x131)]({'options':{..._0x53ed29,..._0x2b6b5b},'args':[_0x2ee00b],'tdx':_0xf175cf});gracefulExit(_0x1af7ca);});const parentCmd=segmentCmd['command'](a2_0x4cef1c(0xa4),{'hidden':!![]})['description']('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x832890,_0x121ec7)=>{const _0x2a9ec5=a2_0x4cef1c,_0x385162=new ParentSegmentListCommand(),_0x434b1b=program[_0x2a9ec5(0xdf)](),_0x3fbca2=await createTDXInstance(_0x434b1b),_0x2a9d95=await _0x385162[_0x2a9ec5(0x131)]({'options':{..._0x434b1b,..._0x121ec7},'args':_0x832890?[_0x832890]:[],'tdx':_0x3fbca2});gracefulExit(_0x2a9d95);};parentCmd['command'](a2_0x4cef1c(0x105))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x243))[a2_0x4cef1c(0x221)](parentListAction),segmentCmd[a2_0x4cef1c(0xa7)]('parents\x20[pattern]',{'hidden':!![]})['description'](a2_0x4cef1c(0x97))['action'](parentListAction),parentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x168))['description'](a2_0x4cef1c(0x99))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x18b),a2_0x4cef1c(0x156))[a2_0x4cef1c(0x221)](async(_0x42d166,_0x192995)=>{const _0x3f0a65=a2_0x4cef1c,_0x4903c4=new ParentSegmentPullCommand(),_0xb087e0=program['opts'](),_0x32eec6=await createTDXInstance(_0xb087e0),_0x46a5b2=await _0x4903c4[_0x3f0a65(0x131)]({'options':{..._0xb087e0,..._0x192995},'args':_0x42d166?[_0x42d166]:[],'tdx':_0x32eec6});gracefulExit(_0x46a5b2);}),parentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x155))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x30f))[a2_0x4cef1c(0x221)](async(_0x2a3a76,_0x1a11ff)=>{const _0x387e12=a2_0x4cef1c,_0x552225=new ParentSegmentPushCommand(),_0x1046c1=program[_0x387e12(0xdf)](),_0x9e263a=await createTDXInstance(_0x1046c1),_0x24f118=await _0x552225['run']({'options':{..._0x1046c1,..._0x1a11ff},'args':_0x2a3a76?[_0x2a3a76]:[],'tdx':_0x9e263a});gracefulExit(_0x24f118);}),parentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x328))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1bc),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x4cef1c(0x218),a2_0x4cef1c(0x2aa))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x17c),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x4cef1c(0x1da)]('--enriched',a2_0x4cef1c(0xc7))['option'](a2_0x4cef1c(0x107),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x4cef1c(0x1dc))[a2_0x4cef1c(0x221)](async(_0x4acc63,_0x3599b0)=>{const _0x266a62=a2_0x4cef1c,_0x322745=new ParentSegmentValidateCommand(),_0x1d59bd=program[_0x266a62(0xdf)](),_0x353b08=await createTDXInstance(_0x1d59bd),_0x2a0b61=await _0x322745[_0x266a62(0x131)]({'options':{..._0x1d59bd,..._0x3599b0},'args':_0x4acc63?[_0x4acc63]:[],'tdx':_0x353b08});gracefulExit(_0x2a0b61);}),parentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x8d))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x21b))['option'](a2_0x4cef1c(0x1bc),a2_0x4cef1c(0x211))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x218),a2_0x4cef1c(0x2c3))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x17c),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')['option'](a2_0x4cef1c(0x31b),a2_0x4cef1c(0x165))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x107),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x4cef1c(0x1dc))[a2_0x4cef1c(0x221)](async(_0x1cd807,_0x473123)=>{const _0xb5372b=a2_0x4cef1c,_0x326494=new ParentSegmentPreviewCommand(),_0x4f6a6d=program['opts'](),_0xe6c2e9=await createTDXInstance(_0x4f6a6d),_0x306f3f=await _0x326494[_0xb5372b(0x131)]({'options':{..._0x4f6a6d,..._0x473123},'args':_0x1cd807?[_0x1cd807]:[],'tdx':_0xe6c2e9});gracefulExit(_0x306f3f);}),parentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x14f))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1c2))[a2_0x4cef1c(0x221)](async(_0x1b483b,_0x3e39fc)=>{const _0x2234dd=a2_0x4cef1c,_0x510985=new ParentSegmentRunCommand(),_0x4b932b=program['opts'](),_0x4a229d=await createTDXInstance(_0x4b932b),_0x5648fa=await _0x510985[_0x2234dd(0x131)]({'options':{..._0x4b932b,..._0x3e39fc},'args':_0x1b483b?[_0x1b483b]:[],'tdx':_0x4a229d});gracefulExit(_0x5648fa);});const parentSegmentCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2fe))[a2_0x4cef1c(0xc8)]('ps')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x262));parentSegmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x105))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x243))[a2_0x4cef1c(0x221)](parentListAction),parentSegmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x168))['description'](a2_0x4cef1c(0x178))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x18b),a2_0x4cef1c(0x142))[a2_0x4cef1c(0x1da)]('-u,\x20--use',a2_0x4cef1c(0x2b2))[a2_0x4cef1c(0x221)](async(_0x5ef094,_0x46d32f)=>{const _0x84fec2=a2_0x4cef1c,_0x4963d8=new ParentSegmentPullCommand(),_0x3db129=program[_0x84fec2(0xdf)](),_0x5c99ad=await createTDXInstance(_0x3db129),_0x43a838=await _0x4963d8[_0x84fec2(0x131)]({'options':{..._0x3db129,..._0x46d32f},'args':_0x5ef094?[_0x5ef094]:[],'tdx':_0x5c99ad});gracefulExit(_0x43a838);}),parentSegmentCmd['command'](a2_0x4cef1c(0xf6))['description'](a2_0x4cef1c(0xe9))[a2_0x4cef1c(0x221)](async(_0x205f11,_0x265e6e)=>{const _0x3c4376=a2_0x4cef1c,_0x1f20f2=new ParentSegmentPushCommand(),_0x5f3fa9=program[_0x3c4376(0xdf)](),_0x5cbf5d=await createTDXInstance(_0x5f3fa9),_0x4fced3=await _0x1f20f2['run']({'options':{..._0x5f3fa9,..._0x265e6e},'args':_0x205f11?[_0x205f11]:[],'tdx':_0x5cbf5d});gracefulExit(_0x4fced3);}),parentSegmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x117))[a2_0x4cef1c(0x320)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1bc),'Show\x20only\x20master\x20table\x20validation')[a2_0x4cef1c(0x1da)]('--attribute\x20[name]',a2_0x4cef1c(0x2aa))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x17c),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x31b),a2_0x4cef1c(0xc7))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x107),a2_0x4cef1c(0x1d4),a2_0x4cef1c(0x1dc))[a2_0x4cef1c(0x221)](async(_0xe5def4,_0x49d0cf)=>{const _0xd23b84=a2_0x4cef1c,_0x193dbc=new ParentSegmentValidateCommand(),_0x42f8c3=program[_0xd23b84(0xdf)](),_0x355abe=await createTDXInstance(_0x42f8c3),_0x182126=await _0x193dbc[_0xd23b84(0x131)]({'options':{..._0x42f8c3,..._0x49d0cf},'args':_0xe5def4?[_0xe5def4]:[],'tdx':_0x355abe});gracefulExit(_0x182126);}),parentSegmentCmd['command'](a2_0x4cef1c(0x158))['description'](a2_0x4cef1c(0x21b))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1bc),'Show\x20master\x20table\x20sample\x20data')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x218),a2_0x4cef1c(0x2c3))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x17c),a2_0x4cef1c(0xab))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x31b),a2_0x4cef1c(0x165))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x107),a2_0x4cef1c(0x1d4),a2_0x4cef1c(0x1dc))[a2_0x4cef1c(0x221)](async(_0x2a4789,_0x2bec92)=>{const _0x32360f=a2_0x4cef1c,_0x400952=new ParentSegmentPreviewCommand(),_0x57e159=program[_0x32360f(0xdf)](),_0x33a426=await createTDXInstance(_0x57e159),_0x531cc0=await _0x400952[_0x32360f(0x131)]({'options':{..._0x57e159,..._0x2bec92},'args':_0x2a4789?[_0x2a4789]:[],'tdx':_0x33a426});gracefulExit(_0x531cc0);}),parentSegmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x14f))[a2_0x4cef1c(0x320)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x4cef1c(0x221)](async(_0x816daa,_0x490c62)=>{const _0x543a39=new ParentSegmentRunCommand(),_0x1857c0=program['opts'](),_0x200f66=await createTDXInstance(_0x1857c0),_0x5050ab=await _0x543a39['run']({'options':{..._0x1857c0,..._0x490c62},'args':_0x816daa?[_0x816daa]:[],'tdx':_0x200f66});gracefulExit(_0x5050ab);}),parentSegmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x180))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xcf))['option']('--json',a2_0x4cef1c(0xfb))[a2_0x4cef1c(0x1da)]('--jsonl',a2_0x4cef1c(0x24e))[a2_0x4cef1c(0x221)](async(_0xcf99d0,_0x55fcda)=>{const _0x84cc06=a2_0x4cef1c,_0xc9b451=new ParentSegmentFieldsCommand(),_0x4d6ab5=program['opts'](),_0x520181=await createTDXInstance(_0x4d6ab5),_0x481b41=await _0xc9b451[_0x84cc06(0x131)]({'options':{..._0x4d6ab5,..._0x55fcda},'args':_0xcf99d0?[_0xcf99d0]:[],'tdx':_0x520181});gracefulExit(_0x481b41);}),parentSegmentCmd[a2_0x4cef1c(0xa7)]('view\x20[name]')['description']('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x4cef1c(0x1da)]('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')['option'](a2_0x4cef1c(0x255),a2_0x4cef1c(0xfb))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x20a),a2_0x4cef1c(0x24e))['action'](async(_0x1c4601,_0x1390c7)=>{const _0x28613b=a2_0x4cef1c,_0x2ff4fc=new ParentSegmentViewCommand(),_0x358889=program[_0x28613b(0xdf)](),_0x419be0=await createTDXInstance(_0x358889),_0x457457=await _0x2ff4fc[_0x28613b(0x131)]({'options':{..._0x358889,..._0x1390c7},'args':_0x1c4601?[_0x1c4601]:[],'tdx':_0x419be0});gracefulExit(_0x457457);}),parentSegmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2c4))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xe8))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x18b),a2_0x4cef1c(0x142))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x255),a2_0x4cef1c(0xfb))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x20a),a2_0x4cef1c(0x24e))[a2_0x4cef1c(0x221)](async(_0x3fa67d,_0x2dd61b)=>{const _0x267af9=a2_0x4cef1c,_0x4abc11=new ParentSegmentDescCommand(),_0x5434c1=program[_0x267af9(0xdf)](),_0x19c31b=await createTDXInstance(_0x5434c1),_0x42d0de=await _0x4abc11[_0x267af9(0x131)]({'options':{..._0x5434c1,..._0x2dd61b},'args':_0x3fa67d?[_0x3fa67d]:[],'tdx':_0x19c31b});gracefulExit(_0x42d0de);}),parentSegmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x14e))[a2_0x4cef1c(0x320)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x4cef1c(0x1da)]('--json',a2_0x4cef1c(0xfb))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x20a),a2_0x4cef1c(0x24e))[a2_0x4cef1c(0x221)](async(_0x2e9fa1,_0x28df3c)=>{const _0x1bd785=a2_0x4cef1c,_0x1a00d0=new ParentSegmentSQLCommand(),_0x1568fa=program[_0x1bd785(0xdf)](),_0x429022=await createTDXInstance(_0x1568fa),_0x39a55c=await _0x1a00d0[_0x1bd785(0x131)]({'options':{..._0x1568fa,..._0x28df3c},'args':_0x2e9fa1?[_0x2e9fa1]:[],'tdx':_0x429022});gracefulExit(_0x39a55c);}),parentSegmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2a9))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x30b))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1c7),a2_0x4cef1c(0x257))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x255),a2_0x4cef1c(0xfb))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x20a),'Output\x20as\x20JSON\x20Lines')[a2_0x4cef1c(0x221)](async(_0x4906b8,_0x290262)=>{const _0x234e42=a2_0x4cef1c,_0xef2614=new ParentSegmentShowCommand(),_0x351db7=program[_0x234e42(0xdf)](),_0x54897e=await createTDXInstance(_0x351db7),_0x26d431=await _0xef2614[_0x234e42(0x131)]({'options':{..._0x351db7,..._0x290262},'args':_0x4906b8?[_0x4906b8]:[],'tdx':_0x54897e});gracefulExit(_0x26d431);}),parentSegmentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2e0))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1cd))[a2_0x4cef1c(0x221)](async(_0x486b33,_0x3d76dd)=>{const _0x4cda9c=a2_0x4cef1c,_0x12605f=new UseCommand(),_0x331719=program[_0x4cda9c(0xdf)](),_0xc2ce6a=_0x486b33?['parent_segment',_0x486b33]:[],_0x114d4e=await _0x12605f['run']({'options':{..._0x331719,..._0x3d76dd},'args':_0xc2ce6a,'tdx':null});gracefulExit(_0x114d4e);});const psRtCmd=parentSegmentCmd[a2_0x4cef1c(0xa7)]('rt')[a2_0x4cef1c(0x320)]('RT\x202.0\x20configuration\x20management');psRtCmd['command'](a2_0x4cef1c(0x105))['description'](a2_0x4cef1c(0x2a0))[a2_0x4cef1c(0x221)](async(_0x4d1019,_0x4f03fc)=>{const _0xe6a56d=a2_0x4cef1c,_0x4a0f4f=new PSRtListCommand(),_0x5a93d4=program[_0xe6a56d(0xdf)](),_0x34a366=await createTDXInstance(_0x5a93d4),_0x2169ba=await _0x4a0f4f[_0xe6a56d(0x131)]({'options':{..._0x5a93d4,..._0x4f03fc},'args':_0x4d1019?[_0x4d1019]:[],'tdx':_0x34a366});gracefulExit(_0x2169ba);}),psRtCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x117))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x21f))[a2_0x4cef1c(0x221)](async(_0x25d83b,_0x38b310)=>{const _0x5ba47a=a2_0x4cef1c,_0x3bf1c2=new PSRtValidateCommand(),_0x352e68=program[_0x5ba47a(0xdf)](),_0x11b5ad=await createTDXInstance(_0x352e68),_0x5adb3b=await _0x3bf1c2[_0x5ba47a(0x131)]({'options':{..._0x352e68,..._0x38b310},'args':_0x25d83b?[_0x25d83b]:[],'tdx':_0x11b5ad});gracefulExit(_0x5adb3b);});const parentRtCmd=parentCmd[a2_0x4cef1c(0xa7)]('rt',{'hidden':!![]})['description'](a2_0x4cef1c(0x27e));parentRtCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x105))['description'](a2_0x4cef1c(0x2a0))[a2_0x4cef1c(0x221)](async(_0xd806bb,_0x241c51)=>{const _0x96c7dd=a2_0x4cef1c,_0x25eaba=new PSRtListCommand(),_0x4d6818=program[_0x96c7dd(0xdf)](),_0x2ca4d0=await createTDXInstance(_0x4d6818),_0x1d5870=await _0x25eaba[_0x96c7dd(0x131)]({'options':{..._0x4d6818,..._0x241c51},'args':_0xd806bb?[_0xd806bb]:[],'tdx':_0x2ca4d0});gracefulExit(_0x1d5870);}),parentRtCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x117))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x21f))['action'](async(_0x26ea9b,_0x5946fc)=>{const _0x411a30=a2_0x4cef1c,_0x5e3864=new PSRtValidateCommand(),_0x4358d7=program[_0x411a30(0xdf)](),_0x539cfa=await createTDXInstance(_0x4358d7),_0x277f10=await _0x5e3864[_0x411a30(0x131)]({'options':{..._0x4358d7,..._0x5946fc},'args':_0x26ea9b?[_0x26ea9b]:[],'tdx':_0x539cfa});gracefulExit(_0x277f10);});const psPzCmd=parentSegmentCmd[a2_0x4cef1c(0xa7)]('pz')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xdc));psPzCmd[a2_0x4cef1c(0xa7)]('list\x20[name]')['description'](a2_0x4cef1c(0x23b))[a2_0x4cef1c(0x221)](async(_0x9e4ec8,_0x44c5c1)=>{const _0x1d79b9=a2_0x4cef1c,_0x42aa67=new PSPzListCommand(),_0x2cf8ea=program[_0x1d79b9(0xdf)](),_0x4dc5c1=await createTDXInstance(_0x2cf8ea),_0x49f919=await _0x42aa67['run']({'options':{..._0x2cf8ea,..._0x44c5c1},'args':_0x9e4ec8?[_0x9e4ec8]:[],'tdx':_0x4dc5c1});gracefulExit(_0x49f919);}),psPzCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xa5))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1d0))[a2_0x4cef1c(0x221)](async(_0x5021f2,_0x46bccb)=>{const _0x218661=a2_0x4cef1c,_0x46b5da=new PSPzInitCommand(),_0x1331cc=program['opts'](),_0x3d8c30=await createTDXInstance(_0x1331cc),_0x1bfe8a=await _0x46b5da[_0x218661(0x131)]({'options':{..._0x1331cc,..._0x46bccb},'args':_0x5021f2?[_0x5021f2]:[],'tdx':_0x3d8c30});gracefulExit(_0x1bfe8a);});const parentPzCmd=parentCmd[a2_0x4cef1c(0xa7)]('pz',{'hidden':!![]})[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xdc));parentPzCmd[a2_0x4cef1c(0xa7)]('list\x20[name]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x23b))[a2_0x4cef1c(0x221)](async(_0x560d94,_0x25c6fe)=>{const _0x169f87=a2_0x4cef1c,_0x4fc990=new PSPzListCommand(),_0x42981e=program[_0x169f87(0xdf)](),_0x4edbf1=await createTDXInstance(_0x42981e),_0x362f1a=await _0x4fc990[_0x169f87(0x131)]({'options':{..._0x42981e,..._0x25c6fe},'args':_0x560d94?[_0x560d94]:[],'tdx':_0x4edbf1});gracefulExit(_0x362f1a);}),parentPzCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xa5))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1d0))['action'](async(_0x24c80f,_0x2cae56)=>{const _0x240ac2=a2_0x4cef1c,_0x1721d0=new PSPzInitCommand(),_0x4c36fe=program[_0x240ac2(0xdf)](),_0x1f94a9=await createTDXInstance(_0x4c36fe),_0x54ed67=await _0x1721d0[_0x240ac2(0x131)]({'options':{..._0x4c36fe,..._0x2cae56},'args':_0x24c80f?[_0x24c80f]:[],'tdx':_0x1f94a9});gracefulExit(_0x54ed67);}),parentCmd[a2_0x4cef1c(0xa7)]('create\x20<name>')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xf2))['requiredOption']('--database\x20<db>',a2_0x4cef1c(0x1fe))['requiredOption']('--table\x20<table>',a2_0x4cef1c(0x85))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1d2),a2_0x4cef1c(0x226))['option'](a2_0x4cef1c(0x109),a2_0x4cef1c(0x281))['option'](a2_0x4cef1c(0x12d),a2_0x4cef1c(0xce))[a2_0x4cef1c(0x1da)]('--timezone\x20<tz>',a2_0x4cef1c(0x263))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2fa),a2_0x4cef1c(0x2fb))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x296),'Attributes\x20from\x20JSON\x20file')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x22d),a2_0x4cef1c(0xf3))['option'](a2_0x4cef1c(0x205),a2_0x4cef1c(0x240))[a2_0x4cef1c(0x1da)]('--customer-group\x20<json>',a2_0x4cef1c(0x2a8))['option'](a2_0x4cef1c(0x1db),'Customer\x20group\x20from\x20JSON\x20file')[a2_0x4cef1c(0x221)](async(_0x399501,_0xae02a5)=>{const _0x34e81c=a2_0x4cef1c,_0x15a68c=new ParentSegmentCreateCommand(),_0x2d5b13=program[_0x34e81c(0xdf)](),_0x314782=await createTDXInstance(_0x2d5b13),_0x36bd74=await _0x15a68c[_0x34e81c(0x131)]({'options':{..._0x2d5b13,..._0xae02a5},'args':[_0x399501],'tdx':_0x314782});gracefulExit(_0x36bd74);}),parentCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x11e))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x24d))['option']('--description\x20<text>',a2_0x4cef1c(0x8e))[a2_0x4cef1c(0x1da)]('--schedule-type\x20<type>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option'](a2_0x4cef1c(0x12d),a2_0x4cef1c(0x103))[a2_0x4cef1c(0x1da)]('--timezone\x20<tz>','Updated\x20timezone')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1d1),a2_0x4cef1c(0x152))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2ab),a2_0x4cef1c(0x206))['option'](a2_0x4cef1c(0x201),a2_0x4cef1c(0x26e))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1bb),a2_0x4cef1c(0x17d))[a2_0x4cef1c(0x221)](async(_0x3d8203,_0xd8292)=>{const _0x2b19a4=a2_0x4cef1c,_0x4bdb01=new ParentSegmentUpdateCommand(),_0x558e0a=program['opts'](),_0x1bd044=await createTDXInstance(_0x558e0a),_0x5d91b1=await _0x4bdb01[_0x2b19a4(0x131)]({'options':{..._0x558e0a,..._0xd8292},'args':[_0x3d8203],'tdx':_0x1bd044});gracefulExit(_0x5d91b1);}),folderCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xb0))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2ec))['option'](a2_0x4cef1c(0x1d2),a2_0x4cef1c(0x324))['option'](a2_0x4cef1c(0x13a),a2_0x4cef1c(0x161))['action'](async(_0xe4c3b6,_0x59ec48,_0x384e9f)=>{const _0x392725=a2_0x4cef1c,_0x3c96b4=new SegmentFolderCreateCommand(),_0x31e0d8=program[_0x392725(0xdf)](),_0x31afd3=await createTDXInstance(_0x31e0d8),_0x3c7f85=await _0x3c96b4[_0x392725(0x131)]({'options':{..._0x31e0d8,..._0x384e9f},'args':[_0xe4c3b6,_0x59ec48],'tdx':_0x31afd3});gracefulExit(_0x3c7f85);}),program['command'](a2_0x4cef1c(0x307))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x22f))[a2_0x4cef1c(0x221)](async(_0x37f8f8,_0x20a941)=>{const _0x50c34a=a2_0x4cef1c,_0x41df9b=new ActivationsCommand(),_0x5d7631=program[_0x50c34a(0xdf)](),_0x20bfa5=await createTDXInstance(_0x5d7631),_0x2310ea=await _0x41df9b[_0x50c34a(0x131)]({'options':{..._0x5d7631,..._0x20a941},'args':[_0x37f8f8],'tdx':_0x20bfa5});gracefulExit(_0x2310ea);});const workflowCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1a9))['alias']('wf')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x140)),wfProjectCmd=workflowCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x22e))[a2_0x4cef1c(0x320)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x4d949f,_0x2323dd)=>{const _0x551331=a2_0x4cef1c,_0x417f9f=new WorkflowProjectsCommand(),_0x35974b=program[_0x551331(0xdf)](),_0x31c0c1=await createTDXInstance(_0x35974b),_0x5a5e96=await _0x417f9f[_0x551331(0x131)]({'options':{..._0x35974b,..._0x2323dd},'args':_0x4d949f?[_0x4d949f]:[],'tdx':_0x31c0c1});gracefulExit(_0x5a5e96);};wfProjectCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x105))['description']('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x4cef1c(0x221)](wfProjectListAction),workflowCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xf0))[a2_0x4cef1c(0x320)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x4cef1c(0x221)](wfProjectListAction);const wfWorkflowListAction=async(_0x617945,_0x1e4186)=>{const _0xe7d543=a2_0x4cef1c,_0x2140b4=new WorkflowWorkflowsCommand(),_0x2fabb1=program[_0xe7d543(0xdf)](),_0x33a2b1=await createTDXInstance(_0x2fabb1),_0x256cc8=await _0x2140b4[_0xe7d543(0x131)]({'options':{..._0x2fabb1,..._0x1e4186},'args':_0x617945?[_0x617945]:[],'tdx':_0x33a2b1});gracefulExit(_0x256cc8);};workflowCmd['command'](a2_0x4cef1c(0x288))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2ea))[a2_0x4cef1c(0x221)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x4cef1c(0xa7)]('session')['description'](a2_0x4cef1c(0x1a0)),wfSessionListAction=async(_0x1672bd,_0x51e166)=>{const _0x49d392=a2_0x4cef1c,_0x2cff24=new WorkflowSessionsCommand(),_0x3930df=program['opts'](),_0x42ab96=await createTDXInstance(_0x3930df),_0x3c96be=await _0x2cff24[_0x49d392(0x131)]({'options':{..._0x3930df,..._0x51e166},'args':_0x1672bd?[_0x1672bd]:[],'tdx':_0x42ab96});gracefulExit(_0x3c96be);};wfSessionCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x12f))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x9c))[a2_0x4cef1c(0x1da)]('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2fc),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x4cef1c(0x270),a2_0x4cef1c(0x2f5))[a2_0x4cef1c(0x221)](wfSessionListAction),workflowCmd['command'](a2_0x4cef1c(0x325))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1b2))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x14d),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2fc),a2_0x4cef1c(0x304))[a2_0x4cef1c(0x1da)]('--to\x20<timestamp>',a2_0x4cef1c(0x2f5))[a2_0x4cef1c(0x221)](wfSessionListAction);const wfAttemptListAction=async(_0x538b35,_0x282d65)=>{const _0x2bb7ca=a2_0x4cef1c,_0x20d368=new WorkflowAttemptsCommand(),_0x25c04d=program[_0x2bb7ca(0xdf)](),_0x1d320c=await createTDXInstance(_0x25c04d),_0xe67536=await _0x20d368[_0x2bb7ca(0x131)]({'options':{..._0x25c04d,..._0x282d65},'args':_0x538b35?[_0x538b35]:[],'tdx':_0x1d320c});gracefulExit(_0xe67536);},attemptCmd=workflowCmd['command'](a2_0x4cef1c(0xf8))['description'](a2_0x4cef1c(0x21e))[a2_0x4cef1c(0x1c0)](a2_0x4cef1c(0x237),a2_0x4cef1c(0x31a))[a2_0x4cef1c(0x1c0)](a2_0x4cef1c(0x272),a2_0x4cef1c(0xf1))[a2_0x4cef1c(0x1c0)]('[task-name]',a2_0x4cef1c(0x2b9))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a5),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1a3),a2_0x4cef1c(0x238))[a2_0x4cef1c(0x1da)]('--resume-from\x20<task>',a2_0x4cef1c(0x282))['option']('--params\x20<json>',a2_0x4cef1c(0x2eb))[a2_0x4cef1c(0x1da)]('--force',a2_0x4cef1c(0x2d2))[a2_0x4cef1c(0x1da)]('--include-retried',a2_0x4cef1c(0x1f3))[a2_0x4cef1c(0x221)](async(_0x36c9ea,_0x2225e5,_0x58a834,_0x10e046)=>{const _0x4fba4a=a2_0x4cef1c;if(_0x36c9ea===_0x4fba4a(0x297)){await wfAttemptListAction(_0x2225e5,_0x10e046);return;}if(!_0x36c9ea){attemptCmd[_0x4fba4a(0x229)]();return;}const _0x39b6d0=program[_0x4fba4a(0xdf)](),_0x30dd68=await createTDXInstance(_0x39b6d0);let _0x455b1d=0x0;if(!_0x2225e5){const _0x56b939=new WorkflowAttemptCommand();_0x455b1d=await _0x56b939[_0x4fba4a(0x131)]({'options':{..._0x39b6d0,..._0x10e046},'args':[_0x36c9ea],'tdx':_0x30dd68});}else{if(_0x2225e5==='logs'){const _0x53e455=new WorkflowLogsCommand();_0x455b1d=await _0x53e455['run']({'options':{..._0x39b6d0,..._0x10e046},'args':_0x58a834?[_0x36c9ea,_0x58a834]:[_0x36c9ea],'tdx':_0x30dd68});}else{if(_0x2225e5===_0x4fba4a(0x1e5)){const _0x330efe=new WorkflowTasksCommand();_0x455b1d=await _0x330efe['run']({'options':{..._0x39b6d0,..._0x10e046},'args':[_0x36c9ea],'tdx':_0x30dd68});}else{if(_0x2225e5==='kill'){const _0x2e03d7=new WorkflowKillCommand();_0x455b1d=await _0x2e03d7[_0x4fba4a(0x131)]({'options':{..._0x39b6d0,..._0x10e046},'args':[_0x36c9ea],'tdx':_0x30dd68});}else{if(_0x2225e5===_0x4fba4a(0xf7)){const _0x3ae9f0=new WorkflowRetryCommand();_0x455b1d=await _0x3ae9f0[_0x4fba4a(0x131)]({'options':{..._0x39b6d0,..._0x10e046},'args':[_0x4fba4a(0x118)+_0x36c9ea],'tdx':_0x30dd68});}else console['error'](_0x4fba4a(0x2d5)+_0x2225e5),console[_0x4fba4a(0x1f2)](_0x4fba4a(0x29d)),_0x455b1d=0x1;}}}}gracefulExit(_0x455b1d);});attemptCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x12f))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2d3))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x289),a2_0x4cef1c(0x222))['action'](wfAttemptListAction),workflowCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x145))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x144))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x289),'Include\x20retried\x20attempts')[a2_0x4cef1c(0x221)](wfAttemptListAction),workflowCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x16a))['description'](a2_0x4cef1c(0x1b9))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2b4),a2_0x4cef1c(0x2c5))['option']('--session-id\x20<id>',a2_0x4cef1c(0x166))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x326),a2_0x4cef1c(0x2e1))[a2_0x4cef1c(0x221)](async(_0x40ae4b,_0x530c4b)=>{const _0x5ada96=a2_0x4cef1c,_0x5ddefd=new WorkflowTimelineCommand(),_0x3dd556=program['opts'](),_0x5a8563=await createTDXInstance(_0x3dd556),_0x11ce82=await _0x5ddefd[_0x5ada96(0x131)]({'options':{..._0x3dd556,..._0x530c4b},'args':_0x40ae4b?[_0x40ae4b]:[],'tdx':_0x5a8563});gracefulExit(_0x11ce82);}),workflowCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x89))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x233))['option'](a2_0x4cef1c(0xb7),a2_0x4cef1c(0x162))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x269),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x4cef1c(0x221)](async(_0x148160,_0x37504b)=>{const _0x5c092a=a2_0x4cef1c,_0x138d01=new WorkflowRetryCommand(),_0x4bddf6=program[_0x5c092a(0xdf)](),_0x2e02a1=await createTDXInstance(_0x4bddf6),_0x366e27=await _0x138d01[_0x5c092a(0x131)]({'options':{..._0x4bddf6,..._0x37504b},'args':[_0x148160],'tdx':_0x2e02a1});gracefulExit(_0x366e27);}),workflowCmd['command'](a2_0x4cef1c(0x1cf))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x29c))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1ed),a2_0x4cef1c(0x173),(_0xb7c056,_0x3d9193=[])=>[..._0x3d9193,_0xb7c056],[])[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1b6),a2_0x4cef1c(0x1a5))[a2_0x4cef1c(0x221)](async(_0x37307f,_0x5659e9)=>{const _0x5e7cac=a2_0x4cef1c,_0x1d5081=new WorkflowRunCommand(),_0x265e01=program[_0x5e7cac(0xdf)](),_0x46c7fd=await createTDXInstance(_0x265e01),_0x34fa80=await _0x1d5081[_0x5e7cac(0x131)]({'options':{..._0x265e01,..._0x5659e9},'args':_0x37307f?[_0x37307f]:[],'tdx':_0x46c7fd});gracefulExit(_0x34fa80);}),workflowCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x25b))['description'](a2_0x4cef1c(0xec))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x264),a2_0x4cef1c(0x223))[a2_0x4cef1c(0x221)](async(_0x4f2c44,_0x15c282,_0x56cbc8)=>{const _0x1c4d8c=a2_0x4cef1c,_0x36eb30=new WorkflowDownloadCommand(),_0x55c6fd=program['opts'](),_0xfc33a6=await createTDXInstance(_0x55c6fd),_0x77f852=await _0x36eb30[_0x1c4d8c(0x131)]({'options':{..._0x55c6fd,..._0x56cbc8},'args':[_0x4f2c44,_0x15c282||'.'],'tdx':_0xfc33a6});gracefulExit(_0x77f852);}),workflowCmd['command']('pull\x20<project>\x20[target-dir]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xb1))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x264),a2_0x4cef1c(0x1d8))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a7),a2_0x4cef1c(0xbc))[a2_0x4cef1c(0x221)](async(_0x15e5a9,_0x366e82,_0x11898b)=>{const _0x557047=a2_0x4cef1c,_0x3d274d=new WorkflowPullCommand(),_0x153710=program[_0x557047(0xdf)](),_0x19e689=await createTDXInstance(_0x153710),_0x304d97=await _0x3d274d[_0x557047(0x131)]({'options':{..._0x153710,..._0x11898b},'args':_0x366e82?[_0x15e5a9,_0x366e82]:[_0x15e5a9],'tdx':_0x19e689});gracefulExit(_0x304d97);}),workflowCmd[a2_0x4cef1c(0xa7)]('push\x20[source-dir]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x8a))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x264),a2_0x4cef1c(0x290))['option'](a2_0x4cef1c(0x2a7),a2_0x4cef1c(0x111))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xcd),'Skip\x20validation\x20of\x20.dig\x20files')['action'](async(_0x84ddbe,_0x3b327d)=>{const _0x6ae402=a2_0x4cef1c,_0x24fb61=new WorkflowPushCommand(),_0x5e8df8=program[_0x6ae402(0xdf)](),_0x422dea=await createTDXInstance(_0x5e8df8),_0x4981e8=await _0x24fb61[_0x6ae402(0x131)]({'options':{..._0x5e8df8,..._0x3b327d},'args':_0x84ddbe?[_0x84ddbe]:[],'tdx':_0x422dea});gracefulExit(_0x4981e8);}),workflowCmd['command']('upload\x20[project-name-or-dir]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x212))[a2_0x4cef1c(0x1da)]('--name\x20<name>',a2_0x4cef1c(0xae))['option']('--revision\x20<revision>','Revision\x20name\x20(default:\x20timestamp)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xcd),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x4cef1c(0x221)](async(_0x28f72f,_0x114b32)=>{const _0x3cf7cf=a2_0x4cef1c,_0x3266a6=new WorkflowUploadCommand(),_0xae122e=program['opts'](),_0x35eb16=await createTDXInstance(_0xae122e),_0x2f3c27=await _0x3266a6[_0x3cf7cf(0x131)]({'options':{..._0xae122e,..._0x114b32},'args':_0x28f72f?[_0x28f72f]:[],'tdx':_0x35eb16});gracefulExit(_0x2f3c27);}),workflowCmd[a2_0x4cef1c(0xa7)]('clone\x20[source-dir]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x252))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2f2),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x264),a2_0x4cef1c(0x290))[a2_0x4cef1c(0x1da)]('--dry-run',a2_0x4cef1c(0x1a2))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xcd),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x4cef1c(0x221)](async(_0x357981,_0x3ffaf3)=>{const _0x4db5d1=a2_0x4cef1c,_0x1d8fc2=new WorkflowCloneCommand(),_0x26d6d4=program[_0x4db5d1(0xdf)](),_0x4d31d0=await createTDXInstance(_0x26d6d4),_0x3c164a=await _0x1d8fc2[_0x4db5d1(0x131)]({'options':{..._0x26d6d4,..._0x3ffaf3},'args':_0x357981?[_0x357981]:[],'tdx':_0x4d31d0});gracefulExit(_0x3c164a);}),workflowCmd['command'](a2_0x4cef1c(0x246))['description'](a2_0x4cef1c(0x1fd))[a2_0x4cef1c(0x221)](async(_0x4cc671,_0x3188f3)=>{const _0x3afa85=a2_0x4cef1c,_0x38464c=new WorkflowDeleteCommand(),_0x331e71=program[_0x3afa85(0xdf)](),_0x160be0=await createTDXInstance(_0x331e71),_0x20a1e4=await _0x38464c[_0x3afa85(0x131)]({'options':{..._0x331e71,..._0x3188f3},'args':[_0x4cc671],'tdx':_0x160be0});gracefulExit(_0x20a1e4);}),workflowCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x90))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x322))['option'](a2_0x4cef1c(0x280),a2_0x4cef1c(0x28b))[a2_0x4cef1c(0x221)](async(_0x2c3fd3,_0x55f2e0)=>{const _0x3aca60=new WorkflowUseCommand(),_0x169c10=program['opts'](),_0x3ee50c=await createTDXInstance(_0x169c10),_0x5366b8=await _0x3aca60['run']({'options':{..._0x169c10,..._0x55f2e0},'args':_0x2c3fd3?[_0x2c3fd3]:[],'tdx':_0x3ee50c});gracefulExit(_0x5366b8);});const wfSecretsCmd=workflowCmd['command']('secrets')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x10f));wfSecretsCmd['command'](a2_0x4cef1c(0x12f))['description'](a2_0x4cef1c(0x15e))[a2_0x4cef1c(0x221)](async(_0x3fb42a,_0x2d8138)=>{const _0x4538c5=new WorkflowSecretsListCommand(),_0x2ec5c1=program['opts'](),_0x16748e=await createTDXInstance(_0x2ec5c1),_0x36532c=await _0x4538c5['run']({'options':{..._0x2ec5c1,..._0x2d8138},'args':_0x3fb42a?[_0x3fb42a]:[],'tdx':_0x16748e});gracefulExit(_0x36532c);}),wfSecretsCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x321))['description'](a2_0x4cef1c(0x188))[a2_0x4cef1c(0x221)](async(_0xaf3cf3,_0x3f953f)=>{const _0x52e148=new WorkflowSecretsSetCommand(),_0x5686a9=program['opts'](),_0x1e896e=await createTDXInstance(_0x5686a9),_0x178237=await _0x52e148['run']({'options':{..._0x5686a9,..._0x3f953f},'args':_0xaf3cf3,'tdx':_0x1e896e});gracefulExit(_0x178237);}),wfSecretsCmd['command'](a2_0x4cef1c(0x312))[a2_0x4cef1c(0x320)]('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x4cef1c(0x221)](async(_0x437bf1,_0x583edf)=>{const _0x47184c=a2_0x4cef1c,_0xad0a2d=new WorkflowSecretsDeleteCommand(),_0x291dfb=program[_0x47184c(0xdf)](),_0x2beda3=await createTDXInstance(_0x291dfb),_0x3f15e3=await _0xad0a2d[_0x47184c(0x131)]({'options':{..._0x291dfb,..._0x583edf},'args':_0x437bf1,'tdx':_0x2beda3});gracefulExit(_0x3f15e3);});const jobCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x287))['description'](a2_0x4cef1c(0x309)),jobListAction=async _0x5a7bed=>{const _0x46eccd=a2_0x4cef1c,_0x33108f=new JobListCommand(),_0x1e3045=program[_0x46eccd(0xdf)](),_0x3b8e0b=await createTDXInstance(_0x1e3045),_0x56b242=await _0x33108f[_0x46eccd(0x131)]({'options':{..._0x1e3045,..._0x5a7bed},'args':[],'tdx':_0x3b8e0b});gracefulExit(_0x56b242);};jobCmd[a2_0x4cef1c(0xa7)]('list')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x130))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x14d),a2_0x4cef1c(0x2c0))[a2_0x4cef1c(0x221)](jobListAction),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xd5),{'hidden':!![]})[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xb4))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x14d),a2_0x4cef1c(0x2c0))[a2_0x4cef1c(0x221)](jobListAction),jobCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x24f))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x110))[a2_0x4cef1c(0x221)](async(_0xb367b6,_0x8c2725)=>{const _0x2b67d7=a2_0x4cef1c,_0xda8592=new JobShowCommand(),_0x2e40a3=program[_0x2b67d7(0xdf)](),_0x29e0b0=await createTDXInstance(_0x2e40a3),_0x1bb2d7=await _0xda8592[_0x2b67d7(0x131)]({'options':{..._0x2e40a3,..._0x8c2725},'args':[_0xb367b6],'tdx':_0x29e0b0});gracefulExit(_0x1bb2d7);}),jobCmd['command']('kill\x20<job-id>')['description']('Kill\x20a\x20job')[a2_0x4cef1c(0x221)](async(_0x65c1dd,_0x312d91)=>{const _0x5eeb33=a2_0x4cef1c,_0x5c3068=new JobKillCommand(),_0x363f2d=program['opts'](),_0x56112b=await createTDXInstance(_0x363f2d),_0x2b2226=await _0x5c3068[_0x5eeb33(0x131)]({'options':{..._0x363f2d,..._0x312d91},'args':[_0x65c1dd],'tdx':_0x56112b});gracefulExit(_0x2b2226);}),jobCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x259))['description']('Submit\x20a\x20job')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x167),a2_0x4cef1c(0x319),a2_0x4cef1c(0x1b3))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x265),a2_0x4cef1c(0x298))['option'](a2_0x4cef1c(0x329),a2_0x4cef1c(0x276),a2_0x4cef1c(0x127))['option'](a2_0x4cef1c(0x20e),'Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x4cef1c(0x221)](async(_0x722c3f,_0x2c4747)=>{const _0x265573=a2_0x4cef1c,_0x30e26a=new JobSubmitCommand(),_0x5bc3fd=program[_0x265573(0xdf)](),_0x4fcb9e=await createTDXInstance(_0x5bc3fd),_0x340782=await _0x30e26a[_0x265573(0x131)]({'options':{..._0x5bc3fd,..._0x2c4747},'args':_0x722c3f?[_0x722c3f]:[],'tdx':_0x4fcb9e});gracefulExit(_0x340782);}),jobCmd[a2_0x4cef1c(0xa7)]('result\x20<job-id>')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x17e))[a2_0x4cef1c(0x221)](async(_0x419de7,_0x26570e)=>{const _0x5c39c9=a2_0x4cef1c,_0x307cd3=new JobResultCommand(),_0x3c8fe6=program[_0x5c39c9(0xdf)](),_0x2a61ed=await createTDXInstance(_0x3c8fe6),_0x2ebd96=await _0x307cd3['run']({'options':{..._0x3c8fe6,..._0x26570e},'args':[_0x419de7],'tdx':_0x2a61ed});gracefulExit(_0x2ebd96);});const scheduleCmd=jobCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x29a))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x279));scheduleCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x105))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xe3))[a2_0x4cef1c(0x221)](async(_0x3a067a,_0x232839)=>{const _0x563a4d=a2_0x4cef1c,_0x779933=new ScheduleListCommand(),_0xe6c3d6=program[_0x563a4d(0xdf)](),_0x546037=await createTDXInstance(_0xe6c3d6),_0x557274=await _0x779933[_0x563a4d(0x131)]({'options':{..._0xe6c3d6,..._0x232839},'args':_0x3a067a?[_0x3a067a]:[],'tdx':_0x546037});gracefulExit(_0x557274);}),scheduleCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1f5))[a2_0x4cef1c(0x320)]('Show\x20schedule\x20details')[a2_0x4cef1c(0x221)](async(_0x4dba95,_0x31321d)=>{const _0x4302e4=a2_0x4cef1c,_0x181f8a=new ScheduleShowCommand(),_0x1703ce=program[_0x4302e4(0xdf)](),_0x4b3437=await createTDXInstance(_0x1703ce),_0x1a2d47=await _0x181f8a['run']({'options':{..._0x1703ce,..._0x31321d},'args':[_0x4dba95],'tdx':_0x4b3437});gracefulExit(_0x1a2d47);}),scheduleCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1af))['description'](a2_0x4cef1c(0xbe))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x81),a2_0x4cef1c(0x1ac))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x91),a2_0x4cef1c(0x1e8))[a2_0x4cef1c(0x1eb)](a2_0x4cef1c(0x265),a2_0x4cef1c(0x298))['option']('--type\x20<type>',a2_0x4cef1c(0xb6),a2_0x4cef1c(0x1b3))['option'](a2_0x4cef1c(0x2fd),a2_0x4cef1c(0x86))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2de),'Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xd7),a2_0x4cef1c(0x32c))[a2_0x4cef1c(0x1da)]('--priority\x20<-2~2>',a2_0x4cef1c(0x30e))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x13d),a2_0x4cef1c(0x1dd))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x19a),a2_0x4cef1c(0x10e))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x224),a2_0x4cef1c(0x1e9))['action'](async(_0x517fd1,_0x2c7373)=>{const _0x152cbd=a2_0x4cef1c,_0x4746c9=new ScheduleCreateCommand(),_0x548628=program[_0x152cbd(0xdf)](),_0x3844a8=await createTDXInstance(_0x548628);_0x2c7373['in']&&(_0x2c7373['database']=_0x2c7373['in']);const _0x34d9a7=await _0x4746c9['run']({'options':{..._0x548628,..._0x2c7373},'args':[_0x517fd1],'tdx':_0x3844a8});gracefulExit(_0x34d9a7);}),scheduleCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x11e))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x30d))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x81),'Database\x20name')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x91),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x265),a2_0x4cef1c(0x298))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xc0),a2_0x4cef1c(0xb6))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2fd),a2_0x4cef1c(0x86))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2de),'Timezone\x20for\x20cron')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xd7),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x194),a2_0x4cef1c(0x30e))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x13d),a2_0x4cef1c(0x1dd))['option'](a2_0x4cef1c(0x19a),a2_0x4cef1c(0x10e))[a2_0x4cef1c(0x1da)]('--result\x20<url>',a2_0x4cef1c(0x1e9))['action'](async(_0x4e75ab,_0x4fc5ef)=>{const _0xf2168a=a2_0x4cef1c,_0xd48771=new ScheduleUpdateCommand(),_0x12219f=program[_0xf2168a(0xdf)](),_0x2f4571=await createTDXInstance(_0x12219f);_0x4fc5ef['in']&&(_0x4fc5ef[_0xf2168a(0x13c)]=_0x4fc5ef['in']);const _0x28898c=await _0xd48771[_0xf2168a(0x131)]({'options':{..._0x12219f,..._0x4fc5ef},'args':[_0x4e75ab],'tdx':_0x2f4571});gracefulExit(_0x28898c);}),scheduleCmd['command'](a2_0x4cef1c(0x1fc))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x108))[a2_0x4cef1c(0x221)](async(_0x4c6f29,_0x4f398d)=>{const _0x24678b=a2_0x4cef1c,_0x5f49b2=new ScheduleDeleteCommand(),_0x3ec9dc=program[_0x24678b(0xdf)](),_0x19f2c9=await createTDXInstance(_0x3ec9dc),_0x10f919=await _0x5f49b2[_0x24678b(0x131)]({'options':{..._0x3ec9dc,..._0x4f398d},'args':[_0x4c6f29],'tdx':_0x19f2c9});gracefulExit(_0x10f919);}),scheduleCmd['command']('run\x20<name>')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xd3))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x292),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x217),a2_0x4cef1c(0x12a))[a2_0x4cef1c(0x221)](async(_0x1361ed,_0x19f9e4)=>{const _0x5b87b9=a2_0x4cef1c,_0x22767a=new ScheduleRunCommand(),_0x2494c8=program[_0x5b87b9(0xdf)](),_0x2d78ab=await createTDXInstance(_0x2494c8),_0x104552=await _0x22767a[_0x5b87b9(0x131)]({'options':{..._0x2494c8,..._0x19f9e4},'args':[_0x1361ed],'tdx':_0x2d78ab});gracefulExit(_0x104552);}),scheduleCmd['command'](a2_0x4cef1c(0x16d))[a2_0x4cef1c(0x320)]('Show\x20schedule\x20execution\x20history')[a2_0x4cef1c(0x1da)]('--from\x20<n>',a2_0x4cef1c(0x284))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x29e),a2_0x4cef1c(0x1ef))[a2_0x4cef1c(0x221)](async(_0x5df216,_0x2e038d)=>{const _0x584fb4=a2_0x4cef1c,_0x2156a7=new ScheduleHistoryCommand(),_0x153b76=program[_0x584fb4(0xdf)](),_0x3db223=await createTDXInstance(_0x153b76),_0x15a899=await _0x2156a7[_0x584fb4(0x131)]({'options':{..._0x153b76,..._0x2e038d},'args':[_0x5df216],'tdx':_0x3db223});gracefulExit(_0x15a899);});const llmCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1aa))['description'](a2_0x4cef1c(0x1de));llmCmd['command'](a2_0x4cef1c(0x29f))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x291))[a2_0x4cef1c(0x221)](async(_0xed0ff8,_0x3682d8)=>{const _0x4f9257=a2_0x4cef1c,_0x20760e=new LLMUseCommand(),_0x27002a=program[_0x4f9257(0xdf)](),_0x31f20d=await createTDXInstance(_0x27002a),_0x3937b1=await _0x20760e[_0x4f9257(0x131)]({'options':{..._0x27002a,..._0x3682d8},'args':[_0xed0ff8],'tdx':_0x31f20d});gracefulExit(_0x3937b1);}),llmCmd[a2_0x4cef1c(0xa7)]('models')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x245))[a2_0x4cef1c(0x221)](async _0x4d83dc=>{const _0x5ef658=a2_0x4cef1c,_0x17db16=new LLMModelsCommand(),_0x57db19=program[_0x5ef658(0xdf)](),_0x110d19=await createTDXInstance(_0x57db19),_0x5950b0=await _0x17db16[_0x5ef658(0x131)]({'options':{..._0x57db19,..._0x4d83dc},'args':[],'tdx':_0x110d19});gracefulExit(_0x5950b0);});const projectCmd=llmCmd['command']('project')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1a1)),llmProjectListAction=async(_0x1b2de2,_0x7439b7)=>{const _0x7a17f9=a2_0x4cef1c,_0x28cb05=new LLMProjectsCommand(),_0xe0c9fd=program[_0x7a17f9(0xdf)](),_0x489fc7=await createTDXInstance(_0xe0c9fd),_0x2a9a23=await _0x28cb05[_0x7a17f9(0x131)]({'options':{..._0xe0c9fd,..._0x7439b7},'args':_0x1b2de2?[_0x1b2de2]:[],'tdx':_0x489fc7});gracefulExit(_0x2a9a23);};projectCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x105))['description'](a2_0x4cef1c(0xcc))[a2_0x4cef1c(0x221)](llmProjectListAction),llmCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xf0))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x26b))['action'](llmProjectListAction),projectCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1af))[a2_0x4cef1c(0x320)]('Create\x20a\x20new\x20LLM\x20project')['option'](a2_0x4cef1c(0x1d2),a2_0x4cef1c(0x2b7))[a2_0x4cef1c(0x221)](async(_0x357d5a,_0x5e3465)=>{const _0x494643=a2_0x4cef1c,_0x1b2281=new LLMProjectCreateCommand(),_0x4d5448=program[_0x494643(0xdf)](),_0x5a9822=await createTDXInstance(_0x4d5448),_0x2e5631=await _0x1b2281[_0x494643(0x131)]({'options':{..._0x4d5448,..._0x5e3465},'args':[_0x357d5a],'tdx':_0x5a9822});gracefulExit(_0x2e5631);}),projectCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1fc))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1ec))['action'](async(_0x99a41f,_0x136bc7)=>{const _0x47d5e8=a2_0x4cef1c,_0x24d679=new LLMProjectDeleteCommand(),_0x337a3b=program[_0x47d5e8(0xdf)](),_0x42a59a=await createTDXInstance(_0x337a3b),_0x2701b9=await _0x24d679['run']({'options':{..._0x337a3b,..._0x136bc7},'args':[_0x99a41f],'tdx':_0x42a59a});gracefulExit(_0x2701b9);}),projectCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xff))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xc9))['option'](a2_0x4cef1c(0xac),a2_0x4cef1c(0x2a4))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a7),a2_0x4cef1c(0x239))[a2_0x4cef1c(0x221)](async(_0x26d86c,_0x499edf)=>{const _0x3911fe=a2_0x4cef1c,_0x4619a3=new LLMProjectBackupCommand(),_0xb2c250=program[_0x3911fe(0xdf)](),_0x3fe32d=await createTDXInstance(_0xb2c250),_0xecb78a=await _0x4619a3[_0x3911fe(0x131)]({'options':{..._0xb2c250,..._0x499edf},'args':[_0x26d86c],'tdx':_0x3fe32d});gracefulExit(_0xecb78a);}),projectCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x301))[a2_0x4cef1c(0x320)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x274),a2_0x4cef1c(0x163))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a7),a2_0x4cef1c(0x12e))[a2_0x4cef1c(0x221)](async(_0x4d2ec1,_0x52d17e)=>{const _0x14fa17=a2_0x4cef1c,_0x170d9e=new LLMProjectRestoreCommand(),_0x162745=program['opts'](),_0x17900c=await createTDXInstance(_0x162745),_0xac9523=await _0x170d9e[_0x14fa17(0x131)]({'options':{..._0x162745,..._0x52d17e},'args':[_0x4d2ec1],'tdx':_0x17900c});gracefulExit(_0xac9523);});const llmAgentListAction=async(_0x523ed0,_0x578238)=>{const _0x6ce5af=a2_0x4cef1c,_0x25259e=new LLMAgentsCommand(),_0x25df05=program[_0x6ce5af(0xdf)](),_0xae3ad7=await createTDXInstance(_0x25df05),_0x38c7d0=await _0x25259e[_0x6ce5af(0x131)]({'options':{..._0x25df05,..._0x578238},'args':_0x523ed0?[_0x523ed0]:[],'tdx':_0xae3ad7});gracefulExit(_0x38c7d0);};llmCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x314))[a2_0x4cef1c(0x320)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')['action'](llmAgentListAction),program['command'](a2_0x4cef1c(0x314))[a2_0x4cef1c(0x320)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')['action'](llmAgentListAction),llmCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2da))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x250))[a2_0x4cef1c(0x1da)]('--last',a2_0x4cef1c(0xc6))[a2_0x4cef1c(0x221)](async(_0xa77dd8,_0x2abc95)=>{const _0x450f92=a2_0x4cef1c,_0x358b11=new LLMHistoryCommand(),_0xe7adb9=program[_0x450f92(0xdf)](),_0x3f6b45=await createTDXInstance(_0xe7adb9),_0x37b0e8=await _0x358b11[_0x450f92(0x131)]({'options':{..._0xe7adb9,..._0x2abc95},'args':_0xa77dd8?[_0xa77dd8]:[],'tdx':_0x3f6b45});gracefulExit(_0x37b0e8);});isExperimentalAvailable()&&llmCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x181))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1b1))[a2_0x4cef1c(0x221)](async(_0xe368fa,_0x20b690)=>{const _0x1b42ab=a2_0x4cef1c,_0x5e7d04=new LLMLogCommand(),_0x23043a=program[_0x1b42ab(0xdf)](),_0x4f753d=await createTDXInstance(_0x23043a),_0x478376=await _0x5e7d04[_0x1b42ab(0x131)]({'options':{..._0x23043a,..._0x20b690},'args':[_0xe368fa],'tdx':_0x4f753d});gracefulExit(_0x478376);});program[a2_0x4cef1c(0xa7)]('claude\x20[args...]')['usage'](a2_0x4cef1c(0x2b1))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xa0))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2cc),a2_0x4cef1c(0x2bf))[a2_0x4cef1c(0x1da)]('-r,\x20--resume',a2_0x4cef1c(0xa9))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x22b),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x4cef1c(0x146)]()['allowExcessArguments'](!![])[a2_0x4cef1c(0x13f)](a2_0x4cef1c(0x1f7),a2_0x4cef1c(0x234))[a2_0x4cef1c(0x221)](async(_0x33ff56,_0x1884b4)=>{const _0x19100e=a2_0x4cef1c,_0x3d29e6=program['opts'](),_0x3bbd3f=Array['isArray'](_0x33ff56)?_0x33ff56:[];if(_0x3bbd3f[0x0]===_0x19100e(0xb8)){const _0x436ddd=new ClaudeStatuslineCommand(),_0x5a8aa3=await _0x436ddd[_0x19100e(0x131)]({'options':{..._0x3d29e6,..._0x1884b4},'args':_0x3bbd3f['slice'](0x1),'tdx':null});gracefulExit(_0x5a8aa3);}if(_0x3bbd3f[0x0]==='usage'){const _0x3b5021=new ClaudeUsageCommand(),_0x17a58f=await _0x3b5021[_0x19100e(0x131)]({'options':{..._0x3d29e6,..._0x1884b4},'args':_0x3bbd3f[_0x19100e(0x20c)](0x1),'tdx':null});gracefulExit(_0x17a58f);}const _0x1d3cd3=new ClaudeCommand(),_0x144401=await createTDXInstance(_0x3d29e6),_0xc1d3cf=await _0x1d3cd3['run']({'options':{..._0x3d29e6,..._0x1884b4},'args':_0x3bbd3f,'tdx':_0x144401});gracefulExit(_0xc1d3cf);}),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1b5))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x199))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x280),'Clear\x20session\x20context')['option']('--default',a2_0x4cef1c(0x1d7))[a2_0x4cef1c(0x221)](async(_0x44fff5,_0xc69f6,_0x2bce23)=>{const _0x35cecc=a2_0x4cef1c,_0x1f51ab=new UseCommand(),_0x3f3d7b=program[_0x35cecc(0xdf)](),_0xa0840c=[];if(_0x44fff5)_0xa0840c[_0x35cecc(0x308)](_0x44fff5);if(_0xc69f6)_0xa0840c[_0x35cecc(0x308)](_0xc69f6);const _0x50e1e9=_0x44fff5===_0x35cecc(0x1bf),_0x3e9665=_0x50e1e9?await createTDXInstance(_0x3f3d7b):null,_0x508d2a=await _0x1f51ab[_0x35cecc(0x131)]({'options':{..._0x3f3d7b,..._0x2bce23},'args':_0xa0840c,'tdx':_0x3e9665});gracefulExit(_0x508d2a);}),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x31d))['description'](a2_0x4cef1c(0x133))['action'](async _0x23917d=>{const _0x2c6a3b=a2_0x4cef1c,_0x1bb879=new StatusCommand(),_0x24ff64=program[_0x2c6a3b(0xdf)](),_0x1a9b56=await createTDXInstance(_0x24ff64),_0x1ca999=await _0x1bb879[_0x2c6a3b(0x131)]({'options':{..._0x24ff64,..._0x23917d},'args':[],'tdx':_0x1a9b56});gracefulExit(_0x1ca999);}),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x315))['description'](a2_0x4cef1c(0x2d9))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a7),'Check\x20for\x20updates\x20without\x20installing')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x300),'Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')[a2_0x4cef1c(0x1da)]('--method\x20<pm>',a2_0x4cef1c(0x216))[a2_0x4cef1c(0x221)](async(_0x55bd58,_0x41d968)=>{const _0x4b6edc=a2_0x4cef1c,_0x3d165d=new UpgradeCommand(),_0x4ee2e9=program[_0x4b6edc(0xdf)](),_0x202102=await _0x3d165d['run']({'options':{..._0x4ee2e9,..._0x41d968},'args':_0x55bd58?[_0x55bd58]:[],'tdx':null});gracefulExit(_0x202102);}),program['command']('unset\x20<resource>')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1c5))[a2_0x4cef1c(0x1da)]('--default','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x4cef1c(0x221)](async(_0x1b5884,_0x3c7c74)=>{const _0x316553=a2_0x4cef1c,_0x3f5a8d=new UnsetCommand(),_0xac04f4=program[_0x316553(0xdf)](),_0x182bac=await _0x3f5a8d['run']({'options':{..._0xac04f4,..._0x3c7c74},'args':[_0x1b5884],'tdx':null});gracefulExit(_0x182bac);}),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x174))['description'](a2_0x4cef1c(0x1f9))[a2_0x4cef1c(0x1da)]('--last','Show\x20the\x20most\x20recent\x20chat')[a2_0x4cef1c(0x221)](async _0x4a0f93=>{const _0xd47860=a2_0x4cef1c,_0x225d84=new ChatsCommand(),_0xd54e0e=program['opts'](),_0x497c97=await createTDXInstance(_0xd54e0e),_0x28246b=await _0x225d84[_0xd47860(0x131)]({'options':{..._0xd54e0e,..._0x4a0f93},'args':[],'tdx':_0x497c97});gracefulExit(_0x28246b);});const authCmd=program[a2_0x4cef1c(0xa7)]('auth')[a2_0x4cef1c(0x320)]('Authentication\x20management');async function runAuthStatusCommand(_0xe8ead9){const _0x4bafe2=new AuthStatusCommand(),_0x1e0d85=program['opts'](),_0x343943=await createTDXInstance(_0x1e0d85),_0x10221d=await _0x4bafe2['run']({'options':{..._0x1e0d85,..._0xe8ead9},'args':[],'tdx':_0x343943});gracefulExit(_0x10221d);}authCmd[a2_0x4cef1c(0x221)](runAuthStatusCommand),authCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x31d))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2bc))[a2_0x4cef1c(0x221)](runAuthStatusCommand),authCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x11a))['description'](a2_0x4cef1c(0x28a))[a2_0x4cef1c(0x13f)](a2_0x4cef1c(0x1f7),a2_0x4cef1c(0x190))[a2_0x4cef1c(0x221)](async _0x1188a2=>{const _0x5276de=a2_0x4cef1c,_0x161cc9=new AuthSetupCommand(),_0x214df7=program['opts'](),_0x18a172=await createTDXInstance(_0x214df7),_0x1fa555=await _0x161cc9[_0x5276de(0x131)]({'options':{..._0x214df7,..._0x1188a2},'args':[],'tdx':_0x18a172});gracefulExit(_0x1fa555);}),authCmd[a2_0x4cef1c(0xa7)]('clear')[a2_0x4cef1c(0x320)]('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x4cef1c(0x13f)](a2_0x4cef1c(0x1f7),a2_0x4cef1c(0x1fb))[a2_0x4cef1c(0x221)](async _0x138e64=>{const _0x2310d6=a2_0x4cef1c,_0x314d4f=new AuthClearCommand(),_0x5cc3f5=program[_0x2310d6(0xdf)](),_0x2828bb=await _0x314d4f[_0x2310d6(0x131)]({'options':{..._0x5cc3f5,..._0x138e64},'args':[],'tdx':null});gracefulExit(_0x2828bb);});const userCmd=program[a2_0x4cef1c(0xa7)]('user')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x116)),userListAction=async _0x51a58d=>{const _0x3d7a50=a2_0x4cef1c,_0x4378ec=new UserListCommand(),_0x5baf7f=program[_0x3d7a50(0xdf)](),_0x484866=await createTDXInstance(_0x5baf7f),_0x59dcd6=await _0x4378ec['run']({'options':{..._0x5baf7f,..._0x51a58d},'args':[],'tdx':_0x484866});gracefulExit(_0x59dcd6);};userCmd[a2_0x4cef1c(0x221)](async _0x2205a1=>{const _0x4cfe97=a2_0x4cef1c,_0x491342=new UserCommand(),_0x4037ee=program[_0x4cfe97(0xdf)](),_0x26ec86=await createTDXInstance(_0x4037ee),_0x5530db=await _0x491342['run']({'options':{..._0x4037ee,..._0x2205a1},'args':[],'tdx':_0x26ec86});gracefulExit(_0x5530db);}),userCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x297))[a2_0x4cef1c(0x320)]('List\x20all\x20users\x20in\x20the\x20account')[a2_0x4cef1c(0x221)](userListAction),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1b8))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x27d))[a2_0x4cef1c(0x221)](userListAction),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x143))['description'](a2_0x4cef1c(0x2cf))[a2_0x4cef1c(0x221)](async _0x3f062d=>{const _0x559458=a2_0x4cef1c,_0x115897=new ProfilesCommand(),_0x357ac9=program[_0x559458(0xdf)](),_0xec45ed=await _0x115897[_0x559458(0x131)]({'options':{..._0x357ac9,..._0x3f062d},'args':[],'tdx':null});gracefulExit(_0xec45ed);});const profileCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xcb))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x15d));profileCmd[a2_0x4cef1c(0x221)](()=>{const _0x4636a1=a2_0x4cef1c;profileCmd[_0x4636a1(0x2e6)]();});const profileListAction=async _0x4f5425=>{const _0x1a4a96=a2_0x4cef1c,_0x1c488c=new ProfilesCommand(),_0x1383a1=program[_0x1a4a96(0xdf)](),_0x3f705e=await _0x1c488c[_0x1a4a96(0x131)]({'options':{..._0x1383a1,..._0x4f5425},'args':[],'tdx':null});gracefulExit(_0x3f705e);};profileCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x297))[a2_0x4cef1c(0x320)]('List\x20all\x20available\x20profiles')['action'](profileListAction),profileCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x9d))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x112))[a2_0x4cef1c(0x13f)]('after',a2_0x4cef1c(0x1ee))[a2_0x4cef1c(0x221)](async(_0x481178,_0x47cd9d)=>{const _0x34a335=a2_0x4cef1c,_0x571f49=new ProfileCreateCommand(),_0x20e72c=program['opts'](),_0x5f5033=await _0x571f49[_0x34a335(0x131)]({'options':{..._0x20e72c,..._0x47cd9d},'args':_0x481178?[_0x481178]:[],'tdx':null});gracefulExit(_0x5f5033);}),profileCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x80))['description'](a2_0x4cef1c(0x23f))['addHelpText']('after',a2_0x4cef1c(0xe2))[a2_0x4cef1c(0x221)](async(_0x39cfde,_0x38bb1f)=>{const _0x1a10c9=a2_0x4cef1c,_0x41e46a=new ProfileRemoveCommand(),_0x3b7687=program[_0x1a10c9(0xdf)](),_0x3f772c=await _0x41e46a[_0x1a10c9(0x131)]({'options':{..._0x3b7687,..._0x38bb1f},'args':[_0x39cfde],'tdx':null});gracefulExit(_0x3f772c);}),profileCmd['command'](a2_0x4cef1c(0x27f))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x11d))[a2_0x4cef1c(0x13f)](a2_0x4cef1c(0x1f7),a2_0x4cef1c(0x2c1))[a2_0x4cef1c(0x221)](async(_0x2f569c,_0x30a371)=>{const _0x3019a2=a2_0x4cef1c,_0x4f3a29=new ProfileSetCommand(),_0x28eb5e=program[_0x3019a2(0xdf)](),_0x26ffce=await _0x4f3a29[_0x3019a2(0x131)]({'options':{..._0x28eb5e,..._0x30a371},'args':[_0x2f569c],'tdx':null});gracefulExit(_0x26ffce);}),profileCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1e3))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x185))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x208),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x4cef1c(0x13f)](a2_0x4cef1c(0x1f7),a2_0x4cef1c(0x196))[a2_0x4cef1c(0x221)](async(_0x208164,_0x4563f0)=>{const _0x25f552=a2_0x4cef1c,_0x4796b1=new ProfileUseCommand(),_0x342232=program[_0x25f552(0xdf)](),_0x266ecf=await _0x4796b1[_0x25f552(0x131)]({'options':{..._0x342232,..._0x4563f0},'args':[_0x208164],'tdx':null});gracefulExit(_0x266ecf);});const engageCmd=program[a2_0x4cef1c(0xa7)]('engage')['description']('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x151af2=>{return async(_0x4018d9,_0x15892c)=>{const _0x71374f=new _0x151af2(),_0x5d8121=program['opts'](),_0x2182ae=await createTDXInstance(_0x5d8121),_0x249955=await _0x71374f['run']({'options':{..._0x5d8121,..._0x15892c},'args':[_0x4018d9],'tdx':_0x2182ae});gracefulExit(_0x249955);};},createEngageNoArgAction=_0x264374=>{return async _0x4d83cd=>{const _0x4e12d7=a2_0xffe1,_0x1fd7fa=new _0x264374(),_0x272d48=program['opts'](),_0x2658a1=await createTDXInstance(_0x272d48),_0x5800c5=await _0x1fd7fa[_0x4e12d7(0x131)]({'options':{..._0x272d48,..._0x4d83cd},'args':[],'tdx':_0x2658a1});gracefulExit(_0x5800c5);};},createEngageListAction=_0x17afb9=>{return async(_0x2f5cf3,_0xac124d)=>{const _0x5a7a3b=a2_0xffe1,_0x12118d=new _0x17afb9(),_0x1182e9=program[_0x5a7a3b(0xdf)](),_0x3a22e8=await createTDXInstance(_0x1182e9),_0x25ab52=await _0x12118d['run']({'options':{..._0x1182e9,..._0xac124d},'args':_0x2f5cf3?[_0x2f5cf3]:[],'tdx':_0x3a22e8});gracefulExit(_0x25ab52);};},campaignCmd=engageCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1cc))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xd1));campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x105))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2db))[a2_0x4cef1c(0x1da)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x14d),a2_0x4cef1c(0x28f))[a2_0x4cef1c(0x1da)]('--workspace\x20<name>','Workspace\x20name')['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x4cef1c(0xa7)]('campaigns\x20[pattern]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x23c))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xc0),a2_0x4cef1c(0x179))[a2_0x4cef1c(0x1da)]('--status\x20<status>',a2_0x4cef1c(0x28f))[a2_0x4cef1c(0x1da)]('--workspace\x20<name>','Workspace\x20name')[a2_0x4cef1c(0x221)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xeb))['description'](a2_0x4cef1c(0x150))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x207),a2_0x4cef1c(0x17a))['option'](a2_0x4cef1c(0x191),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x4cef1c(0x221)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xa1))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x32b))['requiredOption']('--name\x20<name>',a2_0x4cef1c(0x16e))[a2_0x4cef1c(0x1eb)](a2_0x4cef1c(0xc0),a2_0x4cef1c(0x247))['option']('--workspace\x20<name>',a2_0x4cef1c(0x310))[a2_0x4cef1c(0x1da)]('--description\x20<desc>','Campaign\x20description')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xda),a2_0x4cef1c(0x2cd))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xc4),a2_0x4cef1c(0xaa))[a2_0x4cef1c(0x1da)]('--json-columns\x20<cols>',a2_0x4cef1c(0x2a1))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x12b),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x4cef1c(0x2de),a2_0x4cef1c(0x9e))[a2_0x4cef1c(0x221)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x137))['description']('Update\x20a\x20campaign')['option'](a2_0x4cef1c(0x207),a2_0x4cef1c(0x17a))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2f2),a2_0x4cef1c(0x195))['option'](a2_0x4cef1c(0x2b5),a2_0x4cef1c(0x248))['option']('--segment\x20<path>',a2_0x4cef1c(0x2cd))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xc4),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x8f),a2_0x4cef1c(0x2a1))['option']('--start-at\x20<datetime>',a2_0x4cef1c(0x21c))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2de),a2_0x4cef1c(0x9e))[a2_0x4cef1c(0x221)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x275))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1e7))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x207),'Workspace\x20name')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x13b),a2_0x4cef1c(0x31e))[a2_0x4cef1c(0x221)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x318))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2f0))[a2_0x4cef1c(0x1da)]('--workspace\x20<name>',a2_0x4cef1c(0x17a))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x17f))[a2_0x4cef1c(0x320)]('Pause\x20a\x20campaign')['option'](a2_0x4cef1c(0x207),'Workspace\x20name')[a2_0x4cef1c(0x221)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x11f))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xa6))['option'](a2_0x4cef1c(0x207),a2_0x4cef1c(0x17a))[a2_0x4cef1c(0x221)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x267))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x14a))[a2_0x4cef1c(0x1da)]('--workspace\x20<name>',a2_0x4cef1c(0x17a))[a2_0x4cef1c(0x221)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x4cef1c(0xa7)]('pull\x20[workspace-name]')['description']('Pull\x20campaigns\x20to\x20YAML\x20files')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x207),'Workspace\x20name')['option'](a2_0x4cef1c(0x2f2),'Pull\x20specific\x20campaign\x20by\x20name')[a2_0x4cef1c(0x1da)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a7),a2_0x4cef1c(0x1e1))['action'](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x4cef1c(0xa7)]('push\x20[target]')[a2_0x4cef1c(0x320)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x207),a2_0x4cef1c(0x17a))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a7),a2_0x4cef1c(0x256))[a2_0x4cef1c(0x221)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x15f))['description']('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x4cef1c(0x1da)]('--verbose',a2_0x4cef1c(0x164))[a2_0x4cef1c(0x221)](createEngageAction(EngageCampaignValidateCommand));const templateCmd=engageCmd['command'](a2_0x4cef1c(0x18a))['description'](a2_0x4cef1c(0x2b3));templateCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x105))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1a4))['option'](a2_0x4cef1c(0x207),a2_0x4cef1c(0x17a))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x4cef1c(0xa7)]('templates\x20[pattern]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x210))[a2_0x4cef1c(0x1da)]('--workspace\x20<name>',a2_0x4cef1c(0x17a))[a2_0x4cef1c(0x221)](createEngageListAction(EngageTemplatesCommand)),templateCmd['command'](a2_0x4cef1c(0xeb))['description'](a2_0x4cef1c(0x101))[a2_0x4cef1c(0x1da)]('--workspace\x20<name>','Workspace\x20name')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x191),a2_0x4cef1c(0x1d3))[a2_0x4cef1c(0x221)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xa1))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1d5))[a2_0x4cef1c(0x1eb)](a2_0x4cef1c(0x2f2),a2_0x4cef1c(0x214))['requiredOption'](a2_0x4cef1c(0x266),'Email\x20subject\x20template')['option'](a2_0x4cef1c(0x2e9),a2_0x4cef1c(0xa2))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x96),a2_0x4cef1c(0x1d9))[a2_0x4cef1c(0x1da)]('--workspace\x20<name>','Workspace\x20name\x20(required)')['option'](a2_0x4cef1c(0xe5),a2_0x4cef1c(0x104))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x184),'Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)',_0x1e7340=>{const _0x24b38c=a2_0x4cef1c;if(![_0x24b38c(0x88),'grapesjs'][_0x24b38c(0x25d)](_0x1e7340))throw new SDKError(ErrorCode[_0x24b38c(0x8b)],'Invalid\x20editor\x20type:\x20'+_0x1e7340+_0x24b38c(0x230));return _0x1e7340;})[a2_0x4cef1c(0x221)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x137))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1e4))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x207),'Workspace\x20name')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2f2),a2_0x4cef1c(0x8c))['option'](a2_0x4cef1c(0x266),a2_0x4cef1c(0x227))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2e9),'HTML\x20template\x20content')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x96),a2_0x4cef1c(0x1d9))['option'](a2_0x4cef1c(0xe5),'Plaintext\x20template\x20content')[a2_0x4cef1c(0x221)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x4cef1c(0xa7)]('delete\x20<name-or-id>')['description'](a2_0x4cef1c(0x187))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x207),a2_0x4cef1c(0x17a))['option'](a2_0x4cef1c(0x13b),a2_0x4cef1c(0x31e))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x4cef1c(0xa7)]('workspace')['description'](a2_0x4cef1c(0x2e8));workspaceCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x105))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2e5))[a2_0x4cef1c(0x221)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1e6))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2af))[a2_0x4cef1c(0x221)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xeb))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x125))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x191),a2_0x4cef1c(0x1d3))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xa1))[a2_0x4cef1c(0x320)]('Create\x20a\x20workspace')[a2_0x4cef1c(0x1eb)]('--name\x20<name>','Workspace\x20name')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2b5),a2_0x4cef1c(0x268))[a2_0x4cef1c(0x221)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x4cef1c(0xa7)]('update\x20<name-or-id>')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2dd))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2f2),a2_0x4cef1c(0x22c))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2b5),a2_0x4cef1c(0x268))[a2_0x4cef1c(0x221)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x4cef1c(0xa7)]('delete\x20<name-or-id>')[a2_0x4cef1c(0x320)]('Delete\x20a\x20workspace')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x13b),a2_0x4cef1c(0x31e))[a2_0x4cef1c(0x221)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1e3))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x13e))[a2_0x4cef1c(0x221)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x225))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x9f));deliveryCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xb5))['description']('List\x20email\x20senders')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x207),'Workspace\x20name')[a2_0x4cef1c(0x221)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x10b))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x30a)),connectionListAction=async _0x5ba633=>{const _0xf4322f=a2_0x4cef1c,_0x1760c7=new ConnectionListCommand(),_0xdd0c06=program[_0xf4322f(0xdf)](),_0x2196b9=await createTDXInstance(_0xdd0c06),_0x5081e7=await _0x1760c7[_0xf4322f(0x131)]({'options':{..._0xdd0c06,..._0x5ba633},'args':[],'tdx':_0x2196b9});gracefulExit(_0x5081e7);};connectionCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x297))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xfc))[a2_0x4cef1c(0x221)](connectionListAction),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x295),{'hidden':!![]})[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2a6))[a2_0x4cef1c(0x221)](connectionListAction),connectionCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1f5))['description'](a2_0x4cef1c(0x203))['action'](async(_0x3307a0,_0xebca2)=>{const _0x465e5c=a2_0x4cef1c,_0x57bc8f=new ConnectionShowCommand(),_0x5221a6=program[_0x465e5c(0xdf)](),_0x39348b=await createTDXInstance(_0x5221a6),_0xadfa5c=await _0x57bc8f['run']({'options':{..._0x5221a6,..._0xebca2},'args':[_0x3307a0],'tdx':_0x39348b});gracefulExit(_0xadfa5c);}),connectionCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x159))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xfd))[a2_0x4cef1c(0x221)](async(_0x111843,_0x3adf8b)=>{const _0x3d05fe=a2_0x4cef1c,_0x441183=new ConnectionSchemaCommand(),_0x1c9e2f=program[_0x3d05fe(0xdf)](),_0x548034=await createTDXInstance(_0x1c9e2f),_0x77cc97=await _0x441183[_0x3d05fe(0x131)]({'options':{..._0x1c9e2f,..._0x3adf8b},'args':[_0x111843],'tdx':_0x548034});gracefulExit(_0x77cc97);}),connectionCmd[a2_0x4cef1c(0xa7)]('types')['description'](a2_0x4cef1c(0x1e2))[a2_0x4cef1c(0x221)](async _0x51ed1c=>{const _0x3e260f=a2_0x4cef1c,_0x19e2aa=new ConnectionTypesCommand(),_0x3ef0b8=program[_0x3e260f(0xdf)](),_0x137128=await createTDXInstance(_0x3ef0b8),_0x21653c=await _0x19e2aa[_0x3e260f(0x131)]({'options':{..._0x3ef0b8,..._0x51ed1c},'args':[],'tdx':_0x137128});gracefulExit(_0x21653c);}),connectionCmd[a2_0x4cef1c(0xa7)]('settings\x20<type>')['description']('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x4cef1c(0x221)](async(_0x281565,_0x48a63f)=>{const _0x1444ce=a2_0x4cef1c,_0x569435=new ConnectionSettingsCommand(),_0x548aa6=program[_0x1444ce(0xdf)](),_0x1ec46b=await createTDXInstance(_0x548aa6),_0x5017bf=await _0x569435['run']({'options':{..._0x548aa6,..._0x48a63f},'args':[_0x281565],'tdx':_0x1ec46b});gracefulExit(_0x5017bf);});const journeyCmd=program[a2_0x4cef1c(0xa7)]('journey')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x148)),journeyListAction=async(_0x3a0cc6,_0x235a8f)=>{const _0x326512=a2_0x4cef1c,_0x291820=new JourneyListCommand(),_0x300fe4=program['opts'](),_0x3d509f=await createTDXInstance(_0x300fe4),_0xe7bbd5=await _0x291820[_0x326512(0x131)]({'options':{..._0x300fe4,..._0x235a8f},'args':_0x3a0cc6?[_0x3a0cc6]:[],'tdx':_0x3d509f});gracefulExit(_0xe7bbd5);};journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x105))[a2_0x4cef1c(0x320)]('List\x20journeys\x20in\x20current\x20context')[a2_0x4cef1c(0x221)](journeyListAction),journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x24a))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x31c))[a2_0x4cef1c(0x1da)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2d7),a2_0x4cef1c(0x2c8))[a2_0x4cef1c(0x221)](async(_0x4c3890,_0x5ae45b)=>{const _0x5cb242=a2_0x4cef1c,_0x3b3fb8=new JourneyViewCommand(),_0x47e5b3=program['opts'](),_0x32243e=await createTDXInstance(_0x47e5b3),_0xac6cc7=await _0x3b3fb8[_0x5cb242(0x131)]({'options':{..._0x47e5b3,..._0x5ae45b},'args':[_0x4c3890],'tdx':_0x32243e});gracefulExit(_0xac6cc7);}),journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1c3))[a2_0x4cef1c(0x320)]('Show\x20journey\x20statistics')[a2_0x4cef1c(0x1da)]('--stage\x20<name>',a2_0x4cef1c(0x323))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x147),a2_0x4cef1c(0x1a7))[a2_0x4cef1c(0x1da)]('--to\x20<date>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x202),'Include\x20raw\x20history\x20data\x20in\x20output')[a2_0x4cef1c(0x221)](async(_0x34c62e,_0x38a90a)=>{const _0xb14334=a2_0x4cef1c,_0x5a7555=new JourneyStatsCommand(),_0x333dce=program[_0xb14334(0xdf)](),_0x3182af=await createTDXInstance(_0x333dce),_0xc7c8cf=await _0x5a7555[_0xb14334(0x131)]({'options':{..._0x333dce,..._0x38a90a},'args':[_0x34c62e],'tdx':_0x3182af});gracefulExit(_0xc7c8cf);}),journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x10c))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2ac))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xc0),'Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x147),a2_0x4cef1c(0x1a7))['option'](a2_0x4cef1c(0xca),a2_0x4cef1c(0x189))[a2_0x4cef1c(0x1da)]('--limit\x20<number>',a2_0x4cef1c(0x258),_0x147da0=>{const _0x3b9aca=a2_0x4cef1c,_0x4832df=parseInt(_0x147da0,0xa);if(isNaN(_0x4832df))throw new Error(_0x3b9aca(0x200)+_0x147da0+'\x22.\x20Must\x20be\x20a\x20number.');return _0x4832df;})[a2_0x4cef1c(0x221)](async(_0x1fcfb6,_0x464fed)=>{const _0x266d5e=a2_0x4cef1c,_0x5a7e19=new JourneyTrafficCommand(),_0xe44b2b=program[_0x266d5e(0xdf)](),_0x1b3a01=await createTDXInstance(_0xe44b2b),_0x3e836c=await _0x5a7e19[_0x266d5e(0x131)]({'options':{..._0xe44b2b,..._0x464fed},'args':[_0x1fcfb6],'tdx':_0x1b3a01});gracefulExit(_0x3e836c);}),journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1f0))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2f1))[a2_0x4cef1c(0x221)](async(_0x285e4c,_0x350342)=>{const _0x3744dc=a2_0x4cef1c,_0xfe20d2=new JourneyPauseCommand(),_0x1d9a21=program[_0x3744dc(0xdf)](),_0x425b9e=await createTDXInstance(_0x1d9a21),_0x57c642=await _0xfe20d2['run']({'options':{..._0x1d9a21,..._0x350342},'args':[_0x285e4c],'tdx':_0x425b9e});gracefulExit(_0x57c642);}),journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x1ba))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1be))['action'](async(_0x2c3215,_0x1b6ec0)=>{const _0x1af886=a2_0x4cef1c,_0x4e70b8=new JourneyResumeCommand(),_0x4e0eb9=program[_0x1af886(0xdf)](),_0x49e241=await createTDXInstance(_0x4e0eb9),_0x3a60ba=await _0x4e70b8[_0x1af886(0x131)]({'options':{..._0x4e0eb9,..._0x1b6ec0},'args':[_0x2c3215],'tdx':_0x49e241});gracefulExit(_0x3a60ba);}),journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x168))[a2_0x4cef1c(0x320)]('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x2a7),a2_0x4cef1c(0x1ca))['action'](async(_0x213c9f,_0x34f8a1)=>{const _0x31d631=a2_0x4cef1c,_0xc69627=new JourneyPullCommand(),_0x38022c=program[_0x31d631(0xdf)](),_0x16a291=await createTDXInstance(_0x38022c),_0x3a59b2=await _0xc69627['run']({'options':{..._0x38022c,..._0x34f8a1},'args':_0x213c9f?[_0x213c9f]:[],'tdx':_0x16a291});gracefulExit(_0x3a59b2);}),journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x10d))['description'](a2_0x4cef1c(0x19f))['action'](async(_0x61110e,_0x136182)=>{const _0x1c8bae=a2_0x4cef1c,_0x1b9623=new JourneyPushCommand(),_0x19eb44=program[_0x1c8bae(0xdf)](),_0x2dea57=await createTDXInstance(_0x19eb44),_0x210c71=await _0x1b9623[_0x1c8bae(0x131)]({'options':{..._0x19eb44,..._0x136182},'args':_0x61110e?[_0x61110e]:[],'tdx':_0x2dea57});gracefulExit(_0x210c71);}),journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x27c))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x327))['action'](async(_0x13e196,_0x81875a)=>{const _0x4ffcf0=a2_0x4cef1c,_0x364cb1=new JourneyColumnsCommand(),_0x529b43=program[_0x4ffcf0(0xdf)](),_0x3bfa43=await createTDXInstance(_0x529b43),_0x407aec=await _0x364cb1[_0x4ffcf0(0x131)]({'options':{..._0x529b43,..._0x81875a},'args':[_0x13e196],'tdx':_0x3bfa43});gracefulExit(_0x407aec);}),journeyCmd[a2_0x4cef1c(0xa7)]('activations\x20<name-or-path>')['description'](a2_0x4cef1c(0x251))['action'](async(_0x584fed,_0x8e5df0)=>{const _0x2f2e39=a2_0x4cef1c,_0x248d69=new JourneyActivationsCommand(),_0x2ed0c9=program[_0x2f2e39(0xdf)](),_0x23c3ab=await createTDXInstance(_0x2ed0c9),_0x552139=await _0x248d69['run']({'options':{..._0x2ed0c9,..._0x8e5df0},'args':[_0x584fed],'tdx':_0x23c3ab});gracefulExit(_0x552139);}),journeyCmd['command'](a2_0x4cef1c(0x27a))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x18e))['action'](async(_0x329c4b,_0x2402d3)=>{const _0x248e88=a2_0x4cef1c,_0x5978bc=new JourneyVersionsCommand(),_0x243903=program['opts'](),_0x2d0971=await createTDXInstance(_0x243903),_0x47594f=await _0x5978bc[_0x248e88(0x131)]({'options':{..._0x243903,..._0x2402d3},'args':[_0x329c4b],'tdx':_0x2d0971});gracefulExit(_0x47594f);});const journeyVersionCmd=journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x122))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x241));function a2_0x35d3(){const _0x32d005=['Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','buildTime','argumentTerm','Continue\x20most\x20recent\x20conversation','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','\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','Folder\x20name\x20for\x20organization','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','desc\x20[name]','Follow/watch\x20timeline\x20for\x20running\x20attempts','createAsync','pull\x20[parent_or_file]','Include\x20execution\x20statistics',',\x20version\x20','databases\x20[pattern]','2114440Saybjq','-c,\x20--continue','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','AI-native\x20CLI\x20for\x20Treasure\x20Data','List\x20all\x20available\x20profiles','create\x20<segment_name>','Update\x20an\x20existing\x20agent','Force\x20retry\x20even\x20if\x20not\x20failed','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Unknown\x20action:\x20','640512vCUqSp','--include-stats','flatMap','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','history\x20[chat-id]','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','_hidden','Update\x20a\x20workspace','--timezone\x20<tz>','join','use\x20[name]','Show\x20timeline\x20for\x20specific\x20attempt','agent','-r,\x20--recursive','Arguments:','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','outputHelp','debug','Workspace\x20management','--html\x20<html>','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Create\x20segment\x20folder','stdout','Database\x20to\x20query\x20(default:\x20information_schema)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Launch\x20a\x20campaign','Pause\x20a\x20running\x20journey','--name\x20<name>','chdir','log','End\x20time\x20filter\x20(ISO\x208601\x20format)','Move\x20to\x20folder','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','journeys\x20[pattern]','clone\x20[source]','--attributes\x20<json>','Attributes\x20as\x20JSON\x20string','--from\x20<timestamp>','--cron\x20<expression>','parent-segment','required','--next','restore\x20<folder>','Read\x20request\x20body\x20from\x20file','DEBUG','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Save\x20output\x20to\x20file','YAML\x20file\x20path\x20for\x20unpushed\x20segment','activations\x20<segment_name>','push','Job\x20management\x20commands','Data\x20connection\x20management\x20(for\x20activations/exports)','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Update\x20a\x20scheduled\x20query','Job\x20priority\x20(-2\x20to\x202)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Workspace\x20name\x20(required)','-p,\x20--profile\x20<name>','delete\x20<args...>','Table\x20management\x20commands','agents\x20[pattern]','upgrade\x20[version]','argumentDescription','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','launch\x20<name-or-id>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Attempt\x20ID','--enriched','Show\x20journey\x20details','status','Skip\x20confirmation\x20prompt','isTTY','description','set\x20<args...>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Show\x20stats\x20for\x20specific\x20stage','Folder\x20description','sessions\x20[project]','--attempt-id\x20<id>','Show\x20journey\x20table\x20column-to-step\x20mapping','validate\x20[file]','--database\x20<name>','parse','Create\x20a\x20new\x20campaign','Delay\x20in\x20seconds\x20before\x20execution','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','remove\x20<name>','-d,\x20--database\x20<db>','logLevel','0.7','10cTXgYg','Master\x20table\x20name','Cron\x20expression\x20for\x20scheduling','--session\x20<id>','beefree','retry\x20<session-id>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','INVALID_ARGUMENT','New\x20template\x20name','preview\x20[file]','Updated\x20description','--json-columns\x20<cols>','use\x20[project]','--in\x20<db>','\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','Options:','folder','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--html-file\x20<path>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','use\x20<path>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','upgrade','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','create\x20[name]','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Delivery\x20operations\x20(email\x20senders)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','create','HTML\x20template\x20content','repeat','parent','init\x20[name]','Resume\x20a\x20paused\x20campaign','command','sql\x20[segment_name]','Resume\x20a\x20conversation\x20(shows\x20selector)','Email\x20sender\x20ID\x20for\x20delivery','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','-o,\x20--output\x20<folder>','long','Override\x20project\x20name','--no-count-population','create\x20<parent_name>\x20<folder_name>','Pull\x20workflow\x20project\x20to\x20local\x20folder','66668McjWDP','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','senders\x20[pattern]','Query\x20type:\x20trino\x20or\x20hive','--from-task\x20<task>','statusline','filter','show\x20<folder_ref>','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Preview\x20changes\x20without\x20writing\x20files','Start\x20a\x20new\x20chat\x20session','Create\x20a\x20scheduled\x20query','--kind\x20<type>','--type\x20<type>','forEach','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','--delete','--email-sender-id\x20<id>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','alias','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--to\x20<date>','profile','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','--skip-validation','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','LLM\x20agent\x20management','Campaign\x20management','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Run\x20a\x20scheduled\x20query\x20immediately','27WjGFQi','jobs','--name\x20<new_name>','--delay\x20<seconds>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','show\x20<agent-name>','--segment\x20<path>','isDirectory','Personalization\x20service\x20management','--rule-file\x20<file>','length','opts','options','--llm-project\x20<name>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Starter\x20message','--plaintext\x20<text>','Commands:','Trino\x20catalog\x20(default:\x20td)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','catch','show\x20<name-or-id>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Enable\x20verbose\x20logging','_list-commands','--no-eval','projects\x20[pattern]','Action:\x20logs,\x20tasks,\x20kill,\x20retry','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Behaviors\x20as\x20JSON\x20string','get','configureHelp','push\x20[name]','retry','attempt','108eELGrX','map','Output\x20as\x20JSON','List\x20all\x20data\x20connections','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','backup\x20<name>','injectIntoOptions','Show\x20email\x20template\x20details','push\x20[parent_or_file]','Updated\x20schedule\x20option','Plaintext\x20template\x20content','list\x20[pattern]','flags','--interval\x20<range>','Delete\x20a\x20scheduled\x20query','--schedule-type\x20<type>','-d,\x20--database\x20<database>','connection','traffic\x20<name-or-path>','push\x20[target]','Query\x20engine\x20version','Manage\x20workflow\x20project\x20secrets','Show\x20job\x20details','Preview\x20changes\x20without\x20pushing','Create\x20a\x20new\x20profile','claude-4.5-sonnet','optionTerm','...','User\x20management\x20commands','validate\x20[name]','attempt:','579388pOrfdQ','setup','Output\x20directory','padEnd','Set\x20a\x20profile\x20configuration\x20value','update\x20<name>','resume\x20<name-or-id>','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','--version','version','\x20(resolved\x20to\x20','summary','Show\x20workspace\x20details','--reeval','information_schema','--starter-message\x20<text>','--max-depth\x20<depth>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','--start-at\x20<datetime>','--in\x20<database>','--schedule-option\x20<value>','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','list\x20[project]','List\x20jobs','run','Run\x20tests\x20for\x20an\x20LLM\x20agent','Show\x20authentication\x20status\x20and\x20current\x20context','desc','stderr','Maximum\x20recursion\x20depth\x20(default:\x2010)','update\x20<name-or-id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','--parent-folder\x20<name>','--yes','database','--retry-limit\x20<0~32>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','addHelpText','Workflow\x20(Digdag)\x20management\x20commands','Name\x20for\x20the\x20new\x20project\x20(required)','Output\x20file\x20path','profiles','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','attempts\x20[project]','allowUnknownOption','--from\x20<date>','CDP\x20Journey\x20Orchestration\x20commands','create\x20<name-or-path>','Duplicate\x20a\x20campaign','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','apiKey','--status\x20<status>','sql\x20[name]','run\x20[name]','Show\x20campaign\x20details','name','Add\x20attributes\x20as\x20JSON\x20string','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','push\x20[file]','Output\x20file\x20path\x20(default:\x20<name>.yml)','split','preview\x20[name]','schema\x20<type>','--invisible','api\x20[endpoint]','--site\x20<site>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','List\x20secret\x20keys\x20for\x20a\x20project','validate\x20[target]','-n,\x20--name\x20<name>','Parent\x20folder\x20name\x20for\x20nested\x20folders','Resume\x20from\x20specific\x20task','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Show\x20all\x20files\x20including\x20valid\x20ones','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--job-type\x20<type>','pull\x20[name]','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','timeline\x20[project.workflow]','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','history\x20<name>','Campaign\x20name','Filtering\x20rule\x20as\x20JSON\x20string','Show\x20segment\x20schema\x20(column\x20types)','--agent\x20<ref>','--max-tool-iterations\x20<n>','Workflow\x20parameter\x20(repeatable)','chats','Show\x20segment\x20details\x20(alias\x20for\x20view)','Directory\x20does\x20not\x20exist:\x20','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Workspace\x20name','update\x20<segment_name>','--behavior\x20[name]','Add\x20behaviors\x20from\x20JSON\x20file','Get\x20job\x20results','pause\x20<name-or-id>','fields\x20[name]','log\x20<chat-id>','Generate\x20test\x20conversations\x20without\x20evaluation','colorFn','--editor-type\x20<type>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','--folder\x20<name>','Delete\x20an\x20email\x20template','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','template','-o,\x20--output\x20<file>','us01','-C,\x20--directory\x20<path>','List\x20all\x20versions\x20of\x20a\x20journey','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','\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','--full','preAction','push\x20[path]','--priority\x20<-2~2>','New\x20campaign\x20name','\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','padWidth','Skip\x20confirmation\x20prompts','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--engine-version\x20<version>','jsonl','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','exit','show\x20[segment_name]','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Workflow\x20session\x20management','LLM\x20project\x20management','Preview\x20without\x20creating\x20the\x20project','--reason\x20<text>','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--help','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','workflow','llm','tables\x20[pattern]','Database\x20name\x20(required)','8132828HwQjfu','fields\x20[parent_name]','create\x20<name>','--output\x20<file>','[EXPERIMENTAL]\x20Show\x20chat\x20log','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','trino','info\x20[segment_name]','use\x20[resource]\x20[value]','--session-time\x20<time>','json','users','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','resume\x20<name-or-path>','--add-behaviors-file\x20<file>','--master','commands','Resume\x20a\x20paused\x20journey','engage_workspace','argument','[DEPRECATED]\x20Segment\x20folder\x20management','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','stats\x20<name-or-path>','--tsv','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--limit\x20<n>','Run\x20specific\x20tests\x20(comma-separated)','show\x20[table]','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','find','campaign','Set\x20or\x20show\x20parent\x20segment\x20context','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','run\x20[workflow]','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','--add-attributes\x20<json>','--description\x20<text>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Create\x20an\x20email\x20template','-w,\x20--web','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Pull\x20specific\x20revision\x20(default:\x20latest)','Read\x20HTML\x20template\x20from\x20file','option','--customer-group-file\x20<file>','-1d','Retry\x20limit\x20(0\x20to\x2032)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Path\x20is\x20not\x20a\x20directory:\x20','stringify','Show\x20what\x20would\x20be\x20written\x20without\x20writing','List\x20available\x20connector\x20types','use\x20<name>','Update\x20an\x20email\x20template','tasks','workspaces\x20[pattern]','Delete\x20a\x20campaign','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Result\x20output\x20destination\x20URL','Describe\x20table\x20schema','requiredOption','Delete\x20an\x20LLM\x20project','--param\x20<key=value>','\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','Ending\x20offset\x20(default:\x2020)','pause\x20<name-or-path>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','error','Include\x20retried\x20attempts\x20(for\x20list)','-y,\x20--yes','show\x20<name>','commandUsage','after','-a,\x20--agent\x20<name>','Interactive\x20chat\x20selector','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','\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','delete\x20<name>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Master\x20database\x20name','493238uOEeyj','Invalid\x20--limit\x20value:\x20\x22','--add-behaviors\x20<json>','--include-history','Show\x20connection\x20details\x20by\x20name','table','--behaviors-file\x20<file>','Add\x20attributes\x20from\x20JSON\x20file','--workspace\x20<name>','--default','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','--jsonl','-H,\x20--header\x20<header>','slice','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','--result\x20<target>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Show\x20master\x20table\x20sample\x20data','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','site','Template\x20name','registeredArguments','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','--num\x20<1-10>','--attribute\x20[name]','trace','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Workflow\x20attempt\x20management','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--type\x20<api_type>','action','Include\x20retried\x20attempts','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--result\x20<url>','delivery','Parent\x20segment\x20description','Email\x20subject\x20template','query\x20[sql]','help','chat\x20[message...]','--no-proxy','New\x20workspace\x20name','--behaviors\x20<json>','project','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','\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','--path\x20<file-path>','--trace','[attempt-id]','Reason\x20for\x20killing\x20the\x20attempt','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--debug','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','hidden','\x20-\x20built\x20','Remove\x20a\x20profile','Behaviors\x20from\x20JSON\x20file','Journey\x20version\x20management','1961634WzVuwm','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','gitRevision','List\x20available\x20LLM\x20models','delete\x20<project-name-or-id>','Campaign\x20type\x20(email\x20or\x20push)','Campaign\x20description','directory','view\x20<name-or-path>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--name\x20<names>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Output\x20as\x20JSON\x20Lines','show\x20<job-id>','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','List\x20activations\x20for\x20a\x20journey','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--system-prompt\x20<text>','Database\x20management\x20commands','--json','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Limit\x20number\x20of\x20rows','Maximum\x20number\x20of\x20nodes','submit\x20[query]','--temperature\x20<n>','download\x20<project-name>\x20[output-dir]','-X,\x20--method\x20<method>','includes','--rule\x20<json>','--name\x20<text>','--prompt\x20<text>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Parent\x20segment\x20management','Timezone\x20(e.g.,\x20America/Los_Angeles)','--revision\x20<revision>','-f,\x20--file\x20<path>','--subject\x20<subject>','duplicate\x20<name-or-id>','Workspace\x20description','--params\x20<json>','format','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','aliases','argv','Add\x20behaviors\x20as\x20JSON\x20string','Validate\x20journey\x20YAML\x20files\x20locally','--to\x20<timestamp>','Parse\x20and\x20validate\x20without\x20executing','[action]','Push\x20without\x20confirmation','--name\x20<new-name>','delete\x20<name-or-id>','Database\x20name\x20(default:\x20information_schema)','Read\x20SQL\x20query\x20from\x20file','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Scheduled\x20query\x20management\x20commands','versions\x20<name-or-path>','optionDescription','columns\x20<name-or-path>','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','RT\x202.0\x20configuration\x20management','set\x20<key=value>','--clear','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Resume\x20from\x20specific\x20task\x20(retry)','subcommandTerm','Starting\x20offset\x20(default:\x200)','commandDescription','tsv','job','workflows\x20[project]','--include-retried','Setup\x20API\x20key\x20authentication\x20interactively','Clear\x20workflow\x20project\x20context','describe','--table','--model\x20<name>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Custom\x20revision\x20name\x20(default:\x20timestamp)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','--time\x20<iso8601>','tdx','segments\x20[path]','connections','--attributes-file\x20<file>','list','Read\x20query\x20from\x20file','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','schedule','pull\x20[project]\x20[agent-name]','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','--to\x20<n>','use\x20<project-name>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Open\x20segment\x20in\x20web\x20browser','Set\x20operation\x20timeout\x20in\x20seconds','Output\x20folder\x20(default:\x20{project_name}.llm)','--include-subtasks','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--dry-run','Customer\x20group\x20as\x20JSON\x20string','show\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--add-attributes-file\x20<file>','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','--new','replace','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','segment','[options]\x20--\x20[claude-code-args...]','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Email\x20template\x20management','--follow','--description\x20<desc>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Project\x20description','2ygdHBi','Task\x20name\x20for\x20logs\x20action','--no-color','hook'];a2_0x35d3=function(){return _0x32d005;};return a2_0x35d3();}journeyVersionCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x149))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x20d))['action'](async(_0x399f36,_0xf74b15)=>{const _0x5f4bed=new JourneyVersionCreateCommand(),_0xb45231=program['opts'](),_0x614990=await createTDXInstance(_0xb45231),_0x5e632d=await _0x5f4bed['run']({'options':{..._0xb45231,..._0xf74b15},'args':[_0x399f36],'tdx':_0x614990});gracefulExit(_0x5e632d);}),journeyVersionCmd[a2_0x4cef1c(0xa7)]('view\x20<name-or-path>')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0xbb))[a2_0x4cef1c(0x1eb)]('--version\x20<number>','Version\x20number\x20to\x20view')[a2_0x4cef1c(0x221)](async(_0x488f1b,_0x224722)=>{const _0x4b256c=a2_0x4cef1c,_0x3468f9=new JourneyVersionViewCommand(),_0xfcc73b=program[_0x4b256c(0xdf)](),_0x32dea0=await createTDXInstance(_0xfcc73b),_0x11127a=await _0x3468f9['run']({'options':{..._0xfcc73b,..._0x224722},'args':[_0x488f1b],'tdx':_0x32dea0});gracefulExit(_0x11127a);}),journeyCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x15f))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x26f))[a2_0x4cef1c(0x221)](async(_0x39bb0f,_0x3ea12e)=>{const _0x2d0640=a2_0x4cef1c,_0x9decc=new JourneyValidateCommand(),_0x560942=program[_0x2d0640(0xdf)](),_0x487359=await createTDXInstance(_0x560942),_0x58ace3=await _0x9decc[_0x2d0640(0x131)]({'options':{..._0x560942,..._0x3ea12e},'args':_0x39bb0f?[_0x39bb0f]:[],'tdx':_0x487359});gracefulExit(_0x58ace3);}),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2f8))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x21a))[a2_0x4cef1c(0x221)](journeyListAction);const agentSyncCmd=program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2e2))['description'](a2_0x4cef1c(0xd0));agentSyncCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x29b))['description'](a2_0x4cef1c(0x154))[a2_0x4cef1c(0x1da)]('-o,\x20--output\x20<dir>',a2_0x4cef1c(0x11b))[a2_0x4cef1c(0x1da)]('-f,\x20--force','Overwrite\x20local\x20changes\x20without\x20confirmation')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1f8),a2_0x4cef1c(0xd2))[a2_0x4cef1c(0x221)](async(_0x99e4c3,_0xe746e1,_0x3090ed)=>{const _0x350042=a2_0x4cef1c,_0x2bb21c=new AgentPullCommand(),_0x819fb0=program[_0x350042(0xdf)](),_0x304205=await createTDXInstance(_0x819fb0),_0x3a2e1e=[];if(_0x99e4c3)_0x3a2e1e[_0x350042(0x308)](_0x99e4c3);if(_0xe746e1)_0x3a2e1e[_0x350042(0x308)](_0xe746e1);const _0x1d550e=await _0x2bb21c['run']({'options':{..._0x819fb0,..._0x3090ed},'args':_0x3a2e1e,'tdx':_0x304205});gracefulExit(_0x1d550e);}),agentSyncCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x193))[a2_0x4cef1c(0x320)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x4cef1c(0x1da)]('-f,\x20--force',a2_0x4cef1c(0x273))[a2_0x4cef1c(0x221)](async(_0x2dc1d1,_0x568b8b)=>{const _0x1ee5db=new AgentPushCommand(),_0x248591=program['opts'](),_0xb66859=await createTDXInstance(_0x248591),_0x9f5c1e=await _0x1ee5db['run']({'options':{..._0x248591,..._0x568b8b},'args':_0x2dc1d1?[_0x2dc1d1]:[],'tdx':_0xb66859});gracefulExit(_0x9f5c1e);}),agentSyncCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0x2f9))['description'](a2_0x4cef1c(0x9a))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x160),a2_0x4cef1c(0x141))[a2_0x4cef1c(0x221)](async(_0x119bdf,_0x49d9b7)=>{const _0x1f37fa=a2_0x4cef1c,_0xd1e617=new AgentCloneCommand(),_0x4795a4=program[_0x1f37fa(0xdf)](),_0x186dff=await createTDXInstance(_0x4795a4),_0x4c92b5=await _0xd1e617[_0x1f37fa(0x131)]({'options':{..._0x4795a4,..._0x49d9b7},'args':_0x119bdf?[_0x119bdf]:[],'tdx':_0x186dff});gracefulExit(_0x4c92b5);}),agentSyncCmd[a2_0x4cef1c(0xa7)]('test\x20[path]')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x132))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x24c),a2_0x4cef1c(0x1c8))[a2_0x4cef1c(0x1da)]('--tags\x20<tags>',a2_0x4cef1c(0x317))['option'](a2_0x4cef1c(0x2a7),a2_0x4cef1c(0x271))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0xef),a2_0x4cef1c(0x182))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x126),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x4cef1c(0x221)](async(_0x421521,_0x4bb83a)=>{const _0x18be4b=a2_0x4cef1c,_0x414d2a=new AgentTestCommand(),_0x4a283c=program[_0x18be4b(0xdf)](),_0x31364c=await createTDXInstance(_0x4a283c),_0x1e5782=await _0x414d2a[_0x18be4b(0x131)]({'options':{..._0x4a283c,..._0x4bb83a},'args':_0x421521?[_0x421521]:[],'tdx':_0x31364c});gracefulExit(_0x1e5782);}),agentSyncCmd['command'](a2_0x4cef1c(0x105))[a2_0x4cef1c(0x320)]('List\x20agents\x20in\x20current\x20project')[a2_0x4cef1c(0x221)](llmAgentListAction),agentSyncCmd[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xd9))[a2_0x4cef1c(0x320)]('Show\x20agent\x20details')[a2_0x4cef1c(0x221)](async(_0x30d2bf,_0x2a77a5)=>{const _0x142261=a2_0x4cef1c,_0x28d974=new LLMAgentShowCommand(),_0x1f4002=program[_0x142261(0xdf)](),_0x455ca9=await createTDXInstance(_0x1f4002),_0x15dc05=await _0x28d974['run']({'options':{..._0x1f4002,..._0x2a77a5},'args':[_0x30d2bf],'tdx':_0x455ca9});gracefulExit(_0x15dc05);}),agentSyncCmd['command'](a2_0x4cef1c(0x1af))[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x1f1))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x253),'System\x20prompt/instructions\x20(default:\x20empty)')['option'](a2_0x4cef1c(0x28e),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x4cef1c(0x113))[a2_0x4cef1c(0x1da)]('--starter-message\x20<text>',a2_0x4cef1c(0xe4))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x172),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x25a),a2_0x4cef1c(0x24b),a2_0x4cef1c(0x83))[a2_0x4cef1c(0x221)](async(_0xf41fec,_0x59c956)=>{const _0x274d73=a2_0x4cef1c,_0x14c3c8=new LLMAgentCreateCommand(),_0x7d81c1=program[_0x274d73(0xdf)](),_0x2e37f8=await createTDXInstance(_0x7d81c1),_0x38308d=await _0x14c3c8['run']({'options':{..._0x7d81c1,..._0x59c956},'args':[_0xf41fec],'tdx':_0x2e37f8});gracefulExit(_0x38308d);}),agentSyncCmd[a2_0x4cef1c(0xa7)]('update\x20<agent-name>')[a2_0x4cef1c(0x320)](a2_0x4cef1c(0x2d1))[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x25f),'Agent\x20name')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x260),'Agent\x20prompt/instructions')[a2_0x4cef1c(0x1da)](a2_0x4cef1c(0x1d2),'Agent\x20description')['option'](a2_0x4cef1c(0x128),'Starter\x20message')[a2_0x4cef1c(0x221)](async(_0x7a62b8,_0x2d0d4f)=>{const _0x4b7230=a2_0x4cef1c,_0x5d4c9f=new LLMAgentUpdateCommand(),_0x2cc864=program[_0x4b7230(0xdf)](),_0x18eba7=await createTDXInstance(_0x2cc864),_0x27a8f8=await _0x5d4c9f['run']({'options':{..._0x2cc864,..._0x2d0d4f},'args':[_0x7a62b8],'tdx':_0x18eba7});gracefulExit(_0x27a8f8);}),agentSyncCmd['command']('delete\x20<agent-name>')[a2_0x4cef1c(0x320)]('Delete\x20an\x20agent')['action'](async(_0x457c22,_0x4316c1)=>{const _0x37da4d=a2_0x4cef1c,_0x199819=new LLMAgentDeleteCommand(),_0x3d0c16=program[_0x37da4d(0xdf)](),_0x1778e8=await createTDXInstance(_0x3d0c16),_0x4075d3=await _0x199819[_0x37da4d(0x131)]({'options':{..._0x3d0c16,..._0x4316c1},'args':[_0x457c22],'tdx':_0x1778e8});gracefulExit(_0x4075d3);}),program[a2_0x4cef1c(0xa7)](a2_0x4cef1c(0xee),{'hidden':!![]})[a2_0x4cef1c(0x221)](()=>{const _0x59bad9=a2_0x4cef1c;function _0x5d5b3b(_0x4694b2,_0x128b74){const _0x2c6e77=a2_0xffe1,_0x31d14c=[];for(const _0x468a12 of _0x4694b2[_0x2c6e77(0x1bd)]){if(_0x468a12[_0x2c6e77(0x2dc)])continue;const _0x2a180b=_0x128b74?_0x128b74+'\x20'+_0x468a12[_0x2c6e77(0x151)]():_0x468a12['name'](),_0x5b710c=_0x2a180b[_0x2c6e77(0x157)]('\x20')[0x0],_0x141015=COMMAND_CATEGORIES[_0x2c6e77(0x1cb)](_0x357e10=>_0x357e10[_0x2c6e77(0x1bd)][_0x2c6e77(0x25d)](_0x5b710c)),_0x44042c=_0x141015?.['name']??'';if(_0x468a12[_0x2c6e77(0x1bd)][_0x2c6e77(0xde)]>0x0)_0x31d14c[_0x2c6e77(0x308)](..._0x5d5b3b(_0x468a12,_0x2a180b));else{const _0xa46d07=(_0x468a12[_0x2c6e77(0x215)]||[])[_0x2c6e77(0xfa)](_0x5de8ef=>{const _0x2aa19d=_0x2c6e77,_0x5cfd97=_0x5de8ef['variadic']?_0x5de8ef[_0x2aa19d(0x151)]()+_0x2aa19d(0x115):_0x5de8ef[_0x2aa19d(0x151)]();return _0x5de8ef[_0x2aa19d(0x2ff)]?'<'+_0x5cfd97+'>':'['+_0x5cfd97+']';})[_0x2c6e77(0x2df)]('\x20'),_0x96e6ca=_0x468a12[_0x2c6e77(0xe0)][_0x2c6e77(0xb9)](_0x5efba1=>!_0x5efba1[_0x2c6e77(0x23d)]&&_0x5efba1[_0x2c6e77(0xad)]!==_0x2c6e77(0x1a6))['map'](_0x15aa7a=>({'flags':_0x15aa7a[_0x2c6e77(0x106)],'description':_0x15aa7a[_0x2c6e77(0x320)]}));_0x31d14c[_0x2c6e77(0x308)]({'name':_0x2a180b,'description':_0x468a12[_0x2c6e77(0x320)](),'group':_0x44042c,'usage':_0xa46d07,'options':_0x96e6ca});}}return _0x31d14c;}console[_0x59bad9(0x2f4)](JSON[_0x59bad9(0x1e0)](_0x5d5b3b(program,''))),process['exit'](0x0);});export{program};export function runCLI(){const _0x1c6552=a2_0x4cef1c,_0x30f16b=!process[_0x1c6552(0x26d)][_0x1c6552(0x20c)](0x2)['length'];showBriefHelp=_0x30f16b,program[_0x1c6552(0x32a)](process[_0x1c6552(0x26d)]);_0x30f16b&&program[_0x1c6552(0x2e6)]();const _0x3a3650=process[_0x1c6552(0x26d)][0x2]===_0x1c6552(0x9b);if(process[_0x1c6552(0x135)][_0x1c6552(0x31f)]&&process[_0x1c6552(0x26d)][_0x1c6552(0xde)]>0x2&&!isDevVersion()&&!_0x3a3650){const _0x15d7a7=loadReleaseChannel();checkForUpdate(currentVersion,_0x15d7a7)['then'](_0x9c3591=>{_0x9c3591&&displayUpdateNotification(_0x9c3591);})[_0x1c6552(0xea)](()=>{});}}
1
+ const a2_0x3f63cf=a2_0x3155;(function(_0x1909db,_0x44b67b){const _0x1027c8=a2_0x3155,_0x420c7e=_0x1909db();while(!![]){try{const _0xa67464=-parseInt(_0x1027c8(0x3c9))/0x1*(parseInt(_0x1027c8(0x2be))/0x2)+-parseInt(_0x1027c8(0x15f))/0x3+parseInt(_0x1027c8(0x298))/0x4+parseInt(_0x1027c8(0x347))/0x5*(parseInt(_0x1027c8(0x341))/0x6)+parseInt(_0x1027c8(0x16d))/0x7+-parseInt(_0x1027c8(0x3c3))/0x8+parseInt(_0x1027c8(0x13b))/0x9;if(_0xa67464===_0x44b67b)break;else _0x420c7e['push'](_0x420c7e['shift']());}catch(_0x196506){_0x420c7e['push'](_0x420c7e['shift']());}}}(a2_0x1b31,0x4560b));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,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{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{UserCommand,UserListCommand}from'./commands/user-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_0x3f63cf(0x38c)][a2_0x3f63cf(0x1ca)](a2_0x3f63cf(0x316))){let versionOutput='tdx\x20'+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x3f63cf(0x1ca)](buildInfo[a2_0x3f63cf(0x164)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x3f63cf(0x3d0)+buildInfo[a2_0x3f63cf(0x13f)]),console[a2_0x3f63cf(0x2aa)](versionOutput),process[a2_0x3f63cf(0x327)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x3f63cf(0x1c6);buildInfo[a2_0x3f63cf(0x164)]&&!currentVersion[a2_0x3f63cf(0x1ca)](buildInfo[a2_0x3f63cf(0x164)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x3f63cf(0x208)+currentVersion;program[a2_0x3f63cf(0x3bf)](a2_0x3f63cf(0x2ca))[a2_0x3f63cf(0x31b)](description),program[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x285),a2_0x3f63cf(0x221))[a2_0x3f63cf(0x1d7)]('-p,\x20--profile\x20<name>',a2_0x3f63cf(0x2f8))['option'](a2_0x3f63cf(0x362),a2_0x3f63cf(0x2ac),a2_0x3f63cf(0x23a))['option']('--format\x20<format>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x277),a2_0x3f63cf(0x338))['option'](a2_0x3f63cf(0x1a1),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x228),a2_0x3f63cf(0x276))['option'](a2_0x3f63cf(0x2af),a2_0x3f63cf(0x328))['option'](a2_0x3f63cf(0x17d),'Save\x20output\x20to\x20file')['option'](a2_0x3f63cf(0x186),a2_0x3f63cf(0x37e))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x345),a2_0x3f63cf(0x2fe),![])[a2_0x3f63cf(0x1d7)]('--no-color',a2_0x3f63cf(0x1b4),![])[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1b7),'Enable\x20verbose\x20logging',![])[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x32c),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x353),a2_0x3f63cf(0x331))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1c9),a2_0x3f63cf(0x30e),'30')[a2_0x3f63cf(0x1d7)]('--dry-run',a2_0x3f63cf(0x2e2),![])[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x26c),a2_0x3f63cf(0x1df),![])[a2_0x3f63cf(0x1d7)]('--session\x20<id>',a2_0x3f63cf(0x3a7))['option'](a2_0x3f63cf(0x27e),a2_0x3f63cf(0x250))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x22f),a2_0x3f63cf(0x1d2)),program[a2_0x3f63cf(0x3aa)]({'formatHelp':(_0x5cd510,_0x28604a)=>{const _0x3f465c=a2_0x3f63cf,_0x42bf8d=_0x28604a[_0x3f465c(0x321)](_0x5cd510,_0x28604a),_0x519afe=0x2,_0x5aa779=0x2;function _0x16b990(_0x295d50){const _0x3bc62e=_0x3f465c,_0x4465a2=_0x295d50;return!!(_0x4465a2[_0x3bc62e(0x170)]||_0x4465a2[_0x3bc62e(0x168)]);}function _0x172796(_0x2e593b,_0x49d366){const _0x2938a6=_0x3f465c;if(_0x49d366){const _0x3612b3=''+_0x2e593b[_0x2938a6(0x2f0)](_0x42bf8d+_0x5aa779)+_0x49d366;return _0x3612b3;}return _0x2e593b;}function _0x2d274a(_0x7f21fb){const _0x545b45=_0x3f465c;return _0x7f21fb[_0x545b45(0x149)]('\x0a')['replace'](/^/gm,'\x20'['repeat'](_0x519afe));}const _0x405dcb=[];_0x405dcb[_0x3f465c(0x231)](_0x3f465c(0x1ed)+_0x28604a['commandUsage'](_0x5cd510));const _0x2e9fbd=_0x28604a['commandDescription'](_0x5cd510);_0x2e9fbd&&(_0x405dcb[_0x3f465c(0x231)](''),_0x405dcb[_0x3f465c(0x231)](_0x2e9fbd));const _0x471e39=_0x5cd510[_0x3f465c(0x140)][_0x3f465c(0x34b)](_0x3204d4=>!_0x16b990(_0x3204d4));if(_0x471e39[_0x3f465c(0x296)]>0x0){if(_0x5cd510[_0x3f465c(0x3bf)]()===_0x3f465c(0x2ca)){const _0x9a8315=_0x5cd510[_0x3f465c(0x1e5)](),_0x39bf00=!_0x9a8315[_0x3f465c(0x1f5)]&&process[_0x3f465c(0x374)][_0x3f465c(0x237)],_0x1f2457=COMMAND_CATEGORIES,_0x4f1cd1=(_0xd76231,_0x21d84d)=>_0x39bf00?_0x21d84d(_0xd76231):_0xd76231,_0x482282=new Map();_0x471e39[_0x3f465c(0x1f8)](_0x21e26b=>{const _0x3e613e=_0x3f465c;_0x482282['set'](_0x21e26b[_0x3e613e(0x3bf)](),_0x21e26b);}),_0x1f2457[_0x3f465c(0x1f8)](_0x25c483=>{const _0x4f2561=_0x3f465c,_0xcefc96=_0x25c483[_0x4f2561(0x140)][_0x4f2561(0x275)](_0x580794=>_0x482282['get'](_0x580794)??[]);if(_0xcefc96[_0x4f2561(0x296)]>0x0){_0x405dcb['push'](''),_0x405dcb['push'](_0x4f1cd1(_0x25c483[_0x4f2561(0x3bf)]+':',_0x25c483[_0x4f2561(0x2d9)]));const _0x13d6f7=_0xcefc96[_0x4f2561(0x354)](_0x521dac=>{const _0x156061=_0x4f2561,_0x507e33=_0x28604a[_0x156061(0x20b)](_0x521dac),_0xc33267=_0x28604a[_0x156061(0x153)](_0x521dac);return _0x172796(_0x507e33,_0xc33267);});_0x405dcb[_0x4f2561(0x231)](_0x2d274a(_0x13d6f7));}}),_0x405dcb[_0x3f465c(0x231)](''),_0x405dcb[_0x3f465c(0x231)](_0x3f465c(0x393));}else{const _0x20c32f=_0x471e39[_0x3f465c(0x354)](_0x5a83fd=>{const _0x211940=_0x3f465c,_0x3980b2=_0x28604a['subcommandTerm'](_0x5a83fd),_0x33e09d=_0x28604a[_0x211940(0x153)](_0x5a83fd);return _0x172796(_0x3980b2,_0x33e09d);});_0x405dcb[_0x3f465c(0x231)](''),_0x405dcb[_0x3f465c(0x231)](_0x3f465c(0x30f)),_0x405dcb['push'](_0x2d274a(_0x20c32f));}}if(showBriefHelp&&_0x5cd510[_0x3f465c(0x3bf)]()===_0x3f465c(0x2ca))_0x405dcb[_0x3f465c(0x231)](''),_0x405dcb[_0x3f465c(0x231)](_0x3f465c(0x245));else{const _0x5e93d2=_0x5cd510[_0x3f465c(0x201)]['filter'](_0x307ff8=>!_0x16b990(_0x307ff8));if(_0x5e93d2[_0x3f465c(0x296)]>0x0){const _0x5e2a94=_0x5e93d2[_0x3f465c(0x354)](_0x2d54d9=>{const _0x45001d=_0x3f465c,_0x439c03=_0x28604a['optionTerm'](_0x2d54d9),_0x55d617=_0x28604a[_0x45001d(0x28a)](_0x2d54d9);return _0x172796(_0x439c03,_0x55d617);});_0x405dcb[_0x3f465c(0x231)](''),_0x405dcb[_0x3f465c(0x231)](_0x3f465c(0x146)),_0x405dcb[_0x3f465c(0x231)](_0x2d274a(_0x5e2a94));}}const _0x1e584c=(_0x5cd510['registeredArguments']||[])[_0x3f465c(0x34b)](_0x4b439a=>!_0x16b990(_0x4b439a));if(_0x1e584c[_0x3f465c(0x296)]>0x0){const _0x5c142d=_0x1e584c[_0x3f465c(0x354)](_0x4700c5=>{const _0x2f61b8=_0x3f465c,_0x26d613=_0x28604a[_0x2f61b8(0x2e4)](_0x4700c5),_0x236b03=_0x28604a[_0x2f61b8(0x3a9)](_0x4700c5);return _0x172796(_0x26d613,_0x236b03);});_0x405dcb[_0x3f465c(0x231)](''),_0x405dcb['push'](_0x3f465c(0x355)),_0x405dcb[_0x3f465c(0x231)](_0x2d274a(_0x5c142d));}return _0x405dcb[_0x3f465c(0x149)]('\x0a')+'\x0a';},'subcommandTerm':_0x1ff1df=>{const _0xfa1fd6=a2_0x3f63cf,_0x302342=(_0x1ff1df[_0xfa1fd6(0x1d6)]||[])[_0xfa1fd6(0x354)](_0x4bde55=>_0x4bde55[_0xfa1fd6(0x377)]?'<'+_0x4bde55[_0xfa1fd6(0x3bf)]()+'>':'['+_0x4bde55[_0xfa1fd6(0x3bf)]()+']')['join']('\x20'),_0x21efb5=_0x1ff1df[_0xfa1fd6(0x17e)](),_0x3e8c3c=_0x21efb5[_0xfa1fd6(0x296)]>0x0?_0x1ff1df['name']()+',\x20'+_0x21efb5[_0xfa1fd6(0x149)](',\x20'):_0x1ff1df[_0xfa1fd6(0x3bf)]();return _0x302342?_0x3e8c3c+'\x20'+_0x302342:_0x3e8c3c;}}),program['hook'](a2_0x3f63cf(0x2b6),_0x50d817=>{const _0x191f64=a2_0x3f63cf,_0x2becfa=_0x50d817['opts']();if(_0x2becfa[_0x191f64(0x1dd)]){const _0x412b29=resolve(_0x2becfa[_0x191f64(0x1dd)]),_0x37147d=_0x412b29!==_0x2becfa[_0x191f64(0x1dd)]?'\x20(resolved\x20to\x20'+_0x412b29+')':'';if(!existsSync(_0x412b29))throw new SDKError(ErrorCode[_0x191f64(0x3b1)],'Directory\x20does\x20not\x20exist:\x20'+_0x2becfa[_0x191f64(0x1dd)]+_0x37147d,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x2dce89=statSync(_0x412b29);if(!_0x2dce89[_0x191f64(0x152)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x191f64(0x2fa)+_0x2becfa['directory']+_0x37147d,undefined,{'helpText':_0x191f64(0x181)});process[_0x191f64(0x32d)](_0x412b29);}if(!_0x2becfa['format']){if(_0x2becfa[_0x191f64(0x272)])_0x2becfa[_0x191f64(0x22a)]='table';else{if(_0x2becfa['json'])_0x2becfa[_0x191f64(0x22a)]='json';else{if(_0x2becfa['jsonl'])_0x2becfa[_0x191f64(0x22a)]=_0x191f64(0x1b2);else _0x2becfa['tsv']&&(_0x2becfa[_0x191f64(0x22a)]=_0x191f64(0x3af));}}}if(_0x2becfa['trace'])_0x2becfa[_0x191f64(0x154)]=LogLevel['TRACE'];else{if(_0x2becfa['debug'])_0x2becfa[_0x191f64(0x154)]=LogLevel[_0x191f64(0x1da)];else _0x2becfa[_0x191f64(0x154)]===undefined&&(_0x2becfa[_0x191f64(0x154)]=LogLevel[_0x191f64(0x367)]);}});async function createTDXInstance(_0x54bbc6){const _0x2c6015=a2_0x3f63cf,_0x4c6179=await GlobalContext['createAsync'](_0x54bbc6);return _0x4c6179[_0x2c6015(0x2cc)](_0x54bbc6),TDX['create']({'site':_0x4c6179['site'],'apiKey':_0x4c6179[_0x2c6015(0x239)],'logLevel':_0x4c6179[_0x2c6015(0x154)],'profile':_0x4c6179['profile']});}const databaseCmd=program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x163))[a2_0x3f63cf(0x196)]('db')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x293)),databaseListAction=async(_0x4cd837,_0x7130b)=>{const _0x2ec980=a2_0x3f63cf,_0x31076f=new DatabasesCommand(),_0x574def=program[_0x2ec980(0x1e5)](),_0x326d71=await createTDXInstance(_0x574def),_0x1693a6=await _0x31076f[_0x2ec980(0x2a7)]({'options':{..._0x574def,..._0x7130b},'args':_0x4cd837?[_0x4cd837]:[],'tdx':_0x326d71});gracefulExit(_0x1693a6);};databaseCmd['command'](a2_0x3f63cf(0x364))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3f63cf(0x3a4)](databaseListAction),program[a2_0x3f63cf(0x3d5)]('databases\x20[pattern]',{'hidden':!![]})['description'](a2_0x3f63cf(0x21c))[a2_0x3f63cf(0x3a4)](databaseListAction),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x256))[a2_0x3f63cf(0x31b)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')['option'](a2_0x3f63cf(0x2bf),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x273),a2_0x3f63cf(0x399))[a2_0x3f63cf(0x1d7)]('--chat-id\x20<id>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x14b),a2_0x3f63cf(0x274))['action'](async(_0x2df1db,_0x4bec02)=>{const _0x187419=a2_0x3f63cf,_0x4471d6=program['opts'](),_0x218916=await createTDXInstance(_0x4471d6);if(_0x2df1db[0x0]===_0x187419(0x1d1)){const _0x10f855=new ChatCreateCommand();gracefulExit(await _0x10f855[_0x187419(0x2a7)]({'options':{..._0x4471d6,..._0x4bec02},'args':_0x2df1db['slice'](0x1),'tdx':_0x218916}));return;}const _0x6efe17=new ChatCommand(),_0x3c4ff5=await _0x6efe17['run']({'options':{..._0x4471d6,..._0x4bec02},'args':_0x2df1db,'tdx':_0x218916});gracefulExit(_0x3c4ff5);});const apiCmd=program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x371))[a2_0x3f63cf(0x18e)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x3f63cf(0x26d)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x379),a2_0x3f63cf(0x39d),a2_0x3f63cf(0x25f))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1aa),a2_0x3f63cf(0x207))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x325),'Read\x20request\x20body\x20from\x20file')[a2_0x3f63cf(0x1d7)]('-H,\x20--header\x20<header>',a2_0x3f63cf(0x31c),(_0x3d49a8,_0x386934)=>{return _0x386934?[..._0x386934,_0x3d49a8]:[_0x3d49a8];})[a2_0x3f63cf(0x1d7)]('--type\x20<api_type>',a2_0x3f63cf(0x1ea),'td')[a2_0x3f63cf(0x3a4)](async(_0x18e211,_0xd9c29e)=>{const _0xf965c0=a2_0x3f63cf;if(!_0x18e211){apiCmd['help']();return;}const _0xb895a2=new ApiCommand(),_0xc446ef=program[_0xf965c0(0x1e5)](),_0x51ead1=await createTDXInstance(_0xc446ef),_0x57f651=await _0xb895a2[_0xf965c0(0x2a7)]({'options':{..._0xc446ef,..._0xd9c29e},'args':[_0x18e211],'tdx':_0x51ead1});gracefulExit(_0x57f651);});function a2_0x3155(_0x814b81,_0x5f2eac){_0x814b81=_0x814b81-0x13a;const _0x1b31dd=a2_0x1b31();let _0x315535=_0x1b31dd[_0x814b81];return _0x315535;}program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1d8))['description'](a2_0x3f63cf(0x27d))[a2_0x3f63cf(0x26d)](a2_0x3f63cf(0x26f),a2_0x3f63cf(0x356))[a2_0x3f63cf(0x3a4)](async _0x2f8b12=>{const _0x28ff67=a2_0x3f63cf,_0x4bc277=new MCPCommand(),_0x185aa0=program[_0x28ff67(0x1e5)](),_0xd3f613=await createTDXInstance(_0x185aa0),_0x17f74c=await _0x4bc277[_0x28ff67(0x2a7)]({'options':{..._0x185aa0,..._0x2f8b12},'args':[],'tdx':_0xd3f613});gracefulExit(_0x17f74c);});const tableCmd=program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x272))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x147)),tableListAction=async(_0x51d7ac,_0x12c404)=>{const _0x4223fc=a2_0x3f63cf,_0x544231=new TablesCommand(),_0x531910=program[_0x4223fc(0x1e5)](),_0x1e0f22=await createTDXInstance(_0x531910);_0x12c404['in']&&(_0x12c404[_0x4223fc(0x163)]=_0x12c404['in']);const _0x1b057a=await _0x544231['run']({'options':{..._0x531910,..._0x12c404},'args':_0x51d7ac?[_0x51d7ac]:[],'tdx':_0x1e0f22});gracefulExit(_0x1b057a);};tableCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x364))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x329))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2a3),a2_0x3f63cf(0x2b5))[a2_0x3f63cf(0x1d7)]('--in\x20<database>',a2_0x3f63cf(0x262))['action'](tableListAction),program[a2_0x3f63cf(0x3d5)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x25b))['option'](a2_0x3f63cf(0x2a3),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')['option']('--in\x20<database>',a2_0x3f63cf(0x262))[a2_0x3f63cf(0x3a4)](tableListAction),program['command'](a2_0x3f63cf(0x2f2))[a2_0x3f63cf(0x31b)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2a3),a2_0x3f63cf(0x1d4))[a2_0x3f63cf(0x1d7)]('--in\x20<database>',a2_0x3f63cf(0x262))['action'](async(_0x2a819b,_0x539704)=>{const _0x544bc9=a2_0x3f63cf,_0x3b7073=new ShowCommand(),_0x1bb052=program[_0x544bc9(0x1e5)](),_0x38184f=await createTDXInstance(_0x1bb052);_0x539704['in']&&(_0x539704['database']=_0x539704['in']);const _0x366328=await _0x3b7073[_0x544bc9(0x2a7)]({'options':{..._0x1bb052,..._0x539704},'args':_0x2a819b?[_0x2a819b]:[],'tdx':_0x38184f});gracefulExit(_0x366328);}),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x19a))[a2_0x3f63cf(0x196)](a2_0x3f63cf(0x2d3))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x391))[a2_0x3f63cf(0x1d7)]('-d,\x20--database\x20<database>',a2_0x3f63cf(0x1d4))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x20f),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x3f63cf(0x3a4)](async(_0x5e2d85,_0x3aafe5)=>{const _0x16f34a=a2_0x3f63cf,_0x3b5f83=new DescribeCommand(),_0x580e51=program['opts'](),_0x3ae098=await createTDXInstance(_0x580e51);_0x3aafe5['in']&&(_0x3aafe5[_0x16f34a(0x163)]=_0x3aafe5['in']);const _0x10505f=await _0x3b5f83[_0x16f34a(0x2a7)]({'options':{..._0x580e51,..._0x3aafe5},'args':_0x5e2d85?[_0x5e2d85]:[],'tdx':_0x3ae098});gracefulExit(_0x10505f);}),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x389))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1fb))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2a3),a2_0x3f63cf(0x2a5))['option'](a2_0x3f63cf(0x20f),a2_0x3f63cf(0x262))['option'](a2_0x3f63cf(0x21e),a2_0x3f63cf(0x233))[a2_0x3f63cf(0x1d7)]('-f,\x20--file\x20<path>',a2_0x3f63cf(0x337))['option'](a2_0x3f63cf(0x2fd),'Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')['action'](async(_0x3381d8,_0x5aeb7d)=>{const _0x9f9468=a2_0x3f63cf,_0x305585=new QueryCommand(),_0x365f29=program[_0x9f9468(0x1e5)](),_0x4d65a1=await createTDXInstance(_0x365f29);_0x5aeb7d['in']&&(_0x5aeb7d[_0x9f9468(0x163)]=_0x5aeb7d['in']);const _0x2e46d7=await _0x305585[_0x9f9468(0x2a7)]({'options':{..._0x365f29,..._0x5aeb7d},'args':_0x3381d8?[_0x3381d8]:[],'tdx':_0x4d65a1});gracefulExit(_0x2e46d7);});const segmentCmd=program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x375))[a2_0x3f63cf(0x196)]('sg')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x20e)),segmentListAction=async(_0x42f547,_0x315335)=>{const _0x40ba24=a2_0x3f63cf,_0x110a2a=new SegmentsCommand(),_0x5c4d2c=program[_0x40ba24(0x1e5)](),_0x294554=await createTDXInstance(_0x5c4d2c),_0x20f107=await _0x110a2a[_0x40ba24(0x2a7)]({'options':{..._0x5c4d2c,..._0x315335},'args':_0x42f547?[_0x42f547]:[],'tdx':_0x294554});gracefulExit(_0x20f107);};segmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x241))['description'](a2_0x3f63cf(0x2b3))['option'](a2_0x3f63cf(0x2d4),a2_0x3f63cf(0x388))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x24a),a2_0x3f63cf(0x332),'10')['action'](segmentListAction),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x35e),{'hidden':!![]})[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x20c))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2d4),a2_0x3f63cf(0x388))[a2_0x3f63cf(0x1d7)]('--max-depth\x20<depth>',a2_0x3f63cf(0x332),'10')[a2_0x3f63cf(0x3a4)](segmentListAction),segmentCmd[a2_0x3f63cf(0x3d5)]('use\x20<path>',{'hidden':!![]})[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x3cd))[a2_0x3f63cf(0x3a4)](async(_0x5e0040,_0x4e4198)=>{const _0x361774=a2_0x3f63cf,_0x9212e8=new SegmentUseCommand(),_0x1455ab=program[_0x361774(0x1e5)](),_0xfa02da=await createTDXInstance(_0x1455ab),_0x28f3fa=await _0x9212e8['run']({'options':{..._0x1455ab,..._0x4e4198},'args':[_0x5e0040],'tdx':_0xfa02da});gracefulExit(_0x28f3fa);});const segmentViewAction=async(_0x48dcc5,_0x413bd8)=>{const _0x41af7d=a2_0x3f63cf,_0x21cdbb=new SegmentViewCommand(),_0x2d8e7e=program[_0x41af7d(0x1e5)](),_0x360de8=await createTDXInstance(_0x2d8e7e),_0x5e793c=await _0x21cdbb[_0x41af7d(0x2a7)]({'options':{..._0x2d8e7e,..._0x413bd8},'args':_0x48dcc5?[_0x48dcc5]:[],'tdx':_0x360de8});gracefulExit(_0x5e793c);};segmentCmd['command'](a2_0x3f63cf(0x33b))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x204))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1c3),a2_0x3f63cf(0x2ef))[a2_0x3f63cf(0x3a4)](segmentViewAction),segmentCmd[a2_0x3f63cf(0x3d5)]('info\x20[segment_name]',{'hidden':!![]})['alias'](a2_0x3f63cf(0x1fc))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1c3),'Open\x20segment\x20in\x20web\x20browser')['description'](a2_0x3f63cf(0x279))[a2_0x3f63cf(0x3a4)](segmentViewAction),segmentCmd['command']('desc\x20[segment_name]')['description']('Show\x20segment\x20schema\x20(column\x20types)')[a2_0x3f63cf(0x3a4)](async(_0x4e166b,_0x26342d)=>{const _0x376490=a2_0x3f63cf,_0x2f02f0=new SegmentDescCommand(),_0x2d057d=program['opts'](),_0x39f0fd=await createTDXInstance(_0x2d057d),_0x1db75a=await _0x2f02f0[_0x376490(0x2a7)]({'options':{..._0x2d057d,..._0x26342d},'args':_0x4e166b?[_0x4e166b]:[],'tdx':_0x39f0fd});gracefulExit(_0x1db75a);}),segmentCmd[a2_0x3f63cf(0x3d5)]('show\x20[segment_name]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2a9))['action'](async(_0x27c092,_0x1d83b5)=>{const _0x477e14=a2_0x3f63cf,_0x4a3654=new SegmentShowCommand(),_0x53e0fc=program[_0x477e14(0x1e5)](),_0x53fe1b=await createTDXInstance(_0x53e0fc),_0xdecb0d=await _0x4a3654['run']({'options':{..._0x53e0fc,..._0x1d83b5},'args':_0x27c092?[_0x27c092]:[],'tdx':_0x53fe1b});gracefulExit(_0xdecb0d);}),segmentCmd[a2_0x3f63cf(0x3d5)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x15e))['action'](async(_0x459fee,_0x5710f4)=>{const _0x160fa6=a2_0x3f63cf,_0x365659=new SegmentFolderListCommand(),_0xcbf28e=program['opts'](),_0x1be7bd=await createTDXInstance(_0xcbf28e),_0x41265b=await _0x365659[_0x160fa6(0x2a7)]({'options':{..._0xcbf28e,..._0x5710f4},'args':[_0x459fee],'tdx':_0x1be7bd});gracefulExit(_0x41265b);});const folderCmd=segmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x308),{'hidden':!![]})[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x3c8));folderCmd[a2_0x3f63cf(0x3d5)]('show\x20<folder_ref>')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1b8))['action'](async(_0x2542eb,_0x5af1d1)=>{const _0x562ffc=a2_0x3f63cf,_0xe08766=new SegmentFolderShowCommand(),_0x176cd4=program[_0x562ffc(0x1e5)](),_0x248d07=await createTDXInstance(_0x176cd4),_0x1c5fdd=await _0xe08766[_0x562ffc(0x2a7)]({'options':{..._0x176cd4,..._0x5af1d1},'args':[_0x2542eb],'tdx':_0x248d07});gracefulExit(_0x1c5fdd);}),segmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x31f))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2f9))[a2_0x3f63cf(0x1d7)]('--path\x20<file-path>',a2_0x3f63cf(0x174))[a2_0x3f63cf(0x3a4)](async(_0x2e9ef9,_0x28da44)=>{const _0x40408e=a2_0x3f63cf,_0x4d1cd2=new SegmentSQLCommand(),_0x500692=program['opts'](),_0x4a26fe=await createTDXInstance(_0x500692),_0x16079f=await _0x4d1cd2[_0x40408e(0x2a7)]({'options':{..._0x500692,..._0x28da44},'args':_0x2e9ef9?[_0x2e9ef9]:[],'tdx':_0x4a26fe});gracefulExit(_0x16079f);}),segmentCmd['command'](a2_0x3f63cf(0x29c))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1b3))[a2_0x3f63cf(0x3a4)](async(_0x8585c,_0x2e50d3)=>{const _0x524137=a2_0x3f63cf,_0x25b87d=new SegmentFieldsCommand(),_0x43e76e=program[_0x524137(0x1e5)](),_0x4ad4a1=await createTDXInstance(_0x43e76e),_0x5e7fcf=await _0x25b87d[_0x524137(0x2a7)]({'options':{..._0x43e76e,..._0x2e50d3},'args':_0x8585c?[_0x8585c]:[],'tdx':_0x4ad4a1});gracefulExit(_0x5e7fcf);}),segmentCmd['command'](a2_0x3f63cf(0x167))['description'](a2_0x3f63cf(0x320))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x34d),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x3f63cf(0x3a4)](async(_0x5cb474,_0x14a833)=>{const _0x5b238c=new SegmentPullCommand(),_0x551b9a=program['opts'](),_0xf830eb=await createTDXInstance(_0x551b9a),_0x4b6758=await _0x5b238c['run']({'options':{..._0x551b9a,..._0x14a833},'args':_0x5cb474?[_0x5cb474]:[],'tdx':_0xf830eb});gracefulExit(_0x4b6758);}),segmentCmd['command'](a2_0x3f63cf(0x35f))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x3a3))[a2_0x3f63cf(0x1d7)]('--dry-run',a2_0x3f63cf(0x31d))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x240),a2_0x3f63cf(0x1e3))['action'](async(_0x364b15,_0x1f901d)=>{const _0x10cce9=a2_0x3f63cf,_0xcdac49=new SegmentPushCommand(),_0x479323=program[_0x10cce9(0x1e5)](),_0x1112e3=await createTDXInstance(_0x479323),_0xc439ec=await _0xcdac49[_0x10cce9(0x2a7)]({'options':{..._0x479323,..._0x1f901d},'args':_0x364b15?[_0x364b15]:[],'tdx':_0x1112e3});gracefulExit(_0xc439ec);}),segmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x36a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x215))[a2_0x3f63cf(0x3a4)](async(_0x26cbe8,_0x1e7dac)=>{const _0x4d9cfa=a2_0x3f63cf,_0x119d63=new SegmentValidateCommand(),_0x50554a=program['opts'](),_0x276204=await createTDXInstance(_0x50554a),_0x36443c=await _0x119d63[_0x4d9cfa(0x2a7)]({'options':{..._0x50554a,..._0x1e7dac},'args':_0x26cbe8?[_0x26cbe8]:[],'tdx':_0x276204});gracefulExit(_0x36443c);}),segmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1ad),{'hidden':!![]})['description'](a2_0x3f63cf(0x249))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3c7),'Segment\x20description')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1fe),a2_0x3f63cf(0x27b))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2f1),a2_0x3f63cf(0x220))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x213),a2_0x3f63cf(0x24f))['option'](a2_0x3f63cf(0x21b),a2_0x3f63cf(0x2f3))['option'](a2_0x3f63cf(0x310),a2_0x3f63cf(0x351))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3c2),a2_0x3f63cf(0x1bf))[a2_0x3f63cf(0x3a4)](async(_0x521272,_0x2c10f6)=>{const _0x41ab1f=a2_0x3f63cf,_0x416a40=new SegmentCreateCommand(),_0x9ef5cf=program[_0x41ab1f(0x1e5)](),_0x4ef9ab=await createTDXInstance(_0x9ef5cf),_0x312fc5=await _0x416a40[_0x41ab1f(0x2a7)]({'options':{..._0x9ef5cf,..._0x2c10f6},'args':[_0x521272],'tdx':_0x4ef9ab});gracefulExit(_0x312fc5);}),segmentCmd[a2_0x3f63cf(0x3d5)]('update\x20<segment_name>',{'hidden':!![]})[a2_0x3f63cf(0x31b)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3b0),a2_0x3f63cf(0x1e8))[a2_0x3f63cf(0x1d7)]('--description\x20<text>',a2_0x3f63cf(0x1bc))['option'](a2_0x3f63cf(0x1fe),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')['option'](a2_0x3f63cf(0x2f1),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x213),a2_0x3f63cf(0x2cf))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x21b),a2_0x3f63cf(0x2f3))[a2_0x3f63cf(0x3a4)](async(_0x2d2519,_0xf6ccc4)=>{const _0x55d1e9=a2_0x3f63cf,_0xac21f7=new SegmentUpdateCommand(),_0x103e04=program[_0x55d1e9(0x1e5)](),_0x29bb08=await createTDXInstance(_0x103e04),_0x32384b=await _0xac21f7[_0x55d1e9(0x2a7)]({'options':{..._0x103e04,..._0xf6ccc4},'args':[_0x2d2519],'tdx':_0x29bb08});gracefulExit(_0x32384b);});const parentCmd=segmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2a4),{'hidden':!![]})[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2f7)),parentListAction=async(_0x1aca1c,_0x1576aa)=>{const _0xaf2e20=a2_0x3f63cf,_0x295084=new ParentSegmentListCommand(),_0x37014d=program[_0xaf2e20(0x1e5)](),_0x5e10e7=await createTDXInstance(_0x37014d),_0x5abf13=await _0x295084['run']({'options':{..._0x37014d,..._0x1576aa},'args':_0x1aca1c?[_0x1aca1c]:[],'tdx':_0x5e10e7});gracefulExit(_0x5abf13);};parentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x364))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x288))[a2_0x3f63cf(0x3a4)](parentListAction),segmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1db),{'hidden':!![]})[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x16e))[a2_0x3f63cf(0x3a4)](parentListAction),parentCmd[a2_0x3f63cf(0x3d5)]('pull\x20[name]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x334))[a2_0x3f63cf(0x1d7)]('-o,\x20--output\x20<file>','Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x3f63cf(0x3a4)](async(_0x4118fd,_0x50d236)=>{const _0x22a297=a2_0x3f63cf,_0x1a66ea=new ParentSegmentPullCommand(),_0xe063d1=program[_0x22a297(0x1e5)](),_0x24da15=await createTDXInstance(_0xe063d1),_0x38410f=await _0x1a66ea[_0x22a297(0x2a7)]({'options':{..._0xe063d1,..._0x50d236},'args':_0x4118fd?[_0x4118fd]:[],'tdx':_0x24da15});gracefulExit(_0x38410f);}),parentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2e6))['description']('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x3f63cf(0x3a4)](async(_0x15a78a,_0x215a64)=>{const _0x1f4456=a2_0x3f63cf,_0x1a3951=new ParentSegmentPushCommand(),_0x5623de=program[_0x1f4456(0x1e5)](),_0x537771=await createTDXInstance(_0x5623de),_0x25e63b=await _0x1a3951[_0x1f4456(0x2a7)]({'options':{..._0x5623de,..._0x215a64},'args':_0x15a78a?[_0x15a78a]:[],'tdx':_0x537771});gracefulExit(_0x25e63b);}),parentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2d1))[a2_0x3f63cf(0x31b)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x3f63cf(0x1d7)]('--master',a2_0x3f63cf(0x397))['option']('--attribute\x20[name]',a2_0x3f63cf(0x2db))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x15c),a2_0x3f63cf(0x23b))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3d4),a2_0x3f63cf(0x26b))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2ec),a2_0x3f63cf(0x13e),a2_0x3f63cf(0x19e))[a2_0x3f63cf(0x3a4)](async(_0x45e715,_0x575e23)=>{const _0x58f487=a2_0x3f63cf,_0x2c7c82=new ParentSegmentValidateCommand(),_0x413b23=program[_0x58f487(0x1e5)](),_0x3d66e9=await createTDXInstance(_0x413b23),_0x31a694=await _0x2c7c82[_0x58f487(0x2a7)]({'options':{..._0x413b23,..._0x575e23},'args':_0x45e715?[_0x45e715]:[],'tdx':_0x3d66e9});gracefulExit(_0x31a694);}),parentCmd[a2_0x3f63cf(0x3d5)]('preview\x20[file]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x205))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3ac),'Show\x20master\x20table\x20sample\x20data')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x23d),a2_0x3f63cf(0x230))[a2_0x3f63cf(0x1d7)]('--behavior\x20[name]',a2_0x3f63cf(0x27c))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3d4),a2_0x3f63cf(0x21f))[a2_0x3f63cf(0x1d7)]('--interval\x20<range>',a2_0x3f63cf(0x13e),a2_0x3f63cf(0x19e))[a2_0x3f63cf(0x3a4)](async(_0x5758f0,_0x13e024)=>{const _0x13a210=a2_0x3f63cf,_0x47286e=new ParentSegmentPreviewCommand(),_0xed9d74=program[_0x13a210(0x1e5)](),_0x51c66d=await createTDXInstance(_0xed9d74),_0x5b69f2=await _0x47286e['run']({'options':{..._0xed9d74,..._0x13e024},'args':_0x5758f0?[_0x5758f0]:[],'tdx':_0x51c66d});gracefulExit(_0x5b69f2);}),parentCmd['command'](a2_0x3f63cf(0x1d5))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x21a))['action'](async(_0x4bc595,_0x1dfdc0)=>{const _0x5a7cf5=a2_0x3f63cf,_0x3c08d7=new ParentSegmentRunCommand(),_0x268143=program[_0x5a7cf5(0x1e5)](),_0x5c90fe=await createTDXInstance(_0x268143),_0x49bdbc=await _0x3c08d7[_0x5a7cf5(0x2a7)]({'options':{..._0x268143,..._0x1dfdc0},'args':_0x4bc595?[_0x4bc595]:[],'tdx':_0x5c90fe});gracefulExit(_0x49bdbc);});const parentSegmentCmd=program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x19f))[a2_0x3f63cf(0x196)]('ps')[a2_0x3f63cf(0x31b)]('Parent\x20segment\x20management');parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x364))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x288))[a2_0x3f63cf(0x3a4)](parentListAction),parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x15d))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x13d))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x29f),'Output\x20file\x20path')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2c0),a2_0x3f63cf(0x281))[a2_0x3f63cf(0x3a4)](async(_0x383b6b,_0x3b82bd)=>{const _0x5abc0f=a2_0x3f63cf,_0x322332=new ParentSegmentPullCommand(),_0x47d426=program[_0x5abc0f(0x1e5)](),_0x1974cb=await createTDXInstance(_0x47d426),_0xef6896=await _0x322332[_0x5abc0f(0x2a7)]({'options':{..._0x47d426,..._0x3b82bd},'args':_0x383b6b?[_0x383b6b]:[],'tdx':_0x1974cb});gracefulExit(_0xef6896);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x30b))['description'](a2_0x3f63cf(0x39f))[a2_0x3f63cf(0x3a4)](async(_0x514ab9,_0x2eba7c)=>{const _0x119326=a2_0x3f63cf,_0x451d56=new ParentSegmentPushCommand(),_0x28dee0=program['opts'](),_0x5c57c5=await createTDXInstance(_0x28dee0),_0x47d2dc=await _0x451d56[_0x119326(0x2a7)]({'options':{..._0x28dee0,..._0x2eba7c},'args':_0x514ab9?[_0x514ab9]:[],'tdx':_0x5c57c5});gracefulExit(_0x47d2dc);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x200))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x35d))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3ac),a2_0x3f63cf(0x397))[a2_0x3f63cf(0x1d7)]('--attribute\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x3f63cf(0x15c),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option'](a2_0x3f63cf(0x3d4),a2_0x3f63cf(0x26b))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2ec),a2_0x3f63cf(0x13e),a2_0x3f63cf(0x19e))['action'](async(_0x30770b,_0x1518ae)=>{const _0x3a5a45=new ParentSegmentValidateCommand(),_0x359fa2=program['opts'](),_0x37db25=await createTDXInstance(_0x359fa2),_0x57886a=await _0x3a5a45['run']({'options':{..._0x359fa2,..._0x1518ae},'args':_0x30770b?[_0x30770b]:[],'tdx':_0x37db25});gracefulExit(_0x57886a);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1c4))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x205))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3ac),a2_0x3f63cf(0x1b1))['option'](a2_0x3f63cf(0x23d),a2_0x3f63cf(0x230))['option'](a2_0x3f63cf(0x15c),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x3f63cf(0x1d7)]('--enriched',a2_0x3f63cf(0x21f))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2ec),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')['action'](async(_0x1e5d9a,_0x18cb00)=>{const _0x22ed8f=a2_0x3f63cf,_0x10a019=new ParentSegmentPreviewCommand(),_0x4b235b=program[_0x22ed8f(0x1e5)](),_0x557175=await createTDXInstance(_0x4b235b),_0x103cdb=await _0x10a019[_0x22ed8f(0x2a7)]({'options':{..._0x4b235b,..._0x18cb00},'args':_0x1e5d9a?[_0x1e5d9a]:[],'tdx':_0x557175});gracefulExit(_0x103cdb);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)]('run\x20[name]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x21a))[a2_0x3f63cf(0x3a4)](async(_0x564d5e,_0x5ee7e2)=>{const _0x44e81b=a2_0x3f63cf,_0x25ab22=new ParentSegmentRunCommand(),_0x52b26e=program[_0x44e81b(0x1e5)](),_0x43a80c=await createTDXInstance(_0x52b26e),_0x2b5060=await _0x25ab22[_0x44e81b(0x2a7)]({'options':{..._0x52b26e,..._0x5ee7e2},'args':_0x564d5e?[_0x564d5e]:[],'tdx':_0x43a80c});gracefulExit(_0x2b5060);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2b0))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x195))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1a1),a2_0x3f63cf(0x264))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x228),a2_0x3f63cf(0x35b))[a2_0x3f63cf(0x3a4)](async(_0x2a029d,_0x2cbd29)=>{const _0x177229=a2_0x3f63cf,_0x2665ee=new ParentSegmentFieldsCommand(),_0x195fd9=program[_0x177229(0x1e5)](),_0x1cb0c4=await createTDXInstance(_0x195fd9),_0x4d1329=await _0x2665ee[_0x177229(0x2a7)]({'options':{..._0x195fd9,..._0x2cbd29},'args':_0x2a029d?[_0x2a029d]:[],'tdx':_0x1cb0c4});gracefulExit(_0x4d1329);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)]('view\x20[name]')['description'](a2_0x3f63cf(0x3c1))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1c3),a2_0x3f63cf(0x30a))['option'](a2_0x3f63cf(0x1a1),'Output\x20as\x20JSON')['option'](a2_0x3f63cf(0x228),'Output\x20as\x20JSON\x20Lines')[a2_0x3f63cf(0x3a4)](async(_0x7ca7b4,_0x26e036)=>{const _0x576f8b=a2_0x3f63cf,_0x139842=new ParentSegmentViewCommand(),_0x452895=program[_0x576f8b(0x1e5)](),_0x4c8c96=await createTDXInstance(_0x452895),_0x282497=await _0x139842[_0x576f8b(0x2a7)]({'options':{..._0x452895,..._0x26e036},'args':_0x7ca7b4?[_0x7ca7b4]:[],'tdx':_0x4c8c96});gracefulExit(_0x282497);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x33d))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x15b))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x29f),a2_0x3f63cf(0x361))[a2_0x3f63cf(0x1d7)]('--json','Output\x20as\x20JSON')['option'](a2_0x3f63cf(0x228),a2_0x3f63cf(0x35b))[a2_0x3f63cf(0x3a4)](async(_0x54a705,_0x55c2f1)=>{const _0x1068e0=a2_0x3f63cf,_0x37f303=new ParentSegmentDescCommand(),_0x21fe9a=program[_0x1068e0(0x1e5)](),_0x469e0c=await createTDXInstance(_0x21fe9a),_0x343479=await _0x37f303['run']({'options':{..._0x21fe9a,..._0x55c2f1},'args':_0x54a705?[_0x54a705]:[],'tdx':_0x469e0c});gracefulExit(_0x343479);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x381))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1ac))['option']('--json',a2_0x3f63cf(0x264))['option'](a2_0x3f63cf(0x228),'Output\x20as\x20JSON\x20Lines')[a2_0x3f63cf(0x3a4)](async(_0x3e0740,_0x2c63e6)=>{const _0x142a56=a2_0x3f63cf,_0x1299c6=new ParentSegmentSQLCommand(),_0x4c040d=program['opts'](),_0x19a7eb=await createTDXInstance(_0x4c040d),_0x37ae72=await _0x1299c6[_0x142a56(0x2a7)]({'options':{..._0x4c040d,..._0x2c63e6},'args':_0x3e0740?[_0x3e0740]:[],'tdx':_0x19a7eb});gracefulExit(_0x37ae72);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x18a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2ab))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2d2),a2_0x3f63cf(0x263))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1a1),'Output\x20as\x20JSON')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x228),a2_0x3f63cf(0x35b))[a2_0x3f63cf(0x3a4)](async(_0x5c24cf,_0x20e812)=>{const _0x3f7905=a2_0x3f63cf,_0xe23756=new ParentSegmentShowCommand(),_0x5ebc54=program[_0x3f7905(0x1e5)](),_0x354750=await createTDXInstance(_0x5ebc54),_0x238759=await _0xe23756[_0x3f7905(0x2a7)]({'options':{..._0x5ebc54,..._0x20e812},'args':_0x5c24cf?[_0x5c24cf]:[],'tdx':_0x354750});gracefulExit(_0x238759);}),parentSegmentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2a0))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x3a6))['action'](async(_0x543bfe,_0x1585f3)=>{const _0x54ba83=a2_0x3f63cf,_0x415245=new UseCommand(),_0xab41cc=program[_0x54ba83(0x1e5)](),_0x29ef95=_0x543bfe?[_0x54ba83(0x3ab),_0x543bfe]:[],_0x377a78=await _0x415245[_0x54ba83(0x2a7)]({'options':{..._0xab41cc,..._0x1585f3},'args':_0x29ef95,'tdx':null});gracefulExit(_0x377a78);});const psRtCmd=parentSegmentCmd[a2_0x3f63cf(0x3d5)]('rt')[a2_0x3f63cf(0x31b)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x364))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x243))[a2_0x3f63cf(0x3a4)](async(_0x566c31,_0x383bd2)=>{const _0x3a3f20=a2_0x3f63cf,_0x3b72d3=new PSRtListCommand(),_0x33bd0e=program[_0x3a3f20(0x1e5)](),_0x1039cf=await createTDXInstance(_0x33bd0e),_0x706ce=await _0x3b72d3[_0x3a3f20(0x2a7)]({'options':{..._0x33bd0e,..._0x383bd2},'args':_0x566c31?[_0x566c31]:[],'tdx':_0x1039cf});gracefulExit(_0x706ce);}),psRtCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x200))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x370))[a2_0x3f63cf(0x3a4)](async(_0x47ea48,_0x5db8e9)=>{const _0x5e0bff=a2_0x3f63cf,_0x2486b3=new PSRtValidateCommand(),_0x530ebd=program[_0x5e0bff(0x1e5)](),_0x541826=await createTDXInstance(_0x530ebd),_0x123d11=await _0x2486b3[_0x5e0bff(0x2a7)]({'options':{..._0x530ebd,..._0x5db8e9},'args':_0x47ea48?[_0x47ea48]:[],'tdx':_0x541826});gracefulExit(_0x123d11);});const parentRtCmd=parentCmd[a2_0x3f63cf(0x3d5)]('rt',{'hidden':!![]})[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x155));parentRtCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x364))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x243))['action'](async(_0xbb8d31,_0xd71b6e)=>{const _0x4fabec=a2_0x3f63cf,_0x43a59b=new PSRtListCommand(),_0x2a0a45=program['opts'](),_0x54fe3f=await createTDXInstance(_0x2a0a45),_0x457dd8=await _0x43a59b[_0x4fabec(0x2a7)]({'options':{..._0x2a0a45,..._0xd71b6e},'args':_0xbb8d31?[_0xbb8d31]:[],'tdx':_0x54fe3f});gracefulExit(_0x457dd8);}),parentRtCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x200))['description'](a2_0x3f63cf(0x370))['action'](async(_0x26691b,_0x216a79)=>{const _0x18690c=a2_0x3f63cf,_0x195aeb=new PSRtValidateCommand(),_0x5e8da1=program[_0x18690c(0x1e5)](),_0x2552e5=await createTDXInstance(_0x5e8da1),_0x3718bf=await _0x195aeb[_0x18690c(0x2a7)]({'options':{..._0x5e8da1,..._0x216a79},'args':_0x26691b?[_0x26691b]:[],'tdx':_0x2552e5});gracefulExit(_0x3718bf);});const psPzCmd=parentSegmentCmd[a2_0x3f63cf(0x3d5)]('pz')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1d0));psPzCmd[a2_0x3f63cf(0x3d5)]('list\x20[name]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2e0))[a2_0x3f63cf(0x3a4)](async(_0x536e31,_0x32d4df)=>{const _0x15e089=new PSPzListCommand(),_0x293d7e=program['opts'](),_0x130754=await createTDXInstance(_0x293d7e),_0x282e0b=await _0x15e089['run']({'options':{..._0x293d7e,..._0x32d4df},'args':_0x536e31?[_0x536e31]:[],'tdx':_0x130754});gracefulExit(_0x282e0b);}),psPzCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x314))[a2_0x3f63cf(0x31b)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3f63cf(0x3a4)](async(_0xab0c7,_0x528d23)=>{const _0x17470c=a2_0x3f63cf,_0x33384e=new PSPzInitCommand(),_0x13cd7f=program[_0x17470c(0x1e5)](),_0x251df7=await createTDXInstance(_0x13cd7f),_0x59fb65=await _0x33384e['run']({'options':{..._0x13cd7f,..._0x528d23},'args':_0xab0c7?[_0xab0c7]:[],'tdx':_0x251df7});gracefulExit(_0x59fb65);});const parentPzCmd=parentCmd[a2_0x3f63cf(0x3d5)]('pz',{'hidden':!![]})['description'](a2_0x3f63cf(0x1d0));parentPzCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x157))['description']('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3f63cf(0x3a4)](async(_0x1d8b98,_0x472342)=>{const _0xb5d7e1=a2_0x3f63cf,_0x1e5925=new PSPzListCommand(),_0x482c56=program[_0xb5d7e1(0x1e5)](),_0x14cd60=await createTDXInstance(_0x482c56),_0x31fda0=await _0x1e5925[_0xb5d7e1(0x2a7)]({'options':{..._0x482c56,..._0x472342},'args':_0x1d8b98?[_0x1d8b98]:[],'tdx':_0x14cd60});gracefulExit(_0x31fda0);}),parentPzCmd['command'](a2_0x3f63cf(0x314))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x16c))[a2_0x3f63cf(0x3a4)](async(_0x4377c6,_0x23da5d)=>{const _0x2e02d4=a2_0x3f63cf,_0x46fe74=new PSPzInitCommand(),_0x3e1dec=program[_0x2e02d4(0x1e5)](),_0xed9194=await createTDXInstance(_0x3e1dec),_0x1ec613=await _0x46fe74[_0x2e02d4(0x2a7)]({'options':{..._0x3e1dec,..._0x23da5d},'args':_0x4377c6?[_0x4377c6]:[],'tdx':_0xed9194});gracefulExit(_0x1ec613);}),parentCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x16a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x3a1))[a2_0x3f63cf(0x33c)](a2_0x3f63cf(0x219),'Master\x20database\x20name')['requiredOption']('--table\x20<table>','Master\x20table\x20name')['option']('--description\x20<text>',a2_0x3f63cf(0x17a))[a2_0x3f63cf(0x1d7)]('--schedule-type\x20<type>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x222),a2_0x3f63cf(0x3bb))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x28b),a2_0x3f63cf(0x3b6))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2b2),'Attributes\x20as\x20JSON\x20string')['option'](a2_0x3f63cf(0x1a2),a2_0x3f63cf(0x16b))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x369),a2_0x3f63cf(0x280))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x17f),'Behaviors\x20from\x20JSON\x20file')['option'](a2_0x3f63cf(0x151),a2_0x3f63cf(0x218))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x22c),a2_0x3f63cf(0x287))['action'](async(_0x243906,_0x311dbe)=>{const _0x598b5e=a2_0x3f63cf,_0x4d25d6=new ParentSegmentCreateCommand(),_0x457092=program[_0x598b5e(0x1e5)](),_0x586d50=await createTDXInstance(_0x457092),_0x399e35=await _0x4d25d6['run']({'options':{..._0x457092,..._0x311dbe},'args':[_0x243906],'tdx':_0x586d50});gracefulExit(_0x399e35);}),parentCmd['command'](a2_0x3f63cf(0x1dc))['description']('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3c7),a2_0x3f63cf(0x1bc))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x257),a2_0x3f63cf(0x1ec))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x222),a2_0x3f63cf(0x291))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x28b),a2_0x3f63cf(0x2b8))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x14f),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x236),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x3f63cf(0x1d7)]('--add-behaviors\x20<json>',a2_0x3f63cf(0x1f0))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x365),a2_0x3f63cf(0x283))['action'](async(_0x5c4360,_0x32cd87)=>{const _0x3c7523=a2_0x3f63cf,_0x239c9c=new ParentSegmentUpdateCommand(),_0x1fda70=program[_0x3c7523(0x1e5)](),_0xe0259c=await createTDXInstance(_0x1fda70),_0x5a986b=await _0x239c9c[_0x3c7523(0x2a7)]({'options':{..._0x1fda70,..._0x32cd87},'args':[_0x5c4360],'tdx':_0xe0259c});gracefulExit(_0x5a986b);}),folderCmd['command']('create\x20<parent_name>\x20<folder_name>')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x169))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3c7),a2_0x3f63cf(0x3c4))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2d6),a2_0x3f63cf(0x387))[a2_0x3f63cf(0x3a4)](async(_0x2a956b,_0x1e4541,_0xd14272)=>{const _0x369767=a2_0x3f63cf,_0x5425d5=new SegmentFolderCreateCommand(),_0x103693=program['opts'](),_0x48f722=await createTDXInstance(_0x103693),_0x139329=await _0x5425d5[_0x369767(0x2a7)]({'options':{..._0x103693,..._0xd14272},'args':[_0x2a956b,_0x1e4541],'tdx':_0x48f722});gracefulExit(_0x139329);}),program[a2_0x3f63cf(0x3d5)]('activations\x20<segment_name>')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2c8))[a2_0x3f63cf(0x3a4)](async(_0x463d6a,_0x3e4173)=>{const _0x300918=a2_0x3f63cf,_0x24fb24=new ActivationsCommand(),_0x3500a3=program[_0x300918(0x1e5)](),_0x413f2d=await createTDXInstance(_0x3500a3),_0x5033f4=await _0x24fb24[_0x300918(0x2a7)]({'options':{..._0x3500a3,..._0x3e4173},'args':[_0x463d6a],'tdx':_0x413f2d});gracefulExit(_0x5033f4);});const workflowCmd=program[a2_0x3f63cf(0x3d5)]('workflow')[a2_0x3f63cf(0x196)]('wf')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x190)),wfProjectCmd=workflowCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x20a))[a2_0x3f63cf(0x31b)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x5c5733,_0xbd9454)=>{const _0x3298b4=a2_0x3f63cf,_0x2126a4=new WorkflowProjectsCommand(),_0x54959b=program[_0x3298b4(0x1e5)](),_0x1298ed=await createTDXInstance(_0x54959b),_0x14d5b0=await _0x2126a4['run']({'options':{..._0x54959b,..._0xbd9454},'args':_0x5c5733?[_0x5c5733]:[],'tdx':_0x1298ed});gracefulExit(_0x14d5b0);};wfProjectCmd[a2_0x3f63cf(0x3d5)]('list\x20[pattern]')[a2_0x3f63cf(0x31b)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3f63cf(0x3a4)](wfProjectListAction),workflowCmd[a2_0x3f63cf(0x3d5)]('projects\x20[pattern]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x33e))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x4e6680,_0x2fe46e)=>{const _0x61f5b6=a2_0x3f63cf,_0x11856a=new WorkflowWorkflowsCommand(),_0x58fd5b=program[_0x61f5b6(0x1e5)](),_0x16f894=await createTDXInstance(_0x58fd5b),_0x359967=await _0x11856a[_0x61f5b6(0x2a7)]({'options':{..._0x58fd5b,..._0x2fe46e},'args':_0x4e6680?[_0x4e6680]:[],'tdx':_0x16f894});gracefulExit(_0x359967);};workflowCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x383))['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x3f63cf(0x3a4)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x286))[a2_0x3f63cf(0x31b)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x1f4d60,_0x1bf61e)=>{const _0x4f9e3e=a2_0x3f63cf,_0x16698f=new WorkflowSessionsCommand(),_0xd2fbcc=program[_0x4f9e3e(0x1e5)](),_0x3f0934=await createTDXInstance(_0xd2fbcc),_0x35c8c0=await _0x16698f[_0x4f9e3e(0x2a7)]({'options':{..._0xd2fbcc,..._0x1bf61e},'args':_0x1f4d60?[_0x1f4d60]:[],'tdx':_0x3f0934});gracefulExit(_0x35c8c0);};wfSessionCmd[a2_0x3f63cf(0x3d5)]('list\x20[project]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2e8))['option']('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')['option']('--from\x20<timestamp>','Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1af),a2_0x3f63cf(0x1fd))['action'](wfSessionListAction),workflowCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x24c))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x18c))['option'](a2_0x3f63cf(0x33a),a2_0x3f63cf(0x1ce))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x307),a2_0x3f63cf(0x194))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1af),'End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction);const wfAttemptListAction=async(_0x2966f2,_0x5689b2)=>{const _0x1f1451=a2_0x3f63cf,_0x29741a=new WorkflowAttemptsCommand(),_0x4c057d=program[_0x1f1451(0x1e5)](),_0xa2b18a=await createTDXInstance(_0x4c057d),_0x64a867=await _0x29741a[_0x1f1451(0x2a7)]({'options':{..._0x4c057d,..._0x5689b2},'args':_0x2966f2?[_0x2966f2]:[],'tdx':_0xa2b18a});gracefulExit(_0x64a867);},attemptCmd=workflowCmd[a2_0x3f63cf(0x3d5)]('attempt')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1b6))[a2_0x3f63cf(0x392)](a2_0x3f63cf(0x39c),a2_0x3f63cf(0x339))[a2_0x3f63cf(0x392)]('[action]','Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x3f63cf(0x392)](a2_0x3f63cf(0x1a3),a2_0x3f63cf(0x1cd))['option'](a2_0x3f63cf(0x2ff),a2_0x3f63cf(0x234))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x304),a2_0x3f63cf(0x299))['option'](a2_0x3f63cf(0x2a8),a2_0x3f63cf(0x317))[a2_0x3f63cf(0x1d7)]('--params\x20<json>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x235),a2_0x3f63cf(0x1f7))['option'](a2_0x3f63cf(0x300),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x3f63cf(0x3a4)](async(_0x440440,_0x1b9274,_0x2cb5dc,_0x569592)=>{const _0x1886f3=a2_0x3f63cf;if(_0x440440===_0x1886f3(0x363)){await wfAttemptListAction(_0x1b9274,_0x569592);return;}if(!_0x440440){attemptCmd['help']();return;}const _0x27f367=program[_0x1886f3(0x1e5)](),_0xbce728=await createTDXInstance(_0x27f367);let _0x1ad346=0x0;if(!_0x1b9274){const _0xcf44d8=new WorkflowAttemptCommand();_0x1ad346=await _0xcf44d8[_0x1886f3(0x2a7)]({'options':{..._0x27f367,..._0x569592},'args':[_0x440440],'tdx':_0xbce728});}else{if(_0x1b9274===_0x1886f3(0x1b9)){const _0xa198e7=new WorkflowLogsCommand();_0x1ad346=await _0xa198e7[_0x1886f3(0x2a7)]({'options':{..._0x27f367,..._0x569592},'args':_0x2cb5dc?[_0x440440,_0x2cb5dc]:[_0x440440],'tdx':_0xbce728});}else{if(_0x1b9274===_0x1886f3(0x2c4)){const _0x11a02d=new WorkflowTasksCommand();_0x1ad346=await _0x11a02d[_0x1886f3(0x2a7)]({'options':{..._0x27f367,..._0x569592},'args':[_0x440440],'tdx':_0xbce728});}else{if(_0x1b9274==='kill'){const _0x331381=new WorkflowKillCommand();_0x1ad346=await _0x331381[_0x1886f3(0x2a7)]({'options':{..._0x27f367,..._0x569592},'args':[_0x440440],'tdx':_0xbce728});}else{if(_0x1b9274==='retry'){const _0x3b2f32=new WorkflowRetryCommand();_0x1ad346=await _0x3b2f32['run']({'options':{..._0x27f367,..._0x569592},'args':[_0x1886f3(0x1ab)+_0x440440],'tdx':_0xbce728});}else console[_0x1886f3(0x2eb)](_0x1886f3(0x2e9)+_0x1b9274),console[_0x1886f3(0x2eb)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x1ad346=0x1;}}}}gracefulExit(_0x1ad346);});attemptCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x225))['description']('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x300),a2_0x3f63cf(0x1bb))[a2_0x3f63cf(0x3a4)](wfAttemptListAction),workflowCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x3ce))[a2_0x3f63cf(0x31b)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x300),'Include\x20retried\x20attempts')[a2_0x3f63cf(0x3a4)](wfAttemptListAction),workflowCmd[a2_0x3f63cf(0x3d5)]('timeline\x20[project.workflow]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x209))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x159),a2_0x3f63cf(0x3b7))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x28e),a2_0x3f63cf(0x185))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x20d),a2_0x3f63cf(0x396))[a2_0x3f63cf(0x3a4)](async(_0x2530ac,_0x3ef39a)=>{const _0x29f023=new WorkflowTimelineCommand(),_0x186bc7=program['opts'](),_0x2d2315=await createTDXInstance(_0x186bc7),_0x294e88=await _0x29f023['run']({'options':{..._0x186bc7,..._0x3ef39a},'args':_0x2530ac?[_0x2530ac]:[],'tdx':_0x2d2315});gracefulExit(_0x294e88);}),workflowCmd['command']('retry\x20<session-id>')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x270))[a2_0x3f63cf(0x1d7)]('--from-task\x20<task>',a2_0x3f63cf(0x326))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x14e),a2_0x3f63cf(0x29a))[a2_0x3f63cf(0x3a4)](async(_0x268ebf,_0x1470fa)=>{const _0x56f168=a2_0x3f63cf,_0x3a704a=new WorkflowRetryCommand(),_0x80a599=program[_0x56f168(0x1e5)](),_0x2fafce=await createTDXInstance(_0x80a599),_0x397155=await _0x3a704a[_0x56f168(0x2a7)]({'options':{..._0x80a599,..._0x1470fa},'args':[_0x268ebf],'tdx':_0x2fafce});gracefulExit(_0x397155);}),workflowCmd['command'](a2_0x3f63cf(0x372))['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x358),'Workflow\x20parameter\x20(repeatable)',(_0x305dd8,_0x5334b9=[])=>[..._0x5334b9,_0x305dd8],[])[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x324),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x3f63cf(0x3a4)](async(_0x1b75f9,_0x35ba90)=>{const _0x57e57a=a2_0x3f63cf,_0x4e7520=new WorkflowRunCommand(),_0x352bdf=program['opts'](),_0x3d77a8=await createTDXInstance(_0x352bdf),_0x383918=await _0x4e7520[_0x57e57a(0x2a7)]({'options':{..._0x352bdf,..._0x35ba90},'args':_0x1b75f9?[_0x1b75f9]:[],'tdx':_0x3d77a8});gracefulExit(_0x383918);}),workflowCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1b0))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x162))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x29b),a2_0x3f63cf(0x378))['action'](async(_0x4e30e9,_0x47968c,_0x5557de)=>{const _0x212ea1=a2_0x3f63cf,_0x28fe47=new WorkflowDownloadCommand(),_0x35defb=program[_0x212ea1(0x1e5)](),_0x4f7b7b=await createTDXInstance(_0x35defb),_0x11cc24=await _0x28fe47[_0x212ea1(0x2a7)]({'options':{..._0x35defb,..._0x5557de},'args':[_0x4e30e9,_0x47968c||'.'],'tdx':_0x4f7b7b});gracefulExit(_0x11cc24);}),workflowCmd['command']('pull\x20<project>\x20[target-dir]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x268))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x29b),a2_0x3f63cf(0x178))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x34d),a2_0x3f63cf(0x3b3))[a2_0x3f63cf(0x3a4)](async(_0x462403,_0x315835,_0x3f7f02)=>{const _0x1006c5=a2_0x3f63cf,_0x907501=new WorkflowPullCommand(),_0x5f1763=program[_0x1006c5(0x1e5)](),_0x1e00c7=await createTDXInstance(_0x5f1763),_0x337ded=await _0x907501[_0x1006c5(0x2a7)]({'options':{..._0x5f1763,..._0x3f7f02},'args':_0x315835?[_0x462403,_0x315835]:[_0x462403],'tdx':_0x1e00c7});gracefulExit(_0x337ded);}),workflowCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x148))[a2_0x3f63cf(0x31b)]('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')[a2_0x3f63cf(0x1d7)]('--revision\x20<revision>','Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x3f63cf(0x1d7)]('--dry-run',a2_0x3f63cf(0x2c7))['option'](a2_0x3f63cf(0x3d6),'Skip\x20validation\x20of\x20.dig\x20files')['action'](async(_0x2d1b4c,_0x2d3201)=>{const _0x418b2a=a2_0x3f63cf,_0x2835bc=new WorkflowPushCommand(),_0x4d9ece=program[_0x418b2a(0x1e5)](),_0x5cc7df=await createTDXInstance(_0x4d9ece),_0x433d9e=await _0x2835bc[_0x418b2a(0x2a7)]({'options':{..._0x4d9ece,..._0x2d3201},'args':_0x2d1b4c?[_0x2d1b4c]:[],'tdx':_0x5cc7df});gracefulExit(_0x433d9e);}),workflowCmd['command'](a2_0x3f63cf(0x2bc))['description']('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x227),a2_0x3f63cf(0x3c0))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x29b),a2_0x3f63cf(0x3a8))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3d6),'Skip\x20validation\x20of\x20.dig\x20files')['action'](async(_0xf6b811,_0x2200e0)=>{const _0x4fd3a4=a2_0x3f63cf,_0x3fb550=new WorkflowUploadCommand(),_0x4515c3=program[_0x4fd3a4(0x1e5)](),_0x558bd3=await createTDXInstance(_0x4515c3),_0x33b8b9=await _0x3fb550[_0x4fd3a4(0x2a7)]({'options':{..._0x4515c3,..._0x2200e0},'args':_0xf6b811?[_0xf6b811]:[],'tdx':_0x558bd3});gracefulExit(_0x33b8b9);}),workflowCmd[a2_0x3f63cf(0x3d5)]('clone\x20[source-dir]')[a2_0x3f63cf(0x31b)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x227),'Name\x20for\x20the\x20new\x20project\x20(required)')['option'](a2_0x3f63cf(0x29b),a2_0x3f63cf(0x38f))[a2_0x3f63cf(0x1d7)]('--dry-run',a2_0x3f63cf(0x2f5))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3d6),a2_0x3f63cf(0x2da))[a2_0x3f63cf(0x3a4)](async(_0x3407fe,_0x19d697)=>{const _0x15010c=a2_0x3f63cf,_0x5368d9=new WorkflowCloneCommand(),_0xe7a4ce=program[_0x15010c(0x1e5)](),_0x1c69bb=await createTDXInstance(_0xe7a4ce),_0x87b394=await _0x5368d9[_0x15010c(0x2a7)]({'options':{..._0xe7a4ce,..._0x19d697},'args':_0x3407fe?[_0x3407fe]:[],'tdx':_0x1c69bb});gracefulExit(_0x87b394);}),workflowCmd[a2_0x3f63cf(0x3d5)]('delete\x20<project-name-or-id>')[a2_0x3f63cf(0x31b)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x3f63cf(0x3a4)](async(_0x36913e,_0x32ba7a)=>{const _0x589d27=a2_0x3f63cf,_0x1dabf3=new WorkflowDeleteCommand(),_0x2aec35=program[_0x589d27(0x1e5)](),_0x1925f1=await createTDXInstance(_0x2aec35),_0x45b18c=await _0x1dabf3['run']({'options':{..._0x2aec35,..._0x32ba7a},'args':[_0x36913e],'tdx':_0x1925f1});gracefulExit(_0x45b18c);}),workflowCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x3a0))['description']('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x31a),a2_0x3f63cf(0x1ae))['action'](async(_0x3c6257,_0x238960)=>{const _0x25e82f=a2_0x3f63cf,_0x7203c1=new WorkflowUseCommand(),_0x38207d=program['opts'](),_0x2dd8c4=await createTDXInstance(_0x38207d),_0xf39bf8=await _0x7203c1[_0x25e82f(0x2a7)]({'options':{..._0x38207d,..._0x238960},'args':_0x3c6257?[_0x3c6257]:[],'tdx':_0x2dd8c4});gracefulExit(_0xf39bf8);});const wfSecretsCmd=workflowCmd[a2_0x3f63cf(0x3d5)]('secrets')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x19d));wfSecretsCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x225))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x319))[a2_0x3f63cf(0x3a4)](async(_0x41d3be,_0x189747)=>{const _0x5d3a68=a2_0x3f63cf,_0x30177d=new WorkflowSecretsListCommand(),_0x3e8159=program[_0x5d3a68(0x1e5)](),_0x3636f0=await createTDXInstance(_0x3e8159),_0x495201=await _0x30177d[_0x5d3a68(0x2a7)]({'options':{..._0x3e8159,..._0x189747},'args':_0x41d3be?[_0x41d3be]:[],'tdx':_0x3636f0});gracefulExit(_0x495201);}),wfSecretsCmd['command'](a2_0x3f63cf(0x180))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x385))[a2_0x3f63cf(0x3a4)](async(_0x164abb,_0x19b70c)=>{const _0xc8d599=a2_0x3f63cf,_0x24a342=new WorkflowSecretsSetCommand(),_0x15ccaa=program[_0xc8d599(0x1e5)](),_0x805d7c=await createTDXInstance(_0x15ccaa),_0x3a0a68=await _0x24a342[_0xc8d599(0x2a7)]({'options':{..._0x15ccaa,..._0x19b70c},'args':_0x164abb,'tdx':_0x805d7c});gracefulExit(_0x3a0a68);}),wfSecretsCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x38a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x224))[a2_0x3f63cf(0x3a4)](async(_0x2b7cf1,_0x4bbca9)=>{const _0x4c26f6=a2_0x3f63cf,_0x596167=new WorkflowSecretsDeleteCommand(),_0x43029e=program[_0x4c26f6(0x1e5)](),_0x3f39f4=await createTDXInstance(_0x43029e),_0x2ed240=await _0x596167[_0x4c26f6(0x2a7)]({'options':{..._0x43029e,..._0x4bbca9},'args':_0x2b7cf1,'tdx':_0x3f39f4});gracefulExit(_0x2ed240);});const jobCmd=program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x216))[a2_0x3f63cf(0x31b)]('Job\x20management\x20commands'),jobListAction=async _0x35dcf=>{const _0x223e8c=a2_0x3f63cf,_0x3b5bed=new JobListCommand(),_0x2aef8c=program[_0x223e8c(0x1e5)](),_0x4099cf=await createTDXInstance(_0x2aef8c),_0x240e76=await _0x3b5bed['run']({'options':{..._0x2aef8c,..._0x35dcf},'args':[],'tdx':_0x4099cf});gracefulExit(_0x240e76);};jobCmd[a2_0x3f63cf(0x3d5)]('list')['description'](a2_0x3f63cf(0x1ee))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x33a),a2_0x3f63cf(0x247))['action'](jobListAction),program[a2_0x3f63cf(0x3d5)]('jobs',{'hidden':!![]})[a2_0x3f63cf(0x31b)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')['option'](a2_0x3f63cf(0x33a),a2_0x3f63cf(0x247))[a2_0x3f63cf(0x3a4)](jobListAction),jobCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2cd))[a2_0x3f63cf(0x31b)]('Show\x20job\x20details')[a2_0x3f63cf(0x3a4)](async(_0x2c4d9c,_0x2e3b1e)=>{const _0x29c3b9=a2_0x3f63cf,_0x268c39=new JobShowCommand(),_0x5a29b0=program[_0x29c3b9(0x1e5)](),_0x5cd679=await createTDXInstance(_0x5a29b0),_0x1e5959=await _0x268c39[_0x29c3b9(0x2a7)]({'options':{..._0x5a29b0,..._0x2e3b1e},'args':[_0x2c4d9c],'tdx':_0x5cd679});gracefulExit(_0x1e5959);}),jobCmd['command'](a2_0x3f63cf(0x2fb))[a2_0x3f63cf(0x31b)]('Kill\x20a\x20job')['action'](async(_0x25c09c,_0x3ae895)=>{const _0x30d0c1=a2_0x3f63cf,_0x408d3c=new JobKillCommand(),_0x390c92=program[_0x30d0c1(0x1e5)](),_0x5b04b8=await createTDXInstance(_0x390c92),_0x330ede=await _0x408d3c['run']({'options':{..._0x390c92,..._0x3ae895},'args':[_0x25c09c],'tdx':_0x5b04b8});gracefulExit(_0x330ede);}),jobCmd[a2_0x3f63cf(0x3d5)]('submit\x20[query]')['description'](a2_0x3f63cf(0x14c))[a2_0x3f63cf(0x1d7)]('--job-type\x20<type>',a2_0x3f63cf(0x3ba),'trino')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x325),a2_0x3f63cf(0x360))['option'](a2_0x3f63cf(0x145),a2_0x3f63cf(0x1a5),'information_schema')[a2_0x3f63cf(0x1d7)]('--result\x20<target>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)')[a2_0x3f63cf(0x3a4)](async(_0x334404,_0x189a41)=>{const _0xac69ce=a2_0x3f63cf,_0x33d7f6=new JobSubmitCommand(),_0x5ec487=program['opts'](),_0x234eb5=await createTDXInstance(_0x5ec487),_0x323e2c=await _0x33d7f6[_0xac69ce(0x2a7)]({'options':{..._0x5ec487,..._0x189a41},'args':_0x334404?[_0x334404]:[],'tdx':_0x234eb5});gracefulExit(_0x323e2c);}),jobCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x254))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x28f))[a2_0x3f63cf(0x3a4)](async(_0x392c54,_0x936a64)=>{const _0xea2ec3=a2_0x3f63cf,_0x1b0585=new JobResultCommand(),_0x3ef359=program[_0xea2ec3(0x1e5)](),_0x4ce3f8=await createTDXInstance(_0x3ef359),_0x5ba0a4=await _0x1b0585[_0xea2ec3(0x2a7)]({'options':{..._0x3ef359,..._0x936a64},'args':[_0x392c54],'tdx':_0x4ce3f8});gracefulExit(_0x5ba0a4);});const scheduleCmd=jobCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x269))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1d9));scheduleCmd[a2_0x3f63cf(0x3d5)]('list\x20[pattern]')['description'](a2_0x3f63cf(0x37c))['action'](async(_0x3993d8,_0x49cf2c)=>{const _0x1779e4=a2_0x3f63cf,_0x5aa700=new ScheduleListCommand(),_0x2a3449=program[_0x1779e4(0x1e5)](),_0x25a353=await createTDXInstance(_0x2a3449),_0x110693=await _0x5aa700['run']({'options':{..._0x2a3449,..._0x49cf2c},'args':_0x3993d8?[_0x3993d8]:[],'tdx':_0x25a353});gracefulExit(_0x110693);}),scheduleCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x303))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x36f))['action'](async(_0x272f3a,_0x169723)=>{const _0x194f6b=a2_0x3f63cf,_0x4b0276=new ScheduleShowCommand(),_0x1ca9c1=program['opts'](),_0x1a42d2=await createTDXInstance(_0x1ca9c1),_0x3be1d8=await _0x4b0276[_0x194f6b(0x2a7)]({'options':{..._0x1ca9c1,..._0x169723},'args':[_0x272f3a],'tdx':_0x1a42d2});gracefulExit(_0x3be1d8);}),scheduleCmd['command'](a2_0x3f63cf(0x16a))[a2_0x3f63cf(0x31b)]('Create\x20a\x20scheduled\x20query')[a2_0x3f63cf(0x1d7)]('-d,\x20--database\x20<db>',a2_0x3f63cf(0x261))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2c3),a2_0x3f63cf(0x262))[a2_0x3f63cf(0x33c)]('-f,\x20--file\x20<path>',a2_0x3f63cf(0x360))[a2_0x3f63cf(0x1d7)]('--type\x20<type>',a2_0x3f63cf(0x323),a2_0x3f63cf(0x1a6))['option'](a2_0x3f63cf(0x156),a2_0x3f63cf(0x352))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x28b),a2_0x3f63cf(0x32f))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x39a),a2_0x3f63cf(0x2d0))[a2_0x3f63cf(0x1d7)]('--priority\x20<-2~2>',a2_0x3f63cf(0x184))[a2_0x3f63cf(0x1d7)]('--retry-limit\x20<0~32>',a2_0x3f63cf(0x1c0))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x217),a2_0x3f63cf(0x1c1))[a2_0x3f63cf(0x1d7)]('--result\x20<url>',a2_0x3f63cf(0x32b))[a2_0x3f63cf(0x3a4)](async(_0x5e2c30,_0x26d6fd)=>{const _0x3e826c=a2_0x3f63cf,_0x59ce7b=new ScheduleCreateCommand(),_0x530f43=program[_0x3e826c(0x1e5)](),_0x29022e=await createTDXInstance(_0x530f43);_0x26d6fd['in']&&(_0x26d6fd['database']=_0x26d6fd['in']);const _0x4cb785=await _0x59ce7b['run']({'options':{..._0x530f43,..._0x26d6fd},'args':[_0x5e2c30],'tdx':_0x29022e});gracefulExit(_0x4cb785);}),scheduleCmd[a2_0x3f63cf(0x3d5)]('update\x20<name>')['description']('Update\x20a\x20scheduled\x20query')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x318),'Database\x20name')[a2_0x3f63cf(0x1d7)]('--in\x20<db>',a2_0x3f63cf(0x262))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x325),a2_0x3f63cf(0x360))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x309),a2_0x3f63cf(0x323))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x156),a2_0x3f63cf(0x352))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x28b),a2_0x3f63cf(0x25d))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x39a),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1eb),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x313),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x3f63cf(0x1d7)]('--engine-version\x20<version>',a2_0x3f63cf(0x1c1))['option']('--result\x20<url>',a2_0x3f63cf(0x32b))['action'](async(_0x557c48,_0x2b18fc)=>{const _0x3b6dfa=a2_0x3f63cf,_0xd7193d=new ScheduleUpdateCommand(),_0x2bc49d=program[_0x3b6dfa(0x1e5)](),_0x380939=await createTDXInstance(_0x2bc49d);_0x2b18fc['in']&&(_0x2b18fc[_0x3b6dfa(0x163)]=_0x2b18fc['in']);const _0x524967=await _0xd7193d[_0x3b6dfa(0x2a7)]({'options':{..._0x2bc49d,..._0x2b18fc},'args':[_0x557c48],'tdx':_0x380939});gracefulExit(_0x524967);}),scheduleCmd['command'](a2_0x3f63cf(0x3b5))[a2_0x3f63cf(0x31b)]('Delete\x20a\x20scheduled\x20query')['action'](async(_0xd04905,_0x3bbb6b)=>{const _0x2eede8=a2_0x3f63cf,_0x28b76b=new ScheduleDeleteCommand(),_0x4bf9f6=program[_0x2eede8(0x1e5)](),_0x467ed8=await createTDXInstance(_0x4bf9f6),_0xad8fce=await _0x28b76b[_0x2eede8(0x2a7)]({'options':{..._0x4bf9f6,..._0x3bbb6b},'args':[_0xd04905],'tdx':_0x467ed8});gracefulExit(_0xad8fce);}),scheduleCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x210))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1e7))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x342),a2_0x3f63cf(0x32e))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x386),a2_0x3f63cf(0x189))[a2_0x3f63cf(0x3a4)](async(_0x462ba5,_0x123b56)=>{const _0x1f670c=a2_0x3f63cf,_0x23ca61=new ScheduleRunCommand(),_0x113d19=program[_0x1f670c(0x1e5)](),_0x557551=await createTDXInstance(_0x113d19),_0x9144f6=await _0x23ca61[_0x1f670c(0x2a7)]({'options':{..._0x113d19,..._0x123b56},'args':[_0x462ba5],'tdx':_0x557551});gracefulExit(_0x9144f6);}),scheduleCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x161))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x260))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x28d),'Starting\x20offset\x20(default:\x200)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2a6),a2_0x3f63cf(0x1e9))['action'](async(_0x4a8c7b,_0x4beb15)=>{const _0x4e0436=a2_0x3f63cf,_0x30b031=new ScheduleHistoryCommand(),_0x5d119c=program[_0x4e0436(0x1e5)](),_0x2374c5=await createTDXInstance(_0x5d119c),_0x3f1365=await _0x30b031[_0x4e0436(0x2a7)]({'options':{..._0x5d119c,..._0x4beb15},'args':[_0x4a8c7b],'tdx':_0x2374c5});gracefulExit(_0x3f1365);});const llmCmd=program[a2_0x3f63cf(0x3d5)]('llm')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x271));llmCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x32a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x223))[a2_0x3f63cf(0x3a4)](async(_0x5efdbe,_0x2f54ef)=>{const _0x3e2b4b=a2_0x3f63cf,_0x1efbac=new LLMUseCommand(),_0x53e812=program[_0x3e2b4b(0x1e5)](),_0x173175=await createTDXInstance(_0x53e812),_0x959327=await _0x1efbac[_0x3e2b4b(0x2a7)]({'options':{..._0x53e812,..._0x2f54ef},'args':[_0x5efdbe],'tdx':_0x173175});gracefulExit(_0x959327);}),llmCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x34a))['description']('List\x20available\x20LLM\x20models')[a2_0x3f63cf(0x3a4)](async _0x48fa2a=>{const _0x2a97dc=a2_0x3f63cf,_0x4dfc87=new LLMModelsCommand(),_0x50e2e7=program[_0x2a97dc(0x1e5)](),_0x2a11ed=await createTDXInstance(_0x50e2e7),_0x15d5e5=await _0x4dfc87[_0x2a97dc(0x2a7)]({'options':{..._0x50e2e7,..._0x48fa2a},'args':[],'tdx':_0x2a11ed});gracefulExit(_0x15d5e5);});const projectCmd=llmCmd['command'](a2_0x3f63cf(0x20a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x312)),llmProjectListAction=async(_0x207633,_0x2311f7)=>{const _0xaaf40c=new LLMProjectsCommand(),_0x4eb8e2=program['opts'](),_0x2c9d1b=await createTDXInstance(_0x4eb8e2),_0x5dcd42=await _0xaaf40c['run']({'options':{..._0x4eb8e2,..._0x2311f7},'args':_0x207633?[_0x207633]:[],'tdx':_0x2c9d1b});gracefulExit(_0x5dcd42);};projectCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x364))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2a2))[a2_0x3f63cf(0x3a4)](llmProjectListAction),llmCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x33f))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x253))[a2_0x3f63cf(0x3a4)](llmProjectListAction),projectCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x16a))['description']('Create\x20a\x20new\x20LLM\x20project')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3c7),a2_0x3f63cf(0x3b2))[a2_0x3f63cf(0x3a4)](async(_0x4822e8,_0x32cadb)=>{const _0x1ab9e0=a2_0x3f63cf,_0x2585b4=new LLMProjectCreateCommand(),_0x50612f=program[_0x1ab9e0(0x1e5)](),_0x14ba73=await createTDXInstance(_0x50612f),_0x27b639=await _0x2585b4['run']({'options':{..._0x50612f,..._0x32cadb},'args':[_0x4822e8],'tdx':_0x14ba73});gracefulExit(_0x27b639);}),projectCmd['command'](a2_0x3f63cf(0x3b5))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x226))[a2_0x3f63cf(0x3a4)](async(_0x3212ce,_0x413064)=>{const _0xe42e00=a2_0x3f63cf,_0x405151=new LLMProjectDeleteCommand(),_0x546b91=program[_0xe42e00(0x1e5)](),_0xa02cfc=await createTDXInstance(_0x546b91),_0x4fa221=await _0x405151[_0xe42e00(0x2a7)]({'options':{..._0x546b91,..._0x413064},'args':[_0x3212ce],'tdx':_0xa02cfc});gracefulExit(_0x4fa221);}),projectCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x344))['description'](a2_0x3f63cf(0x3b4))['option'](a2_0x3f63cf(0x23c),a2_0x3f63cf(0x165))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x34d),a2_0x3f63cf(0x2ea))[a2_0x3f63cf(0x3a4)](async(_0x30a0b5,_0x1075c4)=>{const _0x374c66=a2_0x3f63cf,_0xf238a6=new LLMProjectBackupCommand(),_0x3dab33=program[_0x374c66(0x1e5)](),_0x4f720c=await createTDXInstance(_0x3dab33),_0x2e01df=await _0xf238a6[_0x374c66(0x2a7)]({'options':{..._0x3dab33,..._0x1075c4},'args':[_0x30a0b5],'tdx':_0x4f720c});gracefulExit(_0x2e01df);}),projectCmd['command'](a2_0x3f63cf(0x284))[a2_0x3f63cf(0x31b)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x3f63cf(0x1d7)]('--name\x20<new-name>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x34d),a2_0x3f63cf(0x14d))[a2_0x3f63cf(0x3a4)](async(_0x4e8419,_0x2d77b5)=>{const _0x4b5b27=a2_0x3f63cf,_0x229df8=new LLMProjectRestoreCommand(),_0x311c0a=program[_0x4b5b27(0x1e5)](),_0x30cac8=await createTDXInstance(_0x311c0a),_0x1e2e51=await _0x229df8[_0x4b5b27(0x2a7)]({'options':{..._0x311c0a,..._0x2d77b5},'args':[_0x4e8419],'tdx':_0x30cac8});gracefulExit(_0x1e2e51);});const llmAgentListAction=async(_0x445ca7,_0x4ac970)=>{const _0x1dcdc1=a2_0x3f63cf,_0x4c7e8a=new LLMAgentsCommand(),_0x390e5d=program['opts'](),_0x548c15=await createTDXInstance(_0x390e5d),_0x31fbda=await _0x4c7e8a[_0x1dcdc1(0x2a7)]({'options':{..._0x390e5d,..._0x4ac970},'args':_0x445ca7?[_0x445ca7]:[],'tdx':_0x548c15});gracefulExit(_0x31fbda);};llmCmd['command']('agents\x20[pattern]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x150))[a2_0x3f63cf(0x3a4)](llmAgentListAction),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2b9))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x150))[a2_0x3f63cf(0x3a4)](llmAgentListAction),llmCmd[a2_0x3f63cf(0x3d5)]('history\x20[chat-id]')[a2_0x3f63cf(0x31b)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x206),a2_0x3f63cf(0x278))[a2_0x3f63cf(0x3a4)](async(_0x307756,_0xcfcca3)=>{const _0x2428da=a2_0x3f63cf,_0x4aaab5=new LLMHistoryCommand(),_0x1b0490=program['opts'](),_0x58ba59=await createTDXInstance(_0x1b0490),_0xb79f6e=await _0x4aaab5[_0x2428da(0x2a7)]({'options':{..._0x1b0490,..._0xcfcca3},'args':_0x307756?[_0x307756]:[],'tdx':_0x58ba59});gracefulExit(_0xb79f6e);});isExperimentalAvailable()&&llmCmd[a2_0x3f63cf(0x3d5)]('log\x20<chat-id>')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2ed))[a2_0x3f63cf(0x3a4)](async(_0x13b967,_0x37c5a3)=>{const _0x44fded=a2_0x3f63cf,_0x2abefb=new LLMLogCommand(),_0x296527=program[_0x44fded(0x1e5)](),_0x4ffad0=await createTDXInstance(_0x296527),_0x11dad7=await _0x2abefb[_0x44fded(0x2a7)]({'options':{..._0x296527,..._0x37c5a3},'args':[_0x13b967],'tdx':_0x4ffad0});gracefulExit(_0x11dad7);});program['command']('claude\x20[args...]')[a2_0x3f63cf(0x2c6)](a2_0x3f63cf(0x203))[a2_0x3f63cf(0x31b)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1e1),a2_0x3f63cf(0x39b))['option'](a2_0x3f63cf(0x183),a2_0x3f63cf(0x25c))['option']('--no-proxy',a2_0x3f63cf(0x2e5))['allowUnknownOption']()[a2_0x3f63cf(0x1c2)](!![])[a2_0x3f63cf(0x26d)](a2_0x3f63cf(0x26f),'\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON')[a2_0x3f63cf(0x3a4)](async(_0x134e10,_0x36cae5)=>{const _0x2cc2a9=a2_0x3f63cf,_0x580b15=program[_0x2cc2a9(0x1e5)](),_0x25ecdb=Array[_0x2cc2a9(0x294)](_0x134e10)?_0x134e10:[];if(_0x25ecdb[0x0]===_0x2cc2a9(0x1cf)){const _0x5d358c=new ClaudeStatuslineCommand(),_0x566d10=await _0x5d358c[_0x2cc2a9(0x2a7)]({'options':{..._0x580b15,..._0x36cae5},'args':_0x25ecdb[_0x2cc2a9(0x188)](0x1),'tdx':null});gracefulExit(_0x566d10);}if(_0x25ecdb[0x0]===_0x2cc2a9(0x2c6)){const _0x46eeda=new ClaudeUsageCommand(),_0x300eed=await _0x46eeda['run']({'options':{..._0x580b15,..._0x36cae5},'args':_0x25ecdb[_0x2cc2a9(0x188)](0x1),'tdx':null});gracefulExit(_0x300eed);}const _0x9e706=new ClaudeCommand(),_0x2f2ad9=await createTDXInstance(_0x580b15),_0x58aef2=await _0x9e706[_0x2cc2a9(0x2a7)]({'options':{..._0x580b15,..._0x36cae5},'args':_0x25ecdb,'tdx':_0x2f2ad9});gracefulExit(_0x58aef2);}),program[a2_0x3f63cf(0x3d5)]('use\x20[resource]\x20[value]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x39e))['option'](a2_0x3f63cf(0x31a),a2_0x3f63cf(0x1a9))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x26e),a2_0x3f63cf(0x265))[a2_0x3f63cf(0x3a4)](async(_0x76d59,_0x5cf79d,_0x392915)=>{const _0x17844d=a2_0x3f63cf,_0x136983=new UseCommand(),_0x502a2b=program['opts'](),_0x4a1b01=[];if(_0x76d59)_0x4a1b01['push'](_0x76d59);if(_0x5cf79d)_0x4a1b01[_0x17844d(0x231)](_0x5cf79d);const _0x3cd6f8=_0x76d59===_0x17844d(0x192),_0x317bcc=_0x3cd6f8?await createTDXInstance(_0x502a2b):null,_0x53d795=await _0x136983['run']({'options':{..._0x502a2b,..._0x392915},'args':_0x4a1b01,'tdx':_0x317bcc});gracefulExit(_0x53d795);}),program[a2_0x3f63cf(0x3d5)]('status')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x380))[a2_0x3f63cf(0x3a4)](async _0x5cd171=>{const _0x2224cd=a2_0x3f63cf,_0x4cb1b6=new StatusCommand(),_0x42ef3e=program[_0x2224cd(0x1e5)](),_0x1ac18d=await createTDXInstance(_0x42ef3e),_0x379e4d=await _0x4cb1b6[_0x2224cd(0x2a7)]({'options':{..._0x42ef3e,..._0x5cd171},'args':[],'tdx':_0x1ac18d});gracefulExit(_0x379e4d);}),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x13a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2f6))[a2_0x3f63cf(0x1d7)]('--dry-run',a2_0x3f63cf(0x38d))[a2_0x3f63cf(0x1d7)]('--next',a2_0x3f63cf(0x248))[a2_0x3f63cf(0x1d7)]('--method\x20<pm>',a2_0x3f63cf(0x2ad))['action'](async(_0x4a7863,_0x5708a9)=>{const _0xd5728b=a2_0x3f63cf,_0x5e880e=new UpgradeCommand(),_0x452044=program[_0xd5728b(0x1e5)](),_0x5b8330=await _0x5e880e[_0xd5728b(0x2a7)]({'options':{..._0x452044,..._0x5708a9},'args':_0x4a7863?[_0x4a7863]:[],'tdx':null});gracefulExit(_0x5b8330);}),program['command']('unset\x20<resource>')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1bd))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x26e),a2_0x3f63cf(0x301))[a2_0x3f63cf(0x3a4)](async(_0x1bf058,_0x41ca74)=>{const _0x2da52a=a2_0x3f63cf,_0x1edaea=new UnsetCommand(),_0x41cb22=program[_0x2da52a(0x1e5)](),_0x13baff=await _0x1edaea[_0x2da52a(0x2a7)]({'options':{..._0x41cb22,..._0x41ca74},'args':[_0x1bf058],'tdx':null});gracefulExit(_0x13baff);}),program[a2_0x3f63cf(0x3d5)]('chats')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x24e))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x206),'Show\x20the\x20most\x20recent\x20chat')[a2_0x3f63cf(0x3a4)](async _0x575646=>{const _0x20f18d=new ChatsCommand(),_0x350ec0=program['opts'](),_0x1cc284=await createTDXInstance(_0x350ec0),_0x21a8a9=await _0x20f18d['run']({'options':{..._0x350ec0,..._0x575646},'args':[],'tdx':_0x1cc284});gracefulExit(_0x21a8a9);});const authCmd=program['command']('auth')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x158));async function runAuthStatusCommand(_0x114a9d){const _0x102ca3=a2_0x3f63cf,_0x2590a4=new AuthStatusCommand(),_0x472827=program[_0x102ca3(0x1e5)](),_0x43b535=await createTDXInstance(_0x472827),_0x4f349b=await _0x2590a4['run']({'options':{..._0x472827,..._0x114a9d},'args':[],'tdx':_0x43b535});gracefulExit(_0x4f349b);}authCmd[a2_0x3f63cf(0x3a4)](runAuthStatusCommand),authCmd['command'](a2_0x3f63cf(0x2c9))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x179))['action'](runAuthStatusCommand),authCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x13c))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2dc))[a2_0x3f63cf(0x26d)](a2_0x3f63cf(0x26f),a2_0x3f63cf(0x173))[a2_0x3f63cf(0x3a4)](async _0x53ac5d=>{const _0x3120bd=a2_0x3f63cf,_0x5145c5=new AuthSetupCommand(),_0x4b16bb=program['opts'](),_0x5aed40=await createTDXInstance(_0x4b16bb),_0x1c9fff=await _0x5145c5[_0x3120bd(0x2a7)]({'options':{..._0x4b16bb,..._0x53ac5d},'args':[],'tdx':_0x5aed40});gracefulExit(_0x1c9fff);}),authCmd['command'](a2_0x3f63cf(0x252))['description'](a2_0x3f63cf(0x30c))[a2_0x3f63cf(0x26d)](a2_0x3f63cf(0x26f),a2_0x3f63cf(0x25a))[a2_0x3f63cf(0x3a4)](async _0x526331=>{const _0x2fd357=a2_0x3f63cf,_0x3cf74c=new AuthClearCommand(),_0x4f2e13=program['opts'](),_0x19a83b=await _0x3cf74c[_0x2fd357(0x2a7)]({'options':{..._0x4f2e13,..._0x526331},'args':[],'tdx':null});gracefulExit(_0x19a83b);});const userCmd=program[a2_0x3f63cf(0x3d5)]('user')[a2_0x3f63cf(0x31b)]('User\x20management\x20commands'),userListAction=async _0x41afaa=>{const _0x5520af=a2_0x3f63cf,_0xab56bd=new UserListCommand(),_0x27111f=program[_0x5520af(0x1e5)](),_0x546155=await createTDXInstance(_0x27111f),_0x3ab237=await _0xab56bd[_0x5520af(0x2a7)]({'options':{..._0x27111f,..._0x41afaa},'args':[],'tdx':_0x546155});gracefulExit(_0x3ab237);};userCmd[a2_0x3f63cf(0x3a4)](async _0x26f379=>{const _0xc2f4eb=a2_0x3f63cf,_0x6cf3c3=new UserCommand(),_0x3aa5b5=program[_0xc2f4eb(0x1e5)](),_0x4d1b6f=await createTDXInstance(_0x3aa5b5),_0x3ac79c=await _0x6cf3c3[_0xc2f4eb(0x2a7)]({'options':{..._0x3aa5b5,..._0x26f379},'args':[],'tdx':_0x4d1b6f});gracefulExit(_0x3ac79c);}),userCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x363))['description']('List\x20all\x20users\x20in\x20the\x20account')['action'](userListAction),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1d3))[a2_0x3f63cf(0x31b)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x3f63cf(0x3a4)](userListAction),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2e3))['description'](a2_0x3f63cf(0x2c2))[a2_0x3f63cf(0x3a4)](async _0x57b09b=>{const _0x6e206c=a2_0x3f63cf,_0x247b2d=new ProfilesCommand(),_0x357ab0=program[_0x6e206c(0x1e5)](),_0x478db1=await _0x247b2d[_0x6e206c(0x2a7)]({'options':{..._0x357ab0,..._0x57b09b},'args':[],'tdx':null});gracefulExit(_0x478db1);});const profileCmd=program[a2_0x3f63cf(0x3d5)]('profile')[a2_0x3f63cf(0x31b)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x3f63cf(0x3a4)](()=>{const _0x3bc776=a2_0x3f63cf;profileCmd[_0x3bc776(0x1f3)]();});const profileListAction=async _0x2afc1b=>{const _0x2863ef=a2_0x3f63cf,_0x2b18be=new ProfilesCommand(),_0x234357=program[_0x2863ef(0x1e5)](),_0x3cca4f=await _0x2b18be['run']({'options':{..._0x234357,..._0x2afc1b},'args':[],'tdx':null});gracefulExit(_0x3cca4f);};profileCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x363))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2c2))[a2_0x3f63cf(0x3a4)](profileListAction),profileCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2d8))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x322))[a2_0x3f63cf(0x26d)](a2_0x3f63cf(0x26f),a2_0x3f63cf(0x35c))[a2_0x3f63cf(0x3a4)](async(_0x3a8cef,_0x2c647e)=>{const _0x5629b1=a2_0x3f63cf,_0xa40d0e=new ProfileCreateCommand(),_0xf197d6=program[_0x5629b1(0x1e5)](),_0x1b0553=await _0xa40d0e[_0x5629b1(0x2a7)]({'options':{..._0xf197d6,..._0x2c647e},'args':_0x3a8cef?[_0x3a8cef]:[],'tdx':null});gracefulExit(_0x1b0553);}),profileCmd['command'](a2_0x3f63cf(0x3b9))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1ff))['addHelpText'](a2_0x3f63cf(0x26f),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x3f63cf(0x3a4)](async(_0x105bde,_0x3a1680)=>{const _0x136f58=a2_0x3f63cf,_0x33fd9b=new ProfileRemoveCommand(),_0x244f2d=program[_0x136f58(0x1e5)](),_0x436157=await _0x33fd9b[_0x136f58(0x2a7)]({'options':{..._0x244f2d,..._0x3a1680},'args':[_0x105bde],'tdx':null});gracefulExit(_0x436157);}),profileCmd['command']('set\x20<key=value>')['description'](a2_0x3f63cf(0x3b8))['addHelpText'](a2_0x3f63cf(0x26f),a2_0x3f63cf(0x295))['action'](async(_0x19807a,_0x103967)=>{const _0x482a8d=a2_0x3f63cf,_0x5dbef8=new ProfileSetCommand(),_0x12fab6=program[_0x482a8d(0x1e5)](),_0x3e6121=await _0x5dbef8[_0x482a8d(0x2a7)]({'options':{..._0x12fab6,..._0x103967},'args':[_0x19807a],'tdx':null});gracefulExit(_0x3e6121);}),profileCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x333))[a2_0x3f63cf(0x31b)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')['option'](a2_0x3f63cf(0x26e),a2_0x3f63cf(0x265))['addHelpText']('after',a2_0x3f63cf(0x30d))[a2_0x3f63cf(0x3a4)](async(_0x1a77b5,_0x58ee2e)=>{const _0x2f89ae=a2_0x3f63cf,_0x17696d=new ProfileUseCommand(),_0x508180=program[_0x2f89ae(0x1e5)](),_0x315cb9=await _0x17696d[_0x2f89ae(0x2a7)]({'options':{..._0x508180,..._0x58ee2e},'args':[_0x1a77b5],'tdx':null});gracefulExit(_0x315cb9);});const engageCmd=program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x244))['description']('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x3b210a=>{return async(_0xaad6d0,_0x520c14)=>{const _0x5d8356=a2_0x3155,_0x1ac223=new _0x3b210a(),_0x1640a9=program[_0x5d8356(0x1e5)](),_0x5b1feb=await createTDXInstance(_0x1640a9),_0x2dd5c0=await _0x1ac223['run']({'options':{..._0x1640a9,..._0x520c14},'args':[_0xaad6d0],'tdx':_0x5b1feb});gracefulExit(_0x2dd5c0);};},createEngageNoArgAction=_0x33ebf5=>{return async _0x3b39cd=>{const _0x38b430=a2_0x3155,_0x42db69=new _0x33ebf5(),_0x17686e=program[_0x38b430(0x1e5)](),_0x26310c=await createTDXInstance(_0x17686e),_0x58ca73=await _0x42db69[_0x38b430(0x2a7)]({'options':{..._0x17686e,..._0x3b39cd},'args':[],'tdx':_0x26310c});gracefulExit(_0x58ca73);};},createEngageListAction=_0x4ebd48=>{return async(_0x145d16,_0x5cd5fb)=>{const _0x4961f0=a2_0x3155,_0x2518f4=new _0x4ebd48(),_0x271960=program[_0x4961f0(0x1e5)](),_0x9e7cd4=await createTDXInstance(_0x271960),_0x29270c=await _0x2518f4[_0x4961f0(0x2a7)]({'options':{..._0x271960,..._0x5cd5fb},'args':_0x145d16?[_0x145d16]:[],'tdx':_0x9e7cd4});gracefulExit(_0x29270c);};},campaignCmd=engageCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1fa))[a2_0x3f63cf(0x31b)]('Campaign\x20management');campaignCmd[a2_0x3f63cf(0x3d5)]('list\x20[pattern]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1ba))['option'](a2_0x3f63cf(0x309),a2_0x3f63cf(0x297))[a2_0x3f63cf(0x1d7)]('--status\x20<status>',a2_0x3f63cf(0x187))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))[a2_0x3f63cf(0x3a4)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x21d))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2d7))[a2_0x3f63cf(0x1d7)]('--type\x20<type>',a2_0x3f63cf(0x297))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x33a),a2_0x3f63cf(0x187))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))[a2_0x3f63cf(0x3a4)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x25e))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x37a))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))['option']('--full',a2_0x3f63cf(0x2de))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1d1))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x34e))[a2_0x3f63cf(0x33c)](a2_0x3f63cf(0x227),a2_0x3f63cf(0x197))[a2_0x3f63cf(0x33c)](a2_0x3f63cf(0x309),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x3f63cf(0x1d7)]('--workspace\x20<name>',a2_0x3f63cf(0x376))['option'](a2_0x3f63cf(0x24b),a2_0x3f63cf(0x36b))['option']('--segment\x20<path>',a2_0x3f63cf(0x1c5))['option']('--email-sender-id\x20<id>','Email\x20sender\x20ID\x20for\x20delivery')[a2_0x3f63cf(0x1d7)]('--json-columns\x20<cols>',a2_0x3f63cf(0x212))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1f9),a2_0x3f63cf(0x2ee))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x28b),a2_0x3f63cf(0x27f))[a2_0x3f63cf(0x3a4)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x16f))['description'](a2_0x3f63cf(0x259))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),'Workspace\x20name')['option'](a2_0x3f63cf(0x227),a2_0x3f63cf(0x2dd))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x24b),a2_0x3f63cf(0x36b))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x302),a2_0x3f63cf(0x1c5))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x193),a2_0x3f63cf(0x384))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3c6),a2_0x3f63cf(0x212))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1f9),a2_0x3f63cf(0x2ee))[a2_0x3f63cf(0x1d7)]('--timezone\x20<tz>',a2_0x3f63cf(0x27f))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1be))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x398))['option']('--workspace\x20<name>',a2_0x3f63cf(0x202))['option']('--yes',a2_0x3f63cf(0x171))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x3f63cf(0x3d5)]('launch\x20<name-or-id>')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x255))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x176))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x336))[a2_0x3f63cf(0x1d7)]('--workspace\x20<name>',a2_0x3f63cf(0x202))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x29d))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x3a5))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x3f63cf(0x26a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1e4))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),'Workspace\x20name')[a2_0x3f63cf(0x3a4)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x3f63cf(0x3d5)]('pull\x20[workspace-name]')['description'](a2_0x3f63cf(0x166))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x227),a2_0x3f63cf(0x382))[a2_0x3f63cf(0x1d7)]('--type\x20<type>',a2_0x3f63cf(0x297))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x34d),a2_0x3f63cf(0x238))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1cb))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x289))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))['option']('--dry-run',a2_0x3f63cf(0x37f))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x36a))['description'](a2_0x3f63cf(0x38b))['option'](a2_0x3f63cf(0x340),a2_0x3f63cf(0x3d2))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageCampaignValidateCommand));const templateCmd=engageCmd[a2_0x3f63cf(0x3d5)]('template')['description'](a2_0x3f63cf(0x1a4));templateCmd['command'](a2_0x3f63cf(0x364))['description'](a2_0x3f63cf(0x251))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))[a2_0x3f63cf(0x3a4)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x3f63cf(0x3d5)]('templates\x20[pattern]')['description'](a2_0x3f63cf(0x3ad))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))[a2_0x3f63cf(0x3a4)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x3f63cf(0x3d5)]('show\x20<name-or-id>')[a2_0x3f63cf(0x31b)]('Show\x20email\x20template\x20details')[a2_0x3f63cf(0x1d7)]('--workspace\x20<name>',a2_0x3f63cf(0x202))['option']('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x3f63cf(0x3a4)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x3f63cf(0x1d1))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x35a))[a2_0x3f63cf(0x33c)](a2_0x3f63cf(0x227),a2_0x3f63cf(0x1e2))[a2_0x3f63cf(0x33c)](a2_0x3f63cf(0x27a),a2_0x3f63cf(0x306))['option'](a2_0x3f63cf(0x3cf),a2_0x3f63cf(0x315))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2b4),a2_0x3f63cf(0x14a))[a2_0x3f63cf(0x1d7)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1e6),a2_0x3f63cf(0x359))['option']('--editor-type\x20<type>',a2_0x3f63cf(0x1a8),_0x2d64fa=>{const _0x1ee29d=a2_0x3f63cf;if(!['beefree',_0x1ee29d(0x335)][_0x1ee29d(0x1ca)](_0x2d64fa))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Invalid\x20editor\x20type:\x20'+_0x2d64fa+_0x1ee29d(0x3bc));return _0x2d64fa;})[a2_0x3f63cf(0x3a4)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x16f))['description'](a2_0x3f63cf(0x266))[a2_0x3f63cf(0x1d7)]('--workspace\x20<name>',a2_0x3f63cf(0x202))[a2_0x3f63cf(0x1d7)]('--name\x20<name>','New\x20template\x20name')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x27a),a2_0x3f63cf(0x306))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3cf),'HTML\x20template\x20content')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2b4),a2_0x3f63cf(0x14a))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1e6),a2_0x3f63cf(0x359))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command']('delete\x20<name-or-id>')['description'](a2_0x3f63cf(0x24d))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),a2_0x3f63cf(0x202))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x18d),a2_0x3f63cf(0x171))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageTemplateDeleteCommand));function a2_0x1b31(){const _0x3b2f60=['delete\x20<agent-name>','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','stringify','Preview\x20operation\x20without\x20executing','profiles','argumentTerm','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','push\x20[file]','journey','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Unknown\x20action:\x20','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','error','--interval\x20<range>','[EXPERIMENTAL]\x20Show\x20chat\x20log','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Open\x20segment\x20in\x20web\x20browser','padEnd','--rule-file\x20<file>','show\x20[table]','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','-n,\x20--name\x20<name>','Preview\x20without\x20creating\x20the\x20project','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Path\x20is\x20not\x20a\x20directory:\x20','kill\x20<job-id>','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--limit\x20<rows>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--include-subtasks','--include-retried','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','--segment\x20<path>','show\x20<name>','--reason\x20<text>','--workspace\x20<name>','Email\x20subject\x20template','--from\x20<timestamp>','folder','--type\x20<type>','Open\x20parent\x20segment\x20in\x20web\x20browser','push\x20[name]','Remove\x20API\x20key\x20from\x20system\x20keychain','\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','Set\x20operation\x20timeout\x20in\x20seconds','Commands:','--invisible','List\x20email\x20senders','LLM\x20project\x20management','--retry-limit\x20<0~32>','init\x20[name]','HTML\x20template\x20content','--version','Resume\x20from\x20specific\x20task\x20(retry)','-d,\x20--database\x20<db>','List\x20secret\x20keys\x20for\x20a\x20project','--clear','description','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--stage\x20<name>','sql\x20[segment_name]','Pull\x20child\x20segments\x20to\x20YAML\x20files','padWidth','Create\x20a\x20new\x20profile','Query\x20type:\x20trino\x20or\x20hive','--session-time\x20<time>','-f,\x20--file\x20<path>','Resume\x20from\x20specific\x20task','exit','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','use\x20<project-name>','Result\x20output\x20destination\x20URL','--debug','chdir','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Timezone\x20for\x20cron\x20(default:\x20UTC)','Agent\x20prompt/instructions','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Maximum\x20recursion\x20depth\x20(default:\x2010)','use\x20<name>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','grapesjs','Pause\x20a\x20campaign','Read\x20SQL\x20query\x20from\x20file','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Attempt\x20ID','--status\x20<status>','view\x20[segment_name]','requiredOption','desc\x20[name]','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','projects\x20[pattern]','--verbose','18IgaCYP','--time\x20<iso8601>','catch','backup\x20<name>','--color','versions\x20<name-or-path>','789020jhxmcW','Pause\x20a\x20running\x20journey','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','models','filter','version','--dry-run','Create\x20a\x20new\x20campaign','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','view\x20<name-or-path>','Make\x20segment\x20invisible\x20(default:\x20visible)','Cron\x20expression\x20for\x20scheduling','--trace','map','Arguments:','\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','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','--param\x20<key=value>','Plaintext\x20template\x20content','Create\x20an\x20email\x20template','Output\x20as\x20JSON\x20Lines','\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','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','segments\x20[path]','push\x20[parent_or_file]','Read\x20query\x20from\x20file','Output\x20file\x20path','--site\x20<site>','list','list\x20[pattern]','--add-behaviors-file\x20<file>','LLM\x20agent\x20management','INFO','0.7','--behaviors\x20<json>','validate\x20[target]','Campaign\x20description','stderr','New\x20workspace\x20name','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Show\x20schedule\x20details','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','api\x20[endpoint]','run\x20[workflow]','Output\x20directory','stdout','segment','Workspace\x20name\x20(required)','required','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','-X,\x20--method\x20<method>','Show\x20campaign\x20details','-a,\x20--agent\x20<name>','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Version\x20number\x20to\x20view','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Show\x20authentication\x20status\x20and\x20current\x20context','sql\x20[name]','Pull\x20specific\x20campaign\x20by\x20name','workflows\x20[project]','Email\x20sender\x20ID\x20for\x20delivery','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','--num\x20<1-10>','Parent\x20folder\x20name\x20for\x20nested\x20folders','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','query\x20[sql]','delete\x20<args...>','Validate\x20campaign\x20YAML\x20files\x20locally','argv','Check\x20for\x20updates\x20without\x20installing','Validate\x20journey\x20YAML\x20files\x20locally','Custom\x20revision\x20name\x20(default:\x20timestamp)','push\x20[path]','Describe\x20table\x20schema','argument','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Show\x20connection\x20details\x20by\x20name','Show\x20timeline\x20for\x20specific\x20attempt','Show\x20only\x20master\x20table\x20validation','Delete\x20a\x20campaign','Start\x20a\x20new\x20chat\x20session','--delay\x20<seconds>','Continue\x20most\x20recent\x20conversation','[attempt-id]','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','use\x20[project]','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','\x22.\x20Must\x20be\x20a\x20number.','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','action','Resume\x20a\x20paused\x20campaign','Set\x20or\x20show\x20parent\x20segment\x20context','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Revision\x20name\x20(default:\x20timestamp)','argumentDescription','configureHelp','parent_segment','--master','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--name\x20<names>','tsv','--name\x20<new_name>','INVALID_ARGUMENT','Project\x20description','Preview\x20changes\x20without\x20writing\x20files','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','delete\x20<name>','Timezone\x20(e.g.,\x20America/Los_Angeles)','Follow/watch\x20timeline\x20for\x20running\x20attempts','Set\x20a\x20profile\x20configuration\x20value','remove\x20<name>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--system-prompt\x20<text>','delivery','name','Override\x20project\x20name','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--no-count-population','4385136mTukII','Folder\x20description','Run\x20tests\x20for\x20an\x20LLM\x20agent','--json-columns\x20<cols>','--description\x20<text>','[DEPRECATED]\x20Segment\x20folder\x20management','258611qBXTpy','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','CDP\x20Journey\x20Orchestration\x20commands','--prompt\x20<text>','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','attempts\x20[project]','--html\x20<html>','\x20-\x20built\x20','Parse\x20and\x20validate\x20without\x20executing','Show\x20all\x20files\x20including\x20valid\x20ones','Agent\x20description','--enriched','command','--skip-validation','upgrade\x20[version]','4718268AjrjAo','setup','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','buildTime','commands','Show\x20journey\x20statistics','journeys\x20[pattern]','Maximum\x20number\x20of\x20nodes','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','--database\x20<name>','Options:','Table\x20management\x20commands','push\x20[source-dir]','join','Read\x20HTML\x20template\x20from\x20file','--stream','Submit\x20a\x20job','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','--params\x20<json>','--add-attributes\x20<json>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--customer-group\x20<json>','isDirectory','subcommandDescription','logLevel','RT\x202.0\x20configuration\x20management','--cron\x20<expression>','list\x20[name]','Authentication\x20management','--follow','Workspace\x20description','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--behavior\x20[name]','pull\x20[name]','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','1191864xgLDjH','-f,\x20--force','history\x20<name>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','database','gitRevision','Output\x20folder\x20(default:\x20{project_name}.llm)','Pull\x20campaigns\x20to\x20YAML\x20files','pull\x20[parent_or_file]','hidden','Create\x20segment\x20folder','create\x20<name>','Attributes\x20from\x20JSON\x20file','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','29141kqHYww','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','update\x20<name-or-id>','_hidden','Skip\x20confirmation\x20prompt','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','\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','YAML\x20file\x20path\x20for\x20unpushed\x20segment','_list-commands','pause\x20<name-or-id>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Pull\x20specific\x20revision\x20(default:\x20latest)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Parent\x20segment\x20description','settings\x20<type>','Workspace\x20management','--output\x20<file>','aliases','--behaviors-file\x20<file>','set\x20<args...>','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','-r,\x20--resume','Job\x20priority\x20(-2\x20to\x202)','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--limit\x20<number>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','slice','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','show\x20[name]','List\x20activations\x20for\x20a\x20journey','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','--yes','summary','Create\x20a\x20workspace','Workflow\x20(Digdag)\x20management\x20commands','types','engage_workspace','--email-sender-id\x20<id>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','alias','Campaign\x20name','create\x20<name-or-path>','Include\x20execution\x20statistics','describe\x20[table]','--max-tool-iterations\x20<n>','workspaces\x20[pattern]','Manage\x20workflow\x20project\x20secrets','-1d','parent-segment','Name\x20for\x20the\x20new\x20project\x20(required)','--json','--attributes-file\x20<file>','[task-name]','Email\x20template\x20management','Database\x20name\x20(default:\x20information_schema)','trino','List\x20all\x20data\x20connections','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','Clear\x20session\x20context','--data\x20<data>','attempt:','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','create\x20<segment_name>','Clear\x20workflow\x20project\x20context','--to\x20<timestamp>','download\x20<project-name>\x20[output-dir]','Show\x20master\x20table\x20sample\x20data','jsonl','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','connections','Workflow\x20attempt\x20management','-v,\x20--verbose','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','logs','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Include\x20retried\x20attempts','Updated\x20description','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','delete\x20<name-or-id>','Skip\x20population\x20counting','Retry\x20limit\x20(0\x20to\x2032)','Query\x20engine\x20version','allowExcessArguments','-w,\x20--web','preview\x20[name]','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','AI-native\x20CLI\x20for\x20Treasure\x20Data','Maximum\x20tool\x20iterations\x20(default:\x204)','...','--timeout\x20<seconds>','includes','push\x20[target]','Overwrite\x20local\x20changes\x20without\x20confirmation','Task\x20name\x20for\x20logs\x20action','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','statusline','Personalization\x20service\x20management','create','LLM\x20project\x20to\x20use\x20(overrides\x20context)','users','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','run\x20[name]','registeredArguments','option','mcp','Scheduled\x20query\x20management\x20commands','DEBUG','parents\x20[pattern]','update\x20<name>','directory','activations\x20<name-or-path>','Skip\x20confirmation\x20prompts','List\x20journeys\x20in\x20current\x20context','-c,\x20--continue','Template\x20name','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Duplicate\x20a\x20campaign','opts','--plaintext\x20<text>','Run\x20a\x20scheduled\x20query\x20immediately','New\x20segment\x20name','Ending\x20offset\x20(default:\x2020)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','--priority\x20<-2~2>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Usage:\x20','List\x20jobs','stats\x20<name-or-path>','Add\x20behaviors\x20as\x20JSON\x20string','--to\x20<date>','then','outputHelp','Model\x20type\x20(default:\x20claude-4.5-sonnet)','noColor','--model\x20<name>','Force\x20retry\x20even\x20if\x20not\x20failed','forEach','--start-at\x20<datetime>','campaign','Run\x20Trino\x20query\x20with\x20streaming\x20results','describe','End\x20time\x20filter\x20(ISO\x208601\x20format)','--rule\x20<json>','Remove\x20a\x20profile','validate\x20[name]','options','Workspace\x20name','[options]\x20--\x20[claude-code-args...]','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--last','Request\x20body\x20as\x20JSON\x20string',',\x20version\x20','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','project','subcommandTerm','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','--attempt-id\x20<id>','CDP\x20segment\x20management\x20commands','--in\x20<database>','run\x20<name>','Include\x20raw\x20history\x20data\x20in\x20output','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--folder\x20<name>','claude-4.5-sonnet','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','job','--engine-version\x20<version>','Customer\x20group\x20as\x20JSON\x20string','--database\x20<db>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','--kind\x20<type>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','campaigns\x20[pattern]','--catalog\x20<catalog>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Filtering\x20rule\x20from\x20JSON\x20file','Change\x20to\x20directory\x20before\x20executing\x20command','--schedule-option\x20<value>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','list\x20[project]','Delete\x20an\x20LLM\x20project','--name\x20<name>','--jsonl','Open\x20journey\x20in\x20web\x20browser','format','clone\x20[source]','--customer-group-file\x20<file>','List\x20agents\x20in\x20current\x20project','Invalid\x20--limit\x20value:\x20\x22','--llm-project\x20<name>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','push','resume\x20<name-or-path>','Trino\x20catalog\x20(default:\x20td)','Include\x20subtasks\x20in\x20tasks\x20output','--force','--add-attributes-file\x20<file>','isTTY','Show\x20what\x20would\x20be\x20written\x20without\x20writing','apiKey','us01','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','-o,\x20--output\x20<folder>','--attribute\x20[name]','columns\x20<name-or-path>','Resume\x20a\x20paused\x20journey','--delete','list\x20[path]','Update\x20a\x20workspace','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','engage','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','variadic','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--max-depth\x20<depth>','--description\x20<desc>','sessions\x20[project]','Delete\x20an\x20email\x20template','Interactive\x20chat\x20selector','Folder\x20name\x20for\x20organization','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','clear','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','result\x20<job-id>','Launch\x20a\x20campaign','chat\x20[message...]','--schedule-type\x20<type>','--version\x20<number>','Update\x20a\x20campaign','\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\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Resume\x20a\x20conversation\x20(shows\x20selector)','Timezone\x20for\x20cron','show\x20<name-or-id>','GET','Show\x20schedule\x20execution\x20history','Database\x20name\x20(required)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Limit\x20number\x20of\x20rows','Output\x20as\x20JSON','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Update\x20an\x20email\x20template','List\x20available\x20connector\x20types','Pull\x20workflow\x20project\x20to\x20local\x20folder','schedule','duplicate\x20<name-or-id>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','-y,\x20--yes','addHelpText','--default','after','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','table','--new','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','flatMap','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--table','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Show\x20segment\x20details\x20(alias\x20for\x20view)','--subject\x20<subject>','Filtering\x20rule\x20as\x20JSON\x20string','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','--parent-segment\x20<name>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Behaviors\x20as\x20JSON\x20string','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Show\x20journey\x20details','Add\x20behaviors\x20from\x20JSON\x20file','restore\x20<folder>','-C,\x20--directory\x20<path>','session','Customer\x20group\x20from\x20JSON\x20file','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','optionDescription','--timezone\x20<tz>','--starter-message\x20<text>','--from\x20<n>','--session-id\x20<id>','Get\x20job\x20results','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Updated\x20schedule\x20option','Push\x20without\x20confirmation','Database\x20management\x20commands','isArray','\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','length','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','1945540IWraju','Reason\x20for\x20killing\x20the\x20attempt','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','--revision\x20<revision>','fields\x20[parent_name]','resume\x20<name-or-id>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','-o,\x20--output\x20<file>','use\x20[name]','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','-d,\x20--database\x20<database>','parent','Database\x20to\x20query\x20(default:\x20information_schema)','--to\x20<n>','run','--resume-from\x20<task>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','log','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Data\x20connection\x20management\x20(for\x20activations/exports)','--tsv','fields\x20[name]','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','--attributes\x20<json>','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','--html-file\x20<path>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','preAction','senders\x20[pattern]','Updated\x20timezone','agents\x20[pattern]','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','schema\x20<type>','upload\x20[project-name-or-dir]','--reeval','2IyECfu','--agent\x20<ref>','-u,\x20--use','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','List\x20all\x20available\x20profiles','--in\x20<db>','tasks','Delete\x20an\x20agent','usage','Preview\x20changes\x20without\x20pushing','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','status','tdx','Journey\x20version\x20management','injectIntoOptions','show\x20<job-id>','-o,\x20--output\x20<dir>','Move\x20to\x20folder','Delay\x20in\x20seconds\x20before\x20execution','validate\x20[file]','--limit\x20<n>','desc','-r,\x20--recursive','Run\x20specific\x20tests\x20(comma-separated)','--parent-folder\x20<name>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','create\x20[name]','colorFn','Skip\x20validation\x20of\x20.dig\x20files','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Setup\x20API\x20key\x20authentication\x20interactively','New\x20campaign\x20name','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields'];a2_0x1b31=function(){return _0x3b2f60;};return a2_0x1b31();}const workspaceCmd=engageCmd['command']('workspace')['description'](a2_0x3f63cf(0x17c));workspaceCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x364))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x172))[a2_0x3f63cf(0x3a4)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x19c))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x34f))[a2_0x3f63cf(0x3a4)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x3f63cf(0x25e))[a2_0x3f63cf(0x31b)]('Show\x20workspace\x20details')[a2_0x3f63cf(0x1d7)]('--full',a2_0x3f63cf(0x2de))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1d1))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x18f))[a2_0x3f63cf(0x33c)](a2_0x3f63cf(0x227),a2_0x3f63cf(0x202))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x24b),'Workspace\x20description')['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x16f))['description'](a2_0x3f63cf(0x242))[a2_0x3f63cf(0x1d7)]('--name\x20<name>',a2_0x3f63cf(0x36d))['option'](a2_0x3f63cf(0x24b),a2_0x3f63cf(0x15a))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1be))[a2_0x3f63cf(0x31b)]('Delete\x20a\x20workspace')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x18d),a2_0x3f63cf(0x171))[a2_0x3f63cf(0x3a4)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x333))[a2_0x3f63cf(0x31b)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x3f63cf(0x3a4)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x3f63cf(0x3be))['description']('Delivery\x20operations\x20(email\x20senders)');deliveryCmd['command'](a2_0x3f63cf(0x2b7))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x311))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x305),'Workspace\x20name')[a2_0x3f63cf(0x3a4)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x3f63cf(0x3d5)]('connection')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2ae)),connectionListAction=async _0xbcaff4=>{const _0x62c5a2=a2_0x3f63cf,_0x20e58d=new ConnectionListCommand(),_0x1a43dd=program['opts'](),_0x1da657=await createTDXInstance(_0x1a43dd),_0x275690=await _0x20e58d[_0x62c5a2(0x2a7)]({'options':{..._0x1a43dd,..._0xbcaff4},'args':[],'tdx':_0x1da657});gracefulExit(_0x275690);};connectionCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x363))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1a7))[a2_0x3f63cf(0x3a4)](connectionListAction),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1b5),{'hidden':!![]})['description'](a2_0x3f63cf(0x3ca))[a2_0x3f63cf(0x3a4)](connectionListAction),connectionCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x303))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x395))[a2_0x3f63cf(0x3a4)](async(_0x23ce9a,_0x5c80c0)=>{const _0x13f4ad=a2_0x3f63cf,_0x4b4b6b=new ConnectionShowCommand(),_0x3096d4=program[_0x13f4ad(0x1e5)](),_0x574cd3=await createTDXInstance(_0x3096d4),_0x3e7596=await _0x4b4b6b[_0x13f4ad(0x2a7)]({'options':{..._0x3096d4,..._0x5c80c0},'args':[_0x23ce9a],'tdx':_0x574cd3});gracefulExit(_0x3e7596);}),connectionCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x2bb))[a2_0x3f63cf(0x31b)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x3f63cf(0x3a4)](async(_0x5b7e78,_0x3f7935)=>{const _0x34fd11=a2_0x3f63cf,_0x39e210=new ConnectionSchemaCommand(),_0xb4b1bb=program[_0x34fd11(0x1e5)](),_0xffd9dd=await createTDXInstance(_0xb4b1bb),_0x5c2bfd=await _0x39e210[_0x34fd11(0x2a7)]({'options':{..._0xb4b1bb,..._0x3f7935},'args':[_0x5b7e78],'tdx':_0xffd9dd});gracefulExit(_0x5c2bfd);}),connectionCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x191))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x267))[a2_0x3f63cf(0x3a4)](async _0x4b8c8a=>{const _0x13400=a2_0x3f63cf,_0x2cc5fe=new ConnectionTypesCommand(),_0xac6764=program[_0x13400(0x1e5)](),_0x43af58=await createTDXInstance(_0xac6764),_0x3e19b3=await _0x2cc5fe['run']({'options':{..._0xac6764,..._0x4b8c8a},'args':[],'tdx':_0x43af58});gracefulExit(_0x3e19b3);}),connectionCmd['command'](a2_0x3f63cf(0x17b))['description']('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x3f63cf(0x3a4)](async(_0x42bdf2,_0x367529)=>{const _0x18abcb=a2_0x3f63cf,_0x380a57=new ConnectionSettingsCommand(),_0x22a043=program[_0x18abcb(0x1e5)](),_0x1d475a=await createTDXInstance(_0x22a043),_0x5506fb=await _0x380a57['run']({'options':{..._0x22a043,..._0x367529},'args':[_0x42bdf2],'tdx':_0x1d475a});gracefulExit(_0x5506fb);});const journeyCmd=program['command'](a2_0x3f63cf(0x2e7))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x3cb)),journeyListAction=async(_0x481e84,_0x30da84)=>{const _0x8de776=a2_0x3f63cf,_0x3e60fc=new JourneyListCommand(),_0x49ada4=program[_0x8de776(0x1e5)](),_0x5f5e08=await createTDXInstance(_0x49ada4),_0x13f496=await _0x3e60fc[_0x8de776(0x2a7)]({'options':{..._0x49ada4,..._0x30da84},'args':_0x481e84?[_0x481e84]:[],'tdx':_0x5f5e08});gracefulExit(_0x13f496);};journeyCmd['command'](a2_0x3f63cf(0x364))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x1e0))[a2_0x3f63cf(0x3a4)](journeyListAction),journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x350))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x282))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1c3),a2_0x3f63cf(0x229))['option']('--include-stats',a2_0x3f63cf(0x199))[a2_0x3f63cf(0x3a4)](async(_0x57fb87,_0x5630a6)=>{const _0x5a2f19=a2_0x3f63cf,_0x3ac7b7=new JourneyViewCommand(),_0x27739d=program[_0x5a2f19(0x1e5)](),_0x5a41fe=await createTDXInstance(_0x27739d),_0x53ff68=await _0x3ac7b7[_0x5a2f19(0x2a7)]({'options':{..._0x27739d,..._0x5630a6},'args':[_0x57fb87],'tdx':_0x5a41fe});gracefulExit(_0x53ff68);}),journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1ef))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x141))['option'](a2_0x3f63cf(0x31e),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x3f63cf(0x1d7)]('--from\x20<date>',a2_0x3f63cf(0x394))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1f1),a2_0x3f63cf(0x2ba))[a2_0x3f63cf(0x1d7)]('--include-history',a2_0x3f63cf(0x211))[a2_0x3f63cf(0x3a4)](async(_0x267f8e,_0x46803e)=>{const _0xa4ea7b=a2_0x3f63cf,_0x33901a=new JourneyStatsCommand(),_0x16dd6a=program[_0xa4ea7b(0x1e5)](),_0x4a20c3=await createTDXInstance(_0x16dd6a),_0x73ce9f=await _0x33901a[_0xa4ea7b(0x2a7)]({'options':{..._0x16dd6a,..._0x46803e},'args':[_0x267f8e],'tdx':_0x4a20c3});gracefulExit(_0x73ce9f);}),journeyCmd['command']('traffic\x20<name-or-path>')['description']('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x309),a2_0x3f63cf(0x2b1))[a2_0x3f63cf(0x1d7)]('--from\x20<date>',a2_0x3f63cf(0x394))['option'](a2_0x3f63cf(0x1f1),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x3f63cf(0x1d7)]('--limit\x20<number>',a2_0x3f63cf(0x143),_0xeefc64=>{const _0x403891=a2_0x3f63cf,_0x5df3b7=parseInt(_0xeefc64,0xa);if(isNaN(_0x5df3b7))throw new Error(_0x403891(0x22e)+_0xeefc64+_0x403891(0x3a2));return _0x5df3b7;})[a2_0x3f63cf(0x3a4)](async(_0xda1b24,_0x3f90a9)=>{const _0x29152e=a2_0x3f63cf,_0xf6841f=new JourneyTrafficCommand(),_0xf27f24=program[_0x29152e(0x1e5)](),_0x5ce750=await createTDXInstance(_0xf27f24),_0x9efe5e=await _0xf6841f[_0x29152e(0x2a7)]({'options':{..._0xf27f24,..._0x3f90a9},'args':[_0xda1b24],'tdx':_0x5ce750});gracefulExit(_0x9efe5e);}),journeyCmd['command']('pause\x20<name-or-path>')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x348))['action'](async(_0x12d1df,_0x4d1118)=>{const _0x329c02=a2_0x3f63cf,_0x1df17a=new JourneyPauseCommand(),_0xb53af5=program[_0x329c02(0x1e5)](),_0x588035=await createTDXInstance(_0xb53af5),_0x5c0e31=await _0x1df17a['run']({'options':{..._0xb53af5,..._0x4d1118},'args':[_0x12d1df],'tdx':_0x588035});gracefulExit(_0x5c0e31);}),journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x232))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x23f))[a2_0x3f63cf(0x3a4)](async(_0x12f480,_0x352fea)=>{const _0x5a78ea=a2_0x3f63cf,_0x4dc16c=new JourneyResumeCommand(),_0x45ab59=program[_0x5a78ea(0x1e5)](),_0x1bf9a9=await createTDXInstance(_0x45ab59),_0x24fcef=await _0x4dc16c[_0x5a78ea(0x2a7)]({'options':{..._0x45ab59,..._0x352fea},'args':[_0x12f480],'tdx':_0x1bf9a9});gracefulExit(_0x24fcef);}),journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x15d))['description']('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x34d),a2_0x3f63cf(0x2a1))['action'](async(_0x564931,_0x51fbe5)=>{const _0x4e1d59=a2_0x3f63cf,_0x5158f8=new JourneyPullCommand(),_0x1f5cb3=program[_0x4e1d59(0x1e5)](),_0x11d4e1=await createTDXInstance(_0x1f5cb3),_0x2a90a3=await _0x5158f8['run']({'options':{..._0x1f5cb3,..._0x51fbe5},'args':_0x564931?[_0x564931]:[],'tdx':_0x11d4e1});gracefulExit(_0x2a90a3);}),journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1cb))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x349))['action'](async(_0x2474d5,_0x26d3bb)=>{const _0x402cb5=a2_0x3f63cf,_0x96b6d2=new JourneyPushCommand(),_0x32edc9=program[_0x402cb5(0x1e5)](),_0x335c9f=await createTDXInstance(_0x32edc9),_0x18b83a=await _0x96b6d2[_0x402cb5(0x2a7)]({'options':{..._0x32edc9,..._0x26d3bb},'args':_0x2474d5?[_0x2474d5]:[],'tdx':_0x335c9f});gracefulExit(_0x18b83a);}),journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x23e))['description']('Show\x20journey\x20table\x20column-to-step\x20mapping')['action'](async(_0x3b0b03,_0x897c15)=>{const _0x13a771=a2_0x3f63cf,_0x376980=new JourneyColumnsCommand(),_0x3487f5=program['opts'](),_0xbf39ce=await createTDXInstance(_0x3487f5),_0x3cdf80=await _0x376980[_0x13a771(0x2a7)]({'options':{..._0x3487f5,..._0x897c15},'args':[_0x3b0b03],'tdx':_0xbf39ce});gracefulExit(_0x3cdf80);}),journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x1de))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x18b))[a2_0x3f63cf(0x3a4)](async(_0x36b72d,_0x2a811d)=>{const _0x22b0c6=new JourneyActivationsCommand(),_0x59119d=program['opts'](),_0x27271d=await createTDXInstance(_0x59119d),_0xc179ce=await _0x22b0c6['run']({'options':{..._0x59119d,..._0x2a811d},'args':[_0x36b72d],'tdx':_0x27271d});gracefulExit(_0xc179ce);}),journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x346))['description']('List\x20all\x20versions\x20of\x20a\x20journey')[a2_0x3f63cf(0x3a4)](async(_0x35a4e7,_0x7cb98c)=>{const _0x3162ef=a2_0x3f63cf,_0xee9ae=new JourneyVersionsCommand(),_0x49157b=program[_0x3162ef(0x1e5)](),_0x57c529=await createTDXInstance(_0x49157b),_0x69ea37=await _0xee9ae[_0x3162ef(0x2a7)]({'options':{..._0x49157b,..._0x7cb98c},'args':[_0x35a4e7],'tdx':_0x57c529});gracefulExit(_0x69ea37);});const journeyVersionCmd=journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x34c))['description'](a2_0x3f63cf(0x2cb));journeyVersionCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x198))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2c1))['action'](async(_0x8eabb4,_0x51879b)=>{const _0x195486=a2_0x3f63cf,_0x406476=new JourneyVersionCreateCommand(),_0x464a38=program[_0x195486(0x1e5)](),_0x4e6f22=await createTDXInstance(_0x464a38),_0x119b74=await _0x406476[_0x195486(0x2a7)]({'options':{..._0x464a38,..._0x51879b},'args':[_0x8eabb4],'tdx':_0x4e6f22});gracefulExit(_0x119b74);}),journeyVersionCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x350))['description']('View\x20a\x20specific\x20version\x20of\x20a\x20journey')[a2_0x3f63cf(0x33c)](a2_0x3f63cf(0x258),a2_0x3f63cf(0x37d))['action'](async(_0x261944,_0x421325)=>{const _0x3e4908=a2_0x3f63cf,_0x5428c4=new JourneyVersionViewCommand(),_0xc094cc=program[_0x3e4908(0x1e5)](),_0x3e683f=await createTDXInstance(_0xc094cc),_0x4866e0=await _0x5428c4[_0x3e4908(0x2a7)]({'options':{..._0xc094cc,..._0x421325},'args':[_0x261944],'tdx':_0x3e683f});gracefulExit(_0x4866e0);}),journeyCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x36a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x38e))[a2_0x3f63cf(0x3a4)](async(_0x174a23,_0x34cc01)=>{const _0x149e9c=a2_0x3f63cf,_0x3a784f=new JourneyValidateCommand(),_0x17fdc2=program[_0x149e9c(0x1e5)](),_0x444fb2=await createTDXInstance(_0x17fdc2),_0x45b260=await _0x3a784f[_0x149e9c(0x2a7)]({'options':{..._0x17fdc2,..._0x34cc01},'args':_0x174a23?[_0x174a23]:[],'tdx':_0x444fb2});gracefulExit(_0x45b260);}),program['command'](a2_0x3f63cf(0x142))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x177))[a2_0x3f63cf(0x3a4)](journeyListAction);const agentSyncCmd=program[a2_0x3f63cf(0x3d5)]('agent')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x366));agentSyncCmd[a2_0x3f63cf(0x3d5)]('pull\x20[project]\x20[agent-name]')[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x29e))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2ce),a2_0x3f63cf(0x373))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x160),a2_0x3f63cf(0x1cc))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x37b),a2_0x3f63cf(0x357))['action'](async(_0x5ea633,_0x56b1f7,_0x2448c3)=>{const _0x3eaa4f=a2_0x3f63cf,_0x4ab623=new AgentPullCommand(),_0x371b9f=program[_0x3eaa4f(0x1e5)](),_0x4add74=await createTDXInstance(_0x371b9f),_0x2c3673=[];if(_0x5ea633)_0x2c3673[_0x3eaa4f(0x231)](_0x5ea633);if(_0x56b1f7)_0x2c3673[_0x3eaa4f(0x231)](_0x56b1f7);const _0x2b7193=await _0x4ab623[_0x3eaa4f(0x2a7)]({'options':{..._0x371b9f,..._0x2448c3},'args':_0x2c3673,'tdx':_0x4add74});gracefulExit(_0x2b7193);}),agentSyncCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x390))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x144))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x160),a2_0x3f63cf(0x292))[a2_0x3f63cf(0x3a4)](async(_0x298ed6,_0x5c3c73)=>{const _0x42f7ee=a2_0x3f63cf,_0x21c499=new AgentPushCommand(),_0x189087=program[_0x42f7ee(0x1e5)](),_0x1413c9=await createTDXInstance(_0x189087),_0x33f639=await _0x21c499[_0x42f7ee(0x2a7)]({'options':{..._0x189087,..._0x5c3c73},'args':_0x298ed6?[_0x298ed6]:[],'tdx':_0x1413c9});gracefulExit(_0x33f639);}),agentSyncCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x22b))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x2fc))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2f4),a2_0x3f63cf(0x1a0))['action'](async(_0x300ee6,_0x4a1e98)=>{const _0x53d89f=a2_0x3f63cf,_0x33d1d0=new AgentCloneCommand(),_0x4e57fc=program[_0x53d89f(0x1e5)](),_0x3cdd93=await createTDXInstance(_0x4e57fc),_0x2b38d9=await _0x33d1d0[_0x53d89f(0x2a7)]({'options':{..._0x4e57fc,..._0x4a1e98},'args':_0x300ee6?[_0x300ee6]:[],'tdx':_0x3cdd93});gracefulExit(_0x2b38d9);}),agentSyncCmd['command']('test\x20[path]')['description'](a2_0x3f63cf(0x3c5))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3ae),a2_0x3f63cf(0x2d5))['option']('--tags\x20<tags>',a2_0x3f63cf(0x36e))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x34d),a2_0x3f63cf(0x3d1))[a2_0x3f63cf(0x1d7)]('--no-eval','Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x2bd),a2_0x3f63cf(0x182))[a2_0x3f63cf(0x3a4)](async(_0x2a956a,_0x540e67)=>{const _0x4f91fa=a2_0x3f63cf,_0x3a3023=new AgentTestCommand(),_0x404391=program[_0x4f91fa(0x1e5)](),_0xa29985=await createTDXInstance(_0x404391),_0x23ccef=await _0x3a3023[_0x4f91fa(0x2a7)]({'options':{..._0x404391,..._0x540e67},'args':_0x2a956a?[_0x2a956a]:[],'tdx':_0xa29985});gracefulExit(_0x23ccef);}),agentSyncCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x364))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x22d))[a2_0x3f63cf(0x3a4)](llmAgentListAction),agentSyncCmd['command']('show\x20<agent-name>')[a2_0x3f63cf(0x31b)]('Show\x20agent\x20details')['action'](async(_0x49915,_0x244a16)=>{const _0x107864=a2_0x3f63cf,_0x156d7b=new LLMAgentShowCommand(),_0x248397=program[_0x107864(0x1e5)](),_0x755129=await createTDXInstance(_0x248397),_0x4d63c3=await _0x156d7b[_0x107864(0x2a7)]({'options':{..._0x248397,..._0x244a16},'args':[_0x49915],'tdx':_0x755129});gracefulExit(_0x4d63c3);}),agentSyncCmd[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x16a))[a2_0x3f63cf(0x31b)](a2_0x3f63cf(0x290))['option'](a2_0x3f63cf(0x3bd),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x1f6),a2_0x3f63cf(0x1f4),a2_0x3f63cf(0x214))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x28c),'Starter\x20message')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x19b),a2_0x3f63cf(0x1c7),'4')[a2_0x3f63cf(0x1d7)]('--temperature\x20<n>','Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x3f63cf(0x368))[a2_0x3f63cf(0x3a4)](async(_0x13f33a,_0x10018f)=>{const _0x3586fd=a2_0x3f63cf,_0x5cf22d=new LLMAgentCreateCommand(),_0x222225=program['opts'](),_0x15517b=await createTDXInstance(_0x222225),_0x23a346=await _0x5cf22d[_0x3586fd(0x2a7)]({'options':{..._0x222225,..._0x10018f},'args':[_0x13f33a],'tdx':_0x15517b});gracefulExit(_0x23a346);}),agentSyncCmd[a2_0x3f63cf(0x3d5)]('update\x20<agent-name>')[a2_0x3f63cf(0x31b)]('Update\x20an\x20existing\x20agent')[a2_0x3f63cf(0x1d7)]('--name\x20<text>','Agent\x20name')[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3cc),a2_0x3f63cf(0x330))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x3c7),a2_0x3f63cf(0x3d3))[a2_0x3f63cf(0x1d7)](a2_0x3f63cf(0x28c),'Starter\x20message')[a2_0x3f63cf(0x3a4)](async(_0x41f949,_0x5a86e6)=>{const _0x51b463=a2_0x3f63cf,_0x9804e0=new LLMAgentUpdateCommand(),_0x5a9950=program[_0x51b463(0x1e5)](),_0xf06689=await createTDXInstance(_0x5a9950),_0xe00ac3=await _0x9804e0[_0x51b463(0x2a7)]({'options':{..._0x5a9950,..._0x5a86e6},'args':[_0x41f949],'tdx':_0xf06689});gracefulExit(_0xe00ac3);}),agentSyncCmd['command'](a2_0x3f63cf(0x2df))['description'](a2_0x3f63cf(0x2c5))[a2_0x3f63cf(0x3a4)](async(_0x30f029,_0x3eea2c)=>{const _0x5a797a=a2_0x3f63cf,_0x131268=new LLMAgentDeleteCommand(),_0x47ee98=program[_0x5a797a(0x1e5)](),_0x4a5681=await createTDXInstance(_0x47ee98),_0x47672b=await _0x131268[_0x5a797a(0x2a7)]({'options':{..._0x47ee98,..._0x3eea2c},'args':[_0x30f029],'tdx':_0x4a5681});gracefulExit(_0x47672b);}),program[a2_0x3f63cf(0x3d5)](a2_0x3f63cf(0x175),{'hidden':!![]})[a2_0x3f63cf(0x3a4)](()=>{const _0x12e02d=a2_0x3f63cf;function _0x344d79(_0x2cce58,_0x4bbabd){const _0x3e0daa=a2_0x3155,_0x2e2e0d=[];for(const _0x261ae8 of _0x2cce58['commands']){if(_0x261ae8[_0x3e0daa(0x170)])continue;const _0x411057=_0x4bbabd?_0x4bbabd+'\x20'+_0x261ae8[_0x3e0daa(0x3bf)]():_0x261ae8['name'](),_0x526c8c=_0x411057['split']('\x20')[0x0],_0x40b4e4=COMMAND_CATEGORIES['find'](_0x4fda2e=>_0x4fda2e[_0x3e0daa(0x140)][_0x3e0daa(0x1ca)](_0x526c8c)),_0x35b577=_0x40b4e4?.[_0x3e0daa(0x3bf)]??'';if(_0x261ae8[_0x3e0daa(0x140)]['length']>0x0)_0x2e2e0d[_0x3e0daa(0x231)](..._0x344d79(_0x261ae8,_0x411057));else{const _0x805f10=(_0x261ae8[_0x3e0daa(0x1d6)]||[])[_0x3e0daa(0x354)](_0x5747a5=>{const _0x350e16=_0x3e0daa,_0x1c57ba=_0x5747a5[_0x350e16(0x246)]?_0x5747a5[_0x350e16(0x3bf)]()+_0x350e16(0x1c8):_0x5747a5[_0x350e16(0x3bf)]();return _0x5747a5[_0x350e16(0x377)]?'<'+_0x1c57ba+'>':'['+_0x1c57ba+']';})[_0x3e0daa(0x149)]('\x20'),_0x1216f2=_0x261ae8['options'][_0x3e0daa(0x34b)](_0x19856a=>!_0x19856a[_0x3e0daa(0x168)]&&_0x19856a['long']!=='--help')[_0x3e0daa(0x354)](_0x5262d7=>({'flags':_0x5262d7['flags'],'description':_0x5262d7[_0x3e0daa(0x31b)]}));_0x2e2e0d['push']({'name':_0x411057,'description':_0x261ae8[_0x3e0daa(0x31b)](),'group':_0x35b577,'usage':_0x805f10,'options':_0x1216f2});}}return _0x2e2e0d;}console[_0x12e02d(0x2aa)](JSON[_0x12e02d(0x2e1)](_0x344d79(program,''))),process[_0x12e02d(0x327)](0x0);});export{program};export function runCLI(){const _0x5aa6da=a2_0x3f63cf,_0x4f2e96=!process[_0x5aa6da(0x38c)][_0x5aa6da(0x188)](0x2)[_0x5aa6da(0x296)];showBriefHelp=_0x4f2e96,program['parse'](process[_0x5aa6da(0x38c)]);_0x4f2e96&&program[_0x5aa6da(0x1f3)]();const _0x5a8312=process[_0x5aa6da(0x38c)][0x2]==='upgrade';if(process[_0x5aa6da(0x36c)]['isTTY']&&process[_0x5aa6da(0x38c)][_0x5aa6da(0x296)]>0x2&&!isDevVersion()&&!_0x5a8312){const _0xd8243e=loadReleaseChannel();checkForUpdate(currentVersion,_0xd8243e)[_0x5aa6da(0x1f2)](_0x5e5883=>{_0x5e5883&&displayUpdateNotification(_0x5e5883);})[_0x5aa6da(0x343)](()=>{});}}