@treasuredata/tdx 0.25.6 → 0.25.7
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-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-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.js +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_0x1ad8c3=a2_0x545c;(function(_0x34e235,_0x583a90){const _0x282584=a2_0x545c,_0x4020ad=_0x34e235();while(!![]){try{const _0x2766ca=parseInt(_0x282584(0x2de))/0x1*(-parseInt(_0x282584(0x2b0))/0x2)+parseInt(_0x282584(0x311))/0x3*(parseInt(_0x282584(0x2a1))/0x4)+-parseInt(_0x282584(0x364))/0x5*(-parseInt(_0x282584(0x284))/0x6)+parseInt(_0x282584(0x16f))/0x7+parseInt(_0x282584(0x317))/0x8+-parseInt(_0x282584(0x32c))/0x9+-parseInt(_0x282584(0x1e7))/0xa;if(_0x2766ca===_0x583a90)break;else _0x4020ad['push'](_0x4020ad['shift']());}catch(_0x216a9e){_0x4020ad['push'](_0x4020ad['shift']());}}}(a2_0x4447,0x37ff2));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_0x1ad8c3(0x371)]['includes'](a2_0x1ad8c3(0x3bb))){let versionOutput=a2_0x1ad8c3(0x3ab)+currentVersion;buildInfo[a2_0x1ad8c3(0x165)]&&!currentVersion[a2_0x1ad8c3(0x25b)](buildInfo[a2_0x1ad8c3(0x165)])&&(versionOutput+='\x20('+buildInfo[a2_0x1ad8c3(0x165)]+')'),buildInfo['buildTime']&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x1ad8c3(0x166)]),console['log'](versionOutput),process[a2_0x1ad8c3(0x253)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x1ad8c3(0x2ce);buildInfo[a2_0x1ad8c3(0x165)]&&!currentVersion['includes'](buildInfo['gitRevision'])?description+=a2_0x1ad8c3(0x203)+currentVersion+'\x20('+buildInfo[a2_0x1ad8c3(0x165)]+')':description+=a2_0x1ad8c3(0x203)+currentVersion;program['name'](a2_0x1ad8c3(0x37f))[a2_0x1ad8c3(0x229)](description),program[a2_0x1ad8c3(0x367)]('-C,\x20--directory\x20<path>',a2_0x1ad8c3(0x327))[a2_0x1ad8c3(0x367)]('-p,\x20--profile\x20<name>',a2_0x1ad8c3(0x1d0))['option'](a2_0x1ad8c3(0x1ed),a2_0x1ad8c3(0x383),a2_0x1ad8c3(0x2bd))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x31c),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x16a),a2_0x1ad8c3(0x251))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1b2),a2_0x1ad8c3(0x330))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x289),a2_0x1ad8c3(0x1c4))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1d4),a2_0x1ad8c3(0x28e))[a2_0x1ad8c3(0x367)]('--output\x20<file>',a2_0x1ad8c3(0x3c9))['option'](a2_0x1ad8c3(0x286),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')['option'](a2_0x1ad8c3(0x3c6),a2_0x1ad8c3(0x34c),![])[a2_0x1ad8c3(0x367)]('--no-color',a2_0x1ad8c3(0x194),![])['option'](a2_0x1ad8c3(0x2d7),'Enable\x20verbose\x20logging',![])['option'](a2_0x1ad8c3(0x2bc),a2_0x1ad8c3(0x30f))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e3),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1f2),a2_0x1ad8c3(0x356),'30')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2b3),a2_0x1ad8c3(0x1e9),![])[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x316),a2_0x1ad8c3(0x298),![])[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x390),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')['option'](a2_0x1ad8c3(0x1b5),a2_0x1ad8c3(0x3b6))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3be),a2_0x1ad8c3(0x3b2))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1de),a2_0x1ad8c3(0x1d7))['option'](a2_0x1ad8c3(0x1a0),a2_0x1ad8c3(0x3b0)),program['configureHelp']({'formatHelp':(_0x8f9c1,_0x135ffe)=>{const _0x5f1403=a2_0x1ad8c3,_0x4366f6=_0x135ffe[_0x5f1403(0x3ac)](_0x8f9c1,_0x135ffe),_0x27d128=0x2,_0x4cf30d=0x2;function _0x2c8de9(_0x158bec){const _0x1a378d=_0x5f1403,_0x290dbd=_0x158bec;return!!(_0x290dbd[_0x1a378d(0x176)]||_0x290dbd['hidden']);}function _0x4630de(_0x144aaf,_0x56bf4c){const _0x44a594=_0x5f1403;if(_0x56bf4c){const _0x261e22=''+_0x144aaf[_0x44a594(0x3a8)](_0x4366f6+_0x4cf30d)+_0x56bf4c;return _0x261e22;}return _0x144aaf;}function _0x51d468(_0x5ee9d5){const _0x1e4c4d=_0x5f1403;return _0x5ee9d5['join']('\x0a')[_0x1e4c4d(0x2d4)](/^/gm,'\x20'[_0x1e4c4d(0x20f)](_0x27d128));}const _0x46c028=[];_0x46c028[_0x5f1403(0x257)](_0x5f1403(0x21f)+_0x135ffe['commandUsage'](_0x8f9c1));const _0x412466=_0x135ffe[_0x5f1403(0x236)](_0x8f9c1);_0x412466&&(_0x46c028['push'](''),_0x46c028[_0x5f1403(0x257)](_0x412466));const _0x16ed6b=_0x8f9c1[_0x5f1403(0x1e2)][_0x5f1403(0x1c1)](_0x15b6f9=>!_0x2c8de9(_0x15b6f9));if(_0x16ed6b[_0x5f1403(0x17c)]>0x0){if(_0x8f9c1[_0x5f1403(0x1bf)]()===_0x5f1403(0x37f)){const _0x321029=_0x8f9c1[_0x5f1403(0x1f9)](),_0x545fd2=!_0x321029[_0x5f1403(0x28a)]&&process[_0x5f1403(0x199)]['isTTY'],_0x3a5514=COMMAND_CATEGORIES,_0x23f895=(_0x29c35c,_0x3380f1)=>_0x545fd2?_0x3380f1(_0x29c35c):_0x29c35c,_0x48bb2a=new Map();_0x16ed6b[_0x5f1403(0x246)](_0x374580=>{const _0x2a77b0=_0x5f1403;_0x48bb2a[_0x2a77b0(0x1e1)](_0x374580['name'](),_0x374580);}),_0x3a5514[_0x5f1403(0x246)](_0x17b219=>{const _0x5e98cc=_0x5f1403,_0x591ec3=_0x17b219[_0x5e98cc(0x1e2)][_0x5e98cc(0x38d)](_0xab5000=>_0x48bb2a[_0x5e98cc(0x168)](_0xab5000)??[]);if(_0x591ec3['length']>0x0){_0x46c028[_0x5e98cc(0x257)](''),_0x46c028[_0x5e98cc(0x257)](_0x23f895(_0x17b219[_0x5e98cc(0x1bf)]+':',_0x17b219[_0x5e98cc(0x1ba)]));const _0x2960f2=_0x591ec3['map'](_0x5d4eb5=>{const _0x2d9173=_0x5e98cc,_0x2d049d=_0x135ffe[_0x2d9173(0x26b)](_0x5d4eb5),_0x38b2bb=_0x135ffe['subcommandDescription'](_0x5d4eb5);return _0x4630de(_0x2d049d,_0x38b2bb);});_0x46c028['push'](_0x51d468(_0x2960f2));}}),_0x46c028['push'](''),_0x46c028[_0x5f1403(0x257)](_0x5f1403(0x18c));}else{const _0x4738ae=_0x16ed6b[_0x5f1403(0x221)](_0x4f93cc=>{const _0x163a8c=_0x5f1403,_0x3d66f0=_0x135ffe[_0x163a8c(0x26b)](_0x4f93cc),_0x2e3b26=_0x135ffe[_0x163a8c(0x292)](_0x4f93cc);return _0x4630de(_0x3d66f0,_0x2e3b26);});_0x46c028[_0x5f1403(0x257)](''),_0x46c028[_0x5f1403(0x257)](_0x5f1403(0x2c2)),_0x46c028[_0x5f1403(0x257)](_0x51d468(_0x4738ae));}}if(showBriefHelp&&_0x8f9c1[_0x5f1403(0x1bf)]()===_0x5f1403(0x37f))_0x46c028[_0x5f1403(0x257)](''),_0x46c028[_0x5f1403(0x257)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x310592=_0x8f9c1[_0x5f1403(0x3d9)][_0x5f1403(0x1c1)](_0x1d74b6=>!_0x2c8de9(_0x1d74b6));if(_0x310592[_0x5f1403(0x17c)]>0x0){const _0x58776f=_0x310592[_0x5f1403(0x221)](_0x4d8aba=>{const _0x47776d=_0x5f1403,_0x136bfc=_0x135ffe['optionTerm'](_0x4d8aba),_0x23f3b8=_0x135ffe[_0x47776d(0x1fa)](_0x4d8aba);return _0x4630de(_0x136bfc,_0x23f3b8);});_0x46c028['push'](''),_0x46c028[_0x5f1403(0x257)]('Options:'),_0x46c028['push'](_0x51d468(_0x58776f));}}const _0x1c7cde=(_0x8f9c1['registeredArguments']||[])[_0x5f1403(0x1c1)](_0x2081e5=>!_0x2c8de9(_0x2081e5));if(_0x1c7cde['length']>0x0){const _0x1191a5=_0x1c7cde['map'](_0x5379e1=>{const _0xf866cf=_0x5f1403,_0x52fa35=_0x135ffe[_0xf866cf(0x1cc)](_0x5379e1),_0x2b0b20=_0x135ffe[_0xf866cf(0x1cb)](_0x5379e1);return _0x4630de(_0x52fa35,_0x2b0b20);});_0x46c028[_0x5f1403(0x257)](''),_0x46c028[_0x5f1403(0x257)](_0x5f1403(0x2d1)),_0x46c028[_0x5f1403(0x257)](_0x51d468(_0x1191a5));}return _0x46c028['join']('\x0a')+'\x0a';},'subcommandTerm':_0x487aa2=>{const _0x4e478a=a2_0x1ad8c3,_0x30c55e=(_0x487aa2[_0x4e478a(0x398)]||[])[_0x4e478a(0x221)](_0x4236e3=>_0x4236e3['required']?'<'+_0x4236e3[_0x4e478a(0x1bf)]()+'>':'['+_0x4236e3[_0x4e478a(0x1bf)]()+']')[_0x4e478a(0x262)]('\x20'),_0x2d73fe=_0x487aa2['aliases'](),_0x1faa06=_0x2d73fe['length']>0x0?_0x487aa2[_0x4e478a(0x1bf)]()+',\x20'+_0x2d73fe[_0x4e478a(0x262)](',\x20'):_0x487aa2[_0x4e478a(0x1bf)]();return _0x30c55e?_0x1faa06+'\x20'+_0x30c55e:_0x1faa06;}}),program[a2_0x1ad8c3(0x167)](a2_0x1ad8c3(0x1bb),_0x1d5759=>{const _0x188ee4=a2_0x1ad8c3,_0x54a53a=_0x1d5759['opts']();if(_0x54a53a[_0x188ee4(0x38a)]){const _0x4d62a7=resolve(_0x54a53a[_0x188ee4(0x38a)]),_0x36d842=_0x4d62a7!==_0x54a53a[_0x188ee4(0x38a)]?_0x188ee4(0x26f)+_0x4d62a7+')':'';if(!existsSync(_0x4d62a7))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Directory\x20does\x20not\x20exist:\x20'+_0x54a53a[_0x188ee4(0x38a)]+_0x36d842,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x420110=statSync(_0x4d62a7);if(!_0x420110[_0x188ee4(0x388)]())throw new SDKError(ErrorCode[_0x188ee4(0x1bc)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x54a53a['directory']+_0x36d842,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x188ee4(0x174)](_0x4d62a7);}if(!_0x54a53a[_0x188ee4(0x1a9)]){if(_0x54a53a[_0x188ee4(0x208)])_0x54a53a[_0x188ee4(0x1a9)]=_0x188ee4(0x208);else{if(_0x54a53a['json'])_0x54a53a['format']=_0x188ee4(0x3ba);else{if(_0x54a53a['jsonl'])_0x54a53a[_0x188ee4(0x1a9)]=_0x188ee4(0x272);else _0x54a53a[_0x188ee4(0x2ac)]&&(_0x54a53a[_0x188ee4(0x1a9)]=_0x188ee4(0x2ac));}}}_0x54a53a['in']&&!_0x54a53a[_0x188ee4(0x1b7)]&&(_0x54a53a[_0x188ee4(0x1b7)]=_0x54a53a['in']);if(_0x54a53a['trace'])_0x54a53a[_0x188ee4(0x182)]=LogLevel['TRACE'];else{if(_0x54a53a[_0x188ee4(0x2f8)])_0x54a53a[_0x188ee4(0x182)]=LogLevel['DEBUG'];else _0x54a53a['logLevel']===undefined&&(_0x54a53a[_0x188ee4(0x182)]=LogLevel[_0x188ee4(0x274)]);}});async function createTDXInstance(_0x5e1453){const _0xd67464=a2_0x1ad8c3,_0x193a79=await GlobalContext[_0xd67464(0x21e)](_0x5e1453);return _0x193a79[_0xd67464(0x26e)](_0x5e1453),TDX[_0xd67464(0x1e3)]({'site':_0x193a79[_0xd67464(0x22b)],'apiKey':_0x193a79[_0xd67464(0x24d)],'logLevel':_0x193a79['logLevel'],'profile':_0x193a79[_0xd67464(0x27b)]});}function a2_0x4447(){const _0x519583=['exit','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','--attributes\x20<json>','push','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','New\x20segment\x20name','pull\x20[project]\x20[agent-name]','includes','Create\x20a\x20new\x20LLM\x20project','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','project','create\x20[name]','setup','history\x20[chat-id]','join','Describe\x20table\x20schema','Updated\x20schedule\x20option','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Updated\x20timezone','--result\x20<url>','launch\x20<name-or-id>','Manage\x20workflow\x20project\x20secrets','alias','subcommandTerm','history\x20<name>','--table\x20<table>','injectIntoOptions','\x20(resolved\x20to\x20','Agent\x20name','users','jsonl','Override\x20project\x20name','INFO','Email\x20subject\x20template','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Overwrite\x20local\x20changes\x20without\x20confirmation','--enriched','profile','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','clone\x20[source-dir]','Reason\x20for\x20killing\x20the\x20attempt','Database\x20name\x20(default:\x20information_schema)','Preview\x20changes\x20without\x20pushing','6KLpvKX','Timezone\x20(e.g.,\x20America/Los_Angeles)','--limit\x20<number>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--jsonl','noColor','create\x20<segment_name>','attempts\x20[project]','Data\x20connection\x20management\x20(for\x20activations/exports)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','set\x20<args...>','Timezone\x20for\x20cron','templates\x20[pattern]','subcommandDescription','resume\x20<name-or-path>','LLM\x20agent\x20management','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','action','--add-attributes-file\x20<file>','Skip\x20confirmation\x20prompts','Read\x20query\x20from\x20file','resume\x20<name-or-id>','\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','retry\x20<session-id>','campaigns\x20[pattern]','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Database\x20management\x20commands','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','11300jnoPJO','Delay\x20in\x20seconds\x20before\x20execution','addHelpText','Segment\x20description','slice','Show\x20timeline\x20for\x20specific\x20attempt','databases\x20[pattern]','--segment\x20<path>','clone\x20[source]','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','activations\x20<segment_name>','tsv','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','--description\x20<desc>','timeline\x20[project.workflow]','4YXzqqQ','describe','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--dry-run','attempt','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','\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','error','-w,\x20--web','--delay\x20<seconds>','Show\x20authentication\x20status\x20and\x20current\x20context','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--debug','us01','Workspace\x20description','-d,\x20--database\x20<db>','backup\x20<name>','command','Commands:','show\x20<name>','Maximum\x20tool\x20iterations\x20(default:\x204)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','\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','List\x20journeys\x20in\x20current\x20context','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','pull\x20[parent_or_file]','--limit\x20<n>','--html\x20<html>','Parent\x20segment\x20description','-H,\x20--header\x20<header>','AI-native\x20CLI\x20for\x20Treasure\x20Data','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Include\x20subtasks\x20in\x20tasks\x20output','Arguments:','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','run\x20<name>','replace','--json-columns\x20<cols>','projects\x20[pattern]','-v,\x20--verbose','show\x20<name-or-id>','-r,\x20--recursive','JSON\x20columns\x20for\x20connector\x20(comma-separated)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','--clear','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','182467QlxFhd','run\x20[name]','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','desc\x20[name]','Folder\x20description','--trace','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Pause\x20a\x20campaign','--workspace\x20<name>','--include-retried','restore\x20<folder>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','-n,\x20--name\x20<name>','-d,\x20--database\x20<database>','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','list\x20[name]','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Start\x20a\x20new\x20chat\x20session','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','End\x20time\x20filter\x20(ISO\x208601\x20format)','tables\x20[pattern]','list\x20[project]','Continue\x20most\x20recent\x20conversation','journeys\x20[pattern]','update\x20<agent-name>','debug','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','push\x20[name]','System\x20prompt/instructions\x20(default:\x20empty)','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','--behaviors\x20<json>','folders\x20<parent_name>','kill\x20<job-id>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Workflow\x20attempt\x20management','kill','Starter\x20message','Maximum\x20recursion\x20depth\x20(default:\x2010)','Clear\x20workflow\x20project\x20context','preview\x20[file]','Result\x20output\x20destination\x20URL','help','show\x20[table]','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Campaign\x20management','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--to\x20<timestamp>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Show\x20stats\x20for\x20specific\x20stage','465Vmwnyu','List\x20all\x20users\x20in\x20the\x20account','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','--name\x20<names>','--add-behaviors\x20<json>','-y,\x20--yes','3125448jjMban','Customer\x20group\x20from\x20JSON\x20file','update\x20<segment_name>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','-X,\x20--method\x20<method>','--format\x20<format>','Workspace\x20management','--starter-message\x20<text>','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','New\x20workspace\x20name','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Invalid\x20editor\x20type:\x20','Update\x20a\x20scheduled\x20query','claude-4.5-sonnet','Create\x20a\x20scheduled\x20query','Change\x20to\x20directory\x20before\x20executing\x20command','CDP\x20Journey\x20Orchestration\x20commands','Output\x20directory','grapesjs','parse','2610126KfcZQR','--folder\x20<name>','api\x20[endpoint]','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','usage','--name\x20<name>','--name\x20<new_name>','parent','clear','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','beefree','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Submit\x20a\x20job','--from\x20<timestamp>','run','--schedule-option\x20<value>','update\x20<name-or-id>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Show\x20campaign\x20details','--default','Plaintext\x20template\x20content','-r,\x20--resume','Set\x20or\x20show\x20parent\x20segment\x20context','test\x20[path]','Task\x20name\x20for\x20logs\x20action','Output\x20as\x20JSON\x20Lines','show\x20<job-id>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','[options]\x20--\x20[claude-code-args...]','workflow','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','New\x20template\x20name','Parent\x20folder\x20name\x20for\x20nested\x20folders','--new','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','connections','Export\x20journey(s)\x20as\x20YAML\x20files','Cron\x20expression\x20for\x20scheduling','--num\x20<1-10>','Delete\x20a\x20scheduled\x20query','Set\x20operation\x20timeout\x20in\x20seconds','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Add\x20behaviors\x20from\x20JSON\x20file','journey','Unknown\x20action:\x20','llm','Add\x20attributes\x20from\x20JSON\x20file','--delete','use\x20[resource]\x20[value]','Follow/watch\x20timeline\x20for\x20running\x20attempts','statusline','-o,\x20--output\x20<folder>','Updated\x20description','List\x20all\x20available\x20profiles','564500DVyuOt','GET','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','option','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','secrets','--session-id\x20<id>','log\x20<chat-id>','schema\x20<type>','Workflow\x20(Digdag)\x20management\x20commands','download\x20<project-name>\x20[output-dir]','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','argv','--to\x20<n>','--include-subtasks','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Duplicate\x20a\x20campaign','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--prompt\x20<text>','pull\x20[name]','Template\x20name','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','outputHelp','Start\x20time\x20filter\x20(ISO\x208601\x20format)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','tdx','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','use\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Kill\x20a\x20job','validate\x20[name]','Update\x20an\x20existing\x20agent','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','isDirectory','-f,\x20--file\x20<path>','directory','--in\x20<database>','profiles','flatMap','workspace','--status\x20<status>','--session\x20<id>','Filtering\x20rule\x20as\x20JSON\x20string','settings\x20<type>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','--kind\x20<type>','--attributes-file\x20<file>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Request\x20body\x20as\x20JSON\x20string','registeredArguments','Pause\x20a\x20running\x20journey','Get\x20job\x20results','Delete\x20an\x20LLM\x20project','-o,\x20--output\x20<dir>','show\x20<folder_ref>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','-1d','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--engine-version\x20<version>','Customer\x20group\x20as\x20JSON\x20string','-o,\x20--output\x20<file>','chats','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--skip-validation','Output\x20as\x20JSON','padEnd','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','pause\x20<name-or-path>','tdx\x20','padWidth','segment','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','view\x20[name]','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Open\x20journey\x20in\x20web\x20browser','Alias\x20for\x20--database\x20(natural\x20language\x20style)','requiredOption','List\x20jobs','--timezone\x20<tz>','Database\x20to\x20use\x20(overrides\x20context)','--from\x20<n>','then','--no-count-population','json','--version','--interval\x20<range>','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--in\x20<name>','[action]','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--limit\x20<rows>','Preview\x20without\x20creating\x20the\x20project','Starting\x20offset\x20(default:\x200)','user','--yes','--color','--include-stats','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Save\x20output\x20to\x20file','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Read\x20SQL\x20query\x20from\x20file','Show\x20master\x20table\x20sample\x20data','-f,\x20--force','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--from-task\x20<task>','List\x20secret\x20keys\x20for\x20a\x20project','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Table\x20management\x20commands','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--description\x20<text>','information_schema','Retry\x20limit\x20(0\x20to\x2032)','options','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--retry-limit\x20<0~32>','Delete\x20an\x20agent','delete\x20<project-name-or-id>','Query\x20type:\x20trino\x20or\x20hive','Folder\x20name\x20for\x20organization','allowUnknownOption','Open\x20segment\x20in\x20web\x20browser','Job\x20priority\x20(-2\x20to\x202)','delete\x20<name-or-id>','list','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Create\x20segment\x20folder','gitRevision','buildTime','hook','get','--attribute\x20[name]','--table','validate\x20[file]','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','2503830ybRQfp','Behaviors\x20from\x20JSON\x20file','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Interactive\x20chat\x20selector','--session-time\x20<time>','chdir','--add-attributes\x20<json>','_hidden','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Skip\x20validation\x20of\x20.dig\x20files','describe\x20[table]','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','length','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Show\x20only\x20master\x20table\x20validation','Setup\x20API\x20key\x20authentication\x20interactively','Include\x20retried\x20attempts','--master','logLevel','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Update\x20an\x20email\x20template','--full','Email\x20sender\x20ID\x20for\x20delivery','[EXPERIMENTAL]\x20Show\x20chat\x20log','Include\x20execution\x20statistics','create\x20<name>','Show\x20connection\x20details\x20by\x20name','Skip\x20confirmation\x20prompt','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','--params\x20<json>','query\x20[sql]','Campaign\x20type\x20(email\x20or\x20push)','List\x20all\x20data\x20connections','Email\x20template\x20management','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','sql\x20[name]','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','submit\x20[query]','pause\x20<name-or-id>','Validate\x20journey\x20YAML\x20files\x20locally','--subject\x20<subject>','stdout','tasks','engage','--type\x20<api_type>','Job\x20management\x20commands','--type\x20<type>','preview\x20[name]','--llm-project\x20<name>','trino','workspaces\x20[pattern]','Create\x20an\x20email\x20template','--editor-type\x20<type>','Show\x20job\x20details','list\x20[path]','parents\x20[pattern]','RT\x202.0\x20configuration\x20management','format','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Campaign\x20description','Create\x20a\x20new\x20campaign','argument','--json','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','-d,\x20--database\x20<name>','logs','database','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','--model\x20<name>','colorFn','preAction','INVALID_ARGUMENT','--rule\x20<json>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','name','[DEPRECATED]\x20Segment\x20folder\x20management','filter','Clear\x20session\x20context','Show\x20workspace\x20details','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Set\x20a\x20profile\x20configuration\x20value','push\x20[parent_or_file]','campaign','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','duplicate\x20<name-or-id>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','argumentDescription','argumentTerm','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--behaviors-file\x20<file>','list\x20[pattern]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Resume\x20from\x20specific\x20task\x20(retry)','--param\x20<key=value>','init\x20[name]','--tsv','auth','update\x20<name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','fields\x20[parent_name]','Workspace\x20name','--reason\x20<text>','--email-sender-id\x20<id>','Delete\x20an\x20email\x20template','Workspace\x20name\x20(required)','--parent-segment\x20<name>','Show\x20segment\x20details\x20(alias\x20for\x20view)','Push\x20without\x20confirmation','set','commands','create','run\x20[workflow]','use\x20<project-name>','Output\x20file\x20path','4148360moDYJj','Agent\x20prompt/instructions','Preview\x20operation\x20without\x20executing','--time\x20<iso8601>','desc\x20[segment_name]','Run\x20a\x20scheduled\x20query\x20immediately','--site\x20<site>','--behavior\x20[name]','--data\x20<data>','\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','types','--timeout\x20<seconds>','catch','unset\x20<resource>','Database\x20name','Custom\x20revision\x20name\x20(default:\x20timestamp)','Master\x20database\x20name','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','opts','optionDescription','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','push\x20[file]','after','Limit\x20number\x20of\x20rows','remove\x20<name>','CDP\x20segment\x20management\x20commands','Run\x20tests\x20for\x20an\x20LLM\x20agent','view\x20[segment_name]',',\x20version\x20','--revision\x20<revision>','Run\x20Trino\x20query\x20with\x20streaming\x20results','jobs','Remove\x20a\x20profile','table','isArray','Add\x20behaviors\x20as\x20JSON\x20string','--cron\x20<expression>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Run\x20specific\x20tests\x20(comma-separated)','Resume\x20a\x20paused\x20journey','repeat','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--max-depth\x20<depth>','Authentication\x20management','[attempt-id]','use\x20[name]','--system-prompt\x20<text>','--rule-file\x20<file>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Add\x20attributes\x20as\x20JSON\x20string','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Show\x20segment\x20schema\x20(column\x20types)','info\x20[segment_name]','Resume\x20a\x20paused\x20campaign','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','createAsync','Usage:\x20','--job-type\x20<type>','map','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','status','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','--resume-from\x20<task>','description','Resume\x20a\x20conversation\x20(shows\x20selector)','site','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','--chat-id\x20<id>','Delete\x20a\x20campaign','Show\x20schedule\x20details','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','job','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Show\x20journey\x20details','Attempt\x20ID','commandDescription','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','connection','use\x20<path>','--parent-folder\x20<name>','--start-at\x20<datetime>','view\x20<name-or-path>','--customer-group-file\x20<file>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Personalization\x20service\x20management','Filtering\x20rule\x20from\x20JSON\x20file','show\x20[segment_name]','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--customer-group\x20<json>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','forEach','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','push\x20[path]','workflows\x20[project]','Database\x20to\x20query\x20(default:\x20information_schema)','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Attributes\x20as\x20JSON\x20string','apiKey','--schedule-type\x20<type>','--max-tool-iterations\x20<n>','Parent\x20segment\x20management','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','segments\x20[path]'];a2_0x4447=function(){return _0x519583;};return a2_0x4447();}const databaseCmd=program[a2_0x1ad8c3(0x2c1)]('database')[a2_0x1ad8c3(0x26a)]('db')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x29f)),databaseListAction=async(_0x466656,_0x38b0d0)=>{const _0x2104ee=new DatabasesCommand(),_0x4ebff2=program['opts'](),_0x23f454=await createTDXInstance(_0x4ebff2),_0x44c6c0=await _0x2104ee['run']({'options':{..._0x4ebff2,..._0x38b0d0},'args':_0x466656?[_0x466656]:[],'tdx':_0x23f454});gracefulExit(_0x44c6c0);};databaseCmd[a2_0x1ad8c3(0x2c1)]('list\x20[pattern]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x321))['action'](databaseListAction),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2a7),{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x295))[a2_0x1ad8c3(0x296)](databaseListAction),program[a2_0x1ad8c3(0x2c1)]('chat\x20[message...]')[a2_0x1ad8c3(0x229)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x1ad8c3(0x367)]('--agent\x20<ref>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')['option'](a2_0x1ad8c3(0x34f),a2_0x1ad8c3(0x2ef))['option'](a2_0x1ad8c3(0x22d),a2_0x1ad8c3(0x20c))[a2_0x1ad8c3(0x367)]('--stream',a2_0x1ad8c3(0x3d4))['action'](async(_0x25928b,_0xfde359)=>{const _0x22e08f=a2_0x1ad8c3,_0x3f1c2b=program[_0x22e08f(0x1f9)](),_0x29ff6e=await createTDXInstance(_0x3f1c2b);if(_0x25928b[0x0]==='create'){const _0x40aabe=new ChatCreateCommand();gracefulExit(await _0x40aabe[_0x22e08f(0x33b)]({'options':{..._0x3f1c2b,..._0xfde359},'args':_0x25928b[_0x22e08f(0x2a5)](0x1),'tdx':_0x29ff6e}));return;}const _0x119847=new ChatCommand(),_0x1ac98b=await _0x119847[_0x22e08f(0x33b)]({'options':{..._0x3f1c2b,..._0xfde359},'args':_0x25928b,'tdx':_0x29ff6e});gracefulExit(_0x1ac98b);});const apiCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x32e))['summary'](a2_0x1ad8c3(0x366))[a2_0x1ad8c3(0x2a3)]('after','\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')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x31b),a2_0x1ad8c3(0x322),a2_0x1ad8c3(0x365))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1ef),a2_0x1ad8c3(0x397))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x389),'Read\x20request\x20body\x20from\x20file')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2cd),a2_0x1ad8c3(0x178),(_0x3a7b07,_0x252709)=>{return _0x252709?[..._0x252709,_0x3a7b07]:[_0x3a7b07];})[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x19c),a2_0x1ad8c3(0x2db),'td')[a2_0x1ad8c3(0x296)](async(_0x369d30,_0x45fa8a)=>{const _0x55c68d=a2_0x1ad8c3;if(!_0x369d30){apiCmd[_0x55c68d(0x309)]();return;}const _0x1a8ce9=new ApiCommand(),_0x4c054a=program[_0x55c68d(0x1f9)](),_0xaa1877=await createTDXInstance(_0x4c054a),_0x5cad9c=await _0x1a8ce9[_0x55c68d(0x33b)]({'options':{..._0x4c054a,..._0x45fa8a},'args':[_0x369d30],'tdx':_0xaa1877});gracefulExit(_0x5cad9c);});program['command']('mcp')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x375))[a2_0x1ad8c3(0x2a3)](a2_0x1ad8c3(0x1fd),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')['action'](async _0x215b24=>{const _0x3baab4=a2_0x1ad8c3,_0x50713c=new MCPCommand(),_0xedbd23=program[_0x3baab4(0x1f9)](),_0x27ef1c=await createTDXInstance(_0xedbd23),_0x974563=await _0x50713c['run']({'options':{..._0xedbd23,..._0x215b24},'args':[],'tdx':_0x27ef1c});gracefulExit(_0x974563);});const tableCmd=program['command'](a2_0x1ad8c3(0x208))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3d3)),tableListAction=async(_0xb28cfd,_0x41441f)=>{const _0x27f70b=a2_0x1ad8c3,_0x2c51fe=new TablesCommand(),_0x4112c4=program['opts'](),_0x1434df=await createTDXInstance(_0x4112c4);_0x41441f['in']&&(_0x41441f['database']=_0x41441f['in']);const _0x4ba891=await _0x2c51fe[_0x27f70b(0x33b)]({'options':{..._0x4112c4,..._0x41441f},'args':_0xb28cfd?[_0xb28cfd]:[],'tdx':_0x1434df});gracefulExit(_0x4ba891);};tableCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1cf))['description'](a2_0x1ad8c3(0x2bb))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2eb),a2_0x1ad8c3(0x224))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x38b),a2_0x1ad8c3(0x3b2))[a2_0x1ad8c3(0x296)](tableListAction),program['command'](a2_0x1ad8c3(0x2f3),{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2b2))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2eb),a2_0x1ad8c3(0x224))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x38b),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x1ad8c3(0x296)](tableListAction),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x30a))['description']('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x1ad8c3(0x367)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x38b),a2_0x1ad8c3(0x3b2))[a2_0x1ad8c3(0x296)](async(_0x23e6c0,_0x59165c)=>{const _0x498836=a2_0x1ad8c3,_0x536ff4=new ShowCommand(),_0x1a9a56=program[_0x498836(0x1f9)](),_0x4c6f86=await createTDXInstance(_0x1a9a56);_0x59165c['in']&&(_0x59165c['database']=_0x59165c['in']);const _0x2b3607=await _0x536ff4[_0x498836(0x33b)]({'options':{..._0x1a9a56,..._0x59165c},'args':_0x23e6c0?[_0x23e6c0]:[],'tdx':_0x4c6f86});gracefulExit(_0x2b3607);}),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x17a))['alias']('desc')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x263))['option'](a2_0x1ad8c3(0x2eb),a2_0x1ad8c3(0x254))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x38b),a2_0x1ad8c3(0x3b2))['action'](async(_0x7238b2,_0x3aae9b)=>{const _0xc39638=a2_0x1ad8c3,_0x20e824=new DescribeCommand(),_0x2abd02=program[_0xc39638(0x1f9)](),_0x5ed4cd=await createTDXInstance(_0x2abd02);_0x3aae9b['in']&&(_0x3aae9b['database']=_0x3aae9b['in']);const _0x528ab6=await _0x20e824[_0xc39638(0x33b)]({'options':{..._0x2abd02,..._0x3aae9b},'args':_0x7238b2?[_0x7238b2]:[],'tdx':_0x5ed4cd});gracefulExit(_0x528ab6);}),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x18e))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x205))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2eb),a2_0x1ad8c3(0x24a))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x38b),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x1ad8c3(0x367)]('--catalog\x20<catalog>','Trino\x20catalog\x20(default:\x20td)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x389),a2_0x1ad8c3(0x3cc))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3c1),a2_0x1ad8c3(0x350),'40')[a2_0x1ad8c3(0x296)](async(_0x28ddce,_0x52d381)=>{const _0x1bd085=a2_0x1ad8c3,_0x37f139=new QueryCommand(),_0xb2b1ab=program['opts'](),_0x17b26c=await createTDXInstance(_0xb2b1ab);_0x52d381['in']&&(_0x52d381[_0x1bd085(0x1b7)]=_0x52d381['in']);const _0x46624c=await _0x37f139[_0x1bd085(0x33b)]({'options':{..._0xb2b1ab,..._0x52d381},'args':_0x28ddce?[_0x28ddce]:[],'tdx':_0x17b26c});gracefulExit(_0x46624c);});const segmentCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x3ad))['alias']('sg')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x200)),segmentListAction=async(_0x485516,_0x508153)=>{const _0x50ac0c=a2_0x1ad8c3,_0x32ad7d=new SegmentsCommand(),_0x3865c4=program['opts'](),_0x3838d7=await createTDXInstance(_0x3865c4),_0x436da2=await _0x32ad7d[_0x50ac0c(0x33b)]({'options':{..._0x3865c4,..._0x508153},'args':_0x485516?[_0x485516]:[],'tdx':_0x3838d7});gracefulExit(_0x436da2);};segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1a6))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1fb))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2d9),a2_0x1ad8c3(0x368))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x211),a2_0x1ad8c3(0x305),'10')[a2_0x1ad8c3(0x296)](segmentListAction),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x252),{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x16e))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2d9),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x1ad8c3(0x367)]('--max-depth\x20<depth>',a2_0x1ad8c3(0x305),'10')['action'](segmentListAction),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x239),{'hidden':!![]})[a2_0x1ad8c3(0x229)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x1ad8c3(0x296)](async(_0x5b071c,_0xc905e3)=>{const _0x33bc4a=a2_0x1ad8c3,_0x4c604a=new SegmentUseCommand(),_0x3f54dc=program[_0x33bc4a(0x1f9)](),_0x53300a=await createTDXInstance(_0x3f54dc),_0x37f392=await _0x4c604a[_0x33bc4a(0x33b)]({'options':{..._0x3f54dc,..._0xc905e3},'args':[_0x5b071c],'tdx':_0x53300a});gracefulExit(_0x37f392);});const segmentViewAction=async(_0x56ab2e,_0x25b199)=>{const _0xf29857=a2_0x1ad8c3,_0x2bdc1d=new SegmentViewCommand(),_0x5dc6e5=program[_0xf29857(0x1f9)](),_0x1ac2cb=await createTDXInstance(_0x5dc6e5),_0x143779=await _0x2bdc1d[_0xf29857(0x33b)]({'options':{..._0x5dc6e5,..._0x25b199},'args':_0x56ab2e?[_0x56ab2e]:[],'tdx':_0x1ac2cb});gracefulExit(_0x143779);};segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x202))[a2_0x1ad8c3(0x229)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2b8),a2_0x1ad8c3(0x15f))['action'](segmentViewAction),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x21b),{'hidden':!![]})[a2_0x1ad8c3(0x26a)](a2_0x1ad8c3(0x2b1))[a2_0x1ad8c3(0x367)]('-w,\x20--web',a2_0x1ad8c3(0x15f))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1df))['action'](segmentViewAction),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1eb))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x21a))[a2_0x1ad8c3(0x296)](async(_0x59db9f,_0x3c4f6e)=>{const _0x79b926=a2_0x1ad8c3,_0x1d3978=new SegmentDescCommand(),_0x290fae=program[_0x79b926(0x1f9)](),_0x2bc45b=await createTDXInstance(_0x290fae),_0x30de2d=await _0x1d3978['run']({'options':{..._0x290fae,..._0x3c4f6e},'args':_0x59db9f?[_0x59db9f]:[],'tdx':_0x2bc45b});gracefulExit(_0x30de2d);}),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x241))['description'](a2_0x1ad8c3(0x245))[a2_0x1ad8c3(0x296)](async(_0x4cb6d1,_0x381540)=>{const _0x90f197=a2_0x1ad8c3,_0x4b0775=new SegmentShowCommand(),_0x24eb83=program['opts'](),_0x6ea64a=await createTDXInstance(_0x24eb83),_0x461492=await _0x4b0775[_0x90f197(0x33b)]({'options':{..._0x24eb83,..._0x381540},'args':_0x4cb6d1?[_0x4cb6d1]:[],'tdx':_0x6ea64a});gracefulExit(_0x461492);}),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2ff),{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2fd))[a2_0x1ad8c3(0x296)](async(_0x519083,_0xf74766)=>{const _0x2247c5=a2_0x1ad8c3,_0x1e26c9=new SegmentFolderListCommand(),_0x5ae902=program[_0x2247c5(0x1f9)](),_0x410ade=await createTDXInstance(_0x5ae902),_0x5482ae=await _0x1e26c9[_0x2247c5(0x33b)]({'options':{..._0x5ae902,..._0xf74766},'args':[_0x519083],'tdx':_0x410ade});gracefulExit(_0x5482ae);});const folderCmd=segmentCmd[a2_0x1ad8c3(0x2c1)]('folder',{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1c0));folderCmd['command'](a2_0x1ad8c3(0x39d))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1ae))['action'](async(_0x5ab9c1,_0x2d7610)=>{const _0x47887d=a2_0x1ad8c3,_0x474074=new SegmentFolderShowCommand(),_0x235bcd=program[_0x47887d(0x1f9)](),_0x3cdb45=await createTDXInstance(_0x235bcd),_0x3c0275=await _0x474074['run']({'options':{..._0x235bcd,..._0x2d7610},'args':[_0x5ab9c1],'tdx':_0x3cdb45});gracefulExit(_0x3c0275);}),segmentCmd[a2_0x1ad8c3(0x2c1)]('sql\x20[segment_name]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2dd))[a2_0x1ad8c3(0x296)](async(_0x585ed0,_0x26cf07)=>{const _0x504f25=a2_0x1ad8c3,_0x54dc87=new SegmentSQLCommand(),_0x37ffb0=program[_0x504f25(0x1f9)](),_0x595237=await createTDXInstance(_0x37ffb0),_0xdc8767=await _0x54dc87['run']({'options':{..._0x37ffb0,..._0x26cf07},'args':_0x585ed0?[_0x585ed0]:[],'tdx':_0x595237});gracefulExit(_0xdc8767);}),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1d8))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x27e))[a2_0x1ad8c3(0x296)](async(_0x1cb0f,_0x5157e9)=>{const _0x510503=a2_0x1ad8c3,_0x431c42=new SegmentFieldsCommand(),_0x3f57a8=program[_0x510503(0x1f9)](),_0x344096=await createTDXInstance(_0x3f57a8),_0x2f6d0f=await _0x431c42[_0x510503(0x33b)]({'options':{..._0x3f57a8,..._0x5157e9},'args':_0x1cb0f?[_0x1cb0f]:[],'tdx':_0x344096});gracefulExit(_0x2f6d0f);}),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2c9))[a2_0x1ad8c3(0x229)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x316),a2_0x1ad8c3(0x298))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2b3),a2_0x1ad8c3(0x301))[a2_0x1ad8c3(0x296)](async(_0x1e354f,_0x4c3756)=>{const _0x515ffe=a2_0x1ad8c3,_0x3f6dd0=new SegmentPullCommand(),_0x12b4fa=program[_0x515ffe(0x1f9)](),_0x483f8d=await createTDXInstance(_0x12b4fa),_0x4f4850=await _0x3f6dd0[_0x515ffe(0x33b)]({'options':{..._0x12b4fa,..._0x4c3756},'args':_0x1e354f?[_0x1e354f]:[],'tdx':_0x483f8d});gracefulExit(_0x4f4850);}),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1c6))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x278))['option'](a2_0x1ad8c3(0x316),a2_0x1ad8c3(0x298))['option'](a2_0x1ad8c3(0x2b3),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['option'](a2_0x1ad8c3(0x35d),'Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x1ad8c3(0x296)](async(_0x165dcd,_0x258b14)=>{const _0x1bb3fb=a2_0x1ad8c3,_0x59ac00=new SegmentPushCommand(),_0x2011c9=program[_0x1bb3fb(0x1f9)](),_0x3d119b=await createTDXInstance(_0x2011c9),_0x543294=await _0x59ac00['run']({'options':{..._0x2011c9,..._0x258b14},'args':_0x165dcd?[_0x165dcd]:[],'tdx':_0x3d119b});gracefulExit(_0x543294);}),segmentCmd[a2_0x1ad8c3(0x2c1)]('validate\x20[target]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2a0))[a2_0x1ad8c3(0x296)](async(_0x36862b,_0x2c1fb8)=>{const _0x59b6c5=a2_0x1ad8c3,_0x1c709e=new SegmentValidateCommand(),_0x452f0e=program[_0x59b6c5(0x1f9)](),_0x2440f0=await createTDXInstance(_0x452f0e),_0x17d548=await _0x1c709e['run']({'options':{..._0x452f0e,..._0x2c1fb8},'args':_0x36862b?[_0x36862b]:[],'tdx':_0x2440f0});gracefulExit(_0x17d548);}),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x28b),{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1f8))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3d6),a2_0x1ad8c3(0x2a4))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1bd),a2_0x1ad8c3(0x391))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x216),a2_0x1ad8c3(0x240))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x32d),a2_0x1ad8c3(0x15d))['option'](a2_0x1ad8c3(0x394),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x1ad8c3(0x367)]('--invisible','Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3b9),'Skip\x20population\x20counting')[a2_0x1ad8c3(0x296)](async(_0x41817a,_0x548f67)=>{const _0x48cab0=a2_0x1ad8c3,_0x4e5a09=new SegmentCreateCommand(),_0x232110=program[_0x48cab0(0x1f9)](),_0x2ce4ba=await createTDXInstance(_0x232110),_0x2c19d2=await _0x4e5a09[_0x48cab0(0x33b)]({'options':{..._0x232110,..._0x548f67},'args':[_0x41817a],'tdx':_0x2ce4ba});gracefulExit(_0x2c19d2);}),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x319),{'hidden':!![]})[a2_0x1ad8c3(0x229)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x333),a2_0x1ad8c3(0x259))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3d6),a2_0x1ad8c3(0x362))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1bd),a2_0x1ad8c3(0x243))['option'](a2_0x1ad8c3(0x216),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x32d),'Move\x20to\x20folder')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x394),a2_0x1ad8c3(0x393))[a2_0x1ad8c3(0x296)](async(_0xa407a1,_0x54cbc0)=>{const _0x291928=a2_0x1ad8c3,_0x1135d3=new SegmentUpdateCommand(),_0x40c2a3=program[_0x291928(0x1f9)](),_0x555a0b=await createTDXInstance(_0x40c2a3),_0x46f044=await _0x1135d3['run']({'options':{..._0x40c2a3,..._0x54cbc0},'args':[_0xa407a1],'tdx':_0x555a0b});gracefulExit(_0x46f044);});const parentCmd=segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x334),{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2e0)),parentListAction=async(_0x5e0504,_0x55aa80)=>{const _0x3d8e50=a2_0x1ad8c3,_0x24e23f=new ParentSegmentListCommand(),_0x4a334f=program[_0x3d8e50(0x1f9)](),_0x391287=await createTDXInstance(_0x4a334f),_0x35b190=await _0x24e23f[_0x3d8e50(0x33b)]({'options':{..._0x4a334f,..._0x55aa80},'args':_0x5e0504?[_0x5e0504]:[],'tdx':_0x391287});gracefulExit(_0x35b190);};parentCmd['command'](a2_0x1ad8c3(0x1cf))[a2_0x1ad8c3(0x229)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x1ad8c3(0x296)](parentListAction),segmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1a7),{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3d5))['action'](parentListAction),parentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x379))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x27f))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3a3),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x1ad8c3(0x367)]('-y,\x20--yes',a2_0x1ad8c3(0x18b))[a2_0x1ad8c3(0x296)](async(_0x52828a,_0x6dcdaf)=>{const _0x5c5e88=a2_0x1ad8c3,_0x551bc6=new ParentSegmentPullCommand(),_0x1c3581=program[_0x5c5e88(0x1f9)](),_0x32ecfe=await createTDXInstance(_0x1c3581),_0x48c727=await _0x551bc6[_0x5c5e88(0x33b)]({'options':{..._0x1c3581,..._0x6dcdaf},'args':_0x52828a?[_0x52828a]:[],'tdx':_0x32ecfe});gracefulExit(_0x48c727);}),parentCmd['command'](a2_0x1ad8c3(0x1fc))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1be))[a2_0x1ad8c3(0x367)]('-y,\x20--yes',a2_0x1ad8c3(0x18b))['action'](async(_0xd050a1,_0x5d968e)=>{const _0x180368=a2_0x1ad8c3,_0x319e89=new ParentSegmentPushCommand(),_0x135ea8=program[_0x180368(0x1f9)](),_0x185c10=await createTDXInstance(_0x135ea8),_0xb22007=await _0x319e89[_0x180368(0x33b)]({'options':{..._0x135ea8,..._0x5d968e},'args':_0xd050a1?[_0xd050a1]:[],'tdx':_0x185c10});gracefulExit(_0xb22007);}),parentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x16b))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x31a))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x181),a2_0x1ad8c3(0x17e))['option'](a2_0x1ad8c3(0x169),a2_0x1ad8c3(0x2c5))[a2_0x1ad8c3(0x367)]('--behavior\x20[name]',a2_0x1ad8c3(0x219))[a2_0x1ad8c3(0x367)]('--enriched',a2_0x1ad8c3(0x1ad))[a2_0x1ad8c3(0x367)]('--interval\x20<range>',a2_0x1ad8c3(0x2f9),a2_0x1ad8c3(0x39f))[a2_0x1ad8c3(0x296)](async(_0x9a3533,_0x95cb03)=>{const _0xdf37ae=new ParentSegmentValidateCommand(),_0x2b6462=program['opts'](),_0x38bf9c=await createTDXInstance(_0x2b6462),_0x55898c=await _0xdf37ae['run']({'options':{..._0x2b6462,..._0x95cb03},'args':_0x9a3533?[_0x9a3533]:[],'tdx':_0x38bf9c});gracefulExit(_0x55898c);}),parentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x307))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x27d))[a2_0x1ad8c3(0x367)]('--master','Show\x20master\x20table\x20sample\x20data')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x169),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1ee),a2_0x1ad8c3(0x25d))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x27a),a2_0x1ad8c3(0x222))['option'](a2_0x1ad8c3(0x3bc),a2_0x1ad8c3(0x2f9),a2_0x1ad8c3(0x39f))['action'](async(_0x39aa9e,_0x1468ac)=>{const _0x3a36c4=a2_0x1ad8c3,_0x4aee05=new ParentSegmentPreviewCommand(),_0x3ddc14=program[_0x3a36c4(0x1f9)](),_0x3e9a1c=await createTDXInstance(_0x3ddc14),_0x27f30b=await _0x4aee05[_0x3a36c4(0x33b)]({'options':{..._0x3ddc14,..._0x1468ac},'args':_0x39aa9e?[_0x39aa9e]:[],'tdx':_0x3e9a1c});gracefulExit(_0x27f30b);}),parentCmd['command'](a2_0x1ad8c3(0x2df))[a2_0x1ad8c3(0x229)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x1ad8c3(0x367)]('-y,\x20--yes',a2_0x1ad8c3(0x18b))[a2_0x1ad8c3(0x296)](async(_0x46ef25,_0x537fd1)=>{const _0x118b65=a2_0x1ad8c3,_0x4ce08b=new ParentSegmentRunCommand(),_0x268931=program[_0x118b65(0x1f9)](),_0x49ecfb=await createTDXInstance(_0x268931),_0x530785=await _0x4ce08b[_0x118b65(0x33b)]({'options':{..._0x268931,..._0x537fd1},'args':_0x46ef25?[_0x46ef25]:[],'tdx':_0x49ecfb});gracefulExit(_0x530785);});const parentSegmentCmd=program['command']('parent-segment')[a2_0x1ad8c3(0x26a)]('ps')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x250));parentSegmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1cf))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x31f))[a2_0x1ad8c3(0x296)](parentListAction),parentSegmentCmd[a2_0x1ad8c3(0x2c1)]('pull\x20[name]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x258))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3a3),a2_0x1ad8c3(0x1e6))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x316),'Skip\x20confirmation\x20prompt')[a2_0x1ad8c3(0x367)]('-u,\x20--use',a2_0x1ad8c3(0x192))[a2_0x1ad8c3(0x296)](async(_0x5dacc1,_0x4e774d)=>{const _0x5b02d1=new ParentSegmentPullCommand(),_0x578dde=program['opts'](),_0x509b96=await createTDXInstance(_0x578dde),_0x41f1a8=await _0x5b02d1['run']({'options':{..._0x578dde,..._0x4e774d},'args':_0x5dacc1?[_0x5dacc1]:[],'tdx':_0x509b96});gracefulExit(_0x41f1a8);}),parentSegmentCmd['command'](a2_0x1ad8c3(0x2fb))['description'](a2_0x1ad8c3(0x3c8))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x316),a2_0x1ad8c3(0x18b))['action'](async(_0x3e1b29,_0x32ddff)=>{const _0x5f71b=a2_0x1ad8c3,_0x300aaf=new ParentSegmentPushCommand(),_0x27bdf1=program[_0x5f71b(0x1f9)](),_0x5da202=await createTDXInstance(_0x27bdf1),_0x373dcf=await _0x300aaf[_0x5f71b(0x33b)]({'options':{..._0x27bdf1,..._0x32ddff},'args':_0x3e1b29?[_0x3e1b29]:[],'tdx':_0x5da202});gracefulExit(_0x373dcf);}),parentSegmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x385))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x1ad8c3(0x367)]('--master',a2_0x1ad8c3(0x17e))['option'](a2_0x1ad8c3(0x169),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1ee),a2_0x1ad8c3(0x219))['option'](a2_0x1ad8c3(0x27a),a2_0x1ad8c3(0x1ad))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3bc),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x1ad8c3(0x296)](async(_0xbd5f1a,_0x10cff5)=>{const _0x116b44=a2_0x1ad8c3,_0x50093e=new ParentSegmentValidateCommand(),_0x31b408=program['opts'](),_0x3bf6c5=await createTDXInstance(_0x31b408),_0x2d151f=await _0x50093e[_0x116b44(0x33b)]({'options':{..._0x31b408,..._0x10cff5},'args':_0xbd5f1a?[_0xbd5f1a]:[],'tdx':_0x3bf6c5});gracefulExit(_0x2d151f);}),parentSegmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x19f))[a2_0x1ad8c3(0x229)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option']('--master',a2_0x1ad8c3(0x3cd))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x169),a2_0x1ad8c3(0x217))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1ee),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x1ad8c3(0x367)]('--enriched',a2_0x1ad8c3(0x222))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3bc),a2_0x1ad8c3(0x2f9),a2_0x1ad8c3(0x39f))[a2_0x1ad8c3(0x296)](async(_0x274478,_0x93507a)=>{const _0x284f18=a2_0x1ad8c3,_0x557f0e=new ParentSegmentPreviewCommand(),_0xb4368=program[_0x284f18(0x1f9)](),_0x10364c=await createTDXInstance(_0xb4368),_0x212273=await _0x557f0e[_0x284f18(0x33b)]({'options':{..._0xb4368,..._0x93507a},'args':_0x274478?[_0x274478]:[],'tdx':_0x10364c});gracefulExit(_0x212273);}),parentSegmentCmd['command'](a2_0x1ad8c3(0x2df))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x32f))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x316),a2_0x1ad8c3(0x18b))[a2_0x1ad8c3(0x296)](async(_0x596aaf,_0x24a0b4)=>{const _0x4ffff2=a2_0x1ad8c3,_0x57b278=new ParentSegmentRunCommand(),_0x2b990d=program[_0x4ffff2(0x1f9)](),_0x5081ba=await createTDXInstance(_0x2b990d),_0x1f6874=await _0x57b278['run']({'options':{..._0x2b990d,..._0x24a0b4},'args':_0x596aaf?[_0x596aaf]:[],'tdx':_0x5081ba});gracefulExit(_0x1f6874);}),parentSegmentCmd[a2_0x1ad8c3(0x2c1)]('fields\x20[name]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x22c))['option'](a2_0x1ad8c3(0x1b2),a2_0x1ad8c3(0x3a7))[a2_0x1ad8c3(0x367)]('--jsonl',a2_0x1ad8c3(0x346))['action'](async(_0x44c286,_0xc20ec)=>{const _0x393c08=a2_0x1ad8c3,_0x4de90d=new ParentSegmentFieldsCommand(),_0xcf83b=program['opts'](),_0x3bdc2c=await createTDXInstance(_0xcf83b),_0x3067b1=await _0x4de90d[_0x393c08(0x33b)]({'options':{..._0xcf83b,..._0xc20ec},'args':_0x44c286?[_0x44c286]:[],'tdx':_0x3bdc2c});gracefulExit(_0x3067b1);}),parentSegmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x3af))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1cd))['option']('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x1ad8c3(0x367)]('--json',a2_0x1ad8c3(0x3a7))['option'](a2_0x1ad8c3(0x289),'Output\x20as\x20JSON\x20Lines')[a2_0x1ad8c3(0x296)](async(_0x4db325,_0x299b7b)=>{const _0x181ce7=a2_0x1ad8c3,_0x41ee02=new ParentSegmentViewCommand(),_0x271444=program[_0x181ce7(0x1f9)](),_0x591ac6=await createTDXInstance(_0x271444),_0x4aafca=await _0x41ee02[_0x181ce7(0x33b)]({'options':{..._0x271444,..._0x299b7b},'args':_0x4db325?[_0x4db325]:[],'tdx':_0x591ac6});gracefulExit(_0x4aafca);}),parentSegmentCmd['command'](a2_0x1ad8c3(0x2e1))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3cf))[a2_0x1ad8c3(0x367)]('-o,\x20--output\x20<file>',a2_0x1ad8c3(0x1e6))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1b2),a2_0x1ad8c3(0x3a7))['option'](a2_0x1ad8c3(0x289),'Output\x20as\x20JSON\x20Lines')[a2_0x1ad8c3(0x296)](async(_0x4d376c,_0x4abbd2)=>{const _0x2c7452=a2_0x1ad8c3,_0x533d89=new ParentSegmentDescCommand(),_0x565ea7=program[_0x2c7452(0x1f9)](),_0x316ba3=await createTDXInstance(_0x565ea7),_0x5b1358=await _0x533d89[_0x2c7452(0x33b)]({'options':{..._0x565ea7,..._0x4abbd2},'args':_0x4d376c?[_0x4d376c]:[],'tdx':_0x316ba3});gracefulExit(_0x5b1358);}),parentSegmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x193))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x177))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1b2),a2_0x1ad8c3(0x3a7))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x289),a2_0x1ad8c3(0x346))[a2_0x1ad8c3(0x296)](async(_0x1fa15d,_0x1ffebc)=>{const _0x3f2221=a2_0x1ad8c3,_0x353e6c=new ParentSegmentSQLCommand(),_0x55fe09=program[_0x3f2221(0x1f9)](),_0x33eb24=await createTDXInstance(_0x55fe09),_0x223b2f=await _0x353e6c[_0x3f2221(0x33b)]({'options':{..._0x55fe09,..._0x1ffebc},'args':_0x1fa15d?[_0x1fa15d]:[],'tdx':_0x33eb24});gracefulExit(_0x223b2f);}),parentSegmentCmd[a2_0x1ad8c3(0x2c1)]('show\x20[name]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2e9))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2ca),a2_0x1ad8c3(0x1fe))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1b2),a2_0x1ad8c3(0x3a7))['option']('--jsonl',a2_0x1ad8c3(0x346))[a2_0x1ad8c3(0x296)](async(_0xe0f103,_0xa1bb79)=>{const _0x21c7fe=a2_0x1ad8c3,_0x1a3a3e=new ParentSegmentShowCommand(),_0x37f634=program[_0x21c7fe(0x1f9)](),_0x3e4ae3=await createTDXInstance(_0x37f634),_0x2243e1=await _0x1a3a3e[_0x21c7fe(0x33b)]({'options':{..._0x37f634,..._0xa1bb79},'args':_0xe0f103?[_0xe0f103]:[],'tdx':_0x3e4ae3});gracefulExit(_0x2243e1);}),parentSegmentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x214))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x343))[a2_0x1ad8c3(0x296)](async(_0x25b370,_0x32ec83)=>{const _0x54cd84=new UseCommand(),_0x2a0bf0=program['opts'](),_0xabc7e2=_0x25b370?['parent_segment',_0x25b370]:[],_0x373aef=await _0x54cd84['run']({'options':{..._0x2a0bf0,..._0x32ec83},'args':_0xabc7e2,'tdx':null});gracefulExit(_0x373aef);});const psRtCmd=parentSegmentCmd[a2_0x1ad8c3(0x2c1)]('rt')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1a8));psRtCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1cf))[a2_0x1ad8c3(0x229)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x4e0455,_0x519bfd)=>{const _0x2d6b3a=a2_0x1ad8c3,_0x381c1a=new PSRtListCommand(),_0x3fb728=program[_0x2d6b3a(0x1f9)](),_0xb97b95=await createTDXInstance(_0x3fb728),_0x2f75a1=await _0x381c1a[_0x2d6b3a(0x33b)]({'options':{..._0x3fb728,..._0x519bfd},'args':_0x4e0455?[_0x4e0455]:[],'tdx':_0xb97b95});gracefulExit(_0x2f75a1);}),psRtCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x385))['description'](a2_0x1ad8c3(0x3a0))['action'](async(_0x254b9f,_0x153979)=>{const _0x2eee74=a2_0x1ad8c3,_0x214404=new PSRtValidateCommand(),_0x24b569=program[_0x2eee74(0x1f9)](),_0x2d7e36=await createTDXInstance(_0x24b569),_0x8fe93=await _0x214404[_0x2eee74(0x33b)]({'options':{..._0x24b569,..._0x153979},'args':_0x254b9f?[_0x254b9f]:[],'tdx':_0x2d7e36});gracefulExit(_0x8fe93);});const parentRtCmd=parentCmd[a2_0x1ad8c3(0x2c1)]('rt',{'hidden':!![]})['description'](a2_0x1ad8c3(0x1a8));parentRtCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1cf))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x27c))[a2_0x1ad8c3(0x296)](async(_0x28ef5a,_0x4538ff)=>{const _0x4900b9=a2_0x1ad8c3,_0x162c25=new PSRtListCommand(),_0xd2aca4=program[_0x4900b9(0x1f9)](),_0x580a40=await createTDXInstance(_0xd2aca4),_0x360471=await _0x162c25[_0x4900b9(0x33b)]({'options':{..._0xd2aca4,..._0x4538ff},'args':_0x28ef5a?[_0x28ef5a]:[],'tdx':_0x580a40});gracefulExit(_0x360471);}),parentRtCmd[a2_0x1ad8c3(0x2c1)]('validate\x20[name]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3a0))['action'](async(_0x7b369e,_0x40fc39)=>{const _0x36b847=a2_0x1ad8c3,_0x336be2=new PSRtValidateCommand(),_0x33eda0=program[_0x36b847(0x1f9)](),_0x4a31d4=await createTDXInstance(_0x33eda0),_0x58aca4=await _0x336be2[_0x36b847(0x33b)]({'options':{..._0x33eda0,..._0x40fc39},'args':_0x7b369e?[_0x7b369e]:[],'tdx':_0x4a31d4});gracefulExit(_0x58aca4);});const psPzCmd=parentSegmentCmd[a2_0x1ad8c3(0x2c1)]('pz')['description'](a2_0x1ad8c3(0x23f));psPzCmd[a2_0x1ad8c3(0x2c1)]('list\x20[name]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2c8))[a2_0x1ad8c3(0x296)](async(_0x468c3a,_0x3b3495)=>{const _0x1faae5=a2_0x1ad8c3,_0x415f21=new PSPzListCommand(),_0x284c10=program[_0x1faae5(0x1f9)](),_0x13782b=await createTDXInstance(_0x284c10),_0x3ff6b7=await _0x415f21[_0x1faae5(0x33b)]({'options':{..._0x284c10,..._0x3b3495},'args':_0x468c3a?[_0x468c3a]:[],'tdx':_0x13782b});gracefulExit(_0x3ff6b7);}),psPzCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1d3))[a2_0x1ad8c3(0x229)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x1ad8c3(0x296)](async(_0x1788ec,_0x56844e)=>{const _0x24e610=a2_0x1ad8c3,_0x5276f5=new PSPzInitCommand(),_0x51a018=program[_0x24e610(0x1f9)](),_0x5efab9=await createTDXInstance(_0x51a018),_0xfd5d90=await _0x5276f5[_0x24e610(0x33b)]({'options':{..._0x51a018,..._0x56844e},'args':_0x1788ec?[_0x1788ec]:[],'tdx':_0x5efab9});gracefulExit(_0xfd5d90);});const parentPzCmd=parentCmd[a2_0x1ad8c3(0x2c1)]('pz',{'hidden':!![]})['description'](a2_0x1ad8c3(0x23f));parentPzCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2ed))[a2_0x1ad8c3(0x229)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x1ad8c3(0x296)](async(_0x5ce180,_0x4670a3)=>{const _0x3942a7=a2_0x1ad8c3,_0xb850b7=new PSPzListCommand(),_0x444667=program['opts'](),_0x586856=await createTDXInstance(_0x444667),_0x9bb6c=await _0xb850b7[_0x3942a7(0x33b)]({'options':{..._0x444667,..._0x4670a3},'args':_0x5ce180?[_0x5ce180]:[],'tdx':_0x586856});gracefulExit(_0x9bb6c);}),parentPzCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1d3))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1b8))[a2_0x1ad8c3(0x296)](async(_0x16aaf8,_0x29e4a0)=>{const _0x113018=a2_0x1ad8c3,_0x3ece7e=new PSPzInitCommand(),_0x38ec7a=program['opts'](),_0xddefb8=await createTDXInstance(_0x38ec7a),_0x464439=await _0x3ece7e[_0x113018(0x33b)]({'options':{..._0x38ec7a,..._0x29e4a0},'args':_0x16aaf8?[_0x16aaf8]:[],'tdx':_0xddefb8});gracefulExit(_0x464439);}),parentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x189))[a2_0x1ad8c3(0x229)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x1ad8c3(0x3b3)]('--database\x20<db>',a2_0x1ad8c3(0x1f7))[a2_0x1ad8c3(0x3b3)](a2_0x1ad8c3(0x26d),'Master\x20table\x20name')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3d6),a2_0x1ad8c3(0x2cc))['option'](a2_0x1ad8c3(0x24e),a2_0x1ad8c3(0x2ee))['option'](a2_0x1ad8c3(0x33c),a2_0x1ad8c3(0x171))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3b5),a2_0x1ad8c3(0x285))['option'](a2_0x1ad8c3(0x256),a2_0x1ad8c3(0x24c))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x395),'Attributes\x20from\x20JSON\x20file')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2fe),'Behaviors\x20as\x20JSON\x20string')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1ce),a2_0x1ad8c3(0x170))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x244),a2_0x1ad8c3(0x3a2))['option'](a2_0x1ad8c3(0x23d),a2_0x1ad8c3(0x318))[a2_0x1ad8c3(0x296)](async(_0x39525d,_0x1368f0)=>{const _0x10bf85=a2_0x1ad8c3,_0x47f2cc=new ParentSegmentCreateCommand(),_0x232c21=program[_0x10bf85(0x1f9)](),_0x16ac7c=await createTDXInstance(_0x232c21),_0x4049df=await _0x47f2cc[_0x10bf85(0x33b)]({'options':{..._0x232c21,..._0x1368f0},'args':[_0x39525d],'tdx':_0x16ac7c});gracefulExit(_0x4049df);}),parentCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1d6))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1ab))[a2_0x1ad8c3(0x367)]('--description\x20<text>',a2_0x1ad8c3(0x362))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x24e),a2_0x1ad8c3(0x1ca))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x33c),a2_0x1ad8c3(0x264))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3b5),a2_0x1ad8c3(0x266))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x175),a2_0x1ad8c3(0x218))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x297),a2_0x1ad8c3(0x35c))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x315),a2_0x1ad8c3(0x20a))[a2_0x1ad8c3(0x367)]('--add-behaviors-file\x20<file>',a2_0x1ad8c3(0x358))[a2_0x1ad8c3(0x296)](async(_0x49fba7,_0x2ed453)=>{const _0x5523c7=a2_0x1ad8c3,_0x1fb2fa=new ParentSegmentUpdateCommand(),_0x43d0b0=program[_0x5523c7(0x1f9)](),_0x37efc5=await createTDXInstance(_0x43d0b0),_0x463ad5=await _0x1fb2fa[_0x5523c7(0x33b)]({'options':{..._0x43d0b0,..._0x2ed453},'args':[_0x49fba7],'tdx':_0x37efc5});gracefulExit(_0x463ad5);}),folderCmd['command']('create\x20<parent_name>\x20<folder_name>')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x164))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3d6),a2_0x1ad8c3(0x2e2))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x23a),a2_0x1ad8c3(0x34e))[a2_0x1ad8c3(0x296)](async(_0x212d97,_0x9e9ebf,_0x2ad51c)=>{const _0x2cd36a=a2_0x1ad8c3,_0x21f2c1=new SegmentFolderCreateCommand(),_0x2cbd4b=program[_0x2cd36a(0x1f9)](),_0x40a113=await createTDXInstance(_0x2cbd4b),_0x2a1053=await _0x21f2c1[_0x2cd36a(0x33b)]({'options':{..._0x2cbd4b,..._0x2ad51c},'args':[_0x212d97,_0x9e9ebf],'tdx':_0x40a113});gracefulExit(_0x2a1053);}),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2ab))['description'](a2_0x1ad8c3(0x24b))[a2_0x1ad8c3(0x296)](async(_0x10b16f,_0x454113)=>{const _0x52e4c5=a2_0x1ad8c3,_0x387362=new ActivationsCommand(),_0x2bf0f5=program['opts'](),_0x331b39=await createTDXInstance(_0x2bf0f5),_0x116706=await _0x387362[_0x52e4c5(0x33b)]({'options':{..._0x2bf0f5,..._0x454113},'args':[_0x10b16f],'tdx':_0x331b39});gracefulExit(_0x116706);});const workflowCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x34a))[a2_0x1ad8c3(0x26a)]('wf')['description'](a2_0x1ad8c3(0x36e)),wfProjectCmd=workflowCmd[a2_0x1ad8c3(0x2c1)]('project')[a2_0x1ad8c3(0x229)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x13e9ff,_0x12490d)=>{const _0x2e387f=a2_0x1ad8c3,_0x436e7d=new WorkflowProjectsCommand(),_0x17dac7=program[_0x2e387f(0x1f9)](),_0x5072fc=await createTDXInstance(_0x17dac7),_0x44b454=await _0x436e7d[_0x2e387f(0x33b)]({'options':{..._0x17dac7,..._0x12490d},'args':_0x13e9ff?[_0x13e9ff]:[],'tdx':_0x5072fc});gracefulExit(_0x44b454);};wfProjectCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1cf))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x30d))[a2_0x1ad8c3(0x296)](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')['description'](a2_0x1ad8c3(0x3da))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x1c3aec,_0x1b3f13)=>{const _0x26bfe5=a2_0x1ad8c3,_0x5a7ba8=new WorkflowWorkflowsCommand(),_0x289cf8=program[_0x26bfe5(0x1f9)](),_0x5a8f11=await createTDXInstance(_0x289cf8),_0x5edbe4=await _0x5a7ba8[_0x26bfe5(0x33b)]({'options':{..._0x289cf8,..._0x1b3f13},'args':_0x1c3aec?[_0x1c3aec]:[],'tdx':_0x5a8f11});gracefulExit(_0x5edbe4);};workflowCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x249))[a2_0x1ad8c3(0x229)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x1ad8c3(0x296)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command']('session')[a2_0x1ad8c3(0x229)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x19cb26,_0x770975)=>{const _0x29687d=new WorkflowSessionsCommand(),_0x576734=program['opts'](),_0x324e75=await createTDXInstance(_0x576734),_0x4dfe21=await _0x29687d['run']({'options':{..._0x576734,..._0x770975},'args':_0x19cb26?[_0x19cb26]:[],'tdx':_0x324e75});gracefulExit(_0x4dfe21);};wfSessionCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2f4))['description'](a2_0x1ad8c3(0x277))['option'](a2_0x1ad8c3(0x38f),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x33a),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x30e),a2_0x1ad8c3(0x2f2))[a2_0x1ad8c3(0x296)](wfSessionListAction),workflowCmd[a2_0x1ad8c3(0x2c1)]('sessions\x20[project]')[a2_0x1ad8c3(0x229)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x38f),a2_0x1ad8c3(0x1ac))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x33a),a2_0x1ad8c3(0x37d))[a2_0x1ad8c3(0x367)]('--to\x20<timestamp>',a2_0x1ad8c3(0x2f2))[a2_0x1ad8c3(0x296)](wfSessionListAction);const wfAttemptListAction=async(_0x22aa6d,_0x390261)=>{const _0x2eacde=a2_0x1ad8c3,_0xbbf41d=new WorkflowAttemptsCommand(),_0x4bda57=program[_0x2eacde(0x1f9)](),_0x39602c=await createTDXInstance(_0x4bda57),_0x3734db=await _0xbbf41d[_0x2eacde(0x33b)]({'options':{..._0x4bda57,..._0x390261},'args':_0x22aa6d?[_0x22aa6d]:[],'tdx':_0x39602c});gracefulExit(_0x3734db);},attemptCmd=workflowCmd['command'](a2_0x1ad8c3(0x2b4))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x302))['argument'](a2_0x1ad8c3(0x213),a2_0x1ad8c3(0x235))[a2_0x1ad8c3(0x1b1)](a2_0x1ad8c3(0x3bf),a2_0x1ad8c3(0x348))['argument']('[task-name]',a2_0x1ad8c3(0x345))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x373),a2_0x1ad8c3(0x2d0))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1da),a2_0x1ad8c3(0x281))['option'](a2_0x1ad8c3(0x228),a2_0x1ad8c3(0x1d1))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x18d),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x1ad8c3(0x367)]('--force','Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e7),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x1ad8c3(0x296)](async(_0x3f2ee8,_0x3d50a5,_0x18fa66,_0x3d28c8)=>{const _0x1c635f=a2_0x1ad8c3;if(_0x3f2ee8===_0x1c635f(0x162)){await wfAttemptListAction(_0x3d50a5,_0x3d28c8);return;}if(!_0x3f2ee8){attemptCmd[_0x1c635f(0x309)]();return;}const _0x156807=program[_0x1c635f(0x1f9)](),_0x2386ac=await createTDXInstance(_0x156807);let _0x50fba8=0x0;if(!_0x3d50a5){const _0x372437=new WorkflowAttemptCommand();_0x50fba8=await _0x372437[_0x1c635f(0x33b)]({'options':{..._0x156807,..._0x3d28c8},'args':[_0x3f2ee8],'tdx':_0x2386ac});}else{if(_0x3d50a5===_0x1c635f(0x1b6)){const _0x369905=new WorkflowLogsCommand();_0x50fba8=await _0x369905[_0x1c635f(0x33b)]({'options':{..._0x156807,..._0x3d28c8},'args':_0x18fa66?[_0x3f2ee8,_0x18fa66]:[_0x3f2ee8],'tdx':_0x2386ac});}else{if(_0x3d50a5===_0x1c635f(0x19a)){const _0x188c39=new WorkflowTasksCommand();_0x50fba8=await _0x188c39['run']({'options':{..._0x156807,..._0x3d28c8},'args':[_0x3f2ee8],'tdx':_0x2386ac});}else{if(_0x3d50a5===_0x1c635f(0x303)){const _0x46efea=new WorkflowKillCommand();_0x50fba8=await _0x46efea['run']({'options':{..._0x156807,..._0x3d28c8},'args':[_0x3f2ee8],'tdx':_0x2386ac});}else{if(_0x3d50a5==='retry'){const _0x490b16=new WorkflowRetryCommand();_0x50fba8=await _0x490b16['run']({'options':{..._0x156807,..._0x3d28c8},'args':['attempt:'+_0x3f2ee8],'tdx':_0x2386ac});}else console[_0x1c635f(0x2b7)](_0x1c635f(0x35a)+_0x3d50a5),console['error'](_0x1c635f(0x225)),_0x50fba8=0x1;}}}}gracefulExit(_0x50fba8);});attemptCmd[a2_0x1ad8c3(0x2c1)]('list\x20[project]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x37e))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e7),a2_0x1ad8c3(0x180))[a2_0x1ad8c3(0x296)](wfAttemptListAction),workflowCmd['command'](a2_0x1ad8c3(0x28c))['description'](a2_0x1ad8c3(0x357))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e7),a2_0x1ad8c3(0x180))[a2_0x1ad8c3(0x296)](wfAttemptListAction),workflowCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2af))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x33e))[a2_0x1ad8c3(0x367)]('--follow',a2_0x1ad8c3(0x35f))['option'](a2_0x1ad8c3(0x36b),a2_0x1ad8c3(0x223))[a2_0x1ad8c3(0x367)]('--attempt-id\x20<id>',a2_0x1ad8c3(0x2a6))[a2_0x1ad8c3(0x296)](async(_0xa04882,_0x49baaf)=>{const _0x41dc21=a2_0x1ad8c3,_0x3d43d0=new WorkflowTimelineCommand(),_0x5841b6=program['opts'](),_0x49288f=await createTDXInstance(_0x5841b6),_0x6dd6d8=await _0x3d43d0[_0x41dc21(0x33b)]({'options':{..._0x5841b6,..._0x49baaf},'args':_0xa04882?[_0xa04882]:[],'tdx':_0x49288f});gracefulExit(_0x6dd6d8);}),workflowCmd['command'](a2_0x1ad8c3(0x29c))['description']('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3d0),'Resume\x20from\x20specific\x20task')[a2_0x1ad8c3(0x367)]('--params\x20<json>',a2_0x1ad8c3(0x2fa))['action'](async(_0x424215,_0x3d48c5)=>{const _0x29127f=a2_0x1ad8c3,_0x3db3a1=new WorkflowRetryCommand(),_0xc475fb=program[_0x29127f(0x1f9)](),_0x3ce107=await createTDXInstance(_0xc475fb),_0x476309=await _0x3db3a1[_0x29127f(0x33b)]({'options':{..._0xc475fb,..._0x3d48c5},'args':[_0x424215],'tdx':_0x3ce107});gracefulExit(_0x476309);}),workflowCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1e4))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x233))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1d2),'Workflow\x20parameter\x20(repeatable)',(_0x1656a3,_0x28143f=[])=>[..._0x28143f,_0x1656a3],[])[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x173),a2_0x1ad8c3(0x338))[a2_0x1ad8c3(0x296)](async(_0x24f982,_0x409df1)=>{const _0x34b1c5=a2_0x1ad8c3,_0x7fefb9=new WorkflowRunCommand(),_0x1e34c0=program[_0x34b1c5(0x1f9)](),_0x5659ee=await createTDXInstance(_0x1e34c0),_0x1b6e7f=await _0x7fefb9['run']({'options':{..._0x1e34c0,..._0x409df1},'args':_0x24f982?[_0x24f982]:[],'tdx':_0x5659ee});gracefulExit(_0x1b6e7f);}),workflowCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x36f))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2f1))[a2_0x1ad8c3(0x367)]('--revision\x20<revision>',a2_0x1ad8c3(0x1c8))[a2_0x1ad8c3(0x296)](async(_0x1d2463,_0x351bbb,_0x411886)=>{const _0x4fd7f=a2_0x1ad8c3,_0x5da604=new WorkflowDownloadCommand(),_0x1abc6d=program[_0x4fd7f(0x1f9)](),_0xe7b8b7=await createTDXInstance(_0x1abc6d),_0x54c393=await _0x5da604[_0x4fd7f(0x33b)]({'options':{..._0x1abc6d,..._0x411886},'args':[_0x1d2463,_0x351bbb||'.'],'tdx':_0xe7b8b7});gracefulExit(_0x54c393);}),workflowCmd[a2_0x1ad8c3(0x2c1)]('pull\x20<project>\x20[target-dir]')[a2_0x1ad8c3(0x229)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x204),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2b3),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x316),a2_0x1ad8c3(0x18b))[a2_0x1ad8c3(0x296)](async(_0x457da9,_0x3f0a7f,_0x4d0c7b)=>{const _0x1bc956=a2_0x1ad8c3,_0x3694c4=new WorkflowPullCommand(),_0x5d3982=program[_0x1bc956(0x1f9)](),_0xc05ff=await createTDXInstance(_0x5d3982),_0x6a67bf=await _0x3694c4[_0x1bc956(0x33b)]({'options':{..._0x5d3982,..._0x4d0c7b},'args':_0x3f0a7f?[_0x457da9,_0x3f0a7f]:[_0x457da9],'tdx':_0xc05ff});gracefulExit(_0x6a67bf);}),workflowCmd[a2_0x1ad8c3(0x2c1)]('push\x20[source-dir]')['description']('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x204),a2_0x1ad8c3(0x1f6))['option']('--dry-run',a2_0x1ad8c3(0x283))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3a6),a2_0x1ad8c3(0x179))[a2_0x1ad8c3(0x367)]('-y,\x20--yes',a2_0x1ad8c3(0x18b))[a2_0x1ad8c3(0x296)](async(_0x5c2a5b,_0x5ca90d)=>{const _0x161beb=a2_0x1ad8c3,_0x5cb06a=new WorkflowPushCommand(),_0x452498=program['opts'](),_0x3c943e=await createTDXInstance(_0x452498),_0x4fc22a=await _0x5cb06a[_0x161beb(0x33b)]({'options':{..._0x452498,..._0x5ca90d},'args':_0x5c2a5b?[_0x5c2a5b]:[],'tdx':_0x3c943e});gracefulExit(_0x4fc22a);}),workflowCmd['command']('upload\x20[project-name-or-dir]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x377))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x332),a2_0x1ad8c3(0x273))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x204),'Revision\x20name\x20(default:\x20timestamp)')['option']('--skip-validation',a2_0x1ad8c3(0x179))['action'](async(_0x39e26f,_0x2ac888)=>{const _0xffde91=a2_0x1ad8c3,_0x5e0795=new WorkflowUploadCommand(),_0x11fbd8=program['opts'](),_0xdb0745=await createTDXInstance(_0x11fbd8),_0x2f7ada=await _0x5e0795[_0xffde91(0x33b)]({'options':{..._0x11fbd8,..._0x2ac888},'args':_0x39e26f?[_0x39e26f]:[],'tdx':_0xdb0745});gracefulExit(_0x2f7ada);}),workflowCmd['command'](a2_0x1ad8c3(0x280))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x247))[a2_0x1ad8c3(0x367)]('--name\x20<name>',a2_0x1ad8c3(0x382))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x204),a2_0x1ad8c3(0x1f6))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2b3),a2_0x1ad8c3(0x3c2))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3a6),a2_0x1ad8c3(0x179))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x316),a2_0x1ad8c3(0x18b))[a2_0x1ad8c3(0x296)](async(_0x2f5efb,_0x421f21)=>{const _0x184ba8=a2_0x1ad8c3,_0x2beb5b=new WorkflowCloneCommand(),_0x384de4=program['opts'](),_0x504484=await createTDXInstance(_0x384de4),_0x893d2d=await _0x2beb5b[_0x184ba8(0x33b)]({'options':{..._0x384de4,..._0x421f21},'args':_0x2f5efb?[_0x2f5efb]:[],'tdx':_0x504484});gracefulExit(_0x893d2d);}),workflowCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x15b))['description'](a2_0x1ad8c3(0x232))[a2_0x1ad8c3(0x296)](async(_0x2ee917,_0x225994)=>{const _0x132f9b=a2_0x1ad8c3,_0x866f58=new WorkflowDeleteCommand(),_0x50dbc0=program[_0x132f9b(0x1f9)](),_0x5bf3cc=await createTDXInstance(_0x50dbc0),_0x4f12ea=await _0x866f58[_0x132f9b(0x33b)]({'options':{..._0x50dbc0,..._0x225994},'args':[_0x2ee917],'tdx':_0x5bf3cc});gracefulExit(_0x4f12ea);}),workflowCmd[a2_0x1ad8c3(0x2c1)]('use\x20[project]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1b4))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2dc),a2_0x1ad8c3(0x306))['action'](async(_0x5efa46,_0x3918fe)=>{const _0x108fcf=a2_0x1ad8c3,_0x292f27=new WorkflowUseCommand(),_0x264f76=program[_0x108fcf(0x1f9)](),_0x298976=await createTDXInstance(_0x264f76),_0x2b4eb5=await _0x292f27[_0x108fcf(0x33b)]({'options':{..._0x264f76,..._0x3918fe},'args':_0x5efa46?[_0x5efa46]:[],'tdx':_0x298976});gracefulExit(_0x2b4eb5);});const wfSecretsCmd=workflowCmd['command'](a2_0x1ad8c3(0x36a))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x269));wfSecretsCmd[a2_0x1ad8c3(0x2c1)]('list\x20[project]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3d1))[a2_0x1ad8c3(0x296)](async(_0x5cbe71,_0x1025a2)=>{const _0x3cc16a=new WorkflowSecretsListCommand(),_0x98f9f7=program['opts'](),_0x204365=await createTDXInstance(_0x98f9f7),_0x102d88=await _0x3cc16a['run']({'options':{..._0x98f9f7,..._0x1025a2},'args':_0x5cbe71?[_0x5cbe71]:[],'tdx':_0x204365});gracefulExit(_0x102d88);}),wfSecretsCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x28f))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3ae))[a2_0x1ad8c3(0x296)](async(_0x4c957a,_0x27ed57)=>{const _0x14bc8b=a2_0x1ad8c3,_0x4909dd=new WorkflowSecretsSetCommand(),_0x59b2d2=program[_0x14bc8b(0x1f9)](),_0x5f0a13=await createTDXInstance(_0x59b2d2),_0x4245ab=await _0x4909dd[_0x14bc8b(0x33b)]({'options':{..._0x59b2d2,..._0x27ed57},'args':_0x4c957a,'tdx':_0x5f0a13});gracefulExit(_0x4245ab);}),wfSecretsCmd[a2_0x1ad8c3(0x2c1)]('delete\x20<args...>')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x227))['option']('-y,\x20--yes',a2_0x1ad8c3(0x18b))[a2_0x1ad8c3(0x296)](async(_0x2d2fab,_0x16a316)=>{const _0x3261ec=a2_0x1ad8c3,_0x4b2983=new WorkflowSecretsDeleteCommand(),_0x5b3beb=program[_0x3261ec(0x1f9)](),_0x1c4e67=await createTDXInstance(_0x5b3beb),_0x1a8947=await _0x4b2983[_0x3261ec(0x33b)]({'options':{..._0x5b3beb,..._0x16a316},'args':_0x2d2fab,'tdx':_0x1c4e67});gracefulExit(_0x1a8947);});const jobCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x231))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x19d)),jobListAction=async _0x39207b=>{const _0x4058a8=a2_0x1ad8c3,_0x3b6fa9=new JobListCommand(),_0x34e90a=program['opts'](),_0x1c3d78=await createTDXInstance(_0x34e90a),_0x425f86=await _0x3b6fa9[_0x4058a8(0x33b)]({'options':{..._0x34e90a,..._0x39207b},'args':[],'tdx':_0x1c3d78});gracefulExit(_0x425f86);};jobCmd['command'](a2_0x1ad8c3(0x162))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3b4))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x38f),a2_0x1ad8c3(0x2ec))[a2_0x1ad8c3(0x296)](jobListAction),program['command'](a2_0x1ad8c3(0x206),{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x237))['option'](a2_0x1ad8c3(0x38f),a2_0x1ad8c3(0x2ec))['action'](jobListAction),jobCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x347))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1a5))[a2_0x1ad8c3(0x296)](async(_0x2761eb,_0x5b716c)=>{const _0x195b11=new JobShowCommand(),_0x432463=program['opts'](),_0x3bfa55=await createTDXInstance(_0x432463),_0x1d97be=await _0x195b11['run']({'options':{..._0x432463,..._0x5b716c},'args':[_0x2761eb],'tdx':_0x3bfa55});gracefulExit(_0x1d97be);}),jobCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x300))['description'](a2_0x1ad8c3(0x384))[a2_0x1ad8c3(0x296)](async(_0x4dc165,_0x122917)=>{const _0x7f23d5=a2_0x1ad8c3,_0x232543=new JobKillCommand(),_0x459923=program[_0x7f23d5(0x1f9)](),_0x23b5ff=await createTDXInstance(_0x459923),_0x5f1421=await _0x232543[_0x7f23d5(0x33b)]({'options':{..._0x459923,..._0x122917},'args':[_0x4dc165],'tdx':_0x23b5ff});gracefulExit(_0x5f1421);}),jobCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x195))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x339))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x220),a2_0x1ad8c3(0x3ca),a2_0x1ad8c3(0x1a1))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x389),a2_0x1ad8c3(0x299))[a2_0x1ad8c3(0x367)]('--database\x20<name>',a2_0x1ad8c3(0x282),a2_0x1ad8c3(0x3d7))[a2_0x1ad8c3(0x296)](async(_0x2c94ac,_0x53b711)=>{const _0x19f8b0=a2_0x1ad8c3,_0x4a2b1e=new JobSubmitCommand(),_0x3d8e94=program[_0x19f8b0(0x1f9)](),_0xa348cb=await createTDXInstance(_0x3d8e94),_0x27e4f8=await _0x4a2b1e[_0x19f8b0(0x33b)]({'options':{..._0x3d8e94,..._0x53b711},'args':_0x2c94ac?[_0x2c94ac]:[],'tdx':_0xa348cb});gracefulExit(_0x27e4f8);}),jobCmd['command']('result\x20<job-id>')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x39a))[a2_0x1ad8c3(0x296)](async(_0x3814d7,_0x3b1030)=>{const _0x57e003=a2_0x1ad8c3,_0x4a0099=new JobResultCommand(),_0x349295=program[_0x57e003(0x1f9)](),_0x42d7ee=await createTDXInstance(_0x349295),_0x265700=await _0x4a0099[_0x57e003(0x33b)]({'options':{..._0x349295,..._0x3b1030},'args':[_0x3814d7],'tdx':_0x42d7ee});gracefulExit(_0x265700);});const scheduleCmd=jobCmd[a2_0x1ad8c3(0x2c1)]('schedule')[a2_0x1ad8c3(0x229)]('Scheduled\x20query\x20management\x20commands');scheduleCmd['command'](a2_0x1ad8c3(0x1cf))['description']('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x52b010,_0x22e62f)=>{const _0x1adf26=a2_0x1ad8c3,_0x436a60=new ScheduleListCommand(),_0x5a05f=program[_0x1adf26(0x1f9)](),_0x50b19a=await createTDXInstance(_0x5a05f),_0x257a74=await _0x436a60[_0x1adf26(0x33b)]({'options':{..._0x5a05f,..._0x22e62f},'args':_0x52b010?[_0x52b010]:[],'tdx':_0x50b19a});gracefulExit(_0x257a74);}),scheduleCmd['command'](a2_0x1ad8c3(0x2c3))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x22f))[a2_0x1ad8c3(0x296)](async(_0x3b1e52,_0x12c26d)=>{const _0x29d2c2=a2_0x1ad8c3,_0x20a75c=new ScheduleShowCommand(),_0x31a4fe=program[_0x29d2c2(0x1f9)](),_0x40e913=await createTDXInstance(_0x31a4fe),_0x1a8cdc=await _0x20a75c[_0x29d2c2(0x33b)]({'options':{..._0x31a4fe,..._0x12c26d},'args':[_0x3b1e52],'tdx':_0x40e913});gracefulExit(_0x1a8cdc);}),scheduleCmd['command'](a2_0x1ad8c3(0x189))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x326))['requiredOption'](a2_0x1ad8c3(0x2bf),a2_0x1ad8c3(0x1f5))[a2_0x1ad8c3(0x3b3)]('-f,\x20--file\x20<path>',a2_0x1ad8c3(0x299))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x19e),a2_0x1ad8c3(0x15c),a2_0x1ad8c3(0x1a1))['option'](a2_0x1ad8c3(0x20b),'Cron\x20expression\x20for\x20scheduling')[a2_0x1ad8c3(0x367)]('--timezone\x20<tz>','Timezone\x20for\x20cron\x20(default:\x20UTC)')['option'](a2_0x1ad8c3(0x2b9),a2_0x1ad8c3(0x2a2))[a2_0x1ad8c3(0x367)]('--priority\x20<-2~2>',a2_0x1ad8c3(0x160))['option'](a2_0x1ad8c3(0x3db),a2_0x1ad8c3(0x3d8))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3a1),'Query\x20engine\x20version')[a2_0x1ad8c3(0x367)]('--result\x20<url>',a2_0x1ad8c3(0x308))[a2_0x1ad8c3(0x296)](async(_0x5efa2c,_0x5df9bf)=>{const _0x2fd152=a2_0x1ad8c3,_0x54544b=new ScheduleCreateCommand(),_0x20131c=program[_0x2fd152(0x1f9)](),_0x3c31d5=await createTDXInstance(_0x20131c),_0x3f5052=await _0x54544b[_0x2fd152(0x33b)]({'options':{..._0x20131c,..._0x5df9bf},'args':[_0x5efa2c],'tdx':_0x3c31d5});gracefulExit(_0x3f5052);}),scheduleCmd['command'](a2_0x1ad8c3(0x1d6))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x324))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2bf),a2_0x1ad8c3(0x1f5))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x389),a2_0x1ad8c3(0x299))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x19e),a2_0x1ad8c3(0x15c))['option'](a2_0x1ad8c3(0x20b),a2_0x1ad8c3(0x353))['option']('--timezone\x20<tz>',a2_0x1ad8c3(0x290))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2b9),a2_0x1ad8c3(0x2a2))[a2_0x1ad8c3(0x367)]('--priority\x20<-2~2>',a2_0x1ad8c3(0x160))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3db),a2_0x1ad8c3(0x3d8))['option'](a2_0x1ad8c3(0x3a1),'Query\x20engine\x20version')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x267),'Result\x20output\x20destination\x20URL')['action'](async(_0x48c441,_0x18927c)=>{const _0x4cbe03=a2_0x1ad8c3,_0x3ca10e=new ScheduleUpdateCommand(),_0x3e131a=program[_0x4cbe03(0x1f9)](),_0x3305a4=await createTDXInstance(_0x3e131a),_0x30f656=await _0x3ca10e[_0x4cbe03(0x33b)]({'options':{..._0x3e131a,..._0x18927c},'args':[_0x48c441],'tdx':_0x3305a4});gracefulExit(_0x30f656);}),scheduleCmd[a2_0x1ad8c3(0x2c1)]('delete\x20<name>')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x355))[a2_0x1ad8c3(0x296)](async(_0x4c1814,_0x459cb9)=>{const _0x347d3c=a2_0x1ad8c3,_0x1350e4=new ScheduleDeleteCommand(),_0x465c25=program[_0x347d3c(0x1f9)](),_0xd5d5dc=await createTDXInstance(_0x465c25),_0x317892=await _0x1350e4['run']({'options':{..._0x465c25,..._0x459cb9},'args':[_0x4c1814],'tdx':_0xd5d5dc});gracefulExit(_0x317892);}),scheduleCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2d3))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1ec))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1ea),a2_0x1ad8c3(0x374))['option'](a2_0x1ad8c3(0x354),a2_0x1ad8c3(0x265))['action'](async(_0x51dcc9,_0x330fc3)=>{const _0x474f5b=new ScheduleRunCommand(),_0x2e843f=program['opts'](),_0x5c3f78=await createTDXInstance(_0x2e843f),_0x4ca2c5=await _0x474f5b['run']({'options':{..._0x2e843f,..._0x330fc3},'args':[_0x51dcc9],'tdx':_0x5c3f78});gracefulExit(_0x4ca2c5);}),scheduleCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x26c))[a2_0x1ad8c3(0x229)]('Show\x20schedule\x20execution\x20history')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3b7),a2_0x1ad8c3(0x3c3))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x372),'Ending\x20offset\x20(default:\x2020)')[a2_0x1ad8c3(0x296)](async(_0x1906e9,_0x15dd8e)=>{const _0x51dccf=a2_0x1ad8c3,_0x5864a9=new ScheduleHistoryCommand(),_0x3456b3=program[_0x51dccf(0x1f9)](),_0x440e26=await createTDXInstance(_0x3456b3),_0x188f7d=await _0x5864a9[_0x51dccf(0x33b)]({'options':{..._0x3456b3,..._0x15dd8e},'args':[_0x1906e9],'tdx':_0x440e26});gracefulExit(_0x188f7d);});const llmCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x35b))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x37b));llmCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1e5))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x23e))[a2_0x1ad8c3(0x296)](async(_0x59e531,_0x5ae885)=>{const _0x4f2e90=a2_0x1ad8c3,_0x51ad7a=new LLMUseCommand(),_0x25724e=program[_0x4f2e90(0x1f9)](),_0x4dccaa=await createTDXInstance(_0x25724e),_0x229d49=await _0x51ad7a[_0x4f2e90(0x33b)]({'options':{..._0x25724e,..._0x5ae885},'args':[_0x59e531],'tdx':_0x4dccaa});gracefulExit(_0x229d49);}),llmCmd[a2_0x1ad8c3(0x2c1)]('models')['description']('List\x20available\x20LLM\x20models')[a2_0x1ad8c3(0x296)](async _0x55d77d=>{const _0x520e22=a2_0x1ad8c3,_0x2e1c7c=new LLMModelsCommand(),_0x364ec8=program[_0x520e22(0x1f9)](),_0x3dec86=await createTDXInstance(_0x364ec8),_0x54e8cb=await _0x2e1c7c[_0x520e22(0x33b)]({'options':{..._0x364ec8,..._0x55d77d},'args':[],'tdx':_0x3dec86});gracefulExit(_0x54e8cb);});const projectCmd=llmCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x25e))[a2_0x1ad8c3(0x229)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x35cd47,_0x1a7dcf)=>{const _0x3d2c7d=a2_0x1ad8c3,_0x563c69=new LLMProjectsCommand(),_0x49f362=program[_0x3d2c7d(0x1f9)](),_0x1abdaa=await createTDXInstance(_0x49f362),_0xfed86f=await _0x563c69[_0x3d2c7d(0x33b)]({'options':{..._0x49f362,..._0x1a7dcf},'args':_0x35cd47?[_0x35cd47]:[],'tdx':_0x1abdaa});gracefulExit(_0xfed86f);};projectCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1cf))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x17b))[a2_0x1ad8c3(0x296)](llmProjectListAction),llmCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2d6))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x163))['action'](llmProjectListAction),projectCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x189))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x25c))['option'](a2_0x1ad8c3(0x3d6),'Project\x20description')[a2_0x1ad8c3(0x296)](async(_0x26842e,_0x2552a6)=>{const _0x4a0a58=a2_0x1ad8c3,_0x5c8b7b=new LLMProjectCreateCommand(),_0x175e23=program[_0x4a0a58(0x1f9)](),_0x19df57=await createTDXInstance(_0x175e23),_0x4a28b2=await _0x5c8b7b[_0x4a0a58(0x33b)]({'options':{..._0x175e23,..._0x2552a6},'args':[_0x26842e],'tdx':_0x19df57});gracefulExit(_0x4a28b2);}),projectCmd[a2_0x1ad8c3(0x2c1)]('delete\x20<name>')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x39b))[a2_0x1ad8c3(0x296)](async(_0x4e25a2,_0x2c6a35)=>{const _0xfe6274=a2_0x1ad8c3,_0x3fc380=new LLMProjectDeleteCommand(),_0x36b230=program[_0xfe6274(0x1f9)](),_0x58dc7c=await createTDXInstance(_0x36b230),_0x2ae4d9=await _0x3fc380[_0xfe6274(0x33b)]({'options':{..._0x36b230,..._0x2c6a35},'args':[_0x4e25a2],'tdx':_0x58dc7c});gracefulExit(_0x2ae4d9);}),projectCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2c0))[a2_0x1ad8c3(0x229)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x361),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2b3),a2_0x1ad8c3(0x16d))['action'](async(_0x17b160,_0x12709b)=>{const _0x7db022=a2_0x1ad8c3,_0x19aa7d=new LLMProjectBackupCommand(),_0x371337=program[_0x7db022(0x1f9)](),_0x2611d9=await createTDXInstance(_0x371337),_0x21c906=await _0x19aa7d[_0x7db022(0x33b)]({'options':{..._0x371337,..._0x12709b},'args':[_0x17b160],'tdx':_0x2611d9});gracefulExit(_0x21c906);}),projectCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2e8))['description']('[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)')[a2_0x1ad8c3(0x367)]('--name\x20<new-name>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')['option'](a2_0x1ad8c3(0x2b3),a2_0x1ad8c3(0x1b3))['action'](async(_0x4484ab,_0xff6b58)=>{const _0x564e11=a2_0x1ad8c3,_0x5e2ca3=new LLMProjectRestoreCommand(),_0x5dbe2b=program[_0x564e11(0x1f9)](),_0x420c96=await createTDXInstance(_0x5dbe2b),_0x2d64b9=await _0x5e2ca3[_0x564e11(0x33b)]({'options':{..._0x5dbe2b,..._0xff6b58},'args':[_0x4484ab],'tdx':_0x420c96});gracefulExit(_0x2d64b9);});const llmAgentListAction=async(_0x26b76e,_0x1c6470)=>{const _0x231e75=a2_0x1ad8c3,_0x1312df=new LLMAgentsCommand(),_0x325f1f=program[_0x231e75(0x1f9)](),_0xba2a42=await createTDXInstance(_0x325f1f),_0x2715a5=await _0x1312df['run']({'options':{..._0x325f1f,..._0x1c6470},'args':_0x26b76e?[_0x26b76e]:[],'tdx':_0xba2a42});gracefulExit(_0x2715a5);};llmCmd[a2_0x1ad8c3(0x2c1)]('agents\x20[pattern]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x255))[a2_0x1ad8c3(0x296)](llmAgentListAction),program[a2_0x1ad8c3(0x2c1)]('agents\x20[pattern]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x255))[a2_0x1ad8c3(0x296)](llmAgentListAction),llmCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x261))['description'](a2_0x1ad8c3(0x34b))[a2_0x1ad8c3(0x367)]('--last',a2_0x1ad8c3(0x2aa))['action'](async(_0xd5f838,_0x538ab6)=>{const _0x46697a=a2_0x1ad8c3,_0x282a2d=new LLMHistoryCommand(),_0x17b3c6=program[_0x46697a(0x1f9)](),_0x11c82f=await createTDXInstance(_0x17b3c6),_0x2dab9a=await _0x282a2d['run']({'options':{..._0x17b3c6,..._0x538ab6},'args':_0xd5f838?[_0xd5f838]:[],'tdx':_0x11c82f});gracefulExit(_0x2dab9a);});isExperimentalAvailable()&&llmCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x36c))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x187))[a2_0x1ad8c3(0x296)](async(_0x5c8563,_0x452f1d)=>{const _0x39902e=a2_0x1ad8c3,_0x399ad1=new LLMLogCommand(),_0x9f8ab4=program[_0x39902e(0x1f9)](),_0x3ebd8a=await createTDXInstance(_0x9f8ab4),_0x42c5ce=await _0x399ad1[_0x39902e(0x33b)]({'options':{..._0x9f8ab4,..._0x452f1d},'args':[_0x5c8563],'tdx':_0x3ebd8a});gracefulExit(_0x42c5ce);});program[a2_0x1ad8c3(0x2c1)]('claude\x20[args...]')[a2_0x1ad8c3(0x331)](a2_0x1ad8c3(0x349))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2ad))[a2_0x1ad8c3(0x367)]('-c,\x20--continue',a2_0x1ad8c3(0x2f5))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x342),a2_0x1ad8c3(0x22a))[a2_0x1ad8c3(0x367)]('--no-proxy',a2_0x1ad8c3(0x288))[a2_0x1ad8c3(0x15e)]()['allowExcessArguments'](!![])[a2_0x1ad8c3(0x2a3)]('after',a2_0x1ad8c3(0x29b))[a2_0x1ad8c3(0x296)](async(_0x38310b,_0x3b6dc5)=>{const _0x3eef3b=a2_0x1ad8c3,_0x24d9ce=program['opts'](),_0x36a51c=Array[_0x3eef3b(0x209)](_0x38310b)?_0x38310b:[];if(_0x36a51c[0x0]===_0x3eef3b(0x360)){const _0x3ed61f=new ClaudeStatuslineCommand(),_0x422d98=await _0x3ed61f[_0x3eef3b(0x33b)]({'options':{..._0x24d9ce,..._0x3b6dc5},'args':_0x36a51c[_0x3eef3b(0x2a5)](0x1),'tdx':null});gracefulExit(_0x422d98);}if(_0x36a51c[0x0]==='usage'){const _0x205451=new ClaudeUsageCommand(),_0x52bbf3=await _0x205451[_0x3eef3b(0x33b)]({'options':{..._0x24d9ce,..._0x3b6dc5},'args':_0x36a51c[_0x3eef3b(0x2a5)](0x1),'tdx':null});gracefulExit(_0x52bbf3);}const _0x485431=new ClaudeCommand(),_0x48f115=await createTDXInstance(_0x24d9ce),_0x88553=await _0x485431[_0x3eef3b(0x33b)]({'options':{..._0x24d9ce,..._0x3b6dc5},'args':_0x36a51c,'tdx':_0x48f115});gracefulExit(_0x88553);}),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x35e))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x396))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2dc),a2_0x1ad8c3(0x1c2))['option'](a2_0x1ad8c3(0x340),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['action'](async(_0xfd49d6,_0x56b379,_0x864ea1)=>{const _0x476bb5=a2_0x1ad8c3,_0x2cfa1e=new UseCommand(),_0x5e0911=program[_0x476bb5(0x1f9)](),_0x2f798a=[];if(_0xfd49d6)_0x2f798a[_0x476bb5(0x257)](_0xfd49d6);if(_0x56b379)_0x2f798a[_0x476bb5(0x257)](_0x56b379);const _0x48a9ee=await _0x2cfa1e[_0x476bb5(0x33b)]({'options':{..._0x5e0911,..._0x864ea1},'args':_0x2f798a,'tdx':null});gracefulExit(_0x48a9ee);}),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x226))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2ba))[a2_0x1ad8c3(0x296)](async _0x3d4e8e=>{const _0x43fb42=a2_0x1ad8c3,_0xc0c5d3=new StatusCommand(),_0x53e3db=program[_0x43fb42(0x1f9)](),_0x30fb7a=await createTDXInstance(_0x53e3db),_0x4fade0=await _0xc0c5d3[_0x43fb42(0x33b)]({'options':{..._0x53e3db,..._0x3d4e8e},'args':[],'tdx':_0x30fb7a});gracefulExit(_0x4fade0);}),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1f4))['description'](a2_0x1ad8c3(0x3bd))['option'](a2_0x1ad8c3(0x340),a2_0x1ad8c3(0x2e4))['action'](async(_0x4b8e7f,_0x49873f)=>{const _0x14d6ba=a2_0x1ad8c3,_0x17a2c5=new UnsetCommand(),_0xf9a762=program[_0x14d6ba(0x1f9)](),_0x2fc1df=await _0x17a2c5[_0x14d6ba(0x33b)]({'options':{..._0xf9a762,..._0x49873f},'args':[_0x4b8e7f],'tdx':null});gracefulExit(_0x2fc1df);}),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x3a4))['description'](a2_0x1ad8c3(0x172))[a2_0x1ad8c3(0x367)]('--last','Show\x20the\x20most\x20recent\x20chat')['action'](async _0xdf6956=>{const _0x654dd6=a2_0x1ad8c3,_0x338959=new ChatsCommand(),_0x1c511f=program[_0x654dd6(0x1f9)](),_0x334af1=await createTDXInstance(_0x1c511f),_0x1faf0b=await _0x338959[_0x654dd6(0x33b)]({'options':{..._0x1c511f,..._0xdf6956},'args':[],'tdx':_0x334af1});gracefulExit(_0x1faf0b);});const authCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1d5))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x212));async function runAuthStatusCommand(_0x2188bc){const _0x31124c=a2_0x1ad8c3,_0x116088=new AuthStatusCommand(),_0x36dd7d=program['opts'](),_0x2a9610=await createTDXInstance(_0x36dd7d),_0x170b7e=await _0x116088[_0x31124c(0x33b)]({'options':{..._0x36dd7d,..._0x2188bc},'args':[],'tdx':_0x2a9610});gracefulExit(_0x170b7e);}authCmd[a2_0x1ad8c3(0x296)](runAuthStatusCommand),authCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x226))['description'](a2_0x1ad8c3(0x16c))[a2_0x1ad8c3(0x296)](runAuthStatusCommand),authCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x260))['description'](a2_0x1ad8c3(0x17f))[a2_0x1ad8c3(0x2a3)](a2_0x1ad8c3(0x1fd),a2_0x1ad8c3(0x2b6))[a2_0x1ad8c3(0x296)](async _0x2e098d=>{const _0xf097fa=a2_0x1ad8c3,_0x37768a=new AuthSetupCommand(),_0x4357f2=program[_0xf097fa(0x1f9)](),_0x4b9650=await createTDXInstance(_0x4357f2),_0x322354=await _0x37768a[_0xf097fa(0x33b)]({'options':{..._0x4357f2,..._0x2e098d},'args':[],'tdx':_0x4b9650});gracefulExit(_0x322354);}),authCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x335))['description']('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x1ad8c3(0x1fd),a2_0x1ad8c3(0x2c6))[a2_0x1ad8c3(0x296)](async _0x567be0=>{const _0x44eaec=a2_0x1ad8c3,_0x36249d=new AuthClearCommand(),_0x2b191b=program['opts'](),_0x1798d2=await _0x36249d[_0x44eaec(0x33b)]({'options':{..._0x2b191b,..._0x567be0},'args':[],'tdx':null});gracefulExit(_0x1798d2);});const userCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x3c4))['description']('User\x20management\x20commands'),userListAction=async _0x336228=>{const _0x378b6b=a2_0x1ad8c3,_0x2069f2=new UserListCommand(),_0x321446=program[_0x378b6b(0x1f9)](),_0x34aac2=await createTDXInstance(_0x321446),_0x186f2c=await _0x2069f2[_0x378b6b(0x33b)]({'options':{..._0x321446,..._0x336228},'args':[],'tdx':_0x34aac2});gracefulExit(_0x186f2c);};userCmd['action'](async _0x26438c=>{const _0x594b5d=a2_0x1ad8c3,_0x373b68=new UserCommand(),_0x51e80b=program[_0x594b5d(0x1f9)](),_0x40ed54=await createTDXInstance(_0x51e80b),_0x5ed22b=await _0x373b68[_0x594b5d(0x33b)]({'options':{..._0x51e80b,..._0x26438c},'args':[],'tdx':_0x40ed54});gracefulExit(_0x5ed22b);}),userCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x162))['description'](a2_0x1ad8c3(0x312))['action'](userListAction),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x271))['description'](a2_0x1ad8c3(0x183))['action'](userListAction),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x38c))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x363))[a2_0x1ad8c3(0x296)](async _0x5d27cb=>{const _0x6ad844=a2_0x1ad8c3,_0xa75f5d=new ProfilesCommand(),_0x32a3ca=program[_0x6ad844(0x1f9)](),_0x3e499b=await _0xa75f5d[_0x6ad844(0x33b)]({'options':{..._0x32a3ca,..._0x5d27cb},'args':[],'tdx':null});gracefulExit(_0x3e499b);});const profileCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x27b))['description'](a2_0x1ad8c3(0x313));profileCmd['action'](()=>{const _0x550444=a2_0x1ad8c3;profileCmd[_0x550444(0x37c)]();});const profileListAction=async _0x3cdb3c=>{const _0x1866ce=a2_0x1ad8c3,_0x2d962f=new ProfilesCommand(),_0x5e7fd2=program[_0x1866ce(0x1f9)](),_0x49dedd=await _0x2d962f[_0x1866ce(0x33b)]({'options':{..._0x5e7fd2,..._0x3cdb3c},'args':[],'tdx':null});gracefulExit(_0x49dedd);};profileCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x162))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x363))[a2_0x1ad8c3(0x296)](profileListAction),profileCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x25f))[a2_0x1ad8c3(0x229)]('Create\x20a\x20new\x20profile')[a2_0x1ad8c3(0x2a3)]('after',a2_0x1ad8c3(0x1f0))['action'](async(_0x7efa3e,_0x33a2b2)=>{const _0x110b8a=a2_0x1ad8c3,_0x30f9b8=new ProfileCreateCommand(),_0x382c24=program[_0x110b8a(0x1f9)](),_0x21ea7b=await _0x30f9b8[_0x110b8a(0x33b)]({'options':{..._0x382c24,..._0x33a2b2},'args':_0x7efa3e?[_0x7efa3e]:[],'tdx':null});gracefulExit(_0x21ea7b);}),profileCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1ff))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x207))[a2_0x1ad8c3(0x2a3)](a2_0x1ad8c3(0x1fd),a2_0x1ad8c3(0x1aa))['action'](async(_0x527b70,_0x1c8d6d)=>{const _0x177f1d=a2_0x1ad8c3,_0x3e1cbf=new ProfileRemoveCommand(),_0x9b076f=program[_0x177f1d(0x1f9)](),_0x3641c6=await _0x3e1cbf['run']({'options':{..._0x9b076f,..._0x1c8d6d},'args':[_0x527b70],'tdx':null});gracefulExit(_0x3641c6);}),profileCmd[a2_0x1ad8c3(0x2c1)]('set\x20<key=value>')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1c5))[a2_0x1ad8c3(0x2a3)](a2_0x1ad8c3(0x1fd),'\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')[a2_0x1ad8c3(0x296)](async(_0x1bae80,_0x6a54e3)=>{const _0x4006e7=a2_0x1ad8c3,_0xc8ed4d=new ProfileSetCommand(),_0xd1c46e=program[_0x4006e7(0x1f9)](),_0x155d11=await _0xc8ed4d[_0x4006e7(0x33b)]({'options':{..._0xd1c46e,..._0x6a54e3},'args':[_0x1bae80],'tdx':null});gracefulExit(_0x155d11);}),profileCmd[a2_0x1ad8c3(0x2c1)]('use\x20<name>')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x39e))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x340),a2_0x1ad8c3(0x2b5))[a2_0x1ad8c3(0x2a3)](a2_0x1ad8c3(0x1fd),'\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')['action'](async(_0x476efb,_0x413793)=>{const _0xe1f4a=a2_0x1ad8c3,_0x534e73=new ProfileUseCommand(),_0x3f914f=program[_0xe1f4a(0x1f9)](),_0x5fe650=await _0x534e73[_0xe1f4a(0x33b)]({'options':{..._0x3f914f,..._0x413793},'args':[_0x476efb],'tdx':null});gracefulExit(_0x5fe650);});const engageCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x19b))[a2_0x1ad8c3(0x229)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x77a1a9=>{return async(_0x3b89d9,_0x251a5d)=>{const _0x5597ca=a2_0x545c,_0x23bdfc=new _0x77a1a9(),_0x3c3774=program[_0x5597ca(0x1f9)](),_0x41e955=await createTDXInstance(_0x3c3774),_0x327a1f=await _0x23bdfc[_0x5597ca(0x33b)]({'options':{..._0x3c3774,..._0x251a5d},'args':[_0x3b89d9],'tdx':_0x41e955});gracefulExit(_0x327a1f);};},createEngageNoArgAction=_0x472ff2=>{return async _0x518453=>{const _0x1817a=a2_0x545c,_0x2c7d99=new _0x472ff2(),_0x2915cf=program[_0x1817a(0x1f9)](),_0x472942=await createTDXInstance(_0x2915cf),_0x814503=await _0x2c7d99[_0x1817a(0x33b)]({'options':{..._0x2915cf,..._0x518453},'args':[],'tdx':_0x472942});gracefulExit(_0x814503);};},campaignCmd=engageCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1c7))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x30c)),campaignListAction=async(_0x30664d,_0x56f0a9)=>{const _0xdb72=a2_0x1ad8c3,_0x116924=new EngageCampaignsCommand(),_0x341d76=program[_0xdb72(0x1f9)](),_0x8ee4e6=await createTDXInstance(_0x341d76),_0x1d178a=await _0x116924[_0xdb72(0x33b)]({'options':{..._0x341d76,..._0x56f0a9},'args':_0x30664d?[_0x30664d]:[],'tdx':_0x8ee4e6});gracefulExit(_0x1d178a);};campaignCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1cf))[a2_0x1ad8c3(0x229)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x1ad8c3(0x367)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option']('--status\x20<status>',a2_0x1ad8c3(0x30b))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x296)](campaignListAction),engageCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x29d))['description'](a2_0x1ad8c3(0x2cf))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x19e),a2_0x1ad8c3(0x2f0))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x38f),a2_0x1ad8c3(0x30b))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x296)](campaignListAction),campaignCmd['command'](a2_0x1ad8c3(0x2d8))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x33f))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x185),a2_0x1ad8c3(0x369))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1e3))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1b0))[a2_0x1ad8c3(0x3b3)](a2_0x1ad8c3(0x332),'Campaign\x20name')[a2_0x1ad8c3(0x3b3)](a2_0x1ad8c3(0x19e),a2_0x1ad8c3(0x18f))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1dd))['option'](a2_0x1ad8c3(0x2ae),a2_0x1ad8c3(0x1af))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2a8),a2_0x1ad8c3(0x230))['option']('--email-sender-id\x20<id>',a2_0x1ad8c3(0x186))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2d5),a2_0x1ad8c3(0x2da))[a2_0x1ad8c3(0x367)]('--start-at\x20<datetime>',a2_0x1ad8c3(0x3cb))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3b5),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x1ad8c3(0x296)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x33d))[a2_0x1ad8c3(0x229)]('Update\x20a\x20campaign')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x332),'New\x20campaign\x20name')[a2_0x1ad8c3(0x367)]('--description\x20<desc>','Campaign\x20description')[a2_0x1ad8c3(0x367)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option'](a2_0x1ad8c3(0x1db),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2d5),a2_0x1ad8c3(0x2da))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x23b),a2_0x1ad8c3(0x3cb))[a2_0x1ad8c3(0x367)]('--timezone\x20<tz>',a2_0x1ad8c3(0x370))[a2_0x1ad8c3(0x296)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command']('delete\x20<name-or-id>')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x22e))['option'](a2_0x1ad8c3(0x2e6),'Workspace\x20name')['option'](a2_0x1ad8c3(0x3c5),a2_0x1ad8c3(0x18b))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x1ad8c3(0x268))[a2_0x1ad8c3(0x229)]('Launch\x20a\x20campaign')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),'Workspace\x20name')[a2_0x1ad8c3(0x296)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x196))['description'](a2_0x1ad8c3(0x2e5))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x296)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x29a))['description'](a2_0x1ad8c3(0x21c))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x296)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1c9))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x376))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x296)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x1ad8c3(0x2c1)]('template')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x191)),templateListAction=async(_0xa78cbb,_0xd44e76)=>{const _0x21ad8e=a2_0x1ad8c3,_0x13d159=new EngageTemplatesCommand(),_0x1d747a=program[_0x21ad8e(0x1f9)](),_0x24fb8b=await createTDXInstance(_0x1d747a),_0x32f0c2=await _0x13d159[_0x21ad8e(0x33b)]({'options':{..._0x1d747a,..._0xd44e76},'args':_0xa78cbb?[_0xa78cbb]:[],'tdx':_0x24fb8b});gracefulExit(_0x32f0c2);};templateCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1cf))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x210))['option'](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x296)](templateListAction),engageCmd['command'](a2_0x1ad8c3(0x291))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3a5))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),'Workspace\x20name')['action'](templateListAction),templateCmd['command'](a2_0x1ad8c3(0x2d8))[a2_0x1ad8c3(0x229)]('Show\x20email\x20template\x20details')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))['option']('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x1ad8c3(0x296)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1e3))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1a3))['requiredOption'](a2_0x1ad8c3(0x332),a2_0x1ad8c3(0x37a))[a2_0x1ad8c3(0x3b3)](a2_0x1ad8c3(0x198),a2_0x1ad8c3(0x275))[a2_0x1ad8c3(0x3b3)](a2_0x1ad8c3(0x2cb),'HTML\x20template\x20content')['option'](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1dd))['option']('--plaintext\x20<text>',a2_0x1ad8c3(0x341))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1a4),'Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)',_0x4937f2=>{const _0x112875=a2_0x1ad8c3;if(![_0x112875(0x337),_0x112875(0x32a)][_0x112875(0x25b)](_0x4937f2))throw new SDKError(ErrorCode[_0x112875(0x1bc)],_0x112875(0x323)+_0x4937f2+_0x112875(0x242));return _0x4937f2;})[a2_0x1ad8c3(0x296)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x33d))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x184))['option'](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x332),a2_0x1ad8c3(0x34d))['option'](a2_0x1ad8c3(0x198),a2_0x1ad8c3(0x275))['option'](a2_0x1ad8c3(0x2cb),'HTML\x20template\x20content')[a2_0x1ad8c3(0x367)]('--plaintext\x20<text>',a2_0x1ad8c3(0x341))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x161))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1dc))['option'](a2_0x1ad8c3(0x2e6),a2_0x1ad8c3(0x1d9))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3c5),a2_0x1ad8c3(0x18b))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x1ad8c3(0x38e))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x31d)),workspaceListAction=async(_0x4d8887,_0x4d300d)=>{const _0x37f1de=a2_0x1ad8c3,_0x1ca05e=new EngageWorkspacesCommand(),_0x165dc2=program['opts'](),_0x4305ed=await createTDXInstance(_0x165dc2),_0x219640=await _0x1ca05e[_0x37f1de(0x33b)]({'options':{..._0x165dc2,..._0x4d300d},'args':_0x4d8887?[_0x4d8887]:[],'tdx':_0x4305ed});gracefulExit(_0x219640);};workspaceCmd['command']('list\x20[pattern]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x380))[a2_0x1ad8c3(0x296)](workspaceListAction),engageCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1a2))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x276))[a2_0x1ad8c3(0x296)](workspaceListAction),workspaceCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2d8))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x1c3))['option']('--full',a2_0x1ad8c3(0x369))[a2_0x1ad8c3(0x296)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1e3))[a2_0x1ad8c3(0x229)]('Create\x20a\x20workspace')[a2_0x1ad8c3(0x3b3)](a2_0x1ad8c3(0x332),'Workspace\x20name')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2ae),a2_0x1ad8c3(0x2be))[a2_0x1ad8c3(0x296)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x33d))[a2_0x1ad8c3(0x229)]('Update\x20a\x20workspace')[a2_0x1ad8c3(0x367)]('--name\x20<name>',a2_0x1ad8c3(0x320))['option'](a2_0x1ad8c3(0x2ae),a2_0x1ad8c3(0x2be))[a2_0x1ad8c3(0x296)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x161))[a2_0x1ad8c3(0x229)]('Delete\x20a\x20workspace')['option'](a2_0x1ad8c3(0x3c5),'Skip\x20confirmation\x20prompt')['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x381))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x387))[a2_0x1ad8c3(0x296)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x238))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x28d)),connectionListAction=async _0x367ae5=>{const _0x18e8c5=a2_0x1ad8c3,_0x19ccac=new ConnectionListCommand(),_0x3efe39=program[_0x18e8c5(0x1f9)](),_0x269e2f=await createTDXInstance(_0x3efe39),_0x157fef=await _0x19ccac[_0x18e8c5(0x33b)]({'options':{..._0x3efe39,..._0x367ae5},'args':[],'tdx':_0x269e2f});gracefulExit(_0x157fef);};connectionCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x162))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x190))[a2_0x1ad8c3(0x296)](connectionListAction),program['command'](a2_0x1ad8c3(0x351),{'hidden':!![]})[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x2d2))[a2_0x1ad8c3(0x296)](connectionListAction),connectionCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2c3))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x18a))[a2_0x1ad8c3(0x296)](async(_0x5a744a,_0x35f061)=>{const _0x5ee71b=new ConnectionShowCommand(),_0x1557a=program['opts'](),_0x5bfc4a=await createTDXInstance(_0x1557a),_0x213725=await _0x5ee71b['run']({'options':{..._0x1557a,..._0x35f061},'args':[_0x5a744a],'tdx':_0x5bfc4a});gracefulExit(_0x213725);}),connectionCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x36d))[a2_0x1ad8c3(0x229)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x1ad8c3(0x296)](async(_0x9c9f01,_0x3b348c)=>{const _0x4c6976=a2_0x1ad8c3,_0x3922a2=new ConnectionSchemaCommand(),_0x2d2b43=program[_0x4c6976(0x1f9)](),_0x344d4d=await createTDXInstance(_0x2d2b43),_0x2f7e74=await _0x3922a2['run']({'options':{..._0x2d2b43,..._0x3b348c},'args':[_0x9c9f01],'tdx':_0x344d4d});gracefulExit(_0x2f7e74);}),connectionCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1f1))[a2_0x1ad8c3(0x229)]('List\x20available\x20connector\x20types')[a2_0x1ad8c3(0x296)](async _0x48013b=>{const _0xce1a25=a2_0x1ad8c3,_0x43a0c1=new ConnectionTypesCommand(),_0x4de4a0=program[_0xce1a25(0x1f9)](),_0x16ecfc=await createTDXInstance(_0x4de4a0),_0x18860b=await _0x43a0c1['run']({'options':{..._0x4de4a0,..._0x48013b},'args':[],'tdx':_0x16ecfc});gracefulExit(_0x18860b);}),connectionCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x392))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3a9))[a2_0x1ad8c3(0x296)](async(_0x27d73c,_0x1106ec)=>{const _0x4377a9=a2_0x1ad8c3,_0x5e2bfc=new ConnectionSettingsCommand(),_0x41647e=program[_0x4377a9(0x1f9)](),_0x38a2f3=await createTDXInstance(_0x41647e),_0x5067d9=await _0x5e2bfc[_0x4377a9(0x33b)]({'options':{..._0x41647e,..._0x1106ec},'args':[_0x27d73c],'tdx':_0x38a2f3});gracefulExit(_0x5067d9);});const journeyCmd=program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x359))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x328)),journeyListAction=async(_0x57b6dd,_0x1ab388)=>{const _0x5afe39=a2_0x1ad8c3,_0x24def6=new JourneyListCommand(),_0x568d04=program[_0x5afe39(0x1f9)](),_0x38fb55=await createTDXInstance(_0x568d04),_0x1943ec=await _0x24def6[_0x5afe39(0x33b)]({'options':{..._0x568d04,..._0x1ab388},'args':_0x57b6dd?[_0x57b6dd]:[],'tdx':_0x38fb55});gracefulExit(_0x1943ec);};journeyCmd['command']('list\x20[pattern]')['description'](a2_0x1ad8c3(0x2c7))['action'](journeyListAction),journeyCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x23c))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x234))['option'](a2_0x1ad8c3(0x2b8),a2_0x1ad8c3(0x3b1))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3c7),a2_0x1ad8c3(0x188))['action'](async(_0xd93033,_0x4c1c3f)=>{const _0x4cf081=a2_0x1ad8c3,_0x28e2b9=new JourneyViewCommand(),_0x80f5eb=program[_0x4cf081(0x1f9)](),_0x59665c=await createTDXInstance(_0x80f5eb),_0x4e7de6=await _0x28e2b9[_0x4cf081(0x33b)]({'options':{..._0x80f5eb,..._0x4c1c3f},'args':[_0xd93033],'tdx':_0x59665c});gracefulExit(_0x4e7de6);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x1ad8c3(0x229)]('Show\x20journey\x20statistics')[a2_0x1ad8c3(0x367)]('--stage\x20<name>',a2_0x1ad8c3(0x310))[a2_0x1ad8c3(0x296)](async(_0x4c16d4,_0x373ccc)=>{const _0x3da821=a2_0x1ad8c3,_0x464b60=new JourneyStatsCommand(),_0x167c65=program[_0x3da821(0x1f9)](),_0x221ac7=await createTDXInstance(_0x167c65),_0x2f897c=await _0x464b60[_0x3da821(0x33b)]({'options':{..._0x167c65,..._0x373ccc},'args':[_0x4c16d4],'tdx':_0x221ac7});gracefulExit(_0x2f897c);}),journeyCmd['command'](a2_0x1ad8c3(0x3aa))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x399))[a2_0x1ad8c3(0x296)](async(_0x5113e6,_0x2a097e)=>{const _0x586b34=a2_0x1ad8c3,_0x5d027f=new JourneyPauseCommand(),_0x1dc046=program['opts'](),_0x425a74=await createTDXInstance(_0x1dc046),_0x412797=await _0x5d027f[_0x586b34(0x33b)]({'options':{..._0x1dc046,..._0x2a097e},'args':[_0x5113e6],'tdx':_0x425a74});gracefulExit(_0x412797);}),journeyCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x293))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x20e))['action'](async(_0x577e47,_0x320013)=>{const _0x1b4070=a2_0x1ad8c3,_0x1cb343=new JourneyResumeCommand(),_0x5506ce=program['opts'](),_0x3376fb=await createTDXInstance(_0x5506ce),_0x97089a=await _0x1cb343[_0x1b4070(0x33b)]({'options':{..._0x5506ce,..._0x320013},'args':[_0x577e47],'tdx':_0x3376fb});gracefulExit(_0x97089a);}),journeyCmd['command'](a2_0x1ad8c3(0x379))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x352))['option'](a2_0x1ad8c3(0x316),'Skip\x20confirmation\x20prompt')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2b3),a2_0x1ad8c3(0x287))[a2_0x1ad8c3(0x296)](async(_0x315e01,_0x48b7e8)=>{const _0x1d99e4=a2_0x1ad8c3,_0x52c8b6=new JourneyPullCommand(),_0x4154fc=program[_0x1d99e4(0x1f9)](),_0x13fe90=await createTDXInstance(_0x4154fc),_0x36a5a0=await _0x52c8b6['run']({'options':{..._0x4154fc,..._0x48b7e8},'args':_0x315e01?[_0x315e01]:[],'tdx':_0x13fe90});gracefulExit(_0x36a5a0);}),journeyCmd['command']('push\x20[target]')['description'](a2_0x1ad8c3(0x21d))['action'](async(_0x5f0b65,_0x4d9f41)=>{const _0x3c84b1=a2_0x1ad8c3,_0x72060d=new JourneyPushCommand(),_0x343ec8=program[_0x3c84b1(0x1f9)](),_0xb2e2bf=await createTDXInstance(_0x343ec8),_0x5ed545=await _0x72060d['run']({'options':{..._0x343ec8,..._0x4d9f41},'args':_0x5f0b65?[_0x5f0b65]:[],'tdx':_0xb2e2bf});gracefulExit(_0x5ed545);}),journeyCmd[a2_0x1ad8c3(0x2c1)]('validate\x20[target]')[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x197))[a2_0x1ad8c3(0x296)](async(_0x33c148,_0x4ed70d)=>{const _0xacf2cb=a2_0x1ad8c3,_0x4858c5=new JourneyValidateCommand(),_0x449c59=program['opts'](),_0x2e2dff=await createTDXInstance(_0x449c59),_0x4a01ba=await _0x4858c5[_0xacf2cb(0x33b)]({'options':{..._0x449c59,..._0x4ed70d},'args':_0x33c148?[_0x33c148]:[],'tdx':_0x2e2dff});gracefulExit(_0x4a01ba);}),program[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2f6))['description']('List\x20journeys\x20(alias\x20for\x20journey\x20list)')['action'](journeyListAction);function a2_0x545c(_0x15e3be,_0x1f7510){_0x15e3be=_0x15e3be-0x15a;const _0x44472e=a2_0x4447();let _0x545c83=_0x44472e[_0x15e3be];return _0x545c83;}const agentSyncCmd=program[a2_0x1ad8c3(0x2c1)]('agent')['description'](a2_0x1ad8c3(0x294));agentSyncCmd['command'](a2_0x1ad8c3(0x25a))[a2_0x1ad8c3(0x229)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x39c),a2_0x1ad8c3(0x329))['option'](a2_0x1ad8c3(0x3ce),a2_0x1ad8c3(0x279))[a2_0x1ad8c3(0x296)](async(_0x295d76,_0x4bb923,_0x135fc1)=>{const _0x19e7e4=a2_0x1ad8c3,_0x429ccf=new AgentPullCommand(),_0x14cae2=program[_0x19e7e4(0x1f9)](),_0x29bdd7=await createTDXInstance(_0x14cae2),_0x2ea863=[];if(_0x295d76)_0x2ea863[_0x19e7e4(0x257)](_0x295d76);if(_0x4bb923)_0x2ea863[_0x19e7e4(0x257)](_0x4bb923);const _0x2a31ad=await _0x429ccf[_0x19e7e4(0x33b)]({'options':{..._0x14cae2,..._0x135fc1},'args':_0x2ea863,'tdx':_0x29bdd7});gracefulExit(_0x2a31ad);}),agentSyncCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x248))[a2_0x1ad8c3(0x229)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3ce),a2_0x1ad8c3(0x1e0))[a2_0x1ad8c3(0x296)](async(_0x41bc43,_0xc2cd8a)=>{const _0x53f261=a2_0x1ad8c3,_0x4e9c7a=new AgentPushCommand(),_0x3c7723=program[_0x53f261(0x1f9)](),_0x1ae668=await createTDXInstance(_0x3c7723),_0x328cc4=await _0x4e9c7a[_0x53f261(0x33b)]({'options':{..._0x3c7723,..._0xc2cd8a},'args':_0x41bc43?[_0x41bc43]:[],'tdx':_0x1ae668});gracefulExit(_0x328cc4);}),agentSyncCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2a9))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x3c0))['option'](a2_0x1ad8c3(0x2ea),a2_0x1ad8c3(0x382))[a2_0x1ad8c3(0x296)](async(_0x1bcb70,_0x326679)=>{const _0x31fd46=a2_0x1ad8c3,_0x1f780e=new AgentCloneCommand(),_0x43732e=program[_0x31fd46(0x1f9)](),_0x10c30b=await createTDXInstance(_0x43732e),_0x464d62=await _0x1f780e[_0x31fd46(0x33b)]({'options':{..._0x43732e,..._0x326679},'args':_0x1bcb70?[_0x1bcb70]:[],'tdx':_0x10c30b});gracefulExit(_0x464d62);}),agentSyncCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x344))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x201))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x314),a2_0x1ad8c3(0x20d))[a2_0x1ad8c3(0x367)]('--tags\x20<tags>',a2_0x1ad8c3(0x336))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x2b3),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x1ad8c3(0x367)]('--no-eval','Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x1ad8c3(0x367)]('--reeval',a2_0x1ad8c3(0x3d2))[a2_0x1ad8c3(0x296)](async(_0x197532,_0x4a094a)=>{const _0x43073c=a2_0x1ad8c3,_0x31bcb4=new AgentTestCommand(),_0x332bf2=program['opts'](),_0x5218a1=await createTDXInstance(_0x332bf2),_0x370e47=await _0x31bcb4[_0x43073c(0x33b)]({'options':{..._0x332bf2,..._0x4a094a},'args':_0x197532?[_0x197532]:[],'tdx':_0x5218a1});gracefulExit(_0x370e47);}),agentSyncCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x1cf))['description']('List\x20agents\x20in\x20current\x20project')['action'](llmAgentListAction),agentSyncCmd[a2_0x1ad8c3(0x2c1)]('show\x20<agent-name>')[a2_0x1ad8c3(0x229)]('Show\x20agent\x20details')['action'](async(_0x355a76,_0x384495)=>{const _0x92fc6e=a2_0x1ad8c3,_0x97ded2=new LLMAgentShowCommand(),_0x1718e8=program[_0x92fc6e(0x1f9)](),_0x47cd2c=await createTDXInstance(_0x1718e8),_0x228fd3=await _0x97ded2[_0x92fc6e(0x33b)]({'options':{..._0x1718e8,..._0x384495},'args':[_0x355a76],'tdx':_0x47cd2c});gracefulExit(_0x228fd3);}),agentSyncCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x189))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x17d))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x215),a2_0x1ad8c3(0x2fc))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x1b9),a2_0x1ad8c3(0x29e),a2_0x1ad8c3(0x325))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x31e),a2_0x1ad8c3(0x304))['option'](a2_0x1ad8c3(0x24f),a2_0x1ad8c3(0x2c4),'4')[a2_0x1ad8c3(0x367)]('--temperature\x20<n>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','0.7')[a2_0x1ad8c3(0x296)](async(_0x4a68c1,_0x2850bf)=>{const _0x199f44=a2_0x1ad8c3,_0x2111f4=new LLMAgentCreateCommand(),_0x38324e=program[_0x199f44(0x1f9)](),_0x1b9c64=await createTDXInstance(_0x38324e),_0x8767d2=await _0x2111f4[_0x199f44(0x33b)]({'options':{..._0x38324e,..._0x2850bf},'args':[_0x4a68c1],'tdx':_0x1b9c64});gracefulExit(_0x8767d2);}),agentSyncCmd[a2_0x1ad8c3(0x2c1)](a2_0x1ad8c3(0x2f7))[a2_0x1ad8c3(0x229)](a2_0x1ad8c3(0x386))['option']('--name\x20<text>',a2_0x1ad8c3(0x270))['option'](a2_0x1ad8c3(0x378),a2_0x1ad8c3(0x1e8))[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x3d6),'Agent\x20description')[a2_0x1ad8c3(0x367)](a2_0x1ad8c3(0x31e),a2_0x1ad8c3(0x304))['action'](async(_0x7453a4,_0x5e20ea)=>{const _0x2c6f86=a2_0x1ad8c3,_0x51516a=new LLMAgentUpdateCommand(),_0x22acd8=program['opts'](),_0x1d5155=await createTDXInstance(_0x22acd8),_0x90d1dc=await _0x51516a[_0x2c6f86(0x33b)]({'options':{..._0x22acd8,..._0x5e20ea},'args':[_0x7453a4],'tdx':_0x1d5155});gracefulExit(_0x90d1dc);}),agentSyncCmd['command']('delete\x20<agent-name>')['description'](a2_0x1ad8c3(0x15a))[a2_0x1ad8c3(0x296)](async(_0x2c9540,_0x125937)=>{const _0x551ee1=a2_0x1ad8c3,_0x262ed6=new LLMAgentDeleteCommand(),_0x28de88=program[_0x551ee1(0x1f9)](),_0x28c7c0=await createTDXInstance(_0x28de88),_0x489eea=await _0x262ed6[_0x551ee1(0x33b)]({'options':{..._0x28de88,..._0x125937},'args':[_0x2c9540],'tdx':_0x28c7c0});gracefulExit(_0x489eea);});export{program};export function runCLI(){const _0xed9588=a2_0x1ad8c3,_0x1cbe90=!process[_0xed9588(0x371)][_0xed9588(0x2a5)](0x2)[_0xed9588(0x17c)];showBriefHelp=_0x1cbe90,program[_0xed9588(0x32b)](process[_0xed9588(0x371)]);_0x1cbe90&&program[_0xed9588(0x37c)]();if(process['stderr']['isTTY']&&process[_0xed9588(0x371)][_0xed9588(0x17c)]>0x2&&!isDevVersion()){const _0x3ecfc5=loadReleaseChannel();checkForUpdate(currentVersion,_0x3ecfc5)[_0xed9588(0x3b8)](_0x17adb5=>{_0x17adb5&&displayUpdateNotification(_0x17adb5);})[_0xed9588(0x1f3)](()=>{});}}
|
|
1
|
+
const a2_0x29f913=a2_0x4297;(function(_0x1f3669,_0xe4b079){const _0x5afdce=a2_0x4297,_0x2b2c04=_0x1f3669();while(!![]){try{const _0x2dea89=-parseInt(_0x5afdce(0x1bb))/0x1+parseInt(_0x5afdce(0x15e))/0x2+parseInt(_0x5afdce(0x244))/0x3*(parseInt(_0x5afdce(0x1c8))/0x4)+-parseInt(_0x5afdce(0x1a5))/0x5*(-parseInt(_0x5afdce(0x2fd))/0x6)+-parseInt(_0x5afdce(0x32e))/0x7*(parseInt(_0x5afdce(0x209))/0x8)+parseInt(_0x5afdce(0x1a1))/0x9*(parseInt(_0x5afdce(0x1ed))/0xa)+parseInt(_0x5afdce(0x20f))/0xb;if(_0x2dea89===_0xe4b079)break;else _0x2b2c04['push'](_0x2b2c04['shift']());}catch(_0x39f265){_0x2b2c04['push'](_0x2b2c04['shift']());}}}(a2_0x11b2,0xba0cf));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_0x29f913(0x205)][a2_0x29f913(0x147)](a2_0x29f913(0x128))){let versionOutput=a2_0x29f913(0x19a)+currentVersion;buildInfo[a2_0x29f913(0x212)]&&!currentVersion['includes'](buildInfo[a2_0x29f913(0x212)])&&(versionOutput+='\x20('+buildInfo[a2_0x29f913(0x212)]+')'),buildInfo[a2_0x29f913(0x1e5)]&&(versionOutput+=a2_0x29f913(0x178)+buildInfo['buildTime']),console[a2_0x29f913(0x1ec)](versionOutput),process['exit'](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x29f913(0x2d0);buildInfo['gitRevision']&&!currentVersion['includes'](buildInfo[a2_0x29f913(0x212)])?description+=a2_0x29f913(0x11e)+currentVersion+'\x20('+buildInfo[a2_0x29f913(0x212)]+')':description+=',\x20version\x20'+currentVersion;program['name'](a2_0x29f913(0x2ad))[a2_0x29f913(0x29c)](description),program['option'](a2_0x29f913(0x30e),a2_0x29f913(0x121))[a2_0x29f913(0x34e)](a2_0x29f913(0x33d),a2_0x29f913(0x227))[a2_0x29f913(0x34e)](a2_0x29f913(0x37e),a2_0x29f913(0x216),a2_0x29f913(0x234))[a2_0x29f913(0x34e)](a2_0x29f913(0x231),a2_0x29f913(0x2d1))[a2_0x29f913(0x34e)](a2_0x29f913(0x14c),a2_0x29f913(0x160))['option'](a2_0x29f913(0x35a),a2_0x29f913(0x374))[a2_0x29f913(0x34e)](a2_0x29f913(0x23e),a2_0x29f913(0x129))[a2_0x29f913(0x34e)](a2_0x29f913(0x143),a2_0x29f913(0x248))['option'](a2_0x29f913(0x203),'Save\x20output\x20to\x20file')[a2_0x29f913(0x34e)]('--limit\x20<number>',a2_0x29f913(0x2da))[a2_0x29f913(0x34e)](a2_0x29f913(0x14a),a2_0x29f913(0x31b),![])['option'](a2_0x29f913(0x11b),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x29f913(0x34e)](a2_0x29f913(0x2aa),a2_0x29f913(0x292),![])[a2_0x29f913(0x34e)](a2_0x29f913(0x295),a2_0x29f913(0x380))[a2_0x29f913(0x34e)]('--trace',a2_0x29f913(0x249))['option']('--timeout\x20<seconds>','Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x29f913(0x34e)](a2_0x29f913(0x1be),a2_0x29f913(0x2f8),![])[a2_0x29f913(0x34e)](a2_0x29f913(0x19e),a2_0x29f913(0x27e),![])[a2_0x29f913(0x34e)](a2_0x29f913(0x1e8),a2_0x29f913(0x257))['option'](a2_0x29f913(0x2e3),a2_0x29f913(0x1b7))['option'](a2_0x29f913(0x331),a2_0x29f913(0x302))[a2_0x29f913(0x34e)]('--parent-segment\x20<name>',a2_0x29f913(0x23d))[a2_0x29f913(0x34e)](a2_0x29f913(0x13c),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x29f913(0x1af)]({'formatHelp':(_0x3cbc67,_0x4c05f8)=>{const _0x4ef77b=a2_0x29f913,_0x366635=_0x4c05f8[_0x4ef77b(0x180)](_0x3cbc67,_0x4c05f8),_0x4a24eb=0x2,_0x590126=0x2;function _0x32611a(_0x24eef4){const _0x36ba5d=_0x4ef77b,_0x3b06cb=_0x24eef4;return!!(_0x3b06cb[_0x36ba5d(0x173)]||_0x3b06cb[_0x36ba5d(0x340)]);}function _0x72ec91(_0x3b7e2c,_0x916926){const _0x4b5d57=_0x4ef77b;if(_0x916926){const _0x316b7e=''+_0x3b7e2c[_0x4b5d57(0x12b)](_0x366635+_0x590126)+_0x916926;return _0x316b7e;}return _0x3b7e2c;}function _0x5e249f(_0x4952a2){const _0x1d2132=_0x4ef77b;return _0x4952a2[_0x1d2132(0x15a)]('\x0a')[_0x1d2132(0x2ef)](/^/gm,'\x20'[_0x1d2132(0x2c0)](_0x4a24eb));}const _0x5a6f37=[];_0x5a6f37['push'](_0x4ef77b(0x285)+_0x4c05f8[_0x4ef77b(0x327)](_0x3cbc67));const _0x48731c=_0x4c05f8[_0x4ef77b(0x2a8)](_0x3cbc67);_0x48731c&&(_0x5a6f37[_0x4ef77b(0x25d)](''),_0x5a6f37[_0x4ef77b(0x25d)](_0x48731c));const _0x489fa7=_0x3cbc67[_0x4ef77b(0x38c)][_0x4ef77b(0x260)](_0x28ed5b=>!_0x32611a(_0x28ed5b));if(_0x489fa7['length']>0x0){if(_0x3cbc67['name']()===_0x4ef77b(0x2ad)){const _0x232879=_0x3cbc67[_0x4ef77b(0x165)](),_0x1d9a98=!_0x232879['noColor']&&process[_0x4ef77b(0x1f1)][_0x4ef77b(0x156)],_0x194892=COMMAND_CATEGORIES,_0xca8036=(_0x2b842b,_0x42ece6)=>_0x1d9a98?_0x42ece6(_0x2b842b):_0x2b842b,_0x22f753=new Map();_0x489fa7[_0x4ef77b(0x273)](_0xe04428=>{const _0x2e8a7f=_0x4ef77b;_0x22f753['set'](_0xe04428[_0x2e8a7f(0x238)](),_0xe04428);}),_0x194892[_0x4ef77b(0x273)](_0xf88bf6=>{const _0x391ae1=_0x4ef77b,_0x4a3b07=_0xf88bf6[_0x391ae1(0x38c)]['flatMap'](_0x41a179=>_0x22f753[_0x391ae1(0x140)](_0x41a179)??[]);if(_0x4a3b07['length']>0x0){_0x5a6f37[_0x391ae1(0x25d)](''),_0x5a6f37[_0x391ae1(0x25d)](_0xca8036(_0xf88bf6[_0x391ae1(0x238)]+':',_0xf88bf6[_0x391ae1(0x30f)]));const _0x1bf5cc=_0x4a3b07[_0x391ae1(0x2d9)](_0x3c405d=>{const _0x55f542=_0x391ae1,_0x3533d2=_0x4c05f8[_0x55f542(0x220)](_0x3c405d),_0x1ee245=_0x4c05f8[_0x55f542(0x135)](_0x3c405d);return _0x72ec91(_0x3533d2,_0x1ee245);});_0x5a6f37[_0x391ae1(0x25d)](_0x5e249f(_0x1bf5cc));}}),_0x5a6f37[_0x4ef77b(0x25d)](''),_0x5a6f37[_0x4ef77b(0x25d)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x16c04f=_0x489fa7['map'](_0x30989b=>{const _0x24b58a=_0x4ef77b,_0x3a8ad1=_0x4c05f8[_0x24b58a(0x220)](_0x30989b),_0x5f1d30=_0x4c05f8[_0x24b58a(0x135)](_0x30989b);return _0x72ec91(_0x3a8ad1,_0x5f1d30);});_0x5a6f37['push'](''),_0x5a6f37['push'](_0x4ef77b(0x38a)),_0x5a6f37[_0x4ef77b(0x25d)](_0x5e249f(_0x16c04f));}}if(showBriefHelp&&_0x3cbc67[_0x4ef77b(0x238)]()==='tdx')_0x5a6f37[_0x4ef77b(0x25d)](''),_0x5a6f37[_0x4ef77b(0x25d)](_0x4ef77b(0x377));else{const _0xb45a5a=_0x3cbc67[_0x4ef77b(0x1d9)][_0x4ef77b(0x260)](_0x2ed3f7=>!_0x32611a(_0x2ed3f7));if(_0xb45a5a['length']>0x0){const _0x4632d5=_0xb45a5a[_0x4ef77b(0x2d9)](_0x23d0fe=>{const _0x425d62=_0x4ef77b,_0x55f91a=_0x4c05f8['optionTerm'](_0x23d0fe),_0x1d5d5e=_0x4c05f8[_0x425d62(0x256)](_0x23d0fe);return _0x72ec91(_0x55f91a,_0x1d5d5e);});_0x5a6f37['push'](''),_0x5a6f37[_0x4ef77b(0x25d)](_0x4ef77b(0x294)),_0x5a6f37['push'](_0x5e249f(_0x4632d5));}}const _0x3da5a4=(_0x3cbc67['registeredArguments']||[])['filter'](_0x1198bb=>!_0x32611a(_0x1198bb));if(_0x3da5a4['length']>0x0){const _0x4270ff=_0x3da5a4[_0x4ef77b(0x2d9)](_0x5578d5=>{const _0x37500f=_0x4c05f8['argumentTerm'](_0x5578d5),_0x2c2ca5=_0x4c05f8['argumentDescription'](_0x5578d5);return _0x72ec91(_0x37500f,_0x2c2ca5);});_0x5a6f37[_0x4ef77b(0x25d)](''),_0x5a6f37[_0x4ef77b(0x25d)]('Arguments:'),_0x5a6f37[_0x4ef77b(0x25d)](_0x5e249f(_0x4270ff));}return _0x5a6f37['join']('\x0a')+'\x0a';},'subcommandTerm':_0x53ea11=>{const _0x38207a=a2_0x29f913,_0x5b7e03=(_0x53ea11[_0x38207a(0x346)]||[])[_0x38207a(0x2d9)](_0x43e987=>_0x43e987['required']?'<'+_0x43e987[_0x38207a(0x238)]()+'>':'['+_0x43e987['name']()+']')[_0x38207a(0x15a)]('\x20'),_0x398644=_0x53ea11[_0x38207a(0x179)](),_0x5f36d5=_0x398644[_0x38207a(0x351)]>0x0?_0x53ea11[_0x38207a(0x238)]()+',\x20'+_0x398644[_0x38207a(0x15a)](',\x20'):_0x53ea11[_0x38207a(0x238)]();return _0x5b7e03?_0x5f36d5+'\x20'+_0x5b7e03:_0x5f36d5;}}),program[a2_0x29f913(0x288)](a2_0x29f913(0x20e),_0x37edc2=>{const _0x38c3e4=a2_0x29f913,_0x2b10f5=_0x37edc2[_0x38c3e4(0x165)]();if(_0x2b10f5[_0x38c3e4(0x158)]){const _0x4e068e=resolve(_0x2b10f5[_0x38c3e4(0x158)]),_0x31d0e0=_0x4e068e!==_0x2b10f5[_0x38c3e4(0x158)]?'\x20(resolved\x20to\x20'+_0x4e068e+')':'';if(!existsSync(_0x4e068e))throw new SDKError(ErrorCode[_0x38c3e4(0x2a9)],_0x38c3e4(0x21d)+_0x2b10f5[_0x38c3e4(0x158)]+_0x31d0e0,undefined,{'helpText':_0x38c3e4(0x29b)});const _0x58805a=statSync(_0x4e068e);if(!_0x58805a[_0x38c3e4(0x16f)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x38c3e4(0x265)+_0x2b10f5[_0x38c3e4(0x158)]+_0x31d0e0,undefined,{'helpText':_0x38c3e4(0x34f)});process[_0x38c3e4(0x2af)](_0x4e068e);}if(!_0x2b10f5[_0x38c3e4(0x371)]){if(_0x2b10f5[_0x38c3e4(0x1f3)])_0x2b10f5[_0x38c3e4(0x371)]=_0x38c3e4(0x1f3);else{if(_0x2b10f5[_0x38c3e4(0x185)])_0x2b10f5['format']='json';else{if(_0x2b10f5[_0x38c3e4(0x1f7)])_0x2b10f5[_0x38c3e4(0x371)]='jsonl';else _0x2b10f5[_0x38c3e4(0x379)]&&(_0x2b10f5[_0x38c3e4(0x371)]='tsv');}}}_0x2b10f5['in']&&!_0x2b10f5[_0x38c3e4(0x189)]&&(_0x2b10f5[_0x38c3e4(0x189)]=_0x2b10f5['in']);if(_0x2b10f5[_0x38c3e4(0x293)])_0x2b10f5['logLevel']=LogLevel[_0x38c3e4(0x2e9)];else{if(_0x2b10f5[_0x38c3e4(0x23a)])_0x2b10f5[_0x38c3e4(0x1b0)]=LogLevel[_0x38c3e4(0x364)];else _0x2b10f5[_0x38c3e4(0x1b0)]===undefined&&(_0x2b10f5[_0x38c3e4(0x1b0)]=LogLevel[_0x38c3e4(0x154)]);}});async function createTDXInstance(_0x249612){const _0x40ffe3=a2_0x29f913,_0x3f2188=await GlobalContext[_0x40ffe3(0x23b)](_0x249612);return _0x3f2188[_0x40ffe3(0x25b)](_0x249612),TDX[_0x40ffe3(0x2a4)]({'site':_0x3f2188[_0x40ffe3(0x181)],'apiKey':_0x3f2188[_0x40ffe3(0x116)],'logLevel':_0x3f2188[_0x40ffe3(0x1b0)],'profile':_0x3f2188[_0x40ffe3(0x22f)]});}const databaseCmd=program[a2_0x29f913(0x1bf)](a2_0x29f913(0x189))['alias']('db')[a2_0x29f913(0x29c)](a2_0x29f913(0x30a)),databaseListAction=async(_0x24b6a5,_0x52a3ce)=>{const _0x20c912=a2_0x29f913,_0x44b97d=new DatabasesCommand(),_0x42eb42=program[_0x20c912(0x165)](),_0x4fcbc0=await createTDXInstance(_0x42eb42),_0x34d842=await _0x44b97d[_0x20c912(0x251)]({'options':{..._0x42eb42,..._0x52a3ce},'args':_0x24b6a5?[_0x24b6a5]:[],'tdx':_0x4fcbc0});gracefulExit(_0x34d842);};databaseCmd['command']('list\x20[pattern]')[a2_0x29f913(0x29c)](a2_0x29f913(0x2b7))[a2_0x29f913(0x275)](databaseListAction),program[a2_0x29f913(0x1bf)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x29f913(0x29c)](a2_0x29f913(0x2c3))[a2_0x29f913(0x275)](databaseListAction),program['command']('chat\x20[message...]')[a2_0x29f913(0x29c)](a2_0x29f913(0x1a9))[a2_0x29f913(0x34e)](a2_0x29f913(0x155),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x29f913(0x34e)](a2_0x29f913(0x184),a2_0x29f913(0x2e8))[a2_0x29f913(0x34e)](a2_0x29f913(0x191),a2_0x29f913(0x359))[a2_0x29f913(0x34e)](a2_0x29f913(0x333),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x29f913(0x275)](async(_0x138b4f,_0x403ccc)=>{const _0x354acd=a2_0x29f913,_0x5de464=program[_0x354acd(0x165)](),_0x117eec=await createTDXInstance(_0x5de464);if(_0x138b4f[0x0]===_0x354acd(0x2a4)){const _0x32f29c=new ChatCreateCommand();gracefulExit(await _0x32f29c['run']({'options':{..._0x5de464,..._0x403ccc},'args':_0x138b4f[_0x354acd(0x36d)](0x1),'tdx':_0x117eec}));return;}const _0x5ce2c2=new ChatCommand(),_0xa4e11e=await _0x5ce2c2[_0x354acd(0x251)]({'options':{..._0x5de464,..._0x403ccc},'args':_0x138b4f,'tdx':_0x117eec});gracefulExit(_0xa4e11e);});const apiCmd=program['command'](a2_0x29f913(0x326))[a2_0x29f913(0x299)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')['addHelpText'](a2_0x29f913(0x1ba),'\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')[a2_0x29f913(0x34e)](a2_0x29f913(0x1e3),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x29f913(0x1d8))[a2_0x29f913(0x34e)](a2_0x29f913(0x19f),a2_0x29f913(0x1f5))['option']('-f,\x20--file\x20<path>','Read\x20request\x20body\x20from\x20file')['option']('-H,\x20--header\x20<header>','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x215fe9,_0x2e37f7)=>{return _0x2e37f7?[..._0x2e37f7,_0x215fe9]:[_0x215fe9];})[a2_0x29f913(0x34e)](a2_0x29f913(0x37b),a2_0x29f913(0x33c),'td')['action'](async(_0x422fff,_0x36280f)=>{const _0x5d6e03=a2_0x29f913;if(!_0x422fff){apiCmd[_0x5d6e03(0x349)]();return;}const _0x5a4c50=new ApiCommand(),_0x2fde76=program['opts'](),_0x1181bd=await createTDXInstance(_0x2fde76),_0x4f0e71=await _0x5a4c50[_0x5d6e03(0x251)]({'options':{..._0x2fde76,..._0x36280f},'args':[_0x422fff],'tdx':_0x1181bd});gracefulExit(_0x4f0e71);});program[a2_0x29f913(0x1bf)](a2_0x29f913(0x1dc))['description']('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')['addHelpText'](a2_0x29f913(0x1ba),a2_0x29f913(0x1fa))[a2_0x29f913(0x275)](async _0x23bae1=>{const _0x3296b7=a2_0x29f913,_0x334378=new MCPCommand(),_0x207c78=program[_0x3296b7(0x165)](),_0x520d73=await createTDXInstance(_0x207c78),_0x4e7ee8=await _0x334378['run']({'options':{..._0x207c78,..._0x23bae1},'args':[],'tdx':_0x520d73});gracefulExit(_0x4e7ee8);});const tableCmd=program['command'](a2_0x29f913(0x1f3))[a2_0x29f913(0x29c)]('Table\x20management\x20commands'),tableListAction=async(_0x570ddc,_0x153154)=>{const _0x560ee1=a2_0x29f913,_0x53a7ce=new TablesCommand(),_0x45bf99=program[_0x560ee1(0x165)](),_0x426062=await createTDXInstance(_0x45bf99);_0x153154['in']&&(_0x153154[_0x560ee1(0x189)]=_0x153154['in']);const _0x364e21=await _0x53a7ce['run']({'options':{..._0x45bf99,..._0x153154},'args':_0x570ddc?[_0x570ddc]:[],'tdx':_0x426062});gracefulExit(_0x364e21);};tableCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)](a2_0x29f913(0x1e0))[a2_0x29f913(0x34e)](a2_0x29f913(0x2e4),a2_0x29f913(0x247))[a2_0x29f913(0x34e)](a2_0x29f913(0x2fa),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program['command'](a2_0x29f913(0x395),{'hidden':!![]})[a2_0x29f913(0x29c)](a2_0x29f913(0x1fd))[a2_0x29f913(0x34e)](a2_0x29f913(0x2e4),a2_0x29f913(0x247))[a2_0x29f913(0x34e)](a2_0x29f913(0x2fa),a2_0x29f913(0x302))['action'](tableListAction),program['command'](a2_0x29f913(0x118))[a2_0x29f913(0x29c)](a2_0x29f913(0x2ff))[a2_0x29f913(0x34e)](a2_0x29f913(0x2e4),a2_0x29f913(0x1e2))['option']('--in\x20<database>',a2_0x29f913(0x302))[a2_0x29f913(0x275)](async(_0x4c8162,_0x51f433)=>{const _0x51b988=a2_0x29f913,_0x51c51e=new ShowCommand(),_0x409b43=program['opts'](),_0x18fd18=await createTDXInstance(_0x409b43);_0x51f433['in']&&(_0x51f433[_0x51b988(0x189)]=_0x51f433['in']);const _0x4fb4b5=await _0x51c51e[_0x51b988(0x251)]({'options':{..._0x409b43,..._0x51f433},'args':_0x4c8162?[_0x4c8162]:[],'tdx':_0x18fd18});gracefulExit(_0x4fb4b5);}),program['command'](a2_0x29f913(0x287))[a2_0x29f913(0x2e6)](a2_0x29f913(0x17e))[a2_0x29f913(0x29c)]('Describe\x20table\x20schema')[a2_0x29f913(0x34e)](a2_0x29f913(0x2e4),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x29f913(0x34e)](a2_0x29f913(0x2fa),a2_0x29f913(0x302))[a2_0x29f913(0x275)](async(_0x4bda25,_0x3b3b8b)=>{const _0x4daf47=a2_0x29f913,_0x2be5c5=new DescribeCommand(),_0x527284=program['opts'](),_0x824c46=await createTDXInstance(_0x527284);_0x3b3b8b['in']&&(_0x3b3b8b[_0x4daf47(0x189)]=_0x3b3b8b['in']);const _0x9fbf85=await _0x2be5c5[_0x4daf47(0x251)]({'options':{..._0x527284,..._0x3b3b8b},'args':_0x4bda25?[_0x4bda25]:[],'tdx':_0x824c46});gracefulExit(_0x9fbf85);}),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x35f))[a2_0x29f913(0x29c)](a2_0x29f913(0x13d))[a2_0x29f913(0x34e)](a2_0x29f913(0x2e4),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x29f913(0x34e)](a2_0x29f913(0x2fa),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option'](a2_0x29f913(0x28f),a2_0x29f913(0x296))[a2_0x29f913(0x34e)](a2_0x29f913(0x1fb),'Read\x20SQL\x20query\x20from\x20file')[a2_0x29f913(0x34e)](a2_0x29f913(0x148),a2_0x29f913(0x26e),'40')[a2_0x29f913(0x275)](async(_0x9142d6,_0x3f814a)=>{const _0x13ccc1=a2_0x29f913,_0x13d998=new QueryCommand(),_0xe05d6=program[_0x13ccc1(0x165)](),_0x2717a3=await createTDXInstance(_0xe05d6);_0x3f814a['in']&&(_0x3f814a[_0x13ccc1(0x189)]=_0x3f814a['in']);const _0x2dbe0c=await _0x13d998['run']({'options':{..._0xe05d6,..._0x3f814a},'args':_0x9142d6?[_0x9142d6]:[],'tdx':_0x2717a3});gracefulExit(_0x2dbe0c);});const segmentCmd=program[a2_0x29f913(0x1bf)]('segment')[a2_0x29f913(0x2e6)]('sg')['description'](a2_0x29f913(0x1c3)),segmentListAction=async(_0x1e4dfe,_0x43721a)=>{const _0x13a0ee=a2_0x29f913,_0x204e97=new SegmentsCommand(),_0x23aebc=program[_0x13a0ee(0x165)](),_0x782633=await createTDXInstance(_0x23aebc),_0x290e2c=await _0x204e97[_0x13a0ee(0x251)]({'options':{..._0x23aebc,..._0x43721a},'args':_0x1e4dfe?[_0x1e4dfe]:[],'tdx':_0x782633});gracefulExit(_0x290e2c);};segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2f7))[a2_0x29f913(0x29c)](a2_0x29f913(0x2f6))[a2_0x29f913(0x34e)](a2_0x29f913(0x261),a2_0x29f913(0x2f1))[a2_0x29f913(0x34e)](a2_0x29f913(0x195),a2_0x29f913(0x301),'10')[a2_0x29f913(0x275)](segmentListAction),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x28b),{'hidden':!![]})[a2_0x29f913(0x29c)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x29f913(0x34e)]('-r,\x20--recursive',a2_0x29f913(0x2f1))['option'](a2_0x29f913(0x195),a2_0x29f913(0x301),'10')[a2_0x29f913(0x275)](segmentListAction),segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x15d),{'hidden':!![]})[a2_0x29f913(0x29c)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')['action'](async(_0x13a2b0,_0x5d4abc)=>{const _0x812fc2=a2_0x29f913,_0x52c478=new SegmentUseCommand(),_0x31a073=program[_0x812fc2(0x165)](),_0x37dc74=await createTDXInstance(_0x31a073),_0x409613=await _0x52c478[_0x812fc2(0x251)]({'options':{..._0x31a073,..._0x5d4abc},'args':[_0x13a2b0],'tdx':_0x37dc74});gracefulExit(_0x409613);});const segmentViewAction=async(_0x167a43,_0x3a6257)=>{const _0x543ad5=a2_0x29f913,_0x438b36=new SegmentViewCommand(),_0x28dd0c=program['opts'](),_0x54cbfe=await createTDXInstance(_0x28dd0c),_0x3b21e1=await _0x438b36[_0x543ad5(0x251)]({'options':{..._0x28dd0c,..._0x3a6257},'args':_0x167a43?[_0x167a43]:[],'tdx':_0x54cbfe});gracefulExit(_0x3b21e1);};segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x38f))['description'](a2_0x29f913(0x119))[a2_0x29f913(0x34e)](a2_0x29f913(0x2de),a2_0x29f913(0x36e))[a2_0x29f913(0x275)](segmentViewAction),segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x243),{'hidden':!![]})['alias'](a2_0x29f913(0x22c))[a2_0x29f913(0x34e)](a2_0x29f913(0x2de),a2_0x29f913(0x36e))[a2_0x29f913(0x29c)](a2_0x29f913(0x19d))[a2_0x29f913(0x275)](segmentViewAction),segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x368))['description'](a2_0x29f913(0x206))[a2_0x29f913(0x275)](async(_0x3bdc14,_0x556a9d)=>{const _0x3517c2=a2_0x29f913,_0x2e8e00=new SegmentDescCommand(),_0x207543=program[_0x3517c2(0x165)](),_0x20e896=await createTDXInstance(_0x207543),_0x5ca064=await _0x2e8e00[_0x3517c2(0x251)]({'options':{..._0x207543,..._0x556a9d},'args':_0x3bdc14?[_0x3bdc14]:[],'tdx':_0x20e896});gracefulExit(_0x5ca064);}),segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x373))['description'](a2_0x29f913(0x384))[a2_0x29f913(0x275)](async(_0x29cdc8,_0x593e7d)=>{const _0x5be756=a2_0x29f913,_0x3439ee=new SegmentShowCommand(),_0x400fb0=program['opts'](),_0x12184d=await createTDXInstance(_0x400fb0),_0x1852ed=await _0x3439ee[_0x5be756(0x251)]({'options':{..._0x400fb0,..._0x593e7d},'args':_0x29cdc8?[_0x29cdc8]:[],'tdx':_0x12184d});gracefulExit(_0x1852ed);}),segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x36b),{'hidden':!![]})[a2_0x29f913(0x29c)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x29f913(0x275)](async(_0x41c12d,_0x3b969b)=>{const _0x4fc361=a2_0x29f913,_0x3cf124=new SegmentFolderListCommand(),_0x2b4c91=program['opts'](),_0x19843e=await createTDXInstance(_0x2b4c91),_0x395c68=await _0x3cf124[_0x4fc361(0x251)]({'options':{..._0x2b4c91,..._0x3b969b},'args':[_0x41c12d],'tdx':_0x19843e});gracefulExit(_0x395c68);});const folderCmd=segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2d8),{'hidden':!![]})[a2_0x29f913(0x29c)](a2_0x29f913(0x2f9));folderCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1a8))[a2_0x29f913(0x29c)](a2_0x29f913(0x350))['action'](async(_0x155b7e,_0x31bc23)=>{const _0x11ae8d=a2_0x29f913,_0x2e5ed1=new SegmentFolderShowCommand(),_0x3a71f6=program['opts'](),_0x2a0159=await createTDXInstance(_0x3a71f6),_0x11baa0=await _0x2e5ed1[_0x11ae8d(0x251)]({'options':{..._0x3a71f6,..._0x31bc23},'args':[_0x155b7e],'tdx':_0x2a0159});gracefulExit(_0x11baa0);}),segmentCmd[a2_0x29f913(0x1bf)]('sql\x20[segment_name]')[a2_0x29f913(0x29c)]('Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x29f913(0x275)](async(_0x325cc5,_0xe9a4c0)=>{const _0x1d9a54=a2_0x29f913,_0x2c512d=new SegmentSQLCommand(),_0x4e691a=program[_0x1d9a54(0x165)](),_0x59e73b=await createTDXInstance(_0x4e691a),_0x54c6dd=await _0x2c512d[_0x1d9a54(0x251)]({'options':{..._0x4e691a,..._0xe9a4c0},'args':_0x325cc5?[_0x325cc5]:[],'tdx':_0x59e73b});gracefulExit(_0x54c6dd);}),segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1c1))[a2_0x29f913(0x29c)]('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)')['action'](async(_0x31bbc3,_0x393edb)=>{const _0x4470d3=a2_0x29f913,_0x56fd74=new SegmentFieldsCommand(),_0x27ae2c=program[_0x4470d3(0x165)](),_0x1d10b1=await createTDXInstance(_0x27ae2c),_0xce49d8=await _0x56fd74[_0x4470d3(0x251)]({'options':{..._0x27ae2c,..._0x393edb},'args':_0x31bbc3?[_0x31bbc3]:[],'tdx':_0x1d10b1});gracefulExit(_0xce49d8);}),segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x385))[a2_0x29f913(0x29c)](a2_0x29f913(0x163))['option'](a2_0x29f913(0x19e),a2_0x29f913(0x27e))[a2_0x29f913(0x34e)](a2_0x29f913(0x1be),a2_0x29f913(0x228))[a2_0x29f913(0x275)](async(_0x570bce,_0x2d96e3)=>{const _0x430470=a2_0x29f913,_0x1039f1=new SegmentPullCommand(),_0x181e79=program['opts'](),_0xf7b337=await createTDXInstance(_0x181e79),_0x25464d=await _0x1039f1[_0x430470(0x251)]({'options':{..._0x181e79,..._0x2d96e3},'args':_0x570bce?[_0x570bce]:[],'tdx':_0xf7b337});gracefulExit(_0x25464d);}),segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1f0))['description'](a2_0x29f913(0x30c))[a2_0x29f913(0x34e)](a2_0x29f913(0x19e),'Skip\x20confirmation\x20prompts')[a2_0x29f913(0x34e)](a2_0x29f913(0x1be),a2_0x29f913(0x228))[a2_0x29f913(0x34e)](a2_0x29f913(0x1dd),'Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')['action'](async(_0x57e08c,_0x536f1e)=>{const _0x281cd8=a2_0x29f913,_0x218b90=new SegmentPushCommand(),_0x184e5b=program[_0x281cd8(0x165)](),_0x20295=await createTDXInstance(_0x184e5b),_0x5000e4=await _0x218b90['run']({'options':{..._0x184e5b,..._0x536f1e},'args':_0x57e08c?[_0x57e08c]:[],'tdx':_0x20295});gracefulExit(_0x5000e4);}),segmentCmd[a2_0x29f913(0x1bf)]('validate\x20[target]')[a2_0x29f913(0x29c)](a2_0x29f913(0x14f))[a2_0x29f913(0x275)](async(_0x240124,_0x494690)=>{const _0x3e51d8=a2_0x29f913,_0x10644f=new SegmentValidateCommand(),_0xc74547=program['opts'](),_0x587090=await createTDXInstance(_0xc74547),_0x466e5b=await _0x10644f[_0x3e51d8(0x251)]({'options':{..._0xc74547,..._0x494690},'args':_0x240124?[_0x240124]:[],'tdx':_0x587090});gracefulExit(_0x466e5b);}),segmentCmd['command'](a2_0x29f913(0x253),{'hidden':!![]})['description'](a2_0x29f913(0x236))['option'](a2_0x29f913(0x24f),a2_0x29f913(0x24e))[a2_0x29f913(0x34e)](a2_0x29f913(0x272),a2_0x29f913(0x131))[a2_0x29f913(0x34e)](a2_0x29f913(0x217),'Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x29f913(0x34e)]('--folder\x20<name>',a2_0x29f913(0x27c))['option'](a2_0x29f913(0x11d),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x29f913(0x34e)]('--invisible','Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x29f913(0x34e)](a2_0x29f913(0x324),a2_0x29f913(0x341))[a2_0x29f913(0x275)](async(_0x328231,_0x2b49b8)=>{const _0x1923f4=a2_0x29f913,_0xdacd84=new SegmentCreateCommand(),_0x519f28=program[_0x1923f4(0x165)](),_0x1067fe=await createTDXInstance(_0x519f28),_0x248589=await _0xdacd84[_0x1923f4(0x251)]({'options':{..._0x519f28,..._0x2b49b8},'args':[_0x328231],'tdx':_0x1067fe});gracefulExit(_0x248589);}),segmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2a3),{'hidden':!![]})[a2_0x29f913(0x29c)](a2_0x29f913(0x245))[a2_0x29f913(0x34e)]('--name\x20<new_name>','New\x20segment\x20name')['option']('--description\x20<text>',a2_0x29f913(0x21f))[a2_0x29f913(0x34e)]('--rule\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string')['option'](a2_0x29f913(0x217),a2_0x29f913(0x12c))[a2_0x29f913(0x34e)](a2_0x29f913(0x2cf),a2_0x29f913(0x1a6))['option']('--kind\x20<type>',a2_0x29f913(0x169))[a2_0x29f913(0x275)](async(_0xb8293c,_0x25de03)=>{const _0xec535c=a2_0x29f913,_0x2adca8=new SegmentUpdateCommand(),_0x58745c=program[_0xec535c(0x165)](),_0x3e2f93=await createTDXInstance(_0x58745c),_0x5c10d5=await _0x2adca8[_0xec535c(0x251)]({'options':{..._0x58745c,..._0x25de03},'args':[_0xb8293c],'tdx':_0x3e2f93});gracefulExit(_0x5c10d5);});const parentCmd=segmentCmd[a2_0x29f913(0x1bf)]('parent',{'hidden':!![]})['description'](a2_0x29f913(0x11f)),parentListAction=async(_0x8242da,_0x25af28)=>{const _0x593386=a2_0x29f913,_0x48f286=new ParentSegmentListCommand(),_0x27ac65=program[_0x593386(0x165)](),_0x20d0f7=await createTDXInstance(_0x27ac65),_0x5cc8fe=await _0x48f286[_0x593386(0x251)]({'options':{..._0x27ac65,..._0x25af28},'args':_0x8242da?[_0x8242da]:[],'tdx':_0x20d0f7});gracefulExit(_0x5cc8fe);};parentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)](a2_0x29f913(0x1e4))[a2_0x29f913(0x275)](parentListAction),segmentCmd['command'](a2_0x29f913(0x27b),{'hidden':!![]})[a2_0x29f913(0x29c)](a2_0x29f913(0x398))[a2_0x29f913(0x275)](parentListAction),parentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2ea))['description'](a2_0x29f913(0x162))[a2_0x29f913(0x34e)](a2_0x29f913(0x394),a2_0x29f913(0x2c6))[a2_0x29f913(0x34e)](a2_0x29f913(0x19e),'Skip\x20confirmation\x20prompt')[a2_0x29f913(0x275)](async(_0x8e6744,_0xc91f3)=>{const _0x14f8c6=a2_0x29f913,_0x16fbff=new ParentSegmentPullCommand(),_0x4bca75=program[_0x14f8c6(0x165)](),_0x3d2ab9=await createTDXInstance(_0x4bca75),_0x208fc8=await _0x16fbff[_0x14f8c6(0x251)]({'options':{..._0x4bca75,..._0xc91f3},'args':_0x8e6744?[_0x8e6744]:[],'tdx':_0x3d2ab9});gracefulExit(_0x208fc8);}),parentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x15b))['description'](a2_0x29f913(0x353))['option'](a2_0x29f913(0x19e),a2_0x29f913(0x2cb))[a2_0x29f913(0x275)](async(_0x3ce696,_0x143403)=>{const _0xcd4427=a2_0x29f913,_0x50cebb=new ParentSegmentPushCommand(),_0x327773=program[_0xcd4427(0x165)](),_0x54ba14=await createTDXInstance(_0x327773),_0x407acb=await _0x50cebb[_0xcd4427(0x251)]({'options':{..._0x327773,..._0x143403},'args':_0x3ce696?[_0x3ce696]:[],'tdx':_0x54ba14});gracefulExit(_0x407acb);}),parentCmd[a2_0x29f913(0x1bf)]('validate\x20[file]')[a2_0x29f913(0x29c)](a2_0x29f913(0x2bc))['option'](a2_0x29f913(0x32a),'Show\x20only\x20master\x20table\x20validation')[a2_0x29f913(0x34e)](a2_0x29f913(0x330),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x29f913(0x34e)]('--behavior\x20[name]',a2_0x29f913(0x225))['option'](a2_0x29f913(0x390),a2_0x29f913(0x23f))[a2_0x29f913(0x34e)](a2_0x29f913(0x126),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x29f913(0x235))[a2_0x29f913(0x275)](async(_0x48e629,_0x1114dd)=>{const _0x1fd3c1=a2_0x29f913,_0x4ce2ba=new ParentSegmentValidateCommand(),_0x4a71f9=program[_0x1fd3c1(0x165)](),_0x37bd9a=await createTDXInstance(_0x4a71f9),_0x3bf817=await _0x4ce2ba[_0x1fd3c1(0x251)]({'options':{..._0x4a71f9,..._0x1114dd},'args':_0x48e629?[_0x48e629]:[],'tdx':_0x37bd9a});gracefulExit(_0x3bf817);}),parentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1d5))[a2_0x29f913(0x29c)](a2_0x29f913(0x378))[a2_0x29f913(0x34e)]('--master','Show\x20master\x20table\x20sample\x20data')[a2_0x29f913(0x34e)](a2_0x29f913(0x330),a2_0x29f913(0x24c))[a2_0x29f913(0x34e)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x29f913(0x34e)]('--enriched',a2_0x29f913(0x306))[a2_0x29f913(0x34e)](a2_0x29f913(0x126),a2_0x29f913(0x20b),a2_0x29f913(0x235))['action'](async(_0x53fde4,_0x4cd60b)=>{const _0x1e87c7=a2_0x29f913,_0x3a7dda=new ParentSegmentPreviewCommand(),_0x12cad0=program[_0x1e87c7(0x165)](),_0x1511c8=await createTDXInstance(_0x12cad0),_0x58a6f6=await _0x3a7dda[_0x1e87c7(0x251)]({'options':{..._0x12cad0,..._0x4cd60b},'args':_0x53fde4?[_0x53fde4]:[],'tdx':_0x1511c8});gracefulExit(_0x58a6f6);}),parentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2d5))[a2_0x29f913(0x29c)](a2_0x29f913(0x29a))[a2_0x29f913(0x34e)](a2_0x29f913(0x19e),a2_0x29f913(0x2cb))[a2_0x29f913(0x275)](async(_0x5928bb,_0x285cfe)=>{const _0x189b2b=a2_0x29f913,_0x525be3=new ParentSegmentRunCommand(),_0x1a8cbe=program[_0x189b2b(0x165)](),_0x47fab2=await createTDXInstance(_0x1a8cbe),_0x354b4c=await _0x525be3['run']({'options':{..._0x1a8cbe,..._0x285cfe},'args':_0x5928bb?[_0x5928bb]:[],'tdx':_0x47fab2});gracefulExit(_0x354b4c);});const parentSegmentCmd=program[a2_0x29f913(0x1bf)](a2_0x29f913(0x142))['alias']('ps')[a2_0x29f913(0x29c)](a2_0x29f913(0x387));parentSegmentCmd['command']('list\x20[pattern]')[a2_0x29f913(0x29c)](a2_0x29f913(0x1e4))['action'](parentListAction),parentSegmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2ea))[a2_0x29f913(0x29c)](a2_0x29f913(0x252))[a2_0x29f913(0x34e)](a2_0x29f913(0x394),a2_0x29f913(0x246))[a2_0x29f913(0x34e)](a2_0x29f913(0x19e),a2_0x29f913(0x2cb))['option'](a2_0x29f913(0x31c),a2_0x29f913(0x2fb))[a2_0x29f913(0x275)](async(_0x33c11f,_0x30ae54)=>{const _0x3e8336=a2_0x29f913,_0x362497=new ParentSegmentPullCommand(),_0x56d810=program[_0x3e8336(0x165)](),_0x24bee4=await createTDXInstance(_0x56d810),_0xcc6973=await _0x362497[_0x3e8336(0x251)]({'options':{..._0x56d810,..._0x30ae54},'args':_0x33c11f?[_0x33c11f]:[],'tdx':_0x24bee4});gracefulExit(_0xcc6973);}),parentSegmentCmd[a2_0x29f913(0x1bf)]('push\x20[name]')[a2_0x29f913(0x29c)](a2_0x29f913(0x1ef))[a2_0x29f913(0x34e)]('-y,\x20--yes',a2_0x29f913(0x2cb))[a2_0x29f913(0x275)](async(_0x178b4e,_0x3fdd98)=>{const _0x4abb38=new ParentSegmentPushCommand(),_0x4abf06=program['opts'](),_0xbc6c3d=await createTDXInstance(_0x4abf06),_0x3a1cfe=await _0x4abb38['run']({'options':{..._0x4abf06,..._0x3fdd98},'args':_0x178b4e?[_0x178b4e]:[],'tdx':_0xbc6c3d});gracefulExit(_0x3a1cfe);}),parentSegmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2ae))[a2_0x29f913(0x29c)](a2_0x29f913(0x2bc))[a2_0x29f913(0x34e)](a2_0x29f913(0x32a),'Show\x20only\x20master\x20table\x20validation')[a2_0x29f913(0x34e)](a2_0x29f913(0x330),a2_0x29f913(0x1f4))['option']('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x29f913(0x34e)](a2_0x29f913(0x390),a2_0x29f913(0x23f))[a2_0x29f913(0x34e)]('--interval\x20<range>',a2_0x29f913(0x20b),a2_0x29f913(0x235))['action'](async(_0x3ae3f7,_0x269978)=>{const _0x5e6e97=a2_0x29f913,_0x574c66=new ParentSegmentValidateCommand(),_0x2bc903=program[_0x5e6e97(0x165)](),_0x5dcdcc=await createTDXInstance(_0x2bc903),_0x25c09e=await _0x574c66[_0x5e6e97(0x251)]({'options':{..._0x2bc903,..._0x269978},'args':_0x3ae3f7?[_0x3ae3f7]:[],'tdx':_0x5dcdcc});gracefulExit(_0x25c09e);}),parentSegmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2c1))[a2_0x29f913(0x29c)](a2_0x29f913(0x378))['option'](a2_0x29f913(0x32a),'Show\x20master\x20table\x20sample\x20data')['option'](a2_0x29f913(0x330),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x29f913(0x34e)](a2_0x29f913(0x144),a2_0x29f913(0x1fc))[a2_0x29f913(0x34e)](a2_0x29f913(0x390),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x29f913(0x126),a2_0x29f913(0x20b),'-1d')[a2_0x29f913(0x275)](async(_0x8e1e55,_0x29d487)=>{const _0x524e8f=a2_0x29f913,_0xf9ca3f=new ParentSegmentPreviewCommand(),_0x53aadc=program['opts'](),_0xa18caf=await createTDXInstance(_0x53aadc),_0x5b83ba=await _0xf9ca3f[_0x524e8f(0x251)]({'options':{..._0x53aadc,..._0x29d487},'args':_0x8e1e55?[_0x8e1e55]:[],'tdx':_0xa18caf});gracefulExit(_0x5b83ba);}),parentSegmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2d5))['description'](a2_0x29f913(0x29a))['option'](a2_0x29f913(0x19e),a2_0x29f913(0x2cb))[a2_0x29f913(0x275)](async(_0x464745,_0x1c5f2d)=>{const _0x5befb0=a2_0x29f913,_0x19659a=new ParentSegmentRunCommand(),_0x1667d5=program[_0x5befb0(0x165)](),_0x4813a9=await createTDXInstance(_0x1667d5),_0x4262b6=await _0x19659a[_0x5befb0(0x251)]({'options':{..._0x1667d5,..._0x1c5f2d},'args':_0x464745?[_0x464745]:[],'tdx':_0x4813a9});gracefulExit(_0x4262b6);}),parentSegmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x291))['description'](a2_0x29f913(0x242))[a2_0x29f913(0x34e)](a2_0x29f913(0x35a),a2_0x29f913(0x174))['option'](a2_0x29f913(0x23e),a2_0x29f913(0x1bd))['action'](async(_0x2a7514,_0x430d31)=>{const _0x5722e6=a2_0x29f913,_0x1bec41=new ParentSegmentFieldsCommand(),_0x4326af=program[_0x5722e6(0x165)](),_0x2db2d3=await createTDXInstance(_0x4326af),_0x44a355=await _0x1bec41['run']({'options':{..._0x4326af,..._0x430d31},'args':_0x2a7514?[_0x2a7514]:[],'tdx':_0x2db2d3});gracefulExit(_0x44a355);}),parentSegmentCmd['command']('view\x20[name]')['description'](a2_0x29f913(0x139))['option']('-w,\x20--web',a2_0x29f913(0x11a))[a2_0x29f913(0x34e)](a2_0x29f913(0x35a),a2_0x29f913(0x174))[a2_0x29f913(0x34e)](a2_0x29f913(0x23e),'Output\x20as\x20JSON\x20Lines')[a2_0x29f913(0x275)](async(_0x3ea96c,_0x3c5306)=>{const _0x5800dc=a2_0x29f913,_0x5e4c50=new ParentSegmentViewCommand(),_0x521d59=program[_0x5800dc(0x165)](),_0x1bcffc=await createTDXInstance(_0x521d59),_0x6c89ec=await _0x5e4c50[_0x5800dc(0x251)]({'options':{..._0x521d59,..._0x3c5306},'args':_0x3ea96c?[_0x3ea96c]:[],'tdx':_0x1bcffc});gracefulExit(_0x6c89ec);}),parentSegmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x230))[a2_0x29f913(0x29c)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x29f913(0x34e)](a2_0x29f913(0x394),a2_0x29f913(0x246))['option'](a2_0x29f913(0x35a),'Output\x20as\x20JSON')['option']('--jsonl',a2_0x29f913(0x1bd))[a2_0x29f913(0x275)](async(_0x3aed5,_0x567fc1)=>{const _0x482ae5=a2_0x29f913,_0x5caf9a=new ParentSegmentDescCommand(),_0x2c8776=program[_0x482ae5(0x165)](),_0x46d887=await createTDXInstance(_0x2c8776),_0x355625=await _0x5caf9a[_0x482ae5(0x251)]({'options':{..._0x2c8776,..._0x567fc1},'args':_0x3aed5?[_0x3aed5]:[],'tdx':_0x46d887});gracefulExit(_0x355625);}),parentSegmentCmd['command'](a2_0x29f913(0x1c2))['description'](a2_0x29f913(0x157))['option']('--json',a2_0x29f913(0x174))[a2_0x29f913(0x34e)](a2_0x29f913(0x23e),a2_0x29f913(0x1bd))[a2_0x29f913(0x275)](async(_0x199be5,_0x2de040)=>{const _0x181c97=new ParentSegmentSQLCommand(),_0x4c7a84=program['opts'](),_0x3b14e1=await createTDXInstance(_0x4c7a84),_0x4b0801=await _0x181c97['run']({'options':{..._0x4c7a84,..._0x2de040},'args':_0x199be5?[_0x199be5]:[],'tdx':_0x3b14e1});gracefulExit(_0x4b0801);}),parentSegmentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x328))[a2_0x29f913(0x29c)](a2_0x29f913(0x362))['option']('--limit\x20<n>',a2_0x29f913(0x15f))[a2_0x29f913(0x34e)]('--json',a2_0x29f913(0x174))[a2_0x29f913(0x34e)](a2_0x29f913(0x23e),a2_0x29f913(0x1bd))[a2_0x29f913(0x275)](async(_0x59a220,_0x23f6b3)=>{const _0x2b4f7b=a2_0x29f913,_0x2c3bf5=new ParentSegmentShowCommand(),_0xccded9=program[_0x2b4f7b(0x165)](),_0x53309e=await createTDXInstance(_0xccded9),_0x1dc576=await _0x2c3bf5[_0x2b4f7b(0x251)]({'options':{..._0xccded9,..._0x23f6b3},'args':_0x59a220?[_0x59a220]:[],'tdx':_0x53309e});gracefulExit(_0x1dc576);}),parentSegmentCmd[a2_0x29f913(0x1bf)]('use\x20[name]')[a2_0x29f913(0x29c)](a2_0x29f913(0x283))[a2_0x29f913(0x275)](async(_0x54fed6,_0x24e040)=>{const _0x4b0f1a=a2_0x29f913,_0x3603a1=new UseCommand(),_0x14be02=program['opts'](),_0x6af233=_0x54fed6?[_0x4b0f1a(0x2df),_0x54fed6]:[],_0x51eac8=await _0x3603a1['run']({'options':{..._0x14be02,..._0x24e040},'args':_0x6af233,'tdx':null});gracefulExit(_0x51eac8);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x29f913(0x29c)](a2_0x29f913(0x167));psRtCmd['command'](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x29f913(0x275)](async(_0x5f0a8c,_0x728b12)=>{const _0x492439=a2_0x29f913,_0x47a223=new PSRtListCommand(),_0x56f411=program[_0x492439(0x165)](),_0x54adca=await createTDXInstance(_0x56f411),_0x4772d3=await _0x47a223[_0x492439(0x251)]({'options':{..._0x56f411,..._0x728b12},'args':_0x5f0a8c?[_0x5f0a8c]:[],'tdx':_0x54adca});gracefulExit(_0x4772d3);}),psRtCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2ae))[a2_0x29f913(0x29c)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x29f913(0x275)](async(_0x4c5bc9,_0x3c4444)=>{const _0xc66ce2=a2_0x29f913,_0x1d05ff=new PSRtValidateCommand(),_0xaabff3=program[_0xc66ce2(0x165)](),_0x335541=await createTDXInstance(_0xaabff3),_0x445e53=await _0x1d05ff[_0xc66ce2(0x251)]({'options':{..._0xaabff3,..._0x3c4444},'args':_0x4c5bc9?[_0x4c5bc9]:[],'tdx':_0x335541});gracefulExit(_0x445e53);});const parentRtCmd=parentCmd[a2_0x29f913(0x1bf)]('rt',{'hidden':!![]})[a2_0x29f913(0x29c)]('RT\x202.0\x20configuration\x20management');parentRtCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)](a2_0x29f913(0x134))[a2_0x29f913(0x275)](async(_0x4344d9,_0x52f550)=>{const _0x14d00c=a2_0x29f913,_0x3336a7=new PSRtListCommand(),_0x87bac9=program['opts'](),_0x540daa=await createTDXInstance(_0x87bac9),_0x24392b=await _0x3336a7[_0x14d00c(0x251)]({'options':{..._0x87bac9,..._0x52f550},'args':_0x4344d9?[_0x4344d9]:[],'tdx':_0x540daa});gracefulExit(_0x24392b);}),parentRtCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2ae))[a2_0x29f913(0x29c)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')['action'](async(_0x4a3e59,_0xef9167)=>{const _0x111c29=a2_0x29f913,_0x5077b2=new PSRtValidateCommand(),_0x23f53f=program[_0x111c29(0x165)](),_0x1a2551=await createTDXInstance(_0x23f53f),_0x227b75=await _0x5077b2[_0x111c29(0x251)]({'options':{..._0x23f53f,..._0xef9167},'args':_0x4a3e59?[_0x4a3e59]:[],'tdx':_0x1a2551});gracefulExit(_0x227b75);});const psPzCmd=parentSegmentCmd[a2_0x29f913(0x1bf)]('pz')['description'](a2_0x29f913(0x194));psPzCmd[a2_0x29f913(0x1bf)]('list\x20[name]')['description'](a2_0x29f913(0x320))[a2_0x29f913(0x275)](async(_0x4c141e,_0x41b855)=>{const _0x35062d=a2_0x29f913,_0x1db6a3=new PSPzListCommand(),_0x565a32=program[_0x35062d(0x165)](),_0x301557=await createTDXInstance(_0x565a32),_0x57ea00=await _0x1db6a3[_0x35062d(0x251)]({'options':{..._0x565a32,..._0x41b855},'args':_0x4c141e?[_0x4c141e]:[],'tdx':_0x301557});gracefulExit(_0x57ea00);}),psPzCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x229))[a2_0x29f913(0x29c)](a2_0x29f913(0x367))[a2_0x29f913(0x275)](async(_0x5c7654,_0x1a14f3)=>{const _0x41f702=a2_0x29f913,_0x5499c2=new PSPzInitCommand(),_0x4eeec6=program[_0x41f702(0x165)](),_0x57a38a=await createTDXInstance(_0x4eeec6),_0x580d0a=await _0x5499c2[_0x41f702(0x251)]({'options':{..._0x4eeec6,..._0x1a14f3},'args':_0x5c7654?[_0x5c7654]:[],'tdx':_0x57a38a});gracefulExit(_0x580d0a);});const parentPzCmd=parentCmd[a2_0x29f913(0x1bf)]('pz',{'hidden':!![]})[a2_0x29f913(0x29c)](a2_0x29f913(0x194));parentPzCmd['command'](a2_0x29f913(0x211))['description'](a2_0x29f913(0x320))['action'](async(_0x8a9bb2,_0x523634)=>{const _0x4d1591=a2_0x29f913,_0x5981b6=new PSPzListCommand(),_0x1293ab=program[_0x4d1591(0x165)](),_0x33807a=await createTDXInstance(_0x1293ab),_0x1c2ca1=await _0x5981b6[_0x4d1591(0x251)]({'options':{..._0x1293ab,..._0x523634},'args':_0x8a9bb2?[_0x8a9bb2]:[],'tdx':_0x33807a});gracefulExit(_0x1c2ca1);}),parentPzCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x229))[a2_0x29f913(0x29c)](a2_0x29f913(0x367))[a2_0x29f913(0x275)](async(_0x478985,_0xb8e19d)=>{const _0x3a35ac=a2_0x29f913,_0x120f49=new PSPzInitCommand(),_0x209b66=program[_0x3a35ac(0x165)](),_0x268e08=await createTDXInstance(_0x209b66),_0xac035f=await _0x120f49[_0x3a35ac(0x251)]({'options':{..._0x209b66,..._0xb8e19d},'args':_0x478985?[_0x478985]:[],'tdx':_0x268e08});gracefulExit(_0xac035f);}),parentCmd[a2_0x29f913(0x1bf)]('create\x20<name>')['description']('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')['requiredOption'](a2_0x29f913(0x172),a2_0x29f913(0x2a5))['requiredOption'](a2_0x29f913(0x1e7),'Master\x20table\x20name')[a2_0x29f913(0x34e)](a2_0x29f913(0x24f),'Parent\x20segment\x20description')['option'](a2_0x29f913(0x1b9),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option'](a2_0x29f913(0x18d),a2_0x29f913(0x2fe))[a2_0x29f913(0x34e)](a2_0x29f913(0x284),a2_0x29f913(0x22b))['option'](a2_0x29f913(0x35e),'Attributes\x20as\x20JSON\x20string')['option']('--attributes-file\x20<file>','Attributes\x20from\x20JSON\x20file')[a2_0x29f913(0x34e)](a2_0x29f913(0x1b2),a2_0x29f913(0x2ce))[a2_0x29f913(0x34e)](a2_0x29f913(0x2b3),a2_0x29f913(0x1ff))['option'](a2_0x29f913(0x307),a2_0x29f913(0x22d))['option']('--customer-group-file\x20<file>','Customer\x20group\x20from\x20JSON\x20file')[a2_0x29f913(0x275)](async(_0x37b91c,_0x225e9c)=>{const _0x18d89f=a2_0x29f913,_0x44ac49=new ParentSegmentCreateCommand(),_0x30171a=program[_0x18d89f(0x165)](),_0x31c60c=await createTDXInstance(_0x30171a),_0xa5e863=await _0x44ac49[_0x18d89f(0x251)]({'options':{..._0x30171a,..._0x225e9c},'args':[_0x37b91c],'tdx':_0x31c60c});gracefulExit(_0xa5e863);}),parentCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x28a))[a2_0x29f913(0x29c)](a2_0x29f913(0x1d4))['option'](a2_0x29f913(0x24f),a2_0x29f913(0x21f))[a2_0x29f913(0x34e)](a2_0x29f913(0x1b9),a2_0x29f913(0x264))[a2_0x29f913(0x34e)]('--schedule-option\x20<value>',a2_0x29f913(0x1ea))[a2_0x29f913(0x34e)](a2_0x29f913(0x284),a2_0x29f913(0x2ec))[a2_0x29f913(0x34e)]('--add-attributes\x20<json>',a2_0x29f913(0x1df))[a2_0x29f913(0x34e)](a2_0x29f913(0x1d3),a2_0x29f913(0x35c))['option'](a2_0x29f913(0x1d1),a2_0x29f913(0x26d))['option'](a2_0x29f913(0x151),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x29f913(0x275)](async(_0x2f8bdb,_0x52b331)=>{const _0x4a8f77=a2_0x29f913,_0x57cc4b=new ParentSegmentUpdateCommand(),_0x481daf=program[_0x4a8f77(0x165)](),_0x3c4eb0=await createTDXInstance(_0x481daf),_0x54d08b=await _0x57cc4b[_0x4a8f77(0x251)]({'options':{..._0x481daf,..._0x52b331},'args':[_0x2f8bdb],'tdx':_0x3c4eb0});gracefulExit(_0x54d08b);}),folderCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x322))[a2_0x29f913(0x29c)](a2_0x29f913(0x2c2))[a2_0x29f913(0x34e)](a2_0x29f913(0x24f),'Folder\x20description')[a2_0x29f913(0x34e)](a2_0x29f913(0x26a),a2_0x29f913(0x127))['action'](async(_0x3d2506,_0x538513,_0x36a65a)=>{const _0x4ee647=a2_0x29f913,_0x3c53b5=new SegmentFolderCreateCommand(),_0x248ad8=program[_0x4ee647(0x165)](),_0x211ec3=await createTDXInstance(_0x248ad8),_0x568c0c=await _0x3c53b5[_0x4ee647(0x251)]({'options':{..._0x248ad8,..._0x36a65a},'args':[_0x3d2506,_0x538513],'tdx':_0x211ec3});gracefulExit(_0x568c0c);}),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x304))[a2_0x29f913(0x29c)](a2_0x29f913(0x2b2))[a2_0x29f913(0x275)](async(_0x356324,_0x5971a5)=>{const _0x1a8587=a2_0x29f913,_0x33eb62=new ActivationsCommand(),_0x81b7f9=program[_0x1a8587(0x165)](),_0x21d513=await createTDXInstance(_0x81b7f9),_0x8de02a=await _0x33eb62[_0x1a8587(0x251)]({'options':{..._0x81b7f9,..._0x5971a5},'args':[_0x356324],'tdx':_0x21d513});gracefulExit(_0x8de02a);});const workflowCmd=program[a2_0x29f913(0x1bf)](a2_0x29f913(0x237))['alias']('wf')[a2_0x29f913(0x29c)]('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd['command'](a2_0x29f913(0x1aa))['description'](a2_0x29f913(0x2fc)),wfProjectListAction=async(_0x5e7054,_0x3c43aa)=>{const _0x3dbd64=a2_0x29f913,_0x1a5af9=new WorkflowProjectsCommand(),_0x2163d0=program[_0x3dbd64(0x165)](),_0x2bb5bb=await createTDXInstance(_0x2163d0),_0x52b4da=await _0x1a5af9[_0x3dbd64(0x251)]({'options':{..._0x2163d0,..._0x3c43aa},'args':_0x5e7054?[_0x5e7054]:[],'tdx':_0x2bb5bb});gracefulExit(_0x52b4da);};wfProjectCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)](a2_0x29f913(0x2e1))['action'](wfProjectListAction),workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1f6))[a2_0x29f913(0x29c)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x566fe7,_0x5ec702)=>{const _0x475afa=a2_0x29f913,_0x48db64=new WorkflowWorkflowsCommand(),_0x392876=program[_0x475afa(0x165)](),_0x2d117b=await createTDXInstance(_0x392876),_0x5641ef=await _0x48db64[_0x475afa(0x251)]({'options':{..._0x392876,..._0x5ec702},'args':_0x566fe7?[_0x566fe7]:[],'tdx':_0x2d117b});gracefulExit(_0x5641ef);};function a2_0x4297(_0x5a31ad,_0x3ba7dc){_0x5a31ad=_0x5a31ad-0x116;const _0x11b2a9=a2_0x11b2();let _0x42977a=_0x11b2a9[_0x5a31ad];return _0x42977a;}workflowCmd['command'](a2_0x29f913(0x2ca))[a2_0x29f913(0x29c)](a2_0x29f913(0x27f))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x310))[a2_0x29f913(0x29c)](a2_0x29f913(0x27a)),wfSessionListAction=async(_0x35a602,_0x51140a)=>{const _0x3fa3b7=a2_0x29f913,_0x177dbb=new WorkflowSessionsCommand(),_0x2c2663=program[_0x3fa3b7(0x165)](),_0x43a27a=await createTDXInstance(_0x2c2663),_0x1fae63=await _0x177dbb['run']({'options':{..._0x2c2663,..._0x51140a},'args':_0x35a602?[_0x35a602]:[],'tdx':_0x43a27a});gracefulExit(_0x1fae63);};wfSessionCmd['command']('list\x20[project]')['description'](a2_0x29f913(0x26c))[a2_0x29f913(0x34e)](a2_0x29f913(0x187),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x29f913(0x34e)](a2_0x29f913(0x2cd),a2_0x29f913(0x12d))[a2_0x29f913(0x34e)](a2_0x29f913(0x255),'End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction),workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x303))['description'](a2_0x29f913(0x375))[a2_0x29f913(0x34e)](a2_0x29f913(0x187),a2_0x29f913(0x20d))[a2_0x29f913(0x34e)](a2_0x29f913(0x2cd),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x29f913(0x34e)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x29f913(0x275)](wfSessionListAction);const wfAttemptListAction=async(_0x19b21e,_0x21987d)=>{const _0x2e8268=a2_0x29f913,_0x590274=new WorkflowAttemptsCommand(),_0x5d4b45=program[_0x2e8268(0x165)](),_0x529693=await createTDXInstance(_0x5d4b45),_0x40d9ef=await _0x590274['run']({'options':{..._0x5d4b45,..._0x21987d},'args':_0x19b21e?[_0x19b21e]:[],'tdx':_0x529693});gracefulExit(_0x40d9ef);},attemptCmd=workflowCmd['command'](a2_0x29f913(0x336))['description'](a2_0x29f913(0x363))['argument'](a2_0x29f913(0x13a),a2_0x29f913(0x18a))[a2_0x29f913(0x223)](a2_0x29f913(0x17c),a2_0x29f913(0x24d))['argument']('[task-name]',a2_0x29f913(0x159))[a2_0x29f913(0x34e)](a2_0x29f913(0x267),a2_0x29f913(0x2d2))['option'](a2_0x29f913(0x34b),'Reason\x20for\x20killing\x20the\x20attempt')['option'](a2_0x29f913(0x186),a2_0x29f913(0x1ab))[a2_0x29f913(0x34e)]('--params\x20<json>',a2_0x29f913(0x382))[a2_0x29f913(0x34e)](a2_0x29f913(0x33a),a2_0x29f913(0x14d))[a2_0x29f913(0x34e)]('--include-retried',a2_0x29f913(0x22e))[a2_0x29f913(0x275)](async(_0x2f43d9,_0x58ab63,_0x5eb96b,_0x38484d)=>{const _0x1f5ab3=a2_0x29f913;if(_0x2f43d9===_0x1f5ab3(0x347)){await wfAttemptListAction(_0x58ab63,_0x38484d);return;}if(!_0x2f43d9){attemptCmd[_0x1f5ab3(0x349)]();return;}const _0x4a1f03=program[_0x1f5ab3(0x165)](),_0x501397=await createTDXInstance(_0x4a1f03);let _0x40e3af=0x0;if(!_0x58ab63){const _0x1e6f7c=new WorkflowAttemptCommand();_0x40e3af=await _0x1e6f7c[_0x1f5ab3(0x251)]({'options':{..._0x4a1f03,..._0x38484d},'args':[_0x2f43d9],'tdx':_0x501397});}else{if(_0x58ab63===_0x1f5ab3(0x141)){const _0x8f9fe7=new WorkflowLogsCommand();_0x40e3af=await _0x8f9fe7[_0x1f5ab3(0x251)]({'options':{..._0x4a1f03,..._0x38484d},'args':_0x5eb96b?[_0x2f43d9,_0x5eb96b]:[_0x2f43d9],'tdx':_0x501397});}else{if(_0x58ab63===_0x1f5ab3(0x29f)){const _0x59d101=new WorkflowTasksCommand();_0x40e3af=await _0x59d101['run']({'options':{..._0x4a1f03,..._0x38484d},'args':[_0x2f43d9],'tdx':_0x501397});}else{if(_0x58ab63===_0x1f5ab3(0x31e)){const _0x368168=new WorkflowKillCommand();_0x40e3af=await _0x368168['run']({'options':{..._0x4a1f03,..._0x38484d},'args':[_0x2f43d9],'tdx':_0x501397});}else{if(_0x58ab63==='retry'){const _0x3373a3=new WorkflowRetryCommand();_0x40e3af=await _0x3373a3['run']({'options':{..._0x4a1f03,..._0x38484d},'args':[_0x1f5ab3(0x2ba)+_0x2f43d9],'tdx':_0x501397});}else console[_0x1f5ab3(0x2b1)](_0x1f5ab3(0x175)+_0x58ab63),console[_0x1f5ab3(0x2b1)](_0x1f5ab3(0x2f5)),_0x40e3af=0x1;}}}}gracefulExit(_0x40e3af);});attemptCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1fe))[a2_0x29f913(0x29c)](a2_0x29f913(0x192))[a2_0x29f913(0x34e)](a2_0x29f913(0x2db),a2_0x29f913(0x145))[a2_0x29f913(0x275)](wfAttemptListAction),workflowCmd['command']('attempts\x20[project]')[a2_0x29f913(0x29c)](a2_0x29f913(0x17d))[a2_0x29f913(0x34e)](a2_0x29f913(0x2db),a2_0x29f913(0x145))[a2_0x29f913(0x275)](wfAttemptListAction),workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x11c))[a2_0x29f913(0x29c)](a2_0x29f913(0x199))[a2_0x29f913(0x34e)](a2_0x29f913(0x1f2),a2_0x29f913(0x370))[a2_0x29f913(0x34e)](a2_0x29f913(0x18c),a2_0x29f913(0x210))[a2_0x29f913(0x34e)](a2_0x29f913(0x31d),a2_0x29f913(0x12e))[a2_0x29f913(0x275)](async(_0x37e6f2,_0x5efddc)=>{const _0x5531af=a2_0x29f913,_0x4a0037=new WorkflowTimelineCommand(),_0x279e89=program[_0x5531af(0x165)](),_0x5e7489=await createTDXInstance(_0x279e89),_0x2588ed=await _0x4a0037['run']({'options':{..._0x279e89,..._0x5efddc},'args':_0x37e6f2?[_0x37e6f2]:[],'tdx':_0x5e7489});gracefulExit(_0x2588ed);}),workflowCmd['command']('retry\x20<session-id>')[a2_0x29f913(0x29c)]('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0x29f913(0x34e)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x29f913(0x34e)](a2_0x29f913(0x12a),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x29f913(0x275)](async(_0x54b766,_0x68aa13)=>{const _0x3bf185=a2_0x29f913,_0x449e8=new WorkflowRetryCommand(),_0x3bcb20=program[_0x3bf185(0x165)](),_0x192205=await createTDXInstance(_0x3bcb20),_0xc80384=await _0x449e8[_0x3bf185(0x251)]({'options':{..._0x3bcb20,..._0x68aa13},'args':[_0x54b766],'tdx':_0x192205});gracefulExit(_0xc80384);}),workflowCmd['command'](a2_0x29f913(0x1d0))[a2_0x29f913(0x29c)](a2_0x29f913(0x2c9))[a2_0x29f913(0x34e)](a2_0x29f913(0x357),a2_0x29f913(0x33b),(_0x26162e,_0x4f5d5b=[])=>[..._0x4f5d5b,_0x26162e],[])[a2_0x29f913(0x34e)](a2_0x29f913(0x289),a2_0x29f913(0x132))[a2_0x29f913(0x275)](async(_0xc62dbe,_0x54cd30)=>{const _0xfcfa41=a2_0x29f913,_0x22aea5=new WorkflowRunCommand(),_0x5e5b4c=program[_0xfcfa41(0x165)](),_0x2dc7ce=await createTDXInstance(_0x5e5b4c),_0x46745a=await _0x22aea5[_0xfcfa41(0x251)]({'options':{..._0x5e5b4c,..._0x54cd30},'args':_0xc62dbe?[_0xc62dbe]:[],'tdx':_0x2dc7ce});gracefulExit(_0x46745a);}),workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x278))[a2_0x29f913(0x29c)](a2_0x29f913(0x1b5))[a2_0x29f913(0x34e)](a2_0x29f913(0x2e2),a2_0x29f913(0x2f3))[a2_0x29f913(0x275)](async(_0x1df4d6,_0xb86168,_0x517f74)=>{const _0x5e520e=a2_0x29f913,_0x43340d=new WorkflowDownloadCommand(),_0x3a99cb=program[_0x5e520e(0x165)](),_0x2f2954=await createTDXInstance(_0x3a99cb),_0x2a86ef=await _0x43340d[_0x5e520e(0x251)]({'options':{..._0x3a99cb,..._0x517f74},'args':[_0x1df4d6,_0xb86168||'.'],'tdx':_0x2f2954});gracefulExit(_0x2a86ef);}),workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x207))[a2_0x29f913(0x29c)](a2_0x29f913(0x176))['option']('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x29f913(0x34e)]('--dry-run','Preview\x20changes\x20without\x20writing\x20files')['option'](a2_0x29f913(0x19e),'Skip\x20confirmation\x20prompt')[a2_0x29f913(0x275)](async(_0x12bf84,_0x29e68f,_0x4a659c)=>{const _0x1a3601=a2_0x29f913,_0x45ec6d=new WorkflowPullCommand(),_0x2d5166=program['opts'](),_0x45509f=await createTDXInstance(_0x2d5166),_0x57baab=await _0x45ec6d[_0x1a3601(0x251)]({'options':{..._0x2d5166,..._0x4a659c},'args':_0x29e68f?[_0x12bf84,_0x29e68f]:[_0x12bf84],'tdx':_0x45509f});gracefulExit(_0x57baab);}),workflowCmd[a2_0x29f913(0x1bf)]('push\x20[source-dir]')[a2_0x29f913(0x29c)](a2_0x29f913(0x208))[a2_0x29f913(0x34e)](a2_0x29f913(0x2e2),a2_0x29f913(0x280))[a2_0x29f913(0x34e)](a2_0x29f913(0x1be),a2_0x29f913(0x233))[a2_0x29f913(0x34e)](a2_0x29f913(0x19c),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x29f913(0x34e)]('-y,\x20--yes',a2_0x29f913(0x2cb))['action'](async(_0x104b32,_0x585518)=>{const _0x1248ed=a2_0x29f913,_0x598a5d=new WorkflowPushCommand(),_0x3161b4=program[_0x1248ed(0x165)](),_0x1b41fd=await createTDXInstance(_0x3161b4),_0x3d1856=await _0x598a5d[_0x1248ed(0x251)]({'options':{..._0x3161b4,..._0x585518},'args':_0x104b32?[_0x104b32]:[],'tdx':_0x1b41fd});gracefulExit(_0x3d1856);}),workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x21a))[a2_0x29f913(0x29c)](a2_0x29f913(0x164))[a2_0x29f913(0x34e)](a2_0x29f913(0x136),a2_0x29f913(0x2b6))[a2_0x29f913(0x34e)](a2_0x29f913(0x2e2),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x29f913(0x34e)](a2_0x29f913(0x19c),a2_0x29f913(0x391))[a2_0x29f913(0x275)](async(_0x3e1d9d,_0x1d1e5c)=>{const _0x4548a6=a2_0x29f913,_0xa0ec1f=new WorkflowUploadCommand(),_0x240e83=program[_0x4548a6(0x165)](),_0x43d1d6=await createTDXInstance(_0x240e83),_0x343cad=await _0xa0ec1f[_0x4548a6(0x251)]({'options':{..._0x240e83,..._0x1d1e5c},'args':_0x3e1d9d?[_0x3e1d9d]:[],'tdx':_0x43d1d6});gracefulExit(_0x343cad);}),workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2f2))['description'](a2_0x29f913(0x33e))[a2_0x29f913(0x34e)](a2_0x29f913(0x136),a2_0x29f913(0x130))[a2_0x29f913(0x34e)](a2_0x29f913(0x2e2),a2_0x29f913(0x280))['option'](a2_0x29f913(0x1be),'Preview\x20without\x20creating\x20the\x20project')[a2_0x29f913(0x34e)](a2_0x29f913(0x19c),a2_0x29f913(0x391))[a2_0x29f913(0x34e)](a2_0x29f913(0x19e),a2_0x29f913(0x2cb))[a2_0x29f913(0x275)](async(_0x1f6578,_0x41390e)=>{const _0x1cbf87=a2_0x29f913,_0x55a39e=new WorkflowCloneCommand(),_0x535fb4=program[_0x1cbf87(0x165)](),_0x46a916=await createTDXInstance(_0x535fb4),_0x331303=await _0x55a39e['run']({'options':{..._0x535fb4,..._0x41390e},'args':_0x1f6578?[_0x1f6578]:[],'tdx':_0x46a916});gracefulExit(_0x331303);}),workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x153))[a2_0x29f913(0x29c)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x29f913(0x275)](async(_0x2d97e7,_0xb6385f)=>{const _0x3b4fcd=a2_0x29f913,_0x3f9b07=new WorkflowDeleteCommand(),_0xeaaabf=program[_0x3b4fcd(0x165)](),_0x1b1273=await createTDXInstance(_0xeaaabf),_0x45cfb8=await _0x3f9b07[_0x3b4fcd(0x251)]({'options':{..._0xeaaabf,..._0xb6385f},'args':[_0x2d97e7],'tdx':_0x1b1273});gracefulExit(_0x45cfb8);}),workflowCmd[a2_0x29f913(0x1bf)]('use\x20[project]')[a2_0x29f913(0x29c)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x29f913(0x34e)]('--clear','Clear\x20workflow\x20project\x20context')[a2_0x29f913(0x275)](async(_0x5a1ecb,_0x596f89)=>{const _0x1118ce=a2_0x29f913,_0x4a3d7d=new WorkflowUseCommand(),_0x4f29ac=program[_0x1118ce(0x165)](),_0xc0c77d=await createTDXInstance(_0x4f29ac),_0x3f99ae=await _0x4a3d7d[_0x1118ce(0x251)]({'options':{..._0x4f29ac,..._0x596f89},'args':_0x5a1ecb?[_0x5a1ecb]:[],'tdx':_0xc0c77d});gracefulExit(_0x3f99ae);});const wfSecretsCmd=workflowCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x152))[a2_0x29f913(0x29c)](a2_0x29f913(0x25e));function a2_0x11b2(){const _0x26a7a5=['[DEPRECATED]\x20Segment\x20folder\x20management','--in\x20<database>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Workflow\x20project\x20management','892692WFgEKf','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Maximum\x20recursion\x20depth\x20(default:\x2010)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','sessions\x20[project]','activations\x20<segment_name>','--model\x20<name>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--customer-group\x20<json>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Database\x20management\x20commands','\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','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Update\x20a\x20campaign','-C,\x20--directory\x20<path>','colorFn','session','Create\x20a\x20new\x20profile','User\x20management\x20commands','--workspace\x20<name>','Delete\x20a\x20campaign','then','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Run\x20tests\x20for\x20an\x20LLM\x20agent','\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','List\x20all\x20available\x20profiles','resume\x20<name-or-id>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','-u,\x20--use','--attempt-id\x20<id>','kill','LLM\x20project\x20management','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Job\x20priority\x20(-2\x20to\x202)','create\x20<parent_name>\x20<folder_name>','templates\x20[pattern]','--no-count-population','--retry-limit\x20<0~32>','api\x20[endpoint]','commandUsage','show\x20[name]','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--master','Agent\x20prompt/instructions','log\x20<chat-id>','-f,\x20--force','133ylQcRe','--delay\x20<seconds>','--attribute\x20[name]','--in\x20<name>','push\x20[target]','--stream','Run\x20a\x20scheduled\x20query\x20immediately','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','attempt','delete\x20<name-or-id>','-n,\x20--name\x20<name>','use\x20[resource]\x20[value]','--force','Workflow\x20parameter\x20(repeatable)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','-p,\x20--profile\x20<name>','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','delete\x20<agent-name>','hidden','Skip\x20population\x20counting','test\x20[path]','Create\x20a\x20scheduled\x20query','run\x20<name>','pause\x20<name-or-id>','registeredArguments','list','delete\x20<args...>','help','Model\x20type\x20(default:\x20claude-4.5-sonnet)','--reason\x20<text>','Update\x20a\x20workspace','Delete\x20a\x20scheduled\x20query','option','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','length','--system-prompt\x20<text>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','List\x20all\x20users\x20in\x20the\x20account','user','validate\x20[target]','--param\x20<key=value>','--result\x20<url>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','--json','information_schema','Add\x20attributes\x20from\x20JSON\x20file','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--attributes\x20<json>','query\x20[sql]','-o,\x20--output\x20<dir>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Workflow\x20attempt\x20management','DEBUG','HTML\x20template\x20content','Launch\x20a\x20campaign','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','desc\x20[segment_name]','Query\x20type:\x20trino\x20or\x20hive','LLM\x20agent\x20management','folders\x20<parent_name>','beefree','slice','Open\x20segment\x20in\x20web\x20browser','Show\x20job\x20details','Follow/watch\x20timeline\x20for\x20running\x20attempts','format','Overwrite\x20local\x20changes\x20without\x20confirmation','show\x20[segment_name]','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','--yes','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','tsv','models','--type\x20<api_type>','\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','Delete\x20a\x20workspace','--site\x20<site>','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Parse\x20and\x20validate\x20without\x20executing','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','pull\x20[parent_or_file]','List\x20secret\x20keys\x20for\x20a\x20project','Parent\x20segment\x20management','Temperature\x20(0.0-2.0,\x20default:\x200.7)','unset\x20<resource>','Commands:','list\x20[pattern]','commands','Create\x20a\x20new\x20LLM\x20project','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','view\x20[segment_name]','--enriched','Skip\x20validation\x20of\x20.dig\x20files','Invalid\x20editor\x20type:\x20','List\x20available\x20connector\x20types','-o,\x20--output\x20<file>','tables\x20[pattern]','--editor-type\x20<type>','statusline','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','apiKey','\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[table]','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Open\x20parent\x20segment\x20in\x20web\x20browser','--no-color','timeline\x20[project.workflow]','--kind\x20<type>',',\x20version\x20','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','\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','Change\x20to\x20directory\x20before\x20executing\x20command','--max-tool-iterations\x20<n>','\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','--segment\x20<path>','--description\x20<desc>','--interval\x20<range>','Parent\x20folder\x20name\x20for\x20nested\x20folders','--version','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--params\x20<json>','padEnd','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20timeline\x20for\x20specific\x20attempt','Email\x20subject\x20template','Name\x20for\x20the\x20new\x20project\x20(required)','Filtering\x20rule\x20as\x20JSON\x20string','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','update\x20<agent-name>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','subcommandDescription','--name\x20<name>','push\x20[path]','claude\x20[args...]','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','[attempt-id]','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','--llm-project\x20<name>','Run\x20Trino\x20query\x20with\x20streaming\x20results','--starter-message\x20<text>','catch','get','logs','parent-segment','--tsv','--behavior\x20[name]','Include\x20retried\x20attempts','Pause\x20a\x20campaign','includes','--limit\x20<rows>','Campaign\x20description','--color','--json-columns\x20<cols>','--table','Force\x20retry\x20even\x20if\x20not\x20failed','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','isArray','--add-behaviors-file\x20<file>','secrets','delete\x20<project-name-or-id>','INFO','--agent\x20<ref>','isTTY','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','directory','Task\x20name\x20for\x20logs\x20action','join','push\x20[file]','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','use\x20<path>','2367164JHHJNl','Limit\x20number\x20of\x20rows','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Output\x20directory','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Pull\x20child\x20segments\x20to\x20YAML\x20files','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','opts','Read\x20query\x20from\x20file','RT\x202.0\x20configuration\x20management','template','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Setup\x20API\x20key\x20authentication\x20interactively','schedule','Generate\x20test\x20conversations\x20without\x20evaluation','Campaign\x20name','result\x20<job-id>','isDirectory','--default','auth','--database\x20<db>','_hidden','Output\x20as\x20JSON','Unknown\x20action:\x20','Pull\x20workflow\x20project\x20to\x20local\x20folder','Timezone\x20for\x20cron','\x20-\x20built\x20','aliases','schema\x20<type>','stats\x20<name-or-path>','[action]','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','desc','0.7','padWidth','site','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','--new','json','--resume-from\x20<task>','--status\x20<status>','Submit\x20a\x20job','database','Attempt\x20ID','Maximum\x20tool\x20iterations\x20(default:\x204)','--session-id\x20<id>','--schedule-option\x20<value>','Email\x20template\x20management','Create\x20a\x20workspace','duplicate\x20<name-or-id>','--chat-id\x20<id>','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','show\x20<name-or-id>','Personalization\x20service\x20management','--max-depth\x20<depth>','--name\x20<text>','allowUnknownOption','--stage\x20<name>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','tdx\x20','update\x20<name-or-id>','--skip-validation','Show\x20segment\x20details\x20(alias\x20for\x20view)','-y,\x20--yes','--data\x20<data>','create\x20<name>','18YNBfeU','Push\x20without\x20confirmation','Show\x20schedule\x20execution\x20history','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','5kkifMC','Move\x20to\x20folder','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','show\x20<folder_ref>','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','project','Resume\x20from\x20specific\x20task\x20(retry)','--from\x20<n>','List\x20agents\x20in\x20current\x20project','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','configureHelp','logLevel','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--behaviors\x20<json>','--email-sender-id\x20<id>','--start-at\x20<datetime>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Database\x20to\x20use\x20(overrides\x20context)','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','--schedule-type\x20<type>','after','446041DkFUEE','List\x20all\x20data\x20connections','Output\x20as\x20JSON\x20Lines','--dry-run','command','--type\x20<type>','fields\x20[parent_name]','sql\x20[name]','CDP\x20segment\x20management\x20commands','Ending\x20offset\x20(default:\x2020)','Show\x20authentication\x20status\x20and\x20current\x20context','Starter\x20message','--prompt\x20<text>','428aDbazy','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Clear\x20session\x20context','Export\x20journey(s)\x20as\x20YAML\x20files','journey','Show\x20the\x20most\x20recent\x20chat','Show\x20connection\x20details\x20by\x20name','Database\x20name','run\x20[workflow]','--add-behaviors\x20<json>','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--add-attributes-file\x20<file>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','preview\x20[file]','trino','Agent\x20description','GET','options','profiles','Plaintext\x20template\x20content','mcp','--delete','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Add\x20attributes\x20as\x20JSON\x20string','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Data\x20connection\x20management\x20(for\x20activations/exports)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','-X,\x20--method\x20<method>','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','buildTime','System\x20prompt/instructions\x20(default:\x20empty)','--table\x20<table>','--session\x20<id>','Show\x20journey\x20statistics','Updated\x20schedule\x20option','Workspace\x20management','log','3182090qHJXgE','setup','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','push\x20[parent_or_file]','stdout','--follow','table','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Request\x20body\x20as\x20JSON\x20string','projects\x20[pattern]','jsonl','kill\x20<job-id>','history\x20<name>','\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','-f,\x20--file\x20<path>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','list\x20[project]','Behaviors\x20from\x20JSON\x20file','submit\x20[query]','Output\x20folder\x20(default:\x20{project_name}.llm)','Continue\x20most\x20recent\x20conversation','--output\x20<file>','claude-4.5-sonnet','argv','Show\x20segment\x20schema\x20(column\x20types)','pull\x20<project>\x20[target-dir]','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','614552IXFrhl','List\x20journeys\x20in\x20current\x20context','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','preAction','3604700ntSECZ','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','list\x20[name]','gitRevision','create\x20[name]','--subject\x20<subject>','workspace','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--rule-file\x20<file>','Workspace\x20description','List\x20jobs','upload\x20[project-name-or-dir]','Resume\x20a\x20conversation\x20(shows\x20selector)','Workspace\x20name\x20(required)','Directory\x20does\x20not\x20exist:\x20','Show\x20stats\x20for\x20specific\x20stage','Updated\x20description','subcommandTerm','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','-r,\x20--resume','argument','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','init\x20[name]','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Timezone\x20(e.g.,\x20America/Los_Angeles)','describe','Customer\x20group\x20as\x20JSON\x20string','Include\x20retried\x20attempts\x20(for\x20list)','profile','desc\x20[name]','--format\x20<format>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Preview\x20changes\x20without\x20pushing','us01','-1d','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','workflow','name','--to\x20<n>','debug','createAsync','addHelpText','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--jsonl','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','-d,\x20--database\x20<db>','requiredOption','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','info\x20[segment_name]','10407LfFHVe','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Output\x20file\x20path','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Pause\x20a\x20running\x20journey','users','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Segment\x20description','--description\x20<text>','--plaintext\x20<text>','run','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','create\x20<segment_name>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--to\x20<timestamp>','optionDescription','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','-o,\x20--output\x20<folder>','Run\x20specific\x20tests\x20(comma-separated)','Duplicate\x20a\x20campaign','injectIntoOptions','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','push','Manage\x20workflow\x20project\x20secrets','set\x20<args...>','filter','-r,\x20--recursive','--html\x20<html>','backup\x20<name>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Path\x20is\x20not\x20a\x20directory:\x20','resume\x20<name-or-path>','--include-subtasks','journeys\x20[pattern]','pause\x20<name-or-path>','--parent-folder\x20<name>','--engine-version\x20<version>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Add\x20behaviors\x20as\x20JSON\x20string','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','New\x20campaign\x20name','set\x20<key=value>','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','--rule\x20<json>','forEach','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','action','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','download\x20<project-name>\x20[output-dir]','status','Workflow\x20session\x20management','parents\x20[pattern]','Folder\x20name\x20for\x20organization','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Skip\x20confirmation\x20prompts','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Custom\x20revision\x20name\x20(default:\x20timestamp)','Cron\x20expression\x20for\x20scheduling','[options]\x20--\x20[claude-code-args...]','Set\x20or\x20show\x20parent\x20segment\x20context','--timezone\x20<tz>','Usage:\x20','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','describe\x20[table]','hook','--session-time\x20<time>','update\x20<name>','segments\x20[path]','campaign','--clear','Retry\x20limit\x20(0\x20to\x2032)','--catalog\x20<catalog>','Remove\x20a\x20profile','fields\x20[name]','Enable\x20verbose\x20logging','trace','Options:','--debug','Trino\x20catalog\x20(default:\x20td)','Delete\x20an\x20email\x20template','Result\x20output\x20destination\x20URL','summary','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','description','--no-eval','campaigns\x20[pattern]','tasks','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--full','Workspace\x20name','update\x20<segment_name>','create','Master\x20database\x20name','Resume\x20a\x20paused\x20campaign','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','commandDescription','INVALID_ARGUMENT','-v,\x20--verbose','List\x20available\x20LLM\x20models','Agent\x20name','tdx','validate\x20[name]','chdir','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','error','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','--behaviors-file\x20<file>','stderr','restore\x20<folder>','Override\x20project\x20name','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Update\x20an\x20email\x20template','Email\x20sender\x20ID\x20for\x20delivery','attempt:','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Update\x20an\x20existing\x20agent','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','remove\x20<name>','repeat','preview\x20[name]','Create\x20segment\x20folder','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','settings\x20<type>','Output\x20file\x20path\x20(default:\x20<name>.yml)','--reeval','show\x20<job-id>','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','workflows\x20[project]','Skip\x20confirmation\x20prompt','--priority\x20<-2~2>','--from\x20<timestamp>','Behaviors\x20as\x20JSON\x20string','--folder\x20<name>','AI-native\x20CLI\x20for\x20Treasure\x20Data','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Include\x20subtasks\x20in\x20tasks\x20output','Scheduled\x20query\x20management\x20commands','outputHelp','run\x20[name]','connection','Query\x20engine\x20version','folder','map','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','--include-retried','show\x20<name>','jobs','-w,\x20--web','parent_segment','connections','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--revision\x20<revision>','-d,\x20--database\x20<name>','-d,\x20--database\x20<database>','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','alias','Show\x20schedule\x20details','Start\x20a\x20new\x20chat\x20session','TRACE','pull\x20[name]','use\x20<name>','Updated\x20timezone','-c,\x20--continue','grapesjs','replace','--name\x20<names>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','clone\x20[source-dir]','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','clone\x20[source]','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','list\x20[path]','Preview\x20operation\x20without\x20executing'];a2_0x11b2=function(){return _0x26a7a5;};return a2_0x11b2();}wfSecretsCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1fe))[a2_0x29f913(0x29c)](a2_0x29f913(0x386))[a2_0x29f913(0x275)](async(_0x2dc876,_0x5f02fd)=>{const _0xeffaaf=a2_0x29f913,_0x4ae84f=new WorkflowSecretsListCommand(),_0x23bc64=program[_0xeffaaf(0x165)](),_0x103264=await createTDXInstance(_0x23bc64),_0x4a4197=await _0x4ae84f[_0xeffaaf(0x251)]({'options':{..._0x23bc64,..._0x5f02fd},'args':_0x2dc876?[_0x2dc876]:[],'tdx':_0x103264});gracefulExit(_0x4a4197);}),wfSecretsCmd['command'](a2_0x29f913(0x25f))[a2_0x29f913(0x29c)](a2_0x29f913(0x14e))[a2_0x29f913(0x275)](async(_0x702760,_0x39bfe4)=>{const _0x44e44c=a2_0x29f913,_0x5b1217=new WorkflowSecretsSetCommand(),_0x119025=program['opts'](),_0x46bd1c=await createTDXInstance(_0x119025),_0x5a1ee9=await _0x5b1217[_0x44e44c(0x251)]({'options':{..._0x119025,..._0x39bfe4},'args':_0x702760,'tdx':_0x46bd1c});gracefulExit(_0x5a1ee9);}),wfSecretsCmd['command'](a2_0x29f913(0x348))['description']('Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)')[a2_0x29f913(0x34e)](a2_0x29f913(0x19e),a2_0x29f913(0x2cb))[a2_0x29f913(0x275)](async(_0x4ac11c,_0x324bca)=>{const _0x276cdc=a2_0x29f913,_0x47a8ff=new WorkflowSecretsDeleteCommand(),_0x3feb47=program[_0x276cdc(0x165)](),_0xe44a8a=await createTDXInstance(_0x3feb47),_0xf73f41=await _0x47a8ff[_0x276cdc(0x251)]({'options':{..._0x3feb47,..._0x324bca},'args':_0x4ac11c,'tdx':_0xe44a8a});gracefulExit(_0xf73f41);});const jobCmd=program[a2_0x29f913(0x1bf)]('job')[a2_0x29f913(0x29c)]('Job\x20management\x20commands'),jobListAction=async _0xcac305=>{const _0x10223d=a2_0x29f913,_0x29e21d=new JobListCommand(),_0x3ca5dd=program[_0x10223d(0x165)](),_0x1f2257=await createTDXInstance(_0x3ca5dd),_0x331f4b=await _0x29e21d['run']({'options':{..._0x3ca5dd,..._0xcac305},'args':[],'tdx':_0x1f2257});gracefulExit(_0x331f4b);};jobCmd['command'](a2_0x29f913(0x347))['description'](a2_0x29f913(0x219))[a2_0x29f913(0x34e)](a2_0x29f913(0x187),a2_0x29f913(0x329))[a2_0x29f913(0x275)](jobListAction),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x2dd),{'hidden':!![]})[a2_0x29f913(0x29c)](a2_0x29f913(0x1a4))['option'](a2_0x29f913(0x187),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x29f913(0x275)](jobListAction),jobCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2c8))[a2_0x29f913(0x29c)](a2_0x29f913(0x36f))[a2_0x29f913(0x275)](async(_0x6ce80d,_0x2e72c5)=>{const _0x4c4fdf=a2_0x29f913,_0x4aa5e5=new JobShowCommand(),_0x1947e9=program[_0x4c4fdf(0x165)](),_0x2c3c83=await createTDXInstance(_0x1947e9),_0x4023f0=await _0x4aa5e5[_0x4c4fdf(0x251)]({'options':{..._0x1947e9,..._0x2e72c5},'args':[_0x6ce80d],'tdx':_0x2c3c83});gracefulExit(_0x4023f0);}),jobCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1f8))[a2_0x29f913(0x29c)]('Kill\x20a\x20job')[a2_0x29f913(0x275)](async(_0x3f9b69,_0x59c126)=>{const _0x318dd4=a2_0x29f913,_0xb13f6c=new JobKillCommand(),_0x56e9b8=program[_0x318dd4(0x165)](),_0x3fb03e=await createTDXInstance(_0x56e9b8),_0x17f51f=await _0xb13f6c[_0x318dd4(0x251)]({'options':{..._0x56e9b8,..._0x59c126},'args':[_0x3f9b69],'tdx':_0x3fb03e});gracefulExit(_0x17f51f);}),jobCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x200))[a2_0x29f913(0x29c)](a2_0x29f913(0x188))[a2_0x29f913(0x34e)]('--job-type\x20<type>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)',a2_0x29f913(0x1d6))[a2_0x29f913(0x34e)](a2_0x29f913(0x1fb),a2_0x29f913(0x166))[a2_0x29f913(0x34e)]('--database\x20<name>','Database\x20name\x20(default:\x20information_schema)',a2_0x29f913(0x35b))['action'](async(_0x19feea,_0x3efd54)=>{const _0x2390ff=a2_0x29f913,_0x3af8d1=new JobSubmitCommand(),_0x4be884=program[_0x2390ff(0x165)](),_0x5ad53c=await createTDXInstance(_0x4be884),_0x141297=await _0x3af8d1[_0x2390ff(0x251)]({'options':{..._0x4be884,..._0x3efd54},'args':_0x19feea?[_0x19feea]:[],'tdx':_0x5ad53c});gracefulExit(_0x141297);}),jobCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x16e))['description']('Get\x20job\x20results')['action'](async(_0x5972ab,_0xaf8939)=>{const _0x137a11=a2_0x29f913,_0x4a09db=new JobResultCommand(),_0x1849f7=program[_0x137a11(0x165)](),_0x1a8e7f=await createTDXInstance(_0x1849f7),_0x3e692b=await _0x4a09db[_0x137a11(0x251)]({'options':{..._0x1849f7,..._0xaf8939},'args':[_0x5972ab],'tdx':_0x1a8e7f});gracefulExit(_0x3e692b);});const scheduleCmd=jobCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x16b))[a2_0x29f913(0x29c)](a2_0x29f913(0x2d3));scheduleCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)](a2_0x29f913(0x316))[a2_0x29f913(0x275)](async(_0xf909a2,_0x440e8c)=>{const _0xb77ebe=a2_0x29f913,_0x4544f7=new ScheduleListCommand(),_0x365cde=program[_0xb77ebe(0x165)](),_0x349ab7=await createTDXInstance(_0x365cde),_0x4cf4c3=await _0x4544f7[_0xb77ebe(0x251)]({'options':{..._0x365cde,..._0x440e8c},'args':_0xf909a2?[_0xf909a2]:[],'tdx':_0x349ab7});gracefulExit(_0x4cf4c3);}),scheduleCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2dc))['description'](a2_0x29f913(0x2e7))[a2_0x29f913(0x275)](async(_0x5e4881,_0x265406)=>{const _0x296e41=new ScheduleShowCommand(),_0x15d2ba=program['opts'](),_0x5c94fe=await createTDXInstance(_0x15d2ba),_0x49a929=await _0x296e41['run']({'options':{..._0x15d2ba,..._0x265406},'args':[_0x5e4881],'tdx':_0x5c94fe});gracefulExit(_0x49a929);}),scheduleCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1a0))['description'](a2_0x29f913(0x343))['requiredOption'](a2_0x29f913(0x240),a2_0x29f913(0x1cf))[a2_0x29f913(0x241)](a2_0x29f913(0x1fb),a2_0x29f913(0x166))[a2_0x29f913(0x34e)](a2_0x29f913(0x1c0),a2_0x29f913(0x369),a2_0x29f913(0x1d6))[a2_0x29f913(0x34e)]('--cron\x20<expression>',a2_0x29f913(0x281))[a2_0x29f913(0x34e)](a2_0x29f913(0x284),'Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0x29f913(0x34e)](a2_0x29f913(0x32f),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x29f913(0x34e)](a2_0x29f913(0x2cc),a2_0x29f913(0x321))[a2_0x29f913(0x34e)](a2_0x29f913(0x325),a2_0x29f913(0x28e))[a2_0x29f913(0x34e)](a2_0x29f913(0x26b),a2_0x29f913(0x2d7))['option'](a2_0x29f913(0x358),a2_0x29f913(0x298))['action'](async(_0x3ede82,_0x10fdea)=>{const _0x48d46a=a2_0x29f913,_0xa6dd7a=new ScheduleCreateCommand(),_0x4ccf80=program['opts'](),_0x49b3d8=await createTDXInstance(_0x4ccf80),_0x11ad0f=await _0xa6dd7a[_0x48d46a(0x251)]({'options':{..._0x4ccf80,..._0x10fdea},'args':[_0x3ede82],'tdx':_0x49b3d8});gracefulExit(_0x11ad0f);}),scheduleCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x28a))[a2_0x29f913(0x29c)]('Update\x20a\x20scheduled\x20query')[a2_0x29f913(0x34e)](a2_0x29f913(0x240),'Database\x20name')[a2_0x29f913(0x34e)](a2_0x29f913(0x1fb),a2_0x29f913(0x166))['option'](a2_0x29f913(0x1c0),a2_0x29f913(0x369))[a2_0x29f913(0x34e)]('--cron\x20<expression>','Cron\x20expression\x20for\x20scheduling')[a2_0x29f913(0x34e)](a2_0x29f913(0x284),a2_0x29f913(0x177))[a2_0x29f913(0x34e)](a2_0x29f913(0x32f),'Delay\x20in\x20seconds\x20before\x20execution')['option'](a2_0x29f913(0x2cc),a2_0x29f913(0x321))[a2_0x29f913(0x34e)](a2_0x29f913(0x325),a2_0x29f913(0x28e))['option'](a2_0x29f913(0x26b),'Query\x20engine\x20version')[a2_0x29f913(0x34e)](a2_0x29f913(0x358),a2_0x29f913(0x298))[a2_0x29f913(0x275)](async(_0x47dbd7,_0x397e05)=>{const _0x525166=a2_0x29f913,_0x39ca41=new ScheduleUpdateCommand(),_0x370916=program[_0x525166(0x165)](),_0x166588=await createTDXInstance(_0x370916),_0x53afab=await _0x39ca41[_0x525166(0x251)]({'options':{..._0x370916,..._0x397e05},'args':[_0x47dbd7],'tdx':_0x166588});gracefulExit(_0x53afab);}),scheduleCmd[a2_0x29f913(0x1bf)]('delete\x20<name>')['description'](a2_0x29f913(0x34d))['action'](async(_0x1b9133,_0x765a46)=>{const _0x2a26d0=a2_0x29f913,_0x225052=new ScheduleDeleteCommand(),_0x1c5b94=program[_0x2a26d0(0x165)](),_0x2cec1d=await createTDXInstance(_0x1c5b94),_0x1aff68=await _0x225052[_0x2a26d0(0x251)]({'options':{..._0x1c5b94,..._0x765a46},'args':[_0x1b9133],'tdx':_0x2cec1d});gracefulExit(_0x1aff68);}),scheduleCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x344))[a2_0x29f913(0x29c)](a2_0x29f913(0x334))[a2_0x29f913(0x34e)]('--time\x20<iso8601>',a2_0x29f913(0x183))[a2_0x29f913(0x34e)]('--num\x20<1-10>',a2_0x29f913(0x2be))[a2_0x29f913(0x275)](async(_0x1ea9bd,_0x20b4c6)=>{const _0x43a412=a2_0x29f913,_0x4ff19d=new ScheduleRunCommand(),_0x2367bd=program['opts'](),_0x557bbd=await createTDXInstance(_0x2367bd),_0xfe8f3=await _0x4ff19d[_0x43a412(0x251)]({'options':{..._0x2367bd,..._0x20b4c6},'args':[_0x1ea9bd],'tdx':_0x557bbd});gracefulExit(_0xfe8f3);}),scheduleCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1f9))['description'](a2_0x29f913(0x1a3))[a2_0x29f913(0x34e)](a2_0x29f913(0x1ac),'Starting\x20offset\x20(default:\x200)')[a2_0x29f913(0x34e)](a2_0x29f913(0x239),a2_0x29f913(0x1c4))[a2_0x29f913(0x275)](async(_0x5e6185,_0x4c116)=>{const _0x5926d6=a2_0x29f913,_0x42772e=new ScheduleHistoryCommand(),_0x399d23=program[_0x5926d6(0x165)](),_0x2f32ca=await createTDXInstance(_0x399d23),_0x56e7c0=await _0x42772e[_0x5926d6(0x251)]({'options':{..._0x399d23,..._0x4c116},'args':[_0x5e6185],'tdx':_0x2f32ca});gracefulExit(_0x56e7c0);});const llmCmd=program[a2_0x29f913(0x1bf)]('llm')['description'](a2_0x29f913(0x38e));llmCmd['command']('use\x20<project-name>')[a2_0x29f913(0x29c)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x29f913(0x275)](async(_0x11caa0,_0x4d95f3)=>{const _0x155865=a2_0x29f913,_0x412d6d=new LLMUseCommand(),_0x35a49c=program[_0x155865(0x165)](),_0xc28e2a=await createTDXInstance(_0x35a49c),_0x2c9517=await _0x412d6d[_0x155865(0x251)]({'options':{..._0x35a49c,..._0x4d95f3},'args':[_0x11caa0],'tdx':_0xc28e2a});gracefulExit(_0x2c9517);}),llmCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x37a))[a2_0x29f913(0x29c)](a2_0x29f913(0x2ab))[a2_0x29f913(0x275)](async _0x1d134d=>{const _0x21abd1=a2_0x29f913,_0x942162=new LLMModelsCommand(),_0x4f698d=program['opts'](),_0x15a687=await createTDXInstance(_0x4f698d),_0x55970a=await _0x942162[_0x21abd1(0x251)]({'options':{..._0x4f698d,..._0x1d134d},'args':[],'tdx':_0x15a687});gracefulExit(_0x55970a);});const projectCmd=llmCmd[a2_0x29f913(0x1bf)]('project')[a2_0x29f913(0x29c)](a2_0x29f913(0x31f)),llmProjectListAction=async(_0x3f3d19,_0x4e2843)=>{const _0x229023=a2_0x29f913,_0x24d59c=new LLMProjectsCommand(),_0x58d71e=program[_0x229023(0x165)](),_0x4b2fd3=await createTDXInstance(_0x58d71e),_0x297812=await _0x24d59c['run']({'options':{..._0x58d71e,..._0x4e2843},'args':_0x3f3d19?[_0x3f3d19]:[],'tdx':_0x4b2fd3});gracefulExit(_0x297812);};projectCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x29f913(0x275)](llmProjectListAction),llmCmd['command'](a2_0x29f913(0x1f6))[a2_0x29f913(0x29c)](a2_0x29f913(0x2c4))['action'](llmProjectListAction),projectCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1a0))[a2_0x29f913(0x29c)](a2_0x29f913(0x38d))[a2_0x29f913(0x34e)](a2_0x29f913(0x24f),'Project\x20description')[a2_0x29f913(0x275)](async(_0xd98511,_0x14084d)=>{const _0x76995c=a2_0x29f913,_0x4f9afb=new LLMProjectCreateCommand(),_0x263094=program[_0x76995c(0x165)](),_0x5b7c3d=await createTDXInstance(_0x263094),_0x1a01ee=await _0x4f9afb[_0x76995c(0x251)]({'options':{..._0x263094,..._0x14084d},'args':[_0xd98511],'tdx':_0x5b7c3d});gracefulExit(_0x1a01ee);}),projectCmd['command']('delete\x20<name>')[a2_0x29f913(0x29c)]('Delete\x20an\x20LLM\x20project')[a2_0x29f913(0x275)](async(_0x53bec8,_0x931e41)=>{const _0x5d2b2e=a2_0x29f913,_0x507314=new LLMProjectDeleteCommand(),_0x1ec1e2=program[_0x5d2b2e(0x165)](),_0x5e8ed8=await createTDXInstance(_0x1ec1e2),_0x35f788=await _0x507314[_0x5d2b2e(0x251)]({'options':{..._0x1ec1e2,..._0x931e41},'args':[_0x53bec8],'tdx':_0x5e8ed8});gracefulExit(_0x35f788);}),projectCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x263))[a2_0x29f913(0x29c)](a2_0x29f913(0x22a))[a2_0x29f913(0x34e)](a2_0x29f913(0x258),a2_0x29f913(0x201))[a2_0x29f913(0x34e)](a2_0x29f913(0x1be),a2_0x29f913(0x2a0))[a2_0x29f913(0x275)](async(_0x388c6f,_0xebe0de)=>{const _0x449428=a2_0x29f913,_0x5c0723=new LLMProjectBackupCommand(),_0x3ab4e8=program[_0x449428(0x165)](),_0x44be53=await createTDXInstance(_0x3ab4e8),_0x234107=await _0x5c0723[_0x449428(0x251)]({'options':{..._0x3ab4e8,..._0xebe0de},'args':[_0x388c6f],'tdx':_0x44be53});gracefulExit(_0x234107);}),projectCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2b5))[a2_0x29f913(0x29c)](a2_0x29f913(0x182))['option']('--name\x20<new-name>','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x29f913(0x34e)](a2_0x29f913(0x1be),a2_0x29f913(0x224))[a2_0x29f913(0x275)](async(_0x205f3e,_0x12a813)=>{const _0x28c95b=a2_0x29f913,_0x35bbc4=new LLMProjectRestoreCommand(),_0x59aab2=program[_0x28c95b(0x165)](),_0x5ddaa1=await createTDXInstance(_0x59aab2),_0x32903a=await _0x35bbc4['run']({'options':{..._0x59aab2,..._0x12a813},'args':[_0x205f3e],'tdx':_0x5ddaa1});gracefulExit(_0x32903a);});const llmAgentListAction=async(_0x3278e2,_0x4ef2be)=>{const _0x26adc0=a2_0x29f913,_0x5a796d=new LLMAgentsCommand(),_0xb8387f=program[_0x26adc0(0x165)](),_0x4a76d6=await createTDXInstance(_0xb8387f),_0x125b4f=await _0x5a796d[_0x26adc0(0x251)]({'options':{..._0xb8387f,..._0x4ef2be},'args':_0x3278e2?[_0x3278e2]:[],'tdx':_0x4a76d6});gracefulExit(_0x125b4f);};llmCmd[a2_0x29f913(0x1bf)]('agents\x20[pattern]')[a2_0x29f913(0x29c)](a2_0x29f913(0x308))[a2_0x29f913(0x275)](llmAgentListAction),program[a2_0x29f913(0x1bf)]('agents\x20[pattern]')[a2_0x29f913(0x29c)](a2_0x29f913(0x308))[a2_0x29f913(0x275)](llmAgentListAction),llmCmd[a2_0x29f913(0x1bf)]('history\x20[chat-id]')['description'](a2_0x29f913(0x271))[a2_0x29f913(0x34e)]('--last','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x29f913(0x275)](async(_0x952154,_0x581923)=>{const _0x5a0a8c=a2_0x29f913,_0x470229=new LLMHistoryCommand(),_0x3a11ee=program[_0x5a0a8c(0x165)](),_0x5b5dcc=await createTDXInstance(_0x3a11ee),_0x4d8420=await _0x470229[_0x5a0a8c(0x251)]({'options':{..._0x3a11ee,..._0x581923},'args':_0x952154?[_0x952154]:[],'tdx':_0x5b5dcc});gracefulExit(_0x4d8420);});isExperimentalAvailable()&&llmCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x32c))[a2_0x29f913(0x29c)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')['action'](async(_0x2044dc,_0x491055)=>{const _0x1d72ef=a2_0x29f913,_0x41cfd1=new LLMLogCommand(),_0x4de137=program[_0x1d72ef(0x165)](),_0x8e78f2=await createTDXInstance(_0x4de137),_0x468e97=await _0x41cfd1['run']({'options':{..._0x4de137,..._0x491055},'args':[_0x2044dc],'tdx':_0x8e78f2});gracefulExit(_0x468e97);});program[a2_0x29f913(0x1bf)](a2_0x29f913(0x138))['usage'](a2_0x29f913(0x282))[a2_0x29f913(0x29c)](a2_0x29f913(0x2b0))[a2_0x29f913(0x34e)](a2_0x29f913(0x2ed),a2_0x29f913(0x202))['option'](a2_0x29f913(0x222),a2_0x29f913(0x21b))[a2_0x29f913(0x34e)]('--no-proxy',a2_0x29f913(0x221))[a2_0x29f913(0x197)]()['allowExcessArguments'](!![])[a2_0x29f913(0x23c)](a2_0x29f913(0x1ba),a2_0x29f913(0x30b))[a2_0x29f913(0x275)](async(_0x181860,_0xfe0445)=>{const _0x4c79b0=a2_0x29f913,_0x2fd9b4=program[_0x4c79b0(0x165)](),_0x4fe107=Array[_0x4c79b0(0x150)](_0x181860)?_0x181860:[];if(_0x4fe107[0x0]===_0x4c79b0(0x397)){const _0x1aecfc=new ClaudeStatuslineCommand(),_0x5b0494=await _0x1aecfc[_0x4c79b0(0x251)]({'options':{..._0x2fd9b4,..._0xfe0445},'args':_0x4fe107[_0x4c79b0(0x36d)](0x1),'tdx':null});gracefulExit(_0x5b0494);}if(_0x4fe107[0x0]==='usage'){const _0x14c0f4=new ClaudeUsageCommand(),_0x244f81=await _0x14c0f4[_0x4c79b0(0x251)]({'options':{..._0x2fd9b4,..._0xfe0445},'args':_0x4fe107[_0x4c79b0(0x36d)](0x1),'tdx':null});gracefulExit(_0x244f81);}const _0x34ddff=new ClaudeCommand(),_0x11a16d=await createTDXInstance(_0x2fd9b4),_0x34e57e=await _0x34ddff['run']({'options':{..._0x2fd9b4,..._0xfe0445},'args':_0x4fe107,'tdx':_0x11a16d});gracefulExit(_0x34e57e);}),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x339))[a2_0x29f913(0x29c)](a2_0x29f913(0x1b6))[a2_0x29f913(0x34e)](a2_0x29f913(0x28d),a2_0x29f913(0x1ca))[a2_0x29f913(0x34e)]('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x29f913(0x275)](async(_0x4be6fc,_0x50e1b8,_0x4cd1c5)=>{const _0x515837=a2_0x29f913,_0x1ac0e2=new UseCommand(),_0x1f09e1=program['opts'](),_0x38bb10=[];if(_0x4be6fc)_0x38bb10['push'](_0x4be6fc);if(_0x50e1b8)_0x38bb10[_0x515837(0x25d)](_0x50e1b8);const _0x5935e6=await _0x1ac0e2[_0x515837(0x251)]({'options':{..._0x1f09e1,..._0x4cd1c5},'args':_0x38bb10,'tdx':null});gracefulExit(_0x5935e6);}),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x279))[a2_0x29f913(0x29c)](a2_0x29f913(0x1c5))[a2_0x29f913(0x275)](async _0x4771df=>{const _0x23fb9e=a2_0x29f913,_0x503147=new StatusCommand(),_0x3e37b1=program[_0x23fb9e(0x165)](),_0xc1d2ce=await createTDXInstance(_0x3e37b1),_0x166444=await _0x503147[_0x23fb9e(0x251)]({'options':{..._0x3e37b1,..._0x4771df},'args':[],'tdx':_0xc1d2ce});gracefulExit(_0x166444);}),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x389))[a2_0x29f913(0x29c)](a2_0x29f913(0x1d2))[a2_0x29f913(0x34e)](a2_0x29f913(0x170),a2_0x29f913(0x300))[a2_0x29f913(0x275)](async(_0x5bddbd,_0xd2e523)=>{const _0xa447f9=a2_0x29f913,_0x19c3c4=new UnsetCommand(),_0x10c459=program[_0xa447f9(0x165)](),_0x3af39d=await _0x19c3c4[_0xa447f9(0x251)]({'options':{..._0x10c459,..._0xd2e523},'args':[_0x5bddbd],'tdx':null});gracefulExit(_0x3af39d);}),program['command']('chats')[a2_0x29f913(0x29c)]('Interactive\x20chat\x20selector')[a2_0x29f913(0x34e)]('--last',a2_0x29f913(0x1cd))[a2_0x29f913(0x275)](async _0x103733=>{const _0x1c80b9=a2_0x29f913,_0x2fd423=new ChatsCommand(),_0x4d1838=program[_0x1c80b9(0x165)](),_0x3a5d1e=await createTDXInstance(_0x4d1838),_0x36f8f2=await _0x2fd423[_0x1c80b9(0x251)]({'options':{..._0x4d1838,..._0x103733},'args':[],'tdx':_0x3a5d1e});gracefulExit(_0x36f8f2);});const authCmd=program[a2_0x29f913(0x1bf)](a2_0x29f913(0x171))[a2_0x29f913(0x29c)]('Authentication\x20management');async function runAuthStatusCommand(_0x52fa26){const _0x381143=a2_0x29f913,_0x3fef7d=new AuthStatusCommand(),_0x35d6a1=program[_0x381143(0x165)](),_0x456138=await createTDXInstance(_0x35d6a1),_0x575e48=await _0x3fef7d[_0x381143(0x251)]({'options':{..._0x35d6a1,..._0x52fa26},'args':[],'tdx':_0x456138});gracefulExit(_0x575e48);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x29f913(0x1bf)]('status')['description'](a2_0x29f913(0x1de))['action'](runAuthStatusCommand),authCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1ee))[a2_0x29f913(0x29c)](a2_0x29f913(0x16a))[a2_0x29f913(0x23c)](a2_0x29f913(0x1ba),a2_0x29f913(0x117))[a2_0x29f913(0x275)](async _0x1b5b79=>{const _0x43a80a=new AuthSetupCommand(),_0x3a2431=program['opts'](),_0x3e0a7c=await createTDXInstance(_0x3a2431),_0x424d77=await _0x43a80a['run']({'options':{..._0x3a2431,..._0x1b5b79},'args':[],'tdx':_0x3e0a7c});gracefulExit(_0x424d77);}),authCmd[a2_0x29f913(0x1bf)]('clear')['description']('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x29f913(0x23c)](a2_0x29f913(0x1ba),a2_0x29f913(0x318))[a2_0x29f913(0x275)](async _0x5587d5=>{const _0x1bc138=a2_0x29f913,_0x344e40=new AuthClearCommand(),_0x469c75=program[_0x1bc138(0x165)](),_0x18eb38=await _0x344e40['run']({'options':{..._0x469c75,..._0x5587d5},'args':[],'tdx':null});gracefulExit(_0x18eb38);});const userCmd=program['command'](a2_0x29f913(0x355))[a2_0x29f913(0x29c)](a2_0x29f913(0x312)),userListAction=async _0x31c4a8=>{const _0x4c59e8=a2_0x29f913,_0x4af63a=new UserListCommand(),_0x14c181=program[_0x4c59e8(0x165)](),_0x4749ba=await createTDXInstance(_0x14c181),_0x24533d=await _0x4af63a[_0x4c59e8(0x251)]({'options':{..._0x14c181,..._0x31c4a8},'args':[],'tdx':_0x4749ba});gracefulExit(_0x24533d);};userCmd['action'](async _0x596009=>{const _0x492d53=a2_0x29f913,_0xf622b9=new UserCommand(),_0x21ef5d=program[_0x492d53(0x165)](),_0xb4fa3f=await createTDXInstance(_0x21ef5d),_0x3e2fc4=await _0xf622b9[_0x492d53(0x251)]({'options':{..._0x21ef5d,..._0x596009},'args':[],'tdx':_0xb4fa3f});gracefulExit(_0x3e2fc4);}),userCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x347))[a2_0x29f913(0x29c)](a2_0x29f913(0x354))[a2_0x29f913(0x275)](userListAction),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x24b))['description'](a2_0x29f913(0x2e5))[a2_0x29f913(0x275)](userListAction),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x1da))['description']('List\x20all\x20available\x20profiles')['action'](async _0xb977db=>{const _0x302489=new ProfilesCommand(),_0x548f1a=program['opts'](),_0x22e7b3=await _0x302489['run']({'options':{..._0x548f1a,..._0xb977db},'args':[],'tdx':null});gracefulExit(_0x22e7b3);});const profileCmd=program[a2_0x29f913(0x1bf)](a2_0x29f913(0x22f))[a2_0x29f913(0x29c)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x29f913(0x275)](()=>{const _0x1849b2=a2_0x29f913;profileCmd[_0x1849b2(0x2d4)]();});const profileListAction=async _0x5467b1=>{const _0x24bb9b=a2_0x29f913,_0x129375=new ProfilesCommand(),_0x31f773=program[_0x24bb9b(0x165)](),_0x5758f1=await _0x129375['run']({'options':{..._0x31f773,..._0x5467b1},'args':[],'tdx':null});gracefulExit(_0x5758f1);};profileCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x347))[a2_0x29f913(0x29c)](a2_0x29f913(0x319))['action'](profileListAction),profileCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x213))['description'](a2_0x29f913(0x311))[a2_0x29f913(0x23c)](a2_0x29f913(0x1ba),a2_0x29f913(0x37c))['action'](async(_0x3c4a8e,_0x2aa4ed)=>{const _0x20f81f=a2_0x29f913,_0x133144=new ProfileCreateCommand(),_0x69fd68=program[_0x20f81f(0x165)](),_0x4c39e9=await _0x133144[_0x20f81f(0x251)]({'options':{..._0x69fd68,..._0x2aa4ed},'args':_0x3c4a8e?[_0x3c4a8e]:[],'tdx':null});gracefulExit(_0x4c39e9);}),profileCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2bf))['description'](a2_0x29f913(0x290))[a2_0x29f913(0x23c)](a2_0x29f913(0x1ba),a2_0x29f913(0x232))[a2_0x29f913(0x275)](async(_0x5e0e51,_0x17ea41)=>{const _0x530297=a2_0x29f913,_0x1d7d97=new ProfileRemoveCommand(),_0x3121cb=program[_0x530297(0x165)](),_0x1b0316=await _0x1d7d97[_0x530297(0x251)]({'options':{..._0x3121cb,..._0x17ea41},'args':[_0x5e0e51],'tdx':null});gracefulExit(_0x1b0316);}),profileCmd['command'](a2_0x29f913(0x270))[a2_0x29f913(0x29c)]('Set\x20a\x20profile\x20configuration\x20value')[a2_0x29f913(0x23c)](a2_0x29f913(0x1ba),a2_0x29f913(0x120))[a2_0x29f913(0x275)](async(_0x2f6060,_0x1e1749)=>{const _0x5daf70=a2_0x29f913,_0x36cd8f=new ProfileSetCommand(),_0x2c35ef=program[_0x5daf70(0x165)](),_0x50e346=await _0x36cd8f[_0x5daf70(0x251)]({'options':{..._0x2c35ef,..._0x1e1749},'args':[_0x2f6060],'tdx':null});gracefulExit(_0x50e346);}),profileCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2eb))[a2_0x29f913(0x29c)](a2_0x29f913(0x20c))[a2_0x29f913(0x34e)](a2_0x29f913(0x170),a2_0x29f913(0x277))[a2_0x29f913(0x23c)]('after',a2_0x29f913(0x123))[a2_0x29f913(0x275)](async(_0x405155,_0x569cfb)=>{const _0x570b6f=a2_0x29f913,_0x1efddd=new ProfileUseCommand(),_0x258851=program[_0x570b6f(0x165)](),_0x352497=await _0x1efddd[_0x570b6f(0x251)]({'options':{..._0x258851,..._0x569cfb},'args':[_0x405155],'tdx':null});gracefulExit(_0x352497);});const engageCmd=program['command']('engage')[a2_0x29f913(0x29c)]('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x2e2c82=>{return async(_0x43b70f,_0x3ffa4c)=>{const _0x33034d=a2_0x4297,_0x1d99a8=new _0x2e2c82(),_0x6cc64e=program[_0x33034d(0x165)](),_0x1fc485=await createTDXInstance(_0x6cc64e),_0xd8c527=await _0x1d99a8[_0x33034d(0x251)]({'options':{..._0x6cc64e,..._0x3ffa4c},'args':[_0x43b70f],'tdx':_0x1fc485});gracefulExit(_0xd8c527);};},createEngageNoArgAction=_0x1af08c=>{return async _0x2cd6ef=>{const _0x529f5b=a2_0x4297,_0x508347=new _0x1af08c(),_0x51479c=program[_0x529f5b(0x165)](),_0x4a4f71=await createTDXInstance(_0x51479c),_0x235991=await _0x508347[_0x529f5b(0x251)]({'options':{..._0x51479c,..._0x2cd6ef},'args':[],'tdx':_0x4a4f71});gracefulExit(_0x235991);};},campaignCmd=engageCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x28c))[a2_0x29f913(0x29c)]('Campaign\x20management'),campaignListAction=async(_0x1dc8b0,_0x364c60)=>{const _0x52054c=a2_0x29f913,_0x2df459=new EngageCampaignsCommand(),_0x4968f3=program[_0x52054c(0x165)](),_0x194b4e=await createTDXInstance(_0x4968f3),_0x124b22=await _0x2df459[_0x52054c(0x251)]({'options':{..._0x4968f3,..._0x364c60},'args':_0x1dc8b0?[_0x1dc8b0]:[],'tdx':_0x194b4e});gracefulExit(_0x124b22);};campaignCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)](a2_0x29f913(0x25c))[a2_0x29f913(0x34e)](a2_0x29f913(0x1c0),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x29f913(0x34e)]('--status\x20<status>',a2_0x29f913(0x254))['option'](a2_0x29f913(0x313),a2_0x29f913(0x2a2))[a2_0x29f913(0x275)](campaignListAction),engageCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x29e))[a2_0x29f913(0x29c)](a2_0x29f913(0x13b))[a2_0x29f913(0x34e)](a2_0x29f913(0x1c0),a2_0x29f913(0x274))[a2_0x29f913(0x34e)]('--status\x20<status>',a2_0x29f913(0x254))[a2_0x29f913(0x34e)](a2_0x29f913(0x313),a2_0x29f913(0x2a2))[a2_0x29f913(0x275)](campaignListAction),campaignCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x193))[a2_0x29f913(0x29c)]('Show\x20campaign\x20details')[a2_0x29f913(0x34e)]('--workspace\x20<name>','Workspace\x20name')[a2_0x29f913(0x34e)](a2_0x29f913(0x2a1),a2_0x29f913(0x27d))[a2_0x29f913(0x275)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2a4))[a2_0x29f913(0x29c)]('Create\x20a\x20new\x20campaign')['requiredOption']('--name\x20<name>',a2_0x29f913(0x16d))['requiredOption'](a2_0x29f913(0x1c0),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x29f913(0x34e)]('--workspace\x20<name>',a2_0x29f913(0x21c))[a2_0x29f913(0x34e)](a2_0x29f913(0x125),a2_0x29f913(0x149))['option'](a2_0x29f913(0x124),a2_0x29f913(0x1b8))[a2_0x29f913(0x34e)](a2_0x29f913(0x1b3),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x29f913(0x34e)](a2_0x29f913(0x14b),a2_0x29f913(0x226))[a2_0x29f913(0x34e)](a2_0x29f913(0x1b4),a2_0x29f913(0x361))[a2_0x29f913(0x34e)]('--timezone\x20<tz>',a2_0x29f913(0x1c9))[a2_0x29f913(0x275)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x19b))[a2_0x29f913(0x29c)](a2_0x29f913(0x30d))[a2_0x29f913(0x34e)]('--workspace\x20<name>','Workspace\x20name')['option']('--name\x20<name>',a2_0x29f913(0x26f))[a2_0x29f913(0x34e)](a2_0x29f913(0x125),a2_0x29f913(0x149))['option'](a2_0x29f913(0x124),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x29f913(0x34e)]('--email-sender-id\x20<id>',a2_0x29f913(0x2b9))[a2_0x29f913(0x34e)](a2_0x29f913(0x14b),a2_0x29f913(0x226))[a2_0x29f913(0x34e)]('--start-at\x20<datetime>',a2_0x29f913(0x361))[a2_0x29f913(0x34e)](a2_0x29f913(0x284),a2_0x29f913(0x1c9))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x337))['description'](a2_0x29f913(0x314))['option'](a2_0x29f913(0x313),'Workspace\x20name')[a2_0x29f913(0x34e)](a2_0x29f913(0x376),a2_0x29f913(0x2cb))[a2_0x29f913(0x275)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command']('launch\x20<name-or-id>')[a2_0x29f913(0x29c)](a2_0x29f913(0x366))[a2_0x29f913(0x34e)](a2_0x29f913(0x313),a2_0x29f913(0x2a2))[a2_0x29f913(0x275)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x29f913(0x345))['description'](a2_0x29f913(0x146))['option'](a2_0x29f913(0x313),a2_0x29f913(0x2a2))[a2_0x29f913(0x275)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x31a))[a2_0x29f913(0x29c)](a2_0x29f913(0x2a6))[a2_0x29f913(0x34e)](a2_0x29f913(0x313),a2_0x29f913(0x2a2))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x29f913(0x190))[a2_0x29f913(0x29c)](a2_0x29f913(0x25a))['option'](a2_0x29f913(0x313),a2_0x29f913(0x2a2))[a2_0x29f913(0x275)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x29f913(0x168))[a2_0x29f913(0x29c)](a2_0x29f913(0x18e)),templateListAction=async(_0x5cc55f,_0x52376e)=>{const _0xf63c78=a2_0x29f913,_0x361d64=new EngageTemplatesCommand(),_0x13a32b=program['opts'](),_0xab2d86=await createTDXInstance(_0x13a32b),_0x34f4e9=await _0x361d64[_0xf63c78(0x251)]({'options':{..._0x13a32b,..._0x52376e},'args':_0x5cc55f?[_0x5cc55f]:[],'tdx':_0xab2d86});gracefulExit(_0x34f4e9);};templateCmd[a2_0x29f913(0x1bf)]('list\x20[pattern]')['description'](a2_0x29f913(0x2a7))[a2_0x29f913(0x34e)]('--workspace\x20<name>',a2_0x29f913(0x2a2))['action'](templateListAction),engageCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x323))['description'](a2_0x29f913(0x276))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x29f913(0x275)](templateListAction),templateCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x193))[a2_0x29f913(0x29c)]('Show\x20email\x20template\x20details')['option'](a2_0x29f913(0x313),a2_0x29f913(0x2a2))['option'](a2_0x29f913(0x2a1),a2_0x29f913(0x27d))[a2_0x29f913(0x275)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2a4))[a2_0x29f913(0x29c)]('Create\x20an\x20email\x20template')[a2_0x29f913(0x241)](a2_0x29f913(0x136),'Template\x20name')['requiredOption'](a2_0x29f913(0x214),a2_0x29f913(0x12f))[a2_0x29f913(0x241)]('--html\x20<html>',a2_0x29f913(0x365))[a2_0x29f913(0x34e)]('--workspace\x20<name>',a2_0x29f913(0x21c))[a2_0x29f913(0x34e)](a2_0x29f913(0x250),a2_0x29f913(0x1db))[a2_0x29f913(0x34e)](a2_0x29f913(0x396),'Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)',_0x4fb0b7=>{const _0x58672c=a2_0x29f913;if(![_0x58672c(0x36c),_0x58672c(0x2ee)][_0x58672c(0x147)](_0x4fb0b7))throw new SDKError(ErrorCode[_0x58672c(0x2a9)],_0x58672c(0x392)+_0x4fb0b7+_0x58672c(0x1ae));return _0x4fb0b7;})[a2_0x29f913(0x275)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x19b))[a2_0x29f913(0x29c)](a2_0x29f913(0x2b8))[a2_0x29f913(0x34e)](a2_0x29f913(0x313),a2_0x29f913(0x2a2))[a2_0x29f913(0x34e)](a2_0x29f913(0x136),'New\x20template\x20name')[a2_0x29f913(0x34e)](a2_0x29f913(0x214),a2_0x29f913(0x12f))[a2_0x29f913(0x34e)](a2_0x29f913(0x262),a2_0x29f913(0x365))['option'](a2_0x29f913(0x250),'Plaintext\x20template\x20content')['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x29f913(0x337))[a2_0x29f913(0x29c)](a2_0x29f913(0x297))[a2_0x29f913(0x34e)](a2_0x29f913(0x313),a2_0x29f913(0x2a2))[a2_0x29f913(0x34e)](a2_0x29f913(0x376),'Skip\x20confirmation\x20prompt')[a2_0x29f913(0x275)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x215))[a2_0x29f913(0x29c)](a2_0x29f913(0x1eb)),workspaceListAction=async(_0x4a6487,_0x5887a8)=>{const _0x5e463a=a2_0x29f913,_0x4e9ba6=new EngageWorkspacesCommand(),_0x3d91c5=program[_0x5e463a(0x165)](),_0xb13ff8=await createTDXInstance(_0x3d91c5),_0xad33b4=await _0x4e9ba6[_0x5e463a(0x251)]({'options':{..._0x3d91c5,..._0x5887a8},'args':_0x4a6487?[_0x4a6487]:[],'tdx':_0xb13ff8});gracefulExit(_0xad33b4);};workspaceCmd['command'](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)](a2_0x29f913(0x286))[a2_0x29f913(0x275)](workspaceListAction),engageCmd[a2_0x29f913(0x1bf)]('workspaces\x20[pattern]')[a2_0x29f913(0x29c)](a2_0x29f913(0x2bb))[a2_0x29f913(0x275)](workspaceListAction),workspaceCmd['command']('show\x20<name-or-id>')[a2_0x29f913(0x29c)]('Show\x20workspace\x20details')[a2_0x29f913(0x34e)](a2_0x29f913(0x2a1),a2_0x29f913(0x27d))[a2_0x29f913(0x275)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2a4))[a2_0x29f913(0x29c)](a2_0x29f913(0x18f))[a2_0x29f913(0x241)](a2_0x29f913(0x136),a2_0x29f913(0x2a2))['option'](a2_0x29f913(0x125),a2_0x29f913(0x218))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x29f913(0x1bf)]('update\x20<name-or-id>')[a2_0x29f913(0x29c)](a2_0x29f913(0x34c))[a2_0x29f913(0x34e)](a2_0x29f913(0x136),'New\x20workspace\x20name')[a2_0x29f913(0x34e)](a2_0x29f913(0x125),a2_0x29f913(0x218))[a2_0x29f913(0x275)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command']('delete\x20<name-or-id>')[a2_0x29f913(0x29c)](a2_0x29f913(0x37d))[a2_0x29f913(0x34e)]('--yes',a2_0x29f913(0x2cb))[a2_0x29f913(0x275)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2eb))[a2_0x29f913(0x29c)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')['action'](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x29f913(0x1bf)](a2_0x29f913(0x2d6))[a2_0x29f913(0x29c)](a2_0x29f913(0x1e1)),connectionListAction=async _0x31672c=>{const _0x44990a=a2_0x29f913,_0x160a5b=new ConnectionListCommand(),_0xc256fc=program[_0x44990a(0x165)](),_0x4027cf=await createTDXInstance(_0xc256fc),_0x41fe90=await _0x160a5b[_0x44990a(0x251)]({'options':{..._0xc256fc,..._0x31672c},'args':[],'tdx':_0x4027cf});gracefulExit(_0x41fe90);};connectionCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x347))[a2_0x29f913(0x29c)](a2_0x29f913(0x1bc))[a2_0x29f913(0x275)](connectionListAction),program['command'](a2_0x29f913(0x2e0),{'hidden':!![]})['description'](a2_0x29f913(0x35d))[a2_0x29f913(0x275)](connectionListAction),connectionCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2dc))['description'](a2_0x29f913(0x1ce))[a2_0x29f913(0x275)](async(_0x3bd6f0,_0x2bb7ec)=>{const _0x4b2549=a2_0x29f913,_0x456ea4=new ConnectionShowCommand(),_0x359ed2=program[_0x4b2549(0x165)](),_0x2da747=await createTDXInstance(_0x359ed2),_0x53a5c4=await _0x456ea4['run']({'options':{..._0x359ed2,..._0x2bb7ec},'args':[_0x3bd6f0],'tdx':_0x2da747});gracefulExit(_0x53a5c4);}),connectionCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x17a))['description']('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')['action'](async(_0x21dd41,_0x59ca3e)=>{const _0x2c1213=a2_0x29f913,_0x4e4062=new ConnectionSchemaCommand(),_0x17fc18=program[_0x2c1213(0x165)](),_0x24a5d6=await createTDXInstance(_0x17fc18),_0x597085=await _0x4e4062[_0x2c1213(0x251)]({'options':{..._0x17fc18,..._0x59ca3e},'args':[_0x21dd41],'tdx':_0x24a5d6});gracefulExit(_0x597085);}),connectionCmd['command']('types')['description'](a2_0x29f913(0x393))[a2_0x29f913(0x275)](async _0xfc2108=>{const _0xd2f26c=a2_0x29f913,_0x2935a1=new ConnectionTypesCommand(),_0x438d8b=program[_0xd2f26c(0x165)](),_0x4dc6bb=await createTDXInstance(_0x438d8b),_0x30f8cc=await _0x2935a1[_0xd2f26c(0x251)]({'options':{..._0x438d8b,..._0xfc2108},'args':[],'tdx':_0x4dc6bb});gracefulExit(_0x30f8cc);}),connectionCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2c5))[a2_0x29f913(0x29c)](a2_0x29f913(0x309))['action'](async(_0x294c57,_0x41bbf8)=>{const _0xe58c8e=a2_0x29f913,_0x3cc7cb=new ConnectionSettingsCommand(),_0x219188=program['opts'](),_0x15911a=await createTDXInstance(_0x219188),_0x41557a=await _0x3cc7cb[_0xe58c8e(0x251)]({'options':{..._0x219188,..._0x41bbf8},'args':[_0x294c57],'tdx':_0x15911a});gracefulExit(_0x41557a);});const journeyCmd=program[a2_0x29f913(0x1bf)](a2_0x29f913(0x1cc))[a2_0x29f913(0x29c)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x3935e2,_0x2c493d)=>{const _0x2f0f9b=a2_0x29f913,_0x580717=new JourneyListCommand(),_0x2601ba=program[_0x2f0f9b(0x165)](),_0xd396c8=await createTDXInstance(_0x2601ba),_0x76f292=await _0x580717[_0x2f0f9b(0x251)]({'options':{..._0x2601ba,..._0x2c493d},'args':_0x3935e2?[_0x3935e2]:[],'tdx':_0xd396c8});gracefulExit(_0x76f292);};journeyCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x38b))[a2_0x29f913(0x29c)](a2_0x29f913(0x20a))[a2_0x29f913(0x275)](journeyListAction),journeyCmd[a2_0x29f913(0x1bf)]('view\x20<name-or-path>')[a2_0x29f913(0x29c)]('Show\x20journey\x20details')[a2_0x29f913(0x34e)](a2_0x29f913(0x2de),'Open\x20journey\x20in\x20web\x20browser')[a2_0x29f913(0x34e)]('--include-stats','Include\x20execution\x20statistics')[a2_0x29f913(0x275)](async(_0x3d4968,_0xf79ad4)=>{const _0x1f74d2=a2_0x29f913,_0x1b413b=new JourneyViewCommand(),_0x1cb748=program[_0x1f74d2(0x165)](),_0x598b14=await createTDXInstance(_0x1cb748),_0x3a6986=await _0x1b413b[_0x1f74d2(0x251)]({'options':{..._0x1cb748,..._0xf79ad4},'args':[_0x3d4968],'tdx':_0x598b14});gracefulExit(_0x3a6986);}),journeyCmd['command'](a2_0x29f913(0x17b))[a2_0x29f913(0x29c)](a2_0x29f913(0x1e9))[a2_0x29f913(0x34e)](a2_0x29f913(0x198),a2_0x29f913(0x21e))[a2_0x29f913(0x275)](async(_0x27babe,_0xae3fdb)=>{const _0x29ae67=a2_0x29f913,_0x2cc6ab=new JourneyStatsCommand(),_0x37f38e=program['opts'](),_0x456bc7=await createTDXInstance(_0x37f38e),_0x1f75ce=await _0x2cc6ab[_0x29ae67(0x251)]({'options':{..._0x37f38e,..._0xae3fdb},'args':[_0x27babe],'tdx':_0x456bc7});gracefulExit(_0x1f75ce);}),journeyCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x269))[a2_0x29f913(0x29c)](a2_0x29f913(0x24a))[a2_0x29f913(0x275)](async(_0xcc7a26,_0x2eb706)=>{const _0xeae4e2=a2_0x29f913,_0x68fb8d=new JourneyPauseCommand(),_0x1afd1b=program[_0xeae4e2(0x165)](),_0x16efa5=await createTDXInstance(_0x1afd1b),_0x3871cf=await _0x68fb8d[_0xeae4e2(0x251)]({'options':{..._0x1afd1b,..._0x2eb706},'args':[_0xcc7a26],'tdx':_0x16efa5});gracefulExit(_0x3871cf);}),journeyCmd['command'](a2_0x29f913(0x266))[a2_0x29f913(0x29c)]('Resume\x20a\x20paused\x20journey')[a2_0x29f913(0x275)](async(_0x42da31,_0x13760a)=>{const _0x226c4b=a2_0x29f913,_0x3a0829=new JourneyResumeCommand(),_0x472cca=program[_0x226c4b(0x165)](),_0x2681fb=await createTDXInstance(_0x472cca),_0x5a619b=await _0x3a0829['run']({'options':{..._0x472cca,..._0x13760a},'args':[_0x42da31],'tdx':_0x2681fb});gracefulExit(_0x5a619b);}),journeyCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x2ea))[a2_0x29f913(0x29c)](a2_0x29f913(0x1cb))[a2_0x29f913(0x34e)](a2_0x29f913(0x19e),'Skip\x20confirmation\x20prompt')[a2_0x29f913(0x34e)]('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x29f913(0x275)](async(_0x50882f,_0x168b49)=>{const _0x4fc09d=a2_0x29f913,_0x745e94=new JourneyPullCommand(),_0x181cd2=program['opts'](),_0x4e4b25=await createTDXInstance(_0x181cd2),_0x52b33f=await _0x745e94[_0x4fc09d(0x251)]({'options':{..._0x181cd2,..._0x168b49},'args':_0x50882f?[_0x50882f]:[],'tdx':_0x4e4b25});gracefulExit(_0x52b33f);}),journeyCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x332))[a2_0x29f913(0x29c)](a2_0x29f913(0x1a7))[a2_0x29f913(0x275)](async(_0x23a526,_0x5ad455)=>{const _0x46fdce=a2_0x29f913,_0x4d843d=new JourneyPushCommand(),_0x5138eb=program[_0x46fdce(0x165)](),_0x58dce5=await createTDXInstance(_0x5138eb),_0x59d148=await _0x4d843d[_0x46fdce(0x251)]({'options':{..._0x5138eb,..._0x5ad455},'args':_0x23a526?[_0x23a526]:[],'tdx':_0x58dce5});gracefulExit(_0x59d148);}),journeyCmd['command'](a2_0x29f913(0x356))[a2_0x29f913(0x29c)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0x29f913(0x275)](async(_0xe8f37a,_0x4b3b83)=>{const _0x830716=new JourneyValidateCommand(),_0x148628=program['opts'](),_0x1dfa7d=await createTDXInstance(_0x148628),_0x3b51a0=await _0x830716['run']({'options':{..._0x148628,..._0x4b3b83},'args':_0xe8f37a?[_0xe8f37a]:[],'tdx':_0x1dfa7d});gracefulExit(_0x3b51a0);}),program[a2_0x29f913(0x1bf)](a2_0x29f913(0x268))[a2_0x29f913(0x29c)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x29f913(0x275)](journeyListAction);const agentSyncCmd=program[a2_0x29f913(0x1bf)]('agent')[a2_0x29f913(0x29c)](a2_0x29f913(0x36a));agentSyncCmd[a2_0x29f913(0x1bf)]('pull\x20[project]\x20[agent-name]')[a2_0x29f913(0x29c)](a2_0x29f913(0x335))[a2_0x29f913(0x34e)](a2_0x29f913(0x360),a2_0x29f913(0x161))[a2_0x29f913(0x34e)]('-f,\x20--force',a2_0x29f913(0x372))[a2_0x29f913(0x275)](async(_0x2d0da1,_0x458c79,_0x50309c)=>{const _0x53c470=a2_0x29f913,_0x2eeb47=new AgentPullCommand(),_0x4cb856=program[_0x53c470(0x165)](),_0x41757f=await createTDXInstance(_0x4cb856),_0x5a9952=[];if(_0x2d0da1)_0x5a9952[_0x53c470(0x25d)](_0x2d0da1);if(_0x458c79)_0x5a9952[_0x53c470(0x25d)](_0x458c79);const _0x225e1b=await _0x2eeb47[_0x53c470(0x251)]({'options':{..._0x4cb856,..._0x50309c},'args':_0x5a9952,'tdx':_0x41757f});gracefulExit(_0x225e1b);}),agentSyncCmd['command'](a2_0x29f913(0x137))[a2_0x29f913(0x29c)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x29f913(0x34e)](a2_0x29f913(0x32d),a2_0x29f913(0x1a2))[a2_0x29f913(0x275)](async(_0x108b7b,_0x45c782)=>{const _0x364960=a2_0x29f913,_0x2a4f18=new AgentPushCommand(),_0x14517e=program[_0x364960(0x165)](),_0x559857=await createTDXInstance(_0x14517e),_0x274bf7=await _0x2a4f18[_0x364960(0x251)]({'options':{..._0x14517e,..._0x45c782},'args':_0x108b7b?[_0x108b7b]:[],'tdx':_0x559857});gracefulExit(_0x274bf7);}),agentSyncCmd['command'](a2_0x29f913(0x2f4))[a2_0x29f913(0x29c)](a2_0x29f913(0x1b1))['option'](a2_0x29f913(0x338),a2_0x29f913(0x130))[a2_0x29f913(0x275)](async(_0x594cb6,_0x22f04d)=>{const _0x531b7f=a2_0x29f913,_0x35927e=new AgentCloneCommand(),_0x6eec4=program[_0x531b7f(0x165)](),_0x5d0ab1=await createTDXInstance(_0x6eec4),_0x51020c=await _0x35927e['run']({'options':{..._0x6eec4,..._0x22f04d},'args':_0x594cb6?[_0x594cb6]:[],'tdx':_0x5d0ab1});gracefulExit(_0x51020c);}),agentSyncCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x342))[a2_0x29f913(0x29c)](a2_0x29f913(0x317))[a2_0x29f913(0x34e)](a2_0x29f913(0x2f0),a2_0x29f913(0x259))['option']('--tags\x20<tags>',a2_0x29f913(0x37f))[a2_0x29f913(0x34e)](a2_0x29f913(0x1be),a2_0x29f913(0x381))['option'](a2_0x29f913(0x29d),a2_0x29f913(0x16c))['option'](a2_0x29f913(0x2c7),a2_0x29f913(0x15c))[a2_0x29f913(0x275)](async(_0x4db903,_0xb0221b)=>{const _0x9e525f=a2_0x29f913,_0x523841=new AgentTestCommand(),_0x57cce7=program[_0x9e525f(0x165)](),_0xd38283=await createTDXInstance(_0x57cce7),_0x49f125=await _0x523841[_0x9e525f(0x251)]({'options':{..._0x57cce7,..._0xb0221b},'args':_0x4db903?[_0x4db903]:[],'tdx':_0xd38283});gracefulExit(_0x49f125);}),agentSyncCmd[a2_0x29f913(0x1bf)]('list\x20[pattern]')[a2_0x29f913(0x29c)](a2_0x29f913(0x1ad))[a2_0x29f913(0x275)](llmAgentListAction),agentSyncCmd['command']('show\x20<agent-name>')[a2_0x29f913(0x29c)]('Show\x20agent\x20details')[a2_0x29f913(0x275)](async(_0x29292c,_0x49c2f4)=>{const _0x3ffd3d=a2_0x29f913,_0x1195b4=new LLMAgentShowCommand(),_0x3d63b2=program['opts'](),_0x22e13c=await createTDXInstance(_0x3d63b2),_0x33595f=await _0x1195b4[_0x3ffd3d(0x251)]({'options':{..._0x3d63b2,..._0x49c2f4},'args':[_0x29292c],'tdx':_0x22e13c});gracefulExit(_0x33595f);}),agentSyncCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x1a0))[a2_0x29f913(0x29c)](a2_0x29f913(0x383))[a2_0x29f913(0x34e)](a2_0x29f913(0x352),a2_0x29f913(0x1e6))[a2_0x29f913(0x34e)](a2_0x29f913(0x305),a2_0x29f913(0x34a),a2_0x29f913(0x204))[a2_0x29f913(0x34e)](a2_0x29f913(0x13e),a2_0x29f913(0x1c6))[a2_0x29f913(0x34e)](a2_0x29f913(0x122),a2_0x29f913(0x18b),'4')['option']('--temperature\x20<n>',a2_0x29f913(0x388),a2_0x29f913(0x17f))[a2_0x29f913(0x275)](async(_0xb867fa,_0x29e751)=>{const _0x10ab0d=a2_0x29f913,_0x1ab5c4=new LLMAgentCreateCommand(),_0x1ef74c=program[_0x10ab0d(0x165)](),_0x5c314b=await createTDXInstance(_0x1ef74c),_0x518605=await _0x1ab5c4[_0x10ab0d(0x251)]({'options':{..._0x1ef74c,..._0x29e751},'args':[_0xb867fa],'tdx':_0x5c314b});gracefulExit(_0x518605);}),agentSyncCmd['command'](a2_0x29f913(0x133))[a2_0x29f913(0x29c)](a2_0x29f913(0x2bd))[a2_0x29f913(0x34e)](a2_0x29f913(0x196),a2_0x29f913(0x2ac))['option'](a2_0x29f913(0x1c7),a2_0x29f913(0x32b))[a2_0x29f913(0x34e)](a2_0x29f913(0x24f),a2_0x29f913(0x1d7))[a2_0x29f913(0x34e)]('--starter-message\x20<text>',a2_0x29f913(0x1c6))[a2_0x29f913(0x275)](async(_0x567270,_0xbd559a)=>{const _0x545108=a2_0x29f913,_0x5de1c3=new LLMAgentUpdateCommand(),_0x519ca0=program[_0x545108(0x165)](),_0x56dbe2=await createTDXInstance(_0x519ca0),_0x5038c5=await _0x5de1c3[_0x545108(0x251)]({'options':{..._0x519ca0,..._0xbd559a},'args':[_0x567270],'tdx':_0x56dbe2});gracefulExit(_0x5038c5);}),agentSyncCmd[a2_0x29f913(0x1bf)](a2_0x29f913(0x33f))[a2_0x29f913(0x29c)]('Delete\x20an\x20agent')[a2_0x29f913(0x275)](async(_0x4b2541,_0x49a327)=>{const _0x4a2609=new LLMAgentDeleteCommand(),_0x536559=program['opts'](),_0x1dd825=await createTDXInstance(_0x536559),_0x436f7b=await _0x4a2609['run']({'options':{..._0x536559,..._0x49a327},'args':[_0x4b2541],'tdx':_0x1dd825});gracefulExit(_0x436f7b);});export{program};export function runCLI(){const _0x141976=a2_0x29f913,_0x35fdbc=!process[_0x141976(0x205)][_0x141976(0x36d)](0x2)[_0x141976(0x351)];showBriefHelp=_0x35fdbc,program['parse'](process[_0x141976(0x205)]);_0x35fdbc&&program[_0x141976(0x2d4)]();if(process[_0x141976(0x2b4)][_0x141976(0x156)]&&process[_0x141976(0x205)]['length']>0x2&&!isDevVersion()){const _0x30768c=loadReleaseChannel();checkForUpdate(currentVersion,_0x30768c)[_0x141976(0x315)](_0x48319a=>{_0x48319a&&displayUpdateNotification(_0x48319a);})[_0x141976(0x13f)](()=>{});}}
|