@treasuredata/tdx 0.13.1 → 0.13.2

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 (143) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.js +1 -1
  5. package/dist/commands/activations.js +1 -1
  6. package/dist/commands/agent-command.js +1 -1
  7. package/dist/commands/api-command.js +1 -1
  8. package/dist/commands/auth-command.js +1 -1
  9. package/dist/commands/chat-command.js +1 -1
  10. package/dist/commands/claude-command.js +1 -1
  11. package/dist/commands/claude-statusline-command.js +1 -1
  12. package/dist/commands/claude-usage-command.js +1 -1
  13. package/dist/commands/command.js +1 -1
  14. package/dist/commands/connection-command.js +1 -1
  15. package/dist/commands/databases.js +1 -1
  16. package/dist/commands/describe.js +1 -1
  17. package/dist/commands/engage-command.js +1 -1
  18. package/dist/commands/job-command.js +1 -1
  19. package/dist/commands/journey-command.d.ts.map +1 -1
  20. package/dist/commands/journey-command.js +1 -1
  21. package/dist/commands/journey-command.js.map +1 -1
  22. package/dist/commands/journey-validate-command.js +1 -1
  23. package/dist/commands/llm-command.js +1 -1
  24. package/dist/commands/llm-proxy.js +1 -1
  25. package/dist/commands/parent-segment-command.js +1 -1
  26. package/dist/commands/profile-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-push-command.js.map +1 -1
  35. package/dist/commands/segment-update-command.js +1 -1
  36. package/dist/commands/segment-use-command.js +1 -1
  37. package/dist/commands/segment-validate-command.js +1 -1
  38. package/dist/commands/segments.js +1 -1
  39. package/dist/commands/show.js +1 -1
  40. package/dist/commands/tables.js +1 -1
  41. package/dist/commands/use-command.js +1 -1
  42. package/dist/commands/user-command.js +1 -1
  43. package/dist/commands/workflow-command.js +1 -1
  44. package/dist/core/auth.js +1 -1
  45. package/dist/core/command-output.js +1 -1
  46. package/dist/core/config.js +1 -1
  47. package/dist/core/connection-cache.js +1 -1
  48. package/dist/core/constants.js +1 -1
  49. package/dist/core/credential-cache.js +1 -1
  50. package/dist/core/global-context.js +1 -1
  51. package/dist/core/keychain.js +1 -1
  52. package/dist/core/profile.js +1 -1
  53. package/dist/core/project-config.js +1 -1
  54. package/dist/core/session.js +1 -1
  55. package/dist/core/user-cache.js +1 -1
  56. package/dist/core/version.js +1 -1
  57. package/dist/index.js +1 -1
  58. package/dist/proxy/anthropic-adapter.js +1 -1
  59. package/dist/proxy/claude-usage-tracker.js +1 -1
  60. package/dist/proxy/context-signature.js +1 -1
  61. package/dist/proxy/conversation-utils.js +1 -1
  62. package/dist/proxy/server.js +1 -1
  63. package/dist/proxy/session-cache.js +1 -1
  64. package/dist/sdk/agent/agent-config.js +1 -1
  65. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  66. package/dist/sdk/agent/agent-yaml.js +1 -1
  67. package/dist/sdk/api.js +1 -1
  68. package/dist/sdk/client/cdp-api-client.js +1 -1
  69. package/dist/sdk/client/endpoints.js +1 -1
  70. package/dist/sdk/client/engage-api-client.js +1 -1
  71. package/dist/sdk/client/http-client.js +1 -1
  72. package/dist/sdk/client/llm-api-client.js +1 -1
  73. package/dist/sdk/client/rate-limiter.js +1 -1
  74. package/dist/sdk/client/td-api-client.js +1 -1
  75. package/dist/sdk/client/trino-api-client.js +1 -1
  76. package/dist/sdk/client/workflow-client.js +1 -1
  77. package/dist/sdk/connection-validator.js +1 -1
  78. package/dist/sdk/connection.js +1 -1
  79. package/dist/sdk/engage.js +1 -1
  80. package/dist/sdk/errors.js +1 -1
  81. package/dist/sdk/index.js +1 -1
  82. package/dist/sdk/io/index.js +1 -1
  83. package/dist/sdk/io/node-filesystem.js +1 -1
  84. package/dist/sdk/job.js +1 -1
  85. package/dist/sdk/journey.d.ts +19 -3
  86. package/dist/sdk/journey.d.ts.map +1 -1
  87. package/dist/sdk/journey.js +1 -1
  88. package/dist/sdk/journey.js.map +1 -1
  89. package/dist/sdk/llm/chat-cache.js +1 -1
  90. package/dist/sdk/llm/index.js +1 -1
  91. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  92. package/dist/sdk/llm/model-aliases.js +1 -1
  93. package/dist/sdk/llm/model-factors.js +1 -1
  94. package/dist/sdk/query/index.js +1 -1
  95. package/dist/sdk/query/sql-parser.js +1 -1
  96. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  97. package/dist/sdk/segment/fields-display.js +1 -1
  98. package/dist/sdk/segment/file-discovery.js +1 -1
  99. package/dist/sdk/segment/journey-utils.js +1 -1
  100. package/dist/sdk/segment/journey-yaml.js +1 -1
  101. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  102. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  103. package/dist/sdk/segment/pull-workflow.d.ts.map +1 -1
  104. package/dist/sdk/segment/pull-workflow.js +1 -1
  105. package/dist/sdk/segment/pull-workflow.js.map +1 -1
  106. package/dist/sdk/segment/push-workflow.js +1 -1
  107. package/dist/sdk/segment/resolution-context.js +1 -1
  108. package/dist/sdk/segment/segment-path-parser.js +1 -1
  109. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  110. package/dist/sdk/segment/target-resolution.js +1 -1
  111. package/dist/sdk/segment/tdx-config.js +1 -1
  112. package/dist/sdk/segment/validate-files.js +1 -1
  113. package/dist/sdk/segment/yaml-validator.js +1 -1
  114. package/dist/sdk/segment.js +1 -1
  115. package/dist/sdk/types/index.js +1 -1
  116. package/dist/sdk/types/progress.js +1 -1
  117. package/dist/sdk/user.js +1 -1
  118. package/dist/sdk/util/format-detector.js +1 -1
  119. package/dist/sdk/util/formatters.js +1 -1
  120. package/dist/sdk/util/index.js +1 -1
  121. package/dist/sdk/util/tree-formatter.js +1 -1
  122. package/dist/sdk/workflow/clone-workflow.js +1 -1
  123. package/dist/sdk/workflow/index.js +1 -1
  124. package/dist/sdk/workflow/pull-workflow.js +1 -1
  125. package/dist/sdk/workflow/push-workflow.js +1 -1
  126. package/dist/sdk/workflow/tdx-config.js +1 -1
  127. package/dist/sdk/workflow/workflow-utils.js +1 -1
  128. package/dist/utils/async.js +1 -1
  129. package/dist/utils/colors.js +1 -1
  130. package/dist/utils/diff.js +1 -1
  131. package/dist/utils/file-permissions.js +1 -1
  132. package/dist/utils/json-loader.js +1 -1
  133. package/dist/utils/option-validation.js +1 -1
  134. package/dist/utils/port.js +1 -1
  135. package/dist/utils/process.js +1 -1
  136. package/dist/utils/prompt.js +1 -1
  137. package/dist/utils/spinner.js +1 -1
  138. package/dist/utils/sse-parser.js +1 -1
  139. package/dist/utils/string-utils.js +1 -1
  140. package/dist/utils/table-ref-parser.js +1 -1
  141. package/dist/utils/tdx-logger.js +1 -1
  142. package/dist/utils/version-check.js +1 -1
  143. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x5caecd=a2_0x407d;(function(_0x24cab0,_0x3fda81){const _0x446897=a2_0x407d,_0x402649=_0x24cab0();while(!![]){try{const _0x23e28f=parseInt(_0x446897(0x29e))/0x1+parseInt(_0x446897(0x226))/0x2+-parseInt(_0x446897(0x2da))/0x3+-parseInt(_0x446897(0x271))/0x4+-parseInt(_0x446897(0x303))/0x5*(-parseInt(_0x446897(0x280))/0x6)+-parseInt(_0x446897(0x1ef))/0x7*(parseInt(_0x446897(0x289))/0x8)+parseInt(_0x446897(0x29f))/0x9;if(_0x23e28f===_0x3fda81)break;else _0x402649['push'](_0x402649['shift']());}catch(_0x1a14ae){_0x402649['push'](_0x402649['shift']());}}}(a2_0x242f,0xc1788));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/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';function a2_0x407d(_0x2dd6a5,_0x433eb9){_0x2dd6a5=_0x2dd6a5-0x136;const _0x242f7e=a2_0x242f();let _0x407dde=_0x242f7e[_0x2dd6a5];return _0x407dde;}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{UseCommand}from'./commands/use-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x5caecd(0x240)]['includes']('--version')){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x5caecd(0x16b)]&&!currentVersion[a2_0x5caecd(0x204)](buildInfo[a2_0x5caecd(0x16b)])&&(versionOutput+='\x20('+buildInfo[a2_0x5caecd(0x16b)]+')'),buildInfo[a2_0x5caecd(0x308)]&&(versionOutput+=a2_0x5caecd(0x2b6)+buildInfo['buildTime']),console[a2_0x5caecd(0x388)](versionOutput),process[a2_0x5caecd(0x250)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x5caecd(0x37b);buildInfo[a2_0x5caecd(0x16b)]&&!currentVersion['includes'](buildInfo['gitRevision'])?description+=a2_0x5caecd(0x282)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x5caecd(0x282)+currentVersion;program[a2_0x5caecd(0x2dd)](a2_0x5caecd(0x2f8))[a2_0x5caecd(0x1f6)](description),program['option'](a2_0x5caecd(0x2f3),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x256),a2_0x5caecd(0x169))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2aa),a2_0x5caecd(0x1eb),a2_0x5caecd(0x261))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2ab),a2_0x5caecd(0x13b))['option']('--table',a2_0x5caecd(0x293))['option'](a2_0x5caecd(0x2dc),a2_0x5caecd(0x269))[a2_0x5caecd(0x14e)]('--jsonl',a2_0x5caecd(0x209))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1b7),a2_0x5caecd(0x216))['option'](a2_0x5caecd(0x36d),'Save\x20output\x20to\x20file')[a2_0x5caecd(0x14e)]('--limit\x20<number>',a2_0x5caecd(0x322))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x34c),a2_0x5caecd(0x309),![])[a2_0x5caecd(0x14e)](a2_0x5caecd(0x23b),a2_0x5caecd(0x296),![])[a2_0x5caecd(0x14e)](a2_0x5caecd(0x24c),a2_0x5caecd(0x320),![])[a2_0x5caecd(0x14e)]('--debug','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x236),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x305),a2_0x5caecd(0x173),'30')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33b),a2_0x5caecd(0x33d),![])[a2_0x5caecd(0x14e)]('-y,\x20--yes',a2_0x5caecd(0x177),![])['option'](a2_0x5caecd(0x2d1),a2_0x5caecd(0x25c))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x225),'Database\x20to\x20use\x20(overrides\x20context)')[a2_0x5caecd(0x14e)]('--in\x20<name>',a2_0x5caecd(0x15f))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x141),a2_0x5caecd(0x2a2))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1bf),a2_0x5caecd(0x31e)),program['configureHelp']({'formatHelp':(_0x186a7d,_0x1843e1)=>{const _0x51eb82=a2_0x5caecd,_0x4872bd=_0x1843e1[_0x51eb82(0x1f9)](_0x186a7d,_0x1843e1),_0x1d5cd6=0x2,_0x36c0d1=0x2;function _0x1130a3(_0x21352c){const _0x36ee3a=_0x51eb82,_0x26f7ec=_0x21352c;return!!(_0x26f7ec[_0x36ee3a(0x239)]||_0x26f7ec[_0x36ee3a(0x1d2)]);}function _0x51b95e(_0x53e8e4,_0x41129b){const _0x1d55c8=_0x51eb82;if(_0x41129b){const _0x1f665d=''+_0x53e8e4[_0x1d55c8(0x302)](_0x4872bd+_0x36c0d1)+_0x41129b;return _0x1f665d;}return _0x53e8e4;}function _0x366bb0(_0x3baf6e){const _0x12803f=_0x51eb82;return _0x3baf6e[_0x12803f(0x379)]('\x0a')['replace'](/^/gm,'\x20'[_0x12803f(0x321)](_0x1d5cd6));}const _0x479351=[];_0x479351[_0x51eb82(0x27b)](_0x51eb82(0x15e)+_0x1843e1[_0x51eb82(0x1c6)](_0x186a7d));const _0x58a5ab=_0x1843e1[_0x51eb82(0x31c)](_0x186a7d);_0x58a5ab&&(_0x479351[_0x51eb82(0x27b)](''),_0x479351[_0x51eb82(0x27b)](_0x58a5ab));const _0x25b3bf=_0x186a7d['commands']['filter'](_0x2e8e45=>!_0x1130a3(_0x2e8e45));if(_0x25b3bf[_0x51eb82(0x1b9)]>0x0){if(_0x186a7d[_0x51eb82(0x2dd)]()===_0x51eb82(0x2f8)){const _0x5af9b8=_0x186a7d[_0x51eb82(0x1f1)](),_0x596bf6=!_0x5af9b8[_0x51eb82(0x2be)]&&process[_0x51eb82(0x2bc)][_0x51eb82(0x248)],_0x20d970=COMMAND_CATEGORIES,_0x45a69a=(_0x1d2857,_0x8062d7)=>_0x596bf6?_0x8062d7(_0x1d2857):_0x1d2857,_0x368d5c=new Map();_0x25b3bf['forEach'](_0x3586d5=>{const _0x2bbfc5=_0x51eb82;_0x368d5c[_0x2bbfc5(0x24a)](_0x3586d5['name'](),_0x3586d5);}),_0x20d970['forEach'](_0x1a8d19=>{const _0x37f38f=_0x51eb82,_0x32feeb=_0x1a8d19[_0x37f38f(0x143)][_0x37f38f(0x1a6)](_0xc2d743=>_0x368d5c[_0x37f38f(0x22f)](_0xc2d743)??[]);if(_0x32feeb['length']>0x0){_0x479351[_0x37f38f(0x27b)](''),_0x479351[_0x37f38f(0x27b)](_0x45a69a(_0x1a8d19[_0x37f38f(0x2dd)]+':',_0x1a8d19['colorFn']));const _0x44402d=_0x32feeb[_0x37f38f(0x266)](_0x2dfc85=>{const _0x100a66=_0x37f38f,_0x4bf0f3=_0x1843e1[_0x100a66(0x2c7)](_0x2dfc85),_0x19e7df=_0x1843e1[_0x100a66(0x2bd)](_0x2dfc85);return _0x51b95e(_0x4bf0f3,_0x19e7df);});_0x479351[_0x37f38f(0x27b)](_0x366bb0(_0x44402d));}}),_0x479351[_0x51eb82(0x27b)](''),_0x479351[_0x51eb82(0x27b)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x4c0a96=_0x25b3bf[_0x51eb82(0x266)](_0x514d95=>{const _0x556356=_0x51eb82,_0x2d4d50=_0x1843e1[_0x556356(0x2c7)](_0x514d95),_0x4b392f=_0x1843e1[_0x556356(0x2bd)](_0x514d95);return _0x51b95e(_0x2d4d50,_0x4b392f);});_0x479351[_0x51eb82(0x27b)](''),_0x479351['push'](_0x51eb82(0x268)),_0x479351['push'](_0x366bb0(_0x4c0a96));}}if(showBriefHelp&&_0x186a7d[_0x51eb82(0x2dd)]()==='tdx')_0x479351[_0x51eb82(0x27b)](''),_0x479351[_0x51eb82(0x27b)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x544827=_0x186a7d[_0x51eb82(0x170)][_0x51eb82(0x363)](_0x48845a=>!_0x1130a3(_0x48845a));if(_0x544827[_0x51eb82(0x1b9)]>0x0){const _0x58f936=_0x544827[_0x51eb82(0x266)](_0x314372=>{const _0x4c28ce=_0x51eb82,_0x546ea5=_0x1843e1[_0x4c28ce(0x35e)](_0x314372),_0x5c7bdd=_0x1843e1[_0x4c28ce(0x191)](_0x314372);return _0x51b95e(_0x546ea5,_0x5c7bdd);});_0x479351['push'](''),_0x479351[_0x51eb82(0x27b)](_0x51eb82(0x378)),_0x479351['push'](_0x366bb0(_0x58f936));}}const _0xc5468a=(_0x186a7d['registeredArguments']||[])['filter'](_0x2536a2=>!_0x1130a3(_0x2536a2));if(_0xc5468a[_0x51eb82(0x1b9)]>0x0){const _0x41048=_0xc5468a[_0x51eb82(0x266)](_0xc0eb58=>{const _0x525dff=_0x51eb82,_0x2d808a=_0x1843e1[_0x525dff(0x311)](_0xc0eb58),_0x2148f2=_0x1843e1[_0x525dff(0x224)](_0xc0eb58);return _0x51b95e(_0x2d808a,_0x2148f2);});_0x479351[_0x51eb82(0x27b)](''),_0x479351[_0x51eb82(0x27b)]('Arguments:'),_0x479351[_0x51eb82(0x27b)](_0x366bb0(_0x41048));}return _0x479351['join']('\x0a')+'\x0a';},'subcommandTerm':_0xeebcb1=>{const _0x440022=a2_0x5caecd,_0x409910=(_0xeebcb1['registeredArguments']||[])[_0x440022(0x266)](_0xff15b8=>_0xff15b8[_0x440022(0x26d)]?'<'+_0xff15b8[_0x440022(0x2dd)]()+'>':'['+_0xff15b8['name']()+']')[_0x440022(0x379)]('\x20'),_0x394580=_0xeebcb1[_0x440022(0x2fa)](),_0x4a812a=_0x394580[_0x440022(0x1b9)]>0x0?_0xeebcb1[_0x440022(0x2dd)]()+',\x20'+_0x394580[_0x440022(0x379)](',\x20'):_0xeebcb1['name']();return _0x409910?_0x4a812a+'\x20'+_0x409910:_0x4a812a;}}),program[a2_0x5caecd(0x32d)](a2_0x5caecd(0x137),_0x1700cd=>{const _0x4294f2=a2_0x5caecd,_0x973283=_0x1700cd[_0x4294f2(0x1f1)]();if(_0x973283['directory']){const _0x21667e=resolve(_0x973283['directory']),_0x5d6c71=_0x21667e!==_0x973283[_0x4294f2(0x1d0)]?_0x4294f2(0x333)+_0x21667e+')':'';if(!existsSync(_0x21667e))throw new SDKError(ErrorCode[_0x4294f2(0x1a1)],_0x4294f2(0x26a)+_0x973283[_0x4294f2(0x1d0)]+_0x5d6c71,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x363e4f=statSync(_0x21667e);if(!_0x363e4f[_0x4294f2(0x34a)]())throw new SDKError(ErrorCode[_0x4294f2(0x1a1)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x973283[_0x4294f2(0x1d0)]+_0x5d6c71,undefined,{'helpText':_0x4294f2(0x233)});process[_0x4294f2(0x181)](_0x21667e);}if(!_0x973283[_0x4294f2(0x339)]){if(_0x973283['table'])_0x973283['format']=_0x4294f2(0x15d);else{if(_0x973283[_0x4294f2(0x2ee)])_0x973283[_0x4294f2(0x339)]=_0x4294f2(0x2ee);else{if(_0x973283[_0x4294f2(0x1cf)])_0x973283[_0x4294f2(0x339)]=_0x4294f2(0x1cf);else _0x973283[_0x4294f2(0x16c)]&&(_0x973283[_0x4294f2(0x339)]=_0x4294f2(0x16c));}}}_0x973283['in']&&!_0x973283['database']&&(_0x973283['database']=_0x973283['in']);if(_0x973283[_0x4294f2(0x152)])_0x973283[_0x4294f2(0x1e6)]=LogLevel[_0x4294f2(0x2a8)];else{if(_0x973283[_0x4294f2(0x294)])_0x973283[_0x4294f2(0x1e6)]=LogLevel['DEBUG'];else _0x973283[_0x4294f2(0x1e6)]===undefined&&(_0x973283[_0x4294f2(0x1e6)]=LogLevel[_0x4294f2(0x163)]);}});async function createTDXInstance(_0x2c9ad5){const _0x89845=a2_0x5caecd,_0x334da4=await GlobalContext[_0x89845(0x1bb)](_0x2c9ad5);return _0x334da4[_0x89845(0x2e8)](_0x2c9ad5),TDX[_0x89845(0x34b)]({'site':_0x334da4[_0x89845(0x351)],'apiKey':_0x334da4[_0x89845(0x26c)],'logLevel':_0x334da4['logLevel'],'profile':_0x334da4[_0x89845(0x2e0)]});}const databaseCmd=program[a2_0x5caecd(0x20e)]('database')[a2_0x5caecd(0x219)]('db')['description']('Database\x20management\x20commands'),databaseListAction=async(_0x1f7853,_0x4797a)=>{const _0x3afe63=a2_0x5caecd,_0x46c73f=new DatabasesCommand(),_0x4bb529=program[_0x3afe63(0x1f1)](),_0x4294fe=await createTDXInstance(_0x4bb529),_0x591d0e=await _0x46c73f['run']({'options':{..._0x4bb529,..._0x4797a},'args':_0x1f7853?[_0x1f7853]:[],'tdx':_0x4294fe});process[_0x3afe63(0x250)](_0x591d0e);};databaseCmd[a2_0x5caecd(0x20e)]('list\x20[pattern]')['description'](a2_0x5caecd(0x199))[a2_0x5caecd(0x2db)](databaseListAction),program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x193),{'hidden':!![]})[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x215))[a2_0x5caecd(0x2db)](databaseListAction),program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x22b))[a2_0x5caecd(0x1f6)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x345),a2_0x5caecd(0x1ad))['option']('--new',a2_0x5caecd(0x267))['action'](async(_0x1e2238,_0x26bb2c)=>{const _0xdaae55=a2_0x5caecd,_0x2c33be=new ChatCommand(),_0x385d95=program[_0xdaae55(0x1f1)](),_0x470152=await createTDXInstance(_0x385d95),_0x11663a=await _0x2c33be[_0xdaae55(0x377)]({'options':{..._0x385d95,..._0x26bb2c},'args':_0x1e2238,'tdx':_0x470152});process[_0xdaae55(0x250)](_0x11663a);});const apiCmd=program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x30a))[a2_0x5caecd(0x2b1)](a2_0x5caecd(0x2f0))[a2_0x5caecd(0x37d)](a2_0x5caecd(0x28c),a2_0x5caecd(0x2d0))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x314),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x5caecd(0x17b))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x21a),a2_0x5caecd(0x1d5))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x356),a2_0x5caecd(0x2b3))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1e2),a2_0x5caecd(0x14f),(_0x433185,_0x27c8e3)=>{return _0x27c8e3?[..._0x27c8e3,_0x433185]:[_0x433185];})[a2_0x5caecd(0x14e)](a2_0x5caecd(0x246),a2_0x5caecd(0x1dd),'td')[a2_0x5caecd(0x2db)](async(_0x2890a2,_0xf25dda)=>{const _0xdff68f=a2_0x5caecd;if(!_0x2890a2){apiCmd['help']();return;}const _0x2ea554=new ApiCommand(),_0x45c70a=program[_0xdff68f(0x1f1)](),_0x597f36=await createTDXInstance(_0x45c70a),_0x16cd64=await _0x2ea554[_0xdff68f(0x377)]({'options':{..._0x45c70a,..._0xf25dda},'args':[_0x2890a2],'tdx':_0x597f36});process[_0xdff68f(0x250)](_0x16cd64);}),tableCmd=program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x15d))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x37c)),tableListAction=async(_0x1e1a52,_0x9b71b2)=>{const _0x157cc4=a2_0x5caecd,_0x509be4=new TablesCommand(),_0x5cac46=program[_0x157cc4(0x1f1)](),_0x57dbd6=await createTDXInstance(_0x5cac46);_0x9b71b2['in']&&(_0x9b71b2[_0x157cc4(0x171)]=_0x9b71b2['in']);const _0x583f17=await _0x509be4[_0x157cc4(0x377)]({'options':{..._0x5cac46,..._0x9b71b2},'args':_0x1e1a52?[_0x1e1a52]:[],'tdx':_0x57dbd6});process[_0x157cc4(0x250)](_0x583f17);};tableCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x337))[a2_0x5caecd(0x1f6)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x19c),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x5caecd(0x14e)]('--in\x20<database>',a2_0x5caecd(0x15f))['action'](tableListAction),program['command'](a2_0x5caecd(0x168),{'hidden':!![]})[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x265))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x19c),a2_0x5caecd(0x1b8))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x155),a2_0x5caecd(0x15f))[a2_0x5caecd(0x2db)](tableListAction),program['command'](a2_0x5caecd(0x243))[a2_0x5caecd(0x1f6)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x19c),a2_0x5caecd(0x2cf))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x155),a2_0x5caecd(0x15f))[a2_0x5caecd(0x2db)](async(_0x3a8051,_0x1a6014)=>{const _0x408e47=a2_0x5caecd,_0x50c213=new ShowCommand(),_0x43ead2=program[_0x408e47(0x1f1)](),_0x4583a0=await createTDXInstance(_0x43ead2);_0x1a6014['in']&&(_0x1a6014[_0x408e47(0x171)]=_0x1a6014['in']);const _0x4abe6d=await _0x50c213['run']({'options':{..._0x43ead2,..._0x1a6014},'args':_0x3a8051?[_0x3a8051]:[],'tdx':_0x4583a0});process[_0x408e47(0x250)](_0x4abe6d);}),program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x205))[a2_0x5caecd(0x219)](a2_0x5caecd(0x37a))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x220))['option']('-d,\x20--database\x20<database>',a2_0x5caecd(0x2cf))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x155),a2_0x5caecd(0x15f))[a2_0x5caecd(0x2db)](async(_0x3263ae,_0x1a980a)=>{const _0x16d6c5=a2_0x5caecd,_0x2d6873=new DescribeCommand(),_0x541c8a=program[_0x16d6c5(0x1f1)](),_0x35d0dd=await createTDXInstance(_0x541c8a);_0x1a980a['in']&&(_0x1a980a[_0x16d6c5(0x171)]=_0x1a980a['in']);const _0x491f3d=await _0x2d6873[_0x16d6c5(0x377)]({'options':{..._0x541c8a,..._0x1a980a},'args':_0x3263ae?[_0x3263ae]:[],'tdx':_0x35d0dd});process[_0x16d6c5(0x250)](_0x491f3d);}),program[a2_0x5caecd(0x20e)]('query\x20[sql]')['description'](a2_0x5caecd(0x358))['option'](a2_0x5caecd(0x19c),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x155),a2_0x5caecd(0x15f))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2d2),a2_0x5caecd(0x1f0))[a2_0x5caecd(0x14e)]('-f,\x20--file\x20<path>','Read\x20SQL\x20query\x20from\x20file')[a2_0x5caecd(0x14e)]('--limit\x20<rows>',a2_0x5caecd(0x329),'40')[a2_0x5caecd(0x2db)](async(_0x1fed7a,_0x60f562)=>{const _0x25b258=a2_0x5caecd,_0x5a677c=new QueryCommand(),_0x5f344f=program[_0x25b258(0x1f1)](),_0x2d7de0=await createTDXInstance(_0x5f344f);_0x60f562['in']&&(_0x60f562['database']=_0x60f562['in']);const _0x2cd678=await _0x5a677c[_0x25b258(0x377)]({'options':{..._0x5f344f,..._0x60f562},'args':_0x1fed7a?[_0x1fed7a]:[],'tdx':_0x2d7de0});process[_0x25b258(0x250)](_0x2cd678);});const segmentCmd=program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1bd))[a2_0x5caecd(0x219)]('sg')[a2_0x5caecd(0x1f6)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x59f799,_0x8902a2)=>{const _0x377327=a2_0x5caecd,_0x53b585=new SegmentsCommand(),_0x57b4a6=program[_0x377327(0x1f1)](),_0x5c42f6=await createTDXInstance(_0x57b4a6),_0x34d607=await _0x53b585[_0x377327(0x377)]({'options':{..._0x57b4a6,..._0x8902a2},'args':_0x59f799?[_0x59f799]:[],'tdx':_0x5c42f6});process[_0x377327(0x250)](_0x34d607);};segmentCmd['command']('list\x20[path]')[a2_0x5caecd(0x1f6)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x5caecd(0x14e)]('-r,\x20--recursive','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')['option'](a2_0x5caecd(0x2fc),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),program['command'](a2_0x5caecd(0x189),{'hidden':!![]})[a2_0x5caecd(0x1f6)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x326),a2_0x5caecd(0x24d))[a2_0x5caecd(0x14e)]('--max-depth\x20<depth>',a2_0x5caecd(0x2ce),'10')[a2_0x5caecd(0x2db)](segmentListAction),segmentCmd['command'](a2_0x5caecd(0x223),{'hidden':!![]})['description'](a2_0x5caecd(0x2fb))['action'](async(_0x4a35d7,_0xb0e586)=>{const _0x4970e6=a2_0x5caecd,_0x1e251e=new SegmentUseCommand(),_0x1aa593=program[_0x4970e6(0x1f1)](),_0x142d91=await createTDXInstance(_0x1aa593),_0x477c94=await _0x1e251e[_0x4970e6(0x377)]({'options':{..._0x1aa593,..._0xb0e586},'args':[_0x4a35d7],'tdx':_0x142d91});process['exit'](_0x477c94);});const segmentViewAction=async(_0x4a0440,_0x5cbef7)=>{const _0x45d2ef=a2_0x5caecd,_0x209378=new SegmentViewCommand(),_0x3a7f9b=program[_0x45d2ef(0x1f1)](),_0x4b0b73=await createTDXInstance(_0x3a7f9b),_0x24263e=await _0x209378[_0x45d2ef(0x377)]({'options':{..._0x3a7f9b,..._0x5cbef7},'args':_0x4a0440?[_0x4a0440]:[],'tdx':_0x4b0b73});process[_0x45d2ef(0x250)](_0x24263e);};segmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x30f))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x1af))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x167),a2_0x5caecd(0x201))[a2_0x5caecd(0x2db)](segmentViewAction),segmentCmd['command'](a2_0x5caecd(0x196),{'hidden':!![]})['alias']('describe')[a2_0x5caecd(0x14e)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')['description'](a2_0x5caecd(0x2df))['action'](segmentViewAction),segmentCmd['command'](a2_0x5caecd(0x1d1))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x257))['action'](async(_0x2d1b95,_0x19925e)=>{const _0x1ed03f=a2_0x5caecd,_0xb57d7d=new SegmentDescCommand(),_0x1684eb=program[_0x1ed03f(0x1f1)](),_0x352760=await createTDXInstance(_0x1684eb),_0xb20d84=await _0xb57d7d[_0x1ed03f(0x377)]({'options':{..._0x1684eb,..._0x19925e},'args':_0x2d1b95?[_0x2d1b95]:[],'tdx':_0x352760});process[_0x1ed03f(0x250)](_0xb20d84);}),segmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x276))[a2_0x5caecd(0x1f6)]('Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x5caecd(0x2db)](async(_0x5d4d52,_0x25c612)=>{const _0x20e579=a2_0x5caecd,_0x2c7d6a=new SegmentShowCommand(),_0xb1715f=program['opts'](),_0x547000=await createTDXInstance(_0xb1715f),_0x1a117c=await _0x2c7d6a['run']({'options':{..._0xb1715f,..._0x25c612},'args':_0x5d4d52?[_0x5d4d52]:[],'tdx':_0x547000});process[_0x20e579(0x250)](_0x1a117c);}),segmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x27a),{'hidden':!![]})[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2b9))[a2_0x5caecd(0x2db)](async(_0x3f60e1,_0x2719fa)=>{const _0x3d7e09=a2_0x5caecd,_0x1e10e7=new SegmentFolderListCommand(),_0x4a3357=program[_0x3d7e09(0x1f1)](),_0x49b294=await createTDXInstance(_0x4a3357),_0x2686d2=await _0x1e10e7[_0x3d7e09(0x377)]({'options':{..._0x4a3357,..._0x2719fa},'args':[_0x3f60e1],'tdx':_0x49b294});process[_0x3d7e09(0x250)](_0x2686d2);});const folderCmd=segmentCmd['command'](a2_0x5caecd(0x194),{'hidden':!![]})[a2_0x5caecd(0x1f6)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x23c))['description'](a2_0x5caecd(0x144))[a2_0x5caecd(0x2db)](async(_0x2845b5,_0x3984c7)=>{const _0x5f2f25=a2_0x5caecd,_0x41fb52=new SegmentFolderShowCommand(),_0x26d684=program['opts'](),_0x4fdb9c=await createTDXInstance(_0x26d684),_0x12851f=await _0x41fb52[_0x5f2f25(0x377)]({'options':{..._0x26d684,..._0x3984c7},'args':[_0x2845b5],'tdx':_0x4fdb9c});process[_0x5f2f25(0x250)](_0x12851f);}),segmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2cb))['description'](a2_0x5caecd(0x206))[a2_0x5caecd(0x2db)](async(_0x26600d,_0x480221)=>{const _0x383504=a2_0x5caecd,_0x1306fd=new SegmentSQLCommand(),_0x2bcc7d=program[_0x383504(0x1f1)](),_0x5df66c=await createTDXInstance(_0x2bcc7d),_0x4281a9=await _0x1306fd[_0x383504(0x377)]({'options':{..._0x2bcc7d,..._0x480221},'args':_0x26600d?[_0x26600d]:[],'tdx':_0x5df66c});process[_0x383504(0x250)](_0x4281a9);}),segmentCmd['command']('fields\x20[parent_name]')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x334))[a2_0x5caecd(0x2db)](async(_0x3f9188,_0xff134e)=>{const _0x24cade=a2_0x5caecd,_0x7229a9=new SegmentFieldsCommand(),_0xe87ddf=program[_0x24cade(0x1f1)](),_0x38a22c=await createTDXInstance(_0xe87ddf),_0x39e25a=await _0x7229a9['run']({'options':{..._0xe87ddf,..._0xff134e},'args':_0x3f9188?[_0x3f9188]:[],'tdx':_0x38a22c});process[_0x24cade(0x250)](_0x39e25a);}),segmentCmd['command']('pull\x20[parent_or_file]')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2bf))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x22e),a2_0x5caecd(0x177))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33b),a2_0x5caecd(0x190))[a2_0x5caecd(0x2db)](async(_0xc5a83,_0x54d9a2)=>{const _0x2d05e9=a2_0x5caecd,_0xfd5f7c=new SegmentPullCommand(),_0x34b21e=program[_0x2d05e9(0x1f1)](),_0x1c98c0=await createTDXInstance(_0x34b21e),_0x3d369b=await _0xfd5f7c['run']({'options':{..._0x34b21e,..._0x54d9a2},'args':_0xc5a83?[_0xc5a83]:[],'tdx':_0x1c98c0});process[_0x2d05e9(0x250)](_0x3d369b);}),segmentCmd['command'](a2_0x5caecd(0x222))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2fe))['option'](a2_0x5caecd(0x22e),'Skip\x20confirmation\x20prompts')['option']('--dry-run',a2_0x5caecd(0x190))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1f5),a2_0x5caecd(0x38c))['action'](async(_0x5b3ddb,_0x2e97f1)=>{const _0x26040a=a2_0x5caecd,_0x17368f=new SegmentPushCommand(),_0xb68d9=program['opts'](),_0x5132b1=await createTDXInstance(_0xb68d9),_0x424781=await _0x17368f['run']({'options':{..._0xb68d9,..._0x2e97f1},'args':_0x5b3ddb?[_0x5b3ddb]:[],'tdx':_0x5132b1});process[_0x26040a(0x250)](_0x424781);}),segmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x297))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2e9))[a2_0x5caecd(0x2db)](async(_0x1120fc,_0x56e60e)=>{const _0x8956c9=a2_0x5caecd,_0x5dbbdb=new SegmentValidateCommand(),_0x1ab2ab=program['opts'](),_0x391857=await createTDXInstance(_0x1ab2ab),_0x295b8b=await _0x5dbbdb['run']({'options':{..._0x1ab2ab,..._0x56e60e},'args':_0x1120fc?[_0x1120fc]:[],'tdx':_0x391857});process[_0x8956c9(0x250)](_0x295b8b);}),segmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x20c),{'hidden':!![]})['description'](a2_0x5caecd(0x27f))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33c),a2_0x5caecd(0x328))['option'](a2_0x5caecd(0x385),a2_0x5caecd(0x254))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1e0),'Filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x5caecd(0x17a),a2_0x5caecd(0x13d))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x165),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1df),'Make\x20segment\x20invisible\x20(default:\x20visible)')['option']('--no-count-population',a2_0x5caecd(0x292))['action'](async(_0x30a3d0,_0x5bdcde)=>{const _0x5ee54b=a2_0x5caecd,_0x21ab6b=new SegmentCreateCommand(),_0x4ce03b=program[_0x5ee54b(0x1f1)](),_0x14089c=await createTDXInstance(_0x4ce03b),_0x18c4df=await _0x21ab6b[_0x5ee54b(0x377)]({'options':{..._0x4ce03b,..._0x5bdcde},'args':[_0x30a3d0],'tdx':_0x14089c});process[_0x5ee54b(0x250)](_0x18c4df);}),segmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x36c),{'hidden':!![]})[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x21b))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2e5),a2_0x5caecd(0x1aa))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33c),a2_0x5caecd(0x200))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x385),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')['option']('--rule-file\x20<file>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x5caecd(0x14e)]('--folder\x20<name>',a2_0x5caecd(0x323))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x165),a2_0x5caecd(0x252))[a2_0x5caecd(0x2db)](async(_0x42152e,_0x1f9909)=>{const _0x3f557b=a2_0x5caecd,_0x269d21=new SegmentUpdateCommand(),_0x466ba2=program['opts'](),_0x46096c=await createTDXInstance(_0x466ba2),_0x1f0d59=await _0x269d21[_0x3f557b(0x377)]({'options':{..._0x466ba2,..._0x1f9909},'args':[_0x42152e],'tdx':_0x46096c});process['exit'](_0x1f0d59);});const parentCmd=segmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x208),{'hidden':!![]})[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x161)),parentListAction=async(_0x2d365e,_0x35f504)=>{const _0x443f76=a2_0x5caecd,_0x3ff401=new ParentSegmentListCommand(),_0x32d61d=program[_0x443f76(0x1f1)](),_0x343004=await createTDXInstance(_0x32d61d),_0x2ad1c7=await _0x3ff401[_0x443f76(0x377)]({'options':{..._0x32d61d,..._0x35f504},'args':_0x2d365e?[_0x2d365e]:[],'tdx':_0x343004});process[_0x443f76(0x250)](_0x2ad1c7);};parentCmd['command'](a2_0x5caecd(0x337))['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x5caecd(0x2db)](parentListAction),segmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x149),{'hidden':!![]})[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2ac))[a2_0x5caecd(0x2db)](parentListAction),parentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x307))['description'](a2_0x5caecd(0x234))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x30d),a2_0x5caecd(0x367))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x22e),a2_0x5caecd(0x342))[a2_0x5caecd(0x2db)](async(_0xf8383d,_0x5883a6)=>{const _0x2cd35c=a2_0x5caecd,_0x25ee3f=new ParentSegmentPullCommand(),_0x51e154=program[_0x2cd35c(0x1f1)](),_0x5477db=await createTDXInstance(_0x51e154),_0xa1cd6c=await _0x25ee3f['run']({'options':{..._0x51e154,..._0x5883a6},'args':_0xf8383d?[_0xf8383d]:[],'tdx':_0x5477db});process[_0x2cd35c(0x250)](_0xa1cd6c);}),parentCmd['command']('push\x20[file]')['description']('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x5caecd(0x14e)]('-y,\x20--yes',a2_0x5caecd(0x342))[a2_0x5caecd(0x2db)](async(_0x362690,_0x40c9dc)=>{const _0x1fdaf5=a2_0x5caecd,_0x240709=new ParentSegmentPushCommand(),_0x2ab688=program[_0x1fdaf5(0x1f1)](),_0x19b2ee=await createTDXInstance(_0x2ab688),_0x54ee4b=await _0x240709['run']({'options':{..._0x2ab688,..._0x40c9dc},'args':_0x362690?[_0x362690]:[],'tdx':_0x19b2ee});process[_0x1fdaf5(0x250)](_0x54ee4b);}),parentCmd['command']('validate\x20[file]')['description'](a2_0x5caecd(0x300))[a2_0x5caecd(0x14e)]('--master',a2_0x5caecd(0x2cd))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2a6),a2_0x5caecd(0x20b))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x245),a2_0x5caecd(0x23e))['option'](a2_0x5caecd(0x1d4),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')['option'](a2_0x5caecd(0x1e1),a2_0x5caecd(0x2e7),'-1d')['action'](async(_0x43e18b,_0x44bdc4)=>{const _0x314ee6=a2_0x5caecd,_0x3b04df=new ParentSegmentValidateCommand(),_0x2796ee=program[_0x314ee6(0x1f1)](),_0x419ff3=await createTDXInstance(_0x2796ee),_0x167abd=await _0x3b04df[_0x314ee6(0x377)]({'options':{..._0x2796ee,..._0x44bdc4},'args':_0x43e18b?[_0x43e18b]:[],'tdx':_0x419ff3});process[_0x314ee6(0x250)](_0x167abd);}),parentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x13e))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x1cb))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x386),a2_0x5caecd(0x140))[a2_0x5caecd(0x14e)]('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')['option'](a2_0x5caecd(0x245),a2_0x5caecd(0x1be))['option'](a2_0x5caecd(0x1d4),a2_0x5caecd(0x2ff))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1e1),a2_0x5caecd(0x2e7),'-1d')[a2_0x5caecd(0x2db)](async(_0x5d44b9,_0x456012)=>{const _0x16adaa=a2_0x5caecd,_0x2d30f6=new ParentSegmentPreviewCommand(),_0x463077=program[_0x16adaa(0x1f1)](),_0x44e76d=await createTDXInstance(_0x463077),_0x8aeaca=await _0x2d30f6[_0x16adaa(0x377)]({'options':{..._0x463077,..._0x456012},'args':_0x5d44b9?[_0x5d44b9]:[],'tdx':_0x44e76d});process['exit'](_0x8aeaca);}),parentCmd['command'](a2_0x5caecd(0x187))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x31f))['option'](a2_0x5caecd(0x22e),a2_0x5caecd(0x342))[a2_0x5caecd(0x2db)](async(_0x24915a,_0x1e5ad3)=>{const _0x4e7af2=a2_0x5caecd,_0x52dfe3=new ParentSegmentRunCommand(),_0x585f20=program[_0x4e7af2(0x1f1)](),_0x3009d3=await createTDXInstance(_0x585f20),_0x23b7f4=await _0x52dfe3[_0x4e7af2(0x377)]({'options':{..._0x585f20,..._0x1e5ad3},'args':_0x24915a?[_0x24915a]:[],'tdx':_0x3009d3});process[_0x4e7af2(0x250)](_0x23b7f4);});const parentSegmentCmd=program['command'](a2_0x5caecd(0x1a7))[a2_0x5caecd(0x219)]('ps')['description'](a2_0x5caecd(0x21c));parentSegmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x337))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x34e))[a2_0x5caecd(0x2db)](parentListAction),parentSegmentCmd[a2_0x5caecd(0x20e)]('pull\x20[name]')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x27d))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x30d),a2_0x5caecd(0x182))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x22e),a2_0x5caecd(0x342))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x34d),a2_0x5caecd(0x158))['action'](async(_0x35fac1,_0xa83a0)=>{const _0x360258=a2_0x5caecd,_0xeb01f4=new ParentSegmentPullCommand(),_0x27ff1a=program[_0x360258(0x1f1)](),_0x34ce2e=await createTDXInstance(_0x27ff1a),_0x16b124=await _0xeb01f4[_0x360258(0x377)]({'options':{..._0x27ff1a,..._0xa83a0},'args':_0x35fac1?[_0x35fac1]:[],'tdx':_0x34ce2e});process[_0x360258(0x250)](_0x16b124);}),parentSegmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2ad))[a2_0x5caecd(0x1f6)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x5caecd(0x22e),a2_0x5caecd(0x342))[a2_0x5caecd(0x2db)](async(_0xedee62,_0x2f48a8)=>{const _0x2f7f44=a2_0x5caecd,_0x116bda=new ParentSegmentPushCommand(),_0x5eb278=program[_0x2f7f44(0x1f1)](),_0x422b98=await createTDXInstance(_0x5eb278),_0x1e4f0c=await _0x116bda[_0x2f7f44(0x377)]({'options':{..._0x5eb278,..._0x2f48a8},'args':_0xedee62?[_0xedee62]:[],'tdx':_0x422b98});process[_0x2f7f44(0x250)](_0x1e4f0c);}),parentSegmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x22c))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x300))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x386),a2_0x5caecd(0x2cd))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2a6),a2_0x5caecd(0x20b))['option'](a2_0x5caecd(0x245),a2_0x5caecd(0x23e))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1d4),a2_0x5caecd(0x26f))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1e1),a2_0x5caecd(0x2e7),'-1d')[a2_0x5caecd(0x2db)](async(_0x192faa,_0x178b1b)=>{const _0x446948=a2_0x5caecd,_0x11d171=new ParentSegmentValidateCommand(),_0x116d25=program[_0x446948(0x1f1)](),_0xce1364=await createTDXInstance(_0x116d25),_0x336984=await _0x11d171['run']({'options':{..._0x116d25,..._0x178b1b},'args':_0x192faa?[_0x192faa]:[],'tdx':_0xce1364});process['exit'](_0x336984);}),parentSegmentCmd['command']('preview\x20[name]')[a2_0x5caecd(0x1f6)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x386),a2_0x5caecd(0x140))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2a6),a2_0x5caecd(0x317))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x245),a2_0x5caecd(0x1be))['option'](a2_0x5caecd(0x1d4),a2_0x5caecd(0x2ff))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1e1),a2_0x5caecd(0x2e7),a2_0x5caecd(0x2c6))['action'](async(_0x10a023,_0x309bc3)=>{const _0xc4c1b1=a2_0x5caecd,_0x6d0c79=new ParentSegmentPreviewCommand(),_0x4a478d=program[_0xc4c1b1(0x1f1)](),_0xa29507=await createTDXInstance(_0x4a478d),_0x5e78b0=await _0x6d0c79['run']({'options':{..._0x4a478d,..._0x309bc3},'args':_0x10a023?[_0x10a023]:[],'tdx':_0xa29507});process['exit'](_0x5e78b0);}),parentSegmentCmd[a2_0x5caecd(0x20e)]('run\x20[name]')[a2_0x5caecd(0x1f6)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x5caecd(0x14e)]('-y,\x20--yes',a2_0x5caecd(0x342))['action'](async(_0x2af20f,_0x560cba)=>{const _0x38d15e=a2_0x5caecd,_0x8ca02b=new ParentSegmentRunCommand(),_0x54c9bb=program['opts'](),_0x5388f1=await createTDXInstance(_0x54c9bb),_0x505227=await _0x8ca02b['run']({'options':{..._0x54c9bb,..._0x560cba},'args':_0x2af20f?[_0x2af20f]:[],'tdx':_0x5388f1});process[_0x38d15e(0x250)](_0x505227);}),parentSegmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x360))['description'](a2_0x5caecd(0x1e7))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2dc),a2_0x5caecd(0x148))['option'](a2_0x5caecd(0x153),a2_0x5caecd(0x14b))[a2_0x5caecd(0x2db)](async(_0xed39fe,_0x319a13)=>{const _0x12b405=a2_0x5caecd,_0x2a9cbe=new ParentSegmentFieldsCommand(),_0x22024a=program[_0x12b405(0x1f1)](),_0x56d26c=await createTDXInstance(_0x22024a),_0x2b4872=await _0x2a9cbe[_0x12b405(0x377)]({'options':{..._0x22024a,..._0x319a13},'args':_0xed39fe?[_0xed39fe]:[],'tdx':_0x56d26c});process[_0x12b405(0x250)](_0x2b4872);}),parentSegmentCmd['command'](a2_0x5caecd(0x35c))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x1a3))[a2_0x5caecd(0x14e)]('-w,\x20--web',a2_0x5caecd(0x286))['option']('--json','Output\x20as\x20JSON')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x153),a2_0x5caecd(0x14b))['action'](async(_0x336535,_0xd2465a)=>{const _0x42884e=a2_0x5caecd,_0x5815a8=new ParentSegmentViewCommand(),_0x3ec73f=program[_0x42884e(0x1f1)](),_0x15b2d3=await createTDXInstance(_0x3ec73f),_0x4e4fd3=await _0x5815a8[_0x42884e(0x377)]({'options':{..._0x3ec73f,..._0xd2465a},'args':_0x336535?[_0x336535]:[],'tdx':_0x15b2d3});process[_0x42884e(0x250)](_0x4e4fd3);}),parentSegmentCmd[a2_0x5caecd(0x20e)]('desc\x20[name]')[a2_0x5caecd(0x1f6)]('Show\x20parent\x20segment\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x5caecd(0x2dc),a2_0x5caecd(0x148))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x153),a2_0x5caecd(0x14b))[a2_0x5caecd(0x2db)](async(_0x56e341,_0x14eb90)=>{const _0xaaa13a=a2_0x5caecd,_0x128518=new ParentSegmentDescCommand(),_0x1615f4=program['opts'](),_0x3f2347=await createTDXInstance(_0x1615f4),_0x1b9941=await _0x128518[_0xaaa13a(0x377)]({'options':{..._0x1615f4,..._0x14eb90},'args':_0x56e341?[_0x56e341]:[],'tdx':_0x3f2347});process['exit'](_0x1b9941);}),parentSegmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1c2))['description'](a2_0x5caecd(0x335))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2dc),a2_0x5caecd(0x148))['option']('--jsonl',a2_0x5caecd(0x14b))[a2_0x5caecd(0x2db)](async(_0x2f9fa8,_0x2b6476)=>{const _0x5b2816=a2_0x5caecd,_0x5337b7=new ParentSegmentSQLCommand(),_0x151282=program[_0x5b2816(0x1f1)](),_0x1a10c7=await createTDXInstance(_0x151282),_0x3c5bb3=await _0x5337b7[_0x5b2816(0x377)]({'options':{..._0x151282,..._0x2b6476},'args':_0x2f9fa8?[_0x2f9fa8]:[],'tdx':_0x1a10c7});process['exit'](_0x3c5bb3);}),parentSegmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x157))['description'](a2_0x5caecd(0x1f2))[a2_0x5caecd(0x14e)]('--limit\x20<n>',a2_0x5caecd(0x2ea))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2dc),a2_0x5caecd(0x148))['option'](a2_0x5caecd(0x153),'Output\x20as\x20JSON\x20Lines')[a2_0x5caecd(0x2db)](async(_0x385e18,_0x5f3de6)=>{const _0x2f86d8=a2_0x5caecd,_0x3ad6a2=new ParentSegmentShowCommand(),_0x8abedb=program[_0x2f86d8(0x1f1)](),_0x2fa5f5=await createTDXInstance(_0x8abedb),_0x17e572=await _0x3ad6a2[_0x2f86d8(0x377)]({'options':{..._0x8abedb,..._0x5f3de6},'args':_0x385e18?[_0x385e18]:[],'tdx':_0x2fa5f5});process[_0x2f86d8(0x250)](_0x17e572);}),parentSegmentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x350))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x25f))[a2_0x5caecd(0x2db)](async(_0x5f3325,_0x2ece91)=>{const _0x10170e=a2_0x5caecd,_0x4be023=new UseCommand(),_0x402d86=program[_0x10170e(0x1f1)](),_0x3210e8=_0x5f3325?[_0x10170e(0x1d8),_0x5f3325]:[],_0x253b5c=await _0x4be023[_0x10170e(0x377)]({'options':{..._0x402d86,..._0x2ece91},'args':_0x3210e8,'tdx':null});process[_0x10170e(0x250)](_0x253b5c);}),parentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x186))[a2_0x5caecd(0x1f6)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')['requiredOption'](a2_0x5caecd(0x259),'Master\x20database\x20name')[a2_0x5caecd(0x38a)](a2_0x5caecd(0x227),a2_0x5caecd(0x30e))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33c),'Parent\x20segment\x20description')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x344),a2_0x5caecd(0x270))['option'](a2_0x5caecd(0x1f7),a2_0x5caecd(0x22d))[a2_0x5caecd(0x14e)]('--timezone\x20<tz>',a2_0x5caecd(0x20a))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2b0),a2_0x5caecd(0x18c))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2b8),a2_0x5caecd(0x33f))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2d6),'Behaviors\x20as\x20JSON\x20string')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1ea),'Behaviors\x20from\x20JSON\x20file')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2d3),a2_0x5caecd(0x372))[a2_0x5caecd(0x14e)]('--customer-group-file\x20<file>','Customer\x20group\x20from\x20JSON\x20file')[a2_0x5caecd(0x2db)](async(_0x456817,_0x34d36e)=>{const _0x1d2903=new ParentSegmentCreateCommand(),_0x4aaaf3=program['opts'](),_0x306afd=await createTDXInstance(_0x4aaaf3),_0x2af8a6=await _0x1d2903['run']({'options':{..._0x4aaaf3,..._0x34d36e},'args':[_0x456817],'tdx':_0x306afd});process['exit'](_0x2af8a6);}),parentCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x21e))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x160))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33c),a2_0x5caecd(0x200))[a2_0x5caecd(0x14e)]('--schedule-type\x20<type>',a2_0x5caecd(0x348))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1f7),a2_0x5caecd(0x366))[a2_0x5caecd(0x14e)]('--timezone\x20<tz>',a2_0x5caecd(0x2e2))[a2_0x5caecd(0x14e)]('--add-attributes\x20<json>',a2_0x5caecd(0x368))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2d7),'Add\x20attributes\x20from\x20JSON\x20file')['option']('--add-behaviors\x20<json>',a2_0x5caecd(0x32a))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x36a),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x5caecd(0x2db)](async(_0xedbc7c,_0x11d8ac)=>{const _0x3cfc23=a2_0x5caecd,_0x4d3760=new ParentSegmentUpdateCommand(),_0x32ef31=program[_0x3cfc23(0x1f1)](),_0x141c3e=await createTDXInstance(_0x32ef31),_0x114b84=await _0x4d3760['run']({'options':{..._0x32ef31,..._0x11d8ac},'args':[_0xedbc7c],'tdx':_0x141c3e});process['exit'](_0x114b84);}),folderCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x315))['description'](a2_0x5caecd(0x147))['option'](a2_0x5caecd(0x33c),a2_0x5caecd(0x316))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x291),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x5caecd(0x2db)](async(_0x38b4cd,_0x5e8f05,_0x5a5ab4)=>{const _0x7867ba=a2_0x5caecd,_0x3808d0=new SegmentFolderCreateCommand(),_0x27ea3a=program[_0x7867ba(0x1f1)](),_0x20e372=await createTDXInstance(_0x27ea3a),_0x2cf268=await _0x3808d0['run']({'options':{..._0x27ea3a,..._0x5a5ab4},'args':[_0x38b4cd,_0x5e8f05],'tdx':_0x20e372});process[_0x7867ba(0x250)](_0x2cf268);}),program['command'](a2_0x5caecd(0x299))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x23a))[a2_0x5caecd(0x2db)](async(_0x414af6,_0x36c63d)=>{const _0x4c1441=a2_0x5caecd,_0x274d0b=new ActivationsCommand(),_0x491b5a=program[_0x4c1441(0x1f1)](),_0x1541b0=await createTDXInstance(_0x491b5a),_0x571e8d=await _0x274d0b['run']({'options':{..._0x491b5a,..._0x36c63d},'args':[_0x414af6],'tdx':_0x1541b0});process[_0x4c1441(0x250)](_0x571e8d);});const workflowCmd=program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x28a))[a2_0x5caecd(0x219)]('wf')[a2_0x5caecd(0x1f6)]('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd['command'](a2_0x5caecd(0x263))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x374)),wfProjectListAction=async(_0xb9a876,_0x111203)=>{const _0x2ed155=new WorkflowProjectsCommand(),_0x525e3c=program['opts'](),_0x3dc5a6=await createTDXInstance(_0x525e3c),_0x11d60c=await _0x2ed155['run']({'options':{..._0x525e3c,..._0x111203},'args':_0xb9a876?[_0xb9a876]:[],'tdx':_0x3dc5a6});process['exit'](_0x11d60c);};wfProjectCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x337))[a2_0x5caecd(0x1f6)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x5caecd(0x2db)](wfProjectListAction),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1b4))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x231))[a2_0x5caecd(0x2db)](wfProjectListAction);const wfWorkflowListAction=async(_0x18badb,_0x2bc184)=>{const _0x1431a0=a2_0x5caecd,_0x4fcdd4=new WorkflowWorkflowsCommand(),_0x356815=program[_0x1431a0(0x1f1)](),_0x5af818=await createTDXInstance(_0x356815),_0x432431=await _0x4fcdd4['run']({'options':{..._0x356815,..._0x2bc184},'args':_0x18badb?[_0x18badb]:[],'tdx':_0x5af818});process[_0x1431a0(0x250)](_0x432431);};workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x25d))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x20d))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x5caecd(0x1ca))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x1c5)),wfSessionListAction=async(_0xa5eb0b,_0x705d9a)=>{const _0x1ed798=a2_0x5caecd,_0x1e8fd4=new WorkflowSessionsCommand(),_0x50cd44=program[_0x1ed798(0x1f1)](),_0x1c1d01=await createTDXInstance(_0x50cd44),_0x49c91e=await _0x1e8fd4['run']({'options':{..._0x50cd44,..._0x705d9a},'args':_0xa5eb0b?[_0xa5eb0b]:[],'tdx':_0x1c1d01});process[_0x1ed798(0x250)](_0x49c91e);};wfSessionCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x237))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x238))['option']('--status\x20<status>',a2_0x5caecd(0x249))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2a0),a2_0x5caecd(0x1cc))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x26b),a2_0x5caecd(0x15a))[a2_0x5caecd(0x2db)](wfSessionListAction),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x383))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x195))['option'](a2_0x5caecd(0x211),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2a0),a2_0x5caecd(0x1cc))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x26b),a2_0x5caecd(0x15a))[a2_0x5caecd(0x2db)](wfSessionListAction);function a2_0x242f(){const _0x131fa2=['show\x20[table]','Create\x20an\x20email\x20template','--behavior\x20[name]','--type\x20<api_type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','isTTY','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','set','Plaintext\x20template\x20content','-v,\x20--verbose','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Preview\x20without\x20creating\x20the\x20project','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','exit','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Include\x20subtasks\x20in\x20tasks\x20output','Filtering\x20rule\x20as\x20JSON\x20string','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','-p,\x20--profile\x20<name>','Show\x20segment\x20schema\x20(column\x20types)','Duplicate\x20a\x20campaign','--database\x20<db>','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Delete\x20an\x20agent','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','workflows\x20[project]','submit\x20[query]','Set\x20or\x20show\x20parent\x20segment\x20context','set\x20<args...>','us01','Template\x20name','project','Update\x20a\x20workspace','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','map','Start\x20a\x20new\x20chat\x20session','Commands:','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Directory\x20does\x20not\x20exist:\x20','--to\x20<timestamp>','apiKey','required','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','5343296whsTkp','--full','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','clone\x20[source-dir]','List\x20available\x20LLM\x20models','show\x20[segment_name]','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','push\x20[path]','CDP\x20Journey\x20Orchestration\x20commands','folders\x20<parent_name>','push','Kill\x20a\x20job','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Include\x20retried\x20attempts\x20(for\x20list)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','4484814adfEET','Create\x20a\x20new\x20LLM\x20project',',\x20version\x20','proxy','New\x20template\x20name','campaign','Open\x20parent\x20segment\x20in\x20web\x20browser','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','remove\x20<name>','5296eglqme','workflow','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','after','stats\x20<name-or-path>','claude-4.5-sonnet','--model\x20<name>','connections','--parent-folder\x20<name>','Skip\x20population\x20counting','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','debug','--workspace\x20<name>','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','validate\x20[target]','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','activations\x20<segment_name>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','pause\x20<name-or-id>','--temperature\x20<n>','Preview\x20changes\x20without\x20pushing','146493WEVSEi','20311497phFbOT','--from\x20<timestamp>','Launch\x20a\x20campaign','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','use\x20<project-name>','retry\x20<session-id>','Email\x20template\x20management','--attribute\x20[name]','delete\x20<project-name-or-id>','TRACE','List\x20all\x20data\x20connections','--site\x20<site>','--format\x20<format>','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','push\x20[name]','--timezone\x20<tz>','Workspace\x20name\x20(required)','--attributes\x20<json>','summary','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Read\x20request\x20body\x20from\x20file','template','chats','\x20-\x20built\x20','--params\x20<json>','--attributes-file\x20<file>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','trino','view\x20<name-or-path>','stdout','subcommandDescription','noColor','Pull\x20child\x20segments\x20to\x20YAML\x20files','--param\x20<key=value>','--include-stats','help','Campaign\x20description','update\x20<name-or-id>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','-1d','subcommandTerm','push\x20[target]','pull\x20<project>\x20[target-dir]','user','sql\x20[segment_name]','Interactive\x20chat\x20selector','Show\x20only\x20master\x20table\x20validation','Maximum\x20recursion\x20depth\x20(default:\x2010)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','\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','--session\x20<id>','--catalog\x20<catalog>','--customer-group\x20<json>','show\x20<job-id>','Workspace\x20description','--behaviors\x20<json>','--add-attributes-file\x20<file>','Campaign\x20type\x20(email\x20or\x20push)','push\x20[source-dir]','4105341alvPbH','action','--json','name','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Show\x20segment\x20details\x20(alias\x20for\x20view)','profile','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Updated\x20timezone','-n,\x20--name\x20<name>','pull\x20[project]\x20[agent-name]','--name\x20<new_name>','Name\x20for\x20the\x20new\x20project\x20(required)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','injectIntoOptions','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Limit\x20number\x20of\x20rows','agent','engage','List\x20available\x20connector\x20types','json','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--type\x20<type>','Update\x20an\x20existing\x20agent','-C,\x20--directory\x20<path>','Show\x20stats\x20for\x20specific\x20stage','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Workspace\x20name','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','tdx','LLM\x20agent\x20management','aliases','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','--max-depth\x20<depth>','Maximum\x20tool\x20iterations\x20(default:\x204)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','resume\x20<name-or-path>','padEnd','10jDPoMs','Agent\x20name','--timeout\x20<seconds>','connection','pull\x20[name]','buildTime','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','api\x20[endpoint]','Clear\x20workflow\x20project\x20context','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','-o,\x20--output\x20<file>','Master\x20table\x20name','view\x20[segment_name]','System\x20prompt/instructions\x20(default:\x20empty)','argumentTerm','--resume-from\x20<task>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','-X,\x20--method\x20<method>','create\x20<parent_name>\x20<folder_name>','Folder\x20description','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','List\x20all\x20available\x20profiles','clear','[task-name]','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','commandDescription','--clear','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Enable\x20verbose\x20logging','repeat','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Move\x20to\x20folder','List\x20all\x20users\x20in\x20the\x20account','status','-r,\x20--recursive','restore\x20<folder>','Segment\x20description','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Add\x20behaviors\x20as\x20JSON\x20string','Delete\x20an\x20email\x20template','Campaign\x20management','hook','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','kill\x20<job-id>','jobs','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--prompt\x20<text>','\x20(resolved\x20to\x20','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20campaign\x20details','list\x20[pattern]','Force\x20retry\x20even\x20if\x20not\x20failed','format','parse','--dry-run','--description\x20<text>','Preview\x20operation\x20without\x20executing','--start-at\x20<datetime>','Attributes\x20from\x20JSON\x20file','catch','New\x20workspace\x20name','Skip\x20confirmation\x20prompt','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','--schedule-type\x20<type>','--agent\x20<ref>','Validate\x20journey\x20YAML\x20files\x20locally','Show\x20journey\x20statistics','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Data\x20connection\x20management\x20(for\x20activations/exports)','isDirectory','create','--color','-u,\x20--use','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Show\x20connection\x20details\x20by\x20name','use\x20[name]','site','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','users','--name\x20<new-name>','-f,\x20--file\x20<path>','error','Run\x20Trino\x20query\x20with\x20streaming\x20results','Editor\x20type','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Agent\x20prompt/instructions','view\x20[name]','statusline','optionTerm','information_schema','fields\x20[name]','delete\x20<args...>','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','filter','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','--force','Updated\x20schedule\x20option','Output\x20file\x20path\x20(default:\x20<name>.yml)','Add\x20attributes\x20as\x20JSON\x20string','outputHelp','--add-behaviors-file\x20<file>','delete\x20<name-or-id>','update\x20<segment_name>','--output\x20<file>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Pull\x20workflow\x20project\x20to\x20local\x20folder','Pause\x20a\x20running\x20journey','Preview\x20changes\x20without\x20writing\x20files','Customer\x20group\x20as\x20JSON\x20string','--json-columns\x20<cols>','Workflow\x20project\x20management','Custom\x20revision\x20name\x20(default:\x20timestamp)','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','run','Options:','join','desc','AI-native\x20CLI\x20for\x20Treasure\x20Data','Table\x20management\x20commands','addHelpText','Push\x20without\x20confirmation','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','--segment\x20<path>','delete\x20<name>','agents\x20[pattern]','sessions\x20[project]','setup','--rule\x20<json>','--master','--reason\x20<text>','log','delete\x20<agent-name>','requiredOption','download\x20<project-name>\x20[output-dir]','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Manage\x20workflow\x20project\x20secrets','Set\x20session\x20profile','-f,\x20--force','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','preAction','--max-tool-iterations\x20<n>','workspaces\x20[pattern]','\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','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','allowUnknownOption','Folder\x20name\x20for\x20organization','preview\x20[file]','Create\x20a\x20new\x20profile\x20interactively','Show\x20master\x20table\x20sample\x20data','--parent-segment\x20<name>','Show\x20email\x20template\x20details','commands','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Export\x20journey(s)\x20as\x20YAML\x20files','show\x20<name>','Create\x20segment\x20folder','Output\x20as\x20JSON','parents\x20[pattern]','models','Output\x20as\x20JSON\x20Lines','--editor-type\x20<type>','auth','option','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','List\x20agents\x20in\x20current\x20project','trace','--jsonl','Database\x20name\x20(default:\x20information_schema)','--in\x20<database>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','show\x20[name]','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Output\x20folder\x20(default:\x20{project_name}.llm)','End\x20time\x20filter\x20(ISO\x208601\x20format)','kill','history\x20[chat-id]','table','Usage:\x20','Alias\x20for\x20--database\x20(natural\x20language\x20style)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','INFO','[options]\x20--\x20[claude-code-args...]','--kind\x20<type>','clone\x20[source]','-w,\x20--web','tables\x20[pattern]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','gitRevision','tsv','Show\x20job\x20details','Resume\x20from\x20specific\x20task','Delete\x20an\x20LLM\x20project','options','database','Show\x20workspace\x20details','Set\x20operation\x20timeout\x20in\x20seconds','--email-sender-id\x20<id>','--no-proxy','Workflow\x20attempt\x20management','Skip\x20confirmation\x20prompts','Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)','List\x20secret\x20keys\x20for\x20a\x20project','--folder\x20<name>','GET','stderr','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','--plaintext\x20<text>','List\x20journeys\x20in\x20current\x20context','Delete\x20a\x20workspace','chdir','Output\x20file\x20path','Email\x20subject\x20template','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','templates\x20[pattern]','create\x20<name>','run\x20[name]','--html\x20<html>','segments\x20[path]','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','--project\x20<name>','Attributes\x20as\x20JSON\x20string','Remove\x20API\x20key\x20from\x20system\x20keychain','schema\x20<type>','LLM\x20project\x20management','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','optionDescription','JSON\x20columns\x20for\x20connector\x20(comma-separated)','databases\x20[pattern]','folder','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','info\x20[segment_name]','Include\x20retried\x20attempts','journeys\x20[pattern]','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','isArray','-d,\x20--database\x20<database>','--starter-message\x20<text>','\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','[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)','New\x20campaign\x20name','INVALID_ARGUMENT','--database\x20<name>','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Submit\x20a\x20job','claude\x20[args...]','flatMap','parent-segment','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a','New\x20segment\x20name','--stage\x20<name>','argument','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','slice','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--subject\x20<subject>','Resume\x20from\x20specific\x20task\x20(retry)','Email\x20sender\x20ID\x20for\x20delivery','use\x20<name>','projects\x20[pattern]','Update\x20a\x20campaign','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--tsv','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','length','types','createAsync','4000','segment','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--llm-project\x20<name>','logs','Starter\x20message','sql\x20[name]','attempts\x20[project]','Attempt\x20ID','Workflow\x20session\x20management','commandUsage','Pull\x20specific\x20revision\x20(default:\x20latest)','0.7','Resume\x20a\x20paused\x20campaign','session','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Read\x20query\x20from\x20file','port','jsonl','directory','desc\x20[segment_name]','hidden','Continue\x20most\x20recent\x20conversation','--enriched','Request\x20body\x20as\x20JSON\x20string','Create\x20a\x20new\x20campaign','HTML\x20template\x20content','parent_segment','--name\x20<name>','--include-retried','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Skip\x20validation\x20of\x20.dig\x20files','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Resume\x20a\x20conversation\x20(shows\x20selector)','--invisible','--rule-file\x20<file>','--interval\x20<range>','-H,\x20--header\x20<header>','list','journey','run\x20[workflow]','logLevel','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','secrets','--behaviors-file\x20<file>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','retry','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','15547WSUMyF','Trino\x20catalog\x20(default:\x20td)','opts','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Include\x20execution\x20statistics','--delete','description','--schedule-option\x20<value>','Project\x20description','padWidth','sonnet','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','--port\x20<number>','--revision\x20<revision>','tasks','attempt','Updated\x20description','Open\x20segment\x20in\x20web\x20browser','--skip-validation','use\x20[project]','includes','describe\x20[table]','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','settings\x20<type>','parent','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Timezone\x20(e.g.,\x20America/Los_Angeles)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','create\x20<segment_name>','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','command','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','--yes','--status\x20<status>','Authentication\x20management','-c,\x20--continue','[action]','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','workspace','result\x20<job-id>','alias','--data\x20<data>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Parent\x20segment\x20management','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','update\x20<name>','--include-subtasks','Describe\x20table\x20schema','usage','push\x20[parent_or_file]','use\x20<path>','argumentDescription','-d,\x20--database\x20<name>','2137530wlTFfN','--table\x20<table>','--description\x20<desc>','show\x20<name-or-id>','Set\x20a\x20profile\x20configuration\x20value','chat\x20[message...]','validate\x20[name]','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','-y,\x20--yes','get','Agent\x20description','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Workspace\x20management','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','resume\x20<name-or-id>','--trace','list\x20[project]','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','_hidden','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--no-color','show\x20<folder_ref>','Resume\x20a\x20paused\x20journey','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','--system-prompt\x20<text>','argv','Show\x20journey\x20details','set\x20<key=value>'];a2_0x242f=function(){return _0x131fa2;};return a2_0x242f();}const wfAttemptListAction=async(_0x2bcdaa,_0x126514)=>{const _0x3ffbfb=a2_0x5caecd,_0xe859d9=new WorkflowAttemptsCommand(),_0x308c93=program[_0x3ffbfb(0x1f1)](),_0xfaa81a=await createTDXInstance(_0x308c93),_0xb276b4=await _0xe859d9[_0x3ffbfb(0x377)]({'options':{..._0x308c93,..._0x126514},'args':_0x2bcdaa?[_0x2bcdaa]:[],'tdx':_0xfaa81a});process['exit'](_0xb276b4);},attemptCmd=workflowCmd['command'](a2_0x5caecd(0x1ff))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x176))[a2_0x5caecd(0x1ac)]('[attempt-id]',a2_0x5caecd(0x1c4))[a2_0x5caecd(0x1ac)](a2_0x5caecd(0x214),a2_0x5caecd(0x35a))['argument'](a2_0x5caecd(0x31a),'Task\x20name\x20for\x20logs\x20action')['option'](a2_0x5caecd(0x21f),a2_0x5caecd(0x253))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x387),'Reason\x20for\x20killing\x20the\x20attempt')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x312),a2_0x5caecd(0x1b1))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2b7),a2_0x5caecd(0x343))['option'](a2_0x5caecd(0x365),a2_0x5caecd(0x338))['option'](a2_0x5caecd(0x1da),a2_0x5caecd(0x27e))[a2_0x5caecd(0x2db)](async(_0x544561,_0x5b5a40,_0x5d6953,_0x23c0bc)=>{const _0x542eac=a2_0x5caecd;if(_0x544561===_0x542eac(0x1e3)){await wfAttemptListAction(_0x5b5a40,_0x23c0bc);return;}if(!_0x544561){attemptCmd[_0x542eac(0x2c2)]();return;}const _0x4987ce=program[_0x542eac(0x1f1)](),_0x505932=await createTDXInstance(_0x4987ce);let _0x3e6841=0x0;if(!_0x5b5a40){const _0x34e295=new WorkflowAttemptCommand();_0x3e6841=await _0x34e295[_0x542eac(0x377)]({'options':{..._0x4987ce,..._0x23c0bc},'args':[_0x544561],'tdx':_0x505932});}else{if(_0x5b5a40===_0x542eac(0x1c0)){const _0xfb763c=new WorkflowLogsCommand();_0x3e6841=await _0xfb763c[_0x542eac(0x377)]({'options':{..._0x4987ce,..._0x23c0bc},'args':_0x5d6953?[_0x544561,_0x5d6953]:[_0x544561],'tdx':_0x505932});}else{if(_0x5b5a40===_0x542eac(0x1fe)){const _0x5b6ac2=new WorkflowTasksCommand();_0x3e6841=await _0x5b6ac2[_0x542eac(0x377)]({'options':{..._0x4987ce,..._0x23c0bc},'args':[_0x544561],'tdx':_0x505932});}else{if(_0x5b5a40===_0x542eac(0x15b)){const _0x655863=new WorkflowKillCommand();_0x3e6841=await _0x655863[_0x542eac(0x377)]({'options':{..._0x4987ce,..._0x23c0bc},'args':[_0x544561],'tdx':_0x505932});}else{if(_0x5b5a40===_0x542eac(0x1ec)){const _0x5249b3=new WorkflowRetryCommand();_0x3e6841=await _0x5249b3[_0x542eac(0x377)]({'options':{..._0x4987ce,..._0x23c0bc},'args':['attempt:'+_0x544561],'tdx':_0x505932});}else console[_0x542eac(0x357)]('Unknown\x20action:\x20'+_0x5b5a40),console[_0x542eac(0x357)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x3e6841=0x1;}}}}process['exit'](_0x3e6841);});attemptCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x237))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x364))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1da),'Include\x20retried\x20attempts')[a2_0x5caecd(0x2db)](wfAttemptListAction),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1c3))['description'](a2_0x5caecd(0x273))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1da),a2_0x5caecd(0x197))[a2_0x5caecd(0x2db)](wfAttemptListAction),workflowCmd['command'](a2_0x5caecd(0x2a4))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x1b6))[a2_0x5caecd(0x14e)]('--from-task\x20<task>',a2_0x5caecd(0x16e))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2b7),a2_0x5caecd(0x1e8))['action'](async(_0x53a847,_0x26540f)=>{const _0x1dda76=a2_0x5caecd,_0x575915=new WorkflowRetryCommand(),_0x561f0b=program[_0x1dda76(0x1f1)](),_0xa93750=await createTDXInstance(_0x561f0b),_0x641bd=await _0x575915['run']({'options':{..._0x561f0b,..._0x26540f},'args':[_0x53a847],'tdx':_0xa93750});process[_0x1dda76(0x250)](_0x641bd);}),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1e5))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x24f))['option'](a2_0x5caecd(0x2c0),'Workflow\x20parameter\x20(repeatable)',(_0x4459d1,_0xbe1ff2=[])=>[..._0xbe1ff2,_0x4459d1],[])['option']('--session-time\x20<time>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x5caecd(0x2db)](async(_0x450913,_0x30a645)=>{const _0xf0fe7b=a2_0x5caecd,_0x116085=new WorkflowRunCommand(),_0x21718f=program[_0xf0fe7b(0x1f1)](),_0x43d887=await createTDXInstance(_0x21718f),_0x5a755e=await _0x116085[_0xf0fe7b(0x377)]({'options':{..._0x21718f,..._0x30a645},'args':_0x450913?[_0x450913]:[],'tdx':_0x43d887});process[_0xf0fe7b(0x250)](_0x5a755e);}),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x38b))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x20f))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1fd),a2_0x5caecd(0x30c))[a2_0x5caecd(0x2db)](async(_0x5ae818,_0x471550,_0x56c9f4)=>{const _0x2a415c=a2_0x5caecd,_0x3171e1=new WorkflowDownloadCommand(),_0x19f97f=program[_0x2a415c(0x1f1)](),_0x510c7c=await createTDXInstance(_0x19f97f),_0x4da78d=await _0x3171e1[_0x2a415c(0x377)]({'options':{..._0x19f97f,..._0x56c9f4},'args':[_0x5ae818,_0x471550||'.'],'tdx':_0x510c7c});process[_0x2a415c(0x250)](_0x4da78d);}),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2c9))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x36f))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1fd),a2_0x5caecd(0x1c7))['option'](a2_0x5caecd(0x33b),a2_0x5caecd(0x371))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x22e),a2_0x5caecd(0x342))[a2_0x5caecd(0x2db)](async(_0x339b13,_0x508c43,_0x5ec383)=>{const _0x2df050=a2_0x5caecd,_0x2938de=new WorkflowPullCommand(),_0x352e36=program[_0x2df050(0x1f1)](),_0x893541=await createTDXInstance(_0x352e36),_0x443c1f=await _0x2938de['run']({'options':{..._0x352e36,..._0x5ec383},'args':_0x508c43?[_0x339b13,_0x508c43]:[_0x339b13],'tdx':_0x893541});process['exit'](_0x443c1f);}),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2d9))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x1fb))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1fd),a2_0x5caecd(0x375))['option']('--dry-run',a2_0x5caecd(0x29d))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x202),'Skip\x20validation\x20of\x20.dig\x20files')['option'](a2_0x5caecd(0x22e),a2_0x5caecd(0x342))['action'](async(_0x59e5b9,_0x43c228)=>{const _0xa3cf33=a2_0x5caecd,_0x4f14bd=new WorkflowPushCommand(),_0x56fbaf=program['opts'](),_0x35b803=await createTDXInstance(_0x56fbaf),_0x1635b0=await _0x4f14bd['run']({'options':{..._0x56fbaf,..._0x43c228},'args':_0x59e5b9?[_0x59e5b9]:[],'tdx':_0x35b803});process[_0xa3cf33(0x250)](_0x1635b0);}),workflowCmd[a2_0x5caecd(0x20e)]('upload\x20[project-name-or-dir]')[a2_0x5caecd(0x1f6)]('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1d9),'Override\x20project\x20name')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1fd),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x202),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x5caecd(0x2db)](async(_0x509f1c,_0x23862b)=>{const _0x149165=a2_0x5caecd,_0x4e7be0=new WorkflowUploadCommand(),_0x37aa2c=program[_0x149165(0x1f1)](),_0x45e86d=await createTDXInstance(_0x37aa2c),_0x15d149=await _0x4e7be0[_0x149165(0x377)]({'options':{..._0x37aa2c,..._0x23862b},'args':_0x509f1c?[_0x509f1c]:[],'tdx':_0x45e86d});process['exit'](_0x15d149);}),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x274))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2ef))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1d9),a2_0x5caecd(0x2e6))['option']('--revision\x20<revision>',a2_0x5caecd(0x375))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33b),a2_0x5caecd(0x24e))[a2_0x5caecd(0x14e)]('--skip-validation',a2_0x5caecd(0x1dc))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x22e),'Skip\x20confirmation\x20prompt')[a2_0x5caecd(0x2db)](async(_0x3418c8,_0x318ffe)=>{const _0x3d326b=a2_0x5caecd,_0x22467b=new WorkflowCloneCommand(),_0x5d1386=program[_0x3d326b(0x1f1)](),_0x391e69=await createTDXInstance(_0x5d1386),_0x149e27=await _0x22467b[_0x3d326b(0x377)]({'options':{..._0x5d1386,..._0x318ffe},'args':_0x3418c8?[_0x3418c8]:[],'tdx':_0x391e69});process[_0x3d326b(0x250)](_0x149e27);}),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2a7))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x156))['action'](async(_0x1a4b03,_0x1b566c)=>{const _0x25ca39=a2_0x5caecd,_0x302851=new WorkflowDeleteCommand(),_0x585f99=program[_0x25ca39(0x1f1)](),_0x509506=await createTDXInstance(_0x585f99),_0x4e932d=await _0x302851[_0x25ca39(0x377)]({'options':{..._0x585f99,..._0x1b566c},'args':[_0x1a4b03],'tdx':_0x509506});process[_0x25ca39(0x250)](_0x4e932d);}),workflowCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x203))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x26e))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x31d),a2_0x5caecd(0x30b))[a2_0x5caecd(0x2db)](async(_0x40b24e,_0x55b197)=>{const _0x181ce2=a2_0x5caecd,_0x162b42=new WorkflowUseCommand(),_0x46aa9a=program[_0x181ce2(0x1f1)](),_0x47aac9=await createTDXInstance(_0x46aa9a),_0x55a41d=await _0x162b42[_0x181ce2(0x377)]({'options':{..._0x46aa9a,..._0x55b197},'args':_0x40b24e?[_0x40b24e]:[],'tdx':_0x47aac9});process['exit'](_0x55a41d);});const wfSecretsCmd=workflowCmd['command'](a2_0x5caecd(0x1e9))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x38d));wfSecretsCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x237))['description'](a2_0x5caecd(0x179))[a2_0x5caecd(0x2db)](async(_0x238044,_0x3e13bc)=>{const _0x60d40=a2_0x5caecd,_0x234f76=new WorkflowSecretsListCommand(),_0x2fbacd=program[_0x60d40(0x1f1)](),_0xfdd678=await createTDXInstance(_0x2fbacd),_0x6d65e3=await _0x234f76['run']({'options':{..._0x2fbacd,..._0x3e13bc},'args':_0x238044?[_0x238044]:[],'tdx':_0xfdd678});process[_0x60d40(0x250)](_0x6d65e3);}),wfSecretsCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x260))['description'](a2_0x5caecd(0x353))[a2_0x5caecd(0x2db)](async(_0x13a529,_0x54eb61)=>{const _0x2c5e34=a2_0x5caecd,_0x2794f3=new WorkflowSecretsSetCommand(),_0x190c02=program[_0x2c5e34(0x1f1)](),_0x4add31=await createTDXInstance(_0x190c02),_0x4e8ecf=await _0x2794f3['run']({'options':{..._0x190c02,..._0x54eb61},'args':_0x13a529,'tdx':_0x4add31});process[_0x2c5e34(0x250)](_0x4e8ecf);}),wfSecretsCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x361))['description'](a2_0x5caecd(0x32e))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x22e),a2_0x5caecd(0x342))[a2_0x5caecd(0x2db)](async(_0x1815a2,_0x1c57fc)=>{const _0x48bef5=a2_0x5caecd,_0x3224e3=new WorkflowSecretsDeleteCommand(),_0x5660d2=program[_0x48bef5(0x1f1)](),_0x261cc5=await createTDXInstance(_0x5660d2),_0x2591a2=await _0x3224e3[_0x48bef5(0x377)]({'options':{..._0x5660d2,..._0x1c57fc},'args':_0x1815a2,'tdx':_0x261cc5});process['exit'](_0x2591a2);});const jobCmd=program[a2_0x5caecd(0x20e)]('job')['description']('Job\x20management\x20commands'),jobListAction=async _0x1bd3e2=>{const _0x2473fd=a2_0x5caecd,_0x2e1072=new JobListCommand(),_0x2e0e3e=program['opts'](),_0x24017f=await createTDXInstance(_0x2e0e3e),_0x3cd23b=await _0x2e1072[_0x2473fd(0x377)]({'options':{..._0x2e0e3e,..._0x1bd3e2},'args':[],'tdx':_0x24017f});process[_0x2473fd(0x250)](_0x3cd23b);};jobCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1e3))[a2_0x5caecd(0x1f6)]('List\x20jobs')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x211),a2_0x5caecd(0x1ee))[a2_0x5caecd(0x2db)](jobListAction),program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x330),{'hidden':!![]})[a2_0x5caecd(0x1f6)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x211),a2_0x5caecd(0x1ee))[a2_0x5caecd(0x2db)](jobListAction),jobCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2d4))['description'](a2_0x5caecd(0x16d))[a2_0x5caecd(0x2db)](async(_0x104eda,_0x6218da)=>{const _0x251f00=a2_0x5caecd,_0x557272=new JobShowCommand(),_0x225090=program[_0x251f00(0x1f1)](),_0x5c5399=await createTDXInstance(_0x225090),_0x3b499c=await _0x557272[_0x251f00(0x377)]({'options':{..._0x225090,..._0x6218da},'args':[_0x104eda],'tdx':_0x5c5399});process[_0x251f00(0x250)](_0x3b499c);}),jobCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x32f))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x27c))[a2_0x5caecd(0x2db)](async(_0x225fdc,_0x119d4b)=>{const _0x4175b6=a2_0x5caecd,_0x4daecc=new JobKillCommand(),_0x505451=program[_0x4175b6(0x1f1)](),_0x289ead=await createTDXInstance(_0x505451),_0x5847e2=await _0x4daecc[_0x4175b6(0x377)]({'options':{..._0x505451,..._0x119d4b},'args':[_0x225fdc],'tdx':_0x289ead});process[_0x4175b6(0x250)](_0x5847e2);}),jobCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x25e))['description'](a2_0x5caecd(0x1a4))[a2_0x5caecd(0x14e)]('--job-type\x20<type>',a2_0x5caecd(0x16a),a2_0x5caecd(0x2ba))['option']('-f,\x20--file\x20<path>',a2_0x5caecd(0x1cd))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1a2),a2_0x5caecd(0x154),a2_0x5caecd(0x35f))['action'](async(_0x4e3429,_0x57cc04)=>{const _0x1764f9=a2_0x5caecd,_0x277836=new JobSubmitCommand(),_0x4ff6fe=program[_0x1764f9(0x1f1)](),_0x584250=await createTDXInstance(_0x4ff6fe),_0x5f4319=await _0x277836[_0x1764f9(0x377)]({'options':{..._0x4ff6fe,..._0x57cc04},'args':_0x4e3429?[_0x4e3429]:[],'tdx':_0x584250});process[_0x1764f9(0x250)](_0x5f4319);}),jobCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x218))[a2_0x5caecd(0x1f6)]('Get\x20job\x20results')[a2_0x5caecd(0x2db)](async(_0x4f7035,_0x2f7d2b)=>{const _0x1f90ed=a2_0x5caecd,_0x49778d=new JobResultCommand(),_0x1d94ba=program[_0x1f90ed(0x1f1)](),_0x3a1496=await createTDXInstance(_0x1d94ba),_0x226ef6=await _0x49778d[_0x1f90ed(0x377)]({'options':{..._0x1d94ba,..._0x2f7d2b},'args':[_0x4f7035],'tdx':_0x3a1496});process['exit'](_0x226ef6);});const llmCmd=program[a2_0x5caecd(0x20e)]('llm')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2b2));llmCmd['command'](a2_0x5caecd(0x2a3))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x313))['action'](async(_0x2b2d4d,_0x48f840)=>{const _0x58695d=a2_0x5caecd,_0x32bd86=new LLMUseCommand(),_0x43058a=program[_0x58695d(0x1f1)](),_0x36752e=await createTDXInstance(_0x43058a),_0x24cc1f=await _0x32bd86['run']({'options':{..._0x43058a,..._0x48f840},'args':[_0x2b2d4d],'tdx':_0x36752e});process[_0x58695d(0x250)](_0x24cc1f);}),llmCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x14a))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x275))[a2_0x5caecd(0x2db)](async _0x2d298a=>{const _0x1fd3fa=a2_0x5caecd,_0x1d7c64=new LLMModelsCommand(),_0x13fcca=program[_0x1fd3fa(0x1f1)](),_0x3ef810=await createTDXInstance(_0x13fcca),_0x30e676=await _0x1d7c64[_0x1fd3fa(0x377)]({'options':{..._0x13fcca,..._0x2d298a},'args':[],'tdx':_0x3ef810});process[_0x1fd3fa(0x250)](_0x30e676);});const projectCmd=llmCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x263))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x18f)),llmProjectListAction=async(_0x21e00e,_0x32a26a)=>{const _0x3a6d4e=a2_0x5caecd,_0x20ca6e=new LLMProjectsCommand(),_0x5bad2d=program['opts'](),_0xb40fd4=await createTDXInstance(_0x5bad2d),_0x40988b=await _0x20ca6e[_0x3a6d4e(0x377)]({'options':{..._0x5bad2d,..._0x32a26a},'args':_0x21e00e?[_0x21e00e]:[],'tdx':_0xb40fd4});process['exit'](_0x40988b);};projectCmd['command'](a2_0x5caecd(0x337))[a2_0x5caecd(0x1f6)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x5caecd(0x2db)](llmProjectListAction),llmCmd[a2_0x5caecd(0x20e)]('projects\x20[pattern]')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x277))['action'](llmProjectListAction),projectCmd['command'](a2_0x5caecd(0x186))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x281))[a2_0x5caecd(0x14e)]('--description\x20<text>',a2_0x5caecd(0x1f8))[a2_0x5caecd(0x2db)](async(_0x226aa4,_0x4b8de3)=>{const _0x66f9c=a2_0x5caecd,_0x2aa9ce=new LLMProjectCreateCommand(),_0x43dd10=program[_0x66f9c(0x1f1)](),_0x5de6f3=await createTDXInstance(_0x43dd10),_0x216ade=await _0x2aa9ce[_0x66f9c(0x377)]({'options':{..._0x43dd10,..._0x4b8de3},'args':[_0x226aa4],'tdx':_0x5de6f3});process[_0x66f9c(0x250)](_0x216ade);}),projectCmd['command'](a2_0x5caecd(0x381))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x16f))['action'](async(_0x398f65,_0x40771e)=>{const _0x2924c0=a2_0x5caecd,_0x1fba34=new LLMProjectDeleteCommand(),_0x2b9a67=program['opts'](),_0x12e4a8=await createTDXInstance(_0x2b9a67),_0x2c8ecc=await _0x1fba34[_0x2924c0(0x377)]({'options':{..._0x2b9a67,..._0x40771e},'args':[_0x398f65],'tdx':_0x12e4a8});process['exit'](_0x2c8ecc);}),projectCmd[a2_0x5caecd(0x20e)]('backup\x20<name>')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2de))[a2_0x5caecd(0x14e)]('-o,\x20--output\x20<folder>',a2_0x5caecd(0x159))['option']('--dry-run','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x5caecd(0x2db)](async(_0x1a9a0a,_0x3152b5)=>{const _0x40003f=a2_0x5caecd,_0x49820f=new LLMProjectBackupCommand(),_0x1a4f65=program[_0x40003f(0x1f1)](),_0x49fa14=await createTDXInstance(_0x1a4f65),_0x562d71=await _0x49820f[_0x40003f(0x377)]({'options':{..._0x1a4f65,..._0x3152b5},'args':[_0x1a9a0a],'tdx':_0x49fa14});process['exit'](_0x562d71);}),projectCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x327))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x255))['option'](a2_0x5caecd(0x355),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33b),a2_0x5caecd(0x37f))[a2_0x5caecd(0x2db)](async(_0x7c69d8,_0x2feaf2)=>{const _0x22d31d=a2_0x5caecd,_0x522fda=new LLMProjectRestoreCommand(),_0x5afe0a=program[_0x22d31d(0x1f1)](),_0x43f4c2=await createTDXInstance(_0x5afe0a),_0x514100=await _0x522fda['run']({'options':{..._0x5afe0a,..._0x2feaf2},'args':[_0x7c69d8],'tdx':_0x43f4c2});process['exit'](_0x514100);});const llmAgentListAction=async(_0x358305,_0x24f9a3)=>{const _0x18112a=a2_0x5caecd,_0xc23571=new LLMAgentsCommand(),_0x3458db=program[_0x18112a(0x1f1)](),_0x41f015=await createTDXInstance(_0x3458db),_0x231629=await _0xc23571[_0x18112a(0x377)]({'options':{..._0x3458db,..._0x24f9a3},'args':_0x358305?[_0x358305]:[],'tdx':_0x41f015});process[_0x18112a(0x250)](_0x231629);};llmCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x382))['description'](a2_0x5caecd(0x21d))[a2_0x5caecd(0x2db)](llmAgentListAction),program['command'](a2_0x5caecd(0x382))['description'](a2_0x5caecd(0x21d))[a2_0x5caecd(0x2db)](llmAgentListAction),llmCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x15c))['description'](a2_0x5caecd(0x251))['option']('--last',a2_0x5caecd(0x36e))[a2_0x5caecd(0x2db)](async(_0x1f2dac,_0x5904b6)=>{const _0x131cea=a2_0x5caecd,_0x365316=new LLMHistoryCommand(),_0x4e32d1=program['opts'](),_0x8889aa=await createTDXInstance(_0x4e32d1),_0x126758=await _0x365316[_0x131cea(0x377)]({'options':{..._0x4e32d1,..._0x5904b6},'args':_0x1f2dac?[_0x1f2dac]:[],'tdx':_0x8889aa});process[_0x131cea(0x250)](_0x126758);}),llmCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x283))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x19f))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1fc),a2_0x5caecd(0x2f7),a2_0x5caecd(0x1bc))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x18b),a2_0x5caecd(0x376))[a2_0x5caecd(0x14e)]('--agent\x20<name>',a2_0x5caecd(0x28b))[a2_0x5caecd(0x2db)](async _0x21bf9e=>{const _0xeeb872=a2_0x5caecd,_0x379018=new LLMProxyCommand(),_0x5684ec=program[_0xeeb872(0x1f1)](),_0x279764=await createTDXInstance(_0x5684ec),_0x3abadf={..._0x21bf9e,'port':_0x21bf9e[_0xeeb872(0x1ce)]?parseInt(_0x21bf9e[_0xeeb872(0x1ce)],0xa):undefined},_0x21a7fb=await _0x379018[_0xeeb872(0x377)]({'options':{..._0x5684ec,..._0x3abadf},'args':[],'tdx':_0x279764});process[_0xeeb872(0x250)](_0x21a7fb);}),program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1a5))['usage'](a2_0x5caecd(0x164))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x298))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x28f),a2_0x5caecd(0x178),a2_0x5caecd(0x1fa))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x213),a2_0x5caecd(0x1d3))[a2_0x5caecd(0x14e)]('-r,\x20--resume',a2_0x5caecd(0x1de))['option'](a2_0x5caecd(0x175),a2_0x5caecd(0x19a))[a2_0x5caecd(0x13c)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x5caecd(0x28c),a2_0x5caecd(0x19e))[a2_0x5caecd(0x2db)](async(_0x273f68,_0x325079)=>{const _0x3c1d62=a2_0x5caecd,_0x30b455=program[_0x3c1d62(0x1f1)](),_0x2d85bd=Array[_0x3c1d62(0x19b)](_0x273f68)?_0x273f68:[];if(_0x2d85bd[0x0]===_0x3c1d62(0x35d)){const _0x48fc4b=new ClaudeStatuslineCommand(),_0x16c6b0=await _0x48fc4b[_0x3c1d62(0x377)]({'options':{..._0x30b455,..._0x325079},'args':_0x2d85bd[_0x3c1d62(0x1ae)](0x1),'tdx':null});process['exit'](_0x16c6b0);}if(_0x2d85bd[0x0]===_0x3c1d62(0x221)){const _0x3696e9=new ClaudeUsageCommand(),_0x480da5=await _0x3696e9[_0x3c1d62(0x377)]({'options':{..._0x30b455,..._0x325079},'args':_0x2d85bd['slice'](0x1),'tdx':null});process[_0x3c1d62(0x250)](_0x480da5);}const _0x43e36a=new ClaudeCommand(),_0x12f82f=await createTDXInstance(_0x30b455),_0x5e63c2=await _0x43e36a[_0x3c1d62(0x377)]({'options':{..._0x30b455,..._0x325079},'args':_0x2d85bd,'tdx':_0x12f82f});process[_0x3c1d62(0x250)](_0x5e63c2);}),program['command']('use\x20[resource]\x20[value]')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2c5))[a2_0x5caecd(0x14e)]('--clear','Clear\x20session\x20context')[a2_0x5caecd(0x2db)](async(_0x22ad94,_0x218d46,_0xce24e8)=>{const _0x455232=a2_0x5caecd,_0x1e7393=new UseCommand(),_0x3ec8dc=program['opts'](),_0x22d87a=[];if(_0x22ad94)_0x22d87a[_0x455232(0x27b)](_0x22ad94);if(_0x218d46)_0x22d87a[_0x455232(0x27b)](_0x218d46);const _0x23d807=await _0x1e7393['run']({'options':{..._0x3ec8dc,..._0xce24e8},'args':_0x22d87a,'tdx':null});process[_0x455232(0x250)](_0x23d807);}),program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2b5))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2cc))[a2_0x5caecd(0x14e)]('--last','Show\x20the\x20most\x20recent\x20chat')['action'](async _0x1c02ae=>{const _0x514196=a2_0x5caecd,_0x591cb2=new ChatsCommand(),_0x3f22a1=program[_0x514196(0x1f1)](),_0x1bfb4a=await createTDXInstance(_0x3f22a1),_0x5a3b46=await _0x591cb2['run']({'options':{..._0x3f22a1,..._0x1c02ae},'args':[],'tdx':_0x1bfb4a});process[_0x514196(0x250)](_0x5a3b46);});const authCmd=program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x14d))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x212));async function runAuthStatusCommand(_0x5e70e4){const _0x54ab28=a2_0x5caecd,_0x3e3ce3=new AuthStatusCommand(),_0x1f2359=program[_0x54ab28(0x1f1)](),_0x563f53=await createTDXInstance(_0x1f2359),_0x41b65d=await _0x3e3ce3[_0x54ab28(0x377)]({'options':{..._0x1f2359,..._0x5e70e4},'args':[],'tdx':_0x563f53});process[_0x54ab28(0x250)](_0x41b65d);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x325))['description'](a2_0x5caecd(0x25a))[a2_0x5caecd(0x2db)](runAuthStatusCommand),authCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x384))['description']('Setup\x20API\x20key\x20authentication\x20interactively')['addHelpText'](a2_0x5caecd(0x28c),a2_0x5caecd(0x1a8))[a2_0x5caecd(0x2db)](async _0x467d5d=>{const _0x221aa0=new AuthSetupCommand(),_0x2401a5=program['opts'](),_0x432cd5=await createTDXInstance(_0x2401a5),_0xefa9c6=await _0x221aa0['run']({'options':{..._0x2401a5,..._0x467d5d},'args':[],'tdx':_0x432cd5});process['exit'](_0xefa9c6);}),authCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x319))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x18d))[a2_0x5caecd(0x37d)](a2_0x5caecd(0x28c),a2_0x5caecd(0x13a))['action'](async _0x2ab109=>{const _0x28adc6=a2_0x5caecd,_0x5b3bbf=new AuthClearCommand(),_0x43d3b9=program[_0x28adc6(0x1f1)](),_0x293fa4=await _0x5b3bbf[_0x28adc6(0x377)]({'options':{..._0x43d3b9,..._0x2ab109},'args':[],'tdx':null});process[_0x28adc6(0x250)](_0x293fa4);});const userCmd=program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2ca))['description']('User\x20management\x20commands'),userListAction=async _0x34e399=>{const _0x1a4193=a2_0x5caecd,_0x17bdae=new UserListCommand(),_0x423f96=program['opts'](),_0x24fa4c=await createTDXInstance(_0x423f96),_0x59ba76=await _0x17bdae[_0x1a4193(0x377)]({'options':{..._0x423f96,..._0x34e399},'args':[],'tdx':_0x24fa4c});process[_0x1a4193(0x250)](_0x59ba76);};userCmd[a2_0x5caecd(0x2db)](async _0x343cdf=>{const _0x5681a8=a2_0x5caecd,_0x2ba168=new UserCommand(),_0x3900ed=program[_0x5681a8(0x1f1)](),_0x3d10f7=await createTDXInstance(_0x3900ed),_0x1f317c=await _0x2ba168[_0x5681a8(0x377)]({'options':{..._0x3900ed,..._0x343cdf},'args':[],'tdx':_0x3d10f7});process['exit'](_0x1f317c);}),userCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1e3))['description'](a2_0x5caecd(0x324))[a2_0x5caecd(0x2db)](userListAction),program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x354))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x18a))[a2_0x5caecd(0x2db)](userListAction),program[a2_0x5caecd(0x20e)]('profiles')['description']('List\x20all\x20available\x20profiles')[a2_0x5caecd(0x2db)](async _0x35449f=>{const _0x556ffc=a2_0x5caecd,_0x1339b2=new ProfilesCommand(),_0x47495e=program[_0x556ffc(0x1f1)](),_0x39fe0a=await _0x1339b2['run']({'options':{..._0x47495e,..._0x35449f},'args':[],'tdx':null});process[_0x556ffc(0x250)](_0x39fe0a);});const profileCmd=program[a2_0x5caecd(0x20e)]('profile')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x29a));profileCmd[a2_0x5caecd(0x2db)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x4ce7e7=>{const _0x57c04c=new ProfilesCommand(),_0x3c24eb=program['opts'](),_0x52381c=await _0x57c04c['run']({'options':{..._0x3c24eb,..._0x4ce7e7},'args':[],'tdx':null});process['exit'](_0x52381c);};profileCmd[a2_0x5caecd(0x20e)]('list')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x318))[a2_0x5caecd(0x2db)](profileListAction),profileCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x34b))['description'](a2_0x5caecd(0x13f))[a2_0x5caecd(0x37d)](a2_0x5caecd(0x28c),a2_0x5caecd(0x1a9))[a2_0x5caecd(0x2db)](async _0x110927=>{const _0x465a41=a2_0x5caecd,_0x26e20c=new ProfileCreateCommand(),_0x4b9856=program[_0x465a41(0x1f1)](),_0x30269f=await _0x26e20c[_0x465a41(0x377)]({'options':{..._0x4b9856,..._0x110927},'args':[],'tdx':null});process[_0x465a41(0x250)](_0x30269f);}),profileCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x288))['description']('Remove\x20a\x20profile')[a2_0x5caecd(0x37d)](a2_0x5caecd(0x28c),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x5caecd(0x2db)](async(_0x3c09a4,_0x1e4ea2)=>{const _0x39ddd1=a2_0x5caecd,_0x400a84=new ProfileRemoveCommand(),_0x3e0a6e=program[_0x39ddd1(0x1f1)](),_0x4c4d77=await _0x400a84[_0x39ddd1(0x377)]({'options':{..._0x3e0a6e,..._0x1e4ea2},'args':[_0x3c09a4],'tdx':null});process[_0x39ddd1(0x250)](_0x4c4d77);}),profileCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x242))['description'](a2_0x5caecd(0x22a))[a2_0x5caecd(0x37d)](a2_0x5caecd(0x28c),a2_0x5caecd(0x362))[a2_0x5caecd(0x2db)](async(_0x3ed936,_0x463c61)=>{const _0x3b3b01=a2_0x5caecd,_0x508ef6=new ProfileSetCommand(),_0x147575=program['opts'](),_0x11bc38=await _0x508ef6[_0x3b3b01(0x377)]({'options':{..._0x147575,..._0x463c61},'args':[_0x3ed936],'tdx':null});process[_0x3b3b01(0x250)](_0x11bc38);}),profileCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1b3))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x38e))[a2_0x5caecd(0x37d)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a')['action'](async(_0x34d8b0,_0x283144)=>{const _0x23d79b=a2_0x5caecd,_0x37acd9=new ProfileUseCommand(),_0xe2a20d=program[_0x23d79b(0x1f1)](),_0x49bdbd=await _0x37acd9[_0x23d79b(0x377)]({'options':{..._0xe2a20d,..._0x283144},'args':[_0x34d8b0],'tdx':null});process[_0x23d79b(0x250)](_0x49bdbd);});const engageCmd=program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2ec))['description'](a2_0x5caecd(0x2e1)),createEngageAction=_0x4c0084=>{return async(_0x25cbfa,_0xa9ea6)=>{const _0x1d2c77=a2_0x407d,_0x12ae2=new _0x4c0084(),_0x375192=program[_0x1d2c77(0x1f1)](),_0x4c3bcc=await createTDXInstance(_0x375192),_0x21fc24=await _0x12ae2[_0x1d2c77(0x377)]({'options':{..._0x375192,..._0xa9ea6},'args':[_0x25cbfa],'tdx':_0x4c3bcc});process['exit'](_0x21fc24);};},createEngageNoArgAction=_0x2ecfe3=>{return async _0x361bed=>{const _0x3838be=a2_0x407d,_0x5c09d8=new _0x2ecfe3(),_0x5a9397=program['opts'](),_0x132fb6=await createTDXInstance(_0x5a9397),_0x407a67=await _0x5c09d8['run']({'options':{..._0x5a9397,..._0x361bed},'args':[],'tdx':_0x132fb6});process[_0x3838be(0x250)](_0x407a67);};},campaignCmd=engageCmd['command'](a2_0x5caecd(0x285))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x32c)),campaignListAction=async(_0xd30af9,_0x5bb236)=>{const _0x3db093=a2_0x5caecd,_0x51e788=new EngageCampaignsCommand(),_0x2fc184=program[_0x3db093(0x1f1)](),_0x23070a=await createTDXInstance(_0x2fc184),_0xf9573b=await _0x51e788[_0x3db093(0x377)]({'options':{..._0x2fc184,..._0x5bb236},'args':_0xd30af9?[_0xd30af9]:[],'tdx':_0x23070a});process['exit'](_0xf9573b);};campaignCmd[a2_0x5caecd(0x20e)]('list\x20[pattern]')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x287))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2f1),a2_0x5caecd(0x247))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x211),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x295),'Workspace\x20name')[a2_0x5caecd(0x2db)](campaignListAction),engageCmd[a2_0x5caecd(0x20e)]('campaigns\x20[pattern]')[a2_0x5caecd(0x1f6)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2f1),a2_0x5caecd(0x247))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x211),a2_0x5caecd(0x162))[a2_0x5caecd(0x14e)]('--workspace\x20<name>',a2_0x5caecd(0x2f6))[a2_0x5caecd(0x2db)](campaignListAction),campaignCmd['command']('show\x20<name-or-id>')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x336))[a2_0x5caecd(0x14e)]('--workspace\x20<name>',a2_0x5caecd(0x2f6))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x272),a2_0x5caecd(0x150))[a2_0x5caecd(0x2db)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x34b))['description'](a2_0x5caecd(0x1d6))[a2_0x5caecd(0x38a)](a2_0x5caecd(0x1d9),'Campaign\x20name')['requiredOption'](a2_0x5caecd(0x2f1),a2_0x5caecd(0x2d8))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x295),a2_0x5caecd(0x2af))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x228),a2_0x5caecd(0x2c3))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x380),a2_0x5caecd(0x331))['option'](a2_0x5caecd(0x174),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x373),a2_0x5caecd(0x192))['option'](a2_0x5caecd(0x33e),a2_0x5caecd(0x1db))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2ae),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x5caecd(0x2db)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2c4))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x1b5))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x295),'Workspace\x20name')['option'](a2_0x5caecd(0x1d9),a2_0x5caecd(0x1a0))['option'](a2_0x5caecd(0x228),a2_0x5caecd(0x2c3))['option'](a2_0x5caecd(0x380),a2_0x5caecd(0x331))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x174),a2_0x5caecd(0x1b2))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x373),a2_0x5caecd(0x192))['option'](a2_0x5caecd(0x33e),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x5caecd(0x14e)]('--timezone\x20<tz>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command']('delete\x20<name-or-id>')[a2_0x5caecd(0x1f6)]('Delete\x20a\x20campaign')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x295),'Workspace\x20name')['option'](a2_0x5caecd(0x210),a2_0x5caecd(0x342))[a2_0x5caecd(0x2db)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x5caecd(0x20e)]('launch\x20<name-or-id>')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2a1))['option'](a2_0x5caecd(0x295),a2_0x5caecd(0x2f6))[a2_0x5caecd(0x2db)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x29b))['description']('Pause\x20a\x20campaign')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x295),'Workspace\x20name')['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x235))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x1c9))[a2_0x5caecd(0x14e)]('--workspace\x20<name>',a2_0x5caecd(0x2f6))[a2_0x5caecd(0x2db)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x5caecd(0x20e)]('duplicate\x20<name-or-id>')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x258))['option']('--workspace\x20<name>',a2_0x5caecd(0x2f6))[a2_0x5caecd(0x2db)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x5caecd(0x2b4))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2a5)),templateListAction=async(_0x1336d0,_0x2ad53b)=>{const _0x5e4859=a2_0x5caecd,_0x368e8a=new EngageTemplatesCommand(),_0x1aa55a=program[_0x5e4859(0x1f1)](),_0x51391d=await createTDXInstance(_0x1aa55a),_0x5315c6=await _0x368e8a[_0x5e4859(0x377)]({'options':{..._0x1aa55a,..._0x2ad53b},'args':_0x1336d0?[_0x1336d0]:[],'tdx':_0x51391d});process['exit'](_0x5315c6);};templateCmd['command'](a2_0x5caecd(0x337))[a2_0x5caecd(0x1f6)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x5caecd(0x295),'Workspace\x20name')[a2_0x5caecd(0x2db)](templateListAction),engageCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x185))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x1ed))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x295),'Workspace\x20name')[a2_0x5caecd(0x2db)](templateListAction),templateCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x229))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x142))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x295),a2_0x5caecd(0x2f6))['option'](a2_0x5caecd(0x272),a2_0x5caecd(0x150))[a2_0x5caecd(0x2db)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x34b))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x244))['requiredOption']('--name\x20<name>',a2_0x5caecd(0x262))[a2_0x5caecd(0x38a)](a2_0x5caecd(0x1b0),a2_0x5caecd(0x183))['requiredOption'](a2_0x5caecd(0x188),a2_0x5caecd(0x1d7))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x295),'Workspace\x20name\x20(required)')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x17e),a2_0x5caecd(0x24b))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x14c),a2_0x5caecd(0x359))[a2_0x5caecd(0x2db)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command'](a2_0x5caecd(0x2c4))[a2_0x5caecd(0x1f6)]('Update\x20an\x20email\x20template')[a2_0x5caecd(0x14e)]('--workspace\x20<name>',a2_0x5caecd(0x2f6))[a2_0x5caecd(0x14e)]('--name\x20<name>',a2_0x5caecd(0x284))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1b0),a2_0x5caecd(0x183))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x188),a2_0x5caecd(0x1d7))[a2_0x5caecd(0x14e)]('--plaintext\x20<text>',a2_0x5caecd(0x24b))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x36b))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x32b))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x295),a2_0x5caecd(0x2f6))['option'](a2_0x5caecd(0x210),a2_0x5caecd(0x342))[a2_0x5caecd(0x2db)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x5caecd(0x217))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x232)),workspaceListAction=async(_0x5ac579,_0x16df14)=>{const _0x270237=a2_0x5caecd,_0xc0e092=new EngageWorkspacesCommand(),_0x34a25e=program[_0x270237(0x1f1)](),_0x484728=await createTDXInstance(_0x34a25e),_0x45e5e7=await _0xc0e092['run']({'options':{..._0x34a25e,..._0x16df14},'args':_0x5ac579?[_0x5ac579]:[],'tdx':_0x484728});process['exit'](_0x45e5e7);};workspaceCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x337))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x17d))[a2_0x5caecd(0x2db)](workspaceListAction),engageCmd['command'](a2_0x5caecd(0x139))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x352))[a2_0x5caecd(0x2db)](workspaceListAction),workspaceCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x229))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x172))['option'](a2_0x5caecd(0x272),a2_0x5caecd(0x150))[a2_0x5caecd(0x2db)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x34b))[a2_0x5caecd(0x1f6)]('Create\x20a\x20workspace')[a2_0x5caecd(0x38a)](a2_0x5caecd(0x1d9),a2_0x5caecd(0x2f6))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x228),a2_0x5caecd(0x2d5))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2c4))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x264))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1d9),a2_0x5caecd(0x341))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x228),'Workspace\x20description')[a2_0x5caecd(0x2db)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x36b))['description'](a2_0x5caecd(0x180))['option'](a2_0x5caecd(0x210),'Skip\x20confirmation\x20prompt')[a2_0x5caecd(0x2db)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1b3))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2f5))[a2_0x5caecd(0x2db)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program['command'](a2_0x5caecd(0x306))['description'](a2_0x5caecd(0x349)),connectionListAction=async _0xaa208d=>{const _0x3608bb=a2_0x5caecd,_0x3af89e=new ConnectionListCommand(),_0x4568fe=program[_0x3608bb(0x1f1)](),_0x2bb87d=await createTDXInstance(_0x4568fe),_0x8cbea9=await _0x3af89e['run']({'options':{..._0x4568fe,..._0xaa208d},'args':[],'tdx':_0x2bb87d});process['exit'](_0x8cbea9);};connectionCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1e3))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2a9))['action'](connectionListAction),program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x290),{'hidden':!![]})[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x31b))[a2_0x5caecd(0x2db)](connectionListAction),connectionCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x146))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x34f))[a2_0x5caecd(0x2db)](async(_0x1cc540,_0xe359af)=>{const _0x2ad457=a2_0x5caecd,_0x4fea8e=new ConnectionShowCommand(),_0xc9aa08=program[_0x2ad457(0x1f1)](),_0x4ad86d=await createTDXInstance(_0xc9aa08),_0x34be2e=await _0x4fea8e[_0x2ad457(0x377)]({'options':{..._0xc9aa08,..._0xe359af},'args':[_0x1cc540],'tdx':_0x4ad86d});process['exit'](_0x34be2e);}),connectionCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x18e))['description']('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x5caecd(0x2db)](async(_0x114ddd,_0xdcfd52)=>{const _0x21eaff=a2_0x5caecd,_0x2ec9d8=new ConnectionSchemaCommand(),_0x520477=program['opts'](),_0x3acad9=await createTDXInstance(_0x520477),_0x2f9641=await _0x2ec9d8[_0x21eaff(0x377)]({'options':{..._0x520477,..._0xdcfd52},'args':[_0x114ddd],'tdx':_0x3acad9});process[_0x21eaff(0x250)](_0x2f9641);}),connectionCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1ba))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2ed))['action'](async _0x23a1bf=>{const _0x391a76=a2_0x5caecd,_0x5b645d=new ConnectionTypesCommand(),_0xc11a9b=program[_0x391a76(0x1f1)](),_0x50a2de=await createTDXInstance(_0xc11a9b),_0x2b9b23=await _0x5b645d[_0x391a76(0x377)]({'options':{..._0xc11a9b,..._0x23a1bf},'args':[],'tdx':_0x50a2de});process['exit'](_0x2b9b23);}),connectionCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x207))['description']('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x5caecd(0x2db)](async(_0xf3b949,_0x448705)=>{const _0x42ff27=a2_0x5caecd,_0xc6e8ed=new ConnectionSettingsCommand(),_0x4d82d5=program[_0x42ff27(0x1f1)](),_0x384d15=await createTDXInstance(_0x4d82d5),_0x1e365f=await _0xc6e8ed['run']({'options':{..._0x4d82d5,..._0x448705},'args':[_0xf3b949],'tdx':_0x384d15});process[_0x42ff27(0x250)](_0x1e365f);});const journeyCmd=program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x1e4))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x279)),journeyListAction=async(_0x49e0d3,_0x3deb9b)=>{const _0x2e7307=a2_0x5caecd,_0x4d6cc6=new JourneyListCommand(),_0x41a4f8=program[_0x2e7307(0x1f1)](),_0x243df8=await createTDXInstance(_0x41a4f8),_0x1634ed=await _0x4d6cc6['run']({'options':{..._0x41a4f8,..._0x3deb9b},'args':_0x49e0d3?[_0x49e0d3]:[],'tdx':_0x243df8});process['exit'](_0x1634ed);};journeyCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x337))['description'](a2_0x5caecd(0x17f))[a2_0x5caecd(0x2db)](journeyListAction),journeyCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2bb))['description'](a2_0x5caecd(0x241))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x167),'Open\x20journey\x20in\x20web\x20browser')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2c1),a2_0x5caecd(0x1f4))[a2_0x5caecd(0x2db)](async(_0x1960ba,_0x2ee991)=>{const _0x300554=a2_0x5caecd,_0xcc63aa=new JourneyViewCommand(),_0x5252db=program['opts'](),_0x4666b9=await createTDXInstance(_0x5252db),_0x512594=await _0xcc63aa[_0x300554(0x377)]({'options':{..._0x5252db,..._0x2ee991},'args':[_0x1960ba],'tdx':_0x4666b9});process['exit'](_0x512594);}),journeyCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x28d))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x347))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x1ab),a2_0x5caecd(0x2f4))['action'](async(_0x38131a,_0x729c27)=>{const _0x29f397=a2_0x5caecd,_0x1e243d=new JourneyStatsCommand(),_0x3c4fdb=program[_0x29f397(0x1f1)](),_0x868e4f=await createTDXInstance(_0x3c4fdb),_0x581d2d=await _0x1e243d['run']({'options':{..._0x3c4fdb,..._0x729c27},'args':[_0x38131a],'tdx':_0x868e4f});process[_0x29f397(0x250)](_0x581d2d);}),journeyCmd['command']('pause\x20<name-or-path>')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x370))['action'](async(_0x1d7951,_0x18ab06)=>{const _0x34e26c=a2_0x5caecd,_0x162bdf=new JourneyPauseCommand(),_0x40370e=program['opts'](),_0x2433a7=await createTDXInstance(_0x40370e),_0x2cf2f5=await _0x162bdf[_0x34e26c(0x377)]({'options':{..._0x40370e,..._0x18ab06},'args':[_0x1d7951],'tdx':_0x2433a7});process[_0x34e26c(0x250)](_0x2cf2f5);}),journeyCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x301))['description'](a2_0x5caecd(0x23d))['action'](async(_0x160aeb,_0x4967e3)=>{const _0x804c5d=a2_0x5caecd,_0x44811f=new JourneyResumeCommand(),_0x37c410=program['opts'](),_0x2049b2=await createTDXInstance(_0x37c410),_0x4f2116=await _0x44811f['run']({'options':{..._0x37c410,..._0x4967e3},'args':[_0x160aeb],'tdx':_0x2049b2});process[_0x804c5d(0x250)](_0x4f2116);}),journeyCmd['command']('pull\x20[name]')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x145))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x22e),a2_0x5caecd(0x342))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33b),a2_0x5caecd(0x184))[a2_0x5caecd(0x2db)](async(_0x16f061,_0x1a8057)=>{const _0x46eda0=a2_0x5caecd,_0x5b35f9=new JourneyPullCommand(),_0x6ea879=program[_0x46eda0(0x1f1)](),_0x3869aa=await createTDXInstance(_0x6ea879),_0x5d9108=await _0x5b35f9[_0x46eda0(0x377)]({'options':{..._0x6ea879,..._0x1a8057},'args':_0x16f061?[_0x16f061]:[],'tdx':_0x3869aa});process[_0x46eda0(0x250)](_0x5d9108);}),journeyCmd['command'](a2_0x5caecd(0x2c8))[a2_0x5caecd(0x1f6)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x5caecd(0x2db)](async(_0x4f8a86,_0x151af6)=>{const _0x5074fb=a2_0x5caecd,_0x3c6827=new JourneyPushCommand(),_0x4c9514=program[_0x5074fb(0x1f1)](),_0x395eaf=await createTDXInstance(_0x4c9514),_0x4bd700=await _0x3c6827['run']({'options':{..._0x4c9514,..._0x151af6},'args':_0x4f8a86?[_0x4f8a86]:[],'tdx':_0x395eaf});process[_0x5074fb(0x250)](_0x4bd700);}),journeyCmd['command'](a2_0x5caecd(0x297))['description'](a2_0x5caecd(0x346))[a2_0x5caecd(0x2db)](async(_0x1bafda,_0x8311b4)=>{const _0x2eadc5=a2_0x5caecd,_0x501257=new JourneyValidateCommand(),_0x3b688d=program[_0x2eadc5(0x1f1)](),_0x3bdd2b=await createTDXInstance(_0x3b688d),_0x6c5b40=await _0x501257['run']({'options':{..._0x3b688d,..._0x8311b4},'args':_0x1bafda?[_0x1bafda]:[],'tdx':_0x3bdd2b});process['exit'](_0x6c5b40);}),program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x198))[a2_0x5caecd(0x1f6)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')['action'](journeyListAction);const agentSyncCmd=program[a2_0x5caecd(0x20e)](a2_0x5caecd(0x2eb))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2f9));agentSyncCmd['command'](a2_0x5caecd(0x2e4))[a2_0x5caecd(0x1f6)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')['option']('-o,\x20--output\x20<dir>','Output\x20directory')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x38f),'Overwrite\x20local\x20changes\x20without\x20confirmation')[a2_0x5caecd(0x2db)](async(_0x409e63,_0x40f71b,_0x2f588b)=>{const _0x57c67a=a2_0x5caecd,_0x3b9190=new AgentPullCommand(),_0x15018b=program['opts'](),_0x76172e=await createTDXInstance(_0x15018b),_0x16b347=[];if(_0x409e63)_0x16b347[_0x57c67a(0x27b)](_0x409e63);if(_0x40f71b)_0x16b347[_0x57c67a(0x27b)](_0x40f71b);const _0x216f87=await _0x3b9190[_0x57c67a(0x377)]({'options':{..._0x15018b,..._0x2f588b},'args':_0x16b347,'tdx':_0x76172e});process[_0x57c67a(0x250)](_0x216f87);}),agentSyncCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x278))['description'](a2_0x5caecd(0x136))['option'](a2_0x5caecd(0x38f),a2_0x5caecd(0x37e))[a2_0x5caecd(0x2db)](async(_0x387f86,_0x4a9288)=>{const _0x1efc93=a2_0x5caecd,_0x59731e=new AgentPushCommand(),_0x12b7c3=program['opts'](),_0x41df8d=await createTDXInstance(_0x12b7c3),_0x4e791b=await _0x59731e[_0x1efc93(0x377)]({'options':{..._0x12b7c3,..._0x4a9288},'args':_0x387f86?[_0x387f86]:[],'tdx':_0x41df8d});process[_0x1efc93(0x250)](_0x4e791b);}),agentSyncCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x166))['description'](a2_0x5caecd(0x1f3))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x2e3),a2_0x5caecd(0x2e6))[a2_0x5caecd(0x2db)](async(_0x23fc0d,_0x3a913b)=>{const _0x590849=a2_0x5caecd,_0xd0c82b=new AgentCloneCommand(),_0xafea3=program[_0x590849(0x1f1)](),_0x313bee=await createTDXInstance(_0xafea3),_0x2cebf9=await _0xd0c82b[_0x590849(0x377)]({'options':{..._0xafea3,..._0x3a913b},'args':_0x23fc0d?[_0x23fc0d]:[],'tdx':_0x313bee});process['exit'](_0x2cebf9);}),agentSyncCmd[a2_0x5caecd(0x20e)]('list\x20[pattern]')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x151))['action'](llmAgentListAction),agentSyncCmd[a2_0x5caecd(0x20e)]('show\x20<agent-name>')[a2_0x5caecd(0x1f6)]('Show\x20agent\x20details')[a2_0x5caecd(0x2db)](async(_0x3257ac,_0x4e8c1b)=>{const _0x2cc59c=a2_0x5caecd,_0x1fe628=new LLMAgentShowCommand(),_0x808437=program[_0x2cc59c(0x1f1)](),_0x3c7b4b=await createTDXInstance(_0x808437),_0x3011e9=await _0x1fe628['run']({'options':{..._0x808437,..._0x4e8c1b},'args':[_0x3257ac],'tdx':_0x3c7b4b});process[_0x2cc59c(0x250)](_0x3011e9);}),agentSyncCmd[a2_0x5caecd(0x20e)](a2_0x5caecd(0x186))['description']('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x23f),a2_0x5caecd(0x310))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x28f),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x5caecd(0x28e))[a2_0x5caecd(0x14e)]('--starter-message\x20<text>',a2_0x5caecd(0x1c1))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x138),a2_0x5caecd(0x2fd),'4')[a2_0x5caecd(0x14e)](a2_0x5caecd(0x29c),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x5caecd(0x1c8))[a2_0x5caecd(0x2db)](async(_0xf8ae00,_0x27857f)=>{const _0x26a99d=a2_0x5caecd,_0x3b9777=new LLMAgentCreateCommand(),_0x364bd4=program['opts'](),_0x42bec0=await createTDXInstance(_0x364bd4),_0x5e8863=await _0x3b9777[_0x26a99d(0x377)]({'options':{..._0x364bd4,..._0x27857f},'args':[_0xf8ae00],'tdx':_0x42bec0});process[_0x26a99d(0x250)](_0x5e8863);}),agentSyncCmd['command']('update\x20<agent-name>')[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x2f2))['option']('--name\x20<text>',a2_0x5caecd(0x304))['option'](a2_0x5caecd(0x332),a2_0x5caecd(0x35b))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x33c),a2_0x5caecd(0x230))[a2_0x5caecd(0x14e)](a2_0x5caecd(0x19d),'Starter\x20message')[a2_0x5caecd(0x2db)](async(_0x49eef7,_0x42527c)=>{const _0x4ce5e1=a2_0x5caecd,_0x15dbce=new LLMAgentUpdateCommand(),_0x957a90=program[_0x4ce5e1(0x1f1)](),_0x16b55d=await createTDXInstance(_0x957a90),_0x4d6315=await _0x15dbce[_0x4ce5e1(0x377)]({'options':{..._0x957a90,..._0x42527c},'args':[_0x49eef7],'tdx':_0x16b55d});process['exit'](_0x4d6315);}),agentSyncCmd['command'](a2_0x5caecd(0x389))[a2_0x5caecd(0x1f6)](a2_0x5caecd(0x25b))[a2_0x5caecd(0x2db)](async(_0x49fb6f,_0x12fae9)=>{const _0x4d3e03=a2_0x5caecd,_0x33659d=new LLMAgentDeleteCommand(),_0x32c1f1=program[_0x4d3e03(0x1f1)](),_0x40e560=await createTDXInstance(_0x32c1f1),_0x1a59bc=await _0x33659d['run']({'options':{..._0x32c1f1,..._0x12fae9},'args':[_0x49fb6f],'tdx':_0x40e560});process['exit'](_0x1a59bc);});export{program};export function runCLI(){const _0x9c4681=a2_0x5caecd,_0x2ff200=!process[_0x9c4681(0x240)][_0x9c4681(0x1ae)](0x2)[_0x9c4681(0x1b9)];showBriefHelp=_0x2ff200,program[_0x9c4681(0x33a)](process['argv']),_0x2ff200&&program[_0x9c4681(0x369)](),process[_0x9c4681(0x17c)][_0x9c4681(0x248)]&&process['argv']['length']>0x2&&!isDevVersion()&&checkForUpdate(currentVersion)['then'](_0x900e53=>{_0x900e53&&displayUpdateNotification(_0x900e53);})[_0x9c4681(0x340)](()=>{});}
1
+ const a2_0x5aa485=a2_0x43e9;(function(_0x5f5bca,_0x5122f8){const _0x4b0d34=a2_0x43e9,_0x537dd0=_0x5f5bca();while(!![]){try{const _0x4fdd53=-parseInt(_0x4b0d34(0x258))/0x1+parseInt(_0x4b0d34(0xfb))/0x2*(parseInt(_0x4b0d34(0x2b9))/0x3)+-parseInt(_0x4b0d34(0x2ad))/0x4+-parseInt(_0x4b0d34(0x1f5))/0x5*(parseInt(_0x4b0d34(0x203))/0x6)+-parseInt(_0x4b0d34(0x29a))/0x7*(parseInt(_0x4b0d34(0x298))/0x8)+-parseInt(_0x4b0d34(0xc2))/0x9+parseInt(_0x4b0d34(0x1aa))/0xa*(parseInt(_0x4b0d34(0x2e4))/0xb);if(_0x4fdd53===_0x5122f8)break;else _0x537dd0['push'](_0x537dd0['shift']());}catch(_0x3ef876){_0x537dd0['push'](_0x537dd0['shift']());}}}(a2_0x33c3,0x63f35));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/tdx-logger.js';import{QueryCommand}from'./commands/query-command.js';function a2_0x43e9(_0x39a0f1,_0x3b759a){_0x39a0f1=_0x39a0f1-0xb2;const _0x33c3f9=a2_0x33c3();let _0x43e9ef=_0x33c3f9[_0x39a0f1];return _0x43e9ef;}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{UseCommand}from'./commands/use-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x5aa485(0x2f5)][a2_0x5aa485(0x153)](a2_0x5aa485(0xee))){let versionOutput=a2_0x5aa485(0x30c)+currentVersion;buildInfo[a2_0x5aa485(0x1da)]&&!currentVersion[a2_0x5aa485(0x153)](buildInfo[a2_0x5aa485(0x1da)])&&(versionOutput+='\x20('+buildInfo[a2_0x5aa485(0x1da)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x5aa485(0x1f1)+buildInfo[a2_0x5aa485(0x18c)]),console[a2_0x5aa485(0x26c)](versionOutput),process['exit'](0x0);}const program=new Command();let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x5aa485(0x1da)]&&!currentVersion[a2_0x5aa485(0x153)](buildInfo[a2_0x5aa485(0x1da)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0x5aa485(0x1da)]+')':description+=a2_0x5aa485(0x29e)+currentVersion;program[a2_0x5aa485(0x1fe)](a2_0x5aa485(0x21d))[a2_0x5aa485(0x1d8)](description),program[a2_0x5aa485(0x215)](a2_0x5aa485(0x1df),a2_0x5aa485(0x189))['option'](a2_0x5aa485(0x268),a2_0x5aa485(0x11c))[a2_0x5aa485(0x215)]('--site\x20<site>',a2_0x5aa485(0x136),a2_0x5aa485(0x277))[a2_0x5aa485(0x215)]('--format\x20<format>',a2_0x5aa485(0x2ae))[a2_0x5aa485(0x215)](a2_0x5aa485(0x161),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x208),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x5aa485(0x215)](a2_0x5aa485(0xe3),a2_0x5aa485(0x111))[a2_0x5aa485(0x215)](a2_0x5aa485(0x1b8),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option'](a2_0x5aa485(0x28f),'Save\x20output\x20to\x20file')[a2_0x5aa485(0x215)]('--limit\x20<number>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x5aa485(0x215)]('--color',a2_0x5aa485(0x25e),![])[a2_0x5aa485(0x215)](a2_0x5aa485(0x262),a2_0x5aa485(0x2f2),![])[a2_0x5aa485(0x215)](a2_0x5aa485(0x2c3),a2_0x5aa485(0x171),![])[a2_0x5aa485(0x215)](a2_0x5aa485(0x1e2),a2_0x5aa485(0x279))[a2_0x5aa485(0x215)]('--trace','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x103),a2_0x5aa485(0x18b),'30')[a2_0x5aa485(0x215)](a2_0x5aa485(0x257),a2_0x5aa485(0x304),![])['option'](a2_0x5aa485(0x248),a2_0x5aa485(0x1ad),![])[a2_0x5aa485(0x215)](a2_0x5aa485(0x2d7),a2_0x5aa485(0x14b))['option'](a2_0x5aa485(0xdb),'Database\x20to\x20use\x20(overrides\x20context)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x126),a2_0x5aa485(0x1f0))['option'](a2_0x5aa485(0x13e),a2_0x5aa485(0x254))[a2_0x5aa485(0x215)](a2_0x5aa485(0xf3),a2_0x5aa485(0x164)),program[a2_0x5aa485(0x127)]({'formatHelp':(_0x28ef1d,_0x3082d6)=>{const _0x437919=a2_0x5aa485,_0x3a2147=_0x3082d6[_0x437919(0x20e)](_0x28ef1d,_0x3082d6),_0x179f10=0x2,_0x38634a=0x2;function _0xadbdf3(_0x4e7c0d){const _0x2efc31=_0x437919,_0x303af3=_0x4e7c0d;return!!(_0x303af3[_0x2efc31(0xf1)]||_0x303af3[_0x2efc31(0x2dd)]);}function _0x54c5ca(_0x137d1f,_0x5ea6b1){const _0x5d9a48=_0x437919;if(_0x5ea6b1){const _0x209119=''+_0x137d1f[_0x5d9a48(0x1af)](_0x3a2147+_0x38634a)+_0x5ea6b1;return _0x209119;}return _0x137d1f;}function _0x40cff6(_0x3129e0){const _0x4c9c6c=_0x437919;return _0x3129e0[_0x4c9c6c(0x288)]('\x0a')[_0x4c9c6c(0x1fd)](/^/gm,'\x20'[_0x4c9c6c(0x21b)](_0x179f10));}const _0x1e99c6=[];_0x1e99c6[_0x437919(0x2ce)](_0x437919(0x22e)+_0x3082d6[_0x437919(0x27f)](_0x28ef1d));const _0x2bde63=_0x3082d6[_0x437919(0x20a)](_0x28ef1d);_0x2bde63&&(_0x1e99c6[_0x437919(0x2ce)](''),_0x1e99c6['push'](_0x2bde63));const _0xef080e=_0x28ef1d[_0x437919(0x1dd)]['filter'](_0x3bbc1f=>!_0xadbdf3(_0x3bbc1f));if(_0xef080e[_0x437919(0x2a0)]>0x0){if(_0x28ef1d['name']()===_0x437919(0x21d)){const _0x540fa3=_0x28ef1d[_0x437919(0xdc)](),_0x513232=!_0x540fa3[_0x437919(0x2ff)]&&process[_0x437919(0x102)][_0x437919(0x305)],_0x2dc67c=COMMAND_CATEGORIES,_0x11d9e2=(_0x359993,_0x5a25b8)=>_0x513232?_0x5a25b8(_0x359993):_0x359993,_0x5d7672=new Map();_0xef080e[_0x437919(0x25f)](_0x49b7fc=>{const _0x20f975=_0x437919;_0x5d7672[_0x20f975(0x13c)](_0x49b7fc[_0x20f975(0x1fe)](),_0x49b7fc);}),_0x2dc67c[_0x437919(0x25f)](_0x4ce38e=>{const _0xabefb1=_0x437919,_0x4457ad=_0x4ce38e['commands'][_0xabefb1(0x243)](_0x2fc373=>_0x5d7672[_0xabefb1(0x13f)](_0x2fc373)??[]);if(_0x4457ad[_0xabefb1(0x2a0)]>0x0){_0x1e99c6[_0xabefb1(0x2ce)](''),_0x1e99c6['push'](_0x11d9e2(_0x4ce38e[_0xabefb1(0x1fe)]+':',_0x4ce38e[_0xabefb1(0x14c)]));const _0x680f42=_0x4457ad[_0xabefb1(0x2db)](_0x2e26e6=>{const _0x12b08c=_0xabefb1,_0x4eda0a=_0x3082d6[_0x12b08c(0x221)](_0x2e26e6),_0xbdf314=_0x3082d6['subcommandDescription'](_0x2e26e6);return _0x54c5ca(_0x4eda0a,_0xbdf314);});_0x1e99c6[_0xabefb1(0x2ce)](_0x40cff6(_0x680f42));}}),_0x1e99c6[_0x437919(0x2ce)](''),_0x1e99c6['push'](_0x437919(0x27b));}else{const _0x3ebfca=_0xef080e['map'](_0x516065=>{const _0x3d03e5=_0x437919,_0x1c8704=_0x3082d6[_0x3d03e5(0x221)](_0x516065),_0x55fcf8=_0x3082d6[_0x3d03e5(0x118)](_0x516065);return _0x54c5ca(_0x1c8704,_0x55fcf8);});_0x1e99c6[_0x437919(0x2ce)](''),_0x1e99c6['push']('Commands:'),_0x1e99c6[_0x437919(0x2ce)](_0x40cff6(_0x3ebfca));}}if(showBriefHelp&&_0x28ef1d[_0x437919(0x1fe)]()===_0x437919(0x21d))_0x1e99c6[_0x437919(0x2ce)](''),_0x1e99c6[_0x437919(0x2ce)](_0x437919(0x196));else{const _0x55850b=_0x28ef1d[_0x437919(0x1e1)][_0x437919(0x184)](_0xf95f05=>!_0xadbdf3(_0xf95f05));if(_0x55850b[_0x437919(0x2a0)]>0x0){const _0x137fda=_0x55850b[_0x437919(0x2db)](_0x5c6717=>{const _0x75bb09=_0x437919,_0x234183=_0x3082d6[_0x75bb09(0x125)](_0x5c6717),_0x5a4891=_0x3082d6[_0x75bb09(0x135)](_0x5c6717);return _0x54c5ca(_0x234183,_0x5a4891);});_0x1e99c6['push'](''),_0x1e99c6['push'](_0x437919(0xeb)),_0x1e99c6[_0x437919(0x2ce)](_0x40cff6(_0x137fda));}}const _0x19edd8=(_0x28ef1d[_0x437919(0x2e7)]||[])[_0x437919(0x184)](_0x58bbed=>!_0xadbdf3(_0x58bbed));if(_0x19edd8[_0x437919(0x2a0)]>0x0){const _0x470c73=_0x19edd8[_0x437919(0x2db)](_0x1dd13b=>{const _0x24d5e6=_0x437919,_0x4ae9ec=_0x3082d6[_0x24d5e6(0x241)](_0x1dd13b),_0x54e04f=_0x3082d6[_0x24d5e6(0x108)](_0x1dd13b);return _0x54c5ca(_0x4ae9ec,_0x54e04f);});_0x1e99c6[_0x437919(0x2ce)](''),_0x1e99c6[_0x437919(0x2ce)](_0x437919(0x234)),_0x1e99c6['push'](_0x40cff6(_0x470c73));}return _0x1e99c6[_0x437919(0x288)]('\x0a')+'\x0a';},'subcommandTerm':_0x3bb513=>{const _0x37a989=a2_0x5aa485,_0x5a0497=(_0x3bb513[_0x37a989(0x2e7)]||[])[_0x37a989(0x2db)](_0x3bf5dd=>_0x3bf5dd['required']?'<'+_0x3bf5dd[_0x37a989(0x1fe)]()+'>':'['+_0x3bf5dd[_0x37a989(0x1fe)]()+']')[_0x37a989(0x288)]('\x20'),_0x30c6c0=_0x3bb513[_0x37a989(0x16c)](),_0x52a709=_0x30c6c0[_0x37a989(0x2a0)]>0x0?_0x3bb513[_0x37a989(0x1fe)]()+',\x20'+_0x30c6c0[_0x37a989(0x288)](',\x20'):_0x3bb513[_0x37a989(0x1fe)]();return _0x5a0497?_0x52a709+'\x20'+_0x5a0497:_0x52a709;}}),program[a2_0x5aa485(0x1c3)]('preAction',_0x198fc8=>{const _0x12705f=a2_0x5aa485,_0x3badfb=_0x198fc8[_0x12705f(0xdc)]();if(_0x3badfb[_0x12705f(0x1a2)]){const _0x32367e=resolve(_0x3badfb[_0x12705f(0x1a2)]),_0x58c334=_0x32367e!==_0x3badfb[_0x12705f(0x1a2)]?_0x12705f(0x2b7)+_0x32367e+')':'';if(!existsSync(_0x32367e))throw new SDKError(ErrorCode[_0x12705f(0x182)],_0x12705f(0x233)+_0x3badfb['directory']+_0x58c334,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x97b7e9=statSync(_0x32367e);if(!_0x97b7e9[_0x12705f(0x2bf)]())throw new SDKError(ErrorCode[_0x12705f(0x182)],_0x12705f(0x178)+_0x3badfb[_0x12705f(0x1a2)]+_0x58c334,undefined,{'helpText':_0x12705f(0x11d)});process[_0x12705f(0x2f3)](_0x32367e);}if(!_0x3badfb[_0x12705f(0x209)]){if(_0x3badfb['table'])_0x3badfb[_0x12705f(0x209)]=_0x12705f(0x2bb);else{if(_0x3badfb[_0x12705f(0x2bd)])_0x3badfb[_0x12705f(0x209)]=_0x12705f(0x2bd);else{if(_0x3badfb[_0x12705f(0x1a8)])_0x3badfb[_0x12705f(0x209)]='jsonl';else _0x3badfb['tsv']&&(_0x3badfb[_0x12705f(0x209)]=_0x12705f(0x12f));}}}_0x3badfb['in']&&!_0x3badfb['database']&&(_0x3badfb[_0x12705f(0xc4)]=_0x3badfb['in']);if(_0x3badfb[_0x12705f(0x2d3)])_0x3badfb[_0x12705f(0x190)]=LogLevel['TRACE'];else{if(_0x3badfb[_0x12705f(0x122)])_0x3badfb[_0x12705f(0x190)]=LogLevel[_0x12705f(0x16b)];else _0x3badfb[_0x12705f(0x190)]===undefined&&(_0x3badfb['logLevel']=LogLevel[_0x12705f(0x15a)]);}});async function createTDXInstance(_0xd18ca8){const _0x1867b9=a2_0x5aa485,_0x19e541=await GlobalContext[_0x1867b9(0x25a)](_0xd18ca8);return _0x19e541[_0x1867b9(0x2a4)](_0xd18ca8),TDX[_0x1867b9(0x306)]({'site':_0x19e541[_0x1867b9(0x1d4)],'apiKey':_0x19e541[_0x1867b9(0x1a1)],'logLevel':_0x19e541[_0x1867b9(0x190)],'profile':_0x19e541[_0x1867b9(0x26b)]});}const databaseCmd=program[a2_0x5aa485(0x23e)](a2_0x5aa485(0xc4))[a2_0x5aa485(0x172)]('db')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1d5)),databaseListAction=async(_0x24db20,_0x1312e2)=>{const _0x53fb46=a2_0x5aa485,_0x278151=new DatabasesCommand(),_0x595318=program[_0x53fb46(0xdc)](),_0x28501f=await createTDXInstance(_0x595318),_0x52a128=await _0x278151[_0x53fb46(0x17e)]({'options':{..._0x595318,..._0x1312e2},'args':_0x24db20?[_0x24db20]:[],'tdx':_0x28501f});process[_0x53fb46(0x169)](_0x52a128);};databaseCmd[a2_0x5aa485(0x23e)]('list\x20[pattern]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xe0))['action'](databaseListAction),program['command'](a2_0x5aa485(0xbe),{'hidden':!![]})[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x246))[a2_0x5aa485(0x16f)](databaseListAction),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1f2))[a2_0x5aa485(0x1d8)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x5aa485(0x215)](a2_0x5aa485(0xcc),a2_0x5aa485(0x18e))[a2_0x5aa485(0x215)](a2_0x5aa485(0x24b),'Start\x20a\x20new\x20chat\x20session')['action'](async(_0x26de42,_0x16b735)=>{const _0x25cfc7=a2_0x5aa485,_0x3fa156=new ChatCommand(),_0x53a26f=program[_0x25cfc7(0xdc)](),_0x47afa3=await createTDXInstance(_0x53a26f),_0x39a0d8=await _0x3fa156[_0x25cfc7(0x17e)]({'options':{..._0x53a26f,..._0x16b735},'args':_0x26de42,'tdx':_0x47afa3});process[_0x25cfc7(0x169)](_0x39a0d8);});const apiCmd=program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x251))[a2_0x5aa485(0x271)](a2_0x5aa485(0x1c4))[a2_0x5aa485(0x26a)](a2_0x5aa485(0xbd),a2_0x5aa485(0xb4))[a2_0x5aa485(0x215)](a2_0x5aa485(0x21c),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x5aa485(0x1ee))[a2_0x5aa485(0x215)](a2_0x5aa485(0xf9),a2_0x5aa485(0x240))[a2_0x5aa485(0x215)]('-f,\x20--file\x20<path>','Read\x20request\x20body\x20from\x20file')[a2_0x5aa485(0x215)](a2_0x5aa485(0x143),a2_0x5aa485(0x1cb),(_0x1ef213,_0x3423f2)=>{return _0x3423f2?[..._0x3423f2,_0x1ef213]:[_0x1ef213];})[a2_0x5aa485(0x215)]('--type\x20<api_type>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x32382f,_0x20a717)=>{const _0x4fc75a=a2_0x5aa485;if(!_0x32382f){apiCmd[_0x4fc75a(0x253)]();return;}const _0x4b4966=new ApiCommand(),_0x430cca=program[_0x4fc75a(0xdc)](),_0x4abf80=await createTDXInstance(_0x430cca),_0xe5ffad=await _0x4b4966[_0x4fc75a(0x17e)]({'options':{..._0x430cca,..._0x20a717},'args':[_0x32382f],'tdx':_0x4abf80});process[_0x4fc75a(0x169)](_0xe5ffad);}),tableCmd=program['command'](a2_0x5aa485(0x2bb))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x104)),tableListAction=async(_0x23d1ee,_0xaed625)=>{const _0x256f40=a2_0x5aa485,_0x34981c=new TablesCommand(),_0x3f2d81=program[_0x256f40(0xdc)](),_0x32768f=await createTDXInstance(_0x3f2d81);_0xaed625['in']&&(_0xaed625['database']=_0xaed625['in']);const _0x369ee5=await _0x34981c[_0x256f40(0x17e)]({'options':{..._0x3f2d81,..._0xaed625},'args':_0x23d1ee?[_0x23d1ee]:[],'tdx':_0x32768f});process[_0x256f40(0x169)](_0x369ee5);};tableCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x286))[a2_0x5aa485(0x1d8)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x5aa485(0x215)](a2_0x5aa485(0xc9),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x267),a2_0x5aa485(0x1f0))[a2_0x5aa485(0x16f)](tableListAction),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x27c),{'hidden':!![]})['description']('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x5aa485(0x215)](a2_0x5aa485(0xc9),a2_0x5aa485(0x21e))['option'](a2_0x5aa485(0x267),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x5aa485(0x16f)](tableListAction),program[a2_0x5aa485(0x23e)]('show\x20[table]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2fd))['option'](a2_0x5aa485(0xc9),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option'](a2_0x5aa485(0x267),a2_0x5aa485(0x1f0))['action'](async(_0x1f0dd7,_0x24c702)=>{const _0x239c0a=a2_0x5aa485,_0x3b5c11=new ShowCommand(),_0x48f8b0=program[_0x239c0a(0xdc)](),_0x693369=await createTDXInstance(_0x48f8b0);_0x24c702['in']&&(_0x24c702[_0x239c0a(0xc4)]=_0x24c702['in']);const _0x44bff0=await _0x3b5c11[_0x239c0a(0x17e)]({'options':{..._0x48f8b0,..._0x24c702},'args':_0x1f0dd7?[_0x1f0dd7]:[],'tdx':_0x693369});process[_0x239c0a(0x169)](_0x44bff0);}),program['command'](a2_0x5aa485(0x1e3))[a2_0x5aa485(0x172)](a2_0x5aa485(0x2a5))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1e7))[a2_0x5aa485(0x215)](a2_0x5aa485(0xc9),a2_0x5aa485(0x12e))[a2_0x5aa485(0x215)](a2_0x5aa485(0x267),a2_0x5aa485(0x1f0))[a2_0x5aa485(0x16f)](async(_0x541cb2,_0x34447a)=>{const _0xaeb3ef=a2_0x5aa485,_0x164599=new DescribeCommand(),_0x1442d3=program[_0xaeb3ef(0xdc)](),_0x15c6b4=await createTDXInstance(_0x1442d3);_0x34447a['in']&&(_0x34447a[_0xaeb3ef(0xc4)]=_0x34447a['in']);const _0x5d4c9e=await _0x164599[_0xaeb3ef(0x17e)]({'options':{..._0x1442d3,..._0x34447a},'args':_0x541cb2?[_0x541cb2]:[],'tdx':_0x15c6b4});process[_0xaeb3ef(0x169)](_0x5d4c9e);}),program['command'](a2_0x5aa485(0x168))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xc8))[a2_0x5aa485(0x215)](a2_0x5aa485(0xc9),a2_0x5aa485(0x17b))[a2_0x5aa485(0x215)]('--in\x20<database>',a2_0x5aa485(0x1f0))[a2_0x5aa485(0x215)](a2_0x5aa485(0x296),a2_0x5aa485(0x1c9))['option'](a2_0x5aa485(0xb2),a2_0x5aa485(0x2ea))[a2_0x5aa485(0x215)](a2_0x5aa485(0x227),'Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')[a2_0x5aa485(0x16f)](async(_0x391bca,_0x10b4ee)=>{const _0x7d033=a2_0x5aa485,_0x1ae7ec=new QueryCommand(),_0x593887=program['opts'](),_0x1f1e29=await createTDXInstance(_0x593887);_0x10b4ee['in']&&(_0x10b4ee[_0x7d033(0xc4)]=_0x10b4ee['in']);const _0xd3e278=await _0x1ae7ec[_0x7d033(0x17e)]({'options':{..._0x593887,..._0x10b4ee},'args':_0x391bca?[_0x391bca]:[],'tdx':_0x1f1e29});process[_0x7d033(0x169)](_0xd3e278);});const segmentCmd=program[a2_0x5aa485(0x23e)]('segment')[a2_0x5aa485(0x172)]('sg')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1e8)),segmentListAction=async(_0x4ad2a6,_0xe9cc6b)=>{const _0x547e20=a2_0x5aa485,_0x40994a=new SegmentsCommand(),_0x3f94d6=program[_0x547e20(0xdc)](),_0x2808b3=await createTDXInstance(_0x3f94d6),_0x1e2f73=await _0x40994a[_0x547e20(0x17e)]({'options':{..._0x3f94d6,..._0xe9cc6b},'args':_0x4ad2a6?[_0x4ad2a6]:[],'tdx':_0x2808b3});process[_0x547e20(0x169)](_0x1e2f73);};segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x194))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2cc))[a2_0x5aa485(0x215)](a2_0x5aa485(0x201),a2_0x5aa485(0x1fa))[a2_0x5aa485(0x215)](a2_0x5aa485(0xd5),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1cd),{'hidden':!![]})['description'](a2_0x5aa485(0x2d5))['option']('-r,\x20--recursive',a2_0x5aa485(0x1fa))['option']('--max-depth\x20<depth>',a2_0x5aa485(0xf7),'10')['action'](segmentListAction),segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0xe8),{'hidden':!![]})['description'](a2_0x5aa485(0x250))[a2_0x5aa485(0x16f)](async(_0x1b06b7,_0x5630fe)=>{const _0x501f58=a2_0x5aa485,_0x18b59d=new SegmentUseCommand(),_0x587f5c=program[_0x501f58(0xdc)](),_0x30318f=await createTDXInstance(_0x587f5c),_0x5def92=await _0x18b59d[_0x501f58(0x17e)]({'options':{..._0x587f5c,..._0x5630fe},'args':[_0x1b06b7],'tdx':_0x30318f});process[_0x501f58(0x169)](_0x5def92);});const segmentViewAction=async(_0x47723b,_0x1bdb76)=>{const _0x599efd=a2_0x5aa485,_0x216a36=new SegmentViewCommand(),_0x32ca4d=program[_0x599efd(0xdc)](),_0x402ab3=await createTDXInstance(_0x32ca4d),_0x2900e9=await _0x216a36[_0x599efd(0x17e)]({'options':{..._0x32ca4d,..._0x1bdb76},'args':_0x47723b?[_0x47723b]:[],'tdx':_0x402ab3});process[_0x599efd(0x169)](_0x2900e9);};segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0xc6))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1a0))[a2_0x5aa485(0x215)](a2_0x5aa485(0x236),'Open\x20segment\x20in\x20web\x20browser')[a2_0x5aa485(0x16f)](segmentViewAction),segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x264),{'hidden':!![]})[a2_0x5aa485(0x172)]('describe')[a2_0x5aa485(0x215)]('-w,\x20--web',a2_0x5aa485(0x151))[a2_0x5aa485(0x1d8)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x5aa485(0x16f)](segmentViewAction),segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x163))[a2_0x5aa485(0x1d8)]('Show\x20segment\x20schema\x20(column\x20types)')['action'](async(_0x27175a,_0x5130c8)=>{const _0x55ded6=new SegmentDescCommand(),_0x593e24=program['opts'](),_0x29b06f=await createTDXInstance(_0x593e24),_0x433eb9=await _0x55ded6['run']({'options':{..._0x593e24,..._0x5130c8},'args':_0x27175a?[_0x27175a]:[],'tdx':_0x29b06f});process['exit'](_0x433eb9);}),segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0xb5))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x30b))[a2_0x5aa485(0x16f)](async(_0x5711ed,_0x20bb07)=>{const _0x33caaf=a2_0x5aa485,_0xd5ec8b=new SegmentShowCommand(),_0x2d0b8e=program[_0x33caaf(0xdc)](),_0x5bbf3d=await createTDXInstance(_0x2d0b8e),_0x482029=await _0xd5ec8b[_0x33caaf(0x17e)]({'options':{..._0x2d0b8e,..._0x20bb07},'args':_0x5711ed?[_0x5711ed]:[],'tdx':_0x5bbf3d});process[_0x33caaf(0x169)](_0x482029);}),segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x218),{'hidden':!![]})[a2_0x5aa485(0x1d8)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')['action'](async(_0x50527f,_0x41373c)=>{const _0x26677d=a2_0x5aa485,_0x561215=new SegmentFolderListCommand(),_0x558378=program[_0x26677d(0xdc)](),_0x1e1a4b=await createTDXInstance(_0x558378),_0x4b73ec=await _0x561215[_0x26677d(0x17e)]({'options':{..._0x558378,..._0x41373c},'args':[_0x50527f],'tdx':_0x1e1a4b});process[_0x26677d(0x169)](_0x4b73ec);});const folderCmd=segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x226),{'hidden':!![]})['description']('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x309))[a2_0x5aa485(0x1d8)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')['action'](async(_0x224d94,_0x9efdc1)=>{const _0x56971b=a2_0x5aa485,_0x144730=new SegmentFolderShowCommand(),_0x7b50a0=program['opts'](),_0x4c180b=await createTDXInstance(_0x7b50a0),_0x4697d9=await _0x144730[_0x56971b(0x17e)]({'options':{..._0x7b50a0,..._0x9efdc1},'args':[_0x224d94],'tdx':_0x4c180b});process['exit'](_0x4697d9);}),segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x10e))['description'](a2_0x5aa485(0x1d3))[a2_0x5aa485(0x16f)](async(_0x2d1424,_0x4eb505)=>{const _0x217fb7=a2_0x5aa485,_0x2962c2=new SegmentSQLCommand(),_0x59def8=program[_0x217fb7(0xdc)](),_0x1f15f1=await createTDXInstance(_0x59def8),_0x177989=await _0x2962c2[_0x217fb7(0x17e)]({'options':{..._0x59def8,..._0x4eb505},'args':_0x2d1424?[_0x2d1424]:[],'tdx':_0x1f15f1});process['exit'](_0x177989);}),segmentCmd[a2_0x5aa485(0x23e)]('fields\x20[parent_name]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1e5))[a2_0x5aa485(0x16f)](async(_0x33926a,_0x5e3577)=>{const _0x3c8447=a2_0x5aa485,_0x395065=new SegmentFieldsCommand(),_0x34be0e=program[_0x3c8447(0xdc)](),_0x443a01=await createTDXInstance(_0x34be0e),_0x52b68b=await _0x395065['run']({'options':{..._0x34be0e,..._0x5e3577},'args':_0x33926a?[_0x33926a]:[],'tdx':_0x443a01});process['exit'](_0x52b68b);}),segmentCmd['command'](a2_0x5aa485(0x255))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x278))[a2_0x5aa485(0x215)](a2_0x5aa485(0x248),a2_0x5aa485(0x1ad))[a2_0x5aa485(0x215)](a2_0x5aa485(0x257),a2_0x5aa485(0x18f))[a2_0x5aa485(0x16f)](async(_0x58ebdf,_0x33fb0e)=>{const _0x5b8c29=a2_0x5aa485,_0x5deeeb=new SegmentPullCommand(),_0x436947=program['opts'](),_0x5c5e63=await createTDXInstance(_0x436947),_0x298f70=await _0x5deeeb[_0x5b8c29(0x17e)]({'options':{..._0x436947,..._0x33fb0e},'args':_0x58ebdf?[_0x58ebdf]:[],'tdx':_0x5c5e63});process[_0x5b8c29(0x169)](_0x298f70);}),segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x200))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x124))['option'](a2_0x5aa485(0x248),'Skip\x20confirmation\x20prompts')[a2_0x5aa485(0x215)]('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['option'](a2_0x5aa485(0xea),a2_0x5aa485(0x1fc))[a2_0x5aa485(0x16f)](async(_0x43552f,_0x21c87e)=>{const _0xd4a443=a2_0x5aa485,_0x334699=new SegmentPushCommand(),_0x5c126d=program[_0xd4a443(0xdc)](),_0x5ba1f1=await createTDXInstance(_0x5c126d),_0x50b342=await _0x334699['run']({'options':{..._0x5c126d,..._0x21c87e},'args':_0x43552f?[_0x43552f]:[],'tdx':_0x5ba1f1});process[_0xd4a443(0x169)](_0x50b342);}),segmentCmd['command']('validate\x20[target]')[a2_0x5aa485(0x1d8)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')['action'](async(_0x187c7e,_0x52a481)=>{const _0x2f5834=a2_0x5aa485,_0x1529c8=new SegmentValidateCommand(),_0x14297e=program['opts'](),_0x14a0c9=await createTDXInstance(_0x14297e),_0x44a17b=await _0x1529c8['run']({'options':{..._0x14297e,..._0x52a481},'args':_0x187c7e?[_0x187c7e]:[],'tdx':_0x14a0c9});process[_0x2f5834(0x169)](_0x44a17b);}),segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x245),{'hidden':!![]})['description'](a2_0x5aa485(0x2c7))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2c4),a2_0x5aa485(0x160))[a2_0x5aa485(0x215)]('--rule\x20<json>',a2_0x5aa485(0x294))[a2_0x5aa485(0x215)](a2_0x5aa485(0x1a3),a2_0x5aa485(0x2df))['option'](a2_0x5aa485(0x276),a2_0x5aa485(0x22d))[a2_0x5aa485(0x215)]('--kind\x20<type>',a2_0x5aa485(0x15c))[a2_0x5aa485(0x215)](a2_0x5aa485(0x219),a2_0x5aa485(0x24d))['option']('--no-count-population',a2_0x5aa485(0x290))[a2_0x5aa485(0x16f)](async(_0x35a6dc,_0x788da1)=>{const _0x2338c2=a2_0x5aa485,_0x67bac4=new SegmentCreateCommand(),_0x55c108=program[_0x2338c2(0xdc)](),_0x15f1c2=await createTDXInstance(_0x55c108),_0x3b85bb=await _0x67bac4[_0x2338c2(0x17e)]({'options':{..._0x55c108,..._0x788da1},'args':[_0x35a6dc],'tdx':_0x15f1c2});process[_0x2338c2(0x169)](_0x3b85bb);}),segmentCmd['command']('update\x20<segment_name>',{'hidden':!![]})[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1ef))[a2_0x5aa485(0x215)](a2_0x5aa485(0x10c),'New\x20segment\x20name')[a2_0x5aa485(0x215)](a2_0x5aa485(0x2c4),a2_0x5aa485(0x27a))['option'](a2_0x5aa485(0x2d6),a2_0x5aa485(0x22f))['option'](a2_0x5aa485(0x1a3),a2_0x5aa485(0x1d9))[a2_0x5aa485(0x215)]('--folder\x20<name>',a2_0x5aa485(0x107))['option'](a2_0x5aa485(0x16a),a2_0x5aa485(0x15c))[a2_0x5aa485(0x16f)](async(_0x4e8ba5,_0x43ea96)=>{const _0x43f83a=a2_0x5aa485,_0x453212=new SegmentUpdateCommand(),_0x2d08fb=program[_0x43f83a(0xdc)](),_0x3706b0=await createTDXInstance(_0x2d08fb),_0x365810=await _0x453212[_0x43f83a(0x17e)]({'options':{..._0x2d08fb,..._0x43ea96},'args':[_0x4e8ba5],'tdx':_0x3706b0});process[_0x43f83a(0x169)](_0x365810);});const parentCmd=segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1a6),{'hidden':!![]})[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xb8)),parentListAction=async(_0x684beb,_0x4f48d8)=>{const _0x75ade0=a2_0x5aa485,_0x4e0be0=new ParentSegmentListCommand(),_0x1eb87c=program[_0x75ade0(0xdc)](),_0x2ac1e1=await createTDXInstance(_0x1eb87c),_0x597a56=await _0x4e0be0[_0x75ade0(0x17e)]({'options':{..._0x1eb87c,..._0x4f48d8},'args':_0x684beb?[_0x684beb]:[],'tdx':_0x2ac1e1});process[_0x75ade0(0x169)](_0x597a56);};parentCmd[a2_0x5aa485(0x23e)]('list\x20[pattern]')[a2_0x5aa485(0x1d8)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x5aa485(0x16f)](parentListAction),segmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2c8),{'hidden':!![]})[a2_0x5aa485(0x1d8)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')[a2_0x5aa485(0x16f)](parentListAction),parentCmd[a2_0x5aa485(0x23e)]('pull\x20[name]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x156))[a2_0x5aa485(0x215)](a2_0x5aa485(0xf0),a2_0x5aa485(0xcf))['option']('-y,\x20--yes',a2_0x5aa485(0x22a))[a2_0x5aa485(0x16f)](async(_0x4550f2,_0x375c84)=>{const _0x2ae7ff=a2_0x5aa485,_0x5228d5=new ParentSegmentPullCommand(),_0xfd6b2f=program[_0x2ae7ff(0xdc)](),_0x529c60=await createTDXInstance(_0xfd6b2f),_0x8d39d4=await _0x5228d5[_0x2ae7ff(0x17e)]({'options':{..._0xfd6b2f,..._0x375c84},'args':_0x4550f2?[_0x4550f2]:[],'tdx':_0x529c60});process['exit'](_0x8d39d4);}),parentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1b4))[a2_0x5aa485(0x1d8)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x5aa485(0x215)](a2_0x5aa485(0x248),'Skip\x20confirmation\x20prompt')[a2_0x5aa485(0x16f)](async(_0x57c014,_0x5c04b3)=>{const _0x2e84dd=a2_0x5aa485,_0x137964=new ParentSegmentPushCommand(),_0x1d681f=program[_0x2e84dd(0xdc)](),_0x3e62f8=await createTDXInstance(_0x1d681f),_0x5e5f18=await _0x137964['run']({'options':{..._0x1d681f,..._0x5c04b3},'args':_0x57c014?[_0x57c014]:[],'tdx':_0x3e62f8});process[_0x2e84dd(0x169)](_0x5e5f18);}),parentCmd[a2_0x5aa485(0x23e)]('validate\x20[file]')['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x5aa485(0x215)](a2_0x5aa485(0x1c0),a2_0x5aa485(0x2a6))[a2_0x5aa485(0x215)](a2_0x5aa485(0x1e4),a2_0x5aa485(0x212))['option']('--behavior\x20[name]',a2_0x5aa485(0x148))[a2_0x5aa485(0x215)](a2_0x5aa485(0xd0),a2_0x5aa485(0x202))['option']('--interval\x20<range>',a2_0x5aa485(0x308),a2_0x5aa485(0xe6))[a2_0x5aa485(0x16f)](async(_0x575270,_0x315018)=>{const _0x1ed422=a2_0x5aa485,_0x292723=new ParentSegmentValidateCommand(),_0x311ce0=program[_0x1ed422(0xdc)](),_0x103f74=await createTDXInstance(_0x311ce0),_0x12975a=await _0x292723['run']({'options':{..._0x311ce0,..._0x315018},'args':_0x575270?[_0x575270]:[],'tdx':_0x103f74});process[_0x1ed422(0x169)](_0x12975a);}),parentCmd[a2_0x5aa485(0x23e)]('preview\x20[file]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2b2))[a2_0x5aa485(0x215)]('--master','Show\x20master\x20table\x20sample\x20data')[a2_0x5aa485(0x215)](a2_0x5aa485(0x1e4),a2_0x5aa485(0x21f))[a2_0x5aa485(0x215)](a2_0x5aa485(0x216),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x5aa485(0x215)]('--enriched',a2_0x5aa485(0xc3))[a2_0x5aa485(0x215)](a2_0x5aa485(0x1f4),a2_0x5aa485(0x308),a2_0x5aa485(0xe6))[a2_0x5aa485(0x16f)](async(_0x4852fc,_0x576d89)=>{const _0x49984d=a2_0x5aa485,_0x5c4a71=new ParentSegmentPreviewCommand(),_0x14c577=program[_0x49984d(0xdc)](),_0x288d7b=await createTDXInstance(_0x14c577),_0x27b8ac=await _0x5c4a71[_0x49984d(0x17e)]({'options':{..._0x14c577,..._0x576d89},'args':_0x4852fc?[_0x4852fc]:[],'tdx':_0x288d7b});process[_0x49984d(0x169)](_0x27b8ac);}),parentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x23c))['description'](a2_0x5aa485(0x2fc))['option'](a2_0x5aa485(0x248),a2_0x5aa485(0x22a))['action'](async(_0xe1eadd,_0x3ec9e5)=>{const _0x32aeb0=a2_0x5aa485,_0x5a1c17=new ParentSegmentRunCommand(),_0x446803=program['opts'](),_0x2817a1=await createTDXInstance(_0x446803),_0x5387ea=await _0x5a1c17[_0x32aeb0(0x17e)]({'options':{..._0x446803,..._0x3ec9e5},'args':_0xe1eadd?[_0xe1eadd]:[],'tdx':_0x2817a1});process[_0x32aeb0(0x169)](_0x5387ea);});const parentSegmentCmd=program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2a9))[a2_0x5aa485(0x172)]('ps')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2be));parentSegmentCmd[a2_0x5aa485(0x23e)]('list\x20[pattern]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2b8))[a2_0x5aa485(0x16f)](parentListAction),parentSegmentCmd['command']('pull\x20[name]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1b6))[a2_0x5aa485(0x215)](a2_0x5aa485(0xf0),a2_0x5aa485(0x27e))[a2_0x5aa485(0x215)](a2_0x5aa485(0x248),a2_0x5aa485(0x22a))['option'](a2_0x5aa485(0x11e),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')['action'](async(_0x3444a2,_0x4a5414)=>{const _0x5beb90=a2_0x5aa485,_0x156907=new ParentSegmentPullCommand(),_0xc7edf4=program[_0x5beb90(0xdc)](),_0x262f3c=await createTDXInstance(_0xc7edf4),_0x58c695=await _0x156907[_0x5beb90(0x17e)]({'options':{..._0xc7edf4,..._0x4a5414},'args':_0x3444a2?[_0x3444a2]:[],'tdx':_0x262f3c});process[_0x5beb90(0x169)](_0x58c695);}),parentSegmentCmd['command'](a2_0x5aa485(0x147))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1ce))[a2_0x5aa485(0x215)]('-y,\x20--yes',a2_0x5aa485(0x22a))[a2_0x5aa485(0x16f)](async(_0x1fd15c,_0xa67229)=>{const _0x1e2549=a2_0x5aa485,_0x40da79=new ParentSegmentPushCommand(),_0x511ca1=program[_0x1e2549(0xdc)](),_0x54ff91=await createTDXInstance(_0x511ca1),_0x3199dd=await _0x40da79['run']({'options':{..._0x511ca1,..._0xa67229},'args':_0x1fd15c?[_0x1fd15c]:[],'tdx':_0x54ff91});process['exit'](_0x3199dd);}),parentSegmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x11f))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x19e))[a2_0x5aa485(0x215)](a2_0x5aa485(0x1c0),a2_0x5aa485(0x2a6))['option'](a2_0x5aa485(0x1e4),a2_0x5aa485(0x212))['option']('--behavior\x20[name]',a2_0x5aa485(0x148))[a2_0x5aa485(0x215)](a2_0x5aa485(0xd0),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x5aa485(0x215)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x5aa485(0xe6))[a2_0x5aa485(0x16f)](async(_0x12eeb7,_0x582c80)=>{const _0x1ca270=a2_0x5aa485,_0x1057ff=new ParentSegmentValidateCommand(),_0x2e485b=program[_0x1ca270(0xdc)](),_0x273c1f=await createTDXInstance(_0x2e485b),_0x282bfa=await _0x1057ff[_0x1ca270(0x17e)]({'options':{..._0x2e485b,..._0x582c80},'args':_0x12eeb7?[_0x12eeb7]:[],'tdx':_0x273c1f});process[_0x1ca270(0x169)](_0x282bfa);}),parentSegmentCmd[a2_0x5aa485(0x23e)]('preview\x20[name]')[a2_0x5aa485(0x1d8)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x5aa485(0x215)](a2_0x5aa485(0x1c0),a2_0x5aa485(0x1c5))['option'](a2_0x5aa485(0x1e4),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x5aa485(0x215)](a2_0x5aa485(0x216),a2_0x5aa485(0xf2))['option'](a2_0x5aa485(0xd0),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x1f4),a2_0x5aa485(0x308),a2_0x5aa485(0xe6))['action'](async(_0x43bf11,_0x58e3a3)=>{const _0x336aa0=a2_0x5aa485,_0x33624c=new ParentSegmentPreviewCommand(),_0x35b6fb=program[_0x336aa0(0xdc)](),_0x254a0a=await createTDXInstance(_0x35b6fb),_0x1728d5=await _0x33624c[_0x336aa0(0x17e)]({'options':{..._0x35b6fb,..._0x58e3a3},'args':_0x43bf11?[_0x43bf11]:[],'tdx':_0x254a0a});process['exit'](_0x1728d5);}),parentSegmentCmd[a2_0x5aa485(0x23e)]('run\x20[name]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2fc))[a2_0x5aa485(0x215)](a2_0x5aa485(0x248),a2_0x5aa485(0x22a))[a2_0x5aa485(0x16f)](async(_0x1b43df,_0x4e327d)=>{const _0x1a898f=a2_0x5aa485,_0x6a9dfb=new ParentSegmentRunCommand(),_0x59a50d=program['opts'](),_0x3a2123=await createTDXInstance(_0x59a50d),_0xf31d72=await _0x6a9dfb[_0x1a898f(0x17e)]({'options':{..._0x59a50d,..._0x4e327d},'args':_0x1b43df?[_0x1b43df]:[],'tdx':_0x3a2123});process[_0x1a898f(0x169)](_0xf31d72);}),parentSegmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0xfd))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x208),a2_0x5aa485(0x162))[a2_0x5aa485(0x215)](a2_0x5aa485(0xe3),a2_0x5aa485(0x29c))['action'](async(_0x38ff3e,_0x397d5d)=>{const _0x445c98=a2_0x5aa485,_0x264cb2=new ParentSegmentFieldsCommand(),_0x5d0b5d=program[_0x445c98(0xdc)](),_0x116179=await createTDXInstance(_0x5d0b5d),_0x5d0863=await _0x264cb2[_0x445c98(0x17e)]({'options':{..._0x5d0b5d,..._0x397d5d},'args':_0x38ff3e?[_0x38ff3e]:[],'tdx':_0x116179});process['exit'](_0x5d0863);}),parentSegmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x23f))['description'](a2_0x5aa485(0x307))[a2_0x5aa485(0x215)](a2_0x5aa485(0x236),a2_0x5aa485(0x173))[a2_0x5aa485(0x215)](a2_0x5aa485(0x208),a2_0x5aa485(0x162))[a2_0x5aa485(0x215)](a2_0x5aa485(0xe3),a2_0x5aa485(0x29c))[a2_0x5aa485(0x16f)](async(_0x3e614a,_0x517523)=>{const _0x11baec=a2_0x5aa485,_0x179dfb=new ParentSegmentViewCommand(),_0x264680=program[_0x11baec(0xdc)](),_0x131c9a=await createTDXInstance(_0x264680),_0x3cdcb7=await _0x179dfb['run']({'options':{..._0x264680,..._0x517523},'args':_0x3e614a?[_0x3e614a]:[],'tdx':_0x131c9a});process[_0x11baec(0x169)](_0x3cdcb7);}),parentSegmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x295))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xc5))[a2_0x5aa485(0x215)](a2_0x5aa485(0x208),a2_0x5aa485(0x162))[a2_0x5aa485(0x215)](a2_0x5aa485(0xe3),a2_0x5aa485(0x29c))[a2_0x5aa485(0x16f)](async(_0x5a4762,_0x85fa18)=>{const _0x30b82f=a2_0x5aa485,_0x1ddb10=new ParentSegmentDescCommand(),_0x3eb4f4=program['opts'](),_0x560e52=await createTDXInstance(_0x3eb4f4),_0x56ddd0=await _0x1ddb10[_0x30b82f(0x17e)]({'options':{..._0x3eb4f4,..._0x85fa18},'args':_0x5a4762?[_0x5a4762]:[],'tdx':_0x560e52});process[_0x30b82f(0x169)](_0x56ddd0);}),parentSegmentCmd['command'](a2_0x5aa485(0x197))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x24a))['option']('--json',a2_0x5aa485(0x162))[a2_0x5aa485(0x215)](a2_0x5aa485(0xe3),a2_0x5aa485(0x29c))[a2_0x5aa485(0x16f)](async(_0x814d3d,_0x47167d)=>{const _0x2f99c8=a2_0x5aa485,_0x59e15c=new ParentSegmentSQLCommand(),_0x9ca704=program[_0x2f99c8(0xdc)](),_0x40aca1=await createTDXInstance(_0x9ca704),_0x1d9a89=await _0x59e15c[_0x2f99c8(0x17e)]({'options':{..._0x9ca704,..._0x47167d},'args':_0x814d3d?[_0x814d3d]:[],'tdx':_0x40aca1});process[_0x2f99c8(0x169)](_0x1d9a89);}),parentSegmentCmd[a2_0x5aa485(0x23e)]('show\x20[name]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x16e))[a2_0x5aa485(0x215)](a2_0x5aa485(0x112),a2_0x5aa485(0x1a4))['option'](a2_0x5aa485(0x208),'Output\x20as\x20JSON')[a2_0x5aa485(0x215)](a2_0x5aa485(0xe3),a2_0x5aa485(0x29c))[a2_0x5aa485(0x16f)](async(_0x3ced1a,_0x582225)=>{const _0x4cd50b=a2_0x5aa485,_0x3bf022=new ParentSegmentShowCommand(),_0x5ad4f9=program['opts'](),_0x45d12f=await createTDXInstance(_0x5ad4f9),_0x530651=await _0x3bf022[_0x4cd50b(0x17e)]({'options':{..._0x5ad4f9,..._0x582225},'args':_0x3ced1a?[_0x3ced1a]:[],'tdx':_0x45d12f});process[_0x4cd50b(0x169)](_0x530651);}),parentSegmentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x11b))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x283))[a2_0x5aa485(0x16f)](async(_0x201292,_0x543a44)=>{const _0x5685a7=a2_0x5aa485,_0x4eee36=new UseCommand(),_0x83724e=program['opts'](),_0x24b21c=_0x201292?[_0x5685a7(0x1c2),_0x201292]:[],_0x3b39a9=await _0x4eee36[_0x5685a7(0x17e)]({'options':{..._0x83724e,..._0x543a44},'args':_0x24b21c,'tdx':null});process[_0x5685a7(0x169)](_0x3b39a9);}),parentCmd[a2_0x5aa485(0x23e)]('create\x20<name>')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x10d))['requiredOption'](a2_0x5aa485(0x281),a2_0x5aa485(0x115))['requiredOption'](a2_0x5aa485(0x235),'Master\x20table\x20name')['option'](a2_0x5aa485(0x2c4),a2_0x5aa485(0x273))[a2_0x5aa485(0x215)]('--schedule-type\x20<type>',a2_0x5aa485(0xbc))[a2_0x5aa485(0x215)](a2_0x5aa485(0x301),a2_0x5aa485(0x2e0))['option'](a2_0x5aa485(0xe2),a2_0x5aa485(0x1c6))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2ed),a2_0x5aa485(0x1bd))[a2_0x5aa485(0x215)]('--attributes-file\x20<file>',a2_0x5aa485(0xbb))[a2_0x5aa485(0x215)](a2_0x5aa485(0x113),a2_0x5aa485(0x2b0))[a2_0x5aa485(0x215)](a2_0x5aa485(0x299),'Behaviors\x20from\x20JSON\x20file')[a2_0x5aa485(0x215)]('--customer-group\x20<json>',a2_0x5aa485(0x154))[a2_0x5aa485(0x215)](a2_0x5aa485(0x121),a2_0x5aa485(0x2bc))[a2_0x5aa485(0x16f)](async(_0x304355,_0x2780e4)=>{const _0x439ec4=a2_0x5aa485,_0x890ef=new ParentSegmentCreateCommand(),_0x32d321=program[_0x439ec4(0xdc)](),_0x24ef66=await createTDXInstance(_0x32d321),_0x3e7912=await _0x890ef['run']({'options':{..._0x32d321,..._0x2780e4},'args':[_0x304355],'tdx':_0x24ef66});process[_0x439ec4(0x169)](_0x3e7912);}),parentCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x14f))[a2_0x5aa485(0x1d8)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x5aa485(0x215)](a2_0x5aa485(0x2c4),a2_0x5aa485(0x27a))[a2_0x5aa485(0x215)](a2_0x5aa485(0xd9),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x5aa485(0x215)]('--schedule-option\x20<value>',a2_0x5aa485(0x128))[a2_0x5aa485(0x215)]('--timezone\x20<tz>',a2_0x5aa485(0x1bc))[a2_0x5aa485(0x215)]('--add-attributes\x20<json>',a2_0x5aa485(0x165))[a2_0x5aa485(0x215)](a2_0x5aa485(0x230),a2_0x5aa485(0x2b5))['option'](a2_0x5aa485(0x1b2),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x5aa485(0x215)](a2_0x5aa485(0x204),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x5aa485(0x16f)](async(_0x3d39ff,_0x397f1e)=>{const _0x3d51ee=a2_0x5aa485,_0x2b7b3d=new ParentSegmentUpdateCommand(),_0x589765=program[_0x3d51ee(0xdc)](),_0x15ea50=await createTDXInstance(_0x589765),_0x10e410=await _0x2b7b3d[_0x3d51ee(0x17e)]({'options':{..._0x589765,..._0x397f1e},'args':[_0x3d39ff],'tdx':_0x15ea50});process[_0x3d51ee(0x169)](_0x10e410);}),folderCmd['command'](a2_0x5aa485(0xce))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1ec))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2c4),a2_0x5aa485(0x123))[a2_0x5aa485(0x215)](a2_0x5aa485(0x224),a2_0x5aa485(0x12c))[a2_0x5aa485(0x16f)](async(_0x4c9299,_0x1909be,_0x4ccad1)=>{const _0x336fb8=a2_0x5aa485,_0xa68ce2=new SegmentFolderCreateCommand(),_0x379fcb=program['opts'](),_0x1a5600=await createTDXInstance(_0x379fcb),_0xc0d561=await _0xa68ce2[_0x336fb8(0x17e)]({'options':{..._0x379fcb,..._0x4ccad1},'args':[_0x4c9299,_0x1909be],'tdx':_0x1a5600});process[_0x336fb8(0x169)](_0xc0d561);}),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x142))['description'](a2_0x5aa485(0x1c1))[a2_0x5aa485(0x16f)](async(_0xa8f843,_0x152e79)=>{const _0x4c0bbd=a2_0x5aa485,_0x13c758=new ActivationsCommand(),_0x39af8f=program[_0x4c0bbd(0xdc)](),_0x313edd=await createTDXInstance(_0x39af8f),_0x1d4f32=await _0x13c758[_0x4c0bbd(0x17e)]({'options':{..._0x39af8f,..._0x152e79},'args':[_0xa8f843],'tdx':_0x313edd});process[_0x4c0bbd(0x169)](_0x1d4f32);});const workflowCmd=program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2a7))[a2_0x5aa485(0x172)]('wf')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x17d)),wfProjectCmd=workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x101))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x261)),wfProjectListAction=async(_0xa1a232,_0x1f0163)=>{const _0x88a89f=a2_0x5aa485,_0x1bbe55=new WorkflowProjectsCommand(),_0x3192aa=program['opts'](),_0x5387e0=await createTDXInstance(_0x3192aa),_0xb3f700=await _0x1bbe55[_0x88a89f(0x17e)]({'options':{..._0x3192aa,..._0x1f0163},'args':_0xa1a232?[_0xa1a232]:[],'tdx':_0x5387e0});process[_0x88a89f(0x169)](_0xb3f700);};wfProjectCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x286))[a2_0x5aa485(0x1d8)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x5aa485(0x16f)](wfProjectListAction),workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2c2))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1cc))[a2_0x5aa485(0x16f)](wfProjectListAction);const wfWorkflowListAction=async(_0x54556f,_0x37f835)=>{const _0xe00394=a2_0x5aa485,_0x1fa679=new WorkflowWorkflowsCommand(),_0x48459b=program[_0xe00394(0xdc)](),_0x3096dc=await createTDXInstance(_0x48459b),_0x34de7e=await _0x1fa679['run']({'options':{..._0x48459b,..._0x37f835},'args':_0x54556f?[_0x54556f]:[],'tdx':_0x3096dc});process['exit'](_0x34de7e);};workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x237))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x193))[a2_0x5aa485(0x16f)](wfWorkflowListAction);function a2_0x33c3(){const _0x5ce9de=['List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','clone\x20[source]','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','replace','name','Manage\x20workflow\x20project\x20secrets','push\x20[parent_or_file]','-r,\x20--recursive','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','30wEjYLE','--add-behaviors-file\x20<file>','--from-task\x20<task>','Workflow\x20session\x20management','schema\x20<type>','--json','format','commandDescription','--revision\x20<revision>','show\x20<name-or-id>','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','padWidth','information_schema','Preview\x20changes\x20without\x20writing\x20files','--name\x20<name>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a','jobs','option','--behavior\x20[name]','List\x20all\x20available\x20profiles','folders\x20<parent_name>','--invisible','workspaces\x20[pattern]','repeat','-X,\x20--method\x20<method>','tdx','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Workspace\x20description','subcommandTerm','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','--plaintext\x20<text>','--parent-folder\x20<name>','tasks','folder','--limit\x20<rows>','show\x20<name>','statusline','Skip\x20confirmation\x20prompt','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Folder\x20name\x20for\x20organization','Usage:\x20','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--add-attributes-file\x20<file>','proxy','chats','Directory\x20does\x20not\x20exist:\x20','Arguments:','--table\x20<table>','-w,\x20--web','workflows\x20[project]','upload\x20[project-name-or-dir]','job','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','run\x20[name]','Create\x20an\x20email\x20template','command','view\x20[name]','Request\x20body\x20as\x20JSON\x20string','argumentTerm','List\x20jobs','flatMap','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','create\x20<segment_name>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','update\x20<agent-name>','-y,\x20--yes','Campaign\x20name','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','--new','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Make\x20segment\x20invisible\x20(default:\x20visible)','Email\x20subject\x20template','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','api\x20[endpoint]','Revision\x20name\x20(default:\x20timestamp)','help','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','pull\x20[parent_or_file]','Create\x20a\x20new\x20profile\x20interactively','--dry-run','768524JRpaLV','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','createAsync','\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','Campaign\x20description','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','forEach','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Workflow\x20project\x20management','--no-color','--description\x20<desc>','info\x20[segment_name]','User\x20management\x20commands','result\x20<job-id>','--in\x20<database>','-p,\x20--profile\x20<name>','--starter-message\x20<text>','addHelpText','profile','log','Resume\x20a\x20conversation\x20(shows\x20selector)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--session-time\x20<time>','use\x20<project-name>','summary','allowExcessArguments','Parent\x20segment\x20description','push\x20[path]','--include-retried','--folder\x20<name>','us01','Pull\x20child\x20segments\x20to\x20YAML\x20files','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Updated\x20description','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','tables\x20[pattern]','remove\x20<name>','Output\x20file\x20path','commandUsage','LLM\x20agent\x20management','--database\x20<db>','Set\x20a\x20profile\x20configuration\x20value','Set\x20or\x20show\x20parent\x20segment\x20context','users','Resume\x20from\x20specific\x20task','list\x20[pattern]','-o,\x20--output\x20<folder>','join','Preview\x20without\x20creating\x20the\x20project','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','Clear\x20workflow\x20project\x20context','Set\x20session\x20profile','-n,\x20--name\x20<name>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','--output\x20<file>','Skip\x20population\x20counting','LLM\x20project\x20management','--editor-type\x20<type>','--param\x20<key=value>','Filtering\x20rule\x20as\x20JSON\x20string','desc\x20[name]','--catalog\x20<catalog>','kill','99496hgEDDK','--behaviors-file\x20<file>','35JoiJws','Database\x20name\x20(default:\x20information_schema)','Output\x20as\x20JSON\x20Lines','Submit\x20a\x20job',',\x20version\x20','Plaintext\x20template\x20content','length','backup\x20<name>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Include\x20execution\x20statistics','injectIntoOptions','desc','Show\x20only\x20master\x20table\x20validation','workflow','journeys\x20[pattern]','parent-segment','--segment\x20<path>','download\x20<project-name>\x20[output-dir]','Overwrite\x20local\x20changes\x20without\x20confirmation','1997648CMVESf','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','4000','Behaviors\x20as\x20JSON\x20string','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--name\x20<new-name>','agent','Add\x20attributes\x20from\x20JSON\x20file','Override\x20project\x20name','\x20(resolved\x20to\x20','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','7593WqPImy','stats\x20<name-or-path>','table','Customer\x20group\x20from\x20JSON\x20file','json','Parent\x20segment\x20management','isDirectory','Include\x20retried\x20attempts','Workspace\x20management','projects\x20[pattern]','-v,\x20--verbose','--description\x20<text>','Output\x20directory','connections','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','parents\x20[pattern]','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','--start-at\x20<datetime>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','setup','push','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','--json-columns\x20<cols>','auth','Attempt\x20ID','trace','-f,\x20--force','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','--rule\x20<json>','--session\x20<id>','list\x20[project]','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','session','map','restore\x20<folder>','hidden','-o,\x20--output\x20<dir>','Filtering\x20rule\x20from\x20JSON\x20file','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','pause\x20<name-or-path>','List\x20all\x20data\x20connections','System\x20prompt/instructions\x20(default:\x20empty)','110NyPvxx','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--model\x20<name>','registeredArguments','Job\x20management\x20commands','Email\x20template\x20management','Read\x20SQL\x20query\x20from\x20file','kill\x20<job-id>','argument','--attributes\x20<json>','Campaign\x20management','settings\x20<type>','show\x20<agent-name>','Pull\x20workflow\x20project\x20to\x20local\x20folder','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','chdir','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','argv','agents\x20[pattern]','--job-type\x20<type>','Pause\x20a\x20running\x20journey','error','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Delete\x20an\x20email\x20template','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','noColor','requiredOption','--schedule-option\x20<value>','campaign','Create\x20a\x20new\x20campaign','Preview\x20operation\x20without\x20executing','isTTY','create','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','show\x20<folder_ref>','Show\x20stats\x20for\x20specific\x20stage','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','tdx\x20','list','-f,\x20--file\x20<path>','Launch\x20a\x20campaign','\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','show\x20[segment_name]','Export\x20journey(s)\x20as\x20YAML\x20files','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--yes','--database\x20<name>','Attributes\x20from\x20JSON\x20file','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','after','databases\x20[pattern]','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','trino','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','3305844LoLVow','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','database','Show\x20parent\x20segment\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','view\x20[segment_name]','outputHelp','Run\x20Trino\x20query\x20with\x20streaming\x20results','-d,\x20--database\x20<database>','--reason\x20<text>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--agent\x20<ref>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','create\x20<parent_name>\x20<folder_name>','Output\x20file\x20path\x20(default:\x20<name>.yml)','--enriched','--params\x20<json>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','--subject\x20<subject>','--max-depth\x20<depth>','clone\x20[source-dir]','Include\x20subtasks\x20in\x20tasks\x20output','Include\x20retried\x20attempts\x20(for\x20list)','--schedule-type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','-d,\x20--database\x20<name>','opts','stderr','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','delete\x20<args...>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--timezone\x20<tz>','--jsonl','Delete\x20an\x20LLM\x20project','template','-1d','Data\x20connection\x20management\x20(for\x20activations/exports)','use\x20<path>','slice','--delete','Options:','Custom\x20revision\x20name\x20(default:\x20timestamp)','Authentication\x20management','--version','profiles','-o,\x20--output\x20<file>','_hidden','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--llm-project\x20<name>','Task\x20name\x20for\x20logs\x20action','Action:\x20logs,\x20tasks,\x20kill,\x20retry','campaigns\x20[pattern]','Maximum\x20recursion\x20depth\x20(default:\x2010)','Show\x20email\x20template\x20details','--data\x20<data>','--full','538SrVHTs','pull\x20[project]\x20[agent-name]','fields\x20[name]','attempts\x20[project]','create\x20<name>','List\x20agents\x20in\x20current\x20project','project','stdout','--timeout\x20<seconds>','Table\x20management\x20commands','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','HTML\x20template\x20content','Move\x20to\x20folder','argumentDescription','claude\x20[args...]','Starter\x20message','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--name\x20<new_name>','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','sql\x20[segment_name]','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--status\x20<status>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--limit\x20<n>','--behaviors\x20<json>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Master\x20database\x20name','submit\x20[query]','--last','subcommandDescription','Agent\x20description','Pause\x20a\x20campaign','use\x20[name]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','-u,\x20--use','validate\x20[name]','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--customer-group-file\x20<file>','debug','Folder\x20description','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','optionTerm','--in\x20<name>','configureHelp','Updated\x20schedule\x20option','Resume\x20a\x20paused\x20campaign','Skip\x20validation\x20of\x20.dig\x20files','Workspace\x20name','Parent\x20folder\x20name\x20for\x20nested\x20folders','Force\x20retry\x20even\x20if\x20not\x20failed','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','tsv','logs','Update\x20an\x20existing\x20agent','Show\x20journey\x20statistics','pull\x20<project>\x20[target-dir]','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','optionDescription','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','status','[action]','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','launch\x20<name-or-id>','resume\x20<name-or-id>','set','Agent\x20name','--parent-segment\x20<name>','get','Resume\x20a\x20paused\x20journey','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','activations\x20<segment_name>','-H,\x20--header\x20<header>','port','user','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','push\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Show\x20agent\x20details','Delete\x20a\x20workspace','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','colorFn','use\x20<name>','Update\x20a\x20workspace','update\x20<name>','models','Open\x20segment\x20in\x20web\x20browser','--stage\x20<name>','includes','Customer\x20group\x20as\x20JSON\x20string','Setup\x20API\x20key\x20authentication\x20interactively','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--to\x20<timestamp>','Read\x20query\x20from\x20file','Kill\x20a\x20job','INFO','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','New\x20template\x20name','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','--workspace\x20<name>','Segment\x20description','--table','Output\x20as\x20JSON','desc\x20[segment_name]','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Add\x20attributes\x20as\x20JSON\x20string','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','query\x20[sql]','exit','--kind\x20<type>','DEBUG','aliases','Create\x20a\x20workspace','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','action','Agent\x20prompt/instructions','Enable\x20verbose\x20logging','alias','Open\x20parent\x20segment\x20in\x20web\x20browser','[options]\x20--\x20[claude-code-args...]','--port\x20<number>','Update\x20a\x20campaign','parse','Path\x20is\x20not\x20a\x20directory:\x20','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','then','Database\x20to\x20query\x20(default:\x20information_schema)','List\x20all\x20users\x20in\x20the\x20account','Workflow\x20(Digdag)\x20management\x20commands','run','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--project\x20<name>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','INVALID_ARGUMENT','history\x20[chat-id]','filter','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','--type\x20<type>','Change\x20to\x20directory\x20before\x20executing\x20command','List\x20available\x20connector\x20types','Set\x20operation\x20timeout\x20in\x20seconds','buildTime','Update\x20an\x20email\x20template','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','logLevel','set\x20<key=value>','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','list\x20[path]','--include-stats','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','sql\x20[name]','Validate\x20journey\x20YAML\x20files\x20locally','llm','Continue\x20most\x20recent\x20conversation','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Email\x20sender\x20ID\x20for\x20delivery','--system-prompt\x20<text>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','New\x20workspace\x20name','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','apiKey','directory','--rule-file\x20<file>','Limit\x20number\x20of\x20rows','Workflow\x20attempt\x20management','parent','isArray','jsonl','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','1931050zulStj','Delete\x20an\x20agent','Workspace\x20name\x20(required)','Skip\x20confirmation\x20prompts','Output\x20folder\x20(default:\x20{project_name}.llm)','padEnd','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','types','--add-behaviors\x20<json>','usage','push\x20[file]','secrets','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Preview\x20changes\x20without\x20pushing','--tsv','Maximum\x20tool\x20iterations\x20(default:\x204)','Resume\x20from\x20specific\x20task\x20(retry)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Updated\x20timezone','Attributes\x20as\x20JSON\x20string','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--email-sender-id\x20<id>','--master','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','parent_segment','hook','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Show\x20master\x20table\x20sample\x20data','Timezone\x20(e.g.,\x20America/Los_Angeles)','Open\x20journey\x20in\x20web\x20browser','List\x20journeys\x20in\x20current\x20context','Trino\x20catalog\x20(default:\x20td)','Duplicate\x20a\x20campaign','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','segments\x20[path]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Campaign\x20type\x20(email\x20or\x20push)','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','site','Database\x20management\x20commands','claude-4.5-sonnet','update\x20<name-or-id>','description','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','gitRevision','delete\x20<name-or-id>','Pull\x20specific\x20revision\x20(default:\x20latest)','commands','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','-C,\x20--directory\x20<path>','--clear','options','--debug','describe\x20[table]','--attribute\x20[name]','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','view\x20<name-or-path>','Describe\x20table\x20schema','CDP\x20segment\x20management\x20commands','sessions\x20[project]','--skip-validation','Name\x20for\x20the\x20new\x20project\x20(required)','Create\x20segment\x20folder','End\x20time\x20filter\x20(ISO\x208601\x20format)','GET','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','\x20-\x20built\x20','chat\x20[message...]','run\x20[workflow]','--interval\x20<range>','505055VGgOAB','set\x20<args...>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','-r,\x20--resume','sonnet'];a2_0x33c3=function(){return _0x5ce9de;};return a2_0x33c3();}const wfSessionCmd=workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2da))['description'](a2_0x5aa485(0x206)),wfSessionListAction=async(_0x2a15f8,_0x318500)=>{const _0x43a9a4=a2_0x5aa485,_0x1d3b2c=new WorkflowSessionsCommand(),_0x27eb6c=program[_0x43a9a4(0xdc)](),_0xf92cdd=await createTDXInstance(_0x27eb6c),_0x34bbf0=await _0x1d3b2c['run']({'options':{..._0x27eb6c,..._0x318500},'args':_0x2a15f8?[_0x2a15f8]:[],'tdx':_0xf92cdd});process[_0x43a9a4(0x169)](_0x34bbf0);};wfSessionCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2d8))['description'](a2_0x5aa485(0xc1))[a2_0x5aa485(0x215)](a2_0x5aa485(0x110),a2_0x5aa485(0x181))[a2_0x5aa485(0x215)]('--from\x20<timestamp>',a2_0x5aa485(0x24c))['option']('--to\x20<timestamp>',a2_0x5aa485(0x1ed))[a2_0x5aa485(0x16f)](wfSessionListAction),workflowCmd['command'](a2_0x5aa485(0x1e9))['description'](a2_0x5aa485(0x166))[a2_0x5aa485(0x215)]('--status\x20<status>',a2_0x5aa485(0x181))[a2_0x5aa485(0x215)]('--from\x20<timestamp>',a2_0x5aa485(0x24c))[a2_0x5aa485(0x215)](a2_0x5aa485(0x157),a2_0x5aa485(0x1ed))[a2_0x5aa485(0x16f)](wfSessionListAction);const wfAttemptListAction=async(_0x4990ea,_0x50607d)=>{const _0x3cc403=a2_0x5aa485,_0x11f67d=new WorkflowAttemptsCommand(),_0xec33bd=program[_0x3cc403(0xdc)](),_0x5a17bc=await createTDXInstance(_0xec33bd),_0x22e66d=await _0x11f67d[_0x3cc403(0x17e)]({'options':{..._0xec33bd,..._0x50607d},'args':_0x4990ea?[_0x4990ea]:[],'tdx':_0x5a17bc});process['exit'](_0x22e66d);},attemptCmd=workflowCmd[a2_0x5aa485(0x23e)]('attempt')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1a5))[a2_0x5aa485(0x2ec)]('[attempt-id]',a2_0x5aa485(0x2d2))['argument'](a2_0x5aa485(0x138),a2_0x5aa485(0xf5))[a2_0x5aa485(0x2ec)]('[task-name]',a2_0x5aa485(0xf4))[a2_0x5aa485(0x215)]('--include-subtasks',a2_0x5aa485(0xd7))[a2_0x5aa485(0x215)](a2_0x5aa485(0xca),'Reason\x20for\x20killing\x20the\x20attempt')[a2_0x5aa485(0x215)]('--resume-from\x20<task>',a2_0x5aa485(0x1ba))[a2_0x5aa485(0x215)](a2_0x5aa485(0xd1),a2_0x5aa485(0x15b))[a2_0x5aa485(0x215)]('--force',a2_0x5aa485(0x12d))[a2_0x5aa485(0x215)](a2_0x5aa485(0x275),a2_0x5aa485(0xd8))[a2_0x5aa485(0x16f)](async(_0x1e5ed5,_0xe85bde,_0x1d3555,_0x1c8496)=>{const _0x557ac0=a2_0x5aa485;if(_0x1e5ed5===_0x557ac0(0x30d)){await wfAttemptListAction(_0xe85bde,_0x1c8496);return;}if(!_0x1e5ed5){attemptCmd['help']();return;}const _0x577076=program[_0x557ac0(0xdc)](),_0xe1d211=await createTDXInstance(_0x577076);let _0x2d0db4=0x0;if(!_0xe85bde){const _0x24f485=new WorkflowAttemptCommand();_0x2d0db4=await _0x24f485[_0x557ac0(0x17e)]({'options':{..._0x577076,..._0x1c8496},'args':[_0x1e5ed5],'tdx':_0xe1d211});}else{if(_0xe85bde===_0x557ac0(0x130)){const _0x1dc09b=new WorkflowLogsCommand();_0x2d0db4=await _0x1dc09b[_0x557ac0(0x17e)]({'options':{..._0x577076,..._0x1c8496},'args':_0x1d3555?[_0x1e5ed5,_0x1d3555]:[_0x1e5ed5],'tdx':_0xe1d211});}else{if(_0xe85bde===_0x557ac0(0x225)){const _0x382c57=new WorkflowTasksCommand();_0x2d0db4=await _0x382c57[_0x557ac0(0x17e)]({'options':{..._0x577076,..._0x1c8496},'args':[_0x1e5ed5],'tdx':_0xe1d211});}else{if(_0xe85bde===_0x557ac0(0x297)){const _0x49d6a9=new WorkflowKillCommand();_0x2d0db4=await _0x49d6a9['run']({'options':{..._0x577076,..._0x1c8496},'args':[_0x1e5ed5],'tdx':_0xe1d211});}else{if(_0xe85bde==='retry'){const _0x4ad77f=new WorkflowRetryCommand();_0x2d0db4=await _0x4ad77f['run']({'options':{..._0x577076,..._0x1c8496},'args':['attempt:'+_0x1e5ed5],'tdx':_0xe1d211});}else console[_0x557ac0(0x2f9)]('Unknown\x20action:\x20'+_0xe85bde),console[_0x557ac0(0x2f9)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x2d0db4=0x1;}}}}process[_0x557ac0(0x169)](_0x2d0db4);});attemptCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2d8))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x259))['option'](a2_0x5aa485(0x275),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0xfe))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x186))['option'](a2_0x5aa485(0x275),a2_0x5aa485(0x2c0))[a2_0x5aa485(0x16f)](wfAttemptListAction),workflowCmd['command']('retry\x20<session-id>')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1b0))[a2_0x5aa485(0x215)](a2_0x5aa485(0x205),a2_0x5aa485(0x285))[a2_0x5aa485(0x215)](a2_0x5aa485(0xd1),a2_0x5aa485(0x179))['action'](async(_0x980e40,_0x155e81)=>{const _0x512818=a2_0x5aa485,_0x402ea3=new WorkflowRetryCommand(),_0x2e2a6f=program[_0x512818(0xdc)](),_0x22f301=await createTDXInstance(_0x2e2a6f),_0x16a4b2=await _0x402ea3[_0x512818(0x17e)]({'options':{..._0x2e2a6f,..._0x155e81},'args':[_0x980e40],'tdx':_0x22f301});process[_0x512818(0x169)](_0x16a4b2);}),workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1f3))['description'](a2_0x5aa485(0x15e))[a2_0x5aa485(0x215)](a2_0x5aa485(0x293),'Workflow\x20parameter\x20(repeatable)',(_0x1dd4dc,_0x373287=[])=>[..._0x373287,_0x1dd4dc],[])[a2_0x5aa485(0x215)](a2_0x5aa485(0x26f),a2_0x5aa485(0x185))['action'](async(_0x4f4f7c,_0x1a0d63)=>{const _0x1261c0=a2_0x5aa485,_0x25fa6e=new WorkflowRunCommand(),_0x1df1c1=program['opts'](),_0x2f8c7f=await createTDXInstance(_0x1df1c1),_0x444263=await _0x25fa6e[_0x1261c0(0x17e)]({'options':{..._0x1df1c1,..._0x1a0d63},'args':_0x4f4f7c?[_0x4f4f7c]:[],'tdx':_0x2f8c7f});process[_0x1261c0(0x169)](_0x444263);}),workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2ab))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x244))[a2_0x5aa485(0x215)](a2_0x5aa485(0x20b),a2_0x5aa485(0x1be))[a2_0x5aa485(0x16f)](async(_0x31abb4,_0x5a1855,_0xbd76a6)=>{const _0x571206=a2_0x5aa485,_0x16e0b4=new WorkflowDownloadCommand(),_0x54689c=program['opts'](),_0x18871b=await createTDXInstance(_0x54689c),_0x46cb3c=await _0x16e0b4[_0x571206(0x17e)]({'options':{..._0x54689c,..._0xbd76a6},'args':[_0x31abb4,_0x5a1855||'.'],'tdx':_0x18871b});process['exit'](_0x46cb3c);}),workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x133))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2f1))[a2_0x5aa485(0x215)](a2_0x5aa485(0x20b),a2_0x5aa485(0x1dc))[a2_0x5aa485(0x215)](a2_0x5aa485(0x257),a2_0x5aa485(0x210))[a2_0x5aa485(0x215)](a2_0x5aa485(0x248),a2_0x5aa485(0x22a))[a2_0x5aa485(0x16f)](async(_0x8d5d2a,_0x1c65b5,_0x44c449)=>{const _0x4a83b3=a2_0x5aa485,_0x3e6a7f=new WorkflowPullCommand(),_0x4b2862=program[_0x4a83b3(0xdc)](),_0x3e13ab=await createTDXInstance(_0x4b2862),_0x515eb1=await _0x3e6a7f[_0x4a83b3(0x17e)]({'options':{..._0x4b2862,..._0x44c449},'args':_0x1c65b5?[_0x8d5d2a,_0x1c65b5]:[_0x8d5d2a],'tdx':_0x3e13ab});process[_0x4a83b3(0x169)](_0x515eb1);}),workflowCmd[a2_0x5aa485(0x23e)]('push\x20[source-dir]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xd3))['option'](a2_0x5aa485(0x20b),a2_0x5aa485(0xec))[a2_0x5aa485(0x215)](a2_0x5aa485(0x257),a2_0x5aa485(0x1b7))['option'](a2_0x5aa485(0x1ea),a2_0x5aa485(0x12a))['option'](a2_0x5aa485(0x248),a2_0x5aa485(0x22a))[a2_0x5aa485(0x16f)](async(_0x59047f,_0x4aad0e)=>{const _0x529086=a2_0x5aa485,_0x4fbe6f=new WorkflowPushCommand(),_0x57a99c=program['opts'](),_0x5738b9=await createTDXInstance(_0x57a99c),_0x2ca5b1=await _0x4fbe6f[_0x529086(0x17e)]({'options':{..._0x57a99c,..._0x4aad0e},'args':_0x59047f?[_0x59047f]:[],'tdx':_0x5738b9});process['exit'](_0x2ca5b1);}),workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x238))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x10f))[a2_0x5aa485(0x215)](a2_0x5aa485(0x211),a2_0x5aa485(0x2b6))[a2_0x5aa485(0x215)](a2_0x5aa485(0x20b),a2_0x5aa485(0x252))[a2_0x5aa485(0x215)](a2_0x5aa485(0x1ea),a2_0x5aa485(0x12a))[a2_0x5aa485(0x16f)](async(_0x52bf2a,_0x5ed1b3)=>{const _0x1b883c=a2_0x5aa485,_0xe9b118=new WorkflowUploadCommand(),_0x2b17cc=program[_0x1b883c(0xdc)](),_0x3d9217=await createTDXInstance(_0x2b17cc),_0xa0577f=await _0xe9b118[_0x1b883c(0x17e)]({'options':{..._0x2b17cc,..._0x5ed1b3},'args':_0x52bf2a?[_0x52bf2a]:[],'tdx':_0x3d9217});process[_0x1b883c(0x169)](_0xa0577f);}),workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0xd6))[a2_0x5aa485(0x1d8)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')['option'](a2_0x5aa485(0x211),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x20b),'Custom\x20revision\x20name\x20(default:\x20timestamp)')['option']('--dry-run',a2_0x5aa485(0x289))['option'](a2_0x5aa485(0x1ea),a2_0x5aa485(0x12a))['option'](a2_0x5aa485(0x248),a2_0x5aa485(0x22a))[a2_0x5aa485(0x16f)](async(_0x530807,_0x29f38e)=>{const _0x6d008b=a2_0x5aa485,_0x8c84b8=new WorkflowCloneCommand(),_0x5cf026=program[_0x6d008b(0xdc)](),_0x394b12=await createTDXInstance(_0x5cf026),_0x12ba29=await _0x8c84b8[_0x6d008b(0x17e)]({'options':{..._0x5cf026,..._0x29f38e},'args':_0x530807?[_0x530807]:[],'tdx':_0x394b12});process[_0x6d008b(0x169)](_0x12ba29);}),workflowCmd[a2_0x5aa485(0x23e)]('delete\x20<project-name-or-id>')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x22b))[a2_0x5aa485(0x16f)](async(_0x4e2192,_0x5a3fee)=>{const _0x5afcb1=a2_0x5aa485,_0x37d9d2=new WorkflowDeleteCommand(),_0xecc06f=program['opts'](),_0x1b84bd=await createTDXInstance(_0xecc06f),_0x34bbae=await _0x37d9d2[_0x5afcb1(0x17e)]({'options':{..._0xecc06f,..._0x5a3fee},'args':[_0x4e2192],'tdx':_0x1b84bd});process[_0x5afcb1(0x169)](_0x34bbae);}),workflowCmd[a2_0x5aa485(0x23e)]('use\x20[project]')[a2_0x5aa485(0x1d8)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x5aa485(0x215)](a2_0x5aa485(0x1e0),a2_0x5aa485(0x28b))['action'](async(_0x3a2b06,_0x1ef19d)=>{const _0x25a89=a2_0x5aa485,_0x65b648=new WorkflowUseCommand(),_0x2d268e=program[_0x25a89(0xdc)](),_0x16dfaf=await createTDXInstance(_0x2d268e),_0x4d63ef=await _0x65b648[_0x25a89(0x17e)]({'options':{..._0x2d268e,..._0x1ef19d},'args':_0x3a2b06?[_0x3a2b06]:[],'tdx':_0x16dfaf});process[_0x25a89(0x169)](_0x4d63ef);});const wfSecretsCmd=workflowCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1b5))['description'](a2_0x5aa485(0x1ff));wfSecretsCmd['command'](a2_0x5aa485(0x2d8))[a2_0x5aa485(0x1d8)]('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0x5aa485(0x16f)](async(_0x2dca6e,_0x3ca566)=>{const _0x69953b=a2_0x5aa485,_0x23d4b2=new WorkflowSecretsListCommand(),_0x19e97f=program['opts'](),_0x2ef95b=await createTDXInstance(_0x19e97f),_0x20e8c8=await _0x23d4b2[_0x69953b(0x17e)]({'options':{..._0x19e97f,..._0x3ca566},'args':_0x2dca6e?[_0x2dca6e]:[],'tdx':_0x2ef95b});process[_0x69953b(0x169)](_0x20e8c8);}),wfSecretsCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1f6))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2cf))[a2_0x5aa485(0x16f)](async(_0xa804e0,_0x4afe33)=>{const _0xd6f7c3=a2_0x5aa485,_0xc86cb2=new WorkflowSecretsSetCommand(),_0x45cd17=program['opts'](),_0x4d2146=await createTDXInstance(_0x45cd17),_0x52361a=await _0xc86cb2[_0xd6f7c3(0x17e)]({'options':{..._0x45cd17,..._0x4afe33},'args':_0xa804e0,'tdx':_0x4d2146});process[_0xd6f7c3(0x169)](_0x52361a);}),wfSecretsCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0xdf))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x141))[a2_0x5aa485(0x215)](a2_0x5aa485(0x248),a2_0x5aa485(0x22a))[a2_0x5aa485(0x16f)](async(_0x45f399,_0x1bc6c1)=>{const _0x5e916e=a2_0x5aa485,_0x4d1d25=new WorkflowSecretsDeleteCommand(),_0x2b192b=program[_0x5e916e(0xdc)](),_0x27c9e1=await createTDXInstance(_0x2b192b),_0x1fc571=await _0x4d1d25[_0x5e916e(0x17e)]({'options':{..._0x2b192b,..._0x1bc6c1},'args':_0x45f399,'tdx':_0x27c9e1});process['exit'](_0x1fc571);});const jobCmd=program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x239))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2e8)),jobListAction=async _0x3131e7=>{const _0xfa516a=a2_0x5aa485,_0x4ad0c4=new JobListCommand(),_0x2bfe57=program['opts'](),_0x46ec62=await createTDXInstance(_0x2bfe57),_0x472619=await _0x4ad0c4[_0xfa516a(0x17e)]({'options':{..._0x2bfe57,..._0x3131e7},'args':[],'tdx':_0x46ec62});process[_0xfa516a(0x169)](_0x472619);};jobCmd['command'](a2_0x5aa485(0x30d))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x242))[a2_0x5aa485(0x215)](a2_0x5aa485(0x110),a2_0x5aa485(0x25d))['action'](jobListAction),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x214),{'hidden':!![]})[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1a9))[a2_0x5aa485(0x215)](a2_0x5aa485(0x110),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),jobCmd[a2_0x5aa485(0x23e)]('show\x20<job-id>')[a2_0x5aa485(0x1d8)]('Show\x20job\x20details')['action'](async(_0x1fc54c,_0x51beb6)=>{const _0x2e1f75=a2_0x5aa485,_0x2bd2da=new JobShowCommand(),_0x2dd42e=program[_0x2e1f75(0xdc)](),_0x5738b5=await createTDXInstance(_0x2dd42e),_0xc86463=await _0x2bd2da[_0x2e1f75(0x17e)]({'options':{..._0x2dd42e,..._0x51beb6},'args':[_0x1fc54c],'tdx':_0x5738b5});process['exit'](_0xc86463);}),jobCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2eb))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x159))[a2_0x5aa485(0x16f)](async(_0x14b1ca,_0x3db130)=>{const _0x1da400=a2_0x5aa485,_0x123e13=new JobKillCommand(),_0x1db89f=program[_0x1da400(0xdc)](),_0xfc3015=await createTDXInstance(_0x1db89f),_0x5da918=await _0x123e13[_0x1da400(0x17e)]({'options':{..._0x1db89f,..._0x3db130},'args':[_0x14b1ca],'tdx':_0xfc3015});process[_0x1da400(0x169)](_0x5da918);}),jobCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x116))['description'](a2_0x5aa485(0x29d))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2f7),a2_0x5aa485(0x2cb),a2_0x5aa485(0xc0))['option'](a2_0x5aa485(0xb2),a2_0x5aa485(0x158))[a2_0x5aa485(0x215)](a2_0x5aa485(0xba),a2_0x5aa485(0x29b),a2_0x5aa485(0x20f))[a2_0x5aa485(0x16f)](async(_0x4dc04a,_0x44486f)=>{const _0x5a1ab3=a2_0x5aa485,_0x38db85=new JobSubmitCommand(),_0x1c7059=program[_0x5a1ab3(0xdc)](),_0x393634=await createTDXInstance(_0x1c7059),_0xc952a4=await _0x38db85[_0x5a1ab3(0x17e)]({'options':{..._0x1c7059,..._0x44486f},'args':_0x4dc04a?[_0x4dc04a]:[],'tdx':_0x393634});process['exit'](_0xc952a4);}),jobCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x266))[a2_0x5aa485(0x1d8)]('Get\x20job\x20results')['action'](async(_0x3ebb8e,_0x111c7e)=>{const _0x263703=a2_0x5aa485,_0x225dbe=new JobResultCommand(),_0x2ee1aa=program[_0x263703(0xdc)](),_0x16034c=await createTDXInstance(_0x2ee1aa),_0x15fac8=await _0x225dbe[_0x263703(0x17e)]({'options':{..._0x2ee1aa,..._0x111c7e},'args':[_0x3ebb8e],'tdx':_0x16034c});process['exit'](_0x15fac8);});const llmCmd=program['command'](a2_0x5aa485(0x199))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1d1));llmCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x270))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x22c))['action'](async(_0x19fc63,_0x56d99b)=>{const _0x4f8acc=a2_0x5aa485,_0x38b5d0=new LLMUseCommand(),_0x11d8fc=program['opts'](),_0x4808d0=await createTDXInstance(_0x11d8fc),_0x34ca47=await _0x38b5d0[_0x4f8acc(0x17e)]({'options':{..._0x11d8fc,..._0x56d99b},'args':[_0x19fc63],'tdx':_0x4808d0});process[_0x4f8acc(0x169)](_0x34ca47);}),llmCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x150))[a2_0x5aa485(0x1d8)]('List\x20available\x20LLM\x20models')[a2_0x5aa485(0x16f)](async _0x1236e5=>{const _0x4635c3=a2_0x5aa485,_0x29ea78=new LLMModelsCommand(),_0x2d4326=program['opts'](),_0x2df762=await createTDXInstance(_0x2d4326),_0x28c1fa=await _0x29ea78[_0x4635c3(0x17e)]({'options':{..._0x2d4326,..._0x1236e5},'args':[],'tdx':_0x2df762});process['exit'](_0x28c1fa);});const projectCmd=llmCmd['command'](a2_0x5aa485(0x101))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x291)),llmProjectListAction=async(_0x261c5c,_0x359b25)=>{const _0x242967=a2_0x5aa485,_0x449dff=new LLMProjectsCommand(),_0x11a49e=program[_0x242967(0xdc)](),_0x5814ce=await createTDXInstance(_0x11a49e),_0x3e4f0e=await _0x449dff[_0x242967(0x17e)]({'options':{..._0x11a49e,..._0x359b25},'args':_0x261c5c?[_0x261c5c]:[],'tdx':_0x5814ce});process[_0x242967(0x169)](_0x3e4f0e);};projectCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x286))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x146))[a2_0x5aa485(0x16f)](llmProjectListAction),llmCmd['command'](a2_0x5aa485(0x2c2))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2fa))[a2_0x5aa485(0x16f)](llmProjectListAction),projectCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0xff))[a2_0x5aa485(0x1d8)]('Create\x20a\x20new\x20LLM\x20project')[a2_0x5aa485(0x215)]('--description\x20<text>','Project\x20description')[a2_0x5aa485(0x16f)](async(_0x5d485e,_0x5b4a1a)=>{const _0x80b1c4=a2_0x5aa485,_0xeceb6f=new LLMProjectCreateCommand(),_0x33e1b7=program[_0x80b1c4(0xdc)](),_0x260905=await createTDXInstance(_0x33e1b7),_0xb07ebc=await _0xeceb6f[_0x80b1c4(0x17e)]({'options':{..._0x33e1b7,..._0x5b4a1a},'args':[_0x5d485e],'tdx':_0x260905});process[_0x80b1c4(0x169)](_0xb07ebc);}),projectCmd[a2_0x5aa485(0x23e)]('delete\x20<name>')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xe4))[a2_0x5aa485(0x16f)](async(_0x2a8dbf,_0x47d7a7)=>{const _0x592cd4=a2_0x5aa485,_0x47fbb6=new LLMProjectDeleteCommand(),_0x40c8cb=program[_0x592cd4(0xdc)](),_0x46bcdd=await createTDXInstance(_0x40c8cb),_0x21e59f=await _0x47fbb6[_0x592cd4(0x17e)]({'options':{..._0x40c8cb,..._0x47d7a7},'args':[_0x2a8dbf],'tdx':_0x46bcdd});process['exit'](_0x21e59f);}),projectCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2a1))[a2_0x5aa485(0x1d8)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x287),a2_0x5aa485(0x1ae))['option'](a2_0x5aa485(0x257),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')['action'](async(_0x22515d,_0x1ea81f)=>{const _0x571d7a=a2_0x5aa485,_0x19fe3a=new LLMProjectBackupCommand(),_0x1714c2=program[_0x571d7a(0xdc)](),_0x5f4f02=await createTDXInstance(_0x1714c2),_0x2f9c40=await _0x19fe3a[_0x571d7a(0x17e)]({'options':{..._0x1714c2,..._0x1ea81f},'args':[_0x22515d],'tdx':_0x5f4f02});process[_0x571d7a(0x169)](_0x2f9c40);}),projectCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2dc))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2fe))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2b3),a2_0x5aa485(0x17f))['option'](a2_0x5aa485(0x257),a2_0x5aa485(0x187))[a2_0x5aa485(0x16f)](async(_0x2a5366,_0x1571a9)=>{const _0x14ec8c=a2_0x5aa485,_0x19abde=new LLMProjectRestoreCommand(),_0x55322a=program[_0x14ec8c(0xdc)](),_0x397fc3=await createTDXInstance(_0x55322a),_0x376532=await _0x19abde['run']({'options':{..._0x55322a,..._0x1571a9},'args':[_0x2a5366],'tdx':_0x397fc3});process['exit'](_0x376532);});const llmAgentListAction=async(_0x473c89,_0x6d17a9)=>{const _0x4951bc=a2_0x5aa485,_0x4a7d38=new LLMAgentsCommand(),_0x1f99d5=program[_0x4951bc(0xdc)](),_0x2f9db1=await createTDXInstance(_0x1f99d5),_0xe2ee7a=await _0x4a7d38[_0x4951bc(0x17e)]({'options':{..._0x1f99d5,..._0x6d17a9},'args':_0x473c89?[_0x473c89]:[],'tdx':_0x2f9db1});process['exit'](_0xe2ee7a);};llmCmd['command'](a2_0x5aa485(0x2f6))['description'](a2_0x5aa485(0x26e))[a2_0x5aa485(0x16f)](llmAgentListAction),program[a2_0x5aa485(0x23e)]('agents\x20[pattern]')['description'](a2_0x5aa485(0x26e))[a2_0x5aa485(0x16f)](llmAgentListAction),llmCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x183))['description']('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x117),a2_0x5aa485(0x2d9))[a2_0x5aa485(0x16f)](async(_0x3e751a,_0x3e9235)=>{const _0x4f6718=a2_0x5aa485,_0x5b3dcd=new LLMHistoryCommand(),_0x1def16=program[_0x4f6718(0xdc)](),_0x2b37df=await createTDXInstance(_0x1def16),_0x5b94e7=await _0x5b3dcd['run']({'options':{..._0x1def16,..._0x3e9235},'args':_0x3e751a?[_0x3e751a]:[],'tdx':_0x2b37df});process[_0x4f6718(0x169)](_0x5b94e7);}),llmCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x231))[a2_0x5aa485(0x1d8)]('[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)')['option'](a2_0x5aa485(0x175),a2_0x5aa485(0x2c9),a2_0x5aa485(0x2af))[a2_0x5aa485(0x215)](a2_0x5aa485(0x180),a2_0x5aa485(0x222))[a2_0x5aa485(0x215)]('--agent\x20<name>',a2_0x5aa485(0x28a))[a2_0x5aa485(0x16f)](async _0x54aad=>{const _0xad124c=a2_0x5aa485,_0x217ea0=new LLMProxyCommand(),_0x39f75c=program[_0xad124c(0xdc)](),_0x2248be=await createTDXInstance(_0x39f75c),_0x1b4fa9={..._0x54aad,'port':_0x54aad[_0xad124c(0x144)]?parseInt(_0x54aad['port'],0xa):undefined},_0x39ded6=await _0x217ea0['run']({'options':{..._0x39f75c,..._0x1b4fa9},'args':[],'tdx':_0x2248be});process[_0xad124c(0x169)](_0x39ded6);}),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x109))[a2_0x5aa485(0x1b3)](a2_0x5aa485(0x174))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1bb))['option'](a2_0x5aa485(0x2e6),'Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)',a2_0x5aa485(0x1f9))[a2_0x5aa485(0x215)]('-c,\x20--continue',a2_0x5aa485(0x19a))['option'](a2_0x5aa485(0x1f8),a2_0x5aa485(0x26d))[a2_0x5aa485(0x215)]('--no-proxy',a2_0x5aa485(0x192))['allowUnknownOption']()[a2_0x5aa485(0x272)](!![])[a2_0x5aa485(0x26a)](a2_0x5aa485(0xbd),a2_0x5aa485(0xbf))[a2_0x5aa485(0x16f)](async(_0x4b14f7,_0x19f788)=>{const _0x34ce23=a2_0x5aa485,_0x4dc18d=program['opts'](),_0x47ce33=Array[_0x34ce23(0x1a7)](_0x4b14f7)?_0x4b14f7:[];if(_0x47ce33[0x0]===_0x34ce23(0x229)){const _0x7e139c=new ClaudeStatuslineCommand(),_0x4991d5=await _0x7e139c[_0x34ce23(0x17e)]({'options':{..._0x4dc18d,..._0x19f788},'args':_0x47ce33[_0x34ce23(0xe9)](0x1),'tdx':null});process[_0x34ce23(0x169)](_0x4991d5);}if(_0x47ce33[0x0]==='usage'){const _0x183a99=new ClaudeUsageCommand(),_0x4edf75=await _0x183a99[_0x34ce23(0x17e)]({'options':{..._0x4dc18d,..._0x19f788},'args':_0x47ce33[_0x34ce23(0xe9)](0x1),'tdx':null});process[_0x34ce23(0x169)](_0x4edf75);}const _0x2d87a7=new ClaudeCommand(),_0x4f28ce=await createTDXInstance(_0x4dc18d),_0x104231=await _0x2d87a7[_0x34ce23(0x17e)]({'options':{..._0x4dc18d,..._0x19f788},'args':_0x47ce33,'tdx':_0x4f28ce});process['exit'](_0x104231);}),program[a2_0x5aa485(0x23e)]('use\x20[resource]\x20[value]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xd2))['option'](a2_0x5aa485(0x1e0),'Clear\x20session\x20context')[a2_0x5aa485(0x16f)](async(_0x4e0e53,_0x190b78,_0x24dbf7)=>{const _0x70ffbd=a2_0x5aa485,_0x4a5f32=new UseCommand(),_0xee1fff=program[_0x70ffbd(0xdc)](),_0x4cf689=[];if(_0x4e0e53)_0x4cf689['push'](_0x4e0e53);if(_0x190b78)_0x4cf689[_0x70ffbd(0x2ce)](_0x190b78);const _0x36e098=await _0x4a5f32['run']({'options':{..._0xee1fff,..._0x24dbf7},'args':_0x4cf689,'tdx':null});process[_0x70ffbd(0x169)](_0x36e098);}),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x232))[a2_0x5aa485(0x1d8)]('Interactive\x20chat\x20selector')[a2_0x5aa485(0x215)](a2_0x5aa485(0x117),'Show\x20the\x20most\x20recent\x20chat')[a2_0x5aa485(0x16f)](async _0x294854=>{const _0x59be09=a2_0x5aa485,_0x376e67=new ChatsCommand(),_0x16a4ca=program['opts'](),_0x4ad72f=await createTDXInstance(_0x16a4ca),_0x238e81=await _0x376e67[_0x59be09(0x17e)]({'options':{..._0x16a4ca,..._0x294854},'args':[],'tdx':_0x4ad72f});process[_0x59be09(0x169)](_0x238e81);});const authCmd=program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2d1))['description'](a2_0x5aa485(0xed));async function runAuthStatusCommand(_0x1e48d0){const _0x31dc65=a2_0x5aa485,_0x525259=new AuthStatusCommand(),_0x2cca95=program['opts'](),_0xab3b54=await createTDXInstance(_0x2cca95),_0x4ee52d=await _0x525259['run']({'options':{..._0x2cca95,..._0x1e48d0},'args':[],'tdx':_0xab3b54});process[_0x31dc65(0x169)](_0x4ee52d);}authCmd[a2_0x5aa485(0x16f)](runAuthStatusCommand),authCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x137))['description'](a2_0x5aa485(0x2b1))['action'](runAuthStatusCommand),authCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2cd))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x155))[a2_0x5aa485(0x26a)]('after',a2_0x5aa485(0x25b))[a2_0x5aa485(0x16f)](async _0x4e6128=>{const _0x25476b=a2_0x5aa485,_0x168408=new AuthSetupCommand(),_0x354e91=program[_0x25476b(0xdc)](),_0x206fd6=await createTDXInstance(_0x354e91),_0x38de79=await _0x168408[_0x25476b(0x17e)]({'options':{..._0x354e91,..._0x4e6128},'args':[],'tdx':_0x206fd6});process[_0x25476b(0x169)](_0x38de79);}),authCmd[a2_0x5aa485(0x23e)]('clear')[a2_0x5aa485(0x1d8)]('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x5aa485(0xbd),'\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_0x5aa485(0x16f)](async _0x24c78f=>{const _0x561d71=a2_0x5aa485,_0x5a6f36=new AuthClearCommand(),_0x2bbe83=program[_0x561d71(0xdc)](),_0x49f924=await _0x5a6f36['run']({'options':{..._0x2bbe83,..._0x24c78f},'args':[],'tdx':null});process[_0x561d71(0x169)](_0x49f924);});const userCmd=program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x145))['description'](a2_0x5aa485(0x265)),userListAction=async _0xc94cd2=>{const _0x2b5543=a2_0x5aa485,_0x267dd0=new UserListCommand(),_0x31ba9a=program['opts'](),_0x5f2525=await createTDXInstance(_0x31ba9a),_0x30e335=await _0x267dd0[_0x2b5543(0x17e)]({'options':{..._0x31ba9a,..._0xc94cd2},'args':[],'tdx':_0x5f2525});process[_0x2b5543(0x169)](_0x30e335);};userCmd[a2_0x5aa485(0x16f)](async _0xae9286=>{const _0x57cb7d=a2_0x5aa485,_0x2fb26e=new UserCommand(),_0x1e381e=program[_0x57cb7d(0xdc)](),_0x1ae845=await createTDXInstance(_0x1e381e),_0x5f0ce7=await _0x2fb26e[_0x57cb7d(0x17e)]({'options':{..._0x1e381e,..._0xae9286},'args':[],'tdx':_0x1ae845});process[_0x57cb7d(0x169)](_0x5f0ce7);}),userCmd['command'](a2_0x5aa485(0x30d))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x17c))[a2_0x5aa485(0x16f)](userListAction),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x284))[a2_0x5aa485(0x1d8)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x5aa485(0x16f)](userListAction),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0xef))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x217))['action'](async _0x1e0400=>{const _0x406d13=a2_0x5aa485,_0x75a004=new ProfilesCommand(),_0x11fb2f=program['opts'](),_0x343609=await _0x75a004[_0x406d13(0x17e)]({'options':{..._0x11fb2f,..._0x1e0400},'args':[],'tdx':null});process[_0x406d13(0x169)](_0x343609);});const profileCmd=program['command'](a2_0x5aa485(0x26b))['description'](a2_0x5aa485(0xde));profileCmd[a2_0x5aa485(0x16f)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x40c023=>{const _0x377d32=a2_0x5aa485,_0xde2c36=new ProfilesCommand(),_0x352e76=program['opts'](),_0x36424e=await _0xde2c36[_0x377d32(0x17e)]({'options':{..._0x352e76,..._0x40c023},'args':[],'tdx':null});process['exit'](_0x36424e);};profileCmd['command'](a2_0x5aa485(0x30d))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x217))[a2_0x5aa485(0x16f)](profileListAction),profileCmd[a2_0x5aa485(0x23e)]('create')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x256))[a2_0x5aa485(0x26a)](a2_0x5aa485(0xbd),a2_0x5aa485(0x1cf))[a2_0x5aa485(0x16f)](async _0x328228=>{const _0x3e973d=a2_0x5aa485,_0x2e6b08=new ProfileCreateCommand(),_0x27cd38=program[_0x3e973d(0xdc)](),_0x5e3125=await _0x2e6b08[_0x3e973d(0x17e)]({'options':{..._0x27cd38,..._0x328228},'args':[],'tdx':null});process[_0x3e973d(0x169)](_0x5e3125);}),profileCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x27d))[a2_0x5aa485(0x1d8)]('Remove\x20a\x20profile')['addHelpText'](a2_0x5aa485(0xbd),a2_0x5aa485(0x1d0))[a2_0x5aa485(0x16f)](async(_0x3ba846,_0x182ef5)=>{const _0x2d14d3=a2_0x5aa485,_0x2a8f17=new ProfileRemoveCommand(),_0x5db4a1=program['opts'](),_0x565514=await _0x2a8f17['run']({'options':{..._0x5db4a1,..._0x182ef5},'args':[_0x3ba846],'tdx':null});process[_0x2d14d3(0x169)](_0x565514);}),profileCmd['command'](a2_0x5aa485(0x191))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x282))[a2_0x5aa485(0x26a)](a2_0x5aa485(0xbd),'\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')[a2_0x5aa485(0x16f)](async(_0x1e7ec9,_0x5f12a9)=>{const _0x2f6e82=a2_0x5aa485,_0x22254f=new ProfileSetCommand(),_0x19c382=program[_0x2f6e82(0xdc)](),_0x353be4=await _0x22254f['run']({'options':{..._0x19c382,..._0x5f12a9},'args':[_0x1e7ec9],'tdx':null});process['exit'](_0x353be4);}),profileCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x14d))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x28c))[a2_0x5aa485(0x26a)](a2_0x5aa485(0xbd),a2_0x5aa485(0x213))[a2_0x5aa485(0x16f)](async(_0xeef777,_0x13cef7)=>{const _0x556262=a2_0x5aa485,_0x886c65=new ProfileUseCommand(),_0x24fdbf=program[_0x556262(0xdc)](),_0x2d0ef9=await _0x886c65[_0x556262(0x17e)]({'options':{..._0x24fdbf,..._0x13cef7},'args':[_0xeef777],'tdx':null});process[_0x556262(0x169)](_0x2d0ef9);});const engageCmd=program['command']('engage')['description'](a2_0x5aa485(0x19b)),createEngageAction=_0xb58105=>{return async(_0x1fdc56,_0x32e976)=>{const _0x28bed5=a2_0x43e9,_0x35b19d=new _0xb58105(),_0xae6d04=program['opts'](),_0x2e4203=await createTDXInstance(_0xae6d04),_0x529cc5=await _0x35b19d[_0x28bed5(0x17e)]({'options':{..._0xae6d04,..._0x32e976},'args':[_0x1fdc56],'tdx':_0x2e4203});process[_0x28bed5(0x169)](_0x529cc5);};},createEngageNoArgAction=_0x676c04=>{return async _0x561a82=>{const _0x34d577=a2_0x43e9,_0x46d4e1=new _0x676c04(),_0x35f21b=program[_0x34d577(0xdc)](),_0x178071=await createTDXInstance(_0x35f21b),_0x131620=await _0x46d4e1[_0x34d577(0x17e)]({'options':{..._0x35f21b,..._0x561a82},'args':[],'tdx':_0x178071});process[_0x34d577(0x169)](_0x131620);};},campaignCmd=engageCmd['command'](a2_0x5aa485(0x302))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2ee)),campaignListAction=async(_0x235f14,_0x31004e)=>{const _0x227739=a2_0x5aa485,_0x1c4a13=new EngageCampaignsCommand(),_0x119c12=program['opts'](),_0x159072=await createTDXInstance(_0x119c12),_0xa5992e=await _0x1c4a13[_0x227739(0x17e)]({'options':{..._0x119c12,..._0x31004e},'args':_0x235f14?[_0x235f14]:[],'tdx':_0x159072});process[_0x227739(0x169)](_0xa5992e);};campaignCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x286))[a2_0x5aa485(0x1d8)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x188),a2_0x5aa485(0xda))['option']('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option'](a2_0x5aa485(0x15f),a2_0x5aa485(0x12b))['action'](campaignListAction),engageCmd['command'](a2_0x5aa485(0xf6))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xcd))[a2_0x5aa485(0x215)](a2_0x5aa485(0x188),a2_0x5aa485(0xda))[a2_0x5aa485(0x215)](a2_0x5aa485(0x110),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),a2_0x5aa485(0x12b))['action'](campaignListAction),campaignCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x20c))[a2_0x5aa485(0x1d8)]('Show\x20campaign\x20details')[a2_0x5aa485(0x215)]('--workspace\x20<name>',a2_0x5aa485(0x12b))[a2_0x5aa485(0x215)]('--full',a2_0x5aa485(0x260))[a2_0x5aa485(0x16f)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x306))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x303))[a2_0x5aa485(0x300)](a2_0x5aa485(0x211),a2_0x5aa485(0x249))[a2_0x5aa485(0x300)](a2_0x5aa485(0x188),a2_0x5aa485(0x1d2))[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),a2_0x5aa485(0x1ac))[a2_0x5aa485(0x215)]('--description\x20<desc>',a2_0x5aa485(0x25c))['option']('--segment\x20<path>',a2_0x5aa485(0x134))[a2_0x5aa485(0x215)](a2_0x5aa485(0x1bf),a2_0x5aa485(0x19c))[a2_0x5aa485(0x215)]('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x5aa485(0x215)](a2_0x5aa485(0x2ca),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x5aa485(0x215)](a2_0x5aa485(0xe2),a2_0x5aa485(0x139))[a2_0x5aa485(0x16f)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1d7))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x176))[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),a2_0x5aa485(0x12b))[a2_0x5aa485(0x215)](a2_0x5aa485(0x211),'New\x20campaign\x20name')[a2_0x5aa485(0x215)]('--description\x20<desc>',a2_0x5aa485(0x25c))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2aa),a2_0x5aa485(0x134))['option'](a2_0x5aa485(0x1bf),'Email\x20sender\x20ID\x20for\x20delivery')['option'](a2_0x5aa485(0x2d0),a2_0x5aa485(0x120))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2ca),a2_0x5aa485(0x2a2))[a2_0x5aa485(0x215)]('--timezone\x20<tz>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x5aa485(0x16f)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x5aa485(0x23e)]('delete\x20<name-or-id>')[a2_0x5aa485(0x1d8)]('Delete\x20a\x20campaign')[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),'Workspace\x20name')[a2_0x5aa485(0x215)](a2_0x5aa485(0xb9),a2_0x5aa485(0x22a))[a2_0x5aa485(0x16f)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x13a))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xb3))[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),a2_0x5aa485(0x12b))[a2_0x5aa485(0x16f)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x5aa485(0x23e)]('pause\x20<name-or-id>')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x11a))[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),'Workspace\x20name')[a2_0x5aa485(0x16f)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x13b))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x129))[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),a2_0x5aa485(0x12b))[a2_0x5aa485(0x16f)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command']('duplicate\x20<name-or-id>')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1ca))[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),a2_0x5aa485(0x12b))[a2_0x5aa485(0x16f)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0xe5))['description'](a2_0x5aa485(0x2e9)),templateListAction=async(_0x53d309,_0x5f0d96)=>{const _0x57bd9d=new EngageTemplatesCommand(),_0x408740=program['opts'](),_0x27590f=await createTDXInstance(_0x408740),_0x5c4b78=await _0x57bd9d['run']({'options':{..._0x408740,..._0x5f0d96},'args':_0x53d309?[_0x53d309]:[],'tdx':_0x27590f});process['exit'](_0x5c4b78);};templateCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x286))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xe1))[a2_0x5aa485(0x215)]('--workspace\x20<name>',a2_0x5aa485(0x12b))['action'](templateListAction),engageCmd[a2_0x5aa485(0x23e)]('templates\x20[pattern]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2e5))[a2_0x5aa485(0x215)]('--workspace\x20<name>','Workspace\x20name')['action'](templateListAction),templateCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x20c))['description'](a2_0x5aa485(0xf8))[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),a2_0x5aa485(0x12b))[a2_0x5aa485(0x215)](a2_0x5aa485(0xfa),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x5aa485(0x16f)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x5aa485(0x306))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x23d))['requiredOption'](a2_0x5aa485(0x211),'Template\x20name')[a2_0x5aa485(0x300)]('--subject\x20<subject>','Email\x20subject\x20template')[a2_0x5aa485(0x300)]('--html\x20<html>',a2_0x5aa485(0x106))[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),a2_0x5aa485(0x1ac))[a2_0x5aa485(0x215)](a2_0x5aa485(0x223),a2_0x5aa485(0x29f))['option'](a2_0x5aa485(0x292),'Editor\x20type')['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1d7))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x18d))[a2_0x5aa485(0x215)]('--workspace\x20<name>',a2_0x5aa485(0x12b))['option'](a2_0x5aa485(0x211),a2_0x5aa485(0x15d))[a2_0x5aa485(0x215)](a2_0x5aa485(0xd4),a2_0x5aa485(0x24e))[a2_0x5aa485(0x215)]('--html\x20<html>',a2_0x5aa485(0x106))[a2_0x5aa485(0x215)](a2_0x5aa485(0x223),a2_0x5aa485(0x29f))[a2_0x5aa485(0x16f)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x5aa485(0x23e)]('delete\x20<name-or-id>')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2fb))[a2_0x5aa485(0x215)](a2_0x5aa485(0x15f),'Workspace\x20name')[a2_0x5aa485(0x215)](a2_0x5aa485(0xb9),'Skip\x20confirmation\x20prompt')[a2_0x5aa485(0x16f)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x5aa485(0x23e)]('workspace')['description'](a2_0x5aa485(0x2c1)),workspaceListAction=async(_0x570b2e,_0x142cce)=>{const _0x377415=a2_0x5aa485,_0x38bbb7=new EngageWorkspacesCommand(),_0x5bde74=program[_0x377415(0xdc)](),_0x2b3564=await createTDXInstance(_0x5bde74),_0xd1d7bc=await _0x38bbb7[_0x377415(0x17e)]({'options':{..._0x5bde74,..._0x142cce},'args':_0x570b2e?[_0x570b2e]:[],'tdx':_0x2b3564});process['exit'](_0xd1d7bc);};workspaceCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x286))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1de))['action'](workspaceListAction),engageCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x21a))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xb7))[a2_0x5aa485(0x16f)](workspaceListAction),workspaceCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x20c))[a2_0x5aa485(0x1d8)]('Show\x20workspace\x20details')[a2_0x5aa485(0x215)](a2_0x5aa485(0xfa),a2_0x5aa485(0x260))[a2_0x5aa485(0x16f)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x5aa485(0x23e)]('create')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x16d))[a2_0x5aa485(0x300)](a2_0x5aa485(0x211),'Workspace\x20name')['option'](a2_0x5aa485(0x263),a2_0x5aa485(0x220))[a2_0x5aa485(0x16f)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1d7))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x14e))[a2_0x5aa485(0x215)](a2_0x5aa485(0x211),a2_0x5aa485(0x19f))[a2_0x5aa485(0x215)](a2_0x5aa485(0x263),a2_0x5aa485(0x220))[a2_0x5aa485(0x16f)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1db))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x14a))['option'](a2_0x5aa485(0xb9),a2_0x5aa485(0x22a))[a2_0x5aa485(0x16f)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command']('use\x20<name>')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x167))[a2_0x5aa485(0x16f)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x5aa485(0x23e)]('connection')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xe7)),connectionListAction=async _0x1e8f91=>{const _0x26931d=a2_0x5aa485,_0x47d0ee=new ConnectionListCommand(),_0x490883=program[_0x26931d(0xdc)](),_0x58599b=await createTDXInstance(_0x490883),_0x2dd2e7=await _0x47d0ee[_0x26931d(0x17e)]({'options':{..._0x490883,..._0x1e8f91},'args':[],'tdx':_0x58599b});process[_0x26931d(0x169)](_0x2dd2e7);};connectionCmd['command']('list')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2e2))[a2_0x5aa485(0x16f)](connectionListAction),program['command'](a2_0x5aa485(0x2c6),{'hidden':!![]})[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x105))['action'](connectionListAction),connectionCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x228))[a2_0x5aa485(0x1d8)]('Show\x20connection\x20details\x20by\x20name')[a2_0x5aa485(0x16f)](async(_0x36054d,_0x5d83e3)=>{const _0x38175a=a2_0x5aa485,_0x183c44=new ConnectionShowCommand(),_0x2c4a56=program['opts'](),_0x193609=await createTDXInstance(_0x2c4a56),_0x2be146=await _0x183c44[_0x38175a(0x17e)]({'options':{..._0x2c4a56,..._0x5d83e3},'args':[_0x36054d],'tdx':_0x193609});process[_0x38175a(0x169)](_0x2be146);}),connectionCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x207))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x23b))[a2_0x5aa485(0x16f)](async(_0x126a4d,_0x3d3beb)=>{const _0x521d38=a2_0x5aa485,_0x1744a5=new ConnectionSchemaCommand(),_0x18f4ca=program[_0x521d38(0xdc)](),_0x4e2bce=await createTDXInstance(_0x18f4ca),_0x3d1be8=await _0x1744a5[_0x521d38(0x17e)]({'options':{..._0x18f4ca,..._0x3d3beb},'args':[_0x126a4d],'tdx':_0x4e2bce});process[_0x521d38(0x169)](_0x3d1be8);}),connectionCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1b1))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x18a))[a2_0x5aa485(0x16f)](async _0x2ba393=>{const _0x324c3f=a2_0x5aa485,_0x27d69f=new ConnectionTypesCommand(),_0x15896e=program[_0x324c3f(0xdc)](),_0x109105=await createTDXInstance(_0x15896e),_0xa5a9d7=await _0x27d69f[_0x324c3f(0x17e)]({'options':{..._0x15896e,..._0x2ba393},'args':[],'tdx':_0x109105});process[_0x324c3f(0x169)](_0xa5a9d7);}),connectionCmd['command'](a2_0x5aa485(0x2ef))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x114))[a2_0x5aa485(0x16f)](async(_0x49017e,_0x507531)=>{const _0x49df65=a2_0x5aa485,_0x5b6024=new ConnectionSettingsCommand(),_0x1c08f4=program['opts'](),_0x55c3ab=await createTDXInstance(_0x1c08f4),_0xe92e0c=await _0x5b6024[_0x49df65(0x17e)]({'options':{..._0x1c08f4,..._0x507531},'args':[_0x49017e],'tdx':_0x55c3ab});process['exit'](_0xe92e0c);});const journeyCmd=program[a2_0x5aa485(0x23e)]('journey')['description']('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x429e3e,_0x48c77f)=>{const _0x4b896e=a2_0x5aa485,_0x32ef82=new JourneyListCommand(),_0x2cd193=program['opts'](),_0x1c82eb=await createTDXInstance(_0x2cd193),_0x1a182e=await _0x32ef82[_0x4b896e(0x17e)]({'options':{..._0x2cd193,..._0x48c77f},'args':_0x429e3e?[_0x429e3e]:[],'tdx':_0x1c82eb});process[_0x4b896e(0x169)](_0x1a182e);};journeyCmd['command'](a2_0x5aa485(0x286))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1c8))[a2_0x5aa485(0x16f)](journeyListAction),journeyCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1e6))[a2_0x5aa485(0x1d8)]('Show\x20journey\x20details')['option'](a2_0x5aa485(0x236),a2_0x5aa485(0x1c7))[a2_0x5aa485(0x215)](a2_0x5aa485(0x195),a2_0x5aa485(0x2a3))[a2_0x5aa485(0x16f)](async(_0x80ad50,_0x3f21a8)=>{const _0xd9fa36=a2_0x5aa485,_0x5e7828=new JourneyViewCommand(),_0x229f21=program[_0xd9fa36(0xdc)](),_0x4a12c6=await createTDXInstance(_0x229f21),_0x27bb2d=await _0x5e7828[_0xd9fa36(0x17e)]({'options':{..._0x229f21,..._0x3f21a8},'args':[_0x80ad50],'tdx':_0x4a12c6});process[_0xd9fa36(0x169)](_0x27bb2d);}),journeyCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2ba))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x132))[a2_0x5aa485(0x215)](a2_0x5aa485(0x152),a2_0x5aa485(0x30a))[a2_0x5aa485(0x16f)](async(_0x3b2e74,_0x2a0992)=>{const _0x4b7edc=a2_0x5aa485,_0x1b733f=new JourneyStatsCommand(),_0x3ff44a=program[_0x4b7edc(0xdc)](),_0x446dd1=await createTDXInstance(_0x3ff44a),_0x3b94f5=await _0x1b733f[_0x4b7edc(0x17e)]({'options':{..._0x3ff44a,..._0x2a0992},'args':[_0x3b2e74],'tdx':_0x446dd1});process['exit'](_0x3b94f5);}),journeyCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2e1))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x2f8))[a2_0x5aa485(0x16f)](async(_0x2e0d8d,_0x3c6a57)=>{const _0x1fea6a=a2_0x5aa485,_0xabee84=new JourneyPauseCommand(),_0xc90db6=program['opts'](),_0x4b3e84=await createTDXInstance(_0xc90db6),_0x3e753b=await _0xabee84[_0x1fea6a(0x17e)]({'options':{..._0xc90db6,..._0x3c6a57},'args':[_0x2e0d8d],'tdx':_0x4b3e84});process[_0x1fea6a(0x169)](_0x3e753b);}),journeyCmd['command']('resume\x20<name-or-path>')['description'](a2_0x5aa485(0x140))[a2_0x5aa485(0x16f)](async(_0x169a03,_0x49a457)=>{const _0x3361bd=a2_0x5aa485,_0x36bdc2=new JourneyResumeCommand(),_0x155477=program[_0x3361bd(0xdc)](),_0x22b00d=await createTDXInstance(_0x155477),_0x11860c=await _0x36bdc2['run']({'options':{..._0x155477,..._0x49a457},'args':[_0x169a03],'tdx':_0x22b00d});process[_0x3361bd(0x169)](_0x11860c);}),journeyCmd[a2_0x5aa485(0x23e)]('pull\x20[name]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0xb6))[a2_0x5aa485(0x215)](a2_0x5aa485(0x248),a2_0x5aa485(0x22a))[a2_0x5aa485(0x215)](a2_0x5aa485(0x257),a2_0x5aa485(0x23a))[a2_0x5aa485(0x16f)](async(_0x183c10,_0x41b671)=>{const _0x13d1f7=a2_0x5aa485,_0x27cd7a=new JourneyPullCommand(),_0x12c26c=program['opts'](),_0x7eb436=await createTDXInstance(_0x12c26c),_0x2b2060=await _0x27cd7a[_0x13d1f7(0x17e)]({'options':{..._0x12c26c,..._0x41b671},'args':_0x183c10?[_0x183c10]:[],'tdx':_0x7eb436});process[_0x13d1f7(0x169)](_0x2b2060);}),journeyCmd[a2_0x5aa485(0x23e)]('push\x20[target]')['description'](a2_0x5aa485(0x2f4))[a2_0x5aa485(0x16f)](async(_0x1ad67b,_0x4d9125)=>{const _0xa4e522=a2_0x5aa485,_0x1d7373=new JourneyPushCommand(),_0x1f3bb0=program['opts'](),_0x2c4381=await createTDXInstance(_0x1f3bb0),_0x51d0b0=await _0x1d7373['run']({'options':{..._0x1f3bb0,..._0x4d9125},'args':_0x1ad67b?[_0x1ad67b]:[],'tdx':_0x2c4381});process[_0xa4e522(0x169)](_0x51d0b0);}),journeyCmd[a2_0x5aa485(0x23e)]('validate\x20[target]')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x198))['action'](async(_0x3bd636,_0x5873d1)=>{const _0x203043=new JourneyValidateCommand(),_0x1fc2ea=program['opts'](),_0x20569a=await createTDXInstance(_0x1fc2ea),_0x169fa4=await _0x203043['run']({'options':{..._0x1fc2ea,..._0x5873d1},'args':_0x3bd636?[_0x3bd636]:[],'tdx':_0x20569a});process['exit'](_0x169fa4);}),program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2a8))['description'](a2_0x5aa485(0xcb))['action'](journeyListAction);const agentSyncCmd=program[a2_0x5aa485(0x23e)](a2_0x5aa485(0x2b4))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x280));agentSyncCmd['command'](a2_0x5aa485(0xfc))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x24f))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2de),a2_0x5aa485(0x2c5))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2d4),a2_0x5aa485(0x2ac))[a2_0x5aa485(0x16f)](async(_0x791309,_0xdebcb6,_0x3d3751)=>{const _0x5e23ba=a2_0x5aa485,_0x309acb=new AgentPullCommand(),_0x58e98d=program[_0x5e23ba(0xdc)](),_0x2d19c9=await createTDXInstance(_0x58e98d),_0x40a8ba=[];if(_0x791309)_0x40a8ba['push'](_0x791309);if(_0xdebcb6)_0x40a8ba[_0x5e23ba(0x2ce)](_0xdebcb6);const _0x2e8e5c=await _0x309acb[_0x5e23ba(0x17e)]({'options':{..._0x58e98d,..._0x3d3751},'args':_0x40a8ba,'tdx':_0x2d19c9});process[_0x5e23ba(0x169)](_0x2e8e5c);}),agentSyncCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x274))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1f7))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2d4),'Push\x20without\x20confirmation')['action'](async(_0x2fd8a0,_0x22c064)=>{const _0x479bb2=a2_0x5aa485,_0x2cc159=new AgentPushCommand(),_0xa6fd78=program[_0x479bb2(0xdc)](),_0x267c80=await createTDXInstance(_0xa6fd78),_0xde7804=await _0x2cc159[_0x479bb2(0x17e)]({'options':{..._0xa6fd78,..._0x22c064},'args':_0x2fd8a0?[_0x2fd8a0]:[],'tdx':_0x267c80});process[_0x479bb2(0x169)](_0xde7804);}),agentSyncCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x1fb))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x20d))[a2_0x5aa485(0x215)](a2_0x5aa485(0x28d),a2_0x5aa485(0x1eb))[a2_0x5aa485(0x16f)](async(_0xb53fbf,_0x9c4089)=>{const _0x2f399f=a2_0x5aa485,_0x3f021c=new AgentCloneCommand(),_0x24267a=program['opts'](),_0x477859=await createTDXInstance(_0x24267a),_0xa46bae=await _0x3f021c[_0x2f399f(0x17e)]({'options':{..._0x24267a,..._0x9c4089},'args':_0xb53fbf?[_0xb53fbf]:[],'tdx':_0x477859});process[_0x2f399f(0x169)](_0xa46bae);}),agentSyncCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x286))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x100))[a2_0x5aa485(0x16f)](llmAgentListAction),agentSyncCmd['command'](a2_0x5aa485(0x2f0))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x149))[a2_0x5aa485(0x16f)](async(_0x29f8e1,_0x154c7b)=>{const _0x476cfd=a2_0x5aa485,_0x26c021=new LLMAgentShowCommand(),_0x5b08a6=program[_0x476cfd(0xdc)](),_0x4551bd=await createTDXInstance(_0x5b08a6),_0x42e79b=await _0x26c021[_0x476cfd(0x17e)]({'options':{..._0x5b08a6,..._0x154c7b},'args':[_0x29f8e1],'tdx':_0x4551bd});process[_0x476cfd(0x169)](_0x42e79b);}),agentSyncCmd[a2_0x5aa485(0x23e)]('create\x20<name>')['description'](a2_0x5aa485(0x28e))[a2_0x5aa485(0x215)](a2_0x5aa485(0x19d),a2_0x5aa485(0x2e3))[a2_0x5aa485(0x215)]('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x5aa485(0x1d6))[a2_0x5aa485(0x215)](a2_0x5aa485(0x269),a2_0x5aa485(0x10a))['option']('--max-tool-iterations\x20<n>',a2_0x5aa485(0x1b9),'4')[a2_0x5aa485(0x215)]('--temperature\x20<n>',a2_0x5aa485(0x10b),'0.7')[a2_0x5aa485(0x16f)](async(_0x1d12b4,_0x14fba6)=>{const _0x3a02f5=a2_0x5aa485,_0x5d46e1=new LLMAgentCreateCommand(),_0x3089b8=program[_0x3a02f5(0xdc)](),_0x146daa=await createTDXInstance(_0x3089b8),_0x11fb85=await _0x5d46e1[_0x3a02f5(0x17e)]({'options':{..._0x3089b8,..._0x14fba6},'args':[_0x1d12b4],'tdx':_0x146daa});process['exit'](_0x11fb85);}),agentSyncCmd[a2_0x5aa485(0x23e)](a2_0x5aa485(0x247))[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x131))['option']('--name\x20<text>',a2_0x5aa485(0x13d))['option']('--prompt\x20<text>',a2_0x5aa485(0x170))[a2_0x5aa485(0x215)](a2_0x5aa485(0x2c4),a2_0x5aa485(0x119))[a2_0x5aa485(0x215)]('--starter-message\x20<text>','Starter\x20message')['action'](async(_0x46f2b4,_0x42d488)=>{const _0x213695=a2_0x5aa485,_0x23a918=new LLMAgentUpdateCommand(),_0x5a1f44=program['opts'](),_0x2b704c=await createTDXInstance(_0x5a1f44),_0x5aec5d=await _0x23a918['run']({'options':{..._0x5a1f44,..._0x42d488},'args':[_0x46f2b4],'tdx':_0x2b704c});process[_0x213695(0x169)](_0x5aec5d);}),agentSyncCmd[a2_0x5aa485(0x23e)]('delete\x20<agent-name>')[a2_0x5aa485(0x1d8)](a2_0x5aa485(0x1ab))[a2_0x5aa485(0x16f)](async(_0x3f75d8,_0x494b5f)=>{const _0x2b53f7=a2_0x5aa485,_0x3802fa=new LLMAgentDeleteCommand(),_0x382446=program['opts'](),_0x32d386=await createTDXInstance(_0x382446),_0x314868=await _0x3802fa[_0x2b53f7(0x17e)]({'options':{..._0x382446,..._0x494b5f},'args':[_0x3f75d8],'tdx':_0x32d386});process['exit'](_0x314868);});export{program};export function runCLI(){const _0xe47ef3=a2_0x5aa485,_0xdb865=!process[_0xe47ef3(0x2f5)][_0xe47ef3(0xe9)](0x2)[_0xe47ef3(0x2a0)];showBriefHelp=_0xdb865,program[_0xe47ef3(0x177)](process['argv']),_0xdb865&&program[_0xe47ef3(0xc7)](),process[_0xe47ef3(0xdd)][_0xe47ef3(0x305)]&&process[_0xe47ef3(0x2f5)][_0xe47ef3(0x2a0)]>0x2&&!isDevVersion()&&checkForUpdate(currentVersion)[_0xe47ef3(0x17a)](_0x43f615=>{_0x43f615&&displayUpdateNotification(_0x43f615);})['catch'](()=>{});}