@treasuredata/tdx 0.28.4 → 0.28.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) 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/use-command.js +1 -1
  47. package/dist/commands/user-command.js +1 -1
  48. package/dist/commands/workflow-command.js +1 -1
  49. package/dist/core/auth.js +1 -1
  50. package/dist/core/command-output.js +1 -1
  51. package/dist/core/config.js +1 -1
  52. package/dist/core/connection-cache.js +1 -1
  53. package/dist/core/constants.js +1 -1
  54. package/dist/core/credential-cache.js +1 -1
  55. package/dist/core/global-context.js +1 -1
  56. package/dist/core/keychain.js +1 -1
  57. package/dist/core/profile.js +1 -1
  58. package/dist/core/project-config.js +1 -1
  59. package/dist/core/session.js +1 -1
  60. package/dist/core/user-cache.js +1 -1
  61. package/dist/core/version.js +1 -1
  62. package/dist/index.js +1 -1
  63. package/dist/mcp/server.js +1 -1
  64. package/dist/mcp/tools/index.js +1 -1
  65. package/dist/mcp/tools/tdx-run.js +1 -1
  66. package/dist/mcp/tools/tdx-search.js +1 -1
  67. package/dist/mcp/utils.js +1 -1
  68. package/dist/proxy/claude-usage-tracker.js +1 -1
  69. package/dist/proxy/passthrough-server.js +1 -1
  70. package/dist/proxy/sse-usage-parser.js +1 -1
  71. package/dist/sdk/agent/agent-config.js +1 -1
  72. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  73. package/dist/sdk/agent/agent-yaml.js +1 -1
  74. package/dist/sdk/agent/test/evaluator.js +1 -1
  75. package/dist/sdk/agent/test/executor.js +1 -1
  76. package/dist/sdk/agent/test/index.js +1 -1
  77. package/dist/sdk/agent/test/output.js +1 -1
  78. package/dist/sdk/agent/test/parser.js +1 -1
  79. package/dist/sdk/agent/tool-target-registry.js +1 -1
  80. package/dist/sdk/api.js +1 -1
  81. package/dist/sdk/client/cdp-api-client.js +1 -1
  82. package/dist/sdk/client/delivery-api-client.js +1 -1
  83. package/dist/sdk/client/endpoints.js +1 -1
  84. package/dist/sdk/client/engage-api-client.js +1 -1
  85. package/dist/sdk/client/http-client.js +1 -1
  86. package/dist/sdk/client/llm-api-client.js +1 -1
  87. package/dist/sdk/client/rate-limiter.js +1 -1
  88. package/dist/sdk/client/td-api-client.js +1 -1
  89. package/dist/sdk/client/trino-api-client.js +1 -1
  90. package/dist/sdk/client/workflow-client.js +1 -1
  91. package/dist/sdk/connection-validator.js +1 -1
  92. package/dist/sdk/connection.js +1 -1
  93. package/dist/sdk/delivery.js +1 -1
  94. package/dist/sdk/engage/campaign-pull.js +1 -1
  95. package/dist/sdk/engage/campaign-push.js +1 -1
  96. package/dist/sdk/engage/campaign-validator.js +1 -1
  97. package/dist/sdk/engage/campaign-yaml.js +1 -1
  98. package/dist/sdk/engage/types/campaign-def.js +1 -1
  99. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  100. package/dist/sdk/engage.js +1 -1
  101. package/dist/sdk/errors.js +1 -1
  102. package/dist/sdk/index.js +1 -1
  103. package/dist/sdk/io/index.js +1 -1
  104. package/dist/sdk/io/node-filesystem.js +1 -1
  105. package/dist/sdk/job.js +1 -1
  106. package/dist/sdk/journey.js +1 -1
  107. package/dist/sdk/llm/chat-cache.js +1 -1
  108. package/dist/sdk/llm/index.js +1 -1
  109. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  110. package/dist/sdk/llm/model-factors.js +1 -1
  111. package/dist/sdk/personalization.js +1 -1
  112. package/dist/sdk/query/index.js +1 -1
  113. package/dist/sdk/query/sql-parser.js +1 -1
  114. package/dist/sdk/realtime.js +1 -1
  115. package/dist/sdk/schedule.js +1 -1
  116. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  117. package/dist/sdk/segment/fields-display.js +1 -1
  118. package/dist/sdk/segment/file-discovery.js +1 -1
  119. package/dist/sdk/segment/journey-utils.js +1 -1
  120. package/dist/sdk/segment/journey-validator.js +1 -1
  121. package/dist/sdk/segment/journey-yaml.js +1 -1
  122. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  123. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  124. package/dist/sdk/segment/pull-workflow.js +1 -1
  125. package/dist/sdk/segment/push-recovery.js +1 -1
  126. package/dist/sdk/segment/push-workflow.js +1 -1
  127. package/dist/sdk/segment/resolution-context.js +1 -1
  128. package/dist/sdk/segment/segment-path-parser.js +1 -1
  129. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  130. package/dist/sdk/segment/target-resolution.js +1 -1
  131. package/dist/sdk/segment/tdx-config.js +1 -1
  132. package/dist/sdk/segment/validate-files.js +1 -1
  133. package/dist/sdk/segment/yaml-validator.js +1 -1
  134. package/dist/sdk/segment.js +1 -1
  135. package/dist/sdk/types/index.js +1 -1
  136. package/dist/sdk/types/progress.js +1 -1
  137. package/dist/sdk/user.js +1 -1
  138. package/dist/sdk/util/format-detector.js +1 -1
  139. package/dist/sdk/util/formatters.js +1 -1
  140. package/dist/sdk/util/index.js +1 -1
  141. package/dist/sdk/util/tree-formatter.js +1 -1
  142. package/dist/sdk/workflow/archive-validation.js +1 -1
  143. package/dist/sdk/workflow/clone-workflow.js +1 -1
  144. package/dist/sdk/workflow/index.js +1 -1
  145. package/dist/sdk/workflow/pull-workflow.js +1 -1
  146. package/dist/sdk/workflow/push-workflow.js +1 -1
  147. package/dist/sdk/workflow/tdx-config.js +1 -1
  148. package/dist/sdk/workflow/workflow-utils.js +1 -1
  149. package/dist/test-utils/command-runner.js +1 -1
  150. package/dist/test-utils/factories.js +1 -1
  151. package/dist/test-utils/fixtures.js +1 -1
  152. package/dist/test-utils/http-mock.js +1 -1
  153. package/dist/test-utils/index.js +1 -1
  154. package/dist/utils/async.js +1 -1
  155. package/dist/utils/colors.js +1 -1
  156. package/dist/utils/diff.js +1 -1
  157. package/dist/utils/file-permissions.js +1 -1
  158. package/dist/utils/global-cache.js +1 -1
  159. package/dist/utils/json-loader.js +1 -1
  160. package/dist/utils/local-cache.js +1 -1
  161. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  162. package/dist/utils/logger/formatters/index.js +1 -1
  163. package/dist/utils/logger/handlers/console-handler.js +1 -1
  164. package/dist/utils/logger/handlers/file-handler.js +1 -1
  165. package/dist/utils/logger/handlers/index.js +1 -1
  166. package/dist/utils/logger/handlers/null-handler.js +1 -1
  167. package/dist/utils/logger/index.js +1 -1
  168. package/dist/utils/logger/logger.js +1 -1
  169. package/dist/utils/logger/types.js +1 -1
  170. package/dist/utils/option-validation.js +1 -1
  171. package/dist/utils/process.js +1 -1
  172. package/dist/utils/prompt.js +1 -1
  173. package/dist/utils/spinner.js +1 -1
  174. package/dist/utils/sse-parser.js +1 -1
  175. package/dist/utils/string-utils.js +1 -1
  176. package/dist/utils/table-ref-parser.js +1 -1
  177. package/dist/utils/tdx-logger.js +1 -1
  178. package/dist/utils/version-check.js +1 -1
  179. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x46ebb0=a2_0x17f4;(function(_0xe61b95,_0xaa716a){const _0x39f4cf=a2_0x17f4,_0x30dec6=_0xe61b95();while(!![]){try{const _0x5b0382=-parseInt(_0x39f4cf(0x118))/0x1+-parseInt(_0x39f4cf(0x147))/0x2+parseInt(_0x39f4cf(0x106))/0x3*(-parseInt(_0x39f4cf(0x38c))/0x4)+parseInt(_0x39f4cf(0x16a))/0x5*(-parseInt(_0x39f4cf(0x214))/0x6)+parseInt(_0x39f4cf(0x249))/0x7+parseInt(_0x39f4cf(0x243))/0x8*(-parseInt(_0x39f4cf(0x258))/0x9)+-parseInt(_0x39f4cf(0x1ed))/0xa*(-parseInt(_0x39f4cf(0x1f2))/0xb);if(_0x5b0382===_0xaa716a)break;else _0x30dec6['push'](_0x30dec6['shift']());}catch(_0x17c939){_0x30dec6['push'](_0x30dec6['shift']());}}}(a2_0x4dc1,0x30e7b));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{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv'][a2_0x46ebb0(0x252)]('--version')){let versionOutput=a2_0x46ebb0(0x277)+currentVersion;buildInfo[a2_0x46ebb0(0x196)]&&!currentVersion['includes'](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x46ebb0(0x196)]+')'),buildInfo[a2_0x46ebb0(0x1f1)]&&(versionOutput+=a2_0x46ebb0(0x312)+buildInfo[a2_0x46ebb0(0x1f1)]),console[a2_0x46ebb0(0x2eb)](versionOutput),process['exit'](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x46ebb0(0x22d);buildInfo[a2_0x46ebb0(0x196)]&&!currentVersion[a2_0x46ebb0(0x252)](buildInfo[a2_0x46ebb0(0x196)])?description+=a2_0x46ebb0(0x338)+currentVersion+'\x20('+buildInfo[a2_0x46ebb0(0x196)]+')':description+=',\x20version\x20'+currentVersion;program['name'](a2_0x46ebb0(0x25c))['description'](description),program[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2cf),a2_0x46ebb0(0x2b5))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1af),a2_0x46ebb0(0x105))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x320),a2_0x46ebb0(0x1b9),a2_0x46ebb0(0x324))[a2_0x46ebb0(0x25e)]('--format\x20<format>',a2_0x46ebb0(0x1ab))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2dc),a2_0x46ebb0(0x16d))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x34d),a2_0x46ebb0(0x207))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x250),a2_0x46ebb0(0x30e))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x264),a2_0x46ebb0(0x390))[a2_0x46ebb0(0x25e)]('--output\x20<file>','Save\x20output\x20to\x20file')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2b4),a2_0x46ebb0(0x275))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x235),a2_0x46ebb0(0x1de),![])[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x150),a2_0x46ebb0(0x35c),![])[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x241),a2_0x46ebb0(0x23a),![])[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2e2),a2_0x46ebb0(0x2a2))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3a9),a2_0x46ebb0(0x231))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x36c),a2_0x46ebb0(0x37a),'30')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x285),a2_0x46ebb0(0x232),![])[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x274),a2_0x46ebb0(0x318),![])[a2_0x46ebb0(0x25e)]('--session\x20<id>',a2_0x46ebb0(0x240))['option']('--parent-segment\x20<name>',a2_0x46ebb0(0x170))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x181),a2_0x46ebb0(0x15d)),program[a2_0x46ebb0(0x1d7)]({'formatHelp':(_0x8fb512,_0xfce493)=>{const _0x1d0721=a2_0x46ebb0,_0x384d51=_0xfce493[_0x1d0721(0x1a4)](_0x8fb512,_0xfce493),_0x3060af=0x2,_0x231853=0x2;function _0x2faa99(_0x5d52a9){const _0x426cd8=_0x1d0721,_0x305cde=_0x5d52a9;return!!(_0x305cde[_0x426cd8(0x32c)]||_0x305cde['hidden']);}function _0x3f17d2(_0x13716b,_0x23093a){const _0x3394e3=_0x1d0721;if(_0x23093a){const _0x31d5db=''+_0x13716b[_0x3394e3(0x1b8)](_0x384d51+_0x231853)+_0x23093a;return _0x31d5db;}return _0x13716b;}function _0xa56dc6(_0x530d0b){const _0x5524f2=_0x1d0721;return _0x530d0b[_0x5524f2(0x1bd)]('\x0a')[_0x5524f2(0x12d)](/^/gm,'\x20'[_0x5524f2(0x144)](_0x3060af));}const _0x3cdf45=[];_0x3cdf45['push'](_0x1d0721(0x32b)+_0xfce493[_0x1d0721(0x340)](_0x8fb512));const _0x3af9c8=_0xfce493[_0x1d0721(0x361)](_0x8fb512);_0x3af9c8&&(_0x3cdf45[_0x1d0721(0x2fb)](''),_0x3cdf45[_0x1d0721(0x2fb)](_0x3af9c8));const _0x30c63f=_0x8fb512[_0x1d0721(0x362)][_0x1d0721(0x25a)](_0x51df10=>!_0x2faa99(_0x51df10));if(_0x30c63f[_0x1d0721(0x2cc)]>0x0){if(_0x8fb512['name']()===_0x1d0721(0x25c)){const _0x201f8f=_0x8fb512['opts'](),_0x18a15=!_0x201f8f[_0x1d0721(0x102)]&&process[_0x1d0721(0x104)][_0x1d0721(0x20c)],_0x40cb14=COMMAND_CATEGORIES,_0x37dafb=(_0x3dc0c3,_0x11538e)=>_0x18a15?_0x11538e(_0x3dc0c3):_0x3dc0c3,_0x7c68f9=new Map();_0x30c63f[_0x1d0721(0x2cd)](_0x41b15a=>{const _0x3702dd=_0x1d0721;_0x7c68f9[_0x3702dd(0x169)](_0x41b15a[_0x3702dd(0x271)](),_0x41b15a);}),_0x40cb14[_0x1d0721(0x2cd)](_0x45c194=>{const _0x373344=_0x1d0721,_0x1b6903=_0x45c194[_0x373344(0x362)][_0x373344(0x39b)](_0x1a15eb=>_0x7c68f9[_0x373344(0x225)](_0x1a15eb)??[]);if(_0x1b6903[_0x373344(0x2cc)]>0x0){_0x3cdf45[_0x373344(0x2fb)](''),_0x3cdf45[_0x373344(0x2fb)](_0x37dafb(_0x45c194[_0x373344(0x271)]+':',_0x45c194[_0x373344(0x2ad)]));const _0x379d2d=_0x1b6903[_0x373344(0x329)](_0x2862c7=>{const _0x57765e=_0x373344,_0x1c26af=_0xfce493[_0x57765e(0x1fe)](_0x2862c7),_0x25e265=_0xfce493['subcommandDescription'](_0x2862c7);return _0x3f17d2(_0x1c26af,_0x25e265);});_0x3cdf45[_0x373344(0x2fb)](_0xa56dc6(_0x379d2d));}}),_0x3cdf45['push'](''),_0x3cdf45[_0x1d0721(0x2fb)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x3fa5bd=_0x30c63f[_0x1d0721(0x329)](_0x4106bb=>{const _0x31ed0b=_0x1d0721,_0x14d47d=_0xfce493[_0x31ed0b(0x1fe)](_0x4106bb),_0xd1e036=_0xfce493[_0x31ed0b(0x280)](_0x4106bb);return _0x3f17d2(_0x14d47d,_0xd1e036);});_0x3cdf45[_0x1d0721(0x2fb)](''),_0x3cdf45[_0x1d0721(0x2fb)]('Commands:'),_0x3cdf45[_0x1d0721(0x2fb)](_0xa56dc6(_0x3fa5bd));}}if(showBriefHelp&&_0x8fb512[_0x1d0721(0x271)]()===_0x1d0721(0x25c))_0x3cdf45[_0x1d0721(0x2fb)](''),_0x3cdf45[_0x1d0721(0x2fb)](_0x1d0721(0x1dc));else{const _0x392704=_0x8fb512[_0x1d0721(0x108)][_0x1d0721(0x25a)](_0x28016d=>!_0x2faa99(_0x28016d));if(_0x392704[_0x1d0721(0x2cc)]>0x0){const _0x10d81e=_0x392704[_0x1d0721(0x329)](_0x3847d2=>{const _0x44d756=_0x1d0721,_0x3653e1=_0xfce493[_0x44d756(0x1b5)](_0x3847d2),_0x1526cb=_0xfce493[_0x44d756(0x272)](_0x3847d2);return _0x3f17d2(_0x3653e1,_0x1526cb);});_0x3cdf45[_0x1d0721(0x2fb)](''),_0x3cdf45['push']('Options:'),_0x3cdf45['push'](_0xa56dc6(_0x10d81e));}}const _0x45cca7=(_0x8fb512['registeredArguments']||[])[_0x1d0721(0x25a)](_0x1f1adc=>!_0x2faa99(_0x1f1adc));if(_0x45cca7[_0x1d0721(0x2cc)]>0x0){const _0x22331c=_0x45cca7[_0x1d0721(0x329)](_0x4ef89d=>{const _0x5df359=_0x1d0721,_0xec513f=_0xfce493[_0x5df359(0x1c5)](_0x4ef89d),_0x52b179=_0xfce493[_0x5df359(0x393)](_0x4ef89d);return _0x3f17d2(_0xec513f,_0x52b179);});_0x3cdf45[_0x1d0721(0x2fb)](''),_0x3cdf45[_0x1d0721(0x2fb)](_0x1d0721(0x34c)),_0x3cdf45['push'](_0xa56dc6(_0x22331c));}return _0x3cdf45['join']('\x0a')+'\x0a';},'subcommandTerm':_0x552e48=>{const _0x2a1f3c=a2_0x46ebb0,_0x1bb37d=(_0x552e48[_0x2a1f3c(0x113)]||[])['map'](_0x1de4f6=>_0x1de4f6[_0x2a1f3c(0x2f9)]?'<'+_0x1de4f6[_0x2a1f3c(0x271)]()+'>':'['+_0x1de4f6[_0x2a1f3c(0x271)]()+']')[_0x2a1f3c(0x1bd)]('\x20'),_0x1c7d21=_0x552e48['aliases'](),_0x725797=_0x1c7d21['length']>0x0?_0x552e48[_0x2a1f3c(0x271)]()+',\x20'+_0x1c7d21['join'](',\x20'):_0x552e48[_0x2a1f3c(0x271)]();return _0x1bb37d?_0x725797+'\x20'+_0x1bb37d:_0x725797;}}),program['hook'](a2_0x46ebb0(0x2db),_0x2d24a2=>{const _0x346cfe=a2_0x46ebb0,_0x4798b8=_0x2d24a2[_0x346cfe(0x224)]();if(_0x4798b8[_0x346cfe(0x200)]){const _0x484cb2=resolve(_0x4798b8[_0x346cfe(0x200)]),_0x5da318=_0x484cb2!==_0x4798b8[_0x346cfe(0x200)]?'\x20(resolved\x20to\x20'+_0x484cb2+')':'';if(!existsSync(_0x484cb2))throw new SDKError(ErrorCode[_0x346cfe(0x19a)],_0x346cfe(0x1f6)+_0x4798b8[_0x346cfe(0x200)]+_0x5da318,undefined,{'helpText':_0x346cfe(0x2e0)});const _0x43d379=statSync(_0x484cb2);if(!_0x43d379['isDirectory']())throw new SDKError(ErrorCode[_0x346cfe(0x19a)],_0x346cfe(0x14a)+_0x4798b8[_0x346cfe(0x200)]+_0x5da318,undefined,{'helpText':_0x346cfe(0x184)});process['chdir'](_0x484cb2);}if(!_0x4798b8[_0x346cfe(0x33b)]){if(_0x4798b8[_0x346cfe(0x212)])_0x4798b8[_0x346cfe(0x33b)]=_0x346cfe(0x212);else{if(_0x4798b8['json'])_0x4798b8[_0x346cfe(0x33b)]=_0x346cfe(0x2b0);else{if(_0x4798b8[_0x346cfe(0x360)])_0x4798b8[_0x346cfe(0x33b)]=_0x346cfe(0x360);else _0x4798b8[_0x346cfe(0x358)]&&(_0x4798b8['format']=_0x346cfe(0x358));}}}if(_0x4798b8['trace'])_0x4798b8[_0x346cfe(0x159)]=LogLevel['TRACE'];else{if(_0x4798b8[_0x346cfe(0x351)])_0x4798b8[_0x346cfe(0x159)]=LogLevel[_0x346cfe(0x356)];else _0x4798b8[_0x346cfe(0x159)]===undefined&&(_0x4798b8[_0x346cfe(0x159)]=LogLevel[_0x346cfe(0x352)]);}});async function createTDXInstance(_0x22b250){const _0x5bc809=a2_0x46ebb0,_0x3d91a4=await GlobalContext[_0x5bc809(0x263)](_0x22b250);return _0x3d91a4['injectIntoOptions'](_0x22b250),TDX[_0x5bc809(0x1d2)]({'site':_0x3d91a4[_0x5bc809(0x1db)],'apiKey':_0x3d91a4[_0x5bc809(0x202)],'logLevel':_0x3d91a4['logLevel'],'profile':_0x3d91a4['profile']});}const databaseCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x31c))[a2_0x46ebb0(0x1c8)]('db')[a2_0x46ebb0(0x218)]('Database\x20management\x20commands'),databaseListAction=async(_0x536bf6,_0x49e49a)=>{const _0x512bef=a2_0x46ebb0,_0x5e7384=new DatabasesCommand(),_0x319bde=program['opts'](),_0x2fd735=await createTDXInstance(_0x319bde),_0x37f853=await _0x5e7384[_0x512bef(0x13f)]({'options':{..._0x319bde,..._0x49e49a},'args':_0x536bf6?[_0x536bf6]:[],'tdx':_0x2fd735});gracefulExit(_0x37f853);};databaseCmd[a2_0x46ebb0(0x1b4)]('list\x20[pattern]')['description'](a2_0x46ebb0(0x2f3))[a2_0x46ebb0(0x209)](databaseListAction),program[a2_0x46ebb0(0x1b4)]('databases\x20[pattern]',{'hidden':!![]})['description'](a2_0x46ebb0(0x321))[a2_0x46ebb0(0x209)](databaseListAction),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x143))[a2_0x46ebb0(0x218)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')['option'](a2_0x46ebb0(0x157),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')['option'](a2_0x46ebb0(0x1d3),a2_0x46ebb0(0x246))['option'](a2_0x46ebb0(0x284),a2_0x46ebb0(0x205))['option'](a2_0x46ebb0(0x30b),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x46ebb0(0x209)](async(_0x58dc95,_0x35094c)=>{const _0x323c64=a2_0x46ebb0,_0x9b5423=program['opts'](),_0x5ccc52=await createTDXInstance(_0x9b5423);if(_0x58dc95[0x0]===_0x323c64(0x1d2)){const _0x5d72dc=new ChatCreateCommand();gracefulExit(await _0x5d72dc[_0x323c64(0x13f)]({'options':{..._0x9b5423,..._0x35094c},'args':_0x58dc95[_0x323c64(0x342)](0x1),'tdx':_0x5ccc52}));return;}const _0x55214d=new ChatCommand(),_0x348417=await _0x55214d[_0x323c64(0x13f)]({'options':{..._0x9b5423,..._0x35094c},'args':_0x58dc95,'tdx':_0x5ccc52});gracefulExit(_0x348417);});const apiCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x307))[a2_0x46ebb0(0x398)](a2_0x46ebb0(0x20f))[a2_0x46ebb0(0x182)](a2_0x46ebb0(0x2f2),a2_0x46ebb0(0x31f))[a2_0x46ebb0(0x25e)]('-X,\x20--method\x20<method>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x46ebb0(0x21e))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x11d),a2_0x46ebb0(0x367))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x379),a2_0x46ebb0(0x1f7))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x28d),a2_0x46ebb0(0x2f4),(_0x59d737,_0x533771)=>{return _0x533771?[..._0x533771,_0x59d737]:[_0x59d737];})[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x251),a2_0x46ebb0(0x2e5),'td')[a2_0x46ebb0(0x209)](async(_0x571411,_0x3158e0)=>{const _0x2b20af=a2_0x46ebb0;if(!_0x571411){apiCmd[_0x2b20af(0x39d)]();return;}const _0x2e5a21=new ApiCommand(),_0x4d92f2=program['opts'](),_0xf6d7ea=await createTDXInstance(_0x4d92f2),_0x1d394d=await _0x2e5a21['run']({'options':{..._0x4d92f2,..._0x3158e0},'args':[_0x571411],'tdx':_0xf6d7ea});gracefulExit(_0x1d394d);});program['command']('mcp')['description'](a2_0x46ebb0(0x195))['addHelpText']('after','\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,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')['action'](async _0x564799=>{const _0x1e0afc=a2_0x46ebb0,_0xe208ac=new MCPCommand(),_0x11bbc4=program[_0x1e0afc(0x224)](),_0xf5d7d=await createTDXInstance(_0x11bbc4),_0x23d4ed=await _0xe208ac[_0x1e0afc(0x13f)]({'options':{..._0x11bbc4,..._0x564799},'args':[],'tdx':_0xf5d7d});gracefulExit(_0x23d4ed);});const tableCmd=program[a2_0x46ebb0(0x1b4)]('table')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x10b)),tableListAction=async(_0x3b2c0f,_0x2853a0)=>{const _0x180738=a2_0x46ebb0,_0x20f136=new TablesCommand(),_0xc6022=program['opts'](),_0x3f0ddc=await createTDXInstance(_0xc6022);_0x2853a0['in']&&(_0x2853a0[_0x180738(0x31c)]=_0x2853a0['in']);const _0x4ed81f=await _0x20f136[_0x180738(0x13f)]({'options':{..._0xc6022,..._0x2853a0},'args':_0x3b2c0f?[_0x3b2c0f]:[],'tdx':_0x3f0ddc});gracefulExit(_0x4ed81f);};tableCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1df))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x145))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x32a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')['option'](a2_0x46ebb0(0x127),a2_0x46ebb0(0x3b1))[a2_0x46ebb0(0x209)](tableListAction),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1cb),{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x317))[a2_0x46ebb0(0x25e)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x127),a2_0x46ebb0(0x3b1))['action'](tableListAction),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x180))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x22f))[a2_0x46ebb0(0x25e)]('-d,\x20--database\x20<database>',a2_0x46ebb0(0x1c9))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x127),a2_0x46ebb0(0x3b1))['action'](async(_0x2f261b,_0x56f542)=>{const _0x34f3cb=a2_0x46ebb0,_0x382b0e=new ShowCommand(),_0x3c29fe=program[_0x34f3cb(0x224)](),_0x219b53=await createTDXInstance(_0x3c29fe);_0x56f542['in']&&(_0x56f542[_0x34f3cb(0x31c)]=_0x56f542['in']);const _0x250f8a=await _0x382b0e[_0x34f3cb(0x13f)]({'options':{..._0x3c29fe,..._0x56f542},'args':_0x2f261b?[_0x2f261b]:[],'tdx':_0x219b53});gracefulExit(_0x250f8a);}),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x17e))[a2_0x46ebb0(0x1c8)]('desc')['description'](a2_0x46ebb0(0x194))['option'](a2_0x46ebb0(0x32a),a2_0x46ebb0(0x1c9))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x127),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x46ebb0(0x209)](async(_0x4e8944,_0x56a156)=>{const _0x48e7c9=a2_0x46ebb0,_0x4d6bd4=new DescribeCommand(),_0x12bcea=program['opts'](),_0x3e3eb5=await createTDXInstance(_0x12bcea);_0x56a156['in']&&(_0x56a156[_0x48e7c9(0x31c)]=_0x56a156['in']);const _0xb8d071=await _0x4d6bd4[_0x48e7c9(0x13f)]({'options':{..._0x12bcea,..._0x56a156},'args':_0x4e8944?[_0x4e8944]:[],'tdx':_0x3e3eb5});gracefulExit(_0xb8d071);}),program['command'](a2_0x46ebb0(0x36e))['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')['option'](a2_0x46ebb0(0x32a),a2_0x46ebb0(0x267))[a2_0x46ebb0(0x25e)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x33d),'Trino\x20catalog\x20(default:\x20td)')[a2_0x46ebb0(0x25e)]('-f,\x20--file\x20<path>',a2_0x46ebb0(0x15e))['option'](a2_0x46ebb0(0x28f),a2_0x46ebb0(0x2e6),'40')[a2_0x46ebb0(0x209)](async(_0x31dcb1,_0x1cd99a)=>{const _0x53d90c=a2_0x46ebb0,_0x1546de=new QueryCommand(),_0x2d6f86=program[_0x53d90c(0x224)](),_0x18b298=await createTDXInstance(_0x2d6f86);_0x1cd99a['in']&&(_0x1cd99a[_0x53d90c(0x31c)]=_0x1cd99a['in']);const _0x46eb28=await _0x1546de[_0x53d90c(0x13f)]({'options':{..._0x2d6f86,..._0x1cd99a},'args':_0x31dcb1?[_0x31dcb1]:[],'tdx':_0x18b298});gracefulExit(_0x46eb28);});const segmentCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x283))['alias']('sg')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2df)),segmentListAction=async(_0x28d097,_0x4d7eff)=>{const _0x1e5472=a2_0x46ebb0,_0x40a2f6=new SegmentsCommand(),_0x499411=program[_0x1e5472(0x224)](),_0x156d78=await createTDXInstance(_0x499411),_0x20e105=await _0x40a2f6[_0x1e5472(0x13f)]({'options':{..._0x499411,..._0x4d7eff},'args':_0x28d097?[_0x28d097]:[],'tdx':_0x156d78});gracefulExit(_0x20e105);};segmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x16c))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x17d))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x304),a2_0x46ebb0(0x1ec))['option'](a2_0x46ebb0(0x193),a2_0x46ebb0(0x370),'10')[a2_0x46ebb0(0x209)](segmentListAction),program[a2_0x46ebb0(0x1b4)]('segments\x20[path]',{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x107))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x304),a2_0x46ebb0(0x1ec))[a2_0x46ebb0(0x25e)]('--max-depth\x20<depth>',a2_0x46ebb0(0x370),'10')[a2_0x46ebb0(0x209)](segmentListAction),segmentCmd[a2_0x46ebb0(0x1b4)]('use\x20<path>',{'hidden':!![]})['description'](a2_0x46ebb0(0x25b))[a2_0x46ebb0(0x209)](async(_0x22f9ec,_0xc8a01f)=>{const _0x412319=a2_0x46ebb0,_0x42367d=new SegmentUseCommand(),_0xa2bcfc=program['opts'](),_0x5ac8f6=await createTDXInstance(_0xa2bcfc),_0x4969c5=await _0x42367d[_0x412319(0x13f)]({'options':{..._0xa2bcfc,..._0xc8a01f},'args':[_0x22f9ec],'tdx':_0x5ac8f6});gracefulExit(_0x4969c5);});const segmentViewAction=async(_0x33293c,_0x27a025)=>{const _0x4bde57=a2_0x46ebb0,_0x35cd9c=new SegmentViewCommand(),_0x26373f=program['opts'](),_0x30717b=await createTDXInstance(_0x26373f),_0x32cc58=await _0x35cd9c[_0x4bde57(0x13f)]({'options':{..._0x26373f,..._0x27a025},'args':_0x33293c?[_0x33293c]:[],'tdx':_0x30717b});gracefulExit(_0x32cc58);};segmentCmd['command'](a2_0x46ebb0(0x1fd))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x3ad))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x288),a2_0x46ebb0(0x117))[a2_0x46ebb0(0x209)](segmentViewAction),segmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2e4),{'hidden':!![]})['alias'](a2_0x46ebb0(0x2ec))[a2_0x46ebb0(0x25e)]('-w,\x20--web',a2_0x46ebb0(0x117))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1cd))[a2_0x46ebb0(0x209)](segmentViewAction),segmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x32f))['description'](a2_0x46ebb0(0x39a))[a2_0x46ebb0(0x209)](async(_0x26cd7a,_0x8f1f55)=>{const _0x5099a6=a2_0x46ebb0,_0x182e19=new SegmentDescCommand(),_0x4f12c1=program['opts'](),_0x162a2f=await createTDXInstance(_0x4f12c1),_0x490b2e=await _0x182e19[_0x5099a6(0x13f)]({'options':{..._0x4f12c1,..._0x8f1f55},'args':_0x26cd7a?[_0x26cd7a]:[],'tdx':_0x162a2f});gracefulExit(_0x490b2e);}),segmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x37c))['description']('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x46ebb0(0x209)](async(_0x5998d2,_0x1c081f)=>{const _0x4c371f=a2_0x46ebb0,_0x241f28=new SegmentShowCommand(),_0x163a92=program[_0x4c371f(0x224)](),_0x221a74=await createTDXInstance(_0x163a92),_0x558066=await _0x241f28['run']({'options':{..._0x163a92,..._0x1c081f},'args':_0x5998d2?[_0x5998d2]:[],'tdx':_0x221a74});gracefulExit(_0x558066);}),segmentCmd['command'](a2_0x46ebb0(0x337),{'hidden':!![]})[a2_0x46ebb0(0x218)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')['action'](async(_0x831ba4,_0x23f996)=>{const _0x5d8033=a2_0x46ebb0,_0x3dbd84=new SegmentFolderListCommand(),_0x4b87bb=program[_0x5d8033(0x224)](),_0x10c674=await createTDXInstance(_0x4b87bb),_0x39fbe6=await _0x3dbd84[_0x5d8033(0x13f)]({'options':{..._0x4b87bb,..._0x23f996},'args':[_0x831ba4],'tdx':_0x10c674});gracefulExit(_0x39fbe6);});const folderCmd=segmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x18f),{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2de));folderCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x366))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x297))[a2_0x46ebb0(0x209)](async(_0x58b53c,_0xd957a4)=>{const _0x1ada38=a2_0x46ebb0,_0x3974f5=new SegmentFolderShowCommand(),_0x3e6d71=program[_0x1ada38(0x224)](),_0x54e9fa=await createTDXInstance(_0x3e6d71),_0x3b718d=await _0x3974f5[_0x1ada38(0x13f)]({'options':{..._0x3e6d71,..._0xd957a4},'args':[_0x58b53c],'tdx':_0x54e9fa});gracefulExit(_0x3b718d);}),segmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x120))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x21f))[a2_0x46ebb0(0x209)](async(_0x506352,_0x571978)=>{const _0x19e888=a2_0x46ebb0,_0x3a2b9d=new SegmentSQLCommand(),_0x32ceb6=program['opts'](),_0xc9bdb2=await createTDXInstance(_0x32ceb6),_0x2cb51c=await _0x3a2b9d[_0x19e888(0x13f)]({'options':{..._0x32ceb6,..._0x571978},'args':_0x506352?[_0x506352]:[],'tdx':_0xc9bdb2});gracefulExit(_0x2cb51c);}),segmentCmd['command']('fields\x20[parent_name]')['description'](a2_0x46ebb0(0x110))['action'](async(_0x31a44c,_0x1eda1e)=>{const _0x136a96=a2_0x46ebb0,_0x5215eb=new SegmentFieldsCommand(),_0xc59778=program[_0x136a96(0x224)](),_0x122c98=await createTDXInstance(_0xc59778),_0x5ccc97=await _0x5215eb[_0x136a96(0x13f)]({'options':{..._0xc59778,..._0x1eda1e},'args':_0x31a44c?[_0x31a44c]:[],'tdx':_0x122c98});gracefulExit(_0x5ccc97);}),segmentCmd['command'](a2_0x46ebb0(0x265))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x26a))['option'](a2_0x46ebb0(0x285),a2_0x46ebb0(0x29c))[a2_0x46ebb0(0x209)](async(_0x438a02,_0x3ee83d)=>{const _0x44b2e2=a2_0x46ebb0,_0x978603=new SegmentPullCommand(),_0x2a991f=program[_0x44b2e2(0x224)](),_0x432411=await createTDXInstance(_0x2a991f),_0x1726d2=await _0x978603[_0x44b2e2(0x13f)]({'options':{..._0x2a991f,..._0x3ee83d},'args':_0x438a02?[_0x438a02]:[],'tdx':_0x432411});gracefulExit(_0x1726d2);}),segmentCmd[a2_0x46ebb0(0x1b4)]('push\x20[parent_or_file]')[a2_0x46ebb0(0x218)]('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x285),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x347),a2_0x46ebb0(0x24e))['action'](async(_0xaba13e,_0x44093b)=>{const _0x39d68a=a2_0x46ebb0,_0x43a723=new SegmentPushCommand(),_0x55b4f4=program[_0x39d68a(0x224)](),_0x4b4908=await createTDXInstance(_0x55b4f4),_0x46b22a=await _0x43a723[_0x39d68a(0x13f)]({'options':{..._0x55b4f4,..._0x44093b},'args':_0xaba13e?[_0xaba13e]:[],'tdx':_0x4b4908});gracefulExit(_0x46b22a);}),segmentCmd['command'](a2_0x46ebb0(0x139))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x309))[a2_0x46ebb0(0x209)](async(_0x579b13,_0x371a34)=>{const _0x2c642c=a2_0x46ebb0,_0x2ac83b=new SegmentValidateCommand(),_0x38555c=program[_0x2c642c(0x224)](),_0x25d9f1=await createTDXInstance(_0x38555c),_0x5d19b1=await _0x2ac83b[_0x2c642c(0x13f)]({'options':{..._0x38555c,..._0x371a34},'args':_0x579b13?[_0x579b13]:[],'tdx':_0x25d9f1});gracefulExit(_0x5d19b1);}),segmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2c8),{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2af))['option']('--description\x20<text>',a2_0x46ebb0(0x188))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x29a),a2_0x46ebb0(0x199))['option'](a2_0x46ebb0(0x363),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3a6),a2_0x46ebb0(0x12a))[a2_0x46ebb0(0x25e)]('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x364),a2_0x46ebb0(0x1a9))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x149),a2_0x46ebb0(0x134))[a2_0x46ebb0(0x209)](async(_0x52117c,_0x3520c4)=>{const _0x2fd71c=a2_0x46ebb0,_0x577e65=new SegmentCreateCommand(),_0x37bb1e=program[_0x2fd71c(0x224)](),_0x2b6701=await createTDXInstance(_0x37bb1e),_0x447d22=await _0x577e65[_0x2fd71c(0x13f)]({'options':{..._0x37bb1e,..._0x3520c4},'args':[_0x52117c],'tdx':_0x2b6701});gracefulExit(_0x447d22);}),segmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x336),{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x296))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1a6),'New\x20segment\x20name')['option'](a2_0x46ebb0(0x287),'Updated\x20description')['option'](a2_0x46ebb0(0x29a),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x46ebb0(0x25e)]('--rule-file\x20<file>',a2_0x46ebb0(0x215))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3a6),a2_0x46ebb0(0x291))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x343),a2_0x46ebb0(0x256))[a2_0x46ebb0(0x209)](async(_0x1ca87c,_0x17d38e)=>{const _0x5da22c=a2_0x46ebb0,_0x23e85a=new SegmentUpdateCommand(),_0x4203b4=program[_0x5da22c(0x224)](),_0x2ef4b7=await createTDXInstance(_0x4203b4),_0x35d725=await _0x23e85a[_0x5da22c(0x13f)]({'options':{..._0x4203b4,..._0x17d38e},'args':[_0x1ca87c],'tdx':_0x2ef4b7});gracefulExit(_0x35d725);});const parentCmd=segmentCmd[a2_0x46ebb0(0x1b4)]('parent',{'hidden':!![]})['description']('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x3bc1bf,_0x4d0846)=>{const _0x34b6b6=a2_0x46ebb0,_0x211669=new ParentSegmentListCommand(),_0x5682c2=program[_0x34b6b6(0x224)](),_0x599b70=await createTDXInstance(_0x5682c2),_0x23598d=await _0x211669[_0x34b6b6(0x13f)]({'options':{..._0x5682c2,..._0x4d0846},'args':_0x3bc1bf?[_0x3bc1bf]:[],'tdx':_0x599b70});gracefulExit(_0x23598d);};parentCmd['command'](a2_0x46ebb0(0x1df))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x203))[a2_0x46ebb0(0x209)](parentListAction),segmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x239),{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1fb))[a2_0x46ebb0(0x209)](parentListAction),parentCmd['command'](a2_0x46ebb0(0x1da))[a2_0x46ebb0(0x218)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x19d),a2_0x46ebb0(0x217))['action'](async(_0x1b0103,_0x242827)=>{const _0x5b606b=a2_0x46ebb0,_0x23518d=new ParentSegmentPullCommand(),_0x5d1b25=program[_0x5b606b(0x224)](),_0x420f4e=await createTDXInstance(_0x5d1b25),_0x2beebf=await _0x23518d[_0x5b606b(0x13f)]({'options':{..._0x5d1b25,..._0x242827},'args':_0x1b0103?[_0x1b0103]:[],'tdx':_0x420f4e});gracefulExit(_0x2beebf);}),parentCmd[a2_0x46ebb0(0x1b4)]('push\x20[file]')[a2_0x46ebb0(0x218)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x46ebb0(0x209)](async(_0x448506,_0x2a9545)=>{const _0x3c65f1=new ParentSegmentPushCommand(),_0x2a3c07=program['opts'](),_0x2ed714=await createTDXInstance(_0x2a3c07),_0x32f45d=await _0x3c65f1['run']({'options':{..._0x2a3c07,..._0x2a9545},'args':_0x448506?[_0x448506]:[],'tdx':_0x2ed714});gracefulExit(_0x32f45d);}),parentCmd['command'](a2_0x46ebb0(0x162))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x279))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x222),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x46ebb0(0x3a8),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option']('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x325),a2_0x46ebb0(0x255))[a2_0x46ebb0(0x25e)]('--interval\x20<range>',a2_0x46ebb0(0x11a),a2_0x46ebb0(0x137))[a2_0x46ebb0(0x209)](async(_0x29932,_0x152751)=>{const _0x507339=a2_0x46ebb0,_0x105ec6=new ParentSegmentValidateCommand(),_0x15e047=program[_0x507339(0x224)](),_0x34e5d7=await createTDXInstance(_0x15e047),_0x15f63e=await _0x105ec6[_0x507339(0x13f)]({'options':{..._0x15e047,..._0x152751},'args':_0x29932?[_0x29932]:[],'tdx':_0x34e5d7});gracefulExit(_0x15f63e);}),parentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x153))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x322))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x222),a2_0x46ebb0(0x183))[a2_0x46ebb0(0x25e)]('--attribute\x20[name]',a2_0x46ebb0(0x138))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x290),a2_0x46ebb0(0x35b))[a2_0x46ebb0(0x25e)]('--enriched','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x46ebb0(0x3b0),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x46ebb0(0x137))['action'](async(_0x4e3c17,_0x46b108)=>{const _0x4bcbfd=a2_0x46ebb0,_0x41bb36=new ParentSegmentPreviewCommand(),_0x12c592=program[_0x4bcbfd(0x224)](),_0x49e49c=await createTDXInstance(_0x12c592),_0x1dc0d3=await _0x41bb36['run']({'options':{..._0x12c592,..._0x46b108},'args':_0x4e3c17?[_0x4e3c17]:[],'tdx':_0x49e49c});gracefulExit(_0x1dc0d3);}),parentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x177))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x388))['action'](async(_0x363b02,_0x1ba4e4)=>{const _0x305039=a2_0x46ebb0,_0x4ad715=new ParentSegmentRunCommand(),_0x213bbc=program[_0x305039(0x224)](),_0x19847c=await createTDXInstance(_0x213bbc),_0xf9cdfa=await _0x4ad715['run']({'options':{..._0x213bbc,..._0x1ba4e4},'args':_0x363b02?[_0x363b02]:[],'tdx':_0x19847c});gracefulExit(_0xf9cdfa);});const parentSegmentCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2b6))[a2_0x46ebb0(0x1c8)]('ps')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x37d));parentSegmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1df))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x203))[a2_0x46ebb0(0x209)](parentListAction),parentSegmentCmd['command']('pull\x20[name]')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x27f))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x19d),a2_0x46ebb0(0x216))['option'](a2_0x46ebb0(0x213),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x46ebb0(0x209)](async(_0x4750eb,_0x3d1500)=>{const _0x11cd38=a2_0x46ebb0,_0x5dd32b=new ParentSegmentPullCommand(),_0x52b9a2=program[_0x11cd38(0x224)](),_0x1b0860=await createTDXInstance(_0x52b9a2),_0x46f8c4=await _0x5dd32b[_0x11cd38(0x13f)]({'options':{..._0x52b9a2,..._0x3d1500},'args':_0x4750eb?[_0x4750eb]:[],'tdx':_0x1b0860});gracefulExit(_0x46f8c4);}),parentSegmentCmd[a2_0x46ebb0(0x1b4)]('push\x20[name]')[a2_0x46ebb0(0x218)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x446cf7,_0x739902)=>{const _0x47ef0c=a2_0x46ebb0,_0x4e48fb=new ParentSegmentPushCommand(),_0x475f9c=program[_0x47ef0c(0x224)](),_0x1d00eb=await createTDXInstance(_0x475f9c),_0x3ecff9=await _0x4e48fb[_0x47ef0c(0x13f)]({'options':{..._0x475f9c,..._0x739902},'args':_0x446cf7?[_0x446cf7]:[],'tdx':_0x1d00eb});gracefulExit(_0x3ecff9);}),parentSegmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x268))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x279))['option'](a2_0x46ebb0(0x222),a2_0x46ebb0(0x2c5))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3a8),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x46ebb0(0x290),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x325),a2_0x46ebb0(0x255))[a2_0x46ebb0(0x25e)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x46ebb0(0x137))['action'](async(_0x238386,_0x5a582c)=>{const _0x4904a8=a2_0x46ebb0,_0x1ef9bb=new ParentSegmentValidateCommand(),_0x3e95ea=program['opts'](),_0x150922=await createTDXInstance(_0x3e95ea),_0x3ef331=await _0x1ef9bb[_0x4904a8(0x13f)]({'options':{..._0x3e95ea,..._0x5a582c},'args':_0x238386?[_0x238386]:[],'tdx':_0x150922});gracefulExit(_0x3ef331);}),parentSegmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x206))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x322))['option'](a2_0x46ebb0(0x222),a2_0x46ebb0(0x183))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3a8),a2_0x46ebb0(0x138))[a2_0x46ebb0(0x25e)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x325),a2_0x46ebb0(0x392))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3b0),a2_0x46ebb0(0x11a),a2_0x46ebb0(0x137))[a2_0x46ebb0(0x209)](async(_0x4a3963,_0x4e0293)=>{const _0x1572a0=a2_0x46ebb0,_0x508df2=new ParentSegmentPreviewCommand(),_0x2699d9=program[_0x1572a0(0x224)](),_0x3b85e5=await createTDXInstance(_0x2699d9),_0x2935a7=await _0x508df2[_0x1572a0(0x13f)]({'options':{..._0x2699d9,..._0x4e0293},'args':_0x4a3963?[_0x4a3963]:[],'tdx':_0x3b85e5});gracefulExit(_0x2935a7);}),parentSegmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x177))[a2_0x46ebb0(0x218)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['action'](async(_0x57a2c1,_0xef1e6b)=>{const _0x46c237=a2_0x46ebb0,_0x3204c0=new ParentSegmentRunCommand(),_0x500ad0=program[_0x46c237(0x224)](),_0x414d98=await createTDXInstance(_0x500ad0),_0x5abfb7=await _0x3204c0[_0x46c237(0x13f)]({'options':{..._0x500ad0,..._0xef1e6b},'args':_0x57a2c1?[_0x57a2c1]:[],'tdx':_0x414d98});gracefulExit(_0x5abfb7);}),parentSegmentCmd['command'](a2_0x46ebb0(0x2bf))['description'](a2_0x46ebb0(0x233))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x34d),a2_0x46ebb0(0x2d3))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x250),a2_0x46ebb0(0x129))[a2_0x46ebb0(0x209)](async(_0x592b56,_0x13f1fe)=>{const _0x239ed2=a2_0x46ebb0,_0xa10196=new ParentSegmentFieldsCommand(),_0xbb9d8=program[_0x239ed2(0x224)](),_0x4ea19e=await createTDXInstance(_0xbb9d8),_0x419a11=await _0xa10196[_0x239ed2(0x13f)]({'options':{..._0xbb9d8,..._0x13f1fe},'args':_0x592b56?[_0x592b56]:[],'tdx':_0x4ea19e});gracefulExit(_0x419a11);}),parentSegmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x349))[a2_0x46ebb0(0x218)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x34d),'Output\x20as\x20JSON')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x250),'Output\x20as\x20JSON\x20Lines')[a2_0x46ebb0(0x209)](async(_0xbd9ec0,_0xc1ef12)=>{const _0x289363=a2_0x46ebb0,_0x22fb63=new ParentSegmentViewCommand(),_0x587d17=program[_0x289363(0x224)](),_0x440dcf=await createTDXInstance(_0x587d17),_0x4d930e=await _0x22fb63[_0x289363(0x13f)]({'options':{..._0x587d17,..._0xc1ef12},'args':_0xbd9ec0?[_0xbd9ec0]:[],'tdx':_0x440dcf});gracefulExit(_0x4d930e);}),parentSegmentCmd['command'](a2_0x46ebb0(0x29f))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x14c))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x19d),a2_0x46ebb0(0x216))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x34d),a2_0x46ebb0(0x2d3))[a2_0x46ebb0(0x25e)]('--jsonl',a2_0x46ebb0(0x129))[a2_0x46ebb0(0x209)](async(_0x25ed0a,_0x58bfe9)=>{const _0x1fbb5e=a2_0x46ebb0,_0x353ee9=new ParentSegmentDescCommand(),_0x17692c=program['opts'](),_0xb34eba=await createTDXInstance(_0x17692c),_0x5a58c3=await _0x353ee9[_0x1fbb5e(0x13f)]({'options':{..._0x17692c,..._0x58bfe9},'args':_0x25ed0a?[_0x25ed0a]:[],'tdx':_0xb34eba});gracefulExit(_0x5a58c3);}),parentSegmentCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1ce))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x3ae))[a2_0x46ebb0(0x25e)]('--json','Output\x20as\x20JSON')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x250),a2_0x46ebb0(0x129))[a2_0x46ebb0(0x209)](async(_0x3d9b73,_0x95a6ad)=>{const _0x149740=a2_0x46ebb0,_0x4ea767=new ParentSegmentSQLCommand(),_0x5b8f36=program[_0x149740(0x224)](),_0x15bbc4=await createTDXInstance(_0x5b8f36),_0x20516b=await _0x4ea767['run']({'options':{..._0x5b8f36,..._0x95a6ad},'args':_0x3d9b73?[_0x3d9b73]:[],'tdx':_0x15bbc4});gracefulExit(_0x20516b);}),parentSegmentCmd['command'](a2_0x46ebb0(0x38a))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x28b))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x140),a2_0x46ebb0(0x238))[a2_0x46ebb0(0x25e)]('--json',a2_0x46ebb0(0x2d3))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x250),a2_0x46ebb0(0x129))[a2_0x46ebb0(0x209)](async(_0xdef516,_0x1f62cb)=>{const _0x1c9ea8=a2_0x46ebb0,_0x1347bc=new ParentSegmentShowCommand(),_0x229e9c=program[_0x1c9ea8(0x224)](),_0x4e484c=await createTDXInstance(_0x229e9c),_0x3d249a=await _0x1347bc['run']({'options':{..._0x229e9c,..._0x1f62cb},'args':_0xdef516?[_0xdef516]:[],'tdx':_0x4e484c});gracefulExit(_0x3d249a);}),parentSegmentCmd['command'](a2_0x46ebb0(0x28c))['description']('Set\x20or\x20show\x20parent\x20segment\x20context')['action'](async(_0x4b1d74,_0x8c8102)=>{const _0x47437f=a2_0x46ebb0,_0x1da661=new UseCommand(),_0x4ec933=program['opts'](),_0x1d67e8=_0x4b1d74?['parent_segment',_0x4b1d74]:[],_0x442a31=await _0x1da661[_0x47437f(0x13f)]({'options':{..._0x4ec933,..._0x8c8102},'args':_0x1d67e8,'tdx':null});gracefulExit(_0x442a31);});const psRtCmd=parentSegmentCmd[a2_0x46ebb0(0x1b4)]('rt')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x10f));psRtCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1df))[a2_0x46ebb0(0x218)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x46ebb0(0x209)](async(_0x56a0b7,_0x3914c8)=>{const _0x244a6c=a2_0x46ebb0,_0x3f9db1=new PSRtListCommand(),_0x502706=program[_0x244a6c(0x224)](),_0x150272=await createTDXInstance(_0x502706),_0x262c35=await _0x3f9db1['run']({'options':{..._0x502706,..._0x3914c8},'args':_0x56a0b7?[_0x56a0b7]:[],'tdx':_0x150272});gracefulExit(_0x262c35);}),psRtCmd['command'](a2_0x46ebb0(0x268))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x15a))['action'](async(_0x1f1b8d,_0x4959fc)=>{const _0x2630a8=a2_0x46ebb0,_0x3703d1=new PSRtValidateCommand(),_0xf1992b=program[_0x2630a8(0x224)](),_0x4c37ad=await createTDXInstance(_0xf1992b),_0x451a8b=await _0x3703d1[_0x2630a8(0x13f)]({'options':{..._0xf1992b,..._0x4959fc},'args':_0x1f1b8d?[_0x1f1b8d]:[],'tdx':_0x4c37ad});gracefulExit(_0x451a8b);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x10f));parentRtCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1df))['description'](a2_0x46ebb0(0x100))[a2_0x46ebb0(0x209)](async(_0xf857d8,_0x153c29)=>{const _0x1aa401=a2_0x46ebb0,_0x5326d8=new PSRtListCommand(),_0x3a15f3=program['opts'](),_0xaf79f3=await createTDXInstance(_0x3a15f3),_0x1e7ade=await _0x5326d8[_0x1aa401(0x13f)]({'options':{..._0x3a15f3,..._0x153c29},'args':_0xf857d8?[_0xf857d8]:[],'tdx':_0xaf79f3});gracefulExit(_0x1e7ade);}),parentRtCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x268))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x15a))[a2_0x46ebb0(0x209)](async(_0x448240,_0x47b2e6)=>{const _0x13ac67=a2_0x46ebb0,_0x5bc392=new PSRtValidateCommand(),_0x279407=program[_0x13ac67(0x224)](),_0x44c5f2=await createTDXInstance(_0x279407),_0x49810c=await _0x5bc392[_0x13ac67(0x13f)]({'options':{..._0x279407,..._0x47b2e6},'args':_0x448240?[_0x448240]:[],'tdx':_0x44c5f2});gracefulExit(_0x49810c);});const psPzCmd=parentSegmentCmd['command']('pz')['description'](a2_0x46ebb0(0x1e1));psPzCmd[a2_0x46ebb0(0x1b4)]('list\x20[name]')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x191))['action'](async(_0x2a1ff8,_0x64ce51)=>{const _0x2f85a6=a2_0x46ebb0,_0xc35ea8=new PSPzListCommand(),_0x559741=program[_0x2f85a6(0x224)](),_0x2e9e18=await createTDXInstance(_0x559741),_0x135e44=await _0xc35ea8[_0x2f85a6(0x13f)]({'options':{..._0x559741,..._0x64ce51},'args':_0x2a1ff8?[_0x2a1ff8]:[],'tdx':_0x2e9e18});gracefulExit(_0x135e44);}),psPzCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x344))[a2_0x46ebb0(0x218)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x2bcb2d,_0x4d0429)=>{const _0x3cb85b=a2_0x46ebb0,_0x41b236=new PSPzInitCommand(),_0x155612=program['opts'](),_0x44bf82=await createTDXInstance(_0x155612),_0x21c4ba=await _0x41b236[_0x3cb85b(0x13f)]({'options':{..._0x155612,..._0x4d0429},'args':_0x2bcb2d?[_0x2bcb2d]:[],'tdx':_0x44bf82});gracefulExit(_0x21c4ba);});const parentPzCmd=parentCmd[a2_0x46ebb0(0x1b4)]('pz',{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1e1));parentPzCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x305))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x191))[a2_0x46ebb0(0x209)](async(_0x323981,_0x1b4cfb)=>{const _0x3da0d1=a2_0x46ebb0,_0x1e2171=new PSPzListCommand(),_0x6ad49e=program[_0x3da0d1(0x224)](),_0x4288eb=await createTDXInstance(_0x6ad49e),_0x5c514f=await _0x1e2171['run']({'options':{..._0x6ad49e,..._0x1b4cfb},'args':_0x323981?[_0x323981]:[],'tdx':_0x4288eb});gracefulExit(_0x5c514f);}),parentPzCmd[a2_0x46ebb0(0x1b4)]('init\x20[name]')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x38d))[a2_0x46ebb0(0x209)](async(_0x6984c6,_0x22c40b)=>{const _0xab7b64=a2_0x46ebb0,_0x595dc6=new PSPzInitCommand(),_0x2c5781=program[_0xab7b64(0x224)](),_0x40e26e=await createTDXInstance(_0x2c5781),_0x316287=await _0x595dc6[_0xab7b64(0x13f)]({'options':{..._0x2c5781,..._0x22c40b},'args':_0x6984c6?[_0x6984c6]:[],'tdx':_0x40e26e});gracefulExit(_0x316287);}),parentCmd['command'](a2_0x46ebb0(0x378))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x247))['requiredOption'](a2_0x46ebb0(0xfd),'Master\x20database\x20name')[a2_0x46ebb0(0x1ef)]('--table\x20<table>',a2_0x46ebb0(0x1ee))[a2_0x46ebb0(0x25e)]('--description\x20<text>',a2_0x46ebb0(0x1e3))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x371),a2_0x46ebb0(0x29d))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x16b),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3ac),a2_0x46ebb0(0x2be))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1ba),a2_0x46ebb0(0x27c))['option'](a2_0x46ebb0(0x103),a2_0x46ebb0(0x26f))['option'](a2_0x46ebb0(0x346),a2_0x46ebb0(0x226))['option'](a2_0x46ebb0(0x3ab),a2_0x46ebb0(0x112))[a2_0x46ebb0(0x25e)]('--customer-group\x20<json>',a2_0x46ebb0(0x111))['option'](a2_0x46ebb0(0x18b),a2_0x46ebb0(0x1d0))[a2_0x46ebb0(0x209)](async(_0x4e4a39,_0x3f9368)=>{const _0x46a57b=a2_0x46ebb0,_0x5d8342=new ParentSegmentCreateCommand(),_0x3d799b=program[_0x46a57b(0x224)](),_0x8a6eaa=await createTDXInstance(_0x3d799b),_0x4b8a6e=await _0x5d8342[_0x46a57b(0x13f)]({'options':{..._0x3d799b,..._0x3f9368},'args':[_0x4e4a39],'tdx':_0x8a6eaa});gracefulExit(_0x4b8a6e);}),parentCmd['command']('update\x20<name>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1e4))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x287),a2_0x46ebb0(0x10e))['option'](a2_0x46ebb0(0x371),a2_0x46ebb0(0x1a0))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x16b),'Updated\x20schedule\x20option')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3ac),a2_0x46ebb0(0x1f0))['option'](a2_0x46ebb0(0x23d),'Add\x20attributes\x20as\x20JSON\x20string')['option'](a2_0x46ebb0(0x382),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x19b),a2_0x46ebb0(0x2c9))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x161),a2_0x46ebb0(0x36b))['action'](async(_0x17351f,_0x569480)=>{const _0xf17516=a2_0x46ebb0,_0x1dd7ea=new ParentSegmentUpdateCommand(),_0x4df750=program['opts'](),_0xb1d695=await createTDXInstance(_0x4df750),_0x375e4d=await _0x1dd7ea[_0xf17516(0x13f)]({'options':{..._0x4df750,..._0x569480},'args':[_0x17351f],'tdx':_0xb1d695});gracefulExit(_0x375e4d);}),folderCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x15c))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x174))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x287),'Folder\x20description')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x119),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x46ebb0(0x209)](async(_0x5d9b68,_0x2fbd6a,_0x4f40f6)=>{const _0x5dbe01=a2_0x46ebb0,_0x17cadc=new SegmentFolderCreateCommand(),_0x155c60=program['opts'](),_0x45744b=await createTDXInstance(_0x155c60),_0x41abba=await _0x17cadc[_0x5dbe01(0x13f)]({'options':{..._0x155c60,..._0x4f40f6},'args':[_0x5d9b68,_0x2fbd6a],'tdx':_0x45744b});gracefulExit(_0x41abba);}),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x21b))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x266))[a2_0x46ebb0(0x209)](async(_0x5ad967,_0x1efcb4)=>{const _0x1bd04b=a2_0x46ebb0,_0x243cf1=new ActivationsCommand(),_0x4fa963=program['opts'](),_0xe0f271=await createTDXInstance(_0x4fa963),_0xd82fc1=await _0x243cf1[_0x1bd04b(0x13f)]({'options':{..._0x4fa963,..._0x1efcb4},'args':[_0x5ad967],'tdx':_0xe0f271});gracefulExit(_0xd82fc1);});const workflowCmd=program['command'](a2_0x46ebb0(0x319))['alias']('wf')['description'](a2_0x46ebb0(0x2d1)),wfProjectCmd=workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x303))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x381)),wfProjectListAction=async(_0x44dad2,_0x33ddcc)=>{const _0xe0e33f=new WorkflowProjectsCommand(),_0x475c4a=program['opts'](),_0x1a7fd8=await createTDXInstance(_0x475c4a),_0x2d7663=await _0xe0e33f['run']({'options':{..._0x475c4a,..._0x33ddcc},'args':_0x44dad2?[_0x44dad2]:[],'tdx':_0x1a7fd8});gracefulExit(_0x2d7663);};wfProjectCmd[a2_0x46ebb0(0x1b4)]('list\x20[pattern]')['description'](a2_0x46ebb0(0x21d))[a2_0x46ebb0(0x209)](wfProjectListAction),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x234))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x151))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x287a03,_0x6cd28a)=>{const _0x56dcbe=a2_0x46ebb0,_0x3ddf63=new WorkflowWorkflowsCommand(),_0x5eb155=program[_0x56dcbe(0x224)](),_0x4a3613=await createTDXInstance(_0x5eb155),_0x2a8e2d=await _0x3ddf63[_0x56dcbe(0x13f)]({'options':{..._0x5eb155,..._0x6cd28a},'args':_0x287a03?[_0x287a03]:[],'tdx':_0x4a3613});gracefulExit(_0x2a8e2d);};function a2_0x17f4(_0x2c401a,_0x13c95e){_0x2c401a=_0x2c401a-0xfc;const _0x4dc11a=a2_0x4dc1();let _0x17f405=_0x4dc11a[_0x2c401a];return _0x17f405;}workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x28e))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x18e))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x383))['description'](a2_0x46ebb0(0x36a)),wfSessionListAction=async(_0x3e5822,_0x50818d)=>{const _0x2f713d=a2_0x46ebb0,_0x399a7e=new WorkflowSessionsCommand(),_0x1f4f59=program[_0x2f713d(0x224)](),_0x565bfc=await createTDXInstance(_0x1f4f59),_0x2a9917=await _0x399a7e[_0x2f713d(0x13f)]({'options':{..._0x1f4f59,..._0x50818d},'args':_0x3e5822?[_0x3e5822]:[],'tdx':_0x565bfc});gracefulExit(_0x2a9917);};wfSessionCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x294))['description'](a2_0x46ebb0(0x28a))[a2_0x46ebb0(0x25e)]('--status\x20<status>',a2_0x46ebb0(0x334))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x399),a2_0x46ebb0(0x24f))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x237),a2_0x46ebb0(0x2ea))[a2_0x46ebb0(0x209)](wfSessionListAction),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x310))[a2_0x46ebb0(0x218)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')['option']('--status\x20<status>',a2_0x46ebb0(0x334))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x399),a2_0x46ebb0(0x24f))[a2_0x46ebb0(0x25e)]('--to\x20<timestamp>',a2_0x46ebb0(0x2ea))[a2_0x46ebb0(0x209)](wfSessionListAction);const wfAttemptListAction=async(_0x3c2afa,_0x56517c)=>{const _0x3fa129=a2_0x46ebb0,_0x11a410=new WorkflowAttemptsCommand(),_0x2e45d9=program[_0x3fa129(0x224)](),_0x379e0f=await createTDXInstance(_0x2e45d9),_0x90440a=await _0x11a410[_0x3fa129(0x13f)]({'options':{..._0x2e45d9,..._0x56517c},'args':_0x3c2afa?[_0x3c2afa]:[],'tdx':_0x379e0f});gracefulExit(_0x90440a);},attemptCmd=workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2b1))['description'](a2_0x46ebb0(0x365))[a2_0x46ebb0(0x13b)]('[attempt-id]',a2_0x46ebb0(0x253))[a2_0x46ebb0(0x13b)](a2_0x46ebb0(0x29b),a2_0x46ebb0(0x1d5))['argument'](a2_0x46ebb0(0x1c6),a2_0x46ebb0(0x261))[a2_0x46ebb0(0x25e)]('--include-subtasks',a2_0x46ebb0(0x1e5))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1d8),a2_0x46ebb0(0x2e8))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x25f),a2_0x46ebb0(0x2ba))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2e3),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x46ebb0(0x25e)]('--force',a2_0x46ebb0(0x2fa))['option'](a2_0x46ebb0(0x229),a2_0x46ebb0(0x152))['action'](async(_0x44015c,_0x54b8ea,_0x2894ba,_0x33be6e)=>{const _0x26a88f=a2_0x46ebb0;if(_0x44015c===_0x26a88f(0x306)){await wfAttemptListAction(_0x54b8ea,_0x33be6e);return;}if(!_0x44015c){attemptCmd[_0x26a88f(0x39d)]();return;}const _0x3155c1=program[_0x26a88f(0x224)](),_0x40aa89=await createTDXInstance(_0x3155c1);let _0x3dffea=0x0;if(!_0x54b8ea){const _0x5016a8=new WorkflowAttemptCommand();_0x3dffea=await _0x5016a8[_0x26a88f(0x13f)]({'options':{..._0x3155c1,..._0x33be6e},'args':[_0x44015c],'tdx':_0x40aa89});}else{if(_0x54b8ea==='logs'){const _0x435562=new WorkflowLogsCommand();_0x3dffea=await _0x435562[_0x26a88f(0x13f)]({'options':{..._0x3155c1,..._0x33be6e},'args':_0x2894ba?[_0x44015c,_0x2894ba]:[_0x44015c],'tdx':_0x40aa89});}else{if(_0x54b8ea===_0x26a88f(0x374)){const _0x342130=new WorkflowTasksCommand();_0x3dffea=await _0x342130[_0x26a88f(0x13f)]({'options':{..._0x3155c1,..._0x33be6e},'args':[_0x44015c],'tdx':_0x40aa89});}else{if(_0x54b8ea===_0x26a88f(0x1ea)){const _0x69948a=new WorkflowKillCommand();_0x3dffea=await _0x69948a[_0x26a88f(0x13f)]({'options':{..._0x3155c1,..._0x33be6e},'args':[_0x44015c],'tdx':_0x40aa89});}else{if(_0x54b8ea==='retry'){const _0xee3f4f=new WorkflowRetryCommand();_0x3dffea=await _0xee3f4f[_0x26a88f(0x13f)]({'options':{..._0x3155c1,..._0x33be6e},'args':['attempt:'+_0x44015c],'tdx':_0x40aa89});}else console[_0x26a88f(0x201)]('Unknown\x20action:\x20'+_0x54b8ea),console[_0x26a88f(0x201)](_0x26a88f(0x33e)),_0x3dffea=0x1;}}}}gracefulExit(_0x3dffea);});attemptCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x294))['description'](a2_0x46ebb0(0x154))['option'](a2_0x46ebb0(0x229),a2_0x46ebb0(0x10d))[a2_0x46ebb0(0x209)](wfAttemptListAction),workflowCmd[a2_0x46ebb0(0x1b4)]('attempts\x20[project]')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x14e))[a2_0x46ebb0(0x25e)]('--include-retried',a2_0x46ebb0(0x10d))[a2_0x46ebb0(0x209)](wfAttemptListAction),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x32d))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x33a))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x269),a2_0x46ebb0(0x1a5))[a2_0x46ebb0(0x25e)]('--session-id\x20<id>',a2_0x46ebb0(0x160))['option'](a2_0x46ebb0(0x391),a2_0x46ebb0(0x328))[a2_0x46ebb0(0x209)](async(_0x50b55f,_0x4a6124)=>{const _0x4ff198=a2_0x46ebb0,_0x6a3d23=new WorkflowTimelineCommand(),_0x4ecdb0=program[_0x4ff198(0x224)](),_0x490e7d=await createTDXInstance(_0x4ecdb0),_0xd43ad1=await _0x6a3d23[_0x4ff198(0x13f)]({'options':{..._0x4ecdb0,..._0x4a6124},'args':_0x50b55f?[_0x50b55f]:[],'tdx':_0x490e7d});gracefulExit(_0xd43ad1);}),workflowCmd['command'](a2_0x46ebb0(0x123))['description'](a2_0x46ebb0(0x387))[a2_0x46ebb0(0x25e)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2e3),a2_0x46ebb0(0x190))[a2_0x46ebb0(0x209)](async(_0x62c7ca,_0x5c018d)=>{const _0x4d62d9=new WorkflowRetryCommand(),_0x25351e=program['opts'](),_0x50731a=await createTDXInstance(_0x25351e),_0x5493e9=await _0x4d62d9['run']({'options':{..._0x25351e,..._0x5c018d},'args':[_0x62c7ca],'tdx':_0x50731a});gracefulExit(_0x5493e9);}),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2f6))[a2_0x46ebb0(0x218)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x34b),'Workflow\x20parameter\x20(repeatable)',(_0x1e542b,_0x3ecb49=[])=>[..._0x3ecb49,_0x1e542b],[])[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1a3),a2_0x46ebb0(0x172))[a2_0x46ebb0(0x209)](async(_0x8c875e,_0x24241d)=>{const _0x4a8ea8=a2_0x46ebb0,_0x396136=new WorkflowRunCommand(),_0x1359d7=program['opts'](),_0x55799a=await createTDXInstance(_0x1359d7),_0x5b41a7=await _0x396136[_0x4a8ea8(0x13f)]({'options':{..._0x1359d7,..._0x24241d},'args':_0x8c875e?[_0x8c875e]:[],'tdx':_0x55799a});gracefulExit(_0x5b41a7);}),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1f3))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x101))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x16f),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x46ebb0(0x209)](async(_0xaec034,_0x5f0693,_0x4676e7)=>{const _0x35ca6d=a2_0x46ebb0,_0x6933c9=new WorkflowDownloadCommand(),_0xfa626b=program[_0x35ca6d(0x224)](),_0x4a400c=await createTDXInstance(_0xfa626b),_0x942d35=await _0x6933c9[_0x35ca6d(0x13f)]({'options':{..._0xfa626b,..._0x4676e7},'args':[_0xaec034,_0x5f0693||'.'],'tdx':_0x4a400c});gracefulExit(_0x942d35);}),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x376))['description'](a2_0x46ebb0(0x254))['option'](a2_0x46ebb0(0x16f),a2_0x46ebb0(0x168))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x285),a2_0x46ebb0(0x31d))[a2_0x46ebb0(0x209)](async(_0x13623e,_0x499139,_0x3319cf)=>{const _0x4eb584=a2_0x46ebb0,_0x3aa37b=new WorkflowPullCommand(),_0x37a8bf=program[_0x4eb584(0x224)](),_0x46b08a=await createTDXInstance(_0x37a8bf),_0xe59aaa=await _0x3aa37b[_0x4eb584(0x13f)]({'options':{..._0x37a8bf,..._0x3319cf},'args':_0x499139?[_0x13623e,_0x499139]:[_0x13623e],'tdx':_0x46b08a});gracefulExit(_0xe59aaa);}),workflowCmd['command']('push\x20[source-dir]')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x34a))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x16f),a2_0x46ebb0(0x2ef))['option'](a2_0x46ebb0(0x285),a2_0x46ebb0(0x245))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x133),a2_0x46ebb0(0x37b))['action'](async(_0x1b3853,_0x52a617)=>{const _0x4a4978=a2_0x46ebb0,_0x512727=new WorkflowPushCommand(),_0x552173=program[_0x4a4978(0x224)](),_0x1ab58d=await createTDXInstance(_0x552173),_0x38d9c4=await _0x512727[_0x4a4978(0x13f)]({'options':{..._0x552173,..._0x52a617},'args':_0x1b3853?[_0x1b3853]:[],'tdx':_0x1ab58d});gracefulExit(_0x38d9c4);}),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x299))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x34e))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2ca),'Override\x20project\x20name')['option'](a2_0x46ebb0(0x16f),a2_0x46ebb0(0x13d))[a2_0x46ebb0(0x25e)]('--skip-validation',a2_0x46ebb0(0x37b))[a2_0x46ebb0(0x209)](async(_0x20022c,_0x2dcec2)=>{const _0x3e569f=a2_0x46ebb0,_0x103551=new WorkflowUploadCommand(),_0x4290d7=program[_0x3e569f(0x224)](),_0x58f838=await createTDXInstance(_0x4290d7),_0x5fd9f0=await _0x103551[_0x3e569f(0x13f)]({'options':{..._0x4290d7,..._0x2dcec2},'args':_0x20022c?[_0x20022c]:[],'tdx':_0x58f838});gracefulExit(_0x5fd9f0);}),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2dd))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2ae))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2ca),a2_0x46ebb0(0x39e))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x16f),'Custom\x20revision\x20name\x20(default:\x20timestamp)')['option']('--dry-run','Preview\x20without\x20creating\x20the\x20project')[a2_0x46ebb0(0x25e)]('--skip-validation',a2_0x46ebb0(0x37b))[a2_0x46ebb0(0x209)](async(_0x35df7a,_0x20cd54)=>{const _0x408c60=a2_0x46ebb0,_0x764d25=new WorkflowCloneCommand(),_0x5c3ae3=program[_0x408c60(0x224)](),_0x182ebd=await createTDXInstance(_0x5c3ae3),_0x49b6c5=await _0x764d25['run']({'options':{..._0x5c3ae3,..._0x20cd54},'args':_0x35df7a?[_0x35df7a]:[],'tdx':_0x182ebd});gracefulExit(_0x49b6c5);}),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2d2))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x176))['action'](async(_0x2b9bd5,_0x5238b4)=>{const _0x369d5e=new WorkflowDeleteCommand(),_0x91b8cc=program['opts'](),_0x206232=await createTDXInstance(_0x91b8cc),_0x519105=await _0x369d5e['run']({'options':{..._0x91b8cc,..._0x5238b4},'args':[_0x2b9bd5],'tdx':_0x206232});gracefulExit(_0x519105);}),workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x31b))[a2_0x46ebb0(0x218)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2c0),a2_0x46ebb0(0x359))[a2_0x46ebb0(0x209)](async(_0x5cf1ef,_0x4ac99f)=>{const _0x42137d=a2_0x46ebb0,_0x21ee54=new WorkflowUseCommand(),_0x428854=program[_0x42137d(0x224)](),_0x3b1d8a=await createTDXInstance(_0x428854),_0x182c55=await _0x21ee54[_0x42137d(0x13f)]({'options':{..._0x428854,..._0x4ac99f},'args':_0x5cf1ef?[_0x5cf1ef]:[],'tdx':_0x3b1d8a});gracefulExit(_0x182c55);});const wfSecretsCmd=workflowCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x3a5))['description'](a2_0x46ebb0(0x1d9));wfSecretsCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x294))['description'](a2_0x46ebb0(0x24d))[a2_0x46ebb0(0x209)](async(_0x299776,_0x4c432a)=>{const _0x405efc=a2_0x46ebb0,_0x41e604=new WorkflowSecretsListCommand(),_0x137f53=program['opts'](),_0x255668=await createTDXInstance(_0x137f53),_0x139a24=await _0x41e604[_0x405efc(0x13f)]({'options':{..._0x137f53,..._0x4c432a},'args':_0x299776?[_0x299776]:[],'tdx':_0x255668});gracefulExit(_0x139a24);}),wfSecretsCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x116))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1ad))['action'](async(_0x433942,_0x2a3553)=>{const _0x13c9c0=a2_0x46ebb0,_0x2c6ac2=new WorkflowSecretsSetCommand(),_0x218bc1=program['opts'](),_0x3061d8=await createTDXInstance(_0x218bc1),_0x3ece5b=await _0x2c6ac2[_0x13c9c0(0x13f)]({'options':{..._0x218bc1,..._0x2a3553},'args':_0x433942,'tdx':_0x3061d8});gracefulExit(_0x3ece5b);}),wfSecretsCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x286))['description']('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')['action'](async(_0x16370d,_0x33a193)=>{const _0x3339ec=a2_0x46ebb0,_0x5618cd=new WorkflowSecretsDeleteCommand(),_0x275b96=program[_0x3339ec(0x224)](),_0x31ebd1=await createTDXInstance(_0x275b96),_0x462f3e=await _0x5618cd[_0x3339ec(0x13f)]({'options':{..._0x275b96,..._0x33a193},'args':_0x16370d,'tdx':_0x31ebd1});gracefulExit(_0x462f3e);});const jobCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x3af))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x31a)),jobListAction=async _0x521d53=>{const _0x1e6aaf=a2_0x46ebb0,_0x47a27e=new JobListCommand(),_0x44ebb3=program[_0x1e6aaf(0x224)](),_0x40e80b=await createTDXInstance(_0x44ebb3),_0x1f27a6=await _0x47a27e[_0x1e6aaf(0x13f)]({'options':{..._0x44ebb3,..._0x521d53},'args':[],'tdx':_0x40e80b});gracefulExit(_0x1f27a6);};jobCmd['command'](a2_0x46ebb0(0x306))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x311))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x163),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x46ebb0(0x209)](jobListAction),program['command'](a2_0x46ebb0(0x21a),{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x357))['option']('--status\x20<status>',a2_0x46ebb0(0x1e6))[a2_0x46ebb0(0x209)](jobListAction),jobCmd[a2_0x46ebb0(0x1b4)]('show\x20<job-id>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0xff))['action'](async(_0x5e1186,_0x39676d)=>{const _0x4da47f=a2_0x46ebb0,_0x14dbb2=new JobShowCommand(),_0x1073c6=program[_0x4da47f(0x224)](),_0x24a6a6=await createTDXInstance(_0x1073c6),_0x2f3b69=await _0x14dbb2[_0x4da47f(0x13f)]({'options':{..._0x1073c6,..._0x39676d},'args':[_0x5e1186],'tdx':_0x24a6a6});gracefulExit(_0x2f3b69);}),jobCmd[a2_0x46ebb0(0x1b4)]('kill\x20<job-id>')['description'](a2_0x46ebb0(0x221))[a2_0x46ebb0(0x209)](async(_0x419367,_0x3964bd)=>{const _0x50d638=a2_0x46ebb0,_0x10ea9b=new JobKillCommand(),_0x473040=program[_0x50d638(0x224)](),_0x2a5b7c=await createTDXInstance(_0x473040),_0xb43029=await _0x10ea9b[_0x50d638(0x13f)]({'options':{..._0x473040,..._0x3964bd},'args':[_0x419367],'tdx':_0x2a5b7c});gracefulExit(_0xb43029);}),jobCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1ff))[a2_0x46ebb0(0x218)]('Submit\x20a\x20job')['option'](a2_0x46ebb0(0x20a),a2_0x46ebb0(0x33f),a2_0x46ebb0(0x273))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x379),a2_0x46ebb0(0x35d))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x369),a2_0x46ebb0(0x20d),'information_schema')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1aa),a2_0x46ebb0(0x35f))['action'](async(_0x446c5b,_0x30e280)=>{const _0x3f65e1=a2_0x46ebb0,_0xb627d9=new JobSubmitCommand(),_0x4981d8=program['opts'](),_0x2b470b=await createTDXInstance(_0x4981d8),_0x57566f=await _0xb627d9[_0x3f65e1(0x13f)]({'options':{..._0x4981d8,..._0x30e280},'args':_0x446c5b?[_0x446c5b]:[],'tdx':_0x2b470b});gracefulExit(_0x57566f);}),jobCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x175))[a2_0x46ebb0(0x218)]('Get\x20job\x20results')[a2_0x46ebb0(0x209)](async(_0xc9c702,_0x2096af)=>{const _0x5d565c=a2_0x46ebb0,_0x5cd50a=new JobResultCommand(),_0x3b8f38=program[_0x5d565c(0x224)](),_0x3a67b9=await createTDXInstance(_0x3b8f38),_0x1f3f0e=await _0x5cd50a['run']({'options':{..._0x3b8f38,..._0x2096af},'args':[_0xc9c702],'tdx':_0x3a67b9});gracefulExit(_0x1f3f0e);});const scheduleCmd=jobCmd['command']('schedule')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2b2));scheduleCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1df))[a2_0x46ebb0(0x218)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')[a2_0x46ebb0(0x209)](async(_0x3b440b,_0x3ab363)=>{const _0x29726b=a2_0x46ebb0,_0x3a0e29=new ScheduleListCommand(),_0x4e320f=program[_0x29726b(0x224)](),_0x25cde6=await createTDXInstance(_0x4e320f),_0x236f46=await _0x3a0e29[_0x29726b(0x13f)]({'options':{..._0x4e320f,..._0x3ab363},'args':_0x3b440b?[_0x3b440b]:[],'tdx':_0x25cde6});gracefulExit(_0x236f46);}),scheduleCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x22a))[a2_0x46ebb0(0x218)]('Show\x20schedule\x20details')[a2_0x46ebb0(0x209)](async(_0x15e045,_0x12f6db)=>{const _0x4f6f75=a2_0x46ebb0,_0x4248d4=new ScheduleShowCommand(),_0x5f7cd6=program['opts'](),_0x49d67c=await createTDXInstance(_0x5f7cd6),_0xd8bf91=await _0x4248d4[_0x4f6f75(0x13f)]({'options':{..._0x5f7cd6,..._0x12f6db},'args':[_0x15e045],'tdx':_0x49d67c});gracefulExit(_0xd8bf91);}),scheduleCmd[a2_0x46ebb0(0x1b4)]('create\x20<name>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2bb))[a2_0x46ebb0(0x25e)]('-d,\x20--database\x20<db>',a2_0x46ebb0(0x2a3))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x14f),a2_0x46ebb0(0x3b1))[a2_0x46ebb0(0x1ef)](a2_0x46ebb0(0x379),a2_0x46ebb0(0x35d))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1c0),a2_0x46ebb0(0x155),a2_0x46ebb0(0x273))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3a1),a2_0x46ebb0(0x185))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3ac),a2_0x46ebb0(0x1ae))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2a8),a2_0x46ebb0(0x1f9))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x339),a2_0x46ebb0(0x20b))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x121),a2_0x46ebb0(0x242))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x12c),a2_0x46ebb0(0x3a0))['option'](a2_0x46ebb0(0x292),a2_0x46ebb0(0x2fd))[a2_0x46ebb0(0x209)](async(_0x12ea3c,_0x3869f)=>{const _0x22ec24=a2_0x46ebb0,_0x3a04bf=new ScheduleCreateCommand(),_0x2c57b5=program[_0x22ec24(0x224)](),_0x1b0928=await createTDXInstance(_0x2c57b5);_0x3869f['in']&&(_0x3869f[_0x22ec24(0x31c)]=_0x3869f['in']);const _0x120f64=await _0x3a04bf['run']({'options':{..._0x2c57b5,..._0x3869f},'args':[_0x12ea3c],'tdx':_0x1b0928});gracefulExit(_0x120f64);}),scheduleCmd[a2_0x46ebb0(0x1b4)]('update\x20<name>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1fc))['option'](a2_0x46ebb0(0x1dd),a2_0x46ebb0(0x1ac))[a2_0x46ebb0(0x25e)]('--in\x20<db>',a2_0x46ebb0(0x3b1))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x379),'Read\x20query\x20from\x20file')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1c0),a2_0x46ebb0(0x155))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3a1),a2_0x46ebb0(0x185))[a2_0x46ebb0(0x25e)]('--timezone\x20<tz>','Timezone\x20for\x20cron')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2a8),a2_0x46ebb0(0x1f9))['option'](a2_0x46ebb0(0x339),a2_0x46ebb0(0x20b))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x121),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x12c),a2_0x46ebb0(0x3a0))[a2_0x46ebb0(0x25e)]('--result\x20<url>',a2_0x46ebb0(0x2fd))[a2_0x46ebb0(0x209)](async(_0x11c2a8,_0x3b0f1e)=>{const _0x3e5b4a=a2_0x46ebb0,_0x3b44bd=new ScheduleUpdateCommand(),_0x42647a=program[_0x3e5b4a(0x224)](),_0x4e3884=await createTDXInstance(_0x42647a);_0x3b0f1e['in']&&(_0x3b0f1e['database']=_0x3b0f1e['in']);const _0x1ff959=await _0x3b44bd['run']({'options':{..._0x42647a,..._0x3b0f1e},'args':[_0x11c2a8],'tdx':_0x4e3884});gracefulExit(_0x1ff959);}),scheduleCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x368))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x156))[a2_0x46ebb0(0x209)](async(_0x167b43,_0x27e7f1)=>{const _0xbe50f2=a2_0x46ebb0,_0x4445ba=new ScheduleDeleteCommand(),_0x38e245=program[_0xbe50f2(0x224)](),_0x47b5ce=await createTDXInstance(_0x38e245),_0x10664c=await _0x4445ba[_0xbe50f2(0x13f)]({'options':{..._0x38e245,..._0x27e7f1},'args':[_0x167b43],'tdx':_0x47b5ce});gracefulExit(_0x10664c);}),scheduleCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x276))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1c3))[a2_0x46ebb0(0x25e)]('--time\x20<iso8601>',a2_0x46ebb0(0x21c))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x316),a2_0x46ebb0(0x30f))['action'](async(_0x4702b4,_0x1502a0)=>{const _0x5dd0c1=a2_0x46ebb0,_0x5ab154=new ScheduleRunCommand(),_0x2d2e4b=program[_0x5dd0c1(0x224)](),_0x794ce1=await createTDXInstance(_0x2d2e4b),_0x49ba76=await _0x5ab154[_0x5dd0c1(0x13f)]({'options':{..._0x2d2e4b,..._0x1502a0},'args':[_0x4702b4],'tdx':_0x794ce1});gracefulExit(_0x49ba76);}),scheduleCmd[a2_0x46ebb0(0x1b4)]('history\x20<name>')['description']('Show\x20schedule\x20execution\x20history')[a2_0x46ebb0(0x25e)]('--from\x20<n>',a2_0x46ebb0(0x20e))[a2_0x46ebb0(0x25e)]('--to\x20<n>',a2_0x46ebb0(0x2f5))[a2_0x46ebb0(0x209)](async(_0x3367c4,_0x58bb40)=>{const _0x5a901a=a2_0x46ebb0,_0x356c58=new ScheduleHistoryCommand(),_0x4a4631=program[_0x5a901a(0x224)](),_0xc084=await createTDXInstance(_0x4a4631),_0x43404f=await _0x356c58[_0x5a901a(0x13f)]({'options':{..._0x4a4631,..._0x58bb40},'args':[_0x3367c4],'tdx':_0xc084});gracefulExit(_0x43404f);});const llmCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x348))[a2_0x46ebb0(0x218)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd['command'](a2_0x46ebb0(0x30a))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x394))[a2_0x46ebb0(0x209)](async(_0x20b7bc,_0x36a300)=>{const _0x5d8a19=a2_0x46ebb0,_0x20fe68=new LLMUseCommand(),_0x49337c=program[_0x5d8a19(0x224)](),_0x34dcb3=await createTDXInstance(_0x49337c),_0x7b2758=await _0x20fe68[_0x5d8a19(0x13f)]({'options':{..._0x49337c,..._0x36a300},'args':[_0x20b7bc],'tdx':_0x34dcb3});gracefulExit(_0x7b2758);}),llmCmd['command'](a2_0x46ebb0(0x270))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2a1))[a2_0x46ebb0(0x209)](async _0x402e25=>{const _0x2d77d9=a2_0x46ebb0,_0x5153dc=new LLMModelsCommand(),_0x5675b3=program['opts'](),_0x2f17ef=await createTDXInstance(_0x5675b3),_0xb6e427=await _0x5153dc[_0x2d77d9(0x13f)]({'options':{..._0x5675b3,..._0x402e25},'args':[],'tdx':_0x2f17ef});gracefulExit(_0xb6e427);});const projectCmd=llmCmd['command'](a2_0x46ebb0(0x303))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2bd)),llmProjectListAction=async(_0x22427b,_0x463178)=>{const _0x5ec423=a2_0x46ebb0,_0x2e1366=new LLMProjectsCommand(),_0xe78885=program[_0x5ec423(0x224)](),_0x465d25=await createTDXInstance(_0xe78885),_0x2ec9ee=await _0x2e1366[_0x5ec423(0x13f)]({'options':{..._0xe78885,..._0x463178},'args':_0x22427b?[_0x22427b]:[],'tdx':_0x465d25});gracefulExit(_0x2ec9ee);};projectCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1df))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1be))[a2_0x46ebb0(0x209)](llmProjectListAction),llmCmd['command'](a2_0x46ebb0(0x234))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x13a))[a2_0x46ebb0(0x209)](llmProjectListAction),projectCmd['command'](a2_0x46ebb0(0x378))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x345))[a2_0x46ebb0(0x25e)]('--description\x20<text>',a2_0x46ebb0(0x262))[a2_0x46ebb0(0x209)](async(_0x251001,_0x34159d)=>{const _0x3fc73a=a2_0x46ebb0,_0x216595=new LLMProjectCreateCommand(),_0x4fb630=program[_0x3fc73a(0x224)](),_0x1b4519=await createTDXInstance(_0x4fb630),_0xfb593b=await _0x216595[_0x3fc73a(0x13f)]({'options':{..._0x4fb630,..._0x34159d},'args':[_0x251001],'tdx':_0x1b4519});gracefulExit(_0xfb593b);}),projectCmd[a2_0x46ebb0(0x1b4)]('delete\x20<name>')[a2_0x46ebb0(0x218)]('Delete\x20an\x20LLM\x20project')[a2_0x46ebb0(0x209)](async(_0x165171,_0x4dd576)=>{const _0x353bc1=a2_0x46ebb0,_0x282f76=new LLMProjectDeleteCommand(),_0x1c2b3c=program[_0x353bc1(0x224)](),_0x9ff674=await createTDXInstance(_0x1c2b3c),_0x5389fa=await _0x282f76[_0x353bc1(0x13f)]({'options':{..._0x1c2b3c,..._0x4dd576},'args':[_0x165171],'tdx':_0x9ff674});gracefulExit(_0x5389fa);}),projectCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x136))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1b0))['option'](a2_0x46ebb0(0x1d6),a2_0x46ebb0(0x26e))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x285),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x46ebb0(0x209)](async(_0x3b6281,_0x1300bb)=>{const _0x2828f3=a2_0x46ebb0,_0x270c9e=new LLMProjectBackupCommand(),_0x5e1858=program[_0x2828f3(0x224)](),_0x4b01fe=await createTDXInstance(_0x5e1858),_0x4d5bee=await _0x270c9e[_0x2828f3(0x13f)]({'options':{..._0x5e1858,..._0x1300bb},'args':[_0x3b6281],'tdx':_0x4b01fe});gracefulExit(_0x4d5bee);}),projectCmd[a2_0x46ebb0(0x1b4)]('restore\x20<folder>')[a2_0x46ebb0(0x218)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x354),a2_0x46ebb0(0x27e))['option'](a2_0x46ebb0(0x285),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x46ebb0(0x209)](async(_0x3c891c,_0x35fc6b)=>{const _0xa4a324=a2_0x46ebb0,_0xd57d13=new LLMProjectRestoreCommand(),_0x5b2c8b=program[_0xa4a324(0x224)](),_0x847eca=await createTDXInstance(_0x5b2c8b),_0x2e20c3=await _0xd57d13[_0xa4a324(0x13f)]({'options':{..._0x5b2c8b,..._0x35fc6b},'args':[_0x3c891c],'tdx':_0x847eca});gracefulExit(_0x2e20c3);});const llmAgentListAction=async(_0x949407,_0x2064f5)=>{const _0x35de98=a2_0x46ebb0,_0x5cf7f7=new LLMAgentsCommand(),_0x2131af=program[_0x35de98(0x224)](),_0x2dfe77=await createTDXInstance(_0x2131af),_0x561ac4=await _0x5cf7f7[_0x35de98(0x13f)]({'options':{..._0x2131af,..._0x2064f5},'args':_0x949407?[_0x949407]:[],'tdx':_0x2dfe77});gracefulExit(_0x561ac4);};llmCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x335))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x24a))['action'](llmAgentListAction),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x335))['description'](a2_0x46ebb0(0x24a))['action'](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')[a2_0x46ebb0(0x218)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')['option'](a2_0x46ebb0(0x2a5),a2_0x46ebb0(0x2d7))[a2_0x46ebb0(0x209)](async(_0x5b71bc,_0x4e4988)=>{const _0x57ded3=a2_0x46ebb0,_0x3de3ef=new LLMHistoryCommand(),_0x4c4220=program[_0x57ded3(0x224)](),_0x1392b1=await createTDXInstance(_0x4c4220),_0x12d6c0=await _0x3de3ef[_0x57ded3(0x13f)]({'options':{..._0x4c4220,..._0x4e4988},'args':_0x5b71bc?[_0x5b71bc]:[],'tdx':_0x1392b1});gracefulExit(_0x12d6c0);});isExperimentalAvailable()&&llmCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2b7))[a2_0x46ebb0(0x218)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x46ebb0(0x209)](async(_0x2b726b,_0x3166a3)=>{const _0x1f8949=a2_0x46ebb0,_0x4e1511=new LLMLogCommand(),_0x946542=program[_0x1f8949(0x224)](),_0x1fc879=await createTDXInstance(_0x946542),_0x1aa388=await _0x4e1511[_0x1f8949(0x13f)]({'options':{..._0x946542,..._0x3166a3},'args':[_0x2b726b],'tdx':_0x1fc879});gracefulExit(_0x1aa388);});program[a2_0x46ebb0(0x1b4)]('claude\x20[args...]')[a2_0x46ebb0(0x38b)](a2_0x46ebb0(0x1e2))[a2_0x46ebb0(0x218)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')['option']('-c,\x20--continue','Continue\x20most\x20recent\x20conversation')['option']('-r,\x20--resume',a2_0x46ebb0(0x189))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x39f),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x46ebb0(0x11e)]()[a2_0x46ebb0(0x314)](!![])[a2_0x46ebb0(0x182)](a2_0x46ebb0(0x2f2),a2_0x46ebb0(0x327))[a2_0x46ebb0(0x209)](async(_0x365d75,_0x4e09cf)=>{const _0x1f2e40=a2_0x46ebb0,_0x53f163=program[_0x1f2e40(0x224)](),_0x5cc9da=Array['isArray'](_0x365d75)?_0x365d75:[];if(_0x5cc9da[0x0]===_0x1f2e40(0x3a7)){const _0x297175=new ClaudeStatuslineCommand(),_0x14ff84=await _0x297175[_0x1f2e40(0x13f)]({'options':{..._0x53f163,..._0x4e09cf},'args':_0x5cc9da[_0x1f2e40(0x342)](0x1),'tdx':null});gracefulExit(_0x14ff84);}if(_0x5cc9da[0x0]==='usage'){const _0x55dd60=new ClaudeUsageCommand(),_0x4b6373=await _0x55dd60[_0x1f2e40(0x13f)]({'options':{..._0x53f163,..._0x4e09cf},'args':_0x5cc9da[_0x1f2e40(0x342)](0x1),'tdx':null});gracefulExit(_0x4b6373);}const _0x149e3a=new ClaudeCommand(),_0x32e0c9=await createTDXInstance(_0x53f163),_0x52b073=await _0x149e3a[_0x1f2e40(0x13f)]({'options':{..._0x53f163,..._0x4e09cf},'args':_0x5cc9da,'tdx':_0x32e0c9});gracefulExit(_0x52b073);}),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1fa))[a2_0x46ebb0(0x218)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2c0),a2_0x46ebb0(0x1c1))['option'](a2_0x46ebb0(0x2e1),a2_0x46ebb0(0x146))[a2_0x46ebb0(0x209)](async(_0xf799ff,_0x5f0fb3,_0x2c959c)=>{const _0x15616e=a2_0x46ebb0,_0x50f80f=new UseCommand(),_0x705222=program[_0x15616e(0x224)](),_0x320a7b=[];if(_0xf799ff)_0x320a7b[_0x15616e(0x2fb)](_0xf799ff);if(_0x5f0fb3)_0x320a7b[_0x15616e(0x2fb)](_0x5f0fb3);const _0x28c763=_0xf799ff==='engage_workspace',_0xdd5c2f=_0x28c763?await createTDXInstance(_0x705222):null,_0x3006e5=await _0x50f80f['run']({'options':{..._0x705222,..._0x2c959c},'args':_0x320a7b,'tdx':_0xdd5c2f});gracefulExit(_0x3006e5);}),program['command']('status')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x18c))[a2_0x46ebb0(0x209)](async _0xa2f6f8=>{const _0x1f4a00=a2_0x46ebb0,_0x169c8b=new StatusCommand(),_0x928931=program[_0x1f4a00(0x224)](),_0x25116a=await createTDXInstance(_0x928931),_0x949bce=await _0x169c8b[_0x1f4a00(0x13f)]({'options':{..._0x928931,..._0xa2f6f8},'args':[],'tdx':_0x25116a});gracefulExit(_0x949bce);}),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x14b))['description'](a2_0x46ebb0(0x18d))['option'](a2_0x46ebb0(0x2e1),a2_0x46ebb0(0x2aa))[a2_0x46ebb0(0x209)](async(_0x29cf1b,_0x5934e0)=>{const _0x3a9ac9=a2_0x46ebb0,_0x2406d7=new UnsetCommand(),_0xddb958=program[_0x3a9ac9(0x224)](),_0x47f957=await _0x2406d7[_0x3a9ac9(0x13f)]({'options':{..._0xddb958,..._0x5934e0},'args':[_0x29cf1b],'tdx':null});gracefulExit(_0x47f957);}),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x11b))['description']('Interactive\x20chat\x20selector')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2a5),a2_0x46ebb0(0x301))[a2_0x46ebb0(0x209)](async _0x27c6d0=>{const _0x1e2f19=a2_0x46ebb0,_0x5692c4=new ChatsCommand(),_0x5207bc=program[_0x1e2f19(0x224)](),_0x2d3348=await createTDXInstance(_0x5207bc),_0x41e5ad=await _0x5692c4['run']({'options':{..._0x5207bc,..._0x27c6d0},'args':[],'tdx':_0x2d3348});gracefulExit(_0x41e5ad);});const authCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x228))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x372));async function runAuthStatusCommand(_0x4fd620){const _0x32edb3=a2_0x46ebb0,_0x2394b6=new AuthStatusCommand(),_0x45fde0=program[_0x32edb3(0x224)](),_0x42c2b1=await createTDXInstance(_0x45fde0),_0x5a212f=await _0x2394b6[_0x32edb3(0x13f)]({'options':{..._0x45fde0,..._0x4fd620},'args':[],'tdx':_0x42c2b1});gracefulExit(_0x5a212f);}authCmd[a2_0x46ebb0(0x209)](runAuthStatusCommand),authCmd['command'](a2_0x46ebb0(0x1a1))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x23c))['action'](runAuthStatusCommand),authCmd[a2_0x46ebb0(0x1b4)]('setup')['description']('Setup\x20API\x20key\x20authentication\x20interactively')['addHelpText'](a2_0x46ebb0(0x2f2),a2_0x46ebb0(0x23f))[a2_0x46ebb0(0x209)](async _0x5e56b2=>{const _0x284dc8=a2_0x46ebb0,_0x51ada8=new AuthSetupCommand(),_0x567f85=program['opts'](),_0x2ebd1a=await createTDXInstance(_0x567f85),_0x16ee54=await _0x51ada8[_0x284dc8(0x13f)]({'options':{..._0x567f85,..._0x5e56b2},'args':[],'tdx':_0x2ebd1a});gracefulExit(_0x16ee54);}),authCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x353))['description'](a2_0x46ebb0(0x165))[a2_0x46ebb0(0x182)](a2_0x46ebb0(0x2f2),a2_0x46ebb0(0x1a2))[a2_0x46ebb0(0x209)](async _0x2cbad8=>{const _0x2b54ec=a2_0x46ebb0,_0x2c124a=new AuthClearCommand(),_0x585acb=program[_0x2b54ec(0x224)](),_0x1d3b20=await _0x2c124a['run']({'options':{..._0x585acb,..._0x2cbad8},'args':[],'tdx':null});gracefulExit(_0x1d3b20);});const userCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1e0))['description'](a2_0x46ebb0(0x1b7)),userListAction=async _0x340da9=>{const _0x31d1cf=a2_0x46ebb0,_0x344134=new UserListCommand(),_0x223d73=program['opts'](),_0x546fd1=await createTDXInstance(_0x223d73),_0xda2b3=await _0x344134[_0x31d1cf(0x13f)]({'options':{..._0x223d73,..._0x340da9},'args':[],'tdx':_0x546fd1});gracefulExit(_0xda2b3);};userCmd['action'](async _0x5816ec=>{const _0x341719=a2_0x46ebb0,_0x2a1b58=new UserCommand(),_0x5d93f2=program[_0x341719(0x224)](),_0x5784f1=await createTDXInstance(_0x5d93f2),_0xac5290=await _0x2a1b58['run']({'options':{..._0x5d93f2,..._0x5816ec},'args':[],'tdx':_0x5784f1});gracefulExit(_0xac5290);}),userCmd[a2_0x46ebb0(0x1b4)]('list')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x29e))[a2_0x46ebb0(0x209)](userListAction),program[a2_0x46ebb0(0x1b4)]('users')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x395))[a2_0x46ebb0(0x209)](userListAction),program[a2_0x46ebb0(0x1b4)]('profiles')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x124))[a2_0x46ebb0(0x209)](async _0x3fd66f=>{const _0x305c64=a2_0x46ebb0,_0x2f2609=new ProfilesCommand(),_0x38d653=program[_0x305c64(0x224)](),_0x31845e=await _0x2f2609['run']({'options':{..._0x38d653,..._0x3fd66f},'args':[],'tdx':null});gracefulExit(_0x31845e);});const profileCmd=program[a2_0x46ebb0(0x1b4)]('profile')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2c1));profileCmd['action'](()=>{const _0x41cd32=a2_0x46ebb0;profileCmd[_0x41cd32(0x131)]();});const profileListAction=async _0x2de17b=>{const _0x356d2c=a2_0x46ebb0,_0x4c408b=new ProfilesCommand(),_0x5d9979=program[_0x356d2c(0x224)](),_0x5b16b5=await _0x4c408b[_0x356d2c(0x13f)]({'options':{..._0x5d9979,..._0x2de17b},'args':[],'tdx':null});gracefulExit(_0x5b16b5);};profileCmd[a2_0x46ebb0(0x1b4)]('list')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x124))[a2_0x46ebb0(0x209)](profileListAction),profileCmd['command']('create\x20[name]')['description'](a2_0x46ebb0(0x1bc))[a2_0x46ebb0(0x182)](a2_0x46ebb0(0x2f2),a2_0x46ebb0(0x282))['action'](async(_0x271107,_0x4df7d0)=>{const _0x2d5910=a2_0x46ebb0,_0x280535=new ProfileCreateCommand(),_0x8f619e=program[_0x2d5910(0x224)](),_0x1b1639=await _0x280535['run']({'options':{..._0x8f619e,..._0x4df7d0},'args':_0x271107?[_0x271107]:[],'tdx':null});gracefulExit(_0x1b1639);}),profileCmd[a2_0x46ebb0(0x1b4)]('remove\x20<name>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x350))['addHelpText']('after',a2_0x46ebb0(0x32e))['action'](async(_0x2e07de,_0x5e7419)=>{const _0x2e9ddb=a2_0x46ebb0,_0x12c723=new ProfileRemoveCommand(),_0x20356b=program[_0x2e9ddb(0x224)](),_0x4bb684=await _0x12c723[_0x2e9ddb(0x13f)]({'options':{..._0x20356b,..._0x5e7419},'args':[_0x2e07de],'tdx':null});gracefulExit(_0x4bb684);}),profileCmd[a2_0x46ebb0(0x1b4)]('set\x20<key=value>')[a2_0x46ebb0(0x218)]('Set\x20a\x20profile\x20configuration\x20value')[a2_0x46ebb0(0x182)](a2_0x46ebb0(0x2f2),'\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=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')[a2_0x46ebb0(0x209)](async(_0x3f16cd,_0x192ff0)=>{const _0x5d7267=a2_0x46ebb0,_0x11e284=new ProfileSetCommand(),_0x52e169=program[_0x5d7267(0x224)](),_0x2a9dd2=await _0x11e284[_0x5d7267(0x13f)]({'options':{..._0x52e169,..._0x192ff0},'args':[_0x3f16cd],'tdx':null});gracefulExit(_0x2a9dd2);}),profileCmd[a2_0x46ebb0(0x1b4)]('use\x20<name>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2b3))[a2_0x46ebb0(0x25e)]('--default',a2_0x46ebb0(0x146))['addHelpText']('after',a2_0x46ebb0(0x2ab))['action'](async(_0x1ca124,_0x2d350c)=>{const _0x4bde0c=a2_0x46ebb0,_0x561f05=new ProfileUseCommand(),_0x414b46=program[_0x4bde0c(0x224)](),_0x909a1c=await _0x561f05[_0x4bde0c(0x13f)]({'options':{..._0x414b46,..._0x2d350c},'args':[_0x1ca124],'tdx':null});gracefulExit(_0x909a1c);});const engageCmd=program['command'](a2_0x46ebb0(0x173))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x179)),createEngageAction=_0x4531df=>{return async(_0x1e239b,_0x322a4e)=>{const _0x5ee627=a2_0x17f4,_0x26d65d=new _0x4531df(),_0x22396e=program['opts'](),_0x2966b2=await createTDXInstance(_0x22396e),_0x412595=await _0x26d65d[_0x5ee627(0x13f)]({'options':{..._0x22396e,..._0x322a4e},'args':[_0x1e239b],'tdx':_0x2966b2});gracefulExit(_0x412595);};},createEngageNoArgAction=_0xf53ba9=>{return async _0x350b8d=>{const _0x5a4c45=a2_0x17f4,_0x583a30=new _0xf53ba9(),_0x2853ca=program[_0x5a4c45(0x224)](),_0x11dbdc=await createTDXInstance(_0x2853ca),_0x215bde=await _0x583a30[_0x5a4c45(0x13f)]({'options':{..._0x2853ca,..._0x350b8d},'args':[],'tdx':_0x11dbdc});gracefulExit(_0x215bde);};},createEngageListAction=_0x172a7b=>{return async(_0xd7e052,_0x1be9cc)=>{const _0x525322=a2_0x17f4,_0x3db7ac=new _0x172a7b(),_0xd91b62=program[_0x525322(0x224)](),_0x30c31f=await createTDXInstance(_0xd91b62),_0x49f5a2=await _0x3db7ac['run']({'options':{..._0xd91b62,..._0x1be9cc},'args':_0xd7e052?[_0xd7e052]:[],'tdx':_0x30c31f});gracefulExit(_0x49f5a2);};},campaignCmd=engageCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x38e))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2e7));campaignCmd[a2_0x46ebb0(0x1b4)]('list\x20[pattern]')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x204))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1c0),a2_0x46ebb0(0x24b))['option'](a2_0x46ebb0(0x163),a2_0x46ebb0(0x2c4))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))[a2_0x46ebb0(0x209)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x46ebb0(0x12f))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x389))[a2_0x46ebb0(0x25e)]('--type\x20<type>',a2_0x46ebb0(0x24b))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x163),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))['action'](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2bc))['description'](a2_0x46ebb0(0x15b))['option'](a2_0x46ebb0(0x355),'Workspace\x20name')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1e8),a2_0x46ebb0(0x219))[a2_0x46ebb0(0x209)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1d2))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2f1))[a2_0x46ebb0(0x1ef)](a2_0x46ebb0(0x2ca),a2_0x46ebb0(0x330))[a2_0x46ebb0(0x1ef)](a2_0x46ebb0(0x1c0),a2_0x46ebb0(0x2fe))[a2_0x46ebb0(0x25e)]('--workspace\x20<name>',a2_0x46ebb0(0x211))[a2_0x46ebb0(0x25e)]('--description\x20<desc>',a2_0x46ebb0(0x25d))['option'](a2_0x46ebb0(0x2da),a2_0x46ebb0(0x2ed))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x197),a2_0x46ebb0(0x10c))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x260),a2_0x46ebb0(0x130))['option'](a2_0x46ebb0(0x1eb),a2_0x46ebb0(0x1c4))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3ac),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x46ebb0(0x209)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1b3))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x208))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))['option']('--name\x20<name>',a2_0x46ebb0(0x1cc))['option'](a2_0x46ebb0(0x2f8),a2_0x46ebb0(0x25d))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2da),a2_0x46ebb0(0x2ed))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x197),a2_0x46ebb0(0x10c))['option']('--json-columns\x20<cols>',a2_0x46ebb0(0x130))[a2_0x46ebb0(0x25e)]('--start-at\x20<datetime>',a2_0x46ebb0(0x1c4))['option']('--timezone\x20<tz>',a2_0x46ebb0(0x11c))[a2_0x46ebb0(0x209)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2c7))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x17c))['option']('--workspace\x20<name>',a2_0x46ebb0(0x323))['option'](a2_0x46ebb0(0x1f5),a2_0x46ebb0(0x380))[a2_0x46ebb0(0x209)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x36f))[a2_0x46ebb0(0x218)]('Launch\x20a\x20campaign')['option'](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x293))['description'](a2_0x46ebb0(0x17f))[a2_0x46ebb0(0x25e)]('--workspace\x20<name>',a2_0x46ebb0(0x323))[a2_0x46ebb0(0x209)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x46ebb0(0x1b4)]('resume\x20<name-or-id>')[a2_0x46ebb0(0x218)]('Resume\x20a\x20paused\x20campaign')['option'](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))[a2_0x46ebb0(0x209)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x46ebb0(0x1bf))['description'](a2_0x46ebb0(0x187))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x355),'Workspace\x20name')['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x46ebb0(0x1b4)]('pull\x20[workspace-name]')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x315))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))[a2_0x46ebb0(0x25e)]('--name\x20<name>',a2_0x46ebb0(0x2a0))['option'](a2_0x46ebb0(0x1c0),a2_0x46ebb0(0x24b))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x285),a2_0x46ebb0(0x308))[a2_0x46ebb0(0x209)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x30c))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x186))[a2_0x46ebb0(0x25e)]('--workspace\x20<name>',a2_0x46ebb0(0x323))[a2_0x46ebb0(0x25e)]('--dry-run',a2_0x46ebb0(0x192))['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x139))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x37f))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x210),a2_0x46ebb0(0x278))[a2_0x46ebb0(0x209)](createEngageAction(EngageCampaignValidateCommand));const templateCmd=engageCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x109))['description'](a2_0x46ebb0(0x142));templateCmd[a2_0x46ebb0(0x1b4)]('list\x20[pattern]')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x17b))['option'](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))[a2_0x46ebb0(0x209)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2a7))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2d5))['option'](a2_0x46ebb0(0x355),'Workspace\x20name')[a2_0x46ebb0(0x209)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x46ebb0(0x1b4)]('show\x20<name-or-id>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x384))[a2_0x46ebb0(0x25e)]('--workspace\x20<name>',a2_0x46ebb0(0x323))[a2_0x46ebb0(0x25e)]('--full',a2_0x46ebb0(0x219))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x46ebb0(0x1b4)]('create')[a2_0x46ebb0(0x218)]('Create\x20an\x20email\x20template')['requiredOption'](a2_0x46ebb0(0x2ca),a2_0x46ebb0(0x2f0))[a2_0x46ebb0(0x1ef)](a2_0x46ebb0(0x341),a2_0x46ebb0(0x11f))['requiredOption'](a2_0x46ebb0(0x125),'HTML\x20template\x20content')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x355),a2_0x46ebb0(0x211))['option']('--plaintext\x20<text>',a2_0x46ebb0(0x1cf))['option'](a2_0x46ebb0(0x19c),a2_0x46ebb0(0x1d4),_0x591be3=>{const _0x4d7126=a2_0x46ebb0;if(![_0x4d7126(0x1a7),_0x4d7126(0x126)][_0x4d7126(0x252)](_0x591be3))throw new SDKError(ErrorCode[_0x4d7126(0x19a)],'Invalid\x20editor\x20type:\x20'+_0x591be3+_0x4d7126(0x39c));return _0x591be3;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x46ebb0(0x1b4)]('update\x20<name-or-id>')[a2_0x46ebb0(0x218)]('Update\x20an\x20email\x20template')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))['option'](a2_0x46ebb0(0x2ca),a2_0x46ebb0(0x16e))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x341),a2_0x46ebb0(0x11f))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x125),a2_0x46ebb0(0x34f))['option']('--plaintext\x20<text>',a2_0x46ebb0(0x1cf))[a2_0x46ebb0(0x209)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2c7))[a2_0x46ebb0(0x218)]('Delete\x20an\x20email\x20template')['option'](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1f5),a2_0x46ebb0(0x380))[a2_0x46ebb0(0x209)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command']('workspace')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2d0));function a2_0x4dc1(){const _0x649f3b=['view\x20<name-or-path>','argv','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Output\x20folder\x20(default:\x20{project_name}.llm)','Attributes\x20from\x20JSON\x20file','models','name','optionDescription','trino','-y,\x20--yes','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','run\x20<name>','tdx\x20','Show\x20all\x20files\x20including\x20valid\x20ones','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Invalid\x20--limit\x20value:\x20\x22','Agent\x20name','Attributes\x20as\x20JSON\x20string','Output\x20directory','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','subcommandDescription','View\x20a\x20specific\x20version\x20of\x20a\x20journey','\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','segment','--chat-id\x20<id>','--dry-run','delete\x20<args...>','--description\x20<text>','-w,\x20--web','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','use\x20[name]','-H,\x20--header\x20<header>','workflows\x20[project]','--limit\x20<rows>','--behavior\x20[name]','Move\x20to\x20folder','--result\x20<url>','pause\x20<name-or-id>','list\x20[project]','delivery','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','agent','upload\x20[project-name-or-dir]','--rule\x20<json>','[action]','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','List\x20all\x20users\x20in\x20the\x20account','desc\x20[name]','Pull\x20specific\x20campaign\x20by\x20name','List\x20available\x20LLM\x20models','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Database\x20name\x20(required)','exit','--last','pause\x20<name-or-path>','templates\x20[pattern]','--delay\x20<seconds>','Resume\x20a\x20paused\x20journey','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a','pull\x20[project]\x20[agent-name]','colorFn','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','json','attempt','Scheduled\x20query\x20management\x20commands','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','--limit\x20<number>','Change\x20to\x20directory\x20before\x20executing\x20command','parent-segment','log\x20<chat-id>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--reeval','Resume\x20from\x20specific\x20task\x20(retry)','Create\x20a\x20scheduled\x20query','show\x20<name-or-id>','LLM\x20project\x20management','Timezone\x20(e.g.,\x20America/Los_Angeles)','fields\x20[name]','--clear','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Agent\x20description','Parse\x20and\x20validate\x20without\x20executing','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Show\x20only\x20master\x20table\x20validation','Delivery\x20operations\x20(email\x20senders)','delete\x20<name-or-id>','create\x20<segment_name>','Add\x20behaviors\x20as\x20JSON\x20string','--name\x20<name>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','length','forEach','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','-C,\x20--directory\x20<path>','Workspace\x20management','Workflow\x20(Digdag)\x20management\x20commands','delete\x20<project-name-or-id>','Output\x20as\x20JSON','Workspace\x20description','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','List\x20all\x20versions\x20of\x20a\x20journey','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','journeys\x20[pattern]','--segment\x20<path>','preAction','--table','clone\x20[source-dir]','[DEPRECATED]\x20Segment\x20folder\x20management','CDP\x20segment\x20management\x20commands','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','--default','--debug','--params\x20<json>','info\x20[segment_name]','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Campaign\x20management','Reason\x20for\x20killing\x20the\x20attempt','Show\x20journey\x20table\x20column-to-step\x20mapping','End\x20time\x20filter\x20(ISO\x208601\x20format)','log','describe','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','versions\x20<name-or-path>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Template\x20name','Create\x20a\x20new\x20campaign','after','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Ending\x20offset\x20(default:\x2020)','run\x20[workflow]','Run\x20specific\x20tests\x20(comma-separated)','--description\x20<desc>','required','Force\x20retry\x20even\x20if\x20not\x20failed','push','parse','Result\x20output\x20destination\x20URL','Campaign\x20type\x20(email\x20or\x20push)','-n,\x20--name\x20<name>','\x22.\x20Must\x20be\x20a\x20number.','Show\x20the\x20most\x20recent\x20chat','Update\x20an\x20existing\x20agent','project','-r,\x20--recursive','list\x20[name]','list','api\x20[endpoint]','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','use\x20<project-name>','--stream','push\x20[target]','workspaces\x20[pattern]','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','sessions\x20[project]','List\x20jobs','\x20-\x20built\x20','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','allowExcessArguments','Pull\x20campaigns\x20to\x20YAML\x20files','--num\x20<1-10>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Skip\x20confirmation\x20prompts','workflow','Job\x20management\x20commands','use\x20[project]','database','Preview\x20changes\x20without\x20writing\x20files','--include-history','\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','--site\x20<site>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Workspace\x20name','us01','--enriched','senders\x20[pattern]','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','Show\x20timeline\x20for\x20specific\x20attempt','map','-d,\x20--database\x20<database>','Usage:\x20','_hidden','timeline\x20[project.workflow]','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','desc\x20[segment_name]','Campaign\x20name','Show\x20agent\x20details','_list-commands','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','agents\x20[pattern]','update\x20<segment_name>','folders\x20<parent_name>',',\x20version\x20','--priority\x20<-2~2>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','format','--system-prompt\x20<text>','--catalog\x20<catalog>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','commandUsage','--subject\x20<subject>','slice','--kind\x20<type>','init\x20[name]','Create\x20a\x20new\x20LLM\x20project','--behaviors\x20<json>','--delete','llm','view\x20[name]','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','--param\x20<key=value>','Arguments:','--json','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','HTML\x20template\x20content','Remove\x20a\x20profile','debug','INFO','clear','--name\x20<new-name>','--workspace\x20<name>','DEBUG','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','tsv','Clear\x20workflow\x20project\x20context','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Read\x20query\x20from\x20file','--include-stats','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','jsonl','commandDescription','commands','--rule-file\x20<file>','--invisible','Workflow\x20attempt\x20management','show\x20<folder_ref>','Request\x20body\x20as\x20JSON\x20string','delete\x20<name>','--database\x20<name>','Workflow\x20session\x20management','Add\x20behaviors\x20from\x20JSON\x20file','--timeout\x20<seconds>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','query\x20[sql]','launch\x20<name-or-id>','Maximum\x20recursion\x20depth\x20(default:\x2010)','--schedule-type\x20<type>','Authentication\x20management','--stage\x20<name>','tasks','delete\x20<agent-name>','pull\x20<project>\x20[target-dir]','test\x20[path]','create\x20<name>','-f,\x20--file\x20<path>','Set\x20operation\x20timeout\x20in\x20seconds','Skip\x20validation\x20of\x20.dig\x20files','show\x20[segment_name]','Parent\x20segment\x20management','--model\x20<name>','Validate\x20campaign\x20YAML\x20files\x20locally','Skip\x20confirmation\x20prompt','Workflow\x20project\x20management','--add-attributes-file\x20<file>','session','Show\x20email\x20template\x20details','List\x20journeys\x20(alias\x20for\x20journey\x20list)','split','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','show\x20[name]','usage','68eHRNVq','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','campaign','List\x20email\x20senders','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--attempt-id\x20<id>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','argumentDescription','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Run\x20tests\x20for\x20an\x20LLM\x20agent','summary','--from\x20<timestamp>','Show\x20segment\x20schema\x20(column\x20types)','flatMap','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','help','Name\x20for\x20the\x20new\x20project\x20(required)','--no-proxy','Query\x20engine\x20version','--cron\x20<expression>','stringify','Overwrite\x20local\x20changes\x20without\x20confirmation','Include\x20execution\x20statistics','secrets','--folder\x20<name>','statusline','--attribute\x20[name]','--trace','push\x20[path]','--behaviors-file\x20<file>','--timezone\x20<tz>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','job','--interval\x20<range>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','-a,\x20--agent\x20<name>','traffic\x20<name-or-path>','--database\x20<db>','--help','Show\x20job\x20details','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','noColor','--attributes-file\x20<file>','stdout','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','3360RBpBFH','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','options','template','Generate\x20test\x20conversations\x20without\x20evaluation','Table\x20management\x20commands','Email\x20sender\x20ID\x20for\x20delivery','Include\x20retried\x20attempts','Updated\x20description','RT\x202.0\x20configuration\x20management','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Customer\x20group\x20as\x20JSON\x20string','Behaviors\x20from\x20JSON\x20file','registeredArguments','hidden','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','set\x20<args...>','Open\x20segment\x20in\x20web\x20browser','82276JoaWKx','--parent-folder\x20<name>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','chats','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--data\x20<data>','allowUnknownOption','Email\x20subject\x20template','sql\x20[segment_name]','--retry-limit\x20<0~32>','Maximum\x20number\x20of\x20nodes','retry\x20<session-id>','List\x20all\x20available\x20profiles','--html\x20<html>','grapesjs','--in\x20<database>','Show\x20connection\x20details\x20by\x20name','Output\x20as\x20JSON\x20Lines','Folder\x20name\x20for\x20organization','Model\x20type\x20(default:\x20claude-4.5-sonnet)','--engine-version\x20<version>','replace','Push\x20without\x20confirmation','campaigns\x20[pattern]','JSON\x20columns\x20for\x20connector\x20(comma-separated)','outputHelp','List\x20agents\x20in\x20current\x20project','--skip-validation','Skip\x20population\x20counting','--to\x20<date>','backup\x20<name>','-1d','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','validate\x20[target]','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','argument','Delete\x20an\x20agent','Revision\x20name\x20(default:\x20timestamp)','Agent\x20prompt/instructions','run','--limit\x20<n>','Delete\x20a\x20workspace','Email\x20template\x20management','chat\x20[message...]','repeat','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','153108bCQlVd','--name\x20<text>','--no-count-population','Path\x20is\x20not\x20a\x20directory:\x20','unset\x20<resource>','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','update\x20<agent-name>','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','--in\x20<db>','--no-color','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Include\x20retried\x20attempts\x20(for\x20list)','preview\x20[file]','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Query\x20type:\x20trino\x20or\x20hive','Delete\x20a\x20scheduled\x20query','--agent\x20<ref>','Include\x20raw\x20history\x20data\x20in\x20output','logLevel','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Show\x20campaign\x20details','create\x20<parent_name>\x20<folder_name>','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Read\x20SQL\x20query\x20from\x20file','catch','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--add-behaviors-file\x20<file>','validate\x20[file]','--status\x20<status>','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Remove\x20API\x20key\x20from\x20system\x20keychain','LLM\x20agent\x20management','System\x20prompt/instructions\x20(default:\x20empty)','Pull\x20specific\x20revision\x20(default:\x20latest)','set','215juWYlv','--schedule-option\x20<value>','list\x20[path]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','New\x20template\x20name','--revision\x20<revision>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--from\x20<date>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','engage','Create\x20segment\x20folder','result\x20<job-id>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','run\x20[name]','connection','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Starter\x20message','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Delete\x20a\x20campaign','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','describe\x20[table]','Pause\x20a\x20campaign','show\x20[table]','--llm-project\x20<name>','addHelpText','Show\x20master\x20table\x20sample\x20data','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Cron\x20expression\x20for\x20scheduling','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Duplicate\x20a\x20campaign','Segment\x20description','Resume\x20a\x20conversation\x20(shows\x20selector)','stats\x20<name-or-path>','--customer-group-file\x20<file>','Show\x20authentication\x20status\x20and\x20current\x20context','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','folder','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','--max-depth\x20<depth>','Describe\x20table\x20schema','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','gitRevision','--email-sender-id\x20<id>','connections','Filtering\x20rule\x20as\x20JSON\x20string','INVALID_ARGUMENT','--add-behaviors\x20<json>','--editor-type\x20<type>','-o,\x20--output\x20<file>','-f,\x20--force','clone\x20[source]','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','status','\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','--session-time\x20<time>','padWidth','Follow/watch\x20timeline\x20for\x20running\x20attempts','--name\x20<new_name>','beefree','Update\x20a\x20workspace','Make\x20segment\x20invisible\x20(default:\x20visible)','--result\x20<target>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Database\x20name','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Timezone\x20for\x20cron\x20(default:\x20UTC)','-p,\x20--profile\x20<name>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--max-tool-iterations\x20<n>','Show\x20workspace\x20details','update\x20<name-or-id>','command','optionTerm','columns\x20<name-or-path>','User\x20management\x20commands','padEnd','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--attributes\x20<json>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Create\x20a\x20new\x20profile','join','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','duplicate\x20<name-or-id>','--type\x20<type>','Clear\x20session\x20context','List\x20journeys\x20in\x20current\x20context','Run\x20a\x20scheduled\x20query\x20immediately','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','argumentTerm','[task-name]','List\x20available\x20connector\x20types','alias','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','CDP\x20Journey\x20Orchestration\x20commands','tables\x20[pattern]','New\x20campaign\x20name','Show\x20segment\x20details\x20(alias\x20for\x20view)','sql\x20[name]','Plaintext\x20template\x20content','Customer\x20group\x20from\x20JSON\x20file','flags','create','--new','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','Action:\x20logs,\x20tasks,\x20kill,\x20retry','-o,\x20--output\x20<folder>','configureHelp','--reason\x20<text>','Manage\x20workflow\x20project\x20secrets','pull\x20[name]','site','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','-d,\x20--database\x20<db>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','list\x20[pattern]','user','Personalization\x20service\x20management','[options]\x20--\x20[claude-code-args...]','Parent\x20segment\x20description','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Include\x20subtasks\x20in\x20tasks\x20output','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--full','stderr','kill','--start-at\x20<datetime>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','683930JfzNxS','Master\x20table\x20name','requiredOption','Updated\x20timezone','buildTime','165QoenQK','download\x20<project-name>\x20[output-dir]','-o,\x20--output\x20<dir>','--yes','Directory\x20does\x20not\x20exist:\x20','Read\x20request\x20body\x20from\x20file','Journey\x20version\x20management','Delay\x20in\x20seconds\x20before\x20execution','use\x20[resource]\x20[value]','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Update\x20a\x20scheduled\x20query','view\x20[segment_name]','subcommandTerm','submit\x20[query]','directory','error','apiKey','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','preview\x20[name]','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Update\x20a\x20campaign','action','--job-type\x20<type>','Job\x20priority\x20(-2\x20to\x202)','isTTY','Database\x20name\x20(default:\x20information_schema)','Starting\x20offset\x20(default:\x200)','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--verbose','Workspace\x20name\x20(required)','table','-u,\x20--use','50346KWDAhh','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Output\x20file\x20path','Output\x20file\x20path\x20(default:\x20<name>.yml)','description','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','jobs','activations\x20<segment_name>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','GET','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','version','Kill\x20a\x20job','--master','--no-eval','opts','get','Behaviors\x20as\x20JSON\x20string','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','auth','--include-retried','show\x20<name>','Show\x20journey\x20details','--version\x20<number>','AI-native\x20CLI\x20for\x20Treasure\x20Data','0.7','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Version\x20number\x20to\x20view','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Preview\x20operation\x20without\x20executing','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','projects\x20[pattern]','--color','resume\x20<name-or-path>','--to\x20<timestamp>','Limit\x20number\x20of\x20rows','parents\x20[pattern]','Enable\x20verbose\x20logging','List\x20activations\x20for\x20a\x20journey','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--add-attributes\x20<json>','create\x20<name-or-path>','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\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\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','-v,\x20--verbose','Retry\x20limit\x20(0\x20to\x2032)','6104XjkpZg','--temperature\x20<n>','Preview\x20changes\x20without\x20pushing','Start\x20a\x20new\x20chat\x20session','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','421876OcCSpY','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','New\x20workspace\x20name','List\x20secret\x20keys\x20for\x20a\x20project','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--jsonl','--type\x20<api_type>','includes','Attempt\x20ID','Pull\x20workflow\x20project\x20to\x20local\x20folder','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Show\x20journey\x20statistics','4095yfdfrG','--tags\x20<tags>','filter','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','tdx','Campaign\x20description','option','--resume-from\x20<task>','--json-columns\x20<cols>','Task\x20name\x20for\x20logs\x20action','Project\x20description','createAsync','--tsv','pull\x20[parent_or_file]','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Database\x20to\x20query\x20(default:\x20information_schema)','validate\x20[name]','--follow','Pull\x20child\x20segments\x20to\x20YAML\x20files'];a2_0x4dc1=function(){return _0x649f3b;};return a2_0x4dc1();}workspaceCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1df))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x35a))[a2_0x46ebb0(0x209)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x46ebb0(0x30d))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x313))[a2_0x46ebb0(0x209)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x46ebb0(0x1b4)]('show\x20<name-or-id>')['description'](a2_0x46ebb0(0x1b2))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1e8),a2_0x46ebb0(0x219))[a2_0x46ebb0(0x209)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1d2))[a2_0x46ebb0(0x218)]('Create\x20a\x20workspace')[a2_0x46ebb0(0x1ef)](a2_0x46ebb0(0x2ca),a2_0x46ebb0(0x323))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2f8),'Workspace\x20description')['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1b3))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1a8))['option']('--name\x20<name>',a2_0x46ebb0(0x24c))['option']('--description\x20<desc>',a2_0x46ebb0(0x2d4))[a2_0x46ebb0(0x209)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x46ebb0(0x2c7))['description'](a2_0x46ebb0(0x141))[a2_0x46ebb0(0x25e)]('--yes','Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x46ebb0(0x1b4)]('use\x20<name>')['description']('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')['action'](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x295))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2c6));deliveryCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x326))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x38f))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x355),a2_0x46ebb0(0x323))[a2_0x46ebb0(0x209)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x46ebb0(0x178))['description']('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x5c77f9=>{const _0x271a7a=a2_0x46ebb0,_0x5784a7=new ConnectionListCommand(),_0x53f018=program[_0x271a7a(0x224)](),_0x38112c=await createTDXInstance(_0x53f018),_0x4284d5=await _0x5784a7[_0x271a7a(0x13f)]({'options':{..._0x53f018,..._0x5c77f9},'args':[],'tdx':_0x38112c});gracefulExit(_0x4284d5);};connectionCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x306))[a2_0x46ebb0(0x218)]('List\x20all\x20data\x20connections')['action'](connectionListAction),program['command'](a2_0x46ebb0(0x198),{'hidden':!![]})[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x164))[a2_0x46ebb0(0x209)](connectionListAction),connectionCmd[a2_0x46ebb0(0x1b4)]('show\x20<name>')['description'](a2_0x46ebb0(0x128))[a2_0x46ebb0(0x209)](async(_0x1be678,_0x3f75a8)=>{const _0x2260bf=a2_0x46ebb0,_0x493d4e=new ConnectionShowCommand(),_0x151e45=program[_0x2260bf(0x224)](),_0x59406e=await createTDXInstance(_0x151e45),_0x369418=await _0x493d4e[_0x2260bf(0x13f)]({'options':{..._0x151e45,..._0x3f75a8},'args':[_0x1be678],'tdx':_0x59406e});gracefulExit(_0x369418);}),connectionCmd['command']('schema\x20<type>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x227))[a2_0x46ebb0(0x209)](async(_0x209b09,_0xab87e3)=>{const _0x357c65=a2_0x46ebb0,_0x5ebab2=new ConnectionSchemaCommand(),_0x3e0b82=program[_0x357c65(0x224)](),_0x1521d4=await createTDXInstance(_0x3e0b82),_0x136400=await _0x5ebab2[_0x357c65(0x13f)]({'options':{..._0x3e0b82,..._0xab87e3},'args':[_0x209b09],'tdx':_0x1521d4});gracefulExit(_0x136400);}),connectionCmd[a2_0x46ebb0(0x1b4)]('types')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1c7))[a2_0x46ebb0(0x209)](async _0x290980=>{const _0x324891=a2_0x46ebb0,_0x48f3c2=new ConnectionTypesCommand(),_0x41090a=program[_0x324891(0x224)](),_0x3b17d0=await createTDXInstance(_0x41090a),_0x399f74=await _0x48f3c2[_0x324891(0x13f)]({'options':{..._0x41090a,..._0x290980},'args':[],'tdx':_0x3b17d0});gracefulExit(_0x399f74);}),connectionCmd['command']('settings\x20<type>')[a2_0x46ebb0(0x218)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x46ebb0(0x209)](async(_0x420067,_0x38f3f9)=>{const _0x5b9f52=a2_0x46ebb0,_0x315c11=new ConnectionSettingsCommand(),_0x457160=program[_0x5b9f52(0x224)](),_0x4d69e8=await createTDXInstance(_0x457160),_0x5ea55b=await _0x315c11[_0x5b9f52(0x13f)]({'options':{..._0x457160,..._0x38f3f9},'args':[_0x420067],'tdx':_0x4d69e8});gracefulExit(_0x5ea55b);});const journeyCmd=program[a2_0x46ebb0(0x1b4)]('journey')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1ca)),journeyListAction=async(_0x2ae079,_0x588c49)=>{const _0x393cd8=a2_0x46ebb0,_0x1a3753=new JourneyListCommand(),_0x218fc5=program[_0x393cd8(0x224)](),_0x444437=await createTDXInstance(_0x218fc5),_0x2bd4ca=await _0x1a3753[_0x393cd8(0x13f)]({'options':{..._0x218fc5,..._0x588c49},'args':_0x2ae079?[_0x2ae079]:[],'tdx':_0x444437});gracefulExit(_0x2bd4ca);};journeyCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1df))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1c2))['action'](journeyListAction),journeyCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x26b))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x22b))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x288),'Open\x20journey\x20in\x20web\x20browser')['option'](a2_0x46ebb0(0x35e),a2_0x46ebb0(0x3a4))[a2_0x46ebb0(0x209)](async(_0x4fcc54,_0x171c78)=>{const _0x2edb4b=a2_0x46ebb0,_0x1218ac=new JourneyViewCommand(),_0x3a0679=program[_0x2edb4b(0x224)](),_0xd61276=await createTDXInstance(_0x3a0679),_0x23787d=await _0x1218ac[_0x2edb4b(0x13f)]({'options':{..._0x3a0679,..._0x171c78},'args':[_0x4fcc54],'tdx':_0xd61276});gracefulExit(_0x23787d);}),journeyCmd['command'](a2_0x46ebb0(0x18a))['description'](a2_0x46ebb0(0x257))['option'](a2_0x46ebb0(0x373),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x46ebb0(0x25e)]('--from\x20<date>',a2_0x46ebb0(0x26d))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x135),a2_0x46ebb0(0x396))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x31e),a2_0x46ebb0(0x158))['action'](async(_0x52ed88,_0x2fd6a4)=>{const _0x246b6d=a2_0x46ebb0,_0x31dfdf=new JourneyStatsCommand(),_0x3ca389=program[_0x246b6d(0x224)](),_0x4a0188=await createTDXInstance(_0x3ca389),_0x31e8c1=await _0x31dfdf[_0x246b6d(0x13f)]({'options':{..._0x3ca389,..._0x2fd6a4},'args':[_0x52ed88],'tdx':_0x4a0188});gracefulExit(_0x31e8c1);}),journeyCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0xfc))['description']('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')['option'](a2_0x46ebb0(0x1c0),a2_0x46ebb0(0x115))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x171),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x135),a2_0x46ebb0(0x396))['option'](a2_0x46ebb0(0x2b4),a2_0x46ebb0(0x122),_0x2202a2=>{const _0x16a297=a2_0x46ebb0,_0x43a6c6=parseInt(_0x2202a2,0xa);if(isNaN(_0x43a6c6))throw new Error(_0x16a297(0x27a)+_0x2202a2+_0x16a297(0x300));return _0x43a6c6;})[a2_0x46ebb0(0x209)](async(_0x41a8ff,_0x596f85)=>{const _0x45174e=a2_0x46ebb0,_0x46431c=new JourneyTrafficCommand(),_0x7648a7=program[_0x45174e(0x224)](),_0x4d1a96=await createTDXInstance(_0x7648a7),_0x30f945=await _0x46431c[_0x45174e(0x13f)]({'options':{..._0x7648a7,..._0x596f85},'args':[_0x41a8ff],'tdx':_0x4d1a96});gracefulExit(_0x30f945);}),journeyCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2a6))['description']('Pause\x20a\x20running\x20journey')[a2_0x46ebb0(0x209)](async(_0x1619d6,_0x50fc29)=>{const _0x4ae47e=a2_0x46ebb0,_0x376ba0=new JourneyPauseCommand(),_0x35c403=program[_0x4ae47e(0x224)](),_0x3cd35b=await createTDXInstance(_0x35c403),_0x1e1b32=await _0x376ba0[_0x4ae47e(0x13f)]({'options':{..._0x35c403,..._0x50fc29},'args':[_0x1619d6],'tdx':_0x3cd35b});gracefulExit(_0x1e1b32);}),journeyCmd['command'](a2_0x46ebb0(0x236))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2a9))['action'](async(_0xd8ae1e,_0x1895b9)=>{const _0x21a9ad=a2_0x46ebb0,_0x390e54=new JourneyResumeCommand(),_0x34e816=program['opts'](),_0x422b5f=await createTDXInstance(_0x34e816),_0x2c886a=await _0x390e54[_0x21a9ad(0x13f)]({'options':{..._0x34e816,..._0x1895b9},'args':[_0xd8ae1e],'tdx':_0x422b5f});gracefulExit(_0x2c886a);}),journeyCmd[a2_0x46ebb0(0x1b4)]('pull\x20[name]')[a2_0x46ebb0(0x218)]('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x285),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x46ebb0(0x209)](async(_0x4b8283,_0x537535)=>{const _0x19d566=a2_0x46ebb0,_0x13dfb8=new JourneyPullCommand(),_0x2ba9e3=program[_0x19d566(0x224)](),_0x3fc72a=await createTDXInstance(_0x2ba9e3),_0x28887b=await _0x13dfb8[_0x19d566(0x13f)]({'options':{..._0x2ba9e3,..._0x537535},'args':_0x4b8283?[_0x4b8283]:[],'tdx':_0x3fc72a});gracefulExit(_0x28887b);}),journeyCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x30c))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2ce))[a2_0x46ebb0(0x209)](async(_0x3d6df7,_0x4a3c89)=>{const _0x26d6c6=a2_0x46ebb0,_0x8a5e1d=new JourneyPushCommand(),_0x5a067a=program[_0x26d6c6(0x224)](),_0x4d5372=await createTDXInstance(_0x5a067a),_0x5930d1=await _0x8a5e1d[_0x26d6c6(0x13f)]({'options':{..._0x5a067a,..._0x4a3c89},'args':_0x3d6df7?[_0x3d6df7]:[],'tdx':_0x4d5372});gracefulExit(_0x5930d1);}),journeyCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1b6))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2e9))[a2_0x46ebb0(0x209)](async(_0x26eca6,_0x17af87)=>{const _0x4b0b02=a2_0x46ebb0,_0x133a3c=new JourneyColumnsCommand(),_0x3f40b2=program[_0x4b0b02(0x224)](),_0x5e8be9=await createTDXInstance(_0x3f40b2),_0x28df21=await _0x133a3c['run']({'options':{..._0x3f40b2,..._0x17af87},'args':[_0x26eca6],'tdx':_0x5e8be9});gracefulExit(_0x28df21);}),journeyCmd['command']('activations\x20<name-or-path>')['description'](a2_0x46ebb0(0x23b))[a2_0x46ebb0(0x209)](async(_0x2513c2,_0x1ae7b9)=>{const _0x474e05=a2_0x46ebb0,_0xee10ae=new JourneyActivationsCommand(),_0x2d7463=program[_0x474e05(0x224)](),_0x29e9cd=await createTDXInstance(_0x2d7463),_0x3bebd0=await _0xee10ae[_0x474e05(0x13f)]({'options':{..._0x2d7463,..._0x1ae7b9},'args':[_0x2513c2],'tdx':_0x29e9cd});gracefulExit(_0x3bebd0);}),journeyCmd['command'](a2_0x46ebb0(0x2ee))['description'](a2_0x46ebb0(0x2d6))[a2_0x46ebb0(0x209)](async(_0x13540f,_0x2f104f)=>{const _0x306ed8=a2_0x46ebb0,_0xfbbd4b=new JourneyVersionsCommand(),_0x399ecf=program[_0x306ed8(0x224)](),_0x3297e5=await createTDXInstance(_0x399ecf),_0xa5aa82=await _0xfbbd4b[_0x306ed8(0x13f)]({'options':{..._0x399ecf,..._0x2f104f},'args':[_0x13540f],'tdx':_0x3297e5});gracefulExit(_0xa5aa82);});const journeyVersionCmd=journeyCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x220))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1f8));journeyVersionCmd['command'](a2_0x46ebb0(0x23e))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x333))['action'](async(_0x408392,_0x2e698a)=>{const _0x365df2=a2_0x46ebb0,_0x25d057=new JourneyVersionCreateCommand(),_0x11eae3=program[_0x365df2(0x224)](),_0x21d374=await createTDXInstance(_0x11eae3),_0x2e7360=await _0x25d057[_0x365df2(0x13f)]({'options':{..._0x11eae3,..._0x2e698a},'args':[_0x408392],'tdx':_0x21d374});gracefulExit(_0x2e7360);}),journeyVersionCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x26b))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x281))[a2_0x46ebb0(0x1ef)](a2_0x46ebb0(0x22c),a2_0x46ebb0(0x230))['action'](async(_0x3dc930,_0xf5a784)=>{const _0x4eb93e=a2_0x46ebb0,_0x81f9fe=new JourneyVersionViewCommand(),_0x44afba=program[_0x4eb93e(0x224)](),_0xf2446a=await createTDXInstance(_0x44afba),_0x183416=await _0x81f9fe[_0x4eb93e(0x13f)]({'options':{..._0x44afba,..._0xf5a784},'args':[_0x3dc930],'tdx':_0xf2446a});gracefulExit(_0x183416);}),journeyCmd[a2_0x46ebb0(0x1b4)]('validate\x20[target]')[a2_0x46ebb0(0x218)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0x46ebb0(0x209)](async(_0x2e51e8,_0x10b848)=>{const _0x57d13b=a2_0x46ebb0,_0x2ecea7=new JourneyValidateCommand(),_0x400f18=program['opts'](),_0x1f0e37=await createTDXInstance(_0x400f18),_0x458bfd=await _0x2ecea7[_0x57d13b(0x13f)]({'options':{..._0x400f18,..._0x10b848},'args':_0x2e51e8?[_0x2e51e8]:[],'tdx':_0x1f0e37});gracefulExit(_0x458bfd);}),program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2d9))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x385))[a2_0x46ebb0(0x209)](journeyListAction);const agentSyncCmd=program[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x298))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x166));agentSyncCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x2ac))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x2b8))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1f4),a2_0x46ebb0(0x27d))[a2_0x46ebb0(0x25e)]('-f,\x20--force',a2_0x46ebb0(0x3a3))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x3b2),a2_0x46ebb0(0x2d8))[a2_0x46ebb0(0x209)](async(_0x571f6a,_0x58f133,_0x3bc1b5)=>{const _0x30ecb0=a2_0x46ebb0,_0x273bf0=new AgentPullCommand(),_0x29c896=program[_0x30ecb0(0x224)](),_0x447d1b=await createTDXInstance(_0x29c896),_0x1b839b=[];if(_0x571f6a)_0x1b839b[_0x30ecb0(0x2fb)](_0x571f6a);if(_0x58f133)_0x1b839b[_0x30ecb0(0x2fb)](_0x58f133);const _0x1a2a2e=await _0x273bf0[_0x30ecb0(0x13f)]({'options':{..._0x29c896,..._0x3bc1b5},'args':_0x1b839b,'tdx':_0x447d1b});gracefulExit(_0x1a2a2e);}),agentSyncCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x3aa))['description'](a2_0x46ebb0(0x2cb))['option'](a2_0x46ebb0(0x19e),a2_0x46ebb0(0x12e))[a2_0x46ebb0(0x209)](async(_0x3c84e2,_0x496ca7)=>{const _0x7c4050=a2_0x46ebb0,_0xaa18d=new AgentPushCommand(),_0x1d4627=program[_0x7c4050(0x224)](),_0x141edd=await createTDXInstance(_0x1d4627),_0x1f5328=await _0xaa18d[_0x7c4050(0x13f)]({'options':{..._0x1d4627,..._0x496ca7},'args':_0x3c84e2?[_0x3c84e2]:[],'tdx':_0x141edd});gracefulExit(_0x1f5328);}),agentSyncCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x19f))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x289))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2ff),a2_0x46ebb0(0x39e))[a2_0x46ebb0(0x209)](async(_0x535830,_0x538950)=>{const _0x24becc=a2_0x46ebb0,_0xe95604=new AgentCloneCommand(),_0xdaf732=program[_0x24becc(0x224)](),_0x151fd4=await createTDXInstance(_0xdaf732),_0x38ca76=await _0xe95604[_0x24becc(0x13f)]({'options':{..._0xdaf732,..._0x538950},'args':_0x535830?[_0x535830]:[],'tdx':_0x151fd4});gracefulExit(_0x38ca76);}),agentSyncCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x377))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x397))[a2_0x46ebb0(0x25e)]('--name\x20<names>',a2_0x46ebb0(0x2f7))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x259),a2_0x46ebb0(0x36d))['option']('--dry-run',a2_0x46ebb0(0x2c3))['option'](a2_0x46ebb0(0x223),a2_0x46ebb0(0x10a))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x2b9),a2_0x46ebb0(0x248))[a2_0x46ebb0(0x209)](async(_0xf8cae6,_0x8abd1b)=>{const _0x9befac=a2_0x46ebb0,_0x55757=new AgentTestCommand(),_0x3e2687=program['opts'](),_0x49dd37=await createTDXInstance(_0x3e2687),_0x5bb7c2=await _0x55757[_0x9befac(0x13f)]({'options':{..._0x3e2687,..._0x8abd1b},'args':_0xf8cae6?[_0xf8cae6]:[],'tdx':_0x49dd37});gracefulExit(_0x5bb7c2);}),agentSyncCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x1df))['description'](a2_0x46ebb0(0x132))[a2_0x46ebb0(0x209)](llmAgentListAction),agentSyncCmd['command']('show\x20<agent-name>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x331))[a2_0x46ebb0(0x209)](async(_0x28d308,_0x5cbdb6)=>{const _0x16d64f=a2_0x46ebb0,_0x18ac04=new LLMAgentShowCommand(),_0x5c312d=program['opts'](),_0x7fff50=await createTDXInstance(_0x5c312d),_0x316e9f=await _0x18ac04[_0x16d64f(0x13f)]({'options':{..._0x5c312d,..._0x5cbdb6},'args':[_0x28d308],'tdx':_0x7fff50});gracefulExit(_0x316e9f);}),agentSyncCmd[a2_0x46ebb0(0x1b4)]('create\x20<name>')[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x1bb))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x33c),a2_0x46ebb0(0x167))['option'](a2_0x46ebb0(0x37e),a2_0x46ebb0(0x12b),'claude-4.5-sonnet')[a2_0x46ebb0(0x25e)]('--starter-message\x20<text>',a2_0x46ebb0(0x17a))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x1b1),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')['option'](a2_0x46ebb0(0x244),a2_0x46ebb0(0x1e7),a2_0x46ebb0(0x22e))[a2_0x46ebb0(0x209)](async(_0x9a2eb8,_0xa11237)=>{const _0x23a56f=a2_0x46ebb0,_0xaed8b4=new LLMAgentCreateCommand(),_0x1c8274=program[_0x23a56f(0x224)](),_0x4d8ce5=await createTDXInstance(_0x1c8274),_0xcf1508=await _0xaed8b4[_0x23a56f(0x13f)]({'options':{..._0x1c8274,..._0xa11237},'args':[_0x9a2eb8],'tdx':_0x4d8ce5});gracefulExit(_0xcf1508);}),agentSyncCmd[a2_0x46ebb0(0x1b4)](a2_0x46ebb0(0x14d))['description'](a2_0x46ebb0(0x302))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x148),a2_0x46ebb0(0x27b))[a2_0x46ebb0(0x25e)]('--prompt\x20<text>',a2_0x46ebb0(0x13e))[a2_0x46ebb0(0x25e)](a2_0x46ebb0(0x287),a2_0x46ebb0(0x2c2))['option']('--starter-message\x20<text>',a2_0x46ebb0(0x17a))[a2_0x46ebb0(0x209)](async(_0xdde51b,_0x301016)=>{const _0x2c98ae=a2_0x46ebb0,_0x9c66e8=new LLMAgentUpdateCommand(),_0x2c26da=program['opts'](),_0x3b1f74=await createTDXInstance(_0x2c26da),_0x213901=await _0x9c66e8[_0x2c98ae(0x13f)]({'options':{..._0x2c26da,..._0x301016},'args':[_0xdde51b],'tdx':_0x3b1f74});gracefulExit(_0x213901);}),agentSyncCmd['command'](a2_0x46ebb0(0x375))[a2_0x46ebb0(0x218)](a2_0x46ebb0(0x13c))[a2_0x46ebb0(0x209)](async(_0x523b46,_0x1640ac)=>{const _0x510266=a2_0x46ebb0,_0x288502=new LLMAgentDeleteCommand(),_0x432027=program[_0x510266(0x224)](),_0xa1eafd=await createTDXInstance(_0x432027),_0x46c10a=await _0x288502[_0x510266(0x13f)]({'options':{..._0x432027,..._0x1640ac},'args':[_0x523b46],'tdx':_0xa1eafd});gracefulExit(_0x46c10a);}),program['command'](a2_0x46ebb0(0x332),{'hidden':!![]})[a2_0x46ebb0(0x209)](()=>{const _0x42ecbf=a2_0x46ebb0;function _0x2fcccf(_0x2ec6c8,_0x926f00){const _0x44ca18=a2_0x17f4,_0x2c6033=[];for(const _0x542605 of _0x2ec6c8[_0x44ca18(0x362)]){if(_0x542605['_hidden'])continue;const _0x28a7c7=_0x926f00?_0x926f00+'\x20'+_0x542605[_0x44ca18(0x271)]():_0x542605[_0x44ca18(0x271)](),_0x373ee9=_0x28a7c7[_0x44ca18(0x386)]('\x20')[0x0],_0x334bdd=COMMAND_CATEGORIES['find'](_0x1811e4=>_0x1811e4[_0x44ca18(0x362)]['includes'](_0x373ee9)),_0x1566a2=_0x334bdd?.[_0x44ca18(0x271)]??'';if(_0x542605['commands'][_0x44ca18(0x2cc)]>0x0)_0x2c6033['push'](..._0x2fcccf(_0x542605,_0x28a7c7));else{const _0x28e42d=(_0x542605[_0x44ca18(0x113)]||[])[_0x44ca18(0x329)](_0x40b7e7=>{const _0xa4bc68=_0x44ca18,_0x1118bc=_0x40b7e7['variadic']?_0x40b7e7[_0xa4bc68(0x271)]()+'...':_0x40b7e7[_0xa4bc68(0x271)]();return _0x40b7e7['required']?'<'+_0x1118bc+'>':'['+_0x1118bc+']';})[_0x44ca18(0x1bd)]('\x20'),_0x435c44=_0x542605[_0x44ca18(0x108)][_0x44ca18(0x25a)](_0x2ef2e8=>!_0x2ef2e8[_0x44ca18(0x114)]&&_0x2ef2e8['long']!==_0x44ca18(0xfe))[_0x44ca18(0x329)](_0x6e8133=>({'flags':_0x6e8133[_0x44ca18(0x1d1)],'description':_0x6e8133[_0x44ca18(0x218)]}));_0x2c6033[_0x44ca18(0x2fb)]({'name':_0x28a7c7,'description':_0x542605['description'](),'group':_0x1566a2,'usage':_0x28e42d,'options':_0x435c44});}}return _0x2c6033;}console[_0x42ecbf(0x2eb)](JSON[_0x42ecbf(0x3a2)](_0x2fcccf(program,''))),process[_0x42ecbf(0x2a4)](0x0);});export{program};export function runCLI(){const _0x3734a0=a2_0x46ebb0,_0x2a1b11=!process[_0x3734a0(0x26c)][_0x3734a0(0x342)](0x2)['length'];showBriefHelp=_0x2a1b11,program[_0x3734a0(0x2fc)](process[_0x3734a0(0x26c)]);_0x2a1b11&&program['outputHelp']();if(process[_0x3734a0(0x1e9)]['isTTY']&&process[_0x3734a0(0x26c)]['length']>0x2&&!isDevVersion()){const _0x43e1d2=loadReleaseChannel();checkForUpdate(currentVersion,_0x43e1d2)['then'](_0x1ae7e6=>{_0x1ae7e6&&displayUpdateNotification(_0x1ae7e6);})[_0x3734a0(0x15f)](()=>{});}}
1
+ const a2_0xeb8183=a2_0x44dc;(function(_0x2ee48b,_0x29d1aa){const _0x4c778a=a2_0x44dc,_0x2c2c7f=_0x2ee48b();while(!![]){try{const _0xbbf919=parseInt(_0x4c778a(0x354))/0x1+parseInt(_0x4c778a(0x273))/0x2*(-parseInt(_0x4c778a(0x44e))/0x3)+-parseInt(_0x4c778a(0x2b1))/0x4+-parseInt(_0x4c778a(0x461))/0x5+-parseInt(_0x4c778a(0x1ef))/0x6*(parseInt(_0x4c778a(0x3b5))/0x7)+-parseInt(_0x4c778a(0x3d2))/0x8+-parseInt(_0x4c778a(0x258))/0x9*(-parseInt(_0x4c778a(0x20e))/0xa);if(_0xbbf919===_0x29d1aa)break;else _0x2c2c7f['push'](_0x2c2c7f['shift']());}catch(_0x2a9103){_0x2c2c7f['push'](_0x2c2c7f['shift']());}}}(a2_0x40ed,0x57033));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';function a2_0x44dc(_0x820564,_0x5bf7ec){_0x820564=_0x820564-0x1bf;const _0x40ed29=a2_0x40ed();let _0x44dc83=_0x40ed29[_0x820564];return _0x44dc83;}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{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv']['includes'](a2_0xeb8183(0x3b1))){let versionOutput=a2_0xeb8183(0x259)+currentVersion;buildInfo[a2_0xeb8183(0x2d8)]&&!currentVersion[a2_0xeb8183(0x290)](buildInfo[a2_0xeb8183(0x2d8)])&&(versionOutput+='\x20('+buildInfo[a2_0xeb8183(0x2d8)]+')'),buildInfo['buildTime']&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0xeb8183(0x38c)]),console[a2_0xeb8183(0x28e)](versionOutput),process[a2_0xeb8183(0x359)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0xeb8183(0x443);buildInfo[a2_0xeb8183(0x2d8)]&&!currentVersion[a2_0xeb8183(0x290)](buildInfo['gitRevision'])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0xeb8183(0x2d8)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0xeb8183(0x335)](a2_0xeb8183(0x37a))[a2_0xeb8183(0x33a)](description),program['option'](a2_0xeb8183(0x31f),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0xeb8183(0x229)](a2_0xeb8183(0x341),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')['option']('--site\x20<site>',a2_0xeb8183(0x447),a2_0xeb8183(0x326))[a2_0xeb8183(0x229)]('--format\x20<format>',a2_0xeb8183(0x45f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x32f),a2_0xeb8183(0x2d2))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e2),a2_0xeb8183(0x23f))[a2_0xeb8183(0x229)]('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0xeb8183(0x229)]('--tsv','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option'](a2_0xeb8183(0x401),a2_0xeb8183(0x21a))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3fe),a2_0xeb8183(0x378))[a2_0xeb8183(0x229)]('--color','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0xeb8183(0x229)](a2_0xeb8183(0x437),a2_0xeb8183(0x37d),![])[a2_0xeb8183(0x229)](a2_0xeb8183(0x36c),a2_0xeb8183(0x35c),![])[a2_0xeb8183(0x229)]('--debug','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')['option']('--trace',a2_0xeb8183(0x379))[a2_0xeb8183(0x229)](a2_0xeb8183(0x387),a2_0xeb8183(0x24b),'30')[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x254),![])[a2_0xeb8183(0x229)](a2_0xeb8183(0x41f),'Skip\x20confirmation\x20prompts',![])[a2_0xeb8183(0x229)](a2_0xeb8183(0x1f2),a2_0xeb8183(0x2a4))['option']('--parent-segment\x20<name>',a2_0xeb8183(0x357))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2c5),a2_0xeb8183(0x374)),program[a2_0xeb8183(0x1db)]({'formatHelp':(_0x54b9dc,_0x43220b)=>{const _0x4ec73f=a2_0xeb8183,_0x482ba7=_0x43220b[_0x4ec73f(0x432)](_0x54b9dc,_0x43220b),_0x52a7d7=0x2,_0x4abb95=0x2;function _0x579477(_0x55aacc){const _0x4be854=_0x4ec73f,_0x361962=_0x55aacc;return!!(_0x361962['_hidden']||_0x361962[_0x4be854(0x25a)]);}function _0x163e3f(_0x5608ea,_0x4ea536){if(_0x4ea536){const _0x494771=''+_0x5608ea['padEnd'](_0x482ba7+_0x4abb95)+_0x4ea536;return _0x494771;}return _0x5608ea;}function _0x437e5b(_0x13f88f){const _0xbe33f7=_0x4ec73f;return _0x13f88f[_0xbe33f7(0x429)]('\x0a')['replace'](/^/gm,'\x20'['repeat'](_0x52a7d7));}const _0x536c17=[];_0x536c17[_0x4ec73f(0x395)](_0x4ec73f(0x422)+_0x43220b[_0x4ec73f(0x36d)](_0x54b9dc));const _0x409600=_0x43220b[_0x4ec73f(0x339)](_0x54b9dc);_0x409600&&(_0x536c17[_0x4ec73f(0x395)](''),_0x536c17['push'](_0x409600));const _0x221c7a=_0x54b9dc[_0x4ec73f(0x3b4)][_0x4ec73f(0x30a)](_0x570784=>!_0x579477(_0x570784));if(_0x221c7a['length']>0x0){if(_0x54b9dc[_0x4ec73f(0x335)]()===_0x4ec73f(0x37a)){const _0x269857=_0x54b9dc[_0x4ec73f(0x3cf)](),_0x2be437=!_0x269857[_0x4ec73f(0x3a7)]&&process[_0x4ec73f(0x2cf)][_0x4ec73f(0x276)],_0x5025ca=COMMAND_CATEGORIES,_0xcd9bda=(_0x395143,_0x26cb2f)=>_0x2be437?_0x26cb2f(_0x395143):_0x395143,_0xf3416f=new Map();_0x221c7a[_0x4ec73f(0x1cc)](_0x475a2f=>{const _0x4afbe6=_0x4ec73f;_0xf3416f[_0x4afbe6(0x3ae)](_0x475a2f[_0x4afbe6(0x335)](),_0x475a2f);}),_0x5025ca[_0x4ec73f(0x1cc)](_0x118270=>{const _0x9caafc=_0x4ec73f,_0x9d9654=_0x118270[_0x9caafc(0x3b4)][_0x9caafc(0x1c4)](_0x12abc9=>_0xf3416f[_0x9caafc(0x433)](_0x12abc9)??[]);if(_0x9d9654[_0x9caafc(0x262)]>0x0){_0x536c17['push'](''),_0x536c17[_0x9caafc(0x395)](_0xcd9bda(_0x118270[_0x9caafc(0x335)]+':',_0x118270[_0x9caafc(0x1eb)]));const _0x561dd4=_0x9d9654[_0x9caafc(0x260)](_0x403974=>{const _0x3e37e5=_0x9caafc,_0x469b2b=_0x43220b['subcommandTerm'](_0x403974),_0x44ae91=_0x43220b[_0x3e37e5(0x396)](_0x403974);return _0x163e3f(_0x469b2b,_0x44ae91);});_0x536c17['push'](_0x437e5b(_0x561dd4));}}),_0x536c17[_0x4ec73f(0x395)](''),_0x536c17['push'](_0x4ec73f(0x40c));}else{const _0x280c39=_0x221c7a['map'](_0x20efca=>{const _0x147d5b=_0x4ec73f,_0x5fc524=_0x43220b['subcommandTerm'](_0x20efca),_0x366f19=_0x43220b[_0x147d5b(0x396)](_0x20efca);return _0x163e3f(_0x5fc524,_0x366f19);});_0x536c17['push'](''),_0x536c17['push'](_0x4ec73f(0x40a)),_0x536c17[_0x4ec73f(0x395)](_0x437e5b(_0x280c39));}}if(showBriefHelp&&_0x54b9dc['name']()===_0x4ec73f(0x37a))_0x536c17[_0x4ec73f(0x395)](''),_0x536c17[_0x4ec73f(0x395)](_0x4ec73f(0x3f4));else{const _0x16d779=_0x54b9dc[_0x4ec73f(0x452)][_0x4ec73f(0x30a)](_0xd0f363=>!_0x579477(_0xd0f363));if(_0x16d779[_0x4ec73f(0x262)]>0x0){const _0x3a50b8=_0x16d779['map'](_0x5e8f64=>{const _0x3bb0ba=_0x4ec73f,_0x1e0117=_0x43220b['optionTerm'](_0x5e8f64),_0x914027=_0x43220b[_0x3bb0ba(0x1f8)](_0x5e8f64);return _0x163e3f(_0x1e0117,_0x914027);});_0x536c17[_0x4ec73f(0x395)](''),_0x536c17[_0x4ec73f(0x395)](_0x4ec73f(0x3db)),_0x536c17[_0x4ec73f(0x395)](_0x437e5b(_0x3a50b8));}}const _0xcad648=(_0x54b9dc[_0x4ec73f(0x347)]||[])['filter'](_0x3e21e1=>!_0x579477(_0x3e21e1));if(_0xcad648['length']>0x0){const _0x38682b=_0xcad648[_0x4ec73f(0x260)](_0x1daae9=>{const _0x99d481=_0x4ec73f,_0x3d4112=_0x43220b[_0x99d481(0x30c)](_0x1daae9),_0x225eab=_0x43220b[_0x99d481(0x1c9)](_0x1daae9);return _0x163e3f(_0x3d4112,_0x225eab);});_0x536c17[_0x4ec73f(0x395)](''),_0x536c17['push']('Arguments:'),_0x536c17['push'](_0x437e5b(_0x38682b));}return _0x536c17[_0x4ec73f(0x429)]('\x0a')+'\x0a';},'subcommandTerm':_0x5942e9=>{const _0x599dbd=a2_0xeb8183,_0x4ef77b=(_0x5942e9[_0x599dbd(0x347)]||[])['map'](_0x1d3511=>_0x1d3511[_0x599dbd(0x2b6)]?'<'+_0x1d3511[_0x599dbd(0x335)]()+'>':'['+_0x1d3511[_0x599dbd(0x335)]()+']')[_0x599dbd(0x429)]('\x20'),_0x20ac18=_0x5942e9[_0x599dbd(0x1ca)](),_0x23bba9=_0x20ac18['length']>0x0?_0x5942e9[_0x599dbd(0x335)]()+',\x20'+_0x20ac18['join'](',\x20'):_0x5942e9['name']();return _0x4ef77b?_0x23bba9+'\x20'+_0x4ef77b:_0x23bba9;}}),program[a2_0xeb8183(0x1cd)](a2_0xeb8183(0x424),_0x25b1a3=>{const _0x4aa994=a2_0xeb8183,_0x45c095=_0x25b1a3['opts']();if(_0x45c095[_0x4aa994(0x249)]){const _0x503013=resolve(_0x45c095[_0x4aa994(0x249)]),_0x4ae32d=_0x503013!==_0x45c095[_0x4aa994(0x249)]?_0x4aa994(0x2e1)+_0x503013+')':'';if(!existsSync(_0x503013))throw new SDKError(ErrorCode[_0x4aa994(0x319)],'Directory\x20does\x20not\x20exist:\x20'+_0x45c095['directory']+_0x4ae32d,undefined,{'helpText':_0x4aa994(0x3f9)});const _0x3adcda=statSync(_0x503013);if(!_0x3adcda['isDirectory']())throw new SDKError(ErrorCode[_0x4aa994(0x319)],_0x4aa994(0x39d)+_0x45c095['directory']+_0x4ae32d,undefined,{'helpText':_0x4aa994(0x2df)});process[_0x4aa994(0x2dd)](_0x503013);}if(!_0x45c095['format']){if(_0x45c095[_0x4aa994(0x3f2)])_0x45c095['format']='table';else{if(_0x45c095['json'])_0x45c095[_0x4aa994(0x451)]=_0x4aa994(0x1ce);else{if(_0x45c095[_0x4aa994(0x250)])_0x45c095['format']=_0x4aa994(0x250);else _0x45c095[_0x4aa994(0x20b)]&&(_0x45c095['format']='tsv');}}}if(_0x45c095[_0x4aa994(0x318)])_0x45c095['logLevel']=LogLevel[_0x4aa994(0x247)];else{if(_0x45c095['debug'])_0x45c095[_0x4aa994(0x2ed)]=LogLevel['DEBUG'];else _0x45c095[_0x4aa994(0x2ed)]===undefined&&(_0x45c095['logLevel']=LogLevel[_0x4aa994(0x44f)]);}});async function createTDXInstance(_0x3fd2e9){const _0x117ccc=a2_0xeb8183,_0x20d43d=await GlobalContext[_0x117ccc(0x210)](_0x3fd2e9);return _0x20d43d[_0x117ccc(0x431)](_0x3fd2e9),TDX[_0x117ccc(0x2ee)]({'site':_0x20d43d[_0x117ccc(0x2ce)],'apiKey':_0x20d43d['apiKey'],'logLevel':_0x20d43d['logLevel'],'profile':_0x20d43d['profile']});}const databaseCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3f0))[a2_0xeb8183(0x2a9)]('db')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x288)),databaseListAction=async(_0x5d5ee4,_0x5d9795)=>{const _0x21deef=a2_0xeb8183,_0x328b4e=new DatabasesCommand(),_0x3c52a7=program[_0x21deef(0x3cf)](),_0x489d8b=await createTDXInstance(_0x3c52a7),_0xab88dc=await _0x328b4e[_0x21deef(0x1f4)]({'options':{..._0x3c52a7,..._0x5d9795},'args':_0x5d5ee4?[_0x5d5ee4]:[],'tdx':_0x489d8b});gracefulExit(_0xab88dc);};databaseCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x37f))['action'](databaseListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x37b),{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x29f))[a2_0xeb8183(0x1f5)](databaseListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x233))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x27c))['option']('--agent\x20<ref>',a2_0xeb8183(0x457))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3df),a2_0xeb8183(0x200))['option'](a2_0xeb8183(0x2cc),a2_0xeb8183(0x407))[a2_0xeb8183(0x229)]('--stream',a2_0xeb8183(0x22d))['action'](async(_0x413806,_0x49dfbf)=>{const _0x18036e=a2_0xeb8183,_0x3bb398=program['opts'](),_0x564397=await createTDXInstance(_0x3bb398);if(_0x413806[0x0]==='create'){const _0x5a4801=new ChatCreateCommand();gracefulExit(await _0x5a4801[_0x18036e(0x1f4)]({'options':{..._0x3bb398,..._0x49dfbf},'args':_0x413806[_0x18036e(0x3f5)](0x1),'tdx':_0x564397}));return;}const _0xc76e8=new ChatCommand(),_0x3387f2=await _0xc76e8[_0x18036e(0x1f4)]({'options':{..._0x3bb398,..._0x49dfbf},'args':_0x413806,'tdx':_0x564397});gracefulExit(_0x3387f2);});const apiCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x442))[a2_0xeb8183(0x212)](a2_0xeb8183(0x3ac))[a2_0xeb8183(0x380)](a2_0xeb8183(0x39c),a2_0xeb8183(0x2bf))[a2_0xeb8183(0x229)]('-X,\x20--method\x20<method>',a2_0xeb8183(0x1c3),a2_0xeb8183(0x293))[a2_0xeb8183(0x229)]('--data\x20<data>',a2_0xeb8183(0x35d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x363),a2_0xeb8183(0x246))[a2_0xeb8183(0x229)]('-H,\x20--header\x20<header>',a2_0xeb8183(0x291),(_0x3033f8,_0x1d4567)=>{return _0x1d4567?[..._0x1d4567,_0x3033f8]:[_0x3033f8];})[a2_0xeb8183(0x229)]('--type\x20<api_type>',a2_0xeb8183(0x220),'td')[a2_0xeb8183(0x1f5)](async(_0x1c728e,_0x3e138e)=>{const _0x1d9544=a2_0xeb8183;if(!_0x1c728e){apiCmd[_0x1d9544(0x2be)]();return;}const _0x22abe5=new ApiCommand(),_0x536ead=program['opts'](),_0x5257f7=await createTDXInstance(_0x536ead),_0x2c7324=await _0x22abe5[_0x1d9544(0x1f4)]({'options':{..._0x536ead,..._0x3e138e},'args':[_0x1c728e],'tdx':_0x5257f7});gracefulExit(_0x2c7324);});program[a2_0xeb8183(0x274)]('mcp')[a2_0xeb8183(0x33a)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0xeb8183(0x380)](a2_0xeb8183(0x39c),a2_0xeb8183(0x352))[a2_0xeb8183(0x1f5)](async _0x1ec77a=>{const _0x2e14ab=a2_0xeb8183,_0x21ed67=new MCPCommand(),_0x3cbeec=program[_0x2e14ab(0x3cf)](),_0x34e22e=await createTDXInstance(_0x3cbeec),_0x2ecf00=await _0x21ed67[_0x2e14ab(0x1f4)]({'options':{..._0x3cbeec,..._0x1ec77a},'args':[],'tdx':_0x34e22e});gracefulExit(_0x2ecf00);});const tableCmd=program['command']('table')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x20c)),tableListAction=async(_0x46777a,_0x583a1a)=>{const _0x16138d=a2_0xeb8183,_0x1c3989=new TablesCommand(),_0x1c43e0=program[_0x16138d(0x3cf)](),_0x2b9055=await createTDXInstance(_0x1c43e0);_0x583a1a['in']&&(_0x583a1a[_0x16138d(0x3f0)]=_0x583a1a['in']);const _0x42a1ef=await _0x1c3989[_0x16138d(0x1f4)]({'options':{..._0x1c43e0,..._0x583a1a},'args':_0x46777a?[_0x46777a]:[],'tdx':_0x2b9055});gracefulExit(_0x42a1ef);};tableCmd['command'](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0xeb8183(0x229)]('-d,\x20--database\x20<database>',a2_0xeb8183(0x38e))['option'](a2_0xeb8183(0x294),a2_0xeb8183(0x2fd))[a2_0xeb8183(0x1f5)](tableListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3e0),{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2cd))[a2_0xeb8183(0x229)]('-d,\x20--database\x20<database>',a2_0xeb8183(0x38e))[a2_0xeb8183(0x229)](a2_0xeb8183(0x294),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0xeb8183(0x1f5)](tableListAction),program[a2_0xeb8183(0x274)]('show\x20[table]')['description'](a2_0xeb8183(0x242))['option']('-d,\x20--database\x20<database>',a2_0xeb8183(0x302))[a2_0xeb8183(0x229)]('--in\x20<database>',a2_0xeb8183(0x2fd))['action'](async(_0x1ee7de,_0xd03a32)=>{const _0x353d29=a2_0xeb8183,_0x516845=new ShowCommand(),_0x325d7b=program[_0x353d29(0x3cf)](),_0x38fee9=await createTDXInstance(_0x325d7b);_0xd03a32['in']&&(_0xd03a32[_0x353d29(0x3f0)]=_0xd03a32['in']);const _0x3e6247=await _0x516845[_0x353d29(0x1f4)]({'options':{..._0x325d7b,..._0xd03a32},'args':_0x1ee7de?[_0x1ee7de]:[],'tdx':_0x38fee9});gracefulExit(_0x3e6247);}),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x207))['alias'](a2_0xeb8183(0x1f0))['description'](a2_0xeb8183(0x1d1))[a2_0xeb8183(0x229)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x294),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x4982f2,_0x28565f)=>{const _0x53e362=a2_0xeb8183,_0x24553a=new DescribeCommand(),_0x44df0d=program[_0x53e362(0x3cf)](),_0x1eec67=await createTDXInstance(_0x44df0d);_0x28565f['in']&&(_0x28565f[_0x53e362(0x3f0)]=_0x28565f['in']);const _0x3fa200=await _0x24553a[_0x53e362(0x1f4)]({'options':{..._0x44df0d,..._0x28565f},'args':_0x4982f2?[_0x4982f2]:[],'tdx':_0x1eec67});gracefulExit(_0x3fa200);}),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x448))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2b3))[a2_0xeb8183(0x229)](a2_0xeb8183(0x243),a2_0xeb8183(0x21d))[a2_0xeb8183(0x229)]('--in\x20<database>',a2_0xeb8183(0x2fd))[a2_0xeb8183(0x229)](a2_0xeb8183(0x397),a2_0xeb8183(0x1e0))[a2_0xeb8183(0x229)]('-f,\x20--file\x20<path>',a2_0xeb8183(0x399))[a2_0xeb8183(0x229)](a2_0xeb8183(0x348),a2_0xeb8183(0x21c),'40')[a2_0xeb8183(0x1f5)](async(_0x556110,_0x559aa5)=>{const _0x2439ff=a2_0xeb8183,_0x30810c=new QueryCommand(),_0x5cc05c=program[_0x2439ff(0x3cf)](),_0x271dd2=await createTDXInstance(_0x5cc05c);_0x559aa5['in']&&(_0x559aa5[_0x2439ff(0x3f0)]=_0x559aa5['in']);const _0x4616d6=await _0x30810c[_0x2439ff(0x1f4)]({'options':{..._0x5cc05c,..._0x559aa5},'args':_0x556110?[_0x556110]:[],'tdx':_0x271dd2});gracefulExit(_0x4616d6);});const segmentCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x203))['alias']('sg')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x418)),segmentListAction=async(_0x3d936d,_0x18ee26)=>{const _0x10caf1=a2_0xeb8183,_0x5046df=new SegmentsCommand(),_0x43f96c=program['opts'](),_0x14fbfd=await createTDXInstance(_0x43f96c),_0x42606d=await _0x5046df[_0x10caf1(0x1f4)]({'options':{..._0x43f96c,..._0x18ee26},'args':_0x3d936d?[_0x3d936d]:[],'tdx':_0x14fbfd});gracefulExit(_0x42606d);};segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2f1))[a2_0xeb8183(0x33a)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')['option'](a2_0xeb8183(0x3ef),a2_0xeb8183(0x1d8))[a2_0xeb8183(0x229)](a2_0xeb8183(0x21f),a2_0xeb8183(0x3c4),'10')[a2_0xeb8183(0x1f5)](segmentListAction),program['command'](a2_0xeb8183(0x377),{'hidden':!![]})[a2_0xeb8183(0x33a)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ef),a2_0xeb8183(0x1d8))['option'](a2_0xeb8183(0x21f),a2_0xeb8183(0x3c4),'10')[a2_0xeb8183(0x1f5)](segmentListAction),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x22b),{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x30f))[a2_0xeb8183(0x1f5)](async(_0x2ee271,_0x218ea4)=>{const _0x4b0f56=a2_0xeb8183,_0x51d596=new SegmentUseCommand(),_0x5db39c=program[_0x4b0f56(0x3cf)](),_0x494c90=await createTDXInstance(_0x5db39c),_0x5066a0=await _0x51d596[_0x4b0f56(0x1f4)]({'options':{..._0x5db39c,..._0x218ea4},'args':[_0x2ee271],'tdx':_0x494c90});gracefulExit(_0x5066a0);});const segmentViewAction=async(_0x2da0e7,_0x36edd8)=>{const _0x286a20=a2_0xeb8183,_0x49eab7=new SegmentViewCommand(),_0x1007fc=program['opts'](),_0x2a0ef3=await createTDXInstance(_0x1007fc),_0x257659=await _0x49eab7[_0x286a20(0x1f4)]({'options':{..._0x1007fc,..._0x36edd8},'args':_0x2da0e7?[_0x2da0e7]:[],'tdx':_0x2a0ef3});gracefulExit(_0x257659);};segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2f4))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x344))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ea),'Open\x20segment\x20in\x20web\x20browser')['action'](segmentViewAction),segmentCmd['command'](a2_0xeb8183(0x3a9),{'hidden':!![]})[a2_0xeb8183(0x2a9)](a2_0xeb8183(0x2f7))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ea),'Open\x20segment\x20in\x20web\x20browser')['description'](a2_0xeb8183(0x440))[a2_0xeb8183(0x1f5)](segmentViewAction),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3c8))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1ee))['action'](async(_0x2b88dd,_0x47f34a)=>{const _0x44fa66=a2_0xeb8183,_0x33ceeb=new SegmentDescCommand(),_0x2a70bf=program[_0x44fa66(0x3cf)](),_0x3f6e20=await createTDXInstance(_0x2a70bf),_0x53c8c1=await _0x33ceeb['run']({'options':{..._0x2a70bf,..._0x47f34a},'args':_0x2b88dd?[_0x2b88dd]:[],'tdx':_0x3f6e20});gracefulExit(_0x53c8c1);}),segmentCmd[a2_0xeb8183(0x274)]('show\x20[segment_name]')['description'](a2_0xeb8183(0x2c6))[a2_0xeb8183(0x1f5)](async(_0x1ec13b,_0x556883)=>{const _0x487aca=a2_0xeb8183,_0x24e519=new SegmentShowCommand(),_0x50fe09=program[_0x487aca(0x3cf)](),_0x26fc79=await createTDXInstance(_0x50fe09),_0x15aeb7=await _0x24e519[_0x487aca(0x1f4)]({'options':{..._0x50fe09,..._0x556883},'args':_0x1ec13b?[_0x1ec13b]:[],'tdx':_0x26fc79});gracefulExit(_0x15aeb7);}),segmentCmd[a2_0xeb8183(0x274)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x31d))['action'](async(_0x3d729b,_0x1f6a59)=>{const _0xdba67d=a2_0xeb8183,_0x4fcac5=new SegmentFolderListCommand(),_0x408f90=program[_0xdba67d(0x3cf)](),_0x553268=await createTDXInstance(_0x408f90),_0x5334de=await _0x4fcac5[_0xdba67d(0x1f4)]({'options':{..._0x408f90,..._0x1f6a59},'args':[_0x3d729b],'tdx':_0x553268});gracefulExit(_0x5334de);});const folderCmd=segmentCmd['command']('folder',{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3af));folderCmd[a2_0xeb8183(0x274)]('show\x20<folder_ref>')[a2_0xeb8183(0x33a)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0xeb8183(0x1f5)](async(_0xbe3ae4,_0x53cb93)=>{const _0x556c86=a2_0xeb8183,_0x7d25d6=new SegmentFolderShowCommand(),_0x5d4b54=program[_0x556c86(0x3cf)](),_0x4c9cb6=await createTDXInstance(_0x5d4b54),_0x1b63bf=await _0x7d25d6[_0x556c86(0x1f4)]({'options':{..._0x5d4b54,..._0x53cb93},'args':[_0xbe3ae4],'tdx':_0x4c9cb6});gracefulExit(_0x1b63bf);}),segmentCmd[a2_0xeb8183(0x274)]('sql\x20[segment_name]')[a2_0xeb8183(0x33a)]('Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0xeb8183(0x1f5)](async(_0x43699a,_0x2223bd)=>{const _0x1035d1=a2_0xeb8183,_0x1bb628=new SegmentSQLCommand(),_0x2d6f31=program['opts'](),_0x5c5123=await createTDXInstance(_0x2d6f31),_0x14b96=await _0x1bb628[_0x1035d1(0x1f4)]({'options':{..._0x2d6f31,..._0x2223bd},'args':_0x43699a?[_0x43699a]:[],'tdx':_0x5c5123});gracefulExit(_0x14b96);}),segmentCmd['command'](a2_0xeb8183(0x331))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0xeb8183(0x1f5)](async(_0x5e3251,_0x28c2fc)=>{const _0x1302f8=a2_0xeb8183,_0x2139f2=new SegmentFieldsCommand(),_0x473afd=program[_0x1302f8(0x3cf)](),_0x36d00c=await createTDXInstance(_0x473afd),_0x532bc2=await _0x2139f2[_0x1302f8(0x1f4)]({'options':{..._0x473afd,..._0x28c2fc},'args':_0x5e3251?[_0x5e3251]:[],'tdx':_0x36d00c});gracefulExit(_0x532bc2);}),segmentCmd[a2_0xeb8183(0x274)]('pull\x20[parent_or_file]')['description'](a2_0xeb8183(0x239))['option'](a2_0xeb8183(0x271),a2_0xeb8183(0x316))[a2_0xeb8183(0x1f5)](async(_0x3cf192,_0x5b6f30)=>{const _0x3a34a1=a2_0xeb8183,_0x51bd58=new SegmentPullCommand(),_0x5ef34d=program[_0x3a34a1(0x3cf)](),_0x4fe34d=await createTDXInstance(_0x5ef34d),_0x152cd8=await _0x51bd58[_0x3a34a1(0x1f4)]({'options':{..._0x5ef34d,..._0x5b6f30},'args':_0x3cf192?[_0x3cf192]:[],'tdx':_0x4fe34d});gracefulExit(_0x152cd8);}),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d1))['description'](a2_0xeb8183(0x416))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x316))['option'](a2_0xeb8183(0x43c),a2_0xeb8183(0x42f))[a2_0xeb8183(0x1f5)](async(_0x4e5c22,_0x1f9cea)=>{const _0x2e8d1c=a2_0xeb8183,_0x12b0a7=new SegmentPushCommand(),_0x441f8f=program[_0x2e8d1c(0x3cf)](),_0x3941c9=await createTDXInstance(_0x441f8f),_0x2dd5d9=await _0x12b0a7[_0x2e8d1c(0x1f4)]({'options':{..._0x441f8f,..._0x1f9cea},'args':_0x4e5c22?[_0x4e5c22]:[],'tdx':_0x3941c9});gracefulExit(_0x2dd5d9);}),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x28b))['description'](a2_0xeb8183(0x30e))[a2_0xeb8183(0x1f5)](async(_0x56ed96,_0x13fa4b)=>{const _0xf7960f=a2_0xeb8183,_0x55a901=new SegmentValidateCommand(),_0x118294=program[_0xf7960f(0x3cf)](),_0x56d7de=await createTDXInstance(_0x118294),_0x3f7614=await _0x55a901[_0xf7960f(0x1f4)]({'options':{..._0x118294,..._0x13fa4b},'args':_0x56ed96?[_0x56ed96]:[],'tdx':_0x56d7de});gracefulExit(_0x3f7614);}),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x415),{'hidden':!![]})['description'](a2_0xeb8183(0x269))[a2_0xeb8183(0x229)](a2_0xeb8183(0x455),a2_0xeb8183(0x267))[a2_0xeb8183(0x229)](a2_0xeb8183(0x33e),a2_0xeb8183(0x449))[a2_0xeb8183(0x229)](a2_0xeb8183(0x412),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0xeb8183(0x229)]('--folder\x20<name>',a2_0xeb8183(0x41e))['option']('--kind\x20<type>',a2_0xeb8183(0x3dd))[a2_0xeb8183(0x229)](a2_0xeb8183(0x402),a2_0xeb8183(0x349))[a2_0xeb8183(0x229)](a2_0xeb8183(0x404),'Skip\x20population\x20counting')[a2_0xeb8183(0x1f5)](async(_0x5d804b,_0x399741)=>{const _0x4e4383=a2_0xeb8183,_0xf01af7=new SegmentCreateCommand(),_0x11a099=program['opts'](),_0x555af0=await createTDXInstance(_0x11a099),_0x3129a3=await _0xf01af7[_0x4e4383(0x1f4)]({'options':{..._0x11a099,..._0x399741},'args':[_0x5d804b],'tdx':_0x555af0});gracefulExit(_0x3129a3);}),segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x223),{'hidden':!![]})[a2_0xeb8183(0x33a)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option'](a2_0xeb8183(0x459),'New\x20segment\x20name')[a2_0xeb8183(0x229)]('--description\x20<text>',a2_0xeb8183(0x264))[a2_0xeb8183(0x229)](a2_0xeb8183(0x33e),a2_0xeb8183(0x308))[a2_0xeb8183(0x229)](a2_0xeb8183(0x412),a2_0xeb8183(0x24e))[a2_0xeb8183(0x229)]('--folder\x20<name>',a2_0xeb8183(0x301))[a2_0xeb8183(0x229)](a2_0xeb8183(0x283),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['action'](async(_0x3f5656,_0x45e275)=>{const _0x44bafd=a2_0xeb8183,_0x12a367=new SegmentUpdateCommand(),_0x1dfbf2=program[_0x44bafd(0x3cf)](),_0x74bd97=await createTDXInstance(_0x1dfbf2),_0x5a44ee=await _0x12a367['run']({'options':{..._0x1dfbf2,..._0x45e275},'args':[_0x3f5656],'tdx':_0x74bd97});gracefulExit(_0x5a44ee);});const parentCmd=segmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x44b),{'hidden':!![]})['description'](a2_0xeb8183(0x3b6)),parentListAction=async(_0x153878,_0x530ca8)=>{const _0x1858c1=a2_0xeb8183,_0x46f2ac=new ParentSegmentListCommand(),_0x1a8b08=program[_0x1858c1(0x3cf)](),_0x390f68=await createTDXInstance(_0x1a8b08),_0x4641ba=await _0x46f2ac[_0x1858c1(0x1f4)]({'options':{..._0x1a8b08,..._0x530ca8},'args':_0x153878?[_0x153878]:[],'tdx':_0x390f68});gracefulExit(_0x4641ba);};parentCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3bb))[a2_0xeb8183(0x1f5)](parentListAction),segmentCmd['command'](a2_0xeb8183(0x38f),{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x41a))[a2_0xeb8183(0x1f5)](parentListAction),parentCmd['command'](a2_0xeb8183(0x1ec))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x295))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d5),a2_0xeb8183(0x1fd))['action'](async(_0x4eb8c7,_0x4bf7f0)=>{const _0x4185b0=new ParentSegmentPullCommand(),_0x5bafc5=program['opts'](),_0x59d346=await createTDXInstance(_0x5bafc5),_0x1165fe=await _0x4185b0['run']({'options':{..._0x5bafc5,..._0x4bf7f0},'args':_0x4eb8c7?[_0x4eb8c7]:[],'tdx':_0x59d346});gracefulExit(_0x1165fe);}),parentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2e5))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1dc))[a2_0xeb8183(0x1f5)](async(_0x308aa2,_0x79f0d)=>{const _0x561560=a2_0xeb8183,_0x49bde7=new ParentSegmentPushCommand(),_0x19450d=program[_0x561560(0x3cf)](),_0x4fd9fd=await createTDXInstance(_0x19450d),_0x500862=await _0x49bde7[_0x561560(0x1f4)]({'options':{..._0x19450d,..._0x79f0d},'args':_0x308aa2?[_0x308aa2]:[],'tdx':_0x4fd9fd});gracefulExit(_0x500862);}),parentCmd['command'](a2_0xeb8183(0x1bf))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0xeb8183(0x229)](a2_0xeb8183(0x2ef),a2_0xeb8183(0x3aa))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3bd),a2_0xeb8183(0x360))[a2_0xeb8183(0x229)]('--behavior\x20[name]',a2_0xeb8183(0x244))[a2_0xeb8183(0x229)](a2_0xeb8183(0x24f),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0xeb8183(0x229)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0xeb8183(0x1f5)](async(_0xab3868,_0x49235e)=>{const _0x142523=a2_0xeb8183,_0x12d390=new ParentSegmentValidateCommand(),_0x1a0a11=program['opts'](),_0x9c122a=await createTDXInstance(_0x1a0a11),_0x41f6ff=await _0x12d390[_0x142523(0x1f4)]({'options':{..._0x1a0a11,..._0x49235e},'args':_0xab3868?[_0xab3868]:[],'tdx':_0x9c122a});gracefulExit(_0x41f6ff);}),parentCmd[a2_0xeb8183(0x274)]('preview\x20[file]')[a2_0xeb8183(0x33a)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0xeb8183(0x229)](a2_0xeb8183(0x2ef),a2_0xeb8183(0x230))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3bd),a2_0xeb8183(0x425))[a2_0xeb8183(0x229)]('--behavior\x20[name]',a2_0xeb8183(0x30b))[a2_0xeb8183(0x229)](a2_0xeb8183(0x24f),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0xeb8183(0x1fa),a2_0xeb8183(0x3eb),a2_0xeb8183(0x310))[a2_0xeb8183(0x1f5)](async(_0x5e1408,_0x52981c)=>{const _0x1b3b6b=a2_0xeb8183,_0x309007=new ParentSegmentPreviewCommand(),_0x36e3ed=program[_0x1b3b6b(0x3cf)](),_0x3f4608=await createTDXInstance(_0x36e3ed),_0x537bc3=await _0x309007['run']({'options':{..._0x36e3ed,..._0x52981c},'args':_0x5e1408?[_0x5e1408]:[],'tdx':_0x3f4608});gracefulExit(_0x537bc3);}),parentCmd['command'](a2_0xeb8183(0x1fc))[a2_0xeb8183(0x33a)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0xeb8183(0x1f5)](async(_0xd6d7,_0x19ea7c)=>{const _0xf46010=a2_0xeb8183,_0x4485dd=new ParentSegmentRunCommand(),_0x510c3d=program['opts'](),_0x5c1078=await createTDXInstance(_0x510c3d),_0x264688=await _0x4485dd[_0xf46010(0x1f4)]({'options':{..._0x510c3d,..._0x19ea7c},'args':_0xd6d7?[_0xd6d7]:[],'tdx':_0x5c1078});gracefulExit(_0x264688);});const parentSegmentCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x355))[a2_0xeb8183(0x2a9)]('ps')[a2_0xeb8183(0x33a)]('Parent\x20segment\x20management');parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3bb))['action'](parentListAction),parentSegmentCmd['command'](a2_0xeb8183(0x1ec))['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d5),a2_0xeb8183(0x328))[a2_0xeb8183(0x229)](a2_0xeb8183(0x346),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')['action'](async(_0x1d2677,_0x305a22)=>{const _0x544753=a2_0xeb8183,_0x245ecc=new ParentSegmentPullCommand(),_0x2c90dd=program[_0x544753(0x3cf)](),_0x15f866=await createTDXInstance(_0x2c90dd),_0xb3cbb0=await _0x245ecc[_0x544753(0x1f4)]({'options':{..._0x2c90dd,..._0x305a22},'args':_0x1d2677?[_0x1d2677]:[],'tdx':_0x15f866});gracefulExit(_0xb3cbb0);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1dd))[a2_0xeb8183(0x33a)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xeb8183(0x1f5)](async(_0x328893,_0x4658c7)=>{const _0x2056a6=new ParentSegmentPushCommand(),_0x2f71ab=program['opts'](),_0x24cae1=await createTDXInstance(_0x2f71ab),_0xf0cd36=await _0x2056a6['run']({'options':{..._0x2f71ab,..._0x4658c7},'args':_0x328893?[_0x328893]:[],'tdx':_0x24cae1});gracefulExit(_0xf0cd36);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x315))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3ce))[a2_0xeb8183(0x229)]('--master',a2_0xeb8183(0x3aa))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3bd),a2_0xeb8183(0x360))['option'](a2_0xeb8183(0x428),a2_0xeb8183(0x244))[a2_0xeb8183(0x229)](a2_0xeb8183(0x24f),a2_0xeb8183(0x38b))[a2_0xeb8183(0x229)]('--interval\x20<range>',a2_0xeb8183(0x3eb),a2_0xeb8183(0x310))[a2_0xeb8183(0x1f5)](async(_0x443dee,_0x33c0ca)=>{const _0x4e4651=a2_0xeb8183,_0x5da7af=new ParentSegmentValidateCommand(),_0x2e16a0=program[_0x4e4651(0x3cf)](),_0x384c17=await createTDXInstance(_0x2e16a0),_0x4e9f21=await _0x5da7af[_0x4e4651(0x1f4)]({'options':{..._0x2e16a0,..._0x33c0ca},'args':_0x443dee?[_0x443dee]:[],'tdx':_0x384c17});gracefulExit(_0x4e9f21);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x241))['description'](a2_0xeb8183(0x332))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2ef),a2_0xeb8183(0x230))[a2_0xeb8183(0x229)]('--attribute\x20[name]',a2_0xeb8183(0x425))[a2_0xeb8183(0x229)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0xeb8183(0x229)](a2_0xeb8183(0x24f),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0xeb8183(0x1fa),a2_0xeb8183(0x3eb),a2_0xeb8183(0x310))[a2_0xeb8183(0x1f5)](async(_0x951253,_0x176747)=>{const _0x305427=a2_0xeb8183,_0x38b5f=new ParentSegmentPreviewCommand(),_0x5bea4e=program[_0x305427(0x3cf)](),_0x5dece8=await createTDXInstance(_0x5bea4e),_0x35a237=await _0x38b5f[_0x305427(0x1f4)]({'options':{..._0x5bea4e,..._0x176747},'args':_0x951253?[_0x951253]:[],'tdx':_0x5dece8});gracefulExit(_0x35a237);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1fc))['description'](a2_0xeb8183(0x221))['action'](async(_0x3dc16f,_0x4dbf17)=>{const _0x47763f=a2_0xeb8183,_0x49ab31=new ParentSegmentRunCommand(),_0x344af4=program[_0x47763f(0x3cf)](),_0x5a7904=await createTDXInstance(_0x344af4),_0x43ce2d=await _0x49ab31[_0x47763f(0x1f4)]({'options':{..._0x344af4,..._0x4dbf17},'args':_0x3dc16f?[_0x3dc16f]:[],'tdx':_0x5a7904});gracefulExit(_0x43ce2d);}),parentSegmentCmd['command'](a2_0xeb8183(0x1c8))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x284))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e2),a2_0xeb8183(0x43f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))['action'](async(_0x4882dd,_0x1bcb4d)=>{const _0x531960=a2_0xeb8183,_0x2e249d=new ParentSegmentFieldsCommand(),_0x104a9c=program[_0x531960(0x3cf)](),_0x11c477=await createTDXInstance(_0x104a9c),_0x5627ba=await _0x2e249d['run']({'options':{..._0x104a9c,..._0x1bcb4d},'args':_0x4882dd?[_0x4882dd]:[],'tdx':_0x11c477});gracefulExit(_0x5627ba);}),parentSegmentCmd['command']('view\x20[name]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3fc))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ea),a2_0xeb8183(0x29d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e2),a2_0xeb8183(0x43f))['option'](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))[a2_0xeb8183(0x1f5)](async(_0x359f97,_0x566e8b)=>{const _0x2f97dd=a2_0xeb8183,_0x4a9060=new ParentSegmentViewCommand(),_0x196806=program[_0x2f97dd(0x3cf)](),_0x2fe478=await createTDXInstance(_0x196806),_0x3fd2ca=await _0x4a9060[_0x2f97dd(0x1f4)]({'options':{..._0x196806,..._0x566e8b},'args':_0x359f97?[_0x359f97]:[],'tdx':_0x2fe478});gracefulExit(_0x3fd2ca);}),parentSegmentCmd[a2_0xeb8183(0x274)]('desc\x20[name]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x364))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d5),a2_0xeb8183(0x328))['option']('--json',a2_0xeb8183(0x43f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))['action'](async(_0x101cae,_0x432ed0)=>{const _0x3dc1e2=a2_0xeb8183,_0x479184=new ParentSegmentDescCommand(),_0xa133fc=program[_0x3dc1e2(0x3cf)](),_0x4e319c=await createTDXInstance(_0xa133fc),_0x428f7c=await _0x479184[_0x3dc1e2(0x1f4)]({'options':{..._0xa133fc,..._0x432ed0},'args':_0x101cae?[_0x101cae]:[],'tdx':_0x4e319c});gracefulExit(_0x428f7c);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3e3))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2b0))['option']('--json',a2_0xeb8183(0x43f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))[a2_0xeb8183(0x1f5)](async(_0x5c0c65,_0x248aeb)=>{const _0xd33919=a2_0xeb8183,_0x4d0ea4=new ParentSegmentSQLCommand(),_0x220496=program[_0xd33919(0x3cf)](),_0x321b61=await createTDXInstance(_0x220496),_0x18d178=await _0x4d0ea4['run']({'options':{..._0x220496,..._0x248aeb},'args':_0x5c0c65?[_0x5c0c65]:[],'tdx':_0x321b61});gracefulExit(_0x18d178);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x279))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1c1))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e5),a2_0xeb8183(0x26d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e2),a2_0xeb8183(0x43f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e7),a2_0xeb8183(0x2da))['action'](async(_0xf00754,_0x4b52b9)=>{const _0x5e47c9=a2_0xeb8183,_0x523b52=new ParentSegmentShowCommand(),_0x2ac643=program[_0x5e47c9(0x3cf)](),_0x4a82f2=await createTDXInstance(_0x2ac643),_0x2f8451=await _0x523b52[_0x5e47c9(0x1f4)]({'options':{..._0x2ac643,..._0x4b52b9},'args':_0xf00754?[_0xf00754]:[],'tdx':_0x4a82f2});gracefulExit(_0x2f8451);}),parentSegmentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2b7))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x454))[a2_0xeb8183(0x1f5)](async(_0x1aa72b,_0x4d1b28)=>{const _0x3dca95=a2_0xeb8183,_0x1f3f09=new UseCommand(),_0x1df5cf=program[_0x3dca95(0x3cf)](),_0x4218d1=_0x1aa72b?['parent_segment',_0x1aa72b]:[],_0x1fc5cc=await _0x1f3f09[_0x3dca95(0x1f4)]({'options':{..._0x1df5cf,..._0x4d1b28},'args':_0x4218d1,'tdx':null});gracefulExit(_0x1fc5cc);});const psRtCmd=parentSegmentCmd[a2_0xeb8183(0x274)]('rt')['description'](a2_0xeb8183(0x42b));psRtCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')['description'](a2_0xeb8183(0x299))[a2_0xeb8183(0x1f5)](async(_0x506be9,_0x3f582d)=>{const _0x7d90ce=a2_0xeb8183,_0x4e5955=new PSRtListCommand(),_0x2ef8cc=program[_0x7d90ce(0x3cf)](),_0x2fd891=await createTDXInstance(_0x2ef8cc),_0x46ec66=await _0x4e5955[_0x7d90ce(0x1f4)]({'options':{..._0x2ef8cc,..._0x3f582d},'args':_0x506be9?[_0x506be9]:[],'tdx':_0x2fd891});gracefulExit(_0x46ec66);}),psRtCmd['command'](a2_0xeb8183(0x315))['description'](a2_0xeb8183(0x261))[a2_0xeb8183(0x1f5)](async(_0x47c23f,_0x33dd4e)=>{const _0x2c3eb0=a2_0xeb8183,_0x3e0547=new PSRtValidateCommand(),_0x667c60=program['opts'](),_0x482094=await createTDXInstance(_0x667c60),_0x297144=await _0x3e0547[_0x2c3eb0(0x1f4)]({'options':{..._0x667c60,..._0x33dd4e},'args':_0x47c23f?[_0x47c23f]:[],'tdx':_0x482094});gracefulExit(_0x297144);});const parentRtCmd=parentCmd[a2_0xeb8183(0x274)]('rt',{'hidden':!![]})[a2_0xeb8183(0x33a)](a2_0xeb8183(0x42b));parentRtCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')[a2_0xeb8183(0x33a)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0xeb8183(0x1f5)](async(_0x45f772,_0xb29fa4)=>{const _0x32b0e8=a2_0xeb8183,_0x4bb50f=new PSRtListCommand(),_0x429a56=program[_0x32b0e8(0x3cf)](),_0x2e9d6c=await createTDXInstance(_0x429a56),_0x4672e7=await _0x4bb50f[_0x32b0e8(0x1f4)]({'options':{..._0x429a56,..._0xb29fa4},'args':_0x45f772?[_0x45f772]:[],'tdx':_0x2e9d6c});gracefulExit(_0x4672e7);}),parentRtCmd['command'](a2_0xeb8183(0x315))['description'](a2_0xeb8183(0x261))[a2_0xeb8183(0x1f5)](async(_0x647aec,_0x2792a7)=>{const _0x3b0422=new PSRtValidateCommand(),_0x384f90=program['opts'](),_0x442434=await createTDXInstance(_0x384f90),_0x317c06=await _0x3b0422['run']({'options':{..._0x384f90,..._0x2792a7},'args':_0x647aec?[_0x647aec]:[],'tdx':_0x442434});gracefulExit(_0x317c06);});const psPzCmd=parentSegmentCmd[a2_0xeb8183(0x274)]('pz')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x38d));psPzCmd['command'](a2_0xeb8183(0x450))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x236))[a2_0xeb8183(0x1f5)](async(_0x13b2d4,_0x379287)=>{const _0x30ce98=a2_0xeb8183,_0x41b4a4=new PSPzListCommand(),_0x3d6014=program[_0x30ce98(0x3cf)](),_0x42e5a2=await createTDXInstance(_0x3d6014),_0x49f784=await _0x41b4a4[_0x30ce98(0x1f4)]({'options':{..._0x3d6014,..._0x379287},'args':_0x13b2d4?[_0x13b2d4]:[],'tdx':_0x42e5a2});gracefulExit(_0x49f784);}),psPzCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1da))[a2_0xeb8183(0x33a)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xeb8183(0x1f5)](async(_0x544082,_0x43594d)=>{const _0x531dbc=a2_0xeb8183,_0x43e510=new PSPzInitCommand(),_0x1d06c1=program[_0x531dbc(0x3cf)](),_0x33f05d=await createTDXInstance(_0x1d06c1),_0x3398fd=await _0x43e510[_0x531dbc(0x1f4)]({'options':{..._0x1d06c1,..._0x43594d},'args':_0x544082?[_0x544082]:[],'tdx':_0x33f05d});gracefulExit(_0x3398fd);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})['description'](a2_0xeb8183(0x38d));function a2_0x40ed(){const _0x30c648=['Updated\x20filtering\x20rule\x20as\x20JSON\x20string','retry','filter','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','argumentTerm','logs','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','-1d','allowUnknownOption','claude-4.5-sonnet','auth','Setup\x20API\x20key\x20authentication\x20interactively','validate\x20[name]','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--to\x20<n>','trace','INVALID_ARGUMENT','isArray','--database\x20<db>','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','columns\x20<name-or-path>','-C,\x20--directory\x20<path>','\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','sessions\x20[project]','senders\x20[pattern]','trino','Update\x20a\x20workspace','List\x20available\x20connector\x20types','us01','Preview\x20changes\x20without\x20writing\x20files','Output\x20file\x20path','--priority\x20<-2~2>','push\x20[target]','Template\x20name','Database\x20name\x20(default:\x20information_schema)','--skip-validation','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--table','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','fields\x20[parent_name]','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Run\x20specific\x20tests\x20(comma-separated)','jobs','name','Export\x20journey(s)\x20as\x20YAML\x20files','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Resume\x20a\x20paused\x20campaign','commandDescription','description','Email\x20template\x20management','claude\x20[args...]','User\x20management\x20commands','--rule\x20<json>','variadic','Scheduled\x20query\x20management\x20commands','-p,\x20--profile\x20<name>','Delivery\x20operations\x20(email\x20senders)','--workspace\x20<name>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--version\x20<number>','-u,\x20--use','registeredArguments','--limit\x20<rows>','Make\x20segment\x20invisible\x20(default:\x20visible)','-f,\x20--force','Plaintext\x20template\x20content','Delete\x20an\x20agent','Run\x20a\x20scheduled\x20query\x20immediately','journey','find','Authentication\x20management','Maximum\x20number\x20of\x20nodes','\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,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','300654FcYYwI','parent-segment','attempt:','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Custom\x20revision\x20name\x20(default:\x20timestamp)','exit','then','clone\x20[source-dir]','Enable\x20verbose\x20logging','Request\x20body\x20as\x20JSON\x20string','Parent\x20segment\x20description','--in\x20<db>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Result\x20output\x20destination\x20URL','--schedule-option\x20<value>','-f,\x20--file\x20<path>','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20journeys\x20in\x20current\x20context','set\x20<args...>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','beefree','usage','--job-type\x20<type>','-v,\x20--verbose','commandUsage','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Master\x20table\x20name','LLM\x20agent\x20management','--add-behaviors-file\x20<file>','llm','campaign','LLM\x20project\x20to\x20use\x20(overrides\x20context)','List\x20secret\x20keys\x20for\x20a\x20project','--from-task\x20<task>','segments\x20[path]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','tdx','databases\x20[pattern]','--include-retried','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','update\x20<name>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','addHelpText','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--name\x20<new-name>','pause\x20<name-or-path>','--segment\x20<path>','Reason\x20for\x20killing\x20the\x20attempt','--system-prompt\x20<text>','--timeout\x20<seconds>','list\x20[pattern]','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','launch\x20<name-or-id>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','buildTime','Personalization\x20service\x20management','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','parents\x20[pattern]','Push\x20without\x20confirmation','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--name\x20<text>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','workflows\x20[project]','push','subcommandDescription','--catalog\x20<catalog>','Query\x20engine\x20version','Read\x20SQL\x20query\x20from\x20file','Show\x20connection\x20details\x20by\x20name','Show\x20journey\x20details','after','Path\x20is\x20not\x20a\x20directory:\x20','Show\x20journey\x20statistics','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20available\x20LLM\x20models','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','CDP\x20Journey\x20Orchestration\x20commands','LLM\x20project\x20management','Resume\x20from\x20specific\x20task','Starting\x20offset\x20(default:\x200)','--cron\x20<expression>','noColor','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','info\x20[segment_name]','Show\x20only\x20master\x20table\x20validation','--from\x20<timestamp>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Query\x20type:\x20trino\x20or\x20hive','set','[DEPRECATED]\x20Segment\x20folder\x20management','job','--version','--param\x20<key=value>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','commands','7llcVhS','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Campaign\x20management','Set\x20a\x20profile\x20configuration\x20value','Add\x20attributes\x20as\x20JSON\x20string','--revision\x20<revision>','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Agent\x20prompt/instructions','--attribute\x20[name]','--parent-folder\x20<name>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Include\x20retried\x20attempts\x20(for\x20list)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','push\x20[source-dir]','Database\x20name','Maximum\x20recursion\x20depth\x20(default:\x2010)','Duplicate\x20a\x20campaign','clear','Read\x20query\x20from\x20file','desc\x20[segment_name]','--retry-limit\x20<0~32>','Starter\x20message','Attributes\x20as\x20JSON\x20string','Campaign\x20name','update\x20<agent-name>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','opts','--full','--add-attributes-file\x20<file>','4703856cuRrMX','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','[attempt-id]','-o,\x20--output\x20<file>','\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=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','Generate\x20test\x20conversations\x20without\x20evaluation','profile','Cron\x20expression\x20for\x20scheduling','--editor-type\x20<type>','Options:','Revision\x20name\x20(default:\x20timestamp)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','show\x20<name>','--new','tables\x20[pattern]','New\x20template\x20name','Follow/watch\x20timeline\x20for\x20running\x20attempts','sql\x20[name]','profiles','Clear\x20workflow\x20project\x20context','Override\x20project\x20name','HTML\x20template\x20content','history\x20<name>','Create\x20segment\x20folder','-w,\x20--web','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Campaign\x20type\x20(email\x20or\x20push)','Include\x20raw\x20history\x20data\x20in\x20output','Workflow\x20parameter\x20(repeatable)','-r,\x20--recursive','database','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','table','--plaintext\x20<text>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','slice','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','secrets','session','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','projects\x20[pattern]','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20an\x20email\x20template','--limit\x20<number>','test\x20[path]','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--output\x20<file>','--invisible','submit\x20[query]','--no-count-population','Show\x20stats\x20for\x20specific\x20stage','Include\x20execution\x20statistics','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','_hidden','Workflow\x20(Digdag)\x20management\x20commands','Commands:','create\x20<name>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','--model\x20<name>','Project\x20description','--json-columns\x20<cols>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Create\x20an\x20email\x20template','--rule-file\x20<file>','--schedule-type\x20<type>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','create\x20<segment_name>','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Campaign\x20description','CDP\x20segment\x20management\x20commands','workflow','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Interactive\x20chat\x20selector','-o,\x20--output\x20<folder>','Folder\x20name\x20for\x20organization','-y,\x20--yes','Delete\x20a\x20workspace','delete\x20<agent-name>','Usage:\x20','setup','preAction','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Output\x20directory','--from\x20<n>','--behavior\x20[name]','join','--num\x20<1-10>','RT\x202.0\x20configuration\x20management','Delete\x20an\x20LLM\x20project','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','[options]\x20--\x20[claude-code-args...]','injectIntoOptions','padWidth','get','End\x20time\x20filter\x20(ISO\x208601\x20format)','history\x20[chat-id]','Behaviors\x20as\x20JSON\x20string','--no-color','Workspace\x20management','Workspace\x20name\x20(required)','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','--delete','create\x20<name-or-path>','Data\x20connection\x20management\x20(for\x20activations/exports)','Output\x20as\x20JSON','Show\x20segment\x20details\x20(alias\x20for\x20view)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','api\x20[endpoint]','AI-native\x20CLI\x20for\x20Treasure\x20Data','Workflow\x20session\x20management','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--database\x20<name>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','query\x20[sql]','Filtering\x20rule\x20as\x20JSON\x20string','_list-commands','parent','--timezone\x20<tz>','--params\x20<json>','233271DAvxIe','INFO','list\x20[name]','format','options','settings\x20<type>','Set\x20or\x20show\x20parent\x20segment\x20context','--description\x20<text>','--name\x20<names>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','resume\x20<name-or-id>','--name\x20<new_name>','unset\x20<resource>','--type\x20<type>','Include\x20retried\x20attempts','--engine-version\x20<version>','Open\x20journey\x20in\x20web\x20browser','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','--to\x20<date>','2249020DkbTkj','validate\x20[file]','--starter-message\x20<text>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','remove\x20<name>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','flatMap','--attributes-file\x20<file>','--status\x20<status>','Maximum\x20tool\x20iterations\x20(default:\x204)','fields\x20[name]','argumentDescription','aliases','outputHelp','forEach','hook','json','project','Update\x20an\x20existing\x20agent','Describe\x20table\x20schema','Show\x20schedule\x20details','engage','--start-at\x20<datetime>','Remove\x20a\x20profile','Validate\x20campaign\x20YAML\x20files\x20locally','Show\x20agent\x20details','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','flags','init\x20[name]','configureHelp','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','push\x20[name]','Attributes\x20from\x20JSON\x20file','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Trino\x20catalog\x20(default:\x20td)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--default','--name\x20<name>','--limit\x20<n>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','pause\x20<name-or-id>','retry\x20<session-id>','colorFn','pull\x20[name]','Force\x20retry\x20even\x20if\x20not\x20failed','Show\x20segment\x20schema\x20(column\x20types)','831258CrQuHn','desc','--reeval','--session\x20<id>','Create\x20a\x20new\x20LLM\x20project','run','action','Output\x20folder\x20(default:\x20{project_name}.llm)','Resume\x20a\x20paused\x20journey','optionDescription','--follow','--interval\x20<range>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','run\x20[name]','Output\x20file\x20path\x20(default:\x20<name>.yml)','List\x20all\x20versions\x20of\x20a\x20journey','delete\x20<name-or-id>','Start\x20a\x20new\x20chat\x20session','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','segment','agents\x20[pattern]','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Delete\x20a\x20scheduled\x20query','describe\x20[table]','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Show\x20job\x20details','Workflow\x20project\x20management','tsv','Table\x20management\x20commands','Add\x20behaviors\x20as\x20JSON\x20string','315370aXtzux','Pull\x20campaigns\x20to\x20YAML\x20files','createAsync','Pause\x20a\x20campaign','summary','requiredOption','Workspace\x20description','Email\x20sender\x20ID\x20for\x20delivery','duplicate\x20<name-or-id>','backup\x20<name>','activations\x20<segment_name>','delete\x20<name>','Save\x20output\x20to\x20file','Database\x20name\x20(required)','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Database\x20to\x20query\x20(default:\x20information_schema)','--result\x20<url>','--max-depth\x20<depth>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','--to\x20<timestamp>','update\x20<segment_name>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Folder\x20description','types','Show\x20timeline\x20for\x20specific\x20attempt','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','option','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','use\x20<path>','templates\x20[pattern]','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','--table\x20<table>','Add\x20attributes\x20from\x20JSON\x20file','Show\x20master\x20table\x20sample\x20data','--behaviors\x20<json>','long','chat\x20[message...]','List\x20all\x20data\x20connections','Job\x20priority\x20(-2\x20to\x202)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Remove\x20API\x20key\x20from\x20system\x20keychain','version','Pull\x20child\x20segments\x20to\x20YAML\x20files','users','--yes','Create\x20a\x20new\x20profile','clone\x20[source]','--last','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Workspace\x20name','preview\x20[name]','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','-d,\x20--database\x20<database>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Skip\x20confirmation\x20prompt','Read\x20request\x20body\x20from\x20file','TRACE','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','directory','Timezone\x20(e.g.,\x20America/Los_Angeles)','Set\x20operation\x20timeout\x20in\x20seconds','template','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--enriched','jsonl','Show\x20campaign\x20details','Workflow\x20attempt\x20management','use\x20[project]','Preview\x20operation\x20without\x20executing','Validate\x20journey\x20YAML\x20files\x20locally','--include-subtasks','Show\x20journey\x20table\x20column-to-step\x20mapping','612HmnDaz','tdx\x20','hidden','create\x20<parent_name>\x20<folder_name>','Show\x20the\x20most\x20recent\x20chat','kill\x20<job-id>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','delete\x20<args...>','map','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','length','--verbose','Updated\x20description','status','-a,\x20--agent\x20<name>','Segment\x20description','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','use\x20<project-name>','Kill\x20a\x20job','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Limit\x20number\x20of\x20rows','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--stage\x20<name>','--dry-run','Update\x20a\x20campaign','6GkFmMH','command','Include\x20subtasks\x20in\x20tasks\x20output','isTTY','workspace','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','show\x20[name]','\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','-o,\x20--output\x20<dir>','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','stringify','--add-behaviors\x20<json>','Show\x20all\x20files\x20including\x20valid\x20ones','Add\x20behaviors\x20from\x20JSON\x20file','upload\x20[project-name-or-dir]','--temperature\x20<n>','--kind\x20<type>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','-c,\x20--continue','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--prompt\x20<text>','Database\x20management\x20commands','show\x20<agent-name>','Agent\x20description','validate\x20[target]','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','List\x20all\x20available\x20profiles','log','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','includes','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','--customer-group\x20<json>','GET','--in\x20<database>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--customer-group-file\x20<file>','--description\x20<desc>','models','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Name\x20for\x20the\x20new\x20project\x20(required)','attempt','--html\x20<html>','Open\x20parent\x20segment\x20in\x20web\x20browser','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','log\x20<chat-id>','Overwrite\x20local\x20changes\x20without\x20confirmation','Behaviors\x20from\x20JSON\x20file','delete\x20<project-name-or-id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','show\x20<name-or-id>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Skip\x20validation\x20of\x20.dig\x20files','alias','--attempt-id\x20<id>','List\x20email\x20senders','Preview\x20without\x20creating\x20the\x20project','campaigns\x20[pattern]','resume\x20<name-or-path>','Show\x20email\x20template\x20details','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','2716668AqixRn','Continue\x20most\x20recent\x20conversation','Run\x20Trino\x20query\x20with\x20streaming\x20results','list','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','required','use\x20[name]','[EXPERIMENTAL]\x20Show\x20chat\x20log','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','list\x20[project]','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','...','use\x20<name>','help','\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','--email-sender-id\x20<id>','error','Invalid\x20--limit\x20value:\x20\x22','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--llm-project\x20<name>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Pull\x20workflow\x20project\x20to\x20local\x20folder','schema\x20<type>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--chat-id\x20<id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','site','stdout','run\x20[workflow]','push\x20[parent_or_file]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','argument','JSON\x20columns\x20for\x20connector\x20(comma-separated)','connection','Update\x20a\x20scheduled\x20query','view\x20<name-or-path>','gitRevision','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Output\x20as\x20JSON\x20Lines','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Unknown\x20action:\x20','chdir','[task-name]','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','\x20(resolved\x20to\x20','--json','--clear','kill','push\x20[file]','--add-attributes\x20<json>','--jsonl','Invalid\x20editor\x20type:\x20','--time\x20<iso8601>','Version\x20number\x20to\x20view','versions\x20<name-or-path>','Email\x20subject\x20template','logLevel','create','--master','--help','list\x20[path]','--from\x20<date>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','view\x20[segment_name]','New\x20campaign\x20name','stats\x20<name-or-path>','describe','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Delete\x20a\x20campaign','--delay\x20<seconds>','argv','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Pull\x20specific\x20campaign\x20by\x20name','statusline','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Move\x20to\x20folder','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Timezone\x20for\x20cron\x20(default:\x20UTC)','System\x20prompt/instructions\x20(default:\x20empty)','update\x20<name-or-id>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','parse'];a2_0x40ed=function(){return _0x30c648;};return a2_0x40ed();}parentPzCmd['command']('list\x20[name]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x236))[a2_0xeb8183(0x1f5)](async(_0x35cd18,_0x39fd92)=>{const _0x2274a5=a2_0xeb8183,_0xca4830=new PSPzListCommand(),_0x1d40ec=program[_0x2274a5(0x3cf)](),_0x2ebc84=await createTDXInstance(_0x1d40ec),_0x5ed81d=await _0xca4830['run']({'options':{..._0x1d40ec,..._0x39fd92},'args':_0x35cd18?[_0x35cd18]:[],'tdx':_0x2ebc84});gracefulExit(_0x5ed81d);}),parentPzCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1da))[a2_0xeb8183(0x33a)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0xeb8183(0x1f5)](async(_0x3208d5,_0x136c2b)=>{const _0xc47347=a2_0xeb8183,_0x4c390c=new PSPzInitCommand(),_0x41ada4=program[_0xc47347(0x3cf)](),_0x50b4b0=await createTDXInstance(_0x41ada4),_0x4b8751=await _0x4c390c['run']({'options':{..._0x41ada4,..._0x136c2b},'args':_0x3208d5?[_0x3208d5]:[],'tdx':_0x50b4b0});gracefulExit(_0x4b8751);}),parentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x40b))[a2_0xeb8183(0x33a)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0xeb8183(0x213)](a2_0xeb8183(0x31b),'Master\x20database\x20name')[a2_0xeb8183(0x213)](a2_0xeb8183(0x22e),a2_0xeb8183(0x36f))['option']('--description\x20<text>',a2_0xeb8183(0x35e))['option'](a2_0xeb8183(0x413),a2_0xeb8183(0x2cb))[a2_0xeb8183(0x229)](a2_0xeb8183(0x362),a2_0xeb8183(0x3c1))[a2_0xeb8183(0x229)](a2_0xeb8183(0x44c),a2_0xeb8183(0x24a))[a2_0xeb8183(0x229)]('--attributes\x20<json>',a2_0xeb8183(0x3cb))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c5),a2_0xeb8183(0x1de))[a2_0xeb8183(0x229)](a2_0xeb8183(0x231),a2_0xeb8183(0x436))['option']('--behaviors-file\x20<file>',a2_0xeb8183(0x2a2))[a2_0xeb8183(0x229)](a2_0xeb8183(0x292),'Customer\x20group\x20as\x20JSON\x20string')['option'](a2_0xeb8183(0x296),'Customer\x20group\x20from\x20JSON\x20file')[a2_0xeb8183(0x1f5)](async(_0x124ecc,_0x17277b)=>{const _0x579a6c=new ParentSegmentCreateCommand(),_0x243e86=program['opts'](),_0x51693b=await createTDXInstance(_0x243e86),_0x2a89c5=await _0x579a6c['run']({'options':{..._0x243e86,..._0x17277b},'args':[_0x124ecc],'tdx':_0x51693b});gracefulExit(_0x2a89c5);}),parentCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x37e))['description'](a2_0xeb8183(0x2f3))[a2_0xeb8183(0x229)](a2_0xeb8183(0x455),a2_0xeb8183(0x264))[a2_0xeb8183(0x229)](a2_0xeb8183(0x413),a2_0xeb8183(0x2c4))['option'](a2_0xeb8183(0x362),'Updated\x20schedule\x20option')[a2_0xeb8183(0x229)]('--timezone\x20<tz>','Updated\x20timezone')[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e6),a2_0xeb8183(0x3b9))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d1),a2_0xeb8183(0x22f))['option'](a2_0xeb8183(0x27e),a2_0xeb8183(0x20d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x371),a2_0xeb8183(0x280))['action'](async(_0x4f0df2,_0x14ed54)=>{const _0x5ce4e5=a2_0xeb8183,_0x25a4cb=new ParentSegmentUpdateCommand(),_0x29b3d6=program[_0x5ce4e5(0x3cf)](),_0x37a1c5=await createTDXInstance(_0x29b3d6),_0x31a0d3=await _0x25a4cb[_0x5ce4e5(0x1f4)]({'options':{..._0x29b3d6,..._0x14ed54},'args':[_0x4f0df2],'tdx':_0x37a1c5});gracefulExit(_0x31a0d3);}),folderCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x25b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3e9))[a2_0xeb8183(0x229)]('--description\x20<text>',a2_0xeb8183(0x225))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3be),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x709817,_0x465d7f,_0x683208)=>{const _0x4e03bd=a2_0xeb8183,_0x3637b4=new SegmentFolderCreateCommand(),_0x1a600b=program[_0x4e03bd(0x3cf)](),_0x229da5=await createTDXInstance(_0x1a600b),_0x5cb4f0=await _0x3637b4[_0x4e03bd(0x1f4)]({'options':{..._0x1a600b,..._0x683208},'args':[_0x709817,_0x465d7f],'tdx':_0x229da5});gracefulExit(_0x5cb4f0);}),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x218))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x353))['action'](async(_0x409949,_0x162bc8)=>{const _0x4365be=new ActivationsCommand(),_0x4ba40f=program['opts'](),_0x710203=await createTDXInstance(_0x4ba40f),_0x3bae37=await _0x4365be['run']({'options':{..._0x4ba40f,..._0x162bc8},'args':[_0x409949],'tdx':_0x710203});gracefulExit(_0x3bae37);});const workflowCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x419))[a2_0xeb8183(0x2a9)]('wf')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x409)),wfProjectCmd=workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1cf))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x20a)),wfProjectListAction=async(_0x17c61c,_0x8f30d9)=>{const _0x46f73e=a2_0xeb8183,_0x308039=new WorkflowProjectsCommand(),_0x1fa6cc=program[_0x46f73e(0x3cf)](),_0x15ad4f=await createTDXInstance(_0x1fa6cc),_0x24a7e2=await _0x308039['run']({'options':{..._0x1fa6cc,..._0x8f30d9},'args':_0x17c61c?[_0x17c61c]:[],'tdx':_0x15ad4f});gracefulExit(_0x24a7e2);};wfProjectCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x28c))['action'](wfProjectListAction),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3fb))[a2_0xeb8183(0x33a)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0xeb8183(0x1f5)](wfProjectListAction);const wfWorkflowListAction=async(_0x48997a,_0x5ecfb9)=>{const _0x5dad2c=a2_0xeb8183,_0x37b757=new WorkflowWorkflowsCommand(),_0x299351=program['opts'](),_0x45c5a8=await createTDXInstance(_0x299351),_0x1f8f15=await _0x37b757[_0x5dad2c(0x1f4)]({'options':{..._0x299351,..._0x5ecfb9},'args':_0x48997a?[_0x48997a]:[],'tdx':_0x45c5a8});gracefulExit(_0x1f8f15);};workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x394))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3fa))[a2_0xeb8183(0x1f5)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0xeb8183(0x3f8))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x444)),wfSessionListAction=async(_0x1a4328,_0x57cb8f)=>{const _0x27099a=a2_0xeb8183,_0x5bb886=new WorkflowSessionsCommand(),_0x2429a4=program['opts'](),_0x32c8c6=await createTDXInstance(_0x2429a4),_0x25516c=await _0x5bb886[_0x27099a(0x1f4)]({'options':{..._0x2429a4,..._0x57cb8f},'args':_0x1a4328?[_0x1a4328]:[],'tdx':_0x32c8c6});gracefulExit(_0x25516c);};wfSessionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2ba))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2b9))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c6),a2_0xeb8183(0x2b5))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ab),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0xeb8183(0x222),a2_0xeb8183(0x434))['action'](wfSessionListAction),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x321))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x268))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c6),a2_0xeb8183(0x2b5))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ab),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option']('--to\x20<timestamp>',a2_0xeb8183(0x434))[a2_0xeb8183(0x1f5)](wfSessionListAction);const wfAttemptListAction=async(_0x1f8ad3,_0x94719)=>{const _0x530094=a2_0xeb8183,_0x5ee241=new WorkflowAttemptsCommand(),_0x5d2c24=program[_0x530094(0x3cf)](),_0x255836=await createTDXInstance(_0x5d2c24),_0x33c5e6=await _0x5ee241['run']({'options':{..._0x5d2c24,..._0x94719},'args':_0x1f8ad3?[_0x1f8ad3]:[],'tdx':_0x255836});gracefulExit(_0x33c5e6);},attemptCmd=workflowCmd['command'](a2_0xeb8183(0x29b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x252))[a2_0xeb8183(0x2d3)](a2_0xeb8183(0x3d4),'Attempt\x20ID')[a2_0xeb8183(0x2d3)]('[action]',a2_0xeb8183(0x3b3))[a2_0xeb8183(0x2d3)](a2_0xeb8183(0x2de),'Task\x20name\x20for\x20logs\x20action')[a2_0xeb8183(0x229)](a2_0xeb8183(0x256),a2_0xeb8183(0x275))[a2_0xeb8183(0x229)]('--reason\x20<text>',a2_0xeb8183(0x385))[a2_0xeb8183(0x229)]('--resume-from\x20<task>','Resume\x20from\x20specific\x20task\x20(retry)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x44d),a2_0xeb8183(0x22a))[a2_0xeb8183(0x229)]('--force',a2_0xeb8183(0x1ed))[a2_0xeb8183(0x229)](a2_0xeb8183(0x37c),a2_0xeb8183(0x3c0))['action'](async(_0x2cc41c,_0x3ab81a,_0xc0a850,_0x499215)=>{const _0x322a36=a2_0xeb8183;if(_0x2cc41c==='list'){await wfAttemptListAction(_0x3ab81a,_0x499215);return;}if(!_0x2cc41c){attemptCmd[_0x322a36(0x2be)]();return;}const _0xf8bc07=program[_0x322a36(0x3cf)](),_0x37a368=await createTDXInstance(_0xf8bc07);let _0x56396f=0x0;if(!_0x3ab81a){const _0x2dbea5=new WorkflowAttemptCommand();_0x56396f=await _0x2dbea5[_0x322a36(0x1f4)]({'options':{..._0xf8bc07,..._0x499215},'args':[_0x2cc41c],'tdx':_0x37a368});}else{if(_0x3ab81a===_0x322a36(0x30d)){const _0x41e39c=new WorkflowLogsCommand();_0x56396f=await _0x41e39c[_0x322a36(0x1f4)]({'options':{..._0xf8bc07,..._0x499215},'args':_0xc0a850?[_0x2cc41c,_0xc0a850]:[_0x2cc41c],'tdx':_0x37a368});}else{if(_0x3ab81a==='tasks'){const _0x3276ae=new WorkflowTasksCommand();_0x56396f=await _0x3276ae[_0x322a36(0x1f4)]({'options':{..._0xf8bc07,..._0x499215},'args':[_0x2cc41c],'tdx':_0x37a368});}else{if(_0x3ab81a===_0x322a36(0x2e4)){const _0x546e5d=new WorkflowKillCommand();_0x56396f=await _0x546e5d['run']({'options':{..._0xf8bc07,..._0x499215},'args':[_0x2cc41c],'tdx':_0x37a368});}else{if(_0x3ab81a===_0x322a36(0x309)){const _0x284e4f=new WorkflowRetryCommand();_0x56396f=await _0x284e4f[_0x322a36(0x1f4)]({'options':{..._0xf8bc07,..._0x499215},'args':[_0x322a36(0x356)+_0x2cc41c],'tdx':_0x37a368});}else console['error'](_0x322a36(0x2dc)+_0x3ab81a),console[_0x322a36(0x2c1)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x56396f=0x1;}}}}gracefulExit(_0x56396f);});attemptCmd[a2_0xeb8183(0x274)]('list\x20[project]')[a2_0xeb8183(0x33a)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x37c),a2_0xeb8183(0x45c))[a2_0xeb8183(0x1f5)](wfAttemptListAction),workflowCmd[a2_0xeb8183(0x274)]('attempts\x20[project]')[a2_0xeb8183(0x33a)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x37c),'Include\x20retried\x20attempts')[a2_0xeb8183(0x1f5)](wfAttemptListAction),workflowCmd[a2_0xeb8183(0x274)]('timeline\x20[project.workflow]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x24d))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1f9),a2_0xeb8183(0x3e2))[a2_0xeb8183(0x229)]('--session-id\x20<id>',a2_0xeb8183(0x1e2))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2aa),a2_0xeb8183(0x227))[a2_0xeb8183(0x1f5)](async(_0x55c438,_0x4c758b)=>{const _0x13505d=a2_0xeb8183,_0x440cab=new WorkflowTimelineCommand(),_0x3d2081=program[_0x13505d(0x3cf)](),_0x48317e=await createTDXInstance(_0x3d2081),_0x561387=await _0x440cab[_0x13505d(0x1f4)]({'options':{..._0x3d2081,..._0x4c758b},'args':_0x55c438?[_0x55c438]:[],'tdx':_0x48317e});gracefulExit(_0x561387);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1ea))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2f9))[a2_0xeb8183(0x229)](a2_0xeb8183(0x376),a2_0xeb8183(0x3a4))[a2_0xeb8183(0x229)](a2_0xeb8183(0x44d),a2_0xeb8183(0x2bb))['action'](async(_0x290674,_0x968931)=>{const _0x5ee127=a2_0xeb8183,_0x5617d2=new WorkflowRetryCommand(),_0x1f1218=program[_0x5ee127(0x3cf)](),_0x582954=await createTDXInstance(_0x1f1218),_0x1614d2=await _0x5617d2[_0x5ee127(0x1f4)]({'options':{..._0x1f1218,..._0x968931},'args':[_0x290674],'tdx':_0x582954});gracefulExit(_0x1614d2);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d0))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x208))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3b2),a2_0xeb8183(0x3ee),(_0x43f507,_0x185bbe=[])=>[..._0x185bbe,_0x43f507],[])[a2_0xeb8183(0x229)]('--session-time\x20<time>',a2_0xeb8183(0x441))['action'](async(_0x49b541,_0x435e8c)=>{const _0x1b6c34=a2_0xeb8183,_0x28eaa9=new WorkflowRunCommand(),_0x5a0031=program[_0x1b6c34(0x3cf)](),_0x4ce44f=await createTDXInstance(_0x5a0031),_0x2a3608=await _0x28eaa9[_0x1b6c34(0x1f4)]({'options':{..._0x5a0031,..._0x435e8c},'args':_0x49b541?[_0x49b541]:[],'tdx':_0x4ce44f});gracefulExit(_0x2a3608);}),workflowCmd[a2_0xeb8183(0x274)]('download\x20<project-name>\x20[output-dir]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x367))[a2_0xeb8183(0x229)]('--revision\x20<revision>',a2_0xeb8183(0x3a1))['action'](async(_0x1dd63c,_0x57978a,_0x91634e)=>{const _0x17afa9=a2_0xeb8183,_0x46d6da=new WorkflowDownloadCommand(),_0x556700=program['opts'](),_0x481606=await createTDXInstance(_0x556700),_0x24f4c6=await _0x46d6da[_0x17afa9(0x1f4)]({'options':{..._0x556700,..._0x91634e},'args':[_0x1dd63c,_0x57978a||'.'],'tdx':_0x481606});gracefulExit(_0x24f4c6);}),workflowCmd[a2_0xeb8183(0x274)]('pull\x20<project>\x20[target-dir]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2c8))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ba),'Pull\x20specific\x20revision\x20(default:\x20latest)')['option'](a2_0xeb8183(0x271),a2_0xeb8183(0x327))[a2_0xeb8183(0x1f5)](async(_0x5458b1,_0x46a4ad,_0x1a4873)=>{const _0x1e9947=a2_0xeb8183,_0x312a7a=new WorkflowPullCommand(),_0x14d7d1=program[_0x1e9947(0x3cf)](),_0x42ab58=await createTDXInstance(_0x14d7d1),_0x26fab1=await _0x312a7a[_0x1e9947(0x1f4)]({'options':{..._0x14d7d1,..._0x1a4873},'args':_0x46a4ad?[_0x5458b1,_0x46a4ad]:[_0x5458b1],'tdx':_0x42ab58});gracefulExit(_0x26fab1);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3c2))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x26c))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ba),a2_0xeb8183(0x358))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),'Preview\x20changes\x20without\x20pushing')[a2_0xeb8183(0x229)](a2_0xeb8183(0x32d),a2_0xeb8183(0x2a8))[a2_0xeb8183(0x1f5)](async(_0x281d41,_0x239f99)=>{const _0x4a2739=a2_0xeb8183,_0x64dc86=new WorkflowPushCommand(),_0x10742a=program[_0x4a2739(0x3cf)](),_0x5e873d=await createTDXInstance(_0x10742a),_0x36d6e7=await _0x64dc86[_0x4a2739(0x1f4)]({'options':{..._0x10742a,..._0x239f99},'args':_0x281d41?[_0x281d41]:[],'tdx':_0x5e873d});gracefulExit(_0x36d6e7);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x281))['description']('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0xeb8183(0x229)]('--name\x20<name>',a2_0xeb8183(0x3e6))[a2_0xeb8183(0x229)]('--revision\x20<revision>',a2_0xeb8183(0x3dc))[a2_0xeb8183(0x229)]('--skip-validation',a2_0xeb8183(0x2a8))[a2_0xeb8183(0x1f5)](async(_0x1c7768,_0x1aa207)=>{const _0x409858=a2_0xeb8183,_0xeb0c83=new WorkflowUploadCommand(),_0x426b6e=program[_0x409858(0x3cf)](),_0x4ec6a1=await createTDXInstance(_0x426b6e),_0xd9191f=await _0xeb0c83[_0x409858(0x1f4)]({'options':{..._0x426b6e,..._0x1aa207},'args':_0x1c7768?[_0x1c7768]:[],'tdx':_0x4ec6a1});gracefulExit(_0xd9191f);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x35b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1df))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x29a))[a2_0xeb8183(0x229)]('--revision\x20<revision>',a2_0xeb8183(0x358))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x2ac))[a2_0xeb8183(0x229)](a2_0xeb8183(0x32d),a2_0xeb8183(0x2a8))[a2_0xeb8183(0x1f5)](async(_0x50ae39,_0x5f01c2)=>{const _0x3e143a=new WorkflowCloneCommand(),_0x48fbf2=program['opts'](),_0x57ce71=await createTDXInstance(_0x48fbf2),_0x328a7c=await _0x3e143a['run']({'options':{..._0x48fbf2,..._0x5f01c2},'args':_0x50ae39?[_0x50ae39]:[],'tdx':_0x57ce71});gracefulExit(_0x328a7c);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2a3))['description'](a2_0xeb8183(0x2c3))[a2_0xeb8183(0x1f5)](async(_0x470e61,_0x3e4b16)=>{const _0x37821b=a2_0xeb8183,_0x1fc47e=new WorkflowDeleteCommand(),_0x3d8a45=program[_0x37821b(0x3cf)](),_0x4cf765=await createTDXInstance(_0x3d8a45),_0x3177af=await _0x1fc47e['run']({'options':{..._0x3d8a45,..._0x3e4b16},'args':[_0x470e61],'tdx':_0x4cf765});gracefulExit(_0x3177af);}),workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x253))['description'](a2_0xeb8183(0x393))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e3),a2_0xeb8183(0x3e5))[a2_0xeb8183(0x1f5)](async(_0x45256c,_0x3fa736)=>{const _0x3a4228=a2_0xeb8183,_0x23c3c6=new WorkflowUseCommand(),_0x966248=program['opts'](),_0x110d08=await createTDXInstance(_0x966248),_0x292fa4=await _0x23c3c6[_0x3a4228(0x1f4)]({'options':{..._0x966248,..._0x3fa736},'args':_0x45256c?[_0x45256c]:[],'tdx':_0x110d08});gracefulExit(_0x292fa4);});const wfSecretsCmd=workflowCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3f7))['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2ba))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x375))[a2_0xeb8183(0x1f5)](async(_0x13a69c,_0xd85172)=>{const _0x583bc2=a2_0xeb8183,_0x4c1528=new WorkflowSecretsListCommand(),_0x210617=program[_0x583bc2(0x3cf)](),_0x108b2d=await createTDXInstance(_0x210617),_0x4b25fd=await _0x4c1528['run']({'options':{..._0x210617,..._0xd85172},'args':_0x13a69c?[_0x13a69c]:[],'tdx':_0x108b2d});gracefulExit(_0x4b25fd);}),wfSecretsCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x366))['description'](a2_0xeb8183(0x2f8))['action'](async(_0x2293e2,_0x55742b)=>{const _0x1966c1=a2_0xeb8183,_0x49f295=new WorkflowSecretsSetCommand(),_0x1382ff=program[_0x1966c1(0x3cf)](),_0x124bed=await createTDXInstance(_0x1382ff),_0x151c51=await _0x49f295['run']({'options':{..._0x1382ff,..._0x55742b},'args':_0x2293e2,'tdx':_0x124bed});gracefulExit(_0x151c51);}),wfSecretsCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x25f))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x36e))[a2_0xeb8183(0x1f5)](async(_0x1c406c,_0x2c41d3)=>{const _0x1d7713=a2_0xeb8183,_0x2f23ff=new WorkflowSecretsDeleteCommand(),_0x4409bd=program[_0x1d7713(0x3cf)](),_0x597f31=await createTDXInstance(_0x4409bd),_0x9408e0=await _0x2f23ff['run']({'options':{..._0x4409bd,..._0x2c41d3},'args':_0x1c406c,'tdx':_0x597f31});gracefulExit(_0x9408e0);});const jobCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3b0))['description']('Job\x20management\x20commands'),jobListAction=async _0x42b050=>{const _0x19092b=a2_0xeb8183,_0x2f0387=new JobListCommand(),_0x410e9b=program[_0x19092b(0x3cf)](),_0x2fbdc9=await createTDXInstance(_0x410e9b),_0x568ebc=await _0x2f0387[_0x19092b(0x1f4)]({'options':{..._0x410e9b,..._0x42b050},'args':[],'tdx':_0x2fbdc9});gracefulExit(_0x568ebc);};jobCmd[a2_0xeb8183(0x274)]('list')[a2_0xeb8183(0x33a)]('List\x20jobs')['option'](a2_0xeb8183(0x1c6),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0xeb8183(0x1f5)](jobListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x334),{'hidden':!![]})[a2_0xeb8183(0x33a)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')['option']('--status\x20<status>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0xeb8183(0x1f5)](jobListAction),jobCmd[a2_0xeb8183(0x274)]('show\x20<job-id>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x209))[a2_0xeb8183(0x1f5)](async(_0x39964f,_0x3018c4)=>{const _0x323ef1=a2_0xeb8183,_0x4c9a66=new JobShowCommand(),_0x3edad4=program[_0x323ef1(0x3cf)](),_0x23bdd1=await createTDXInstance(_0x3edad4),_0xefdca2=await _0x4c9a66[_0x323ef1(0x1f4)]({'options':{..._0x3edad4,..._0x3018c4},'args':[_0x39964f],'tdx':_0x23bdd1});gracefulExit(_0xefdca2);}),jobCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x25d))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x26b))[a2_0xeb8183(0x1f5)](async(_0x1e6750,_0x5d21f4)=>{const _0x51df6e=a2_0xeb8183,_0x155b12=new JobKillCommand(),_0x5ab644=program[_0x51df6e(0x3cf)](),_0x559efd=await createTDXInstance(_0x5ab644),_0x848d2=await _0x155b12[_0x51df6e(0x1f4)]({'options':{..._0x5ab644,..._0x5d21f4},'args':[_0x1e6750],'tdx':_0x559efd});gracefulExit(_0x848d2);}),jobCmd['command'](a2_0xeb8183(0x403))[a2_0xeb8183(0x33a)]('Submit\x20a\x20job')['option'](a2_0xeb8183(0x36b),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)',a2_0xeb8183(0x323))['option'](a2_0xeb8183(0x363),'Read\x20query\x20from\x20file')[a2_0xeb8183(0x229)](a2_0xeb8183(0x446),a2_0xeb8183(0x32c),'information_schema')[a2_0xeb8183(0x229)]('--result\x20<target>',a2_0xeb8183(0x306))['action'](async(_0x5c427f,_0x166c84)=>{const _0x39a16e=a2_0xeb8183,_0x50046c=new JobSubmitCommand(),_0x2c9669=program[_0x39a16e(0x3cf)](),_0x179e04=await createTDXInstance(_0x2c9669),_0x293138=await _0x50046c['run']({'options':{..._0x2c9669,..._0x166c84},'args':_0x5c427f?[_0x5c427f]:[],'tdx':_0x179e04});gracefulExit(_0x293138);}),jobCmd[a2_0xeb8183(0x274)]('result\x20<job-id>')[a2_0xeb8183(0x33a)]('Get\x20job\x20results')[a2_0xeb8183(0x1f5)](async(_0x551fd8,_0x20a71e)=>{const _0x2ad998=a2_0xeb8183,_0x5a367e=new JobResultCommand(),_0x5a17d9=program[_0x2ad998(0x3cf)](),_0x46fb12=await createTDXInstance(_0x5a17d9),_0x2e0281=await _0x5a367e[_0x2ad998(0x1f4)]({'options':{..._0x5a17d9,..._0x20a71e},'args':[_0x551fd8],'tdx':_0x46fb12});gracefulExit(_0x2e0281);});const scheduleCmd=jobCmd['command']('schedule')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x340));scheduleCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1e7))['action'](async(_0x504ad1,_0x2fea42)=>{const _0x1445a7=a2_0xeb8183,_0x55570d=new ScheduleListCommand(),_0x3e6cca=program[_0x1445a7(0x3cf)](),_0xfd14f=await createTDXInstance(_0x3e6cca),_0x2198e6=await _0x55570d[_0x1445a7(0x1f4)]({'options':{..._0x3e6cca,..._0x2fea42},'args':_0x504ad1?[_0x504ad1]:[],'tdx':_0xfd14f});gracefulExit(_0x2198e6);}),scheduleCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3de))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1d2))['action'](async(_0x572056,_0x410a99)=>{const _0x5293c2=a2_0xeb8183,_0x122eaf=new ScheduleShowCommand(),_0x5081fd=program['opts'](),_0x5b6548=await createTDXInstance(_0x5081fd),_0x40ac7a=await _0x122eaf[_0x5293c2(0x1f4)]({'options':{..._0x5081fd,..._0x410a99},'args':[_0x572056],'tdx':_0x5b6548});gracefulExit(_0x40ac7a);}),scheduleCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x40b))[a2_0xeb8183(0x33a)]('Create\x20a\x20scheduled\x20query')[a2_0xeb8183(0x229)]('-d,\x20--database\x20<db>',a2_0xeb8183(0x21b))[a2_0xeb8183(0x229)](a2_0xeb8183(0x35f),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['requiredOption'](a2_0xeb8183(0x363),'Read\x20query\x20from\x20file')[a2_0xeb8183(0x229)](a2_0xeb8183(0x45b),a2_0xeb8183(0x3ad),a2_0xeb8183(0x323))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3a6),a2_0xeb8183(0x3d9))['option'](a2_0xeb8183(0x44c),a2_0xeb8183(0x303))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2fb),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0xeb8183(0x229)]('--priority\x20<-2~2>','Job\x20priority\x20(-2\x20to\x202)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3c9),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x45d),'Query\x20engine\x20version')[a2_0xeb8183(0x229)](a2_0xeb8183(0x21e),a2_0xeb8183(0x361))['action'](async(_0x5bb381,_0x50c223)=>{const _0x4afbd1=a2_0xeb8183,_0x2c1004=new ScheduleCreateCommand(),_0x2b75a2=program['opts'](),_0x47b2cf=await createTDXInstance(_0x2b75a2);_0x50c223['in']&&(_0x50c223[_0x4afbd1(0x3f0)]=_0x50c223['in']);const _0x4df6e5=await _0x2c1004['run']({'options':{..._0x2b75a2,..._0x50c223},'args':[_0x5bb381],'tdx':_0x47b2cf});gracefulExit(_0x4df6e5);}),scheduleCmd['command'](a2_0xeb8183(0x37e))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2d6))['option']('-d,\x20--database\x20<db>',a2_0xeb8183(0x3c3))[a2_0xeb8183(0x229)](a2_0xeb8183(0x35f),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option'](a2_0xeb8183(0x363),a2_0xeb8183(0x3c7))[a2_0xeb8183(0x229)](a2_0xeb8183(0x45b),a2_0xeb8183(0x3ad))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3a6),a2_0xeb8183(0x3d9))[a2_0xeb8183(0x229)](a2_0xeb8183(0x44c),'Timezone\x20for\x20cron')['option'](a2_0xeb8183(0x2fb),'Delay\x20in\x20seconds\x20before\x20execution')['option'](a2_0xeb8183(0x329),a2_0xeb8183(0x235))['option'](a2_0xeb8183(0x3c9),'Retry\x20limit\x20(0\x20to\x2032)')['option']('--engine-version\x20<version>',a2_0xeb8183(0x398))[a2_0xeb8183(0x229)](a2_0xeb8183(0x21e),a2_0xeb8183(0x361))[a2_0xeb8183(0x1f5)](async(_0x2ca7ad,_0x499c32)=>{const _0x16f3d0=a2_0xeb8183,_0x4efcb4=new ScheduleUpdateCommand(),_0x33c19d=program[_0x16f3d0(0x3cf)](),_0x23d0c8=await createTDXInstance(_0x33c19d);_0x499c32['in']&&(_0x499c32[_0x16f3d0(0x3f0)]=_0x499c32['in']);const _0x1fcd84=await _0x4efcb4[_0x16f3d0(0x1f4)]({'options':{..._0x33c19d,..._0x499c32},'args':[_0x2ca7ad],'tdx':_0x23d0c8});gracefulExit(_0x1fcd84);}),scheduleCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x219))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x206))[a2_0xeb8183(0x1f5)](async(_0x36063e,_0x1ca67d)=>{const _0x1d9797=a2_0xeb8183,_0x3ec789=new ScheduleDeleteCommand(),_0x80a65=program[_0x1d9797(0x3cf)](),_0x37e3cb=await createTDXInstance(_0x80a65),_0x207186=await _0x3ec789[_0x1d9797(0x1f4)]({'options':{..._0x80a65,..._0x1ca67d},'args':[_0x36063e],'tdx':_0x37e3cb});gracefulExit(_0x207186);}),scheduleCmd[a2_0xeb8183(0x274)]('run\x20<name>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x34d))['option'](a2_0xeb8183(0x2e9),a2_0xeb8183(0x414))[a2_0xeb8183(0x229)](a2_0xeb8183(0x42a),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')['action'](async(_0x5f0770,_0x16acd4)=>{const _0x569300=a2_0xeb8183,_0x2949c7=new ScheduleRunCommand(),_0x3e80e4=program[_0x569300(0x3cf)](),_0x2b9bcf=await createTDXInstance(_0x3e80e4),_0x189ea1=await _0x2949c7['run']({'options':{..._0x3e80e4,..._0x16acd4},'args':[_0x5f0770],'tdx':_0x2b9bcf});gracefulExit(_0x189ea1);}),scheduleCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3e8))[a2_0xeb8183(0x33a)]('Show\x20schedule\x20execution\x20history')[a2_0xeb8183(0x229)](a2_0xeb8183(0x427),a2_0xeb8183(0x3a5))[a2_0xeb8183(0x229)](a2_0xeb8183(0x317),'Ending\x20offset\x20(default:\x2020)')[a2_0xeb8183(0x1f5)](async(_0x4e14f2,_0xc428a4)=>{const _0x4215cd=a2_0xeb8183,_0x238390=new ScheduleHistoryCommand(),_0x2b0c2d=program[_0x4215cd(0x3cf)](),_0x56af8f=await createTDXInstance(_0x2b0c2d),_0x489e6d=await _0x238390[_0x4215cd(0x1f4)]({'options':{..._0x2b0c2d,..._0xc428a4},'args':[_0x4e14f2],'tdx':_0x56af8f});gracefulExit(_0x489e6d);});const llmCmd=program['command'](a2_0xeb8183(0x372))[a2_0xeb8183(0x33a)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x26a))[a2_0xeb8183(0x33a)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')['action'](async(_0x4128bd,_0x3dde01)=>{const _0x2666a=a2_0xeb8183,_0xf51bdc=new LLMUseCommand(),_0x2a97e1=program[_0x2666a(0x3cf)](),_0x16cf36=await createTDXInstance(_0x2a97e1),_0x564657=await _0xf51bdc[_0x2666a(0x1f4)]({'options':{..._0x2a97e1,..._0x3dde01},'args':[_0x4128bd],'tdx':_0x16cf36});gracefulExit(_0x564657);}),llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x298))['description'](a2_0xeb8183(0x3a0))[a2_0xeb8183(0x1f5)](async _0x343036=>{const _0x3d4c04=a2_0xeb8183,_0x3e85b2=new LLMModelsCommand(),_0x3ee5fd=program[_0x3d4c04(0x3cf)](),_0x219009=await createTDXInstance(_0x3ee5fd),_0x77ce3d=await _0x3e85b2[_0x3d4c04(0x1f4)]({'options':{..._0x3ee5fd,..._0x343036},'args':[],'tdx':_0x219009});gracefulExit(_0x77ce3d);});const projectCmd=llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1cf))['description'](a2_0xeb8183(0x3a3)),llmProjectListAction=async(_0x54a447,_0x4812ca)=>{const _0xef5f58=a2_0xeb8183,_0x1234fe=new LLMProjectsCommand(),_0x1ce68a=program[_0xef5f58(0x3cf)](),_0x557649=await createTDXInstance(_0x1ce68a),_0x316e3d=await _0x1234fe[_0xef5f58(0x1f4)]({'options':{..._0x1ce68a,..._0x4812ca},'args':_0x54a447?[_0x54a447]:[],'tdx':_0x557649});gracefulExit(_0x316e3d);};projectCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))['description']('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0xeb8183(0x1f5)](llmProjectListAction),llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3fb))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3d3))['action'](llmProjectListAction),projectCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x40b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1f3))[a2_0xeb8183(0x229)](a2_0xeb8183(0x455),a2_0xeb8183(0x40e))['action'](async(_0x3d6114,_0x2333aa)=>{const _0x22d9ab=a2_0xeb8183,_0xfc8f55=new LLMProjectCreateCommand(),_0x55b1c5=program['opts'](),_0x44b4df=await createTDXInstance(_0x55b1c5),_0x193868=await _0xfc8f55[_0x22d9ab(0x1f4)]({'options':{..._0x55b1c5,..._0x2333aa},'args':[_0x3d6114],'tdx':_0x44b4df});gracefulExit(_0x193868);}),projectCmd['command'](a2_0xeb8183(0x219))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x42c))['action'](async(_0x8e256f,_0x374f0b)=>{const _0x567aa8=a2_0xeb8183,_0x16e2bb=new LLMProjectDeleteCommand(),_0x5057f4=program[_0x567aa8(0x3cf)](),_0x133676=await createTDXInstance(_0x5057f4),_0x1bcffb=await _0x16e2bb[_0x567aa8(0x1f4)]({'options':{..._0x5057f4,..._0x374f0b},'args':[_0x8e256f],'tdx':_0x133676});gracefulExit(_0x1bcffb);}),projectCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x217))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x39f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x41d),a2_0xeb8183(0x1f6))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x43a))[a2_0xeb8183(0x1f5)](async(_0x5dc944,_0x579282)=>{const _0x4f16bf=a2_0xeb8183,_0x4b3614=new LLMProjectBackupCommand(),_0x560c55=program[_0x4f16bf(0x3cf)](),_0x33f82d=await createTDXInstance(_0x560c55),_0x3cc3d7=await _0x4b3614[_0x4f16bf(0x1f4)]({'options':{..._0x560c55,..._0x579282},'args':[_0x5dc944],'tdx':_0x33f82d});gracefulExit(_0x3cc3d7);}),projectCmd[a2_0xeb8183(0x274)]('restore\x20<folder>')[a2_0xeb8183(0x33a)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x382),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')['option'](a2_0xeb8183(0x271),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0xeb8183(0x1f5)](async(_0x3ac4a7,_0x28246a)=>{const _0x4ba3c5=a2_0xeb8183,_0xe58b41=new LLMProjectRestoreCommand(),_0x3312cc=program[_0x4ba3c5(0x3cf)](),_0x21f4ff=await createTDXInstance(_0x3312cc),_0x5cd1a9=await _0xe58b41[_0x4ba3c5(0x1f4)]({'options':{..._0x3312cc,..._0x28246a},'args':[_0x3ac4a7],'tdx':_0x21f4ff});gracefulExit(_0x5cd1a9);});const llmAgentListAction=async(_0xef188a,_0x3ca5b5)=>{const _0x8625bc=a2_0xeb8183,_0x170db1=new LLMAgentsCommand(),_0x50b797=program[_0x8625bc(0x3cf)](),_0x8aed0b=await createTDXInstance(_0x50b797),_0x19e08c=await _0x170db1[_0x8625bc(0x1f4)]({'options':{..._0x50b797,..._0x3ca5b5},'args':_0xef188a?[_0xef188a]:[],'tdx':_0x8aed0b});gracefulExit(_0x19e08c);};llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x204))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x445))['action'](llmAgentListAction),program[a2_0xeb8183(0x274)]('agents\x20[pattern]')[a2_0xeb8183(0x33a)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0xeb8183(0x1f5)](llmAgentListAction),llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x435))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x26e))[a2_0xeb8183(0x229)](a2_0xeb8183(0x23e),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0xeb8183(0x1f5)](async(_0x54ff97,_0x5f169f)=>{const _0x483176=a2_0xeb8183,_0x272ecf=new LLMHistoryCommand(),_0x276f56=program[_0x483176(0x3cf)](),_0xbc874b=await createTDXInstance(_0x276f56),_0x213f89=await _0x272ecf['run']({'options':{..._0x276f56,..._0x5f169f},'args':_0x54ff97?[_0x54ff97]:[],'tdx':_0xbc874b});gracefulExit(_0x213f89);});isExperimentalAvailable()&&llmCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2a0))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2b8))[a2_0xeb8183(0x1f5)](async(_0x459710,_0x3623c8)=>{const _0x19e318=a2_0xeb8183,_0x4755e2=new LLMLogCommand(),_0x496785=program[_0x19e318(0x3cf)](),_0x5c34e9=await createTDXInstance(_0x496785),_0x2c591b=await _0x4755e2[_0x19e318(0x1f4)]({'options':{..._0x496785,..._0x3623c8},'args':[_0x459710],'tdx':_0x5c34e9});gracefulExit(_0x2c591b);});program[a2_0xeb8183(0x274)](a2_0xeb8183(0x33c))[a2_0xeb8183(0x36a)](a2_0xeb8183(0x430))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x337))[a2_0xeb8183(0x229)](a2_0xeb8183(0x285),a2_0xeb8183(0x2b2))[a2_0xeb8183(0x229)]('-r,\x20--resume','Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0xeb8183(0x229)]('--no-proxy',a2_0xeb8183(0x391))[a2_0xeb8183(0x311)]()['allowExcessArguments'](!![])[a2_0xeb8183(0x380)]('after',a2_0xeb8183(0x320))[a2_0xeb8183(0x1f5)](async(_0x4d20d1,_0x3814f4)=>{const _0x2ed645=a2_0xeb8183,_0x5869d1=program[_0x2ed645(0x3cf)](),_0x4acd06=Array[_0x2ed645(0x31a)](_0x4d20d1)?_0x4d20d1:[];if(_0x4acd06[0x0]===_0x2ed645(0x2ff)){const _0x21c010=new ClaudeStatuslineCommand(),_0x44b088=await _0x21c010[_0x2ed645(0x1f4)]({'options':{..._0x5869d1,..._0x3814f4},'args':_0x4acd06[_0x2ed645(0x3f5)](0x1),'tdx':null});gracefulExit(_0x44b088);}if(_0x4acd06[0x0]===_0x2ed645(0x36a)){const _0x4ab57f=new ClaudeUsageCommand(),_0xe38a47=await _0x4ab57f[_0x2ed645(0x1f4)]({'options':{..._0x5869d1,..._0x3814f4},'args':_0x4acd06[_0x2ed645(0x3f5)](0x1),'tdx':null});gracefulExit(_0xe38a47);}const _0x4ed5cd=new ClaudeCommand(),_0x8a09ac=await createTDXInstance(_0x5869d1),_0x423fed=await _0x4ed5cd[_0x2ed645(0x1f4)]({'options':{..._0x5869d1,..._0x3814f4},'args':_0x4acd06,'tdx':_0x8a09ac});gracefulExit(_0x423fed);}),program[a2_0xeb8183(0x274)]('use\x20[resource]\x20[value]')['description'](a2_0xeb8183(0x300))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2e3),'Clear\x20session\x20context')[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e3),a2_0xeb8183(0x224))[a2_0xeb8183(0x1f5)](async(_0x236d9d,_0x395fd2,_0x9b4076)=>{const _0x15d8aa=a2_0xeb8183,_0x27b38a=new UseCommand(),_0x5d349f=program[_0x15d8aa(0x3cf)](),_0x1bca79=[];if(_0x236d9d)_0x1bca79[_0x15d8aa(0x395)](_0x236d9d);if(_0x395fd2)_0x1bca79[_0x15d8aa(0x395)](_0x395fd2);const _0x40d350=_0x236d9d==='engage_workspace',_0x219018=_0x40d350?await createTDXInstance(_0x5d349f):null,_0x529413=await _0x27b38a[_0x15d8aa(0x1f4)]({'options':{..._0x5d349f,..._0x9b4076},'args':_0x1bca79,'tdx':_0x219018});gracefulExit(_0x529413);}),program['command'](a2_0xeb8183(0x265))['description']('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0xeb8183(0x1f5)](async _0x35fa1f=>{const _0x2fd615=a2_0xeb8183,_0x28554d=new StatusCommand(),_0x33e75a=program[_0x2fd615(0x3cf)](),_0x4ffe3a=await createTDXInstance(_0x33e75a),_0xd7621a=await _0x28554d[_0x2fd615(0x1f4)]({'options':{..._0x33e75a,..._0x35fa1f},'args':[],'tdx':_0x4ffe3a});gracefulExit(_0xd7621a);}),program['command'](a2_0xeb8183(0x45a))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x381))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e3),a2_0xeb8183(0x201))[a2_0xeb8183(0x1f5)](async(_0x366221,_0x54be5a)=>{const _0x40fa50=a2_0xeb8183,_0x1bdd42=new UnsetCommand(),_0x9635c9=program[_0x40fa50(0x3cf)](),_0x2adca4=await _0x1bdd42[_0x40fa50(0x1f4)]({'options':{..._0x9635c9,..._0x54be5a},'args':[_0x366221],'tdx':null});gracefulExit(_0x2adca4);}),program[a2_0xeb8183(0x274)]('chats')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x41c))[a2_0xeb8183(0x229)](a2_0xeb8183(0x23e),a2_0xeb8183(0x25c))[a2_0xeb8183(0x1f5)](async _0x3efb75=>{const _0x436f5b=a2_0xeb8183,_0xe564b9=new ChatsCommand(),_0x4e0f15=program[_0x436f5b(0x3cf)](),_0x49eecb=await createTDXInstance(_0x4e0f15),_0x583bfe=await _0xe564b9[_0x436f5b(0x1f4)]({'options':{..._0x4e0f15,..._0x3efb75},'args':[],'tdx':_0x49eecb});gracefulExit(_0x583bfe);});const authCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x313))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x350));async function runAuthStatusCommand(_0x148605){const _0x550f9a=a2_0xeb8183,_0x42ebd6=new AuthStatusCommand(),_0x591ef8=program[_0x550f9a(0x3cf)](),_0x5d3dc0=await createTDXInstance(_0x591ef8),_0x1c82db=await _0x42ebd6[_0x550f9a(0x1f4)]({'options':{..._0x591ef8,..._0x148605},'args':[],'tdx':_0x5d3dc0});gracefulExit(_0x1c82db);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x265))['description']('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0xeb8183(0x1f5)](runAuthStatusCommand),authCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x423))['description'](a2_0xeb8183(0x314))[a2_0xeb8183(0x380)]('after','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\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\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0xeb8183(0x1f5)](async _0x2bd9c7=>{const _0x1940e0=a2_0xeb8183,_0x4c0b19=new AuthSetupCommand(),_0x4df274=program[_0x1940e0(0x3cf)](),_0x23786d=await createTDXInstance(_0x4df274),_0x1d6e3f=await _0x4c0b19['run']({'options':{..._0x4df274,..._0x2bd9c7},'args':[],'tdx':_0x23786d});gracefulExit(_0x1d6e3f);}),authCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3c6))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x237))[a2_0xeb8183(0x380)]('after','\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')[a2_0xeb8183(0x1f5)](async _0x12efe5=>{const _0x264502=a2_0xeb8183,_0x224f6d=new AuthClearCommand(),_0x3201ea=program[_0x264502(0x3cf)](),_0x279d80=await _0x224f6d[_0x264502(0x1f4)]({'options':{..._0x3201ea,..._0x12efe5},'args':[],'tdx':null});gracefulExit(_0x279d80);});const userCmd=program[a2_0xeb8183(0x274)]('user')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x33d)),userListAction=async _0x38a766=>{const _0x4fe526=a2_0xeb8183,_0x56ebc7=new UserListCommand(),_0x228ecb=program['opts'](),_0x5ddd5a=await createTDXInstance(_0x228ecb),_0x9ac073=await _0x56ebc7[_0x4fe526(0x1f4)]({'options':{..._0x228ecb,..._0x38a766},'args':[],'tdx':_0x5ddd5a});gracefulExit(_0x9ac073);};userCmd[a2_0xeb8183(0x1f5)](async _0x1e58f6=>{const _0x4f0e72=a2_0xeb8183,_0x3e6ad9=new UserCommand(),_0x383d87=program[_0x4f0e72(0x3cf)](),_0x59b265=await createTDXInstance(_0x383d87),_0x1fab31=await _0x3e6ad9['run']({'options':{..._0x383d87,..._0x1e58f6},'args':[],'tdx':_0x59b265});gracefulExit(_0x1fab31);}),userCmd[a2_0xeb8183(0x274)]('list')['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0xeb8183(0x1f5)](userListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x23a))['description'](a2_0xeb8183(0x248))[a2_0xeb8183(0x1f5)](userListAction),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3e4))[a2_0xeb8183(0x33a)]('List\x20all\x20available\x20profiles')[a2_0xeb8183(0x1f5)](async _0x242f02=>{const _0x123b24=new ProfilesCommand(),_0x2fe9fb=program['opts'](),_0x1f024d=await _0x123b24['run']({'options':{..._0x2fe9fb,..._0x242f02},'args':[],'tdx':null});gracefulExit(_0x1f024d);});const profileCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x3d8))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x29e));profileCmd['action'](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x301ca9=>{const _0xab2056=a2_0xeb8183,_0x3a1b98=new ProfilesCommand(),_0x4ee5e4=program[_0xab2056(0x3cf)](),_0x56c981=await _0x3a1b98['run']({'options':{..._0x4ee5e4,..._0x301ca9},'args':[],'tdx':null});gracefulExit(_0x56c981);};profileCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2b4))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x28d))[a2_0xeb8183(0x1f5)](profileListAction),profileCmd[a2_0xeb8183(0x274)]('create\x20[name]')['description'](a2_0xeb8183(0x23c))[a2_0xeb8183(0x380)](a2_0xeb8183(0x39c),a2_0xeb8183(0x2a5))['action'](async(_0x3087cd,_0x9657fa)=>{const _0x432df5=a2_0xeb8183,_0x70700d=new ProfileCreateCommand(),_0x5ba76c=program[_0x432df5(0x3cf)](),_0x45766c=await _0x70700d['run']({'options':{..._0x5ba76c,..._0x9657fa},'args':_0x3087cd?[_0x3087cd]:[],'tdx':null});gracefulExit(_0x45766c);}),profileCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1c2))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1d5))['addHelpText'](a2_0xeb8183(0x39c),a2_0xeb8183(0x2e0))[a2_0xeb8183(0x1f5)](async(_0x18d9c9,_0x4a2f2b)=>{const _0x5dcdce=a2_0xeb8183,_0x2c83a3=new ProfileRemoveCommand(),_0x575131=program[_0x5dcdce(0x3cf)](),_0x78857e=await _0x2c83a3[_0x5dcdce(0x1f4)]({'options':{..._0x575131,..._0x4a2f2b},'args':[_0x18d9c9],'tdx':null});gracefulExit(_0x78857e);}),profileCmd[a2_0xeb8183(0x274)]('set\x20<key=value>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3b8))['addHelpText']('after',a2_0xeb8183(0x3d6))['action'](async(_0x113d8d,_0x1793fb)=>{const _0x137121=a2_0xeb8183,_0xe5e219=new ProfileSetCommand(),_0x2e1ca1=program[_0x137121(0x3cf)](),_0x4d374a=await _0xe5e219[_0x137121(0x1f4)]({'options':{..._0x2e1ca1,..._0x1793fb},'args':[_0x113d8d],'tdx':null});gracefulExit(_0x4d374a);}),profileCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2bd))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2ca))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e3),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0xeb8183(0x380)](a2_0xeb8183(0x39c),a2_0xeb8183(0x27a))[a2_0xeb8183(0x1f5)](async(_0xc61350,_0x1f02c8)=>{const _0x497407=a2_0xeb8183,_0x2317e1=new ProfileUseCommand(),_0x338dc9=program[_0x497407(0x3cf)](),_0x1d6de3=await _0x2317e1[_0x497407(0x1f4)]({'options':{..._0x338dc9,..._0x1f02c8},'args':[_0xc61350],'tdx':null});gracefulExit(_0x1d6de3);});const engageCmd=program['command'](a2_0xeb8183(0x1d3))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2c7)),createEngageAction=_0x4b0067=>{return async(_0x484f91,_0x7978fe)=>{const _0x2616e6=a2_0x44dc,_0xcc5cb8=new _0x4b0067(),_0x392254=program['opts'](),_0xb40d0e=await createTDXInstance(_0x392254),_0x60f852=await _0xcc5cb8[_0x2616e6(0x1f4)]({'options':{..._0x392254,..._0x7978fe},'args':[_0x484f91],'tdx':_0xb40d0e});gracefulExit(_0x60f852);};},createEngageNoArgAction=_0x51abab=>{return async _0x2f1fee=>{const _0x2040c7=a2_0x44dc,_0x4dcaa6=new _0x51abab(),_0x2395b5=program[_0x2040c7(0x3cf)](),_0x427446=await createTDXInstance(_0x2395b5),_0x11c81b=await _0x4dcaa6['run']({'options':{..._0x2395b5,..._0x2f1fee},'args':[],'tdx':_0x427446});gracefulExit(_0x11c81b);};},createEngageListAction=_0x16901a=>{return async(_0x4ce7d0,_0x56dc3c)=>{const _0x49a656=a2_0x44dc,_0x356610=new _0x16901a(),_0x31683e=program[_0x49a656(0x3cf)](),_0x118d28=await createTDXInstance(_0x31683e),_0x2437e0=await _0x356610['run']({'options':{..._0x31683e,..._0x56dc3c},'args':_0x4ce7d0?[_0x4ce7d0]:[],'tdx':_0x118d28});gracefulExit(_0x2437e0);};},campaignCmd=engageCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x373))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3b7));campaignCmd[a2_0xeb8183(0x274)]('list\x20[pattern]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x42e))[a2_0xeb8183(0x229)](a2_0xeb8183(0x45b),a2_0xeb8183(0x26f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c6),a2_0xeb8183(0x410))['option']('--workspace\x20<name>',a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0xeb8183(0x2ad))['description'](a2_0xeb8183(0x3f6))[a2_0xeb8183(0x229)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c6),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0xeb8183(0x274)]('show\x20<name-or-id>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x251))['option']('--workspace\x20<name>',a2_0xeb8183(0x240))[a2_0xeb8183(0x229)]('--full',a2_0xeb8183(0x205))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0xeb8183(0x274)]('create')[a2_0xeb8183(0x33a)]('Create\x20a\x20new\x20campaign')[a2_0xeb8183(0x213)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x3cc))[a2_0xeb8183(0x213)](a2_0xeb8183(0x45b),a2_0xeb8183(0x3ec))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x439))['option'](a2_0xeb8183(0x297),a2_0xeb8183(0x417))[a2_0xeb8183(0x229)](a2_0xeb8183(0x384),a2_0xeb8183(0x368))[a2_0xeb8183(0x229)]('--email-sender-id\x20<id>',a2_0xeb8183(0x215))[a2_0xeb8183(0x229)]('--json-columns\x20<cols>',a2_0xeb8183(0x2d4))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1d4),a2_0xeb8183(0x228))[a2_0xeb8183(0x229)]('--timezone\x20<tz>',a2_0xeb8183(0x25e))[a2_0xeb8183(0x1f5)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0xeb8183(0x305))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x272))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x2f5))[a2_0xeb8183(0x229)](a2_0xeb8183(0x297),'Campaign\x20description')[a2_0xeb8183(0x229)](a2_0xeb8183(0x384),a2_0xeb8183(0x368))[a2_0xeb8183(0x229)](a2_0xeb8183(0x2c0),a2_0xeb8183(0x215))[a2_0xeb8183(0x229)](a2_0xeb8183(0x40f),a2_0xeb8183(0x2d4))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1d4),a2_0xeb8183(0x228))[a2_0xeb8183(0x229)]('--timezone\x20<tz>',a2_0xeb8183(0x25e))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0xeb8183(0x1ff))['description'](a2_0xeb8183(0x2fa))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)](a2_0xeb8183(0x23b),a2_0xeb8183(0x245))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x38a))[a2_0xeb8183(0x33a)]('Launch\x20a\x20campaign')[a2_0xeb8183(0x229)]('--workspace\x20<name>',a2_0xeb8183(0x240))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1e9))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x211))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0xeb8183(0x458))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x338))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x216))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3c5))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0xeb8183(0x274)]('pull\x20[workspace-name]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x20f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x2fe))[a2_0xeb8183(0x229)]('--type\x20<type>',a2_0xeb8183(0x26f))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),a2_0xeb8183(0x2db))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command']('push\x20[target]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2a7))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)]('--dry-run',a2_0xeb8183(0x31c))['action'](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x28b))['description'](a2_0xeb8183(0x1d6))[a2_0xeb8183(0x229)](a2_0xeb8183(0x263),a2_0xeb8183(0x27f))[a2_0xeb8183(0x1f5)](createEngageAction(EngageCampaignValidateCommand));const templateCmd=engageCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x24c))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x33b));templateCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x22c))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x286))['option']('--workspace\x20<name>',a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2a6))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2af))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),'Workspace\x20name')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d0),a2_0xeb8183(0x205))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0xeb8183(0x274)]('create')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x411))[a2_0xeb8183(0x213)]('--name\x20<name>',a2_0xeb8183(0x32b))[a2_0xeb8183(0x213)]('--subject\x20<subject>',a2_0xeb8183(0x2ec))[a2_0xeb8183(0x213)](a2_0xeb8183(0x29c),a2_0xeb8183(0x3e7))[a2_0xeb8183(0x229)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3f3),a2_0xeb8183(0x34b))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3da),a2_0xeb8183(0x43b),_0x33794b=>{const _0x3dc61d=a2_0xeb8183;if(![_0x3dc61d(0x369),'grapesjs'][_0x3dc61d(0x290)](_0x33794b))throw new SDKError(ErrorCode[_0x3dc61d(0x319)],_0x3dc61d(0x2e8)+_0x33794b+_0x3dc61d(0x1e8));return _0x33794b;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command']('update\x20<name-or-id>')['description']('Update\x20an\x20email\x20template')[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1e4),a2_0xeb8183(0x3e1))[a2_0xeb8183(0x229)]('--subject\x20<subject>',a2_0xeb8183(0x2ec))[a2_0xeb8183(0x229)]('--html\x20<html>',a2_0xeb8183(0x3e7))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3f3),a2_0xeb8183(0x34b))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1ff))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3fd))[a2_0xeb8183(0x229)](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x229)]('--yes',a2_0xeb8183(0x245))[a2_0xeb8183(0x1f5)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x277))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x438));workspaceCmd['command'](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3a8))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0xeb8183(0x274)]('workspaces\x20[pattern]')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x32e))[a2_0xeb8183(0x1f5)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0xeb8183(0x274)]('show\x20<name-or-id>')[a2_0xeb8183(0x33a)]('Show\x20workspace\x20details')[a2_0xeb8183(0x229)](a2_0xeb8183(0x3d0),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0xeb8183(0x1f5)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2ee))['description']('Create\x20a\x20workspace')[a2_0xeb8183(0x213)]('--name\x20<name>',a2_0xeb8183(0x240))['option'](a2_0xeb8183(0x297),a2_0xeb8183(0x214))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x305))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x324))['option'](a2_0xeb8183(0x1e4),'New\x20workspace\x20name')['option'](a2_0xeb8183(0x297),a2_0xeb8183(0x214))[a2_0xeb8183(0x1f5)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0xeb8183(0x274)]('delete\x20<name-or-id>')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x420))[a2_0xeb8183(0x229)](a2_0xeb8183(0x23b),'Skip\x20confirmation\x20prompt')[a2_0xeb8183(0x1f5)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2bd))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x41b))['action'](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command']('delivery')[a2_0xeb8183(0x33a)](a2_0xeb8183(0x342));deliveryCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x322))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x2ab))['option'](a2_0xeb8183(0x343),a2_0xeb8183(0x240))[a2_0xeb8183(0x1f5)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d5))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x43e)),connectionListAction=async _0x243876=>{const _0x149159=a2_0xeb8183,_0x37410c=new ConnectionListCommand(),_0x5b5eb7=program['opts'](),_0x317798=await createTDXInstance(_0x5b5eb7),_0x216052=await _0x37410c[_0x149159(0x1f4)]({'options':{..._0x5b5eb7,..._0x243876},'args':[],'tdx':_0x317798});gracefulExit(_0x216052);};connectionCmd[a2_0xeb8183(0x274)]('list')['description'](a2_0xeb8183(0x234))[a2_0xeb8183(0x1f5)](connectionListAction),program[a2_0xeb8183(0x274)]('connections',{'hidden':!![]})['description'](a2_0xeb8183(0x42d))['action'](connectionListAction),connectionCmd['command'](a2_0xeb8183(0x3de))['description'](a2_0xeb8183(0x39a))['action'](async(_0x26674a,_0x2b02f3)=>{const _0x1bbe9b=a2_0xeb8183,_0x54f4c2=new ConnectionShowCommand(),_0x44efcf=program[_0x1bbe9b(0x3cf)](),_0x55f4a3=await createTDXInstance(_0x44efcf),_0x43abf1=await _0x54f4c2['run']({'options':{..._0x44efcf,..._0x2b02f3},'args':[_0x26674a],'tdx':_0x55f4a3});gracefulExit(_0x43abf1);}),connectionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2c9))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3bf))[a2_0xeb8183(0x1f5)](async(_0x1d3a35,_0x38bd58)=>{const _0xdb83b7=a2_0xeb8183,_0xb3d22a=new ConnectionSchemaCommand(),_0x2b208c=program[_0xdb83b7(0x3cf)](),_0x2b4c07=await createTDXInstance(_0x2b208c),_0x4f9218=await _0xb3d22a[_0xdb83b7(0x1f4)]({'options':{..._0x2b208c,..._0x38bd58},'args':[_0x1d3a35],'tdx':_0x2b4c07});gracefulExit(_0x4f9218);}),connectionCmd['command'](a2_0xeb8183(0x226))['description'](a2_0xeb8183(0x325))['action'](async _0x145c23=>{const _0x55dfbc=a2_0xeb8183,_0x28db57=new ConnectionTypesCommand(),_0x54a6b1=program[_0x55dfbc(0x3cf)](),_0x45f9d4=await createTDXInstance(_0x54a6b1),_0x9f9b6d=await _0x28db57[_0x55dfbc(0x1f4)]({'options':{..._0x54a6b1,..._0x145c23},'args':[],'tdx':_0x45f9d4});gracefulExit(_0x9f9b6d);}),connectionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x453))['description'](a2_0xeb8183(0x400))[a2_0xeb8183(0x1f5)](async(_0x17c6c2,_0x1b5819)=>{const _0x33677d=a2_0xeb8183,_0xa10513=new ConnectionSettingsCommand(),_0x26e465=program['opts'](),_0x266e6e=await createTDXInstance(_0x26e465),_0x5b0e28=await _0xa10513[_0x33677d(0x1f4)]({'options':{..._0x26e465,..._0x1b5819},'args':[_0x17c6c2],'tdx':_0x266e6e});gracefulExit(_0x5b0e28);});const journeyCmd=program[a2_0xeb8183(0x274)](a2_0xeb8183(0x34e))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x3a2)),journeyListAction=async(_0x2dfdcb,_0x494f3a)=>{const _0x37f1df=a2_0xeb8183,_0x489318=new JourneyListCommand(),_0xa2e4f7=program['opts'](),_0x138cea=await createTDXInstance(_0xa2e4f7),_0x1d9770=await _0x489318[_0x37f1df(0x1f4)]({'options':{..._0xa2e4f7,..._0x494f3a},'args':_0x2dfdcb?[_0x2dfdcb]:[],'tdx':_0x138cea});gracefulExit(_0x1d9770);};journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))['description'](a2_0xeb8183(0x365))[a2_0xeb8183(0x1f5)](journeyListAction),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d7))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x39b))[a2_0xeb8183(0x229)](a2_0xeb8183(0x3ea),a2_0xeb8183(0x45e))[a2_0xeb8183(0x229)]('--include-stats',a2_0xeb8183(0x406))[a2_0xeb8183(0x1f5)](async(_0x3acdf5,_0x43f384)=>{const _0x19d718=a2_0xeb8183,_0x30b8c6=new JourneyViewCommand(),_0x3ae575=program[_0x19d718(0x3cf)](),_0x2a457c=await createTDXInstance(_0x3ae575),_0x385198=await _0x30b8c6[_0x19d718(0x1f4)]({'options':{..._0x3ae575,..._0x43f384},'args':[_0x3acdf5],'tdx':_0x2a457c});gracefulExit(_0x385198);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2f6))['description'](a2_0xeb8183(0x39e))[a2_0xeb8183(0x229)](a2_0xeb8183(0x270),a2_0xeb8183(0x405))[a2_0xeb8183(0x229)]('--from\x20<date>',a2_0xeb8183(0x1fb))['option'](a2_0xeb8183(0x460),a2_0xeb8183(0x330))[a2_0xeb8183(0x229)]('--include-history',a2_0xeb8183(0x3ed))[a2_0xeb8183(0x1f5)](async(_0xa505d4,_0x25eab8)=>{const _0x1f48f9=a2_0xeb8183,_0xc778b=new JourneyStatsCommand(),_0x549662=program[_0x1f48f9(0x3cf)](),_0x40beda=await createTDXInstance(_0x549662),_0x140827=await _0xc778b['run']({'options':{..._0x549662,..._0x25eab8},'args':[_0xa505d4],'tdx':_0x40beda});gracefulExit(_0x140827);}),journeyCmd[a2_0xeb8183(0x274)]('traffic\x20<name-or-path>')[a2_0xeb8183(0x33a)]('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')['option']('--type\x20<type>',a2_0xeb8183(0x389))['option'](a2_0xeb8183(0x2f2),a2_0xeb8183(0x1fb))[a2_0xeb8183(0x229)]('--to\x20<date>',a2_0xeb8183(0x330))[a2_0xeb8183(0x229)]('--limit\x20<number>',a2_0xeb8183(0x351),_0x3c1149=>{const _0x1598da=a2_0xeb8183,_0x2bf29e=parseInt(_0x3c1149,0xa);if(isNaN(_0x2bf29e))throw new Error(_0x1598da(0x2c2)+_0x3c1149+'\x22.\x20Must\x20be\x20a\x20number.');return _0x2bf29e;})[a2_0xeb8183(0x1f5)](async(_0x308334,_0x597818)=>{const _0x3dab11=a2_0xeb8183,_0x5792ac=new JourneyTrafficCommand(),_0x303f3b=program[_0x3dab11(0x3cf)](),_0x56251a=await createTDXInstance(_0x303f3b),_0xdbbee1=await _0x5792ac['run']({'options':{..._0x303f3b,..._0x597818},'args':[_0x308334],'tdx':_0x56251a});gracefulExit(_0xdbbee1);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x383))[a2_0xeb8183(0x33a)]('Pause\x20a\x20running\x20journey')[a2_0xeb8183(0x1f5)](async(_0x5737dd,_0x451a0)=>{const _0x3a2de8=a2_0xeb8183,_0x1f60e1=new JourneyPauseCommand(),_0x471453=program['opts'](),_0x23aeb5=await createTDXInstance(_0x471453),_0x2b5dc4=await _0x1f60e1[_0x3a2de8(0x1f4)]({'options':{..._0x471453,..._0x451a0},'args':[_0x5737dd],'tdx':_0x23aeb5});gracefulExit(_0x2b5dc4);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2ae))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1f7))[a2_0xeb8183(0x1f5)](async(_0x5c6aa0,_0x2df067)=>{const _0x54543f=a2_0xeb8183,_0x10ba73=new JourneyResumeCommand(),_0x5a67d4=program[_0x54543f(0x3cf)](),_0x223095=await createTDXInstance(_0x5a67d4),_0x5e2536=await _0x10ba73['run']({'options':{..._0x5a67d4,..._0x2df067},'args':[_0x5c6aa0],'tdx':_0x223095});gracefulExit(_0x5e2536);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x1ec))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x336))[a2_0xeb8183(0x229)](a2_0xeb8183(0x271),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0xeb8183(0x1f5)](async(_0x388656,_0x2b88de)=>{const _0x116d44=new JourneyPullCommand(),_0x557005=program['opts'](),_0x3f9905=await createTDXInstance(_0x557005),_0x4a9a3e=await _0x116d44['run']({'options':{..._0x557005,..._0x2b88de},'args':_0x388656?[_0x388656]:[],'tdx':_0x3f9905});gracefulExit(_0x4a9a3e);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x32a))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x28f))[a2_0xeb8183(0x1f5)](async(_0x5f4a89,_0x32b46c)=>{const _0x1da43a=a2_0xeb8183,_0x2cdd32=new JourneyPushCommand(),_0x27a805=program[_0x1da43a(0x3cf)](),_0xf542b=await createTDXInstance(_0x27a805),_0x29a07f=await _0x2cdd32[_0x1da43a(0x1f4)]({'options':{..._0x27a805,..._0x32b46c},'args':_0x5f4a89?[_0x5f4a89]:[],'tdx':_0xf542b});gracefulExit(_0x29a07f);}),journeyCmd['command'](a2_0xeb8183(0x31e))['description'](a2_0xeb8183(0x257))['action'](async(_0x2f7f41,_0x3a5c1f)=>{const _0x2d151f=a2_0xeb8183,_0x484351=new JourneyColumnsCommand(),_0x2b3d2d=program[_0x2d151f(0x3cf)](),_0x2137e0=await createTDXInstance(_0x2b3d2d),_0x570f22=await _0x484351[_0x2d151f(0x1f4)]({'options':{..._0x2b3d2d,..._0x3a5c1f},'args':[_0x2f7f41],'tdx':_0x2137e0});gracefulExit(_0x570f22);}),journeyCmd[a2_0xeb8183(0x274)]('activations\x20<name-or-path>')[a2_0xeb8183(0x33a)]('List\x20activations\x20for\x20a\x20journey')[a2_0xeb8183(0x1f5)](async(_0x378563,_0x4d29ab)=>{const _0x15035a=a2_0xeb8183,_0x3e1efe=new JourneyActivationsCommand(),_0x1c02a4=program[_0x15035a(0x3cf)](),_0x274258=await createTDXInstance(_0x1c02a4),_0x1f88be=await _0x3e1efe[_0x15035a(0x1f4)]({'options':{..._0x1c02a4,..._0x4d29ab},'args':[_0x378563],'tdx':_0x274258});gracefulExit(_0x1f88be);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2eb))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1fe))[a2_0xeb8183(0x1f5)](async(_0x5e6d97,_0x191f86)=>{const _0x4a4509=a2_0xeb8183,_0x58408f=new JourneyVersionsCommand(),_0x2c3c6b=program[_0x4a4509(0x3cf)](),_0x324708=await createTDXInstance(_0x2c3c6b),_0xa3c21e=await _0x58408f['run']({'options':{..._0x2c3c6b,..._0x191f86},'args':[_0x5e6d97],'tdx':_0x324708});gracefulExit(_0xa3c21e);});const journeyVersionCmd=journeyCmd['command'](a2_0xeb8183(0x238))['description']('Journey\x20version\x20management');journeyVersionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x43d))[a2_0xeb8183(0x33a)]('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0xeb8183(0x1f5)](async(_0x436dee,_0x1eda92)=>{const _0x56cc54=a2_0xeb8183,_0x2f4b1b=new JourneyVersionCreateCommand(),_0x201f6f=program[_0x56cc54(0x3cf)](),_0xdf5273=await createTDXInstance(_0x201f6f),_0x397a15=await _0x2f4b1b[_0x56cc54(0x1f4)]({'options':{..._0x201f6f,..._0x1eda92},'args':[_0x436dee],'tdx':_0xdf5273});gracefulExit(_0x397a15);}),journeyVersionCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x2d7))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1e1))[a2_0xeb8183(0x213)](a2_0xeb8183(0x345),a2_0xeb8183(0x2ea))[a2_0xeb8183(0x1f5)](async(_0xd51ecf,_0x20869c)=>{const _0x1b07bc=a2_0xeb8183,_0x133d87=new JourneyVersionViewCommand(),_0x1f61bd=program['opts'](),_0x1dee4a=await createTDXInstance(_0x1f61bd),_0x3d45dd=await _0x133d87[_0x1b07bc(0x1f4)]({'options':{..._0x1f61bd,..._0x20869c},'args':[_0xd51ecf],'tdx':_0x1dee4a});gracefulExit(_0x3d45dd);}),journeyCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x28b))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x255))[a2_0xeb8183(0x1f5)](async(_0x5ab3fd,_0x48f041)=>{const _0x272b6c=a2_0xeb8183,_0x45b0b8=new JourneyValidateCommand(),_0x47e76f=program[_0x272b6c(0x3cf)](),_0xc644ef=await createTDXInstance(_0x47e76f),_0x20f8b7=await _0x45b0b8['run']({'options':{..._0x47e76f,..._0x48f041},'args':_0x5ab3fd?[_0x5ab3fd]:[],'tdx':_0xc644ef});gracefulExit(_0x20f8b7);}),program['command']('journeys\x20[pattern]')['description']('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0xeb8183(0x1f5)](journeyListAction);const agentSyncCmd=program[a2_0xeb8183(0x274)]('agent')['description'](a2_0xeb8183(0x370));agentSyncCmd[a2_0xeb8183(0x274)]('pull\x20[project]\x20[agent-name]')['description'](a2_0xeb8183(0x202))[a2_0xeb8183(0x229)](a2_0xeb8183(0x27b),a2_0xeb8183(0x426))[a2_0xeb8183(0x229)](a2_0xeb8183(0x34a),a2_0xeb8183(0x2a1))[a2_0xeb8183(0x229)](a2_0xeb8183(0x266),a2_0xeb8183(0x2d9))[a2_0xeb8183(0x1f5)](async(_0x52ddfc,_0x22653f,_0x4836cc)=>{const _0x144ed0=a2_0xeb8183,_0x2ae31c=new AgentPullCommand(),_0x3e6c56=program[_0x144ed0(0x3cf)](),_0x31d2bf=await createTDXInstance(_0x3e6c56),_0x1ac367=[];if(_0x52ddfc)_0x1ac367[_0x144ed0(0x395)](_0x52ddfc);if(_0x22653f)_0x1ac367['push'](_0x22653f);const _0x26fea6=await _0x2ae31c[_0x144ed0(0x1f4)]({'options':{..._0x3e6c56,..._0x4836cc},'args':_0x1ac367,'tdx':_0x31d2bf});gracefulExit(_0x26fea6);}),agentSyncCmd[a2_0xeb8183(0x274)]('push\x20[path]')['description'](a2_0xeb8183(0x3f1))['option']('-f,\x20--force',a2_0xeb8183(0x390))[a2_0xeb8183(0x1f5)](async(_0x22dc53,_0x4337a6)=>{const _0x244e3e=a2_0xeb8183,_0x16a919=new AgentPushCommand(),_0x1c7d7a=program['opts'](),_0xafcad3=await createTDXInstance(_0x1c7d7a),_0x137818=await _0x16a919[_0x244e3e(0x1f4)]({'options':{..._0x1c7d7a,..._0x4337a6},'args':_0x22dc53?[_0x22dc53]:[],'tdx':_0xafcad3});gracefulExit(_0x137818);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x23d))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x278))['option']('-n,\x20--name\x20<name>',a2_0xeb8183(0x29a))['action'](async(_0x4bcd25,_0x1ebb32)=>{const _0x215c9a=a2_0xeb8183,_0x3db6dd=new AgentCloneCommand(),_0x36dcde=program[_0x215c9a(0x3cf)](),_0x588eac=await createTDXInstance(_0x36dcde),_0x5af751=await _0x3db6dd['run']({'options':{..._0x36dcde,..._0x1ebb32},'args':_0x4bcd25?[_0x4bcd25]:[],'tdx':_0x588eac});gracefulExit(_0x5af751);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3ff))['description']('Run\x20tests\x20for\x20an\x20LLM\x20agent')['option'](a2_0xeb8183(0x456),a2_0xeb8183(0x333))[a2_0xeb8183(0x229)]('--tags\x20<tags>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')['option'](a2_0xeb8183(0x271),'Parse\x20and\x20validate\x20without\x20executing')[a2_0xeb8183(0x229)]('--no-eval',a2_0xeb8183(0x3d7))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1f1),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0xeb8183(0x1f5)](async(_0x156dc3,_0x277ebf)=>{const _0x46c2ff=a2_0xeb8183,_0x45e21e=new AgentTestCommand(),_0x391590=program['opts'](),_0x880ef4=await createTDXInstance(_0x391590),_0x283d93=await _0x45e21e[_0x46c2ff(0x1f4)]({'options':{..._0x391590,..._0x277ebf},'args':_0x156dc3?[_0x156dc3]:[],'tdx':_0x880ef4});gracefulExit(_0x283d93);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x388))[a2_0xeb8183(0x33a)]('List\x20agents\x20in\x20current\x20project')[a2_0xeb8183(0x1f5)](llmAgentListAction),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x289))['description'](a2_0xeb8183(0x1d7))[a2_0xeb8183(0x1f5)](async(_0x266eb7,_0x2a339e)=>{const _0x54c6d4=a2_0xeb8183,_0x334e58=new LLMAgentShowCommand(),_0x5ebf60=program[_0x54c6d4(0x3cf)](),_0x9d11c3=await createTDXInstance(_0x5ebf60),_0x1202b5=await _0x334e58[_0x54c6d4(0x1f4)]({'options':{..._0x5ebf60,..._0x2a339e},'args':[_0x266eb7],'tdx':_0x9d11c3});gracefulExit(_0x1202b5);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x40b))[a2_0xeb8183(0x33a)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0xeb8183(0x229)](a2_0xeb8183(0x386),a2_0xeb8183(0x304))[a2_0xeb8183(0x229)](a2_0xeb8183(0x40d),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0xeb8183(0x312))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c0),a2_0xeb8183(0x3ca))[a2_0xeb8183(0x229)]('--max-tool-iterations\x20<n>',a2_0xeb8183(0x1c7),'4')[a2_0xeb8183(0x229)](a2_0xeb8183(0x282),a2_0xeb8183(0x1e6),'0.7')[a2_0xeb8183(0x1f5)](async(_0x441dec,_0x10d8f8)=>{const _0x528981=a2_0xeb8183,_0x35b626=new LLMAgentCreateCommand(),_0x1bca99=program[_0x528981(0x3cf)](),_0x38b05c=await createTDXInstance(_0x1bca99),_0x585bf3=await _0x35b626[_0x528981(0x1f4)]({'options':{..._0x1bca99,..._0x10d8f8},'args':[_0x441dec],'tdx':_0x38b05c});gracefulExit(_0x585bf3);}),agentSyncCmd[a2_0xeb8183(0x274)](a2_0xeb8183(0x3cd))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x1d0))['option'](a2_0xeb8183(0x392),'Agent\x20name')[a2_0xeb8183(0x229)](a2_0xeb8183(0x287),a2_0xeb8183(0x3bc))[a2_0xeb8183(0x229)](a2_0xeb8183(0x455),a2_0xeb8183(0x28a))[a2_0xeb8183(0x229)](a2_0xeb8183(0x1c0),a2_0xeb8183(0x3ca))[a2_0xeb8183(0x1f5)](async(_0x104324,_0x164f54)=>{const _0x2e48d0=a2_0xeb8183,_0x1f87f1=new LLMAgentUpdateCommand(),_0x31e827=program['opts'](),_0x526385=await createTDXInstance(_0x31e827),_0x298fa9=await _0x1f87f1[_0x2e48d0(0x1f4)]({'options':{..._0x31e827,..._0x164f54},'args':[_0x104324],'tdx':_0x526385});gracefulExit(_0x298fa9);}),agentSyncCmd['command'](a2_0xeb8183(0x421))[a2_0xeb8183(0x33a)](a2_0xeb8183(0x34c))[a2_0xeb8183(0x1f5)](async(_0x557622,_0x306b36)=>{const _0x25f939=a2_0xeb8183,_0x3f9c3e=new LLMAgentDeleteCommand(),_0x5ed334=program[_0x25f939(0x3cf)](),_0x5800e8=await createTDXInstance(_0x5ed334),_0x1717f1=await _0x3f9c3e['run']({'options':{..._0x5ed334,..._0x306b36},'args':[_0x557622],'tdx':_0x5800e8});gracefulExit(_0x1717f1);}),program[a2_0xeb8183(0x274)](a2_0xeb8183(0x44a),{'hidden':!![]})['action'](()=>{const _0x3c4042=a2_0xeb8183;function _0x7a233b(_0x482ead,_0x48d8b3){const _0x3d6d3f=a2_0x44dc,_0x27c9cc=[];for(const _0xd5b092 of _0x482ead[_0x3d6d3f(0x3b4)]){if(_0xd5b092[_0x3d6d3f(0x408)])continue;const _0x633198=_0x48d8b3?_0x48d8b3+'\x20'+_0xd5b092[_0x3d6d3f(0x335)]():_0xd5b092[_0x3d6d3f(0x335)](),_0x18d25f=_0x633198['split']('\x20')[0x0],_0x2d831a=COMMAND_CATEGORIES[_0x3d6d3f(0x34f)](_0x40444f=>_0x40444f['commands']['includes'](_0x18d25f)),_0x5bdeee=_0x2d831a?.['name']??'';if(_0xd5b092['commands']['length']>0x0)_0x27c9cc[_0x3d6d3f(0x395)](..._0x7a233b(_0xd5b092,_0x633198));else{const _0x58eadb=(_0xd5b092['registeredArguments']||[])[_0x3d6d3f(0x260)](_0x4e5d20=>{const _0x4c781b=_0x3d6d3f,_0x3c330=_0x4e5d20[_0x4c781b(0x33f)]?_0x4e5d20[_0x4c781b(0x335)]()+_0x4c781b(0x2bc):_0x4e5d20['name']();return _0x4e5d20[_0x4c781b(0x2b6)]?'<'+_0x3c330+'>':'['+_0x3c330+']';})[_0x3d6d3f(0x429)]('\x20'),_0x197d9e=_0xd5b092[_0x3d6d3f(0x452)][_0x3d6d3f(0x30a)](_0x9dc421=>!_0x9dc421['hidden']&&_0x9dc421[_0x3d6d3f(0x232)]!==_0x3d6d3f(0x2f0))[_0x3d6d3f(0x260)](_0x3da706=>({'flags':_0x3da706[_0x3d6d3f(0x1d9)],'description':_0x3da706[_0x3d6d3f(0x33a)]}));_0x27c9cc[_0x3d6d3f(0x395)]({'name':_0x633198,'description':_0xd5b092[_0x3d6d3f(0x33a)](),'group':_0x5bdeee,'usage':_0x58eadb,'options':_0x197d9e});}}return _0x27c9cc;}console[_0x3c4042(0x28e)](JSON[_0x3c4042(0x27d)](_0x7a233b(program,''))),process[_0x3c4042(0x359)](0x0);});export{program};export function runCLI(){const _0x414b9c=a2_0xeb8183,_0x2c817c=!process[_0x414b9c(0x2fc)]['slice'](0x2)[_0x414b9c(0x262)];showBriefHelp=_0x2c817c,program[_0x414b9c(0x307)](process['argv']);_0x2c817c&&program[_0x414b9c(0x1cb)]();if(process['stderr'][_0x414b9c(0x276)]&&process[_0x414b9c(0x2fc)]['length']>0x2&&!isDevVersion()){const _0x4ce263=loadReleaseChannel();checkForUpdate(currentVersion,_0x4ce263)[_0x414b9c(0x35a)](_0x5ccedb=>{_0x5ccedb&&displayUpdateNotification(_0x5ccedb);})['catch'](()=>{});}}