@treasuredata/tdx 0.26.1 → 0.26.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) 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/describe.js +1 -1
  18. package/dist/commands/engage-command.js +1 -1
  19. package/dist/commands/job-command.js +1 -1
  20. package/dist/commands/journey-command.js +1 -1
  21. package/dist/commands/journey-validate-command.js +1 -1
  22. package/dist/commands/llm-command.js +1 -1
  23. package/dist/commands/mcp-command.js +1 -1
  24. package/dist/commands/parent-segment-command.js +1 -1
  25. package/dist/commands/profile-command.js +1 -1
  26. package/dist/commands/profiles-command.js +1 -1
  27. package/dist/commands/query-command.js +1 -1
  28. package/dist/commands/schedule-command.js +1 -1
  29. package/dist/commands/segment-command.js +1 -1
  30. package/dist/commands/segment-create-command.js +1 -1
  31. package/dist/commands/segment-fields-command.js +1 -1
  32. package/dist/commands/segment-pull-command.js +1 -1
  33. package/dist/commands/segment-push-command.js +1 -1
  34. package/dist/commands/segment-update-command.js +1 -1
  35. package/dist/commands/segment-use-command.js +1 -1
  36. package/dist/commands/segment-validate-command.js +1 -1
  37. package/dist/commands/segments.js +1 -1
  38. package/dist/commands/show.js +1 -1
  39. package/dist/commands/status-command.js +1 -1
  40. package/dist/commands/tables.js +1 -1
  41. package/dist/commands/unset-command.js +1 -1
  42. package/dist/commands/use-command.js +1 -1
  43. package/dist/commands/user-command.js +1 -1
  44. package/dist/commands/workflow-command.js +1 -1
  45. package/dist/core/auth.js +1 -1
  46. package/dist/core/command-output.js +1 -1
  47. package/dist/core/config.js +1 -1
  48. package/dist/core/connection-cache.js +1 -1
  49. package/dist/core/constants.js +1 -1
  50. package/dist/core/credential-cache.js +1 -1
  51. package/dist/core/global-context.js +1 -1
  52. package/dist/core/keychain.js +1 -1
  53. package/dist/core/profile.js +1 -1
  54. package/dist/core/project-config.js +1 -1
  55. package/dist/core/session.js +1 -1
  56. package/dist/core/user-cache.js +1 -1
  57. package/dist/core/version.js +1 -1
  58. package/dist/index.js +1 -1
  59. package/dist/mcp/server.js +1 -1
  60. package/dist/mcp/tools/index.js +1 -1
  61. package/dist/mcp/tools/tdx-run.js +1 -1
  62. package/dist/mcp/tools/tdx-search.js +1 -1
  63. package/dist/mcp/utils.js +1 -1
  64. package/dist/proxy/claude-usage-tracker.js +1 -1
  65. package/dist/proxy/passthrough-server.js +1 -1
  66. package/dist/proxy/sse-usage-parser.js +1 -1
  67. package/dist/sdk/agent/agent-config.js +1 -1
  68. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  69. package/dist/sdk/agent/agent-yaml.js +1 -1
  70. package/dist/sdk/agent/test/evaluator.js +1 -1
  71. package/dist/sdk/agent/test/executor.js +1 -1
  72. package/dist/sdk/agent/test/index.js +1 -1
  73. package/dist/sdk/agent/test/output.js +1 -1
  74. package/dist/sdk/agent/test/parser.js +1 -1
  75. package/dist/sdk/api.js +1 -1
  76. package/dist/sdk/client/cdp-api-client.js +1 -1
  77. package/dist/sdk/client/endpoints.js +1 -1
  78. package/dist/sdk/client/engage-api-client.js +1 -1
  79. package/dist/sdk/client/http-client.js +1 -1
  80. package/dist/sdk/client/llm-api-client.js +1 -1
  81. package/dist/sdk/client/rate-limiter.js +1 -1
  82. package/dist/sdk/client/td-api-client.js +1 -1
  83. package/dist/sdk/client/trino-api-client.js +1 -1
  84. package/dist/sdk/client/workflow-client.js +1 -1
  85. package/dist/sdk/connection-validator.js +1 -1
  86. package/dist/sdk/connection.js +1 -1
  87. package/dist/sdk/engage.js +1 -1
  88. package/dist/sdk/errors.js +1 -1
  89. package/dist/sdk/index.js +1 -1
  90. package/dist/sdk/io/index.js +1 -1
  91. package/dist/sdk/io/node-filesystem.js +1 -1
  92. package/dist/sdk/job.js +1 -1
  93. package/dist/sdk/journey.js +1 -1
  94. package/dist/sdk/llm/chat-cache.js +1 -1
  95. package/dist/sdk/llm/index.js +1 -1
  96. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  97. package/dist/sdk/llm/model-factors.js +1 -1
  98. package/dist/sdk/personalization.js +1 -1
  99. package/dist/sdk/query/index.js +1 -1
  100. package/dist/sdk/query/sql-parser.js +1 -1
  101. package/dist/sdk/realtime.js +1 -1
  102. package/dist/sdk/schedule.js +1 -1
  103. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  104. package/dist/sdk/segment/fields-display.js +1 -1
  105. package/dist/sdk/segment/file-discovery.js +1 -1
  106. package/dist/sdk/segment/journey-utils.js +1 -1
  107. package/dist/sdk/segment/journey-validator.js +1 -1
  108. package/dist/sdk/segment/journey-yaml.js +1 -1
  109. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  110. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  111. package/dist/sdk/segment/pull-workflow.js +1 -1
  112. package/dist/sdk/segment/push-recovery.js +1 -1
  113. package/dist/sdk/segment/push-workflow.js +1 -1
  114. package/dist/sdk/segment/resolution-context.js +1 -1
  115. package/dist/sdk/segment/segment-path-parser.js +1 -1
  116. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  117. package/dist/sdk/segment/target-resolution.js +1 -1
  118. package/dist/sdk/segment/tdx-config.js +1 -1
  119. package/dist/sdk/segment/validate-files.js +1 -1
  120. package/dist/sdk/segment/yaml-validator.js +1 -1
  121. package/dist/sdk/segment.js +1 -1
  122. package/dist/sdk/types/index.js +1 -1
  123. package/dist/sdk/types/progress.js +1 -1
  124. package/dist/sdk/user.js +1 -1
  125. package/dist/sdk/util/format-detector.js +1 -1
  126. package/dist/sdk/util/formatters.js +1 -1
  127. package/dist/sdk/util/index.js +1 -1
  128. package/dist/sdk/util/tree-formatter.js +1 -1
  129. package/dist/sdk/workflow/archive-validation.js +1 -1
  130. package/dist/sdk/workflow/clone-workflow.js +1 -1
  131. package/dist/sdk/workflow/index.js +1 -1
  132. package/dist/sdk/workflow/pull-workflow.js +1 -1
  133. package/dist/sdk/workflow/push-workflow.js +1 -1
  134. package/dist/sdk/workflow/tdx-config.js +1 -1
  135. package/dist/sdk/workflow/workflow-utils.js +1 -1
  136. package/dist/test-utils/command-runner.js +1 -1
  137. package/dist/test-utils/factories.js +1 -1
  138. package/dist/test-utils/fixtures.js +1 -1
  139. package/dist/test-utils/http-mock.js +1 -1
  140. package/dist/test-utils/index.js +1 -1
  141. package/dist/utils/async.js +1 -1
  142. package/dist/utils/colors.js +1 -1
  143. package/dist/utils/diff.js +1 -1
  144. package/dist/utils/file-permissions.js +1 -1
  145. package/dist/utils/global-cache.js +1 -1
  146. package/dist/utils/json-loader.js +1 -1
  147. package/dist/utils/local-cache.js +1 -1
  148. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  149. package/dist/utils/logger/formatters/index.js +1 -1
  150. package/dist/utils/logger/handlers/console-handler.js +1 -1
  151. package/dist/utils/logger/handlers/file-handler.js +1 -1
  152. package/dist/utils/logger/handlers/index.js +1 -1
  153. package/dist/utils/logger/handlers/null-handler.js +1 -1
  154. package/dist/utils/logger/index.js +1 -1
  155. package/dist/utils/logger/logger.js +1 -1
  156. package/dist/utils/logger/types.js +1 -1
  157. package/dist/utils/option-validation.js +1 -1
  158. package/dist/utils/port.js +1 -1
  159. package/dist/utils/process.js +1 -1
  160. package/dist/utils/prompt.js +1 -1
  161. package/dist/utils/spinner.js +1 -1
  162. package/dist/utils/sse-parser.js +1 -1
  163. package/dist/utils/string-utils.js +1 -1
  164. package/dist/utils/table-ref-parser.js +1 -1
  165. package/dist/utils/tdx-logger.js +1 -1
  166. package/dist/utils/version-check.js +1 -1
  167. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x455ebf=a2_0x51ac;(function(_0x3835f4,_0x195d0a){const _0x2c133a=a2_0x51ac,_0x40b0de=_0x3835f4();while(!![]){try{const _0x2cdc07=parseInt(_0x2c133a(0x213))/0x1*(parseInt(_0x2c133a(0x22b))/0x2)+-parseInt(_0x2c133a(0x9b))/0x3+-parseInt(_0x2c133a(0x169))/0x4*(parseInt(_0x2c133a(0x2ba))/0x5)+-parseInt(_0x2c133a(0xfd))/0x6+-parseInt(_0x2c133a(0x2d1))/0x7*(-parseInt(_0x2c133a(0x109))/0x8)+parseInt(_0x2c133a(0x1a7))/0x9*(-parseInt(_0x2c133a(0xa4))/0xa)+-parseInt(_0x2c133a(0x161))/0xb*(-parseInt(_0x2c133a(0xca))/0xc);if(_0x2cdc07===_0x195d0a)break;else _0x40b0de['push'](_0x40b0de['shift']());}catch(_0x559cb2){_0x40b0de['push'](_0x40b0de['shift']());}}}(a2_0x1bc9,0xbb5b2));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,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}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{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';function a2_0x51ac(_0x705ff8,_0x341c1a){_0x705ff8=_0x705ff8-0x92;const _0x1bc956=a2_0x1bc9();let _0x51ace6=_0x1bc956[_0x705ff8];return _0x51ace6;}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_0x455ebf(0x23c)]('--version')){let versionOutput='tdx\x20'+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x455ebf(0x23c)](buildInfo[a2_0x455ebf(0x1b3)])&&(versionOutput+='\x20('+buildInfo[a2_0x455ebf(0x1b3)]+')'),buildInfo[a2_0x455ebf(0xf9)]&&(versionOutput+=a2_0x455ebf(0x2ff)+buildInfo[a2_0x455ebf(0xf9)]),console[a2_0x455ebf(0x2ec)](versionOutput),process[a2_0x455ebf(0x2a7)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x455ebf(0x10f);buildInfo[a2_0x455ebf(0x1b3)]&&!currentVersion[a2_0x455ebf(0x23c)](buildInfo[a2_0x455ebf(0x1b3)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0x455ebf(0x1b3)]+')':description+=a2_0x455ebf(0x1d4)+currentVersion;program[a2_0x455ebf(0x1b5)]('tdx')[a2_0x455ebf(0x28a)](description),program['option'](a2_0x455ebf(0x16f),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1d1),a2_0x455ebf(0x132))['option'](a2_0x455ebf(0x142),'TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x455ebf(0x232))[a2_0x455ebf(0xaa)]('--format\x20<format>',a2_0x455ebf(0x1e1))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x277),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x12a),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x207),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x173),a2_0x455ebf(0x203))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x300),a2_0x455ebf(0x255))['option']('--limit\x20<number>',a2_0x455ebf(0x259))[a2_0x455ebf(0xaa)]('--color','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a3),a2_0x455ebf(0xfa),![])['option'](a2_0x455ebf(0x16a),a2_0x455ebf(0x133),![])[a2_0x455ebf(0xaa)](a2_0x455ebf(0x274),a2_0x455ebf(0x148))['option'](a2_0x455ebf(0x164),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x455ebf(0xaa)]('--timeout\x20<seconds>',a2_0x455ebf(0x183),'30')[a2_0x455ebf(0xaa)]('--dry-run',a2_0x455ebf(0x309),![])[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),'Skip\x20confirmation\x20prompts',![])[a2_0x455ebf(0xaa)](a2_0x455ebf(0x256),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x455ebf(0xaa)]('-d,\x20--database\x20<name>',a2_0x455ebf(0x20c))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x171),a2_0x455ebf(0x134))['option']('--parent-segment\x20<name>',a2_0x455ebf(0x93))['option'](a2_0x455ebf(0x1a9),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x455ebf(0x166)]({'formatHelp':(_0x85ff30,_0x43b864)=>{const _0x48311d=a2_0x455ebf,_0x4a33da=_0x43b864[_0x48311d(0xf5)](_0x85ff30,_0x43b864),_0x292fb6=0x2,_0xbdde3d=0x2;function _0x20da43(_0x36b502){const _0x56f204=_0x36b502;return!!(_0x56f204['_hidden']||_0x56f204['hidden']);}function _0x41332d(_0x673548,_0x4ee734){const _0x5ad8b9=_0x48311d;if(_0x4ee734){const _0x6eba54=''+_0x673548[_0x5ad8b9(0x1ee)](_0x4a33da+_0xbdde3d)+_0x4ee734;return _0x6eba54;}return _0x673548;}function _0x3c3c2d(_0x26f449){const _0x4aecd8=_0x48311d;return _0x26f449[_0x4aecd8(0xf8)]('\x0a')[_0x4aecd8(0x139)](/^/gm,'\x20'['repeat'](_0x292fb6));}const _0x58e5fb=[];_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0x2e4)+_0x43b864[_0x48311d(0xa0)](_0x85ff30));const _0x1739c2=_0x43b864['commandDescription'](_0x85ff30);_0x1739c2&&(_0x58e5fb[_0x48311d(0x1ec)](''),_0x58e5fb[_0x48311d(0x1ec)](_0x1739c2));const _0x31ef91=_0x85ff30[_0x48311d(0x157)][_0x48311d(0x12b)](_0x2df04e=>!_0x20da43(_0x2df04e));if(_0x31ef91[_0x48311d(0x124)]>0x0){if(_0x85ff30[_0x48311d(0x1b5)]()===_0x48311d(0x264)){const _0x46c499=_0x85ff30[_0x48311d(0x19c)](),_0x2ec0b9=!_0x46c499[_0x48311d(0x146)]&&process[_0x48311d(0x1c2)][_0x48311d(0x181)],_0x99d4a4=COMMAND_CATEGORIES,_0x20be0a=(_0x17750f,_0x1c19ef)=>_0x2ec0b9?_0x1c19ef(_0x17750f):_0x17750f,_0x1ee5f4=new Map();_0x31ef91[_0x48311d(0x180)](_0x3bc884=>{const _0x2a5511=_0x48311d;_0x1ee5f4[_0x2a5511(0x97)](_0x3bc884['name'](),_0x3bc884);}),_0x99d4a4[_0x48311d(0x180)](_0x112358=>{const _0x1ed909=_0x48311d,_0x11301b=_0x112358[_0x1ed909(0x157)][_0x1ed909(0x312)](_0x225053=>_0x1ee5f4[_0x1ed909(0x21a)](_0x225053)??[]);if(_0x11301b[_0x1ed909(0x124)]>0x0){_0x58e5fb[_0x1ed909(0x1ec)](''),_0x58e5fb[_0x1ed909(0x1ec)](_0x20be0a(_0x112358[_0x1ed909(0x1b5)]+':',_0x112358[_0x1ed909(0x193)]));const _0x379048=_0x11301b[_0x1ed909(0x273)](_0x152679=>{const _0x3f2cd5=_0x1ed909,_0x3e256e=_0x43b864[_0x3f2cd5(0x1d9)](_0x152679),_0xf25c82=_0x43b864[_0x3f2cd5(0x29f)](_0x152679);return _0x41332d(_0x3e256e,_0xf25c82);});_0x58e5fb['push'](_0x3c3c2d(_0x379048));}}),_0x58e5fb['push'](''),_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0xd5));}else{const _0xbd5758=_0x31ef91[_0x48311d(0x273)](_0x5ad442=>{const _0x6be59f=_0x48311d,_0x4d8bc6=_0x43b864[_0x6be59f(0x1d9)](_0x5ad442),_0xf80200=_0x43b864[_0x6be59f(0x29f)](_0x5ad442);return _0x41332d(_0x4d8bc6,_0xf80200);});_0x58e5fb[_0x48311d(0x1ec)](''),_0x58e5fb['push'](_0x48311d(0x1a1)),_0x58e5fb['push'](_0x3c3c2d(_0xbd5758));}}if(showBriefHelp&&_0x85ff30[_0x48311d(0x1b5)]()===_0x48311d(0x264))_0x58e5fb[_0x48311d(0x1ec)](''),_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0x185));else{const _0x5a5306=_0x85ff30[_0x48311d(0x209)]['filter'](_0xf65ea4=>!_0x20da43(_0xf65ea4));if(_0x5a5306[_0x48311d(0x124)]>0x0){const _0x3eaecd=_0x5a5306['map'](_0x3994a7=>{const _0x3570e1=_0x48311d,_0x59cfba=_0x43b864['optionTerm'](_0x3994a7),_0x3a96d0=_0x43b864[_0x3570e1(0x283)](_0x3994a7);return _0x41332d(_0x59cfba,_0x3a96d0);});_0x58e5fb['push'](''),_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0x1b2)),_0x58e5fb[_0x48311d(0x1ec)](_0x3c3c2d(_0x3eaecd));}}const _0x2961d6=(_0x85ff30['registeredArguments']||[])[_0x48311d(0x12b)](_0x549d8e=>!_0x20da43(_0x549d8e));if(_0x2961d6[_0x48311d(0x124)]>0x0){const _0x514868=_0x2961d6[_0x48311d(0x273)](_0x7adb65=>{const _0x5d74cb=_0x48311d,_0x1c0619=_0x43b864[_0x5d74cb(0x2f8)](_0x7adb65),_0x3655c0=_0x43b864[_0x5d74cb(0x2c4)](_0x7adb65);return _0x41332d(_0x1c0619,_0x3655c0);});_0x58e5fb[_0x48311d(0x1ec)](''),_0x58e5fb[_0x48311d(0x1ec)](_0x48311d(0x15b)),_0x58e5fb[_0x48311d(0x1ec)](_0x3c3c2d(_0x514868));}return _0x58e5fb[_0x48311d(0xf8)]('\x0a')+'\x0a';},'subcommandTerm':_0x57d460=>{const _0xd429df=a2_0x455ebf,_0x47d867=(_0x57d460[_0xd429df(0x11b)]||[])[_0xd429df(0x273)](_0x3bbc71=>_0x3bbc71[_0xd429df(0x291)]?'<'+_0x3bbc71[_0xd429df(0x1b5)]()+'>':'['+_0x3bbc71['name']()+']')[_0xd429df(0xf8)]('\x20'),_0x57f176=_0x57d460['aliases'](),_0x217a67=_0x57f176['length']>0x0?_0x57d460[_0xd429df(0x1b5)]()+',\x20'+_0x57f176['join'](',\x20'):_0x57d460[_0xd429df(0x1b5)]();return _0x47d867?_0x217a67+'\x20'+_0x47d867:_0x217a67;}}),program[a2_0x455ebf(0x2b3)](a2_0x455ebf(0x1bd),_0x1df442=>{const _0x31bdf9=a2_0x455ebf,_0x44285b=_0x1df442[_0x31bdf9(0x19c)]();if(_0x44285b[_0x31bdf9(0x2fa)]){const _0x5ed419=resolve(_0x44285b['directory']),_0x196fdb=_0x5ed419!==_0x44285b[_0x31bdf9(0x2fa)]?_0x31bdf9(0x299)+_0x5ed419+')':'';if(!existsSync(_0x5ed419))throw new SDKError(ErrorCode[_0x31bdf9(0x2de)],_0x31bdf9(0x2c3)+_0x44285b[_0x31bdf9(0x2fa)]+_0x196fdb,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x6ca23d=statSync(_0x5ed419);if(!_0x6ca23d[_0x31bdf9(0x303)]())throw new SDKError(ErrorCode[_0x31bdf9(0x2de)],_0x31bdf9(0x14a)+_0x44285b['directory']+_0x196fdb,undefined,{'helpText':_0x31bdf9(0x2c1)});process[_0x31bdf9(0x235)](_0x5ed419);}if(!_0x44285b[_0x31bdf9(0x210)]){if(_0x44285b[_0x31bdf9(0x1de)])_0x44285b['format']=_0x31bdf9(0x1de);else{if(_0x44285b[_0x31bdf9(0x2e5)])_0x44285b[_0x31bdf9(0x210)]=_0x31bdf9(0x2e5);else{if(_0x44285b[_0x31bdf9(0x2bf)])_0x44285b['format']='jsonl';else _0x44285b[_0x31bdf9(0x113)]&&(_0x44285b[_0x31bdf9(0x210)]='tsv');}}}_0x44285b['in']&&!_0x44285b[_0x31bdf9(0x278)]&&(_0x44285b[_0x31bdf9(0x278)]=_0x44285b['in']);if(_0x44285b[_0x31bdf9(0x163)])_0x44285b[_0x31bdf9(0x154)]=LogLevel[_0x31bdf9(0x311)];else{if(_0x44285b[_0x31bdf9(0x14d)])_0x44285b[_0x31bdf9(0x154)]=LogLevel['DEBUG'];else _0x44285b['logLevel']===undefined&&(_0x44285b['logLevel']=LogLevel[_0x31bdf9(0x225)]);}});async function createTDXInstance(_0x5f5d6c){const _0x138a45=a2_0x455ebf,_0x13a565=await GlobalContext[_0x138a45(0xd2)](_0x5f5d6c);return _0x13a565[_0x138a45(0x313)](_0x5f5d6c),TDX[_0x138a45(0x268)]({'site':_0x13a565[_0x138a45(0x1e2)],'apiKey':_0x13a565['apiKey'],'logLevel':_0x13a565[_0x138a45(0x154)],'profile':_0x13a565['profile']});}const databaseCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x278))['alias']('db')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2c8)),databaseListAction=async(_0x38b128,_0x559db1)=>{const _0x49f85f=a2_0x455ebf,_0x46ad74=new DatabasesCommand(),_0x2251b9=program[_0x49f85f(0x19c)](),_0x7cc7fd=await createTDXInstance(_0x2251b9),_0x237608=await _0x46ad74[_0x49f85f(0x158)]({'options':{..._0x2251b9,..._0x559db1},'args':_0x38b128?[_0x38b128]:[],'tdx':_0x7cc7fd});gracefulExit(_0x237608);};databaseCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x455ebf(0x202)](databaseListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17c),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0xd9))[a2_0x455ebf(0x202)](databaseListAction),program['command'](a2_0x455ebf(0x258))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1fb))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2d3),a2_0x455ebf(0x167))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xc4),'Start\x20a\x20new\x20chat\x20session')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1cd),a2_0x455ebf(0x2cf))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x10b),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x455ebf(0x202)](async(_0x58b927,_0x116c3f)=>{const _0x3c6eb8=a2_0x455ebf,_0x3b4e87=program[_0x3c6eb8(0x19c)](),_0x52f919=await createTDXInstance(_0x3b4e87);if(_0x58b927[0x0]===_0x3c6eb8(0x268)){const _0x4791c0=new ChatCreateCommand();gracefulExit(await _0x4791c0[_0x3c6eb8(0x158)]({'options':{..._0x3b4e87,..._0x116c3f},'args':_0x58b927[_0x3c6eb8(0x22e)](0x1),'tdx':_0x52f919}));return;}const _0x3a30ef=new ChatCommand(),_0x274b8e=await _0x3a30ef[_0x3c6eb8(0x158)]({'options':{..._0x3b4e87,..._0x116c3f},'args':_0x58b927,'tdx':_0x52f919});gracefulExit(_0x274b8e);});const apiCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a0))[a2_0x455ebf(0x295)](a2_0x455ebf(0x1ba))[a2_0x455ebf(0x105)]('after',a2_0x455ebf(0x2bd))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x249),a2_0x455ebf(0x2eb),a2_0x455ebf(0x252))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x197),'Request\x20body\x20as\x20JSON\x20string')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd7),a2_0x455ebf(0x224))['option'](a2_0x455ebf(0x9c),a2_0x455ebf(0x307),(_0x31234d,_0x3e7222)=>{return _0x3e7222?[..._0x3e7222,_0x31234d]:[_0x31234d];})[a2_0x455ebf(0xaa)]('--type\x20<api_type>',a2_0x455ebf(0x29a),'td')['action'](async(_0x54376f,_0x4b6fe0)=>{const _0x3292d3=a2_0x455ebf;if(!_0x54376f){apiCmd[_0x3292d3(0x270)]();return;}const _0x530eb9=new ApiCommand(),_0x207b4c=program['opts'](),_0x45cf59=await createTDXInstance(_0x207b4c),_0x496b7e=await _0x530eb9[_0x3292d3(0x158)]({'options':{..._0x207b4c,..._0x4b6fe0},'args':[_0x54376f],'tdx':_0x45cf59});gracefulExit(_0x496b7e);});program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x267))[a2_0x455ebf(0x28a)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')['addHelpText'](a2_0x455ebf(0x92),a2_0x455ebf(0x178))[a2_0x455ebf(0x202)](async _0x51f1a6=>{const _0x4f8c3b=a2_0x455ebf,_0x116eba=new MCPCommand(),_0x264092=program[_0x4f8c3b(0x19c)](),_0x4846e9=await createTDXInstance(_0x264092),_0x1e51e2=await _0x116eba[_0x4f8c3b(0x158)]({'options':{..._0x264092,..._0x51f1a6},'args':[],'tdx':_0x4846e9});gracefulExit(_0x1e51e2);});const tableCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1de))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1f0)),tableListAction=async(_0x2d10d5,_0x3549f5)=>{const _0x463433=a2_0x455ebf,_0x1c6715=new TablesCommand(),_0xb6a4d3=program['opts'](),_0x54b45f=await createTDXInstance(_0xb6a4d3);_0x3549f5['in']&&(_0x3549f5[_0x463433(0x278)]=_0x3549f5['in']);const _0x4c7d2a=await _0x1c6715[_0x463433(0x158)]({'options':{..._0xb6a4d3,..._0x3549f5},'args':_0x2d10d5?[_0x2d10d5]:[],'tdx':_0x54b45f});gracefulExit(_0x4c7d2a);};tableCmd['command'](a2_0x455ebf(0x17d))['description']('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9a),a2_0x455ebf(0x2cc))['option'](a2_0x455ebf(0x27d),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x455ebf(0x202)](tableListAction),program[a2_0x455ebf(0xc9)]('tables\x20[pattern]',{'hidden':!![]})['description']('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')['option'](a2_0x455ebf(0x9a),a2_0x455ebf(0x2cc))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x27d),a2_0x455ebf(0x134))[a2_0x455ebf(0x202)](tableListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2da))['description'](a2_0x455ebf(0x2d4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option'](a2_0x455ebf(0x27d),a2_0x455ebf(0x134))[a2_0x455ebf(0x202)](async(_0x3a3f7d,_0x4859c6)=>{const _0x3f2149=a2_0x455ebf,_0x2c7e16=new ShowCommand(),_0x5d36bb=program['opts'](),_0x1c8dc3=await createTDXInstance(_0x5d36bb);_0x4859c6['in']&&(_0x4859c6[_0x3f2149(0x278)]=_0x4859c6['in']);const _0x4e0bb1=await _0x2c7e16[_0x3f2149(0x158)]({'options':{..._0x5d36bb,..._0x4859c6},'args':_0x3a3f7d?[_0x3a3f7d]:[],'tdx':_0x1c8dc3});gracefulExit(_0x4e0bb1);}),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x14e))['alias'](a2_0x455ebf(0x99))[a2_0x455ebf(0x28a)]('Describe\x20table\x20schema')[a2_0x455ebf(0xaa)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x27d),a2_0x455ebf(0x134))['action'](async(_0x3edd77,_0x26f8a0)=>{const _0x3eaf77=a2_0x455ebf,_0x3126a2=new DescribeCommand(),_0x66490=program[_0x3eaf77(0x19c)](),_0x2a1833=await createTDXInstance(_0x66490);_0x26f8a0['in']&&(_0x26f8a0[_0x3eaf77(0x278)]=_0x26f8a0['in']);const _0x4497ed=await _0x3126a2[_0x3eaf77(0x158)]({'options':{..._0x66490,..._0x26f8a0},'args':_0x3edd77?[_0x3edd77]:[],'tdx':_0x2a1833});gracefulExit(_0x4497ed);}),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2dd))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9a),a2_0x455ebf(0x297))['option']('--in\x20<database>',a2_0x455ebf(0x134))['option']('--catalog\x20<catalog>','Trino\x20catalog\x20(default:\x20td)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd7),a2_0x455ebf(0xe6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2d5),'Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')[a2_0x455ebf(0x202)](async(_0x330a47,_0x49ea42)=>{const _0x204faa=a2_0x455ebf,_0x318f1b=new QueryCommand(),_0x1cab8f=program[_0x204faa(0x19c)](),_0x2a5856=await createTDXInstance(_0x1cab8f);_0x49ea42['in']&&(_0x49ea42[_0x204faa(0x278)]=_0x49ea42['in']);const _0x7e09c7=await _0x318f1b[_0x204faa(0x158)]({'options':{..._0x1cab8f,..._0x49ea42},'args':_0x330a47?[_0x330a47]:[],'tdx':_0x2a5856});gracefulExit(_0x7e09c7);});const segmentCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x221))[a2_0x455ebf(0xff)]('sg')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xe0)),segmentListAction=async(_0x13dd56,_0x34cc31)=>{const _0x28cb65=a2_0x455ebf,_0x4b3d24=new SegmentsCommand(),_0x2dc7b0=program[_0x28cb65(0x19c)](),_0x4d5743=await createTDXInstance(_0x2dc7b0),_0x7dbba5=await _0x4b3d24['run']({'options':{..._0x2dc7b0,..._0x34cc31},'args':_0x13dd56?[_0x13dd56]:[],'tdx':_0x4d5743});gracefulExit(_0x7dbba5);};segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2fb))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1bb))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1f8),a2_0x455ebf(0x2f6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x308),a2_0x455ebf(0x1d2),'10')[a2_0x455ebf(0x202)](segmentListAction),program['command'](a2_0x455ebf(0x1f3),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x14f))['option'](a2_0x455ebf(0x1f8),a2_0x455ebf(0x2f6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x308),a2_0x455ebf(0x1d2),'10')[a2_0x455ebf(0x202)](segmentListAction),segmentCmd[a2_0x455ebf(0xc9)]('use\x20<path>',{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1b1))[a2_0x455ebf(0x202)](async(_0x231ace,_0x19fbe8)=>{const _0x40d101=new SegmentUseCommand(),_0x5ec95b=program['opts'](),_0x1c49ff=await createTDXInstance(_0x5ec95b),_0x5584ad=await _0x40d101['run']({'options':{..._0x5ec95b,..._0x19fbe8},'args':[_0x231ace],'tdx':_0x1c49ff});gracefulExit(_0x5584ad);});const segmentViewAction=async(_0x3f2079,_0x34eb5f)=>{const _0x414e67=a2_0x455ebf,_0x2d4e83=new SegmentViewCommand(),_0x573d87=program[_0x414e67(0x19c)](),_0x4e6ed0=await createTDXInstance(_0x573d87),_0x2708ec=await _0x2d4e83['run']({'options':{..._0x573d87,..._0x34eb5f},'args':_0x3f2079?[_0x3f2079]:[],'tdx':_0x4e6ed0});gracefulExit(_0x2708ec);};segmentCmd['command']('view\x20[segment_name]')[a2_0x455ebf(0x28a)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')['option']('-w,\x20--web',a2_0x455ebf(0x15c))[a2_0x455ebf(0x202)](segmentViewAction),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2b9),{'hidden':!![]})[a2_0x455ebf(0xff)](a2_0x455ebf(0x1ed))['option']('-w,\x20--web',a2_0x455ebf(0x15c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x188))[a2_0x455ebf(0x202)](segmentViewAction),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1dd))[a2_0x455ebf(0x28a)]('Show\x20segment\x20schema\x20(column\x20types)')[a2_0x455ebf(0x202)](async(_0x4c8463,_0x598b50)=>{const _0x5b461f=a2_0x455ebf,_0x5f3ef8=new SegmentDescCommand(),_0x33a148=program[_0x5b461f(0x19c)](),_0x5e74a1=await createTDXInstance(_0x33a148),_0x373e2e=await _0x5f3ef8['run']({'options':{..._0x33a148,..._0x598b50},'args':_0x4c8463?[_0x4c8463]:[],'tdx':_0x5e74a1});gracefulExit(_0x373e2e);}),segmentCmd[a2_0x455ebf(0xc9)]('show\x20[segment_name]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x31d))[a2_0x455ebf(0x202)](async(_0x10653d,_0x50b568)=>{const _0x3716ee=a2_0x455ebf,_0x42aade=new SegmentShowCommand(),_0x5864f4=program['opts'](),_0x3fdcbc=await createTDXInstance(_0x5864f4),_0x19a898=await _0x42aade[_0x3716ee(0x158)]({'options':{..._0x5864f4,..._0x50b568},'args':_0x10653d?[_0x10653d]:[],'tdx':_0x3fdcbc});gracefulExit(_0x19a898);}),segmentCmd['command'](a2_0x455ebf(0xa6),{'hidden':!![]})[a2_0x455ebf(0x28a)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x455ebf(0x202)](async(_0x5e02c7,_0x436912)=>{const _0x21a80d=a2_0x455ebf,_0x251b0f=new SegmentFolderListCommand(),_0x823e8b=program[_0x21a80d(0x19c)](),_0x3dee9b=await createTDXInstance(_0x823e8b),_0x172e5d=await _0x251b0f[_0x21a80d(0x158)]({'options':{..._0x823e8b,..._0x436912},'args':[_0x5e02c7],'tdx':_0x3dee9b});gracefulExit(_0x172e5d);});const folderCmd=segmentCmd['command'](a2_0x455ebf(0x201),{'hidden':!![]})['description'](a2_0x455ebf(0x289));folderCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x31b))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x18b))[a2_0x455ebf(0x202)](async(_0x72a92,_0x3c008f)=>{const _0x5f2ffe=a2_0x455ebf,_0x410615=new SegmentFolderShowCommand(),_0x389ed8=program[_0x5f2ffe(0x19c)](),_0x24321d=await createTDXInstance(_0x389ed8),_0x85fb2d=await _0x410615[_0x5f2ffe(0x158)]({'options':{..._0x389ed8,..._0x3c008f},'args':[_0x72a92],'tdx':_0x24321d});gracefulExit(_0x85fb2d);}),segmentCmd['command'](a2_0x455ebf(0x108))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2b5))[a2_0x455ebf(0x202)](async(_0x2a8c9c,_0x4db805)=>{const _0x50c234=a2_0x455ebf,_0x22d00b=new SegmentSQLCommand(),_0x4324a3=program[_0x50c234(0x19c)](),_0x42a15b=await createTDXInstance(_0x4324a3),_0x4c19fa=await _0x22d00b[_0x50c234(0x158)]({'options':{..._0x4324a3,..._0x4db805},'args':_0x2a8c9c?[_0x2a8c9c]:[],'tdx':_0x42a15b});gracefulExit(_0x4c19fa);}),segmentCmd[a2_0x455ebf(0xc9)]('fields\x20[parent_name]')['description'](a2_0x455ebf(0x2b6))['action'](async(_0x34f420,_0x1daa2a)=>{const _0x347b85=a2_0x455ebf,_0x512ba1=new SegmentFieldsCommand(),_0x1d9184=program[_0x347b85(0x19c)](),_0x3a5017=await createTDXInstance(_0x1d9184),_0x26e4d7=await _0x512ba1[_0x347b85(0x158)]({'options':{..._0x1d9184,..._0x1daa2a},'args':_0x34f420?[_0x34f420]:[],'tdx':_0x3a5017});gracefulExit(_0x26e4d7);}),segmentCmd['command'](a2_0x455ebf(0xe5))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x31c))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2db))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x16b))[a2_0x455ebf(0x202)](async(_0x21e0b7,_0x1145d2)=>{const _0x2bac8e=a2_0x455ebf,_0x8bdc3b=new SegmentPullCommand(),_0x24aa76=program['opts'](),_0x1ef4bf=await createTDXInstance(_0x24aa76),_0x2040da=await _0x8bdc3b[_0x2bac8e(0x158)]({'options':{..._0x24aa76,..._0x1145d2},'args':_0x21e0b7?[_0x21e0b7]:[],'tdx':_0x1ef4bf});gracefulExit(_0x2040da);}),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1a6))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x151))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),'Skip\x20confirmation\x20prompts')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2d2),a2_0x455ebf(0x1bc))[a2_0x455ebf(0x202)](async(_0x44efb3,_0x2bb083)=>{const _0x3e1cd2=a2_0x455ebf,_0x1aacb4=new SegmentPushCommand(),_0x5e613f=program[_0x3e1cd2(0x19c)](),_0xed947b=await createTDXInstance(_0x5e613f),_0x101b65=await _0x1aacb4[_0x3e1cd2(0x158)]({'options':{..._0x5e613f,..._0x2bb083},'args':_0x44efb3?[_0x44efb3]:[],'tdx':_0xed947b});gracefulExit(_0x101b65);}),segmentCmd[a2_0x455ebf(0xc9)]('validate\x20[target]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x100))[a2_0x455ebf(0x202)](async(_0x5994a5,_0x4576d5)=>{const _0xc16b5c=a2_0x455ebf,_0x10c248=new SegmentValidateCommand(),_0xf6b603=program[_0xc16b5c(0x19c)](),_0x422e7b=await createTDXInstance(_0xf6b603),_0x459b08=await _0x10c248[_0xc16b5c(0x158)]({'options':{..._0xf6b603,..._0x4576d5},'args':_0x5994a5?[_0x5994a5]:[],'tdx':_0x422e7b});gracefulExit(_0x459b08);}),segmentCmd[a2_0x455ebf(0xc9)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x229))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),'Segment\x20description')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1e0),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd0),a2_0x455ebf(0x10a))[a2_0x455ebf(0xaa)]('--folder\x20<name>',a2_0x455ebf(0x175))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x184),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x96),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xfc),a2_0x455ebf(0x23e))[a2_0x455ebf(0x202)](async(_0x494287,_0x4c110c)=>{const _0x23e978=a2_0x455ebf,_0x130949=new SegmentCreateCommand(),_0x1ff1f1=program[_0x23e978(0x19c)](),_0x28ef26=await createTDXInstance(_0x1ff1f1),_0x49a8c5=await _0x130949[_0x23e978(0x158)]({'options':{..._0x1ff1f1,..._0x4c110c},'args':[_0x494287],'tdx':_0x28ef26});gracefulExit(_0x49a8c5);}),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xbd),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1a2))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x253),'New\x20segment\x20name')['option'](a2_0x455ebf(0x153),a2_0x455ebf(0x208))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1e0),a2_0x455ebf(0x2ae))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd0),a2_0x455ebf(0x292))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x20e),'Move\x20to\x20folder')['option']('--kind\x20<type>',a2_0x455ebf(0x129))[a2_0x455ebf(0x202)](async(_0x2a5fc7,_0x17d3b7)=>{const _0x5d451c=a2_0x455ebf,_0x2b8cae=new SegmentUpdateCommand(),_0x1340d1=program[_0x5d451c(0x19c)](),_0x709dc2=await createTDXInstance(_0x1340d1),_0x5cd40e=await _0x2b8cae['run']({'options':{..._0x1340d1,..._0x17d3b7},'args':[_0x2a5fc7],'tdx':_0x709dc2});gracefulExit(_0x5cd40e);});const parentCmd=segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x95),{'hidden':!![]})[a2_0x455ebf(0x28a)]('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x320c27,_0x1c998c)=>{const _0x1ff400=new ParentSegmentListCommand(),_0xbdf8b5=program['opts'](),_0x3beccf=await createTDXInstance(_0xbdf8b5),_0xae8bec=await _0x1ff400['run']({'options':{..._0xbdf8b5,..._0x1c998c},'args':_0x320c27?[_0x320c27]:[],'tdx':_0x3beccf});gracefulExit(_0xae8bec);};parentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1e6))[a2_0x455ebf(0x202)](parentListAction),segmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x9f),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2cd))['action'](parentListAction),parentCmd[a2_0x455ebf(0xc9)]('pull\x20[name]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x122))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xf3),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0x4c1d42,_0x5a4b77)=>{const _0x23ff16=a2_0x455ebf,_0x4101a6=new ParentSegmentPullCommand(),_0x41189e=program[_0x23ff16(0x19c)](),_0x379c98=await createTDXInstance(_0x41189e),_0x2f1390=await _0x4101a6['run']({'options':{..._0x41189e,..._0x5a4b77},'args':_0x4c1d42?[_0x4c1d42]:[],'tdx':_0x379c98});gracefulExit(_0x2f1390);}),parentCmd[a2_0x455ebf(0xc9)]('push\x20[file]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x25b))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),'Skip\x20confirmation\x20prompt')[a2_0x455ebf(0x202)](async(_0xf6b7ac,_0x3e9b47)=>{const _0xf0a5a8=a2_0x455ebf,_0x259155=new ParentSegmentPushCommand(),_0x3110d6=program[_0xf0a5a8(0x19c)](),_0x5b2ad0=await createTDXInstance(_0x3110d6),_0x50cca7=await _0x259155['run']({'options':{..._0x3110d6,..._0x3e9b47},'args':_0xf6b7ac?[_0xf6b7ac]:[],'tdx':_0x5b2ad0});gracefulExit(_0x50cca7);}),parentCmd['command'](a2_0x455ebf(0x2ca))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1db))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e7),a2_0x455ebf(0x230))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x17f),a2_0x455ebf(0x275))[a2_0x455ebf(0xaa)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option'](a2_0x455ebf(0xb8),a2_0x455ebf(0x192))['option'](a2_0x455ebf(0x11a),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x455ebf(0x202)](async(_0x38813f,_0x2daa9b)=>{const _0x2cf6ad=a2_0x455ebf,_0x4a69a6=new ParentSegmentValidateCommand(),_0x21a97f=program[_0x2cf6ad(0x19c)](),_0x25b7cb=await createTDXInstance(_0x21a97f),_0x5c9efd=await _0x4a69a6[_0x2cf6ad(0x158)]({'options':{..._0x21a97f,..._0x2daa9b},'args':_0x38813f?[_0x38813f]:[],'tdx':_0x25b7cb});gracefulExit(_0x5c9efd);}),parentCmd['command'](a2_0x455ebf(0x165))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x261))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e7),a2_0x455ebf(0xb7))['option'](a2_0x455ebf(0x17f),a2_0x455ebf(0x1b8))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2fd),a2_0x455ebf(0x2fc))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xb8),a2_0x455ebf(0xa5))[a2_0x455ebf(0xaa)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x455ebf(0xbc))[a2_0x455ebf(0x202)](async(_0xb0f573,_0x4900a3)=>{const _0x249873=a2_0x455ebf,_0x2ec6d2=new ParentSegmentPreviewCommand(),_0x4ba3e0=program['opts'](),_0x8b7204=await createTDXInstance(_0x4ba3e0),_0xbcae05=await _0x2ec6d2[_0x249873(0x158)]({'options':{..._0x4ba3e0,..._0x4900a3},'args':_0xb0f573?[_0xb0f573]:[],'tdx':_0x8b7204});gracefulExit(_0xbcae05);}),parentCmd['command']('run\x20[name]')['description']('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['option'](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0x1d8c12,_0x1d0380)=>{const _0xe96fc2=a2_0x455ebf,_0x6334f0=new ParentSegmentRunCommand(),_0x11d4ce=program[_0xe96fc2(0x19c)](),_0x3c9b2c=await createTDXInstance(_0x11d4ce),_0x120e0c=await _0x6334f0[_0xe96fc2(0x158)]({'options':{..._0x11d4ce,..._0x1d0380},'args':_0x1d8c12?[_0x1d8c12]:[],'tdx':_0x3c9b2c});gracefulExit(_0x120e0c);});const parentSegmentCmd=program['command'](a2_0x455ebf(0x204))[a2_0x455ebf(0xff)]('ps')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x21e));parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1e6))[a2_0x455ebf(0x202)](parentListAction),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x25d))['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xf3),a2_0x455ebf(0xde))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))['option']('-u,\x20--use',a2_0x455ebf(0x2b2))[a2_0x455ebf(0x202)](async(_0xfc7c2c,_0x5f53da)=>{const _0x2048a9=a2_0x455ebf,_0x37e7c1=new ParentSegmentPullCommand(),_0x5b9d45=program[_0x2048a9(0x19c)](),_0x49ce1a=await createTDXInstance(_0x5b9d45),_0x3c879a=await _0x37e7c1[_0x2048a9(0x158)]({'options':{..._0x5b9d45,..._0x5f53da},'args':_0xfc7c2c?[_0xfc7c2c]:[],'tdx':_0x49ce1a});gracefulExit(_0x3c879a);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x228))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x20f))[a2_0x455ebf(0xaa)]('-y,\x20--yes',a2_0x455ebf(0x2aa))['action'](async(_0x5e29e9,_0x4f4dd4)=>{const _0x2d1c7c=a2_0x455ebf,_0x340fe0=new ParentSegmentPushCommand(),_0x5c9f85=program[_0x2d1c7c(0x19c)](),_0x156261=await createTDXInstance(_0x5c9f85),_0x52b97f=await _0x340fe0['run']({'options':{..._0x5c9f85,..._0x4f4dd4},'args':_0x5e29e9?[_0x5e29e9]:[],'tdx':_0x156261});gracefulExit(_0x52b97f);}),parentSegmentCmd[a2_0x455ebf(0xc9)]('validate\x20[name]')[a2_0x455ebf(0x28a)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e7),a2_0x455ebf(0x230))['option'](a2_0x455ebf(0x17f),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2fd),a2_0x455ebf(0xda))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xb8),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x11a),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x455ebf(0x202)](async(_0x264a97,_0x472d97)=>{const _0x546d1d=a2_0x455ebf,_0x17e186=new ParentSegmentValidateCommand(),_0x311092=program[_0x546d1d(0x19c)](),_0x5bb158=await createTDXInstance(_0x311092),_0xbe2797=await _0x17e186[_0x546d1d(0x158)]({'options':{..._0x311092,..._0x472d97},'args':_0x264a97?[_0x264a97]:[],'tdx':_0x5bb158});gracefulExit(_0xbe2797);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1f7))['description'](a2_0x455ebf(0x261))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e7),a2_0x455ebf(0xb7))['option'](a2_0x455ebf(0x17f),a2_0x455ebf(0x1b8))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2fd),a2_0x455ebf(0x2fc))['option'](a2_0x455ebf(0xb8),a2_0x455ebf(0xa5))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x11a),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x455ebf(0xbc))[a2_0x455ebf(0x202)](async(_0x487e67,_0x1a61e3)=>{const _0x1ec32b=a2_0x455ebf,_0x20be51=new ParentSegmentPreviewCommand(),_0x8fbe89=program[_0x1ec32b(0x19c)](),_0xcee6e=await createTDXInstance(_0x8fbe89),_0x1c6de5=await _0x20be51[_0x1ec32b(0x158)]({'options':{..._0x8fbe89,..._0x1a61e3},'args':_0x487e67?[_0x487e67]:[],'tdx':_0xcee6e});gracefulExit(_0x1c6de5);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1e7))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x115))['option']('-y,\x20--yes','Skip\x20confirmation\x20prompt')['action'](async(_0x9b977a,_0x4fbd83)=>{const _0x572f65=a2_0x455ebf,_0x217222=new ParentSegmentRunCommand(),_0x44bcea=program[_0x572f65(0x19c)](),_0x2aac13=await createTDXInstance(_0x44bcea),_0x3be1a6=await _0x217222['run']({'options':{..._0x44bcea,..._0x4fbd83},'args':_0x9b977a?[_0x9b977a]:[],'tdx':_0x2aac13});gracefulExit(_0x3be1a6);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x21b))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x13b))['option']('--json',a2_0x455ebf(0x243))[a2_0x455ebf(0xaa)]('--jsonl',a2_0x455ebf(0x1eb))['action'](async(_0x986290,_0x575d0e)=>{const _0x4dc1b6=a2_0x455ebf,_0x392c48=new ParentSegmentFieldsCommand(),_0x4cdc6d=program['opts'](),_0x41586c=await createTDXInstance(_0x4cdc6d),_0x5de1d9=await _0x392c48[_0x4dc1b6(0x158)]({'options':{..._0x4cdc6d,..._0x575d0e},'args':_0x986290?[_0x986290]:[],'tdx':_0x41586c});gracefulExit(_0x5de1d9);}),parentSegmentCmd['command'](a2_0x455ebf(0x1cb))[a2_0x455ebf(0x28a)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0xaa)]('-w,\x20--web',a2_0x455ebf(0x168))['option'](a2_0x455ebf(0x12a),'Output\x20as\x20JSON')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x207),'Output\x20as\x20JSON\x20Lines')[a2_0x455ebf(0x202)](async(_0x2acc2b,_0x1b9796)=>{const _0x225583=a2_0x455ebf,_0x3b1505=new ParentSegmentViewCommand(),_0x350590=program[_0x225583(0x19c)](),_0x3a3f3d=await createTDXInstance(_0x350590),_0x245c6c=await _0x3b1505[_0x225583(0x158)]({'options':{..._0x350590,..._0x1b9796},'args':_0x2acc2b?[_0x2acc2b]:[],'tdx':_0x3a3f3d});gracefulExit(_0x245c6c);}),parentSegmentCmd[a2_0x455ebf(0xc9)]('desc\x20[name]')[a2_0x455ebf(0x28a)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0xaa)]('-o,\x20--output\x20<file>',a2_0x455ebf(0xde))[a2_0x455ebf(0xaa)]('--json',a2_0x455ebf(0x243))['option'](a2_0x455ebf(0x207),a2_0x455ebf(0x1eb))[a2_0x455ebf(0x202)](async(_0x5f3bb4,_0x3228e2)=>{const _0x30314e=a2_0x455ebf,_0x378065=new ParentSegmentDescCommand(),_0x3f6747=program[_0x30314e(0x19c)](),_0x21da13=await createTDXInstance(_0x3f6747),_0x16ba97=await _0x378065[_0x30314e(0x158)]({'options':{..._0x3f6747,..._0x3228e2},'args':_0x5f3bb4?[_0x5f3bb4]:[],'tdx':_0x21da13});gracefulExit(_0x16ba97);}),parentSegmentCmd['command'](a2_0x455ebf(0x149))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x20a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x12a),'Output\x20as\x20JSON')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x207),'Output\x20as\x20JSON\x20Lines')[a2_0x455ebf(0x202)](async(_0x4622d4,_0x308035)=>{const _0x54f845=a2_0x455ebf,_0x403b6a=new ParentSegmentSQLCommand(),_0x7d5ae5=program[_0x54f845(0x19c)](),_0x33bc76=await createTDXInstance(_0x7d5ae5),_0x50bfb0=await _0x403b6a['run']({'options':{..._0x7d5ae5,..._0x308035},'args':_0x4622d4?[_0x4622d4]:[],'tdx':_0x33bc76});gracefulExit(_0x50bfb0);}),parentSegmentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1c5))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x231))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x94),a2_0x455ebf(0x2c5))['option']('--json',a2_0x455ebf(0x243))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x207),a2_0x455ebf(0x1eb))[a2_0x455ebf(0x202)](async(_0x4d3cf8,_0x34024a)=>{const _0x296697=a2_0x455ebf,_0x566177=new ParentSegmentShowCommand(),_0xdab471=program[_0x296697(0x19c)](),_0x5c9cd1=await createTDXInstance(_0xdab471),_0x866b76=await _0x566177[_0x296697(0x158)]({'options':{..._0xdab471,..._0x34024a},'args':_0x4d3cf8?[_0x4d3cf8]:[],'tdx':_0x5c9cd1});gracefulExit(_0x866b76);}),parentSegmentCmd['command'](a2_0x455ebf(0x1e9))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x216))[a2_0x455ebf(0x202)](async(_0x8d49f1,_0xb083a5)=>{const _0x1c86fc=a2_0x455ebf,_0x2d4061=new UseCommand(),_0x1bd96b=program[_0x1c86fc(0x19c)](),_0x1249b8=_0x8d49f1?[_0x1c86fc(0x26e),_0x8d49f1]:[],_0x116fe9=await _0x2d4061[_0x1c86fc(0x158)]({'options':{..._0x1bd96b,..._0xb083a5},'args':_0x1249b8,'tdx':null});gracefulExit(_0x116fe9);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xc8));psRtCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))['description'](a2_0x455ebf(0x1f2))[a2_0x455ebf(0x202)](async(_0x3ccba2,_0x244d51)=>{const _0x778ee6=a2_0x455ebf,_0x5ac6de=new PSRtListCommand(),_0x339a8a=program[_0x778ee6(0x19c)](),_0xde531=await createTDXInstance(_0x339a8a),_0x22aa3c=await _0x5ac6de[_0x778ee6(0x158)]({'options':{..._0x339a8a,..._0x244d51},'args':_0x3ccba2?[_0x3ccba2]:[],'tdx':_0xde531});gracefulExit(_0x22aa3c);}),psRtCmd[a2_0x455ebf(0xc9)]('validate\x20[name]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1ef))['action'](async(_0x35fe6a,_0x423edb)=>{const _0x343415=a2_0x455ebf,_0x4adcd3=new PSRtValidateCommand(),_0x583287=program['opts'](),_0x2ab0ea=await createTDXInstance(_0x583287),_0x34277c=await _0x4adcd3[_0x343415(0x158)]({'options':{..._0x583287,..._0x423edb},'args':_0x35fe6a?[_0x35fe6a]:[],'tdx':_0x2ab0ea});gracefulExit(_0x34277c);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0xc8));parentRtCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')[a2_0x455ebf(0x28a)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x455ebf(0x202)](async(_0x33131e,_0x51efc9)=>{const _0x10bb5c=a2_0x455ebf,_0x5d598e=new PSRtListCommand(),_0x2d48da=program['opts'](),_0x5ba33b=await createTDXInstance(_0x2d48da),_0x56e4dc=await _0x5d598e[_0x10bb5c(0x158)]({'options':{..._0x2d48da,..._0x51efc9},'args':_0x33131e?[_0x33131e]:[],'tdx':_0x5ba33b});gracefulExit(_0x56e4dc);}),parentRtCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2c2))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1ef))[a2_0x455ebf(0x202)](async(_0x4507ff,_0x2f5a8e)=>{const _0x6d3e3c=a2_0x455ebf,_0xd49f7f=new PSRtValidateCommand(),_0x373310=program[_0x6d3e3c(0x19c)](),_0x1bb364=await createTDXInstance(_0x373310),_0x3acd06=await _0xd49f7f[_0x6d3e3c(0x158)]({'options':{..._0x373310,..._0x2f5a8e},'args':_0x4507ff?[_0x4507ff]:[],'tdx':_0x1bb364});gracefulExit(_0x3acd06);});const psPzCmd=parentSegmentCmd[a2_0x455ebf(0xc9)]('pz')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1c8));psPzCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x282))[a2_0x455ebf(0x202)](async(_0x5661db,_0x53fcc1)=>{const _0x1ae18f=a2_0x455ebf,_0x342177=new PSPzListCommand(),_0x2bf986=program[_0x1ae18f(0x19c)](),_0x54072e=await createTDXInstance(_0x2bf986),_0x1abe7e=await _0x342177[_0x1ae18f(0x158)]({'options':{..._0x2bf986,..._0x53fcc1},'args':_0x5661db?[_0x5661db]:[],'tdx':_0x54072e});gracefulExit(_0x1abe7e);}),psPzCmd[a2_0x455ebf(0xc9)]('init\x20[name]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x21d))[a2_0x455ebf(0x202)](async(_0x43d380,_0x13cf9f)=>{const _0x36236a=a2_0x455ebf,_0x34a5ec=new PSPzInitCommand(),_0x3f9891=program['opts'](),_0x7b06c5=await createTDXInstance(_0x3f9891),_0x1a5f7e=await _0x34a5ec[_0x36236a(0x158)]({'options':{..._0x3f9891,..._0x13cf9f},'args':_0x43d380?[_0x43d380]:[],'tdx':_0x7b06c5});gracefulExit(_0x1a5f7e);});const parentPzCmd=parentCmd[a2_0x455ebf(0xc9)]('pz',{'hidden':!![]})['description']('Personalization\x20service\x20management');parentPzCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe1))[a2_0x455ebf(0x28a)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0x202)](async(_0x46b1eb,_0x16ee65)=>{const _0x50fa44=a2_0x455ebf,_0x354aa2=new PSPzListCommand(),_0xa9adc2=program[_0x50fa44(0x19c)](),_0x4e72f8=await createTDXInstance(_0xa9adc2),_0x2a7966=await _0x354aa2[_0x50fa44(0x158)]({'options':{..._0xa9adc2,..._0x16ee65},'args':_0x46b1eb?[_0x46b1eb]:[],'tdx':_0x4e72f8});gracefulExit(_0x2a7966);}),parentPzCmd[a2_0x455ebf(0xc9)]('init\x20[name]')['description']('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x455ebf(0x202)](async(_0x13b65c,_0x4a23d4)=>{const _0x175360=a2_0x455ebf,_0x26929d=new PSPzInitCommand(),_0x21e437=program[_0x175360(0x19c)](),_0x2476d2=await createTDXInstance(_0x21e437),_0x550a3a=await _0x26929d[_0x175360(0x158)]({'options':{..._0x21e437,..._0x4a23d4},'args':_0x13b65c?[_0x13b65c]:[],'tdx':_0x2476d2});gracefulExit(_0x550a3a);}),parentCmd['command'](a2_0x455ebf(0x26a))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2f0))['requiredOption'](a2_0x455ebf(0x28e),a2_0x455ebf(0x23b))[a2_0x455ebf(0x114)](a2_0x455ebf(0x2f2),a2_0x455ebf(0x2a9))[a2_0x455ebf(0xaa)]('--description\x20<text>','Parent\x20segment\x20description')['option'](a2_0x455ebf(0x121),a2_0x455ebf(0x1c9))['option'](a2_0x455ebf(0x116),a2_0x455ebf(0x241))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x219),a2_0x455ebf(0xfe))['option'](a2_0x455ebf(0x1b9),'Attributes\x20as\x20JSON\x20string')['option'](a2_0x455ebf(0x20b),a2_0x455ebf(0xb4))['option']('--behaviors\x20<json>',a2_0x455ebf(0x1c6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x11f),a2_0x455ebf(0x2bb))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x262),a2_0x455ebf(0x1c1))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2e3),'Customer\x20group\x20from\x20JSON\x20file')[a2_0x455ebf(0x202)](async(_0x31baa6,_0x358bcb)=>{const _0x3aecee=a2_0x455ebf,_0x30f895=new ParentSegmentCreateCommand(),_0x33f69a=program[_0x3aecee(0x19c)](),_0x262d19=await createTDXInstance(_0x33f69a),_0x4e3229=await _0x30f895[_0x3aecee(0x158)]({'options':{..._0x33f69a,..._0x358bcb},'args':[_0x31baa6],'tdx':_0x262d19});gracefulExit(_0x4e3229);}),parentCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1d6))['description']('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),a2_0x455ebf(0x208))[a2_0x455ebf(0xaa)]('--schedule-type\x20<type>',a2_0x455ebf(0x1d7))[a2_0x455ebf(0xaa)]('--schedule-option\x20<value>',a2_0x455ebf(0x246))['option'](a2_0x455ebf(0x219),a2_0x455ebf(0x25c))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1d5),a2_0x455ebf(0x17e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x26d),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x234),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x455ebf(0xaa)]('--add-behaviors-file\x20<file>',a2_0x455ebf(0x2e1))[a2_0x455ebf(0x202)](async(_0x970bd5,_0x51e309)=>{const _0x4cb7f4=a2_0x455ebf,_0x40c150=new ParentSegmentUpdateCommand(),_0x4ca6d2=program[_0x4cb7f4(0x19c)](),_0x270436=await createTDXInstance(_0x4ca6d2),_0x8cc0b8=await _0x40c150[_0x4cb7f4(0x158)]({'options':{..._0x4ca6d2,..._0x51e309},'args':[_0x970bd5],'tdx':_0x270436});gracefulExit(_0x8cc0b8);}),folderCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x101))['description'](a2_0x455ebf(0x179))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),a2_0x455ebf(0x29e))[a2_0x455ebf(0xaa)]('--parent-folder\x20<name>',a2_0x455ebf(0x29c))['action'](async(_0x43fc91,_0x57b87d,_0x9ef705)=>{const _0x3745ab=a2_0x455ebf,_0x305b85=new SegmentFolderCreateCommand(),_0x1fd236=program[_0x3745ab(0x19c)](),_0x3f7e50=await createTDXInstance(_0x1fd236),_0x520309=await _0x305b85[_0x3745ab(0x158)]({'options':{..._0x1fd236,..._0x9ef705},'args':[_0x43fc91,_0x57b87d],'tdx':_0x3f7e50});gracefulExit(_0x520309);}),program[a2_0x455ebf(0xc9)]('activations\x20<segment_name>')[a2_0x455ebf(0x28a)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x455ebf(0x202)](async(_0x419f70,_0x3412b8)=>{const _0x300fbf=a2_0x455ebf,_0x172a32=new ActivationsCommand(),_0x21a0fd=program[_0x300fbf(0x19c)](),_0x38dfff=await createTDXInstance(_0x21a0fd),_0x28c874=await _0x172a32[_0x300fbf(0x158)]({'options':{..._0x21a0fd,..._0x3412b8},'args':[_0x419f70],'tdx':_0x38dfff});gracefulExit(_0x28c874);});const workflowCmd=program['command'](a2_0x455ebf(0x2f3))[a2_0x455ebf(0xff)]('wf')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ee)),wfProjectCmd=workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1f4))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x30d)),wfProjectListAction=async(_0x22ea77,_0x44cb84)=>{const _0x3c4023=a2_0x455ebf,_0x1aafb8=new WorkflowProjectsCommand(),_0x48b975=program['opts'](),_0x824f52=await createTDXInstance(_0x48b975),_0x591178=await _0x1aafb8[_0x3c4023(0x158)]({'options':{..._0x48b975,..._0x44cb84},'args':_0x22ea77?[_0x22ea77]:[],'tdx':_0x824f52});gracefulExit(_0x591178);};wfProjectCmd['command'](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x28b))[a2_0x455ebf(0x202)](wfProjectListAction),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x22f))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x136))[a2_0x455ebf(0x202)](wfProjectListAction);const wfWorkflowListAction=async(_0xc1c408,_0x51bf67)=>{const _0x576acb=a2_0x455ebf,_0x3a9468=new WorkflowWorkflowsCommand(),_0xf77e6b=program[_0x576acb(0x19c)](),_0x44b338=await createTDXInstance(_0xf77e6b),_0x2d7478=await _0x3a9468['run']({'options':{..._0xf77e6b,..._0x51bf67},'args':_0xc1c408?[_0xc1c408]:[],'tdx':_0x44b338});gracefulExit(_0x2d7478);};workflowCmd[a2_0x455ebf(0xc9)]('workflows\x20[project]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x265))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xd6))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xc7)),wfSessionListAction=async(_0x57cce5,_0x2268bb)=>{const _0x11b18b=a2_0x455ebf,_0x56e2a8=new WorkflowSessionsCommand(),_0x2b779a=program[_0x11b18b(0x19c)](),_0x4e3112=await createTDXInstance(_0x2b779a),_0x124d1=await _0x56e2a8[_0x11b18b(0x158)]({'options':{..._0x2b779a,..._0x2268bb},'args':_0x57cce5?[_0x57cce5]:[],'tdx':_0x4e3112});gracefulExit(_0x124d1);};wfSessionCmd[a2_0x455ebf(0xc9)]('list\x20[project]')[a2_0x455ebf(0x28a)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x242),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x206),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option']('--to\x20<timestamp>',a2_0x455ebf(0x187))[a2_0x455ebf(0x202)](wfSessionListAction),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x162))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x26c))['option'](a2_0x455ebf(0x242),a2_0x455ebf(0x152))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x206),a2_0x455ebf(0x1ea))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1d0),a2_0x455ebf(0x187))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x49b52a,_0x221d5c)=>{const _0x184033=a2_0x455ebf,_0x41adde=new WorkflowAttemptsCommand(),_0x278f29=program[_0x184033(0x19c)](),_0x55a0a3=await createTDXInstance(_0x278f29),_0x52452a=await _0x41adde[_0x184033(0x158)]({'options':{..._0x278f29,..._0x221d5c},'args':_0x49b52a?[_0x49b52a]:[],'tdx':_0x55a0a3});gracefulExit(_0x52452a);},attemptCmd=workflowCmd[a2_0x455ebf(0xc9)]('attempt')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xd1))[a2_0x455ebf(0xa7)](a2_0x455ebf(0x1fa),a2_0x455ebf(0x280))['argument'](a2_0x455ebf(0xa2),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x455ebf(0xa7)](a2_0x455ebf(0x2e8),a2_0x455ebf(0x227))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x98),a2_0x455ebf(0x155))['option'](a2_0x455ebf(0x19a),a2_0x455ebf(0x2c7))['option'](a2_0x455ebf(0x250),a2_0x455ebf(0x19e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x257),a2_0x455ebf(0x2ed))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x177),a2_0x455ebf(0xb9))['option']('--include-retried',a2_0x455ebf(0xa1))[a2_0x455ebf(0x202)](async(_0x292db9,_0x10a859,_0x13f049,_0x36d35c)=>{const _0x4959c6=a2_0x455ebf;if(_0x292db9==='list'){await wfAttemptListAction(_0x10a859,_0x36d35c);return;}if(!_0x292db9){attemptCmd[_0x4959c6(0x270)]();return;}const _0x46cb4a=program[_0x4959c6(0x19c)](),_0x11e567=await createTDXInstance(_0x46cb4a);let _0x3b104d=0x0;if(!_0x10a859){const _0x46d892=new WorkflowAttemptCommand();_0x3b104d=await _0x46d892[_0x4959c6(0x158)]({'options':{..._0x46cb4a,..._0x36d35c},'args':[_0x292db9],'tdx':_0x11e567});}else{if(_0x10a859==='logs'){const _0x1aa637=new WorkflowLogsCommand();_0x3b104d=await _0x1aa637['run']({'options':{..._0x46cb4a,..._0x36d35c},'args':_0x13f049?[_0x292db9,_0x13f049]:[_0x292db9],'tdx':_0x11e567});}else{if(_0x10a859===_0x4959c6(0x2a6)){const _0x4dd62b=new WorkflowTasksCommand();_0x3b104d=await _0x4dd62b[_0x4959c6(0x158)]({'options':{..._0x46cb4a,..._0x36d35c},'args':[_0x292db9],'tdx':_0x11e567});}else{if(_0x10a859===_0x4959c6(0x1b4)){const _0x173328=new WorkflowKillCommand();_0x3b104d=await _0x173328[_0x4959c6(0x158)]({'options':{..._0x46cb4a,..._0x36d35c},'args':[_0x292db9],'tdx':_0x11e567});}else{if(_0x10a859===_0x4959c6(0x305)){const _0x2ff9e5=new WorkflowRetryCommand();_0x3b104d=await _0x2ff9e5[_0x4959c6(0x158)]({'options':{..._0x46cb4a,..._0x36d35c},'args':[_0x4959c6(0x176)+_0x292db9],'tdx':_0x11e567});}else console['error'](_0x4959c6(0x240)+_0x10a859),console[_0x4959c6(0x144)](_0x4959c6(0xc5)),_0x3b104d=0x1;}}}}gracefulExit(_0x3b104d);});attemptCmd['command'](a2_0x455ebf(0x1b0))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x18f))[a2_0x455ebf(0xaa)]('--include-retried',a2_0x455ebf(0x236))[a2_0x455ebf(0x202)](wfAttemptListAction),workflowCmd[a2_0x455ebf(0xc9)]('attempts\x20[project]')['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')['option'](a2_0x455ebf(0x1c0),a2_0x455ebf(0x236))[a2_0x455ebf(0x202)](wfAttemptListAction),workflowCmd['command'](a2_0x455ebf(0x1f5))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xf4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9e),'Follow/watch\x20timeline\x20for\x20running\x20attempts')['option']('--session-id\x20<id>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1df),a2_0x455ebf(0x287))[a2_0x455ebf(0x202)](async(_0x17d6ca,_0x315036)=>{const _0x2dcb3c=a2_0x455ebf,_0x410417=new WorkflowTimelineCommand(),_0x375dcf=program[_0x2dcb3c(0x19c)](),_0x40b430=await createTDXInstance(_0x375dcf),_0x390e54=await _0x410417[_0x2dcb3c(0x158)]({'options':{..._0x375dcf,..._0x315036},'args':_0x17d6ca?[_0x17d6ca]:[],'tdx':_0x40b430});gracefulExit(_0x390e54);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x266))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xac))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x130),a2_0x455ebf(0x18a))['option'](a2_0x455ebf(0x257),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x455ebf(0x202)](async(_0x302406,_0x44b65c)=>{const _0x36864d=a2_0x455ebf,_0x31b381=new WorkflowRetryCommand(),_0xcd5fc5=program[_0x36864d(0x19c)](),_0x58de5a=await createTDXInstance(_0xcd5fc5),_0x3477fc=await _0x31b381['run']({'options':{..._0xcd5fc5,..._0x44b65c},'args':[_0x302406],'tdx':_0x58de5a});gracefulExit(_0x3477fc);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xcd))[a2_0x455ebf(0x28a)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')['option'](a2_0x455ebf(0x294),a2_0x455ebf(0x2e9),(_0x528ce7,_0x407934=[])=>[..._0x407934,_0x528ce7],[])[a2_0x455ebf(0xaa)](a2_0x455ebf(0xf6),a2_0x455ebf(0x1e3))[a2_0x455ebf(0x202)](async(_0x24ba88,_0x1d1c83)=>{const _0x255d13=a2_0x455ebf,_0x2454e1=new WorkflowRunCommand(),_0xff9050=program[_0x255d13(0x19c)](),_0x312cd0=await createTDXInstance(_0xff9050),_0x59e64b=await _0x2454e1[_0x255d13(0x158)]({'options':{..._0xff9050,..._0x1d1c83},'args':_0x24ba88?[_0x24ba88]:[],'tdx':_0x312cd0});gracefulExit(_0x59e64b);}),workflowCmd['command'](a2_0x455ebf(0xd4))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x30b))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x260),a2_0x455ebf(0xdb))[a2_0x455ebf(0x202)](async(_0x1597e5,_0x3f2da5,_0x4b15a2)=>{const _0xf7baf8=a2_0x455ebf,_0x3988aa=new WorkflowDownloadCommand(),_0x26b8d8=program[_0xf7baf8(0x19c)](),_0x2d6c40=await createTDXInstance(_0x26b8d8),_0x39a763=await _0x3988aa[_0xf7baf8(0x158)]({'options':{..._0x26b8d8,..._0x4b15a2},'args':[_0x1597e5,_0x3f2da5||'.'],'tdx':_0x2d6c40});gracefulExit(_0x39a763);}),workflowCmd['command'](a2_0x455ebf(0x25f))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xc0))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x260),a2_0x455ebf(0x28d))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0xdf))['option'](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))['action'](async(_0x3ad093,_0x34fc50,_0x56cd2e)=>{const _0x3ea099=a2_0x455ebf,_0x99c06c=new WorkflowPullCommand(),_0x12d3e2=program['opts'](),_0x59d01a=await createTDXInstance(_0x12d3e2),_0x2eed60=await _0x99c06c[_0x3ea099(0x158)]({'options':{..._0x12d3e2,..._0x56cd2e},'args':_0x34fc50?[_0x3ad093,_0x34fc50]:[_0x3ad093],'tdx':_0x59d01a});gracefulExit(_0x2eed60);}),workflowCmd[a2_0x455ebf(0xc9)]('push\x20[source-dir]')['description'](a2_0x455ebf(0x220))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x260),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x2b0))[a2_0x455ebf(0xaa)]('--skip-validation',a2_0x455ebf(0xc3))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0xca563,_0xeaa488)=>{const _0x50d046=a2_0x455ebf,_0x453782=new WorkflowPushCommand(),_0x528bd8=program[_0x50d046(0x19c)](),_0x4cd7a6=await createTDXInstance(_0x528bd8),_0x5a6d10=await _0x453782[_0x50d046(0x158)]({'options':{..._0x528bd8,..._0xeaa488},'args':_0xca563?[_0xca563]:[],'tdx':_0x4cd7a6});gracefulExit(_0x5a6d10);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x293))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x26b))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x103),'Override\x20project\x20name')['option']('--revision\x20<revision>',a2_0x455ebf(0x28f))['option']('--skip-validation',a2_0x455ebf(0xc3))[a2_0x455ebf(0x202)](async(_0x1d60a9,_0x38bdee)=>{const _0x505b70=a2_0x455ebf,_0x42dd3a=new WorkflowUploadCommand(),_0x2f38d=program[_0x505b70(0x19c)](),_0x1b1934=await createTDXInstance(_0x2f38d),_0x2fc1ee=await _0x42dd3a[_0x505b70(0x158)]({'options':{..._0x2f38d,..._0x38bdee},'args':_0x1d60a9?[_0x1d60a9]:[],'tdx':_0x1b1934});gracefulExit(_0x2fc1ee);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2d0))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x137))['option'](a2_0x455ebf(0x103),a2_0x455ebf(0xdc))[a2_0x455ebf(0xaa)]('--revision\x20<revision>',a2_0x455ebf(0x11e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x170))[a2_0x455ebf(0xaa)]('--skip-validation',a2_0x455ebf(0xc3))[a2_0x455ebf(0xaa)]('-y,\x20--yes',a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0x6ec5ff,_0x2b8167)=>{const _0x1d673d=a2_0x455ebf,_0x575cd1=new WorkflowCloneCommand(),_0x5d53d8=program['opts'](),_0x42d592=await createTDXInstance(_0x5d53d8),_0x5016af=await _0x575cd1[_0x1d673d(0x158)]({'options':{..._0x5d53d8,..._0x2b8167},'args':_0x6ec5ff?[_0x6ec5ff]:[],'tdx':_0x42d592});gracefulExit(_0x5016af);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2b1))[a2_0x455ebf(0x28a)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')['action'](async(_0xfc957c,_0x4a2093)=>{const _0x2c0784=a2_0x455ebf,_0x143286=new WorkflowDeleteCommand(),_0x25f919=program[_0x2c0784(0x19c)](),_0x22a5d4=await createTDXInstance(_0x25f919),_0x263e95=await _0x143286[_0x2c0784(0x158)]({'options':{..._0x25f919,..._0x4a2093},'args':[_0xfc957c],'tdx':_0x22a5d4});gracefulExit(_0x263e95);}),workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xbe))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xed))['option'](a2_0x455ebf(0x128),a2_0x455ebf(0xa3))[a2_0x455ebf(0x202)](async(_0x185209,_0x35d017)=>{const _0x3e6a2d=a2_0x455ebf,_0x21abb9=new WorkflowUseCommand(),_0x8db9cc=program[_0x3e6a2d(0x19c)](),_0x346807=await createTDXInstance(_0x8db9cc),_0x16d490=await _0x21abb9[_0x3e6a2d(0x158)]({'options':{..._0x8db9cc,..._0x35d017},'args':_0x185209?[_0x185209]:[],'tdx':_0x346807});gracefulExit(_0x16d490);});const wfSecretsCmd=workflowCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x245))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x31f));wfSecretsCmd['command'](a2_0x455ebf(0x1b0))[a2_0x455ebf(0x28a)]('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x3270e4,_0x1b2d5f)=>{const _0x5c300b=a2_0x455ebf,_0x3af559=new WorkflowSecretsListCommand(),_0x25e2ef=program[_0x5c300b(0x19c)](),_0x4253b3=await createTDXInstance(_0x25e2ef),_0x5a7de4=await _0x3af559['run']({'options':{..._0x25e2ef,..._0x1b2d5f},'args':_0x3270e4?[_0x3270e4]:[],'tdx':_0x4253b3});gracefulExit(_0x5a7de4);}),wfSecretsCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x279))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1be))['action'](async(_0xe09eca,_0x30b7b5)=>{const _0x4b6af5=a2_0x455ebf,_0x1bf201=new WorkflowSecretsSetCommand(),_0x23b4a5=program['opts'](),_0x141bbd=await createTDXInstance(_0x23b4a5),_0x53bb59=await _0x1bf201[_0x4b6af5(0x158)]({'options':{..._0x23b4a5,..._0x30b7b5},'args':_0xe09eca,'tdx':_0x141bbd});gracefulExit(_0x53bb59);}),wfSecretsCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x189))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xf2))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xe9),a2_0x455ebf(0x2aa))[a2_0x455ebf(0x202)](async(_0x31887a,_0x45e04b)=>{const _0x2fae17=new WorkflowSecretsDeleteCommand(),_0x587feb=program['opts'](),_0x264742=await createTDXInstance(_0x587feb),_0x2e7cdb=await _0x2fae17['run']({'options':{..._0x587feb,..._0x45e04b},'args':_0x31887a,'tdx':_0x264742});gracefulExit(_0x2e7cdb);});const jobCmd=program[a2_0x455ebf(0xc9)]('job')[a2_0x455ebf(0x28a)]('Job\x20management\x20commands'),jobListAction=async _0x4e5767=>{const _0x35f272=a2_0x455ebf,_0x19ff1e=new JobListCommand(),_0x3f6ad5=program[_0x35f272(0x19c)](),_0x7061c6=await createTDXInstance(_0x3f6ad5),_0x45605a=await _0x19ff1e[_0x35f272(0x158)]({'options':{..._0x3f6ad5,..._0x4e5767},'args':[],'tdx':_0x7061c6});gracefulExit(_0x45605a);};jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xf1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x13f))['option'](a2_0x455ebf(0x242),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x455ebf(0x202)](jobListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x301),{'hidden':!![]})['description'](a2_0x455ebf(0x2e6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x242),a2_0x455ebf(0x24c))[a2_0x455ebf(0x202)](jobListAction),jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a8))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x233))[a2_0x455ebf(0x202)](async(_0x4ab34b,_0x233db3)=>{const _0x287cbe=a2_0x455ebf,_0x46a151=new JobShowCommand(),_0x5ed33a=program[_0x287cbe(0x19c)](),_0x14a65c=await createTDXInstance(_0x5ed33a),_0x4b992c=await _0x46a151[_0x287cbe(0x158)]({'options':{..._0x5ed33a,..._0x233db3},'args':[_0x4ab34b],'tdx':_0x14a65c});gracefulExit(_0x4b992c);}),jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xee))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xa9))[a2_0x455ebf(0x202)](async(_0x592571,_0x464c48)=>{const _0x5dd3f4=a2_0x455ebf,_0x3be808=new JobKillCommand(),_0x22a04b=program['opts'](),_0x5896c0=await createTDXInstance(_0x22a04b),_0x4af013=await _0x3be808[_0x5dd3f4(0x158)]({'options':{..._0x22a04b,..._0x464c48},'args':[_0x592571],'tdx':_0x5896c0});gracefulExit(_0x4af013);}),jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1ac))['description'](a2_0x455ebf(0xce))['option'](a2_0x455ebf(0x2f1),a2_0x455ebf(0x106),'trino')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd7),a2_0x455ebf(0x247))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x26f),'Database\x20name\x20(default:\x20information_schema)',a2_0x455ebf(0x182))[a2_0x455ebf(0x202)](async(_0x47d0ba,_0x4c639c)=>{const _0x47d06c=a2_0x455ebf,_0x1578bd=new JobSubmitCommand(),_0x26c87c=program['opts'](),_0x4a73da=await createTDXInstance(_0x26c87c),_0x1e86b4=await _0x1578bd[_0x47d06c(0x158)]({'options':{..._0x26c87c,..._0x4c639c},'args':_0x47d0ba?[_0x47d0ba]:[],'tdx':_0x4a73da});gracefulExit(_0x1e86b4);}),jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xd8))['description'](a2_0x455ebf(0x22a))[a2_0x455ebf(0x202)](async(_0x7d0136,_0x3d568b)=>{const _0x31f22e=a2_0x455ebf,_0x4af9bc=new JobResultCommand(),_0x29f915=program[_0x31f22e(0x19c)](),_0x27e8af=await createTDXInstance(_0x29f915),_0x34ba1e=await _0x4af9bc[_0x31f22e(0x158)]({'options':{..._0x29f915,..._0x3d568b},'args':[_0x7d0136],'tdx':_0x27e8af});gracefulExit(_0x34ba1e);});const scheduleCmd=jobCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x156))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x200));scheduleCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')[a2_0x455ebf(0x28a)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x2ca258,_0xe64aba)=>{const _0x160917=a2_0x455ebf,_0x40f1ea=new ScheduleListCommand(),_0x21c1e7=program[_0x160917(0x19c)](),_0xd37905=await createTDXInstance(_0x21c1e7),_0x2e1ad2=await _0x40f1ea[_0x160917(0x158)]({'options':{..._0x21c1e7,..._0xe64aba},'args':_0x2ca258?[_0x2ca258]:[],'tdx':_0xd37905});gracefulExit(_0x2e1ad2);}),scheduleCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x16c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x24d))[a2_0x455ebf(0x202)](async(_0x3cf7fb,_0x4e5579)=>{const _0x126420=a2_0x455ebf,_0x1afbce=new ScheduleShowCommand(),_0xafd53e=program[_0x126420(0x19c)](),_0x3c6425=await createTDXInstance(_0xafd53e),_0x11c1f7=await _0x1afbce[_0x126420(0x158)]({'options':{..._0xafd53e,..._0x4e5579},'args':[_0x3cf7fb],'tdx':_0x3c6425});gracefulExit(_0x11c1f7);}),scheduleCmd['command'](a2_0x455ebf(0x26a))[a2_0x455ebf(0x28a)]('Create\x20a\x20scheduled\x20query')[a2_0x455ebf(0x114)](a2_0x455ebf(0x1f6),a2_0x455ebf(0x2ce))[a2_0x455ebf(0x114)]('-f,\x20--file\x20<path>',a2_0x455ebf(0x247))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x174),a2_0x455ebf(0x27e),'trino')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x29b),'Cron\x20expression\x20for\x20scheduling')['option'](a2_0x455ebf(0x219),a2_0x455ebf(0x147))[a2_0x455ebf(0xaa)]('--delay\x20<seconds>','Delay\x20in\x20seconds\x20before\x20execution')['option'](a2_0x455ebf(0x11c),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1b7),a2_0x455ebf(0x304))['option'](a2_0x455ebf(0x10c),a2_0x455ebf(0x2c6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x198),a2_0x455ebf(0x29d))[a2_0x455ebf(0x202)](async(_0x5560ae,_0x7c4c95)=>{const _0x23d18d=a2_0x455ebf,_0x42f14c=new ScheduleCreateCommand(),_0x22f1d9=program[_0x23d18d(0x19c)](),_0xd521e2=await createTDXInstance(_0x22f1d9),_0x7daa89=await _0x42f14c[_0x23d18d(0x158)]({'options':{..._0x22f1d9,..._0x7c4c95},'args':[_0x5560ae],'tdx':_0xd521e2});gracefulExit(_0x7daa89);}),scheduleCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1d6))[a2_0x455ebf(0x28a)]('Update\x20a\x20scheduled\x20query')[a2_0x455ebf(0xaa)]('-d,\x20--database\x20<db>',a2_0x455ebf(0x2ce))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd7),a2_0x455ebf(0x247))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x174),a2_0x455ebf(0x27e))['option']('--cron\x20<expression>',a2_0x455ebf(0x17a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x219),a2_0x455ebf(0x110))['option'](a2_0x455ebf(0x1d8),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x11c),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1b7),'Retry\x20limit\x20(0\x20to\x2032)')['option'](a2_0x455ebf(0x10c),a2_0x455ebf(0x2c6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x198),a2_0x455ebf(0x29d))[a2_0x455ebf(0x202)](async(_0x4919d9,_0x3839c8)=>{const _0x5ed3d9=a2_0x455ebf,_0x3cbbf4=new ScheduleUpdateCommand(),_0x1e00fe=program[_0x5ed3d9(0x19c)](),_0x1cc760=await createTDXInstance(_0x1e00fe),_0x5c1759=await _0x3cbbf4[_0x5ed3d9(0x158)]({'options':{..._0x1e00fe,..._0x3839c8},'args':[_0x4919d9],'tdx':_0x1cc760});gracefulExit(_0x5c1759);}),scheduleCmd['command'](a2_0x455ebf(0x23d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x27b))['action'](async(_0x43afd2,_0xbd70fa)=>{const _0xe95f77=a2_0x455ebf,_0x102a64=new ScheduleDeleteCommand(),_0x5837ea=program[_0xe95f77(0x19c)](),_0x2a37e0=await createTDXInstance(_0x5837ea),_0x24e89c=await _0x102a64[_0xe95f77(0x158)]({'options':{..._0x5837ea,..._0xbd70fa},'args':[_0x43afd2],'tdx':_0x2a37e0});gracefulExit(_0x24e89c);}),scheduleCmd[a2_0x455ebf(0xc9)]('run\x20<name>')['description']('Run\x20a\x20scheduled\x20query\x20immediately')['option'](a2_0x455ebf(0xea),a2_0x455ebf(0xab))[a2_0x455ebf(0xaa)]('--num\x20<1-10>',a2_0x455ebf(0x102))['action'](async(_0x18b985,_0x34b178)=>{const _0x341628=a2_0x455ebf,_0x16daab=new ScheduleRunCommand(),_0x4330ef=program[_0x341628(0x19c)](),_0x2e9020=await createTDXInstance(_0x4330ef),_0x5a5710=await _0x16daab[_0x341628(0x158)]({'options':{..._0x4330ef,..._0x34b178},'args':[_0x18b985],'tdx':_0x2e9020});gracefulExit(_0x5a5710);}),scheduleCmd['command'](a2_0x455ebf(0x21c))['description']('Show\x20schedule\x20execution\x20history')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x194),a2_0x455ebf(0x1a8))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x271),a2_0x455ebf(0xb3))['action'](async(_0x30aa0b,_0x56312e)=>{const _0x555bfd=a2_0x455ebf,_0x28b669=new ScheduleHistoryCommand(),_0x28da29=program[_0x555bfd(0x19c)](),_0x5e3197=await createTDXInstance(_0x28da29),_0x708a14=await _0x28b669[_0x555bfd(0x158)]({'options':{..._0x28da29,..._0x56312e},'args':[_0x30aa0b],'tdx':_0x5e3197});gracefulExit(_0x708a14);});const llmCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1d3))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1e5));llmCmd['command'](a2_0x455ebf(0x30c))[a2_0x455ebf(0x28a)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x455ebf(0x202)](async(_0x215a10,_0x4d92f5)=>{const _0x353942=a2_0x455ebf,_0x1b3cfa=new LLMUseCommand(),_0x1aac9e=program[_0x353942(0x19c)](),_0x59cf9b=await createTDXInstance(_0x1aac9e),_0x50ee8d=await _0x1b3cfa[_0x353942(0x158)]({'options':{..._0x1aac9e,..._0x4d92f5},'args':[_0x215a10],'tdx':_0x59cf9b});gracefulExit(_0x50ee8d);}),llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x317))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x24f))[a2_0x455ebf(0x202)](async _0x2ac287=>{const _0x164522=a2_0x455ebf,_0x1e6757=new LLMModelsCommand(),_0x6bec0c=program[_0x164522(0x19c)](),_0x1a3050=await createTDXInstance(_0x6bec0c),_0x800b4f=await _0x1e6757[_0x164522(0x158)]({'options':{..._0x6bec0c,..._0x2ac287},'args':[],'tdx':_0x1a3050});gracefulExit(_0x800b4f);});const projectCmd=llmCmd[a2_0x455ebf(0xc9)]('project')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x318)),llmProjectListAction=async(_0x22865b,_0x140952)=>{const _0x317f92=a2_0x455ebf,_0x2102f4=new LLMProjectsCommand(),_0x9fa933=program['opts'](),_0x8e0059=await createTDXInstance(_0x9fa933),_0x1a51ed=await _0x2102f4[_0x317f92(0x158)]({'options':{..._0x9fa933,..._0x140952},'args':_0x22865b?[_0x22865b]:[],'tdx':_0x8e0059});gracefulExit(_0x1a51ed);};projectCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2a2))[a2_0x455ebf(0x202)](llmProjectListAction),llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x22f))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x18d))[a2_0x455ebf(0x202)](llmProjectListAction),projectCmd[a2_0x455ebf(0xc9)]('create\x20<name>')['description'](a2_0x455ebf(0x211))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),a2_0x455ebf(0x141))['action'](async(_0x582634,_0x42b879)=>{const _0x61a0f3=a2_0x455ebf,_0x23b523=new LLMProjectCreateCommand(),_0x49413c=program['opts'](),_0x56cdb9=await createTDXInstance(_0x49413c),_0x3bbdb5=await _0x23b523[_0x61a0f3(0x158)]({'options':{..._0x49413c,..._0x42b879},'args':[_0x582634],'tdx':_0x56cdb9});gracefulExit(_0x3bbdb5);}),projectCmd[a2_0x455ebf(0xc9)]('delete\x20<name>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xeb))[a2_0x455ebf(0x202)](async(_0x506924,_0x26efd0)=>{const _0x3e0ed4=a2_0x455ebf,_0x365c9c=new LLMProjectDeleteCommand(),_0x52612e=program[_0x3e0ed4(0x19c)](),_0x2383fe=await createTDXInstance(_0x52612e),_0x5552f0=await _0x365c9c['run']({'options':{..._0x52612e,..._0x26efd0},'args':[_0x506924],'tdx':_0x2383fe});gracefulExit(_0x5552f0);}),projectCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x22d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x226))['option'](a2_0x455ebf(0x27c),a2_0x455ebf(0x214))['option'](a2_0x455ebf(0x2cb),a2_0x455ebf(0x12d))[a2_0x455ebf(0x202)](async(_0x21a0f0,_0x2b4e2b)=>{const _0x50f9fe=new LLMProjectBackupCommand(),_0x50d865=program['opts'](),_0x18e7bf=await createTDXInstance(_0x50d865),_0x1b147f=await _0x50f9fe['run']({'options':{..._0x50d865,..._0x2b4e2b},'args':[_0x21a0f0],'tdx':_0x18e7bf});gracefulExit(_0x1b147f);}),projectCmd[a2_0x455ebf(0xc9)]('restore\x20<folder>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ac))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x284),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x1fc))[a2_0x455ebf(0x202)](async(_0x230010,_0x45c599)=>{const _0x1a0d7b=a2_0x455ebf,_0x443094=new LLMProjectRestoreCommand(),_0x25ad6d=program[_0x1a0d7b(0x19c)](),_0x48c4cc=await createTDXInstance(_0x25ad6d),_0x15c7f3=await _0x443094[_0x1a0d7b(0x158)]({'options':{..._0x25ad6d,..._0x45c599},'args':[_0x230010],'tdx':_0x48c4cc});gracefulExit(_0x15c7f3);});function a2_0x1bc9(){const _0x15ed87=['Delete\x20a\x20scheduled\x20query','-o,\x20--output\x20<folder>','--in\x20<database>','Query\x20type:\x20trino\x20or\x20hive','pull\x20[project]\x20[agent-name]','Attempt\x20ID','-f,\x20--force','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','optionDescription','--name\x20<new-name>','isArray','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Show\x20timeline\x20for\x20specific\x20attempt','users','[DEPRECATED]\x20Segment\x20folder\x20management','description','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--start-at\x20<datetime>','Pull\x20specific\x20revision\x20(default:\x20latest)','--database\x20<db>','Revision\x20name\x20(default:\x20timestamp)','--plaintext\x20<text>','required','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','upload\x20[project-name-or-dir]','--param\x20<key=value>','summary','campaigns\x20[pattern]','Database\x20to\x20query\x20(default:\x20information_schema)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','\x20(resolved\x20to\x20','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','--cron\x20<expression>','Parent\x20folder\x20name\x20for\x20nested\x20folders','Result\x20output\x20destination\x20URL','Folder\x20description','subcommandDescription','api\x20[endpoint]','query\x20[sql]','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','--full','types','resume\x20<name-or-id>','tasks','exit','show\x20<job-id>','Master\x20table\x20name','Skip\x20confirmation\x20prompt','Show\x20email\x20template\x20details','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','clear','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Preview\x20changes\x20without\x20pushing','delete\x20<project-name-or-id>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','hook','agent','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Create\x20a\x20workspace','duplicate\x20<name-or-id>','info\x20[segment_name]','25DKmTss','Behaviors\x20from\x20JSON\x20file','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','\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','allowUnknownOption','jsonl','stats\x20<name-or-path>','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','validate\x20[name]','Directory\x20does\x20not\x20exist:\x20','argumentDescription','Limit\x20number\x20of\x20rows','Query\x20engine\x20version','Reason\x20for\x20killing\x20the\x20attempt','Database\x20management\x20commands','--reeval','validate\x20[file]','--dry-run','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Database\x20name','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','clone\x20[source-dir]','7jZmrdm','--delete','--agent\x20<ref>','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--limit\x20<rows>','CDP\x20Journey\x20Orchestration\x20commands','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Campaign\x20type\x20(email\x20or\x20push)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','show\x20[table]','Skip\x20confirmation\x20prompts','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Run\x20Trino\x20query\x20with\x20streaming\x20results','INVALID_ARGUMENT','--email-sender-id\x20<id>','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Add\x20behaviors\x20from\x20JSON\x20file','Maximum\x20tool\x20iterations\x20(default:\x204)','--customer-group-file\x20<file>','Usage:\x20','json','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--master','[task-name]','Workflow\x20parameter\x20(repeatable)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','log','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Workflow\x20(Digdag)\x20management\x20commands','Run\x20tests\x20for\x20an\x20LLM\x20agent','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--job-type\x20<type>','--table\x20<table>','workflow','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','use\x20[resource]\x20[value]','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Starter\x20message','argumentTerm','Overwrite\x20local\x20changes\x20without\x20confirmation','directory','list\x20[path]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--behavior\x20[name]','argv','\x20-\x20built\x20','--output\x20<file>','jobs','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','isDirectory','Retry\x20limit\x20(0\x20to\x2032)','retry','agents\x20[pattern]','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','--max-depth\x20<depth>','Preview\x20operation\x20without\x20executing','\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','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','use\x20<project-name>','Workflow\x20project\x20management','Setup\x20API\x20key\x20authentication\x20interactively','HTML\x20template\x20content','stderr','TRACE','flatMap','injectIntoOptions','\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','Template\x20name','--last','models','LLM\x20project\x20management','--name\x20<names>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','show\x20<folder_ref>','Pull\x20child\x20segments\x20to\x20YAML\x20files','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','-n,\x20--name\x20<name>','Manage\x20workflow\x20project\x20secrets','--prompt\x20<text>','after','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--limit\x20<n>','parent','--invisible','set','--include-subtasks','desc','-d,\x20--database\x20<database>','2358306NlDgRr','-H,\x20--header\x20<header>','--yes','--follow','parents\x20[pattern]','commandUsage','Include\x20retried\x20attempts\x20(for\x20list)','[action]','Clear\x20workflow\x20project\x20context','35510UVWCBe','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','folders\x20<parent_name>','argument','templates\x20[pattern]','Kill\x20a\x20job','option','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Workspace\x20name','\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','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Delete\x20an\x20email\x20template','engage','Workspace\x20name\x20(required)','Ending\x20offset\x20(default:\x2020)','Attributes\x20from\x20JSON\x20file','validate\x20[target]','Run\x20specific\x20tests\x20(comma-separated)','Show\x20master\x20table\x20sample\x20data','--enriched','Force\x20retry\x20even\x20if\x20not\x20failed','launch\x20<name-or-id>','Push\x20without\x20confirmation','-1d','update\x20<segment_name>','use\x20[project]','--json-columns\x20<cols>','Pull\x20workflow\x20project\x20to\x20local\x20folder','--system-prompt\x20<text>','campaign','Skip\x20validation\x20of\x20.dig\x20files','--new','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Workflow\x20session\x20management','RT\x202.0\x20configuration\x20management','command','60mfFUii','journeys\x20[pattern]','Create\x20an\x20email\x20template','run\x20[workflow]','Submit\x20a\x20job','Email\x20template\x20management','--rule-file\x20<file>','Workflow\x20attempt\x20management','createAsync','--stage\x20<name>','download\x20<project-name>\x20[output-dir]','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','session','-f,\x20--file\x20<path>','result\x20<job-id>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Name\x20for\x20the\x20new\x20project\x20(required)','connections','Output\x20file\x20path','Preview\x20changes\x20without\x20writing\x20files','CDP\x20segment\x20management\x20commands','list\x20[name]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','List\x20journeys\x20in\x20current\x20context','update\x20<name-or-id>','pull\x20[parent_or_file]','Read\x20SQL\x20query\x20from\x20file','workspaces\x20[pattern]','Duplicate\x20a\x20campaign','-y,\x20--yes','--time\x20<iso8601>','Delete\x20an\x20LLM\x20project','Update\x20an\x20email\x20template','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','kill\x20<job-id>','--subject\x20<subject>','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','list','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','-o,\x20--output\x20<file>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','padWidth','--session-time\x20<time>','delete\x20<agent-name>','join','buildTime','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Remove\x20API\x20key\x20from\x20system\x20keychain','--no-count-population','5426676SmAdCN','Timezone\x20(e.g.,\x20America/Los_Angeles)','alias','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','create\x20<parent_name>\x20<folder_name>','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','--name\x20<name>','profiles','addHelpText','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','journey','sql\x20[segment_name]','5751736PZkhmb','Filtering\x20rule\x20from\x20JSON\x20file','--stream','--engine-version\x20<version>','status','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','AI-native\x20CLI\x20for\x20Treasure\x20Data','Timezone\x20for\x20cron','Create\x20a\x20new\x20profile','Delete\x20a\x20workspace','tsv','requiredOption','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','--schedule-option\x20<value>','-c,\x20--continue','history\x20[chat-id]','LLM\x20agent\x20management','--interval\x20<range>','registeredArguments','--priority\x20<-2~2>','Generate\x20test\x20conversations\x20without\x20evaluation','Custom\x20revision\x20name\x20(default:\x20timestamp)','--behaviors-file\x20<file>','--segment\x20<path>','--schedule-type\x20<type>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Email\x20subject\x20template','length','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','show\x20<name-or-id>','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--clear','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','--json','filter','Invalid\x20editor\x20type:\x20','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','claude\x20[args...]','log\x20<chat-id>','--from-task\x20<task>','Update\x20a\x20campaign','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Enable\x20verbose\x20logging','Alias\x20for\x20--database\x20(natural\x20language\x20style)','-w,\x20--web','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--name\x20<text>','replace','show\x20<agent-name>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20a\x20profile\x20configuration\x20value','--description\x20<desc>','Resume\x20a\x20conversation\x20(shows\x20selector)','List\x20jobs','--no-proxy','Project\x20description','--site\x20<site>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','error','Interactive\x20chat\x20selector','noColor','Timezone\x20for\x20cron\x20(default:\x20UTC)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','sql\x20[name]','Path\x20is\x20not\x20a\x20directory:\x20','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--tags\x20<tags>','debug','describe\x20[table]','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','User\x20management\x20commands','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--description\x20<text>','logLevel','Include\x20subtasks\x20in\x20tasks\x20output','schedule','commands','run','Show\x20workspace\x20details','beefree','Arguments:','Open\x20segment\x20in\x20web\x20browser','outputHelp','List\x20all\x20available\x20profiles','List\x20all\x20users\x20in\x20the\x20account','workspace','5016693OnyXpj','sessions\x20[project]','trace','--trace','preview\x20[file]','configureHelp','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Open\x20parent\x20segment\x20in\x20web\x20browser','325840lFatzC','-v,\x20--verbose','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','show\x20<name>','Show\x20stats\x20for\x20specific\x20stage','delete\x20<name-or-id>','-C,\x20--directory\x20<path>','Preview\x20without\x20creating\x20the\x20project','--in\x20<name>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','--tsv','--type\x20<type>','Folder\x20name\x20for\x20organization','attempt:','--force','\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','Create\x20segment\x20folder','Cron\x20expression\x20for\x20scheduling','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','databases\x20[pattern]','list\x20[pattern]','Add\x20attributes\x20as\x20JSON\x20string','--attribute\x20[name]','forEach','isTTY','information_schema','Set\x20operation\x20timeout\x20in\x20seconds','--kind\x20<type>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','view\x20<name-or-path>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20segment\x20details\x20(alias\x20for\x20view)','delete\x20<args...>','Resume\x20from\x20specific\x20task','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','schema\x20<type>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','New\x20template\x20name','usage','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','colorFn','--from\x20<n>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Show\x20journey\x20details','--data\x20<data>','--result\x20<url>','Pause\x20a\x20running\x20journey','--reason\x20<text>','--include-stats','opts','--max-tool-iterations\x20<n>','Resume\x20from\x20specific\x20task\x20(retry)','Output\x20directory','--workspace\x20<name>','Commands:','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--no-color','Parse\x20and\x20validate\x20without\x20executing','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','push\x20[parent_or_file]','630oWpRgF','Starting\x20offset\x20(default:\x200)','--llm-project\x20<name>','pause\x20<name-or-id>','Delete\x20a\x20campaign','submit\x20[query]','--default','Workspace\x20description','test\x20[path]','list\x20[project]','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Options:','gitRevision','kill','name','Resume\x20a\x20paused\x20campaign','--retry-limit\x20<0~32>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','--attributes\x20<json>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','preAction','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','resume\x20<name-or-path>','--include-retried','Customer\x20group\x20as\x20JSON\x20string','stdout','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Update\x20a\x20workspace','show\x20[name]','Behaviors\x20as\x20JSON\x20string','Continue\x20most\x20recent\x20conversation','Personalization\x20service\x20management','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Clear\x20session\x20context','view\x20[name]','Show\x20campaign\x20details','--chat-id\x20<id>','auth','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','--to\x20<timestamp>','-p,\x20--profile\x20<name>','Maximum\x20recursion\x20depth\x20(default:\x2010)','llm',',\x20version\x20','--add-attributes\x20<json>','update\x20<name>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--delay\x20<seconds>','subcommandTerm','Workspace\x20management','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Temperature\x20(0.0-2.0,\x20default:\x200.7)','desc\x20[segment_name]','table','--attempt-id\x20<id>','--rule\x20<json>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','site','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','-o,\x20--output\x20<dir>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','run\x20[name]','push\x20[target]','use\x20[name]','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Output\x20as\x20JSON\x20Lines','push','describe','padEnd','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Table\x20management\x20commands','--no-eval','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','segments\x20[path]','project','timeline\x20[project.workflow]','-d,\x20--database\x20<db>','preview\x20[name]','-r,\x20--recursive','--editor-type\x20<type>','[attempt-id]','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','New\x20campaign\x20name','--starter-message\x20<text>','--html\x20<html>','Scheduled\x20query\x20management\x20commands','folder','action','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','parent-segment','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--from\x20<timestamp>','--jsonl','Updated\x20description','options','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','--attributes-file\x20<file>','Database\x20to\x20use\x20(overrides\x20context)','use\x20<name>','--folder\x20<name>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','format','Create\x20a\x20new\x20LLM\x20project','\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','6WuCPvI','Output\x20folder\x20(default:\x20{project_name}.llm)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Set\x20or\x20show\x20parent\x20segment\x20context','Show\x20connection\x20details\x20by\x20name','Model\x20type\x20(default:\x20claude-4.5-sonnet)','--timezone\x20<tz>','get','fields\x20[name]','history\x20<name>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Parent\x20segment\x20management','Campaign\x20management','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','segment','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','List\x20agents\x20in\x20current\x20project','Read\x20request\x20body\x20from\x20file','INFO','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Task\x20name\x20for\x20logs\x20action','push\x20[name]','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Get\x20job\x20results','38182OUIhFg','set\x20<key=value>','backup\x20<name>','slice','projects\x20[pattern]','Show\x20only\x20master\x20table\x20validation','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','us01','Show\x20job\x20details','--add-behaviors\x20<json>','chdir','Include\x20retried\x20attempts','catch','Show\x20agent\x20details','Plaintext\x20template\x20content','settings\x20<type>','Master\x20database\x20name','includes','delete\x20<name>','Skip\x20population\x20counting','Data\x20connection\x20management\x20(for\x20activations/exports)','Unknown\x20action:\x20','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--status\x20<status>','Output\x20as\x20JSON','statusline','secrets','Updated\x20schedule\x20option','Read\x20query\x20from\x20file','Update\x20an\x20existing\x20agent','-X,\x20--method\x20<method>','New\x20workspace\x20name','profile','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Show\x20schedule\x20details','setup','List\x20available\x20LLM\x20models','--resume-from\x20<task>','Pause\x20a\x20campaign','GET','--name\x20<new_name>','Campaign\x20description','Save\x20output\x20to\x20file','--session\x20<id>','--params\x20<json>','chat\x20[message...]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Launch\x20a\x20campaign','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Updated\x20timezone','pull\x20[name]','[options]\x20--\x20[claude-code-args...]','pull\x20<project>\x20[target-dir]','--revision\x20<revision>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--customer-group\x20<json>','chats','tdx','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','retry\x20<session-id>','mcp','create','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','create\x20<name>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','--add-attributes-file\x20<file>','parent_segment','--database\x20<name>','help','--to\x20<n>','Delete\x20an\x20agent','map','--debug','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Authentication\x20management','--table','database','set\x20<args...>','Show\x20authentication\x20status\x20and\x20current\x20context'];a2_0x1bc9=function(){return _0x15ed87;};return a2_0x1bc9();}const llmAgentListAction=async(_0x5df376,_0x702d92)=>{const _0x1424e0=a2_0x455ebf,_0x13b8dc=new LLMAgentsCommand(),_0x398e60=program[_0x1424e0(0x19c)](),_0x59a21e=await createTDXInstance(_0x398e60),_0x1bb903=await _0x13b8dc['run']({'options':{..._0x398e60,..._0x702d92},'args':_0x5df376?[_0x5df376]:[],'tdx':_0x59a21e});gracefulExit(_0x1bb903);};llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x306))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x17b))[a2_0x455ebf(0x202)](llmAgentListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x306))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x17b))[a2_0x455ebf(0x202)](llmAgentListAction),llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x118))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x215))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x316),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x455ebf(0x202)](async(_0x12703e,_0x128c50)=>{const _0x5e25dc=a2_0x455ebf,_0x1533b0=new LLMHistoryCommand(),_0x798a75=program['opts'](),_0x4457df=await createTDXInstance(_0x798a75),_0x3495a1=await _0x1533b0[_0x5e25dc(0x158)]({'options':{..._0x798a75,..._0x128c50},'args':_0x12703e?[_0x12703e]:[],'tdx':_0x4457df});gracefulExit(_0x3495a1);});isExperimentalAvailable()&&llmCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x12f))['description']('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x455ebf(0x202)](async(_0x504754,_0xeecfff)=>{const _0x1e9e1b=a2_0x455ebf,_0x35ed9f=new LLMLogCommand(),_0x256253=program[_0x1e9e1b(0x19c)](),_0x324464=await createTDXInstance(_0x256253),_0x2eba2f=await _0x35ed9f[_0x1e9e1b(0x158)]({'options':{..._0x256253,..._0xeecfff},'args':[_0x504754],'tdx':_0x324464});gracefulExit(_0x2eba2f);});program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x12e))[a2_0x455ebf(0x191)](a2_0x455ebf(0x25e))['description']('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x117),a2_0x455ebf(0x1c7))[a2_0x455ebf(0xaa)]('-r,\x20--resume',a2_0x455ebf(0x13e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x140),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x455ebf(0x2be)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x455ebf(0x92),'\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON')[a2_0x455ebf(0x202)](async(_0x410542,_0xabeb9)=>{const _0x1b688d=a2_0x455ebf,_0x3c0480=program['opts'](),_0x23e43f=Array[_0x1b688d(0x285)](_0x410542)?_0x410542:[];if(_0x23e43f[0x0]===_0x1b688d(0x244)){const _0x4bf036=new ClaudeStatuslineCommand(),_0x22188c=await _0x4bf036[_0x1b688d(0x158)]({'options':{..._0x3c0480,..._0xabeb9},'args':_0x23e43f[_0x1b688d(0x22e)](0x1),'tdx':null});gracefulExit(_0x22188c);}if(_0x23e43f[0x0]===_0x1b688d(0x191)){const _0x507cb2=new ClaudeUsageCommand(),_0xac7d8d=await _0x507cb2['run']({'options':{..._0x3c0480,..._0xabeb9},'args':_0x23e43f[_0x1b688d(0x22e)](0x1),'tdx':null});gracefulExit(_0xac7d8d);}const _0x39e293=new ClaudeCommand(),_0x1f1f93=await createTDXInstance(_0x3c0480),_0x10f970=await _0x39e293[_0x1b688d(0x158)]({'options':{..._0x3c0480,..._0xabeb9},'args':_0x23e43f,'tdx':_0x1f1f93});gracefulExit(_0x10f970);}),program['command'](a2_0x455ebf(0x2f5))['description'](a2_0x455ebf(0x269))['option']('--clear',a2_0x455ebf(0x1ca))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1ad),a2_0x455ebf(0x2d9))[a2_0x455ebf(0x202)](async(_0x383407,_0x1bd3b4,_0x4896af)=>{const _0x2a8352=a2_0x455ebf,_0x4090db=new UseCommand(),_0x332e1a=program[_0x2a8352(0x19c)](),_0x31f410=[];if(_0x383407)_0x31f410[_0x2a8352(0x1ec)](_0x383407);if(_0x1bd3b4)_0x31f410[_0x2a8352(0x1ec)](_0x1bd3b4);const _0x2c34d3=await _0x4090db[_0x2a8352(0x158)]({'options':{..._0x332e1a,..._0x4896af},'args':_0x31f410,'tdx':null});gracefulExit(_0x2c34d3);}),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x10d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x27a))[a2_0x455ebf(0x202)](async _0x1ba69f=>{const _0x19a0f6=a2_0x455ebf,_0x1eeb4f=new StatusCommand(),_0x54b070=program[_0x19a0f6(0x19c)](),_0x311147=await createTDXInstance(_0x54b070),_0x4ccf91=await _0x1eeb4f['run']({'options':{..._0x54b070,..._0x1ba69f},'args':[],'tdx':_0x311147});gracefulExit(_0x4ccf91);}),program[a2_0x455ebf(0xc9)]('unset\x20<resource>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1a5))[a2_0x455ebf(0xaa)]('--default',a2_0x455ebf(0x222))[a2_0x455ebf(0x202)](async(_0x14a423,_0x806bea)=>{const _0x2b19e7=a2_0x455ebf,_0x229bb1=new UnsetCommand(),_0x18f93a=program[_0x2b19e7(0x19c)](),_0x2aaf8d=await _0x229bb1[_0x2b19e7(0x158)]({'options':{..._0x18f93a,..._0x806bea},'args':[_0x14a423],'tdx':null});gracefulExit(_0x2aaf8d);}),program['command'](a2_0x455ebf(0x263))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x145))['option']('--last','Show\x20the\x20most\x20recent\x20chat')[a2_0x455ebf(0x202)](async _0x2060fd=>{const _0x17d772=a2_0x455ebf,_0x63c0a5=new ChatsCommand(),_0x52ebed=program[_0x17d772(0x19c)](),_0x5f415d=await createTDXInstance(_0x52ebed),_0x2ec785=await _0x63c0a5[_0x17d772(0x158)]({'options':{..._0x52ebed,..._0x2060fd},'args':[],'tdx':_0x5f415d});gracefulExit(_0x2ec785);});const authCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1ce))['description'](a2_0x455ebf(0x276));async function runAuthStatusCommand(_0x11d8f0){const _0x27a82f=a2_0x455ebf,_0x57174a=new AuthStatusCommand(),_0x84c5cf=program[_0x27a82f(0x19c)](),_0x92b8e=await createTDXInstance(_0x84c5cf),_0x25ceeb=await _0x57174a['run']({'options':{..._0x84c5cf,..._0x11d8f0},'args':[],'tdx':_0x92b8e});gracefulExit(_0x25ceeb);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x10d))[a2_0x455ebf(0x28a)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x455ebf(0x202)](runAuthStatusCommand),authCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x24e))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x30e))[a2_0x455ebf(0x105)](a2_0x455ebf(0x92),a2_0x455ebf(0x212))[a2_0x455ebf(0x202)](async _0xd66145=>{const _0x243b51=a2_0x455ebf,_0x1f8c1d=new AuthSetupCommand(),_0x1f07d4=program['opts'](),_0x103ee9=await createTDXInstance(_0x1f07d4),_0xe65ffa=await _0x1f8c1d[_0x243b51(0x158)]({'options':{..._0x1f07d4,..._0xd66145},'args':[],'tdx':_0x103ee9});gracefulExit(_0xe65ffa);}),authCmd['command'](a2_0x455ebf(0x2ad))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xfb))[a2_0x455ebf(0x105)](a2_0x455ebf(0x92),'\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_0x455ebf(0x202)](async _0x497aca=>{const _0x19bbb8=a2_0x455ebf,_0x5c50e9=new AuthClearCommand(),_0x419344=program[_0x19bbb8(0x19c)](),_0x145853=await _0x5c50e9[_0x19bbb8(0x158)]({'options':{..._0x419344,..._0x497aca},'args':[],'tdx':null});gracefulExit(_0x145853);});const userCmd=program[a2_0x455ebf(0xc9)]('user')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x150)),userListAction=async _0x583e2=>{const _0x1bb92c=a2_0x455ebf,_0x5b5c12=new UserListCommand(),_0xd0f4b8=program[_0x1bb92c(0x19c)](),_0xf8bbb0=await createTDXInstance(_0xd0f4b8),_0x4f085d=await _0x5b5c12[_0x1bb92c(0x158)]({'options':{..._0xd0f4b8,..._0x583e2},'args':[],'tdx':_0xf8bbb0});gracefulExit(_0x4f085d);};userCmd['action'](async _0x5e9569=>{const _0xbaa9f9=a2_0x455ebf,_0x4e35f4=new UserCommand(),_0x13bf05=program[_0xbaa9f9(0x19c)](),_0x58a7cb=await createTDXInstance(_0x13bf05),_0x481014=await _0x4e35f4['run']({'options':{..._0x13bf05,..._0x5e9569},'args':[],'tdx':_0x58a7cb});gracefulExit(_0x481014);}),userCmd['command']('list')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x15f))[a2_0x455ebf(0x202)](userListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x288))['description'](a2_0x455ebf(0x2bc))[a2_0x455ebf(0x202)](userListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x104))['description'](a2_0x455ebf(0x15e))[a2_0x455ebf(0x202)](async _0x234b74=>{const _0x2ede0c=a2_0x455ebf,_0x16f8f0=new ProfilesCommand(),_0x110fce=program[_0x2ede0c(0x19c)](),_0x205ac7=await _0x16f8f0[_0x2ede0c(0x158)]({'options':{..._0x110fce,..._0x234b74},'args':[],'tdx':null});gracefulExit(_0x205ac7);});const profileCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x24b))['description'](a2_0x455ebf(0x2d7));profileCmd[a2_0x455ebf(0x202)](()=>{const _0x3e0b37=a2_0x455ebf;profileCmd[_0x3e0b37(0x15d)]();});const profileListAction=async _0x3ddc3d=>{const _0x156ebf=new ProfilesCommand(),_0x5b66be=program['opts'](),_0x3f75a7=await _0x156ebf['run']({'options':{..._0x5b66be,..._0x3ddc3d},'args':[],'tdx':null});gracefulExit(_0x3f75a7);};profileCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xf1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x15e))[a2_0x455ebf(0x202)](profileListAction),profileCmd[a2_0x455ebf(0xc9)]('create\x20[name]')['description'](a2_0x455ebf(0x111))[a2_0x455ebf(0x105)](a2_0x455ebf(0x92),a2_0x455ebf(0x314))[a2_0x455ebf(0x202)](async(_0x2a056,_0x3b2a1f)=>{const _0x1dfbfd=a2_0x455ebf,_0x2a5a60=new ProfileCreateCommand(),_0x5061a9=program[_0x1dfbfd(0x19c)](),_0x1c2999=await _0x2a5a60[_0x1dfbfd(0x158)]({'options':{..._0x5061a9,..._0x3b2a1f},'args':_0x2a056?[_0x2a056]:[],'tdx':null});gracefulExit(_0x1c2999);}),profileCmd[a2_0x455ebf(0xc9)]('remove\x20<name>')['description']('Remove\x20a\x20profile')[a2_0x455ebf(0x105)](a2_0x455ebf(0x92),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x455ebf(0x202)](async(_0xa2bd41,_0x366104)=>{const _0x33ede4=a2_0x455ebf,_0x2c411c=new ProfileRemoveCommand(),_0x5ddd2d=program[_0x33ede4(0x19c)](),_0x38e1c6=await _0x2c411c[_0x33ede4(0x158)]({'options':{..._0x5ddd2d,..._0x366104},'args':[_0xa2bd41],'tdx':null});gracefulExit(_0x38e1c6);}),profileCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x22c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x13c))[a2_0x455ebf(0x105)]('after',a2_0x455ebf(0xae))[a2_0x455ebf(0x202)](async(_0x2ffbf5,_0x17ba65)=>{const _0xfbd1ae=a2_0x455ebf,_0x48ead8=new ProfileSetCommand(),_0x1516cb=program[_0xfbd1ae(0x19c)](),_0x55b123=await _0x48ead8[_0xfbd1ae(0x158)]({'options':{..._0x1516cb,..._0x17ba65},'args':[_0x2ffbf5],'tdx':null});gracefulExit(_0x55b123);}),profileCmd['command']('use\x20<name>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ea))['option'](a2_0x455ebf(0x1ad),a2_0x455ebf(0x2d9))['addHelpText']('after',a2_0x455ebf(0x30a))[a2_0x455ebf(0x202)](async(_0x2181b2,_0xcf4801)=>{const _0x48a83e=a2_0x455ebf,_0x395262=new ProfileUseCommand(),_0xc6ddf9=program['opts'](),_0x23525d=await _0x395262[_0x48a83e(0x158)]({'options':{..._0xc6ddf9,..._0xcf4801},'args':[_0x2181b2],'tdx':null});gracefulExit(_0x23525d);});const engageCmd=program['command'](a2_0x455ebf(0xb1))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x127)),createEngageAction=_0x2c869e=>{return async(_0x40fff7,_0x1e356b)=>{const _0x20d78e=a2_0x51ac,_0x53f192=new _0x2c869e(),_0x56dcdf=program['opts'](),_0x2eae77=await createTDXInstance(_0x56dcdf),_0x120f15=await _0x53f192[_0x20d78e(0x158)]({'options':{..._0x56dcdf,..._0x1e356b},'args':[_0x40fff7],'tdx':_0x2eae77});gracefulExit(_0x120f15);};},createEngageNoArgAction=_0x5b8ee7=>{return async _0x3cfa85=>{const _0x444773=a2_0x51ac,_0x24ebe5=new _0x5b8ee7(),_0x2dedb1=program[_0x444773(0x19c)](),_0x2cbaef=await createTDXInstance(_0x2dedb1),_0x2817ed=await _0x24ebe5[_0x444773(0x158)]({'options':{..._0x2dedb1,..._0x3cfa85},'args':[],'tdx':_0x2cbaef});gracefulExit(_0x2817ed);};},campaignCmd=engageCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xc2))['description'](a2_0x455ebf(0x21f)),campaignListAction=async(_0x1b5a3a,_0x1baede)=>{const _0x4fc038=a2_0x455ebf,_0x53b92f=new EngageCampaignsCommand(),_0x2665a5=program['opts'](),_0x5b7083=await createTDXInstance(_0x2665a5),_0x5351ba=await _0x53b92f[_0x4fc038(0x158)]({'options':{..._0x2665a5,..._0x1baede},'args':_0x1b5a3a?[_0x1b5a3a]:[],'tdx':_0x5b7083});gracefulExit(_0x5351ba);};campaignCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x10e))['option'](a2_0x455ebf(0x174),a2_0x455ebf(0x2f4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x242),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](campaignListAction),engageCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x296))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x298))[a2_0x455ebf(0xaa)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x242),a2_0x455ebf(0x18e))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](campaignListAction),campaignCmd[a2_0x455ebf(0xc9)]('show\x20<name-or-id>')['description'](a2_0x455ebf(0x1cc))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0xaa)]('--full',a2_0x455ebf(0x1c3))[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x455ebf(0x268))[a2_0x455ebf(0x28a)]('Create\x20a\x20new\x20campaign')[a2_0x455ebf(0x114)](a2_0x455ebf(0x103),'Campaign\x20name')[a2_0x455ebf(0x114)](a2_0x455ebf(0x174),a2_0x455ebf(0x2d8))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xb2))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x13d),'Campaign\x20description')[a2_0x455ebf(0xaa)]('--segment\x20<path>',a2_0x455ebf(0x205))['option'](a2_0x455ebf(0x2df),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xbf),a2_0x455ebf(0x31a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x28c),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x455ebf(0x219),a2_0x455ebf(0x125))[a2_0x455ebf(0x202)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command']('update\x20<name-or-id>')['description'](a2_0x455ebf(0x131))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))['option'](a2_0x455ebf(0x103),a2_0x455ebf(0x1fd))['option'](a2_0x455ebf(0x13d),a2_0x455ebf(0x254))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x120),a2_0x455ebf(0x205))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2df),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x455ebf(0xaa)]('--json-columns\x20<cols>',a2_0x455ebf(0x31a))['option'](a2_0x455ebf(0x28c),a2_0x455ebf(0x2af))['option'](a2_0x455ebf(0x219),a2_0x455ebf(0x125))[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x455ebf(0xc9)]('delete\x20<name-or-id>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1ab))['option']('--workspace\x20<name>',a2_0x455ebf(0xad))['option']('--yes','Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xba))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x25a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1aa))['description'](a2_0x455ebf(0x251))[a2_0x455ebf(0xaa)]('--workspace\x20<name>',a2_0x455ebf(0xad))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a5))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1b6))[a2_0x455ebf(0xaa)]('--workspace\x20<name>','Workspace\x20name')[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2b8))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xe8))['option']('--workspace\x20<name>',a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x455ebf(0xc9)]('template')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xcf)),templateListAction=async(_0x4b8d19,_0x585dee)=>{const _0x25928c=a2_0x455ebf,_0x147f3e=new EngageTemplatesCommand(),_0x53e73a=program['opts'](),_0x13bda6=await createTDXInstance(_0x53e73a),_0x26ee3a=await _0x147f3e[_0x25928c(0x158)]({'options':{..._0x53e73a,..._0x585dee},'args':_0x4b8d19?[_0x4b8d19]:[],'tdx':_0x13bda6});gracefulExit(_0x26ee3a);};templateCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xe2))['option'](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))[a2_0x455ebf(0x202)](templateListAction),engageCmd['command'](a2_0x455ebf(0xa8))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2e0))[a2_0x455ebf(0xaa)]('--workspace\x20<name>','Workspace\x20name')[a2_0x455ebf(0x202)](templateListAction),templateCmd[a2_0x455ebf(0xc9)]('show\x20<name-or-id>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ab))[a2_0x455ebf(0xaa)]('--workspace\x20<name>',a2_0x455ebf(0xad))['option'](a2_0x455ebf(0x2a3),a2_0x455ebf(0x1c3))[a2_0x455ebf(0x202)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x455ebf(0xc9)]('create')['description'](a2_0x455ebf(0xcc))['requiredOption'](a2_0x455ebf(0x103),a2_0x455ebf(0x315))[a2_0x455ebf(0x114)](a2_0x455ebf(0xef),'Email\x20subject\x20template')[a2_0x455ebf(0x114)](a2_0x455ebf(0x1ff),a2_0x455ebf(0x30f))['option'](a2_0x455ebf(0x1a0),a2_0x455ebf(0xb2))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x290),'Plaintext\x20template\x20content')['option'](a2_0x455ebf(0x1f9),a2_0x455ebf(0x302),_0x157add=>{const _0x4a4998=a2_0x455ebf;if(![_0x4a4998(0x15a),'grapesjs'][_0x4a4998(0x23c)](_0x157add))throw new SDKError(ErrorCode[_0x4a4998(0x2de)],_0x4a4998(0x12c)+_0x157add+_0x4a4998(0x14b));return _0x157add;})[a2_0x455ebf(0x202)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe4))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xec))['option']('--workspace\x20<name>',a2_0x455ebf(0xad))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x103),a2_0x455ebf(0x190))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xef),a2_0x455ebf(0x123))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1ff),'HTML\x20template\x20content')['option']('--plaintext\x20<text>',a2_0x455ebf(0x239))[a2_0x455ebf(0x202)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x455ebf(0xc9)]('delete\x20<name-or-id>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0xb0))['option'](a2_0x455ebf(0x1a0),a2_0x455ebf(0xad))['option'](a2_0x455ebf(0x9d),'Skip\x20confirmation\x20prompt')[a2_0x455ebf(0x202)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x160))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1da)),workspaceListAction=async(_0x5e1169,_0x540d34)=>{const _0x5becd2=a2_0x455ebf,_0x340f3a=new EngageWorkspacesCommand(),_0x5ce52c=program[_0x5becd2(0x19c)](),_0x5715b1=await createTDXInstance(_0x5ce52c),_0x10fae9=await _0x340f3a[_0x5becd2(0x158)]({'options':{..._0x5ce52c,..._0x540d34},'args':_0x5e1169?[_0x5e1169]:[],'tdx':_0x5715b1});gracefulExit(_0x10fae9);};workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)]('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')['action'](workspaceListAction),engageCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe7))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x195))[a2_0x455ebf(0x202)](workspaceListAction),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x126))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x159))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2a3),a2_0x455ebf(0x1c3))[a2_0x455ebf(0x202)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x268))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2b7))[a2_0x455ebf(0x114)](a2_0x455ebf(0x103),a2_0x455ebf(0xad))['option'](a2_0x455ebf(0x13d),'Workspace\x20description')[a2_0x455ebf(0x202)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xe4))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x1c4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x103),a2_0x455ebf(0x24a))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x13d),a2_0x455ebf(0x1ae))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x16e))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x112))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x9d),a2_0x455ebf(0x2aa))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x20d))[a2_0x455ebf(0x28a)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')['action'](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x455ebf(0xc9)]('connection')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x23f)),connectionListAction=async _0x1dd523=>{const _0x55dd0f=a2_0x455ebf,_0x2c6bc6=new ConnectionListCommand(),_0x4482fb=program[_0x55dd0f(0x19c)](),_0x2fe6a7=await createTDXInstance(_0x4482fb),_0x7a13f6=await _0x2c6bc6['run']({'options':{..._0x4482fb,..._0x1dd523},'args':[],'tdx':_0x2fe6a7});gracefulExit(_0x7a13f6);};connectionCmd['command'](a2_0x455ebf(0xf1))['description']('List\x20all\x20data\x20connections')[a2_0x455ebf(0x202)](connectionListAction),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0xdd),{'hidden':!![]})[a2_0x455ebf(0x28a)](a2_0x455ebf(0x286))['action'](connectionListAction),connectionCmd['command'](a2_0x455ebf(0x16c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x217))[a2_0x455ebf(0x202)](async(_0x27d8be,_0x348f59)=>{const _0x45dcf5=a2_0x455ebf,_0x253c08=new ConnectionShowCommand(),_0x16712d=program[_0x45dcf5(0x19c)](),_0x1dae67=await createTDXInstance(_0x16712d),_0x40f512=await _0x253c08[_0x45dcf5(0x158)]({'options':{..._0x16712d,..._0x348f59},'args':[_0x27d8be],'tdx':_0x1dae67});gracefulExit(_0x40f512);}),connectionCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x18c))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xf0))[a2_0x455ebf(0x202)](async(_0x45290a,_0x53a956)=>{const _0x3940b1=a2_0x455ebf,_0x11c351=new ConnectionSchemaCommand(),_0x38a4fd=program[_0x3940b1(0x19c)](),_0x60b5d4=await createTDXInstance(_0x38a4fd),_0x3e4cd2=await _0x11c351[_0x3940b1(0x158)]({'options':{..._0x38a4fd,..._0x53a956},'args':[_0x45290a],'tdx':_0x60b5d4});gracefulExit(_0x3e4cd2);}),connectionCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2a4))[a2_0x455ebf(0x28a)]('List\x20available\x20connector\x20types')['action'](async _0x163a94=>{const _0x1fc2be=a2_0x455ebf,_0x8d7dac=new ConnectionTypesCommand(),_0x4fd376=program[_0x1fc2be(0x19c)](),_0x3ab53e=await createTDXInstance(_0x4fd376),_0x261bd9=await _0x8d7dac[_0x1fc2be(0x158)]({'options':{..._0x4fd376,..._0x163a94},'args':[],'tdx':_0x3ab53e});gracefulExit(_0x261bd9);}),connectionCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x23a))[a2_0x455ebf(0x28a)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x455ebf(0x202)](async(_0x454b69,_0x3b7318)=>{const _0x2028df=a2_0x455ebf,_0x3ad181=new ConnectionSettingsCommand(),_0x4bce93=program[_0x2028df(0x19c)](),_0x579f1a=await createTDXInstance(_0x4bce93),_0x45a180=await _0x3ad181[_0x2028df(0x158)]({'options':{..._0x4bce93,..._0x3b7318},'args':[_0x454b69],'tdx':_0x579f1a});gracefulExit(_0x45a180);});const journeyCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x107))['description'](a2_0x455ebf(0x2d6)),journeyListAction=async(_0x3f239e,_0x5ce79a)=>{const _0x3ef62a=a2_0x455ebf,_0x30c602=new JourneyListCommand(),_0x44dcac=program[_0x3ef62a(0x19c)](),_0x307543=await createTDXInstance(_0x44dcac),_0x6e4df0=await _0x30c602[_0x3ef62a(0x158)]({'options':{..._0x44dcac,..._0x5ce79a},'args':_0x3f239e?[_0x3f239e]:[],'tdx':_0x307543});gracefulExit(_0x6e4df0);};journeyCmd['command'](a2_0x455ebf(0x17d))[a2_0x455ebf(0x28a)](a2_0x455ebf(0xe3))[a2_0x455ebf(0x202)](journeyListAction),journeyCmd['command'](a2_0x455ebf(0x186))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x196))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x135),'Open\x20journey\x20in\x20web\x20browser')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x19b),'Include\x20execution\x20statistics')[a2_0x455ebf(0x202)](async(_0x34f8dd,_0x425263)=>{const _0x40051a=a2_0x455ebf,_0xcc9763=new JourneyViewCommand(),_0x42e4c5=program[_0x40051a(0x19c)](),_0x88815d=await createTDXInstance(_0x42e4c5),_0xf21307=await _0xcc9763[_0x40051a(0x158)]({'options':{..._0x42e4c5,..._0x425263},'args':[_0x34f8dd],'tdx':_0x88815d});gracefulExit(_0xf21307);}),journeyCmd['command'](a2_0x455ebf(0x2c0))[a2_0x455ebf(0x28a)]('Show\x20journey\x20statistics')[a2_0x455ebf(0xaa)](a2_0x455ebf(0xd3),a2_0x455ebf(0x16d))[a2_0x455ebf(0x202)](async(_0x1e5d2a,_0x3e8972)=>{const _0x3db253=a2_0x455ebf,_0x1d88de=new JourneyStatsCommand(),_0x9992fd=program[_0x3db253(0x19c)](),_0x177790=await createTDXInstance(_0x9992fd),_0x5298c1=await _0x1d88de['run']({'options':{..._0x9992fd,..._0x3e8972},'args':[_0x1e5d2a],'tdx':_0x177790});gracefulExit(_0x5298c1);}),journeyCmd[a2_0x455ebf(0xc9)]('pause\x20<name-or-path>')[a2_0x455ebf(0x28a)](a2_0x455ebf(0x199))['action'](async(_0x19e78f,_0xb3fa07)=>{const _0x302729=a2_0x455ebf,_0x32948d=new JourneyPauseCommand(),_0x26483a=program[_0x302729(0x19c)](),_0x40aa7e=await createTDXInstance(_0x26483a),_0x144268=await _0x32948d[_0x302729(0x158)]({'options':{..._0x26483a,..._0xb3fa07},'args':[_0x19e78f],'tdx':_0x40aa7e});gracefulExit(_0x144268);}),journeyCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1bf))[a2_0x455ebf(0x28a)]('Resume\x20a\x20paused\x20journey')[a2_0x455ebf(0x202)](async(_0x168cf6,_0x1ca014)=>{const _0x41dc33=a2_0x455ebf,_0x10fbeb=new JourneyResumeCommand(),_0x290706=program[_0x41dc33(0x19c)](),_0x3350a4=await createTDXInstance(_0x290706),_0x5085dc=await _0x10fbeb['run']({'options':{..._0x290706,..._0x1ca014},'args':[_0x168cf6],'tdx':_0x3350a4});gracefulExit(_0x5085dc);}),journeyCmd['command'](a2_0x455ebf(0x25d))[a2_0x455ebf(0x28a)]('Export\x20journey(s)\x20as\x20YAML\x20files')['option']('-y,\x20--yes',a2_0x455ebf(0x2aa))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x2dc))[a2_0x455ebf(0x202)](async(_0x41b244,_0x3ff2ad)=>{const _0x212ccf=a2_0x455ebf,_0x45d293=new JourneyPullCommand(),_0x2adba3=program[_0x212ccf(0x19c)](),_0x449bd7=await createTDXInstance(_0x2adba3),_0x4345e1=await _0x45d293[_0x212ccf(0x158)]({'options':{..._0x2adba3,..._0x3ff2ad},'args':_0x41b244?[_0x41b244]:[],'tdx':_0x449bd7});gracefulExit(_0x4345e1);}),journeyCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1e8))['description'](a2_0x455ebf(0x1cf))['action'](async(_0x16a2a5,_0x3f712b)=>{const _0x4ddabb=a2_0x455ebf,_0x2a5014=new JourneyPushCommand(),_0xa39ef4=program[_0x4ddabb(0x19c)](),_0x3abb1b=await createTDXInstance(_0xa39ef4),_0x392704=await _0x2a5014[_0x4ddabb(0x158)]({'options':{..._0xa39ef4,..._0x3f712b},'args':_0x16a2a5?[_0x16a2a5]:[],'tdx':_0x3abb1b});gracefulExit(_0x392704);}),journeyCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xb5))[a2_0x455ebf(0x28a)]('Validate\x20journey\x20YAML\x20files\x20locally')['action'](async(_0x6dad98,_0x1e0819)=>{const _0x1f432d=new JourneyValidateCommand(),_0x1cebef=program['opts'](),_0x350f55=await createTDXInstance(_0x1cebef),_0x56e899=await _0x1f432d['run']({'options':{..._0x1cebef,..._0x1e0819},'args':_0x6dad98?[_0x6dad98]:[],'tdx':_0x350f55});gracefulExit(_0x56e899);}),program[a2_0x455ebf(0xc9)](a2_0x455ebf(0xcb))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x143))[a2_0x455ebf(0x202)](journeyListAction);const agentSyncCmd=program[a2_0x455ebf(0xc9)](a2_0x455ebf(0x2b4))['description'](a2_0x455ebf(0x119));agentSyncCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x27f))[a2_0x455ebf(0x28a)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1e4),a2_0x455ebf(0x19f))['option'](a2_0x455ebf(0x281),a2_0x455ebf(0x2f9))[a2_0x455ebf(0x202)](async(_0x24e527,_0x368b28,_0x5ed041)=>{const _0x3b280a=a2_0x455ebf,_0x38988b=new AgentPullCommand(),_0xcf3b5b=program['opts'](),_0x5e81d6=await createTDXInstance(_0xcf3b5b),_0xf24a52=[];if(_0x24e527)_0xf24a52[_0x3b280a(0x1ec)](_0x24e527);if(_0x368b28)_0xf24a52['push'](_0x368b28);const _0x50f367=await _0x38988b[_0x3b280a(0x158)]({'options':{..._0xcf3b5b,..._0x5ed041},'args':_0xf24a52,'tdx':_0x5e81d6});gracefulExit(_0x50f367);}),agentSyncCmd[a2_0x455ebf(0xc9)]('push\x20[path]')['description'](a2_0x455ebf(0x172))['option'](a2_0x455ebf(0x281),a2_0x455ebf(0xbb))['action'](async(_0xe99c59,_0x1102fc)=>{const _0x336b68=a2_0x455ebf,_0x3c9583=new AgentPushCommand(),_0x48f37b=program['opts'](),_0x3ac3c3=await createTDXInstance(_0x48f37b),_0x206855=await _0x3c9583[_0x336b68(0x158)]({'options':{..._0x48f37b,..._0x1102fc},'args':_0xe99c59?[_0xe99c59]:[],'tdx':_0x3ac3c3});gracefulExit(_0x206855);}),agentSyncCmd[a2_0x455ebf(0xc9)]('clone\x20[source]')[a2_0x455ebf(0x28a)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x31e),a2_0x455ebf(0xdc))[a2_0x455ebf(0x202)](async(_0x4fbfbc,_0x3e160b)=>{const _0x2855a4=a2_0x455ebf,_0x480c78=new AgentCloneCommand(),_0xfe5df9=program[_0x2855a4(0x19c)](),_0x3f943b=await createTDXInstance(_0xfe5df9),_0x51f5d6=await _0x480c78[_0x2855a4(0x158)]({'options':{..._0xfe5df9,..._0x3e160b},'args':_0x4fbfbc?[_0x4fbfbc]:[],'tdx':_0x3f943b});gracefulExit(_0x51f5d6);}),agentSyncCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0x1af))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x2ef))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x319),a2_0x455ebf(0xb6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x14c),a2_0x455ebf(0xc6))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x2cb),a2_0x455ebf(0x1a4))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1f1),a2_0x455ebf(0x11d))['option'](a2_0x455ebf(0x2c9),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')[a2_0x455ebf(0x202)](async(_0x126a65,_0x50941d)=>{const _0x3b8130=a2_0x455ebf,_0x1e2652=new AgentTestCommand(),_0x2052d5=program[_0x3b8130(0x19c)](),_0x2bc2f7=await createTDXInstance(_0x2052d5),_0x4e5c99=await _0x1e2652[_0x3b8130(0x158)]({'options':{..._0x2052d5,..._0x50941d},'args':_0x126a65?[_0x126a65]:[],'tdx':_0x2bc2f7});gracefulExit(_0x4e5c99);}),agentSyncCmd[a2_0x455ebf(0xc9)]('list\x20[pattern]')['description'](a2_0x455ebf(0x223))[a2_0x455ebf(0x202)](llmAgentListAction),agentSyncCmd['command'](a2_0x455ebf(0x13a))['description'](a2_0x455ebf(0x238))[a2_0x455ebf(0x202)](async(_0x13a5ad,_0x1f2468)=>{const _0xfee77e=new LLMAgentShowCommand(),_0x2e45ce=program['opts'](),_0x387569=await createTDXInstance(_0x2e45ce),_0x25c93f=await _0xfee77e['run']({'options':{..._0x2e45ce,..._0x1f2468},'args':[_0x13a5ad],'tdx':_0x387569});gracefulExit(_0x25c93f);}),agentSyncCmd['command'](a2_0x455ebf(0x26a))['description'](a2_0x455ebf(0xaf))[a2_0x455ebf(0xaa)](a2_0x455ebf(0xc1),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x455ebf(0xaa)]('--model\x20<name>',a2_0x455ebf(0x218),'claude-4.5-sonnet')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x1fe),'Starter\x20message')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x19d),a2_0x455ebf(0x2e2),'4')[a2_0x455ebf(0xaa)]('--temperature\x20<n>',a2_0x455ebf(0x1dc),'0.7')['action'](async(_0x49edb5,_0x716bfd)=>{const _0x5838f5=a2_0x455ebf,_0x1c06c9=new LLMAgentCreateCommand(),_0x50cc0b=program['opts'](),_0x3037ff=await createTDXInstance(_0x50cc0b),_0x40a3d9=await _0x1c06c9[_0x5838f5(0x158)]({'options':{..._0x50cc0b,..._0x716bfd},'args':[_0x49edb5],'tdx':_0x3037ff});gracefulExit(_0x40a3d9);}),agentSyncCmd[a2_0x455ebf(0xc9)]('update\x20<agent-name>')['description'](a2_0x455ebf(0x248))[a2_0x455ebf(0xaa)](a2_0x455ebf(0x138),'Agent\x20name')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x320),'Agent\x20prompt/instructions')[a2_0x455ebf(0xaa)](a2_0x455ebf(0x153),'Agent\x20description')['option']('--starter-message\x20<text>',a2_0x455ebf(0x2f7))[a2_0x455ebf(0x202)](async(_0x44a467,_0x23654f)=>{const _0x35ee06=a2_0x455ebf,_0x591f0e=new LLMAgentUpdateCommand(),_0xe2d0ba=program[_0x35ee06(0x19c)](),_0x3c8273=await createTDXInstance(_0xe2d0ba),_0x1c3499=await _0x591f0e['run']({'options':{..._0xe2d0ba,..._0x23654f},'args':[_0x44a467],'tdx':_0x3c8273});gracefulExit(_0x1c3499);}),agentSyncCmd[a2_0x455ebf(0xc9)](a2_0x455ebf(0xf7))[a2_0x455ebf(0x28a)](a2_0x455ebf(0x272))['action'](async(_0x3e8bef,_0x14e421)=>{const _0x1d7873=a2_0x455ebf,_0x18af1d=new LLMAgentDeleteCommand(),_0x51f28b=program['opts'](),_0x3f1699=await createTDXInstance(_0x51f28b),_0x172861=await _0x18af1d[_0x1d7873(0x158)]({'options':{..._0x51f28b,..._0x14e421},'args':[_0x3e8bef],'tdx':_0x3f1699});gracefulExit(_0x172861);});export{program};export function runCLI(){const _0x20a1d6=a2_0x455ebf,_0x36f527=!process[_0x20a1d6(0x2fe)]['slice'](0x2)['length'];showBriefHelp=_0x36f527,program['parse'](process[_0x20a1d6(0x2fe)]);_0x36f527&&program[_0x20a1d6(0x15d)]();if(process[_0x20a1d6(0x310)]['isTTY']&&process['argv'][_0x20a1d6(0x124)]>0x2&&!isDevVersion()){const _0x154e4d=loadReleaseChannel();checkForUpdate(currentVersion,_0x154e4d)['then'](_0x13f229=>{_0x13f229&&displayUpdateNotification(_0x13f229);})[_0x20a1d6(0x237)](()=>{});}}
1
+ const a2_0x273220=a2_0x2089;(function(_0x306041,_0x374016){const _0x103fd9=a2_0x2089,_0x26abc2=_0x306041();while(!![]){try{const _0x482da0=parseInt(_0x103fd9(0x431))/0x1+-parseInt(_0x103fd9(0x315))/0x2*(-parseInt(_0x103fd9(0x202))/0x3)+-parseInt(_0x103fd9(0x418))/0x4+-parseInt(_0x103fd9(0x3a3))/0x5*(parseInt(_0x103fd9(0x28e))/0x6)+-parseInt(_0x103fd9(0x25c))/0x7*(parseInt(_0x103fd9(0x2fe))/0x8)+parseInt(_0x103fd9(0x3f3))/0x9*(-parseInt(_0x103fd9(0x207))/0xa)+parseInt(_0x103fd9(0x280))/0xb;if(_0x482da0===_0x374016)break;else _0x26abc2['push'](_0x26abc2['shift']());}catch(_0x3359c1){_0x26abc2['push'](_0x26abc2['shift']());}}}(a2_0x36cc,0xa7ffd));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';function a2_0x2089(_0x594135,_0x1eaf89){_0x594135=_0x594135-0x1f3;const _0x36ccb5=a2_0x36cc();let _0x208956=_0x36ccb5[_0x594135];return _0x208956;}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,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}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{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_0x273220(0x30a)](a2_0x273220(0x324))){let versionOutput=a2_0x273220(0x29b)+currentVersion;buildInfo[a2_0x273220(0x295)]&&!currentVersion[a2_0x273220(0x30a)](buildInfo[a2_0x273220(0x295)])&&(versionOutput+='\x20('+buildInfo[a2_0x273220(0x295)]+')'),buildInfo[a2_0x273220(0x2bc)]&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x273220(0x2bc)]),console['log'](versionOutput),process[a2_0x273220(0x329)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x273220(0x267);buildInfo[a2_0x273220(0x295)]&&!currentVersion['includes'](buildInfo[a2_0x273220(0x295)])?description+=a2_0x273220(0x291)+currentVersion+'\x20('+buildInfo[a2_0x273220(0x295)]+')':description+=a2_0x273220(0x291)+currentVersion;program[a2_0x273220(0x257)](a2_0x273220(0x454))[a2_0x273220(0x274)](description),program[a2_0x273220(0x47a)](a2_0x273220(0x41e),a2_0x273220(0x26b))[a2_0x273220(0x47a)](a2_0x273220(0x226),a2_0x273220(0x29d))[a2_0x273220(0x47a)](a2_0x273220(0x2b0),a2_0x273220(0x43a),'us01')[a2_0x273220(0x47a)]('--format\x20<format>',a2_0x273220(0x484))[a2_0x273220(0x47a)](a2_0x273220(0x2e4),a2_0x273220(0x1f7))[a2_0x273220(0x47a)](a2_0x273220(0x2ca),a2_0x273220(0x3dc))['option']('--jsonl',a2_0x273220(0x2ed))['option'](a2_0x273220(0x2f5),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option'](a2_0x273220(0x333),a2_0x273220(0x213))[a2_0x273220(0x47a)]('--limit\x20<number>',a2_0x273220(0x2b7))['option'](a2_0x273220(0x3f1),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x273220(0x47a)]('--no-color',a2_0x273220(0x200),![])['option'](a2_0x273220(0x402),'Enable\x20verbose\x20logging',![])['option'](a2_0x273220(0x31a),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x273220(0x47a)](a2_0x273220(0x264),a2_0x273220(0x30c))[a2_0x273220(0x47a)]('--timeout\x20<seconds>',a2_0x273220(0x1f3),'30')[a2_0x273220(0x47a)](a2_0x273220(0x313),a2_0x273220(0x44f),![])[a2_0x273220(0x47a)](a2_0x273220(0x2a0),a2_0x273220(0x3ba),![])[a2_0x273220(0x47a)](a2_0x273220(0x27d),a2_0x273220(0x2ff))[a2_0x273220(0x47a)](a2_0x273220(0x3ec),'Database\x20to\x20use\x20(overrides\x20context)')[a2_0x273220(0x47a)](a2_0x273220(0x337),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x273220(0x47a)](a2_0x273220(0x318),a2_0x273220(0x29e))[a2_0x273220(0x47a)](a2_0x273220(0x3b2),a2_0x273220(0x36d)),program[a2_0x273220(0x42c)]({'formatHelp':(_0x14e907,_0x5b67fc)=>{const _0x450571=a2_0x273220,_0x5276bd=_0x5b67fc['padWidth'](_0x14e907,_0x5b67fc),_0x3ddab1=0x2,_0x367242=0x2;function _0xfeba8c(_0x2d3ba6){const _0x180e4a=a2_0x2089,_0x40b815=_0x2d3ba6;return!!(_0x40b815[_0x180e4a(0x268)]||_0x40b815[_0x180e4a(0x449)]);}function _0x2b3716(_0x1eb27c,_0x19753c){const _0x2d300e=a2_0x2089;if(_0x19753c){const _0x349f54=''+_0x1eb27c[_0x2d300e(0x32c)](_0x5276bd+_0x367242)+_0x19753c;return _0x349f54;}return _0x1eb27c;}function _0x280682(_0x59aea8){const _0x36ac47=a2_0x2089;return _0x59aea8['join']('\x0a')[_0x36ac47(0x2f1)](/^/gm,'\x20'[_0x36ac47(0x394)](_0x3ddab1));}const _0x1e0dd8=[];_0x1e0dd8[_0x450571(0x34a)](_0x450571(0x3d2)+_0x5b67fc[_0x450571(0x3d1)](_0x14e907));const _0x5d25ab=_0x5b67fc[_0x450571(0x45d)](_0x14e907);_0x5d25ab&&(_0x1e0dd8['push'](''),_0x1e0dd8[_0x450571(0x34a)](_0x5d25ab));const _0x308c23=_0x14e907[_0x450571(0x3b7)][_0x450571(0x29f)](_0x2707c7=>!_0xfeba8c(_0x2707c7));if(_0x308c23[_0x450571(0x375)]>0x0){if(_0x14e907[_0x450571(0x257)]()===_0x450571(0x454)){const _0x178ab4=_0x14e907[_0x450571(0x294)](),_0x4fb12d=!_0x178ab4[_0x450571(0x3df)]&&process[_0x450571(0x3a1)]['isTTY'],_0x4996a2=COMMAND_CATEGORIES,_0x5a99e4=(_0xea2cb4,_0x23769c)=>_0x4fb12d?_0x23769c(_0xea2cb4):_0xea2cb4,_0x38c2c8=new Map();_0x308c23[_0x450571(0x26e)](_0x4ac0e1=>{const _0x587698=_0x450571;_0x38c2c8[_0x587698(0x43e)](_0x4ac0e1['name'](),_0x4ac0e1);}),_0x4996a2[_0x450571(0x26e)](_0x33dfd9=>{const _0x52b30d=_0x450571,_0x34be2f=_0x33dfd9['commands'][_0x52b30d(0x243)](_0x571119=>_0x38c2c8[_0x52b30d(0x2ae)](_0x571119)??[]);if(_0x34be2f[_0x52b30d(0x375)]>0x0){_0x1e0dd8[_0x52b30d(0x34a)](''),_0x1e0dd8[_0x52b30d(0x34a)](_0x5a99e4(_0x33dfd9['name']+':',_0x33dfd9[_0x52b30d(0x2ad)]));const _0x39550b=_0x34be2f['map'](_0x1d042f=>{const _0x39f0dd=_0x52b30d,_0x5c7c7a=_0x5b67fc[_0x39f0dd(0x2db)](_0x1d042f),_0x101d8e=_0x5b67fc[_0x39f0dd(0x224)](_0x1d042f);return _0x2b3716(_0x5c7c7a,_0x101d8e);});_0x1e0dd8[_0x52b30d(0x34a)](_0x280682(_0x39550b));}}),_0x1e0dd8[_0x450571(0x34a)](''),_0x1e0dd8['push'](_0x450571(0x3a9));}else{const _0x4ce4b8=_0x308c23[_0x450571(0x2e3)](_0x576ec0=>{const _0x1e39a2=_0x450571,_0x4f38e8=_0x5b67fc[_0x1e39a2(0x2db)](_0x576ec0),_0x3e4c83=_0x5b67fc['subcommandDescription'](_0x576ec0);return _0x2b3716(_0x4f38e8,_0x3e4c83);});_0x1e0dd8[_0x450571(0x34a)](''),_0x1e0dd8['push'](_0x450571(0x28c)),_0x1e0dd8['push'](_0x280682(_0x4ce4b8));}}if(showBriefHelp&&_0x14e907[_0x450571(0x257)]()===_0x450571(0x454))_0x1e0dd8[_0x450571(0x34a)](''),_0x1e0dd8[_0x450571(0x34a)](_0x450571(0x365));else{const _0x5ea8ee=_0x14e907[_0x450571(0x443)][_0x450571(0x29f)](_0x29a1ac=>!_0xfeba8c(_0x29a1ac));if(_0x5ea8ee[_0x450571(0x375)]>0x0){const _0x2847ae=_0x5ea8ee[_0x450571(0x2e3)](_0x3483dd=>{const _0xfafb1d=_0x450571,_0x360644=_0x5b67fc['optionTerm'](_0x3483dd),_0x2b4c1b=_0x5b67fc[_0xfafb1d(0x414)](_0x3483dd);return _0x2b3716(_0x360644,_0x2b4c1b);});_0x1e0dd8['push'](''),_0x1e0dd8[_0x450571(0x34a)](_0x450571(0x211)),_0x1e0dd8[_0x450571(0x34a)](_0x280682(_0x2847ae));}}const _0x2b18ef=(_0x14e907['registeredArguments']||[])['filter'](_0x5600d0=>!_0xfeba8c(_0x5600d0));if(_0x2b18ef[_0x450571(0x375)]>0x0){const _0xfc5fa8=_0x2b18ef[_0x450571(0x2e3)](_0x7220bb=>{const _0x304293=_0x450571,_0x467c0c=_0x5b67fc[_0x304293(0x265)](_0x7220bb),_0x1687c1=_0x5b67fc[_0x304293(0x42f)](_0x7220bb);return _0x2b3716(_0x467c0c,_0x1687c1);});_0x1e0dd8[_0x450571(0x34a)](''),_0x1e0dd8[_0x450571(0x34a)]('Arguments:'),_0x1e0dd8['push'](_0x280682(_0xfc5fa8));}return _0x1e0dd8[_0x450571(0x2d2)]('\x0a')+'\x0a';},'subcommandTerm':_0x15ac8c=>{const _0x48cd0d=a2_0x273220,_0x317fc1=(_0x15ac8c[_0x48cd0d(0x2a4)]||[])[_0x48cd0d(0x2e3)](_0x59a5cd=>_0x59a5cd[_0x48cd0d(0x24d)]?'<'+_0x59a5cd[_0x48cd0d(0x257)]()+'>':'['+_0x59a5cd[_0x48cd0d(0x257)]()+']')[_0x48cd0d(0x2d2)]('\x20'),_0x5cbeb0=_0x15ac8c[_0x48cd0d(0x3e8)](),_0x1b7ba1=_0x5cbeb0[_0x48cd0d(0x375)]>0x0?_0x15ac8c['name']()+',\x20'+_0x5cbeb0[_0x48cd0d(0x2d2)](',\x20'):_0x15ac8c[_0x48cd0d(0x257)]();return _0x317fc1?_0x1b7ba1+'\x20'+_0x317fc1:_0x1b7ba1;}}),program['hook'](a2_0x273220(0x457),_0x627240=>{const _0x1f9807=a2_0x273220,_0x2385eb=_0x627240[_0x1f9807(0x294)]();if(_0x2385eb[_0x1f9807(0x338)]){const _0x270adc=resolve(_0x2385eb[_0x1f9807(0x338)]),_0x5ddcd3=_0x270adc!==_0x2385eb[_0x1f9807(0x338)]?'\x20(resolved\x20to\x20'+_0x270adc+')':'';if(!existsSync(_0x270adc))throw new SDKError(ErrorCode[_0x1f9807(0x229)],'Directory\x20does\x20not\x20exist:\x20'+_0x2385eb[_0x1f9807(0x338)]+_0x5ddcd3,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x5c0d61=statSync(_0x270adc);if(!_0x5c0d61[_0x1f9807(0x3cf)]())throw new SDKError(ErrorCode[_0x1f9807(0x229)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x2385eb['directory']+_0x5ddcd3,undefined,{'helpText':_0x1f9807(0x2ea)});process[_0x1f9807(0x299)](_0x270adc);}if(!_0x2385eb[_0x1f9807(0x469)]){if(_0x2385eb[_0x1f9807(0x22c)])_0x2385eb[_0x1f9807(0x469)]=_0x1f9807(0x22c);else{if(_0x2385eb[_0x1f9807(0x379)])_0x2385eb['format']=_0x1f9807(0x379);else{if(_0x2385eb[_0x1f9807(0x41a)])_0x2385eb[_0x1f9807(0x469)]='jsonl';else _0x2385eb[_0x1f9807(0x31d)]&&(_0x2385eb[_0x1f9807(0x469)]='tsv');}}}_0x2385eb['in']&&!_0x2385eb[_0x1f9807(0x42e)]&&(_0x2385eb[_0x1f9807(0x42e)]=_0x2385eb['in']);if(_0x2385eb[_0x1f9807(0x35e)])_0x2385eb[_0x1f9807(0x483)]=LogLevel[_0x1f9807(0x2f3)];else{if(_0x2385eb[_0x1f9807(0x29c)])_0x2385eb[_0x1f9807(0x483)]=LogLevel['DEBUG'];else _0x2385eb[_0x1f9807(0x483)]===undefined&&(_0x2385eb[_0x1f9807(0x483)]=LogLevel[_0x1f9807(0x259)]);}});async function createTDXInstance(_0x60bc6c){const _0x18626c=a2_0x273220,_0x178f4b=await GlobalContext['createAsync'](_0x60bc6c);return _0x178f4b[_0x18626c(0x352)](_0x60bc6c),TDX[_0x18626c(0x34d)]({'site':_0x178f4b[_0x18626c(0x210)],'apiKey':_0x178f4b[_0x18626c(0x388)],'logLevel':_0x178f4b[_0x18626c(0x483)],'profile':_0x178f4b[_0x18626c(0x458)]});}const databaseCmd=program['command']('database')[a2_0x273220(0x273)]('db')[a2_0x273220(0x274)]('Database\x20management\x20commands'),databaseListAction=async(_0x396c19,_0xe7396e)=>{const _0x278336=a2_0x273220,_0x5a42b1=new DatabasesCommand(),_0x59bbeb=program['opts'](),_0x1f00ca=await createTDXInstance(_0x59bbeb),_0x269c4c=await _0x5a42b1[_0x278336(0x439)]({'options':{..._0x59bbeb,..._0xe7396e},'args':_0x396c19?[_0x396c19]:[],'tdx':_0x1f00ca});gracefulExit(_0x269c4c);};databaseCmd['command'](a2_0x273220(0x3a5))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x273220(0x349)](databaseListAction),program[a2_0x273220(0x3ad)](a2_0x273220(0x46e),{'hidden':!![]})[a2_0x273220(0x274)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x273220(0x349)](databaseListAction),program[a2_0x273220(0x3ad)](a2_0x273220(0x404))[a2_0x273220(0x274)](a2_0x273220(0x3be))['option']('--agent\x20<ref>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x273220(0x47a)](a2_0x273220(0x25b),'Start\x20a\x20new\x20chat\x20session')[a2_0x273220(0x47a)]('--chat-id\x20<id>',a2_0x273220(0x39e))[a2_0x273220(0x47a)](a2_0x273220(0x296),a2_0x273220(0x38f))[a2_0x273220(0x349)](async(_0x1eb2a1,_0x351cd4)=>{const _0x5a3558=a2_0x273220,_0x2140b5=program[_0x5a3558(0x294)](),_0x30ec85=await createTDXInstance(_0x2140b5);if(_0x1eb2a1[0x0]===_0x5a3558(0x34d)){const _0x5e409f=new ChatCreateCommand();gracefulExit(await _0x5e409f['run']({'options':{..._0x2140b5,..._0x351cd4},'args':_0x1eb2a1[_0x5a3558(0x23c)](0x1),'tdx':_0x30ec85}));return;}const _0x49a1ee=new ChatCommand(),_0x2a25f4=await _0x49a1ee[_0x5a3558(0x439)]({'options':{..._0x2140b5,..._0x351cd4},'args':_0x1eb2a1,'tdx':_0x30ec85});gracefulExit(_0x2a25f4);});const apiCmd=program[a2_0x273220(0x3ad)](a2_0x273220(0x2de))['summary']('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x273220(0x36b)]('after',a2_0x273220(0x304))[a2_0x273220(0x47a)](a2_0x273220(0x204),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','GET')['option'](a2_0x273220(0x1fa),a2_0x273220(0x470))[a2_0x273220(0x47a)](a2_0x273220(0x3c1),'Read\x20request\x20body\x20from\x20file')['option'](a2_0x273220(0x234),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x179443,_0x3db05d)=>{return _0x3db05d?[..._0x3db05d,_0x179443]:[_0x179443];})[a2_0x273220(0x47a)](a2_0x273220(0x360),a2_0x273220(0x31f),'td')[a2_0x273220(0x349)](async(_0x10f001,_0x4b6727)=>{const _0x45aaa6=a2_0x273220;if(!_0x10f001){apiCmd['help']();return;}const _0x551915=new ApiCommand(),_0x5202c9=program[_0x45aaa6(0x294)](),_0x440513=await createTDXInstance(_0x5202c9),_0x57488c=await _0x551915[_0x45aaa6(0x439)]({'options':{..._0x5202c9,..._0x4b6727},'args':[_0x10f001],'tdx':_0x440513});gracefulExit(_0x57488c);});program[a2_0x273220(0x3ad)](a2_0x273220(0x429))['description'](a2_0x273220(0x43f))['addHelpText'](a2_0x273220(0x410),a2_0x273220(0x27f))[a2_0x273220(0x349)](async _0x360418=>{const _0x3fc5d3=a2_0x273220,_0x2d99ea=new MCPCommand(),_0x257f3a=program[_0x3fc5d3(0x294)](),_0x5b0fda=await createTDXInstance(_0x257f3a),_0x9a2170=await _0x2d99ea['run']({'options':{..._0x257f3a,..._0x360418},'args':[],'tdx':_0x5b0fda});gracefulExit(_0x9a2170);});const tableCmd=program['command'](a2_0x273220(0x22c))[a2_0x273220(0x274)](a2_0x273220(0x44a)),tableListAction=async(_0x474bd8,_0x1cc3f3)=>{const _0x106f30=a2_0x273220,_0x10bf8d=new TablesCommand(),_0x15814d=program[_0x106f30(0x294)](),_0x3c5ddf=await createTDXInstance(_0x15814d);_0x1cc3f3['in']&&(_0x1cc3f3['database']=_0x1cc3f3['in']);const _0x285c06=await _0x10bf8d['run']({'options':{..._0x15814d,..._0x1cc3f3},'args':_0x474bd8?[_0x474bd8]:[],'tdx':_0x3c5ddf});gracefulExit(_0x285c06);};tableCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a5))[a2_0x273220(0x274)](a2_0x273220(0x322))[a2_0x273220(0x47a)]('-d,\x20--database\x20<database>',a2_0x273220(0x24e))[a2_0x273220(0x47a)](a2_0x273220(0x3c4),a2_0x273220(0x309))[a2_0x273220(0x349)](tableListAction),program[a2_0x273220(0x3ad)](a2_0x273220(0x247),{'hidden':!![]})['description'](a2_0x273220(0x2e8))[a2_0x273220(0x47a)](a2_0x273220(0x34c),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')['option'](a2_0x273220(0x3c4),a2_0x273220(0x309))[a2_0x273220(0x349)](tableListAction),program[a2_0x273220(0x3ad)](a2_0x273220(0x242))[a2_0x273220(0x274)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x273220(0x47a)](a2_0x273220(0x34c),a2_0x273220(0x35f))[a2_0x273220(0x47a)](a2_0x273220(0x3c4),a2_0x273220(0x309))[a2_0x273220(0x349)](async(_0x3d2d24,_0x1e2c07)=>{const _0x11aea0=a2_0x273220,_0x148190=new ShowCommand(),_0x2a169f=program[_0x11aea0(0x294)](),_0x1fdd31=await createTDXInstance(_0x2a169f);_0x1e2c07['in']&&(_0x1e2c07[_0x11aea0(0x42e)]=_0x1e2c07['in']);const _0x3dbb27=await _0x148190['run']({'options':{..._0x2a169f,..._0x1e2c07},'args':_0x3d2d24?[_0x3d2d24]:[],'tdx':_0x1fdd31});gracefulExit(_0x3dbb27);}),program[a2_0x273220(0x3ad)]('describe\x20[table]')[a2_0x273220(0x273)]('desc')['description'](a2_0x273220(0x218))[a2_0x273220(0x47a)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x273220(0x47a)](a2_0x273220(0x3c4),a2_0x273220(0x309))['action'](async(_0x2fd288,_0x3a3020)=>{const _0x591556=a2_0x273220,_0x50d932=new DescribeCommand(),_0x8c3f17=program['opts'](),_0x49a5dc=await createTDXInstance(_0x8c3f17);_0x3a3020['in']&&(_0x3a3020[_0x591556(0x42e)]=_0x3a3020['in']);const _0x4f99ec=await _0x50d932[_0x591556(0x439)]({'options':{..._0x8c3f17,..._0x3a3020},'args':_0x2fd288?[_0x2fd288]:[],'tdx':_0x49a5dc});gracefulExit(_0x4f99ec);}),program[a2_0x273220(0x3ad)](a2_0x273220(0x262))[a2_0x273220(0x274)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')['option'](a2_0x273220(0x34c),a2_0x273220(0x41f))[a2_0x273220(0x47a)](a2_0x273220(0x3c4),a2_0x273220(0x309))[a2_0x273220(0x47a)]('--catalog\x20<catalog>','Trino\x20catalog\x20(default:\x20td)')[a2_0x273220(0x47a)](a2_0x273220(0x3c1),'Read\x20SQL\x20query\x20from\x20file')[a2_0x273220(0x47a)](a2_0x273220(0x241),'Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')['action'](async(_0x1a1260,_0x10bd62)=>{const _0x1ed2d3=a2_0x273220,_0x202835=new QueryCommand(),_0x41e504=program['opts'](),_0x54efd0=await createTDXInstance(_0x41e504);_0x10bd62['in']&&(_0x10bd62[_0x1ed2d3(0x42e)]=_0x10bd62['in']);const _0x35ea1b=await _0x202835[_0x1ed2d3(0x439)]({'options':{..._0x41e504,..._0x10bd62},'args':_0x1a1260?[_0x1a1260]:[],'tdx':_0x54efd0});gracefulExit(_0x35ea1b);});const segmentCmd=program[a2_0x273220(0x3ad)](a2_0x273220(0x3f4))[a2_0x273220(0x273)]('sg')['description'](a2_0x273220(0x417)),segmentListAction=async(_0x25722c,_0x2a4bf2)=>{const _0x32fa22=a2_0x273220,_0x389bb8=new SegmentsCommand(),_0x1d07f6=program[_0x32fa22(0x294)](),_0x2b3747=await createTDXInstance(_0x1d07f6),_0x519117=await _0x389bb8['run']({'options':{..._0x1d07f6,..._0x2a4bf2},'args':_0x25722c?[_0x25722c]:[],'tdx':_0x2b3747});gracefulExit(_0x519117);};segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3b4))[a2_0x273220(0x274)](a2_0x273220(0x380))[a2_0x273220(0x47a)](a2_0x273220(0x236),a2_0x273220(0x2bb))[a2_0x273220(0x47a)](a2_0x273220(0x2b4),a2_0x273220(0x306),'10')[a2_0x273220(0x349)](segmentListAction),program[a2_0x273220(0x3ad)](a2_0x273220(0x409),{'hidden':!![]})['description'](a2_0x273220(0x347))[a2_0x273220(0x47a)](a2_0x273220(0x236),a2_0x273220(0x2bb))[a2_0x273220(0x47a)]('--max-depth\x20<depth>',a2_0x273220(0x306),'10')[a2_0x273220(0x349)](segmentListAction),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x341),{'hidden':!![]})[a2_0x273220(0x274)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x273220(0x349)](async(_0x53353a,_0xed383f)=>{const _0x255d86=a2_0x273220,_0x432ae5=new SegmentUseCommand(),_0x32135b=program[_0x255d86(0x294)](),_0x28c899=await createTDXInstance(_0x32135b),_0x37297c=await _0x432ae5[_0x255d86(0x439)]({'options':{..._0x32135b,..._0xed383f},'args':[_0x53353a],'tdx':_0x28c899});gracefulExit(_0x37297c);});const segmentViewAction=async(_0x4362c9,_0x2bca86)=>{const _0x2218a=a2_0x273220,_0x21484c=new SegmentViewCommand(),_0x2c1d64=program[_0x2218a(0x294)](),_0x42bf76=await createTDXInstance(_0x2c1d64),_0x2e24be=await _0x21484c[_0x2218a(0x439)]({'options':{..._0x2c1d64,..._0x2bca86},'args':_0x4362c9?[_0x4362c9]:[],'tdx':_0x42bf76});gracefulExit(_0x2e24be);};segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x32a))['description'](a2_0x273220(0x419))[a2_0x273220(0x47a)](a2_0x273220(0x33c),'Open\x20segment\x20in\x20web\x20browser')['action'](segmentViewAction),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3db),{'hidden':!![]})[a2_0x273220(0x273)](a2_0x273220(0x2cd))[a2_0x273220(0x47a)]('-w,\x20--web',a2_0x273220(0x233))['description']('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x273220(0x349)](segmentViewAction),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x327))[a2_0x273220(0x274)](a2_0x273220(0x432))[a2_0x273220(0x349)](async(_0xde44bd,_0x27407b)=>{const _0x5f40f8=a2_0x273220,_0x16c044=new SegmentDescCommand(),_0x146690=program[_0x5f40f8(0x294)](),_0xc62d93=await createTDXInstance(_0x146690),_0x560503=await _0x16c044['run']({'options':{..._0x146690,..._0x27407b},'args':_0xde44bd?[_0xde44bd]:[],'tdx':_0xc62d93});gracefulExit(_0x560503);}),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x447))[a2_0x273220(0x274)](a2_0x273220(0x3d5))[a2_0x273220(0x349)](async(_0x15365b,_0x2bd790)=>{const _0x2f9633=a2_0x273220,_0x8923a8=new SegmentShowCommand(),_0x17e198=program[_0x2f9633(0x294)](),_0x1120eb=await createTDXInstance(_0x17e198),_0x5579b4=await _0x8923a8[_0x2f9633(0x439)]({'options':{..._0x17e198,..._0x2bd790},'args':_0x15365b?[_0x15365b]:[],'tdx':_0x1120eb});gracefulExit(_0x5579b4);}),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2bf),{'hidden':!![]})[a2_0x273220(0x274)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x273220(0x349)](async(_0x440bed,_0x372333)=>{const _0x42728e=a2_0x273220,_0x47a9d8=new SegmentFolderListCommand(),_0xf655d9=program[_0x42728e(0x294)](),_0x3ee370=await createTDXInstance(_0xf655d9),_0x2deba9=await _0x47a9d8[_0x42728e(0x439)]({'options':{..._0xf655d9,..._0x372333},'args':[_0x440bed],'tdx':_0x3ee370});gracefulExit(_0x2deba9);});const folderCmd=segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x411),{'hidden':!![]})[a2_0x273220(0x274)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x273220(0x3ad)](a2_0x273220(0x47d))[a2_0x273220(0x274)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x273220(0x349)](async(_0xfa8b6,_0x3ca0a4)=>{const _0x3168f5=a2_0x273220,_0x2cb8e2=new SegmentFolderShowCommand(),_0x1cce0c=program[_0x3168f5(0x294)](),_0x5b4812=await createTDXInstance(_0x1cce0c),_0x1eeed6=await _0x2cb8e2[_0x3168f5(0x439)]({'options':{..._0x1cce0c,..._0x3ca0a4},'args':[_0xfa8b6],'tdx':_0x5b4812});gracefulExit(_0x1eeed6);}),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x235))['description'](a2_0x273220(0x407))[a2_0x273220(0x349)](async(_0x56ae29,_0x3a5de7)=>{const _0x451526=a2_0x273220,_0x5eb086=new SegmentSQLCommand(),_0x22bd4d=program[_0x451526(0x294)](),_0x253cb4=await createTDXInstance(_0x22bd4d),_0x330090=await _0x5eb086[_0x451526(0x439)]({'options':{..._0x22bd4d,..._0x3a5de7},'args':_0x56ae29?[_0x56ae29]:[],'tdx':_0x253cb4});gracefulExit(_0x330090);}),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2b5))[a2_0x273220(0x274)](a2_0x273220(0x33d))[a2_0x273220(0x349)](async(_0x53ec58,_0x230306)=>{const _0x43e878=a2_0x273220,_0x1ea9b4=new SegmentFieldsCommand(),_0x3f1f87=program[_0x43e878(0x294)](),_0x38261d=await createTDXInstance(_0x3f1f87),_0x23a5ba=await _0x1ea9b4[_0x43e878(0x439)]({'options':{..._0x3f1f87,..._0x230306},'args':_0x53ec58?[_0x53ec58]:[],'tdx':_0x38261d});gracefulExit(_0x23a5ba);}),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x20e))['description'](a2_0x273220(0x271))[a2_0x273220(0x47a)](a2_0x273220(0x2a0),'Skip\x20confirmation\x20prompts')[a2_0x273220(0x47a)](a2_0x273220(0x313),a2_0x273220(0x448))[a2_0x273220(0x349)](async(_0x1d1c09,_0x26f985)=>{const _0x442ac3=a2_0x273220,_0x4d0903=new SegmentPullCommand(),_0x47a239=program[_0x442ac3(0x294)](),_0x158c52=await createTDXInstance(_0x47a239),_0x58aa08=await _0x4d0903['run']({'options':{..._0x47a239,..._0x26f985},'args':_0x1d1c09?[_0x1d1c09]:[],'tdx':_0x158c52});gracefulExit(_0x58aa08);}),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x38d))[a2_0x273220(0x274)](a2_0x273220(0x22a))[a2_0x273220(0x47a)](a2_0x273220(0x2a0),a2_0x273220(0x3ba))[a2_0x273220(0x47a)](a2_0x273220(0x313),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['option']('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x273220(0x349)](async(_0x53b2d3,_0x46bf55)=>{const _0x35cd4c=a2_0x273220,_0x2a5cf3=new SegmentPushCommand(),_0x52c6b5=program[_0x35cd4c(0x294)](),_0x34cb01=await createTDXInstance(_0x52c6b5),_0x32c1af=await _0x2a5cf3[_0x35cd4c(0x439)]({'options':{..._0x52c6b5,..._0x46bf55},'args':_0x53b2d3?[_0x53b2d3]:[],'tdx':_0x34cb01});gracefulExit(_0x32c1af);}),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x208))[a2_0x273220(0x274)](a2_0x273220(0x3e0))[a2_0x273220(0x349)](async(_0x5cb7e7,_0x410c1f)=>{const _0x6b08b8=a2_0x273220,_0x1528aa=new SegmentValidateCommand(),_0x1a5646=program[_0x6b08b8(0x294)](),_0x32ce6c=await createTDXInstance(_0x1a5646),_0x50c5aa=await _0x1528aa['run']({'options':{..._0x1a5646,..._0x410c1f},'args':_0x5cb7e7?[_0x5cb7e7]:[],'tdx':_0x32ce6c});gracefulExit(_0x50c5aa);}),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x434),{'hidden':!![]})['description'](a2_0x273220(0x269))[a2_0x273220(0x47a)](a2_0x273220(0x45b),a2_0x273220(0x362))[a2_0x273220(0x47a)](a2_0x273220(0x33e),a2_0x273220(0x246))['option'](a2_0x273220(0x3b8),a2_0x273220(0x203))[a2_0x273220(0x47a)]('--folder\x20<name>','Folder\x20name\x20for\x20organization')['option'](a2_0x273220(0x36f),a2_0x273220(0x393))[a2_0x273220(0x47a)](a2_0x273220(0x2af),a2_0x273220(0x3e3))['option'](a2_0x273220(0x297),'Skip\x20population\x20counting')[a2_0x273220(0x349)](async(_0xba0b0,_0xb2e81e)=>{const _0xe9d698=a2_0x273220,_0x3c61c4=new SegmentCreateCommand(),_0xac866d=program[_0xe9d698(0x294)](),_0x17751a=await createTDXInstance(_0xac866d),_0x5aba36=await _0x3c61c4['run']({'options':{..._0xac866d,..._0xb2e81e},'args':[_0xba0b0],'tdx':_0x17751a});gracefulExit(_0x5aba36);}),segmentCmd['command'](a2_0x273220(0x41c),{'hidden':!![]})[a2_0x273220(0x274)](a2_0x273220(0x2c6))[a2_0x273220(0x47a)](a2_0x273220(0x425),a2_0x273220(0x2cf))['option'](a2_0x273220(0x45b),a2_0x273220(0x307))['option']('--rule\x20<json>',a2_0x273220(0x424))[a2_0x273220(0x47a)](a2_0x273220(0x3b8),a2_0x273220(0x46a))['option'](a2_0x273220(0x343),'Move\x20to\x20folder')[a2_0x273220(0x47a)](a2_0x273220(0x36f),a2_0x273220(0x393))[a2_0x273220(0x349)](async(_0x3cd211,_0xbeee33)=>{const _0x49d5d6=a2_0x273220,_0x4ca6dc=new SegmentUpdateCommand(),_0x430b60=program[_0x49d5d6(0x294)](),_0x46835d=await createTDXInstance(_0x430b60),_0x29c4bf=await _0x4ca6dc[_0x49d5d6(0x439)]({'options':{..._0x430b60,..._0xbeee33},'args':[_0x3cd211],'tdx':_0x46835d});gracefulExit(_0x29c4bf);});function a2_0x36cc(){const _0x5ba44c=['result\x20<job-id>','set\x20<args...>','User\x20management\x20commands','addHelpText','Folder\x20description','LLM\x20project\x20to\x20use\x20(overrides\x20context)','parent-segment','--kind\x20<type>','Show\x20schedule\x20execution\x20history','Show\x20email\x20template\x20details','Delete\x20an\x20LLM\x20project','Query\x20type:\x20trino\x20or\x20hive','then','length','view\x20[name]','List\x20available\x20connector\x20types','--parent-folder\x20<name>','json','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Pull\x20workflow\x20project\x20to\x20local\x20folder','agents\x20[pattern]','Workflow\x20project\x20management','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Delete\x20a\x20campaign','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','--to\x20<timestamp>','Agent\x20name','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','--stage\x20<name>','list','List\x20journeys\x20in\x20current\x20context','clear','apiKey','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--segment\x20<path>','parent','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','push\x20[parent_or_file]','Starter\x20message','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','[options]\x20--\x20[claude-code-args...]','--email-sender-id\x20<id>','--skip-validation','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','repeat','Launch\x20a\x20campaign','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','kill\x20<job-id>','--from-task\x20<task>','use\x20[project]','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','workspaces\x20[pattern]','jobs','push\x20[name]','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Pause\x20a\x20campaign','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','stdout','Workflow\x20session\x20management','90DbBgYv','template','list\x20[pattern]','sessions\x20[project]','New\x20template\x20name','models','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','--temperature\x20<n>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','command','Output\x20file\x20path\x20(default:\x20<name>.yml)','--database\x20<db>','Remove\x20a\x20profile','List\x20all\x20available\x20profiles','--llm-project\x20<name>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','list\x20[path]','use\x20<project-name>','--reason\x20<text>','commands','--rule-file\x20<file>','Show\x20master\x20table\x20sample\x20data','Skip\x20confirmation\x20prompts','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Master\x20database\x20name','grapesjs','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--customer-group\x20<json>','delete\x20<project-name-or-id>','-f,\x20--file\x20<path>','Add\x20attributes\x20as\x20JSON\x20string','trino','--in\x20<database>','argv','list\x20[project]','tasks','-o,\x20--output\x20<file>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','schedule','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Workflow\x20attempt\x20management','Delete\x20a\x20workspace','--yes','isDirectory','Create\x20segment\x20folder','commandUsage','Usage:\x20','--resume-from\x20<task>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','--name\x20<name>','push\x20[path]','RT\x202.0\x20configuration\x20management','Push\x20without\x20confirmation','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','info\x20[segment_name]','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','launch\x20<name-or-id>','--attributes\x20<json>','noColor','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Make\x20segment\x20invisible\x20(default:\x20visible)','secrets','history\x20[chat-id]','Maximum\x20tool\x20iterations\x20(default:\x204)','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','aliases','Skip\x20validation\x20of\x20.dig\x20files','Show\x20agent\x20details','Update\x20an\x20email\x20template','-d,\x20--database\x20<name>','--plaintext\x20<text>','--clear','schema\x20<type>','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','--color','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','27IbdGwA','segment','--start-at\x20<datetime>','journey','attempt','use\x20<name>','Query\x20engine\x20version','workflow','Delay\x20in\x20seconds\x20before\x20execution','engage','--add-attributes-file\x20<file>','campaign','--from\x20<timestamp>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','pull\x20[project]\x20[agent-name]','-v,\x20--verbose','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','chat\x20[message...]','Pause\x20a\x20running\x20journey','--force','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','backup\x20<name>','segments\x20[path]','projects\x20[pattern]','--timezone\x20<tz>','--name\x20<new-name>','Attributes\x20as\x20JSON\x20string','statusline','show\x20<job-id>','after','folder','workspace','isTTY','optionDescription','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','types','CDP\x20segment\x20management\x20commands','1895516grVPDv','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','jsonl','--include-subtasks','update\x20<segment_name>','activations\x20<segment_name>','-C,\x20--directory\x20<path>','Database\x20to\x20query\x20(default:\x20information_schema)','push\x20[file]','outputHelp','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Revision\x20name\x20(default:\x20timestamp)','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--name\x20<new_name>','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','--engine-version\x20<version>','mcp','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--workspace\x20<name>','configureHelp','--type\x20<type>','database','argumentDescription','create\x20<name>','183426gSaCCC','Show\x20segment\x20schema\x20(column\x20types)','delete\x20<name>','create\x20<segment_name>','Email\x20subject\x20template','Show\x20authentication\x20status\x20and\x20current\x20context','Master\x20table\x20name','Data\x20connection\x20management\x20(for\x20activations/exports)','run','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--include-retried','list\x20[name]','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','set','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','LLM\x20agent\x20management','End\x20time\x20filter\x20(ISO\x208601\x20format)','--status\x20<status>','options','Personalization\x20service\x20management','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Setup\x20API\x20key\x20authentication\x20interactively','show\x20[segment_name]','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','hidden','Table\x20management\x20commands','Export\x20journey(s)\x20as\x20YAML\x20files','--tags\x20<tags>','fields\x20[name]','log\x20<chat-id>','Preview\x20operation\x20without\x20executing','Timezone\x20for\x20cron\x20(default:\x20UTC)','--enriched','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','tdx','--editor-type\x20<type>','templates\x20[pattern]','preAction','profile','Include\x20retried\x20attempts','--params\x20<json>','--description\x20<text>','Delete\x20an\x20email\x20template','commandDescription','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','-c,\x20--continue','Retry\x20limit\x20(0\x20to\x2032)','preview\x20[file]','Cron\x20expression\x20for\x20scheduling','claude\x20[args...]','stderr','--reeval','--priority\x20<-2~2>','Create\x20a\x20workspace','format','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--session-id\x20<id>','Show\x20job\x20details','Plaintext\x20template\x20content','databases\x20[pattern]','resume\x20<name-or-path>','Request\x20body\x20as\x20JSON\x20string','Update\x20a\x20campaign','--table\x20<table>','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--behaviors\x20<json>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Create\x20a\x20new\x20campaign','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','information_schema','option','delete\x20<args...>','Continue\x20most\x20recent\x20conversation','show\x20<folder_ref>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--default','--subject\x20<subject>','Add\x20behaviors\x20from\x20JSON\x20file','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','logLevel','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Set\x20operation\x20timeout\x20in\x20seconds','push\x20[target]','--attributes-file\x20<file>','Timezone\x20for\x20cron','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','delete\x20<name-or-id>','logs','--data\x20<data>','Include\x20execution\x20statistics','Workflow\x20parameter\x20(repeatable)','Result\x20output\x20destination\x20URL','--description\x20<desc>','desc\x20[name]','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Create\x20a\x20new\x20LLM\x20project','3cBJlQD','Filtering\x20rule\x20from\x20JSON\x20file','-X,\x20--method\x20<method>','Custom\x20revision\x20name\x20(default:\x20timestamp)','--name\x20<names>','858460LpOvvm','validate\x20[target]','Clear\x20workflow\x20project\x20context','Agent\x20prompt/instructions','HTML\x20template\x20content','--last','0.7','pull\x20[parent_or_file]','Campaign\x20name','site','Options:','usage','Save\x20output\x20to\x20file','Update\x20a\x20scheduled\x20query','chats','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Include\x20subtasks\x20in\x20tasks\x20output','Describe\x20table\x20schema','use\x20[name]','history\x20<name>','Workspace\x20name','--num\x20<1-10>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Generate\x20test\x20conversations\x20without\x20evaluation','--behaviors-file\x20<file>','Timezone\x20(e.g.,\x20America/Los_Angeles)','--follow','Campaign\x20description','subcommandDescription','Agent\x20description','-p,\x20--profile\x20<name>','--limit\x20<n>','-f,\x20--force','INVALID_ARGUMENT','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','--cron\x20<expression>','table','--max-tool-iterations\x20<n>','pull\x20<project>\x20[target-dir]','Kill\x20a\x20job','submit\x20[query]','--delay\x20<seconds>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Open\x20segment\x20in\x20web\x20browser','-H,\x20--header\x20<header>','sql\x20[segment_name]','-r,\x20--recursive','connection','Email\x20sender\x20ID\x20for\x20delivery','Skip\x20confirmation\x20prompt','Scheduled\x20query\x20management\x20commands','Resume\x20a\x20conversation\x20(shows\x20selector)','slice','clone\x20[source]','Resume\x20from\x20specific\x20task','Read\x20query\x20from\x20file','Update\x20an\x20existing\x20agent','--limit\x20<rows>','show\x20[table]','flatMap','--schedule-type\x20<type>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Filtering\x20rule\x20as\x20JSON\x20string','tables\x20[pattern]','Invalid\x20editor\x20type:\x20','resume\x20<name-or-id>','[attempt-id]','llm','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','required','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','\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\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Run\x20a\x20scheduled\x20query\x20immediately','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Delete\x20a\x20scheduled\x20query','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Open\x20parent\x20segment\x20in\x20web\x20browser','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','INFO','--no-eval','--new','399MEywAe','update\x20<agent-name>','--system-prompt\x20<text>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','List\x20agents\x20in\x20current\x20project','query\x20[sql]','Workflow\x20(Digdag)\x20management\x20commands','--trace','argumentTerm','-1d','AI-native\x20CLI\x20for\x20Treasure\x20Data','_hidden','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Change\x20to\x20directory\x20before\x20executing\x20command','settings\x20<type>','set\x20<key=value>','forEach','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Output\x20as\x20JSON','Pull\x20child\x20segments\x20to\x20YAML\x20files','Run\x20specific\x20tests\x20(comma-separated)','alias','description','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Open\x20journey\x20in\x20web\x20browser','--full','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Customer\x20group\x20from\x20JSON\x20file','beefree','--no-proxy','update\x20<name>','--session\x20<id>','Workspace\x20name\x20(required)','\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','27383818dqiNgS','isArray','project','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--behavior\x20[name]','Task\x20name\x20for\x20logs\x20action','--add-behaviors-file\x20<file>','Resume\x20a\x20paused\x20journey','--job-type\x20<type>','List\x20jobs','Show\x20connection\x20details\x20by\x20name','Authentication\x20management','Commands:','Show\x20campaign\x20details','249660btANoM','--revision\x20<revision>','parent_segment',',\x20version\x20','[EXPERIMENTAL]\x20Show\x20chat\x20log','Name\x20for\x20the\x20new\x20project\x20(required)','opts','gitRevision','--stream','--no-count-population','Updated\x20schedule\x20option','chdir','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','tdx\x20','debug','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','filter','-y,\x20--yes','List\x20all\x20users\x20in\x20the\x20account','Output\x20as\x20JSON\x20Lines','status','registeredArguments','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','-o,\x20--output\x20<folder>','Preview\x20without\x20creating\x20the\x20project','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','run\x20[workflow]','Create\x20a\x20scheduled\x20query','update\x20<name-or-id>','colorFn','get','--invisible','--site\x20<site>','--param\x20<key=value>','Remove\x20API\x20key\x20from\x20system\x20keychain','--result\x20<url>','--max-depth\x20<depth>','fields\x20[parent_name]','Add\x20attributes\x20from\x20JSON\x20file','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','delete\x20<agent-name>','Override\x20project\x20name','Get\x20job\x20results','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','buildTime','workflows\x20[project]','Attempt\x20ID','folders\x20<parent_name>','--master','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Parent\x20segment\x20management','--jsonl','List\x20all\x20data\x20connections','Start\x20time\x20filter\x20(ISO\x208601\x20format)','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','New\x20workspace\x20name','Database\x20name\x20(default:\x20information_schema)','user','--json','List\x20secret\x20keys\x20for\x20a\x20project','pull\x20[name]','describe','Starting\x20offset\x20(default:\x200)','New\x20segment\x20name','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','allowUnknownOption','join','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','\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','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','--retry-limit\x20<0~32>','--customer-group-file\x20<file>','show\x20<name>','--include-stats','subcommandTerm','claude-4.5-sonnet','Email\x20template\x20management','api\x20[endpoint]','catch','Create\x20a\x20new\x20profile','-o,\x20--output\x20<dir>','requiredOption','map','--table','run\x20[name]','Updated\x20timezone','pause\x20<name-or-id>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Project\x20description','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','validate\x20[name]','Show\x20only\x20master\x20table\x20validation','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--json-columns\x20<cols>','Include\x20retried\x20attempts\x20(for\x20list)','replace','LLM\x20project\x20management','TRACE','Workspace\x20management','--tsv','Parent\x20segment\x20description','Show\x20workspace\x20details','[task-name]','attempts\x20[project]','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Set\x20a\x20profile\x20configuration\x20value','Parent\x20folder\x20name\x20for\x20nested\x20folders','--interval\x20<range>','192768xbaCLC','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','--to\x20<n>','Attributes\x20from\x20JSON\x20file','Unknown\x20action:\x20','campaigns\x20[pattern]','\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','Output\x20directory','Maximum\x20recursion\x20depth\x20(default:\x2010)','Updated\x20description','clone\x20[source-dir]','Alias\x20for\x20--database\x20(natural\x20language\x20style)','includes','--attribute\x20[name]','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Update\x20a\x20workspace','show\x20<name-or-id>','Campaign\x20type\x20(email\x20or\x20push)','-d,\x20--database\x20<db>','init\x20[name]','--dry-run','Force\x20retry\x20even\x20if\x20not\x20failed','1738260WChKPx','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Show\x20stats\x20for\x20specific\x20stage','--parent-segment\x20<name>','--schedule-option\x20<value>','--debug','Output\x20file\x20path','Set\x20or\x20show\x20parent\x20segment\x20context','tsv','create\x20<parent_name>\x20<folder_name>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','journeys\x20[pattern]','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','--version','Overwrite\x20local\x20changes\x20without\x20confirmation','upload\x20[project-name-or-dir]','desc\x20[segment_name]','Job\x20priority\x20(-2\x20to\x202)','exit','view\x20[segment_name]','Resume\x20a\x20paused\x20campaign','padEnd','--prompt\x20<text>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Workspace\x20description','Preview\x20changes\x20without\x20pushing','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Preview\x20changes\x20without\x20writing\x20files','--output\x20<file>','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Parse\x20and\x20validate\x20without\x20executing','--in\x20<name>','directory','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--html\x20<html>','-w,\x20--web','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','--rule\x20<json>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','use\x20<path>','show\x20[name]','--folder\x20<name>','Limit\x20number\x20of\x20rows','parents\x20[pattern]','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','action','push','Interactive\x20chat\x20selector','-d,\x20--database\x20<database>','create','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','\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','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','injectIntoOptions','parse','Show\x20journey\x20statistics','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','remove\x20<name>','test\x20[path]','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','session','allowExcessArguments','Submit\x20a\x20job','--starter-message\x20<text>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','trace','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--type\x20<api_type>','auth','Segment\x20description','--attempt-id\x20<id>','--name\x20<text>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','-n,\x20--name\x20<name>','Run\x20tests\x20for\x20an\x20LLM\x20agent'];a2_0x36cc=function(){return _0x5ba44c;};return a2_0x36cc();}const parentCmd=segmentCmd['command'](a2_0x273220(0x38b),{'hidden':!![]})[a2_0x273220(0x274)](a2_0x273220(0x453)),parentListAction=async(_0x169dc2,_0x5ef8d4)=>{const _0x46e787=a2_0x273220,_0x34768c=new ParentSegmentListCommand(),_0x3874b2=program[_0x46e787(0x294)](),_0x47ef64=await createTDXInstance(_0x3874b2),_0x21fbe8=await _0x34768c[_0x46e787(0x439)]({'options':{..._0x3874b2,..._0x5ef8d4},'args':_0x169dc2?[_0x169dc2]:[],'tdx':_0x47ef64});gracefulExit(_0x21fbe8);};parentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a5))[a2_0x273220(0x274)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x273220(0x349)](parentListAction),segmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x345),{'hidden':!![]})[a2_0x273220(0x274)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')[a2_0x273220(0x349)](parentListAction),parentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2cc))[a2_0x273220(0x274)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x273220(0x47a)](a2_0x273220(0x3c8),a2_0x273220(0x3ae))[a2_0x273220(0x47a)](a2_0x273220(0x2a0),'Skip\x20confirmation\x20prompt')[a2_0x273220(0x349)](async(_0x4cbd1d,_0x1549da)=>{const _0x4ea11d=a2_0x273220,_0x19d114=new ParentSegmentPullCommand(),_0x22d800=program[_0x4ea11d(0x294)](),_0x3eb995=await createTDXInstance(_0x22d800),_0x35f2d9=await _0x19d114[_0x4ea11d(0x439)]({'options':{..._0x22d800,..._0x1549da},'args':_0x4cbd1d?[_0x4cbd1d]:[],'tdx':_0x3eb995});gracefulExit(_0x35f2d9);}),parentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x420))[a2_0x273220(0x274)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x273220(0x47a)]('-y,\x20--yes',a2_0x273220(0x239))['action'](async(_0x21e904,_0x233924)=>{const _0x27a1c1=a2_0x273220,_0x3cb4b8=new ParentSegmentPushCommand(),_0x48d81e=program[_0x27a1c1(0x294)](),_0x326340=await createTDXInstance(_0x48d81e),_0x1e9790=await _0x3cb4b8[_0x27a1c1(0x439)]({'options':{..._0x48d81e,..._0x233924},'args':_0x21e904?[_0x21e904]:[],'tdx':_0x326340});gracefulExit(_0x1e9790);}),parentCmd[a2_0x273220(0x3ad)]('validate\x20[file]')[a2_0x273220(0x274)](a2_0x273220(0x3cb))[a2_0x273220(0x47a)](a2_0x273220(0x2c0),a2_0x273220(0x2ec))[a2_0x273220(0x47a)](a2_0x273220(0x30b),a2_0x273220(0x474))[a2_0x273220(0x47a)](a2_0x273220(0x284),a2_0x273220(0x3f2))['option'](a2_0x273220(0x451),a2_0x273220(0x3bb))[a2_0x273220(0x47a)](a2_0x273220(0x2fd),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x273220(0x266))[a2_0x273220(0x349)](async(_0x2782c7,_0x149651)=>{const _0x590df2=a2_0x273220,_0x35f8eb=new ParentSegmentValidateCommand(),_0x1d24c2=program[_0x590df2(0x294)](),_0x5789be=await createTDXInstance(_0x1d24c2),_0x1f1849=await _0x35f8eb[_0x590df2(0x439)]({'options':{..._0x1d24c2,..._0x149651},'args':_0x2782c7?[_0x2782c7]:[],'tdx':_0x5789be});gracefulExit(_0x1f1849);}),parentCmd['command'](a2_0x273220(0x462))[a2_0x273220(0x274)](a2_0x273220(0x252))[a2_0x273220(0x47a)](a2_0x273220(0x2c0),a2_0x273220(0x3b9))[a2_0x273220(0x47a)](a2_0x273220(0x30b),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x273220(0x47a)]('--behavior\x20[name]',a2_0x273220(0x29a))[a2_0x273220(0x47a)](a2_0x273220(0x451),a2_0x273220(0x250))[a2_0x273220(0x47a)](a2_0x273220(0x2fd),a2_0x273220(0x47e),a2_0x273220(0x266))['action'](async(_0xb9f63b,_0x245583)=>{const _0x26d3b0=a2_0x273220,_0x5c0aee=new ParentSegmentPreviewCommand(),_0x40446d=program[_0x26d3b0(0x294)](),_0x2137c0=await createTDXInstance(_0x40446d),_0x4b5cdd=await _0x5c0aee['run']({'options':{..._0x40446d,..._0x245583},'args':_0xb9f63b?[_0xb9f63b]:[],'tdx':_0x2137c0});gracefulExit(_0x4b5cdd);}),parentCmd[a2_0x273220(0x3ad)]('run\x20[name]')[a2_0x273220(0x274)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x273220(0x47a)]('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x273220(0x349)](async(_0x1b0437,_0x1d7f77)=>{const _0x36004e=a2_0x273220,_0x1dcbfa=new ParentSegmentRunCommand(),_0x29bb84=program[_0x36004e(0x294)](),_0x416a6b=await createTDXInstance(_0x29bb84),_0x46da6b=await _0x1dcbfa[_0x36004e(0x439)]({'options':{..._0x29bb84,..._0x1d7f77},'args':_0x1b0437?[_0x1b0437]:[],'tdx':_0x416a6b});gracefulExit(_0x46da6b);});const parentSegmentCmd=program[a2_0x273220(0x3ad)](a2_0x273220(0x36e))[a2_0x273220(0x273)]('ps')[a2_0x273220(0x274)](a2_0x273220(0x2c2));parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a5))[a2_0x273220(0x274)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x273220(0x349)](parentListAction),parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2cc))[a2_0x273220(0x274)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x273220(0x47a)](a2_0x273220(0x3c8),'Output\x20file\x20path')[a2_0x273220(0x47a)](a2_0x273220(0x2a0),a2_0x273220(0x239))['option']('-u,\x20--use',a2_0x273220(0x3e7))[a2_0x273220(0x349)](async(_0x54e5a8,_0x61cb5f)=>{const _0x2a1faf=a2_0x273220,_0x3a2673=new ParentSegmentPullCommand(),_0x17bd99=program['opts'](),_0x30b765=await createTDXInstance(_0x17bd99),_0x52bc83=await _0x3a2673[_0x2a1faf(0x439)]({'options':{..._0x17bd99,..._0x61cb5f},'args':_0x54e5a8?[_0x54e5a8]:[],'tdx':_0x30b765});gracefulExit(_0x52bc83);}),parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x39d))[a2_0x273220(0x274)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x273220(0x47a)](a2_0x273220(0x2a0),a2_0x273220(0x239))[a2_0x273220(0x349)](async(_0x31450e,_0xabdb9a)=>{const _0x5c27fe=a2_0x273220,_0x21bff3=new ParentSegmentPushCommand(),_0x59d065=program[_0x5c27fe(0x294)](),_0x3bb28a=await createTDXInstance(_0x59d065),_0x3d6987=await _0x21bff3[_0x5c27fe(0x439)]({'options':{..._0x59d065,..._0xabdb9a},'args':_0x31450e?[_0x31450e]:[],'tdx':_0x3bb28a});gracefulExit(_0x3d6987);}),parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2eb))[a2_0x273220(0x274)](a2_0x273220(0x3cb))['option']('--master',a2_0x273220(0x2ec))['option'](a2_0x273220(0x30b),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x273220(0x47a)]('--behavior\x20[name]',a2_0x273220(0x3f2))[a2_0x273220(0x47a)](a2_0x273220(0x451),a2_0x273220(0x3bb))[a2_0x273220(0x47a)](a2_0x273220(0x2fd),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x273220(0x266))[a2_0x273220(0x349)](async(_0x10afa9,_0x5c939e)=>{const _0x40386a=a2_0x273220,_0x881e58=new ParentSegmentValidateCommand(),_0x220375=program[_0x40386a(0x294)](),_0x16f78d=await createTDXInstance(_0x220375),_0xe58b8a=await _0x881e58[_0x40386a(0x439)]({'options':{..._0x220375,..._0x5c939e},'args':_0x10afa9?[_0x10afa9]:[],'tdx':_0x16f78d});gracefulExit(_0xe58b8a);}),parentSegmentCmd[a2_0x273220(0x3ad)]('preview\x20[name]')[a2_0x273220(0x274)](a2_0x273220(0x252))[a2_0x273220(0x47a)](a2_0x273220(0x2c0),a2_0x273220(0x3b9))[a2_0x273220(0x47a)](a2_0x273220(0x30b),a2_0x273220(0x452))[a2_0x273220(0x47a)](a2_0x273220(0x284),a2_0x273220(0x29a))['option'](a2_0x273220(0x451),a2_0x273220(0x250))[a2_0x273220(0x47a)](a2_0x273220(0x2fd),a2_0x273220(0x47e),a2_0x273220(0x266))[a2_0x273220(0x349)](async(_0x5386e,_0x4e8497)=>{const _0x271e03=a2_0x273220,_0x9637bb=new ParentSegmentPreviewCommand(),_0x2e04db=program['opts'](),_0x47dcd9=await createTDXInstance(_0x2e04db),_0x5abad0=await _0x9637bb[_0x271e03(0x439)]({'options':{..._0x2e04db,..._0x4e8497},'args':_0x5386e?[_0x5386e]:[],'tdx':_0x47dcd9});gracefulExit(_0x5abad0);}),parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2e5))[a2_0x273220(0x274)](a2_0x273220(0x2fa))[a2_0x273220(0x47a)](a2_0x273220(0x2a0),a2_0x273220(0x239))['action'](async(_0x252941,_0x443cee)=>{const _0x30b153=a2_0x273220,_0x20f0c0=new ParentSegmentRunCommand(),_0x319c7e=program['opts'](),_0xa38624=await createTDXInstance(_0x319c7e),_0x203883=await _0x20f0c0[_0x30b153(0x439)]({'options':{..._0x319c7e,..._0x443cee},'args':_0x252941?[_0x252941]:[],'tdx':_0xa38624});gracefulExit(_0x203883);}),parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x44d))[a2_0x273220(0x274)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x273220(0x47a)]('--json','Output\x20as\x20JSON')['option']('--jsonl',a2_0x273220(0x2a2))[a2_0x273220(0x349)](async(_0x19a903,_0x54caca)=>{const _0x323cfc=a2_0x273220,_0x27c985=new ParentSegmentFieldsCommand(),_0x25dc94=program[_0x323cfc(0x294)](),_0x2ea1ec=await createTDXInstance(_0x25dc94),_0x26502a=await _0x27c985[_0x323cfc(0x439)]({'options':{..._0x25dc94,..._0x54caca},'args':_0x19a903?[_0x19a903]:[],'tdx':_0x2ea1ec});gracefulExit(_0x26502a);}),parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x376))[a2_0x273220(0x274)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x273220(0x47a)](a2_0x273220(0x33c),a2_0x273220(0x256))[a2_0x273220(0x47a)](a2_0x273220(0x2ca),a2_0x273220(0x270))['option'](a2_0x273220(0x2c3),a2_0x273220(0x2a2))[a2_0x273220(0x349)](async(_0x13908b,_0x4cd057)=>{const _0x452426=a2_0x273220,_0x532a89=new ParentSegmentViewCommand(),_0x369d18=program[_0x452426(0x294)](),_0x57fc08=await createTDXInstance(_0x369d18),_0x3c5850=await _0x532a89[_0x452426(0x439)]({'options':{..._0x369d18,..._0x4cd057},'args':_0x13908b?[_0x13908b]:[],'tdx':_0x57fc08});gracefulExit(_0x3c5850);}),parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x1ff))[a2_0x273220(0x274)](a2_0x273220(0x426))['option'](a2_0x273220(0x3c8),a2_0x273220(0x31b))[a2_0x273220(0x47a)](a2_0x273220(0x2ca),a2_0x273220(0x270))[a2_0x273220(0x47a)](a2_0x273220(0x2c3),a2_0x273220(0x2a2))[a2_0x273220(0x349)](async(_0xfe841a,_0xc5c2a9)=>{const _0x41a710=a2_0x273220,_0x3a1fb2=new ParentSegmentDescCommand(),_0x1a2d4f=program[_0x41a710(0x294)](),_0x2ffe13=await createTDXInstance(_0x1a2d4f),_0x7e642f=await _0x3a1fb2[_0x41a710(0x439)]({'options':{..._0x1a2d4f,..._0xc5c2a9},'args':_0xfe841a?[_0xfe841a]:[],'tdx':_0x2ffe13});gracefulExit(_0x7e642f);}),parentSegmentCmd[a2_0x273220(0x3ad)]('sql\x20[name]')[a2_0x273220(0x274)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x273220(0x47a)]('--json','Output\x20as\x20JSON')[a2_0x273220(0x47a)](a2_0x273220(0x2c3),a2_0x273220(0x2a2))[a2_0x273220(0x349)](async(_0x240512,_0x3ecc2a)=>{const _0x5e43c6=a2_0x273220,_0x4f5e32=new ParentSegmentSQLCommand(),_0x2eecd5=program[_0x5e43c6(0x294)](),_0x1cab71=await createTDXInstance(_0x2eecd5),_0x316662=await _0x4f5e32[_0x5e43c6(0x439)]({'options':{..._0x2eecd5,..._0x3ecc2a},'args':_0x240512?[_0x240512]:[],'tdx':_0x1cab71});gracefulExit(_0x316662);}),parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x342))[a2_0x273220(0x274)](a2_0x273220(0x346))[a2_0x273220(0x47a)](a2_0x273220(0x227),a2_0x273220(0x344))[a2_0x273220(0x47a)](a2_0x273220(0x2ca),a2_0x273220(0x270))[a2_0x273220(0x47a)](a2_0x273220(0x2c3),'Output\x20as\x20JSON\x20Lines')[a2_0x273220(0x349)](async(_0x122162,_0x57a2bf)=>{const _0x597932=a2_0x273220,_0x1f76d7=new ParentSegmentShowCommand(),_0x1a8b90=program['opts'](),_0x412735=await createTDXInstance(_0x1a8b90),_0x35ca10=await _0x1f76d7[_0x597932(0x439)]({'options':{..._0x1a8b90,..._0x57a2bf},'args':_0x122162?[_0x122162]:[],'tdx':_0x412735});gracefulExit(_0x35ca10);}),parentSegmentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x219))[a2_0x273220(0x274)](a2_0x273220(0x31c))[a2_0x273220(0x349)](async(_0xc06998,_0x209e29)=>{const _0x3e10b5=a2_0x273220,_0x5e2f7f=new UseCommand(),_0x4c42a9=program['opts'](),_0x1ca048=_0xc06998?[_0x3e10b5(0x290),_0xc06998]:[],_0x4d932e=await _0x5e2f7f[_0x3e10b5(0x439)]({'options':{..._0x4c42a9,..._0x209e29},'args':_0x1ca048,'tdx':null});gracefulExit(_0x4d932e);});const psRtCmd=parentSegmentCmd[a2_0x273220(0x3ad)]('rt')['description']('RT\x202.0\x20configuration\x20management');psRtCmd['command']('list\x20[pattern]')['description'](a2_0x273220(0x2d3))[a2_0x273220(0x349)](async(_0x596bef,_0x5e0887)=>{const _0x2a105b=a2_0x273220,_0x36dc7=new PSRtListCommand(),_0x1f03e2=program[_0x2a105b(0x294)](),_0xe2d8a5=await createTDXInstance(_0x1f03e2),_0x44e4e7=await _0x36dc7[_0x2a105b(0x439)]({'options':{..._0x1f03e2,..._0x5e0887},'args':_0x596bef?[_0x596bef]:[],'tdx':_0xe2d8a5});gracefulExit(_0x44e4e7);}),psRtCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2eb))[a2_0x273220(0x274)](a2_0x273220(0x260))[a2_0x273220(0x349)](async(_0x25bd52,_0x2e66c0)=>{const _0x5e9e26=a2_0x273220,_0x290516=new PSRtValidateCommand(),_0x588859=program[_0x5e9e26(0x294)](),_0x430108=await createTDXInstance(_0x588859),_0x5d231c=await _0x290516['run']({'options':{..._0x588859,..._0x2e66c0},'args':_0x25bd52?[_0x25bd52]:[],'tdx':_0x430108});gracefulExit(_0x5d231c);});const parentRtCmd=parentCmd[a2_0x273220(0x3ad)]('rt',{'hidden':!![]})[a2_0x273220(0x274)](a2_0x273220(0x3d8));parentRtCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a5))[a2_0x273220(0x274)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x211905,_0x4468d5)=>{const _0x4e1de8=a2_0x273220,_0x2bb7f8=new PSRtListCommand(),_0x283c19=program[_0x4e1de8(0x294)](),_0x371417=await createTDXInstance(_0x283c19),_0x12f751=await _0x2bb7f8[_0x4e1de8(0x439)]({'options':{..._0x283c19,..._0x4468d5},'args':_0x211905?[_0x211905]:[],'tdx':_0x371417});gracefulExit(_0x12f751);}),parentRtCmd['command'](a2_0x273220(0x2eb))['description'](a2_0x273220(0x260))[a2_0x273220(0x349)](async(_0x35f4a1,_0x27fe92)=>{const _0x2f5114=new PSRtValidateCommand(),_0x4fd7f7=program['opts'](),_0xba8b47=await createTDXInstance(_0x4fd7f7),_0xff3a71=await _0x2f5114['run']({'options':{..._0x4fd7f7,..._0x27fe92},'args':_0x35f4a1?[_0x35f4a1]:[],'tdx':_0xba8b47});gracefulExit(_0xff3a71);});const psPzCmd=parentSegmentCmd[a2_0x273220(0x3ad)]('pz')[a2_0x273220(0x274)](a2_0x273220(0x444));psPzCmd['command'](a2_0x273220(0x43c))[a2_0x273220(0x274)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x273220(0x349)](async(_0x405864,_0x3e0b3e)=>{const _0x297b0a=new PSPzListCommand(),_0x336613=program['opts'](),_0x507e14=await createTDXInstance(_0x336613),_0x52f998=await _0x297b0a['run']({'options':{..._0x336613,..._0x3e0b3e},'args':_0x405864?[_0x405864]:[],'tdx':_0x507e14});gracefulExit(_0x52f998);}),psPzCmd[a2_0x273220(0x3ad)](a2_0x273220(0x312))[a2_0x273220(0x274)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x273220(0x349)](async(_0x29b886,_0x420314)=>{const _0x8924fc=a2_0x273220,_0x1ef813=new PSPzInitCommand(),_0x1db22f=program[_0x8924fc(0x294)](),_0x4956fc=await createTDXInstance(_0x1db22f),_0x40e9f1=await _0x1ef813[_0x8924fc(0x439)]({'options':{..._0x1db22f,..._0x420314},'args':_0x29b886?[_0x29b886]:[],'tdx':_0x4956fc});gracefulExit(_0x40e9f1);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x273220(0x274)]('Personalization\x20service\x20management');parentPzCmd[a2_0x273220(0x3ad)](a2_0x273220(0x43c))[a2_0x273220(0x274)](a2_0x273220(0x473))[a2_0x273220(0x349)](async(_0x495b00,_0x1f8423)=>{const _0x50e82d=a2_0x273220,_0x491dcb=new PSPzListCommand(),_0x32711e=program[_0x50e82d(0x294)](),_0x4bac78=await createTDXInstance(_0x32711e),_0x1c525c=await _0x491dcb[_0x50e82d(0x439)]({'options':{..._0x32711e,..._0x1f8423},'args':_0x495b00?[_0x495b00]:[],'tdx':_0x4bac78});gracefulExit(_0x1c525c);}),parentPzCmd[a2_0x273220(0x3ad)]('init\x20[name]')[a2_0x273220(0x274)](a2_0x273220(0x427))[a2_0x273220(0x349)](async(_0x189fd5,_0x50c141)=>{const _0x308eb9=a2_0x273220,_0x140fb6=new PSPzInitCommand(),_0x485eb7=program[_0x308eb9(0x294)](),_0x4e3b17=await createTDXInstance(_0x485eb7),_0x4e2732=await _0x140fb6['run']({'options':{..._0x485eb7,..._0x50c141},'args':_0x189fd5?[_0x189fd5]:[],'tdx':_0x4e3b17});gracefulExit(_0x4e2732);}),parentCmd[a2_0x273220(0x3ad)](a2_0x273220(0x430))['description'](a2_0x273220(0x3a0))['requiredOption'](a2_0x273220(0x3af),a2_0x273220(0x3bc))['requiredOption'](a2_0x273220(0x472),a2_0x273220(0x437))[a2_0x273220(0x47a)](a2_0x273220(0x45b),a2_0x273220(0x2f6))[a2_0x273220(0x47a)](a2_0x273220(0x244),a2_0x273220(0x339))[a2_0x273220(0x47a)](a2_0x273220(0x319),a2_0x273220(0x3ac))[a2_0x273220(0x47a)](a2_0x273220(0x40b),a2_0x273220(0x221))[a2_0x273220(0x47a)](a2_0x273220(0x3de),a2_0x273220(0x40d))['option'](a2_0x273220(0x1f5),a2_0x273220(0x301))[a2_0x273220(0x47a)](a2_0x273220(0x475),'Behaviors\x20as\x20JSON\x20string')[a2_0x273220(0x47a)](a2_0x273220(0x220),'Behaviors\x20from\x20JSON\x20file')[a2_0x273220(0x47a)](a2_0x273220(0x3bf),'Customer\x20group\x20as\x20JSON\x20string')['option'](a2_0x273220(0x2d8),a2_0x273220(0x279))[a2_0x273220(0x349)](async(_0x8d7f5d,_0x46135a)=>{const _0x1906e9=a2_0x273220,_0x5336a7=new ParentSegmentCreateCommand(),_0x51935e=program[_0x1906e9(0x294)](),_0xe952cc=await createTDXInstance(_0x51935e),_0x1342e0=await _0x5336a7[_0x1906e9(0x439)]({'options':{..._0x51935e,..._0x46135a},'args':[_0x8d7f5d],'tdx':_0xe952cc});gracefulExit(_0x1342e0);}),parentCmd['command'](a2_0x273220(0x27c))[a2_0x273220(0x274)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')['option'](a2_0x273220(0x45b),a2_0x273220(0x307))['option'](a2_0x273220(0x244),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x273220(0x47a)]('--schedule-option\x20<value>',a2_0x273220(0x298))[a2_0x273220(0x47a)](a2_0x273220(0x40b),a2_0x273220(0x2e6))[a2_0x273220(0x47a)]('--add-attributes\x20<json>',a2_0x273220(0x3c2))['option'](a2_0x273220(0x3fd),a2_0x273220(0x2b6))[a2_0x273220(0x47a)]('--add-behaviors\x20<json>','Add\x20behaviors\x20as\x20JSON\x20string')['option'](a2_0x273220(0x286),a2_0x273220(0x481))['action'](async(_0xbd6c39,_0x36062d)=>{const _0x529b99=a2_0x273220,_0x1f1bb5=new ParentSegmentUpdateCommand(),_0x531cf2=program[_0x529b99(0x294)](),_0x226386=await createTDXInstance(_0x531cf2),_0x5cd014=await _0x1f1bb5[_0x529b99(0x439)]({'options':{..._0x531cf2,..._0x36062d},'args':[_0xbd6c39],'tdx':_0x226386});gracefulExit(_0x5cd014);}),folderCmd[a2_0x273220(0x3ad)](a2_0x273220(0x31e))['description'](a2_0x273220(0x3d0))['option'](a2_0x273220(0x45b),a2_0x273220(0x36c))[a2_0x273220(0x47a)](a2_0x273220(0x378),a2_0x273220(0x2fc))['action'](async(_0x92707c,_0x3f5eda,_0x5c93f5)=>{const _0x31f9c0=new SegmentFolderCreateCommand(),_0x31d63e=program['opts'](),_0x551608=await createTDXInstance(_0x31d63e),_0x5dca87=await _0x31f9c0['run']({'options':{..._0x31d63e,..._0x5c93f5},'args':[_0x92707c,_0x3f5eda],'tdx':_0x551608});gracefulExit(_0x5dca87);}),program[a2_0x273220(0x3ad)](a2_0x273220(0x41d))[a2_0x273220(0x274)](a2_0x273220(0x3e2))[a2_0x273220(0x349)](async(_0x1c3469,_0x3f5e65)=>{const _0x1973fa=a2_0x273220,_0xe97f0a=new ActivationsCommand(),_0x1f11f1=program[_0x1973fa(0x294)](),_0x444dc7=await createTDXInstance(_0x1f11f1),_0xba8abd=await _0xe97f0a['run']({'options':{..._0x1f11f1,..._0x3f5e65},'args':[_0x1c3469],'tdx':_0x444dc7});gracefulExit(_0xba8abd);});const workflowCmd=program[a2_0x273220(0x3ad)](a2_0x273220(0x3fa))['alias']('wf')['description'](a2_0x273220(0x263)),wfProjectCmd=workflowCmd[a2_0x273220(0x3ad)]('project')['description'](a2_0x273220(0x37d)),wfProjectListAction=async(_0x7a87b6,_0x1f6403)=>{const _0x40936b=new WorkflowProjectsCommand(),_0x10a053=program['opts'](),_0x50b622=await createTDXInstance(_0x10a053),_0x1cbe97=await _0x40936b['run']({'options':{..._0x10a053,..._0x1f6403},'args':_0x7a87b6?[_0x7a87b6]:[],'tdx':_0x50b622});gracefulExit(_0x1cbe97);};wfProjectCmd[a2_0x273220(0x3ad)]('list\x20[pattern]')['description'](a2_0x273220(0x2c1))[a2_0x273220(0x349)](wfProjectListAction),workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x40a))[a2_0x273220(0x274)](a2_0x273220(0x331))[a2_0x273220(0x349)](wfProjectListAction);const wfWorkflowListAction=async(_0x49b0b9,_0xc15000)=>{const _0x288e3e=new WorkflowWorkflowsCommand(),_0x4f6c2b=program['opts'](),_0x2fa790=await createTDXInstance(_0x4f6c2b),_0x541e3f=await _0x288e3e['run']({'options':{..._0x4f6c2b,..._0xc15000},'args':_0x49b0b9?[_0x49b0b9]:[],'tdx':_0x2fa790});gracefulExit(_0x541e3f);};workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2bd))[a2_0x273220(0x274)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x273220(0x349)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x359))[a2_0x273220(0x274)](a2_0x273220(0x3a2)),wfSessionListAction=async(_0x2b095d,_0x345ee8)=>{const _0xbb4735=a2_0x273220,_0x14d647=new WorkflowSessionsCommand(),_0x924376=program['opts'](),_0x44e86a=await createTDXInstance(_0x924376),_0x4450bb=await _0x14d647[_0xbb4735(0x439)]({'options':{..._0x924376,..._0x345ee8},'args':_0x2b095d?[_0x2b095d]:[],'tdx':_0x44e86a});gracefulExit(_0x4450bb);};wfSessionCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3c6))[a2_0x273220(0x274)](a2_0x273220(0x21e))[a2_0x273220(0x47a)](a2_0x273220(0x442),a2_0x273220(0x2a5))['option'](a2_0x273220(0x3ff),a2_0x273220(0x2c5))[a2_0x273220(0x47a)]('--to\x20<timestamp>',a2_0x273220(0x441))[a2_0x273220(0x349)](wfSessionListAction),workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a6))['description'](a2_0x273220(0x335))[a2_0x273220(0x47a)](a2_0x273220(0x442),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x273220(0x47a)](a2_0x273220(0x3ff),a2_0x273220(0x2c5))[a2_0x273220(0x47a)](a2_0x273220(0x381),'End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction);const wfAttemptListAction=async(_0x47f6d1,_0x5cdc7e)=>{const _0x416b1e=a2_0x273220,_0x55ad50=new WorkflowAttemptsCommand(),_0x1dacb9=program[_0x416b1e(0x294)](),_0xbaaab=await createTDXInstance(_0x1dacb9),_0x2b719e=await _0x55ad50[_0x416b1e(0x439)]({'options':{..._0x1dacb9,..._0x5cdc7e},'args':_0x47f6d1?[_0x47f6d1]:[],'tdx':_0xbaaab});gracefulExit(_0x2b719e);},attemptCmd=workflowCmd['command'](a2_0x273220(0x3f7))['description'](a2_0x273220(0x3cc))['argument'](a2_0x273220(0x24a),a2_0x273220(0x2be))['argument']('[action]',a2_0x273220(0x216))['argument'](a2_0x273220(0x2f8),a2_0x273220(0x285))[a2_0x273220(0x47a)](a2_0x273220(0x41b),a2_0x273220(0x217))[a2_0x273220(0x47a)](a2_0x273220(0x3b6),'Reason\x20for\x20killing\x20the\x20attempt')[a2_0x273220(0x47a)](a2_0x273220(0x3d3),'Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x273220(0x47a)](a2_0x273220(0x45a),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x273220(0x47a)](a2_0x273220(0x406),a2_0x273220(0x314))[a2_0x273220(0x47a)]('--include-retried',a2_0x273220(0x2f0))[a2_0x273220(0x349)](async(_0x15459a,_0x559112,_0x332dc9,_0x2740ec)=>{const _0x580cba=a2_0x273220;if(_0x15459a===_0x580cba(0x385)){await wfAttemptListAction(_0x559112,_0x2740ec);return;}if(!_0x15459a){attemptCmd['help']();return;}const _0xe14fcb=program[_0x580cba(0x294)](),_0x127e6a=await createTDXInstance(_0xe14fcb);let _0x128425=0x0;if(!_0x559112){const _0xe08e58=new WorkflowAttemptCommand();_0x128425=await _0xe08e58[_0x580cba(0x439)]({'options':{..._0xe14fcb,..._0x2740ec},'args':[_0x15459a],'tdx':_0x127e6a});}else{if(_0x559112===_0x580cba(0x1f9)){const _0x52f8db=new WorkflowLogsCommand();_0x128425=await _0x52f8db[_0x580cba(0x439)]({'options':{..._0xe14fcb,..._0x2740ec},'args':_0x332dc9?[_0x15459a,_0x332dc9]:[_0x15459a],'tdx':_0x127e6a});}else{if(_0x559112===_0x580cba(0x3c7)){const _0x1f84ce=new WorkflowTasksCommand();_0x128425=await _0x1f84ce[_0x580cba(0x439)]({'options':{..._0xe14fcb,..._0x2740ec},'args':[_0x15459a],'tdx':_0x127e6a});}else{if(_0x559112==='kill'){const _0x50ef09=new WorkflowKillCommand();_0x128425=await _0x50ef09['run']({'options':{..._0xe14fcb,..._0x2740ec},'args':[_0x15459a],'tdx':_0x127e6a});}else{if(_0x559112==='retry'){const _0x209ac4=new WorkflowRetryCommand();_0x128425=await _0x209ac4[_0x580cba(0x439)]({'options':{..._0xe14fcb,..._0x2740ec},'args':['attempt:'+_0x15459a],'tdx':_0x127e6a});}else console['error'](_0x580cba(0x302)+_0x559112),console['error']('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x128425=0x1;}}}}gracefulExit(_0x128425);});attemptCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3c6))['description']('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x273220(0x47a)]('--include-retried',a2_0x273220(0x459))[a2_0x273220(0x349)](wfAttemptListAction),workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2f9))['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x273220(0x47a)](a2_0x273220(0x43b),a2_0x273220(0x459))[a2_0x273220(0x349)](wfAttemptListAction),workflowCmd[a2_0x273220(0x3ad)]('timeline\x20[project.workflow]')[a2_0x273220(0x274)](a2_0x273220(0x34e))[a2_0x273220(0x47a)](a2_0x273220(0x222),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x273220(0x47a)](a2_0x273220(0x46b),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')['option'](a2_0x273220(0x363),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x273220(0x349)](async(_0xb51081,_0x2a0744)=>{const _0x151a46=a2_0x273220,_0x3b0af2=new WorkflowTimelineCommand(),_0x34b526=program[_0x151a46(0x294)](),_0x469ca9=await createTDXInstance(_0x34b526),_0x18eb27=await _0x3b0af2['run']({'options':{..._0x34b526,..._0x2a0744},'args':_0xb51081?[_0xb51081]:[],'tdx':_0x469ca9});gracefulExit(_0x18eb27);}),workflowCmd['command']('retry\x20<session-id>')[a2_0x273220(0x274)](a2_0x273220(0x2d0))[a2_0x273220(0x47a)](a2_0x273220(0x398),a2_0x273220(0x23e))['option']('--params\x20<json>',a2_0x273220(0x355))[a2_0x273220(0x349)](async(_0x14bf3c,_0x216d47)=>{const _0x5d9c1a=a2_0x273220,_0x5309c7=new WorkflowRetryCommand(),_0x1ddf0b=program['opts'](),_0x3bbed1=await createTDXInstance(_0x1ddf0b),_0x1b867e=await _0x5309c7[_0x5d9c1a(0x439)]({'options':{..._0x1ddf0b,..._0x216d47},'args':[_0x14bf3c],'tdx':_0x3bbed1});gracefulExit(_0x1b867e);}),workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2aa))[a2_0x273220(0x274)](a2_0x273220(0x358))[a2_0x273220(0x47a)](a2_0x273220(0x2b1),a2_0x273220(0x1fc),(_0x1a5491,_0x4ef0a6=[])=>[..._0x4ef0a6,_0x1a5491],[])[a2_0x273220(0x47a)]('--session-time\x20<time>',a2_0x273220(0x422))[a2_0x273220(0x349)](async(_0x368eeb,_0x4029af)=>{const _0x1081cc=a2_0x273220,_0x5ca16a=new WorkflowRunCommand(),_0x4b29df=program[_0x1081cc(0x294)](),_0x3bdb54=await createTDXInstance(_0x4b29df),_0x3e095e=await _0x5ca16a[_0x1081cc(0x439)]({'options':{..._0x4b29df,..._0x4029af},'args':_0x368eeb?[_0x368eeb]:[],'tdx':_0x3bdb54});gracefulExit(_0x3e095e);}),workflowCmd[a2_0x273220(0x3ad)]('download\x20<project-name>\x20[output-dir]')[a2_0x273220(0x274)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x273220(0x47a)](a2_0x273220(0x28f),a2_0x273220(0x400))['action'](async(_0x56e7bc,_0x57d57f,_0x20e396)=>{const _0x51f8c0=a2_0x273220,_0x4861b8=new WorkflowDownloadCommand(),_0x53d34d=program[_0x51f8c0(0x294)](),_0x1d02b5=await createTDXInstance(_0x53d34d),_0x3b93e0=await _0x4861b8['run']({'options':{..._0x53d34d,..._0x20e396},'args':[_0x56e7bc,_0x57d57f||'.'],'tdx':_0x1d02b5});gracefulExit(_0x3b93e0);}),workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x22e))[a2_0x273220(0x274)](a2_0x273220(0x37b))[a2_0x273220(0x47a)](a2_0x273220(0x28f),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x273220(0x47a)](a2_0x273220(0x313),a2_0x273220(0x332))[a2_0x273220(0x47a)](a2_0x273220(0x2a0),a2_0x273220(0x239))[a2_0x273220(0x349)](async(_0x1a7a8a,_0x4888ed,_0x5cf16f)=>{const _0x3d4c12=a2_0x273220,_0xa40c75=new WorkflowPullCommand(),_0xb5a884=program['opts'](),_0x3e3716=await createTDXInstance(_0xb5a884),_0xa6be44=await _0xa40c75[_0x3d4c12(0x439)]({'options':{..._0xb5a884,..._0x5cf16f},'args':_0x4888ed?[_0x1a7a8a,_0x4888ed]:[_0x1a7a8a],'tdx':_0x3e3716});gracefulExit(_0xa6be44);}),workflowCmd[a2_0x273220(0x3ad)]('push\x20[source-dir]')['description']('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')[a2_0x273220(0x47a)](a2_0x273220(0x28f),a2_0x273220(0x205))[a2_0x273220(0x47a)](a2_0x273220(0x313),a2_0x273220(0x330))[a2_0x273220(0x47a)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x273220(0x47a)]('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x273220(0x349)](async(_0x1b749d,_0x2e11ce)=>{const _0x31a9e6=a2_0x273220,_0x2f5846=new WorkflowPushCommand(),_0x41fbf6=program[_0x31a9e6(0x294)](),_0x5ad627=await createTDXInstance(_0x41fbf6),_0x6e5cb9=await _0x2f5846[_0x31a9e6(0x439)]({'options':{..._0x41fbf6,..._0x2e11ce},'args':_0x1b749d?[_0x1b749d]:[],'tdx':_0x5ad627});gracefulExit(_0x6e5cb9);}),workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x326))[a2_0x273220(0x274)]('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0x273220(0x47a)](a2_0x273220(0x3d6),a2_0x273220(0x2b9))[a2_0x273220(0x47a)](a2_0x273220(0x28f),a2_0x273220(0x423))[a2_0x273220(0x47a)](a2_0x273220(0x392),a2_0x273220(0x3e9))[a2_0x273220(0x349)](async(_0x4a732f,_0x1010ba)=>{const _0x5d7c6f=a2_0x273220,_0x4599a1=new WorkflowUploadCommand(),_0x3c223d=program['opts'](),_0x4f222f=await createTDXInstance(_0x3c223d),_0x4edc89=await _0x4599a1[_0x5d7c6f(0x439)]({'options':{..._0x3c223d,..._0x1010ba},'args':_0x4a732f?[_0x4a732f]:[],'tdx':_0x4f222f});gracefulExit(_0x4edc89);}),workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x308))[a2_0x273220(0x274)](a2_0x273220(0x445))[a2_0x273220(0x47a)](a2_0x273220(0x3d6),'Name\x20for\x20the\x20new\x20project\x20(required)')['option']('--revision\x20<revision>',a2_0x273220(0x205))[a2_0x273220(0x47a)](a2_0x273220(0x313),a2_0x273220(0x2a8))['option'](a2_0x273220(0x392),a2_0x273220(0x3e9))[a2_0x273220(0x47a)](a2_0x273220(0x2a0),a2_0x273220(0x239))[a2_0x273220(0x349)](async(_0x39632d,_0x2fa3cd)=>{const _0x16c90a=a2_0x273220,_0x4ac7d5=new WorkflowCloneCommand(),_0x24c12d=program['opts'](),_0x4b3ade=await createTDXInstance(_0x24c12d),_0x1659bb=await _0x4ac7d5[_0x16c90a(0x439)]({'options':{..._0x24c12d,..._0x2fa3cd},'args':_0x39632d?[_0x39632d]:[],'tdx':_0x4b3ade});gracefulExit(_0x1659bb);}),workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3c0))['description'](a2_0x273220(0x35d))[a2_0x273220(0x349)](async(_0x457d67,_0x1cd50f)=>{const _0x259aa6=a2_0x273220,_0x1f057f=new WorkflowDeleteCommand(),_0x3a8f30=program[_0x259aa6(0x294)](),_0x922929=await createTDXInstance(_0x3a8f30),_0x5e6cd4=await _0x1f057f[_0x259aa6(0x439)]({'options':{..._0x3a8f30,..._0x1cd50f},'args':[_0x457d67],'tdx':_0x922929});gracefulExit(_0x5e6cd4);}),workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x399))[a2_0x273220(0x274)](a2_0x273220(0x45e))['option']('--clear',a2_0x273220(0x209))[a2_0x273220(0x349)](async(_0x29465a,_0x598624)=>{const _0x4dfe2e=a2_0x273220,_0x224f7f=new WorkflowUseCommand(),_0x36ebd8=program[_0x4dfe2e(0x294)](),_0x143044=await createTDXInstance(_0x36ebd8),_0x522217=await _0x224f7f['run']({'options':{..._0x36ebd8,..._0x598624},'args':_0x29465a?[_0x29465a]:[],'tdx':_0x143044});gracefulExit(_0x522217);});const wfSecretsCmd=workflowCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3e4))[a2_0x273220(0x274)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x273220(0x3ad)]('list\x20[project]')[a2_0x273220(0x274)](a2_0x273220(0x2cb))[a2_0x273220(0x349)](async(_0x420de9,_0xddb69f)=>{const _0x1601d8=a2_0x273220,_0x229a9e=new WorkflowSecretsListCommand(),_0x166d51=program[_0x1601d8(0x294)](),_0x5c564f=await createTDXInstance(_0x166d51),_0x19865b=await _0x229a9e[_0x1601d8(0x439)]({'options':{..._0x166d51,..._0xddb69f},'args':_0x420de9?[_0x420de9]:[],'tdx':_0x5c564f});gracefulExit(_0x19865b);}),wfSecretsCmd[a2_0x273220(0x3ad)](a2_0x273220(0x369))['description'](a2_0x273220(0x3da))['action'](async(_0x431386,_0x111ad4)=>{const _0x1b7a35=new WorkflowSecretsSetCommand(),_0x19665d=program['opts'](),_0x962ae0=await createTDXInstance(_0x19665d),_0xc5442a=await _0x1b7a35['run']({'options':{..._0x19665d,..._0x111ad4},'args':_0x431386,'tdx':_0x962ae0});gracefulExit(_0xc5442a);}),wfSecretsCmd[a2_0x273220(0x3ad)](a2_0x273220(0x47b))[a2_0x273220(0x274)](a2_0x273220(0x3b3))['option'](a2_0x273220(0x2a0),a2_0x273220(0x239))['action'](async(_0x4a4e85,_0x4290ad)=>{const _0x19fdab=a2_0x273220,_0x192406=new WorkflowSecretsDeleteCommand(),_0x4648c1=program[_0x19fdab(0x294)](),_0xa54145=await createTDXInstance(_0x4648c1),_0xfc474=await _0x192406[_0x19fdab(0x439)]({'options':{..._0x4648c1,..._0x4290ad},'args':_0x4a4e85,'tdx':_0xa54145});gracefulExit(_0xfc474);});const jobCmd=program[a2_0x273220(0x3ad)]('job')['description']('Job\x20management\x20commands'),jobListAction=async _0x20c040=>{const _0x152354=a2_0x273220,_0x41f672=new JobListCommand(),_0x1aa82f=program[_0x152354(0x294)](),_0x4f4734=await createTDXInstance(_0x1aa82f),_0x1deefc=await _0x41f672[_0x152354(0x439)]({'options':{..._0x1aa82f,..._0x20c040},'args':[],'tdx':_0x4f4734});gracefulExit(_0x1deefc);};jobCmd[a2_0x273220(0x3ad)](a2_0x273220(0x385))[a2_0x273220(0x274)](a2_0x273220(0x289))[a2_0x273220(0x47a)]('--status\x20<status>',a2_0x273220(0x351))[a2_0x273220(0x349)](jobListAction),program[a2_0x273220(0x3ad)](a2_0x273220(0x39c),{'hidden':!![]})[a2_0x273220(0x274)](a2_0x273220(0x39a))[a2_0x273220(0x47a)](a2_0x273220(0x442),a2_0x273220(0x351))[a2_0x273220(0x349)](jobListAction),jobCmd['command'](a2_0x273220(0x40f))[a2_0x273220(0x274)](a2_0x273220(0x46c))['action'](async(_0x417d21,_0x1d1433)=>{const _0x48e6dd=new JobShowCommand(),_0x22dc43=program['opts'](),_0x28e37c=await createTDXInstance(_0x22dc43),_0x4ceeea=await _0x48e6dd['run']({'options':{..._0x22dc43,..._0x1d1433},'args':[_0x417d21],'tdx':_0x28e37c});gracefulExit(_0x4ceeea);}),jobCmd['command'](a2_0x273220(0x397))['description'](a2_0x273220(0x22f))[a2_0x273220(0x349)](async(_0x5813bc,_0x4b8fbd)=>{const _0x5c15b3=a2_0x273220,_0x371c20=new JobKillCommand(),_0x3d47ff=program[_0x5c15b3(0x294)](),_0x3e91ca=await createTDXInstance(_0x3d47ff),_0x5a4313=await _0x371c20[_0x5c15b3(0x439)]({'options':{..._0x3d47ff,..._0x4b8fbd},'args':[_0x5813bc],'tdx':_0x3e91ca});gracefulExit(_0x5a4313);}),jobCmd[a2_0x273220(0x3ad)](a2_0x273220(0x230))[a2_0x273220(0x274)](a2_0x273220(0x35b))['option'](a2_0x273220(0x288),a2_0x273220(0x283),a2_0x273220(0x3c3))[a2_0x273220(0x47a)]('-f,\x20--file\x20<path>',a2_0x273220(0x23f))[a2_0x273220(0x47a)]('--database\x20<name>',a2_0x273220(0x2c8),a2_0x273220(0x479))[a2_0x273220(0x349)](async(_0x5557a3,_0x269eaf)=>{const _0x3d8757=a2_0x273220,_0x1cd7aa=new JobSubmitCommand(),_0x26b042=program[_0x3d8757(0x294)](),_0xba6bf=await createTDXInstance(_0x26b042),_0xf98199=await _0x1cd7aa['run']({'options':{..._0x26b042,..._0x269eaf},'args':_0x5557a3?[_0x5557a3]:[],'tdx':_0xba6bf});gracefulExit(_0xf98199);}),jobCmd[a2_0x273220(0x3ad)](a2_0x273220(0x368))[a2_0x273220(0x274)](a2_0x273220(0x2ba))[a2_0x273220(0x349)](async(_0x2ec2b7,_0x8eabd)=>{const _0x36836f=new JobResultCommand(),_0x3d0388=program['opts'](),_0x2bf6d7=await createTDXInstance(_0x3d0388),_0x36eb90=await _0x36836f['run']({'options':{..._0x3d0388,..._0x8eabd},'args':[_0x2ec2b7],'tdx':_0x2bf6d7});gracefulExit(_0x36eb90);});const scheduleCmd=jobCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3ca))[a2_0x273220(0x274)](a2_0x273220(0x23a));scheduleCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a5))[a2_0x273220(0x274)](a2_0x273220(0x38c))[a2_0x273220(0x349)](async(_0x330595,_0x401ee1)=>{const _0x1bf2ea=new ScheduleListCommand(),_0x4db265=program['opts'](),_0x270b2d=await createTDXInstance(_0x4db265),_0x48e9d6=await _0x1bf2ea['run']({'options':{..._0x4db265,..._0x401ee1},'args':_0x330595?[_0x330595]:[],'tdx':_0x270b2d});gracefulExit(_0x48e9d6);}),scheduleCmd['command'](a2_0x273220(0x2d9))[a2_0x273220(0x274)]('Show\x20schedule\x20details')[a2_0x273220(0x349)](async(_0x6ff3a2,_0x303b4b)=>{const _0x2ebc22=a2_0x273220,_0x28b561=new ScheduleShowCommand(),_0x4957af=program[_0x2ebc22(0x294)](),_0x251a03=await createTDXInstance(_0x4957af),_0x19f114=await _0x28b561[_0x2ebc22(0x439)]({'options':{..._0x4957af,..._0x303b4b},'args':[_0x6ff3a2],'tdx':_0x251a03});gracefulExit(_0x19f114);}),scheduleCmd[a2_0x273220(0x3ad)](a2_0x273220(0x430))['description'](a2_0x273220(0x2ab))['requiredOption']('-d,\x20--database\x20<db>','Database\x20name')[a2_0x273220(0x2e2)](a2_0x273220(0x3c1),a2_0x273220(0x23f))[a2_0x273220(0x47a)](a2_0x273220(0x42d),a2_0x273220(0x373),a2_0x273220(0x3c3))[a2_0x273220(0x47a)](a2_0x273220(0x22b),'Cron\x20expression\x20for\x20scheduling')['option'](a2_0x273220(0x40b),a2_0x273220(0x450))[a2_0x273220(0x47a)](a2_0x273220(0x231),a2_0x273220(0x3fb))['option'](a2_0x273220(0x467),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x273220(0x47a)](a2_0x273220(0x2d7),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x273220(0x47a)](a2_0x273220(0x428),a2_0x273220(0x3f9))[a2_0x273220(0x47a)](a2_0x273220(0x2b3),a2_0x273220(0x1fd))[a2_0x273220(0x349)](async(_0x3fbf10,_0x649f1c)=>{const _0x1ecf85=a2_0x273220,_0x246873=new ScheduleCreateCommand(),_0x4d40e9=program[_0x1ecf85(0x294)](),_0x277871=await createTDXInstance(_0x4d40e9),_0x5c3eab=await _0x246873['run']({'options':{..._0x4d40e9,..._0x649f1c},'args':[_0x3fbf10],'tdx':_0x277871});gracefulExit(_0x5c3eab);}),scheduleCmd[a2_0x273220(0x3ad)](a2_0x273220(0x27c))['description'](a2_0x273220(0x214))[a2_0x273220(0x47a)](a2_0x273220(0x311),'Database\x20name')[a2_0x273220(0x47a)]('-f,\x20--file\x20<path>',a2_0x273220(0x23f))[a2_0x273220(0x47a)](a2_0x273220(0x42d),a2_0x273220(0x373))['option']('--cron\x20<expression>',a2_0x273220(0x463))['option'](a2_0x273220(0x40b),a2_0x273220(0x1f6))[a2_0x273220(0x47a)]('--delay\x20<seconds>',a2_0x273220(0x3fb))[a2_0x273220(0x47a)](a2_0x273220(0x467),a2_0x273220(0x328))[a2_0x273220(0x47a)](a2_0x273220(0x2d7),a2_0x273220(0x461))[a2_0x273220(0x47a)](a2_0x273220(0x428),a2_0x273220(0x3f9))[a2_0x273220(0x47a)](a2_0x273220(0x2b3),'Result\x20output\x20destination\x20URL')[a2_0x273220(0x349)](async(_0x3796fe,_0x5bf800)=>{const _0x12789b=a2_0x273220,_0x43eb8c=new ScheduleUpdateCommand(),_0x10f7fc=program[_0x12789b(0x294)](),_0x4e90a2=await createTDXInstance(_0x10f7fc),_0x18af7c=await _0x43eb8c[_0x12789b(0x439)]({'options':{..._0x10f7fc,..._0x5bf800},'args':[_0x3796fe],'tdx':_0x4e90a2});gracefulExit(_0x18af7c);}),scheduleCmd['command'](a2_0x273220(0x433))[a2_0x273220(0x274)](a2_0x273220(0x254))[a2_0x273220(0x349)](async(_0x338dad,_0x3193ab)=>{const _0x2a8329=a2_0x273220,_0xc21a2d=new ScheduleDeleteCommand(),_0x142eca=program[_0x2a8329(0x294)](),_0x1b3e7e=await createTDXInstance(_0x142eca),_0x12c784=await _0xc21a2d[_0x2a8329(0x439)]({'options':{..._0x142eca,..._0x3193ab},'args':[_0x338dad],'tdx':_0x1b3e7e});gracefulExit(_0x12c784);}),scheduleCmd[a2_0x273220(0x3ad)]('run\x20<name>')['description'](a2_0x273220(0x251))[a2_0x273220(0x47a)]('--time\x20<iso8601>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x273220(0x47a)](a2_0x273220(0x21c),a2_0x273220(0x482))[a2_0x273220(0x349)](async(_0x5ab062,_0x14b964)=>{const _0x1b98a4=a2_0x273220,_0x5c5cdc=new ScheduleRunCommand(),_0x41b6b1=program['opts'](),_0x5530b1=await createTDXInstance(_0x41b6b1),_0x452ebf=await _0x5c5cdc[_0x1b98a4(0x439)]({'options':{..._0x41b6b1,..._0x14b964},'args':[_0x5ab062],'tdx':_0x5530b1});gracefulExit(_0x452ebf);}),scheduleCmd[a2_0x273220(0x3ad)](a2_0x273220(0x21a))[a2_0x273220(0x274)](a2_0x273220(0x370))[a2_0x273220(0x47a)]('--from\x20<n>',a2_0x273220(0x2ce))[a2_0x273220(0x47a)](a2_0x273220(0x300),'Ending\x20offset\x20(default:\x2020)')[a2_0x273220(0x349)](async(_0x56f118,_0x438e3b)=>{const _0x1e767a=a2_0x273220,_0x2a2b07=new ScheduleHistoryCommand(),_0x5b8199=program[_0x1e767a(0x294)](),_0x2d8a5e=await createTDXInstance(_0x5b8199),_0x204c97=await _0x2a2b07[_0x1e767a(0x439)]({'options':{..._0x5b8199,..._0x438e3b},'args':[_0x56f118],'tdx':_0x2d8a5e});gracefulExit(_0x204c97);});const llmCmd=program[a2_0x273220(0x3ad)](a2_0x273220(0x24b))[a2_0x273220(0x274)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3b5))[a2_0x273220(0x274)](a2_0x273220(0x316))[a2_0x273220(0x349)](async(_0xaec024,_0x18e310)=>{const _0x37d081=a2_0x273220,_0x4bce2c=new LLMUseCommand(),_0x3a46dc=program[_0x37d081(0x294)](),_0x3b3b7e=await createTDXInstance(_0x3a46dc),_0x2d1e50=await _0x4bce2c['run']({'options':{..._0x3a46dc,..._0x18e310},'args':[_0xaec024],'tdx':_0x3b3b7e});gracefulExit(_0x2d1e50);}),llmCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a8))[a2_0x273220(0x274)]('List\x20available\x20LLM\x20models')['action'](async _0x5f5dab=>{const _0x3865bd=a2_0x273220,_0x527a48=new LLMModelsCommand(),_0x42226c=program[_0x3865bd(0x294)](),_0x2503ff=await createTDXInstance(_0x42226c),_0x22fd69=await _0x527a48['run']({'options':{..._0x42226c,..._0x5f5dab},'args':[],'tdx':_0x2503ff});gracefulExit(_0x22fd69);});const projectCmd=llmCmd[a2_0x273220(0x3ad)](a2_0x273220(0x282))[a2_0x273220(0x274)](a2_0x273220(0x2f2)),llmProjectListAction=async(_0xbfd31c,_0x3d7f8d)=>{const _0x4447a0=a2_0x273220,_0x2f9c1e=new LLMProjectsCommand(),_0x52bb7f=program[_0x4447a0(0x294)](),_0x1715a4=await createTDXInstance(_0x52bb7f),_0xdecb8e=await _0x2f9c1e[_0x4447a0(0x439)]({'options':{..._0x52bb7f,..._0x3d7f8d},'args':_0xbfd31c?[_0xbfd31c]:[],'tdx':_0x1715a4});gracefulExit(_0xdecb8e);};projectCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a5))[a2_0x273220(0x274)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')['action'](llmProjectListAction),llmCmd['command'](a2_0x273220(0x40a))[a2_0x273220(0x274)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](llmProjectListAction),projectCmd[a2_0x273220(0x3ad)](a2_0x273220(0x430))[a2_0x273220(0x274)](a2_0x273220(0x201))[a2_0x273220(0x47a)]('--description\x20<text>',a2_0x273220(0x2e9))[a2_0x273220(0x349)](async(_0x5b1615,_0xf39960)=>{const _0x16756d=a2_0x273220,_0x682046=new LLMProjectCreateCommand(),_0x2e0a80=program['opts'](),_0x3afbf6=await createTDXInstance(_0x2e0a80),_0x2628cb=await _0x682046[_0x16756d(0x439)]({'options':{..._0x2e0a80,..._0xf39960},'args':[_0x5b1615],'tdx':_0x3afbf6});gracefulExit(_0x2628cb);}),projectCmd[a2_0x273220(0x3ad)](a2_0x273220(0x433))[a2_0x273220(0x274)](a2_0x273220(0x372))[a2_0x273220(0x349)](async(_0x5ee9c7,_0x438343)=>{const _0x7fb7c8=a2_0x273220,_0x18031f=new LLMProjectDeleteCommand(),_0x4efa2a=program[_0x7fb7c8(0x294)](),_0x26bd27=await createTDXInstance(_0x4efa2a),_0x5c4b32=await _0x18031f[_0x7fb7c8(0x439)]({'options':{..._0x4efa2a,..._0x438343},'args':[_0x5ee9c7],'tdx':_0x26bd27});gracefulExit(_0x5c4b32);}),projectCmd[a2_0x273220(0x3ad)](a2_0x273220(0x408))[a2_0x273220(0x274)](a2_0x273220(0x26f))[a2_0x273220(0x47a)](a2_0x273220(0x2a7),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x273220(0x47a)]('--dry-run',a2_0x273220(0x350))[a2_0x273220(0x349)](async(_0x189fa0,_0x168edf)=>{const _0x36ae40=a2_0x273220,_0x543610=new LLMProjectBackupCommand(),_0x101a3d=program[_0x36ae40(0x294)](),_0x398d6c=await createTDXInstance(_0x101a3d),_0x448c9f=await _0x543610[_0x36ae40(0x439)]({'options':{..._0x101a3d,..._0x168edf},'args':[_0x189fa0],'tdx':_0x398d6c});gracefulExit(_0x448c9f);}),projectCmd[a2_0x273220(0x3ad)]('restore\x20<folder>')[a2_0x273220(0x274)](a2_0x273220(0x278))[a2_0x273220(0x47a)](a2_0x273220(0x40c),a2_0x273220(0x3c9))[a2_0x273220(0x47a)](a2_0x273220(0x313),a2_0x273220(0x334))[a2_0x273220(0x349)](async(_0x12401e,_0x2f8c41)=>{const _0x46b1db=a2_0x273220,_0x4f3cf7=new LLMProjectRestoreCommand(),_0x395b6d=program[_0x46b1db(0x294)](),_0x2b331a=await createTDXInstance(_0x395b6d),_0x4dba93=await _0x4f3cf7[_0x46b1db(0x439)]({'options':{..._0x395b6d,..._0x2f8c41},'args':[_0x12401e],'tdx':_0x2b331a});gracefulExit(_0x4dba93);});const llmAgentListAction=async(_0x5ec63b,_0x551954)=>{const _0x7f70cb=a2_0x273220,_0x55c32d=new LLMAgentsCommand(),_0x1ec41d=program[_0x7f70cb(0x294)](),_0x58ed21=await createTDXInstance(_0x1ec41d),_0x27d9f2=await _0x55c32d[_0x7f70cb(0x439)]({'options':{..._0x1ec41d,..._0x551954},'args':_0x5ec63b?[_0x5ec63b]:[],'tdx':_0x58ed21});gracefulExit(_0x27d9f2);};llmCmd[a2_0x273220(0x3ad)](a2_0x273220(0x37c))[a2_0x273220(0x274)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x273220(0x349)](llmAgentListAction),program[a2_0x273220(0x3ad)](a2_0x273220(0x37c))[a2_0x273220(0x274)](a2_0x273220(0x3ab))['action'](llmAgentListAction),llmCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3e5))[a2_0x273220(0x274)](a2_0x273220(0x478))[a2_0x273220(0x47a)](a2_0x273220(0x20c),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')['action'](async(_0x5a1883,_0x4a9dc2)=>{const _0xf50e55=a2_0x273220,_0x3d3b68=new LLMHistoryCommand(),_0x3ae2df=program[_0xf50e55(0x294)](),_0x1e63bf=await createTDXInstance(_0x3ae2df),_0x320d6b=await _0x3d3b68['run']({'options':{..._0x3ae2df,..._0x4a9dc2},'args':_0x5a1883?[_0x5a1883]:[],'tdx':_0x1e63bf});gracefulExit(_0x320d6b);});isExperimentalAvailable()&&llmCmd['command'](a2_0x273220(0x44e))['description'](a2_0x273220(0x292))[a2_0x273220(0x349)](async(_0x18a447,_0xc34d74)=>{const _0x3e0125=a2_0x273220,_0x5ef07e=new LLMLogCommand(),_0x63eea5=program[_0x3e0125(0x294)](),_0x273e96=await createTDXInstance(_0x63eea5),_0x15b2f2=await _0x5ef07e[_0x3e0125(0x439)]({'options':{..._0x63eea5,..._0xc34d74},'args':[_0x18a447],'tdx':_0x273e96});gracefulExit(_0x15b2f2);});program[a2_0x273220(0x3ad)](a2_0x273220(0x464))[a2_0x273220(0x212)](a2_0x273220(0x390))[a2_0x273220(0x274)](a2_0x273220(0x383))[a2_0x273220(0x47a)](a2_0x273220(0x460),a2_0x273220(0x47c))['option']('-r,\x20--resume',a2_0x273220(0x23b))[a2_0x273220(0x47a)](a2_0x273220(0x27b),a2_0x273220(0x2ee))[a2_0x273220(0x2d1)]()[a2_0x273220(0x35a)](!![])['addHelpText'](a2_0x273220(0x410),a2_0x273220(0x24f))[a2_0x273220(0x349)](async(_0x4bea8b,_0x59a633)=>{const _0x4fe4be=a2_0x273220,_0x8c0ab=program[_0x4fe4be(0x294)](),_0x451180=Array[_0x4fe4be(0x281)](_0x4bea8b)?_0x4bea8b:[];if(_0x451180[0x0]===_0x4fe4be(0x40e)){const _0x1ea5ab=new ClaudeStatuslineCommand(),_0x3bc233=await _0x1ea5ab[_0x4fe4be(0x439)]({'options':{..._0x8c0ab,..._0x59a633},'args':_0x451180['slice'](0x1),'tdx':null});gracefulExit(_0x3bc233);}if(_0x451180[0x0]===_0x4fe4be(0x212)){const _0x447bd0=new ClaudeUsageCommand(),_0x2600a7=await _0x447bd0[_0x4fe4be(0x439)]({'options':{..._0x8c0ab,..._0x59a633},'args':_0x451180[_0x4fe4be(0x23c)](0x1),'tdx':null});gracefulExit(_0x2600a7);}const _0x5ef827=new ClaudeCommand(),_0x27786e=await createTDXInstance(_0x8c0ab),_0x410956=await _0x5ef827[_0x4fe4be(0x439)]({'options':{..._0x8c0ab,..._0x59a633},'args':_0x451180,'tdx':_0x27786e});gracefulExit(_0x410956);}),program[a2_0x273220(0x3ad)]('use\x20[resource]\x20[value]')[a2_0x273220(0x274)](a2_0x273220(0x32e))[a2_0x273220(0x47a)](a2_0x273220(0x3ee),'Clear\x20session\x20context')[a2_0x273220(0x47a)](a2_0x273220(0x47f),a2_0x273220(0x26a))[a2_0x273220(0x349)](async(_0x4b0086,_0x21255d,_0x161368)=>{const _0x1dd967=a2_0x273220,_0x3cfc10=new UseCommand(),_0x1a4ecf=program[_0x1dd967(0x294)](),_0x45e934=[];if(_0x4b0086)_0x45e934[_0x1dd967(0x34a)](_0x4b0086);if(_0x21255d)_0x45e934['push'](_0x21255d);const _0x427203=await _0x3cfc10[_0x1dd967(0x439)]({'options':{..._0x1a4ecf,..._0x161368},'args':_0x45e934,'tdx':null});gracefulExit(_0x427203);}),program[a2_0x273220(0x3ad)](a2_0x273220(0x2a3))[a2_0x273220(0x274)](a2_0x273220(0x436))[a2_0x273220(0x349)](async _0x1d1802=>{const _0x5df240=a2_0x273220,_0x9e4fad=new StatusCommand(),_0x444e32=program[_0x5df240(0x294)](),_0x268931=await createTDXInstance(_0x444e32),_0x1f1c79=await _0x9e4fad[_0x5df240(0x439)]({'options':{..._0x444e32,..._0x1d1802},'args':[],'tdx':_0x268931});gracefulExit(_0x1f1c79);}),program['command']('unset\x20<resource>')[a2_0x273220(0x274)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')['option'](a2_0x273220(0x47f),a2_0x273220(0x21d))[a2_0x273220(0x349)](async(_0x259be2,_0x12dc02)=>{const _0x50cb87=a2_0x273220,_0x29a0d0=new UnsetCommand(),_0x41e1ea=program[_0x50cb87(0x294)](),_0x454f37=await _0x29a0d0[_0x50cb87(0x439)]({'options':{..._0x41e1ea,..._0x12dc02},'args':[_0x259be2],'tdx':null});gracefulExit(_0x454f37);}),program['command'](a2_0x273220(0x215))[a2_0x273220(0x274)](a2_0x273220(0x34b))[a2_0x273220(0x47a)]('--last','Show\x20the\x20most\x20recent\x20chat')[a2_0x273220(0x349)](async _0x5e6702=>{const _0x559763=a2_0x273220,_0x4699ef=new ChatsCommand(),_0x3e6b4f=program[_0x559763(0x294)](),_0x2a1d23=await createTDXInstance(_0x3e6b4f),_0x150748=await _0x4699ef[_0x559763(0x439)]({'options':{..._0x3e6b4f,..._0x5e6702},'args':[],'tdx':_0x2a1d23});gracefulExit(_0x150748);});const authCmd=program[a2_0x273220(0x3ad)](a2_0x273220(0x361))[a2_0x273220(0x274)](a2_0x273220(0x28b));async function runAuthStatusCommand(_0x3d5e9c){const _0x4681ad=a2_0x273220,_0x15fb1c=new AuthStatusCommand(),_0x4be3e5=program[_0x4681ad(0x294)](),_0x231769=await createTDXInstance(_0x4be3e5),_0x5858fa=await _0x15fb1c[_0x4681ad(0x439)]({'options':{..._0x4be3e5,..._0x3d5e9c},'args':[],'tdx':_0x231769});gracefulExit(_0x5858fa);}authCmd[a2_0x273220(0x349)](runAuthStatusCommand),authCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2a3))[a2_0x273220(0x274)](a2_0x273220(0x2a6))[a2_0x273220(0x349)](runAuthStatusCommand),authCmd[a2_0x273220(0x3ad)]('setup')[a2_0x273220(0x274)](a2_0x273220(0x446))['addHelpText'](a2_0x273220(0x410),a2_0x273220(0x2d5))[a2_0x273220(0x349)](async _0x61dc4e=>{const _0x36dcc3=a2_0x273220,_0x1dff87=new AuthSetupCommand(),_0x1cac1c=program[_0x36dcc3(0x294)](),_0x5f574a=await createTDXInstance(_0x1cac1c),_0x2f79e5=await _0x1dff87[_0x36dcc3(0x439)]({'options':{..._0x1cac1c,..._0x61dc4e},'args':[],'tdx':_0x5f574a});gracefulExit(_0x2f79e5);}),authCmd['command'](a2_0x273220(0x387))[a2_0x273220(0x274)](a2_0x273220(0x2b2))[a2_0x273220(0x36b)](a2_0x273220(0x410),a2_0x273220(0x396))['action'](async _0x565179=>{const _0x24ade1=a2_0x273220,_0x5d2c93=new AuthClearCommand(),_0x4298e2=program[_0x24ade1(0x294)](),_0x27e08d=await _0x5d2c93[_0x24ade1(0x439)]({'options':{..._0x4298e2,..._0x565179},'args':[],'tdx':null});gracefulExit(_0x27e08d);});const userCmd=program['command'](a2_0x273220(0x2c9))[a2_0x273220(0x274)](a2_0x273220(0x36a)),userListAction=async _0x2731ba=>{const _0x4fc375=a2_0x273220,_0x55bcba=new UserListCommand(),_0x3647df=program[_0x4fc375(0x294)](),_0x3b7543=await createTDXInstance(_0x3647df),_0xa4cd5=await _0x55bcba[_0x4fc375(0x439)]({'options':{..._0x3647df,..._0x2731ba},'args':[],'tdx':_0x3b7543});gracefulExit(_0xa4cd5);};userCmd[a2_0x273220(0x349)](async _0x3b8abf=>{const _0x42d641=a2_0x273220,_0xfc262b=new UserCommand(),_0xe7abbb=program[_0x42d641(0x294)](),_0x1517f2=await createTDXInstance(_0xe7abbb),_0x3030e1=await _0xfc262b[_0x42d641(0x439)]({'options':{..._0xe7abbb,..._0x3b8abf},'args':[],'tdx':_0x1517f2});gracefulExit(_0x3030e1);}),userCmd['command'](a2_0x273220(0x385))[a2_0x273220(0x274)](a2_0x273220(0x2a1))[a2_0x273220(0x349)](userListAction),program[a2_0x273220(0x3ad)]('users')[a2_0x273220(0x274)](a2_0x273220(0x37a))[a2_0x273220(0x349)](userListAction),program[a2_0x273220(0x3ad)]('profiles')[a2_0x273220(0x274)](a2_0x273220(0x3b1))[a2_0x273220(0x349)](async _0x4b9bac=>{const _0x4708d2=a2_0x273220,_0x25be9a=new ProfilesCommand(),_0x831042=program[_0x4708d2(0x294)](),_0x536ac0=await _0x25be9a['run']({'options':{..._0x831042,..._0x4b9bac},'args':[],'tdx':null});gracefulExit(_0x536ac0);});const profileCmd=program[a2_0x273220(0x3ad)]('profile')[a2_0x273220(0x274)](a2_0x273220(0x45f));profileCmd[a2_0x273220(0x349)](()=>{const _0x477b89=a2_0x273220;profileCmd[_0x477b89(0x421)]();});const profileListAction=async _0x3ff479=>{const _0x2825da=a2_0x273220,_0x4558df=new ProfilesCommand(),_0x37e0c4=program[_0x2825da(0x294)](),_0x1ade0a=await _0x4558df[_0x2825da(0x439)]({'options':{..._0x37e0c4,..._0x3ff479},'args':[],'tdx':null});gracefulExit(_0x1ade0a);};profileCmd[a2_0x273220(0x3ad)]('list')[a2_0x273220(0x274)](a2_0x273220(0x3b1))[a2_0x273220(0x349)](profileListAction),profileCmd[a2_0x273220(0x3ad)]('create\x20[name]')['description'](a2_0x273220(0x2e0))[a2_0x273220(0x36b)](a2_0x273220(0x410),a2_0x273220(0x25f))[a2_0x273220(0x349)](async(_0x386da2,_0x2fde76)=>{const _0x3d26bc=a2_0x273220,_0x43e40d=new ProfileCreateCommand(),_0x34f331=program[_0x3d26bc(0x294)](),_0x1533b3=await _0x43e40d['run']({'options':{..._0x34f331,..._0x2fde76},'args':_0x386da2?[_0x386da2]:[],'tdx':null});gracefulExit(_0x1533b3);}),profileCmd['command'](a2_0x273220(0x356))[a2_0x273220(0x274)](a2_0x273220(0x3b0))[a2_0x273220(0x36b)]('after',a2_0x273220(0x2d6))['action'](async(_0x2900ef,_0x295070)=>{const _0x531a07=a2_0x273220,_0x129688=new ProfileRemoveCommand(),_0x8616a4=program[_0x531a07(0x294)](),_0x90fe18=await _0x129688[_0x531a07(0x439)]({'options':{..._0x8616a4,..._0x295070},'args':[_0x2900ef],'tdx':null});gracefulExit(_0x90fe18);}),profileCmd[a2_0x273220(0x3ad)](a2_0x273220(0x26d))[a2_0x273220(0x274)](a2_0x273220(0x2fb))[a2_0x273220(0x36b)]('after',a2_0x273220(0x34f))['action'](async(_0x107323,_0x2812cf)=>{const _0x317769=a2_0x273220,_0x1479f0=new ProfileSetCommand(),_0x4d966c=program['opts'](),_0xc336a8=await _0x1479f0[_0x317769(0x439)]({'options':{..._0x4d966c,..._0x2812cf},'args':[_0x107323],'tdx':null});gracefulExit(_0xc336a8);}),profileCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3f8))[a2_0x273220(0x274)](a2_0x273220(0x245))['option'](a2_0x273220(0x47f),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['addHelpText'](a2_0x273220(0x410),a2_0x273220(0x258))[a2_0x273220(0x349)](async(_0x556181,_0x3524c8)=>{const _0x38176e=a2_0x273220,_0xd1bf3b=new ProfileUseCommand(),_0x354091=program['opts'](),_0x2f76ca=await _0xd1bf3b[_0x38176e(0x439)]({'options':{..._0x354091,..._0x3524c8},'args':[_0x556181],'tdx':null});gracefulExit(_0x2f76ca);});const engageCmd=program['command'](a2_0x273220(0x3fc))[a2_0x273220(0x274)](a2_0x273220(0x33a)),createEngageAction=_0x59b7c8=>{return async(_0x2a1e04,_0xb0bc3e)=>{const _0x1ba33f=a2_0x2089,_0x4e5c85=new _0x59b7c8(),_0x3938d7=program[_0x1ba33f(0x294)](),_0xf31f00=await createTDXInstance(_0x3938d7),_0x453bcc=await _0x4e5c85[_0x1ba33f(0x439)]({'options':{..._0x3938d7,..._0xb0bc3e},'args':[_0x2a1e04],'tdx':_0xf31f00});gracefulExit(_0x453bcc);};},createEngageNoArgAction=_0x313bd8=>{return async _0x2bb68e=>{const _0x4334f4=a2_0x2089,_0x545c84=new _0x313bd8(),_0x20ca09=program[_0x4334f4(0x294)](),_0x586216=await createTDXInstance(_0x20ca09),_0x2f3323=await _0x545c84[_0x4334f4(0x439)]({'options':{..._0x20ca09,..._0x2bb68e},'args':[],'tdx':_0x586216});gracefulExit(_0x2f3323);};},campaignCmd=engageCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3fe))[a2_0x273220(0x274)]('Campaign\x20management'),campaignListAction=async(_0x5a9110,_0x346b05)=>{const _0x78f426=a2_0x273220,_0x199444=new EngageCampaignsCommand(),_0x3a3f5b=program[_0x78f426(0x294)](),_0x286d9e=await createTDXInstance(_0x3a3f5b),_0x2fe9d5=await _0x199444['run']({'options':{..._0x3a3f5b,..._0x346b05},'args':_0x5a9110?[_0x5a9110]:[],'tdx':_0x286d9e});gracefulExit(_0x2fe9d5);};campaignCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a5))[a2_0x273220(0x274)](a2_0x273220(0x33f))['option']('--type\x20<type>',a2_0x273220(0x253))[a2_0x273220(0x47a)](a2_0x273220(0x442),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option']('--workspace\x20<name>',a2_0x273220(0x21b))['action'](campaignListAction),engageCmd[a2_0x273220(0x3ad)](a2_0x273220(0x303))[a2_0x273220(0x274)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x273220(0x47a)](a2_0x273220(0x42d),a2_0x273220(0x253))[a2_0x273220(0x47a)](a2_0x273220(0x442),a2_0x273220(0x275))[a2_0x273220(0x47a)](a2_0x273220(0x42b),a2_0x273220(0x21b))[a2_0x273220(0x349)](campaignListAction),campaignCmd[a2_0x273220(0x3ad)]('show\x20<name-or-id>')[a2_0x273220(0x274)](a2_0x273220(0x28d))[a2_0x273220(0x47a)](a2_0x273220(0x42b),a2_0x273220(0x21b))[a2_0x273220(0x47a)](a2_0x273220(0x277),a2_0x273220(0x3e1))[a2_0x273220(0x349)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x273220(0x3ad)]('create')[a2_0x273220(0x274)](a2_0x273220(0x477))[a2_0x273220(0x2e2)](a2_0x273220(0x3d6),a2_0x273220(0x20f))['requiredOption'](a2_0x273220(0x42d),a2_0x273220(0x310))[a2_0x273220(0x47a)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x273220(0x47a)](a2_0x273220(0x1fe),a2_0x273220(0x223))[a2_0x273220(0x47a)](a2_0x273220(0x38a),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x273220(0x47a)](a2_0x273220(0x391),'Email\x20sender\x20ID\x20for\x20delivery')['option'](a2_0x273220(0x2ef),a2_0x273220(0x37e))[a2_0x273220(0x47a)]('--start-at\x20<datetime>',a2_0x273220(0x415))[a2_0x273220(0x47a)](a2_0x273220(0x40b),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x273220(0x349)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2ac))[a2_0x273220(0x274)](a2_0x273220(0x471))['option'](a2_0x273220(0x42b),a2_0x273220(0x21b))[a2_0x273220(0x47a)](a2_0x273220(0x3d6),'New\x20campaign\x20name')['option'](a2_0x273220(0x1fe),'Campaign\x20description')[a2_0x273220(0x47a)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x273220(0x47a)]('--email-sender-id\x20<id>',a2_0x273220(0x238))[a2_0x273220(0x47a)](a2_0x273220(0x2ef),a2_0x273220(0x37e))[a2_0x273220(0x47a)](a2_0x273220(0x3f5),a2_0x273220(0x415))[a2_0x273220(0x47a)]('--timezone\x20<tz>',a2_0x273220(0x2a9))[a2_0x273220(0x349)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x273220(0x3ad)](a2_0x273220(0x1f8))[a2_0x273220(0x274)](a2_0x273220(0x37f))['option'](a2_0x273220(0x42b),a2_0x273220(0x21b))['option']('--yes',a2_0x273220(0x239))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3dd))[a2_0x273220(0x274)](a2_0x273220(0x395))['option'](a2_0x273220(0x42b),a2_0x273220(0x21b))[a2_0x273220(0x349)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2e7))['description'](a2_0x273220(0x39f))[a2_0x273220(0x47a)](a2_0x273220(0x42b),a2_0x273220(0x21b))[a2_0x273220(0x349)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x273220(0x3ad)](a2_0x273220(0x249))['description'](a2_0x273220(0x32b))[a2_0x273220(0x47a)](a2_0x273220(0x42b),a2_0x273220(0x21b))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x273220(0x3ad)]('duplicate\x20<name-or-id>')[a2_0x273220(0x274)]('Duplicate\x20a\x20campaign')['option'](a2_0x273220(0x42b),a2_0x273220(0x21b))[a2_0x273220(0x349)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x273220(0x3a4))[a2_0x273220(0x274)](a2_0x273220(0x2dd)),templateListAction=async(_0x2b64a6,_0x2b9e77)=>{const _0x3c6cdf=a2_0x273220,_0x5bf113=new EngageTemplatesCommand(),_0x4083f8=program[_0x3c6cdf(0x294)](),_0x3cbc6e=await createTDXInstance(_0x4083f8),_0x4bc3f6=await _0x5bf113['run']({'options':{..._0x4083f8,..._0x2b9e77},'args':_0x2b64a6?[_0x2b64a6]:[],'tdx':_0x3cbc6e});gracefulExit(_0x4bc3f6);};templateCmd['command']('list\x20[pattern]')[a2_0x273220(0x274)](a2_0x273220(0x389))[a2_0x273220(0x47a)]('--workspace\x20<name>',a2_0x273220(0x21b))[a2_0x273220(0x349)](templateListAction),engageCmd[a2_0x273220(0x3ad)](a2_0x273220(0x456))[a2_0x273220(0x274)](a2_0x273220(0x320))[a2_0x273220(0x47a)](a2_0x273220(0x42b),'Workspace\x20name')['action'](templateListAction),templateCmd[a2_0x273220(0x3ad)]('show\x20<name-or-id>')[a2_0x273220(0x274)](a2_0x273220(0x371))[a2_0x273220(0x47a)](a2_0x273220(0x42b),'Workspace\x20name')[a2_0x273220(0x47a)]('--full',a2_0x273220(0x3e1))[a2_0x273220(0x349)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x273220(0x34d))['description']('Create\x20an\x20email\x20template')['requiredOption'](a2_0x273220(0x3d6),'Template\x20name')[a2_0x273220(0x2e2)](a2_0x273220(0x480),a2_0x273220(0x435))[a2_0x273220(0x2e2)](a2_0x273220(0x33b),'HTML\x20template\x20content')[a2_0x273220(0x47a)](a2_0x273220(0x42b),a2_0x273220(0x27e))[a2_0x273220(0x47a)](a2_0x273220(0x3ed),'Plaintext\x20template\x20content')[a2_0x273220(0x47a)](a2_0x273220(0x455),'Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)',_0x3dbc3c=>{const _0x2277f7=a2_0x273220;if(![_0x2277f7(0x27a),_0x2277f7(0x3bd)][_0x2277f7(0x30a)](_0x3dbc3c))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x2277f7(0x248)+_0x3dbc3c+_0x2277f7(0x43d));return _0x3dbc3c;})[a2_0x273220(0x349)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2ac))[a2_0x273220(0x274)](a2_0x273220(0x3eb))[a2_0x273220(0x47a)](a2_0x273220(0x42b),a2_0x273220(0x21b))[a2_0x273220(0x47a)](a2_0x273220(0x3d6),a2_0x273220(0x3a7))[a2_0x273220(0x47a)](a2_0x273220(0x480),a2_0x273220(0x435))[a2_0x273220(0x47a)](a2_0x273220(0x33b),a2_0x273220(0x20b))[a2_0x273220(0x47a)](a2_0x273220(0x3ed),a2_0x273220(0x46d))[a2_0x273220(0x349)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x273220(0x3ad)](a2_0x273220(0x1f8))[a2_0x273220(0x274)](a2_0x273220(0x45c))[a2_0x273220(0x47a)](a2_0x273220(0x42b),a2_0x273220(0x21b))[a2_0x273220(0x47a)](a2_0x273220(0x3ce),a2_0x273220(0x239))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x273220(0x3ad)](a2_0x273220(0x412))['description'](a2_0x273220(0x2f4)),workspaceListAction=async(_0x356d72,_0x591014)=>{const _0x1598ca=a2_0x273220,_0x6b88d3=new EngageWorkspacesCommand(),_0x8029bc=program[_0x1598ca(0x294)](),_0x10ef47=await createTDXInstance(_0x8029bc),_0x4a5c92=await _0x6b88d3[_0x1598ca(0x439)]({'options':{..._0x8029bc,..._0x591014},'args':_0x356d72?[_0x356d72]:[],'tdx':_0x10ef47});gracefulExit(_0x4a5c92);};workspaceCmd[a2_0x273220(0x3ad)]('list\x20[pattern]')[a2_0x273220(0x274)](a2_0x273220(0x232))[a2_0x273220(0x349)](workspaceListAction),engageCmd[a2_0x273220(0x3ad)](a2_0x273220(0x39b))[a2_0x273220(0x274)](a2_0x273220(0x348))[a2_0x273220(0x349)](workspaceListAction),workspaceCmd[a2_0x273220(0x3ad)](a2_0x273220(0x30f))[a2_0x273220(0x274)](a2_0x273220(0x2f7))[a2_0x273220(0x47a)](a2_0x273220(0x277),a2_0x273220(0x3e1))[a2_0x273220(0x349)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x273220(0x3ad)](a2_0x273220(0x34d))[a2_0x273220(0x274)](a2_0x273220(0x468))[a2_0x273220(0x2e2)](a2_0x273220(0x3d6),a2_0x273220(0x21b))[a2_0x273220(0x47a)]('--description\x20<desc>',a2_0x273220(0x32f))[a2_0x273220(0x349)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x273220(0x2ac))[a2_0x273220(0x274)](a2_0x273220(0x30e))[a2_0x273220(0x47a)]('--name\x20<name>',a2_0x273220(0x2c7))[a2_0x273220(0x47a)](a2_0x273220(0x1fe),'Workspace\x20description')[a2_0x273220(0x349)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x273220(0x3ad)](a2_0x273220(0x1f8))[a2_0x273220(0x274)](a2_0x273220(0x3cd))[a2_0x273220(0x47a)](a2_0x273220(0x3ce),a2_0x273220(0x239))[a2_0x273220(0x349)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3f8))['description']('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x273220(0x349)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x273220(0x3ad)](a2_0x273220(0x237))[a2_0x273220(0x274)](a2_0x273220(0x438)),connectionListAction=async _0x4a98ca=>{const _0x180f9c=a2_0x273220,_0x1ec8fc=new ConnectionListCommand(),_0x3f40c9=program[_0x180f9c(0x294)](),_0x378859=await createTDXInstance(_0x3f40c9),_0xe640fc=await _0x1ec8fc[_0x180f9c(0x439)]({'options':{..._0x3f40c9,..._0x4a98ca},'args':[],'tdx':_0x378859});gracefulExit(_0xe640fc);};connectionCmd[a2_0x273220(0x3ad)](a2_0x273220(0x385))['description'](a2_0x273220(0x2c4))[a2_0x273220(0x349)](connectionListAction),program['command']('connections',{'hidden':!![]})[a2_0x273220(0x274)](a2_0x273220(0x30d))['action'](connectionListAction),connectionCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2d9))[a2_0x273220(0x274)](a2_0x273220(0x28a))['action'](async(_0x26f117,_0x1f14da)=>{const _0x1477f4=a2_0x273220,_0x4cdefb=new ConnectionShowCommand(),_0x430fb2=program[_0x1477f4(0x294)](),_0x238ac8=await createTDXInstance(_0x430fb2),_0xa52fe1=await _0x4cdefb[_0x1477f4(0x439)]({'options':{..._0x430fb2,..._0x1f14da},'args':[_0x26f117],'tdx':_0x238ac8});gracefulExit(_0xa52fe1);}),connectionCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3ef))['description'](a2_0x273220(0x24c))[a2_0x273220(0x349)](async(_0x364937,_0x243bb6)=>{const _0x20f128=a2_0x273220,_0x49713f=new ConnectionSchemaCommand(),_0x5dcfa3=program[_0x20f128(0x294)](),_0x23a364=await createTDXInstance(_0x5dcfa3),_0x488c27=await _0x49713f[_0x20f128(0x439)]({'options':{..._0x5dcfa3,..._0x243bb6},'args':[_0x364937],'tdx':_0x23a364});gracefulExit(_0x488c27);}),connectionCmd['command'](a2_0x273220(0x416))[a2_0x273220(0x274)](a2_0x273220(0x377))[a2_0x273220(0x349)](async _0x29d7e6=>{const _0x5e7f69=new ConnectionTypesCommand(),_0x39f042=program['opts'](),_0x46bf1a=await createTDXInstance(_0x39f042),_0x391747=await _0x5e7f69['run']({'options':{..._0x39f042,..._0x29d7e6},'args':[],'tdx':_0x46bf1a});gracefulExit(_0x391747);}),connectionCmd[a2_0x273220(0x3ad)](a2_0x273220(0x26c))['description'](a2_0x273220(0x42a))[a2_0x273220(0x349)](async(_0x458a45,_0x350e43)=>{const _0x2a5436=a2_0x273220,_0x101e6e=new ConnectionSettingsCommand(),_0x4170b8=program['opts'](),_0x357469=await createTDXInstance(_0x4170b8),_0x4c2c95=await _0x101e6e[_0x2a5436(0x439)]({'options':{..._0x4170b8,..._0x350e43},'args':[_0x458a45],'tdx':_0x357469});gracefulExit(_0x4c2c95);});const journeyCmd=program[a2_0x273220(0x3ad)](a2_0x273220(0x3f6))['description']('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x302ffd,_0x5664e7)=>{const _0x38b9ae=a2_0x273220,_0x4b95cd=new JourneyListCommand(),_0x52725f=program['opts'](),_0x27b8fd=await createTDXInstance(_0x52725f),_0x1f24ba=await _0x4b95cd[_0x38b9ae(0x439)]({'options':{..._0x52725f,..._0x5664e7},'args':_0x302ffd?[_0x302ffd]:[],'tdx':_0x27b8fd});gracefulExit(_0x1f24ba);};journeyCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3a5))[a2_0x273220(0x274)](a2_0x273220(0x386))['action'](journeyListAction),journeyCmd[a2_0x273220(0x3ad)]('view\x20<name-or-path>')[a2_0x273220(0x274)]('Show\x20journey\x20details')['option'](a2_0x273220(0x33c),a2_0x273220(0x276))[a2_0x273220(0x47a)](a2_0x273220(0x2da),a2_0x273220(0x1fb))[a2_0x273220(0x349)](async(_0x3326e2,_0x5d4b31)=>{const _0x57a563=a2_0x273220,_0x5709d0=new JourneyViewCommand(),_0x33c69b=program[_0x57a563(0x294)](),_0x360eeb=await createTDXInstance(_0x33c69b),_0x1ce3fa=await _0x5709d0[_0x57a563(0x439)]({'options':{..._0x33c69b,..._0x5d4b31},'args':[_0x3326e2],'tdx':_0x360eeb});gracefulExit(_0x1ce3fa);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x273220(0x274)](a2_0x273220(0x354))[a2_0x273220(0x47a)](a2_0x273220(0x384),a2_0x273220(0x317))['action'](async(_0x411ee1,_0x1fcf87)=>{const _0x50d93a=a2_0x273220,_0x2b53dc=new JourneyStatsCommand(),_0x5afa32=program[_0x50d93a(0x294)](),_0x2994bc=await createTDXInstance(_0x5afa32),_0x27a4d6=await _0x2b53dc[_0x50d93a(0x439)]({'options':{..._0x5afa32,..._0x1fcf87},'args':[_0x411ee1],'tdx':_0x2994bc});gracefulExit(_0x27a4d6);}),journeyCmd['command']('pause\x20<name-or-path>')[a2_0x273220(0x274)](a2_0x273220(0x405))['action'](async(_0x41c5e3,_0x3e4bbd)=>{const _0x15ce43=a2_0x273220,_0xc712de=new JourneyPauseCommand(),_0x2fda00=program[_0x15ce43(0x294)](),_0x442804=await createTDXInstance(_0x2fda00),_0x259472=await _0xc712de[_0x15ce43(0x439)]({'options':{..._0x2fda00,..._0x3e4bbd},'args':[_0x41c5e3],'tdx':_0x442804});gracefulExit(_0x259472);}),journeyCmd[a2_0x273220(0x3ad)](a2_0x273220(0x46f))[a2_0x273220(0x274)](a2_0x273220(0x287))[a2_0x273220(0x349)](async(_0x425717,_0x288bbb)=>{const _0x3a138a=new JourneyResumeCommand(),_0x9b4c17=program['opts'](),_0x3e5a6d=await createTDXInstance(_0x9b4c17),_0x56f92b=await _0x3a138a['run']({'options':{..._0x9b4c17,..._0x288bbb},'args':[_0x425717],'tdx':_0x3e5a6d});gracefulExit(_0x56f92b);}),journeyCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2cc))['description'](a2_0x273220(0x44b))['option'](a2_0x273220(0x2a0),a2_0x273220(0x239))[a2_0x273220(0x47a)](a2_0x273220(0x313),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x273220(0x349)](async(_0xb4a9dd,_0x32a9ba)=>{const _0x185efc=a2_0x273220,_0x48f07e=new JourneyPullCommand(),_0x8eead2=program[_0x185efc(0x294)](),_0x3580e6=await createTDXInstance(_0x8eead2),_0x28adc2=await _0x48f07e[_0x185efc(0x439)]({'options':{..._0x8eead2,..._0x32a9ba},'args':_0xb4a9dd?[_0xb4a9dd]:[],'tdx':_0x3580e6});gracefulExit(_0x28adc2);}),journeyCmd['command'](a2_0x273220(0x1f4))[a2_0x273220(0x274)](a2_0x273220(0x3f0))['action'](async(_0x5832b0,_0x59b9d2)=>{const _0x1b6b81=a2_0x273220,_0xb9a096=new JourneyPushCommand(),_0x51e7ee=program['opts'](),_0x3ea079=await createTDXInstance(_0x51e7ee),_0x5088db=await _0xb9a096[_0x1b6b81(0x439)]({'options':{..._0x51e7ee,..._0x59b9d2},'args':_0x5832b0?[_0x5832b0]:[],'tdx':_0x3ea079});gracefulExit(_0x5088db);}),journeyCmd[a2_0x273220(0x3ad)](a2_0x273220(0x208))[a2_0x273220(0x274)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0x273220(0x349)](async(_0xcc74d6,_0x28c1e5)=>{const _0x404374=a2_0x273220,_0x48133f=new JourneyValidateCommand(),_0x579501=program[_0x404374(0x294)](),_0x4340bd=await createTDXInstance(_0x579501),_0x13ef92=await _0x48133f[_0x404374(0x439)]({'options':{..._0x579501,..._0x28c1e5},'args':_0xcc74d6?[_0xcc74d6]:[],'tdx':_0x4340bd});gracefulExit(_0x13ef92);}),program[a2_0x273220(0x3ad)](a2_0x273220(0x321))[a2_0x273220(0x274)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')['action'](journeyListAction);const agentSyncCmd=program[a2_0x273220(0x3ad)]('agent')[a2_0x273220(0x274)](a2_0x273220(0x440));agentSyncCmd[a2_0x273220(0x3ad)](a2_0x273220(0x401))['description'](a2_0x273220(0x340))['option'](a2_0x273220(0x2e1),a2_0x273220(0x305))['option'](a2_0x273220(0x228),a2_0x273220(0x325))[a2_0x273220(0x349)](async(_0x4f454d,_0x2125c3,_0xfd3121)=>{const _0x1f7859=a2_0x273220,_0x185e55=new AgentPullCommand(),_0x4c1bcf=program[_0x1f7859(0x294)](),_0x140ee0=await createTDXInstance(_0x4c1bcf),_0x72094e=[];if(_0x4f454d)_0x72094e[_0x1f7859(0x34a)](_0x4f454d);if(_0x2125c3)_0x72094e[_0x1f7859(0x34a)](_0x2125c3);const _0x56d7ea=await _0x185e55[_0x1f7859(0x439)]({'options':{..._0x4c1bcf,..._0xfd3121},'args':_0x72094e,'tdx':_0x140ee0});gracefulExit(_0x56d7ea);}),agentSyncCmd[a2_0x273220(0x3ad)](a2_0x273220(0x3d7))[a2_0x273220(0x274)](a2_0x273220(0x323))['option'](a2_0x273220(0x228),a2_0x273220(0x3d9))[a2_0x273220(0x349)](async(_0x303d87,_0xf022e0)=>{const _0x87f9ee=a2_0x273220,_0x48709d=new AgentPushCommand(),_0x197527=program[_0x87f9ee(0x294)](),_0xa76151=await createTDXInstance(_0x197527),_0x172882=await _0x48709d[_0x87f9ee(0x439)]({'options':{..._0x197527,..._0xf022e0},'args':_0x303d87?[_0x303d87]:[],'tdx':_0xa76151});gracefulExit(_0x172882);}),agentSyncCmd[a2_0x273220(0x3ad)](a2_0x273220(0x23d))[a2_0x273220(0x274)](a2_0x273220(0x403))[a2_0x273220(0x47a)](a2_0x273220(0x366),a2_0x273220(0x293))['action'](async(_0x24fe65,_0x47d114)=>{const _0x1ba653=a2_0x273220,_0x15ce60=new AgentCloneCommand(),_0x5b9c9d=program[_0x1ba653(0x294)](),_0x5f1425=await createTDXInstance(_0x5b9c9d),_0x167d80=await _0x15ce60[_0x1ba653(0x439)]({'options':{..._0x5b9c9d,..._0x47d114},'args':_0x24fe65?[_0x24fe65]:[],'tdx':_0x5f1425});gracefulExit(_0x167d80);}),agentSyncCmd['command'](a2_0x273220(0x357))[a2_0x273220(0x274)](a2_0x273220(0x367))['option'](a2_0x273220(0x206),a2_0x273220(0x272))[a2_0x273220(0x47a)](a2_0x273220(0x44c),a2_0x273220(0x3d4))[a2_0x273220(0x47a)](a2_0x273220(0x313),a2_0x273220(0x336))[a2_0x273220(0x47a)](a2_0x273220(0x25a),a2_0x273220(0x21f))[a2_0x273220(0x47a)](a2_0x273220(0x466),a2_0x273220(0x2d4))[a2_0x273220(0x349)](async(_0x59003b,_0x50d06d)=>{const _0x367812=a2_0x273220,_0x269de5=new AgentTestCommand(),_0x48b05d=program['opts'](),_0x1148fe=await createTDXInstance(_0x48b05d),_0x25d62c=await _0x269de5[_0x367812(0x439)]({'options':{..._0x48b05d,..._0x50d06d},'args':_0x59003b?[_0x59003b]:[],'tdx':_0x1148fe});gracefulExit(_0x25d62c);}),agentSyncCmd['command'](a2_0x273220(0x3a5))['description'](a2_0x273220(0x261))[a2_0x273220(0x349)](llmAgentListAction),agentSyncCmd['command']('show\x20<agent-name>')[a2_0x273220(0x274)](a2_0x273220(0x3ea))[a2_0x273220(0x349)](async(_0x283987,_0x2e61d8)=>{const _0x54c19f=a2_0x273220,_0x47a3fb=new LLMAgentShowCommand(),_0x270622=program[_0x54c19f(0x294)](),_0xba264c=await createTDXInstance(_0x270622),_0x4ac67d=await _0x47a3fb[_0x54c19f(0x439)]({'options':{..._0x270622,..._0x2e61d8},'args':[_0x283987],'tdx':_0xba264c});gracefulExit(_0x4ac67d);}),agentSyncCmd['command'](a2_0x273220(0x430))[a2_0x273220(0x274)](a2_0x273220(0x476))[a2_0x273220(0x47a)](a2_0x273220(0x25e),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x273220(0x47a)]('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x273220(0x2dc))[a2_0x273220(0x47a)](a2_0x273220(0x35c),a2_0x273220(0x38e))[a2_0x273220(0x47a)](a2_0x273220(0x22d),a2_0x273220(0x3e6),'4')['option'](a2_0x273220(0x3aa),a2_0x273220(0x255),a2_0x273220(0x20d))[a2_0x273220(0x349)](async(_0xc1dc9f,_0x24fa72)=>{const _0x4f9e01=new LLMAgentCreateCommand(),_0x420b74=program['opts'](),_0x23a2cf=await createTDXInstance(_0x420b74),_0x422a87=await _0x4f9e01['run']({'options':{..._0x420b74,..._0x24fa72},'args':[_0xc1dc9f],'tdx':_0x23a2cf});gracefulExit(_0x422a87);}),agentSyncCmd[a2_0x273220(0x3ad)](a2_0x273220(0x25d))[a2_0x273220(0x274)](a2_0x273220(0x240))['option'](a2_0x273220(0x364),a2_0x273220(0x382))[a2_0x273220(0x47a)](a2_0x273220(0x32d),a2_0x273220(0x20a))[a2_0x273220(0x47a)](a2_0x273220(0x45b),a2_0x273220(0x225))[a2_0x273220(0x47a)]('--starter-message\x20<text>',a2_0x273220(0x38e))[a2_0x273220(0x349)](async(_0x17699f,_0x5037da)=>{const _0x264e5c=a2_0x273220,_0x27dc4e=new LLMAgentUpdateCommand(),_0x5a6562=program[_0x264e5c(0x294)](),_0x309d2a=await createTDXInstance(_0x5a6562),_0x591287=await _0x27dc4e['run']({'options':{..._0x5a6562,..._0x5037da},'args':[_0x17699f],'tdx':_0x309d2a});gracefulExit(_0x591287);}),agentSyncCmd[a2_0x273220(0x3ad)](a2_0x273220(0x2b8))[a2_0x273220(0x274)]('Delete\x20an\x20agent')[a2_0x273220(0x349)](async(_0x1073a6,_0x13286f)=>{const _0x29a88c=a2_0x273220,_0x2bea8b=new LLMAgentDeleteCommand(),_0x1d321f=program[_0x29a88c(0x294)](),_0x458ea4=await createTDXInstance(_0x1d321f),_0x4b8f5e=await _0x2bea8b[_0x29a88c(0x439)]({'options':{..._0x1d321f,..._0x13286f},'args':[_0x1073a6],'tdx':_0x458ea4});gracefulExit(_0x4b8f5e);});export{program};export function runCLI(){const _0x6a4bcb=a2_0x273220,_0x222d99=!process[_0x6a4bcb(0x3c5)][_0x6a4bcb(0x23c)](0x2)[_0x6a4bcb(0x375)];showBriefHelp=_0x222d99,program[_0x6a4bcb(0x353)](process['argv']);_0x222d99&&program[_0x6a4bcb(0x421)]();if(process[_0x6a4bcb(0x465)][_0x6a4bcb(0x413)]&&process[_0x6a4bcb(0x3c5)][_0x6a4bcb(0x375)]>0x2&&!isDevVersion()){const _0x269cab=loadReleaseChannel();checkForUpdate(currentVersion,_0x269cab)[_0x6a4bcb(0x374)](_0x2f55e4=>{_0x2f55e4&&displayUpdateNotification(_0x2f55e4);})[_0x6a4bcb(0x2df)](()=>{});}}