@treasuredata/tdx 0.11.0 → 0.12.0

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 (163) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +2 -2
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/commands/activations.js +1 -1
  8. package/dist/commands/agent-command.js +1 -1
  9. package/dist/commands/api-command.js +1 -1
  10. package/dist/commands/auth-command.js +1 -1
  11. package/dist/commands/chat-command.js +1 -1
  12. package/dist/commands/claude-command.js +1 -1
  13. package/dist/commands/claude-statusline-command.js +1 -1
  14. package/dist/commands/claude-usage-command.js +1 -1
  15. package/dist/commands/command.js +1 -1
  16. package/dist/commands/connection-command.js +1 -1
  17. package/dist/commands/context-command.js +1 -1
  18. package/dist/commands/databases.js +1 -1
  19. package/dist/commands/describe.js +1 -1
  20. package/dist/commands/engage-command.js +1 -1
  21. package/dist/commands/job-command.js +1 -1
  22. package/dist/commands/journey-command.js +1 -1
  23. package/dist/commands/journey-validate-command.js +1 -1
  24. package/dist/commands/llm-command.js +1 -1
  25. package/dist/commands/llm-proxy.js +1 -1
  26. package/dist/commands/parent-segment-command.js +1 -1
  27. package/dist/commands/profiles-command.js +1 -1
  28. package/dist/commands/query-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/tables.js +1 -1
  40. package/dist/commands/use-command.js +1 -1
  41. package/dist/commands/user-command.js +1 -1
  42. package/dist/commands/workflow-command.d.ts +39 -5
  43. package/dist/commands/workflow-command.d.ts.map +1 -1
  44. package/dist/commands/workflow-command.js +1 -1
  45. package/dist/commands/workflow-command.js.map +1 -1
  46. package/dist/core/auth.js +1 -1
  47. package/dist/core/command-output.js +1 -1
  48. package/dist/core/config.js +1 -1
  49. package/dist/core/connection-cache.js +1 -1
  50. package/dist/core/constants.js +1 -1
  51. package/dist/core/credential-cache.js +1 -1
  52. package/dist/core/global-context.js +1 -1
  53. package/dist/core/keychain.js +1 -1
  54. package/dist/core/profile.js +1 -1
  55. package/dist/core/project-config.js +1 -1
  56. package/dist/core/session.js +1 -1
  57. package/dist/core/user-cache.js +1 -1
  58. package/dist/index.js +1 -1
  59. package/dist/proxy/anthropic-adapter.js +1 -1
  60. package/dist/proxy/claude-usage-tracker.js +1 -1
  61. package/dist/proxy/context-signature.js +1 -1
  62. package/dist/proxy/conversation-utils.js +1 -1
  63. package/dist/proxy/server.js +1 -1
  64. package/dist/proxy/session-cache.js +1 -1
  65. package/dist/sdk/agent/agent-config.js +1 -1
  66. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  67. package/dist/sdk/agent/agent-yaml.js +1 -1
  68. package/dist/sdk/api.js +1 -1
  69. package/dist/sdk/client/cdp-api-client.js +1 -1
  70. package/dist/sdk/client/endpoints.d.ts +8 -0
  71. package/dist/sdk/client/endpoints.d.ts.map +1 -1
  72. package/dist/sdk/client/endpoints.js +1 -1
  73. package/dist/sdk/client/endpoints.js.map +1 -1
  74. package/dist/sdk/client/engage-api-client.js +1 -1
  75. package/dist/sdk/client/http-client.js +1 -1
  76. package/dist/sdk/client/llm-api-client.js +1 -1
  77. package/dist/sdk/client/rate-limiter.js +1 -1
  78. package/dist/sdk/client/td-api-client.js +1 -1
  79. package/dist/sdk/client/trino-api-client.js +1 -1
  80. package/dist/sdk/client/workflow-client.js +1 -1
  81. package/dist/sdk/connection-validator.js +1 -1
  82. package/dist/sdk/connection.js +1 -1
  83. package/dist/sdk/engage.js +1 -1
  84. package/dist/sdk/errors.d.ts +2 -0
  85. package/dist/sdk/errors.d.ts.map +1 -1
  86. package/dist/sdk/errors.js +1 -1
  87. package/dist/sdk/errors.js.map +1 -1
  88. package/dist/sdk/index.js +1 -1
  89. package/dist/sdk/io/index.js +1 -1
  90. package/dist/sdk/io/node-filesystem.js +1 -1
  91. package/dist/sdk/job.js +1 -1
  92. package/dist/sdk/journey.js +1 -1
  93. package/dist/sdk/llm/chat-cache.js +1 -1
  94. package/dist/sdk/llm/index.js +1 -1
  95. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  96. package/dist/sdk/llm/model-aliases.js +1 -1
  97. package/dist/sdk/llm/model-factors.js +1 -1
  98. package/dist/sdk/query/index.js +1 -1
  99. package/dist/sdk/query/sql-parser.js +1 -1
  100. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  101. package/dist/sdk/segment/fields-display.js +1 -1
  102. package/dist/sdk/segment/file-discovery.js +1 -1
  103. package/dist/sdk/segment/journey-utils.js +1 -1
  104. package/dist/sdk/segment/journey-yaml.js +1 -1
  105. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  106. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  107. package/dist/sdk/segment/pull-workflow.js +1 -1
  108. package/dist/sdk/segment/push-workflow.js +1 -1
  109. package/dist/sdk/segment/resolution-context.js +1 -1
  110. package/dist/sdk/segment/segment-path-parser.js +1 -1
  111. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  112. package/dist/sdk/segment/target-resolution.js +1 -1
  113. package/dist/sdk/segment/tdx-config.js +1 -1
  114. package/dist/sdk/segment/validate-files.js +1 -1
  115. package/dist/sdk/segment/yaml-validator.js +1 -1
  116. package/dist/sdk/segment.js +1 -1
  117. package/dist/sdk/types/index.js +1 -1
  118. package/dist/sdk/types/progress.js +1 -1
  119. package/dist/sdk/user.js +1 -1
  120. package/dist/sdk/util/format-detector.js +1 -1
  121. package/dist/sdk/util/formatters.js +1 -1
  122. package/dist/sdk/util/index.js +1 -1
  123. package/dist/sdk/util/tree-formatter.js +1 -1
  124. package/dist/sdk/workflow/clone-workflow.d.ts +80 -0
  125. package/dist/sdk/workflow/clone-workflow.d.ts.map +1 -0
  126. package/dist/sdk/workflow/clone-workflow.js +1 -0
  127. package/dist/sdk/workflow/clone-workflow.js.map +1 -0
  128. package/dist/sdk/workflow/index.d.ts +94 -0
  129. package/dist/sdk/workflow/index.d.ts.map +1 -1
  130. package/dist/sdk/workflow/index.js +1 -1
  131. package/dist/sdk/workflow/index.js.map +1 -1
  132. package/dist/sdk/workflow/pull-workflow.d.ts +77 -0
  133. package/dist/sdk/workflow/pull-workflow.d.ts.map +1 -0
  134. package/dist/sdk/workflow/pull-workflow.js +1 -0
  135. package/dist/sdk/workflow/pull-workflow.js.map +1 -0
  136. package/dist/sdk/workflow/push-workflow.d.ts +66 -0
  137. package/dist/sdk/workflow/push-workflow.d.ts.map +1 -0
  138. package/dist/sdk/workflow/push-workflow.js +1 -0
  139. package/dist/sdk/workflow/push-workflow.js.map +1 -0
  140. package/dist/sdk/workflow/tdx-config.d.ts +110 -0
  141. package/dist/sdk/workflow/tdx-config.d.ts.map +1 -0
  142. package/dist/sdk/workflow/tdx-config.js +1 -0
  143. package/dist/sdk/workflow/tdx-config.js.map +1 -0
  144. package/dist/sdk/workflow/workflow-utils.d.ts +10 -7
  145. package/dist/sdk/workflow/workflow-utils.d.ts.map +1 -1
  146. package/dist/sdk/workflow/workflow-utils.js +1 -1
  147. package/dist/sdk/workflow/workflow-utils.js.map +1 -1
  148. package/dist/utils/async.js +1 -1
  149. package/dist/utils/colors.js +1 -1
  150. package/dist/utils/diff.js +1 -1
  151. package/dist/utils/file-permissions.js +1 -1
  152. package/dist/utils/json-loader.js +1 -1
  153. package/dist/utils/option-validation.js +1 -1
  154. package/dist/utils/port.js +1 -1
  155. package/dist/utils/process.js +1 -1
  156. package/dist/utils/prompt.js +1 -1
  157. package/dist/utils/spinner.js +1 -1
  158. package/dist/utils/sse-parser.js +1 -1
  159. package/dist/utils/string-utils.js +1 -1
  160. package/dist/utils/table-ref-parser.js +1 -1
  161. package/dist/utils/tdx-logger.js +1 -1
  162. package/dist/utils/version-check.js +1 -1
  163. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x25d654=a2_0x941b;(function(_0x478dd5,_0x3823a7){const _0x211f60=a2_0x941b,_0xa877d8=_0x478dd5();while(!![]){try{const _0x51c52d=-parseInt(_0x211f60(0x268))/0x1*(parseInt(_0x211f60(0x359))/0x2)+-parseInt(_0x211f60(0x1d0))/0x3*(-parseInt(_0x211f60(0x337))/0x4)+-parseInt(_0x211f60(0x27d))/0x5*(parseInt(_0x211f60(0x316))/0x6)+-parseInt(_0x211f60(0x2c3))/0x7*(parseInt(_0x211f60(0x3bb))/0x8)+-parseInt(_0x211f60(0x1cf))/0x9+parseInt(_0x211f60(0x202))/0xa+parseInt(_0x211f60(0x204))/0xb;if(_0x51c52d===_0x3823a7)break;else _0xa877d8['push'](_0xa877d8['shift']());}catch(_0x135fd5){_0xa877d8['push'](_0xa877d8['shift']());}}}(a2_0x22a5,0xa4e1c));import{Command}from'commander';import{readFileSync,existsSync,statSync}from'fs';import{fileURLToPath}from'url';import{dirname,join,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{LogLevel}from'./utils/tdx-logger.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand}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}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,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowPushCommand,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{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{LLMProxyCommand}from'./commands/llm-proxy.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{ContextCommand}from'./commands/context-command.js';import{UseCommand}from'./commands/use-command.js';import{ProfilesCommand}from'./commands/profiles-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{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),packageJson=JSON[a2_0x25d654(0x20f)](readFileSync(join(__dirname,a2_0x25d654(0x279)),a2_0x25d654(0x20a)));let buildInfo={};try{buildInfo=JSON[a2_0x25d654(0x20f)](readFileSync(join(__dirname,a2_0x25d654(0x210)),a2_0x25d654(0x20a)));}catch{}if(process[a2_0x25d654(0x1b6)][a2_0x25d654(0x3cd)](a2_0x25d654(0x1bf))){let versionOutput=a2_0x25d654(0x1e6)+packageJson[a2_0x25d654(0x2b2)];buildInfo[a2_0x25d654(0x246)]&&(versionOutput+='\x20('+buildInfo[a2_0x25d654(0x246)]+')'),buildInfo[a2_0x25d654(0x21e)]&&(versionOutput+=a2_0x25d654(0x28d)+buildInfo[a2_0x25d654(0x21e)]),console[a2_0x25d654(0x274)](versionOutput),process[a2_0x25d654(0x36c)](0x0);}const program=new Command();let description=a2_0x25d654(0x3b7);buildInfo[a2_0x25d654(0x246)]?description+=a2_0x25d654(0x1fa)+packageJson[a2_0x25d654(0x2b2)]+'\x20('+buildInfo[a2_0x25d654(0x246)]+')':description+=a2_0x25d654(0x1fa)+packageJson[a2_0x25d654(0x2b2)];program[a2_0x25d654(0x1d1)]('tdx')[a2_0x25d654(0x258)](description),program[a2_0x25d654(0x1f3)](a2_0x25d654(0x224),a2_0x25d654(0x24a))[a2_0x25d654(0x1f3)]('-p,\x20--profile\x20<name>',a2_0x25d654(0x2e4))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2b6),a2_0x25d654(0x1aa),a2_0x25d654(0x292))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2f7),a2_0x25d654(0x22c))[a2_0x25d654(0x1f3)](a2_0x25d654(0x299),a2_0x25d654(0x1e7))[a2_0x25d654(0x1f3)]('--json',a2_0x25d654(0x1ee))[a2_0x25d654(0x1f3)](a2_0x25d654(0x396),a2_0x25d654(0x277))[a2_0x25d654(0x1f3)]('--tsv',a2_0x25d654(0x267))[a2_0x25d654(0x1f3)](a2_0x25d654(0x220),'Save\x20output\x20to\x20file')[a2_0x25d654(0x1f3)](a2_0x25d654(0x2fb),a2_0x25d654(0x226))[a2_0x25d654(0x1f3)](a2_0x25d654(0x24b),a2_0x25d654(0x313),![])[a2_0x25d654(0x1f3)](a2_0x25d654(0x2b5),a2_0x25d654(0x3b3),![])[a2_0x25d654(0x1f3)](a2_0x25d654(0x2e1),'Enable\x20verbose\x20logging',![])[a2_0x25d654(0x1f3)](a2_0x25d654(0x386),a2_0x25d654(0x28b))['option'](a2_0x25d654(0x3c0),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')['option'](a2_0x25d654(0x321),a2_0x25d654(0x391),'30')['option'](a2_0x25d654(0x39f),a2_0x25d654(0x251),![])['option'](a2_0x25d654(0x29d),a2_0x25d654(0x29a),![])[a2_0x25d654(0x1f3)](a2_0x25d654(0x1de),a2_0x25d654(0x223))[a2_0x25d654(0x1f3)](a2_0x25d654(0x234),a2_0x25d654(0x20e))['option']('--in\x20<name>',a2_0x25d654(0x301))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2cd),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x265),a2_0x25d654(0x383)),program[a2_0x25d654(0x29f)]({'formatHelp':(_0x31047c,_0xab3904)=>{const _0x4ac322=a2_0x25d654,_0x37bce6=_0xab3904[_0x4ac322(0x387)](_0x31047c,_0xab3904),_0x3fb0bc=0x2,_0x6de448=0x2;function _0x37a31e(_0xa3b546){const _0x355c65=_0x4ac322,_0x6b59bd=_0xa3b546;return!!(_0x6b59bd['_hidden']||_0x6b59bd[_0x355c65(0x1f6)]);}function _0xe97801(_0x2775d4,_0x49f0b2){const _0x15a5f9=_0x4ac322;if(_0x49f0b2){const _0x4cac64=''+_0x2775d4[_0x15a5f9(0x3a4)](_0x37bce6+_0x6de448)+_0x49f0b2;return _0x4cac64;}return _0x2775d4;}function _0x3c5a22(_0x9546d9){const _0x94e75b=_0x4ac322;return _0x9546d9['join']('\x0a')[_0x94e75b(0x1d4)](/^/gm,'\x20'[_0x94e75b(0x1f8)](_0x3fb0bc));}const _0xbdc1ba=[];_0xbdc1ba[_0x4ac322(0x1a9)](_0x4ac322(0x1fd)+_0xab3904[_0x4ac322(0x1ad)](_0x31047c));const _0x1a5f96=_0xab3904['commandDescription'](_0x31047c);_0x1a5f96&&(_0xbdc1ba['push'](''),_0xbdc1ba[_0x4ac322(0x1a9)](_0x1a5f96));const _0xbea16=_0x31047c['commands']['filter'](_0x509ab3=>!_0x37a31e(_0x509ab3));if(_0xbea16['length']>0x0){if(_0x31047c[_0x4ac322(0x1d1)]()===_0x4ac322(0x33b)){const _0x43a5cd=_0x31047c['opts'](),_0x850a09=!_0x43a5cd[_0x4ac322(0x2f6)]&&process['stdout']['isTTY'],_0x51a425=COMMAND_CATEGORIES,_0xfef231=(_0x43a79f,_0x311eba)=>_0x850a09?_0x311eba(_0x43a79f):_0x43a79f,_0x598f70=new Map();_0xbea16[_0x4ac322(0x351)](_0x2e453e=>{const _0x151d77=_0x4ac322;_0x598f70[_0x151d77(0x2db)](_0x2e453e[_0x151d77(0x1d1)](),_0x2e453e);}),_0x51a425[_0x4ac322(0x351)](_0x18ceda=>{const _0x8693f6=_0x4ac322,_0x4289b6=_0x18ceda['commands'][_0x8693f6(0x35d)](_0x34dc0e=>_0x598f70[_0x8693f6(0x24e)](_0x34dc0e)??[]);if(_0x4289b6[_0x8693f6(0x363)]>0x0){_0xbdc1ba[_0x8693f6(0x1a9)](''),_0xbdc1ba[_0x8693f6(0x1a9)](_0xfef231(_0x18ceda[_0x8693f6(0x1d1)]+':',_0x18ceda['colorFn']));const _0x61ea77=_0x4289b6[_0x8693f6(0x2dc)](_0xe88a4a=>{const _0x2be441=_0xab3904['subcommandTerm'](_0xe88a4a),_0x1af7e0=_0xab3904['subcommandDescription'](_0xe88a4a);return _0xe97801(_0x2be441,_0x1af7e0);});_0xbdc1ba[_0x8693f6(0x1a9)](_0x3c5a22(_0x61ea77));}}),_0xbdc1ba[_0x4ac322(0x1a9)](''),_0xbdc1ba['push'](_0x4ac322(0x3d1));}else{const _0x3687c0=_0xbea16[_0x4ac322(0x2dc)](_0x541f4d=>{const _0x506840=_0x4ac322,_0x525662=_0xab3904[_0x506840(0x394)](_0x541f4d),_0x132b91=_0xab3904[_0x506840(0x389)](_0x541f4d);return _0xe97801(_0x525662,_0x132b91);});_0xbdc1ba['push'](''),_0xbdc1ba[_0x4ac322(0x1a9)](_0x4ac322(0x39a)),_0xbdc1ba['push'](_0x3c5a22(_0x3687c0));}}const _0x583b39=_0x31047c[_0x4ac322(0x27c)][_0x4ac322(0x1b0)](_0x57cf75=>!_0x37a31e(_0x57cf75));if(_0x583b39[_0x4ac322(0x363)]>0x0){const _0x1ca1f2=_0x583b39[_0x4ac322(0x2dc)](_0x804782=>{const _0x102b04=_0xab3904['optionTerm'](_0x804782),_0x10834c=_0xab3904['optionDescription'](_0x804782);return _0xe97801(_0x102b04,_0x10834c);});_0xbdc1ba[_0x4ac322(0x1a9)](''),_0xbdc1ba[_0x4ac322(0x1a9)](_0x4ac322(0x2d9)),_0xbdc1ba[_0x4ac322(0x1a9)](_0x3c5a22(_0x1ca1f2));}const _0x3edf6c=(_0x31047c[_0x4ac322(0x317)]||[])[_0x4ac322(0x1b0)](_0x413db4=>!_0x37a31e(_0x413db4));if(_0x3edf6c[_0x4ac322(0x363)]>0x0){const _0x2bcc89=_0x3edf6c[_0x4ac322(0x2dc)](_0x890265=>{const _0xe4cb92=_0x4ac322,_0x4bfdde=_0xab3904[_0xe4cb92(0x235)](_0x890265),_0x147f81=_0xab3904[_0xe4cb92(0x3c9)](_0x890265);return _0xe97801(_0x4bfdde,_0x147f81);});_0xbdc1ba[_0x4ac322(0x1a9)](''),_0xbdc1ba[_0x4ac322(0x1a9)](_0x4ac322(0x1fb)),_0xbdc1ba[_0x4ac322(0x1a9)](_0x3c5a22(_0x2bcc89));}return _0xbdc1ba[_0x4ac322(0x3a7)]('\x0a');},'subcommandTerm':_0x509de7=>{const _0x429a31=a2_0x25d654,_0x126462=(_0x509de7[_0x429a31(0x317)]||[])[_0x429a31(0x2dc)](_0x441783=>_0x441783[_0x429a31(0x3aa)]?'<'+_0x441783[_0x429a31(0x1d1)]()+'>':'['+_0x441783[_0x429a31(0x1d1)]()+']')[_0x429a31(0x3a7)]('\x20'),_0x4294f2=_0x509de7[_0x429a31(0x361)](),_0x135853=_0x4294f2['length']>0x0?_0x509de7[_0x429a31(0x1d1)]()+',\x20'+_0x4294f2[_0x429a31(0x3a7)](',\x20'):_0x509de7['name']();return _0x126462?_0x135853+'\x20'+_0x126462:_0x135853;}}),program['hook'](a2_0x25d654(0x1a4),_0x54785f=>{const _0x2ffcd8=a2_0x25d654,_0x4745b0=_0x54785f[_0x2ffcd8(0x3d5)]();if(_0x4745b0[_0x2ffcd8(0x196)]){const _0x117cf3=resolve(_0x4745b0[_0x2ffcd8(0x196)]),_0x48b4c8=_0x117cf3!==_0x4745b0[_0x2ffcd8(0x196)]?_0x2ffcd8(0x208)+_0x117cf3+')':'';if(!existsSync(_0x117cf3))throw new SDKError(ErrorCode[_0x2ffcd8(0x3b8)],_0x2ffcd8(0x3d4)+_0x4745b0[_0x2ffcd8(0x196)]+_0x48b4c8,undefined,{'helpText':_0x2ffcd8(0x1ef)});const _0x487a60=statSync(_0x117cf3);if(!_0x487a60[_0x2ffcd8(0x3af)]())throw new SDKError(ErrorCode[_0x2ffcd8(0x3b8)],_0x2ffcd8(0x231)+_0x4745b0[_0x2ffcd8(0x196)]+_0x48b4c8,undefined,{'helpText':_0x2ffcd8(0x1ea)});process[_0x2ffcd8(0x2bc)](_0x117cf3);}if(!_0x4745b0[_0x2ffcd8(0x397)]){if(_0x4745b0[_0x2ffcd8(0x1b1)])_0x4745b0[_0x2ffcd8(0x397)]=_0x2ffcd8(0x1b1);else{if(_0x4745b0[_0x2ffcd8(0x30e)])_0x4745b0[_0x2ffcd8(0x397)]=_0x2ffcd8(0x30e);else{if(_0x4745b0[_0x2ffcd8(0x2bf)])_0x4745b0[_0x2ffcd8(0x397)]=_0x2ffcd8(0x2bf);else _0x4745b0[_0x2ffcd8(0x1ed)]&&(_0x4745b0[_0x2ffcd8(0x397)]=_0x2ffcd8(0x1ed));}}}_0x4745b0['in']&&!_0x4745b0[_0x2ffcd8(0x1e4)]&&(_0x4745b0[_0x2ffcd8(0x1e4)]=_0x4745b0['in']);if(_0x4745b0[_0x2ffcd8(0x26b)])_0x4745b0[_0x2ffcd8(0x2cb)]=LogLevel['TRACE'];else{if(_0x4745b0[_0x2ffcd8(0x2ec)])_0x4745b0[_0x2ffcd8(0x2cb)]=LogLevel['DEBUG'];else _0x4745b0['logLevel']===undefined&&(_0x4745b0[_0x2ffcd8(0x2cb)]=LogLevel[_0x2ffcd8(0x302)]);}});async function createTDXInstance(_0x4aadac){const _0x2e4b11=a2_0x25d654,_0x5859a9=await GlobalContext['createAsync'](_0x4aadac);return _0x5859a9[_0x2e4b11(0x288)](_0x4aadac),TDX[_0x2e4b11(0x343)]({'site':_0x5859a9['site'],'apiKey':_0x5859a9[_0x2e4b11(0x2a3)],'logLevel':_0x5859a9[_0x2e4b11(0x2cb)],'profile':_0x5859a9[_0x2e4b11(0x2b9)]});}const databaseCmd=program[a2_0x25d654(0x25b)](a2_0x25d654(0x1e4))[a2_0x25d654(0x255)]('db')['description'](a2_0x25d654(0x32d)),databaseListAction=async(_0x401842,_0x527f0f)=>{const _0x2bdf08=a2_0x25d654,_0xfd01d7=new DatabasesCommand(),_0x234038=program[_0x2bdf08(0x3d5)](),_0x564d1e=await createTDXInstance(_0x234038),_0x498fae=await _0xfd01d7['run']({'options':{..._0x234038,..._0x527f0f},'args':_0x401842?[_0x401842]:[],'tdx':_0x564d1e});process[_0x2bdf08(0x36c)](_0x498fae);};databaseCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x24f))[a2_0x25d654(0x258)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program[a2_0x25d654(0x25b)](a2_0x25d654(0x33f),{'hidden':!![]})['description'](a2_0x25d654(0x36a))[a2_0x25d654(0x263)](databaseListAction),program[a2_0x25d654(0x25b)]('chat\x20[message...]')[a2_0x25d654(0x258)](a2_0x25d654(0x373))['option'](a2_0x25d654(0x284),a2_0x25d654(0x209))['option'](a2_0x25d654(0x20b),a2_0x25d654(0x2a4))['action'](async(_0x225dcd,_0x5c50bd)=>{const _0x3795a0=a2_0x25d654,_0xcdb7b0=new ChatCommand(),_0x268019=program[_0x3795a0(0x3d5)](),_0x49e4f6=await createTDXInstance(_0x268019),_0x229ba7=await _0xcdb7b0['run']({'options':{..._0x268019,..._0x5c50bd},'args':_0x225dcd,'tdx':_0x49e4f6});process['exit'](_0x229ba7);});const apiCmd=program['command'](a2_0x25d654(0x252))['summary'](a2_0x25d654(0x262))[a2_0x25d654(0x393)](a2_0x25d654(0x25d),a2_0x25d654(0x395))['option'](a2_0x25d654(0x1ec),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','GET')[a2_0x25d654(0x1f3)](a2_0x25d654(0x27b),a2_0x25d654(0x2b1))[a2_0x25d654(0x1f3)](a2_0x25d654(0x212),a2_0x25d654(0x29e))[a2_0x25d654(0x1f3)](a2_0x25d654(0x21c),a2_0x25d654(0x1e9),(_0x5e1d0a,_0x409043)=>{return _0x409043?[..._0x409043,_0x5e1d0a]:[_0x5e1d0a];})[a2_0x25d654(0x1f3)](a2_0x25d654(0x331),a2_0x25d654(0x2a2),'td')[a2_0x25d654(0x263)](async(_0x898412,_0xb26e3b)=>{const _0x559e09=a2_0x25d654;if(!_0x898412){apiCmd[_0x559e09(0x3bd)]();return;}const _0x5e89d1=new ApiCommand(),_0x5a2ab7=program[_0x559e09(0x3d5)](),_0x1f357f=await createTDXInstance(_0x5a2ab7),_0x197aec=await _0x5e89d1[_0x559e09(0x260)]({'options':{..._0x5a2ab7,..._0xb26e3b},'args':[_0x898412],'tdx':_0x1f357f});process[_0x559e09(0x36c)](_0x197aec);}),tableCmd=program['command'](a2_0x25d654(0x1b1))[a2_0x25d654(0x258)](a2_0x25d654(0x2ff)),tableListAction=async(_0x45f504,_0x8271a4)=>{const _0x2b520e=a2_0x25d654,_0x55f6c4=new TablesCommand(),_0x240f78=program[_0x2b520e(0x3d5)](),_0x19fd21=await createTDXInstance(_0x240f78);_0x8271a4['in']&&(_0x8271a4[_0x2b520e(0x1e4)]=_0x8271a4['in']);const _0xd89926=await _0x55f6c4[_0x2b520e(0x260)]({'options':{..._0x240f78,..._0x8271a4},'args':_0x45f504?[_0x45f504]:[],'tdx':_0x19fd21});process[_0x2b520e(0x36c)](_0xd89926);};tableCmd[a2_0x25d654(0x25b)]('list\x20[pattern]')['description'](a2_0x25d654(0x1c2))['option']('-d,\x20--database\x20<database>',a2_0x25d654(0x348))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1ac),a2_0x25d654(0x301))[a2_0x25d654(0x263)](tableListAction),program[a2_0x25d654(0x25b)](a2_0x25d654(0x1ce),{'hidden':!![]})['description'](a2_0x25d654(0x1d7))[a2_0x25d654(0x1f3)](a2_0x25d654(0x247),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')['option'](a2_0x25d654(0x1ac),a2_0x25d654(0x301))[a2_0x25d654(0x263)](tableListAction),program[a2_0x25d654(0x25b)](a2_0x25d654(0x23d))['description']('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x247),a2_0x25d654(0x2c5))['option'](a2_0x25d654(0x1ac),a2_0x25d654(0x301))[a2_0x25d654(0x263)](async(_0x4dde1f,_0xb6c3e)=>{const _0x497ff3=a2_0x25d654,_0x59e3a0=new ShowCommand(),_0x5a8938=program[_0x497ff3(0x3d5)](),_0xdde9dd=await createTDXInstance(_0x5a8938);_0xb6c3e['in']&&(_0xb6c3e[_0x497ff3(0x1e4)]=_0xb6c3e['in']);const _0x3303cc=await _0x59e3a0[_0x497ff3(0x260)]({'options':{..._0x5a8938,..._0xb6c3e},'args':_0x4dde1f?[_0x4dde1f]:[],'tdx':_0xdde9dd});process[_0x497ff3(0x36c)](_0x3303cc);}),program[a2_0x25d654(0x25b)](a2_0x25d654(0x24d))[a2_0x25d654(0x255)](a2_0x25d654(0x1b9))[a2_0x25d654(0x258)](a2_0x25d654(0x1be))[a2_0x25d654(0x1f3)](a2_0x25d654(0x247),a2_0x25d654(0x2c5))['option']('--in\x20<database>',a2_0x25d654(0x301))[a2_0x25d654(0x263)](async(_0x360042,_0x65620b)=>{const _0x41baef=a2_0x25d654,_0x2038fc=new DescribeCommand(),_0x45e46d=program[_0x41baef(0x3d5)](),_0x592fd0=await createTDXInstance(_0x45e46d);_0x65620b['in']&&(_0x65620b[_0x41baef(0x1e4)]=_0x65620b['in']);const _0x5dfd0b=await _0x2038fc[_0x41baef(0x260)]({'options':{..._0x45e46d,..._0x65620b},'args':_0x360042?[_0x360042]:[],'tdx':_0x592fd0});process[_0x41baef(0x36c)](_0x5dfd0b);}),program[a2_0x25d654(0x25b)](a2_0x25d654(0x200))[a2_0x25d654(0x258)]('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x25d654(0x1f3)](a2_0x25d654(0x247),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x1ac),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x2c7),'Trino\x20catalog\x20(default:\x20td)')[a2_0x25d654(0x1f3)]('-f,\x20--file\x20<path>',a2_0x25d654(0x1d3))['option']('--limit\x20<rows>',a2_0x25d654(0x342),'40')[a2_0x25d654(0x263)](async(_0x1723db,_0x5914d6)=>{const _0x406166=a2_0x25d654,_0x464bdd=new QueryCommand(),_0x1bd7dc=program['opts'](),_0x16e608=await createTDXInstance(_0x1bd7dc);_0x5914d6['in']&&(_0x5914d6[_0x406166(0x1e4)]=_0x5914d6['in']);const _0x1f3a98=await _0x464bdd[_0x406166(0x260)]({'options':{..._0x1bd7dc,..._0x5914d6},'args':_0x1723db?[_0x1723db]:[],'tdx':_0x16e608});process[_0x406166(0x36c)](_0x1f3a98);});const segmentCmd=program['command'](a2_0x25d654(0x233))[a2_0x25d654(0x255)]('sg')[a2_0x25d654(0x258)](a2_0x25d654(0x22e)),segmentListAction=async(_0x5138e9,_0x3581f0)=>{const _0x58bc02=a2_0x25d654,_0x3009f5=new SegmentsCommand(),_0x27c7e7=program[_0x58bc02(0x3d5)](),_0x112401=await createTDXInstance(_0x27c7e7),_0x3aaa47=await _0x3009f5[_0x58bc02(0x260)]({'options':{..._0x27c7e7,..._0x3581f0},'args':_0x5138e9?[_0x5138e9]:[],'tdx':_0x112401});process[_0x58bc02(0x36c)](_0x3aaa47);};segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1ff))[a2_0x25d654(0x258)](a2_0x25d654(0x355))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2bb),a2_0x25d654(0x264))[a2_0x25d654(0x1f3)](a2_0x25d654(0x30d),a2_0x25d654(0x216),'10')[a2_0x25d654(0x1f3)](a2_0x25d654(0x237),a2_0x25d654(0x1d2))['action'](segmentListAction),program['command'](a2_0x25d654(0x197),{'hidden':!![]})['description'](a2_0x25d654(0x3c8))['option'](a2_0x25d654(0x2bb),a2_0x25d654(0x264))[a2_0x25d654(0x1f3)]('--max-depth\x20<depth>',a2_0x25d654(0x216),'10')['option'](a2_0x25d654(0x237),a2_0x25d654(0x1d2))[a2_0x25d654(0x263)](segmentListAction),segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x356),{'hidden':!![]})[a2_0x25d654(0x258)](a2_0x25d654(0x39c))[a2_0x25d654(0x263)](async(_0x28751d,_0x5cf114)=>{const _0x8e7939=a2_0x25d654,_0x1e00eb=new SegmentUseCommand(),_0x29a773=program['opts'](),_0x192146=await createTDXInstance(_0x29a773),_0x165dcc=await _0x1e00eb[_0x8e7939(0x260)]({'options':{..._0x29a773,..._0x5cf114},'args':[_0x28751d],'tdx':_0x192146});process[_0x8e7939(0x36c)](_0x165dcc);});const segmentViewAction=async(_0x3f3c01,_0x2033c8)=>{const _0x54bfca=a2_0x25d654,_0x680c96=new SegmentViewCommand(),_0x51df74=program['opts'](),_0x4536bf=await createTDXInstance(_0x51df74),_0x14f12d=await _0x680c96[_0x54bfca(0x260)]({'options':{..._0x51df74,..._0x2033c8},'args':_0x3f3c01?[_0x3f3c01]:[],'tdx':_0x4536bf});process['exit'](_0x14f12d);};segmentCmd['command'](a2_0x25d654(0x2a0))[a2_0x25d654(0x258)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x237),a2_0x25d654(0x227))[a2_0x25d654(0x263)](segmentViewAction),segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x298),{'hidden':!![]})['alias']('describe')[a2_0x25d654(0x1f3)](a2_0x25d654(0x237),a2_0x25d654(0x227))[a2_0x25d654(0x258)](a2_0x25d654(0x3ce))['action'](segmentViewAction),segmentCmd['command']('desc\x20[segment_name]')[a2_0x25d654(0x258)](a2_0x25d654(0x31b))[a2_0x25d654(0x263)](async(_0x16d96f,_0x148fc)=>{const _0x3a5ac5=a2_0x25d654,_0x2f35c5=new SegmentDescCommand(),_0x3696d3=program['opts'](),_0x271d60=await createTDXInstance(_0x3696d3),_0x920a4f=await _0x2f35c5['run']({'options':{..._0x3696d3,..._0x148fc},'args':_0x16d96f?[_0x16d96f]:[],'tdx':_0x271d60});process[_0x3a5ac5(0x36c)](_0x920a4f);}),segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x35e))[a2_0x25d654(0x258)](a2_0x25d654(0x1e5))[a2_0x25d654(0x263)](async(_0x4c9d95,_0x3bce0e)=>{const _0x482124=a2_0x25d654,_0x1d1ecf=new SegmentShowCommand(),_0x2753bc=program['opts'](),_0x3301c3=await createTDXInstance(_0x2753bc),_0x25b1f6=await _0x1d1ecf[_0x482124(0x260)]({'options':{..._0x2753bc,..._0x3bce0e},'args':_0x4c9d95?[_0x4c9d95]:[],'tdx':_0x3301c3});process[_0x482124(0x36c)](_0x25b1f6);}),segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x242),{'hidden':!![]})[a2_0x25d654(0x258)](a2_0x25d654(0x33a))[a2_0x25d654(0x263)](async(_0x173ea7,_0x178f99)=>{const _0x23cb92=a2_0x25d654,_0x1aa116=new SegmentFolderListCommand(),_0x378d45=program[_0x23cb92(0x3d5)](),_0x24debe=await createTDXInstance(_0x378d45),_0x2e037e=await _0x1aa116[_0x23cb92(0x260)]({'options':{..._0x378d45,..._0x178f99},'args':[_0x173ea7],'tdx':_0x24debe});process[_0x23cb92(0x36c)](_0x2e037e);});const folderCmd=segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x22b),{'hidden':!![]})['description'](a2_0x25d654(0x20c));folderCmd['command'](a2_0x25d654(0x338))[a2_0x25d654(0x258)](a2_0x25d654(0x2d2))[a2_0x25d654(0x263)](async(_0x4e4479,_0xbd71d6)=>{const _0x4a0b11=a2_0x25d654,_0x40b40c=new SegmentFolderShowCommand(),_0x338456=program[_0x4a0b11(0x3d5)](),_0x10d7e8=await createTDXInstance(_0x338456),_0xbd8602=await _0x40b40c['run']({'options':{..._0x338456,..._0xbd71d6},'args':[_0x4e4479],'tdx':_0x10d7e8});process[_0x4a0b11(0x36c)](_0xbd8602);}),segmentCmd['command'](a2_0x25d654(0x219))['description'](a2_0x25d654(0x2be))[a2_0x25d654(0x263)](async(_0x27e624,_0x5858f1)=>{const _0x440c67=a2_0x25d654,_0x79c81a=new SegmentSQLCommand(),_0x573ab3=program[_0x440c67(0x3d5)](),_0x4cf9fb=await createTDXInstance(_0x573ab3),_0x4197ff=await _0x79c81a[_0x440c67(0x260)]({'options':{..._0x573ab3,..._0x5858f1},'args':_0x27e624?[_0x27e624]:[],'tdx':_0x4cf9fb});process[_0x440c67(0x36c)](_0x4197ff);}),segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x3d0))[a2_0x25d654(0x258)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')['action'](async(_0xe98463,_0x325049)=>{const _0x3a19e4=a2_0x25d654,_0x184c49=new SegmentFieldsCommand(),_0x46f12e=program[_0x3a19e4(0x3d5)](),_0x21a078=await createTDXInstance(_0x46f12e),_0x445f7a=await _0x184c49[_0x3a19e4(0x260)]({'options':{..._0x46f12e,..._0x325049},'args':_0xe98463?[_0xe98463]:[],'tdx':_0x21a078});process[_0x3a19e4(0x36c)](_0x445f7a);}),segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x32c))[a2_0x25d654(0x258)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x25d654(0x1f3)]('-y,\x20--yes','Skip\x20confirmation\x20prompts')[a2_0x25d654(0x1f3)](a2_0x25d654(0x39f),a2_0x25d654(0x282))[a2_0x25d654(0x263)](async(_0x43d2a6,_0x39924b)=>{const _0xbd987b=a2_0x25d654,_0x4f9da4=new SegmentPullCommand(),_0x286c21=program['opts'](),_0x1cdd8c=await createTDXInstance(_0x286c21),_0x29a2b2=await _0x4f9da4[_0xbd987b(0x260)]({'options':{..._0x286c21,..._0x39924b},'args':_0x43d2a6?[_0x43d2a6]:[],'tdx':_0x1cdd8c});process[_0xbd987b(0x36c)](_0x29a2b2);}),segmentCmd['command'](a2_0x25d654(0x271))['description'](a2_0x25d654(0x1eb))[a2_0x25d654(0x1f3)](a2_0x25d654(0x29d),'Skip\x20confirmation\x20prompts')[a2_0x25d654(0x1f3)](a2_0x25d654(0x39f),a2_0x25d654(0x282))[a2_0x25d654(0x1f3)](a2_0x25d654(0x392),a2_0x25d654(0x195))[a2_0x25d654(0x263)](async(_0x16ed41,_0x2fd726)=>{const _0x466b1e=a2_0x25d654,_0x46ed82=new SegmentPushCommand(),_0x257561=program[_0x466b1e(0x3d5)](),_0x3318eb=await createTDXInstance(_0x257561),_0x3e5847=await _0x46ed82[_0x466b1e(0x260)]({'options':{..._0x257561,..._0x2fd726},'args':_0x16ed41?[_0x16ed41]:[],'tdx':_0x3318eb});process[_0x466b1e(0x36c)](_0x3e5847);}),segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2ab))['description']('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')['action'](async(_0x36f7da,_0x19de8e)=>{const _0x49fe69=a2_0x25d654,_0x20e35d=new SegmentValidateCommand(),_0x171b11=program[_0x49fe69(0x3d5)](),_0x1fd562=await createTDXInstance(_0x171b11),_0x56fbaf=await _0x20e35d[_0x49fe69(0x260)]({'options':{..._0x171b11,..._0x19de8e},'args':_0x36f7da?[_0x36f7da]:[],'tdx':_0x1fd562});process['exit'](_0x56fbaf);}),segmentCmd['command']('create\x20<segment_name>',{'hidden':!![]})[a2_0x25d654(0x258)](a2_0x25d654(0x232))[a2_0x25d654(0x1f3)](a2_0x25d654(0x201),a2_0x25d654(0x3cc))[a2_0x25d654(0x1f3)](a2_0x25d654(0x256),a2_0x25d654(0x311))[a2_0x25d654(0x1f3)](a2_0x25d654(0x335),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x25d654(0x1f3)](a2_0x25d654(0x2a9),a2_0x25d654(0x2ee))[a2_0x25d654(0x1f3)](a2_0x25d654(0x339),a2_0x25d654(0x240))[a2_0x25d654(0x1f3)]('--invisible','Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x334),'Skip\x20population\x20counting')['action'](async(_0x3678a8,_0x575982)=>{const _0x2714bf=a2_0x25d654,_0x4d76af=new SegmentCreateCommand(),_0x34d79c=program['opts'](),_0x23effc=await createTDXInstance(_0x34d79c),_0x5cd148=await _0x4d76af[_0x2714bf(0x260)]({'options':{..._0x34d79c,..._0x575982},'args':[_0x3678a8],'tdx':_0x23effc});process[_0x2714bf(0x36c)](_0x5cd148);}),segmentCmd['command'](a2_0x25d654(0x21f),{'hidden':!![]})[a2_0x25d654(0x258)](a2_0x25d654(0x322))['option']('--name\x20<new_name>',a2_0x25d654(0x25a))['option'](a2_0x25d654(0x201),a2_0x25d654(0x357))[a2_0x25d654(0x1f3)](a2_0x25d654(0x256),a2_0x25d654(0x28a))[a2_0x25d654(0x1f3)](a2_0x25d654(0x335),a2_0x25d654(0x225))['option'](a2_0x25d654(0x2a9),'Move\x20to\x20folder')[a2_0x25d654(0x1f3)]('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x25d654(0x263)](async(_0x332755,_0x5c105a)=>{const _0x50e1dd=a2_0x25d654,_0x2f4aeb=new SegmentUpdateCommand(),_0x74f5ee=program['opts'](),_0x4bec37=await createTDXInstance(_0x74f5ee),_0x225d43=await _0x2f4aeb['run']({'options':{..._0x74f5ee,..._0x5c105a},'args':[_0x332755],'tdx':_0x4bec37});process[_0x50e1dd(0x36c)](_0x225d43);});const parentCmd=segmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x305),{'hidden':!![]})[a2_0x25d654(0x258)](a2_0x25d654(0x370)),parentListAction=async(_0xd3626b,_0x4f78b9)=>{const _0x335cf9=a2_0x25d654,_0x2cd027=new ParentSegmentListCommand(),_0x51dce=program['opts'](),_0x21b979=await createTDXInstance(_0x51dce),_0xe9df2e=await _0x2cd027[_0x335cf9(0x260)]({'options':{..._0x51dce,..._0x4f78b9},'args':_0xd3626b?[_0xd3626b]:[],'tdx':_0x21b979});process[_0x335cf9(0x36c)](_0xe9df2e);};function a2_0x22a5(){const _0x5879a3=['-X,\x20--method\x20<method>','tsv','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Add\x20behaviors\x20as\x20JSON\x20string','--name\x20<name>','Add\x20behaviors\x20from\x20JSON\x20file','option','Create\x20an\x20email\x20template','Limit\x20number\x20of\x20rows','hidden','\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','repeat','--from-task\x20<task>',',\x20version\x20','Arguments:','--from\x20<timestamp>','Usage:\x20','Campaign\x20description','list\x20[path]','query\x20[sql]','--description\x20<text>','9941830JzbZiz','use\x20[name]','18617225HIooql','--agent\x20<name>','--clear','--prompt\x20<text>','\x20(resolved\x20to\x20','Agent\x20reference\x20(project-name/agent-name)','utf-8','--new','[DEPRECATED]\x20Segment\x20folder\x20management','-o,\x20--output\x20<dir>','Database\x20to\x20use\x20(overrides\x20context)','parse','build-info.json','show\x20[name]','-f,\x20--file\x20<path>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Output\x20as\x20JSON','Workflow\x20session\x20management','Maximum\x20recursion\x20depth\x20(default:\x2010)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','[task-name]','sql\x20[segment_name]','sql\x20[name]','delete\x20<name>','-H,\x20--header\x20<header>','Pause\x20a\x20campaign','buildTime','update\x20<segment_name>','--output\x20<file>','--segment\x20<path>','-f,\x20--force','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','-C,\x20--directory\x20<path>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Open\x20segment\x20in\x20web\x20browser','models','Include\x20execution\x20statistics','Duplicate\x20a\x20campaign','folder','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','CDP\x20segment\x20management\x20commands','--customer-group-file\x20<file>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Path\x20is\x20not\x20a\x20directory:\x20','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','segment','-d,\x20--database\x20<name>','argumentTerm','--to\x20<timestamp>','-w,\x20--web','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','parents\x20[pattern]','workflows\x20[project]','Agent\x20name','--workspace\x20<name>','show\x20[table]','desc\x20[name]','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','New\x20campaign\x20name','folders\x20<parent_name>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','schema\x20<type>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','gitRevision','-d,\x20--database\x20<database>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','project','Change\x20to\x20directory\x20before\x20executing\x20command','--color','information_schema','describe\x20[table]','get','list\x20[pattern]','-u,\x20--use','Preview\x20operation\x20without\x20executing','api\x20[endpoint]','Validate\x20journey\x20YAML\x20files\x20locally','Workflow\x20(Digdag)\x20management\x20commands','alias','--rule\x20<json>','pause\x20<name-or-path>','description','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','New\x20segment\x20name','command','Maximum\x20tool\x20iterations\x20(default:\x204)','after','trino','List\x20all\x20data\x20connections','run','Attributes\x20as\x20JSON\x20string','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','action','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--llm-project\x20<name>','Customer\x20group\x20as\x20JSON\x20string','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','22543SuWBlR','journey','session','trace','Workspace\x20name','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Campaign\x20management','port','push\x20[parent_or_file]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','log','Show\x20parent\x20segment\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20current\x20resolved\x20context\x20(use\x20--debug\x20to\x20show\x20sources)','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','outputHelp','../package.json','Resume\x20a\x20paused\x20journey','--data\x20<data>','options','224545VYbvRh','then','Workflow\x20project\x20management','campaigns\x20[pattern]','Resume\x20a\x20conversation\x20(shows\x20selector)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','attempt','--agent\x20<ref>','types','argument','--parent-folder\x20<name>','injectIntoOptions','--enriched','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','List\x20agents\x20in\x20current\x20project','\x20-\x20built\x20','-c,\x20--continue','--attributes-file\x20<file>','Show\x20connection\x20details\x20by\x20name','Interactive\x20chat\x20selector','us01','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','view\x20<name-or-path>','Show\x20journey\x20statistics','Name\x20for\x20the\x20new\x20project\x20(required)','Set\x20or\x20show\x20parent\x20segment\x20context','info\x20[segment_name]','--table','Skip\x20confirmation\x20prompts','engage','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','-y,\x20--yes','Read\x20request\x20body\x20from\x20file','configureHelp','view\x20[segment_name]','validate\x20[name]','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','apiKey','Start\x20a\x20new\x20chat\x20session','Show\x20campaign\x20details','Resume\x20a\x20paused\x20campaign','Workflow\x20attempt\x20management','--add-attributes-file\x20<file>','--folder\x20<name>','-n,\x20--name\x20<name>','validate\x20[target]','List\x20journeys\x20in\x20current\x20context','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','restore\x20<folder>','Launch\x20a\x20campaign','Pause\x20a\x20running\x20journey','Request\x20body\x20as\x20JSON\x20string','version','--force','--params\x20<json>','--no-color','--site\x20<site>','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','Attempt\x20ID','profile','List\x20available\x20connector\x20types','-r,\x20--recursive','chdir','Reason\x20for\x20killing\x20the\x20attempt','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','jsonl','Job\x20management\x20commands','Include\x20subtasks\x20in\x20tasks\x20output','--add-behaviors\x20<json>','2212CjYYJq','Show\x20only\x20master\x20table\x20validation','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Workspace\x20name\x20(required)','--catalog\x20<catalog>','Create\x20segment\x20folder','--full','--name\x20<text>','logLevel','secrets','--parent-segment\x20<name>','submit\x20[query]','--system-prompt\x20<text>','Remove\x20API\x20key\x20from\x20system\x20keychain','Behaviors\x20from\x20JSON\x20file','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','connections','Continue\x20most\x20recent\x20conversation','Editor\x20type','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Options:','--editor-type\x20<type>','set','map','validate\x20[file]','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Delete\x20an\x20LLM\x20project','-o,\x20--output\x20<file>','-v,\x20--verbose','agents\x20[pattern]','Export\x20journey(s)\x20as\x20YAML\x20files','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','catch','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--json-columns\x20<cols>','error','Create\x20a\x20new\x20LLM\x20project','--html\x20<html>','debug','-1d','Folder\x20name\x20for\x20organization','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Updated\x20schedule\x20option','--include-stats','template','Overwrite\x20local\x20changes\x20without\x20confirmation','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','update\x20<agent-name>','noColor','--format\x20<format>','show\x20<job-id>','Read\x20query\x20from\x20file','Add\x20attributes\x20as\x20JSON\x20string','--limit\x20<number>','4000','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow)','campaign','Table\x20management\x20commands','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Alias\x20for\x20--database\x20(natural\x20language\x20style)','INFO','Workspace\x20description','Agent\x20prompt/instructions','parent','Show\x20web\x20console\x20URLs\x20for\x20journeys','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','--status\x20<status>','System\x20prompt/instructions\x20(default:\x20empty)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','--max-depth\x20<depth>','json','run\x20[name]','--starter-message\x20<text>','Filtering\x20rule\x20as\x20JSON\x20string','--plaintext\x20<text>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','create\x20<name>','create\x20<parent_name>\x20<folder_name>','78uehgfp','registeredArguments','Add\x20attributes\x20from\x20JSON\x20file','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','claude\x20[args...]','Show\x20segment\x20schema\x20(column\x20types)','update\x20<name>','use\x20<name>','templates\x20[pattern]','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','users','--timeout\x20<seconds>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','usage','kill\x20<job-id>','Delete\x20an\x20email\x20template','Show\x20console\x20URLs','projects\x20[pattern]','Clear\x20workflow\x20project\x20context','setup','show\x20<agent-name>','tasks','pull\x20[parent_or_file]','Database\x20management\x20commands','sessions\x20[project]','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','--type\x20<api_type>','logs','HTML\x20template\x20content','--no-count-population','--rule-file\x20<file>','.dev','12euWlhP','show\x20<folder_ref>','--kind\x20<type>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','tdx','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','claude-4.5-sonnet','push\x20[file]','databases\x20[pattern]','\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','Show\x20agent\x20details','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','create','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--resume-from\x20<task>','Setup\x20API\x20key\x20authentication\x20interactively','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','workspaces\x20[pattern]','--customer-group\x20<json>','Create\x20a\x20workspace','--email-sender-id\x20<id>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','forEach','list','statusline','Email\x20template\x20management','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','use\x20<path>','Updated\x20description','--attributes\x20<json>','94CuLkIw','retry\x20<session-id>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','--add-behaviors-file\x20<file>','flatMap','show\x20[segment_name]','Plaintext\x20template\x20content','run\x20<workflow>','aliases','Campaign\x20name','length','LLM\x20agent\x20management','requiredOption','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','pull\x20[name]','--type\x20<type>','Push\x20without\x20confirmation','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','--include-subtasks','exit','Create\x20a\x20new\x20campaign','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','retry','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','workspace','chats','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Email\x20sender\x20ID\x20for\x20delivery','New\x20workspace\x20name','resume\x20<name-or-path>','--param\x20<key=value>','pause\x20<name-or-id>','attempts\x20[project]','--last','--attribute\x20[name]','context','Open\x20parent\x20segment\x20in\x20web\x20browser','Customer\x20group\x20from\x20JSON\x20file','--yes','Delete\x20an\x20agent','push\x20[project-name-or-dir]','[options]\x20--\x20[claude-code-args...]','LLM\x20project\x20to\x20use\x20(overrides\x20context)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Revision\x20name\x20(default:\x20timestamp)','--debug','padWidth','Parent\x20folder\x20name\x20for\x20nested\x20folders','subcommandDescription','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Open\x20journey\x20in\x20web\x20browser','User\x20management\x20commands','Starter\x20message','--master','set\x20<args...>','--job-type\x20<type>','Set\x20operation\x20timeout\x20in\x20seconds','--delete','addHelpText','subcommandTerm','\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','--jsonl','format','Force\x20retry\x20even\x20if\x20not\x20failed','Delete\x20a\x20campaign','Commands:','Skip\x20validation\x20of\x20.dig\x20files','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Resume\x20from\x20specific\x20task','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--dry-run','view\x20[name]','Push\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style:\x20cd\x20into\x20project,\x20then\x20push\x20<name>)','activations\x20<segment_name>','Master\x20database\x20name','padEnd','--no-proxy','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','join','Behaviors\x20as\x20JSON\x20string','--schedule-option\x20<value>','required','user','List\x20jobs','Include\x20retried\x20attempts','End\x20time\x20filter\x20(ISO\x208601\x20format)','isDirectory','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','List\x20secret\x20keys\x20for\x20a\x20project','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','isArray','--description\x20<desc>','AI-native\x20CLI\x20for\x20Treasure\x20Data','INVALID_ARGUMENT','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','5744KSAqDH','Email\x20subject\x20template','help','use\x20[project]','isTTY','--trace','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)','--behaviors\x20<json>','Output\x20as\x20JSON\x20Lines','parent-segment','--model\x20<name>','--revision\x20<revision>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','argumentDescription','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20journey\x20details','Segment\x20description','includes','Show\x20segment\x20details\x20(alias\x20for\x20view)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','fields\x20[parent_name]','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Kill\x20a\x20job','Output\x20file\x20path','Directory\x20does\x20not\x20exist:\x20','opts','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Get\x20job\x20results','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','directory','segments\x20[path]','job','allowUnknownOption','CDP\x20Journey\x20Orchestration\x20commands','Show\x20agent\x20chat\x20URLs','Skip\x20confirmation\x20prompt','--schedule-type\x20<type>','profiles','-r,\x20--resume','--reason\x20<text>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Clear\x20session\x20context','--include-retried','preAction','Override\x20project\x20name','push\x20[path]','backup\x20<name>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','push','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--stage\x20<name>','--in\x20<database>','commandUsage','list\x20[project]','duplicate\x20<name-or-id>','filter','table','--port\x20<number>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','preview\x20[file]','argv','result\x20<job-id>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','desc','Delete\x20a\x20workspace','show\x20<name>','--interval\x20<range>','connection','Describe\x20table\x20schema','--version','--json','slice','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','allowExcessArguments','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','stats\x20<name-or-path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--behavior\x20[name]','update\x20<name-or-id>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','parent_segment','show\x20<name-or-id>','delete\x20<name-or-id>','tables\x20[pattern]','8941464EXGUSi','852420vQHcHG','name','Show\x20web\x20console\x20URLs\x20for\x20segments','Read\x20SQL\x20query\x20from\x20file','replace','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--timezone\x20<tz>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','List\x20available\x20LLM\x20models','Parent\x20segment\x20management','Update\x20an\x20email\x20template','pull\x20[project]\x20[agent-name]','--database\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)','--session\x20<id>','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','status','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Template\x20name','Master\x20table\x20name','database','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','tdx\x20','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments'];a2_0x22a5=function(){return _0x5879a3;};return a2_0x22a5();}parentCmd['command'](a2_0x25d654(0x24f))[a2_0x25d654(0x258)](a2_0x25d654(0x30b))[a2_0x25d654(0x263)](parentListAction),segmentCmd['command'](a2_0x25d654(0x239),{'hidden':!![]})[a2_0x25d654(0x258)](a2_0x25d654(0x1c3))[a2_0x25d654(0x263)](parentListAction),parentCmd['command'](a2_0x25d654(0x367))[a2_0x25d654(0x258)](a2_0x25d654(0x245))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2e0),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x29d),'Skip\x20confirmation\x20prompt')[a2_0x25d654(0x263)](async(_0x365a49,_0x1678be)=>{const _0x409a35=a2_0x25d654,_0x34a417=new ParentSegmentPullCommand(),_0x28ffc9=program[_0x409a35(0x3d5)](),_0x1be72d=await createTDXInstance(_0x28ffc9),_0x25a0f9=await _0x34a417[_0x409a35(0x260)]({'options':{..._0x28ffc9,..._0x1678be},'args':_0x365a49?[_0x365a49]:[],'tdx':_0x1be72d});process['exit'](_0x25a0f9);}),parentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x33e))[a2_0x25d654(0x258)](a2_0x25d654(0x2ef))[a2_0x25d654(0x1f3)](a2_0x25d654(0x29d),a2_0x25d654(0x19c))['action'](async(_0x510f30,_0x141531)=>{const _0x579674=a2_0x25d654,_0x4f8c4b=new ParentSegmentPushCommand(),_0x594336=program[_0x579674(0x3d5)](),_0x2b7d2f=await createTDXInstance(_0x594336),_0x1fe10a=await _0x4f8c4b[_0x579674(0x260)]({'options':{..._0x594336,..._0x141531},'args':_0x510f30?[_0x510f30]:[],'tdx':_0x2b7d2f});process[_0x579674(0x36c)](_0x1fe10a);}),parentCmd['command'](a2_0x25d654(0x2dd))[a2_0x25d654(0x258)](a2_0x25d654(0x300))[a2_0x25d654(0x1f3)](a2_0x25d654(0x38e),a2_0x25d654(0x2c4))[a2_0x25d654(0x1f3)](a2_0x25d654(0x37b),a2_0x25d654(0x272))['option'](a2_0x25d654(0x1c8),a2_0x25d654(0x344))[a2_0x25d654(0x1f3)](a2_0x25d654(0x289),a2_0x25d654(0x230))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1bc),a2_0x25d654(0x2d8),a2_0x25d654(0x2ed))[a2_0x25d654(0x263)](async(_0x198e42,_0xaa6588)=>{const _0x3dae29=a2_0x25d654,_0x1d7c70=new ParentSegmentValidateCommand(),_0x204be3=program['opts'](),_0x1e5b8c=await createTDXInstance(_0x204be3),_0x34b06e=await _0x1d7c70[_0x3dae29(0x260)]({'options':{..._0x204be3,..._0xaa6588},'args':_0x198e42?[_0x198e42]:[],'tdx':_0x1e5b8c});process[_0x3dae29(0x36c)](_0x34b06e);}),parentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1b5))[a2_0x25d654(0x258)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option'](a2_0x25d654(0x38e),'Show\x20master\x20table\x20sample\x20data')[a2_0x25d654(0x1f3)]('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x25d654(0x1f3)](a2_0x25d654(0x1c8),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x25d654(0x1f3)]('--enriched',a2_0x25d654(0x1a1))['option'](a2_0x25d654(0x1bc),a2_0x25d654(0x2d8),'-1d')[a2_0x25d654(0x263)](async(_0x2117a7,_0x430a70)=>{const _0x5c2992=a2_0x25d654,_0x40ac87=new ParentSegmentPreviewCommand(),_0x2a86fe=program[_0x5c2992(0x3d5)](),_0x46401e=await createTDXInstance(_0x2a86fe),_0xe713fa=await _0x40ac87[_0x5c2992(0x260)]({'options':{..._0x2a86fe,..._0x430a70},'args':_0x2117a7?[_0x2117a7]:[],'tdx':_0x46401e});process[_0x5c2992(0x36c)](_0xe713fa);}),parentCmd[a2_0x25d654(0x25b)]('run\x20[name]')['description'](a2_0x25d654(0x319))[a2_0x25d654(0x1f3)](a2_0x25d654(0x29d),a2_0x25d654(0x19c))[a2_0x25d654(0x263)](async(_0x1b7810,_0x16dba8)=>{const _0x243274=a2_0x25d654,_0x5ae392=new ParentSegmentRunCommand(),_0x21dcbc=program[_0x243274(0x3d5)](),_0x2d9bdc=await createTDXInstance(_0x21dcbc),_0x36f249=await _0x5ae392[_0x243274(0x260)]({'options':{..._0x21dcbc,..._0x16dba8},'args':_0x1b7810?[_0x1b7810]:[],'tdx':_0x2d9bdc});process[_0x243274(0x36c)](_0x36f249);});const parentSegmentCmd=program[a2_0x25d654(0x25b)](a2_0x25d654(0x3c5))['alias']('ps')[a2_0x25d654(0x258)](a2_0x25d654(0x1d9));parentSegmentCmd['command'](a2_0x25d654(0x24f))['description'](a2_0x25d654(0x30b))[a2_0x25d654(0x263)](parentListAction),parentSegmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x367))[a2_0x25d654(0x258)](a2_0x25d654(0x1b4))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2e0),a2_0x25d654(0x3d3))[a2_0x25d654(0x1f3)](a2_0x25d654(0x29d),a2_0x25d654(0x19c))[a2_0x25d654(0x1f3)](a2_0x25d654(0x250),a2_0x25d654(0x35b))[a2_0x25d654(0x263)](async(_0x548453,_0xe832ec)=>{const _0x45392e=a2_0x25d654,_0x299677=new ParentSegmentPullCommand(),_0x37f6c8=program[_0x45392e(0x3d5)](),_0x89dd33=await createTDXInstance(_0x37f6c8),_0xc47dc8=await _0x299677[_0x45392e(0x260)]({'options':{..._0x37f6c8,..._0xe832ec},'args':_0x548453?[_0x548453]:[],'tdx':_0x89dd33});process['exit'](_0xc47dc8);}),parentSegmentCmd[a2_0x25d654(0x25b)]('push\x20[name]')[a2_0x25d654(0x258)](a2_0x25d654(0x1b3))[a2_0x25d654(0x1f3)](a2_0x25d654(0x29d),'Skip\x20confirmation\x20prompt')[a2_0x25d654(0x263)](async(_0x4b0f2e,_0x3bf604)=>{const _0x8e93b6=a2_0x25d654,_0x431dee=new ParentSegmentPushCommand(),_0x5d8ca8=program[_0x8e93b6(0x3d5)](),_0x56e1f7=await createTDXInstance(_0x5d8ca8),_0x4cb6fa=await _0x431dee[_0x8e93b6(0x260)]({'options':{..._0x5d8ca8,..._0x3bf604},'args':_0x4b0f2e?[_0x4b0f2e]:[],'tdx':_0x56e1f7});process[_0x8e93b6(0x36c)](_0x4cb6fa);}),parentSegmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2a1))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x25d654(0x1f3)](a2_0x25d654(0x38e),'Show\x20only\x20master\x20table\x20validation')[a2_0x25d654(0x1f3)](a2_0x25d654(0x37b),a2_0x25d654(0x272))['option'](a2_0x25d654(0x1c8),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x25d654(0x1f3)](a2_0x25d654(0x289),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x1bc),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x25d654(0x2ed))['action'](async(_0x551300,_0x26b115)=>{const _0x1a6cd8=a2_0x25d654,_0x476af7=new ParentSegmentValidateCommand(),_0x1ed1b9=program[_0x1a6cd8(0x3d5)](),_0x15cc6b=await createTDXInstance(_0x1ed1b9),_0x96230f=await _0x476af7['run']({'options':{..._0x1ed1b9,..._0x26b115},'args':_0x551300?[_0x551300]:[],'tdx':_0x15cc6b});process[_0x1a6cd8(0x36c)](_0x96230f);}),parentSegmentCmd[a2_0x25d654(0x25b)]('preview\x20[name]')[a2_0x25d654(0x258)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x25d654(0x1f3)](a2_0x25d654(0x38e),'Show\x20master\x20table\x20sample\x20data')[a2_0x25d654(0x1f3)](a2_0x25d654(0x37b),a2_0x25d654(0x3a6))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1c8),a2_0x25d654(0x259))[a2_0x25d654(0x1f3)](a2_0x25d654(0x289),a2_0x25d654(0x1a1))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1bc),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x25d654(0x2ed))[a2_0x25d654(0x263)](async(_0x456317,_0xc36293)=>{const _0x6b898b=a2_0x25d654,_0x9bb955=new ParentSegmentPreviewCommand(),_0x31664f=program[_0x6b898b(0x3d5)](),_0x19f97a=await createTDXInstance(_0x31664f),_0x1be5a6=await _0x9bb955['run']({'options':{..._0x31664f,..._0xc36293},'args':_0x456317?[_0x456317]:[],'tdx':_0x19f97a});process[_0x6b898b(0x36c)](_0x1be5a6);}),parentSegmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x30f))[a2_0x25d654(0x258)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['option']('-y,\x20--yes',a2_0x25d654(0x19c))[a2_0x25d654(0x263)](async(_0x19c9fd,_0x2b0735)=>{const _0x136fe7=a2_0x25d654,_0x2b4251=new ParentSegmentRunCommand(),_0x140b3d=program[_0x136fe7(0x3d5)](),_0x2a3fda=await createTDXInstance(_0x140b3d),_0x21f51b=await _0x2b4251[_0x136fe7(0x260)]({'options':{..._0x140b3d,..._0x2b0735},'args':_0x19c9fd?[_0x19c9fd]:[],'tdx':_0x2a3fda});process[_0x136fe7(0x36c)](_0x21f51b);}),parentSegmentCmd[a2_0x25d654(0x25b)]('fields\x20[name]')['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x25d654(0x1c0),a2_0x25d654(0x214))[a2_0x25d654(0x1f3)](a2_0x25d654(0x396),a2_0x25d654(0x3c4))['action'](async(_0x20a7bd,_0x3095ac)=>{const _0x4b82c2=a2_0x25d654,_0x34c334=new ParentSegmentFieldsCommand(),_0xc807d8=program['opts'](),_0x3dfa0e=await createTDXInstance(_0xc807d8),_0x1c9012=await _0x34c334[_0x4b82c2(0x260)]({'options':{..._0xc807d8,..._0x3095ac},'args':_0x20a7bd?[_0x20a7bd]:[],'tdx':_0x3dfa0e});process['exit'](_0x1c9012);}),parentSegmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x3a0))[a2_0x25d654(0x258)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x237),a2_0x25d654(0x37d))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1c0),a2_0x25d654(0x214))[a2_0x25d654(0x1f3)]('--jsonl',a2_0x25d654(0x3c4))[a2_0x25d654(0x263)](async(_0x1fa098,_0x2d5c54)=>{const _0x5cec40=a2_0x25d654,_0x3c3301=new ParentSegmentViewCommand(),_0x5dbffa=program[_0x5cec40(0x3d5)](),_0x3027c0=await createTDXInstance(_0x5dbffa),_0x51f97c=await _0x3c3301[_0x5cec40(0x260)]({'options':{..._0x5dbffa,..._0x2d5c54},'args':_0x1fa098?[_0x1fa098]:[],'tdx':_0x3027c0});process[_0x5cec40(0x36c)](_0x51f97c);}),parentSegmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x23e))['description'](a2_0x25d654(0x275))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1c0),a2_0x25d654(0x214))['option'](a2_0x25d654(0x396),'Output\x20as\x20JSON\x20Lines')[a2_0x25d654(0x263)](async(_0x2bca8f,_0x479d6b)=>{const _0xed4c0d=a2_0x25d654,_0x150abc=new ParentSegmentDescCommand(),_0xea8ba2=program['opts'](),_0x5065d6=await createTDXInstance(_0xea8ba2),_0x1bac32=await _0x150abc[_0xed4c0d(0x260)]({'options':{..._0xea8ba2,..._0x479d6b},'args':_0x2bca8f?[_0x2bca8f]:[],'tdx':_0x5065d6});process[_0xed4c0d(0x36c)](_0x1bac32);}),parentSegmentCmd['command'](a2_0x25d654(0x21a))[a2_0x25d654(0x258)](a2_0x25d654(0x3cf))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1c0),a2_0x25d654(0x214))[a2_0x25d654(0x1f3)](a2_0x25d654(0x396),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x171b09,_0x51ebbb)=>{const _0xe0e404=a2_0x25d654,_0x4a163c=new ParentSegmentSQLCommand(),_0x458cc1=program[_0xe0e404(0x3d5)](),_0x52e1c5=await createTDXInstance(_0x458cc1),_0x2ea9b7=await _0x4a163c['run']({'options':{..._0x458cc1,..._0x51ebbb},'args':_0x171b09?[_0x171b09]:[],'tdx':_0x52e1c5});process[_0xe0e404(0x36c)](_0x2ea9b7);}),parentSegmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x211))['description'](a2_0x25d654(0x33c))[a2_0x25d654(0x1f3)]('--limit\x20<n>',a2_0x25d654(0x1f5))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1c0),a2_0x25d654(0x214))['option'](a2_0x25d654(0x396),a2_0x25d654(0x3c4))[a2_0x25d654(0x263)](async(_0x515814,_0x4b1c1c)=>{const _0x4da84e=a2_0x25d654,_0xad7f2=new ParentSegmentShowCommand(),_0x3554be=program[_0x4da84e(0x3d5)](),_0x3abbf8=await createTDXInstance(_0x3554be),_0x2ed4a1=await _0xad7f2[_0x4da84e(0x260)]({'options':{..._0x3554be,..._0x4b1c1c},'args':_0x515814?[_0x515814]:[],'tdx':_0x3abbf8});process[_0x4da84e(0x36c)](_0x2ed4a1);}),parentSegmentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x203))[a2_0x25d654(0x258)](a2_0x25d654(0x297))[a2_0x25d654(0x263)](async(_0x15465a,_0x128c6e)=>{const _0x3272ba=a2_0x25d654,_0x434158=new UseCommand(),_0x17700=program[_0x3272ba(0x3d5)](),_0x2a6c99=_0x15465a?[_0x3272ba(0x1cb),_0x15465a]:[],_0x3e6d1e=await _0x434158[_0x3272ba(0x260)]({'options':{..._0x17700,..._0x128c6e},'args':_0x2a6c99,'tdx':null});process['exit'](_0x3e6d1e);}),parentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x314))[a2_0x25d654(0x258)](a2_0x25d654(0x2d6))[a2_0x25d654(0x365)]('--database\x20<db>',a2_0x25d654(0x3a3))[a2_0x25d654(0x365)]('--table\x20<table>',a2_0x25d654(0x1e3))[a2_0x25d654(0x1f3)](a2_0x25d654(0x201),'Parent\x20segment\x20description')[a2_0x25d654(0x1f3)](a2_0x25d654(0x19d),a2_0x25d654(0x1a8))[a2_0x25d654(0x1f3)](a2_0x25d654(0x3a9),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')['option']('--timezone\x20<tz>','Timezone\x20(e.g.,\x20America/Los_Angeles)')['option'](a2_0x25d654(0x358),a2_0x25d654(0x261))['option'](a2_0x25d654(0x28f),'Attributes\x20from\x20JSON\x20file')['option'](a2_0x25d654(0x3c3),a2_0x25d654(0x3a8))['option']('--behaviors-file\x20<file>',a2_0x25d654(0x2d1))['option'](a2_0x25d654(0x34d),a2_0x25d654(0x266))['option'](a2_0x25d654(0x22f),a2_0x25d654(0x37e))[a2_0x25d654(0x263)](async(_0xf41340,_0x5cff80)=>{const _0x2787fb=a2_0x25d654,_0x616a1=new ParentSegmentCreateCommand(),_0x2f9057=program[_0x2787fb(0x3d5)](),_0x5840b4=await createTDXInstance(_0x2f9057),_0x50c947=await _0x616a1[_0x2787fb(0x260)]({'options':{..._0x2f9057,..._0x5cff80},'args':[_0xf41340],'tdx':_0x5840b4});process['exit'](_0x50c947);}),parentCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x31c))[a2_0x25d654(0x258)](a2_0x25d654(0x2d7))[a2_0x25d654(0x1f3)](a2_0x25d654(0x201),a2_0x25d654(0x357))[a2_0x25d654(0x1f3)](a2_0x25d654(0x19d),a2_0x25d654(0x349))['option'](a2_0x25d654(0x3a9),a2_0x25d654(0x2f0))['option'](a2_0x25d654(0x1d6),'Updated\x20timezone')[a2_0x25d654(0x1f3)]('--add-attributes\x20<json>',a2_0x25d654(0x2fa))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2a8),a2_0x25d654(0x318))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2c2),a2_0x25d654(0x1f0))[a2_0x25d654(0x1f3)](a2_0x25d654(0x35c),a2_0x25d654(0x1f2))[a2_0x25d654(0x263)](async(_0x50687f,_0x24799f)=>{const _0x5c06e1=a2_0x25d654,_0x40f5d3=new ParentSegmentUpdateCommand(),_0x2f4763=program[_0x5c06e1(0x3d5)](),_0x1d0bef=await createTDXInstance(_0x2f4763),_0x422c7d=await _0x40f5d3[_0x5c06e1(0x260)]({'options':{..._0x2f4763,..._0x24799f},'args':[_0x50687f],'tdx':_0x1d0bef});process[_0x5c06e1(0x36c)](_0x422c7d);}),folderCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x315))[a2_0x25d654(0x258)](a2_0x25d654(0x2c8))['option'](a2_0x25d654(0x201),'Folder\x20description')[a2_0x25d654(0x1f3)](a2_0x25d654(0x287),a2_0x25d654(0x388))[a2_0x25d654(0x263)](async(_0x2168b5,_0x1deeda,_0x1935c6)=>{const _0x26ce39=a2_0x25d654,_0x16bce8=new SegmentFolderCreateCommand(),_0x4e0e52=program[_0x26ce39(0x3d5)](),_0x1eee57=await createTDXInstance(_0x4e0e52),_0xadfdb4=await _0x16bce8[_0x26ce39(0x260)]({'options':{..._0x4e0e52,..._0x1935c6},'args':[_0x2168b5,_0x1deeda],'tdx':_0x1eee57});process[_0x26ce39(0x36c)](_0xadfdb4);}),program['command'](a2_0x25d654(0x3a2))[a2_0x25d654(0x258)](a2_0x25d654(0x1c5))['action'](async(_0x491369,_0x4f1804)=>{const _0x45bc98=a2_0x25d654,_0x47e120=new ActivationsCommand(),_0x182bf1=program[_0x45bc98(0x3d5)](),_0x44fb5f=await createTDXInstance(_0x182bf1),_0x1121a8=await _0x47e120[_0x45bc98(0x260)]({'options':{..._0x182bf1,..._0x4f1804},'args':[_0x491369],'tdx':_0x44fb5f});process[_0x45bc98(0x36c)](_0x1121a8);});const workflowCmd=program[a2_0x25d654(0x25b)]('workflow')[a2_0x25d654(0x255)]('wf')[a2_0x25d654(0x258)](a2_0x25d654(0x254)),wfProjectCmd=workflowCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x249))[a2_0x25d654(0x258)](a2_0x25d654(0x27f)),wfProjectListAction=async(_0x1e52e5,_0x19d7d0)=>{const _0x38c6c6=a2_0x25d654,_0xdee269=new WorkflowProjectsCommand(),_0x3c9296=program[_0x38c6c6(0x3d5)](),_0x141a0a=await createTDXInstance(_0x3c9296),_0x17f60b=await _0xdee269['run']({'options':{..._0x3c9296,..._0x19d7d0},'args':_0x1e52e5?[_0x1e52e5]:[],'tdx':_0x141a0a});process[_0x38c6c6(0x36c)](_0x17f60b);};wfProjectCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x24f))[a2_0x25d654(0x258)](a2_0x25d654(0x3b1))[a2_0x25d654(0x263)](wfProjectListAction),workflowCmd['command'](a2_0x25d654(0x327))[a2_0x25d654(0x258)](a2_0x25d654(0x192))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x5bd18d,_0x2b0215)=>{const _0x262f1b=a2_0x25d654,_0x56bbef=new WorkflowWorkflowsCommand(),_0x3fa9d0=program['opts'](),_0x29e17c=await createTDXInstance(_0x3fa9d0),_0x259d54=await _0x56bbef[_0x262f1b(0x260)]({'options':{..._0x3fa9d0,..._0x2b0215},'args':_0x5bd18d?[_0x5bd18d]:[],'tdx':_0x29e17c});process[_0x262f1b(0x36c)](_0x259d54);};workflowCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x23a))[a2_0x25d654(0x258)](a2_0x25d654(0x384))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x25d654(0x26a))[a2_0x25d654(0x258)](a2_0x25d654(0x215)),wfSessionListAction=async(_0x49375d,_0x550e0c)=>{const _0x461126=a2_0x25d654,_0x326dda=new WorkflowSessionsCommand(),_0x542587=program[_0x461126(0x3d5)](),_0x2fbd0c=await createTDXInstance(_0x542587),_0x413c71=await _0x326dda[_0x461126(0x260)]({'options':{..._0x542587,..._0x550e0c},'args':_0x49375d?[_0x49375d]:[],'tdx':_0x2fbd0c});process[_0x461126(0x36c)](_0x413c71);};wfSessionCmd[a2_0x25d654(0x25b)]('list\x20[project]')['description'](a2_0x25d654(0x1e1))[a2_0x25d654(0x1f3)](a2_0x25d654(0x309),a2_0x25d654(0x3b9))[a2_0x25d654(0x1f3)]('--from\x20<timestamp>',a2_0x25d654(0x213))[a2_0x25d654(0x1f3)](a2_0x25d654(0x236),a2_0x25d654(0x3ae))['action'](wfSessionListAction),workflowCmd['command'](a2_0x25d654(0x32e))[a2_0x25d654(0x258)](a2_0x25d654(0x34b))[a2_0x25d654(0x1f3)](a2_0x25d654(0x309),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x1fc),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x25d654(0x236),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x25d654(0x263)](wfSessionListAction);const wfAttemptListAction=async(_0x5d090d,_0x284fb3)=>{const _0x2bd67e=a2_0x25d654,_0x16b740=new WorkflowAttemptsCommand(),_0x3de0a9=program['opts'](),_0x3f5256=await createTDXInstance(_0x3de0a9),_0x1e9538=await _0x16b740['run']({'options':{..._0x3de0a9,..._0x284fb3},'args':_0x5d090d?[_0x5d090d]:[],'tdx':_0x3f5256});process[_0x2bd67e(0x36c)](_0x1e9538);},attemptCmd=workflowCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x283))[a2_0x25d654(0x258)](a2_0x25d654(0x2a7))[a2_0x25d654(0x286)]('[attempt-id]',a2_0x25d654(0x2b8))[a2_0x25d654(0x286)]('[action]','Action:\x20logs,\x20tasks,\x20kill,\x20retry')['argument'](a2_0x25d654(0x218),'Task\x20name\x20for\x20logs\x20action')[a2_0x25d654(0x1f3)](a2_0x25d654(0x36b),a2_0x25d654(0x2c1))['option'](a2_0x25d654(0x1a0),a2_0x25d654(0x2bd))['option'](a2_0x25d654(0x346),'Resume\x20from\x20specific\x20task\x20(retry)')['option'](a2_0x25d654(0x2b4),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x2b3),a2_0x25d654(0x398))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1a3),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x25d654(0x263)](async(_0xe0269c,_0x1fd2c3,_0x324abc,_0x10340b)=>{const _0x44f346=a2_0x25d654;if(_0xe0269c==='list'){await wfAttemptListAction(_0x1fd2c3,_0x10340b);return;}if(!_0xe0269c){attemptCmd[_0x44f346(0x3bd)]();return;}const _0x4cb19f=program[_0x44f346(0x3d5)](),_0x13013f=await createTDXInstance(_0x4cb19f);let _0x457c6e=0x0;if(!_0x1fd2c3){const _0x529e45=new WorkflowAttemptCommand();_0x457c6e=await _0x529e45[_0x44f346(0x260)]({'options':{..._0x4cb19f,..._0x10340b},'args':[_0xe0269c],'tdx':_0x13013f});}else{if(_0x1fd2c3===_0x44f346(0x332)){const _0x303e72=new WorkflowLogsCommand();_0x457c6e=await _0x303e72[_0x44f346(0x260)]({'options':{..._0x4cb19f,..._0x10340b},'args':_0x324abc?[_0xe0269c,_0x324abc]:[_0xe0269c],'tdx':_0x13013f});}else{if(_0x1fd2c3===_0x44f346(0x32b)){const _0x33fe78=new WorkflowTasksCommand();_0x457c6e=await _0x33fe78[_0x44f346(0x260)]({'options':{..._0x4cb19f,..._0x10340b},'args':[_0xe0269c],'tdx':_0x13013f});}else{if(_0x1fd2c3==='kill'){const _0x408e1d=new WorkflowKillCommand();_0x457c6e=await _0x408e1d[_0x44f346(0x260)]({'options':{..._0x4cb19f,..._0x10340b},'args':[_0xe0269c],'tdx':_0x13013f});}else{if(_0x1fd2c3===_0x44f346(0x36f)){const _0x5e2e70=new WorkflowRetryCommand();_0x457c6e=await _0x5e2e70[_0x44f346(0x260)]({'options':{..._0x4cb19f,..._0x10340b},'args':['attempt:'+_0xe0269c],'tdx':_0x13013f});}else console[_0x44f346(0x2e9)]('Unknown\x20action:\x20'+_0x1fd2c3),console[_0x44f346(0x2e9)](_0x44f346(0x330)),_0x457c6e=0x1;}}}}process[_0x44f346(0x36c)](_0x457c6e);});attemptCmd[a2_0x25d654(0x25b)]('list\x20[project]')['description'](a2_0x25d654(0x26e))['option'](a2_0x25d654(0x1a3),a2_0x25d654(0x3ad))[a2_0x25d654(0x263)](wfAttemptListAction),workflowCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x379))[a2_0x25d654(0x258)](a2_0x25d654(0x31f))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1a3),a2_0x25d654(0x3ad))[a2_0x25d654(0x263)](wfAttemptListAction),workflowCmd['command'](a2_0x25d654(0x35a))[a2_0x25d654(0x258)]('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x1f9),a2_0x25d654(0x39d))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2b4),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x25d654(0x263)](async(_0x47bf97,_0x422e9d)=>{const _0x2c980a=a2_0x25d654,_0x8e65b4=new WorkflowRetryCommand(),_0x5ebbb7=program[_0x2c980a(0x3d5)](),_0x65b7dd=await createTDXInstance(_0x5ebbb7),_0x27db70=await _0x8e65b4[_0x2c980a(0x260)]({'options':{..._0x5ebbb7,..._0x422e9d},'args':[_0x47bf97],'tdx':_0x65b7dd});process[_0x2c980a(0x36c)](_0x27db70);}),workflowCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x360))['description'](a2_0x25d654(0x2fd))['option'](a2_0x25d654(0x377),'Workflow\x20parameter\x20(repeatable)',(_0x18e594,_0xedb622=[])=>[..._0xedb622,_0x18e594],[])[a2_0x25d654(0x1f3)]('--session-time\x20<time>',a2_0x25d654(0x3c1))[a2_0x25d654(0x263)](async(_0x267dd3,_0x2ee098)=>{const _0x13471e=a2_0x25d654,_0x15ffc5=new WorkflowRunCommand(),_0x2c44e0=program[_0x13471e(0x3d5)](),_0x492b1e=await createTDXInstance(_0x2c44e0),_0x1209d6=await _0x15ffc5[_0x13471e(0x260)]({'options':{..._0x2c44e0,..._0x2ee098},'args':[_0x267dd3],'tdx':_0x492b1e});process[_0x13471e(0x36c)](_0x1209d6);}),workflowCmd[a2_0x25d654(0x25b)]('download\x20<project-name>\x20[output-dir]')[a2_0x25d654(0x258)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x25d654(0x1f3)](a2_0x25d654(0x3c7),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')['action'](async(_0x144d70,_0x1a18b6,_0x5f2ba7)=>{const _0x438044=a2_0x25d654,_0x3d2894=new WorkflowDownloadCommand(),_0x161496=program[_0x438044(0x3d5)](),_0x51bb50=await createTDXInstance(_0x161496),_0x21a21b=await _0x3d2894[_0x438044(0x260)]({'options':{..._0x161496,..._0x5f2ba7},'args':[_0x144d70,_0x1a18b6||'.'],'tdx':_0x51bb50});process['exit'](_0x21a21b);}),workflowCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x381))['description'](a2_0x25d654(0x3a1))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1f1),a2_0x25d654(0x1a5))[a2_0x25d654(0x1f3)](a2_0x25d654(0x3c7),a2_0x25d654(0x385))[a2_0x25d654(0x1f3)]('--skip-validation',a2_0x25d654(0x39b))[a2_0x25d654(0x263)](async(_0xeba984,_0x5e191c)=>{const _0x2cff8f=a2_0x25d654,_0x44d754=new WorkflowPushCommand(),_0x5279e6=program[_0x2cff8f(0x3d5)](),_0x5ae3a4=await createTDXInstance(_0x5279e6),_0xaaed85=await _0x44d754[_0x2cff8f(0x260)]({'options':{..._0x5279e6,..._0x5e191c},'args':_0xeba984?[_0xeba984]:[],'tdx':_0x5ae3a4});process[_0x2cff8f(0x36c)](_0xaaed85);}),workflowCmd[a2_0x25d654(0x25b)]('delete\x20<project-name-or-id>')[a2_0x25d654(0x258)](a2_0x25d654(0x345))['action'](async(_0x464057,_0x38bb10)=>{const _0x57bcf5=a2_0x25d654,_0x46442c=new WorkflowDeleteCommand(),_0x193709=program['opts'](),_0x20bd78=await createTDXInstance(_0x193709),_0x4a2607=await _0x46442c[_0x57bcf5(0x260)]({'options':{..._0x193709,..._0x38bb10},'args':[_0x464057],'tdx':_0x20bd78});process[_0x57bcf5(0x36c)](_0x4a2607);}),workflowCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x3be))[a2_0x25d654(0x258)](a2_0x25d654(0x307))[a2_0x25d654(0x1f3)](a2_0x25d654(0x206),a2_0x25d654(0x328))[a2_0x25d654(0x263)](async(_0x3375ea,_0x245294)=>{const _0x168c40=a2_0x25d654,_0x22e665=new WorkflowUseCommand(),_0x139f76=program[_0x168c40(0x3d5)](),_0x81c9a5=await createTDXInstance(_0x139f76),_0x4be55f=await _0x22e665[_0x168c40(0x260)]({'options':{..._0x139f76,..._0x245294},'args':_0x3375ea?[_0x3375ea]:[],'tdx':_0x81c9a5});process['exit'](_0x4be55f);});const wfSecretsCmd=workflowCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2cc))['description']('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1ae))[a2_0x25d654(0x258)](a2_0x25d654(0x3b2))[a2_0x25d654(0x263)](async(_0x3a910e,_0x879161)=>{const _0x3f0ed4=a2_0x25d654,_0x2c374f=new WorkflowSecretsListCommand(),_0x6f74b8=program[_0x3f0ed4(0x3d5)](),_0x1e091d=await createTDXInstance(_0x6f74b8),_0x39e0c5=await _0x2c374f[_0x3f0ed4(0x260)]({'options':{..._0x6f74b8,..._0x879161},'args':_0x3a910e?[_0x3a910e]:[],'tdx':_0x1e091d});process[_0x3f0ed4(0x36c)](_0x39e0c5);}),wfSecretsCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x38f))['description'](a2_0x25d654(0x1e8))[a2_0x25d654(0x263)](async(_0x814e93,_0x5c5170)=>{const _0x649676=a2_0x25d654,_0x3391a5=new WorkflowSecretsSetCommand(),_0x5046d6=program['opts'](),_0x334091=await createTDXInstance(_0x5046d6),_0x592b7d=await _0x3391a5[_0x649676(0x260)]({'options':{..._0x5046d6,..._0x5c5170},'args':_0x814e93,'tdx':_0x334091});process[_0x649676(0x36c)](_0x592b7d);}),wfSecretsCmd[a2_0x25d654(0x25b)]('delete\x20<args...>')[a2_0x25d654(0x258)](a2_0x25d654(0x243))['option'](a2_0x25d654(0x29d),'Skip\x20confirmation\x20prompt')[a2_0x25d654(0x263)](async(_0x4b321e,_0x1573d8)=>{const _0x188ad0=a2_0x25d654,_0x432206=new WorkflowSecretsDeleteCommand(),_0x34af91=program[_0x188ad0(0x3d5)](),_0x2e91df=await createTDXInstance(_0x34af91),_0x2a8439=await _0x432206[_0x188ad0(0x260)]({'options':{..._0x34af91,..._0x1573d8},'args':_0x4b321e,'tdx':_0x2e91df});process['exit'](_0x2a8439);});const jobCmd=program['command'](a2_0x25d654(0x198))['description'](a2_0x25d654(0x2c0)),jobListAction=async _0x40d08f=>{const _0xffea58=a2_0x25d654,_0x395a63=new JobListCommand(),_0x1497b0=program[_0xffea58(0x3d5)](),_0xe38c62=await createTDXInstance(_0x1497b0),_0x340e1d=await _0x395a63[_0xffea58(0x260)]({'options':{..._0x1497b0,..._0x40d08f},'args':[],'tdx':_0xe38c62});process[_0xffea58(0x36c)](_0x340e1d);};jobCmd['command']('list')['description'](a2_0x25d654(0x3ac))[a2_0x25d654(0x1f3)](a2_0x25d654(0x309),a2_0x25d654(0x366))['action'](jobListAction),program[a2_0x25d654(0x25b)]('jobs',{'hidden':!![]})[a2_0x25d654(0x258)](a2_0x25d654(0x350))[a2_0x25d654(0x1f3)](a2_0x25d654(0x309),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x25d654(0x263)](jobListAction),jobCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2f8))[a2_0x25d654(0x258)]('Show\x20job\x20details')[a2_0x25d654(0x263)](async(_0xfc04f1,_0x1848db)=>{const _0x9e144f=a2_0x25d654,_0x1cc827=new JobShowCommand(),_0x1cbce6=program[_0x9e144f(0x3d5)](),_0x51aeb7=await createTDXInstance(_0x1cbce6),_0x3cf616=await _0x1cc827['run']({'options':{..._0x1cbce6,..._0x1848db},'args':[_0xfc04f1],'tdx':_0x51aeb7});process[_0x9e144f(0x36c)](_0x3cf616);}),jobCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x324))['description'](a2_0x25d654(0x3d2))[a2_0x25d654(0x263)](async(_0x54552b,_0x2a604e)=>{const _0x22ca59=a2_0x25d654,_0x487008=new JobKillCommand(),_0x221850=program[_0x22ca59(0x3d5)](),_0x3d3389=await createTDXInstance(_0x221850),_0x196e77=await _0x487008[_0x22ca59(0x260)]({'options':{..._0x221850,..._0x2a604e},'args':[_0x54552b],'tdx':_0x3d3389});process[_0x22ca59(0x36c)](_0x196e77);}),jobCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2ce))[a2_0x25d654(0x258)]('Submit\x20a\x20job')[a2_0x25d654(0x1f3)](a2_0x25d654(0x390),a2_0x25d654(0x34a),a2_0x25d654(0x25e))[a2_0x25d654(0x1f3)](a2_0x25d654(0x212),a2_0x25d654(0x2f9))['option'](a2_0x25d654(0x1dc),'Database\x20name\x20(default:\x20information_schema)',a2_0x25d654(0x24c))['action'](async(_0x58dc79,_0x47d9a8)=>{const _0x2ecf36=a2_0x25d654,_0x1bb57e=new JobSubmitCommand(),_0x45e224=program[_0x2ecf36(0x3d5)](),_0x502233=await createTDXInstance(_0x45e224),_0x449b6c=await _0x1bb57e[_0x2ecf36(0x260)]({'options':{..._0x45e224,..._0x47d9a8},'args':_0x58dc79?[_0x58dc79]:[],'tdx':_0x502233});process['exit'](_0x449b6c);}),jobCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1b7))[a2_0x25d654(0x258)](a2_0x25d654(0x191))[a2_0x25d654(0x263)](async(_0xc44d18,_0x17a38b)=>{const _0x29b2c1=a2_0x25d654,_0x1e2169=new JobResultCommand(),_0x309059=program['opts'](),_0x5ebf9a=await createTDXInstance(_0x309059),_0x11d9b8=await _0x1e2169[_0x29b2c1(0x260)]({'options':{..._0x309059,..._0x17a38b},'args':[_0xc44d18],'tdx':_0x5ebf9a});process[_0x29b2c1(0x36c)](_0x11d9b8);});const llmCmd=program[a2_0x25d654(0x25b)]('llm')[a2_0x25d654(0x258)](a2_0x25d654(0x1b8));llmCmd['command']('use\x20<project-name>')[a2_0x25d654(0x258)](a2_0x25d654(0x1ca))[a2_0x25d654(0x263)](async(_0x26432a,_0x2415c6)=>{const _0x5f4461=a2_0x25d654,_0x3f54a7=new LLMUseCommand(),_0x15f299=program['opts'](),_0x5ddac9=await createTDXInstance(_0x15f299),_0x7819ae=await _0x3f54a7[_0x5f4461(0x260)]({'options':{..._0x15f299,..._0x2415c6},'args':[_0x26432a],'tdx':_0x5ddac9});process['exit'](_0x7819ae);}),llmCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x228))[a2_0x25d654(0x258)](a2_0x25d654(0x1d8))[a2_0x25d654(0x263)](async _0x3a9c71=>{const _0x21eae2=a2_0x25d654,_0x4cd743=new LLMModelsCommand(),_0x408c32=program[_0x21eae2(0x3d5)](),_0xaaacec=await createTDXInstance(_0x408c32),_0x340293=await _0x4cd743['run']({'options':{..._0x408c32,..._0x3a9c71},'args':[],'tdx':_0xaaacec});process[_0x21eae2(0x36c)](_0x340293);});const projectCmd=llmCmd['command'](a2_0x25d654(0x249))[a2_0x25d654(0x258)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x423f99,_0x3ac0e2)=>{const _0x505615=a2_0x25d654,_0x2095b8=new LLMProjectsCommand(),_0x1ee34d=program[_0x505615(0x3d5)](),_0x4ddafb=await createTDXInstance(_0x1ee34d),_0x88057b=await _0x2095b8[_0x505615(0x260)]({'options':{..._0x1ee34d,..._0x3ac0e2},'args':_0x423f99?[_0x423f99]:[],'tdx':_0x4ddafb});process[_0x505615(0x36c)](_0x88057b);};projectCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x24f))['description']('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x25d654(0x237),a2_0x25d654(0x326))['action'](llmProjectListAction),llmCmd['command']('projects\x20[pattern]')[a2_0x25d654(0x258)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x237),a2_0x25d654(0x326))[a2_0x25d654(0x263)](llmProjectListAction),projectCmd['command'](a2_0x25d654(0x314))['description'](a2_0x25d654(0x2ea))[a2_0x25d654(0x1f3)]('--description\x20<text>','Project\x20description')[a2_0x25d654(0x263)](async(_0x31218a,_0x59fd13)=>{const _0x7883f9=a2_0x25d654,_0x472c03=new LLMProjectCreateCommand(),_0x38e24a=program[_0x7883f9(0x3d5)](),_0x2dc0e3=await createTDXInstance(_0x38e24a),_0x27ff8c=await _0x472c03[_0x7883f9(0x260)]({'options':{..._0x38e24a,..._0x59fd13},'args':[_0x31218a],'tdx':_0x2dc0e3});process[_0x7883f9(0x36c)](_0x27ff8c);}),projectCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x21b))['description'](a2_0x25d654(0x2df))[a2_0x25d654(0x263)](async(_0x50e684,_0x257f02)=>{const _0xf17186=a2_0x25d654,_0xaa6ad6=new LLMProjectDeleteCommand(),_0x215a29=program['opts'](),_0x434b4e=await createTDXInstance(_0x215a29),_0x2abaa2=await _0xaa6ad6[_0xf17186(0x260)]({'options':{..._0x215a29,..._0x257f02},'args':[_0x50e684],'tdx':_0x434b4e});process[_0xf17186(0x36c)](_0x2abaa2);}),projectCmd['command'](a2_0x25d654(0x1a7))['description'](a2_0x25d654(0x238))[a2_0x25d654(0x1f3)]('-o,\x20--output\x20<folder>','Output\x20folder\x20(default:\x20{project_name}.llm)')['option'](a2_0x25d654(0x39f),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x25d654(0x263)](async(_0x173a9d,_0x32f8c1)=>{const _0x578fcc=a2_0x25d654,_0x5bce3e=new LLMProjectBackupCommand(),_0x3b65c3=program[_0x578fcc(0x3d5)](),_0x3274b0=await createTDXInstance(_0x3b65c3),_0x213470=await _0x5bce3e['run']({'options':{..._0x3b65c3,..._0x32f8c1},'args':[_0x173a9d],'tdx':_0x3274b0});process['exit'](_0x213470);}),projectCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2ae))['description']('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')['option']('--name\x20<new-name>',a2_0x25d654(0x2e7))[a2_0x25d654(0x1f3)](a2_0x25d654(0x39f),a2_0x25d654(0x193))[a2_0x25d654(0x263)](async(_0x1927e5,_0x544b8c)=>{const _0x2cec83=a2_0x25d654,_0x304579=new LLMProjectRestoreCommand(),_0x44bcbe=program[_0x2cec83(0x3d5)](),_0x11323e=await createTDXInstance(_0x44bcbe),_0xbdfa44=await _0x304579[_0x2cec83(0x260)]({'options':{..._0x44bcbe,..._0x544b8c},'args':[_0x1927e5],'tdx':_0x11323e});process['exit'](_0xbdfa44);});const llmAgentListAction=async(_0x4c5574,_0x4f9124)=>{const _0x45b783=a2_0x25d654,_0x4f5fb2=new LLMAgentsCommand(),_0x2489f7=program['opts'](),_0x9e4627=await createTDXInstance(_0x2489f7),_0x2e7151=await _0x4f5fb2[_0x45b783(0x260)]({'options':{..._0x2489f7,..._0x4f9124},'args':_0x4c5574?[_0x4c5574]:[],'tdx':_0x9e4627});process[_0x45b783(0x36c)](_0x2e7151);};llmCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2e2))['description']('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x237),a2_0x25d654(0x19b))[a2_0x25d654(0x263)](llmAgentListAction),program['command']('agents\x20[pattern]')[a2_0x25d654(0x258)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x25d654(0x1f3)]('-w,\x20--web',a2_0x25d654(0x19b))['action'](llmAgentListAction),llmCmd[a2_0x25d654(0x25b)]('history\x20[chat-id]')[a2_0x25d654(0x258)](a2_0x25d654(0x217))['option']('--last',a2_0x25d654(0x3b4))['action'](async(_0x134bb0,_0x2ef6fb)=>{const _0x60c651=a2_0x25d654,_0x48bfb3=new LLMHistoryCommand(),_0x29d633=program[_0x60c651(0x3d5)](),_0x4bbe18=await createTDXInstance(_0x29d633),_0x1c6a49=await _0x48bfb3['run']({'options':{..._0x29d633,..._0x2ef6fb},'args':_0x134bb0?[_0x134bb0]:[],'tdx':_0x4bbe18});process[_0x60c651(0x36c)](_0x1c6a49);}),llmCmd[a2_0x25d654(0x25b)]('proxy')[a2_0x25d654(0x258)]('[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x1b2),a2_0x25d654(0x273),a2_0x25d654(0x2fc))[a2_0x25d654(0x1f3)]('--project\x20<name>',a2_0x25d654(0x3ba))[a2_0x25d654(0x1f3)](a2_0x25d654(0x205),a2_0x25d654(0x2b7))[a2_0x25d654(0x263)](async _0x5413a0=>{const _0x1dfcb4=a2_0x25d654,_0x40d0b8=new LLMProxyCommand(),_0x8642f=program['opts'](),_0x407dcb=await createTDXInstance(_0x8642f),_0x58a52f={..._0x5413a0,'port':_0x5413a0[_0x1dfcb4(0x270)]?parseInt(_0x5413a0[_0x1dfcb4(0x270)],0xa):undefined},_0x35884b=await _0x40d0b8[_0x1dfcb4(0x260)]({'options':{..._0x8642f,..._0x58a52f},'args':[],'tdx':_0x407dcb});process[_0x1dfcb4(0x36c)](_0x35884b);}),program[a2_0x25d654(0x25b)](a2_0x25d654(0x31a))[a2_0x25d654(0x323)](a2_0x25d654(0x382))[a2_0x25d654(0x258)](a2_0x25d654(0x1df))[a2_0x25d654(0x1f3)](a2_0x25d654(0x3c6),a2_0x25d654(0x3c2),'sonnet')[a2_0x25d654(0x1f3)](a2_0x25d654(0x28e),a2_0x25d654(0x2d4))[a2_0x25d654(0x1f3)](a2_0x25d654(0x19f),a2_0x25d654(0x281))[a2_0x25d654(0x1f3)](a2_0x25d654(0x3a5),a2_0x25d654(0x23f))[a2_0x25d654(0x199)]()[a2_0x25d654(0x1c4)](!![])[a2_0x25d654(0x393)](a2_0x25d654(0x25d),a2_0x25d654(0x1f7))['action'](async(_0x54b964,_0x50ac59)=>{const _0x2cd272=a2_0x25d654,_0x534027=program[_0x2cd272(0x3d5)](),_0x4f0228=Array[_0x2cd272(0x3b5)](_0x54b964)?_0x54b964:[];if(_0x4f0228[0x0]===_0x2cd272(0x353)){const _0x456008=new ClaudeStatuslineCommand(),_0x208b0c=await _0x456008[_0x2cd272(0x260)]({'options':{..._0x534027,..._0x50ac59},'args':_0x4f0228[_0x2cd272(0x1c1)](0x1),'tdx':null});process[_0x2cd272(0x36c)](_0x208b0c);}if(_0x4f0228[0x0]===_0x2cd272(0x323)){const _0x2d3556=new ClaudeUsageCommand(),_0x21e14c=await _0x2d3556[_0x2cd272(0x260)]({'options':{..._0x534027,..._0x50ac59},'args':_0x4f0228[_0x2cd272(0x1c1)](0x1),'tdx':null});process[_0x2cd272(0x36c)](_0x21e14c);}const _0x3a9148=new ClaudeCommand(),_0x50435b=await createTDXInstance(_0x534027),_0x440d87=await _0x3a9148['run']({'options':{..._0x534027,..._0x50ac59},'args':_0x4f0228,'tdx':_0x50435b});process[_0x2cd272(0x36c)](_0x440d87);}),program[a2_0x25d654(0x25b)](a2_0x25d654(0x37c))[a2_0x25d654(0x258)](a2_0x25d654(0x276))['option'](a2_0x25d654(0x206),a2_0x25d654(0x1a2))[a2_0x25d654(0x263)](async _0x29439a=>{const _0x2c1397=a2_0x25d654,_0x340abd=new ContextCommand(),_0x1087ca=program[_0x2c1397(0x3d5)](),_0x2d6ac4=await _0x340abd[_0x2c1397(0x260)]({'options':{..._0x1087ca,..._0x29439a},'args':[],'tdx':null});process[_0x2c1397(0x36c)](_0x2d6ac4);}),program[a2_0x25d654(0x25b)]('use\x20[resource]\x20[value]')[a2_0x25d654(0x258)](a2_0x25d654(0x39e))[a2_0x25d654(0x1f3)](a2_0x25d654(0x206),a2_0x25d654(0x1a2))[a2_0x25d654(0x263)](async(_0x5e475f,_0xb561f6,_0x129f40)=>{const _0x10379c=a2_0x25d654,_0x1cdcdd=new UseCommand(),_0x400bf6=program['opts'](),_0x441b38=[];if(_0x5e475f)_0x441b38[_0x10379c(0x1a9)](_0x5e475f);if(_0xb561f6)_0x441b38[_0x10379c(0x1a9)](_0xb561f6);const _0x48a22c=await _0x1cdcdd[_0x10379c(0x260)]({'options':{..._0x400bf6,..._0x129f40},'args':_0x441b38,'tdx':null});process[_0x10379c(0x36c)](_0x48a22c);}),program['command'](a2_0x25d654(0x372))[a2_0x25d654(0x258)](a2_0x25d654(0x291))[a2_0x25d654(0x1f3)](a2_0x25d654(0x37a),'Show\x20the\x20most\x20recent\x20chat')[a2_0x25d654(0x263)](async _0x93958d=>{const _0x1f907b=a2_0x25d654,_0x1ba9f3=new ChatsCommand(),_0x1b04e8=program['opts'](),_0x328b70=await createTDXInstance(_0x1b04e8),_0x29a9d9=await _0x1ba9f3[_0x1f907b(0x260)]({'options':{..._0x1b04e8,..._0x93958d},'args':[],'tdx':_0x328b70});process[_0x1f907b(0x36c)](_0x29a9d9);});const authCmd=program[a2_0x25d654(0x25b)]('auth')['description']('Authentication\x20management');async function runAuthStatusCommand(_0x22ad5c){const _0x3f4ac9=a2_0x25d654,_0x37e5a0=new AuthStatusCommand(),_0x42d59c=program[_0x3f4ac9(0x3d5)](),_0x11f302=await createTDXInstance(_0x42d59c),_0x5b3f0d=await _0x37e5a0[_0x3f4ac9(0x260)]({'options':{..._0x42d59c,..._0x22ad5c},'args':[],'tdx':_0x11f302});process[_0x3f4ac9(0x36c)](_0x5b3f0d);}authCmd[a2_0x25d654(0x263)](runAuthStatusCommand),authCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1e0))[a2_0x25d654(0x258)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x25d654(0x263)](runAuthStatusCommand),authCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x329))['description'](a2_0x25d654(0x347))['addHelpText'](a2_0x25d654(0x25d),a2_0x25d654(0x340))['action'](async _0x17e79a=>{const _0x46aa53=a2_0x25d654,_0x4f6aca=new AuthSetupCommand(),_0x1fd978=program[_0x46aa53(0x3d5)](),_0x4a3303=await createTDXInstance(_0x1fd978),_0x3b161d=await _0x4f6aca['run']({'options':{..._0x1fd978,..._0x17e79a},'args':[],'tdx':_0x4a3303});process[_0x46aa53(0x36c)](_0x3b161d);}),authCmd['command']('clear')[a2_0x25d654(0x258)](a2_0x25d654(0x2d0))[a2_0x25d654(0x393)](a2_0x25d654(0x25d),'\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_0x25d654(0x263)](async _0x3a669c=>{const _0x580418=a2_0x25d654,_0x52a80e=new AuthClearCommand(),_0x386ea5=program[_0x580418(0x3d5)](),_0x534d47=await _0x52a80e[_0x580418(0x260)]({'options':{..._0x386ea5,..._0x3a669c},'args':[],'tdx':null});process[_0x580418(0x36c)](_0x534d47);});const userCmd=program[a2_0x25d654(0x25b)](a2_0x25d654(0x3ab))[a2_0x25d654(0x258)](a2_0x25d654(0x38c)),userListAction=async _0x406b91=>{const _0x262748=a2_0x25d654,_0x30bb60=new UserListCommand(),_0x281dcc=program[_0x262748(0x3d5)](),_0x472e00=await createTDXInstance(_0x281dcc),_0x2453ff=await _0x30bb60[_0x262748(0x260)]({'options':{..._0x281dcc,..._0x406b91},'args':[],'tdx':_0x472e00});process['exit'](_0x2453ff);};userCmd[a2_0x25d654(0x263)](async _0x137536=>{const _0x444ad8=a2_0x25d654,_0xca9b0a=new UserCommand(),_0x1785a9=program[_0x444ad8(0x3d5)](),_0x199a2f=await createTDXInstance(_0x1785a9),_0x29c012=await _0xca9b0a['run']({'options':{..._0x1785a9,..._0x137536},'args':[],'tdx':_0x199a2f});process['exit'](_0x29c012);}),userCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x352))[a2_0x25d654(0x258)]('List\x20all\x20users\x20in\x20the\x20account')[a2_0x25d654(0x263)](userListAction),program[a2_0x25d654(0x25b)](a2_0x25d654(0x320))[a2_0x25d654(0x258)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x25d654(0x263)](userListAction),program['command'](a2_0x25d654(0x19e))[a2_0x25d654(0x258)]('List\x20all\x20available\x20profiles')[a2_0x25d654(0x263)](async _0x470f7=>{const _0x5dd9db=a2_0x25d654,_0x5dba5b=new ProfilesCommand(),_0x588e11=program[_0x5dd9db(0x3d5)](),_0x3ac3f7=await _0x5dba5b[_0x5dd9db(0x260)]({'options':{..._0x588e11,..._0x470f7},'args':[],'tdx':null});process[_0x5dd9db(0x36c)](_0x3ac3f7);});const engageCmd=program[a2_0x25d654(0x25b)](a2_0x25d654(0x29b))[a2_0x25d654(0x258)](a2_0x25d654(0x36e)),createEngageAction=_0x4adc7a=>{return async(_0x32f6bf,_0x31e855)=>{const _0x387d27=a2_0x941b,_0x57cf9e=new _0x4adc7a(),_0x1711a3=program['opts'](),_0x1771f2=await createTDXInstance(_0x1711a3),_0x1a19f0=await _0x57cf9e[_0x387d27(0x260)]({'options':{..._0x1711a3,..._0x31e855},'args':[_0x32f6bf],'tdx':_0x1771f2});process[_0x387d27(0x36c)](_0x1a19f0);};},createEngageNoArgAction=_0x14131b=>{return async _0x4d399e=>{const _0x5e0d00=a2_0x941b,_0x355152=new _0x14131b(),_0x202a77=program[_0x5e0d00(0x3d5)](),_0x2b06e5=await createTDXInstance(_0x202a77),_0x490350=await _0x355152[_0x5e0d00(0x260)]({'options':{..._0x202a77,..._0x4d399e},'args':[],'tdx':_0x2b06e5});process[_0x5e0d00(0x36c)](_0x490350);};},campaignCmd=engageCmd['command'](a2_0x25d654(0x2fe))[a2_0x25d654(0x258)](a2_0x25d654(0x26f)),campaignListAction=async(_0x6dff58,_0x2f8fa7)=>{const _0x367d74=a2_0x25d654,_0x34a06e=new EngageCampaignsCommand(),_0x27ed3e=program[_0x367d74(0x3d5)](),_0x1fece2=await createTDXInstance(_0x27ed3e),_0x4aee4f=await _0x34a06e[_0x367d74(0x260)]({'options':{..._0x27ed3e,..._0x2f8fa7},'args':_0x6dff58?[_0x6dff58]:[],'tdx':_0x1fece2});process[_0x367d74(0x36c)](_0x4aee4f);};campaignCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x24f))[a2_0x25d654(0x258)](a2_0x25d654(0x29c))['option']('--type\x20<type>',a2_0x25d654(0x3b0))[a2_0x25d654(0x1f3)]('--status\x20<status>',a2_0x25d654(0x2e5))[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),a2_0x25d654(0x26c))[a2_0x25d654(0x263)](campaignListAction),engageCmd['command'](a2_0x25d654(0x280))[a2_0x25d654(0x258)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x368),a2_0x25d654(0x3b0))[a2_0x25d654(0x1f3)](a2_0x25d654(0x309),a2_0x25d654(0x2e5))[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),a2_0x25d654(0x26c))[a2_0x25d654(0x263)](campaignListAction),campaignCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1cc))[a2_0x25d654(0x258)](a2_0x25d654(0x2a5))[a2_0x25d654(0x1f3)]('--workspace\x20<name>',a2_0x25d654(0x26c))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2c9),a2_0x25d654(0x190))[a2_0x25d654(0x263)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x343))['description'](a2_0x25d654(0x36d))['requiredOption'](a2_0x25d654(0x1f1),a2_0x25d654(0x362))['requiredOption'](a2_0x25d654(0x368),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),a2_0x25d654(0x2c6))['option'](a2_0x25d654(0x3b6),a2_0x25d654(0x1fe))['option'](a2_0x25d654(0x221),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x34f),a2_0x25d654(0x374))[a2_0x25d654(0x1f3)]('--json-columns\x20<cols>',a2_0x25d654(0x38a))[a2_0x25d654(0x1f3)]('--start-at\x20<datetime>',a2_0x25d654(0x2ad))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1d6),a2_0x25d654(0x2f4))[a2_0x25d654(0x263)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command'](a2_0x25d654(0x1c9))[a2_0x25d654(0x258)]('Update\x20a\x20campaign')[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),a2_0x25d654(0x26c))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1f1),a2_0x25d654(0x241))[a2_0x25d654(0x1f3)](a2_0x25d654(0x3b6),a2_0x25d654(0x1fe))[a2_0x25d654(0x1f3)]('--segment\x20<path>',a2_0x25d654(0x1c7))[a2_0x25d654(0x1f3)](a2_0x25d654(0x34f),a2_0x25d654(0x374))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2e8),a2_0x25d654(0x38a))[a2_0x25d654(0x1f3)]('--start-at\x20<datetime>',a2_0x25d654(0x2ad))[a2_0x25d654(0x1f3)]('--timezone\x20<tz>',a2_0x25d654(0x2f4))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x25d654(0x25b)]('delete\x20<name-or-id>')[a2_0x25d654(0x258)](a2_0x25d654(0x399))[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),'Workspace\x20name')['option'](a2_0x25d654(0x37f),a2_0x25d654(0x19c))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x25d654(0x25b)]('launch\x20<name-or-id>')['description'](a2_0x25d654(0x2af))[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),'Workspace\x20name')[a2_0x25d654(0x263)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x25d654(0x378))['description'](a2_0x25d654(0x21d))['option'](a2_0x25d654(0x23c),a2_0x25d654(0x26c))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x25d654(0x25b)]('resume\x20<name-or-id>')[a2_0x25d654(0x258)](a2_0x25d654(0x2a6))[a2_0x25d654(0x1f3)]('--workspace\x20<name>',a2_0x25d654(0x26c))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x25d654(0x1af))[a2_0x25d654(0x258)](a2_0x25d654(0x22a))[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),a2_0x25d654(0x26c))[a2_0x25d654(0x263)](createEngageAction(EngageCampaignDuplicateCommand));function a2_0x941b(_0x5ebe52,_0x3870d9){_0x5ebe52=_0x5ebe52-0x190;const _0x22a541=a2_0x22a5();let _0x941b8=_0x22a541[_0x5ebe52];return _0x941b8;}const templateCmd=engageCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2f2))['description'](a2_0x25d654(0x354)),templateListAction=async(_0x1bb270,_0x1db79e)=>{const _0x64d396=a2_0x25d654,_0x2c44e8=new EngageTemplatesCommand(),_0x27039a=program['opts'](),_0x3c691a=await createTDXInstance(_0x27039a),_0x403b86=await _0x2c44e8['run']({'options':{..._0x27039a,..._0x1db79e},'args':_0x1bb270?[_0x1bb270]:[],'tdx':_0x3c691a});process[_0x64d396(0x36c)](_0x403b86);};templateCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x24f))['description'](a2_0x25d654(0x22d))[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),a2_0x25d654(0x26c))[a2_0x25d654(0x263)](templateListAction),engageCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x31e))[a2_0x25d654(0x258)](a2_0x25d654(0x1d5))[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),a2_0x25d654(0x26c))[a2_0x25d654(0x263)](templateListAction),templateCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1cc))[a2_0x25d654(0x258)]('Show\x20email\x20template\x20details')['option']('--workspace\x20<name>',a2_0x25d654(0x26c))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2c9),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x25d654(0x263)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x343))['description'](a2_0x25d654(0x1f4))[a2_0x25d654(0x365)](a2_0x25d654(0x1f1),a2_0x25d654(0x1e2))[a2_0x25d654(0x365)]('--subject\x20<subject>','Email\x20subject\x20template')[a2_0x25d654(0x365)](a2_0x25d654(0x2eb),a2_0x25d654(0x333))['option'](a2_0x25d654(0x23c),'Workspace\x20name\x20(required)')[a2_0x25d654(0x1f3)](a2_0x25d654(0x312),a2_0x25d654(0x35f))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2da),a2_0x25d654(0x2d5))[a2_0x25d654(0x263)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1c9))[a2_0x25d654(0x258)](a2_0x25d654(0x1da))[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),'Workspace\x20name')[a2_0x25d654(0x1f3)](a2_0x25d654(0x1f1),'New\x20template\x20name')[a2_0x25d654(0x1f3)]('--subject\x20<subject>',a2_0x25d654(0x3bc))[a2_0x25d654(0x1f3)](a2_0x25d654(0x2eb),'HTML\x20template\x20content')[a2_0x25d654(0x1f3)]('--plaintext\x20<text>',a2_0x25d654(0x35f))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1cd))['description'](a2_0x25d654(0x325))[a2_0x25d654(0x1f3)](a2_0x25d654(0x23c),'Workspace\x20name')[a2_0x25d654(0x1f3)](a2_0x25d654(0x37f),a2_0x25d654(0x19c))[a2_0x25d654(0x263)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x371))[a2_0x25d654(0x258)]('Workspace\x20management'),workspaceListAction=async(_0x31f1f7,_0x161ab7)=>{const _0x186d63=a2_0x25d654,_0x59cf90=new EngageWorkspacesCommand(),_0x32f1ec=program[_0x186d63(0x3d5)](),_0x1ab581=await createTDXInstance(_0x32f1ec),_0x36953e=await _0x59cf90['run']({'options':{..._0x32f1ec,..._0x161ab7},'args':_0x31f1f7?[_0x31f1f7]:[],'tdx':_0x1ab581});process[_0x186d63(0x36c)](_0x36953e);};workspaceCmd['command'](a2_0x25d654(0x24f))['description'](a2_0x25d654(0x3ca))[a2_0x25d654(0x263)](workspaceListAction),engageCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x34c))[a2_0x25d654(0x258)](a2_0x25d654(0x248))[a2_0x25d654(0x263)](workspaceListAction),workspaceCmd['command'](a2_0x25d654(0x1cc))[a2_0x25d654(0x258)]('Show\x20workspace\x20details')[a2_0x25d654(0x1f3)](a2_0x25d654(0x2c9),a2_0x25d654(0x190))[a2_0x25d654(0x263)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x25d654(0x343))[a2_0x25d654(0x258)](a2_0x25d654(0x34e))[a2_0x25d654(0x365)](a2_0x25d654(0x1f1),'Workspace\x20name')[a2_0x25d654(0x1f3)]('--description\x20<desc>',a2_0x25d654(0x303))[a2_0x25d654(0x263)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1c9))[a2_0x25d654(0x258)]('Update\x20a\x20workspace')['option'](a2_0x25d654(0x1f1),a2_0x25d654(0x375))[a2_0x25d654(0x1f3)](a2_0x25d654(0x3b6),a2_0x25d654(0x303))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x25d654(0x25b)]('delete\x20<name-or-id>')['description'](a2_0x25d654(0x1ba))[a2_0x25d654(0x1f3)](a2_0x25d654(0x37f),a2_0x25d654(0x19c))[a2_0x25d654(0x263)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x31d))[a2_0x25d654(0x258)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')['action'](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x25d654(0x25b)](a2_0x25d654(0x1bd))[a2_0x25d654(0x258)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0xe095d=>{const _0x1bef73=a2_0x25d654,_0x3cd0a7=new ConnectionListCommand(),_0x1bbb1c=program[_0x1bef73(0x3d5)](),_0x37434d=await createTDXInstance(_0x1bbb1c),_0x37060d=await _0x3cd0a7[_0x1bef73(0x260)]({'options':{..._0x1bbb1c,..._0xe095d},'args':[],'tdx':_0x37434d});process[_0x1bef73(0x36c)](_0x37060d);};connectionCmd['command'](a2_0x25d654(0x352))[a2_0x25d654(0x258)](a2_0x25d654(0x25f))[a2_0x25d654(0x263)](connectionListAction),program[a2_0x25d654(0x25b)](a2_0x25d654(0x2d3),{'hidden':!![]})[a2_0x25d654(0x258)](a2_0x25d654(0x26d))[a2_0x25d654(0x263)](connectionListAction),connectionCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1bb))[a2_0x25d654(0x258)](a2_0x25d654(0x290))[a2_0x25d654(0x263)](async(_0x5e8bfe,_0x20b1ae)=>{const _0x5b5c6a=a2_0x25d654,_0x556d94=new ConnectionShowCommand(),_0x24c359=program['opts'](),_0x121aec=await createTDXInstance(_0x24c359),_0x19042e=await _0x556d94[_0x5b5c6a(0x260)]({'options':{..._0x24c359,..._0x20b1ae},'args':[_0x5e8bfe],'tdx':_0x121aec});process['exit'](_0x19042e);}),connectionCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x244))[a2_0x25d654(0x258)](a2_0x25d654(0x2de))[a2_0x25d654(0x263)](async(_0x2f9a79,_0x3f4beb)=>{const _0x52ed57=a2_0x25d654,_0x57a456=new ConnectionSchemaCommand(),_0x374596=program[_0x52ed57(0x3d5)](),_0x169fd6=await createTDXInstance(_0x374596),_0x42bf0b=await _0x57a456[_0x52ed57(0x260)]({'options':{..._0x374596,..._0x3f4beb},'args':[_0x2f9a79],'tdx':_0x169fd6});process['exit'](_0x42bf0b);}),connectionCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x285))[a2_0x25d654(0x258)](a2_0x25d654(0x2ba))[a2_0x25d654(0x263)](async _0x53d27f=>{const _0x38bb3a=a2_0x25d654,_0x141fb5=new ConnectionTypesCommand(),_0x375f27=program['opts'](),_0x2c564d=await createTDXInstance(_0x375f27),_0x38e534=await _0x141fb5[_0x38bb3a(0x260)]({'options':{..._0x375f27,..._0x53d27f},'args':[],'tdx':_0x2c564d});process[_0x38bb3a(0x36c)](_0x38e534);}),connectionCmd[a2_0x25d654(0x25b)]('settings\x20<type>')[a2_0x25d654(0x258)](a2_0x25d654(0x293))[a2_0x25d654(0x263)](async(_0x4862d4,_0x225cfa)=>{const _0x41188b=a2_0x25d654,_0x111362=new ConnectionSettingsCommand(),_0x4d83bb=program[_0x41188b(0x3d5)](),_0x300635=await createTDXInstance(_0x4d83bb),_0x2c5ca4=await _0x111362['run']({'options':{..._0x4d83bb,..._0x225cfa},'args':[_0x4862d4],'tdx':_0x300635});process['exit'](_0x2c5ca4);});const journeyCmd=program[a2_0x25d654(0x25b)](a2_0x25d654(0x269))[a2_0x25d654(0x258)](a2_0x25d654(0x19a));journeyCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x24f))[a2_0x25d654(0x258)](a2_0x25d654(0x2ac))[a2_0x25d654(0x1f3)](a2_0x25d654(0x237),a2_0x25d654(0x306))[a2_0x25d654(0x263)](async(_0x3ee224,_0x3694a6)=>{const _0x4e5efd=a2_0x25d654,_0x58d6a1=new JourneyListCommand(),_0x1bc495=program[_0x4e5efd(0x3d5)](),_0x34b1a2=await createTDXInstance(_0x1bc495),_0x449efa=await _0x58d6a1[_0x4e5efd(0x260)]({'options':{..._0x1bc495,..._0x3694a6},'args':_0x3ee224?[_0x3ee224]:[],'tdx':_0x34b1a2});process[_0x4e5efd(0x36c)](_0x449efa);}),journeyCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x294))[a2_0x25d654(0x258)](a2_0x25d654(0x3cb))[a2_0x25d654(0x1f3)](a2_0x25d654(0x237),a2_0x25d654(0x38b))['option'](a2_0x25d654(0x2f1),a2_0x25d654(0x229))[a2_0x25d654(0x263)](async(_0x50b449,_0xc00f6e)=>{const _0x4a1280=a2_0x25d654,_0xe2f9c=new JourneyViewCommand(),_0x34a97b=program[_0x4a1280(0x3d5)](),_0x56da9c=await createTDXInstance(_0x34a97b),_0xbd8d51=await _0xe2f9c[_0x4a1280(0x260)]({'options':{..._0x34a97b,..._0xc00f6e},'args':[_0x50b449],'tdx':_0x56da9c});process[_0x4a1280(0x36c)](_0xbd8d51);}),journeyCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1c6))['description'](a2_0x25d654(0x295))[a2_0x25d654(0x1f3)](a2_0x25d654(0x1ab),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x25d654(0x263)](async(_0x8d20e2,_0x5a823f)=>{const _0x3d8883=a2_0x25d654,_0x3c90cc=new JourneyStatsCommand(),_0x934d76=program[_0x3d8883(0x3d5)](),_0x1b4c2d=await createTDXInstance(_0x934d76),_0x17ba7f=await _0x3c90cc[_0x3d8883(0x260)]({'options':{..._0x934d76,..._0x5a823f},'args':[_0x8d20e2],'tdx':_0x1b4c2d});process['exit'](_0x17ba7f);}),journeyCmd['command'](a2_0x25d654(0x257))['description'](a2_0x25d654(0x2b0))[a2_0x25d654(0x263)](async(_0x5a166c,_0x26078b)=>{const _0x546e44=a2_0x25d654,_0x5ef294=new JourneyPauseCommand(),_0x4421e2=program['opts'](),_0x4128fa=await createTDXInstance(_0x4421e2),_0x3dfc37=await _0x5ef294[_0x546e44(0x260)]({'options':{..._0x4421e2,..._0x26078b},'args':[_0x5a166c],'tdx':_0x4128fa});process[_0x546e44(0x36c)](_0x3dfc37);}),journeyCmd['command'](a2_0x25d654(0x376))['description'](a2_0x25d654(0x27a))[a2_0x25d654(0x263)](async(_0x270236,_0x2dc5b8)=>{const _0x5e9818=a2_0x25d654,_0x1be181=new JourneyResumeCommand(),_0x2d8cf3=program[_0x5e9818(0x3d5)](),_0x137c4d=await createTDXInstance(_0x2d8cf3),_0x5ab9a4=await _0x1be181[_0x5e9818(0x260)]({'options':{..._0x2d8cf3,..._0x2dc5b8},'args':[_0x270236],'tdx':_0x137c4d});process[_0x5e9818(0x36c)](_0x5ab9a4);}),journeyCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x367))[a2_0x25d654(0x258)](a2_0x25d654(0x2e3))[a2_0x25d654(0x1f3)](a2_0x25d654(0x29d),'Skip\x20confirmation\x20prompt')[a2_0x25d654(0x1f3)](a2_0x25d654(0x39f),a2_0x25d654(0x308))[a2_0x25d654(0x263)](async(_0x168044,_0x237df7)=>{const _0x3a98eb=a2_0x25d654,_0x16b785=new JourneyPullCommand(),_0x5202ed=program[_0x3a98eb(0x3d5)](),_0xd6e96e=await createTDXInstance(_0x5202ed),_0x4e50eb=await _0x16b785[_0x3a98eb(0x260)]({'options':{..._0x5202ed,..._0x237df7},'args':_0x168044?[_0x168044]:[],'tdx':_0xd6e96e});process[_0x3a98eb(0x36c)](_0x4e50eb);}),journeyCmd[a2_0x25d654(0x25b)]('push\x20[target]')[a2_0x25d654(0x258)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')['action'](async(_0x882e42,_0x3568d6)=>{const _0x3016e6=a2_0x25d654,_0x3b4119=new JourneyPushCommand(),_0x3a3379=program[_0x3016e6(0x3d5)](),_0x3e9e7f=await createTDXInstance(_0x3a3379),_0x5b7220=await _0x3b4119[_0x3016e6(0x260)]({'options':{..._0x3a3379,..._0x3568d6},'args':_0x882e42?[_0x882e42]:[],'tdx':_0x3e9e7f});process[_0x3016e6(0x36c)](_0x5b7220);}),journeyCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2ab))['description'](a2_0x25d654(0x253))[a2_0x25d654(0x263)](async(_0xe95a14,_0x465ea7)=>{const _0xba1b44=a2_0x25d654,_0x205f4d=new JourneyValidateCommand(),_0x30e6b4=program[_0xba1b44(0x3d5)](),_0x133103=await createTDXInstance(_0x30e6b4),_0x151ec9=await _0x205f4d[_0xba1b44(0x260)]({'options':{..._0x30e6b4,..._0x465ea7},'args':_0xe95a14?[_0xe95a14]:[],'tdx':_0x133103});process[_0xba1b44(0x36c)](_0x151ec9);});const agentSyncCmd=program['command']('agent')['description'](a2_0x25d654(0x364));agentSyncCmd['command'](a2_0x25d654(0x1db))['description'](a2_0x25d654(0x30c))[a2_0x25d654(0x1f3)](a2_0x25d654(0x20d),'Output\x20directory')[a2_0x25d654(0x1f3)](a2_0x25d654(0x222),a2_0x25d654(0x2f3))['action'](async(_0x426292,_0x41d32d,_0x58dbd3)=>{const _0x142ebd=a2_0x25d654,_0x546f3a=new AgentPullCommand(),_0x54da1e=program[_0x142ebd(0x3d5)](),_0x5ac830=await createTDXInstance(_0x54da1e),_0xf9dbfc=[];if(_0x426292)_0xf9dbfc[_0x142ebd(0x1a9)](_0x426292);if(_0x41d32d)_0xf9dbfc['push'](_0x41d32d);const _0x2676cf=await _0x546f3a['run']({'options':{..._0x54da1e,..._0x58dbd3},'args':_0xf9dbfc,'tdx':_0x5ac830});process['exit'](_0x2676cf);}),agentSyncCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x1a6))[a2_0x25d654(0x258)](a2_0x25d654(0x32f))['option'](a2_0x25d654(0x222),a2_0x25d654(0x369))['action'](async(_0x1c7c23,_0x25826d)=>{const _0x256d3f=a2_0x25d654,_0x5cb7a6=new AgentPushCommand(),_0x30cc2a=program[_0x256d3f(0x3d5)](),_0x146003=await createTDXInstance(_0x30cc2a),_0x307766=await _0x5cb7a6[_0x256d3f(0x260)]({'options':{..._0x30cc2a,..._0x25826d},'args':_0x1c7c23?[_0x1c7c23]:[],'tdx':_0x146003});process[_0x256d3f(0x36c)](_0x307766);}),agentSyncCmd[a2_0x25d654(0x25b)]('clone\x20[source]')[a2_0x25d654(0x258)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')['option'](a2_0x25d654(0x2aa),a2_0x25d654(0x296))[a2_0x25d654(0x263)](async(_0x1a4dd0,_0x17b272)=>{const _0x421b04=a2_0x25d654,_0x437ea5=new AgentCloneCommand(),_0x187114=program['opts'](),_0x54122f=await createTDXInstance(_0x187114),_0x468d46=await _0x437ea5[_0x421b04(0x260)]({'options':{..._0x187114,..._0x17b272},'args':_0x1a4dd0?[_0x1a4dd0]:[],'tdx':_0x54122f});process[_0x421b04(0x36c)](_0x468d46);}),agentSyncCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x24f))['description'](a2_0x25d654(0x28c))[a2_0x25d654(0x1f3)]('-w,\x20--web','Show\x20agent\x20chat\x20URLs')[a2_0x25d654(0x263)](llmAgentListAction),agentSyncCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x32a))[a2_0x25d654(0x258)](a2_0x25d654(0x341))[a2_0x25d654(0x263)](async(_0x4b4f54,_0x29ac55)=>{const _0x307f0c=a2_0x25d654,_0x43383d=new LLMAgentShowCommand(),_0xec2592=program[_0x307f0c(0x3d5)](),_0x3d8a90=await createTDXInstance(_0xec2592),_0x2daf9d=await _0x43383d[_0x307f0c(0x260)]({'options':{..._0xec2592,..._0x29ac55},'args':[_0x4b4f54],'tdx':_0x3d8a90});process['exit'](_0x2daf9d);}),agentSyncCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x314))[a2_0x25d654(0x258)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x25d654(0x1f3)](a2_0x25d654(0x2cf),a2_0x25d654(0x30a))['option'](a2_0x25d654(0x3c6),a2_0x25d654(0x1dd),a2_0x25d654(0x33d))[a2_0x25d654(0x1f3)](a2_0x25d654(0x310),a2_0x25d654(0x38d))['option']('--max-tool-iterations\x20<n>',a2_0x25d654(0x25c),'4')[a2_0x25d654(0x1f3)]('--temperature\x20<n>',a2_0x25d654(0x194),'0.7')['action'](async(_0x2f7163,_0x8738c2)=>{const _0x13f406=a2_0x25d654,_0x4868dc=new LLMAgentCreateCommand(),_0x468ee3=program[_0x13f406(0x3d5)](),_0x5121a3=await createTDXInstance(_0x468ee3),_0x475f87=await _0x4868dc[_0x13f406(0x260)]({'options':{..._0x468ee3,..._0x8738c2},'args':[_0x2f7163],'tdx':_0x5121a3});process[_0x13f406(0x36c)](_0x475f87);}),agentSyncCmd[a2_0x25d654(0x25b)](a2_0x25d654(0x2f5))[a2_0x25d654(0x258)]('Update\x20an\x20existing\x20agent')[a2_0x25d654(0x1f3)](a2_0x25d654(0x2ca),a2_0x25d654(0x23b))[a2_0x25d654(0x1f3)](a2_0x25d654(0x207),a2_0x25d654(0x304))[a2_0x25d654(0x1f3)](a2_0x25d654(0x201),'Agent\x20description')['option'](a2_0x25d654(0x310),a2_0x25d654(0x38d))[a2_0x25d654(0x263)](async(_0x28206e,_0xb3ba43)=>{const _0x55a60b=a2_0x25d654,_0x3dd057=new LLMAgentUpdateCommand(),_0x4c659e=program[_0x55a60b(0x3d5)](),_0x1d7d8a=await createTDXInstance(_0x4c659e),_0x1249da=await _0x3dd057[_0x55a60b(0x260)]({'options':{..._0x4c659e,..._0xb3ba43},'args':[_0x28206e],'tdx':_0x1d7d8a});process['exit'](_0x1249da);}),agentSyncCmd['command']('delete\x20<agent-name>')[a2_0x25d654(0x258)](a2_0x25d654(0x380))['action'](async(_0x1107b4,_0x5be1d0)=>{const _0x4ecabb=a2_0x25d654,_0x70d032=new LLMAgentDeleteCommand(),_0xc0f03a=program[_0x4ecabb(0x3d5)](),_0x3b7917=await createTDXInstance(_0xc0f03a),_0x56dec4=await _0x70d032[_0x4ecabb(0x260)]({'options':{..._0xc0f03a,..._0x5be1d0},'args':[_0x1107b4],'tdx':_0x3b7917});process[_0x4ecabb(0x36c)](_0x56dec4);});export{program};export function runCLI(){const _0x3eddbb=a2_0x25d654;program['parse'](process['argv']);!process['argv'][_0x3eddbb(0x1c1)](0x2)[_0x3eddbb(0x363)]&&program[_0x3eddbb(0x278)]();const _0x3f3c43=packageJson['version'];process['stderr'][_0x3eddbb(0x3bf)]&&process[_0x3eddbb(0x1b6)][_0x3eddbb(0x363)]>0x2&&!_0x3f3c43[_0x3eddbb(0x3cd)](_0x3eddbb(0x336))&&checkForUpdate(_0x3f3c43)[_0x3eddbb(0x27e)](_0xdacd11=>{_0xdacd11&&displayUpdateNotification(_0xdacd11);})[_0x3eddbb(0x2e6)](()=>{});}
1
+ const a2_0x3d4a9d=a2_0x2b74;(function(_0xa74590,_0x226fea){const _0x5afd32=a2_0x2b74,_0x258e0a=_0xa74590();while(!![]){try{const _0x2da057=parseInt(_0x5afd32(0x2f2))/0x1+parseInt(_0x5afd32(0x3f8))/0x2+-parseInt(_0x5afd32(0x21d))/0x3*(parseInt(_0x5afd32(0x1fa))/0x4)+-parseInt(_0x5afd32(0x329))/0x5+parseInt(_0x5afd32(0x2b1))/0x6+-parseInt(_0x5afd32(0x33a))/0x7*(-parseInt(_0x5afd32(0x2f8))/0x8)+-parseInt(_0x5afd32(0x341))/0x9;if(_0x2da057===_0x226fea)break;else _0x258e0a['push'](_0x258e0a['shift']());}catch(_0x3eafcb){_0x258e0a['push'](_0x258e0a['shift']());}}}(a2_0x1e4b,0x4174c));import{Command}from'commander';import{readFileSync,existsSync,statSync}from'fs';import{fileURLToPath}from'url';import{dirname,join,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';function a2_0x2b74(_0x3c5779,_0x188388){_0x3c5779=_0x3c5779-0x1c1;const _0x1e4b52=a2_0x1e4b();let _0x2b7488=_0x1e4b52[_0x3c5779];return _0x2b7488;}import{LogLevel}from'./utils/tdx-logger.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand}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}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,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{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{LLMProxyCommand}from'./commands/llm-proxy.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{ContextCommand}from'./commands/context-command.js';function a2_0x1e4b(){const _0x502090=['workflow','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Get\x20job\x20results','parents\x20[pattern]','use\x20<name>','exit','Template\x20name','project','--email-sender-id\x20<id>','--table\x20<table>','--customer-group\x20<json>','--limit\x20<number>','use\x20<path>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','-p,\x20--profile\x20<name>','stats\x20<name-or-path>','includes','--table','--add-attributes\x20<json>','--description\x20<desc>','Agent\x20name','Path\x20is\x20not\x20a\x20directory:\x20','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','result\x20<job-id>','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','List\x20all\x20users\x20in\x20the\x20account','duplicate\x20<name-or-id>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Describe\x20table\x20schema','Workspace\x20name','System\x20prompt/instructions\x20(default:\x20empty)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','information_schema','set','--catalog\x20<catalog>','Master\x20database\x20name','Unknown\x20action:\x20','Show\x20connection\x20details\x20by\x20name','--folder\x20<name>','logs','Validate\x20journey\x20YAML\x20files\x20locally','--include-stats','Plaintext\x20template\x20content','show\x20[table]','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Start\x20a\x20new\x20chat\x20session','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--subject\x20<subject>','List\x20agents\x20in\x20current\x20project','api\x20[endpoint]','../package.json','chat\x20[message...]','segments\x20[path]','Create\x20a\x20new\x20campaign','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--dry-run','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','padEnd','push\x20[source-dir]','--jsonl','push\x20[file]','pause\x20<name-or-path>','auth','Open\x20segment\x20in\x20web\x20browser','types','Clear\x20workflow\x20project\x20context','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--segment\x20<path>','desc','launch\x20<name-or-id>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Folder\x20description','Set\x20operation\x20timeout\x20in\x20seconds','Run\x20Trino\x20query\x20with\x20streaming\x20results','chdir','-c,\x20--continue','Task\x20name\x20for\x20logs\x20action','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--resume-from\x20<task>','--system-prompt\x20<text>','validate\x20[name]','-o,\x20--output\x20<file>','filter','Pull\x20workflow\x20project\x20to\x20local\x20folder','Action:\x20logs,\x20tasks,\x20kill,\x20retry','subcommandTerm','--status\x20<status>','Show\x20job\x20details','Create\x20a\x20workspace','requiredOption','New\x20segment\x20name','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Folder\x20name\x20for\x20organization','Manage\x20workflow\x20project\x20secrets','Pull\x20specific\x20revision\x20(default:\x20latest)','--in\x20<database>','view\x20[segment_name]','Update\x20an\x20email\x20template','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','user','[task-name]','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','preview\x20[file]','--from-task\x20<task>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','us01','trino','Resume\x20from\x20specific\x20task\x20(retry)','INFO','kill\x20<job-id>','--database\x20<db>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','desc\x20[segment_name]','List\x20available\x20connector\x20types','Campaign\x20type\x20(email\x20or\x20push)','Create\x20a\x20new\x20LLM\x20project','--type\x20<api_type>','get',',\x20version\x20','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','validate\x20[target]','-y,\x20--yes','--schedule-option\x20<value>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','agents\x20[pattern]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Updated\x20description','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--site\x20<site>','Maximum\x20tool\x20iterations\x20(default:\x204)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','User\x20management\x20commands','run\x20[workflow]','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Show\x20agent\x20details','--add-behaviors-file\x20<file>','llm','optionTerm','Set\x20or\x20show\x20parent\x20segment\x20context','preAction','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Campaign\x20name','use\x20<project-name>','name','Campaign\x20management','retry','workspace','tables\x20[pattern]','argumentTerm','-d,\x20--database\x20<database>','create\x20<segment_name>','Parent\x20segment\x20management','activations\x20<segment_name>','Segment\x20description','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','--invisible','--type\x20<type>','--output\x20<file>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','commands','Pause\x20a\x20running\x20journey','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','-u,\x20--use','show\x20[name]','Agent\x20prompt/instructions','update\x20<name-or-id>','repeat','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Preview\x20changes\x20without\x20writing\x20files','show\x20<agent-name>','update\x20<agent-name>','--parent-segment\x20<name>','template','264278bzRZWg','create\x20<name>','--name\x20<new-name>','Workflow\x20attempt\x20management','claude\x20[args...]','summary','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','download\x20<project-name>\x20[output-dir]','create\x20<parent_name>\x20<folder_name>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','json','site','show\x20<name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Show\x20stats\x20for\x20specific\x20stage','Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)','Read\x20query\x20from\x20file','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','stderr','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--session-time\x20<time>','view\x20<name-or-path>','templates\x20[pattern]','--add-behaviors\x20<json>','commandDescription','INVALID_ARGUMENT','List\x20jobs','Job\x20management\x20commands','Timezone\x20(e.g.,\x20America/Los_Angeles)','status','validate\x20[file]','--param\x20<key=value>','Skip\x20validation\x20of\x20.dig\x20files','Parent\x20segment\x20description','registeredArguments','Force\x20retry\x20even\x20if\x20not\x20failed','--model\x20<name>','Maximum\x20recursion\x20depth\x20(default:\x2010)','Show\x20only\x20master\x20table\x20validation','run','--max-depth\x20<depth>','parse','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Delete\x20an\x20email\x20template','--enriched','Delete\x20an\x20LLM\x20project','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Show\x20web\x20console\x20URLs\x20for\x20segments','0.7','--delete','Updated\x20timezone','TRACE','CDP\x20Journey\x20Orchestration\x20commands','Usage:\x20','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','format','--clear','argumentDescription','list','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','noColor','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Arguments:','segment','Database\x20name\x20(default:\x20information_schema)','delete\x20<agent-name>','replace','context','-n,\x20--name\x20<name>','--port\x20<number>','--tsv','--prompt\x20<text>','-d,\x20--database\x20<name>','--timeout\x20<seconds>','--max-tool-iterations\x20<n>','list\x20[project]','--parent-folder\x20<name>','folder','--include-subtasks','description','-C,\x20--directory\x20<path>','argv','Email\x20subject\x20template','upload\x20[project-name-or-dir]','--trace','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','parent_segment','[action]','4frUwBk','length','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','isTTY','Table\x20management\x20commands','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','connections','Show\x20current\x20resolved\x20context\x20(use\x20--debug\x20to\x20show\x20sources)','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Preview\x20changes\x20without\x20pushing','attempts\x20[project]','Custom\x20revision\x20name\x20(default:\x20timestamp)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','database','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Show\x20segment\x20details\x20(alias\x20for\x20view)','--stage\x20<name>','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Workflow\x20(Digdag)\x20management\x20commands','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Show\x20email\x20template\x20details','--schedule-type\x20<type>','Show\x20journey\x20details','buildTime','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','view\x20[name]','after','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Output\x20file\x20path\x20(default:\x20<name>.yml)','Show\x20journey\x20statistics','pull\x20[parent_or_file]','Launch\x20a\x20campaign','251004SWLMfe','Override\x20project\x20name','Trino\x20catalog\x20(default:\x20td)','push\x20[name]','createAsync','--plaintext\x20<text>','Show\x20agent\x20chat\x20URLs','DEBUG','table','Resume\x20a\x20paused\x20journey','\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','sessions\x20[project]','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','--timezone\x20<tz>','Revision\x20name\x20(default:\x20timestamp)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--interval\x20<range>','Campaign\x20description','Kill\x20a\x20job','kill','Move\x20to\x20folder','usage','create','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Master\x20table\x20name','history\x20[chat-id]','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','delete\x20<name-or-id>','Show\x20master\x20table\x20sample\x20data','\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','--include-retried','build-info.json','campaign','workflows\x20[project]','secrets','Commands:','-o,\x20--output\x20<dir>','folders\x20<parent_name>','push\x20[target]','utf-8','--params\x20<json>','slice','Update\x20an\x20existing\x20agent','Read\x20SQL\x20query\x20from\x20file','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--editor-type\x20<type>','--format\x20<format>','argument','Include\x20retried\x20attempts','tdx','subcommandDescription','Starter\x20message','map','--behaviors\x20<json>','Workspace\x20management','-w,\x20--web','Output\x20directory','Parent\x20folder\x20name\x20for\x20nested\x20folders','Name\x20for\x20the\x20new\x20project\x20(required)','Skip\x20confirmation\x20prompt','--workspace\x20<name>','--from\x20<timestamp>','Delete\x20a\x20workspace','-r,\x20--recursive','--attribute\x20[name]','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','agent','engage','List\x20available\x20LLM\x20models','run\x20[name]','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Continue\x20most\x20recent\x20conversation','Remove\x20API\x20key\x20from\x20system\x20keychain','\x20-\x20built\x20','pause\x20<name-or-id>','\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','list\x20[pattern]','help','--project\x20<name>','push\x20[path]','action','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Output\x20as\x20JSON','join','-f,\x20--force','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','--attributes-file\x20<file>','--name\x20<name>','-r,\x20--resume','backup\x20<name>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Skip\x20confirmation\x20prompts','.dev','submit\x20[query]','preview\x20[name]','command','schema\x20<type>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','New\x20template\x20name','--in\x20<name>','users','Show\x20the\x20most\x20recent\x20chat','--full','Delete\x20an\x20agent','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','[attempt-id]','error','opts','--starter-message\x20<text>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--last','describe\x20[table]','isArray','JSON\x20columns\x20for\x20connector\x20(comma-separated)','LLM\x20project\x20management','--limit\x20<n>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Database\x20management\x20commands','alias','allowExcessArguments','Include\x20retried\x20attempts\x20(for\x20list)','New\x20campaign\x20name','Open\x20journey\x20in\x20web\x20browser','Options:','Agent\x20description','Attempt\x20ID','update\x20<segment_name>','logLevel','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','resume\x20<name-or-id>','Interactive\x20chat\x20selector','-X,\x20--method\x20<method>','port','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','log','query\x20[sql]','--html\x20<html>','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','desc\x20[name]','Add\x20behaviors\x20from\x20JSON\x20file','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Duplicate\x20a\x20campaign','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Delete\x20a\x20campaign','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','configureHelp','1907580mMHYEG','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','delete\x20<project-name-or-id>','--description\x20<text>','isDirectory','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','List\x20all\x20data\x20connections','List\x20secret\x20keys\x20for\x20a\x20project','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','parent-segment','sql\x20[segment_name]','addHelpText','delete\x20<args...>','use\x20[name]','profiles','projects\x20[pattern]','attempt:','show\x20[segment_name]','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','hook','Show\x20parent\x20segment\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--json-columns\x20<cols>','--agent\x20<ref>','--no-proxy','directory','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','--force','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','tasks','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','allowUnknownOption','Authentication\x20management','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','debug','Request\x20body\x20as\x20JSON\x20string','--name\x20<new_name>','sql\x20[name]','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','describe','Attributes\x20as\x20JSON\x20string','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Output\x20folder\x20(default:\x20{project_name}.llm)','Workflow\x20project\x20management','HTML\x20template\x20content','--rule\x20<json>','clear','tsv','padWidth','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','Submit\x20a\x20job','Customer\x20group\x20from\x20JSON\x20file','pull\x20[name]','Clear\x20session\x20context','--debug','Workflow\x20session\x20management','Output\x20as\x20JSON\x20Lines','Preview\x20operation\x20without\x20executing','--temperature\x20<n>','--master','236287qHwbWO','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','optionDescription','--color','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','208MXPMuK','show\x20<job-id>','\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','--revision\x20<revision>','\x20(resolved\x20to\x20','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','commandUsage','--database\x20<name>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Limit\x20number\x20of\x20rows','statusline','Show\x20campaign\x20details','--reason\x20<text>','GET','Email\x20sender\x20ID\x20for\x20delivery','--json','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Filtering\x20rule\x20from\x20JSON\x20file','Show\x20workspace\x20details','Make\x20segment\x20invisible\x20(default:\x20visible)','show\x20<folder_ref>','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--new','use\x20[project]','-f,\x20--file\x20<path>','show\x20<name-or-id>','injectIntoOptions','Filtering\x20rule\x20as\x20JSON\x20string','Project\x20description','pull\x20[project]\x20[agent-name]','push','--yes','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','gitRevision','Behaviors\x20as\x20JSON\x20string','--kind\x20<type>','--behavior\x20[name]','Show\x20console\x20URLs','option','--skip-validation','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Overwrite\x20local\x20changes\x20without\x20confirmation','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','colorFn','fields\x20[parent_name]','394435FnBiOK','Push\x20without\x20confirmation','options','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--start-at\x20<datetime>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Resume\x20from\x20specific\x20task','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','-1d','stdout','Workspace\x20description','flatMap','--to\x20<timestamp>','Database\x20to\x20query\x20(default:\x20information_schema)','attempt','version','Add\x20behaviors\x20as\x20JSON\x20string','129479FJvAxV','--version','jsonl','profile','-H,\x20--header\x20<header>','-o,\x20--output\x20<folder>','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','6629535rCxhGb','workspaces\x20[pattern]'];a2_0x1e4b=function(){return _0x502090;};return a2_0x1e4b();}import{UseCommand}from'./commands/use-command.js';import{ProfilesCommand}from'./commands/profiles-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{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),packageJson=JSON['parse'](readFileSync(join(__dirname,a2_0x3d4a9d(0x376)),a2_0x3d4a9d(0x245)));let buildInfo={};try{buildInfo=JSON[a2_0x3d4a9d(0x1cb)](readFileSync(join(__dirname,a2_0x3d4a9d(0x23d)),a2_0x3d4a9d(0x245)));}catch{}if(process[a2_0x3d4a9d(0x1f3)][a2_0x3d4a9d(0x354)](a2_0x3d4a9d(0x33b))){let versionOutput='tdx\x20'+packageJson[a2_0x3d4a9d(0x338)];buildInfo[a2_0x3d4a9d(0x31c)]&&(versionOutput+='\x20('+buildInfo[a2_0x3d4a9d(0x31c)]+')'),buildInfo[a2_0x3d4a9d(0x213)]&&(versionOutput+=a2_0x3d4a9d(0x267)+buildInfo[a2_0x3d4a9d(0x213)]),console[a2_0x3d4a9d(0x2a5)](versionOutput),process[a2_0x3d4a9d(0x348)](0x0);}const program=new Command();let description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo['gitRevision']?description+=a2_0x3d4a9d(0x3be)+packageJson[a2_0x3d4a9d(0x338)]+'\x20('+buildInfo[a2_0x3d4a9d(0x31c)]+')':description+=a2_0x3d4a9d(0x3be)+packageJson[a2_0x3d4a9d(0x338)];program['name'](a2_0x3d4a9d(0x24f))[a2_0x3d4a9d(0x1f1)](description),program[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1f2),'Change\x20to\x20directory\x20before\x20executing\x20command')['option'](a2_0x3d4a9d(0x352),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c9),a2_0x3d4a9d(0x278),a2_0x3d4a9d(0x3b1))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x24c),a2_0x3d4a9d(0x2d2))['option'](a2_0x3d4a9d(0x355),a2_0x3d4a9d(0x2f7))['option'](a2_0x3d4a9d(0x308),a2_0x3d4a9d(0x372))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x37f),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1e8),a2_0x3d4a9d(0x3bf))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3e8),'Save\x20output\x20to\x20file')['option'](a2_0x3d4a9d(0x34e),a2_0x3d4a9d(0x32e))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2f5),a2_0x3d4a9d(0x2c8),![])[a2_0x3d4a9d(0x321)]('--no-color',a2_0x3d4a9d(0x237),![])[a2_0x3d4a9d(0x321)]('-v,\x20--verbose','Enable\x20verbose\x20logging',![])[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2ec),a2_0x3d4a9d(0x370))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1f6),a2_0x3d4a9d(0x214))['option'](a2_0x3d4a9d(0x1eb),a2_0x3d4a9d(0x38f),'30')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x37b),a2_0x3d4a9d(0x2ef),![])[a2_0x3d4a9d(0x321)]('-y,\x20--yes','Skip\x20confirmation\x20prompts',![])[a2_0x3d4a9d(0x321)]('--session\x20<id>',a2_0x3d4a9d(0x1d8))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1ea),'Database\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x3d4a9d(0x281),a2_0x3d4a9d(0x234))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3f6),a2_0x3d4a9d(0x405))[a2_0x3d4a9d(0x321)]('--llm-project\x20<name>',a2_0x3d4a9d(0x2b8)),program[a2_0x3d4a9d(0x2b0)]({'formatHelp':(_0x39e2f1,_0x48b9b1)=>{const _0x2e2976=a2_0x3d4a9d,_0x4153f8=_0x48b9b1[_0x2e2976(0x2e6)](_0x39e2f1,_0x48b9b1),_0x157fdf=0x2,_0x4fcd12=0x2;function _0x2851d6(_0x1e6615){const _0x125a28=_0x1e6615;return!!(_0x125a28['_hidden']||_0x125a28['hidden']);}function _0x49a87c(_0x3f2c79,_0x1cf29c){const _0x103c0c=_0x2e2976;if(_0x1cf29c){const _0x381cb5=''+_0x3f2c79[_0x103c0c(0x37d)](_0x4153f8+_0x4fcd12)+_0x1cf29c;return _0x381cb5;}return _0x3f2c79;}function _0xb53278(_0x5cd41c){const _0x2ef3f5=_0x2e2976;return _0x5cd41c[_0x2ef3f5(0x271)]('\x0a')[_0x2ef3f5(0x1e4)](/^/gm,'\x20'[_0x2ef3f5(0x3f1)](_0x157fdf));}const _0x431af7=[];_0x431af7[_0x2e2976(0x317)](_0x2e2976(0x1d7)+_0x48b9b1[_0x2e2976(0x2fe)](_0x39e2f1));const _0x18e54a=_0x48b9b1[_0x2e2976(0x413)](_0x39e2f1);_0x18e54a&&(_0x431af7[_0x2e2976(0x317)](''),_0x431af7[_0x2e2976(0x317)](_0x18e54a));const _0x2e5e50=_0x39e2f1[_0x2e2976(0x3ea)][_0x2e2976(0x399)](_0x12e726=>!_0x2851d6(_0x12e726));if(_0x2e5e50[_0x2e2976(0x1fb)]>0x0){if(_0x39e2f1[_0x2e2976(0x3da)]()===_0x2e2976(0x24f)){const _0x1e8e8d=_0x39e2f1[_0x2e2976(0x289)](),_0x991b53=!_0x1e8e8d[_0x2e2976(0x1de)]&&process[_0x2e2976(0x332)]['isTTY'],_0x2e1aed=COMMAND_CATEGORIES,_0x2c5b7a=(_0xd11cb,_0x1dfe8f)=>_0x991b53?_0x1dfe8f(_0xd11cb):_0xd11cb,_0x5ccc77=new Map();_0x2e5e50['forEach'](_0x20b64a=>{const _0x31c262=_0x2e2976;_0x5ccc77[_0x31c262(0x365)](_0x20b64a[_0x31c262(0x3da)](),_0x20b64a);}),_0x2e1aed['forEach'](_0x1b4537=>{const _0x1eceeb=_0x2e2976,_0x102d36=_0x1b4537['commands'][_0x1eceeb(0x334)](_0x514e0a=>_0x5ccc77[_0x1eceeb(0x3bd)](_0x514e0a)??[]);if(_0x102d36[_0x1eceeb(0x1fb)]>0x0){_0x431af7[_0x1eceeb(0x317)](''),_0x431af7[_0x1eceeb(0x317)](_0x2c5b7a(_0x1b4537[_0x1eceeb(0x3da)]+':',_0x1b4537[_0x1eceeb(0x327)]));const _0x4f9f21=_0x102d36[_0x1eceeb(0x252)](_0x4eb9bf=>{const _0x3496e7=_0x1eceeb,_0xbbd344=_0x48b9b1[_0x3496e7(0x39c)](_0x4eb9bf),_0x44d593=_0x48b9b1[_0x3496e7(0x250)](_0x4eb9bf);return _0x49a87c(_0xbbd344,_0x44d593);});_0x431af7['push'](_0xb53278(_0x4f9f21));}}),_0x431af7[_0x2e2976(0x317)](''),_0x431af7['push'](_0x2e2976(0x40b));}else{const _0x2a33cc=_0x2e5e50[_0x2e2976(0x252)](_0x32a749=>{const _0x3eb18a=_0x2e2976,_0x304e22=_0x48b9b1[_0x3eb18a(0x39c)](_0x32a749),_0x55409e=_0x48b9b1[_0x3eb18a(0x250)](_0x32a749);return _0x49a87c(_0x304e22,_0x55409e);});_0x431af7[_0x2e2976(0x317)](''),_0x431af7['push'](_0x2e2976(0x241)),_0x431af7[_0x2e2976(0x317)](_0xb53278(_0x2a33cc));}}const _0x239d90=_0x39e2f1[_0x2e2976(0x32b)][_0x2e2976(0x399)](_0x2bb343=>!_0x2851d6(_0x2bb343));if(_0x239d90[_0x2e2976(0x1fb)]>0x0){const _0x46856c=_0x239d90[_0x2e2976(0x252)](_0x53d454=>{const _0x28bc73=_0x2e2976,_0x670cfc=_0x48b9b1[_0x28bc73(0x3d4)](_0x53d454),_0x5d5755=_0x48b9b1[_0x28bc73(0x2f4)](_0x53d454);return _0x49a87c(_0x670cfc,_0x5d5755);});_0x431af7[_0x2e2976(0x317)](''),_0x431af7['push'](_0x2e2976(0x29a)),_0x431af7[_0x2e2976(0x317)](_0xb53278(_0x46856c));}const _0x2dd5ca=(_0x39e2f1['registeredArguments']||[])[_0x2e2976(0x399)](_0x14c63c=>!_0x2851d6(_0x14c63c));if(_0x2dd5ca['length']>0x0){const _0x4ae0cb=_0x2dd5ca['map'](_0x1893e5=>{const _0x253ca7=_0x2e2976,_0x5d9734=_0x48b9b1[_0x253ca7(0x3df)](_0x1893e5),_0xf0bdfd=_0x48b9b1[_0x253ca7(0x1db)](_0x1893e5);return _0x49a87c(_0x5d9734,_0xf0bdfd);});_0x431af7[_0x2e2976(0x317)](''),_0x431af7[_0x2e2976(0x317)](_0x2e2976(0x1e0)),_0x431af7[_0x2e2976(0x317)](_0xb53278(_0x4ae0cb));}return _0x431af7[_0x2e2976(0x271)]('\x0a');},'subcommandTerm':_0x4fffd5=>{const _0x26dc8f=a2_0x3d4a9d,_0x86998e=(_0x4fffd5[_0x26dc8f(0x1c4)]||[])['map'](_0x27eac9=>_0x27eac9['required']?'<'+_0x27eac9[_0x26dc8f(0x3da)]()+'>':'['+_0x27eac9[_0x26dc8f(0x3da)]()+']')[_0x26dc8f(0x271)]('\x20'),_0x3242f4=_0x4fffd5['aliases'](),_0x2b5fd1=_0x3242f4[_0x26dc8f(0x1fb)]>0x0?_0x4fffd5['name']()+',\x20'+_0x3242f4[_0x26dc8f(0x271)](',\x20'):_0x4fffd5['name']();return _0x86998e?_0x2b5fd1+'\x20'+_0x86998e:_0x2b5fd1;}}),program[a2_0x3d4a9d(0x2c9)](a2_0x3d4a9d(0x3d6),_0x4bb9a2=>{const _0x44d440=a2_0x3d4a9d,_0x40bcab=_0x4bb9a2[_0x44d440(0x289)]();if(_0x40bcab['directory']){const _0x26b1c6=resolve(_0x40bcab['directory']),_0x103e2d=_0x26b1c6!==_0x40bcab[_0x44d440(0x2ce)]?_0x44d440(0x2fc)+_0x26b1c6+')':'';if(!existsSync(_0x26b1c6))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Directory\x20does\x20not\x20exist:\x20'+_0x40bcab['directory']+_0x103e2d,undefined,{'helpText':_0x44d440(0x1f7)});const _0x19ea19=statSync(_0x26b1c6);if(!_0x19ea19[_0x44d440(0x2b5)]())throw new SDKError(ErrorCode[_0x44d440(0x414)],_0x44d440(0x359)+_0x40bcab['directory']+_0x103e2d,undefined,{'helpText':_0x44d440(0x2d1)});process[_0x44d440(0x391)](_0x26b1c6);}if(!_0x40bcab['format']){if(_0x40bcab[_0x44d440(0x225)])_0x40bcab[_0x44d440(0x1d9)]=_0x44d440(0x225);else{if(_0x40bcab[_0x44d440(0x402)])_0x40bcab['format']=_0x44d440(0x402);else{if(_0x40bcab[_0x44d440(0x33c)])_0x40bcab[_0x44d440(0x1d9)]=_0x44d440(0x33c);else _0x40bcab[_0x44d440(0x2e5)]&&(_0x40bcab[_0x44d440(0x1d9)]=_0x44d440(0x2e5));}}}_0x40bcab['in']&&!_0x40bcab[_0x44d440(0x208)]&&(_0x40bcab[_0x44d440(0x208)]=_0x40bcab['in']);if(_0x40bcab['trace'])_0x40bcab[_0x44d440(0x29e)]=LogLevel[_0x44d440(0x1d5)];else{if(_0x40bcab[_0x44d440(0x2d8)])_0x40bcab[_0x44d440(0x29e)]=LogLevel[_0x44d440(0x224)];else _0x40bcab['logLevel']===undefined&&(_0x40bcab[_0x44d440(0x29e)]=LogLevel[_0x44d440(0x3b4)]);}});async function createTDXInstance(_0x36199c){const _0x291528=a2_0x3d4a9d,_0xf487b0=await GlobalContext[_0x291528(0x221)](_0x36199c);return _0xf487b0[_0x291528(0x313)](_0x36199c),TDX['create']({'site':_0xf487b0[_0x291528(0x403)],'apiKey':_0xf487b0['apiKey'],'logLevel':_0xf487b0[_0x291528(0x29e)],'profile':_0xf487b0[_0x291528(0x33d)]});}const databaseCmd=program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x208))['alias']('db')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x294)),databaseListAction=async(_0x4c5da7,_0x6f2535)=>{const _0xe17225=a2_0x3d4a9d,_0x30aa3a=new DatabasesCommand(),_0x42cc82=program[_0xe17225(0x289)](),_0x10832d=await createTDXInstance(_0x42cc82),_0x8a0914=await _0x30aa3a[_0xe17225(0x1c9)]({'options':{..._0x42cc82,..._0x6f2535},'args':_0x4c5da7?[_0x4c5da7]:[],'tdx':_0x10832d});process[_0xe17225(0x348)](_0x8a0914);};databaseCmd['command'](a2_0x3d4a9d(0x26a))[a2_0x3d4a9d(0x1f1)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3d4a9d(0x26e)](databaseListAction),program[a2_0x3d4a9d(0x27d)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x3d4a9d(0x1f1)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x3d4a9d(0x26e)](databaseListAction),program['command'](a2_0x3d4a9d(0x377))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3d7))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2cc),'Agent\x20reference\x20(project-name/agent-name)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x30f),a2_0x3d4a9d(0x371))[a2_0x3d4a9d(0x26e)](async(_0x4cb577,_0x4f42af)=>{const _0x5ef2b2=a2_0x3d4a9d,_0xb76f9a=new ChatCommand(),_0x10b9ad=program[_0x5ef2b2(0x289)](),_0x4e23aa=await createTDXInstance(_0x10b9ad),_0xffba8a=await _0xb76f9a[_0x5ef2b2(0x1c9)]({'options':{..._0x10b9ad,..._0x4f42af},'args':_0x4cb577,'tdx':_0x4e23aa});process[_0x5ef2b2(0x348)](_0xffba8a);});const apiCmd=program['command'](a2_0x3d4a9d(0x375))[a2_0x3d4a9d(0x3fd)](a2_0x3d4a9d(0x25f))[a2_0x3d4a9d(0x2c0)](a2_0x3d4a9d(0x217),a2_0x3d4a9d(0x227))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2a2),a2_0x3d4a9d(0x2cf),a2_0x3d4a9d(0x306))[a2_0x3d4a9d(0x321)]('--data\x20<data>',a2_0x3d4a9d(0x2d9))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x311),'Read\x20request\x20body\x20from\x20file')['option'](a2_0x3d4a9d(0x33e),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x5d6818,_0x281aee)=>{return _0x281aee?[..._0x281aee,_0x5d6818]:[_0x5d6818];})[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3bc),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x3d4a9d(0x26e)](async(_0x56cea0,_0xf134d8)=>{const _0x1eed34=a2_0x3d4a9d;if(!_0x56cea0){apiCmd[_0x1eed34(0x26b)]();return;}const _0x444667=new ApiCommand(),_0x560376=program[_0x1eed34(0x289)](),_0x50571e=await createTDXInstance(_0x560376),_0x2ee00d=await _0x444667[_0x1eed34(0x1c9)]({'options':{..._0x560376,..._0xf134d8},'args':[_0x56cea0],'tdx':_0x50571e});process[_0x1eed34(0x348)](_0x2ee00d);}),tableCmd=program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x225))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x1fe)),tableListAction=async(_0x3a40fd,_0x336159)=>{const _0x3df8fe=a2_0x3d4a9d,_0x5e7d32=new TablesCommand(),_0x41755c=program[_0x3df8fe(0x289)](),_0x41a504=await createTDXInstance(_0x41755c);_0x336159['in']&&(_0x336159[_0x3df8fe(0x208)]=_0x336159['in']);const _0x10aecb=await _0x5e7d32[_0x3df8fe(0x1c9)]({'options':{..._0x41755c,..._0x336159},'args':_0x3a40fd?[_0x3a40fd]:[],'tdx':_0x41a504});process[_0x3df8fe(0x348)](_0x10aecb);};tableCmd['command'](a2_0x3d4a9d(0x26a))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x32c))[a2_0x3d4a9d(0x321)]('-d,\x20--database\x20<database>',a2_0x3d4a9d(0x3c5))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3a6),a2_0x3d4a9d(0x234))[a2_0x3d4a9d(0x26e)](tableListAction),program['command'](a2_0x3d4a9d(0x3de),{'hidden':!![]})['description'](a2_0x3d4a9d(0x37a))[a2_0x3d4a9d(0x321)]('-d,\x20--database\x20<database>',a2_0x3d4a9d(0x3c5))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3a6),a2_0x3d4a9d(0x234))[a2_0x3d4a9d(0x26e)](tableListAction),program['command'](a2_0x3d4a9d(0x36f))[a2_0x3d4a9d(0x1f1)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3e0),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3a6),a2_0x3d4a9d(0x234))[a2_0x3d4a9d(0x26e)](async(_0x1d6e46,_0x1ba85d)=>{const _0xebd5f0=a2_0x3d4a9d,_0x218b63=new ShowCommand(),_0x4d0d39=program['opts'](),_0x3e4d46=await createTDXInstance(_0x4d0d39);_0x1ba85d['in']&&(_0x1ba85d[_0xebd5f0(0x208)]=_0x1ba85d['in']);const _0x49e13a=await _0x218b63['run']({'options':{..._0x4d0d39,..._0x1ba85d},'args':_0x1d6e46?[_0x1d6e46]:[],'tdx':_0x3e4d46});process['exit'](_0x49e13a);}),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x28e))[a2_0x3d4a9d(0x295)](a2_0x3d4a9d(0x388))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x360))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3e0),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3d4a9d(0x321)]('--in\x20<database>',a2_0x3d4a9d(0x234))[a2_0x3d4a9d(0x26e)](async(_0x7c741,_0x4ffe1a)=>{const _0x57ac83=a2_0x3d4a9d,_0x1a0e04=new DescribeCommand(),_0x43605e=program[_0x57ac83(0x289)](),_0x3d1035=await createTDXInstance(_0x43605e);_0x4ffe1a['in']&&(_0x4ffe1a[_0x57ac83(0x208)]=_0x4ffe1a['in']);const _0x2d0f3b=await _0x1a0e04[_0x57ac83(0x1c9)]({'options':{..._0x43605e,..._0x4ffe1a},'args':_0x7c741?[_0x7c741]:[],'tdx':_0x3d1035});process['exit'](_0x2d0f3b);}),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2a6))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x390))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3e0),a2_0x3d4a9d(0x336))['option'](a2_0x3d4a9d(0x3a6),a2_0x3d4a9d(0x234))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x366),a2_0x3d4a9d(0x21f))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x311),a2_0x3d4a9d(0x249))[a2_0x3d4a9d(0x321)]('--limit\x20<rows>','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')[a2_0x3d4a9d(0x26e)](async(_0x2254a7,_0x8a114e)=>{const _0x4f63f4=a2_0x3d4a9d,_0x5245c1=new QueryCommand(),_0x39b0a6=program[_0x4f63f4(0x289)](),_0x3e9817=await createTDXInstance(_0x39b0a6);_0x8a114e['in']&&(_0x8a114e[_0x4f63f4(0x208)]=_0x8a114e['in']);const _0x540add=await _0x5245c1[_0x4f63f4(0x1c9)]({'options':{..._0x39b0a6,..._0x8a114e},'args':_0x2254a7?[_0x2254a7]:[],'tdx':_0x3e9817});process[_0x4f63f4(0x348)](_0x540add);});const segmentCmd=program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x1e1))['alias']('sg')[a2_0x3d4a9d(0x1f1)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x45467e,_0x31c96d)=>{const _0x17b3fe=a2_0x3d4a9d,_0x2f2b3a=new SegmentsCommand(),_0x8fb83f=program[_0x17b3fe(0x289)](),_0x121d05=await createTDXInstance(_0x8fb83f),_0x21c065=await _0x2f2b3a['run']({'options':{..._0x8fb83f,..._0x31c96d},'args':_0x45467e?[_0x45467e]:[],'tdx':_0x121d05});process[_0x17b3fe(0x348)](_0x21c065);};segmentCmd[a2_0x3d4a9d(0x27d)]('list\x20[path]')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x40c))[a2_0x3d4a9d(0x321)]('-r,\x20--recursive',a2_0x3d4a9d(0x40e))['option']('--max-depth\x20<depth>',a2_0x3d4a9d(0x1c7),'10')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x255),a2_0x3d4a9d(0x1d1))[a2_0x3d4a9d(0x26e)](segmentListAction),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x378),{'hidden':!![]})['description'](a2_0x3d4a9d(0x35f))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25d),a2_0x3d4a9d(0x40e))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1ca),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['option'](a2_0x3d4a9d(0x255),a2_0x3d4a9d(0x1d1))['action'](segmentListAction),segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x34f),{'hidden':!![]})[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x386))[a2_0x3d4a9d(0x26e)](async(_0x3ce009,_0x277695)=>{const _0x128c9e=a2_0x3d4a9d,_0x5ec20d=new SegmentUseCommand(),_0x3c1355=program['opts'](),_0x482779=await createTDXInstance(_0x3c1355),_0x1c79f2=await _0x5ec20d[_0x128c9e(0x1c9)]({'options':{..._0x3c1355,..._0x277695},'args':[_0x3ce009],'tdx':_0x482779});process[_0x128c9e(0x348)](_0x1c79f2);});const segmentViewAction=async(_0x1a136f,_0x4988ba)=>{const _0x1a7a67=a2_0x3d4a9d,_0x4c2ee0=new SegmentViewCommand(),_0x2c84f2=program[_0x1a7a67(0x289)](),_0x31feb5=await createTDXInstance(_0x2c84f2),_0x5f177d=await _0x4c2ee0['run']({'options':{..._0x2c84f2,..._0x4988ba},'args':_0x1a136f?[_0x1a136f]:[],'tdx':_0x31feb5});process['exit'](_0x5f177d);};segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3a7))[a2_0x3d4a9d(0x1f1)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x255),a2_0x3d4a9d(0x383))[a2_0x3d4a9d(0x26e)](segmentViewAction),segmentCmd['command']('info\x20[segment_name]',{'hidden':!![]})[a2_0x3d4a9d(0x295)](a2_0x3d4a9d(0x2dd))['option']('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x20a))['action'](segmentViewAction),segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3b8))[a2_0x3d4a9d(0x1f1)]('Show\x20segment\x20schema\x20(column\x20types)')[a2_0x3d4a9d(0x26e)](async(_0x18ccfc,_0x1ea8f8)=>{const _0x16b1d9=a2_0x3d4a9d,_0x8aa774=new SegmentDescCommand(),_0x56302f=program[_0x16b1d9(0x289)](),_0x4bcf26=await createTDXInstance(_0x56302f),_0x322a8f=await _0x8aa774[_0x16b1d9(0x1c9)]({'options':{..._0x56302f,..._0x1ea8f8},'args':_0x18ccfc?[_0x18ccfc]:[],'tdx':_0x4bcf26});process[_0x16b1d9(0x348)](_0x322a8f);}),segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2c6))['description'](a2_0x3d4a9d(0x207))[a2_0x3d4a9d(0x26e)](async(_0x5876bc,_0x3d6083)=>{const _0x4b8ad8=a2_0x3d4a9d,_0x3bd845=new SegmentShowCommand(),_0x386d2a=program[_0x4b8ad8(0x289)](),_0x5c9ccc=await createTDXInstance(_0x386d2a),_0x4e3138=await _0x3bd845[_0x4b8ad8(0x1c9)]({'options':{..._0x386d2a,..._0x3d6083},'args':_0x5876bc?[_0x5876bc]:[],'tdx':_0x5c9ccc});process[_0x4b8ad8(0x348)](_0x4e3138);}),segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x243),{'hidden':!![]})['description'](a2_0x3d4a9d(0x350))[a2_0x3d4a9d(0x26e)](async(_0x3ed535,_0x35c107)=>{const _0x350e5a=a2_0x3d4a9d,_0x24ba50=new SegmentFolderListCommand(),_0xec0c25=program[_0x350e5a(0x289)](),_0x830f67=await createTDXInstance(_0xec0c25),_0x23026a=await _0x24ba50['run']({'options':{..._0xec0c25,..._0x35c107},'args':[_0x3ed535],'tdx':_0x830f67});process['exit'](_0x23026a);});const folderCmd=segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x1ef),{'hidden':!![]})[a2_0x3d4a9d(0x1f1)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x30d))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2c7))[a2_0x3d4a9d(0x26e)](async(_0x232dca,_0x45ba7c)=>{const _0x194e15=a2_0x3d4a9d,_0x54afcc=new SegmentFolderShowCommand(),_0x4703b1=program[_0x194e15(0x289)](),_0x332a80=await createTDXInstance(_0x4703b1),_0x22c4e5=await _0x54afcc[_0x194e15(0x1c9)]({'options':{..._0x4703b1,..._0x45ba7c},'args':[_0x232dca],'tdx':_0x332a80});process[_0x194e15(0x348)](_0x22c4e5);}),segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2bf))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2fd))[a2_0x3d4a9d(0x26e)](async(_0x433d01,_0x5c3bef)=>{const _0x22a807=a2_0x3d4a9d,_0x769947=new SegmentSQLCommand(),_0x949c55=program[_0x22a807(0x289)](),_0x4bd1ed=await createTDXInstance(_0x949c55),_0x5a2db2=await _0x769947[_0x22a807(0x1c9)]({'options':{..._0x949c55,..._0x5c3bef},'args':_0x433d01?[_0x433d01]:[],'tdx':_0x4bd1ed});process['exit'](_0x5a2db2);}),segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x328))[a2_0x3d4a9d(0x1f1)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')[a2_0x3d4a9d(0x26e)](async(_0x33884e,_0x2cb676)=>{const _0x3f9fdf=a2_0x3d4a9d,_0x771943=new SegmentFieldsCommand(),_0x5e3d19=program[_0x3f9fdf(0x289)](),_0x113dac=await createTDXInstance(_0x5e3d19),_0xc339ff=await _0x771943[_0x3f9fdf(0x1c9)]({'options':{..._0x5e3d19,..._0x2cb676},'args':_0x33884e?[_0x33884e]:[],'tdx':_0x113dac});process[_0x3f9fdf(0x348)](_0xc339ff);}),segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x21b))[a2_0x3d4a9d(0x1f1)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c1),a2_0x3d4a9d(0x279))[a2_0x3d4a9d(0x321)]('--dry-run',a2_0x3d4a9d(0x2af))['action'](async(_0x3ab348,_0x395c7d)=>{const _0x12b658=a2_0x3d4a9d,_0x1e9929=new SegmentPullCommand(),_0x596342=program[_0x12b658(0x289)](),_0x54cece=await createTDXInstance(_0x596342),_0x5c272b=await _0x1e9929['run']({'options':{..._0x596342,..._0x395c7d},'args':_0x3ab348?[_0x3ab348]:[],'tdx':_0x54cece});process[_0x12b658(0x348)](_0x5c272b);}),segmentCmd[a2_0x3d4a9d(0x27d)]('push\x20[parent_or_file]')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x35c))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c1),a2_0x3d4a9d(0x279))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x37b),a2_0x3d4a9d(0x2af))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1d3),'Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x3d4a9d(0x26e)](async(_0x29900d,_0x483505)=>{const _0x4d7107=a2_0x3d4a9d,_0x1af324=new SegmentPushCommand(),_0x155fbb=program['opts'](),_0x458a15=await createTDXInstance(_0x155fbb),_0x387fc6=await _0x1af324[_0x4d7107(0x1c9)]({'options':{..._0x155fbb,..._0x483505},'args':_0x29900d?[_0x29900d]:[],'tdx':_0x458a15});process['exit'](_0x387fc6);}),segmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3c0))['description'](a2_0x3d4a9d(0x3cc))['action'](async(_0x1fe2b6,_0x1b8237)=>{const _0x3d021c=a2_0x3d4a9d,_0x169216=new SegmentValidateCommand(),_0x1f7799=program[_0x3d021c(0x289)](),_0x1d5247=await createTDXInstance(_0x1f7799),_0x96cff0=await _0x169216[_0x3d021c(0x1c9)]({'options':{..._0x1f7799,..._0x1b8237},'args':_0x1fe2b6?[_0x1fe2b6]:[],'tdx':_0x1d5247});process[_0x3d021c(0x348)](_0x96cff0);}),segmentCmd['command'](a2_0x3d4a9d(0x3e1),{'hidden':!![]})[a2_0x3d4a9d(0x1f1)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2b4),a2_0x3d4a9d(0x3e4))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2e3),a2_0x3d4a9d(0x314))['option']('--rule-file\x20<file>',a2_0x3d4a9d(0x30a))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x36a),a2_0x3d4a9d(0x3a3))['option'](a2_0x3d4a9d(0x31e),a2_0x3d4a9d(0x26f))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3e6),a2_0x3d4a9d(0x30c))['option']('--no-count-population','Skip\x20population\x20counting')[a2_0x3d4a9d(0x26e)](async(_0x138703,_0x43c89a)=>{const _0x2b868b=a2_0x3d4a9d,_0x28f01f=new SegmentCreateCommand(),_0x44fb1c=program['opts'](),_0x10fe9e=await createTDXInstance(_0x44fb1c),_0x2a2f50=await _0x28f01f[_0x2b868b(0x1c9)]({'options':{..._0x44fb1c,..._0x43c89a},'args':[_0x138703],'tdx':_0x10fe9e});process[_0x2b868b(0x348)](_0x2a2f50);}),segmentCmd['command'](a2_0x3d4a9d(0x29d),{'hidden':!![]})[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2b6))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2da),a2_0x3d4a9d(0x3a1))['option'](a2_0x3d4a9d(0x2b4),a2_0x3d4a9d(0x3c7))['option']('--rule\x20<json>',a2_0x3d4a9d(0x1cc))[a2_0x3d4a9d(0x321)]('--rule-file\x20<file>',a2_0x3d4a9d(0x1dd))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x36a),a2_0x3d4a9d(0x231))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x31e),a2_0x3d4a9d(0x26f))[a2_0x3d4a9d(0x26e)](async(_0x3288c2,_0x5788a0)=>{const _0x541650=a2_0x3d4a9d,_0x3689b5=new SegmentUpdateCommand(),_0x47b899=program[_0x541650(0x289)](),_0x3e06e3=await createTDXInstance(_0x47b899),_0x10fbfe=await _0x3689b5['run']({'options':{..._0x47b899,..._0x5788a0},'args':[_0x3288c2],'tdx':_0x3e06e3});process[_0x541650(0x348)](_0x10fbfe);});const parentCmd=segmentCmd[a2_0x3d4a9d(0x27d)]('parent',{'hidden':!![]})['description'](a2_0x3d4a9d(0x2d7)),parentListAction=async(_0x133af4,_0x571bf9)=>{const _0x37be6e=a2_0x3d4a9d,_0xc8e0b2=new ParentSegmentListCommand(),_0x2ca9fa=program[_0x37be6e(0x289)](),_0x6de407=await createTDXInstance(_0x2ca9fa),_0x5ce1e6=await _0xc8e0b2[_0x37be6e(0x1c9)]({'options':{..._0x2ca9fa,..._0x571bf9},'args':_0x133af4?[_0x133af4]:[],'tdx':_0x6de407});process[_0x37be6e(0x348)](_0x5ce1e6);};parentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x26a))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x30e))[a2_0x3d4a9d(0x26e)](parentListAction),segmentCmd['command'](a2_0x3d4a9d(0x346),{'hidden':!![]})[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x325))[a2_0x3d4a9d(0x26e)](parentListAction),parentCmd[a2_0x3d4a9d(0x27d)]('pull\x20[name]')[a2_0x3d4a9d(0x1f1)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x398),a2_0x3d4a9d(0x219))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c1),'Skip\x20confirmation\x20prompt')['action'](async(_0x301154,_0x3a40b3)=>{const _0x52806c=a2_0x3d4a9d,_0xd975de=new ParentSegmentPullCommand(),_0x150575=program['opts'](),_0x5d7156=await createTDXInstance(_0x150575),_0x506d5e=await _0xd975de[_0x52806c(0x1c9)]({'options':{..._0x150575,..._0x3a40b3},'args':_0x301154?[_0x301154]:[],'tdx':_0x5d7156});process[_0x52806c(0x348)](_0x506d5e);}),parentCmd['command'](a2_0x3d4a9d(0x380))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3e9))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c1),a2_0x3d4a9d(0x259))[a2_0x3d4a9d(0x26e)](async(_0x1046e4,_0x2a37e1)=>{const _0xbb1b0c=a2_0x3d4a9d,_0x1070a3=new ParentSegmentPushCommand(),_0x3c7cda=program[_0xbb1b0c(0x289)](),_0x4accd7=await createTDXInstance(_0x3c7cda),_0x508b9d=await _0x1070a3[_0xbb1b0c(0x1c9)]({'options':{..._0x3c7cda,..._0x2a37e1},'args':_0x1046e4?[_0x1046e4]:[],'tdx':_0x4accd7});process['exit'](_0x508b9d);}),parentCmd['command'](a2_0x3d4a9d(0x419))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3c3))[a2_0x3d4a9d(0x321)]('--master','Show\x20only\x20master\x20table\x20validation')[a2_0x3d4a9d(0x321)]('--attribute\x20[name]',a2_0x3d4a9d(0x2b2))['option']('--behavior\x20[name]',a2_0x3d4a9d(0x301))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1ce),a2_0x3d4a9d(0x38a))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x22d),a2_0x3d4a9d(0x3a9),a2_0x3d4a9d(0x331))[a2_0x3d4a9d(0x26e)](async(_0x71c7bd,_0x247b73)=>{const _0x1920f5=a2_0x3d4a9d,_0x29884c=new ParentSegmentValidateCommand(),_0x4db694=program['opts'](),_0x45290d=await createTDXInstance(_0x4db694),_0x4c5b6d=await _0x29884c['run']({'options':{..._0x4db694,..._0x247b73},'args':_0x71c7bd?[_0x71c7bd]:[],'tdx':_0x45290d});process[_0x1920f5(0x348)](_0x4c5b6d);}),parentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3ad))['description'](a2_0x3d4a9d(0x351))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2f1),a2_0x3d4a9d(0x23a))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25e),a2_0x3d4a9d(0x293))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x31f),a2_0x3d4a9d(0x40d))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1ce),a2_0x3d4a9d(0x3c8))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x22d),a2_0x3d4a9d(0x3a9),a2_0x3d4a9d(0x331))[a2_0x3d4a9d(0x26e)](async(_0x4a7081,_0x7cc8b9)=>{const _0x467cc0=a2_0x3d4a9d,_0x1cc8ef=new ParentSegmentPreviewCommand(),_0x293fc0=program[_0x467cc0(0x289)](),_0x96c125=await createTDXInstance(_0x293fc0),_0x115c47=await _0x1cc8ef[_0x467cc0(0x1c9)]({'options':{..._0x293fc0,..._0x7cc8b9},'args':_0x4a7081?[_0x4a7081]:[],'tdx':_0x96c125});process['exit'](_0x115c47);}),parentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x263))[a2_0x3d4a9d(0x1f1)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c1),a2_0x3d4a9d(0x259))[a2_0x3d4a9d(0x26e)](async(_0x4a6a2b,_0x10dc68)=>{const _0x527cd8=a2_0x3d4a9d,_0x3a1f98=new ParentSegmentRunCommand(),_0x2ae4ca=program[_0x527cd8(0x289)](),_0x270e82=await createTDXInstance(_0x2ae4ca),_0x1c6aa5=await _0x3a1f98[_0x527cd8(0x1c9)]({'options':{..._0x2ae4ca,..._0x10dc68},'args':_0x4a6a2b?[_0x4a6a2b]:[],'tdx':_0x270e82});process[_0x527cd8(0x348)](_0x1c6aa5);});const parentSegmentCmd=program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2be))[a2_0x3d4a9d(0x295)]('ps')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3e2));parentSegmentCmd['command'](a2_0x3d4a9d(0x26a))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x30e))[a2_0x3d4a9d(0x26e)](parentListAction),parentSegmentCmd['command'](a2_0x3d4a9d(0x2ea))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x215))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x398),'Output\x20file\x20path')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c1),a2_0x3d4a9d(0x259))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3ed),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x3d4a9d(0x26e)](async(_0x2f6e83,_0x397601)=>{const _0x2302b3=a2_0x3d4a9d,_0x27b5ef=new ParentSegmentPullCommand(),_0x389a4b=program[_0x2302b3(0x289)](),_0x218fee=await createTDXInstance(_0x389a4b),_0x12f65e=await _0x27b5ef[_0x2302b3(0x1c9)]({'options':{..._0x389a4b,..._0x397601},'args':_0x2f6e83?[_0x2f6e83]:[],'tdx':_0x218fee});process[_0x2302b3(0x348)](_0x12f65e);}),parentSegmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x220))[a2_0x3d4a9d(0x1f1)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3d4a9d(0x321)]('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x3d4a9d(0x26e)](async(_0x408709,_0x493433)=>{const _0xd7a18e=a2_0x3d4a9d,_0x5a33fe=new ParentSegmentPushCommand(),_0x42cbca=program[_0xd7a18e(0x289)](),_0x556936=await createTDXInstance(_0x42cbca),_0x1f5b55=await _0x5a33fe[_0xd7a18e(0x1c9)]({'options':{..._0x42cbca,..._0x493433},'args':_0x408709?[_0x408709]:[],'tdx':_0x556936});process['exit'](_0x1f5b55);}),parentSegmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x397))[a2_0x3d4a9d(0x1f1)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2f1),a2_0x3d4a9d(0x1c8))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25e),a2_0x3d4a9d(0x2b2))['option'](a2_0x3d4a9d(0x31f),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1ce),a2_0x3d4a9d(0x38a))[a2_0x3d4a9d(0x321)]('--interval\x20<range>',a2_0x3d4a9d(0x3a9),'-1d')[a2_0x3d4a9d(0x26e)](async(_0x9eb07e,_0x2023b0)=>{const _0x2fd40b=a2_0x3d4a9d,_0x30378b=new ParentSegmentValidateCommand(),_0x2c98b0=program['opts'](),_0x40d5f8=await createTDXInstance(_0x2c98b0),_0x489e46=await _0x30378b['run']({'options':{..._0x2c98b0,..._0x2023b0},'args':_0x9eb07e?[_0x9eb07e]:[],'tdx':_0x40d5f8});process[_0x2fd40b(0x348)](_0x489e46);}),parentSegmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x27c))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x351))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2f1),a2_0x3d4a9d(0x23a))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25e),a2_0x3d4a9d(0x293))['option'](a2_0x3d4a9d(0x31f),a2_0x3d4a9d(0x40d))[a2_0x3d4a9d(0x321)]('--enriched','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x22d),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3d4a9d(0x331))['action'](async(_0x41c7e3,_0x27f61e)=>{const _0x26e64c=a2_0x3d4a9d,_0x39e5b8=new ParentSegmentPreviewCommand(),_0xd97a46=program[_0x26e64c(0x289)](),_0x5962a3=await createTDXInstance(_0xd97a46),_0x388b36=await _0x39e5b8[_0x26e64c(0x1c9)]({'options':{..._0xd97a46,..._0x27f61e},'args':_0x41c7e3?[_0x41c7e3]:[],'tdx':_0x5962a3});process[_0x26e64c(0x348)](_0x388b36);}),parentSegmentCmd[a2_0x3d4a9d(0x27d)]('run\x20[name]')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2f6))['option'](a2_0x3d4a9d(0x3c1),a2_0x3d4a9d(0x259))[a2_0x3d4a9d(0x26e)](async(_0x2265a4,_0x36a674)=>{const _0x11d1f7=a2_0x3d4a9d,_0x56c25a=new ParentSegmentRunCommand(),_0xad3544=program['opts'](),_0xeb921a=await createTDXInstance(_0xad3544),_0x320d10=await _0x56c25a[_0x11d1f7(0x1c9)]({'options':{..._0xad3544,..._0x36a674},'args':_0x2265a4?[_0x2265a4]:[],'tdx':_0xeb921a});process[_0x11d1f7(0x348)](_0x320d10);}),parentSegmentCmd[a2_0x3d4a9d(0x27d)]('fields\x20[name]')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x38c))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x308),a2_0x3d4a9d(0x270))[a2_0x3d4a9d(0x321)]('--jsonl',a2_0x3d4a9d(0x2ee))[a2_0x3d4a9d(0x26e)](async(_0x5c6629,_0x39bfc2)=>{const _0x268bc4=a2_0x3d4a9d,_0x473a0f=new ParentSegmentFieldsCommand(),_0x18535d=program[_0x268bc4(0x289)](),_0x29cf00=await createTDXInstance(_0x18535d),_0x36b262=await _0x473a0f[_0x268bc4(0x1c9)]({'options':{..._0x18535d,..._0x39bfc2},'args':_0x5c6629?[_0x5c6629]:[],'tdx':_0x29cf00});process[_0x268bc4(0x348)](_0x36b262);}),parentSegmentCmd['command'](a2_0x3d4a9d(0x216))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2a4))[a2_0x3d4a9d(0x321)]('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x3d4a9d(0x321)]('--json',a2_0x3d4a9d(0x270))[a2_0x3d4a9d(0x321)]('--jsonl',a2_0x3d4a9d(0x2ee))[a2_0x3d4a9d(0x26e)](async(_0x5c0594,_0x1d261b)=>{const _0x92e579=a2_0x3d4a9d,_0x1990b1=new ParentSegmentViewCommand(),_0x239ab4=program[_0x92e579(0x289)](),_0x37cbd9=await createTDXInstance(_0x239ab4),_0x5bede7=await _0x1990b1['run']({'options':{..._0x239ab4,..._0x1d261b},'args':_0x5c0594?[_0x5c0594]:[],'tdx':_0x37cbd9});process[_0x92e579(0x348)](_0x5bede7);}),parentSegmentCmd['command'](a2_0x3d4a9d(0x2a9))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2ca))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x308),'Output\x20as\x20JSON')[a2_0x3d4a9d(0x321)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x3d4a9d(0x26e)](async(_0x1a27ce,_0x4ea41b)=>{const _0x403521=a2_0x3d4a9d,_0x1cf1b3=new ParentSegmentDescCommand(),_0x49c46e=program['opts'](),_0x164dbc=await createTDXInstance(_0x49c46e),_0x374d8d=await _0x1cf1b3[_0x403521(0x1c9)]({'options':{..._0x49c46e,..._0x4ea41b},'args':_0x1a27ce?[_0x1a27ce]:[],'tdx':_0x164dbc});process['exit'](_0x374d8d);}),parentSegmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2db))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2a8))[a2_0x3d4a9d(0x321)]('--json',a2_0x3d4a9d(0x270))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x37f),'Output\x20as\x20JSON\x20Lines')[a2_0x3d4a9d(0x26e)](async(_0x3b6dee,_0x341c2d)=>{const _0x377d60=a2_0x3d4a9d,_0x288cef=new ParentSegmentSQLCommand(),_0x27fe21=program[_0x377d60(0x289)](),_0x27fa1c=await createTDXInstance(_0x27fe21),_0x5e8945=await _0x288cef[_0x377d60(0x1c9)]({'options':{..._0x27fe21,..._0x341c2d},'args':_0x3b6dee?[_0x3b6dee]:[],'tdx':_0x27fa1c});process[_0x377d60(0x348)](_0x5e8945);}),parentSegmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3ee))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2bd))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x292),a2_0x3d4a9d(0x302))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x308),a2_0x3d4a9d(0x270))[a2_0x3d4a9d(0x321)]('--jsonl',a2_0x3d4a9d(0x2ee))[a2_0x3d4a9d(0x26e)](async(_0xafd388,_0xcdde4f)=>{const _0x3df5d1=a2_0x3d4a9d,_0x3a5bdb=new ParentSegmentShowCommand(),_0x17c694=program[_0x3df5d1(0x289)](),_0x312753=await createTDXInstance(_0x17c694),_0x227d59=await _0x3a5bdb[_0x3df5d1(0x1c9)]({'options':{..._0x17c694,..._0xcdde4f},'args':_0xafd388?[_0xafd388]:[],'tdx':_0x312753});process[_0x3df5d1(0x348)](_0x227d59);}),parentSegmentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2c2))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3d5))[a2_0x3d4a9d(0x26e)](async(_0x4c243c,_0x5dd2b2)=>{const _0x4f7b48=a2_0x3d4a9d,_0x12aebc=new UseCommand(),_0x2a8f7a=program['opts'](),_0x25a889=_0x4c243c?[_0x4f7b48(0x1f8),_0x4c243c]:[],_0xba9331=await _0x12aebc[_0x4f7b48(0x1c9)]({'options':{..._0x2a8f7a,..._0x5dd2b2},'args':_0x25a889,'tdx':null});process[_0x4f7b48(0x348)](_0xba9331);}),parentCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3f9))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x264))[a2_0x3d4a9d(0x3a0)](a2_0x3d4a9d(0x3b6),a2_0x3d4a9d(0x367))[a2_0x3d4a9d(0x3a0)](a2_0x3d4a9d(0x34c),a2_0x3d4a9d(0x235))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2b4),a2_0x3d4a9d(0x1c3))['option']('--schedule-type\x20<type>',a2_0x3d4a9d(0x323))['option'](a2_0x3d4a9d(0x3c2),a2_0x3d4a9d(0x20d))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x22a),a2_0x3d4a9d(0x417))[a2_0x3d4a9d(0x321)]('--attributes\x20<json>',a2_0x3d4a9d(0x2de))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x274),'Attributes\x20from\x20JSON\x20file')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x253),a2_0x3d4a9d(0x31d))[a2_0x3d4a9d(0x321)]('--behaviors-file\x20<file>','Behaviors\x20from\x20JSON\x20file')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x34d),'Customer\x20group\x20as\x20JSON\x20string')[a2_0x3d4a9d(0x321)]('--customer-group-file\x20<file>',a2_0x3d4a9d(0x2e9))[a2_0x3d4a9d(0x26e)](async(_0x372cfc,_0x30bf65)=>{const _0x33879b=a2_0x3d4a9d,_0x1fb2bd=new ParentSegmentCreateCommand(),_0x4ac005=program[_0x33879b(0x289)](),_0x87a070=await createTDXInstance(_0x4ac005),_0x283853=await _0x1fb2bd[_0x33879b(0x1c9)]({'options':{..._0x4ac005,..._0x30bf65},'args':[_0x372cfc],'tdx':_0x87a070});process[_0x33879b(0x348)](_0x283853);}),parentCmd[a2_0x3d4a9d(0x27d)]('update\x20<name>')['description'](a2_0x3d4a9d(0x3d0))[a2_0x3d4a9d(0x321)]('--description\x20<text>',a2_0x3d4a9d(0x3c7))['option'](a2_0x3d4a9d(0x211),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c2),'Updated\x20schedule\x20option')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x22a),a2_0x3d4a9d(0x1d4))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x356),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x3d4a9d(0x321)]('--add-attributes-file\x20<file>','Add\x20attributes\x20from\x20JSON\x20file')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x412),a2_0x3d4a9d(0x339))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3d2),a2_0x3d4a9d(0x2aa))[a2_0x3d4a9d(0x26e)](async(_0x436bfd,_0x308cf2)=>{const _0x411821=a2_0x3d4a9d,_0x53cd45=new ParentSegmentUpdateCommand(),_0xaad3b4=program[_0x411821(0x289)](),_0x268ea8=await createTDXInstance(_0xaad3b4),_0x49cdc0=await _0x53cd45[_0x411821(0x1c9)]({'options':{..._0xaad3b4,..._0x308cf2},'args':[_0x436bfd],'tdx':_0x268ea8});process[_0x411821(0x348)](_0x49cdc0);}),folderCmd['command'](a2_0x3d4a9d(0x400))[a2_0x3d4a9d(0x1f1)]('Create\x20segment\x20folder')['option'](a2_0x3d4a9d(0x2b4),a2_0x3d4a9d(0x38e))['option'](a2_0x3d4a9d(0x1ee),a2_0x3d4a9d(0x257))[a2_0x3d4a9d(0x26e)](async(_0x2ecba7,_0x34089d,_0x47013f)=>{const _0x3b93fc=a2_0x3d4a9d,_0x16e2b4=new SegmentFolderCreateCommand(),_0x5f1417=program[_0x3b93fc(0x289)](),_0x5e10d1=await createTDXInstance(_0x5f1417),_0x161ab5=await _0x16e2b4[_0x3b93fc(0x1c9)]({'options':{..._0x5f1417,..._0x47013f},'args':[_0x2ecba7,_0x34089d],'tdx':_0x5e10d1});process[_0x3b93fc(0x348)](_0x161ab5);}),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3e3))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2b9))[a2_0x3d4a9d(0x26e)](async(_0x22ee7a,_0xd928ba)=>{const _0x33f19e=a2_0x3d4a9d,_0x10e0ec=new ActivationsCommand(),_0x3ecdb2=program[_0x33f19e(0x289)](),_0x2a55a0=await createTDXInstance(_0x3ecdb2),_0x24db2b=await _0x10e0ec[_0x33f19e(0x1c9)]({'options':{..._0x3ecdb2,..._0xd928ba},'args':[_0x22ee7a],'tdx':_0x2a55a0});process['exit'](_0x24db2b);});const workflowCmd=program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x343))['alias']('wf')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x20e)),wfProjectCmd=workflowCmd['command'](a2_0x3d4a9d(0x34a))['description'](a2_0x3d4a9d(0x2e1)),wfProjectListAction=async(_0x8554ca,_0x49de70)=>{const _0x3fbd96=a2_0x3d4a9d,_0xad8fd4=new WorkflowProjectsCommand(),_0x5f1344=program[_0x3fbd96(0x289)](),_0x47f242=await createTDXInstance(_0x5f1344),_0x5c016e=await _0xad8fd4[_0x3fbd96(0x1c9)]({'options':{..._0x5f1344,..._0x49de70},'args':_0x8554ca?[_0x8554ca]:[],'tdx':_0x47f242});process[_0x3fbd96(0x348)](_0x5c016e);};wfProjectCmd['command'](a2_0x3d4a9d(0x26a))['description'](a2_0x3d4a9d(0x1df))[a2_0x3d4a9d(0x26e)](wfProjectListAction),workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2c4))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3ac))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x5a6ecf,_0x118af3)=>{const _0x2de8b8=a2_0x3d4a9d,_0x2f9696=new WorkflowWorkflowsCommand(),_0x52775f=program[_0x2de8b8(0x289)](),_0x4a5a4b=await createTDXInstance(_0x52775f),_0x2fb73f=await _0x2f9696[_0x2de8b8(0x1c9)]({'options':{..._0x52775f,..._0x118af3},'args':_0x5a6ecf?[_0x5a6ecf]:[],'tdx':_0x4a5a4b});process[_0x2de8b8(0x348)](_0x2fb73f);};workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x23f))[a2_0x3d4a9d(0x1f1)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x3d4a9d(0x26e)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3d4a9d(0x27d)]('session')['description'](a2_0x3d4a9d(0x2ed)),wfSessionListAction=async(_0x4c2d57,_0x307f1c)=>{const _0x11a1d4=a2_0x3d4a9d,_0x4195f2=new WorkflowSessionsCommand(),_0x4beda4=program[_0x11a1d4(0x289)](),_0x1a5f22=await createTDXInstance(_0x4beda4),_0x3ee7ad=await _0x4195f2[_0x11a1d4(0x1c9)]({'options':{..._0x4beda4,..._0x307f1c},'args':_0x4c2d57?[_0x4c2d57]:[],'tdx':_0x1a5f22});process[_0x11a1d4(0x348)](_0x3ee7ad);};wfSessionCmd['command'](a2_0x3d4a9d(0x1ed))['description'](a2_0x3d4a9d(0x2f3))['option'](a2_0x3d4a9d(0x39d),a2_0x3d4a9d(0x3fe))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25b),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x335),a2_0x3d4a9d(0x28b))[a2_0x3d4a9d(0x26e)](wfSessionListAction),workflowCmd['command'](a2_0x3d4a9d(0x228))['description'](a2_0x3d4a9d(0x3cd))['option'](a2_0x3d4a9d(0x39d),a2_0x3d4a9d(0x3fe))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25b),a2_0x3d4a9d(0x28c))[a2_0x3d4a9d(0x321)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x3d4a9d(0x26e)](wfSessionListAction);const wfAttemptListAction=async(_0x25acef,_0x101220)=>{const _0x1eb614=a2_0x3d4a9d,_0x207ec6=new WorkflowAttemptsCommand(),_0xb78c77=program[_0x1eb614(0x289)](),_0x221059=await createTDXInstance(_0xb78c77),_0x510ae3=await _0x207ec6[_0x1eb614(0x1c9)]({'options':{..._0xb78c77,..._0x101220},'args':_0x25acef?[_0x25acef]:[],'tdx':_0x221059});process[_0x1eb614(0x348)](_0x510ae3);},attemptCmd=workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x337))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3fb))['argument'](a2_0x3d4a9d(0x287),a2_0x3d4a9d(0x29c))[a2_0x3d4a9d(0x24d)](a2_0x3d4a9d(0x1f9),a2_0x3d4a9d(0x39b))[a2_0x3d4a9d(0x24d)](a2_0x3d4a9d(0x3ab),a2_0x3d4a9d(0x393))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1f0),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x305),'Reason\x20for\x20killing\x20the\x20attempt')['option'](a2_0x3d4a9d(0x395),a2_0x3d4a9d(0x3b3))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x246),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2d0),a2_0x3d4a9d(0x1c5))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x23c),a2_0x3d4a9d(0x297))[a2_0x3d4a9d(0x26e)](async(_0x2fe910,_0x3a49fd,_0x5db666,_0x1d077a)=>{const _0x18fee0=a2_0x3d4a9d;if(_0x2fe910===_0x18fee0(0x1dc)){await wfAttemptListAction(_0x3a49fd,_0x1d077a);return;}if(!_0x2fe910){attemptCmd['help']();return;}const _0x13bd7=program[_0x18fee0(0x289)](),_0x1a6071=await createTDXInstance(_0x13bd7);let _0x3c8c18=0x0;if(!_0x3a49fd){const _0x1edb83=new WorkflowAttemptCommand();_0x3c8c18=await _0x1edb83['run']({'options':{..._0x13bd7,..._0x1d077a},'args':[_0x2fe910],'tdx':_0x1a6071});}else{if(_0x3a49fd===_0x18fee0(0x36b)){const _0x2983fa=new WorkflowLogsCommand();_0x3c8c18=await _0x2983fa[_0x18fee0(0x1c9)]({'options':{..._0x13bd7,..._0x1d077a},'args':_0x5db666?[_0x2fe910,_0x5db666]:[_0x2fe910],'tdx':_0x1a6071});}else{if(_0x3a49fd===_0x18fee0(0x2d3)){const _0xb4e7bc=new WorkflowTasksCommand();_0x3c8c18=await _0xb4e7bc[_0x18fee0(0x1c9)]({'options':{..._0x13bd7,..._0x1d077a},'args':[_0x2fe910],'tdx':_0x1a6071});}else{if(_0x3a49fd===_0x18fee0(0x230)){const _0x50cd1b=new WorkflowKillCommand();_0x3c8c18=await _0x50cd1b[_0x18fee0(0x1c9)]({'options':{..._0x13bd7,..._0x1d077a},'args':[_0x2fe910],'tdx':_0x1a6071});}else{if(_0x3a49fd===_0x18fee0(0x3dc)){const _0x3137ba=new WorkflowRetryCommand();_0x3c8c18=await _0x3137ba[_0x18fee0(0x1c9)]({'options':{..._0x13bd7,..._0x1d077a},'args':[_0x18fee0(0x2c5)+_0x2fe910],'tdx':_0x1a6071});}else console['error'](_0x18fee0(0x368)+_0x3a49fd),console[_0x18fee0(0x288)](_0x18fee0(0x3af)),_0x3c8c18=0x1;}}}}process[_0x18fee0(0x348)](_0x3c8c18);});attemptCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x1ed))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x38d))['option'](a2_0x3d4a9d(0x23c),a2_0x3d4a9d(0x24e))[a2_0x3d4a9d(0x26e)](wfAttemptListAction),workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x205))['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x23c),a2_0x3d4a9d(0x24e))[a2_0x3d4a9d(0x26e)](wfAttemptListAction),workflowCmd[a2_0x3d4a9d(0x27d)]('retry\x20<session-id>')['description'](a2_0x3d4a9d(0x2ab))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3ae),a2_0x3d4a9d(0x32f))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x246),a2_0x3d4a9d(0x29f))[a2_0x3d4a9d(0x26e)](async(_0x22f948,_0x5b5daf)=>{const _0x347936=a2_0x3d4a9d,_0x479bab=new WorkflowRetryCommand(),_0x5710e0=program[_0x347936(0x289)](),_0x4decc6=await createTDXInstance(_0x5710e0),_0x42b8e1=await _0x479bab['run']({'options':{..._0x5710e0,..._0x5b5daf},'args':[_0x22f948],'tdx':_0x4decc6});process[_0x347936(0x348)](_0x42b8e1);}),workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3cf))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x344))['option'](a2_0x3d4a9d(0x1c1),'Workflow\x20parameter\x20(repeatable)',(_0x435abf,_0x53fb50=[])=>[..._0x53fb50,_0x435abf],[])[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x40f),a2_0x3d4a9d(0x20f))[a2_0x3d4a9d(0x26e)](async(_0x1d6d29,_0x279af2)=>{const _0x12ecf5=a2_0x3d4a9d,_0x27f338=new WorkflowRunCommand(),_0x23c464=program[_0x12ecf5(0x289)](),_0x5761bb=await createTDXInstance(_0x23c464),_0x3bf74a=await _0x27f338['run']({'options':{..._0x23c464,..._0x279af2},'args':_0x1d6d29?[_0x1d6d29]:[],'tdx':_0x5761bb});process['exit'](_0x3bf74a);}),workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3ff))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3e5))[a2_0x3d4a9d(0x321)]('--revision\x20<revision>',a2_0x3d4a9d(0x363))[a2_0x3d4a9d(0x26e)](async(_0x5d83c6,_0x47e5e5,_0x3534c5)=>{const _0x5438ba=a2_0x3d4a9d,_0x5e9bb1=new WorkflowDownloadCommand(),_0x5e9bdb=program[_0x5438ba(0x289)](),_0x52aadd=await createTDXInstance(_0x5e9bdb),_0x16d4d9=await _0x5e9bb1[_0x5438ba(0x1c9)]({'options':{..._0x5e9bdb,..._0x3534c5},'args':[_0x5d83c6,_0x47e5e5||'.'],'tdx':_0x52aadd});process[_0x5438ba(0x348)](_0x16d4d9);}),workflowCmd[a2_0x3d4a9d(0x27d)]('pull\x20<project>\x20[target-dir]')['description'](a2_0x3d4a9d(0x39a))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2fb),a2_0x3d4a9d(0x3a5))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x37b),a2_0x3d4a9d(0x3f3))[a2_0x3d4a9d(0x321)]('-y,\x20--yes',a2_0x3d4a9d(0x259))['action'](async(_0x296bfe,_0x588542,_0x175def)=>{const _0x2aaa77=a2_0x3d4a9d,_0x375790=new WorkflowPullCommand(),_0x27d452=program[_0x2aaa77(0x289)](),_0x5bce65=await createTDXInstance(_0x27d452),_0x492fa7=await _0x375790['run']({'options':{..._0x27d452,..._0x175def},'args':_0x588542?[_0x296bfe,_0x588542]:[_0x296bfe],'tdx':_0x5bce65});process[_0x2aaa77(0x348)](_0x492fa7);}),workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x37e))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x273))['option'](a2_0x3d4a9d(0x2fb),a2_0x3d4a9d(0x206))['option'](a2_0x3d4a9d(0x37b),a2_0x3d4a9d(0x204))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x322),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3d4a9d(0x321)]('-y,\x20--yes',a2_0x3d4a9d(0x259))['action'](async(_0x3ab3de,_0x1e69f7)=>{const _0x55ca27=a2_0x3d4a9d,_0x26fb9f=new WorkflowPushCommand(),_0x5d524c=program[_0x55ca27(0x289)](),_0x1d102b=await createTDXInstance(_0x5d524c),_0x294725=await _0x26fb9f[_0x55ca27(0x1c9)]({'options':{..._0x5d524c,..._0x1e69f7},'args':_0x3ab3de?[_0x3ab3de]:[],'tdx':_0x1d102b});process[_0x55ca27(0x348)](_0x294725);}),workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x1f5))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3b7))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x275),a2_0x3d4a9d(0x21e))['option'](a2_0x3d4a9d(0x2fb),a2_0x3d4a9d(0x22b))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x322),a2_0x3d4a9d(0x1c2))[a2_0x3d4a9d(0x26e)](async(_0x2fb1d6,_0x310ec1)=>{const _0x114369=a2_0x3d4a9d,_0x1e12cb=new WorkflowUploadCommand(),_0x4b9d4a=program[_0x114369(0x289)](),_0x3d75b7=await createTDXInstance(_0x4b9d4a),_0x548aea=await _0x1e12cb[_0x114369(0x1c9)]({'options':{..._0x4b9d4a,..._0x310ec1},'args':_0x2fb1d6?[_0x2fb1d6]:[],'tdx':_0x3d75b7});process[_0x114369(0x348)](_0x548aea);}),workflowCmd['command']('clone\x20[source-dir]')[a2_0x3d4a9d(0x1f1)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x275),a2_0x3d4a9d(0x258))[a2_0x3d4a9d(0x321)]('--revision\x20<revision>',a2_0x3d4a9d(0x206))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x37b),'Preview\x20without\x20creating\x20the\x20project')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x322),a2_0x3d4a9d(0x1c2))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c1),a2_0x3d4a9d(0x259))[a2_0x3d4a9d(0x26e)](async(_0x7f9dcd,_0x4196f8)=>{const _0x521aa1=a2_0x3d4a9d,_0x7f792=new WorkflowCloneCommand(),_0x187d9f=program[_0x521aa1(0x289)](),_0xc1efdd=await createTDXInstance(_0x187d9f),_0x431932=await _0x7f792['run']({'options':{..._0x187d9f,..._0x4196f8},'args':_0x7f9dcd?[_0x7f9dcd]:[],'tdx':_0xc1efdd});process[_0x521aa1(0x348)](_0x431932);}),workflowCmd['command'](a2_0x3d4a9d(0x2b3))['description'](a2_0x3d4a9d(0x319))[a2_0x3d4a9d(0x26e)](async(_0x147ac3,_0x270a4d)=>{const _0x43ebdc=a2_0x3d4a9d,_0x1a310d=new WorkflowDeleteCommand(),_0x3153e3=program[_0x43ebdc(0x289)](),_0x196ad1=await createTDXInstance(_0x3153e3),_0x355415=await _0x1a310d[_0x43ebdc(0x1c9)]({'options':{..._0x3153e3,..._0x270a4d},'args':[_0x147ac3],'tdx':_0x196ad1});process[_0x43ebdc(0x348)](_0x355415);}),workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x310))[a2_0x3d4a9d(0x1f1)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')['option'](a2_0x3d4a9d(0x1da),a2_0x3d4a9d(0x385))[a2_0x3d4a9d(0x26e)](async(_0x1fc3c,_0x552764)=>{const _0x84dab=a2_0x3d4a9d,_0x4c92fb=new WorkflowUseCommand(),_0x5bfa6d=program[_0x84dab(0x289)](),_0x4a9a82=await createTDXInstance(_0x5bfa6d),_0x201657=await _0x4c92fb[_0x84dab(0x1c9)]({'options':{..._0x5bfa6d,..._0x552764},'args':_0x1fc3c?[_0x1fc3c]:[],'tdx':_0x4a9a82});process[_0x84dab(0x348)](_0x201657);});const wfSecretsCmd=workflowCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x240))['description'](a2_0x3d4a9d(0x3a4));wfSecretsCmd[a2_0x3d4a9d(0x27d)]('list\x20[project]')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2bc))['action'](async(_0x3d46e0,_0xc165f8)=>{const _0x1e5bcc=a2_0x3d4a9d,_0x428605=new WorkflowSecretsListCommand(),_0x4b14dc=program[_0x1e5bcc(0x289)](),_0x341df4=await createTDXInstance(_0x4b14dc),_0x3e645d=await _0x428605[_0x1e5bcc(0x1c9)]({'options':{..._0x4b14dc,..._0xc165f8},'args':_0x3d46e0?[_0x3d46e0]:[],'tdx':_0x341df4});process[_0x1e5bcc(0x348)](_0x3e645d);}),wfSecretsCmd['command']('set\x20<args...>')[a2_0x3d4a9d(0x1f1)]('Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)')[a2_0x3d4a9d(0x26e)](async(_0x101e59,_0x13619f)=>{const _0x333567=a2_0x3d4a9d,_0x539e51=new WorkflowSecretsSetCommand(),_0x5e80e7=program['opts'](),_0x411ea3=await createTDXInstance(_0x5e80e7),_0x4e63c2=await _0x539e51['run']({'options':{..._0x5e80e7,..._0x13619f},'args':_0x101e59,'tdx':_0x411ea3});process[_0x333567(0x348)](_0x4e63c2);}),wfSecretsCmd['command'](a2_0x3d4a9d(0x2c1))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x38b))[a2_0x3d4a9d(0x321)]('-y,\x20--yes',a2_0x3d4a9d(0x259))[a2_0x3d4a9d(0x26e)](async(_0x465ef1,_0x3dd5f8)=>{const _0x2be33f=a2_0x3d4a9d,_0x48325a=new WorkflowSecretsDeleteCommand(),_0x28bb68=program[_0x2be33f(0x289)](),_0x25cd05=await createTDXInstance(_0x28bb68),_0x530313=await _0x48325a[_0x2be33f(0x1c9)]({'options':{..._0x28bb68,..._0x3dd5f8},'args':_0x465ef1,'tdx':_0x25cd05});process[_0x2be33f(0x348)](_0x530313);});const jobCmd=program[a2_0x3d4a9d(0x27d)]('job')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x416)),jobListAction=async _0x2c2de0=>{const _0x44012e=a2_0x3d4a9d,_0x2ade54=new JobListCommand(),_0x54a357=program[_0x44012e(0x289)](),_0x37d2df=await createTDXInstance(_0x54a357),_0x5b29ca=await _0x2ade54[_0x44012e(0x1c9)]({'options':{..._0x54a357,..._0x2c2de0},'args':[],'tdx':_0x37d2df});process[_0x44012e(0x348)](_0x5b29ca);};jobCmd['command']('list')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x415))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x39d),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x3d4a9d(0x26e)](jobListAction),program[a2_0x3d4a9d(0x27d)]('jobs',{'hidden':!![]})[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x202))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x39d),a2_0x3d4a9d(0x37c))['action'](jobListAction),jobCmd['command'](a2_0x3d4a9d(0x2f9))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x39e))[a2_0x3d4a9d(0x26e)](async(_0x2eff0a,_0x16ffca)=>{const _0xe24232=a2_0x3d4a9d,_0x47abeb=new JobShowCommand(),_0x5066a3=program['opts'](),_0x5662aa=await createTDXInstance(_0x5066a3),_0x2b0f4a=await _0x47abeb[_0xe24232(0x1c9)]({'options':{..._0x5066a3,..._0x16ffca},'args':[_0x2eff0a],'tdx':_0x5662aa});process[_0xe24232(0x348)](_0x2b0f4a);}),jobCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3b5))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x22f))['action'](async(_0x2c3227,_0x4822b2)=>{const _0x57bf2c=a2_0x3d4a9d,_0x1db6b1=new JobKillCommand(),_0x5352de=program[_0x57bf2c(0x289)](),_0x9f44cd=await createTDXInstance(_0x5352de),_0x256488=await _0x1db6b1[_0x57bf2c(0x1c9)]({'options':{..._0x5352de,..._0x4822b2},'args':[_0x2c3227],'tdx':_0x9f44cd});process['exit'](_0x256488);}),jobCmd['command'](a2_0x3d4a9d(0x27b))['description'](a2_0x3d4a9d(0x2e8))[a2_0x3d4a9d(0x321)]('--job-type\x20<type>',a2_0x3d4a9d(0x22c),a2_0x3d4a9d(0x3b2))[a2_0x3d4a9d(0x321)]('-f,\x20--file\x20<path>',a2_0x3d4a9d(0x408))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2ff),a2_0x3d4a9d(0x1e2),a2_0x3d4a9d(0x364))['action'](async(_0x152547,_0x3952ff)=>{const _0x2bbec5=a2_0x3d4a9d,_0x500259=new JobSubmitCommand(),_0x182c8d=program['opts'](),_0x3475de=await createTDXInstance(_0x182c8d),_0x2923e5=await _0x500259[_0x2bbec5(0x1c9)]({'options':{..._0x182c8d,..._0x3952ff},'args':_0x152547?[_0x152547]:[],'tdx':_0x3475de});process[_0x2bbec5(0x348)](_0x2923e5);}),jobCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x35b))['description'](a2_0x3d4a9d(0x345))[a2_0x3d4a9d(0x26e)](async(_0x46d4f8,_0x1eb2b7)=>{const _0x47a6c6=a2_0x3d4a9d,_0xb1b73=new JobResultCommand(),_0xc1e8bb=program[_0x47a6c6(0x289)](),_0x343287=await createTDXInstance(_0xc1e8bb),_0x21378a=await _0xb1b73['run']({'options':{..._0xc1e8bb,..._0x1eb2b7},'args':[_0x46d4f8],'tdx':_0x343287});process[_0x47a6c6(0x348)](_0x21378a);});const llmCmd=program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3d3))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x330));llmCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3d9))['description']('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x3d4a9d(0x26e)](async(_0x1264a2,_0x128890)=>{const _0x5be49b=a2_0x3d4a9d,_0x1fd450=new LLMUseCommand(),_0x4199ef=program['opts'](),_0x5c8e7d=await createTDXInstance(_0x4199ef),_0x452221=await _0x1fd450[_0x5be49b(0x1c9)]({'options':{..._0x4199ef,..._0x128890},'args':[_0x1264a2],'tdx':_0x5c8e7d});process[_0x5be49b(0x348)](_0x452221);}),llmCmd[a2_0x3d4a9d(0x27d)]('models')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x262))['action'](async _0x216414=>{const _0xc58c58=a2_0x3d4a9d,_0x18edf3=new LLMModelsCommand(),_0x388265=program['opts'](),_0x32e4a8=await createTDXInstance(_0x388265),_0x299a1a=await _0x18edf3[_0xc58c58(0x1c9)]({'options':{..._0x388265,..._0x216414},'args':[],'tdx':_0x32e4a8});process['exit'](_0x299a1a);});const projectCmd=llmCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x34a))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x291)),llmProjectListAction=async(_0x349f95,_0x3d803f)=>{const _0x5b8f77=a2_0x3d4a9d,_0x43dbb8=new LLMProjectsCommand(),_0x536482=program[_0x5b8f77(0x289)](),_0x100b16=await createTDXInstance(_0x536482),_0x52e7e0=await _0x43dbb8['run']({'options':{..._0x536482,..._0x3d803f},'args':_0x349f95?[_0x349f95]:[],'tdx':_0x100b16});process[_0x5b8f77(0x348)](_0x52e7e0);};projectCmd['command'](a2_0x3d4a9d(0x26a))[a2_0x3d4a9d(0x1f1)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x255),a2_0x3d4a9d(0x320))['action'](llmProjectListAction),llmCmd[a2_0x3d4a9d(0x27d)]('projects\x20[pattern]')['description'](a2_0x3d4a9d(0x309))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x255),a2_0x3d4a9d(0x320))[a2_0x3d4a9d(0x26e)](llmProjectListAction),projectCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3f9))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3bb))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2b4),a2_0x3d4a9d(0x315))[a2_0x3d4a9d(0x26e)](async(_0x1bc1d0,_0x1aafd5)=>{const _0x4938b9=a2_0x3d4a9d,_0x4d63bf=new LLMProjectCreateCommand(),_0x22a617=program[_0x4938b9(0x289)](),_0x5af801=await createTDXInstance(_0x22a617),_0x36cee9=await _0x4d63bf[_0x4938b9(0x1c9)]({'options':{..._0x22a617,..._0x1aafd5},'args':[_0x1bc1d0],'tdx':_0x5af801});process[_0x4938b9(0x348)](_0x36cee9);}),projectCmd[a2_0x3d4a9d(0x27d)]('delete\x20<name>')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x1cf))[a2_0x3d4a9d(0x26e)](async(_0x444ca9,_0x5a5b43)=>{const _0x23e79e=a2_0x3d4a9d,_0xd6318d=new LLMProjectDeleteCommand(),_0x7213fd=program[_0x23e79e(0x289)](),_0x1d9087=await createTDXInstance(_0x7213fd),_0x13d7eb=await _0xd6318d[_0x23e79e(0x1c9)]({'options':{..._0x7213fd,..._0x5a5b43},'args':[_0x444ca9],'tdx':_0x1d9087});process['exit'](_0x13d7eb);}),projectCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x277))['description'](a2_0x3d4a9d(0x326))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x33f),a2_0x3d4a9d(0x2e0))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x37b),a2_0x3d4a9d(0x300))[a2_0x3d4a9d(0x26e)](async(_0x4b9294,_0xe10216)=>{const _0x354941=a2_0x3d4a9d,_0x9addcc=new LLMProjectBackupCommand(),_0xedf708=program[_0x354941(0x289)](),_0x4982b5=await createTDXInstance(_0xedf708),_0x4faf17=await _0x9addcc['run']({'options':{..._0xedf708,..._0xe10216},'args':[_0x4b9294],'tdx':_0x4982b5});process[_0x354941(0x348)](_0x4faf17);}),projectCmd[a2_0x3d4a9d(0x27d)]('restore\x20<folder>')['description'](a2_0x3d4a9d(0x286))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3fa),a2_0x3d4a9d(0x1d0))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x37b),a2_0x3d4a9d(0x218))[a2_0x3d4a9d(0x26e)](async(_0xac23ef,_0x571d2e)=>{const _0x1c6753=a2_0x3d4a9d,_0x59bae1=new LLMProjectRestoreCommand(),_0x18fb6a=program['opts'](),_0x43b63b=await createTDXInstance(_0x18fb6a),_0x3b0b1d=await _0x59bae1[_0x1c6753(0x1c9)]({'options':{..._0x18fb6a,..._0x571d2e},'args':[_0xac23ef],'tdx':_0x43b63b});process[_0x1c6753(0x348)](_0x3b0b1d);});const llmAgentListAction=async(_0x531eb5,_0x577a69)=>{const _0x214e94=a2_0x3d4a9d,_0x44a92a=new LLMAgentsCommand(),_0x24622d=program[_0x214e94(0x289)](),_0x390be5=await createTDXInstance(_0x24622d),_0x1b2b15=await _0x44a92a[_0x214e94(0x1c9)]({'options':{..._0x24622d,..._0x577a69},'args':_0x531eb5?[_0x531eb5]:[],'tdx':_0x390be5});process['exit'](_0x1b2b15);};llmCmd[a2_0x3d4a9d(0x27d)]('agents\x20[pattern]')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x24a))[a2_0x3d4a9d(0x321)]('-w,\x20--web',a2_0x3d4a9d(0x223))[a2_0x3d4a9d(0x26e)](llmAgentListAction),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3c4))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x24a))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x255),a2_0x3d4a9d(0x223))[a2_0x3d4a9d(0x26e)](llmAgentListAction),llmCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x236))[a2_0x3d4a9d(0x1f1)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x3d4a9d(0x321)]('--last',a2_0x3d4a9d(0x27f))[a2_0x3d4a9d(0x26e)](async(_0x410969,_0x133c05)=>{const _0xcf8b8e=a2_0x3d4a9d,_0x4eb3af=new LLMHistoryCommand(),_0x20845e=program[_0xcf8b8e(0x289)](),_0x626d4b=await createTDXInstance(_0x20845e),_0x7b827f=await _0x4eb3af[_0xcf8b8e(0x1c9)]({'options':{..._0x20845e,..._0x133c05},'args':_0x410969?[_0x410969]:[],'tdx':_0x626d4b});process[_0xcf8b8e(0x348)](_0x7b827f);}),llmCmd[a2_0x3d4a9d(0x27d)]('proxy')[a2_0x3d4a9d(0x1f1)]('[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1e7),a2_0x3d4a9d(0x1fc),'4000')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x26c),a2_0x3d4a9d(0x35a))[a2_0x3d4a9d(0x321)]('--agent\x20<name>',a2_0x3d4a9d(0x2e7))['action'](async _0x240e40=>{const _0x20cbd0=a2_0x3d4a9d,_0x4d15f4=new LLMProxyCommand(),_0x5bfc40=program['opts'](),_0x58a4f9=await createTDXInstance(_0x5bfc40),_0x59c0ba={..._0x240e40,'port':_0x240e40[_0x20cbd0(0x2a3)]?parseInt(_0x240e40[_0x20cbd0(0x2a3)],0xa):undefined},_0xfdb3bc=await _0x4d15f4['run']({'options':{..._0x5bfc40,..._0x59c0ba},'args':[],'tdx':_0x58a4f9});process['exit'](_0xfdb3bc);}),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3fc))[a2_0x3d4a9d(0x232)]('[options]\x20--\x20[claude-code-args...]')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x340))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1c6),a2_0x3d4a9d(0x407),'sonnet')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x392),a2_0x3d4a9d(0x265))['option'](a2_0x3d4a9d(0x276),'Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2cd),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x3d4a9d(0x2d5)]()[a2_0x3d4a9d(0x296)](!![])[a2_0x3d4a9d(0x2c0)]('after',a2_0x3d4a9d(0x23b))[a2_0x3d4a9d(0x26e)](async(_0x1f0552,_0x264df0)=>{const _0x56987d=a2_0x3d4a9d,_0x43b529=program[_0x56987d(0x289)](),_0x5bcf48=Array[_0x56987d(0x28f)](_0x1f0552)?_0x1f0552:[];if(_0x5bcf48[0x0]===_0x56987d(0x303)){const _0x2e9f73=new ClaudeStatuslineCommand(),_0x16d064=await _0x2e9f73[_0x56987d(0x1c9)]({'options':{..._0x43b529,..._0x264df0},'args':_0x5bcf48[_0x56987d(0x247)](0x1),'tdx':null});process['exit'](_0x16d064);}if(_0x5bcf48[0x0]===_0x56987d(0x232)){const _0x47e94e=new ClaudeUsageCommand(),_0x3b0da7=await _0x47e94e[_0x56987d(0x1c9)]({'options':{..._0x43b529,..._0x264df0},'args':_0x5bcf48['slice'](0x1),'tdx':null});process[_0x56987d(0x348)](_0x3b0da7);}const _0x1f88c0=new ClaudeCommand(),_0x33da23=await createTDXInstance(_0x43b529),_0x39f460=await _0x1f88c0['run']({'options':{..._0x43b529,..._0x264df0},'args':_0x5bcf48,'tdx':_0x33da23});process[_0x56987d(0x348)](_0x39f460);}),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x1e5))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x201))['option'](a2_0x3d4a9d(0x1da),'Clear\x20session\x20context')[a2_0x3d4a9d(0x26e)](async _0x4d94fc=>{const _0x2691f9=a2_0x3d4a9d,_0x5da8be=new ContextCommand(),_0x467caa=program[_0x2691f9(0x289)](),_0x377e89=await _0x5da8be[_0x2691f9(0x1c9)]({'options':{..._0x467caa,..._0x4d94fc},'args':[],'tdx':null});process[_0x2691f9(0x348)](_0x377e89);}),program[a2_0x3d4a9d(0x27d)]('use\x20[resource]\x20[value]')['description']('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1da),a2_0x3d4a9d(0x2eb))[a2_0x3d4a9d(0x26e)](async(_0x5bd806,_0x3629de,_0x42555d)=>{const _0x41184b=a2_0x3d4a9d,_0xa9417c=new UseCommand(),_0x54eea4=program[_0x41184b(0x289)](),_0x31ea3e=[];if(_0x5bd806)_0x31ea3e[_0x41184b(0x317)](_0x5bd806);if(_0x3629de)_0x31ea3e[_0x41184b(0x317)](_0x3629de);const _0x1af3ce=await _0xa9417c['run']({'options':{..._0x54eea4,..._0x42555d},'args':_0x31ea3e,'tdx':null});process[_0x41184b(0x348)](_0x1af3ce);}),program[a2_0x3d4a9d(0x27d)]('chats')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2a1))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x28d),a2_0x3d4a9d(0x283))['action'](async _0xbcf21d=>{const _0x19b3c1=a2_0x3d4a9d,_0x5ee3ee=new ChatsCommand(),_0x45a40b=program[_0x19b3c1(0x289)](),_0x51e90b=await createTDXInstance(_0x45a40b),_0x9b969f=await _0x5ee3ee[_0x19b3c1(0x1c9)]({'options':{..._0x45a40b,..._0xbcf21d},'args':[],'tdx':_0x51e90b});process[_0x19b3c1(0x348)](_0x9b969f);});const authCmd=program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x382))['description'](a2_0x3d4a9d(0x2d6));async function runAuthStatusCommand(_0x4205e8){const _0x3f1b29=a2_0x3d4a9d,_0x313e8c=new AuthStatusCommand(),_0x562f20=program[_0x3f1b29(0x289)](),_0x1f872d=await createTDXInstance(_0x562f20),_0x59d0e1=await _0x313e8c['run']({'options':{..._0x562f20,..._0x4205e8},'args':[],'tdx':_0x1f872d});process[_0x3f1b29(0x348)](_0x59d0e1);}authCmd[a2_0x3d4a9d(0x26e)](runAuthStatusCommand),authCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x418))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3c6))[a2_0x3d4a9d(0x26e)](runAuthStatusCommand),authCmd[a2_0x3d4a9d(0x27d)]('setup')[a2_0x3d4a9d(0x1f1)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x3d4a9d(0x2c0)](a2_0x3d4a9d(0x217),a2_0x3d4a9d(0x269))[a2_0x3d4a9d(0x26e)](async _0x39ded8=>{const _0x1cdc06=a2_0x3d4a9d,_0x3332de=new AuthSetupCommand(),_0x21db30=program[_0x1cdc06(0x289)](),_0x1a92cd=await createTDXInstance(_0x21db30),_0x3643dd=await _0x3332de[_0x1cdc06(0x1c9)]({'options':{..._0x21db30,..._0x39ded8},'args':[],'tdx':_0x1a92cd});process['exit'](_0x3643dd);}),authCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2e4))['description'](a2_0x3d4a9d(0x266))[a2_0x3d4a9d(0x2c0)](a2_0x3d4a9d(0x217),a2_0x3d4a9d(0x2fa))[a2_0x3d4a9d(0x26e)](async _0x3ebb2e=>{const _0xd0358b=a2_0x3d4a9d,_0x130bd4=new AuthClearCommand(),_0x57c290=program[_0xd0358b(0x289)](),_0x27c7ff=await _0x130bd4[_0xd0358b(0x1c9)]({'options':{..._0x57c290,..._0x3ebb2e},'args':[],'tdx':null});process[_0xd0358b(0x348)](_0x27c7ff);});const userCmd=program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3aa))['description'](a2_0x3d4a9d(0x3ce)),userListAction=async _0x20761f=>{const _0x2187f1=a2_0x3d4a9d,_0x5345b1=new UserListCommand(),_0x27527c=program['opts'](),_0xf210da=await createTDXInstance(_0x27527c),_0x29f9f8=await _0x5345b1[_0x2187f1(0x1c9)]({'options':{..._0x27527c,..._0x20761f},'args':[],'tdx':_0xf210da});process[_0x2187f1(0x348)](_0x29f9f8);};userCmd[a2_0x3d4a9d(0x26e)](async _0x23572b=>{const _0x25ebd0=a2_0x3d4a9d,_0x30d5a3=new UserCommand(),_0x14a458=program[_0x25ebd0(0x289)](),_0x137d1f=await createTDXInstance(_0x14a458),_0x519fb6=await _0x30d5a3[_0x25ebd0(0x1c9)]({'options':{..._0x14a458,..._0x23572b},'args':[],'tdx':_0x137d1f});process[_0x25ebd0(0x348)](_0x519fb6);}),userCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x1dc))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x35d))[a2_0x3d4a9d(0x26e)](userListAction),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x282))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x229))['action'](userListAction),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2c3))['description']('List\x20all\x20available\x20profiles')[a2_0x3d4a9d(0x26e)](async _0x2098a0=>{const _0x217f54=a2_0x3d4a9d,_0xb6a9a0=new ProfilesCommand(),_0x4dbf4e=program[_0x217f54(0x289)](),_0x44c443=await _0xb6a9a0[_0x217f54(0x1c9)]({'options':{..._0x4dbf4e,..._0x2098a0},'args':[],'tdx':null});process[_0x217f54(0x348)](_0x44c443);});const engageCmd=program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x261))['description']('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x450247=>{return async(_0x316eb8,_0x6b8da5)=>{const _0x48b094=a2_0x2b74,_0x829c7e=new _0x450247(),_0x228603=program[_0x48b094(0x289)](),_0x5ea6cc=await createTDXInstance(_0x228603),_0xe51684=await _0x829c7e[_0x48b094(0x1c9)]({'options':{..._0x228603,..._0x6b8da5},'args':[_0x316eb8],'tdx':_0x5ea6cc});process[_0x48b094(0x348)](_0xe51684);};},createEngageNoArgAction=_0x363ad0=>{return async _0x26d883=>{const _0x1fec8c=a2_0x2b74,_0x5ed7a3=new _0x363ad0(),_0x2babc9=program[_0x1fec8c(0x289)](),_0x1fc77d=await createTDXInstance(_0x2babc9),_0x4cc57e=await _0x5ed7a3['run']({'options':{..._0x2babc9,..._0x26d883},'args':[],'tdx':_0x1fc77d});process[_0x1fec8c(0x348)](_0x4cc57e);};},campaignCmd=engageCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x23e))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3db)),campaignListAction=async(_0x2848cc,_0x466eb6)=>{const _0x3c50ce=a2_0x3d4a9d,_0x31abe=new EngageCampaignsCommand(),_0x50db26=program['opts'](),_0x144e90=await createTDXInstance(_0x50db26),_0x2e8b8d=await _0x31abe[_0x3c50ce(0x1c9)]({'options':{..._0x50db26,..._0x466eb6},'args':_0x2848cc?[_0x2848cc]:[],'tdx':_0x144e90});process[_0x3c50ce(0x348)](_0x2e8b8d);};campaignCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x26a))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2b7))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3e7),a2_0x3d4a9d(0x394))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x39d),a2_0x3d4a9d(0x2dc))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x26e)](campaignListAction),engageCmd['command']('campaigns\x20[pattern]')[a2_0x3d4a9d(0x1f1)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')['option'](a2_0x3d4a9d(0x3e7),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x39d),a2_0x3d4a9d(0x2dc))['option'](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x26e)](campaignListAction),campaignCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x312))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x304))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x284),a2_0x3d4a9d(0x2d4))[a2_0x3d4a9d(0x26e)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3d4a9d(0x27d)]('create')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x379))[a2_0x3d4a9d(0x3a0)](a2_0x3d4a9d(0x275),a2_0x3d4a9d(0x3d8))[a2_0x3d4a9d(0x3a0)](a2_0x3d4a9d(0x3e7),a2_0x3d4a9d(0x3ba))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25a),'Workspace\x20name\x20(required)')['option'](a2_0x3d4a9d(0x357),a2_0x3d4a9d(0x22e))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x387),a2_0x3d4a9d(0x3f2))['option'](a2_0x3d4a9d(0x34b),a2_0x3d4a9d(0x307))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2cb),a2_0x3d4a9d(0x290))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x32d),a2_0x3d4a9d(0x409))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x22a),a2_0x3d4a9d(0x31b))['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3f0))[a2_0x3d4a9d(0x1f1)]('Update\x20a\x20campaign')['option']('--workspace\x20<name>',a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x275),a2_0x3d4a9d(0x298))[a2_0x3d4a9d(0x321)]('--description\x20<desc>',a2_0x3d4a9d(0x22e))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x387),a2_0x3d4a9d(0x3f2))[a2_0x3d4a9d(0x321)]('--email-sender-id\x20<id>',a2_0x3d4a9d(0x307))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x2cb),a2_0x3d4a9d(0x290))['option']('--start-at\x20<datetime>',a2_0x3d4a9d(0x409))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x22a),a2_0x3d4a9d(0x31b))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x3d4a9d(0x239))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2ae))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x318),a2_0x3d4a9d(0x259))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x3d4a9d(0x389))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x21c))[a2_0x3d4a9d(0x321)]('--workspace\x20<name>',a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x26e)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x268))[a2_0x3d4a9d(0x1f1)]('Pause\x20a\x20campaign')['option'](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x26e)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2a0))['description']('Resume\x20a\x20paused\x20campaign')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x26e)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x35e))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2ac))['option']('--workspace\x20<name>',a2_0x3d4a9d(0x361))['action'](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3f7))[a2_0x3d4a9d(0x1f1)]('Email\x20template\x20management'),templateListAction=async(_0x3e45d3,_0x295263)=>{const _0x221a87=a2_0x3d4a9d,_0x5a993f=new EngageTemplatesCommand(),_0x131cc6=program[_0x221a87(0x289)](),_0x1b1f03=await createTDXInstance(_0x131cc6),_0xa26cd4=await _0x5a993f[_0x221a87(0x1c9)]({'options':{..._0x131cc6,..._0x295263},'args':_0x3e45d3?[_0x3e45d3]:[],'tdx':_0x1b1f03});process[_0x221a87(0x348)](_0xa26cd4);};templateCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x26a))['description'](a2_0x3d4a9d(0x203))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25a),'Workspace\x20name')[a2_0x3d4a9d(0x26e)](templateListAction),engageCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x411))['description'](a2_0x3d4a9d(0x20c))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x26e)](templateListAction),templateCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x312))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x210))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x284),a2_0x3d4a9d(0x2d4))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x233))[a2_0x3d4a9d(0x1f1)]('Create\x20an\x20email\x20template')[a2_0x3d4a9d(0x3a0)](a2_0x3d4a9d(0x275),a2_0x3d4a9d(0x349))[a2_0x3d4a9d(0x3a0)](a2_0x3d4a9d(0x373),a2_0x3d4a9d(0x1f4))[a2_0x3d4a9d(0x3a0)](a2_0x3d4a9d(0x2a7),a2_0x3d4a9d(0x2e2))[a2_0x3d4a9d(0x321)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x222),'Plaintext\x20template\x20content')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x24b),'Editor\x20type')[a2_0x3d4a9d(0x26e)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3f0))['description'](a2_0x3d4a9d(0x3a8))['option'](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x321)]('--name\x20<name>',a2_0x3d4a9d(0x280))[a2_0x3d4a9d(0x321)]('--subject\x20<subject>','Email\x20subject\x20template')['option'](a2_0x3d4a9d(0x2a7),a2_0x3d4a9d(0x2e2))['option']('--plaintext\x20<text>',a2_0x3d4a9d(0x36e))[a2_0x3d4a9d(0x26e)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x3d4a9d(0x239))['description'](a2_0x3d4a9d(0x1cd))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x25a),a2_0x3d4a9d(0x361))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x318),a2_0x3d4a9d(0x259))[a2_0x3d4a9d(0x26e)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x3d4a9d(0x3dd))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x254)),workspaceListAction=async(_0xeaaa06,_0x5a6d09)=>{const _0x48ccf4=a2_0x3d4a9d,_0x3e875f=new EngageWorkspacesCommand(),_0x5b21e2=program[_0x48ccf4(0x289)](),_0x241cd3=await createTDXInstance(_0x5b21e2),_0x4c5d1c=await _0x3e875f[_0x48ccf4(0x1c9)]({'options':{..._0x5b21e2,..._0x5a6d09},'args':_0xeaaa06?[_0xeaaa06]:[],'tdx':_0x241cd3});process[_0x48ccf4(0x348)](_0x4c5d1c);};workspaceCmd['command'](a2_0x3d4a9d(0x26a))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3b0))[a2_0x3d4a9d(0x26e)](workspaceListAction),engageCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x342))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x401))['action'](workspaceListAction),workspaceCmd['command'](a2_0x3d4a9d(0x312))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x30b))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x284),a2_0x3d4a9d(0x2d4))[a2_0x3d4a9d(0x26e)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x233))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x39f))[a2_0x3d4a9d(0x3a0)]('--name\x20<name>',a2_0x3d4a9d(0x361))['option'](a2_0x3d4a9d(0x357),a2_0x3d4a9d(0x333))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3f0))['description']('Update\x20a\x20workspace')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x275),'New\x20workspace\x20name')[a2_0x3d4a9d(0x321)]('--description\x20<desc>','Workspace\x20description')['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command']('delete\x20<name-or-id>')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x25c))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x318),a2_0x3d4a9d(0x259))[a2_0x3d4a9d(0x26e)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x347))['description'](a2_0x3d4a9d(0x31a))[a2_0x3d4a9d(0x26e)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x3d4a9d(0x27d)]('connection')['description']('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x28303d=>{const _0x154383=a2_0x3d4a9d,_0x393a36=new ConnectionListCommand(),_0x1b03c7=program['opts'](),_0x17b4e4=await createTDXInstance(_0x1b03c7),_0x5dfb65=await _0x393a36[_0x154383(0x1c9)]({'options':{..._0x1b03c7,..._0x28303d},'args':[],'tdx':_0x17b4e4});process['exit'](_0x5dfb65);};connectionCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x1dc))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x2bb))[a2_0x3d4a9d(0x26e)](connectionListAction),program[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x200),{'hidden':!![]})[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3cb))[a2_0x3d4a9d(0x26e)](connectionListAction),connectionCmd['command'](a2_0x3d4a9d(0x404))['description'](a2_0x3d4a9d(0x369))[a2_0x3d4a9d(0x26e)](async(_0x28466f,_0x165b30)=>{const _0x36e5d8=a2_0x3d4a9d,_0x45da87=new ConnectionShowCommand(),_0x24dd99=program[_0x36e5d8(0x289)](),_0x3b1f9a=await createTDXInstance(_0x24dd99),_0x5dc438=await _0x45da87['run']({'options':{..._0x24dd99,..._0x165b30},'args':[_0x28466f],'tdx':_0x3b1f9a});process[_0x36e5d8(0x348)](_0x5dc438);}),connectionCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x27e))[a2_0x3d4a9d(0x1f1)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')['action'](async(_0x24c761,_0x3bdb0f)=>{const _0x4ba6a6=a2_0x3d4a9d,_0x55196b=new ConnectionSchemaCommand(),_0x35fee9=program[_0x4ba6a6(0x289)](),_0xfd6651=await createTDXInstance(_0x35fee9),_0x38358c=await _0x55196b[_0x4ba6a6(0x1c9)]({'options':{..._0x35fee9,..._0x3bdb0f},'args':[_0x24c761],'tdx':_0xfd6651});process[_0x4ba6a6(0x348)](_0x38358c);}),connectionCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x384))['description'](a2_0x3d4a9d(0x3b9))[a2_0x3d4a9d(0x26e)](async _0x5e66b3=>{const _0x38c32f=a2_0x3d4a9d,_0x586c57=new ConnectionTypesCommand(),_0x7f98c4=program['opts'](),_0x41dad1=await createTDXInstance(_0x7f98c4),_0x44e7ee=await _0x586c57[_0x38c32f(0x1c9)]({'options':{..._0x7f98c4,..._0x5e66b3},'args':[],'tdx':_0x41dad1});process['exit'](_0x44e7ee);}),connectionCmd['command']('settings\x20<type>')[a2_0x3d4a9d(0x1f1)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x3d4a9d(0x26e)](async(_0x3767a0,_0x5890b9)=>{const _0x112f05=a2_0x3d4a9d,_0x284a70=new ConnectionSettingsCommand(),_0x3a3517=program[_0x112f05(0x289)](),_0x148d44=await createTDXInstance(_0x3a3517),_0x4cb581=await _0x284a70['run']({'options':{..._0x3a3517,..._0x5890b9},'args':[_0x3767a0],'tdx':_0x148d44});process['exit'](_0x4cb581);});const journeyCmd=program[a2_0x3d4a9d(0x27d)]('journey')['description'](a2_0x3d4a9d(0x1d6));journeyCmd['command'](a2_0x3d4a9d(0x26a))[a2_0x3d4a9d(0x1f1)]('List\x20journeys\x20in\x20current\x20context')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x255),'Show\x20web\x20console\x20URLs\x20for\x20journeys')[a2_0x3d4a9d(0x26e)](async(_0x44d6b0,_0x4fcad0)=>{const _0x1fd70a=a2_0x3d4a9d,_0x563914=new JourneyListCommand(),_0x46b11d=program[_0x1fd70a(0x289)](),_0x18fdda=await createTDXInstance(_0x46b11d),_0x53c8b3=await _0x563914[_0x1fd70a(0x1c9)]({'options':{..._0x46b11d,..._0x4fcad0},'args':_0x44d6b0?[_0x44d6b0]:[],'tdx':_0x18fdda});process[_0x1fd70a(0x348)](_0x53c8b3);}),journeyCmd['command'](a2_0x3d4a9d(0x410))['description'](a2_0x3d4a9d(0x212))['option']('-w,\x20--web',a2_0x3d4a9d(0x299))['option'](a2_0x3d4a9d(0x36d),'Include\x20execution\x20statistics')['action'](async(_0x276f9a,_0xe0a23a)=>{const _0x215f90=a2_0x3d4a9d,_0x36b1c=new JourneyViewCommand(),_0x4eef8a=program[_0x215f90(0x289)](),_0x300a38=await createTDXInstance(_0x4eef8a),_0x2adab1=await _0x36b1c[_0x215f90(0x1c9)]({'options':{..._0x4eef8a,..._0xe0a23a},'args':[_0x276f9a],'tdx':_0x300a38});process['exit'](_0x2adab1);}),journeyCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x353))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x21a))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x20b),a2_0x3d4a9d(0x406))[a2_0x3d4a9d(0x26e)](async(_0x393fbf,_0x49421f)=>{const _0x56c8ba=a2_0x3d4a9d,_0x2ca4bd=new JourneyStatsCommand(),_0x30560c=program[_0x56c8ba(0x289)](),_0xa9671=await createTDXInstance(_0x30560c),_0xe5fac8=await _0x2ca4bd[_0x56c8ba(0x1c9)]({'options':{..._0x30560c,..._0x49421f},'args':[_0x393fbf],'tdx':_0xa9671});process[_0x56c8ba(0x348)](_0xe5fac8);}),journeyCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x381))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3eb))['action'](async(_0x2eced0,_0x57791f)=>{const _0x3f0727=a2_0x3d4a9d,_0x4673bb=new JourneyPauseCommand(),_0x24e85d=program[_0x3f0727(0x289)](),_0x35377f=await createTDXInstance(_0x24e85d),_0x5b9a96=await _0x4673bb[_0x3f0727(0x1c9)]({'options':{..._0x24e85d,..._0x57791f},'args':[_0x2eced0],'tdx':_0x35377f});process[_0x3f0727(0x348)](_0x5b9a96);}),journeyCmd[a2_0x3d4a9d(0x27d)]('resume\x20<name-or-path>')[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x226))[a2_0x3d4a9d(0x26e)](async(_0x200fd2,_0x38fe72)=>{const _0x5a45e1=a2_0x3d4a9d,_0x7d9dcd=new JourneyResumeCommand(),_0x3ad4fb=program['opts'](),_0xaf1f4e=await createTDXInstance(_0x3ad4fb),_0x52f665=await _0x7d9dcd[_0x5a45e1(0x1c9)]({'options':{..._0x3ad4fb,..._0x38fe72},'args':[_0x200fd2],'tdx':_0xaf1f4e});process[_0x5a45e1(0x348)](_0x52f665);}),journeyCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x2ea))['description']('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x3c1),a2_0x3d4a9d(0x259))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x37b),a2_0x3d4a9d(0x3ec))[a2_0x3d4a9d(0x26e)](async(_0x4aa385,_0x3de488)=>{const _0x2a28fe=a2_0x3d4a9d,_0x38f202=new JourneyPullCommand(),_0x3ab7fe=program[_0x2a28fe(0x289)](),_0x1c93eb=await createTDXInstance(_0x3ab7fe),_0x2fcfdd=await _0x38f202[_0x2a28fe(0x1c9)]({'options':{..._0x3ab7fe,..._0x3de488},'args':_0x4aa385?[_0x4aa385]:[],'tdx':_0x1c93eb});process[_0x2a28fe(0x348)](_0x2fcfdd);}),journeyCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x244))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x209))[a2_0x3d4a9d(0x26e)](async(_0x38a565,_0x43ec36)=>{const _0x32f966=a2_0x3d4a9d,_0x393603=new JourneyPushCommand(),_0x4802ce=program[_0x32f966(0x289)](),_0x2b40bd=await createTDXInstance(_0x4802ce),_0x835bb1=await _0x393603[_0x32f966(0x1c9)]({'options':{..._0x4802ce,..._0x43ec36},'args':_0x38a565?[_0x38a565]:[],'tdx':_0x2b40bd});process[_0x32f966(0x348)](_0x835bb1);}),journeyCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3c0))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x36c))[a2_0x3d4a9d(0x26e)](async(_0x55300e,_0x2e4bf9)=>{const _0x2cf607=a2_0x3d4a9d,_0x53800e=new JourneyValidateCommand(),_0x4bb6d9=program[_0x2cf607(0x289)](),_0xd74d3e=await createTDXInstance(_0x4bb6d9),_0x11eed6=await _0x53800e[_0x2cf607(0x1c9)]({'options':{..._0x4bb6d9,..._0x2e4bf9},'args':_0x55300e?[_0x55300e]:[],'tdx':_0xd74d3e});process[_0x2cf607(0x348)](_0x11eed6);});const agentSyncCmd=program['command'](a2_0x3d4a9d(0x260))[a2_0x3d4a9d(0x1f1)]('LLM\x20agent\x20management');agentSyncCmd['command'](a2_0x3d4a9d(0x316))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x238))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x242),a2_0x3d4a9d(0x256))['option']('-f,\x20--force',a2_0x3d4a9d(0x324))[a2_0x3d4a9d(0x26e)](async(_0x5c3e9d,_0x265c2e,_0xd47918)=>{const _0x2c4e77=a2_0x3d4a9d,_0x23b1d7=new AgentPullCommand(),_0x2694db=program[_0x2c4e77(0x289)](),_0x44c31c=await createTDXInstance(_0x2694db),_0x512ff8=[];if(_0x5c3e9d)_0x512ff8['push'](_0x5c3e9d);if(_0x265c2e)_0x512ff8['push'](_0x265c2e);const _0xc627c8=await _0x23b1d7[_0x2c4e77(0x1c9)]({'options':{..._0x2694db,..._0xd47918},'args':_0x512ff8,'tdx':_0x44c31c});process[_0x2c4e77(0x348)](_0xc627c8);}),agentSyncCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x26d))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x1ff))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x272),a2_0x3d4a9d(0x32a))[a2_0x3d4a9d(0x26e)](async(_0x4709cf,_0x46cfc7)=>{const _0x2be80e=a2_0x3d4a9d,_0xabf85=new AgentPushCommand(),_0x2c501a=program[_0x2be80e(0x289)](),_0x3eb78d=await createTDXInstance(_0x2c501a),_0x34a600=await _0xabf85[_0x2be80e(0x1c9)]({'options':{..._0x2c501a,..._0x46cfc7},'args':_0x4709cf?[_0x4709cf]:[],'tdx':_0x3eb78d});process[_0x2be80e(0x348)](_0x34a600);}),agentSyncCmd[a2_0x3d4a9d(0x27d)]('clone\x20[source]')['description'](a2_0x3d4a9d(0x2df))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1e6),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x3d4a9d(0x26e)](async(_0xa42560,_0xca52b2)=>{const _0x2561d7=a2_0x3d4a9d,_0x5cfeae=new AgentCloneCommand(),_0x55f697=program[_0x2561d7(0x289)](),_0x4cb506=await createTDXInstance(_0x55f697),_0x45abeb=await _0x5cfeae['run']({'options':{..._0x55f697,..._0xca52b2},'args':_0xa42560?[_0xa42560]:[],'tdx':_0x4cb506});process[_0x2561d7(0x348)](_0x45abeb);}),agentSyncCmd['command'](a2_0x3d4a9d(0x26a))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x374))['option'](a2_0x3d4a9d(0x255),'Show\x20agent\x20chat\x20URLs')['action'](llmAgentListAction),agentSyncCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3f4))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3d1))[a2_0x3d4a9d(0x26e)](async(_0x25e6dc,_0x514298)=>{const _0x71b89d=a2_0x3d4a9d,_0x2df9fc=new LLMAgentShowCommand(),_0x4d6162=program[_0x71b89d(0x289)](),_0x3c340a=await createTDXInstance(_0x4d6162),_0x505336=await _0x2df9fc['run']({'options':{..._0x4d6162,..._0x514298},'args':[_0x25e6dc],'tdx':_0x3c340a});process[_0x71b89d(0x348)](_0x505336);}),agentSyncCmd['command'](a2_0x3d4a9d(0x3f9))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x3a2))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x396),a2_0x3d4a9d(0x362))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x1c6),a2_0x3d4a9d(0x2ba),'claude-4.5-sonnet')[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x28a),a2_0x3d4a9d(0x251))['option'](a2_0x3d4a9d(0x1ec),a2_0x3d4a9d(0x3ca),'4')['option'](a2_0x3d4a9d(0x2f0),a2_0x3d4a9d(0x2ad),a2_0x3d4a9d(0x1d2))[a2_0x3d4a9d(0x26e)](async(_0x2e272c,_0x20c224)=>{const _0x4c3293=a2_0x3d4a9d,_0x55505a=new LLMAgentCreateCommand(),_0x4d3fa7=program[_0x4c3293(0x289)](),_0x541228=await createTDXInstance(_0x4d3fa7),_0x2659a5=await _0x55505a[_0x4c3293(0x1c9)]({'options':{..._0x4d3fa7,..._0x20c224},'args':[_0x2e272c],'tdx':_0x541228});process[_0x4c3293(0x348)](_0x2659a5);}),agentSyncCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x3f5))['description'](a2_0x3d4a9d(0x248))['option']('--name\x20<text>',a2_0x3d4a9d(0x358))['option'](a2_0x3d4a9d(0x1e9),a2_0x3d4a9d(0x3ef))['option'](a2_0x3d4a9d(0x2b4),a2_0x3d4a9d(0x29b))[a2_0x3d4a9d(0x321)](a2_0x3d4a9d(0x28a),a2_0x3d4a9d(0x251))[a2_0x3d4a9d(0x26e)](async(_0x1ba8df,_0xd4632b)=>{const _0x248036=a2_0x3d4a9d,_0xbf5e01=new LLMAgentUpdateCommand(),_0x10553e=program['opts'](),_0x330f30=await createTDXInstance(_0x10553e),_0x429f5d=await _0xbf5e01[_0x248036(0x1c9)]({'options':{..._0x10553e,..._0xd4632b},'args':[_0x1ba8df],'tdx':_0x330f30});process[_0x248036(0x348)](_0x429f5d);}),agentSyncCmd[a2_0x3d4a9d(0x27d)](a2_0x3d4a9d(0x1e3))[a2_0x3d4a9d(0x1f1)](a2_0x3d4a9d(0x285))[a2_0x3d4a9d(0x26e)](async(_0x5b9dc9,_0x339f6f)=>{const _0x4beeab=a2_0x3d4a9d,_0x349573=new LLMAgentDeleteCommand(),_0x314c8f=program['opts'](),_0x1ecf6f=await createTDXInstance(_0x314c8f),_0x11b833=await _0x349573[_0x4beeab(0x1c9)]({'options':{..._0x314c8f,..._0x339f6f},'args':[_0x5b9dc9],'tdx':_0x1ecf6f});process[_0x4beeab(0x348)](_0x11b833);});export{program};export function runCLI(){const _0xcfae03=a2_0x3d4a9d;program[_0xcfae03(0x1cb)](process[_0xcfae03(0x1f3)]);!process[_0xcfae03(0x1f3)][_0xcfae03(0x247)](0x2)[_0xcfae03(0x1fb)]&&program['outputHelp']();const _0x398a77=packageJson['version'];process[_0xcfae03(0x40a)][_0xcfae03(0x1fd)]&&process[_0xcfae03(0x1f3)]['length']>0x2&&!_0x398a77[_0xcfae03(0x354)](_0xcfae03(0x27a))&&checkForUpdate(_0x398a77)['then'](_0x354e3c=>{_0x354e3c&&displayUpdateNotification(_0x354e3c);})['catch'](()=>{});}