@treasuredata/tdx 2026.3.14 → 2026.3.16
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/README.md +9 -0
- 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/auth-login-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/delivery-command.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-campaign-pull-command.js +1 -1
- package/dist/commands/engage-campaign-push-command.js +1 -1
- package/dist/commands/engage-campaign-validate-command.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-template-pull-command.js +1 -1
- package/dist/commands/engage-template-push-command.js +1 -1
- package/dist/commands/engage-template-validate-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/upgrade-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/oauth-keychain.js +1 -1
- package/dist/core/oauth.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/agent/tool-target-registry.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/delivery-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/oauth-refresh.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/delivery.js +1 -1
- package/dist/sdk/engage/campaign-pull.js +1 -1
- package/dist/sdk/engage/campaign-push.js +1 -1
- package/dist/sdk/engage/campaign-validator.js +1 -1
- package/dist/sdk/engage/campaign-yaml.js +1 -1
- package/dist/sdk/engage/template-pull.js +1 -1
- package/dist/sdk/engage/template-push.js +1 -1
- package/dist/sdk/engage/template-validator.js +1 -1
- package/dist/sdk/engage/template-yaml.js +1 -1
- package/dist/sdk/engage/types/campaign-def.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.js +1 -1
- package/dist/sdk/engage/types/template-schema.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/segment-validator.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/types/activation-schema.js +1 -1
- package/dist/sdk/segment/types/journey-def.js +1 -1
- package/dist/sdk/segment/types/journey-schema.js +1 -1
- package/dist/sdk/segment/types/segment-def.js +1 -1
- package/dist/sdk/segment/types/segment-schema.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/paginate.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/file-reader.js +1 -1
- package/dist/utils/github-releases.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/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 +2 -2
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x30593f=a2_0x5591;(function(_0x16eb6f,_0x4d4147){const _0x31da9f=a2_0x5591,_0x34f03d=_0x16eb6f();while(!![]){try{const _0x589840=parseInt(_0x31da9f(0x32b))/0x1*(parseInt(_0x31da9f(0x2c2))/0x2)+parseInt(_0x31da9f(0x48c))/0x3+parseInt(_0x31da9f(0x454))/0x4+parseInt(_0x31da9f(0x252))/0x5+-parseInt(_0x31da9f(0x26d))/0x6*(-parseInt(_0x31da9f(0x463))/0x7)+parseInt(_0x31da9f(0x333))/0x8*(parseInt(_0x31da9f(0x38c))/0x9)+-parseInt(_0x31da9f(0x43c))/0xa*(parseInt(_0x31da9f(0x464))/0xb);if(_0x589840===_0x4d4147)break;else _0x34f03d['push'](_0x34f03d['shift']());}catch(_0x13d6e0){_0x34f03d['push'](_0x34f03d['shift']());}}}(a2_0x5ac2,0x38d0e));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,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}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,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';function a2_0x5591(_0x1ef5cc,_0x3a5019){_0x1ef5cc=_0x1ef5cc-0x1dd;const _0x5ac290=a2_0x5ac2();let _0x559180=_0x5ac290[_0x1ef5cc];return _0x559180;}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{AuthLoginCommand}from'./commands/auth-login-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{UpgradeCommand}from'./commands/upgrade-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv'][a2_0x30593f(0x3a7)](a2_0x30593f(0x2e9))){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x30593f(0x3c0)]&&!currentVersion[a2_0x30593f(0x3a7)](buildInfo[a2_0x30593f(0x3c0)])&&(versionOutput+='\x20('+buildInfo[a2_0x30593f(0x3c0)]+')'),buildInfo[a2_0x30593f(0x482)]&&(versionOutput+=a2_0x30593f(0x362)+buildInfo[a2_0x30593f(0x482)]),console[a2_0x30593f(0x23d)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x3c2319,_0x73b875){const _0x21e5ce=a2_0x30593f,_0x5ed203={..._0x3c2319};for(const [_0xcf510d,_0xf74a0]of Object[_0x21e5ce(0x27b)](_0x73b875)){_0xf74a0!==undefined&&(_0x5ed203[_0xcf510d]=_0xf74a0);}return _0x5ed203;}let showBriefHelp=![],description=a2_0x30593f(0x370);buildInfo[a2_0x30593f(0x3c0)]&&!currentVersion['includes'](buildInfo[a2_0x30593f(0x3c0)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0x30593f(0x3c0)]+')':description+=a2_0x30593f(0x290)+currentVersion;program[a2_0x30593f(0x332)](a2_0x30593f(0x257))['description'](description),program[a2_0x30593f(0x47b)](a2_0x30593f(0x1dd),a2_0x30593f(0x275))[a2_0x30593f(0x47b)]('-p,\x20--profile\x20<name>',a2_0x30593f(0x369))[a2_0x30593f(0x47b)](a2_0x30593f(0x44d),a2_0x30593f(0x1ed),a2_0x30593f(0x398))['option'](a2_0x30593f(0x42c),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x30593f(0x47b)](a2_0x30593f(0x3eb),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x30593f(0x47b)]('--json','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x30593f(0x47b)](a2_0x30593f(0x1ea),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')['option'](a2_0x30593f(0x25c),a2_0x30593f(0x218))[a2_0x30593f(0x47b)](a2_0x30593f(0x3c5),a2_0x30593f(0x212))[a2_0x30593f(0x47b)](a2_0x30593f(0x356),a2_0x30593f(0x1fe))[a2_0x30593f(0x47b)]('--color',a2_0x30593f(0x3d4),![])[a2_0x30593f(0x47b)](a2_0x30593f(0x430),a2_0x30593f(0x37b),![])[a2_0x30593f(0x47b)](a2_0x30593f(0x201),'Enable\x20verbose\x20logging',![])[a2_0x30593f(0x47b)](a2_0x30593f(0x3a1),a2_0x30593f(0x3aa))[a2_0x30593f(0x47b)](a2_0x30593f(0x373),a2_0x30593f(0x4a4))[a2_0x30593f(0x47b)](a2_0x30593f(0x22a),'Set\x20operation\x20timeout\x20in\x20seconds','30')['option'](a2_0x30593f(0x427),a2_0x30593f(0x21b),![])['option']('-y,\x20--yes',a2_0x30593f(0x33e),![])[a2_0x30593f(0x47b)](a2_0x30593f(0x3d9),a2_0x30593f(0x3c1))['option']('--parent-segment\x20<name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a2_0x30593f(0x47b)](a2_0x30593f(0x3b0),a2_0x30593f(0x3e5)),program[a2_0x30593f(0x469)]({'formatHelp':(_0x578f4c,_0x3a8b74)=>{const _0x365465=a2_0x30593f,_0x1e85a3=_0x3a8b74[_0x365465(0x295)](_0x578f4c,_0x3a8b74),_0x4a1e51=0x2,_0x25ee6e=0x2;function _0x2832ef(_0x5a5e17){const _0x442105=_0x5a5e17;return!!(_0x442105['_hidden']||_0x442105['hidden']);}function _0x164275(_0x462f02,_0x1af13b){const _0x4dbb79=_0x365465;if(_0x1af13b){const _0x4f3600=''+_0x462f02[_0x4dbb79(0x3a5)](_0x1e85a3+_0x25ee6e)+_0x1af13b;return _0x4f3600;}return _0x462f02;}function _0x2036d4(_0x180e48){const _0x275d1a=_0x365465;return _0x180e48['join']('\x0a')[_0x275d1a(0x345)](/^/gm,'\x20'[_0x275d1a(0x3fb)](_0x4a1e51));}const _0x1d7002=[];_0x1d7002[_0x365465(0x2a6)](_0x365465(0x321)+_0x3a8b74['commandUsage'](_0x578f4c));const _0x185914=_0x3a8b74[_0x365465(0x28d)](_0x578f4c);_0x185914&&(_0x1d7002['push'](''),_0x1d7002['push'](_0x185914));const _0x4b794a=_0x578f4c[_0x365465(0x331)][_0x365465(0x215)](_0x35c5c8=>!_0x2832ef(_0x35c5c8));if(_0x4b794a[_0x365465(0x475)]>0x0){if(_0x578f4c[_0x365465(0x332)]()===_0x365465(0x257)){const _0x4e1827=_0x578f4c[_0x365465(0x449)](),_0x4c6792=!_0x4e1827[_0x365465(0x340)]&&process[_0x365465(0x2f9)][_0x365465(0x436)],_0x33ae9b=COMMAND_CATEGORIES,_0x300c79=(_0x20ef36,_0x2960a9)=>_0x4c6792?_0x2960a9(_0x20ef36):_0x20ef36,_0x29063f=new Map();_0x4b794a[_0x365465(0x43b)](_0x1cdcbe=>{const _0x1b1b39=_0x365465;_0x29063f[_0x1b1b39(0x491)](_0x1cdcbe['name'](),_0x1cdcbe);}),_0x33ae9b[_0x365465(0x43b)](_0x2a5737=>{const _0x43912d=_0x365465,_0x1778b8=_0x2a5737['commands'][_0x43912d(0x339)](_0x1e4d81=>_0x29063f[_0x43912d(0x388)](_0x1e4d81)??[]);if(_0x1778b8[_0x43912d(0x475)]>0x0){_0x1d7002[_0x43912d(0x2a6)](''),_0x1d7002[_0x43912d(0x2a6)](_0x300c79(_0x2a5737[_0x43912d(0x332)]+':',_0x2a5737['colorFn']));const _0x2f704e=_0x1778b8[_0x43912d(0x446)](_0x1913e5=>{const _0x43634c=_0x43912d,_0x35cd64=_0x3a8b74['subcommandTerm'](_0x1913e5),_0x6689c=_0x3a8b74[_0x43634c(0x453)](_0x1913e5);return _0x164275(_0x35cd64,_0x6689c);});_0x1d7002[_0x43912d(0x2a6)](_0x2036d4(_0x2f704e));}}),_0x1d7002[_0x365465(0x2a6)](''),_0x1d7002[_0x365465(0x2a6)](_0x365465(0x486));}else{const _0x1031ed=_0x4b794a['map'](_0x4ce18b=>{const _0x452f21=_0x365465,_0x529b0e=_0x3a8b74[_0x452f21(0x3f0)](_0x4ce18b),_0x5f4f80=_0x3a8b74[_0x452f21(0x453)](_0x4ce18b);return _0x164275(_0x529b0e,_0x5f4f80);});_0x1d7002[_0x365465(0x2a6)](''),_0x1d7002[_0x365465(0x2a6)](_0x365465(0x3b1)),_0x1d7002[_0x365465(0x2a6)](_0x2036d4(_0x1031ed));}}if(showBriefHelp&&_0x578f4c[_0x365465(0x332)]()===_0x365465(0x257))_0x1d7002[_0x365465(0x2a6)](''),_0x1d7002[_0x365465(0x2a6)](_0x365465(0x3cb));else{const _0x5de2fa=_0x578f4c[_0x365465(0x2dc)][_0x365465(0x215)](_0x50bfd2=>!_0x2832ef(_0x50bfd2));if(_0x5de2fa[_0x365465(0x475)]>0x0){const _0x56785b=_0x5de2fa[_0x365465(0x446)](_0x1c7132=>{const _0x4a903b=_0x365465,_0xc5af=_0x3a8b74[_0x4a903b(0x35a)](_0x1c7132),_0x5c79bc=_0x3a8b74[_0x4a903b(0x3b8)](_0x1c7132);return _0x164275(_0xc5af,_0x5c79bc);});_0x1d7002['push'](''),_0x1d7002[_0x365465(0x2a6)]('Options:'),_0x1d7002['push'](_0x2036d4(_0x56785b));}}const _0x39b911=(_0x578f4c['registeredArguments']||[])['filter'](_0x510957=>!_0x2832ef(_0x510957));if(_0x39b911[_0x365465(0x475)]>0x0){const _0x5cd2db=_0x39b911['map'](_0x184c9d=>{const _0xdc87f3=_0x365465,_0x277e73=_0x3a8b74[_0xdc87f3(0x303)](_0x184c9d),_0xcc1ef3=_0x3a8b74['argumentDescription'](_0x184c9d);return _0x164275(_0x277e73,_0xcc1ef3);});_0x1d7002[_0x365465(0x2a6)](''),_0x1d7002[_0x365465(0x2a6)](_0x365465(0x30c)),_0x1d7002[_0x365465(0x2a6)](_0x2036d4(_0x5cd2db));}return _0x1d7002[_0x365465(0x3b2)]('\x0a')+'\x0a';},'subcommandTerm':_0xefac06=>{const _0x4e3c77=a2_0x30593f,_0x3ca04b=(_0xefac06[_0x4e3c77(0x41b)]||[])['map'](_0x11240=>_0x11240['required']?'<'+_0x11240[_0x4e3c77(0x332)]()+'>':'['+_0x11240['name']()+']')[_0x4e3c77(0x3b2)]('\x20'),_0x36cef1=_0xefac06['aliases'](),_0x106e63=_0x36cef1['length']>0x0?_0xefac06[_0x4e3c77(0x332)]()+',\x20'+_0x36cef1['join'](',\x20'):_0xefac06[_0x4e3c77(0x332)]();return _0x3ca04b?_0x106e63+'\x20'+_0x3ca04b:_0x106e63;}}),program['hook'](a2_0x30593f(0x3ed),_0x86c4b4=>{const _0x263b52=a2_0x30593f,_0x496c94=_0x86c4b4[_0x263b52(0x449)]();if(_0x496c94[_0x263b52(0x2a1)]){const _0x6be1f0=resolve(_0x496c94['directory']),_0x34b679=_0x6be1f0!==_0x496c94[_0x263b52(0x2a1)]?_0x263b52(0x42a)+_0x6be1f0+')':'';if(!existsSync(_0x6be1f0))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x263b52(0x433)+_0x496c94[_0x263b52(0x2a1)]+_0x34b679,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x2cc907=statSync(_0x6be1f0);if(!_0x2cc907[_0x263b52(0x3ac)]())throw new SDKError(ErrorCode[_0x263b52(0x46c)],_0x263b52(0x3a0)+_0x496c94[_0x263b52(0x2a1)]+_0x34b679,undefined,{'helpText':_0x263b52(0x47a)});process['chdir'](_0x6be1f0);}if(!_0x496c94[_0x263b52(0x29e)]){if(_0x496c94['table'])_0x496c94[_0x263b52(0x29e)]='table';else{if(_0x496c94[_0x263b52(0x3d1)])_0x496c94[_0x263b52(0x29e)]=_0x263b52(0x3d1);else{if(_0x496c94[_0x263b52(0x309)])_0x496c94[_0x263b52(0x29e)]='jsonl';else _0x496c94[_0x263b52(0x478)]&&(_0x496c94['format']='tsv');}}}if(_0x496c94['trace'])_0x496c94[_0x263b52(0x1f6)]=LogLevel['TRACE'];else{if(_0x496c94[_0x263b52(0x428)])_0x496c94['logLevel']=LogLevel[_0x263b52(0x204)];else _0x496c94[_0x263b52(0x1f6)]===undefined&&(_0x496c94[_0x263b52(0x1f6)]=LogLevel['INFO']);}});async function createTDXInstance(_0x2b5900){const _0x1a9f5e=a2_0x30593f,_0x28eb4f=await GlobalContext[_0x1a9f5e(0x2aa)](_0x2b5900);return _0x28eb4f[_0x1a9f5e(0x3f4)](_0x2b5900),TDX[_0x1a9f5e(0x261)]({'site':_0x28eb4f[_0x1a9f5e(0x2bc)],'apiKey':_0x28eb4f[_0x1a9f5e(0x314)],'accessToken':_0x28eb4f[_0x1a9f5e(0x320)],'logLevel':_0x28eb4f[_0x1a9f5e(0x1f6)],'profile':_0x28eb4f[_0x1a9f5e(0x31d)]});}const databaseCmd=program['command'](a2_0x30593f(0x264))[a2_0x30593f(0x46a)]('db')[a2_0x30593f(0x33c)]('Database\x20management\x20commands'),databaseListAction=async(_0x168ba7,_0x4a199b)=>{const _0x2a4d63=a2_0x30593f,_0xbff8f7=new DatabasesCommand(),_0x3cb15e=program[_0x2a4d63(0x449)](),_0x43c859=await createTDXInstance(_0x3cb15e),_0x21b1d1=await _0xbff8f7[_0x2a4d63(0x1f5)]({'options':{..._0x3cb15e,..._0x4a199b},'args':_0x168ba7?[_0x168ba7]:[],'tdx':_0x43c859});gracefulExit(_0x21b1d1);};databaseCmd[a2_0x30593f(0x414)]('list\x20[pattern]')[a2_0x30593f(0x33c)](a2_0x30593f(0x211))['action'](databaseListAction),program[a2_0x30593f(0x414)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x30593f(0x33c)](a2_0x30593f(0x49e))[a2_0x30593f(0x2f7)](databaseListAction),program[a2_0x30593f(0x414)](a2_0x30593f(0x432))[a2_0x30593f(0x33c)](a2_0x30593f(0x3cc))[a2_0x30593f(0x47b)](a2_0x30593f(0x29b),a2_0x30593f(0x3b7))[a2_0x30593f(0x47b)](a2_0x30593f(0x266),'Start\x20a\x20new\x20chat\x20session')[a2_0x30593f(0x47b)](a2_0x30593f(0x38e),a2_0x30593f(0x305))[a2_0x30593f(0x47b)](a2_0x30593f(0x421),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x30593f(0x2f7)](async(_0xf47218,_0x3911f4)=>{const _0xc0261f=a2_0x30593f,_0x28d077=program[_0xc0261f(0x449)](),_0x37a575=await createTDXInstance(_0x28d077);if(_0xf47218[0x0]===_0xc0261f(0x261)){const _0x141edf=new ChatCreateCommand();gracefulExit(await _0x141edf[_0xc0261f(0x1f5)]({'options':{..._0x28d077,..._0x3911f4},'args':_0xf47218[_0xc0261f(0x21a)](0x1),'tdx':_0x37a575}));return;}const _0x5defc5=new ChatCommand(),_0x4ac933=await _0x5defc5['run']({'options':{..._0x28d077,..._0x3911f4},'args':_0xf47218,'tdx':_0x37a575});gracefulExit(_0x4ac933);});const apiCmd=program[a2_0x30593f(0x414)]('api\x20[endpoint]')[a2_0x30593f(0x348)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x30593f(0x499)](a2_0x30593f(0x23b),'\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')['option'](a2_0x30593f(0x49a),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x30593f(0x30a))[a2_0x30593f(0x47b)](a2_0x30593f(0x25e),a2_0x30593f(0x3c3))[a2_0x30593f(0x47b)](a2_0x30593f(0x355),a2_0x30593f(0x42f))[a2_0x30593f(0x47b)](a2_0x30593f(0x465),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x502d57,_0x3e4412)=>{return _0x3e4412?[..._0x3e4412,_0x502d57]:[_0x502d57];})[a2_0x30593f(0x47b)]('--type\x20<api_type>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x5ef841,_0x5746b7)=>{const _0x2c0407=a2_0x30593f;if(!_0x5ef841){apiCmd[_0x2c0407(0x2df)]();return;}const _0x4389da=new ApiCommand(),_0x357f86=program[_0x2c0407(0x449)](),_0x105d36=await createTDXInstance(_0x357f86),_0x336ef2=await _0x4389da[_0x2c0407(0x1f5)]({'options':{..._0x357f86,..._0x5746b7},'args':[_0x5ef841],'tdx':_0x105d36});gracefulExit(_0x336ef2);});program[a2_0x30593f(0x414)](a2_0x30593f(0x2b6))[a2_0x30593f(0x33c)](a2_0x30593f(0x341))[a2_0x30593f(0x499)](a2_0x30593f(0x23b),a2_0x30593f(0x216))[a2_0x30593f(0x2f7)](async _0xbab661=>{const _0x21e2f0=a2_0x30593f,_0x169b2c=new MCPCommand(),_0x349a25=program[_0x21e2f0(0x449)](),_0x5352b1=await createTDXInstance(_0x349a25),_0x1d820d=await _0x169b2c[_0x21e2f0(0x1f5)]({'options':{..._0x349a25,..._0xbab661},'args':[],'tdx':_0x5352b1});gracefulExit(_0x1d820d);});const tableCmd=program['command']('table')[a2_0x30593f(0x33c)]('Table\x20management\x20commands'),tableListAction=async(_0x37ff7f,_0x16787b)=>{const _0x4f255d=a2_0x30593f,_0x27891e=new TablesCommand(),_0x3bc0ea=program[_0x4f255d(0x449)](),_0x1e6a6a=await createTDXInstance(_0x3bc0ea);_0x16787b['in']&&(_0x16787b[_0x4f255d(0x264)]=_0x16787b['in']);const _0x4a2928=await _0x27891e[_0x4f255d(0x1f5)]({'options':{..._0x3bc0ea,..._0x16787b},'args':_0x37ff7f?[_0x37ff7f]:[],'tdx':_0x1e6a6a});gracefulExit(_0x4a2928);};tableCmd['command'](a2_0x30593f(0x1fc))[a2_0x30593f(0x33c)](a2_0x30593f(0x344))['option'](a2_0x30593f(0x48a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x30593f(0x47b)]('--in\x20<database>',a2_0x30593f(0x2f8))[a2_0x30593f(0x2f7)](tableListAction),program[a2_0x30593f(0x414)](a2_0x30593f(0x33f),{'hidden':!![]})['description'](a2_0x30593f(0x393))[a2_0x30593f(0x47b)]('-d,\x20--database\x20<database>',a2_0x30593f(0x31e))[a2_0x30593f(0x47b)](a2_0x30593f(0x379),a2_0x30593f(0x2f8))['action'](tableListAction),program['command'](a2_0x30593f(0x2c3))[a2_0x30593f(0x33c)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')['option'](a2_0x30593f(0x48a),a2_0x30593f(0x209))['option'](a2_0x30593f(0x379),a2_0x30593f(0x2f8))[a2_0x30593f(0x2f7)](async(_0x1563d9,_0x3ab3e7)=>{const _0x49295d=a2_0x30593f,_0x29b128=new ShowCommand(),_0x3b355a=program[_0x49295d(0x449)](),_0x5a266b=await createTDXInstance(_0x3b355a);_0x3ab3e7['in']&&(_0x3ab3e7[_0x49295d(0x264)]=_0x3ab3e7['in']);const _0x267a26=await _0x29b128[_0x49295d(0x1f5)]({'options':{..._0x3b355a,..._0x3ab3e7},'args':_0x1563d9?[_0x1563d9]:[],'tdx':_0x5a266b});gracefulExit(_0x267a26);}),program[a2_0x30593f(0x414)](a2_0x30593f(0x2ab))['alias'](a2_0x30593f(0x3d0))[a2_0x30593f(0x33c)]('Describe\x20table\x20schema')['option']('-d,\x20--database\x20<database>',a2_0x30593f(0x209))[a2_0x30593f(0x47b)](a2_0x30593f(0x379),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x314282,_0x15f16d)=>{const _0x411fec=a2_0x30593f,_0x511294=new DescribeCommand(),_0x4423c5=program[_0x411fec(0x449)](),_0x21e5a4=await createTDXInstance(_0x4423c5);_0x15f16d['in']&&(_0x15f16d[_0x411fec(0x264)]=_0x15f16d['in']);const _0x2b9c9b=await _0x511294[_0x411fec(0x1f5)]({'options':{..._0x4423c5,..._0x15f16d},'args':_0x314282?[_0x314282]:[],'tdx':_0x21e5a4});gracefulExit(_0x2b9c9b);}),program['command'](a2_0x30593f(0x41d))[a2_0x30593f(0x33c)](a2_0x30593f(0x2e6))['option']('-d,\x20--database\x20<database>',a2_0x30593f(0x3fc))[a2_0x30593f(0x47b)](a2_0x30593f(0x379),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x30593f(0x47b)]('--catalog\x20<catalog>',a2_0x30593f(0x48d))['option'](a2_0x30593f(0x355),'Read\x20SQL\x20query\x20from\x20file')[a2_0x30593f(0x47b)](a2_0x30593f(0x3d5),'Maximum\x20rows\x20to\x20display')['action'](async(_0x258b83,_0x33c1fe)=>{const _0x1b437a=a2_0x30593f,_0x26e991=new QueryCommand(),_0x19bd0e=program[_0x1b437a(0x449)](),_0x30d5e6=await createTDXInstance(_0x19bd0e);_0x33c1fe['in']&&(_0x33c1fe['database']=_0x33c1fe['in']);const _0x576bd7=await _0x26e991['run']({'options':mergeCommandOptions(_0x19bd0e,_0x33c1fe),'args':_0x258b83?[_0x258b83]:[],'tdx':_0x30d5e6});gracefulExit(_0x576bd7);});const segmentCmd=program[a2_0x30593f(0x414)](a2_0x30593f(0x27f))[a2_0x30593f(0x46a)]('sg')[a2_0x30593f(0x33c)](a2_0x30593f(0x377)),segmentListAction=async(_0x30d040,_0x3d827b)=>{const _0x42d0ec=a2_0x30593f,_0x2d0917=new SegmentsCommand(),_0x5b0040=program[_0x42d0ec(0x449)](),_0x53956b=await createTDXInstance(_0x5b0040),_0x585fda=await _0x2d0917[_0x42d0ec(0x1f5)]({'options':{..._0x5b0040,..._0x3d827b},'args':_0x30d040?[_0x30d040]:[],'tdx':_0x53956b});gracefulExit(_0x585fda);};segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x250))[a2_0x30593f(0x33c)](a2_0x30593f(0x2e8))[a2_0x30593f(0x47b)](a2_0x30593f(0x3e9),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x30593f(0x47b)](a2_0x30593f(0x488),a2_0x30593f(0x39f),'10')['action'](segmentListAction),program[a2_0x30593f(0x414)]('segments\x20[path]',{'hidden':!![]})[a2_0x30593f(0x33c)]('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x30593f(0x47b)](a2_0x30593f(0x3e9),a2_0x30593f(0x3cd))[a2_0x30593f(0x47b)](a2_0x30593f(0x488),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x30593f(0x2f7)](segmentListAction),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x254),{'hidden':!![]})['description']('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x30593f(0x2f7)](async(_0x57594e,_0x576493)=>{const _0x360053=a2_0x30593f,_0x565d66=new SegmentUseCommand(),_0x5b053f=program[_0x360053(0x449)](),_0x2a690b=await createTDXInstance(_0x5b053f),_0x368c93=await _0x565d66[_0x360053(0x1f5)]({'options':{..._0x5b053f,..._0x576493},'args':[_0x57594e],'tdx':_0x2a690b});gracefulExit(_0x368c93);});const segmentViewAction=async(_0x243d7a,_0x445997)=>{const _0x2010e6=a2_0x30593f,_0xe67849=new SegmentViewCommand(),_0x41d33f=program[_0x2010e6(0x449)](),_0x49c767=await createTDXInstance(_0x41d33f),_0x50a4a8=await _0xe67849[_0x2010e6(0x1f5)]({'options':{..._0x41d33f,..._0x445997},'args':_0x243d7a?[_0x243d7a]:[],'tdx':_0x49c767});gracefulExit(_0x50a4a8);};segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2a5))[a2_0x30593f(0x33c)](a2_0x30593f(0x44e))[a2_0x30593f(0x47b)](a2_0x30593f(0x43e),a2_0x30593f(0x35b))[a2_0x30593f(0x2f7)](segmentViewAction),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x285),{'hidden':!![]})[a2_0x30593f(0x46a)]('describe')[a2_0x30593f(0x47b)](a2_0x30593f(0x43e),a2_0x30593f(0x35b))[a2_0x30593f(0x33c)](a2_0x30593f(0x284))[a2_0x30593f(0x2f7)](segmentViewAction),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x349))[a2_0x30593f(0x33c)](a2_0x30593f(0x277))[a2_0x30593f(0x2f7)](async(_0x5f0217,_0x48a755)=>{const _0x2dc0cf=a2_0x30593f,_0x1f755c=new SegmentDescCommand(),_0x1578b1=program['opts'](),_0x5f2b3b=await createTDXInstance(_0x1578b1),_0x422d34=await _0x1f755c[_0x2dc0cf(0x1f5)]({'options':{..._0x1578b1,..._0x48a755},'args':_0x5f0217?[_0x5f0217]:[],'tdx':_0x5f2b3b});gracefulExit(_0x422d34);}),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3a8))[a2_0x30593f(0x33c)](a2_0x30593f(0x1f9))['action'](async(_0x36c80a,_0x3ae23d)=>{const _0x5ae86c=a2_0x30593f,_0x3c735b=new SegmentShowCommand(),_0x2c1263=program[_0x5ae86c(0x449)](),_0x3fbd26=await createTDXInstance(_0x2c1263),_0x2960b5=await _0x3c735b[_0x5ae86c(0x1f5)]({'options':{..._0x2c1263,..._0x3ae23d},'args':_0x36c80a?[_0x36c80a]:[],'tdx':_0x3fbd26});gracefulExit(_0x2960b5);}),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x27e),{'hidden':!![]})[a2_0x30593f(0x33c)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x30593f(0x2f7)](async(_0x37977a,_0x3f2391)=>{const _0x3fe8ee=a2_0x30593f,_0xfb04bb=new SegmentFolderListCommand(),_0x3e222e=program[_0x3fe8ee(0x449)](),_0x55929d=await createTDXInstance(_0x3e222e),_0x1726b4=await _0xfb04bb[_0x3fe8ee(0x1f5)]({'options':{..._0x3e222e,..._0x3f2391},'args':[_0x37977a],'tdx':_0x55929d});gracefulExit(_0x1726b4);});const folderCmd=segmentCmd['command'](a2_0x30593f(0x359),{'hidden':!![]})[a2_0x30593f(0x33c)](a2_0x30593f(0x41a));folderCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1e9))[a2_0x30593f(0x33c)](a2_0x30593f(0x34e))[a2_0x30593f(0x2f7)](async(_0xc72df1,_0x6300c7)=>{const _0x8ef93a=a2_0x30593f,_0x33121e=new SegmentFolderShowCommand(),_0x4e7e0b=program[_0x8ef93a(0x449)](),_0x2b20fc=await createTDXInstance(_0x4e7e0b),_0x15fb6d=await _0x33121e['run']({'options':{..._0x4e7e0b,..._0x6300c7},'args':[_0xc72df1],'tdx':_0x2b20fc});gracefulExit(_0x15fb6d);}),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3f8))[a2_0x30593f(0x33c)](a2_0x30593f(0x37d))[a2_0x30593f(0x47b)]('--path\x20<file-path>','YAML\x20file\x20path\x20for\x20unpushed\x20segment')[a2_0x30593f(0x2f7)](async(_0x2e6e76,_0x172298)=>{const _0x188dd8=a2_0x30593f,_0x29027=new SegmentSQLCommand(),_0x2400c9=program[_0x188dd8(0x449)](),_0x3afe2d=await createTDXInstance(_0x2400c9),_0x2a874a=await _0x29027[_0x188dd8(0x1f5)]({'options':{..._0x2400c9,..._0x172298},'args':_0x2e6e76?[_0x2e6e76]:[],'tdx':_0x3afe2d});gracefulExit(_0x2a874a);}),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x492))[a2_0x30593f(0x33c)](a2_0x30593f(0x41f))['action'](async(_0x38ac5d,_0x142089)=>{const _0x9ade6b=a2_0x30593f,_0xd34a73=new SegmentFieldsCommand(),_0x3a45cc=program['opts'](),_0x323711=await createTDXInstance(_0x3a45cc),_0x2deba8=await _0xd34a73[_0x9ade6b(0x1f5)]({'options':{..._0x3a45cc,..._0x142089},'args':_0x38ac5d?[_0x38ac5d]:[],'tdx':_0x323711});gracefulExit(_0x2deba8);}),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2d3))['description'](a2_0x30593f(0x294))[a2_0x30593f(0x47b)]('--dry-run',a2_0x30593f(0x1f8))['action'](async(_0x2cfe0a,_0x5c62aa)=>{const _0x4243f5=a2_0x30593f,_0x95d86c=new SegmentPullCommand(),_0x5c2a23=program[_0x4243f5(0x449)](),_0x5d1474=await createTDXInstance(_0x5c2a23),_0x15e059=await _0x95d86c[_0x4243f5(0x1f5)]({'options':{..._0x5c2a23,..._0x5c62aa},'args':_0x2cfe0a?[_0x2cfe0a]:[],'tdx':_0x5d1474});gracefulExit(_0x15e059);}),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x282))['description'](a2_0x30593f(0x23a))[a2_0x30593f(0x47b)](a2_0x30593f(0x427),a2_0x30593f(0x1f8))[a2_0x30593f(0x47b)](a2_0x30593f(0x407),a2_0x30593f(0x410))[a2_0x30593f(0x2f7)](async(_0x377333,_0x289014)=>{const _0x2c1bcc=a2_0x30593f,_0x2cf876=new SegmentPushCommand(),_0x3afa81=program[_0x2c1bcc(0x449)](),_0xbfc15a=await createTDXInstance(_0x3afa81),_0x52112b=await _0x2cf876[_0x2c1bcc(0x1f5)]({'options':{..._0x3afa81,..._0x289014},'args':_0x377333?[_0x377333]:[],'tdx':_0xbfc15a});gracefulExit(_0x52112b);}),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x29c))[a2_0x30593f(0x33c)](a2_0x30593f(0x3fa))[a2_0x30593f(0x2f7)](async(_0x497a29,_0x6d99f9)=>{const _0x2b2b1f=a2_0x30593f,_0x597c39=new SegmentValidateCommand(),_0x66f489=program['opts'](),_0x878430=await createTDXInstance(_0x66f489),_0x279bbc=await _0x597c39[_0x2b2b1f(0x1f5)]({'options':{..._0x66f489,..._0x6d99f9},'args':_0x497a29?[_0x497a29]:[],'tdx':_0x878430});gracefulExit(_0x279bbc);}),segmentCmd[a2_0x30593f(0x414)]('create\x20<segment_name>',{'hidden':!![]})['description'](a2_0x30593f(0x330))[a2_0x30593f(0x47b)](a2_0x30593f(0x3a4),a2_0x30593f(0x21c))[a2_0x30593f(0x47b)]('--rule\x20<json>',a2_0x30593f(0x1e7))[a2_0x30593f(0x47b)](a2_0x30593f(0x1ec),a2_0x30593f(0x429))['option'](a2_0x30593f(0x1e0),a2_0x30593f(0x20c))[a2_0x30593f(0x47b)](a2_0x30593f(0x397),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x30593f(0x47b)]('--invisible','Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x30593f(0x47b)](a2_0x30593f(0x300),a2_0x30593f(0x2c0))[a2_0x30593f(0x2f7)](async(_0x62d024,_0x375e07)=>{const _0x334eef=a2_0x30593f,_0x4dcd48=new SegmentCreateCommand(),_0x26dd77=program['opts'](),_0x4a8040=await createTDXInstance(_0x26dd77),_0x2bd968=await _0x4dcd48[_0x334eef(0x1f5)]({'options':{..._0x26dd77,..._0x375e07},'args':[_0x62d024],'tdx':_0x4a8040});gracefulExit(_0x2bd968);}),segmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x226),{'hidden':!![]})[a2_0x30593f(0x33c)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x30593f(0x47b)](a2_0x30593f(0x2f4),a2_0x30593f(0x389))[a2_0x30593f(0x47b)](a2_0x30593f(0x3a4),a2_0x30593f(0x461))[a2_0x30593f(0x47b)](a2_0x30593f(0x3b3),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x30593f(0x47b)](a2_0x30593f(0x1ec),a2_0x30593f(0x28e))[a2_0x30593f(0x47b)]('--folder\x20<name>',a2_0x30593f(0x292))['option'](a2_0x30593f(0x397),a2_0x30593f(0x3ab))['action'](async(_0x44b002,_0x269df1)=>{const _0x4006a6=a2_0x30593f,_0x295e6c=new SegmentUpdateCommand(),_0x5115b8=program[_0x4006a6(0x449)](),_0x28ef83=await createTDXInstance(_0x5115b8),_0x525f4b=await _0x295e6c[_0x4006a6(0x1f5)]({'options':{..._0x5115b8,..._0x269df1},'args':[_0x44b002],'tdx':_0x28ef83});gracefulExit(_0x525f4b);});const parentCmd=segmentCmd['command'](a2_0x30593f(0x229),{'hidden':!![]})[a2_0x30593f(0x33c)](a2_0x30593f(0x376)),parentListAction=async(_0x2e9680,_0x2f3289)=>{const _0xd71f08=a2_0x30593f,_0x2d701f=new ParentSegmentListCommand(),_0x5e1de7=program[_0xd71f08(0x449)](),_0x36442e=await createTDXInstance(_0x5e1de7),_0x31e813=await _0x2d701f[_0xd71f08(0x1f5)]({'options':{..._0x5e1de7,..._0x2f3289},'args':_0x2e9680?[_0x2e9680]:[],'tdx':_0x36442e});gracefulExit(_0x31e813);};parentCmd[a2_0x30593f(0x414)]('list\x20[pattern]')['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x30593f(0x2f7)](parentListAction),segmentCmd['command']('parents\x20[pattern]',{'hidden':!![]})[a2_0x30593f(0x33c)](a2_0x30593f(0x302))['action'](parentListAction),parentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2a7))[a2_0x30593f(0x33c)](a2_0x30593f(0x2d9))['option'](a2_0x30593f(0x4a2),'Output\x20file\x20path\x20(default:\x20<name>.yml)')['action'](async(_0x2ee4f9,_0xebb89a)=>{const _0x2a84bc=a2_0x30593f,_0x308649=new ParentSegmentPullCommand(),_0x55e6fa=program[_0x2a84bc(0x449)](),_0x37d017=await createTDXInstance(_0x55e6fa),_0x2c90ee=await _0x308649[_0x2a84bc(0x1f5)]({'options':{..._0x55e6fa,..._0xebb89a},'args':_0x2ee4f9?[_0x2ee4f9]:[],'tdx':_0x37d017});gracefulExit(_0x2c90ee);}),parentCmd['command'](a2_0x30593f(0x408))['description'](a2_0x30593f(0x312))[a2_0x30593f(0x2f7)](async(_0xf592ec,_0x4508ec)=>{const _0x141632=a2_0x30593f,_0x54d247=new ParentSegmentPushCommand(),_0x274fd6=program[_0x141632(0x449)](),_0x34969d=await createTDXInstance(_0x274fd6),_0x5f0c7e=await _0x54d247[_0x141632(0x1f5)]({'options':{..._0x274fd6,..._0x4508ec},'args':_0xf592ec?[_0xf592ec]:[],'tdx':_0x34969d});gracefulExit(_0x5f0c7e);}),parentCmd['command'](a2_0x30593f(0x276))[a2_0x30593f(0x33c)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x30593f(0x47b)](a2_0x30593f(0x301),a2_0x30593f(0x2d4))[a2_0x30593f(0x47b)](a2_0x30593f(0x30f),a2_0x30593f(0x2f5))['option'](a2_0x30593f(0x39a),a2_0x30593f(0x3a3))[a2_0x30593f(0x47b)](a2_0x30593f(0x206),a2_0x30593f(0x3de))[a2_0x30593f(0x47b)](a2_0x30593f(0x3e2),a2_0x30593f(0x24c),'-1d')[a2_0x30593f(0x2f7)](async(_0x5a91ef,_0x223e61)=>{const _0x696dbd=a2_0x30593f,_0x1b7745=new ParentSegmentValidateCommand(),_0x492e52=program[_0x696dbd(0x449)](),_0x599c8c=await createTDXInstance(_0x492e52),_0x3117fc=await _0x1b7745['run']({'options':{..._0x492e52,..._0x223e61},'args':_0x5a91ef?[_0x5a91ef]:[],'tdx':_0x599c8c});gracefulExit(_0x3117fc);}),parentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x367))['description'](a2_0x30593f(0x2ed))[a2_0x30593f(0x47b)]('--master','Show\x20master\x20table\x20sample\x20data')[a2_0x30593f(0x47b)](a2_0x30593f(0x30f),a2_0x30593f(0x443))[a2_0x30593f(0x47b)](a2_0x30593f(0x39a),a2_0x30593f(0x272))['option'](a2_0x30593f(0x206),a2_0x30593f(0x479))[a2_0x30593f(0x47b)](a2_0x30593f(0x3e2),a2_0x30593f(0x24c),a2_0x30593f(0x405))[a2_0x30593f(0x2f7)](async(_0x30a27a,_0xd71f9e)=>{const _0x4aef91=new ParentSegmentPreviewCommand(),_0x1cceba=program['opts'](),_0x2a91da=await createTDXInstance(_0x1cceba),_0x4afb6e=await _0x4aef91['run']({'options':{..._0x1cceba,..._0xd71f9e},'args':_0x30a27a?[_0x30a27a]:[],'tdx':_0x2a91da});gracefulExit(_0x4afb6e);}),parentCmd[a2_0x30593f(0x414)]('run\x20[name]')[a2_0x30593f(0x33c)](a2_0x30593f(0x42b))['action'](async(_0x45a9d6,_0x821a39)=>{const _0x7239d8=a2_0x30593f,_0x47c3c8=new ParentSegmentRunCommand(),_0x529333=program[_0x7239d8(0x449)](),_0x55207e=await createTDXInstance(_0x529333),_0x43bdc8=await _0x47c3c8[_0x7239d8(0x1f5)]({'options':{..._0x529333,..._0x821a39},'args':_0x45a9d6?[_0x45a9d6]:[],'tdx':_0x55207e});gracefulExit(_0x43bdc8);});const parentSegmentCmd=program['command'](a2_0x30593f(0x244))['alias']('ps')[a2_0x30593f(0x33c)](a2_0x30593f(0x288));function a2_0x5ac2(){const _0x3da78f=['Run\x20Trino\x20query\x20with\x20streaming\x20results','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','--version','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Include\x20subtasks\x20in\x20tasks\x20output','Create\x20segment\x20folder','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--result\x20<url>','--reeval','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','--stage\x20<name>','remove\x20<name>','--name\x20<new_name>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','\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','action','Alias\x20for\x20--database\x20(natural\x20language\x20style)','stdout','HTML\x20template\x20content','--include-history','Workflow\x20(Digdag)\x20management\x20commands','always-on-campaign','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Resume\x20a\x20paused\x20campaign','--no-count-population','--master','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','argumentTerm','--param\x20<key=value>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Timezone\x20(e.g.,\x20America/Los_Angeles)','Finish\x20an\x20always-on\x20campaign','jsonl','GET','Remove\x20API\x20key\x20from\x20system\x20keychain','Arguments:','List\x20agents\x20in\x20current\x20project','Authentication\x20management','--attribute\x20[name]','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--include-retried','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','tasks','apiKey','Open\x20parent\x20segment\x20in\x20web\x20browser','Pause\x20a\x20running\x20journey','schema\x20<type>','view\x20[name]','Behaviors\x20from\x20JSON\x20file','Kill\x20a\x20job','--verbose','--temperature\x20<n>','profile','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Show\x20timeline\x20for\x20specific\x20attempt','accessToken','Usage:\x20','long','push\x20[source-dir]','Show\x20authentication\x20status\x20and\x20current\x20context','argv','Data\x20connection\x20management\x20(for\x20activations/exports)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','[task-name]','secrets','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','90971NkUzvw','Agent\x20description','list','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','commands','name','32WKUaxD','--no-proxy','Create\x20a\x20new\x20LLM\x20project','--starter-message\x20<text>','clone\x20[source-dir]','Show\x20journey\x20table\x20column-to-step\x20mapping','flatMap','Name\x20for\x20the\x20new\x20project\x20(required)','List\x20all\x20users\x20in\x20the\x20account','description','llm','Skip\x20confirmation\x20prompts','tables\x20[pattern]','noColor','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','LLM\x20agent\x20management','models','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','replace','--database\x20<db>','retry','summary','desc\x20[segment_name]','--system-prompt\x20<text>','--follow','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','use\x20<project-name>','Show\x20schedule\x20details','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','history\x20<name>','--schedule-type\x20<type>','Updated\x20schedule\x20option','-f,\x20--file\x20<path>','--limit\x20<number>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','session','folder','optionTerm','Open\x20segment\x20in\x20web\x20browser','Maximum\x20tool\x20iterations\x20(default:\x204)','-n,\x20--name\x20<name>','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','--time\x20<iso8601>','--workspace\x20<name>','LLM\x20project\x20management','\x20-\x20built\x20','result\x20<job-id>','Create\x20a\x20new\x20always-on\x20campaign','Delivery\x20operations\x20(email\x20senders)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','preview\x20[file]','Customer\x20group\x20from\x20JSON\x20file','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','claude\x20[args...]','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','variadic','List\x20jobs','resume\x20<name-or-path>','Resume\x20from\x20specific\x20task','AI-native\x20CLI\x20for\x20Treasure\x20Data','Manage\x20workflow\x20project\x20secrets','delete\x20<name-or-id>','--trace','Include\x20retried\x20attempts','Parse\x20and\x20validate\x20without\x20executing','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','CDP\x20segment\x20management\x20commands','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a','--in\x20<database>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','--json','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Update\x20a\x20scheduled\x20query','[EXPERIMENTAL]\x20Show\x20chat\x20log','Limit\x20number\x20of\x20rows','show\x20<name>','List\x20available\x20LLM\x20models','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','stderr','--in\x20<db>','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','versions\x20<name-or-path>','get','New\x20segment\x20name','Show\x20schedule\x20execution\x20history','error','285786qiokAp','restore\x20<folder>','--chat-id\x20<id>','--type\x20<type>','Duplicate\x20an\x20always-on\x20campaign','statusline','0.7','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Campaign\x20management','flags','--kind\x20<type>','us01','delivery','--behavior\x20[name]','_hidden','List\x20activations\x20for\x20a\x20journey','Validate\x20template\x20YAML\x20files\x20locally','run\x20[name]','Maximum\x20recursion\x20depth\x20(default:\x2010)','Path\x20is\x20not\x20a\x20directory:\x20','--debug','Delete\x20an\x20email\x20template','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','--description\x20<text>','padEnd','--yes','includes','show\x20[segment_name]','sessions\x20[project]','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','isDirectory','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','profiles','pull\x20[workspace]','--llm-project\x20<name>','Commands:','join','--rule\x20<json>','create\x20[name]','-o,\x20--output\x20<folder>','use\x20[project]','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','optionDescription','Invalid\x20--limit\x20value:\x20\x22','backup\x20<name>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Run\x20a\x20scheduled\x20query\x20immediately','--behaviors-file\x20<file>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','gitRevision','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Clear\x20workflow\x20project\x20context','Request\x20body\x20as\x20JSON\x20string','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','--output\x20<file>','Interactive\x20chat\x20selector','Temperature\x20(0.0-2.0,\x20default:\x200.7)','run\x20[workflow]','New\x20campaign\x20name','schedule','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Database\x20name\x20(default:\x20information_schema)','--last','desc','json','validate\x20[name]','Job\x20priority\x20(-2\x20to\x202)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--limit\x20<rows>','Skip\x20confirmation\x20prompt','Delay\x20in\x20seconds\x20before\x20execution','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','--session\x20<id>','Email\x20sender\x20ID\x20for\x20delivery','-c,\x20--continue','information_schema','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Campaign\x20type\x20(email\x20or\x20push)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--default','--interval\x20<range>','--to\x20<timestamp>','init\x20[name]','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--num\x20<1-10>','connection','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','-r,\x20--recursive','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--table','Pause\x20an\x20always-on\x20campaign','preAction','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','--model\x20<name>','subcommandTerm','Always-on\x20campaign\x20management','List\x20all\x20versions\x20of\x20a\x20journey','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','injectIntoOptions','preview\x20[name]','engage','Create\x20a\x20new\x20campaign','sql\x20[segment_name]','--skip-validation','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','repeat','Database\x20to\x20query\x20(default:\x20information_schema)','--email-sender-id\x20<id>','status','templates\x20[pattern]','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','User\x20management\x20commands','agent','Delete\x20a\x20campaign','create\x20<parent_name>\x20<folder_name>','-1d','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--delete','push\x20[file]','set\x20<key=value>','upgrade\x20[version]','Invalid\x20editor\x20type:\x20','List\x20journeys\x20in\x20current\x20context','Model\x20type\x20(default:\x20claude-4.5-sonnet)','parent_segment','Add\x20attributes\x20from\x20JSON\x20file','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','update\x20<agent-name>','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','command','Update\x20an\x20existing\x20agent','--from-task\x20<task>','--no-eval','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','desc\x20[name]','[DEPRECATED]\x20Segment\x20folder\x20management','registeredArguments','Login\x20via\x20OAuth\x20(dev\x20sites\x20only)','query\x20[sql]','Duplicate\x20a\x20campaign','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Show\x20journey\x20details','--stream','Output\x20as\x20JSON','--subject\x20<subject>','--html\x20<html>','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Delete\x20an\x20agent','--dry-run','debug','Filtering\x20rule\x20from\x20JSON\x20file','\x20(resolved\x20to\x20','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','--format\x20<format>','Overwrite\x20local\x20changes\x20without\x20confirmation','show\x20[name]','Read\x20request\x20body\x20from\x20file','--no-color','Show\x20connection\x20details\x20by\x20name','chat\x20[message...]','Directory\x20does\x20not\x20exist:\x20','push\x20[target]','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','isTTY','show\x20<job-id>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20a\x20profile\x20configuration\x20value','chats','forEach','10kckEhO','Output\x20as\x20JSON\x20Lines','-w,\x20--web','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','test\x20[path]','activations\x20<name-or-path>','--prompt\x20<text>','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','-d,\x20--database\x20<db>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','map','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','kill','opts','Delete\x20a\x20scheduled\x20query','Output\x20file\x20path','view\x20<name-or-path>','--site\x20<site>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Campaign\x20description','Master\x20database\x20name','End\x20time\x20filter\x20(ISO\x208601\x20format)','pull\x20[workspace-name]','subcommandDescription','1626696XwwwBU','Workflow\x20session\x20management','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Include\x20raw\x20history\x20data\x20in\x20output','Submit\x20a\x20job','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','\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','Workflow\x20project\x20management','user','Job\x20management\x20commands','Pull\x20templates\x20to\x20YAML\x20files','System\x20prompt/instructions\x20(default:\x20empty)','Run\x20specific\x20tests\x20(comma-separated)','Updated\x20description','Update\x20a\x20workspace','7UBJfrO','10954878vEGWdr','-H,\x20--header\x20<header>','duplicate\x20<name-or-id>','Custom\x20revision\x20name\x20(default:\x20timestamp)','update\x20<name-or-id>','configureHelp','alias','isArray','INVALID_ARGUMENT','Resume\x20a\x20paused\x20journey','Get\x20job\x20results','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','usage','List\x20all\x20data\x20connections','length','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','tsv','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','option','Workspace\x20name\x20(required)','[options]\x20--\x20[claude-code-args...]','delete\x20<name>','logs','Task\x20name\x20for\x20logs\x20action','setup','buildTime','Force\x20retry\x20even\x20if\x20not\x20failed','--timezone\x20<tz>','Customer\x20group\x20as\x20JSON\x20string','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','launch\x20<name-or-id>','--max-depth\x20<depth>','--revision\x20<revision>','-d,\x20--database\x20<database>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','762747IaABbh','Trino\x20catalog\x20(default:\x20td)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Result\x20output\x20destination\x20URL','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','set','fields\x20[parent_name]','Behaviors\x20as\x20JSON\x20string','--segment\x20<path>','--from\x20<timestamp>','Attempt\x20ID','pull\x20<project>\x20[target-dir]','--description\x20<desc>','addHelpText','-X,\x20--method\x20<method>','[action]','Remove\x20a\x20profile','_list-commands','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Unknown\x20action:\x20','parse','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','-o,\x20--output\x20<file>','--version\x20<number>','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','-C,\x20--directory\x20<path>','Set\x20or\x20show\x20parent\x20segment\x20context','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--folder\x20<name>','retry\x20<session-id>','campaign','types','set\x20<args...>','Delete\x20a\x20workspace','Show\x20always-on\x20campaign\x20details','Filtering\x20rule\x20as\x20JSON\x20string','--add-attributes\x20<json>','show\x20<folder_ref>','--jsonl','Query\x20engine\x20version','--rule-file\x20<file>','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','workspace','Version\x20number\x20to\x20view','--name\x20<new-name>','--engine-version\x20<version>','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Push\x20without\x20confirmation','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','run','logLevel','jobs','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','hidden','find','list\x20[pattern]','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Ending\x20offset\x20(default:\x2020)','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','-v,\x20--verbose','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','--params\x20<json>','DEBUG','Parent\x20segment\x20description','--enriched','Create\x20a\x20workspace','Show\x20workspace\x20details','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','CDP\x20Journey\x20Orchestration\x20commands','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Folder\x20name\x20for\x20organization','activations\x20<segment_name>','kill\x20<job-id>','use\x20[resource]\x20[value]','Show\x20journey\x20statistics','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Save\x20output\x20to\x20file','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','--attempt-id\x20<id>','filter','\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,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','show\x20<name-or-id>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Check\x20for\x20updates\x20without\x20installing','slice','Preview\x20operation\x20without\x20executing','Segment\x20description','--retry-limit\x20<0~32>','auth','create\x20<name>','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','upgrade','--name\x20<name>','trino','delete\x20<agent-name>','job','update\x20<segment_name>','journeys\x20[pattern]','agents\x20[pattern]','parent','--timeout\x20<seconds>','catch','List\x20available\x20connector\x20types','pull\x20[project]\x20[agent-name]','Maximum\x20number\x20of\x20nodes','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Show\x20job\x20details','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Workspace\x20description','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','attempt','clone\x20[source]','engage_workspace','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Pull\x20workflow\x20project\x20to\x20local\x20folder','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','after','--table\x20<table>','log','grapesjs','Pull\x20specific\x20revision\x20(default:\x20latest)','pause\x20<name-or-id>','Query\x20type:\x20trino\x20or\x20hive','--start-at\x20<datetime>','--priority\x20<-2~2>','parent-segment','Show\x20agent\x20details','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','--clear','--tags\x20<tags>','Show\x20campaign\x20details','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Enable\x20UTM\x20tracking','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Timezone\x20for\x20cron\x20(default:\x20UTC)','list\x20[path]','Pause\x20a\x20campaign','209820LmKRwu','--full','use\x20<path>','Read\x20query\x20from\x20file','timeline\x20[project.workflow]','tdx','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','list\x20[project]','--delay\x20<seconds>','campaigns\x20[pattern]','--tsv','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','--data\x20<data>','use\x20<name>','--status\x20<status>','create','--resume-from\x20<task>','history\x20[chat-id]','database','Export\x20journey(s)\x20as\x20YAML\x20files','--new','unset\x20<resource>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','version','list\x20[name]','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','requiredOption','1300626COzYjx','senders\x20[pattern]','--method\x20<pm>','--json-columns\x20<cols>','resume\x20<name-or-id>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Create\x20an\x20email\x20template','--include-subtasks','Change\x20to\x20directory\x20before\x20executing\x20command','validate\x20[file]','Show\x20segment\x20schema\x20(column\x20types)','Launch\x20an\x20always-on\x20campaign','Pull\x20specific\x20campaign\x20by\x20name','fields\x20[name]','entries','Campaign\x20name','submit\x20[query]','folders\x20<parent_name>','segment','--from\x20<date>','--help','push\x20[parent_or_file]','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Show\x20segment\x20details\x20(alias\x20for\x20view)','info\x20[segment_name]','Name\x20for\x20the\x20duplicated\x20campaign','Reason\x20for\x20killing\x20the\x20attempt','Parent\x20segment\x20management','Master\x20table\x20name','\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','split','always-on-campaigns\x20[pattern]','commandDescription','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Updated\x20timezone',',\x20version\x20','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Move\x20to\x20folder','Resume\x20a\x20conversation\x20(shows\x20selector)','Pull\x20child\x20segments\x20to\x20YAML\x20files','padWidth','--add-attributes-file\x20<file>','Starting\x20offset\x20(default:\x200)','--parent-folder\x20<name>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','\x22.\x20Must\x20be\x20a\x20number.','--agent\x20<ref>','validate\x20[target]','--name\x20<text>','format','Include\x20retried\x20attempts\x20(for\x20list)','update\x20<name>','directory','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','Output\x20directory','stringify','view\x20[segment_name]','push','pull\x20[name]','RT\x202.0\x20configuration\x20management','Agent\x20prompt/instructions','createAsync','describe\x20[table]','--schedule-option\x20<value>','--session-id\x20<id>','[attempt-id]','--behaviors\x20<json>','Run\x20tests\x20for\x20an\x20LLM\x20agent','--to\x20<date>','-u,\x20--use','delete\x20<project-name-or-id>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','mcp','--job-type\x20<type>','--attributes-file\x20<file>','Validate\x20journey\x20YAML\x20files\x20locally','Skip\x20validation\x20of\x20.dig\x20files','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','site','...','stats\x20<name-or-path>','Plaintext\x20template\x20content','Skip\x20population\x20counting','sql\x20[name]','4XflaSs','show\x20[table]','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','argument','Journey\x20version\x20management','--cron\x20<expression>','Override\x20project\x20name','--editor-type\x20<type>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Parent\x20folder\x20name\x20for\x20nested\x20folders','project','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Email\x20subject\x20template','--attributes\x20<json>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Workspace\x20name','use\x20[name]','pull\x20[parent_or_file]','Show\x20only\x20master\x20table\x20validation','Read\x20HTML\x20template\x20from\x20file','Show\x20all\x20files\x20including\x20valid\x20ones','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','-y,\x20--yes','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','List\x20all\x20available\x20profiles','projects\x20[pattern]','options','-f,\x20--force','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','help','attempt:','--from\x20<n>','New\x20template\x20name','workspaces\x20[pattern]','Workspace\x20management','Cron\x20expression\x20for\x20scheduling'];a2_0x5ac2=function(){return _0x3da78f;};return a2_0x5ac2();}parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1fc))['description'](a2_0x30593f(0x32a))[a2_0x30593f(0x2f7)](parentListAction),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2a7))['description'](a2_0x30593f(0x3e0))['option'](a2_0x30593f(0x4a2),'Output\x20file\x20path')[a2_0x30593f(0x47b)](a2_0x30593f(0x2b2),a2_0x30593f(0x213))['action'](async(_0x1c2972,_0x501bb2)=>{const _0x66ad30=a2_0x30593f,_0x2c4fbe=new ParentSegmentPullCommand(),_0x430cb5=program['opts'](),_0x595bd9=await createTDXInstance(_0x430cb5),_0x35caf1=await _0x2c4fbe[_0x66ad30(0x1f5)]({'options':{..._0x430cb5,..._0x501bb2},'args':_0x1c2972?[_0x1c2972]:[],'tdx':_0x595bd9});gracefulExit(_0x35caf1);}),parentSegmentCmd['command']('push\x20[name]')[a2_0x30593f(0x33c)](a2_0x30593f(0x438))['action'](async(_0x33ccf7,_0x1ede38)=>{const _0x40b0cf=a2_0x30593f,_0x32c8f9=new ParentSegmentPushCommand(),_0x117abc=program['opts'](),_0x5dbcd6=await createTDXInstance(_0x117abc),_0x185293=await _0x32c8f9[_0x40b0cf(0x1f5)]({'options':{..._0x117abc,..._0x1ede38},'args':_0x33ccf7?[_0x33ccf7]:[],'tdx':_0x5dbcd6});gracefulExit(_0x185293);}),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3d2))[a2_0x30593f(0x33c)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option'](a2_0x30593f(0x301),a2_0x30593f(0x2d4))['option'](a2_0x30593f(0x30f),a2_0x30593f(0x2f5))[a2_0x30593f(0x47b)](a2_0x30593f(0x39a),a2_0x30593f(0x3a3))[a2_0x30593f(0x47b)](a2_0x30593f(0x206),a2_0x30593f(0x3de))['option'](a2_0x30593f(0x3e2),a2_0x30593f(0x24c),a2_0x30593f(0x405))[a2_0x30593f(0x2f7)](async(_0xef8425,_0x11f339)=>{const _0x513da2=a2_0x30593f,_0x4d7797=new ParentSegmentValidateCommand(),_0x474c6b=program[_0x513da2(0x449)](),_0x274708=await createTDXInstance(_0x474c6b),_0xea423c=await _0x4d7797[_0x513da2(0x1f5)]({'options':{..._0x474c6b,..._0x11f339},'args':_0xef8425?[_0xef8425]:[],'tdx':_0x274708});gracefulExit(_0xea423c);}),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3f5))[a2_0x30593f(0x33c)](a2_0x30593f(0x2ed))[a2_0x30593f(0x47b)](a2_0x30593f(0x301),'Show\x20master\x20table\x20sample\x20data')[a2_0x30593f(0x47b)](a2_0x30593f(0x30f),'Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x30593f(0x47b)]('--behavior\x20[name]',a2_0x30593f(0x272))[a2_0x30593f(0x47b)](a2_0x30593f(0x206),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x30593f(0x47b)](a2_0x30593f(0x3e2),a2_0x30593f(0x24c),a2_0x30593f(0x405))[a2_0x30593f(0x2f7)](async(_0x1d5c1d,_0x53cd3e)=>{const _0x1d1ace=a2_0x30593f,_0x4f12e3=new ParentSegmentPreviewCommand(),_0xc0da4c=program['opts'](),_0x4dea5b=await createTDXInstance(_0xc0da4c),_0x477603=await _0x4f12e3[_0x1d1ace(0x1f5)]({'options':{..._0xc0da4c,..._0x53cd3e},'args':_0x1d5c1d?[_0x1d5c1d]:[],'tdx':_0x4dea5b});gracefulExit(_0x477603);}),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x39e))[a2_0x30593f(0x33c)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['action'](async(_0x3a82ae,_0x344b01)=>{const _0x2a9a2f=new ParentSegmentRunCommand(),_0x537993=program['opts'](),_0x9d27e9=await createTDXInstance(_0x537993),_0x13df08=await _0x2a9a2f['run']({'options':{..._0x537993,..._0x344b01},'args':_0x3a82ae?[_0x3a82ae]:[],'tdx':_0x9d27e9});gracefulExit(_0x13df08);}),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x27a))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x30593f(0x37c),a2_0x30593f(0x422))[a2_0x30593f(0x47b)](a2_0x30593f(0x1ea),a2_0x30593f(0x43d))['action'](async(_0xc7a4df,_0x4e0c9a)=>{const _0x2ca7c0=a2_0x30593f,_0x17296a=new ParentSegmentFieldsCommand(),_0x231c24=program[_0x2ca7c0(0x449)](),_0x33127f=await createTDXInstance(_0x231c24),_0x40b6e1=await _0x17296a[_0x2ca7c0(0x1f5)]({'options':{..._0x231c24,..._0x4e0c9a},'args':_0xc7a4df?[_0xc7a4df]:[],'tdx':_0x33127f});gracefulExit(_0x40b6e1);}),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x318))[a2_0x30593f(0x33c)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x30593f(0x47b)](a2_0x30593f(0x43e),a2_0x30593f(0x315))[a2_0x30593f(0x47b)](a2_0x30593f(0x37c),a2_0x30593f(0x422))['option'](a2_0x30593f(0x1ea),a2_0x30593f(0x43d))[a2_0x30593f(0x2f7)](async(_0x716dc7,_0x11045a)=>{const _0x18bd27=a2_0x30593f,_0x4fb249=new ParentSegmentViewCommand(),_0x45c87f=program[_0x18bd27(0x449)](),_0xc34b0b=await createTDXInstance(_0x45c87f),_0x268381=await _0x4fb249['run']({'options':{..._0x45c87f,..._0x11045a},'args':_0x716dc7?[_0x716dc7]:[],'tdx':_0xc34b0b});gracefulExit(_0x268381);}),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x419))[a2_0x30593f(0x33c)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x30593f(0x47b)](a2_0x30593f(0x4a2),a2_0x30593f(0x44b))[a2_0x30593f(0x47b)](a2_0x30593f(0x37c),a2_0x30593f(0x422))[a2_0x30593f(0x47b)](a2_0x30593f(0x1ea),a2_0x30593f(0x43d))[a2_0x30593f(0x2f7)](async(_0x5988ac,_0x3bc9ca)=>{const _0x1628a4=a2_0x30593f,_0x394b1a=new ParentSegmentDescCommand(),_0x224d8e=program[_0x1628a4(0x449)](),_0xe57fb8=await createTDXInstance(_0x224d8e),_0x25cae5=await _0x394b1a[_0x1628a4(0x1f5)]({'options':{..._0x224d8e,..._0x3bc9ca},'args':_0x5988ac?[_0x5988ac]:[],'tdx':_0xe57fb8});gracefulExit(_0x25cae5);}),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2c1))[a2_0x30593f(0x33c)](a2_0x30593f(0x202))[a2_0x30593f(0x47b)]('--json',a2_0x30593f(0x422))[a2_0x30593f(0x47b)](a2_0x30593f(0x1ea),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x1aa80c,_0x287167)=>{const _0x100c46=new ParentSegmentSQLCommand(),_0x375c3e=program['opts'](),_0x24ec7d=await createTDXInstance(_0x375c3e),_0x289aeb=await _0x100c46['run']({'options':{..._0x375c3e,..._0x287167},'args':_0x1aa80c?[_0x1aa80c]:[],'tdx':_0x24ec7d});gracefulExit(_0x289aeb);}),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x42e))[a2_0x30593f(0x33c)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('--limit\x20<n>',a2_0x30593f(0x380))['option'](a2_0x30593f(0x37c),a2_0x30593f(0x422))[a2_0x30593f(0x47b)](a2_0x30593f(0x1ea),a2_0x30593f(0x43d))[a2_0x30593f(0x2f7)](async(_0x5e0366,_0x59eaba)=>{const _0x4f0d17=a2_0x30593f,_0x571926=new ParentSegmentShowCommand(),_0xc2084b=program[_0x4f0d17(0x449)](),_0x1d0cf6=await createTDXInstance(_0xc2084b),_0x3a6cc7=await _0x571926[_0x4f0d17(0x1f5)]({'options':{..._0xc2084b,..._0x59eaba},'args':_0x5e0366?[_0x5e0366]:[],'tdx':_0x1d0cf6});gracefulExit(_0x3a6cc7);}),parentSegmentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2d2))[a2_0x30593f(0x33c)](a2_0x30593f(0x1de))[a2_0x30593f(0x2f7)](async(_0x2522c6,_0x2eb780)=>{const _0x275668=a2_0x30593f,_0xee8c44=new UseCommand(),_0x3f60fb=program[_0x275668(0x449)](),_0x112900=_0x2522c6?[_0x275668(0x40e),_0x2522c6]:[],_0x38133c=await _0xee8c44[_0x275668(0x1f5)]({'options':{..._0x3f60fb,..._0x2eb780},'args':_0x112900,'tdx':null});gracefulExit(_0x38133c);});const psRtCmd=parentSegmentCmd[a2_0x30593f(0x414)]('rt')[a2_0x30593f(0x33c)](a2_0x30593f(0x2a8));psRtCmd[a2_0x30593f(0x414)]('list\x20[pattern]')[a2_0x30593f(0x33c)](a2_0x30593f(0x306))[a2_0x30593f(0x2f7)](async(_0x27afc3,_0x8daa26)=>{const _0x41b505=new PSRtListCommand(),_0x5e1d67=program['opts'](),_0x196dfc=await createTDXInstance(_0x5e1d67),_0x245f00=await _0x41b505['run']({'options':{..._0x5e1d67,..._0x8daa26},'args':_0x27afc3?[_0x27afc3]:[],'tdx':_0x196dfc});gracefulExit(_0x245f00);}),psRtCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3d2))['description']('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')['action'](async(_0x292ea0,_0x4bc038)=>{const _0x3bc686=a2_0x30593f,_0x2715b3=new PSRtValidateCommand(),_0x12177f=program[_0x3bc686(0x449)](),_0x1d49fc=await createTDXInstance(_0x12177f),_0x16ff18=await _0x2715b3[_0x3bc686(0x1f5)]({'options':{..._0x12177f,..._0x4bc038},'args':_0x292ea0?[_0x292ea0]:[],'tdx':_0x1d49fc});gracefulExit(_0x16ff18);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})['description'](a2_0x30593f(0x2a8));parentRtCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1fc))[a2_0x30593f(0x33c)](a2_0x30593f(0x306))[a2_0x30593f(0x2f7)](async(_0x327ead,_0x39e593)=>{const _0x39630d=a2_0x30593f,_0x3af538=new PSRtListCommand(),_0x385288=program[_0x39630d(0x449)](),_0x5512dd=await createTDXInstance(_0x385288),_0x156b77=await _0x3af538[_0x39630d(0x1f5)]({'options':{..._0x385288,..._0x39e593},'args':_0x327ead?[_0x327ead]:[],'tdx':_0x5512dd});gracefulExit(_0x156b77);}),parentRtCmd['command']('validate\x20[name]')[a2_0x30593f(0x33c)](a2_0x30593f(0x400))[a2_0x30593f(0x2f7)](async(_0x3ece8a,_0x11437e)=>{const _0x57e112=a2_0x30593f,_0x1c8b0b=new PSRtValidateCommand(),_0x2df0ce=program[_0x57e112(0x449)](),_0x359587=await createTDXInstance(_0x2df0ce),_0x47babd=await _0x1c8b0b['run']({'options':{..._0x2df0ce,..._0x11437e},'args':_0x3ece8a?[_0x3ece8a]:[],'tdx':_0x359587});gracefulExit(_0x47babd);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x30593f(0x33c)]('Personalization\x20service\x20management');psPzCmd[a2_0x30593f(0x414)](a2_0x30593f(0x26a))[a2_0x30593f(0x33c)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x30593f(0x2f7)](async(_0x57b425,_0x303659)=>{const _0x502c53=new PSPzListCommand(),_0x49bdf0=program['opts'](),_0x398a99=await createTDXInstance(_0x49bdf0),_0x11f751=await _0x502c53['run']({'options':{..._0x49bdf0,..._0x303659},'args':_0x57b425?[_0x57b425]:[],'tdx':_0x398a99});gracefulExit(_0x11f751);}),psPzCmd['command'](a2_0x30593f(0x3e4))[a2_0x30593f(0x33c)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x30593f(0x2f7)](async(_0x4d5139,_0x1f94d8)=>{const _0x582a9a=a2_0x30593f,_0x3aadd6=new PSPzInitCommand(),_0x6864c0=program[_0x582a9a(0x449)](),_0x42c8f1=await createTDXInstance(_0x6864c0),_0x33d86b=await _0x3aadd6[_0x582a9a(0x1f5)]({'options':{..._0x6864c0,..._0x1f94d8},'args':_0x4d5139?[_0x4d5139]:[],'tdx':_0x42c8f1});gracefulExit(_0x33d86b);});const parentPzCmd=parentCmd[a2_0x30593f(0x414)]('pz',{'hidden':!![]})[a2_0x30593f(0x33c)]('Personalization\x20service\x20management');parentPzCmd[a2_0x30593f(0x414)](a2_0x30593f(0x26a))['description']('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x30593f(0x2f7)](async(_0x2ba9c9,_0x5f3c34)=>{const _0x419922=a2_0x30593f,_0x348705=new PSPzListCommand(),_0x679353=program[_0x419922(0x449)](),_0x373191=await createTDXInstance(_0x679353),_0x5f16b4=await _0x348705['run']({'options':{..._0x679353,..._0x5f3c34},'args':_0x2ba9c9?[_0x2ba9c9]:[],'tdx':_0x373191});gracefulExit(_0x5f16b4);}),parentPzCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3e4))[a2_0x30593f(0x33c)](a2_0x30593f(0x291))[a2_0x30593f(0x2f7)](async(_0x2615d1,_0x1e1bc7)=>{const _0x572a12=a2_0x30593f,_0x25ed1f=new PSPzInitCommand(),_0x93807a=program[_0x572a12(0x449)](),_0xcc697d=await createTDXInstance(_0x93807a),_0x31d9bc=await _0x25ed1f[_0x572a12(0x1f5)]({'options':{..._0x93807a,..._0x1e1bc7},'args':_0x2615d1?[_0x2615d1]:[],'tdx':_0xcc697d});gracefulExit(_0x31d9bc);}),parentCmd[a2_0x30593f(0x414)](a2_0x30593f(0x21f))[a2_0x30593f(0x33c)](a2_0x30593f(0x490))[a2_0x30593f(0x26c)](a2_0x30593f(0x346),a2_0x30593f(0x450))[a2_0x30593f(0x26c)](a2_0x30593f(0x23c),a2_0x30593f(0x289))[a2_0x30593f(0x47b)](a2_0x30593f(0x3a4),a2_0x30593f(0x205))[a2_0x30593f(0x47b)](a2_0x30593f(0x353),a2_0x30593f(0x447))[a2_0x30593f(0x47b)](a2_0x30593f(0x2ac),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x30593f(0x47b)](a2_0x30593f(0x484),a2_0x30593f(0x307))['option'](a2_0x30593f(0x2cf),'Attributes\x20as\x20JSON\x20string')[a2_0x30593f(0x47b)](a2_0x30593f(0x2b8),'Attributes\x20from\x20JSON\x20file')[a2_0x30593f(0x47b)](a2_0x30593f(0x2af),a2_0x30593f(0x493))[a2_0x30593f(0x47b)](a2_0x30593f(0x3be),a2_0x30593f(0x319))[a2_0x30593f(0x47b)]('--customer-group\x20<json>',a2_0x30593f(0x485))[a2_0x30593f(0x47b)]('--customer-group-file\x20<file>',a2_0x30593f(0x368))[a2_0x30593f(0x2f7)](async(_0x2225fc,_0x55aa94)=>{const _0x3a4401=a2_0x30593f,_0x57d3ed=new ParentSegmentCreateCommand(),_0x49e229=program[_0x3a4401(0x449)](),_0x32bfd7=await createTDXInstance(_0x49e229),_0x5ef636=await _0x57d3ed[_0x3a4401(0x1f5)]({'options':{..._0x49e229,..._0x55aa94},'args':[_0x2225fc],'tdx':_0x32bfd7});gracefulExit(_0x5ef636);}),parentCmd['command'](a2_0x30593f(0x2a0))[a2_0x30593f(0x33c)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x30593f(0x47b)]('--description\x20<text>',a2_0x30593f(0x461))[a2_0x30593f(0x47b)](a2_0x30593f(0x353),a2_0x30593f(0x2fe))['option']('--schedule-option\x20<value>',a2_0x30593f(0x354))[a2_0x30593f(0x47b)]('--timezone\x20<tz>',a2_0x30593f(0x28f))[a2_0x30593f(0x47b)](a2_0x30593f(0x1e8),'Add\x20attributes\x20as\x20JSON\x20string')['option'](a2_0x30593f(0x296),a2_0x30593f(0x40f))[a2_0x30593f(0x47b)]('--add-behaviors\x20<json>','Add\x20behaviors\x20as\x20JSON\x20string')['option']('--add-behaviors-file\x20<file>','Add\x20behaviors\x20from\x20JSON\x20file')['action'](async(_0x147af5,_0x5403ea)=>{const _0x3cc170=a2_0x30593f,_0x5293ad=new ParentSegmentUpdateCommand(),_0x123ccd=program[_0x3cc170(0x449)](),_0x24c5ed=await createTDXInstance(_0x123ccd),_0x334ce5=await _0x5293ad[_0x3cc170(0x1f5)]({'options':{..._0x123ccd,..._0x5403ea},'args':[_0x147af5],'tdx':_0x24c5ed});gracefulExit(_0x334ce5);}),folderCmd['command'](a2_0x30593f(0x404))['description'](a2_0x30593f(0x2ec))['option']('--description\x20<text>','Folder\x20description')[a2_0x30593f(0x47b)](a2_0x30593f(0x298),a2_0x30593f(0x2cb))[a2_0x30593f(0x2f7)](async(_0x46c2ae,_0x4a38bc,_0x57d738)=>{const _0x587d02=a2_0x30593f,_0x575cd8=new SegmentFolderCreateCommand(),_0x35403a=program['opts'](),_0xf74b45=await createTDXInstance(_0x35403a),_0xfb8a2e=await _0x575cd8[_0x587d02(0x1f5)]({'options':{..._0x35403a,..._0x57d738},'args':[_0x46c2ae,_0x4a38bc],'tdx':_0xf74b45});gracefulExit(_0xfb8a2e);}),program[a2_0x30593f(0x414)](a2_0x30593f(0x20d))[a2_0x30593f(0x33c)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x30593f(0x2f7)](async(_0x457aad,_0x2b677b)=>{const _0x561e47=a2_0x30593f,_0x4a453f=new ActivationsCommand(),_0x235e6a=program['opts'](),_0x39f1b9=await createTDXInstance(_0x235e6a),_0x926409=await _0x4a453f[_0x561e47(0x1f5)]({'options':{..._0x235e6a,..._0x2b677b},'args':[_0x457aad],'tdx':_0x39f1b9});gracefulExit(_0x926409);});const workflowCmd=program[a2_0x30593f(0x414)]('workflow')[a2_0x30593f(0x46a)]('wf')[a2_0x30593f(0x33c)](a2_0x30593f(0x2fc)),wfProjectCmd=workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2cc))[a2_0x30593f(0x33c)](a2_0x30593f(0x45b)),wfProjectListAction=async(_0x397c13,_0xa00b81)=>{const _0x45cd5b=a2_0x30593f,_0x4961e0=new WorkflowProjectsCommand(),_0x553eb7=program[_0x45cd5b(0x449)](),_0x26abaa=await createTDXInstance(_0x553eb7),_0x31d35e=await _0x4961e0['run']({'options':{..._0x553eb7,..._0xa00b81},'args':_0x397c13?[_0x397c13]:[],'tdx':_0x26abaa});gracefulExit(_0x31d35e);};wfProjectCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1fc))[a2_0x30593f(0x33c)](a2_0x30593f(0x327))[a2_0x30593f(0x2f7)](wfProjectListAction),workflowCmd['command'](a2_0x30593f(0x2db))[a2_0x30593f(0x33c)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x30593f(0x2f7)](wfProjectListAction);const wfWorkflowListAction=async(_0x18b5b4,_0x59bdc7)=>{const _0x4651bd=a2_0x30593f,_0x330e6d=new WorkflowWorkflowsCommand(),_0x18ebea=program[_0x4651bd(0x449)](),_0x2f05bb=await createTDXInstance(_0x18ebea),_0x12d33f=await _0x330e6d[_0x4651bd(0x1f5)]({'options':{..._0x18ebea,..._0x59bdc7},'args':_0x18b5b4?[_0x18b5b4]:[],'tdx':_0x2f05bb});gracefulExit(_0x12d33f);};workflowCmd[a2_0x30593f(0x414)]('workflows\x20[project]')['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x30593f(0x2f7)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x358))['description'](a2_0x30593f(0x455)),wfSessionListAction=async(_0x42c50d,_0x1da383)=>{const _0x25eac6=a2_0x30593f,_0x2ca025=new WorkflowSessionsCommand(),_0x57a76e=program[_0x25eac6(0x449)](),_0x2474f1=await createTDXInstance(_0x57a76e),_0x310d79=await _0x2ca025[_0x25eac6(0x1f5)]({'options':{..._0x57a76e,..._0x1da383},'args':_0x42c50d?[_0x42c50d]:[],'tdx':_0x2474f1});gracefulExit(_0x310d79);};wfSessionCmd[a2_0x30593f(0x414)](a2_0x30593f(0x259))[a2_0x30593f(0x33c)](a2_0x30593f(0x472))[a2_0x30593f(0x47b)](a2_0x30593f(0x260),a2_0x30593f(0x2e7))[a2_0x30593f(0x47b)]('--from\x20<timestamp>',a2_0x30593f(0x299))[a2_0x30593f(0x47b)](a2_0x30593f(0x3e3),a2_0x30593f(0x451))[a2_0x30593f(0x2f7)](wfSessionListAction),workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3a9))[a2_0x30593f(0x33c)]('List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)')[a2_0x30593f(0x47b)]('--status\x20<status>',a2_0x30593f(0x2e7))[a2_0x30593f(0x47b)](a2_0x30593f(0x495),a2_0x30593f(0x299))[a2_0x30593f(0x47b)](a2_0x30593f(0x3e3),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x30593f(0x2f7)](wfSessionListAction);const wfAttemptListAction=async(_0xa8e824,_0x4b5037)=>{const _0x4ea6d4=a2_0x30593f,_0x2837ef=new WorkflowAttemptsCommand(),_0x3cd6b8=program[_0x4ea6d4(0x449)](),_0x3fd447=await createTDXInstance(_0x3cd6b8),_0x23706b=await _0x2837ef[_0x4ea6d4(0x1f5)]({'options':{..._0x3cd6b8,..._0x4b5037},'args':_0xa8e824?[_0xa8e824]:[],'tdx':_0x3fd447});gracefulExit(_0x23706b);},attemptCmd=workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x235))[a2_0x30593f(0x33c)]('Workflow\x20attempt\x20management')['argument'](a2_0x30593f(0x2ae),a2_0x30593f(0x496))[a2_0x30593f(0x2c5)](a2_0x30593f(0x49b),a2_0x30593f(0x34d))[a2_0x30593f(0x2c5)](a2_0x30593f(0x328),a2_0x30593f(0x480))['option'](a2_0x30593f(0x274),a2_0x30593f(0x2eb))[a2_0x30593f(0x47b)]('--reason\x20<text>',a2_0x30593f(0x287))[a2_0x30593f(0x47b)](a2_0x30593f(0x262),'Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x30593f(0x47b)](a2_0x30593f(0x203),a2_0x30593f(0x37a))[a2_0x30593f(0x47b)]('--force',a2_0x30593f(0x483))[a2_0x30593f(0x47b)](a2_0x30593f(0x311),a2_0x30593f(0x29f))[a2_0x30593f(0x2f7)](async(_0x147058,_0x172e94,_0x54fc85,_0x52334a)=>{const _0x548c95=a2_0x30593f;if(_0x147058==='list'){await wfAttemptListAction(_0x172e94,_0x52334a);return;}if(!_0x147058){attemptCmd[_0x548c95(0x2df)]();return;}const _0x42a6a3=program[_0x548c95(0x449)](),_0x4fd7af=await createTDXInstance(_0x42a6a3);let _0x5ea1d1=0x0;if(!_0x172e94){const _0xdc3225=new WorkflowAttemptCommand();_0x5ea1d1=await _0xdc3225[_0x548c95(0x1f5)]({'options':{..._0x42a6a3,..._0x52334a},'args':[_0x147058],'tdx':_0x4fd7af});}else{if(_0x172e94===_0x548c95(0x47f)){const _0x57a59c=new WorkflowLogsCommand();_0x5ea1d1=await _0x57a59c[_0x548c95(0x1f5)]({'options':{..._0x42a6a3,..._0x52334a},'args':_0x54fc85?[_0x147058,_0x54fc85]:[_0x147058],'tdx':_0x4fd7af});}else{if(_0x172e94===_0x548c95(0x313)){const _0x154b95=new WorkflowTasksCommand();_0x5ea1d1=await _0x154b95[_0x548c95(0x1f5)]({'options':{..._0x42a6a3,..._0x52334a},'args':[_0x147058],'tdx':_0x4fd7af});}else{if(_0x172e94===_0x548c95(0x448)){const _0x16b1cd=new WorkflowKillCommand();_0x5ea1d1=await _0x16b1cd['run']({'options':{..._0x42a6a3,..._0x52334a},'args':[_0x147058],'tdx':_0x4fd7af});}else{if(_0x172e94===_0x548c95(0x347)){const _0x4f21c8=new WorkflowRetryCommand();_0x5ea1d1=await _0x4f21c8[_0x548c95(0x1f5)]({'options':{..._0x42a6a3,..._0x52334a},'args':[_0x548c95(0x2e0)+_0x147058],'tdx':_0x4fd7af});}else console['error'](_0x548c95(0x49f)+_0x172e94),console[_0x548c95(0x38b)](_0x548c95(0x22f)),_0x5ea1d1=0x1;}}}}gracefulExit(_0x5ea1d1);});attemptCmd[a2_0x30593f(0x414)](a2_0x30593f(0x259))[a2_0x30593f(0x33c)](a2_0x30593f(0x3c4))[a2_0x30593f(0x47b)](a2_0x30593f(0x311),a2_0x30593f(0x374))['action'](wfAttemptListAction),workflowCmd['command']('attempts\x20[project]')[a2_0x30593f(0x33c)]('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')['option'](a2_0x30593f(0x311),a2_0x30593f(0x374))[a2_0x30593f(0x2f7)](wfAttemptListAction),workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x256))[a2_0x30593f(0x33c)](a2_0x30593f(0x383))['option'](a2_0x30593f(0x34b),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x30593f(0x47b)](a2_0x30593f(0x2ad),a2_0x30593f(0x1fd))[a2_0x30593f(0x47b)](a2_0x30593f(0x214),a2_0x30593f(0x31f))['action'](async(_0x2731ab,_0x31dfb5)=>{const _0x4380d4=a2_0x30593f,_0x1ae581=new WorkflowTimelineCommand(),_0x1eb827=program[_0x4380d4(0x449)](),_0x4ed2c0=await createTDXInstance(_0x1eb827),_0x18403a=await _0x1ae581[_0x4380d4(0x1f5)]({'options':{..._0x1eb827,..._0x31dfb5},'args':_0x2731ab?[_0x2731ab]:[],'tdx':_0x4ed2c0});gracefulExit(_0x18403a);}),workflowCmd['command'](a2_0x30593f(0x1e1))[a2_0x30593f(0x33c)](a2_0x30593f(0x2d0))[a2_0x30593f(0x47b)](a2_0x30593f(0x416),a2_0x30593f(0x36f))[a2_0x30593f(0x47b)]('--params\x20<json>',a2_0x30593f(0x32e))[a2_0x30593f(0x2f7)](async(_0x4c09e5,_0xe182e3)=>{const _0x27fa97=a2_0x30593f,_0x595900=new WorkflowRetryCommand(),_0x2ae2f6=program['opts'](),_0x491bb7=await createTDXInstance(_0x2ae2f6),_0x471173=await _0x595900[_0x27fa97(0x1f5)]({'options':{..._0x2ae2f6,..._0xe182e3},'args':[_0x4c09e5],'tdx':_0x491bb7});gracefulExit(_0x471173);}),workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3c8))[a2_0x30593f(0x33c)](a2_0x30593f(0x258))['option'](a2_0x30593f(0x304),'Workflow\x20parameter\x20(repeatable)',(_0x39ac40,_0x4d4748=[])=>[..._0x4d4748,_0x39ac40],[])[a2_0x30593f(0x47b)]('--session-time\x20<time>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x30593f(0x2f7)](async(_0xf0e973,_0x1af5ee)=>{const _0x205844=a2_0x30593f,_0x173521=new WorkflowRunCommand(),_0x22ac12=program[_0x205844(0x449)](),_0x3618da=await createTDXInstance(_0x22ac12),_0x56365c=await _0x173521['run']({'options':{..._0x22ac12,..._0x1af5ee},'args':_0xf0e973?[_0xf0e973]:[],'tdx':_0x3618da});gracefulExit(_0x56365c);}),workflowCmd[a2_0x30593f(0x414)]('download\x20<project-name>\x20[output-dir]')[a2_0x30593f(0x33c)](a2_0x30593f(0x46f))[a2_0x30593f(0x47b)](a2_0x30593f(0x489),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x30593f(0x2f7)](async(_0x344aff,_0x2a5935,_0x26b593)=>{const _0x5c9c80=a2_0x30593f,_0x4a5907=new WorkflowDownloadCommand(),_0x4fae69=program[_0x5c9c80(0x449)](),_0x4b0a7d=await createTDXInstance(_0x4fae69),_0x5d28e7=await _0x4a5907[_0x5c9c80(0x1f5)]({'options':{..._0x4fae69,..._0x26b593},'args':[_0x344aff,_0x2a5935||'.'],'tdx':_0x4b0a7d});gracefulExit(_0x5d28e7);}),workflowCmd['command'](a2_0x30593f(0x497))[a2_0x30593f(0x33c)](a2_0x30593f(0x239))[a2_0x30593f(0x47b)](a2_0x30593f(0x489),a2_0x30593f(0x23f))['option'](a2_0x30593f(0x427),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x30593f(0x2f7)](async(_0x303bf8,_0x2fc5cf,_0x805d55)=>{const _0x1bd5cf=a2_0x30593f,_0xc806e0=new WorkflowPullCommand(),_0x15c90c=program[_0x1bd5cf(0x449)](),_0x21275a=await createTDXInstance(_0x15c90c),_0x3f9875=await _0xc806e0[_0x1bd5cf(0x1f5)]({'options':{..._0x15c90c,..._0x805d55},'args':_0x2fc5cf?[_0x303bf8,_0x2fc5cf]:[_0x303bf8],'tdx':_0x21275a});gracefulExit(_0x3f9875);}),workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x323))[a2_0x30593f(0x33c)]('Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data')[a2_0x30593f(0x47b)](a2_0x30593f(0x489),a2_0x30593f(0x467))[a2_0x30593f(0x47b)](a2_0x30593f(0x427),'Preview\x20changes\x20without\x20pushing')[a2_0x30593f(0x47b)]('--skip-validation',a2_0x30593f(0x2ba))[a2_0x30593f(0x2f7)](async(_0x2abe2f,_0x24702c)=>{const _0x65fa56=a2_0x30593f,_0x106640=new WorkflowPushCommand(),_0x476119=program[_0x65fa56(0x449)](),_0x2904f2=await createTDXInstance(_0x476119),_0x452daa=await _0x106640['run']({'options':{..._0x476119,..._0x24702c},'args':_0x2abe2f?[_0x2abe2f]:[],'tdx':_0x2904f2});gracefulExit(_0x452daa);}),workflowCmd['command']('upload\x20[project-name-or-dir]')[a2_0x30593f(0x33c)]('Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)')['option'](a2_0x30593f(0x222),a2_0x30593f(0x2c8))[a2_0x30593f(0x47b)]('--revision\x20<revision>','Revision\x20name\x20(default:\x20timestamp)')[a2_0x30593f(0x47b)](a2_0x30593f(0x3f9),a2_0x30593f(0x2ba))[a2_0x30593f(0x2f7)](async(_0xc9ad,_0x3a045e)=>{const _0x5d3670=a2_0x30593f,_0x27cee3=new WorkflowUploadCommand(),_0x2cf78b=program[_0x5d3670(0x449)](),_0x49d6e0=await createTDXInstance(_0x2cf78b),_0x582754=await _0x27cee3['run']({'options':{..._0x2cf78b,..._0x3a045e},'args':_0xc9ad?[_0xc9ad]:[],'tdx':_0x49d6e0});gracefulExit(_0x582754);}),workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x337))['description']('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x30593f(0x47b)](a2_0x30593f(0x222),a2_0x30593f(0x33a))[a2_0x30593f(0x47b)](a2_0x30593f(0x489),a2_0x30593f(0x467))['option'](a2_0x30593f(0x427),'Preview\x20without\x20creating\x20the\x20project')[a2_0x30593f(0x47b)](a2_0x30593f(0x3f9),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x30593f(0x2f7)](async(_0x4e8ac3,_0x16b70f)=>{const _0x26d850=a2_0x30593f,_0x6cea26=new WorkflowCloneCommand(),_0xfe9693=program['opts'](),_0x1b15a2=await createTDXInstance(_0xfe9693),_0x5010ff=await _0x6cea26[_0x26d850(0x1f5)]({'options':{..._0xfe9693,..._0x16b70f},'args':_0x4e8ac3?[_0x4e8ac3]:[],'tdx':_0x1b15a2});gracefulExit(_0x5010ff);}),workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2b3))[a2_0x30593f(0x33c)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')['action'](async(_0x203be7,_0x39c3cc)=>{const _0x4e63a8=a2_0x30593f,_0x75841a=new WorkflowDeleteCommand(),_0x21b949=program[_0x4e63a8(0x449)](),_0x44d0d6=await createTDXInstance(_0x21b949),_0x137bf4=await _0x75841a['run']({'options':{..._0x21b949,..._0x39c3cc},'args':[_0x203be7],'tdx':_0x44d0d6});gracefulExit(_0x137bf4);}),workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3b6))['description'](a2_0x30593f(0x200))[a2_0x30593f(0x47b)](a2_0x30593f(0x247),a2_0x30593f(0x3c2))['action'](async(_0x5e1810,_0x282b45)=>{const _0x31ee43=a2_0x30593f,_0x45dfe2=new WorkflowUseCommand(),_0x1ac63d=program[_0x31ee43(0x449)](),_0x3adc7e=await createTDXInstance(_0x1ac63d),_0x2b88d7=await _0x45dfe2[_0x31ee43(0x1f5)]({'options':{..._0x1ac63d,..._0x282b45},'args':_0x5e1810?[_0x5e1810]:[],'tdx':_0x3adc7e});gracefulExit(_0x2b88d7);});const wfSecretsCmd=workflowCmd[a2_0x30593f(0x414)](a2_0x30593f(0x329))['description'](a2_0x30593f(0x371));wfSecretsCmd[a2_0x30593f(0x414)]('list\x20[project]')['description']('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x417ae4,_0xba4dd0)=>{const _0x252790=a2_0x30593f,_0x22bd49=new WorkflowSecretsListCommand(),_0x9b0796=program[_0x252790(0x449)](),_0x516599=await createTDXInstance(_0x9b0796),_0x58bc17=await _0x22bd49[_0x252790(0x1f5)]({'options':{..._0x9b0796,..._0xba4dd0},'args':_0x417ae4?[_0x417ae4]:[],'tdx':_0x516599});gracefulExit(_0x58bc17);}),wfSecretsCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1e4))[a2_0x30593f(0x33c)](a2_0x30593f(0x418))['action'](async(_0x372335,_0x44706a)=>{const _0x59945b=a2_0x30593f,_0x2adc14=new WorkflowSecretsSetCommand(),_0x167731=program[_0x59945b(0x449)](),_0xb317e5=await createTDXInstance(_0x167731),_0xd25758=await _0x2adc14[_0x59945b(0x1f5)]({'options':{..._0x167731,..._0x44706a},'args':_0x372335,'tdx':_0xb317e5});gracefulExit(_0xd25758);}),wfSecretsCmd[a2_0x30593f(0x414)]('delete\x20<args...>')[a2_0x30593f(0x33c)](a2_0x30593f(0x268))[a2_0x30593f(0x2f7)](async(_0x293135,_0x5490d0)=>{const _0x48064c=a2_0x30593f,_0x20f22a=new WorkflowSecretsDeleteCommand(),_0x31b604=program[_0x48064c(0x449)](),_0x46d393=await createTDXInstance(_0x31b604),_0x2f591b=await _0x20f22a[_0x48064c(0x1f5)]({'options':{..._0x31b604,..._0x5490d0},'args':_0x293135,'tdx':_0x46d393});gracefulExit(_0x2f591b);});const jobCmd=program['command'](a2_0x30593f(0x225))[a2_0x30593f(0x33c)](a2_0x30593f(0x45d)),jobListAction=async _0x4bc4f0=>{const _0x123198=a2_0x30593f,_0x4c844c=new JobListCommand(),_0x51b335=program[_0x123198(0x449)](),_0x30fdc1=await createTDXInstance(_0x51b335),_0x12d12a=await _0x4c844c[_0x123198(0x1f5)]({'options':{..._0x51b335,..._0x4bc4f0},'args':[],'tdx':_0x30fdc1});gracefulExit(_0x12d12a);};jobCmd[a2_0x30593f(0x414)](a2_0x30593f(0x32d))[a2_0x30593f(0x33c)](a2_0x30593f(0x36d))[a2_0x30593f(0x47b)]('--status\x20<status>',a2_0x30593f(0x3bc))[a2_0x30593f(0x2f7)](jobListAction),program[a2_0x30593f(0x414)](a2_0x30593f(0x1f7),{'hidden':!![]})['description'](a2_0x30593f(0x435))[a2_0x30593f(0x47b)](a2_0x30593f(0x260),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')['action'](jobListAction),jobCmd[a2_0x30593f(0x414)](a2_0x30593f(0x437))[a2_0x30593f(0x33c)](a2_0x30593f(0x230))[a2_0x30593f(0x2f7)](async(_0x1ded50,_0x4265b0)=>{const _0x32489f=a2_0x30593f,_0x45347e=new JobShowCommand(),_0x3ed98d=program[_0x32489f(0x449)](),_0x546c4c=await createTDXInstance(_0x3ed98d),_0x3de226=await _0x45347e[_0x32489f(0x1f5)]({'options':{..._0x3ed98d,..._0x4265b0},'args':[_0x1ded50],'tdx':_0x546c4c});gracefulExit(_0x3de226);}),jobCmd['command'](a2_0x30593f(0x20e))[a2_0x30593f(0x33c)](a2_0x30593f(0x31a))[a2_0x30593f(0x2f7)](async(_0x1a051d,_0x469a9e)=>{const _0x1c0437=a2_0x30593f,_0x1e48b5=new JobKillCommand(),_0x370f5f=program[_0x1c0437(0x449)](),_0x3b0acb=await createTDXInstance(_0x370f5f),_0x92a14=await _0x1e48b5[_0x1c0437(0x1f5)]({'options':{..._0x370f5f,..._0x469a9e},'args':[_0x1a051d],'tdx':_0x3b0acb});gracefulExit(_0x92a14);}),jobCmd['command'](a2_0x30593f(0x27d))[a2_0x30593f(0x33c)](a2_0x30593f(0x458))[a2_0x30593f(0x47b)](a2_0x30593f(0x2b7),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','trino')[a2_0x30593f(0x47b)](a2_0x30593f(0x355),'Read\x20query\x20from\x20file')[a2_0x30593f(0x47b)]('--database\x20<name>',a2_0x30593f(0x3ce),a2_0x30593f(0x3dc))[a2_0x30593f(0x47b)]('--result\x20<target>',a2_0x30593f(0x24b))['action'](async(_0x3e7da2,_0xf41b1f)=>{const _0x14d90a=a2_0x30593f,_0x141436=new JobSubmitCommand(),_0x15d07e=program['opts'](),_0x448ad5=await createTDXInstance(_0x15d07e),_0x2ae9cc=await _0x141436[_0x14d90a(0x1f5)]({'options':{..._0x15d07e,..._0xf41b1f},'args':_0x3e7da2?[_0x3e7da2]:[],'tdx':_0x448ad5});gracefulExit(_0x2ae9cc);}),jobCmd[a2_0x30593f(0x414)](a2_0x30593f(0x363))[a2_0x30593f(0x33c)](a2_0x30593f(0x46e))[a2_0x30593f(0x2f7)](async(_0x1b4a17,_0x142767)=>{const _0x2b15d6=a2_0x30593f,_0x3dc703=new JobResultCommand(),_0x5759d5=program[_0x2b15d6(0x449)](),_0x174a5f=await createTDXInstance(_0x5759d5),_0x5aef04=await _0x3dc703[_0x2b15d6(0x1f5)]({'options':{..._0x5759d5,..._0x142767},'args':[_0x1b4a17],'tdx':_0x174a5f});gracefulExit(_0x5aef04);});const scheduleCmd=jobCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3ca))[a2_0x30593f(0x33c)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x30593f(0x414)]('list\x20[pattern]')['description']('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')[a2_0x30593f(0x2f7)](async(_0x5bcd2f,_0x49407a)=>{const _0x3a6c3f=a2_0x30593f,_0x30f6df=new ScheduleListCommand(),_0x55b617=program[_0x3a6c3f(0x449)](),_0x3321c9=await createTDXInstance(_0x55b617),_0x4429ef=await _0x30f6df['run']({'options':{..._0x55b617,..._0x49407a},'args':_0x5bcd2f?[_0x5bcd2f]:[],'tdx':_0x3321c9});gracefulExit(_0x4429ef);}),scheduleCmd[a2_0x30593f(0x414)](a2_0x30593f(0x381))[a2_0x30593f(0x33c)](a2_0x30593f(0x350))['action'](async(_0x1caa90,_0x57fb73)=>{const _0x5bc458=a2_0x30593f,_0x5ce92d=new ScheduleShowCommand(),_0x1077ff=program[_0x5bc458(0x449)](),_0x10e831=await createTDXInstance(_0x1077ff),_0x1ed006=await _0x5ce92d['run']({'options':{..._0x1077ff,..._0x57fb73},'args':[_0x1caa90],'tdx':_0x10e831});gracefulExit(_0x1ed006);}),scheduleCmd[a2_0x30593f(0x414)](a2_0x30593f(0x21f))[a2_0x30593f(0x33c)]('Create\x20a\x20scheduled\x20query')['option'](a2_0x30593f(0x444),'Database\x20name\x20(required)')[a2_0x30593f(0x47b)](a2_0x30593f(0x385),a2_0x30593f(0x2f8))['requiredOption'](a2_0x30593f(0x355),'Read\x20query\x20from\x20file')[a2_0x30593f(0x47b)](a2_0x30593f(0x38f),a2_0x30593f(0x241),a2_0x30593f(0x223))['option']('--cron\x20<expression>',a2_0x30593f(0x2e5))[a2_0x30593f(0x47b)](a2_0x30593f(0x484),a2_0x30593f(0x24f))['option'](a2_0x30593f(0x25a),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x30593f(0x47b)]('--priority\x20<-2~2>',a2_0x30593f(0x3d3))['option'](a2_0x30593f(0x21d),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x30593f(0x47b)](a2_0x30593f(0x1f1),a2_0x30593f(0x1eb))[a2_0x30593f(0x47b)](a2_0x30593f(0x2ee),a2_0x30593f(0x48f))[a2_0x30593f(0x2f7)](async(_0x5eaaf5,_0xea5217)=>{const _0xdeee7b=a2_0x30593f,_0x22c6ff=new ScheduleCreateCommand(),_0x432117=program[_0xdeee7b(0x449)](),_0x125967=await createTDXInstance(_0x432117);_0xea5217['in']&&(_0xea5217[_0xdeee7b(0x264)]=_0xea5217['in']);const _0x16aafa=await _0x22c6ff['run']({'options':{..._0x432117,..._0xea5217},'args':[_0x5eaaf5],'tdx':_0x125967});gracefulExit(_0x16aafa);}),scheduleCmd[a2_0x30593f(0x414)]('update\x20<name>')['description'](a2_0x30593f(0x37e))[a2_0x30593f(0x47b)](a2_0x30593f(0x444),'Database\x20name')[a2_0x30593f(0x47b)](a2_0x30593f(0x385),a2_0x30593f(0x2f8))[a2_0x30593f(0x47b)](a2_0x30593f(0x355),a2_0x30593f(0x255))['option'](a2_0x30593f(0x38f),a2_0x30593f(0x241))['option'](a2_0x30593f(0x2c7),a2_0x30593f(0x2e5))[a2_0x30593f(0x47b)](a2_0x30593f(0x484),'Timezone\x20for\x20cron')['option'](a2_0x30593f(0x25a),a2_0x30593f(0x3d7))['option'](a2_0x30593f(0x243),a2_0x30593f(0x3d3))['option'](a2_0x30593f(0x21d),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x30593f(0x47b)](a2_0x30593f(0x1f1),a2_0x30593f(0x1eb))[a2_0x30593f(0x47b)](a2_0x30593f(0x2ee),a2_0x30593f(0x48f))[a2_0x30593f(0x2f7)](async(_0x12654a,_0x39f51a)=>{const _0x12c09f=a2_0x30593f,_0x4f8a74=new ScheduleUpdateCommand(),_0xc1de76=program[_0x12c09f(0x449)](),_0x456177=await createTDXInstance(_0xc1de76);_0x39f51a['in']&&(_0x39f51a[_0x12c09f(0x264)]=_0x39f51a['in']);const _0x4706e5=await _0x4f8a74[_0x12c09f(0x1f5)]({'options':{..._0xc1de76,..._0x39f51a},'args':[_0x12654a],'tdx':_0x456177});gracefulExit(_0x4706e5);}),scheduleCmd[a2_0x30593f(0x414)](a2_0x30593f(0x47e))[a2_0x30593f(0x33c)](a2_0x30593f(0x44a))[a2_0x30593f(0x2f7)](async(_0x50daf2,_0x2167d4)=>{const _0x17f734=a2_0x30593f,_0x435c1f=new ScheduleDeleteCommand(),_0x3453d1=program[_0x17f734(0x449)](),_0x2aa6f1=await createTDXInstance(_0x3453d1),_0x1fe26b=await _0x435c1f[_0x17f734(0x1f5)]({'options':{..._0x3453d1,..._0x2167d4},'args':[_0x50daf2],'tdx':_0x2aa6f1});gracefulExit(_0x1fe26b);}),scheduleCmd[a2_0x30593f(0x414)]('run\x20<name>')[a2_0x30593f(0x33c)](a2_0x30593f(0x3bd))[a2_0x30593f(0x47b)](a2_0x30593f(0x35f),a2_0x30593f(0x3bf))['option'](a2_0x30593f(0x3e6),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x30593f(0x2f7)](async(_0x4693d9,_0x343c04)=>{const _0x17e771=a2_0x30593f,_0x249a05=new ScheduleRunCommand(),_0x42b81c=program[_0x17e771(0x449)](),_0x283f14=await createTDXInstance(_0x42b81c),_0x3136da=await _0x249a05['run']({'options':{..._0x42b81c,..._0x343c04},'args':[_0x4693d9],'tdx':_0x283f14});gracefulExit(_0x3136da);}),scheduleCmd[a2_0x30593f(0x414)](a2_0x30593f(0x352))[a2_0x30593f(0x33c)](a2_0x30593f(0x38a))[a2_0x30593f(0x47b)](a2_0x30593f(0x2e1),a2_0x30593f(0x297))['option']('--to\x20<n>',a2_0x30593f(0x1ff))[a2_0x30593f(0x2f7)](async(_0x4629b7,_0x555440)=>{const _0x17e1c7=a2_0x30593f,_0x15715b=new ScheduleHistoryCommand(),_0x23c7cc=program[_0x17e1c7(0x449)](),_0x107ff2=await createTDXInstance(_0x23c7cc),_0x1eb001=await _0x15715b[_0x17e1c7(0x1f5)]({'options':{..._0x23c7cc,..._0x555440},'args':[_0x4629b7],'tdx':_0x107ff2});gracefulExit(_0x1eb001);});const llmCmd=program['command'](a2_0x30593f(0x33d))['description']('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd['command'](a2_0x30593f(0x34f))[a2_0x30593f(0x33c)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x30593f(0x2f7)](async(_0xf5cf83,_0x44b548)=>{const _0x363822=a2_0x30593f,_0x6b06f6=new LLMUseCommand(),_0x260aef=program[_0x363822(0x449)](),_0x2b1309=await createTDXInstance(_0x260aef),_0x31de8e=await _0x6b06f6[_0x363822(0x1f5)]({'options':{..._0x260aef,..._0x44b548},'args':[_0xf5cf83],'tdx':_0x2b1309});gracefulExit(_0x31de8e);}),llmCmd[a2_0x30593f(0x414)](a2_0x30593f(0x343))['description'](a2_0x30593f(0x382))['action'](async _0xc07b0=>{const _0x453db9=a2_0x30593f,_0x1148c6=new LLMModelsCommand(),_0x479236=program[_0x453db9(0x449)](),_0x2a2100=await createTDXInstance(_0x479236),_0x12741d=await _0x1148c6['run']({'options':{..._0x479236,..._0xc07b0},'args':[],'tdx':_0x2a2100});gracefulExit(_0x12741d);});const projectCmd=llmCmd[a2_0x30593f(0x414)]('project')['description'](a2_0x30593f(0x361)),llmProjectListAction=async(_0x3ffec0,_0x2b976e)=>{const _0x343fc4=new LLMProjectsCommand(),_0x4eda22=program['opts'](),_0x4cb572=await createTDXInstance(_0x4eda22),_0x484e48=await _0x343fc4['run']({'options':{..._0x4eda22,..._0x2b976e},'args':_0x3ffec0?[_0x3ffec0]:[],'tdx':_0x4cb572});gracefulExit(_0x484e48);};projectCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1fc))[a2_0x30593f(0x33c)](a2_0x30593f(0x2b4))['action'](llmProjectListAction),llmCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2db))['description'](a2_0x30593f(0x2ca))[a2_0x30593f(0x2f7)](llmProjectListAction),projectCmd[a2_0x30593f(0x414)](a2_0x30593f(0x21f))[a2_0x30593f(0x33c)](a2_0x30593f(0x335))[a2_0x30593f(0x47b)](a2_0x30593f(0x3a4),'Project\x20description')[a2_0x30593f(0x2f7)](async(_0x2c686f,_0x189010)=>{const _0x3afa66=a2_0x30593f,_0x564f6b=new LLMProjectCreateCommand(),_0x210bb9=program['opts'](),_0x1648b5=await createTDXInstance(_0x210bb9),_0x22b865=await _0x564f6b[_0x3afa66(0x1f5)]({'options':{..._0x210bb9,..._0x189010},'args':[_0x2c686f],'tdx':_0x1648b5});gracefulExit(_0x22b865);}),projectCmd[a2_0x30593f(0x414)](a2_0x30593f(0x47e))[a2_0x30593f(0x33c)]('Delete\x20an\x20LLM\x20project')[a2_0x30593f(0x2f7)](async(_0x4f9c94,_0x40c624)=>{const _0xc3867e=a2_0x30593f,_0xb6438e=new LLMProjectDeleteCommand(),_0x241b81=program[_0xc3867e(0x449)](),_0x5988eb=await createTDXInstance(_0x241b81),_0x28b762=await _0xb6438e[_0xc3867e(0x1f5)]({'options':{..._0x241b81,..._0x40c624},'args':[_0x4f9c94],'tdx':_0x5988eb});gracefulExit(_0x28b762);}),projectCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3ba))[a2_0x30593f(0x33c)](a2_0x30593f(0x2cd))[a2_0x30593f(0x47b)](a2_0x30593f(0x3b5),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x30593f(0x47b)](a2_0x30593f(0x427),a2_0x30593f(0x24a))['action'](async(_0x44b7ff,_0x57eaac)=>{const _0x5d5423=a2_0x30593f,_0x529041=new LLMProjectBackupCommand(),_0x29860d=program[_0x5d5423(0x449)](),_0x131299=await createTDXInstance(_0x29860d),_0x10bfbd=await _0x529041['run']({'options':{..._0x29860d,..._0x57eaac},'args':[_0x44b7ff],'tdx':_0x131299});gracefulExit(_0x10bfbd);}),projectCmd[a2_0x30593f(0x414)](a2_0x30593f(0x38d))[a2_0x30593f(0x33c)](a2_0x30593f(0x386))['option'](a2_0x30593f(0x1f0),a2_0x30593f(0x3ea))['option'](a2_0x30593f(0x427),a2_0x30593f(0x43f))[a2_0x30593f(0x2f7)](async(_0x129959,_0x71f566)=>{const _0x319210=a2_0x30593f,_0x2b0866=new LLMProjectRestoreCommand(),_0x4b4c3e=program[_0x319210(0x449)](),_0x52703a=await createTDXInstance(_0x4b4c3e),_0x6131a2=await _0x2b0866['run']({'options':{..._0x4b4c3e,..._0x71f566},'args':[_0x129959],'tdx':_0x52703a});gracefulExit(_0x6131a2);});const llmAgentListAction=async(_0x105732,_0x9fe2f)=>{const _0x41fe59=a2_0x30593f,_0x5de5b8=new LLMAgentsCommand(),_0x355cb8=program[_0x41fe59(0x449)](),_0x17f795=await createTDXInstance(_0x355cb8),_0x500a15=await _0x5de5b8[_0x41fe59(0x1f5)]({'options':{..._0x355cb8,..._0x9fe2f},'args':_0x105732?[_0x105732]:[],'tdx':_0x17f795});gracefulExit(_0x500a15);};llmCmd[a2_0x30593f(0x414)]('agents\x20[pattern]')[a2_0x30593f(0x33c)](a2_0x30593f(0x476))['action'](llmAgentListAction),program['command'](a2_0x30593f(0x228))[a2_0x30593f(0x33c)](a2_0x30593f(0x476))[a2_0x30593f(0x2f7)](llmAgentListAction),llmCmd[a2_0x30593f(0x414)](a2_0x30593f(0x263))[a2_0x30593f(0x33c)](a2_0x30593f(0x2c4))['option'](a2_0x30593f(0x3cf),a2_0x30593f(0x357))[a2_0x30593f(0x2f7)](async(_0x2818f4,_0x50932c)=>{const _0x4380ae=a2_0x30593f,_0xecf4ad=new LLMHistoryCommand(),_0x19ced8=program[_0x4380ae(0x449)](),_0x10caff=await createTDXInstance(_0x19ced8),_0x4a5e90=await _0xecf4ad[_0x4380ae(0x1f5)]({'options':{..._0x19ced8,..._0x50932c},'args':_0x2818f4?[_0x2818f4]:[],'tdx':_0x10caff});gracefulExit(_0x4a5e90);});isExperimentalAvailable()&&llmCmd[a2_0x30593f(0x414)]('log\x20<chat-id>')[a2_0x30593f(0x33c)](a2_0x30593f(0x37f))['action'](async(_0x187a85,_0x2fd728)=>{const _0x434711=a2_0x30593f,_0x440131=new LLMLogCommand(),_0x405732=program[_0x434711(0x449)](),_0x206074=await createTDXInstance(_0x405732),_0x21f2c8=await _0x440131[_0x434711(0x1f5)]({'options':{..._0x405732,..._0x2fd728},'args':[_0x187a85],'tdx':_0x206074});gracefulExit(_0x21f2c8);});program[a2_0x30593f(0x414)](a2_0x30593f(0x36a))[a2_0x30593f(0x473)](a2_0x30593f(0x47d))[a2_0x30593f(0x33c)](a2_0x30593f(0x283))[a2_0x30593f(0x47b)](a2_0x30593f(0x3db),'Continue\x20most\x20recent\x20conversation')[a2_0x30593f(0x47b)]('-r,\x20--resume',a2_0x30593f(0x293))[a2_0x30593f(0x47b)](a2_0x30593f(0x334),a2_0x30593f(0x20b))['allowUnknownOption']()['allowExcessArguments'](!![])['addHelpText']('after',a2_0x30593f(0x2f6))[a2_0x30593f(0x2f7)](async(_0x3d1485,_0x7f0fbe)=>{const _0x4ded46=a2_0x30593f,_0x1a1abc=program[_0x4ded46(0x449)](),_0x28af1d=Array[_0x4ded46(0x46b)](_0x3d1485)?_0x3d1485:[];if(_0x28af1d[0x0]===_0x4ded46(0x391)){const _0x2876f1=new ClaudeStatuslineCommand(),_0x3cb9e8=await _0x2876f1[_0x4ded46(0x1f5)]({'options':{..._0x1a1abc,..._0x7f0fbe},'args':_0x28af1d[_0x4ded46(0x21a)](0x1),'tdx':null});gracefulExit(_0x3cb9e8);}if(_0x28af1d[0x0]===_0x4ded46(0x473)){const _0x3ebdad=new ClaudeUsageCommand(),_0x28d16c=await _0x3ebdad[_0x4ded46(0x1f5)]({'options':{..._0x1a1abc,..._0x7f0fbe},'args':_0x28af1d['slice'](0x1),'tdx':null});gracefulExit(_0x28d16c);}const _0xb70474=new ClaudeCommand(),_0x3dbd26=await createTDXInstance(_0x1a1abc),_0x4b7c92=await _0xb70474[_0x4ded46(0x1f5)]({'options':{..._0x1a1abc,..._0x7f0fbe},'args':_0x28af1d,'tdx':_0x3dbd26});gracefulExit(_0x4b7c92);}),program['command'](a2_0x30593f(0x20f))[a2_0x30593f(0x33c)](a2_0x30593f(0x3d8))[a2_0x30593f(0x47b)](a2_0x30593f(0x247),'Clear\x20session\x20context')['option'](a2_0x30593f(0x3e1),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x30593f(0x2f7)](async(_0x6ef155,_0x3df3da,_0x27e2c4)=>{const _0x14dd9b=a2_0x30593f,_0xc4c820=new UseCommand(),_0x68a8e2=program[_0x14dd9b(0x449)](),_0x2643dc=[];if(_0x6ef155)_0x2643dc[_0x14dd9b(0x2a6)](_0x6ef155);if(_0x3df3da)_0x2643dc[_0x14dd9b(0x2a6)](_0x3df3da);const _0x521f24=_0x6ef155===_0x14dd9b(0x237),_0x57755f=_0x521f24?await createTDXInstance(_0x68a8e2):null,_0x344b3c=await _0xc4c820['run']({'options':{..._0x68a8e2,..._0x27e2c4},'args':_0x2643dc,'tdx':_0x57755f});gracefulExit(_0x344b3c);}),program['command'](a2_0x30593f(0x3fe))[a2_0x30593f(0x33c)](a2_0x30593f(0x324))[a2_0x30593f(0x2f7)](async _0x374945=>{const _0x3eda81=a2_0x30593f,_0x28e321=new StatusCommand(),_0x4920f0=program[_0x3eda81(0x449)](),_0x31299a=await createTDXInstance(_0x4920f0),_0x184385=await _0x28e321[_0x3eda81(0x1f5)]({'options':{..._0x4920f0,..._0x374945},'args':[],'tdx':_0x31299a});gracefulExit(_0x184385);}),program[a2_0x30593f(0x414)](a2_0x30593f(0x40a))[a2_0x30593f(0x33c)](a2_0x30593f(0x24e))[a2_0x30593f(0x47b)](a2_0x30593f(0x427),a2_0x30593f(0x219))[a2_0x30593f(0x47b)]('--next',a2_0x30593f(0x3f3))[a2_0x30593f(0x47b)](a2_0x30593f(0x26f),a2_0x30593f(0x1f2))['action'](async(_0x3d3a95,_0x20ed2b)=>{const _0x210a54=a2_0x30593f,_0x29e405=new UpgradeCommand(),_0x4f07de=program[_0x210a54(0x449)](),_0x35fb5e=await _0x29e405[_0x210a54(0x1f5)]({'options':{..._0x4f07de,..._0x20ed2b},'args':_0x3d3a95?[_0x3d3a95]:[],'tdx':null});gracefulExit(_0x35fb5e);}),program[a2_0x30593f(0x414)](a2_0x30593f(0x267))[a2_0x30593f(0x33c)](a2_0x30593f(0x2ea))[a2_0x30593f(0x47b)](a2_0x30593f(0x3e1),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')['action'](async(_0x35bcef,_0x3e5e73)=>{const _0x5d9003=a2_0x30593f,_0x36f4f4=new UnsetCommand(),_0x47759c=program[_0x5d9003(0x449)](),_0x10260d=await _0x36f4f4['run']({'options':{..._0x47759c,..._0x3e5e73},'args':[_0x35bcef],'tdx':null});gracefulExit(_0x10260d);}),program[a2_0x30593f(0x414)](a2_0x30593f(0x43a))['description'](a2_0x30593f(0x3c6))['option'](a2_0x30593f(0x3cf),'Show\x20the\x20most\x20recent\x20chat')[a2_0x30593f(0x2f7)](async _0x42cd4a=>{const _0x5d3b31=a2_0x30593f,_0x28aa5f=new ChatsCommand(),_0x2ccd0c=program[_0x5d3b31(0x449)](),_0xc7f45e=await createTDXInstance(_0x2ccd0c),_0x10f20c=await _0x28aa5f['run']({'options':{..._0x2ccd0c,..._0x42cd4a},'args':[],'tdx':_0xc7f45e});gracefulExit(_0x10f20c);});const authCmd=program[a2_0x30593f(0x414)](a2_0x30593f(0x21e))['description'](a2_0x30593f(0x30e));async function runAuthStatusCommand(_0x20dc2f){const _0x91e4c=a2_0x30593f,_0x3d472a=new AuthStatusCommand(),_0x6b4b1f=program[_0x91e4c(0x449)](),_0x2aff81=await createTDXInstance(_0x6b4b1f),_0x296fb6=await _0x3d472a['run']({'options':{..._0x6b4b1f,..._0x20dc2f},'args':[],'tdx':_0x2aff81});gracefulExit(_0x296fb6);}authCmd[a2_0x30593f(0x2f7)](runAuthStatusCommand),authCmd['command'](a2_0x30593f(0x3fe))[a2_0x30593f(0x33c)](a2_0x30593f(0x2f0))[a2_0x30593f(0x2f7)](runAuthStatusCommand),authCmd[a2_0x30593f(0x414)](a2_0x30593f(0x481))[a2_0x30593f(0x33c)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x30593f(0x499)](a2_0x30593f(0x23b),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\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\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')['action'](async _0x2b4742=>{const _0x4f6a23=a2_0x30593f,_0x40e4d2=new AuthSetupCommand(),_0x36a410=program[_0x4f6a23(0x449)](),_0x5b1f2d=await createTDXInstance(_0x36a410),_0xfdefc6=await _0x40e4d2[_0x4f6a23(0x1f5)]({'options':{..._0x36a410,..._0x2b4742},'args':[],'tdx':_0x5b1f2d});gracefulExit(_0xfdefc6);}),authCmd['command']('login')[a2_0x30593f(0x33c)](a2_0x30593f(0x41c))[a2_0x30593f(0x499)](a2_0x30593f(0x23b),a2_0x30593f(0x378))[a2_0x30593f(0x2f7)](async _0x553d19=>{const _0x2bceae=a2_0x30593f,_0x2c6695=new AuthLoginCommand(),_0x18bdda=program[_0x2bceae(0x449)](),_0x58f571=await _0x2c6695[_0x2bceae(0x1f5)]({'options':{..._0x18bdda,..._0x553d19},'args':[],'tdx':null});gracefulExit(_0x58f571);}),authCmd[a2_0x30593f(0x414)]('clear')['description'](a2_0x30593f(0x30b))['addHelpText'](a2_0x30593f(0x23b),a2_0x30593f(0x2a2))[a2_0x30593f(0x2f7)](async _0xd5cda1=>{const _0x592de7=a2_0x30593f,_0x34fcf0=new AuthClearCommand(),_0x17a791=program['opts'](),_0x14f954=await _0x34fcf0[_0x592de7(0x1f5)]({'options':{..._0x17a791,..._0xd5cda1},'args':[],'tdx':null});gracefulExit(_0x14f954);});const userCmd=program['command'](a2_0x30593f(0x45c))[a2_0x30593f(0x33c)](a2_0x30593f(0x401)),userListAction=async _0x3f25cd=>{const _0x1c8fcf=a2_0x30593f,_0x3e6ea3=new UserListCommand(),_0x42ffe8=program[_0x1c8fcf(0x449)](),_0x4fcc12=await createTDXInstance(_0x42ffe8),_0x12b6d5=await _0x3e6ea3[_0x1c8fcf(0x1f5)]({'options':{..._0x42ffe8,..._0x3f25cd},'args':[],'tdx':_0x4fcc12});gracefulExit(_0x12b6d5);};userCmd[a2_0x30593f(0x2f7)](async _0x30c3a7=>{const _0x5c0d12=a2_0x30593f,_0x237986=new UserCommand(),_0x174ef7=program[_0x5c0d12(0x449)](),_0x2b24b8=await createTDXInstance(_0x174ef7),_0x9ec11f=await _0x237986[_0x5c0d12(0x1f5)]({'options':{..._0x174ef7,..._0x30c3a7},'args':[],'tdx':_0x2b24b8});gracefulExit(_0x9ec11f);}),userCmd['command'](a2_0x30593f(0x32d))[a2_0x30593f(0x33c)](a2_0x30593f(0x33b))[a2_0x30593f(0x2f7)](userListAction),program[a2_0x30593f(0x414)]('users')[a2_0x30593f(0x33c)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x30593f(0x2f7)](userListAction),program['command'](a2_0x30593f(0x3ae))[a2_0x30593f(0x33c)](a2_0x30593f(0x2da))[a2_0x30593f(0x2f7)](async _0x5e2aba=>{const _0x401de6=a2_0x30593f,_0x2f8eb7=new ProfilesCommand(),_0x205548=program[_0x401de6(0x449)](),_0xf1ea82=await _0x2f8eb7[_0x401de6(0x1f5)]({'options':{..._0x205548,..._0x5e2aba},'args':[],'tdx':null});gracefulExit(_0xf1ea82);});const profileCmd=program['command']('profile')[a2_0x30593f(0x33c)](a2_0x30593f(0x394));profileCmd[a2_0x30593f(0x2f7)](()=>{profileCmd['outputHelp']();});const profileListAction=async _0x117262=>{const _0xbacdb6=a2_0x30593f,_0x1fcc42=new ProfilesCommand(),_0x35b7d8=program[_0xbacdb6(0x449)](),_0x58d656=await _0x1fcc42['run']({'options':{..._0x35b7d8,..._0x117262},'args':[],'tdx':null});gracefulExit(_0x58d656);};profileCmd[a2_0x30593f(0x414)](a2_0x30593f(0x32d))[a2_0x30593f(0x33c)](a2_0x30593f(0x2da))[a2_0x30593f(0x2f7)](profileListAction),profileCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3b4))[a2_0x30593f(0x33c)]('Create\x20a\x20new\x20profile')['addHelpText'](a2_0x30593f(0x23b),a2_0x30593f(0x45a))['action'](async(_0x26d3e1,_0x1b960a)=>{const _0x34d4a9=a2_0x30593f,_0x619e23=new ProfileCreateCommand(),_0x20f2b8=program[_0x34d4a9(0x449)](),_0xa036a2=await _0x619e23[_0x34d4a9(0x1f5)]({'options':{..._0x20f2b8,..._0x1b960a},'args':_0x26d3e1?[_0x26d3e1]:[],'tdx':null});gracefulExit(_0xa036a2);}),profileCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2f3))[a2_0x30593f(0x33c)](a2_0x30593f(0x49c))[a2_0x30593f(0x499)](a2_0x30593f(0x23b),a2_0x30593f(0x246))[a2_0x30593f(0x2f7)](async(_0x5350f3,_0x1b20d9)=>{const _0x296cdf=a2_0x30593f,_0x20c16f=new ProfileRemoveCommand(),_0x31e29a=program[_0x296cdf(0x449)](),_0x3d786f=await _0x20c16f['run']({'options':{..._0x31e29a,..._0x1b20d9},'args':[_0x5350f3],'tdx':null});gracefulExit(_0x3d786f);}),profileCmd[a2_0x30593f(0x414)](a2_0x30593f(0x409))[a2_0x30593f(0x33c)](a2_0x30593f(0x439))['addHelpText'](a2_0x30593f(0x23b),'\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=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')[a2_0x30593f(0x2f7)](async(_0x2fb10b,_0x2ae3e2)=>{const _0x4d7284=a2_0x30593f,_0x5e3026=new ProfileSetCommand(),_0x346f13=program[_0x4d7284(0x449)](),_0x378c97=await _0x5e3026[_0x4d7284(0x1f5)]({'options':{..._0x346f13,..._0x2ae3e2},'args':[_0x2fb10b],'tdx':null});gracefulExit(_0x378c97);}),profileCmd[a2_0x30593f(0x414)](a2_0x30593f(0x25f))[a2_0x30593f(0x33c)](a2_0x30593f(0x413))[a2_0x30593f(0x47b)](a2_0x30593f(0x3e1),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x30593f(0x499)]('after',a2_0x30593f(0x28a))[a2_0x30593f(0x2f7)](async(_0x3f58d6,_0x4551e8)=>{const _0x2c7f1b=a2_0x30593f,_0x239814=new ProfileUseCommand(),_0x544e80=program[_0x2c7f1b(0x449)](),_0xe9d5b7=await _0x239814[_0x2c7f1b(0x1f5)]({'options':{..._0x544e80,..._0x4551e8},'args':[_0x3f58d6],'tdx':null});gracefulExit(_0xe9d5b7);});const engageCmd=program[a2_0x30593f(0x414)](a2_0x30593f(0x3f6))['description'](a2_0x30593f(0x2d7)),createEngageAction=_0x2eb1c2=>{return async(_0x34b117,_0x194c5c)=>{const _0x224913=a2_0x5591,_0x138a23=new _0x2eb1c2(),_0x23b8df=program['opts'](),_0x23507f=await createTDXInstance(_0x23b8df),_0xb24b14=await _0x138a23[_0x224913(0x1f5)]({'options':{..._0x23b8df,..._0x194c5c},'args':[_0x34b117],'tdx':_0x23507f});gracefulExit(_0xb24b14);};},createEngageNoArgAction=_0x19cb6e=>{return async _0x303ef0=>{const _0x4dc40a=a2_0x5591,_0x2f094f=new _0x19cb6e(),_0x469bb6=program[_0x4dc40a(0x449)](),_0x5ba0c5=await createTDXInstance(_0x469bb6),_0x53066c=await _0x2f094f[_0x4dc40a(0x1f5)]({'options':{..._0x469bb6,..._0x303ef0},'args':[],'tdx':_0x5ba0c5});gracefulExit(_0x53066c);};},createEngageListAction=_0x49930a=>{return async(_0x56e1ff,_0x424c81)=>{const _0x224325=a2_0x5591,_0x21aed7=new _0x49930a(),_0x14b484=program[_0x224325(0x449)](),_0x510beb=await createTDXInstance(_0x14b484),_0x15ca8e=await _0x21aed7[_0x224325(0x1f5)]({'options':{..._0x14b484,..._0x424c81},'args':_0x56e1ff?[_0x56e1ff]:[],'tdx':_0x510beb});gracefulExit(_0x15ca8e);};},campaignCmd=engageCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1e2))[a2_0x30593f(0x33c)](a2_0x30593f(0x395));campaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1fc))['description']('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x30593f(0x38f),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x30593f(0x260),a2_0x30593f(0x34c))[a2_0x30593f(0x47b)]('--workspace\x20<name>',a2_0x30593f(0x2d1))[a2_0x30593f(0x2f7)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x30593f(0x25b))[a2_0x30593f(0x33c)](a2_0x30593f(0x445))[a2_0x30593f(0x47b)](a2_0x30593f(0x38f),a2_0x30593f(0x4a1))['option'](a2_0x30593f(0x260),a2_0x30593f(0x34c))[a2_0x30593f(0x47b)]('--workspace\x20<name>',a2_0x30593f(0x2d1))[a2_0x30593f(0x2f7)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x217))['description'](a2_0x30593f(0x249))['option']('--workspace\x20<name>',a2_0x30593f(0x2d1))[a2_0x30593f(0x47b)]('--full',a2_0x30593f(0x3bb))[a2_0x30593f(0x2f7)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x261))[a2_0x30593f(0x33c)](a2_0x30593f(0x3f7))[a2_0x30593f(0x26c)](a2_0x30593f(0x222),a2_0x30593f(0x27c))[a2_0x30593f(0x26c)](a2_0x30593f(0x38f),'Campaign\x20type\x20(email\x20or\x20push)')['option'](a2_0x30593f(0x360),'Workspace\x20name\x20(required)')[a2_0x30593f(0x47b)](a2_0x30593f(0x498),a2_0x30593f(0x44f))[a2_0x30593f(0x47b)]('--segment\x20<path>',a2_0x30593f(0x459))[a2_0x30593f(0x47b)](a2_0x30593f(0x3fd),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x30593f(0x47b)](a2_0x30593f(0x270),a2_0x30593f(0x1df))[a2_0x30593f(0x47b)](a2_0x30593f(0x242),a2_0x30593f(0x366))[a2_0x30593f(0x47b)](a2_0x30593f(0x484),a2_0x30593f(0x477))[a2_0x30593f(0x2f7)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x468))[a2_0x30593f(0x33c)]('Update\x20a\x20campaign')[a2_0x30593f(0x47b)]('--workspace\x20<name>','Workspace\x20name')[a2_0x30593f(0x47b)]('--name\x20<name>',a2_0x30593f(0x3c9))[a2_0x30593f(0x47b)](a2_0x30593f(0x498),a2_0x30593f(0x44f))[a2_0x30593f(0x47b)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x30593f(0x47b)](a2_0x30593f(0x3fd),a2_0x30593f(0x3da))[a2_0x30593f(0x47b)]('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x30593f(0x47b)](a2_0x30593f(0x242),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x30593f(0x47b)](a2_0x30593f(0x484),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x30593f(0x2f7)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x30593f(0x372))[a2_0x30593f(0x33c)](a2_0x30593f(0x403))[a2_0x30593f(0x47b)](a2_0x30593f(0x360),a2_0x30593f(0x2d1))[a2_0x30593f(0x47b)](a2_0x30593f(0x3a6),a2_0x30593f(0x3d6))[a2_0x30593f(0x2f7)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command']('launch\x20<name-or-id>')[a2_0x30593f(0x33c)]('Launch\x20a\x20campaign')[a2_0x30593f(0x47b)](a2_0x30593f(0x360),a2_0x30593f(0x2d1))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x240))[a2_0x30593f(0x33c)](a2_0x30593f(0x251))['option'](a2_0x30593f(0x360),'Workspace\x20name')[a2_0x30593f(0x2f7)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x30593f(0x414)]('resume\x20<name-or-id>')['description'](a2_0x30593f(0x2ff))[a2_0x30593f(0x47b)]('--workspace\x20<name>',a2_0x30593f(0x2d1))['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x466))['description'](a2_0x30593f(0x41e))['option'](a2_0x30593f(0x360),a2_0x30593f(0x2d1))[a2_0x30593f(0x2f7)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x452))['description']('Pull\x20campaigns\x20to\x20YAML\x20files')[a2_0x30593f(0x47b)]('--workspace\x20<name>','Workspace\x20name')['option'](a2_0x30593f(0x222),a2_0x30593f(0x279))[a2_0x30593f(0x47b)](a2_0x30593f(0x38f),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x30593f(0x47b)](a2_0x30593f(0x427),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x30593f(0x2f7)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x434))['description'](a2_0x30593f(0x238))[a2_0x30593f(0x47b)]('--workspace\x20<name>',a2_0x30593f(0x2d1))[a2_0x30593f(0x47b)](a2_0x30593f(0x427),a2_0x30593f(0x2de))[a2_0x30593f(0x2f7)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x29c))[a2_0x30593f(0x33c)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x30593f(0x47b)]('--verbose',a2_0x30593f(0x2d6))[a2_0x30593f(0x2f7)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x30593f(0x2fd))[a2_0x30593f(0x33c)](a2_0x30593f(0x3f1));alwaysOnCampaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1fc))['description']('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x30593f(0x47b)](a2_0x30593f(0x38f),a2_0x30593f(0x4a1))['option'](a2_0x30593f(0x260),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x30593f(0x26c)](a2_0x30593f(0x360),a2_0x30593f(0x47c))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x30593f(0x414)](a2_0x30593f(0x28c))['description'](a2_0x30593f(0x26b))[a2_0x30593f(0x47b)](a2_0x30593f(0x38f),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x30593f(0x47b)](a2_0x30593f(0x260),a2_0x30593f(0x3ad))[a2_0x30593f(0x26c)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x30593f(0x2f7)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command'](a2_0x30593f(0x217))[a2_0x30593f(0x33c)](a2_0x30593f(0x1e6))[a2_0x30593f(0x26c)](a2_0x30593f(0x360),'Workspace\x20name\x20(required)')[a2_0x30593f(0x47b)](a2_0x30593f(0x253),a2_0x30593f(0x3bb))[a2_0x30593f(0x2f7)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command'](a2_0x30593f(0x261))[a2_0x30593f(0x33c)](a2_0x30593f(0x364))[a2_0x30593f(0x26c)](a2_0x30593f(0x222),a2_0x30593f(0x27c))[a2_0x30593f(0x26c)](a2_0x30593f(0x38f),a2_0x30593f(0x3df))[a2_0x30593f(0x26c)]('--workspace\x20<name>',a2_0x30593f(0x47c))[a2_0x30593f(0x47b)](a2_0x30593f(0x498),a2_0x30593f(0x44f))[a2_0x30593f(0x47b)](a2_0x30593f(0x494),a2_0x30593f(0x48b))[a2_0x30593f(0x47b)]('--enable-utm-tracking',a2_0x30593f(0x24d))[a2_0x30593f(0x2f7)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x468))[a2_0x30593f(0x33c)]('Update\x20an\x20always-on\x20campaign')[a2_0x30593f(0x26c)](a2_0x30593f(0x360),a2_0x30593f(0x47c))[a2_0x30593f(0x47b)](a2_0x30593f(0x222),a2_0x30593f(0x3c9))[a2_0x30593f(0x47b)](a2_0x30593f(0x498),a2_0x30593f(0x44f))[a2_0x30593f(0x47b)]('--segment\x20<path>',a2_0x30593f(0x48b))[a2_0x30593f(0x47b)]('--enable-utm-tracking','Enable\x20UTM\x20tracking')['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd['command'](a2_0x30593f(0x372))[a2_0x30593f(0x33c)](a2_0x30593f(0x232))[a2_0x30593f(0x26c)](a2_0x30593f(0x360),'Workspace\x20name\x20(required)')[a2_0x30593f(0x47b)]('--yes',a2_0x30593f(0x3d6))[a2_0x30593f(0x2f7)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd['command'](a2_0x30593f(0x487))[a2_0x30593f(0x33c)](a2_0x30593f(0x278))['requiredOption']('--workspace\x20<name>',a2_0x30593f(0x47c))[a2_0x30593f(0x2f7)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x30593f(0x240))[a2_0x30593f(0x33c)](a2_0x30593f(0x3ec))[a2_0x30593f(0x26c)](a2_0x30593f(0x360),'Workspace\x20name\x20(required)')[a2_0x30593f(0x2f7)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd['command'](a2_0x30593f(0x271))[a2_0x30593f(0x33c)]('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x30593f(0x26c)](a2_0x30593f(0x360),a2_0x30593f(0x47c))[a2_0x30593f(0x2f7)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x30593f(0x414)]('finish\x20<name-or-id>')[a2_0x30593f(0x33c)](a2_0x30593f(0x308))['requiredOption'](a2_0x30593f(0x360),a2_0x30593f(0x47c))['option'](a2_0x30593f(0x3a6),a2_0x30593f(0x3d6))[a2_0x30593f(0x2f7)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x30593f(0x414)](a2_0x30593f(0x466))[a2_0x30593f(0x33c)](a2_0x30593f(0x390))[a2_0x30593f(0x26c)]('--workspace\x20<name>','Workspace\x20name\x20(required)')['requiredOption'](a2_0x30593f(0x222),a2_0x30593f(0x286))[a2_0x30593f(0x2f7)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x30593f(0x414)]('template')[a2_0x30593f(0x33c)]('Email\x20template\x20management');templateCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1fc))['description']('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x30593f(0x47b)](a2_0x30593f(0x360),a2_0x30593f(0x2d1))[a2_0x30593f(0x2f7)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3ff))['description'](a2_0x30593f(0x425))[a2_0x30593f(0x47b)](a2_0x30593f(0x360),a2_0x30593f(0x2d1))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x30593f(0x414)](a2_0x30593f(0x217))[a2_0x30593f(0x33c)]('Show\x20email\x20template\x20details')[a2_0x30593f(0x47b)](a2_0x30593f(0x360),a2_0x30593f(0x2d1))[a2_0x30593f(0x47b)](a2_0x30593f(0x253),a2_0x30593f(0x3bb))[a2_0x30593f(0x2f7)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x30593f(0x414)](a2_0x30593f(0x261))[a2_0x30593f(0x33c)](a2_0x30593f(0x273))[a2_0x30593f(0x26c)]('--name\x20<name>','Template\x20name')['requiredOption'](a2_0x30593f(0x423),a2_0x30593f(0x2ce))[a2_0x30593f(0x47b)]('--html\x20<html>',a2_0x30593f(0x2fa))[a2_0x30593f(0x47b)]('--html-file\x20<path>',a2_0x30593f(0x2d5))[a2_0x30593f(0x47b)](a2_0x30593f(0x360),a2_0x30593f(0x47c))[a2_0x30593f(0x47b)]('--plaintext\x20<text>',a2_0x30593f(0x2bf))[a2_0x30593f(0x47b)](a2_0x30593f(0x2c9),a2_0x30593f(0x470),_0xc48c56=>{const _0x5b6310=a2_0x30593f;if(!['beefree',_0x5b6310(0x23e)][_0x5b6310(0x3a7)](_0xc48c56))throw new SDKError(ErrorCode[_0x5b6310(0x46c)],_0x5b6310(0x40b)+_0xc48c56+_0x5b6310(0x48e));return _0xc48c56;})[a2_0x30593f(0x2f7)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command'](a2_0x30593f(0x468))[a2_0x30593f(0x33c)]('Update\x20an\x20email\x20template')[a2_0x30593f(0x47b)]('--workspace\x20<name>',a2_0x30593f(0x2d1))[a2_0x30593f(0x47b)](a2_0x30593f(0x222),a2_0x30593f(0x2e2))['option'](a2_0x30593f(0x423),a2_0x30593f(0x2ce))[a2_0x30593f(0x47b)](a2_0x30593f(0x424),a2_0x30593f(0x2fa))['option']('--html-file\x20<path>','Read\x20HTML\x20template\x20from\x20file')[a2_0x30593f(0x47b)]('--plaintext\x20<text>','Plaintext\x20template\x20content')[a2_0x30593f(0x2f7)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x30593f(0x414)](a2_0x30593f(0x3af))['description'](a2_0x30593f(0x45e))['option']('--workspace\x20<name>',a2_0x30593f(0x2d1))[a2_0x30593f(0x47b)](a2_0x30593f(0x222),'Pull\x20specific\x20template\x20by\x20name')[a2_0x30593f(0x47b)](a2_0x30593f(0x2d8),a2_0x30593f(0x3d6))[a2_0x30593f(0x47b)](a2_0x30593f(0x427),a2_0x30593f(0x471))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x30593f(0x414)](a2_0x30593f(0x434))[a2_0x30593f(0x33c)](a2_0x30593f(0x25d))['option'](a2_0x30593f(0x360),'Workspace\x20name')['option']('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x30593f(0x47b)](a2_0x30593f(0x427),a2_0x30593f(0x2de))['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x30593f(0x414)]('validate\x20[target]')['description'](a2_0x30593f(0x39d))[a2_0x30593f(0x47b)](a2_0x30593f(0x31b),'Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x30593f(0x2f7)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x30593f(0x414)](a2_0x30593f(0x372))[a2_0x30593f(0x33c)](a2_0x30593f(0x3a2))[a2_0x30593f(0x47b)](a2_0x30593f(0x360),a2_0x30593f(0x2d1))['option']('--yes',a2_0x30593f(0x3d6))[a2_0x30593f(0x2f7)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1ee))[a2_0x30593f(0x33c)](a2_0x30593f(0x2e4));workspaceCmd['command'](a2_0x30593f(0x1fc))['description'](a2_0x30593f(0x3ee))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x30593f(0x414)](a2_0x30593f(0x2e3))['description'](a2_0x30593f(0x220))[a2_0x30593f(0x2f7)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x30593f(0x414)](a2_0x30593f(0x217))[a2_0x30593f(0x33c)](a2_0x30593f(0x208))[a2_0x30593f(0x47b)]('--full',a2_0x30593f(0x3bb))[a2_0x30593f(0x2f7)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x30593f(0x414)](a2_0x30593f(0x261))['description'](a2_0x30593f(0x207))['requiredOption'](a2_0x30593f(0x222),a2_0x30593f(0x2d1))[a2_0x30593f(0x47b)](a2_0x30593f(0x498),'Workspace\x20description')['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x30593f(0x414)]('update\x20<name-or-id>')[a2_0x30593f(0x33c)](a2_0x30593f(0x462))[a2_0x30593f(0x47b)]('--name\x20<name>','New\x20workspace\x20name')[a2_0x30593f(0x47b)]('--description\x20<desc>',a2_0x30593f(0x233))[a2_0x30593f(0x2f7)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x30593f(0x414)](a2_0x30593f(0x372))[a2_0x30593f(0x33c)](a2_0x30593f(0x1e5))[a2_0x30593f(0x47b)](a2_0x30593f(0x3a6),a2_0x30593f(0x3d6))['action'](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x30593f(0x414)](a2_0x30593f(0x25f))['description'](a2_0x30593f(0x3dd))['action'](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x30593f(0x399))[a2_0x30593f(0x33c)](a2_0x30593f(0x365));deliveryCmd[a2_0x30593f(0x414)](a2_0x30593f(0x26e))[a2_0x30593f(0x33c)]('List\x20email\x20senders')[a2_0x30593f(0x47b)](a2_0x30593f(0x360),a2_0x30593f(0x2d1))[a2_0x30593f(0x2f7)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x30593f(0x414)](a2_0x30593f(0x3e7))[a2_0x30593f(0x33c)](a2_0x30593f(0x326)),connectionListAction=async _0x4cd5a6=>{const _0x3ca5af=new ConnectionListCommand(),_0x565184=program['opts'](),_0x48b63a=await createTDXInstance(_0x565184),_0x4aef96=await _0x3ca5af['run']({'options':{..._0x565184,..._0x4cd5a6},'args':[],'tdx':_0x48b63a});gracefulExit(_0x4aef96);};connectionCmd[a2_0x30593f(0x414)](a2_0x30593f(0x32d))[a2_0x30593f(0x33c)](a2_0x30593f(0x474))[a2_0x30593f(0x2f7)](connectionListAction),program[a2_0x30593f(0x414)]('connections',{'hidden':!![]})[a2_0x30593f(0x33c)](a2_0x30593f(0x406))['action'](connectionListAction),connectionCmd['command']('show\x20<name>')[a2_0x30593f(0x33c)](a2_0x30593f(0x431))['action'](async(_0x573207,_0x2c8e13)=>{const _0x19c456=a2_0x30593f,_0x5b69a4=new ConnectionShowCommand(),_0x4d0e52=program[_0x19c456(0x449)](),_0x11ac10=await createTDXInstance(_0x4d0e52),_0x1849d6=await _0x5b69a4[_0x19c456(0x1f5)]({'options':{..._0x4d0e52,..._0x2c8e13},'args':[_0x573207],'tdx':_0x11ac10});gracefulExit(_0x1849d6);}),connectionCmd[a2_0x30593f(0x414)](a2_0x30593f(0x317))[a2_0x30593f(0x33c)](a2_0x30593f(0x3e8))[a2_0x30593f(0x2f7)](async(_0x2439be,_0x54e68)=>{const _0x5a4a56=a2_0x30593f,_0x47c421=new ConnectionSchemaCommand(),_0x3d4ef9=program[_0x5a4a56(0x449)](),_0x22c2d8=await createTDXInstance(_0x3d4ef9),_0x2bbe34=await _0x47c421[_0x5a4a56(0x1f5)]({'options':{..._0x3d4ef9,..._0x54e68},'args':[_0x2439be],'tdx':_0x22c2d8});gracefulExit(_0x2bbe34);}),connectionCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1e3))['description'](a2_0x30593f(0x22c))[a2_0x30593f(0x2f7)](async _0xf25350=>{const _0x34f56a=a2_0x30593f,_0x84647c=new ConnectionTypesCommand(),_0x39793f=program[_0x34f56a(0x449)](),_0x1fc957=await createTDXInstance(_0x39793f),_0x25936f=await _0x84647c[_0x34f56a(0x1f5)]({'options':{..._0x39793f,..._0xf25350},'args':[],'tdx':_0x1fc957});gracefulExit(_0x25936f);}),connectionCmd[a2_0x30593f(0x414)]('settings\x20<type>')['description'](a2_0x30593f(0x32f))[a2_0x30593f(0x2f7)](async(_0x25ef0b,_0x3a0f84)=>{const _0x1ff00b=a2_0x30593f,_0x3e00fb=new ConnectionSettingsCommand(),_0xc52734=program['opts'](),_0x575acc=await createTDXInstance(_0xc52734),_0x48c0cd=await _0x3e00fb[_0x1ff00b(0x1f5)]({'options':{..._0xc52734,..._0x3a0f84},'args':[_0x25ef0b],'tdx':_0x575acc});gracefulExit(_0x48c0cd);});const journeyCmd=program[a2_0x30593f(0x414)]('journey')[a2_0x30593f(0x33c)](a2_0x30593f(0x20a)),journeyListAction=async(_0x345006,_0x37bf86)=>{const _0x456aa7=a2_0x30593f,_0x6f740d=new JourneyListCommand(),_0x5d27f4=program[_0x456aa7(0x449)](),_0x29dcc7=await createTDXInstance(_0x5d27f4),_0x386fe9=await _0x6f740d['run']({'options':{..._0x5d27f4,..._0x37bf86},'args':_0x345006?[_0x345006]:[],'tdx':_0x29dcc7});gracefulExit(_0x386fe9);};journeyCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1fc))[a2_0x30593f(0x33c)](a2_0x30593f(0x40c))[a2_0x30593f(0x2f7)](journeyListAction),journeyCmd[a2_0x30593f(0x414)](a2_0x30593f(0x44c))[a2_0x30593f(0x33c)](a2_0x30593f(0x420))[a2_0x30593f(0x47b)](a2_0x30593f(0x43e),'Open\x20journey\x20in\x20web\x20browser')[a2_0x30593f(0x47b)]('--include-stats','Include\x20execution\x20statistics')[a2_0x30593f(0x2f7)](async(_0x353455,_0x36b62f)=>{const _0x4ededc=a2_0x30593f,_0x55b506=new JourneyViewCommand(),_0x2330ee=program['opts'](),_0x311375=await createTDXInstance(_0x2330ee),_0x3f558b=await _0x55b506[_0x4ededc(0x1f5)]({'options':{..._0x2330ee,..._0x36b62f},'args':[_0x353455],'tdx':_0x311375});gracefulExit(_0x3f558b);}),journeyCmd['command'](a2_0x30593f(0x2be))[a2_0x30593f(0x33c)](a2_0x30593f(0x210))[a2_0x30593f(0x47b)](a2_0x30593f(0x2f2),'Show\x20stats\x20for\x20specific\x20stage')['option']('--from\x20<date>',a2_0x30593f(0x310))[a2_0x30593f(0x47b)](a2_0x30593f(0x2b1),a2_0x30593f(0x234))[a2_0x30593f(0x47b)](a2_0x30593f(0x2fb),a2_0x30593f(0x457))['action'](async(_0x1344d3,_0x22320f)=>{const _0x5e8bc1=a2_0x30593f,_0x53a223=new JourneyStatsCommand(),_0x277d78=program[_0x5e8bc1(0x449)](),_0x351864=await createTDXInstance(_0x277d78),_0x780c72=await _0x53a223[_0x5e8bc1(0x1f5)]({'options':{..._0x277d78,..._0x22320f},'args':[_0x1344d3],'tdx':_0x351864});gracefulExit(_0x780c72);}),journeyCmd[a2_0x30593f(0x414)]('traffic\x20<name-or-path>')[a2_0x30593f(0x33c)](a2_0x30593f(0x2b5))['option'](a2_0x30593f(0x38f),a2_0x30593f(0x351))[a2_0x30593f(0x47b)](a2_0x30593f(0x280),a2_0x30593f(0x310))[a2_0x30593f(0x47b)](a2_0x30593f(0x2b1),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')['option'](a2_0x30593f(0x356),a2_0x30593f(0x22e),_0x3045d3=>{const _0x2a9d08=a2_0x30593f,_0x2a6d98=parseInt(_0x3045d3,0xa);if(isNaN(_0x2a6d98))throw new Error(_0x2a9d08(0x3b9)+_0x3045d3+_0x2a9d08(0x29a));return _0x2a6d98;})['action'](async(_0x5d6afa,_0x359b85)=>{const _0x3eadfd=a2_0x30593f,_0x1b6f7d=new JourneyTrafficCommand(),_0x2ab259=program[_0x3eadfd(0x449)](),_0x56993a=await createTDXInstance(_0x2ab259),_0x1a4e76=await _0x1b6f7d[_0x3eadfd(0x1f5)]({'options':{..._0x2ab259,..._0x359b85},'args':[_0x5d6afa],'tdx':_0x56993a});gracefulExit(_0x1a4e76);}),journeyCmd[a2_0x30593f(0x414)]('pause\x20<name-or-path>')[a2_0x30593f(0x33c)](a2_0x30593f(0x316))[a2_0x30593f(0x2f7)](async(_0x5ace69,_0x19e62f)=>{const _0x1efe78=a2_0x30593f,_0x1ffc40=new JourneyPauseCommand(),_0x5e5fd2=program['opts'](),_0xf5ef8c=await createTDXInstance(_0x5e5fd2),_0xb33af9=await _0x1ffc40[_0x1efe78(0x1f5)]({'options':{..._0x5e5fd2,..._0x19e62f},'args':[_0x5ace69],'tdx':_0xf5ef8c});gracefulExit(_0xb33af9);}),journeyCmd[a2_0x30593f(0x414)](a2_0x30593f(0x36e))[a2_0x30593f(0x33c)](a2_0x30593f(0x46d))[a2_0x30593f(0x2f7)](async(_0x4fd962,_0x532e94)=>{const _0x3570b7=a2_0x30593f,_0x447523=new JourneyResumeCommand(),_0x5bebcc=program[_0x3570b7(0x449)](),_0x37e520=await createTDXInstance(_0x5bebcc),_0x4f3472=await _0x447523['run']({'options':{..._0x5bebcc,..._0x532e94},'args':[_0x4fd962],'tdx':_0x37e520});gracefulExit(_0x4f3472);}),journeyCmd[a2_0x30593f(0x414)]('pull\x20[name]')[a2_0x30593f(0x33c)](a2_0x30593f(0x265))['option'](a2_0x30593f(0x427),a2_0x30593f(0x1f4))[a2_0x30593f(0x2f7)](async(_0x532fcc,_0x3f4c96)=>{const _0x3a5504=a2_0x30593f,_0x215769=new JourneyPullCommand(),_0x5b7b42=program[_0x3a5504(0x449)](),_0x2dd760=await createTDXInstance(_0x5b7b42),_0x470b8f=await _0x215769['run']({'options':{..._0x5b7b42,..._0x3f4c96},'args':_0x532fcc?[_0x532fcc]:[],'tdx':_0x2dd760});gracefulExit(_0x470b8f);}),journeyCmd[a2_0x30593f(0x414)]('push\x20[target]')['description'](a2_0x30593f(0x2bb))['action'](async(_0x217e76,_0xb94a7e)=>{const _0x1b8627=a2_0x30593f,_0x28dfbf=new JourneyPushCommand(),_0x57524b=program[_0x1b8627(0x449)](),_0x2082d6=await createTDXInstance(_0x57524b),_0x3e3ea9=await _0x28dfbf[_0x1b8627(0x1f5)]({'options':{..._0x57524b,..._0xb94a7e},'args':_0x217e76?[_0x217e76]:[],'tdx':_0x2082d6});gracefulExit(_0x3e3ea9);}),journeyCmd['command']('columns\x20<name-or-path>')[a2_0x30593f(0x33c)](a2_0x30593f(0x338))['action'](async(_0x2da072,_0x2087e7)=>{const _0x47b704=a2_0x30593f,_0x2d1fce=new JourneyColumnsCommand(),_0x5082ae=program[_0x47b704(0x449)](),_0x8e5f6c=await createTDXInstance(_0x5082ae),_0x4f58b4=await _0x2d1fce[_0x47b704(0x1f5)]({'options':{..._0x5082ae,..._0x2087e7},'args':[_0x2da072],'tdx':_0x8e5f6c});gracefulExit(_0x4f58b4);}),journeyCmd['command'](a2_0x30593f(0x441))['description'](a2_0x30593f(0x39c))[a2_0x30593f(0x2f7)](async(_0x229d2c,_0xe4edc4)=>{const _0x3cc2c8=new JourneyActivationsCommand(),_0x1474e0=program['opts'](),_0x49495b=await createTDXInstance(_0x1474e0),_0x58a0d8=await _0x3cc2c8['run']({'options':{..._0x1474e0,..._0xe4edc4},'args':[_0x229d2c],'tdx':_0x49495b});gracefulExit(_0x58a0d8);}),journeyCmd[a2_0x30593f(0x414)](a2_0x30593f(0x387))[a2_0x30593f(0x33c)](a2_0x30593f(0x3f2))['action'](async(_0x5cdae5,_0x4743bb)=>{const _0x3c1e88=a2_0x30593f,_0x4ccd4c=new JourneyVersionsCommand(),_0x51a1b0=program[_0x3c1e88(0x449)](),_0x2e6c52=await createTDXInstance(_0x51a1b0),_0x16511c=await _0x4ccd4c[_0x3c1e88(0x1f5)]({'options':{..._0x51a1b0,..._0x4743bb},'args':[_0x5cdae5],'tdx':_0x2e6c52});gracefulExit(_0x16511c);});const journeyVersionCmd=journeyCmd[a2_0x30593f(0x414)](a2_0x30593f(0x269))['description'](a2_0x30593f(0x2c6));journeyVersionCmd[a2_0x30593f(0x414)]('create\x20<name-or-path>')[a2_0x30593f(0x33c)](a2_0x30593f(0x412))[a2_0x30593f(0x2f7)](async(_0x1fd621,_0x3e99c7)=>{const _0xc554e2=a2_0x30593f,_0x320f05=new JourneyVersionCreateCommand(),_0x4cc8a9=program[_0xc554e2(0x449)](),_0x3fc054=await createTDXInstance(_0x4cc8a9),_0x4766ef=await _0x320f05['run']({'options':{..._0x4cc8a9,..._0x3e99c7},'args':[_0x1fd621],'tdx':_0x3fc054});gracefulExit(_0x4766ef);}),journeyVersionCmd[a2_0x30593f(0x414)](a2_0x30593f(0x44c))['description']('View\x20a\x20specific\x20version\x20of\x20a\x20journey')[a2_0x30593f(0x26c)](a2_0x30593f(0x4a3),a2_0x30593f(0x1ef))[a2_0x30593f(0x2f7)](async(_0x3fa8ef,_0x4b69df)=>{const _0x480e68=a2_0x30593f,_0x271f12=new JourneyVersionViewCommand(),_0x10be73=program[_0x480e68(0x449)](),_0x33f051=await createTDXInstance(_0x10be73),_0x5533bf=await _0x271f12[_0x480e68(0x1f5)]({'options':{..._0x10be73,..._0x4b69df},'args':[_0x3fa8ef],'tdx':_0x33f051});gracefulExit(_0x5533bf);}),journeyCmd[a2_0x30593f(0x414)](a2_0x30593f(0x29c))[a2_0x30593f(0x33c)](a2_0x30593f(0x2b9))[a2_0x30593f(0x2f7)](async(_0x27c193,_0xacc2ad)=>{const _0x31c047=a2_0x30593f,_0x544e85=new JourneyValidateCommand(),_0x4b40e9=program[_0x31c047(0x449)](),_0x202858=await createTDXInstance(_0x4b40e9),_0x535d6c=await _0x544e85[_0x31c047(0x1f5)]({'options':{..._0x4b40e9,..._0xacc2ad},'args':_0x27c193?[_0x27c193]:[],'tdx':_0x202858});gracefulExit(_0x535d6c);}),program['command'](a2_0x30593f(0x227))[a2_0x30593f(0x33c)]('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x30593f(0x2f7)](journeyListAction);const agentSyncCmd=program[a2_0x30593f(0x414)](a2_0x30593f(0x402))[a2_0x30593f(0x33c)](a2_0x30593f(0x342));agentSyncCmd[a2_0x30593f(0x414)](a2_0x30593f(0x22d))[a2_0x30593f(0x33c)](a2_0x30593f(0x456))[a2_0x30593f(0x47b)]('-o,\x20--output\x20<dir>',a2_0x30593f(0x2a3))[a2_0x30593f(0x47b)](a2_0x30593f(0x2dd),a2_0x30593f(0x42d))[a2_0x30593f(0x47b)]('-a,\x20--agent\x20<name>',a2_0x30593f(0x36b))['action'](async(_0x285ec3,_0x20c566,_0xb929b6)=>{const _0x44fc83=a2_0x30593f,_0x5e5b30=new AgentPullCommand(),_0x27f2a5=program[_0x44fc83(0x449)](),_0x59744b=await createTDXInstance(_0x27f2a5),_0x3b8a80=[];if(_0x285ec3)_0x3b8a80[_0x44fc83(0x2a6)](_0x285ec3);if(_0x20c566)_0x3b8a80['push'](_0x20c566);const _0x2a5574=await _0x5e5b30[_0x44fc83(0x1f5)]({'options':{..._0x27f2a5,..._0xb929b6},'args':_0x3b8a80,'tdx':_0x59744b});gracefulExit(_0x2a5574);}),agentSyncCmd['command']('push\x20[path]')[a2_0x30593f(0x33c)]('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x30593f(0x47b)](a2_0x30593f(0x2dd),a2_0x30593f(0x1f3))[a2_0x30593f(0x2f7)](async(_0x25f1eb,_0x29192a)=>{const _0x394e19=a2_0x30593f,_0x487842=new AgentPushCommand(),_0x111b18=program[_0x394e19(0x449)](),_0x428dce=await createTDXInstance(_0x111b18),_0x385014=await _0x487842[_0x394e19(0x1f5)]({'options':{..._0x111b18,..._0x29192a},'args':_0x25f1eb?[_0x25f1eb]:[],'tdx':_0x428dce});gracefulExit(_0x385014);}),agentSyncCmd[a2_0x30593f(0x414)](a2_0x30593f(0x236))[a2_0x30593f(0x33c)](a2_0x30593f(0x231))[a2_0x30593f(0x47b)](a2_0x30593f(0x35d),a2_0x30593f(0x33a))[a2_0x30593f(0x2f7)](async(_0x2dc3cf,_0x507912)=>{const _0xcc9e2f=a2_0x30593f,_0x287e4a=new AgentCloneCommand(),_0x5eacbf=program[_0xcc9e2f(0x449)](),_0x5096f8=await createTDXInstance(_0x5eacbf),_0x58f792=await _0x287e4a['run']({'options':{..._0x5eacbf,..._0x507912},'args':_0x2dc3cf?[_0x2dc3cf]:[],'tdx':_0x5096f8});gracefulExit(_0x58f792);}),agentSyncCmd[a2_0x30593f(0x414)](a2_0x30593f(0x440))[a2_0x30593f(0x33c)](a2_0x30593f(0x2b0))[a2_0x30593f(0x47b)]('--name\x20<names>',a2_0x30593f(0x460))[a2_0x30593f(0x47b)](a2_0x30593f(0x248),a2_0x30593f(0x2f1))[a2_0x30593f(0x47b)](a2_0x30593f(0x427),a2_0x30593f(0x375))['option'](a2_0x30593f(0x417),'Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x30593f(0x47b)](a2_0x30593f(0x2ef),a2_0x30593f(0x35e))[a2_0x30593f(0x2f7)](async(_0x37d422,_0x185410)=>{const _0x5ab80e=a2_0x30593f,_0x1af57c=new AgentTestCommand(),_0x530150=program[_0x5ab80e(0x449)](),_0x4f1237=await createTDXInstance(_0x530150),_0x425644=await _0x1af57c['run']({'options':{..._0x530150,..._0x185410},'args':_0x37d422?[_0x37d422]:[],'tdx':_0x4f1237});gracefulExit(_0x425644);}),agentSyncCmd[a2_0x30593f(0x414)](a2_0x30593f(0x1fc))['description'](a2_0x30593f(0x30d))['action'](llmAgentListAction),agentSyncCmd[a2_0x30593f(0x414)]('show\x20<agent-name>')[a2_0x30593f(0x33c)](a2_0x30593f(0x245))[a2_0x30593f(0x2f7)](async(_0x4e40d9,_0x50c51a)=>{const _0x5ecff3=a2_0x30593f,_0x36952f=new LLMAgentShowCommand(),_0x4402b5=program[_0x5ecff3(0x449)](),_0x3919d6=await createTDXInstance(_0x4402b5),_0x3ef288=await _0x36952f[_0x5ecff3(0x1f5)]({'options':{..._0x4402b5,..._0x50c51a},'args':[_0x4e40d9],'tdx':_0x3919d6});gracefulExit(_0x3ef288);}),agentSyncCmd[a2_0x30593f(0x414)](a2_0x30593f(0x21f))[a2_0x30593f(0x33c)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x30593f(0x47b)](a2_0x30593f(0x34a),a2_0x30593f(0x45f))['option'](a2_0x30593f(0x3ef),a2_0x30593f(0x40d),'claude-4.5-sonnet')[a2_0x30593f(0x47b)](a2_0x30593f(0x336),'Starter\x20message')['option']('--max-tool-iterations\x20<n>',a2_0x30593f(0x35c),'4')[a2_0x30593f(0x47b)](a2_0x30593f(0x31c),a2_0x30593f(0x3c7),a2_0x30593f(0x392))['action'](async(_0x7c4476,_0xc3830c)=>{const _0x41c2ec=a2_0x30593f,_0x2ec672=new LLMAgentCreateCommand(),_0x53e4cf=program[_0x41c2ec(0x449)](),_0x3f9d42=await createTDXInstance(_0x53e4cf),_0x4fe4d4=await _0x2ec672[_0x41c2ec(0x1f5)]({'options':{..._0x53e4cf,..._0xc3830c},'args':[_0x7c4476],'tdx':_0x3f9d42});gracefulExit(_0x4fe4d4);}),agentSyncCmd[a2_0x30593f(0x414)](a2_0x30593f(0x411))[a2_0x30593f(0x33c)](a2_0x30593f(0x415))[a2_0x30593f(0x47b)](a2_0x30593f(0x29d),'Agent\x20name')[a2_0x30593f(0x47b)](a2_0x30593f(0x442),a2_0x30593f(0x2a9))[a2_0x30593f(0x47b)](a2_0x30593f(0x3a4),a2_0x30593f(0x32c))[a2_0x30593f(0x47b)]('--starter-message\x20<text>','Starter\x20message')['action'](async(_0x43976a,_0x2e84f4)=>{const _0x445974=a2_0x30593f,_0x39855b=new LLMAgentUpdateCommand(),_0x205d08=program[_0x445974(0x449)](),_0x3ed5d6=await createTDXInstance(_0x205d08),_0x4ee933=await _0x39855b[_0x445974(0x1f5)]({'options':{..._0x205d08,..._0x2e84f4},'args':[_0x43976a],'tdx':_0x3ed5d6});gracefulExit(_0x4ee933);}),agentSyncCmd['command'](a2_0x30593f(0x224))[a2_0x30593f(0x33c)](a2_0x30593f(0x426))[a2_0x30593f(0x2f7)](async(_0x34227e,_0x1d1ea3)=>{const _0x3c77bd=a2_0x30593f,_0x51ec0d=new LLMAgentDeleteCommand(),_0x482825=program[_0x3c77bd(0x449)](),_0x37a745=await createTDXInstance(_0x482825),_0x2fbbf8=await _0x51ec0d['run']({'options':{..._0x482825,..._0x1d1ea3},'args':[_0x34227e],'tdx':_0x37a745});gracefulExit(_0x2fbbf8);}),program[a2_0x30593f(0x414)](a2_0x30593f(0x49d),{'hidden':!![]})[a2_0x30593f(0x2f7)](()=>{const _0x1c813b=a2_0x30593f;function _0x3791fc(_0xc576a6,_0x2fff79){const _0x2f4827=a2_0x5591,_0x41d4c2=[];for(const _0x3801d4 of _0xc576a6[_0x2f4827(0x331)]){if(_0x3801d4[_0x2f4827(0x39b)])continue;const _0x44130d=_0x2fff79?_0x2fff79+'\x20'+_0x3801d4['name']():_0x3801d4['name'](),_0x200959=_0x44130d[_0x2f4827(0x28b)]('\x20')[0x0],_0x39378c=COMMAND_CATEGORIES[_0x2f4827(0x1fb)](_0x4be301=>_0x4be301[_0x2f4827(0x331)][_0x2f4827(0x3a7)](_0x200959)),_0x4bf329=_0x39378c?.[_0x2f4827(0x332)]??'';if(_0x3801d4['commands'][_0x2f4827(0x475)]>0x0)_0x41d4c2['push'](..._0x3791fc(_0x3801d4,_0x44130d));else{const _0x5696d0=(_0x3801d4['registeredArguments']||[])[_0x2f4827(0x446)](_0x43f89c=>{const _0x4af9e8=_0x2f4827,_0xca1b6f=_0x43f89c[_0x4af9e8(0x36c)]?_0x43f89c['name']()+_0x4af9e8(0x2bd):_0x43f89c['name']();return _0x43f89c['required']?'<'+_0xca1b6f+'>':'['+_0xca1b6f+']';})[_0x2f4827(0x3b2)]('\x20'),_0x3d7394=_0x3801d4[_0x2f4827(0x2dc)][_0x2f4827(0x215)](_0x298de8=>!_0x298de8[_0x2f4827(0x1fa)]&&_0x298de8[_0x2f4827(0x322)]!==_0x2f4827(0x281))[_0x2f4827(0x446)](_0x164023=>({'flags':_0x164023[_0x2f4827(0x396)],'description':_0x164023[_0x2f4827(0x33c)]}));_0x41d4c2['push']({'name':_0x44130d,'description':_0x3801d4[_0x2f4827(0x33c)](),'group':_0x4bf329,'usage':_0x5696d0,'options':_0x3d7394});}}return _0x41d4c2;}console[_0x1c813b(0x23d)](JSON[_0x1c813b(0x2a4)](_0x3791fc(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x43666e=a2_0x30593f,_0x37d4bf=!process[_0x43666e(0x325)]['slice'](0x2)['length'];showBriefHelp=_0x37d4bf,program[_0x43666e(0x4a0)](process['argv']);_0x37d4bf&&program['outputHelp']();const _0x13ae5d=process[_0x43666e(0x325)][0x2]===_0x43666e(0x221);if(process[_0x43666e(0x384)][_0x43666e(0x436)]&&process[_0x43666e(0x325)][_0x43666e(0x475)]>0x2&&!isDevVersion()&&!_0x13ae5d){const _0x4b7c84=loadReleaseChannel();checkForUpdate(currentVersion,_0x4b7c84)['then'](_0x59bd3f=>{_0x59bd3f&&displayUpdateNotification(_0x59bd3f);})[_0x43666e(0x22b)](()=>{});}}
|
|
1
|
+
const a2_0x3a6c32=a2_0x434e;(function(_0xf140ae,_0x21dcfa){const _0x4360f5=a2_0x434e,_0x274d37=_0xf140ae();while(!![]){try{const _0x127d14=-parseInt(_0x4360f5(0x382))/0x1*(parseInt(_0x4360f5(0x44f))/0x2)+-parseInt(_0x4360f5(0x277))/0x3*(-parseInt(_0x4360f5(0x3c6))/0x4)+parseInt(_0x4360f5(0x298))/0x5+-parseInt(_0x4360f5(0x33f))/0x6*(parseInt(_0x4360f5(0x454))/0x7)+parseInt(_0x4360f5(0x32e))/0x8+-parseInt(_0x4360f5(0x448))/0x9+-parseInt(_0x4360f5(0x274))/0xa*(-parseInt(_0x4360f5(0x2dc))/0xb);if(_0x127d14===_0x21dcfa)break;else _0x274d37['push'](_0x274d37['shift']());}catch(_0x4e70d8){_0x274d37['push'](_0x274d37['shift']());}}}(a2_0x2396,0xc4f70));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,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}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,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-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{AuthLoginCommand}from'./commands/auth-login-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{UpgradeCommand}from'./commands/upgrade-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_0x3a6c32(0x313)][a2_0x3a6c32(0x3eb)]('--version')){let versionOutput=a2_0x3a6c32(0x380)+currentVersion;buildInfo[a2_0x3a6c32(0x35e)]&&!currentVersion[a2_0x3a6c32(0x3eb)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x3a6c32(0x48b)]&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x3a6c32(0x48b)]),console[a2_0x3a6c32(0x3b8)](versionOutput),process['exit'](0x0);}function a2_0x434e(_0x1b7824,_0x380f0a){_0x1b7824=_0x1b7824-0x1c7;const _0x2396cd=a2_0x2396();let _0x434e9=_0x2396cd[_0x1b7824];return _0x434e9;}const program=new Command();export function mergeCommandOptions(_0x3b39de,_0x13f191){const _0x28bf49=a2_0x3a6c32,_0x4d9841={..._0x3b39de};for(const [_0x2b9100,_0x3d2b95]of Object[_0x28bf49(0x38e)](_0x13f191)){_0x3d2b95!==undefined&&(_0x4d9841[_0x2b9100]=_0x3d2b95);}return _0x4d9841;}let showBriefHelp=![],description=a2_0x3a6c32(0x3af);buildInfo['gitRevision']&&!currentVersion[a2_0x3a6c32(0x3eb)](buildInfo[a2_0x3a6c32(0x35e)])?description+=a2_0x3a6c32(0x21f)+currentVersion+'\x20('+buildInfo[a2_0x3a6c32(0x35e)]+')':description+=',\x20version\x20'+currentVersion;program['name'](a2_0x3a6c32(0x38f))['description'](description),program[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x211),'Change\x20to\x20directory\x20before\x20executing\x20command')['option']('-p,\x20--profile\x20<name>',a2_0x3a6c32(0x465))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a3),a2_0x3a6c32(0x400),a2_0x3a6c32(0x31f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2ac),a2_0x3a6c32(0x269))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x288),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x3a6c32(0x3b3)]('--json','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')['option'](a2_0x3a6c32(0x2a8),a2_0x3a6c32(0x2c7))['option'](a2_0x3a6c32(0x273),a2_0x3a6c32(0x2cc))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e0),a2_0x3a6c32(0x22f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a5),a2_0x3a6c32(0x28f))[a2_0x3a6c32(0x3b3)]('--color','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x318),a2_0x3a6c32(0x235),![])['option'](a2_0x3a6c32(0x410),a2_0x3a6c32(0x300),![])[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x30d),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1d5),a2_0x3a6c32(0x412))[a2_0x3a6c32(0x3b3)]('--timeout\x20<seconds>',a2_0x3a6c32(0x482),'30')[a2_0x3a6c32(0x3b3)]('--dry-run',a2_0x3a6c32(0x2c9),![])[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cf),a2_0x3a6c32(0x1d0),![])['option'](a2_0x3a6c32(0x30b),a2_0x3a6c32(0x264))['option'](a2_0x3a6c32(0x323),a2_0x3a6c32(0x493))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x440),a2_0x3a6c32(0x319)),program[a2_0x3a6c32(0x399)]({'formatHelp':(_0x432040,_0x2c4b09)=>{const _0x242d5d=a2_0x3a6c32,_0xc8b32=_0x2c4b09[_0x242d5d(0x249)](_0x432040,_0x2c4b09),_0x249fbd=0x2,_0x255021=0x2;function _0x471edb(_0x1f40f4){const _0x3b96ce=_0x242d5d,_0x190bbd=_0x1f40f4;return!!(_0x190bbd[_0x3b96ce(0x4a3)]||_0x190bbd['hidden']);}function _0x9b35b7(_0x15d0f7,_0x4a98fc){const _0x357281=_0x242d5d;if(_0x4a98fc){const _0x2d3bf9=''+_0x15d0f7[_0x357281(0x1fb)](_0xc8b32+_0x255021)+_0x4a98fc;return _0x2d3bf9;}return _0x15d0f7;}function _0x50c749(_0x137fbd){const _0x46ed45=_0x242d5d;return _0x137fbd[_0x46ed45(0x336)]('\x0a')[_0x46ed45(0x294)](/^/gm,'\x20'[_0x46ed45(0x344)](_0x249fbd));}const _0x1ac88d=[];_0x1ac88d[_0x242d5d(0x3e1)]('Usage:\x20'+_0x2c4b09['commandUsage'](_0x432040));const _0x5055c9=_0x2c4b09[_0x242d5d(0x387)](_0x432040);_0x5055c9&&(_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d[_0x242d5d(0x3e1)](_0x5055c9));const _0x22a4be=_0x432040['commands'][_0x242d5d(0x39e)](_0x459526=>!_0x471edb(_0x459526));if(_0x22a4be[_0x242d5d(0x3d7)]>0x0){if(_0x432040['name']()==='tdx'){const _0x25630c=_0x432040[_0x242d5d(0x34e)](),_0x3dc2e0=!_0x25630c[_0x242d5d(0x397)]&&process[_0x242d5d(0x301)][_0x242d5d(0x316)],_0x3570ab=COMMAND_CATEGORIES,_0x553ff8=(_0x2b4b7e,_0x1bcf34)=>_0x3dc2e0?_0x1bcf34(_0x2b4b7e):_0x2b4b7e,_0x166303=new Map();_0x22a4be['forEach'](_0x53f2e3=>{const _0x384c59=_0x242d5d;_0x166303[_0x384c59(0x25e)](_0x53f2e3[_0x384c59(0x3e2)](),_0x53f2e3);}),_0x3570ab[_0x242d5d(0x3a0)](_0x48fea4=>{const _0x1c92d8=_0x242d5d,_0x4e4824=_0x48fea4[_0x1c92d8(0x42e)]['flatMap'](_0x4ea8e2=>_0x166303[_0x1c92d8(0x469)](_0x4ea8e2)??[]);if(_0x4e4824[_0x1c92d8(0x3d7)]>0x0){_0x1ac88d[_0x1c92d8(0x3e1)](''),_0x1ac88d[_0x1c92d8(0x3e1)](_0x553ff8(_0x48fea4[_0x1c92d8(0x3e2)]+':',_0x48fea4[_0x1c92d8(0x3ec)]));const _0x1334d0=_0x4e4824[_0x1c92d8(0x385)](_0x56656d=>{const _0x465c2a=_0x1c92d8,_0x1add45=_0x2c4b09[_0x465c2a(0x2f9)](_0x56656d),_0x1e0573=_0x2c4b09['subcommandDescription'](_0x56656d);return _0x9b35b7(_0x1add45,_0x1e0573);});_0x1ac88d[_0x1c92d8(0x3e1)](_0x50c749(_0x1334d0));}}),_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d['push'](_0x242d5d(0x251));}else{const _0x10c3dd=_0x22a4be[_0x242d5d(0x385)](_0x794924=>{const _0x4c623b=_0x242d5d,_0xda15d1=_0x2c4b09[_0x4c623b(0x2f9)](_0x794924),_0x41b509=_0x2c4b09[_0x4c623b(0x3b9)](_0x794924);return _0x9b35b7(_0xda15d1,_0x41b509);});_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d['push'](_0x242d5d(0x44b)),_0x1ac88d[_0x242d5d(0x3e1)](_0x50c749(_0x10c3dd));}}if(showBriefHelp&&_0x432040[_0x242d5d(0x3e2)]()===_0x242d5d(0x38f))_0x1ac88d['push'](''),_0x1ac88d[_0x242d5d(0x3e1)](_0x242d5d(0x1f2));else{const _0x4357d7=_0x432040['options'][_0x242d5d(0x39e)](_0x5af3e5=>!_0x471edb(_0x5af3e5));if(_0x4357d7[_0x242d5d(0x3d7)]>0x0){const _0x5a0bd7=_0x4357d7[_0x242d5d(0x385)](_0x208f33=>{const _0x1a4bf6=_0x242d5d,_0x212dae=_0x2c4b09[_0x1a4bf6(0x24d)](_0x208f33),_0x56225c=_0x2c4b09[_0x1a4bf6(0x41d)](_0x208f33);return _0x9b35b7(_0x212dae,_0x56225c);});_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d[_0x242d5d(0x3e1)](_0x242d5d(0x2aa)),_0x1ac88d[_0x242d5d(0x3e1)](_0x50c749(_0x5a0bd7));}}const _0x240e88=(_0x432040[_0x242d5d(0x4a4)]||[])['filter'](_0x5f498b=>!_0x471edb(_0x5f498b));if(_0x240e88[_0x242d5d(0x3d7)]>0x0){const _0x666e83=_0x240e88[_0x242d5d(0x385)](_0x13ba11=>{const _0x3e808c=_0x242d5d,_0x180f74=_0x2c4b09[_0x3e808c(0x39b)](_0x13ba11),_0x28684c=_0x2c4b09[_0x3e808c(0x29e)](_0x13ba11);return _0x9b35b7(_0x180f74,_0x28684c);});_0x1ac88d[_0x242d5d(0x3e1)](''),_0x1ac88d[_0x242d5d(0x3e1)](_0x242d5d(0x432)),_0x1ac88d[_0x242d5d(0x3e1)](_0x50c749(_0x666e83));}return _0x1ac88d['join']('\x0a')+'\x0a';},'subcommandTerm':_0x28134a=>{const _0x5de234=a2_0x3a6c32,_0x392e37=(_0x28134a[_0x5de234(0x4a4)]||[])[_0x5de234(0x385)](_0x42988b=>_0x42988b[_0x5de234(0x46e)]?'<'+_0x42988b[_0x5de234(0x3e2)]()+'>':'['+_0x42988b['name']()+']')[_0x5de234(0x336)]('\x20'),_0x4c8a5f=_0x28134a[_0x5de234(0x473)](),_0x230b29=_0x4c8a5f[_0x5de234(0x3d7)]>0x0?_0x28134a[_0x5de234(0x3e2)]()+',\x20'+_0x4c8a5f[_0x5de234(0x336)](',\x20'):_0x28134a['name']();return _0x392e37?_0x230b29+'\x20'+_0x392e37:_0x230b29;}}),program[a2_0x3a6c32(0x41a)]('preAction',_0x242be9=>{const _0x567b7=a2_0x3a6c32,_0x1bfb80=_0x242be9[_0x567b7(0x34e)]();if(_0x1bfb80[_0x567b7(0x329)]){const _0x3209c1=resolve(_0x1bfb80[_0x567b7(0x329)]),_0x568ad6=_0x3209c1!==_0x1bfb80[_0x567b7(0x329)]?_0x567b7(0x47a)+_0x3209c1+')':'';if(!existsSync(_0x3209c1))throw new SDKError(ErrorCode[_0x567b7(0x366)],'Directory\x20does\x20not\x20exist:\x20'+_0x1bfb80[_0x567b7(0x329)]+_0x568ad6,undefined,{'helpText':_0x567b7(0x325)});const _0x50420e=statSync(_0x3209c1);if(!_0x50420e[_0x567b7(0x3b7)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x1bfb80[_0x567b7(0x329)]+_0x568ad6,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process['chdir'](_0x3209c1);}if(!_0x1bfb80[_0x567b7(0x3f3)]){if(_0x1bfb80[_0x567b7(0x451)])_0x1bfb80['format']=_0x567b7(0x451);else{if(_0x1bfb80[_0x567b7(0x259)])_0x1bfb80['format']='json';else{if(_0x1bfb80[_0x567b7(0x3f9)])_0x1bfb80[_0x567b7(0x3f3)]='jsonl';else _0x1bfb80[_0x567b7(0x334)]&&(_0x1bfb80[_0x567b7(0x3f3)]=_0x567b7(0x334));}}}if(_0x1bfb80[_0x567b7(0x34a)])_0x1bfb80[_0x567b7(0x21d)]=LogLevel[_0x567b7(0x3ff)];else{if(_0x1bfb80['debug'])_0x1bfb80[_0x567b7(0x21d)]=LogLevel[_0x567b7(0x30c)];else _0x1bfb80[_0x567b7(0x21d)]===undefined&&(_0x1bfb80[_0x567b7(0x21d)]=LogLevel[_0x567b7(0x255)]);}});async function createTDXInstance(_0x35e583){const _0x11364b=a2_0x3a6c32,_0x58ad6b=await GlobalContext[_0x11364b(0x279)](_0x35e583);return _0x58ad6b['injectIntoOptions'](_0x35e583),TDX[_0x11364b(0x1eb)]({'site':_0x58ad6b[_0x11364b(0x42a)],'apiKey':_0x58ad6b[_0x11364b(0x305)],'accessToken':_0x58ad6b[_0x11364b(0x425)],'logLevel':_0x58ad6b[_0x11364b(0x21d)],'profile':_0x58ad6b['profile']});}const databaseCmd=program['command']('database')['alias']('db')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x40e)),databaseListAction=async(_0x320bff,_0x13f7ec)=>{const _0x109d74=a2_0x3a6c32,_0x329b39=new DatabasesCommand(),_0x68ae99=program['opts'](),_0x52d47b=await createTDXInstance(_0x68ae99),_0x6b62e1=await _0x329b39[_0x109d74(0x3c2)]({'options':{..._0x68ae99,..._0x13f7ec},'args':_0x320bff?[_0x320bff]:[],'tdx':_0x52d47b});gracefulExit(_0x6b62e1);};databaseCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x402))[a2_0x3a6c32(0x219)](databaseListAction),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1fa),{'hidden':!![]})[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1f7))[a2_0x3a6c32(0x219)](databaseListAction),program[a2_0x3a6c32(0x2f4)]('chat\x20[message...]')['description'](a2_0x3a6c32(0x443))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x22e),a2_0x3a6c32(0x215))['option'](a2_0x3a6c32(0x2f2),a2_0x3a6c32(0x2a0))['option'](a2_0x3a6c32(0x459),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x353),a2_0x3a6c32(0x24f))['action'](async(_0x1d1c62,_0x15dfcf)=>{const _0x420e5d=a2_0x3a6c32,_0x247735=program[_0x420e5d(0x34e)](),_0x138091=await createTDXInstance(_0x247735);if(_0x1d1c62[0x0]==='create'){const _0x41a755=new ChatCreateCommand();gracefulExit(await _0x41a755[_0x420e5d(0x3c2)]({'options':{..._0x247735,..._0x15dfcf},'args':_0x1d1c62[_0x420e5d(0x383)](0x1),'tdx':_0x138091}));return;}const _0x336271=new ChatCommand(),_0x422fd6=await _0x336271['run']({'options':{..._0x247735,..._0x15dfcf},'args':_0x1d1c62,'tdx':_0x138091});gracefulExit(_0x422fd6);});const apiCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x43b))[a2_0x3a6c32(0x354)](a2_0x3a6c32(0x295))[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),a2_0x3a6c32(0x3f1))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x200),a2_0x3a6c32(0x49b),a2_0x3a6c32(0x34c))['option'](a2_0x3a6c32(0x3ab),'Request\x20body\x20as\x20JSON\x20string')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2b0),a2_0x3a6c32(0x1cc))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3da),a2_0x3a6c32(0x442),(_0x195cd0,_0x5ae1c6)=>{return _0x5ae1c6?[..._0x5ae1c6,_0x195cd0]:[_0x195cd0];})[a2_0x3a6c32(0x3b3)]('--type\x20<api_type>',a2_0x3a6c32(0x420),'td')[a2_0x3a6c32(0x219)](async(_0x27fbbb,_0xcf42ec)=>{const _0x535277=a2_0x3a6c32;if(!_0x27fbbb){apiCmd[_0x535277(0x205)]();return;}const _0x526df8=new ApiCommand(),_0x580009=program[_0x535277(0x34e)](),_0x24cbf9=await createTDXInstance(_0x580009),_0x5bdd10=await _0x526df8['run']({'options':{..._0x580009,..._0xcf42ec},'args':[_0x27fbbb],'tdx':_0x24cbf9});gracefulExit(_0x5bdd10);});program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1de))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x270))[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),a2_0x3a6c32(0x3fc))[a2_0x3a6c32(0x219)](async _0x13c0f8=>{const _0xe79b3a=a2_0x3a6c32,_0x397a12=new MCPCommand(),_0x36bc86=program[_0xe79b3a(0x34e)](),_0x59c8bd=await createTDXInstance(_0x36bc86),_0x2f8717=await _0x397a12[_0xe79b3a(0x3c2)]({'options':{..._0x36bc86,..._0x13c0f8},'args':[],'tdx':_0x59c8bd});gracefulExit(_0x2f8717);});const tableCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x451))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x233)),tableListAction=async(_0x261603,_0x5da288)=>{const _0x2185c5=a2_0x3a6c32,_0x1f0b98=new TablesCommand(),_0x2e1aac=program[_0x2185c5(0x34e)](),_0x5cc081=await createTDXInstance(_0x2e1aac);_0x5da288['in']&&(_0x5da288[_0x2185c5(0x419)]=_0x5da288['in']);const _0x2bc814=await _0x1f0b98[_0x2185c5(0x3c2)]({'options':{..._0x2e1aac,..._0x5da288},'args':_0x261603?[_0x261603]:[],'tdx':_0x5cc081});gracefulExit(_0x2bc814);};tableCmd['command'](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x30e))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2bf),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x3a6c32(0x219)](tableListAction),program['command'](a2_0x3a6c32(0x2b9),{'hidden':!![]})[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x206))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2bf),a2_0x3a6c32(0x1f9))[a2_0x3a6c32(0x219)](tableListAction),program[a2_0x3a6c32(0x2f4)]('show\x20[table]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1ef))['option']('-d,\x20--database\x20<database>',a2_0x3a6c32(0x25d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2bf),a2_0x3a6c32(0x1f9))[a2_0x3a6c32(0x219)](async(_0x1160fd,_0x51002e)=>{const _0x3ac0f5=a2_0x3a6c32,_0x343631=new ShowCommand(),_0x2f6839=program['opts'](),_0x405307=await createTDXInstance(_0x2f6839);_0x51002e['in']&&(_0x51002e['database']=_0x51002e['in']);const _0x54ee57=await _0x343631[_0x3ac0f5(0x3c2)]({'options':{..._0x2f6839,..._0x51002e},'args':_0x1160fd?[_0x1160fd]:[],'tdx':_0x405307});gracefulExit(_0x54ee57);}),program[a2_0x3a6c32(0x2f4)]('describe\x20[table]')[a2_0x3a6c32(0x20b)](a2_0x3a6c32(0x293))['description'](a2_0x3a6c32(0x34b))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23a),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2bf),a2_0x3a6c32(0x1f9))[a2_0x3a6c32(0x219)](async(_0x3ec0e5,_0x3a610c)=>{const _0x21096b=a2_0x3a6c32,_0x1b1a74=new DescribeCommand(),_0x47d642=program[_0x21096b(0x34e)](),_0x25875d=await createTDXInstance(_0x47d642);_0x3a610c['in']&&(_0x3a610c[_0x21096b(0x419)]=_0x3a610c['in']);const _0x54c687=await _0x1b1a74[_0x21096b(0x3c2)]({'options':{..._0x47d642,..._0x3a610c},'args':_0x3ec0e5?[_0x3ec0e5]:[],'tdx':_0x25875d});gracefulExit(_0x54c687);}),program[a2_0x3a6c32(0x2f4)]('query\x20[sql]')['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23a),a2_0x3a6c32(0x44d))['option'](a2_0x3a6c32(0x2bf),a2_0x3a6c32(0x1f9))['option'](a2_0x3a6c32(0x418),'Trino\x20catalog\x20(default:\x20td)')['option'](a2_0x3a6c32(0x2b0),'Read\x20SQL\x20query\x20from\x20file')['option'](a2_0x3a6c32(0x42d),'Maximum\x20rows\x20to\x20display')['action'](async(_0x360cfa,_0x54beb4)=>{const _0x3335b2=a2_0x3a6c32,_0x309bbf=new QueryCommand(),_0x333d80=program['opts'](),_0x40b84d=await createTDXInstance(_0x333d80);_0x54beb4['in']&&(_0x54beb4[_0x3335b2(0x419)]=_0x54beb4['in']);const _0x533055=await _0x309bbf[_0x3335b2(0x3c2)]({'options':mergeCommandOptions(_0x333d80,_0x54beb4),'args':_0x360cfa?[_0x360cfa]:[],'tdx':_0x40b84d});gracefulExit(_0x533055);});const segmentCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ce))[a2_0x3a6c32(0x20b)]('sg')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x36c)),segmentListAction=async(_0x1373bb,_0x28e919)=>{const _0x2012a8=a2_0x3a6c32,_0x359e93=new SegmentsCommand(),_0x5ba304=program[_0x2012a8(0x34e)](),_0x5e3415=await createTDXInstance(_0x5ba304),_0xcea201=await _0x359e93['run']({'options':{..._0x5ba304,..._0x28e919},'args':_0x1373bb?[_0x1373bb]:[],'tdx':_0x5e3415});gracefulExit(_0xcea201);};segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x445))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x351))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x26d),a2_0x3a6c32(0x3fb))[a2_0x3a6c32(0x3b3)]('--max-depth\x20<depth>',a2_0x3a6c32(0x308),'10')[a2_0x3a6c32(0x219)](segmentListAction),program['command'](a2_0x3a6c32(0x48f),{'hidden':!![]})[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x33c))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x26d),a2_0x3a6c32(0x3fb))['option'](a2_0x3a6c32(0x37c),a2_0x3a6c32(0x308),'10')[a2_0x3a6c32(0x219)](segmentListAction),segmentCmd[a2_0x3a6c32(0x2f4)]('use\x20<path>',{'hidden':!![]})[a2_0x3a6c32(0x2f0)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x3a6c32(0x219)](async(_0x5d2696,_0x310680)=>{const _0x97e175=a2_0x3a6c32,_0x3ea516=new SegmentUseCommand(),_0x2cfdef=program[_0x97e175(0x34e)](),_0x350ba9=await createTDXInstance(_0x2cfdef),_0x533144=await _0x3ea516[_0x97e175(0x3c2)]({'options':{..._0x2cfdef,..._0x310680},'args':[_0x5d2696],'tdx':_0x350ba9});gracefulExit(_0x533144);});const segmentViewAction=async(_0x430629,_0x32aef3)=>{const _0x15d849=a2_0x3a6c32,_0x3d7798=new SegmentViewCommand(),_0x347482=program[_0x15d849(0x34e)](),_0x296e03=await createTDXInstance(_0x347482),_0x1203dd=await _0x3d7798[_0x15d849(0x3c2)]({'options':{..._0x347482,..._0x32aef3},'args':_0x430629?[_0x430629]:[],'tdx':_0x296e03});gracefulExit(_0x1203dd);};segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2dd))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2a9))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x381),a2_0x3a6c32(0x431))[a2_0x3a6c32(0x219)](segmentViewAction),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x337),{'hidden':!![]})['alias']('describe')['option'](a2_0x3a6c32(0x381),a2_0x3a6c32(0x431))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x27c))['action'](segmentViewAction),segmentCmd['command'](a2_0x3a6c32(0x2a1))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x322))[a2_0x3a6c32(0x219)](async(_0x444045,_0xeb5994)=>{const _0x50de73=a2_0x3a6c32,_0x2e63f6=new SegmentDescCommand(),_0x30a68c=program[_0x50de73(0x34e)](),_0x1c2ce6=await createTDXInstance(_0x30a68c),_0x330fb7=await _0x2e63f6['run']({'options':{..._0x30a68c,..._0xeb5994},'args':_0x444045?[_0x444045]:[],'tdx':_0x1c2ce6});gracefulExit(_0x330fb7);}),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3c1))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x478))[a2_0x3a6c32(0x219)](async(_0x42c1ce,_0x3457df)=>{const _0x57f6d4=a2_0x3a6c32,_0x6a879d=new SegmentShowCommand(),_0x515246=program[_0x57f6d4(0x34e)](),_0x521f61=await createTDXInstance(_0x515246),_0x1f16dc=await _0x6a879d[_0x57f6d4(0x3c2)]({'options':{..._0x515246,..._0x3457df},'args':_0x42c1ce?[_0x42c1ce]:[],'tdx':_0x521f61});gracefulExit(_0x1f16dc);}),segmentCmd['command'](a2_0x3a6c32(0x46d),{'hidden':!![]})['description']('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x3a6c32(0x219)](async(_0x266713,_0x301929)=>{const _0xa1f3f8=a2_0x3a6c32,_0x35d6e9=new SegmentFolderListCommand(),_0x2f6851=program[_0xa1f3f8(0x34e)](),_0x1c2e8c=await createTDXInstance(_0x2f6851),_0xbb22c0=await _0x35d6e9[_0xa1f3f8(0x3c2)]({'options':{..._0x2f6851,..._0x301929},'args':[_0x266713],'tdx':_0x1c2e8c});gracefulExit(_0xbb22c0);});const folderCmd=segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x447),{'hidden':!![]})[a2_0x3a6c32(0x2f0)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x3a6c32(0x2f4)]('show\x20<folder_ref>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x23b))[a2_0x3a6c32(0x219)](async(_0x32df71,_0x13a978)=>{const _0x2abc93=a2_0x3a6c32,_0x5846f7=new SegmentFolderShowCommand(),_0xcda67a=program['opts'](),_0x699bc=await createTDXInstance(_0xcda67a),_0x3da388=await _0x5846f7[_0x2abc93(0x3c2)]({'options':{..._0xcda67a,..._0x13a978},'args':[_0x32df71],'tdx':_0x699bc});gracefulExit(_0x3da388);}),segmentCmd['command'](a2_0x3a6c32(0x339))['description'](a2_0x3a6c32(0x31d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x401),a2_0x3a6c32(0x1e1))['action'](async(_0x28a708,_0xc478af)=>{const _0x3a8cb3=a2_0x3a6c32,_0xaeff29=new SegmentSQLCommand(),_0x7a3a2=program[_0x3a8cb3(0x34e)](),_0x4d0f18=await createTDXInstance(_0x7a3a2),_0x3ea8d8=await _0xaeff29[_0x3a8cb3(0x3c2)]({'options':{..._0x7a3a2,..._0xc478af},'args':_0x28a708?[_0x28a708]:[],'tdx':_0x4d0f18});gracefulExit(_0x3ea8d8);}),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x396))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x398))[a2_0x3a6c32(0x219)](async(_0x5bf757,_0x1206a3)=>{const _0xe12746=a2_0x3a6c32,_0x183cdf=new SegmentFieldsCommand(),_0x3968df=program['opts'](),_0x21575c=await createTDXInstance(_0x3968df),_0x426b74=await _0x183cdf[_0xe12746(0x3c2)]({'options':{..._0x3968df,..._0x1206a3},'args':_0x5bf757?[_0x5bf757]:[],'tdx':_0x21575c});gracefulExit(_0x426b74);}),segmentCmd[a2_0x3a6c32(0x2f4)]('pull\x20[parent_or_file]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3fd))['option'](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x2d3))[a2_0x3a6c32(0x219)](async(_0x325d41,_0x9038e3)=>{const _0x26d4f3=a2_0x3a6c32,_0x478e22=new SegmentPullCommand(),_0x3db6fa=program[_0x26d4f3(0x34e)](),_0x3d7ce8=await createTDXInstance(_0x3db6fa),_0x522086=await _0x478e22[_0x26d4f3(0x3c2)]({'options':{..._0x3db6fa,..._0x9038e3},'args':_0x325d41?[_0x325d41]:[],'tdx':_0x3d7ce8});gracefulExit(_0x522086);}),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1d7))['description'](a2_0x3a6c32(0x2eb))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2e2),a2_0x3a6c32(0x37d))['action'](async(_0x3211f4,_0x26b731)=>{const _0x2ccb22=a2_0x3a6c32,_0x437ae3=new SegmentPushCommand(),_0x32ca94=program[_0x2ccb22(0x34e)](),_0x86dbfe=await createTDXInstance(_0x32ca94),_0x5634d6=await _0x437ae3[_0x2ccb22(0x3c2)]({'options':{..._0x32ca94,..._0x26b731},'args':_0x3211f4?[_0x3211f4]:[],'tdx':_0x86dbfe});gracefulExit(_0x5634d6);}),segmentCmd[a2_0x3a6c32(0x2f4)]('validate\x20[target]')['description'](a2_0x3a6c32(0x260))[a2_0x3a6c32(0x219)](async(_0x49bfc4,_0x143a56)=>{const _0x252151=a2_0x3a6c32,_0xe52e72=new SegmentValidateCommand(),_0x2ef302=program[_0x252151(0x34e)](),_0x2ea8d9=await createTDXInstance(_0x2ef302),_0x4ffeaf=await _0xe52e72[_0x252151(0x3c2)]({'options':{..._0x2ef302,..._0x143a56},'args':_0x49bfc4?[_0x49bfc4]:[],'tdx':_0x2ea8d9});gracefulExit(_0x4ffeaf);}),segmentCmd[a2_0x3a6c32(0x2f4)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x479))[a2_0x3a6c32(0x3b3)]('--description\x20<text>','Segment\x20description')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x395),a2_0x3a6c32(0x434))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x36e),'Filtering\x20rule\x20from\x20JSON\x20file')['option']('--folder\x20<name>',a2_0x3a6c32(0x2ec))['option'](a2_0x3a6c32(0x430),a2_0x3a6c32(0x2ca))['option']('--invisible',a2_0x3a6c32(0x27e))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x393),a2_0x3a6c32(0x444))[a2_0x3a6c32(0x219)](async(_0x597520,_0x35259a)=>{const _0x58578a=a2_0x3a6c32,_0x5b7892=new SegmentCreateCommand(),_0xbd70d4=program[_0x58578a(0x34e)](),_0x4126ee=await createTDXInstance(_0xbd70d4),_0x1a209a=await _0x5b7892[_0x58578a(0x3c2)]({'options':{..._0xbd70d4,..._0x35259a},'args':[_0x597520],'tdx':_0x4126ee});gracefulExit(_0x1a209a);}),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2a5),{'hidden':!![]})['description'](a2_0x3a6c32(0x1ee))['option']('--name\x20<new_name>','New\x20segment\x20name')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x304))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x395),a2_0x3a6c32(0x441))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x36e),a2_0x3a6c32(0x495))[a2_0x3a6c32(0x3b3)]('--folder\x20<name>','Move\x20to\x20folder')[a2_0x3a6c32(0x3b3)]('--kind\x20<type>',a2_0x3a6c32(0x2ca))[a2_0x3a6c32(0x219)](async(_0x2f084b,_0x3aa67f)=>{const _0x431227=a2_0x3a6c32,_0x3c85ed=new SegmentUpdateCommand(),_0x474a75=program[_0x431227(0x34e)](),_0x2142ed=await createTDXInstance(_0x474a75),_0x2285ec=await _0x3c85ed[_0x431227(0x3c2)]({'options':{..._0x474a75,..._0x3aa67f},'args':[_0x2f084b],'tdx':_0x2142ed});gracefulExit(_0x2285ec);});const parentCmd=segmentCmd['command'](a2_0x3a6c32(0x4a1),{'hidden':!![]})['description'](a2_0x3a6c32(0x2ff)),parentListAction=async(_0x5c39ed,_0x1abe16)=>{const _0x3a21b3=a2_0x3a6c32,_0x4c9ed8=new ParentSegmentListCommand(),_0x41f242=program[_0x3a21b3(0x34e)](),_0x5b0892=await createTDXInstance(_0x41f242),_0x433d53=await _0x4c9ed8[_0x3a21b3(0x3c2)]({'options':{..._0x41f242,..._0x1abe16},'args':_0x5c39ed?[_0x5c39ed]:[],'tdx':_0x5b0892});gracefulExit(_0x433d53);};parentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2df))[a2_0x3a6c32(0x219)](parentListAction),segmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x207),{'hidden':!![]})['description'](a2_0x3a6c32(0x370))[a2_0x3a6c32(0x219)](parentListAction),parentCmd[a2_0x3a6c32(0x2f4)]('pull\x20[name]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x46b))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d3),a2_0x3a6c32(0x3b5))[a2_0x3a6c32(0x219)](async(_0x5620db,_0x283448)=>{const _0x3964dc=a2_0x3a6c32,_0x54a339=new ParentSegmentPullCommand(),_0x3db18d=program[_0x3964dc(0x34e)](),_0x2720b6=await createTDXInstance(_0x3db18d),_0x460642=await _0x54a339[_0x3964dc(0x3c2)]({'options':{..._0x3db18d,..._0x283448},'args':_0x5620db?[_0x5620db]:[],'tdx':_0x2720b6});gracefulExit(_0x460642);}),parentCmd['command'](a2_0x3a6c32(0x39f))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1da))[a2_0x3a6c32(0x219)](async(_0x35c64d,_0x25cec5)=>{const _0x30b8f5=a2_0x3a6c32,_0x307eb8=new ParentSegmentPushCommand(),_0x492fec=program[_0x30b8f5(0x34e)](),_0xdd71ba=await createTDXInstance(_0x492fec),_0x76380c=await _0x307eb8[_0x30b8f5(0x3c2)]({'options':{..._0x492fec,..._0x25cec5},'args':_0x35c64d?[_0x35c64d]:[],'tdx':_0xdd71ba});gracefulExit(_0x76380c);}),parentCmd[a2_0x3a6c32(0x2f4)]('validate\x20[file]')[a2_0x3a6c32(0x2f0)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3b2),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x3a6c32(0x299),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x3a6c32(0x47e),a2_0x3a6c32(0x306))['option']('--enriched',a2_0x3a6c32(0x31a))[a2_0x3a6c32(0x3b3)]('--interval\x20<range>',a2_0x3a6c32(0x242),a2_0x3a6c32(0x2c1))[a2_0x3a6c32(0x219)](async(_0x2fa694,_0x4673cd)=>{const _0x416286=new ParentSegmentValidateCommand(),_0xbe634f=program['opts'](),_0x2bc550=await createTDXInstance(_0xbe634f),_0x1a4fe0=await _0x416286['run']({'options':{..._0xbe634f,..._0x4673cd},'args':_0x2fa694?[_0x2fa694]:[],'tdx':_0x2bc550});gracefulExit(_0x1a4fe0);}),parentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x229))[a2_0x3a6c32(0x2f0)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3b2),a2_0x3a6c32(0x20d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x299),a2_0x3a6c32(0x368))[a2_0x3a6c32(0x3b3)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')['option']('--enriched','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x345),a2_0x3a6c32(0x242),'-1d')[a2_0x3a6c32(0x219)](async(_0xbe0da,_0x23be31)=>{const _0x615e30=a2_0x3a6c32,_0x12e9b7=new ParentSegmentPreviewCommand(),_0x352b0b=program[_0x615e30(0x34e)](),_0x2d4b65=await createTDXInstance(_0x352b0b),_0x4bc15f=await _0x12e9b7['run']({'options':{..._0x352b0b,..._0x23be31},'args':_0xbe0da?[_0xbe0da]:[],'tdx':_0x2d4b65});gracefulExit(_0x4bc15f);}),parentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x466))[a2_0x3a6c32(0x2f0)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3a6c32(0x219)](async(_0x412313,_0x479b52)=>{const _0x9d1e3f=a2_0x3a6c32,_0x4192dd=new ParentSegmentRunCommand(),_0x4d8085=program[_0x9d1e3f(0x34e)](),_0x2025af=await createTDXInstance(_0x4d8085),_0x332c65=await _0x4192dd[_0x9d1e3f(0x3c2)]({'options':{..._0x4d8085,..._0x479b52},'args':_0x412313?[_0x412313]:[],'tdx':_0x2025af});gracefulExit(_0x332c65);});const parentSegmentCmd=program[a2_0x3a6c32(0x2f4)]('parent-segment')[a2_0x3a6c32(0x20b)]('ps')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x42c));parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2df))[a2_0x3a6c32(0x219)](parentListAction),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x221))[a2_0x3a6c32(0x2f0)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-o,\x20--output\x20<file>','Output\x20file\x20path')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x45f),a2_0x3a6c32(0x2fe))[a2_0x3a6c32(0x219)](async(_0x327d36,_0x2b8840)=>{const _0x138354=a2_0x3a6c32,_0x41e0a0=new ParentSegmentPullCommand(),_0x597067=program['opts'](),_0xfd566b=await createTDXInstance(_0x597067),_0x543f97=await _0x41e0a0[_0x138354(0x3c2)]({'options':{..._0x597067,..._0x2b8840},'args':_0x327d36?[_0x327d36]:[],'tdx':_0xfd566b});gracefulExit(_0x543f97);}),parentSegmentCmd['command'](a2_0x3a6c32(0x33e))['description'](a2_0x3a6c32(0x3f6))[a2_0x3a6c32(0x219)](async(_0xb2ec61,_0x30a182)=>{const _0x121697=a2_0x3a6c32,_0xb7b851=new ParentSegmentPushCommand(),_0x5dc5d7=program[_0x121697(0x34e)](),_0x48fdcc=await createTDXInstance(_0x5dc5d7),_0x2e4142=await _0xb7b851[_0x121697(0x3c2)]({'options':{..._0x5dc5d7,..._0x30a182},'args':_0xb2ec61?[_0xb2ec61]:[],'tdx':_0x48fdcc});gracefulExit(_0x2e4142);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x373))[a2_0x3a6c32(0x2f0)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option']('--master',a2_0x3a6c32(0x352))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x299),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x3a6c32(0x47e),a2_0x3a6c32(0x306))['option'](a2_0x3a6c32(0x31e),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x3a6c32(0x3b3)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3a6c32(0x2c1))[a2_0x3a6c32(0x219)](async(_0xb3c8d0,_0x10b81c)=>{const _0x580e1e=a2_0x3a6c32,_0x22a8bc=new ParentSegmentValidateCommand(),_0x430e5c=program[_0x580e1e(0x34e)](),_0x413106=await createTDXInstance(_0x430e5c),_0x5e8af8=await _0x22a8bc[_0x580e1e(0x3c2)]({'options':{..._0x430e5c,..._0x10b81c},'args':_0xb3c8d0?[_0xb3c8d0]:[],'tdx':_0x413106});gracefulExit(_0x5e8af8);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3d2))['description'](a2_0x3a6c32(0x2f6))['option'](a2_0x3a6c32(0x3b2),a2_0x3a6c32(0x20d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x299),a2_0x3a6c32(0x368))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x47e),a2_0x3a6c32(0x2c0))['option'](a2_0x3a6c32(0x31e),a2_0x3a6c32(0x3aa))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x345),a2_0x3a6c32(0x242),a2_0x3a6c32(0x2c1))[a2_0x3a6c32(0x219)](async(_0xed2b6d,_0x1c526a)=>{const _0x185334=a2_0x3a6c32,_0x39afbe=new ParentSegmentPreviewCommand(),_0x5b05f1=program[_0x185334(0x34e)](),_0x3f5661=await createTDXInstance(_0x5b05f1),_0x4b317e=await _0x39afbe[_0x185334(0x3c2)]({'options':{..._0x5b05f1,..._0x1c526a},'args':_0xed2b6d?[_0xed2b6d]:[],'tdx':_0x3f5661});gracefulExit(_0x4b317e);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x466))['description'](a2_0x3a6c32(0x227))['action'](async(_0x3b54b0,_0x23292e)=>{const _0xebca80=a2_0x3a6c32,_0x1783a3=new ParentSegmentRunCommand(),_0x41b127=program[_0xebca80(0x34e)](),_0x2d639d=await createTDXInstance(_0x41b127),_0x5ae52b=await _0x1783a3[_0xebca80(0x3c2)]({'options':{..._0x41b127,..._0x23292e},'args':_0x3b54b0?[_0x3b54b0]:[],'tdx':_0x2d639d});gracefulExit(_0x5ae52b);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x48d))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x450))['option'](a2_0x3a6c32(0x37f),a2_0x3a6c32(0x39c))[a2_0x3a6c32(0x3b3)]('--jsonl',a2_0x3a6c32(0x208))['action'](async(_0x4c8547,_0x37a3b5)=>{const _0x3984bc=a2_0x3a6c32,_0x106aac=new ParentSegmentFieldsCommand(),_0x10d4d4=program[_0x3984bc(0x34e)](),_0x417c3c=await createTDXInstance(_0x10d4d4),_0x22ce47=await _0x106aac[_0x3984bc(0x3c2)]({'options':{..._0x10d4d4,..._0x37a3b5},'args':_0x4c8547?[_0x4c8547]:[],'tdx':_0x417c3c});gracefulExit(_0x22ce47);}),parentSegmentCmd['command'](a2_0x3a6c32(0x224))[a2_0x3a6c32(0x2f0)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-w,\x20--web',a2_0x3a6c32(0x21e))['option'](a2_0x3a6c32(0x37f),a2_0x3a6c32(0x39c))['option'](a2_0x3a6c32(0x2a8),'Output\x20as\x20JSON\x20Lines')[a2_0x3a6c32(0x219)](async(_0x1b52d1,_0x4a438c)=>{const _0x31bdc2=a2_0x3a6c32,_0x29ec55=new ParentSegmentViewCommand(),_0xcd92b8=program[_0x31bdc2(0x34e)](),_0x284328=await createTDXInstance(_0xcd92b8),_0x59755a=await _0x29ec55[_0x31bdc2(0x3c2)]({'options':{..._0xcd92b8,..._0x4a438c},'args':_0x1b52d1?[_0x1b52d1]:[],'tdx':_0x284328});gracefulExit(_0x59755a);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x252))['description'](a2_0x3a6c32(0x245))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d3),a2_0x3a6c32(0x3b1))['option'](a2_0x3a6c32(0x37f),a2_0x3a6c32(0x39c))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2a8),'Output\x20as\x20JSON\x20Lines')[a2_0x3a6c32(0x219)](async(_0x14f05d,_0x5b7d5c)=>{const _0x276e90=a2_0x3a6c32,_0x2c6546=new ParentSegmentDescCommand(),_0x380d90=program[_0x276e90(0x34e)](),_0x49541c=await createTDXInstance(_0x380d90),_0x2e9575=await _0x2c6546[_0x276e90(0x3c2)]({'options':{..._0x380d90,..._0x5b7d5c},'args':_0x14f05d?[_0x14f05d]:[],'tdx':_0x49541c});gracefulExit(_0x2e9575);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2bb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x230))[a2_0x3a6c32(0x3b3)]('--json','Output\x20as\x20JSON')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2a8),a2_0x3a6c32(0x208))[a2_0x3a6c32(0x219)](async(_0x11020d,_0x43a334)=>{const _0x4d4c22=new ParentSegmentSQLCommand(),_0x4b713f=program['opts'](),_0x3f7cba=await createTDXInstance(_0x4b713f),_0x5f0608=await _0x4d4c22['run']({'options':{..._0x4b713f,..._0x43a334},'args':_0x11020d?[_0x11020d]:[],'tdx':_0x3f7cba});gracefulExit(_0x5f0608);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x41e))['description'](a2_0x3a6c32(0x271))['option'](a2_0x3a6c32(0x36d),a2_0x3a6c32(0x2af))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x37f),'Output\x20as\x20JSON')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2a8),a2_0x3a6c32(0x208))[a2_0x3a6c32(0x219)](async(_0x3238fe,_0x5a4009)=>{const _0x4dec64=a2_0x3a6c32,_0x5dbb43=new ParentSegmentShowCommand(),_0x2af75e=program[_0x4dec64(0x34e)](),_0x30b622=await createTDXInstance(_0x2af75e),_0x5f270e=await _0x5dbb43[_0x4dec64(0x3c2)]({'options':{..._0x2af75e,..._0x5a4009},'args':_0x3238fe?[_0x3238fe]:[],'tdx':_0x30b622});gracefulExit(_0x5f270e);}),parentSegmentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2d7))[a2_0x3a6c32(0x2f0)]('Set\x20or\x20show\x20parent\x20segment\x20context')[a2_0x3a6c32(0x219)](async(_0x27ffb1,_0x576350)=>{const _0x5e2352=a2_0x3a6c32,_0x3d4d16=new UseCommand(),_0x57e2d2=program['opts'](),_0x486d13=_0x27ffb1?[_0x5e2352(0x1cb),_0x27ffb1]:[],_0x27dcf2=await _0x3d4d16[_0x5e2352(0x3c2)]({'options':{..._0x57e2d2,..._0x576350},'args':_0x486d13,'tdx':null});gracefulExit(_0x27dcf2);});const psRtCmd=parentSegmentCmd['command']('rt')['description'](a2_0x3a6c32(0x220));psRtCmd['command']('list\x20[pattern]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x371))[a2_0x3a6c32(0x219)](async(_0x48b842,_0x220ea6)=>{const _0x495eb1=a2_0x3a6c32,_0x6240a5=new PSRtListCommand(),_0x540192=program[_0x495eb1(0x34e)](),_0x557093=await createTDXInstance(_0x540192),_0x8d94e0=await _0x6240a5[_0x495eb1(0x3c2)]({'options':{..._0x540192,..._0x220ea6},'args':_0x48b842?[_0x48b842]:[],'tdx':_0x557093});gracefulExit(_0x8d94e0);}),psRtCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x373))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3e8))['action'](async(_0x4255f8,_0x4adb0f)=>{const _0x2a7a92=a2_0x3a6c32,_0x3f17a2=new PSRtValidateCommand(),_0xf48ebe=program[_0x2a7a92(0x34e)](),_0xcd2d6b=await createTDXInstance(_0xf48ebe),_0x228efe=await _0x3f17a2['run']({'options':{..._0xf48ebe,..._0x4adb0f},'args':_0x4255f8?[_0x4255f8]:[],'tdx':_0xcd2d6b});gracefulExit(_0x228efe);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x3a6c32(0x2f0)]('RT\x202.0\x20configuration\x20management');parentRtCmd['command']('list\x20[pattern]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x371))[a2_0x3a6c32(0x219)](async(_0x4d4433,_0x59a3f0)=>{const _0xa62f40=a2_0x3a6c32,_0x211bce=new PSRtListCommand(),_0x56f3a5=program[_0xa62f40(0x34e)](),_0x1ee58f=await createTDXInstance(_0x56f3a5),_0x171d7a=await _0x211bce[_0xa62f40(0x3c2)]({'options':{..._0x56f3a5,..._0x59a3f0},'args':_0x4d4433?[_0x4d4433]:[],'tdx':_0x1ee58f});gracefulExit(_0x171d7a);}),parentRtCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x373))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3e8))[a2_0x3a6c32(0x219)](async(_0x548931,_0x28c6b7)=>{const _0x4caef2=a2_0x3a6c32,_0x242b46=new PSRtValidateCommand(),_0x49aac1=program[_0x4caef2(0x34e)](),_0x35eba7=await createTDXInstance(_0x49aac1),_0x2d811d=await _0x242b46[_0x4caef2(0x3c2)]({'options':{..._0x49aac1,..._0x28c6b7},'args':_0x548931?[_0x548931]:[],'tdx':_0x35eba7});gracefulExit(_0x2d811d);});const psPzCmd=parentSegmentCmd['command']('pz')['description'](a2_0x3a6c32(0x2a7));psPzCmd['command'](a2_0x3a6c32(0x216))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3bf))['action'](async(_0x1adc31,_0x520583)=>{const _0x2747af=a2_0x3a6c32,_0x2b580e=new PSPzListCommand(),_0xafd1eb=program[_0x2747af(0x34e)](),_0xf0e9cb=await createTDXInstance(_0xafd1eb),_0x28498d=await _0x2b580e[_0x2747af(0x3c2)]({'options':{..._0xafd1eb,..._0x520583},'args':_0x1adc31?[_0x1adc31]:[],'tdx':_0xf0e9cb});gracefulExit(_0x28498d);}),psPzCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x36b))['description'](a2_0x3a6c32(0x20c))['action'](async(_0x31132f,_0x270051)=>{const _0x4122b7=a2_0x3a6c32,_0x1b183b=new PSPzInitCommand(),_0x39b942=program['opts'](),_0x1b9eb2=await createTDXInstance(_0x39b942),_0x2f87d3=await _0x1b183b[_0x4122b7(0x3c2)]({'options':{..._0x39b942,..._0x270051},'args':_0x31132f?[_0x31132f]:[],'tdx':_0x1b9eb2});gracefulExit(_0x2f87d3);});const parentPzCmd=parentCmd[a2_0x3a6c32(0x2f4)]('pz',{'hidden':!![]})['description'](a2_0x3a6c32(0x2a7));parentPzCmd['command'](a2_0x3a6c32(0x216))[a2_0x3a6c32(0x2f0)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3a6c32(0x219)](async(_0x6f9b6d,_0x793023)=>{const _0x5ed725=a2_0x3a6c32,_0x5d2d04=new PSPzListCommand(),_0x95e0c9=program[_0x5ed725(0x34e)](),_0x85cbc9=await createTDXInstance(_0x95e0c9),_0x55ef8a=await _0x5d2d04[_0x5ed725(0x3c2)]({'options':{..._0x95e0c9,..._0x793023},'args':_0x6f9b6d?[_0x6f9b6d]:[],'tdx':_0x85cbc9});gracefulExit(_0x55ef8a);}),parentPzCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x36b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x20c))['action'](async(_0x2c23ad,_0x5c0c28)=>{const _0x432e12=a2_0x3a6c32,_0x1bd571=new PSPzInitCommand(),_0x2442e4=program['opts'](),_0x2bb949=await createTDXInstance(_0x2442e4),_0x1db667=await _0x1bd571[_0x432e12(0x3c2)]({'options':{..._0x2442e4,..._0x5c0c28},'args':_0x2c23ad?[_0x2c23ad]:[],'tdx':_0x2bb949});gracefulExit(_0x1db667);}),parentCmd['command'](a2_0x3a6c32(0x338))[a2_0x3a6c32(0x2f0)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x253),a2_0x3a6c32(0x290))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3e9),a2_0x3a6c32(0x332))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x2e3))['option'](a2_0x3a6c32(0x320),a2_0x3a6c32(0x3e6))['option'](a2_0x3a6c32(0x45b),a2_0x3a6c32(0x1e3))[a2_0x3a6c32(0x3b3)]('--timezone\x20<tz>',a2_0x3a6c32(0x209))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2f3),a2_0x3a6c32(0x2cd))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2f5),'Attributes\x20from\x20JSON\x20file')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x32c),a2_0x3a6c32(0x2ae))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d8),'Behaviors\x20from\x20JSON\x20file')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x44c),a2_0x3a6c32(0x347))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3e5),a2_0x3a6c32(0x358))['action'](async(_0x569e00,_0x548f68)=>{const _0x490973=a2_0x3a6c32,_0x155076=new ParentSegmentCreateCommand(),_0x2924b4=program['opts'](),_0x4d330b=await createTDXInstance(_0x2924b4),_0x383959=await _0x155076[_0x490973(0x3c2)]({'options':{..._0x2924b4,..._0x548f68},'args':[_0x569e00],'tdx':_0x4d330b});gracefulExit(_0x383959);}),parentCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x333))['description']('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x304))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x320),a2_0x3a6c32(0x390))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x45b),a2_0x3a6c32(0x3bd))[a2_0x3a6c32(0x3b3)]('--timezone\x20<tz>','Updated\x20timezone')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e4),a2_0x3a6c32(0x3b6))['option'](a2_0x3a6c32(0x23c),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c8),a2_0x3a6c32(0x449))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3db),a2_0x3a6c32(0x29b))['action'](async(_0x3e1c3e,_0x5a9f77)=>{const _0x206e41=a2_0x3a6c32,_0x397a56=new ParentSegmentUpdateCommand(),_0x4031fd=program[_0x206e41(0x34e)](),_0x51b18c=await createTDXInstance(_0x4031fd),_0x7e63aa=await _0x397a56[_0x206e41(0x3c2)]({'options':{..._0x4031fd,..._0x5a9f77},'args':[_0x3e1c3e],'tdx':_0x51b18c});gracefulExit(_0x7e63aa);}),folderCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2a2))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x31c))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x1ea))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2ed),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x3a6c32(0x219)](async(_0x442b44,_0x420839,_0x18cf3c)=>{const _0x2acd19=a2_0x3a6c32,_0x3f34e6=new SegmentFolderCreateCommand(),_0x574788=program[_0x2acd19(0x34e)](),_0x216bb5=await createTDXInstance(_0x574788),_0x3ebc82=await _0x3f34e6['run']({'options':{..._0x574788,..._0x18cf3c},'args':[_0x442b44,_0x420839],'tdx':_0x216bb5});gracefulExit(_0x3ebc82);}),program[a2_0x3a6c32(0x2f4)]('activations\x20<segment_name>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2d1))[a2_0x3a6c32(0x219)](async(_0x4ec3fb,_0x27efeb)=>{const _0x56c6af=a2_0x3a6c32,_0x238384=new ActivationsCommand(),_0x143cfb=program[_0x56c6af(0x34e)](),_0x26240e=await createTDXInstance(_0x143cfb),_0x5e95c0=await _0x238384['run']({'options':{..._0x143cfb,..._0x27efeb},'args':[_0x4ec3fb],'tdx':_0x26240e});gracefulExit(_0x5e95c0);});const workflowCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x424))[a2_0x3a6c32(0x20b)]('wf')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x49a)),wfProjectCmd=workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3be))[a2_0x3a6c32(0x2f0)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x4ae449,_0x13f77f)=>{const _0xd03ddc=a2_0x3a6c32,_0x1bd505=new WorkflowProjectsCommand(),_0x49739d=program[_0xd03ddc(0x34e)](),_0x395c10=await createTDXInstance(_0x49739d),_0x556ac2=await _0x1bd505[_0xd03ddc(0x3c2)]({'options':{..._0x49739d,..._0x13f77f},'args':_0x4ae449?[_0x4ae449]:[],'tdx':_0x395c10});gracefulExit(_0x556ac2);};wfProjectCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3a6c32(0x219)](wfProjectListAction),workflowCmd[a2_0x3a6c32(0x2f4)]('projects\x20[pattern]')['description'](a2_0x3a6c32(0x2ce))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x18df9a,_0x236649)=>{const _0x2677b0=a2_0x3a6c32,_0xbc7def=new WorkflowWorkflowsCommand(),_0xcc0d45=program[_0x2677b0(0x34e)](),_0x52f93b=await createTDXInstance(_0xcc0d45),_0x10b5cd=await _0xbc7def[_0x2677b0(0x3c2)]({'options':{..._0xcc0d45,..._0x236649},'args':_0x18df9a?[_0x18df9a]:[],'tdx':_0x52f93b});gracefulExit(_0x10b5cd);};workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x376))['description'](a2_0x3a6c32(0x342))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x3a6c32(0x30a))[a2_0x3a6c32(0x2f0)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x117379,_0x512b56)=>{const _0x5743eb=new WorkflowSessionsCommand(),_0x2ff1b7=program['opts'](),_0x2faca9=await createTDXInstance(_0x2ff1b7),_0x2352a8=await _0x5743eb['run']({'options':{..._0x2ff1b7,..._0x512b56},'args':_0x117379?[_0x117379]:[],'tdx':_0x2faca9});gracefulExit(_0x2352a8);};wfSessionCmd['command'](a2_0x3a6c32(0x22b))['description'](a2_0x3a6c32(0x2ab))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cd),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x365),a2_0x3a6c32(0x41f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x243),a2_0x3a6c32(0x3d5))[a2_0x3a6c32(0x219)](wfSessionListAction),workflowCmd['command'](a2_0x3a6c32(0x20e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x40f))[a2_0x3a6c32(0x3b3)]('--status\x20<status>',a2_0x3a6c32(0x2c5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x365),a2_0x3a6c32(0x41f))[a2_0x3a6c32(0x3b3)]('--to\x20<timestamp>',a2_0x3a6c32(0x3d5))[a2_0x3a6c32(0x219)](wfSessionListAction);const wfAttemptListAction=async(_0x58d96f,_0x3f6a53)=>{const _0x2231ed=a2_0x3a6c32,_0x1f2a93=new WorkflowAttemptsCommand(),_0x2eba2d=program[_0x2231ed(0x34e)](),_0x52b7a8=await createTDXInstance(_0x2eba2d),_0x507ba6=await _0x1f2a93['run']({'options':{..._0x2eba2d,..._0x3f6a53},'args':_0x58d96f?[_0x58d96f]:[],'tdx':_0x52b7a8});gracefulExit(_0x507ba6);},attemptCmd=workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x238))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x23e))[a2_0x3a6c32(0x463)](a2_0x3a6c32(0x262),a2_0x3a6c32(0x45c))['argument'](a2_0x3a6c32(0x436),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x3a6c32(0x463)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2d0),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x44e),a2_0x3a6c32(0x241))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e5),a2_0x3a6c32(0x1d3))[a2_0x3a6c32(0x3b3)]('--params\x20<json>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3f5),a2_0x3a6c32(0x2c3))[a2_0x3a6c32(0x3b3)]('--include-retried','Include\x20retried\x20attempts\x20(for\x20list)')['action'](async(_0x18aef5,_0x3df965,_0x453361,_0x842153)=>{const _0x102dc5=a2_0x3a6c32;if(_0x18aef5===_0x102dc5(0x470)){await wfAttemptListAction(_0x3df965,_0x842153);return;}if(!_0x18aef5){attemptCmd[_0x102dc5(0x205)]();return;}const _0x48023b=program[_0x102dc5(0x34e)](),_0x386ae4=await createTDXInstance(_0x48023b);let _0x5f059a=0x0;if(!_0x3df965){const _0x121a48=new WorkflowAttemptCommand();_0x5f059a=await _0x121a48['run']({'options':{..._0x48023b,..._0x842153},'args':[_0x18aef5],'tdx':_0x386ae4});}else{if(_0x3df965===_0x102dc5(0x439)){const _0x5dc26f=new WorkflowLogsCommand();_0x5f059a=await _0x5dc26f[_0x102dc5(0x3c2)]({'options':{..._0x48023b,..._0x842153},'args':_0x453361?[_0x18aef5,_0x453361]:[_0x18aef5],'tdx':_0x386ae4});}else{if(_0x3df965==='tasks'){const _0xe84627=new WorkflowTasksCommand();_0x5f059a=await _0xe84627[_0x102dc5(0x3c2)]({'options':{..._0x48023b,..._0x842153},'args':[_0x18aef5],'tdx':_0x386ae4});}else{if(_0x3df965===_0x102dc5(0x32f)){const _0x4d7d10=new WorkflowKillCommand();_0x5f059a=await _0x4d7d10[_0x102dc5(0x3c2)]({'options':{..._0x48023b,..._0x842153},'args':[_0x18aef5],'tdx':_0x386ae4});}else{if(_0x3df965==='retry'){const _0x49d66b=new WorkflowRetryCommand();_0x5f059a=await _0x49d66b['run']({'options':{..._0x48023b,..._0x842153},'args':['attempt:'+_0x18aef5],'tdx':_0x386ae4});}else console[_0x102dc5(0x24c)](_0x102dc5(0x389)+_0x3df965),console[_0x102dc5(0x24c)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x5f059a=0x1;}}}}gracefulExit(_0x5f059a);});attemptCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x22b))['description'](a2_0x3a6c32(0x24b))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x26c),a2_0x3a6c32(0x2f7))[a2_0x3a6c32(0x219)](wfAttemptListAction),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x464))['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x26c),'Include\x20retried\x20attempts')[a2_0x3a6c32(0x219)](wfAttemptListAction),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ac))[a2_0x3a6c32(0x2f0)]('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')['option'](a2_0x3a6c32(0x491),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x237),a2_0x3a6c32(0x3a6))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x355),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x3a6c32(0x219)](async(_0x464dcd,_0x121211)=>{const _0x2aaa35=a2_0x3a6c32,_0x333782=new WorkflowTimelineCommand(),_0x28a37c=program[_0x2aaa35(0x34e)](),_0x317b24=await createTDXInstance(_0x28a37c),_0x4cdf1c=await _0x333782[_0x2aaa35(0x3c2)]({'options':{..._0x28a37c,..._0x121211},'args':_0x464dcd?[_0x464dcd]:[],'tdx':_0x317b24});gracefulExit(_0x4cdf1c);}),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ee))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x364))[a2_0x3a6c32(0x3b3)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')['option'](a2_0x3a6c32(0x34f),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')['action'](async(_0xb03a5d,_0x5d3ebd)=>{const _0x138512=a2_0x3a6c32,_0xdc5acc=new WorkflowRetryCommand(),_0x4af392=program[_0x138512(0x34e)](),_0x72fada=await createTDXInstance(_0x4af392),_0x49db48=await _0xdc5acc['run']({'options':{..._0x4af392,..._0x5d3ebd},'args':[_0xb03a5d],'tdx':_0x72fada});gracefulExit(_0x49db48);}),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3f4))['description'](a2_0x3a6c32(0x408))['option'](a2_0x3a6c32(0x2a3),a2_0x3a6c32(0x485),(_0x31044a,_0x5d8911=[])=>[..._0x5d8911,_0x31044a],[])[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x29f),a2_0x3a6c32(0x2b4))[a2_0x3a6c32(0x219)](async(_0x7f9211,_0x2004b1)=>{const _0x332f89=a2_0x3a6c32,_0x204c4d=new WorkflowRunCommand(),_0x49db0d=program[_0x332f89(0x34e)](),_0x1a8af8=await createTDXInstance(_0x49db0d),_0x2b104a=await _0x204c4d[_0x332f89(0x3c2)]({'options':{..._0x49db0d,..._0x2004b1},'args':_0x7f9211?[_0x7f9211]:[],'tdx':_0x1a8af8});gracefulExit(_0x2b104a);}),workflowCmd[a2_0x3a6c32(0x2f4)]('download\x20<project-name>\x20[output-dir]')['description'](a2_0x3a6c32(0x328))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c2),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a2_0x3a6c32(0x219)](async(_0x2ba33e,_0x3dea6b,_0x5dc91f)=>{const _0x35c7cb=a2_0x3a6c32,_0x400998=new WorkflowDownloadCommand(),_0x3a0468=program[_0x35c7cb(0x34e)](),_0x94a7e9=await createTDXInstance(_0x3a0468),_0xe0dacf=await _0x400998[_0x35c7cb(0x3c2)]({'options':{..._0x3a0468,..._0x5dc91f},'args':[_0x2ba33e,_0x3dea6b||'.'],'tdx':_0x94a7e9});gracefulExit(_0xe0dacf);}),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x388))[a2_0x3a6c32(0x2f0)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c2),a2_0x3a6c32(0x403))[a2_0x3a6c32(0x3b3)]('--dry-run','Preview\x20changes\x20without\x20writing\x20files')[a2_0x3a6c32(0x219)](async(_0x5dd463,_0x3b3c35,_0xeafc7a)=>{const _0xdf6ea8=a2_0x3a6c32,_0x567e94=new WorkflowPullCommand(),_0xd26f68=program[_0xdf6ea8(0x34e)](),_0x5bf815=await createTDXInstance(_0xd26f68),_0x464063=await _0x567e94[_0xdf6ea8(0x3c2)]({'options':{..._0xd26f68,..._0xeafc7a},'args':_0x3b3c35?[_0x5dd463,_0x3b3c35]:[_0x5dd463],'tdx':_0x5bf815});gracefulExit(_0x464063);}),workflowCmd['command']('push\x20[source-dir]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x33a))['option'](a2_0x3a6c32(0x2c2),a2_0x3a6c32(0x2f8))['option'](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x20f))['option'](a2_0x3a6c32(0x1d8),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3a6c32(0x219)](async(_0x28c134,_0x314353)=>{const _0x1e647c=a2_0x3a6c32,_0x2288c4=new WorkflowPushCommand(),_0x41140c=program['opts'](),_0x12d033=await createTDXInstance(_0x41140c),_0x2c76b4=await _0x2288c4[_0x1e647c(0x3c2)]({'options':{..._0x41140c,..._0x314353},'args':_0x28c134?[_0x28c134]:[],'tdx':_0x12d033});gracefulExit(_0x2c76b4);}),workflowCmd[a2_0x3a6c32(0x2f4)]('upload\x20[project-name-or-dir]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x350))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x36f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c2),a2_0x3a6c32(0x499))['option'](a2_0x3a6c32(0x1d8),a2_0x3a6c32(0x457))[a2_0x3a6c32(0x219)](async(_0x1e87aa,_0x19f3b7)=>{const _0x3fd291=a2_0x3a6c32,_0x456c70=new WorkflowUploadCommand(),_0x5128e9=program[_0x3fd291(0x34e)](),_0x4053ad=await createTDXInstance(_0x5128e9),_0x44c4fa=await _0x456c70['run']({'options':{..._0x5128e9,..._0x19f3b7},'args':_0x1e87aa?[_0x1e87aa]:[],'tdx':_0x4053ad});gracefulExit(_0x44c4fa);}),workflowCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x218))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x37a))['option'](a2_0x3a6c32(0x2c6),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c2),a2_0x3a6c32(0x2f8))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),'Preview\x20without\x20creating\x20the\x20project')[a2_0x3a6c32(0x3b3)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3a6c32(0x219)](async(_0x396b35,_0x5077aa)=>{const _0x45117d=a2_0x3a6c32,_0x3a8333=new WorkflowCloneCommand(),_0xebac77=program[_0x45117d(0x34e)](),_0x1e5bb8=await createTDXInstance(_0xebac77),_0x3db329=await _0x3a8333['run']({'options':{..._0xebac77,..._0x5077aa},'args':_0x396b35?[_0x396b35]:[],'tdx':_0x1e5bb8});gracefulExit(_0x3db329);}),workflowCmd['command'](a2_0x3a6c32(0x213))[a2_0x3a6c32(0x2f0)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x3a6c32(0x219)](async(_0x497879,_0x2d2822)=>{const _0x76898=a2_0x3a6c32,_0x455f7e=new WorkflowDeleteCommand(),_0x45a0c7=program[_0x76898(0x34e)](),_0x282ea9=await createTDXInstance(_0x45a0c7),_0x3b5378=await _0x455f7e[_0x76898(0x3c2)]({'options':{..._0x45a0c7,..._0x2d2822},'args':[_0x497879],'tdx':_0x282ea9});gracefulExit(_0x3b5378);}),workflowCmd[a2_0x3a6c32(0x2f4)]('use\x20[project]')[a2_0x3a6c32(0x2f0)]('Set\x20default\x20workflow\x20project\x20for\x20this\x20session')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3de),'Clear\x20workflow\x20project\x20context')[a2_0x3a6c32(0x219)](async(_0x5bb3ab,_0x534e9f)=>{const _0x2a3fef=a2_0x3a6c32,_0x4c04e6=new WorkflowUseCommand(),_0x4ed875=program['opts'](),_0x57eaff=await createTDXInstance(_0x4ed875),_0x2f4e2c=await _0x4c04e6[_0x2a3fef(0x3c2)]({'options':{..._0x4ed875,..._0x534e9f},'args':_0x5bb3ab?[_0x5bb3ab]:[],'tdx':_0x57eaff});gracefulExit(_0x2f4e2c);});const wfSecretsCmd=workflowCmd['command']('secrets')['description'](a2_0x3a6c32(0x426));wfSecretsCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x22b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x46c))[a2_0x3a6c32(0x219)](async(_0x36f613,_0x20746c)=>{const _0x58bab2=a2_0x3a6c32,_0x54dbb4=new WorkflowSecretsListCommand(),_0x456777=program[_0x58bab2(0x34e)](),_0x49c050=await createTDXInstance(_0x456777),_0x552e16=await _0x54dbb4[_0x58bab2(0x3c2)]({'options':{..._0x456777,..._0x20746c},'args':_0x36f613?[_0x36f613]:[],'tdx':_0x49c050});gracefulExit(_0x552e16);}),wfSecretsCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x201))[a2_0x3a6c32(0x2f0)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x3a6c32(0x219)](async(_0x4f9b81,_0xcc6060)=>{const _0x340bdb=a2_0x3a6c32,_0x597138=new WorkflowSecretsSetCommand(),_0x3d4d68=program[_0x340bdb(0x34e)](),_0x27cad3=await createTDXInstance(_0x3d4d68),_0x19f90b=await _0x597138[_0x340bdb(0x3c2)]({'options':{..._0x3d4d68,..._0xcc6060},'args':_0x4f9b81,'tdx':_0x27cad3});gracefulExit(_0x19f90b);}),wfSecretsCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x232))['description'](a2_0x3a6c32(0x28c))[a2_0x3a6c32(0x219)](async(_0x39afa8,_0x359766)=>{const _0x3d1841=new WorkflowSecretsDeleteCommand(),_0x1d6413=program['opts'](),_0x31b36b=await createTDXInstance(_0x1d6413),_0x402532=await _0x3d1841['run']({'options':{..._0x1d6413,..._0x359766},'args':_0x39afa8,'tdx':_0x31b36b});gracefulExit(_0x402532);});const jobCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x275))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x40d)),jobListAction=async _0x3c2c63=>{const _0x4b27a1=a2_0x3a6c32,_0x40fc18=new JobListCommand(),_0x4c9f82=program[_0x4b27a1(0x34e)](),_0x2cf3ef=await createTDXInstance(_0x4c9f82),_0x474a02=await _0x40fc18['run']({'options':{..._0x4c9f82,..._0x3c2c63},'args':[],'tdx':_0x2cf3ef});gracefulExit(_0x474a02);};jobCmd[a2_0x3a6c32(0x2f4)]('list')['description'](a2_0x3a6c32(0x455))[a2_0x3a6c32(0x3b3)]('--status\x20<status>',a2_0x3a6c32(0x257))['action'](jobListAction),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x236),{'hidden':!![]})['description'](a2_0x3a6c32(0x256))['option'](a2_0x3a6c32(0x3cd),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x3a6c32(0x219)](jobListAction),jobCmd[a2_0x3a6c32(0x2f4)]('show\x20<job-id>')[a2_0x3a6c32(0x2f0)]('Show\x20job\x20details')['action'](async(_0x46443b,_0x4f1182)=>{const _0x5c1086=a2_0x3a6c32,_0x9e2fc2=new JobShowCommand(),_0xdc69b=program['opts'](),_0x1b5cc2=await createTDXInstance(_0xdc69b),_0x271d36=await _0x9e2fc2[_0x5c1086(0x3c2)]({'options':{..._0xdc69b,..._0x4f1182},'args':[_0x46443b],'tdx':_0x1b5cc2});gracefulExit(_0x271d36);}),jobCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x421))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x292))[a2_0x3a6c32(0x219)](async(_0x4957ac,_0x300c35)=>{const _0x21021e=a2_0x3a6c32,_0x1163f9=new JobKillCommand(),_0x346915=program['opts'](),_0x58f374=await createTDXInstance(_0x346915),_0x41efca=await _0x1163f9[_0x21021e(0x3c2)]({'options':{..._0x346915,..._0x300c35},'args':[_0x4957ac],'tdx':_0x58f374});gracefulExit(_0x41efca);}),jobCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x372))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x429))[a2_0x3a6c32(0x3b3)]('--job-type\x20<type>',a2_0x3a6c32(0x356),a2_0x3a6c32(0x452))['option'](a2_0x3a6c32(0x2b0),a2_0x3a6c32(0x476))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c0),a2_0x3a6c32(0x43c),'information_schema')['option']('--result\x20<target>',a2_0x3a6c32(0x314))['action'](async(_0x51c330,_0x4943ef)=>{const _0x5e442d=a2_0x3a6c32,_0x40fd05=new JobSubmitCommand(),_0x1b6620=program[_0x5e442d(0x34e)](),_0x1f93f6=await createTDXInstance(_0x1b6620),_0x473027=await _0x40fd05[_0x5e442d(0x3c2)]({'options':{..._0x1b6620,..._0x4943ef},'args':_0x51c330?[_0x51c330]:[],'tdx':_0x1f93f6});gracefulExit(_0x473027);}),jobCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x22c))[a2_0x3a6c32(0x2f0)]('Get\x20job\x20results')['action'](async(_0x2edcb6,_0x12933e)=>{const _0x29b665=a2_0x3a6c32,_0x3ce066=new JobResultCommand(),_0x320e2a=program[_0x29b665(0x34e)](),_0x4ae5ae=await createTDXInstance(_0x320e2a),_0x3d2b96=await _0x3ce066[_0x29b665(0x3c2)]({'options':{..._0x320e2a,..._0x12933e},'args':[_0x2edcb6],'tdx':_0x4ae5ae});gracefulExit(_0x3d2b96);});const scheduleCmd=jobCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x254))['description'](a2_0x3a6c32(0x3cc));scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))['description'](a2_0x3a6c32(0x37b))[a2_0x3a6c32(0x219)](async(_0x235539,_0x55340f)=>{const _0x34bc19=a2_0x3a6c32,_0x591334=new ScheduleListCommand(),_0x413da7=program[_0x34bc19(0x34e)](),_0x42f5ce=await createTDXInstance(_0x413da7),_0x415421=await _0x591334[_0x34bc19(0x3c2)]({'options':{..._0x413da7,..._0x55340f},'args':_0x235539?[_0x235539]:[],'tdx':_0x42f5ce});gracefulExit(_0x415421);}),scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x416))[a2_0x3a6c32(0x2f0)]('Show\x20schedule\x20details')[a2_0x3a6c32(0x219)](async(_0x39de56,_0x14010d)=>{const _0x9a066e=a2_0x3a6c32,_0x33ec42=new ScheduleShowCommand(),_0x2e095d=program[_0x9a066e(0x34e)](),_0x460fef=await createTDXInstance(_0x2e095d),_0x4ef7bc=await _0x33ec42['run']({'options':{..._0x2e095d,..._0x14010d},'args':[_0x39de56],'tdx':_0x460fef});gracefulExit(_0x4ef7bc);}),scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x338))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x4a0))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e8),'Database\x20name\x20(required)')['option'](a2_0x3a6c32(0x239),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['requiredOption']('-f,\x20--file\x20<path>',a2_0x3a6c32(0x476))[a2_0x3a6c32(0x3b3)]('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive',a2_0x3a6c32(0x452))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23d),a2_0x3a6c32(0x315))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x310),'Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x391),a2_0x3a6c32(0x38d))['option'](a2_0x3a6c32(0x437),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x3a6c32(0x3b3)]('--retry-limit\x20<0~32>',a2_0x3a6c32(0x477))['option']('--engine-version\x20<version>',a2_0x3a6c32(0x302))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1df),'Result\x20output\x20destination\x20URL')[a2_0x3a6c32(0x219)](async(_0x3b7573,_0x58cb16)=>{const _0x452c31=a2_0x3a6c32,_0x3f31f3=new ScheduleCreateCommand(),_0x526c05=program[_0x452c31(0x34e)](),_0x551e3e=await createTDXInstance(_0x526c05);_0x58cb16['in']&&(_0x58cb16['database']=_0x58cb16['in']);const _0x45b427=await _0x3f31f3[_0x452c31(0x3c2)]({'options':{..._0x526c05,..._0x58cb16},'args':[_0x3b7573],'tdx':_0x551e3e});gracefulExit(_0x45b427);}),scheduleCmd[a2_0x3a6c32(0x2f4)]('update\x20<name>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x26a))[a2_0x3a6c32(0x3b3)]('-d,\x20--database\x20<db>',a2_0x3a6c32(0x3b4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x239),a2_0x3a6c32(0x1f9))[a2_0x3a6c32(0x3b3)]('-f,\x20--file\x20<path>',a2_0x3a6c32(0x476))['option']('--type\x20<type>',a2_0x3a6c32(0x2b3))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x23d),a2_0x3a6c32(0x315))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x310),a2_0x3a6c32(0x26b))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x391),a2_0x3a6c32(0x38d))[a2_0x3a6c32(0x3b3)]('--priority\x20<-2~2>',a2_0x3a6c32(0x411))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x377),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x384),a2_0x3a6c32(0x302))['option'](a2_0x3a6c32(0x1df),a2_0x3a6c32(0x1fc))['action'](async(_0x3c51e7,_0x36fb17)=>{const _0x110486=a2_0x3a6c32,_0x33fd01=new ScheduleUpdateCommand(),_0x319253=program['opts'](),_0x5406bf=await createTDXInstance(_0x319253);_0x36fb17['in']&&(_0x36fb17[_0x110486(0x419)]=_0x36fb17['in']);const _0x31a59f=await _0x33fd01[_0x110486(0x3c2)]({'options':{..._0x319253,..._0x36fb17},'args':[_0x3c51e7],'tdx':_0x5406bf});gracefulExit(_0x31a59f);}),scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28d))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3c9))[a2_0x3a6c32(0x219)](async(_0x301179,_0x5f20b3)=>{const _0x2377be=a2_0x3a6c32,_0x2e10f2=new ScheduleDeleteCommand(),_0x1fef74=program[_0x2377be(0x34e)](),_0x2c939a=await createTDXInstance(_0x1fef74),_0x49c173=await _0x2e10f2[_0x2377be(0x3c2)]({'options':{..._0x1fef74,..._0x5f20b3},'args':[_0x301179],'tdx':_0x2c939a});gracefulExit(_0x49c173);}),scheduleCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42f))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3a2))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2db),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d0),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x3a6c32(0x219)](async(_0x1edee6,_0x3b32fe)=>{const _0x3fa5af=a2_0x3a6c32,_0x2e5cc4=new ScheduleRunCommand(),_0x511f5f=program[_0x3fa5af(0x34e)](),_0x22e84f=await createTDXInstance(_0x511f5f),_0x354bdc=await _0x2e5cc4['run']({'options':{..._0x511f5f,..._0x3b32fe},'args':[_0x1edee6],'tdx':_0x22e84f});gracefulExit(_0x354bdc);}),scheduleCmd['command']('history\x20<name>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x472))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x45d),a2_0x3a6c32(0x3e4))['option'](a2_0x3a6c32(0x203),a2_0x3a6c32(0x438))[a2_0x3a6c32(0x219)](async(_0x1417c2,_0x564d1f)=>{const _0x4fb1ac=a2_0x3a6c32,_0xe3fe40=new ScheduleHistoryCommand(),_0x27ae5b=program['opts'](),_0x130f6f=await createTDXInstance(_0x27ae5b),_0x1daf71=await _0xe3fe40[_0x4fb1ac(0x3c2)]({'options':{..._0x27ae5b,..._0x564d1f},'args':[_0x1417c2],'tdx':_0x130f6f});gracefulExit(_0x1daf71);});const llmCmd=program[a2_0x3a6c32(0x2f4)]('llm')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3f8));llmCmd['command'](a2_0x3a6c32(0x331))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x407))['action'](async(_0x1015ac,_0x1f4a7d)=>{const _0x46d1d9=a2_0x3a6c32,_0x7af92d=new LLMUseCommand(),_0x159245=program['opts'](),_0x1dd4e9=await createTDXInstance(_0x159245),_0x17aed5=await _0x7af92d[_0x46d1d9(0x3c2)]({'options':{..._0x159245,..._0x1f4a7d},'args':[_0x1015ac],'tdx':_0x1dd4e9});gracefulExit(_0x17aed5);}),llmCmd[a2_0x3a6c32(0x2f4)]('models')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2e0))[a2_0x3a6c32(0x219)](async _0xfb8dbe=>{const _0x555df6=a2_0x3a6c32,_0x3b7005=new LLMModelsCommand(),_0x2f079b=program['opts'](),_0x3e269e=await createTDXInstance(_0x2f079b),_0x2c7b79=await _0x3b7005[_0x555df6(0x3c2)]({'options':{..._0x2f079b,..._0xfb8dbe},'args':[],'tdx':_0x3e269e});gracefulExit(_0x2c7b79);});const projectCmd=llmCmd['command'](a2_0x3a6c32(0x3be))[a2_0x3a6c32(0x2f0)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x43e4bb,_0x1b614c)=>{const _0x12a443=a2_0x3a6c32,_0x217aa0=new LLMProjectsCommand(),_0x200ecb=program[_0x12a443(0x34e)](),_0x182630=await createTDXInstance(_0x200ecb),_0x45999c=await _0x217aa0[_0x12a443(0x3c2)]({'options':{..._0x200ecb,..._0x1b614c},'args':_0x43e4bb?[_0x43e4bb]:[],'tdx':_0x182630});gracefulExit(_0x45999c);};projectCmd['command'](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x41b))['action'](llmProjectListAction),llmCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3cb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x31b))[a2_0x3a6c32(0x219)](llmProjectListAction),projectCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x338))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x21a))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x414))[a2_0x3a6c32(0x219)](async(_0x7716d3,_0x244fa5)=>{const _0x2a519e=new LLMProjectCreateCommand(),_0x12060b=program['opts'](),_0x324756=await createTDXInstance(_0x12060b),_0x367c18=await _0x2a519e['run']({'options':{..._0x12060b,..._0x244fa5},'args':[_0x7716d3],'tdx':_0x324756});gracefulExit(_0x367c18);}),projectCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28d))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3e3))[a2_0x3a6c32(0x219)](async(_0x58b2b4,_0x3c04cc)=>{const _0xd135df=a2_0x3a6c32,_0x16e4ea=new LLMProjectDeleteCommand(),_0x27144d=program[_0xd135df(0x34e)](),_0x488d7c=await createTDXInstance(_0x27144d),_0xeb1f3b=await _0x16e4ea[_0xd135df(0x3c2)]({'options':{..._0x27144d,..._0x3c04cc},'args':[_0x58b2b4],'tdx':_0x488d7c});gracefulExit(_0xeb1f3b);}),projectCmd['command'](a2_0x3a6c32(0x41c))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x45a))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1d9),a2_0x3a6c32(0x2b7))[a2_0x3a6c32(0x3b3)]('--dry-run',a2_0x3a6c32(0x3c5))['action'](async(_0x5908c9,_0x7307d9)=>{const _0x4f16d2=a2_0x3a6c32,_0x20bddc=new LLMProjectBackupCommand(),_0x539a8a=program[_0x4f16d2(0x34e)](),_0x4e14bb=await createTDXInstance(_0x539a8a),_0x458000=await _0x20bddc[_0x4f16d2(0x3c2)]({'options':{..._0x539a8a,..._0x7307d9},'args':[_0x5908c9],'tdx':_0x4e14bb});gracefulExit(_0x458000);}),projectCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x22a))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x258))['option']('--name\x20<new-name>',a2_0x3a6c32(0x287))['option']('--dry-run',a2_0x3a6c32(0x1d6))[a2_0x3a6c32(0x219)](async(_0x1e6a71,_0x3d4169)=>{const _0x555483=a2_0x3a6c32,_0x5e055b=new LLMProjectRestoreCommand(),_0x1728d2=program[_0x555483(0x34e)](),_0x189b90=await createTDXInstance(_0x1728d2),_0x315c78=await _0x5e055b[_0x555483(0x3c2)]({'options':{..._0x1728d2,..._0x3d4169},'args':[_0x1e6a71],'tdx':_0x189b90});gracefulExit(_0x315c78);});const llmAgentListAction=async(_0x29ad91,_0x1f4395)=>{const _0x297d64=a2_0x3a6c32,_0x329865=new LLMAgentsCommand(),_0xb10f2d=program[_0x297d64(0x34e)](),_0x54b9e6=await createTDXInstance(_0xb10f2d),_0x65e7b=await _0x329865[_0x297d64(0x3c2)]({'options':{..._0xb10f2d,..._0x1f4395},'args':_0x29ad91?[_0x29ad91]:[],'tdx':_0x54b9e6});gracefulExit(_0x65e7b);};llmCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x379))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x228))[a2_0x3a6c32(0x219)](llmAgentListAction),program['command'](a2_0x3a6c32(0x379))['description'](a2_0x3a6c32(0x228))[a2_0x3a6c32(0x219)](llmAgentListAction),llmCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x405))[a2_0x3a6c32(0x2f0)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x34d),a2_0x3a6c32(0x1ff))[a2_0x3a6c32(0x219)](async(_0x5835ca,_0x2da4dd)=>{const _0x1e4a2f=a2_0x3a6c32,_0x4498e5=new LLMHistoryCommand(),_0x420428=program[_0x1e4a2f(0x34e)](),_0x4ab71f=await createTDXInstance(_0x420428),_0x402cf7=await _0x4498e5[_0x1e4a2f(0x3c2)]({'options':{..._0x420428,..._0x2da4dd},'args':_0x5835ca?[_0x5835ca]:[],'tdx':_0x4ab71f});gracefulExit(_0x402cf7);});isExperimentalAvailable()&&llmCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x312))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x461))[a2_0x3a6c32(0x219)](async(_0x38fe2d,_0x1f5e9b)=>{const _0x202ab0=a2_0x3a6c32,_0x2007c1=new LLMLogCommand(),_0x108935=program[_0x202ab0(0x34e)](),_0x331228=await createTDXInstance(_0x108935),_0x2d9163=await _0x2007c1['run']({'options':{..._0x108935,..._0x1f5e9b},'args':[_0x38fe2d],'tdx':_0x331228});gracefulExit(_0x2d9163);});program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x248))[a2_0x3a6c32(0x3f7)](a2_0x3a6c32(0x456))[a2_0x3a6c32(0x2f0)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')['option']('-c,\x20--continue',a2_0x3a6c32(0x261))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x321),'Resume\x20a\x20conversation\x20(shows\x20selector)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2a4),a2_0x3a6c32(0x35c))[a2_0x3a6c32(0x32d)]()[a2_0x3a6c32(0x27f)](!![])[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),a2_0x3a6c32(0x33d))['action'](async(_0x295826,_0x219e8b)=>{const _0x381920=a2_0x3a6c32,_0x38163f=program[_0x381920(0x34e)](),_0x5d88da=Array[_0x381920(0x231)](_0x295826)?_0x295826:[];if(_0x5d88da[0x0]===_0x381920(0x324)){const _0x573468=new ClaudeStatuslineCommand(),_0x3faf5f=await _0x573468['run']({'options':{..._0x38163f,..._0x219e8b},'args':_0x5d88da['slice'](0x1),'tdx':null});gracefulExit(_0x3faf5f);}if(_0x5d88da[0x0]==='usage'){const _0x1b801e=new ClaudeUsageCommand(),_0x3c5a7f=await _0x1b801e[_0x381920(0x3c2)]({'options':{..._0x38163f,..._0x219e8b},'args':_0x5d88da[_0x381920(0x383)](0x1),'tdx':null});gracefulExit(_0x3c5a7f);}const _0x4a08ff=new ClaudeCommand(),_0x5159b0=await createTDXInstance(_0x38163f),_0x220123=await _0x4a08ff[_0x381920(0x3c2)]({'options':{..._0x38163f,..._0x219e8b},'args':_0x5d88da,'tdx':_0x5159b0});gracefulExit(_0x220123);}),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x394))['description'](a2_0x3a6c32(0x369))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3de),a2_0x3a6c32(0x1cf))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e7),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x3a6c32(0x219)](async(_0x4f6f54,_0x2e98c4,_0x364583)=>{const _0x51a7f9=a2_0x3a6c32,_0x191408=new UseCommand(),_0x216607=program['opts'](),_0xff2f55=[];if(_0x4f6f54)_0xff2f55['push'](_0x4f6f54);if(_0x2e98c4)_0xff2f55[_0x51a7f9(0x3e1)](_0x2e98c4);const _0x536225=_0x4f6f54===_0x51a7f9(0x283),_0x567fe3=_0x536225?await createTDXInstance(_0x216607):null,_0xe7a9b3=await _0x191408[_0x51a7f9(0x3c2)]({'options':{..._0x216607,..._0x364583},'args':_0xff2f55,'tdx':_0x567fe3});gracefulExit(_0xe7a9b3);}),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x480))[a2_0x3a6c32(0x219)](async _0x181331=>{const _0x71d4a2=a2_0x3a6c32,_0x2b36e0=new StatusCommand(),_0x55b213=program['opts'](),_0x1f20d8=await createTDXInstance(_0x55b213),_0x2a4dd0=await _0x2b36e0[_0x71d4a2(0x3c2)]({'options':{..._0x55b213,..._0x181331},'args':[],'tdx':_0x1f20d8});gracefulExit(_0x2a4dd0);}),program['command'](a2_0x3a6c32(0x289))['description'](a2_0x3a6c32(0x223))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),'Check\x20for\x20updates\x20without\x20installing')['option'](a2_0x3a6c32(0x2e4),a2_0x3a6c32(0x35d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1f3),'Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)')[a2_0x3a6c32(0x219)](async(_0x2b3579,_0x27df09)=>{const _0x1ee85a=a2_0x3a6c32,_0x55969c=new UpgradeCommand(),_0xf18670=program[_0x1ee85a(0x34e)](),_0x17fbc0=await _0x55969c[_0x1ee85a(0x3c2)]({'options':{..._0xf18670,..._0x27df09},'args':_0x2b3579?[_0x2b3579]:[],'tdx':null});gracefulExit(_0x17fbc0);}),program[a2_0x3a6c32(0x2f4)]('unset\x20<resource>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x29c))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e7),a2_0x3a6c32(0x23f))['action'](async(_0x5ba77e,_0x4056b7)=>{const _0x42723b=a2_0x3a6c32,_0x17cfc3=new UnsetCommand(),_0x3af414=program[_0x42723b(0x34e)](),_0x31f616=await _0x17cfc3['run']({'options':{..._0x3af414,..._0x4056b7},'args':[_0x5ba77e],'tdx':null});gracefulExit(_0x31f616);}),program[a2_0x3a6c32(0x2f4)]('chats')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x435))['option']('--last','Show\x20the\x20most\x20recent\x20chat')[a2_0x3a6c32(0x219)](async _0x5c4e9c=>{const _0x5e4712=a2_0x3a6c32,_0x371cdf=new ChatsCommand(),_0x44f2d1=program[_0x5e4712(0x34e)](),_0x118ab6=await createTDXInstance(_0x44f2d1),_0x44c128=await _0x371cdf[_0x5e4712(0x3c2)]({'options':{..._0x44f2d1,..._0x5c4e9c},'args':[],'tdx':_0x118ab6});gracefulExit(_0x44c128);});const authCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x428))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3dc));async function runAuthStatusCommand(_0x381b75){const _0x4066cf=a2_0x3a6c32,_0xd9082f=new AuthStatusCommand(),_0x1ef58a=program[_0x4066cf(0x34e)](),_0x44272f=await createTDXInstance(_0x1ef58a),_0x4a76fe=await _0xd9082f[_0x4066cf(0x3c2)]({'options':{..._0x1ef58a,..._0x381b75},'args':[],'tdx':_0x44272f});gracefulExit(_0x4a76fe);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3c3))[a2_0x3a6c32(0x219)](runAuthStatusCommand),authCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x38a))['description'](a2_0x3a6c32(0x2cb))['addHelpText'](a2_0x3a6c32(0x2e7),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\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\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x3a6c32(0x219)](async _0x5bdb59=>{const _0x4b84f4=a2_0x3a6c32,_0x50df08=new AuthSetupCommand(),_0x2b56fe=program['opts'](),_0x524d7e=await createTDXInstance(_0x2b56fe),_0x56eaf4=await _0x50df08[_0x4b84f4(0x3c2)]({'options':{..._0x2b56fe,..._0x5bdb59},'args':[],'tdx':_0x524d7e});gracefulExit(_0x56eaf4);}),authCmd[a2_0x3a6c32(0x2f4)]('login')[a2_0x3a6c32(0x2f0)]('Login\x20via\x20OAuth\x20(dev\x20sites\x20only)')[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20OAuth\x20tokens\x20to\x20profile-specific\x20keychain)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20OAuth\x20login\x20for\x20default\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--site\x20ap01\x20\x20\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20for\x20Japan\x20site\x0a\x20\x20$\x20tdx\x20auth\x20login\x20--profile\x20dev\x20\x20\x20\x20\x20\x20#\x20OAuth\x20login\x20saved\x20to\x20\x27dev\x27\x20profile\x0a')['action'](async _0x2f329f=>{const _0x2844ce=a2_0x3a6c32,_0xa53953=new AuthLoginCommand(),_0x5e3bfd=program[_0x2844ce(0x34e)](),_0x36366d=await _0xa53953[_0x2844ce(0x3c2)]({'options':{..._0x5e3bfd,..._0x2f329f},'args':[],'tdx':null});gracefulExit(_0x36366d);}),authCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1dc))['description'](a2_0x3a6c32(0x467))[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),'\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')['action'](async _0x7e81b6=>{const _0x5b4160=a2_0x3a6c32,_0x33fc13=new AuthClearCommand(),_0x184ece=program[_0x5b4160(0x34e)](),_0x1691cc=await _0x33fc13[_0x5b4160(0x3c2)]({'options':{..._0x184ece,..._0x7e81b6},'args':[],'tdx':null});gracefulExit(_0x1691cc);});const userCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x240))[a2_0x3a6c32(0x2f0)]('User\x20management\x20commands'),userListAction=async _0x7b91c9=>{const _0x1dd5d9=a2_0x3a6c32,_0x293c65=new UserListCommand(),_0x5672b7=program[_0x1dd5d9(0x34e)](),_0x620aaa=await createTDXInstance(_0x5672b7),_0x184606=await _0x293c65['run']({'options':{..._0x5672b7,..._0x7b91c9},'args':[],'tdx':_0x620aaa});gracefulExit(_0x184606);};userCmd[a2_0x3a6c32(0x219)](async _0x3e7497=>{const _0x2d9d30=a2_0x3a6c32,_0x4e98c1=new UserCommand(),_0x4b9592=program[_0x2d9d30(0x34e)](),_0x36cbce=await createTDXInstance(_0x4b9592),_0x5bc62b=await _0x4e98c1[_0x2d9d30(0x3c2)]({'options':{..._0x4b9592,..._0x3e7497},'args':[],'tdx':_0x36cbce});gracefulExit(_0x5bc62b);}),userCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x470))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x35a))[a2_0x3a6c32(0x219)](userListAction),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2fa))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x303))['action'](userListAction),program[a2_0x3a6c32(0x2f4)]('profiles')[a2_0x3a6c32(0x2f0)]('List\x20all\x20available\x20profiles')['action'](async _0x5eb19a=>{const _0x123198=a2_0x3a6c32,_0x385b2a=new ProfilesCommand(),_0x4a751a=program[_0x123198(0x34e)](),_0x3ee2b4=await _0x385b2a['run']({'options':{..._0x4a751a,..._0x5eb19a},'args':[],'tdx':null});gracefulExit(_0x3ee2b4);});const profileCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x494))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x285));profileCmd['action'](()=>{const _0x3440c3=a2_0x3a6c32;profileCmd[_0x3440c3(0x1d4)]();});const profileListAction=async _0x548865=>{const _0x4b9d93=a2_0x3a6c32,_0x188036=new ProfilesCommand(),_0x5797b3=program['opts'](),_0xa5fdff=await _0x188036[_0x4b9d93(0x3c2)]({'options':{..._0x5797b3,..._0x548865},'args':[],'tdx':null});gracefulExit(_0xa5fdff);};profileCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x470))['description'](a2_0x3a6c32(0x1ed))[a2_0x3a6c32(0x219)](profileListAction),profileCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x483))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x4a2))[a2_0x3a6c32(0x20a)]('after',a2_0x3a6c32(0x1cd))['action'](async(_0x5e5257,_0x292713)=>{const _0x41e19e=a2_0x3a6c32,_0x52b20a=new ProfileCreateCommand(),_0x168178=program[_0x41e19e(0x34e)](),_0x1f37eb=await _0x52b20a[_0x41e19e(0x3c2)]({'options':{..._0x168178,..._0x292713},'args':_0x5e5257?[_0x5e5257]:[],'tdx':null});gracefulExit(_0x1f37eb);}),profileCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2c4))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x367))[a2_0x3a6c32(0x20a)]('after',a2_0x3a6c32(0x43d))[a2_0x3a6c32(0x219)](async(_0x3794b0,_0x4cdb50)=>{const _0x316a90=a2_0x3a6c32,_0xf2e31c=new ProfileRemoveCommand(),_0x25a17e=program[_0x316a90(0x34e)](),_0x23c526=await _0xf2e31c['run']({'options':{..._0x25a17e,..._0x4cdb50},'args':[_0x3794b0],'tdx':null});gracefulExit(_0x23c526);}),profileCmd['command'](a2_0x3a6c32(0x1fe))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2de))[a2_0x3a6c32(0x20a)](a2_0x3a6c32(0x2e7),'\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=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')[a2_0x3a6c32(0x219)](async(_0x5dc900,_0x22f1b7)=>{const _0x17cffa=a2_0x3a6c32,_0x3a0c17=new ProfileSetCommand(),_0x522957=program[_0x17cffa(0x34e)](),_0x579912=await _0x3a0c17[_0x17cffa(0x3c2)]({'options':{..._0x522957,..._0x22f1b7},'args':[_0x5dc900],'tdx':null});gracefulExit(_0x579912);}),profileCmd[a2_0x3a6c32(0x2f4)]('use\x20<name>')['description'](a2_0x3a6c32(0x2a6))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1e7),a2_0x3a6c32(0x3dd))['addHelpText'](a2_0x3a6c32(0x2e7),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a')[a2_0x3a6c32(0x219)](async(_0xf5d44,_0x179476)=>{const _0x434fa9=a2_0x3a6c32,_0x1ac7cc=new ProfileUseCommand(),_0x2ea238=program[_0x434fa9(0x34e)](),_0x39518d=await _0x1ac7cc[_0x434fa9(0x3c2)]({'options':{..._0x2ea238,..._0x179476},'args':[_0xf5d44],'tdx':null});gracefulExit(_0x39518d);});const engageCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2da))['description'](a2_0x3a6c32(0x490)),createEngageAction=_0x50d946=>{return async(_0x4cba1c,_0x561fe6)=>{const _0x52f6e7=new _0x50d946(),_0x1b314a=program['opts'](),_0x2e3b55=await createTDXInstance(_0x1b314a),_0x33db2f=await _0x52f6e7['run']({'options':{..._0x1b314a,..._0x561fe6},'args':[_0x4cba1c],'tdx':_0x2e3b55});gracefulExit(_0x33db2f);};},createEngageNoArgAction=_0x2e4683=>{return async _0x231b11=>{const _0x3f3987=a2_0x434e,_0x2de9e5=new _0x2e4683(),_0x5d74bb=program[_0x3f3987(0x34e)](),_0x282af2=await createTDXInstance(_0x5d74bb),_0x21a37f=await _0x2de9e5[_0x3f3987(0x3c2)]({'options':{..._0x5d74bb,..._0x231b11},'args':[],'tdx':_0x282af2});gracefulExit(_0x21a37f);};},createEngageListAction=_0x430d74=>{return async(_0x54e7a9,_0x7f9a4e)=>{const _0x41aa9f=a2_0x434e,_0x123b3e=new _0x430d74(),_0x209a06=program[_0x41aa9f(0x34e)](),_0x2cffef=await createTDXInstance(_0x209a06),_0x537989=await _0x123b3e[_0x41aa9f(0x3c2)]({'options':{..._0x209a06,..._0x7f9a4e},'args':_0x54e7a9?[_0x54e7a9]:[],'tdx':_0x2cffef});gracefulExit(_0x537989);};},campaignCmd=engageCmd['command'](a2_0x3a6c32(0x2e5))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x343));campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x272))['option'](a2_0x3a6c32(0x496),a2_0x3a6c32(0x2d4))[a2_0x3a6c32(0x3b3)]('--status\x20<status>',a2_0x3a6c32(0x2bd))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),'Workspace\x20name')[a2_0x3a6c32(0x219)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x282))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x335))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x496),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x3a6c32(0x3cd),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x3a6c32(0x2f4)]('show\x20<name-or-id>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3fa))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)]('--full',a2_0x3a6c32(0x1f0))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1eb))['description'](a2_0x3a6c32(0x3ed))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x47b))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x496),'Campaign\x20type\x20(email\x20or\x20push)')['option'](a2_0x3a6c32(0x3a7),'Workspace\x20name\x20(required)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x25b),'Campaign\x20description')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x40c),a2_0x3a6c32(0x25f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x32a),a2_0x3a6c32(0x341))[a2_0x3a6c32(0x3b3)]('--json-columns\x20<cols>',a2_0x3a6c32(0x3e0))['option']('--start-at\x20<datetime>',a2_0x3a6c32(0x33b))['option'](a2_0x3a6c32(0x310),a2_0x3a6c32(0x48e))[a2_0x3a6c32(0x219)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x247))['description'](a2_0x3a6c32(0x30f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),'New\x20campaign\x20name')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x25b),a2_0x3a6c32(0x362))['option'](a2_0x3a6c32(0x40c),a2_0x3a6c32(0x25f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x32a),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x49d),a2_0x3a6c32(0x3e0))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x492),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x3a6c32(0x310),a2_0x3a6c32(0x48e))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ca))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2e9))[a2_0x3a6c32(0x3b3)]('--workspace\x20<name>',a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x3a6c32(0x2f4)]('launch\x20<name-or-id>')['description'](a2_0x3a6c32(0x2d6))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x3a6c32(0x29a))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x327))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),'Workspace\x20name')[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x284))[a2_0x3a6c32(0x2f0)]('Resume\x20a\x20paused\x20campaign')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x21c))[a2_0x3a6c32(0x2f0)]('Duplicate\x20a\x20campaign')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x488))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1f6))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x2fd))[a2_0x3a6c32(0x3b3)]('--type\x20<type>',a2_0x3a6c32(0x2d4))['option']('--dry-run','Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x3a6c32(0x2f4)]('push\x20[target]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1e2))['option'](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)]('--dry-run','Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2ba))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x291))['option'](a2_0x3a6c32(0x2d5),a2_0x3a6c32(0x392))[a2_0x3a6c32(0x219)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x3a6c32(0x276))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3bb));alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)]('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x3a6c32(0x496),a2_0x3a6c32(0x2d4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cd),a2_0x3a6c32(0x49f))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x219)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x3a6c32(0x2f4)]('always-on-campaigns\x20[pattern]')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x386))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x496),a2_0x3a6c32(0x2d4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cd),'Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x219)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1fd))['description']('Show\x20always-on\x20campaign\x20details')[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x3b3)]('--full',a2_0x3a6c32(0x1f0))['action'](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command'](a2_0x3a6c32(0x1eb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x47c))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x47b))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x496),a2_0x3a6c32(0x1d1))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x25b),a2_0x3a6c32(0x362))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x40c),a2_0x3a6c32(0x39a))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d9),a2_0x3a6c32(0x25c))[a2_0x3a6c32(0x219)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd['command'](a2_0x3a6c32(0x247))['description'](a2_0x3a6c32(0x47f))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),'Workspace\x20name\x20(required)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x330))[a2_0x3a6c32(0x3b3)]('--description\x20<desc>',a2_0x3a6c32(0x362))[a2_0x3a6c32(0x3b3)]('--segment\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3d9),a2_0x3a6c32(0x25c))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd['command'](a2_0x3a6c32(0x3ca))['description'](a2_0x3a6c32(0x234))[a2_0x3a6c32(0x361)]('--workspace\x20<name>',a2_0x3a6c32(0x375))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2fc))[a2_0x3a6c32(0x2f0)]('Launch\x20an\x20always-on\x20campaign')[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)]('pause\x20<name-or-id>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x44a))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)]('resume\x20<name-or-id>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2e8))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),'Workspace\x20name\x20(required)')[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)]('finish\x20<name-or-id>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x278))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))['option'](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))['action'](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x3a6c32(0x2f4)]('duplicate\x20<name-or-id>')['description'](a2_0x3a6c32(0x406))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x37e))[a2_0x3a6c32(0x219)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));function a2_0x2396(){const _0x4bb1aa=['Show\x20what\x20would\x20be\x20written\x20without\x20writing','stderr','Query\x20type:\x20trino\x20or\x20hive','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Workspace\x20name','catch','Output\x20folder\x20(default:\x20{project_name}.llm)','delivery','tables\x20[pattern]','validate\x20[target]','sql\x20[name]','Delete\x20a\x20workspace','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','activations\x20<name-or-path>','--in\x20<database>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','-1d','--revision\x20<revision>','Force\x20retry\x20even\x20if\x20not\x20failed','remove\x20<name>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--name\x20<name>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--add-behaviors\x20<json>','Preview\x20operation\x20without\x20executing','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Setup\x20API\x20key\x20authentication\x20interactively','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Attributes\x20as\x20JSON\x20string','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','stats\x20<name-or-path>','--include-subtasks','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--verbose','Launch\x20a\x20campaign','use\x20[name]','settings\x20<type>','--html-file\x20<path>','engage','--time\x20<iso8601>','407KWqdxo','view\x20[segment_name]','Set\x20a\x20profile\x20configuration\x20value','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','List\x20available\x20LLM\x20models','pull\x20[project]\x20[agent-name]','--delete','Parent\x20segment\x20description','--next','campaign','Template\x20name','after','Resume\x20a\x20paused\x20always-on\x20campaign','Delete\x20a\x20campaign','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Folder\x20name\x20for\x20organization','--parent-folder\x20<name>','HTML\x20template\x20content','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','description','then','--new','--attributes\x20<json>','command','--attributes-file\x20<file>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Include\x20retried\x20attempts','Custom\x20revision\x20name\x20(default:\x20timestamp)','subcommandTerm','users','versions\x20<name-or-path>','launch\x20<name-or-id>','Pull\x20specific\x20campaign\x20by\x20name','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Enable\x20verbose\x20logging','stdout','Query\x20engine\x20version','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Updated\x20description','apiKey','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Maximum\x20recursion\x20depth\x20(default:\x2010)','List\x20all\x20versions\x20of\x20a\x20journey','session','--session\x20<id>','DEBUG','--debug','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Update\x20a\x20campaign','--timezone\x20<tz>','Delete\x20an\x20agent','log\x20<chat-id>','argv','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Cron\x20expression\x20for\x20scheduling','isTTY','Pull\x20templates\x20to\x20YAML\x20files','--no-color','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Create\x20segment\x20folder','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','--enriched','us01','--schedule-type\x20<type>','-r,\x20--resume','Show\x20segment\x20schema\x20(column\x20types)','--parent-segment\x20<name>','statusline','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','test\x20[path]','Pause\x20a\x20campaign','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','directory','--email-sender-id\x20<id>','--no-eval','--behaviors\x20<json>','allowUnknownOption','1693672KJegSF','kill','New\x20campaign\x20name','use\x20<project-name>','Master\x20table\x20name','update\x20<name>','tsv','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','join','info\x20[segment_name]','create\x20<name>','sql\x20[segment_name]','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','\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\x20[name]','60DRxLMT','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Email\x20sender\x20ID\x20for\x20delivery','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Campaign\x20management','repeat','--interval\x20<range>','agent','Customer\x20group\x20as\x20JSON\x20string','Update\x20a\x20workspace','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','trace','Describe\x20table\x20schema','GET','--last','opts','--params\x20<json>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Show\x20only\x20master\x20table\x20validation','--stream','summary','--attempt-id\x20<id>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Pull\x20specific\x20template\x20by\x20name','Customer\x20group\x20from\x20JSON\x20file','List\x20journeys\x20(alias\x20for\x20journey\x20list)','List\x20all\x20users\x20in\x20the\x20account','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','gitRevision','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Show\x20journey\x20table\x20column-to-step\x20mapping','requiredOption','Campaign\x20description','template','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--from\x20<timestamp>','INVALID_ARGUMENT','Remove\x20a\x20profile','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Data\x20connection\x20management\x20(for\x20activations/exports)','init\x20[name]','CDP\x20segment\x20management\x20commands','--limit\x20<n>','--rule-file\x20<file>','Override\x20project\x20name','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','submit\x20[query]','validate\x20[name]','--starter-message\x20<text>','Workspace\x20name\x20(required)','workflows\x20[project]','--retry-limit\x20<0~32>','find','agents\x20[pattern]','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','--max-depth\x20<depth>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Name\x20for\x20the\x20duplicated\x20campaign','--json','tdx\x20','-w,\x20--web','9anSwih','slice','--engine-version\x20<version>','map','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','commandDescription','pull\x20<project>\x20[target-dir]','Unknown\x20action:\x20','setup','--description\x20<text>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Delay\x20in\x20seconds\x20before\x20execution','entries','tdx','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--delay\x20<seconds>','Show\x20all\x20files\x20including\x20valid\x20ones','--no-count-population','use\x20[resource]\x20[value]','--rule\x20<json>','fields\x20[parent_name]','noColor','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','configureHelp','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','argumentTerm','Output\x20as\x20JSON','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','filter','push\x20[file]','forEach','Show\x20stats\x20for\x20specific\x20stage','Run\x20a\x20scheduled\x20query\x20immediately','--site\x20<site>','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','--limit\x20<number>','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','--workspace\x20<name>','connection','...','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--data\x20<data>','timeline\x20[project.workflow]','List\x20journeys\x20in\x20current\x20context','Agent\x20prompt/instructions','AI-native\x20CLI\x20for\x20Treasure\x20Data','--temperature\x20<n>','Output\x20file\x20path','--master','option','Database\x20name','Output\x20file\x20path\x20(default:\x20<name>.yml)','Add\x20attributes\x20as\x20JSON\x20string','isDirectory','log','subcommandDescription','flags','Always-on\x20campaign\x20management','view\x20<name-or-path>','Updated\x20schedule\x20option','project','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','--database\x20<name>','show\x20[segment_name]','run','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--to\x20<date>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','404612LHRDdX','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--dry-run','Delete\x20a\x20scheduled\x20query','delete\x20<name-or-id>','projects\x20[pattern]','Scheduled\x20query\x20management\x20commands','--status\x20<status>','segment','-y,\x20--yes','--num\x20<1-10>','delete\x20<agent-name>','preview\x20[name]','-o,\x20--output\x20<file>','Maximum\x20number\x20of\x20nodes','End\x20time\x20filter\x20(ISO\x208601\x20format)','traffic\x20<name-or-path>','length','--behaviors-file\x20<file>','--enable-utm-tracking','-H,\x20--header\x20<header>','--add-behaviors-file\x20<file>','Authentication\x20management','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','--clear','journey','JSON\x20columns\x20for\x20connector\x20(comma-separated)','push','name','Delete\x20an\x20LLM\x20project','Starting\x20offset\x20(default:\x200)','--customer-group-file\x20<file>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','push\x20[path]','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','--table\x20<table>','Run\x20specific\x20tests\x20(comma-separated)','includes','colorFn','Create\x20a\x20new\x20campaign','retry\x20<session-id>','workspaces\x20[pattern]','hidden','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','format','run\x20[workflow]','--force','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','usage','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','jsonl','Show\x20campaign\x20details','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','\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,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Pull\x20child\x20segments\x20to\x20YAML\x20files','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','TRACE','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--path\x20<file-path>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Pull\x20specific\x20revision\x20(default:\x20latest)','Generate\x20test\x20conversations\x20without\x20evaluation','history\x20[chat-id]','Duplicate\x20an\x20always-on\x20campaign','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','-o,\x20--output\x20<dir>','resume\x20<name-or-path>','use\x20<name>','--segment\x20<path>','Job\x20management\x20commands','Database\x20management\x20commands','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','-v,\x20--verbose','Job\x20priority\x20(-2\x20to\x202)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Show\x20email\x20template\x20details','Project\x20description','--model\x20<name>','show\x20<name>','--name\x20<text>','--catalog\x20<catalog>','database','hook','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','backup\x20<name>','optionDescription','show\x20[name]','Start\x20time\x20filter\x20(ISO\x208601\x20format)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','kill\x20<job-id>','CDP\x20Journey\x20Orchestration\x20commands','templates\x20[pattern]','workflow','accessToken','Manage\x20workflow\x20project\x20secrets','--max-tool-iterations\x20<n>','auth','Submit\x20a\x20job','site','list\x20[pattern]','Parent\x20segment\x20management','--limit\x20<rows>','commands','run\x20<name>','--kind\x20<type>','Open\x20segment\x20in\x20web\x20browser','Arguments:','columns\x20<name-or-path>','Filtering\x20rule\x20as\x20JSON\x20string','Interactive\x20chat\x20selector','[action]','--priority\x20<-2~2>','Ending\x20offset\x20(default:\x2020)','logs','-a,\x20--agent\x20<name>','api\x20[endpoint]','Database\x20name\x20(default:\x20information_schema)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','senders\x20[pattern]','Email\x20subject\x20template','--llm-project\x20<name>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Skip\x20population\x20counting','list\x20[path]','Overwrite\x20local\x20changes\x20without\x20confirmation','folder','4584204DPaIId','Add\x20behaviors\x20as\x20JSON\x20string','Pause\x20an\x20always-on\x20campaign','Commands:','--customer-group\x20<json>','Database\x20to\x20query\x20(default:\x20information_schema)','--reason\x20<text>','166154FjmafY','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','table','trino','Skip\x20confirmation\x20prompt','575561yEkJxL','List\x20jobs','[options]\x20--\x20[claude-code-args...]','Skip\x20validation\x20of\x20.dig\x20files','--subject\x20<subject>','--chat-id\x20<id>','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--schedule-option\x20<value>','Attempt\x20ID','--from\x20<n>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','-u,\x20--use','Show\x20agent\x20details','[EXPERIMENTAL]\x20Show\x20chat\x20log','Include\x20raw\x20history\x20data\x20in\x20output','argument','attempts\x20[project]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','run\x20[name]','Remove\x20API\x20key\x20from\x20system\x20keychain','\x22.\x20Must\x20be\x20a\x20number.','get','Validate\x20journey\x20YAML\x20files\x20locally','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','List\x20secret\x20keys\x20for\x20a\x20project','folders\x20<parent_name>','required','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','list','--include-stats','Show\x20schedule\x20execution\x20history','aliases','variadic','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Read\x20query\x20from\x20file','Retry\x20limit\x20(0\x20to\x2032)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','\x20(resolved\x20to\x20','Campaign\x20name','Create\x20a\x20new\x20always-on\x20campaign','Workspace\x20management','--behavior\x20[name]','Update\x20an\x20always-on\x20campaign','Show\x20authentication\x20status\x20and\x20current\x20context','Run\x20tests\x20for\x20an\x20LLM\x20agent','Set\x20operation\x20timeout\x20in\x20seconds','create\x20[name]','types','Workflow\x20parameter\x20(repeatable)','grapesjs','-f,\x20--force','pull\x20[workspace-name]','Show\x20journey\x20details','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','buildTime','New\x20workspace\x20name','fields\x20[name]','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','segments\x20[path]','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','--follow','--start-at\x20<datetime>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','profile','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--type\x20<type>','Include\x20execution\x20statistics','Name\x20for\x20the\x20new\x20project\x20(required)','Revision\x20name\x20(default:\x20timestamp)','Workflow\x20(Digdag)\x20management\x20commands','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','--plaintext\x20<text>','--json-columns\x20<cols>','pull\x20[workspace]','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Create\x20a\x20scheduled\x20query','parent','Create\x20a\x20new\x20profile','_hidden','registeredArguments','Version\x20number\x20to\x20view','LLM\x20agent\x20management','stringify','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','parent_segment','Read\x20request\x20body\x20from\x20file','\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','-n,\x20--name\x20<name>','Clear\x20session\x20context','Skip\x20confirmation\x20prompts','Campaign\x20type\x20(email\x20or\x20push)','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Resume\x20from\x20specific\x20task\x20(retry)','outputHelp','--trace','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','push\x20[parent_or_file]','--skip-validation','-o,\x20--output\x20<folder>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Read\x20HTML\x20template\x20from\x20file','clear','--version\x20<number>','mcp','--result\x20<url>','--output\x20<file>','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--add-attributes\x20<json>','--resume-from\x20<task>','Show\x20journey\x20statistics','--default','-d,\x20--database\x20<db>','System\x20prompt/instructions\x20(default:\x20empty)','Folder\x20description','create','Agent\x20name','List\x20all\x20available\x20profiles','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','pause\x20<name-or-path>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','--method\x20<pm>','Validate\x20template\x20YAML\x20files\x20locally','0.7','Pull\x20campaigns\x20to\x20YAML\x20files','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','List\x20activations\x20for\x20a\x20journey','Alias\x20for\x20--database\x20(natural\x20language\x20style)','databases\x20[pattern]','padEnd','Result\x20output\x20destination\x20URL','show\x20<name-or-id>','set\x20<key=value>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','-X,\x20--method\x20<method>','set\x20<args...>','Resume\x20a\x20paused\x20journey','--to\x20<n>','clone\x20[source]','help','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','parents\x20[pattern]','Output\x20as\x20JSON\x20Lines','Timezone\x20(e.g.,\x20America/Los_Angeles)','addHelpText','alias','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20master\x20table\x20sample\x20data','sessions\x20[project]','Preview\x20changes\x20without\x20pushing','Journey\x20version\x20management','-C,\x20--directory\x20<path>','--full','delete\x20<project-name-or-id>','Starter\x20message','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','list\x20[name]','--tags\x20<tags>','clone\x20[source-dir]','action','Create\x20a\x20new\x20LLM\x20project','Plaintext\x20template\x20content','duplicate\x20<name-or-id>','logLevel','Open\x20parent\x20segment\x20in\x20web\x20browser',',\x20version\x20','RT\x202.0\x20configuration\x20management','pull\x20[name]','create\x20<name-or-path>','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','view\x20[name]','Update\x20an\x20existing\x20agent','Email\x20template\x20management','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','preview\x20[file]','restore\x20<folder>','list\x20[project]','result\x20<job-id>','upgrade','--agent\x20<ref>','Save\x20output\x20to\x20file','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','isArray','delete\x20<args...>','Table\x20management\x20commands','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','jobs','--session-id\x20<id>','attempt','--in\x20<db>','-d,\x20--database\x20<database>','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--add-attributes-file\x20<file>','--cron\x20<expression>','Workflow\x20attempt\x20management','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','user','Reason\x20for\x20killing\x20the\x20attempt','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--to\x20<timestamp>','long','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','update\x20<name-or-id>','claude\x20[args...]','padWidth','Push\x20without\x20confirmation','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','error','optionTerm','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','List\x20agents\x20in\x20current\x20project','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','desc\x20[name]','--database\x20<db>','schedule','INFO','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','json','Create\x20a\x20workspace','--description\x20<desc>','Enable\x20UTM\x20tracking','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','set','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Continue\x20most\x20recent\x20conversation','[attempt-id]','Create\x20an\x20email\x20template','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Workspace\x20description','Agent\x20description','parse','Delete\x20an\x20email\x20template','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Update\x20a\x20scheduled\x20query','Timezone\x20for\x20cron','--include-retried','-r,\x20--recursive','update\x20<agent-name>','Export\x20journey(s)\x20as\x20YAML\x20files','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--tsv','101840jlGUTs','job','always-on-campaign','33QgBxFo','Finish\x20an\x20always-on\x20campaign','createAsync','Maximum\x20tool\x20iterations\x20(default:\x204)','--from\x20<date>','Show\x20segment\x20details\x20(alias\x20for\x20view)','journeys\x20[pattern]','Make\x20segment\x20invisible\x20(default:\x20visible)','allowExcessArguments','push\x20[target]','Invalid\x20editor\x20type:\x20','campaigns\x20[pattern]','engage_workspace','resume\x20<name-or-id>','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','workspace','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--table','upgrade\x20[version]','_list-commands','--stage\x20<name>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','delete\x20<name>','status','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Master\x20database\x20name','Validate\x20campaign\x20YAML\x20files\x20locally','Kill\x20a\x20job','desc','replace','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','List\x20email\x20senders','--yes','5924235BUyLzQ','--attribute\x20[name]','pause\x20<name-or-id>','Add\x20behaviors\x20from\x20JSON\x20file','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Pause\x20a\x20running\x20journey','argumentDescription','--session-time\x20<time>','Start\x20a\x20new\x20chat\x20session','desc\x20[segment_name]','create\x20<parent_name>\x20<folder_name>','--param\x20<key=value>','--no-proxy','update\x20<segment_name>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Personalization\x20service\x20management','--jsonl','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Options:','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--format\x20<format>','--prompt\x20<text>','Behaviors\x20as\x20JSON\x20string','Limit\x20number\x20of\x20rows','-f,\x20--file\x20<path>'];a2_0x2396=function(){return _0x4bb1aa;};return a2_0x2396();}const templateCmd=engageCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x363))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x226));templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3c7))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x423))['description']('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),'Workspace\x20name')['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1fd))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x413))[a2_0x3a6c32(0x3b3)]('--workspace\x20<name>',a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x212),a2_0x3a6c32(0x1f0))[a2_0x3a6c32(0x219)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x1eb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x263))['requiredOption'](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x2e6))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x458),a2_0x3a6c32(0x43f))[a2_0x3a6c32(0x3b3)]('--html\x20<html>',a2_0x3a6c32(0x2ee))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2d9),'Read\x20HTML\x20template\x20from\x20file')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x375))[a2_0x3a6c32(0x3b3)]('--plaintext\x20<text>','Plaintext\x20template\x20content')[a2_0x3a6c32(0x3b3)]('--editor-type\x20<type>',a2_0x3a6c32(0x2d2),_0x17387d=>{const _0x544452=a2_0x3a6c32;if(!['beefree',_0x544452(0x486)][_0x544452(0x3eb)](_0x17387d))throw new SDKError(ErrorCode[_0x544452(0x366)],_0x544452(0x281)+_0x17387d+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x17387d;})[a2_0x3a6c32(0x219)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x247))[a2_0x3a6c32(0x2f0)]('Update\x20an\x20email\x20template')[a2_0x3a6c32(0x3b3)]('--workspace\x20<name>',a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),'New\x20template\x20name')['option'](a2_0x3a6c32(0x458),'Email\x20subject\x20template')['option']('--html\x20<html>',a2_0x3a6c32(0x2ee))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2d9),a2_0x3a6c32(0x1db))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x49c),a2_0x3a6c32(0x21b))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x49e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x317))['option'](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x357))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cf),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x2b1))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x280))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1ca))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3cf),'Skip\x20confirmation\x20prompt')['option'](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x46f))[a2_0x3a6c32(0x219)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2ba))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1f4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2d5),a2_0x3a6c32(0x392))[a2_0x3a6c32(0x219)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ca))['description'](a2_0x3a6c32(0x268))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x219)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x3a6c32(0x286))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x47d));workspaceCmd['command'](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)]('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x3a6c32(0x219)](createEngageListAction(EngageWorkspacesCommand)),engageCmd['command'](a2_0x3a6c32(0x3ef))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3fe))[a2_0x3a6c32(0x219)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x3a6c32(0x2f4)]('show\x20<name-or-id>')[a2_0x3a6c32(0x2f0)]('Show\x20workspace\x20details')['option'](a2_0x3a6c32(0x212),a2_0x3a6c32(0x1f0))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x3a6c32(0x1eb))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x25a))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x2c6),'Workspace\x20name')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x25b),a2_0x3a6c32(0x265))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x247))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x348))['option'](a2_0x3a6c32(0x2c6),a2_0x3a6c32(0x48c))[a2_0x3a6c32(0x3b3)]('--description\x20<desc>','Workspace\x20description')[a2_0x3a6c32(0x219)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3ca))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2bc))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x297),a2_0x3a6c32(0x453))[a2_0x3a6c32(0x219)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x40b))[a2_0x3a6c32(0x2f0)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x3a6c32(0x219)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command'](a2_0x3a6c32(0x2b8))[a2_0x3a6c32(0x2f0)]('Delivery\x20operations\x20(email\x20senders)');deliveryCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x43e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x296))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3a7),a2_0x3a6c32(0x2b5))[a2_0x3a6c32(0x219)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3a8))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x36a)),connectionListAction=async _0x5ba0c7=>{const _0x2e22f5=a2_0x3a6c32,_0x16e9b8=new ConnectionListCommand(),_0x2b07a9=program[_0x2e22f5(0x34e)](),_0x433a66=await createTDXInstance(_0x2b07a9),_0x20080e=await _0x16e9b8[_0x2e22f5(0x3c2)]({'options':{..._0x2b07a9,..._0x5ba0c7},'args':[],'tdx':_0x433a66});gracefulExit(_0x20080e);};connectionCmd[a2_0x3a6c32(0x2f4)]('list')[a2_0x3a6c32(0x2f0)]('List\x20all\x20data\x20connections')[a2_0x3a6c32(0x219)](connectionListAction),program[a2_0x3a6c32(0x2f4)]('connections',{'hidden':!![]})[a2_0x3a6c32(0x2f0)]('List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)')[a2_0x3a6c32(0x219)](connectionListAction),connectionCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x416))['description']('Show\x20connection\x20details\x20by\x20name')['action'](async(_0x117212,_0x3a03a9)=>{const _0x1f95ec=a2_0x3a6c32,_0x5c94fd=new ConnectionShowCommand(),_0x2fe7e6=program[_0x1f95ec(0x34e)](),_0x96c178=await createTDXInstance(_0x2fe7e6),_0x30d26a=await _0x5c94fd[_0x1f95ec(0x3c2)]({'options':{..._0x2fe7e6,..._0x3a03a9},'args':[_0x117212],'tdx':_0x96c178});gracefulExit(_0x30d26a);}),connectionCmd[a2_0x3a6c32(0x2f4)]('schema\x20<type>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3f2))['action'](async(_0x3f07a6,_0x5f2638)=>{const _0x7fada=a2_0x3a6c32,_0x33fa50=new ConnectionSchemaCommand(),_0x5e1c73=program['opts'](),_0x424598=await createTDXInstance(_0x5e1c73),_0x1dd941=await _0x33fa50[_0x7fada(0x3c2)]({'options':{..._0x5e1c73,..._0x5f2638},'args':[_0x3f07a6],'tdx':_0x424598});gracefulExit(_0x1dd941);}),connectionCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x484))[a2_0x3a6c32(0x2f0)]('List\x20available\x20connector\x20types')[a2_0x3a6c32(0x219)](async _0x4351f9=>{const _0x12984e=a2_0x3a6c32,_0x3c1a7d=new ConnectionTypesCommand(),_0x84d8d5=program[_0x12984e(0x34e)](),_0x1679d5=await createTDXInstance(_0x84d8d5),_0x221b71=await _0x3c1a7d[_0x12984e(0x3c2)]({'options':{..._0x84d8d5,..._0x4351f9},'args':[],'tdx':_0x1679d5});gracefulExit(_0x221b71);}),connectionCmd['command'](a2_0x3a6c32(0x2d8))[a2_0x3a6c32(0x2f0)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x3a6c32(0x219)](async(_0x2c2fc4,_0x3455af)=>{const _0x5ec3cc=a2_0x3a6c32,_0x43af55=new ConnectionSettingsCommand(),_0x20e897=program[_0x5ec3cc(0x34e)](),_0x491bf5=await createTDXInstance(_0x20e897),_0x1e1081=await _0x43af55[_0x5ec3cc(0x3c2)]({'options':{..._0x20e897,..._0x3455af},'args':[_0x2c2fc4],'tdx':_0x491bf5});gracefulExit(_0x1e1081);});const journeyCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3df))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x422)),journeyListAction=async(_0x3bbcb4,_0x5a92f8)=>{const _0x332311=a2_0x3a6c32,_0x47752f=new JourneyListCommand(),_0x46e5ee=program['opts'](),_0x36499d=await createTDXInstance(_0x46e5ee),_0x1a27c4=await _0x47752f[_0x332311(0x3c2)]({'options':{..._0x46e5ee,..._0x5a92f8},'args':_0x3bbcb4?[_0x3bbcb4]:[],'tdx':_0x36499d});gracefulExit(_0x1a27c4);};journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x3ad))[a2_0x3a6c32(0x219)](journeyListAction),journeyCmd['command'](a2_0x3a6c32(0x3bc))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x489))[a2_0x3a6c32(0x3b3)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x471),a2_0x3a6c32(0x497))[a2_0x3a6c32(0x219)](async(_0x33c6ba,_0x2d85de)=>{const _0x8b2cba=a2_0x3a6c32,_0x375f02=new JourneyViewCommand(),_0x494dbc=program[_0x8b2cba(0x34e)](),_0x3e403a=await createTDXInstance(_0x494dbc),_0xc5d414=await _0x375f02['run']({'options':{..._0x494dbc,..._0x2d85de},'args':[_0x33c6ba],'tdx':_0x3e403a});gracefulExit(_0xc5d414);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2cf))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1e6))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x28b),a2_0x3a6c32(0x3a1))['option'](a2_0x3a6c32(0x27b),a2_0x3a6c32(0x2ef))[a2_0x3a6c32(0x3b3)]('--to\x20<date>',a2_0x3a6c32(0x45e))[a2_0x3a6c32(0x3b3)]('--include-history',a2_0x3a6c32(0x462))['action'](async(_0x394104,_0x3db438)=>{const _0x26ebd6=a2_0x3a6c32,_0x41f975=new JourneyStatsCommand(),_0x53876b=program['opts'](),_0x54b061=await createTDXInstance(_0x53876b),_0x5cde23=await _0x41f975[_0x26ebd6(0x3c2)]({'options':{..._0x53876b,..._0x3db438},'args':[_0x394104],'tdx':_0x54b061});gracefulExit(_0x5cde23);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3d6))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x475))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x496),a2_0x3a6c32(0x3a4))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x27b),a2_0x3a6c32(0x2ef))['option'](a2_0x3a6c32(0x3c4),a2_0x3a6c32(0x45e))[a2_0x3a6c32(0x3b3)]('--limit\x20<number>',a2_0x3a6c32(0x3d4),_0x58f3f9=>{const _0x4d855b=a2_0x3a6c32,_0x52c03a=parseInt(_0x58f3f9,0xa);if(isNaN(_0x52c03a))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x58f3f9+_0x4d855b(0x468));return _0x52c03a;})['action'](async(_0x28ac09,_0x1f5d11)=>{const _0x245752=a2_0x3a6c32,_0x11d922=new JourneyTrafficCommand(),_0x1aba64=program[_0x245752(0x34e)](),_0x4a33cd=await createTDXInstance(_0x1aba64),_0x57cb72=await _0x11d922[_0x245752(0x3c2)]({'options':{..._0x1aba64,..._0x1f5d11},'args':[_0x28ac09],'tdx':_0x4a33cd});gracefulExit(_0x57cb72);}),journeyCmd['command'](a2_0x3a6c32(0x1f1))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x29d))[a2_0x3a6c32(0x219)](async(_0x354e9b,_0x4de76e)=>{const _0x5ab2a9=a2_0x3a6c32,_0x21cda9=new JourneyPauseCommand(),_0x5dcf70=program['opts'](),_0x34f353=await createTDXInstance(_0x5dcf70),_0x5974b3=await _0x21cda9[_0x5ab2a9(0x3c2)]({'options':{..._0x5dcf70,..._0x4de76e},'args':[_0x354e9b],'tdx':_0x34f353});gracefulExit(_0x5974b3);}),journeyCmd['command'](a2_0x3a6c32(0x40a))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x202))['action'](async(_0x1c7329,_0x1e0b2b)=>{const _0x1d6925=a2_0x3a6c32,_0x31faa6=new JourneyResumeCommand(),_0x594d69=program[_0x1d6925(0x34e)](),_0x355c01=await createTDXInstance(_0x594d69),_0x156494=await _0x31faa6[_0x1d6925(0x3c2)]({'options':{..._0x594d69,..._0x1e0b2b},'args':[_0x1c7329],'tdx':_0x355c01});gracefulExit(_0x156494);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x221))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x26f))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3c8),a2_0x3a6c32(0x35f))[a2_0x3a6c32(0x219)](async(_0x2583d0,_0x28ff4d)=>{const _0x328bfa=a2_0x3a6c32,_0x54f897=new JourneyPullCommand(),_0x819136=program[_0x328bfa(0x34e)](),_0x4929c7=await createTDXInstance(_0x819136),_0x29518d=await _0x54f897[_0x328bfa(0x3c2)]({'options':{..._0x819136,..._0x28ff4d},'args':_0x2583d0?[_0x2583d0]:[],'tdx':_0x4929c7});gracefulExit(_0x29518d);}),journeyCmd['command'](a2_0x3a6c32(0x280))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x24e))[a2_0x3a6c32(0x219)](async(_0x138e9f,_0x3d9d35)=>{const _0x12848d=a2_0x3a6c32,_0x4ca3ba=new JourneyPushCommand(),_0x35f09e=program[_0x12848d(0x34e)](),_0x35bb3c=await createTDXInstance(_0x35f09e),_0x1df27e=await _0x4ca3ba[_0x12848d(0x3c2)]({'options':{..._0x35f09e,..._0x3d9d35},'args':_0x138e9f?[_0x138e9f]:[],'tdx':_0x35bb3c});gracefulExit(_0x1df27e);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x433))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x360))[a2_0x3a6c32(0x219)](async(_0x17933f,_0x6cbad9)=>{const _0x2200b9=new JourneyColumnsCommand(),_0x27ba68=program['opts'](),_0x2e358f=await createTDXInstance(_0x27ba68),_0x27b460=await _0x2200b9['run']({'options':{..._0x27ba68,..._0x6cbad9},'args':[_0x17933f],'tdx':_0x2e358f});gracefulExit(_0x27b460);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2be))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1f8))['action'](async(_0x2956dc,_0x3bf9e1)=>{const _0x344992=a2_0x3a6c32,_0x45cffe=new JourneyActivationsCommand(),_0xc76eb9=program[_0x344992(0x34e)](),_0x7be4dd=await createTDXInstance(_0xc76eb9),_0x41762c=await _0x45cffe[_0x344992(0x3c2)]({'options':{..._0xc76eb9,..._0x3bf9e1},'args':[_0x2956dc],'tdx':_0x7be4dd});gracefulExit(_0x41762c);}),journeyCmd['command'](a2_0x3a6c32(0x2fb))['description'](a2_0x3a6c32(0x309))[a2_0x3a6c32(0x219)](async(_0x1190d8,_0x792215)=>{const _0x4ffd2a=a2_0x3a6c32,_0x13213d=new JourneyVersionsCommand(),_0x25a3ec=program[_0x4ffd2a(0x34e)](),_0x5d8065=await createTDXInstance(_0x25a3ec),_0x35cbdf=await _0x13213d[_0x4ffd2a(0x3c2)]({'options':{..._0x25a3ec,..._0x792215},'args':[_0x1190d8],'tdx':_0x5d8065});gracefulExit(_0x35cbdf);});const journeyVersionCmd=journeyCmd['command']('version')['description'](a2_0x3a6c32(0x210));journeyVersionCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x222))['description'](a2_0x3a6c32(0x48a))[a2_0x3a6c32(0x219)](async(_0x415324,_0x1c1588)=>{const _0x2f645f=a2_0x3a6c32,_0x9a40d4=new JourneyVersionCreateCommand(),_0x42a5ba=program[_0x2f645f(0x34e)](),_0x75331=await createTDXInstance(_0x42a5ba),_0x3e4a03=await _0x9a40d4[_0x2f645f(0x3c2)]({'options':{..._0x42a5ba,..._0x1c1588},'args':[_0x415324],'tdx':_0x75331});gracefulExit(_0x3e4a03);}),journeyVersionCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x3bc))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x246))[a2_0x3a6c32(0x361)](a2_0x3a6c32(0x1dd),a2_0x3a6c32(0x1c7))[a2_0x3a6c32(0x219)](async(_0x545ea7,_0x288d11)=>{const _0x150afe=a2_0x3a6c32,_0x127d39=new JourneyVersionViewCommand(),_0x33c325=program['opts'](),_0x12aaea=await createTDXInstance(_0x33c325),_0xeb131e=await _0x127d39[_0x150afe(0x3c2)]({'options':{..._0x33c325,..._0x288d11},'args':[_0x545ea7],'tdx':_0x12aaea});gracefulExit(_0xeb131e);}),journeyCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2ba))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x46a))['action'](async(_0xf1a011,_0x599c3e)=>{const _0x41b061=a2_0x3a6c32,_0x239781=new JourneyValidateCommand(),_0x3eefa8=program['opts'](),_0x56e5f2=await createTDXInstance(_0x3eefa8),_0x43dc85=await _0x239781[_0x41b061(0x3c2)]({'options':{..._0x3eefa8,..._0x599c3e},'args':_0xf1a011?[_0xf1a011]:[],'tdx':_0x56e5f2});gracefulExit(_0x43dc85);}),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x27d))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x359))[a2_0x3a6c32(0x219)](journeyListAction);const agentSyncCmd=program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x346))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x1c8));agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x2e1))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x307))['option'](a2_0x3a6c32(0x409),'Output\x20directory')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x487),a2_0x3a6c32(0x446))['option'](a2_0x3a6c32(0x43a),a2_0x3a6c32(0x35b))[a2_0x3a6c32(0x219)](async(_0x28870b,_0x34f856,_0x4569d2)=>{const _0x3aa170=a2_0x3a6c32,_0x11993d=new AgentPullCommand(),_0x584d4a=program[_0x3aa170(0x34e)](),_0x293f3e=await createTDXInstance(_0x584d4a),_0x2e50fe=[];if(_0x28870b)_0x2e50fe[_0x3aa170(0x3e1)](_0x28870b);if(_0x34f856)_0x2e50fe[_0x3aa170(0x3e1)](_0x34f856);const _0x24ff43=await _0x11993d[_0x3aa170(0x3c2)]({'options':{..._0x584d4a,..._0x4569d2},'args':_0x2e50fe,'tdx':_0x293f3e});gracefulExit(_0x24ff43);}),agentSyncCmd['command'](a2_0x3a6c32(0x3e7))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x2ea))[a2_0x3a6c32(0x3b3)]('-f,\x20--force',a2_0x3a6c32(0x24a))[a2_0x3a6c32(0x219)](async(_0x45cdc9,_0x133873)=>{const _0x48cba1=a2_0x3a6c32,_0x1e6e04=new AgentPushCommand(),_0x3357b0=program[_0x48cba1(0x34e)](),_0x573cb6=await createTDXInstance(_0x3357b0),_0x2e6a51=await _0x1e6e04[_0x48cba1(0x3c2)]({'options':{..._0x3357b0,..._0x133873},'args':_0x45cdc9?[_0x45cdc9]:[],'tdx':_0x573cb6});gracefulExit(_0x2e6a51);}),agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x204))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x39d))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x1ce),a2_0x3a6c32(0x498))[a2_0x3a6c32(0x219)](async(_0x14c361,_0x160989)=>{const _0x4dd3fa=new AgentCloneCommand(),_0x190098=program['opts'](),_0x3db48e=await createTDXInstance(_0x190098),_0x5eb62a=await _0x4dd3fa['run']({'options':{..._0x190098,..._0x160989},'args':_0x14c361?[_0x14c361]:[],'tdx':_0x3db48e});gracefulExit(_0x5eb62a);}),agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x326))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x481))['option']('--name\x20<names>',a2_0x3a6c32(0x3ea))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x217),a2_0x3a6c32(0x340))['option'](a2_0x3a6c32(0x3c8),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x32b),a2_0x3a6c32(0x404))[a2_0x3a6c32(0x3b3)]('--reeval',a2_0x3a6c32(0x349))[a2_0x3a6c32(0x219)](async(_0x35c069,_0x496b77)=>{const _0x574117=a2_0x3a6c32,_0x5d3d29=new AgentTestCommand(),_0xec5ae3=program[_0x574117(0x34e)](),_0x3f7322=await createTDXInstance(_0xec5ae3),_0x2c6856=await _0x5d3d29[_0x574117(0x3c2)]({'options':{..._0xec5ae3,..._0x496b77},'args':_0x35c069?[_0x35c069]:[],'tdx':_0x3f7322});gracefulExit(_0x2c6856);}),agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x42b))['description'](a2_0x3a6c32(0x250))[a2_0x3a6c32(0x219)](llmAgentListAction),agentSyncCmd[a2_0x3a6c32(0x2f4)]('show\x20<agent-name>')[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x460))[a2_0x3a6c32(0x219)](async(_0x244604,_0x24c801)=>{const _0x124b96=new LLMAgentShowCommand(),_0x456f61=program['opts'](),_0x5aeef5=await createTDXInstance(_0x456f61),_0x48fc3a=await _0x124b96['run']({'options':{..._0x456f61,..._0x24c801},'args':[_0x244604],'tdx':_0x5aeef5});gracefulExit(_0x48fc3a);}),agentSyncCmd[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x338))['description'](a2_0x3a6c32(0x38c))[a2_0x3a6c32(0x3b3)]('--system-prompt\x20<text>',a2_0x3a6c32(0x1e9))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x415),'Model\x20type\x20(default:\x20claude-4.5-sonnet)','claude-4.5-sonnet')['option'](a2_0x3a6c32(0x374),a2_0x3a6c32(0x214))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x427),a2_0x3a6c32(0x27a),'4')[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x3b0),a2_0x3a6c32(0x1d2),a2_0x3a6c32(0x1f5))[a2_0x3a6c32(0x219)](async(_0x57e701,_0x4f7836)=>{const _0x35ba28=a2_0x3a6c32,_0x1f1fa7=new LLMAgentCreateCommand(),_0x2e98c8=program[_0x35ba28(0x34e)](),_0x2c256d=await createTDXInstance(_0x2e98c8),_0x293d2d=await _0x1f1fa7['run']({'options':{..._0x2e98c8,..._0x4f7836},'args':[_0x57e701],'tdx':_0x2c256d});gracefulExit(_0x293d2d);}),agentSyncCmd['command'](a2_0x3a6c32(0x26e))[a2_0x3a6c32(0x2f0)](a2_0x3a6c32(0x225))['option'](a2_0x3a6c32(0x417),a2_0x3a6c32(0x1ec))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x2ad),a2_0x3a6c32(0x3ae))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x38b),a2_0x3a6c32(0x266))[a2_0x3a6c32(0x3b3)](a2_0x3a6c32(0x374),a2_0x3a6c32(0x214))[a2_0x3a6c32(0x219)](async(_0xe8c5cc,_0x4e11af)=>{const _0x26e696=a2_0x3a6c32,_0x495f8f=new LLMAgentUpdateCommand(),_0x161361=program[_0x26e696(0x34e)](),_0x298d8d=await createTDXInstance(_0x161361),_0x1b05c7=await _0x495f8f[_0x26e696(0x3c2)]({'options':{..._0x161361,..._0x4e11af},'args':[_0xe8c5cc],'tdx':_0x298d8d});gracefulExit(_0x1b05c7);}),agentSyncCmd['command'](a2_0x3a6c32(0x3d1))['description'](a2_0x3a6c32(0x311))[a2_0x3a6c32(0x219)](async(_0x1062d9,_0x3ad9e3)=>{const _0x3d0ac7=a2_0x3a6c32,_0x15e463=new LLMAgentDeleteCommand(),_0x51c396=program[_0x3d0ac7(0x34e)](),_0x181f6e=await createTDXInstance(_0x51c396),_0x156465=await _0x15e463[_0x3d0ac7(0x3c2)]({'options':{..._0x51c396,..._0x3ad9e3},'args':[_0x1062d9],'tdx':_0x181f6e});gracefulExit(_0x156465);}),program[a2_0x3a6c32(0x2f4)](a2_0x3a6c32(0x28a),{'hidden':!![]})[a2_0x3a6c32(0x219)](()=>{const _0x19a464=a2_0x3a6c32;function _0x2d1726(_0x129550,_0x5a64e3){const _0x3784e6=a2_0x434e,_0x13789b=[];for(const _0x4c4340 of _0x129550[_0x3784e6(0x42e)]){if(_0x4c4340[_0x3784e6(0x4a3)])continue;const _0x4b68f0=_0x5a64e3?_0x5a64e3+'\x20'+_0x4c4340['name']():_0x4c4340[_0x3784e6(0x3e2)](),_0x51dbed=_0x4b68f0['split']('\x20')[0x0],_0xe764f0=COMMAND_CATEGORIES[_0x3784e6(0x378)](_0x230ddf=>_0x230ddf['commands'][_0x3784e6(0x3eb)](_0x51dbed)),_0x13c309=_0xe764f0?.[_0x3784e6(0x3e2)]??'';if(_0x4c4340[_0x3784e6(0x42e)][_0x3784e6(0x3d7)]>0x0)_0x13789b[_0x3784e6(0x3e1)](..._0x2d1726(_0x4c4340,_0x4b68f0));else{const _0x35ecec=(_0x4c4340[_0x3784e6(0x4a4)]||[])[_0x3784e6(0x385)](_0x1ca281=>{const _0x455de7=_0x3784e6,_0x20f412=_0x1ca281[_0x455de7(0x474)]?_0x1ca281[_0x455de7(0x3e2)]()+_0x455de7(0x3a9):_0x1ca281[_0x455de7(0x3e2)]();return _0x1ca281[_0x455de7(0x46e)]?'<'+_0x20f412+'>':'['+_0x20f412+']';})[_0x3784e6(0x336)]('\x20'),_0xbbf795=_0x4c4340['options']['filter'](_0x267344=>!_0x267344[_0x3784e6(0x3f0)]&&_0x267344[_0x3784e6(0x244)]!=='--help')['map'](_0x1901e7=>({'flags':_0x1901e7[_0x3784e6(0x3ba)],'description':_0x1901e7[_0x3784e6(0x2f0)]}));_0x13789b[_0x3784e6(0x3e1)]({'name':_0x4b68f0,'description':_0x4c4340[_0x3784e6(0x2f0)](),'group':_0x13c309,'usage':_0x35ecec,'options':_0xbbf795});}}return _0x13789b;}console[_0x19a464(0x3b8)](JSON[_0x19a464(0x1c9)](_0x2d1726(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x262bb1=a2_0x3a6c32,_0x2f5115=!process[_0x262bb1(0x313)][_0x262bb1(0x383)](0x2)[_0x262bb1(0x3d7)];showBriefHelp=_0x2f5115,program[_0x262bb1(0x267)](process[_0x262bb1(0x313)]);_0x2f5115&&program[_0x262bb1(0x1d4)]();const _0x217969=process['argv'][0x2]===_0x262bb1(0x22d);if(process[_0x262bb1(0x2b2)][_0x262bb1(0x316)]&&process[_0x262bb1(0x313)][_0x262bb1(0x3d7)]>0x2&&!isDevVersion()&&!_0x217969){const _0x487ce3=loadReleaseChannel();checkForUpdate(currentVersion,_0x487ce3)[_0x262bb1(0x2f1)](_0x98283e=>{_0x98283e&&displayUpdateNotification(_0x98283e);})[_0x262bb1(0x2b6)](()=>{});}}
|