@treasuredata/tdx 0.5.2 → 0.7.0
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 +2 -2
- package/dist/cli-categories.d.ts +1 -1
- package/dist/cli-categories.js +1 -1
- package/dist/cli-categories.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/client/cdp-api-client.d.ts +8 -1
- package/dist/client/cdp-api-client.d.ts.map +1 -1
- package/dist/client/cdp-api-client.js +1 -1
- package/dist/client/cdp-api-client.js.map +1 -1
- package/dist/client/engage-api-client.js +1 -1
- package/dist/client/http-client.d.ts +4 -0
- package/dist/client/http-client.d.ts.map +1 -1
- package/dist/client/http-client.js +1 -1
- package/dist/client/http-client.js.map +1 -1
- package/dist/client/llm-api-client.js +1 -1
- package/dist/client/rate-limiter.js +1 -1
- package/dist/client/td-api-client.js +1 -1
- package/dist/client/trino-api-client.js +1 -1
- package/dist/client/workflow-client.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.d.ts.map +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/auth-command.js.map +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.d.ts +1 -1
- package/dist/commands/command.d.ts.map +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/command.js.map +1 -1
- package/dist/commands/context-command.d.ts.map +1 -1
- package/dist/commands/context-command.js +1 -1
- package/dist/commands/context-command.js.map +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/llm-command.js +1 -1
- package/dist/commands/llm-proxy.js +1 -1
- package/dist/commands/parent-segment-command.d.ts +149 -4
- package/dist/commands/parent-segment-command.d.ts.map +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/parent-segment-command.js.map +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/segment-command.d.ts +24 -0
- package/dist/commands/segment-command.d.ts.map +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-command.js.map +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.d.ts.map +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-fields-command.js.map +1 -1
- package/dist/commands/segment-pwd-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/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/use-command.d.ts +8 -6
- package/dist/commands/use-command.d.ts.map +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/use-command.js.map +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/config.d.ts +58 -26
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/config.js.map +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.d.ts +5 -1
- package/dist/core/profile.d.ts.map +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/profile.js.map +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/index.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/server.js +1 -1
- package/dist/proxy/session-cache.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.d.ts +1 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/llm.d.ts +3 -0
- package/dist/sdk/llm.d.ts.map +1 -1
- package/dist/sdk/llm.js +1 -1
- package/dist/sdk/llm.js.map +1 -1
- package/dist/sdk/query.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.d.ts +187 -0
- package/dist/sdk/segment/parent-segment-preview.d.ts.map +1 -0
- package/dist/sdk/segment/parent-segment-preview.js +1 -0
- package/dist/sdk/segment/parent-segment-preview.js.map +1 -0
- package/dist/sdk/segment/parent-segment-yaml.d.ts +246 -0
- package/dist/sdk/segment/parent-segment-yaml.d.ts.map +1 -0
- package/dist/sdk/segment/parent-segment-yaml.js +1 -0
- package/dist/sdk/segment/parent-segment-yaml.js.map +1 -0
- package/dist/sdk/segment.d.ts +98 -1
- package/dist/sdk/segment.d.ts.map +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/segment.js.map +1 -1
- package/dist/sdk/workflow.d.ts.map +1 -1
- package/dist/sdk/workflow.js +1 -1
- package/dist/sdk/workflow.js.map +1 -1
- package/dist/types/cdp.d.ts +21 -0
- package/dist/types/cdp.d.ts.map +1 -1
- package/dist/types/endpoints.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/agent-ref-parser.js +1 -1
- package/dist/utils/chat-cache.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/command-output.js +1 -1
- package/dist/utils/constants.js +1 -1
- package/dist/utils/diff.d.ts +26 -0
- package/dist/utils/diff.d.ts.map +1 -0
- package/dist/utils/diff.js +1 -0
- package/dist/utils/diff.js.map +1 -0
- package/dist/utils/fields-display.d.ts +31 -0
- package/dist/utils/fields-display.d.ts.map +1 -0
- package/dist/utils/fields-display.js +1 -0
- package/dist/utils/fields-display.js.map +1 -0
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/format-detector.js +1 -1
- package/dist/utils/formatters.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/llm-backup-utils.js +1 -1
- package/dist/utils/model-aliases.js +1 -1
- package/dist/utils/model-factors.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.d.ts +9 -1
- package/dist/utils/prompt.d.ts.map +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/prompt.js.map +1 -1
- package/dist/utils/segment-path-parser.js +1 -1
- package/dist/utils/segment-ref-parser.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sql-parser.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/tree-formatter.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/dist/utils/workflow-utils.js +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
(function(_0x51323d,_0x3805de){var _0x3a2099=a0_0x4232,_0x67e6fe=_0x51323d();while(!![]){try{var _0x2f335c=-parseInt(_0x3a2099(0xf4))/0x1+parseInt(_0x3a2099(0xf5))/0x2*(parseInt(_0x3a2099(0xf8))/0x3)+-parseInt(_0x3a2099(0xf1))/0x4+-parseInt(_0x3a2099(0xf0))/0x5+parseInt(_0x3a2099(0xef))/0x6*(parseInt(_0x3a2099(0xf6))/0x7)+parseInt(_0x3a2099(0xf7))/0x8+-parseInt(_0x3a2099(0xf3))/0x9*(-parseInt(_0x3a2099(0xf2))/0xa);if(_0x2f335c===_0x3805de)break;else _0x67e6fe['push'](_0x67e6fe['shift']());}catch(_0xcb9a25){_0x67e6fe['push'](_0x67e6fe['shift']());}}}(a0_0x2a5e,0x73df8));function a0_0x4232(_0x510bc4,_0x448cd5){var _0x2a5e96=a0_0x2a5e();return a0_0x4232=function(_0x423243,_0x28e1e9){_0x423243=_0x423243-0xef;var _0x4cb962=_0x2a5e96[_0x423243];return _0x4cb962;},a0_0x4232(_0x510bc4,_0x448cd5);}function a0_0x2a5e(){var _0x4ed6f1=['6vtarqw','6KSVtSD','1567465XziHQM','2348148PpbKbq','110MnplWE','659421imviaA','859794nTsTjp','347954TdvqBc','1466143lHbNWK','6972624ehZcfm'];a0_0x2a5e=function(){return _0x4ed6f1;};return a0_0x2a5e();}import{runCLI}from'./cli.js';runCLI();
|
package/dist/build-info.json
CHANGED
package/dist/cli-categories.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const COMMAND_CATEGORIES: readonly [{
|
|
|
16
16
|
}, {
|
|
17
17
|
readonly name: "CDP";
|
|
18
18
|
readonly colorFn: import("chalk").ChalkInstance;
|
|
19
|
-
readonly commands: readonly ["segment", "activations", "engage"];
|
|
19
|
+
readonly commands: readonly ["segment", "parent-segment", "activations", "engage"];
|
|
20
20
|
}, {
|
|
21
21
|
readonly name: "AI";
|
|
22
22
|
readonly colorFn: import("chalk").ChalkInstance;
|
package/dist/cli-categories.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x7f021d=a1_0x2770;(function(_0x525b54,_0x975809){const _0x54664b=a1_0x2770,_0xb1739e=_0x525b54();while(!![]){try{const _0x15a5e9=-parseInt(_0x54664b(0x1fd))/0x1*(parseInt(_0x54664b(0x1e4))/0x2)+-parseInt(_0x54664b(0x1e2))/0x3+parseInt(_0x54664b(0x1f9))/0x4+-parseInt(_0x54664b(0x1fa))/0x5*(-parseInt(_0x54664b(0x1ec))/0x6)+parseInt(_0x54664b(0x1e3))/0x7+parseInt(_0x54664b(0x1f8))/0x8+parseInt(_0x54664b(0x200))/0x9*(-parseInt(_0x54664b(0x1df))/0xa);if(_0x15a5e9===_0x975809)break;else _0xb1739e['push'](_0xb1739e['shift']());}catch(_0x2f0c16){_0xb1739e['push'](_0xb1739e['shift']());}}}(a1_0x2738,0xc6a78));import a1_0xfa37af from'chalk';function a1_0x2770(_0x36c54f,_0x5f3ec9){const _0x27386a=a1_0x2738();return a1_0x2770=function(_0x27701b,_0x2cb123){_0x27701b=_0x27701b-0x1de;let _0x50dc24=_0x27386a[_0x27701b];return _0x50dc24;},a1_0x2770(_0x36c54f,_0x5f3ec9);}export const COMMAND_CATEGORIES=[{'name':a1_0x7f021d(0x1e1),'colorFn':a1_0xfa37af[a1_0x7f021d(0x1ef)],'commands':[a1_0x7f021d(0x1fe),a1_0x7f021d(0x1e5),a1_0x7f021d(0x1f4),'describe',a1_0x7f021d(0x1ee),a1_0x7f021d(0x1fb),a1_0x7f021d(0x1e6)]},{'name':a1_0x7f021d(0x1f6),'colorFn':a1_0xfa37af[a1_0x7f021d(0x1ed)],'commands':[a1_0x7f021d(0x1f5),a1_0x7f021d(0x1e7),'activations',a1_0x7f021d(0x1ea)]},{'name':'AI','colorFn':a1_0xfa37af[a1_0x7f021d(0x1eb)],'commands':[a1_0x7f021d(0x1e9),a1_0x7f021d(0x1f3),a1_0x7f021d(0x1e8),a1_0x7f021d(0x1f2)]},{'name':a1_0x7f021d(0x1de),'colorFn':a1_0xfa37af['yellow'],'commands':[a1_0x7f021d(0x1f7),'use',a1_0x7f021d(0x1f0),a1_0x7f021d(0x1ff)]},{'name':a1_0x7f021d(0x1e0),'colorFn':a1_0xfa37af[a1_0x7f021d(0x1fc)],'commands':[a1_0x7f021d(0x1f1)]}];function a1_0x2738(){const _0x1e8242=['auth','2889693muGIbb','Context','10AcakGJ','Utilities','Data','2668698txbBPQ','3546900panKQZ','2434siedCr','table','workflow','parent-segment','llm','chat','engage','cyan','81258uZFGbN','magenta','query','blue','profiles','api','claude','chats','show','segment','CDP','context','5798136MOhQZR','4185880FJllPE','375NkwNJz','job','green','1043vAfFyu','database'];a1_0x2738=function(){return _0x1e8242;};return a1_0x2738();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-categories.js","sourceRoot":"","sources":["../src/cli-categories.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;QACE,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,KAAK,CAAC,IAAI;QACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,CAAC;KAChF;IACD;QACE,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,QAAQ,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"cli-categories.js","sourceRoot":"","sources":["../src/cli-categories.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;QACE,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,KAAK,CAAC,IAAI;QACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,CAAC;KAChF;IACD;QACE,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,QAAQ,EAAE,CAAC,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,QAAQ,CAAC;KACjE;IACD;QACE,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,KAAK,CAAC,IAAI;QACnB,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC;KAC7C;IACD;QACE,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK,CAAC,MAAM;QACrB,QAAQ,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC;KACjD;IACD;QACE,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,QAAQ,EAAE,CAAC,KAAK,CAAC;KAClB;CACO,CAAC"}
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwJpC,QAAA,MAAM,OAAO,SAAgB,CAAC;AAo1E9B,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB;;;GAGG;AACH,wBAAgB,MAAM,IAAI,IAAI,CAwB7B"}
|
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x273d81=a2_0x5c13;(function(_0x325951,_0x1b7c79){const _0x122e94=a2_0x5c13,_0x4fc1eb=_0x325951();while(!![]){try{const _0x15056b=parseInt(_0x122e94(0x23d))/0x1+parseInt(_0x122e94(0x171))/0x2*(parseInt(_0x122e94(0x29e))/0x3)+-parseInt(_0x122e94(0x275))/0x4*(parseInt(_0x122e94(0x213))/0x5)+-parseInt(_0x122e94(0x1bb))/0x6+-parseInt(_0x122e94(0x2b6))/0x7*(parseInt(_0x122e94(0x19f))/0x8)+-parseInt(_0x122e94(0x18c))/0x9+parseInt(_0x122e94(0x19e))/0xa*(parseInt(_0x122e94(0x17b))/0xb);if(_0x15056b===_0x1b7c79)break;else _0x4fc1eb['push'](_0x4fc1eb['shift']());}catch(_0x1b6e14){_0x4fc1eb['push'](_0x4fc1eb['shift']());}}}(a2_0x1135,0xe8125));import{Command}from'commander';import{readFileSync}from'fs';import{fileURLToPath}from'url';import{dirname,join}from'path';function a2_0x5c13(_0xcb91f4,_0x52442d){const _0x1135b2=a2_0x1135();return a2_0x5c13=function(_0x5c13d0,_0x57cd0a){_0x5c13d0=_0x5c13d0-0x14c;let _0x14b54c=_0x1135b2[_0x5c13d0];return _0x14b54c;},a2_0x5c13(_0xcb91f4,_0x52442d);}import{TDX}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.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';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{SegmentDescribeCommand,SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentCreateCommand,ParentSegmentUpdateCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{SegmentPwdCommand}from'./commands/segment-pwd-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowPushCommand,WorkflowDeleteCommand}from'./commands/workflow-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{ContextCommand}from'./commands/context-command.js';import{UseCommand}from'./commands/use-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';const __filename=fileURLToPath(import.meta[a2_0x273d81(0x200)]),__dirname=dirname(__filename),packageJson=JSON['parse'](readFileSync(join(__dirname,a2_0x273d81(0x14d)),a2_0x273d81(0x1f0)));let buildInfo={};try{buildInfo=JSON[a2_0x273d81(0x1fc)](readFileSync(join(__dirname,a2_0x273d81(0x16a)),a2_0x273d81(0x1f0)));}catch{}if(process[a2_0x273d81(0x1ba)]['includes']('--version')){let versionOutput=a2_0x273d81(0x1a5)+packageJson['version'];buildInfo[a2_0x273d81(0x162)]&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x273d81(0x22b)]&&(versionOutput+=a2_0x273d81(0x1a7)+buildInfo['buildTime']),console[a2_0x273d81(0x26b)](versionOutput),process[a2_0x273d81(0x2d1)](0x0);}const program=new Command();let description='AI-native\x20CLI\x20for\x20Treasure\x20Data';buildInfo['gitRevision']?description+=',\x20version\x20'+packageJson[a2_0x273d81(0x1d3)]+'\x20('+buildInfo[a2_0x273d81(0x162)]+')':description+=a2_0x273d81(0x246)+packageJson[a2_0x273d81(0x1d3)];program['name'](a2_0x273d81(0x195))[a2_0x273d81(0x28d)](description),program[a2_0x273d81(0x224)](a2_0x273d81(0x2c2),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')['option'](a2_0x273d81(0x177),a2_0x273d81(0x201),a2_0x273d81(0x257))[a2_0x273d81(0x224)](a2_0x273d81(0x294),a2_0x273d81(0x1cd))['option']('--json',a2_0x273d81(0x2c7))['option']('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x273d81(0x224)](a2_0x273d81(0x259),'Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)')[a2_0x273d81(0x224)]('--output\x20<file>',a2_0x273d81(0x228))[a2_0x273d81(0x224)](a2_0x273d81(0x204),a2_0x273d81(0x1aa))[a2_0x273d81(0x224)](a2_0x273d81(0x22e),a2_0x273d81(0x2ee),![])['option'](a2_0x273d81(0x1b9),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x273d81(0x224)]('-v,\x20--verbose',a2_0x273d81(0x2c6),![])[a2_0x273d81(0x224)](a2_0x273d81(0x20d),a2_0x273d81(0x170))[a2_0x273d81(0x224)]('--trace',a2_0x273d81(0x1b0))[a2_0x273d81(0x224)](a2_0x273d81(0x17c),'Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x273d81(0x224)](a2_0x273d81(0x217),'Preview\x20operation\x20without\x20executing',![])[a2_0x273d81(0x224)](a2_0x273d81(0x251),a2_0x273d81(0x188),![])[a2_0x273d81(0x224)](a2_0x273d81(0x285),a2_0x273d81(0x2f4))[a2_0x273d81(0x224)](a2_0x273d81(0x2a1),'Database\x20to\x20use\x20(overrides\x20context)')[a2_0x273d81(0x224)]('--in\x20<name>',a2_0x273d81(0x15a))[a2_0x273d81(0x224)](a2_0x273d81(0x2ab),a2_0x273d81(0x167))['option'](a2_0x273d81(0x1d5),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x273d81(0x2f5)]({'formatHelp':(_0x4b9c72,_0x3b27fd)=>{const _0x27d7c3=a2_0x273d81,_0x20e729=_0x3b27fd[_0x27d7c3(0x2ad)](_0x4b9c72,_0x3b27fd),_0x2a55ed=0x2,_0x27c6bd=0x2;function _0x31251d(_0x13d8e4){const _0x463bac=_0x27d7c3,_0x12c481=_0x13d8e4;return!!(_0x12c481[_0x463bac(0x216)]||_0x12c481[_0x463bac(0x1e3)]);}function _0x716395(_0x2b2c12,_0x3c8a43){const _0x46b4b8=_0x27d7c3;if(_0x3c8a43){const _0x5391e6=''+_0x2b2c12[_0x46b4b8(0x211)](_0x20e729+_0x27c6bd)+_0x3c8a43;return _0x5391e6;}return _0x2b2c12;}function _0x57a088(_0x13bf09){const _0xfc9a54=_0x27d7c3;return _0x13bf09['join']('\x0a')[_0xfc9a54(0x254)](/^/gm,'\x20'[_0xfc9a54(0x18d)](_0x2a55ed));}const _0x538247=[];_0x538247[_0x27d7c3(0x247)](_0x27d7c3(0x288)+_0x3b27fd[_0x27d7c3(0x196)](_0x4b9c72));const _0x16dfa6=_0x3b27fd['commandDescription'](_0x4b9c72);_0x16dfa6&&(_0x538247[_0x27d7c3(0x247)](''),_0x538247[_0x27d7c3(0x247)](_0x16dfa6));const _0x3fc52a=_0x4b9c72['commands'][_0x27d7c3(0x183)](_0x29693b=>!_0x31251d(_0x29693b));if(_0x3fc52a[_0x27d7c3(0x1e0)]>0x0){if(_0x4b9c72[_0x27d7c3(0x1bc)]()==='tdx'){const _0x49c87a=_0x4b9c72[_0x27d7c3(0x198)](),_0xbada31=!_0x49c87a[_0x27d7c3(0x1db)]&&process[_0x27d7c3(0x21b)]['isTTY'],_0x260254=COMMAND_CATEGORIES,_0x5f3674=(_0x314efd,_0x3d3f82)=>_0xbada31?_0x3d3f82(_0x314efd):_0x314efd,_0x92b666=new Map();_0x3fc52a[_0x27d7c3(0x206)](_0x30e7ab=>{const _0xd90bec=_0x27d7c3;_0x92b666['set'](_0x30e7ab[_0xd90bec(0x1bc)](),_0x30e7ab);}),_0x260254[_0x27d7c3(0x206)](_0x2dce3a=>{const _0xd4dc57=_0x27d7c3,_0x2141e6=_0x2dce3a[_0xd4dc57(0x2ea)][_0xd4dc57(0x168)](_0x3beda1=>_0x92b666[_0xd4dc57(0x18f)](_0x3beda1)??[]);if(_0x2141e6[_0xd4dc57(0x1e0)]>0x0){_0x538247[_0xd4dc57(0x247)](''),_0x538247[_0xd4dc57(0x247)](_0x5f3674(_0x2dce3a[_0xd4dc57(0x1bc)]+':',_0x2dce3a[_0xd4dc57(0x22d)]));const _0x49d719=_0x2141e6[_0xd4dc57(0x219)](_0x356af8=>{const _0x5de4e0=_0xd4dc57,_0xdd2418=_0x3b27fd[_0x5de4e0(0x27f)](_0x356af8),_0xf953a3=_0x3b27fd[_0x5de4e0(0x189)](_0x356af8);return _0x716395(_0xdd2418,_0xf953a3);});_0x538247[_0xd4dc57(0x247)](_0x57a088(_0x49d719));}}),_0x538247[_0x27d7c3(0x247)](''),_0x538247[_0x27d7c3(0x247)](_0x27d7c3(0x1e9));}else{const _0x332576=_0x3fc52a[_0x27d7c3(0x219)](_0x387fee=>{const _0x40a248=_0x27d7c3,_0xe810ac=_0x3b27fd[_0x40a248(0x27f)](_0x387fee),_0x5edf05=_0x3b27fd[_0x40a248(0x189)](_0x387fee);return _0x716395(_0xe810ac,_0x5edf05);});_0x538247[_0x27d7c3(0x247)](''),_0x538247[_0x27d7c3(0x247)](_0x27d7c3(0x151)),_0x538247[_0x27d7c3(0x247)](_0x57a088(_0x332576));}}const _0x53c99f=_0x4b9c72[_0x27d7c3(0x2da)]['filter'](_0x8bdc09=>!_0x31251d(_0x8bdc09));if(_0x53c99f[_0x27d7c3(0x1e0)]>0x0){const _0x44bc96=_0x53c99f[_0x27d7c3(0x219)](_0x36e6a0=>{const _0x5aa9f7=_0x27d7c3,_0x46a61b=_0x3b27fd[_0x5aa9f7(0x2a9)](_0x36e6a0),_0x4612e1=_0x3b27fd[_0x5aa9f7(0x1b3)](_0x36e6a0);return _0x716395(_0x46a61b,_0x4612e1);});_0x538247[_0x27d7c3(0x247)](''),_0x538247[_0x27d7c3(0x247)](_0x27d7c3(0x278)),_0x538247[_0x27d7c3(0x247)](_0x57a088(_0x44bc96));}const _0x1bbecc=(_0x4b9c72[_0x27d7c3(0x1c2)]||[])[_0x27d7c3(0x183)](_0x3f6b42=>!_0x31251d(_0x3f6b42));if(_0x1bbecc[_0x27d7c3(0x1e0)]>0x0){const _0x1cae4e=_0x1bbecc[_0x27d7c3(0x219)](_0x4fab96=>{const _0x27e50c=_0x27d7c3,_0x40eb41=_0x3b27fd[_0x27e50c(0x218)](_0x4fab96),_0x2d4332=_0x3b27fd[_0x27e50c(0x23e)](_0x4fab96);return _0x716395(_0x40eb41,_0x2d4332);});_0x538247[_0x27d7c3(0x247)](''),_0x538247[_0x27d7c3(0x247)](_0x27d7c3(0x169)),_0x538247['push'](_0x57a088(_0x1cae4e));}return _0x538247['join']('\x0a');},'subcommandTerm':_0x3ca8f7=>{const _0x491d3f=a2_0x273d81,_0x1e27af=(_0x3ca8f7[_0x491d3f(0x1c2)]||[])['map'](_0x4d9f22=>_0x4d9f22[_0x491d3f(0x1fa)]?'<'+_0x4d9f22[_0x491d3f(0x1bc)]()+'>':'['+_0x4d9f22[_0x491d3f(0x1bc)]()+']')[_0x491d3f(0x2c5)]('\x20'),_0x578d95=_0x3ca8f7[_0x491d3f(0x1e4)](),_0x57fcd4=_0x578d95[_0x491d3f(0x1e0)]>0x0?_0x3ca8f7[_0x491d3f(0x1bc)]()+',\x20'+_0x578d95['join'](',\x20'):_0x3ca8f7[_0x491d3f(0x1bc)]();return _0x1e27af?_0x57fcd4+'\x20'+_0x1e27af:_0x57fcd4;}}),program[a2_0x273d81(0x2e4)](a2_0x273d81(0x2b5),_0x3ad5e8=>{const _0x2f5063=a2_0x273d81,_0x51b782=_0x3ad5e8[_0x2f5063(0x198)]();if(!_0x51b782['format']){if(_0x51b782['json'])_0x51b782[_0x2f5063(0x2c1)]=_0x2f5063(0x2ef);else{if(_0x51b782[_0x2f5063(0x25d)])_0x51b782['format']=_0x2f5063(0x25d);else _0x51b782[_0x2f5063(0x20e)]&&(_0x51b782['format']=_0x2f5063(0x20e));}}_0x51b782['in']&&!_0x51b782[_0x2f5063(0x154)]&&(_0x51b782[_0x2f5063(0x154)]=_0x51b782['in']);if(_0x51b782[_0x2f5063(0x15f)])_0x51b782['logLevel']=LogLevel[_0x2f5063(0x222)];else{if(_0x51b782[_0x2f5063(0x24f)])_0x51b782[_0x2f5063(0x1f6)]=LogLevel[_0x2f5063(0x28b)];else _0x51b782[_0x2f5063(0x1f6)]===undefined&&(_0x51b782[_0x2f5063(0x1f6)]=LogLevel[_0x2f5063(0x163)]);}});async function createTDXInstance(_0x3a40f3){const _0x288e6e=a2_0x273d81,_0x207af6=await GlobalContext[_0x288e6e(0x29d)](_0x3a40f3);return _0x207af6[_0x288e6e(0x1b7)](_0x3a40f3),!_0x207af6[_0x288e6e(0x2cb)]&&console['error'](_0x288e6e(0x191)),TDX['create']({'site':_0x207af6[_0x288e6e(0x24c)],'apiKey':_0x207af6[_0x288e6e(0x2cb)],'logLevel':_0x207af6[_0x288e6e(0x1f6)],'profile':_0x207af6['profile']});}const databaseCmd=program[a2_0x273d81(0x1fe)]('database')[a2_0x273d81(0x233)]('db')[a2_0x273d81(0x28d)]('Database\x20management\x20commands'),databaseListAction=async(_0x4c293e,_0x31196a)=>{const _0x21c6e8=a2_0x273d81,_0x1ed380=new DatabasesCommand(),_0x143b5f=program[_0x21c6e8(0x198)](),_0x3c040f=await createTDXInstance(_0x143b5f),_0x1e3328=await _0x1ed380[_0x21c6e8(0x153)]({'options':{..._0x143b5f,..._0x31196a},'args':_0x4c293e?[_0x4c293e]:[],'tdx':_0x3c040f});process[_0x21c6e8(0x2d1)](_0x1e3328);};databaseCmd[a2_0x273d81(0x1fe)]('list\x20[pattern]')['description'](a2_0x273d81(0x1ce))[a2_0x273d81(0x19d)](databaseListAction),program['command']('databases\x20[pattern]',{'hidden':!![]})['description'](a2_0x273d81(0x1f9))[a2_0x273d81(0x19d)](databaseListAction),program[a2_0x273d81(0x1fe)](a2_0x273d81(0x15b))[a2_0x273d81(0x28d)](a2_0x273d81(0x214))[a2_0x273d81(0x224)](a2_0x273d81(0x25f),a2_0x273d81(0x24b))[a2_0x273d81(0x224)]('--model\x20<name>',a2_0x273d81(0x238))['option'](a2_0x273d81(0x258),a2_0x273d81(0x2c0))[a2_0x273d81(0x224)](a2_0x273d81(0x17f),'Start\x20a\x20new\x20chat\x20session')['action'](async(_0x5c36a7,_0x3122bd)=>{const _0x130200=a2_0x273d81,_0x14e51d=new ChatCommand(),_0x35f2b4=program[_0x130200(0x198)](),_0x1b0500=await createTDXInstance(_0x35f2b4),_0x1d4e24=await _0x14e51d[_0x130200(0x153)]({'options':{..._0x35f2b4,..._0x3122bd},'args':_0x5c36a7,'tdx':_0x1b0500});process[_0x130200(0x2d1)](_0x1d4e24);});const apiCmd=program[a2_0x273d81(0x1fe)](a2_0x273d81(0x2f2))['summary']('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x273d81(0x244)](a2_0x273d81(0x2d9),a2_0x273d81(0x2bb))[a2_0x273d81(0x224)](a2_0x273d81(0x272),a2_0x273d81(0x245),a2_0x273d81(0x2e3))[a2_0x273d81(0x224)](a2_0x273d81(0x1ca),a2_0x273d81(0x150))[a2_0x273d81(0x224)](a2_0x273d81(0x1c3),'Read\x20request\x20body\x20from\x20file')[a2_0x273d81(0x224)](a2_0x273d81(0x2a7),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x2ef157,_0x28cb82)=>{return _0x28cb82?[..._0x28cb82,_0x2ef157]:[_0x2ef157];})['option'](a2_0x273d81(0x1c0),a2_0x273d81(0x2cf),'td')['action'](async(_0x2dec76,_0x40acea)=>{const _0x178db6=a2_0x273d81;if(!_0x2dec76){apiCmd[_0x178db6(0x17d)]();return;}const _0x16ca56=new ApiCommand(),_0x34a988=program['opts'](),_0x2d2a88=await createTDXInstance(_0x34a988),_0x168217=await _0x16ca56[_0x178db6(0x153)]({'options':{..._0x34a988,..._0x40acea},'args':[_0x2dec76],'tdx':_0x2d2a88});process['exit'](_0x168217);}),tableCmd=program[a2_0x273d81(0x1fe)](a2_0x273d81(0x264))['description']('Table\x20management\x20commands'),tableListAction=async(_0x313a40,_0x5bef5b)=>{const _0x4a23a3=a2_0x273d81,_0x1119cc=new TablesCommand(),_0x2125ce=program[_0x4a23a3(0x198)](),_0xe5d4b4=await createTDXInstance(_0x2125ce);_0x5bef5b['in']&&(_0x5bef5b[_0x4a23a3(0x154)]=_0x5bef5b['in']);const _0x12683e=await _0x1119cc[_0x4a23a3(0x153)]({'options':{..._0x2125ce,..._0x5bef5b},'args':_0x313a40?[_0x313a40]:[],'tdx':_0xe5d4b4});process[_0x4a23a3(0x2d1)](_0x12683e);};tableCmd[a2_0x273d81(0x1fe)]('list\x20[pattern]')[a2_0x273d81(0x28d)](a2_0x273d81(0x1fb))[a2_0x273d81(0x224)](a2_0x273d81(0x203),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x273d81(0x224)](a2_0x273d81(0x274),a2_0x273d81(0x15a))[a2_0x273d81(0x19d)](tableListAction),program[a2_0x273d81(0x1fe)](a2_0x273d81(0x194),{'hidden':!![]})[a2_0x273d81(0x28d)](a2_0x273d81(0x207))['option']('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x273d81(0x224)](a2_0x273d81(0x274),a2_0x273d81(0x15a))[a2_0x273d81(0x19d)](tableListAction),program['command'](a2_0x273d81(0x289))[a2_0x273d81(0x28d)](a2_0x273d81(0x180))['option']('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x273d81(0x224)](a2_0x273d81(0x274),a2_0x273d81(0x15a))[a2_0x273d81(0x19d)](async(_0xc14ab3,_0x2bc952)=>{const _0x278ab2=a2_0x273d81,_0x574059=new ShowCommand(),_0x585c29=program[_0x278ab2(0x198)](),_0x44e627=await createTDXInstance(_0x585c29);_0x2bc952['in']&&(_0x2bc952[_0x278ab2(0x154)]=_0x2bc952['in']);const _0x147e45=await _0x574059[_0x278ab2(0x153)]({'options':{..._0x585c29,..._0x2bc952},'args':_0xc14ab3?[_0xc14ab3]:[],'tdx':_0x44e627});process[_0x278ab2(0x2d1)](_0x147e45);}),program['command']('describe\x20[table]')[a2_0x273d81(0x233)]('desc')[a2_0x273d81(0x28d)](a2_0x273d81(0x2bc))[a2_0x273d81(0x224)](a2_0x273d81(0x203),a2_0x273d81(0x260))['option'](a2_0x273d81(0x274),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x273d81(0x19d)](async(_0x368e32,_0x266c04)=>{const _0x16d15a=a2_0x273d81,_0x1a316a=new DescribeCommand(),_0x19dc8c=program['opts'](),_0x55c3b9=await createTDXInstance(_0x19dc8c);_0x266c04['in']&&(_0x266c04['database']=_0x266c04['in']);const _0x5eb5d7=await _0x1a316a[_0x16d15a(0x153)]({'options':{..._0x19dc8c,..._0x266c04},'args':_0x368e32?[_0x368e32]:[],'tdx':_0x55c3b9});process['exit'](_0x5eb5d7);}),program[a2_0x273d81(0x1fe)](a2_0x273d81(0x29b))[a2_0x273d81(0x28d)](a2_0x273d81(0x2ed))[a2_0x273d81(0x224)](a2_0x273d81(0x203),a2_0x273d81(0x184))[a2_0x273d81(0x224)]('--in\x20<database>',a2_0x273d81(0x15a))[a2_0x273d81(0x224)](a2_0x273d81(0x205),a2_0x273d81(0x256))['option'](a2_0x273d81(0x1c3),a2_0x273d81(0x14f))['option']('--limit\x20<rows>',a2_0x273d81(0x159),'40')[a2_0x273d81(0x19d)](async(_0x199ddc,_0x357988)=>{const _0x342000=a2_0x273d81,_0x26045c=new QueryCommand(),_0x1e9bc2=program[_0x342000(0x198)](),_0x47e7b2=await createTDXInstance(_0x1e9bc2);_0x357988['in']&&(_0x357988[_0x342000(0x154)]=_0x357988['in']);const _0x2d918c=await _0x26045c[_0x342000(0x153)]({'options':{..._0x1e9bc2,..._0x357988},'args':_0x199ddc?[_0x199ddc]:[],'tdx':_0x47e7b2});process['exit'](_0x2d918c);});const segmentCmd=program[a2_0x273d81(0x1fe)](a2_0x273d81(0x152))['description'](a2_0x273d81(0x261)),segmentListAction=async(_0x2dd14f,_0x298550)=>{const _0x323d7e=a2_0x273d81,_0x25d3da=new SegmentsCommand(),_0x23b3d1=program[_0x323d7e(0x198)](),_0x20b53e=await createTDXInstance(_0x23b3d1),_0x1b25a7=await _0x25d3da[_0x323d7e(0x153)]({'options':{..._0x23b3d1,..._0x298550},'args':_0x2dd14f?[_0x2dd14f]:[],'tdx':_0x20b53e});process[_0x323d7e(0x2d1)](_0x1b25a7);};segmentCmd[a2_0x273d81(0x1fe)]('list\x20[path]')[a2_0x273d81(0x28d)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x273d81(0x224)](a2_0x273d81(0x1a8),a2_0x273d81(0x293))[a2_0x273d81(0x224)](a2_0x273d81(0x1e1),a2_0x273d81(0x157),'10')[a2_0x273d81(0x19d)](segmentListAction),program['command'](a2_0x273d81(0x18b),{'hidden':!![]})[a2_0x273d81(0x28d)](a2_0x273d81(0x27c))['option'](a2_0x273d81(0x1a8),a2_0x273d81(0x293))['option'](a2_0x273d81(0x1e1),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),segmentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x234))[a2_0x273d81(0x28d)]('Set\x20current\x20segment/folder\x20context\x20for\x20navigation')['action'](async(_0x21e7f7,_0x4a4586)=>{const _0x797f07=a2_0x273d81,_0x4b4598=new SegmentUseCommand(),_0x41201c=program['opts'](),_0x574813=await createTDXInstance(_0x41201c),_0x17a5f5=await _0x4b4598[_0x797f07(0x153)]({'options':{..._0x41201c,..._0x4a4586},'args':[_0x21e7f7],'tdx':_0x574813});process['exit'](_0x17a5f5);}),segmentCmd[a2_0x273d81(0x1fe)]('pwd')[a2_0x273d81(0x28d)](a2_0x273d81(0x297))['action'](async _0x4acedf=>{const _0x464427=a2_0x273d81,_0x14cb88=new SegmentPwdCommand(),_0x1d03e5=program[_0x464427(0x198)](),_0x46759e=await createTDXInstance(_0x1d03e5),_0x56c075=await _0x14cb88[_0x464427(0x153)]({'options':{..._0x1d03e5,..._0x4acedf},'args':[],'tdx':_0x46759e});process[_0x464427(0x2d1)](_0x56c075);}),segmentCmd['command'](a2_0x273d81(0x2ac))[a2_0x273d81(0x233)]('desc')[a2_0x273d81(0x28d)](a2_0x273d81(0x2f7))['action'](async(_0x4d0ac2,_0xc71875)=>{const _0x4ec321=a2_0x273d81,_0x4a4138=new SegmentDescribeCommand(),_0x5d925f=program['opts'](),_0x2a6e2e=await createTDXInstance(_0x5d925f),_0x1a33ee=await _0x4a4138[_0x4ec321(0x153)]({'options':{..._0x5d925f,..._0xc71875},'args':_0x4d0ac2?[_0x4d0ac2]:[],'tdx':_0x2a6e2e});process['exit'](_0x1a33ee);}),segmentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x164))[a2_0x273d81(0x28d)](a2_0x273d81(0x1fd))[a2_0x273d81(0x19d)](async(_0x4947a7,_0x24e551)=>{const _0x49bbe8=a2_0x273d81,_0x584036=new SegmentShowCommand(),_0x2adc33=program[_0x49bbe8(0x198)](),_0x4e9b78=await createTDXInstance(_0x2adc33),_0x3d316c=await _0x584036[_0x49bbe8(0x153)]({'options':{..._0x2adc33,..._0x24e551},'args':_0x4947a7?[_0x4947a7]:[],'tdx':_0x4e9b78});process['exit'](_0x3d316c);}),segmentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x2bd))[a2_0x273d81(0x28d)]('List\x20segment\x20folders\x20under\x20a\x20parent\x20segment')['action'](async(_0xbfe981,_0x214825)=>{const _0x3e0982=a2_0x273d81,_0x9dc2d5=new SegmentFolderListCommand(),_0x1fdf23=program[_0x3e0982(0x198)](),_0x3f585b=await createTDXInstance(_0x1fdf23),_0x2bd10c=await _0x9dc2d5[_0x3e0982(0x153)]({'options':{..._0x1fdf23,..._0x214825},'args':[_0xbfe981],'tdx':_0x3f585b});process[_0x3e0982(0x2d1)](_0x2bd10c);});const folderCmd=segmentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x1dc))[a2_0x273d81(0x28d)]('Segment\x20folder\x20management');folderCmd['command'](a2_0x273d81(0x199))[a2_0x273d81(0x28d)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x273d81(0x19d)](async(_0xc3963e,_0x1d73c0)=>{const _0x34af2c=a2_0x273d81,_0x1220ce=new SegmentFolderShowCommand(),_0x49bf0f=program[_0x34af2c(0x198)](),_0x2afdd4=await createTDXInstance(_0x49bf0f),_0x4ea608=await _0x1220ce[_0x34af2c(0x153)]({'options':{..._0x49bf0f,..._0x1d73c0},'args':[_0xc3963e],'tdx':_0x2afdd4});process[_0x34af2c(0x2d1)](_0x4ea608);}),segmentCmd[a2_0x273d81(0x1fe)]('sql\x20[segment_name]')[a2_0x273d81(0x28d)]('Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x273d81(0x19d)](async(_0x35c8d3,_0x1a4eb2)=>{const _0x51862d=a2_0x273d81,_0x3ba857=new SegmentSQLCommand(),_0x44afea=program[_0x51862d(0x198)](),_0x3f917a=await createTDXInstance(_0x44afea),_0x2e1027=await _0x3ba857[_0x51862d(0x153)]({'options':{..._0x44afea,..._0x1a4eb2},'args':_0x35c8d3?[_0x35c8d3]:[],'tdx':_0x3f917a});process[_0x51862d(0x2d1)](_0x2e1027);}),segmentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x2a4))[a2_0x273d81(0x28d)](a2_0x273d81(0x1c9))[a2_0x273d81(0x19d)](async(_0x468f96,_0x20fdef)=>{const _0x1d7b38=a2_0x273d81,_0x4fc674=new SegmentFieldsCommand(),_0x5e7058=program[_0x1d7b38(0x198)](),_0x3fa5a1=await createTDXInstance(_0x5e7058),_0x34879e=await _0x4fc674[_0x1d7b38(0x153)]({'options':{..._0x5e7058,..._0x20fdef},'args':_0x468f96?[_0x468f96]:[],'tdx':_0x3fa5a1});process[_0x1d7b38(0x2d1)](_0x34879e);}),segmentCmd[a2_0x273d81(0x1fe)]('create\x20<segment_name>')[a2_0x273d81(0x28d)](a2_0x273d81(0x231))[a2_0x273d81(0x224)](a2_0x273d81(0x1b2),'Segment\x20description')[a2_0x273d81(0x224)](a2_0x273d81(0x1c7),a2_0x273d81(0x1d8))[a2_0x273d81(0x224)](a2_0x273d81(0x2de),a2_0x273d81(0x161))['option'](a2_0x273d81(0x2ec),'Folder\x20name\x20for\x20organization')[a2_0x273d81(0x224)](a2_0x273d81(0x26e),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x273d81(0x224)](a2_0x273d81(0x249),a2_0x273d81(0x1e7))[a2_0x273d81(0x224)]('--no-count-population',a2_0x273d81(0x18e))['action'](async(_0x4815a0,_0x491e87)=>{const _0x22253a=a2_0x273d81,_0xa8322f=new SegmentCreateCommand(),_0x3b8a9b=program[_0x22253a(0x198)](),_0x2b00e6=await createTDXInstance(_0x3b8a9b),_0x4a6bce=await _0xa8322f[_0x22253a(0x153)]({'options':{..._0x3b8a9b,..._0x491e87},'args':[_0x4815a0],'tdx':_0x2b00e6});process[_0x22253a(0x2d1)](_0x4a6bce);}),segmentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x20b))[a2_0x273d81(0x28d)](a2_0x273d81(0x227))['option'](a2_0x273d81(0x2d8),'New\x20segment\x20name')[a2_0x273d81(0x224)](a2_0x273d81(0x1b2),a2_0x273d81(0x2e6))[a2_0x273d81(0x224)](a2_0x273d81(0x1c7),a2_0x273d81(0x1ec))['option'](a2_0x273d81(0x2de),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')[a2_0x273d81(0x224)]('--folder\x20<name>',a2_0x273d81(0x2e0))['option']('--kind\x20<type>',a2_0x273d81(0x15d))['action'](async(_0x2aaa80,_0x5192bd)=>{const _0x3a6760=a2_0x273d81,_0xc1313d=new SegmentUpdateCommand(),_0x105d88=program[_0x3a6760(0x198)](),_0xca47f9=await createTDXInstance(_0x105d88),_0x4d7f14=await _0xc1313d[_0x3a6760(0x153)]({'options':{..._0x105d88,..._0x5192bd},'args':[_0x2aaa80],'tdx':_0xca47f9});process[_0x3a6760(0x2d1)](_0x4d7f14);});const parentCmd=segmentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x295))[a2_0x273d81(0x28d)](a2_0x273d81(0x250));parentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x299))[a2_0x273d81(0x28d)](a2_0x273d81(0x269))[a2_0x273d81(0x284)](a2_0x273d81(0x1ef),'Master\x20database\x20name')[a2_0x273d81(0x284)](a2_0x273d81(0x15c),a2_0x273d81(0x173))[a2_0x273d81(0x224)]('--description\x20<text>','Parent\x20segment\x20description')[a2_0x273d81(0x224)](a2_0x273d81(0x29f),a2_0x273d81(0x1e2))['option'](a2_0x273d81(0x202),a2_0x273d81(0x2a5))[a2_0x273d81(0x224)](a2_0x273d81(0x236),a2_0x273d81(0x2d4))[a2_0x273d81(0x224)](a2_0x273d81(0x2dc),a2_0x273d81(0x1c8))[a2_0x273d81(0x224)](a2_0x273d81(0x20f),a2_0x273d81(0x220))[a2_0x273d81(0x224)](a2_0x273d81(0x18a),a2_0x273d81(0x2d3))['option'](a2_0x273d81(0x1a6),'Behaviors\x20from\x20JSON\x20file')[a2_0x273d81(0x224)](a2_0x273d81(0x26d),a2_0x273d81(0x283))[a2_0x273d81(0x224)]('--customer-group-file\x20<file>',a2_0x273d81(0x1ae))[a2_0x273d81(0x19d)](async(_0x86756f,_0x462384)=>{const _0x41d3b3=a2_0x273d81,_0x4ab70b=new ParentSegmentCreateCommand(),_0x160d00=program[_0x41d3b3(0x198)](),_0x38b9b8=await createTDXInstance(_0x160d00),_0x4d6065=await _0x4ab70b['run']({'options':{..._0x160d00,..._0x462384},'args':[_0x86756f],'tdx':_0x38b9b8});process['exit'](_0x4d6065);}),parentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x282))[a2_0x273d81(0x28d)](a2_0x273d81(0x2f6))[a2_0x273d81(0x224)]('--description\x20<text>',a2_0x273d81(0x2e6))['option'](a2_0x273d81(0x29f),a2_0x273d81(0x265))['option'](a2_0x273d81(0x202),a2_0x273d81(0x1ff))['option'](a2_0x273d81(0x236),a2_0x273d81(0x1c6))['option'](a2_0x273d81(0x2cc),a2_0x273d81(0x298))[a2_0x273d81(0x224)](a2_0x273d81(0x2ba),a2_0x273d81(0x1bf))[a2_0x273d81(0x224)]('--add-behaviors\x20<json>',a2_0x273d81(0x187))['option'](a2_0x273d81(0x1a3),a2_0x273d81(0x2fa))[a2_0x273d81(0x19d)](async(_0x148292,_0x39138b)=>{const _0x9d4636=a2_0x273d81,_0x370e32=new ParentSegmentUpdateCommand(),_0x490d15=program[_0x9d4636(0x198)](),_0x3de645=await createTDXInstance(_0x490d15),_0x409bed=await _0x370e32[_0x9d4636(0x153)]({'options':{..._0x490d15,..._0x39138b},'args':[_0x148292],'tdx':_0x3de645});process[_0x9d4636(0x2d1)](_0x409bed);}),folderCmd['command']('create\x20<parent_name>\x20<folder_name>')[a2_0x273d81(0x28d)](a2_0x273d81(0x1e8))[a2_0x273d81(0x224)](a2_0x273d81(0x1b2),a2_0x273d81(0x15e))[a2_0x273d81(0x224)](a2_0x273d81(0x2cd),a2_0x273d81(0x16f))[a2_0x273d81(0x19d)](async(_0x4a89ea,_0x4c3c4d,_0x10ce8f)=>{const _0x29029c=a2_0x273d81,_0x1be0ab=new SegmentFolderCreateCommand(),_0x39200a=program[_0x29029c(0x198)](),_0x429e66=await createTDXInstance(_0x39200a),_0x30ab23=await _0x1be0ab[_0x29029c(0x153)]({'options':{..._0x39200a,..._0x10ce8f},'args':[_0x4a89ea,_0x4c3c4d],'tdx':_0x429e66});process[_0x29029c(0x2d1)](_0x30ab23);}),program[a2_0x273d81(0x1fe)]('activations\x20<segment_name>')[a2_0x273d81(0x28d)](a2_0x273d81(0x2e7))[a2_0x273d81(0x19d)](async(_0x31f9f7,_0x59e26f)=>{const _0x4eca0c=a2_0x273d81,_0x439dfc=new ActivationsCommand(),_0x1d4d98=program[_0x4eca0c(0x198)](),_0x33aef2=await createTDXInstance(_0x1d4d98),_0x146608=await _0x439dfc[_0x4eca0c(0x153)]({'options':{..._0x1d4d98,..._0x59e26f},'args':[_0x31f9f7],'tdx':_0x33aef2});process[_0x4eca0c(0x2d1)](_0x146608);});const workflowCmd=program[a2_0x273d81(0x1fe)](a2_0x273d81(0x252))['alias']('wf')[a2_0x273d81(0x28d)](a2_0x273d81(0x2b8)),wfProjectCmd=workflowCmd['command'](a2_0x273d81(0x17a))[a2_0x273d81(0x28d)]('Workflow\x20project\x20management'),wfProjectListAction=async(_0x5bddf8,_0x2e1c48)=>{const _0x39c46b=a2_0x273d81,_0x1f0219=new WorkflowProjectsCommand(),_0x3ca3fd=program[_0x39c46b(0x198)](),_0x1b2282=await createTDXInstance(_0x3ca3fd),_0x36c47e=await _0x1f0219[_0x39c46b(0x153)]({'options':{..._0x3ca3fd,..._0x2e1c48},'args':_0x5bddf8?[_0x5bddf8]:[],'tdx':_0x1b2282});process[_0x39c46b(0x2d1)](_0x36c47e);};wfProjectCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x2b9))[a2_0x273d81(0x28d)](a2_0x273d81(0x16c))[a2_0x273d81(0x19d)](wfProjectListAction),workflowCmd[a2_0x273d81(0x1fe)]('projects\x20[pattern]')[a2_0x273d81(0x28d)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x4c94fb,_0x2694e7)=>{const _0x42167c=a2_0x273d81,_0x86717a=new WorkflowWorkflowsCommand(),_0x5aa4fa=program[_0x42167c(0x198)](),_0x1d58d8=await createTDXInstance(_0x5aa4fa),_0x4db2bf=await _0x86717a['run']({'options':{..._0x5aa4fa,..._0x2694e7},'args':_0x4c94fb?[_0x4c94fb]:[],'tdx':_0x1d58d8});process[_0x42167c(0x2d1)](_0x4db2bf);};function a2_0x1135(){const _0x1692b0=['--name\x20<new_name>','after','options','workspaces\x20[pattern]','--attributes\x20<json>','download\x20<project-name>\x20[output-dir]','--rule-file\x20<file>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Move\x20to\x20folder','Workspace\x20description','agents\x20[pattern]','GET','hook','Starter\x20message','Updated\x20description','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','commands','Create\x20an\x20email\x20template','--folder\x20<name>','Run\x20Trino\x20query\x20with\x20streaming\x20results','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','json','result\x20<job-id>','Agent\x20description','api\x20[endpoint]','--email-sender-id\x20<id>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','configureHelp','Update\x20parent\x20segment\x20(audience)','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','--json-columns\x20<cols>','Add\x20behaviors\x20from\x20JSON\x20file','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','../package.json','launch\x20<name-or-id>','Read\x20SQL\x20query\x20from\x20file','Request\x20body\x20as\x20JSON\x20string','Commands:','segment','run','database','stderr','show\x20<job-id>','Maximum\x20recursion\x20depth\x20(default:\x2010)','--reason\x20<text>','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','chat\x20[message...]','--table\x20<table>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Folder\x20description','trace','List\x20agents\x20in\x20current\x20project\x20(optionally\x20filtered\x20by\x20pattern)','Filtering\x20rule\x20from\x20JSON\x20file','gitRevision','INFO','show\x20[segment_name]','Push\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style:\x20cd\x20into\x20project,\x20then\x20push\x20<name>)','Campaign\x20description','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','flatMap','Arguments:','build-info.json','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','includes','port','Parent\x20folder\x20name\x20for\x20nested\x20folders','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','526yzTFQm','Workspace\x20name','Master\x20table\x20name','attempt:','--yes','--from\x20<timestamp>','--site\x20<site>','\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','Email\x20subject\x20template','project','979ypiCHA','--timeout\x20<seconds>','help','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','--new','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Skip\x20confirmation\x20prompt','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','filter','Database\x20to\x20query\x20(default:\x20information_schema)','restore\x20<folder>','Email\x20sender\x20ID\x20for\x20delivery','Add\x20behaviors\x20as\x20JSON\x20string','Skip\x20confirmation\x20prompts','subcommandDescription','--behaviors\x20<json>','segments\x20[path]','6040557VVZZwM','repeat','Skip\x20population\x20counting','get','--full','Warning:\x20No\x20API\x20key\x20found.\x20Run\x20\x22tdx\x20auth\x20setup\x22\x20to\x20authenticate.','delete\x20<name>','Interactive\x20chat\x20selector','tables\x20[pattern]','tdx','commandUsage','slice','opts','show\x20<folder_ref>','List\x20all\x20available\x20profiles','allowExcessArguments','Database\x20name\x20(default:\x20information_schema)','action','245150BDqEmh','16eJjofh','Campaign\x20name','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','--agent\x20<name>','--add-behaviors-file\x20<file>','Include\x20retried\x20attempts\x20(for\x20list)','tdx\x20','--behaviors-file\x20<file>','\x20-\x20built\x20','-r,\x20--recursive','llm','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','--name\x20<name>','list\x20[project]','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Customer\x20group\x20from\x20JSON\x20file','Resume\x20from\x20specific\x20task','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','setup','--description\x20<text>','optionDescription','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Update\x20a\x20workspace','injectIntoOptions','--include-subtasks','--no-color','argv','8469078viujhV','name','templates\x20[pattern]','Revision\x20name\x20(default:\x20timestamp)','Add\x20attributes\x20from\x20JSON\x20file','--type\x20<api_type>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','registeredArguments','-f,\x20--file\x20<path>','--clear','--model\x20<name>','Updated\x20timezone','--rule\x20<json>','Attributes\x20as\x20JSON\x20string','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','--data\x20<data>','--project\x20<name>','list','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','trino','workspace','--type\x20<type>','0.7','version','--starter-message\x20<text>','--llm-project\x20<name>','--subject\x20<subject>','List\x20available\x20LLM\x20models','Filtering\x20rule\x20as\x20JSON\x20string','resume\x20<name-or-id>','Unknown\x20action:\x20','noColor','folder','Email\x20template\x20management','backup\x20<name>','System\x20prompt/instructions\x20(default:\x20empty)','length','--max-depth\x20<depth>','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','hidden','aliases','Show\x20email\x20template\x20details','Maximum\x20tool\x20iterations\x20(default:\x204)','Make\x20segment\x20invisible\x20(default:\x20visible)','Create\x20segment\x20folder','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','--job-type\x20<type>','New\x20workspace\x20name','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--param\x20<key=value>','Delete\x20a\x20campaign','--database\x20<db>','utf-8','isArray','Override\x20project\x20name','Include\x20retried\x20attempts','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','history\x20[chat-id]','logLevel','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','engage','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','required','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','parse','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','command','Updated\x20schedule\x20option','url','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','--schedule-option\x20<value>','-d,\x20--database\x20<database>','--limit\x20<number>','--catalog\x20<catalog>','forEach','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','claude-4.5-sonnet','--workspace\x20<name>','attempt','update\x20<segment_name>','Skip\x20validation\x20of\x20.dig\x20files','--debug','tsv','--attributes-file\x20<file>','Show\x20campaign\x20details','padEnd','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','5dWIOjS','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','use\x20[resource]\x20[value]','_hidden','--dry-run','argumentTerm','map','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','stdout','outputHelp','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy\x20(use\x20--\x20to\x20pass\x20options\x20to\x20Claude\x20Code)','Show\x20agent\x20details','Attributes\x20from\x20JSON\x20file','--revision\x20<revision>','TRACE','Create\x20a\x20new\x20LLM\x20project','option','--editor-type\x20<type>','information_schema','Update\x20child\x20segment\x20(use\x20parent_name/child_name)','Save\x20output\x20to\x20file','End\x20time\x20filter\x20(ISO\x208601\x20format)','Kill\x20a\x20job','buildTime','--html\x20<html>','colorFn','--color','run\x20<workflow>','Update\x20an\x20existing\x20agent','Create\x20child\x20segment\x20(use\x20parent_name/child_name)','--segment\x20<path>','alias','use\x20<path>','models','--timezone\x20<tz>','--name\x20<text>','Model\x20name\x20(default:\x20claude-4.5-sonnet)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Agent\x20prompt/instructions','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','--port\x20<number>','1630136mUzTSQ','argumentDescription','--status\x20<status>','--to\x20<timestamp>','usage','Campaign\x20type\x20(email\x20or\x20push)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','addHelpText','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',',\x20version\x20','push','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--invisible','campaign','Agent\x20reference\x20(project-name/agent-name)','site','Show\x20current\x20resolved\x20context\x20(use\x20--debug\x20to\x20show\x20sources)','catch','debug','Parent\x20segment\x20(audience)\x20management','-y,\x20--yes','workflow','Show\x20job\x20details','replace','campaigns\x20[pattern]','Trino\x20catalog\x20(default:\x20td)','us01','--temperature\x20<n>','--tsv','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','isTTY','Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)','jsonl','Restore\x20an\x20LLM\x20project\x20from\x20a\x20backup\x20folder','--agent\x20<ref>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','CDP\x20segment\x20management\x20commands','Attempt\x20ID','Job\x20management\x20commands','table','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','List\x20jobs','--last','duplicate\x20<name-or-id>','Create\x20parent\x20segment\x20(audience)','kill','log','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--customer-group\x20<json>','--kind\x20<type>','Campaign\x20management','\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\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20--\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20previous\x20Claude\x20Code\x20session\x0a\x20\x20tdx\x20claude\x20usage\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\x20Output\x20usage\x20as\x20JSON','--params\x20<json>','-X,\x20--method\x20<method>','then','--in\x20<database>','4387780XZnNrw','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','Backup\x20an\x20LLM\x20project\x20to\x20a\x20folder','Options:','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','create','Workspace\x20management','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','Workspace\x20name\x20(required)','Setup\x20API\x20key\x20authentication\x20interactively','subcommandTerm','use\x20<project-name>','template','update\x20<name>','Customer\x20group\x20as\x20JSON\x20string','requiredOption','--session\x20<id>','delete\x20<agent-name>','delete\x20<name-or-id>','Usage:\x20','show\x20[table]','Resume\x20from\x20specific\x20task\x20(retry)','DEBUG','Output\x20folder\x20(default:\x20{project_name}.llm)','description','Submit\x20a\x20job','status','HTML\x20template\x20content','Delete\x20an\x20agent','--system-prompt\x20<text>','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--format\x20<format>','parent','--start-at\x20<datetime>','Show\x20current\x20segment/folder\x20context','Add\x20attributes\x20as\x20JSON\x20string','create\x20<name>','show\x20<name-or-id>','query\x20[sql]','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','createAsync','12117PmMhDz','--schedule-type\x20<type>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','-d,\x20--database\x20<name>','auth','--max-tool-iterations\x20<n>','fields\x20[parent_name]','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','-H,\x20--header\x20<header>','--include-retried','optionTerm','--plaintext\x20<text>','--parent-segment\x20<name>','describe\x20[segment_name]','padWidth','argument','Duplicate\x20a\x20campaign','--description\x20<desc>','Resume\x20a\x20paused\x20campaign','Plaintext\x20template\x20content','logs','Action:\x20logs,\x20tasks,\x20kill,\x20retry','preAction','2604112REDfcT','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow)','Workflow\x20(Digdag)\x20management\x20commands','list\x20[pattern]','--add-attributes-file\x20<file>','\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','Describe\x20table\x20schema','folders\x20<parent_name>','--resume-from\x20<task>','context','Temperature\x20(0.0-2.0,\x20default:\x200.7)','format','--profile\x20<name>','Read\x20query\x20from\x20file','Launch\x20a\x20campaign','join','Enable\x20verbose\x20logging','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','New\x20template\x20name','Set\x20session-level\x20context\x20(resources:\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20profile)','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','apiKey','--add-attributes\x20<json>','--parent-folder\x20<name>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','allowUnknownOption','exit','Create\x20a\x20workspace','Behaviors\x20as\x20JSON\x20string','Timezone\x20(e.g.,\x20America/Los_Angeles)','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','--force','Create\x20a\x20new\x20campaign'];a2_0x1135=function(){return _0x1692b0;};return a2_0x1135();}workflowCmd['command']('workflows\x20[project]')[a2_0x273d81(0x28d)]('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command']('session')['description']('Workflow\x20session\x20management'),wfSessionListAction=async(_0x4f2a7e,_0x22c4c9)=>{const _0x1b2c3d=a2_0x273d81,_0x9eba91=new WorkflowSessionsCommand(),_0x19c8cb=program[_0x1b2c3d(0x198)](),_0x57dd50=await createTDXInstance(_0x19c8cb),_0x6e4fb6=await _0x9eba91[_0x1b2c3d(0x153)]({'options':{..._0x19c8cb,..._0x22c4c9},'args':_0x4f2a7e?[_0x4f2a7e]:[],'tdx':_0x57dd50});process['exit'](_0x6e4fb6);};wfSessionCmd['command'](a2_0x273d81(0x1ac))[a2_0x273d81(0x28d)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x273d81(0x224)](a2_0x273d81(0x23f),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')['option'](a2_0x273d81(0x176),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x273d81(0x224)]('--to\x20<timestamp>',a2_0x273d81(0x229))[a2_0x273d81(0x19d)](wfSessionListAction),workflowCmd[a2_0x273d81(0x1fe)]('sessions\x20[project]')[a2_0x273d81(0x28d)](a2_0x273d81(0x182))[a2_0x273d81(0x224)]('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x273d81(0x224)](a2_0x273d81(0x176),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x273d81(0x224)](a2_0x273d81(0x240),a2_0x273d81(0x229))[a2_0x273d81(0x19d)](wfSessionListAction);const wfAttemptListAction=async(_0xda08f0,_0x2dc5ac)=>{const _0x4358ce=a2_0x273d81,_0x845ea8=new WorkflowAttemptsCommand(),_0x45c058=program[_0x4358ce(0x198)](),_0x35bc82=await createTDXInstance(_0x45c058),_0x566786=await _0x845ea8[_0x4358ce(0x153)]({'options':{..._0x45c058,..._0x2dc5ac},'args':_0xda08f0?[_0xda08f0]:[],'tdx':_0x35bc82});process['exit'](_0x566786);},attemptCmd=workflowCmd['command'](a2_0x273d81(0x20a))['description']('Workflow\x20attempt\x20management')['argument']('[attempt-id]',a2_0x273d81(0x262))[a2_0x273d81(0x2ae)]('[action]',a2_0x273d81(0x2b4))['argument']('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x273d81(0x224)](a2_0x273d81(0x1b8),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x273d81(0x224)](a2_0x273d81(0x158),'Reason\x20for\x20killing\x20the\x20attempt')[a2_0x273d81(0x224)](a2_0x273d81(0x2be),a2_0x273d81(0x28a))['option']('--params\x20<json>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x273d81(0x224)](a2_0x273d81(0x2d6),'Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x273d81(0x224)](a2_0x273d81(0x2a8),a2_0x273d81(0x1a4))['action'](async(_0xc7e762,_0x1e34d3,_0x138512,_0x87a132)=>{const _0xc10582=a2_0x273d81;if(_0xc7e762===_0xc10582(0x1cc)){await wfAttemptListAction(_0x1e34d3,_0x87a132);return;}if(!_0xc7e762){attemptCmd[_0xc10582(0x17d)]();return;}const _0xf49a41=program['opts'](),_0x400990=await createTDXInstance(_0xf49a41);let _0x4ccc21=0x0;if(!_0x1e34d3){const _0xad7b20=new WorkflowAttemptCommand();_0x4ccc21=await _0xad7b20[_0xc10582(0x153)]({'options':{..._0xf49a41,..._0x87a132},'args':[_0xc7e762],'tdx':_0x400990});}else{if(_0x1e34d3===_0xc10582(0x2b3)){const _0x280e6b=new WorkflowLogsCommand();_0x4ccc21=await _0x280e6b['run']({'options':{..._0xf49a41,..._0x87a132},'args':_0x138512?[_0xc7e762,_0x138512]:[_0xc7e762],'tdx':_0x400990});}else{if(_0x1e34d3==='tasks'){const _0x235363=new WorkflowTasksCommand();_0x4ccc21=await _0x235363['run']({'options':{..._0xf49a41,..._0x87a132},'args':[_0xc7e762],'tdx':_0x400990});}else{if(_0x1e34d3===_0xc10582(0x26a)){const _0x386797=new WorkflowKillCommand();_0x4ccc21=await _0x386797[_0xc10582(0x153)]({'options':{..._0xf49a41,..._0x87a132},'args':[_0xc7e762],'tdx':_0x400990});}else{if(_0x1e34d3==='retry'){const _0x58a1c5=new WorkflowRetryCommand();_0x4ccc21=await _0x58a1c5[_0xc10582(0x153)]({'options':{..._0xf49a41,..._0x87a132},'args':[_0xc10582(0x174)+_0xc7e762],'tdx':_0x400990});}else console['error'](_0xc10582(0x1da)+_0x1e34d3),console['error'](_0xc10582(0x16b)),_0x4ccc21=0x1;}}}}process['exit'](_0x4ccc21);});attemptCmd[a2_0x273d81(0x1fe)]('list\x20[project]')[a2_0x273d81(0x28d)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x273d81(0x224)](a2_0x273d81(0x2a8),a2_0x273d81(0x1f3))[a2_0x273d81(0x19d)](wfAttemptListAction),workflowCmd[a2_0x273d81(0x1fe)]('attempts\x20[project]')['description']('List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)')[a2_0x273d81(0x224)](a2_0x273d81(0x2a8),a2_0x273d81(0x1f3))['action'](wfAttemptListAction),workflowCmd[a2_0x273d81(0x1fe)]('retry\x20<session-id>')['description'](a2_0x273d81(0x212))['option']('--from-task\x20<task>',a2_0x273d81(0x1af))[a2_0x273d81(0x224)](a2_0x273d81(0x271),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x273d81(0x19d)](async(_0x4f1ab4,_0x4a1035)=>{const _0x432bb4=a2_0x273d81,_0x3de8c5=new WorkflowRetryCommand(),_0x39bae6=program[_0x432bb4(0x198)](),_0x55b904=await createTDXInstance(_0x39bae6),_0x5ce987=await _0x3de8c5['run']({'options':{..._0x39bae6,..._0x4a1035},'args':[_0x4f1ab4],'tdx':_0x55b904});process[_0x432bb4(0x2d1)](_0x5ce987);}),workflowCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x22f))[a2_0x273d81(0x28d)](a2_0x273d81(0x2b7))[a2_0x273d81(0x224)](a2_0x273d81(0x1ed),'Workflow\x20parameter\x20(repeatable)',(_0x247f86,_0x1414b8=[])=>[..._0x1414b8,_0x247f86],[])[a2_0x273d81(0x224)]('--session-time\x20<time>',a2_0x273d81(0x26c))[a2_0x273d81(0x19d)](async(_0x340bd4,_0x54181e)=>{const _0x56844b=a2_0x273d81,_0x433491=new WorkflowRunCommand(),_0x1e06fd=program['opts'](),_0x5e1fa3=await createTDXInstance(_0x1e06fd),_0x1464bf=await _0x433491['run']({'options':{..._0x1e06fd,..._0x54181e},'args':[_0x340bd4],'tdx':_0x5e1fa3});process[_0x56844b(0x2d1)](_0x1464bf);}),workflowCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x2dd))['description'](a2_0x273d81(0x21a))['option']('--revision\x20<revision>',a2_0x273d81(0x1c1))['action'](async(_0x249ea5,_0x285acf,_0x204aee)=>{const _0x5f1c6f=a2_0x273d81,_0x43241b=new WorkflowDownloadCommand(),_0x266d30=program[_0x5f1c6f(0x198)](),_0x175015=await createTDXInstance(_0x266d30),_0xb15e2e=await _0x43241b[_0x5f1c6f(0x153)]({'options':{..._0x266d30,..._0x204aee},'args':[_0x249ea5,_0x285acf||'.'],'tdx':_0x175015});process['exit'](_0xb15e2e);}),workflowCmd['command']('push\x20[project-name-or-dir]')[a2_0x273d81(0x28d)](a2_0x273d81(0x165))['option'](a2_0x273d81(0x1ab),a2_0x273d81(0x1f2))[a2_0x273d81(0x224)](a2_0x273d81(0x221),a2_0x273d81(0x1be))['option']('--skip-validation',a2_0x273d81(0x20c))[a2_0x273d81(0x19d)](async(_0x5759b6,_0x5937b8)=>{const _0x30596a=a2_0x273d81,_0x4ec91e=new WorkflowPushCommand(),_0xebaef7=program[_0x30596a(0x198)](),_0x405a82=await createTDXInstance(_0xebaef7),_0x5b8f75=await _0x4ec91e['run']({'options':{..._0xebaef7,..._0x5937b8},'args':_0x5759b6?[_0x5759b6]:[],'tdx':_0x405a82});process[_0x30596a(0x2d1)](_0x5b8f75);}),workflowCmd['command']('delete\x20<project-name-or-id>')['description']('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x273d81(0x19d)](async(_0x367596,_0x243038)=>{const _0xf362b0=a2_0x273d81,_0x59fa48=new WorkflowDeleteCommand(),_0x462bb3=program[_0xf362b0(0x198)](),_0x38053d=await createTDXInstance(_0x462bb3),_0x59e5bc=await _0x59fa48[_0xf362b0(0x153)]({'options':{..._0x462bb3,..._0x243038},'args':[_0x367596],'tdx':_0x38053d});process['exit'](_0x59e5bc);});const jobCmd=program[a2_0x273d81(0x1fe)]('job')[a2_0x273d81(0x28d)](a2_0x273d81(0x263)),jobListAction=async _0x55647c=>{const _0x9345e3=a2_0x273d81,_0x224614=new JobListCommand(),_0x518624=program[_0x9345e3(0x198)](),_0x507709=await createTDXInstance(_0x518624),_0x28fb68=await _0x224614[_0x9345e3(0x153)]({'options':{..._0x518624,..._0x55647c},'args':[],'tdx':_0x507709});process['exit'](_0x28fb68);};jobCmd['command']('list')[a2_0x273d81(0x28d)](a2_0x273d81(0x266))[a2_0x273d81(0x224)](a2_0x273d81(0x23f),a2_0x273d81(0x239))[a2_0x273d81(0x19d)](jobListAction),program[a2_0x273d81(0x1fe)]('jobs',{'hidden':!![]})[a2_0x273d81(0x28d)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x273d81(0x224)](a2_0x273d81(0x23f),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x273d81(0x19d)](jobListAction),jobCmd['command'](a2_0x273d81(0x156))[a2_0x273d81(0x28d)](a2_0x273d81(0x253))[a2_0x273d81(0x19d)](async(_0x267f21,_0x16dd87)=>{const _0x171dbe=a2_0x273d81,_0x129f30=new JobShowCommand(),_0x43556e=program[_0x171dbe(0x198)](),_0x571d7c=await createTDXInstance(_0x43556e),_0x2d934d=await _0x129f30[_0x171dbe(0x153)]({'options':{..._0x43556e,..._0x16dd87},'args':[_0x267f21],'tdx':_0x571d7c});process[_0x171dbe(0x2d1)](_0x2d934d);}),jobCmd['command']('kill\x20<job-id>')[a2_0x273d81(0x28d)](a2_0x273d81(0x22a))[a2_0x273d81(0x19d)](async(_0x58b322,_0xbe4abf)=>{const _0xb18df5=a2_0x273d81,_0x5fa0ff=new JobKillCommand(),_0x3e1534=program[_0xb18df5(0x198)](),_0x47b26c=await createTDXInstance(_0x3e1534),_0x290d45=await _0x5fa0ff[_0xb18df5(0x153)]({'options':{..._0x3e1534,..._0xbe4abf},'args':[_0x58b322],'tdx':_0x47b26c});process[_0xb18df5(0x2d1)](_0x290d45);}),jobCmd[a2_0x273d81(0x1fe)]('submit\x20[query]')[a2_0x273d81(0x28d)](a2_0x273d81(0x28e))[a2_0x273d81(0x224)](a2_0x273d81(0x1ea),a2_0x273d81(0x1f7),a2_0x273d81(0x1cf))[a2_0x273d81(0x224)](a2_0x273d81(0x1c3),a2_0x273d81(0x2c3))[a2_0x273d81(0x224)]('--database\x20<name>',a2_0x273d81(0x19c),a2_0x273d81(0x226))[a2_0x273d81(0x19d)](async(_0x39b111,_0x211e98)=>{const _0x15620f=a2_0x273d81,_0x4e4080=new JobSubmitCommand(),_0x4f182b=program['opts'](),_0x4bc21a=await createTDXInstance(_0x4f182b),_0x12834f=await _0x4e4080[_0x15620f(0x153)]({'options':{..._0x4f182b,..._0x211e98},'args':_0x39b111?[_0x39b111]:[],'tdx':_0x4bc21a});process[_0x15620f(0x2d1)](_0x12834f);}),jobCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x2f0))['description']('Get\x20job\x20results')['action'](async(_0x5817db,_0x2241a4)=>{const _0x157412=a2_0x273d81,_0x4ebfd0=new JobResultCommand(),_0x3410a1=program[_0x157412(0x198)](),_0x23897a=await createTDXInstance(_0x3410a1),_0x4b9e52=await _0x4ebfd0[_0x157412(0x153)]({'options':{..._0x3410a1,..._0x2241a4},'args':[_0x5817db],'tdx':_0x23897a});process[_0x157412(0x2d1)](_0x4b9e52);});const llmCmd=program[a2_0x273d81(0x1fe)](a2_0x273d81(0x1a9))['description']('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x280))[a2_0x273d81(0x28d)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')[a2_0x273d81(0x19d)](async(_0x476c26,_0x46776b)=>{const _0x2fd22e=a2_0x273d81,_0x52adfd=new LLMUseCommand(),_0x2dd6f8=program[_0x2fd22e(0x198)](),_0x906359=await createTDXInstance(_0x2dd6f8),_0x1d9461=await _0x52adfd['run']({'options':{..._0x2dd6f8,..._0x46776b},'args':[_0x476c26],'tdx':_0x906359});process[_0x2fd22e(0x2d1)](_0x1d9461);}),llmCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x235))['description'](a2_0x273d81(0x1d7))['action'](async _0x367777=>{const _0xc50027=a2_0x273d81,_0x74af=new LLMModelsCommand(),_0x5cdf0e=program['opts'](),_0x34fecb=await createTDXInstance(_0x5cdf0e),_0x5aa0f9=await _0x74af[_0xc50027(0x153)]({'options':{..._0x5cdf0e,..._0x367777},'args':[],'tdx':_0x34fecb});process[_0xc50027(0x2d1)](_0x5aa0f9);});const projectCmd=llmCmd[a2_0x273d81(0x1fe)]('project')[a2_0x273d81(0x28d)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x37f664,_0x36213b)=>{const _0x1c2ad0=a2_0x273d81,_0x1b49ec=new LLMProjectsCommand(),_0x495212=program['opts'](),_0x1244ae=await createTDXInstance(_0x495212),_0xefa2f9=await _0x1b49ec[_0x1c2ad0(0x153)]({'options':{..._0x495212,..._0x36213b},'args':_0x37f664?[_0x37f664]:[],'tdx':_0x1244ae});process[_0x1c2ad0(0x2d1)](_0xefa2f9);};projectCmd['command'](a2_0x273d81(0x2b9))['description']('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x273d81(0x19d)](llmProjectListAction),llmCmd[a2_0x273d81(0x1fe)]('projects\x20[pattern]')['description'](a2_0x273d81(0x2a0))[a2_0x273d81(0x19d)](llmProjectListAction),projectCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x299))[a2_0x273d81(0x28d)](a2_0x273d81(0x223))['option'](a2_0x273d81(0x1b2),'Project\x20description')['action'](async(_0x5df079,_0x1001c3)=>{const _0x5371f5=a2_0x273d81,_0x119f3a=new LLMProjectCreateCommand(),_0x11f34a=program['opts'](),_0x292596=await createTDXInstance(_0x11f34a),_0x2ef0ca=await _0x119f3a[_0x5371f5(0x153)]({'options':{..._0x11f34a,..._0x1001c3},'args':[_0x5df079],'tdx':_0x292596});process['exit'](_0x2ef0ca);}),projectCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x192))[a2_0x273d81(0x28d)]('Delete\x20an\x20LLM\x20project')[a2_0x273d81(0x19d)](async(_0x3acd65,_0x1821d8)=>{const _0x884cb6=a2_0x273d81,_0x9fd2d3=new LLMProjectDeleteCommand(),_0x17bd34=program[_0x884cb6(0x198)](),_0x5ef9aa=await createTDXInstance(_0x17bd34),_0x2ad548=await _0x9fd2d3[_0x884cb6(0x153)]({'options':{..._0x17bd34,..._0x1821d8},'args':[_0x3acd65],'tdx':_0x5ef9aa});process[_0x884cb6(0x2d1)](_0x2ad548);}),projectCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x1de))[a2_0x273d81(0x28d)](a2_0x273d81(0x277))['option']('-o,\x20--output\x20<folder>',a2_0x273d81(0x28c))['option'](a2_0x273d81(0x217),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x273d81(0x19d)](async(_0x43aef1,_0x1e1721)=>{const _0x2cf4c1=a2_0x273d81,_0x2d7c73=new LLMProjectBackupCommand(),_0x3c92fe=program['opts'](),_0x448dc1=await createTDXInstance(_0x3c92fe),_0x2c8a14=await _0x2d7c73[_0x2cf4c1(0x153)]({'options':{..._0x3c92fe,..._0x1e1721},'args':[_0x43aef1],'tdx':_0x448dc1});process[_0x2cf4c1(0x2d1)](_0x2c8a14);}),projectCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x185))['description'](a2_0x273d81(0x25e))[a2_0x273d81(0x224)]('--name\x20<new-name>',a2_0x273d81(0x23b))[a2_0x273d81(0x224)]('--dry-run',a2_0x273d81(0x1a1))[a2_0x273d81(0x19d)](async(_0x3508a5,_0x30bbed)=>{const _0x3d588e=a2_0x273d81,_0x429db0=new LLMProjectRestoreCommand(),_0x3c0312=program[_0x3d588e(0x198)](),_0x55119f=await createTDXInstance(_0x3c0312),_0x285f02=await _0x429db0[_0x3d588e(0x153)]({'options':{..._0x3c0312,..._0x30bbed},'args':[_0x3508a5],'tdx':_0x55119f});process['exit'](_0x285f02);});const agentCmd=llmCmd[a2_0x273d81(0x1fe)]('agent')[a2_0x273d81(0x28d)]('LLM\x20agent\x20management'),llmAgentListAction=async(_0x58bfa4,_0x137f9f)=>{const _0x8fd1d5=a2_0x273d81,_0x440e6d=new LLMAgentsCommand(),_0x34bbee=program[_0x8fd1d5(0x198)](),_0x1b1885=await createTDXInstance(_0x34bbee),_0x25823d=await _0x440e6d[_0x8fd1d5(0x153)]({'options':{..._0x34bbee,..._0x137f9f},'args':_0x58bfa4?[_0x58bfa4]:[],'tdx':_0x1b1885});process['exit'](_0x25823d);};agentCmd['command']('list\x20[pattern]')[a2_0x273d81(0x28d)](a2_0x273d81(0x160))[a2_0x273d81(0x19d)](llmAgentListAction),llmCmd['command'](a2_0x273d81(0x2e2))[a2_0x273d81(0x28d)](a2_0x273d81(0x1ad))['action'](llmAgentListAction),agentCmd[a2_0x273d81(0x1fe)]('show\x20<agent-name>')[a2_0x273d81(0x28d)](a2_0x273d81(0x21f))[a2_0x273d81(0x19d)](async(_0x312203,_0x438d46)=>{const _0x25dcbe=a2_0x273d81,_0x1ecb66=new LLMAgentShowCommand(),_0x177e1e=program['opts'](),_0xdb3c23=await createTDXInstance(_0x177e1e),_0xe16edb=await _0x1ecb66['run']({'options':{..._0x177e1e,..._0x438d46},'args':[_0x312203],'tdx':_0xdb3c23});process[_0x25dcbe(0x2d1)](_0xe16edb);}),agentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x299))[a2_0x273d81(0x28d)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')['option'](a2_0x273d81(0x292),a2_0x273d81(0x1df))['option'](a2_0x273d81(0x1c5),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x273d81(0x208))[a2_0x273d81(0x224)](a2_0x273d81(0x1d4),a2_0x273d81(0x2e5))[a2_0x273d81(0x224)](a2_0x273d81(0x2a3),a2_0x273d81(0x1e6),'4')[a2_0x273d81(0x224)](a2_0x273d81(0x258),a2_0x273d81(0x2c0),a2_0x273d81(0x1d2))[a2_0x273d81(0x19d)](async(_0x379b33,_0x266c99)=>{const _0x5aa97f=a2_0x273d81,_0x10df14=new LLMAgentCreateCommand(),_0x501e29=program[_0x5aa97f(0x198)](),_0x31f477=await createTDXInstance(_0x501e29),_0x3e0755=await _0x10df14['run']({'options':{..._0x501e29,..._0x266c99},'args':[_0x379b33],'tdx':_0x31f477});process[_0x5aa97f(0x2d1)](_0x3e0755);}),agentCmd[a2_0x273d81(0x1fe)]('update\x20<agent-name>')[a2_0x273d81(0x28d)](a2_0x273d81(0x230))[a2_0x273d81(0x224)](a2_0x273d81(0x237),'Agent\x20name')[a2_0x273d81(0x224)]('--prompt\x20<text>',a2_0x273d81(0x23a))[a2_0x273d81(0x224)](a2_0x273d81(0x1b2),a2_0x273d81(0x2f1))[a2_0x273d81(0x224)](a2_0x273d81(0x1d4),a2_0x273d81(0x2e5))[a2_0x273d81(0x19d)](async(_0x124961,_0x36d4d9)=>{const _0x59c6e5=a2_0x273d81,_0x593803=new LLMAgentUpdateCommand(),_0x394d2e=program['opts'](),_0x3f144b=await createTDXInstance(_0x394d2e),_0x493ad2=await _0x593803['run']({'options':{..._0x394d2e,..._0x36d4d9},'args':[_0x124961],'tdx':_0x3f144b});process[_0x59c6e5(0x2d1)](_0x493ad2);}),agentCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x286))[a2_0x273d81(0x28d)](a2_0x273d81(0x291))[a2_0x273d81(0x19d)](async(_0x534d89,_0x1f95df)=>{const _0xa978c9=a2_0x273d81,_0x4a1f2d=new LLMAgentDeleteCommand(),_0x29a343=program[_0xa978c9(0x198)](),_0x1fd08b=await createTDXInstance(_0x29a343),_0x51524f=await _0x4a1f2d['run']({'options':{..._0x29a343,..._0x1f95df},'args':[_0x534d89],'tdx':_0x1fd08b});process[_0xa978c9(0x2d1)](_0x51524f);}),llmCmd['command'](a2_0x273d81(0x1f5))['description'](a2_0x273d81(0x2e9))['option'](a2_0x273d81(0x267),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')[a2_0x273d81(0x19d)](async(_0x1a66fe,_0x168650)=>{const _0x52d8e2=a2_0x273d81,_0x309c8f=new LLMHistoryCommand(),_0x3e3fea=program[_0x52d8e2(0x198)](),_0x7b3427=await createTDXInstance(_0x3e3fea),_0x379392=await _0x309c8f[_0x52d8e2(0x153)]({'options':{..._0x3e3fea,..._0x168650},'args':_0x1a66fe?[_0x1a66fe]:[],'tdx':_0x7b3427});process[_0x52d8e2(0x2d1)](_0x379392);}),llmCmd[a2_0x273d81(0x1fe)]('proxy')['description']('[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)')[a2_0x273d81(0x224)](a2_0x273d81(0x23c),a2_0x273d81(0x2f8),'4000')[a2_0x273d81(0x224)](a2_0x273d81(0x1cb),a2_0x273d81(0x2d5))[a2_0x273d81(0x224)](a2_0x273d81(0x1a2),a2_0x273d81(0x25a))[a2_0x273d81(0x19d)](async _0x575bfc=>{const _0xf30c4d=a2_0x273d81,_0x52e148=new LLMProxyCommand(),_0xf64e9e=program[_0xf30c4d(0x198)](),_0x11bdf8=await createTDXInstance(_0xf64e9e),_0x568c19={..._0x575bfc,'port':_0x575bfc[_0xf30c4d(0x16e)]?parseInt(_0x575bfc[_0xf30c4d(0x16e)],0xa):undefined},_0x3f3f14=await _0x52e148[_0xf30c4d(0x153)]({'options':{..._0xf64e9e,..._0x568c19},'args':[],'tdx':_0x11bdf8});process[_0xf30c4d(0x2d1)](_0x3f3f14);}),program[a2_0x273d81(0x1fe)]('claude\x20[args...]')[a2_0x273d81(0x28d)](a2_0x273d81(0x21e))[a2_0x273d81(0x224)]('--model\x20<name>',a2_0x273d81(0x25c),'sonnet')[a2_0x273d81(0x224)]('--no-proxy',a2_0x273d81(0x1f4))[a2_0x273d81(0x2d0)]()[a2_0x273d81(0x19b)](!![])['addHelpText']('after',a2_0x273d81(0x270))[a2_0x273d81(0x19d)](async(_0x4f4d06,_0x21d52a)=>{const _0x130b79=a2_0x273d81,_0x2c8e0e=program['opts'](),_0x56dba9=Array[_0x130b79(0x1f1)](_0x4f4d06)?_0x4f4d06:[];if(_0x56dba9[0x0]==='statusline'){const _0x3a5e32=new ClaudeStatuslineCommand(),_0x3a872d=await _0x3a5e32['run']({'options':{..._0x2c8e0e,..._0x21d52a},'args':_0x56dba9[_0x130b79(0x197)](0x1),'tdx':null});process[_0x130b79(0x2d1)](_0x3a872d);}if(_0x56dba9[0x0]===_0x130b79(0x241)){const _0x49c975=new ClaudeUsageCommand(),_0x43b92d=await _0x49c975[_0x130b79(0x153)]({'options':{..._0x2c8e0e,..._0x21d52a},'args':_0x56dba9[_0x130b79(0x197)](0x1),'tdx':null});process[_0x130b79(0x2d1)](_0x43b92d);}const _0x45c1fb=new ClaudeCommand(),_0x1dd9a2=await createTDXInstance(_0x2c8e0e),_0x5ce291=await _0x45c1fb[_0x130b79(0x153)]({'options':{..._0x2c8e0e,..._0x21d52a},'args':_0x56dba9,'tdx':_0x1dd9a2});process[_0x130b79(0x2d1)](_0x5ce291);}),program[a2_0x273d81(0x1fe)](a2_0x273d81(0x2bf))['description'](a2_0x273d81(0x24d))['option'](a2_0x273d81(0x1c4),'Clear\x20session\x20context')[a2_0x273d81(0x19d)](async _0x2e1835=>{const _0x1f3d45=a2_0x273d81,_0x489db9=new ContextCommand(),_0x59793c=program[_0x1f3d45(0x198)](),_0x66c7e2=await _0x489db9[_0x1f3d45(0x153)]({'options':{..._0x59793c,..._0x2e1835},'args':[],'tdx':null});process[_0x1f3d45(0x2d1)](_0x66c7e2);}),program['command'](a2_0x273d81(0x215))[a2_0x273d81(0x28d)](a2_0x273d81(0x2c9))['action'](async(_0x185380,_0x1c2339,_0xb4858)=>{const _0x2593f2=a2_0x273d81,_0x36235b=new UseCommand(),_0x3edea1=program[_0x2593f2(0x198)](),_0x5c742b=[];if(_0x185380)_0x5c742b[_0x2593f2(0x247)](_0x185380);if(_0x1c2339)_0x5c742b[_0x2593f2(0x247)](_0x1c2339);const _0x4560be=await _0x36235b[_0x2593f2(0x153)]({'options':{..._0x3edea1,..._0xb4858},'args':_0x5c742b,'tdx':null});process['exit'](_0x4560be);}),program['command']('chats')['description'](a2_0x273d81(0x193))['option']('--last','Show\x20the\x20most\x20recent\x20chat')[a2_0x273d81(0x19d)](async _0x2f966f=>{const _0x43b37c=a2_0x273d81,_0x594bf8=new ChatsCommand(),_0x5df0d7=program['opts'](),_0x464b6c=await createTDXInstance(_0x5df0d7),_0xae2f2e=await _0x594bf8['run']({'options':{..._0x5df0d7,..._0x2f966f},'args':[],'tdx':_0x464b6c});process[_0x43b37c(0x2d1)](_0xae2f2e);});const authCmd=program[a2_0x273d81(0x1fe)](a2_0x273d81(0x2a2))[a2_0x273d81(0x28d)]('Authentication\x20management');async function runAuthStatusCommand(_0x5f3d6c){const _0x1d1770=a2_0x273d81,_0x52bde2=new AuthStatusCommand(),_0x3ba6d5=program[_0x1d1770(0x198)](),_0x3c9426=await createTDXInstance(_0x3ba6d5),_0x568414=await _0x52bde2[_0x1d1770(0x153)]({'options':{..._0x3ba6d5,..._0x5f3d6c},'args':[],'tdx':_0x3c9426});process[_0x1d1770(0x2d1)](_0x568414);}authCmd[a2_0x273d81(0x19d)](runAuthStatusCommand),authCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x28f))[a2_0x273d81(0x28d)](a2_0x273d81(0x17e))[a2_0x273d81(0x19d)](runAuthStatusCommand),authCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x1b1))['description'](a2_0x273d81(0x27e))['addHelpText'](a2_0x273d81(0x2d9),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x273d81(0x19d)](async _0x1134c5=>{const _0x3585eb=a2_0x273d81,_0x3185a5=new AuthSetupCommand(),_0x513d52=program[_0x3585eb(0x198)](),_0x3d0282=await createTDXInstance(_0x513d52),_0xb204ff=await _0x3185a5[_0x3585eb(0x153)]({'options':{..._0x513d52,..._0x1134c5},'args':[],'tdx':_0x3d0282});process[_0x3585eb(0x2d1)](_0xb204ff);}),authCmd[a2_0x273d81(0x1fe)]('clear')['description']('Remove\x20API\x20key\x20from\x20system\x20keychain')[a2_0x273d81(0x244)]('after',a2_0x273d81(0x178))[a2_0x273d81(0x19d)](async _0x56bc4d=>{const _0x3e8a38=a2_0x273d81,_0x1a6b6f=new AuthClearCommand(),_0x314a7d=program['opts'](),_0x13c0aa=await _0x1a6b6f[_0x3e8a38(0x153)]({'options':{..._0x314a7d,..._0x56bc4d},'args':[],'tdx':null});process[_0x3e8a38(0x2d1)](_0x13c0aa);}),program[a2_0x273d81(0x1fe)]('profiles')[a2_0x273d81(0x28d)](a2_0x273d81(0x19a))['action'](async _0x3cc337=>{const _0x552ef2=a2_0x273d81,_0x498d1a=new ProfilesCommand(),_0x51cb45=program['opts'](),_0x45bb79=await _0x498d1a[_0x552ef2(0x153)]({'options':{..._0x51cb45,..._0x3cc337},'args':[],'tdx':null});process[_0x552ef2(0x2d1)](_0x45bb79);});const engageCmd=program[a2_0x273d81(0x1fe)](a2_0x273d81(0x1f8))[a2_0x273d81(0x28d)](a2_0x273d81(0x1b4)),createEngageAction=_0x327271=>{return async(_0x178f22,_0x4e21d6)=>{const _0x2634a4=a2_0x5c13,_0x345d82=new _0x327271(),_0x98a31e=program[_0x2634a4(0x198)](),_0x160728=await createTDXInstance(_0x98a31e),_0x26fafb=await _0x345d82['run']({'options':{..._0x98a31e,..._0x4e21d6},'args':[_0x178f22],'tdx':_0x160728});process['exit'](_0x26fafb);};},createEngageNoArgAction=_0x426652=>{return async _0x360b0d=>{const _0xbfa9f5=a2_0x5c13,_0x3f8ef8=new _0x426652(),_0x128adc=program[_0xbfa9f5(0x198)](),_0x51f73a=await createTDXInstance(_0x128adc),_0x46ab0e=await _0x3f8ef8[_0xbfa9f5(0x153)]({'options':{..._0x128adc,..._0x360b0d},'args':[],'tdx':_0x51f73a});process['exit'](_0x46ab0e);};},campaignCmd=engageCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x24a))[a2_0x273d81(0x28d)](a2_0x273d81(0x26f)),campaignListAction=async(_0x3a5746,_0x45c415)=>{const _0x79a58c=a2_0x273d81,_0x2b36c9=new EngageCampaignsCommand(),_0x7f829a=program[_0x79a58c(0x198)](),_0x5abd84=await createTDXInstance(_0x7f829a),_0x1f58e4=await _0x2b36c9[_0x79a58c(0x153)]({'options':{..._0x7f829a,..._0x45c415},'args':_0x3a5746?[_0x3a5746]:[],'tdx':_0x5abd84});process[_0x79a58c(0x2d1)](_0x1f58e4);};campaignCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x2b9))[a2_0x273d81(0x28d)](a2_0x273d81(0x279))[a2_0x273d81(0x224)](a2_0x273d81(0x1d1),a2_0x273d81(0x2df))['option'](a2_0x273d81(0x23f),a2_0x273d81(0x2e8))[a2_0x273d81(0x224)](a2_0x273d81(0x209),'Workspace\x20name')['action'](campaignListAction),engageCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x255))['description'](a2_0x273d81(0x276))[a2_0x273d81(0x224)](a2_0x273d81(0x1d1),a2_0x273d81(0x2df))['option'](a2_0x273d81(0x23f),a2_0x273d81(0x2e8))[a2_0x273d81(0x224)]('--workspace\x20<name>','Workspace\x20name')[a2_0x273d81(0x19d)](campaignListAction),campaignCmd['command'](a2_0x273d81(0x29a))[a2_0x273d81(0x28d)](a2_0x273d81(0x210))[a2_0x273d81(0x224)]('--workspace\x20<name>','Workspace\x20name')['option'](a2_0x273d81(0x190),a2_0x273d81(0x2ce))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x27a))[a2_0x273d81(0x28d)](a2_0x273d81(0x2d7))[a2_0x273d81(0x284)](a2_0x273d81(0x1ab),a2_0x273d81(0x1a0))[a2_0x273d81(0x284)](a2_0x273d81(0x1d1),a2_0x273d81(0x242))['option'](a2_0x273d81(0x209),a2_0x273d81(0x27d))[a2_0x273d81(0x224)](a2_0x273d81(0x2b0),'Campaign\x20description')[a2_0x273d81(0x224)](a2_0x273d81(0x232),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option'](a2_0x273d81(0x2f3),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x273d81(0x224)](a2_0x273d81(0x2f9),a2_0x273d81(0x21d))[a2_0x273d81(0x224)](a2_0x273d81(0x296),a2_0x273d81(0x2a6))[a2_0x273d81(0x224)](a2_0x273d81(0x236),a2_0x273d81(0x29c))[a2_0x273d81(0x19d)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd['command']('update\x20<name-or-id>')['description']('Update\x20a\x20campaign')[a2_0x273d81(0x224)](a2_0x273d81(0x209),a2_0x273d81(0x172))[a2_0x273d81(0x224)](a2_0x273d81(0x1ab),'New\x20campaign\x20name')[a2_0x273d81(0x224)](a2_0x273d81(0x2b0),a2_0x273d81(0x166))[a2_0x273d81(0x224)](a2_0x273d81(0x232),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x273d81(0x224)]('--email-sender-id\x20<id>',a2_0x273d81(0x186))['option'](a2_0x273d81(0x2f9),a2_0x273d81(0x21d))[a2_0x273d81(0x224)](a2_0x273d81(0x296),a2_0x273d81(0x2a6))[a2_0x273d81(0x224)](a2_0x273d81(0x236),a2_0x273d81(0x29c))[a2_0x273d81(0x19d)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command'](a2_0x273d81(0x287))[a2_0x273d81(0x28d)](a2_0x273d81(0x1ee))[a2_0x273d81(0x224)]('--workspace\x20<name>',a2_0x273d81(0x172))[a2_0x273d81(0x224)](a2_0x273d81(0x175),a2_0x273d81(0x181))[a2_0x273d81(0x19d)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x14e))['description'](a2_0x273d81(0x2c4))[a2_0x273d81(0x224)]('--workspace\x20<name>',a2_0x273d81(0x172))[a2_0x273d81(0x19d)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x273d81(0x1fe)]('pause\x20<name-or-id>')['description']('Pause\x20a\x20campaign')['option']('--workspace\x20<name>',a2_0x273d81(0x172))[a2_0x273d81(0x19d)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x1d9))[a2_0x273d81(0x28d)](a2_0x273d81(0x2b1))['option'](a2_0x273d81(0x209),a2_0x273d81(0x172))[a2_0x273d81(0x19d)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x268))['description'](a2_0x273d81(0x2af))['option'](a2_0x273d81(0x209),a2_0x273d81(0x172))['action'](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x273d81(0x281))[a2_0x273d81(0x28d)](a2_0x273d81(0x1dd)),templateListAction=async(_0x3085cf,_0x17f689)=>{const _0x5224f3=a2_0x273d81,_0x128b29=new EngageTemplatesCommand(),_0x2f1b58=program[_0x5224f3(0x198)](),_0x5f4aad=await createTDXInstance(_0x2f1b58),_0x5e6d3d=await _0x128b29[_0x5224f3(0x153)]({'options':{..._0x2f1b58,..._0x17f689},'args':_0x3085cf?[_0x3085cf]:[],'tdx':_0x5f4aad});process[_0x5224f3(0x2d1)](_0x5e6d3d);};templateCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x2b9))[a2_0x273d81(0x28d)](a2_0x273d81(0x1b5))[a2_0x273d81(0x224)](a2_0x273d81(0x209),a2_0x273d81(0x172))[a2_0x273d81(0x19d)](templateListAction),engageCmd['command'](a2_0x273d81(0x1bd))[a2_0x273d81(0x28d)](a2_0x273d81(0x14c))[a2_0x273d81(0x224)](a2_0x273d81(0x209),a2_0x273d81(0x172))[a2_0x273d81(0x19d)](templateListAction),templateCmd['command'](a2_0x273d81(0x29a))[a2_0x273d81(0x28d)](a2_0x273d81(0x1e5))[a2_0x273d81(0x224)](a2_0x273d81(0x209),'Workspace\x20name')[a2_0x273d81(0x224)](a2_0x273d81(0x190),a2_0x273d81(0x2ce))[a2_0x273d81(0x19d)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x273d81(0x1fe)]('create')[a2_0x273d81(0x28d)](a2_0x273d81(0x2eb))[a2_0x273d81(0x284)](a2_0x273d81(0x1ab),'Template\x20name')[a2_0x273d81(0x284)](a2_0x273d81(0x1d6),a2_0x273d81(0x179))['requiredOption']('--html\x20<html>','HTML\x20template\x20content')['option'](a2_0x273d81(0x209),a2_0x273d81(0x27d))[a2_0x273d81(0x224)](a2_0x273d81(0x2aa),a2_0x273d81(0x2b2))[a2_0x273d81(0x224)](a2_0x273d81(0x225),'Editor\x20type')[a2_0x273d81(0x19d)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd['command']('update\x20<name-or-id>')['description']('Update\x20an\x20email\x20template')[a2_0x273d81(0x224)](a2_0x273d81(0x209),a2_0x273d81(0x172))['option'](a2_0x273d81(0x1ab),a2_0x273d81(0x2c8))[a2_0x273d81(0x224)](a2_0x273d81(0x1d6),a2_0x273d81(0x179))['option'](a2_0x273d81(0x22c),a2_0x273d81(0x290))[a2_0x273d81(0x224)](a2_0x273d81(0x2aa),'Plaintext\x20template\x20content')['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x287))[a2_0x273d81(0x28d)]('Delete\x20an\x20email\x20template')[a2_0x273d81(0x224)](a2_0x273d81(0x209),a2_0x273d81(0x172))[a2_0x273d81(0x224)]('--yes',a2_0x273d81(0x181))[a2_0x273d81(0x19d)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x1d0))[a2_0x273d81(0x28d)](a2_0x273d81(0x27b)),workspaceListAction=async(_0x16cdf3,_0x452cde)=>{const _0x510d0a=a2_0x273d81,_0xb5f6f8=new EngageWorkspacesCommand(),_0x4c7814=program[_0x510d0a(0x198)](),_0x352599=await createTDXInstance(_0x4c7814),_0x52397a=await _0xb5f6f8['run']({'options':{..._0x4c7814,..._0x452cde},'args':_0x16cdf3?[_0x16cdf3]:[],'tdx':_0x352599});process['exit'](_0x52397a);};workspaceCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x2b9))[a2_0x273d81(0x28d)](a2_0x273d81(0x2ca))[a2_0x273d81(0x19d)](workspaceListAction),engageCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x2db))[a2_0x273d81(0x28d)](a2_0x273d81(0x248))['action'](workspaceListAction),workspaceCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x29a))[a2_0x273d81(0x28d)]('Show\x20workspace\x20details')['option']('--full',a2_0x273d81(0x2ce))[a2_0x273d81(0x19d)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x273d81(0x1fe)](a2_0x273d81(0x27a))[a2_0x273d81(0x28d)](a2_0x273d81(0x2d2))[a2_0x273d81(0x284)](a2_0x273d81(0x1ab),a2_0x273d81(0x172))['option']('--description\x20<desc>',a2_0x273d81(0x2e1))[a2_0x273d81(0x19d)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x273d81(0x1fe)]('update\x20<name-or-id>')[a2_0x273d81(0x28d)](a2_0x273d81(0x1b6))[a2_0x273d81(0x224)](a2_0x273d81(0x1ab),a2_0x273d81(0x1eb))[a2_0x273d81(0x224)](a2_0x273d81(0x2b0),'Workspace\x20description')[a2_0x273d81(0x19d)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x273d81(0x1fe)]('delete\x20<name-or-id>')['description']('Delete\x20a\x20workspace')['option'](a2_0x273d81(0x175),a2_0x273d81(0x181))[a2_0x273d81(0x19d)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x273d81(0x1fe)]('use\x20<name>')['description'](a2_0x273d81(0x243))[a2_0x273d81(0x19d)](createEngageAction(EngageWorkspaceUseCommand));export{program};export function runCLI(){const _0x2bf5a6=a2_0x273d81;program['parse'](process[_0x2bf5a6(0x1ba)]);!process[_0x2bf5a6(0x1ba)][_0x2bf5a6(0x197)](0x2)[_0x2bf5a6(0x1e0)]&&program[_0x2bf5a6(0x21c)]();const _0x21f31e=packageJson['version'];process[_0x2bf5a6(0x155)][_0x2bf5a6(0x25b)]&&process[_0x2bf5a6(0x1ba)][_0x2bf5a6(0x1e0)]>0x2&&!_0x21f31e[_0x2bf5a6(0x16d)]('.dev')&&checkForUpdate(_0x21f31e)[_0x2bf5a6(0x273)](_0x593abb=>{_0x593abb&&displayUpdateNotification(_0x593abb);})[_0x2bf5a6(0x24e)](()=>{});}
|
|
1
|
+
const a2_0x4bfcb6=a2_0x5c13;(function(_0x3cf6da,_0x44e091){const _0x3e5116=a2_0x5c13,_0x55ffd2=_0x3cf6da();while(!![]){try{const _0x1237b5=parseInt(_0x3e5116(0x37f))/0x1*(parseInt(_0x3e5116(0x2ec))/0x2)+parseInt(_0x3e5116(0x213))/0x3+-parseInt(_0x3e5116(0x2aa))/0x4*(parseInt(_0x3e5116(0x21f))/0x5)+-parseInt(_0x3e5116(0x262))/0x6+parseInt(_0x3e5116(0x2a8))/0x7*(-parseInt(_0x3e5116(0x1d1))/0x8)+parseInt(_0x3e5116(0x32b))/0x9+parseInt(_0x3e5116(0x2bc))/0xa*(-parseInt(_0x3e5116(0x1ea))/0xb);if(_0x1237b5===_0x44e091)break;else _0x55ffd2['push'](_0x55ffd2['shift']());}catch(_0x4df934){_0x55ffd2['push'](_0x55ffd2['shift']());}}}(a2_0x5947,0x90ff9));import{Command}from'commander';import{readFileSync}from'fs';import{fileURLToPath}from'url';import{dirname,join}from'path';import{TDX}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.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';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,SegmentInfoCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentInfoCommand,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{SegmentUseCommand}from'./commands/segment-use-command.js';import{SegmentPwdCommand}from'./commands/segment-pwd-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowPushCommand,WorkflowDeleteCommand}from'./commands/workflow-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{ContextCommand}from'./commands/context-command.js';import{UseCommand}from'./commands/use-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename),packageJson=JSON[a2_0x4bfcb6(0x326)](readFileSync(join(__dirname,a2_0x4bfcb6(0x292)),a2_0x4bfcb6(0x1d5)));let buildInfo={};try{buildInfo=JSON[a2_0x4bfcb6(0x326)](readFileSync(join(__dirname,'build-info.json'),a2_0x4bfcb6(0x1d5)));}catch{}if(process['argv']['includes']('--version')){let versionOutput=a2_0x4bfcb6(0x1e6)+packageJson[a2_0x4bfcb6(0x37d)];buildInfo[a2_0x4bfcb6(0x370)]&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x4bfcb6(0x1fe)]&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x4bfcb6(0x1fe)]),console[a2_0x4bfcb6(0x1cf)](versionOutput),process[a2_0x4bfcb6(0x28a)](0x0);}const program=new Command();let description=a2_0x4bfcb6(0x2a6);function a2_0x5947(){const _0x3b127b=['kill','Delete\x20a\x20campaign','session','Create\x20a\x20new\x20campaign','[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration\x20(use\x20global\x20--debug/--trace\x20for\x20logging)','desc','catch','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','database','--master','CDP\x20segment\x20management\x20commands','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--behavior\x20[name]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','argv','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','List\x20agents\x20in\x20current\x20project\x20(optionally\x20filtered\x20by\x20pattern)','profile','JSON\x20columns\x20for\x20connector\x20(comma-separated)','-1d','--session-time\x20<time>','allowUnknownOption','--workspace\x20<name>','Customer\x20group\x20from\x20JSON\x20file','--no-proxy','forEach','--project\x20<name>','Updated\x20schedule\x20option','Output\x20file\x20path','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','TRACE','aliases','Describe\x20table\x20schema','push\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Filtering\x20rule\x20as\x20JSON\x20string','--starter-message\x20<text>','jsonl','Behaviors\x20from\x20JSON\x20file','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Add\x20behaviors\x20as\x20JSON\x20string','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','run\x20<workflow>','--params\x20<json>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Launch\x20a\x20campaign','profiles','pause\x20<name-or-id>','delete\x20<agent-name>','-d,\x20--database\x20<database>','_hidden','sessions\x20[project]','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Job\x20management\x20commands','Workspace\x20description','Workspace\x20name\x20(required)','--subject\x20<subject>','subcommandTerm','-p,\x20--profile\x20<name>','--description\x20<desc>','4797846NQisdU','Agent\x20prompt/instructions','isTTY','show\x20<name-or-id>','templates\x20[pattern]','use\x20[name]','Master\x20table\x20name','logLevel','includes','--rule-file\x20<file>','Duplicate\x20a\x20campaign','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','Add\x20attributes\x20from\x20JSON\x20file','Backup\x20an\x20LLM\x20project\x20to\x20a\x20folder','Options:','show\x20<folder_ref>','parents\x20[pattern]','LLM\x20project\x20to\x20use\x20(overrides\x20context)','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Editor\x20type','Revision\x20name\x20(default:\x20timestamp)','duplicate\x20<name-or-id>','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Include\x20retried\x20attempts','Maximum\x20recursion\x20depth\x20(default:\x2010)','-f,\x20--file\x20<path>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','command','Campaign\x20name','Add\x20attributes\x20as\x20JSON\x20string','list\x20[pattern]','--attribute\x20[name]','--invisible','Parent\x20segment\x20(audience)\x20management','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','filter','Table\x20management\x20commands','Agent\x20description','flatMap','exit','--debug','--max-tool-iterations\x20<n>','map','Workflow\x20project\x20management','requiredOption','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','push','../package.json','update\x20<segment_name>','resume\x20<name-or-id>','Database\x20management\x20commands','list','run','argumentDescription','Save\x20output\x20to\x20file','push\x20[file]','Update\x20child\x20segment\x20(use\x20parent_name/child_name)','Campaign\x20description','Project\x20description','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--session\x20<id>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','noColor','[attempt-id]','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','folders\x20<parent_name>','AI-native\x20CLI\x20for\x20Treasure\x20Data','optionDescription','7upHgPD','parent_segment','472352xoNLnm','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','-r,\x20--recursive','Output\x20as\x20JSON\x20Lines','createAsync','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','[task-name]','claude-4.5-sonnet','Create\x20segment\x20folder','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','create\x20<name>','Delete\x20a\x20workspace','--in\x20<name>','4000','--attributes\x20<json>','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Update\x20a\x20workspace','8270MxHebQ','Setup\x20API\x20key\x20authentication\x20interactively','New\x20segment\x20name','use\x20<path>','--reason\x20<text>','Agent\x20reference\x20(project-name/agent-name)','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Skip\x20confirmation\x20prompt','INFO','action','pwd','--dry-run','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','create\x20<parent_name>\x20<folder_name>','--name\x20<new-name>','--from-task\x20<task>','workflows\x20[project]','required','--start-at\x20<datetime>','--to\x20<timestamp>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','--no-count-population','Attempt\x20ID','attempt:','--add-attributes\x20<json>',',\x20version\x20','retry\x20<session-id>','commandUsage','project','workspace','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','usage','Override\x20project\x20name','activations\x20<segment_name>','\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','Add\x20behaviors\x20from\x20JSON\x20file','--json','--agent\x20<ref>','--status\x20<status>','trino','Authentication\x20management','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','create','--folder\x20<name>','preview\x20[name]','1469758eynTis','Updated\x20description','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','-o,\x20--output\x20<folder>','Model\x20to\x20use\x20(haiku,\x20sonnet,\x20opus)','Create\x20an\x20email\x20template','Workspace\x20name','Segment\x20folder\x20management','--json-columns\x20<cols>','--parent-segment\x20<name>','--tsv','query\x20[sql]','Request\x20body\x20as\x20JSON\x20string','--limit\x20<number>','--revision\x20<revision>','Move\x20to\x20folder','-o,\x20--output\x20<file>','colorFn','preview\x20[file]','stderr','submit\x20[query]','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','--full','argument','Folder\x20description','Read\x20SQL\x20query\x20from\x20file','Show\x20only\x20master\x20table\x20validation','optionTerm','use\x20<name>','--name\x20<name>','Restore\x20an\x20LLM\x20project\x20from\x20a\x20backup\x20folder','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','\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','show\x20<job-id>','Parent\x20folder\x20name\x20for\x20nested\x20folders','Plaintext\x20template\x20content','Model\x20type\x20(default:\x20claude-4.5-sonnet)','preAction','New\x20campaign\x20name','run\x20[name]','injectIntoOptions','Set\x20operation\x20timeout\x20in\x20seconds','summary','fields\x20[name]','--yes','template','push\x20[project-name-or-dir]','trace','format','List\x20all\x20available\x20profiles','parent','job','-u,\x20--use','Show\x20the\x20most\x20recent\x20chat','Output\x20as\x20JSON','get','status','parse','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','--in\x20<database>','argumentTerm','registeredArguments','7867134zeTzin','Attributes\x20from\x20JSON\x20file','Skip\x20population\x20counting','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','desc\x20[segment_name]','agents\x20[pattern]','show\x20<agent-name>','Show\x20agent\x20details','projects\x20[pattern]','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','--database\x20<db>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--clear','Workflow\x20(Digdag)\x20management\x20commands','update\x20<agent-name>','Commands:','Include\x20retried\x20attempts\x20(for\x20list)','Set\x20or\x20show\x20parent\x20segment\x20context','--jsonl','--enriched','Resume\x20from\x20specific\x20task\x20(retry)','list\x20[project]','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Resume\x20from\x20specific\x20task','sql\x20[name]','name','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','commands','info\x20[name]','--system-prompt\x20<text>','restore\x20<folder>','--include-retried','--schedule-type\x20<type>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','--name\x20<new_name>','--add-behaviors\x20<json>','Reason\x20for\x20killing\x20the\x20attempt','delete\x20<project-name-or-id>','--plaintext\x20<text>','replace','Show\x20segment\x20schema\x20(column\x20types)','description','proxy','Show\x20current\x20resolved\x20context\x20(use\x20--debug\x20to\x20show\x20sources)','DEBUG','Campaign\x20type\x20(email\x20or\x20push)','Task\x20name\x20for\x20logs\x20action','Parent\x20segment\x20description','--resume-from\x20<task>','Create\x20child\x20segment\x20(use\x20parent_name/child_name)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--add-attributes-file\x20<file>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','delete\x20<name>','Show\x20current\x20segment/folder\x20context','logs','--kind\x20<type>','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','option','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','json','--customer-group\x20<json>','use\x20[resource]\x20[value]','show\x20[name]','Unknown\x20action:\x20','--limit\x20<n>','--model\x20<name>','gitRevision','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','--last','Delete\x20an\x20email\x20template','HTML\x20template\x20content','slice','describe\x20[table]','help','List\x20jobs','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--description\x20<text>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','version','Workflow\x20parameter\x20(repeatable)','1vQUIiH','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--llm-project\x20<name>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','then','Pause\x20a\x20campaign','opts','Template\x20name','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','-H,\x20--header\x20<header>','Master\x20database\x20name','port','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Output\x20file\x20path\x20(default:\x20<name>.yml)','Output\x20folder\x20(default:\x20{project_name}.llm)','Update\x20an\x20email\x20template','--attributes-file\x20<file>','attempt','Push\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style:\x20cd\x20into\x20project,\x20then\x20push\x20<name>)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--max-depth\x20<depth>','\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','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','--force','fields\x20[parent_name]','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','tsv','models','--schedule-option\x20<value>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','--temperature\x20<n>','campaign','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','use\x20<project-name>','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--type\x20<type>','options','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','desc\x20[name]','Show\x20job\x20details','allowExcessArguments','pull\x20[name]','Kill\x20a\x20job','--timezone\x20<tz>','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','folder','--include-subtasks','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','--no-color','alias','context','addHelpText','--skip-validation','describe','log','agent','844824bXEHqM','tdx','us01','--color','utf-8','attempts\x20[project]','--interval\x20<range>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','join','history\x20[chat-id]','List\x20segment\x20folders\x20under\x20a\x20parent\x20segment','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Maximum\x20tool\x20iterations\x20(default:\x204)','Skip\x20confirmation\x20prompts','Preview\x20operation\x20without\x20executing','Folder\x20name\x20for\x20organization','--rule\x20<json>','tdx\x20','campaigns\x20[pattern]','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','sql\x20[segment_name]','4411Rcufqa','engage','Delete\x20an\x20agent','Make\x20segment\x20invisible\x20(default:\x20visible)','--name\x20<text>','--type\x20<api_type>','Force\x20retry\x20even\x20if\x20not\x20failed','segments\x20[path]','--param\x20<key=value>','--trace','--catalog\x20<catalog>','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Update\x20an\x20existing\x20agent','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','stdout','claude\x20[args...]','delete\x20<name-or-id>','--data\x20<data>','Timezone\x20(e.g.,\x20America/Los_Angeles)','buildTime','Email\x20sender\x20ID\x20for\x20delivery','segment','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','-y,\x20--yes','Attributes\x20as\x20JSON\x20string','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','length','workspaces\x20[pattern]','Starter\x20message','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Email\x20subject\x20template','Database\x20to\x20use\x20(overrides\x20context)','--segment\x20<path>','retry','parent-segment','Skip\x20validation\x20of\x20.dig\x20files','show\x20[table]','Remove\x20API\x20key\x20from\x20system\x20keychain','Create\x20a\x20workspace','3499449beFJbp','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','\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\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20--\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20previous\x20Claude\x20Code\x20session\x0a\x20\x20tdx\x20claude\x20usage\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\x20Output\x20usage\x20as\x20JSON','Updated\x20timezone','Workflow\x20attempt\x20management','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Show\x20master\x20table\x20sample\x20data','Include\x20subtasks\x20in\x20tasks\x20output','Arguments:','--output\x20<file>','update\x20<name-or-id>','after','40QBgKjI','Customer\x20group\x20as\x20JSON\x20string','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Trino\x20catalog\x20(default:\x20td)'];a2_0x5947=function(){return _0x3b127b;};return a2_0x5947();}buildInfo[a2_0x4bfcb6(0x370)]?description+=a2_0x4bfcb6(0x2d8)+packageJson[a2_0x4bfcb6(0x37d)]+'\x20('+buildInfo[a2_0x4bfcb6(0x370)]+')':description+=a2_0x4bfcb6(0x2d8)+packageJson[a2_0x4bfcb6(0x37d)];program[a2_0x4bfcb6(0x345)](a2_0x4bfcb6(0x1d2))[a2_0x4bfcb6(0x355)](description),program['option'](a2_0x4bfcb6(0x260),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x4bfcb6(0x366)]('--site\x20<site>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x4bfcb6(0x1d3))[a2_0x4bfcb6(0x366)]('--format\x20<format>',a2_0x4bfcb6(0x2c3))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2e3),a2_0x4bfcb6(0x336))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x33d),a2_0x4bfcb6(0x24f))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2f6),a2_0x4bfcb6(0x242))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x21c),a2_0x4bfcb6(0x299))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2f9),a2_0x4bfcb6(0x1dd))['option'](a2_0x4bfcb6(0x1d4),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1c9),a2_0x4bfcb6(0x302),![])['option']('-v,\x20--verbose','Enable\x20verbose\x20logging',![])['option'](a2_0x4bfcb6(0x28b),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')['option'](a2_0x4bfcb6(0x1f3),a2_0x4bfcb6(0x30c))[a2_0x4bfcb6(0x366)]('--timeout\x20<seconds>',a2_0x4bfcb6(0x316),'30')['option']('--dry-run',a2_0x4bfcb6(0x1e3),![])[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x202),a2_0x4bfcb6(0x1e2),![])[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x29f),a2_0x4bfcb6(0x371))[a2_0x4bfcb6(0x366)]('-d,\x20--database\x20<name>',a2_0x4bfcb6(0x20b))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2b7),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option'](a2_0x4bfcb6(0x2f5),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x4bfcb6(0x381),a2_0x4bfcb6(0x274)),program['configureHelp']({'formatHelp':(_0x3eca5a,_0x54ee2a)=>{const _0x5425ee=a2_0x4bfcb6,_0x4a0595=_0x54ee2a['padWidth'](_0x3eca5a,_0x54ee2a),_0x5d1155=0x2,_0x48082c=0x2;function _0x58e3b3(_0x1e190d){const _0x526cef=a2_0x5c13,_0x146d8c=_0x1e190d;return!!(_0x146d8c[_0x526cef(0x258)]||_0x146d8c['hidden']);}function _0x32e78f(_0x2c5610,_0x1f8e61){if(_0x1f8e61){const _0x28edf6=''+_0x2c5610['padEnd'](_0x4a0595+_0x48082c)+_0x1f8e61;return _0x28edf6;}return _0x2c5610;}function _0x5a6e29(_0x3680da){const _0x4c3f22=a2_0x5c13;return _0x3680da[_0x4c3f22(0x1d9)]('\x0a')[_0x4c3f22(0x353)](/^/gm,'\x20'['repeat'](_0x5d1155));}const _0x1bbebb=[];_0x1bbebb[_0x5425ee(0x291)]('Usage:\x20'+_0x54ee2a[_0x5425ee(0x2da)](_0x3eca5a));const _0x263ce0=_0x54ee2a['commandDescription'](_0x3eca5a);_0x263ce0&&(_0x1bbebb[_0x5425ee(0x291)](''),_0x1bbebb[_0x5425ee(0x291)](_0x263ce0));const _0x44b4ff=_0x3eca5a[_0x5425ee(0x347)][_0x5425ee(0x286)](_0x531449=>!_0x58e3b3(_0x531449));if(_0x44b4ff[_0x5425ee(0x205)]>0x0){if(_0x3eca5a[_0x5425ee(0x345)]()==='tdx'){const _0x10ab16=_0x3eca5a['opts'](),_0x4075dd=!_0x10ab16[_0x5425ee(0x2a2)]&&process[_0x5425ee(0x1f9)]['isTTY'],_0x270454=COMMAND_CATEGORIES,_0x5e7e76=(_0x26972e,_0x2331f2)=>_0x4075dd?_0x2331f2(_0x26972e):_0x26972e,_0x37a523=new Map();_0x44b4ff['forEach'](_0x532001=>{_0x37a523['set'](_0x532001['name'](),_0x532001);}),_0x270454[_0x5425ee(0x23e)](_0x3f6235=>{const _0x1794f2=_0x5425ee,_0x1c194f=_0x3f6235[_0x1794f2(0x347)][_0x1794f2(0x289)](_0x565a34=>_0x37a523[_0x1794f2(0x324)](_0x565a34)??[]);if(_0x1c194f[_0x1794f2(0x205)]>0x0){_0x1bbebb[_0x1794f2(0x291)](''),_0x1bbebb['push'](_0x5e7e76(_0x3f6235[_0x1794f2(0x345)]+':',_0x3f6235[_0x1794f2(0x2fd)]));const _0x114a10=_0x1c194f[_0x1794f2(0x28d)](_0x254a7b=>{const _0x332080=_0x1794f2,_0x3e3757=_0x54ee2a[_0x332080(0x25f)](_0x254a7b),_0x5ce60e=_0x54ee2a['subcommandDescription'](_0x254a7b);return _0x32e78f(_0x3e3757,_0x5ce60e);});_0x1bbebb[_0x1794f2(0x291)](_0x5a6e29(_0x114a10));}}),_0x1bbebb['push'](''),_0x1bbebb[_0x5425ee(0x291)]('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x366125=_0x44b4ff[_0x5425ee(0x28d)](_0x54a990=>{const _0x3b243f=_0x5425ee,_0x46101a=_0x54ee2a[_0x3b243f(0x25f)](_0x54a990),_0x4f4923=_0x54ee2a['subcommandDescription'](_0x54a990);return _0x32e78f(_0x46101a,_0x4f4923);});_0x1bbebb[_0x5425ee(0x291)](''),_0x1bbebb['push'](_0x5425ee(0x33a)),_0x1bbebb['push'](_0x5a6e29(_0x366125));}}const _0x4eb762=_0x3eca5a[_0x5425ee(0x3a4)]['filter'](_0x6ac235=>!_0x58e3b3(_0x6ac235));if(_0x4eb762['length']>0x0){const _0x878958=_0x4eb762['map'](_0x5cd222=>{const _0x1f8af4=_0x5425ee,_0x57af37=_0x54ee2a[_0x1f8af4(0x308)](_0x5cd222),_0x3d7dff=_0x54ee2a[_0x1f8af4(0x2a7)](_0x5cd222);return _0x32e78f(_0x57af37,_0x3d7dff);});_0x1bbebb[_0x5425ee(0x291)](''),_0x1bbebb['push'](_0x5425ee(0x271)),_0x1bbebb[_0x5425ee(0x291)](_0x5a6e29(_0x878958));}const _0xe2e5fc=(_0x3eca5a[_0x5425ee(0x32a)]||[])['filter'](_0x38dfff=>!_0x58e3b3(_0x38dfff));if(_0xe2e5fc['length']>0x0){const _0x3b866c=_0xe2e5fc[_0x5425ee(0x28d)](_0x537762=>{const _0x802ead=_0x5425ee,_0x23a181=_0x54ee2a[_0x802ead(0x329)](_0x537762),_0x19a800=_0x54ee2a[_0x802ead(0x298)](_0x537762);return _0x32e78f(_0x23a181,_0x19a800);});_0x1bbebb[_0x5425ee(0x291)](''),_0x1bbebb[_0x5425ee(0x291)](_0x5425ee(0x21b)),_0x1bbebb[_0x5425ee(0x291)](_0x5a6e29(_0x3b866c));}return _0x1bbebb[_0x5425ee(0x1d9)]('\x0a');},'subcommandTerm':_0x5cdfa5=>{const _0x786267=a2_0x4bfcb6,_0x4cda8b=(_0x5cdfa5['registeredArguments']||[])[_0x786267(0x28d)](_0x59d947=>_0x59d947[_0x786267(0x2ce)]?'<'+_0x59d947[_0x786267(0x345)]()+'>':'['+_0x59d947[_0x786267(0x345)]()+']')[_0x786267(0x1d9)]('\x20'),_0x256a64=_0x5cdfa5[_0x786267(0x245)](),_0x41d8a4=_0x256a64[_0x786267(0x205)]>0x0?_0x5cdfa5[_0x786267(0x345)]()+',\x20'+_0x256a64[_0x786267(0x1d9)](',\x20'):_0x5cdfa5['name']();return _0x4cda8b?_0x41d8a4+'\x20'+_0x4cda8b:_0x41d8a4;}}),program['hook'](a2_0x4bfcb6(0x312),_0x37cdcb=>{const _0x1a8e70=a2_0x4bfcb6,_0x234319=_0x37cdcb[_0x1a8e70(0x385)]();if(!_0x234319[_0x1a8e70(0x31d)]){if(_0x234319[_0x1a8e70(0x369)])_0x234319[_0x1a8e70(0x31d)]='json';else{if(_0x234319[_0x1a8e70(0x24b)])_0x234319[_0x1a8e70(0x31d)]=_0x1a8e70(0x24b);else _0x234319[_0x1a8e70(0x39a)]&&(_0x234319[_0x1a8e70(0x31d)]=_0x1a8e70(0x39a));}}_0x234319['in']&&!_0x234319['database']&&(_0x234319[_0x1a8e70(0x22c)]=_0x234319['in']);if(_0x234319[_0x1a8e70(0x31c)])_0x234319[_0x1a8e70(0x269)]=LogLevel[_0x1a8e70(0x244)];else{if(_0x234319['debug'])_0x234319[_0x1a8e70(0x269)]=LogLevel[_0x1a8e70(0x358)];else _0x234319['logLevel']===undefined&&(_0x234319['logLevel']=LogLevel[_0x1a8e70(0x2c5)]);}});async function createTDXInstance(_0x3aa85f){const _0x53c2dd=a2_0x4bfcb6,_0x4a3e65=await GlobalContext[_0x53c2dd(0x2ae)](_0x3aa85f);return _0x4a3e65[_0x53c2dd(0x315)](_0x3aa85f),TDX[_0x53c2dd(0x2e9)]({'site':_0x4a3e65['site'],'apiKey':_0x4a3e65['apiKey'],'logLevel':_0x4a3e65[_0x53c2dd(0x269)],'profile':_0x4a3e65[_0x53c2dd(0x236)]});}const databaseCmd=program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x22c))['alias']('db')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x295)),databaseListAction=async(_0x1a972f,_0x2150f8)=>{const _0x1d55f4=a2_0x4bfcb6,_0x11825e=new DatabasesCommand(),_0x3f60c8=program[_0x1d55f4(0x385)](),_0x30946b=await createTDXInstance(_0x3f60c8),_0x5824c5=await _0x11825e[_0x1d55f4(0x297)]({'options':{..._0x3f60c8,..._0x2150f8},'args':_0x1a972f?[_0x1a972f]:[],'tdx':_0x30946b});process['exit'](_0x5824c5);};databaseCmd['command'](a2_0x4bfcb6(0x281))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x334))['action'](databaseListAction),program['command']('databases\x20[pattern]',{'hidden':!![]})[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x395))[a2_0x4bfcb6(0x2c6)](databaseListAction),program['command']('chat\x20[message...]')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x38b))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2e4),a2_0x4bfcb6(0x2c1))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x36f),'Model\x20name\x20(default:\x20claude-4.5-sonnet)')[a2_0x4bfcb6(0x366)]('--temperature\x20<n>',a2_0x4bfcb6(0x24d))[a2_0x4bfcb6(0x366)]('--new','Start\x20a\x20new\x20chat\x20session')[a2_0x4bfcb6(0x2c6)](async(_0x4a0262,_0x3e1463)=>{const _0x23f97d=a2_0x4bfcb6,_0x277d52=new ChatCommand(),_0x49ae01=program[_0x23f97d(0x385)](),_0x49bd2d=await createTDXInstance(_0x49ae01),_0x4c0440=await _0x277d52[_0x23f97d(0x297)]({'options':{..._0x49ae01,..._0x3e1463},'args':_0x4a0262,'tdx':_0x49bd2d});process[_0x23f97d(0x28a)](_0x4c0440);});const apiCmd=program['command']('api\x20[endpoint]')[a2_0x4bfcb6(0x317)](a2_0x4bfcb6(0x3a2))[a2_0x4bfcb6(0x1cc)](a2_0x4bfcb6(0x21e),a2_0x4bfcb6(0x2e1))[a2_0x4bfcb6(0x366)]('-X,\x20--method\x20<method>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','GET')['option'](a2_0x4bfcb6(0x1fc),a2_0x4bfcb6(0x2f8))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x27c),'Read\x20request\x20body\x20from\x20file')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x388),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x3b5eff,_0x57a2cd)=>{return _0x57a2cd?[..._0x57a2cd,_0x3b5eff]:[_0x3b5eff];})[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1ef),a2_0x4bfcb6(0x2e8),'td')[a2_0x4bfcb6(0x2c6)](async(_0x29a8d1,_0x78ca31)=>{const _0x2eaafe=a2_0x4bfcb6;if(!_0x29a8d1){apiCmd[_0x2eaafe(0x377)]();return;}const _0x453b48=new ApiCommand(),_0x13081c=program['opts'](),_0x3738d6=await createTDXInstance(_0x13081c),_0x1c6fb2=await _0x453b48[_0x2eaafe(0x297)]({'options':{..._0x13081c,..._0x78ca31},'args':[_0x29a8d1],'tdx':_0x3738d6});process[_0x2eaafe(0x28a)](_0x1c6fb2);}),tableCmd=program[a2_0x4bfcb6(0x27e)]('table')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x287)),tableListAction=async(_0x57d34d,_0x155ab8)=>{const _0x30b1fa=a2_0x4bfcb6,_0x59591f=new TablesCommand(),_0x3f5e4f=program['opts'](),_0x3fe4c9=await createTDXInstance(_0x3f5e4f);_0x155ab8['in']&&(_0x155ab8['database']=_0x155ab8['in']);const _0x398cf6=await _0x59591f[_0x30b1fa(0x297)]({'options':{..._0x3f5e4f,..._0x155ab8},'args':_0x57d34d?[_0x57d34d]:[],'tdx':_0x3fe4c9});process['exit'](_0x398cf6);};tableCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x281))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x341))[a2_0x4bfcb6(0x366)]('-d,\x20--database\x20<database>',a2_0x4bfcb6(0x360))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x328),a2_0x4bfcb6(0x399))[a2_0x4bfcb6(0x2c6)](tableListAction),program['command']('tables\x20[pattern]',{'hidden':!![]})[a2_0x4bfcb6(0x355)]('List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x257),a2_0x4bfcb6(0x360))['option']('--in\x20<database>',a2_0x4bfcb6(0x399))[a2_0x4bfcb6(0x2c6)](tableListAction),program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x210))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x1f7))['option']('-d,\x20--database\x20<database>',a2_0x4bfcb6(0x342))[a2_0x4bfcb6(0x366)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x4bfcb6(0x2c6)](async(_0x28f9dc,_0x25a6ce)=>{const _0x12112c=a2_0x4bfcb6,_0x286ca7=new ShowCommand(),_0x1315d1=program[_0x12112c(0x385)](),_0x1bd247=await createTDXInstance(_0x1315d1);_0x25a6ce['in']&&(_0x25a6ce[_0x12112c(0x22c)]=_0x25a6ce['in']);const _0x5a5c9=await _0x286ca7[_0x12112c(0x297)]({'options':{..._0x1315d1,..._0x25a6ce},'args':_0x28f9dc?[_0x28f9dc]:[],'tdx':_0x1bd247});process[_0x12112c(0x28a)](_0x5a5c9);}),program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x376))[a2_0x4bfcb6(0x1ca)](a2_0x4bfcb6(0x229))['description'](a2_0x4bfcb6(0x246))['option'](a2_0x4bfcb6(0x257),a2_0x4bfcb6(0x342))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x328),a2_0x4bfcb6(0x399))[a2_0x4bfcb6(0x2c6)](async(_0x244009,_0x18be78)=>{const _0x88cc50=a2_0x4bfcb6,_0x3f78ab=new DescribeCommand(),_0x2fe476=program[_0x88cc50(0x385)](),_0x2e0f53=await createTDXInstance(_0x2fe476);_0x18be78['in']&&(_0x18be78[_0x88cc50(0x22c)]=_0x18be78['in']);const _0x147a40=await _0x3f78ab[_0x88cc50(0x297)]({'options':{..._0x2fe476,..._0x18be78},'args':_0x244009?[_0x244009]:[],'tdx':_0x2e0f53});process[_0x88cc50(0x28a)](_0x147a40);}),program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2f7))['description']('Run\x20Trino\x20query\x20with\x20streaming\x20results')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x257),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x328),a2_0x4bfcb6(0x399))['option'](a2_0x4bfcb6(0x1f4),a2_0x4bfcb6(0x223))[a2_0x4bfcb6(0x366)]('-f,\x20--file\x20<path>',a2_0x4bfcb6(0x306))['option']('--limit\x20<rows>',a2_0x4bfcb6(0x2af),'40')[a2_0x4bfcb6(0x2c6)](async(_0x49bc9a,_0x2db371)=>{const _0x416cac=a2_0x4bfcb6,_0x9eebfc=new QueryCommand(),_0x2ab29a=program[_0x416cac(0x385)](),_0x4c0ff4=await createTDXInstance(_0x2ab29a);_0x2db371['in']&&(_0x2db371[_0x416cac(0x22c)]=_0x2db371['in']);const _0x58716e=await _0x9eebfc['run']({'options':{..._0x2ab29a,..._0x2db371},'args':_0x49bc9a?[_0x49bc9a]:[],'tdx':_0x4c0ff4});process[_0x416cac(0x28a)](_0x58716e);});const segmentCmd=program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x200))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x22e)),segmentListAction=async(_0x2cb9aa,_0x27436d)=>{const _0x8175ef=a2_0x4bfcb6,_0x59dbeb=new SegmentsCommand(),_0x84dab8=program[_0x8175ef(0x385)](),_0xd9d6c8=await createTDXInstance(_0x84dab8),_0x5ee701=await _0x59dbeb['run']({'options':{..._0x84dab8,..._0x27436d},'args':_0x2cb9aa?[_0x2cb9aa]:[],'tdx':_0xd9d6c8});process['exit'](_0x5ee701);};segmentCmd[a2_0x4bfcb6(0x27e)]('list\x20[path]')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x301))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2ac),a2_0x4bfcb6(0x392))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x393),a2_0x4bfcb6(0x27b),'10')['action'](segmentListAction),program['command'](a2_0x4bfcb6(0x1f1),{'hidden':!![]})[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2dd))[a2_0x4bfcb6(0x366)]('-r,\x20--recursive',a2_0x4bfcb6(0x392))['option'](a2_0x4bfcb6(0x393),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),segmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2bf))['description']('Set\x20current\x20segment/folder\x20context\x20for\x20navigation')['action'](async(_0x1e9805,_0x4ac8aa)=>{const _0x4caed1=a2_0x4bfcb6,_0x12cdae=new SegmentUseCommand(),_0xb07355=program[_0x4caed1(0x385)](),_0x5704df=await createTDXInstance(_0xb07355),_0x22ac7a=await _0x12cdae['run']({'options':{..._0xb07355,..._0x4ac8aa},'args':[_0x1e9805],'tdx':_0x5704df});process['exit'](_0x22ac7a);}),segmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2c7))['description'](a2_0x4bfcb6(0x362))[a2_0x4bfcb6(0x2c6)](async _0x55ae5f=>{const _0x8a9987=a2_0x4bfcb6,_0x20fa4c=new SegmentPwdCommand(),_0x52a4de=program['opts'](),_0x50d937=await createTDXInstance(_0x52a4de),_0x1cb891=await _0x20fa4c['run']({'options':{..._0x52a4de,..._0x55ae5f},'args':[],'tdx':_0x50d937});process[_0x8a9987(0x28a)](_0x1cb891);}),segmentCmd['command']('info\x20[segment_name]')['alias'](a2_0x4bfcb6(0x1ce))[a2_0x4bfcb6(0x355)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x4bfcb6(0x2c6)](async(_0x42bf97,_0x504faf)=>{const _0x45f950=a2_0x4bfcb6,_0x2d3e61=new SegmentInfoCommand(),_0x86d0e1=program['opts'](),_0x19e8d9=await createTDXInstance(_0x86d0e1),_0x20c7be=await _0x2d3e61[_0x45f950(0x297)]({'options':{..._0x86d0e1,..._0x504faf},'args':_0x42bf97?[_0x42bf97]:[],'tdx':_0x19e8d9});process[_0x45f950(0x28a)](_0x20c7be);}),segmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x32f))['description'](a2_0x4bfcb6(0x354))['action'](async(_0x4b5c30,_0x12a5ad)=>{const _0x35310d=a2_0x4bfcb6,_0x515515=new SegmentDescCommand(),_0x111f75=program['opts'](),_0x335451=await createTDXInstance(_0x111f75),_0x2082d5=await _0x515515[_0x35310d(0x297)]({'options':{..._0x111f75,..._0x12a5ad},'args':_0x4b5c30?[_0x4b5c30]:[],'tdx':_0x335451});process[_0x35310d(0x28a)](_0x2082d5);}),segmentCmd[a2_0x4bfcb6(0x27e)]('show\x20[segment_name]')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x290))[a2_0x4bfcb6(0x2c6)](async(_0x422194,_0xc0ff58)=>{const _0x4f0aa3=a2_0x4bfcb6,_0x24e211=new SegmentShowCommand(),_0x585864=program['opts'](),_0x3f5137=await createTDXInstance(_0x585864),_0x156569=await _0x24e211['run']({'options':{..._0x585864,..._0xc0ff58},'args':_0x422194?[_0x422194]:[],'tdx':_0x3f5137});process[_0x4f0aa3(0x28a)](_0x156569);}),segmentCmd['command'](a2_0x4bfcb6(0x2a5))['description'](a2_0x4bfcb6(0x1db))[a2_0x4bfcb6(0x2c6)](async(_0x1134dd,_0x4aa8e5)=>{const _0x344d34=a2_0x4bfcb6,_0x119780=new SegmentFolderListCommand(),_0x365a62=program[_0x344d34(0x385)](),_0x57987d=await createTDXInstance(_0x365a62),_0x58277f=await _0x119780['run']({'options':{..._0x365a62,..._0x4aa8e5},'args':[_0x1134dd],'tdx':_0x57987d});process[_0x344d34(0x28a)](_0x58277f);});const folderCmd=segmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1c6))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2f3));folderCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x272))[a2_0x4bfcb6(0x355)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x4bfcb6(0x2c6)](async(_0xa2c614,_0x2c2f7b)=>{const _0x1921e1=a2_0x4bfcb6,_0xe84f2b=new SegmentFolderShowCommand(),_0x592344=program[_0x1921e1(0x385)](),_0x109e96=await createTDXInstance(_0x592344),_0x34be86=await _0xe84f2b[_0x1921e1(0x297)]({'options':{..._0x592344,..._0x2c2f7b},'args':[_0xa2c614],'tdx':_0x109e96});process[_0x1921e1(0x28a)](_0x34be86);}),segmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1e9))['description']('Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)')['action'](async(_0x407b45,_0x305554)=>{const _0x2519c0=a2_0x4bfcb6,_0x24ac76=new SegmentSQLCommand(),_0x4e2c7d=program['opts'](),_0x299284=await createTDXInstance(_0x4e2c7d),_0x5b2259=await _0x24ac76[_0x2519c0(0x297)]({'options':{..._0x4e2c7d,..._0x305554},'args':_0x407b45?[_0x407b45]:[],'tdx':_0x299284});process['exit'](_0x5b2259);}),segmentCmd['command'](a2_0x4bfcb6(0x397))['description'](a2_0x4bfcb6(0x201))[a2_0x4bfcb6(0x2c6)](async(_0x2b70d1,_0x4ac3a8)=>{const _0x7688cd=a2_0x4bfcb6,_0x4c6487=new SegmentFieldsCommand(),_0xab702f=program[_0x7688cd(0x385)](),_0x30c4f2=await createTDXInstance(_0xab702f),_0x5a8cc0=await _0x4c6487[_0x7688cd(0x297)]({'options':{..._0xab702f,..._0x4ac3a8},'args':_0x2b70d1?[_0x2b70d1]:[],'tdx':_0x30c4f2});process[_0x7688cd(0x28a)](_0x5a8cc0);}),segmentCmd[a2_0x4bfcb6(0x27e)]('create\x20<segment_name>')['description'](a2_0x4bfcb6(0x35d))['option'](a2_0x4bfcb6(0x37a),'Segment\x20description')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1e5),a2_0x4bfcb6(0x249))[a2_0x4bfcb6(0x366)]('--rule-file\x20<file>','Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2ea),a2_0x4bfcb6(0x1e4))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x364),a2_0x4bfcb6(0x382))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x283),a2_0x4bfcb6(0x1ed))['option'](a2_0x4bfcb6(0x2d4),a2_0x4bfcb6(0x32d))[a2_0x4bfcb6(0x2c6)](async(_0x57ae99,_0x13efa1)=>{const _0x475b09=a2_0x4bfcb6,_0x54b6d2=new SegmentCreateCommand(),_0xba6e11=program['opts'](),_0x272b0c=await createTDXInstance(_0xba6e11),_0x1dcf9d=await _0x54b6d2[_0x475b09(0x297)]({'options':{..._0xba6e11,..._0x13efa1},'args':[_0x57ae99],'tdx':_0x272b0c});process[_0x475b09(0x28a)](_0x1dcf9d);}),segmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x293))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x29b))['option'](a2_0x4bfcb6(0x34e),a2_0x4bfcb6(0x2be))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x37a),a2_0x4bfcb6(0x2ed))['option'](a2_0x4bfcb6(0x1e5),'Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x26b),a2_0x4bfcb6(0x2b4))[a2_0x4bfcb6(0x366)]('--folder\x20<name>',a2_0x4bfcb6(0x2fb))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x364),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x4bfcb6(0x2c6)](async(_0x57bd5c,_0x2224b1)=>{const _0xc4ac79=a2_0x4bfcb6,_0x1362e9=new SegmentUpdateCommand(),_0x5d1350=program[_0xc4ac79(0x385)](),_0x1cf0c2=await createTDXInstance(_0x5d1350),_0x4c69d4=await _0x1362e9[_0xc4ac79(0x297)]({'options':{..._0x5d1350,..._0x2224b1},'args':[_0x57bd5c],'tdx':_0x1cf0c2});process[_0xc4ac79(0x28a)](_0x4c69d4);});const parentCmd=segmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x31f))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x284)),parentListAction=async(_0x25299d,_0x283820)=>{const _0x37866d=a2_0x4bfcb6,_0x533eda=new ParentSegmentListCommand(),_0x7a65e5=program[_0x37866d(0x385)](),_0xc54ef8=await createTDXInstance(_0x7a65e5),_0x3d24a9=await _0x533eda[_0x37866d(0x297)]({'options':{..._0x7a65e5,..._0x283820},'args':_0x25299d?[_0x25299d]:[],'tdx':_0xc54ef8});process[_0x37866d(0x28a)](_0x3d24a9);};parentCmd[a2_0x4bfcb6(0x27e)]('list\x20[pattern]')['description'](a2_0x4bfcb6(0x204))[a2_0x4bfcb6(0x2c6)](parentListAction),segmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x273),{'hidden':!![]})['description'](a2_0x4bfcb6(0x233))[a2_0x4bfcb6(0x2c6)](parentListAction),parentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1c2))['description'](a2_0x4bfcb6(0x380))['option'](a2_0x4bfcb6(0x2fc),a2_0x4bfcb6(0x38c))['option'](a2_0x4bfcb6(0x202),'Skip\x20confirmation\x20prompt')[a2_0x4bfcb6(0x2c6)](async(_0x46910c,_0x2f900c)=>{const _0x102e09=a2_0x4bfcb6,_0x4925b8=new ParentSegmentPullCommand(),_0x2ce9b3=program[_0x102e09(0x385)](),_0x359781=await createTDXInstance(_0x2ce9b3),_0x254fa2=await _0x4925b8[_0x102e09(0x297)]({'options':{..._0x2ce9b3,..._0x2f900c},'args':_0x46910c?[_0x46910c]:[],'tdx':_0x359781});process[_0x102e09(0x28a)](_0x254fa2);}),parentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x29a))['description'](a2_0x4bfcb6(0x285))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x202),a2_0x4bfcb6(0x2c4))[a2_0x4bfcb6(0x2c6)](async(_0x1f1ce3,_0x5bed8b)=>{const _0x133d31=a2_0x4bfcb6,_0x2270b5=new ParentSegmentPushCommand(),_0x1dbd9c=program[_0x133d31(0x385)](),_0x2a1633=await createTDXInstance(_0x1dbd9c),_0x576cd4=await _0x2270b5['run']({'options':{..._0x1dbd9c,..._0x5bed8b},'args':_0x1f1ce3?[_0x1f1ce3]:[],'tdx':_0x2a1633});process['exit'](_0x576cd4);}),parentCmd['command']('validate\x20[file]')[a2_0x4bfcb6(0x355)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x22d),a2_0x4bfcb6(0x307))[a2_0x4bfcb6(0x366)]('--attribute\x20[name]',a2_0x4bfcb6(0x2a1))[a2_0x4bfcb6(0x366)]('--behavior\x20[name]',a2_0x4bfcb6(0x1f5))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x33e),a2_0x4bfcb6(0x35e))['option']('--interval\x20<range>',a2_0x4bfcb6(0x1de),a2_0x4bfcb6(0x238))[a2_0x4bfcb6(0x2c6)](async(_0x3cddfe,_0x3dfff1)=>{const _0x200356=a2_0x4bfcb6,_0x308952=new ParentSegmentValidateCommand(),_0x42b201=program[_0x200356(0x385)](),_0x1e9c0d=await createTDXInstance(_0x42b201),_0x192c9a=await _0x308952['run']({'options':{..._0x42b201,..._0x3dfff1},'args':_0x3cddfe?[_0x3cddfe]:[],'tdx':_0x1e9c0d});process[_0x200356(0x28a)](_0x192c9a);}),parentCmd['command'](a2_0x4bfcb6(0x2fe))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x29e))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x22d),a2_0x4bfcb6(0x219))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x282),a2_0x4bfcb6(0x327))[a2_0x4bfcb6(0x366)]('--behavior\x20[name]',a2_0x4bfcb6(0x248))['option'](a2_0x4bfcb6(0x33e),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1d7),a2_0x4bfcb6(0x1de),'-1d')[a2_0x4bfcb6(0x2c6)](async(_0x33a6c0,_0x3cf46e)=>{const _0x2dae9e=a2_0x4bfcb6,_0x3e6bd6=new ParentSegmentPreviewCommand(),_0x44fced=program[_0x2dae9e(0x385)](),_0x2d1263=await createTDXInstance(_0x44fced),_0x5b88b4=await _0x3e6bd6[_0x2dae9e(0x297)]({'options':{..._0x44fced,..._0x3cf46e},'args':_0x33a6c0?[_0x33a6c0]:[],'tdx':_0x2d1263});process['exit'](_0x5b88b4);}),parentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x314))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x1e8))['option']('-y,\x20--yes',a2_0x4bfcb6(0x2c4))[a2_0x4bfcb6(0x2c6)](async(_0x95907,_0x5992db)=>{const _0x19f23e=a2_0x4bfcb6,_0x4275ec=new ParentSegmentRunCommand(),_0x47eb32=program[_0x19f23e(0x385)](),_0x2c13b5=await createTDXInstance(_0x47eb32),_0x15649f=await _0x4275ec[_0x19f23e(0x297)]({'options':{..._0x47eb32,..._0x5992db},'args':_0x95907?[_0x95907]:[],'tdx':_0x2c13b5});process[_0x19f23e(0x28a)](_0x15649f);});const parentSegmentCmd=program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x20e))[a2_0x4bfcb6(0x1ca)]('ps')[a2_0x4bfcb6(0x355)]('Parent\x20segment\x20management');parentSegmentCmd[a2_0x4bfcb6(0x27e)]('list\x20[pattern]')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x204))[a2_0x4bfcb6(0x2c6)](parentListAction),parentSegmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1c2))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x208))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2fc),a2_0x4bfcb6(0x241))[a2_0x4bfcb6(0x366)]('-y,\x20--yes',a2_0x4bfcb6(0x2c4))['option'](a2_0x4bfcb6(0x321),a2_0x4bfcb6(0x37b))[a2_0x4bfcb6(0x2c6)](async(_0x278598,_0x5f1d2a)=>{const _0x522799=a2_0x4bfcb6,_0xdd7d73=new ParentSegmentPullCommand(),_0x39bac4=program[_0x522799(0x385)](),_0x31f3d9=await createTDXInstance(_0x39bac4),_0x102e0a=await _0xdd7d73[_0x522799(0x297)]({'options':{..._0x39bac4,..._0x5f1d2a},'args':_0x278598?[_0x278598]:[],'tdx':_0x31f3d9});process['exit'](_0x102e0a);}),parentSegmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x247))['description'](a2_0x4bfcb6(0x221))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x202),a2_0x4bfcb6(0x2c4))['action'](async(_0x4c4396,_0x4197f9)=>{const _0x5756e6=a2_0x4bfcb6,_0x220c83=new ParentSegmentPushCommand(),_0x266661=program[_0x5756e6(0x385)](),_0x1e09c8=await createTDXInstance(_0x266661),_0xba1ab7=await _0x220c83['run']({'options':{..._0x266661,..._0x4197f9},'args':_0x4c4396?[_0x4c4396]:[],'tdx':_0x1e09c8});process[_0x5756e6(0x28a)](_0xba1ab7);}),parentSegmentCmd[a2_0x4bfcb6(0x27e)]('validate\x20[name]')['description']('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option'](a2_0x4bfcb6(0x22d),'Show\x20only\x20master\x20table\x20validation')[a2_0x4bfcb6(0x366)]('--attribute\x20[name]',a2_0x4bfcb6(0x2a1))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x230),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x33e),a2_0x4bfcb6(0x35e))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1d7),a2_0x4bfcb6(0x1de),'-1d')[a2_0x4bfcb6(0x2c6)](async(_0x5f249a,_0xa67b84)=>{const _0x38f3f7=a2_0x4bfcb6,_0x3520b3=new ParentSegmentValidateCommand(),_0x29ca43=program[_0x38f3f7(0x385)](),_0x3bd0dd=await createTDXInstance(_0x29ca43),_0x45cacd=await _0x3520b3['run']({'options':{..._0x29ca43,..._0xa67b84},'args':_0x5f249a?[_0x5f249a]:[],'tdx':_0x3bd0dd});process[_0x38f3f7(0x28a)](_0x45cacd);}),parentSegmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2eb))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x29e))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x22d),a2_0x4bfcb6(0x219))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x282),a2_0x4bfcb6(0x327))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x230),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x33e),a2_0x4bfcb6(0x2c9))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1d7),a2_0x4bfcb6(0x1de),a2_0x4bfcb6(0x238))[a2_0x4bfcb6(0x2c6)](async(_0x3008d1,_0x58b463)=>{const _0x1cd5f0=a2_0x4bfcb6,_0x4da7f6=new ParentSegmentPreviewCommand(),_0x15caf9=program['opts'](),_0x5cc7de=await createTDXInstance(_0x15caf9),_0x30b5f0=await _0x4da7f6[_0x1cd5f0(0x297)]({'options':{..._0x15caf9,..._0x58b463},'args':_0x3008d1?[_0x3008d1]:[],'tdx':_0x5cc7de});process['exit'](_0x30b5f0);}),parentSegmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x314))['description'](a2_0x4bfcb6(0x1e8))['option'](a2_0x4bfcb6(0x202),a2_0x4bfcb6(0x2c4))[a2_0x4bfcb6(0x2c6)](async(_0x3dac62,_0x3ac40e)=>{const _0x1136a6=a2_0x4bfcb6,_0x31236c=new ParentSegmentRunCommand(),_0x5b2071=program[_0x1136a6(0x385)](),_0x461fb8=await createTDXInstance(_0x5b2071),_0xac203e=await _0x31236c[_0x1136a6(0x297)]({'options':{..._0x5b2071,..._0x3ac40e},'args':_0x3dac62?[_0x3dac62]:[],'tdx':_0x461fb8});process[_0x1136a6(0x28a)](_0xac203e);}),parentSegmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x318))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x27d))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2e3),a2_0x4bfcb6(0x323))['option'](a2_0x4bfcb6(0x33d),'Output\x20as\x20JSON\x20Lines')[a2_0x4bfcb6(0x2c6)](async(_0x198b18,_0x2d5beb)=>{const _0x357d35=a2_0x4bfcb6,_0x61e9df=new ParentSegmentFieldsCommand(),_0x55d2cd=program['opts'](),_0x4c2b60=await createTDXInstance(_0x55d2cd),_0x2a8b06=await _0x61e9df[_0x357d35(0x297)]({'options':{..._0x55d2cd,..._0x2d5beb},'args':_0x198b18?[_0x198b18]:[],'tdx':_0x4c2b60});process['exit'](_0x2a8b06);}),parentSegmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x348))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x379))[a2_0x4bfcb6(0x366)]('--json','Output\x20as\x20JSON')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x33d),a2_0x4bfcb6(0x2ad))[a2_0x4bfcb6(0x2c6)](async(_0x350ea0,_0x1a191e)=>{const _0x4b73b0=a2_0x4bfcb6,_0x4d08de=new ParentSegmentInfoCommand(),_0x431a83=program[_0x4b73b0(0x385)](),_0x3c62d4=await createTDXInstance(_0x431a83),_0x5e6114=await _0x4d08de['run']({'options':{..._0x431a83,..._0x1a191e},'args':_0x350ea0?[_0x350ea0]:[],'tdx':_0x3c62d4});process['exit'](_0x5e6114);}),parentSegmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1bf))[a2_0x4bfcb6(0x355)]('Show\x20parent\x20segment\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2e3),a2_0x4bfcb6(0x323))['option'](a2_0x4bfcb6(0x33d),a2_0x4bfcb6(0x2ad))['action'](async(_0x102f3d,_0x5aad14)=>{const _0x5103a3=a2_0x4bfcb6,_0x27357f=new ParentSegmentDescCommand(),_0x3bf5d3=program[_0x5103a3(0x385)](),_0x30d73c=await createTDXInstance(_0x3bf5d3),_0x40bd7f=await _0x27357f[_0x5103a3(0x297)]({'options':{..._0x3bf5d3,..._0x5aad14},'args':_0x102f3d?[_0x102f3d]:[],'tdx':_0x30d73c});process[_0x5103a3(0x28a)](_0x40bd7f);}),parentSegmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x344))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x22b))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2e3),a2_0x4bfcb6(0x323))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x33d),a2_0x4bfcb6(0x2ad))[a2_0x4bfcb6(0x2c6)](async(_0x564b19,_0xede7b0)=>{const _0x189274=a2_0x4bfcb6,_0x1d87dc=new ParentSegmentSQLCommand(),_0x300cc1=program[_0x189274(0x385)](),_0x8d06e6=await createTDXInstance(_0x300cc1),_0x321ab2=await _0x1d87dc[_0x189274(0x297)]({'options':{..._0x300cc1,..._0xede7b0},'args':_0x564b19?[_0x564b19]:[],'tdx':_0x8d06e6});process[_0x189274(0x28a)](_0x321ab2);}),parentSegmentCmd['command'](a2_0x4bfcb6(0x36c))[a2_0x4bfcb6(0x355)]('Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x36e),'Limit\x20number\x20of\x20rows')[a2_0x4bfcb6(0x366)]('--json',a2_0x4bfcb6(0x323))[a2_0x4bfcb6(0x366)]('--jsonl',a2_0x4bfcb6(0x2ad))[a2_0x4bfcb6(0x2c6)](async(_0x3ef99c,_0x3a4870)=>{const _0xe9b9a1=a2_0x4bfcb6,_0x59435e=new ParentSegmentShowCommand(),_0x512064=program[_0xe9b9a1(0x385)](),_0x5d52ef=await createTDXInstance(_0x512064),_0x345bc6=await _0x59435e['run']({'options':{..._0x512064,..._0x3a4870},'args':_0x3ef99c?[_0x3ef99c]:[],'tdx':_0x5d52ef});process[_0xe9b9a1(0x28a)](_0x345bc6);}),parentSegmentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x267))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x33c))['action'](async(_0xed7ad4,_0x677471)=>{const _0x482345=a2_0x4bfcb6,_0x400294=new UseCommand(),_0x108ff5=program[_0x482345(0x385)](),_0x386879=_0xed7ad4?[_0x482345(0x2a9),_0xed7ad4]:[],_0x51af69=await _0x400294[_0x482345(0x297)]({'options':{..._0x108ff5,..._0x677471},'args':_0x386879,'tdx':null});process[_0x482345(0x28a)](_0x51af69);}),parentCmd[a2_0x4bfcb6(0x27e)]('create\x20<name>')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2ba))['requiredOption'](a2_0x4bfcb6(0x335),a2_0x4bfcb6(0x389))[a2_0x4bfcb6(0x28f)]('--table\x20<table>',a2_0x4bfcb6(0x268))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x37a),a2_0x4bfcb6(0x35b))['option'](a2_0x4bfcb6(0x34c),a2_0x4bfcb6(0x218))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x39c),a2_0x4bfcb6(0x26d))[a2_0x4bfcb6(0x366)]('--timezone\x20<tz>',a2_0x4bfcb6(0x1fd))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2b9),a2_0x4bfcb6(0x203))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x38f),a2_0x4bfcb6(0x32c))['option']('--behaviors\x20<json>','Behaviors\x20as\x20JSON\x20string')[a2_0x4bfcb6(0x366)]('--behaviors-file\x20<file>',a2_0x4bfcb6(0x24c))['option'](a2_0x4bfcb6(0x36a),a2_0x4bfcb6(0x220))['option']('--customer-group-file\x20<file>',a2_0x4bfcb6(0x23c))[a2_0x4bfcb6(0x2c6)](async(_0x1bef29,_0x389f5c)=>{const _0x1b7cd8=a2_0x4bfcb6,_0x456480=new ParentSegmentCreateCommand(),_0x576626=program[_0x1b7cd8(0x385)](),_0x2a5570=await createTDXInstance(_0x576626),_0x4222b2=await _0x456480['run']({'options':{..._0x576626,..._0x389f5c},'args':[_0x1bef29],'tdx':_0x2a5570});process[_0x1b7cd8(0x28a)](_0x4222b2);}),parentCmd[a2_0x4bfcb6(0x27e)]('update\x20<name>')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x1c5))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x37a),a2_0x4bfcb6(0x2ed))['option']('--schedule-type\x20<type>',a2_0x4bfcb6(0x2a0))['option'](a2_0x4bfcb6(0x39c),a2_0x4bfcb6(0x240))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1c4),a2_0x4bfcb6(0x216))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2d7),a2_0x4bfcb6(0x280))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x35f),a2_0x4bfcb6(0x26f))['option'](a2_0x4bfcb6(0x34f),a2_0x4bfcb6(0x24e))['option']('--add-behaviors-file\x20<file>',a2_0x4bfcb6(0x2e2))[a2_0x4bfcb6(0x2c6)](async(_0x193d89,_0x35c759)=>{const _0x1ccabe=a2_0x4bfcb6,_0x12ba08=new ParentSegmentUpdateCommand(),_0x50cd15=program[_0x1ccabe(0x385)](),_0x183d94=await createTDXInstance(_0x50cd15),_0x1b68ae=await _0x12ba08[_0x1ccabe(0x297)]({'options':{..._0x50cd15,..._0x35c759},'args':[_0x193d89],'tdx':_0x183d94});process['exit'](_0x1b68ae);}),folderCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2ca))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2b2))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x37a),a2_0x4bfcb6(0x305))[a2_0x4bfcb6(0x366)]('--parent-folder\x20<name>',a2_0x4bfcb6(0x30f))[a2_0x4bfcb6(0x2c6)](async(_0x27578b,_0x229d8f,_0x49770c)=>{const _0x50c9cb=a2_0x4bfcb6,_0x359060=new SegmentFolderCreateCommand(),_0x37ad8e=program[_0x50c9cb(0x385)](),_0xfc5586=await createTDXInstance(_0x37ad8e),_0x18ad41=await _0x359060[_0x50c9cb(0x297)]({'options':{..._0x37ad8e,..._0x49770c},'args':[_0x27578b,_0x229d8f],'tdx':_0xfc5586});process['exit'](_0x18ad41);}),program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2e0))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2ab))['action'](async(_0x4b0441,_0x3dbbce)=>{const _0x3b9d93=a2_0x4bfcb6,_0x271825=new ActivationsCommand(),_0x3368fa=program[_0x3b9d93(0x385)](),_0x220ff=await createTDXInstance(_0x3368fa),_0x942edd=await _0x271825[_0x3b9d93(0x297)]({'options':{..._0x3368fa,..._0x3dbbce},'args':[_0x4b0441],'tdx':_0x220ff});process[_0x3b9d93(0x28a)](_0x942edd);});const workflowCmd=program['command']('workflow')[a2_0x4bfcb6(0x1ca)]('wf')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x338)),wfProjectCmd=workflowCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2db))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x28e)),wfProjectListAction=async(_0x19a04e,_0x5221ee)=>{const _0x463876=a2_0x4bfcb6,_0x699f64=new WorkflowProjectsCommand(),_0x132c3b=program['opts'](),_0x67bc28=await createTDXInstance(_0x132c3b),_0x198cd3=await _0x699f64[_0x463876(0x297)]({'options':{..._0x132c3b,..._0x5221ee},'args':_0x19a04e?[_0x19a04e]:[],'tdx':_0x67bc28});process['exit'](_0x198cd3);};wfProjectCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x281))['description'](a2_0x4bfcb6(0x32e))[a2_0x4bfcb6(0x2c6)](wfProjectListAction),workflowCmd['command']('projects\x20[pattern]')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2d1))[a2_0x4bfcb6(0x2c6)](wfProjectListAction);const wfWorkflowListAction=async(_0x2e7015,_0x46d27c)=>{const _0x2273cf=a2_0x4bfcb6,_0x57749c=new WorkflowWorkflowsCommand(),_0x14ad9d=program[_0x2273cf(0x385)](),_0x3a79f3=await createTDXInstance(_0x14ad9d),_0x193e02=await _0x57749c[_0x2273cf(0x297)]({'options':{..._0x14ad9d,..._0x46d27c},'args':_0x2e7015?[_0x2e7015]:[],'tdx':_0x3a79f3});process['exit'](_0x193e02);};workflowCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2cd))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x22f))[a2_0x4bfcb6(0x2c6)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x4bfcb6(0x226))[a2_0x4bfcb6(0x355)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x130c5d,_0x1ac30c)=>{const _0x2eb94a=a2_0x4bfcb6,_0x5a7810=new WorkflowSessionsCommand(),_0x365cf7=program[_0x2eb94a(0x385)](),_0x437596=await createTDXInstance(_0x365cf7),_0x1246b4=await _0x5a7810[_0x2eb94a(0x297)]({'options':{..._0x365cf7,..._0x1ac30c},'args':_0x130c5d?[_0x130c5d]:[],'tdx':_0x437596});process[_0x2eb94a(0x28a)](_0x1246b4);};wfSessionCmd['command'](a2_0x4bfcb6(0x340))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x1c8))['option'](a2_0x4bfcb6(0x2e5),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')['option']('--from\x20<timestamp>','Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x4bfcb6(0x2d0),'End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction),workflowCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x259))['description'](a2_0x4bfcb6(0x39d))[a2_0x4bfcb6(0x366)]('--status\x20<status>',a2_0x4bfcb6(0x252))[a2_0x4bfcb6(0x366)]('--from\x20<timestamp>',a2_0x4bfcb6(0x275))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2d0),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x4bfcb6(0x2c6)](wfSessionListAction);const wfAttemptListAction=async(_0x4fecc5,_0x35636d)=>{const _0x150728=a2_0x4bfcb6,_0xecf563=new WorkflowAttemptsCommand(),_0x101aff=program[_0x150728(0x385)](),_0x6da1a7=await createTDXInstance(_0x101aff),_0x79729=await _0xecf563[_0x150728(0x297)]({'options':{..._0x101aff,..._0x35636d},'args':_0x4fecc5?[_0x4fecc5]:[],'tdx':_0x6da1a7});process['exit'](_0x79729);},attemptCmd=workflowCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x390))['description'](a2_0x4bfcb6(0x217))[a2_0x4bfcb6(0x304)](a2_0x4bfcb6(0x2a3),a2_0x4bfcb6(0x2d5))[a2_0x4bfcb6(0x304)]('[action]','Action:\x20logs,\x20tasks,\x20kill,\x20retry')[a2_0x4bfcb6(0x304)](a2_0x4bfcb6(0x2b0),a2_0x4bfcb6(0x35a))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1c7),a2_0x4bfcb6(0x21a))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2c0),a2_0x4bfcb6(0x350))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x35c),a2_0x4bfcb6(0x33f))['option'](a2_0x4bfcb6(0x251),a2_0x4bfcb6(0x3a0))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x396),a2_0x4bfcb6(0x1f0))['option'](a2_0x4bfcb6(0x34b),a2_0x4bfcb6(0x33b))['action'](async(_0x2a5fe9,_0x2fae95,_0x58e7bf,_0x41e045)=>{const _0x489876=a2_0x4bfcb6;if(_0x2a5fe9===_0x489876(0x296)){await wfAttemptListAction(_0x2fae95,_0x41e045);return;}if(!_0x2a5fe9){attemptCmd[_0x489876(0x377)]();return;}const _0x5a813c=program[_0x489876(0x385)](),_0x1fe673=await createTDXInstance(_0x5a813c);let _0x292ae4=0x0;if(!_0x2fae95){const _0x232767=new WorkflowAttemptCommand();_0x292ae4=await _0x232767[_0x489876(0x297)]({'options':{..._0x5a813c,..._0x41e045},'args':[_0x2a5fe9],'tdx':_0x1fe673});}else{if(_0x2fae95===_0x489876(0x363)){const _0x306cba=new WorkflowLogsCommand();_0x292ae4=await _0x306cba[_0x489876(0x297)]({'options':{..._0x5a813c,..._0x41e045},'args':_0x58e7bf?[_0x2a5fe9,_0x58e7bf]:[_0x2a5fe9],'tdx':_0x1fe673});}else{if(_0x2fae95==='tasks'){const _0x54d7ff=new WorkflowTasksCommand();_0x292ae4=await _0x54d7ff[_0x489876(0x297)]({'options':{..._0x5a813c,..._0x41e045},'args':[_0x2a5fe9],'tdx':_0x1fe673});}else{if(_0x2fae95===_0x489876(0x224)){const _0x453213=new WorkflowKillCommand();_0x292ae4=await _0x453213['run']({'options':{..._0x5a813c,..._0x41e045},'args':[_0x2a5fe9],'tdx':_0x1fe673});}else{if(_0x2fae95===_0x489876(0x20d)){const _0x539941=new WorkflowRetryCommand();_0x292ae4=await _0x539941[_0x489876(0x297)]({'options':{..._0x5a813c,..._0x41e045},'args':[_0x489876(0x2d6)+_0x2a5fe9],'tdx':_0x1fe673});}else console['error'](_0x489876(0x36d)+_0x2fae95),console['error'](_0x489876(0x1d8)),_0x292ae4=0x1;}}}}process['exit'](_0x292ae4);});attemptCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x340))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x387))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x34b),a2_0x4bfcb6(0x27a))[a2_0x4bfcb6(0x2c6)](wfAttemptListAction),workflowCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1d6))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x1be))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x34b),a2_0x4bfcb6(0x27a))[a2_0x4bfcb6(0x2c6)](wfAttemptListAction),workflowCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2d9))[a2_0x4bfcb6(0x355)]('Retry\x20a\x20session\x20(prefix\x20with\x20session:)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2cc),a2_0x4bfcb6(0x343))['option'](a2_0x4bfcb6(0x251),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')['action'](async(_0x190ad1,_0xfcc48f)=>{const _0x27c107=a2_0x4bfcb6,_0x4e11d9=new WorkflowRetryCommand(),_0xf6493=program[_0x27c107(0x385)](),_0x8e97fb=await createTDXInstance(_0xf6493),_0x3a2bb4=await _0x4e11d9[_0x27c107(0x297)]({'options':{..._0xf6493,..._0xfcc48f},'args':[_0x190ad1],'tdx':_0x8e97fb});process[_0x27c107(0x28a)](_0x3a2bb4);}),workflowCmd['command'](a2_0x4bfcb6(0x250))[a2_0x4bfcb6(0x355)]('Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1f2),a2_0x4bfcb6(0x37e),(_0x3ac2bc,_0x580ac6=[])=>[..._0x580ac6,_0x3ac2bc],[])['option'](a2_0x4bfcb6(0x239),'Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x4bfcb6(0x2c6)](async(_0x1857e2,_0x2e1125)=>{const _0x2bad1b=a2_0x4bfcb6,_0x292771=new WorkflowRunCommand(),_0x24ddb6=program['opts'](),_0x3661c1=await createTDXInstance(_0x24ddb6),_0x5d632f=await _0x292771[_0x2bad1b(0x297)]({'options':{..._0x24ddb6,..._0x2e1125},'args':[_0x1857e2],'tdx':_0x3661c1});process[_0x2bad1b(0x28a)](_0x5d632f);}),workflowCmd['command']('download\x20<project-name>\x20[output-dir]')['description'](a2_0x4bfcb6(0x1df))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2fa),a2_0x4bfcb6(0x2c2))[a2_0x4bfcb6(0x2c6)](async(_0x157054,_0xc6f1f8,_0x5c985e)=>{const _0x5ad900=a2_0x4bfcb6,_0x1ae252=new WorkflowDownloadCommand(),_0x50a501=program[_0x5ad900(0x385)](),_0xa34b06=await createTDXInstance(_0x50a501),_0x5c2d68=await _0x1ae252['run']({'options':{..._0x50a501,..._0x5c985e},'args':[_0x157054,_0xc6f1f8||'.'],'tdx':_0xa34b06});process[_0x5ad900(0x28a)](_0x5c2d68);}),workflowCmd['command'](a2_0x4bfcb6(0x31b))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x391))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x30a),a2_0x4bfcb6(0x2df))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2fa),a2_0x4bfcb6(0x277))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1cd),a2_0x4bfcb6(0x20f))[a2_0x4bfcb6(0x2c6)](async(_0x35ec03,_0x2fdbd9)=>{const _0x823838=a2_0x4bfcb6,_0x28dd64=new WorkflowPushCommand(),_0xcb5f12=program[_0x823838(0x385)](),_0x295f96=await createTDXInstance(_0xcb5f12),_0x113cc8=await _0x28dd64['run']({'options':{..._0xcb5f12,..._0x2fdbd9},'args':_0x35ec03?[_0x35ec03]:[],'tdx':_0x295f96});process[_0x823838(0x28a)](_0x113cc8);}),workflowCmd['command'](a2_0x4bfcb6(0x351))[a2_0x4bfcb6(0x355)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x4bfcb6(0x2c6)](async(_0x51d9dd,_0xb495eb)=>{const _0x34aafb=a2_0x4bfcb6,_0x35818d=new WorkflowDeleteCommand(),_0xb8883f=program['opts'](),_0x2c3b85=await createTDXInstance(_0xb8883f),_0x3b991e=await _0x35818d[_0x34aafb(0x297)]({'options':{..._0xb8883f,..._0xb495eb},'args':[_0x51d9dd],'tdx':_0x2c3b85});process[_0x34aafb(0x28a)](_0x3b991e);});function a2_0x5c13(_0x558ce8,_0x2d4170){const _0x594798=a2_0x5947();return a2_0x5c13=function(_0x5c1354,_0x3150e6){_0x5c1354=_0x5c1354-0x1be;let _0x1681b4=_0x594798[_0x5c1354];return _0x1681b4;},a2_0x5c13(_0x558ce8,_0x2d4170);}const jobCmd=program['command'](a2_0x4bfcb6(0x320))['description'](a2_0x4bfcb6(0x25b)),jobListAction=async _0x459820=>{const _0x77e92=a2_0x4bfcb6,_0x53f9a0=new JobListCommand(),_0xf3b842=program[_0x77e92(0x385)](),_0x533ec9=await createTDXInstance(_0xf3b842),_0x2d136f=await _0x53f9a0[_0x77e92(0x297)]({'options':{..._0xf3b842,..._0x459820},'args':[],'tdx':_0x533ec9});process['exit'](_0x2d136f);};jobCmd[a2_0x4bfcb6(0x27e)]('list')['description'](a2_0x4bfcb6(0x378))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2e5),a2_0x4bfcb6(0x209))[a2_0x4bfcb6(0x2c6)](jobListAction),program[a2_0x4bfcb6(0x27e)]('jobs',{'hidden':!![]})[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x243))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2e5),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x4bfcb6(0x2c6)](jobListAction),jobCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x30e))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x1c0))[a2_0x4bfcb6(0x2c6)](async(_0x33012d,_0x19ad78)=>{const _0x1b5e3e=a2_0x4bfcb6,_0x5efeee=new JobShowCommand(),_0x129416=program[_0x1b5e3e(0x385)](),_0x34d48d=await createTDXInstance(_0x129416),_0x4178b8=await _0x5efeee[_0x1b5e3e(0x297)]({'options':{..._0x129416,..._0x19ad78},'args':[_0x33012d],'tdx':_0x34d48d});process['exit'](_0x4178b8);}),jobCmd[a2_0x4bfcb6(0x27e)]('kill\x20<job-id>')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x1c3))[a2_0x4bfcb6(0x2c6)](async(_0x58b649,_0x478191)=>{const _0x155183=a2_0x4bfcb6,_0x1dd53f=new JobKillCommand(),_0x10b0de=program[_0x155183(0x385)](),_0x4af001=await createTDXInstance(_0x10b0de),_0x1d0026=await _0x1dd53f[_0x155183(0x297)]({'options':{..._0x10b0de,..._0x478191},'args':[_0x58b649],'tdx':_0x4af001});process[_0x155183(0x28a)](_0x1d0026);}),jobCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x300))[a2_0x4bfcb6(0x355)]('Submit\x20a\x20job')[a2_0x4bfcb6(0x366)]('--job-type\x20<type>',a2_0x4bfcb6(0x2b3),a2_0x4bfcb6(0x2e6))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x27c),'Read\x20query\x20from\x20file')[a2_0x4bfcb6(0x366)]('--database\x20<name>','Database\x20name\x20(default:\x20information_schema)','information_schema')[a2_0x4bfcb6(0x2c6)](async(_0x54d414,_0x503802)=>{const _0x184149=a2_0x4bfcb6,_0x116416=new JobSubmitCommand(),_0xdb15b1=program[_0x184149(0x385)](),_0x116dc5=await createTDXInstance(_0xdb15b1),_0xecf0c8=await _0x116416[_0x184149(0x297)]({'options':{..._0xdb15b1,..._0x503802},'args':_0x54d414?[_0x54d414]:[],'tdx':_0x116dc5});process[_0x184149(0x28a)](_0xecf0c8);}),jobCmd[a2_0x4bfcb6(0x27e)]('result\x20<job-id>')[a2_0x4bfcb6(0x355)]('Get\x20job\x20results')['action'](async(_0x1ec65f,_0x57fe79)=>{const _0x2221e7=a2_0x4bfcb6,_0x3c8a38=new JobResultCommand(),_0x17b8be=program[_0x2221e7(0x385)](),_0x48c663=await createTDXInstance(_0x17b8be),_0x553da8=await _0x3c8a38[_0x2221e7(0x297)]({'options':{..._0x17b8be,..._0x57fe79},'args':[_0x1ec65f],'tdx':_0x48c663});process[_0x2221e7(0x28a)](_0x553da8);});const llmCmd=program[a2_0x4bfcb6(0x27e)]('llm')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x1e0));llmCmd['command'](a2_0x4bfcb6(0x3a1))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x25a))['action'](async(_0x8198bb,_0x4d1e78)=>{const _0x210c21=a2_0x4bfcb6,_0x26ce79=new LLMUseCommand(),_0x3bdbdb=program[_0x210c21(0x385)](),_0x525bf9=await createTDXInstance(_0x3bdbdb),_0x20b108=await _0x26ce79[_0x210c21(0x297)]({'options':{..._0x3bdbdb,..._0x4d1e78},'args':[_0x8198bb],'tdx':_0x525bf9});process[_0x210c21(0x28a)](_0x20b108);}),llmCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x39b))[a2_0x4bfcb6(0x355)]('List\x20available\x20LLM\x20models')['action'](async _0x2af94f=>{const _0x59dfa2=a2_0x4bfcb6,_0x1b0004=new LLMModelsCommand(),_0x59114c=program['opts'](),_0x2f82c4=await createTDXInstance(_0x59114c),_0x53f055=await _0x1b0004[_0x59dfa2(0x297)]({'options':{..._0x59114c,..._0x2af94f},'args':[],'tdx':_0x2f82c4});process[_0x59dfa2(0x28a)](_0x53f055);});const projectCmd=llmCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2db))[a2_0x4bfcb6(0x355)]('LLM\x20project\x20management'),llmProjectListAction=async(_0x30fd69,_0x224a53)=>{const _0x3c0632=a2_0x4bfcb6,_0x1e5e94=new LLMProjectsCommand(),_0x43dafb=program[_0x3c0632(0x385)](),_0x156035=await createTDXInstance(_0x43dafb),_0x1dca08=await _0x1e5e94[_0x3c0632(0x297)]({'options':{..._0x43dafb,..._0x224a53},'args':_0x30fd69?[_0x30fd69]:[],'tdx':_0x156035});process[_0x3c0632(0x28a)](_0x1dca08);};projectCmd[a2_0x4bfcb6(0x27e)]('list\x20[pattern]')['description']('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x4bfcb6(0x2c6)](llmProjectListAction),llmCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x333))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x222))[a2_0x4bfcb6(0x2c6)](llmProjectListAction),projectCmd['command'](a2_0x4bfcb6(0x2b5))[a2_0x4bfcb6(0x355)]('Create\x20a\x20new\x20LLM\x20project')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x37a),a2_0x4bfcb6(0x29d))[a2_0x4bfcb6(0x2c6)](async(_0x191be4,_0x2187d8)=>{const _0x4358e6=a2_0x4bfcb6,_0x1ea881=new LLMProjectCreateCommand(),_0x216c9e=program[_0x4358e6(0x385)](),_0x4331bf=await createTDXInstance(_0x216c9e),_0x3897d0=await _0x1ea881['run']({'options':{..._0x216c9e,..._0x2187d8},'args':[_0x191be4],'tdx':_0x4331bf});process[_0x4358e6(0x28a)](_0x3897d0);}),projectCmd['command'](a2_0x4bfcb6(0x361))['description']('Delete\x20an\x20LLM\x20project')[a2_0x4bfcb6(0x2c6)](async(_0x4717be,_0x38fac1)=>{const _0x320dce=a2_0x4bfcb6,_0x4b672b=new LLMProjectDeleteCommand(),_0x6e7558=program[_0x320dce(0x385)](),_0x5da6ce=await createTDXInstance(_0x6e7558),_0x10fb69=await _0x4b672b[_0x320dce(0x297)]({'options':{..._0x6e7558,..._0x38fac1},'args':[_0x4717be],'tdx':_0x5da6ce});process[_0x320dce(0x28a)](_0x10fb69);}),projectCmd[a2_0x4bfcb6(0x27e)]('backup\x20<name>')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x270))['option'](a2_0x4bfcb6(0x2ef),a2_0x4bfcb6(0x38d))[a2_0x4bfcb6(0x366)]('--dry-run',a2_0x4bfcb6(0x2d3))[a2_0x4bfcb6(0x2c6)](async(_0x153562,_0x4e7971)=>{const _0x262bdb=a2_0x4bfcb6,_0x4803ba=new LLMProjectBackupCommand(),_0x16c7eb=program['opts'](),_0x51d989=await createTDXInstance(_0x16c7eb),_0x461fa1=await _0x4803ba[_0x262bdb(0x297)]({'options':{..._0x16c7eb,..._0x4e7971},'args':[_0x153562],'tdx':_0x51d989});process[_0x262bdb(0x28a)](_0x461fa1);}),projectCmd['command'](a2_0x4bfcb6(0x34a))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x30b))['option'](a2_0x4bfcb6(0x2cb),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')['option'](a2_0x4bfcb6(0x2c8),a2_0x4bfcb6(0x279))[a2_0x4bfcb6(0x2c6)](async(_0x55d123,_0x63979f)=>{const _0x5afa8e=a2_0x4bfcb6,_0xb9269b=new LLMProjectRestoreCommand(),_0x220eb1=program[_0x5afa8e(0x385)](),_0x5b424b=await createTDXInstance(_0x220eb1),_0x18aa6a=await _0xb9269b[_0x5afa8e(0x297)]({'options':{..._0x220eb1,..._0x63979f},'args':[_0x55d123],'tdx':_0x5b424b});process[_0x5afa8e(0x28a)](_0x18aa6a);});const agentCmd=llmCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1d0))[a2_0x4bfcb6(0x355)]('LLM\x20agent\x20management'),llmAgentListAction=async(_0x4ab26c,_0x3cdcaf)=>{const _0x470beb=a2_0x4bfcb6,_0x3cdab3=new LLMAgentsCommand(),_0x5107e9=program[_0x470beb(0x385)](),_0x26a94d=await createTDXInstance(_0x5107e9),_0x508eea=await _0x3cdab3['run']({'options':{..._0x5107e9,..._0x3cdcaf},'args':_0x4ab26c?[_0x4ab26c]:[],'tdx':_0x26a94d});process[_0x470beb(0x28a)](_0x508eea);};agentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x281))['description'](a2_0x4bfcb6(0x235))[a2_0x4bfcb6(0x2c6)](llmAgentListAction),llmCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x330))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x398))[a2_0x4bfcb6(0x2c6)](llmAgentListAction),agentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x331))['description'](a2_0x4bfcb6(0x332))['action'](async(_0x2f50a5,_0x409c7a)=>{const _0x1dc561=a2_0x4bfcb6,_0x2d85d7=new LLMAgentShowCommand(),_0xa8acd5=program[_0x1dc561(0x385)](),_0x57c6fe=await createTDXInstance(_0xa8acd5),_0x319c79=await _0x2d85d7['run']({'options':{..._0xa8acd5,..._0x409c7a},'args':[_0x2f50a5],'tdx':_0x57c6fe});process[_0x1dc561(0x28a)](_0x319c79);}),agentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2b5))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x34d))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x349),'System\x20prompt/instructions\x20(default:\x20empty)')[a2_0x4bfcb6(0x366)]('--model\x20<name>',a2_0x4bfcb6(0x311),a2_0x4bfcb6(0x2b1))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x24a),a2_0x4bfcb6(0x207))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x28c),a2_0x4bfcb6(0x1e1),'4')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x39e),'Temperature\x20(0.0-2.0,\x20default:\x200.7)','0.7')['action'](async(_0x4d5758,_0x5a3745)=>{const _0x8122d3=a2_0x4bfcb6,_0x569184=new LLMAgentCreateCommand(),_0x8f10fe=program[_0x8122d3(0x385)](),_0x128d4a=await createTDXInstance(_0x8f10fe),_0x4e25ce=await _0x569184[_0x8122d3(0x297)]({'options':{..._0x8f10fe,..._0x5a3745},'args':[_0x4d5758],'tdx':_0x128d4a});process['exit'](_0x4e25ce);}),agentCmd['command'](a2_0x4bfcb6(0x339))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x1f6))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1ee),'Agent\x20name')['option']('--prompt\x20<text>',a2_0x4bfcb6(0x263))[a2_0x4bfcb6(0x366)]('--description\x20<text>',a2_0x4bfcb6(0x288))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x24a),a2_0x4bfcb6(0x207))[a2_0x4bfcb6(0x2c6)](async(_0x5f121b,_0x242815)=>{const _0x21c46b=a2_0x4bfcb6,_0x1e2dce=new LLMAgentUpdateCommand(),_0x52d508=program[_0x21c46b(0x385)](),_0x35e118=await createTDXInstance(_0x52d508),_0x413e94=await _0x1e2dce[_0x21c46b(0x297)]({'options':{..._0x52d508,..._0x242815},'args':[_0x5f121b],'tdx':_0x35e118});process[_0x21c46b(0x28a)](_0x413e94);}),agentCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x256))['description'](a2_0x4bfcb6(0x1ec))[a2_0x4bfcb6(0x2c6)](async(_0x4be464,_0xfd2afc)=>{const _0x24a247=a2_0x4bfcb6,_0xa6b339=new LLMAgentDeleteCommand(),_0x1cc3cc=program[_0x24a247(0x385)](),_0xde8bd5=await createTDXInstance(_0x1cc3cc),_0x46524c=await _0xa6b339[_0x24a247(0x297)]({'options':{..._0x1cc3cc,..._0xfd2afc},'args':[_0x4be464],'tdx':_0xde8bd5});process[_0x24a247(0x28a)](_0x46524c);}),llmCmd['command'](a2_0x4bfcb6(0x1da))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2ee))['option'](a2_0x4bfcb6(0x372),a2_0x4bfcb6(0x214))[a2_0x4bfcb6(0x2c6)](async(_0x513f5e,_0x368663)=>{const _0x304bff=a2_0x4bfcb6,_0x16a245=new LLMHistoryCommand(),_0x373622=program['opts'](),_0x236485=await createTDXInstance(_0x373622),_0x59a650=await _0x16a245[_0x304bff(0x297)]({'options':{..._0x373622,..._0x368663},'args':_0x513f5e?[_0x513f5e]:[],'tdx':_0x236485});process['exit'](_0x59a650);}),llmCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x356))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x228))[a2_0x4bfcb6(0x366)]('--port\x20<number>',a2_0x4bfcb6(0x26e),a2_0x4bfcb6(0x2b8))['option'](a2_0x4bfcb6(0x23f),'LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)')[a2_0x4bfcb6(0x366)]('--agent\x20<name>',a2_0x4bfcb6(0x367))[a2_0x4bfcb6(0x2c6)](async _0x2f23b8=>{const _0x5a929f=a2_0x4bfcb6,_0x43fc52=new LLMProxyCommand(),_0x238cdc=program[_0x5a929f(0x385)](),_0x10ada7=await createTDXInstance(_0x238cdc),_0x14d85d={..._0x2f23b8,'port':_0x2f23b8[_0x5a929f(0x38a)]?parseInt(_0x2f23b8[_0x5a929f(0x38a)],0xa):undefined},_0x1aefdf=await _0x43fc52['run']({'options':{..._0x238cdc,..._0x14d85d},'args':[],'tdx':_0x10ada7});process[_0x5a929f(0x28a)](_0x1aefdf);}),program['command'](a2_0x4bfcb6(0x1fa))[a2_0x4bfcb6(0x355)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy\x20(use\x20--\x20to\x20pass\x20options\x20to\x20Claude\x20Code)')['option'](a2_0x4bfcb6(0x36f),a2_0x4bfcb6(0x2f0),'sonnet')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x23d),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x4bfcb6(0x23a)]()[a2_0x4bfcb6(0x1c1)](!![])[a2_0x4bfcb6(0x1cc)](a2_0x4bfcb6(0x21e),a2_0x4bfcb6(0x215))[a2_0x4bfcb6(0x2c6)](async(_0x428cc6,_0x210cfc)=>{const _0x444ad1=a2_0x4bfcb6,_0x18ad7b=program[_0x444ad1(0x385)](),_0x66b7fc=Array['isArray'](_0x428cc6)?_0x428cc6:[];if(_0x66b7fc[0x0]==='statusline'){const _0x5f5006=new ClaudeStatuslineCommand(),_0x290446=await _0x5f5006[_0x444ad1(0x297)]({'options':{..._0x18ad7b,..._0x210cfc},'args':_0x66b7fc[_0x444ad1(0x375)](0x1),'tdx':null});process[_0x444ad1(0x28a)](_0x290446);}if(_0x66b7fc[0x0]===_0x444ad1(0x2de)){const _0x56960c=new ClaudeUsageCommand(),_0x382dec=await _0x56960c['run']({'options':{..._0x18ad7b,..._0x210cfc},'args':_0x66b7fc[_0x444ad1(0x375)](0x1),'tdx':null});process[_0x444ad1(0x28a)](_0x382dec);}const _0x5373c7=new ClaudeCommand(),_0x32c741=await createTDXInstance(_0x18ad7b),_0x361c73=await _0x5373c7[_0x444ad1(0x297)]({'options':{..._0x18ad7b,..._0x210cfc},'args':_0x66b7fc,'tdx':_0x32c741});process['exit'](_0x361c73);}),program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1cb))['description'](a2_0x4bfcb6(0x357))['option'](a2_0x4bfcb6(0x337),'Clear\x20session\x20context')[a2_0x4bfcb6(0x2c6)](async _0x17b4c3=>{const _0x4086f2=a2_0x4bfcb6,_0x143758=new ContextCommand(),_0xb133b5=program[_0x4086f2(0x385)](),_0x44d813=await _0x143758['run']({'options':{..._0xb133b5,..._0x17b4c3},'args':[],'tdx':null});process[_0x4086f2(0x28a)](_0x44d813);}),program['command'](a2_0x4bfcb6(0x36b))[a2_0x4bfcb6(0x355)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20database,\x20parent_segment,\x20llm_project,\x20profile,\x20engage_workspace)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x337),'Clear\x20session\x20context')[a2_0x4bfcb6(0x2c6)](async(_0x1d3d84,_0x17e08d,_0x447a71)=>{const _0x43d9de=a2_0x4bfcb6,_0x34f90a=new UseCommand(),_0x3c3999=program['opts'](),_0x52efdf=[];if(_0x1d3d84)_0x52efdf[_0x43d9de(0x291)](_0x1d3d84);if(_0x17e08d)_0x52efdf[_0x43d9de(0x291)](_0x17e08d);const _0x351505=await _0x34f90a[_0x43d9de(0x297)]({'options':{..._0x3c3999,..._0x447a71},'args':_0x52efdf,'tdx':null});process[_0x43d9de(0x28a)](_0x351505);}),program[a2_0x4bfcb6(0x27e)]('chats')[a2_0x4bfcb6(0x355)]('Interactive\x20chat\x20selector')['option'](a2_0x4bfcb6(0x372),a2_0x4bfcb6(0x322))[a2_0x4bfcb6(0x2c6)](async _0x4fa465=>{const _0x19dc3e=a2_0x4bfcb6,_0xfa4ed1=new ChatsCommand(),_0x35d667=program['opts'](),_0x3a0ed7=await createTDXInstance(_0x35d667),_0x3ebff6=await _0xfa4ed1[_0x19dc3e(0x297)]({'options':{..._0x35d667,..._0x4fa465},'args':[],'tdx':_0x3a0ed7});process[_0x19dc3e(0x28a)](_0x3ebff6);});const authCmd=program[a2_0x4bfcb6(0x27e)]('auth')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2e7));async function runAuthStatusCommand(_0x211fe5){const _0x228b26=a2_0x4bfcb6,_0x247999=new AuthStatusCommand(),_0x4a970c=program['opts'](),_0x571a0f=await createTDXInstance(_0x4a970c),_0x53c371=await _0x247999[_0x228b26(0x297)]({'options':{..._0x4a970c,..._0x211fe5},'args':[],'tdx':_0x571a0f});process[_0x228b26(0x28a)](_0x53c371);}authCmd['action'](runAuthStatusCommand),authCmd['command'](a2_0x4bfcb6(0x325))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2d2))[a2_0x4bfcb6(0x2c6)](runAuthStatusCommand),authCmd['command']('setup')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2bd))[a2_0x4bfcb6(0x1cc)](a2_0x4bfcb6(0x21e),a2_0x4bfcb6(0x394))[a2_0x4bfcb6(0x2c6)](async _0x30755e=>{const _0x4a2c89=a2_0x4bfcb6,_0x2b3ed2=new AuthSetupCommand(),_0x84ae7c=program[_0x4a2c89(0x385)](),_0x287d22=await createTDXInstance(_0x84ae7c),_0x51d66d=await _0x2b3ed2['run']({'options':{..._0x84ae7c,..._0x30755e},'args':[],'tdx':_0x287d22});process[_0x4a2c89(0x28a)](_0x51d66d);}),authCmd[a2_0x4bfcb6(0x27e)]('clear')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x211))[a2_0x4bfcb6(0x1cc)](a2_0x4bfcb6(0x21e),a2_0x4bfcb6(0x30d))[a2_0x4bfcb6(0x2c6)](async _0x797e93=>{const _0x294ca0=a2_0x4bfcb6,_0x10bbc3=new AuthClearCommand(),_0x5071c6=program['opts'](),_0x256f6c=await _0x10bbc3[_0x294ca0(0x297)]({'options':{..._0x5071c6,..._0x797e93},'args':[],'tdx':null});process[_0x294ca0(0x28a)](_0x256f6c);}),program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x254))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x31e))[a2_0x4bfcb6(0x2c6)](async _0x8013b6=>{const _0x3cd4cd=a2_0x4bfcb6,_0x491c7c=new ProfilesCommand(),_0x2c2d10=program[_0x3cd4cd(0x385)](),_0x38fee9=await _0x491c7c[_0x3cd4cd(0x297)]({'options':{..._0x2c2d10,..._0x8013b6},'args':[],'tdx':null});process['exit'](_0x38fee9);});const engageCmd=program[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1eb))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x365)),createEngageAction=_0x44a98c=>{return async(_0x1a434c,_0x587d3c)=>{const _0x4c201a=a2_0x5c13,_0x3dbb46=new _0x44a98c(),_0x198ce5=program['opts'](),_0x2fd4ec=await createTDXInstance(_0x198ce5),_0x37a488=await _0x3dbb46['run']({'options':{..._0x198ce5,..._0x587d3c},'args':[_0x1a434c],'tdx':_0x2fd4ec});process[_0x4c201a(0x28a)](_0x37a488);};},createEngageNoArgAction=_0x1a89a3=>{return async _0x326a0d=>{const _0xe9cfef=a2_0x5c13,_0x498065=new _0x1a89a3(),_0x12003e=program[_0xe9cfef(0x385)](),_0x28491a=await createTDXInstance(_0x12003e),_0x4dcbc4=await _0x498065[_0xe9cfef(0x297)]({'options':{..._0x12003e,..._0x326a0d},'args':[],'tdx':_0x28491a});process['exit'](_0x4dcbc4);};},campaignCmd=engageCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x39f))['description']('Campaign\x20management'),campaignListAction=async(_0x470ba2,_0x4077bf)=>{const _0x4c71a9=a2_0x4bfcb6,_0x15c98d=new EngageCampaignsCommand(),_0x463fac=program['opts'](),_0x254cc2=await createTDXInstance(_0x463fac),_0x46e7b7=await _0x15c98d[_0x4c71a9(0x297)]({'options':{..._0x463fac,..._0x4077bf},'args':_0x470ba2?[_0x470ba2]:[],'tdx':_0x254cc2});process['exit'](_0x46e7b7);};campaignCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x281))['description'](a2_0x4bfcb6(0x346))[a2_0x4bfcb6(0x366)]('--type\x20<type>',a2_0x4bfcb6(0x3a5))['option'](a2_0x4bfcb6(0x2e5),a2_0x4bfcb6(0x37c))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x23b),a2_0x4bfcb6(0x2f2))[a2_0x4bfcb6(0x2c6)](campaignListAction),engageCmd['command'](a2_0x4bfcb6(0x1e7))[a2_0x4bfcb6(0x355)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x3a3),a2_0x4bfcb6(0x3a5))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2e5),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')['option'](a2_0x4bfcb6(0x23b),a2_0x4bfcb6(0x2f2))[a2_0x4bfcb6(0x2c6)](campaignListAction),campaignCmd[a2_0x4bfcb6(0x27e)]('show\x20<name-or-id>')[a2_0x4bfcb6(0x355)]('Show\x20campaign\x20details')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x23b),'Workspace\x20name')['option'](a2_0x4bfcb6(0x303),a2_0x4bfcb6(0x368))[a2_0x4bfcb6(0x2c6)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x4bfcb6(0x27e)]('create')['description'](a2_0x4bfcb6(0x227))['requiredOption'](a2_0x4bfcb6(0x30a),a2_0x4bfcb6(0x27f))['requiredOption'](a2_0x4bfcb6(0x3a3),a2_0x4bfcb6(0x359))['option'](a2_0x4bfcb6(0x23b),a2_0x4bfcb6(0x25d))[a2_0x4bfcb6(0x366)]('--description\x20<desc>',a2_0x4bfcb6(0x29c))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x20c),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x4bfcb6(0x366)]('--email-sender-id\x20<id>',a2_0x4bfcb6(0x1ff))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2f4),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2cf),a2_0x4bfcb6(0x1dc))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1c4),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x21d))[a2_0x4bfcb6(0x355)]('Update\x20a\x20campaign')[a2_0x4bfcb6(0x366)]('--workspace\x20<name>',a2_0x4bfcb6(0x2f2))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x30a),a2_0x4bfcb6(0x313))[a2_0x4bfcb6(0x366)]('--description\x20<desc>','Campaign\x20description')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x20c),a2_0x4bfcb6(0x1f8))[a2_0x4bfcb6(0x366)]('--email-sender-id\x20<id>',a2_0x4bfcb6(0x1ff))[a2_0x4bfcb6(0x366)]('--json-columns\x20<cols>',a2_0x4bfcb6(0x237))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x2cf),a2_0x4bfcb6(0x1dc))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x1c4),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x4bfcb6(0x2c6)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1fb))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x225))['option'](a2_0x4bfcb6(0x23b),a2_0x4bfcb6(0x2f2))[a2_0x4bfcb6(0x366)]('--yes',a2_0x4bfcb6(0x2c4))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x4bfcb6(0x27e)]('launch\x20<name-or-id>')[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x253))['option'](a2_0x4bfcb6(0x23b),a2_0x4bfcb6(0x2f2))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x255))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x384))[a2_0x4bfcb6(0x366)]('--workspace\x20<name>','Workspace\x20name')[a2_0x4bfcb6(0x2c6)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x294))['description']('Resume\x20a\x20paused\x20campaign')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x23b),a2_0x4bfcb6(0x2f2))[a2_0x4bfcb6(0x2c6)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x278))['description'](a2_0x4bfcb6(0x26c))[a2_0x4bfcb6(0x366)]('--workspace\x20<name>',a2_0x4bfcb6(0x2f2))[a2_0x4bfcb6(0x2c6)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x31a))[a2_0x4bfcb6(0x355)]('Email\x20template\x20management'),templateListAction=async(_0x33b7e9,_0x253951)=>{const _0x42096d=a2_0x4bfcb6,_0x5e701e=new EngageTemplatesCommand(),_0x32a931=program['opts'](),_0x5aeb25=await createTDXInstance(_0x32a931),_0x1cf4ef=await _0x5e701e['run']({'options':{..._0x32a931,..._0x253951},'args':_0x33b7e9?[_0x33b7e9]:[],'tdx':_0x5aeb25});process[_0x42096d(0x28a)](_0x1cf4ef);};templateCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x281))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x231))['option']('--workspace\x20<name>',a2_0x4bfcb6(0x2f2))[a2_0x4bfcb6(0x2c6)](templateListAction),engageCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x266))[a2_0x4bfcb6(0x355)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x23b),'Workspace\x20name')[a2_0x4bfcb6(0x2c6)](templateListAction),templateCmd['command'](a2_0x4bfcb6(0x265))[a2_0x4bfcb6(0x355)]('Show\x20email\x20template\x20details')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x23b),a2_0x4bfcb6(0x2f2))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x303),a2_0x4bfcb6(0x368))[a2_0x4bfcb6(0x2c6)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2e9))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2f1))['requiredOption'](a2_0x4bfcb6(0x30a),a2_0x4bfcb6(0x386))[a2_0x4bfcb6(0x28f)](a2_0x4bfcb6(0x25e),'Email\x20subject\x20template')[a2_0x4bfcb6(0x28f)]('--html\x20<html>',a2_0x4bfcb6(0x374))['option'](a2_0x4bfcb6(0x23b),a2_0x4bfcb6(0x25d))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x352),a2_0x4bfcb6(0x310))[a2_0x4bfcb6(0x366)]('--editor-type\x20<type>',a2_0x4bfcb6(0x276))[a2_0x4bfcb6(0x2c6)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x21d))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x38e))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x23b),'Workspace\x20name')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x30a),'New\x20template\x20name')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x25e),a2_0x4bfcb6(0x20a))[a2_0x4bfcb6(0x366)]('--html\x20<html>','HTML\x20template\x20content')['option']('--plaintext\x20<text>',a2_0x4bfcb6(0x310))[a2_0x4bfcb6(0x2c6)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1fb))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x373))[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x23b),a2_0x4bfcb6(0x2f2))['option'](a2_0x4bfcb6(0x319),a2_0x4bfcb6(0x2c4))[a2_0x4bfcb6(0x2c6)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2dc))[a2_0x4bfcb6(0x355)]('Workspace\x20management'),workspaceListAction=async(_0x53bc4f,_0x31d0a1)=>{const _0xb93d39=a2_0x4bfcb6,_0x13ae07=new EngageWorkspacesCommand(),_0x4d0d1b=program[_0xb93d39(0x385)](),_0x34745a=await createTDXInstance(_0x4d0d1b),_0x445dbd=await _0x13ae07[_0xb93d39(0x297)]({'options':{..._0x4d0d1b,..._0x31d0a1},'args':_0x53bc4f?[_0x53bc4f]:[],'tdx':_0x34745a});process['exit'](_0x445dbd);};workspaceCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x281))['description']('List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x4bfcb6(0x2c6)](workspaceListAction),engageCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x206))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2a4))[a2_0x4bfcb6(0x2c6)](workspaceListAction),workspaceCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x265))[a2_0x4bfcb6(0x355)]('Show\x20workspace\x20details')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x303),a2_0x4bfcb6(0x368))['action'](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x2e9))['description'](a2_0x4bfcb6(0x212))[a2_0x4bfcb6(0x28f)](a2_0x4bfcb6(0x30a),'Workspace\x20name')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x261),a2_0x4bfcb6(0x25c))[a2_0x4bfcb6(0x2c6)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x4bfcb6(0x21d))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2bb))['option']('--name\x20<name>','New\x20workspace\x20name')[a2_0x4bfcb6(0x366)](a2_0x4bfcb6(0x261),'Workspace\x20description')['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x1fb))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x2b6))['option']('--yes','Skip\x20confirmation\x20prompt')[a2_0x4bfcb6(0x2c6)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x4bfcb6(0x27e)](a2_0x4bfcb6(0x309))[a2_0x4bfcb6(0x355)](a2_0x4bfcb6(0x234))['action'](createEngageAction(EngageWorkspaceUseCommand));export{program};export function runCLI(){const _0x33701d=a2_0x4bfcb6;program[_0x33701d(0x326)](process[_0x33701d(0x232)]);!process[_0x33701d(0x232)][_0x33701d(0x375)](0x2)[_0x33701d(0x205)]&&program['outputHelp']();const _0x30933c=packageJson[_0x33701d(0x37d)];process[_0x33701d(0x2ff)][_0x33701d(0x264)]&&process[_0x33701d(0x232)]['length']>0x2&&!_0x30933c[_0x33701d(0x26a)]('.dev')&&checkForUpdate(_0x30933c)[_0x33701d(0x383)](_0x565e58=>{_0x565e58&&displayUpdateNotification(_0x565e58);})[_0x33701d(0x22a)](()=>{});}
|