@treasuredata/tdx 0.26.0 → 0.26.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.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/status-command.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/test-utils/command-runner.js +1 -1
- package/dist/test-utils/factories.js +1 -1
- package/dist/test-utils/fixtures.js +1 -1
- package/dist/test-utils/http-mock.js +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.d.ts +2 -1
- package/dist/utils/local-cache.d.ts.map +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/local-cache.js.map +1 -1
- package/dist/utils/logger/formatters/default-formatter.js +1 -1
- package/dist/utils/logger/formatters/index.js +1 -1
- package/dist/utils/logger/handlers/console-handler.js +1 -1
- package/dist/utils/logger/handlers/file-handler.js +1 -1
- package/dist/utils/logger/handlers/index.js +1 -1
- package/dist/utils/logger/handlers/null-handler.js +1 -1
- package/dist/utils/logger/index.js +1 -1
- package/dist/utils/logger/logger.js +1 -1
- package/dist/utils/logger/types.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/port.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x3474ff=a2_0x120a;(function(_0x2c45ea,_0x35c9d1){const _0x5cd6ad=a2_0x120a,_0xe911c8=_0x2c45ea();while(!![]){try{const _0x25603a=-parseInt(_0x5cd6ad(0x346))/0x1+parseInt(_0x5cd6ad(0x36c))/0x2*(parseInt(_0x5cd6ad(0x341))/0x3)+-parseInt(_0x5cd6ad(0x1cd))/0x4*(-parseInt(_0x5cd6ad(0x207))/0x5)+-parseInt(_0x5cd6ad(0x21e))/0x6*(parseInt(_0x5cd6ad(0x217))/0x7)+parseInt(_0x5cd6ad(0x2a0))/0x8+parseInt(_0x5cd6ad(0x2e3))/0x9+parseInt(_0x5cd6ad(0x368))/0xa;if(_0x25603a===_0x35c9d1)break;else _0xe911c8['push'](_0xe911c8['shift']());}catch(_0x32547f){_0xe911c8['push'](_0xe911c8['shift']());}}}(a2_0x34c3,0x1ea99));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x3474ff(0x2f1)][a2_0x3474ff(0x1fa)](a2_0x3474ff(0x1e3))){let versionOutput=a2_0x3474ff(0x266)+currentVersion;buildInfo[a2_0x3474ff(0x36f)]&&!currentVersion['includes'](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x3474ff(0x36f)]+')'),buildInfo[a2_0x3474ff(0x267)]&&(versionOutput+=a2_0x3474ff(0x3f8)+buildInfo[a2_0x3474ff(0x267)]),console['log'](versionOutput),process[a2_0x3474ff(0x32c)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x3474ff(0x376);buildInfo[a2_0x3474ff(0x36f)]&&!currentVersion[a2_0x3474ff(0x1fa)](buildInfo[a2_0x3474ff(0x36f)])?description+=a2_0x3474ff(0x371)+currentVersion+'\x20('+buildInfo[a2_0x3474ff(0x36f)]+')':description+=',\x20version\x20'+currentVersion;program['name'](a2_0x3474ff(0x424))[a2_0x3474ff(0x2be)](description),program[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2fc),a2_0x3474ff(0x3b8))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3c7),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')['option'](a2_0x3474ff(0x3fc),a2_0x3474ff(0x37b),a2_0x3474ff(0x37f))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x330),a2_0x3474ff(0x3e8))[a2_0x3474ff(0x2cb)]('--table',a2_0x3474ff(0x1c9))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x370),a2_0x3474ff(0x2a1))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3b4),a2_0x3474ff(0x1d4))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x357),a2_0x3474ff(0x3cb))['option'](a2_0x3474ff(0x398),a2_0x3474ff(0x21a))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x390),a2_0x3474ff(0x286))['option'](a2_0x3474ff(0x22a),a2_0x3474ff(0x2e9),![])['option'](a2_0x3474ff(0x23e),a2_0x3474ff(0x3f7),![])[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x316),a2_0x3474ff(0x312),![])[a2_0x3474ff(0x2cb)]('--debug',a2_0x3474ff(0x240))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x30c),a2_0x3474ff(0x218))[a2_0x3474ff(0x2cb)]('--timeout\x20<seconds>',a2_0x3474ff(0x236),'30')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),'Preview\x20operation\x20without\x20executing',![])[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x3d1),![])['option'](a2_0x3474ff(0x40b),a2_0x3474ff(0x2fe))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x436),a2_0x3474ff(0x2b2))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2d0),a2_0x3474ff(0x1c3))[a2_0x3474ff(0x2cb)]('--parent-segment\x20<name>',a2_0x3474ff(0x254))[a2_0x3474ff(0x2cb)]('--llm-project\x20<name>','LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program['configureHelp']({'formatHelp':(_0x1a2777,_0x6c36b5)=>{const _0x4ca606=a2_0x3474ff,_0x4f241f=_0x6c36b5['padWidth'](_0x1a2777,_0x6c36b5),_0x54a84d=0x2,_0x1a9ef3=0x2;function _0x39f5a3(_0xfdaa85){const _0x4db1fd=a2_0x120a,_0x541f65=_0xfdaa85;return!!(_0x541f65[_0x4db1fd(0x3cd)]||_0x541f65['hidden']);}function _0x309763(_0x108c62,_0x1450b8){const _0x5a6953=a2_0x120a;if(_0x1450b8){const _0x1b067e=''+_0x108c62[_0x5a6953(0x3cc)](_0x4f241f+_0x1a9ef3)+_0x1450b8;return _0x1b067e;}return _0x108c62;}function _0xb06d94(_0x181728){return _0x181728['join']('\x0a')['replace'](/^/gm,'\x20'['repeat'](_0x54a84d));}const _0x3446b8=[];_0x3446b8[_0x4ca606(0x261)](_0x4ca606(0x223)+_0x6c36b5[_0x4ca606(0x335)](_0x1a2777));const _0x513331=_0x6c36b5[_0x4ca606(0x3ca)](_0x1a2777);_0x513331&&(_0x3446b8['push'](''),_0x3446b8[_0x4ca606(0x261)](_0x513331));const _0x48ed2d=_0x1a2777['commands'][_0x4ca606(0x41e)](_0x5e95dd=>!_0x39f5a3(_0x5e95dd));if(_0x48ed2d[_0x4ca606(0x1f9)]>0x0){if(_0x1a2777['name']()===_0x4ca606(0x424)){const _0x40af91=_0x1a2777[_0x4ca606(0x2ca)](),_0x5bc30a=!_0x40af91[_0x4ca606(0x403)]&&process[_0x4ca606(0x345)]['isTTY'],_0x45cae8=COMMAND_CATEGORIES,_0x5a53c6=(_0x5787a1,_0x54228c)=>_0x5bc30a?_0x54228c(_0x5787a1):_0x5787a1,_0x2308e0=new Map();_0x48ed2d[_0x4ca606(0x311)](_0x34aa07=>{const _0x1d0854=_0x4ca606;_0x2308e0[_0x1d0854(0x2d4)](_0x34aa07[_0x1d0854(0x327)](),_0x34aa07);}),_0x45cae8[_0x4ca606(0x311)](_0x2250b9=>{const _0x1d9856=_0x4ca606,_0x29176d=_0x2250b9[_0x1d9856(0x1fb)][_0x1d9856(0x1f8)](_0x337d3b=>_0x2308e0['get'](_0x337d3b)??[]);if(_0x29176d[_0x1d9856(0x1f9)]>0x0){_0x3446b8[_0x1d9856(0x261)](''),_0x3446b8['push'](_0x5a53c6(_0x2250b9[_0x1d9856(0x327)]+':',_0x2250b9[_0x1d9856(0x315)]));const _0x81a859=_0x29176d['map'](_0x5bdbea=>{const _0x5e7cc2=_0x1d9856,_0x15c0fc=_0x6c36b5['subcommandTerm'](_0x5bdbea),_0x5700b7=_0x6c36b5[_0x5e7cc2(0x3bf)](_0x5bdbea);return _0x309763(_0x15c0fc,_0x5700b7);});_0x3446b8[_0x1d9856(0x261)](_0xb06d94(_0x81a859));}}),_0x3446b8['push'](''),_0x3446b8[_0x4ca606(0x261)](_0x4ca606(0x22c));}else{const _0x4facbb=_0x48ed2d['map'](_0x5a0632=>{const _0x166145=_0x4ca606,_0x31418c=_0x6c36b5[_0x166145(0x355)](_0x5a0632),_0x29855c=_0x6c36b5[_0x166145(0x3bf)](_0x5a0632);return _0x309763(_0x31418c,_0x29855c);});_0x3446b8[_0x4ca606(0x261)](''),_0x3446b8[_0x4ca606(0x261)]('Commands:'),_0x3446b8[_0x4ca606(0x261)](_0xb06d94(_0x4facbb));}}if(showBriefHelp&&_0x1a2777['name']()==='tdx')_0x3446b8[_0x4ca606(0x261)](''),_0x3446b8['push'](_0x4ca606(0x235));else{const _0x242ff0=_0x1a2777[_0x4ca606(0x32e)][_0x4ca606(0x41e)](_0x57a89d=>!_0x39f5a3(_0x57a89d));if(_0x242ff0[_0x4ca606(0x1f9)]>0x0){const _0x1f55dc=_0x242ff0[_0x4ca606(0x393)](_0x299856=>{const _0x57e1a4=_0x4ca606,_0x24c785=_0x6c36b5[_0x57e1a4(0x32f)](_0x299856),_0x4fa14c=_0x6c36b5[_0x57e1a4(0x3f0)](_0x299856);return _0x309763(_0x24c785,_0x4fa14c);});_0x3446b8[_0x4ca606(0x261)](''),_0x3446b8[_0x4ca606(0x261)](_0x4ca606(0x41a)),_0x3446b8[_0x4ca606(0x261)](_0xb06d94(_0x1f55dc));}}const _0x257535=(_0x1a2777[_0x4ca606(0x383)]||[])['filter'](_0x2c8aaa=>!_0x39f5a3(_0x2c8aaa));if(_0x257535[_0x4ca606(0x1f9)]>0x0){const _0x13220c=_0x257535[_0x4ca606(0x393)](_0x3d6aae=>{const _0x1e6787=_0x4ca606,_0x31b3ab=_0x6c36b5['argumentTerm'](_0x3d6aae),_0x3547dd=_0x6c36b5[_0x1e6787(0x348)](_0x3d6aae);return _0x309763(_0x31b3ab,_0x3547dd);});_0x3446b8[_0x4ca606(0x261)](''),_0x3446b8[_0x4ca606(0x261)](_0x4ca606(0x37c)),_0x3446b8['push'](_0xb06d94(_0x13220c));}return _0x3446b8[_0x4ca606(0x3b0)]('\x0a')+'\x0a';},'subcommandTerm':_0x238f6e=>{const _0x3b075d=a2_0x3474ff,_0x4383d1=(_0x238f6e[_0x3b075d(0x383)]||[])[_0x3b075d(0x393)](_0xa7f4ba=>_0xa7f4ba['required']?'<'+_0xa7f4ba[_0x3b075d(0x327)]()+'>':'['+_0xa7f4ba[_0x3b075d(0x327)]()+']')[_0x3b075d(0x3b0)]('\x20'),_0x240f01=_0x238f6e[_0x3b075d(0x1ea)](),_0xfa14d4=_0x240f01[_0x3b075d(0x1f9)]>0x0?_0x238f6e[_0x3b075d(0x327)]()+',\x20'+_0x240f01[_0x3b075d(0x3b0)](',\x20'):_0x238f6e[_0x3b075d(0x327)]();return _0x4383d1?_0xfa14d4+'\x20'+_0x4383d1:_0xfa14d4;}}),program[a2_0x3474ff(0x2e8)](a2_0x3474ff(0x3e9),_0x43ce82=>{const _0x273e6a=a2_0x3474ff,_0x58eb9d=_0x43ce82[_0x273e6a(0x2ca)]();if(_0x58eb9d['directory']){const _0x13ade9=resolve(_0x58eb9d[_0x273e6a(0x2c5)]),_0x3bb8e3=_0x13ade9!==_0x58eb9d['directory']?_0x273e6a(0x1e5)+_0x13ade9+')':'';if(!existsSync(_0x13ade9))throw new SDKError(ErrorCode[_0x273e6a(0x3df)],'Directory\x20does\x20not\x20exist:\x20'+_0x58eb9d[_0x273e6a(0x2c5)]+_0x3bb8e3,undefined,{'helpText':_0x273e6a(0x3a1)});const _0x33172f=statSync(_0x13ade9);if(!_0x33172f[_0x273e6a(0x214)]())throw new SDKError(ErrorCode[_0x273e6a(0x3df)],_0x273e6a(0x377)+_0x58eb9d['directory']+_0x3bb8e3,undefined,{'helpText':_0x273e6a(0x1b9)});process['chdir'](_0x13ade9);}if(!_0x58eb9d['format']){if(_0x58eb9d[_0x273e6a(0x1bd)])_0x58eb9d['format']=_0x273e6a(0x1bd);else{if(_0x58eb9d['json'])_0x58eb9d['format']=_0x273e6a(0x1d0);else{if(_0x58eb9d['jsonl'])_0x58eb9d[_0x273e6a(0x1f7)]=_0x273e6a(0x1db);else _0x58eb9d['tsv']&&(_0x58eb9d[_0x273e6a(0x1f7)]=_0x273e6a(0x22e));}}}_0x58eb9d['in']&&!_0x58eb9d[_0x273e6a(0x3cf)]&&(_0x58eb9d['database']=_0x58eb9d['in']);if(_0x58eb9d[_0x273e6a(0x302)])_0x58eb9d[_0x273e6a(0x303)]=LogLevel[_0x273e6a(0x352)];else{if(_0x58eb9d['debug'])_0x58eb9d[_0x273e6a(0x303)]=LogLevel[_0x273e6a(0x2a2)];else _0x58eb9d[_0x273e6a(0x303)]===undefined&&(_0x58eb9d[_0x273e6a(0x303)]=LogLevel[_0x273e6a(0x1e8)]);}});async function createTDXInstance(_0x5edcf5){const _0xf9e560=a2_0x3474ff,_0x59a4ad=await GlobalContext[_0xf9e560(0x3ec)](_0x5edcf5);return _0x59a4ad[_0xf9e560(0x2de)](_0x5edcf5),TDX[_0xf9e560(0x304)]({'site':_0x59a4ad[_0xf9e560(0x20a)],'apiKey':_0x59a4ad[_0xf9e560(0x272)],'logLevel':_0x59a4ad[_0xf9e560(0x303)],'profile':_0x59a4ad[_0xf9e560(0x366)]});}const databaseCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3cf))[a2_0x3474ff(0x38f)]('db')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3d7)),databaseListAction=async(_0x159c2a,_0x5304d5)=>{const _0x258ad1=a2_0x3474ff,_0x33e236=new DatabasesCommand(),_0x15e68e=program[_0x258ad1(0x2ca)](),_0x2e0317=await createTDXInstance(_0x15e68e),_0x398bc4=await _0x33e236['run']({'options':{..._0x15e68e,..._0x5304d5},'args':_0x159c2a?[_0x159c2a]:[],'tdx':_0x2e0317});gracefulExit(_0x398bc4);};databaseCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3ae))[a2_0x3474ff(0x35b)](databaseListAction),program['command'](a2_0x3474ff(0x237),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')['action'](databaseListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3b1))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x219))['option'](a2_0x3474ff(0x245),a2_0x3474ff(0x1fd))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x226),a2_0x3474ff(0x351))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x268),a2_0x3474ff(0x2d2))['option'](a2_0x3474ff(0x30a),a2_0x3474ff(0x28d))[a2_0x3474ff(0x35b)](async(_0x5f062d,_0x2352ec)=>{const _0x509f0f=a2_0x3474ff,_0x3b2b7e=program[_0x509f0f(0x2ca)](),_0x357a3c=await createTDXInstance(_0x3b2b7e);if(_0x5f062d[0x0]==='create'){const _0x377ff4=new ChatCreateCommand();gracefulExit(await _0x377ff4['run']({'options':{..._0x3b2b7e,..._0x2352ec},'args':_0x5f062d['slice'](0x1),'tdx':_0x357a3c}));return;}const _0x366c5e=new ChatCommand(),_0x3e0c60=await _0x366c5e[_0x509f0f(0x1ef)]({'options':{..._0x3b2b7e,..._0x2352ec},'args':_0x5f062d,'tdx':_0x357a3c});gracefulExit(_0x3e0c60);});const apiCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1e9))[a2_0x3474ff(0x2c3)](a2_0x3474ff(0x432))[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),a2_0x3474ff(0x411))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3d6),a2_0x3474ff(0x256),a2_0x3474ff(0x1dc))['option']('--data\x20<data>',a2_0x3474ff(0x297))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x262),a2_0x3474ff(0x350))[a2_0x3474ff(0x2cb)]('-H,\x20--header\x20<header>',a2_0x3474ff(0x22b),(_0x129290,_0x5b41c9)=>{return _0x5b41c9?[..._0x5b41c9,_0x129290]:[_0x129290];})[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x313),a2_0x3474ff(0x3f5),'td')[a2_0x3474ff(0x35b)](async(_0x3c5e4e,_0x3c1b28)=>{const _0x5793b8=a2_0x3474ff;if(!_0x3c5e4e){apiCmd[_0x5793b8(0x39c)]();return;}const _0x1dab10=new ApiCommand(),_0x4f48c7=program['opts'](),_0x3e4d20=await createTDXInstance(_0x4f48c7),_0x2c5639=await _0x1dab10[_0x5793b8(0x1ef)]({'options':{..._0x4f48c7,..._0x3c1b28},'args':[_0x3c5e4e],'tdx':_0x3e4d20});gracefulExit(_0x2c5639);});function a2_0x120a(_0x24f6bf,_0x14cbff){_0x24f6bf=_0x24f6bf-0x1b9;const _0x34c31c=a2_0x34c3();let _0x120aa1=_0x34c31c[_0x24f6bf];return _0x120aa1;}program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x34e))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c3))[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),a2_0x3474ff(0x321))['action'](async _0x3e25a3=>{const _0x270198=a2_0x3474ff,_0x118a65=new MCPCommand(),_0x43c63c=program[_0x270198(0x2ca)](),_0x4b2aa=await createTDXInstance(_0x43c63c),_0x30e47f=await _0x118a65[_0x270198(0x1ef)]({'options':{..._0x43c63c,..._0x3e25a3},'args':[],'tdx':_0x4b2aa});gracefulExit(_0x30e47f);});const tableCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1bd))['description']('Table\x20management\x20commands'),tableListAction=async(_0x2b8536,_0x24a848)=>{const _0x53cf3f=a2_0x3474ff,_0x4bc818=new TablesCommand(),_0xb4775c=program[_0x53cf3f(0x2ca)](),_0x5b99e1=await createTDXInstance(_0xb4775c);_0x24a848['in']&&(_0x24a848['database']=_0x24a848['in']);const _0x5c62c9=await _0x4bc818[_0x53cf3f(0x1ef)]({'options':{..._0xb4775c,..._0x24a848},'args':_0x2b8536?[_0x2b8536]:[],'tdx':_0x5b99e1});gracefulExit(_0x5c62c9);};tableCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3a5))['option']('-d,\x20--database\x20<database>',a2_0x3474ff(0x2cf))['option'](a2_0x3474ff(0x2b0),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program['command'](a2_0x3474ff(0x42b),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x423))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x415),a2_0x3474ff(0x2cf))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2b0),a2_0x3474ff(0x1c3))[a2_0x3474ff(0x35b)](tableListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x287))['description'](a2_0x3474ff(0x211))['option'](a2_0x3474ff(0x415),a2_0x3474ff(0x429))['option'](a2_0x3474ff(0x2b0),a2_0x3474ff(0x1c3))[a2_0x3474ff(0x35b)](async(_0x100dc5,_0x5bc095)=>{const _0x5a79f=a2_0x3474ff,_0x3191f4=new ShowCommand(),_0xc071a8=program['opts'](),_0x2bd795=await createTDXInstance(_0xc071a8);_0x5bc095['in']&&(_0x5bc095[_0x5a79f(0x3cf)]=_0x5bc095['in']);const _0x3be8e8=await _0x3191f4[_0x5a79f(0x1ef)]({'options':{..._0xc071a8,..._0x5bc095},'args':_0x100dc5?[_0x100dc5]:[],'tdx':_0x2bd795});gracefulExit(_0x3be8e8);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x395))[a2_0x3474ff(0x38f)](a2_0x3474ff(0x280))[a2_0x3474ff(0x2be)]('Describe\x20table\x20schema')['option'](a2_0x3474ff(0x415),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3474ff(0x2cb)]('--in\x20<database>',a2_0x3474ff(0x1c3))[a2_0x3474ff(0x35b)](async(_0x51a4d7,_0x17187c)=>{const _0x1c5fb8=a2_0x3474ff,_0x53993e=new DescribeCommand(),_0x5d6ad6=program[_0x1c5fb8(0x2ca)](),_0x5827b1=await createTDXInstance(_0x5d6ad6);_0x17187c['in']&&(_0x17187c['database']=_0x17187c['in']);const _0x3a4736=await _0x53993e[_0x1c5fb8(0x1ef)]({'options':{..._0x5d6ad6,..._0x17187c},'args':_0x51a4d7?[_0x51a4d7]:[],'tdx':_0x5827b1});gracefulExit(_0x3a4736);}),program['command'](a2_0x3474ff(0x2b3))['description'](a2_0x3474ff(0x431))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x415),a2_0x3474ff(0x231))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2b0),a2_0x3474ff(0x1c3))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x308),a2_0x3474ff(0x25c))[a2_0x3474ff(0x2cb)]('-f,\x20--file\x20<path>',a2_0x3474ff(0x24f))[a2_0x3474ff(0x2cb)]('--limit\x20<rows>','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')[a2_0x3474ff(0x35b)](async(_0x60f34f,_0x466b70)=>{const _0x39430d=a2_0x3474ff,_0x4dd3e3=new QueryCommand(),_0x355d2a=program[_0x39430d(0x2ca)](),_0x2ee862=await createTDXInstance(_0x355d2a);_0x466b70['in']&&(_0x466b70[_0x39430d(0x3cf)]=_0x466b70['in']);const _0x14df8f=await _0x4dd3e3[_0x39430d(0x1ef)]({'options':{..._0x355d2a,..._0x466b70},'args':_0x60f34f?[_0x60f34f]:[],'tdx':_0x2ee862});gracefulExit(_0x14df8f);});const segmentCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2e5))[a2_0x3474ff(0x38f)]('sg')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x293)),segmentListAction=async(_0x58000c,_0x3e4315)=>{const _0x3cd0b2=a2_0x3474ff,_0x1176c2=new SegmentsCommand(),_0x1ef903=program[_0x3cd0b2(0x2ca)](),_0x35c4e9=await createTDXInstance(_0x1ef903),_0x2c4343=await _0x1176c2['run']({'options':{..._0x1ef903,..._0x3e4315},'args':_0x58000c?[_0x58000c]:[],'tdx':_0x35c4e9});gracefulExit(_0x2c4343);};segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1fe))[a2_0x3474ff(0x2be)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3d5),a2_0x3474ff(0x42e))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3ef),a2_0x3474ff(0x296),'10')[a2_0x3474ff(0x35b)](segmentListAction),program['command'](a2_0x3474ff(0x243),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2e2))['option'](a2_0x3474ff(0x3d5),a2_0x3474ff(0x42e))['option']('--max-depth\x20<depth>',a2_0x3474ff(0x296),'10')['action'](segmentListAction),segmentCmd[a2_0x3474ff(0x3ab)]('use\x20<path>',{'hidden':!![]})['description'](a2_0x3474ff(0x255))[a2_0x3474ff(0x35b)](async(_0x59dd50,_0x355c69)=>{const _0x50e83c=a2_0x3474ff,_0x204329=new SegmentUseCommand(),_0x3b0faa=program['opts'](),_0x65f721=await createTDXInstance(_0x3b0faa),_0x4764cb=await _0x204329[_0x50e83c(0x1ef)]({'options':{..._0x3b0faa,..._0x355c69},'args':[_0x59dd50],'tdx':_0x65f721});gracefulExit(_0x4764cb);});const segmentViewAction=async(_0x32de72,_0x5b2d4c)=>{const _0x329066=a2_0x3474ff,_0x16d5f1=new SegmentViewCommand(),_0x302c08=program[_0x329066(0x2ca)](),_0x9c935e=await createTDXInstance(_0x302c08),_0x253ee3=await _0x16d5f1[_0x329066(0x1ef)]({'options':{..._0x302c08,..._0x5b2d4c},'args':_0x32de72?[_0x32de72]:[],'tdx':_0x9c935e});gracefulExit(_0x253ee3);};segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x241))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x248))['option'](a2_0x3474ff(0x2bf),a2_0x3474ff(0x3a9))[a2_0x3474ff(0x35b)](segmentViewAction),segmentCmd['command']('info\x20[segment_name]',{'hidden':!![]})[a2_0x3474ff(0x38f)](a2_0x3474ff(0x28e))[a2_0x3474ff(0x2cb)]('-w,\x20--web',a2_0x3474ff(0x3a9))['description']('Show\x20segment\x20details\x20(alias\x20for\x20view)')['action'](segmentViewAction),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x31f))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2d6))[a2_0x3474ff(0x35b)](async(_0x33bf0b,_0x4bbd7f)=>{const _0xad8b82=a2_0x3474ff,_0x5bc4ec=new SegmentDescCommand(),_0x35b943=program['opts'](),_0x1d0663=await createTDXInstance(_0x35b943),_0x52d0e7=await _0x5bc4ec[_0xad8b82(0x1ef)]({'options':{..._0x35b943,..._0x4bbd7f},'args':_0x33bf0b?[_0x33bf0b]:[],'tdx':_0x1d0663});gracefulExit(_0x52d0e7);}),segmentCmd[a2_0x3474ff(0x3ab)]('show\x20[segment_name]')['description'](a2_0x3474ff(0x358))[a2_0x3474ff(0x35b)](async(_0x3020eb,_0x2df79e)=>{const _0x376873=a2_0x3474ff,_0x25ad56=new SegmentShowCommand(),_0x461a84=program[_0x376873(0x2ca)](),_0x5584ba=await createTDXInstance(_0x461a84),_0x4fdfd8=await _0x25ad56[_0x376873(0x1ef)]({'options':{..._0x461a84,..._0x2df79e},'args':_0x3020eb?[_0x3020eb]:[],'tdx':_0x5584ba});gracefulExit(_0x4fdfd8);}),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3f1),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c0))[a2_0x3474ff(0x35b)](async(_0x2fc0ce,_0x320d32)=>{const _0x45ddab=a2_0x3474ff,_0x2328e1=new SegmentFolderListCommand(),_0x2e9fc1=program[_0x45ddab(0x2ca)](),_0x3d9cde=await createTDXInstance(_0x2e9fc1),_0x25fc71=await _0x2328e1[_0x45ddab(0x1ef)]({'options':{..._0x2e9fc1,..._0x320d32},'args':[_0x2fc0ce],'tdx':_0x3d9cde});gracefulExit(_0x25fc71);});const folderCmd=segmentCmd['command'](a2_0x3474ff(0x210),{'hidden':!![]})['description'](a2_0x3474ff(0x331));folderCmd['command'](a2_0x3474ff(0x24d))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x284))['action'](async(_0x1ec52e,_0x212dbd)=>{const _0x4d34ea=new SegmentFolderShowCommand(),_0x3ab0a3=program['opts'](),_0x17fefd=await createTDXInstance(_0x3ab0a3),_0x16157e=await _0x4d34ea['run']({'options':{..._0x3ab0a3,..._0x212dbd},'args':[_0x1ec52e],'tdx':_0x17fefd});gracefulExit(_0x16157e);}),segmentCmd[a2_0x3474ff(0x3ab)]('sql\x20[segment_name]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x405))['action'](async(_0x3e0966,_0x26f194)=>{const _0x36688e=a2_0x3474ff,_0x126adf=new SegmentSQLCommand(),_0x25bdad=program['opts'](),_0x3f6e1c=await createTDXInstance(_0x25bdad),_0x244f94=await _0x126adf[_0x36688e(0x1ef)]({'options':{..._0x25bdad,..._0x26f194},'args':_0x3e0966?[_0x3e0966]:[],'tdx':_0x3f6e1c});gracefulExit(_0x244f94);}),segmentCmd['command'](a2_0x3474ff(0x29b))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3e5))['action'](async(_0x6780cc,_0x58e082)=>{const _0x39b3e1=a2_0x3474ff,_0x36142c=new SegmentFieldsCommand(),_0x1ef89b=program['opts'](),_0x5515c4=await createTDXInstance(_0x1ef89b),_0x23574e=await _0x36142c[_0x39b3e1(0x1ef)]({'options':{..._0x1ef89b,..._0x58e082},'args':_0x6780cc?[_0x6780cc]:[],'tdx':_0x5515c4});gracefulExit(_0x23574e);}),segmentCmd[a2_0x3474ff(0x3ab)]('pull\x20[parent_or_file]')['description']('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x3d1))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),a2_0x3474ff(0x344))[a2_0x3474ff(0x35b)](async(_0x148ae9,_0x3db48e)=>{const _0x2e1186=a2_0x3474ff,_0x52ed81=new SegmentPullCommand(),_0x43310d=program[_0x2e1186(0x2ca)](),_0x54555b=await createTDXInstance(_0x43310d),_0x3dd28c=await _0x52ed81[_0x2e1186(0x1ef)]({'options':{..._0x43310d,..._0x3db48e},'args':_0x148ae9?[_0x148ae9]:[],'tdx':_0x54555b});gracefulExit(_0x3dd28c);}),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3b6))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1e7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x3d1))['option'](a2_0x3474ff(0x38a),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x42f),a2_0x3474ff(0x2dc))[a2_0x3474ff(0x35b)](async(_0x140c06,_0x25603f)=>{const _0x456b58=a2_0x3474ff,_0x47f78b=new SegmentPushCommand(),_0x5df19d=program[_0x456b58(0x2ca)](),_0x31ebd0=await createTDXInstance(_0x5df19d),_0x5f26bc=await _0x47f78b[_0x456b58(0x1ef)]({'options':{..._0x5df19d,..._0x25603f},'args':_0x140c06?[_0x140c06]:[],'tdx':_0x31ebd0});gracefulExit(_0x5f26bc);}),segmentCmd[a2_0x3474ff(0x3ab)]('validate\x20[target]')[a2_0x3474ff(0x2be)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')['action'](async(_0x498288,_0xd53390)=>{const _0x3c9742=a2_0x3474ff,_0x21286c=new SegmentValidateCommand(),_0x4788f1=program['opts'](),_0x318548=await createTDXInstance(_0x4788f1),_0x6b6eba=await _0x21286c[_0x3c9742(0x1ef)]({'options':{..._0x4788f1,..._0xd53390},'args':_0x498288?[_0x498288]:[],'tdx':_0x318548});gracefulExit(_0x6b6eba);}),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c0),{'hidden':!![]})[a2_0x3474ff(0x2be)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x3474ff(0x2cb)]('--description\x20<text>',a2_0x3474ff(0x382))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x406),a2_0x3474ff(0x2b8))[a2_0x3474ff(0x2cb)]('--rule-file\x20<file>',a2_0x3474ff(0x29c))[a2_0x3474ff(0x2cb)]('--folder\x20<name>','Folder\x20name\x20for\x20organization')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2b4),a2_0x3474ff(0x205))[a2_0x3474ff(0x2cb)]('--invisible','Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x359),a2_0x3474ff(0x31a))['action'](async(_0x34f8cf,_0x4c7311)=>{const _0x3144fb=a2_0x3474ff,_0x44780e=new SegmentCreateCommand(),_0x18471a=program[_0x3144fb(0x2ca)](),_0x5f065b=await createTDXInstance(_0x18471a),_0x16ff22=await _0x44780e[_0x3144fb(0x1ef)]({'options':{..._0x18471a,..._0x4c7311},'args':[_0x34f8cf],'tdx':_0x5f065b});gracefulExit(_0x16ff22);}),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3a3),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x333))[a2_0x3474ff(0x2cb)]('--name\x20<new_name>',a2_0x3474ff(0x2c0))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x285),a2_0x3474ff(0x328))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x406),a2_0x3474ff(0x2ac))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x34b),a2_0x3474ff(0x38b))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x407),a2_0x3474ff(0x275))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2b4),a2_0x3474ff(0x205))[a2_0x3474ff(0x35b)](async(_0x41ab94,_0x40d2d1)=>{const _0x260503=a2_0x3474ff,_0x1f2581=new SegmentUpdateCommand(),_0x2ca41a=program[_0x260503(0x2ca)](),_0x3b27be=await createTDXInstance(_0x2ca41a),_0x420d67=await _0x1f2581['run']({'options':{..._0x2ca41a,..._0x40d2d1},'args':[_0x41ab94],'tdx':_0x3b27be});gracefulExit(_0x420d67);});const parentCmd=segmentCmd['command']('parent',{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x24a)),parentListAction=async(_0x4fabe9,_0x3b729f)=>{const _0x3f0497=a2_0x3474ff,_0x1b6726=new ParentSegmentListCommand(),_0x22c0aa=program['opts'](),_0x7b6622=await createTDXInstance(_0x22c0aa),_0x286ce6=await _0x1b6726[_0x3f0497(0x1ef)]({'options':{..._0x22c0aa,..._0x3b729f},'args':_0x4fabe9?[_0x4fabe9]:[],'tdx':_0x7b6622});gracefulExit(_0x286ce6);};parentCmd[a2_0x3474ff(0x3ab)]('list\x20[pattern]')['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x3474ff(0x35b)](parentListAction),segmentCmd['command'](a2_0x3474ff(0x3ce),{'hidden':!![]})['description']('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')[a2_0x3474ff(0x35b)](parentListAction),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x375))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x20f))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2ba),a2_0x3474ff(0x3f9))['option'](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')['action'](async(_0x3f2c3d,_0x463993)=>{const _0x38fadc=a2_0x3474ff,_0x5e0a70=new ParentSegmentPullCommand(),_0x14649d=program['opts'](),_0x1edf7b=await createTDXInstance(_0x14649d),_0x23e5ee=await _0x5e0a70[_0x38fadc(0x1ef)]({'options':{..._0x14649d,..._0x463993},'args':_0x3f2c3d?[_0x3f2c3d]:[],'tdx':_0x1edf7b});gracefulExit(_0x23e5ee);}),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x40e))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2c7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))['action'](async(_0x5154b1,_0x400758)=>{const _0x33cef7=a2_0x3474ff,_0x509735=new ParentSegmentPushCommand(),_0xb79a2d=program[_0x33cef7(0x2ca)](),_0x3bf034=await createTDXInstance(_0xb79a2d),_0x56ffd0=await _0x509735[_0x33cef7(0x1ef)]({'options':{..._0xb79a2d,..._0x400758},'args':_0x5154b1?[_0x5154b1]:[],'tdx':_0x3bf034});gracefulExit(_0x56ffd0);}),parentCmd[a2_0x3474ff(0x3ab)]('validate\x20[file]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x34d))[a2_0x3474ff(0x2cb)]('--master',a2_0x3474ff(0x2c6))['option'](a2_0x3474ff(0x3f2),a2_0x3474ff(0x1cf))[a2_0x3474ff(0x2cb)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1dd),a2_0x3474ff(0x365))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a7),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x3474ff(0x35b)](async(_0x12584b,_0x2e1eae)=>{const _0x25a112=a2_0x3474ff,_0x224ce4=new ParentSegmentValidateCommand(),_0x24ef29=program[_0x25a112(0x2ca)](),_0x174501=await createTDXInstance(_0x24ef29),_0x3a8504=await _0x224ce4['run']({'options':{..._0x24ef29,..._0x2e1eae},'args':_0x12584b?[_0x12584b]:[],'tdx':_0x174501});gracefulExit(_0x3a8504);}),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1ba))['description'](a2_0x3474ff(0x2b6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x295),a2_0x3474ff(0x1ff))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f2),a2_0x3474ff(0x32d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a6),a2_0x3474ff(0x2d9))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1dd),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a7),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3474ff(0x31c))[a2_0x3474ff(0x35b)](async(_0x2ecab9,_0x4b2c5c)=>{const _0x3c7626=a2_0x3474ff,_0x56e9f1=new ParentSegmentPreviewCommand(),_0x6fecae=program[_0x3c7626(0x2ca)](),_0x1748fd=await createTDXInstance(_0x6fecae),_0x516429=await _0x56e9f1[_0x3c7626(0x1ef)]({'options':{..._0x6fecae,..._0x4b2c5c},'args':_0x2ecab9?[_0x2ecab9]:[],'tdx':_0x1748fd});gracefulExit(_0x516429);}),parentCmd['command']('run\x20[name]')[a2_0x3474ff(0x2be)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](async(_0x352069,_0x12b712)=>{const _0x2892c0=a2_0x3474ff,_0x115cdf=new ParentSegmentRunCommand(),_0x516509=program[_0x2892c0(0x2ca)](),_0x6740f0=await createTDXInstance(_0x516509),_0x399e7b=await _0x115cdf['run']({'options':{..._0x516509,..._0x12b712},'args':_0x352069?[_0x352069]:[],'tdx':_0x6740f0});gracefulExit(_0x399e7b);});const parentSegmentCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x291))[a2_0x3474ff(0x38f)]('ps')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x281));parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2a8))['action'](parentListAction),parentSegmentCmd[a2_0x3474ff(0x3ab)]('pull\x20[name]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x400))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2ba),a2_0x3474ff(0x1e2))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x2cb)]('-u,\x20--use','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x3474ff(0x35b)](async(_0x24222e,_0x301e61)=>{const _0xc6ac0=a2_0x3474ff,_0x3fe54c=new ParentSegmentPullCommand(),_0x589ccf=program[_0xc6ac0(0x2ca)](),_0x1b2cd0=await createTDXInstance(_0x589ccf),_0x12d4c4=await _0x3fe54c[_0xc6ac0(0x1ef)]({'options':{..._0x589ccf,..._0x301e61},'args':_0x24222e?[_0x24222e]:[],'tdx':_0x1b2cd0});gracefulExit(_0x12d4c4);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x27d))[a2_0x3474ff(0x2be)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](async(_0x54a39e,_0x4d6e8c)=>{const _0x32a35c=new ParentSegmentPushCommand(),_0x21f427=program['opts'](),_0x32ffc0=await createTDXInstance(_0x21f427),_0x14a8dd=await _0x32a35c['run']({'options':{..._0x21f427,..._0x4d6e8c},'args':_0x54a39e?[_0x54a39e]:[],'tdx':_0x32ffc0});gracefulExit(_0x14a8dd);}),parentSegmentCmd['command'](a2_0x3474ff(0x39e))[a2_0x3474ff(0x2be)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option'](a2_0x3474ff(0x295),a2_0x3474ff(0x2c6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f2),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x3474ff(0x2a6),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1dd),a2_0x3474ff(0x365))[a2_0x3474ff(0x2cb)]('--interval\x20<range>',a2_0x3474ff(0x3c8),a2_0x3474ff(0x31c))[a2_0x3474ff(0x35b)](async(_0x455cc1,_0x51ea59)=>{const _0x2174aa=a2_0x3474ff,_0x7f8aab=new ParentSegmentValidateCommand(),_0x3eb726=program['opts'](),_0x40d1ef=await createTDXInstance(_0x3eb726),_0x10c44a=await _0x7f8aab[_0x2174aa(0x1ef)]({'options':{..._0x3eb726,..._0x51ea59},'args':_0x455cc1?[_0x455cc1]:[],'tdx':_0x40d1ef});gracefulExit(_0x10c44a);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x249))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2b6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x295),a2_0x3474ff(0x1ff))['option'](a2_0x3474ff(0x3f2),a2_0x3474ff(0x32d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a6),a2_0x3474ff(0x2d9))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1dd),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x3474ff(0x2a7),a2_0x3474ff(0x3c8),'-1d')[a2_0x3474ff(0x35b)](async(_0x2f7090,_0x249b7e)=>{const _0x372eaa=a2_0x3474ff,_0x468ae6=new ParentSegmentPreviewCommand(),_0x53710e=program[_0x372eaa(0x2ca)](),_0xfdb0ab=await createTDXInstance(_0x53710e),_0x219022=await _0x468ae6[_0x372eaa(0x1ef)]({'options':{..._0x53710e,..._0x249b7e},'args':_0x2f7090?[_0x2f7090]:[],'tdx':_0xfdb0ab});gracefulExit(_0x219022);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1e1))[a2_0x3474ff(0x2be)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](async(_0xa5ccac,_0x4f2316)=>{const _0x7bea72=a2_0x3474ff,_0x3247d4=new ParentSegmentRunCommand(),_0x3bfecf=program[_0x7bea72(0x2ca)](),_0x3b474b=await createTDXInstance(_0x3bfecf),_0x78494e=await _0x3247d4[_0x7bea72(0x1ef)]({'options':{..._0x3bfecf,..._0x4f2316},'args':_0xa5ccac?[_0xa5ccac]:[],'tdx':_0x3b474b});gracefulExit(_0x78494e);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x26d))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x337))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x370),a2_0x3474ff(0x24b))[a2_0x3474ff(0x2cb)]('--jsonl',a2_0x3474ff(0x2c1))['action'](async(_0x29cfb4,_0x47f238)=>{const _0x4948b2=new ParentSegmentFieldsCommand(),_0x31901c=program['opts'](),_0x4a9ae1=await createTDXInstance(_0x31901c),_0xb2261c=await _0x4948b2['run']({'options':{..._0x31901c,..._0x47f238},'args':_0x29cfb4?[_0x29cfb4]:[],'tdx':_0x4a9ae1});gracefulExit(_0xb2261c);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1d2))['description']('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2bf),a2_0x3474ff(0x42a))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x370),'Output\x20as\x20JSON')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3b4),a2_0x3474ff(0x2c1))['action'](async(_0x2ab383,_0x240839)=>{const _0x377a4e=a2_0x3474ff,_0x5efca0=new ParentSegmentViewCommand(),_0x49f9a7=program['opts'](),_0xeb6831=await createTDXInstance(_0x49f9a7),_0x384a2a=await _0x5efca0[_0x377a4e(0x1ef)]({'options':{..._0x49f9a7,..._0x240839},'args':_0x2ab383?[_0x2ab383]:[],'tdx':_0xeb6831});gracefulExit(_0x384a2a);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x39f))[a2_0x3474ff(0x2be)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2ba),'Output\x20file\x20path')['option'](a2_0x3474ff(0x370),a2_0x3474ff(0x24b))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3b4),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x1f4b7a,_0x159d39)=>{const _0x1011bb=a2_0x3474ff,_0x45c0ca=new ParentSegmentDescCommand(),_0x276a5f=program['opts'](),_0x59a6a2=await createTDXInstance(_0x276a5f),_0x1758d6=await _0x45c0ca[_0x1011bb(0x1ef)]({'options':{..._0x276a5f,..._0x159d39},'args':_0x1f4b7a?[_0x1f4b7a]:[],'tdx':_0x59a6a2});gracefulExit(_0x1758d6);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c6))['description'](a2_0x3474ff(0x404))[a2_0x3474ff(0x2cb)]('--json','Output\x20as\x20JSON')['option']('--jsonl',a2_0x3474ff(0x2c1))[a2_0x3474ff(0x35b)](async(_0x1d525e,_0x1903e5)=>{const _0x2e7657=a2_0x3474ff,_0x9086e9=new ParentSegmentSQLCommand(),_0x3ec3b2=program[_0x2e7657(0x2ca)](),_0x15f6e3=await createTDXInstance(_0x3ec3b2),_0x10b0b2=await _0x9086e9[_0x2e7657(0x1ef)]({'options':{..._0x3ec3b2,..._0x1903e5},'args':_0x1d525e?[_0x1d525e]:[],'tdx':_0x15f6e3});gracefulExit(_0x10b0b2);}),parentSegmentCmd['command']('show\x20[name]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x276))['option'](a2_0x3474ff(0x222),'Limit\x20number\x20of\x20rows')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x370),'Output\x20as\x20JSON')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3b4),a2_0x3474ff(0x2c1))[a2_0x3474ff(0x35b)](async(_0xc4d14c,_0x321d6b)=>{const _0x2fd8b5=a2_0x3474ff,_0x3f49a4=new ParentSegmentShowCommand(),_0x49b346=program[_0x2fd8b5(0x2ca)](),_0x20d1a1=await createTDXInstance(_0x49b346),_0x1ab89a=await _0x3f49a4[_0x2fd8b5(0x1ef)]({'options':{..._0x49b346,..._0x321d6b},'args':_0xc4d14c?[_0xc4d14c]:[],'tdx':_0x20d1a1});gracefulExit(_0x1ab89a);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3f3))['description'](a2_0x3474ff(0x29a))[a2_0x3474ff(0x35b)](async(_0x21f37a,_0x37413c)=>{const _0x7548be=a2_0x3474ff,_0x1d8645=new UseCommand(),_0x2591fd=program[_0x7548be(0x2ca)](),_0xe1e99c=_0x21f37a?['parent_segment',_0x21f37a]:[],_0x23147f=await _0x1d8645[_0x7548be(0x1ef)]({'options':{..._0x2591fd,..._0x37413c},'args':_0xe1e99c,'tdx':null});gracefulExit(_0x23147f);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x389));psRtCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x586f47,_0x3d28fa)=>{const _0x2e22ed=a2_0x3474ff,_0x317570=new PSRtListCommand(),_0x3714d4=program['opts'](),_0x2a9cb7=await createTDXInstance(_0x3714d4),_0x597005=await _0x317570[_0x2e22ed(0x1ef)]({'options':{..._0x3714d4,..._0x3d28fa},'args':_0x586f47?[_0x586f47]:[],'tdx':_0x2a9cb7});gracefulExit(_0x597005);}),psRtCmd['command']('validate\x20[name]')['description'](a2_0x3474ff(0x414))[a2_0x3474ff(0x35b)](async(_0x52352b,_0x30a266)=>{const _0x14c66b=a2_0x3474ff,_0x144330=new PSRtValidateCommand(),_0x5e7765=program[_0x14c66b(0x2ca)](),_0x16b7a7=await createTDXInstance(_0x5e7765),_0x2821a5=await _0x144330[_0x14c66b(0x1ef)]({'options':{..._0x5e7765,..._0x30a266},'args':_0x52352b?[_0x52352b]:[],'tdx':_0x16b7a7});gracefulExit(_0x2821a5);});const parentRtCmd=parentCmd[a2_0x3474ff(0x3ab)]('rt',{'hidden':!![]})['description']('RT\x202.0\x20configuration\x20management');parentRtCmd[a2_0x3474ff(0x3ab)]('list\x20[pattern]')[a2_0x3474ff(0x2be)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x8e810b,_0x22574c)=>{const _0xd1f132=a2_0x3474ff,_0x2d3a17=new PSRtListCommand(),_0x5dbe72=program[_0xd1f132(0x2ca)](),_0x310c1e=await createTDXInstance(_0x5dbe72),_0x3c3f10=await _0x2d3a17['run']({'options':{..._0x5dbe72,..._0x22574c},'args':_0x8e810b?[_0x8e810b]:[],'tdx':_0x310c1e});gracefulExit(_0x3c3f10);}),parentRtCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x39e))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x414))['action'](async(_0x2b9a09,_0x3d15b4)=>{const _0x3480b5=a2_0x3474ff,_0x670cce=new PSRtValidateCommand(),_0x56fb59=program[_0x3480b5(0x2ca)](),_0x4cd0df=await createTDXInstance(_0x56fb59),_0x2f315d=await _0x670cce[_0x3480b5(0x1ef)]({'options':{..._0x56fb59,..._0x3d15b4},'args':_0x2b9a09?[_0x2b9a09]:[],'tdx':_0x4cd0df});gracefulExit(_0x2f315d);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c5));psPzCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x41c))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2f4))[a2_0x3474ff(0x35b)](async(_0x20daeb,_0x145766)=>{const _0x370e30=a2_0x3474ff,_0x3e0ef0=new PSPzListCommand(),_0x14b739=program[_0x370e30(0x2ca)](),_0x1e9bd4=await createTDXInstance(_0x14b739),_0x1e2061=await _0x3e0ef0[_0x370e30(0x1ef)]({'options':{..._0x14b739,..._0x145766},'args':_0x20daeb?[_0x20daeb]:[],'tdx':_0x1e9bd4});gracefulExit(_0x1e2061);}),psPzCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x40a))[a2_0x3474ff(0x2be)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3474ff(0x35b)](async(_0x185f06,_0x39b0df)=>{const _0x59217b=a2_0x3474ff,_0x19c6d1=new PSPzInitCommand(),_0xdc01d1=program[_0x59217b(0x2ca)](),_0x5b8da6=await createTDXInstance(_0xdc01d1),_0x5e4641=await _0x19c6d1[_0x59217b(0x1ef)]({'options':{..._0xdc01d1,..._0x39b0df},'args':_0x185f06?[_0x185f06]:[],'tdx':_0x5b8da6});gracefulExit(_0x5e4641);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c5));parentPzCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x41c))[a2_0x3474ff(0x2be)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3474ff(0x35b)](async(_0x5d5a56,_0x1990fe)=>{const _0x371033=a2_0x3474ff,_0x5035df=new PSPzListCommand(),_0x1d5b73=program[_0x371033(0x2ca)](),_0x34dad4=await createTDXInstance(_0x1d5b73),_0x21d7db=await _0x5035df[_0x371033(0x1ef)]({'options':{..._0x1d5b73,..._0x1990fe},'args':_0x5d5a56?[_0x5d5a56]:[],'tdx':_0x34dad4});gracefulExit(_0x21d7db);}),parentPzCmd['command'](a2_0x3474ff(0x40a))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x40c))[a2_0x3474ff(0x35b)](async(_0x2ae283,_0x50901f)=>{const _0x38bc69=a2_0x3474ff,_0x2a2497=new PSPzInitCommand(),_0x456336=program[_0x38bc69(0x2ca)](),_0x2c3a98=await createTDXInstance(_0x456336),_0x201a71=await _0x2a2497[_0x38bc69(0x1ef)]({'options':{..._0x456336,..._0x50901f},'args':_0x2ae283?[_0x2ae283]:[],'tdx':_0x2c3a98});gracefulExit(_0x201a71);}),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2c2))[a2_0x3474ff(0x2be)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3474ff(0x23a)](a2_0x3474ff(0x233),a2_0x3474ff(0x314))[a2_0x3474ff(0x23a)]('--table\x20<table>',a2_0x3474ff(0x2da))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x285),a2_0x3474ff(0x319))['option'](a2_0x3474ff(0x3a0),a2_0x3474ff(0x362))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x40f),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x3474ff(0x2cb)]('--timezone\x20<tz>','Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1f4),'Attributes\x20as\x20JSON\x20string')[a2_0x3474ff(0x2cb)]('--attributes-file\x20<file>',a2_0x3474ff(0x3b9))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1be),a2_0x3474ff(0x2ea))['option'](a2_0x3474ff(0x419),a2_0x3474ff(0x1ee))['option'](a2_0x3474ff(0x3c9),a2_0x3474ff(0x1df))[a2_0x3474ff(0x2cb)]('--customer-group-file\x20<file>','Customer\x20group\x20from\x20JSON\x20file')[a2_0x3474ff(0x35b)](async(_0x443e7d,_0x4df3a7)=>{const _0x4b4c34=new ParentSegmentCreateCommand(),_0x3762a0=program['opts'](),_0x3f1757=await createTDXInstance(_0x3762a0),_0x114091=await _0x4b4c34['run']({'options':{..._0x3762a0,..._0x4df3a7},'args':[_0x443e7d],'tdx':_0x3f1757});gracefulExit(_0x114091);}),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x20d))['description']('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x285),a2_0x3474ff(0x328))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3a0),a2_0x3474ff(0x259))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x40f),a2_0x3474ff(0x224))['option'](a2_0x3474ff(0x420),a2_0x3474ff(0x412))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a9),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a5),a2_0x3474ff(0x208))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3e6),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x3474ff(0x2cb)]('--add-behaviors-file\x20<file>',a2_0x3474ff(0x2e4))['action'](async(_0x5c8051,_0x42aed1)=>{const _0x55d152=a2_0x3474ff,_0x575a04=new ParentSegmentUpdateCommand(),_0x39419=program[_0x55d152(0x2ca)](),_0x3c2c84=await createTDXInstance(_0x39419),_0x943616=await _0x575a04[_0x55d152(0x1ef)]({'options':{..._0x39419,..._0x42aed1},'args':[_0x5c8051],'tdx':_0x3c2c84});gracefulExit(_0x943616);}),folderCmd['command'](a2_0x3474ff(0x3da))[a2_0x3474ff(0x2be)]('Create\x20segment\x20folder')[a2_0x3474ff(0x2cb)]('--description\x20<text>',a2_0x3474ff(0x246))['option'](a2_0x3474ff(0x23b),a2_0x3474ff(0x2d3))[a2_0x3474ff(0x35b)](async(_0x4f22ad,_0x3ac09c,_0xd912a5)=>{const _0x11baf9=a2_0x3474ff,_0xffa469=new SegmentFolderCreateCommand(),_0x5615ce=program['opts'](),_0x4a784c=await createTDXInstance(_0x5615ce),_0x3ead93=await _0xffa469[_0x11baf9(0x1ef)]({'options':{..._0x5615ce,..._0xd912a5},'args':[_0x4f22ad,_0x3ac09c],'tdx':_0x4a784c});gracefulExit(_0x3ead93);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3a6))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x283))[a2_0x3474ff(0x35b)](async(_0x43c014,_0x4fae2e)=>{const _0x5c1d19=a2_0x3474ff,_0xe61853=new ActivationsCommand(),_0x3d1ad0=program[_0x5c1d19(0x2ca)](),_0x4c17e8=await createTDXInstance(_0x3d1ad0),_0x4610f5=await _0xe61853[_0x5c1d19(0x1ef)]({'options':{..._0x3d1ad0,..._0x4fae2e},'args':[_0x43c014],'tdx':_0x4c17e8});gracefulExit(_0x4610f5);});const workflowCmd=program[a2_0x3474ff(0x3ab)]('workflow')['alias']('wf')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x28a)),wfProjectCmd=workflowCmd[a2_0x3474ff(0x3ab)]('project')['description'](a2_0x3474ff(0x2db)),wfProjectListAction=async(_0xa32438,_0x184679)=>{const _0x3de50c=a2_0x3474ff,_0x3a6118=new WorkflowProjectsCommand(),_0x44c86f=program['opts'](),_0x561890=await createTDXInstance(_0x44c86f),_0x244062=await _0x3a6118[_0x3de50c(0x1ef)]({'options':{..._0x44c86f,..._0x184679},'args':_0xa32438?[_0xa32438]:[],'tdx':_0x561890});gracefulExit(_0x244062);};wfProjectCmd[a2_0x3474ff(0x3ab)]('list\x20[pattern]')[a2_0x3474ff(0x2be)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3474ff(0x35b)](wfProjectListAction),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x27c))['description'](a2_0x3474ff(0x263))[a2_0x3474ff(0x35b)](wfProjectListAction);const wfWorkflowListAction=async(_0x2562f9,_0x204c50)=>{const _0x430688=a2_0x3474ff,_0x5284f7=new WorkflowWorkflowsCommand(),_0x2ffd87=program[_0x430688(0x2ca)](),_0x1ab8b4=await createTDXInstance(_0x2ffd87),_0x3d9eb=await _0x5284f7['run']({'options':{..._0x2ffd87,..._0x204c50},'args':_0x2562f9?[_0x2562f9]:[],'tdx':_0x1ab8b4});gracefulExit(_0x3d9eb);};workflowCmd['command'](a2_0x3474ff(0x3af))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3b7))[a2_0x3474ff(0x35b)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3474ff(0x3ab)]('session')['description']('Workflow\x20session\x20management'),wfSessionListAction=async(_0xc9fcac,_0x2e189c)=>{const _0x4bce95=a2_0x3474ff,_0x23033d=new WorkflowSessionsCommand(),_0x743053=program['opts'](),_0x284030=await createTDXInstance(_0x743053),_0x671a0=await _0x23033d[_0x4bce95(0x1ef)]({'options':{..._0x743053,..._0x2e189c},'args':_0xc9fcac?[_0xc9fcac]:[],'tdx':_0x284030});gracefulExit(_0x671a0);};wfSessionCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1d8))['description'](a2_0x3474ff(0x3d0))['option'](a2_0x3474ff(0x363),a2_0x3474ff(0x35d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3ac),a2_0x3474ff(0x27e))[a2_0x3474ff(0x2cb)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction),workflowCmd['command'](a2_0x3474ff(0x215))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x410))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x363),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3ac),a2_0x3474ff(0x27e))[a2_0x3474ff(0x2cb)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x3474ff(0x35b)](wfSessionListAction);const wfAttemptListAction=async(_0x49f76f,_0x5c5aee)=>{const _0x3c39c1=a2_0x3474ff,_0x5c0dc1=new WorkflowAttemptsCommand(),_0x48313e=program['opts'](),_0x2eae5d=await createTDXInstance(_0x48313e),_0x3a69cb=await _0x5c0dc1[_0x3c39c1(0x1ef)]({'options':{..._0x48313e,..._0x5c5aee},'args':_0x49f76f?[_0x49f76f]:[],'tdx':_0x2eae5d});gracefulExit(_0x3a69cb);},attemptCmd=workflowCmd['command'](a2_0x3474ff(0x422))['description'](a2_0x3474ff(0x31b))[a2_0x3474ff(0x239)](a2_0x3474ff(0x3ee),'Attempt\x20ID')[a2_0x3474ff(0x239)]('[action]',a2_0x3474ff(0x41f))[a2_0x3474ff(0x239)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1f5),a2_0x3474ff(0x30e))['option'](a2_0x3474ff(0x227),a2_0x3474ff(0x2bc))['option']('--resume-from\x20<task>',a2_0x3474ff(0x31e))['option']('--params\x20<json>',a2_0x3474ff(0x408))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2ce),a2_0x3474ff(0x378))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x28c),a2_0x3474ff(0x1bb))[a2_0x3474ff(0x35b)](async(_0x2b2b16,_0x451248,_0x23ff8b,_0x580b68)=>{const _0x3974a0=a2_0x3474ff;if(_0x2b2b16==='list'){await wfAttemptListAction(_0x451248,_0x580b68);return;}if(!_0x2b2b16){attemptCmd[_0x3974a0(0x39c)]();return;}const _0x7d9c18=program[_0x3974a0(0x2ca)](),_0x1023f1=await createTDXInstance(_0x7d9c18);let _0x5ecc59=0x0;if(!_0x451248){const _0x38008d=new WorkflowAttemptCommand();_0x5ecc59=await _0x38008d[_0x3974a0(0x1ef)]({'options':{..._0x7d9c18,..._0x580b68},'args':[_0x2b2b16],'tdx':_0x1023f1});}else{if(_0x451248===_0x3974a0(0x204)){const _0x1fa8e6=new WorkflowLogsCommand();_0x5ecc59=await _0x1fa8e6['run']({'options':{..._0x7d9c18,..._0x580b68},'args':_0x23ff8b?[_0x2b2b16,_0x23ff8b]:[_0x2b2b16],'tdx':_0x1023f1});}else{if(_0x451248===_0x3974a0(0x1d9)){const _0x2fed5d=new WorkflowTasksCommand();_0x5ecc59=await _0x2fed5d[_0x3974a0(0x1ef)]({'options':{..._0x7d9c18,..._0x580b68},'args':[_0x2b2b16],'tdx':_0x1023f1});}else{if(_0x451248==='kill'){const _0x2815f5=new WorkflowKillCommand();_0x5ecc59=await _0x2815f5['run']({'options':{..._0x7d9c18,..._0x580b68},'args':[_0x2b2b16],'tdx':_0x1023f1});}else{if(_0x451248===_0x3974a0(0x338)){const _0x3c7463=new WorkflowRetryCommand();_0x5ecc59=await _0x3c7463[_0x3974a0(0x1ef)]({'options':{..._0x7d9c18,..._0x580b68},'args':['attempt:'+_0x2b2b16],'tdx':_0x1023f1});}else console[_0x3974a0(0x289)](_0x3974a0(0x3fe)+_0x451248),console[_0x3974a0(0x289)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x5ecc59=0x1;}}}}gracefulExit(_0x5ecc59);});attemptCmd[a2_0x3474ff(0x3ab)]('list\x20[project]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1da))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x28c),a2_0x3474ff(0x26f))['action'](wfAttemptListAction),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x25f))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x292))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x28c),a2_0x3474ff(0x26f))[a2_0x3474ff(0x35b)](wfAttemptListAction),workflowCmd['command']('timeline\x20[project.workflow]')[a2_0x3474ff(0x2be)]('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')['option'](a2_0x3474ff(0x347),a2_0x3474ff(0x1cb))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x221),a2_0x3474ff(0x2ee))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x33f),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x3474ff(0x35b)](async(_0x1870ff,_0x273733)=>{const _0x40aef7=a2_0x3474ff,_0x8caf91=new WorkflowTimelineCommand(),_0x4c2f87=program[_0x40aef7(0x2ca)](),_0x380954=await createTDXInstance(_0x4c2f87),_0x6f44c=await _0x8caf91['run']({'options':{..._0x4c2f87,..._0x273733},'args':_0x1870ff?[_0x1870ff]:[],'tdx':_0x380954});gracefulExit(_0x6f44c);}),workflowCmd[a2_0x3474ff(0x3ab)]('retry\x20<session-id>')['description'](a2_0x3474ff(0x2b9))['option']('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2d1),a2_0x3474ff(0x379))['action'](async(_0x5460a4,_0x19ff73)=>{const _0x407971=a2_0x3474ff,_0x1ef5d7=new WorkflowRetryCommand(),_0x5d3966=program['opts'](),_0xbf155c=await createTDXInstance(_0x5d3966),_0x55da84=await _0x1ef5d7[_0x407971(0x1ef)]({'options':{..._0x5d3966,..._0x19ff73},'args':[_0x5460a4],'tdx':_0xbf155c});gracefulExit(_0x55da84);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2e0))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2c4))[a2_0x3474ff(0x2cb)]('--param\x20<key=value>',a2_0x3474ff(0x418),(_0x27692d,_0x1a757e=[])=>[..._0x1a757e,_0x27692d],[])[a2_0x3474ff(0x2cb)]('--session-time\x20<time>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x3474ff(0x35b)](async(_0x2eb872,_0x276eef)=>{const _0xe01d56=a2_0x3474ff,_0x2e9441=new WorkflowRunCommand(),_0x6cb49d=program[_0xe01d56(0x2ca)](),_0x4bef00=await createTDXInstance(_0x6cb49d),_0x546d60=await _0x2e9441['run']({'options':{..._0x6cb49d,..._0x276eef},'args':_0x2eb872?[_0x2eb872]:[],'tdx':_0x4bef00});gracefulExit(_0x546d60);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3a7))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x426))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x265),a2_0x3474ff(0x3ea))['action'](async(_0x197e5d,_0x1f5b8e,_0x5d4a18)=>{const _0x1db416=a2_0x3474ff,_0x5cbb41=new WorkflowDownloadCommand(),_0x1d0b59=program[_0x1db416(0x2ca)](),_0x2e747f=await createTDXInstance(_0x1d0b59),_0x556240=await _0x5cbb41[_0x1db416(0x1ef)]({'options':{..._0x1d0b59,..._0x5d4a18},'args':[_0x197e5d,_0x1f5b8e||'.'],'tdx':_0x2e747f});gracefulExit(_0x556240);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1eb))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3dd))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x265),a2_0x3474ff(0x3c6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),a2_0x3474ff(0x252))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')[a2_0x3474ff(0x35b)](async(_0x1e3aeb,_0x2b8914,_0x44a842)=>{const _0x3f0b19=a2_0x3474ff,_0x35476b=new WorkflowPullCommand(),_0x1ec773=program[_0x3f0b19(0x2ca)](),_0x53199e=await createTDXInstance(_0x1ec773),_0x354f25=await _0x35476b[_0x3f0b19(0x1ef)]({'options':{..._0x1ec773,..._0x44a842},'args':_0x2b8914?[_0x1e3aeb,_0x2b8914]:[_0x1e3aeb],'tdx':_0x53199e});gracefulExit(_0x354f25);}),workflowCmd[a2_0x3474ff(0x3ab)]('push\x20[source-dir]')['description'](a2_0x3474ff(0x39a))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x265),a2_0x3474ff(0x2fd))[a2_0x3474ff(0x2cb)]('--dry-run','Preview\x20changes\x20without\x20pushing')[a2_0x3474ff(0x2cb)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')['option'](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')[a2_0x3474ff(0x35b)](async(_0x37a239,_0x2ddd4d)=>{const _0x49d07d=a2_0x3474ff,_0x5c5589=new WorkflowPushCommand(),_0x182ca9=program[_0x49d07d(0x2ca)](),_0x245ca9=await createTDXInstance(_0x182ca9),_0x32fd21=await _0x5c5589[_0x49d07d(0x1ef)]({'options':{..._0x182ca9,..._0x2ddd4d},'args':_0x37a239?[_0x37a239]:[],'tdx':_0x245ca9});gracefulExit(_0x32fd21);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x253))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x325))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f7),a2_0x3474ff(0x209))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x265),a2_0x3474ff(0x2e1))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3bc),a2_0x3474ff(0x3b3))[a2_0x3474ff(0x35b)](async(_0x3d01db,_0x3ba8e9)=>{const _0x13bdc3=a2_0x3474ff,_0x24b56c=new WorkflowUploadCommand(),_0x40a7b7=program['opts'](),_0x43d713=await createTDXInstance(_0x40a7b7),_0x573670=await _0x24b56c[_0x13bdc3(0x1ef)]({'options':{..._0x40a7b7,..._0x3ba8e9},'args':_0x3d01db?[_0x3d01db]:[],'tdx':_0x43d713});gracefulExit(_0x573670);}),workflowCmd[a2_0x3474ff(0x3ab)]('clone\x20[source-dir]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x21d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f7),a2_0x3474ff(0x364))[a2_0x3474ff(0x2cb)]('--revision\x20<revision>',a2_0x3474ff(0x2fd))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),'Preview\x20without\x20creating\x20the\x20project')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3bc),a2_0x3474ff(0x3b3))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](async(_0x18f87c,_0x48ca32)=>{const _0x4a35ab=a2_0x3474ff,_0x1a5be6=new WorkflowCloneCommand(),_0x69557f=program[_0x4a35ab(0x2ca)](),_0x2a729f=await createTDXInstance(_0x69557f),_0x822c89=await _0x1a5be6[_0x4a35ab(0x1ef)]({'options':{..._0x69557f,..._0x48ca32},'args':_0x18f87c?[_0x18f87c]:[],'tdx':_0x2a729f});gracefulExit(_0x822c89);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3eb))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3fb))[a2_0x3474ff(0x35b)](async(_0x45ac52,_0x3485fe)=>{const _0x14d5a1=a2_0x3474ff,_0x53a283=new WorkflowDeleteCommand(),_0x1e54e4=program[_0x14d5a1(0x2ca)](),_0x44b160=await createTDXInstance(_0x1e54e4),_0x48150a=await _0x53a283[_0x14d5a1(0x1ef)]({'options':{..._0x1e54e4,..._0x3485fe},'args':[_0x45ac52],'tdx':_0x44b160});gracefulExit(_0x48150a);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x234))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x20e))[a2_0x3474ff(0x2cb)]('--clear','Clear\x20workflow\x20project\x20context')[a2_0x3474ff(0x35b)](async(_0x39c108,_0x293890)=>{const _0x5442f1=a2_0x3474ff,_0x47792e=new WorkflowUseCommand(),_0x5ecc58=program[_0x5442f1(0x2ca)](),_0x286cc0=await createTDXInstance(_0x5ecc58),_0x398498=await _0x47792e[_0x5442f1(0x1ef)]({'options':{..._0x5ecc58,..._0x293890},'args':_0x39c108?[_0x39c108]:[],'tdx':_0x286cc0});gracefulExit(_0x398498);});const wfSecretsCmd=workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x394))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x387));wfSecretsCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1d8))['description'](a2_0x3474ff(0x242))['action'](async(_0x33e335,_0x87a283)=>{const _0x3679f0=a2_0x3474ff,_0x2fc72c=new WorkflowSecretsListCommand(),_0xd3a275=program['opts'](),_0x1862fa=await createTDXInstance(_0xd3a275),_0x13bae7=await _0x2fc72c[_0x3679f0(0x1ef)]({'options':{..._0xd3a275,..._0x87a283},'args':_0x33e335?[_0x33e335]:[],'tdx':_0x1862fa});gracefulExit(_0x13bae7);}),wfSecretsCmd[a2_0x3474ff(0x3ab)]('set\x20<args...>')[a2_0x3474ff(0x2be)]('Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)')[a2_0x3474ff(0x35b)](async(_0x21ed73,_0x29252a)=>{const _0x2b4d9e=a2_0x3474ff,_0x4ee1f2=new WorkflowSecretsSetCommand(),_0x3b3e72=program[_0x2b4d9e(0x2ca)](),_0x4b4f22=await createTDXInstance(_0x3b3e72),_0x378263=await _0x4ee1f2[_0x2b4d9e(0x1ef)]({'options':{..._0x3b3e72,..._0x29252a},'args':_0x21ed73,'tdx':_0x4b4f22});gracefulExit(_0x378263);}),wfSecretsCmd['command'](a2_0x3474ff(0x251))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1d6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')['action'](async(_0x3ef952,_0x22f32f)=>{const _0x46b648=a2_0x3474ff,_0x3fe24a=new WorkflowSecretsDeleteCommand(),_0x2c651d=program[_0x46b648(0x2ca)](),_0x3d6a22=await createTDXInstance(_0x2c651d),_0x1c4596=await _0x3fe24a['run']({'options':{..._0x2c651d,..._0x22f32f},'args':_0x3ef952,'tdx':_0x3d6a22});gracefulExit(_0x1c4596);});const jobCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3aa))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x326)),jobListAction=async _0xa87de3=>{const _0x466c18=a2_0x3474ff,_0x2db37b=new JobListCommand(),_0x22d435=program['opts'](),_0x5e409c=await createTDXInstance(_0x22d435),_0x534379=await _0x2db37b[_0x466c18(0x1ef)]({'options':{..._0x22d435,..._0xa87de3},'args':[],'tdx':_0x5e409c});gracefulExit(_0x534379);};jobCmd[a2_0x3474ff(0x3ab)]('list')['description'](a2_0x3474ff(0x290))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x363),a2_0x3474ff(0x1c7))[a2_0x3474ff(0x35b)](jobListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x38e),{'hidden':!![]})[a2_0x3474ff(0x2be)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x363),a2_0x3474ff(0x1c7))[a2_0x3474ff(0x35b)](jobListAction),jobCmd[a2_0x3474ff(0x3ab)]('show\x20<job-id>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2c9))[a2_0x3474ff(0x35b)](async(_0x43eb85,_0x1c65a1)=>{const _0x47eec6=a2_0x3474ff,_0x1fb43c=new JobShowCommand(),_0x25d67a=program[_0x47eec6(0x2ca)](),_0x650c71=await createTDXInstance(_0x25d67a),_0x41350e=await _0x1fb43c[_0x47eec6(0x1ef)]({'options':{..._0x25d67a,..._0x1c65a1},'args':[_0x43eb85],'tdx':_0x650c71});gracefulExit(_0x41350e);}),jobCmd[a2_0x3474ff(0x3ab)]('kill\x20<job-id>')[a2_0x3474ff(0x2be)]('Kill\x20a\x20job')['action'](async(_0x419e53,_0x4096f9)=>{const _0x4b92f9=a2_0x3474ff,_0x200bdb=new JobKillCommand(),_0x2099c7=program[_0x4b92f9(0x2ca)](),_0x590e1=await createTDXInstance(_0x2099c7),_0x169817=await _0x200bdb[_0x4b92f9(0x1ef)]({'options':{..._0x2099c7,..._0x4096f9},'args':[_0x419e53],'tdx':_0x590e1});gracefulExit(_0x169817);}),jobCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x396))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x37e))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x342),a2_0x3474ff(0x260),a2_0x3474ff(0x3c1))['option'](a2_0x3474ff(0x262),a2_0x3474ff(0x271))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x213),a2_0x3474ff(0x278),a2_0x3474ff(0x216))[a2_0x3474ff(0x35b)](async(_0x5d758f,_0x301140)=>{const _0xa7a6f9=a2_0x3474ff,_0x2231e0=new JobSubmitCommand(),_0x542233=program[_0xa7a6f9(0x2ca)](),_0x17e260=await createTDXInstance(_0x542233),_0x4f9be6=await _0x2231e0[_0xa7a6f9(0x1ef)]({'options':{..._0x542233,..._0x301140},'args':_0x5d758f?[_0x5d758f]:[],'tdx':_0x17e260});gracefulExit(_0x4f9be6);}),jobCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2cd))[a2_0x3474ff(0x2be)]('Get\x20job\x20results')['action'](async(_0x310d4c,_0x1de0d2)=>{const _0x371c44=a2_0x3474ff,_0x2332f9=new JobResultCommand(),_0x57b8f9=program['opts'](),_0x16b91e=await createTDXInstance(_0x57b8f9),_0x25d7d2=await _0x2332f9[_0x371c44(0x1ef)]({'options':{..._0x57b8f9,..._0x1de0d2},'args':[_0x310d4c],'tdx':_0x16b91e});gracefulExit(_0x25d7d2);});const scheduleCmd=jobCmd['command']('schedule')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x435));scheduleCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))['description'](a2_0x3474ff(0x21f))[a2_0x3474ff(0x35b)](async(_0x13fcc0,_0x48d61d)=>{const _0x52cc5d=a2_0x3474ff,_0x1dd559=new ScheduleListCommand(),_0x597896=program[_0x52cc5d(0x2ca)](),_0x1acc09=await createTDXInstance(_0x597896),_0x468ab4=await _0x1dd559[_0x52cc5d(0x1ef)]({'options':{..._0x597896,..._0x48d61d},'args':_0x13fcc0?[_0x13fcc0]:[],'tdx':_0x1acc09});gracefulExit(_0x468ab4);}),scheduleCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x430))[a2_0x3474ff(0x2be)]('Show\x20schedule\x20details')[a2_0x3474ff(0x35b)](async(_0x1bfe8f,_0x29c260)=>{const _0x389c9f=a2_0x3474ff,_0xf11e36=new ScheduleShowCommand(),_0x348901=program[_0x389c9f(0x2ca)](),_0x4b13ca=await createTDXInstance(_0x348901),_0x3c465a=await _0xf11e36[_0x389c9f(0x1ef)]({'options':{..._0x348901,..._0x29c260},'args':[_0x1bfe8f],'tdx':_0x4b13ca});gracefulExit(_0x3c465a);}),scheduleCmd['command'](a2_0x3474ff(0x2c2))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x343))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x310),a2_0x3474ff(0x324))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x262),'Read\x20query\x20from\x20file')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x416),a2_0x3474ff(0x33d),a2_0x3474ff(0x3c1))['option']('--cron\x20<expression>',a2_0x3474ff(0x29e))[a2_0x3474ff(0x2cb)]('--timezone\x20<tz>',a2_0x3474ff(0x202))[a2_0x3474ff(0x2cb)]('--delay\x20<seconds>',a2_0x3474ff(0x1bc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38d),a2_0x3474ff(0x2bd))['option']('--retry-limit\x20<0~32>',a2_0x3474ff(0x250))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x22d),a2_0x3474ff(0x2bb))['option'](a2_0x3474ff(0x30f),a2_0x3474ff(0x30d))[a2_0x3474ff(0x35b)](async(_0x3ad387,_0x3dddae)=>{const _0x54bef7=a2_0x3474ff,_0x292c27=new ScheduleCreateCommand(),_0x594acd=program[_0x54bef7(0x2ca)](),_0x1b7829=await createTDXInstance(_0x594acd),_0x1893ff=await _0x292c27[_0x54bef7(0x1ef)]({'options':{..._0x594acd,..._0x3dddae},'args':[_0x3ad387],'tdx':_0x1b7829});gracefulExit(_0x1893ff);}),scheduleCmd['command']('update\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2ae))['option'](a2_0x3474ff(0x310),a2_0x3474ff(0x324))[a2_0x3474ff(0x2cb)]('-f,\x20--file\x20<path>',a2_0x3474ff(0x271))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x416),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x3474ff(0x2cb)]('--cron\x20<expression>',a2_0x3474ff(0x29e))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x420),a2_0x3474ff(0x301))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2d8),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38d),a2_0x3474ff(0x2bd))[a2_0x3474ff(0x2cb)]('--retry-limit\x20<0~32>',a2_0x3474ff(0x250))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x22d),'Query\x20engine\x20version')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x30f),a2_0x3474ff(0x30d))[a2_0x3474ff(0x35b)](async(_0x3e63c2,_0x53ac15)=>{const _0x1b1eac=a2_0x3474ff,_0x17ecd9=new ScheduleUpdateCommand(),_0x7b6389=program['opts'](),_0x570024=await createTDXInstance(_0x7b6389),_0x33fa11=await _0x17ecd9[_0x1b1eac(0x1ef)]({'options':{..._0x7b6389,..._0x53ac15},'args':[_0x3e63c2],'tdx':_0x570024});gracefulExit(_0x33fa11);}),scheduleCmd['command'](a2_0x3474ff(0x41d))['description'](a2_0x3474ff(0x36b))['action'](async(_0x5e19b5,_0x281954)=>{const _0x4900ad=a2_0x3474ff,_0xe29ac=new ScheduleDeleteCommand(),_0x27f428=program[_0x4900ad(0x2ca)](),_0x4bd162=await createTDXInstance(_0x27f428),_0x568ff2=await _0xe29ac[_0x4900ad(0x1ef)]({'options':{..._0x27f428,..._0x281954},'args':[_0x5e19b5],'tdx':_0x4bd162});gracefulExit(_0x568ff2);}),scheduleCmd[a2_0x3474ff(0x3ab)]('run\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x21c))['option'](a2_0x3474ff(0x2fb),a2_0x3474ff(0x40d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x33a),a2_0x3474ff(0x288))[a2_0x3474ff(0x35b)](async(_0x12b1db,_0x3ab3c0)=>{const _0x4d6a54=new ScheduleRunCommand(),_0x320242=program['opts'](),_0x4418d4=await createTDXInstance(_0x320242),_0x1ac703=await _0x4d6a54['run']({'options':{..._0x320242,..._0x3ab3c0},'args':[_0x12b1db],'tdx':_0x4418d4});gracefulExit(_0x1ac703);}),scheduleCmd[a2_0x3474ff(0x3ab)]('history\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2ef))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x212),a2_0x3474ff(0x307))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2d5),a2_0x3474ff(0x34a))[a2_0x3474ff(0x35b)](async(_0x4881e1,_0x136bbb)=>{const _0x63b870=a2_0x3474ff,_0x216906=new ScheduleHistoryCommand(),_0x3ec714=program['opts'](),_0x46a5cd=await createTDXInstance(_0x3ec714),_0x35000d=await _0x216906[_0x63b870(0x1ef)]({'options':{..._0x3ec714,..._0x136bbb},'args':[_0x4881e1],'tdx':_0x46a5cd});gracefulExit(_0x35000d);});const llmCmd=program[a2_0x3474ff(0x3ab)]('llm')[a2_0x3474ff(0x2be)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x33b))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x329))[a2_0x3474ff(0x35b)](async(_0x123e62,_0x417a83)=>{const _0x2cb87e=a2_0x3474ff,_0x4c9a60=new LLMUseCommand(),_0x5623e2=program[_0x2cb87e(0x2ca)](),_0xdd0de6=await createTDXInstance(_0x5623e2),_0x2aaeae=await _0x4c9a60[_0x2cb87e(0x1ef)]({'options':{..._0x5623e2,..._0x417a83},'args':[_0x123e62],'tdx':_0xdd0de6});gracefulExit(_0x2aaeae);}),llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3e3))['description']('List\x20available\x20LLM\x20models')[a2_0x3474ff(0x35b)](async _0x220fa0=>{const _0x32b597=a2_0x3474ff,_0x47dfa5=new LLMModelsCommand(),_0x585457=program[_0x32b597(0x2ca)](),_0x57fbe4=await createTDXInstance(_0x585457),_0x319540=await _0x47dfa5[_0x32b597(0x1ef)]({'options':{..._0x585457,..._0x220fa0},'args':[],'tdx':_0x57fbe4});gracefulExit(_0x319540);});const projectCmd=llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3ff))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1f1)),llmProjectListAction=async(_0x370f04,_0x1b2dc4)=>{const _0x3bda0b=a2_0x3474ff,_0x459b27=new LLMProjectsCommand(),_0x69f16a=program[_0x3bda0b(0x2ca)](),_0x814647=await createTDXInstance(_0x69f16a),_0x554057=await _0x459b27[_0x3bda0b(0x1ef)]({'options':{..._0x69f16a,..._0x1b2dc4},'args':_0x370f04?[_0x370f04]:[],'tdx':_0x814647});gracefulExit(_0x554057);};projectCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x3474ff(0x35b)](llmProjectListAction),llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x27c))[a2_0x3474ff(0x2be)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x3474ff(0x35b)](llmProjectListAction),projectCmd[a2_0x3474ff(0x3ab)]('create\x20<name>')[a2_0x3474ff(0x2be)]('Create\x20a\x20new\x20LLM\x20project')['option']('--description\x20<text>',a2_0x3474ff(0x3e7))[a2_0x3474ff(0x35b)](async(_0x1cd85e,_0x479584)=>{const _0x959fc0=a2_0x3474ff,_0x293dca=new LLMProjectCreateCommand(),_0x1a86db=program[_0x959fc0(0x2ca)](),_0x4b42a4=await createTDXInstance(_0x1a86db),_0x3b6546=await _0x293dca[_0x959fc0(0x1ef)]({'options':{..._0x1a86db,..._0x479584},'args':[_0x1cd85e],'tdx':_0x4b42a4});gracefulExit(_0x3b6546);}),projectCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x41d))[a2_0x3474ff(0x2be)]('Delete\x20an\x20LLM\x20project')[a2_0x3474ff(0x35b)](async(_0x5995c7,_0x218bd7)=>{const _0xc6eb0d=new LLMProjectDeleteCommand(),_0x322b35=program['opts'](),_0x38fbd3=await createTDXInstance(_0x322b35),_0x22929a=await _0xc6eb0d['run']({'options':{..._0x322b35,..._0x218bd7},'args':[_0x5995c7],'tdx':_0x38fbd3});gracefulExit(_0x22929a);}),projectCmd['command']('backup\x20<name>')[a2_0x3474ff(0x2be)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')['option']('-o,\x20--output\x20<folder>','Output\x20folder\x20(default:\x20{project_name}.llm)')['option'](a2_0x3474ff(0x38a),a2_0x3474ff(0x349))[a2_0x3474ff(0x35b)](async(_0x53f306,_0x5705b1)=>{const _0x523713=a2_0x3474ff,_0x1e3347=new LLMProjectBackupCommand(),_0x28fbfe=program[_0x523713(0x2ca)](),_0xd0d6a6=await createTDXInstance(_0x28fbfe),_0x2dbb8b=await _0x1e3347[_0x523713(0x1ef)]({'options':{..._0x28fbfe,..._0x5705b1},'args':[_0x53f306],'tdx':_0xd0d6a6});gracefulExit(_0x2dbb8b);}),projectCmd[a2_0x3474ff(0x3ab)]('restore\x20<folder>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x29d))['option'](a2_0x3474ff(0x20b),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x3474ff(0x2cb)]('--dry-run',a2_0x3474ff(0x27f))[a2_0x3474ff(0x35b)](async(_0x910599,_0x2b1e5c)=>{const _0x299ba0=a2_0x3474ff,_0x219047=new LLMProjectRestoreCommand(),_0x1ffc01=program[_0x299ba0(0x2ca)](),_0x185ecb=await createTDXInstance(_0x1ffc01),_0x5cdda0=await _0x219047[_0x299ba0(0x1ef)]({'options':{..._0x1ffc01,..._0x2b1e5c},'args':[_0x910599],'tdx':_0x185ecb});gracefulExit(_0x5cdda0);});const llmAgentListAction=async(_0x3cf93f,_0x98422d)=>{const _0x3c9c7c=a2_0x3474ff,_0x23ff39=new LLMAgentsCommand(),_0x470bc9=program[_0x3c9c7c(0x2ca)](),_0x55eb2b=await createTDXInstance(_0x470bc9),_0x3e56eb=await _0x23ff39[_0x3c9c7c(0x1ef)]({'options':{..._0x470bc9,..._0x98422d},'args':_0x3cf93f?[_0x3cf93f]:[],'tdx':_0x55eb2b});gracefulExit(_0x3e56eb);};llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x24e))[a2_0x3474ff(0x2be)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x3474ff(0x35b)](llmAgentListAction),program[a2_0x3474ff(0x3ab)]('agents\x20[pattern]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3db))[a2_0x3474ff(0x35b)](llmAgentListAction),llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x401))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x427))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x36a),a2_0x3474ff(0x3a2))[a2_0x3474ff(0x35b)](async(_0x56535f,_0x3dd894)=>{const _0x3135ef=a2_0x3474ff,_0x120c5f=new LLMHistoryCommand(),_0x5a214a=program[_0x3135ef(0x2ca)](),_0x5f09aa=await createTDXInstance(_0x5a214a),_0x2be03d=await _0x120c5f['run']({'options':{..._0x5a214a,..._0x3dd894},'args':_0x56535f?[_0x56535f]:[],'tdx':_0x5f09aa});gracefulExit(_0x2be03d);});function a2_0x34c3(){const _0x14e83b=['Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','--no-count-population','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','action','view\x20<name-or-path>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Create\x20a\x20new\x20campaign','--reeval','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','beefree','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--status\x20<status>','Name\x20for\x20the\x20new\x20project\x20(required)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','profile','isTTY','1271700cuIurc','campaigns\x20[pattern]','--last','Delete\x20a\x20scheduled\x20query','4drTzis','0.7','Show\x20agent\x20details','gitRevision','--json',',\x20version\x20','Show\x20workspace\x20details','catch','Export\x20journey(s)\x20as\x20YAML\x20files','pull\x20[name]','AI-native\x20CLI\x20for\x20Treasure\x20Data','Path\x20is\x20not\x20a\x20directory:\x20','Force\x20retry\x20even\x20if\x20not\x20failed','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Arguments:','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Submit\x20a\x20job','us01','--editor-type\x20<type>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Segment\x20description','registeredArguments','--html\x20<html>','allowExcessArguments','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Manage\x20workflow\x20project\x20secrets','Workspace\x20name\x20(required)','RT\x202.0\x20configuration\x20management','--dry-run','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','launch\x20<name-or-id>','--priority\x20<-2~2>','jobs','alias','--limit\x20<number>','--starter-message\x20<text>','Pause\x20a\x20running\x20journey','map','secrets','describe\x20[table]','submit\x20[query]','Push\x20without\x20confirmation','--output\x20<file>','workspaces\x20[pattern]','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','grapesjs','help','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','validate\x20[name]','desc\x20[name]','--schedule-type\x20<type>','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','update\x20<segment_name>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','activations\x20<segment_name>','download\x20<project-name>\x20[output-dir]','stats\x20<name-or-path>','Open\x20segment\x20in\x20web\x20browser','job','command','--from\x20<timestamp>','connections','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','workflows\x20[project]','join','chat\x20[message...]','Show\x20connection\x20details\x20by\x20name','Skip\x20validation\x20of\x20.dig\x20files','--jsonl','List\x20journeys\x20in\x20current\x20context','push\x20[parent_or_file]','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Change\x20to\x20directory\x20before\x20executing\x20command','Attributes\x20from\x20JSON\x20file','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Output\x20directory','--skip-validation','--model\x20<name>','Maximum\x20tool\x20iterations\x20(default:\x204)','subcommandDescription','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','trino','--start-at\x20<datetime>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Personalization\x20service\x20management','Pull\x20specific\x20revision\x20(default:\x20latest)','-p,\x20--profile\x20<name>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--customer-group\x20<json>','commandDescription','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','padEnd','_hidden','parents\x20[pattern]','database','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Skip\x20confirmation\x20prompts','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','list\x20[pattern]','campaign','-r,\x20--recursive','-X,\x20--method\x20<method>','Database\x20management\x20commands','show\x20<agent-name>','after','create\x20<parent_name>\x20<folder_name>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','-y,\x20--yes','Pull\x20workflow\x20project\x20to\x20local\x20folder','validate\x20[target]','INVALID_ARGUMENT','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','journey','Show\x20journey\x20statistics','models','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','--add-behaviors\x20<json>','Project\x20description','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','preAction','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','delete\x20<project-name-or-id>','createAsync','outputHelp','[attempt-id]','--max-depth\x20<depth>','optionDescription','folders\x20<parent_name>','--attribute\x20[name]','use\x20[name]','--description\x20<desc>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','New\x20campaign\x20name','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','\x20-\x20built\x20','Output\x20file\x20path\x20(default:\x20<name>.yml)','Validate\x20journey\x20YAML\x20files\x20locally','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--site\x20<site>','--max-tool-iterations\x20<n>','Unknown\x20action:\x20','project','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','history\x20[chat-id]','addHelpText','noColor','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','--rule\x20<json>','--folder\x20<name>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Plaintext\x20template\x20content','init\x20[name]','--session\x20<id>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','push\x20[file]','--schedule-option\x20<value>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a','Updated\x20timezone','engage','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','-d,\x20--database\x20<database>','--type\x20<type>','Run\x20tests\x20for\x20an\x20LLM\x20agent','Workflow\x20parameter\x20(repeatable)','--behaviors-file\x20<file>','Options:','--json-columns\x20<cols>','list\x20[name]','delete\x20<name>','filter','Action:\x20logs,\x20tasks,\x20kill,\x20retry','--timezone\x20<tz>','--workspace\x20<name>','attempt','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','tdx','Show\x20the\x20most\x20recent\x20chat','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','List\x20all\x20data\x20connections','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Open\x20parent\x20segment\x20in\x20web\x20browser','tables\x20[pattern]','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Resume\x20a\x20paused\x20journey','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--delete','show\x20<name>','Run\x20Trino\x20query\x20with\x20streaming\x20results','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','pull\x20[project]\x20[agent-name]','Scheduled\x20query\x20management\x20commands','-d,\x20--database\x20<name>','List\x20available\x20connector\x20types','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','preview\x20[file]','Include\x20retried\x20attempts\x20(for\x20list)','Delay\x20in\x20seconds\x20before\x20execution','table','--behaviors\x20<json>','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','create\x20<segment_name>','Delete\x20a\x20campaign','list','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Update\x20a\x20workspace','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','sql\x20[name]','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','-f,\x20--force','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','slice','Follow/watch\x20timeline\x20for\x20running\x20attempts','Setup\x20API\x20key\x20authentication\x20interactively','32KFSCox','Campaign\x20name','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','json','Delete\x20a\x20workspace','view\x20[name]','Overwrite\x20local\x20changes\x20without\x20confirmation','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Create\x20a\x20new\x20profile','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Generate\x20test\x20conversations\x20without\x20evaluation','list\x20[project]','tasks','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','jsonl','GET','--enriched','--stage\x20<name>','Customer\x20group\x20as\x20JSON\x20string','Show\x20campaign\x20details','run\x20[name]','Output\x20file\x20path','--version','HTML\x20template\x20content','\x20(resolved\x20to\x20','--default','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','INFO','api\x20[endpoint]','aliases','pull\x20<project>\x20[target-dir]','Campaign\x20type\x20(email\x20or\x20push)','chats','Behaviors\x20from\x20JSON\x20file','run','Show\x20authentication\x20status\x20and\x20current\x20context','LLM\x20project\x20management','--no-eval','Open\x20journey\x20in\x20web\x20browser','--attributes\x20<json>','--include-subtasks','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','format','flatMap','length','includes','commands','auth','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','list\x20[path]','Show\x20master\x20table\x20sample\x20data','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Delete\x20an\x20email\x20template','Timezone\x20for\x20cron\x20(default:\x20UTC)','users','logs','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Authentication\x20management','111460YvDNKN','Add\x20attributes\x20from\x20JSON\x20file','Override\x20project\x20name','site','--name\x20<new-name>','Agent\x20prompt/instructions','update\x20<name>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','folder','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--from\x20<n>','--database\x20<name>','isDirectory','sessions\x20[project]','information_schema','14QRqnpz','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Save\x20output\x20to\x20file','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Run\x20a\x20scheduled\x20query\x20immediately','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','737214shaPUv','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','List\x20all\x20users\x20in\x20the\x20account','--session-id\x20<id>','--limit\x20<n>','Usage:\x20','Updated\x20schedule\x20option','use\x20[resource]\x20[value]','--new','--reason\x20<text>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','clear','--color','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','--engine-version\x20<version>','tsv','status','Email\x20subject\x20template','Database\x20to\x20query\x20(default:\x20information_schema)','log\x20<chat-id>','--database\x20<db>','use\x20[project]','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Set\x20operation\x20timeout\x20in\x20seconds','databases\x20[pattern]','Delete\x20an\x20agent','argument','requiredOption','--parent-folder\x20<name>','--name\x20<text>','Include\x20execution\x20statistics','--no-color','Invalid\x20editor\x20type:\x20','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','view\x20[segment_name]','List\x20secret\x20keys\x20for\x20a\x20project','segments\x20[path]','\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','--agent\x20<ref>','Folder\x20description','update\x20<agent-name>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','preview\x20[name]','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Output\x20as\x20JSON','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','show\x20<folder_ref>','agents\x20[pattern]','Read\x20SQL\x20query\x20from\x20file','Retry\x20limit\x20(0\x20to\x2032)','delete\x20<args...>','Preview\x20changes\x20without\x20writing\x20files','upload\x20[project-name-or-dir]','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','resume\x20<name-or-path>','LLM\x20agent\x20management','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','-n,\x20--name\x20<name>','Trino\x20catalog\x20(default:\x20td)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Run\x20specific\x20tests\x20(comma-separated)','attempts\x20[project]','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','push','-f,\x20--file\x20<path>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','delete\x20<agent-name>','--revision\x20<revision>','tdx\x20','buildTime','--chat-id\x20<id>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Clear\x20session\x20context','usage','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','fields\x20[name]','--segment\x20<path>','Include\x20retried\x20attempts','Agent\x20description','Read\x20query\x20from\x20file','apiKey','workspace','Create\x20an\x20email\x20template','Move\x20to\x20folder','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Database\x20name\x20(default:\x20information_schema)','--system-prompt\x20<text>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','-o,\x20--output\x20<dir>','projects\x20[pattern]','push\x20[name]','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','desc','Parent\x20segment\x20management','user','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--description\x20<text>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','show\x20[table]','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','error','Workflow\x20(Digdag)\x20management\x20commands','Create\x20a\x20workspace','--include-retried','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','describe','Update\x20a\x20campaign','List\x20jobs','parent-segment','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','CDP\x20segment\x20management\x20commands','List\x20all\x20available\x20profiles','--master','Maximum\x20recursion\x20depth\x20(default:\x2010)','Request\x20body\x20as\x20JSON\x20string','Workspace\x20description','System\x20prompt/instructions\x20(default:\x20empty)','Set\x20or\x20show\x20parent\x20segment\x20context','fields\x20[parent_name]','Filtering\x20rule\x20from\x20JSON\x20file','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Cron\x20expression\x20for\x20scheduling','--yes','841672oinadi','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','DEBUG','Resume\x20a\x20conversation\x20(shows\x20selector)','templates\x20[pattern]','--add-attributes-file\x20<file>','--behavior\x20[name]','--interval\x20<range>','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--add-attributes\x20<json>','Parse\x20and\x20validate\x20without\x20executing','delete\x20<name-or-id>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','use\x20<name>','Update\x20a\x20scheduled\x20query','settings\x20<type>','--in\x20<database>','duplicate\x20<name-or-id>','Database\x20to\x20use\x20(overrides\x20context)','query\x20[sql]','--kind\x20<type>','Duplicate\x20a\x20campaign','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Filtering\x20rule\x20as\x20JSON\x20string','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','-o,\x20--output\x20<file>','Query\x20engine\x20version','Reason\x20for\x20killing\x20the\x20attempt','Job\x20priority\x20(-2\x20to\x202)','description','-w,\x20--web','New\x20segment\x20name','Output\x20as\x20JSON\x20Lines','create\x20<name>','summary','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','directory','Show\x20only\x20master\x20table\x20validation','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Agent\x20name','Show\x20job\x20details','opts','option','Workspace\x20name','result\x20<job-id>','--force','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--in\x20<name>','--params\x20<json>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Parent\x20folder\x20name\x20for\x20nested\x20folders','set','--to\x20<n>','Show\x20segment\x20schema\x20(column\x20types)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--delay\x20<seconds>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Master\x20table\x20name','Workflow\x20project\x20management','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Interactive\x20chat\x20selector','injectIntoOptions','--email-sender-id\x20<id>','run\x20[workflow]','Revision\x20name\x20(default:\x20timestamp)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','286848UyqHUz','Add\x20behaviors\x20from\x20JSON\x20file','segment','Email\x20sender\x20ID\x20for\x20delivery','--full','hook','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Behaviors\x20as\x20JSON\x20string','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Pause\x20a\x20campaign','Skip\x20confirmation\x20prompt','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Show\x20schedule\x20execution\x20history','update\x20<name-or-id>','argv','Launch\x20a\x20campaign','Show\x20journey\x20details','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','clone\x20[source]','--name\x20<name>','--no-proxy','Email\x20template\x20management','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--time\x20<iso8601>','-C,\x20--directory\x20<path>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','List\x20agents\x20in\x20current\x20project','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Timezone\x20for\x20cron','trace','logLevel','create','show\x20<name-or-id>','Campaign\x20description','Starting\x20offset\x20(default:\x200)','--catalog\x20<catalog>','statusline','--stream','set\x20<key=value>','--trace','Result\x20output\x20destination\x20URL','Include\x20subtasks\x20in\x20tasks\x20output','--result\x20<url>','-d,\x20--database\x20<db>','forEach','Enable\x20verbose\x20logging','--type\x20<api_type>','Master\x20database\x20name','colorFn','-v,\x20--verbose','--prompt\x20<text>','unset\x20<resource>','Parent\x20segment\x20description','Skip\x20population\x20counting','Workflow\x20attempt\x20management','-1d','push\x20[target]','Resume\x20from\x20specific\x20task\x20(retry)','desc\x20[segment_name]','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Database\x20name','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Job\x20management\x20commands','name','Updated\x20description','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','create\x20[name]','--subject\x20<subject>','exit','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','options','optionTerm','--format\x20<format>','[DEPRECATED]\x20Segment\x20folder\x20management','Starter\x20message','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','connection','commandUsage','CDP\x20Journey\x20Orchestration\x20commands','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','retry','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','--num\x20<1-10>','use\x20<project-name>','parse','Query\x20type:\x20trino\x20or\x20hive','pause\x20<name-or-path>','--attempt-id\x20<id>','claude-4.5-sonnet','80520SWYXGK','--job-type\x20<type>','Create\x20a\x20scheduled\x20query','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','stdout','124936pegxKe','--follow','argumentDescription','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Ending\x20offset\x20(default:\x2020)','--rule-file\x20<file>','--clear','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','mcp','Update\x20an\x20email\x20template','Read\x20request\x20body\x20from\x20file','Start\x20a\x20new\x20chat\x20session','TRACE','setup','[options]\x20--\x20[claude-code-args...]','subcommandTerm','journeys\x20[pattern]','--tsv'];a2_0x34c3=function(){return _0x14e83b;};return a2_0x34c3();}isExperimentalAvailable()&&llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x232))[a2_0x3474ff(0x2be)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')['action'](async(_0x8e929c,_0x1ed1e9)=>{const _0x4c63e0=a2_0x3474ff,_0x184228=new LLMLogCommand(),_0x36f510=program[_0x4c63e0(0x2ca)](),_0x47d084=await createTDXInstance(_0x36f510),_0x4f2108=await _0x184228[_0x4c63e0(0x1ef)]({'options':{..._0x36f510,..._0x1ed1e9},'args':[_0x8e929c],'tdx':_0x47d084});gracefulExit(_0x4f2108);});program[a2_0x3474ff(0x3ab)]('claude\x20[args...]')[a2_0x3474ff(0x26b)](a2_0x3474ff(0x354))[a2_0x3474ff(0x2be)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x3474ff(0x2cb)]('-c,\x20--continue','Continue\x20most\x20recent\x20conversation')[a2_0x3474ff(0x2cb)]('-r,\x20--resume',a2_0x3474ff(0x2a3))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f8),a2_0x3474ff(0x277))['allowUnknownOption']()[a2_0x3474ff(0x385)](!![])[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),a2_0x3474ff(0x322))[a2_0x3474ff(0x35b)](async(_0x369bdf,_0x5e1810)=>{const _0x113761=a2_0x3474ff,_0x2fbb23=program[_0x113761(0x2ca)](),_0x40d158=Array['isArray'](_0x369bdf)?_0x369bdf:[];if(_0x40d158[0x0]===_0x113761(0x309)){const _0x4ad40d=new ClaudeStatuslineCommand(),_0xfcad42=await _0x4ad40d[_0x113761(0x1ef)]({'options':{..._0x2fbb23,..._0x5e1810},'args':_0x40d158[_0x113761(0x1ca)](0x1),'tdx':null});gracefulExit(_0xfcad42);}if(_0x40d158[0x0]===_0x113761(0x26b)){const _0x5c0dba=new ClaudeUsageCommand(),_0x470be2=await _0x5c0dba['run']({'options':{..._0x2fbb23,..._0x5e1810},'args':_0x40d158[_0x113761(0x1ca)](0x1),'tdx':null});gracefulExit(_0x470be2);}const _0x54eb74=new ClaudeCommand(),_0x2b8a39=await createTDXInstance(_0x2fbb23),_0x3fe5df=await _0x54eb74[_0x113761(0x1ef)]({'options':{..._0x2fbb23,..._0x5e1810},'args':_0x40d158,'tdx':_0x2b8a39});gracefulExit(_0x3fe5df);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x225))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x323))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x34c),a2_0x3474ff(0x26a))[a2_0x3474ff(0x2cb)]('--default',a2_0x3474ff(0x228))['action'](async(_0x2ceed3,_0x33a26f,_0x28d993)=>{const _0x36d77c=new UseCommand(),_0x1877c5=program['opts'](),_0x1cf7b3=[];if(_0x2ceed3)_0x1cf7b3['push'](_0x2ceed3);if(_0x33a26f)_0x1cf7b3['push'](_0x33a26f);const _0xe0b576=await _0x36d77c['run']({'options':{..._0x1877c5,..._0x28d993},'args':_0x1cf7b3,'tdx':null});gracefulExit(_0xe0b576);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x22f))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1f0))['action'](async _0x148e7b=>{const _0x34c192=a2_0x3474ff,_0x54624a=new StatusCommand(),_0x5362dd=program['opts'](),_0x203597=await createTDXInstance(_0x5362dd),_0x5bce15=await _0x54624a[_0x34c192(0x1ef)]({'options':{..._0x5362dd,..._0x148e7b},'args':[],'tdx':_0x203597});gracefulExit(_0x5bce15);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x318))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3e0))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1e6),a2_0x3474ff(0x21b))[a2_0x3474ff(0x35b)](async(_0x230573,_0x5c26f9)=>{const _0x27fbca=a2_0x3474ff,_0x32a34b=new UnsetCommand(),_0x1ce9b2=program[_0x27fbca(0x2ca)](),_0x532614=await _0x32a34b['run']({'options':{..._0x1ce9b2,..._0x5c26f9},'args':[_0x230573],'tdx':null});gracefulExit(_0x532614);}),program['command'](a2_0x3474ff(0x1ed))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2dd))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x36a),a2_0x3474ff(0x425))['action'](async _0x402f26=>{const _0x224022=a2_0x3474ff,_0x427d58=new ChatsCommand(),_0x640716=program[_0x224022(0x2ca)](),_0x48d407=await createTDXInstance(_0x640716),_0x28da99=await _0x427d58[_0x224022(0x1ef)]({'options':{..._0x640716,..._0x402f26},'args':[],'tdx':_0x48d407});gracefulExit(_0x28da99);});const authCmd=program['command'](a2_0x3474ff(0x1fc))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x206));async function runAuthStatusCommand(_0x3b832c){const _0x3ed7a6=a2_0x3474ff,_0x28fb11=new AuthStatusCommand(),_0x6d2e04=program[_0x3ed7a6(0x2ca)](),_0x3118ca=await createTDXInstance(_0x6d2e04),_0x53ab09=await _0x28fb11['run']({'options':{..._0x6d2e04,..._0x3b832c},'args':[],'tdx':_0x3118ca});gracefulExit(_0x53ab09);}authCmd[a2_0x3474ff(0x35b)](runAuthStatusCommand),authCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x22f))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x39d))[a2_0x3474ff(0x35b)](runAuthStatusCommand),authCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x353))['description'](a2_0x3474ff(0x1cc))[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),a2_0x3474ff(0x24c))[a2_0x3474ff(0x35b)](async _0xaca96c=>{const _0x299b28=a2_0x3474ff,_0x173edb=new AuthSetupCommand(),_0x5a17ba=program[_0x299b28(0x2ca)](),_0x1024ab=await createTDXInstance(_0x5a17ba),_0x152f9a=await _0x173edb[_0x299b28(0x1ef)]({'options':{..._0x5a17ba,..._0xaca96c},'args':[],'tdx':_0x1024ab});gracefulExit(_0x152f9a);}),authCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x229))['description']('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x3474ff(0x3d9),a2_0x3474ff(0x244))[a2_0x3474ff(0x35b)](async _0x45d80d=>{const _0x41ce3c=a2_0x3474ff,_0x846922=new AuthClearCommand(),_0x3367c4=program['opts'](),_0x2df897=await _0x846922[_0x41ce3c(0x1ef)]({'options':{..._0x3367c4,..._0x45d80d},'args':[],'tdx':null});gracefulExit(_0x2df897);});const userCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x282))[a2_0x3474ff(0x2be)]('User\x20management\x20commands'),userListAction=async _0x5c3c9c=>{const _0x556d02=new UserListCommand(),_0x259841=program['opts'](),_0x3d1492=await createTDXInstance(_0x259841),_0x1bfd9e=await _0x556d02['run']({'options':{..._0x259841,..._0x5c3c9c},'args':[],'tdx':_0x3d1492});gracefulExit(_0x1bfd9e);};userCmd[a2_0x3474ff(0x35b)](async _0xe345e8=>{const _0xc1b845=a2_0x3474ff,_0xdd3151=new UserCommand(),_0x414360=program['opts'](),_0x1b5bd3=await createTDXInstance(_0x414360),_0x581b96=await _0xdd3151[_0xc1b845(0x1ef)]({'options':{..._0x414360,..._0xe345e8},'args':[],'tdx':_0x1b5bd3});gracefulExit(_0x581b96);}),userCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c2))['description'](a2_0x3474ff(0x220))[a2_0x3474ff(0x35b)](userListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x203))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x386))[a2_0x3474ff(0x35b)](userListAction),program[a2_0x3474ff(0x3ab)]('profiles')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x294))['action'](async _0x58829a=>{const _0x353890=a2_0x3474ff,_0xee02f7=new ProfilesCommand(),_0x50419f=program[_0x353890(0x2ca)](),_0x1e0299=await _0xee02f7[_0x353890(0x1ef)]({'options':{..._0x50419f,..._0x58829a},'args':[],'tdx':null});gracefulExit(_0x1e0299);});const profileCmd=program['command'](a2_0x3474ff(0x366))['description']('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd['action'](()=>{const _0x2fda76=a2_0x3474ff;profileCmd[_0x2fda76(0x3ed)]();});const profileListAction=async _0x2e3bc9=>{const _0xd1b4e0=a2_0x3474ff,_0x13e6ba=new ProfilesCommand(),_0x28fd47=program['opts'](),_0x1ed26a=await _0x13e6ba[_0xd1b4e0(0x1ef)]({'options':{..._0x28fd47,..._0x2e3bc9},'args':[],'tdx':null});gracefulExit(_0x1ed26a);};profileCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c2))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x294))['action'](profileListAction),profileCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x32a))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1d5))[a2_0x3474ff(0x402)]('after',a2_0x3474ff(0x3d2))[a2_0x3474ff(0x35b)](async(_0x8b91a2,_0x5912c0)=>{const _0x1ded17=a2_0x3474ff,_0x49bf42=new ProfileCreateCommand(),_0x5f440a=program[_0x1ded17(0x2ca)](),_0x3315a9=await _0x49bf42[_0x1ded17(0x1ef)]({'options':{..._0x5f440a,..._0x5912c0},'args':_0x8b91a2?[_0x8b91a2]:[],'tdx':null});gracefulExit(_0x3315a9);}),profileCmd[a2_0x3474ff(0x3ab)]('remove\x20<name>')['description']('Remove\x20a\x20profile')['addHelpText']('after',a2_0x3474ff(0x339))[a2_0x3474ff(0x35b)](async(_0x501827,_0x4d9057)=>{const _0x468005=a2_0x3474ff,_0x430ed5=new ProfileRemoveCommand(),_0x4bdadb=program[_0x468005(0x2ca)](),_0x5bc1b7=await _0x430ed5['run']({'options':{..._0x4bdadb,..._0x4d9057},'args':[_0x501827],'tdx':null});gracefulExit(_0x5bc1b7);}),profileCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x30b))['description']('Set\x20a\x20profile\x20configuration\x20value')[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),'\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')['action'](async(_0x381877,_0x385e29)=>{const _0x59c803=a2_0x3474ff,_0x183c72=new ProfileSetCommand(),_0x2a7560=program[_0x59c803(0x2ca)](),_0x20134b=await _0x183c72[_0x59c803(0x1ef)]({'options':{..._0x2a7560,..._0x385e29},'args':[_0x381877],'tdx':null});gracefulExit(_0x20134b);}),profileCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2ad))['description'](a2_0x3474ff(0x269))[a2_0x3474ff(0x2cb)]('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['addHelpText'](a2_0x3474ff(0x3d9),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a')[a2_0x3474ff(0x35b)](async(_0x1d00c5,_0x37fa3d)=>{const _0x52f304=a2_0x3474ff,_0x190fd3=new ProfileUseCommand(),_0x15268e=program[_0x52f304(0x2ca)](),_0x3771a0=await _0x190fd3[_0x52f304(0x1ef)]({'options':{..._0x15268e,..._0x37fa3d},'args':[_0x1d00c5],'tdx':null});gracefulExit(_0x3771a0);});const engageCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x413))['description'](a2_0x3474ff(0x3e4)),createEngageAction=_0x30b340=>{return async(_0x4d3e49,_0x48e18d)=>{const _0x511928=a2_0x120a,_0x331438=new _0x30b340(),_0x3cc0fe=program[_0x511928(0x2ca)](),_0x3cdc80=await createTDXInstance(_0x3cc0fe),_0x1e4f79=await _0x331438[_0x511928(0x1ef)]({'options':{..._0x3cc0fe,..._0x48e18d},'args':[_0x4d3e49],'tdx':_0x3cdc80});gracefulExit(_0x1e4f79);};},createEngageNoArgAction=_0x4455d6=>{return async _0x5d8172=>{const _0x4cde87=a2_0x120a,_0x30a6ff=new _0x4455d6(),_0x47cf42=program[_0x4cde87(0x2ca)](),_0x9dd427=await createTDXInstance(_0x47cf42),_0x2cbcbb=await _0x30a6ff[_0x4cde87(0x1ef)]({'options':{..._0x47cf42,..._0x5d8172},'args':[],'tdx':_0x9dd427});gracefulExit(_0x2cbcbb);};},campaignCmd=engageCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d4))[a2_0x3474ff(0x2be)]('Campaign\x20management'),campaignListAction=async(_0x169dfa,_0x24a98b)=>{const _0x466147=a2_0x3474ff,_0x4e1032=new EngageCampaignsCommand(),_0x52390a=program[_0x466147(0x2ca)](),_0x252fae=await createTDXInstance(_0x52390a),_0x9a87c0=await _0x4e1032[_0x466147(0x1ef)]({'options':{..._0x52390a,..._0x24a98b},'args':_0x169dfa?[_0x169dfa]:[],'tdx':_0x252fae});gracefulExit(_0x9a87c0);};campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x3474ff(0x2cb)]('--type\x20<type>',a2_0x3474ff(0x2b7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x363),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3474ff(0x2cb)]('--workspace\x20<name>',a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](campaignListAction),engageCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x369))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x25a))['option'](a2_0x3474ff(0x416),a2_0x3474ff(0x2b7))['option'](a2_0x3474ff(0x363),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](campaignListAction),campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x305))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1e0))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2e7),a2_0x3474ff(0x2f5))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3474ff(0x3ab)]('create')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x35e))['requiredOption']('--name\x20<name>',a2_0x3474ff(0x1ce))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x416),a2_0x3474ff(0x1ec))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),'Workspace\x20name\x20(required)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f4),a2_0x3474ff(0x306))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x26e),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x3474ff(0x2cb)]('--email-sender-id\x20<id>',a2_0x3474ff(0x2e6))[a2_0x3474ff(0x2cb)]('--json-columns\x20<cols>',a2_0x3474ff(0x2d7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3c2),a2_0x3474ff(0x381))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x420),a2_0x3474ff(0x35a))['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3474ff(0x3ab)]('update\x20<name-or-id>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x28f))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),'Workspace\x20name')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f7),a2_0x3474ff(0x3f6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f4),a2_0x3474ff(0x306))['option'](a2_0x3474ff(0x26e),a2_0x3474ff(0x1f6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2df),a2_0x3474ff(0x2e6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x41b),a2_0x3474ff(0x2d7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3c2),a2_0x3474ff(0x381))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x420),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2ab))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1c1))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x29f),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x38c))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2f2))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),'Workspace\x20name')[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command']('pause\x20<name-or-id>')['description'](a2_0x3474ff(0x2ec))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command']('resume\x20<name-or-id>')['description']('Resume\x20a\x20paused\x20campaign')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2b1))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2b5))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x3474ff(0x3ab)]('template')['description'](a2_0x3474ff(0x2f9)),templateListAction=async(_0x5b29b3,_0x1f716d)=>{const _0x388665=a2_0x3474ff,_0x4b48aa=new EngageTemplatesCommand(),_0x48c389=program['opts'](),_0x16a6e1=await createTDXInstance(_0x48c389),_0x15194a=await _0x4b48aa[_0x388665(0x1ef)]({'options':{..._0x48c389,..._0x1f716d},'args':_0x5b29b3?[_0x5b29b3]:[],'tdx':_0x16a6e1});gracefulExit(_0x15194a);};templateCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')['option']('--workspace\x20<name>',a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](templateListAction),engageCmd['command'](a2_0x3474ff(0x2a4))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x433))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](templateListAction),templateCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x305))[a2_0x3474ff(0x2be)]('Show\x20email\x20template\x20details')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x3474ff(0x35b)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x304))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x274))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x2f7),'Template\x20name')[a2_0x3474ff(0x23a)](a2_0x3474ff(0x32b),a2_0x3474ff(0x230))['requiredOption'](a2_0x3474ff(0x384),a2_0x3474ff(0x1e4))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x388))[a2_0x3474ff(0x2cb)]('--plaintext\x20<text>',a2_0x3474ff(0x409))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x380),a2_0x3474ff(0x1bf),_0x5b880b=>{const _0x51cc38=a2_0x3474ff;if(![_0x51cc38(0x361),_0x51cc38(0x39b)][_0x51cc38(0x1fa)](_0x5b880b))throw new SDKError(ErrorCode[_0x51cc38(0x3df)],_0x51cc38(0x23f)+_0x5b880b+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x5b880b;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2f0))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x34f))['option'](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f7),'New\x20template\x20name')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x32b),a2_0x3474ff(0x230))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x384),a2_0x3474ff(0x1e4))[a2_0x3474ff(0x2cb)]('--plaintext\x20<text>',a2_0x3474ff(0x409))[a2_0x3474ff(0x35b)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x3474ff(0x2ab))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x201))[a2_0x3474ff(0x2cb)]('--workspace\x20<name>','Workspace\x20name')[a2_0x3474ff(0x2cb)]('--yes',a2_0x3474ff(0x2ed))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x273))['description']('Workspace\x20management'),workspaceListAction=async(_0xafc629,_0x19c2fd)=>{const _0x6c2605=a2_0x3474ff,_0x4294d0=new EngageWorkspacesCommand(),_0x556499=program[_0x6c2605(0x2ca)](),_0x1025f7=await createTDXInstance(_0x556499),_0x52ae13=await _0x4294d0[_0x6c2605(0x1ef)]({'options':{..._0x556499,..._0x19c2fd},'args':_0xafc629?[_0xafc629]:[],'tdx':_0x1025f7});gracefulExit(_0x52ae13);};workspaceCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))['description'](a2_0x3474ff(0x2eb))['action'](workspaceListAction),engageCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x399))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x37d))[a2_0x3474ff(0x35b)](workspaceListAction),workspaceCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x305))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x372))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2e7),a2_0x3474ff(0x2f5))[a2_0x3474ff(0x35b)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3474ff(0x3ab)]('create')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x28b))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x2f7),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f4),a2_0x3474ff(0x298))[a2_0x3474ff(0x35b)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2f0))['description'](a2_0x3474ff(0x1c4))[a2_0x3474ff(0x2cb)]('--name\x20<name>','New\x20workspace\x20name')[a2_0x3474ff(0x2cb)]('--description\x20<desc>',a2_0x3474ff(0x298))[a2_0x3474ff(0x35b)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x3474ff(0x2ab))['description'](a2_0x3474ff(0x1d1))[a2_0x3474ff(0x2cb)]('--yes',a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3474ff(0x3ab)]('use\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x360))[a2_0x3474ff(0x35b)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x334))[a2_0x3474ff(0x2be)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x3e7cc4=>{const _0xe2a2ec=a2_0x3474ff,_0x30c4f8=new ConnectionListCommand(),_0x4a50d6=program[_0xe2a2ec(0x2ca)](),_0x145ed8=await createTDXInstance(_0x4a50d6),_0x4845bb=await _0x30c4f8[_0xe2a2ec(0x1ef)]({'options':{..._0x4a50d6,..._0x3e7cc4},'args':[],'tdx':_0x145ed8});gracefulExit(_0x4845bb);};connectionCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c2))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x428))['action'](connectionListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3ad),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2fa))['action'](connectionListAction),connectionCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x430))['description'](a2_0x3474ff(0x3b2))[a2_0x3474ff(0x35b)](async(_0x2434bf,_0x572f26)=>{const _0x5f2277=a2_0x3474ff,_0x253704=new ConnectionShowCommand(),_0x440a85=program['opts'](),_0x465090=await createTDXInstance(_0x440a85),_0x4a4f76=await _0x253704[_0x5f2277(0x1ef)]({'options':{..._0x440a85,..._0x572f26},'args':[_0x2434bf],'tdx':_0x465090});gracefulExit(_0x4a4f76);}),connectionCmd[a2_0x3474ff(0x3ab)]('schema\x20<type>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x300))[a2_0x3474ff(0x35b)](async(_0xc8517c,_0x59e054)=>{const _0x29ecc8=a2_0x3474ff,_0x419218=new ConnectionSchemaCommand(),_0x20c5d5=program[_0x29ecc8(0x2ca)](),_0x32c9bf=await createTDXInstance(_0x20c5d5),_0x1563c4=await _0x419218[_0x29ecc8(0x1ef)]({'options':{..._0x20c5d5,..._0x59e054},'args':[_0xc8517c],'tdx':_0x32c9bf});gracefulExit(_0x1563c4);}),connectionCmd[a2_0x3474ff(0x3ab)]('types')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x437))['action'](async _0x3b8254=>{const _0x3e130f=a2_0x3474ff,_0x506424=new ConnectionTypesCommand(),_0x5b6102=program[_0x3e130f(0x2ca)](),_0x7a8ae4=await createTDXInstance(_0x5b6102),_0x30b2bb=await _0x506424[_0x3e130f(0x1ef)]({'options':{..._0x5b6102,..._0x3b8254},'args':[],'tdx':_0x7a8ae4});gracefulExit(_0x30b2bb);}),connectionCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2af))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x27a))[a2_0x3474ff(0x35b)](async(_0x22c574,_0x1acacb)=>{const _0x332434=a2_0x3474ff,_0x3b6269=new ConnectionSettingsCommand(),_0x41e050=program[_0x332434(0x2ca)](),_0x4dab30=await createTDXInstance(_0x41e050),_0x53621c=await _0x3b6269[_0x332434(0x1ef)]({'options':{..._0x41e050,..._0x1acacb},'args':[_0x22c574],'tdx':_0x4dab30});gracefulExit(_0x53621c);});const journeyCmd=program['command'](a2_0x3474ff(0x3e1))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x336)),journeyListAction=async(_0x57b9ed,_0x3cdbae)=>{const _0x961e6b=a2_0x3474ff,_0xcdef88=new JourneyListCommand(),_0x45760b=program[_0x961e6b(0x2ca)](),_0x217a7c=await createTDXInstance(_0x45760b),_0x103075=await _0xcdef88[_0x961e6b(0x1ef)]({'options':{..._0x45760b,..._0x3cdbae},'args':_0x57b9ed?[_0x57b9ed]:[],'tdx':_0x217a7c});gracefulExit(_0x103075);};journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3b5))[a2_0x3474ff(0x35b)](journeyListAction),journeyCmd['command'](a2_0x3474ff(0x35c))['description'](a2_0x3474ff(0x2f3))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2bf),a2_0x3474ff(0x1f3))[a2_0x3474ff(0x2cb)]('--include-stats',a2_0x3474ff(0x23d))['action'](async(_0x466693,_0x3163d1)=>{const _0x1c4456=new JourneyViewCommand(),_0x31c32f=program['opts'](),_0xfe1897=await createTDXInstance(_0x31c32f),_0x803319=await _0x1c4456['run']({'options':{..._0x31c32f,..._0x3163d1},'args':[_0x466693],'tdx':_0xfe1897});gracefulExit(_0x803319);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3a8))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3e2))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1de),'Show\x20stats\x20for\x20specific\x20stage')['action'](async(_0x39bf81,_0x52c759)=>{const _0x5eaa11=a2_0x3474ff,_0x311b59=new JourneyStatsCommand(),_0x373bbd=program[_0x5eaa11(0x2ca)](),_0x53c209=await createTDXInstance(_0x373bbd),_0x16d408=await _0x311b59[_0x5eaa11(0x1ef)]({'options':{..._0x373bbd,..._0x52c759},'args':[_0x39bf81],'tdx':_0x53c209});gracefulExit(_0x16d408);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x33e))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x392))[a2_0x3474ff(0x35b)](async(_0x53236b,_0x474cce)=>{const _0x27910e=a2_0x3474ff,_0x1998c0=new JourneyPauseCommand(),_0x579a2b=program[_0x27910e(0x2ca)](),_0x398c88=await createTDXInstance(_0x579a2b),_0x147153=await _0x1998c0[_0x27910e(0x1ef)]({'options':{..._0x579a2b,..._0x474cce},'args':[_0x53236b],'tdx':_0x398c88});gracefulExit(_0x147153);}),journeyCmd['command'](a2_0x3474ff(0x257))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x42d))[a2_0x3474ff(0x35b)](async(_0x306773,_0x40f84b)=>{const _0x267483=a2_0x3474ff,_0x3e23cf=new JourneyResumeCommand(),_0x238dc7=program[_0x267483(0x2ca)](),_0x584344=await createTDXInstance(_0x238dc7),_0x2e5944=await _0x3e23cf['run']({'options':{..._0x238dc7,..._0x40f84b},'args':[_0x306773],'tdx':_0x584344});gracefulExit(_0x2e5944);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x375))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x374))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')[a2_0x3474ff(0x2cb)]('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x3474ff(0x35b)](async(_0x1dded7,_0x42abdb)=>{const _0x495177=a2_0x3474ff,_0xd56dea=new JourneyPullCommand(),_0x4c7c4d=program['opts'](),_0x2a468f=await createTDXInstance(_0x4c7c4d),_0x443556=await _0xd56dea[_0x495177(0x1ef)]({'options':{..._0x4c7c4d,..._0x42abdb},'args':_0x1dded7?[_0x1dded7]:[],'tdx':_0x2a468f});gracefulExit(_0x443556);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x31d))['description'](a2_0x3474ff(0x320))[a2_0x3474ff(0x35b)](async(_0x25ad41,_0x3dccc3)=>{const _0x3bab4d=a2_0x3474ff,_0x27aeae=new JourneyPushCommand(),_0x39f0ee=program[_0x3bab4d(0x2ca)](),_0x54b814=await createTDXInstance(_0x39f0ee),_0x421e96=await _0x27aeae['run']({'options':{..._0x39f0ee,..._0x3dccc3},'args':_0x25ad41?[_0x25ad41]:[],'tdx':_0x54b814});gracefulExit(_0x421e96);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3de))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3fa))['action'](async(_0x522a40,_0x582e84)=>{const _0x51182c=a2_0x3474ff,_0x2d8e37=new JourneyValidateCommand(),_0x2f5c4b=program[_0x51182c(0x2ca)](),_0x9d53df=await createTDXInstance(_0x2f5c4b),_0xc05e44=await _0x2d8e37[_0x51182c(0x1ef)]({'options':{..._0x2f5c4b,..._0x582e84},'args':_0x522a40?[_0x522a40]:[],'tdx':_0x9d53df});gracefulExit(_0xc05e44);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x356))['description'](a2_0x3474ff(0x200))[a2_0x3474ff(0x35b)](journeyListAction);const agentSyncCmd=program[a2_0x3474ff(0x3ab)]('agent')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x258));agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x434))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3a4))['option'](a2_0x3474ff(0x27b),a2_0x3474ff(0x3bb))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1c8),a2_0x3474ff(0x1d3))[a2_0x3474ff(0x35b)](async(_0x19687c,_0x1fd161,_0x5bc580)=>{const _0x5dc830=a2_0x3474ff,_0x4bad5e=new AgentPullCommand(),_0x5ae9ba=program[_0x5dc830(0x2ca)](),_0x598ffb=await createTDXInstance(_0x5ae9ba),_0x5e2f7d=[];if(_0x19687c)_0x5e2f7d['push'](_0x19687c);if(_0x1fd161)_0x5e2f7d[_0x5dc830(0x261)](_0x1fd161);const _0x32f843=await _0x4bad5e[_0x5dc830(0x1ef)]({'options':{..._0x5ae9ba,..._0x5bc580},'args':_0x5e2f7d,'tdx':_0x598ffb});gracefulExit(_0x32f843);}),agentSyncCmd[a2_0x3474ff(0x3ab)]('push\x20[path]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x26c))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1c8),a2_0x3474ff(0x397))['action'](async(_0x3d71f0,_0x1e96e1)=>{const _0x353ab1=a2_0x3474ff,_0x50df88=new AgentPushCommand(),_0x5cbc77=program[_0x353ab1(0x2ca)](),_0x1b0399=await createTDXInstance(_0x5cbc77),_0x3dd72d=await _0x50df88[_0x353ab1(0x1ef)]({'options':{..._0x5cbc77,..._0x1e96e1},'args':_0x3d71f0?[_0x3d71f0]:[],'tdx':_0x1b0399});gracefulExit(_0x3dd72d);}),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2f6))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x25d))['option'](a2_0x3474ff(0x25b),a2_0x3474ff(0x364))[a2_0x3474ff(0x35b)](async(_0x2b3978,_0x44d7ae)=>{const _0x54a44c=a2_0x3474ff,_0x1789fb=new AgentCloneCommand(),_0x550af1=program[_0x54a44c(0x2ca)](),_0x44aa77=await createTDXInstance(_0x550af1),_0x2ee89e=await _0x1789fb['run']({'options':{..._0x550af1,..._0x44d7ae},'args':_0x2b3978?[_0x2b3978]:[],'tdx':_0x44aa77});gracefulExit(_0x2ee89e);}),agentSyncCmd[a2_0x3474ff(0x3ab)]('test\x20[path]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x417))[a2_0x3474ff(0x2cb)]('--name\x20<names>',a2_0x3474ff(0x25e))['option']('--tags\x20<tags>',a2_0x3474ff(0x37a))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),a2_0x3474ff(0x2aa))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1f2),a2_0x3474ff(0x1d7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x35f),a2_0x3474ff(0x1c5))['action'](async(_0x2b7e0c,_0x416861)=>{const _0x5e5b33=a2_0x3474ff,_0x59404e=new AgentTestCommand(),_0x39368a=program['opts'](),_0x60e032=await createTDXInstance(_0x39368a),_0x24b721=await _0x59404e[_0x5e5b33(0x1ef)]({'options':{..._0x39368a,..._0x416861},'args':_0x2b7e0c?[_0x2b7e0c]:[],'tdx':_0x60e032});gracefulExit(_0x24b721);}),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2ff))['action'](llmAgentListAction),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d8))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x36e))[a2_0x3474ff(0x35b)](async(_0xd869ce,_0x251cbc)=>{const _0x25706a=a2_0x3474ff,_0x2548f6=new LLMAgentShowCommand(),_0x5a13d6=program[_0x25706a(0x2ca)](),_0x4fca10=await createTDXInstance(_0x5a13d6),_0xd86812=await _0x2548f6[_0x25706a(0x1ef)]({'options':{..._0x5a13d6,..._0x251cbc},'args':[_0xd869ce],'tdx':_0x4fca10});gracefulExit(_0xd86812);}),agentSyncCmd['command']('create\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c4))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x279),a2_0x3474ff(0x299))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3bd),a2_0x3474ff(0x42c),a2_0x3474ff(0x340))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x391),a2_0x3474ff(0x332))['option'](a2_0x3474ff(0x3fd),a2_0x3474ff(0x3be),'4')[a2_0x3474ff(0x2cb)]('--temperature\x20<n>',a2_0x3474ff(0x3ba),a2_0x3474ff(0x36d))['action'](async(_0x364a7e,_0x1e2472)=>{const _0x57e0c7=a2_0x3474ff,_0x28002f=new LLMAgentCreateCommand(),_0x10e73c=program[_0x57e0c7(0x2ca)](),_0x1b89a0=await createTDXInstance(_0x10e73c),_0x87bb71=await _0x28002f[_0x57e0c7(0x1ef)]({'options':{..._0x10e73c,..._0x1e2472},'args':[_0x364a7e],'tdx':_0x1b89a0});gracefulExit(_0x87bb71);}),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x247))['description']('Update\x20an\x20existing\x20agent')['option'](a2_0x3474ff(0x23c),a2_0x3474ff(0x2c8))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x317),a2_0x3474ff(0x20c))[a2_0x3474ff(0x2cb)]('--description\x20<text>',a2_0x3474ff(0x270))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x391),'Starter\x20message')[a2_0x3474ff(0x35b)](async(_0x3cc5dc,_0x394409)=>{const _0x23209e=a2_0x3474ff,_0x4d57de=new LLMAgentUpdateCommand(),_0x2183c3=program[_0x23209e(0x2ca)](),_0x5eeaa4=await createTDXInstance(_0x2183c3),_0x2f2ad6=await _0x4d57de[_0x23209e(0x1ef)]({'options':{..._0x2183c3,..._0x394409},'args':[_0x3cc5dc],'tdx':_0x5eeaa4});gracefulExit(_0x2f2ad6);}),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x264))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x238))[a2_0x3474ff(0x35b)](async(_0x4214b1,_0x1a6fb0)=>{const _0x3aee9a=a2_0x3474ff,_0x26d7ee=new LLMAgentDeleteCommand(),_0x226f5b=program[_0x3aee9a(0x2ca)](),_0xce767a=await createTDXInstance(_0x226f5b),_0x57b6f4=await _0x26d7ee[_0x3aee9a(0x1ef)]({'options':{..._0x226f5b,..._0x1a6fb0},'args':[_0x4214b1],'tdx':_0xce767a});gracefulExit(_0x57b6f4);});export{program};export function runCLI(){const _0x1be3c8=a2_0x3474ff,_0x1f1ddf=!process[_0x1be3c8(0x2f1)][_0x1be3c8(0x1ca)](0x2)[_0x1be3c8(0x1f9)];showBriefHelp=_0x1f1ddf,program[_0x1be3c8(0x33c)](process['argv']);_0x1f1ddf&&program['outputHelp']();if(process['stderr'][_0x1be3c8(0x367)]&&process['argv'][_0x1be3c8(0x1f9)]>0x2&&!isDevVersion()){const _0x1f638e=loadReleaseChannel();checkForUpdate(currentVersion,_0x1f638e)['then'](_0x35cb82=>{_0x35cb82&&displayUpdateNotification(_0x35cb82);})[_0x1be3c8(0x373)](()=>{});}}
|
|
1
|
+
const a2_0x3f695b=a2_0x4e9e;(function(_0x4d07f2,_0x5995c8){const _0x4406f0=a2_0x4e9e,_0x198565=_0x4d07f2();while(!![]){try{const _0x31d34b=parseInt(_0x4406f0(0x251))/0x1*(-parseInt(_0x4406f0(0x328))/0x2)+-parseInt(_0x4406f0(0x1cc))/0x3*(parseInt(_0x4406f0(0x25b))/0x4)+-parseInt(_0x4406f0(0x354))/0x5*(-parseInt(_0x4406f0(0x309))/0x6)+parseInt(_0x4406f0(0x21a))/0x7+parseInt(_0x4406f0(0x3b9))/0x8*(parseInt(_0x4406f0(0x2cd))/0x9)+parseInt(_0x4406f0(0x337))/0xa*(parseInt(_0x4406f0(0x265))/0xb)+parseInt(_0x4406f0(0x32c))/0xc;if(_0x31d34b===_0x5995c8)break;else _0x198565['push'](_0x198565['shift']());}catch(_0x1d1bf9){_0x198565['push'](_0x198565['shift']());}}}(a2_0x1733,0xc2e52));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();function a2_0x1733(){const _0x10cce9=['preAction','\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','Override\x20project\x20name','--attempt-id\x20<id>','fields\x20[name]','3088Jikhkb','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','campaign','hook','--llm-project\x20<name>','Resume\x20a\x20paused\x20journey','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Customer\x20group\x20from\x20JSON\x20file',',\x20version\x20','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','name','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','run\x20[name]','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--folder\x20<name>','replace','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Show\x20campaign\x20details','-1d','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Delete\x20an\x20email\x20template','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--attributes\x20<json>','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','registeredArguments','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Show\x20journey\x20statistics','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','pull\x20[parent_or_file]','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','use\x20[resource]\x20[value]','Run\x20Trino\x20query\x20with\x20streaming\x20results','-c,\x20--continue','update\x20<name>','Delete\x20a\x20workspace','schema\x20<type>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','projects\x20[pattern]','--limit\x20<number>','--database\x20<name>','site','api\x20[endpoint]','New\x20segment\x20name','--limit\x20<n>','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','\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','End\x20time\x20filter\x20(ISO\x208601\x20format)','command','Cron\x20expression\x20for\x20scheduling','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','option','--in\x20<name>','workflows\x20[project]','Show\x20email\x20template\x20details','list\x20[pattern]','--include-subtasks','Plaintext\x20template\x20content','create\x20<name>','--color','Setup\x20API\x20key\x20authentication\x20interactively','push\x20[parent_or_file]','clone\x20[source-dir]','--status\x20<status>','clear','subcommandDescription','error','Add\x20behaviors\x20from\x20JSON\x20file','describe','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','length','Ending\x20offset\x20(default:\x2020)','[task-name]','Remove\x20a\x20profile','chats','engage','create\x20<segment_name>','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Starter\x20message','--subject\x20<subject>','Template\x20name','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Personalization\x20service\x20management','-r,\x20--recursive','--no-eval','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','description','isArray','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','filter','--rule\x20<json>','pause\x20<name-or-path>','Result\x20output\x20destination\x20URL','trace','--type\x20<api_type>','Custom\x20revision\x20name\x20(default:\x20timestamp)','--last','AI-native\x20CLI\x20for\x20Treasure\x20Data','--session-id\x20<id>','--stream','--attribute\x20[name]','--session\x20<id>','workflow','List\x20agents\x20in\x20current\x20project','Timezone\x20for\x20cron','Set\x20or\x20show\x20parent\x20segment\x20context','New\x20campaign\x20name','connections','Show\x20workspace\x20details','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','pull\x20[project]\x20[agent-name]','Delete\x20an\x20agent','list\x20[name]','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--parent-folder\x20<name>','show\x20<name>','--segment\x20<path>','Query\x20engine\x20version','Resume\x20from\x20specific\x20task','workspaces\x20[pattern]','update\x20<name-or-id>','--kind\x20<type>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','GET','Skip\x20validation\x20of\x20.dig\x20files','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','user','Workspace\x20description','-d,\x20--database\x20<db>','parents\x20[pattern]','[action]','models','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--max-depth\x20<depth>','--job-type\x20<type>','catch','New\x20template\x20name','show\x20[table]','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Retry\x20limit\x20(0\x20to\x2032)','Agent\x20name','Master\x20database\x20name','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Open\x20segment\x20in\x20web\x20browser','System\x20prompt/instructions\x20(default:\x20empty)','Pull\x20workflow\x20project\x20to\x20local\x20folder','Customer\x20group\x20as\x20JSON\x20string','update\x20<segment_name>','push','-n,\x20--name\x20<name>','parse','List\x20all\x20data\x20connections','trino','--include-retried','push\x20[name]','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','claude-4.5-sonnet','table','TRACE','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20available\x20LLM\x20models','--no-proxy','Request\x20body\x20as\x20JSON\x20string','Directory\x20does\x20not\x20exist:\x20','query\x20[sql]','Show\x20segment\x20schema\x20(column\x20types)','required','createAsync','workspace','delete\x20<name>','Invalid\x20editor\x20type:\x20','flatMap','Pull\x20child\x20segments\x20to\x20YAML\x20files','2027001NmPkqY','isTTY','resume\x20<name-or-path>','[DEPRECATED]\x20Segment\x20folder\x20management','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--timezone\x20<tz>','--description\x20<desc>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--in\x20<database>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','show\x20<name-or-id>','Pause\x20a\x20running\x20journey','Delete\x20a\x20campaign','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--behavior\x20[name]','Follow/watch\x20timeline\x20for\x20running\x20attempts','Enable\x20verbose\x20logging','folder','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','show\x20<folder_ref>','Email\x20subject\x20template','Output\x20folder\x20(default:\x20{project_name}.llm)','tables\x20[pattern]','addHelpText','Get\x20job\x20results','use\x20<name>','--workspace\x20<name>','Create\x20segment\x20folder','tdx\x20','--stage\x20<name>','agents\x20[pattern]','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','INVALID_ARGUMENT','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','exit','-d,\x20--database\x20<name>','beefree','Filtering\x20rule\x20as\x20JSON\x20string','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--dry-run','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Show\x20timeline\x20for\x20specific\x20attempt','Query\x20type:\x20trino\x20or\x20hive','journey','us01','_hidden','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','run\x20[workflow]','-u,\x20--use','--no-count-population','Preview\x20without\x20creating\x20the\x20project','--no-color','show\x20<agent-name>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--parent-segment\x20<name>','--json-columns\x20<cols>','--new','Authentication\x20management','format','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','activations\x20<segment_name>','Database\x20to\x20use\x20(overrides\x20context)','CDP\x20Journey\x20Orchestration\x20commands','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','resume\x20<name-or-id>','help','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a','Database\x20name','CDP\x20segment\x20management\x20commands','template','1133384oadXQg','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','\x20-\x20built\x20','--from\x20<n>','-X,\x20--method\x20<method>','--site\x20<site>','schedule','commandDescription','--plaintext\x20<text>','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--num\x20<1-10>','Create\x20an\x20email\x20template','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','list\x20[path]','Describe\x20table\x20schema','session','Set\x20operation\x20timeout\x20in\x20seconds','Save\x20output\x20to\x20file','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','Run\x20specific\x20tests\x20(comma-separated)','opts','--version','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','map','llm','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','create\x20<parent_name>\x20<folder_name>','-d,\x20--database\x20<database>','Include\x20retried\x20attempts','configureHelp','jobs','--json','use\x20[name]','setup','directory','databases\x20[pattern]','--skip-validation','--email-sender-id\x20<id>','jsonl','Campaign\x20management','-o,\x20--output\x20<file>','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','push\x20[source-dir]','requiredOption','-f,\x20--force','--revision\x20<revision>','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Clear\x20session\x20context','New\x20workspace\x20name','Skip\x20population\x20counting','backup\x20<name>','5266qstFMM','HTML\x20template\x20content','Preview\x20changes\x20without\x20pushing','--from\x20<timestamp>','Generate\x20test\x20conversations\x20without\x20evaluation','Remove\x20API\x20key\x20from\x20system\x20keychain','--add-behaviors-file\x20<file>','use\x20<path>','--start-at\x20<datetime>','RT\x202.0\x20configuration\x20management','4zvnJil','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','join','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Overwrite\x20local\x20changes\x20without\x20confirmation','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','delete\x20<name-or-id>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','information_schema','11QYVHiJ','repeat','--rule-file\x20<file>','agent','duplicate\x20<name-or-id>','set\x20<key=value>','List\x20all\x20users\x20in\x20the\x20account','--timeout\x20<seconds>','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Update\x20an\x20email\x20template','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','stderr','--behaviors\x20<json>','use\x20[project]','--html\x20<html>','--chat-id\x20<id>','-y,\x20--yes','--prompt\x20<text>','forEach','Database\x20to\x20query\x20(default:\x20information_schema)','Attributes\x20as\x20JSON\x20string','commandUsage','--reeval','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Filtering\x20rule\x20from\x20JSON\x20file','stats\x20<name-or-path>','database','Unknown\x20action:\x20','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','view\x20[name]','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Clear\x20workflow\x20project\x20context','Output\x20directory','Force\x20retry\x20even\x20if\x20not\x20failed','journeys\x20[pattern]','--add-attributes\x20<json>','Run\x20tests\x20for\x20an\x20LLM\x20agent','retry','profiles','Skip\x20confirmation\x20prompt','init\x20[name]','Kill\x20a\x20job','Timezone\x20for\x20cron\x20(default:\x20UTC)','Folder\x20description','pause\x20<name-or-id>','-f,\x20--file\x20<path>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Include\x20subtasks\x20in\x20tasks\x20output','--schedule-type\x20<type>','desc','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','attempts\x20[project]','Job\x20management\x20commands','Output\x20file\x20path','debug','set\x20<args...>','Maximum\x20recursion\x20depth\x20(default:\x2010)','Parent\x20folder\x20name\x20for\x20nested\x20folders','--system-prompt\x20<text>','Trino\x20catalog\x20(default:\x20td)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Set\x20a\x20profile\x20configuration\x20value','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','create\x20[name]','--result\x20<url>','List\x20secret\x20keys\x20for\x20a\x20project','argument','run\x20<name>','grapesjs','--full','\x20(resolved\x20to\x20','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Email\x20sender\x20ID\x20for\x20delivery','remove\x20<name>','Show\x20job\x20details','Database\x20management\x20commands','tsv','delete\x20<args...>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Read\x20query\x20from\x20file','Delete\x20an\x20LLM\x20project','Skip\x20confirmation\x20prompts','Export\x20journey(s)\x20as\x20YAML\x20files','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Task\x20name\x20for\x20logs\x20action','--resume-from\x20<task>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--format\x20<format>','Updated\x20timezone','Scheduled\x20query\x20management\x20commands','List\x20available\x20connector\x20types','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','LLM\x20project\x20management','validate\x20[name]','\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','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','show\x20[segment_name]','Create\x20a\x20new\x20LLM\x20project','24147bqjRxa','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Launch\x20a\x20campaign','--type\x20<type>','--to\x20<timestamp>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Attempt\x20ID','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Name\x20for\x20the\x20new\x20project\x20(required)','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','gitRevision','slice','hidden','validate\x20[target]','subcommandTerm','folders\x20<parent_name>','attempt:','Output\x20as\x20JSON','--schedule-option\x20<value>','--table\x20<table>','restore\x20<folder>','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','info\x20[segment_name]','Master\x20table\x20name','Change\x20to\x20directory\x20before\x20executing\x20command','Database\x20name\x20(default:\x20information_schema)','Table\x20management\x20commands','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','colorFn','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','push\x20[path]','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--from-task\x20<task>','--enriched','show\x20[name]','Move\x20to\x20folder','preview\x20[file]','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Campaign\x20description','users','--priority\x20<-2~2>','Output\x20file\x20path\x20(default:\x20<name>.yml)','includes','padEnd','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','download\x20<project-name>\x20[output-dir]','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Update\x20a\x20scheduled\x20query','--table','--params\x20<json>','commands','Output\x20as\x20JSON\x20Lines','summary','Workspace\x20name','usage','Show\x20only\x20master\x20table\x20validation','--delay\x20<seconds>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','6zxEglm','Usage:\x20','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','parent_segment','Update\x20a\x20workspace','preview\x20[name]','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','attempt','--name\x20<name>','--time\x20<iso8601>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','view\x20<name-or-path>','Behaviors\x20from\x20JSON\x20file','action','Push\x20without\x20confirmation','secrets','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Agent\x20prompt/instructions','Resume\x20from\x20specific\x20task\x20(retry)','Show\x20stats\x20for\x20specific\x20stage','--retry-limit\x20<0~32>','Create\x20a\x20new\x20campaign','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--database\x20<db>','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','316kfyfwK','--default','--name\x20<new_name>','-o,\x20--output\x20<folder>','6332508MSyeRw','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Manage\x20workflow\x20project\x20secrets','Workflow\x20session\x20management','Path\x20is\x20not\x20a\x20directory:\x20','Parent\x20segment\x20description','outputHelp','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','List\x20jobs','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','4491570NBLrvR','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--master','--interval\x20<range>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--clear','Resume\x20a\x20paused\x20campaign','tdx','--cron\x20<expression>','-w,\x20--web','kill\x20<job-id>','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Agent\x20description','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--max-tool-iterations\x20<n>','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','push\x20[target]','Show\x20master\x20table\x20sample\x20data','describe\x20[table]','List\x20journeys\x20(alias\x20for\x20journey\x20list)','push\x20[file]','--name\x20<new-name>','aliases','pull\x20<project>\x20[target-dir]','Model\x20type\x20(default:\x20claude-4.5-sonnet)','templates\x20[pattern]','657845gpaxQV','--agent\x20<ref>','--delete','--temperature\x20<n>','Workflow\x20(Digdag)\x20management\x20commands','Show\x20agent\x20details','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a','Preview\x20changes\x20without\x20writing\x20files','DEBUG','Campaign\x20name','Workflow\x20attempt\x20management','--session-time\x20<time>','segment','Read\x20SQL\x20query\x20from\x20file','Open\x20parent\x20segment\x20in\x20web\x20browser','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','logLevel','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','list\x20[project]','update\x20<agent-name>','submit\x20[query]','then','buildTime','--param\x20<key=value>','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Workspace\x20name\x20(required)','Start\x20a\x20new\x20chat\x20session','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20all\x20available\x20profiles','--tsv','Show\x20segment\x20details\x20(alias\x20for\x20view)','[options]\x20--\x20[claude-code-args...]','Add\x20attributes\x20from\x20JSON\x20file','profile','timeline\x20[project.workflow]','--attributes-file\x20<file>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','retry\x20<session-id>','status','argv','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Delay\x20in\x20seconds\x20before\x20execution','Parse\x20and\x20validate\x20without\x20executing','Validate\x20journey\x20YAML\x20files\x20locally','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20journey\x20details','settings\x20<type>','--invisible','-r,\x20--resume','argumentDescription','Create\x20a\x20new\x20profile','tasks','claude\x20[args...]','chdir','Project\x20description','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--engine-version\x20<version>','sql\x20[name]','--model\x20<name>','User\x20management\x20commands','create','List\x20journeys\x20in\x20current\x20context','--jsonl','alias','allowExcessArguments','Campaign\x20type\x20(email\x20or\x20push)','Show\x20the\x20most\x20recent\x20chat','Revision\x20name\x20(default:\x20timestamp)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','mcp','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','run','list','Continue\x20most\x20recent\x20conversation','--to\x20<n>','Add\x20behaviors\x20as\x20JSON\x20string','--editor-type\x20<type>','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Updated\x20description','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--include-stats','pull\x20[name]','statusline','--description\x20<text>','--yes','sql\x20[segment_name]','delete\x20<project-name-or-id>','Pause\x20a\x20campaign','after','clone\x20[source]','Show\x20authentication\x20status\x20and\x20current\x20context','--debug','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)'];a2_0x1733=function(){return _0x10cce9;};return a2_0x1733();}if(process[a2_0x3f695b(0x37e)]['includes'](a2_0x3f695b(0x230))){let versionOutput=a2_0x3f695b(0x1ed)+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x3f695b(0x2f9)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x3f695b(0x36c)]&&(versionOutput+=a2_0x3f695b(0x21d)+buildInfo[a2_0x3f695b(0x36c)]),console['log'](versionOutput),process[a2_0x3f695b(0x1f4)](0x0);}function a2_0x4e9e(_0xc6681f,_0x5a6fa4){_0xc6681f=_0xc6681f-0x19b;const _0x17330a=a2_0x1733();let _0x4e9eae=_0x17330a[_0xc6681f];return _0x4e9eae;}const program=new Command();let showBriefHelp=![],description=a2_0x3f695b(0x41d);buildInfo[a2_0x3f695b(0x2d8)]&&!currentVersion[a2_0x3f695b(0x2f9)](buildInfo[a2_0x3f695b(0x2d8)])?description+=a2_0x3f695b(0x3c1)+currentVersion+'\x20('+buildInfo[a2_0x3f695b(0x2d8)]+')':description+=a2_0x3f695b(0x3c1)+currentVersion;program[a2_0x3f695b(0x3c3)]('tdx')[a2_0x3f695b(0x412)](description),program['option']('-C,\x20--directory\x20<path>',a2_0x3f695b(0x2e6))[a2_0x3f695b(0x3ed)]('-p,\x20--profile\x20<name>',a2_0x3f695b(0x2bd))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x220),a2_0x3f695b(0x314),a2_0x3f695b(0x1fe))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2c2),a2_0x3f695b(0x2eb))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2ff),a2_0x3f695b(0x3d7))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x23c),a2_0x3f695b(0x263))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x395),a2_0x3f695b(0x37f))['option'](a2_0x3f695b(0x374),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')[a2_0x3f695b(0x3ed)]('--output\x20<file>',a2_0x3f695b(0x22c))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3e0),a2_0x3f695b(0x40d))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3f5),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x206),a2_0x3f695b(0x310),![])[a2_0x3f695b(0x3ed)]('-v,\x20--verbose',a2_0x3f695b(0x1e1),![])['option'](a2_0x3f695b(0x3b2),a2_0x3f695b(0x3c4))['option']('--trace',a2_0x3f695b(0x349))['option'](a2_0x3f695b(0x26c),a2_0x3f695b(0x22b),'30')[a2_0x3f695b(0x3ed)]('--dry-run','Preview\x20operation\x20without\x20executing',![])['option'](a2_0x3f695b(0x276),a2_0x3f695b(0x2bb),![])[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x421),a2_0x3f695b(0x1f3))['option'](a2_0x3f695b(0x1f5),a2_0x3f695b(0x211))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3ee),a2_0x3f695b(0x3bf))['option'](a2_0x3f695b(0x20a),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3bd),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x3f695b(0x23a)]({'formatHelp':(_0x619423,_0x3f5b02)=>{const _0x5b9d8d=a2_0x3f695b,_0x4ad780=_0x3f5b02['padWidth'](_0x619423,_0x3f5b02),_0x49f26c=0x2,_0x38cff8=0x2;function _0x2837c6(_0x1ca9d8){const _0x2c1e98=a2_0x4e9e,_0x809091=_0x1ca9d8;return!!(_0x809091[_0x2c1e98(0x1ff)]||_0x809091[_0x2c1e98(0x2da)]);}function _0x2171bd(_0x1475eb,_0x38a065){const _0x1465f2=a2_0x4e9e;if(_0x38a065){const _0x4c4310=''+_0x1475eb[_0x1465f2(0x2fa)](_0x4ad780+_0x38cff8)+_0x38a065;return _0x4c4310;}return _0x1475eb;}function _0x25ad92(_0x29894a){const _0x29cd3f=a2_0x4e9e;return _0x29894a['join']('\x0a')[_0x29cd3f(0x3c8)](/^/gm,'\x20'[_0x29cd3f(0x266)](_0x49f26c));}const _0xc769d9=[];_0xc769d9['push'](_0x5b9d8d(0x30a)+_0x3f5b02[_0x5b9d8d(0x27b)](_0x619423));const _0x145033=_0x3f5b02[_0x5b9d8d(0x222)](_0x619423);_0x145033&&(_0xc769d9[_0x5b9d8d(0x1b3)](''),_0xc769d9[_0x5b9d8d(0x1b3)](_0x145033));const _0x1864e0=_0x619423[_0x5b9d8d(0x301)][_0x5b9d8d(0x415)](_0x1b8322=>!_0x2837c6(_0x1b8322));if(_0x1864e0[_0x5b9d8d(0x401)]>0x0){if(_0x619423[_0x5b9d8d(0x3c3)]()===_0x5b9d8d(0x33e)){const _0xe5d5a5=_0x619423[_0x5b9d8d(0x22f)](),_0x1dce66=!_0xe5d5a5['noColor']&&process['stdout'][_0x5b9d8d(0x1cd)],_0x588199=COMMAND_CATEGORIES,_0x26bf9c=(_0x1a44e5,_0x4d4d72)=>_0x1dce66?_0x4d4d72(_0x1a44e5):_0x1a44e5,_0x3c7cae=new Map();_0x1864e0['forEach'](_0x489bec=>{_0x3c7cae['set'](_0x489bec['name'](),_0x489bec);}),_0x588199[_0x5b9d8d(0x278)](_0x1a57d7=>{const _0x3e7042=_0x5b9d8d,_0x158838=_0x1a57d7[_0x3e7042(0x301)][_0x3e7042(0x1ca)](_0x1bdfd8=>_0x3c7cae['get'](_0x1bdfd8)??[]);if(_0x158838[_0x3e7042(0x401)]>0x0){_0xc769d9[_0x3e7042(0x1b3)](''),_0xc769d9[_0x3e7042(0x1b3)](_0x26bf9c(_0x1a57d7[_0x3e7042(0x3c3)]+':',_0x1a57d7[_0x3e7042(0x2ea)]));const _0x35b546=_0x158838['map'](_0x5d4661=>{const _0x5023d3=_0x3e7042,_0x3b3c48=_0x3f5b02[_0x5023d3(0x2dc)](_0x5d4661),_0x80a15e=_0x3f5b02[_0x5023d3(0x3fb)](_0x5d4661);return _0x2171bd(_0x3b3c48,_0x80a15e);});_0xc769d9['push'](_0x25ad92(_0x35b546));}}),_0xc769d9[_0x5b9d8d(0x1b3)](''),_0xc769d9[_0x5b9d8d(0x1b3)](_0x5b9d8d(0x3de));}else{const _0x167939=_0x1864e0[_0x5b9d8d(0x232)](_0x2b60a6=>{const _0x3260a6=_0x3f5b02['subcommandTerm'](_0x2b60a6),_0x3a9728=_0x3f5b02['subcommandDescription'](_0x2b60a6);return _0x2171bd(_0x3260a6,_0x3a9728);});_0xc769d9[_0x5b9d8d(0x1b3)](''),_0xc769d9[_0x5b9d8d(0x1b3)]('Commands:'),_0xc769d9[_0x5b9d8d(0x1b3)](_0x25ad92(_0x167939));}}if(showBriefHelp&&_0x619423[_0x5b9d8d(0x3c3)]()===_0x5b9d8d(0x33e))_0xc769d9[_0x5b9d8d(0x1b3)](''),_0xc769d9['push'](_0x5b9d8d(0x39d));else{const _0x3e2f16=_0x619423['options'][_0x5b9d8d(0x415)](_0x75b9fb=>!_0x2837c6(_0x75b9fb));if(_0x3e2f16['length']>0x0){const _0x59d325=_0x3e2f16['map'](_0x13137e=>{const _0x5089f5=_0x3f5b02['optionTerm'](_0x13137e),_0x2154cc=_0x3f5b02['optionDescription'](_0x13137e);return _0x2171bd(_0x5089f5,_0x2154cc);});_0xc769d9[_0x5b9d8d(0x1b3)](''),_0xc769d9['push']('Options:'),_0xc769d9[_0x5b9d8d(0x1b3)](_0x25ad92(_0x59d325));}}const _0x54904b=(_0x619423[_0x5b9d8d(0x3d2)]||[])[_0x5b9d8d(0x415)](_0x7cf649=>!_0x2837c6(_0x7cf649));if(_0x54904b[_0x5b9d8d(0x401)]>0x0){const _0x3f339b=_0x54904b[_0x5b9d8d(0x232)](_0x5f5289=>{const _0x537a1e=_0x5b9d8d,_0x554a55=_0x3f5b02['argumentTerm'](_0x5f5289),_0x539415=_0x3f5b02[_0x537a1e(0x388)](_0x5f5289);return _0x2171bd(_0x554a55,_0x539415);});_0xc769d9['push'](''),_0xc769d9['push']('Arguments:'),_0xc769d9[_0x5b9d8d(0x1b3)](_0x25ad92(_0x3f339b));}return _0xc769d9[_0x5b9d8d(0x25d)]('\x0a')+'\x0a';},'subcommandTerm':_0x5bd950=>{const _0x3eb13b=a2_0x3f695b,_0x332892=(_0x5bd950[_0x3eb13b(0x3d2)]||[])[_0x3eb13b(0x232)](_0x285cba=>_0x285cba[_0x3eb13b(0x1c5)]?'<'+_0x285cba[_0x3eb13b(0x3c3)]()+'>':'['+_0x285cba[_0x3eb13b(0x3c3)]()+']')['join']('\x20'),_0x4dac24=_0x5bd950[_0x3eb13b(0x350)](),_0x43a456=_0x4dac24[_0x3eb13b(0x401)]>0x0?_0x5bd950[_0x3eb13b(0x3c3)]()+',\x20'+_0x4dac24[_0x3eb13b(0x25d)](',\x20'):_0x5bd950[_0x3eb13b(0x3c3)]();return _0x332892?_0x43a456+'\x20'+_0x332892:_0x43a456;}}),program[a2_0x3f695b(0x3bc)](a2_0x3f695b(0x3b4),_0x45a576=>{const _0x4d729e=a2_0x3f695b,_0xda378=_0x45a576['opts']();if(_0xda378[_0x4d729e(0x23f)]){const _0x42aad6=resolve(_0xda378[_0x4d729e(0x23f)]),_0x415c1b=_0x42aad6!==_0xda378['directory']?_0x4d729e(0x2ae)+_0x42aad6+')':'';if(!existsSync(_0x42aad6))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x4d729e(0x1c2)+_0xda378[_0x4d729e(0x23f)]+_0x415c1b,undefined,{'helpText':_0x4d729e(0x2ca)});const _0x5a1b6f=statSync(_0x42aad6);if(!_0x5a1b6f['isDirectory']())throw new SDKError(ErrorCode[_0x4d729e(0x1f2)],_0x4d729e(0x330)+_0xda378[_0x4d729e(0x23f)]+_0x415c1b,undefined,{'helpText':_0x4d729e(0x36e)});process[_0x4d729e(0x38c)](_0x42aad6);}if(!_0xda378[_0x4d729e(0x20e)]){if(_0xda378[_0x4d729e(0x1bc)])_0xda378[_0x4d729e(0x20e)]=_0x4d729e(0x1bc);else{if(_0xda378['json'])_0xda378[_0x4d729e(0x20e)]='json';else{if(_0xda378[_0x4d729e(0x243)])_0xda378[_0x4d729e(0x20e)]=_0x4d729e(0x243);else _0xda378[_0x4d729e(0x2b4)]&&(_0xda378['format']=_0x4d729e(0x2b4));}}}_0xda378['in']&&!_0xda378['database']&&(_0xda378['database']=_0xda378['in']);if(_0xda378[_0x4d729e(0x419)])_0xda378[_0x4d729e(0x366)]=LogLevel[_0x4d729e(0x1bd)];else{if(_0xda378[_0x4d729e(0x29e)])_0xda378[_0x4d729e(0x366)]=LogLevel[_0x4d729e(0x35d)];else _0xda378[_0x4d729e(0x366)]===undefined&&(_0xda378[_0x4d729e(0x366)]=LogLevel['INFO']);}});async function createTDXInstance(_0x3f4f56){const _0x555131=a2_0x3f695b,_0x442723=await GlobalContext[_0x555131(0x1c6)](_0x3f4f56);return _0x442723['injectIntoOptions'](_0x3f4f56),TDX[_0x555131(0x393)]({'site':_0x442723[_0x555131(0x3e2)],'apiKey':_0x442723['apiKey'],'logLevel':_0x442723[_0x555131(0x366)],'profile':_0x442723[_0x555131(0x378)]});}const databaseCmd=program['command'](a2_0x3f695b(0x281))[a2_0x3f695b(0x396)]('db')[a2_0x3f695b(0x412)](a2_0x3f695b(0x2b3)),databaseListAction=async(_0x3fad32,_0x1078bc)=>{const _0xc7f741=a2_0x3f695b,_0x4aa0d8=new DatabasesCommand(),_0x5b144b=program[_0xc7f741(0x22f)](),_0x2e3d84=await createTDXInstance(_0x5b144b),_0x487bd1=await _0x4aa0d8[_0xc7f741(0x39e)]({'options':{..._0x5b144b,..._0x1078bc},'args':_0x3fad32?[_0x3fad32]:[],'tdx':_0x2e3d84});gracefulExit(_0x487bd1);};databaseCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f1))['description'](a2_0x3f695b(0x227))['action'](databaseListAction),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x240),{'hidden':!![]})[a2_0x3f695b(0x412)]('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x3f695b(0x318)](databaseListAction),program[a2_0x3f695b(0x3e9)]('chat\x20[message...]')['description'](a2_0x3f695b(0x429))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x355),a2_0x3f695b(0x201))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x20c),a2_0x3f695b(0x370))['option'](a2_0x3f695b(0x275),a2_0x3f695b(0x200))['option'](a2_0x3f695b(0x41f),a2_0x3f695b(0x364))[a2_0x3f695b(0x318)](async(_0x4e3e4d,_0xea5eb1)=>{const _0x26a424=a2_0x3f695b,_0x655ba3=program['opts'](),_0x1b482b=await createTDXInstance(_0x655ba3);if(_0x4e3e4d[0x0]==='create'){const _0x10d083=new ChatCreateCommand();gracefulExit(await _0x10d083['run']({'options':{..._0x655ba3,..._0xea5eb1},'args':_0x4e3e4d[_0x26a424(0x2d9)](0x1),'tdx':_0x1b482b}));return;}const _0x50a0dc=new ChatCommand(),_0x53d474=await _0x50a0dc[_0x26a424(0x39e)]({'options':{..._0x655ba3,..._0xea5eb1},'args':_0x4e3e4d,'tdx':_0x1b482b});gracefulExit(_0x53d474);});const apiCmd=program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3e3))[a2_0x3f695b(0x303)](a2_0x3f695b(0x2be))['addHelpText'](a2_0x3f695b(0x3af),a2_0x3f695b(0x216))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x21f),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x3f695b(0x437))[a2_0x3f695b(0x3ed)]('--data\x20<data>',a2_0x3f695b(0x1c1))[a2_0x3f695b(0x3ed)]('-f,\x20--file\x20<path>','Read\x20request\x20body\x20from\x20file')['option']('-H,\x20--header\x20<header>',a2_0x3f695b(0x367),(_0x50f277,_0x45359c)=>{return _0x45359c?[..._0x45359c,_0x50f277]:[_0x50f277];})['option'](a2_0x3f695b(0x41a),a2_0x3f695b(0x1a9),'td')[a2_0x3f695b(0x318)](async(_0x83d89c,_0x124634)=>{const _0x272c8b=a2_0x3f695b;if(!_0x83d89c){apiCmd[_0x272c8b(0x215)]();return;}const _0x1ddbee=new ApiCommand(),_0x3f75a1=program['opts'](),_0x403341=await createTDXInstance(_0x3f75a1),_0x244718=await _0x1ddbee[_0x272c8b(0x39e)]({'options':{..._0x3f75a1,..._0x124634},'args':[_0x83d89c],'tdx':_0x403341});gracefulExit(_0x244718);});program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x39c))[a2_0x3f695b(0x412)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x3f695b(0x1e8)]('after',a2_0x3f695b(0x2c6))['action'](async _0x3b3796=>{const _0x5b8904=a2_0x3f695b,_0x3f0434=new MCPCommand(),_0x100679=program[_0x5b8904(0x22f)](),_0x2b5e35=await createTDXInstance(_0x100679),_0x200365=await _0x3f0434[_0x5b8904(0x39e)]({'options':{..._0x100679,..._0x3b3796},'args':[],'tdx':_0x2b5e35});gracefulExit(_0x200365);});const tableCmd=program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1bc))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2e8)),tableListAction=async(_0x4ed2e5,_0xfb10d7)=>{const _0x5a3825=a2_0x3f695b,_0x52b838=new TablesCommand(),_0xe9b97c=program[_0x5a3825(0x22f)](),_0x30f6a7=await createTDXInstance(_0xe9b97c);_0xfb10d7['in']&&(_0xfb10d7['database']=_0xfb10d7['in']);const _0x14cf25=await _0x52b838[_0x5a3825(0x39e)]({'options':{..._0xe9b97c,..._0xfb10d7},'args':_0x4ed2e5?[_0x4ed2e5]:[],'tdx':_0x30f6a7});gracefulExit(_0x14cf25);};tableCmd['command'](a2_0x3f695b(0x3f1))[a2_0x3f695b(0x412)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')['option']('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d7),a2_0x3f695b(0x3bf))[a2_0x3f695b(0x318)](tableListAction),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1e7),{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x224))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x238),a2_0x3f695b(0x2d5))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d7),a2_0x3f695b(0x3bf))[a2_0x3f695b(0x318)](tableListAction),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1a8))[a2_0x3f695b(0x412)](a2_0x3f695b(0x235))['option'](a2_0x3f695b(0x238),a2_0x3f695b(0x323))['option'](a2_0x3f695b(0x1d7),a2_0x3f695b(0x3bf))['action'](async(_0x461f84,_0x2db0c4)=>{const _0x197d93=a2_0x3f695b,_0x1e4e5c=new ShowCommand(),_0x3ddebe=program[_0x197d93(0x22f)](),_0x2ab0de=await createTDXInstance(_0x3ddebe);_0x2db0c4['in']&&(_0x2db0c4[_0x197d93(0x281)]=_0x2db0c4['in']);const _0x5dcf38=await _0x1e4e5c[_0x197d93(0x39e)]({'options':{..._0x3ddebe,..._0x2db0c4},'args':_0x461f84?[_0x461f84]:[],'tdx':_0x2ab0de});gracefulExit(_0x5dcf38);}),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x34c))[a2_0x3f695b(0x396)](a2_0x3f695b(0x298))[a2_0x3f695b(0x412)](a2_0x3f695b(0x229))[a2_0x3f695b(0x3ed)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option'](a2_0x3f695b(0x1d7),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x2a25b3,_0x1ec9a6)=>{const _0x76c567=a2_0x3f695b,_0x50443e=new DescribeCommand(),_0x4c83d7=program['opts'](),_0xdb5c59=await createTDXInstance(_0x4c83d7);_0x1ec9a6['in']&&(_0x1ec9a6[_0x76c567(0x281)]=_0x1ec9a6['in']);const _0x5641c7=await _0x50443e[_0x76c567(0x39e)]({'options':{..._0x4c83d7,..._0x1ec9a6},'args':_0x2a25b3?[_0x2a25b3]:[],'tdx':_0xdb5c59});gracefulExit(_0x5641c7);}),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1c3))['description'](a2_0x3f695b(0x3d9))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x238),a2_0x3f695b(0x279))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d7),a2_0x3f695b(0x3bf))[a2_0x3f695b(0x3ed)]('--catalog\x20<catalog>',a2_0x3f695b(0x2a3))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x294),a2_0x3f695b(0x362))[a2_0x3f695b(0x3ed)]('--limit\x20<rows>','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')[a2_0x3f695b(0x318)](async(_0x2bdf92,_0x36bc04)=>{const _0x16ace9=a2_0x3f695b,_0x5a4c3b=new QueryCommand(),_0x5c9bf8=program[_0x16ace9(0x22f)](),_0x454564=await createTDXInstance(_0x5c9bf8);_0x36bc04['in']&&(_0x36bc04[_0x16ace9(0x281)]=_0x36bc04['in']);const _0xaaa524=await _0x5a4c3b['run']({'options':{..._0x5c9bf8,..._0x36bc04},'args':_0x2bdf92?[_0x2bdf92]:[],'tdx':_0x454564});gracefulExit(_0xaaa524);});const segmentCmd=program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x361))['alias']('sg')[a2_0x3f695b(0x412)](a2_0x3f695b(0x218)),segmentListAction=async(_0x463dd3,_0x75237d)=>{const _0x3726f2=a2_0x3f695b,_0x5c4d34=new SegmentsCommand(),_0x3a036d=program[_0x3726f2(0x22f)](),_0xbbb4e3=await createTDXInstance(_0x3a036d),_0x29a095=await _0x5c4d34[_0x3726f2(0x39e)]({'options':{..._0x3a036d,..._0x75237d},'args':_0x463dd3?[_0x463dd3]:[],'tdx':_0xbbb4e3});gracefulExit(_0x29a095);};segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x228))[a2_0x3f695b(0x412)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x40f),a2_0x3f695b(0x231))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1a4),a2_0x3f695b(0x2a0),'10')[a2_0x3f695b(0x318)](segmentListAction),program[a2_0x3f695b(0x3e9)]('segments\x20[path]',{'hidden':!![]})['description'](a2_0x3f695b(0x2f4))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x40f),a2_0x3f695b(0x231))['option'](a2_0x3f695b(0x1a4),a2_0x3f695b(0x2a0),'10')[a2_0x3f695b(0x318)](segmentListAction),segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x258),{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x3d3))[a2_0x3f695b(0x318)](async(_0x45e7ee,_0x5a3b31)=>{const _0x49e374=a2_0x3f695b,_0x1e64d6=new SegmentUseCommand(),_0x44cc56=program[_0x49e374(0x22f)](),_0x34d9a3=await createTDXInstance(_0x44cc56),_0x5b418a=await _0x1e64d6[_0x49e374(0x39e)]({'options':{..._0x44cc56,..._0x5a3b31},'args':[_0x45e7ee],'tdx':_0x34d9a3});gracefulExit(_0x5b418a);});const segmentViewAction=async(_0x43a8ff,_0x499cbe)=>{const _0x531871=a2_0x3f695b,_0x195a90=new SegmentViewCommand(),_0x49805d=program[_0x531871(0x22f)](),_0x4f72d5=await createTDXInstance(_0x49805d),_0x4dea81=await _0x195a90[_0x531871(0x39e)]({'options':{..._0x49805d,..._0x499cbe},'args':_0x43a8ff?[_0x43a8ff]:[],'tdx':_0x4f72d5});gracefulExit(_0x4dea81);};segmentCmd[a2_0x3f695b(0x3e9)]('view\x20[segment_name]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x24c))['option'](a2_0x3f695b(0x340),a2_0x3f695b(0x1ae))[a2_0x3f695b(0x318)](segmentViewAction),segmentCmd['command'](a2_0x3f695b(0x2e4),{'hidden':!![]})[a2_0x3f695b(0x396)](a2_0x3f695b(0x3fe))['option'](a2_0x3f695b(0x340),a2_0x3f695b(0x1ae))[a2_0x3f695b(0x412)](a2_0x3f695b(0x375))[a2_0x3f695b(0x318)](segmentViewAction),segmentCmd[a2_0x3f695b(0x3e9)]('desc\x20[segment_name]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x1c4))[a2_0x3f695b(0x318)](async(_0x56ace8,_0x2f842d)=>{const _0x19649b=a2_0x3f695b,_0x47b521=new SegmentDescCommand(),_0x3121e4=program['opts'](),_0x1deef7=await createTDXInstance(_0x3121e4),_0x351ec5=await _0x47b521[_0x19649b(0x39e)]({'options':{..._0x3121e4,..._0x2f842d},'args':_0x56ace8?[_0x56ace8]:[],'tdx':_0x1deef7});gracefulExit(_0x351ec5);}),segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2cb))[a2_0x3f695b(0x412)](a2_0x3f695b(0x333))[a2_0x3f695b(0x318)](async(_0x410379,_0x4a1772)=>{const _0x1371c1=a2_0x3f695b,_0x4051b5=new SegmentShowCommand(),_0x288a4c=program[_0x1371c1(0x22f)](),_0x519f2b=await createTDXInstance(_0x288a4c),_0x3d9a21=await _0x4051b5[_0x1371c1(0x39e)]({'options':{..._0x288a4c,..._0x4a1772},'args':_0x410379?[_0x410379]:[],'tdx':_0x519f2b});gracefulExit(_0x3d9a21);}),segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2dd),{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x27e))[a2_0x3f695b(0x318)](async(_0x1fb6d4,_0x4eea0c)=>{const _0x453299=a2_0x3f695b,_0x59555d=new SegmentFolderListCommand(),_0x525d57=program[_0x453299(0x22f)](),_0xd76e3e=await createTDXInstance(_0x525d57),_0x19a2b6=await _0x59555d['run']({'options':{..._0x525d57,..._0x4eea0c},'args':[_0x1fb6d4],'tdx':_0xd76e3e});gracefulExit(_0x19a2b6);});const folderCmd=segmentCmd['command'](a2_0x3f695b(0x1e2),{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x1cf));folderCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1e4))['description']('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x3f695b(0x318)](async(_0x1853cc,_0x19e4e2)=>{const _0x52d279=a2_0x3f695b,_0x1d5941=new SegmentFolderShowCommand(),_0x4b8b86=program['opts'](),_0x350a55=await createTDXInstance(_0x4b8b86),_0x53c76c=await _0x1d5941[_0x52d279(0x39e)]({'options':{..._0x4b8b86,..._0x19e4e2},'args':[_0x1853cc],'tdx':_0x350a55});gracefulExit(_0x53c76c);}),segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3ac))[a2_0x3f695b(0x412)]('Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x3f695b(0x318)](async(_0x17199c,_0x5e9533)=>{const _0x208b5a=a2_0x3f695b,_0x38c6a3=new SegmentSQLCommand(),_0x52c2f4=program['opts'](),_0x14c5a4=await createTDXInstance(_0x52c2f4),_0x5dd3d5=await _0x38c6a3[_0x208b5a(0x39e)]({'options':{..._0x52c2f4,..._0x5e9533},'args':_0x17199c?[_0x17199c]:[],'tdx':_0x14c5a4});gracefulExit(_0x5dd3d5);}),segmentCmd['command']('fields\x20[parent_name]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x2fb))[a2_0x3f695b(0x318)](async(_0x5f5641,_0x4155c5)=>{const _0x7d6972=new SegmentFieldsCommand(),_0x49fd1f=program['opts'](),_0x110db5=await createTDXInstance(_0x49fd1f),_0x413b30=await _0x7d6972['run']({'options':{..._0x49fd1f,..._0x4155c5},'args':_0x5f5641?[_0x5f5641]:[],'tdx':_0x110db5});gracefulExit(_0x413b30);}),segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3d6))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1cb))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x276),a2_0x3f695b(0x2bb))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1f9),a2_0x3f695b(0x1d8))[a2_0x3f695b(0x318)](async(_0x5bbe38,_0x4133b5)=>{const _0x23dae8=a2_0x3f695b,_0x4ea2c8=new SegmentPullCommand(),_0x1fd61a=program[_0x23dae8(0x22f)](),_0x10c5b9=await createTDXInstance(_0x1fd61a),_0x4daec2=await _0x4ea2c8['run']({'options':{..._0x1fd61a,..._0x4133b5},'args':_0x5bbe38?[_0x5bbe38]:[],'tdx':_0x10c5b9});gracefulExit(_0x4daec2);}),segmentCmd['command'](a2_0x3f695b(0x3f7))['description'](a2_0x3f695b(0x3d1))[a2_0x3f695b(0x3ed)]('-y,\x20--yes',a2_0x3f695b(0x2bb))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1f9),a2_0x3f695b(0x1d8))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x356),a2_0x3f695b(0x411))['action'](async(_0x14d413,_0x57cb1a)=>{const _0x2e9adf=a2_0x3f695b,_0x3d66b1=new SegmentPushCommand(),_0x5b8f61=program[_0x2e9adf(0x22f)](),_0x2d40ad=await createTDXInstance(_0x5b8f61),_0x3d83e3=await _0x3d66b1['run']({'options':{..._0x5b8f61,..._0x57cb1a},'args':_0x14d413?[_0x14d413]:[],'tdx':_0x2d40ad});gracefulExit(_0x3d83e3);}),segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2db))['description'](a2_0x3f695b(0x3a4))[a2_0x3f695b(0x318)](async(_0x1136f0,_0xc085b)=>{const _0x4c6c7b=a2_0x3f695b,_0x505447=new SegmentValidateCommand(),_0x1d391a=program[_0x4c6c7b(0x22f)](),_0x1bb272=await createTDXInstance(_0x1d391a),_0x311cc6=await _0x505447[_0x4c6c7b(0x39e)]({'options':{..._0x1d391a,..._0xc085b},'args':_0x1136f0?[_0x1136f0]:[],'tdx':_0x1bb272});gracefulExit(_0x311cc6);}),segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x407),{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x325))[a2_0x3f695b(0x3ed)]('--description\x20<text>','Segment\x20description')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x416),a2_0x3f695b(0x1f7))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x267),a2_0x3f695b(0x27f))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3c7),'Folder\x20name\x20for\x20organization')['option']('--kind\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['option'](a2_0x3f695b(0x386),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x204),a2_0x3f695b(0x24f))[a2_0x3f695b(0x318)](async(_0x14e832,_0x5421d5)=>{const _0x320941=a2_0x3f695b,_0x5eca8d=new SegmentCreateCommand(),_0x4688dd=program[_0x320941(0x22f)](),_0x237c05=await createTDXInstance(_0x4688dd),_0x35c82c=await _0x5eca8d[_0x320941(0x39e)]({'options':{..._0x4688dd,..._0x5421d5},'args':[_0x14e832],'tdx':_0x237c05});gracefulExit(_0x35c82c);}),segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1b2),{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x1a3))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x32a),a2_0x3f695b(0x3e4))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3aa),a2_0x3f695b(0x3a5))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x416),a2_0x3f695b(0x285))['option']('--rule-file\x20<file>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x3f695b(0x3ed)]('--folder\x20<name>',a2_0x3f695b(0x2f1))['option'](a2_0x3f695b(0x435),a2_0x3f695b(0x3cd))[a2_0x3f695b(0x318)](async(_0x380040,_0x7d3d8b)=>{const _0x71dd8b=a2_0x3f695b,_0x44659a=new SegmentUpdateCommand(),_0xd0cc76=program[_0x71dd8b(0x22f)](),_0x3b69d6=await createTDXInstance(_0xd0cc76),_0xdcfd64=await _0x44659a['run']({'options':{..._0xd0cc76,..._0x7d3d8b},'args':[_0x380040],'tdx':_0x3b69d6});gracefulExit(_0xdcfd64);});const parentCmd=segmentCmd[a2_0x3f695b(0x3e9)]('parent',{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x3cf)),parentListAction=async(_0x42d581,_0x1dd6ef)=>{const _0x49921f=a2_0x3f695b,_0x419db1=new ParentSegmentListCommand(),_0x410a74=program[_0x49921f(0x22f)](),_0x3f37c3=await createTDXInstance(_0x410a74),_0x3cc6ac=await _0x419db1['run']({'options':{..._0x410a74,..._0x1dd6ef},'args':_0x42d581?[_0x42d581]:[],'tdx':_0x3f37c3});gracefulExit(_0x3cc6ac);};parentCmd['command'](a2_0x3f695b(0x3f1))['description'](a2_0x3f695b(0x30b))[a2_0x3f695b(0x318)](parentListAction),segmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1a0),{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x2b8))[a2_0x3f695b(0x318)](parentListAction),parentCmd[a2_0x3f695b(0x3e9)]('pull\x20[name]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x315))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x245),a2_0x3f695b(0x2f8))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x276),a2_0x3f695b(0x28e))[a2_0x3f695b(0x318)](async(_0x5b27c2,_0x280db3)=>{const _0x4fc9b9=a2_0x3f695b,_0x348b7d=new ParentSegmentPullCommand(),_0xb40413=program[_0x4fc9b9(0x22f)](),_0x5943d7=await createTDXInstance(_0xb40413),_0x48f97c=await _0x348b7d[_0x4fc9b9(0x39e)]({'options':{..._0xb40413,..._0x280db3},'args':_0x5b27c2?[_0x5b27c2]:[],'tdx':_0x5943d7});gracefulExit(_0x48f97c);}),parentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x34e))[a2_0x3f695b(0x412)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x276),a2_0x3f695b(0x28e))[a2_0x3f695b(0x318)](async(_0xff1065,_0x59b468)=>{const _0x3c0955=a2_0x3f695b,_0x342c77=new ParentSegmentPushCommand(),_0x5b839e=program[_0x3c0955(0x22f)](),_0x5aa709=await createTDXInstance(_0x5b839e),_0x3908fc=await _0x342c77[_0x3c0955(0x39e)]({'options':{..._0x5b839e,..._0x59b468},'args':_0xff1065?[_0xff1065]:[],'tdx':_0x5aa709});gracefulExit(_0x3908fc);}),parentCmd[a2_0x3f695b(0x3e9)]('validate\x20[file]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x2fd))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x339),a2_0x3f695b(0x306))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x420),a2_0x3f695b(0x436))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1df),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option']('--enriched',a2_0x3f695b(0x2b7))[a2_0x3f695b(0x3ed)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3f695b(0x3cb))[a2_0x3f695b(0x318)](async(_0x1ed22a,_0x26c201)=>{const _0x5bf85b=a2_0x3f695b,_0x52ee5d=new ParentSegmentValidateCommand(),_0x40000d=program[_0x5bf85b(0x22f)](),_0x220653=await createTDXInstance(_0x40000d),_0x1f0576=await _0x52ee5d[_0x5bf85b(0x39e)]({'options':{..._0x40000d,..._0x26c201},'args':_0x1ed22a?[_0x1ed22a]:[],'tdx':_0x220653});gracefulExit(_0x1f0576);}),parentCmd['command'](a2_0x3f695b(0x2f2))['description'](a2_0x3f695b(0x322))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x339),a2_0x3f695b(0x34b))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x420),a2_0x3f695b(0x31b))[a2_0x3f695b(0x3ed)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2ef),a2_0x3f695b(0x3d5))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x33a),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3f695b(0x3cb))['action'](async(_0x510906,_0x577a06)=>{const _0xdf1070=a2_0x3f695b,_0x21e788=new ParentSegmentPreviewCommand(),_0x12090d=program[_0xdf1070(0x22f)](),_0x1e19a2=await createTDXInstance(_0x12090d),_0x493fb3=await _0x21e788[_0xdf1070(0x39e)]({'options':{..._0x12090d,..._0x577a06},'args':_0x510906?[_0x510906]:[],'tdx':_0x1e19a2});gracefulExit(_0x493fb3);}),parentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3c5))['description'](a2_0x3f695b(0x2f3))[a2_0x3f695b(0x3ed)]('-y,\x20--yes',a2_0x3f695b(0x28e))[a2_0x3f695b(0x318)](async(_0x456799,_0x2703a5)=>{const _0x5dec1b=a2_0x3f695b,_0x47a2be=new ParentSegmentRunCommand(),_0x407289=program[_0x5dec1b(0x22f)](),_0x1466ba=await createTDXInstance(_0x407289),_0x4ccc87=await _0x47a2be[_0x5dec1b(0x39e)]({'options':{..._0x407289,..._0x2703a5},'args':_0x456799?[_0x456799]:[],'tdx':_0x1466ba});gracefulExit(_0x4ccc87);});const parentSegmentCmd=program[a2_0x3f695b(0x3e9)]('parent-segment')[a2_0x3f695b(0x396)]('ps')['description']('Parent\x20segment\x20management');parentSegmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f1))[a2_0x3f695b(0x412)](a2_0x3f695b(0x30b))[a2_0x3f695b(0x318)](parentListAction),parentSegmentCmd['command']('pull\x20[name]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x2b6))['option'](a2_0x3f695b(0x245),a2_0x3f695b(0x29d))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x276),a2_0x3f695b(0x28e))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x203),a2_0x3f695b(0x19c))[a2_0x3f695b(0x318)](async(_0x475292,_0x14b990)=>{const _0x5dc5ba=a2_0x3f695b,_0x4c47a0=new ParentSegmentPullCommand(),_0x11285f=program['opts'](),_0x4a801b=await createTDXInstance(_0x11285f),_0x5d59f=await _0x4c47a0[_0x5dc5ba(0x39e)]({'options':{..._0x11285f,..._0x14b990},'args':_0x475292?[_0x475292]:[],'tdx':_0x4a801b});gracefulExit(_0x5d59f);}),parentSegmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1b9))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1d4))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x276),a2_0x3f695b(0x28e))[a2_0x3f695b(0x318)](async(_0x2c8e8b,_0x2d1706)=>{const _0x574523=a2_0x3f695b,_0x130ef8=new ParentSegmentPushCommand(),_0x584796=program['opts'](),_0x2c629c=await createTDXInstance(_0x584796),_0x20a148=await _0x130ef8[_0x574523(0x39e)]({'options':{..._0x584796,..._0x2d1706},'args':_0x2c8e8b?[_0x2c8e8b]:[],'tdx':_0x2c629c});gracefulExit(_0x20a148);}),parentSegmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2c8))[a2_0x3f695b(0x412)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x3f695b(0x3ed)]('--master',a2_0x3f695b(0x306))[a2_0x3f695b(0x3ed)]('--attribute\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option']('--behavior\x20[name]',a2_0x3f695b(0x414))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2ef),a2_0x3f695b(0x2b7))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x33a),a2_0x3f695b(0x29a),'-1d')[a2_0x3f695b(0x318)](async(_0x32f6cf,_0x411554)=>{const _0x48c811=a2_0x3f695b,_0x4ec64a=new ParentSegmentValidateCommand(),_0x554155=program[_0x48c811(0x22f)](),_0x3c7d21=await createTDXInstance(_0x554155),_0x42b8fa=await _0x4ec64a[_0x48c811(0x39e)]({'options':{..._0x554155,..._0x411554},'args':_0x32f6cf?[_0x32f6cf]:[],'tdx':_0x3c7d21});gracefulExit(_0x42b8fa);}),parentSegmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x30e))[a2_0x3f695b(0x412)](a2_0x3f695b(0x322))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x339),'Show\x20master\x20table\x20sample\x20data')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x420),a2_0x3f695b(0x31b))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1df),a2_0x3f695b(0x2ce))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2ef),a2_0x3f695b(0x3d5))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x33a),a2_0x3f695b(0x29a),a2_0x3f695b(0x3cb))['action'](async(_0x17c693,_0x315e87)=>{const _0x419d90=a2_0x3f695b,_0x535156=new ParentSegmentPreviewCommand(),_0x283cb9=program[_0x419d90(0x22f)](),_0x5a87ff=await createTDXInstance(_0x283cb9),_0x454169=await _0x535156[_0x419d90(0x39e)]({'options':{..._0x283cb9,..._0x315e87},'args':_0x17c693?[_0x17c693]:[],'tdx':_0x5a87ff});gracefulExit(_0x454169);}),parentSegmentCmd[a2_0x3f695b(0x3e9)]('run\x20[name]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x2f3))[a2_0x3f695b(0x3ed)]('-y,\x20--yes',a2_0x3f695b(0x28e))[a2_0x3f695b(0x318)](async(_0x133c5b,_0x1c6d6b)=>{const _0x540315=a2_0x3f695b,_0x985a53=new ParentSegmentRunCommand(),_0x10d81d=program[_0x540315(0x22f)](),_0x456a19=await createTDXInstance(_0x10d81d),_0x1c5791=await _0x985a53['run']({'options':{..._0x10d81d,..._0x1c6d6b},'args':_0x133c5b?[_0x133c5b]:[],'tdx':_0x456a19});gracefulExit(_0x1c5791);}),parentSegmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3b8))[a2_0x3f695b(0x412)](a2_0x3f695b(0x372))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x23c),a2_0x3f695b(0x2df))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x395),a2_0x3f695b(0x302))['action'](async(_0x44bb18,_0x4a0cb6)=>{const _0x3cffe8=a2_0x3f695b,_0x444948=new ParentSegmentFieldsCommand(),_0x25cf29=program[_0x3cffe8(0x22f)](),_0x1bc6ba=await createTDXInstance(_0x25cf29),_0x410953=await _0x444948[_0x3cffe8(0x39e)]({'options':{..._0x25cf29,..._0x4a0cb6},'args':_0x44bb18?[_0x44bb18]:[],'tdx':_0x1bc6ba});gracefulExit(_0x410953);}),parentSegmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x284))[a2_0x3f695b(0x412)](a2_0x3f695b(0x30f))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x340),a2_0x3f695b(0x363))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x23c),a2_0x3f695b(0x2df))['option'](a2_0x3f695b(0x395),'Output\x20as\x20JSON\x20Lines')[a2_0x3f695b(0x318)](async(_0x5d4632,_0x4bf4f3)=>{const _0x41052b=a2_0x3f695b,_0x189db0=new ParentSegmentViewCommand(),_0x1e7cab=program[_0x41052b(0x22f)](),_0x160111=await createTDXInstance(_0x1e7cab),_0x3afd74=await _0x189db0[_0x41052b(0x39e)]({'options':{..._0x1e7cab,..._0x4bf4f3},'args':_0x5d4632?[_0x5d4632]:[],'tdx':_0x160111});gracefulExit(_0x3afd74);}),parentSegmentCmd['command']('desc\x20[name]')['description'](a2_0x3f695b(0x22d))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x245),'Output\x20file\x20path')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x23c),a2_0x3f695b(0x2df))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x395),'Output\x20as\x20JSON\x20Lines')[a2_0x3f695b(0x318)](async(_0x37eb0d,_0x4c2cd2)=>{const _0x35e891=a2_0x3f695b,_0x3719ae=new ParentSegmentDescCommand(),_0x4d1434=program[_0x35e891(0x22f)](),_0x590b73=await createTDXInstance(_0x4d1434),_0x2a0e89=await _0x3719ae[_0x35e891(0x39e)]({'options':{..._0x4d1434,..._0x4c2cd2},'args':_0x37eb0d?[_0x37eb0d]:[],'tdx':_0x590b73});gracefulExit(_0x2a0e89);}),parentSegmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x390))['description'](a2_0x3f695b(0x246))[a2_0x3f695b(0x3ed)]('--json',a2_0x3f695b(0x2df))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x395),a2_0x3f695b(0x302))[a2_0x3f695b(0x318)](async(_0x3c4d36,_0x2f6e87)=>{const _0x52505f=a2_0x3f695b,_0x244d12=new ParentSegmentSQLCommand(),_0x3b69b4=program['opts'](),_0x2bb2ca=await createTDXInstance(_0x3b69b4),_0x1c1376=await _0x244d12[_0x52505f(0x39e)]({'options':{..._0x3b69b4,..._0x2f6e87},'args':_0x3c4d36?[_0x3c4d36]:[],'tdx':_0x2bb2ca});gracefulExit(_0x1c1376);}),parentSegmentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2f0))['description'](a2_0x3f695b(0x1be))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3e5),'Limit\x20number\x20of\x20rows')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x23c),a2_0x3f695b(0x2df))['option'](a2_0x3f695b(0x395),a2_0x3f695b(0x302))['action'](async(_0x35fded,_0xfd441b)=>{const _0x50c365=a2_0x3f695b,_0xe28312=new ParentSegmentShowCommand(),_0x50f26a=program[_0x50c365(0x22f)](),_0x2fd7ed=await createTDXInstance(_0x50f26a),_0x55c6af=await _0xe28312[_0x50c365(0x39e)]({'options':{..._0x50f26a,..._0xfd441b},'args':_0x35fded?[_0x35fded]:[],'tdx':_0x2fd7ed});gracefulExit(_0x55c6af);}),parentSegmentCmd['command'](a2_0x3f695b(0x23d))['description'](a2_0x3f695b(0x425))['action'](async(_0x31cddf,_0x202841)=>{const _0x332e04=a2_0x3f695b,_0x5813e2=new UseCommand(),_0x3ca2e9=program[_0x332e04(0x22f)](),_0x248421=_0x31cddf?[_0x332e04(0x30c),_0x31cddf]:[],_0x4f5425=await _0x5813e2[_0x332e04(0x39e)]({'options':{..._0x3ca2e9,..._0x202841},'args':_0x248421,'tdx':null});gracefulExit(_0x4f5425);});const psRtCmd=parentSegmentCmd[a2_0x3f695b(0x3e9)]('rt')[a2_0x3f695b(0x412)](a2_0x3f695b(0x25a));psRtCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f1))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2a6))[a2_0x3f695b(0x318)](async(_0x575f99,_0x5c716f)=>{const _0x3d0b87=a2_0x3f695b,_0xe02860=new PSRtListCommand(),_0x910b24=program[_0x3d0b87(0x22f)](),_0x2601e0=await createTDXInstance(_0x910b24),_0x32a32b=await _0xe02860[_0x3d0b87(0x39e)]({'options':{..._0x910b24,..._0x5c716f},'args':_0x575f99?[_0x575f99]:[],'tdx':_0x2601e0});gracefulExit(_0x32a32b);}),psRtCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2c8))['description'](a2_0x3f695b(0x3c2))[a2_0x3f695b(0x318)](async(_0x1a197e,_0x9c93c3)=>{const _0x4f5605=a2_0x3f695b,_0x1d1bc6=new PSRtValidateCommand(),_0x10a462=program[_0x4f5605(0x22f)](),_0x299a30=await createTDXInstance(_0x10a462),_0x16aac1=await _0x1d1bc6[_0x4f5605(0x39e)]({'options':{..._0x10a462,..._0x9c93c3},'args':_0x1a197e?[_0x1a197e]:[],'tdx':_0x299a30});gracefulExit(_0x16aac1);});const parentRtCmd=parentCmd[a2_0x3f695b(0x3e9)]('rt',{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x25a));parentRtCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f1))['description'](a2_0x3f695b(0x2a6))[a2_0x3f695b(0x318)](async(_0x3991f4,_0x206d51)=>{const _0x19dc89=a2_0x3f695b,_0x5c1b83=new PSRtListCommand(),_0x1e96c7=program['opts'](),_0x5387be=await createTDXInstance(_0x1e96c7),_0x27e2b9=await _0x5c1b83[_0x19dc89(0x39e)]({'options':{..._0x1e96c7,..._0x206d51},'args':_0x3991f4?[_0x3991f4]:[],'tdx':_0x5387be});gracefulExit(_0x27e2b9);}),parentRtCmd['command'](a2_0x3f695b(0x2c8))[a2_0x3f695b(0x412)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x3f695b(0x318)](async(_0x4d1734,_0xecb316)=>{const _0x38e901=a2_0x3f695b,_0x1ed29b=new PSRtValidateCommand(),_0x511ab1=program[_0x38e901(0x22f)](),_0x1d7e72=await createTDXInstance(_0x511ab1),_0x125d53=await _0x1ed29b[_0x38e901(0x39e)]({'options':{..._0x511ab1,..._0xecb316},'args':_0x4d1734?[_0x4d1734]:[],'tdx':_0x1d7e72});gracefulExit(_0x125d53);});const psPzCmd=parentSegmentCmd[a2_0x3f695b(0x3e9)]('pz')[a2_0x3f695b(0x412)](a2_0x3f695b(0x40e));psPzCmd['command']('list\x20[name]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x26d))[a2_0x3f695b(0x318)](async(_0x566d62,_0x405bf8)=>{const _0x5dbed2=a2_0x3f695b,_0x4a5982=new PSPzListCommand(),_0x59a73b=program[_0x5dbed2(0x22f)](),_0x394d92=await createTDXInstance(_0x59a73b),_0x50e374=await _0x4a5982[_0x5dbed2(0x39e)]({'options':{..._0x59a73b,..._0x405bf8},'args':_0x566d62?[_0x566d62]:[],'tdx':_0x394d92});gracefulExit(_0x50e374);}),psPzCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x28f))[a2_0x3f695b(0x412)](a2_0x3f695b(0x383))['action'](async(_0x39b307,_0x305e86)=>{const _0x5a785e=a2_0x3f695b,_0xbb52ea=new PSPzInitCommand(),_0x345833=program[_0x5a785e(0x22f)](),_0x1c620f=await createTDXInstance(_0x345833),_0x5e5288=await _0xbb52ea[_0x5a785e(0x39e)]({'options':{..._0x345833,..._0x305e86},'args':_0x39b307?[_0x39b307]:[],'tdx':_0x1c620f});gracefulExit(_0x5e5288);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x40e));parentPzCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x42c))['description'](a2_0x3f695b(0x26d))['action'](async(_0x214bee,_0x1b2631)=>{const _0x3eb7fc=a2_0x3f695b,_0x399451=new PSPzListCommand(),_0x2573dc=program['opts'](),_0x476e89=await createTDXInstance(_0x2573dc),_0x94bb8c=await _0x399451[_0x3eb7fc(0x39e)]({'options':{..._0x2573dc,..._0x1b2631},'args':_0x214bee?[_0x214bee]:[],'tdx':_0x476e89});gracefulExit(_0x94bb8c);}),parentPzCmd['command']('init\x20[name]')[a2_0x3f695b(0x412)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3f695b(0x318)](async(_0x1573cf,_0x275983)=>{const _0x378449=a2_0x3f695b,_0x905124=new PSPzInitCommand(),_0x395285=program[_0x378449(0x22f)](),_0x15c514=await createTDXInstance(_0x395285),_0x246f3e=await _0x905124[_0x378449(0x39e)]({'options':{..._0x395285,..._0x275983},'args':_0x1573cf?[_0x1573cf]:[],'tdx':_0x15c514});gracefulExit(_0x246f3e);}),parentCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f4))['description'](a2_0x3f695b(0x400))[a2_0x3f695b(0x248)](a2_0x3f695b(0x324),a2_0x3f695b(0x1ac))[a2_0x3f695b(0x248)](a2_0x3f695b(0x2e1),a2_0x3f695b(0x2e5))['option']('--description\x20<text>',a2_0x3f695b(0x331))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x297),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option'](a2_0x3f695b(0x2e0),a2_0x3f695b(0x344))['option']('--timezone\x20<tz>','Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3d0),a2_0x3f695b(0x27a))['option'](a2_0x3f695b(0x37a),'Attributes\x20from\x20JSON\x20file')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x272),'Behaviors\x20as\x20JSON\x20string')[a2_0x3f695b(0x3ed)]('--behaviors-file\x20<file>',a2_0x3f695b(0x317))[a2_0x3f695b(0x3ed)]('--customer-group\x20<json>',a2_0x3f695b(0x1b1))[a2_0x3f695b(0x3ed)]('--customer-group-file\x20<file>',a2_0x3f695b(0x3c0))[a2_0x3f695b(0x318)](async(_0x543d4c,_0x51f785)=>{const _0x37514e=a2_0x3f695b,_0x31047c=new ParentSegmentCreateCommand(),_0x17a213=program[_0x37514e(0x22f)](),_0x11799d=await createTDXInstance(_0x17a213),_0x583f12=await _0x31047c['run']({'options':{..._0x17a213,..._0x51f785},'args':[_0x543d4c],'tdx':_0x11799d});gracefulExit(_0x583f12);}),parentCmd['command'](a2_0x3f695b(0x3db))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1ad))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3aa),a2_0x3f695b(0x3a5))[a2_0x3f695b(0x3ed)]('--schedule-type\x20<type>',a2_0x3f695b(0x2cf))['option'](a2_0x3f695b(0x2e0),'Updated\x20schedule\x20option')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d2),a2_0x3f695b(0x2c3))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x28a),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x3f695b(0x3ed)]('--add-attributes-file\x20<file>',a2_0x3f695b(0x377))[a2_0x3f695b(0x3ed)]('--add-behaviors\x20<json>',a2_0x3f695b(0x3a2))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x257),a2_0x3f695b(0x3fd))[a2_0x3f695b(0x318)](async(_0x270e76,_0x4d42b9)=>{const _0x47015e=a2_0x3f695b,_0x555106=new ParentSegmentUpdateCommand(),_0x4f9fab=program[_0x47015e(0x22f)](),_0x15e012=await createTDXInstance(_0x4f9fab),_0x4defdf=await _0x555106[_0x47015e(0x39e)]({'options':{..._0x4f9fab,..._0x4d42b9},'args':[_0x270e76],'tdx':_0x15e012});gracefulExit(_0x4defdf);}),folderCmd['command'](a2_0x3f695b(0x237))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1ec))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3aa),a2_0x3f695b(0x292))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x42e),a2_0x3f695b(0x2a1))[a2_0x3f695b(0x318)](async(_0x360d05,_0x57925a,_0x3ce79f)=>{const _0x2735a7=a2_0x3f695b,_0x4dd6e0=new SegmentFolderCreateCommand(),_0x5d4650=program[_0x2735a7(0x22f)](),_0x3b66b8=await createTDXInstance(_0x5d4650),_0x15becd=await _0x4dd6e0[_0x2735a7(0x39e)]({'options':{..._0x5d4650,..._0x3ce79f},'args':[_0x360d05,_0x57925a],'tdx':_0x3b66b8});gracefulExit(_0x15becd);}),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x210))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3ba))[a2_0x3f695b(0x318)](async(_0xfaa21,_0x2ef21f)=>{const _0x33af51=new ActivationsCommand(),_0x263ebf=program['opts'](),_0x337f45=await createTDXInstance(_0x263ebf),_0x23f959=await _0x33af51['run']({'options':{..._0x263ebf,..._0x2ef21f},'args':[_0xfaa21],'tdx':_0x337f45});gracefulExit(_0x23f959);});const workflowCmd=program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x422))[a2_0x3f695b(0x396)]('wf')[a2_0x3f695b(0x412)](a2_0x3f695b(0x358)),wfProjectCmd=workflowCmd[a2_0x3f695b(0x3e9)]('project')[a2_0x3f695b(0x412)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x40a827,_0x2d0ca2)=>{const _0x1462d7=a2_0x3f695b,_0x1383b3=new WorkflowProjectsCommand(),_0xce54bb=program['opts'](),_0x1419e4=await createTDXInstance(_0xce54bb),_0x1de3be=await _0x1383b3[_0x1462d7(0x39e)]({'options':{..._0xce54bb,..._0x2d0ca2},'args':_0x40a827?[_0x40a827]:[],'tdx':_0x1419e4});gracefulExit(_0x1de3be);};wfProjectCmd[a2_0x3f695b(0x3e9)]('list\x20[pattern]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x33b))[a2_0x3f695b(0x318)](wfProjectListAction),workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3df))['description'](a2_0x3f695b(0x1de))[a2_0x3f695b(0x318)](wfProjectListAction);const wfWorkflowListAction=async(_0x22f902,_0x39a16b)=>{const _0x5569b5=a2_0x3f695b,_0x2a4890=new WorkflowWorkflowsCommand(),_0x391db7=program[_0x5569b5(0x22f)](),_0x138003=await createTDXInstance(_0x391db7),_0x4b023f=await _0x2a4890[_0x5569b5(0x39e)]({'options':{..._0x391db7,..._0x39a16b},'args':_0x22f902?[_0x22f902]:[],'tdx':_0x138003});gracefulExit(_0x4b023f);};workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3ef))[a2_0x3f695b(0x412)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x3f695b(0x318)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x22a))['description'](a2_0x3f695b(0x32f)),wfSessionListAction=async(_0x28a3cd,_0x1f6620)=>{const _0xea5f90=a2_0x3f695b,_0x50cfec=new WorkflowSessionsCommand(),_0x9c5335=program[_0xea5f90(0x22f)](),_0x3b8e47=await createTDXInstance(_0x9c5335),_0x321037=await _0x50cfec['run']({'options':{..._0x9c5335,..._0x1f6620},'args':_0x28a3cd?[_0x28a3cd]:[],'tdx':_0x3b8e47});gracefulExit(_0x321037);};wfSessionCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x368))['description'](a2_0x3f695b(0x38e))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3f9),a2_0x3f695b(0x26f))['option']('--from\x20<timestamp>',a2_0x3f695b(0x32d))['option'](a2_0x3f695b(0x2d2),a2_0x3f695b(0x3e8))['action'](wfSessionListAction),workflowCmd[a2_0x3f695b(0x3e9)]('sessions\x20[project]')['description'](a2_0x3f695b(0x261))['option'](a2_0x3f695b(0x3f9),a2_0x3f695b(0x26f))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x254),a2_0x3f695b(0x32d))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2d2),a2_0x3f695b(0x3e8))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x3553e2,_0x583c9f)=>{const _0x1afe69=a2_0x3f695b,_0x2d504f=new WorkflowAttemptsCommand(),_0xba1341=program[_0x1afe69(0x22f)](),_0x484a69=await createTDXInstance(_0xba1341),_0x1499e5=await _0x2d504f['run']({'options':{..._0xba1341,..._0x583c9f},'args':_0x3553e2?[_0x3553e2]:[],'tdx':_0x484a69});gracefulExit(_0x1499e5);},attemptCmd=workflowCmd['command'](a2_0x3f695b(0x311))[a2_0x3f695b(0x412)](a2_0x3f695b(0x35f))[a2_0x3f695b(0x2aa)]('[attempt-id]',a2_0x3f695b(0x2d4))[a2_0x3f695b(0x2aa)](a2_0x3f695b(0x1a1),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x3f695b(0x2aa)](a2_0x3f695b(0x403),a2_0x3f695b(0x2bf))['option'](a2_0x3f695b(0x3f2),a2_0x3f695b(0x296))[a2_0x3f695b(0x3ed)]('--reason\x20<text>','Reason\x20for\x20killing\x20the\x20attempt')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2c0),a2_0x3f695b(0x31e))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x300),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')['option']('--force',a2_0x3f695b(0x288))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1b8),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x3f695b(0x318)](async(_0x28a070,_0xe644d4,_0x5850fb,_0x2edf70)=>{const _0x3bcfc0=a2_0x3f695b;if(_0x28a070===_0x3bcfc0(0x39f)){await wfAttemptListAction(_0xe644d4,_0x2edf70);return;}if(!_0x28a070){attemptCmd[_0x3bcfc0(0x215)]();return;}const _0x1876f7=program[_0x3bcfc0(0x22f)](),_0x1e6c89=await createTDXInstance(_0x1876f7);let _0x12af4b=0x0;if(!_0xe644d4){const _0x4e18a5=new WorkflowAttemptCommand();_0x12af4b=await _0x4e18a5[_0x3bcfc0(0x39e)]({'options':{..._0x1876f7,..._0x2edf70},'args':[_0x28a070],'tdx':_0x1e6c89});}else{if(_0xe644d4==='logs'){const _0x224b9a=new WorkflowLogsCommand();_0x12af4b=await _0x224b9a[_0x3bcfc0(0x39e)]({'options':{..._0x1876f7,..._0x2edf70},'args':_0x5850fb?[_0x28a070,_0x5850fb]:[_0x28a070],'tdx':_0x1e6c89});}else{if(_0xe644d4===_0x3bcfc0(0x38a)){const _0x4546ed=new WorkflowTasksCommand();_0x12af4b=await _0x4546ed['run']({'options':{..._0x1876f7,..._0x2edf70},'args':[_0x28a070],'tdx':_0x1e6c89});}else{if(_0xe644d4==='kill'){const _0x11e057=new WorkflowKillCommand();_0x12af4b=await _0x11e057[_0x3bcfc0(0x39e)]({'options':{..._0x1876f7,..._0x2edf70},'args':[_0x28a070],'tdx':_0x1e6c89});}else{if(_0xe644d4===_0x3bcfc0(0x28c)){const _0x4a986b=new WorkflowRetryCommand();_0x12af4b=await _0x4a986b[_0x3bcfc0(0x39e)]({'options':{..._0x1876f7,..._0x2edf70},'args':[_0x3bcfc0(0x2de)+_0x28a070],'tdx':_0x1e6c89});}else console[_0x3bcfc0(0x3fc)](_0x3bcfc0(0x282)+_0xe644d4),console[_0x3bcfc0(0x3fc)](_0x3bcfc0(0x1f1)),_0x12af4b=0x1;}}}}gracefulExit(_0x12af4b);});attemptCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x368))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3e6))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1b8),a2_0x3f695b(0x239))[a2_0x3f695b(0x318)](wfAttemptListAction),workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x29b))['description'](a2_0x3f695b(0x260))['option']('--include-retried',a2_0x3f695b(0x239))[a2_0x3f695b(0x318)](wfAttemptListAction),workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x379))[a2_0x3f695b(0x412)](a2_0x3f695b(0x40c))['option']('--follow',a2_0x3f695b(0x1e0))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x41e),a2_0x3f695b(0x299))['option'](a2_0x3f695b(0x3b7),a2_0x3f695b(0x1fb))[a2_0x3f695b(0x318)](async(_0x183899,_0x104f37)=>{const _0x1bf3b6=a2_0x3f695b,_0x1635e8=new WorkflowTimelineCommand(),_0x296523=program['opts'](),_0x13d43c=await createTDXInstance(_0x296523),_0x357b98=await _0x1635e8[_0x1bf3b6(0x39e)]({'options':{..._0x296523,..._0x104f37},'args':_0x183899?[_0x183899]:[],'tdx':_0x13d43c});gracefulExit(_0x357b98);}),workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x37c))[a2_0x3f695b(0x412)](a2_0x3f695b(0x348))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2ee),a2_0x3f695b(0x432))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x300),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x3f695b(0x318)](async(_0xc3d081,_0x39f8a7)=>{const _0x4d8391=a2_0x3f695b,_0x19ced2=new WorkflowRetryCommand(),_0x565346=program[_0x4d8391(0x22f)](),_0x3083cf=await createTDXInstance(_0x565346),_0x153e2d=await _0x19ced2[_0x4d8391(0x39e)]({'options':{..._0x565346,..._0x39f8a7},'args':[_0xc3d081],'tdx':_0x3083cf});gracefulExit(_0x153e2d);}),workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x202))['description'](a2_0x3f695b(0x346))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x36d),'Workflow\x20parameter\x20(repeatable)',(_0x3dd7a9,_0x221a66=[])=>[..._0x221a66,_0x3dd7a9],[])[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x360),a2_0x3f695b(0x35a))[a2_0x3f695b(0x318)](async(_0x1fc97f,_0x1cc150)=>{const _0x24f512=a2_0x3f695b,_0x2401ba=new WorkflowRunCommand(),_0xefa2ec=program[_0x24f512(0x22f)](),_0x5c9545=await createTDXInstance(_0xefa2ec),_0x2689e5=await _0x2401ba['run']({'options':{..._0xefa2ec,..._0x1cc150},'args':_0x1fc97f?[_0x1fc97f]:[],'tdx':_0x5c9545});gracefulExit(_0x2689e5);}),workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2fc))[a2_0x3f695b(0x412)](a2_0x3f695b(0x208))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x24a),a2_0x3f695b(0x2a4))[a2_0x3f695b(0x318)](async(_0x391cb1,_0xc82c94,_0x1addeb)=>{const _0x15f5c8=a2_0x3f695b,_0x5cc909=new WorkflowDownloadCommand(),_0x4e7dbd=program[_0x15f5c8(0x22f)](),_0x3696b4=await createTDXInstance(_0x4e7dbd),_0x2a6969=await _0x5cc909[_0x15f5c8(0x39e)]({'options':{..._0x4e7dbd,..._0x1addeb},'args':[_0x391cb1,_0xc82c94||'.'],'tdx':_0x3696b4});gracefulExit(_0x2a6969);}),workflowCmd['command'](a2_0x3f695b(0x351))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1b0))[a2_0x3f695b(0x3ed)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')['option'](a2_0x3f695b(0x1f9),a2_0x3f695b(0x35c))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x276),a2_0x3f695b(0x28e))[a2_0x3f695b(0x318)](async(_0xe27257,_0x4840f4,_0x1e6c25)=>{const _0x5350e5=a2_0x3f695b,_0x1717db=new WorkflowPullCommand(),_0x2aece6=program[_0x5350e5(0x22f)](),_0x4123d8=await createTDXInstance(_0x2aece6),_0x1586a1=await _0x1717db[_0x5350e5(0x39e)]({'options':{..._0x2aece6,..._0x1e6c25},'args':_0x4840f4?[_0xe27257,_0x4840f4]:[_0xe27257],'tdx':_0x4123d8});gracefulExit(_0x1586a1);}),workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x247))['description']('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')['option']('--revision\x20<revision>',a2_0x3f695b(0x41b))['option'](a2_0x3f695b(0x1f9),a2_0x3f695b(0x253))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x241),a2_0x3f695b(0x19b))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x276),a2_0x3f695b(0x28e))['action'](async(_0x4c8c9c,_0x2e6677)=>{const _0x5dff54=a2_0x3f695b,_0x3208e7=new WorkflowPushCommand(),_0x16a287=program[_0x5dff54(0x22f)](),_0x253638=await createTDXInstance(_0x16a287),_0x227f57=await _0x3208e7['run']({'options':{..._0x16a287,..._0x2e6677},'args':_0x4c8c9c?[_0x4c8c9c]:[],'tdx':_0x253638});gracefulExit(_0x227f57);}),workflowCmd[a2_0x3f695b(0x3e9)]('upload\x20[project-name-or-dir]')['description'](a2_0x3f695b(0x25c))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x312),a2_0x3f695b(0x3b6))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x24a),a2_0x3f695b(0x39a))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x241),a2_0x3f695b(0x19b))['action'](async(_0x22aa43,_0x3f3b52)=>{const _0x28cbd1=a2_0x3f695b,_0x37bfd1=new WorkflowUploadCommand(),_0x216019=program[_0x28cbd1(0x22f)](),_0x5e55f5=await createTDXInstance(_0x216019),_0x51eba6=await _0x37bfd1[_0x28cbd1(0x39e)]({'options':{..._0x216019,..._0x3f3b52},'args':_0x22aa43?[_0x22aa43]:[],'tdx':_0x5e55f5});gracefulExit(_0x51eba6);}),workflowCmd['command'](a2_0x3f695b(0x3f8))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3c9))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x312),a2_0x3f695b(0x2d6))['option']('--revision\x20<revision>',a2_0x3f695b(0x41b))[a2_0x3f695b(0x3ed)]('--dry-run',a2_0x3f695b(0x205))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x241),a2_0x3f695b(0x19b))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x276),a2_0x3f695b(0x28e))[a2_0x3f695b(0x318)](async(_0x14f6a2,_0x3e30f6)=>{const _0x11f10a=a2_0x3f695b,_0x447c7d=new WorkflowCloneCommand(),_0x171110=program['opts'](),_0x299783=await createTDXInstance(_0x171110),_0x2d4d9d=await _0x447c7d[_0x11f10a(0x39e)]({'options':{..._0x171110,..._0x3e30f6},'args':_0x14f6a2?[_0x14f6a2]:[],'tdx':_0x299783});gracefulExit(_0x2d4d9d);}),workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3ad))[a2_0x3f695b(0x412)](a2_0x3f695b(0x338))[a2_0x3f695b(0x318)](async(_0xb4e094,_0x45c5dd)=>{const _0x37f42b=a2_0x3f695b,_0x443506=new WorkflowDeleteCommand(),_0x30db60=program['opts'](),_0x665835=await createTDXInstance(_0x30db60),_0x2811f6=await _0x443506[_0x37f42b(0x39e)]({'options':{..._0x30db60,..._0x45c5dd},'args':[_0xb4e094],'tdx':_0x665835});gracefulExit(_0x2811f6);}),workflowCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x273))['description']('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x33c),a2_0x3f695b(0x286))[a2_0x3f695b(0x318)](async(_0x1d3cea,_0x95466f)=>{const _0x5cb35e=a2_0x3f695b,_0x129ae9=new WorkflowUseCommand(),_0x2647b4=program[_0x5cb35e(0x22f)](),_0x510ebb=await createTDXInstance(_0x2647b4),_0x513c71=await _0x129ae9['run']({'options':{..._0x2647b4,..._0x95466f},'args':_0x1d3cea?[_0x1d3cea]:[],'tdx':_0x510ebb});gracefulExit(_0x513c71);});const wfSecretsCmd=workflowCmd['command'](a2_0x3f695b(0x31a))['description'](a2_0x3f695b(0x32e));wfSecretsCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x368))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2a9))[a2_0x3f695b(0x318)](async(_0x113271,_0x570cfa)=>{const _0x172aec=new WorkflowSecretsListCommand(),_0x327b5d=program['opts'](),_0x2d814a=await createTDXInstance(_0x327b5d),_0x2f8710=await _0x172aec['run']({'options':{..._0x327b5d,..._0x570cfa},'args':_0x113271?[_0x113271]:[],'tdx':_0x2d814a});gracefulExit(_0x2f8710);}),wfSecretsCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x29f))[a2_0x3f695b(0x412)](a2_0x3f695b(0x342))[a2_0x3f695b(0x318)](async(_0x36755a,_0x111a78)=>{const _0xd669fe=a2_0x3f695b,_0x1b439e=new WorkflowSecretsSetCommand(),_0x1fcdfb=program[_0xd669fe(0x22f)](),_0x524b7b=await createTDXInstance(_0x1fcdfb),_0x109b9f=await _0x1b439e[_0xd669fe(0x39e)]({'options':{..._0x1fcdfb,..._0x111a78},'args':_0x36755a,'tdx':_0x524b7b});gracefulExit(_0x109b9f);}),wfSecretsCmd['command'](a2_0x3f695b(0x2b5))[a2_0x3f695b(0x412)](a2_0x3f695b(0x283))[a2_0x3f695b(0x3ed)]('-y,\x20--yes','Skip\x20confirmation\x20prompt')['action'](async(_0x408951,_0x5e784b)=>{const _0x5243b0=a2_0x3f695b,_0x5177f0=new WorkflowSecretsDeleteCommand(),_0x4baeb1=program['opts'](),_0x165375=await createTDXInstance(_0x4baeb1),_0x4c8d40=await _0x5177f0[_0x5243b0(0x39e)]({'options':{..._0x4baeb1,..._0x5e784b},'args':_0x408951,'tdx':_0x165375});gracefulExit(_0x4c8d40);});const jobCmd=program[a2_0x3f695b(0x3e9)]('job')[a2_0x3f695b(0x412)](a2_0x3f695b(0x29c)),jobListAction=async _0xd7711=>{const _0x3adbce=new JobListCommand(),_0x56b356=program['opts'](),_0x287659=await createTDXInstance(_0x56b356),_0x5c8fa8=await _0x3adbce['run']({'options':{..._0x56b356,..._0xd7711},'args':[],'tdx':_0x287659});gracefulExit(_0x5c8fa8);};jobCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x39f))[a2_0x3f695b(0x412)](a2_0x3f695b(0x334))[a2_0x3f695b(0x3ed)]('--status\x20<status>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x3f695b(0x318)](jobListAction),program['command'](a2_0x3f695b(0x23b),{'hidden':!![]})[a2_0x3f695b(0x412)](a2_0x3f695b(0x335))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3f9),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x3f695b(0x318)](jobListAction),jobCmd['command']('show\x20<job-id>')['description'](a2_0x3f695b(0x2b2))[a2_0x3f695b(0x318)](async(_0x574559,_0x195260)=>{const _0x189949=a2_0x3f695b,_0x4be110=new JobShowCommand(),_0xf0586b=program[_0x189949(0x22f)](),_0x9a20f4=await createTDXInstance(_0xf0586b),_0xb9b32c=await _0x4be110[_0x189949(0x39e)]({'options':{..._0xf0586b,..._0x195260},'args':[_0x574559],'tdx':_0x9a20f4});gracefulExit(_0xb9b32c);}),jobCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x341))[a2_0x3f695b(0x412)](a2_0x3f695b(0x290))['action'](async(_0x33df36,_0x1434c6)=>{const _0x337049=a2_0x3f695b,_0xcd5333=new JobKillCommand(),_0x494d0b=program[_0x337049(0x22f)](),_0x3fee48=await createTDXInstance(_0x494d0b),_0x186b01=await _0xcd5333[_0x337049(0x39e)]({'options':{..._0x494d0b,..._0x1434c6},'args':[_0x33df36],'tdx':_0x3fee48});gracefulExit(_0x186b01);}),jobCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x36a))['description']('Submit\x20a\x20job')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1a5),a2_0x3f695b(0x1ba),a2_0x3f695b(0x1b7))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x294),a2_0x3f695b(0x2b9))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3e1),a2_0x3f695b(0x2e7),a2_0x3f695b(0x264))[a2_0x3f695b(0x318)](async(_0x4df6c0,_0x21077c)=>{const _0x43e8f9=a2_0x3f695b,_0x1f2c61=new JobSubmitCommand(),_0x7e2131=program[_0x43e8f9(0x22f)](),_0x1ffe04=await createTDXInstance(_0x7e2131),_0x3e1944=await _0x1f2c61[_0x43e8f9(0x39e)]({'options':{..._0x7e2131,..._0x21077c},'args':_0x4df6c0?[_0x4df6c0]:[],'tdx':_0x1ffe04});gracefulExit(_0x3e1944);}),jobCmd[a2_0x3f695b(0x3e9)]('result\x20<job-id>')[a2_0x3f695b(0x412)](a2_0x3f695b(0x1e9))['action'](async(_0x33efc0,_0x3240cb)=>{const _0x1ec330=a2_0x3f695b,_0xb85ffc=new JobResultCommand(),_0x1890e2=program[_0x1ec330(0x22f)](),_0x141270=await createTDXInstance(_0x1890e2),_0x2233c0=await _0xb85ffc[_0x1ec330(0x39e)]({'options':{..._0x1890e2,..._0x3240cb},'args':[_0x33efc0],'tdx':_0x141270});gracefulExit(_0x2233c0);});const scheduleCmd=jobCmd['command'](a2_0x3f695b(0x221))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2c4));scheduleCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f1))['description']('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x5905a1,_0x48c158)=>{const _0x4fd094=a2_0x3f695b,_0x194f54=new ScheduleListCommand(),_0x6abb15=program[_0x4fd094(0x22f)](),_0x3186cd=await createTDXInstance(_0x6abb15),_0x309bd6=await _0x194f54[_0x4fd094(0x39e)]({'options':{..._0x6abb15,..._0x48c158},'args':_0x5905a1?[_0x5905a1]:[],'tdx':_0x3186cd});gracefulExit(_0x309bd6);}),scheduleCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x42f))['description']('Show\x20schedule\x20details')['action'](async(_0x17b17c,_0x20eec9)=>{const _0x5860cd=a2_0x3f695b,_0x54b75c=new ScheduleShowCommand(),_0x5885bc=program[_0x5860cd(0x22f)](),_0x24d7c4=await createTDXInstance(_0x5885bc),_0x2c20ea=await _0x54b75c['run']({'options':{..._0x5885bc,..._0x20eec9},'args':[_0x17b17c],'tdx':_0x24d7c4});gracefulExit(_0x2c20ea);}),scheduleCmd['command']('create\x20<name>')[a2_0x3f695b(0x412)]('Create\x20a\x20scheduled\x20query')[a2_0x3f695b(0x248)](a2_0x3f695b(0x19f),a2_0x3f695b(0x217))['requiredOption'](a2_0x3f695b(0x294),a2_0x3f695b(0x2b9))[a2_0x3f695b(0x3ed)]('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive',a2_0x3f695b(0x1b7))['option'](a2_0x3f695b(0x33f),a2_0x3f695b(0x3ea))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d2),a2_0x3f695b(0x291))['option'](a2_0x3f695b(0x307),a2_0x3f695b(0x380))[a2_0x3f695b(0x3ed)]('--priority\x20<-2~2>','Job\x20priority\x20(-2\x20to\x202)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x320),a2_0x3f695b(0x1aa))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x38f),a2_0x3f695b(0x431))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2a8),a2_0x3f695b(0x418))[a2_0x3f695b(0x318)](async(_0x75915e,_0x4447f4)=>{const _0x31674d=a2_0x3f695b,_0xfb00b6=new ScheduleCreateCommand(),_0x1ec051=program[_0x31674d(0x22f)](),_0x245dd2=await createTDXInstance(_0x1ec051),_0x239e7c=await _0xfb00b6[_0x31674d(0x39e)]({'options':{..._0x1ec051,..._0x4447f4},'args':[_0x75915e],'tdx':_0x245dd2});gracefulExit(_0x239e7c);}),scheduleCmd[a2_0x3f695b(0x3e9)]('update\x20<name>')['description'](a2_0x3f695b(0x2fe))['option'](a2_0x3f695b(0x19f),a2_0x3f695b(0x217))[a2_0x3f695b(0x3ed)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')['option'](a2_0x3f695b(0x2d1),a2_0x3f695b(0x1fc))['option'](a2_0x3f695b(0x33f),a2_0x3f695b(0x3ea))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d2),a2_0x3f695b(0x424))[a2_0x3f695b(0x3ed)]('--delay\x20<seconds>',a2_0x3f695b(0x380))['option'](a2_0x3f695b(0x2f7),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x320),'Retry\x20limit\x20(0\x20to\x2032)')['option'](a2_0x3f695b(0x38f),a2_0x3f695b(0x431))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2a8),a2_0x3f695b(0x418))[a2_0x3f695b(0x318)](async(_0x1dde97,_0x25bf67)=>{const _0x97bdb7=a2_0x3f695b,_0x348e87=new ScheduleUpdateCommand(),_0x54fe77=program['opts'](),_0x146aae=await createTDXInstance(_0x54fe77),_0x48227d=await _0x348e87[_0x97bdb7(0x39e)]({'options':{..._0x54fe77,..._0x25bf67},'args':[_0x1dde97],'tdx':_0x146aae});gracefulExit(_0x48227d);}),scheduleCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1c8))[a2_0x3f695b(0x412)]('Delete\x20a\x20scheduled\x20query')[a2_0x3f695b(0x318)](async(_0x1894ea,_0x3bf88e)=>{const _0x1c83a4=a2_0x3f695b,_0x38d41d=new ScheduleDeleteCommand(),_0x7a5fd9=program[_0x1c83a4(0x22f)](),_0x190aeb=await createTDXInstance(_0x7a5fd9),_0x250f09=await _0x38d41d[_0x1c83a4(0x39e)]({'options':{..._0x7a5fd9,..._0x3bf88e},'args':[_0x1894ea],'tdx':_0x190aeb});gracefulExit(_0x250f09);}),scheduleCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2ab))[a2_0x3f695b(0x412)]('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x313),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x225),a2_0x3f695b(0x3ec))[a2_0x3f695b(0x318)](async(_0x369ccb,_0x1ac6ad)=>{const _0x1c486d=a2_0x3f695b,_0x57b188=new ScheduleRunCommand(),_0x1fd1e2=program[_0x1c486d(0x22f)](),_0x171f53=await createTDXInstance(_0x1fd1e2),_0x1072be=await _0x57b188[_0x1c486d(0x39e)]({'options':{..._0x1fd1e2,..._0x1ac6ad},'args':[_0x369ccb],'tdx':_0x171f53});gracefulExit(_0x1072be);}),scheduleCmd['command']('history\x20<name>')[a2_0x3f695b(0x412)]('Show\x20schedule\x20execution\x20history')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x21e),'Starting\x20offset\x20(default:\x200)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3a1),a2_0x3f695b(0x402))['action'](async(_0x465717,_0x38eb7e)=>{const _0x33581e=a2_0x3f695b,_0x27c268=new ScheduleHistoryCommand(),_0x1b1360=program['opts'](),_0x1659ef=await createTDXInstance(_0x1b1360),_0x236dc6=await _0x27c268[_0x33581e(0x39e)]({'options':{..._0x1b1360,..._0x38eb7e},'args':[_0x465717],'tdx':_0x1659ef});gracefulExit(_0x236dc6);});const llmCmd=program['command'](a2_0x3f695b(0x233))['description']('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x3f695b(0x3e9)]('use\x20<project-name>')[a2_0x3f695b(0x412)](a2_0x3f695b(0x234))[a2_0x3f695b(0x318)](async(_0x168bbb,_0x284c62)=>{const _0x1f59bd=a2_0x3f695b,_0x1cf1f4=new LLMUseCommand(),_0x5c97c2=program[_0x1f59bd(0x22f)](),_0x248068=await createTDXInstance(_0x5c97c2),_0x5153c6=await _0x1cf1f4[_0x1f59bd(0x39e)]({'options':{..._0x5c97c2,..._0x284c62},'args':[_0x168bbb],'tdx':_0x248068});gracefulExit(_0x5153c6);}),llmCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1a2))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1bf))[a2_0x3f695b(0x318)](async _0x3fbdb6=>{const _0x48a7fe=a2_0x3f695b,_0x5a3fa5=new LLMModelsCommand(),_0x232cae=program[_0x48a7fe(0x22f)](),_0x29e909=await createTDXInstance(_0x232cae),_0xb14715=await _0x5a3fa5[_0x48a7fe(0x39e)]({'options':{..._0x232cae,..._0x3fbdb6},'args':[],'tdx':_0x29e909});gracefulExit(_0xb14715);});const projectCmd=llmCmd[a2_0x3f695b(0x3e9)]('project')[a2_0x3f695b(0x412)](a2_0x3f695b(0x2c7)),llmProjectListAction=async(_0x10d801,_0x593adc)=>{const _0x53345d=a2_0x3f695b,_0x49b427=new LLMProjectsCommand(),_0x179fab=program[_0x53345d(0x22f)](),_0x59b496=await createTDXInstance(_0x179fab),_0x204063=await _0x49b427[_0x53345d(0x39e)]({'options':{..._0x179fab,..._0x593adc},'args':_0x10d801?[_0x10d801]:[],'tdx':_0x59b496});gracefulExit(_0x204063);};projectCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f1))[a2_0x3f695b(0x412)](a2_0x3f695b(0x347))[a2_0x3f695b(0x318)](llmProjectListAction),llmCmd[a2_0x3f695b(0x3e9)]('projects\x20[pattern]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x295))[a2_0x3f695b(0x318)](llmProjectListAction),projectCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f4))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2cc))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3aa),a2_0x3f695b(0x38d))[a2_0x3f695b(0x318)](async(_0x4347e7,_0x5f18c3)=>{const _0x360df7=a2_0x3f695b,_0x3976dd=new LLMProjectCreateCommand(),_0x39d8de=program[_0x360df7(0x22f)](),_0x593a91=await createTDXInstance(_0x39d8de),_0xa00610=await _0x3976dd[_0x360df7(0x39e)]({'options':{..._0x39d8de,..._0x5f18c3},'args':[_0x4347e7],'tdx':_0x593a91});gracefulExit(_0xa00610);}),projectCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1c8))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2ba))[a2_0x3f695b(0x318)](async(_0x20e2d2,_0x20c3d1)=>{const _0x568727=a2_0x3f695b,_0x3af970=new LLMProjectDeleteCommand(),_0x44fc67=program[_0x568727(0x22f)](),_0x3f5b0d=await createTDXInstance(_0x44fc67),_0x1f3f91=await _0x3af970[_0x568727(0x39e)]({'options':{..._0x44fc67,..._0x20c3d1},'args':[_0x20e2d2],'tdx':_0x3f5b0d});gracefulExit(_0x1f3f91);}),projectCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x250))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2c1))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x32b),a2_0x3f695b(0x1e6))[a2_0x3f695b(0x3ed)]('--dry-run',a2_0x3f695b(0x3eb))[a2_0x3f695b(0x318)](async(_0x35f669,_0x1d8bc3)=>{const _0xbcf9c9=a2_0x3f695b,_0x27fab1=new LLMProjectBackupCommand(),_0x4f3acf=program['opts'](),_0x2fe8ed=await createTDXInstance(_0x4f3acf),_0x271b1a=await _0x27fab1[_0xbcf9c9(0x39e)]({'options':{..._0x4f3acf,..._0x1d8bc3},'args':[_0x35f669],'tdx':_0x2fe8ed});gracefulExit(_0x271b1a);}),projectCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2e2))[a2_0x3f695b(0x412)]('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x34f),a2_0x3f695b(0x2d7))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1f9),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x3f695b(0x318)](async(_0x558c5e,_0x59ebd9)=>{const _0x4c657e=a2_0x3f695b,_0x5901d6=new LLMProjectRestoreCommand(),_0xc658cc=program[_0x4c657e(0x22f)](),_0x33874d=await createTDXInstance(_0xc658cc),_0x168131=await _0x5901d6[_0x4c657e(0x39e)]({'options':{..._0xc658cc,..._0x59ebd9},'args':[_0x558c5e],'tdx':_0x33874d});gracefulExit(_0x168131);});const llmAgentListAction=async(_0x26ab0f,_0x2f8183)=>{const _0x2030bd=a2_0x3f695b,_0x2d7771=new LLMAgentsCommand(),_0x57b1a5=program[_0x2030bd(0x22f)](),_0x2ed9ee=await createTDXInstance(_0x57b1a5),_0x1bd61c=await _0x2d7771['run']({'options':{..._0x57b1a5,..._0x2f8183},'args':_0x26ab0f?[_0x26ab0f]:[],'tdx':_0x2ed9ee});gracefulExit(_0x1bd61c);};llmCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1ef))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3a6))[a2_0x3f695b(0x318)](llmAgentListAction),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1ef))['description'](a2_0x3f695b(0x3a6))['action'](llmAgentListAction),llmCmd[a2_0x3f695b(0x3e9)]('history\x20[chat-id]')['description'](a2_0x3f695b(0x2af))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x41c),a2_0x3f695b(0x213))[a2_0x3f695b(0x318)](async(_0x17adb0,_0x11eb53)=>{const _0x4008bf=a2_0x3f695b,_0x4fb0e0=new LLMHistoryCommand(),_0x50d6a0=program[_0x4008bf(0x22f)](),_0x386bcf=await createTDXInstance(_0x50d6a0),_0x99c72e=await _0x4fb0e0[_0x4008bf(0x39e)]({'options':{..._0x50d6a0,..._0x11eb53},'args':_0x17adb0?[_0x17adb0]:[],'tdx':_0x386bcf});gracefulExit(_0x99c72e);});isExperimentalAvailable()&&llmCmd[a2_0x3f695b(0x3e9)]('log\x20<chat-id>')['description']('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x3f695b(0x318)](async(_0x1659ac,_0x4fd70b)=>{const _0x5ac184=a2_0x3f695b,_0x37774e=new LLMLogCommand(),_0x414997=program[_0x5ac184(0x22f)](),_0x4f3ea1=await createTDXInstance(_0x414997),_0x234379=await _0x37774e[_0x5ac184(0x39e)]({'options':{..._0x414997,..._0x4fd70b},'args':[_0x1659ac],'tdx':_0x4f3ea1});gracefulExit(_0x234379);});program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x38b))[a2_0x3f695b(0x305)](a2_0x3f695b(0x376))['description'](a2_0x3f695b(0x1fa))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3da),a2_0x3f695b(0x3a0))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x387),'Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1c0),a2_0x3f695b(0x1dd))['allowUnknownOption']()[a2_0x3f695b(0x397)](!![])[a2_0x3f695b(0x1e8)]('after',a2_0x3f695b(0x3b5))[a2_0x3f695b(0x318)](async(_0x1858db,_0x2b2ecd)=>{const _0x6669eb=a2_0x3f695b,_0x26506d=program[_0x6669eb(0x22f)](),_0x486418=Array[_0x6669eb(0x413)](_0x1858db)?_0x1858db:[];if(_0x486418[0x0]===_0x6669eb(0x3a9)){const _0x13617f=new ClaudeStatuslineCommand(),_0x3adec0=await _0x13617f[_0x6669eb(0x39e)]({'options':{..._0x26506d,..._0x2b2ecd},'args':_0x486418[_0x6669eb(0x2d9)](0x1),'tdx':null});gracefulExit(_0x3adec0);}if(_0x486418[0x0]===_0x6669eb(0x305)){const _0x188c7b=new ClaudeUsageCommand(),_0x4fe5f9=await _0x188c7b['run']({'options':{..._0x26506d,..._0x2b2ecd},'args':_0x486418[_0x6669eb(0x2d9)](0x1),'tdx':null});gracefulExit(_0x4fe5f9);}const _0x1fcded=new ClaudeCommand(),_0xe32c9a=await createTDXInstance(_0x26506d),_0x110216=await _0x1fcded['run']({'options':{..._0x26506d,..._0x2b2ecd},'args':_0x486418,'tdx':_0xe32c9a});gracefulExit(_0x110216);}),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3d8))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3b3))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x33c),a2_0x3f695b(0x24d))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x329),a2_0x3f695b(0x3ff))[a2_0x3f695b(0x318)](async(_0xaabe8a,_0x190661,_0x3826ff)=>{const _0x56ea8a=a2_0x3f695b,_0x5a6253=new UseCommand(),_0x15990c=program['opts'](),_0x423016=[];if(_0xaabe8a)_0x423016['push'](_0xaabe8a);if(_0x190661)_0x423016['push'](_0x190661);const _0x3c0496=await _0x5a6253[_0x56ea8a(0x39e)]({'options':{..._0x15990c,..._0x3826ff},'args':_0x423016,'tdx':null});gracefulExit(_0x3c0496);}),program[a2_0x3f695b(0x3e9)]('status')['description'](a2_0x3f695b(0x3b1))[a2_0x3f695b(0x318)](async _0x3f18a0=>{const _0x367b98=a2_0x3f695b,_0x66fd76=new StatusCommand(),_0x1ba225=program[_0x367b98(0x22f)](),_0x39cae3=await createTDXInstance(_0x1ba225),_0xde0d74=await _0x66fd76['run']({'options':{..._0x1ba225,..._0x3f18a0},'args':[],'tdx':_0x39cae3});gracefulExit(_0xde0d74);}),program[a2_0x3f695b(0x3e9)]('unset\x20<resource>')['description'](a2_0x3f695b(0x408))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x329),a2_0x3f695b(0x3cc))['action'](async(_0x2891df,_0x995127)=>{const _0x59db1a=a2_0x3f695b,_0x5e47c3=new UnsetCommand(),_0x4f2aef=program[_0x59db1a(0x22f)](),_0x2da372=await _0x5e47c3[_0x59db1a(0x39e)]({'options':{..._0x4f2aef,..._0x995127},'args':[_0x2891df],'tdx':null});gracefulExit(_0x2da372);}),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x405))[a2_0x3f695b(0x412)]('Interactive\x20chat\x20selector')['option'](a2_0x3f695b(0x41c),a2_0x3f695b(0x399))['action'](async _0x1ab204=>{const _0x1a4f03=a2_0x3f695b,_0x461106=new ChatsCommand(),_0x448455=program['opts'](),_0x151e1d=await createTDXInstance(_0x448455),_0x5ed417=await _0x461106[_0x1a4f03(0x39e)]({'options':{..._0x448455,..._0x1ab204},'args':[],'tdx':_0x151e1d});gracefulExit(_0x5ed417);});const authCmd=program[a2_0x3f695b(0x3e9)]('auth')[a2_0x3f695b(0x412)](a2_0x3f695b(0x20d));async function runAuthStatusCommand(_0x5614e3){const _0xb5b446=a2_0x3f695b,_0x27ad67=new AuthStatusCommand(),_0x287807=program[_0xb5b446(0x22f)](),_0x2ec4d9=await createTDXInstance(_0x287807),_0xc99d08=await _0x27ad67[_0xb5b446(0x39e)]({'options':{..._0x287807,..._0x5614e3},'args':[],'tdx':_0x2ec4d9});gracefulExit(_0xc99d08);}authCmd[a2_0x3f695b(0x318)](runAuthStatusCommand),authCmd['command'](a2_0x3f695b(0x37d))['description'](a2_0x3f695b(0x1dc))[a2_0x3f695b(0x318)](runAuthStatusCommand),authCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x23e))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3f6))['addHelpText'](a2_0x3f695b(0x3af),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x3f695b(0x318)](async _0x599752=>{const _0xedfe3d=new AuthSetupCommand(),_0x587d47=program['opts'](),_0x135808=await createTDXInstance(_0x587d47),_0x10670d=await _0xedfe3d['run']({'options':{..._0x587d47,..._0x599752},'args':[],'tdx':_0x135808});gracefulExit(_0x10670d);}),authCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3fa))[a2_0x3f695b(0x412)](a2_0x3f695b(0x256))['addHelpText'](a2_0x3f695b(0x3af),a2_0x3f695b(0x2c9))[a2_0x3f695b(0x318)](async _0x5337b3=>{const _0x546ad9=a2_0x3f695b,_0x2db89b=new AuthClearCommand(),_0x2b96c9=program[_0x546ad9(0x22f)](),_0x3fc880=await _0x2db89b[_0x546ad9(0x39e)]({'options':{..._0x2b96c9,..._0x5337b3},'args':[],'tdx':null});gracefulExit(_0x3fc880);});const userCmd=program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x19d))[a2_0x3f695b(0x412)](a2_0x3f695b(0x392)),userListAction=async _0x597282=>{const _0x32473e=a2_0x3f695b,_0x56957c=new UserListCommand(),_0x1b57ce=program[_0x32473e(0x22f)](),_0x2a96cb=await createTDXInstance(_0x1b57ce),_0x59f7cd=await _0x56957c['run']({'options':{..._0x1b57ce,..._0x597282},'args':[],'tdx':_0x2a96cb});gracefulExit(_0x59f7cd);};userCmd['action'](async _0x392fb8=>{const _0x59c828=a2_0x3f695b,_0x30d7d9=new UserCommand(),_0x206a7e=program[_0x59c828(0x22f)](),_0x5a3c94=await createTDXInstance(_0x206a7e),_0x13a0ac=await _0x30d7d9['run']({'options':{..._0x206a7e,..._0x392fb8},'args':[],'tdx':_0x5a3c94});gracefulExit(_0x13a0ac);}),userCmd['command'](a2_0x3f695b(0x39f))[a2_0x3f695b(0x412)](a2_0x3f695b(0x26b))[a2_0x3f695b(0x318)](userListAction),program['command'](a2_0x3f695b(0x2f6))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2e3))[a2_0x3f695b(0x318)](userListAction),program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x28d))['description']('List\x20all\x20available\x20profiles')['action'](async _0x5b11bc=>{const _0x1bde59=a2_0x3f695b,_0x1c27f9=new ProfilesCommand(),_0x183794=program[_0x1bde59(0x22f)](),_0x3b3d72=await _0x1c27f9[_0x1bde59(0x39e)]({'options':{..._0x183794,..._0x5b11bc},'args':[],'tdx':null});gracefulExit(_0x3b3d72);});const profileCmd=program['command'](a2_0x3f695b(0x378))[a2_0x3f695b(0x412)](a2_0x3f695b(0x336));profileCmd[a2_0x3f695b(0x318)](()=>{const _0x439dd2=a2_0x3f695b;profileCmd[_0x439dd2(0x332)]();});const profileListAction=async _0x4b9672=>{const _0x144a70=a2_0x3f695b,_0x10a9f2=new ProfilesCommand(),_0x922a6c=program[_0x144a70(0x22f)](),_0x23a5b3=await _0x10a9f2['run']({'options':{..._0x922a6c,..._0x4b9672},'args':[],'tdx':null});gracefulExit(_0x23a5b3);};profileCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x39f))['description'](a2_0x3f695b(0x373))[a2_0x3f695b(0x318)](profileListAction),profileCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2a7))[a2_0x3f695b(0x412)](a2_0x3f695b(0x389))['addHelpText'](a2_0x3f695b(0x3af),a2_0x3f695b(0x39b))[a2_0x3f695b(0x318)](async(_0x3169cb,_0x26f110)=>{const _0x510c6c=a2_0x3f695b,_0x197564=new ProfileCreateCommand(),_0x54ce76=program[_0x510c6c(0x22f)](),_0x542e0c=await _0x197564['run']({'options':{..._0x54ce76,..._0x26f110},'args':_0x3169cb?[_0x3169cb]:[],'tdx':null});gracefulExit(_0x542e0c);}),profileCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2b1))['description'](a2_0x3f695b(0x404))['addHelpText']('after',a2_0x3f695b(0x308))[a2_0x3f695b(0x318)](async(_0x337a7f,_0x4380c4)=>{const _0x273bb2=a2_0x3f695b,_0x4e96e5=new ProfileRemoveCommand(),_0x2c8e1a=program[_0x273bb2(0x22f)](),_0x4ac619=await _0x4e96e5[_0x273bb2(0x39e)]({'options':{..._0x2c8e1a,..._0x4380c4},'args':[_0x337a7f],'tdx':null});gracefulExit(_0x4ac619);}),profileCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x26a))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2a5))[a2_0x3f695b(0x1e8)](a2_0x3f695b(0x3af),a2_0x3f695b(0x3e7))[a2_0x3f695b(0x318)](async(_0x5e8dd4,_0x451d42)=>{const _0x2cac8e=a2_0x3f695b,_0x5ab4d8=new ProfileSetCommand(),_0x48b07e=program['opts'](),_0x7b47e3=await _0x5ab4d8[_0x2cac8e(0x39e)]({'options':{..._0x48b07e,..._0x451d42},'args':[_0x5e8dd4],'tdx':null});gracefulExit(_0x7b47e3);}),profileCmd[a2_0x3f695b(0x3e9)]('use\x20<name>')[a2_0x3f695b(0x412)](a2_0x3f695b(0x371))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x329),a2_0x3f695b(0x3ff))[a2_0x3f695b(0x1e8)](a2_0x3f695b(0x3af),a2_0x3f695b(0x35b))['action'](async(_0x549e85,_0x471603)=>{const _0x34d43b=a2_0x3f695b,_0x4ca5ca=new ProfileUseCommand(),_0x482d4e=program[_0x34d43b(0x22f)](),_0x5b75c2=await _0x4ca5ca[_0x34d43b(0x39e)]({'options':{..._0x482d4e,..._0x471603},'args':[_0x549e85],'tdx':null});gracefulExit(_0x5b75c2);});const engageCmd=program['command'](a2_0x3f695b(0x406))[a2_0x3f695b(0x412)](a2_0x3f695b(0x27d)),createEngageAction=_0xf410bd=>{return async(_0x3991ba,_0x4a056e)=>{const _0x5c6be5=a2_0x4e9e,_0x62f602=new _0xf410bd(),_0x829bc5=program[_0x5c6be5(0x22f)](),_0x44b51b=await createTDXInstance(_0x829bc5),_0x34b350=await _0x62f602['run']({'options':{..._0x829bc5,..._0x4a056e},'args':[_0x3991ba],'tdx':_0x44b51b});gracefulExit(_0x34b350);};},createEngageNoArgAction=_0x3c9c2c=>{return async _0x4da07b=>{const _0x4aad93=a2_0x4e9e,_0x574071=new _0x3c9c2c(),_0x5d28b2=program['opts'](),_0x3c487e=await createTDXInstance(_0x5d28b2),_0x12c72b=await _0x574071[_0x4aad93(0x39e)]({'options':{..._0x5d28b2,..._0x4da07b},'args':[],'tdx':_0x3c487e});gracefulExit(_0x12c72b);};},campaignCmd=engageCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3bb))['description'](a2_0x3f695b(0x244)),campaignListAction=async(_0x2f86b3,_0x4a7f87)=>{const _0x250b26=a2_0x3f695b,_0xb2a49c=new EngageCampaignsCommand(),_0x4cee08=program[_0x250b26(0x22f)](),_0xde550c=await createTDXInstance(_0x4cee08),_0x2803eb=await _0xb2a49c['run']({'options':{..._0x4cee08,..._0x4a7f87},'args':_0x2f86b3?[_0x2f86b3]:[],'tdx':_0xde550c});gracefulExit(_0x2803eb);};campaignCmd[a2_0x3f695b(0x3e9)]('list\x20[pattern]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x209))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2d1),a2_0x3f695b(0x20f))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3f9),a2_0x3f695b(0x1d5))[a2_0x3f695b(0x3ed)]('--workspace\x20<name>',a2_0x3f695b(0x304))[a2_0x3f695b(0x318)](campaignListAction),engageCmd[a2_0x3f695b(0x3e9)]('campaigns\x20[pattern]')['description'](a2_0x3f695b(0x25e))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2d1),a2_0x3f695b(0x20f))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3f9),a2_0x3f695b(0x1d5))[a2_0x3f695b(0x3ed)]('--workspace\x20<name>',a2_0x3f695b(0x304))[a2_0x3f695b(0x318)](campaignListAction),campaignCmd['command']('show\x20<name-or-id>')[a2_0x3f695b(0x412)](a2_0x3f695b(0x3ca))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),a2_0x3f695b(0x304))[a2_0x3f695b(0x3ed)]('--full',a2_0x3f695b(0x1f8))[a2_0x3f695b(0x318)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x393))['description'](a2_0x3f695b(0x321))[a2_0x3f695b(0x248)](a2_0x3f695b(0x312),a2_0x3f695b(0x35e))['requiredOption'](a2_0x3f695b(0x2d1),a2_0x3f695b(0x398))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),'Workspace\x20name\x20(required)')['option'](a2_0x3f695b(0x1d3),a2_0x3f695b(0x2f5))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x430),a2_0x3f695b(0x2e9))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x242),a2_0x3f695b(0x2b0))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x20b),a2_0x3f695b(0x2d3))['option'](a2_0x3f695b(0x259),a2_0x3f695b(0x21c))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d2),a2_0x3f695b(0x42d))[a2_0x3f695b(0x318)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3f695b(0x3e9)]('update\x20<name-or-id>')[a2_0x3f695b(0x412)]('Update\x20a\x20campaign')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),a2_0x3f695b(0x304))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x312),a2_0x3f695b(0x426))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d3),a2_0x3f695b(0x2f5))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x430),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x3f695b(0x3ed)]('--email-sender-id\x20<id>',a2_0x3f695b(0x2b0))[a2_0x3f695b(0x3ed)]('--json-columns\x20<cols>',a2_0x3f695b(0x2d3))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x259),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option']('--timezone\x20<tz>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x3f695b(0x318)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x262))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1db))['option'](a2_0x3f695b(0x1eb),'Workspace\x20name')['option'](a2_0x3f695b(0x3ab),a2_0x3f695b(0x28e))[a2_0x3f695b(0x318)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x3f695b(0x3e9)]('launch\x20<name-or-id>')['description'](a2_0x3f695b(0x2d0))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),a2_0x3f695b(0x304))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x293))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3ae))['option'](a2_0x3f695b(0x1eb),a2_0x3f695b(0x304))[a2_0x3f695b(0x318)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x214))[a2_0x3f695b(0x412)](a2_0x3f695b(0x33d))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),a2_0x3f695b(0x304))[a2_0x3f695b(0x318)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x3f695b(0x269))[a2_0x3f695b(0x412)]('Duplicate\x20a\x20campaign')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),a2_0x3f695b(0x304))[a2_0x3f695b(0x318)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x219))[a2_0x3f695b(0x412)]('Email\x20template\x20management'),templateListAction=async(_0x3f57e5,_0x513613)=>{const _0x2326ac=a2_0x3f695b,_0x23b2d5=new EngageTemplatesCommand(),_0xc917b7=program[_0x2326ac(0x22f)](),_0x5cc145=await createTDXInstance(_0xc917b7),_0x1d4e12=await _0x23b2d5[_0x2326ac(0x39e)]({'options':{..._0xc917b7,..._0x513613},'args':_0x3f57e5?[_0x3f57e5]:[],'tdx':_0x5cc145});gracefulExit(_0x1d4e12);};templateCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f1))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1e3))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),'Workspace\x20name')[a2_0x3f695b(0x318)](templateListAction),engageCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x353))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1d6))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),a2_0x3f695b(0x304))[a2_0x3f695b(0x318)](templateListAction),templateCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1d9))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3f0))['option']('--workspace\x20<name>',a2_0x3f695b(0x304))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2ad),a2_0x3f695b(0x1f8))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x393))[a2_0x3f695b(0x412)](a2_0x3f695b(0x226))[a2_0x3f695b(0x248)](a2_0x3f695b(0x312),a2_0x3f695b(0x40b))['requiredOption'](a2_0x3f695b(0x40a),a2_0x3f695b(0x1e5))[a2_0x3f695b(0x248)](a2_0x3f695b(0x274),'HTML\x20template\x20content')[a2_0x3f695b(0x3ed)]('--workspace\x20<name>',a2_0x3f695b(0x36f))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x223),'Plaintext\x20template\x20content')['option'](a2_0x3f695b(0x3a3),a2_0x3f695b(0x326),_0x46a52c=>{const _0x273e0a=a2_0x3f695b;if(![_0x273e0a(0x1f6),_0x273e0a(0x2ac)][_0x273e0a(0x2f9)](_0x46a52c))throw new SDKError(ErrorCode[_0x273e0a(0x1f2)],_0x273e0a(0x1c9)+_0x46a52c+_0x273e0a(0x270));return _0x46a52c;})[a2_0x3f695b(0x318)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x434))['description'](a2_0x3f695b(0x26e))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),'Workspace\x20name')['option']('--name\x20<name>',a2_0x3f695b(0x1a7))['option'](a2_0x3f695b(0x40a),a2_0x3f695b(0x1e5))['option']('--html\x20<html>',a2_0x3f695b(0x252))['option'](a2_0x3f695b(0x223),a2_0x3f695b(0x3f3))[a2_0x3f695b(0x318)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x262))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3ce))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1eb),a2_0x3f695b(0x304))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3ab),a2_0x3f695b(0x28e))[a2_0x3f695b(0x318)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1c7))[a2_0x3f695b(0x412)]('Workspace\x20management'),workspaceListAction=async(_0x43f0d0,_0x109ea3)=>{const _0x56e34c=a2_0x3f695b,_0x20db86=new EngageWorkspacesCommand(),_0x149d2b=program[_0x56e34c(0x22f)](),_0x5682a8=await createTDXInstance(_0x149d2b),_0x4783cb=await _0x20db86[_0x56e34c(0x39e)]({'options':{..._0x149d2b,..._0x109ea3},'args':_0x43f0d0?[_0x43f0d0]:[],'tdx':_0x5682a8});gracefulExit(_0x4783cb);};workspaceCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f1))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1f0))[a2_0x3f695b(0x318)](workspaceListAction),engageCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x433))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1d0))[a2_0x3f695b(0x318)](workspaceListAction),workspaceCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1d9))[a2_0x3f695b(0x412)](a2_0x3f695b(0x428))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2ad),a2_0x3f695b(0x1f8))[a2_0x3f695b(0x318)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3f695b(0x3e9)]('create')[a2_0x3f695b(0x412)]('Create\x20a\x20workspace')[a2_0x3f695b(0x248)](a2_0x3f695b(0x312),a2_0x3f695b(0x304))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d3),a2_0x3f695b(0x19e))[a2_0x3f695b(0x318)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x434))['description'](a2_0x3f695b(0x30d))[a2_0x3f695b(0x3ed)]('--name\x20<name>',a2_0x3f695b(0x24e))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1d3),a2_0x3f695b(0x19e))[a2_0x3f695b(0x318)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x262))['description'](a2_0x3f695b(0x3dc))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3ab),'Skip\x20confirmation\x20prompt')[a2_0x3f695b(0x318)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1ea))[a2_0x3f695b(0x412)](a2_0x3f695b(0x236))[a2_0x3f695b(0x318)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x3f695b(0x3e9)]('connection')[a2_0x3f695b(0x412)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x152300=>{const _0x2a3f18=a2_0x3f695b,_0x19ab5f=new ConnectionListCommand(),_0x2fa41e=program[_0x2a3f18(0x22f)](),_0x582c6d=await createTDXInstance(_0x2fa41e),_0x54f188=await _0x19ab5f[_0x2a3f18(0x39e)]({'options':{..._0x2fa41e,..._0x152300},'args':[],'tdx':_0x582c6d});gracefulExit(_0x54f188);};connectionCmd['command']('list')['description'](a2_0x3f695b(0x1b6))[a2_0x3f695b(0x318)](connectionListAction),program['command'](a2_0x3f695b(0x427),{'hidden':!![]})['description'](a2_0x3f695b(0x1d1))[a2_0x3f695b(0x318)](connectionListAction),connectionCmd[a2_0x3f695b(0x3e9)]('show\x20<name>')[a2_0x3f695b(0x412)]('Show\x20connection\x20details\x20by\x20name')[a2_0x3f695b(0x318)](async(_0x555105,_0x214d5d)=>{const _0x2a8e48=a2_0x3f695b,_0x2b11c6=new ConnectionShowCommand(),_0x362fae=program[_0x2a8e48(0x22f)](),_0x229cf7=await createTDXInstance(_0x362fae),_0x720310=await _0x2b11c6[_0x2a8e48(0x39e)]({'options':{..._0x362fae,..._0x214d5d},'args':[_0x555105],'tdx':_0x229cf7});gracefulExit(_0x720310);}),connectionCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3dd))[a2_0x3f695b(0x412)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x3f695b(0x318)](async(_0x3de397,_0x5ef471)=>{const _0x2561e4=a2_0x3f695b,_0x410cb2=new ConnectionSchemaCommand(),_0x3d653e=program[_0x2561e4(0x22f)](),_0xa6ea7d=await createTDXInstance(_0x3d653e),_0x495223=await _0x410cb2[_0x2561e4(0x39e)]({'options':{..._0x3d653e,..._0x5ef471},'args':[_0x3de397],'tdx':_0xa6ea7d});gracefulExit(_0x495223);}),connectionCmd[a2_0x3f695b(0x3e9)]('types')[a2_0x3f695b(0x412)](a2_0x3f695b(0x2c5))[a2_0x3f695b(0x318)](async _0x396e94=>{const _0x6261b4=new ConnectionTypesCommand(),_0x51b9d7=program['opts'](),_0x5ef298=await createTDXInstance(_0x51b9d7),_0x346cd4=await _0x6261b4['run']({'options':{..._0x51b9d7,..._0x396e94},'args':[],'tdx':_0x5ef298});gracefulExit(_0x346cd4);}),connectionCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x385))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2ed))[a2_0x3f695b(0x318)](async(_0x464893,_0x1a3624)=>{const _0x2b0345=a2_0x3f695b,_0x520754=new ConnectionSettingsCommand(),_0x6f7172=program[_0x2b0345(0x22f)](),_0x4d2e0e=await createTDXInstance(_0x6f7172),_0x46acf7=await _0x520754[_0x2b0345(0x39e)]({'options':{..._0x6f7172,..._0x1a3624},'args':[_0x464893],'tdx':_0x4d2e0e});gracefulExit(_0x46acf7);});const journeyCmd=program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x1fd))[a2_0x3f695b(0x412)](a2_0x3f695b(0x212)),journeyListAction=async(_0xbb8b95,_0x394889)=>{const _0x4df913=a2_0x3f695b,_0x1d1e98=new JourneyListCommand(),_0x48b437=program[_0x4df913(0x22f)](),_0x12ba4a=await createTDXInstance(_0x48b437),_0x33e70b=await _0x1d1e98[_0x4df913(0x39e)]({'options':{..._0x48b437,..._0x394889},'args':_0xbb8b95?[_0xbb8b95]:[],'tdx':_0x12ba4a});gracefulExit(_0x33e70b);};journeyCmd[a2_0x3f695b(0x3e9)]('list\x20[pattern]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x394))[a2_0x3f695b(0x318)](journeyListAction),journeyCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x316))[a2_0x3f695b(0x412)](a2_0x3f695b(0x384))[a2_0x3f695b(0x3ed)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3a7),'Include\x20execution\x20statistics')[a2_0x3f695b(0x318)](async(_0x51edbb,_0x5cd40b)=>{const _0x2827c3=a2_0x3f695b,_0x5144c3=new JourneyViewCommand(),_0x301c6c=program[_0x2827c3(0x22f)](),_0x294b65=await createTDXInstance(_0x301c6c),_0x48cdb4=await _0x5144c3[_0x2827c3(0x39e)]({'options':{..._0x301c6c,..._0x5cd40b},'args':[_0x51edbb],'tdx':_0x294b65});gracefulExit(_0x48cdb4);}),journeyCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x280))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3d4))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1ee),a2_0x3f695b(0x31f))['action'](async(_0x39f290,_0x59b2f4)=>{const _0x48f472=a2_0x3f695b,_0x5ec6cf=new JourneyStatsCommand(),_0x1726f8=program[_0x48f472(0x22f)](),_0x4444ba=await createTDXInstance(_0x1726f8),_0x26992c=await _0x5ec6cf['run']({'options':{..._0x1726f8,..._0x59b2f4},'args':[_0x39f290],'tdx':_0x4444ba});gracefulExit(_0x26992c);}),journeyCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x417))[a2_0x3f695b(0x412)](a2_0x3f695b(0x1da))[a2_0x3f695b(0x318)](async(_0x10cc5d,_0x5ea8f8)=>{const _0x4251a6=a2_0x3f695b,_0x225338=new JourneyPauseCommand(),_0x7f0772=program[_0x4251a6(0x22f)](),_0x18e7df=await createTDXInstance(_0x7f0772),_0x148851=await _0x225338['run']({'options':{..._0x7f0772,..._0x5ea8f8},'args':[_0x10cc5d],'tdx':_0x18e7df});gracefulExit(_0x148851);}),journeyCmd['command'](a2_0x3f695b(0x1ce))[a2_0x3f695b(0x412)](a2_0x3f695b(0x3be))[a2_0x3f695b(0x318)](async(_0x98caa8,_0x4f5b39)=>{const _0x46d8b=a2_0x3f695b,_0x58b5f1=new JourneyResumeCommand(),_0x335bf3=program[_0x46d8b(0x22f)](),_0x5982f2=await createTDXInstance(_0x335bf3),_0x517399=await _0x58b5f1[_0x46d8b(0x39e)]({'options':{..._0x335bf3,..._0x4f5b39},'args':[_0x98caa8],'tdx':_0x5982f2});gracefulExit(_0x517399);}),journeyCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3a8))[a2_0x3f695b(0x412)](a2_0x3f695b(0x2bc))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x276),a2_0x3f695b(0x28e))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1f9),a2_0x3f695b(0x365))[a2_0x3f695b(0x318)](async(_0x84472e,_0x1cce21)=>{const _0x33b57c=a2_0x3f695b,_0x985e19=new JourneyPullCommand(),_0x51cc39=program[_0x33b57c(0x22f)](),_0x144166=await createTDXInstance(_0x51cc39),_0x2f3162=await _0x985e19['run']({'options':{..._0x51cc39,..._0x1cce21},'args':_0x84472e?[_0x84472e]:[],'tdx':_0x144166});gracefulExit(_0x2f3162);}),journeyCmd['command'](a2_0x3f695b(0x34a))['description'](a2_0x3f695b(0x327))[a2_0x3f695b(0x318)](async(_0x5dd71b,_0x5c761b)=>{const _0x367537=a2_0x3f695b,_0x4a5422=new JourneyPushCommand(),_0x12ff95=program[_0x367537(0x22f)](),_0x59e125=await createTDXInstance(_0x12ff95),_0x39d637=await _0x4a5422[_0x367537(0x39e)]({'options':{..._0x12ff95,..._0x5c761b},'args':_0x5dd71b?[_0x5dd71b]:[],'tdx':_0x59e125});gracefulExit(_0x39d637);}),journeyCmd['command'](a2_0x3f695b(0x2db))[a2_0x3f695b(0x412)](a2_0x3f695b(0x382))[a2_0x3f695b(0x318)](async(_0x8c398,_0xf766f0)=>{const _0x32fa2c=a2_0x3f695b,_0x24476=new JourneyValidateCommand(),_0x564d2e=program[_0x32fa2c(0x22f)](),_0x1d1029=await createTDXInstance(_0x564d2e),_0x3d62b3=await _0x24476[_0x32fa2c(0x39e)]({'options':{..._0x564d2e,..._0xf766f0},'args':_0x8c398?[_0x8c398]:[],'tdx':_0x1d1029});gracefulExit(_0x3d62b3);}),program['command'](a2_0x3f695b(0x289))[a2_0x3f695b(0x412)](a2_0x3f695b(0x34d))[a2_0x3f695b(0x318)](journeyListAction);const agentSyncCmd=program[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x268))['description']('LLM\x20agent\x20management');agentSyncCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x42a))[a2_0x3f695b(0x412)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x3f695b(0x3ed)]('-o,\x20--output\x20<dir>',a2_0x3f695b(0x287))['option']('-f,\x20--force',a2_0x3f695b(0x25f))[a2_0x3f695b(0x318)](async(_0x4c5cc3,_0x215d3e,_0x2b9062)=>{const _0x4b8868=a2_0x3f695b,_0x17f3f6=new AgentPullCommand(),_0x2148bf=program['opts'](),_0x396f4e=await createTDXInstance(_0x2148bf),_0x174bf1=[];if(_0x4c5cc3)_0x174bf1[_0x4b8868(0x1b3)](_0x4c5cc3);if(_0x215d3e)_0x174bf1[_0x4b8868(0x1b3)](_0x215d3e);const _0x2332a8=await _0x17f3f6[_0x4b8868(0x39e)]({'options':{..._0x2148bf,..._0x2b9062},'args':_0x174bf1,'tdx':_0x396f4e});gracefulExit(_0x2332a8);}),agentSyncCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x2ec))['description'](a2_0x3f695b(0x21b))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x249),a2_0x3f695b(0x319))['action'](async(_0x3e6778,_0x49785f)=>{const _0x15ef32=a2_0x3f695b,_0x3e3f04=new AgentPushCommand(),_0x26bc1b=program['opts'](),_0x118e56=await createTDXInstance(_0x26bc1b),_0x42d26d=await _0x3e3f04[_0x15ef32(0x39e)]({'options':{..._0x26bc1b,..._0x49785f},'args':_0x3e6778?[_0x3e6778]:[],'tdx':_0x118e56});gracefulExit(_0x42d26d);}),agentSyncCmd['command'](a2_0x3f695b(0x3b0))[a2_0x3f695b(0x412)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x1b4),a2_0x3f695b(0x2d6))[a2_0x3f695b(0x318)](async(_0x40c1f9,_0x3146a8)=>{const _0x4b92f9=a2_0x3f695b,_0x4bc88b=new AgentCloneCommand(),_0x571eb0=program['opts'](),_0x4ef3b5=await createTDXInstance(_0x571eb0),_0x4f1921=await _0x4bc88b[_0x4b92f9(0x39e)]({'options':{..._0x571eb0,..._0x3146a8},'args':_0x40c1f9?[_0x40c1f9]:[],'tdx':_0x4ef3b5});gracefulExit(_0x4f1921);}),agentSyncCmd[a2_0x3f695b(0x3e9)]('test\x20[path]')[a2_0x3f695b(0x412)](a2_0x3f695b(0x28b))['option']('--name\x20<names>',a2_0x3f695b(0x22e))[a2_0x3f695b(0x3ed)]('--tags\x20<tags>',a2_0x3f695b(0x31c))['option'](a2_0x3f695b(0x1f9),a2_0x3f695b(0x381))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x410),a2_0x3f695b(0x255))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x27c),a2_0x3f695b(0x24b))[a2_0x3f695b(0x318)](async(_0x517908,_0x365841)=>{const _0x37863d=a2_0x3f695b,_0x13c53b=new AgentTestCommand(),_0x393b5e=program[_0x37863d(0x22f)](),_0x24a15f=await createTDXInstance(_0x393b5e),_0x2eaef8=await _0x13c53b[_0x37863d(0x39e)]({'options':{..._0x393b5e,..._0x365841},'args':_0x517908?[_0x517908]:[],'tdx':_0x24a15f});gracefulExit(_0x2eaef8);}),agentSyncCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f1))['description'](a2_0x3f695b(0x423))['action'](llmAgentListAction),agentSyncCmd['command'](a2_0x3f695b(0x207))[a2_0x3f695b(0x412)](a2_0x3f695b(0x359))['action'](async(_0x1cbd08,_0x4862a8)=>{const _0x1974fc=a2_0x3f695b,_0x18c062=new LLMAgentShowCommand(),_0x47fafd=program[_0x1974fc(0x22f)](),_0x246fda=await createTDXInstance(_0x47fafd),_0xd30b9=await _0x18c062[_0x1974fc(0x39e)]({'options':{..._0x47fafd,..._0x4862a8},'args':[_0x1cbd08],'tdx':_0x246fda});gracefulExit(_0xd30b9);}),agentSyncCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x3f4))[a2_0x3f695b(0x412)](a2_0x3f695b(0x37b))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x2a2),a2_0x3f695b(0x1af))['option'](a2_0x3f695b(0x391),a2_0x3f695b(0x352),a2_0x3f695b(0x1bb))[a2_0x3f695b(0x3ed)]('--starter-message\x20<text>',a2_0x3f695b(0x409))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x345),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x357),a2_0x3f695b(0x3c6),'0.7')[a2_0x3f695b(0x318)](async(_0x4e28b2,_0x2e9b54)=>{const _0x25a027=a2_0x3f695b,_0x41357e=new LLMAgentCreateCommand(),_0x33fc5a=program[_0x25a027(0x22f)](),_0x155e64=await createTDXInstance(_0x33fc5a),_0x2ccec7=await _0x41357e[_0x25a027(0x39e)]({'options':{..._0x33fc5a,..._0x2e9b54},'args':[_0x4e28b2],'tdx':_0x155e64});gracefulExit(_0x2ccec7);}),agentSyncCmd[a2_0x3f695b(0x3e9)](a2_0x3f695b(0x369))[a2_0x3f695b(0x412)]('Update\x20an\x20existing\x20agent')[a2_0x3f695b(0x3ed)]('--name\x20<text>',a2_0x3f695b(0x1ab))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x277),a2_0x3f695b(0x31d))[a2_0x3f695b(0x3ed)](a2_0x3f695b(0x3aa),a2_0x3f695b(0x343))[a2_0x3f695b(0x3ed)]('--starter-message\x20<text>',a2_0x3f695b(0x409))[a2_0x3f695b(0x318)](async(_0x4ec7fa,_0x59877f)=>{const _0x18cdcc=a2_0x3f695b,_0x508382=new LLMAgentUpdateCommand(),_0xc8c50e=program[_0x18cdcc(0x22f)](),_0x16983f=await createTDXInstance(_0xc8c50e),_0x3519ce=await _0x508382[_0x18cdcc(0x39e)]({'options':{..._0xc8c50e,..._0x59877f},'args':[_0x4ec7fa],'tdx':_0x16983f});gracefulExit(_0x3519ce);}),agentSyncCmd[a2_0x3f695b(0x3e9)]('delete\x20<agent-name>')[a2_0x3f695b(0x412)](a2_0x3f695b(0x42b))[a2_0x3f695b(0x318)](async(_0x383466,_0x47007f)=>{const _0x4b0bbe=new LLMAgentDeleteCommand(),_0x2ae370=program['opts'](),_0x179fd6=await createTDXInstance(_0x2ae370),_0x431f7b=await _0x4b0bbe['run']({'options':{..._0x2ae370,..._0x47007f},'args':[_0x383466],'tdx':_0x179fd6});gracefulExit(_0x431f7b);});export{program};export function runCLI(){const _0x2f700b=a2_0x3f695b,_0x32c667=!process['argv']['slice'](0x2)[_0x2f700b(0x401)];showBriefHelp=_0x32c667,program[_0x2f700b(0x1b5)](process[_0x2f700b(0x37e)]);_0x32c667&&program[_0x2f700b(0x332)]();if(process[_0x2f700b(0x271)][_0x2f700b(0x1cd)]&&process[_0x2f700b(0x37e)][_0x2f700b(0x401)]>0x2&&!isDevVersion()){const _0x25252b=loadReleaseChannel();checkForUpdate(currentVersion,_0x25252b)[_0x2f700b(0x36b)](_0x14da3e=>{_0x14da3e&&displayUpdateNotification(_0x14da3e);})[_0x2f700b(0x1a6)](()=>{});}}
|