@treasuredata/tdx 0.16.1 → 0.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/llm-proxy.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/anthropic-adapter.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/context-signature.js +1 -1
- package/dist/proxy/conversation-utils.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/server.js +1 -1
- package/dist/proxy/session-cache.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/claude-agent/claude-agent-client.d.ts +19 -1
- package/dist/sdk/claude-agent/claude-agent-client.d.ts.map +1 -1
- package/dist/sdk/claude-agent/claude-agent-client.js +1 -1
- package/dist/sdk/claude-agent/claude-agent-client.js.map +1 -1
- package/dist/sdk/claude-agent/environment.d.ts +9 -0
- package/dist/sdk/claude-agent/environment.d.ts.map +1 -1
- package/dist/sdk/claude-agent/environment.js +1 -1
- package/dist/sdk/claude-agent/environment.js.map +1 -1
- package/dist/sdk/claude-agent/index.js +1 -1
- package/dist/sdk/claude-agent/system-prompts.js +1 -1
- package/dist/sdk/claude-agent/types.d.ts +26 -0
- package/dist/sdk/claude-agent/types.d.ts.map +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-aliases.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/port.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x3ba930=a2_0x3b10;(function(_0x3c36a4,_0x28fc04){const _0x1c95b0=a2_0x3b10,_0xda365a=_0x3c36a4();while(!![]){try{const _0x496969=-parseInt(_0x1c95b0(0x32a))/0x1*(-parseInt(_0x1c95b0(0x28d))/0x2)+parseInt(_0x1c95b0(0xed))/0x3*(parseInt(_0x1c95b0(0x175))/0x4)+-parseInt(_0x1c95b0(0x2a4))/0x5*(-parseInt(_0x1c95b0(0x24f))/0x6)+-parseInt(_0x1c95b0(0x19f))/0x7+-parseInt(_0x1c95b0(0x1e2))/0x8*(-parseInt(_0x1c95b0(0x31d))/0x9)+-parseInt(_0x1c95b0(0x26c))/0xa+-parseInt(_0x1c95b0(0x283))/0xb;if(_0x496969===_0x28fc04)break;else _0xda365a['push'](_0xda365a['shift']());}catch(_0x6d9fa6){_0xda365a['push'](_0xda365a['shift']());}}}(a2_0x1658,0x7e8a6));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/tdx-logger.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand}from'./commands/chat-command.js';function a2_0x3b10(_0x1bfa2f,_0x4d8853){_0x1bfa2f=_0x1bfa2f-0xde;const _0x165868=a2_0x1658();let _0x3b10bd=_0x165868[_0x1bfa2f];return _0x3b10bd;}import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{LLMProxyCommand}from'./commands/llm-proxy.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process['argv'][a2_0x3ba930(0x16a)]('--version')){let versionOutput=a2_0x3ba930(0x2a5)+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x3ba930(0x16a)](buildInfo[a2_0x3ba930(0x163)])&&(versionOutput+='\x20('+buildInfo[a2_0x3ba930(0x163)]+')'),buildInfo[a2_0x3ba930(0x129)]&&(versionOutput+=a2_0x3ba930(0x338)+buildInfo[a2_0x3ba930(0x129)]),console[a2_0x3ba930(0x1fa)](versionOutput),process[a2_0x3ba930(0x1cc)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x3ba930(0x11d);buildInfo[a2_0x3ba930(0x163)]&&!currentVersion[a2_0x3ba930(0x16a)](buildInfo[a2_0x3ba930(0x163)])?description+=a2_0x3ba930(0x109)+currentVersion+'\x20('+buildInfo[a2_0x3ba930(0x163)]+')':description+=a2_0x3ba930(0x109)+currentVersion;program['name'](a2_0x3ba930(0x2cc))['description'](description),program[a2_0x3ba930(0x194)]('-C,\x20--directory\x20<path>',a2_0x3ba930(0x221))['option']('-p,\x20--profile\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1ef),a2_0x3ba930(0x212),a2_0x3ba930(0x248))[a2_0x3ba930(0x194)](a2_0x3ba930(0x131),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x3ba930(0x194)]('--table','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d6),'Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)')['option'](a2_0x3ba930(0xf7),a2_0x3ba930(0x307))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1a7),a2_0x3ba930(0x1e5))[a2_0x3ba930(0x194)](a2_0x3ba930(0x337),a2_0x3ba930(0x2b7))['option'](a2_0x3ba930(0x101),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x3ba930(0x194)]('--color',a2_0x3ba930(0x2fa),![])[a2_0x3ba930(0x194)](a2_0x3ba930(0x12c),a2_0x3ba930(0x30a),![])[a2_0x3ba930(0x194)](a2_0x3ba930(0x257),a2_0x3ba930(0x10c),![])[a2_0x3ba930(0x194)](a2_0x3ba930(0x16b),a2_0x3ba930(0x206))[a2_0x3ba930(0x194)](a2_0x3ba930(0x100),a2_0x3ba930(0x132))['option'](a2_0x3ba930(0x2f5),a2_0x3ba930(0xde),'30')[a2_0x3ba930(0x194)](a2_0x3ba930(0x236),'Preview\x20operation\x20without\x20executing',![])[a2_0x3ba930(0x194)](a2_0x3ba930(0x12b),a2_0x3ba930(0xe5),![])[a2_0x3ba930(0x194)](a2_0x3ba930(0x1dd),a2_0x3ba930(0x2bd))['option'](a2_0x3ba930(0x1c9),'Database\x20to\x20use\x20(overrides\x20context)')[a2_0x3ba930(0x194)]('--in\x20<name>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option'](a2_0x3ba930(0x2ea),a2_0x3ba930(0xe4))[a2_0x3ba930(0x194)](a2_0x3ba930(0x183),a2_0x3ba930(0x141)),program['configureHelp']({'formatHelp':(_0x28b67a,_0x4af2d1)=>{const _0x379688=a2_0x3ba930,_0x49a2c6=_0x4af2d1[_0x379688(0x1b1)](_0x28b67a,_0x4af2d1),_0x23cca6=0x2,_0x4b0fbc=0x2;function _0x41eeec(_0xc3d33f){const _0x4a86f5=_0x379688,_0x38547d=_0xc3d33f;return!!(_0x38547d[_0x4a86f5(0x103)]||_0x38547d[_0x4a86f5(0x20c)]);}function _0x472c55(_0x3eb2e1,_0x4c2292){if(_0x4c2292){const _0x354ab8=''+_0x3eb2e1['padEnd'](_0x49a2c6+_0x4b0fbc)+_0x4c2292;return _0x354ab8;}return _0x3eb2e1;}function _0x5ae99b(_0x1932c7){const _0x4ad71e=_0x379688;return _0x1932c7['join']('\x0a')[_0x4ad71e(0x145)](/^/gm,'\x20'[_0x4ad71e(0x16d)](_0x23cca6));}const _0x40ca89=[];_0x40ca89[_0x379688(0x1d8)](_0x379688(0x2dc)+_0x4af2d1[_0x379688(0x218)](_0x28b67a));const _0x16edfa=_0x4af2d1['commandDescription'](_0x28b67a);_0x16edfa&&(_0x40ca89[_0x379688(0x1d8)](''),_0x40ca89[_0x379688(0x1d8)](_0x16edfa));const _0x755d83=_0x28b67a[_0x379688(0x1ce)][_0x379688(0x25b)](_0x4ba9ee=>!_0x41eeec(_0x4ba9ee));if(_0x755d83[_0x379688(0xf8)]>0x0){if(_0x28b67a[_0x379688(0x15f)]()===_0x379688(0x2cc)){const _0x2b0e7a=_0x28b67a[_0x379688(0x2bf)](),_0x55f4c7=!_0x2b0e7a['noColor']&&process[_0x379688(0x2ce)][_0x379688(0x1b7)],_0x3bdb8a=COMMAND_CATEGORIES,_0x170be7=(_0x19fe4c,_0x5dc897)=>_0x55f4c7?_0x5dc897(_0x19fe4c):_0x19fe4c,_0x499c67=new Map();_0x755d83['forEach'](_0x26b89d=>{const _0x413cdc=_0x379688;_0x499c67['set'](_0x26b89d[_0x413cdc(0x15f)](),_0x26b89d);}),_0x3bdb8a[_0x379688(0x1a3)](_0x4d29ec=>{const _0x408280=_0x379688,_0x298901=_0x4d29ec[_0x408280(0x1ce)][_0x408280(0x238)](_0x56a1c5=>_0x499c67['get'](_0x56a1c5)??[]);if(_0x298901[_0x408280(0xf8)]>0x0){_0x40ca89[_0x408280(0x1d8)](''),_0x40ca89[_0x408280(0x1d8)](_0x170be7(_0x4d29ec[_0x408280(0x15f)]+':',_0x4d29ec[_0x408280(0x2cb)]));const _0xa311fb=_0x298901['map'](_0x506b0c=>{const _0x31c4c2=_0x408280,_0x5207e6=_0x4af2d1[_0x31c4c2(0x1f2)](_0x506b0c),_0x3515f1=_0x4af2d1[_0x31c4c2(0x2f1)](_0x506b0c);return _0x472c55(_0x5207e6,_0x3515f1);});_0x40ca89[_0x408280(0x1d8)](_0x5ae99b(_0xa311fb));}}),_0x40ca89['push'](''),_0x40ca89['push']('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x28d5d8=_0x755d83[_0x379688(0x33d)](_0x24511d=>{const _0x39680b=_0x379688,_0x14f3c4=_0x4af2d1[_0x39680b(0x1f2)](_0x24511d),_0x17aa1e=_0x4af2d1[_0x39680b(0x2f1)](_0x24511d);return _0x472c55(_0x14f3c4,_0x17aa1e);});_0x40ca89[_0x379688(0x1d8)](''),_0x40ca89[_0x379688(0x1d8)](_0x379688(0x339)),_0x40ca89[_0x379688(0x1d8)](_0x5ae99b(_0x28d5d8));}}if(showBriefHelp&&_0x28b67a[_0x379688(0x15f)]()===_0x379688(0x2cc))_0x40ca89[_0x379688(0x1d8)](''),_0x40ca89['push'](_0x379688(0x330));else{const _0x4099d4=_0x28b67a[_0x379688(0x321)][_0x379688(0x25b)](_0x3d7371=>!_0x41eeec(_0x3d7371));if(_0x4099d4[_0x379688(0xf8)]>0x0){const _0x3e498d=_0x4099d4[_0x379688(0x33d)](_0x2dabab=>{const _0x43ddc3=_0x379688,_0x47db4e=_0x4af2d1[_0x43ddc3(0x2d1)](_0x2dabab),_0x5218f9=_0x4af2d1[_0x43ddc3(0x173)](_0x2dabab);return _0x472c55(_0x47db4e,_0x5218f9);});_0x40ca89[_0x379688(0x1d8)](''),_0x40ca89[_0x379688(0x1d8)]('Options:'),_0x40ca89[_0x379688(0x1d8)](_0x5ae99b(_0x3e498d));}}const _0x25c739=(_0x28b67a[_0x379688(0x24c)]||[])[_0x379688(0x25b)](_0x55a4ca=>!_0x41eeec(_0x55a4ca));if(_0x25c739[_0x379688(0xf8)]>0x0){const _0x20086c=_0x25c739[_0x379688(0x33d)](_0x4b3bea=>{const _0xcf8366=_0x379688,_0x70faf2=_0x4af2d1[_0xcf8366(0x30e)](_0x4b3bea),_0x214386=_0x4af2d1[_0xcf8366(0x1ad)](_0x4b3bea);return _0x472c55(_0x70faf2,_0x214386);});_0x40ca89[_0x379688(0x1d8)](''),_0x40ca89[_0x379688(0x1d8)](_0x379688(0x201)),_0x40ca89[_0x379688(0x1d8)](_0x5ae99b(_0x20086c));}return _0x40ca89['join']('\x0a')+'\x0a';},'subcommandTerm':_0x16de30=>{const _0x57b378=a2_0x3ba930,_0x59d71a=(_0x16de30['registeredArguments']||[])[_0x57b378(0x33d)](_0x2c8866=>_0x2c8866[_0x57b378(0x274)]?'<'+_0x2c8866['name']()+'>':'['+_0x2c8866[_0x57b378(0x15f)]()+']')[_0x57b378(0x1aa)]('\x20'),_0xf8f7e4=_0x16de30[_0x57b378(0x2ab)](),_0x3b1133=_0xf8f7e4['length']>0x0?_0x16de30[_0x57b378(0x15f)]()+',\x20'+_0xf8f7e4[_0x57b378(0x1aa)](',\x20'):_0x16de30['name']();return _0x59d71a?_0x3b1133+'\x20'+_0x59d71a:_0x3b1133;}}),program[a2_0x3ba930(0x297)](a2_0x3ba930(0x184),_0x1aebc8=>{const _0xb7ed30=a2_0x3ba930,_0x150347=_0x1aebc8['opts']();if(_0x150347[_0xb7ed30(0x31b)]){const _0xfea624=resolve(_0x150347['directory']),_0x5bdb2d=_0xfea624!==_0x150347['directory']?'\x20(resolved\x20to\x20'+_0xfea624+')':'';if(!existsSync(_0xfea624))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Directory\x20does\x20not\x20exist:\x20'+_0x150347[_0xb7ed30(0x31b)]+_0x5bdb2d,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x15a165=statSync(_0xfea624);if(!_0x15a165[_0xb7ed30(0x179)]())throw new SDKError(ErrorCode[_0xb7ed30(0x2f4)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x150347[_0xb7ed30(0x31b)]+_0x5bdb2d,undefined,{'helpText':_0xb7ed30(0x2a3)});process[_0xb7ed30(0x273)](_0xfea624);}if(!_0x150347[_0xb7ed30(0x2e8)]){if(_0x150347[_0xb7ed30(0x1f3)])_0x150347[_0xb7ed30(0x2e8)]=_0xb7ed30(0x1f3);else{if(_0x150347['json'])_0x150347[_0xb7ed30(0x2e8)]=_0xb7ed30(0x261);else{if(_0x150347[_0xb7ed30(0xe1)])_0x150347['format']='jsonl';else _0x150347[_0xb7ed30(0x144)]&&(_0x150347[_0xb7ed30(0x2e8)]=_0xb7ed30(0x144));}}}_0x150347['in']&&!_0x150347[_0xb7ed30(0x202)]&&(_0x150347[_0xb7ed30(0x202)]=_0x150347['in']);if(_0x150347[_0xb7ed30(0x301)])_0x150347[_0xb7ed30(0x226)]=LogLevel[_0xb7ed30(0x31c)];else{if(_0x150347[_0xb7ed30(0xe6)])_0x150347[_0xb7ed30(0x226)]=LogLevel[_0xb7ed30(0x185)];else _0x150347[_0xb7ed30(0x226)]===undefined&&(_0x150347[_0xb7ed30(0x226)]=LogLevel['INFO']);}});async function createTDXInstance(_0xd6e517){const _0x1d4a68=a2_0x3ba930,_0x46892e=await GlobalContext[_0x1d4a68(0x309)](_0xd6e517);return _0x46892e[_0x1d4a68(0x2b0)](_0xd6e517),TDX[_0x1d4a68(0x1e6)]({'site':_0x46892e[_0x1d4a68(0x200)],'apiKey':_0x46892e[_0x1d4a68(0x104)],'logLevel':_0x46892e[_0x1d4a68(0x226)],'profile':_0x46892e[_0x1d4a68(0x16f)]});}const databaseCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x202))['alias']('db')[a2_0x3ba930(0x1d3)]('Database\x20management\x20commands'),databaseListAction=async(_0x4f54cf,_0x1fd26b)=>{const _0xde950e=a2_0x3ba930,_0x5c6e9e=new DatabasesCommand(),_0x3307b7=program[_0xde950e(0x2bf)](),_0x340b29=await createTDXInstance(_0x3307b7),_0x484241=await _0x5c6e9e[_0xde950e(0x26e)]({'options':{..._0x3307b7,..._0x1fd26b},'args':_0x4f54cf?[_0x4f54cf]:[],'tdx':_0x340b29});process['exit'](_0x484241);};databaseCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2cd))[a2_0x3ba930(0x1d3)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2e5),{'hidden':!![]})['description'](a2_0x3ba930(0x121))[a2_0x3ba930(0x279)](databaseListAction),program['command']('chat\x20[message...]')[a2_0x3ba930(0x1d3)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x304),a2_0x3ba930(0xf4))[a2_0x3ba930(0x194)](a2_0x3ba930(0x264),a2_0x3ba930(0x26d))[a2_0x3ba930(0x279)](async(_0x552649,_0x1c1e03)=>{const _0x177a00=a2_0x3ba930,_0x3c0d24=new ChatCommand(),_0x528050=program[_0x177a00(0x2bf)](),_0x56a535=await createTDXInstance(_0x528050),_0x1076dc=await _0x3c0d24[_0x177a00(0x26e)]({'options':{..._0x528050,..._0x1c1e03},'args':_0x552649,'tdx':_0x56a535});process['exit'](_0x1076dc);});const apiCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x142))[a2_0x3ba930(0x2d5)](a2_0x3ba930(0x1d0))[a2_0x3ba930(0x2db)](a2_0x3ba930(0x108),a2_0x3ba930(0x137))['option'](a2_0x3ba930(0x26b),a2_0x3ba930(0x138),a2_0x3ba930(0x24a))['option'](a2_0x3ba930(0x1c7),a2_0x3ba930(0x24e))[a2_0x3ba930(0x194)](a2_0x3ba930(0x29b),'Read\x20request\x20body\x20from\x20file')[a2_0x3ba930(0x194)]('-H,\x20--header\x20<header>',a2_0x3ba930(0x2f8),(_0x40a829,_0x111436)=>{return _0x111436?[..._0x111436,_0x40a829]:[_0x40a829];})['option'](a2_0x3ba930(0x33a),a2_0x3ba930(0x1a2),'td')['action'](async(_0x4ff9bb,_0x255a70)=>{const _0x954150=a2_0x3ba930;if(!_0x4ff9bb){apiCmd['help']();return;}const _0x45d96e=new ApiCommand(),_0x1705fd=program['opts'](),_0x1958e6=await createTDXInstance(_0x1705fd),_0x5cc092=await _0x45d96e[_0x954150(0x26e)]({'options':{..._0x1705fd,..._0x255a70},'args':[_0x4ff9bb],'tdx':_0x1958e6});process[_0x954150(0x1cc)](_0x5cc092);});program[a2_0x3ba930(0x19b)]('mcp')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2b4))[a2_0x3ba930(0x2db)]('after',a2_0x3ba930(0x328))['action'](async _0x2bfd4d=>{const _0x511717=a2_0x3ba930,_0x1bd56a=new MCPCommand(),_0x23c1da=program['opts'](),_0x58d5ca=await createTDXInstance(_0x23c1da),_0x3c8493=await _0x1bd56a[_0x511717(0x26e)]({'options':{..._0x23c1da,..._0x2bfd4d},'args':[],'tdx':_0x58d5ca});process[_0x511717(0x1cc)](_0x3c8493);});const tableCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1f3))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2c5)),tableListAction=async(_0x522f03,_0x51b230)=>{const _0x178fe4=a2_0x3ba930,_0x55997b=new TablesCommand(),_0x44cf24=program[_0x178fe4(0x2bf)](),_0x171470=await createTDXInstance(_0x44cf24);_0x51b230['in']&&(_0x51b230[_0x178fe4(0x202)]=_0x51b230['in']);const _0x34812b=await _0x55997b[_0x178fe4(0x26e)]({'options':{..._0x44cf24,..._0x51b230},'args':_0x522f03?[_0x522f03]:[],'tdx':_0x171470});process['exit'](_0x34812b);};tableCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2cd))[a2_0x3ba930(0x1d3)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x281),a2_0x3ba930(0x13a))[a2_0x3ba930(0x194)](a2_0x3ba930(0x10d),a2_0x3ba930(0x253))[a2_0x3ba930(0x279)](tableListAction),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x215),{'hidden':!![]})['description']('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x281),a2_0x3ba930(0x13a))['option'](a2_0x3ba930(0x10d),a2_0x3ba930(0x253))[a2_0x3ba930(0x279)](tableListAction),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x171))['description'](a2_0x3ba930(0x161))[a2_0x3ba930(0x194)](a2_0x3ba930(0x281),a2_0x3ba930(0x180))['option'](a2_0x3ba930(0x10d),a2_0x3ba930(0x253))['action'](async(_0x379b59,_0x4cc001)=>{const _0x57fabd=a2_0x3ba930,_0x361a4c=new ShowCommand(),_0x5d0370=program['opts'](),_0x5ce78c=await createTDXInstance(_0x5d0370);_0x4cc001['in']&&(_0x4cc001[_0x57fabd(0x202)]=_0x4cc001['in']);const _0x47c814=await _0x361a4c['run']({'options':{..._0x5d0370,..._0x4cc001},'args':_0x379b59?[_0x379b59]:[],'tdx':_0x5ce78c});process[_0x57fabd(0x1cc)](_0x47c814);}),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x191))['alias'](a2_0x3ba930(0x25a))['description'](a2_0x3ba930(0x305))[a2_0x3ba930(0x194)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x10d),a2_0x3ba930(0x253))[a2_0x3ba930(0x279)](async(_0x229015,_0x29c2dd)=>{const _0x1bbac9=a2_0x3ba930,_0x199e79=new DescribeCommand(),_0x44fef2=program[_0x1bbac9(0x2bf)](),_0x54dbda=await createTDXInstance(_0x44fef2);_0x29c2dd['in']&&(_0x29c2dd[_0x1bbac9(0x202)]=_0x29c2dd['in']);const _0x1788c4=await _0x199e79[_0x1bbac9(0x26e)]({'options':{..._0x44fef2,..._0x29c2dd},'args':_0x229015?[_0x229015]:[],'tdx':_0x54dbda});process[_0x1bbac9(0x1cc)](_0x1788c4);}),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2cf))['description'](a2_0x3ba930(0xf6))['option'](a2_0x3ba930(0x281),a2_0x3ba930(0x1c0))[a2_0x3ba930(0x194)]('--in\x20<database>',a2_0x3ba930(0x253))['option'](a2_0x3ba930(0x1f5),a2_0x3ba930(0x33e))[a2_0x3ba930(0x194)](a2_0x3ba930(0x29b),'Read\x20SQL\x20query\x20from\x20file')['option'](a2_0x3ba930(0x316),a2_0x3ba930(0x33c),'40')[a2_0x3ba930(0x279)](async(_0x4f42e7,_0x5982dc)=>{const _0x159aa4=a2_0x3ba930,_0x999396=new QueryCommand(),_0x54cfa6=program[_0x159aa4(0x2bf)](),_0x17a4c6=await createTDXInstance(_0x54cfa6);_0x5982dc['in']&&(_0x5982dc[_0x159aa4(0x202)]=_0x5982dc['in']);const _0x5ab6e3=await _0x999396[_0x159aa4(0x26e)]({'options':{..._0x54cfa6,..._0x5982dc},'args':_0x4f42e7?[_0x4f42e7]:[],'tdx':_0x17a4c6});process[_0x159aa4(0x1cc)](_0x5ab6e3);});const segmentCmd=program[a2_0x3ba930(0x19b)]('segment')[a2_0x3ba930(0x2e0)]('sg')['description'](a2_0x3ba930(0x224)),segmentListAction=async(_0x58e158,_0xa47a52)=>{const _0x1d6f10=a2_0x3ba930,_0x237404=new SegmentsCommand(),_0x1512c7=program[_0x1d6f10(0x2bf)](),_0x3ce275=await createTDXInstance(_0x1512c7),_0x49241d=await _0x237404[_0x1d6f10(0x26e)]({'options':{..._0x1512c7,..._0xa47a52},'args':_0x58e158?[_0x58e158]:[],'tdx':_0x3ce275});process[_0x1d6f10(0x1cc)](_0x49241d);};segmentCmd[a2_0x3ba930(0x19b)]('list\x20[path]')['description'](a2_0x3ba930(0x174))[a2_0x3ba930(0x194)]('-r,\x20--recursive','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1b3),a2_0x3ba930(0x1a5),'10')['action'](segmentListAction),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x21b),{'hidden':!![]})[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x19a))['option'](a2_0x3ba930(0x147),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1b3),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x3ba930(0x279)](segmentListAction),segmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2ad),{'hidden':!![]})[a2_0x3ba930(0x1d3)]('[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)')[a2_0x3ba930(0x279)](async(_0xd67b7,_0x14df4b)=>{const _0x58539a=a2_0x3ba930,_0x1f0351=new SegmentUseCommand(),_0x5d5b07=program[_0x58539a(0x2bf)](),_0x4ccb21=await createTDXInstance(_0x5d5b07),_0x45fc23=await _0x1f0351[_0x58539a(0x26e)]({'options':{..._0x5d5b07,..._0x14df4b},'args':[_0xd67b7],'tdx':_0x4ccb21});process[_0x58539a(0x1cc)](_0x45fc23);});const segmentViewAction=async(_0x53368f,_0x3eeb5c)=>{const _0x9c166d=a2_0x3ba930,_0x1e5d59=new SegmentViewCommand(),_0x1e6ba4=program['opts'](),_0x3030f9=await createTDXInstance(_0x1e6ba4),_0xf648ae=await _0x1e5d59[_0x9c166d(0x26e)]({'options':{..._0x1e6ba4,..._0x3eeb5c},'args':_0x53368f?[_0x53368f]:[],'tdx':_0x3030f9});process[_0x9c166d(0x1cc)](_0xf648ae);};segmentCmd['command']('view\x20[segment_name]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2d6))[a2_0x3ba930(0x194)](a2_0x3ba930(0x15a),a2_0x3ba930(0x1ea))['action'](segmentViewAction),segmentCmd['command'](a2_0x3ba930(0x31a),{'hidden':!![]})[a2_0x3ba930(0x2e0)]('describe')[a2_0x3ba930(0x194)](a2_0x3ba930(0x15a),'Open\x20segment\x20in\x20web\x20browser')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x282))[a2_0x3ba930(0x279)](segmentViewAction),segmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x14d))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x334))[a2_0x3ba930(0x279)](async(_0x59d85e,_0x16ccac)=>{const _0x302651=a2_0x3ba930,_0x1a94b4=new SegmentDescCommand(),_0x3c3f78=program['opts'](),_0x5cf022=await createTDXInstance(_0x3c3f78),_0x5aba0b=await _0x1a94b4[_0x302651(0x26e)]({'options':{..._0x3c3f78,..._0x16ccac},'args':_0x59d85e?[_0x59d85e]:[],'tdx':_0x5cf022});process['exit'](_0x5aba0b);}),segmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2a6))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x177))[a2_0x3ba930(0x279)](async(_0x31966d,_0x31b945)=>{const _0x48f146=a2_0x3ba930,_0x335fcd=new SegmentShowCommand(),_0x279b3c=program[_0x48f146(0x2bf)](),_0x3b0919=await createTDXInstance(_0x279b3c),_0x2dba8c=await _0x335fcd[_0x48f146(0x26e)]({'options':{..._0x279b3c,..._0x31b945},'args':_0x31966d?[_0x31966d]:[],'tdx':_0x3b0919});process[_0x48f146(0x1cc)](_0x2dba8c);}),segmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x158),{'hidden':!![]})[a2_0x3ba930(0x1d3)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x3ba930(0x279)](async(_0x378927,_0x562fbd)=>{const _0x4c3afd=a2_0x3ba930,_0x305e01=new SegmentFolderListCommand(),_0x59fac1=program[_0x4c3afd(0x2bf)](),_0x5270ee=await createTDXInstance(_0x59fac1),_0x22ec73=await _0x305e01['run']({'options':{..._0x59fac1,..._0x562fbd},'args':[_0x378927],'tdx':_0x5270ee});process[_0x4c3afd(0x1cc)](_0x22ec73);});const folderCmd=segmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2f9),{'hidden':!![]})[a2_0x3ba930(0x1d3)]('[DEPRECATED]\x20Segment\x20folder\x20management');folderCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x192))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x266))[a2_0x3ba930(0x279)](async(_0xce5d76,_0x434a83)=>{const _0x495195=a2_0x3ba930,_0x6393fc=new SegmentFolderShowCommand(),_0x41507c=program[_0x495195(0x2bf)](),_0x1beb93=await createTDXInstance(_0x41507c),_0x45b7c0=await _0x6393fc['run']({'options':{..._0x41507c,..._0x434a83},'args':[_0xce5d76],'tdx':_0x1beb93});process[_0x495195(0x1cc)](_0x45b7c0);}),segmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2be))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1ae))[a2_0x3ba930(0x279)](async(_0x3a0893,_0x1f061d)=>{const _0x3814a0=a2_0x3ba930,_0xd733d4=new SegmentSQLCommand(),_0x3053ce=program[_0x3814a0(0x2bf)](),_0xf4fbbe=await createTDXInstance(_0x3053ce),_0x284bd6=await _0xd733d4['run']({'options':{..._0x3053ce,..._0x1f061d},'args':_0x3a0893?[_0x3a0893]:[],'tdx':_0xf4fbbe});process['exit'](_0x284bd6);}),segmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x12a))['description'](a2_0x3ba930(0xe2))['action'](async(_0x3fd4df,_0x24d9cf)=>{const _0x307806=a2_0x3ba930,_0x19b449=new SegmentFieldsCommand(),_0x40edbf=program[_0x307806(0x2bf)](),_0x456976=await createTDXInstance(_0x40edbf),_0x8f66ae=await _0x19b449[_0x307806(0x26e)]({'options':{..._0x40edbf,..._0x24d9cf},'args':_0x3fd4df?[_0x3fd4df]:[],'tdx':_0x456976});process[_0x307806(0x1cc)](_0x8f66ae);}),segmentCmd[a2_0x3ba930(0x19b)]('pull\x20[parent_or_file]')[a2_0x3ba930(0x1d3)]('Pull\x20child\x20segments\x20to\x20YAML\x20files')['option'](a2_0x3ba930(0x12b),'Skip\x20confirmation\x20prompts')[a2_0x3ba930(0x194)](a2_0x3ba930(0x236),a2_0x3ba930(0x19e))[a2_0x3ba930(0x279)](async(_0x50cba7,_0x9e5c22)=>{const _0xd54d62=a2_0x3ba930,_0x11419f=new SegmentPullCommand(),_0x5a83b1=program[_0xd54d62(0x2bf)](),_0x210244=await createTDXInstance(_0x5a83b1),_0x31f3f4=await _0x11419f[_0xd54d62(0x26e)]({'options':{..._0x5a83b1,..._0x9e5c22},'args':_0x50cba7?[_0x50cba7]:[],'tdx':_0x210244});process[_0xd54d62(0x1cc)](_0x31f3f4);}),segmentCmd['command'](a2_0x3ba930(0xfa))['description'](a2_0x3ba930(0x286))['option'](a2_0x3ba930(0x12b),a2_0x3ba930(0xe5))['option'](a2_0x3ba930(0x236),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1c3),a2_0x3ba930(0x203))[a2_0x3ba930(0x279)](async(_0x10293c,_0x317937)=>{const _0x58f907=a2_0x3ba930,_0x223cd5=new SegmentPushCommand(),_0x1e5faf=program[_0x58f907(0x2bf)](),_0x4efae7=await createTDXInstance(_0x1e5faf),_0x23734e=await _0x223cd5[_0x58f907(0x26e)]({'options':{..._0x1e5faf,..._0x317937},'args':_0x10293c?[_0x10293c]:[],'tdx':_0x4efae7});process[_0x58f907(0x1cc)](_0x23734e);}),segmentCmd['command']('validate\x20[target]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x308))[a2_0x3ba930(0x279)](async(_0x7437ab,_0x3c3c32)=>{const _0xb2405a=a2_0x3ba930,_0x11b53c=new SegmentValidateCommand(),_0x3eac2b=program['opts'](),_0x152e93=await createTDXInstance(_0x3eac2b),_0x30efa4=await _0x11b53c[_0xb2405a(0x26e)]({'options':{..._0x3eac2b,..._0x3c3c32},'args':_0x7437ab?[_0x7437ab]:[],'tdx':_0x152e93});process['exit'](_0x30efa4);}),segmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x21c),{'hidden':!![]})[a2_0x3ba930(0x1d3)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option'](a2_0x3ba930(0x252),'Segment\x20description')[a2_0x3ba930(0x194)]('--rule\x20<json>',a2_0x3ba930(0x2b5))[a2_0x3ba930(0x194)]('--rule-file\x20<file>',a2_0x3ba930(0x1a1))[a2_0x3ba930(0x194)](a2_0x3ba930(0x26f),'Folder\x20name\x20for\x20organization')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1e4),a2_0x3ba930(0x111))['option'](a2_0x3ba930(0x32e),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x165),a2_0x3ba930(0xf5))[a2_0x3ba930(0x279)](async(_0x41e3eb,_0x4d4fc0)=>{const _0x290270=a2_0x3ba930,_0x3c03a3=new SegmentCreateCommand(),_0x5ed185=program[_0x290270(0x2bf)](),_0x1e2d4c=await createTDXInstance(_0x5ed185),_0x552036=await _0x3c03a3[_0x290270(0x26e)]({'options':{..._0x5ed185,..._0x4d4fc0},'args':[_0x41e3eb],'tdx':_0x1e2d4c});process['exit'](_0x552036);}),segmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x296),{'hidden':!![]})[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x291))[a2_0x3ba930(0x194)]('--name\x20<new_name>',a2_0x3ba930(0x275))[a2_0x3ba930(0x194)](a2_0x3ba930(0x252),'Updated\x20description')[a2_0x3ba930(0x194)]('--rule\x20<json>',a2_0x3ba930(0x289))[a2_0x3ba930(0x194)](a2_0x3ba930(0xf3),a2_0x3ba930(0x306))['option']('--folder\x20<name>',a2_0x3ba930(0x150))['option'](a2_0x3ba930(0x1e4),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x3ba930(0x279)](async(_0x421c0c,_0x4407c4)=>{const _0x66de69=a2_0x3ba930,_0x719098=new SegmentUpdateCommand(),_0x44413f=program[_0x66de69(0x2bf)](),_0x4cec8d=await createTDXInstance(_0x44413f),_0x41e63f=await _0x719098[_0x66de69(0x26e)]({'options':{..._0x44413f,..._0x4407c4},'args':[_0x421c0c],'tdx':_0x4cec8d});process[_0x66de69(0x1cc)](_0x41e63f);});const parentCmd=segmentCmd[a2_0x3ba930(0x19b)]('parent',{'hidden':!![]})[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x239)),parentListAction=async(_0x9ba940,_0x1fddca)=>{const _0x1966be=a2_0x3ba930,_0x3ab8bf=new ParentSegmentListCommand(),_0x59d12a=program[_0x1966be(0x2bf)](),_0x48181d=await createTDXInstance(_0x59d12a),_0x44403c=await _0x3ab8bf[_0x1966be(0x26e)]({'options':{..._0x59d12a,..._0x1fddca},'args':_0x9ba940?[_0x9ba940]:[],'tdx':_0x48181d});process['exit'](_0x44403c);};parentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2cd))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x117))[a2_0x3ba930(0x279)](parentListAction),segmentCmd['command'](a2_0x3ba930(0x1de),{'hidden':!![]})['description'](a2_0x3ba930(0x2ca))[a2_0x3ba930(0x279)](parentListAction),parentCmd[a2_0x3ba930(0x19b)]('pull\x20[name]')['description'](a2_0x3ba930(0x1d7))[a2_0x3ba930(0x194)](a2_0x3ba930(0x170),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x12b),'Skip\x20confirmation\x20prompt')[a2_0x3ba930(0x279)](async(_0xc51151,_0x31c30f)=>{const _0x93c2a3=a2_0x3ba930,_0x36cbf8=new ParentSegmentPullCommand(),_0x1470e1=program[_0x93c2a3(0x2bf)](),_0x28e88f=await createTDXInstance(_0x1470e1),_0x1bd373=await _0x36cbf8[_0x93c2a3(0x26e)]({'options':{..._0x1470e1,..._0x31c30f},'args':_0xc51151?[_0xc51151]:[],'tdx':_0x28e88f});process[_0x93c2a3(0x1cc)](_0x1bd373);}),parentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x241))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x160))[a2_0x3ba930(0x194)](a2_0x3ba930(0x12b),a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](async(_0x441488,_0x478a80)=>{const _0x38b797=a2_0x3ba930,_0x477e1c=new ParentSegmentPushCommand(),_0x4aef6c=program[_0x38b797(0x2bf)](),_0x464109=await createTDXInstance(_0x4aef6c),_0x8b5b97=await _0x477e1c[_0x38b797(0x26e)]({'options':{..._0x4aef6c,..._0x478a80},'args':_0x441488?[_0x441488]:[],'tdx':_0x464109});process[_0x38b797(0x1cc)](_0x8b5b97);}),parentCmd['command'](a2_0x3ba930(0x15e))[a2_0x3ba930(0x1d3)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option'](a2_0x3ba930(0x133),'Show\x20only\x20master\x20table\x20validation')[a2_0x3ba930(0x194)](a2_0x3ba930(0x2a0),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x3ba930(0x1bf),a2_0x3ba930(0x110))['option'](a2_0x3ba930(0x1f1),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x199),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3ba930(0x31f))[a2_0x3ba930(0x279)](async(_0x353338,_0x5cdb8e)=>{const _0x334648=a2_0x3ba930,_0xd6d5ae=new ParentSegmentValidateCommand(),_0x28e067=program[_0x334648(0x2bf)](),_0x25644b=await createTDXInstance(_0x28e067),_0x277594=await _0xd6d5ae[_0x334648(0x26e)]({'options':{..._0x28e067,..._0x5cdb8e},'args':_0x353338?[_0x353338]:[],'tdx':_0x25644b});process[_0x334648(0x1cc)](_0x277594);}),parentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x18d))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x18e))[a2_0x3ba930(0x194)]('--master',a2_0x3ba930(0x28b))['option']('--attribute\x20[name]',a2_0x3ba930(0x17f))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1bf),a2_0x3ba930(0x318))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1f1),a2_0x3ba930(0x311))[a2_0x3ba930(0x194)]('--interval\x20<range>',a2_0x3ba930(0x302),a2_0x3ba930(0x31f))[a2_0x3ba930(0x279)](async(_0x16e49f,_0x53b0e2)=>{const _0x4be21b=a2_0x3ba930,_0x14f04a=new ParentSegmentPreviewCommand(),_0x3e2ba7=program[_0x4be21b(0x2bf)](),_0x14333e=await createTDXInstance(_0x3e2ba7),_0x528a7e=await _0x14f04a['run']({'options':{..._0x3e2ba7,..._0x53b0e2},'args':_0x16e49f?[_0x16e49f]:[],'tdx':_0x14333e});process[_0x4be21b(0x1cc)](_0x528a7e);}),parentCmd['command'](a2_0x3ba930(0x22c))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x255))[a2_0x3ba930(0x194)]('-y,\x20--yes',a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](async(_0x875317,_0x27f642)=>{const _0x16aebb=a2_0x3ba930,_0x2e3465=new ParentSegmentRunCommand(),_0x2ddb1f=program[_0x16aebb(0x2bf)](),_0x3fa883=await createTDXInstance(_0x2ddb1f),_0x3e766f=await _0x2e3465['run']({'options':{..._0x2ddb1f,..._0x27f642},'args':_0x875317?[_0x875317]:[],'tdx':_0x3fa883});process[_0x16aebb(0x1cc)](_0x3e766f);});const parentSegmentCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x263))[a2_0x3ba930(0x2e0)]('ps')['description'](a2_0x3ba930(0x290));parentSegmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2cd))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x117))[a2_0x3ba930(0x279)](parentListAction),parentSegmentCmd[a2_0x3ba930(0x19b)]('pull\x20[name]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x254))['option'](a2_0x3ba930(0x170),a2_0x3ba930(0x30c))[a2_0x3ba930(0x194)]('-y,\x20--yes',a2_0x3ba930(0x18b))[a2_0x3ba930(0x194)](a2_0x3ba930(0x229),a2_0x3ba930(0x115))['action'](async(_0x2e2014,_0x5d7e51)=>{const _0x3df6e4=a2_0x3ba930,_0x598055=new ParentSegmentPullCommand(),_0x4984f1=program[_0x3df6e4(0x2bf)](),_0xa910cc=await createTDXInstance(_0x4984f1),_0x463bbb=await _0x598055[_0x3df6e4(0x26e)]({'options':{..._0x4984f1,..._0x5d7e51},'args':_0x2e2014?[_0x2e2014]:[],'tdx':_0xa910cc});process[_0x3df6e4(0x1cc)](_0x463bbb);}),parentSegmentCmd[a2_0x3ba930(0x19b)]('push\x20[name]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x14a))[a2_0x3ba930(0x194)](a2_0x3ba930(0x12b),a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](async(_0x34b43a,_0x221ac4)=>{const _0x437a7e=a2_0x3ba930,_0x152f4e=new ParentSegmentPushCommand(),_0x13dce2=program[_0x437a7e(0x2bf)](),_0x374153=await createTDXInstance(_0x13dce2),_0x4e0aa4=await _0x152f4e[_0x437a7e(0x26e)]({'options':{..._0x13dce2,..._0x221ac4},'args':_0x34b43a?[_0x34b43a]:[],'tdx':_0x374153});process['exit'](_0x4e0aa4);}),parentSegmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x182))['description'](a2_0x3ba930(0x25f))[a2_0x3ba930(0x194)](a2_0x3ba930(0x133),a2_0x3ba930(0x1b6))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2a0),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x3ba930(0x194)]('--behavior\x20[name]',a2_0x3ba930(0x110))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1f1),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x199),a2_0x3ba930(0x302),a2_0x3ba930(0x31f))[a2_0x3ba930(0x279)](async(_0x4604e1,_0xed9619)=>{const _0x5aebbe=a2_0x3ba930,_0x321ec5=new ParentSegmentValidateCommand(),_0x4415bb=program[_0x5aebbe(0x2bf)](),_0x175e45=await createTDXInstance(_0x4415bb),_0x25d5f3=await _0x321ec5[_0x5aebbe(0x26e)]({'options':{..._0x4415bb,..._0xed9619},'args':_0x4604e1?[_0x4604e1]:[],'tdx':_0x175e45});process[_0x5aebbe(0x1cc)](_0x25d5f3);}),parentSegmentCmd[a2_0x3ba930(0x19b)]('preview\x20[name]')[a2_0x3ba930(0x1d3)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x3ba930(0x194)](a2_0x3ba930(0x133),a2_0x3ba930(0x28b))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2a0),a2_0x3ba930(0x17f))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1bf),a2_0x3ba930(0x318))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1f1),a2_0x3ba930(0x311))['option']('--interval\x20<range>',a2_0x3ba930(0x302),a2_0x3ba930(0x31f))[a2_0x3ba930(0x279)](async(_0x440541,_0x35b8f7)=>{const _0x2b8ee5=a2_0x3ba930,_0x481d1d=new ParentSegmentPreviewCommand(),_0x530e4d=program[_0x2b8ee5(0x2bf)](),_0x5e2278=await createTDXInstance(_0x530e4d),_0x2660ed=await _0x481d1d[_0x2b8ee5(0x26e)]({'options':{..._0x530e4d,..._0x35b8f7},'args':_0x440541?[_0x440541]:[],'tdx':_0x5e2278});process['exit'](_0x2660ed);}),parentSegmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x22c))[a2_0x3ba930(0x1d3)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x12b),'Skip\x20confirmation\x20prompt')[a2_0x3ba930(0x279)](async(_0x5c7517,_0x12698)=>{const _0x3c1698=a2_0x3ba930,_0x2a64f3=new ParentSegmentRunCommand(),_0x547d04=program['opts'](),_0x5ad801=await createTDXInstance(_0x547d04),_0x14d9d1=await _0x2a64f3[_0x3c1698(0x26e)]({'options':{..._0x547d04,..._0x12698},'args':_0x5c7517?[_0x5c7517]:[],'tdx':_0x5ad801});process[_0x3c1698(0x1cc)](_0x14d9d1);}),parentSegmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x13c))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2c7))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d6),a2_0x3ba930(0xea))[a2_0x3ba930(0x194)](a2_0x3ba930(0xf7),'Output\x20as\x20JSON\x20Lines')[a2_0x3ba930(0x279)](async(_0x56791c,_0x56a799)=>{const _0x216d7a=a2_0x3ba930,_0x159039=new ParentSegmentFieldsCommand(),_0x2addc8=program['opts'](),_0xcddfce=await createTDXInstance(_0x2addc8),_0x13e4f2=await _0x159039[_0x216d7a(0x26e)]({'options':{..._0x2addc8,..._0x56a799},'args':_0x56791c?[_0x56791c]:[],'tdx':_0xcddfce});process['exit'](_0x13e4f2);}),parentSegmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x17e))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x325))[a2_0x3ba930(0x194)](a2_0x3ba930(0x15a),a2_0x3ba930(0x233))[a2_0x3ba930(0x194)]('--json',a2_0x3ba930(0xea))[a2_0x3ba930(0x194)](a2_0x3ba930(0xf7),'Output\x20as\x20JSON\x20Lines')[a2_0x3ba930(0x279)](async(_0x237847,_0x361207)=>{const _0xbc1390=a2_0x3ba930,_0x3e9603=new ParentSegmentViewCommand(),_0x46b98c=program[_0xbc1390(0x2bf)](),_0x77a580=await createTDXInstance(_0x46b98c),_0x5c353f=await _0x3e9603[_0xbc1390(0x26e)]({'options':{..._0x46b98c,..._0x361207},'args':_0x237847?[_0x237847]:[],'tdx':_0x77a580});process[_0xbc1390(0x1cc)](_0x5c353f);}),parentSegmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2d0))[a2_0x3ba930(0x1d3)]('Show\x20parent\x20segment\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d6),a2_0x3ba930(0xea))['option'](a2_0x3ba930(0xf7),a2_0x3ba930(0x17c))[a2_0x3ba930(0x279)](async(_0x4bb490,_0x864c05)=>{const _0x2080f0=a2_0x3ba930,_0x68b3cc=new ParentSegmentDescCommand(),_0x3e29f4=program[_0x2080f0(0x2bf)](),_0x1cb04b=await createTDXInstance(_0x3e29f4),_0x1d041b=await _0x68b3cc[_0x2080f0(0x26e)]({'options':{..._0x3e29f4,..._0x864c05},'args':_0x4bb490?[_0x4bb490]:[],'tdx':_0x1cb04b});process[_0x2080f0(0x1cc)](_0x1d041b);}),parentSegmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1ab))['description'](a2_0x3ba930(0x329))[a2_0x3ba930(0x194)]('--json',a2_0x3ba930(0xea))[a2_0x3ba930(0x194)](a2_0x3ba930(0xf7),a2_0x3ba930(0x17c))[a2_0x3ba930(0x279)](async(_0x25d2f2,_0x1d718e)=>{const _0x5cec30=a2_0x3ba930,_0xccf95f=new ParentSegmentSQLCommand(),_0xa5d2ea=program[_0x5cec30(0x2bf)](),_0x148a81=await createTDXInstance(_0xa5d2ea),_0x45a244=await _0xccf95f[_0x5cec30(0x26e)]({'options':{..._0xa5d2ea,..._0x1d718e},'args':_0x25d2f2?[_0x25d2f2]:[],'tdx':_0x148a81});process[_0x5cec30(0x1cc)](_0x45a244);}),parentSegmentCmd['command'](a2_0x3ba930(0x2e7))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2fe))[a2_0x3ba930(0x194)](a2_0x3ba930(0x20e),a2_0x3ba930(0x2e3))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d6),a2_0x3ba930(0xea))[a2_0x3ba930(0x194)](a2_0x3ba930(0xf7),a2_0x3ba930(0x17c))[a2_0x3ba930(0x279)](async(_0x64a346,_0x40b80f)=>{const _0x305cc0=a2_0x3ba930,_0x39a56f=new ParentSegmentShowCommand(),_0x2cd366=program[_0x305cc0(0x2bf)](),_0x337c84=await createTDXInstance(_0x2cd366),_0x1d3aa5=await _0x39a56f[_0x305cc0(0x26e)]({'options':{..._0x2cd366,..._0x40b80f},'args':_0x64a346?[_0x64a346]:[],'tdx':_0x337c84});process[_0x305cc0(0x1cc)](_0x1d3aa5);}),parentSegmentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x156))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x294))['action'](async(_0x4270f3,_0x10d0b)=>{const _0x32d5aa=a2_0x3ba930,_0x4c3cf8=new UseCommand(),_0x45c654=program[_0x32d5aa(0x2bf)](),_0x56a17b=_0x4270f3?['parent_segment',_0x4270f3]:[],_0x1cca57=await _0x4c3cf8[_0x32d5aa(0x26e)]({'options':{..._0x45c654,..._0x10d0b},'args':_0x56a17b,'tdx':null});process[_0x32d5aa(0x1cc)](_0x1cca57);}),parentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x244))['description']('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3ba930(0x169)](a2_0x3ba930(0x251),a2_0x3ba930(0x23c))[a2_0x3ba930(0x169)](a2_0x3ba930(0xe0),a2_0x3ba930(0x22e))[a2_0x3ba930(0x194)](a2_0x3ba930(0x252),a2_0x3ba930(0x157))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2d7),a2_0x3ba930(0x288))['option'](a2_0x3ba930(0x1ff),a2_0x3ba930(0x1d5))['option'](a2_0x3ba930(0x303),a2_0x3ba930(0x1cb))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2c6),'Attributes\x20as\x20JSON\x20string')[a2_0x3ba930(0x194)](a2_0x3ba930(0x327),a2_0x3ba930(0x1f8))[a2_0x3ba930(0x194)]('--behaviors\x20<json>',a2_0x3ba930(0x1c4))[a2_0x3ba930(0x194)](a2_0x3ba930(0x124),'Behaviors\x20from\x20JSON\x20file')['option'](a2_0x3ba930(0x225),a2_0x3ba930(0x277))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1bc),a2_0x3ba930(0x216))[a2_0x3ba930(0x279)](async(_0x2dee0d,_0x402fe1)=>{const _0x3807e1=a2_0x3ba930,_0x169615=new ParentSegmentCreateCommand(),_0x251bad=program[_0x3807e1(0x2bf)](),_0x382e36=await createTDXInstance(_0x251bad),_0x3f4af7=await _0x169615[_0x3807e1(0x26e)]({'options':{..._0x251bad,..._0x402fe1},'args':[_0x2dee0d],'tdx':_0x382e36});process['exit'](_0x3f4af7);}),parentCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x243))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x29e))[a2_0x3ba930(0x194)](a2_0x3ba930(0x252),a2_0x3ba930(0x1b0))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2d7),a2_0x3ba930(0x2d9))['option'](a2_0x3ba930(0x1ff),'Updated\x20schedule\x20option')[a2_0x3ba930(0x194)]('--timezone\x20<tz>',a2_0x3ba930(0x12e))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1ec),a2_0x3ba930(0x227))[a2_0x3ba930(0x194)]('--add-attributes-file\x20<file>',a2_0x3ba930(0x1f4))[a2_0x3ba930(0x194)](a2_0x3ba930(0x235),a2_0x3ba930(0x315))[a2_0x3ba930(0x194)](a2_0x3ba930(0x114),a2_0x3ba930(0x23d))[a2_0x3ba930(0x279)](async(_0x22fecd,_0x3e7728)=>{const _0x2ec2ff=a2_0x3ba930,_0x5ab5af=new ParentSegmentUpdateCommand(),_0x48294c=program[_0x2ec2ff(0x2bf)](),_0x5776e1=await createTDXInstance(_0x48294c),_0x106d64=await _0x5ab5af['run']({'options':{..._0x48294c,..._0x3e7728},'args':[_0x22fecd],'tdx':_0x5776e1});process[_0x2ec2ff(0x1cc)](_0x106d64);}),folderCmd[a2_0x3ba930(0x19b)]('create\x20<parent_name>\x20<folder_name>')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1be))['option'](a2_0x3ba930(0x252),a2_0x3ba930(0x2b3))[a2_0x3ba930(0x194)](a2_0x3ba930(0x112),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x3ba930(0x279)](async(_0x489cd4,_0xa47e29,_0x1c898a)=>{const _0x2fd8ae=a2_0x3ba930,_0x2e549a=new SegmentFolderCreateCommand(),_0x408022=program[_0x2fd8ae(0x2bf)](),_0x42ef4f=await createTDXInstance(_0x408022),_0x2eeb53=await _0x2e549a[_0x2fd8ae(0x26e)]({'options':{..._0x408022,..._0x1c898a},'args':[_0x489cd4,_0xa47e29],'tdx':_0x42ef4f});process[_0x2fd8ae(0x1cc)](_0x2eeb53);}),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1db))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0xec))[a2_0x3ba930(0x279)](async(_0x298f33,_0xb70084)=>{const _0x449807=a2_0x3ba930,_0x340022=new ActivationsCommand(),_0x409574=program[_0x449807(0x2bf)](),_0x34a239=await createTDXInstance(_0x409574),_0x470a1d=await _0x340022[_0x449807(0x26e)]({'options':{..._0x409574,..._0xb70084},'args':[_0x298f33],'tdx':_0x34a239});process[_0x449807(0x1cc)](_0x470a1d);});const workflowCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x23e))[a2_0x3ba930(0x2e0)]('wf')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x312)),wfProjectCmd=workflowCmd['command'](a2_0x3ba930(0x2ed))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x24d)),wfProjectListAction=async(_0x45f428,_0x1cbb0d)=>{const _0x42a0c4=a2_0x3ba930,_0x2ab4b3=new WorkflowProjectsCommand(),_0x2111c9=program[_0x42a0c4(0x2bf)](),_0x554373=await createTDXInstance(_0x2111c9),_0x142350=await _0x2ab4b3[_0x42a0c4(0x26e)]({'options':{..._0x2111c9,..._0x1cbb0d},'args':_0x45f428?[_0x45f428]:[],'tdx':_0x554373});process[_0x42a0c4(0x1cc)](_0x142350);};wfProjectCmd['command'](a2_0x3ba930(0x2cd))[a2_0x3ba930(0x1d3)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3ba930(0x279)](wfProjectListAction),workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0xfe))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2da))['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x315e95,_0x323cc0)=>{const _0x4cb59c=a2_0x3ba930,_0xc314f8=new WorkflowWorkflowsCommand(),_0x1cfb72=program[_0x4cb59c(0x2bf)](),_0x5e3f0b=await createTDXInstance(_0x1cfb72),_0x50be41=await _0xc314f8[_0x4cb59c(0x26e)]({'options':{..._0x1cfb72,..._0x323cc0},'args':_0x315e95?[_0x315e95]:[],'tdx':_0x5e3f0b});process[_0x4cb59c(0x1cc)](_0x50be41);};workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x24b))[a2_0x3ba930(0x1d3)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a2_0x3ba930(0x279)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1e1))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1c5)),wfSessionListAction=async(_0x4e4594,_0x5ab5ef)=>{const _0x468510=a2_0x3ba930,_0x20ca4e=new WorkflowSessionsCommand(),_0x177aaa=program[_0x468510(0x2bf)](),_0x1a53b7=await createTDXInstance(_0x177aaa),_0x52d2ae=await _0x20ca4e['run']({'options':{..._0x177aaa,..._0x5ab5ef},'args':_0x4e4594?[_0x4e4594]:[],'tdx':_0x1a53b7});process['exit'](_0x52d2ae);};wfSessionCmd[a2_0x3ba930(0x19b)]('list\x20[project]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1af))[a2_0x3ba930(0x194)]('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x16c),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x2aa),a2_0x3ba930(0x20b))[a2_0x3ba930(0x279)](wfSessionListAction),workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2ee))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x18f))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2d3),a2_0x3ba930(0x22d))[a2_0x3ba930(0x194)]('--from\x20<timestamp>',a2_0x3ba930(0x168))['option'](a2_0x3ba930(0x2aa),'End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction);const wfAttemptListAction=async(_0x555e31,_0x589fee)=>{const _0x55d84f=a2_0x3ba930,_0x4536e2=new WorkflowAttemptsCommand(),_0x42149d=program['opts'](),_0x3be357=await createTDXInstance(_0x42149d),_0x449065=await _0x4536e2[_0x55d84f(0x26e)]({'options':{..._0x42149d,..._0x589fee},'args':_0x555e31?[_0x555e31]:[],'tdx':_0x3be357});process[_0x55d84f(0x1cc)](_0x449065);},attemptCmd=workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x25c))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1f7))['argument']('[attempt-id]',a2_0x3ba930(0x19c))[a2_0x3ba930(0x1df)](a2_0x3ba930(0x120),'Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x3ba930(0x1df)](a2_0x3ba930(0x246),a2_0x3ba930(0x195))[a2_0x3ba930(0x194)](a2_0x3ba930(0x23a),a2_0x3ba930(0x19d))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1ee),a2_0x3ba930(0x260))['option'](a2_0x3ba930(0x126),'Resume\x20from\x20specific\x20task\x20(retry)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x2f7),a2_0x3ba930(0x231))[a2_0x3ba930(0x194)]('--force',a2_0x3ba930(0x268))[a2_0x3ba930(0x194)](a2_0x3ba930(0x16e),'Include\x20retried\x20attempts\x20(for\x20list)')[a2_0x3ba930(0x279)](async(_0x5dd2d1,_0x5c884a,_0x720717,_0x5c83cf)=>{const _0x1bc874=a2_0x3ba930;if(_0x5dd2d1===_0x1bc874(0x240)){await wfAttemptListAction(_0x5c884a,_0x5c83cf);return;}if(!_0x5dd2d1){attemptCmd[_0x1bc874(0x2a2)]();return;}const _0x53dd4e=program[_0x1bc874(0x2bf)](),_0x593706=await createTDXInstance(_0x53dd4e);let _0x1696a4=0x0;if(!_0x5c884a){const _0x393868=new WorkflowAttemptCommand();_0x1696a4=await _0x393868[_0x1bc874(0x26e)]({'options':{..._0x53dd4e,..._0x5c83cf},'args':[_0x5dd2d1],'tdx':_0x593706});}else{if(_0x5c884a===_0x1bc874(0x1c8)){const _0x32e86b=new WorkflowLogsCommand();_0x1696a4=await _0x32e86b[_0x1bc874(0x26e)]({'options':{..._0x53dd4e,..._0x5c83cf},'args':_0x720717?[_0x5dd2d1,_0x720717]:[_0x5dd2d1],'tdx':_0x593706});}else{if(_0x5c884a==='tasks'){const _0x534fa1=new WorkflowTasksCommand();_0x1696a4=await _0x534fa1['run']({'options':{..._0x53dd4e,..._0x5c83cf},'args':[_0x5dd2d1],'tdx':_0x593706});}else{if(_0x5c884a==='kill'){const _0x363002=new WorkflowKillCommand();_0x1696a4=await _0x363002[_0x1bc874(0x26e)]({'options':{..._0x53dd4e,..._0x5c83cf},'args':[_0x5dd2d1],'tdx':_0x593706});}else{if(_0x5c884a==='retry'){const _0x27e654=new WorkflowRetryCommand();_0x1696a4=await _0x27e654[_0x1bc874(0x26e)]({'options':{..._0x53dd4e,..._0x5c83cf},'args':[_0x1bc874(0x2d2)+_0x5dd2d1],'tdx':_0x593706});}else console[_0x1bc874(0x2c2)](_0x1bc874(0x2ac)+_0x5c884a),console[_0x1bc874(0x2c2)](_0x1bc874(0x2e4)),_0x1696a4=0x1;}}}}process[_0x1bc874(0x1cc)](_0x1696a4);});attemptCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x284))[a2_0x3ba930(0x1d3)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x16e),a2_0x3ba930(0x1e8))['action'](wfAttemptListAction),workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x105))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2d8))[a2_0x3ba930(0x194)](a2_0x3ba930(0x16e),'Include\x20retried\x20attempts')[a2_0x3ba930(0x279)](wfAttemptListAction),workflowCmd['command']('timeline\x20[project.workflow]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x162))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2ec),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x3ba930(0x194)](a2_0x3ba930(0x2de),a2_0x3ba930(0xe8))[a2_0x3ba930(0x194)]('--attempt-id\x20<id>',a2_0x3ba930(0x1f0))['action'](async(_0x3834e1,_0x458e7a)=>{const _0x4222df=a2_0x3ba930,_0x20e542=new WorkflowTimelineCommand(),_0x3448be=program[_0x4222df(0x2bf)](),_0x3d0fb0=await createTDXInstance(_0x3448be),_0xc13c3f=await _0x20e542['run']({'options':{..._0x3448be,..._0x458e7a},'args':_0x3834e1?[_0x3834e1]:[],'tdx':_0x3d0fb0});process['exit'](_0xc13c3f);}),workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x217))['description'](a2_0x3ba930(0x2ae))[a2_0x3ba930(0x194)](a2_0x3ba930(0xf1),a2_0x3ba930(0x278))['option'](a2_0x3ba930(0x2f7),a2_0x3ba930(0x2fb))[a2_0x3ba930(0x279)](async(_0x1bd973,_0x5f22c4)=>{const _0x4ea62a=a2_0x3ba930,_0x471f82=new WorkflowRetryCommand(),_0x854346=program['opts'](),_0x3f72d8=await createTDXInstance(_0x854346),_0x803b4f=await _0x471f82[_0x4ea62a(0x26e)]({'options':{..._0x854346,..._0x5f22c4},'args':[_0x1bd973],'tdx':_0x3f72d8});process[_0x4ea62a(0x1cc)](_0x803b4f);}),workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1fd))[a2_0x3ba930(0x1d3)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1ba),a2_0x3ba930(0x205),(_0x4c398a,_0x4dc786=[])=>[..._0x4dc786,_0x4c398a],[])[a2_0x3ba930(0x194)]('--session-time\x20<time>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x3ba930(0x279)](async(_0x30aaf2,_0x27d823)=>{const _0x550d64=a2_0x3ba930,_0x1b1112=new WorkflowRunCommand(),_0xab103e=program[_0x550d64(0x2bf)](),_0x14dcea=await createTDXInstance(_0xab103e),_0x3d45bb=await _0x1b1112[_0x550d64(0x26e)]({'options':{..._0xab103e,..._0x27d823},'args':_0x30aaf2?[_0x30aaf2]:[],'tdx':_0x14dcea});process['exit'](_0x3d45bb);}),workflowCmd[a2_0x3ba930(0x19b)]('download\x20<project-name>\x20[output-dir]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x198))['option'](a2_0x3ba930(0x2d4),a2_0x3ba930(0x1dc))[a2_0x3ba930(0x279)](async(_0x58cb34,_0x473879,_0x1a0048)=>{const _0x26d4f1=a2_0x3ba930,_0xe1cb25=new WorkflowDownloadCommand(),_0x208c82=program[_0x26d4f1(0x2bf)](),_0x42f5cf=await createTDXInstance(_0x208c82),_0x572532=await _0xe1cb25[_0x26d4f1(0x26e)]({'options':{..._0x208c82,..._0x1a0048},'args':[_0x58cb34,_0x473879||'.'],'tdx':_0x42f5cf});process[_0x26d4f1(0x1cc)](_0x572532);}),workflowCmd['command'](a2_0x3ba930(0x178))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x151))['option'](a2_0x3ba930(0x2d4),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x3ba930(0x194)]('--dry-run',a2_0x3ba930(0xf0))[a2_0x3ba930(0x194)]('-y,\x20--yes',a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](async(_0x7b7053,_0x5cd4a9,_0x2ae660)=>{const _0x40c68f=a2_0x3ba930,_0x3444af=new WorkflowPullCommand(),_0x328bcd=program['opts'](),_0x57284c=await createTDXInstance(_0x328bcd),_0x41063f=await _0x3444af[_0x40c68f(0x26e)]({'options':{..._0x328bcd,..._0x2ae660},'args':_0x5cd4a9?[_0x7b7053,_0x5cd4a9]:[_0x7b7053],'tdx':_0x57284c});process[_0x40c68f(0x1cc)](_0x41063f);}),workflowCmd[a2_0x3ba930(0x19b)]('push\x20[source-dir]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x22b))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2d4),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x3ba930(0x194)]('--dry-run',a2_0x3ba930(0x197))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2bb),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3ba930(0x194)]('-y,\x20--yes',a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](async(_0x5516c4,_0x37cd52)=>{const _0x2306f3=a2_0x3ba930,_0x310423=new WorkflowPushCommand(),_0x13efb8=program['opts'](),_0x49d524=await createTDXInstance(_0x13efb8),_0x360fb9=await _0x310423['run']({'options':{..._0x13efb8,..._0x37cd52},'args':_0x5516c4?[_0x5516c4]:[],'tdx':_0x49d524});process[_0x2306f3(0x1cc)](_0x360fb9);}),workflowCmd[a2_0x3ba930(0x19b)]('upload\x20[project-name-or-dir]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x189))['option'](a2_0x3ba930(0x15c),'Override\x20project\x20name')[a2_0x3ba930(0x194)](a2_0x3ba930(0x2d4),a2_0x3ba930(0x102))[a2_0x3ba930(0x194)]('--skip-validation',a2_0x3ba930(0x152))[a2_0x3ba930(0x279)](async(_0x142659,_0x5f1296)=>{const _0x431bc9=a2_0x3ba930,_0x3c7cc0=new WorkflowUploadCommand(),_0x52dfb6=program[_0x431bc9(0x2bf)](),_0x5204ee=await createTDXInstance(_0x52dfb6),_0x34de35=await _0x3c7cc0[_0x431bc9(0x26e)]({'options':{..._0x52dfb6,..._0x5f1296},'args':_0x142659?[_0x142659]:[],'tdx':_0x5204ee});process[_0x431bc9(0x1cc)](_0x34de35);}),workflowCmd['command']('clone\x20[source-dir]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x208))[a2_0x3ba930(0x194)]('--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')['option']('--revision\x20<revision>',a2_0x3ba930(0x259))[a2_0x3ba930(0x194)]('--dry-run',a2_0x3ba930(0x234))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2bb),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x3ba930(0x194)]('-y,\x20--yes',a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](async(_0x32f957,_0x17bd47)=>{const _0x492de3=a2_0x3ba930,_0x25d181=new WorkflowCloneCommand(),_0x314f3a=program[_0x492de3(0x2bf)](),_0x17837a=await createTDXInstance(_0x314f3a),_0x4609a8=await _0x25d181[_0x492de3(0x26e)]({'options':{..._0x314f3a,..._0x17bd47},'args':_0x32f957?[_0x32f957]:[],'tdx':_0x17837a});process[_0x492de3(0x1cc)](_0x4609a8);}),workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1f9))['description'](a2_0x3ba930(0x322))[a2_0x3ba930(0x279)](async(_0x4cc069,_0x34f579)=>{const _0x1d60f8=a2_0x3ba930,_0x11014c=new WorkflowDeleteCommand(),_0xb997aa=program[_0x1d60f8(0x2bf)](),_0x5b575a=await createTDXInstance(_0xb997aa),_0x228eac=await _0x11014c['run']({'options':{..._0xb997aa,..._0x34f579},'args':[_0x4cc069],'tdx':_0x5b575a});process[_0x1d60f8(0x1cc)](_0x228eac);}),workflowCmd[a2_0x3ba930(0x19b)]('use\x20[project]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2f0))[a2_0x3ba930(0x194)](a2_0x3ba930(0x27a),a2_0x3ba930(0x1ed))['action'](async(_0x3ce1aa,_0x30d56c)=>{const _0x426b1f=a2_0x3ba930,_0x429c6a=new WorkflowUseCommand(),_0xc068ea=program['opts'](),_0x24e69c=await createTDXInstance(_0xc068ea),_0x501e4e=await _0x429c6a[_0x426b1f(0x26e)]({'options':{..._0xc068ea,..._0x30d56c},'args':_0x3ce1aa?[_0x3ce1aa]:[],'tdx':_0x24e69c});process[_0x426b1f(0x1cc)](_0x501e4e);});const wfSecretsCmd=workflowCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x13e))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x106));wfSecretsCmd['command'](a2_0x3ba930(0x284))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1b2))['action'](async(_0x58a1f8,_0x4ab218)=>{const _0x2062f9=a2_0x3ba930,_0x510c1c=new WorkflowSecretsListCommand(),_0x1ad972=program[_0x2062f9(0x2bf)](),_0x1ab005=await createTDXInstance(_0x1ad972),_0x21306f=await _0x510c1c[_0x2062f9(0x26e)]({'options':{..._0x1ad972,..._0x4ab218},'args':_0x58a1f8?[_0x58a1f8]:[],'tdx':_0x1ab005});process[_0x2062f9(0x1cc)](_0x21306f);}),wfSecretsCmd['command'](a2_0x3ba930(0x317))[a2_0x3ba930(0x1d3)]('Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)')[a2_0x3ba930(0x279)](async(_0x4f0e2f,_0x8c5417)=>{const _0x155a17=a2_0x3ba930,_0x4f9fb9=new WorkflowSecretsSetCommand(),_0x5cc0fb=program[_0x155a17(0x2bf)](),_0x58205e=await createTDXInstance(_0x5cc0fb),_0x1757bb=await _0x4f9fb9[_0x155a17(0x26e)]({'options':{..._0x5cc0fb,..._0x8c5417},'args':_0x4f0e2f,'tdx':_0x58205e});process['exit'](_0x1757bb);}),wfSecretsCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2b9))['description'](a2_0x3ba930(0x122))['option']('-y,\x20--yes',a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](async(_0x43805e,_0x4f1700)=>{const _0x3e2864=a2_0x3ba930,_0x15bcca=new WorkflowSecretsDeleteCommand(),_0x282617=program['opts'](),_0x4b5a10=await createTDXInstance(_0x282617),_0x56dcd2=await _0x15bcca['run']({'options':{..._0x282617,..._0x4f1700},'args':_0x43805e,'tdx':_0x4b5a10});process[_0x3e2864(0x1cc)](_0x56dcd2);});const jobCmd=program[a2_0x3ba930(0x19b)]('job')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1b5)),jobListAction=async _0x1a7874=>{const _0x426f69=a2_0x3ba930,_0x2e31d2=new JobListCommand(),_0x4d4e6e=program['opts'](),_0x17cf9f=await createTDXInstance(_0x4d4e6e),_0x332534=await _0x2e31d2[_0x426f69(0x26e)]({'options':{..._0x4d4e6e,..._0x1a7874},'args':[],'tdx':_0x17cf9f});process[_0x426f69(0x1cc)](_0x332534);};jobCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x240))['description'](a2_0x3ba930(0x269))['option'](a2_0x3ba930(0x2d3),a2_0x3ba930(0x17b))[a2_0x3ba930(0x279)](jobListAction),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x332),{'hidden':!![]})[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x31e))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2d3),a2_0x3ba930(0x17b))[a2_0x3ba930(0x279)](jobListAction),jobCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x12d))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x250))['action'](async(_0x5463e6,_0x4030ac)=>{const _0x19b9dd=a2_0x3ba930,_0x287478=new JobShowCommand(),_0x523572=program[_0x19b9dd(0x2bf)](),_0x5e07f4=await createTDXInstance(_0x523572),_0x2a8aa2=await _0x287478['run']({'options':{..._0x523572,..._0x4030ac},'args':[_0x5463e6],'tdx':_0x5e07f4});process[_0x19b9dd(0x1cc)](_0x2a8aa2);}),jobCmd[a2_0x3ba930(0x19b)]('kill\x20<job-id>')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0xe3))['action'](async(_0x5e3e22,_0x2e3883)=>{const _0x5e6189=a2_0x3ba930,_0x5f02a1=new JobKillCommand(),_0xbf6182=program[_0x5e6189(0x2bf)](),_0x2a3d80=await createTDXInstance(_0xbf6182),_0x2e4d25=await _0x5f02a1[_0x5e6189(0x26e)]({'options':{..._0xbf6182,..._0x2e3883},'args':[_0x5e3e22],'tdx':_0x2a3d80});process[_0x5e6189(0x1cc)](_0x2e4d25);}),jobCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x11a))[a2_0x3ba930(0x1d3)]('Submit\x20a\x20job')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1a8),'Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','trino')[a2_0x3ba930(0x194)](a2_0x3ba930(0x29b),a2_0x3ba930(0x292))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1fe),a2_0x3ba930(0x154),'information_schema')[a2_0x3ba930(0x279)](async(_0x2e51b1,_0x3384b4)=>{const _0x58b7d6=a2_0x3ba930,_0x36a3bf=new JobSubmitCommand(),_0x3e3137=program[_0x58b7d6(0x2bf)](),_0x4110c2=await createTDXInstance(_0x3e3137),_0xb1225c=await _0x36a3bf[_0x58b7d6(0x26e)]({'options':{..._0x3e3137,..._0x3384b4},'args':_0x2e51b1?[_0x2e51b1]:[],'tdx':_0x4110c2});process[_0x58b7d6(0x1cc)](_0xb1225c);}),jobCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x249))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2af))[a2_0x3ba930(0x279)](async(_0x4738cb,_0x5ef1e9)=>{const _0x33ae7d=a2_0x3ba930,_0x4ccb16=new JobResultCommand(),_0x2aef71=program[_0x33ae7d(0x2bf)](),_0x442097=await createTDXInstance(_0x2aef71),_0x36342a=await _0x4ccb16[_0x33ae7d(0x26e)]({'options':{..._0x2aef71,..._0x5ef1e9},'args':[_0x4738cb],'tdx':_0x442097});process[_0x33ae7d(0x1cc)](_0x36342a);});const llmCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x213))['description'](a2_0x3ba930(0x20f));llmCmd[a2_0x3ba930(0x19b)]('use\x20<project-name>')['description']('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x3ba930(0x279)](async(_0x1f8bb6,_0x1573a6)=>{const _0x5875e3=a2_0x3ba930,_0x108312=new LLMUseCommand(),_0x4b1e48=program[_0x5875e3(0x2bf)](),_0x443cab=await createTDXInstance(_0x4b1e48),_0x39f00f=await _0x108312[_0x5875e3(0x26e)]({'options':{..._0x4b1e48,..._0x1573a6},'args':[_0x1f8bb6],'tdx':_0x443cab});process['exit'](_0x39f00f);}),llmCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1b8))['description'](a2_0x3ba930(0x333))[a2_0x3ba930(0x279)](async _0x15570f=>{const _0x57c9c0=a2_0x3ba930,_0x2e01fe=new LLMModelsCommand(),_0x50b506=program[_0x57c9c0(0x2bf)](),_0x1bd2a1=await createTDXInstance(_0x50b506),_0x26c9eb=await _0x2e01fe['run']({'options':{..._0x50b506,..._0x15570f},'args':[],'tdx':_0x1bd2a1});process[_0x57c9c0(0x1cc)](_0x26c9eb);});const projectCmd=llmCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2ed))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x140)),llmProjectListAction=async(_0x1c6fdb,_0x224c80)=>{const _0xa5f82a=a2_0x3ba930,_0x24c37c=new LLMProjectsCommand(),_0x730ee8=program['opts'](),_0x4765e3=await createTDXInstance(_0x730ee8),_0x48f0ac=await _0x24c37c[_0xa5f82a(0x26e)]({'options':{..._0x730ee8,..._0x224c80},'args':_0x1c6fdb?[_0x1c6fdb]:[],'tdx':_0x4765e3});process[_0xa5f82a(0x1cc)](_0x48f0ac);};projectCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2cd))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1f6))[a2_0x3ba930(0x279)](llmProjectListAction),llmCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0xfe))['description'](a2_0x3ba930(0x18a))[a2_0x3ba930(0x279)](llmProjectListAction),projectCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x244))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1d4))[a2_0x3ba930(0x194)](a2_0x3ba930(0x252),a2_0x3ba930(0x1bb))[a2_0x3ba930(0x279)](async(_0x188e7a,_0x2defa1)=>{const _0x36365d=a2_0x3ba930,_0x289f79=new LLMProjectCreateCommand(),_0x2173f7=program[_0x36365d(0x2bf)](),_0x955bbe=await createTDXInstance(_0x2173f7),_0x38a2db=await _0x289f79[_0x36365d(0x26e)]({'options':{..._0x2173f7,..._0x2defa1},'args':[_0x188e7a],'tdx':_0x955bbe});process[_0x36365d(0x1cc)](_0x38a2db);}),projectCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x10b))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x33f))[a2_0x3ba930(0x279)](async(_0x22bf8a,_0x178d12)=>{const _0x4a2932=a2_0x3ba930,_0x30c78b=new LLMProjectDeleteCommand(),_0x25ed92=program[_0x4a2932(0x2bf)](),_0x4ce07c=await createTDXInstance(_0x25ed92),_0x2ccb56=await _0x30c78b['run']({'options':{..._0x25ed92,..._0x178d12},'args':[_0x22bf8a],'tdx':_0x4ce07c});process[_0x4a2932(0x1cc)](_0x2ccb56);}),projectCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0xef))[a2_0x3ba930(0x1d3)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')['option']('-o,\x20--output\x20<folder>',a2_0x3ba930(0x237))['option'](a2_0x3ba930(0x236),a2_0x3ba930(0xfd))['action'](async(_0x1db287,_0xede09)=>{const _0x18eeb9=a2_0x3ba930,_0x5a1458=new LLMProjectBackupCommand(),_0x141ff1=program[_0x18eeb9(0x2bf)](),_0x11a98e=await createTDXInstance(_0x141ff1),_0x4b282f=await _0x5a1458[_0x18eeb9(0x26e)]({'options':{..._0x141ff1,..._0xede09},'args':[_0x1db287],'tdx':_0x11a98e});process[_0x18eeb9(0x1cc)](_0x4b282f);}),projectCmd['command']('restore\x20<folder>')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1b9))[a2_0x3ba930(0x194)](a2_0x3ba930(0x314),a2_0x3ba930(0x166))[a2_0x3ba930(0x194)](a2_0x3ba930(0x236),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')['action'](async(_0x206a95,_0x2605a1)=>{const _0x3fd2de=a2_0x3ba930,_0x3f2074=new LLMProjectRestoreCommand(),_0x33e643=program['opts'](),_0x27ac66=await createTDXInstance(_0x33e643),_0x5e8d20=await _0x3f2074['run']({'options':{..._0x33e643,..._0x2605a1},'args':[_0x206a95],'tdx':_0x27ac66});process[_0x3fd2de(0x1cc)](_0x5e8d20);});const llmAgentListAction=async(_0x4861a0,_0x5a2157)=>{const _0x16f290=a2_0x3ba930,_0x593c6f=new LLMAgentsCommand(),_0x1a4633=program[_0x16f290(0x2bf)](),_0x1f549a=await createTDXInstance(_0x1a4633),_0x3d5d0b=await _0x593c6f[_0x16f290(0x26e)]({'options':{..._0x1a4633,..._0x5a2157},'args':_0x4861a0?[_0x4861a0]:[],'tdx':_0x1f549a});process['exit'](_0x3d5d0b);};llmCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x232))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x210))[a2_0x3ba930(0x279)](llmAgentListAction),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x232))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x210))['action'](llmAgentListAction),llmCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1e3))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x209))[a2_0x3ba930(0x194)](a2_0x3ba930(0x15d),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x3ba930(0x279)](async(_0x552b8c,_0xf6f804)=>{const _0x41062e=a2_0x3ba930,_0x1ad832=new LLMHistoryCommand(),_0x521609=program[_0x41062e(0x2bf)](),_0x37fc75=await createTDXInstance(_0x521609),_0xa359c=await _0x1ad832[_0x41062e(0x26e)]({'options':{..._0x521609,..._0xf6f804},'args':_0x552b8c?[_0x552b8c]:[],'tdx':_0x37fc75});process[_0x41062e(0x1cc)](_0xa359c);}),llmCmd[a2_0x3ba930(0x19b)]('proxy')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x113))[a2_0x3ba930(0x194)](a2_0x3ba930(0x214),a2_0x3ba930(0x1eb),'4000')[a2_0x3ba930(0x194)](a2_0x3ba930(0x28a),a2_0x3ba930(0x298))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2a7),a2_0x3ba930(0xe9))['action'](async _0xe81222=>{const _0x5e5092=a2_0x3ba930,_0x34643e=new LLMProxyCommand(),_0x48c30a=program['opts'](),_0x38a25a=await createTDXInstance(_0x48c30a),_0x5b06b3={..._0xe81222,'port':_0xe81222[_0x5e5092(0x28f)]?parseInt(_0xe81222[_0x5e5092(0x28f)],0xa):undefined},_0x3c2297=await _0x34643e['run']({'options':{..._0x48c30a,..._0x5b06b3},'args':[],'tdx':_0x38a25a});process[_0x5e5092(0x1cc)](_0x3c2297);}),program[a2_0x3ba930(0x19b)]('claude\x20[args...]')[a2_0x3ba930(0x247)](a2_0x3ba930(0x123))['description'](a2_0x3ba930(0x128))[a2_0x3ba930(0x194)](a2_0x3ba930(0xf2),a2_0x3ba930(0x30b),a2_0x3ba930(0x21f))['option'](a2_0x3ba930(0x29f),'Continue\x20most\x20recent\x20conversation')[a2_0x3ba930(0x194)]('-r,\x20--resume',a2_0x3ba930(0x2eb))['option'](a2_0x3ba930(0x125),a2_0x3ba930(0x13f))[a2_0x3ba930(0x194)]('--llm-proxy\x20[url]',a2_0x3ba930(0x242))[a2_0x3ba930(0x18c)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x3ba930(0x108),'\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--llm-proxy\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Use\x20TD\x20LLM\x20Proxy\x20pass-through\x20mode\x0a\x20\x20tdx\x20claude\x20--llm-proxy\x20http://localhost:8080\x20\x20Use\x20custom\x20proxy\x20URL\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')[a2_0x3ba930(0x279)](async(_0x595619,_0x3fd133)=>{const _0x1e9a47=a2_0x3ba930,_0x21d25d=program[_0x1e9a47(0x2bf)](),_0x3ed4f1=Array[_0x1e9a47(0x295)](_0x595619)?_0x595619:[];if(_0x3ed4f1[0x0]==='statusline'){const _0x208424=new ClaudeStatuslineCommand(),_0x1608c2=await _0x208424['run']({'options':{..._0x21d25d,..._0x3fd133},'args':_0x3ed4f1[_0x1e9a47(0x267)](0x1),'tdx':null});process['exit'](_0x1608c2);}if(_0x3ed4f1[0x0]===_0x1e9a47(0x247)){const _0x224043=new ClaudeUsageCommand(),_0x12f478=await _0x224043[_0x1e9a47(0x26e)]({'options':{..._0x21d25d,..._0x3fd133},'args':_0x3ed4f1[_0x1e9a47(0x267)](0x1),'tdx':null});process[_0x1e9a47(0x1cc)](_0x12f478);}const _0x41a325=new ClaudeCommand(),_0x4f8c45=await createTDXInstance(_0x21d25d),_0x2edf02=await _0x41a325[_0x1e9a47(0x26e)]({'options':{..._0x21d25d,..._0x3fd133},'args':_0x3ed4f1,'tdx':_0x4f8c45});process[_0x1e9a47(0x1cc)](_0x2edf02);}),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x27d))['description'](a2_0x3ba930(0x2ef))['option']('--clear',a2_0x3ba930(0x219))[a2_0x3ba930(0x194)]('--default',a2_0x3ba930(0x2c1))[a2_0x3ba930(0x279)](async(_0x5d8c23,_0x1d204b,_0xaea464)=>{const _0x1a9524=a2_0x3ba930,_0x266925=new UseCommand(),_0x4a56ec=program['opts'](),_0x51a9d8=[];if(_0x5d8c23)_0x51a9d8[_0x1a9524(0x1d8)](_0x5d8c23);if(_0x1d204b)_0x51a9d8[_0x1a9524(0x1d8)](_0x1d204b);const _0x15f0af=await _0x266925[_0x1a9524(0x26e)]({'options':{..._0x4a56ec,..._0xaea464},'args':_0x51a9d8,'tdx':null});process['exit'](_0x15f0af);}),program[a2_0x3ba930(0x19b)]('unset\x20<resource>')['description']('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1c2),a2_0x3ba930(0x139))[a2_0x3ba930(0x279)](async(_0x18f0fb,_0x4a6243)=>{const _0x40c0ed=a2_0x3ba930,_0x407636=new UnsetCommand(),_0x322245=program[_0x40c0ed(0x2bf)](),_0x2ab214=await _0x407636[_0x40c0ed(0x26e)]({'options':{..._0x322245,..._0x4a6243},'args':[_0x18f0fb],'tdx':null});process[_0x40c0ed(0x1cc)](_0x2ab214);}),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x119))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2a9))['option'](a2_0x3ba930(0x15d),a2_0x3ba930(0x204))[a2_0x3ba930(0x279)](async _0x3c5ed7=>{const _0x3bc245=a2_0x3ba930,_0x3d1434=new ChatsCommand(),_0x27cdf2=program[_0x3bc245(0x2bf)](),_0x4e7a71=await createTDXInstance(_0x27cdf2),_0x11e277=await _0x3d1434[_0x3bc245(0x26e)]({'options':{..._0x27cdf2,..._0x3c5ed7},'args':[],'tdx':_0x4e7a71});process[_0x3bc245(0x1cc)](_0x11e277);});const authCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0xe7))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x11c));async function runAuthStatusCommand(_0x5aca45){const _0x1db1ac=new AuthStatusCommand(),_0x5550b2=program['opts'](),_0x13ed33=await createTDXInstance(_0x5550b2),_0x39efbe=await _0x1db1ac['run']({'options':{..._0x5550b2,..._0x5aca45},'args':[],'tdx':_0x13ed33});process['exit'](_0x39efbe);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x176))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x27b))[a2_0x3ba930(0x279)](runAuthStatusCommand),authCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x28e))[a2_0x3ba930(0x1d3)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x3ba930(0x2db)]('after',a2_0x3ba930(0x29c))[a2_0x3ba930(0x279)](async _0x2e5935=>{const _0x1a427d=a2_0x3ba930,_0xe0c413=new AuthSetupCommand(),_0x147736=program[_0x1a427d(0x2bf)](),_0x26c546=await createTDXInstance(_0x147736),_0x42509c=await _0xe0c413[_0x1a427d(0x26e)]({'options':{..._0x147736,..._0x2e5935},'args':[],'tdx':_0x26c546});process['exit'](_0x42509c);}),authCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0xeb))[a2_0x3ba930(0x1d3)]('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x3ba930(0x108),a2_0x3ba930(0x300))[a2_0x3ba930(0x279)](async _0x5e9207=>{const _0x38d83a=a2_0x3ba930,_0x425efe=new AuthClearCommand(),_0x8ab820=program[_0x38d83a(0x2bf)](),_0x278d24=await _0x425efe[_0x38d83a(0x26e)]({'options':{..._0x8ab820,..._0x5e9207},'args':[],'tdx':null});process[_0x38d83a(0x1cc)](_0x278d24);});const userCmd=program[a2_0x3ba930(0x19b)]('user')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x323)),userListAction=async _0x3e77f9=>{const _0x306a80=a2_0x3ba930,_0xa3abf6=new UserListCommand(),_0x12e7d9=program[_0x306a80(0x2bf)](),_0x4c2538=await createTDXInstance(_0x12e7d9),_0x3398eb=await _0xa3abf6[_0x306a80(0x26e)]({'options':{..._0x12e7d9,..._0x3e77f9},'args':[],'tdx':_0x4c2538});process['exit'](_0x3398eb);};userCmd[a2_0x3ba930(0x279)](async _0x2e830c=>{const _0x56b74c=a2_0x3ba930,_0x341c5f=new UserCommand(),_0x36fe3a=program[_0x56b74c(0x2bf)](),_0xb49339=await createTDXInstance(_0x36fe3a),_0x56ff59=await _0x341c5f['run']({'options':{..._0x36fe3a,..._0x2e830c},'args':[],'tdx':_0xb49339});process[_0x56b74c(0x1cc)](_0x56ff59);}),userCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x240))[a2_0x3ba930(0x1d3)]('List\x20all\x20users\x20in\x20the\x20account')['action'](userListAction),program[a2_0x3ba930(0x19b)]('users')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1c6))[a2_0x3ba930(0x279)](userListAction),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x187))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1ac))[a2_0x3ba930(0x279)](async _0x547a92=>{const _0x43d836=a2_0x3ba930,_0x452965=new ProfilesCommand(),_0x1d6de5=program[_0x43d836(0x2bf)](),_0x51601f=await _0x452965[_0x43d836(0x26e)]({'options':{..._0x1d6de5,..._0x547a92},'args':[],'tdx':null});process[_0x43d836(0x1cc)](_0x51601f);});function a2_0x1658(){const _0x3d2846=['Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Skip\x20confirmation\x20prompt','allowUnknownOption','preview\x20[file]','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Create\x20an\x20email\x20template','describe\x20[table]','show\x20<folder_ref>','Workspace\x20name','option','Task\x20name\x20for\x20logs\x20action','Run\x20tests\x20for\x20an\x20LLM\x20agent','Preview\x20changes\x20without\x20pushing','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','--interval\x20<range>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','command','Attempt\x20ID','Include\x20subtasks\x20in\x20tasks\x20output','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','4633909WWcYBT','CDP\x20Journey\x20Orchestration\x20commands','Filtering\x20rule\x20from\x20JSON\x20file','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','forEach','launch\x20<name-or-id>','Maximum\x20recursion\x20depth\x20(default:\x2010)','Email\x20subject\x20template','--tsv','--job-type\x20<type>','--start-at\x20<datetime>','join','sql\x20[name]','List\x20all\x20available\x20profiles','argumentDescription','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Updated\x20description','padWidth','List\x20secret\x20keys\x20for\x20a\x20project','--max-depth\x20<depth>','stats\x20<name-or-path>','Job\x20management\x20commands','Show\x20only\x20master\x20table\x20validation','isTTY','models','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','--param\x20<key=value>','Project\x20description','--customer-group-file\x20<file>','Launch\x20a\x20campaign','Create\x20segment\x20folder','--behavior\x20[name]','Database\x20to\x20query\x20(default:\x20information_schema)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--default','--delete','Behaviors\x20as\x20JSON\x20string','Workflow\x20session\x20management','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','--data\x20<data>','logs','-d,\x20--database\x20<name>','workspace','Timezone\x20(e.g.,\x20America/Los_Angeles)','exit','claude-4.5-sonnet','commands','--name\x20<names>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','--workspace\x20<name>','description','Create\x20a\x20new\x20LLM\x20project','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','--json','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','push','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','Workspace\x20name\x20(required)','activations\x20<segment_name>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--session\x20<id>','parents\x20[pattern]','argument','Workspace\x20description','session','4439704uwXjvv','history\x20[chat-id]','--kind\x20<type>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','create','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Include\x20retried\x20attempts','Agent\x20prompt/instructions','Open\x20segment\x20in\x20web\x20browser','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','--add-attributes\x20<json>','Clear\x20workflow\x20project\x20context','--reason\x20<text>','--site\x20<site>','Show\x20timeline\x20for\x20specific\x20attempt','--enriched','subcommandTerm','table','Add\x20attributes\x20from\x20JSON\x20file','--catalog\x20<catalog>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Workflow\x20attempt\x20management','Attributes\x20from\x20JSON\x20file','delete\x20<project-name-or-id>','log','Delete\x20an\x20agent','--yes','run\x20[workflow]','--database\x20<name>','--schedule-option\x20<value>','site','Arguments:','database','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Show\x20the\x20most\x20recent\x20chat','Workflow\x20parameter\x20(repeatable)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','--no-eval','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','End\x20time\x20filter\x20(ISO\x208601\x20format)','hidden','Show\x20stats\x20for\x20specific\x20stage','--limit\x20<n>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','llm','--port\x20<number>','tables\x20[pattern]','Customer\x20group\x20from\x20JSON\x20file','retry\x20<session-id>','commandUsage','Clear\x20session\x20context','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','segments\x20[path]','create\x20<segment_name>','Plaintext\x20template\x20content','--prompt\x20<text>','sonnet','resume\x20<name-or-path>','Change\x20to\x20directory\x20before\x20executing\x20command','outputHelp','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','CDP\x20segment\x20management\x20commands','--customer-group\x20<json>','logLevel','Add\x20attributes\x20as\x20JSON\x20string','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','-u,\x20--use','--html\x20<html>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','run\x20[name]','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Master\x20table\x20name','--email-sender-id\x20<id>','Output\x20directory','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','agents\x20[pattern]','Open\x20parent\x20segment\x20in\x20web\x20browser','Preview\x20without\x20creating\x20the\x20project','--add-behaviors\x20<json>','--dry-run','Output\x20folder\x20(default:\x20{project_name}.llm)','flatMap','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','--include-subtasks','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Master\x20database\x20name','Add\x20behaviors\x20from\x20JSON\x20file','workflow','engage','list','push\x20[file]','Use\x20TD\x20LLM\x20Proxy\x20pass-through\x20mode\x20(optionally\x20specify\x20custom\x20URL)','update\x20<name>','create\x20<name>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','[task-name]','usage','us01','result\x20<job-id>','GET','workflows\x20[project]','registeredArguments','Workflow\x20project\x20management','Request\x20body\x20as\x20JSON\x20string','264NvOzUs','Show\x20job\x20details','--database\x20<db>','--description\x20<text>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Create\x20a\x20new\x20agent\x20in\x20current\x20project','-v,\x20--verbose','--json-columns\x20<cols>','Custom\x20revision\x20name\x20(default:\x20timestamp)','desc','filter','attempt','set\x20<key=value>','clone\x20[source]','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Reason\x20for\x20killing\x20the\x20attempt','json','delete\x20<agent-name>','parent-segment','--new','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','slice','Force\x20retry\x20even\x20if\x20not\x20failed','List\x20jobs','Validate\x20journey\x20YAML\x20files\x20locally','-X,\x20--method\x20<method>','2235900BTbGZM','Start\x20a\x20new\x20chat\x20session','run','--folder\x20<name>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--temperature\x20<n>','Remove\x20a\x20profile','chdir','required','New\x20segment\x20name','argv','Customer\x20group\x20as\x20JSON\x20string','Resume\x20from\x20specific\x20task','action','--clear','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','use\x20[resource]\x20[value]','Resume\x20a\x20paused\x20campaign','Starter\x20message','--starter-message\x20<text>','-d,\x20--database\x20<database>','Show\x20segment\x20details\x20(alias\x20for\x20view)','9064165XatJjw','list\x20[project]','then','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Agent\x20description','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--project\x20<name>','Show\x20master\x20table\x20sample\x20data','Show\x20campaign\x20details','10QiIlCz','setup','port','Parent\x20segment\x20management','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Read\x20query\x20from\x20file','--system-prompt\x20<text>','Set\x20or\x20show\x20parent\x20segment\x20context','isArray','update\x20<segment_name>','hook','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Email\x20sender\x20ID\x20for\x20delivery','-f,\x20--file\x20<path>','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','schema\x20<type>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','-c,\x20--continue','--attribute\x20[name]','Parse\x20and\x20validate\x20without\x20executing','help','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','75565chWAQt','tdx\x20','show\x20[segment_name]','--agent\x20<name>','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Interactive\x20chat\x20selector','--to\x20<timestamp>','aliases','Unknown\x20action:\x20','use\x20<path>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Get\x20job\x20results','injectIntoOptions','LLM\x20agent\x20management','pause\x20<name-or-id>','Folder\x20description','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Filtering\x20rule\x20as\x20JSON\x20string','--description\x20<desc>','Save\x20output\x20to\x20file','Pause\x20a\x20running\x20journey','delete\x20<args...>','List\x20agents\x20in\x20current\x20project','--skip-validation','Export\x20journey(s)\x20as\x20YAML\x20files','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','sql\x20[segment_name]','opts','pull\x20[project]\x20[agent-name]','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','error','Show\x20email\x20template\x20details','Create\x20a\x20new\x20campaign','Table\x20management\x20commands','--attributes\x20<json>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','create\x20[name]','0.7','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','colorFn','tdx','list\x20[pattern]','stdout','query\x20[sql]','desc\x20[name]','optionTerm','attempt:','--status\x20<status>','--revision\x20<revision>','summary','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','--schedule-type\x20<type>','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','addHelpText','Usage:\x20','Update\x20an\x20existing\x20agent','--session-id\x20<id>','show\x20<name-or-id>','alias','remove\x20<name>','--type\x20<type>','Limit\x20number\x20of\x20rows','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','databases\x20[pattern]','update\x20<name-or-id>','show\x20[name]','format','--full','--parent-segment\x20<name>','Resume\x20a\x20conversation\x20(shows\x20selector)','--follow','project','sessions\x20[project]','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','subcommandDescription','System\x20prompt/instructions\x20(default:\x20empty)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','INVALID_ARGUMENT','--timeout\x20<seconds>','show\x20<name>','--params\x20<json>','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','folder','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Update\x20a\x20workspace','Create\x20a\x20workspace','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Update\x20an\x20email\x20template','\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','trace','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--timezone\x20<tz>','--agent\x20<ref>','Describe\x20table\x20schema','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','createAsync','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)','Output\x20file\x20path','push\x20[path]','argumentTerm','Include\x20execution\x20statistics','-n,\x20--name\x20<name>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Workflow\x20(Digdag)\x20management\x20commands','Agent\x20name','--name\x20<new-name>','Add\x20behaviors\x20as\x20JSON\x20string','--limit\x20<rows>','set\x20<args...>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Open\x20journey\x20in\x20web\x20browser','info\x20[segment_name]','directory','TRACE','9JYbEep','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','-1d','use\x20<name>','options','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','User\x20management\x20commands','Campaign\x20description','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','--attributes-file\x20<file>','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','39705zNrdzD','journeys\x20[pattern]','settings\x20<type>','Email\x20template\x20management','--invisible','Delete\x20an\x20email\x20template','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','New\x20workspace\x20name','jobs','List\x20available\x20LLM\x20models','Show\x20segment\x20schema\x20(column\x20types)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--output\x20<file>','\x20-\x20built\x20','Commands:','--type\x20<api_type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','map','Trino\x20catalog\x20(default:\x20td)','Delete\x20an\x20LLM\x20project','--include-stats','view\x20<name-or-path>','Set\x20operation\x20timeout\x20in\x20seconds','List\x20all\x20data\x20connections','--table\x20<table>','jsonl','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Kill\x20a\x20job','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Skip\x20confirmation\x20prompts','debug','auth','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','Output\x20as\x20JSON','clear','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','18Uwcgcd','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','backup\x20<name>','Preview\x20changes\x20without\x20writing\x20files','--from-task\x20<task>','--model\x20<name>','--rule-file\x20<file>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Skip\x20population\x20counting','Run\x20Trino\x20query\x20with\x20streaming\x20results','--jsonl','length','--plaintext\x20<text>','push\x20[parent_or_file]','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','show\x20<agent-name>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','projects\x20[pattern]','Update\x20a\x20campaign','--trace','--limit\x20<number>','Revision\x20name\x20(default:\x20timestamp)','_hidden','apiKey','attempts\x20[project]','Manage\x20workflow\x20project\x20secrets','delete\x20<name-or-id>','after',',\x20version\x20','Duplicate\x20a\x20campaign','delete\x20<name>','Enable\x20verbose\x20logging','--in\x20<database>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','--parent-folder\x20<name>','[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)','--add-behaviors-file\x20<file>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','templates\x20[pattern]','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','New\x20template\x20name','chats','submit\x20[query]','--segment\x20<path>','Authentication\x20management','AI-native\x20CLI\x20for\x20Treasure\x20Data','HTML\x20template\x20content','campaign','[action]','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','[options]\x20--\x20[claude-code-args...]','--behaviors-file\x20<file>','--no-proxy','--resume-from\x20<task>','Show\x20agent\x20details','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','buildTime','fields\x20[parent_name]','-y,\x20--yes','--no-color','show\x20<job-id>','Updated\x20timezone','Pause\x20a\x20campaign','Campaign\x20management','--format\x20<format>','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','--master','List\x20journeys\x20in\x20current\x20context','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Name\x20for\x20the\x20new\x20project\x20(required)','\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','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Template\x20name','fields\x20[name]','agent','secrets','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','LLM\x20project\x20management','LLM\x20project\x20to\x20use\x20(overrides\x20context)','api\x20[endpoint]','Resume\x20a\x20paused\x20journey','tsv','replace','campaigns\x20[pattern]','-r,\x20--recursive','Maximum\x20tool\x20iterations\x20(default:\x204)','--name\x20<text>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','pause\x20<name-or-path>','Campaign\x20type\x20(email\x20or\x20push)','desc\x20[segment_name]','Editor\x20type','--max-tool-iterations\x20<n>','Move\x20to\x20folder','Pull\x20workflow\x20project\x20to\x20local\x20folder','Skip\x20validation\x20of\x20.dig\x20files','-f,\x20--force','Database\x20name\x20(default:\x20information_schema)','Workspace\x20management','use\x20[name]','Parent\x20segment\x20description','folders\x20<parent_name>','\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','-w,\x20--web','resume\x20<name-or-id>','--name\x20<name>','--last','validate\x20[file]','name','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','gitRevision','Show\x20connection\x20details\x20by\x20name','--no-count-population','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Set\x20a\x20profile\x20configuration\x20value','Start\x20time\x20filter\x20(ISO\x208601\x20format)','requiredOption','includes','--debug','--from\x20<timestamp>','repeat','--include-retried','profile','-o,\x20--output\x20<file>','show\x20[table]','Create\x20a\x20new\x20profile','optionDescription','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','539628ngSgJt','status','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','pull\x20<project>\x20[target-dir]','isDirectory','test\x20[path]','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Output\x20as\x20JSON\x20Lines','validate\x20[target]','view\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Data\x20connection\x20management\x20(for\x20activations/exports)','validate\x20[name]','--llm-project\x20<name>','preAction','DEBUG','parse','profiles','workspaces\x20[pattern]'];a2_0x1658=function(){return _0x3d2846;};return a2_0x1658();}const profileCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x16f))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0xee));profileCmd['action'](()=>{const _0x230e15=a2_0x3ba930;profileCmd[_0x230e15(0x222)]();});const profileListAction=async _0x548a69=>{const _0x304186=a2_0x3ba930,_0x474a50=new ProfilesCommand(),_0x2fa0fa=program[_0x304186(0x2bf)](),_0x52c6c5=await _0x474a50[_0x304186(0x26e)]({'options':{..._0x2fa0fa,..._0x548a69},'args':[],'tdx':null});process['exit'](_0x52c6c5);};profileCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x240))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1ac))[a2_0x3ba930(0x279)](profileListAction),profileCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2c8))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x172))[a2_0x3ba930(0x2db)](a2_0x3ba930(0x108),'\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')[a2_0x3ba930(0x279)](async(_0x2026a9,_0x502b12)=>{const _0x3cada1=a2_0x3ba930,_0x23a2de=new ProfileCreateCommand(),_0x261eea=program[_0x3cada1(0x2bf)](),_0x16e75c=await _0x23a2de[_0x3cada1(0x26e)]({'options':{..._0x261eea,..._0x502b12},'args':_0x2026a9?[_0x2026a9]:[],'tdx':null});process[_0x3cada1(0x1cc)](_0x16e75c);}),profileCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2e1))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x272))['addHelpText'](a2_0x3ba930(0x108),a2_0x3ba930(0x299))[a2_0x3ba930(0x279)](async(_0x4a182d,_0x5a049c)=>{const _0x54819c=a2_0x3ba930,_0x365aae=new ProfileRemoveCommand(),_0x18972a=program[_0x54819c(0x2bf)](),_0x4a493c=await _0x365aae[_0x54819c(0x26e)]({'options':{..._0x18972a,..._0x5a049c},'args':[_0x4a182d],'tdx':null});process[_0x54819c(0x1cc)](_0x4a493c);}),profileCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x25d))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x167))['addHelpText'](a2_0x3ba930(0x108),a2_0x3ba930(0x326))[a2_0x3ba930(0x279)](async(_0x7497e1,_0x54af8d)=>{const _0x2b78e7=a2_0x3ba930,_0x1b81b6=new ProfileSetCommand(),_0x590376=program['opts'](),_0x91041e=await _0x1b81b6[_0x2b78e7(0x26e)]({'options':{..._0x590376,..._0x54af8d},'args':[_0x7497e1],'tdx':null});process[_0x2b78e7(0x1cc)](_0x91041e);}),profileCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x320))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1e7))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1c2),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x3ba930(0x2db)]('after',a2_0x3ba930(0x159))[a2_0x3ba930(0x279)](async(_0x13774e,_0x299d7f)=>{const _0x51e065=a2_0x3ba930,_0x2689db=new ProfileUseCommand(),_0x418594=program[_0x51e065(0x2bf)](),_0x1d6320=await _0x2689db[_0x51e065(0x26e)]({'options':{..._0x418594,..._0x299d7f},'args':[_0x13774e],'tdx':null});process['exit'](_0x1d6320);});const engageCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x23f))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x10f)),createEngageAction=_0x5da0b0=>{return async(_0x36fb74,_0x4d54c3)=>{const _0x426bbf=a2_0x3b10,_0x313baf=new _0x5da0b0(),_0x431e08=program[_0x426bbf(0x2bf)](),_0x3a767c=await createTDXInstance(_0x431e08),_0x196481=await _0x313baf[_0x426bbf(0x26e)]({'options':{..._0x431e08,..._0x4d54c3},'args':[_0x36fb74],'tdx':_0x3a767c});process[_0x426bbf(0x1cc)](_0x196481);};},createEngageNoArgAction=_0x26d859=>{return async _0x14b632=>{const _0x2ee651=a2_0x3b10,_0x45ef0d=new _0x26d859(),_0x5b6811=program[_0x2ee651(0x2bf)](),_0x170484=await createTDXInstance(_0x5b6811),_0x506e23=await _0x45ef0d['run']({'options':{..._0x5b6811,..._0x14b632},'args':[],'tdx':_0x170484});process[_0x2ee651(0x1cc)](_0x506e23);};},campaignCmd=engageCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x11f))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x130)),campaignListAction=async(_0x1d5cb2,_0x36fd3c)=>{const _0x1e95b8=a2_0x3ba930,_0xc94d=new EngageCampaignsCommand(),_0x4571b2=program[_0x1e95b8(0x2bf)](),_0x1bbf8b=await createTDXInstance(_0x4571b2),_0x5d5243=await _0xc94d[_0x1e95b8(0x26e)]({'options':{..._0x4571b2,..._0x36fd3c},'args':_0x1d5cb2?[_0x1d5cb2]:[],'tdx':_0x1bbf8b});process['exit'](_0x5d5243);};campaignCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2cd))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x245))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2e2),a2_0x3ba930(0x33b))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2d3),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option'](a2_0x3ba930(0x1d2),a2_0x3ba930(0x193))['action'](campaignListAction),engageCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x146))[a2_0x3ba930(0x1d3)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')['option']('--type\x20<type>',a2_0x3ba930(0x33b))['option'](a2_0x3ba930(0x2d3),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d2),a2_0x3ba930(0x193))['action'](campaignListAction),campaignCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2df))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x28c))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d2),a2_0x3ba930(0x193))[a2_0x3ba930(0x194)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x3ba930(0x279)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1e6))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2c4))[a2_0x3ba930(0x169)](a2_0x3ba930(0x15c),'Campaign\x20name')[a2_0x3ba930(0x169)](a2_0x3ba930(0x2e2),a2_0x3ba930(0x14c))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d2),a2_0x3ba930(0x1da))['option'](a2_0x3ba930(0x2b6),'Campaign\x20description')['option'](a2_0x3ba930(0x11b),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x22f),a2_0x3ba930(0x29a))[a2_0x3ba930(0x194)](a2_0x3ba930(0x258),a2_0x3ba930(0x335))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1a9),a2_0x3ba930(0x1c1))[a2_0x3ba930(0x194)](a2_0x3ba930(0x303),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2e6))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0xff))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d2),'Workspace\x20name')[a2_0x3ba930(0x194)](a2_0x3ba930(0x15c),'New\x20campaign\x20name')[a2_0x3ba930(0x194)](a2_0x3ba930(0x2b6),a2_0x3ba930(0x324))['option'](a2_0x3ba930(0x11b),a2_0x3ba930(0x27c))[a2_0x3ba930(0x194)](a2_0x3ba930(0x22f),a2_0x3ba930(0x29a))[a2_0x3ba930(0x194)]('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1a9),a2_0x3ba930(0x1c1))['option'](a2_0x3ba930(0x303),a2_0x3ba930(0x1d9))[a2_0x3ba930(0x279)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3ba930(0x19b)]('delete\x20<name-or-id>')[a2_0x3ba930(0x1d3)]('Delete\x20a\x20campaign')['option'](a2_0x3ba930(0x1d2),a2_0x3ba930(0x193))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1fc),a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1a4))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1bd))[a2_0x3ba930(0x194)]('--workspace\x20<name>',a2_0x3ba930(0x193))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2b2))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x12f))[a2_0x3ba930(0x194)]('--workspace\x20<name>','Workspace\x20name')[a2_0x3ba930(0x279)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0x3ba930(0x15b))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x27e))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d2),a2_0x3ba930(0x193))[a2_0x3ba930(0x279)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3ba930(0x19b)]('duplicate\x20<name-or-id>')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x10a))['option'](a2_0x3ba930(0x1d2),a2_0x3ba930(0x193))[a2_0x3ba930(0x279)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x3ba930(0x19b)]('template')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x32d)),templateListAction=async(_0x1e0ecd,_0x1e7881)=>{const _0x2fefca=a2_0x3ba930,_0x235209=new EngageTemplatesCommand(),_0x3bd9a9=program[_0x2fefca(0x2bf)](),_0xd6180e=await createTDXInstance(_0x3bd9a9),_0x2c0ad8=await _0x235209[_0x2fefca(0x26e)]({'options':{..._0x3bd9a9,..._0x1e7881},'args':_0x1e0ecd?[_0x1e0ecd]:[],'tdx':_0xd6180e});process[_0x2fefca(0x1cc)](_0x2c0ad8);};templateCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2cd))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x265))['option'](a2_0x3ba930(0x1d2),a2_0x3ba930(0x193))[a2_0x3ba930(0x279)](templateListAction),engageCmd['command'](a2_0x3ba930(0x116))['description'](a2_0x3ba930(0x211))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d2),a2_0x3ba930(0x193))['action'](templateListAction),templateCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2df))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2c3))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d2),'Workspace\x20name')['option'](a2_0x3ba930(0x2e9),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x3ba930(0x279)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3ba930(0x19b)]('create')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x190))[a2_0x3ba930(0x169)](a2_0x3ba930(0x15c),a2_0x3ba930(0x13b))[a2_0x3ba930(0x169)]('--subject\x20<subject>','Email\x20subject\x20template')[a2_0x3ba930(0x169)](a2_0x3ba930(0x22a),a2_0x3ba930(0x11e))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1d2),'Workspace\x20name\x20(required)')['option'](a2_0x3ba930(0xf9),a2_0x3ba930(0x21d))[a2_0x3ba930(0x194)]('--editor-type\x20<type>',a2_0x3ba930(0x14e))['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2e6))['description'](a2_0x3ba930(0x2ff))[a2_0x3ba930(0x194)]('--workspace\x20<name>',a2_0x3ba930(0x193))[a2_0x3ba930(0x194)]('--name\x20<name>',a2_0x3ba930(0x118))[a2_0x3ba930(0x194)]('--subject\x20<subject>',a2_0x3ba930(0x1a6))[a2_0x3ba930(0x194)](a2_0x3ba930(0x22a),a2_0x3ba930(0x11e))[a2_0x3ba930(0x194)](a2_0x3ba930(0xf9),a2_0x3ba930(0x21d))[a2_0x3ba930(0x279)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x107))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x32f))['option'](a2_0x3ba930(0x1d2),'Workspace\x20name')[a2_0x3ba930(0x194)](a2_0x3ba930(0x1fc),a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x3ba930(0x1ca))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x155)),workspaceListAction=async(_0x4bf222,_0x463f8e)=>{const _0xf5db37=a2_0x3ba930,_0x22ee2b=new EngageWorkspacesCommand(),_0x23782b=program[_0xf5db37(0x2bf)](),_0x5391ce=await createTDXInstance(_0x23782b),_0x54960e=await _0x22ee2b[_0xf5db37(0x26e)]({'options':{..._0x23782b,..._0x463f8e},'args':_0x4bf222?[_0x4bf222]:[],'tdx':_0x5391ce});process['exit'](_0x54960e);};workspaceCmd['command'](a2_0x3ba930(0x2cd))['description'](a2_0x3ba930(0x135))[a2_0x3ba930(0x279)](workspaceListAction),engageCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x188))['description'](a2_0x3ba930(0x20a))[a2_0x3ba930(0x279)](workspaceListAction),workspaceCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2df))[a2_0x3ba930(0x1d3)]('Show\x20workspace\x20details')[a2_0x3ba930(0x194)](a2_0x3ba930(0x2e9),a2_0x3ba930(0x23b))[a2_0x3ba930(0x279)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1e6))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2fd))[a2_0x3ba930(0x169)](a2_0x3ba930(0x15c),a2_0x3ba930(0x193))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2b6),a2_0x3ba930(0x1e0))[a2_0x3ba930(0x279)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2e6))['description'](a2_0x3ba930(0x2fc))['option'](a2_0x3ba930(0x15c),a2_0x3ba930(0x331))[a2_0x3ba930(0x194)](a2_0x3ba930(0x2b6),a2_0x3ba930(0x1e0))[a2_0x3ba930(0x279)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x3ba930(0x19b)]('delete\x20<name-or-id>')['description']('Delete\x20a\x20workspace')['option'](a2_0x3ba930(0x1fc),a2_0x3ba930(0x18b))[a2_0x3ba930(0x279)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x320))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2f3))['action'](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x3ba930(0x19b)]('connection')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x181)),connectionListAction=async _0x4d2405=>{const _0x4c1650=a2_0x3ba930,_0x16c5f4=new ConnectionListCommand(),_0x6d6a93=program['opts'](),_0x3188f5=await createTDXInstance(_0x6d6a93),_0x1bf144=await _0x16c5f4[_0x4c1650(0x26e)]({'options':{..._0x6d6a93,..._0x4d2405},'args':[],'tdx':_0x3188f5});process[_0x4c1650(0x1cc)](_0x1bf144);};connectionCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x240))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0xdf))[a2_0x3ba930(0x279)](connectionListAction),program[a2_0x3ba930(0x19b)]('connections',{'hidden':!![]})[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x336))[a2_0x3ba930(0x279)](connectionListAction),connectionCmd['command'](a2_0x3ba930(0x2f6))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x164))[a2_0x3ba930(0x279)](async(_0x5c1a4f,_0x3d43b1)=>{const _0x12b5f2=a2_0x3ba930,_0x2c74d6=new ConnectionShowCommand(),_0x2c96e7=program[_0x12b5f2(0x2bf)](),_0x48b708=await createTDXInstance(_0x2c96e7),_0xb5c69b=await _0x2c74d6[_0x12b5f2(0x26e)]({'options':{..._0x2c96e7,..._0x3d43b1},'args':[_0x5c1a4f],'tdx':_0x48b708});process[_0x12b5f2(0x1cc)](_0xb5c69b);}),connectionCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x29d))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x223))['action'](async(_0x432d3c,_0x379834)=>{const _0x1970ad=a2_0x3ba930,_0x1f2796=new ConnectionSchemaCommand(),_0x5f4158=program[_0x1970ad(0x2bf)](),_0x402f6f=await createTDXInstance(_0x5f4158),_0x572d0f=await _0x1f2796[_0x1970ad(0x26e)]({'options':{..._0x5f4158,..._0x379834},'args':[_0x432d3c],'tdx':_0x402f6f});process[_0x1970ad(0x1cc)](_0x572d0f);}),connectionCmd[a2_0x3ba930(0x19b)]('types')[a2_0x3ba930(0x1d3)]('List\x20available\x20connector\x20types')[a2_0x3ba930(0x279)](async _0x56cd38=>{const _0x25825f=a2_0x3ba930,_0x3428fa=new ConnectionTypesCommand(),_0x6c887c=program[_0x25825f(0x2bf)](),_0x1bd851=await createTDXInstance(_0x6c887c),_0x2b8da2=await _0x3428fa[_0x25825f(0x26e)]({'options':{..._0x6c887c,..._0x56cd38},'args':[],'tdx':_0x1bd851});process['exit'](_0x2b8da2);}),connectionCmd['command'](a2_0x3ba930(0x32c))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x270))[a2_0x3ba930(0x279)](async(_0x3fb3f8,_0x372c34)=>{const _0x3b079c=a2_0x3ba930,_0x342d67=new ConnectionSettingsCommand(),_0x3ec60f=program[_0x3b079c(0x2bf)](),_0x5599d4=await createTDXInstance(_0x3ec60f),_0x3e5f8d=await _0x342d67[_0x3b079c(0x26e)]({'options':{..._0x3ec60f,..._0x372c34},'args':[_0x3fb3f8],'tdx':_0x5599d4});process['exit'](_0x3e5f8d);});const journeyCmd=program[a2_0x3ba930(0x19b)]('journey')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1a0)),journeyListAction=async(_0x4abd1d,_0x163e1f)=>{const _0x4e1d61=a2_0x3ba930,_0x3e08f6=new JourneyListCommand(),_0x22fc26=program[_0x4e1d61(0x2bf)](),_0x136be5=await createTDXInstance(_0x22fc26),_0x4ce08c=await _0x3e08f6[_0x4e1d61(0x26e)]({'options':{..._0x22fc26,..._0x163e1f},'args':_0x4abd1d?[_0x4abd1d]:[],'tdx':_0x136be5});process[_0x4e1d61(0x1cc)](_0x4ce08c);};journeyCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x2cd))['description'](a2_0x3ba930(0x134))[a2_0x3ba930(0x279)](journeyListAction),journeyCmd['command'](a2_0x3ba930(0x341))[a2_0x3ba930(0x1d3)]('Show\x20journey\x20details')[a2_0x3ba930(0x194)](a2_0x3ba930(0x15a),a2_0x3ba930(0x319))[a2_0x3ba930(0x194)](a2_0x3ba930(0x340),a2_0x3ba930(0x30f))[a2_0x3ba930(0x279)](async(_0x311e28,_0x316c64)=>{const _0x5d6246=a2_0x3ba930,_0x13a4e5=new JourneyViewCommand(),_0x4affe1=program[_0x5d6246(0x2bf)](),_0x28ad03=await createTDXInstance(_0x4affe1),_0x2868b5=await _0x13a4e5[_0x5d6246(0x26e)]({'options':{..._0x4affe1,..._0x316c64},'args':[_0x311e28],'tdx':_0x28ad03});process['exit'](_0x2868b5);}),journeyCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x1b4))[a2_0x3ba930(0x1d3)]('Show\x20journey\x20statistics')[a2_0x3ba930(0x194)]('--stage\x20<name>',a2_0x3ba930(0x20d))['action'](async(_0x1e8d23,_0x562a5d)=>{const _0x461541=a2_0x3ba930,_0x227705=new JourneyStatsCommand(),_0x59b7be=program['opts'](),_0x3dcdd7=await createTDXInstance(_0x59b7be),_0x3d6dd4=await _0x227705['run']({'options':{..._0x59b7be,..._0x562a5d},'args':[_0x1e8d23],'tdx':_0x3dcdd7});process[_0x461541(0x1cc)](_0x3d6dd4);}),journeyCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x14b))['description'](a2_0x3ba930(0x2b8))[a2_0x3ba930(0x279)](async(_0x269611,_0x213741)=>{const _0x357ada=a2_0x3ba930,_0x200374=new JourneyPauseCommand(),_0xc25c96=program[_0x357ada(0x2bf)](),_0x1183a8=await createTDXInstance(_0xc25c96),_0xf35990=await _0x200374['run']({'options':{..._0xc25c96,..._0x213741},'args':[_0x269611],'tdx':_0x1183a8});process['exit'](_0xf35990);}),journeyCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x220))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x143))['action'](async(_0x25f5da,_0x22ea42)=>{const _0x2956ba=a2_0x3ba930,_0x3f9ce4=new JourneyResumeCommand(),_0x4408b8=program[_0x2956ba(0x2bf)](),_0x1cb114=await createTDXInstance(_0x4408b8),_0x49a8ce=await _0x3f9ce4[_0x2956ba(0x26e)]({'options':{..._0x4408b8,..._0x22ea42},'args':[_0x25f5da],'tdx':_0x1cb114});process['exit'](_0x49a8ce);}),journeyCmd['command']('pull\x20[name]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2bc))['option'](a2_0x3ba930(0x12b),a2_0x3ba930(0x18b))[a2_0x3ba930(0x194)](a2_0x3ba930(0x236),a2_0x3ba930(0x10e))[a2_0x3ba930(0x279)](async(_0x36eb4f,_0x4c98e6)=>{const _0x1c0fe7=a2_0x3ba930,_0x2009c9=new JourneyPullCommand(),_0x1678f8=program['opts'](),_0x570ae3=await createTDXInstance(_0x1678f8),_0x138909=await _0x2009c9[_0x1c0fe7(0x26e)]({'options':{..._0x1678f8,..._0x4c98e6},'args':_0x36eb4f?[_0x36eb4f]:[],'tdx':_0x570ae3});process[_0x1c0fe7(0x1cc)](_0x138909);}),journeyCmd[a2_0x3ba930(0x19b)]('push\x20[target]')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1d1))[a2_0x3ba930(0x279)](async(_0x368817,_0x102252)=>{const _0x37cd53=a2_0x3ba930,_0x2935e7=new JourneyPushCommand(),_0x362cd2=program[_0x37cd53(0x2bf)](),_0x5e240e=await createTDXInstance(_0x362cd2),_0x2c6d92=await _0x2935e7[_0x37cd53(0x26e)]({'options':{..._0x362cd2,..._0x102252},'args':_0x368817?[_0x368817]:[],'tdx':_0x5e240e});process['exit'](_0x2c6d92);}),journeyCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x17d))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x26a))[a2_0x3ba930(0x279)](async(_0x281300,_0x9b9e87)=>{const _0x4b4f4e=a2_0x3ba930,_0x4a16be=new JourneyValidateCommand(),_0xa9f14c=program['opts'](),_0x52b39f=await createTDXInstance(_0xa9f14c),_0x499d9e=await _0x4a16be['run']({'options':{..._0xa9f14c,..._0x9b9e87},'args':_0x281300?[_0x281300]:[],'tdx':_0x52b39f});process[_0x4b4f4e(0x1cc)](_0x499d9e);}),program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x32b))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2a8))[a2_0x3ba930(0x279)](journeyListAction);const agentSyncCmd=program[a2_0x3ba930(0x19b)](a2_0x3ba930(0x13d))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2b1));agentSyncCmd['command'](a2_0x3ba930(0x2c0))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0xfb))['option']('-o,\x20--output\x20<dir>',a2_0x3ba930(0x230))[a2_0x3ba930(0x194)](a2_0x3ba930(0x153),'Overwrite\x20local\x20changes\x20without\x20confirmation')[a2_0x3ba930(0x279)](async(_0x2eda8f,_0x21abdf,_0x1403e2)=>{const _0x292544=a2_0x3ba930,_0xbe3a34=new AgentPullCommand(),_0x2154cb=program[_0x292544(0x2bf)](),_0x18996b=await createTDXInstance(_0x2154cb),_0x14d1ec=[];if(_0x2eda8f)_0x14d1ec['push'](_0x2eda8f);if(_0x21abdf)_0x14d1ec[_0x292544(0x1d8)](_0x21abdf);const _0x205968=await _0xbe3a34[_0x292544(0x26e)]({'options':{..._0x2154cb,..._0x1403e2},'args':_0x14d1ec,'tdx':_0x18996b});process[_0x292544(0x1cc)](_0x205968);}),agentSyncCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x30d))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x21a))[a2_0x3ba930(0x194)](a2_0x3ba930(0x153),'Push\x20without\x20confirmation')[a2_0x3ba930(0x279)](async(_0x5ee455,_0x57c732)=>{const _0x223665=a2_0x3ba930,_0x12877a=new AgentPushCommand(),_0x25d906=program[_0x223665(0x2bf)](),_0x266b51=await createTDXInstance(_0x25d906),_0x32678e=await _0x12877a[_0x223665(0x26e)]({'options':{..._0x25d906,..._0x57c732},'args':_0x5ee455?[_0x5ee455]:[],'tdx':_0x266b51});process['exit'](_0x32678e);}),agentSyncCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x25e))['description'](a2_0x3ba930(0x228))[a2_0x3ba930(0x194)](a2_0x3ba930(0x310),a2_0x3ba930(0x136))[a2_0x3ba930(0x279)](async(_0x4fadb8,_0x1edc0b)=>{const _0x49be50=a2_0x3ba930,_0x2e1899=new AgentCloneCommand(),_0x2b9717=program[_0x49be50(0x2bf)](),_0x3fd9=await createTDXInstance(_0x2b9717),_0x2c63c8=await _0x2e1899[_0x49be50(0x26e)]({'options':{..._0x2b9717,..._0x1edc0b},'args':_0x4fadb8?[_0x4fadb8]:[],'tdx':_0x3fd9});process[_0x49be50(0x1cc)](_0x2c63c8);}),agentSyncCmd['command'](a2_0x3ba930(0x17a))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x196))[a2_0x3ba930(0x194)](a2_0x3ba930(0x1cf),'Run\x20specific\x20tests\x20(comma-separated)')[a2_0x3ba930(0x194)]('--dry-run',a2_0x3ba930(0x2a1))['option'](a2_0x3ba930(0x207),'Execute\x20tests\x20without\x20evaluation\x20(Phase\x202\x20only)')[a2_0x3ba930(0x279)](async(_0x3a4856,_0x4f105f)=>{const _0xaf1c6e=a2_0x3ba930,_0x2f8287=new AgentTestCommand(),_0x526c8a=program['opts'](),_0x29cfcd=await createTDXInstance(_0x526c8a),_0x2fee34=await _0x2f8287[_0xaf1c6e(0x26e)]({'options':{..._0x526c8a,..._0x4f105f},'args':_0x3a4856?[_0x3a4856]:[],'tdx':_0x29cfcd});process[_0xaf1c6e(0x1cc)](_0x2fee34);}),agentSyncCmd['command'](a2_0x3ba930(0x2cd))['description'](a2_0x3ba930(0x2ba))['action'](llmAgentListAction),agentSyncCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0xfc))['description'](a2_0x3ba930(0x127))[a2_0x3ba930(0x279)](async(_0x5a2de6,_0x482f5b)=>{const _0x14d8d0=a2_0x3ba930,_0x355cf7=new LLMAgentShowCommand(),_0x401d03=program[_0x14d8d0(0x2bf)](),_0x240338=await createTDXInstance(_0x401d03),_0x5719e8=await _0x355cf7[_0x14d8d0(0x26e)]({'options':{..._0x401d03,..._0x482f5b},'args':[_0x5a2de6],'tdx':_0x240338});process[_0x14d8d0(0x1cc)](_0x5719e8);}),agentSyncCmd[a2_0x3ba930(0x19b)](a2_0x3ba930(0x244))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x256))[a2_0x3ba930(0x194)](a2_0x3ba930(0x293),a2_0x3ba930(0x2f2))[a2_0x3ba930(0x194)](a2_0x3ba930(0xf2),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x3ba930(0x1cd))[a2_0x3ba930(0x194)](a2_0x3ba930(0x280),a2_0x3ba930(0x27f))[a2_0x3ba930(0x194)](a2_0x3ba930(0x14f),a2_0x3ba930(0x148),'4')['option'](a2_0x3ba930(0x271),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x3ba930(0x2c9))[a2_0x3ba930(0x279)](async(_0x306da7,_0x5aa5bc)=>{const _0x32b6fc=a2_0x3ba930,_0x150e89=new LLMAgentCreateCommand(),_0x3995f4=program[_0x32b6fc(0x2bf)](),_0x2fd970=await createTDXInstance(_0x3995f4),_0x36cdfb=await _0x150e89['run']({'options':{..._0x3995f4,..._0x5aa5bc},'args':[_0x306da7],'tdx':_0x2fd970});process[_0x32b6fc(0x1cc)](_0x36cdfb);}),agentSyncCmd[a2_0x3ba930(0x19b)]('update\x20<agent-name>')[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x2dd))[a2_0x3ba930(0x194)](a2_0x3ba930(0x149),a2_0x3ba930(0x313))[a2_0x3ba930(0x194)](a2_0x3ba930(0x21e),a2_0x3ba930(0x1e9))['option'](a2_0x3ba930(0x252),a2_0x3ba930(0x287))[a2_0x3ba930(0x194)]('--starter-message\x20<text>',a2_0x3ba930(0x27f))['action'](async(_0x4143fe,_0x238781)=>{const _0x116d77=a2_0x3ba930,_0x1695ab=new LLMAgentUpdateCommand(),_0x2a69c3=program[_0x116d77(0x2bf)](),_0x297843=await createTDXInstance(_0x2a69c3),_0x319bce=await _0x1695ab[_0x116d77(0x26e)]({'options':{..._0x2a69c3,..._0x238781},'args':[_0x4143fe],'tdx':_0x297843});process['exit'](_0x319bce);}),agentSyncCmd['command'](a2_0x3ba930(0x262))[a2_0x3ba930(0x1d3)](a2_0x3ba930(0x1fb))[a2_0x3ba930(0x279)](async(_0x396aef,_0x230e62)=>{const _0x3c3238=a2_0x3ba930,_0x24fd69=new LLMAgentDeleteCommand(),_0x217cee=program[_0x3c3238(0x2bf)](),_0xf090a=await createTDXInstance(_0x217cee),_0x1d3efa=await _0x24fd69[_0x3c3238(0x26e)]({'options':{..._0x217cee,..._0x230e62},'args':[_0x396aef],'tdx':_0xf090a});process[_0x3c3238(0x1cc)](_0x1d3efa);});export{program};export function runCLI(){const _0x27d9b1=a2_0x3ba930,_0x35f04e=!process[_0x27d9b1(0x276)][_0x27d9b1(0x267)](0x2)[_0x27d9b1(0xf8)];showBriefHelp=_0x35f04e,program[_0x27d9b1(0x186)](process[_0x27d9b1(0x276)]),_0x35f04e&&program[_0x27d9b1(0x222)](),process['stderr'][_0x27d9b1(0x1b7)]&&process[_0x27d9b1(0x276)][_0x27d9b1(0xf8)]>0x2&&!isDevVersion()&&checkForUpdate(currentVersion)[_0x27d9b1(0x285)](_0x59fe4f=>{_0x59fe4f&&displayUpdateNotification(_0x59fe4f);})['catch'](()=>{});}
|
|
1
|
+
const a2_0x2babb7=a2_0x11a7;(function(_0x483655,_0x1f24cc){const _0x4e1d78=a2_0x11a7,_0x11d055=_0x483655();while(!![]){try{const _0x38e9f0=-parseInt(_0x4e1d78(0x252))/0x1+-parseInt(_0x4e1d78(0x23c))/0x2+parseInt(_0x4e1d78(0x321))/0x3+parseInt(_0x4e1d78(0x24f))/0x4*(parseInt(_0x4e1d78(0x2fe))/0x5)+-parseInt(_0x4e1d78(0x2e7))/0x6+parseInt(_0x4e1d78(0x307))/0x7+parseInt(_0x4e1d78(0x2ff))/0x8*(parseInt(_0x4e1d78(0x24a))/0x9);if(_0x38e9f0===_0x1f24cc)break;else _0x11d055['push'](_0x11d055['shift']());}catch(_0x501a9d){_0x11d055['push'](_0x11d055['shift']());}}}(a2_0x5dfa,0x58ce1));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/tdx-logger.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';function a2_0x11a7(_0x30c7ce,_0x1e1778){_0x30c7ce=_0x30c7ce-0x13c;const _0x5dfa1a=a2_0x5dfa();let _0x11a708=_0x5dfa1a[_0x30c7ce];return _0x11a708;}import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{LLMProxyCommand}from'./commands/llm-proxy.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';function a2_0x5dfa(){const _0x2b02cd=['-v,\x20--verbose','Database\x20to\x20use\x20(overrides\x20context)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Behaviors\x20from\x20JSON\x20file','Show\x20parent\x20segment\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20available\x20LLM\x20models','Open\x20segment\x20in\x20web\x20browser','repeat','argument','Remove\x20a\x20profile','auth','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Folder\x20name\x20for\x20organization','--email-sender-id\x20<id>','--full','--enriched','--add-behaviors-file\x20<file>','List\x20all\x20users\x20in\x20the\x20account','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','requiredOption','--starter-message\x20<text>','stderr','pull\x20[project]\x20[agent-name]','description','Resume\x20a\x20paused\x20journey','action','update\x20<agent-name>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','duplicate\x20<name-or-id>','End\x20time\x20filter\x20(ISO\x208601\x20format)','Override\x20project\x20name','Output\x20as\x20JSON','--add-attributes-file\x20<file>','use\x20<name>','Table\x20management\x20commands','show\x20[segment_name]','history\x20[chat-id]','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','template','segments\x20[path]','--job-type\x20<type>','Pull\x20workflow\x20project\x20to\x20local\x20folder','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','port','--name\x20<new-name>','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','-w,\x20--web','--rule-file\x20<file>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','user','Workspace\x20description','Run\x20specific\x20tests\x20(comma-separated)','engage','--description\x20<text>','chats','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','claude\x20[args...]','Output\x20file\x20path\x20(default:\x20<name>.yml)','launch\x20<name-or-id>','update\x20<segment_name>','Update\x20a\x20campaign','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Skip\x20validation\x20of\x20.dig\x20files','Email\x20sender\x20ID\x20for\x20delivery','Set\x20or\x20show\x20parent\x20segment\x20context','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','Show\x20master\x20table\x20sample\x20data','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--model\x20<name>','sql\x20[segment_name]','Resume\x20a\x20paused\x20campaign','padEnd','Interactive\x20chat\x20selector','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','upload\x20[project-name-or-dir]','[options]\x20--\x20[claude-code-args...]','969640uWRxHE','Name\x20for\x20the\x20new\x20project\x20(required)','Updated\x20schedule\x20option','Save\x20output\x20to\x20file','preAction','Resume\x20from\x20specific\x20task\x20(retry)','Workspace\x20management','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','-d,\x20--database\x20<database>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','[DEPRECATED]\x20Segment\x20folder\x20management','attempt','--type\x20<api_type>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','3167451Ofacxw','isTTY','-r,\x20--resume','view\x20<name-or-path>','Data\x20connection\x20management\x20(for\x20activations/exports)','4hBlRyg','4000','-o,\x20--output\x20<dir>','376709BbBqDW','opts','List\x20all\x20data\x20connections','create','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','push\x20[source-dir]','Output\x20file\x20path','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Read\x20query\x20from\x20file','--to\x20<timestamp>','--schedule-option\x20<value>','set\x20<key=value>','Enable\x20verbose\x20logging','show\x20<folder_ref>','job','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','Add\x20behaviors\x20as\x20JSON\x20string','--version','after','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','pull\x20[parent_or_file]','--yes','workspaces\x20[pattern]','Output\x20folder\x20(default:\x20{project_name}.llm)','--add-behaviors\x20<json>','List\x20agents\x20in\x20current\x20project','push\x20[path]','Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)','--master','download\x20<project-name>\x20[output-dir]','[task-name]','isArray','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','create\x20<parent_name>\x20<folder_name>','sessions\x20[project]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','parse','Remove\x20API\x20key\x20from\x20system\x20keychain','List\x20journeys\x20(alias\x20for\x20journey\x20list)','replace','command','help','--include-retried','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','update\x20<name-or-id>','LLM\x20agent\x20management','remove\x20<name>','--new','mcp','argumentTerm','--editor-type\x20<type>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Trino\x20catalog\x20(default:\x20td)','--from\x20<timestamp>','--timezone\x20<tz>','Show\x20journey\x20statistics','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','Show\x20segment\x20schema\x20(column\x20types)','--last','information_schema','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--system-prompt\x20<text>','Push\x20without\x20confirmation','activations\x20<segment_name>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','--data\x20<data>','--customer-group-file\x20<file>','--default','Execute\x20tests\x20without\x20evaluation\x20(Phase\x202\x20only)','argv','Overwrite\x20local\x20changes\x20without\x20confirmation','Create\x20a\x20workspace','--no-proxy','logs','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','--format\x20<format>','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Email\x20subject\x20template','backup\x20<name>','Parent\x20segment\x20description','--project\x20<name>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','length','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file',',\x20version\x20','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','Temperature\x20(0.0-2.0,\x20default:\x200.7)','preview\x20[name]','table','HTML\x20template\x20content','options','--no-eval','map','debug','--database\x20<db>','tables\x20[pattern]','noColor','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','Include\x20subtasks\x20in\x20tasks\x20output','Maximum\x20tool\x20iterations\x20(default:\x204)','agent','Pull\x20child\x20segments\x20to\x20YAML\x20files','workflow','--interval\x20<range>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Open\x20parent\x20segment\x20in\x20web\x20browser','slice','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Unknown\x20action:\x20','templates\x20[pattern]','--site\x20<site>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Preview\x20operation\x20without\x20executing','New\x20template\x20name','pull\x20<project>\x20[target-dir]','-o,\x20--output\x20<file>','subcommandDescription','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','-n,\x20--name\x20<name>','Run\x20Trino\x20query\x20with\x20streaming\x20results','Request\x20body\x20as\x20JSON\x20string','outputHelp','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--prompt\x20<text>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','List\x20all\x20available\x20profiles','Task\x20name\x20for\x20logs\x20action','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','--debug','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','directory','Workspace\x20name\x20(required)','argumentDescription','--status\x20<status>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','--skip-validation','--type\x20<type>','Create\x20segment\x20folder','--name\x20<name>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','error','create\x20<segment_name>','2542302qRfztK','--clear','--customer-group\x20<json>','jsonl','show\x20<agent-name>','option','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','preview\x20[file]','Change\x20to\x20directory\x20before\x20executing\x20command','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','view\x20[segment_name]','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','TRACE','INVALID_ARGUMENT','delete\x20<agent-name>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--rule\x20<json>','-p,\x20--profile\x20<name>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--jsonl','restore\x20<folder>','join','3023015BMPPtc','8dDYPjQ','--json','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','\x20-\x20built\x20','--limit\x20<rows>','list\x20[pattern]','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','project','1319633ANZDbO','retry\x20<session-id>','Pause\x20a\x20campaign','Delete\x20a\x20campaign','--kind\x20<type>','resume\x20<name-or-path>','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Update\x20an\x20existing\x20agent','Include\x20retried\x20attempts','Submit\x20a\x20job','-f,\x20--file\x20<path>','unset\x20<resource>','--table','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','timeline\x20[project.workflow]','Resume\x20a\x20conversation\x20(shows\x20selector)','validate\x20[file]','--params\x20<json>','Skip\x20confirmation\x20prompts','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','List\x20jobs','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','summary','-1d','Delete\x20an\x20agent','1511790wtvmHP','commandDescription','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','hook','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20operation\x20timeout\x20in\x20seconds','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--behavior\x20[name]','Preview\x20without\x20creating\x20the\x20project','--trace','Follow/watch\x20timeline\x20for\x20running\x20attempts','folder','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','--agent\x20<name>','Database\x20name\x20(default:\x20information_schema)','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--json-columns\x20<cols>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','required','campaigns\x20[pattern]','Skip\x20confirmation\x20prompt','list\x20[path]','colorFn','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Create\x20a\x20new\x20LLM\x20project','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','test\x20[path]','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','then','setup','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','json','--resume-from\x20<task>','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','describe\x20[table]','Pause\x20a\x20running\x20journey','get','createAsync','-r,\x20--recursive','--attempt-id\x20<id>','log','Revision\x20name\x20(default:\x20timestamp)','desc\x20[segment_name]','subcommandTerm','commands','Include\x20execution\x20statistics','Directory\x20does\x20not\x20exist:\x20','sonnet','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','tdx\x20','--segment\x20<path>','Campaign\x20type\x20(email\x20or\x20push)','--include-subtasks','name','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','us01','Delete\x20an\x20LLM\x20project','Starter\x20message','allowUnknownOption','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','exit','0.7','--schedule-type\x20<type>','Output\x20as\x20JSON\x20Lines','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','--temperature\x20<n>','--output\x20<file>','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--no-count-population','Path\x20is\x20not\x20a\x20directory:\x20','site','commandUsage','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Preview\x20changes\x20without\x20pushing','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Show\x20the\x20most\x20recent\x20chat','alias','CDP\x20segment\x20management\x20commands','Validate\x20journey\x20YAML\x20files\x20locally','result\x20<job-id>','validate\x20[target]','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--max-tool-iterations\x20<n>','--session-id\x20<id>','--attributes\x20<json>','workspace','Workspace\x20name','--html\x20<html>','Workflow\x20(Digdag)\x20management\x20commands','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Segment\x20description','Clear\x20workflow\x20project\x20context','--attribute\x20[name]','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--color','campaign','usage','Create\x20a\x20new\x20campaign','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Filtering\x20rule\x20from\x20JSON\x20file','addHelpText','push\x20[parent_or_file]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','--behaviors-file\x20<file>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','show\x20<job-id>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','desc\x20[name]','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','-o,\x20--output\x20<folder>','logLevel','update\x20<name>','GET','Commands:','Show\x20journey\x20details','statusline','Show\x20connection\x20details\x20by\x20name','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','use\x20[name]','Show\x20job\x20details','schema\x20<type>','--database\x20<name>','use\x20[resource]\x20[value]','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','pause\x20<name-or-path>','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','set','Options:','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Read\x20SQL\x20query\x20from\x20file','users','Delete\x20a\x20workspace','Custom\x20revision\x20name\x20(default:\x20timestamp)','-f,\x20--force','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Add\x20behaviors\x20from\x20JSON\x20file','Run\x20tests\x20for\x20an\x20LLM\x20agent','use\x20<path>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','create\x20<name>','gitRevision','secrets','resume\x20<name-or-id>','attempt:','Model\x20type\x20(default:\x20claude-4.5-sonnet)','optionTerm','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','catch','tasks','Customer\x20group\x20from\x20JSON\x20file','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','parent-segment','--no-color','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Maximum\x20recursion\x20depth\x20(default:\x2010)','create\x20[name]','parents\x20[pattern]','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','--dry-run','clone\x20[source]','User\x20management\x20commands','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Get\x20job\x20results','DEBUG','show\x20<name-or-id>','buildTime','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','run','delete\x20<name-or-id>','--name\x20<text>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Export\x20journey(s)\x20as\x20YAML\x20files','session','Include\x20retried\x20attempts\x20(for\x20list)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','query\x20[sql]','proxy','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Usage:\x20','-H,\x20--header\x20<header>','--plaintext\x20<text>','Kill\x20a\x20job','list\x20[project]','--add-attributes\x20<json>','profile','databases\x20[pattern]','projects\x20[pattern]','Add\x20attributes\x20as\x20JSON\x20string','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--invisible','Create\x20a\x20new\x20profile','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--force','-y,\x20--yes','segment','Make\x20segment\x20invisible\x20(default:\x20visible)','--session-time\x20<time>','Editor\x20type','--in\x20<database>','run\x20[workflow]','Duplicate\x20a\x20campaign','run\x20[name]','Filtering\x20rule\x20as\x20JSON\x20string','--parent-folder\x20<name>','--name\x20<new_name>','Reason\x20for\x20killing\x20the\x20attempt','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','registeredArguments','includes','Read\x20request\x20body\x20from\x20file','Workflow\x20attempt\x20management','connections','\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','Pull\x20specific\x20revision\x20(default:\x20latest)','--revision\x20<revision>','--workspace\x20<name>','show\x20[table]','Updated\x20timezone','--description\x20<desc>','push','--reason\x20<text>','injectIntoOptions','Authentication\x20management','Show\x20stats\x20for\x20specific\x20stage','Start\x20a\x20new\x20chat\x20session','profiles','Master\x20table\x20name','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','--folder\x20<name>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Show\x20only\x20master\x20table\x20validation','list','tdx','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Force\x20retry\x20even\x20if\x20not\x20failed','Limit\x20number\x20of\x20rows','--limit\x20<number>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','format','--subject\x20<subject>','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','stdout','Show\x20timeline\x20for\x20specific\x20attempt','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','describe','clear','Updated\x20description','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','show\x20[name]','Behaviors\x20as\x20JSON\x20string','--delete','pull\x20[name]','--attributes-file\x20<file>','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Project\x20description','push\x20[file]','hidden','forEach','apiKey','Customer\x20group\x20as\x20JSON\x20string','database','tsv','connection','fields\x20[name]','Describe\x20table\x20schema','jobs','agents\x20[pattern]','view\x20[name]','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','--table\x20<table>','Agent\x20prompt/instructions'];a2_0x5dfa=function(){return _0x2b02cd;};return a2_0x5dfa();}import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x2babb7(0x29c)][a2_0x2babb7(0x1af)](a2_0x2babb7(0x264))){let versionOutput=a2_0x2babb7(0x355)+currentVersion;buildInfo[a2_0x2babb7(0x16b)]&&!currentVersion[a2_0x2babb7(0x1af)](buildInfo[a2_0x2babb7(0x16b)])&&(versionOutput+='\x20('+buildInfo[a2_0x2babb7(0x16b)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x2babb7(0x302)+buildInfo[a2_0x2babb7(0x184)]),console[a2_0x2babb7(0x34b)](versionOutput),process[a2_0x2babb7(0x360)](0x0);}const program=new Command();let showBriefHelp=![],description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo[a2_0x2babb7(0x16b)]&&!currentVersion[a2_0x2babb7(0x1af)](buildInfo[a2_0x2babb7(0x16b)])?description+=a2_0x2babb7(0x2ad)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x2babb7(0x2ad)+currentVersion;program['name'](a2_0x2babb7(0x1c7))[a2_0x2babb7(0x207)](description),program[a2_0x2babb7(0x2ec)]('-C,\x20--directory\x20<path>',a2_0x2babb7(0x2ef))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2f8),a2_0x2babb7(0x140))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2c7),'TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x2babb7(0x35b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2a4),'Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x314),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x300),a2_0x2babb7(0x15e))['option'](a2_0x2babb7(0x2fb),'Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x2babb7(0x2ec)]('--tsv',a2_0x2babb7(0x1fb))['option'](a2_0x2babb7(0x366),a2_0x2babb7(0x23f))['option'](a2_0x2babb7(0x1cb),a2_0x2babb7(0x2df))['option'](a2_0x2babb7(0x383),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x177),a2_0x2babb7(0x354),![])['option'](a2_0x2babb7(0x1f0),a2_0x2babb7(0x25f),![])[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2d9),a2_0x2babb7(0x333))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x32a),a2_0x2babb7(0x1d3))[a2_0x2babb7(0x2ec)]('--timeout\x20<seconds>',a2_0x2babb7(0x326),'30')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x2c9),![])[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x31a),![])['option']('--session\x20<id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)')[a2_0x2babb7(0x2ec)]('-d,\x20--database\x20<name>',a2_0x2babb7(0x1f1))[a2_0x2babb7(0x2ec)]('--in\x20<name>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x2babb7(0x2ec)]('--parent-segment\x20<name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)')['option']('--llm-project\x20<name>','LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program['configureHelp']({'formatHelp':(_0xc3fc2b,_0x5a20d0)=>{const _0x22ce4e=a2_0x2babb7,_0x5682bc=_0x5a20d0['padWidth'](_0xc3fc2b,_0x5a20d0),_0x25caac=0x2,_0x53d9e4=0x2;function _0x36f2a9(_0x1010cf){const _0x507eda=a2_0x11a7,_0x20be22=_0x1010cf;return!!(_0x20be22['_hidden']||_0x20be22[_0x507eda(0x1e0)]);}function _0x225a1c(_0x98837c,_0x5b22c0){const _0x4d1d50=a2_0x11a7;if(_0x5b22c0){const _0x4e8c1c=''+_0x98837c[_0x4d1d50(0x237)](_0x5682bc+_0x53d9e4)+_0x5b22c0;return _0x4e8c1c;}return _0x98837c;}function _0x38ed07(_0x3af981){const _0x380641=a2_0x11a7;return _0x3af981[_0x380641(0x2fd)]('\x0a')[_0x380641(0x27a)](/^/gm,'\x20'[_0x380641(0x1f7)](_0x25caac));}const _0x1299c0=[];_0x1299c0['push'](_0x22ce4e(0x191)+_0x5a20d0[_0x22ce4e(0x36b)](_0xc3fc2b));const _0x2bea73=_0x5a20d0[_0x22ce4e(0x322)](_0xc3fc2b);_0x2bea73&&(_0x1299c0['push'](''),_0x1299c0[_0x22ce4e(0x1ba)](_0x2bea73));const _0x2a56f8=_0xc3fc2b[_0x22ce4e(0x34f)]['filter'](_0x138839=>!_0x36f2a9(_0x138839));if(_0x2a56f8[_0x22ce4e(0x2ab)]>0x0){if(_0xc3fc2b[_0x22ce4e(0x359)]()==='tdx'){const _0x2c4584=_0xc3fc2b[_0x22ce4e(0x253)](),_0x16ebd9=!_0x2c4584[_0x22ce4e(0x2b9)]&&process[_0x22ce4e(0x1d0)][_0x22ce4e(0x24b)],_0x342894=COMMAND_CATEGORIES,_0x4c1db7=(_0x4cc63d,_0x1fb7b0)=>_0x16ebd9?_0x1fb7b0(_0x4cc63d):_0x4cc63d,_0xb4c5dd=new Map();_0x2a56f8[_0x22ce4e(0x1e1)](_0x2f2270=>{const _0x2f3f6d=_0x22ce4e;_0xb4c5dd[_0x2f3f6d(0x15c)](_0x2f2270[_0x2f3f6d(0x359)](),_0x2f2270);}),_0x342894['forEach'](_0x1bbc45=>{const _0x2fdc54=_0x22ce4e,_0x50220f=_0x1bbc45[_0x2fdc54(0x34f)]['flatMap'](_0xce6972=>_0xb4c5dd[_0x2fdc54(0x347)](_0xce6972)??[]);if(_0x50220f[_0x2fdc54(0x2ab)]>0x0){_0x1299c0[_0x2fdc54(0x1ba)](''),_0x1299c0[_0x2fdc54(0x1ba)](_0x4c1db7(_0x1bbc45[_0x2fdc54(0x359)]+':',_0x1bbc45[_0x2fdc54(0x338)]));const _0x27e3a3=_0x50220f['map'](_0x352f86=>{const _0x9be98=_0x2fdc54,_0x1f2f48=_0x5a20d0['subcommandTerm'](_0x352f86),_0x12edbd=_0x5a20d0[_0x9be98(0x2cd)](_0x352f86);return _0x225a1c(_0x1f2f48,_0x12edbd);});_0x1299c0['push'](_0x38ed07(_0x27e3a3));}}),_0x1299c0[_0x22ce4e(0x1ba)](''),_0x1299c0[_0x22ce4e(0x1ba)](_0x22ce4e(0x146));}else{const _0x3d7242=_0x2a56f8[_0x22ce4e(0x2b5)](_0x40ede2=>{const _0x57bd88=_0x22ce4e,_0x16e8ea=_0x5a20d0[_0x57bd88(0x34e)](_0x40ede2),_0x3d7981=_0x5a20d0['subcommandDescription'](_0x40ede2);return _0x225a1c(_0x16e8ea,_0x3d7981);});_0x1299c0[_0x22ce4e(0x1ba)](''),_0x1299c0['push'](_0x22ce4e(0x14f)),_0x1299c0[_0x22ce4e(0x1ba)](_0x38ed07(_0x3d7242));}}if(showBriefHelp&&_0xc3fc2b[_0x22ce4e(0x359)]()==='tdx')_0x1299c0[_0x22ce4e(0x1ba)](''),_0x1299c0[_0x22ce4e(0x1ba)](_0x22ce4e(0x292));else{const _0x1ab0f6=_0xc3fc2b[_0x22ce4e(0x2b3)]['filter'](_0x5f950e=>!_0x36f2a9(_0x5f950e));if(_0x1ab0f6[_0x22ce4e(0x2ab)]>0x0){const _0x470ee7=_0x1ab0f6[_0x22ce4e(0x2b5)](_0x4ab9ad=>{const _0x176cd3=_0x22ce4e,_0x53c4e4=_0x5a20d0[_0x176cd3(0x170)](_0x4ab9ad),_0x2e4724=_0x5a20d0['optionDescription'](_0x4ab9ad);return _0x225a1c(_0x53c4e4,_0x2e4724);});_0x1299c0[_0x22ce4e(0x1ba)](''),_0x1299c0[_0x22ce4e(0x1ba)](_0x22ce4e(0x15d)),_0x1299c0['push'](_0x38ed07(_0x470ee7));}}const _0x55cc97=(_0xc3fc2b[_0x22ce4e(0x1ae)]||[])['filter'](_0x27ff5e=>!_0x36f2a9(_0x27ff5e));if(_0x55cc97['length']>0x0){const _0x5db2be=_0x55cc97[_0x22ce4e(0x2b5)](_0xc0a783=>{const _0x2ada10=_0x22ce4e,_0x523bb6=_0x5a20d0[_0x2ada10(0x284)](_0xc0a783),_0x465c2d=_0x5a20d0[_0x2ada10(0x2dd)](_0xc0a783);return _0x225a1c(_0x523bb6,_0x465c2d);});_0x1299c0['push'](''),_0x1299c0[_0x22ce4e(0x1ba)]('Arguments:'),_0x1299c0[_0x22ce4e(0x1ba)](_0x38ed07(_0x5db2be));}return _0x1299c0['join']('\x0a')+'\x0a';},'subcommandTerm':_0x32f843=>{const _0x5223ab=a2_0x2babb7,_0x2cb819=(_0x32f843[_0x5223ab(0x1ae)]||[])[_0x5223ab(0x2b5)](_0x289582=>_0x289582[_0x5223ab(0x334)]?'<'+_0x289582[_0x5223ab(0x359)]()+'>':'['+_0x289582[_0x5223ab(0x359)]()+']')[_0x5223ab(0x2fd)]('\x20'),_0x4e00be=_0x32f843['aliases'](),_0x20607d=_0x4e00be[_0x5223ab(0x2ab)]>0x0?_0x32f843[_0x5223ab(0x359)]()+',\x20'+_0x4e00be[_0x5223ab(0x2fd)](',\x20'):_0x32f843[_0x5223ab(0x359)]();return _0x2cb819?_0x20607d+'\x20'+_0x2cb819:_0x20607d;}}),program[a2_0x2babb7(0x324)](a2_0x2babb7(0x240),_0x21d1f6=>{const _0x5be5f5=a2_0x2babb7,_0x1cce29=_0x21d1f6[_0x5be5f5(0x253)]();if(_0x1cce29[_0x5be5f5(0x2db)]){const _0x3f9a4c=resolve(_0x1cce29[_0x5be5f5(0x2db)]),_0x47a603=_0x3f9a4c!==_0x1cce29[_0x5be5f5(0x2db)]?'\x20(resolved\x20to\x20'+_0x3f9a4c+')':'';if(!existsSync(_0x3f9a4c))throw new SDKError(ErrorCode[_0x5be5f5(0x2f4)],_0x5be5f5(0x351)+_0x1cce29[_0x5be5f5(0x2db)]+_0x47a603,undefined,{'helpText':_0x5be5f5(0x305)});const _0x329c86=statSync(_0x3f9a4c);if(!_0x329c86['isDirectory']())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x5be5f5(0x369)+_0x1cce29[_0x5be5f5(0x2db)]+_0x47a603,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process['chdir'](_0x3f9a4c);}if(!_0x1cce29[_0x5be5f5(0x1cd)]){if(_0x1cce29[_0x5be5f5(0x2b1)])_0x1cce29[_0x5be5f5(0x1cd)]=_0x5be5f5(0x2b1);else{if(_0x1cce29['json'])_0x1cce29['format']=_0x5be5f5(0x342);else{if(_0x1cce29[_0x5be5f5(0x2ea)])_0x1cce29['format']='jsonl';else _0x1cce29[_0x5be5f5(0x1e5)]&&(_0x1cce29[_0x5be5f5(0x1cd)]='tsv');}}}_0x1cce29['in']&&!_0x1cce29[_0x5be5f5(0x1e4)]&&(_0x1cce29[_0x5be5f5(0x1e4)]=_0x1cce29['in']);if(_0x1cce29['trace'])_0x1cce29[_0x5be5f5(0x14c)]=LogLevel[_0x5be5f5(0x2f3)];else{if(_0x1cce29[_0x5be5f5(0x2b6)])_0x1cce29['logLevel']=LogLevel[_0x5be5f5(0x182)];else _0x1cce29[_0x5be5f5(0x14c)]===undefined&&(_0x1cce29[_0x5be5f5(0x14c)]=LogLevel['INFO']);}});async function createTDXInstance(_0x4cf219){const _0x471ea6=a2_0x2babb7,_0x8707a0=await GlobalContext[_0x471ea6(0x348)](_0x4cf219);return _0x8707a0[_0x471ea6(0x1bc)](_0x4cf219),TDX['create']({'site':_0x8707a0[_0x471ea6(0x36a)],'apiKey':_0x8707a0[_0x471ea6(0x1e2)],'logLevel':_0x8707a0[_0x471ea6(0x14c)],'profile':_0x8707a0[_0x471ea6(0x197)]});}const databaseCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1e4))['alias']('db')['description']('Database\x20management\x20commands'),databaseListAction=async(_0x3e2414,_0x137d70)=>{const _0x1f4fc7=a2_0x2babb7,_0x378231=new DatabasesCommand(),_0x50164c=program[_0x1f4fc7(0x253)](),_0xb1b90=await createTDXInstance(_0x50164c),_0x4f0252=await _0x378231[_0x1f4fc7(0x186)]({'options':{..._0x50164c,..._0x137d70},'args':_0x3e2414?[_0x3e2414]:[],'tdx':_0xb1b90});process['exit'](_0x4f0252);};databaseCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](databaseListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x198),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x21d))[a2_0x2babb7(0x209)](databaseListAction),program['command']('chat\x20[message...]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x19e))[a2_0x2babb7(0x2ec)]('--agent\x20<ref>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x282),a2_0x2babb7(0x1bf))[a2_0x2babb7(0x209)](async(_0x2ad862,_0x4ee3ea)=>{const _0x88b769=a2_0x2babb7,_0x2a3b5d=new ChatCommand(),_0x2c2693=program[_0x88b769(0x253)](),_0x2c97f6=await createTDXInstance(_0x2c2693),_0x1543c2=await _0x2a3b5d[_0x88b769(0x186)]({'options':{..._0x2c2693,..._0x4ee3ea},'args':_0x2ad862,'tdx':_0x2c97f6});process[_0x88b769(0x360)](_0x1543c2);});const apiCmd=program[a2_0x2babb7(0x27b)]('api\x20[endpoint]')[a2_0x2babb7(0x31e)](a2_0x2babb7(0x2ba))[a2_0x2babb7(0x13e)]('after','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x2babb7(0x2ec)]('-X,\x20--method\x20<method>',a2_0x2babb7(0x31d),a2_0x2babb7(0x14e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x298),a2_0x2babb7(0x2d1))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x312),a2_0x2babb7(0x1b0))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x192),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x368ab1,_0x36899f)=>{return _0x36899f?[..._0x36899f,_0x368ab1]:[_0x368ab1];})['option'](a2_0x2babb7(0x248),a2_0x2babb7(0x341),'td')[a2_0x2babb7(0x209)](async(_0x3f9df8,_0x4f3741)=>{const _0x20a4b2=a2_0x2babb7;if(!_0x3f9df8){apiCmd[_0x20a4b2(0x27c)]();return;}const _0x3c9904=new ApiCommand(),_0x1f0e73=program[_0x20a4b2(0x253)](),_0xf049de=await createTDXInstance(_0x1f0e73),_0x2c8762=await _0x3c9904[_0x20a4b2(0x186)]({'options':{..._0x1f0e73,..._0x4f3741},'args':[_0x3f9df8],'tdx':_0xf049de});process[_0x20a4b2(0x360)](_0x2c8762);});program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x283))['description'](a2_0x2babb7(0x1c2))['addHelpText']('after',a2_0x2babb7(0x227))[a2_0x2babb7(0x209)](async _0x5cf045=>{const _0x2204dd=a2_0x2babb7,_0x112cda=new MCPCommand(),_0x24d36c=program[_0x2204dd(0x253)](),_0x4eae57=await createTDXInstance(_0x24d36c),_0x2ecb60=await _0x112cda[_0x2204dd(0x186)]({'options':{..._0x24d36c,..._0x5cf045},'args':[],'tdx':_0x4eae57});process[_0x2204dd(0x360)](_0x2ecb60);});const tableCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2b1))['description'](a2_0x2babb7(0x212)),tableListAction=async(_0x4c2f6c,_0x80aea2)=>{const _0x8350d5=a2_0x2babb7,_0x2be4c6=new TablesCommand(),_0x1e22c5=program['opts'](),_0x5efd89=await createTDXInstance(_0x1e22c5);_0x80aea2['in']&&(_0x80aea2[_0x8350d5(0x1e4)]=_0x80aea2['in']);const _0x4ed216=await _0x2be4c6['run']({'options':{..._0x1e22c5,..._0x80aea2},'args':_0x4c2f6c?[_0x4c2f6c]:[],'tdx':_0x5efd89});process[_0x8350d5(0x360)](_0x4ed216);};tableCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x19b))['option'](a2_0x2babb7(0x244),a2_0x2babb7(0x276))[a2_0x2babb7(0x2ec)]('--in\x20<database>',a2_0x2babb7(0x249))[a2_0x2babb7(0x209)](tableListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2b8),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x202))['option'](a2_0x2babb7(0x244),a2_0x2babb7(0x276))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a5),a2_0x2babb7(0x249))[a2_0x2babb7(0x209)](tableListAction),program['command'](a2_0x2babb7(0x1b7))['description'](a2_0x2babb7(0x256))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x244),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x2babb7(0x2ec)]('--in\x20<database>',a2_0x2babb7(0x249))[a2_0x2babb7(0x209)](async(_0x53e9fe,_0x5709da)=>{const _0x1a0173=a2_0x2babb7,_0x4e1825=new ShowCommand(),_0x13a669=program[_0x1a0173(0x253)](),_0x4253c9=await createTDXInstance(_0x13a669);_0x5709da['in']&&(_0x5709da[_0x1a0173(0x1e4)]=_0x5709da['in']);const _0x169a13=await _0x4e1825[_0x1a0173(0x186)]({'options':{..._0x13a669,..._0x5709da},'args':_0x53e9fe?[_0x53e9fe]:[],'tdx':_0x4253c9});process[_0x1a0173(0x360)](_0x169a13);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x345))['alias']('desc')[a2_0x2babb7(0x207)](a2_0x2babb7(0x1e8))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x244),a2_0x2babb7(0x2aa))['option'](a2_0x2babb7(0x1a5),a2_0x2babb7(0x249))[a2_0x2babb7(0x209)](async(_0x40ba0d,_0x11dc50)=>{const _0x5920de=a2_0x2babb7,_0x126caf=new DescribeCommand(),_0x12ba87=program['opts'](),_0x2a4d67=await createTDXInstance(_0x12ba87);_0x11dc50['in']&&(_0x11dc50[_0x5920de(0x1e4)]=_0x11dc50['in']);const _0x3c541c=await _0x126caf['run']({'options':{..._0x12ba87,..._0x11dc50},'args':_0x40ba0d?[_0x40ba0d]:[],'tdx':_0x2a4d67});process[_0x5920de(0x360)](_0x3c541c);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x18e))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2d0))['option']('-d,\x20--database\x20<database>','Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a5),a2_0x2babb7(0x249))[a2_0x2babb7(0x2ec)]('--catalog\x20<catalog>',a2_0x2babb7(0x287))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x312),a2_0x2babb7(0x15f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x303),a2_0x2babb7(0x2f0),'40')[a2_0x2babb7(0x209)](async(_0xee5df9,_0x5de7c7)=>{const _0x1879ae=a2_0x2babb7,_0x16e45e=new QueryCommand(),_0x3ac834=program['opts'](),_0xd026c4=await createTDXInstance(_0x3ac834);_0x5de7c7['in']&&(_0x5de7c7[_0x1879ae(0x1e4)]=_0x5de7c7['in']);const _0x27ba68=await _0x16e45e[_0x1879ae(0x186)]({'options':{..._0x3ac834,..._0x5de7c7},'args':_0xee5df9?[_0xee5df9]:[],'tdx':_0xd026c4});process[_0x1879ae(0x360)](_0x27ba68);});const segmentCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1a1))[a2_0x2babb7(0x370)]('sg')[a2_0x2babb7(0x207)](a2_0x2babb7(0x371)),segmentListAction=async(_0x35c746,_0x9bc244)=>{const _0x50aadc=a2_0x2babb7,_0x14bc49=new SegmentsCommand(),_0x43b8d2=program[_0x50aadc(0x253)](),_0x39f888=await createTDXInstance(_0x43b8d2),_0x35c6d7=await _0x14bc49[_0x50aadc(0x186)]({'options':{..._0x43b8d2,..._0x9bc244},'args':_0x35c746?[_0x35c746]:[],'tdx':_0x39f888});process[_0x50aadc(0x360)](_0x35c6d7);};segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x337))[a2_0x2babb7(0x207)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x349),a2_0x2babb7(0x233))[a2_0x2babb7(0x2ec)]('--max-depth\x20<depth>',a2_0x2babb7(0x179),'10')[a2_0x2babb7(0x209)](segmentListAction),program['command'](a2_0x2babb7(0x217),{'hidden':!![]})['description']('List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)')['option'](a2_0x2babb7(0x349),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x2babb7(0x2ec)]('--max-depth\x20<depth>',a2_0x2babb7(0x179),'10')[a2_0x2babb7(0x209)](segmentListAction),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x168),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x2a1))[a2_0x2babb7(0x209)](async(_0x3f2bd1,_0x1aae12)=>{const _0x2fee01=a2_0x2babb7,_0x27b385=new SegmentUseCommand(),_0x299cd2=program[_0x2fee01(0x253)](),_0x41e2e4=await createTDXInstance(_0x299cd2),_0x156c3c=await _0x27b385['run']({'options':{..._0x299cd2,..._0x1aae12},'args':[_0x3f2bd1],'tdx':_0x41e2e4});process['exit'](_0x156c3c);});const segmentViewAction=async(_0x10dffe,_0x9d2a6b)=>{const _0x3ab005=a2_0x2babb7,_0x434cb7=new SegmentViewCommand(),_0x582107=program[_0x3ab005(0x253)](),_0x157cf9=await createTDXInstance(_0x582107),_0x58ec0e=await _0x434cb7[_0x3ab005(0x186)]({'options':{..._0x582107,..._0x9d2a6b},'args':_0x10dffe?[_0x10dffe]:[],'tdx':_0x157cf9});process['exit'](_0x58ec0e);};segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2f1))[a2_0x2babb7(0x207)](a2_0x2babb7(0x185))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21e),a2_0x2babb7(0x1f6))[a2_0x2babb7(0x209)](segmentViewAction),segmentCmd['command']('info\x20[segment_name]',{'hidden':!![]})[a2_0x2babb7(0x370)](a2_0x2babb7(0x1d4))[a2_0x2babb7(0x2ec)]('-w,\x20--web',a2_0x2babb7(0x1f6))[a2_0x2babb7(0x207)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')['action'](segmentViewAction),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x34d))[a2_0x2babb7(0x207)](a2_0x2babb7(0x28c))['action'](async(_0x3802e6,_0x266b61)=>{const _0x300957=a2_0x2babb7,_0x4beb1d=new SegmentDescCommand(),_0x410a27=program[_0x300957(0x253)](),_0x2463a8=await createTDXInstance(_0x410a27),_0x4f5dca=await _0x4beb1d['run']({'options':{..._0x410a27,..._0x266b61},'args':_0x3802e6?[_0x3802e6]:[],'tdx':_0x2463a8});process[_0x300957(0x360)](_0x4f5dca);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x213))[a2_0x2babb7(0x207)](a2_0x2babb7(0x145))[a2_0x2babb7(0x209)](async(_0x3c6daa,_0x48e5ff)=>{const _0x3fe4d5=a2_0x2babb7,_0x5643f0=new SegmentShowCommand(),_0x2238bc=program['opts'](),_0x5ea8a3=await createTDXInstance(_0x2238bc),_0x29e9dd=await _0x5643f0[_0x3fe4d5(0x186)]({'options':{..._0x2238bc,..._0x48e5ff},'args':_0x3c6daa?[_0x3c6daa]:[],'tdx':_0x5ea8a3});process[_0x3fe4d5(0x360)](_0x29e9dd);}),segmentCmd[a2_0x2babb7(0x27b)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x35a))[a2_0x2babb7(0x209)](async(_0x1b8e9e,_0x24af7b)=>{const _0x4e185d=a2_0x2babb7,_0x300ad0=new SegmentFolderListCommand(),_0x29a767=program[_0x4e185d(0x253)](),_0x571c50=await createTDXInstance(_0x29a767),_0x35571a=await _0x300ad0['run']({'options':{..._0x29a767,..._0x24af7b},'args':[_0x1b8e9e],'tdx':_0x571c50});process['exit'](_0x35571a);});const folderCmd=segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x32c),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x246));folderCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x260))[a2_0x2babb7(0x207)](a2_0x2babb7(0x164))[a2_0x2babb7(0x209)](async(_0x89e0e4,_0x5f1d9e)=>{const _0x23b747=a2_0x2babb7,_0x54b5d6=new SegmentFolderShowCommand(),_0x4ef5e8=program['opts'](),_0x5956a2=await createTDXInstance(_0x4ef5e8),_0x37dd97=await _0x54b5d6[_0x23b747(0x186)]({'options':{..._0x4ef5e8,..._0x5f1d9e},'args':[_0x89e0e4],'tdx':_0x5956a2});process[_0x23b747(0x360)](_0x37dd97);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x235))[a2_0x2babb7(0x207)]('Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x2babb7(0x209)](async(_0x49418d,_0x52f439)=>{const _0x4a1e27=a2_0x2babb7,_0x301c74=new SegmentSQLCommand(),_0x51edfd=program['opts'](),_0x266dc1=await createTDXInstance(_0x51edfd),_0xe3a801=await _0x301c74[_0x4a1e27(0x186)]({'options':{..._0x51edfd,..._0x52f439},'args':_0x49418d?[_0x49418d]:[],'tdx':_0x266dc1});process[_0x4a1e27(0x360)](_0xe3a801);}),segmentCmd[a2_0x2babb7(0x27b)]('fields\x20[parent_name]')['description'](a2_0x2babb7(0x2a2))[a2_0x2babb7(0x209)](async(_0x58684b,_0x3b7c0d)=>{const _0x2902ac=a2_0x2babb7,_0x2d228a=new SegmentFieldsCommand(),_0x233aee=program['opts'](),_0x281a5d=await createTDXInstance(_0x233aee),_0x337667=await _0x2d228a[_0x2902ac(0x186)]({'options':{..._0x233aee,..._0x3b7c0d},'args':_0x58684b?[_0x58684b]:[],'tdx':_0x281a5d});process[_0x2902ac(0x360)](_0x337667);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x267))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2be))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x31a))['option'](a2_0x2babb7(0x17d),a2_0x2babb7(0x327))[a2_0x2babb7(0x209)](async(_0x33caec,_0x2eced6)=>{const _0x52f26c=a2_0x2babb7,_0x1efdde=new SegmentPullCommand(),_0x212820=program[_0x52f26c(0x253)](),_0x542adb=await createTDXInstance(_0x212820),_0x866559=await _0x1efdde['run']({'options':{..._0x212820,..._0x2eced6},'args':_0x33caec?[_0x33caec]:[],'tdx':_0x542adb});process[_0x52f26c(0x360)](_0x866559);}),segmentCmd['command'](a2_0x2babb7(0x13f))[a2_0x2babb7(0x207)](a2_0x2babb7(0x15b))[a2_0x2babb7(0x2ec)]('-y,\x20--yes',a2_0x2babb7(0x31a))[a2_0x2babb7(0x2ec)]('--dry-run',a2_0x2babb7(0x327))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1da),a2_0x2babb7(0x2f9))[a2_0x2babb7(0x209)](async(_0x7c698d,_0x13de1d)=>{const _0x2f2179=a2_0x2babb7,_0x37a6f7=new SegmentPushCommand(),_0x90378a=program[_0x2f2179(0x253)](),_0x5b09b4=await createTDXInstance(_0x90378a),_0x56ee2c=await _0x37a6f7[_0x2f2179(0x186)]({'options':{..._0x90378a,..._0x13de1d},'args':_0x7c698d?[_0x7c698d]:[],'tdx':_0x5b09b4});process[_0x2f2179(0x360)](_0x56ee2c);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x374))['description'](a2_0x2babb7(0x1f2))[a2_0x2babb7(0x209)](async(_0x335fb9,_0x553652)=>{const _0x290c1e=a2_0x2babb7,_0x552cae=new SegmentValidateCommand(),_0x3d6aca=program['opts'](),_0x4fbde0=await createTDXInstance(_0x3d6aca),_0x4fc29b=await _0x552cae['run']({'options':{..._0x3d6aca,..._0x553652},'args':_0x335fb9?[_0x335fb9]:[],'tdx':_0x4fbde0});process[_0x290c1e(0x360)](_0x4fc29b);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2e6),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x36e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),a2_0x2babb7(0x37e))['option'](a2_0x2babb7(0x2f7),a2_0x2babb7(0x1a9))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21f),a2_0x2babb7(0x13d))[a2_0x2babb7(0x2ec)]('--folder\x20<name>',a2_0x2babb7(0x1fc))['option'](a2_0x2babb7(0x30b),a2_0x2babb7(0x2c4))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x19c),a2_0x2babb7(0x1a2))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x368),'Skip\x20population\x20counting')['action'](async(_0x7109a2,_0x590699)=>{const _0x444ca5=a2_0x2babb7,_0x3d8754=new SegmentCreateCommand(),_0x3027b7=program['opts'](),_0x6e5d11=await createTDXInstance(_0x3027b7),_0x36a18b=await _0x3d8754[_0x444ca5(0x186)]({'options':{..._0x3027b7,..._0x590699},'args':[_0x7109a2],'tdx':_0x6e5d11});process[_0x444ca5(0x360)](_0x36a18b);}),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x22b),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x1cf))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1ab),'New\x20segment\x20name')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),a2_0x2babb7(0x1d6))['option']('--rule\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21f),a2_0x2babb7(0x143))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1c3),'Move\x20to\x20folder')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x30b),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')['action'](async(_0x57caa8,_0x140e77)=>{const _0x41fdcc=a2_0x2babb7,_0x1c73c1=new SegmentUpdateCommand(),_0x26ca09=program[_0x41fdcc(0x253)](),_0x21a0c8=await createTDXInstance(_0x26ca09),_0x113ce3=await _0x1c73c1['run']({'options':{..._0x26ca09,..._0x140e77},'args':[_0x57caa8],'tdx':_0x21a0c8});process[_0x41fdcc(0x360)](_0x113ce3);});const parentCmd=segmentCmd[a2_0x2babb7(0x27b)]('parent',{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x22d)),parentListAction=async(_0x5a654f,_0x5df284)=>{const _0x506223=a2_0x2babb7,_0x49eb68=new ParentSegmentListCommand(),_0x346b52=program[_0x506223(0x253)](),_0x353a7d=await createTDXInstance(_0x346b52),_0x509047=await _0x49eb68[_0x506223(0x186)]({'options':{..._0x346b52,..._0x5df284},'args':_0x5a654f?[_0x5a654f]:[],'tdx':_0x353a7d});process[_0x506223(0x360)](_0x509047);};parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30e))[a2_0x2babb7(0x209)](parentListAction),segmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x17b),{'hidden':!![]})[a2_0x2babb7(0x207)]('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')[a2_0x2babb7(0x209)](parentListAction),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1db))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2f6))['option'](a2_0x2babb7(0x2cc),a2_0x2babb7(0x229))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x336))['action'](async(_0x175d3d,_0x2c7905)=>{const _0x448324=a2_0x2babb7,_0x384fca=new ParentSegmentPullCommand(),_0x37064f=program[_0x448324(0x253)](),_0x3c3c58=await createTDXInstance(_0x37064f),_0x5a5fa5=await _0x384fca['run']({'options':{..._0x37064f,..._0x2c7905},'args':_0x175d3d?[_0x175d3d]:[],'tdx':_0x3c3c58});process[_0x448324(0x360)](_0x5a5fa5);}),parentCmd['command'](a2_0x2babb7(0x1df))['description'](a2_0x2babb7(0x2ac))[a2_0x2babb7(0x2ec)]('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](async(_0x314886,_0xf71cd0)=>{const _0x3d1626=a2_0x2babb7,_0xc3e377=new ParentSegmentPushCommand(),_0x3f39cc=program[_0x3d1626(0x253)](),_0x52238c=await createTDXInstance(_0x3f39cc),_0x27592f=await _0xc3e377[_0x3d1626(0x186)]({'options':{..._0x3f39cc,..._0xf71cd0},'args':_0x314886?[_0x314886]:[],'tdx':_0x52238c});process[_0x3d1626(0x360)](_0x27592f);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x318))['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26f),a2_0x2babb7(0x1c5))[a2_0x2babb7(0x2ec)]('--attribute\x20[name]',a2_0x2babb7(0x2e4))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x328),a2_0x2babb7(0x189))['option']('--enriched',a2_0x2babb7(0x1ec))[a2_0x2babb7(0x2ec)]('--interval\x20<range>',a2_0x2babb7(0x220),a2_0x2babb7(0x31f))[a2_0x2babb7(0x209)](async(_0xbe3ddc,_0xe1e5ab)=>{const _0x5647cc=a2_0x2babb7,_0x32e912=new ParentSegmentValidateCommand(),_0x703a72=program[_0x5647cc(0x253)](),_0x53459f=await createTDXInstance(_0x703a72),_0x1a21a3=await _0x32e912[_0x5647cc(0x186)]({'options':{..._0x703a72,..._0xe1e5ab},'args':_0xbe3ddc?[_0xbe3ddc]:[],'tdx':_0x53459f});process[_0x5647cc(0x360)](_0x1a21a3);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2ee))[a2_0x2babb7(0x207)](a2_0x2babb7(0x27e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26f),a2_0x2babb7(0x232))['option'](a2_0x2babb7(0x380),a2_0x2babb7(0x28b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x328),a2_0x2babb7(0x364))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1ff),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x2babb7(0x2ec)]('--interval\x20<range>',a2_0x2babb7(0x220),a2_0x2babb7(0x31f))[a2_0x2babb7(0x209)](async(_0x35e309,_0x256400)=>{const _0x1cccf0=a2_0x2babb7,_0x28aed4=new ParentSegmentPreviewCommand(),_0x2b3a66=program[_0x1cccf0(0x253)](),_0x53791e=await createTDXInstance(_0x2b3a66),_0x2048ea=await _0x28aed4[_0x1cccf0(0x186)]({'options':{..._0x2b3a66,..._0x256400},'args':_0x35e309?[_0x35e309]:[],'tdx':_0x53791e});process[_0x1cccf0(0x360)](_0x2048ea);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1a8))[a2_0x2babb7(0x207)](a2_0x2babb7(0x18d))['option']('-y,\x20--yes',a2_0x2babb7(0x336))[a2_0x2babb7(0x209)](async(_0x427276,_0x16a364)=>{const _0x25ed18=a2_0x2babb7,_0x4f757f=new ParentSegmentRunCommand(),_0x546898=program[_0x25ed18(0x253)](),_0x12923b=await createTDXInstance(_0x546898),_0x5405d3=await _0x4f757f[_0x25ed18(0x186)]({'options':{..._0x546898,..._0x16a364},'args':_0x427276?[_0x427276]:[],'tdx':_0x12923b});process['exit'](_0x5405d3);});const parentSegmentCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x176))[a2_0x2babb7(0x370)]('ps')['description']('Parent\x20segment\x20management');parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30e))[a2_0x2babb7(0x209)](parentListAction),parentSegmentCmd[a2_0x2babb7(0x27b)]('pull\x20[name]')['description'](a2_0x2babb7(0x1c8))['option'](a2_0x2babb7(0x2cc),a2_0x2babb7(0x259))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x336))[a2_0x2babb7(0x2ec)]('-u,\x20--use',a2_0x2babb7(0x2c1))[a2_0x2babb7(0x209)](async(_0x3c942f,_0x1a438d)=>{const _0x2ea0d9=a2_0x2babb7,_0x2e174d=new ParentSegmentPullCommand(),_0x43a1c8=program[_0x2ea0d9(0x253)](),_0x46492a=await createTDXInstance(_0x43a1c8),_0x28d4d8=await _0x2e174d['run']({'options':{..._0x43a1c8,..._0x1a438d},'args':_0x3c942f?[_0x3c942f]:[],'tdx':_0x46492a});process['exit'](_0x28d4d8);}),parentSegmentCmd[a2_0x2babb7(0x27b)]('push\x20[name]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x2fa))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),'Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](async(_0x2d3282,_0x1ea632)=>{const _0x36c18a=a2_0x2babb7,_0x5da19e=new ParentSegmentPushCommand(),_0x49ea55=program[_0x36c18a(0x253)](),_0x350559=await createTDXInstance(_0x49ea55),_0x4caeef=await _0x5da19e[_0x36c18a(0x186)]({'options':{..._0x49ea55,..._0x1ea632},'args':_0x2d3282?[_0x2d3282]:[],'tdx':_0x350559});process['exit'](_0x4caeef);}),parentSegmentCmd[a2_0x2babb7(0x27b)]('validate\x20[name]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x239))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26f),a2_0x2babb7(0x1c5))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x380),a2_0x2babb7(0x2e4))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x328),a2_0x2babb7(0x189))['option']('--enriched',a2_0x2babb7(0x1ec))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2c0),a2_0x2babb7(0x220),a2_0x2babb7(0x31f))[a2_0x2babb7(0x209)](async(_0x618b5e,_0x3f7b1d)=>{const _0xee9c18=a2_0x2babb7,_0x1d607b=new ParentSegmentValidateCommand(),_0x50f25e=program['opts'](),_0x193139=await createTDXInstance(_0x50f25e),_0x32d6e8=await _0x1d607b['run']({'options':{..._0x50f25e,..._0x3f7b1d},'args':_0x618b5e?[_0x618b5e]:[],'tdx':_0x193139});process[_0xee9c18(0x360)](_0x32d6e8);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2b0))[a2_0x2babb7(0x207)](a2_0x2babb7(0x27e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26f),a2_0x2babb7(0x232))[a2_0x2babb7(0x2ec)]('--attribute\x20[name]',a2_0x2babb7(0x28b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x328),a2_0x2babb7(0x364))[a2_0x2babb7(0x2ec)]('--enriched',a2_0x2babb7(0x339))['option'](a2_0x2babb7(0x2c0),a2_0x2babb7(0x220),a2_0x2babb7(0x31f))['action'](async(_0x28ca60,_0x294c90)=>{const _0x1ab7ae=a2_0x2babb7,_0x3888aa=new ParentSegmentPreviewCommand(),_0x5ad279=program[_0x1ab7ae(0x253)](),_0x5f30e9=await createTDXInstance(_0x5ad279),_0x344ae7=await _0x3888aa[_0x1ab7ae(0x186)]({'options':{..._0x5ad279,..._0x294c90},'args':_0x28ca60?[_0x28ca60]:[],'tdx':_0x5f30e9});process[_0x1ab7ae(0x360)](_0x344ae7);}),parentSegmentCmd[a2_0x2babb7(0x27b)]('run\x20[name]')['description']('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x336))['action'](async(_0x271275,_0x4acb9e)=>{const _0x5ce4eb=a2_0x2babb7,_0x20eb18=new ParentSegmentRunCommand(),_0x17bf9e=program[_0x5ce4eb(0x253)](),_0x1b324c=await createTDXInstance(_0x17bf9e),_0x4dda8d=await _0x20eb18[_0x5ce4eb(0x186)]({'options':{..._0x17bf9e,..._0x4acb9e},'args':_0x271275?[_0x271275]:[],'tdx':_0x1b324c});process[_0x5ce4eb(0x360)](_0x4dda8d);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1e7))[a2_0x2babb7(0x207)](a2_0x2babb7(0x147))[a2_0x2babb7(0x2ec)]('--json','Output\x20as\x20JSON')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2fb),a2_0x2babb7(0x363))[a2_0x2babb7(0x209)](async(_0x23d523,_0xdbf0a8)=>{const _0x53a256=a2_0x2babb7,_0x262b31=new ParentSegmentFieldsCommand(),_0x31cd1c=program[_0x53a256(0x253)](),_0x5b4468=await createTDXInstance(_0x31cd1c),_0x29069a=await _0x262b31[_0x53a256(0x186)]({'options':{..._0x31cd1c,..._0xdbf0a8},'args':_0x23d523?[_0x23d523]:[],'tdx':_0x5b4468});process[_0x53a256(0x360)](_0x29069a);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1eb))[a2_0x2babb7(0x207)](a2_0x2babb7(0x325))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21e),a2_0x2babb7(0x2c2))[a2_0x2babb7(0x2ec)]('--json',a2_0x2babb7(0x20f))[a2_0x2babb7(0x2ec)]('--jsonl',a2_0x2babb7(0x363))[a2_0x2babb7(0x209)](async(_0x1b4087,_0x140293)=>{const _0x403d14=a2_0x2babb7,_0x381153=new ParentSegmentViewCommand(),_0x5edbfc=program[_0x403d14(0x253)](),_0x288dff=await createTDXInstance(_0x5edbfc),_0x5499cc=await _0x381153[_0x403d14(0x186)]({'options':{..._0x5edbfc,..._0x140293},'args':_0x1b4087?[_0x1b4087]:[],'tdx':_0x288dff});process[_0x403d14(0x360)](_0x5499cc);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x149))['description'](a2_0x2babb7(0x1f4))['option'](a2_0x2babb7(0x300),a2_0x2babb7(0x20f))['option'](a2_0x2babb7(0x2fb),a2_0x2babb7(0x363))[a2_0x2babb7(0x209)](async(_0x1ceea7,_0x27fe07)=>{const _0x6b4ff0=a2_0x2babb7,_0x221cc8=new ParentSegmentDescCommand(),_0x4b8ab8=program[_0x6b4ff0(0x253)](),_0x38feb8=await createTDXInstance(_0x4b8ab8),_0x507f86=await _0x221cc8['run']({'options':{..._0x4b8ab8,..._0x27fe07},'args':_0x1ceea7?[_0x1ceea7]:[],'tdx':_0x38feb8});process[_0x6b4ff0(0x360)](_0x507f86);}),parentSegmentCmd[a2_0x2babb7(0x27b)]('sql\x20[name]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x14a))['option'](a2_0x2babb7(0x300),a2_0x2babb7(0x20f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2fb),'Output\x20as\x20JSON\x20Lines')[a2_0x2babb7(0x209)](async(_0x43f3af,_0x2bee20)=>{const _0x11b446=a2_0x2babb7,_0x1f86ac=new ParentSegmentSQLCommand(),_0x4b46a0=program['opts'](),_0x958c1=await createTDXInstance(_0x4b46a0),_0x2e0a49=await _0x1f86ac[_0x11b446(0x186)]({'options':{..._0x4b46a0,..._0x2bee20},'args':_0x43f3af?[_0x43f3af]:[],'tdx':_0x958c1});process['exit'](_0x2e0a49);}),parentSegmentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1d8))['description'](a2_0x2babb7(0x180))[a2_0x2babb7(0x2ec)]('--limit\x20<n>',a2_0x2babb7(0x1ca))[a2_0x2babb7(0x2ec)]('--json','Output\x20as\x20JSON')[a2_0x2babb7(0x2ec)]('--jsonl',a2_0x2babb7(0x363))[a2_0x2babb7(0x209)](async(_0x494032,_0x454eda)=>{const _0x112030=a2_0x2babb7,_0x31dcfa=new ParentSegmentShowCommand(),_0xbf008a=program[_0x112030(0x253)](),_0x25ef5a=await createTDXInstance(_0xbf008a),_0x2645c5=await _0x31dcfa[_0x112030(0x186)]({'options':{..._0xbf008a,..._0x454eda},'args':_0x494032?[_0x494032]:[],'tdx':_0x25ef5a});process[_0x112030(0x360)](_0x2645c5);}),parentSegmentCmd['command'](a2_0x2babb7(0x154))[a2_0x2babb7(0x207)](a2_0x2babb7(0x230))[a2_0x2babb7(0x209)](async(_0x2059d3,_0x6992f5)=>{const _0x49c4e8=a2_0x2babb7,_0x389e79=new UseCommand(),_0x1664f1=program[_0x49c4e8(0x253)](),_0x56e8e6=_0x2059d3?['parent_segment',_0x2059d3]:[],_0x502a02=await _0x389e79[_0x49c4e8(0x186)]({'options':{..._0x1664f1,..._0x6992f5},'args':_0x56e8e6,'tdx':null});process[_0x49c4e8(0x360)](_0x502a02);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x16a))['description'](a2_0x2babb7(0x367))['requiredOption'](a2_0x2babb7(0x2b7),'Master\x20database\x20name')[a2_0x2babb7(0x203)](a2_0x2babb7(0x1ee),a2_0x2babb7(0x1c1))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),a2_0x2babb7(0x2a8))['option'](a2_0x2babb7(0x362),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x25d),a2_0x2babb7(0x171))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x289),'Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x378),'Attributes\x20as\x20JSON\x20string')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1dc),'Attributes\x20from\x20JSON\x20file')['option']('--behaviors\x20<json>',a2_0x2babb7(0x1d9))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x142),a2_0x2babb7(0x1f3))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e9),a2_0x2babb7(0x1e3))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x299),a2_0x2babb7(0x174))[a2_0x2babb7(0x209)](async(_0x5b2c09,_0x5a5112)=>{const _0x2e703d=a2_0x2babb7,_0x4d59c5=new ParentSegmentCreateCommand(),_0x470930=program[_0x2e703d(0x253)](),_0x2895f0=await createTDXInstance(_0x470930),_0x4c3e19=await _0x4d59c5[_0x2e703d(0x186)]({'options':{..._0x470930,..._0x5a5112},'args':[_0x5b2c09],'tdx':_0x2895f0});process[_0x2e703d(0x360)](_0x4c3e19);}),parentCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x14d))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1c4))['option'](a2_0x2babb7(0x225),'Updated\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x362),a2_0x2babb7(0x37d))['option'](a2_0x2babb7(0x25d),a2_0x2babb7(0x23e))['option'](a2_0x2babb7(0x289),a2_0x2babb7(0x1b8))['option'](a2_0x2babb7(0x196),a2_0x2babb7(0x19a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x210),'Add\x20attributes\x20from\x20JSON\x20file')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x26b),a2_0x2babb7(0x263))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x200),a2_0x2babb7(0x166))[a2_0x2babb7(0x209)](async(_0x56a552,_0x5d1fd4)=>{const _0xa6e66a=a2_0x2babb7,_0x2e6839=new ParentSegmentUpdateCommand(),_0x5c8678=program[_0xa6e66a(0x253)](),_0xf8c2e3=await createTDXInstance(_0x5c8678),_0x4140bb=await _0x2e6839[_0xa6e66a(0x186)]({'options':{..._0x5c8678,..._0x5d1fd4},'args':[_0x56a552],'tdx':_0xf8c2e3});process[_0xa6e66a(0x360)](_0x4140bb);}),folderCmd['command'](a2_0x2babb7(0x274))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2e2))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),'Folder\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1aa),'Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x2babb7(0x209)](async(_0x380b20,_0x5b8bb9,_0x45c357)=>{const _0x2be727=a2_0x2babb7,_0x12e3de=new SegmentFolderCreateCommand(),_0x7b51c2=program[_0x2be727(0x253)](),_0x164d27=await createTDXInstance(_0x7b51c2),_0x4d2459=await _0x12e3de[_0x2be727(0x186)]({'options':{..._0x7b51c2,..._0x45c357},'args':[_0x380b20,_0x5b8bb9],'tdx':_0x164d27});process[_0x2be727(0x360)](_0x4d2459);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x296))[a2_0x2babb7(0x207)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x2babb7(0x209)](async(_0x420bc4,_0x180e55)=>{const _0x4d3a27=a2_0x2babb7,_0x1773cf=new ActivationsCommand(),_0x212ab7=program[_0x4d3a27(0x253)](),_0x1b206b=await createTDXInstance(_0x212ab7),_0x22ca91=await _0x1773cf['run']({'options':{..._0x212ab7,..._0x180e55},'args':[_0x420bc4],'tdx':_0x1b206b});process[_0x4d3a27(0x360)](_0x22ca91);});const workflowCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2bf))[a2_0x2babb7(0x370)]('wf')['description'](a2_0x2babb7(0x37c)),wfProjectCmd=workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x306))[a2_0x2babb7(0x207)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0xca70b0,_0xf0a21f)=>{const _0x36b920=a2_0x2babb7,_0x5f0499=new WorkflowProjectsCommand(),_0x16026b=program[_0x36b920(0x253)](),_0x47ff24=await createTDXInstance(_0x16026b),_0x54e5d6=await _0x5f0499[_0x36b920(0x186)]({'options':{..._0x16026b,..._0xf0a21f},'args':_0xca70b0?[_0xca70b0]:[],'tdx':_0x47ff24});process[_0x36b920(0x360)](_0x54e5d6);};wfProjectCmd['command']('list\x20[pattern]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x286))['action'](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')['description'](a2_0x2babb7(0x190))[a2_0x2babb7(0x209)](wfProjectListAction);const wfWorkflowListAction=async(_0x35cf48,_0x1d2dc6)=>{const _0x5b3664=a2_0x2babb7,_0x27b06a=new WorkflowWorkflowsCommand(),_0x50c860=program[_0x5b3664(0x253)](),_0x5aa432=await createTDXInstance(_0x50c860),_0x1001b1=await _0x27b06a[_0x5b3664(0x186)]({'options':{..._0x50c860,..._0x1d2dc6},'args':_0x35cf48?[_0x35cf48]:[],'tdx':_0x5aa432});process[_0x5b3664(0x360)](_0x1001b1);};workflowCmd[a2_0x2babb7(0x27b)]('workflows\x20[project]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x2da))[a2_0x2babb7(0x209)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x18b))[a2_0x2babb7(0x207)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x4fd391,_0x2eaa36)=>{const _0x70cdcb=a2_0x2babb7,_0x315ec4=new WorkflowSessionsCommand(),_0x274342=program['opts'](),_0x415800=await createTDXInstance(_0x274342),_0x525c26=await _0x315ec4[_0x70cdcb(0x186)]({'options':{..._0x274342,..._0x2eaa36},'args':_0x4fd391?[_0x4fd391]:[],'tdx':_0x415800});process[_0x70cdcb(0x360)](_0x525c26);};wfSessionCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x195))[a2_0x2babb7(0x207)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2de),a2_0x2babb7(0x291))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x288),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x2babb7(0x25c),a2_0x2babb7(0x20d))[a2_0x2babb7(0x209)](wfSessionListAction),workflowCmd['command'](a2_0x2babb7(0x275))[a2_0x2babb7(0x207)](a2_0x2babb7(0x301))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2de),a2_0x2babb7(0x291))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x288),a2_0x2babb7(0x353))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x25c),a2_0x2babb7(0x20d))[a2_0x2babb7(0x209)](wfSessionListAction);const wfAttemptListAction=async(_0x45dbfd,_0x37881e)=>{const _0x1b46e3=a2_0x2babb7,_0x419a2d=new WorkflowAttemptsCommand(),_0x3566ef=program[_0x1b46e3(0x253)](),_0x4c1360=await createTDXInstance(_0x3566ef),_0x24d878=await _0x419a2d[_0x1b46e3(0x186)]({'options':{..._0x3566ef,..._0x37881e},'args':_0x45dbfd?[_0x45dbfd]:[],'tdx':_0x4c1360});process[_0x1b46e3(0x360)](_0x24d878);},attemptCmd=workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x247))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1b1))[a2_0x2babb7(0x1f8)]('[attempt-id]','Attempt\x20ID')[a2_0x2babb7(0x1f8)]('[action]',a2_0x2babb7(0x178))[a2_0x2babb7(0x1f8)](a2_0x2babb7(0x271),a2_0x2babb7(0x2d7))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x358),a2_0x2babb7(0x2bb))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1bb),a2_0x2babb7(0x1ac))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x343),a2_0x2babb7(0x241))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x319),a2_0x2babb7(0x215))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x19f),a2_0x2babb7(0x1c9))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x27d),a2_0x2babb7(0x18c))[a2_0x2babb7(0x209)](async(_0x20950b,_0x1fafe8,_0x4e1d6e,_0x3766d0)=>{const _0x4be9e8=a2_0x2babb7;if(_0x20950b===_0x4be9e8(0x1c6)){await wfAttemptListAction(_0x1fafe8,_0x3766d0);return;}if(!_0x20950b){attemptCmd['help']();return;}const _0x389169=program[_0x4be9e8(0x253)](),_0x2292bc=await createTDXInstance(_0x389169);let _0x306b38=0x0;if(!_0x1fafe8){const _0x114e38=new WorkflowAttemptCommand();_0x306b38=await _0x114e38[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':[_0x20950b],'tdx':_0x2292bc});}else{if(_0x1fafe8===_0x4be9e8(0x2a0)){const _0x573539=new WorkflowLogsCommand();_0x306b38=await _0x573539[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':_0x4e1d6e?[_0x20950b,_0x4e1d6e]:[_0x20950b],'tdx':_0x2292bc});}else{if(_0x1fafe8===_0x4be9e8(0x173)){const _0x129d2b=new WorkflowTasksCommand();_0x306b38=await _0x129d2b[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':[_0x20950b],'tdx':_0x2292bc});}else{if(_0x1fafe8==='kill'){const _0xb73a57=new WorkflowKillCommand();_0x306b38=await _0xb73a57[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':[_0x20950b],'tdx':_0x2292bc});}else{if(_0x1fafe8==='retry'){const _0xdf8ff6=new WorkflowRetryCommand();_0x306b38=await _0xdf8ff6[_0x4be9e8(0x186)]({'options':{..._0x389169,..._0x3766d0},'args':[_0x4be9e8(0x16e)+_0x20950b],'tdx':_0x2292bc});}else console[_0x4be9e8(0x2e5)](_0x4be9e8(0x2c5)+_0x1fafe8),console[_0x4be9e8(0x2e5)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x306b38=0x1;}}}}process[_0x4be9e8(0x360)](_0x306b38);});attemptCmd['command'](a2_0x2babb7(0x195))['description']('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x27d),a2_0x2babb7(0x310))[a2_0x2babb7(0x209)](wfAttemptListAction),workflowCmd[a2_0x2babb7(0x27b)]('attempts\x20[project]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x290))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x27d),'Include\x20retried\x20attempts')[a2_0x2babb7(0x209)](wfAttemptListAction),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x316))['description']('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')[a2_0x2babb7(0x2ec)]('--follow',a2_0x2babb7(0x32b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x377),'Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x34a),a2_0x2babb7(0x1d1))[a2_0x2babb7(0x209)](async(_0x226e84,_0x59d1c0)=>{const _0x463034=a2_0x2babb7,_0x1f8e7d=new WorkflowTimelineCommand(),_0x17bd4f=program[_0x463034(0x253)](),_0x4a0bc5=await createTDXInstance(_0x17bd4f),_0x5c2eff=await _0x1f8e7d[_0x463034(0x186)]({'options':{..._0x17bd4f,..._0x59d1c0},'args':_0x226e84?[_0x226e84]:[],'tdx':_0x4a0bc5});process[_0x463034(0x360)](_0x5c2eff);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x308))[a2_0x2babb7(0x207)](a2_0x2babb7(0x33b))[a2_0x2babb7(0x2ec)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x2babb7(0x2ec)]('--params\x20<json>',a2_0x2babb7(0x36c))[a2_0x2babb7(0x209)](async(_0x49602d,_0x324b11)=>{const _0x5ef297=a2_0x2babb7,_0x1a5f3a=new WorkflowRetryCommand(),_0x5e326c=program[_0x5ef297(0x253)](),_0x477573=await createTDXInstance(_0x5e326c),_0x5bac7c=await _0x1a5f3a[_0x5ef297(0x186)]({'options':{..._0x5e326c,..._0x324b11},'args':[_0x49602d],'tdx':_0x477573});process[_0x5ef297(0x360)](_0x5bac7c);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1a6))['description'](a2_0x2babb7(0x2d8))['option']('--param\x20<key=value>','Workflow\x20parameter\x20(repeatable)',(_0x48af22,_0x8621=[])=>[..._0x8621,_0x48af22],[])[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a3),a2_0x2babb7(0x293))['action'](async(_0x65fbfa,_0x1fc7d4)=>{const _0x49329d=a2_0x2babb7,_0x483c5d=new WorkflowRunCommand(),_0x3f1f50=program[_0x49329d(0x253)](),_0xbf61d7=await createTDXInstance(_0x3f1f50),_0x4fa9f1=await _0x483c5d[_0x49329d(0x186)]({'options':{..._0x3f1f50,..._0x1fc7d4},'args':_0x65fbfa?[_0x65fbfa]:[],'tdx':_0xbf61d7});process[_0x49329d(0x360)](_0x4fa9f1);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x270))['description'](a2_0x2babb7(0x33e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x2d3))['action'](async(_0x1a0bd1,_0x13eaf1,_0xa0ebdf)=>{const _0x3a7d2f=a2_0x2babb7,_0x4b9e64=new WorkflowDownloadCommand(),_0x506d25=program[_0x3a7d2f(0x253)](),_0x86bbac=await createTDXInstance(_0x506d25),_0x23032a=await _0x4b9e64[_0x3a7d2f(0x186)]({'options':{..._0x506d25,..._0xa0ebdf},'args':[_0x1a0bd1,_0x13eaf1||'.'],'tdx':_0x86bbac});process[_0x3a7d2f(0x360)](_0x23032a);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2cb))[a2_0x2babb7(0x207)](a2_0x2babb7(0x219))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x1b4))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),'Skip\x20confirmation\x20prompt')['action'](async(_0x89d6f5,_0x3c73f5,_0x1742cc)=>{const _0x364666=a2_0x2babb7,_0x3fd948=new WorkflowPullCommand(),_0x1e5cca=program[_0x364666(0x253)](),_0x43e6d6=await createTDXInstance(_0x1e5cca),_0x4a799e=await _0x3fd948['run']({'options':{..._0x1e5cca,..._0x1742cc},'args':_0x3c73f5?[_0x89d6f5,_0x3c73f5]:[_0x89d6f5],'tdx':_0x43e6d6});process[_0x364666(0x360)](_0x4a799e);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x258))[a2_0x2babb7(0x207)](a2_0x2babb7(0x148))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x162))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x36d))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e0),a2_0x2babb7(0x22e))['option']('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](async(_0x4c25ab,_0x4d73fd)=>{const _0x22b00d=new WorkflowPushCommand(),_0x5b268b=program['opts'](),_0x3bbe31=await createTDXInstance(_0x5b268b),_0x26e892=await _0x22b00d['run']({'options':{..._0x5b268b,..._0x4d73fd},'args':_0x4c25ab?[_0x4c25ab]:[],'tdx':_0x3bbe31});process['exit'](_0x26e892);}),workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x23a))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2c8))['option'](a2_0x2babb7(0x2e3),a2_0x2babb7(0x20e))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x34c))['option']('--skip-validation',a2_0x2babb7(0x22e))[a2_0x2babb7(0x209)](async(_0x588251,_0x3f1a1f)=>{const _0x5f578a=a2_0x2babb7,_0x2c8334=new WorkflowUploadCommand(),_0x14e9db=program[_0x5f578a(0x253)](),_0x522077=await createTDXInstance(_0x14e9db),_0x2b9595=await _0x2c8334['run']({'options':{..._0x14e9db,..._0x3f1a1f},'args':_0x588251?[_0x588251]:[],'tdx':_0x522077});process[_0x5f578a(0x360)](_0x2b9595);}),workflowCmd[a2_0x2babb7(0x27b)]('clone\x20[source-dir]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x344))['option'](a2_0x2babb7(0x2e3),a2_0x2babb7(0x23d))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b5),a2_0x2babb7(0x162))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x329))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e0),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1a0),a2_0x2babb7(0x336))[a2_0x2babb7(0x209)](async(_0x599014,_0x19879b)=>{const _0x5d8f79=a2_0x2babb7,_0xfe4f00=new WorkflowCloneCommand(),_0x30c17e=program[_0x5d8f79(0x253)](),_0x26e3d2=await createTDXInstance(_0x30c17e),_0x4bd632=await _0xfe4f00[_0x5d8f79(0x186)]({'options':{..._0x30c17e,..._0x19879b},'args':_0x599014?[_0x599014]:[],'tdx':_0x26e3d2});process[_0x5d8f79(0x360)](_0x4bd632);}),workflowCmd[a2_0x2babb7(0x27b)]('delete\x20<project-name-or-id>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x169))[a2_0x2babb7(0x209)](async(_0x371a8f,_0x53215f)=>{const _0xf69bb7=a2_0x2babb7,_0x100842=new WorkflowDeleteCommand(),_0xbbfa4=program['opts'](),_0x411604=await createTDXInstance(_0xbbfa4),_0x267c9a=await _0x100842['run']({'options':{..._0xbbfa4,..._0x53215f},'args':[_0x371a8f],'tdx':_0x411604});process[_0xf69bb7(0x360)](_0x267c9a);}),workflowCmd[a2_0x2babb7(0x27b)]('use\x20[project]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x273))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e8),a2_0x2babb7(0x37f))[a2_0x2babb7(0x209)](async(_0x575e38,_0x395eeb)=>{const _0x3c38c0=a2_0x2babb7,_0xc2b84e=new WorkflowUseCommand(),_0x43593f=program[_0x3c38c0(0x253)](),_0x5111a2=await createTDXInstance(_0x43593f),_0xcf3493=await _0xc2b84e[_0x3c38c0(0x186)]({'options':{..._0x43593f,..._0x395eeb},'args':_0x575e38?[_0x575e38]:[],'tdx':_0x5111a2});process[_0x3c38c0(0x360)](_0xcf3493);});const wfSecretsCmd=workflowCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x16c))[a2_0x2babb7(0x207)]('Manage\x20workflow\x20project\x20secrets');wfSecretsCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x195))['description']('List\x20secret\x20keys\x20for\x20a\x20project')['action'](async(_0x7af495,_0x25602d)=>{const _0x1caede=a2_0x2babb7,_0x475862=new WorkflowSecretsListCommand(),_0x486a6d=program[_0x1caede(0x253)](),_0x2ad9ef=await createTDXInstance(_0x486a6d),_0x23991e=await _0x475862['run']({'options':{..._0x486a6d,..._0x25602d},'args':_0x7af495?[_0x7af495]:[],'tdx':_0x2ad9ef});process[_0x1caede(0x360)](_0x23991e);}),wfSecretsCmd[a2_0x2babb7(0x27b)]('set\x20<args...>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x2a5))[a2_0x2babb7(0x209)](async(_0x1d7d5d,_0x1b7088)=>{const _0x316ca1=a2_0x2babb7,_0x1af253=new WorkflowSecretsSetCommand(),_0x2d65c1=program[_0x316ca1(0x253)](),_0x4186dd=await createTDXInstance(_0x2d65c1),_0x39a246=await _0x1af253['run']({'options':{..._0x2d65c1,..._0x1b7088},'args':_0x1d7d5d,'tdx':_0x4186dd});process[_0x316ca1(0x360)](_0x39a246);}),wfSecretsCmd[a2_0x2babb7(0x27b)]('delete\x20<args...>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x315))['option'](a2_0x2babb7(0x1a0),'Skip\x20confirmation\x20prompt')['action'](async(_0x25e55c,_0x2f357c)=>{const _0x4fd789=a2_0x2babb7,_0x497182=new WorkflowSecretsDeleteCommand(),_0x261350=program['opts'](),_0x5ba087=await createTDXInstance(_0x261350),_0x8896e5=await _0x497182[_0x4fd789(0x186)]({'options':{..._0x261350,..._0x2f357c},'args':_0x25e55c,'tdx':_0x5ba087});process[_0x4fd789(0x360)](_0x8896e5);});const jobCmd=program['command'](a2_0x2babb7(0x261))[a2_0x2babb7(0x207)]('Job\x20management\x20commands'),jobListAction=async _0x44c3da=>{const _0x5a7e75=a2_0x2babb7,_0x1a14c3=new JobListCommand(),_0xaa717f=program['opts'](),_0x3d04c6=await createTDXInstance(_0xaa717f),_0x98e98c=await _0x1a14c3[_0x5a7e75(0x186)]({'options':{..._0xaa717f,..._0x44c3da},'args':[],'tdx':_0x3d04c6});process[_0x5a7e75(0x360)](_0x98e98c);};jobCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1c6))['description'](a2_0x2babb7(0x31c))['option'](a2_0x2babb7(0x2de),a2_0x2babb7(0x165))[a2_0x2babb7(0x209)](jobListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1e9),{'hidden':!![]})['description'](a2_0x2babb7(0x32d))['option'](a2_0x2babb7(0x2de),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x2babb7(0x209)](jobListAction),jobCmd['command'](a2_0x2babb7(0x144))[a2_0x2babb7(0x207)](a2_0x2babb7(0x155))[a2_0x2babb7(0x209)](async(_0x539688,_0x56976d)=>{const _0x11384d=a2_0x2babb7,_0x554f33=new JobShowCommand(),_0x5a4fd9=program['opts'](),_0x11725d=await createTDXInstance(_0x5a4fd9),_0x10a773=await _0x554f33[_0x11384d(0x186)]({'options':{..._0x5a4fd9,..._0x56976d},'args':[_0x539688],'tdx':_0x11725d});process[_0x11384d(0x360)](_0x10a773);}),jobCmd['command']('kill\x20<job-id>')['description'](a2_0x2babb7(0x194))[a2_0x2babb7(0x209)](async(_0x85ba44,_0x363da3)=>{const _0x254caf=a2_0x2babb7,_0x34940c=new JobKillCommand(),_0x4c0eaa=program[_0x254caf(0x253)](),_0xce5505=await createTDXInstance(_0x4c0eaa),_0x54e3d1=await _0x34940c['run']({'options':{..._0x4c0eaa,..._0x363da3},'args':[_0x85ba44],'tdx':_0xce5505});process[_0x254caf(0x360)](_0x54e3d1);}),jobCmd[a2_0x2babb7(0x27b)]('submit\x20[query]')['description'](a2_0x2babb7(0x311))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x218),a2_0x2babb7(0x25a),'trino')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x312),a2_0x2babb7(0x25b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x157),a2_0x2babb7(0x32f),a2_0x2babb7(0x28e))[a2_0x2babb7(0x209)](async(_0x2129ad,_0xb16b3f)=>{const _0x5ebc9b=a2_0x2babb7,_0x41911b=new JobSubmitCommand(),_0x1d2832=program[_0x5ebc9b(0x253)](),_0x1c06c7=await createTDXInstance(_0x1d2832),_0x5f361f=await _0x41911b['run']({'options':{..._0x1d2832,..._0xb16b3f},'args':_0x2129ad?[_0x2129ad]:[],'tdx':_0x1c06c7});process[_0x5ebc9b(0x360)](_0x5f361f);}),jobCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x373))['description'](a2_0x2babb7(0x181))['action'](async(_0x1316d4,_0xa8041b)=>{const _0x23f408=a2_0x2babb7,_0x7ce8ee=new JobResultCommand(),_0x1347c4=program[_0x23f408(0x253)](),_0x28bf23=await createTDXInstance(_0x1347c4),_0x19e426=await _0x7ce8ee[_0x23f408(0x186)]({'options':{..._0x1347c4,..._0xa8041b},'args':[_0x1316d4],'tdx':_0x28bf23});process[_0x23f408(0x360)](_0x19e426);});const llmCmd=program[a2_0x2babb7(0x27b)]('llm')[a2_0x2babb7(0x207)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd['command']('use\x20<project-name>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x153))[a2_0x2babb7(0x209)](async(_0xc77de1,_0x4fa1d6)=>{const _0x3755d0=a2_0x2babb7,_0x2aa1f7=new LLMUseCommand(),_0xae6805=program[_0x3755d0(0x253)](),_0xd12aff=await createTDXInstance(_0xae6805),_0x2c94d6=await _0x2aa1f7[_0x3755d0(0x186)]({'options':{..._0xae6805,..._0x4fa1d6},'args':[_0xc77de1],'tdx':_0xd12aff});process[_0x3755d0(0x360)](_0x2c94d6);}),llmCmd[a2_0x2babb7(0x27b)]('models')[a2_0x2babb7(0x207)](a2_0x2babb7(0x1f5))[a2_0x2babb7(0x209)](async _0x111026=>{const _0xb238a=a2_0x2babb7,_0x23c4e5=new LLMModelsCommand(),_0x47d5ab=program[_0xb238a(0x253)](),_0x543fbd=await createTDXInstance(_0x47d5ab),_0x5b10cb=await _0x23c4e5[_0xb238a(0x186)]({'options':{..._0x47d5ab,..._0x111026},'args':[],'tdx':_0x543fbd});process[_0xb238a(0x360)](_0x5b10cb);});const projectCmd=llmCmd['command']('project')[a2_0x2babb7(0x207)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x590178,_0x1c48fb)=>{const _0x12e6c4=a2_0x2babb7,_0x4fcbbb=new LLMProjectsCommand(),_0x121bfc=program[_0x12e6c4(0x253)](),_0x2bbc6d=await createTDXInstance(_0x121bfc),_0x56ee3d=await _0x4fcbbb[_0x12e6c4(0x186)]({'options':{..._0x121bfc,..._0x1c48fb},'args':_0x590178?[_0x590178]:[],'tdx':_0x2bbc6d});process['exit'](_0x56ee3d);};projectCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x17c))['action'](llmProjectListAction),llmCmd['command'](a2_0x2babb7(0x199))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2d5))['action'](llmProjectListAction),projectCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x16a))[a2_0x2babb7(0x207)](a2_0x2babb7(0x33a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),a2_0x2babb7(0x1de))[a2_0x2babb7(0x209)](async(_0x3c6a06,_0xb0767e)=>{const _0x5f1db1=a2_0x2babb7,_0x1d94f3=new LLMProjectCreateCommand(),_0x5ae2d1=program[_0x5f1db1(0x253)](),_0x34b28e=await createTDXInstance(_0x5ae2d1),_0x451cae=await _0x1d94f3['run']({'options':{..._0x5ae2d1,..._0xb0767e},'args':[_0x3c6a06],'tdx':_0x34b28e});process[_0x5f1db1(0x360)](_0x451cae);}),projectCmd[a2_0x2babb7(0x27b)]('delete\x20<name>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x35c))[a2_0x2babb7(0x209)](async(_0x587c96,_0x5c20e1)=>{const _0x161ce3=a2_0x2babb7,_0x39008c=new LLMProjectDeleteCommand(),_0x400e73=program[_0x161ce3(0x253)](),_0x2ddb66=await createTDXInstance(_0x400e73),_0x120e46=await _0x39008c[_0x161ce3(0x186)]({'options':{..._0x400e73,..._0x5c20e1},'args':[_0x587c96],'tdx':_0x2ddb66});process[_0x161ce3(0x360)](_0x120e46);}),projectCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2a7))['description'](a2_0x2babb7(0x381))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x14b),a2_0x2babb7(0x26a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x375))[a2_0x2babb7(0x209)](async(_0x2232b7,_0x3d837c)=>{const _0x269653=a2_0x2babb7,_0x1f3644=new LLMProjectBackupCommand(),_0x2f99fa=program['opts'](),_0x564e93=await createTDXInstance(_0x2f99fa),_0x29caa7=await _0x1f3644['run']({'options':{..._0x2f99fa,..._0x3d837c},'args':[_0x2232b7],'tdx':_0x564e93});process[_0x269653(0x360)](_0x29caa7);}),projectCmd['command'](a2_0x2babb7(0x2fc))[a2_0x2babb7(0x207)](a2_0x2babb7(0x257))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x21c),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),a2_0x2babb7(0x141))[a2_0x2babb7(0x209)](async(_0x3b31a1,_0x2f93eb)=>{const _0x34c252=a2_0x2babb7,_0x4a0540=new LLMProjectRestoreCommand(),_0x19bd0b=program['opts'](),_0x14d5da=await createTDXInstance(_0x19bd0b),_0x35593e=await _0x4a0540[_0x34c252(0x186)]({'options':{..._0x19bd0b,..._0x2f93eb},'args':[_0x3b31a1],'tdx':_0x14d5da});process[_0x34c252(0x360)](_0x35593e);});const llmAgentListAction=async(_0x52e85a,_0x1a3eeb)=>{const _0x1b9c0e=a2_0x2babb7,_0x26f602=new LLMAgentsCommand(),_0x1f221b=program['opts'](),_0x53fa54=await createTDXInstance(_0x1f221b),_0x46dd37=await _0x26f602['run']({'options':{..._0x1f221b,..._0x1a3eeb},'args':_0x52e85a?[_0x52e85a]:[],'tdx':_0x53fa54});process[_0x1b9c0e(0x360)](_0x46dd37);};llmCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1ea))['description'](a2_0x2babb7(0x245))['action'](llmAgentListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1ea))[a2_0x2babb7(0x207)](a2_0x2babb7(0x245))[a2_0x2babb7(0x209)](llmAgentListAction),llmCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x214))[a2_0x2babb7(0x207)]('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')['option'](a2_0x2babb7(0x28d),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x2babb7(0x209)](async(_0x4e135e,_0x314845)=>{const _0x557e29=a2_0x2babb7,_0x5aeeb0=new LLMHistoryCommand(),_0xf4d6e0=program['opts'](),_0x1ac671=await createTDXInstance(_0xf4d6e0),_0x161dc9=await _0x5aeeb0[_0x557e29(0x186)]({'options':{..._0xf4d6e0,..._0x314845},'args':_0x4e135e?[_0x4e135e]:[],'tdx':_0x1ac671});process[_0x557e29(0x360)](_0x161dc9);}),llmCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x18f))[a2_0x2babb7(0x207)]('[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)')[a2_0x2babb7(0x2ec)]('--port\x20<number>',a2_0x2babb7(0x2ae),a2_0x2babb7(0x250))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2a9),a2_0x2babb7(0x1ed))['option'](a2_0x2babb7(0x32e),a2_0x2babb7(0x2a3))[a2_0x2babb7(0x209)](async _0x20a109=>{const _0x5cd677=a2_0x2babb7,_0x4a6977=new LLMProxyCommand(),_0x2319ec=program[_0x5cd677(0x253)](),_0x139c8f=await createTDXInstance(_0x2319ec),_0x5eed9a={..._0x20a109,'port':_0x20a109[_0x5cd677(0x21b)]?parseInt(_0x20a109['port'],0xa):undefined},_0x5b6915=await _0x4a6977[_0x5cd677(0x186)]({'options':{..._0x2319ec,..._0x5eed9a},'args':[],'tdx':_0x139c8f});process[_0x5cd677(0x360)](_0x5b6915);}),program['command'](a2_0x2babb7(0x228))[a2_0x2babb7(0x385)](a2_0x2babb7(0x23b))[a2_0x2babb7(0x207)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x2babb7(0x2ec)]('--model\x20<name>',a2_0x2babb7(0x26e),a2_0x2babb7(0x352))['option']('-c,\x20--continue','Continue\x20most\x20recent\x20conversation')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x24c),a2_0x2babb7(0x317))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x29f),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')['option']('--llm-proxy\x20[url]','Use\x20TD\x20LLM\x20Proxy\x20pass-through\x20mode\x20(optionally\x20specify\x20custom\x20URL)')[a2_0x2babb7(0x35e)]()['allowExcessArguments'](!![])['addHelpText'](a2_0x2babb7(0x265),'\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--llm-proxy\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Use\x20TD\x20LLM\x20Proxy\x20pass-through\x20mode\x0a\x20\x20tdx\x20claude\x20--llm-proxy\x20http://localhost:8080\x20\x20Use\x20custom\x20proxy\x20URL\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON')['action'](async(_0x3b21fc,_0x3c6148)=>{const _0x10563f=a2_0x2babb7,_0x291f57=program[_0x10563f(0x253)](),_0x30a195=Array[_0x10563f(0x272)](_0x3b21fc)?_0x3b21fc:[];if(_0x30a195[0x0]===_0x10563f(0x151)){const _0x3942b5=new ClaudeStatuslineCommand(),_0x24d881=await _0x3942b5[_0x10563f(0x186)]({'options':{..._0x291f57,..._0x3c6148},'args':_0x30a195[_0x10563f(0x2c3)](0x1),'tdx':null});process[_0x10563f(0x360)](_0x24d881);}if(_0x30a195[0x0]===_0x10563f(0x385)){const _0x52cd53=new ClaudeUsageCommand(),_0x2a82b3=await _0x52cd53[_0x10563f(0x186)]({'options':{..._0x291f57,..._0x3c6148},'args':_0x30a195[_0x10563f(0x2c3)](0x1),'tdx':null});process[_0x10563f(0x360)](_0x2a82b3);}const _0x299651=new ClaudeCommand(),_0x4eb1ff=await createTDXInstance(_0x291f57),_0xa230c2=await _0x299651[_0x10563f(0x186)]({'options':{..._0x291f57,..._0x3c6148},'args':_0x30a195,'tdx':_0x4eb1ff});process[_0x10563f(0x360)](_0xa230c2);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x158))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30d))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e8),'Clear\x20session\x20context')['option'](a2_0x2babb7(0x29a),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x2babb7(0x209)](async(_0x1b8e83,_0x4f9def,_0x4cff6d)=>{const _0x43f5dc=a2_0x2babb7,_0x229632=new UseCommand(),_0x1ce26f=program[_0x43f5dc(0x253)](),_0x2ec2b3=[];if(_0x1b8e83)_0x2ec2b3['push'](_0x1b8e83);if(_0x4f9def)_0x2ec2b3[_0x43f5dc(0x1ba)](_0x4f9def);const _0x1eb087=await _0x229632[_0x43f5dc(0x186)]({'options':{..._0x1ce26f,..._0x4cff6d},'args':_0x2ec2b3,'tdx':null});process['exit'](_0x1eb087);}),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x313))[a2_0x2babb7(0x207)](a2_0x2babb7(0x35f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x29a),a2_0x2babb7(0x266))[a2_0x2babb7(0x209)](async(_0x32f0e5,_0x5f3571)=>{const _0x248fa8=a2_0x2babb7,_0x181ba3=new UnsetCommand(),_0x412a0e=program['opts'](),_0x24d537=await _0x181ba3['run']({'options':{..._0x412a0e,..._0x5f3571},'args':[_0x32f0e5],'tdx':null});process[_0x248fa8(0x360)](_0x24d537);}),program['command'](a2_0x2babb7(0x226))[a2_0x2babb7(0x207)](a2_0x2babb7(0x238))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x28d),a2_0x2babb7(0x36f))[a2_0x2babb7(0x209)](async _0x15cb37=>{const _0xf0f2e0=a2_0x2babb7,_0x57387d=new ChatsCommand(),_0x37371f=program[_0xf0f2e0(0x253)](),_0x1a5f97=await createTDXInstance(_0x37371f),_0xe101c9=await _0x57387d[_0xf0f2e0(0x186)]({'options':{..._0x37371f,..._0x15cb37},'args':[],'tdx':_0x1a5f97});process['exit'](_0xe101c9);});const authCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1fa))['description'](a2_0x2babb7(0x1bd));async function runAuthStatusCommand(_0x5f3018){const _0x296560=a2_0x2babb7,_0x3e726b=new AuthStatusCommand(),_0x302fbf=program[_0x296560(0x253)](),_0x51fcda=await createTDXInstance(_0x302fbf),_0xf87969=await _0x3e726b['run']({'options':{..._0x302fbf,..._0x5f3018},'args':[],'tdx':_0x51fcda});process['exit'](_0xf87969);}authCmd[a2_0x2babb7(0x209)](runAuthStatusCommand),authCmd['command']('status')[a2_0x2babb7(0x207)](a2_0x2babb7(0x1d2))[a2_0x2babb7(0x209)](runAuthStatusCommand),authCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x340))[a2_0x2babb7(0x207)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x2babb7(0x13e)](a2_0x2babb7(0x265),a2_0x2babb7(0x33d))[a2_0x2babb7(0x209)](async _0x4ed7b0=>{const _0xce1917=a2_0x2babb7,_0x48be8e=new AuthSetupCommand(),_0x2da5bb=program[_0xce1917(0x253)](),_0x48304f=await createTDXInstance(_0x2da5bb),_0x63c39d=await _0x48be8e['run']({'options':{..._0x2da5bb,..._0x4ed7b0},'args':[],'tdx':_0x48304f});process[_0xce1917(0x360)](_0x63c39d);}),authCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1d5))[a2_0x2babb7(0x207)](a2_0x2babb7(0x278))[a2_0x2babb7(0x13e)](a2_0x2babb7(0x265),a2_0x2babb7(0x28f))[a2_0x2babb7(0x209)](async _0x45c0f6=>{const _0x3bc285=a2_0x2babb7,_0x3fc0b9=new AuthClearCommand(),_0x3770a7=program[_0x3bc285(0x253)](),_0x14c9c3=await _0x3fc0b9[_0x3bc285(0x186)]({'options':{..._0x3770a7,..._0x45c0f6},'args':[],'tdx':null});process[_0x3bc285(0x360)](_0x14c9c3);});const userCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x221))[a2_0x2babb7(0x207)](a2_0x2babb7(0x17f)),userListAction=async _0x1bdb0d=>{const _0x4123dc=a2_0x2babb7,_0x9b296f=new UserListCommand(),_0x1775c2=program[_0x4123dc(0x253)](),_0x4d208b=await createTDXInstance(_0x1775c2),_0x20f645=await _0x9b296f[_0x4123dc(0x186)]({'options':{..._0x1775c2,..._0x1bdb0d},'args':[],'tdx':_0x4d208b});process[_0x4123dc(0x360)](_0x20f645);};userCmd[a2_0x2babb7(0x209)](async _0x59f38a=>{const _0x4fe3f0=a2_0x2babb7,_0x2a15f3=new UserCommand(),_0x531024=program[_0x4fe3f0(0x253)](),_0x3fa099=await createTDXInstance(_0x531024),_0x4c95a7=await _0x2a15f3[_0x4fe3f0(0x186)]({'options':{..._0x531024,..._0x59f38a},'args':[],'tdx':_0x3fa099});process[_0x4fe3f0(0x360)](_0x4c95a7);}),userCmd['command'](a2_0x2babb7(0x1c6))[a2_0x2babb7(0x207)](a2_0x2babb7(0x201))[a2_0x2babb7(0x209)](userListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x160))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2f2))[a2_0x2babb7(0x209)](userListAction),program['command'](a2_0x2babb7(0x1c0))['description'](a2_0x2babb7(0x2d6))[a2_0x2babb7(0x209)](async _0x3b48f7=>{const _0x4d5c00=a2_0x2babb7,_0x15e566=new ProfilesCommand(),_0x42bbb6=program[_0x4d5c00(0x253)](),_0x7230ff=await _0x15e566['run']({'options':{..._0x42bbb6,..._0x3b48f7},'args':[],'tdx':null});process[_0x4d5c00(0x360)](_0x7230ff);});const profileCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x197))[a2_0x2babb7(0x207)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x2babb7(0x209)](()=>{const _0x21fe51=a2_0x2babb7;profileCmd[_0x21fe51(0x2d2)]();});const profileListAction=async _0x1318b1=>{const _0x454fa9=a2_0x2babb7,_0x52e703=new ProfilesCommand(),_0x704a03=program['opts'](),_0x13812d=await _0x52e703['run']({'options':{..._0x704a03,..._0x1318b1},'args':[],'tdx':null});process[_0x454fa9(0x360)](_0x13812d);};profileCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1c6))[a2_0x2babb7(0x207)](a2_0x2babb7(0x2d6))['action'](profileListAction),profileCmd['command'](a2_0x2babb7(0x17a))['description'](a2_0x2babb7(0x19d))[a2_0x2babb7(0x13e)](a2_0x2babb7(0x265),'\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')[a2_0x2babb7(0x209)](async(_0x4300d7,_0x16aa98)=>{const _0x2260d3=a2_0x2babb7,_0x3e5128=new ProfileCreateCommand(),_0x65f9f9=program[_0x2260d3(0x253)](),_0x2769f6=await _0x3e5128[_0x2260d3(0x186)]({'options':{..._0x65f9f9,..._0x16aa98},'args':_0x4300d7?[_0x4300d7]:[],'tdx':null});process[_0x2260d3(0x360)](_0x2769f6);}),profileCmd['command'](a2_0x2babb7(0x281))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1f9))[a2_0x2babb7(0x13e)]('after',a2_0x2babb7(0x231))['action'](async(_0x553291,_0x975c88)=>{const _0x4682be=a2_0x2babb7,_0x27f870=new ProfileRemoveCommand(),_0x3464c6=program[_0x4682be(0x253)](),_0x5c8f16=await _0x27f870[_0x4682be(0x186)]({'options':{..._0x3464c6,..._0x975c88},'args':[_0x553291],'tdx':null});process[_0x4682be(0x360)](_0x5c8f16);}),profileCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x25e))[a2_0x2babb7(0x207)]('Set\x20a\x20profile\x20configuration\x20value')[a2_0x2babb7(0x13e)](a2_0x2babb7(0x265),a2_0x2babb7(0x31b))[a2_0x2babb7(0x209)](async(_0x1f9d25,_0x1bee88)=>{const _0xca63dd=a2_0x2babb7,_0x1b3113=new ProfileSetCommand(),_0xf266f4=program['opts'](),_0x2b31b5=await _0x1b3113[_0xca63dd(0x186)]({'options':{..._0xf266f4,..._0x1bee88},'args':[_0x1f9d25],'tdx':null});process[_0xca63dd(0x360)](_0x2b31b5);}),profileCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x211))['description']('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x29a),a2_0x2babb7(0x175))['addHelpText'](a2_0x2babb7(0x265),a2_0x2babb7(0x1b3))[a2_0x2babb7(0x209)](async(_0xddccb8,_0x4a91b6)=>{const _0x333545=a2_0x2babb7,_0x4d20ac=new ProfileUseCommand(),_0xa5a99a=program[_0x333545(0x253)](),_0x2853b5=await _0x4d20ac[_0x333545(0x186)]({'options':{..._0xa5a99a,..._0x4a91b6},'args':[_0xddccb8],'tdx':null});process['exit'](_0x2853b5);});const engageCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x224))[a2_0x2babb7(0x207)](a2_0x2babb7(0x13c)),createEngageAction=_0x528191=>{return async(_0xe90430,_0x2760ef)=>{const _0x2bc6e0=a2_0x11a7,_0x9681b3=new _0x528191(),_0x306486=program[_0x2bc6e0(0x253)](),_0x3d4d02=await createTDXInstance(_0x306486),_0x5b0d7a=await _0x9681b3['run']({'options':{..._0x306486,..._0x2760ef},'args':[_0xe90430],'tdx':_0x3d4d02});process['exit'](_0x5b0d7a);};},createEngageNoArgAction=_0x303ac3=>{return async _0xc4f3e0=>{const _0x42bddf=a2_0x11a7,_0x564e48=new _0x303ac3(),_0xc048bd=program[_0x42bddf(0x253)](),_0xfb927f=await createTDXInstance(_0xc048bd),_0x20bca3=await _0x564e48[_0x42bddf(0x186)]({'options':{..._0xc048bd,..._0xc4f3e0},'args':[],'tdx':_0xfb927f});process[_0x42bddf(0x360)](_0x20bca3);};},campaignCmd=engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x384))[a2_0x2babb7(0x207)]('Campaign\x20management'),campaignListAction=async(_0x13e232,_0x801837)=>{const _0x4c1c7b=a2_0x2babb7,_0x425b21=new EngageCampaignsCommand(),_0x5ec243=program['opts'](),_0x47490a=await createTDXInstance(_0x5ec243),_0x5d0a40=await _0x425b21[_0x4c1c7b(0x186)]({'options':{..._0x5ec243,..._0x801837},'args':_0x13e232?[_0x13e232]:[],'tdx':_0x47490a});process[_0x4c1c7b(0x360)](_0x5d0a40);};campaignCmd[a2_0x2babb7(0x27b)]('list\x20[pattern]')[a2_0x2babb7(0x207)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e1),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')['option'](a2_0x2babb7(0x2de),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option'](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](campaignListAction),engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x335))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1ad))[a2_0x2babb7(0x2ec)]('--type\x20<type>',a2_0x2babb7(0x159))['option'](a2_0x2babb7(0x2de),a2_0x2babb7(0x323))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](campaignListAction),campaignCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x183))[a2_0x2babb7(0x207)]('Show\x20campaign\x20details')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1fe),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x2babb7(0x255))[a2_0x2babb7(0x207)](a2_0x2babb7(0x386))[a2_0x2babb7(0x203)]('--name\x20<name>','Campaign\x20name')['requiredOption']('--type\x20<type>',a2_0x2babb7(0x357))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x2dc))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b9),'Campaign\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x356),a2_0x2babb7(0x20b))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1fd),a2_0x2babb7(0x22f))['option'](a2_0x2babb7(0x332),a2_0x2babb7(0x387))['option']('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option'](a2_0x2babb7(0x289),a2_0x2babb7(0x2ce))[a2_0x2babb7(0x209)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x27f))[a2_0x2babb7(0x207)](a2_0x2babb7(0x22c))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2e3),'New\x20campaign\x20name')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b9),'Campaign\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x356),a2_0x2babb7(0x20b))['option'](a2_0x2babb7(0x1fd),a2_0x2babb7(0x22f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x332),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x2babb7(0x2ec)]('--start-at\x20<datetime>',a2_0x2babb7(0x1d7))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x289),a2_0x2babb7(0x2ce))[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x187))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x268),'Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x2babb7(0x22a))['description']('Launch\x20a\x20campaign')['option'](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x2babb7(0x27b)]('pause\x20<name-or-id>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x309))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0x2babb7(0x16d))[a2_0x2babb7(0x207)](a2_0x2babb7(0x236))['option'](a2_0x2babb7(0x1b6),'Workspace\x20name')['action'](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x20c))['description'](a2_0x2babb7(0x1a7))[a2_0x2babb7(0x2ec)]('--workspace\x20<name>',a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x216))[a2_0x2babb7(0x207)]('Email\x20template\x20management'),templateListAction=async(_0x3fba47,_0xf3dbdf)=>{const _0x18d0b5=a2_0x2babb7,_0xf5ef89=new EngageTemplatesCommand(),_0x4e3659=program[_0x18d0b5(0x253)](),_0x39030c=await createTDXInstance(_0x4e3659),_0x2d6987=await _0xf5ef89[_0x18d0b5(0x186)]({'options':{..._0x4e3659,..._0xf3dbdf},'args':_0x3fba47?[_0x3fba47]:[],'tdx':_0x39030c});process['exit'](_0x2d6987);};templateCmd[a2_0x2babb7(0x27b)]('list\x20[pattern]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x382))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),'Workspace\x20name')[a2_0x2babb7(0x209)](templateListAction),engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2c6))[a2_0x2babb7(0x207)](a2_0x2babb7(0x262))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x209)](templateListAction),templateCmd['command'](a2_0x2babb7(0x183))[a2_0x2babb7(0x207)]('Show\x20email\x20template\x20details')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),'Workspace\x20name')['option'](a2_0x2babb7(0x1fe),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x255))[a2_0x2babb7(0x207)]('Create\x20an\x20email\x20template')[a2_0x2babb7(0x203)](a2_0x2babb7(0x2e3),'Template\x20name')['requiredOption'](a2_0x2babb7(0x1ce),'Email\x20subject\x20template')['requiredOption'](a2_0x2babb7(0x37b),a2_0x2babb7(0x2b2))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x2dc))['option'](a2_0x2babb7(0x193),'Plaintext\x20template\x20content')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x285),a2_0x2babb7(0x1a4))[a2_0x2babb7(0x209)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x27f))[a2_0x2babb7(0x207)]('Update\x20an\x20email\x20template')[a2_0x2babb7(0x2ec)]('--workspace\x20<name>','Workspace\x20name')['option']('--name\x20<name>',a2_0x2babb7(0x2ca))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1ce),a2_0x2babb7(0x2a6))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x37b),'HTML\x20template\x20content')['option']('--plaintext\x20<text>','Plaintext\x20template\x20content')[a2_0x2babb7(0x209)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x2babb7(0x187))[a2_0x2babb7(0x207)]('Delete\x20an\x20email\x20template')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b6),a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x268),'Skip\x20confirmation\x20prompt')[a2_0x2babb7(0x209)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x379))[a2_0x2babb7(0x207)](a2_0x2babb7(0x242)),workspaceListAction=async(_0x3c1013,_0x20376c)=>{const _0x5a49fd=a2_0x2babb7,_0x3bbaf2=new EngageWorkspacesCommand(),_0x1e3bc1=program[_0x5a49fd(0x253)](),_0x124c4d=await createTDXInstance(_0x1e3bc1),_0x4617fd=await _0x3bbaf2['run']({'options':{..._0x1e3bc1,..._0x20376c},'args':_0x3c1013?[_0x3c1013]:[],'tdx':_0x124c4d});process[_0x5a49fd(0x360)](_0x4617fd);};workspaceCmd['command'](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1cc))['action'](workspaceListAction),engageCmd['command'](a2_0x2babb7(0x269))[a2_0x2babb7(0x207)](a2_0x2babb7(0x21a))[a2_0x2babb7(0x209)](workspaceListAction),workspaceCmd['command'](a2_0x2babb7(0x183))['description']('Show\x20workspace\x20details')[a2_0x2babb7(0x2ec)]('--full',a2_0x2babb7(0x243))[a2_0x2babb7(0x209)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x2babb7(0x27b)]('create')[a2_0x2babb7(0x207)](a2_0x2babb7(0x29e))[a2_0x2babb7(0x203)]('--name\x20<name>',a2_0x2babb7(0x37a))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b9),a2_0x2babb7(0x222))[a2_0x2babb7(0x209)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x2babb7(0x27f))[a2_0x2babb7(0x207)]('Update\x20a\x20workspace')['option'](a2_0x2babb7(0x2e3),'New\x20workspace\x20name')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x1b9),a2_0x2babb7(0x222))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x187))['description'](a2_0x2babb7(0x161))['option'](a2_0x2babb7(0x268),a2_0x2babb7(0x336))[a2_0x2babb7(0x209)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x2babb7(0x27b)]('use\x20<name>')[a2_0x2babb7(0x207)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x2babb7(0x209)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1e6))[a2_0x2babb7(0x207)](a2_0x2babb7(0x24e)),connectionListAction=async _0x1cc79b=>{const _0x40236a=a2_0x2babb7,_0x4ea73a=new ConnectionListCommand(),_0x1a06d0=program[_0x40236a(0x253)](),_0x1e8e8c=await createTDXInstance(_0x1a06d0),_0x2bece7=await _0x4ea73a['run']({'options':{..._0x1a06d0,..._0x1cc79b},'args':[],'tdx':_0x1e8e8c});process[_0x40236a(0x360)](_0x2bece7);};connectionCmd[a2_0x2babb7(0x27b)]('list')[a2_0x2babb7(0x207)](a2_0x2babb7(0x254))[a2_0x2babb7(0x209)](connectionListAction),program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1b2),{'hidden':!![]})[a2_0x2babb7(0x207)](a2_0x2babb7(0x331))[a2_0x2babb7(0x209)](connectionListAction),connectionCmd[a2_0x2babb7(0x27b)]('show\x20<name>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x152))[a2_0x2babb7(0x209)](async(_0x2bd82b,_0x29c779)=>{const _0x46c4e9=a2_0x2babb7,_0x11bbea=new ConnectionShowCommand(),_0x22f112=program[_0x46c4e9(0x253)](),_0x59526e=await createTDXInstance(_0x22f112),_0x6c5b2b=await _0x11bbea[_0x46c4e9(0x186)]({'options':{..._0x22f112,..._0x29c779},'args':[_0x2bd82b],'tdx':_0x59526e});process[_0x46c4e9(0x360)](_0x6c5b2b);}),connectionCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x156))[a2_0x2babb7(0x207)](a2_0x2babb7(0x330))['action'](async(_0x2a9662,_0x10ae5c)=>{const _0x2fb220=a2_0x2babb7,_0x4a2d89=new ConnectionSchemaCommand(),_0x2d8a5f=program[_0x2fb220(0x253)](),_0x36cafb=await createTDXInstance(_0x2d8a5f),_0x3b08fd=await _0x4a2d89[_0x2fb220(0x186)]({'options':{..._0x2d8a5f,..._0x10ae5c},'args':[_0x2a9662],'tdx':_0x36cafb});process[_0x2fb220(0x360)](_0x3b08fd);}),connectionCmd[a2_0x2babb7(0x27b)]('types')['description']('List\x20available\x20connector\x20types')[a2_0x2babb7(0x209)](async _0x463f4a=>{const _0x1985c0=a2_0x2babb7,_0x1b03a8=new ConnectionTypesCommand(),_0x5ce3b0=program[_0x1985c0(0x253)](),_0x2a8369=await createTDXInstance(_0x5ce3b0),_0x33db5b=await _0x1b03a8[_0x1985c0(0x186)]({'options':{..._0x5ce3b0,..._0x463f4a},'args':[],'tdx':_0x2a8369});process['exit'](_0x33db5b);}),connectionCmd[a2_0x2babb7(0x27b)]('settings\x20<type>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x297))[a2_0x2babb7(0x209)](async(_0x425c76,_0xa79567)=>{const _0x4c41f2=a2_0x2babb7,_0x36d3cd=new ConnectionSettingsCommand(),_0x592efc=program[_0x4c41f2(0x253)](),_0x205bf8=await createTDXInstance(_0x592efc),_0x26a591=await _0x36d3cd['run']({'options':{..._0x592efc,..._0xa79567},'args':[_0x425c76],'tdx':_0x205bf8});process[_0x4c41f2(0x360)](_0x26a591);});const journeyCmd=program[a2_0x2babb7(0x27b)]('journey')[a2_0x2babb7(0x207)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x1f24c1,_0xa374da)=>{const _0x4db5c6=a2_0x2babb7,_0x2f84d2=new JourneyListCommand(),_0x1b4268=program[_0x4db5c6(0x253)](),_0x3c7dab=await createTDXInstance(_0x1b4268),_0x244a6f=await _0x2f84d2['run']({'options':{..._0x1b4268,..._0xa374da},'args':_0x1f24c1?[_0x1f24c1]:[],'tdx':_0x3c7dab});process[_0x4db5c6(0x360)](_0x244a6f);};journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x304))[a2_0x2babb7(0x207)]('List\x20journeys\x20in\x20current\x20context')[a2_0x2babb7(0x209)](journeyListAction),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x24d))[a2_0x2babb7(0x207)](a2_0x2babb7(0x150))[a2_0x2babb7(0x2ec)]('-w,\x20--web','Open\x20journey\x20in\x20web\x20browser')['option']('--include-stats',a2_0x2babb7(0x350))[a2_0x2babb7(0x209)](async(_0x5e7a87,_0x1fcab4)=>{const _0x1715e4=a2_0x2babb7,_0x88a189=new JourneyViewCommand(),_0x23f760=program[_0x1715e4(0x253)](),_0x23cba0=await createTDXInstance(_0x23f760),_0x355024=await _0x88a189[_0x1715e4(0x186)]({'options':{..._0x23f760,..._0x1fcab4},'args':[_0x5e7a87],'tdx':_0x23cba0});process[_0x1715e4(0x360)](_0x355024);}),journeyCmd[a2_0x2babb7(0x27b)]('stats\x20<name-or-path>')[a2_0x2babb7(0x207)](a2_0x2babb7(0x28a))[a2_0x2babb7(0x2ec)]('--stage\x20<name>',a2_0x2babb7(0x1be))[a2_0x2babb7(0x209)](async(_0x543de2,_0x27f3dd)=>{const _0x1826f3=a2_0x2babb7,_0x1eb6de=new JourneyStatsCommand(),_0x2ebd8f=program['opts'](),_0x5f441f=await createTDXInstance(_0x2ebd8f),_0x19b46e=await _0x1eb6de[_0x1826f3(0x186)]({'options':{..._0x2ebd8f,..._0x27f3dd},'args':[_0x543de2],'tdx':_0x5f441f});process['exit'](_0x19b46e);}),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x15a))[a2_0x2babb7(0x207)](a2_0x2babb7(0x346))[a2_0x2babb7(0x209)](async(_0x166234,_0xf7a76)=>{const _0x4e83fc=a2_0x2babb7,_0x55e777=new JourneyPauseCommand(),_0x58929a=program[_0x4e83fc(0x253)](),_0x13b5cb=await createTDXInstance(_0x58929a),_0x2c0149=await _0x55e777[_0x4e83fc(0x186)]({'options':{..._0x58929a,..._0xf7a76},'args':[_0x166234],'tdx':_0x13b5cb});process[_0x4e83fc(0x360)](_0x2c0149);}),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x30c))[a2_0x2babb7(0x207)](a2_0x2babb7(0x208))[a2_0x2babb7(0x209)](async(_0x4dfadb,_0x13cc2a)=>{const _0xeb6b41=a2_0x2babb7,_0x2ab542=new JourneyResumeCommand(),_0x440723=program[_0xeb6b41(0x253)](),_0x40a09d=await createTDXInstance(_0x440723),_0x330629=await _0x2ab542['run']({'options':{..._0x440723,..._0x13cc2a},'args':[_0x4dfadb],'tdx':_0x40a09d});process[_0xeb6b41(0x360)](_0x330629);}),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x1db))[a2_0x2babb7(0x207)](a2_0x2babb7(0x18a))['option']('-y,\x20--yes','Skip\x20confirmation\x20prompt')['option']('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')['action'](async(_0x4a55bf,_0x3f1f0d)=>{const _0x30a001=a2_0x2babb7,_0x5b73f1=new JourneyPullCommand(),_0x167442=program['opts'](),_0x3aced3=await createTDXInstance(_0x167442),_0x2951d5=await _0x5b73f1[_0x30a001(0x186)]({'options':{..._0x167442,..._0x3f1f0d},'args':_0x4a55bf?[_0x4a55bf]:[],'tdx':_0x3aced3});process[_0x30a001(0x360)](_0x2951d5);}),journeyCmd[a2_0x2babb7(0x27b)]('push\x20[target]')[a2_0x2babb7(0x207)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x2babb7(0x209)](async(_0x5a24f1,_0x16a85c)=>{const _0x3707a8=a2_0x2babb7,_0x46c9c4=new JourneyPushCommand(),_0x48899f=program[_0x3707a8(0x253)](),_0x20a62d=await createTDXInstance(_0x48899f),_0x38a2e6=await _0x46c9c4[_0x3707a8(0x186)]({'options':{..._0x48899f,..._0x16a85c},'args':_0x5a24f1?[_0x5a24f1]:[],'tdx':_0x20a62d});process[_0x3707a8(0x360)](_0x38a2e6);}),journeyCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x374))[a2_0x2babb7(0x207)](a2_0x2babb7(0x372))['action'](async(_0x5b6308,_0x5a49a2)=>{const _0x35bae2=a2_0x2babb7,_0x51fad4=new JourneyValidateCommand(),_0x3b90e6=program[_0x35bae2(0x253)](),_0x53eb95=await createTDXInstance(_0x3b90e6),_0x415805=await _0x51fad4[_0x35bae2(0x186)]({'options':{..._0x3b90e6,..._0x5a49a2},'args':_0x5b6308?[_0x5b6308]:[],'tdx':_0x53eb95});process[_0x35bae2(0x360)](_0x415805);}),program['command']('journeys\x20[pattern]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x279))['action'](journeyListAction);const agentSyncCmd=program[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2bd))['description'](a2_0x2babb7(0x280));agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x206))['description'](a2_0x2babb7(0x2ed))['option'](a2_0x2babb7(0x251),'Output\x20directory')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x163),a2_0x2babb7(0x29d))[a2_0x2babb7(0x209)](async(_0x41a5d,_0x2c2611,_0x2655ca)=>{const _0x27d3b1=a2_0x2babb7,_0x131331=new AgentPullCommand(),_0x478590=program[_0x27d3b1(0x253)](),_0x55452c=await createTDXInstance(_0x478590),_0x1cde7f=[];if(_0x41a5d)_0x1cde7f[_0x27d3b1(0x1ba)](_0x41a5d);if(_0x2c2611)_0x1cde7f[_0x27d3b1(0x1ba)](_0x2c2611);const _0x1b99d5=await _0x131331[_0x27d3b1(0x186)]({'options':{..._0x478590,..._0x2655ca},'args':_0x1cde7f,'tdx':_0x55452c});process[_0x27d3b1(0x360)](_0x1b99d5);}),agentSyncCmd['command'](a2_0x2babb7(0x26d))['description']('Push\x20local\x20agent\x20files\x20to\x20LLM\x20project')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x163),a2_0x2babb7(0x295))[a2_0x2babb7(0x209)](async(_0x3c1ec9,_0x3c90cc)=>{const _0xa6f528=a2_0x2babb7,_0x2326fd=new AgentPushCommand(),_0x4f42f6=program[_0xa6f528(0x253)](),_0x4ffd14=await createTDXInstance(_0x4f42f6),_0x208521=await _0x2326fd['run']({'options':{..._0x4f42f6,..._0x3c90cc},'args':_0x3c1ec9?[_0x3c1ec9]:[],'tdx':_0x4ffd14});process['exit'](_0x208521);}),agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x17e))[a2_0x2babb7(0x207)](a2_0x2babb7(0x1dd))['option'](a2_0x2babb7(0x2cf),a2_0x2babb7(0x23d))[a2_0x2babb7(0x209)](async(_0x2ea575,_0xe42c82)=>{const _0x163adb=a2_0x2babb7,_0x2be71c=new AgentCloneCommand(),_0x3483d3=program[_0x163adb(0x253)](),_0x4031e9=await createTDXInstance(_0x3483d3),_0xde0c1b=await _0x2be71c['run']({'options':{..._0x3483d3,..._0xe42c82},'args':_0x2ea575?[_0x2ea575]:[],'tdx':_0x4031e9});process['exit'](_0xde0c1b);}),agentSyncCmd['command'](a2_0x2babb7(0x33c))[a2_0x2babb7(0x207)](a2_0x2babb7(0x167))[a2_0x2babb7(0x2ec)]('--name\x20<names>',a2_0x2babb7(0x223))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x17d),'Parse\x20and\x20validate\x20without\x20executing')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2b4),a2_0x2babb7(0x29b))[a2_0x2babb7(0x209)](async(_0x5a4d81,_0x1fee90)=>{const _0x3fa616=a2_0x2babb7,_0x563d4e=new AgentTestCommand(),_0x17a831=program[_0x3fa616(0x253)](),_0x44ad96=await createTDXInstance(_0x17a831),_0x4b485c=await _0x563d4e[_0x3fa616(0x186)]({'options':{..._0x17a831,..._0x1fee90},'args':_0x5a4d81?[_0x5a4d81]:[],'tdx':_0x44ad96});process[_0x3fa616(0x360)](_0x4b485c);}),agentSyncCmd[a2_0x2babb7(0x27b)]('list\x20[pattern]')[a2_0x2babb7(0x207)](a2_0x2babb7(0x26c))[a2_0x2babb7(0x209)](llmAgentListAction),agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2eb))[a2_0x2babb7(0x207)]('Show\x20agent\x20details')[a2_0x2babb7(0x209)](async(_0x57dd16,_0x1969c9)=>{const _0x3ff1e9=a2_0x2babb7,_0x360b38=new LLMAgentShowCommand(),_0x3a8309=program[_0x3ff1e9(0x253)](),_0x5ecd3b=await createTDXInstance(_0x3a8309),_0x413f74=await _0x360b38['run']({'options':{..._0x3a8309,..._0x1969c9},'args':[_0x57dd16],'tdx':_0x5ecd3b});process['exit'](_0x413f74);}),agentSyncCmd['command']('create\x20<name>')['description']('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x294),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x234),a2_0x2babb7(0x16f),'claude-4.5-sonnet')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x204),'Starter\x20message')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x376),a2_0x2babb7(0x2bc),'4')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x365),a2_0x2babb7(0x2af),a2_0x2babb7(0x361))[a2_0x2babb7(0x209)](async(_0x3bbd27,_0x32d0b3)=>{const _0x3949a8=a2_0x2babb7,_0x37fd79=new LLMAgentCreateCommand(),_0x63a2c8=program['opts'](),_0x592b13=await createTDXInstance(_0x63a2c8),_0x383945=await _0x37fd79['run']({'options':{..._0x63a2c8,..._0x32d0b3},'args':[_0x3bbd27],'tdx':_0x592b13});process[_0x3949a8(0x360)](_0x383945);}),agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x20a))[a2_0x2babb7(0x207)](a2_0x2babb7(0x30f))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x188),'Agent\x20name')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x2d4),a2_0x2babb7(0x1ef))[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x225),'Agent\x20description')[a2_0x2babb7(0x2ec)](a2_0x2babb7(0x204),a2_0x2babb7(0x35d))[a2_0x2babb7(0x209)](async(_0x5334b5,_0x3d11d3)=>{const _0x3b22b8=a2_0x2babb7,_0x4fd76d=new LLMAgentUpdateCommand(),_0x2a8dcf=program[_0x3b22b8(0x253)](),_0x59fc97=await createTDXInstance(_0x2a8dcf),_0x15b050=await _0x4fd76d['run']({'options':{..._0x2a8dcf,..._0x3d11d3},'args':[_0x5334b5],'tdx':_0x59fc97});process[_0x3b22b8(0x360)](_0x15b050);}),agentSyncCmd[a2_0x2babb7(0x27b)](a2_0x2babb7(0x2f5))['description'](a2_0x2babb7(0x320))[a2_0x2babb7(0x209)](async(_0x430bbf,_0x18e579)=>{const _0x5245a5=a2_0x2babb7,_0x23e5e6=new LLMAgentDeleteCommand(),_0x29b83f=program[_0x5245a5(0x253)](),_0x8d9fd1=await createTDXInstance(_0x29b83f),_0x11ffee=await _0x23e5e6[_0x5245a5(0x186)]({'options':{..._0x29b83f,..._0x18e579},'args':[_0x430bbf],'tdx':_0x8d9fd1});process['exit'](_0x11ffee);});export{program};export function runCLI(){const _0x15bbb7=a2_0x2babb7,_0x179bce=!process[_0x15bbb7(0x29c)][_0x15bbb7(0x2c3)](0x2)[_0x15bbb7(0x2ab)];showBriefHelp=_0x179bce,program[_0x15bbb7(0x277)](process[_0x15bbb7(0x29c)]),_0x179bce&&program['outputHelp'](),process[_0x15bbb7(0x205)][_0x15bbb7(0x24b)]&&process['argv'][_0x15bbb7(0x2ab)]>0x2&&!isDevVersion()&&checkForUpdate(currentVersion)[_0x15bbb7(0x33f)](_0x20e7f1=>{_0x20e7f1&&displayUpdateNotification(_0x20e7f1);})[_0x15bbb7(0x172)](()=>{});}
|