@treasuredata/tdx 2026.8.4 → 2026.8.6
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 +1 -0
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.d.ts +1 -1
- package/dist/cli-categories.js +1 -1
- package/dist/cli-categories.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +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/cas-command.js +1 -1
- package/dist/commands/cas-segment-command.d.ts.map +1 -1
- package/dist/commands/cas-segment-command.js +1 -1
- package/dist/commands/cas-segment-command.js.map +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/codex-command.d.ts +51 -0
- package/dist/commands/codex-command.d.ts.map +1 -0
- package/dist/commands/codex-command.js +1 -0
- package/dist/commands/codex-command.js.map +1 -0
- 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-always-on-campaign-pull-command.js +1 -1
- package/dist/commands/engage-always-on-campaign-push-command.js +1 -1
- package/dist/commands/engage-always-on-campaign-validate-command.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.d.ts.map +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-command.js.map +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/p13n-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/policy-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-move-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/table-deleted.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/work-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/site-mismatch.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.d.ts +3 -3
- package/dist/core/version.d.ts.map +1 -1
- package/dist/core/version.js +1 -1
- package/dist/core/version.js.map +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/tools/work-create-item.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/auth-token.js +1 -1
- package/dist/sdk/cas/cas-api-client.js +1 -1
- package/dist/sdk/cas/cas-audience-schema.js +1 -1
- package/dist/sdk/cas/cas-audience-validator.js +1 -1
- package/dist/sdk/cas/cas-audience-yaml.js +1 -1
- package/dist/sdk/cas/cas-segment-schema.d.ts +63 -0
- package/dist/sdk/cas/cas-segment-schema.d.ts.map +1 -0
- package/dist/sdk/cas/cas-segment-schema.js +1 -0
- package/dist/sdk/cas/cas-segment-schema.js.map +1 -0
- package/dist/sdk/cas/cas-segment-validator.d.ts +76 -0
- package/dist/sdk/cas/cas-segment-validator.d.ts.map +1 -0
- package/dist/sdk/cas/cas-segment-validator.js +1 -0
- package/dist/sdk/cas/cas-segment-validator.js.map +1 -0
- package/dist/sdk/cas/cas-segment-yaml.js +1 -1
- package/dist/sdk/cas/index.js +1 -1
- package/dist/sdk/cas/pull-workflow.js +1 -1
- package/dist/sdk/cas/push-workflow.js +1 -1
- package/dist/sdk/cas/validate-files.d.ts +23 -6
- package/dist/sdk/cas/validate-files.d.ts.map +1 -1
- package/dist/sdk/cas/validate-files.js +1 -1
- package/dist/sdk/cas/validate-files.js.map +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/p13n-studio-api-client.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/delivery.js +1 -1
- package/dist/sdk/engage/always-on-campaign-pull.js +1 -1
- package/dist/sdk/engage/always-on-campaign-push.js +1 -1
- package/dist/sdk/engage/always-on-campaign-validator.js +1 -1
- package/dist/sdk/engage/always-on-campaign-yaml.d.ts.map +1 -1
- package/dist/sdk/engage/always-on-campaign-yaml.js +1 -1
- package/dist/sdk/engage/always-on-campaign-yaml.js.map +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.d.ts.map +1 -1
- package/dist/sdk/engage/campaign-yaml.js +1 -1
- package/dist/sdk/engage/campaign-yaml.js.map +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.d.ts.map +1 -1
- package/dist/sdk/engage/template-yaml.js +1 -1
- package/dist/sdk/engage/template-yaml.js.map +1 -1
- package/dist/sdk/engage/types/always-on-campaign-schema.d.ts +1 -0
- package/dist/sdk/engage/types/always-on-campaign-schema.d.ts.map +1 -1
- package/dist/sdk/engage/types/always-on-campaign-schema.js +1 -1
- package/dist/sdk/engage/types/campaign-def.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.d.ts +2 -0
- package/dist/sdk/engage/types/campaign-schema.d.ts.map +1 -1
- package/dist/sdk/engage/types/campaign-schema.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.js.map +1 -1
- package/dist/sdk/engage/types/template-schema.d.ts +1 -0
- package/dist/sdk/engage/types/template-schema.d.ts.map +1 -1
- package/dist/sdk/engage/types/template-schema.js +1 -1
- package/dist/sdk/engage/types/template-schema.js.map +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/llm/user-settings.js +1 -1
- package/dist/sdk/p13n-studio.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/policy.js +1 -1
- package/dist/sdk/query/deleted-table-validation.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.d.ts.map +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js.map +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.d.ts.map +1 -1
- package/dist/sdk/segment/types/segment-schema.js +1 -1
- package/dist/sdk/segment/types/segment-schema.js.map +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.d.ts +1 -1
- package/dist/sdk/segment/yaml-validator.d.ts.map +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment/yaml-validator.js.map +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/engage.d.ts +8 -0
- package/dist/sdk/types/engage.d.ts.map +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/types/workspace.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/util/tree-search.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/task-graph.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/sdk/workspace/access-tracker.js +1 -1
- package/dist/sdk/workspace/frontmatter.js +1 -1
- package/dist/sdk/workspace/git.js +1 -1
- package/dist/sdk/workspace/index.js +1 -1
- package/dist/sdk/workspace/templates.js +1 -1
- package/dist/sdk/workspace/weekly.js +1 -1
- package/dist/sdk/workspace/wikilinks.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/claude-code-state.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/proxy-fetch.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 -47
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x6d4204=a2_0x4d63;(function(_0x5e1abd,_0x1c2da8){const _0x445c74=a2_0x4d63,_0x851e72=_0x5e1abd();while(!![]){try{const _0x18960c=-parseInt(_0x445c74(0x263))/0x1+parseInt(_0x445c74(0xfe))/0x2+parseInt(_0x445c74(0x22d))/0x3+parseInt(_0x445c74(0x24a))/0x4+parseInt(_0x445c74(0x3bb))/0x5+parseInt(_0x445c74(0x244))/0x6+-parseInt(_0x445c74(0x129))/0x7*(parseInt(_0x445c74(0x26c))/0x8);if(_0x18960c===_0x1c2da8)break;else _0x851e72['push'](_0x851e72['shift']());}catch(_0x5a83c8){_0x851e72['push'](_0x851e72['shift']());}}}(a2_0x1a8c,0xa6496));import a2_0x2eb431 from'chalk';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{printSDKError}from'./commands/command.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{TableDeletedCommand,TableRecoverCommand}from'./commands/table-deleted.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,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentMoveCommand}from'./commands/segment-move-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,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyRunCommand,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,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand,EngageMediaUploadCommand,EngageMediaLsCommand,EngageMediaMkdirCommand,EngageMediaRmCommand,EngageMediaRmdirCommand}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{EngageAlwaysOnCampaignPullCommand}from'./commands/engage-always-on-campaign-pull-command.js';import{EngageAlwaysOnCampaignPushCommand}from'./commands/engage-always-on-campaign-push-command.js';import{EngageAlwaysOnCampaignValidateCommand}from'./commands/engage-always-on-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,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthTokenCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASValidateCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand,CASSegmentPushCommand}from'./commands/cas-segment-command.js';import{P13nListCommand}from'./commands/p13n-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isApiCommandEnabled,isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x6d4204(0x32a)][a2_0x6d4204(0x1dd)](a2_0x6d4204(0x1e3))){let versionOutput='tdx\x20'+currentVersion;buildInfo[a2_0x6d4204(0x3c5)]&&!currentVersion['includes'](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x6d4204(0x3c5)]+')'),buildInfo[a2_0x6d4204(0x18d)]&&(versionOutput+=a2_0x6d4204(0x216)+buildInfo['buildTime']),console[a2_0x6d4204(0x325)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x285f01,_0x288e42){const _0x4a7c27=a2_0x6d4204,_0x3ea349={..._0x285f01};for(const [_0x25ff4d,_0x2e77e7]of Object[_0x4a7c27(0x165)](_0x288e42)){_0x2e77e7!==undefined&&(_0x3ea349[_0x25ff4d]=_0x2e77e7);}return _0x3ea349;}let showBriefHelp=![],description=a2_0x6d4204(0x132);buildInfo[a2_0x6d4204(0x3c5)]&&!currentVersion[a2_0x6d4204(0x1dd)](buildInfo[a2_0x6d4204(0x3c5)])?description+=a2_0x6d4204(0x204)+currentVersion+'\x20('+buildInfo[a2_0x6d4204(0x3c5)]+')':description+=a2_0x6d4204(0x204)+currentVersion;program['name'](a2_0x6d4204(0x33c))[a2_0x6d4204(0xd4)](description),program[a2_0x6d4204(0x11f)](a2_0x6d4204(0x269),a2_0x6d4204(0x22e))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2d8),a2_0x6d4204(0x31e))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x128),a2_0x6d4204(0x27d))[a2_0x6d4204(0x11f)]('--format\x20<format>',a2_0x6d4204(0x144))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x346),a2_0x6d4204(0x154))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x19f),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1fa),a2_0x6d4204(0x3d5))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2fa),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')['option']('--output\x20<file>',a2_0x6d4204(0x230))['option'](a2_0x6d4204(0x10a),a2_0x6d4204(0x101))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x23e),a2_0x6d4204(0x1a5),![])[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3d2),a2_0x6d4204(0x9e),![])[a2_0x6d4204(0x11f)](a2_0x6d4204(0x186),'Enable\x20verbose\x20logging',![])[a2_0x6d4204(0x11f)](a2_0x6d4204(0x125),a2_0x6d4204(0x390))['option'](a2_0x6d4204(0x1fe),a2_0x6d4204(0x1b2))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x256),a2_0x6d4204(0x148),'30')[a2_0x6d4204(0x11f)]('--dry-run',a2_0x6d4204(0x1e7),![])[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2a0),'Skip\x20confirmation\x20prompts',![])['option']('--session\x20<id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0xb9),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x6d4204(0x10d),a2_0x6d4204(0x19d)),program['configureHelp']({'formatHelp':(_0x480b6e,_0x2d695a)=>{const _0x2c7312=a2_0x6d4204,_0x3631ec=_0x2d695a['padWidth'](_0x480b6e,_0x2d695a),_0x100cc6=0x2,_0x276e0e=0x2;function _0x14e7a3(_0x492385){const _0x4e355d=a2_0x4d63,_0x567a9f=_0x492385;return!!(_0x567a9f[_0x4e355d(0x1f6)]||_0x567a9f['hidden']);}function _0x3a5f20(_0x10accc,_0x1ce129){if(_0x1ce129){const _0x566203=''+_0x10accc['padEnd'](_0x3631ec+_0x276e0e)+_0x1ce129;return _0x566203;}return _0x10accc;}function _0x220172(_0x14152b){const _0x5afa09=a2_0x4d63;return _0x14152b[_0x5afa09(0x3e8)]('\x0a')[_0x5afa09(0x3fa)](/^/gm,'\x20'['repeat'](_0x100cc6));}const _0x296e25=[];_0x296e25[_0x2c7312(0x221)](_0x2c7312(0x1e4)+_0x2d695a[_0x2c7312(0x145)](_0x480b6e));const _0x282430=_0x2d695a['commandDescription'](_0x480b6e);_0x282430&&(_0x296e25[_0x2c7312(0x221)](''),_0x296e25[_0x2c7312(0x221)](_0x282430));const _0x1a4221=_0x480b6e['commands'][_0x2c7312(0x9c)](_0x51059a=>!_0x14e7a3(_0x51059a));if(_0x1a4221['length']>0x0){if(_0x480b6e['name']()===_0x2c7312(0x33c)){const _0x2e4307=_0x480b6e[_0x2c7312(0x355)](),_0x23502a=!_0x2e4307[_0x2c7312(0x286)]&&process[_0x2c7312(0x26d)][_0x2c7312(0x25e)],_0x48f25e=COMMAND_CATEGORIES,_0x470b1c=(_0x37e810,_0x44e27f)=>_0x23502a?_0x44e27f(_0x37e810):_0x37e810,_0x5e5db4=new Map();_0x1a4221[_0x2c7312(0x217)](_0xc4fee1=>{const _0x5a1d17=_0x2c7312;_0x5e5db4[_0x5a1d17(0x2bd)](_0xc4fee1[_0x5a1d17(0x24c)](),_0xc4fee1);}),_0x48f25e['forEach'](_0x25929c=>{const _0x4306dd=_0x2c7312,_0x27c1d1=_0x25929c[_0x4306dd(0x178)]['flatMap'](_0x5d558f=>_0x5e5db4['get'](_0x5d558f)??[]);if(_0x27c1d1[_0x4306dd(0x24e)]>0x0){_0x296e25['push'](''),_0x296e25['push'](_0x470b1c(_0x25929c[_0x4306dd(0x24c)]+':',_0x25929c['colorFn']));const _0x5d715c=_0x27c1d1[_0x4306dd(0x141)](_0x34ea83=>{const _0x1ededf=_0x4306dd,_0xabd03c=_0x2d695a[_0x1ededf(0x17f)](_0x34ea83),_0x141c17=_0x2d695a[_0x1ededf(0x363)](_0x34ea83);return _0x3a5f20(_0xabd03c,_0x141c17);});_0x296e25[_0x4306dd(0x221)](_0x220172(_0x5d715c));}}),_0x296e25[_0x2c7312(0x221)](''),_0x296e25[_0x2c7312(0x221)](_0x2c7312(0x2b6));}else{const _0x42ae99=_0x1a4221[_0x2c7312(0x141)](_0x4818c4=>{const _0x1e4f2b=_0x2c7312,_0x2da06d=_0x2d695a[_0x1e4f2b(0x17f)](_0x4818c4),_0x36f6a1=_0x2d695a[_0x1e4f2b(0x363)](_0x4818c4);return _0x3a5f20(_0x2da06d,_0x36f6a1);});_0x296e25[_0x2c7312(0x221)](''),_0x296e25[_0x2c7312(0x221)](_0x2c7312(0x17c)),_0x296e25[_0x2c7312(0x221)](_0x220172(_0x42ae99));}}if(showBriefHelp&&_0x480b6e[_0x2c7312(0x24c)]()===_0x2c7312(0x33c))_0x296e25['push'](''),_0x296e25[_0x2c7312(0x221)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x432eae=_0x480b6e[_0x2c7312(0x3e7)]['filter'](_0x4929a9=>!_0x14e7a3(_0x4929a9));if(_0x432eae['length']>0x0){const _0x1ce53d=_0x432eae[_0x2c7312(0x141)](_0x511723=>{const _0x2537da=_0x2c7312,_0xe1b0fa=_0x2d695a[_0x2537da(0x382)](_0x511723),_0x18b1bf=_0x2d695a[_0x2537da(0x376)](_0x511723);return _0x3a5f20(_0xe1b0fa,_0x18b1bf);});_0x296e25[_0x2c7312(0x221)](''),_0x296e25[_0x2c7312(0x221)](_0x2c7312(0x1d9)),_0x296e25[_0x2c7312(0x221)](_0x220172(_0x1ce53d));}}const _0x358776=(_0x480b6e[_0x2c7312(0x29e)]||[])[_0x2c7312(0x9c)](_0x3f631e=>!_0x14e7a3(_0x3f631e));if(_0x358776['length']>0x0){const _0x327b53=_0x358776[_0x2c7312(0x141)](_0x3d733f=>{const _0x1d5ec7=_0x2c7312,_0x347904=_0x2d695a[_0x1d5ec7(0x106)](_0x3d733f),_0x5d847e=_0x2d695a[_0x1d5ec7(0x298)](_0x3d733f);return _0x3a5f20(_0x347904,_0x5d847e);});_0x296e25[_0x2c7312(0x221)](''),_0x296e25[_0x2c7312(0x221)](_0x2c7312(0x2fe)),_0x296e25[_0x2c7312(0x221)](_0x220172(_0x327b53));}return _0x296e25['join']('\x0a')+'\x0a';},'subcommandTerm':_0x3d711f=>{const _0x3ee925=a2_0x6d4204,_0x39e587=(_0x3d711f['registeredArguments']||[])['map'](_0x2e9595=>_0x2e9595[_0x3ee925(0x2be)]?'<'+_0x2e9595[_0x3ee925(0x24c)]()+'>':'['+_0x2e9595[_0x3ee925(0x24c)]()+']')[_0x3ee925(0x3e8)]('\x20'),_0x2043b=_0x3d711f['aliases'](),_0x338b99=_0x2043b['length']>0x0?_0x3d711f[_0x3ee925(0x24c)]()+',\x20'+_0x2043b[_0x3ee925(0x3e8)](',\x20'):_0x3d711f['name']();return _0x39e587?_0x338b99+'\x20'+_0x39e587:_0x338b99;}}),program[a2_0x6d4204(0x3cc)](a2_0x6d4204(0x1f9),_0x5a5694=>{const _0x33c56b=a2_0x6d4204,_0x4b5360=_0x5a5694[_0x33c56b(0x355)]();if(_0x4b5360[_0x33c56b(0x3ca)]){const _0xff2913=resolve(_0x4b5360['directory']),_0x11314e=_0xff2913!==_0x4b5360['directory']?'\x20(resolved\x20to\x20'+_0xff2913+')':'';if(!existsSync(_0xff2913))throw new SDKError(ErrorCode[_0x33c56b(0x38b)],_0x33c56b(0x2fc)+_0x4b5360[_0x33c56b(0x3ca)]+_0x11314e,undefined,{'helpText':_0x33c56b(0x16b)});const _0x318f78=statSync(_0xff2913);if(!_0x318f78[_0x33c56b(0x235)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x4b5360['directory']+_0x11314e,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process[_0x33c56b(0x2e8)](_0xff2913);}if(!_0x4b5360[_0x33c56b(0x176)]){if(_0x4b5360[_0x33c56b(0x31a)])_0x4b5360[_0x33c56b(0x176)]=_0x33c56b(0x31a);else{if(_0x4b5360[_0x33c56b(0x318)])_0x4b5360[_0x33c56b(0x176)]=_0x33c56b(0x318);else{if(_0x4b5360[_0x33c56b(0x29d)])_0x4b5360[_0x33c56b(0x176)]=_0x33c56b(0x29d);else _0x4b5360[_0x33c56b(0x3d9)]&&(_0x4b5360[_0x33c56b(0x176)]=_0x33c56b(0x3d9));}}}if(_0x4b5360[_0x33c56b(0x1bb)])_0x4b5360[_0x33c56b(0x14c)]=LogLevel[_0x33c56b(0x123)];else{if(_0x4b5360[_0x33c56b(0x238)])_0x4b5360[_0x33c56b(0x14c)]=LogLevel[_0x33c56b(0x23b)];else _0x4b5360[_0x33c56b(0x14c)]===undefined&&(_0x4b5360[_0x33c56b(0x14c)]=LogLevel['INFO']);}});async function createTDXInstance(_0x15bd2d,{skipSiteMismatchCheck:skipSiteMismatchCheck=![]}={}){const _0x3727a5=a2_0x6d4204;let _0x207cfa;try{_0x207cfa=await GlobalContext[_0x3727a5(0x314)](_0x15bd2d,{'skipSiteMismatchCheck':skipSiteMismatchCheck});}catch(_0x10f037){return _0x10f037 instanceof SDKError?printSDKError(_0x10f037):console[_0x3727a5(0x37c)](a2_0x2eb431['red'](_0x3727a5(0x21b)+(_0x10f037 instanceof Error?_0x10f037[_0x3727a5(0x108)]:String(_0x10f037)))),gracefulExit(0x1),new Promise(()=>{});}_0x207cfa[_0x3727a5(0x353)](_0x15bd2d);const _0x470bc8=Number(_0x15bd2d[_0x3727a5(0x21a)]),_0x5226ae=!isNaN(_0x470bc8)&&_0x470bc8>0x0?_0x470bc8*0x3e8:undefined;return TDX[_0x3727a5(0x361)]({'site':_0x207cfa[_0x3727a5(0x1c1)],'apiKey':_0x207cfa[_0x3727a5(0x189)],'accessToken':_0x207cfa[_0x3727a5(0xbf)],'logLevel':_0x207cfa['logLevel'],'profile':_0x207cfa[_0x3727a5(0x19a)],'timeout':_0x5226ae});}const databaseCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2b1))[a2_0x6d4204(0x391)]('db')['description'](a2_0x6d4204(0xf9)),databaseListAction=async(_0x2ac4ad,_0x5d6823)=>{const _0x386b5b=a2_0x6d4204,_0x3052ae=new DatabasesCommand(),_0x2e3484=program[_0x386b5b(0x355)](),_0x4846c5=await createTDXInstance(_0x2e3484),_0x3da0de=await _0x3052ae[_0x386b5b(0xc7)]({'options':{..._0x2e3484,..._0x5d6823},'args':_0x2ac4ad?[_0x2ac4ad]:[],'tdx':_0x4846c5});gracefulExit(_0x3da0de);};databaseCmd['command']('list\x20[pattern]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x320))[a2_0x6d4204(0x98)](databaseListAction),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xc9),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x6d4204(0x98)](databaseListAction),program[a2_0x6d4204(0x3f2)]('chat\x20[message...]')['description'](a2_0x6d4204(0x20b))['option'](a2_0x6d4204(0x284),a2_0x6d4204(0x22b))[a2_0x6d4204(0x11f)]('--new',a2_0x6d4204(0x38d))[a2_0x6d4204(0x11f)]('--chat-id\x20<id>',a2_0x6d4204(0x3e6))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1ce),a2_0x6d4204(0x156))[a2_0x6d4204(0x98)](async(_0x731c2a,_0x2f992a)=>{const _0x4cd4b9=a2_0x6d4204,_0x32d7ba=program[_0x4cd4b9(0x355)](),_0x53e975=await createTDXInstance(_0x32d7ba);if(_0x731c2a[0x0]===_0x4cd4b9(0x361)){const _0x4f3ef8=new ChatCreateCommand();gracefulExit(await _0x4f3ef8['run']({'options':{..._0x32d7ba,..._0x2f992a},'args':_0x731c2a['slice'](0x1),'tdx':_0x53e975}));return;}const _0x4ddbb3=new ChatCommand(),_0x57ba4f=await _0x4ddbb3[_0x4cd4b9(0xc7)]({'options':{..._0x32d7ba,..._0x2f992a},'args':_0x731c2a,'tdx':_0x53e975});gracefulExit(_0x57ba4f);});const apiCmd=program['command'](a2_0x6d4204(0x362),{'hidden':!isApiCommandEnabled()})[a2_0x6d4204(0x259)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs\x20(opt-in)')['addHelpText']('after',a2_0x6d4204(0xd3))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x135),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x6d4204(0x3b8))[a2_0x6d4204(0x11f)]('--data\x20<data>',a2_0x6d4204(0x3b0))['option'](a2_0x6d4204(0x3e9),'Read\x20request\x20body\x20from\x20file')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x19c),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x2b10a9,_0x2d965f)=>{return _0x2d965f?[..._0x2d965f,_0x2b10a9]:[_0x2b10a9];})[a2_0x6d4204(0x11f)]('--type\x20<api_type>',a2_0x6d4204(0x36b),'td')[a2_0x6d4204(0x98)](async(_0x3dd799,_0x1c156b)=>{const _0x1d25d6=a2_0x6d4204;if(!isApiCommandEnabled()){console[_0x1d25d6(0x37c)](a2_0x2eb431[_0x1d25d6(0x229)](_0x1d25d6(0x33a))),console['error'](''),console[_0x1d25d6(0x37c)](_0x1d25d6(0x15d)),console[_0x1d25d6(0x37c)](_0x1d25d6(0x357)),console[_0x1d25d6(0x37c)](''),console[_0x1d25d6(0x37c)](a2_0x2eb431[_0x1d25d6(0x1e9)](_0x1d25d6(0x30e))),console[_0x1d25d6(0x37c)](''),console[_0x1d25d6(0x37c)](_0x1d25d6(0x236)),gracefulExit(0x1);return;}if(!_0x3dd799){apiCmd[_0x1d25d6(0x18a)]();return;}const _0x203ea9=new ApiCommand(),_0x3e6b9f=program[_0x1d25d6(0x355)](),_0x184aa5=await createTDXInstance(_0x3e6b9f),_0x19f62e=await _0x203ea9[_0x1d25d6(0xc7)]({'options':{..._0x3e6b9f,..._0x1c156b},'args':[_0x3dd799],'tdx':_0x184aa5});gracefulExit(_0x19f62e);});program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xfc))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x35a))[a2_0x6d4204(0xb7)](a2_0x6d4204(0x348),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20AI\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')[a2_0x6d4204(0x98)](async _0x42cfe9=>{const _0xce246d=a2_0x6d4204,_0x128b0b=new MCPCommand(),_0x3faa3b=program[_0xce246d(0x355)](),_0xaaa3c2=await createTDXInstance(_0x3faa3b),_0x390769=await _0x128b0b['run']({'options':{..._0x3faa3b,..._0x42cfe9},'args':[],'tdx':_0xaaa3c2});gracefulExit(_0x390769);});const tableCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x31a))[a2_0x6d4204(0xd4)]('Table\x20management\x20commands'),tableListAction=async(_0x31ac3b,_0x179631)=>{const _0x1328c2=a2_0x6d4204,_0x207f08=new TablesCommand(),_0x2ce3f0=program[_0x1328c2(0x355)](),_0x5f04ab=await createTDXInstance(_0x2ce3f0);_0x179631['in']&&(_0x179631['database']=_0x179631['in']);const _0xa7da=await _0x207f08[_0x1328c2(0xc7)]({'options':{..._0x2ce3f0,..._0x179631},'args':_0x31ac3b?[_0x31ac3b]:[],'tdx':_0x5f04ab});gracefulExit(_0xa7da);};tableCmd[a2_0x6d4204(0x3f2)]('list\x20[pattern]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3ae))[a2_0x6d4204(0x11f)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x6d4204(0x11f)]('--in\x20<database>',a2_0x6d4204(0x3b5))['action'](tableListAction),tableCmd[a2_0x6d4204(0x3f2)]('deleted')['description']('List\x20recoverable\x20deleted\x20tables\x20(last\x207\x20days)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x17e),a2_0x6d4204(0x26a))[a2_0x6d4204(0x11f)]('--cursor-id\x20<id>',a2_0x6d4204(0x319))[a2_0x6d4204(0x98)](async _0x3cfaaa=>{const _0xa9ca81=a2_0x6d4204,_0x2aff8f=new TableDeletedCommand(),_0x4f213a=program[_0xa9ca81(0x355)](),_0x37cb81=await createTDXInstance(_0x4f213a),_0x2fde2c=await _0x2aff8f[_0xa9ca81(0xc7)]({'options':{..._0x4f213a,..._0x3cfaaa},'args':[],'tdx':_0x37cb81});gracefulExit(_0x2fde2c);}),tableCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3a2))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x372))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xba),a2_0x6d4204(0x1a6))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xd5),a2_0x6d4204(0x23d))['action'](async(_0x5a02c3,_0x5aeb3c)=>{const _0x257d95=a2_0x6d4204,_0x798168=new TableRecoverCommand(),_0x3c2ec4=program[_0x257d95(0x355)](),_0x2d75e6=await createTDXInstance(_0x3c2ec4),_0x52f53b=await _0x798168[_0x257d95(0xc7)]({'options':{..._0x3c2ec4,..._0x5aeb3c},'args':[_0x5a02c3],'tdx':_0x2d75e6});gracefulExit(_0x52f53b);}),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xc5),{'hidden':!![]})['description'](a2_0x6d4204(0x3a6))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x31c),a2_0x6d4204(0x2a9))['option'](a2_0x6d4204(0x1c4),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x6d4204(0x98)](tableListAction),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x247))[a2_0x6d4204(0xd4)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x31c),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1c4),a2_0x6d4204(0x3b5))[a2_0x6d4204(0x98)](async(_0x582ea5,_0x49343b)=>{const _0x5d4946=a2_0x6d4204,_0x51e445=new ShowCommand(),_0x1a4bed=program['opts'](),_0x124fb0=await createTDXInstance(_0x1a4bed);_0x49343b['in']&&(_0x49343b[_0x5d4946(0x2b1)]=_0x49343b['in']);const _0x4314a0=await _0x51e445[_0x5d4946(0xc7)]({'options':{..._0x1a4bed,..._0x49343b},'args':_0x582ea5?[_0x582ea5]:[],'tdx':_0x124fb0});gracefulExit(_0x4314a0);}),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x39c))[a2_0x6d4204(0x391)](a2_0x6d4204(0x257))['description'](a2_0x6d4204(0x17b))['option'](a2_0x6d4204(0x31c),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x6d4204(0x11f)]('--in\x20<database>',a2_0x6d4204(0x3b5))[a2_0x6d4204(0x98)](async(_0x251089,_0x181978)=>{const _0x17c377=a2_0x6d4204,_0xb0f507=new DescribeCommand(),_0x893331=program[_0x17c377(0x355)](),_0x54a13d=await createTDXInstance(_0x893331);_0x181978['in']&&(_0x181978['database']=_0x181978['in']);const _0x41b80b=await _0xb0f507[_0x17c377(0xc7)]({'options':{..._0x893331,..._0x181978},'args':_0x251089?[_0x251089]:[],'tdx':_0x54a13d});gracefulExit(_0x41b80b);}),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2b2))['description'](a2_0x6d4204(0x223))['option'](a2_0x6d4204(0x31c),a2_0x6d4204(0x2ff))[a2_0x6d4204(0x11f)]('--in\x20<database>',a2_0x6d4204(0x3b5))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3b2),a2_0x6d4204(0x3ea))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3e9),a2_0x6d4204(0x1ad))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xc2),a2_0x6d4204(0xda))[a2_0x6d4204(0x98)](async(_0x58d192,_0x21f66f)=>{const _0x1af55f=a2_0x6d4204,_0x45abae=new QueryCommand(),_0x1cfe1b=program['opts'](),_0x339f8a=await createTDXInstance(_0x1cfe1b);_0x21f66f['in']&&(_0x21f66f[_0x1af55f(0x2b1)]=_0x21f66f['in']);const _0x314230=await _0x45abae[_0x1af55f(0xc7)]({'options':mergeCommandOptions(_0x1cfe1b,_0x21f66f),'args':_0x58d192?[_0x58d192]:[],'tdx':_0x339f8a});gracefulExit(_0x314230);});const segmentCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2ad))[a2_0x6d4204(0x391)]('sg')['description'](a2_0x6d4204(0x2c4)),segmentListAction=async(_0xe624c2,_0x48ad9c)=>{const _0x15db2f=a2_0x6d4204,_0x4b8735=new SegmentsCommand(),_0x2b2862=program[_0x15db2f(0x355)](),_0x46c3a9=await createTDXInstance(_0x2b2862),_0x3f6149=await _0x4b8735[_0x15db2f(0xc7)]({'options':{..._0x2b2862,..._0x48ad9c},'args':_0xe624c2?[_0xe624c2]:[],'tdx':_0x46c3a9});gracefulExit(_0x3f6149);};segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x169))['description'](a2_0x6d4204(0x270))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x15a),a2_0x6d4204(0x297))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x21f),a2_0x6d4204(0xdb),'10')[a2_0x6d4204(0xb7)](a2_0x6d4204(0x348),'\x0aNeeds\x20a\x20parent\x20segment\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x20Add\x20--format\x20json\x20for\x20machine\x20output.\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list\x20the\x20current\x20context\x20(folders\x20+\x20segments)\x0a\x20\x20tdx\x20sg\x20list\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20full\x20tree\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20find\x20every\x20segment/folder\x20whose\x20name\x20contains\x20\x22VIP\x22\x20(with\x20its\x20path)\x0a\x20\x20tdx\x20sg\x20list\x20\x22Q1\x20*\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wildcard\x20search\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20--format\x20json\x20\x20\x20\x20same,\x20as\x20JSON\x20for\x20jq/grep\x0a\x0aUse\x20a\x20printed\x20path\x20with\x20`tdx\x20sg\x20move`.')[a2_0x6d4204(0x98)](segmentListAction),program['command'](a2_0x6d4204(0x2c7),{'hidden':!![]})['description']('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')[a2_0x6d4204(0x11f)]('-r,\x20--recursive',a2_0x6d4204(0x1ff))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x21f),a2_0x6d4204(0xdb),'10')[a2_0x6d4204(0x98)](segmentListAction),segmentCmd[a2_0x6d4204(0x3f2)]('use\x20<path>',{'hidden':!![]})[a2_0x6d4204(0xd4)](a2_0x6d4204(0xab))[a2_0x6d4204(0x98)](async(_0x533171,_0x20a1cd)=>{const _0x179326=a2_0x6d4204,_0x43d03e=new SegmentUseCommand(),_0x1736be=program[_0x179326(0x355)](),_0xce0c17=await createTDXInstance(_0x1736be),_0x3a8318=await _0x43d03e['run']({'options':{..._0x1736be,..._0x20a1cd},'args':[_0x533171],'tdx':_0xce0c17});gracefulExit(_0x3a8318);});const segmentViewAction=async(_0x3e388b,_0x54a532)=>{const _0x29083e=a2_0x6d4204,_0x4edf7d=new SegmentViewCommand(),_0x39d47b=program[_0x29083e(0x355)](),_0x204f03=await createTDXInstance(_0x39d47b),_0x47001a=await _0x4edf7d[_0x29083e(0xc7)]({'options':{..._0x39d47b,..._0x54a532},'args':_0x3e388b?[_0x3e388b]:[],'tdx':_0x204f03});gracefulExit(_0x47001a);};segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x33f))[a2_0x6d4204(0xd4)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x203),'Open\x20segment\x20in\x20web\x20browser')[a2_0x6d4204(0x98)](segmentViewAction),segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x12a),{'hidden':!![]})[a2_0x6d4204(0x391)](a2_0x6d4204(0x15b))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x203),'Open\x20segment\x20in\x20web\x20browser')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3ed))['action'](segmentViewAction),segmentCmd[a2_0x6d4204(0x3f2)]('move\x20<segment...>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0xd2))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x2cf),a2_0x6d4204(0x16e))['option'](a2_0x6d4204(0x368),a2_0x6d4204(0x351))[a2_0x6d4204(0xb7)](a2_0x6d4204(0x348),'\x0aSegments\x20and\x20--folder\x20accept\x20a\x20numeric\x20ID\x20or\x20a\x20name/path,\x20resolved\x20(case-insensitive)\x0awithin\x20the\x20current\x20parent\x20segment.\x20Names\x20need\x20a\x20parent\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20ID\x0a\x20\x20tdx\x20sg\x20move\x20\x22VIP\x20Customers\x22\x20--folder\x20\x22Archive\x22\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20name\x0a\x20\x20tdx\x20sg\x20move\x20\x22Marketing/VIP\x20Customers\x22\x20--folder\x20\x22Marketing/Archive\x22\x20\x20\x20nested\x20path\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20--dry-run\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20preview,\x20no\x20changes\x0a\x0aDon\x27t\x20know\x20where\x20a\x20segment\x20lives\x20(or\x20the\x20name\x20is\x20nested)?\x20Find\x20it\x20first,\x20then\x20move\x20by\x20the\x20printed\x20path:\x0a\x20\x20tdx\x20sg\x20list\x20\x22<name>\x22\x20-r\x0aIf\x20a\x20bare\x20name\x20matches\x20several\x20segments,\x20the\x20move\x20refuses\x20and\x20lists\x20them\x20—\x20pass\x20the\x20intended\x20full\x20path\x20or\x20id.')[a2_0x6d4204(0x98)](async(_0x3c85db,_0x597745)=>{const _0x1af107=a2_0x6d4204,_0x6fdfda=new SegmentMoveCommand(),_0x58d039=program[_0x1af107(0x355)](),_0x4880eb=await createTDXInstance(_0x58d039),_0x107024=await _0x6fdfda[_0x1af107(0xc7)]({'options':{..._0x58d039,..._0x597745},'args':_0x3c85db,'tdx':_0x4880eb});gracefulExit(_0x107024);}),segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x1d4))['description'](a2_0x6d4204(0x3c4))[a2_0x6d4204(0x98)](async(_0x3881af,_0x3e1401)=>{const _0x1f94c6=a2_0x6d4204,_0x56c3f7=new SegmentDescCommand(),_0x2971ef=program[_0x1f94c6(0x355)](),_0x34f0cb=await createTDXInstance(_0x2971ef),_0x425fac=await _0x56c3f7[_0x1f94c6(0xc7)]({'options':{..._0x2971ef,..._0x3e1401},'args':_0x3881af?[_0x3881af]:[],'tdx':_0x34f0cb});gracefulExit(_0x425fac);}),segmentCmd['command'](a2_0x6d4204(0x2c1))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x250))['action'](async(_0x3db2bb,_0x2b54d6)=>{const _0x5314b2=a2_0x6d4204,_0x38da74=new SegmentShowCommand(),_0x47e93a=program[_0x5314b2(0x355)](),_0x1c46c5=await createTDXInstance(_0x47e93a),_0x50c18c=await _0x38da74[_0x5314b2(0xc7)]({'options':{..._0x47e93a,..._0x2b54d6},'args':_0x3db2bb?[_0x3db2bb]:[],'tdx':_0x1c46c5});gracefulExit(_0x50c18c);}),segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3ee),{'hidden':!![]})[a2_0x6d4204(0xd4)](a2_0x6d4204(0x369))[a2_0x6d4204(0x98)](async(_0x46b3aa,_0x1dfeab)=>{const _0xfd392d=a2_0x6d4204,_0x381145=new SegmentFolderListCommand(),_0x4a5e44=program[_0xfd392d(0x355)](),_0x3d5ea2=await createTDXInstance(_0x4a5e44),_0x2b14cf=await _0x381145[_0xfd392d(0xc7)]({'options':{..._0x4a5e44,..._0x1dfeab},'args':[_0x46b3aa],'tdx':_0x3d5ea2});gracefulExit(_0x2b14cf);});const folderCmd=segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x399),{'hidden':!![]})[a2_0x6d4204(0xd4)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x39b))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1d6))[a2_0x6d4204(0x98)](async(_0x460041,_0x4d2e0d)=>{const _0x25b2e7=a2_0x6d4204,_0x49a086=new SegmentFolderShowCommand(),_0x339b57=program[_0x25b2e7(0x355)](),_0xdffe13=await createTDXInstance(_0x339b57),_0x5f2c37=await _0x49a086[_0x25b2e7(0xc7)]({'options':{..._0x339b57,..._0x4d2e0d},'args':[_0x460041],'tdx':_0xdffe13});gracefulExit(_0x5f2c37);}),segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x16f))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x350))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x159),a2_0x6d4204(0xd8))[a2_0x6d4204(0x98)](async(_0x451dcd,_0x5c1b5e)=>{const _0x454f8a=a2_0x6d4204,_0x332d0f=new SegmentSQLCommand(),_0x233e82=program[_0x454f8a(0x355)](),_0x6c06c=await createTDXInstance(_0x233e82),_0x476ad2=await _0x332d0f[_0x454f8a(0xc7)]({'options':{..._0x233e82,..._0x5c1b5e},'args':_0x451dcd?[_0x451dcd]:[],'tdx':_0x6c06c});gracefulExit(_0x476ad2);}),segmentCmd['command'](a2_0x6d4204(0x287))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xb3))[a2_0x6d4204(0x98)](async(_0xbb5eb0,_0x474da0)=>{const _0x27582c=new SegmentFieldsCommand(),_0xf48c0=program['opts'](),_0x263a9d=await createTDXInstance(_0xf48c0),_0x40904f=await _0x27582c['run']({'options':{..._0xf48c0,..._0x474da0},'args':_0xbb5eb0?[_0xbb5eb0]:[],'tdx':_0x263a9d});gracefulExit(_0x40904f);}),segmentCmd[a2_0x6d4204(0x3f2)]('pull\x20[parent_or_file]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1d0))[a2_0x6d4204(0x11f)]('--dry-run',a2_0x6d4204(0x341))[a2_0x6d4204(0x98)](async(_0x4e42f8,_0x4465ff)=>{const _0x5613af=a2_0x6d4204,_0x14721b=new SegmentPullCommand(),_0x45b8ea=program['opts'](),_0x282a7b=await createTDXInstance(_0x45b8ea),_0x342b19=await _0x14721b[_0x5613af(0xc7)]({'options':{..._0x45b8ea,..._0x4465ff},'args':_0x4e42f8?[_0x4e42f8]:[],'tdx':_0x282a7b});gracefulExit(_0x342b19);}),segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x1fc))['description'](a2_0x6d4204(0x261))[a2_0x6d4204(0x11f)]('--dry-run',a2_0x6d4204(0x341))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x373),a2_0x6d4204(0xe8))[a2_0x6d4204(0x98)](async(_0x11058d,_0x398199)=>{const _0x57ec86=a2_0x6d4204,_0x2fb67f=new SegmentPushCommand(),_0x3abf74=program[_0x57ec86(0x355)](),_0x5508c3=await createTDXInstance(_0x3abf74),_0x5d579a=await _0x2fb67f['run']({'options':{..._0x3abf74,..._0x398199},'args':_0x11058d?[_0x11058d]:[],'tdx':_0x5508c3});gracefulExit(_0x5d579a);}),segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2dc))['description'](a2_0x6d4204(0x102))[a2_0x6d4204(0x98)](async(_0x319bf7,_0xffa174)=>{const _0x569d9f=a2_0x6d4204,_0x48cb7e=new SegmentValidateCommand(),_0x34dacb=program['opts'](),_0x25b0a4=await createTDXInstance(_0x34dacb),_0x13607a=await _0x48cb7e[_0x569d9f(0xc7)]({'options':{..._0x34dacb,..._0xffa174},'args':_0x319bf7?[_0x319bf7]:[],'tdx':_0x25b0a4});gracefulExit(_0x13607a);}),segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x20e),{'hidden':!![]})[a2_0x6d4204(0xd4)](a2_0x6d4204(0x127))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),a2_0x6d4204(0x167))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x151),a2_0x6d4204(0x374))['option'](a2_0x6d4204(0x3e5),'Filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x6d4204(0x272),a2_0x6d4204(0x3af))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2b0),a2_0x6d4204(0x273))['option'](a2_0x6d4204(0x39d),a2_0x6d4204(0x3cf))['option'](a2_0x6d4204(0x25b),a2_0x6d4204(0x3c8))[a2_0x6d4204(0x98)](async(_0x33ed30,_0x5cb4ec)=>{const _0x1f3038=a2_0x6d4204,_0x14989a=new SegmentCreateCommand(),_0xac99f1=program[_0x1f3038(0x355)](),_0x483e9a=await createTDXInstance(_0xac99f1),_0x4ed043=await _0x14989a[_0x1f3038(0xc7)]({'options':{..._0xac99f1,..._0x5cb4ec},'args':[_0x33ed30],'tdx':_0x483e9a});gracefulExit(_0x4ed043);}),segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x295),{'hidden':!![]})[a2_0x6d4204(0xd4)](a2_0x6d4204(0x131))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2ef),a2_0x6d4204(0x172))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),a2_0x6d4204(0x2e2))['option'](a2_0x6d4204(0x151),a2_0x6d4204(0x10e))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3e5),a2_0x6d4204(0x3f6))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x272),'Move\x20to\x20folder')[a2_0x6d4204(0x11f)]('--kind\x20<type>',a2_0x6d4204(0x273))[a2_0x6d4204(0x98)](async(_0x215474,_0x5812ae)=>{const _0x39eea=a2_0x6d4204,_0x54cb81=new SegmentUpdateCommand(),_0x33746a=program[_0x39eea(0x355)](),_0x410f8d=await createTDXInstance(_0x33746a),_0x2f3649=await _0x54cb81[_0x39eea(0xc7)]({'options':{..._0x33746a,..._0x5812ae},'args':[_0x215474],'tdx':_0x410f8d});gracefulExit(_0x2f3649);});const parentCmd=segmentCmd['command'](a2_0x6d4204(0x15f),{'hidden':!![]})[a2_0x6d4204(0xd4)](a2_0x6d4204(0x130)),parentListAction=async(_0x327b0a,_0x3ee0f8)=>{const _0x45defc=a2_0x6d4204,_0x379e64=new ParentSegmentListCommand(),_0x5605a2=program[_0x45defc(0x355)](),_0x5762ce=await createTDXInstance(_0x5605a2),_0xc73acd=await _0x379e64[_0x45defc(0xc7)]({'options':{..._0x5605a2,..._0x3ee0f8},'args':_0x327b0a?[_0x327b0a]:[],'tdx':_0x5762ce});gracefulExit(_0xc73acd);};parentCmd['command'](a2_0x6d4204(0x169))['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x6d4204(0x98)](parentListAction),segmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x146),{'hidden':!![]})[a2_0x6d4204(0xd4)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')[a2_0x6d4204(0x98)](parentListAction),parentCmd['command'](a2_0x6d4204(0x11d))[a2_0x6d4204(0xd4)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x305),a2_0x6d4204(0xa0))['action'](async(_0x4e54d4,_0x38f52d)=>{const _0x297d66=a2_0x6d4204,_0x530190=new ParentSegmentPullCommand(),_0x42ea1a=program[_0x297d66(0x355)](),_0xc8bf95=await createTDXInstance(_0x42ea1a),_0x26145a=await _0x530190[_0x297d66(0xc7)]({'options':{..._0x42ea1a,..._0x38f52d},'args':_0x4e54d4?[_0x4e54d4]:[],'tdx':_0xc8bf95});gracefulExit(_0x26145a);}),parentCmd['command'](a2_0x6d4204(0x377))['description']('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')['action'](async(_0x4f995a,_0x1c6731)=>{const _0x3b2974=new ParentSegmentPushCommand(),_0x302665=program['opts'](),_0x5ea76f=await createTDXInstance(_0x302665),_0x51f593=await _0x3b2974['run']({'options':{..._0x302665,..._0x1c6731},'args':_0x4f995a?[_0x4f995a]:[],'tdx':_0x5ea76f});gracefulExit(_0x51f593);}),parentCmd[a2_0x6d4204(0x3f2)]('validate\x20[file]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x245))['option']('--master',a2_0x6d4204(0x2a7))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xe6),a2_0x6d4204(0x226))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x12e),a2_0x6d4204(0x150))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3f8),a2_0x6d4204(0x283))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x19b),a2_0x6d4204(0x2d3),a2_0x6d4204(0x2f8))[a2_0x6d4204(0x98)](async(_0x4d05f3,_0x3f9eb5)=>{const _0x13b95b=a2_0x6d4204,_0x4c95f9=new ParentSegmentValidateCommand(),_0x177f6d=program[_0x13b95b(0x355)](),_0x5267ba=await createTDXInstance(_0x177f6d),_0x49451c=await _0x4c95f9[_0x13b95b(0xc7)]({'options':{..._0x177f6d,..._0x3f9eb5},'args':_0x4d05f3?[_0x4d05f3]:[],'tdx':_0x5267ba});gracefulExit(_0x49451c);}),parentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x38a))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x32f))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x277),'Show\x20master\x20table\x20sample\x20data')[a2_0x6d4204(0x11f)](a2_0x6d4204(0xe6),a2_0x6d4204(0x356))['option'](a2_0x6d4204(0x12e),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x6d4204(0x11f)]('--enriched',a2_0x6d4204(0x3b6))[a2_0x6d4204(0x11f)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x6d4204(0x2f8))[a2_0x6d4204(0x98)](async(_0x54059a,_0x445fbf)=>{const _0xa267c=a2_0x6d4204,_0x5149d8=new ParentSegmentPreviewCommand(),_0x39513a=program[_0xa267c(0x355)](),_0x19e47a=await createTDXInstance(_0x39513a),_0x240727=await _0x5149d8[_0xa267c(0xc7)]({'options':{..._0x39513a,..._0x445fbf},'args':_0x54059a?[_0x54059a]:[],'tdx':_0x19e47a});gracefulExit(_0x240727);}),parentCmd['command'](a2_0x6d4204(0x177))['description'](a2_0x6d4204(0x195))[a2_0x6d4204(0x98)](async(_0x38ad23,_0x5b550d)=>{const _0x259246=new ParentSegmentRunCommand(),_0x11726c=program['opts'](),_0x468055=await createTDXInstance(_0x11726c),_0x5e3d55=await _0x259246['run']({'options':{..._0x11726c,..._0x5b550d},'args':_0x38ad23?[_0x38ad23]:[],'tdx':_0x468055});gracefulExit(_0x5e3d55);});const parentSegmentCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x27e))[a2_0x6d4204(0x391)]('ps')['description'](a2_0x6d4204(0x3fd));parentSegmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xaf))[a2_0x6d4204(0x98)](parentListAction),parentSegmentCmd['command'](a2_0x6d4204(0x11d))['description']('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x6d4204(0x305),a2_0x6d4204(0x37a))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2f7),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x6d4204(0x98)](async(_0xbf0d90,_0x154508)=>{const _0x570192=a2_0x6d4204,_0x4fd371=new ParentSegmentPullCommand(),_0x51edb3=program[_0x570192(0x355)](),_0xf6313=await createTDXInstance(_0x51edb3),_0x5cb920=await _0x4fd371[_0x570192(0xc7)]({'options':{..._0x51edb3,..._0x154508},'args':_0xbf0d90?[_0xbf0d90]:[],'tdx':_0xf6313});gracefulExit(_0x5cb920);}),parentSegmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x371))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1c5))[a2_0x6d4204(0x98)](async(_0x40e094,_0x1d10e0)=>{const _0x58695d=a2_0x6d4204,_0x4ffb74=new ParentSegmentPushCommand(),_0x23036a=program['opts'](),_0x2464cb=await createTDXInstance(_0x23036a),_0x1a0e46=await _0x4ffb74[_0x58695d(0xc7)]({'options':{..._0x23036a,..._0x1d10e0},'args':_0x40e094?[_0x40e094]:[],'tdx':_0x2464cb});gracefulExit(_0x1a0e46);}),parentSegmentCmd['command'](a2_0x6d4204(0x13c))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x245))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x277),'Show\x20only\x20master\x20table\x20validation')['option'](a2_0x6d4204(0xe6),a2_0x6d4204(0x226))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x12e),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3f8),a2_0x6d4204(0x283))['option'](a2_0x6d4204(0x19b),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x6d4204(0x2f8))['action'](async(_0x5517a3,_0x68dfef)=>{const _0x90356f=a2_0x6d4204,_0x36071a=new ParentSegmentValidateCommand(),_0xc045c3=program['opts'](),_0x3f3513=await createTDXInstance(_0xc045c3),_0x1eef0a=await _0x36071a[_0x90356f(0xc7)]({'options':{..._0xc045c3,..._0x68dfef},'args':_0x5517a3?[_0x5517a3]:[],'tdx':_0x3f3513});gracefulExit(_0x1eef0a);}),parentSegmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x1d1))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x32f))[a2_0x6d4204(0x11f)]('--master',a2_0x6d4204(0xf5))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xe6),a2_0x6d4204(0x356))[a2_0x6d4204(0x11f)]('--behavior\x20[name]',a2_0x6d4204(0x29b))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3f8),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x19b),a2_0x6d4204(0x2d3),'-1d')[a2_0x6d4204(0x98)](async(_0x19db98,_0x4e1a2c)=>{const _0x5beac9=a2_0x6d4204,_0xe429da=new ParentSegmentPreviewCommand(),_0x284865=program[_0x5beac9(0x355)](),_0x5733dc=await createTDXInstance(_0x284865),_0x39822e=await _0xe429da[_0x5beac9(0xc7)]({'options':{..._0x284865,..._0x4e1a2c},'args':_0x19db98?[_0x19db98]:[],'tdx':_0x5733dc});gracefulExit(_0x39822e);}),parentSegmentCmd['command'](a2_0x6d4204(0x177))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x195))[a2_0x6d4204(0x98)](async(_0x4812a4,_0x26f491)=>{const _0xcedbdc=a2_0x6d4204,_0x333105=new ParentSegmentRunCommand(),_0x586858=program[_0xcedbdc(0x355)](),_0x5b983c=await createTDXInstance(_0x586858),_0x528116=await _0x333105[_0xcedbdc(0xc7)]({'options':{..._0x586858,..._0x26f491},'args':_0x4812a4?[_0x4812a4]:[],'tdx':_0x5b983c});gracefulExit(_0x528116);}),parentSegmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2f1))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xdd))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x19f),a2_0x6d4204(0x268))['option'](a2_0x6d4204(0x1fa),a2_0x6d4204(0x3be))['action'](async(_0x151db4,_0x16d84c)=>{const _0x3eb9ba=a2_0x6d4204,_0x15d0f3=new ParentSegmentFieldsCommand(),_0x2cf5ec=program[_0x3eb9ba(0x355)](),_0x53f4ef=await createTDXInstance(_0x2cf5ec),_0x3993a7=await _0x15d0f3[_0x3eb9ba(0xc7)]({'options':{..._0x2cf5ec,..._0x16d84c},'args':_0x151db4?[_0x151db4]:[],'tdx':_0x53f4ef});gracefulExit(_0x3993a7);}),parentSegmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x34e))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x25a))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x203),a2_0x6d4204(0xe9))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x19f),a2_0x6d4204(0x268))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1fa),a2_0x6d4204(0x3be))[a2_0x6d4204(0x98)](async(_0x365167,_0x4a3284)=>{const _0x246493=a2_0x6d4204,_0xdadb92=new ParentSegmentViewCommand(),_0xd4ce22=program[_0x246493(0x355)](),_0x58a753=await createTDXInstance(_0xd4ce22),_0x3b3b2e=await _0xdadb92['run']({'options':{..._0xd4ce22,..._0x4a3284},'args':_0x365167?[_0x365167]:[],'tdx':_0x58a753});gracefulExit(_0x3b3b2e);}),parentSegmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x20c))[a2_0x6d4204(0xd4)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x6d4204(0x11f)]('-o,\x20--output\x20<file>',a2_0x6d4204(0x37a))['option'](a2_0x6d4204(0x19f),a2_0x6d4204(0x268))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1fa),a2_0x6d4204(0x3be))['action'](async(_0x4f0fa5,_0x4798ff)=>{const _0x7695e5=new ParentSegmentDescCommand(),_0x5624fe=program['opts'](),_0x551963=await createTDXInstance(_0x5624fe),_0x185e2b=await _0x7695e5['run']({'options':{..._0x5624fe,..._0x4798ff},'args':_0x4f0fa5?[_0x4f0fa5]:[],'tdx':_0x551963});gracefulExit(_0x185e2b);}),parentSegmentCmd[a2_0x6d4204(0x3f2)]('sql\x20[name]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x380))[a2_0x6d4204(0x11f)]('--json','Output\x20as\x20JSON')[a2_0x6d4204(0x11f)]('--jsonl',a2_0x6d4204(0x3be))['action'](async(_0x249333,_0xc76442)=>{const _0x3e1520=a2_0x6d4204,_0x5ecdc3=new ParentSegmentSQLCommand(),_0x1efd59=program[_0x3e1520(0x355)](),_0x23da37=await createTDXInstance(_0x1efd59),_0x1db327=await _0x5ecdc3[_0x3e1520(0xc7)]({'options':{..._0x1efd59,..._0xc76442},'args':_0x249333?[_0x249333]:[],'tdx':_0x23da37});gracefulExit(_0x1db327);}),parentSegmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xd6))[a2_0x6d4204(0xd4)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x155),a2_0x6d4204(0x1bf))[a2_0x6d4204(0x11f)]('--json',a2_0x6d4204(0x268))['option'](a2_0x6d4204(0x1fa),a2_0x6d4204(0x3be))['action'](async(_0x1a9f45,_0x134605)=>{const _0x2939cd=a2_0x6d4204,_0x3e2947=new ParentSegmentShowCommand(),_0x5a85d2=program['opts'](),_0x142889=await createTDXInstance(_0x5a85d2),_0x5c6b2d=await _0x3e2947[_0x2939cd(0xc7)]({'options':{..._0x5a85d2,..._0x134605},'args':_0x1a9f45?[_0x1a9f45]:[],'tdx':_0x142889});gracefulExit(_0x5c6b2d);}),parentSegmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x118))[a2_0x6d4204(0xd4)]('Set\x20or\x20show\x20parent\x20segment\x20context')['action'](async(_0x5516a0,_0x78549b)=>{const _0x53f51d=a2_0x6d4204,_0x1bd53d=new UseCommand(),_0x293770=program[_0x53f51d(0x355)](),_0x1f0151=_0x5516a0?[_0x53f51d(0x21e),_0x5516a0]:[],_0x5544c7=await _0x1bd53d[_0x53f51d(0xc7)]({'options':{..._0x293770,..._0x78549b},'args':_0x1f0151,'tdx':null});gracefulExit(_0x5544c7);});const psRtCmd=parentSegmentCmd[a2_0x6d4204(0x3f2)]('rt')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x315));psRtCmd['command']('list\x20[pattern]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3bd))[a2_0x6d4204(0x98)](async(_0x25ceeb,_0x3e4dfb)=>{const _0x2849d4=a2_0x6d4204,_0x375fd7=new PSRtListCommand(),_0x4d96da=program[_0x2849d4(0x355)](),_0x5c57ce=await createTDXInstance(_0x4d96da),_0x4d80f0=await _0x375fd7[_0x2849d4(0xc7)]({'options':{..._0x4d96da,..._0x3e4dfb},'args':_0x25ceeb?[_0x25ceeb]:[],'tdx':_0x5c57ce});gracefulExit(_0x4d80f0);}),psRtCmd['command'](a2_0x6d4204(0x13c))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1a2))['action'](async(_0x54d047,_0x2d0c5f)=>{const _0x3db41b=new PSRtValidateCommand(),_0x1039ec=program['opts'](),_0x18868c=await createTDXInstance(_0x1039ec),_0x23dd04=await _0x3db41b['run']({'options':{..._0x1039ec,..._0x2d0c5f},'args':_0x54d047?[_0x54d047]:[],'tdx':_0x18868c});gracefulExit(_0x23dd04);}),psRtCmd[a2_0x6d4204(0x3f2)]('configuration_versions\x20[name]')['description']('Get\x20current\x20RT\x20configuration\x20version\x20status')['action'](async(_0x45e08e,_0x136276)=>{const _0x26b526=a2_0x6d4204,_0x3e7604=new PSRtConfigVersionCommand(),_0x4fab66=program[_0x26b526(0x355)](),_0x1fcde1=await createTDXInstance(_0x4fab66),_0x18f6aa=await _0x3e7604[_0x26b526(0xc7)]({'options':{..._0x4fab66,..._0x136276},'args':_0x45e08e?[_0x45e08e]:[],'tdx':_0x1fcde1});gracefulExit(_0x18f6aa);});const psRtJnCmd=psRtCmd['command']('jn')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x280));psRtJnCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x25f))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x219))[a2_0x6d4204(0x98)](async(_0x31a13a,_0x3b608b)=>{const _0x2fd38a=a2_0x6d4204,_0x566871=new PSRtJnListCommand(),_0x51222a=program[_0x2fd38a(0x355)](),_0x49ad67=await createTDXInstance(_0x51222a),_0x40698b=await _0x566871[_0x2fd38a(0xc7)]({'options':{..._0x51222a,..._0x3b608b},'args':_0x31a13a?[_0x31a13a]:[],'tdx':_0x49ad67});gracefulExit(_0x40698b);}),psRtJnCmd[a2_0x6d4204(0x3f2)]('pause_activations\x20<journeyId>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1d3))[a2_0x6d4204(0x98)](async(_0x2c4f6b,_0x148920)=>{const _0x512824=a2_0x6d4204,_0x3a5db6=new PSRtJnPauseCommand(),_0x1a45e4=program[_0x512824(0x355)](),_0x5dbcc5=await createTDXInstance(_0x1a45e4),_0x511a61=await _0x3a5db6[_0x512824(0xc7)]({'options':{..._0x1a45e4,..._0x148920},'args':[_0x2c4f6b],'tdx':_0x5dbcc5});gracefulExit(_0x511a61);}),psRtJnCmd['command'](a2_0x6d4204(0x208))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x240))[a2_0x6d4204(0x98)](async(_0x355e53,_0x383db3)=>{const _0x4da10c=a2_0x6d4204,_0x3824d9=new PSRtJnResumeCommand(),_0x23da9a=program[_0x4da10c(0x355)](),_0x29196a=await createTDXInstance(_0x23da9a),_0xfd15b4=await _0x3824d9['run']({'options':{..._0x23da9a,..._0x383db3},'args':[_0x355e53],'tdx':_0x29196a});gracefulExit(_0xfd15b4);});const parentRtCmd=parentCmd[a2_0x6d4204(0x3f2)]('rt',{'hidden':!![]})[a2_0x6d4204(0xd4)](a2_0x6d4204(0x315));parentRtCmd[a2_0x6d4204(0x3f2)]('list\x20[pattern]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3bd))[a2_0x6d4204(0x98)](async(_0x58dbf9,_0x56b53e)=>{const _0x5d8e63=a2_0x6d4204,_0x52ad4c=new PSRtListCommand(),_0x15c5a4=program[_0x5d8e63(0x355)](),_0x493569=await createTDXInstance(_0x15c5a4),_0x44bddb=await _0x52ad4c['run']({'options':{..._0x15c5a4,..._0x56b53e},'args':_0x58dbf9?[_0x58dbf9]:[],'tdx':_0x493569});gracefulExit(_0x44bddb);}),parentRtCmd[a2_0x6d4204(0x3f2)]('validate\x20[name]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1a2))[a2_0x6d4204(0x98)](async(_0x572069,_0x14e4b2)=>{const _0x49d912=a2_0x6d4204,_0x4bdb5b=new PSRtValidateCommand(),_0x4d3e2d=program[_0x49d912(0x355)](),_0x384981=await createTDXInstance(_0x4d3e2d),_0x428e3b=await _0x4bdb5b[_0x49d912(0xc7)]({'options':{..._0x4d3e2d,..._0x14e4b2},'args':_0x572069?[_0x572069]:[],'tdx':_0x384981});gracefulExit(_0x428e3b);});const psPzCmd=parentSegmentCmd[a2_0x6d4204(0x3f2)]('pz')['description']('Personalization\x20management');psPzCmd['command'](a2_0x6d4204(0x25f))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2db))[a2_0x6d4204(0x98)](async(_0x51a13e,_0x3508c2)=>{const _0x46d5d9=a2_0x6d4204,_0x273c87=new PSPzListCommand(),_0x11d520=program[_0x46d5d9(0x355)](),_0x472ab2=await createTDXInstance(_0x11d520),_0x359e4e=await _0x273c87[_0x46d5d9(0xc7)]({'options':{..._0x11d520,..._0x3508c2},'args':_0x51a13e?[_0x51a13e]:[],'tdx':_0x472ab2});gracefulExit(_0x359e4e);}),psPzCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x31f))['description']('Show\x20a\x20specific\x20realtime\x20personalization')[a2_0x6d4204(0x98)](async(_0x1a1a01,_0x5dda9e)=>{const _0x27f062=a2_0x6d4204,_0x5324c4=new PSPzShowCommand(),_0x5e8f25=program[_0x27f062(0x355)](),_0xa512c=await createTDXInstance(_0x5e8f25),_0x859b1d=await _0x5324c4[_0x27f062(0xc7)]({'options':{..._0x5e8f25,..._0x5dda9e},'args':[_0x1a1a01],'tdx':_0xa512c});gracefulExit(_0x859b1d);}),psPzCmd[a2_0x6d4204(0x3f2)]('delete\x20<personalization_id>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2eb))[a2_0x6d4204(0x98)](async(_0x3c3985,_0x2fed35)=>{const _0x1ff293=a2_0x6d4204,_0x1008a6=new PSPzDeleteCommand(),_0x9e37d6=program[_0x1ff293(0x355)](),_0x6523ae=await createTDXInstance(_0x9e37d6),_0xece5c5=await _0x1008a6[_0x1ff293(0xc7)]({'options':{..._0x9e37d6,..._0x2fed35},'args':[_0x3c3985],'tdx':_0x6523ae});gracefulExit(_0xece5c5);}),psPzCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x361))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x166))['option']('--name\x20<text>','Personalization\x20name')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),a2_0x6d4204(0x352))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1c6),a2_0x6d4204(0x1ec))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3a9),a2_0x6d4204(0xa4))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xf3),a2_0x6d4204(0x33b))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3c7),a2_0x6d4204(0x3ec))[a2_0x6d4204(0x98)](async _0x5e8533=>{const _0x35fb9d=a2_0x6d4204,_0x297a73=new PSPzCreateCommand(),_0x35fd82=program[_0x35fb9d(0x355)](),_0x1b12f0=await createTDXInstance(_0x35fd82),_0x4b9573=await _0x297a73['run']({'options':{..._0x35fd82,..._0x5e8533},'args':[],'tdx':_0x1b12f0});gracefulExit(_0x4b9573);}),psPzCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xa7))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x403))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x386),a2_0x6d4204(0x21d))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),a2_0x6d4204(0x352))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xf3),'Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x6d4204(0x11f)]('--file\x20<path>',a2_0x6d4204(0x3ec))['action'](async(_0x41c97e,_0x110b87)=>{const _0x1a35ba=new PSPzPatchCommand(),_0x2487ac=program['opts'](),_0x1d83ea=await createTDXInstance(_0x2487ac),_0x40295b=await _0x1a35ba['run']({'options':{..._0x2487ac,..._0x110b87},'args':[_0x41c97e],'tdx':_0x1d83ea});gracefulExit(_0x40295b);});const psPzServiceCmd=psPzCmd[a2_0x6d4204(0x3f2)]('service')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x35b));psPzServiceCmd['command'](a2_0x6d4204(0x25f))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x147))[a2_0x6d4204(0x98)](async(_0x5eaa10,_0x5aa465)=>{const _0x2a3568=a2_0x6d4204,_0x2f82c9=new PSPzServiceListCommand(),_0x3fca56=program[_0x2a3568(0x355)](),_0x126ac3=await createTDXInstance(_0x3fca56),_0x4c7e27=await _0x2f82c9[_0x2a3568(0xc7)]({'options':{..._0x3fca56,..._0x5aa465},'args':_0x5eaa10?[_0x5eaa10]:[],'tdx':_0x126ac3});gracefulExit(_0x4c7e27);}),psPzServiceCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x12d))['description'](a2_0x6d4204(0x198))['option'](a2_0x6d4204(0x1d5),a2_0x6d4204(0x29c))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xe3),a2_0x6d4204(0x404))['action'](async(_0x2c20dd,_0x142048,_0x591f36)=>{const _0x21fd49=a2_0x6d4204,_0x29cdc5=new PSPzServiceCreateCommand(),_0x20f1c9=program[_0x21fd49(0x355)](),_0x449a88=await createTDXInstance(_0x20f1c9),_0x62381=await _0x29cdc5['run']({'options':{..._0x20f1c9,..._0x591f36},'args':_0x142048?[_0x2c20dd,_0x142048]:[_0x2c20dd],'tdx':_0x449a88});gracefulExit(_0x62381);}),psPzServiceCmd[a2_0x6d4204(0x3f2)]('show\x20<service_id>\x20[parent_segment]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3c0))[a2_0x6d4204(0x98)](async(_0x51168e,_0x5c491d,_0x4c77de)=>{const _0x1b67d8=a2_0x6d4204,_0x3e9160=new PSPzServiceShowCommand(),_0x5ab3d7=program[_0x1b67d8(0x355)](),_0x4eb2e8=await createTDXInstance(_0x5ab3d7),_0x56d67a=await _0x3e9160[_0x1b67d8(0xc7)]({'options':{..._0x5ab3d7,..._0x4c77de},'args':_0x5c491d?[_0x51168e,_0x5c491d]:[_0x51168e],'tdx':_0x4eb2e8});gracefulExit(_0x56d67a);}),psPzServiceCmd['command'](a2_0x6d4204(0x307))['description']('Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x6d4204(0x98)](async(_0x1f97ab,_0x59f959,_0x15be37)=>{const _0x1fcf01=a2_0x6d4204,_0x397242=new PSPzServiceDeleteCommand(),_0x581b1a=program[_0x1fcf01(0x355)](),_0x2575d2=await createTDXInstance(_0x581b1a),_0xbfa278=await _0x397242[_0x1fcf01(0xc7)]({'options':{..._0x581b1a,..._0x15be37},'args':_0x59f959?[_0x1f97ab,_0x59f959]:[_0x1f97ab],'tdx':_0x2575d2});gracefulExit(_0xbfa278);}),psPzServiceCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xf4))[a2_0x6d4204(0xd4)]('Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x6d4204(0x3e4)](a2_0x6d4204(0xba),a2_0x6d4204(0x366))['option'](a2_0x6d4204(0x1d5),a2_0x6d4204(0x1f5))[a2_0x6d4204(0x98)](async(_0x4db6cc,_0x39eddb,_0x3fd15e)=>{const _0x2ece1d=a2_0x6d4204,_0x1e679b=new PSPzServiceUpdateCommand(),_0x57e642=program[_0x2ece1d(0x355)](),_0x5de046=await createTDXInstance(_0x57e642),_0x3171fe=await _0x1e679b[_0x2ece1d(0xc7)]({'options':{..._0x57e642,..._0x3fd15e},'args':_0x39eddb?[_0x4db6cc,_0x39eddb]:[_0x4db6cc],'tdx':_0x5de046});gracefulExit(_0x3171fe);}),psPzServiceCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x11e))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x120))['action'](async(_0x5b5aa3,_0x182df2)=>{const _0x4eb476=a2_0x6d4204,_0x5999e4=new PSPzInitCommand(),_0x5d5427=program[_0x4eb476(0x355)](),_0x303623=await createTDXInstance(_0x5d5427),_0x3e945f=await _0x5999e4[_0x4eb476(0xc7)]({'options':{..._0x5d5427,..._0x182df2},'args':_0x5b5aa3?[_0x5b5aa3]:[],'tdx':_0x303623});gracefulExit(_0x3e945f);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3ce))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2c8));psPzServiceTokenCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xa2))['description'](a2_0x6d4204(0xbe))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xa6),a2_0x6d4204(0x20d))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),a2_0x6d4204(0x13a))[a2_0x6d4204(0x98)](async(_0x32497a,_0x2f71c3,_0xc6422,_0x26a742)=>{const _0x5c17ac=a2_0x6d4204,_0x4cc3e9=new PSPzServiceTokenCreateCommand(),_0x183ce9=program[_0x5c17ac(0x355)](),_0x4b863c=await createTDXInstance(_0x183ce9),_0x1ea03f=await _0x4cc3e9['run']({'options':{..._0x183ce9,..._0x26a742},'args':_0xc6422?[_0x32497a,_0x2f71c3,_0xc6422]:[_0x32497a,_0x2f71c3],'tdx':_0x4b863c});gracefulExit(_0x1ea03f);}),psPzServiceTokenCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2c5))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x190))['action'](async(_0x18fdba,_0x487d55,_0x39def8)=>{const _0xa74291=a2_0x6d4204,_0x55c5fc=new PSPzServiceTokenDeleteCommand(),_0x279ee8=program['opts'](),_0x3f0a5b=await createTDXInstance(_0x279ee8),_0x2fd0ca=await _0x55c5fc[_0xa74291(0xc7)]({'options':{..._0x279ee8,..._0x39def8},'args':_0x487d55?[_0x18fdba,_0x487d55]:[_0x18fdba],'tdx':_0x3f0a5b});gracefulExit(_0x2fd0ca);}),parentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3a1))['description'](a2_0x6d4204(0x3fc))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x1e2),a2_0x6d4204(0x394))[a2_0x6d4204(0x3e4)]('--table\x20<table>',a2_0x6d4204(0xb6))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),'Parent\x20segment\x20description')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x9d),a2_0x6d4204(0x3db))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3f9),a2_0x6d4204(0xc8))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3e2),a2_0x6d4204(0x134))['option'](a2_0x6d4204(0x385),'Attributes\x20as\x20JSON\x20string')['option'](a2_0x6d4204(0x1b4),a2_0x6d4204(0x3ef))[a2_0x6d4204(0x11f)]('--behaviors\x20<json>',a2_0x6d4204(0x407))['option'](a2_0x6d4204(0x370),a2_0x6d4204(0x119))['option']('--customer-group\x20<json>',a2_0x6d4204(0x209))['option'](a2_0x6d4204(0x107),a2_0x6d4204(0x116))[a2_0x6d4204(0x98)](async(_0x23bea8,_0x3c99a8)=>{const _0x510f39=a2_0x6d4204,_0x4c7327=new ParentSegmentCreateCommand(),_0xd7bd4b=program[_0x510f39(0x355)](),_0x4ebffa=await createTDXInstance(_0xd7bd4b),_0x393624=await _0x4c7327[_0x510f39(0xc7)]({'options':{..._0xd7bd4b,..._0x3c99a8},'args':[_0x23bea8],'tdx':_0x4ebffa});gracefulExit(_0x393624);}),parentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x212))['description'](a2_0x6d4204(0x1df))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),a2_0x6d4204(0x2e2))[a2_0x6d4204(0x11f)]('--schedule-type\x20<type>',a2_0x6d4204(0x3e1))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3f9),a2_0x6d4204(0x2e1))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3e2),'Updated\x20timezone')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1af),a2_0x6d4204(0x1ee))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x24f),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1be),a2_0x6d4204(0x1f2))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2f6),'Add\x20behaviors\x20from\x20JSON\x20file')[a2_0x6d4204(0x98)](async(_0x5dcd33,_0x4f02e4)=>{const _0x22fd9f=new ParentSegmentUpdateCommand(),_0x293bf8=program['opts'](),_0x46903d=await createTDXInstance(_0x293bf8),_0x472520=await _0x22fd9f['run']({'options':{..._0x293bf8,..._0x4f02e4},'args':[_0x5dcd33],'tdx':_0x46903d});gracefulExit(_0x472520);}),folderCmd['command'](a2_0x6d4204(0xaa))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xa1))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),'Folder\x20description')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3eb),a2_0x6d4204(0x308))[a2_0x6d4204(0x98)](async(_0x1c9e9a,_0x432429,_0x1ca7e5)=>{const _0x4fb5e7=a2_0x6d4204,_0x40c066=new SegmentFolderCreateCommand(),_0x136983=program[_0x4fb5e7(0x355)](),_0x4b536b=await createTDXInstance(_0x136983),_0x3b6104=await _0x40c066[_0x4fb5e7(0xc7)]({'options':{..._0x136983,..._0x1ca7e5},'args':[_0x1c9e9a,_0x432429],'tdx':_0x4b536b});gracefulExit(_0x3b6104);}),program['command'](a2_0x6d4204(0x1ae))['description']('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x6d4204(0x98)](async(_0x5baab0,_0x30666f)=>{const _0x2c14bc=a2_0x6d4204,_0x59d417=new ActivationsCommand(),_0x44c93d=program[_0x2c14bc(0x355)](),_0x962526=await createTDXInstance(_0x44c93d),_0x52fe6a=await _0x59d417[_0x2c14bc(0xc7)]({'options':{..._0x44c93d,..._0x30666f},'args':[_0x5baab0],'tdx':_0x962526});gracefulExit(_0x52fe6a);});function a2_0x1a8c(){const _0x1d20aa=['Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)','Create\x20a\x20scheduled\x20query','\x20-\x20built\x20','forEach','connection','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','timeout','Error:\x20','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Personalization\x20name','parent_segment','--max-depth\x20<depth>','--verbose','push','Workflow\x20project\x20management','Run\x20Trino\x20query\x20with\x20streaming\x20results','Include\x20raw\x20history\x20data\x20in\x20output','then','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--path\x20<folder>','journeys\x20[pattern]','red','Show\x20workspace\x20details','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','--temperature\x20<n>','966309fLFDuR','Change\x20to\x20directory\x20before\x20executing\x20command','Agent\x20prompt/instructions','Save\x20output\x20to\x20file','Assignee','links\x20<name>','Resume\x20a\x20paused\x20always-on\x20campaign','validate\x20[path]','isDirectory','For\x20setup\x20instructions,\x20see\x20https://tdx.treasuredata.com/guide/api-command-safety','Show\x20schedule\x20execution\x20history','debug','delete\x20<name-or-id>','Update\x20a\x20scheduled\x20query','DEBUG','Run\x20tests\x20for\x20an\x20LLM\x20agent','Restore\x20into\x20a\x20different\x20database\x20(use\x20on\x20409\x20db\x20conflict)','--color','information_schema','Resume\x20activations\x20in\x20an\x20RT\x20journey','Run\x20a\x20scheduled\x20query\x20immediately','Comma-separated\x20tags','List\x20all\x20available\x20profiles','5581572OkWFRT','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','push\x20[source-dir]','show\x20[table]','Kill\x20a\x20job','Allow\x20removing\x20audience\x20attributes/behaviors\x20not\x20in\x20local\x20YAML\x20(disabled\x20by\x20default)','2244560CtccbH','senders\x20[pattern]','name','p13n','length','--add-attributes-file\x20<file>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Pull\x20workflow\x20project\x20to\x20local\x20folder','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','Output\x20directory','List\x20journeys\x20in\x20current\x20context','--workspace\x20<name>','--timeout\x20<seconds>','desc','submit\x20[query]','summary','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--no-count-population','Launch\x20a\x20campaign','--type\x20<type>','isTTY','list\x20[name]','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Push\x20YAML\x20files\x20to\x20Treasure\x20AI\x20as\x20child\x20segments','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','195926WIovIk','disable\x20<id>','history\x20<name>','Enable\x20a\x20disabled\x20workflow\x20schedule','move\x20<name>\x20<status>','Output\x20as\x20JSON','-C,\x20--directory\x20<path>','Page\x20size\x201-100\x20(default\x2025)','resume\x20<name-or-path>','600QOyNTP','stdout','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Workspace\x20name\x20(required)','List\x20folders\x20and\x20segments;\x20with\x20-r\x20and\x20a\x20pattern,\x20search\x20the\x20whole\x20tree\x20by\x20name','unset\x20<resource>','--folder\x20<name>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','long','Resume\x20from\x20specific\x20task','-r,\x20--resume','--master','--attempt-id\x20<id>','push\x20[target]','Initial\x20status','List\x20composable\x20audiences','AI-native\x20work\x20management','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws).\x20Defaults\x20to\x20the\x20active\x20profile\x27s\x20site,\x20or\x20us01','parent-segment','Maximum\x20tool\x20iterations\x20(default:\x204)','RT\x20Journey\x20management','--method\x20<pm>','Push\x20without\x20confirmation','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--agent\x20<ref>','backup\x20<name>','noColor','fields\x20[parent_name]','line-imagemap-image','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Create\x20a\x20new\x20profile','schedules\x20[project.workflow]','--resume-from\x20<task>','Job\x20management\x20commands','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','List\x20secret\x20keys\x20for\x20a\x20project','columns\x20<name-or-path>','traffic\x20<name-or-path>','list\x20[project]','--email-sender-id\x20<id>','journey','update\x20<segment_name>','Validate\x20journey\x20YAML\x20files\x20locally','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20a\x20plain\x20string\x20matches\x20as\x20a\x20substring,\x20`*`\x20and\x20`?`\x20are\x20wildcards)\x20and\x20print\x20each\x20match\x20with\x20its\x20full\x20folder\x20path\x20for\x20use\x20with\x20`sg\x20move`','argumentDescription','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','--status\x20<status>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Service\x20description','jsonl','registeredArguments','Create\x20a\x20new\x20campaign','-y,\x20--yes','Resume\x20from\x20specific\x20task\x20(retry)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','List\x20activations\x20for\x20a\x20journey','\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\x20--refresh\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Force-refresh\x20MCP\x20servers\x20and\x20TD\x20skills\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\x0a\x0aTD\x20skills\x20and\x20the\x20td-docs\x20MCP\x20server\x20are\x20set\x20up\x20automatically,\x20skipping\x20whatever\x20is\x0aalready\x20in\x20place.\x20Skills\x20refresh\x20on\x20every\x20tdx\x20upgrade,\x20and\x20at\x20least\x20every\x20two\x20weeks.','Timezone\x20for\x20cron\x20(default:\x20UTC)','...','Show\x20only\x20master\x20table\x20validation','Delete\x20a\x20workspace','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Delay\x20in\x20seconds\x20before\x20execution','push\x20[path]','Run\x20specific\x20tests\x20(comma-separated)','segment','profiles','Pull\x20specific\x20campaign\x20by\x20name','--kind\x20<type>','database','query\x20[sql]','schedule','preview\x20<segment_name>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','statusline','--days\x20<n>','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','clone\x20[source-dir]','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','set','required','Include\x20retried\x20attempts','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','show\x20[segment_name]','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','--delay\x20<seconds>','CDP\x20segment\x20management\x20commands','delete\x20<token_id>\x20[parent_segment]','--engine-version\x20<version>','segments\x20[pattern]','Personalization\x20service\x20token\x20management','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','rmdir\x20<path>','Parse\x20and\x20validate\x20without\x20executing','run\x20<name>','Job\x20priority\x20(-2\x20to\x202)','cas','--folder\x20<folder>','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','stats\x20<name-or-path>','log\x20<chat-id>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','0.7','Query\x20type:\x20trino\x20or\x20hive','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','campaigns\x20[pattern]','-p,\x20--profile\x20<name>','--json-columns\x20<cols>','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','validate\x20[target]','Validate\x20composable\x20audience\x20YAML\x20files\x20locally','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','Updated\x20schedule\x20option','Updated\x20description','--include-retried','List\x20workflow\x20schedules\x20(alias\x20for\x20`schedule\x20list`)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Custom\x20revision\x20name\x20(default:\x20timestamp)','Create\x20a\x20new\x20document','chdir','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','--parent-segment-id\x20<id>','Delete\x20a\x20realtime\x20personalization','create\x20[name]','New\x20template\x20name','Reason\x20for\x20killing\x20the\x20attempt','--name\x20<new_name>','--last','fields\x20[name]','Destination\x20folder\x20in\x20DAM\x20(default:\x20root)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20token\x0a\x20\x20$\x20tdx\x20auth\x20token\x20--profile\x20production\x0a','duplicate\x20<name-or-id>','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--add-behaviors-file\x20<file>','-u,\x20--use','-1d','--assignee\x20<assignee>','--tsv','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Directory\x20does\x20not\x20exist:\x20','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Arguments:','Database\x20to\x20query\x20(default:\x20information_schema)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--force','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','-o,\x20--output\x20<file>','Trigger\x20on-demand\x20journey\x20workflow\x20execution','delete\x20<service_id>\x20[parent_segment]','Parent\x20folder\x20name\x20for\x20nested\x20folders','Delete\x20a\x20profile','Resume\x20scheduling\x20from\x20this\x20time\x20instead\x20of\x20the\x20schedule\x20definition\x20(ISO-8601,\x20e.g.\x202026-12-31T23:59:00+00:00)','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Template\x20name','Authentication\x20management','AI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf.\x20Ask\x20the\x20user,\x20or\x20use\x20a\x20structured\x20command\x20instead.','--priority\x20<-2~2>','workflow','Workspace\x20name','[attempt-id]','engage_workspace','createAsync','RT\x202.0\x20configuration\x20management','enable\x20<id>','pull\x20[workspace-name]','json','Resume\x20listing\x20after\x20this\x20table\x20id\x20(from\x20a\x20previous\x20page)','table','parse','-d,\x20--database\x20<database>','Show\x20journey\x20statistics','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','show\x20<personalization_id>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','List\x20available\x20LLM\x20models','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Access\x20control\x20policy\x20commands','--clear','log','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','--from\x20<date>','resume\x20<name-or-id>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','argv','Apply\x20a\x20template','finish\x20<name-or-id>','set\x20<key=value>','set\x20<args...>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Show\x20the\x20most\x20recent\x20chat','--github\x20<owner/repo>','Filter\x20by\x20parent\x20segment\x20ID\x20(numeric)','Pause\x20a\x20campaign','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Upload\x20workflow\x20project\x20to\x20Treasure\x20AI\x20(digdag-style)','Agent\x20description','pause\x20<name-or-path>','--max-tool-iterations\x20<n>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Error:\x20`tdx\x20api`\x20is\x20disabled\x20by\x20default\x20to\x20prevent\x20unintended\x20API\x20calls.','Sections\x20as\x20an\x20inline\x20JSON\x20array','tdx','Show\x20items\x20updated\x20within\x20N\x20days','attempt:','view\x20[segment_name]','Force\x20retry\x20even\x20if\x20not\x20failed','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Invalid\x20editor\x20type:\x20','usage','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','\x22.\x20Must\x20be\x20a\x20number.','--table','Create\x20a\x20new\x20LLM\x20project','after','media','history\x20[chat-id]','upgrade','List\x20all\x20versions\x20of\x20a\x20journey','Initialize\x20a\x20new\x20workspace','view\x20[name]','claude-4.5-sonnet','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Preview\x20the\x20move\x20without\x20changing\x20anything\x20(no\x20data\x20is\x20modified)','Personalization\x20description','injectIntoOptions','Target\x20directory\x20for\x20YAML\x20files','opts','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Prefer\x20typed\x20commands\x20—\x20run\x20`tdx\x20--help`\x20to\x20see\x20them.','clear','--backfill','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Personalization\x20service\x20management','setup','--tags\x20<tags>','create\x20<name-or-path>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Email\x20template\x20management','create','api\x20[endpoint]','subcommandDescription','Show\x20connection\x20details\x20by\x20name','Show\x20agent\x20details','New\x20service\x20name','version','--dry-run','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','agent','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Show\x20always-on\x20campaign\x20details','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Create\x20a\x20directory\x20in\x20Engage\x20DAM','--from\x20<timestamp>','--behaviors-file\x20<file>','push\x20[name]','Recover\x20a\x20deleted\x20table\x20by\x20id','--delete','Filtering\x20rule\x20as\x20JSON\x20string','Read\x20query\x20from\x20file','optionDescription','push\x20[file]','--start-at\x20<datetime>','launch\x20<name-or-id>','Output\x20file\x20path','--next','error','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','--body\x20<body>','Pull\x20specific\x20revision\x20(default:\x20latest)','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Delivery\x20operations\x20(email\x20senders)','optionTerm','users','Resume\x20a\x20conversation\x20(shows\x20selector)','--attributes\x20<json>','--name\x20<text>','LLM\x20project\x20management','Task\x20name\x20for\x20logs\x20action','Composable\x20audience\x20name','preview\x20[file]','INVALID_ARGUMENT','attempts\x20[project]','Start\x20a\x20new\x20chat\x20session','Maximum\x20number\x20of\x20nodes','pull\x20[workspace]','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','alias','Push\x20YAML\x20files\x20to\x20CAS\x20API','Preview\x20without\x20creating\x20the\x20project','Master\x20database\x20name','Pause\x20a\x20running\x20journey','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','delete\x20<name>','folder','Submit\x20a\x20job','show\x20<folder_ref>','describe\x20[table]','--invisible','--name\x20<new-name>','status','CDP\x20Journey\x20Orchestration\x20commands','create\x20<name>','recover\x20<id>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','--from-task\x20<task>','kill','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','workspaces\x20[pattern]','show\x20<name-or-id>','--folder-id\x20<id>','End\x20time\x20filter\x20(ISO\x208601\x20format)','_list-commands','HTML\x20template\x20content','Setup\x20API\x20key\x20authentication\x20interactively','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Folder\x20name\x20for\x20organization','Request\x20body\x20as\x20JSON\x20string','--schedule-id\x20<id>','--catalog\x20<catalog>','connections','--subject\x20<subject>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Delete\x20a\x20campaign','GET','engage','run\x20<name-or-path>','1984435IiWlFZ','--system-prompt\x20<text>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Output\x20as\x20JSON\x20Lines','show\x20<job-id>','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','list\x20[project.workflow]','outputHelp','--account-name\x20<name>','Show\x20segment\x20schema\x20(column\x20types)','gitRevision','pull\x20[project]\x20[agent-name]','--file\x20<path>','Skip\x20population\x20counting','Result\x20output\x20destination\x20URL','directory','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','hook','--to\x20<date>','token','Make\x20segment\x20invisible\x20(default:\x20visible)','User\x20management\x20commands','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20AI','--no-color','tasks','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','\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','jobs','tsv','Validate\x20always-on\x20campaign\x20YAML\x20files','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Force\x20an\x20MCP\x20server\x20and\x20TD\x20skills\x20refresh\x20(normally\x20automatic)','--refresh','Preview\x20changes\x20without\x20writing\x20files','-a,\x20--agent\x20<name>','sessions\x20[project]','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--timezone\x20<tz>','template','requiredOption','--rule-file\x20<file>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','options','join','-f,\x20--file\x20<path>','Trino\x20catalog\x20(default:\x20td)','--parent-folder\x20<name>','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','Show\x20segment\x20details\x20(alias\x20for\x20view)','folders\x20<parent_name>','Attributes\x20from\x20JSON\x20file','Agent\x20name','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','command','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','work','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','--reason\x20<text>','--enriched','--schedule-option\x20<value>','replace','--default','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Parent\x20segment\x20management','show\x20<agent-name>','pull\x20<project>\x20[target-dir]','Manage\x20workflow\x20schedules\x20(enable/disable)','--name\x20<names>','Document\x20body\x20text','Update\x20a\x20realtime\x20personalization\x20entity','Make\x20service\x20public\x20(default:\x20private)','Include\x20subtasks\x20in\x20tasks\x20output','Starter\x20message','Behaviors\x20as\x20JSON\x20string','--html-file\x20<path>','action','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','catch','--yes','filter','--schedule-type\x20<type>','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','use\x20<project-name>','Output\x20file\x20path\x20(default:\x20<name>.yml)','Create\x20segment\x20folder','create\x20<name>\x20<service_id>\x20[parent_segment]','workflows\x20[project]','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','Read\x20HTML\x20template\x20from\x20file','--allowed-ips\x20<ips>','patch\x20<personalization_id>','Validate\x20template\x20YAML\x20files\x20locally','Pull\x20campaigns\x20to\x20YAML\x20files','create\x20<parent_name>\x20<folder_name>','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','types','Database\x20name','--include-subtasks','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','chats','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','--follow','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Include\x20retried\x20attempts\x20(for\x20list)','show\x20<policy>','Master\x20table\x20name','addHelpText','Workflow\x20(Digdag)\x20management\x20commands','--parent-segment\x20<name>','--name\x20<name>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','LINE\x20imagemap\x20image\x20management','Workflow\x20session\x20management','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','accessToken','Show\x20job\x20details','Overwrite\x20existing\x20profile','--limit\x20<rows>','Download\x20workflow\x20project\x20from\x20Treasure\x20AI','--retry-limit\x20<0~32>','tables\x20[pattern]','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','run','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','databases\x20[pattern]','Conflict\x20strategy:\x20ask\x20(default),\x20replace,\x20keep','Enable\x20UTM\x20tracking','claude\x20[args...]','Show\x20document\x20details','Show\x20journey\x20details','Update\x20an\x20always-on\x20campaign','\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','campaign','Safely\x20move\x20one\x20or\x20more\x20segments\x20(by\x20ID\x20or\x20name)\x20to\x20a\x20folder\x20—\x20preserves\x20rules','\x0aDisabled\x20by\x20default.\x20See\x20https://tdx.treasuredata.com/guide/api-command-safety\x0afor\x20how\x20to\x20enable.\x0a\x0aAI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf\x20—\x20ask\x20them\x20first.\x0aPrefer\x20structured\x20commands;\x20they\x20validate\x20inputs\x20and\x20resolve\x20names\x20to\x20IDs.\x0a\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','description','--database\x20<database>','show\x20[name]','Campaign\x20description','YAML\x20file\x20path\x20for\x20unpushed\x20segment','System\x20prompt/instructions\x20(default:\x20empty)','Maximum\x20rows\x20to\x20display','Maximum\x20recursion\x20depth\x20(default:\x2010)','rm\x20<path>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','use\x20[project]','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','view\x20<name-or-path>','--public','-n,\x20--name\x20<name>','List\x20agents\x20in\x20current\x20project','--attribute\x20[name]','workspace','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Open\x20parent\x20segment\x20in\x20web\x20browser','\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\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Show\x20Kanban\x20board\x20view\x20of\x20tasks','Override\x20project\x20name','variadic','project','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Open\x20journey\x20in\x20web\x20browser','--sections\x20<json>','update\x20<service_id>\x20[parent_segment]','Show\x20master\x20table\x20sample\x20data','allowUnknownOption','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Database\x20management\x20commands','--plaintext\x20<text>','--full','mcp','update\x20<name-or-id>','1382238JvfQnq','Disable\x20a\x20workflow\x20schedule','download\x20<project-name>\x20[output-dir]','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--help','--editor-type\x20<type>','agents\x20[pattern]','argumentTerm','--customer-group-file\x20<file>','message','--all','--limit\x20<number>','update\x20<agent-name>','list','--llm-project\x20<name>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Starting\x20offset\x20(default:\x200)','Email\x20subject\x20template','Show\x20all\x20files\x20including\x20valid\x20ones','Delete\x20an\x20agent','Delete\x20a\x20scheduled\x20query','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','trino','Customer\x20group\x20from\x20JSON\x20file','auth','use\x20[name]','Behaviors\x20from\x20JSON\x20file','Export\x20journey(s)\x20as\x20YAML\x20files','Personalization\x20Studio\x20campaign\x20management','--priority\x20<priority>','pull\x20[name]','init\x20[name]','option','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','TRACE','Delete\x20a\x20file\x20from\x20Engage\x20DAM','--debug','Create\x20a\x20workspace','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','--site\x20<site>','188951sLGXfu','info\x20[segment_name]','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20AI','Clear\x20workflow\x20project\x20context','create\x20<name>\x20[parent_segment]','--behavior\x20[name]','Continue\x20most\x20recent\x20conversation','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','AI-native\x20CLI\x20for\x20Treasure\x20AI','New\x20campaign\x20name','Timezone\x20(e.g.,\x20America/Los_Angeles)','-X,\x20--method\x20<method>','Resume\x20a\x20paused\x20journey','flags','Update\x20an\x20email\x20template','Workflow\x20parameter\x20(repeatable)','Token\x20description','--enable-utm-tracking','validate\x20[name]','Show\x20timeline\x20for\x20specific\x20attempt','Delete\x20a\x20directory\x20from\x20Engage\x20DAM\x20(must\x20be\x20empty)','Include\x20all\x20items\x20(no\x20stale\x20filtering)','--num\x20<1-10>','map','new\x20<title>','mkdir\x20<path>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','commandUsage','parents\x20[pattern]','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20operation\x20timeout\x20in\x20seconds','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','--revision\x20<revision>','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','logLevel','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','--param\x20<key=value>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','--rule\x20<json>','retry\x20<session-id>','List\x20LINE\x20sender\x20accounts','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','--limit\x20<n>','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Ending\x20offset\x20(default:\x2020)','test\x20[path]','--path\x20<file-path>','-r,\x20--recursive','describe','upgrade\x20[version]','Raw\x20API\x20requests\x20bypass\x20tdx\x27s\x20structured\x20commands\x20and\x20safety\x20checks.','--prompt\x20<text>','parent','List\x20all\x20data\x20connections','Remove\x20API\x20key\x20from\x20system\x20keychain','Data\x20connection\x20management\x20(for\x20activations/exports)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','entries','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Segment\x20description','Query\x20engine\x20version','list\x20[pattern]','item','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','user','Skip\x20confirmation\x20prompt','Target\x20folder\x20(destination)\x20—\x20numeric\x20ID\x20or\x20name/path','sql\x20[segment_name]','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','--audience\x20<name>','New\x20segment\x20name','Preview\x20composable\x20segment\x20query\x20on\x20CDW','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','--skip-validation','format','run\x20[name]','commands','use\x20[resource]\x20[value]','Show\x20a\x20single\x20schedule\x20by\x20its\x20ID','Describe\x20table\x20schema','Commands:','Follow/watch\x20timeline\x20for\x20running\x20attempts','--page-size\x20<n>','subcommandTerm','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Generate\x20test\x20conversations\x20without\x20evaluation','beefree','Campaign\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','-v,\x20--verbose','New\x20workspace\x20name','LINE\x20sender\x20account\x20management','apiKey','help','List\x20workflow\x20schedules\x20(filter\x20by\x20project\x20or\x20project.workflow)','Always-on\x20campaign\x20management','buildTime','use\x20<name>','Get\x20job\x20results','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Resume\x20a\x20paused\x20campaign','Show\x20stats\x20for\x20specific\x20stage','Delete\x20an\x20LLM\x20project','Revision\x20name\x20(default:\x20timestamp)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','timeline\x20[project.workflow]','upload\x20<file>','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','profile','--interval\x20<range>','-H,\x20--header\x20<header>','LLM\x20project\x20to\x20use\x20(overrides\x20context)','open\x20<name>','--json','llm','--segment\x20<path>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','-o,\x20--output\x20<dir>','Delete\x20an\x20email\x20template','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Rename\x20the\x20recovered\x20table\x20(use\x20on\x20409\x20name\x20conflict)','secrets','Show\x20journey\x20table\x20column-to-step\x20mapping','Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Plaintext\x20template\x20content','-d,\x20--database\x20<db>','Read\x20SQL\x20query\x20from\x20file','activations\x20<segment_name>','--add-attributes\x20<json>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','[action]','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Pull\x20specific\x20template\x20by\x20name','--attributes-file\x20<file>','--reeval','--include-stats','logs','--no-eval','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--description\x20<desc>','trace','--session-time\x20<time>','list\x20[audience_name]','--add-behaviors\x20<json>','Limit\x20number\x20of\x20rows','versions\x20<name-or-path>','site','--kind\x20<kind>','--result\x20<url>','--in\x20<database>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--audience-id\x20<id>','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20always-on\x20campaigns','always-on-campaign','Campaign\x20management','Print\x20the\x20current\x20OAuth\x20access\x20token','Set\x20a\x20profile\x20configuration\x20value','Upload\x20an\x20image\x20to\x20Engage\x20DAM\x20(JPEG/PNG/GIF)','[EXPERIMENTAL]\x20Show\x20chat\x20log','--stream','-o,\x20--output\x20<folder>','Pull\x20child\x20segments\x20to\x20YAML\x20files','preview\x20[name]','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Pause\x20activations\x20in\x20an\x20RT\x20journey','desc\x20[segment_name]','--description\x20<text>','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Journey\x20version\x20management','Email\x20sender\x20ID\x20for\x20delivery','Options:','run\x20[workflow]','split','Pause\x20an\x20always-on\x20campaign','includes','Workspace\x20management','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','delete\x20<project-name-or-id>','Check\x20for\x20updates\x20without\x20installing','--database\x20<db>','--version','Usage:\x20','-f,\x20--force','Workspace\x20description','Preview\x20operation\x20without\x20executing','Version\x20number\x20to\x20view','yellow','Show\x20schedule\x20details','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Add\x20attributes\x20as\x20JSON\x20string','--to\x20<timestamp>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','find','Add\x20behaviors\x20as\x20JSON\x20string','stringify','--in\x20<db>','New\x20service\x20description','_hidden','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Delete\x20workflow\x20project\x20from\x20Treasure\x20AI','preAction','--jsonl','--cron\x20<expression>','push\x20[parent_or_file]','Campaign\x20type\x20(email\x20or\x20push)','--trace','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20substring,\x20with\x20`*`/`?`\x20wildcards)','argument','isArray','retry','-w,\x20--web',',\x20version\x20','--model\x20<name>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','ls\x20[path]','resume_activations\x20<journeyId>','Customer\x20group\x20as\x20JSON\x20string','Cron\x20expression\x20for\x20scheduling','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','desc\x20[name]','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','create\x20<segment_name>','board','Duplicate\x20a\x20campaign','Timezone\x20for\x20cron','update\x20<name>','Duplicate\x20an\x20always-on\x20campaign'];a2_0x1a8c=function(){return _0x1d20aa;};return a2_0x1a8c();}const workflowCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x310))[a2_0x6d4204(0x391)]('wf')[a2_0x6d4204(0xd4)](a2_0x6d4204(0xb8)),wfProjectCmd=workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xf0))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x222)),wfProjectListAction=async(_0x4353e7,_0x11cf3b)=>{const _0x31f24d=a2_0x6d4204,_0x5e143d=new WorkflowProjectsCommand(),_0x328619=program[_0x31f24d(0x355)](),_0x2a9e69=await createTDXInstance(_0x328619),_0x50ce09=await _0x5e143d[_0x31f24d(0xc7)]({'options':{..._0x328619,..._0x11cf3b},'args':_0x4353e7?[_0x4353e7]:[],'tdx':_0x2a9e69});gracefulExit(_0x50ce09);};wfProjectCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x99))[a2_0x6d4204(0x98)](wfProjectListAction),workflowCmd[a2_0x6d4204(0x3f2)]('projects\x20[pattern]')['description']('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x334ab0,_0x461dc9)=>{const _0x3c7562=a2_0x6d4204,_0x4de29e=new WorkflowWorkflowsCommand(),_0x10885d=program[_0x3c7562(0x355)](),_0x2c7115=await createTDXInstance(_0x10885d),_0x9623ec=await _0x4de29e['run']({'options':{..._0x10885d,..._0x461dc9},'args':_0x334ab0?[_0x334ab0]:[],'tdx':_0x2c7115});gracefulExit(_0x9623ec);};workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xa3))[a2_0x6d4204(0xd4)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x6d4204(0x98)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x6d4204(0x3f2)]('session')['description'](a2_0x6d4204(0xbd)),wfSessionListAction=async(_0x2b1400,_0x540046)=>{const _0x2e9b11=a2_0x6d4204,_0x881850=new WorkflowSessionsCommand(),_0x388821=program[_0x2e9b11(0x355)](),_0x5ce080=await createTDXInstance(_0x388821),_0xedfca6=await _0x881850['run']({'options':{..._0x388821,..._0x540046},'args':_0x2b1400?[_0x2b1400]:[],'tdx':_0x5ce080});gracefulExit(_0xedfca6);};wfSessionCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x292))[a2_0x6d4204(0xd4)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x29a),a2_0x6d4204(0x3f3))[a2_0x6d4204(0x11f)]('--from\x20<timestamp>',a2_0x6d4204(0x121))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1ef),a2_0x6d4204(0x3aa))['action'](wfSessionListAction),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3e0))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x181))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x29a),a2_0x6d4204(0x3f3))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x36f),a2_0x6d4204(0x121))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1ef),a2_0x6d4204(0x3aa))[a2_0x6d4204(0x98)](wfSessionListAction);const wfAttemptListAction=async(_0x583068,_0x5810a9)=>{const _0x18f4b7=a2_0x6d4204,_0x3f9ec4=new WorkflowAttemptsCommand(),_0x284f43=program['opts'](),_0x3c0a46=await createTDXInstance(_0x284f43),_0x5c226e=await _0x3f9ec4[_0x18f4b7(0xc7)]({'options':{..._0x284f43,..._0x5810a9},'args':_0x583068?[_0x583068]:[],'tdx':_0x3c0a46});gracefulExit(_0x5c226e);},attemptCmd=workflowCmd['command']('attempt')[a2_0x6d4204(0xd4)]('Workflow\x20attempt\x20management')[a2_0x6d4204(0x200)](a2_0x6d4204(0x312),'Attempt\x20ID')[a2_0x6d4204(0x200)](a2_0x6d4204(0x1b1),a2_0x6d4204(0x1f0))[a2_0x6d4204(0x200)]('[task-name]',a2_0x6d4204(0x388))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xae),a2_0x6d4204(0x405))['option'](a2_0x6d4204(0x3f7),a2_0x6d4204(0x2ee))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x28c),a2_0x6d4204(0x2a1))[a2_0x6d4204(0x11f)]('--params\x20<json>',a2_0x6d4204(0x3a3))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x301),a2_0x6d4204(0x340))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2e3),a2_0x6d4204(0xb4))[a2_0x6d4204(0x98)](async(_0x3387d8,_0x3898e0,_0x54128c,_0x1c5d55)=>{const _0x2e20f8=a2_0x6d4204;if(_0x3387d8==='list'){await wfAttemptListAction(_0x3898e0,_0x1c5d55);return;}if(!_0x3387d8){attemptCmd['help']();return;}const _0xb5ca48=program[_0x2e20f8(0x355)](),_0x344cb5=await createTDXInstance(_0xb5ca48);let _0x225293=0x0;if(!_0x3898e0){const _0x4b3224=new WorkflowAttemptCommand();_0x225293=await _0x4b3224['run']({'options':{..._0xb5ca48,..._0x1c5d55},'args':[_0x3387d8],'tdx':_0x344cb5});}else{if(_0x3898e0===_0x2e20f8(0x1b7)){const _0x5409ee=new WorkflowLogsCommand();_0x225293=await _0x5409ee[_0x2e20f8(0xc7)]({'options':{..._0xb5ca48,..._0x1c5d55},'args':_0x54128c?[_0x3387d8,_0x54128c]:[_0x3387d8],'tdx':_0x344cb5});}else{if(_0x3898e0===_0x2e20f8(0x3d3)){const _0x5ecda1=new WorkflowTasksCommand();_0x225293=await _0x5ecda1[_0x2e20f8(0xc7)]({'options':{..._0xb5ca48,..._0x1c5d55},'args':[_0x3387d8],'tdx':_0x344cb5});}else{if(_0x3898e0===_0x2e20f8(0x3a5)){const _0x5c9e66=new WorkflowKillCommand();_0x225293=await _0x5c9e66['run']({'options':{..._0xb5ca48,..._0x1c5d55},'args':[_0x3387d8],'tdx':_0x344cb5});}else{if(_0x3898e0===_0x2e20f8(0x202)){const _0x1d888a=new WorkflowRetryCommand();_0x225293=await _0x1d888a['run']({'options':{..._0xb5ca48,..._0x1c5d55},'args':[_0x2e20f8(0x33e)+_0x3387d8],'tdx':_0x344cb5});}else console[_0x2e20f8(0x37c)]('Unknown\x20action:\x20'+_0x3898e0),console[_0x2e20f8(0x37c)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x225293=0x1;}}}}gracefulExit(_0x225293);});attemptCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x292))['description'](a2_0x6d4204(0xdf))[a2_0x6d4204(0x11f)]('--include-retried',a2_0x6d4204(0x2bf))[a2_0x6d4204(0x98)](wfAttemptListAction),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x38c))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xec))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2e3),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x196))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x199))['option'](a2_0x6d4204(0xb2),a2_0x6d4204(0x17d))[a2_0x6d4204(0x11f)]('--session-id\x20<id>',a2_0x6d4204(0x2c0))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x278),a2_0x6d4204(0x13d))[a2_0x6d4204(0x98)](async(_0xff54ef,_0x2e7e9e)=>{const _0x504570=a2_0x6d4204,_0x9bc059=new WorkflowTimelineCommand(),_0xea88b9=program['opts'](),_0x379492=await createTDXInstance(_0xea88b9),_0x1a08da=await _0x9bc059[_0x504570(0xc7)]({'options':{..._0xea88b9,..._0x2e7e9e},'args':_0xff54ef?[_0xff54ef]:[],'tdx':_0x379492});gracefulExit(_0x1a08da);}),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x152))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2a2))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3a4),a2_0x6d4204(0x275))[a2_0x6d4204(0x11f)]('--params\x20<json>','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')['action'](async(_0x4082b6,_0x5571e0)=>{const _0x2ec88e=a2_0x6d4204,_0x3b2151=new WorkflowRetryCommand(),_0x2ad120=program[_0x2ec88e(0x355)](),_0x4ab5e8=await createTDXInstance(_0x2ad120),_0x106c58=await _0x3b2151['run']({'options':{..._0x2ad120,..._0x5571e0},'args':[_0x4082b6],'tdx':_0x4ab5e8});gracefulExit(_0x106c58);}),workflowCmd['command'](a2_0x6d4204(0x1da))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x396))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x14f),a2_0x6d4204(0x139),(_0x4661c5,_0x4bbfdc=[])=>[..._0x4bbfdc,_0x4661c5],[])[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1bc),a2_0x6d4204(0x1d2))[a2_0x6d4204(0x11f)]('--dry-run','Show\x20the\x20task\x20graph\x20and\x20side-effect\x20warnings\x20without\x20executing')['action'](async(_0xc3b170,_0x56aabe)=>{const _0x1e207d=a2_0x6d4204,_0x393510=new WorkflowRunCommand(),_0x4857fd=program[_0x1e207d(0x355)](),_0x532e35=await createTDXInstance(_0x4857fd),_0x313e9d=await _0x393510['run']({'options':{..._0x4857fd,..._0x56aabe},'args':_0xc3b170?[_0xc3b170]:[],'tdx':_0x532e35});gracefulExit(_0x313e9d);}),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x100))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xc3))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x14a),a2_0x6d4204(0x2b5))[a2_0x6d4204(0x98)](async(_0x1bac21,_0x52420d,_0x5e2303)=>{const _0xc14639=a2_0x6d4204,_0x566617=new WorkflowDownloadCommand(),_0x433b0c=program[_0xc14639(0x355)](),_0x32e1c4=await createTDXInstance(_0x433b0c),_0x37dc59=await _0x566617[_0xc14639(0xc7)]({'options':{..._0x433b0c,..._0x5e2303},'args':[_0x1bac21,_0x52420d||'.'],'tdx':_0x32e1c4});gracefulExit(_0x37dc59);}),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3ff))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x251))[a2_0x6d4204(0x11f)]('--revision\x20<revision>',a2_0x6d4204(0x37f))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),a2_0x6d4204(0x3de))[a2_0x6d4204(0x98)](async(_0x12e523,_0x5cb987,_0x3471a0)=>{const _0x1ec140=a2_0x6d4204,_0x4bd314=new WorkflowPullCommand(),_0x1fc0bc=program[_0x1ec140(0x355)](),_0x2903da=await createTDXInstance(_0x1fc0bc),_0x279773=await _0x4bd314[_0x1ec140(0xc7)]({'options':{..._0x1fc0bc,..._0x3471a0},'args':_0x5cb987?[_0x12e523,_0x5cb987]:[_0x12e523],'tdx':_0x2903da});gracefulExit(_0x279773);}),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x246))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x12b))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x14a),a2_0x6d4204(0x2e6))[a2_0x6d4204(0x11f)]('--dry-run','Preview\x20changes\x20without\x20pushing')['option'](a2_0x6d4204(0x175),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x359),a2_0x6d4204(0x1a9))[a2_0x6d4204(0x98)](async(_0x186862,_0xd70332)=>{const _0xda9051=a2_0x6d4204,_0x1e1d87=new WorkflowPushCommand(),_0x3faf33=program[_0xda9051(0x355)](),_0x4b2c47=await createTDXInstance(_0x3faf33),_0x210d37=await _0x1e1d87[_0xda9051(0xc7)]({'options':{..._0x3faf33,..._0xd70332},'args':_0x186862?[_0x186862]:[],'tdx':_0x4b2c47});gracefulExit(_0x210d37);}),workflowCmd['command']('upload\x20[project-name-or-dir]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x335))[a2_0x6d4204(0x11f)]('--name\x20<name>',a2_0x6d4204(0xee))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x14a),a2_0x6d4204(0x194))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x175),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x6d4204(0x98)](async(_0xe72bb3,_0x1b20a4)=>{const _0x47a916=a2_0x6d4204,_0x130502=new WorkflowUploadCommand(),_0xdfbd20=program['opts'](),_0x415ccc=await createTDXInstance(_0xdfbd20),_0x5221ca=await _0x130502[_0x47a916(0xc7)]({'options':{..._0xdfbd20,..._0x1b20a4},'args':_0xe72bb3?[_0xe72bb3]:[],'tdx':_0x415ccc});gracefulExit(_0x5221ca);}),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2bb))['description']('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x6d4204(0x11f)](a2_0x6d4204(0xba),'Name\x20for\x20the\x20new\x20project\x20(required)')['option']('--revision\x20<revision>',a2_0x6d4204(0x2e6))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),a2_0x6d4204(0x393))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x175),'Skip\x20validation\x20of\x20.dig\x20files')['action'](async(_0x146b21,_0x147eb2)=>{const _0x86b045=a2_0x6d4204,_0xf6ab61=new WorkflowCloneCommand(),_0x1ff6cd=program[_0x86b045(0x355)](),_0x17c5d8=await createTDXInstance(_0x1ff6cd),_0x2ea718=await _0xf6ab61[_0x86b045(0xc7)]({'options':{..._0x1ff6cd,..._0x147eb2},'args':_0x146b21?[_0x146b21]:[],'tdx':_0x17c5d8});gracefulExit(_0x2ea718);}),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x1e0))['description'](a2_0x6d4204(0x1f8))['action'](async(_0x2f2ff4,_0x3accc8)=>{const _0x21fc76=new WorkflowDeleteCommand(),_0x5b4934=program['opts'](),_0x3a79ab=await createTDXInstance(_0x5b4934),_0x356740=await _0x21fc76['run']({'options':{..._0x5b4934,..._0x3accc8},'args':[_0x2f2ff4],'tdx':_0x3a79ab});gracefulExit(_0x356740);}),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xe0))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x303))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x324),a2_0x6d4204(0x12c))['action'](async(_0x478652,_0x23f4da)=>{const _0x2c5b20=a2_0x6d4204,_0x37eb47=new WorkflowUseCommand(),_0x5045e9=program[_0x2c5b20(0x355)](),_0x28c3c9=await createTDXInstance(_0x5045e9),_0x111861=await _0x37eb47[_0x2c5b20(0xc7)]({'options':{..._0x5045e9,..._0x23f4da},'args':_0x478652?[_0x478652]:[],'tdx':_0x28c3c9});gracefulExit(_0x111861);});const wfSecretsCmd=workflowCmd['command'](a2_0x6d4204(0x1a7))[a2_0x6d4204(0xd4)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x292))['description'](a2_0x6d4204(0x28f))[a2_0x6d4204(0x98)](async(_0x39c6d1,_0x936593)=>{const _0x5085b4=a2_0x6d4204,_0xec219b=new WorkflowSecretsListCommand(),_0xbb5e64=program[_0x5085b4(0x355)](),_0x2df626=await createTDXInstance(_0xbb5e64),_0x591262=await _0xec219b[_0x5085b4(0xc7)]({'options':{..._0xbb5e64,..._0x936593},'args':_0x39c6d1?[_0x39c6d1]:[],'tdx':_0x2df626});gracefulExit(_0x591262);}),wfSecretsCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x32e))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2d0))[a2_0x6d4204(0x98)](async(_0x50e87f,_0x355271)=>{const _0x21151f=a2_0x6d4204,_0x12e419=new WorkflowSecretsSetCommand(),_0x71bce3=program[_0x21151f(0x355)](),_0x361991=await createTDXInstance(_0x71bce3),_0x5ac3ff=await _0x12e419['run']({'options':{..._0x71bce3,..._0x355271},'args':_0x50e87f,'tdx':_0x361991});gracefulExit(_0x5ac3ff);}),wfSecretsCmd[a2_0x6d4204(0x3f2)]('delete\x20<args...>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0xc6))[a2_0x6d4204(0x98)](async(_0x56af08,_0x2f9ac0)=>{const _0x1c0573=a2_0x6d4204,_0x4d0737=new WorkflowSecretsDeleteCommand(),_0x1de031=program[_0x1c0573(0x355)](),_0x2a5282=await createTDXInstance(_0x1de031),_0xe1d73b=await _0x4d0737[_0x1c0573(0xc7)]({'options':{..._0x1de031,..._0x2f9ac0},'args':_0x56af08,'tdx':_0x2a5282});gracefulExit(_0xe1d73b);});const wfScheduleCmd=workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2b3))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x400));wfScheduleCmd['command'](a2_0x6d4204(0x316))['description'](a2_0x6d4204(0x266))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x359),'Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)')['option']('--next-time\x20<time>',a2_0x6d4204(0x30a))[a2_0x6d4204(0x98)](async(_0x4137c5,_0xea2c59)=>{const _0x30ddf3=a2_0x6d4204,_0x400828=new WorkflowScheduleEnableCommand(),_0x4b7078=program[_0x30ddf3(0x355)](),_0x2efede=await createTDXInstance(_0x4b7078),_0x54f4a6=await _0x400828['run']({'options':{..._0x4b7078,..._0xea2c59},'args':[_0x4137c5],'tdx':_0x2efede});gracefulExit(_0x54f4a6);}),wfScheduleCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x264))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xff))[a2_0x6d4204(0x98)](async(_0x4ddbd6,_0x3cd8e8)=>{const _0x348eb5=a2_0x6d4204,_0x16ee3a=new WorkflowScheduleDisableCommand(),_0x2ef945=program[_0x348eb5(0x355)](),_0x2092c=await createTDXInstance(_0x2ef945),_0x516742=await _0x16ee3a[_0x348eb5(0xc7)]({'options':{..._0x2ef945,..._0x3cd8e8},'args':[_0x4ddbd6],'tdx':_0x2092c});gracefulExit(_0x516742);});const wfSchedulesListAction=async(_0x22f8c3,_0x46fbd2)=>{const _0xe40bc=a2_0x6d4204,_0x510f1b=new WorkflowSchedulesCommand(),_0x514557=program[_0xe40bc(0x355)](),_0x4a437a=await createTDXInstance(_0x514557),_0x373624=await _0x510f1b[_0xe40bc(0xc7)]({'options':{..._0x514557,..._0x46fbd2},'args':_0x22f8c3?[_0x22f8c3]:[],'tdx':_0x4a437a});gracefulExit(_0x373624);};wfScheduleCmd['command'](a2_0x6d4204(0x3c1))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x18b))[a2_0x6d4204(0x11f)]('--schedule-id\x20<id>',a2_0x6d4204(0x17a))[a2_0x6d4204(0x98)](wfSchedulesListAction),workflowCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x28b))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2e4))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3b1),a2_0x6d4204(0x17a))[a2_0x6d4204(0x98)](wfSchedulesListAction);const jobCmd=program[a2_0x6d4204(0x3f2)]('job')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x28d)),jobListAction=async _0x4f734d=>{const _0x74c6e7=a2_0x6d4204,_0xa03a02=new JobListCommand(),_0x398d70=program[_0x74c6e7(0x355)](),_0x441722=await createTDXInstance(_0x398d70),_0xd42403=await _0xa03a02[_0x74c6e7(0xc7)]({'options':{..._0x398d70,..._0x4f734d},'args':[],'tdx':_0x441722});gracefulExit(_0xd42403);};jobCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x10c))['description']('List\x20jobs')[a2_0x6d4204(0x11f)]('--status\x20<status>',a2_0x6d4204(0x300))[a2_0x6d4204(0x98)](jobListAction),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3d8),{'hidden':!![]})[a2_0x6d4204(0xd4)](a2_0x6d4204(0x14d))[a2_0x6d4204(0x11f)]('--status\x20<status>',a2_0x6d4204(0x300))[a2_0x6d4204(0x98)](jobListAction),jobCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3bf))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xc0))[a2_0x6d4204(0x98)](async(_0x2af66b,_0xd87ae0)=>{const _0x5e8655=a2_0x6d4204,_0x4c1a5f=new JobShowCommand(),_0x172e87=program[_0x5e8655(0x355)](),_0x2df968=await createTDXInstance(_0x172e87),_0x210e1a=await _0x4c1a5f[_0x5e8655(0xc7)]({'options':{..._0x172e87,..._0xd87ae0},'args':[_0x2af66b],'tdx':_0x2df968});gracefulExit(_0x210e1a);}),jobCmd['command']('kill\x20<job-id>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x248))[a2_0x6d4204(0x98)](async(_0x3391bb,_0x26ed53)=>{const _0xf5c56e=a2_0x6d4204,_0x2a7920=new JobKillCommand(),_0x1371c2=program[_0xf5c56e(0x355)](),_0x34187f=await createTDXInstance(_0x1371c2),_0x38fb1f=await _0x2a7920['run']({'options':{..._0x1371c2,..._0x26ed53},'args':[_0x3391bb],'tdx':_0x34187f});gracefulExit(_0x38fb1f);}),jobCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x258))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x39a))[a2_0x6d4204(0x11f)]('--job-type\x20<type>',a2_0x6d4204(0x30b),a2_0x6d4204(0x115))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3e9),a2_0x6d4204(0x375))[a2_0x6d4204(0x11f)]('--database\x20<name>','Database\x20name\x20(default:\x20information_schema)',a2_0x6d4204(0x23f))['option']('--result\x20<target>',a2_0x6d4204(0x28e))[a2_0x6d4204(0x98)](async(_0x5488dd,_0x207954)=>{const _0x45971f=a2_0x6d4204,_0x2bc406=new JobSubmitCommand(),_0x5b3160=program[_0x45971f(0x355)](),_0x3e4c4a=await createTDXInstance(_0x5b3160),_0x1958ac=await _0x2bc406['run']({'options':{..._0x5b3160,..._0x207954},'args':_0x5488dd?[_0x5488dd]:[],'tdx':_0x3e4c4a});gracefulExit(_0x1958ac);}),jobCmd[a2_0x6d4204(0x3f2)]('result\x20<job-id>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x18f))['action'](async(_0x55da23,_0x4f5a0d)=>{const _0x350db9=a2_0x6d4204,_0x4582bc=new JobResultCommand(),_0x32e518=program[_0x350db9(0x355)](),_0x34e3c8=await createTDXInstance(_0x32e518),_0x358c13=await _0x4582bc[_0x350db9(0xc7)]({'options':{..._0x32e518,..._0x4f5a0d},'args':[_0x55da23],'tdx':_0x34e3c8});gracefulExit(_0x358c13);});const scheduleCmd=jobCmd['command'](a2_0x6d4204(0x2b3))[a2_0x6d4204(0xd4)]('Scheduled\x20query\x20management\x20commands');scheduleCmd['command'](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x299))[a2_0x6d4204(0x98)](async(_0x2e506c,_0x341c2f)=>{const _0x53814e=a2_0x6d4204,_0x3600f7=new ScheduleListCommand(),_0x1c39de=program[_0x53814e(0x355)](),_0x1c102e=await createTDXInstance(_0x1c39de),_0x1c6d2e=await _0x3600f7[_0x53814e(0xc7)]({'options':{..._0x1c39de,..._0x341c2f},'args':_0x2e506c?[_0x2e506c]:[],'tdx':_0x1c102e});gracefulExit(_0x1c6d2e);}),scheduleCmd[a2_0x6d4204(0x3f2)]('show\x20<name>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1ea))[a2_0x6d4204(0x98)](async(_0x12f89c,_0x199ac1)=>{const _0x1c294c=a2_0x6d4204,_0x267fd3=new ScheduleShowCommand(),_0x1c017e=program['opts'](),_0x39c45e=await createTDXInstance(_0x1c017e),_0x58e995=await _0x267fd3[_0x1c294c(0xc7)]({'options':{..._0x1c017e,..._0x199ac1},'args':[_0x12f89c],'tdx':_0x39c45e});gracefulExit(_0x58e995);}),scheduleCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3a1))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x215))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1ac),'Database\x20name\x20(required)')['option']('--in\x20<db>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x6d4204(0x3e4)]('-f,\x20--file\x20<path>',a2_0x6d4204(0x375))['option'](a2_0x6d4204(0x25d),a2_0x6d4204(0x2d5),a2_0x6d4204(0x115))['option'](a2_0x6d4204(0x1fb),a2_0x6d4204(0x20a))['option'](a2_0x6d4204(0x3e2),a2_0x6d4204(0x2a5))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2c3),a2_0x6d4204(0x2aa))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x30f),a2_0x6d4204(0x2cd))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xc4),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2c6),a2_0x6d4204(0x168))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1c3),a2_0x6d4204(0x3c9))[a2_0x6d4204(0x98)](async(_0x1800cb,_0x44a5de)=>{const _0x3cc2c8=a2_0x6d4204,_0x4a2d4f=new ScheduleCreateCommand(),_0x21684a=program[_0x3cc2c8(0x355)](),_0x1a02dd=await createTDXInstance(_0x21684a);_0x44a5de['in']&&(_0x44a5de[_0x3cc2c8(0x2b1)]=_0x44a5de['in']);const _0x5dc41f=await _0x4a2d4f[_0x3cc2c8(0xc7)]({'options':{..._0x21684a,..._0x44a5de},'args':[_0x1800cb],'tdx':_0x1a02dd});gracefulExit(_0x5dc41f);}),scheduleCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x212))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x23a))['option'](a2_0x6d4204(0x1ac),a2_0x6d4204(0xad))['option'](a2_0x6d4204(0x1f4),a2_0x6d4204(0x3b5))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3e9),a2_0x6d4204(0x375))['option'](a2_0x6d4204(0x25d),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x6d4204(0x11f)]('--cron\x20<expression>',a2_0x6d4204(0x20a))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3e2),a2_0x6d4204(0x211))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2c3),a2_0x6d4204(0x2aa))['option'](a2_0x6d4204(0x30f),a2_0x6d4204(0x2cd))['option'](a2_0x6d4204(0xc4),'Retry\x20limit\x20(0\x20to\x2032)')[a2_0x6d4204(0x11f)]('--engine-version\x20<version>',a2_0x6d4204(0x168))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1c3),a2_0x6d4204(0x3c9))[a2_0x6d4204(0x98)](async(_0x41909f,_0x566da7)=>{const _0x3fa7c9=a2_0x6d4204,_0x54e45c=new ScheduleUpdateCommand(),_0x4dc42b=program[_0x3fa7c9(0x355)](),_0x276457=await createTDXInstance(_0x4dc42b);_0x566da7['in']&&(_0x566da7['database']=_0x566da7['in']);const _0x345797=await _0x54e45c[_0x3fa7c9(0xc7)]({'options':{..._0x4dc42b,..._0x566da7},'args':[_0x41909f],'tdx':_0x276457});gracefulExit(_0x345797);}),scheduleCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x398))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x113))['action'](async(_0x1cc842,_0x457425)=>{const _0x1c21fa=a2_0x6d4204,_0x54ffae=new ScheduleDeleteCommand(),_0x3a4eff=program[_0x1c21fa(0x355)](),_0x292644=await createTDXInstance(_0x3a4eff),_0x190d2b=await _0x54ffae['run']({'options':{..._0x3a4eff,..._0x457425},'args':[_0x1cc842],'tdx':_0x292644});gracefulExit(_0x190d2b);}),scheduleCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2cc))['description'](a2_0x6d4204(0x241))[a2_0x6d4204(0x11f)]('--time\x20<iso8601>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')['option'](a2_0x6d4204(0x140),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x6d4204(0x98)](async(_0x31d8e4,_0x272fdb)=>{const _0x2b0910=a2_0x6d4204,_0x2f5f62=new ScheduleRunCommand(),_0x5f1050=program[_0x2b0910(0x355)](),_0x2becb3=await createTDXInstance(_0x5f1050),_0x1b08c8=await _0x2f5f62[_0x2b0910(0xc7)]({'options':{..._0x5f1050,..._0x272fdb},'args':[_0x31d8e4],'tdx':_0x2becb3});gracefulExit(_0x1b08c8);}),scheduleCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x265))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x237))[a2_0x6d4204(0x11f)]('--from\x20<n>',a2_0x6d4204(0x10f))[a2_0x6d4204(0x11f)]('--to\x20<n>',a2_0x6d4204(0x157))['action'](async(_0x52823d,_0x34f93d)=>{const _0x6a2bc6=a2_0x6d4204,_0x57b85e=new ScheduleHistoryCommand(),_0x5e1806=program[_0x6a2bc6(0x355)](),_0x46c4cd=await createTDXInstance(_0x5e1806),_0x29c8eb=await _0x57b85e['run']({'options':{..._0x5e1806,..._0x34f93d},'args':[_0x52823d],'tdx':_0x46c4cd});gracefulExit(_0x29c8eb);});const llmCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x1a0))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x339));llmCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x9f))[a2_0x6d4204(0xd4)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')['action'](async(_0x188734,_0x151ba4)=>{const _0x53f9af=a2_0x6d4204,_0x5ea6d0=new LLMUseCommand(),_0xaf8a17=program[_0x53f9af(0x355)](),_0x386bdc=await createTDXInstance(_0xaf8a17),_0x2a18e1=await _0x5ea6d0[_0x53f9af(0xc7)]({'options':{..._0xaf8a17,..._0x151ba4},'args':[_0x188734],'tdx':_0x386bdc});gracefulExit(_0x2a18e1);}),llmCmd[a2_0x6d4204(0x3f2)]('models')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x321))['action'](async _0xf8cc49=>{const _0x1fe074=a2_0x6d4204,_0x2d778e=new LLMModelsCommand(),_0x55f8f9=program['opts'](),_0x42a4c5=await createTDXInstance(_0x55f8f9),_0x17fd74=await _0x2d778e[_0x1fe074(0xc7)]({'options':{..._0x55f8f9,..._0xf8cc49},'args':[],'tdx':_0x42a4c5});gracefulExit(_0x17fd74);});const projectCmd=llmCmd[a2_0x6d4204(0x3f2)]('project')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x387)),llmProjectListAction=async(_0x2561f3,_0x5e0a63)=>{const _0xa912a6=a2_0x6d4204,_0x3fff11=new LLMProjectsCommand(),_0x3a2c3f=program[_0xa912a6(0x355)](),_0x592de4=await createTDXInstance(_0x3a2c3f),_0x4adec7=await _0x3fff11[_0xa912a6(0xc7)]({'options':{..._0x3a2c3f,..._0x5e0a63},'args':_0x2561f3?[_0x2561f3]:[],'tdx':_0x592de4});gracefulExit(_0x4adec7);};projectCmd['command'](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x289))[a2_0x6d4204(0x98)](llmProjectListAction),llmCmd[a2_0x6d4204(0x3f2)]('projects\x20[pattern]')['description'](a2_0x6d4204(0xb1))[a2_0x6d4204(0x98)](llmProjectListAction),projectCmd['command'](a2_0x6d4204(0x3a1))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x347))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),'Project\x20description')['action'](async(_0x30e9ae,_0x1ce8ed)=>{const _0x1d3430=a2_0x6d4204,_0x3fc34b=new LLMProjectCreateCommand(),_0x1c97d2=program[_0x1d3430(0x355)](),_0x3cc999=await createTDXInstance(_0x1c97d2),_0xfcc799=await _0x3fc34b[_0x1d3430(0xc7)]({'options':{..._0x1c97d2,..._0x1ce8ed},'args':[_0x30e9ae],'tdx':_0x3cc999});gracefulExit(_0xfcc799);}),projectCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x398))['description'](a2_0x6d4204(0x193))['action'](async(_0x33e20e,_0x52161f)=>{const _0x312572=a2_0x6d4204,_0x267ce0=new LLMProjectDeleteCommand(),_0x555036=program[_0x312572(0x355)](),_0x28fad0=await createTDXInstance(_0x555036),_0x377826=await _0x267ce0[_0x312572(0xc7)]({'options':{..._0x555036,..._0x52161f},'args':[_0x33e20e],'tdx':_0x28fad0});gracefulExit(_0x377826);}),projectCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x285))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x174))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1cf),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),a2_0x6d4204(0x260))[a2_0x6d4204(0x98)](async(_0x13a3ca,_0x4a681e)=>{const _0x4c0860=a2_0x6d4204,_0x3ee2cd=new LLMProjectBackupCommand(),_0x5881f6=program[_0x4c0860(0x355)](),_0x5e60a0=await createTDXInstance(_0x5881f6),_0x38b5fe=await _0x3ee2cd[_0x4c0860(0xc7)]({'options':{..._0x5881f6,..._0x4a681e},'args':[_0x13a3ca],'tdx':_0x5e60a0});gracefulExit(_0x38b5fe);}),projectCmd[a2_0x6d4204(0x3f2)]('restore\x20<folder>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1aa))['option'](a2_0x6d4204(0x39e),a2_0x6d4204(0x3d6))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')['action'](async(_0x29e664,_0x40e35a)=>{const _0x3f4b64=a2_0x6d4204,_0x3e11a5=new LLMProjectRestoreCommand(),_0x3cf0cf=program[_0x3f4b64(0x355)](),_0x4e6eb3=await createTDXInstance(_0x3cf0cf),_0x4516c2=await _0x3e11a5[_0x3f4b64(0xc7)]({'options':{..._0x3cf0cf,..._0x40e35a},'args':[_0x29e664],'tdx':_0x4e6eb3});gracefulExit(_0x4516c2);});const llmAgentListAction=async(_0x5eb340,_0xf77599)=>{const _0x1ca78d=a2_0x6d4204,_0x55d353=new LLMAgentsCommand(),_0x45313b=program[_0x1ca78d(0x355)](),_0x3c3454=await createTDXInstance(_0x45313b),_0x115c6e=await _0x55d353[_0x1ca78d(0xc7)]({'options':{..._0x45313b,..._0xf77599},'args':_0x5eb340?[_0x5eb340]:[],'tdx':_0x3c3454});gracefulExit(_0x115c6e);};llmCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x105))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2df))[a2_0x6d4204(0x98)](llmAgentListAction),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x105))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2df))['action'](llmAgentListAction),llmCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x34a))['description'](a2_0x6d4204(0x2d6))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2f0),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x6d4204(0x98)](async(_0x2a16c0,_0x1f9690)=>{const _0x39671b=a2_0x6d4204,_0x377526=new LLMHistoryCommand(),_0x107f4d=program[_0x39671b(0x355)](),_0x5f7c70=await createTDXInstance(_0x107f4d),_0x5c3ea3=await _0x377526[_0x39671b(0xc7)]({'options':{..._0x107f4d,..._0x1f9690},'args':_0x2a16c0?[_0x2a16c0]:[],'tdx':_0x5f7c70});gracefulExit(_0x5c3ea3);});isExperimentalAvailable()&&llmCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2d2))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1cd))['action'](async(_0x32961a,_0x5d9c96)=>{const _0x4de30c=a2_0x6d4204,_0x4fa9d6=new LLMLogCommand(),_0x139e05=program['opts'](),_0x20e3e0=await createTDXInstance(_0x139e05),_0x2990aa=await _0x4fa9d6[_0x4de30c(0xc7)]({'options':{..._0x139e05,..._0x5d9c96},'args':[_0x32961a],'tdx':_0x20e3e0});gracefulExit(_0x2990aa);});program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xcc))[a2_0x6d4204(0x343)]('[options]\x20--\x20[claude-code-args...]')[a2_0x6d4204(0xd4)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')['option']('-c,\x20--continue',a2_0x6d4204(0x12f))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x276),a2_0x6d4204(0x384))[a2_0x6d4204(0x11f)]('--no-proxy','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3dd),a2_0x6d4204(0x3dc))[a2_0x6d4204(0xf6)]()['allowExcessArguments'](!![])[a2_0x6d4204(0xb7)](a2_0x6d4204(0x348),a2_0x6d4204(0x2a4))[a2_0x6d4204(0x98)](async(_0x23f9fc,_0x4eaed3)=>{const _0x4faae7=a2_0x6d4204,_0x5266b3=program[_0x4faae7(0x355)](),_0x39c466=Array[_0x4faae7(0x201)](_0x23f9fc)?_0x23f9fc:[];if(_0x39c466[0x0]===_0x4faae7(0x2b8)){const _0x57eee0=new ClaudeStatuslineCommand(),_0x9e191e=await _0x57eee0[_0x4faae7(0xc7)]({'options':{..._0x5266b3,..._0x4eaed3},'args':_0x39c466['slice'](0x1),'tdx':null});gracefulExit(_0x9e191e);}if(_0x39c466[0x0]===_0x4faae7(0x343)){const _0x5af6e5=new ClaudeUsageCommand(),_0x504b20=await _0x5af6e5[_0x4faae7(0xc7)]({'options':{..._0x5266b3,..._0x4eaed3},'args':_0x39c466['slice'](0x1),'tdx':null});gracefulExit(_0x504b20);}const _0x1e060e=new ClaudeCommand(),_0x18e2d4=await createTDXInstance(_0x5266b3),_0xa54bcc=await _0x1e060e['run']({'options':{..._0x5266b3,..._0x4eaed3},'args':_0x39c466,'tdx':_0x18e2d4});gracefulExit(_0xa54bcc);}),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x179))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3f4))[a2_0x6d4204(0x11f)]('--clear','Clear\x20session\x20context')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3fb),a2_0x6d4204(0x2fb))[a2_0x6d4204(0x98)](async(_0x3889c0,_0x186d81,_0x3a9c45)=>{const _0x4c26d4=a2_0x6d4204,_0xc85887=new UseCommand(),_0x466705=program['opts'](),_0x42afe3=[];if(_0x3889c0)_0x42afe3[_0x4c26d4(0x221)](_0x3889c0);if(_0x186d81)_0x42afe3[_0x4c26d4(0x221)](_0x186d81);const _0x107c1e=_0x3889c0===_0x4c26d4(0x313),_0x4a4467=_0x107c1e?await createTDXInstance(_0x466705):null,_0x572479=await _0xc85887['run']({'options':{..._0x466705,..._0x3a9c45},'args':_0x42afe3,'tdx':_0x4a4467});gracefulExit(_0x572479);}),program['command']('status')[a2_0x6d4204(0xd4)]('Show\x20authentication\x20status\x20and\x20current\x20context')['action'](async _0x2282dc=>{const _0x5d7111=a2_0x6d4204,_0x1f093c=new StatusCommand(),_0x345904=program[_0x5d7111(0x355)](),_0x5ecb36={..._0x345904},_0x28fc32=await createTDXInstance(_0x345904,{'skipSiteMismatchCheck':!![]}),_0x31dc16=await _0x1f093c[_0x5d7111(0xc7)]({'options':{..._0x5ecb36,..._0x2282dc},'args':[],'tdx':_0x28fc32});gracefulExit(_0x31dc16);}),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x15c))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x262))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),a2_0x6d4204(0x1e1))['option'](a2_0x6d4204(0x37b),a2_0x6d4204(0x326))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x281),a2_0x6d4204(0xde))['action'](async(_0x8f3b80,_0x522189)=>{const _0x3bddea=a2_0x6d4204,_0x531c87=new UpgradeCommand(),_0x460cf1=program['opts'](),_0x39283e=await _0x531c87[_0x3bddea(0xc7)]({'options':{..._0x460cf1,..._0x522189},'args':_0x8f3b80?[_0x8f3b80]:[],'tdx':null});gracefulExit(_0x39283e);}),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x271))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x122))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3fb),a2_0x6d4204(0x1f7))[a2_0x6d4204(0x98)](async(_0x568fe5,_0x475457)=>{const _0x2e848a=a2_0x6d4204,_0xafe3c7=new UnsetCommand(),_0x5bae17=program[_0x2e848a(0x355)](),_0x17d016=await _0xafe3c7[_0x2e848a(0xc7)]({'options':{..._0x5bae17,..._0x475457},'args':[_0x568fe5],'tdx':null});gracefulExit(_0x17d016);}),program['command'](a2_0x6d4204(0xb0))[a2_0x6d4204(0xd4)]('Interactive\x20chat\x20selector')[a2_0x6d4204(0x11f)]('--last',a2_0x6d4204(0x330))[a2_0x6d4204(0x98)](async _0x484d51=>{const _0x3e9b00=a2_0x6d4204,_0x53bd75=new ChatsCommand(),_0x1f873c=program['opts'](),_0x15a5dd=await createTDXInstance(_0x1f873c),_0x172422=await _0x53bd75[_0x3e9b00(0xc7)]({'options':{..._0x1f873c,..._0x484d51},'args':[],'tdx':_0x15a5dd});gracefulExit(_0x172422);});const authCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x117))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x30d));async function runAuthStatusCommand(_0x35f1d3){const _0x35131a=a2_0x6d4204,_0x359eb4=new AuthStatusCommand(),_0x4fb72b=program[_0x35131a(0x355)](),_0x2d50cf=await createTDXInstance(_0x4fb72b,{'skipSiteMismatchCheck':!![]}),_0x103a65=await _0x359eb4[_0x35131a(0xc7)]({'options':{..._0x4fb72b,..._0x35f1d3},'args':[],'tdx':_0x2d50cf});gracefulExit(_0x103a65);}authCmd[a2_0x6d4204(0x98)](runAuthStatusCommand),authCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x39f))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x397))[a2_0x6d4204(0x98)](runAuthStatusCommand);async function authSetupAction(_0x25bd87){const _0x5d57c6=a2_0x6d4204,_0xb95db3=new AuthSetupCommand(),_0xd8711f=program['opts'](),_0x120a94=await createTDXInstance(_0xd8711f,{'skipSiteMismatchCheck':!![]}),_0x366507=await _0xb95db3[_0x5d57c6(0xc7)]({'options':{..._0xd8711f,..._0x25bd87},'args':[],'tdx':_0x120a94});gracefulExit(_0x366507);}authCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x35c))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3ad))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3c3),a2_0x6d4204(0x2e9))[a2_0x6d4204(0xb7)](a2_0x6d4204(0x348),'\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_0x6d4204(0x98)](authSetupAction),authCmd[a2_0x6d4204(0x3f2)]('login',{'hidden':!![]})['option']('--account-name\x20<name>',a2_0x6d4204(0x2e9))[a2_0x6d4204(0x98)](authSetupAction),authCmd['command'](a2_0x6d4204(0x3ce))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1ca))[a2_0x6d4204(0x11f)]('-p,\x20--profile\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)')['addHelpText']('after',a2_0x6d4204(0x2f3))[a2_0x6d4204(0x98)](async _0x355121=>{const _0x7c9e09=a2_0x6d4204,_0x90ab9e=new AuthTokenCommand(),_0x5a850c=mergeCommandOptions(program[_0x7c9e09(0x355)](),_0x355121),_0x95311e=await createTDXInstance(_0x5a850c),_0x38e31b=await _0x90ab9e[_0x7c9e09(0xc7)]({'options':_0x5a850c,'args':[],'tdx':_0x95311e});gracefulExit(_0x38e31b);}),authCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x358))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x161))[a2_0x6d4204(0xb7)](a2_0x6d4204(0x348),a2_0x6d4204(0x3d7))['action'](async _0x34ff00=>{const _0x2a995e=a2_0x6d4204,_0xfaba54=new AuthClearCommand(),_0x42c911=program['opts'](),_0x9b2c06=await _0xfaba54[_0x2a995e(0xc7)]({'options':{..._0x42c911,..._0x34ff00},'args':[],'tdx':null});gracefulExit(_0x9b2c06);});const userCmd=program['command'](a2_0x6d4204(0x16c))['description'](a2_0x6d4204(0x3d0)),userListAction=async _0x28daf8=>{const _0x1a3305=a2_0x6d4204,_0x5533e5=new UserListCommand(),_0x45a08c=program['opts'](),_0x2a518c=await createTDXInstance(_0x45a08c),_0x3fe692=await _0x5533e5[_0x1a3305(0xc7)]({'options':{..._0x45a08c,..._0x28daf8},'args':[],'tdx':_0x2a518c});gracefulExit(_0x3fe692);};userCmd[a2_0x6d4204(0x98)](async _0x161516=>{const _0x4008bf=a2_0x6d4204,_0x6e4519=new UserCommand(),_0x588465=program[_0x4008bf(0x355)](),_0x2c7961=await createTDXInstance(_0x588465),_0x3af60e=await _0x6e4519[_0x4008bf(0xc7)]({'options':{..._0x588465,..._0x161516},'args':[],'tdx':_0x2c7961});gracefulExit(_0x3af60e);}),userCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x10c))[a2_0x6d4204(0xd4)]('List\x20all\x20users\x20in\x20the\x20account')['action'](userListAction),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x383))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x14b))[a2_0x6d4204(0x98)](userListAction);const policyCmd=program['command']('policy')['description'](a2_0x6d4204(0x323));policyCmd[a2_0x6d4204(0x98)](async _0x537eaf=>{const _0x5f1049=a2_0x6d4204,_0x90e383=new PolicyCommand(),_0x2f7cb6=program[_0x5f1049(0x355)](),_0x1a04f2=await createTDXInstance(_0x2f7cb6),_0x15f8b0=await _0x90e383['run']({'options':{..._0x2f7cb6,..._0x537eaf},'args':[],'tdx':_0x1a04f2});gracefulExit(_0x15f8b0);}),policyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x10c))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2e0))[a2_0x6d4204(0x98)](async _0x16bba1=>{const _0x3cca97=a2_0x6d4204,_0x54eb55=new PolicyListCommand(),_0x45f4d0=program[_0x3cca97(0x355)](),_0x5d72bc=await createTDXInstance(_0x45f4d0),_0x24f4c7=await _0x54eb55[_0x3cca97(0xc7)]({'options':{..._0x45f4d0,..._0x16bba1},'args':[],'tdx':_0x5d72bc});gracefulExit(_0x24f4c7);}),policyCmd['command'](a2_0x6d4204(0xb5))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1ed))[a2_0x6d4204(0x98)](async(_0x39bd06,_0x54c5f2)=>{const _0x1897b8=a2_0x6d4204,_0x3854ac=new PolicyShowCommand(),_0x2e9b5d=program[_0x1897b8(0x355)](),_0x3b780c=await createTDXInstance(_0x2e9b5d),_0x289caf=await _0x3854ac[_0x1897b8(0xc7)]({'options':{..._0x2e9b5d,..._0x54c5f2},'args':[_0x39bd06],'tdx':_0x3b780c});gracefulExit(_0x289caf);}),program['command'](a2_0x6d4204(0x2ae))[a2_0x6d4204(0xd4)]('List\x20all\x20available\x20profiles')['action'](async _0x39f277=>{const _0x2129e6=a2_0x6d4204,_0x22c56a=new ProfilesCommand(),_0x3268e2=program[_0x2129e6(0x355)](),_0x23b4eb=await _0x22c56a[_0x2129e6(0xc7)]({'options':{..._0x3268e2,..._0x39f277},'args':[],'tdx':null});gracefulExit(_0x23b4eb);});const profileCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x19a))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2c2));profileCmd[a2_0x6d4204(0x98)](()=>{const _0x5d2139=a2_0x6d4204;profileCmd[_0x5d2139(0x3c2)]();});const profileListAction=async _0x2e7c6c=>{const _0x349259=a2_0x6d4204,_0x41c631=new ProfilesCommand(),_0x1f5ba0=program[_0x349259(0x355)](),_0x5a978e=await _0x41c631[_0x349259(0xc7)]({'options':{..._0x1f5ba0,..._0x2e7c6c},'args':[],'tdx':null});gracefulExit(_0x5a978e);};profileCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x10c))['description'](a2_0x6d4204(0x243))[a2_0x6d4204(0x98)](profileListAction),profileCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2ec))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x28a))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3c3),'Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1e5),a2_0x6d4204(0xc1))[a2_0x6d4204(0xb7)]('after',a2_0x6d4204(0xea))[a2_0x6d4204(0x98)](async(_0x17bf09,_0x5f4c5f)=>{const _0x40d94b=a2_0x6d4204,_0x276a9=new ProfileCreateCommand(),_0x30f7a3=program['opts'](),_0x451708=await _0x276a9[_0x40d94b(0xc7)]({'options':{..._0x30f7a3,..._0x5f4c5f},'args':_0x17bf09?[_0x17bf09]:[],'tdx':null});gracefulExit(_0x451708);});function a2_0x4d63(_0x299df9,_0x31545e){_0x299df9=_0x299df9-0x97;const _0x1a8cf7=a2_0x1a8c();let _0x4d63af=_0x1a8cf7[_0x299df9];return _0x4d63af;}async function profileDeleteAction(_0x1920de,_0x15c626){const _0x17d339=a2_0x6d4204,_0x3aa849=new ProfileDeleteCommand(),_0x3b529c=program[_0x17d339(0x355)](),_0x48f807=await _0x3aa849[_0x17d339(0xc7)]({'options':{..._0x3b529c,..._0x15c626},'args':[_0x1920de],'tdx':null});gracefulExit(_0x48f807);}profileCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x398))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x309))[a2_0x6d4204(0xb7)](a2_0x6d4204(0x348),a2_0x6d4204(0x206))[a2_0x6d4204(0x98)](profileDeleteAction),profileCmd['command']('remove\x20<name>',{'hidden':!![]})['action'](profileDeleteAction),profileCmd['command'](a2_0x6d4204(0x32d))['description'](a2_0x6d4204(0x1cb))[a2_0x6d4204(0xb7)](a2_0x6d4204(0x348),a2_0x6d4204(0xd0))[a2_0x6d4204(0x98)](async(_0x277ec7,_0x4fab53)=>{const _0xd9596c=a2_0x6d4204,_0x4ce994=new ProfileSetCommand(),_0x27629f=program[_0xd9596c(0x355)](),_0x394f96=await _0x4ce994[_0xd9596c(0xc7)]({'options':{..._0x27629f,..._0x4fab53},'args':[_0x277ec7],'tdx':null});gracefulExit(_0x394f96);}),profileCmd['command'](a2_0x6d4204(0x18e))['description'](a2_0x6d4204(0x163))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3fb),a2_0x6d4204(0x2fb))[a2_0x6d4204(0xb7)](a2_0x6d4204(0x348),a2_0x6d4204(0x185))[a2_0x6d4204(0x98)](async(_0x5f2bc7,_0x3e5532)=>{const _0x3f618b=a2_0x6d4204,_0x385906=new ProfileUseCommand(),_0x5224f3=program[_0x3f618b(0x355)](),_0x3d2073=await _0x385906[_0x3f618b(0xc7)]({'options':{..._0x5224f3,..._0x3e5532},'args':[_0x5f2bc7],'tdx':null});gracefulExit(_0x3d2073);});const engageCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3b9))['description']('Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)'),createEngageAction=_0x21fd61=>{return async(_0x340574,_0x4484be)=>{const _0x40f9f=a2_0x4d63,_0x41d493=new _0x21fd61(),_0xaab8f5=program[_0x40f9f(0x355)](),_0x4e64b8=await createTDXInstance(_0xaab8f5),_0x2d9b86=await _0x41d493['run']({'options':{..._0xaab8f5,..._0x4484be},'args':[_0x340574],'tdx':_0x4e64b8});gracefulExit(_0x2d9b86);};},createEngageNoArgAction=_0x53729e=>{return async _0x542d11=>{const _0x5902d3=a2_0x4d63,_0x356855=new _0x53729e(),_0x4e7545=program[_0x5902d3(0x355)](),_0x359d17=await createTDXInstance(_0x4e7545),_0x50cf14=await _0x356855[_0x5902d3(0xc7)]({'options':{..._0x4e7545,..._0x542d11},'args':[],'tdx':_0x359d17});gracefulExit(_0x50cf14);};},createEngageListAction=_0x1ec490=>{return async(_0x2cf439,_0x1f864d)=>{const _0x13a84c=a2_0x4d63,_0x2b6c2e=new _0x1ec490(),_0x564665=program[_0x13a84c(0x355)](),_0x2b9023=await createTDXInstance(_0x564665),_0x3ad8a8=await _0x2b6c2e['run']({'options':{..._0x564665,..._0x1f864d},'args':_0x2cf439?[_0x2cf439]:[],'tdx':_0x2b9023});gracefulExit(_0x3ad8a8);};},campaignCmd=engageCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xd1))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1c9));campaignCmd['command'](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3cb))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x25d),a2_0x6d4204(0x3f1))[a2_0x6d4204(0x11f)]('--status\x20<status>',a2_0x6d4204(0x36d))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x311))[a2_0x6d4204(0x98)](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2d7))[a2_0x6d4204(0xd4)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x25d),a2_0x6d4204(0x3f1))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x29a),a2_0x6d4204(0x36d))[a2_0x6d4204(0x11f)]('--workspace\x20<name>',a2_0x6d4204(0x311))[a2_0x6d4204(0x98)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3a8))[a2_0x6d4204(0xd4)]('Show\x20campaign\x20details')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x311))['option'](a2_0x6d4204(0xfb),a2_0x6d4204(0x1b9))[a2_0x6d4204(0x98)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x361))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x29f))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0xba),a2_0x6d4204(0x184))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x25d),a2_0x6d4204(0x1fd))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),'Workspace\x20name\x20(required)')['option']('--description\x20<desc>',a2_0x6d4204(0xd7))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1a1),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x6d4204(0x11f)]('--email-sender-id\x20<id>',a2_0x6d4204(0x1d8))['option'](a2_0x6d4204(0x2d9),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x378),a2_0x6d4204(0x2fd))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3e2),a2_0x6d4204(0x2e5))[a2_0x6d4204(0x98)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xfd))[a2_0x6d4204(0xd4)]('Update\x20a\x20campaign')['option'](a2_0x6d4204(0x255),a2_0x6d4204(0x311))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xba),a2_0x6d4204(0x133))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1ba),a2_0x6d4204(0xd7))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1a1),a2_0x6d4204(0x2c9))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x293),a2_0x6d4204(0x1d8))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2d9),a2_0x6d4204(0x21c))['option']('--start-at\x20<datetime>',a2_0x6d4204(0x2fd))[a2_0x6d4204(0x11f)]('--timezone\x20<tz>',a2_0x6d4204(0x2e5))[a2_0x6d4204(0x98)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x6d4204(0x3f2)]('delete\x20<name-or-id>')['description'](a2_0x6d4204(0x3b7))[a2_0x6d4204(0x11f)]('--workspace\x20<name>','Workspace\x20name')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x9b),a2_0x6d4204(0x16d))[a2_0x6d4204(0x98)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x379))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x25c))['option'](a2_0x6d4204(0x255),a2_0x6d4204(0x311))[a2_0x6d4204(0x98)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x6d4204(0x3f2)]('pause\x20<name-or-id>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x333))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),'Workspace\x20name')['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x328))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x191))[a2_0x6d4204(0x11f)]('--workspace\x20<name>',a2_0x6d4204(0x311))[a2_0x6d4204(0x98)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x6d4204(0x3f2)]('duplicate\x20<name-or-id>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x210))['option'](a2_0x6d4204(0x255),a2_0x6d4204(0x311))['action'](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x317))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xa9))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x311))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xba),a2_0x6d4204(0x2af))[a2_0x6d4204(0x11f)]('--type\x20<type>',a2_0x6d4204(0x3f1))['option'](a2_0x6d4204(0x368),a2_0x6d4204(0x302))[a2_0x6d4204(0x98)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x279))[a2_0x6d4204(0xd4)]('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns')[a2_0x6d4204(0x11f)]('--workspace\x20<name>',a2_0x6d4204(0x311))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x6d4204(0x98)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2dc))[a2_0x6d4204(0xd4)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x220),a2_0x6d4204(0x111))['action'](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x6d4204(0x1c8))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x18c));alwaysOnCampaignCmd['command'](a2_0x6d4204(0x317))[a2_0x6d4204(0xd4)]('Pull\x20always-on\x20campaigns\x20to\x20YAML\x20files')['option'](a2_0x6d4204(0x255),a2_0x6d4204(0x311))['option'](a2_0x6d4204(0xba),'Pull\x20specific\x20campaign\x20by\x20name')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x25d),a2_0x6d4204(0x3f1))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),a2_0x6d4204(0x302))[a2_0x6d4204(0x98)](createEngageAction(EngageAlwaysOnCampaignPullCommand)),alwaysOnCampaignCmd[a2_0x6d4204(0x3f2)]('push\x20[target]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1c7))[a2_0x6d4204(0x11f)]('--workspace\x20<name>',a2_0x6d4204(0x311))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),a2_0x6d4204(0x14e))[a2_0x6d4204(0x98)](createEngageAction(EngageAlwaysOnCampaignPushCommand)),alwaysOnCampaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2f5))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x25d),a2_0x6d4204(0x3f1))[a2_0x6d4204(0x11f)]('--status\x20<status>',a2_0x6d4204(0x304))['requiredOption'](a2_0x6d4204(0x255),a2_0x6d4204(0x26f))[a2_0x6d4204(0x98)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd['command']('always-on-campaigns\x20[pattern]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0xf7))['option'](a2_0x6d4204(0x25d),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x29a),a2_0x6d4204(0x304))['requiredOption']('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x6d4204(0x98)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3a8))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x36c))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x255),a2_0x6d4204(0x26f))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xfb),a2_0x6d4204(0x1b9))[a2_0x6d4204(0x98)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command'](a2_0x6d4204(0x361))[a2_0x6d4204(0xd4)]('Create\x20a\x20new\x20always-on\x20campaign')[a2_0x6d4204(0x3e4)](a2_0x6d4204(0xba),a2_0x6d4204(0x184))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x25d),a2_0x6d4204(0x1fd))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x255),'Workspace\x20name\x20(required)')[a2_0x6d4204(0x11f)]('--description\x20<desc>','Campaign\x20description')['option'](a2_0x6d4204(0x1a1),a2_0x6d4204(0x329))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x13b),a2_0x6d4204(0xcb))[a2_0x6d4204(0x98)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x6d4204(0x3f2)]('update\x20<name-or-id>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0xcf))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x255),a2_0x6d4204(0x26f))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xba),a2_0x6d4204(0x133))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1ba),a2_0x6d4204(0xd7))[a2_0x6d4204(0x11f)]('--segment\x20<path>',a2_0x6d4204(0x329))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x13b),a2_0x6d4204(0xcb))['action'](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x239))['description'](a2_0x6d4204(0x2ba))[a2_0x6d4204(0x3e4)]('--workspace\x20<name>',a2_0x6d4204(0x26f))['option']('--yes',a2_0x6d4204(0x16d))[a2_0x6d4204(0x98)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x379))['description']('Launch\x20an\x20always-on\x20campaign')[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x255),a2_0x6d4204(0x26f))[a2_0x6d4204(0x98)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x6d4204(0x3f2)]('pause\x20<name-or-id>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1dc))[a2_0x6d4204(0x3e4)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x6d4204(0x98)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x328))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x233))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x255),a2_0x6d4204(0x26f))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x32c))['description']('Finish\x20an\x20always-on\x20campaign')[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x255),'Workspace\x20name\x20(required)')[a2_0x6d4204(0x11f)]('--yes',a2_0x6d4204(0x16d))[a2_0x6d4204(0x98)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x6d4204(0x2f4))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x213))[a2_0x6d4204(0x3e4)]('--workspace\x20<name>','Workspace\x20name\x20(required)')[a2_0x6d4204(0x3e4)]('--name\x20<name>','Name\x20for\x20the\x20duplicated\x20campaign')[a2_0x6d4204(0x98)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand)),alwaysOnCampaignCmd['command'](a2_0x6d4204(0x234))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3da))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x220),a2_0x6d4204(0x111))['action'](createEngageAction(EngageAlwaysOnCampaignValidateCommand));const templateCmd=engageCmd['command'](a2_0x6d4204(0x3e3))['description'](a2_0x6d4204(0x360));templateCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2da))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),'Workspace\x20name')['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x6d4204(0x3f2)]('templates\x20[pattern]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x334))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x311))[a2_0x6d4204(0x98)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3a8))[a2_0x6d4204(0xd4)]('Show\x20email\x20template\x20details')[a2_0x6d4204(0x11f)]('--workspace\x20<name>',a2_0x6d4204(0x311))[a2_0x6d4204(0x11f)]('--full',a2_0x6d4204(0x1b9))['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x361))[a2_0x6d4204(0xd4)]('Create\x20an\x20email\x20template')[a2_0x6d4204(0x3e4)](a2_0x6d4204(0xba),a2_0x6d4204(0x30c))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0x3b4),a2_0x6d4204(0x110))[a2_0x6d4204(0x11f)]('--html\x20<html>',a2_0x6d4204(0x3ac))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x97),a2_0x6d4204(0xa5))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x26f))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xfa),a2_0x6d4204(0x1ab))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x104),'Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)',_0x74a0bf=>{const _0xeab7d4=a2_0x6d4204;if(![_0xeab7d4(0x183),'grapesjs']['includes'](_0x74a0bf))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0xeab7d4(0x342)+_0x74a0bf+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x74a0bf;})[a2_0x6d4204(0x98)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xfd))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x138))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x311))[a2_0x6d4204(0x11f)](a2_0x6d4204(0xba),a2_0x6d4204(0x2ed))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3b4),a2_0x6d4204(0x110))['option']('--html\x20<html>',a2_0x6d4204(0x3ac))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x97),a2_0x6d4204(0xa5))['option'](a2_0x6d4204(0xfa),a2_0x6d4204(0x1ab))[a2_0x6d4204(0x98)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x38f))[a2_0x6d4204(0xd4)]('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x311))['option'](a2_0x6d4204(0xba),a2_0x6d4204(0x1b3))['option'](a2_0x6d4204(0x2a0),'Skip\x20confirmation\x20prompt')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),a2_0x6d4204(0x302))['action'](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x279))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3d4))[a2_0x6d4204(0x11f)]('--workspace\x20<name>',a2_0x6d4204(0x311))['option'](a2_0x6d4204(0x2a0),a2_0x6d4204(0x16d))['option'](a2_0x6d4204(0x368),a2_0x6d4204(0x14e))['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd['command'](a2_0x6d4204(0x2dc))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xa8))[a2_0x6d4204(0x11f)]('--verbose',a2_0x6d4204(0x111))[a2_0x6d4204(0x98)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x239))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1a4))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x311))['option'](a2_0x6d4204(0x9b),a2_0x6d4204(0x16d))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xe7))['description'](a2_0x6d4204(0x1de));workspaceCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x169))['description'](a2_0x6d4204(0x2de))[a2_0x6d4204(0x98)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3a7))['description'](a2_0x6d4204(0xeb))[a2_0x6d4204(0x98)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x6d4204(0x3f2)]('show\x20<name-or-id>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x22a))['option'](a2_0x6d4204(0xfb),a2_0x6d4204(0x1b9))[a2_0x6d4204(0x98)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x6d4204(0x361))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x126))[a2_0x6d4204(0x3e4)](a2_0x6d4204(0xba),'Workspace\x20name')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1ba),a2_0x6d4204(0x1e6))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x6d4204(0x3f2)]('update\x20<name-or-id>')[a2_0x6d4204(0xd4)]('Update\x20a\x20workspace')[a2_0x6d4204(0x11f)]('--name\x20<name>',a2_0x6d4204(0x187))['option']('--description\x20<desc>',a2_0x6d4204(0x1e6))[a2_0x6d4204(0x98)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x239))['description'](a2_0x6d4204(0x2a8))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x9b),'Skip\x20confirmation\x20prompt')[a2_0x6d4204(0x98)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x18e))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x344))[a2_0x6d4204(0x98)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd[a2_0x6d4204(0x3f2)]('line-sender-account')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x188));lineSenderAccountCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x153))[a2_0x6d4204(0x11f)]('--workspace\x20<name>',a2_0x6d4204(0x311))[a2_0x6d4204(0x98)](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd['command'](a2_0x6d4204(0x3a8))[a2_0x6d4204(0xd4)]('Show\x20LINE\x20sender\x20account\x20details')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x311))[a2_0x6d4204(0x98)](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x288))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xbc));lineImagemapImageCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x197))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x214))[a2_0x6d4204(0x98)](createEngageAction(EngageLineImagemapImageUploadCommand));const engageMediaCmd=engageCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x349))['description']('Engage\x20DAM\x20media\x20management');engageMediaCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x207))[a2_0x6d4204(0xd4)]('List\x20Engage\x20DAM\x20directory\x20contents')['action'](createEngageAction(EngageMediaLsCommand)),engageMediaCmd[a2_0x6d4204(0x3f2)]('upload\x20<file>')['description'](a2_0x6d4204(0x1cc))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x227),a2_0x6d4204(0x2f2))[a2_0x6d4204(0x11f)]('--conflict\x20<strategy>',a2_0x6d4204(0xca))['action'](createEngageAction(EngageMediaUploadCommand)),engageMediaCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x143))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x36e))[a2_0x6d4204(0x98)](createEngageAction(EngageMediaMkdirCommand)),engageMediaCmd['command'](a2_0x6d4204(0xdc))['description'](a2_0x6d4204(0x124))['action'](createEngageAction(EngageMediaRmCommand)),engageMediaCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2ca))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x13e))[a2_0x6d4204(0x98)](createEngageAction(EngageMediaRmdirCommand));const deliveryCmd=program['command']('delivery')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x381));deliveryCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x24b))['description']('List\x20email\x20senders')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x255),a2_0x6d4204(0x311))[a2_0x6d4204(0x98)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x6d4204(0x218))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x162)),connectionListAction=async _0x1797df=>{const _0xdacbb7=a2_0x6d4204,_0xb46e52=new ConnectionListCommand(),_0x2998b1=program[_0xdacbb7(0x355)](),_0x378db3=await createTDXInstance(_0x2998b1),_0x582be8=await _0xb46e52[_0xdacbb7(0xc7)]({'options':{..._0x2998b1,..._0x1797df},'args':[],'tdx':_0x378db3});gracefulExit(_0x582be8);};connectionCmd[a2_0x6d4204(0x3f2)]('list')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x160))[a2_0x6d4204(0x98)](connectionListAction),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3b3),{'hidden':!![]})[a2_0x6d4204(0xd4)]('List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)')[a2_0x6d4204(0x98)](connectionListAction),connectionCmd[a2_0x6d4204(0x3f2)]('show\x20<name>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x364))[a2_0x6d4204(0x98)](async(_0x37885c,_0x21fe21)=>{const _0x16661b=a2_0x6d4204,_0xc59d94=new ConnectionShowCommand(),_0x3e7675=program[_0x16661b(0x355)](),_0x196910=await createTDXInstance(_0x3e7675),_0x9a2dd9=await _0xc59d94[_0x16661b(0xc7)]({'options':{..._0x3e7675,..._0x21fe21},'args':[_0x37885c],'tdx':_0x196910});gracefulExit(_0x9a2dd9);}),connectionCmd[a2_0x6d4204(0x3f2)]('schema\x20<type>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x164))['action'](async(_0x17dad6,_0x41e7da)=>{const _0xd7b53d=a2_0x6d4204,_0x168394=new ConnectionSchemaCommand(),_0x1bff7f=program[_0xd7b53d(0x355)](),_0x3b05a6=await createTDXInstance(_0x1bff7f),_0x3de95e=await _0x168394[_0xd7b53d(0xc7)]({'options':{..._0x1bff7f,..._0x41e7da},'args':[_0x17dad6],'tdx':_0x3b05a6});gracefulExit(_0x3de95e);}),connectionCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xac))[a2_0x6d4204(0xd4)]('List\x20available\x20connector\x20types')[a2_0x6d4204(0x98)](async _0x19a3c4=>{const _0x1d382b=a2_0x6d4204,_0x5b47dd=new ConnectionTypesCommand(),_0x394f21=program[_0x1d382b(0x355)](),_0x917c72=await createTDXInstance(_0x394f21),_0x4f15e9=await _0x5b47dd[_0x1d382b(0xc7)]({'options':{..._0x394f21,..._0x19a3c4},'args':[],'tdx':_0x917c72});gracefulExit(_0x4f15e9);}),connectionCmd['command']('settings\x20<type>')['description'](a2_0x6d4204(0x35f))[a2_0x6d4204(0x98)](async(_0x305c38,_0x378735)=>{const _0x46f9cd=a2_0x6d4204,_0x4e60d5=new ConnectionSettingsCommand(),_0x1d721a=program['opts'](),_0x251250=await createTDXInstance(_0x1d721a),_0x4ffa35=await _0x4e60d5[_0x46f9cd(0xc7)]({'options':{..._0x1d721a,..._0x378735},'args':[_0x305c38],'tdx':_0x251250});gracefulExit(_0x4ffa35);});const casCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2ce))['description'](a2_0x6d4204(0x37d));casCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x10c))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x27b))[a2_0x6d4204(0x98)](async _0xe1ee37=>{const _0x32722d=a2_0x6d4204,_0x2c96e1=new CASListCommand(),_0x40575f=program[_0x32722d(0x355)](),_0x26f127=await createTDXInstance(_0x40575f),_0x3bf573=await _0x2c96e1[_0x32722d(0xc7)]({'options':{..._0x40575f,..._0xe1ee37},'args':[],'tdx':_0x26f127});gracefulExit(_0x3bf573);}),casCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x20c))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x180))['action'](async(_0x4efd00,_0xb7253)=>{const _0x5dc3ec=a2_0x6d4204,_0x5670ac=new CASDescCommand(),_0x37a136=program[_0x5dc3ec(0x355)](),_0xc36686=await createTDXInstance(_0x37a136),_0x1fb1b1=await _0x5670ac[_0x5dc3ec(0xc7)]({'options':{..._0x37a136,..._0xb7253},'args':_0x4efd00?[_0x4efd00]:[],'tdx':_0xc36686});gracefulExit(_0x1fb1b1);}),casCmd[a2_0x6d4204(0x3f2)]('pull\x20[name]')[a2_0x6d4204(0xd4)]('Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('--dir\x20<dir>',a2_0x6d4204(0x354))['option']('--dry-run',a2_0x6d4204(0x1b0))['action'](async(_0x2fd080,_0x1ef1c5)=>{const _0x38dd12=a2_0x6d4204,_0x4bc28d=new CASPullCommand(),_0x33e451=program[_0x38dd12(0x355)](),_0x561d42=await createTDXInstance(_0x33e451),_0x3ead64=await _0x4bc28d[_0x38dd12(0xc7)]({'options':{..._0x33e451,..._0x1ef1c5},'args':_0x2fd080?[_0x2fd080]:[],'tdx':_0x561d42});gracefulExit(_0x3ead64);}),casCmd['command']('push\x20[target]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x392))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2a0),a2_0x6d4204(0x16d))['option'](a2_0x6d4204(0x373),a2_0x6d4204(0x249))[a2_0x6d4204(0x98)](async(_0x842e22,_0x10ecf3)=>{const _0x14197f=a2_0x6d4204,_0x528d79=new CASPushCommand(),_0x4dea2b=program[_0x14197f(0x355)](),_0x9dd33b=await createTDXInstance(_0x4dea2b),_0x45c8c8=await _0x528d79[_0x14197f(0xc7)]({'options':{..._0x4dea2b,..._0x10ecf3},'args':_0x842e22?[_0x842e22]:[],'tdx':_0x9dd33b});gracefulExit(_0x45c8c8);}),casCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2dc))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2dd))['action'](async(_0x40acb4,_0x4fa42b)=>{const _0x1ccfaa=a2_0x6d4204,_0x351c55=new CASValidateCommand(),_0x44acb2=program[_0x1ccfaa(0x355)](),_0x4c66f7=await createTDXInstance(_0x44acb2),_0x3000e8=await _0x351c55['run']({'options':{..._0x44acb2,..._0x4fa42b},'args':_0x40acb4?[_0x40acb4]:[],'tdx':_0x4c66f7});gracefulExit(_0x3000e8);}),casCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2b4))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x173))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x171),a2_0x6d4204(0x389))[a2_0x6d4204(0x98)](async(_0x55b7d5,_0x1af4a5)=>{const _0x54e23a=a2_0x6d4204,_0x277070=new CASPreviewCommand(),_0xbdc7a7=program[_0x54e23a(0x355)](),_0xe209c=await createTDXInstance(_0xbdc7a7),_0x1f232f=await _0x277070[_0x54e23a(0xc7)]({'options':{..._0xbdc7a7,..._0x1af4a5},'args':[_0x55b7d5,_0x1af4a5['audience']],'tdx':_0xe209c});gracefulExit(_0x1f232f);});const casSgCmd=casCmd[a2_0x6d4204(0x3f2)]('sg')['description']('Composable\x20segment\x20commands');casSgCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x1bd))[a2_0x6d4204(0xd4)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0x6d4204(0x98)](async(_0x55b1a6,_0x9a08a8)=>{const _0xf92aad=a2_0x6d4204,_0x2b9ac1=new CASSegmentListCommand(),_0x282f57=program[_0xf92aad(0x355)](),_0x57674c=await createTDXInstance(_0x282f57),_0x44a94b=await _0x2b9ac1[_0xf92aad(0xc7)]({'options':{..._0x282f57,..._0x9a08a8},'args':_0x55b1a6?[_0x55b1a6]:[],'tdx':_0x57674c});gracefulExit(_0x44a94b);}),casSgCmd[a2_0x6d4204(0x3f2)]('push\x20<file>')[a2_0x6d4204(0xd4)]('Create,\x20update,\x20or\x20delete\x20a\x20single\x20composable\x20child\x20segment')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x171),a2_0x6d4204(0x389))[a2_0x6d4204(0x11f)]('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2a0),a2_0x6d4204(0x16d))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x373),'Delete\x20the\x20named\x20segment\x20instead\x20of\x20creating/updating\x20it\x20(single\x20segment\x20only,\x20not\x20a\x20directory\x20prune\x20—\x20disabled\x20by\x20default)')[a2_0x6d4204(0x98)](async(_0x4ed22d,_0x473f28)=>{const _0x321b11=a2_0x6d4204,_0x31530e=new CASSegmentPushCommand(),_0x2ee3b0=program['opts'](),_0x49bbd9=await createTDXInstance(_0x2ee3b0),_0x542eae=await _0x31530e[_0x321b11(0xc7)]({'options':{..._0x2ee3b0,..._0x473f28},'args':[_0x4ed22d],'tdx':_0x49bbd9});gracefulExit(_0x542eae);});const psP13nCmd=parentSegmentCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x24d))['description'](a2_0x6d4204(0x11b));psP13nCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x25f))[a2_0x6d4204(0xd4)]('List\x20campaigns\x20(filter\x20by\x20parent\x20segment\x20name\x20or\x20use\x20context)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2ea),a2_0x6d4204(0x332))[a2_0x6d4204(0x98)](async(_0x5a7236,_0x8e0def)=>{const _0x3b57a8=a2_0x6d4204,_0x34c831=new P13nListCommand(),_0x2d9806=program[_0x3b57a8(0x355)](),_0x425ff=await createTDXInstance(_0x2d9806),_0x241862=await _0x34c831[_0x3b57a8(0xc7)]({'options':{..._0x2d9806,..._0x8e0def},'args':_0x5a7236?[_0x5a7236]:[],'tdx':_0x425ff});gracefulExit(_0x241862);});const journeyCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x294))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3a0)),journeyListAction=async(_0x5aa364,_0x117d1e)=>{const _0x4efae9=a2_0x6d4204,_0x242aa1=new JourneyListCommand(),_0x4b4fc1=program[_0x4efae9(0x355)](),_0x55a563=await createTDXInstance(_0x4b4fc1),_0x3fc04a=await _0x242aa1[_0x4efae9(0xc7)]({'options':{..._0x4b4fc1,..._0x117d1e},'args':_0x5aa364?[_0x5aa364]:[],'tdx':_0x55a563});gracefulExit(_0x3fc04a);};journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x254))[a2_0x6d4204(0x98)](journeyListAction),journeyCmd['command'](a2_0x6d4204(0xe2))['description'](a2_0x6d4204(0xce))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x203),a2_0x6d4204(0xf2))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1b6),'Include\x20execution\x20statistics')['action'](async(_0x242f06,_0xee30a0)=>{const _0x56be3c=a2_0x6d4204,_0x1e03a5=new JourneyViewCommand(),_0x30d621=program[_0x56be3c(0x355)](),_0x2cd6bc=await createTDXInstance(_0x30d621),_0x30970c=await _0x1e03a5[_0x56be3c(0xc7)]({'options':{..._0x30d621,..._0xee30a0},'args':[_0x242f06],'tdx':_0x2cd6bc});gracefulExit(_0x30970c);}),journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2d1))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x31d))[a2_0x6d4204(0x11f)]('--stage\x20<name>',a2_0x6d4204(0x192))['option']('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3cd),a2_0x6d4204(0x2bc))['option']('--include-history',a2_0x6d4204(0x224))['action'](async(_0x52a709,_0x168ae5)=>{const _0x184706=a2_0x6d4204,_0x1717c0=new JourneyStatsCommand(),_0x3edd57=program[_0x184706(0x355)](),_0x5d4f1b=await createTDXInstance(_0x3edd57),_0x3bfb69=await _0x1717c0[_0x184706(0xc7)]({'options':{..._0x3edd57,..._0x168ae5},'args':[_0x52a709],'tdx':_0x5d4f1b});gracefulExit(_0x3bfb69);}),journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x291))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x114))['option'](a2_0x6d4204(0x25d),a2_0x6d4204(0xf1))['option'](a2_0x6d4204(0x327),a2_0x6d4204(0x149))[a2_0x6d4204(0x11f)]('--to\x20<date>',a2_0x6d4204(0x2bc))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x10a),a2_0x6d4204(0x38e),_0xc5eb97=>{const _0x1fce60=a2_0x6d4204,_0x145214=parseInt(_0xc5eb97,0xa);if(isNaN(_0x145214))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0xc5eb97+_0x1fce60(0x345));return _0x145214;})[a2_0x6d4204(0x98)](async(_0x2cc309,_0x17caa1)=>{const _0x54823b=a2_0x6d4204,_0x710e4=new JourneyTrafficCommand(),_0xcfc39c=program[_0x54823b(0x355)](),_0x494719=await createTDXInstance(_0xcfc39c),_0x4cdcd1=await _0x710e4[_0x54823b(0xc7)]({'options':{..._0xcfc39c,..._0x17caa1},'args':[_0x2cc309],'tdx':_0x494719});gracefulExit(_0x4cdcd1);}),journeyCmd['command'](a2_0x6d4204(0x337))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x395))[a2_0x6d4204(0x98)](async(_0x4dccf4,_0x573b94)=>{const _0x5cfa99=a2_0x6d4204,_0x434da9=new JourneyPauseCommand(),_0x4dd6ea=program[_0x5cfa99(0x355)](),_0x1885ef=await createTDXInstance(_0x4dd6ea),_0xa2dc8b=await _0x434da9[_0x5cfa99(0xc7)]({'options':{..._0x4dd6ea,..._0x573b94},'args':[_0x4dccf4],'tdx':_0x1885ef});gracefulExit(_0xa2dc8b);}),journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3ba))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x306))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),'Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20triggering')[a2_0x6d4204(0x98)](async(_0x6e64af,_0x5c0289)=>{const _0x52452b=a2_0x6d4204,_0x3deb38=new JourneyRunCommand(),_0xb5678e=program[_0x52452b(0x355)](),_0x5a9c69=await createTDXInstance(_0xb5678e),_0x188f6f=await _0x3deb38[_0x52452b(0xc7)]({'options':{..._0xb5678e,..._0x5c0289},'args':[_0x6e64af],'tdx':_0x5a9c69});gracefulExit(_0x188f6f);}),journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x26b))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x136))[a2_0x6d4204(0x11f)]('--dry-run','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20resuming')[a2_0x6d4204(0x98)](async(_0x48be59,_0x523edf)=>{const _0xa7ebc6=a2_0x6d4204,_0x1a181a=new JourneyResumeCommand(),_0x16195c=program[_0xa7ebc6(0x355)](),_0x1db48c=await createTDXInstance(_0x16195c),_0x5b68c1=await _0x1a181a[_0xa7ebc6(0xc7)]({'options':{..._0x16195c,..._0x523edf},'args':[_0x48be59],'tdx':_0x1db48c});gracefulExit(_0x5b68c1);}),journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x11d))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x11a))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')['action'](async(_0x11c4fa,_0x5258a0)=>{const _0x346ca2=a2_0x6d4204,_0x5cbbd7=new JourneyPullCommand(),_0x5a635c=program[_0x346ca2(0x355)](),_0x157eba=await createTDXInstance(_0x5a635c),_0x53f584=await _0x5cbbd7[_0x346ca2(0xc7)]({'options':{..._0x5a635c,..._0x5258a0},'args':_0x11c4fa?[_0x11c4fa]:[],'tdx':_0x157eba});gracefulExit(_0x53f584);}),journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x279))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x3d1))[a2_0x6d4204(0x98)](async(_0x1651cf,_0x295638)=>{const _0x2e810f=new JourneyPushCommand(),_0x54df17=program['opts'](),_0x1f1785=await createTDXInstance(_0x54df17),_0x1c5ac2=await _0x2e810f['run']({'options':{..._0x54df17,..._0x295638},'args':_0x1651cf?[_0x1651cf]:[],'tdx':_0x1f1785});gracefulExit(_0x1c5ac2);}),journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x290))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1a8))[a2_0x6d4204(0x98)](async(_0x4ae2f7,_0x8665af)=>{const _0x5e2f5b=a2_0x6d4204,_0xbed4fc=new JourneyColumnsCommand(),_0x24e57b=program[_0x5e2f5b(0x355)](),_0x49e22c=await createTDXInstance(_0x24e57b),_0x166982=await _0xbed4fc[_0x5e2f5b(0xc7)]({'options':{..._0x24e57b,..._0x8665af},'args':[_0x4ae2f7],'tdx':_0x49e22c});gracefulExit(_0x166982);}),journeyCmd[a2_0x6d4204(0x3f2)]('activations\x20<name-or-path>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2a3))[a2_0x6d4204(0x98)](async(_0x11bc9c,_0x648474)=>{const _0x40335f=a2_0x6d4204,_0x33030f=new JourneyActivationsCommand(),_0x1a81f8=program['opts'](),_0x3ab1d4=await createTDXInstance(_0x1a81f8),_0x173a5a=await _0x33030f[_0x40335f(0xc7)]({'options':{..._0x1a81f8,..._0x648474},'args':[_0x11bc9c],'tdx':_0x3ab1d4});gracefulExit(_0x173a5a);}),journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x1c0))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x34c))[a2_0x6d4204(0x98)](async(_0x243036,_0x17be6e)=>{const _0x2c28ee=a2_0x6d4204,_0xac099d=new JourneyVersionsCommand(),_0xfceeff=program['opts'](),_0x52fe51=await createTDXInstance(_0xfceeff),_0x14468c=await _0xac099d[_0x2c28ee(0xc7)]({'options':{..._0xfceeff,..._0x17be6e},'args':[_0x243036],'tdx':_0x52fe51});gracefulExit(_0x14468c);});const journeyVersionCmd=journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x367))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x1d7));journeyVersionCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x35e))['description']('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')['action'](async(_0x27641f,_0x263410)=>{const _0xc38a2f=a2_0x6d4204,_0xc073a3=new JourneyVersionCreateCommand(),_0x5114bb=program[_0xc38a2f(0x355)](),_0x4608a6=await createTDXInstance(_0x5114bb),_0x1c2598=await _0xc073a3[_0xc38a2f(0xc7)]({'options':{..._0x5114bb,..._0x263410},'args':[_0x27641f],'tdx':_0x4608a6});gracefulExit(_0x1c2598);}),journeyVersionCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0xe2))[a2_0x6d4204(0xd4)]('View\x20a\x20specific\x20version\x20of\x20a\x20journey')['requiredOption']('--version\x20<number>',a2_0x6d4204(0x1e8))[a2_0x6d4204(0x98)](async(_0xda01c5,_0x5253b9)=>{const _0x5f41d0=a2_0x6d4204,_0x4dcd05=new JourneyVersionViewCommand(),_0x2aed69=program['opts'](),_0x19710d=await createTDXInstance(_0x2aed69),_0x1d3ecd=await _0x4dcd05[_0x5f41d0(0xc7)]({'options':{..._0x2aed69,..._0x5253b9},'args':[_0xda01c5],'tdx':_0x19710d});gracefulExit(_0x1d3ecd);}),journeyCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2dc))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x296))[a2_0x6d4204(0x98)](async(_0x1a2000,_0xf965f0)=>{const _0xe924aa=a2_0x6d4204,_0x32e7c9=new JourneyValidateCommand(),_0x44c657=program['opts'](),_0x293202=await createTDXInstance(_0x44c657),_0x1f8e69=await _0x32e7c9[_0xe924aa(0xc7)]({'options':{..._0x44c657,..._0xf965f0},'args':_0x1a2000?[_0x1a2000]:[],'tdx':_0x293202});gracefulExit(_0x1f8e69);}),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x228))['description'](a2_0x6d4204(0x26e))['action'](journeyListAction);const agentSyncCmd=program['command'](a2_0x6d4204(0x36a))[a2_0x6d4204(0xd4)]('LLM\x20agent\x20management');agentSyncCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3c6))[a2_0x6d4204(0xd4)]('Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1a3),a2_0x6d4204(0x253))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1e5),'Overwrite\x20local\x20changes\x20without\x20confirmation')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3df),'Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')[a2_0x6d4204(0x98)](async(_0x523b46,_0x2c1452,_0x1c2a44)=>{const _0x1e3e49=a2_0x6d4204,_0x3686e4=new AgentPullCommand(),_0x4a511f=program['opts'](),_0x2efa5a=await createTDXInstance(_0x4a511f),_0x3e2b78=[];if(_0x523b46)_0x3e2b78[_0x1e3e49(0x221)](_0x523b46);if(_0x2c1452)_0x3e2b78[_0x1e3e49(0x221)](_0x2c1452);const _0x20c104=await _0x3686e4[_0x1e3e49(0xc7)]({'options':{..._0x4a511f,..._0x1c2a44},'args':_0x3e2b78,'tdx':_0x2efa5a});gracefulExit(_0x20c104);}),agentSyncCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x2ab))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xf8))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1e5),a2_0x6d4204(0x282))[a2_0x6d4204(0x98)](async(_0x262b99,_0x5b1d6b)=>{const _0x135b1b=a2_0x6d4204,_0x2d0716=new AgentPushCommand(),_0x131c24=program['opts'](),_0x3f4dc0=await createTDXInstance(_0x131c24),_0x395352=await _0x2d0716[_0x135b1b(0xc7)]({'options':{..._0x131c24,..._0x5b1d6b},'args':_0x262b99?[_0x262b99]:[],'tdx':_0x3f4dc0});gracefulExit(_0x395352);}),agentSyncCmd[a2_0x6d4204(0x3f2)]('clone\x20[source]')[a2_0x6d4204(0xd4)](a2_0x6d4204(0xe1))['option'](a2_0x6d4204(0xe4),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x6d4204(0x98)](async(_0x4c9533,_0x1ff324)=>{const _0x22be94=a2_0x6d4204,_0x4c17cc=new AgentCloneCommand(),_0x7cd929=program[_0x22be94(0x355)](),_0x5c4663=await createTDXInstance(_0x7cd929),_0x2c7e98=await _0x4c17cc[_0x22be94(0xc7)]({'options':{..._0x7cd929,..._0x1ff324},'args':_0x4c9533?[_0x4c9533]:[],'tdx':_0x5c4663});gracefulExit(_0x2c7e98);}),agentSyncCmd['command'](a2_0x6d4204(0x158))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x23c))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x401),a2_0x6d4204(0x2ac))['option'](a2_0x6d4204(0x35d),a2_0x6d4204(0x2b7))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x368),a2_0x6d4204(0x2cb))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1b8),a2_0x6d4204(0x182))['option'](a2_0x6d4204(0x1b5),a2_0x6d4204(0x322))[a2_0x6d4204(0x98)](async(_0x386381,_0x4a54a3)=>{const _0x5730da=a2_0x6d4204,_0x17a9a1=new AgentTestCommand(),_0x4191e6=program[_0x5730da(0x355)](),_0x42f81c=await createTDXInstance(_0x4191e6),_0x621a9c=await _0x17a9a1[_0x5730da(0xc7)]({'options':{..._0x4191e6,..._0x4a54a3},'args':_0x386381?[_0x386381]:[],'tdx':_0x42f81c});gracefulExit(_0x621a9c);}),agentSyncCmd['command'](a2_0x6d4204(0x169))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xe5))[a2_0x6d4204(0x98)](llmAgentListAction),agentSyncCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3fe))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x365))['action'](async(_0x2b1a41,_0x2c229b)=>{const _0x577e53=a2_0x6d4204,_0x257738=new LLMAgentShowCommand(),_0x16fa27=program[_0x577e53(0x355)](),_0x3962c4=await createTDXInstance(_0x16fa27),_0x3f05db=await _0x257738[_0x577e53(0xc7)]({'options':{..._0x16fa27,..._0x2c229b},'args':[_0x2b1a41],'tdx':_0x3962c4});gracefulExit(_0x3f05db);}),agentSyncCmd[a2_0x6d4204(0x3f2)]('create\x20<name>')[a2_0x6d4204(0xd4)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x3bc),a2_0x6d4204(0xd9))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x205),a2_0x6d4204(0x1eb),a2_0x6d4204(0x34f))[a2_0x6d4204(0x11f)]('--starter-message\x20<text>','Starter\x20message')['option'](a2_0x6d4204(0x338),a2_0x6d4204(0x27f),'4')['option'](a2_0x6d4204(0x22c),a2_0x6d4204(0xbb),a2_0x6d4204(0x2d4))[a2_0x6d4204(0x98)](async(_0x2aa8d6,_0xed60ef)=>{const _0x4c08d6=a2_0x6d4204,_0x48681d=new LLMAgentCreateCommand(),_0x3aaf67=program[_0x4c08d6(0x355)](),_0x34d841=await createTDXInstance(_0x3aaf67),_0x1ae4cf=await _0x48681d['run']({'options':{..._0x3aaf67,..._0xed60ef},'args':[_0x2aa8d6],'tdx':_0x34d841});gracefulExit(_0x1ae4cf);}),agentSyncCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x10b))['description']('Update\x20an\x20existing\x20agent')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x386),a2_0x6d4204(0x3f0))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x15e),a2_0x6d4204(0x22f))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1d5),a2_0x6d4204(0x336))[a2_0x6d4204(0x11f)]('--starter-message\x20<text>',a2_0x6d4204(0x406))[a2_0x6d4204(0x98)](async(_0x12f7e5,_0x46e672)=>{const _0x110299=a2_0x6d4204,_0x2450d7=new LLMAgentUpdateCommand(),_0xc602c2=program[_0x110299(0x355)](),_0xe96c45=await createTDXInstance(_0xc602c2),_0x58cbf9=await _0x2450d7[_0x110299(0xc7)]({'options':{..._0xc602c2,..._0x46e672},'args':[_0x12f7e5],'tdx':_0xe96c45});gracefulExit(_0x58cbf9);}),agentSyncCmd[a2_0x6d4204(0x3f2)]('delete\x20<agent-name>')[a2_0x6d4204(0xd4)](a2_0x6d4204(0x112))[a2_0x6d4204(0x98)](async(_0x491bec,_0x17ae45)=>{const _0x527ba7=a2_0x6d4204,_0x2512ff=new LLMAgentDeleteCommand(),_0xe15772=program[_0x527ba7(0x355)](),_0xc9354b=await createTDXInstance(_0xe15772),_0x4e00d9=await _0x2512ff[_0x527ba7(0xc7)]({'options':{..._0xe15772,..._0x17ae45},'args':[_0x491bec],'tdx':_0xc9354b});gracefulExit(_0x4e00d9);});const workCmd=program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3f5))['description'](a2_0x6d4204(0x27c));workCmd[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2b9),a2_0x6d4204(0x33d))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x109),a2_0x6d4204(0x13f))[a2_0x6d4204(0x98)](workSummaryAction),workCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x11e))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x34d))['option'](a2_0x6d4204(0x331),'Link\x20workspace\x20to\x20a\x20GitHub\x20repository')[a2_0x6d4204(0x98)](workInitAction),workCmd['command'](a2_0x6d4204(0x142))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x2e7))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x1c2),a2_0x6d4204(0x252),a2_0x6d4204(0x16a))[a2_0x6d4204(0x11f)]('--tags\x20<tags>',a2_0x6d4204(0x242))['option'](a2_0x6d4204(0x11c),'Priority\x20(critical,\x20high,\x20medium,\x20low)')[a2_0x6d4204(0x11f)](a2_0x6d4204(0x37e),a2_0x6d4204(0x402))['option']('--template\x20<name>',a2_0x6d4204(0x32b))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x29a),a2_0x6d4204(0x27a))['option'](a2_0x6d4204(0x2f9),a2_0x6d4204(0x231))[a2_0x6d4204(0x98)](workNewAction),workCmd['command'](a2_0x6d4204(0x267))['description']('Transition\x20a\x20task\x20to\x20a\x20new\x20status')['action'](workMoveAction),workCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x20f))[a2_0x6d4204(0xd4)](a2_0x6d4204(0xed))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x2b9),a2_0x6d4204(0x33d))[a2_0x6d4204(0x11f)](a2_0x6d4204(0x109),a2_0x6d4204(0x13f))[a2_0x6d4204(0x98)](workBoardAction),workCmd['command']('show\x20<name>')['description'](a2_0x6d4204(0xcd))[a2_0x6d4204(0x98)](workShowAction),workCmd[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x232))[a2_0x6d4204(0xd4)](a2_0x6d4204(0x170))[a2_0x6d4204(0x98)](workLinksAction),workCmd['command'](a2_0x6d4204(0x19e))['description']('Open\x20a\x20document\x20in\x20$EDITOR')[a2_0x6d4204(0x98)](workOpenAction),program[a2_0x6d4204(0x3f2)](a2_0x6d4204(0x3ab),{'hidden':!![]})[a2_0x6d4204(0x98)](()=>{const _0x23d0d8=a2_0x6d4204;function _0x27fa9b(_0x35d6f0,_0xad9816){const _0x32cacd=a2_0x4d63,_0x1c70c4=[];for(const _0x202aab of _0x35d6f0[_0x32cacd(0x178)]){if(_0x202aab[_0x32cacd(0x1f6)])continue;const _0x1dcad3=_0xad9816?_0xad9816+'\x20'+_0x202aab['name']():_0x202aab[_0x32cacd(0x24c)](),_0x4f38a7=_0x1dcad3[_0x32cacd(0x1db)]('\x20')[0x0],_0x1e7d13=COMMAND_CATEGORIES[_0x32cacd(0x1f1)](_0x50a7d4=>_0x50a7d4[_0x32cacd(0x178)][_0x32cacd(0x1dd)](_0x4f38a7)),_0x15bd59=_0x1e7d13?.[_0x32cacd(0x24c)]??'';if(_0x202aab[_0x32cacd(0x178)][_0x32cacd(0x24e)]>0x0)_0x1c70c4[_0x32cacd(0x221)](..._0x27fa9b(_0x202aab,_0x1dcad3));else{const _0x4dd3ed=(_0x202aab[_0x32cacd(0x29e)]||[])['map'](_0x123c57=>{const _0x131f85=_0x32cacd,_0x45b4e8=_0x123c57[_0x131f85(0xef)]?_0x123c57['name']()+_0x131f85(0x2a6):_0x123c57[_0x131f85(0x24c)]();return _0x123c57[_0x131f85(0x2be)]?'<'+_0x45b4e8+'>':'['+_0x45b4e8+']';})[_0x32cacd(0x3e8)]('\x20'),_0x1b6b59=_0x202aab['options']['filter'](_0x272835=>!_0x272835['hidden']&&_0x272835[_0x32cacd(0x274)]!==_0x32cacd(0x103))[_0x32cacd(0x141)](_0x3c92ac=>({'flags':_0x3c92ac[_0x32cacd(0x137)],'description':_0x3c92ac['description']}));_0x1c70c4['push']({'name':_0x1dcad3,'description':_0x202aab['description'](),'group':_0x15bd59,'usage':_0x4dd3ed,'options':_0x1b6b59});}}return _0x1c70c4;}console[_0x23d0d8(0x325)](JSON[_0x23d0d8(0x1f3)](_0x27fa9b(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0xf6598f=a2_0x6d4204,_0x392e7a=!process[_0xf6598f(0x32a)]['slice'](0x2)[_0xf6598f(0x24e)];showBriefHelp=_0x392e7a,program[_0xf6598f(0x31b)](process[_0xf6598f(0x32a)]);_0x392e7a&&program['outputHelp']();const _0x3c6762=process[_0xf6598f(0x32a)][0x2]===_0xf6598f(0x34b);if(process['stderr'][_0xf6598f(0x25e)]&&process[_0xf6598f(0x32a)]['length']>0x2&&!isDevVersion()&&!_0x3c6762){const _0x337dc7=loadReleaseChannel();checkForUpdate(currentVersion,_0x337dc7)[_0xf6598f(0x225)](_0x1c3918=>{_0x1c3918&&displayUpdateNotification(_0x1c3918);})[_0xf6598f(0x9a)](()=>{});}}
|
|
1
|
+
const a2_0x51b5f3=a2_0x48b5;(function(_0xc9b7d5,_0x507de1){const _0x5cd4c0=a2_0x48b5,_0x4fce93=_0xc9b7d5();while(!![]){try{const _0x4267dc=-parseInt(_0x5cd4c0(0x2e1))/0x1*(-parseInt(_0x5cd4c0(0x16a))/0x2)+parseInt(_0x5cd4c0(0x303))/0x3+-parseInt(_0x5cd4c0(0x35c))/0x4*(parseInt(_0x5cd4c0(0x1fb))/0x5)+-parseInt(_0x5cd4c0(0x2d9))/0x6+-parseInt(_0x5cd4c0(0x266))/0x7+-parseInt(_0x5cd4c0(0x2c5))/0x8*(parseInt(_0x5cd4c0(0x2bf))/0x9)+parseInt(_0x5cd4c0(0x16b))/0xa*(parseInt(_0x5cd4c0(0x3c3))/0xb);if(_0x4267dc===_0x507de1)break;else _0x4fce93['push'](_0x4fce93['shift']());}catch(_0x34cbc1){_0x4fce93['push'](_0x4fce93['shift']());}}}(a2_0x5238,0x99b91));import a2_0x423e19 from'chalk';import{Command}from'commander';import{existsSync,statSync}from'fs';function a2_0x48b5(_0x58d726,_0x3defb9){_0x58d726=_0x58d726-0x73;const _0x5238b1=a2_0x5238();let _0x48b54d=_0x5238b1[_0x58d726];return _0x48b54d;}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{printSDKError}from'./commands/command.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{TableDeletedCommand,TableRecoverCommand}from'./commands/table-deleted.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,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentMoveCommand}from'./commands/segment-move-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,WorkflowSchedulesCommand,WorkflowScheduleEnableCommand,WorkflowScheduleDisableCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyRunCommand,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,EngageLineSenderAccountsCommand,EngageLineSenderAccountShowCommand,EngageLineImagemapImageUploadCommand,EngageMediaUploadCommand,EngageMediaLsCommand,EngageMediaMkdirCommand,EngageMediaRmCommand,EngageMediaRmdirCommand}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{EngageAlwaysOnCampaignPullCommand}from'./commands/engage-always-on-campaign-pull-command.js';import{EngageAlwaysOnCampaignPushCommand}from'./commands/engage-always-on-campaign-push-command.js';import{EngageAlwaysOnCampaignValidateCommand}from'./commands/engage-always-on-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{CodexCommand}from'./commands/codex-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,ProfileDeleteCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthTokenCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASValidateCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand,CASSegmentPushCommand}from'./commands/cas-segment-command.js';import{P13nListCommand}from'./commands/p13n-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isApiCommandEnabled,isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv'][a2_0x51b5f3(0x22a)](a2_0x51b5f3(0x277))){let versionOutput=a2_0x51b5f3(0x1a5)+currentVersion;buildInfo[a2_0x51b5f3(0x35a)]&&!currentVersion['includes'](buildInfo[a2_0x51b5f3(0x35a)])&&(versionOutput+='\x20('+buildInfo[a2_0x51b5f3(0x35a)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x51b5f3(0x18b)+buildInfo[a2_0x51b5f3(0x119)]),console['log'](versionOutput),process[a2_0x51b5f3(0x156)](0x0);}const program=new Command();export function mergeCommandOptions(_0x53c30c,_0x59d573){const _0xb4b1ee={..._0x53c30c};for(const [_0x4238d3,_0x132e40]of Object['entries'](_0x59d573)){_0x132e40!==undefined&&(_0xb4b1ee[_0x4238d3]=_0x132e40);}return _0xb4b1ee;}let showBriefHelp=![],description=a2_0x51b5f3(0xee);buildInfo[a2_0x51b5f3(0x35a)]&&!currentVersion[a2_0x51b5f3(0x22a)](buildInfo[a2_0x51b5f3(0x35a)])?description+=a2_0x51b5f3(0x22c)+currentVersion+'\x20('+buildInfo[a2_0x51b5f3(0x35a)]+')':description+=',\x20version\x20'+currentVersion;program[a2_0x51b5f3(0x219)](a2_0x51b5f3(0x36b))['description'](description),program[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x27e),a2_0x51b5f3(0x373))[a2_0x51b5f3(0x2ab)]('-p,\x20--profile\x20<name>',a2_0x51b5f3(0x32a))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x367),a2_0x51b5f3(0x236))['option'](a2_0x51b5f3(0x1a8),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')['option']('--table',a2_0x51b5f3(0x19a))[a2_0x51b5f3(0x2ab)]('--json',a2_0x51b5f3(0xcf))[a2_0x51b5f3(0x2ab)]('--jsonl',a2_0x51b5f3(0x1c1))['option']('--tsv',a2_0x51b5f3(0x28b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x13c),a2_0x51b5f3(0x341))[a2_0x51b5f3(0x2ab)]('--limit\x20<number>',a2_0x51b5f3(0x221))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x386),a2_0x51b5f3(0x175),![])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x18c),a2_0x51b5f3(0x384),![])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2ff),a2_0x51b5f3(0x1ec),![])['option']('--debug',a2_0x51b5f3(0x36f))['option'](a2_0x51b5f3(0x180),a2_0x51b5f3(0x33f))[a2_0x51b5f3(0x2ab)]('--timeout\x20<seconds>',a2_0x51b5f3(0x124),'30')[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0x84),![])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe2),a2_0x51b5f3(0x202),![])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x14a),a2_0x51b5f3(0x17e))['option']('--parent-segment\x20<name>',a2_0x51b5f3(0x15a))[a2_0x51b5f3(0x2ab)]('--llm-project\x20<name>',a2_0x51b5f3(0x323)),program['configureHelp']({'formatHelp':(_0x3ebf65,_0x24c7a0)=>{const _0x34a9c3=a2_0x51b5f3,_0x13ef3a=_0x24c7a0['padWidth'](_0x3ebf65,_0x24c7a0),_0x2921ba=0x2,_0x22f9e8=0x2;function _0x23e22e(_0x3bc109){const _0x33d373=a2_0x48b5,_0x523922=_0x3bc109;return!!(_0x523922[_0x33d373(0x3c2)]||_0x523922[_0x33d373(0x2ec)]);}function _0x42726a(_0x325d57,_0x111d0c){const _0x128f3c=a2_0x48b5;if(_0x111d0c){const _0x97f5c3=''+_0x325d57[_0x128f3c(0x297)](_0x13ef3a+_0x22f9e8)+_0x111d0c;return _0x97f5c3;}return _0x325d57;}function _0x35bb16(_0xe3463f){const _0x148349=a2_0x48b5;return _0xe3463f[_0x148349(0x27c)]('\x0a')['replace'](/^/gm,'\x20'[_0x148349(0xc7)](_0x2921ba));}const _0x2f9e26=[];_0x2f9e26['push'](_0x34a9c3(0x28c)+_0x24c7a0[_0x34a9c3(0x358)](_0x3ebf65));const _0x45d9de=_0x24c7a0[_0x34a9c3(0x2aa)](_0x3ebf65);_0x45d9de&&(_0x2f9e26[_0x34a9c3(0x1a6)](''),_0x2f9e26['push'](_0x45d9de));const _0x4e729c=_0x3ebf65[_0x34a9c3(0x369)]['filter'](_0x4c5d25=>!_0x23e22e(_0x4c5d25));if(_0x4e729c['length']>0x0){if(_0x3ebf65['name']()==='tdx'){const _0x29dbca=_0x3ebf65[_0x34a9c3(0x3a8)](),_0x490c37=!_0x29dbca['noColor']&&process['stdout']['isTTY'],_0x4c8161=COMMAND_CATEGORIES,_0x18cd52=(_0x71b0c6,_0x128649)=>_0x490c37?_0x128649(_0x71b0c6):_0x71b0c6,_0x2d702d=new Map();_0x4e729c[_0x34a9c3(0x13b)](_0x266267=>{const _0x114030=_0x34a9c3;_0x2d702d[_0x114030(0x18f)](_0x266267[_0x114030(0x219)](),_0x266267);}),_0x4c8161[_0x34a9c3(0x13b)](_0x22559e=>{const _0x198213=_0x34a9c3,_0x401289=_0x22559e[_0x198213(0x369)]['flatMap'](_0x258f60=>_0x2d702d['get'](_0x258f60)??[]);if(_0x401289[_0x198213(0x29b)]>0x0){_0x2f9e26[_0x198213(0x1a6)](''),_0x2f9e26[_0x198213(0x1a6)](_0x18cd52(_0x22559e[_0x198213(0x219)]+':',_0x22559e['colorFn']));const _0x535312=_0x401289['map'](_0x6793a8=>{const _0x9cf25d=_0x198213,_0x32facb=_0x24c7a0[_0x9cf25d(0x208)](_0x6793a8),_0x1a5632=_0x24c7a0[_0x9cf25d(0x3d0)](_0x6793a8);return _0x42726a(_0x32facb,_0x1a5632);});_0x2f9e26[_0x198213(0x1a6)](_0x35bb16(_0x535312));}}),_0x2f9e26['push'](''),_0x2f9e26[_0x34a9c3(0x1a6)](_0x34a9c3(0x1b5));}else{const _0x4aad3b=_0x4e729c[_0x34a9c3(0x337)](_0x334095=>{const _0x138cd1=_0x34a9c3,_0x3fe2b7=_0x24c7a0[_0x138cd1(0x208)](_0x334095),_0x27ff76=_0x24c7a0['subcommandDescription'](_0x334095);return _0x42726a(_0x3fe2b7,_0x27ff76);});_0x2f9e26[_0x34a9c3(0x1a6)](''),_0x2f9e26['push'](_0x34a9c3(0x1ef)),_0x2f9e26['push'](_0x35bb16(_0x4aad3b));}}if(showBriefHelp&&_0x3ebf65[_0x34a9c3(0x219)]()===_0x34a9c3(0x36b))_0x2f9e26[_0x34a9c3(0x1a6)](''),_0x2f9e26['push'](_0x34a9c3(0xb2));else{const _0x21bc13=_0x3ebf65['options'][_0x34a9c3(0x3a3)](_0x3b6ea2=>!_0x23e22e(_0x3b6ea2));if(_0x21bc13['length']>0x0){const _0x52539c=_0x21bc13[_0x34a9c3(0x337)](_0x4a4a55=>{const _0x9ec99b=_0x34a9c3,_0x591a9b=_0x24c7a0[_0x9ec99b(0x13e)](_0x4a4a55),_0x4b6b49=_0x24c7a0[_0x9ec99b(0x295)](_0x4a4a55);return _0x42726a(_0x591a9b,_0x4b6b49);});_0x2f9e26['push'](''),_0x2f9e26['push'](_0x34a9c3(0x214)),_0x2f9e26[_0x34a9c3(0x1a6)](_0x35bb16(_0x52539c));}}const _0x287cd1=(_0x3ebf65[_0x34a9c3(0x27f)]||[])[_0x34a9c3(0x3a3)](_0x18a354=>!_0x23e22e(_0x18a354));if(_0x287cd1[_0x34a9c3(0x29b)]>0x0){const _0x41e8f3=_0x287cd1['map'](_0x5b01bc=>{const _0x469836=_0x34a9c3,_0x32117b=_0x24c7a0[_0x469836(0x222)](_0x5b01bc),_0x4d85a5=_0x24c7a0['argumentDescription'](_0x5b01bc);return _0x42726a(_0x32117b,_0x4d85a5);});_0x2f9e26[_0x34a9c3(0x1a6)](''),_0x2f9e26[_0x34a9c3(0x1a6)]('Arguments:'),_0x2f9e26[_0x34a9c3(0x1a6)](_0x35bb16(_0x41e8f3));}return _0x2f9e26[_0x34a9c3(0x27c)]('\x0a')+'\x0a';},'subcommandTerm':_0x15ee4f=>{const _0x3a42ec=a2_0x51b5f3,_0x1a0bf5=(_0x15ee4f[_0x3a42ec(0x27f)]||[])[_0x3a42ec(0x337)](_0xabea0f=>_0xabea0f[_0x3a42ec(0x2ae)]?'<'+_0xabea0f[_0x3a42ec(0x219)]()+'>':'['+_0xabea0f[_0x3a42ec(0x219)]()+']')[_0x3a42ec(0x27c)]('\x20'),_0x4a9580=_0x15ee4f[_0x3a42ec(0x247)](),_0x3040e7=_0x4a9580['length']>0x0?_0x15ee4f[_0x3a42ec(0x219)]()+',\x20'+_0x4a9580[_0x3a42ec(0x27c)](',\x20'):_0x15ee4f[_0x3a42ec(0x219)]();return _0x1a0bf5?_0x3040e7+'\x20'+_0x1a0bf5:_0x3040e7;}}),program['hook'](a2_0x51b5f3(0x1a0),_0xc11ec7=>{const _0x560fd4=a2_0x51b5f3,_0x51289f=_0xc11ec7[_0x560fd4(0x3a8)]();if(_0x51289f[_0x560fd4(0x319)]){const _0x2de945=resolve(_0x51289f[_0x560fd4(0x319)]),_0x23783b=_0x2de945!==_0x51289f[_0x560fd4(0x319)]?'\x20(resolved\x20to\x20'+_0x2de945+')':'';if(!existsSync(_0x2de945))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x560fd4(0x375)+_0x51289f[_0x560fd4(0x319)]+_0x23783b,undefined,{'helpText':_0x560fd4(0x2af)});const _0x2fef72=statSync(_0x2de945);if(!_0x2fef72['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x560fd4(0x1d6)+_0x51289f[_0x560fd4(0x319)]+_0x23783b,undefined,{'helpText':_0x560fd4(0x3cc)});process[_0x560fd4(0x286)](_0x2de945);}if(!_0x51289f[_0x560fd4(0xf8)]){if(_0x51289f[_0x560fd4(0x398)])_0x51289f[_0x560fd4(0xf8)]=_0x560fd4(0x398);else{if(_0x51289f['json'])_0x51289f[_0x560fd4(0xf8)]='json';else{if(_0x51289f[_0x560fd4(0x218)])_0x51289f[_0x560fd4(0xf8)]=_0x560fd4(0x218);else _0x51289f[_0x560fd4(0x2f0)]&&(_0x51289f[_0x560fd4(0xf8)]='tsv');}}}if(_0x51289f[_0x560fd4(0x171)])_0x51289f['logLevel']=LogLevel['TRACE'];else{if(_0x51289f[_0x560fd4(0x284)])_0x51289f[_0x560fd4(0x2f2)]=LogLevel[_0x560fd4(0x19c)];else _0x51289f[_0x560fd4(0x2f2)]===undefined&&(_0x51289f[_0x560fd4(0x2f2)]=LogLevel[_0x560fd4(0x1c8)]);}});async function createTDXInstance(_0x31d128,{skipSiteMismatchCheck:skipSiteMismatchCheck=![]}={}){const _0x2301b1=a2_0x51b5f3;let _0x372a65;try{_0x372a65=await GlobalContext[_0x2301b1(0xf0)](_0x31d128,{'skipSiteMismatchCheck':skipSiteMismatchCheck});}catch(_0x2e4ff5){return _0x2e4ff5 instanceof SDKError?printSDKError(_0x2e4ff5):console[_0x2301b1(0xf1)](a2_0x423e19[_0x2301b1(0x145)]('Error:\x20'+(_0x2e4ff5 instanceof Error?_0x2e4ff5[_0x2301b1(0x1f5)]:String(_0x2e4ff5)))),gracefulExit(0x1),new Promise(()=>{});}_0x372a65['injectIntoOptions'](_0x31d128);const _0x2a2cd7=Number(_0x31d128['timeout']),_0x3cf373=!isNaN(_0x2a2cd7)&&_0x2a2cd7>0x0?_0x2a2cd7*0x3e8:undefined;return TDX[_0x2301b1(0x374)]({'site':_0x372a65['site'],'apiKey':_0x372a65[_0x2301b1(0xad)],'accessToken':_0x372a65[_0x2301b1(0x131)],'logLevel':_0x372a65[_0x2301b1(0x2f2)],'profile':_0x372a65[_0x2301b1(0x352)],'timeout':_0x3cf373});}const databaseCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x14c))[a2_0x51b5f3(0x3ab)]('db')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x11f)),databaseListAction=async(_0x2772e5,_0x5cdb52)=>{const _0x19d881=a2_0x51b5f3,_0xf777a2=new DatabasesCommand(),_0x2a5f56=program[_0x19d881(0x3a8)](),_0x3132ea=await createTDXInstance(_0x2a5f56),_0x19c98c=await _0xf777a2[_0x19d881(0x345)]({'options':{..._0x2a5f56,..._0x5cdb52},'args':_0x2772e5?[_0x2772e5]:[],'tdx':_0x3132ea});gracefulExit(_0x19c98c);};databaseCmd['command']('list\x20[pattern]')['description'](a2_0x51b5f3(0x1e8))['action'](databaseListAction),program[a2_0x51b5f3(0x361)]('databases\x20[pattern]',{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2ed))[a2_0x51b5f3(0x198)](databaseListAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1a2))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2be))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x23a),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x51b5f3(0x2ab)]('--new',a2_0x51b5f3(0x2ee))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x9a),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3b4),a2_0x51b5f3(0x2ef))[a2_0x51b5f3(0x198)](async(_0x32f8c5,_0x2a9daa)=>{const _0x14c1f8=a2_0x51b5f3,_0x4d537e=program[_0x14c1f8(0x3a8)](),_0x1c0120=await createTDXInstance(_0x4d537e);if(_0x32f8c5[0x0]===_0x14c1f8(0x374)){const _0x826ee6=new ChatCreateCommand();gracefulExit(await _0x826ee6[_0x14c1f8(0x345)]({'options':{..._0x4d537e,..._0x2a9daa},'args':_0x32f8c5['slice'](0x1),'tdx':_0x1c0120}));return;}const _0x29dca6=new ChatCommand(),_0x1f38c5=await _0x29dca6['run']({'options':{..._0x4d537e,..._0x2a9daa},'args':_0x32f8c5,'tdx':_0x1c0120});gracefulExit(_0x1f38c5);});const apiCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x162),{'hidden':!isApiCommandEnabled()})['summary']('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs\x20(opt-in)')['addHelpText'](a2_0x51b5f3(0x169),a2_0x51b5f3(0xea))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2e0),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','GET')[a2_0x51b5f3(0x2ab)]('--data\x20<data>',a2_0x51b5f3(0x32b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x371),a2_0x51b5f3(0x100))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2b7),a2_0x51b5f3(0x255),(_0x4aee23,_0x33987f)=>{return _0x33987f?[..._0x33987f,_0x4aee23]:[_0x4aee23];})[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x349),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x51b5f3(0x198)](async(_0x527690,_0x2b7461)=>{const _0x442371=a2_0x51b5f3;if(!isApiCommandEnabled()){console[_0x442371(0xf1)](a2_0x423e19['red'](_0x442371(0x309))),console[_0x442371(0xf1)](''),console[_0x442371(0xf1)]('Raw\x20API\x20requests\x20bypass\x20tdx\x27s\x20structured\x20commands\x20and\x20safety\x20checks.'),console['error'](_0x442371(0x2db)),console[_0x442371(0xf1)](''),console[_0x442371(0xf1)](a2_0x423e19[_0x442371(0x2a4)]('AI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf.\x20Ask\x20the\x20user,\x20or\x20use\x20a\x20structured\x20command\x20instead.')),console[_0x442371(0xf1)](''),console[_0x442371(0xf1)](_0x442371(0x207)),gracefulExit(0x1);return;}if(!_0x527690){apiCmd[_0x442371(0x3a6)]();return;}const _0xbe8109=new ApiCommand(),_0x12a60d=program[_0x442371(0x3a8)](),_0x2c3b81=await createTDXInstance(_0x12a60d),_0x47f0a6=await _0xbe8109[_0x442371(0x345)]({'options':{..._0x12a60d,..._0x2b7461},'args':[_0x527690],'tdx':_0x2c3b81});gracefulExit(_0x47f0a6);});program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2fd))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1cb))[a2_0x51b5f3(0xa2)]('after',a2_0x51b5f3(0xb9))[a2_0x51b5f3(0x198)](async _0x5f2ed6=>{const _0x289f2d=a2_0x51b5f3,_0x261810=new MCPCommand(),_0x1cb066=program[_0x289f2d(0x3a8)](),_0x27ddf5=await createTDXInstance(_0x1cb066),_0x304193=await _0x261810['run']({'options':{..._0x1cb066,..._0x5f2ed6},'args':[],'tdx':_0x27ddf5});gracefulExit(_0x304193);});const tableCmd=program['command'](a2_0x51b5f3(0x398))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1af)),tableListAction=async(_0x21992b,_0x3c545e)=>{const _0xf9d7dc=a2_0x51b5f3,_0x310de9=new TablesCommand(),_0x5d9f4e=program[_0xf9d7dc(0x3a8)](),_0x42494f=await createTDXInstance(_0x5d9f4e);_0x3c545e['in']&&(_0x3c545e[_0xf9d7dc(0x14c)]=_0x3c545e['in']);const _0x1dd83c=await _0x310de9[_0xf9d7dc(0x345)]({'options':{..._0x5d9f4e,..._0x3c545e},'args':_0x21992b?[_0x21992b]:[],'tdx':_0x42494f});gracefulExit(_0x1dd83c);};tableCmd['command'](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x245))['option'](a2_0x51b5f3(0x123),a2_0x51b5f3(0x2e7))['option'](a2_0x51b5f3(0x166),a2_0x51b5f3(0xfe))[a2_0x51b5f3(0x198)](tableListAction),tableCmd['command']('deleted')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2e3))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x38c),'Page\x20size\x201-100\x20(default\x2025)')['option'](a2_0x51b5f3(0x31d),a2_0x51b5f3(0x36e))['action'](async _0x4d33e2=>{const _0x126486=a2_0x51b5f3,_0xecfe40=new TableDeletedCommand(),_0xd4e209=program['opts'](),_0x4e9e92=await createTDXInstance(_0xd4e209),_0x7b754e=await _0xecfe40[_0x126486(0x345)]({'options':{..._0xd4e209,..._0x4d33e2},'args':[],'tdx':_0x4e9e92});gracefulExit(_0x7b754e);}),tableCmd['command'](a2_0x51b5f3(0x3c0))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x14d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x29d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1cd),a2_0x51b5f3(0x25f))[a2_0x51b5f3(0x198)](async(_0x4c3965,_0x2c2235)=>{const _0x245e67=a2_0x51b5f3,_0x36a6da=new TableRecoverCommand(),_0xcb5432=program['opts'](),_0x59d85d=await createTDXInstance(_0xcb5432),_0x211209=await _0x36a6da[_0x245e67(0x345)]({'options':{..._0xcb5432,..._0x2c2235},'args':[_0x4c3965],'tdx':_0x59d85d});gracefulExit(_0x211209);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1cc),{'hidden':!![]})['description'](a2_0x51b5f3(0xc0))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x123),a2_0x51b5f3(0x2e7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x166),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a0))['description'](a2_0x51b5f3(0xf9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x123),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x166),a2_0x51b5f3(0xfe))[a2_0x51b5f3(0x198)](async(_0x2a3a8f,_0x4b19c6)=>{const _0x126600=a2_0x51b5f3,_0x458c9e=new ShowCommand(),_0x3352ae=program['opts'](),_0x33c5fa=await createTDXInstance(_0x3352ae);_0x4b19c6['in']&&(_0x4b19c6[_0x126600(0x14c)]=_0x4b19c6['in']);const _0x3d2f3c=await _0x458c9e[_0x126600(0x345)]({'options':{..._0x3352ae,..._0x4b19c6},'args':_0x2a3a8f?[_0x2a3a8f]:[],'tdx':_0x33c5fa});gracefulExit(_0x3d2f3c);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xed))[a2_0x51b5f3(0x3ab)]('desc')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x243))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x123),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option']('--in\x20<database>',a2_0x51b5f3(0xfe))['action'](async(_0x50594e,_0x284f3a)=>{const _0x104646=a2_0x51b5f3,_0x3c57e5=new DescribeCommand(),_0x56bea4=program['opts'](),_0x39c683=await createTDXInstance(_0x56bea4);_0x284f3a['in']&&(_0x284f3a[_0x104646(0x14c)]=_0x284f3a['in']);const _0x439c9d=await _0x3c57e5[_0x104646(0x345)]({'options':{..._0x56bea4,..._0x284f3a},'args':_0x50594e?[_0x50594e]:[],'tdx':_0x39c683});gracefulExit(_0x439c9d);}),program[a2_0x51b5f3(0x361)]('query\x20[sql]')['description'](a2_0x51b5f3(0x261))['option'](a2_0x51b5f3(0x123),a2_0x51b5f3(0x360))[a2_0x51b5f3(0x2ab)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x51b5f3(0x2ab)]('--catalog\x20<catalog>',a2_0x51b5f3(0x229))['option']('-f,\x20--file\x20<path>',a2_0x51b5f3(0x2fa))['option'](a2_0x51b5f3(0x2fc),a2_0x51b5f3(0x32c))['action'](async(_0xd6120e,_0x56e69d)=>{const _0xb4dd05=a2_0x51b5f3,_0x29cab7=new QueryCommand(),_0x581235=program['opts'](),_0x5b9981=await createTDXInstance(_0x581235);_0x56e69d['in']&&(_0x56e69d[_0xb4dd05(0x14c)]=_0x56e69d['in']);const _0xbac5e4=await _0x29cab7[_0xb4dd05(0x345)]({'options':mergeCommandOptions(_0x581235,_0x56e69d),'args':_0xd6120e?[_0xd6120e]:[],'tdx':_0x5b9981});gracefulExit(_0xbac5e4);});const segmentCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x152))[a2_0x51b5f3(0x3ab)]('sg')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2e6)),segmentListAction=async(_0x431397,_0x4a92a6)=>{const _0x34b372=a2_0x51b5f3,_0x4eb618=new SegmentsCommand(),_0x3e5e07=program['opts'](),_0x5434aa=await createTDXInstance(_0x3e5e07),_0x57dcc6=await _0x4eb618[_0x34b372(0x345)]({'options':{..._0x3e5e07,..._0x4a92a6},'args':_0x431397?[_0x431397]:[],'tdx':_0x5434aa});gracefulExit(_0x57dcc6);};segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x233))['option']('-r,\x20--recursive',a2_0x51b5f3(0x31b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x9b),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x51b5f3(0xa2)]('after',a2_0x51b5f3(0x28a))[a2_0x51b5f3(0x198)](segmentListAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3a5),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x21c))['option'](a2_0x51b5f3(0xfd),a2_0x51b5f3(0x383))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x9b),a2_0x51b5f3(0x1ca),'10')['action'](segmentListAction),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x343),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1b8))[a2_0x51b5f3(0x198)](async(_0xf75caf,_0x57b82a)=>{const _0x42f07f=a2_0x51b5f3,_0x407c43=new SegmentUseCommand(),_0xb965d6=program[_0x42f07f(0x3a8)](),_0x298cd6=await createTDXInstance(_0xb965d6),_0x3566a1=await _0x407c43['run']({'options':{..._0xb965d6,..._0x57b82a},'args':[_0xf75caf],'tdx':_0x298cd6});gracefulExit(_0x3566a1);});const segmentViewAction=async(_0x92162c,_0x2a164a)=>{const _0x110226=a2_0x51b5f3,_0x241b21=new SegmentViewCommand(),_0x33e52f=program[_0x110226(0x3a8)](),_0x7e637d=await createTDXInstance(_0x33e52f),_0x5a7d34=await _0x241b21[_0x110226(0x345)]({'options':{..._0x33e52f,..._0x2a164a},'args':_0x92162c?[_0x92162c]:[],'tdx':_0x7e637d});gracefulExit(_0x5a7d34);};segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xcb))['description'](a2_0x51b5f3(0x34b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xeb),a2_0x51b5f3(0xa5))['action'](segmentViewAction),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x382),{'hidden':!![]})[a2_0x51b5f3(0x3ab)](a2_0x51b5f3(0x182))[a2_0x51b5f3(0x2ab)]('-w,\x20--web',a2_0x51b5f3(0xa5))['description'](a2_0x51b5f3(0x155))[a2_0x51b5f3(0x198)](segmentViewAction),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x192))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x342))[a2_0x51b5f3(0x333)]('--folder\x20<folder>',a2_0x51b5f3(0x9e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x1c3))['addHelpText'](a2_0x51b5f3(0x169),a2_0x51b5f3(0xbc))[a2_0x51b5f3(0x198)](async(_0x2bf59c,_0x7518bf)=>{const _0x16a82d=a2_0x51b5f3,_0x34e385=new SegmentMoveCommand(),_0x40bc7d=program[_0x16a82d(0x3a8)](),_0x56c14b=await createTDXInstance(_0x40bc7d),_0x3716e8=await _0x34e385[_0x16a82d(0x345)]({'options':{..._0x40bc7d,..._0x7518bf},'args':_0x2bf59c,'tdx':_0x56c14b});gracefulExit(_0x3716e8);}),segmentCmd['command']('desc\x20[segment_name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xbd))[a2_0x51b5f3(0x198)](async(_0x291509,_0x5a9a17)=>{const _0xe93f26=a2_0x51b5f3,_0x180d6b=new SegmentDescCommand(),_0x47144a=program[_0xe93f26(0x3a8)](),_0x1aff67=await createTDXInstance(_0x47144a),_0xf6d26d=await _0x180d6b[_0xe93f26(0x345)]({'options':{..._0x47144a,..._0x5a9a17},'args':_0x291509?[_0x291509]:[],'tdx':_0x1aff67});gracefulExit(_0xf6d26d);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1d1))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x36c))[a2_0x51b5f3(0x198)](async(_0x1e6837,_0x2a1c54)=>{const _0x9aaf9a=a2_0x51b5f3,_0x2c166d=new SegmentShowCommand(),_0x2d412b=program[_0x9aaf9a(0x3a8)](),_0x5ec75d=await createTDXInstance(_0x2d412b),_0x571c5a=await _0x2c166d[_0x9aaf9a(0x345)]({'options':{..._0x2d412b,..._0x2a1c54},'args':_0x1e6837?[_0x1e6837]:[],'tdx':_0x5ec75d});gracefulExit(_0x571c5a);}),segmentCmd['command'](a2_0x51b5f3(0x304),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x259))[a2_0x51b5f3(0x198)](async(_0x54c849,_0xa5aa4d)=>{const _0x5dd7db=a2_0x51b5f3,_0xfd71f1=new SegmentFolderListCommand(),_0x590687=program['opts'](),_0x2ad16b=await createTDXInstance(_0x590687),_0x15bceb=await _0xfd71f1[_0x5dd7db(0x345)]({'options':{..._0x590687,..._0xa5aa4d},'args':[_0x54c849],'tdx':_0x2ad16b});gracefulExit(_0x15bceb);});const folderCmd=segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x368),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3da));folderCmd['command'](a2_0x51b5f3(0x227))['description']('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x51b5f3(0x198)](async(_0x366d6f,_0x571328)=>{const _0x539ce3=a2_0x51b5f3,_0x5157f8=new SegmentFolderShowCommand(),_0x1285d1=program[_0x539ce3(0x3a8)](),_0x5634aa=await createTDXInstance(_0x1285d1),_0x2229c7=await _0x5157f8[_0x539ce3(0x345)]({'options':{..._0x1285d1,..._0x571328},'args':[_0x366d6f],'tdx':_0x5634aa});gracefulExit(_0x2229c7);}),segmentCmd['command'](a2_0x51b5f3(0x1b0))['description']('Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)')['option']('--path\x20<file-path>',a2_0x51b5f3(0x328))[a2_0x51b5f3(0x198)](async(_0x2d5ebf,_0x32d407)=>{const _0x346184=a2_0x51b5f3,_0x3950a4=new SegmentSQLCommand(),_0x457eed=program['opts'](),_0x40953e=await createTDXInstance(_0x457eed),_0xeb5bdf=await _0x3950a4[_0x346184(0x345)]({'options':{..._0x457eed,..._0x32d407},'args':_0x2d5ebf?[_0x2d5ebf]:[],'tdx':_0x40953e});gracefulExit(_0xeb5bdf);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xff))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x28f))['action'](async(_0x1a3180,_0x2a8539)=>{const _0x29073c=a2_0x51b5f3,_0x1c04a6=new SegmentFieldsCommand(),_0x2b4d91=program[_0x29073c(0x3a8)](),_0x1937ee=await createTDXInstance(_0x2b4d91),_0xad841=await _0x1c04a6['run']({'options':{..._0x2b4d91,..._0x2a8539},'args':_0x1a3180?[_0x1a3180]:[],'tdx':_0x1937ee});gracefulExit(_0xad841);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x139))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3cd))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x37e))[a2_0x51b5f3(0x198)](async(_0x44760f,_0x457560)=>{const _0x48a276=a2_0x51b5f3,_0x4512f0=new SegmentPullCommand(),_0x5f11d2=program[_0x48a276(0x3a8)](),_0x2a61ba=await createTDXInstance(_0x5f11d2),_0x3f0a24=await _0x4512f0[_0x48a276(0x345)]({'options':{..._0x5f11d2,..._0x457560},'args':_0x44760f?[_0x44760f]:[],'tdx':_0x2a61ba});gracefulExit(_0x3f0a24);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x272))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1ff))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x96),a2_0x51b5f3(0x120))[a2_0x51b5f3(0x198)](async(_0x2ca0f7,_0x2da202)=>{const _0x348f9f=a2_0x51b5f3,_0x28dacc=new SegmentPushCommand(),_0x154a40=program['opts'](),_0x37493a=await createTDXInstance(_0x154a40),_0x15adc9=await _0x28dacc[_0x348f9f(0x345)]({'options':{..._0x154a40,..._0x2da202},'args':_0x2ca0f7?[_0x2ca0f7]:[],'tdx':_0x37493a});gracefulExit(_0x15adc9);}),segmentCmd[a2_0x51b5f3(0x361)]('validate\x20[target]')['description']('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x51b5f3(0x198)](async(_0x4df434,_0x3d3a88)=>{const _0x4cac4c=a2_0x51b5f3,_0x18308a=new SegmentValidateCommand(),_0x1174bc=program[_0x4cac4c(0x3a8)](),_0x12b332=await createTDXInstance(_0x1174bc),_0x4d06b1=await _0x18308a['run']({'options':{..._0x1174bc,..._0x3d3a88},'args':_0x4df434?[_0x4df434]:[],'tdx':_0x12b332});gracefulExit(_0x4d06b1);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2d4),{'hidden':!![]})[a2_0x51b5f3(0x334)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x1f7))['option'](a2_0x51b5f3(0x79),a2_0x51b5f3(0x12b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3a9),a2_0x51b5f3(0x347))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3ce),a2_0x51b5f3(0x3bc))['option'](a2_0x51b5f3(0x102),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x389),a2_0x51b5f3(0x26d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x226),a2_0x51b5f3(0xa8))[a2_0x51b5f3(0x198)](async(_0x1bec4c,_0x2dd958)=>{const _0x51e2b4=a2_0x51b5f3,_0x56df65=new SegmentCreateCommand(),_0x1c3637=program[_0x51e2b4(0x3a8)](),_0x27bd52=await createTDXInstance(_0x1c3637),_0x3149d0=await _0x56df65[_0x51e2b4(0x345)]({'options':{..._0x1c3637,..._0x2dd958},'args':[_0x1bec4c],'tdx':_0x27bd52});gracefulExit(_0x3149d0);}),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1ed),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2dc))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x153),'New\x20segment\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x212))[a2_0x51b5f3(0x2ab)]('--rule\x20<json>',a2_0x51b5f3(0x3ba))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3a9),a2_0x51b5f3(0xd3))['option'](a2_0x51b5f3(0x3ce),a2_0x51b5f3(0x1f3))['option'](a2_0x51b5f3(0x102),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['action'](async(_0x89537c,_0x42b19f)=>{const _0x37251a=a2_0x51b5f3,_0x19174f=new SegmentUpdateCommand(),_0x394f8c=program[_0x37251a(0x3a8)](),_0x347d07=await createTDXInstance(_0x394f8c),_0x2aaff2=await _0x19174f[_0x37251a(0x345)]({'options':{..._0x394f8c,..._0x42b19f},'args':[_0x89537c],'tdx':_0x347d07});gracefulExit(_0x2aaff2);});const parentCmd=segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2d2),{'hidden':!![]})[a2_0x51b5f3(0x334)]('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x41cf78,_0x23c0e6)=>{const _0x7a8995=a2_0x51b5f3,_0x19015e=new ParentSegmentListCommand(),_0x1d30bb=program[_0x7a8995(0x3a8)](),_0x11c461=await createTDXInstance(_0x1d30bb),_0x1a925d=await _0x19015e[_0x7a8995(0x345)]({'options':{..._0x1d30bb,..._0x23c0e6},'args':_0x41cf78?[_0x41cf78]:[],'tdx':_0x11c461});gracefulExit(_0x1a925d);};parentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1d0))[a2_0x51b5f3(0x198)](parentListAction),segmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x264),{'hidden':!![]})[a2_0x51b5f3(0x334)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')['action'](parentListAction),parentCmd['command']('pull\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1b6))[a2_0x51b5f3(0x2ab)]('-o,\x20--output\x20<file>',a2_0x51b5f3(0x126))[a2_0x51b5f3(0x198)](async(_0x26822a,_0x38de21)=>{const _0x50b48e=a2_0x51b5f3,_0x1826b1=new ParentSegmentPullCommand(),_0x4ab6f5=program[_0x50b48e(0x3a8)](),_0x324ed1=await createTDXInstance(_0x4ab6f5),_0xe51a1b=await _0x1826b1['run']({'options':{..._0x4ab6f5,..._0x38de21},'args':_0x26822a?[_0x26822a]:[],'tdx':_0x324ed1});gracefulExit(_0xe51a1b);}),parentCmd[a2_0x51b5f3(0x361)]('push\x20[file]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x82))['action'](async(_0x39787a,_0xacf3e6)=>{const _0x35fcb9=a2_0x51b5f3,_0x17744a=new ParentSegmentPushCommand(),_0x3e3346=program[_0x35fcb9(0x3a8)](),_0x38b40a=await createTDXInstance(_0x3e3346),_0x4a79f5=await _0x17744a[_0x35fcb9(0x345)]({'options':{..._0x3e3346,..._0xacf3e6},'args':_0x39787a?[_0x39787a]:[],'tdx':_0x38b40a});gracefulExit(_0x4a79f5);}),parentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x179))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x7c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x10e),a2_0x51b5f3(0x325))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa1),a2_0x51b5f3(0x2bd))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x20b),a2_0x51b5f3(0x2a1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x87),a2_0x51b5f3(0x1b9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x196),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x51b5f3(0x30b))[a2_0x51b5f3(0x198)](async(_0x597d26,_0x1b1bcf)=>{const _0xc2a880=a2_0x51b5f3,_0x5d0afe=new ParentSegmentValidateCommand(),_0x34121f=program[_0xc2a880(0x3a8)](),_0x4425b3=await createTDXInstance(_0x34121f),_0x1e8c0a=await _0x5d0afe['run']({'options':{..._0x34121f,..._0x1b1bcf},'args':_0x597d26?[_0x597d26]:[],'tdx':_0x4425b3});gracefulExit(_0x1e8c0a);}),parentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x104))[a2_0x51b5f3(0x334)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x10e),a2_0x51b5f3(0x280))[a2_0x51b5f3(0x2ab)]('--attribute\x20[name]',a2_0x51b5f3(0x16f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x20b),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x51b5f3(0x2ab)]('--enriched',a2_0x51b5f3(0x379))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x196),a2_0x51b5f3(0x242),a2_0x51b5f3(0x30b))['action'](async(_0x4cb42b,_0x2c06e2)=>{const _0x47f0b7=a2_0x51b5f3,_0x526b7d=new ParentSegmentPreviewCommand(),_0x411473=program['opts'](),_0x2224c6=await createTDXInstance(_0x411473),_0x32e744=await _0x526b7d[_0x47f0b7(0x345)]({'options':{..._0x411473,..._0x2c06e2},'args':_0x4cb42b?[_0x4cb42b]:[],'tdx':_0x2224c6});gracefulExit(_0x32e744);}),parentCmd[a2_0x51b5f3(0x361)]('run\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x90))[a2_0x51b5f3(0x198)](async(_0x41c356,_0x58b466)=>{const _0x2e94e2=a2_0x51b5f3,_0x3179ab=new ParentSegmentRunCommand(),_0x3098cf=program[_0x2e94e2(0x3a8)](),_0x57209f=await createTDXInstance(_0x3098cf),_0x25f815=await _0x3179ab['run']({'options':{..._0x3098cf,..._0x58b466},'args':_0x41c356?[_0x41c356]:[],'tdx':_0x57209f});gracefulExit(_0x25f815);});const parentSegmentCmd=program['command']('parent-segment')[a2_0x51b5f3(0x3ab)]('ps')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1ac));parentSegmentCmd['command']('list\x20[pattern]')['description'](a2_0x51b5f3(0x1d0))[a2_0x51b5f3(0x198)](parentListAction),parentSegmentCmd['command'](a2_0x51b5f3(0x10d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x391))['option'](a2_0x51b5f3(0x114),a2_0x51b5f3(0x1df))['option'](a2_0x51b5f3(0x32f),a2_0x51b5f3(0x2b2))[a2_0x51b5f3(0x198)](async(_0x300453,_0x11c2ae)=>{const _0x4c28df=a2_0x51b5f3,_0x162fa3=new ParentSegmentPullCommand(),_0x31f4cb=program[_0x4c28df(0x3a8)](),_0x1943ea=await createTDXInstance(_0x31f4cb),_0x94e03d=await _0x162fa3[_0x4c28df(0x345)]({'options':{..._0x31f4cb,..._0x11c2ae},'args':_0x300453?[_0x300453]:[],'tdx':_0x1943ea});gracefulExit(_0x94e03d);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x168))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x238))[a2_0x51b5f3(0x198)](async(_0x32ef35,_0x496103)=>{const _0x2f1c14=a2_0x51b5f3,_0x4023e0=new ParentSegmentPushCommand(),_0x3ba39f=program[_0x2f1c14(0x3a8)](),_0x90fd10=await createTDXInstance(_0x3ba39f),_0x2ea5d2=await _0x4023e0[_0x2f1c14(0x345)]({'options':{..._0x3ba39f,..._0x496103},'args':_0x32ef35?[_0x32ef35]:[],'tdx':_0x90fd10});gracefulExit(_0x2ea5d2);}),parentSegmentCmd['command'](a2_0x51b5f3(0x188))[a2_0x51b5f3(0x334)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x10e),a2_0x51b5f3(0x325))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa1),a2_0x51b5f3(0x2bd))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x20b),a2_0x51b5f3(0x2a1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x87),a2_0x51b5f3(0x1b9))[a2_0x51b5f3(0x2ab)]('--interval\x20<range>',a2_0x51b5f3(0x242),'-1d')[a2_0x51b5f3(0x198)](async(_0x4873f1,_0x4ad7f3)=>{const _0x2c80a1=a2_0x51b5f3,_0x15e8da=new ParentSegmentValidateCommand(),_0x9afe5d=program[_0x2c80a1(0x3a8)](),_0x154c69=await createTDXInstance(_0x9afe5d),_0x1ef970=await _0x15e8da[_0x2c80a1(0x345)]({'options':{..._0x9afe5d,..._0x4ad7f3},'args':_0x4873f1?[_0x4873f1]:[],'tdx':_0x154c69});gracefulExit(_0x1ef970);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xa0))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option']('--master',a2_0x51b5f3(0x280))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa1),a2_0x51b5f3(0x16f))['option'](a2_0x51b5f3(0x20b),a2_0x51b5f3(0x205))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x87),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x51b5f3(0x196),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x51b5f3(0x30b))[a2_0x51b5f3(0x198)](async(_0x47531e,_0x246467)=>{const _0x4dfa36=new ParentSegmentPreviewCommand(),_0x16a4da=program['opts'](),_0x59880c=await createTDXInstance(_0x16a4da),_0x5db085=await _0x4dfa36['run']({'options':{..._0x16a4da,..._0x246467},'args':_0x47531e?[_0x47531e]:[],'tdx':_0x59880c});gracefulExit(_0x5db085);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x318))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x90))[a2_0x51b5f3(0x198)](async(_0xfa3089,_0x478713)=>{const _0x585c3b=a2_0x51b5f3,_0x15c3ee=new ParentSegmentRunCommand(),_0x1ff75e=program[_0x585c3b(0x3a8)](),_0x432f1a=await createTDXInstance(_0x1ff75e),_0x5f5511=await _0x15c3ee[_0x585c3b(0x345)]({'options':{..._0x1ff75e,..._0x478713},'args':_0xfa3089?[_0xfa3089]:[],'tdx':_0x432f1a});gracefulExit(_0x5f5511);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a5))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x34c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xab),a2_0x51b5f3(0x38f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x109),a2_0x51b5f3(0xa4))[a2_0x51b5f3(0x198)](async(_0x4d70a8,_0x2ff12a)=>{const _0x207fea=a2_0x51b5f3,_0x3ddaa1=new ParentSegmentFieldsCommand(),_0x1a31bc=program[_0x207fea(0x3a8)](),_0x43d390=await createTDXInstance(_0x1a31bc),_0x3678ad=await _0x3ddaa1[_0x207fea(0x345)]({'options':{..._0x1a31bc,..._0x2ff12a},'args':_0x4d70a8?[_0x4d70a8]:[],'tdx':_0x43d390});gracefulExit(_0x3678ad);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x186))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x291))[a2_0x51b5f3(0x2ab)]('-w,\x20--web',a2_0x51b5f3(0x366))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xab),a2_0x51b5f3(0x38f))['option'](a2_0x51b5f3(0x109),a2_0x51b5f3(0xa4))[a2_0x51b5f3(0x198)](async(_0x19f56d,_0x3e210e)=>{const _0x1ec715=a2_0x51b5f3,_0x3fd659=new ParentSegmentViewCommand(),_0x4fdc70=program[_0x1ec715(0x3a8)](),_0x4ebcb3=await createTDXInstance(_0x4fdc70),_0x5d1c18=await _0x3fd659[_0x1ec715(0x345)]({'options':{..._0x4fdc70,..._0x3e210e},'args':_0x19f56d?[_0x19f56d]:[],'tdx':_0x4ebcb3});gracefulExit(_0x5d1c18);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2cb))['description'](a2_0x51b5f3(0x24f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x114),a2_0x51b5f3(0x1df))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xab),a2_0x51b5f3(0x38f))[a2_0x51b5f3(0x2ab)]('--jsonl',a2_0x51b5f3(0xa4))['action'](async(_0xd10f0c,_0x506073)=>{const _0x253e46=a2_0x51b5f3,_0x2366a6=new ParentSegmentDescCommand(),_0x234afa=program['opts'](),_0x21f77f=await createTDXInstance(_0x234afa),_0x20e24f=await _0x2366a6[_0x253e46(0x345)]({'options':{..._0x234afa,..._0x506073},'args':_0xd10f0c?[_0xd10f0c]:[],'tdx':_0x21f77f});gracefulExit(_0x20e24f);}),parentSegmentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3b8))[a2_0x51b5f3(0x334)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x51b5f3(0xab),a2_0x51b5f3(0x38f))['option'](a2_0x51b5f3(0x109),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x2210ac,_0x4366a1)=>{const _0x505894=a2_0x51b5f3,_0x539483=new ParentSegmentSQLCommand(),_0x4574f2=program[_0x505894(0x3a8)](),_0x49f99a=await createTDXInstance(_0x4574f2),_0xdeba2=await _0x539483[_0x505894(0x345)]({'options':{..._0x4574f2,..._0x4366a1},'args':_0x2210ac?[_0x2210ac]:[],'tdx':_0x49f99a});gracefulExit(_0xdeba2);}),parentSegmentCmd['command'](a2_0x51b5f3(0x2eb))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x268))[a2_0x51b5f3(0x2ab)]('--limit\x20<n>',a2_0x51b5f3(0x3d1))[a2_0x51b5f3(0x2ab)]('--json',a2_0x51b5f3(0x38f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x109),'Output\x20as\x20JSON\x20Lines')[a2_0x51b5f3(0x198)](async(_0x23c0ee,_0x15b95a)=>{const _0xc4cc9b=a2_0x51b5f3,_0x1c717a=new ParentSegmentShowCommand(),_0x2ea089=program[_0xc4cc9b(0x3a8)](),_0xa64d00=await createTDXInstance(_0x2ea089),_0x5d1ade=await _0x1c717a['run']({'options':{..._0x2ea089,..._0x15b95a},'args':_0x23c0ee?[_0x23c0ee]:[],'tdx':_0xa64d00});gracefulExit(_0x5d1ade);}),parentSegmentCmd[a2_0x51b5f3(0x361)]('use\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x234))[a2_0x51b5f3(0x198)](async(_0x21c48a,_0x5d84ed)=>{const _0x2cd3c7=a2_0x51b5f3,_0x7249be=new UseCommand(),_0x142210=program['opts'](),_0x3ffcd3=_0x21c48a?['parent_segment',_0x21c48a]:[],_0x2b367d=await _0x7249be[_0x2cd3c7(0x345)]({'options':{..._0x142210,..._0x5d84ed},'args':_0x3ffcd3,'tdx':null});gracefulExit(_0x2b367d);});const psRtCmd=parentSegmentCmd[a2_0x51b5f3(0x361)]('rt')[a2_0x51b5f3(0x334)]('RT\x202.0\x20configuration\x20management');psRtCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1c2))[a2_0x51b5f3(0x198)](async(_0x50111f,_0x3f29a5)=>{const _0x57f60=a2_0x51b5f3,_0x5c0f84=new PSRtListCommand(),_0xd01f9c=program[_0x57f60(0x3a8)](),_0x467340=await createTDXInstance(_0xd01f9c),_0x5efebe=await _0x5c0f84[_0x57f60(0x345)]({'options':{..._0xd01f9c,..._0x3f29a5},'args':_0x50111f?[_0x50111f]:[],'tdx':_0x467340});gracefulExit(_0x5efebe);}),psRtCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x188))['description'](a2_0x51b5f3(0x2fe))[a2_0x51b5f3(0x198)](async(_0xac678a,_0x228684)=>{const _0x10056e=a2_0x51b5f3,_0x53713f=new PSRtValidateCommand(),_0x58341c=program[_0x10056e(0x3a8)](),_0x3a4154=await createTDXInstance(_0x58341c),_0x15ae26=await _0x53713f[_0x10056e(0x345)]({'options':{..._0x58341c,..._0x228684},'args':_0xac678a?[_0xac678a]:[],'tdx':_0x3a4154});gracefulExit(_0x15ae26);}),psRtCmd['command']('configuration_versions\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x296))[a2_0x51b5f3(0x198)](async(_0x3f12f7,_0x592172)=>{const _0x140638=a2_0x51b5f3,_0x29d1f4=new PSRtConfigVersionCommand(),_0x3c22f9=program['opts'](),_0x35f9b0=await createTDXInstance(_0x3c22f9),_0x4760ef=await _0x29d1f4[_0x140638(0x345)]({'options':{..._0x3c22f9,..._0x592172},'args':_0x3f12f7?[_0x3f12f7]:[],'tdx':_0x35f9b0});gracefulExit(_0x4760ef);});const psRtJnCmd=psRtCmd[a2_0x51b5f3(0x361)]('jn')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2b8));psRtJnCmd[a2_0x51b5f3(0x361)]('list\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x293))[a2_0x51b5f3(0x198)](async(_0x20faaf,_0x349c64)=>{const _0x5cbf80=a2_0x51b5f3,_0x1a91f6=new PSRtJnListCommand(),_0x281da4=program[_0x5cbf80(0x3a8)](),_0x1098f6=await createTDXInstance(_0x281da4),_0x2fcf06=await _0x1a91f6[_0x5cbf80(0x345)]({'options':{..._0x281da4,..._0x349c64},'args':_0x20faaf?[_0x20faaf]:[],'tdx':_0x1098f6});gracefulExit(_0x2fcf06);}),psRtJnCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x133))['description'](a2_0x51b5f3(0xc3))['action'](async(_0x2cbc85,_0x4f658b)=>{const _0x2447b7=a2_0x51b5f3,_0xbf96ad=new PSRtJnPauseCommand(),_0x230574=program[_0x2447b7(0x3a8)](),_0x28b6f2=await createTDXInstance(_0x230574),_0x2f9174=await _0xbf96ad[_0x2447b7(0x345)]({'options':{..._0x230574,..._0x4f658b},'args':[_0x2cbc85],'tdx':_0x28b6f2});gracefulExit(_0x2f9174);}),psRtJnCmd[a2_0x51b5f3(0x361)]('resume_activations\x20<journeyId>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2d3))[a2_0x51b5f3(0x198)](async(_0x1f485f,_0x553319)=>{const _0x46812b=a2_0x51b5f3,_0x147c22=new PSRtJnResumeCommand(),_0x58a0d6=program[_0x46812b(0x3a8)](),_0x167c36=await createTDXInstance(_0x58a0d6),_0x583104=await _0x147c22[_0x46812b(0x345)]({'options':{..._0x58a0d6,..._0x553319},'args':[_0x1f485f],'tdx':_0x167c36});gracefulExit(_0x583104);});function a2_0x5238(){const _0x35d0eb=['Create\x20a\x20workspace','Disable\x20a\x20workflow\x20schedule','map','--database\x20<db>','Show\x20a\x20specific\x20realtime\x20personalization','projects\x20[pattern]','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','Workflow\x20project\x20management','delivery','Output\x20directory','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','log','Save\x20output\x20to\x20file','Safely\x20move\x20one\x20or\x20more\x20segments\x20(by\x20ID\x20or\x20name)\x20to\x20a\x20folder\x20—\x20preserves\x20rules','use\x20<path>','Folder\x20description','run','delete\x20<token_id>\x20[parent_segment]','Filtering\x20rule\x20from\x20JSON\x20file','auth','--type\x20<api_type>','--html-file\x20<path>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','--email-sender-id\x20<id>','restore\x20<folder>','--customer-group-file\x20<file>','list\x20[project.workflow]','--file\x20<path>','profile','Delay\x20in\x20seconds\x20before\x20execution','Preview\x20without\x20creating\x20the\x20project','--revision\x20<revision>','List\x20workflow\x20schedules\x20(alias\x20for\x20`schedule\x20list`)','Show\x20timeline\x20for\x20specific\x20attempt','commandUsage','Personalization\x20service\x20management','gitRevision','Include\x20subtasks\x20in\x20tasks\x20output','3868nqkUZi','Overwrite\x20existing\x20profile','Update\x20a\x20realtime\x20personalization\x20entity','--to\x20<date>','Database\x20to\x20query\x20(default:\x20information_schema)','command','Read\x20query\x20from\x20file','Preview\x20changes\x20without\x20writing\x20files','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Duplicate\x20a\x20campaign','Open\x20parent\x20segment\x20in\x20web\x20browser','--site\x20<site>','folder','commands','Show\x20document\x20details','tdx','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','create\x20<parent_name>\x20<folder_name>','Resume\x20listing\x20after\x20this\x20table\x20id\x20(from\x20a\x20previous\x20page)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','line-imagemap-image','-f,\x20--file\x20<path>','--yes','Change\x20to\x20directory\x20before\x20executing\x20command','create','Directory\x20does\x20not\x20exist:\x20','slice','Custom\x20revision\x20name\x20(default:\x20timestamp)','Skip\x20validation\x20of\x20.dig\x20files','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Create\x20a\x20new\x20profile','argv','--limit\x20<number>','use\x20<name>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Show\x20authentication\x20status\x20and\x20current\x20context','attempt:','Interactive\x20chat\x20selector','info\x20[segment_name]','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20substring,\x20with\x20`*`/`?`\x20wildcards)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','profiles','--color','Target\x20directory\x20for\x20YAML\x20files','--priority\x20<priority>','--invisible','Email\x20subject\x20template','--timezone\x20<tz>','--page-size\x20<n>','-n,\x20--name\x20<name>','Assignee','Output\x20as\x20JSON','finish\x20<name-or-id>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Access\x20control\x20policy\x20commands','Temperature\x20(0.0-2.0,\x20default:\x200.7)','--audience\x20<name>','Agent\x20description','--dry-run','table','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Resume\x20a\x20paused\x20campaign','audience','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','Run\x20backfill\x20sessions\x20for\x20the\x20gap\x20while\x20the\x20schedule\x20was\x20disabled\x20(off\x20by\x20default)','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Run\x20tests\x20for\x20an\x20LLM\x20agent','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Pull\x20campaigns\x20to\x20YAML\x20files','filter','Cron\x20expression\x20for\x20scheduling','segments\x20[pattern]','help','Create\x20segment\x20folder','opts','--rule-file\x20<file>','update\x20<name>','alias','Show\x20email\x20template\x20details','Parent\x20folder\x20name\x20for\x20nested\x20folders','Workspace\x20management','Show\x20campaign\x20details','Update\x20an\x20email\x20template','stderr','--next','upload\x20[project-name-or-dir]','--stream','enable\x20<id>','ls\x20[path]','line-sender-account','sql\x20[name]','[options]\x20--\x20[claude-code-args...]','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Destination\x20folder\x20in\x20DAM\x20(default:\x20root)','Folder\x20name\x20for\x20organization','delete\x20<project-name-or-id>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','project','recover\x20<id>','use\x20[project]','_hidden','13211tkPbCd','Reason\x20for\x20killing\x20the\x20attempt','Initialize\x20a\x20new\x20workspace','LINE\x20sender\x20account\x20management','--days\x20<n>','Make\x20service\x20public\x20(default:\x20private)','-r,\x20--resume','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Open\x20a\x20document\x20in\x20$EDITOR','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Pull\x20child\x20segments\x20to\x20YAML\x20files','--folder\x20<name>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','subcommandDescription','Limit\x20number\x20of\x20rows','Resume\x20a\x20conversation\x20(shows\x20selector)','Show\x20workspace\x20details','Conflict\x20strategy:\x20ask\x20(default),\x20replace,\x20keep','Always-on\x20campaign\x20management','connections','--engine-version\x20<version>','--in\x20<db>','--enable-utm-tracking','[DEPRECATED]\x20Segment\x20folder\x20management','--assignee\x20<assignee>','logs','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','AI-native\x20work\x20management','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Remove\x20API\x20key\x20from\x20system\x20keychain','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','--rule\x20<json>','list\x20[project]','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','mkdir\x20<path>','init\x20[name]','outputHelp','Plaintext\x20template\x20content','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','update\x20<agent-name>','Preview\x20operation\x20without\x20executing','Create,\x20update,\x20or\x20delete\x20a\x20single\x20composable\x20child\x20segment','Data\x20connection\x20management\x20(for\x20activations/exports)','--enriched','--include-stats','--add-attributes-file\x20<file>','always-on-campaigns\x20[pattern]','Model\x20type\x20(default:\x20claude-4.5-sonnet)','[action]','--include-retried','Override\x20project\x20name','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Delivery\x20operations\x20(email\x20senders)','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','--method\x20<pm>','schema\x20<type>','--delete','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','--conflict\x20<strategy>','kill','--chat-id\x20<id>','--max-depth\x20<depth>','Trigger\x20on-demand\x20journey\x20workflow\x20execution','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Target\x20folder\x20(destination)\x20—\x20numeric\x20ID\x20or\x20name/path','--editor-type\x20<type>','preview\x20[name]','--attribute\x20[name]','addHelpText','--from\x20<timestamp>','Output\x20as\x20JSON\x20Lines','Open\x20segment\x20in\x20web\x20browser','\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20token\x0a\x20\x20$\x20tdx\x20auth\x20token\x20--profile\x20production\x0a','Email\x20preview\x20text\x20(up\x20to\x20220\x20characters)','Skip\x20population\x20counting','--parent-folder\x20<name>','status','--json','Show\x20the\x20task\x20graph\x20and\x20side-effect\x20warnings\x20without\x20executing','apiKey','--include-history','Print\x20the\x20current\x20OAuth\x20access\x20token','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Service\x20description','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','LINE\x20imagemap\x20image\x20management','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Allow\x20removing\x20audience\x20attributes/behaviors\x20not\x20in\x20local\x20YAML\x20(disabled\x20by\x20default)','Create\x20an\x20email\x20template','Database\x20name','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20AI\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','Follow/watch\x20timeline\x20for\x20running\x20attempts','allowExcessArguments','\x0aSegments\x20and\x20--folder\x20accept\x20a\x20numeric\x20ID\x20or\x20a\x20name/path,\x20resolved\x20(case-insensitive)\x0awithin\x20the\x20current\x20parent\x20segment.\x20Names\x20need\x20a\x20parent\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20ID\x0a\x20\x20tdx\x20sg\x20move\x20\x22VIP\x20Customers\x22\x20--folder\x20\x22Archive\x22\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20move\x20by\x20name\x0a\x20\x20tdx\x20sg\x20move\x20\x22Marketing/VIP\x20Customers\x22\x20--folder\x20\x22Marketing/Archive\x22\x20\x20\x20nested\x20path\x0a\x20\x20tdx\x20sg\x20move\x201603887\x20--folder\x208299501\x20--dry-run\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20preview,\x20no\x20changes\x0a\x0aDon\x27t\x20know\x20where\x20a\x20segment\x20lives\x20(or\x20the\x20name\x20is\x20nested)?\x20Find\x20it\x20first,\x20then\x20move\x20by\x20the\x20printed\x20path:\x0a\x20\x20tdx\x20sg\x20list\x20\x22<name>\x22\x20-r\x0aIf\x20a\x20bare\x20name\x20matches\x20several\x20segments,\x20the\x20move\x20refuses\x20and\x20lists\x20them\x20—\x20pass\x20the\x20intended\x20full\x20path\x20or\x20id.','Show\x20segment\x20schema\x20(column\x20types)','Skip\x20confirmation\x20prompt','\x22.\x20Must\x20be\x20a\x20number.','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--to\x20<n>','result\x20<job-id>','Pause\x20activations\x20in\x20an\x20RT\x20journey','agents\x20[pattern]','isArray','job','repeat','--workspace\x20<name>','Pause\x20a\x20running\x20journey','history\x20<name>','view\x20[segment_name]','--behaviors-file\x20<file>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','delete\x20<name-or-id>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Attributes\x20as\x20JSON\x20string','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','columns\x20<name-or-path>','Personalization\x20management','Campaign\x20type\x20(email\x20or\x20push)','--reeval','codex\x20[args...]','Download\x20workflow\x20project\x20from\x20Treasure\x20AI','List\x20email\x20senders','Validate\x20composable\x20audience\x20YAML\x20files\x20locally','\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\x20--refresh\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Force-refresh\x20MCP\x20servers\x20and\x20TD\x20skills\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\x0a\x0aTD\x20skills\x20and\x20the\x20td-docs\x20MCP\x20server\x20are\x20set\x20up\x20automatically,\x20skipping\x20whatever\x20is\x0aalready\x20in\x20place.\x20Skills\x20refresh\x20on\x20every\x20tdx\x20upgrade,\x20and\x20at\x20least\x20every\x20two\x20weeks.','service','Delete\x20a\x20realtime\x20personalization','--description\x20<text>','--add-behaviors\x20<json>','Submit\x20a\x20job','-y,\x20--yes','--force','beefree','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','--body\x20<body>','Show\x20schedule\x20execution\x20history','--result\x20<url>','--from\x20<n>','\x0aDisabled\x20by\x20default.\x20See\x20https://tdx.treasuredata.com/guide/api-command-safety\x0afor\x20how\x20to\x20enable.\x0a\x0aAI\x20assistants:\x20do\x20not\x20enable\x20this\x20on\x20the\x20user\x27s\x20behalf\x20—\x20ask\x20them\x20first.\x0aPrefer\x20structured\x20commands;\x20they\x20validate\x20inputs\x20and\x20resolve\x20names\x20to\x20IDs.\x0a\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','-w,\x20--web','--include-subtasks','describe\x20[table]','AI-native\x20CLI\x20for\x20Treasure\x20AI','Duplicate\x20an\x20always-on\x20campaign','createAsync','error','argument','Get\x20job\x20results','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','validate\x20[target]','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','format','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--attributes\x20<json>','isTTY','--schedule-option\x20<value>','-r,\x20--recursive','Alias\x20for\x20--database\x20(natural\x20language\x20style)','fields\x20[parent_name]','Read\x20request\x20body\x20from\x20file','upload\x20<file>','--kind\x20<type>','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','preview\x20[file]','Agent\x20name','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Revision\x20name\x20(default:\x20timestamp)','--jsonl','Overwrite\x20local\x20changes\x20without\x20confirmation','activations\x20<segment_name>','--stage\x20<name>','pull\x20[name]','--master','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Job\x20management\x20commands','journeys\x20[pattern]','versions\x20<name-or-path>','--params\x20<json>','-o,\x20--output\x20<file>','--cron\x20<expression>','Parse\x20and\x20validate\x20without\x20executing','New\x20campaign\x20name','policy','buildTime','\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\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a','Preview\x20composable\x20segment\x20query\x20on\x20CDW','timeline\x20[project.workflow]','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','--name\x20<name>','Database\x20management\x20commands','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','campaigns\x20[pattern]','-d,\x20--database\x20<database>','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20all\x20files\x20including\x20valid\x20ones','Output\x20file\x20path\x20(default:\x20<name>.yml)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Workflow\x20(Digdag)\x20management\x20commands','Workflow\x20parameter\x20(repeatable)','Filtering\x20rule\x20as\x20JSON\x20string','Run\x20a\x20scheduled\x20query\x20immediately','models','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Upload\x20an\x20image\x20to\x20Engage\x20DAM\x20(JPEG/PNG/GIF)','Query\x20type:\x20trino\x20or\x20hive','accessToken','Attributes\x20from\x20JSON\x20file','pause_activations\x20<journeyId>','Document\x20body\x20text','view\x20<name-or-path>','Update\x20a\x20workspace','set\x20<key=value>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','pull\x20[parent_or_file]','List\x20available\x20LLM\x20models','forEach','--output\x20<file>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','optionTerm','Setup\x20API\x20key\x20authentication\x20interactively','item','_list-commands','Check\x20for\x20updates\x20without\x20installing','Name\x20for\x20the\x20duplicated\x20campaign','--description\x20<desc>','red','always-on-campaign','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Starter\x20message','--session\x20<id>','Scheduled\x20query\x20management\x20commands','database','Recover\x20a\x20deleted\x20table\x20by\x20id','claude-4.5-sonnet','Ending\x20offset\x20(default:\x2020)','push\x20[target]','Email\x20sender\x20ID\x20for\x20delivery','segment','--name\x20<new_name>','Resume\x20a\x20paused\x20journey','Show\x20segment\x20details\x20(alias\x20for\x20view)','exit','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20always-on\x20campaigns','Add\x20behaviors\x20from\x20JSON\x20file','List\x20all\x20data\x20connections','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','options','--priority\x20<-2~2>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','split','Push\x20without\x20confirmation','--allowed-ips\x20<ips>','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','api\x20[endpoint]','show\x20<job-id>','Resume\x20from\x20specific\x20task\x20(retry)','trino','--in\x20<database>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','push\x20[name]','after','2OHGynZ','8390qRkJxN','Pull\x20always-on\x20campaigns\x20to\x20YAML\x20files','Resume\x20scheduling\x20from\x20this\x20time\x20instead\x20of\x20the\x20schedule\x20definition\x20(ISO-8601,\x20e.g.\x202026-12-31T23:59:00+00:00)','list\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','List\x20composable\x20audiences','trace','Include\x20all\x20items\x20(no\x20stale\x20filtering)','list','--default','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--html\x20<html>','users','--session-time\x20<time>','validate\x20[file]','resume\x20<name-or-id>','claude\x20[args...]','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','--start-at\x20<datetime>','--trace','create\x20<name>','describe','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','engage','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','view\x20[name]','llm','validate\x20[name]','tasks','Pull\x20workflow\x20project\x20to\x20local\x20folder','\x20-\x20built\x20','--no-color','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Delete\x20a\x20campaign','set','validate\x20[path]','--param\x20<key=value>','move\x20<segment...>','statusline','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Export\x20journey(s)\x20as\x20YAML\x20files','--interval\x20<range>','--retry-limit\x20<0~32>','action','--refresh','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','engage_workspace','DEBUG','--temperature\x20<n>','Agent\x20prompt/instructions','Name\x20for\x20the\x20new\x20project\x20(required)','preAction','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','chat\x20[message...]','--name\x20<new-name>','Database\x20name\x20(default:\x20information_schema)','tdx\x20','push','Show\x20agent\x20details','--format\x20<format>','types','Resume\x20a\x20paused\x20always-on\x20campaign','rm\x20<path>','Parent\x20segment\x20management','Timezone\x20for\x20cron\x20(default:\x20UTC)','push\x20<file>','Table\x20management\x20commands','sql\x20[segment_name]','Task\x20name\x20for\x20logs\x20action','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','list\x20[pattern]','Email\x20template\x20management','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','attempts\x20[project]','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','Transition\x20a\x20task\x20to\x20a\x20new\x20status','pause\x20<name-or-id>','--schedule-type\x20<type>','upgrade','--name\x20<text>','Show\x20journey\x20table\x20column-to-step\x20mapping','run\x20<name>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Preview\x20the\x20move\x20without\x20changing\x20anything\x20(no\x20data\x20is\x20modified)','...','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20a\x20single\x20schedule\x20by\x20its\x20ID','INFO','Resume\x20from\x20specific\x20task','Maximum\x20recursion\x20depth\x20(default:\x2010)','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','tables\x20[pattern]','--database\x20<database>','Timezone\x20(e.g.,\x20America/Los_Angeles)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','show\x20[segment_name]','workflows\x20[project]','Force\x20retry\x20even\x20if\x20not\x20failed','Initial\x20status','--audience-id\x20<id>','Path\x20is\x20not\x20a\x20directory:\x20','Open\x20journey\x20in\x20web\x20browser','Maximum\x20number\x20of\x20nodes','Manage\x20workflow\x20project\x20secrets','Personalization\x20name','retry\x20<session-id>','Update\x20an\x20existing\x20agent','workspaces\x20[pattern]','\x0aExamples:\x0a\x20\x20tdx\x20codex\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\x20\x20Launch\x20Codex\x20routed\x20through\x20TD\x20LLM\x20Proxy\x0a\x20\x20tdx\x20codex\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20\x20Start\x20Codex\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20codex\x20--profile\x20my-profile\x20\x20\x20\x20\x20\x20Use\x20a\x20specific\x20tdx\x20profile\x20for\x20auth\x0a\x0aCodex\x20is\x20configured\x20via\x20\x27-c\x27\x20overrides\x20only\x20—\x20your\x20~/.codex/config.toml\x20is\x0anever\x20modified.\x20The\x20\x27td\x27\x20model\x20provider\x20it\x20registers\x20calls\x20\x27tdx\x20auth\x20token\x27\x0aper\x20request,\x20so\x20bearer\x20tokens\x20refresh\x20automatically.','Output\x20file\x20path','New\x20service\x20name','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Continue\x20most\x20recent\x20conversation','patch\x20<personalization_id>','Include\x20retried\x20attempts\x20(for\x20list)','-f,\x20--force','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Show\x20always-on\x20campaign\x20details','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Clear\x20workflow\x20project\x20context','--all','clone\x20[source]','Enable\x20verbose\x20logging','update\x20<segment_name>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Commands:','Validate\x20journey\x20YAML\x20files\x20locally','Pull\x20specific\x20campaign\x20by\x20name','Show\x20items\x20updated\x20within\x20N\x20days','Move\x20to\x20folder','launch\x20<name-or-id>','message','Retry\x20limit\x20(0\x20to\x2032)','Segment\x20description','-p,\x20--profile\x20<name>','Create\x20a\x20new\x20campaign','agent','85xHJDxY','List\x20Engage\x20DAM\x20directory\x20contents','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','HTML\x20template\x20content','Push\x20YAML\x20files\x20to\x20Treasure\x20AI\x20as\x20child\x20segments','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','attempt','Skip\x20confirmation\x20prompts','board','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','For\x20setup\x20instructions,\x20see\x20https://tdx.treasuredata.com/guide/api-command-safety','subcommandTerm','-o,\x20--output\x20<dir>','Campaign\x20description','--behavior\x20[name]','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Behaviors\x20as\x20JSON\x20string','List\x20all\x20available\x20profiles','Include\x20retried\x20attempts','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Pause\x20an\x20always-on\x20campaign','Updated\x20description','delete\x20<args...>','Options:','Delete\x20the\x20named\x20segment\x20instead\x20of\x20creating/updating\x20it\x20(single\x20segment\x20only,\x20not\x20a\x20directory\x20prune\x20—\x20disabled\x20by\x20default)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Result\x20output\x20destination\x20URL','jsonl','name','media','Delete\x20a\x20workspace','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','workflow','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','--add-attributes\x20<json>','Timezone\x20for\x20cron','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','argumentTerm','show\x20<name>','Delete\x20workflow\x20project\x20from\x20Treasure\x20AI','variadic','--no-count-population','show\x20<folder_ref>','Run\x20specific\x20tests\x20(comma-separated)','Trino\x20catalog\x20(default:\x20td)','includes','RT\x202.0\x20configuration\x20management',',\x20version\x20','Delete\x20an\x20LLM\x20project','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--tags\x20<tags>','--full','--starter-message\x20<text>','catch','List\x20folders\x20and\x20segments;\x20with\x20-r\x20and\x20a\x20pattern,\x20search\x20the\x20whole\x20tree\x20by\x20name','Set\x20or\x20show\x20parent\x20segment\x20context','jobs','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws).\x20Defaults\x20to\x20the\x20active\x20profile\x27s\x20site,\x20or\x20us01','update\x20<service_id>\x20[parent_segment]','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--attempt-id\x20<id>','--agent\x20<ref>','--result\x20<target>','duplicate\x20<name-or-id>','Composable\x20audience\x20name','Sections\x20as\x20an\x20inline\x20JSON\x20array','--schedule-id\x20<id>','delete\x20<personalization_id>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Describe\x20table\x20schema','--type\x20<type>','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','create\x20<name>\x20<service_id>\x20[parent_segment]','aliases','-o,\x20--output\x20<folder>','Launch\x20an\x20always-on\x20campaign','show\x20<personalization_id>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','List\x20activations\x20for\x20a\x20journey','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','User\x20management\x20commands','token','Invalid\x20editor\x20type:\x20','Show\x20the\x20most\x20recent\x20chat','Finish\x20an\x20always-on\x20campaign','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Show\x20what\x20would\x20be\x20written\x20without\x20writing','Kill\x20a\x20job','--segment\x20<path>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','--sections\x20<json>','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','show\x20<policy>','\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','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Restore\x20into\x20a\x20different\x20database\x20(use\x20on\x20409\x20db\x20conflict)','--skip-validation','Run\x20Trino\x20query\x20with\x20streaming\x20results','Job\x20priority\x20(-2\x20to\x202)','New\x20workspace\x20name','parents\x20[pattern]','flags','3086692LWpbPr','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20Kanban\x20board\x20view\x20of\x20tasks','List\x20journeys\x20(alias\x20for\x20journey\x20list)','--status\x20<status>','Update\x20an\x20always-on\x20campaign','Make\x20segment\x20invisible\x20(default:\x20visible)','New\x20service\x20description','create\x20<name>\x20[parent_segment]','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','schedule','push\x20[parent_or_file]','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','0.7','--clear','Comma-separated\x20tags','--version','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Create\x20a\x20scheduled\x20query','Starting\x20offset\x20(default:\x200)','-d,\x20--database\x20<db>','join','secrets','-C,\x20--directory\x20<path>','registeredArguments','Show\x20master\x20table\x20sample\x20data','usage','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','templates\x20[pattern]','debug','push\x20[source-dir]','chdir','Add\x20behaviors\x20as\x20JSON\x20string','Workflow\x20attempt\x20management','Upload\x20an\x20image\x20for\x20LINE\x20imagemap\x20(JPEG/PNG,\x20min\x201040px,\x20max\x2010MB)','\x0aNeeds\x20a\x20parent\x20segment\x20context\x20(tdx\x20sg\x20use\x20/\x20--parent-segment).\x20Add\x20--format\x20json\x20for\x20machine\x20output.\x0a\x0aExamples:\x0a\x20\x20tdx\x20sg\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list\x20the\x20current\x20context\x20(folders\x20+\x20segments)\x0a\x20\x20tdx\x20sg\x20list\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20full\x20tree\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20find\x20every\x20segment/folder\x20whose\x20name\x20contains\x20\x22VIP\x22\x20(with\x20its\x20path)\x0a\x20\x20tdx\x20sg\x20list\x20\x22Q1\x20*\x22\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wildcard\x20search\x0a\x20\x20tdx\x20sg\x20list\x20\x22VIP\x22\x20-r\x20--format\x20json\x20\x20\x20\x20same,\x20as\x20JSON\x20for\x20jq/grep\x0a\x0aUse\x20a\x20printed\x20path\x20with\x20`tdx\x20sg\x20move`.','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Usage:\x20','unset\x20<resource>','Workspace\x20name','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Customer\x20group\x20from\x20JSON\x20file','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--from-task\x20<task>','List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)','Validate\x20template\x20YAML\x20files\x20locally','optionDescription','Get\x20current\x20RT\x20configuration\x20version\x20status','padEnd','--parent-segment-id\x20<id>','List\x20all\x20versions\x20of\x20a\x20journey','--subject\x20<subject>','length','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20AI','Rename\x20the\x20recovered\x20table\x20(use\x20on\x20409\x20name\x20conflict)','move\x20<name>\x20<status>','Enable\x20UTM\x20tracking','show\x20[table]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','sessions\x20[project]','yellow','fields\x20[name]','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','update\x20<name-or-id>','Launch\x20Codex\x20with\x20TD\x20LLM\x20Proxy\x20as\x20the\x20backend','--backfill','commandDescription','option','download\x20<project-name>\x20[output-dir]','open\x20<name>','required','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Database\x20name\x20(required)','Create\x20a\x20new\x20always-on\x20campaign','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','List\x20composable\x20segments\x20for\x20an\x20audience','--json-columns\x20<cols>','Filter\x20by\x20parent\x20segment\x20ID\x20(numeric)','-H,\x20--header\x20<header>','RT\x20Journey\x20management','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','cas','Force\x20an\x20MCP\x20server\x20and\x20TD\x20skills\x20refresh\x20(normally\x20automatic)','\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','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','6975wLAzrC','template','Query\x20engine\x20version','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20resuming','--account-name\x20<name>','328sRnDgO','create\x20<name-or-path>','delete\x20<agent-name>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','Validate\x20campaign\x20YAML\x20files\x20locally','run\x20[workflow]','desc\x20[name]','Delete\x20an\x20email\x20template','Parent\x20segment\x20description','Engage\x20DAM\x20media\x20management','Set\x20a\x20profile\x20configuration\x20value','backup\x20<name>','work','parent','Resume\x20activations\x20in\x20an\x20RT\x20journey','create\x20<segment_name>','New\x20template\x20name','submit\x20[query]','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Delete\x20a\x20scheduled\x20query','3342552pVpPjm','Show\x20journey\x20details','Prefer\x20typed\x20commands\x20—\x20run\x20`tdx\x20--help`\x20to\x20see\x20them.','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Token\x20description','pull\x20[workspace-name]','--to\x20<timestamp>','-X,\x20--method\x20<method>','320477cPEMqc','upgrade\x20[version]','List\x20recoverable\x20deleted\x20tables\x20(last\x207\x20days)','Clear\x20session\x20context','-c,\x20--continue','CDP\x20segment\x20management\x20commands','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--verbose','Launch\x20a\x20campaign','kill\x20<job-id>','show\x20[name]','hidden','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Start\x20a\x20new\x20chat\x20session','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','tsv','Personalization\x20Studio\x20campaign\x20management','logLevel','Show\x20journey\x20statistics','allowUnknownOption','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','pause\x20<name-or-path>','--no-eval','[attempt-id]','Show\x20stats\x20for\x20specific\x20stage','Read\x20SQL\x20query\x20from\x20file','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','--limit\x20<rows>','mcp','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','-v,\x20--verbose','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','setup','connection','1043385jUiqui','folders\x20<parent_name>','chats','Manage\x20workflow\x20schedules\x20(enable/disable)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Invalid\x20--limit\x20value:\x20\x22','Error:\x20`tdx\x20api`\x20is\x20disabled\x20by\x20default\x20to\x20prevent\x20unintended\x20API\x20calls.','--prompt\x20<text>','-1d','Output\x20folder\x20(default:\x20{project_name}.llm)','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','Include\x20execution\x20statistics','Generate\x20test\x20conversations\x20without\x20evaluation','--last','Composable\x20segment\x20commands','Update\x20a\x20scheduled\x20query','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','show\x20<name-or-id>','delete\x20<name>','--num\x20<1-10>','--delay\x20<seconds>','run\x20[name]','directory','[options]\x20--\x20[codex-args...]','Recurse.\x20Alone:\x20show\x20the\x20full\x20tree.\x20With\x20a\x20<pattern>:\x20search\x20the\x20whole\x20tree\x20by\x20name\x20(case-insensitive;\x20a\x20plain\x20string\x20matches\x20as\x20a\x20substring,\x20`*`\x20and\x20`?`\x20are\x20wildcards)\x20and\x20print\x20each\x20match\x20with\x20its\x20full\x20folder\x20path\x20for\x20use\x20with\x20`sg\x20move`','Upload\x20workflow\x20project\x20to\x20Treasure\x20AI\x20(digdag-style)','--cursor-id\x20<id>','\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','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','Create\x20a\x20new\x20LLM\x20project','--add-behaviors-file\x20<file>','Campaign\x20name','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--follow','Show\x20only\x20master\x20table\x20validation','user','Updated\x20schedule\x20option','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Show\x20schedule\x20details','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Request\x20body\x20as\x20JSON\x20string','Maximum\x20rows\x20to\x20display','Workspace\x20name\x20(required)','create\x20[name]','-u,\x20--use','--plaintext\x20<text>','Add\x20attributes\x20as\x20JSON\x20string','pull\x20[project]\x20[agent-name]','requiredOption','description'];a2_0x5238=function(){return _0x35d0eb;};return a2_0x5238();}const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x22b));parentRtCmd['command'](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1c2))['action'](async(_0x2b5a13,_0x53859a)=>{const _0x4f283b=a2_0x51b5f3,_0x48aefc=new PSRtListCommand(),_0x2eca69=program[_0x4f283b(0x3a8)](),_0xbb9df3=await createTDXInstance(_0x2eca69),_0x360c66=await _0x48aefc[_0x4f283b(0x345)]({'options':{..._0x2eca69,..._0x53859a},'args':_0x2b5a13?[_0x2b5a13]:[],'tdx':_0xbb9df3});gracefulExit(_0x360c66);}),parentRtCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x188))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2fe))[a2_0x51b5f3(0x198)](async(_0x42a6d6,_0x4f748c)=>{const _0x4d75b5=a2_0x51b5f3,_0xad7a28=new PSRtValidateCommand(),_0x3a2368=program[_0x4d75b5(0x3a8)](),_0x50384f=await createTDXInstance(_0x3a2368),_0x4d3365=await _0xad7a28[_0x4d75b5(0x345)]({'options':{..._0x3a2368,..._0x4f748c},'args':_0x42a6d6?[_0x42a6d6]:[],'tdx':_0x50384f});gracefulExit(_0x4d3365);});const psPzCmd=parentSegmentCmd[a2_0x51b5f3(0x361)]('pz')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xd5));psPzCmd['command']('list\x20[name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x300))[a2_0x51b5f3(0x198)](async(_0x5c9a9f,_0x1c54f4)=>{const _0x4c8165=a2_0x51b5f3,_0xe567f=new PSPzListCommand(),_0x36dbe2=program[_0x4c8165(0x3a8)](),_0x1a83db=await createTDXInstance(_0x36dbe2),_0x293cde=await _0xe567f[_0x4c8165(0x345)]({'options':{..._0x36dbe2,..._0x1c54f4},'args':_0x5c9a9f?[_0x5c9a9f]:[],'tdx':_0x1a83db});gracefulExit(_0x293cde);}),psPzCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x24a))['description'](a2_0x51b5f3(0x339))[a2_0x51b5f3(0x198)](async(_0x71f96e,_0x303d99)=>{const _0x11a78f=a2_0x51b5f3,_0x4b3b42=new PSPzShowCommand(),_0x1fa709=program[_0x11a78f(0x3a8)](),_0x58c746=await createTDXInstance(_0x1fa709),_0x1432f2=await _0x4b3b42[_0x11a78f(0x345)]({'options':{..._0x1fa709,..._0x303d99},'args':[_0x71f96e],'tdx':_0x58c746});gracefulExit(_0x1432f2);}),psPzCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x240))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xde))[a2_0x51b5f3(0x198)](async(_0x5dc7e3,_0x256469)=>{const _0x44f722=a2_0x51b5f3,_0xc0d769=new PSPzDeleteCommand(),_0x483b54=program[_0x44f722(0x3a8)](),_0x227a32=await createTDXInstance(_0x483b54),_0x58edc0=await _0xc0d769['run']({'options':{..._0x483b54,..._0x256469},'args':[_0x5dc7e3],'tdx':_0x227a32});gracefulExit(_0x58edc0);}),psPzCmd[a2_0x51b5f3(0x361)]('create')[a2_0x51b5f3(0x334)]('Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)')[a2_0x51b5f3(0x2ab)]('--name\x20<text>',a2_0x51b5f3(0x1da))[a2_0x51b5f3(0x2ab)]('--description\x20<text>','Personalization\x20description')['option'](a2_0x51b5f3(0x1d5),'Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted')[a2_0x51b5f3(0x2ab)]('--folder-id\x20<id>','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x25a),a2_0x51b5f3(0x23e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x351),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x51b5f3(0x198)](async _0x2aa369=>{const _0x19160b=a2_0x51b5f3,_0x50d4a6=new PSPzCreateCommand(),_0x4ac52c=program['opts'](),_0x5a8232=await createTDXInstance(_0x4ac52c),_0x16f3ed=await _0x50d4a6[_0x19160b(0x345)]({'options':{..._0x4ac52c,..._0x2aa369},'args':[],'tdx':_0x5a8232});gracefulExit(_0x16f3ed);}),psPzCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1e3))['description'](a2_0x51b5f3(0x35e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1be),a2_0x51b5f3(0x1da))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),'Personalization\x20description')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x25a),'Sections\x20as\x20an\x20inline\x20JSON\x20array')['option'](a2_0x51b5f3(0x351),a2_0x51b5f3(0x1fd))['action'](async(_0x179cab,_0x5cff1f)=>{const _0x19a58c=a2_0x51b5f3,_0xbd0731=new PSPzPatchCommand(),_0x54cfca=program[_0x19a58c(0x3a8)](),_0x1003c6=await createTDXInstance(_0x54cfca),_0x35e1d8=await _0xbd0731['run']({'options':{..._0x54cfca,..._0x5cff1f},'args':[_0x179cab],'tdx':_0x1003c6});gracefulExit(_0x35e1d8);});const psPzServiceCmd=psPzCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xdd))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x359));psPzServiceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x16e))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x39f))[a2_0x51b5f3(0x198)](async(_0x4b9819,_0x7c69f4)=>{const _0x455345=a2_0x51b5f3,_0x2cc4db=new PSPzServiceListCommand(),_0x49a68d=program[_0x455345(0x3a8)](),_0x2eb9ad=await createTDXInstance(_0x49a68d),_0x32baca=await _0x2cc4db[_0x455345(0x345)]({'options':{..._0x49a68d,..._0x7c69f4},'args':_0x4b9819?[_0x4b9819]:[],'tdx':_0x2eb9ad});gracefulExit(_0x32baca);}),psPzServiceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x26f))[a2_0x51b5f3(0x334)]('Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x51b5f3(0x2ab)]('--description\x20<text>',a2_0x51b5f3(0xb1))[a2_0x51b5f3(0x2ab)]('--public',a2_0x51b5f3(0x3c8))[a2_0x51b5f3(0x198)](async(_0x2eb285,_0x30eebc,_0x1b90bc)=>{const _0xe1a2c3=a2_0x51b5f3,_0x149432=new PSPzServiceCreateCommand(),_0x8ef888=program[_0xe1a2c3(0x3a8)](),_0x31aa4d=await createTDXInstance(_0x8ef888),_0x4c263f=await _0x149432[_0xe1a2c3(0x345)]({'options':{..._0x8ef888,..._0x1b90bc},'args':_0x30eebc?[_0x2eb285,_0x30eebc]:[_0x2eb285],'tdx':_0x31aa4d});gracefulExit(_0x4c263f);}),psPzServiceCmd[a2_0x51b5f3(0x361)]('show\x20<service_id>\x20[parent_segment]')['description'](a2_0x51b5f3(0x33b))['action'](async(_0x5f592a,_0x232411,_0x189e34)=>{const _0x5ea1e6=a2_0x51b5f3,_0x1ac1fc=new PSPzServiceShowCommand(),_0x4750b1=program[_0x5ea1e6(0x3a8)](),_0x4b7674=await createTDXInstance(_0x4750b1),_0x5133df=await _0x1ac1fc[_0x5ea1e6(0x345)]({'options':{..._0x4750b1,..._0x189e34},'args':_0x232411?[_0x5f592a,_0x232411]:[_0x5f592a],'tdx':_0x4b7674});gracefulExit(_0x5133df);}),psPzServiceCmd[a2_0x51b5f3(0x361)]('delete\x20<service_id>\x20[parent_segment]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x183))[a2_0x51b5f3(0x198)](async(_0x139d18,_0x27234b,_0x44eb7a)=>{const _0x2f7186=a2_0x51b5f3,_0x4a1c6f=new PSPzServiceDeleteCommand(),_0x5cd403=program['opts'](),_0x1da053=await createTDXInstance(_0x5cd403),_0x244b4d=await _0x4a1c6f[_0x2f7186(0x345)]({'options':{..._0x5cd403,..._0x44eb7a},'args':_0x27234b?[_0x139d18,_0x27234b]:[_0x139d18],'tdx':_0x1da053});gracefulExit(_0x244b4d);}),psPzServiceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x237))['description'](a2_0x51b5f3(0x3ca))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x1e0))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x26e))['action'](async(_0xbb07d4,_0x4dd070,_0x593ff7)=>{const _0x295192=a2_0x51b5f3,_0x5855e9=new PSPzServiceUpdateCommand(),_0x2b1b19=program[_0x295192(0x3a8)](),_0x81b6f5=await createTDXInstance(_0x2b1b19),_0xfbc3bc=await _0x5855e9['run']({'options':{..._0x2b1b19,..._0x593ff7},'args':_0x4dd070?[_0xbb07d4,_0x4dd070]:[_0xbb07d4],'tdx':_0x81b6f5});gracefulExit(_0xfbc3bc);}),psPzServiceCmd['command'](a2_0x51b5f3(0x7f))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x12e))['action'](async(_0x2fb149,_0xe27e82)=>{const _0x62cbb3=new PSPzInitCommand(),_0xcb464d=program['opts'](),_0x2ca0de=await createTDXInstance(_0xcb464d),_0x4eb628=await _0x62cbb3['run']({'options':{..._0xcb464d,..._0xe27e82},'args':_0x2fb149?[_0x2fb149]:[],'tdx':_0x2ca0de});gracefulExit(_0x4eb628);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x251))[a2_0x51b5f3(0x334)]('Personalization\x20service\x20token\x20management');psPzServiceTokenCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x246))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x75))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x160),a2_0x51b5f3(0x39c))['option']('--description\x20<text>',a2_0x51b5f3(0x2dd))[a2_0x51b5f3(0x198)](async(_0x5a37d4,_0x4c470e,_0xaf9bc4,_0x39df92)=>{const _0x19cadd=a2_0x51b5f3,_0x5b3a53=new PSPzServiceTokenCreateCommand(),_0x2f9e12=program[_0x19cadd(0x3a8)](),_0x37c267=await createTDXInstance(_0x2f9e12),_0x590bc2=await _0x5b3a53[_0x19cadd(0x345)]({'options':{..._0x2f9e12,..._0x39df92},'args':_0xaf9bc4?[_0x5a37d4,_0x4c470e,_0xaf9bc4]:[_0x5a37d4,_0x4c470e],'tdx':_0x37c267});gracefulExit(_0x590bc2);}),psPzServiceTokenCmd['command'](a2_0x51b5f3(0x346))[a2_0x51b5f3(0x334)]('Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x51b5f3(0x198)](async(_0x168213,_0x205be7,_0x10fb07)=>{const _0xf68db3=a2_0x51b5f3,_0x1f408f=new PSPzServiceTokenDeleteCommand(),_0x5b848c=program[_0xf68db3(0x3a8)](),_0x3fffec=await createTDXInstance(_0x5b848c),_0x3b8dfd=await _0x1f408f['run']({'options':{..._0x5b848c,..._0x10fb07},'args':_0x205be7?[_0x168213,_0x205be7]:[_0x168213],'tdx':_0x3fffec});gracefulExit(_0x3b8dfd);}),parentCmd[a2_0x51b5f3(0x361)]('create\x20<name>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x9d))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x338),'Master\x20database\x20name')[a2_0x51b5f3(0x333)]('--table\x20<table>','Master\x20table\x20name')['option']('--description\x20<text>',a2_0x51b5f3(0x2cd))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1bc),a2_0x51b5f3(0x24b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xfc),a2_0x51b5f3(0xb4))[a2_0x51b5f3(0x2ab)]('--timezone\x20<tz>',a2_0x51b5f3(0x1ce))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xfa),a2_0x51b5f3(0xd2))[a2_0x51b5f3(0x2ab)]('--attributes-file\x20<file>',a2_0x51b5f3(0x132))[a2_0x51b5f3(0x2ab)]('--behaviors\x20<json>',a2_0x51b5f3(0x20d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xcc),'Behaviors\x20from\x20JSON\x20file')[a2_0x51b5f3(0x2ab)]('--customer-group\x20<json>','Customer\x20group\x20as\x20JSON\x20string')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x34f),a2_0x51b5f3(0x290))[a2_0x51b5f3(0x198)](async(_0x452fb0,_0x44a6b0)=>{const _0x57267b=a2_0x51b5f3,_0x113d95=new ParentSegmentCreateCommand(),_0x159492=program[_0x57267b(0x3a8)](),_0x2f58da=await createTDXInstance(_0x159492),_0x54ee43=await _0x113d95[_0x57267b(0x345)]({'options':{..._0x159492,..._0x44a6b0},'args':[_0x452fb0],'tdx':_0x2f58da});gracefulExit(_0x54ee43);}),parentCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3aa))['description'](a2_0x51b5f3(0x1e1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),'Updated\x20description')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1bc),a2_0x51b5f3(0xb8))[a2_0x51b5f3(0x2ab)]('--schedule-option\x20<value>',a2_0x51b5f3(0x327))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x38b),'Updated\x20timezone')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x21f),a2_0x51b5f3(0x331))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x89),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe0),a2_0x51b5f3(0x287))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x321),a2_0x51b5f3(0x158))['action'](async(_0x27e511,_0x2c71a2)=>{const _0x3b953d=a2_0x51b5f3,_0x3ee8ce=new ParentSegmentUpdateCommand(),_0x1ff1da=program[_0x3b953d(0x3a8)](),_0x1b684a=await createTDXInstance(_0x1ff1da),_0x1d9b5e=await _0x3ee8ce[_0x3b953d(0x345)]({'options':{..._0x1ff1da,..._0x2c71a2},'args':[_0x27e511],'tdx':_0x1b684a});gracefulExit(_0x1d9b5e);}),folderCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x36d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3a7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x344))['option'](a2_0x51b5f3(0xa9),a2_0x51b5f3(0x3ad))['action'](async(_0x1480d0,_0x5823a9,_0x53e0dc)=>{const _0xdd4b76=a2_0x51b5f3,_0x5bec6d=new SegmentFolderCreateCommand(),_0x510fd5=program['opts'](),_0x278359=await createTDXInstance(_0x510fd5),_0x5110d5=await _0x5bec6d[_0xdd4b76(0x345)]({'options':{..._0x510fd5,..._0x53e0dc},'args':[_0x1480d0,_0x5823a9],'tdx':_0x278359});gracefulExit(_0x5110d5);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x10b))[a2_0x51b5f3(0x334)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')['action'](async(_0x476cea,_0x1fed8c)=>{const _0x587c27=a2_0x51b5f3,_0x35bdc9=new ActivationsCommand(),_0x1ed622=program[_0x587c27(0x3a8)](),_0x32316c=await createTDXInstance(_0x1ed622),_0xb2e117=await _0x35bdc9[_0x587c27(0x345)]({'options':{..._0x1ed622,..._0x1fed8c},'args':[_0x476cea],'tdx':_0x32316c});gracefulExit(_0xb2e117);});const workflowCmd=program['command'](a2_0x51b5f3(0x21d))['alias']('wf')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x129)),wfProjectCmd=workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3bf))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x33c)),wfProjectListAction=async(_0x16dd50,_0x5acf13)=>{const _0x89b957=a2_0x51b5f3,_0x68ee16=new WorkflowProjectsCommand(),_0xc0cb77=program[_0x89b957(0x3a8)](),_0x15cf36=await createTDXInstance(_0xc0cb77),_0x5b7f6e=await _0x68ee16[_0x89b957(0x345)]({'options':{..._0xc0cb77,..._0x5acf13},'args':_0x16dd50?[_0x16dd50]:[],'tdx':_0x15cf36});gracefulExit(_0x5b7f6e);};wfProjectCmd[a2_0x51b5f3(0x361)]('list\x20[pattern]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2a6))[a2_0x51b5f3(0x198)](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')[a2_0x51b5f3(0x334)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x35582c,_0x473b8b)=>{const _0x2a0667=a2_0x51b5f3,_0x426781=new WorkflowWorkflowsCommand(),_0x4a6378=program[_0x2a0667(0x3a8)](),_0x37059d=await createTDXInstance(_0x4a6378),_0xf097f5=await _0x426781['run']({'options':{..._0x4a6378,..._0x473b8b},'args':_0x35582c?[_0x35582c]:[],'tdx':_0x37059d});gracefulExit(_0xf097f5);};workflowCmd['command'](a2_0x51b5f3(0x1d2))['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x51b5f3(0x198)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x51b5f3(0x361)]('session')[a2_0x51b5f3(0x334)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x2ade5b,_0x5b618e)=>{const _0x35a9=a2_0x51b5f3,_0x1156c2=new WorkflowSessionsCommand(),_0x1f6a59=program[_0x35a9(0x3a8)](),_0x88fd24=await createTDXInstance(_0x1f6a59),_0x4acd67=await _0x1156c2[_0x35a9(0x345)]({'options':{..._0x1f6a59,..._0x5b618e},'args':_0x2ade5b?[_0x2ade5b]:[],'tdx':_0x88fd24});gracefulExit(_0x4acd67);};wfSessionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x206))['option']('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa3),a2_0x51b5f3(0x1c6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2df),a2_0x51b5f3(0xd1))[a2_0x51b5f3(0x198)](wfSessionListAction),workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x148))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x26b),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xa3),a2_0x51b5f3(0x1c6))[a2_0x51b5f3(0x2ab)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x51b5f3(0x198)](wfSessionListAction);const wfAttemptListAction=async(_0x3ae684,_0x245c27)=>{const _0x32ea55=a2_0x51b5f3,_0x59228f=new WorkflowAttemptsCommand(),_0x304615=program[_0x32ea55(0x3a8)](),_0x5f0b8d=await createTDXInstance(_0x304615),_0x181b75=await _0x59228f[_0x32ea55(0x345)]({'options':{..._0x304615,..._0x245c27},'args':_0x3ae684?[_0x3ae684]:[],'tdx':_0x5f0b8d});gracefulExit(_0x181b75);},attemptCmd=workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x201))['description'](a2_0x51b5f3(0x288))['argument'](a2_0x51b5f3(0x2f8),'Attempt\x20ID')[a2_0x51b5f3(0xf2)](a2_0x51b5f3(0x8c),a2_0x51b5f3(0x278))[a2_0x51b5f3(0xf2)]('[task-name]',a2_0x51b5f3(0x1b1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xec),a2_0x51b5f3(0x35b))[a2_0x51b5f3(0x2ab)]('--reason\x20<text>',a2_0x51b5f3(0x3c4))[a2_0x51b5f3(0x2ab)]('--resume-from\x20<task>',a2_0x51b5f3(0x164))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x113),a2_0x51b5f3(0x24c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe3),a2_0x51b5f3(0x1d3))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x8d),a2_0x51b5f3(0x1e4))[a2_0x51b5f3(0x198)](async(_0x3a4528,_0x5f3aa6,_0x1d17ad,_0x4f26ef)=>{const _0x7039af=a2_0x51b5f3;if(_0x3a4528===_0x7039af(0x173)){await wfAttemptListAction(_0x5f3aa6,_0x4f26ef);return;}if(!_0x3a4528){attemptCmd['help']();return;}const _0x3a031b=program[_0x7039af(0x3a8)](),_0x215f46=await createTDXInstance(_0x3a031b);let _0x1fc557=0x0;if(!_0x5f3aa6){const _0x43e772=new WorkflowAttemptCommand();_0x1fc557=await _0x43e772[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':[_0x3a4528],'tdx':_0x215f46});}else{if(_0x5f3aa6===_0x7039af(0x3dc)){const _0x59f46b=new WorkflowLogsCommand();_0x1fc557=await _0x59f46b[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':_0x1d17ad?[_0x3a4528,_0x1d17ad]:[_0x3a4528],'tdx':_0x215f46});}else{if(_0x5f3aa6===_0x7039af(0x189)){const _0x367907=new WorkflowTasksCommand();_0x1fc557=await _0x367907[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':[_0x3a4528],'tdx':_0x215f46});}else{if(_0x5f3aa6===_0x7039af(0x99)){const _0x409ed0=new WorkflowKillCommand();_0x1fc557=await _0x409ed0[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':[_0x3a4528],'tdx':_0x215f46});}else{if(_0x5f3aa6==='retry'){const _0x4f28f8=new WorkflowRetryCommand();_0x1fc557=await _0x4f28f8[_0x7039af(0x345)]({'options':{..._0x3a031b,..._0x4f26ef},'args':[_0x7039af(0x380)+_0x3a4528],'tdx':_0x215f46});}else console[_0x7039af(0xf1)]('Unknown\x20action:\x20'+_0x5f3aa6),console[_0x7039af(0xf1)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x1fc557=0x1;}}}}gracefulExit(_0x1fc557);});attemptCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x76))['option']('--include-retried',a2_0x51b5f3(0x20f))[a2_0x51b5f3(0x198)](wfAttemptListAction),workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x17c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x8d),a2_0x51b5f3(0x20f))[a2_0x51b5f3(0x198)](wfAttemptListAction),workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x11c))['description'](a2_0x51b5f3(0x13d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x324),a2_0x51b5f3(0xba))[a2_0x51b5f3(0x2ab)]('--session-id\x20<id>',a2_0x51b5f3(0x194))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x239),a2_0x51b5f3(0x357))['action'](async(_0x1996ec,_0x19bc9c)=>{const _0x5b7e88=a2_0x51b5f3,_0x30f899=new WorkflowTimelineCommand(),_0x3c620b=program['opts'](),_0x15b15f=await createTDXInstance(_0x3c620b),_0x2ffdf7=await _0x30f899[_0x5b7e88(0x345)]({'options':{..._0x3c620b,..._0x19bc9c},'args':_0x1996ec?[_0x1996ec]:[],'tdx':_0x15b15f});gracefulExit(_0x2ffdf7);}),workflowCmd['command'](a2_0x51b5f3(0x1db))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3cf))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x292),a2_0x51b5f3(0x1c9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x113),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x51b5f3(0x198)](async(_0x464a6e,_0x5f372b)=>{const _0x13a0dd=a2_0x51b5f3,_0x5908e1=new WorkflowRetryCommand(),_0x2fa0cb=program['opts'](),_0x146aad=await createTDXInstance(_0x2fa0cb),_0x6bdb89=await _0x5908e1[_0x13a0dd(0x345)]({'options':{..._0x2fa0cb,..._0x5f372b},'args':[_0x464a6e],'tdx':_0x146aad});gracefulExit(_0x6bdb89);}),workflowCmd['command'](a2_0x51b5f3(0x2ca))['description']('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x191),a2_0x51b5f3(0x12a),(_0x4e87a9,_0x527a73=[])=>[..._0x527a73,_0x4e87a9],[])[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x178),a2_0x51b5f3(0xce))[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0xac))[a2_0x51b5f3(0x198)](async(_0x48a87e,_0x4d1e29)=>{const _0x2a95f5=a2_0x51b5f3,_0x12b877=new WorkflowRunCommand(),_0x1cb7f4=program[_0x2a95f5(0x3a8)](),_0xb0c767=await createTDXInstance(_0x1cb7f4),_0x3b3ef3=await _0x12b877[_0x2a95f5(0x345)]({'options':{..._0x1cb7f4,..._0x4d1e29},'args':_0x48a87e?[_0x48a87e]:[],'tdx':_0xb0c767});gracefulExit(_0x3b3ef3);}),workflowCmd['command'](a2_0x51b5f3(0x2ac))['description'](a2_0x51b5f3(0xd9))[a2_0x51b5f3(0x2ab)]('--revision\x20<revision>',a2_0x51b5f3(0x24d))[a2_0x51b5f3(0x198)](async(_0x45b736,_0x2309f7,_0xb2d04)=>{const _0x3f6425=a2_0x51b5f3,_0x2804c8=new WorkflowDownloadCommand(),_0x328d7e=program[_0x3f6425(0x3a8)](),_0x85f17f=await createTDXInstance(_0x328d7e),_0x13595d=await _0x2804c8[_0x3f6425(0x345)]({'options':{..._0x328d7e,..._0xb2d04},'args':[_0x45b736,_0x2309f7||'.'],'tdx':_0x85f17f});gracefulExit(_0x13595d);}),workflowCmd[a2_0x51b5f3(0x361)]('pull\x20<project>\x20[target-dir]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x18a))[a2_0x51b5f3(0x2ab)]('--revision\x20<revision>','Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0x363))[a2_0x51b5f3(0x198)](async(_0x2587ab,_0x791cf7,_0x2cc326)=>{const _0x53c191=a2_0x51b5f3,_0x521f07=new WorkflowPullCommand(),_0x4564b6=program[_0x53c191(0x3a8)](),_0xa56fb7=await createTDXInstance(_0x4564b6),_0xb0a0c7=await _0x521f07['run']({'options':{..._0x4564b6,..._0x2cc326},'args':_0x791cf7?[_0x2587ab,_0x791cf7]:[_0x2587ab],'tdx':_0xa56fb7});gracefulExit(_0xb0a0c7);}),workflowCmd['command'](a2_0x51b5f3(0x285))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x29c))['option'](a2_0x51b5f3(0x355),a2_0x51b5f3(0x377))['option'](a2_0x51b5f3(0x397),'Preview\x20changes\x20without\x20pushing')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x260),a2_0x51b5f3(0x378))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2a9),a2_0x51b5f3(0x39e))['action'](async(_0x23f050,_0x571049)=>{const _0x43b7c6=a2_0x51b5f3,_0x15ca14=new WorkflowPushCommand(),_0x377d03=program[_0x43b7c6(0x3a8)](),_0x2cc591=await createTDXInstance(_0x377d03),_0x11f189=await _0x15ca14['run']({'options':{..._0x377d03,..._0x571049},'args':_0x23f050?[_0x23f050]:[],'tdx':_0x2cc591});gracefulExit(_0x11f189);}),workflowCmd['command'](a2_0x51b5f3(0x3b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x31c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x8e))[a2_0x51b5f3(0x2ab)]('--revision\x20<revision>',a2_0x51b5f3(0x108))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x260),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x51b5f3(0x198)](async(_0x11fb31,_0x1b2e3a)=>{const _0x47184a=a2_0x51b5f3,_0x4f9227=new WorkflowUploadCommand(),_0x314681=program['opts'](),_0x199dfb=await createTDXInstance(_0x314681),_0x1f2f05=await _0x4f9227[_0x47184a(0x345)]({'options':{..._0x314681,..._0x1b2e3a},'args':_0x11fb31?[_0x11fb31]:[],'tdx':_0x199dfb});gracefulExit(_0x1f2f05);}),workflowCmd[a2_0x51b5f3(0x361)]('clone\x20[source-dir]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1e6))['option'](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x19f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x355),a2_0x51b5f3(0x377))[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0x354))[a2_0x51b5f3(0x2ab)]('--skip-validation',a2_0x51b5f3(0x378))[a2_0x51b5f3(0x198)](async(_0x5798a2,_0x16e31e)=>{const _0x1e2667=a2_0x51b5f3,_0x5c886e=new WorkflowCloneCommand(),_0x556159=program[_0x1e2667(0x3a8)](),_0x40c0de=await createTDXInstance(_0x556159),_0x5de3ea=await _0x5c886e[_0x1e2667(0x345)]({'options':{..._0x556159,..._0x16e31e},'args':_0x5798a2?[_0x5798a2]:[],'tdx':_0x40c0de});gracefulExit(_0x5de3ea);}),workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3bd))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x224))[a2_0x51b5f3(0x198)](async(_0x31f72e,_0x14c218)=>{const _0x26f56e=a2_0x51b5f3,_0x312ffc=new WorkflowDeleteCommand(),_0x560d7d=program[_0x26f56e(0x3a8)](),_0x31a71b=await createTDXInstance(_0x560d7d),_0x53895d=await _0x312ffc['run']({'options':{..._0x560d7d,..._0x14c218},'args':[_0x31f72e],'tdx':_0x31a71b});gracefulExit(_0x53895d);}),workflowCmd['command'](a2_0x51b5f3(0x3c1))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x241))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x275),a2_0x51b5f3(0x1e9))['action'](async(_0x264f6b,_0x4d4f09)=>{const _0x482632=a2_0x51b5f3,_0x1af95f=new WorkflowUseCommand(),_0x6d93f7=program[_0x482632(0x3a8)](),_0x919178=await createTDXInstance(_0x6d93f7),_0x214388=await _0x1af95f['run']({'options':{..._0x6d93f7,..._0x4d4f09},'args':_0x264f6b?[_0x264f6b]:[],'tdx':_0x919178});gracefulExit(_0x214388);});const wfSecretsCmd=workflowCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x27d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1d9));wfSecretsCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7a))['description']('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x4ec4ef,_0x34ebb4)=>{const _0x5519e9=a2_0x51b5f3,_0x2f9dbe=new WorkflowSecretsListCommand(),_0x5a44a9=program[_0x5519e9(0x3a8)](),_0xb1ceb9=await createTDXInstance(_0x5a44a9),_0x246055=await _0x2f9dbe[_0x5519e9(0x345)]({'options':{..._0x5a44a9,..._0x34ebb4},'args':_0x4ec4ef?[_0x4ec4ef]:[],'tdx':_0xb1ceb9});gracefulExit(_0x246055);}),wfSecretsCmd[a2_0x51b5f3(0x361)]('set\x20<args...>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xf7))[a2_0x51b5f3(0x198)](async(_0x296f17,_0x5be74e)=>{const _0x47833b=a2_0x51b5f3,_0x99f7de=new WorkflowSecretsSetCommand(),_0x32d509=program[_0x47833b(0x3a8)](),_0x9898f8=await createTDXInstance(_0x32d509),_0x5bd78e=await _0x99f7de['run']({'options':{..._0x32d509,..._0x5be74e},'args':_0x296f17,'tdx':_0x9898f8});gracefulExit(_0x5bd78e);}),wfSecretsCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x213))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x10f))['action'](async(_0x3ddc2c,_0x316c80)=>{const _0x4b80a8=a2_0x51b5f3,_0x56f5cd=new WorkflowSecretsDeleteCommand(),_0x42ae2e=program['opts'](),_0x13f505=await createTDXInstance(_0x42ae2e),_0x551bf2=await _0x56f5cd[_0x4b80a8(0x345)]({'options':{..._0x42ae2e,..._0x316c80},'args':_0x3ddc2c,'tdx':_0x13f505});gracefulExit(_0x551bf2);});const wfScheduleCmd=workflowCmd[a2_0x51b5f3(0x361)]('schedule')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x306));wfScheduleCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3b5))[a2_0x51b5f3(0x334)]('Enable\x20a\x20disabled\x20workflow\x20schedule')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2a9),a2_0x51b5f3(0x39e))[a2_0x51b5f3(0x2ab)]('--next-time\x20<time>',a2_0x51b5f3(0x16d))[a2_0x51b5f3(0x198)](async(_0x529ebe,_0x2d2059)=>{const _0x4dcc1c=a2_0x51b5f3,_0x437b97=new WorkflowScheduleEnableCommand(),_0x506153=program['opts'](),_0x487cc3=await createTDXInstance(_0x506153),_0x3c79c1=await _0x437b97[_0x4dcc1c(0x345)]({'options':{..._0x506153,..._0x2d2059},'args':[_0x529ebe],'tdx':_0x487cc3});gracefulExit(_0x3c79c1);}),wfScheduleCmd['command']('disable\x20<id>')['description'](a2_0x51b5f3(0x336))[a2_0x51b5f3(0x198)](async(_0x4afdaf,_0xc7b4b4)=>{const _0x1dd1d0=a2_0x51b5f3,_0x194976=new WorkflowScheduleDisableCommand(),_0x2fed94=program[_0x1dd1d0(0x3a8)](),_0x195889=await createTDXInstance(_0x2fed94),_0x92001=await _0x194976[_0x1dd1d0(0x345)]({'options':{..._0x2fed94,..._0xc7b4b4},'args':[_0x4afdaf],'tdx':_0x195889});gracefulExit(_0x92001);});const wfSchedulesListAction=async(_0x361bce,_0x5f5a78)=>{const _0x280366=a2_0x51b5f3,_0x44898e=new WorkflowSchedulesCommand(),_0x29167d=program['opts'](),_0x5a1419=await createTDXInstance(_0x29167d),_0x235fa5=await _0x44898e[_0x280366(0x345)]({'options':{..._0x29167d,..._0x5f5a78},'args':_0x361bce?[_0x361bce]:[],'tdx':_0x5a1419});gracefulExit(_0x235fa5);};wfScheduleCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x350))['description']('List\x20workflow\x20schedules\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option'](a2_0x51b5f3(0x23f),'Show\x20a\x20single\x20schedule\x20by\x20its\x20ID')[a2_0x51b5f3(0x198)](wfSchedulesListAction),workflowCmd['command']('schedules\x20[project.workflow]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x356))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x23f),a2_0x51b5f3(0x1c7))[a2_0x51b5f3(0x198)](wfSchedulesListAction);const jobCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xc6))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x110)),jobListAction=async _0x44be61=>{const _0xae5a07=a2_0x51b5f3,_0x44289d=new JobListCommand(),_0x3a2fa4=program[_0xae5a07(0x3a8)](),_0x4a3a8d=await createTDXInstance(_0x3a2fa4),_0x44b48a=await _0x44289d[_0xae5a07(0x345)]({'options':{..._0x3a2fa4,..._0x44be61},'args':[],'tdx':_0x4a3a8d});gracefulExit(_0x44b48a);};jobCmd[a2_0x51b5f3(0x361)]('list')[a2_0x51b5f3(0x334)]('List\x20jobs')['option'](a2_0x51b5f3(0x26b),a2_0x51b5f3(0x107))['action'](jobListAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x235),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xb0))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x26b),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x51b5f3(0x198)](jobListAction),jobCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x163))['description']('Show\x20job\x20details')[a2_0x51b5f3(0x198)](async(_0x3fadd4,_0x334a28)=>{const _0x1030a3=a2_0x51b5f3,_0x282680=new JobShowCommand(),_0x57aa0a=program[_0x1030a3(0x3a8)](),_0x4f28bb=await createTDXInstance(_0x57aa0a),_0x459999=await _0x282680[_0x1030a3(0x345)]({'options':{..._0x57aa0a,..._0x334a28},'args':[_0x3fadd4],'tdx':_0x4f28bb});gracefulExit(_0x459999);}),jobCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2ea))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x257))[a2_0x51b5f3(0x198)](async(_0x3c0d7f,_0x5d4e4c)=>{const _0x2dea0f=a2_0x51b5f3,_0x4b94cb=new JobKillCommand(),_0xa4c206=program[_0x2dea0f(0x3a8)](),_0x23232d=await createTDXInstance(_0xa4c206),_0x4f8698=await _0x4b94cb[_0x2dea0f(0x345)]({'options':{..._0xa4c206,..._0x5d4e4c},'args':[_0x3c0d7f],'tdx':_0x23232d});gracefulExit(_0x4f8698);}),jobCmd['command'](a2_0x51b5f3(0x2d6))['description'](a2_0x51b5f3(0xe1))[a2_0x51b5f3(0x2ab)]('--job-type\x20<type>',a2_0x51b5f3(0x138),a2_0x51b5f3(0x165))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x371),'Read\x20query\x20from\x20file')['option']('--database\x20<name>',a2_0x51b5f3(0x1a4),'information_schema')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x23b),a2_0x51b5f3(0x25b))['action'](async(_0x19faa8,_0x2d5d1e)=>{const _0x2f950c=a2_0x51b5f3,_0x5e9f18=new JobSubmitCommand(),_0x4b0a89=program[_0x2f950c(0x3a8)](),_0x235c47=await createTDXInstance(_0x4b0a89),_0x46db72=await _0x5e9f18[_0x2f950c(0x345)]({'options':{..._0x4b0a89,..._0x2d5d1e},'args':_0x19faa8?[_0x19faa8]:[],'tdx':_0x235c47});gracefulExit(_0x46db72);}),jobCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xc2))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xf3))[a2_0x51b5f3(0x198)](async(_0x35360f,_0x26b21f)=>{const _0x1b2f56=a2_0x51b5f3,_0xbf61e4=new JobResultCommand(),_0x39f6db=program[_0x1b2f56(0x3a8)](),_0x1a2a12=await createTDXInstance(_0x39f6db),_0x397a1a=await _0xbf61e4[_0x1b2f56(0x345)]({'options':{..._0x39f6db,..._0x26b21f},'args':[_0x35360f],'tdx':_0x1a2a12});gracefulExit(_0x397a1a);});const scheduleCmd=jobCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x271))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x14b));scheduleCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))['description'](a2_0x51b5f3(0x31f))[a2_0x51b5f3(0x198)](async(_0x5df9a2,_0x535429)=>{const _0x348a1f=a2_0x51b5f3,_0x2ef073=new ScheduleListCommand(),_0x34a546=program['opts'](),_0x1d6ac6=await createTDXInstance(_0x34a546),_0x48951f=await _0x2ef073[_0x348a1f(0x345)]({'options':{..._0x34a546,..._0x535429},'args':_0x5df9a2?[_0x5df9a2]:[],'tdx':_0x1d6ac6});gracefulExit(_0x48951f);}),scheduleCmd['command'](a2_0x51b5f3(0x223))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x329))[a2_0x51b5f3(0x198)](async(_0xcacd66,_0x1c4acc)=>{const _0x1f2d12=a2_0x51b5f3,_0x39994c=new ScheduleShowCommand(),_0x290500=program['opts'](),_0x57cf58=await createTDXInstance(_0x290500),_0x391fae=await _0x39994c[_0x1f2d12(0x345)]({'options':{..._0x290500,..._0x1c4acc},'args':[_0xcacd66],'tdx':_0x57cf58});gracefulExit(_0x391fae);}),scheduleCmd['command'](a2_0x51b5f3(0x181))['description'](a2_0x51b5f3(0x279))['option']('-d,\x20--database\x20<db>',a2_0x51b5f3(0x2b0))['option'](a2_0x51b5f3(0x3d8),a2_0x51b5f3(0xfe))['requiredOption'](a2_0x51b5f3(0x371),a2_0x51b5f3(0x362))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),'Query\x20type:\x20trino\x20or\x20hive','trino')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x115),a2_0x51b5f3(0x3a4))['option']('--timezone\x20<tz>',a2_0x51b5f3(0x1ad))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x317),a2_0x51b5f3(0x353))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x15c),a2_0x51b5f3(0x262))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x197),a2_0x51b5f3(0x1f6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3d7),a2_0x51b5f3(0x2c1))[a2_0x51b5f3(0x2ab)]('--result\x20<url>','Result\x20output\x20destination\x20URL')[a2_0x51b5f3(0x198)](async(_0x110270,_0x32d3b7)=>{const _0x17d495=a2_0x51b5f3,_0x53f3e6=new ScheduleCreateCommand(),_0x483fa6=program['opts'](),_0x47dd78=await createTDXInstance(_0x483fa6);_0x32d3b7['in']&&(_0x32d3b7[_0x17d495(0x14c)]=_0x32d3b7['in']);const _0x4025a1=await _0x53f3e6[_0x17d495(0x345)]({'options':{..._0x483fa6,..._0x32d3b7},'args':[_0x110270],'tdx':_0x47dd78});gracefulExit(_0x4025a1);}),scheduleCmd['command'](a2_0x51b5f3(0x3aa))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x312))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x27b),a2_0x51b5f3(0xb7))[a2_0x51b5f3(0x2ab)]('--in\x20<db>',a2_0x51b5f3(0xfe))['option']('-f,\x20--file\x20<path>',a2_0x51b5f3(0x362))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),a2_0x51b5f3(0x130))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x115),a2_0x51b5f3(0x3a4))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x38b),a2_0x51b5f3(0x220))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x317),a2_0x51b5f3(0x353))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x15c),a2_0x51b5f3(0x262))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x197),a2_0x51b5f3(0x1f6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3d7),a2_0x51b5f3(0x2c1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe8),a2_0x51b5f3(0x217))[a2_0x51b5f3(0x198)](async(_0x174075,_0x499fa1)=>{const _0xb15e08=a2_0x51b5f3,_0x145b12=new ScheduleUpdateCommand(),_0x3e61ee=program['opts'](),_0x45ecd8=await createTDXInstance(_0x3e61ee);_0x499fa1['in']&&(_0x499fa1[_0xb15e08(0x14c)]=_0x499fa1['in']);const _0x5f004c=await _0x145b12[_0xb15e08(0x345)]({'options':{..._0x3e61ee,..._0x499fa1},'args':[_0x174075],'tdx':_0x45ecd8});gracefulExit(_0x5f004c);}),scheduleCmd[a2_0x51b5f3(0x361)]('delete\x20<name>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2d8))['action'](async(_0x77dd91,_0x471611)=>{const _0x4f92ec=a2_0x51b5f3,_0x33bb3d=new ScheduleDeleteCommand(),_0x108507=program[_0x4f92ec(0x3a8)](),_0x1b8eeb=await createTDXInstance(_0x108507),_0x1e5638=await _0x33bb3d['run']({'options':{..._0x108507,..._0x471611},'args':[_0x77dd91],'tdx':_0x1b8eeb});gracefulExit(_0x1e5638);}),scheduleCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1c0))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x12c))[a2_0x51b5f3(0x2ab)]('--time\x20<iso8601>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')['option'](a2_0x51b5f3(0x316),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x51b5f3(0x198)](async(_0x582a11,_0xeeb093)=>{const _0xb09b71=a2_0x51b5f3,_0x5d8454=new ScheduleRunCommand(),_0x5d83d2=program['opts'](),_0x31add1=await createTDXInstance(_0x5d83d2),_0x2a8b71=await _0x5d8454[_0xb09b71(0x345)]({'options':{..._0x5d83d2,..._0xeeb093},'args':[_0x582a11],'tdx':_0x31add1});gracefulExit(_0x2a8b71);}),scheduleCmd['command'](a2_0x51b5f3(0xca))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xe7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe9),a2_0x51b5f3(0x27a))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc1),a2_0x51b5f3(0x14f))[a2_0x51b5f3(0x198)](async(_0x152bde,_0x4ca6b6)=>{const _0x3e7cdd=a2_0x51b5f3,_0x4bc4ee=new ScheduleHistoryCommand(),_0xf67f32=program[_0x3e7cdd(0x3a8)](),_0x4352a2=await createTDXInstance(_0xf67f32),_0x5d416=await _0x4bc4ee['run']({'options':{..._0xf67f32,..._0x4ca6b6},'args':[_0x152bde],'tdx':_0x4352a2});gracefulExit(_0x5d416);});const llmCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x187))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2c2));llmCmd[a2_0x51b5f3(0x361)]('use\x20<project-name>')[a2_0x51b5f3(0x334)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x51b5f3(0x198)](async(_0x2f6c3d,_0x346618)=>{const _0x49e1a5=a2_0x51b5f3,_0x1e1db7=new LLMUseCommand(),_0x42192a=program['opts'](),_0x14b6fd=await createTDXInstance(_0x42192a),_0x14037f=await _0x1e1db7[_0x49e1a5(0x345)]({'options':{..._0x42192a,..._0x346618},'args':[_0x2f6c3d],'tdx':_0x14b6fd});gracefulExit(_0x14037f);}),llmCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x12d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x13a))[a2_0x51b5f3(0x198)](async _0x2668e0=>{const _0x3ac5ed=a2_0x51b5f3,_0x2a57db=new LLMModelsCommand(),_0x533cad=program[_0x3ac5ed(0x3a8)](),_0x507fec=await createTDXInstance(_0x533cad),_0x4dfe9b=await _0x2a57db[_0x3ac5ed(0x345)]({'options':{..._0x533cad,..._0x2668e0},'args':[],'tdx':_0x507fec});gracefulExit(_0x4dfe9b);});const projectCmd=llmCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3bf))[a2_0x51b5f3(0x334)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x58bd84,_0x46501a)=>{const _0x4475ad=a2_0x51b5f3,_0x3139e7=new LLMProjectsCommand(),_0x4fa389=program[_0x4475ad(0x3a8)](),_0x230a54=await createTDXInstance(_0x4fa389),_0x815f47=await _0x3139e7[_0x4475ad(0x345)]({'options':{..._0x4fa389,..._0x46501a},'args':_0x58bd84?[_0x58bd84]:[],'tdx':_0x230a54});gracefulExit(_0x815f47);};projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))['description'](a2_0x51b5f3(0x93))[a2_0x51b5f3(0x198)](llmProjectListAction),llmCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x33a))['description'](a2_0x51b5f3(0x2f5))['action'](llmProjectListAction),projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x181))['description'](a2_0x51b5f3(0x320))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),'Project\x20description')['action'](async(_0xdafb51,_0x2beb5e)=>{const _0x224046=a2_0x51b5f3,_0x4606f7=new LLMProjectCreateCommand(),_0x48c182=program[_0x224046(0x3a8)](),_0xa57b66=await createTDXInstance(_0x48c182),_0x4cdede=await _0x4606f7[_0x224046(0x345)]({'options':{..._0x48c182,..._0x2beb5e},'args':[_0xdafb51],'tdx':_0xa57b66});gracefulExit(_0x4cdede);}),projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x315))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x22d))[a2_0x51b5f3(0x198)](async(_0x1e5a8c,_0x37faec)=>{const _0x3570b7=a2_0x51b5f3,_0x31dc58=new LLMProjectDeleteCommand(),_0x4b89df=program[_0x3570b7(0x3a8)](),_0x31ce1a=await createTDXInstance(_0x4b89df),_0xbbecb2=await _0x31dc58[_0x3570b7(0x345)]({'options':{..._0x4b89df,..._0x37faec},'args':[_0x1e5a8c],'tdx':_0x31ce1a});gracefulExit(_0xbbecb2);}),projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2d0))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x73))['option'](a2_0x51b5f3(0x248),a2_0x51b5f3(0x30c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x7b))[a2_0x51b5f3(0x198)](async(_0x26dffa,_0x496bcc)=>{const _0x5bb5ce=a2_0x51b5f3,_0x2e5202=new LLMProjectBackupCommand(),_0x2c1a74=program['opts'](),_0x572dee=await createTDXInstance(_0x2c1a74),_0x16cdfc=await _0x2e5202[_0x5bb5ce(0x345)]({'options':{..._0x2c1a74,..._0x496bcc},'args':[_0x26dffa],'tdx':_0x572dee});gracefulExit(_0x16cdfc);}),projectCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x34e))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x364))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1a3),a2_0x51b5f3(0x2b9))['option'](a2_0x51b5f3(0x397),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x51b5f3(0x198)](async(_0x32a659,_0x17f4b1)=>{const _0x432c03=a2_0x51b5f3,_0x1a35e4=new LLMProjectRestoreCommand(),_0x4396e0=program[_0x432c03(0x3a8)](),_0x157ed5=await createTDXInstance(_0x4396e0),_0x5d423e=await _0x1a35e4[_0x432c03(0x345)]({'options':{..._0x4396e0,..._0x17f4b1},'args':[_0x32a659],'tdx':_0x157ed5});gracefulExit(_0x5d423e);});const llmAgentListAction=async(_0x1ff1f6,_0x399b6e)=>{const _0x24bdb8=a2_0x51b5f3,_0x2b8698=new LLMAgentsCommand(),_0x5bd1d6=program[_0x24bdb8(0x3a8)](),_0x269fb1=await createTDXInstance(_0x5bd1d6),_0x279eb1=await _0x2b8698['run']({'options':{..._0x5bd1d6,..._0x399b6e},'args':_0x1ff1f6?[_0x1ff1f6]:[],'tdx':_0x269fb1});gracefulExit(_0x279eb1);};llmCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xc4))['description'](a2_0x51b5f3(0x216))['action'](llmAgentListAction),program['command'](a2_0x51b5f3(0xc4))['description']('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x51b5f3(0x198)](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')[a2_0x51b5f3(0x334)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a2_0x51b5f3(0x2ab)]('--last',a2_0x51b5f3(0x2a2))[a2_0x51b5f3(0x198)](async(_0x312dd2,_0x12efc2)=>{const _0x5e840c=a2_0x51b5f3,_0x4f0afe=new LLMHistoryCommand(),_0x2d70d1=program[_0x5e840c(0x3a8)](),_0x5e519c=await createTDXInstance(_0x2d70d1),_0x29fc08=await _0x4f0afe[_0x5e840c(0x345)]({'options':{..._0x2d70d1,..._0x12efc2},'args':_0x312dd2?[_0x312dd2]:[],'tdx':_0x5e519c});gracefulExit(_0x29fc08);});isExperimentalAvailable()&&llmCmd['command']('log\x20<chat-id>')[a2_0x51b5f3(0x334)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x51b5f3(0x198)](async(_0x5347cd,_0x348890)=>{const _0x5863a0=a2_0x51b5f3,_0x406641=new LLMLogCommand(),_0x762fba=program['opts'](),_0x3750f9=await createTDXInstance(_0x762fba),_0x260042=await _0x406641[_0x5863a0(0x345)]({'options':{..._0x762fba,..._0x348890},'args':[_0x5347cd],'tdx':_0x3750f9});gracefulExit(_0x260042);});program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x17b))[a2_0x51b5f3(0x281)](a2_0x51b5f3(0x3b9))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x20c))['option'](a2_0x51b5f3(0x2e5),a2_0x51b5f3(0x1e2))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3c9),a2_0x51b5f3(0x3d2))[a2_0x51b5f3(0x2ab)]('--no-proxy','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')['option'](a2_0x51b5f3(0x199),a2_0x51b5f3(0x2bb))[a2_0x51b5f3(0x2f4)]()[a2_0x51b5f3(0xbb)](!![])[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0xdc))[a2_0x51b5f3(0x198)](async(_0x473770,_0x216c59)=>{const _0x84e20b=a2_0x51b5f3,_0x2444d3=program['opts'](),_0x4831f8=Array[_0x84e20b(0xc5)](_0x473770)?_0x473770:[];if(_0x4831f8[0x0]===_0x84e20b(0x193)){const _0x485843=new ClaudeStatuslineCommand(),_0x377894=await _0x485843['run']({'options':{..._0x2444d3,..._0x216c59},'args':_0x4831f8[_0x84e20b(0x376)](0x1),'tdx':null});gracefulExit(_0x377894);}if(_0x4831f8[0x0]==='usage'){const _0x2498ba=new ClaudeUsageCommand(),_0x220957=await _0x2498ba['run']({'options':{..._0x2444d3,..._0x216c59},'args':_0x4831f8[_0x84e20b(0x376)](0x1),'tdx':null});gracefulExit(_0x220957);}const _0x49e777=new ClaudeCommand(),_0x12d569=await createTDXInstance(_0x2444d3),_0x5e695d=await _0x49e777[_0x84e20b(0x345)]({'options':{..._0x2444d3,..._0x216c59},'args':_0x4831f8,'tdx':_0x12d569});gracefulExit(_0x5e695d);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xd8))[a2_0x51b5f3(0x281)](a2_0x51b5f3(0x31a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2a8))[a2_0x51b5f3(0x2f4)]()[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x1de))[a2_0x51b5f3(0x198)](async(_0xa9508,_0x28e89d)=>{const _0x35c07e=a2_0x51b5f3,_0x28d602=program[_0x35c07e(0x3a8)](),_0x232a2b=Array[_0x35c07e(0xc5)](_0xa9508)?_0xa9508:[],_0xe3163c=new CodexCommand(),_0x2e8c44=await createTDXInstance(_0x28d602),_0x47bbee=await _0xe3163c[_0x35c07e(0x345)]({'options':{..._0x28d602,..._0x28e89d},'args':_0x232a2b,'tdx':_0x2e8c44});gracefulExit(_0x47bbee);}),program['command']('use\x20[resource]\x20[value]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x25e))[a2_0x51b5f3(0x2ab)]('--clear',a2_0x51b5f3(0x2e4))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x174),a2_0x51b5f3(0x2b3))['action'](async(_0x537dec,_0x1a1a87,_0x4dcd5f)=>{const _0x34d3e2=a2_0x51b5f3,_0x49d1e8=new UseCommand(),_0x36786a=program['opts'](),_0x2512d8=[];if(_0x537dec)_0x2512d8[_0x34d3e2(0x1a6)](_0x537dec);if(_0x1a1a87)_0x2512d8[_0x34d3e2(0x1a6)](_0x1a1a87);const _0x392581=_0x537dec===_0x34d3e2(0x19b),_0x215f76=_0x392581?await createTDXInstance(_0x36786a):null,_0x2b0645=await _0x49d1e8[_0x34d3e2(0x345)]({'options':{..._0x36786a,..._0x4dcd5f},'args':_0x2512d8,'tdx':_0x215f76});gracefulExit(_0x2b0645);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xaa))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x37f))[a2_0x51b5f3(0x198)](async _0x429e10=>{const _0x5ca204=a2_0x51b5f3,_0x4e65c2=new StatusCommand(),_0x49b7d6=program['opts'](),_0x4f5040={..._0x49b7d6},_0xe07896=await createTDXInstance(_0x49b7d6,{'skipSiteMismatchCheck':!![]}),_0x50946c=await _0x4e65c2[_0x5ca204(0x345)]({'options':{..._0x4f5040,..._0x429e10},'args':[],'tdx':_0xe07896});gracefulExit(_0x50946c);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2e2))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xf4))['option'](a2_0x51b5f3(0x397),a2_0x51b5f3(0x142))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3b2),'Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x94),a2_0x51b5f3(0x200))['action'](async(_0x1d643e,_0x175270)=>{const _0x502347=a2_0x51b5f3,_0x47840c=new UpgradeCommand(),_0xe0fb92=program[_0x502347(0x3a8)](),_0x390d82=await _0x47840c[_0x502347(0x345)]({'options':{..._0xe0fb92,..._0x175270},'args':_0x1d643e?[_0x1d643e]:[],'tdx':null});gracefulExit(_0x390d82);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x28d))['description']('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x174),a2_0x51b5f3(0x15d))[a2_0x51b5f3(0x198)](async(_0x307962,_0x235261)=>{const _0x2cefb5=a2_0x51b5f3,_0x40f5bc=new UnsetCommand(),_0x547741=program[_0x2cefb5(0x3a8)](),_0x46d486=await _0x40f5bc[_0x2cefb5(0x345)]({'options':{..._0x547741,..._0x235261},'args':[_0x307962],'tdx':null});gracefulExit(_0x46d486);}),program['command'](a2_0x51b5f3(0x305))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x381))['option'](a2_0x51b5f3(0x310),a2_0x51b5f3(0x253))[a2_0x51b5f3(0x198)](async _0x284157=>{const _0x579405=a2_0x51b5f3,_0x31f907=new ChatsCommand(),_0x1fd9a4=program[_0x579405(0x3a8)](),_0x128416=await createTDXInstance(_0x1fd9a4),_0x3d6569=await _0x31f907[_0x579405(0x345)]({'options':{..._0x1fd9a4,..._0x284157},'args':[],'tdx':_0x128416});gracefulExit(_0x3d6569);});const authCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x348))[a2_0x51b5f3(0x334)]('Authentication\x20management');async function runAuthStatusCommand(_0xdd8012){const _0x3ed4ca=a2_0x51b5f3,_0xf74d9d=new AuthStatusCommand(),_0x3a80ff=program[_0x3ed4ca(0x3a8)](),_0x4826fe=await createTDXInstance(_0x3a80ff,{'skipSiteMismatchCheck':!![]}),_0x2d8bf5=await _0xf74d9d['run']({'options':{..._0x3a80ff,..._0xdd8012},'args':[],'tdx':_0x4826fe});gracefulExit(_0x2d8bf5);}authCmd[a2_0x51b5f3(0x198)](runAuthStatusCommand),authCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xaa))[a2_0x51b5f3(0x334)]('Show\x20authentication\x20status\x20and\x20validate\x20API\x20key')[a2_0x51b5f3(0x198)](runAuthStatusCommand);async function authSetupAction(_0x498724){const _0x14124e=a2_0x51b5f3,_0x501b38=new AuthSetupCommand(),_0x486c8e=program[_0x14124e(0x3a8)](),_0xb13f21=await createTDXInstance(_0x486c8e,{'skipSiteMismatchCheck':!![]}),_0x3380a0=await _0x501b38['run']({'options':{..._0x486c8e,..._0x498724},'args':[],'tdx':_0xb13f21});gracefulExit(_0x3380a0);}authCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x301))['description'](a2_0x51b5f3(0x13f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2c4),a2_0x51b5f3(0x78))[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x25d))['action'](authSetupAction),authCmd[a2_0x51b5f3(0x361)]('login',{'hidden':!![]})[a2_0x51b5f3(0x2ab)]('--account-name\x20<name>',a2_0x51b5f3(0x78))['action'](authSetupAction),authCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x251))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xaf))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1f8),a2_0x51b5f3(0x32a))[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0xa6))['action'](async _0x1fcd94=>{const _0x5571e1=a2_0x51b5f3,_0x545660=new AuthTokenCommand(),_0x468e11=mergeCommandOptions(program['opts'](),_0x1fcd94),_0x2ad5ec=await createTDXInstance(_0x468e11),_0x384c2e=await _0x545660[_0x5571e1(0x345)]({'options':_0x468e11,'args':[],'tdx':_0x2ad5ec});gracefulExit(_0x384c2e);}),authCmd['command']('clear')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x77))['addHelpText'](a2_0x51b5f3(0x169),'\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a')[a2_0x51b5f3(0x198)](async _0x396fb0=>{const _0xb88be1=a2_0x51b5f3,_0x218f83=new AuthClearCommand(),_0x12c844=program[_0xb88be1(0x3a8)](),_0x1332d2=await _0x218f83[_0xb88be1(0x345)]({'options':{..._0x12c844,..._0x396fb0},'args':[],'tdx':null});gracefulExit(_0x1332d2);});const userCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x326))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x250)),userListAction=async _0x43a6a4=>{const _0x29b7a3=a2_0x51b5f3,_0x48ec3b=new UserListCommand(),_0x5263a6=program[_0x29b7a3(0x3a8)](),_0x1625d6=await createTDXInstance(_0x5263a6),_0x4112a8=await _0x48ec3b[_0x29b7a3(0x345)]({'options':{..._0x5263a6,..._0x43a6a4},'args':[],'tdx':_0x1625d6});gracefulExit(_0x4112a8);};userCmd[a2_0x51b5f3(0x198)](async _0x4ae9bc=>{const _0x9f0254=a2_0x51b5f3,_0x80322f=new UserCommand(),_0x387899=program[_0x9f0254(0x3a8)](),_0x3d6108=await createTDXInstance(_0x387899),_0x5849f1=await _0x80322f['run']({'options':{..._0x387899,..._0x4ae9bc},'args':[],'tdx':_0x3d6108});gracefulExit(_0x5849f1);}),userCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x173))['description']('List\x20all\x20users\x20in\x20the\x20account')[a2_0x51b5f3(0x198)](userListAction),program['command'](a2_0x51b5f3(0x177))['description']('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')['action'](userListAction);const policyCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x118))['description'](a2_0x51b5f3(0x393));policyCmd[a2_0x51b5f3(0x198)](async _0x651ada=>{const _0x1dd673=a2_0x51b5f3,_0x1353d6=new PolicyCommand(),_0x133706=program[_0x1dd673(0x3a8)](),_0x19a9e7=await createTDXInstance(_0x133706),_0x35ba93=await _0x1353d6[_0x1dd673(0x345)]({'options':{..._0x133706,..._0x651ada},'args':[],'tdx':_0x19a9e7});gracefulExit(_0x35ba93);}),policyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x173))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x273))[a2_0x51b5f3(0x198)](async _0x2a7c25=>{const _0x50b004=a2_0x51b5f3,_0x2426cd=new PolicyListCommand(),_0xa36a76=program[_0x50b004(0x3a8)](),_0x209467=await createTDXInstance(_0xa36a76),_0x3a4854=await _0x2426cd[_0x50b004(0x345)]({'options':{..._0xa36a76,..._0x2a7c25},'args':[],'tdx':_0x209467});gracefulExit(_0x3a4854);}),policyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x25c))[a2_0x51b5f3(0x334)]('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0x51b5f3(0x198)](async(_0x2f74a8,_0x24e1bc)=>{const _0x374a7d=a2_0x51b5f3,_0x18625d=new PolicyShowCommand(),_0x5602a4=program[_0x374a7d(0x3a8)](),_0x35b48b=await createTDXInstance(_0x5602a4),_0x2e183d=await _0x18625d['run']({'options':{..._0x5602a4,..._0x24e1bc},'args':[_0x2f74a8],'tdx':_0x35b48b});gracefulExit(_0x2e183d);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x385))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x20e))['action'](async _0x5e77cb=>{const _0x1218f2=new ProfilesCommand(),_0x47c1bb=program['opts'](),_0x5a51aa=await _0x1218f2['run']({'options':{..._0x47c1bb,..._0x5e77cb},'args':[],'tdx':null});gracefulExit(_0x5a51aa);});const profileCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x352))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x121));profileCmd[a2_0x51b5f3(0x198)](()=>{const _0x5737c9=a2_0x51b5f3;profileCmd[_0x5737c9(0x80)]();});const profileListAction=async _0x3187b7=>{const _0x4c425b=a2_0x51b5f3,_0x4cb291=new ProfilesCommand(),_0x1084e2=program[_0x4c425b(0x3a8)](),_0x2629a4=await _0x4cb291[_0x4c425b(0x345)]({'options':{..._0x1084e2,..._0x3187b7},'args':[],'tdx':null});gracefulExit(_0x2629a4);};profileCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x173))[a2_0x51b5f3(0x334)]('List\x20all\x20available\x20profiles')[a2_0x51b5f3(0x198)](profileListAction),profileCmd['command'](a2_0x51b5f3(0x32e))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x37a))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2c4),a2_0x51b5f3(0x78))['option'](a2_0x51b5f3(0x1e5),a2_0x51b5f3(0x35d))[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x11a))[a2_0x51b5f3(0x198)](async(_0x4cf5d7,_0x2b80a2)=>{const _0x4c4df1=a2_0x51b5f3,_0x203ea5=new ProfileCreateCommand(),_0xbe9f3=program['opts'](),_0x412571=await _0x203ea5[_0x4c4df1(0x345)]({'options':{..._0xbe9f3,..._0x2b80a2},'args':_0x4cf5d7?[_0x4cf5d7]:[],'tdx':null});gracefulExit(_0x412571);});async function profileDeleteAction(_0x3d724d,_0x1154a0){const _0x1ed895=a2_0x51b5f3,_0x4774a3=new ProfileDeleteCommand(),_0x29d9d4=program[_0x1ed895(0x3a8)](),_0x21e1d8=await _0x4774a3['run']({'options':{..._0x29d9d4,..._0x1154a0},'args':[_0x3d724d],'tdx':null});gracefulExit(_0x21e1d8);}profileCmd['command'](a2_0x51b5f3(0x315))[a2_0x51b5f3(0x334)]('Delete\x20a\x20profile')[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x39d))[a2_0x51b5f3(0x198)](profileDeleteAction),profileCmd[a2_0x51b5f3(0x361)]('remove\x20<name>',{'hidden':!![]})[a2_0x51b5f3(0x198)](profileDeleteAction),profileCmd['command'](a2_0x51b5f3(0x137))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2cf))[a2_0x51b5f3(0xa2)](a2_0x51b5f3(0x169),a2_0x51b5f3(0x2bc))[a2_0x51b5f3(0x198)](async(_0x5c4dd6,_0x14e656)=>{const _0x82b25b=a2_0x51b5f3,_0x367459=new ProfileSetCommand(),_0x4a8b6b=program[_0x82b25b(0x3a8)](),_0x7d5ff1=await _0x367459[_0x82b25b(0x345)]({'options':{..._0x4a8b6b,..._0x14e656},'args':[_0x5c4dd6],'tdx':null});gracefulExit(_0x7d5ff1);}),profileCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x37d))[a2_0x51b5f3(0x334)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')['option'](a2_0x51b5f3(0x174),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['addHelpText'](a2_0x51b5f3(0x169),a2_0x51b5f3(0x31e))[a2_0x51b5f3(0x198)](async(_0x1eab7b,_0x17fd7d)=>{const _0x5b8fa5=a2_0x51b5f3,_0x29fc91=new ProfileUseCommand(),_0x237f7b=program[_0x5b8fa5(0x3a8)](),_0x3d4e3c=await _0x29fc91[_0x5b8fa5(0x345)]({'options':{..._0x237f7b,..._0x17fd7d},'args':[_0x1eab7b],'tdx':null});gracefulExit(_0x3d4e3c);});const engageCmd=program['command'](a2_0x51b5f3(0x184))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x204)),createEngageAction=_0x3b9713=>{return async(_0x1bfe48,_0x43d8ae)=>{const _0x38def5=a2_0x48b5,_0x4d8753=new _0x3b9713(),_0xb4f22a=program['opts'](),_0xa0faf2=await createTDXInstance(_0xb4f22a),_0x2881e2=await _0x4d8753[_0x38def5(0x345)]({'options':{..._0xb4f22a,..._0x43d8ae},'args':[_0x1bfe48],'tdx':_0xa0faf2});gracefulExit(_0x2881e2);};},createEngageNoArgAction=_0x489da4=>{return async _0x4bc6c0=>{const _0x338e82=a2_0x48b5,_0x1770eb=new _0x489da4(),_0x3347db=program[_0x338e82(0x3a8)](),_0x841dac=await createTDXInstance(_0x3347db),_0x5a6020=await _0x1770eb[_0x338e82(0x345)]({'options':{..._0x3347db,..._0x4bc6c0},'args':[],'tdx':_0x841dac});gracefulExit(_0x5a6020);};},createEngageListAction=_0x182b36=>{return async(_0x49aaf3,_0x59b219)=>{const _0x411af7=a2_0x48b5,_0xd945f5=new _0x182b36(),_0x291c6b=program[_0x411af7(0x3a8)](),_0x5e2e70=await createTDXInstance(_0x291c6b),_0x28e6b7=await _0xd945f5['run']({'options':{..._0x291c6b,..._0x59b219},'args':_0x49aaf3?[_0x49aaf3]:[],'tdx':_0x5e2e70});gracefulExit(_0x28e6b7);};},campaignCmd=engageCmd['command']('campaign')[a2_0x51b5f3(0x334)]('Campaign\x20management');campaignCmd['command'](a2_0x51b5f3(0x1b3))['description'](a2_0x51b5f3(0xcd))['option'](a2_0x51b5f3(0x244),a2_0x51b5f3(0xf6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x26b),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd['command'](a2_0x51b5f3(0x122))['description'](a2_0x51b5f3(0x392))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x51b5f3(0x2ab)]('--status\x20<status>',a2_0x51b5f3(0x8f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x198)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x51b5f3(0x361)]('show\x20<name-or-id>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3af))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))['option']('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x374))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1f9))['requiredOption'](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x322))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x244),a2_0x51b5f3(0xd6))[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>',a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x144),a2_0x51b5f3(0x20a))['option'](a2_0x51b5f3(0x258),a2_0x51b5f3(0x3a1))['option'](a2_0x51b5f3(0x34d),a2_0x51b5f3(0x151))[a2_0x51b5f3(0x2ab)]('--json-columns\x20<cols>',a2_0x51b5f3(0x210))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x17f),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x38b),a2_0x51b5f3(0x128))[a2_0x51b5f3(0x198)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a7))[a2_0x51b5f3(0x334)]('Update\x20a\x20campaign')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')['option'](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x117))[a2_0x51b5f3(0x2ab)]('--description\x20<desc>',a2_0x51b5f3(0x20a))['option'](a2_0x51b5f3(0x258),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x34d),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2b5),a2_0x51b5f3(0x210))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x17f),a2_0x51b5f3(0x399))['option']('--timezone\x20<tz>',a2_0x51b5f3(0x128))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xd0))['description'](a2_0x51b5f3(0x18e))['option'](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x372),a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x51b5f3(0x1f4))['description'](a2_0x51b5f3(0x2e9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x51b5f3(0x361)]('pause\x20<name-or-id>')[a2_0x51b5f3(0x334)]('Pause\x20a\x20campaign')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x17a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x39a))['option'](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x51b5f3(0x23c))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x365))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2de))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3a2))[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>',a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),'Pull\x20specific\x20campaign\x20by\x20name')[a2_0x51b5f3(0x2ab)]('--type\x20<type>',a2_0x51b5f3(0xf6))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x256))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignPullCommand)),campaignCmd['command'](a2_0x51b5f3(0x150))['description'](a2_0x51b5f3(0x1a1))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x11d))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xf5))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2c9))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2e8),a2_0x51b5f3(0x125))[a2_0x51b5f3(0x198)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd['command'](a2_0x51b5f3(0x146))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3d5));alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2de))['description'](a2_0x51b5f3(0x16c))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)]('--name\x20<name>',a2_0x51b5f3(0x1f1))['option'](a2_0x51b5f3(0x244),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x256))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignPullCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x150))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x157))['option'](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x11d))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignPushCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))['description']('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')['option'](a2_0x51b5f3(0x244),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x51b5f3(0x2ab)]('--status\x20<status>',a2_0x51b5f3(0x106))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),'Workspace\x20name\x20(required)')[a2_0x51b5f3(0x198)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x8a))[a2_0x51b5f3(0x334)]('List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),a2_0x51b5f3(0xf6))[a2_0x51b5f3(0x2ab)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)')[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x198)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd['command'](a2_0x51b5f3(0x314))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1e7))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))['option'](a2_0x51b5f3(0x230),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x374))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2b1))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x322))['requiredOption'](a2_0x51b5f3(0x244),a2_0x51b5f3(0xd6))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x144),'Campaign\x20description')[a2_0x51b5f3(0x2ab)]('--segment\x20<path>',a2_0x51b5f3(0xe5))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3d9),a2_0x51b5f3(0x29f))[a2_0x51b5f3(0x198)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x26c))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),'New\x20campaign\x20name')['option']('--description\x20<desc>','Campaign\x20description')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x258),a2_0x51b5f3(0xe5))['option'](a2_0x51b5f3(0x3d9),a2_0x51b5f3(0x29f))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)]('delete\x20<name-or-id>')[a2_0x51b5f3(0x334)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')['requiredOption'](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x372),'Skip\x20confirmation\x20prompt')[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1f4))['description'](a2_0x51b5f3(0x249))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),'Workspace\x20name\x20(required)')[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1bb))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x211))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)]('resume\x20<name-or-id>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1aa))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x390))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x254))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))['option'](a2_0x51b5f3(0x372),a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x23c))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xef))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0xc8),'Workspace\x20name\x20(required)')[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x143))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand)),alwaysOnCampaignCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x190))[a2_0x51b5f3(0x334)]('Validate\x20always-on\x20campaign\x20YAML\x20files')['option'](a2_0x51b5f3(0x2e8),a2_0x51b5f3(0x125))[a2_0x51b5f3(0x198)](createEngageAction(EngageAlwaysOnCampaignValidateCommand));const templateCmd=engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2c0))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1b4));templateCmd['command'](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x103))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x198)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x283))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x307))[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>',a2_0x51b5f3(0x28e))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x314))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3ac))['option'](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x230),a2_0x51b5f3(0x22e))[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplateShowCommand)),templateCmd['command'](a2_0x51b5f3(0x374))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xb6))[a2_0x51b5f3(0x333)]('--name\x20<name>','Template\x20name')[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x29a),a2_0x51b5f3(0x38a))['option']('--preheader\x20<text>',a2_0x51b5f3(0xa7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x176),a2_0x51b5f3(0x1fe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x34a),'Read\x20HTML\x20template\x20from\x20file')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x32d))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x330),a2_0x51b5f3(0x81))['option'](a2_0x51b5f3(0x9f),a2_0x51b5f3(0x2c8),_0x18f929=>{const _0x6df02d=a2_0x51b5f3;if(![_0x6df02d(0xe4),'grapesjs'][_0x6df02d(0x22a)](_0x18f929))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x6df02d(0x252)+_0x18f929+_0x6df02d(0x21e));return _0x18f929;})[a2_0x51b5f3(0x198)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2a7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3b0))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x2d5))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x29a),'Email\x20subject\x20template')[a2_0x51b5f3(0x2ab)]('--preheader\x20<text>',a2_0x51b5f3(0xa7))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x176),a2_0x51b5f3(0x1fe))[a2_0x51b5f3(0x2ab)]('--html-file\x20<path>','Read\x20HTML\x20template\x20from\x20file')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x330),a2_0x51b5f3(0x81))[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x51b5f3(0x361)]('pull\x20[workspace]')[a2_0x51b5f3(0x334)]('Pull\x20templates\x20to\x20YAML\x20files')[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>','Workspace\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x11e),'Pull\x20specific\x20template\x20by\x20name')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe2),a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x256))[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x51b5f3(0x361)]('push\x20[target]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x270))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),'Workspace\x20name')[a2_0x51b5f3(0x2ab)]('-y,\x20--yes',a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x11d))['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xf5))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x294))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x2e8),a2_0x51b5f3(0x125))[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xd0))['description'](a2_0x51b5f3(0x2cc))[a2_0x51b5f3(0x2ab)]('--workspace\x20<name>',a2_0x51b5f3(0x28e))['option']('--yes','Skip\x20confirmation\x20prompt')[a2_0x51b5f3(0x198)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x51b5f3(0x361)]('workspace')['description'](a2_0x51b5f3(0x3ae));workspaceCmd[a2_0x51b5f3(0x361)]('list\x20[pattern]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1cf))['action'](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1dd))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x127))[a2_0x51b5f3(0x198)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x314))['description'](a2_0x51b5f3(0x3d3))['option']('--full',a2_0x51b5f3(0x22e))[a2_0x51b5f3(0x198)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x374))['description'](a2_0x51b5f3(0x335))[a2_0x51b5f3(0x333)](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x144),'Workspace\x20description')['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x51b5f3(0x2a7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x136))['option'](a2_0x51b5f3(0x11e),a2_0x51b5f3(0x263))[a2_0x51b5f3(0x2ab)]('--description\x20<desc>','Workspace\x20description')[a2_0x51b5f3(0x198)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xd0))['description'](a2_0x51b5f3(0x21b))['option']('--yes',a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x198)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x51b5f3(0x361)]('use\x20<name>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x147))[a2_0x51b5f3(0x198)](createEngageAction(EngageWorkspaceUseCommand));const lineSenderAccountCmd=engageCmd['command'](a2_0x51b5f3(0x3b7))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3c6));lineSenderAccountCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)]('List\x20LINE\x20sender\x20accounts')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x198)](createEngageListAction(EngageLineSenderAccountsCommand)),lineSenderAccountCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x314))[a2_0x51b5f3(0x334)]('Show\x20LINE\x20sender\x20account\x20details')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))[a2_0x51b5f3(0x198)](createEngageAction(EngageLineSenderAccountShowCommand));const lineImagemapImageCmd=engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x370))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xb3));lineImagemapImageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x101))['description'](a2_0x51b5f3(0x289))[a2_0x51b5f3(0x198)](createEngageAction(EngageLineImagemapImageUploadCommand));const engageMediaCmd=engageCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x21a))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2ce));engageMediaCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x3b6))['description'](a2_0x51b5f3(0x1fc))[a2_0x51b5f3(0x198)](createEngageAction(EngageMediaLsCommand)),engageMediaCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x101))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x12f))[a2_0x51b5f3(0x2ab)]('--path\x20<folder>',a2_0x51b5f3(0x3bb))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x98),a2_0x51b5f3(0x3d4))[a2_0x51b5f3(0x198)](createEngageAction(EngageMediaUploadCommand)),engageMediaCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7e))[a2_0x51b5f3(0x334)]('Create\x20a\x20directory\x20in\x20Engage\x20DAM')['action'](createEngageAction(EngageMediaMkdirCommand)),engageMediaCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1ab))[a2_0x51b5f3(0x334)]('Delete\x20a\x20file\x20from\x20Engage\x20DAM')[a2_0x51b5f3(0x198)](createEngageAction(EngageMediaRmCommand)),engageMediaCmd[a2_0x51b5f3(0x361)]('rmdir\x20<path>')[a2_0x51b5f3(0x334)]('Delete\x20a\x20directory\x20from\x20Engage\x20DAM\x20(must\x20be\x20empty)')[a2_0x51b5f3(0x198)](createEngageAction(EngageMediaRmdirCommand));const deliveryCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x33d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x91));deliveryCmd['command']('senders\x20[pattern]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xda))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xc8),a2_0x51b5f3(0x28e))['action'](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x302))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x86)),connectionListAction=async _0x505545=>{const _0x1ccec2=a2_0x51b5f3,_0x160223=new ConnectionListCommand(),_0x240ff0=program[_0x1ccec2(0x3a8)](),_0xf1f1b6=await createTDXInstance(_0x240ff0),_0x429cf5=await _0x160223['run']({'options':{..._0x240ff0,..._0x505545},'args':[],'tdx':_0xf1f1b6});gracefulExit(_0x429cf5);};connectionCmd['command'](a2_0x51b5f3(0x173))['description'](a2_0x51b5f3(0x159))[a2_0x51b5f3(0x198)](connectionListAction),program['command'](a2_0x51b5f3(0x3d6),{'hidden':!![]})[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x161))[a2_0x51b5f3(0x198)](connectionListAction),connectionCmd[a2_0x51b5f3(0x361)]('show\x20<name>')['description']('Show\x20connection\x20details\x20by\x20name')['action'](async(_0x7349fa,_0x27b00c)=>{const _0x1975d4=a2_0x51b5f3,_0x49d7fc=new ConnectionShowCommand(),_0x58aa50=program['opts'](),_0x41f38b=await createTDXInstance(_0x58aa50),_0x7a608f=await _0x49d7fc[_0x1975d4(0x345)]({'options':{..._0x58aa50,..._0x27b00c},'args':[_0x7349fa],'tdx':_0x41f38b});gracefulExit(_0x7a608f);}),connectionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x95))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x185))[a2_0x51b5f3(0x198)](async(_0x1b47d1,_0x27c5bb)=>{const _0x4827ad=a2_0x51b5f3,_0xbee412=new ConnectionSchemaCommand(),_0x3ca386=program['opts'](),_0x61a903=await createTDXInstance(_0x3ca386),_0x1eae27=await _0xbee412[_0x4827ad(0x345)]({'options':{..._0x3ca386,..._0x27c5bb},'args':[_0x1b47d1],'tdx':_0x61a903});gracefulExit(_0x1eae27);}),connectionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1a9))['description']('List\x20available\x20connector\x20types')[a2_0x51b5f3(0x198)](async _0x358ac7=>{const _0x5534b9=a2_0x51b5f3,_0x2d2636=new ConnectionTypesCommand(),_0x46e271=program[_0x5534b9(0x3a8)](),_0x5dc69f=await createTDXInstance(_0x46e271),_0x5b1478=await _0x2d2636[_0x5534b9(0x345)]({'options':{..._0x46e271,..._0x358ac7},'args':[],'tdx':_0x5dc69f});gracefulExit(_0x5b1478);}),connectionCmd[a2_0x51b5f3(0x361)]('settings\x20<type>')[a2_0x51b5f3(0x334)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x51b5f3(0x198)](async(_0x46cc55,_0x4fe653)=>{const _0x2df015=a2_0x51b5f3,_0x107d31=new ConnectionSettingsCommand(),_0x1fcf01=program[_0x2df015(0x3a8)](),_0x18dd38=await createTDXInstance(_0x1fcf01),_0x1a2c5d=await _0x107d31[_0x2df015(0x345)]({'options':{..._0x1fcf01,..._0x4fe653},'args':[_0x46cc55],'tdx':_0x18dd38});gracefulExit(_0x1a2c5d);});const casCmd=program['command'](a2_0x51b5f3(0x2ba))['description'](a2_0x51b5f3(0x97));casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x173))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x170))['action'](async _0xd57b85=>{const _0x539f27=a2_0x51b5f3,_0xd653cc=new CASListCommand(),_0xc4c7cf=program['opts'](),_0x569013=await createTDXInstance(_0xc4c7cf),_0x50b886=await _0xd653cc[_0x539f27(0x345)]({'options':{..._0xc4c7cf,..._0xd57b85},'args':[],'tdx':_0x569013});gracefulExit(_0x50b886);}),casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2cb))[a2_0x51b5f3(0x334)]('Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x40b461,_0x4c1520)=>{const _0x7d31c8=a2_0x51b5f3,_0x5815aa=new CASDescCommand(),_0x11ff7b=program[_0x7d31c8(0x3a8)](),_0x44f4b2=await createTDXInstance(_0x11ff7b),_0x5d9ca0=await _0x5815aa['run']({'options':{..._0x11ff7b,..._0x4c1520},'args':_0x40b461?[_0x40b461]:[],'tdx':_0x44f4b2});gracefulExit(_0x5d9ca0);}),casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x10d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1b2))['option']('--dir\x20<dir>',a2_0x51b5f3(0x387))[a2_0x51b5f3(0x2ab)]('--dry-run',a2_0x51b5f3(0x167))[a2_0x51b5f3(0x198)](async(_0x2f97c6,_0x5a45e7)=>{const _0x15e22e=a2_0x51b5f3,_0x58ca35=new CASPullCommand(),_0x198794=program['opts'](),_0xb02b15=await createTDXInstance(_0x198794),_0x9bc26e=await _0x58ca35[_0x15e22e(0x345)]({'options':{..._0x198794,..._0x5a45e7},'args':_0x2f97c6?[_0x2f97c6]:[],'tdx':_0xb02b15});gracefulExit(_0x9bc26e);}),casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x150))[a2_0x51b5f3(0x334)]('Push\x20YAML\x20files\x20to\x20CAS\x20API')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x37e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe2),a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x96),a2_0x51b5f3(0xb5))[a2_0x51b5f3(0x198)](async(_0x3e1e55,_0x407c83)=>{const _0x56a121=a2_0x51b5f3,_0x4781db=new CASPushCommand(),_0x167ebb=program[_0x56a121(0x3a8)](),_0x3eae6b=await createTDXInstance(_0x167ebb),_0x34562c=await _0x4781db[_0x56a121(0x345)]({'options':{..._0x167ebb,..._0x407c83},'args':_0x3e1e55?[_0x3e1e55]:[],'tdx':_0x3eae6b});gracefulExit(_0x34562c);}),casCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0xf5))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0xdb))[a2_0x51b5f3(0x198)](async(_0x2e4d98,_0x2f5360)=>{const _0x2ea13e=a2_0x51b5f3,_0x1e07e3=new CASValidateCommand(),_0x3001c8=program[_0x2ea13e(0x3a8)](),_0x261fa7=await createTDXInstance(_0x3001c8),_0x215739=await _0x1e07e3[_0x2ea13e(0x345)]({'options':{..._0x3001c8,..._0x2f5360},'args':_0x2e4d98?[_0x2e4d98]:[],'tdx':_0x261fa7});gracefulExit(_0x215739);}),casCmd[a2_0x51b5f3(0x361)]('preview\x20<segment_name>')['description'](a2_0x51b5f3(0x11b))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x395),a2_0x51b5f3(0x23d))[a2_0x51b5f3(0x198)](async(_0x1027b0,_0x3b55b3)=>{const _0x5d5dbd=a2_0x51b5f3,_0x48dd2d=new CASPreviewCommand(),_0x516814=program[_0x5d5dbd(0x3a8)](),_0x46d422=await createTDXInstance(_0x516814),_0x3f1579=await _0x48dd2d[_0x5d5dbd(0x345)]({'options':{..._0x516814,..._0x3b55b3},'args':[_0x1027b0,_0x3b55b3[_0x5d5dbd(0x39b)]],'tdx':_0x46d422});gracefulExit(_0x3f1579);});const casSgCmd=casCmd[a2_0x51b5f3(0x361)]('sg')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x311));casSgCmd[a2_0x51b5f3(0x361)]('list\x20[audience_name]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2b4))[a2_0x51b5f3(0x198)](async(_0x1b3c8a,_0x15471c)=>{const _0x2d1462=a2_0x51b5f3,_0x2dbc4e=new CASSegmentListCommand(),_0x1921a7=program[_0x2d1462(0x3a8)](),_0x3d075b=await createTDXInstance(_0x1921a7),_0x2dfae5=await _0x2dbc4e['run']({'options':{..._0x1921a7,..._0x15471c},'args':_0x1b3c8a?[_0x1b3c8a]:[],'tdx':_0x3d075b});gracefulExit(_0x2dfae5);}),casSgCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1ae))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x85))[a2_0x51b5f3(0x2ab)]('--audience\x20<name>','Composable\x20audience\x20name')['option'](a2_0x51b5f3(0x397),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['option']('-y,\x20--yes',a2_0x51b5f3(0xbe))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x96),a2_0x51b5f3(0x215))[a2_0x51b5f3(0x198)](async(_0x510265,_0x186e93)=>{const _0x2ad0c8=new CASSegmentPushCommand(),_0x5eeb53=program['opts'](),_0x19480e=await createTDXInstance(_0x5eeb53),_0x46ae44=await _0x2ad0c8['run']({'options':{..._0x5eeb53,..._0x186e93},'args':[_0x510265],'tdx':_0x19480e});gracefulExit(_0x46ae44);});const psP13nCmd=parentSegmentCmd[a2_0x51b5f3(0x361)]('p13n')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2f1));psP13nCmd[a2_0x51b5f3(0x361)]('list\x20[name]')[a2_0x51b5f3(0x334)]('List\x20campaigns\x20(filter\x20by\x20parent\x20segment\x20name\x20or\x20use\x20context)')['option'](a2_0x51b5f3(0x298),a2_0x51b5f3(0x2b6))['action'](async(_0x10982c,_0x11e1f4)=>{const _0x4656a3=a2_0x51b5f3,_0x5e5289=new P13nListCommand(),_0x11eab5=program[_0x4656a3(0x3a8)](),_0x3cb370=await createTDXInstance(_0x11eab5),_0x8485fc=await _0x5e5289[_0x4656a3(0x345)]({'options':{..._0x11eab5,..._0x11e1f4},'args':_0x10982c?[_0x10982c]:[],'tdx':_0x3cb370});gracefulExit(_0x8485fc);});const journeyCmd=program[a2_0x51b5f3(0x361)]('journey')[a2_0x51b5f3(0x334)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0xd9904c,_0x37144d)=>{const _0x1d4eda=a2_0x51b5f3,_0x29b4f4=new JourneyListCommand(),_0x3cb1e4=program[_0x1d4eda(0x3a8)](),_0x1b0d5f=await createTDXInstance(_0x3cb1e4),_0x187d8c=await _0x29b4f4[_0x1d4eda(0x345)]({'options':{..._0x3cb1e4,..._0x37144d},'args':_0xd9904c?[_0xd9904c]:[],'tdx':_0x1b0d5f});gracefulExit(_0x187d8c);};journeyCmd['command'](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)]('List\x20journeys\x20in\x20current\x20context')['action'](journeyListAction),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x135))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2da))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xeb),a2_0x51b5f3(0x1d7))['option'](a2_0x51b5f3(0x88),a2_0x51b5f3(0x30e))['action'](async(_0x39d9f9,_0x5c360e)=>{const _0x46d94=a2_0x51b5f3,_0x3ba03a=new JourneyViewCommand(),_0x555972=program[_0x46d94(0x3a8)](),_0x59c70e=await createTDXInstance(_0x555972),_0x26471f=await _0x3ba03a['run']({'options':{..._0x555972,..._0x5c360e},'args':[_0x39d9f9],'tdx':_0x59c70e});gracefulExit(_0x26471f);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2f3))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x10c),a2_0x51b5f3(0x2f9))[a2_0x51b5f3(0x2ab)]('--from\x20<date>','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x35f),a2_0x51b5f3(0x3be))['option'](a2_0x51b5f3(0xae),'Include\x20raw\x20history\x20data\x20in\x20output')[a2_0x51b5f3(0x198)](async(_0x30ef36,_0x30026e)=>{const _0x5a755d=a2_0x51b5f3,_0x388511=new JourneyStatsCommand(),_0x5cfc9c=program[_0x5a755d(0x3a8)](),_0x2b2750=await createTDXInstance(_0x5cfc9c),_0x18c904=await _0x388511[_0x5a755d(0x345)]({'options':{..._0x5cfc9c,..._0x30026e},'args':[_0x30ef36],'tdx':_0x2b2750});gracefulExit(_0x18c904);}),journeyCmd[a2_0x51b5f3(0x361)]('traffic\x20<name-or-path>')['description'](a2_0x51b5f3(0x1c5))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x244),a2_0x51b5f3(0x92))[a2_0x51b5f3(0x2ab)]('--from\x20<date>',a2_0x51b5f3(0x313))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x35f),a2_0x51b5f3(0x3be))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x37c),a2_0x51b5f3(0x1d8),_0x3dd570=>{const _0x445ebf=a2_0x51b5f3,_0x28f95a=parseInt(_0x3dd570,0xa);if(isNaN(_0x28f95a))throw new Error(_0x445ebf(0x308)+_0x3dd570+_0x445ebf(0xbf));return _0x28f95a;})['action'](async(_0xe8b069,_0x3f6d66)=>{const _0x46fbe2=a2_0x51b5f3,_0x354f7a=new JourneyTrafficCommand(),_0x7c5bc4=program[_0x46fbe2(0x3a8)](),_0x2a6ddc=await createTDXInstance(_0x7c5bc4),_0x3c9e95=await _0x354f7a[_0x46fbe2(0x345)]({'options':{..._0x7c5bc4,..._0x3f6d66},'args':[_0xe8b069],'tdx':_0x2a6ddc});gracefulExit(_0x3c9e95);}),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2f6))['description'](a2_0x51b5f3(0xc9))[a2_0x51b5f3(0x198)](async(_0x500350,_0x542b81)=>{const _0x369316=a2_0x51b5f3,_0x224cc1=new JourneyPauseCommand(),_0x4451ea=program[_0x369316(0x3a8)](),_0x46bfc5=await createTDXInstance(_0x4451ea),_0x596ca1=await _0x224cc1[_0x369316(0x345)]({'options':{..._0x4451ea,..._0x542b81},'args':[_0x500350],'tdx':_0x46bfc5});gracefulExit(_0x596ca1);}),journeyCmd['command']('run\x20<name-or-path>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x9c))[a2_0x51b5f3(0x2ab)]('--dry-run','Show\x20journey\x20details\x20and\x20activation\x20targets\x20without\x20triggering')[a2_0x51b5f3(0x198)](async(_0x288c2f,_0x14aed1)=>{const _0x1e1908=a2_0x51b5f3,_0x43a64e=new JourneyRunCommand(),_0x3a60a5=program[_0x1e1908(0x3a8)](),_0x28d999=await createTDXInstance(_0x3a60a5),_0x1f4348=await _0x43a64e[_0x1e1908(0x345)]({'options':{..._0x3a60a5,..._0x14aed1},'args':[_0x288c2f],'tdx':_0x28d999});gracefulExit(_0x1f4348);}),journeyCmd[a2_0x51b5f3(0x361)]('resume\x20<name-or-path>')['description'](a2_0x51b5f3(0x154))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x397),a2_0x51b5f3(0x2c3))[a2_0x51b5f3(0x198)](async(_0x5d67d8,_0xadbc2c)=>{const _0x93ef93=a2_0x51b5f3,_0x3fcbe5=new JourneyResumeCommand(),_0x43eb59=program[_0x93ef93(0x3a8)](),_0x1ade65=await createTDXInstance(_0x43eb59),_0x5ddd11=await _0x3fcbe5[_0x93ef93(0x345)]({'options':{..._0x43eb59,..._0xadbc2c},'args':[_0x5d67d8],'tdx':_0x1ade65});gracefulExit(_0x5ddd11);}),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x10d))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x195))['option'](a2_0x51b5f3(0x397),a2_0x51b5f3(0x167))[a2_0x51b5f3(0x198)](async(_0x5934e3,_0x3eb5d4)=>{const _0x34065a=a2_0x51b5f3,_0x2fd119=new JourneyPullCommand(),_0x223353=program[_0x34065a(0x3a8)](),_0x171e41=await createTDXInstance(_0x223353),_0x316bec=await _0x2fd119[_0x34065a(0x345)]({'options':{..._0x223353,..._0x3eb5d4},'args':_0x5934e3?[_0x5934e3]:[],'tdx':_0x171e41});gracefulExit(_0x316bec);}),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x150))[a2_0x51b5f3(0x334)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20AI')[a2_0x51b5f3(0x198)](async(_0xc4fbf0,_0x27766f)=>{const _0x566d02=a2_0x51b5f3,_0xf38244=new JourneyPushCommand(),_0x3790a2=program[_0x566d02(0x3a8)](),_0x1b25df=await createTDXInstance(_0x3790a2),_0x19cd60=await _0xf38244[_0x566d02(0x345)]({'options':{..._0x3790a2,..._0x27766f},'args':_0xc4fbf0?[_0xc4fbf0]:[],'tdx':_0x1b25df});gracefulExit(_0x19cd60);}),journeyCmd['command'](a2_0x51b5f3(0xd4))['description'](a2_0x51b5f3(0x1bf))[a2_0x51b5f3(0x198)](async(_0x470ac4,_0x5d7419)=>{const _0x400fc6=a2_0x51b5f3,_0x19aa35=new JourneyColumnsCommand(),_0x2aec5d=program[_0x400fc6(0x3a8)](),_0x4f6912=await createTDXInstance(_0x2aec5d),_0x55017b=await _0x19aa35['run']({'options':{..._0x2aec5d,..._0x5d7419},'args':[_0x470ac4],'tdx':_0x4f6912});gracefulExit(_0x55017b);}),journeyCmd[a2_0x51b5f3(0x361)]('activations\x20<name-or-path>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x24e))[a2_0x51b5f3(0x198)](async(_0xa52c58,_0x13924f)=>{const _0x497ad3=a2_0x51b5f3,_0x3a2818=new JourneyActivationsCommand(),_0x1bd6a3=program[_0x497ad3(0x3a8)](),_0x2c9cd3=await createTDXInstance(_0x1bd6a3),_0x3fc928=await _0x3a2818[_0x497ad3(0x345)]({'options':{..._0x1bd6a3,..._0x13924f},'args':[_0xa52c58],'tdx':_0x2c9cd3});gracefulExit(_0x3fc928);}),journeyCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x112))['description'](a2_0x51b5f3(0x299))[a2_0x51b5f3(0x198)](async(_0x4abe97,_0x575272)=>{const _0x8b1294=a2_0x51b5f3,_0x1542ef=new JourneyVersionsCommand(),_0x64a972=program[_0x8b1294(0x3a8)](),_0x13d5a6=await createTDXInstance(_0x64a972),_0x4caf00=await _0x1542ef[_0x8b1294(0x345)]({'options':{..._0x64a972,..._0x575272},'args':[_0x4abe97],'tdx':_0x13d5a6});gracefulExit(_0x4caf00);});const journeyVersionCmd=journeyCmd[a2_0x51b5f3(0x361)]('version')[a2_0x51b5f3(0x334)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2c6))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x18d))[a2_0x51b5f3(0x198)](async(_0x38deed,_0x1f82f2)=>{const _0x530b57=a2_0x51b5f3,_0x3707ac=new JourneyVersionCreateCommand(),_0x4dcd08=program[_0x530b57(0x3a8)](),_0xdf751c=await createTDXInstance(_0x4dcd08),_0x162e30=await _0x3707ac[_0x530b57(0x345)]({'options':{..._0x4dcd08,..._0x1f82f2},'args':[_0x38deed],'tdx':_0xdf751c});gracefulExit(_0x162e30);}),journeyVersionCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x135))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x2d7))[a2_0x51b5f3(0x333)]('--version\x20<number>','Version\x20number\x20to\x20view')[a2_0x51b5f3(0x198)](async(_0x4e5a93,_0x3c8d4b)=>{const _0x549281=a2_0x51b5f3,_0x5d22ca=new JourneyVersionViewCommand(),_0x38b86e=program[_0x549281(0x3a8)](),_0x1ee9c5=await createTDXInstance(_0x38b86e),_0x3bbb12=await _0x5d22ca[_0x549281(0x345)]({'options':{..._0x38b86e,..._0x3c8d4b},'args':[_0x4e5a93],'tdx':_0x1ee9c5});gracefulExit(_0x3bbb12);}),journeyCmd['command']('validate\x20[target]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1f0))[a2_0x51b5f3(0x198)](async(_0x193c5b,_0x5876b2)=>{const _0x5f46ad=a2_0x51b5f3,_0x3c94d5=new JourneyValidateCommand(),_0x33c80a=program['opts'](),_0x1d703e=await createTDXInstance(_0x33c80a),_0x417c84=await _0x3c94d5[_0x5f46ad(0x345)]({'options':{..._0x33c80a,..._0x5876b2},'args':_0x193c5b?[_0x193c5b]:[],'tdx':_0x1d703e});gracefulExit(_0x417c84);}),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x111))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x26a))[a2_0x51b5f3(0x198)](journeyListAction);const agentSyncCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1fa))[a2_0x51b5f3(0x334)]('LLM\x20agent\x20management');agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x332))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1ee))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x209),a2_0x51b5f3(0x33e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1e5),a2_0x51b5f3(0x10a))[a2_0x51b5f3(0x2ab)]('-a,\x20--agent\x20<name>',a2_0x51b5f3(0x282))[a2_0x51b5f3(0x198)](async(_0x5dc9d3,_0x395345,_0x343f49)=>{const _0x1bd4cc=a2_0x51b5f3,_0x15e724=new AgentPullCommand(),_0x565cd1=program[_0x1bd4cc(0x3a8)](),_0x1e7087=await createTDXInstance(_0x565cd1),_0x1f7af2=[];if(_0x5dc9d3)_0x1f7af2[_0x1bd4cc(0x1a6)](_0x5dc9d3);if(_0x395345)_0x1f7af2[_0x1bd4cc(0x1a6)](_0x395345);const _0x5f37fa=await _0x15e724['run']({'options':{..._0x565cd1,..._0x343f49},'args':_0x1f7af2,'tdx':_0x1e7087});gracefulExit(_0x5f37fa);}),agentSyncCmd[a2_0x51b5f3(0x361)]('push\x20[path]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x17d))[a2_0x51b5f3(0x2ab)]('-f,\x20--force',a2_0x51b5f3(0x15f))[a2_0x51b5f3(0x198)](async(_0x3a113b,_0x108193)=>{const _0x779c07=a2_0x51b5f3,_0x3b57e8=new AgentPushCommand(),_0x23498c=program[_0x779c07(0x3a8)](),_0x39a380=await createTDXInstance(_0x23498c),_0x1922ca=await _0x3b57e8[_0x779c07(0x345)]({'options':{..._0x23498c,..._0x108193},'args':_0x3a113b?[_0x3a113b]:[],'tdx':_0x39a380});gracefulExit(_0x1922ca);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1eb))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x7d))['option'](a2_0x51b5f3(0x38d),a2_0x51b5f3(0x19f))[a2_0x51b5f3(0x198)](async(_0x228067,_0x161aad)=>{const _0x32cadb=new AgentCloneCommand(),_0x4fc228=program['opts'](),_0x527bd0=await createTDXInstance(_0x4fc228),_0x5ad427=await _0x32cadb['run']({'options':{..._0x4fc228,..._0x161aad},'args':_0x228067?[_0x228067]:[],'tdx':_0x527bd0});gracefulExit(_0x5ad427);}),agentSyncCmd[a2_0x51b5f3(0x361)]('test\x20[path]')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3a0))[a2_0x51b5f3(0x2ab)]('--name\x20<names>',a2_0x51b5f3(0x228))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x22f),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')['option'](a2_0x51b5f3(0x397),a2_0x51b5f3(0x116))['option'](a2_0x51b5f3(0x2f7),a2_0x51b5f3(0x30f))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xd7),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')['action'](async(_0xf6b381,_0x261ac9)=>{const _0x1a0569=a2_0x51b5f3,_0x221ba3=new AgentTestCommand(),_0x48a87f=program[_0x1a0569(0x3a8)](),_0x43441e=await createTDXInstance(_0x48a87f),_0x234c72=await _0x221ba3[_0x1a0569(0x345)]({'options':{..._0x48a87f,..._0x261ac9},'args':_0xf6b381?[_0xf6b381]:[],'tdx':_0x43441e});gracefulExit(_0x234c72);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x1b3))[a2_0x51b5f3(0x334)]('List\x20agents\x20in\x20current\x20project')['action'](llmAgentListAction),agentSyncCmd[a2_0x51b5f3(0x361)]('show\x20<agent-name>')['description'](a2_0x51b5f3(0x1a7))[a2_0x51b5f3(0x198)](async(_0x2b109b,_0x16a2c6)=>{const _0x28f88b=a2_0x51b5f3,_0x4356cd=new LLMAgentShowCommand(),_0x21c0ed=program[_0x28f88b(0x3a8)](),_0x5d871f=await createTDXInstance(_0x21c0ed),_0x5290c4=await _0x4356cd['run']({'options':{..._0x21c0ed,..._0x16a2c6},'args':[_0x2b109b],'tdx':_0x5d871f});gracefulExit(_0x5290c4);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x181))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x267))[a2_0x51b5f3(0x2ab)]('--system-prompt\x20<text>','System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x51b5f3(0x2ab)]('--model\x20<name>',a2_0x51b5f3(0x8b),a2_0x51b5f3(0x14e))['option']('--starter-message\x20<text>','Starter\x20message')[a2_0x51b5f3(0x2ab)]('--max-tool-iterations\x20<n>','Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x19d),a2_0x51b5f3(0x394),a2_0x51b5f3(0x274))[a2_0x51b5f3(0x198)](async(_0x42e429,_0x296541)=>{const _0x25790e=a2_0x51b5f3,_0x46a5d9=new LLMAgentCreateCommand(),_0x5ea65b=program['opts'](),_0x2e04df=await createTDXInstance(_0x5ea65b),_0x2a31e7=await _0x46a5d9[_0x25790e(0x345)]({'options':{..._0x5ea65b,..._0x296541},'args':[_0x42e429],'tdx':_0x2e04df});gracefulExit(_0x2a31e7);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x83))['description'](a2_0x51b5f3(0x1dc))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x1be),a2_0x51b5f3(0x105))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x30a),a2_0x51b5f3(0x19e))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xdf),a2_0x51b5f3(0x396))['option'](a2_0x51b5f3(0x231),a2_0x51b5f3(0x149))[a2_0x51b5f3(0x198)](async(_0x3cd34c,_0x55e965)=>{const _0xd31d94=a2_0x51b5f3,_0x7b737b=new LLMAgentUpdateCommand(),_0x20fb3b=program[_0xd31d94(0x3a8)](),_0x23403b=await createTDXInstance(_0x20fb3b),_0x467140=await _0x7b737b[_0xd31d94(0x345)]({'options':{..._0x20fb3b,..._0x55e965},'args':[_0x3cd34c],'tdx':_0x23403b});gracefulExit(_0x467140);}),agentSyncCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2c7))[a2_0x51b5f3(0x334)]('Delete\x20an\x20agent')[a2_0x51b5f3(0x198)](async(_0x2bd0fa,_0x10b21d)=>{const _0x29ba21=a2_0x51b5f3,_0x537994=new LLMAgentDeleteCommand(),_0x5e950b=program[_0x29ba21(0x3a8)](),_0x3ad040=await createTDXInstance(_0x5e950b),_0x470869=await _0x537994[_0x29ba21(0x345)]({'options':{..._0x5e950b,..._0x10b21d},'args':[_0x2bd0fa],'tdx':_0x3ad040});gracefulExit(_0x470869);});const workCmd=program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2d1))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x74));workCmd[a2_0x51b5f3(0x2ab)]('--days\x20<n>',a2_0x51b5f3(0x1f2))['option'](a2_0x51b5f3(0x1ea),a2_0x51b5f3(0x172))['action'](workSummaryAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x7f))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x3c5))[a2_0x51b5f3(0x2ab)]('--github\x20<owner/repo>','Link\x20workspace\x20to\x20a\x20GitHub\x20repository')[a2_0x51b5f3(0x198)](workInitAction),workCmd[a2_0x51b5f3(0x361)]('new\x20<title>')[a2_0x51b5f3(0x334)]('Create\x20a\x20new\x20document')['option']('--kind\x20<kind>',a2_0x51b5f3(0x2fb),a2_0x51b5f3(0x140))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x22f),a2_0x51b5f3(0x276))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x388),'Priority\x20(critical,\x20high,\x20medium,\x20low)')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0xe6),a2_0x51b5f3(0x134))[a2_0x51b5f3(0x2ab)]('--template\x20<name>','Apply\x20a\x20template')[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x26b),a2_0x51b5f3(0x1d4))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3db),a2_0x51b5f3(0x38e))[a2_0x51b5f3(0x198)](workNewAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x29e))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x1ba))[a2_0x51b5f3(0x198)](workMoveAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x203))[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x269))[a2_0x51b5f3(0x2ab)](a2_0x51b5f3(0x3c7),'Show\x20items\x20updated\x20within\x20N\x20days')['option'](a2_0x51b5f3(0x1ea),a2_0x51b5f3(0x172))['action'](workBoardAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x223))['description'](a2_0x51b5f3(0x36a))[a2_0x51b5f3(0x198)](workShowAction),workCmd[a2_0x51b5f3(0x361)]('links\x20<name>')[a2_0x51b5f3(0x334)](a2_0x51b5f3(0x30d))[a2_0x51b5f3(0x198)](workLinksAction),workCmd[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x2ad))['description'](a2_0x51b5f3(0x3cb))[a2_0x51b5f3(0x198)](workOpenAction),program[a2_0x51b5f3(0x361)](a2_0x51b5f3(0x141),{'hidden':!![]})[a2_0x51b5f3(0x198)](()=>{const _0x2c64f6=a2_0x51b5f3;function _0x3a659e(_0x4e5502,_0x4a06f6){const _0xff419=a2_0x48b5,_0x314e05=[];for(const _0x3621ad of _0x4e5502[_0xff419(0x369)]){if(_0x3621ad[_0xff419(0x3c2)])continue;const _0x13ec14=_0x4a06f6?_0x4a06f6+'\x20'+_0x3621ad['name']():_0x3621ad[_0xff419(0x219)](),_0x4036f6=_0x13ec14[_0xff419(0x15e)]('\x20')[0x0],_0xa76ec4=COMMAND_CATEGORIES['find'](_0x2c560c=>_0x2c560c[_0xff419(0x369)][_0xff419(0x22a)](_0x4036f6)),_0x1c440f=_0xa76ec4?.[_0xff419(0x219)]??'';if(_0x3621ad['commands'][_0xff419(0x29b)]>0x0)_0x314e05[_0xff419(0x1a6)](..._0x3a659e(_0x3621ad,_0x13ec14));else{const _0x5d5238=(_0x3621ad[_0xff419(0x27f)]||[])[_0xff419(0x337)](_0x192e03=>{const _0x16dd1c=_0xff419,_0x57038e=_0x192e03[_0x16dd1c(0x225)]?_0x192e03['name']()+_0x16dd1c(0x1c4):_0x192e03[_0x16dd1c(0x219)]();return _0x192e03[_0x16dd1c(0x2ae)]?'<'+_0x57038e+'>':'['+_0x57038e+']';})[_0xff419(0x27c)]('\x20'),_0x24d100=_0x3621ad[_0xff419(0x15b)][_0xff419(0x3a3)](_0x9bfd16=>!_0x9bfd16['hidden']&&_0x9bfd16['long']!=='--help')[_0xff419(0x337)](_0x3e18cb=>({'flags':_0x3e18cb[_0xff419(0x265)],'description':_0x3e18cb['description']}));_0x314e05[_0xff419(0x1a6)]({'name':_0x13ec14,'description':_0x3621ad['description'](),'group':_0x1c440f,'usage':_0x5d5238,'options':_0x24d100});}}return _0x314e05;}console[_0x2c64f6(0x340)](JSON['stringify'](_0x3a659e(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x7f18bc=a2_0x51b5f3,_0x131b78=!process['argv'][_0x7f18bc(0x376)](0x2)[_0x7f18bc(0x29b)];showBriefHelp=_0x131b78,program['parse'](process[_0x7f18bc(0x37b)]);_0x131b78&&program[_0x7f18bc(0x80)]();const _0x2f9a92=process[_0x7f18bc(0x37b)][0x2]===_0x7f18bc(0x1bd);if(process[_0x7f18bc(0x3b1)][_0x7f18bc(0xfb)]&&process[_0x7f18bc(0x37b)]['length']>0x2&&!isDevVersion()&&!_0x2f9a92){const _0x2e2b18=loadReleaseChannel();checkForUpdate(currentVersion,_0x2e2b18)['then'](_0x4d7738=>{_0x4d7738&&displayUpdateNotification(_0x4d7738);})[_0x7f18bc(0x232)](()=>{});}}
|