@treasuredata/tdx 0.25.8 → 0.26.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.
Files changed (167) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.js +1 -1
  5. package/dist/commands/activations.js +1 -1
  6. package/dist/commands/agent-command.js +1 -1
  7. package/dist/commands/agent-test-command.js +1 -1
  8. package/dist/commands/api-command.js +1 -1
  9. package/dist/commands/auth-command.js +1 -1
  10. package/dist/commands/chat-command.js +1 -1
  11. package/dist/commands/claude-command.js +1 -1
  12. package/dist/commands/claude-statusline-command.js +1 -1
  13. package/dist/commands/claude-usage-command.js +1 -1
  14. package/dist/commands/command.js +1 -1
  15. package/dist/commands/connection-command.js +1 -1
  16. package/dist/commands/databases.js +1 -1
  17. package/dist/commands/describe.js +1 -1
  18. package/dist/commands/engage-command.js +1 -1
  19. package/dist/commands/job-command.js +1 -1
  20. package/dist/commands/journey-command.js +1 -1
  21. package/dist/commands/journey-validate-command.js +1 -1
  22. package/dist/commands/llm-command.js +1 -1
  23. package/dist/commands/mcp-command.js +1 -1
  24. package/dist/commands/parent-segment-command.js +1 -1
  25. package/dist/commands/profile-command.js +1 -1
  26. package/dist/commands/profiles-command.js +1 -1
  27. package/dist/commands/query-command.js +1 -1
  28. package/dist/commands/schedule-command.js +1 -1
  29. package/dist/commands/segment-command.js +1 -1
  30. package/dist/commands/segment-create-command.js +1 -1
  31. package/dist/commands/segment-fields-command.js +1 -1
  32. package/dist/commands/segment-pull-command.js +1 -1
  33. package/dist/commands/segment-push-command.js +1 -1
  34. package/dist/commands/segment-update-command.js +1 -1
  35. package/dist/commands/segment-use-command.js +1 -1
  36. package/dist/commands/segment-validate-command.js +1 -1
  37. package/dist/commands/segments.js +1 -1
  38. package/dist/commands/show.js +1 -1
  39. package/dist/commands/status-command.js +1 -1
  40. package/dist/commands/tables.js +1 -1
  41. package/dist/commands/unset-command.js +1 -1
  42. package/dist/commands/use-command.js +1 -1
  43. package/dist/commands/user-command.js +1 -1
  44. package/dist/commands/workflow-command.js +1 -1
  45. package/dist/core/auth.js +1 -1
  46. package/dist/core/command-output.js +1 -1
  47. package/dist/core/config.js +1 -1
  48. package/dist/core/connection-cache.js +1 -1
  49. package/dist/core/constants.js +1 -1
  50. package/dist/core/credential-cache.js +1 -1
  51. package/dist/core/global-context.js +1 -1
  52. package/dist/core/keychain.js +1 -1
  53. package/dist/core/profile.js +1 -1
  54. package/dist/core/project-config.js +1 -1
  55. package/dist/core/session.js +1 -1
  56. package/dist/core/user-cache.js +1 -1
  57. package/dist/core/version.js +1 -1
  58. package/dist/index.js +1 -1
  59. package/dist/mcp/server.js +1 -1
  60. package/dist/mcp/tools/index.js +1 -1
  61. package/dist/mcp/tools/tdx-run.js +1 -1
  62. package/dist/mcp/tools/tdx-search.js +1 -1
  63. package/dist/mcp/utils.js +1 -1
  64. package/dist/proxy/claude-usage-tracker.js +1 -1
  65. package/dist/proxy/passthrough-server.js +1 -1
  66. package/dist/proxy/sse-usage-parser.js +1 -1
  67. package/dist/sdk/agent/agent-config.js +1 -1
  68. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  69. package/dist/sdk/agent/agent-yaml.js +1 -1
  70. package/dist/sdk/agent/test/evaluator.js +1 -1
  71. package/dist/sdk/agent/test/executor.js +1 -1
  72. package/dist/sdk/agent/test/index.js +1 -1
  73. package/dist/sdk/agent/test/output.js +1 -1
  74. package/dist/sdk/agent/test/parser.js +1 -1
  75. package/dist/sdk/api.js +1 -1
  76. package/dist/sdk/client/cdp-api-client.js +1 -1
  77. package/dist/sdk/client/endpoints.js +1 -1
  78. package/dist/sdk/client/engage-api-client.js +1 -1
  79. package/dist/sdk/client/http-client.js +1 -1
  80. package/dist/sdk/client/llm-api-client.js +1 -1
  81. package/dist/sdk/client/rate-limiter.js +1 -1
  82. package/dist/sdk/client/td-api-client.js +1 -1
  83. package/dist/sdk/client/trino-api-client.js +1 -1
  84. package/dist/sdk/client/workflow-client.js +1 -1
  85. package/dist/sdk/connection-validator.js +1 -1
  86. package/dist/sdk/connection.js +1 -1
  87. package/dist/sdk/engage.js +1 -1
  88. package/dist/sdk/errors.js +1 -1
  89. package/dist/sdk/index.js +1 -1
  90. package/dist/sdk/io/index.js +1 -1
  91. package/dist/sdk/io/node-filesystem.js +1 -1
  92. package/dist/sdk/job.js +1 -1
  93. package/dist/sdk/journey.js +1 -1
  94. package/dist/sdk/llm/chat-cache.js +1 -1
  95. package/dist/sdk/llm/index.js +1 -1
  96. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  97. package/dist/sdk/llm/model-factors.js +1 -1
  98. package/dist/sdk/personalization.js +1 -1
  99. package/dist/sdk/query/index.js +1 -1
  100. package/dist/sdk/query/sql-parser.js +1 -1
  101. package/dist/sdk/realtime.js +1 -1
  102. package/dist/sdk/schedule.js +1 -1
  103. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  104. package/dist/sdk/segment/fields-display.js +1 -1
  105. package/dist/sdk/segment/file-discovery.js +1 -1
  106. package/dist/sdk/segment/journey-utils.js +1 -1
  107. package/dist/sdk/segment/journey-validator.js +1 -1
  108. package/dist/sdk/segment/journey-yaml.js +1 -1
  109. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  110. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  111. package/dist/sdk/segment/pull-workflow.js +1 -1
  112. package/dist/sdk/segment/push-recovery.js +1 -1
  113. package/dist/sdk/segment/push-workflow.js +1 -1
  114. package/dist/sdk/segment/resolution-context.js +1 -1
  115. package/dist/sdk/segment/segment-path-parser.js +1 -1
  116. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  117. package/dist/sdk/segment/target-resolution.js +1 -1
  118. package/dist/sdk/segment/tdx-config.js +1 -1
  119. package/dist/sdk/segment/validate-files.js +1 -1
  120. package/dist/sdk/segment/yaml-validator.js +1 -1
  121. package/dist/sdk/segment.js +1 -1
  122. package/dist/sdk/types/index.js +1 -1
  123. package/dist/sdk/types/progress.js +1 -1
  124. package/dist/sdk/user.js +1 -1
  125. package/dist/sdk/util/format-detector.js +1 -1
  126. package/dist/sdk/util/formatters.js +1 -1
  127. package/dist/sdk/util/index.js +1 -1
  128. package/dist/sdk/util/tree-formatter.js +1 -1
  129. package/dist/sdk/workflow/archive-validation.js +1 -1
  130. package/dist/sdk/workflow/clone-workflow.js +1 -1
  131. package/dist/sdk/workflow/index.js +1 -1
  132. package/dist/sdk/workflow/pull-workflow.js +1 -1
  133. package/dist/sdk/workflow/push-workflow.js +1 -1
  134. package/dist/sdk/workflow/tdx-config.js +1 -1
  135. package/dist/sdk/workflow/workflow-utils.js +1 -1
  136. package/dist/test-utils/command-runner.js +1 -1
  137. package/dist/test-utils/factories.js +1 -1
  138. package/dist/test-utils/fixtures.js +1 -1
  139. package/dist/test-utils/http-mock.js +1 -1
  140. package/dist/test-utils/index.js +1 -1
  141. package/dist/utils/async.js +1 -1
  142. package/dist/utils/colors.js +1 -1
  143. package/dist/utils/diff.js +1 -1
  144. package/dist/utils/file-permissions.js +1 -1
  145. package/dist/utils/global-cache.js +1 -1
  146. package/dist/utils/json-loader.js +1 -1
  147. package/dist/utils/local-cache.js +1 -1
  148. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  149. package/dist/utils/logger/formatters/index.js +1 -1
  150. package/dist/utils/logger/handlers/console-handler.js +1 -1
  151. package/dist/utils/logger/handlers/file-handler.js +1 -1
  152. package/dist/utils/logger/handlers/index.js +1 -1
  153. package/dist/utils/logger/handlers/null-handler.js +1 -1
  154. package/dist/utils/logger/index.js +1 -1
  155. package/dist/utils/logger/logger.js +1 -1
  156. package/dist/utils/logger/types.js +1 -1
  157. package/dist/utils/option-validation.js +1 -1
  158. package/dist/utils/port.js +1 -1
  159. package/dist/utils/process.js +1 -1
  160. package/dist/utils/prompt.js +1 -1
  161. package/dist/utils/spinner.js +1 -1
  162. package/dist/utils/sse-parser.js +1 -1
  163. package/dist/utils/string-utils.js +1 -1
  164. package/dist/utils/table-ref-parser.js +1 -1
  165. package/dist/utils/tdx-logger.js +1 -1
  166. package/dist/utils/version-check.js +1 -1
  167. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x475355=a2_0x4e0b;(function(_0x88c8a0,_0x19dd36){const _0x4f2647=a2_0x4e0b,_0x1881e0=_0x88c8a0();while(!![]){try{const _0x406032=-parseInt(_0x4f2647(0x2d5))/0x1+parseInt(_0x4f2647(0x3c9))/0x2*(parseInt(_0x4f2647(0x24f))/0x3)+-parseInt(_0x4f2647(0x311))/0x4+-parseInt(_0x4f2647(0x32a))/0x5*(parseInt(_0x4f2647(0x27c))/0x6)+-parseInt(_0x4f2647(0x2c9))/0x7+-parseInt(_0x4f2647(0x21f))/0x8*(parseInt(_0x4f2647(0x221))/0x9)+parseInt(_0x4f2647(0x2b0))/0xa*(parseInt(_0x4f2647(0x3a8))/0xb);if(_0x406032===_0x19dd36)break;else _0x1881e0['push'](_0x1881e0['shift']());}catch(_0x21f80b){_0x1881e0['push'](_0x1881e0['shift']());}}}(a2_0x4013,0x41cf0));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';function a2_0x4013(){const _0x24d345=['describe','padWidth','Show\x20master\x20table\x20sample\x20data','--output\x20<file>','Workflow\x20parameter\x20(repeatable)','auth','Skip\x20confirmation\x20prompt','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Skip\x20population\x20counting','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Delay\x20in\x20seconds\x20before\x20execution','test\x20[path]','Delete\x20a\x20workspace','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','argv','Update\x20a\x20campaign','campaign','unset\x20<resource>','addHelpText','415pUvnrv','List\x20available\x20LLM\x20models','Set\x20or\x20show\x20parent\x20segment\x20context','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','Maximum\x20recursion\x20depth\x20(default:\x2010)','Options:','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','--agent\x20<ref>','--stream','set','Email\x20sender\x20ID\x20for\x20delivery','connections','-d,\x20--database\x20<database>','Directory\x20does\x20not\x20exist:\x20','help','AI-native\x20CLI\x20for\x20Treasure\x20Data','colorFn','workflow','Database\x20to\x20query\x20(default:\x20information_schema)','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','argumentTerm','create\x20<segment_name>','--html\x20<html>','CDP\x20segment\x20management\x20commands','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','create\x20<name>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--no-color','update\x20<name>','opts','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Workflow\x20project\x20management','--jsonl','Customer\x20group\x20as\x20JSON\x20string','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','TRACE','api\x20[endpoint]','Data\x20connection\x20management\x20(for\x20activations/exports)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Save\x20output\x20to\x20file','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','argument','--folder\x20<name>','--name\x20<name>','Action:\x20logs,\x20tasks,\x20kill,\x20retry','-w,\x20--web','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','list','Delete\x20an\x20agent','Preview\x20without\x20creating\x20the\x20project','delete\x20<args...>','filter','Timezone\x20for\x20cron','jobs','Push\x20without\x20confirmation','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Agent\x20description','Segment\x20description','-r,\x20--resume','Run\x20tests\x20for\x20an\x20LLM\x20agent','tasks','--reeval','Workflow\x20attempt\x20management','command','show\x20[table]','Output\x20as\x20JSON\x20Lines','name','Resume\x20from\x20specific\x20task\x20(retry)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--resume-from\x20<task>','commands','show\x20<agent-name>','Show\x20journey\x20details','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Resume\x20a\x20conversation\x20(shows\x20selector)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','--params\x20<json>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','--last','profile','-r,\x20--recursive','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','--in\x20<name>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Show\x20journey\x20statistics','List\x20all\x20available\x20profiles','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Behaviors\x20as\x20JSON\x20string','chats','Include\x20retried\x20attempts\x20(for\x20list)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','alias','--type\x20<api_type>','Show\x20email\x20template\x20details','--customer-group\x20<json>','--master','catch','run\x20[name]','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Force\x20retry\x20even\x20if\x20not\x20failed','clone\x20[source]','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','delete\x20<name>','gitRevision','fields\x20[name]','--no-count-population','Duplicate\x20a\x20campaign','show\x20<name-or-id>','agents\x20[pattern]','Include\x20subtasks\x20in\x20tasks\x20output','stdout','--to\x20<n>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Parent\x20folder\x20name\x20for\x20nested\x20folders','Export\x20journey(s)\x20as\x20YAML\x20files','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','clone\x20[source-dir]','--description\x20<desc>','41569lYXSPE','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','\x20-\x20built\x20','--num\x20<1-10>',',\x20version\x20','preview\x20[name]','-c,\x20--continue','--add-behaviors-file\x20<file>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Add\x20behaviors\x20from\x20JSON\x20file','required','--reason\x20<text>','--behavior\x20[name]','argumentDescription','Include\x20retried\x20attempts','fields\x20[parent_name]','run\x20[workflow]','retry\x20<session-id>','create\x20[name]','Workspace\x20description','-1d','-H,\x20--header\x20<header>','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Campaign\x20name','Show\x20campaign\x20details','-C,\x20--directory\x20<path>','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','[options]\x20--\x20[claude-code-args...]','restore\x20<folder>','--database\x20<db>','join','178iVnphM','Workspace\x20name','--to\x20<timestamp>','Attempt\x20ID','--max-tool-iterations\x20<n>','attempt','Output\x20directory','-d,\x20--database\x20<name>','Attributes\x20as\x20JSON\x20string','Update\x20a\x20workspace','Maximum\x20tool\x20iterations\x20(default:\x204)','GET','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','Update\x20an\x20email\x20template','--schedule-option\x20<value>','CDP\x20Journey\x20Orchestration\x20commands','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','-o,\x20--output\x20<dir>','forEach','Describe\x20table\x20schema','Show\x20schedule\x20execution\x20history','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','--revision\x20<revision>','-d,\x20--database\x20<db>','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','attempt:','includes','campaigns\x20[pattern]','Show\x20agent\x20details','Result\x20output\x20destination\x20URL','-o,\x20--output\x20<file>','Arguments:','databases\x20[pattern]','--clear','Read\x20SQL\x20query\x20from\x20file','--timeout\x20<seconds>','Custom\x20revision\x20name\x20(default:\x20timestamp)','noColor','--engine-version\x20<version>','mcp','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','validate\x20[name]','subcommandTerm','format','Pull\x20workflow\x20project\x20to\x20local\x20folder','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','delete\x20<name-or-id>','--result\x20<url>','-f,\x20--force','history\x20<name>','--segment\x20<path>','commandUsage','--include-stats','0.7','after','LLM\x20project\x20management','isDirectory','--email-sender-id\x20<id>','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','--follow','--limit\x20<number>','--start-at\x20<datetime>','--stage\x20<name>','list\x20[name]','Create\x20a\x20scheduled\x20query','requiredOption','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','templates\x20[pattern]','push\x20[path]','Folder\x20description','us01','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','--attempt-id\x20<id>','--full','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Trino\x20catalog\x20(default:\x20td)','--dry-run','--no-proxy','information_schema','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Unknown\x20action:\x20','\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','--subject\x20<subject>','List\x20all\x20users\x20in\x20the\x20account','get','Open\x20parent\x20segment\x20in\x20web\x20browser','tdx\x20','preAction','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Create\x20a\x20new\x20LLM\x20project','Show\x20authentication\x20status\x20and\x20current\x20context','describe\x20[table]','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','update\x20<agent-name>','Create\x20an\x20email\x20template','push\x20[file]','Create\x20segment\x20folder','trino','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','List\x20agents\x20in\x20current\x20project','Workspace\x20name\x20(required)','logLevel','buildTime','show\x20[segment_name]','list\x20[pattern]','Start\x20a\x20new\x20chat\x20session','--kind\x20<type>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','--llm-project\x20<name>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','parse','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Database\x20name\x20(default:\x20information_schema)','claude-4.5-sonnet','Email\x20template\x20management','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Workflow\x20(Digdag)\x20management\x20commands','json','query\x20[sql]','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','--json','submit\x20[query]','--attribute\x20[name]','--cron\x20<expression>','--starter-message\x20<text>','--timezone\x20<tz>','tsv','Updated\x20description','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','users','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Behaviors\x20from\x20JSON\x20file','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','show\x20<folder_ref>','use\x20<name>','exit','--priority\x20<-2~2>','map','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','error','slice','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','option','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','delete\x20<agent-name>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','pause\x20<name-or-path>','Master\x20table\x20name','folders\x20<parent_name>','log','Run\x20Trino\x20query\x20with\x20streaming\x20results','workflows\x20[project]','\x20(resolved\x20to\x20','grapesjs','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','-v,\x20--verbose','--chat-id\x20<id>','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','update\x20<segment_name>','hidden','Agent\x20prompt/instructions','jsonl','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Manage\x20workflow\x20project\x20secrets','Starter\x20message','engage','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','pull\x20[project]\x20[agent-name]','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','--delete','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Campaign\x20description','LLM\x20agent\x20management','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','info\x20[segment_name]','--trace','beefree','Show\x20segment\x20schema\x20(column\x20types)','--name\x20<names>','length','--tags\x20<tags>','preview\x20[file]','--session\x20<id>','--invisible','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Output\x20file\x20path','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Pause\x20a\x20campaign','description','Parse\x20and\x20validate\x20without\x20executing','user','Usage:\x20','--description\x20<text>','desc\x20[segment_name]','use\x20<path>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Master\x20database\x20name','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','--default','view\x20<name-or-path>','clear','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','remove\x20<name>','download\x20<project-name>\x20[output-dir]','--attributes\x20<json>','allowExcessArguments','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','models','Pause\x20a\x20running\x20journey','-y,\x20--yes','New\x20workspace\x20name','view\x20[segment_name]','Job\x20management\x20commands','--max-depth\x20<depth>','Preview\x20changes\x20without\x20writing\x20files','User\x20management\x20commands','Output\x20as\x20JSON','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','options','_hidden','Make\x20segment\x20invisible\x20(default:\x20visible)','Show\x20the\x20most\x20recent\x20chat','setup','status','Show\x20workspace\x20details','8HnnFiz','--name\x20<new-name>','3383550OESYtt','timeline\x20[project.workflow]','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--include-retried','--parent-folder\x20<name>','--yes','update\x20<name-or-id>','view\x20[name]','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','--behaviors\x20<json>','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','list\x20[project]','subcommandDescription','pull\x20[name]','--editor-type\x20<type>','Job\x20priority\x20(-2\x20to\x202)','Read\x20query\x20from\x20file','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','allowUnknownOption','Enable\x20verbose\x20logging','HTML\x20template\x20content','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','Run\x20specific\x20tests\x20(comma-separated)','Create\x20a\x20new\x20campaign','agent','Attributes\x20from\x20JSON\x20file','table','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','directory','Open\x20journey\x20in\x20web\x20browser','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--retry-limit\x20<0~32>','show\x20<name>','Show\x20only\x20master\x20table\x20validation','registeredArguments','RT\x202.0\x20configuration\x20management','--type\x20<type>','--rule-file\x20<file>','Set\x20operation\x20timeout\x20in\x20seconds','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','--site\x20<site>','--name\x20<new_name>','6126lcyUQg','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','connection','Show\x20stats\x20for\x20specific\x20stage','--enriched','--json-columns\x20<cols>','Personalization\x20service\x20management','validate\x20[target]','resume\x20<name-or-path>','Setup\x20API\x20key\x20authentication\x20interactively','Scheduled\x20query\x20management\x20commands','types','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','configureHelp','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','stats\x20<name-or-path>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','Starting\x20offset\x20(default:\x200)','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','then','workspaces\x20[pattern]','Create\x20a\x20new\x20profile','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','-u,\x20--use','create','result\x20<job-id>','Workflow\x20session\x20management','--temperature\x20<n>','--catalog\x20<catalog>','--rule\x20<json>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','sessions\x20[project]','Update\x20an\x20existing\x20agent','job','[DEPRECATED]\x20Segment\x20folder\x20management','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','init\x20[name]','site','--force','Ending\x20offset\x20(default:\x2020)','backup\x20<name>','Plaintext\x20template\x20content','outputHelp','database','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','5634VtJYlJ','stderr','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','parent_segment','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','--session-id\x20<id>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','kill','Preview\x20changes\x20without\x20pushing','push\x20[name]','logs','Delete\x20an\x20LLM\x20project','push\x20[target]','pause\x20<name-or-id>','repeat','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','run\x20<name>','--status\x20<status>','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','aliases','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','INVALID_ARGUMENT','--parent-segment\x20<name>','Email\x20subject\x20template','--delay\x20<seconds>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','tdx','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','INFO','segments\x20[path]','Create\x20a\x20workspace','Reason\x20for\x20killing\x20the\x20attempt','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Model\x20type\x20(default:\x20claude-4.5-sonnet)','kill\x20<job-id>','Skip\x20confirmation\x20prompts','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','attempts\x20[project]','use\x20[project]','End\x20time\x20filter\x20(ISO\x208601\x20format)','Commands:','Open\x20segment\x20in\x20web\x20browser','LLM\x20project\x20to\x20use\x20(overrides\x20context)','sql\x20[name]','push\x20[parent_or_file]','Interactive\x20chat\x20selector','history\x20[chat-id]','use\x20<project-name>','Overwrite\x20local\x20changes\x20without\x20confirmation','run','--interval\x20<range>','2270cqmsxJ','--from\x20<timestamp>','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','New\x20campaign\x20name','Skip\x20validation\x20of\x20.dig\x20files','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','trace','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','padEnd','Get\x20job\x20results','Customer\x20group\x20from\x20JSON\x20file','Launch\x20a\x20campaign','Table\x20management\x20commands','flatMap','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','--attributes-file\x20<file>','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Add\x20attributes\x20from\x20JSON\x20file','Override\x20project\x20name','--include-subtasks','-f,\x20--file\x20<path>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','\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','94731RfXUML','--database\x20<name>','Cron\x20expression\x20for\x20scheduling','Continue\x20most\x20recent\x20conversation','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--session-time\x20<time>','hook','--system-prompt\x20<text>','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Timezone\x20(e.g.,\x20America/Los_Angeles)','--color','185016FQxvZs','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Filtering\x20rule\x20from\x20JSON\x20file','Add\x20behaviors\x20as\x20JSON\x20string','--plaintext\x20<text>','--behaviors-file\x20<file>','usage','pull\x20<project>\x20[target-dir]','[task-name]','action','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','--tsv','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20an\x20email\x20template','secrets','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','Retry\x20limit\x20(0\x20to\x2032)','[attempt-id]','injectIntoOptions','workspace','Database\x20name','Start\x20time\x20filter\x20(ISO\x208601\x20format)','--in\x20<database>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','set\x20<key=value>','create\x20<parent_name>\x20<folder_name>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Show\x20segment\x20details\x20(alias\x20for\x20view)','--skip-validation','llm','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','session','Invalid\x20editor\x20type:\x20','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','isTTY','Parent\x20segment\x20description','DEBUG','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','--add-behaviors\x20<json>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Read\x20request\x20body\x20from\x20file','use\x20[resource]\x20[value]','Output\x20folder\x20(default:\x20{project_name}.llm)','journey','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','--workspace\x20<name>','Resume\x20a\x20paused\x20campaign','Database\x20management\x20commands','Alias\x20for\x20--database\x20(natural\x20language\x20style)','desc\x20[name]','Query\x20engine\x20version','-o,\x20--output\x20<folder>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Validate\x20journey\x20YAML\x20files\x20locally','Task\x20name\x20for\x20logs\x20action','470332OAQMpe','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a','push'];a2_0x4013=function(){return _0x24d345;};return a2_0x4013();}import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x475355(0x325)]['includes']('--version')){let versionOutput=a2_0x475355(0x190)+currentVersion;buildInfo[a2_0x475355(0x398)]&&!currentVersion['includes'](buildInfo[a2_0x475355(0x398)])&&(versionOutput+='\x20('+buildInfo[a2_0x475355(0x398)]+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x475355(0x3aa)+buildInfo[a2_0x475355(0x1a2)]),console[a2_0x475355(0x1d2)](versionOutput),process[a2_0x475355(0x1c4)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x475355(0x339);buildInfo[a2_0x475355(0x398)]&&!currentVersion[a2_0x475355(0x152)](buildInfo[a2_0x475355(0x398)])?description+=a2_0x475355(0x3ac)+currentVersion+'\x20('+buildInfo[a2_0x475355(0x398)]+')':description+=a2_0x475355(0x3ac)+currentVersion;program[a2_0x475355(0x36f)](a2_0x475355(0x296))[a2_0x475355(0x1fa)](description),program['option'](a2_0x475355(0x3c3),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x475355(0x1cb)]('-p,\x20--profile\x20<name>','Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x475355(0x1cb)](a2_0x475355(0x24d),a2_0x475355(0x1ca),a2_0x475355(0x180))['option']('--format\x20<format>',a2_0x475355(0x38a))[a2_0x475355(0x1cb)]('--table',a2_0x475355(0x396))[a2_0x475355(0x1cb)](a2_0x475355(0x1b5),a2_0x475355(0x32d))[a2_0x475355(0x1cb)](a2_0x475355(0x34b),a2_0x475355(0x1a7))[a2_0x475355(0x1cb)](a2_0x475355(0x2e0),a2_0x475355(0x30e))[a2_0x475355(0x1cb)](a2_0x475355(0x317),a2_0x475355(0x353))[a2_0x475355(0x1cb)](a2_0x475355(0x176),'Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)')[a2_0x475355(0x1cb)](a2_0x475355(0x2d4),'Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)',![])[a2_0x475355(0x1cb)](a2_0x475355(0x345),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a2_0x475355(0x1cb)](a2_0x475355(0x1d8),a2_0x475355(0x237),![])[a2_0x475355(0x1cb)]('--debug',a2_0x475355(0x31b))[a2_0x475355(0x1cb)](a2_0x475355(0x1ec),a2_0x475355(0x19d))['option'](a2_0x475355(0x15b),a2_0x475355(0x24b),'30')[a2_0x475355(0x1cb)]('--dry-run','Preview\x20operation\x20without\x20executing',![])[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x2a0),![])[a2_0x475355(0x1cb)](a2_0x475355(0x1f3),a2_0x475355(0x28e))[a2_0x475355(0x1cb)](a2_0x475355(0x13f),'Database\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x475355(0x381),a2_0x475355(0x308))[a2_0x475355(0x1cb)](a2_0x475355(0x292),a2_0x475355(0x197))[a2_0x475355(0x1cb)](a2_0x475355(0x1a8),a2_0x475355(0x2a7)),program[a2_0x475355(0x25c)]({'formatHelp':(_0x577231,_0x3cda1f)=>{const _0x22c4f7=a2_0x475355,_0x1b6120=_0x3cda1f[_0x22c4f7(0x315)](_0x577231,_0x3cda1f),_0x15ffa1=0x2,_0x4ec6fd=0x2;function _0x525b20(_0x23e35e){const _0x523fcf=_0x22c4f7,_0x3f9c56=_0x23e35e;return!!(_0x3f9c56[_0x523fcf(0x219)]||_0x3f9c56[_0x523fcf(0x1dc)]);}function _0x23453a(_0x172fb1,_0x581cef){const _0x2a32ee=_0x22c4f7;if(_0x581cef){const _0x3ac22c=''+_0x172fb1[_0x2a32ee(0x2b8)](_0x1b6120+_0x4ec6fd)+_0x581cef;return _0x3ac22c;}return _0x172fb1;}function _0x5da5ea(_0x4d59f9){const _0x2a6dca=_0x22c4f7;return _0x4d59f9[_0x2a6dca(0x3c8)]('\x0a')['replace'](/^/gm,'\x20'[_0x2a6dca(0x28a)](_0x15ffa1));}const _0xc48495=[];_0xc48495[_0x22c4f7(0x313)](_0x22c4f7(0x1fd)+_0x3cda1f[_0x22c4f7(0x16c)](_0x577231));const _0xc38293=_0x3cda1f['commandDescription'](_0x577231);_0xc38293&&(_0xc48495['push'](''),_0xc48495[_0x22c4f7(0x313)](_0xc38293));const _0x3a725c=_0x577231[_0x22c4f7(0x373)][_0x22c4f7(0x360)](_0x543508=>!_0x525b20(_0x543508));if(_0x3a725c[_0x22c4f7(0x1f0)]>0x0){if(_0x577231['name']()===_0x22c4f7(0x296)){const _0x51addf=_0x577231[_0x22c4f7(0x347)](),_0x179b51=!_0x51addf[_0x22c4f7(0x15d)]&&process[_0x22c4f7(0x39f)][_0x22c4f7(0x2f8)],_0x42f82b=COMMAND_CATEGORIES,_0x363a09=(_0x23c83c,_0x2e762d)=>_0x179b51?_0x2e762d(_0x23c83c):_0x23c83c,_0x56132d=new Map();_0x3a725c[_0x22c4f7(0x14a)](_0x5a8705=>{const _0x1f11c5=_0x22c4f7;_0x56132d[_0x1f11c5(0x333)](_0x5a8705['name'](),_0x5a8705);}),_0x42f82b[_0x22c4f7(0x14a)](_0x367885=>{const _0x32c56c=_0x22c4f7,_0xcceb4f=_0x367885[_0x32c56c(0x373)][_0x32c56c(0x2bd)](_0x502b1f=>_0x56132d[_0x32c56c(0x18e)](_0x502b1f)??[]);if(_0xcceb4f[_0x32c56c(0x1f0)]>0x0){_0xc48495[_0x32c56c(0x313)](''),_0xc48495['push'](_0x363a09(_0x367885[_0x32c56c(0x36f)]+':',_0x367885[_0x32c56c(0x33a)]));const _0x1a70d1=_0xcceb4f[_0x32c56c(0x1c6)](_0x16db02=>{const _0x50a165=_0x32c56c,_0x59aecb=_0x3cda1f['subcommandTerm'](_0x16db02),_0x512c97=_0x3cda1f[_0x50a165(0x22f)](_0x16db02);return _0x23453a(_0x59aecb,_0x512c97);});_0xc48495['push'](_0x5da5ea(_0x1a70d1));}}),_0xc48495['push'](''),_0xc48495[_0x22c4f7(0x313)](_0x22c4f7(0x304));}else{const _0x4a361a=_0x3a725c[_0x22c4f7(0x1c6)](_0x223a8b=>{const _0x40ed74=_0x22c4f7,_0x184658=_0x3cda1f[_0x40ed74(0x163)](_0x223a8b),_0x5a9ce1=_0x3cda1f[_0x40ed74(0x22f)](_0x223a8b);return _0x23453a(_0x184658,_0x5a9ce1);});_0xc48495[_0x22c4f7(0x313)](''),_0xc48495['push'](_0x22c4f7(0x2a5)),_0xc48495[_0x22c4f7(0x313)](_0x5da5ea(_0x4a361a));}}if(showBriefHelp&&_0x577231[_0x22c4f7(0x36f)]()===_0x22c4f7(0x296))_0xc48495['push'](''),_0xc48495[_0x22c4f7(0x313)](_0x22c4f7(0x2f3));else{const _0x27087e=_0x577231[_0x22c4f7(0x218)][_0x22c4f7(0x360)](_0x1a256a=>!_0x525b20(_0x1a256a));if(_0x27087e['length']>0x0){const _0xae337f=_0x27087e['map'](_0x2ba77d=>{const _0x51c30e=_0x3cda1f['optionTerm'](_0x2ba77d),_0x330d2a=_0x3cda1f['optionDescription'](_0x2ba77d);return _0x23453a(_0x51c30e,_0x330d2a);});_0xc48495[_0x22c4f7(0x313)](''),_0xc48495[_0x22c4f7(0x313)](_0x22c4f7(0x32f)),_0xc48495[_0x22c4f7(0x313)](_0x5da5ea(_0xae337f));}}const _0x16447a=(_0x577231[_0x22c4f7(0x247)]||[])[_0x22c4f7(0x360)](_0x5ef6a5=>!_0x525b20(_0x5ef6a5));if(_0x16447a['length']>0x0){const _0xbe5e1e=_0x16447a[_0x22c4f7(0x1c6)](_0x122f63=>{const _0x5d951a=_0x22c4f7,_0x4e81c8=_0x3cda1f[_0x5d951a(0x33e)](_0x122f63),_0xe769fc=_0x3cda1f[_0x5d951a(0x3b5)](_0x122f63);return _0x23453a(_0x4e81c8,_0xe769fc);});_0xc48495[_0x22c4f7(0x313)](''),_0xc48495['push'](_0x22c4f7(0x157)),_0xc48495[_0x22c4f7(0x313)](_0x5da5ea(_0xbe5e1e));}return _0xc48495[_0x22c4f7(0x3c8)]('\x0a')+'\x0a';},'subcommandTerm':_0x3c88b1=>{const _0x21a3c5=a2_0x475355,_0xf88bee=(_0x3c88b1[_0x21a3c5(0x247)]||[])[_0x21a3c5(0x1c6)](_0x331e74=>_0x331e74[_0x21a3c5(0x3b2)]?'<'+_0x331e74[_0x21a3c5(0x36f)]()+'>':'['+_0x331e74[_0x21a3c5(0x36f)]()+']')['join']('\x20'),_0x445805=_0x3c88b1[_0x21a3c5(0x28f)](),_0x3c3503=_0x445805[_0x21a3c5(0x1f0)]>0x0?_0x3c88b1[_0x21a3c5(0x36f)]()+',\x20'+_0x445805[_0x21a3c5(0x3c8)](',\x20'):_0x3c88b1[_0x21a3c5(0x36f)]();return _0xf88bee?_0x3c3503+'\x20'+_0xf88bee:_0x3c3503;}}),program[a2_0x475355(0x2cf)](a2_0x475355(0x191),_0xcd55c0=>{const _0x54d774=a2_0x475355,_0x14bf07=_0xcd55c0['opts']();if(_0x14bf07[_0x54d774(0x240)]){const _0x209e35=resolve(_0x14bf07[_0x54d774(0x240)]),_0x45a993=_0x209e35!==_0x14bf07['directory']?_0x54d774(0x1d5)+_0x209e35+')':'';if(!existsSync(_0x209e35))throw new SDKError(ErrorCode[_0x54d774(0x291)],_0x54d774(0x337)+_0x14bf07['directory']+_0x45a993,undefined,{'helpText':_0x54d774(0x1da)});const _0x34f80c=statSync(_0x209e35);if(!_0x34f80c[_0x54d774(0x171)]())throw new SDKError(ErrorCode[_0x54d774(0x291)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x14bf07[_0x54d774(0x240)]+_0x45a993,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process['chdir'](_0x209e35);}if(!_0x14bf07['format']){if(_0x14bf07[_0x54d774(0x23e)])_0x14bf07['format']=_0x54d774(0x23e);else{if(_0x14bf07[_0x54d774(0x1b1)])_0x14bf07['format']=_0x54d774(0x1b1);else{if(_0x14bf07[_0x54d774(0x1de)])_0x14bf07['format']='jsonl';else _0x14bf07[_0x54d774(0x1bb)]&&(_0x14bf07[_0x54d774(0x164)]=_0x54d774(0x1bb));}}}_0x14bf07['in']&&!_0x14bf07['database']&&(_0x14bf07[_0x54d774(0x27a)]=_0x14bf07['in']);if(_0x14bf07[_0x54d774(0x2b6)])_0x14bf07[_0x54d774(0x1a1)]=LogLevel[_0x54d774(0x34f)];else{if(_0x14bf07['debug'])_0x14bf07['logLevel']=LogLevel[_0x54d774(0x2fa)];else _0x14bf07[_0x54d774(0x1a1)]===undefined&&(_0x14bf07[_0x54d774(0x1a1)]=LogLevel[_0x54d774(0x299)]);}});async function createTDXInstance(_0x21ee11){const _0x4b914d=a2_0x475355,_0x388fed=await GlobalContext['createAsync'](_0x21ee11);return _0x388fed[_0x4b914d(0x2e7)](_0x21ee11),TDX[_0x4b914d(0x267)]({'site':_0x388fed[_0x4b914d(0x274)],'apiKey':_0x388fed['apiKey'],'logLevel':_0x388fed[_0x4b914d(0x1a1)],'profile':_0x388fed['profile']});}const databaseCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x27a))[a2_0x475355(0x38b)]('db')[a2_0x475355(0x1fa)](a2_0x475355(0x307)),databaseListAction=async(_0x537272,_0x2b5e2a)=>{const _0xc039a7=a2_0x475355,_0x2af9ad=new DatabasesCommand(),_0x11e77d=program['opts'](),_0x35cb86=await createTDXInstance(_0x11e77d),_0x4c0b2b=await _0x2af9ad[_0xc039a7(0x2ae)]({'options':{..._0x11e77d,..._0x2b5e2a},'args':_0x537272?[_0x537272]:[],'tdx':_0x35cb86});gracefulExit(_0x4c0b2b);};databaseCmd['command'](a2_0x475355(0x1a4))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x475355(0x2de)](databaseListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x158),{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x1c7))['action'](databaseListAction),program[a2_0x475355(0x36c)]('chat\x20[message...]')[a2_0x475355(0x1fa)](a2_0x475355(0x2a1))[a2_0x475355(0x1cb)](a2_0x475355(0x331),a2_0x475355(0x2ef))['option']('--new',a2_0x475355(0x1a5))[a2_0x475355(0x1cb)](a2_0x475355(0x1d9),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')['option'](a2_0x475355(0x332),a2_0x475355(0x2d2))['action'](async(_0x5e7dec,_0x55605e)=>{const _0x448da2=a2_0x475355,_0x593186=program['opts'](),_0x394d1f=await createTDXInstance(_0x593186);if(_0x5e7dec[0x0]==='create'){const _0x170dda=new ChatCreateCommand();gracefulExit(await _0x170dda[_0x448da2(0x2ae)]({'options':{..._0x593186,..._0x55605e},'args':_0x5e7dec[_0x448da2(0x1c9)](0x1),'tdx':_0x394d1f}));return;}const _0x365e88=new ChatCommand(),_0x88e80b=await _0x365e88[_0x448da2(0x2ae)]({'options':{..._0x593186,..._0x55605e},'args':_0x5e7dec,'tdx':_0x394d1f});gracefulExit(_0x88e80b);});const apiCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x350))['summary'](a2_0x475355(0x14d))[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x18b))[a2_0x475355(0x1cb)]('-X,\x20--method\x20<method>',a2_0x475355(0x342),a2_0x475355(0x143))[a2_0x475355(0x1cb)]('--data\x20<data>','Request\x20body\x20as\x20JSON\x20string')[a2_0x475355(0x1cb)](a2_0x475355(0x2c6),a2_0x475355(0x300))[a2_0x475355(0x1cb)](a2_0x475355(0x3bd),a2_0x475355(0x376),(_0x443a0f,_0x37497e)=>{return _0x37497e?[..._0x37497e,_0x443a0f]:[_0x443a0f];})[a2_0x475355(0x1cb)](a2_0x475355(0x38c),a2_0x475355(0x22a),'td')['action'](async(_0x48cc43,_0x37b317)=>{const _0x32416f=a2_0x475355;if(!_0x48cc43){apiCmd[_0x32416f(0x338)]();return;}const _0x10e042=new ApiCommand(),_0x278998=program[_0x32416f(0x347)](),_0x16fbfe=await createTDXInstance(_0x278998),_0x21f59a=await _0x10e042['run']({'options':{..._0x278998,..._0x37b317},'args':[_0x48cc43],'tdx':_0x16fbfe});gracefulExit(_0x21f59a);});program['command'](a2_0x475355(0x15f))[a2_0x475355(0x1fa)](a2_0x475355(0x1d7))[a2_0x475355(0x329)](a2_0x475355(0x16f),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x475355(0x2de)](async _0x598812=>{const _0x46f01e=a2_0x475355,_0x4be0fb=new MCPCommand(),_0x2cc51a=program[_0x46f01e(0x347)](),_0x3b6378=await createTDXInstance(_0x2cc51a),_0x157af4=await _0x4be0fb[_0x46f01e(0x2ae)]({'options':{..._0x2cc51a,..._0x598812},'args':[],'tdx':_0x3b6378});gracefulExit(_0x157af4);});const tableCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x23e))[a2_0x475355(0x1fa)](a2_0x475355(0x2bc)),tableListAction=async(_0x25c5a5,_0x5c1c1f)=>{const _0x46c3ee=a2_0x475355,_0x1d030b=new TablesCommand(),_0x4fdb4a=program[_0x46c3ee(0x347)](),_0x44f245=await createTDXInstance(_0x4fdb4a);_0x5c1c1f['in']&&(_0x5c1c1f[_0x46c3ee(0x27a)]=_0x5c1c1f['in']);const _0x308cf7=await _0x1d030b[_0x46c3ee(0x2ae)]({'options':{..._0x4fdb4a,..._0x5c1c1f},'args':_0x25c5a5?[_0x25c5a5]:[],'tdx':_0x44f245});gracefulExit(_0x308cf7);};tableCmd[a2_0x475355(0x36c)]('list\x20[pattern]')[a2_0x475355(0x1fa)](a2_0x475355(0x2d6))[a2_0x475355(0x1cb)](a2_0x475355(0x336),a2_0x475355(0x349))['option']('--in\x20<database>',a2_0x475355(0x308))[a2_0x475355(0x2de)](tableListAction),program[a2_0x475355(0x36c)]('tables\x20[pattern]',{'hidden':!![]})['description'](a2_0x475355(0x223))['option'](a2_0x475355(0x336),a2_0x475355(0x349))[a2_0x475355(0x1cb)](a2_0x475355(0x2eb),a2_0x475355(0x308))[a2_0x475355(0x2de)](tableListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x36d))['description'](a2_0x475355(0x1e7))[a2_0x475355(0x1cb)](a2_0x475355(0x336),a2_0x475355(0x34d))[a2_0x475355(0x1cb)](a2_0x475355(0x2eb),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x475355(0x2de)](async(_0x2bc844,_0x3d609a)=>{const _0x540195=a2_0x475355,_0x1c4984=new ShowCommand(),_0x451236=program['opts'](),_0x15ab04=await createTDXInstance(_0x451236);_0x3d609a['in']&&(_0x3d609a[_0x540195(0x27a)]=_0x3d609a['in']);const _0x342e6a=await _0x1c4984[_0x540195(0x2ae)]({'options':{..._0x451236,..._0x3d609a},'args':_0x2bc844?[_0x2bc844]:[],'tdx':_0x15ab04});gracefulExit(_0x342e6a);}),program[a2_0x475355(0x36c)](a2_0x475355(0x195))['alias']('desc')['description'](a2_0x475355(0x14b))[a2_0x475355(0x1cb)](a2_0x475355(0x336),a2_0x475355(0x34d))[a2_0x475355(0x1cb)](a2_0x475355(0x2eb),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x475355(0x2de)](async(_0x3c2131,_0x5bb0e0)=>{const _0x43a759=a2_0x475355,_0x11c82e=new DescribeCommand(),_0x406f9f=program[_0x43a759(0x347)](),_0x181ae1=await createTDXInstance(_0x406f9f);_0x5bb0e0['in']&&(_0x5bb0e0[_0x43a759(0x27a)]=_0x5bb0e0['in']);const _0x49a9ee=await _0x11c82e[_0x43a759(0x2ae)]({'options':{..._0x406f9f,..._0x5bb0e0},'args':_0x3c2131?[_0x3c2131]:[],'tdx':_0x181ae1});gracefulExit(_0x49a9ee);}),program[a2_0x475355(0x36c)](a2_0x475355(0x1b2))[a2_0x475355(0x1fa)](a2_0x475355(0x1d3))[a2_0x475355(0x1cb)](a2_0x475355(0x336),a2_0x475355(0x33c))[a2_0x475355(0x1cb)](a2_0x475355(0x2eb),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['option'](a2_0x475355(0x26b),a2_0x475355(0x185))[a2_0x475355(0x1cb)](a2_0x475355(0x2c6),a2_0x475355(0x15a))[a2_0x475355(0x1cb)]('--limit\x20<rows>',a2_0x475355(0x392),'40')[a2_0x475355(0x2de)](async(_0x4fec43,_0xc4d363)=>{const _0x8687ec=a2_0x475355,_0x287a77=new QueryCommand(),_0x42cfca=program['opts'](),_0x1a54e0=await createTDXInstance(_0x42cfca);_0xc4d363['in']&&(_0xc4d363[_0x8687ec(0x27a)]=_0xc4d363['in']);const _0x456539=await _0x287a77[_0x8687ec(0x2ae)]({'options':{..._0x42cfca,..._0xc4d363},'args':_0x4fec43?[_0x4fec43]:[],'tdx':_0x1a54e0});gracefulExit(_0x456539);});const segmentCmd=program[a2_0x475355(0x36c)]('segment')['alias']('sg')['description'](a2_0x475355(0x341)),segmentListAction=async(_0x237973,_0x1dea79)=>{const _0x30a7f2=a2_0x475355,_0x3bf24e=new SegmentsCommand(),_0x5f1ed3=program['opts'](),_0x368c35=await createTDXInstance(_0x5f1ed3),_0x552a2e=await _0x3bf24e[_0x30a7f2(0x2ae)]({'options':{..._0x5f1ed3,..._0x1dea79},'args':_0x237973?[_0x237973]:[],'tdx':_0x368c35});gracefulExit(_0x552a2e);};segmentCmd['command']('list\x20[path]')[a2_0x475355(0x1fa)](a2_0x475355(0x189))[a2_0x475355(0x1cb)](a2_0x475355(0x37f),a2_0x475355(0x1ab))[a2_0x475355(0x1cb)](a2_0x475355(0x213),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')['action'](segmentListAction),program['command'](a2_0x475355(0x29a),{'hidden':!![]})['description'](a2_0x475355(0x2ec))[a2_0x475355(0x1cb)](a2_0x475355(0x37f),a2_0x475355(0x1ab))[a2_0x475355(0x1cb)]('--max-depth\x20<depth>',a2_0x475355(0x32e),'10')[a2_0x475355(0x2de)](segmentListAction),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x200),{'hidden':!![]})['description'](a2_0x475355(0x1f6))[a2_0x475355(0x2de)](async(_0xeb8e7a,_0x4223f9)=>{const _0x4010df=a2_0x475355,_0x3d0553=new SegmentUseCommand(),_0x268504=program[_0x4010df(0x347)](),_0x137791=await createTDXInstance(_0x268504),_0x4f7c53=await _0x3d0553[_0x4010df(0x2ae)]({'options':{..._0x268504,..._0x4223f9},'args':[_0xeb8e7a],'tdx':_0x137791});gracefulExit(_0x4f7c53);});const segmentViewAction=async(_0x154fd8,_0x42f414)=>{const _0x4cf1e8=a2_0x475355,_0x1e0dd4=new SegmentViewCommand(),_0x11660c=program[_0x4cf1e8(0x347)](),_0x2e398f=await createTDXInstance(_0x11660c),_0x4702f1=await _0x1e0dd4['run']({'options':{..._0x11660c,..._0x42f414},'args':_0x154fd8?[_0x154fd8]:[],'tdx':_0x2e398f});gracefulExit(_0x4702f1);};segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x211))[a2_0x475355(0x1fa)](a2_0x475355(0x297))['option'](a2_0x475355(0x35a),a2_0x475355(0x2a6))[a2_0x475355(0x2de)](segmentViewAction),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1eb),{'hidden':!![]})['alias'](a2_0x475355(0x314))['option']('-w,\x20--web',a2_0x475355(0x2a6))[a2_0x475355(0x1fa)](a2_0x475355(0x2f0))[a2_0x475355(0x2de)](segmentViewAction),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1ff))[a2_0x475355(0x1fa)](a2_0x475355(0x1ee))[a2_0x475355(0x2de)](async(_0x404b5c,_0x173ded)=>{const _0x5a2db1=a2_0x475355,_0x3e657a=new SegmentDescCommand(),_0x2c324d=program['opts'](),_0x49a63a=await createTDXInstance(_0x2c324d),_0x5b1c86=await _0x3e657a[_0x5a2db1(0x2ae)]({'options':{..._0x2c324d,..._0x173ded},'args':_0x404b5c?[_0x404b5c]:[],'tdx':_0x49a63a});gracefulExit(_0x5b1c86);}),segmentCmd['command'](a2_0x475355(0x1a3))[a2_0x475355(0x1fa)](a2_0x475355(0x37a))[a2_0x475355(0x2de)](async(_0x281548,_0xd7354a)=>{const _0x573d75=a2_0x475355,_0x3d50c4=new SegmentShowCommand(),_0x48e338=program[_0x573d75(0x347)](),_0x53470e=await createTDXInstance(_0x48e338),_0x2853e7=await _0x3d50c4[_0x573d75(0x2ae)]({'options':{..._0x48e338,..._0xd7354a},'args':_0x281548?[_0x281548]:[],'tdx':_0x53470e});gracefulExit(_0x2853e7);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1d1),{'hidden':!![]})['description'](a2_0x475355(0x250))[a2_0x475355(0x2de)](async(_0x21008e,_0x4d047f)=>{const _0xd69349=a2_0x475355,_0x2a0bd9=new SegmentFolderListCommand(),_0x1101cd=program[_0xd69349(0x347)](),_0x3cf162=await createTDXInstance(_0x1101cd),_0x353a6e=await _0x2a0bd9[_0xd69349(0x2ae)]({'options':{..._0x1101cd,..._0x4d047f},'args':[_0x21008e],'tdx':_0x3cf162});gracefulExit(_0x353a6e);});const folderCmd=segmentCmd[a2_0x475355(0x36c)]('folder',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x271));folderCmd[a2_0x475355(0x36c)](a2_0x475355(0x1c2))['description'](a2_0x475355(0x389))['action'](async(_0x4af6b1,_0x57d937)=>{const _0x246081=a2_0x475355,_0x4bbbb7=new SegmentFolderShowCommand(),_0x15ec4d=program[_0x246081(0x347)](),_0x536897=await createTDXInstance(_0x15ec4d),_0x425c8a=await _0x4bbbb7['run']({'options':{..._0x15ec4d,..._0x57d937},'args':[_0x4af6b1],'tdx':_0x536897});gracefulExit(_0x425c8a);}),segmentCmd[a2_0x475355(0x36c)]('sql\x20[segment_name]')[a2_0x475355(0x1fa)](a2_0x475355(0x144))[a2_0x475355(0x2de)](async(_0x10ff85,_0x3b0088)=>{const _0x4204c9=a2_0x475355,_0xa17b=new SegmentSQLCommand(),_0x48d598=program[_0x4204c9(0x347)](),_0x452167=await createTDXInstance(_0x48d598),_0x236a3f=await _0xa17b['run']({'options':{..._0x48d598,..._0x3b0088},'args':_0x10ff85?[_0x10ff85]:[],'tdx':_0x452167});gracefulExit(_0x236a3f);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x3b7))['description'](a2_0x475355(0x30d))[a2_0x475355(0x2de)](async(_0x4d3e1e,_0x4f0faf)=>{const _0x4eda50=a2_0x475355,_0xc71135=new SegmentFieldsCommand(),_0x306e25=program[_0x4eda50(0x347)](),_0x59ceba=await createTDXInstance(_0x306e25),_0x385b3=await _0xc71135[_0x4eda50(0x2ae)]({'options':{..._0x306e25,..._0x4f0faf},'args':_0x4d3e1e?[_0x4d3e1e]:[],'tdx':_0x59ceba});gracefulExit(_0x385b3);}),segmentCmd['command']('pull\x20[parent_or_file]')['description']('Pull\x20child\x20segments\x20to\x20YAML\x20files')['option'](a2_0x475355(0x20f),a2_0x475355(0x2a0))[a2_0x475355(0x1cb)](a2_0x475355(0x186),a2_0x475355(0x2b2))['action'](async(_0x527fdb,_0xd1daa1)=>{const _0x11cd0c=a2_0x475355,_0x2ec257=new SegmentPullCommand(),_0x4e2f01=program[_0x11cd0c(0x347)](),_0x14b8e9=await createTDXInstance(_0x4e2f01),_0x4c5653=await _0x2ec257[_0x11cd0c(0x2ae)]({'options':{..._0x4e2f01,..._0xd1daa1},'args':_0x527fdb?[_0x527fdb]:[],'tdx':_0x14b8e9});gracefulExit(_0x4c5653);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x2a9))[a2_0x475355(0x1fa)]('Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments')[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x2a0))[a2_0x475355(0x1cb)](a2_0x475355(0x186),a2_0x475355(0x2b2))['option'](a2_0x475355(0x1e6),a2_0x475355(0x272))[a2_0x475355(0x2de)](async(_0xbc4127,_0x5d8f4d)=>{const _0x34022a=a2_0x475355,_0x20d57d=new SegmentPushCommand(),_0x334559=program['opts'](),_0x5a3fcc=await createTDXInstance(_0x334559),_0x2b9dbf=await _0x20d57d[_0x34022a(0x2ae)]({'options':{..._0x334559,..._0x5d8f4d},'args':_0xbc4127?[_0xbc4127]:[],'tdx':_0x5a3fcc});gracefulExit(_0x2b9dbf);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x256))[a2_0x475355(0x1fa)](a2_0x475355(0x203))[a2_0x475355(0x2de)](async(_0x231465,_0x2c737a)=>{const _0x4a470c=a2_0x475355,_0x1c7147=new SegmentValidateCommand(),_0x3a053a=program[_0x4a470c(0x347)](),_0x1a035c=await createTDXInstance(_0x3a053a),_0x541019=await _0x1c7147[_0x4a470c(0x2ae)]({'options':{..._0x3a053a,..._0x2c737a},'args':_0x231465?[_0x231465]:[],'tdx':_0x1a035c});gracefulExit(_0x541019);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x33f),{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x2c2))[a2_0x475355(0x1cb)]('--description\x20<text>',a2_0x475355(0x366))[a2_0x475355(0x1cb)](a2_0x475355(0x26c),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x475355(0x1cb)](a2_0x475355(0x24a),a2_0x475355(0x2d7))[a2_0x475355(0x1cb)](a2_0x475355(0x357),'Folder\x20name\x20for\x20organization')[a2_0x475355(0x1cb)](a2_0x475355(0x1a6),a2_0x475355(0x355))[a2_0x475355(0x1cb)](a2_0x475355(0x1f4),a2_0x475355(0x21a))['option'](a2_0x475355(0x39a),a2_0x475355(0x31e))[a2_0x475355(0x2de)](async(_0x2b401b,_0x4cb0d4)=>{const _0x25ff12=a2_0x475355,_0x30a1ad=new SegmentCreateCommand(),_0x2f9842=program[_0x25ff12(0x347)](),_0x20b8b8=await createTDXInstance(_0x2f9842),_0x3e7b72=await _0x30a1ad['run']({'options':{..._0x2f9842,..._0x4cb0d4},'args':[_0x2b401b],'tdx':_0x20b8b8});gracefulExit(_0x3e7b72);}),segmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1db),{'hidden':!![]})[a2_0x475355(0x1fa)]('[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x475355(0x1cb)](a2_0x475355(0x24e),'New\x20segment\x20name')['option']('--description\x20<text>',a2_0x475355(0x1bc))[a2_0x475355(0x1cb)](a2_0x475355(0x26c),a2_0x475355(0x1c1))[a2_0x475355(0x1cb)]('--rule-file\x20<file>',a2_0x475355(0x239))[a2_0x475355(0x1cb)](a2_0x475355(0x357),'Move\x20to\x20folder')[a2_0x475355(0x1cb)](a2_0x475355(0x1a6),a2_0x475355(0x355))[a2_0x475355(0x2de)](async(_0x327548,_0x5d1eb8)=>{const _0x3f1616=a2_0x475355,_0x3cc210=new SegmentUpdateCommand(),_0x4e740b=program[_0x3f1616(0x347)](),_0x1aaaba=await createTDXInstance(_0x4e740b),_0x272d63=await _0x3cc210[_0x3f1616(0x2ae)]({'options':{..._0x4e740b,..._0x5d1eb8},'args':[_0x327548],'tdx':_0x1aaaba});gracefulExit(_0x272d63);});const parentCmd=segmentCmd[a2_0x475355(0x36c)]('parent',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x3be)),parentListAction=async(_0x21a9d5,_0x54d4cf)=>{const _0x614e4a=a2_0x475355,_0x2c1dba=new ParentSegmentListCommand(),_0x421d3d=program[_0x614e4a(0x347)](),_0x2e1f12=await createTDXInstance(_0x421d3d),_0x323f9d=await _0x2c1dba[_0x614e4a(0x2ae)]({'options':{..._0x421d3d,..._0x54d4cf},'args':_0x21a9d5?[_0x21a9d5]:[],'tdx':_0x2e1f12});gracefulExit(_0x323f9d);};parentCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x475355(0x2de)](parentListAction),segmentCmd[a2_0x475355(0x36c)]('parents\x20[pattern]',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x371))[a2_0x475355(0x2de)](parentListAction),parentCmd[a2_0x475355(0x36c)](a2_0x475355(0x230))['description'](a2_0x475355(0x2fe))['option'](a2_0x475355(0x156),'Output\x20file\x20path\x20(default:\x20<name>.yml)')[a2_0x475355(0x1cb)](a2_0x475355(0x20f),'Skip\x20confirmation\x20prompt')[a2_0x475355(0x2de)](async(_0x5af790,_0x5a1e5a)=>{const _0x15f405=a2_0x475355,_0x48eb74=new ParentSegmentPullCommand(),_0x313e0f=program[_0x15f405(0x347)](),_0x540cfb=await createTDXInstance(_0x313e0f),_0x40ddd0=await _0x48eb74[_0x15f405(0x2ae)]({'options':{..._0x313e0f,..._0x5a1e5a},'args':_0x5af790?[_0x5af790]:[],'tdx':_0x540cfb});gracefulExit(_0x40ddd0);}),parentCmd[a2_0x475355(0x36c)](a2_0x475355(0x19a))[a2_0x475355(0x1fa)](a2_0x475355(0x22d))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x31a))[a2_0x475355(0x2de)](async(_0x10afba,_0x142972)=>{const _0x425351=a2_0x475355,_0x2cd540=new ParentSegmentPushCommand(),_0x2f8590=program[_0x425351(0x347)](),_0x219faf=await createTDXInstance(_0x2f8590),_0x520b87=await _0x2cd540[_0x425351(0x2ae)]({'options':{..._0x2f8590,..._0x142972},'args':_0x10afba?[_0x10afba]:[],'tdx':_0x219faf});gracefulExit(_0x520b87);}),parentCmd['command']('validate\x20[file]')[a2_0x475355(0x1fa)](a2_0x475355(0x354))[a2_0x475355(0x1cb)](a2_0x475355(0x38f),a2_0x475355(0x246))[a2_0x475355(0x1cb)]('--attribute\x20[name]',a2_0x475355(0x280))[a2_0x475355(0x1cb)](a2_0x475355(0x3b4),a2_0x475355(0x27b))[a2_0x475355(0x1cb)]('--enriched',a2_0x475355(0x30c))[a2_0x475355(0x1cb)](a2_0x475355(0x2af),a2_0x475355(0x3a1),'-1d')[a2_0x475355(0x2de)](async(_0x47baae,_0x481d31)=>{const _0x2bb18c=a2_0x475355,_0xa0531f=new ParentSegmentValidateCommand(),_0x681e89=program[_0x2bb18c(0x347)](),_0x579e14=await createTDXInstance(_0x681e89),_0xc54275=await _0xa0531f[_0x2bb18c(0x2ae)]({'options':{..._0x681e89,..._0x481d31},'args':_0x47baae?[_0x47baae]:[],'tdx':_0x579e14});gracefulExit(_0xc54275);}),parentCmd['command'](a2_0x475355(0x1f2))[a2_0x475355(0x1fa)]('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x475355(0x1cb)](a2_0x475355(0x38f),a2_0x475355(0x316))['option'](a2_0x475355(0x1b7),a2_0x475355(0x217))[a2_0x475355(0x1cb)](a2_0x475355(0x3b4),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x475355(0x1cb)](a2_0x475355(0x253),a2_0x475355(0x1a9))['option'](a2_0x475355(0x2af),a2_0x475355(0x3a1),a2_0x475355(0x3bc))[a2_0x475355(0x2de)](async(_0xe188d4,_0x197ce8)=>{const _0x1ffdd6=a2_0x475355,_0x21ba79=new ParentSegmentPreviewCommand(),_0x1d8283=program[_0x1ffdd6(0x347)](),_0x533391=await createTDXInstance(_0x1d8283),_0x41aec3=await _0x21ba79[_0x1ffdd6(0x2ae)]({'options':{..._0x1d8283,..._0x197ce8},'args':_0xe188d4?[_0xe188d4]:[],'tdx':_0x533391});gracefulExit(_0x41aec3);}),parentCmd[a2_0x475355(0x36c)]('run\x20[name]')[a2_0x475355(0x1fa)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')['option'](a2_0x475355(0x20f),a2_0x475355(0x31a))[a2_0x475355(0x2de)](async(_0x3a7e0f,_0x3b832b)=>{const _0x23525e=a2_0x475355,_0x9cbefe=new ParentSegmentRunCommand(),_0xe6120c=program[_0x23525e(0x347)](),_0x1cee12=await createTDXInstance(_0xe6120c),_0x11937f=await _0x9cbefe[_0x23525e(0x2ae)]({'options':{..._0xe6120c,..._0x3b832b},'args':_0x3a7e0f?[_0x3a7e0f]:[],'tdx':_0x1cee12});gracefulExit(_0x11937f);});const parentSegmentCmd=program[a2_0x475355(0x36c)]('parent-segment')[a2_0x475355(0x38b)]('ps')[a2_0x475355(0x1fa)]('Parent\x20segment\x20management');parentSegmentCmd['command'](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)](a2_0x475355(0x17c))['action'](parentListAction),parentSegmentCmd['command'](a2_0x475355(0x230))['description'](a2_0x475355(0x295))['option'](a2_0x475355(0x156),a2_0x475355(0x1f7))[a2_0x475355(0x1cb)]('-y,\x20--yes',a2_0x475355(0x31a))[a2_0x475355(0x1cb)](a2_0x475355(0x266),a2_0x475355(0x150))[a2_0x475355(0x2de)](async(_0x466ca7,_0x333e45)=>{const _0x18dee4=a2_0x475355,_0x26379e=new ParentSegmentPullCommand(),_0x4a34ec=program[_0x18dee4(0x347)](),_0x22b454=await createTDXInstance(_0x4a34ec),_0x5a39d4=await _0x26379e[_0x18dee4(0x2ae)]({'options':{..._0x4a34ec,..._0x333e45},'args':_0x466ca7?[_0x466ca7]:[],'tdx':_0x22b454});gracefulExit(_0x5a39d4);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x285))[a2_0x475355(0x1fa)](a2_0x475355(0x2ff))['option'](a2_0x475355(0x20f),a2_0x475355(0x31a))['action'](async(_0x452540,_0x159188)=>{const _0x49f3a0=a2_0x475355,_0x1a5af6=new ParentSegmentPushCommand(),_0x1b8a9f=program[_0x49f3a0(0x347)](),_0x1f086b=await createTDXInstance(_0x1b8a9f),_0xe09967=await _0x1a5af6[_0x49f3a0(0x2ae)]({'options':{..._0x1b8a9f,..._0x159188},'args':_0x452540?[_0x452540]:[],'tdx':_0x1f086b});gracefulExit(_0xe09967);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x162))[a2_0x475355(0x1fa)](a2_0x475355(0x354))['option']('--master',a2_0x475355(0x246))[a2_0x475355(0x1cb)]('--attribute\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x475355(0x1cb)](a2_0x475355(0x3b4),a2_0x475355(0x27b))['option'](a2_0x475355(0x253),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x475355(0x1cb)]('--interval\x20<range>',a2_0x475355(0x3a1),a2_0x475355(0x3bc))['action'](async(_0xcf533,_0x303e2a)=>{const _0x1ccf75=a2_0x475355,_0x272290=new ParentSegmentValidateCommand(),_0x12f858=program[_0x1ccf75(0x347)](),_0x2bfc35=await createTDXInstance(_0x12f858),_0x3055a7=await _0x272290[_0x1ccf75(0x2ae)]({'options':{..._0x12f858,..._0x303e2a},'args':_0xcf533?[_0xcf533]:[],'tdx':_0x2bfc35});gracefulExit(_0x3055a7);}),parentSegmentCmd['command'](a2_0x475355(0x3ad))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')['option'](a2_0x475355(0x38f),a2_0x475355(0x316))['option'](a2_0x475355(0x1b7),a2_0x475355(0x217))['option'](a2_0x475355(0x3b4),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x475355(0x1cb)]('--enriched',a2_0x475355(0x1a9))[a2_0x475355(0x1cb)](a2_0x475355(0x2af),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x475355(0x3bc))[a2_0x475355(0x2de)](async(_0x161f06,_0xa8d950)=>{const _0x4f2559=new ParentSegmentPreviewCommand(),_0x144906=program['opts'](),_0xc2a667=await createTDXInstance(_0x144906),_0x4490f8=await _0x4f2559['run']({'options':{..._0x144906,..._0xa8d950},'args':_0x161f06?[_0x161f06]:[],'tdx':_0xc2a667});gracefulExit(_0x4490f8);}),parentSegmentCmd['command'](a2_0x475355(0x391))[a2_0x475355(0x1fa)](a2_0x475355(0x234))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x31a))['action'](async(_0x1198f1,_0x3da3e1)=>{const _0x33ef8a=a2_0x475355,_0x57f9f8=new ParentSegmentRunCommand(),_0x50f1ff=program[_0x33ef8a(0x347)](),_0x481e9e=await createTDXInstance(_0x50f1ff),_0x1981bb=await _0x57f9f8['run']({'options':{..._0x50f1ff,..._0x3da3e1},'args':_0x1198f1?[_0x1198f1]:[],'tdx':_0x481e9e});gracefulExit(_0x1981bb);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x399))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x475355(0x1b5),a2_0x475355(0x216))[a2_0x475355(0x1cb)](a2_0x475355(0x34b),'Output\x20as\x20JSON\x20Lines')[a2_0x475355(0x2de)](async(_0x29d93b,_0x38a63b)=>{const _0x66829=a2_0x475355,_0x46b0d6=new ParentSegmentFieldsCommand(),_0x1fcb87=program['opts'](),_0x2325fa=await createTDXInstance(_0x1fcb87),_0x4fbb28=await _0x46b0d6[_0x66829(0x2ae)]({'options':{..._0x1fcb87,..._0x38a63b},'args':_0x29d93b?[_0x29d93b]:[],'tdx':_0x2325fa});gracefulExit(_0x4fbb28);}),parentSegmentCmd['command'](a2_0x475355(0x228))[a2_0x475355(0x1fa)](a2_0x475355(0x2fc))[a2_0x475355(0x1cb)]('-w,\x20--web',a2_0x475355(0x18f))['option'](a2_0x475355(0x1b5),a2_0x475355(0x216))[a2_0x475355(0x1cb)]('--jsonl',a2_0x475355(0x36e))[a2_0x475355(0x2de)](async(_0x10555e,_0x4671e0)=>{const _0x269157=a2_0x475355,_0x590e75=new ParentSegmentViewCommand(),_0x33b4bf=program[_0x269157(0x347)](),_0x323863=await createTDXInstance(_0x33b4bf),_0x5be16c=await _0x590e75[_0x269157(0x2ae)]({'options':{..._0x33b4bf,..._0x4671e0},'args':_0x10555e?[_0x10555e]:[],'tdx':_0x323863});gracefulExit(_0x5be16c);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x309))[a2_0x475355(0x1fa)](a2_0x475355(0x229))['option']('-o,\x20--output\x20<file>',a2_0x475355(0x1f7))[a2_0x475355(0x1cb)](a2_0x475355(0x1b5),'Output\x20as\x20JSON')[a2_0x475355(0x1cb)]('--jsonl',a2_0x475355(0x36e))[a2_0x475355(0x2de)](async(_0x2b5f75,_0x194a6d)=>{const _0x10cfbe=a2_0x475355,_0x2dc8ba=new ParentSegmentDescCommand(),_0x13ea91=program[_0x10cfbe(0x347)](),_0x1f28d6=await createTDXInstance(_0x13ea91),_0x18a233=await _0x2dc8ba[_0x10cfbe(0x2ae)]({'options':{..._0x13ea91,..._0x194a6d},'args':_0x2b5f75?[_0x2b5f75]:[],'tdx':_0x1f28d6});gracefulExit(_0x18a233);}),parentSegmentCmd[a2_0x475355(0x36c)](a2_0x475355(0x2a8))[a2_0x475355(0x1fa)](a2_0x475355(0x184))[a2_0x475355(0x1cb)](a2_0x475355(0x1b5),a2_0x475355(0x216))['option'](a2_0x475355(0x34b),a2_0x475355(0x36e))[a2_0x475355(0x2de)](async(_0x4181c1,_0x532bad)=>{const _0x5908f2=a2_0x475355,_0x3348b5=new ParentSegmentSQLCommand(),_0x1da87e=program[_0x5908f2(0x347)](),_0x3cc06f=await createTDXInstance(_0x1da87e),_0x7db39b=await _0x3348b5[_0x5908f2(0x2ae)]({'options':{..._0x1da87e,..._0x532bad},'args':_0x4181c1?[_0x4181c1]:[],'tdx':_0x3cc06f});gracefulExit(_0x7db39b);}),parentSegmentCmd[a2_0x475355(0x36c)]('show\x20[name]')[a2_0x475355(0x1fa)](a2_0x475355(0x3bf))['option']('--limit\x20<n>','Limit\x20number\x20of\x20rows')[a2_0x475355(0x1cb)](a2_0x475355(0x1b5),'Output\x20as\x20JSON')[a2_0x475355(0x1cb)](a2_0x475355(0x34b),a2_0x475355(0x36e))[a2_0x475355(0x2de)](async(_0x5791e0,_0x603625)=>{const _0x2f1a99=a2_0x475355,_0x391cbd=new ParentSegmentShowCommand(),_0x53eec3=program[_0x2f1a99(0x347)](),_0x132138=await createTDXInstance(_0x53eec3),_0x467adb=await _0x391cbd[_0x2f1a99(0x2ae)]({'options':{..._0x53eec3,..._0x603625},'args':_0x5791e0?[_0x5791e0]:[],'tdx':_0x132138});gracefulExit(_0x467adb);}),parentSegmentCmd['command']('use\x20[name]')[a2_0x475355(0x1fa)](a2_0x475355(0x32c))['action'](async(_0x28aad5,_0x2196b5)=>{const _0x22adb0=a2_0x475355,_0x947bed=new UseCommand(),_0x177798=program['opts'](),_0x5c0311=_0x28aad5?[_0x22adb0(0x27f),_0x28aad5]:[],_0x539132=await _0x947bed[_0x22adb0(0x2ae)]({'options':{..._0x177798,..._0x2196b5},'args':_0x5c0311,'tdx':null});gracefulExit(_0x539132);});const psRtCmd=parentSegmentCmd[a2_0x475355(0x36c)]('rt')[a2_0x475355(0x1fa)](a2_0x475355(0x248));psRtCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)](a2_0x475355(0x377))[a2_0x475355(0x2de)](async(_0x19abb1,_0x383957)=>{const _0x18a4d9=a2_0x475355,_0x3bcdb6=new PSRtListCommand(),_0x5e1440=program[_0x18a4d9(0x347)](),_0x20d904=await createTDXInstance(_0x5e1440),_0x2f6d28=await _0x3bcdb6[_0x18a4d9(0x2ae)]({'options':{..._0x5e1440,..._0x383957},'args':_0x19abb1?[_0x19abb1]:[],'tdx':_0x20d904});gracefulExit(_0x2f6d28);}),psRtCmd[a2_0x475355(0x36c)](a2_0x475355(0x162))[a2_0x475355(0x1fa)](a2_0x475355(0x196))['action'](async(_0x54b3ec,_0x90508c)=>{const _0x3b2c2b=a2_0x475355,_0x88a789=new PSRtValidateCommand(),_0x518a7c=program[_0x3b2c2b(0x347)](),_0x2c3bf8=await createTDXInstance(_0x518a7c),_0x579da5=await _0x88a789[_0x3b2c2b(0x2ae)]({'options':{..._0x518a7c,..._0x90508c},'args':_0x54b3ec?[_0x54b3ec]:[],'tdx':_0x2c3bf8});gracefulExit(_0x579da5);});const parentRtCmd=parentCmd[a2_0x475355(0x36c)]('rt',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x248));parentRtCmd[a2_0x475355(0x36c)]('list\x20[pattern]')['description'](a2_0x475355(0x377))[a2_0x475355(0x2de)](async(_0x4ebe33,_0x2a249d)=>{const _0x3c27f1=a2_0x475355,_0x574f77=new PSRtListCommand(),_0x2bd84e=program['opts'](),_0x58b3b9=await createTDXInstance(_0x2bd84e),_0x172038=await _0x574f77[_0x3c27f1(0x2ae)]({'options':{..._0x2bd84e,..._0x2a249d},'args':_0x4ebe33?[_0x4ebe33]:[],'tdx':_0x58b3b9});gracefulExit(_0x172038);}),parentRtCmd['command'](a2_0x475355(0x162))['description'](a2_0x475355(0x196))[a2_0x475355(0x2de)](async(_0x35b8f4,_0x9935c5)=>{const _0x4c4cf0=a2_0x475355,_0x290b04=new PSRtValidateCommand(),_0x1bc0db=program[_0x4c4cf0(0x347)](),_0x49ee94=await createTDXInstance(_0x1bc0db),_0x1da7f4=await _0x290b04['run']({'options':{..._0x1bc0db,..._0x9935c5},'args':_0x35b8f4?[_0x35b8f4]:[],'tdx':_0x49ee94});gracefulExit(_0x1da7f4);});const psPzCmd=parentSegmentCmd[a2_0x475355(0x36c)]('pz')['description']('Personalization\x20service\x20management');psPzCmd[a2_0x475355(0x36c)](a2_0x475355(0x179))[a2_0x475355(0x1fa)](a2_0x475355(0x2e1))[a2_0x475355(0x2de)](async(_0x229829,_0x4d6156)=>{const _0x45f774=a2_0x475355,_0x26c5f8=new PSPzListCommand(),_0x2aed52=program[_0x45f774(0x347)](),_0x485ee1=await createTDXInstance(_0x2aed52),_0x3e5cb8=await _0x26c5f8[_0x45f774(0x2ae)]({'options':{..._0x2aed52,..._0x4d6156},'args':_0x229829?[_0x229829]:[],'tdx':_0x485ee1});gracefulExit(_0x3e5cb8);}),psPzCmd[a2_0x475355(0x36c)](a2_0x475355(0x273))['description'](a2_0x475355(0x35b))[a2_0x475355(0x2de)](async(_0x5e63b9,_0x731013)=>{const _0x521751=a2_0x475355,_0x18b6f8=new PSPzInitCommand(),_0x41c991=program[_0x521751(0x347)](),_0x760e7=await createTDXInstance(_0x41c991),_0x391784=await _0x18b6f8[_0x521751(0x2ae)]({'options':{..._0x41c991,..._0x731013},'args':_0x5e63b9?[_0x5e63b9]:[],'tdx':_0x760e7});gracefulExit(_0x391784);});const parentPzCmd=parentCmd[a2_0x475355(0x36c)]('pz',{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x255));parentPzCmd['command'](a2_0x475355(0x179))[a2_0x475355(0x1fa)](a2_0x475355(0x2e1))[a2_0x475355(0x2de)](async(_0xa069d8,_0x269a2f)=>{const _0x1f8e9f=a2_0x475355,_0x38d042=new PSPzListCommand(),_0x338430=program[_0x1f8e9f(0x347)](),_0x5c9369=await createTDXInstance(_0x338430),_0x5525b6=await _0x38d042[_0x1f8e9f(0x2ae)]({'options':{..._0x338430,..._0x269a2f},'args':_0xa069d8?[_0xa069d8]:[],'tdx':_0x5c9369});gracefulExit(_0x5525b6);}),parentPzCmd[a2_0x475355(0x36c)]('init\x20[name]')['description'](a2_0x475355(0x35b))['action'](async(_0x9dcf97,_0x597846)=>{const _0x24bd2b=a2_0x475355,_0x314cc2=new PSPzInitCommand(),_0x479885=program[_0x24bd2b(0x347)](),_0x52cf5e=await createTDXInstance(_0x479885),_0x1eaa07=await _0x314cc2['run']({'options':{..._0x479885,..._0x597846},'args':_0x9dcf97?[_0x9dcf97]:[],'tdx':_0x52cf5e});gracefulExit(_0x1eaa07);}),parentCmd[a2_0x475355(0x36c)]('create\x20<name>')[a2_0x475355(0x1fa)](a2_0x475355(0x31c))['requiredOption'](a2_0x475355(0x3c7),a2_0x475355(0x202))[a2_0x475355(0x17b)]('--table\x20<table>',a2_0x475355(0x1d0))[a2_0x475355(0x1cb)](a2_0x475355(0x1fe),a2_0x475355(0x2f9))[a2_0x475355(0x1cb)]('--schedule-type\x20<type>',a2_0x475355(0x385))['option'](a2_0x475355(0x146),a2_0x475355(0x148))[a2_0x475355(0x1cb)]('--timezone\x20<tz>',a2_0x475355(0x2d3))[a2_0x475355(0x1cb)](a2_0x475355(0x20a),a2_0x475355(0x140))[a2_0x475355(0x1cb)](a2_0x475355(0x2c1),a2_0x475355(0x23d))[a2_0x475355(0x1cb)](a2_0x475355(0x22c),a2_0x475355(0x386))[a2_0x475355(0x1cb)](a2_0x475355(0x2da),a2_0x475355(0x1c0))[a2_0x475355(0x1cb)](a2_0x475355(0x38e),a2_0x475355(0x34c))[a2_0x475355(0x1cb)]('--customer-group-file\x20<file>',a2_0x475355(0x2ba))[a2_0x475355(0x2de)](async(_0x53ba5b,_0x798871)=>{const _0x561ed9=a2_0x475355,_0xd5e15=new ParentSegmentCreateCommand(),_0x1fcfb1=program[_0x561ed9(0x347)](),_0x2d34a4=await createTDXInstance(_0x1fcfb1),_0x43d83f=await _0xd5e15[_0x561ed9(0x2ae)]({'options':{..._0x1fcfb1,..._0x798871},'args':[_0x53ba5b],'tdx':_0x2d34a4});gracefulExit(_0x43d83f);}),parentCmd[a2_0x475355(0x36c)](a2_0x475355(0x346))[a2_0x475355(0x1fa)]('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x475355(0x1cb)](a2_0x475355(0x1fe),a2_0x475355(0x1bc))[a2_0x475355(0x1cb)]('--schedule-type\x20<type>',a2_0x475355(0x282))['option']('--schedule-option\x20<value>','Updated\x20schedule\x20option')[a2_0x475355(0x1cb)]('--timezone\x20<tz>','Updated\x20timezone')[a2_0x475355(0x1cb)]('--add-attributes\x20<json>','Add\x20attributes\x20as\x20JSON\x20string')[a2_0x475355(0x1cb)]('--add-attributes-file\x20<file>',a2_0x475355(0x2c3))['option'](a2_0x475355(0x2fd),a2_0x475355(0x2d8))[a2_0x475355(0x1cb)](a2_0x475355(0x3af),a2_0x475355(0x3b1))[a2_0x475355(0x2de)](async(_0x1a64f7,_0x9d58c2)=>{const _0x4f78bc=a2_0x475355,_0x4ef0f5=new ParentSegmentUpdateCommand(),_0x54a5f7=program[_0x4f78bc(0x347)](),_0x497f7d=await createTDXInstance(_0x54a5f7),_0x39bdc2=await _0x4ef0f5[_0x4f78bc(0x2ae)]({'options':{..._0x54a5f7,..._0x9d58c2},'args':[_0x1a64f7],'tdx':_0x497f7d});gracefulExit(_0x39bdc2);}),folderCmd['command'](a2_0x475355(0x2ee))['description'](a2_0x475355(0x19b))[a2_0x475355(0x1cb)](a2_0x475355(0x1fe),a2_0x475355(0x17f))[a2_0x475355(0x1cb)](a2_0x475355(0x225),a2_0x475355(0x3a2))['action'](async(_0x1e9689,_0x5aba77,_0x40aafc)=>{const _0x60d9bd=a2_0x475355,_0x389e9c=new SegmentFolderCreateCommand(),_0x213822=program[_0x60d9bd(0x347)](),_0x22c6ac=await createTDXInstance(_0x213822),_0x1b3ba8=await _0x389e9c[_0x60d9bd(0x2ae)]({'options':{..._0x213822,..._0x40aafc},'args':[_0x1e9689,_0x5aba77],'tdx':_0x22c6ac});gracefulExit(_0x1b3ba8);}),program['command']('activations\x20<segment_name>')['description'](a2_0x475355(0x348))[a2_0x475355(0x2de)](async(_0xa7f35d,_0x22630e)=>{const _0x50df86=a2_0x475355,_0x35a25e=new ActivationsCommand(),_0x24aa50=program[_0x50df86(0x347)](),_0x193453=await createTDXInstance(_0x24aa50),_0x45acd0=await _0x35a25e[_0x50df86(0x2ae)]({'options':{..._0x24aa50,..._0x22630e},'args':[_0xa7f35d],'tdx':_0x193453});gracefulExit(_0x45acd0);});const workflowCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x33b))[a2_0x475355(0x38b)]('wf')[a2_0x475355(0x1fa)](a2_0x475355(0x1b0)),wfProjectCmd=workflowCmd[a2_0x475355(0x36c)]('project')[a2_0x475355(0x1fa)](a2_0x475355(0x34a)),wfProjectListAction=async(_0x523032,_0x5de7d1)=>{const _0x53cc9f=a2_0x475355,_0x4225fb=new WorkflowProjectsCommand(),_0x5e5af8=program[_0x53cc9f(0x347)](),_0x58a059=await createTDXInstance(_0x5e5af8),_0x1950e6=await _0x4225fb[_0x53cc9f(0x2ae)]({'options':{..._0x5e5af8,..._0x5de7d1},'args':_0x523032?[_0x523032]:[],'tdx':_0x58a059});gracefulExit(_0x1950e6);};wfProjectCmd['command']('list\x20[pattern]')[a2_0x475355(0x1fa)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x475355(0x2de)](wfProjectListAction),workflowCmd[a2_0x475355(0x36c)]('projects\x20[pattern]')['description'](a2_0x475355(0x378))[a2_0x475355(0x2de)](wfProjectListAction);const wfWorkflowListAction=async(_0x51d3bc,_0xab43c)=>{const _0x4088f6=new WorkflowWorkflowsCommand(),_0x13cbc7=program['opts'](),_0x1d585b=await createTDXInstance(_0x13cbc7),_0x3b5a02=await _0x4088f6['run']({'options':{..._0x13cbc7,..._0xab43c},'args':_0x51d3bc?[_0x51d3bc]:[],'tdx':_0x1d585b});gracefulExit(_0x3b5a02);};workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x1d4))['description'](a2_0x475355(0x320))[a2_0x475355(0x2de)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x2f4))[a2_0x475355(0x1fa)](a2_0x475355(0x269)),wfSessionListAction=async(_0x142c7d,_0x11469c)=>{const _0x46af8f=a2_0x475355,_0x28e070=new WorkflowSessionsCommand(),_0x526c66=program['opts'](),_0x2c0532=await createTDXInstance(_0x526c66),_0x3030f6=await _0x28e070[_0x46af8f(0x2ae)]({'options':{..._0x526c66,..._0x11469c},'args':_0x142c7d?[_0x142c7d]:[],'tdx':_0x2c0532});gracefulExit(_0x3030f6);};wfSessionCmd[a2_0x475355(0x36c)](a2_0x475355(0x22e))['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x475355(0x1cb)](a2_0x475355(0x28d),a2_0x475355(0x19e))['option'](a2_0x475355(0x2b1),a2_0x475355(0x2ea))[a2_0x475355(0x1cb)](a2_0x475355(0x3cb),a2_0x475355(0x2a4))[a2_0x475355(0x2de)](wfSessionListAction),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x26e))[a2_0x475355(0x1fa)](a2_0x475355(0x1e3))[a2_0x475355(0x1cb)](a2_0x475355(0x28d),a2_0x475355(0x19e))[a2_0x475355(0x1cb)]('--from\x20<timestamp>','Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a2_0x475355(0x3cb),a2_0x475355(0x2a4))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x226a13,_0x4e35ea)=>{const _0x550bf1=a2_0x475355,_0x26829f=new WorkflowAttemptsCommand(),_0x5a84e0=program[_0x550bf1(0x347)](),_0x5775be=await createTDXInstance(_0x5a84e0),_0x1079d6=await _0x26829f[_0x550bf1(0x2ae)]({'options':{..._0x5a84e0,..._0x4e35ea},'args':_0x226a13?[_0x226a13]:[],'tdx':_0x5775be});gracefulExit(_0x1079d6);},attemptCmd=workflowCmd['command'](a2_0x475355(0x3ce))[a2_0x475355(0x1fa)](a2_0x475355(0x36b))['argument'](a2_0x475355(0x2e6),a2_0x475355(0x3cc))[a2_0x475355(0x356)]('[action]',a2_0x475355(0x359))[a2_0x475355(0x356)](a2_0x475355(0x2dd),a2_0x475355(0x310))[a2_0x475355(0x1cb)](a2_0x475355(0x2c5),a2_0x475355(0x39e))[a2_0x475355(0x1cb)](a2_0x475355(0x3b3),a2_0x475355(0x29c))[a2_0x475355(0x1cb)](a2_0x475355(0x372),a2_0x475355(0x370))[a2_0x475355(0x1cb)]('--params\x20<json>',a2_0x475355(0x3a4))[a2_0x475355(0x1cb)](a2_0x475355(0x275),a2_0x475355(0x393))[a2_0x475355(0x1cb)](a2_0x475355(0x224),a2_0x475355(0x388))['action'](async(_0x1ddbb0,_0x187538,_0x577bdc,_0x9f51d7)=>{const _0x47f05a=a2_0x475355;if(_0x1ddbb0==='list'){await wfAttemptListAction(_0x187538,_0x9f51d7);return;}if(!_0x1ddbb0){attemptCmd['help']();return;}const _0x3d52a5=program['opts'](),_0x4ba32b=await createTDXInstance(_0x3d52a5);let _0x8f4bb=0x0;if(!_0x187538){const _0xe91755=new WorkflowAttemptCommand();_0x8f4bb=await _0xe91755[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':[_0x1ddbb0],'tdx':_0x4ba32b});}else{if(_0x187538===_0x47f05a(0x286)){const _0x37217a=new WorkflowLogsCommand();_0x8f4bb=await _0x37217a[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':_0x577bdc?[_0x1ddbb0,_0x577bdc]:[_0x1ddbb0],'tdx':_0x4ba32b});}else{if(_0x187538===_0x47f05a(0x369)){const _0x4c8eaf=new WorkflowTasksCommand();_0x8f4bb=await _0x4c8eaf[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':[_0x1ddbb0],'tdx':_0x4ba32b});}else{if(_0x187538===_0x47f05a(0x283)){const _0x571ef6=new WorkflowKillCommand();_0x8f4bb=await _0x571ef6[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':[_0x1ddbb0],'tdx':_0x4ba32b});}else{if(_0x187538==='retry'){const _0x546388=new WorkflowRetryCommand();_0x8f4bb=await _0x546388[_0x47f05a(0x2ae)]({'options':{..._0x3d52a5,..._0x9f51d7},'args':[_0x47f05a(0x151)+_0x1ddbb0],'tdx':_0x4ba32b});}else console[_0x47f05a(0x1c8)](_0x47f05a(0x18a)+_0x187538),console[_0x47f05a(0x1c8)](_0x47f05a(0x173)),_0x8f4bb=0x1;}}}}gracefulExit(_0x8f4bb);});attemptCmd[a2_0x475355(0x36c)](a2_0x475355(0x22e))['description'](a2_0x475355(0x2bf))[a2_0x475355(0x1cb)](a2_0x475355(0x224),a2_0x475355(0x3b6))['action'](wfAttemptListAction),workflowCmd['command'](a2_0x475355(0x2a2))[a2_0x475355(0x1fa)](a2_0x475355(0x380))[a2_0x475355(0x1cb)](a2_0x475355(0x224),'Include\x20retried\x20attempts')[a2_0x475355(0x2de)](wfAttemptListAction),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x222))[a2_0x475355(0x1fa)](a2_0x475355(0x1b4))[a2_0x475355(0x1cb)](a2_0x475355(0x175),'Follow/watch\x20timeline\x20for\x20running\x20attempts')['option'](a2_0x475355(0x281),a2_0x475355(0x1ea))[a2_0x475355(0x1cb)](a2_0x475355(0x182),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x475355(0x2de)](async(_0x2b3b10,_0x22131b)=>{const _0x31b0d6=a2_0x475355,_0x4be379=new WorkflowTimelineCommand(),_0x26a848=program['opts'](),_0x2f8fd0=await createTDXInstance(_0x26a848),_0x57f49f=await _0x4be379[_0x31b0d6(0x2ae)]({'options':{..._0x26a848,..._0x22131b},'args':_0x2b3b10?[_0x2b3b10]:[],'tdx':_0x2f8fd0});gracefulExit(_0x57f49f);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x3b9))['description'](a2_0x475355(0x22b))[a2_0x475355(0x1cb)]('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x475355(0x1cb)](a2_0x475355(0x37b),a2_0x475355(0x2f7))[a2_0x475355(0x2de)](async(_0x3ec123,_0x367c76)=>{const _0x3c9c0b=a2_0x475355,_0x42913d=new WorkflowRetryCommand(),_0xd52119=program['opts'](),_0x4a6a77=await createTDXInstance(_0xd52119),_0x5a012e=await _0x42913d[_0x3c9c0b(0x2ae)]({'options':{..._0xd52119,..._0x367c76},'args':[_0x3ec123],'tdx':_0x4a6a77});gracefulExit(_0x5a012e);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x3b8))[a2_0x475355(0x1fa)](a2_0x475355(0x27e))['option']('--param\x20<key=value>',a2_0x475355(0x318),(_0x199c75,_0x4a737d=[])=>[..._0x4a737d,_0x199c75],[])[a2_0x475355(0x1cb)](a2_0x475355(0x2ce),a2_0x475355(0x1ce))[a2_0x475355(0x2de)](async(_0x1fe472,_0x38d45b)=>{const _0x3edcb4=a2_0x475355,_0x574f1a=new WorkflowRunCommand(),_0x1ba39e=program[_0x3edcb4(0x347)](),_0x365120=await createTDXInstance(_0x1ba39e),_0x518e79=await _0x574f1a[_0x3edcb4(0x2ae)]({'options':{..._0x1ba39e,..._0x38d45b},'args':_0x1fe472?[_0x1fe472]:[],'tdx':_0x365120});gracefulExit(_0x518e79);}),workflowCmd['command'](a2_0x475355(0x209))[a2_0x475355(0x1fa)]('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x475355(0x1cb)](a2_0x475355(0x14e),a2_0x475355(0x25f))[a2_0x475355(0x2de)](async(_0x50c88d,_0x1c383c,_0x3ca33a)=>{const _0x14a73b=new WorkflowDownloadCommand(),_0xf5913a=program['opts'](),_0x1b111c=await createTDXInstance(_0xf5913a),_0x205a93=await _0x14a73b['run']({'options':{..._0xf5913a,..._0x3ca33a},'args':[_0x50c88d,_0x1c383c||'.'],'tdx':_0x1b111c});gracefulExit(_0x205a93);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x2dc))[a2_0x475355(0x1fa)](a2_0x475355(0x165))[a2_0x475355(0x1cb)](a2_0x475355(0x14e),'Pull\x20specific\x20revision\x20(default:\x20latest)')[a2_0x475355(0x1cb)](a2_0x475355(0x186),a2_0x475355(0x214))['option']('-y,\x20--yes',a2_0x475355(0x31a))['action'](async(_0x21066c,_0xa33471,_0x66e713)=>{const _0x1d36b6=a2_0x475355,_0xf12de7=new WorkflowPullCommand(),_0x5737dc=program[_0x1d36b6(0x347)](),_0x2c8662=await createTDXInstance(_0x5737dc),_0x19a683=await _0xf12de7[_0x1d36b6(0x2ae)]({'options':{..._0x5737dc,..._0x66e713},'args':_0xa33471?[_0x21066c,_0xa33471]:[_0x21066c],'tdx':_0x2c8662});gracefulExit(_0x19a683);}),workflowCmd[a2_0x475355(0x36c)]('push\x20[source-dir]')[a2_0x475355(0x1fa)](a2_0x475355(0x29d))[a2_0x475355(0x1cb)](a2_0x475355(0x14e),a2_0x475355(0x15c))['option'](a2_0x475355(0x186),a2_0x475355(0x284))[a2_0x475355(0x1cb)](a2_0x475355(0x2f1),a2_0x475355(0x2b4))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x31a))['action'](async(_0x2e9db0,_0x40293e)=>{const _0x32b53e=a2_0x475355,_0xe089fb=new WorkflowPushCommand(),_0x8ca559=program[_0x32b53e(0x347)](),_0x32d01d=await createTDXInstance(_0x8ca559),_0x512550=await _0xe089fb[_0x32b53e(0x2ae)]({'options':{..._0x8ca559,..._0x40293e},'args':_0x2e9db0?[_0x2e9db0]:[],'tdx':_0x32d01d});gracefulExit(_0x512550);}),workflowCmd[a2_0x475355(0x36c)]('upload\x20[project-name-or-dir]')['description'](a2_0x475355(0x243))['option'](a2_0x475355(0x358),a2_0x475355(0x2c4))[a2_0x475355(0x1cb)](a2_0x475355(0x14e),'Revision\x20name\x20(default:\x20timestamp)')[a2_0x475355(0x1cb)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x475355(0x2de)](async(_0x1d6bf6,_0x4ad691)=>{const _0x2860ae=a2_0x475355,_0x49628f=new WorkflowUploadCommand(),_0x1158a1=program[_0x2860ae(0x347)](),_0x31b4bd=await createTDXInstance(_0x1158a1),_0x50beac=await _0x49628f[_0x2860ae(0x2ae)]({'options':{..._0x1158a1,..._0x4ad691},'args':_0x1d6bf6?[_0x1d6bf6]:[],'tdx':_0x31b4bd});gracefulExit(_0x50beac);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x3a6))[a2_0x475355(0x1fa)]('Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name')[a2_0x475355(0x1cb)](a2_0x475355(0x358),'Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x475355(0x1cb)](a2_0x475355(0x14e),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x475355(0x1cb)](a2_0x475355(0x186),a2_0x475355(0x35e))[a2_0x475355(0x1cb)](a2_0x475355(0x2f1),a2_0x475355(0x2b4))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),'Skip\x20confirmation\x20prompt')[a2_0x475355(0x2de)](async(_0xba591f,_0x48dfa4)=>{const _0xee2efc=a2_0x475355,_0x4066a5=new WorkflowCloneCommand(),_0x458961=program[_0xee2efc(0x347)](),_0x3faf9b=await createTDXInstance(_0x458961),_0x2b550c=await _0x4066a5[_0xee2efc(0x2ae)]({'options':{..._0x458961,..._0x48dfa4},'args':_0xba591f?[_0xba591f]:[],'tdx':_0x3faf9b});gracefulExit(_0x2b550c);}),workflowCmd[a2_0x475355(0x36c)]('delete\x20<project-name-or-id>')[a2_0x475355(0x1fa)](a2_0x475355(0x2b5))[a2_0x475355(0x2de)](async(_0x514069,_0x4ad943)=>{const _0x1e207a=a2_0x475355,_0x57dbd4=new WorkflowDeleteCommand(),_0x24a589=program[_0x1e207a(0x347)](),_0x419463=await createTDXInstance(_0x24a589),_0x2d70aa=await _0x57dbd4['run']({'options':{..._0x24a589,..._0x4ad943},'args':[_0x514069],'tdx':_0x419463});gracefulExit(_0x2d70aa);}),workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x2a3))['description'](a2_0x475355(0x33d))[a2_0x475355(0x1cb)](a2_0x475355(0x159),'Clear\x20workflow\x20project\x20context')['action'](async(_0x1be5fb,_0x58c10d)=>{const _0x87e79d=a2_0x475355,_0x133046=new WorkflowUseCommand(),_0x291f7e=program[_0x87e79d(0x347)](),_0x45a7ce=await createTDXInstance(_0x291f7e),_0x1a784d=await _0x133046[_0x87e79d(0x2ae)]({'options':{..._0x291f7e,..._0x58c10d},'args':_0x1be5fb?[_0x1be5fb]:[],'tdx':_0x45a7ce});gracefulExit(_0x1a784d);});const wfSecretsCmd=workflowCmd[a2_0x475355(0x36c)](a2_0x475355(0x2e3))[a2_0x475355(0x1fa)](a2_0x475355(0x1e0));wfSecretsCmd['command'](a2_0x475355(0x22e))[a2_0x475355(0x1fa)]('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0x475355(0x2de)](async(_0x5e92ed,_0x3393fa)=>{const _0x565e9c=a2_0x475355,_0xe2945e=new WorkflowSecretsListCommand(),_0x1db621=program[_0x565e9c(0x347)](),_0x43fe1f=await createTDXInstance(_0x1db621),_0x526874=await _0xe2945e[_0x565e9c(0x2ae)]({'options':{..._0x1db621,..._0x3393fa},'args':_0x5e92ed?[_0x5e92ed]:[],'tdx':_0x43fe1f});gracefulExit(_0x526874);}),wfSecretsCmd['command']('set\x20<args...>')[a2_0x475355(0x1fa)](a2_0x475355(0x2c0))[a2_0x475355(0x2de)](async(_0x4aec35,_0x286d33)=>{const _0x32af59=a2_0x475355,_0x56f09b=new WorkflowSecretsSetCommand(),_0x3787c3=program[_0x32af59(0x347)](),_0x263794=await createTDXInstance(_0x3787c3),_0x501d04=await _0x56f09b[_0x32af59(0x2ae)]({'options':{..._0x3787c3,..._0x286d33},'args':_0x4aec35,'tdx':_0x263794});gracefulExit(_0x501d04);}),wfSecretsCmd[a2_0x475355(0x36c)](a2_0x475355(0x35f))['description'](a2_0x475355(0x330))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),'Skip\x20confirmation\x20prompt')['action'](async(_0x2e0ba8,_0x10bc6a)=>{const _0x464ce6=a2_0x475355,_0x1f21b0=new WorkflowSecretsDeleteCommand(),_0x5b2525=program[_0x464ce6(0x347)](),_0x4a8cba=await createTDXInstance(_0x5b2525),_0x282806=await _0x1f21b0[_0x464ce6(0x2ae)]({'options':{..._0x5b2525,..._0x10bc6a},'args':_0x2e0ba8,'tdx':_0x4a8cba});gracefulExit(_0x282806);});const jobCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x270))[a2_0x475355(0x1fa)](a2_0x475355(0x212)),jobListAction=async _0xbcf414=>{const _0x18c436=a2_0x475355,_0x103dc6=new JobListCommand(),_0x459a79=program[_0x18c436(0x347)](),_0x511610=await createTDXInstance(_0x459a79),_0x5bcf87=await _0x103dc6[_0x18c436(0x2ae)]({'options':{..._0x459a79,..._0xbcf414},'args':[],'tdx':_0x511610});gracefulExit(_0x5bcf87);};jobCmd[a2_0x475355(0x36c)](a2_0x475355(0x35c))[a2_0x475355(0x1fa)]('List\x20jobs')[a2_0x475355(0x1cb)](a2_0x475355(0x28d),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x475355(0x2de)](jobListAction),program['command'](a2_0x475355(0x362),{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x160))['option']('--status\x20<status>',a2_0x475355(0x28b))[a2_0x475355(0x2de)](jobListAction),jobCmd[a2_0x475355(0x36c)]('show\x20<job-id>')[a2_0x475355(0x1fa)]('Show\x20job\x20details')[a2_0x475355(0x2de)](async(_0x4bd22b,_0x4562da)=>{const _0x36fa25=a2_0x475355,_0x27965a=new JobShowCommand(),_0x4f7108=program[_0x36fa25(0x347)](),_0x15a31e=await createTDXInstance(_0x4f7108),_0x1891b6=await _0x27965a['run']({'options':{..._0x4f7108,..._0x4562da},'args':[_0x4bd22b],'tdx':_0x15a31e});gracefulExit(_0x1891b6);}),jobCmd['command'](a2_0x475355(0x29f))[a2_0x475355(0x1fa)]('Kill\x20a\x20job')[a2_0x475355(0x2de)](async(_0x364ec8,_0x45b7e1)=>{const _0x5d6c37=a2_0x475355,_0x2a43e1=new JobKillCommand(),_0x18c86f=program[_0x5d6c37(0x347)](),_0x39f0f1=await createTDXInstance(_0x18c86f),_0x1ff7f1=await _0x2a43e1[_0x5d6c37(0x2ae)]({'options':{..._0x18c86f,..._0x45b7e1},'args':[_0x364ec8],'tdx':_0x39f0f1});gracefulExit(_0x1ff7f1);}),jobCmd[a2_0x475355(0x36c)](a2_0x475355(0x1b6))[a2_0x475355(0x1fa)]('Submit\x20a\x20job')[a2_0x475355(0x1cb)]('--job-type\x20<type>',a2_0x475355(0x2e4),a2_0x475355(0x19c))['option']('-f,\x20--file\x20<path>',a2_0x475355(0x233))[a2_0x475355(0x1cb)](a2_0x475355(0x2ca),a2_0x475355(0x1ac),a2_0x475355(0x188))[a2_0x475355(0x2de)](async(_0x2a1c25,_0x1111ed)=>{const _0x129249=a2_0x475355,_0x31e56d=new JobSubmitCommand(),_0x214924=program[_0x129249(0x347)](),_0xc5a806=await createTDXInstance(_0x214924),_0x55d7f0=await _0x31e56d[_0x129249(0x2ae)]({'options':{..._0x214924,..._0x1111ed},'args':_0x2a1c25?[_0x2a1c25]:[],'tdx':_0xc5a806});gracefulExit(_0x55d7f0);}),jobCmd[a2_0x475355(0x36c)](a2_0x475355(0x268))['description'](a2_0x475355(0x2b9))[a2_0x475355(0x2de)](async(_0x1ede78,_0x3eabc6)=>{const _0x2da9b7=a2_0x475355,_0x178c33=new JobResultCommand(),_0x5417d7=program['opts'](),_0xa64515=await createTDXInstance(_0x5417d7),_0xe935a0=await _0x178c33[_0x2da9b7(0x2ae)]({'options':{..._0x5417d7,..._0x3eabc6},'args':[_0x1ede78],'tdx':_0xa64515});gracefulExit(_0xe935a0);});const scheduleCmd=jobCmd[a2_0x475355(0x36c)]('schedule')['description'](a2_0x475355(0x259));scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')[a2_0x475355(0x2de)](async(_0x180414,_0x3fdb8e)=>{const _0x498e16=a2_0x475355,_0x399cc8=new ScheduleListCommand(),_0x4e6642=program[_0x498e16(0x347)](),_0x46bce1=await createTDXInstance(_0x4e6642),_0x46f971=await _0x399cc8['run']({'options':{..._0x4e6642,..._0x3fdb8e},'args':_0x180414?[_0x180414]:[],'tdx':_0x46bce1});gracefulExit(_0x46f971);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x245))[a2_0x475355(0x1fa)]('Show\x20schedule\x20details')[a2_0x475355(0x2de)](async(_0x24f675,_0x3e2256)=>{const _0x20a72d=a2_0x475355,_0x98689=new ScheduleShowCommand(),_0x441988=program[_0x20a72d(0x347)](),_0x535c00=await createTDXInstance(_0x441988),_0xce3c0c=await _0x98689[_0x20a72d(0x2ae)]({'options':{..._0x441988,..._0x3e2256},'args':[_0x24f675],'tdx':_0x535c00});gracefulExit(_0xce3c0c);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x343))['description'](a2_0x475355(0x17a))[a2_0x475355(0x17b)](a2_0x475355(0x14f),a2_0x475355(0x2e9))[a2_0x475355(0x17b)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')[a2_0x475355(0x1cb)](a2_0x475355(0x249),'Query\x20type:\x20trino\x20or\x20hive',a2_0x475355(0x19c))[a2_0x475355(0x1cb)](a2_0x475355(0x1b8),a2_0x475355(0x2cb))['option'](a2_0x475355(0x1ba),'Timezone\x20for\x20cron\x20(default:\x20UTC)')[a2_0x475355(0x1cb)](a2_0x475355(0x294),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x475355(0x1cb)](a2_0x475355(0x1c5),a2_0x475355(0x232))[a2_0x475355(0x1cb)]('--retry-limit\x20<0~32>',a2_0x475355(0x2e5))['option'](a2_0x475355(0x15e),a2_0x475355(0x30a))[a2_0x475355(0x1cb)](a2_0x475355(0x168),a2_0x475355(0x155))[a2_0x475355(0x2de)](async(_0x1fe251,_0x1e2d44)=>{const _0x1d819b=a2_0x475355,_0x404d3c=new ScheduleCreateCommand(),_0x2476da=program[_0x1d819b(0x347)](),_0x53616a=await createTDXInstance(_0x2476da),_0x1ede7f=await _0x404d3c['run']({'options':{..._0x2476da,..._0x1e2d44},'args':[_0x1fe251],'tdx':_0x53616a});gracefulExit(_0x1ede7f);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x346))[a2_0x475355(0x1fa)]('Update\x20a\x20scheduled\x20query')[a2_0x475355(0x1cb)]('-d,\x20--database\x20<db>',a2_0x475355(0x2e9))[a2_0x475355(0x1cb)]('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')['option']('--type\x20<type>','Query\x20type:\x20trino\x20or\x20hive')[a2_0x475355(0x1cb)]('--cron\x20<expression>','Cron\x20expression\x20for\x20scheduling')[a2_0x475355(0x1cb)](a2_0x475355(0x1ba),a2_0x475355(0x361))[a2_0x475355(0x1cb)](a2_0x475355(0x294),a2_0x475355(0x321))[a2_0x475355(0x1cb)](a2_0x475355(0x1c5),a2_0x475355(0x232))[a2_0x475355(0x1cb)](a2_0x475355(0x244),a2_0x475355(0x2e5))[a2_0x475355(0x1cb)](a2_0x475355(0x15e),a2_0x475355(0x30a))[a2_0x475355(0x1cb)](a2_0x475355(0x168),a2_0x475355(0x155))[a2_0x475355(0x2de)](async(_0x468b6d,_0x2499ad)=>{const _0x526a29=a2_0x475355,_0x3c90d8=new ScheduleUpdateCommand(),_0x358fe0=program[_0x526a29(0x347)](),_0x22fbf5=await createTDXInstance(_0x358fe0),_0x5abd2d=await _0x3c90d8[_0x526a29(0x2ae)]({'options':{..._0x358fe0,..._0x2499ad},'args':[_0x468b6d],'tdx':_0x22fbf5});gracefulExit(_0x5abd2d);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x397))[a2_0x475355(0x1fa)]('Delete\x20a\x20scheduled\x20query')[a2_0x475355(0x2de)](async(_0x580a34,_0x47b7d4)=>{const _0x3cfb37=a2_0x475355,_0x283245=new ScheduleDeleteCommand(),_0x46f60b=program['opts'](),_0x4022b0=await createTDXInstance(_0x46f60b),_0x4b3c8f=await _0x283245[_0x3cfb37(0x2ae)]({'options':{..._0x46f60b,..._0x47b7d4},'args':[_0x580a34],'tdx':_0x4022b0});gracefulExit(_0x4b3c8f);}),scheduleCmd['command'](a2_0x475355(0x28c))['description']('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x475355(0x1cb)]('--time\x20<iso8601>',a2_0x475355(0x166))[a2_0x475355(0x1cb)](a2_0x475355(0x3ab),a2_0x475355(0x1cc))[a2_0x475355(0x2de)](async(_0x2d0742,_0x2709b4)=>{const _0x1c7acb=a2_0x475355,_0x140b0f=new ScheduleRunCommand(),_0x451c1c=program[_0x1c7acb(0x347)](),_0x2aeacf=await createTDXInstance(_0x451c1c),_0x237f14=await _0x140b0f['run']({'options':{..._0x451c1c,..._0x2709b4},'args':[_0x2d0742],'tdx':_0x2aeacf});gracefulExit(_0x237f14);}),scheduleCmd[a2_0x475355(0x36c)](a2_0x475355(0x16a))[a2_0x475355(0x1fa)](a2_0x475355(0x14c))[a2_0x475355(0x1cb)]('--from\x20<n>',a2_0x475355(0x260))['option'](a2_0x475355(0x3a0),a2_0x475355(0x276))[a2_0x475355(0x2de)](async(_0x4ee5b0,_0x3d9f9f)=>{const _0x886dfe=a2_0x475355,_0x187931=new ScheduleHistoryCommand(),_0xe5e4e9=program[_0x886dfe(0x347)](),_0x19ffc5=await createTDXInstance(_0xe5e4e9),_0x5e4fe3=await _0x187931[_0x886dfe(0x2ae)]({'options':{..._0xe5e4e9,..._0x3d9f9f},'args':[_0x4ee5b0],'tdx':_0x19ffc5});gracefulExit(_0x5e4fe3);});const llmCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x2f2))[a2_0x475355(0x1fa)](a2_0x475355(0x26d));llmCmd[a2_0x475355(0x36c)](a2_0x475355(0x2ac))[a2_0x475355(0x1fa)](a2_0x475355(0x3a5))[a2_0x475355(0x2de)](async(_0x12c185,_0x12ecf)=>{const _0x2e2cf1=a2_0x475355,_0x4b8309=new LLMUseCommand(),_0x68b087=program[_0x2e2cf1(0x347)](),_0xef7203=await createTDXInstance(_0x68b087),_0x1d8101=await _0x4b8309['run']({'options':{..._0x68b087,..._0x12ecf},'args':[_0x12c185],'tdx':_0xef7203});gracefulExit(_0x1d8101);}),llmCmd[a2_0x475355(0x36c)](a2_0x475355(0x20d))['description'](a2_0x475355(0x32b))[a2_0x475355(0x2de)](async _0x4b3224=>{const _0x665d53=a2_0x475355,_0x43a800=new LLMModelsCommand(),_0x377b1f=program[_0x665d53(0x347)](),_0x2e3ad7=await createTDXInstance(_0x377b1f),_0x181d5e=await _0x43a800['run']({'options':{..._0x377b1f,..._0x4b3224},'args':[],'tdx':_0x2e3ad7});gracefulExit(_0x181d5e);});const projectCmd=llmCmd[a2_0x475355(0x36c)]('project')[a2_0x475355(0x1fa)](a2_0x475355(0x170)),llmProjectListAction=async(_0x2424a4,_0x1aa04b)=>{const _0x554c2f=a2_0x475355,_0x40193c=new LLMProjectsCommand(),_0x33da5d=program['opts'](),_0x3bf6c6=await createTDXInstance(_0x33da5d),_0x167d3c=await _0x40193c[_0x554c2f(0x2ae)]({'options':{..._0x33da5d,..._0x1aa04b},'args':_0x2424a4?[_0x2424a4]:[],'tdx':_0x3bf6c6});gracefulExit(_0x167d3c);};projectCmd['command'](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)](a2_0x475355(0x242))[a2_0x475355(0x2de)](llmProjectListAction),llmCmd[a2_0x475355(0x36c)]('projects\x20[pattern]')[a2_0x475355(0x1fa)](a2_0x475355(0x1df))[a2_0x475355(0x2de)](llmProjectListAction),projectCmd[a2_0x475355(0x36c)](a2_0x475355(0x343))[a2_0x475355(0x1fa)](a2_0x475355(0x193))['option'](a2_0x475355(0x1fe),'Project\x20description')[a2_0x475355(0x2de)](async(_0x18232f,_0x1f10a3)=>{const _0x16d31f=a2_0x475355,_0x1d4421=new LLMProjectCreateCommand(),_0x2656d5=program[_0x16d31f(0x347)](),_0x255b16=await createTDXInstance(_0x2656d5),_0x3ddb14=await _0x1d4421[_0x16d31f(0x2ae)]({'options':{..._0x2656d5,..._0x1f10a3},'args':[_0x18232f],'tdx':_0x255b16});gracefulExit(_0x3ddb14);}),projectCmd['command'](a2_0x475355(0x397))[a2_0x475355(0x1fa)](a2_0x475355(0x287))[a2_0x475355(0x2de)](async(_0x12ffbf,_0xee5d93)=>{const _0x42d611=a2_0x475355,_0x584a1f=new LLMProjectDeleteCommand(),_0x124705=program[_0x42d611(0x347)](),_0x332759=await createTDXInstance(_0x124705),_0x134621=await _0x584a1f['run']({'options':{..._0x124705,..._0xee5d93},'args':[_0x12ffbf],'tdx':_0x332759});gracefulExit(_0x134621);}),projectCmd[a2_0x475355(0x36c)](a2_0x475355(0x277))[a2_0x475355(0x1fa)](a2_0x475355(0x20c))[a2_0x475355(0x1cb)](a2_0x475355(0x30b),a2_0x475355(0x302))[a2_0x475355(0x1cb)](a2_0x475355(0x186),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')['action'](async(_0x2e234f,_0x5b8c23)=>{const _0x399b6b=a2_0x475355,_0x33ceab=new LLMProjectBackupCommand(),_0x4fdee0=program[_0x399b6b(0x347)](),_0x5c3d9a=await createTDXInstance(_0x4fdee0),_0x3c1741=await _0x33ceab[_0x399b6b(0x2ae)]({'options':{..._0x4fdee0,..._0x5b8c23},'args':[_0x2e234f],'tdx':_0x5c3d9a});gracefulExit(_0x3c1741);}),projectCmd[a2_0x475355(0x36c)](a2_0x475355(0x3c6))['description'](a2_0x475355(0x3c4))[a2_0x475355(0x1cb)](a2_0x475355(0x220),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x475355(0x1cb)](a2_0x475355(0x186),'Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')[a2_0x475355(0x2de)](async(_0x4f89bb,_0x1e190b)=>{const _0x11cc0f=a2_0x475355,_0x196242=new LLMProjectRestoreCommand(),_0x5065e9=program[_0x11cc0f(0x347)](),_0x3a5857=await createTDXInstance(_0x5065e9),_0x5f3449=await _0x196242['run']({'options':{..._0x5065e9,..._0x1e190b},'args':[_0x4f89bb],'tdx':_0x3a5857});gracefulExit(_0x5f3449);});const llmAgentListAction=async(_0x281ea8,_0x23f65c)=>{const _0x5aeaf9=a2_0x475355,_0x4603b5=new LLMAgentsCommand(),_0x13cdda=program[_0x5aeaf9(0x347)](),_0x5a613a=await createTDXInstance(_0x13cdda),_0x12a288=await _0x4603b5[_0x5aeaf9(0x2ae)]({'options':{..._0x13cdda,..._0x23f65c},'args':_0x281ea8?[_0x281ea8]:[],'tdx':_0x5a613a});gracefulExit(_0x12a288);};llmCmd[a2_0x475355(0x36c)](a2_0x475355(0x39d))[a2_0x475355(0x1fa)](a2_0x475355(0x2be))['action'](llmAgentListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x39d))['description'](a2_0x475355(0x2be))[a2_0x475355(0x2de)](llmAgentListAction),llmCmd['command'](a2_0x475355(0x2ab))['description'](a2_0x475355(0x1bd))[a2_0x475355(0x1cb)](a2_0x475355(0x37d),a2_0x475355(0x31f))[a2_0x475355(0x2de)](async(_0x250a76,_0x3331eb)=>{const _0x58f840=a2_0x475355,_0x35a6ef=new LLMHistoryCommand(),_0x4db16b=program[_0x58f840(0x347)](),_0x1a223a=await createTDXInstance(_0x4db16b),_0x7f08e0=await _0x35a6ef[_0x58f840(0x2ae)]({'options':{..._0x4db16b,..._0x3331eb},'args':_0x250a76?[_0x250a76]:[],'tdx':_0x1a223a});gracefulExit(_0x7f08e0);});isExperimentalAvailable()&&llmCmd[a2_0x475355(0x36c)]('log\x20<chat-id>')[a2_0x475355(0x1fa)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x475355(0x2de)](async(_0x59c963,_0xc34530)=>{const _0x32b349=a2_0x475355,_0x34d5ac=new LLMLogCommand(),_0x402e4a=program[_0x32b349(0x347)](),_0x4cbeab=await createTDXInstance(_0x402e4a),_0x50711f=await _0x34d5ac[_0x32b349(0x2ae)]({'options':{..._0x402e4a,..._0xc34530},'args':[_0x59c963],'tdx':_0x4cbeab});gracefulExit(_0x50711f);});program[a2_0x475355(0x36c)]('claude\x20[args...]')[a2_0x475355(0x2db)](a2_0x475355(0x3c5))[a2_0x475355(0x1fa)](a2_0x475355(0x24c))[a2_0x475355(0x1cb)](a2_0x475355(0x3ae),a2_0x475355(0x2cc))['option'](a2_0x475355(0x367),a2_0x475355(0x379))[a2_0x475355(0x1cb)](a2_0x475355(0x187),a2_0x475355(0x1e5))[a2_0x475355(0x236)]()[a2_0x475355(0x20b)](!![])[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x25d))['action'](async(_0x42c523,_0x58c901)=>{const _0x43d3df=a2_0x475355,_0x170434=program['opts'](),_0x356d3b=Array['isArray'](_0x42c523)?_0x42c523:[];if(_0x356d3b[0x0]==='statusline'){const _0xafd945=new ClaudeStatuslineCommand(),_0x558b61=await _0xafd945[_0x43d3df(0x2ae)]({'options':{..._0x170434,..._0x58c901},'args':_0x356d3b[_0x43d3df(0x1c9)](0x1),'tdx':null});gracefulExit(_0x558b61);}if(_0x356d3b[0x0]==='usage'){const _0x42b883=new ClaudeUsageCommand(),_0x40ce9f=await _0x42b883[_0x43d3df(0x2ae)]({'options':{..._0x170434,..._0x58c901},'args':_0x356d3b[_0x43d3df(0x1c9)](0x1),'tdx':null});gracefulExit(_0x40ce9f);}const _0x82257d=new ClaudeCommand(),_0x53bbee=await createTDXInstance(_0x170434),_0x4e0e00=await _0x82257d[_0x43d3df(0x2ae)]({'options':{..._0x170434,..._0x58c901},'args':_0x356d3b,'tdx':_0x53bbee});gracefulExit(_0x4e0e00);}),program[a2_0x475355(0x36c)](a2_0x475355(0x301))['description'](a2_0x475355(0x2f6))[a2_0x475355(0x1cb)](a2_0x475355(0x159),'Clear\x20session\x20context')[a2_0x475355(0x1cb)]('--default',a2_0x475355(0x192))[a2_0x475355(0x2de)](async(_0x589ed9,_0x5e3f93,_0x43c12f)=>{const _0x1f3595=a2_0x475355,_0x259dd3=new UseCommand(),_0x79b1f6=program[_0x1f3595(0x347)](),_0xd4dade=[];if(_0x589ed9)_0xd4dade[_0x1f3595(0x313)](_0x589ed9);if(_0x5e3f93)_0xd4dade[_0x1f3595(0x313)](_0x5e3f93);const _0x17554b=await _0x259dd3[_0x1f3595(0x2ae)]({'options':{..._0x79b1f6,..._0x43c12f},'args':_0xd4dade,'tdx':null});gracefulExit(_0x17554b);}),program[a2_0x475355(0x36c)](a2_0x475355(0x21d))[a2_0x475355(0x1fa)](a2_0x475355(0x194))['action'](async _0x17ee4b=>{const _0x3b9f88=a2_0x475355,_0x4605d4=new StatusCommand(),_0x2cc07f=program[_0x3b9f88(0x347)](),_0x267b72=await createTDXInstance(_0x2cc07f),_0x26155a=await _0x4605d4['run']({'options':{..._0x2cc07f,..._0x17ee4b},'args':[],'tdx':_0x267b72});gracefulExit(_0x26155a);}),program['command'](a2_0x475355(0x328))['description'](a2_0x475355(0x1bf))[a2_0x475355(0x1cb)](a2_0x475355(0x204),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x475355(0x2de)](async(_0x985823,_0xb1b6d1)=>{const _0x5c5e43=a2_0x475355,_0x1cf0f9=new UnsetCommand(),_0x3ae41d=program[_0x5c5e43(0x347)](),_0x49cbbd=await _0x1cf0f9[_0x5c5e43(0x2ae)]({'options':{..._0x3ae41d,..._0xb1b6d1},'args':[_0x985823],'tdx':null});gracefulExit(_0x49cbbd);}),program[a2_0x475355(0x36c)](a2_0x475355(0x387))[a2_0x475355(0x1fa)](a2_0x475355(0x2aa))[a2_0x475355(0x1cb)](a2_0x475355(0x37d),a2_0x475355(0x21b))[a2_0x475355(0x2de)](async _0x32acb9=>{const _0x11fdd4=a2_0x475355,_0x557af4=new ChatsCommand(),_0x33f7ba=program[_0x11fdd4(0x347)](),_0xaaed90=await createTDXInstance(_0x33f7ba),_0x5d3a23=await _0x557af4['run']({'options':{..._0x33f7ba,..._0x32acb9},'args':[],'tdx':_0xaaed90});gracefulExit(_0x5d3a23);});const authCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x319))[a2_0x475355(0x1fa)]('Authentication\x20management');async function runAuthStatusCommand(_0x42b983){const _0x3d2ed9=a2_0x475355,_0x4c17ba=new AuthStatusCommand(),_0x32e8a1=program[_0x3d2ed9(0x347)](),_0x3893c0=await createTDXInstance(_0x32e8a1),_0x4460e7=await _0x4c17ba[_0x3d2ed9(0x2ae)]({'options':{..._0x32e8a1,..._0x42b983},'args':[],'tdx':_0x3893c0});gracefulExit(_0x4460e7);}authCmd['action'](runAuthStatusCommand),authCmd['command'](a2_0x475355(0x21d))[a2_0x475355(0x1fa)](a2_0x475355(0x23f))[a2_0x475355(0x2de)](runAuthStatusCommand),authCmd['command'](a2_0x475355(0x21c))[a2_0x475355(0x1fa)](a2_0x475355(0x258))['addHelpText'](a2_0x475355(0x16f),'\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_0x475355(0x2de)](async _0x20d7f9=>{const _0x5548d1=a2_0x475355,_0x59f0cf=new AuthSetupCommand(),_0x1b8469=program[_0x5548d1(0x347)](),_0xf6db96=await createTDXInstance(_0x1b8469),_0x413dba=await _0x59f0cf['run']({'options':{..._0x1b8469,..._0x20d7f9},'args':[],'tdx':_0xf6db96});gracefulExit(_0x413dba);}),authCmd[a2_0x475355(0x36c)](a2_0x475355(0x206))['description']('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x475355(0x16f),a2_0x475355(0x2c8))[a2_0x475355(0x2de)](async _0x31b0ac=>{const _0x199fab=a2_0x475355,_0x48c793=new AuthClearCommand(),_0x5b90cf=program[_0x199fab(0x347)](),_0x1f6150=await _0x48c793['run']({'options':{..._0x5b90cf,..._0x31b0ac},'args':[],'tdx':null});gracefulExit(_0x1f6150);});const userCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x1fc))[a2_0x475355(0x1fa)](a2_0x475355(0x215)),userListAction=async _0x3acc2c=>{const _0x34a46d=a2_0x475355,_0x5b0299=new UserListCommand(),_0x2b6092=program[_0x34a46d(0x347)](),_0x1e086f=await createTDXInstance(_0x2b6092),_0x9cae56=await _0x5b0299['run']({'options':{..._0x2b6092,..._0x3acc2c},'args':[],'tdx':_0x1e086f});gracefulExit(_0x9cae56);};userCmd['action'](async _0x163c25=>{const _0x172210=a2_0x475355,_0x2b34df=new UserCommand(),_0x49b3f4=program[_0x172210(0x347)](),_0xad07ec=await createTDXInstance(_0x49b3f4),_0x2091eb=await _0x2b34df[_0x172210(0x2ae)]({'options':{..._0x49b3f4,..._0x163c25},'args':[],'tdx':_0xad07ec});gracefulExit(_0x2091eb);}),userCmd[a2_0x475355(0x36c)](a2_0x475355(0x35c))[a2_0x475355(0x1fa)](a2_0x475355(0x18d))[a2_0x475355(0x2de)](userListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x1be))[a2_0x475355(0x1fa)](a2_0x475355(0x34e))['action'](userListAction),program[a2_0x475355(0x36c)]('profiles')[a2_0x475355(0x1fa)](a2_0x475355(0x384))['action'](async _0x1179c0=>{const _0x1f87f9=a2_0x475355,_0x12034c=new ProfilesCommand(),_0x16d8cd=program['opts'](),_0x4b4e8e=await _0x12034c[_0x1f87f9(0x2ae)]({'options':{..._0x16d8cd,..._0x1179c0},'args':[],'tdx':null});gracefulExit(_0x4b4e8e);});const profileCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x37e))[a2_0x475355(0x1fa)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd['action'](()=>{const _0x978e16=a2_0x475355;profileCmd[_0x978e16(0x279)]();});function a2_0x4e0b(_0x4f1ece,_0x2c76f1){_0x4f1ece=_0x4f1ece-0x13f;const _0x4013ed=a2_0x4013();let _0x4e0b56=_0x4013ed[_0x4f1ece];return _0x4e0b56;}const profileListAction=async _0x70d6b9=>{const _0x24de5f=a2_0x475355,_0x4f47e1=new ProfilesCommand(),_0x5b95a0=program['opts'](),_0x3bb03c=await _0x4f47e1[_0x24de5f(0x2ae)]({'options':{..._0x5b95a0,..._0x70d6b9},'args':[],'tdx':null});gracefulExit(_0x3bb03c);};profileCmd['command'](a2_0x475355(0x35c))[a2_0x475355(0x1fa)](a2_0x475355(0x384))['action'](profileListAction),profileCmd['command'](a2_0x475355(0x3ba))[a2_0x475355(0x1fa)](a2_0x475355(0x264))[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x2c7))[a2_0x475355(0x2de)](async(_0x4a4624,_0x4186ae)=>{const _0x4aff11=a2_0x475355,_0x29ecc0=new ProfileCreateCommand(),_0x10ec06=program[_0x4aff11(0x347)](),_0x403260=await _0x29ecc0[_0x4aff11(0x2ae)]({'options':{..._0x10ec06,..._0x4186ae},'args':_0x4a4624?[_0x4a4624]:[],'tdx':null});gracefulExit(_0x403260);}),profileCmd['command'](a2_0x475355(0x208))['description']('Remove\x20a\x20profile')['addHelpText'](a2_0x475355(0x16f),a2_0x475355(0x298))[a2_0x475355(0x2de)](async(_0x32f17d,_0x56e2b2)=>{const _0x4c376a=a2_0x475355,_0x49ec05=new ProfileRemoveCommand(),_0x40aff3=program[_0x4c376a(0x347)](),_0x570c87=await _0x49ec05[_0x4c376a(0x2ae)]({'options':{..._0x40aff3,..._0x56e2b2},'args':[_0x32f17d],'tdx':null});gracefulExit(_0x570c87);}),profileCmd[a2_0x475355(0x36c)](a2_0x475355(0x2ed))[a2_0x475355(0x1fa)]('Set\x20a\x20profile\x20configuration\x20value')[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x2d1))[a2_0x475355(0x2de)](async(_0x5b62a6,_0x11fef2)=>{const _0x5d0b0a=a2_0x475355,_0x29eac7=new ProfileSetCommand(),_0x58145a=program[_0x5d0b0a(0x347)](),_0x364533=await _0x29eac7['run']({'options':{..._0x58145a,..._0x11fef2},'args':[_0x5b62a6],'tdx':null});gracefulExit(_0x364533);}),profileCmd['command'](a2_0x475355(0x1c3))[a2_0x475355(0x1fa)](a2_0x475355(0x2b7))['option'](a2_0x475355(0x204),a2_0x475355(0x192))[a2_0x475355(0x329)](a2_0x475355(0x16f),a2_0x475355(0x312))['action'](async(_0x503d7f,_0x2faa73)=>{const _0x25824f=new ProfileUseCommand(),_0x6668f9=program['opts'](),_0xe91373=await _0x25824f['run']({'options':{..._0x6668f9,..._0x2faa73},'args':[_0x503d7f],'tdx':null});gracefulExit(_0xe91373);});const engageCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x1e2))[a2_0x475355(0x1fa)](a2_0x475355(0x1b3)),createEngageAction=_0x1acd7d=>{return async(_0xd7d5f3,_0x53b2d2)=>{const _0x5c0500=a2_0x4e0b,_0x17d718=new _0x1acd7d(),_0x483642=program[_0x5c0500(0x347)](),_0x5ab323=await createTDXInstance(_0x483642),_0x4e14ef=await _0x17d718[_0x5c0500(0x2ae)]({'options':{..._0x483642,..._0x53b2d2},'args':[_0xd7d5f3],'tdx':_0x5ab323});gracefulExit(_0x4e14ef);};},createEngageNoArgAction=_0x5126b2=>{return async _0x4036da=>{const _0x2e90ca=a2_0x4e0b,_0x3e6970=new _0x5126b2(),_0x2cecb7=program[_0x2e90ca(0x347)](),_0x4dbddd=await createTDXInstance(_0x2cecb7),_0x113fc3=await _0x3e6970['run']({'options':{..._0x2cecb7,..._0x4036da},'args':[],'tdx':_0x4dbddd});gracefulExit(_0x113fc3);};},campaignCmd=engageCmd[a2_0x475355(0x36c)](a2_0x475355(0x327))[a2_0x475355(0x1fa)]('Campaign\x20management'),campaignListAction=async(_0x591718,_0x4522cd)=>{const _0x2bc8db=a2_0x475355,_0x3e4412=new EngageCampaignsCommand(),_0x420269=program[_0x2bc8db(0x347)](),_0x4eca00=await createTDXInstance(_0x420269),_0x3d1743=await _0x3e4412[_0x2bc8db(0x2ae)]({'options':{..._0x420269,..._0x4522cd},'args':_0x591718?[_0x591718]:[],'tdx':_0x4eca00});gracefulExit(_0x3d1743);};campaignCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))['description'](a2_0x475355(0x37c))[a2_0x475355(0x1cb)](a2_0x475355(0x249),a2_0x475355(0x31d))[a2_0x475355(0x1cb)](a2_0x475355(0x28d),a2_0x475355(0x181))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](campaignListAction),engageCmd['command'](a2_0x475355(0x153))[a2_0x475355(0x1fa)](a2_0x475355(0x265))['option'](a2_0x475355(0x249),a2_0x475355(0x31d))[a2_0x475355(0x1cb)](a2_0x475355(0x28d),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](campaignListAction),campaignCmd[a2_0x475355(0x36c)](a2_0x475355(0x39c))[a2_0x475355(0x1fa)](a2_0x475355(0x3c2))[a2_0x475355(0x1cb)]('--workspace\x20<name>','Workspace\x20name')[a2_0x475355(0x1cb)]('--full',a2_0x475355(0x344))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x475355(0x267))[a2_0x475355(0x1fa)](a2_0x475355(0x23b))['requiredOption'](a2_0x475355(0x358),a2_0x475355(0x3c1))[a2_0x475355(0x17b)](a2_0x475355(0x249),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x475355(0x1cb)]('--workspace\x20<name>',a2_0x475355(0x1a0))[a2_0x475355(0x1cb)](a2_0x475355(0x3a7),a2_0x475355(0x1e8))['option'](a2_0x475355(0x16b),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')['option']('--email-sender-id\x20<id>',a2_0x475355(0x334))[a2_0x475355(0x1cb)](a2_0x475355(0x254),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x475355(0x1cb)](a2_0x475355(0x177),a2_0x475355(0x235))[a2_0x475355(0x1cb)](a2_0x475355(0x1ba),a2_0x475355(0x207))[a2_0x475355(0x2de)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x475355(0x36c)](a2_0x475355(0x227))['description'](a2_0x475355(0x326))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))['option'](a2_0x475355(0x358),a2_0x475355(0x2b3))[a2_0x475355(0x1cb)]('--description\x20<desc>','Campaign\x20description')[a2_0x475355(0x1cb)](a2_0x475355(0x16b),a2_0x475355(0x201))[a2_0x475355(0x1cb)](a2_0x475355(0x172),a2_0x475355(0x334))[a2_0x475355(0x1cb)](a2_0x475355(0x254),a2_0x475355(0x161))[a2_0x475355(0x1cb)](a2_0x475355(0x177),a2_0x475355(0x235))[a2_0x475355(0x1cb)](a2_0x475355(0x1ba),a2_0x475355(0x207))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command']('delete\x20<name-or-id>')[a2_0x475355(0x1fa)]('Delete\x20a\x20campaign')[a2_0x475355(0x1cb)]('--workspace\x20<name>',a2_0x475355(0x3ca))[a2_0x475355(0x1cb)]('--yes',a2_0x475355(0x31a))[a2_0x475355(0x2de)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x475355(0x36c)]('launch\x20<name-or-id>')['description'](a2_0x475355(0x2bb))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command'](a2_0x475355(0x289))[a2_0x475355(0x1fa)](a2_0x475355(0x1f9))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command']('resume\x20<name-or-id>')[a2_0x475355(0x1fa)](a2_0x475355(0x306))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x2de)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x475355(0x36c)]('duplicate\x20<name-or-id>')[a2_0x475355(0x1fa)](a2_0x475355(0x39b))[a2_0x475355(0x1cb)]('--workspace\x20<name>',a2_0x475355(0x3ca))['action'](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x475355(0x36c)]('template')[a2_0x475355(0x1fa)](a2_0x475355(0x1ae)),templateListAction=async(_0x246ae7,_0x1b382c)=>{const _0x5db166=a2_0x475355,_0x3f8007=new EngageTemplatesCommand(),_0x32e128=program[_0x5db166(0x347)](),_0x3461f0=await createTDXInstance(_0x32e128),_0x47e841=await _0x3f8007[_0x5db166(0x2ae)]({'options':{..._0x32e128,..._0x1b382c},'args':_0x246ae7?[_0x246ae7]:[],'tdx':_0x3461f0});gracefulExit(_0x47e841);};templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))['description'](a2_0x475355(0x1f8))[a2_0x475355(0x1cb)](a2_0x475355(0x305),'Workspace\x20name')[a2_0x475355(0x2de)](templateListAction),engageCmd[a2_0x475355(0x36c)](a2_0x475355(0x17d))[a2_0x475355(0x1fa)](a2_0x475355(0x2df))[a2_0x475355(0x1cb)](a2_0x475355(0x305),'Workspace\x20name')[a2_0x475355(0x2de)](templateListAction),templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x39c))['description'](a2_0x475355(0x38d))[a2_0x475355(0x1cb)]('--workspace\x20<name>','Workspace\x20name')[a2_0x475355(0x1cb)](a2_0x475355(0x183),a2_0x475355(0x344))[a2_0x475355(0x2de)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x267))[a2_0x475355(0x1fa)](a2_0x475355(0x199))[a2_0x475355(0x17b)](a2_0x475355(0x358),'Template\x20name')[a2_0x475355(0x17b)](a2_0x475355(0x18c),a2_0x475355(0x293))[a2_0x475355(0x17b)](a2_0x475355(0x340),a2_0x475355(0x238))[a2_0x475355(0x1cb)](a2_0x475355(0x305),'Workspace\x20name\x20(required)')[a2_0x475355(0x1cb)]('--plaintext\x20<text>',a2_0x475355(0x278))[a2_0x475355(0x1cb)](a2_0x475355(0x231),a2_0x475355(0x2fb),_0x4b4df0=>{const _0xddac6d=a2_0x475355;if(![_0xddac6d(0x1ed),_0xddac6d(0x1d6)][_0xddac6d(0x152)](_0x4b4df0))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0xddac6d(0x2f5)+_0x4b4df0+_0xddac6d(0x324));return _0x4b4df0;})[a2_0x475355(0x2de)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x227))['description'](a2_0x475355(0x145))['option'](a2_0x475355(0x305),'Workspace\x20name')[a2_0x475355(0x1cb)](a2_0x475355(0x358),'New\x20template\x20name')[a2_0x475355(0x1cb)](a2_0x475355(0x18c),a2_0x475355(0x293))[a2_0x475355(0x1cb)](a2_0x475355(0x340),'HTML\x20template\x20content')[a2_0x475355(0x1cb)](a2_0x475355(0x2d9),a2_0x475355(0x278))['action'](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x475355(0x36c)](a2_0x475355(0x167))['description'](a2_0x475355(0x2e2))[a2_0x475355(0x1cb)](a2_0x475355(0x305),a2_0x475355(0x3ca))[a2_0x475355(0x1cb)](a2_0x475355(0x226),a2_0x475355(0x31a))[a2_0x475355(0x2de)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command'](a2_0x475355(0x2e8))[a2_0x475355(0x1fa)]('Workspace\x20management'),workspaceListAction=async(_0x26f4d6,_0x40fcab)=>{const _0x471eda=a2_0x475355,_0x2c23fa=new EngageWorkspacesCommand(),_0x5bcd7c=program[_0x471eda(0x347)](),_0x407ad7=await createTDXInstance(_0x5bcd7c),_0x5c98ed=await _0x2c23fa[_0x471eda(0x2ae)]({'options':{..._0x5bcd7c,..._0x40fcab},'args':_0x26f4d6?[_0x26f4d6]:[],'tdx':_0x407ad7});gracefulExit(_0x5c98ed);};workspaceCmd[a2_0x475355(0x36c)]('list\x20[pattern]')['description'](a2_0x475355(0x290))['action'](workspaceListAction),engageCmd['command'](a2_0x475355(0x263))[a2_0x475355(0x1fa)]('List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)')['action'](workspaceListAction),workspaceCmd[a2_0x475355(0x36c)](a2_0x475355(0x39c))[a2_0x475355(0x1fa)](a2_0x475355(0x21e))[a2_0x475355(0x1cb)]('--full',a2_0x475355(0x344))[a2_0x475355(0x2de)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x475355(0x267))[a2_0x475355(0x1fa)](a2_0x475355(0x29b))[a2_0x475355(0x17b)](a2_0x475355(0x358),a2_0x475355(0x3ca))[a2_0x475355(0x1cb)](a2_0x475355(0x3a7),a2_0x475355(0x3bb))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x475355(0x36c)](a2_0x475355(0x227))['description'](a2_0x475355(0x141))['option'](a2_0x475355(0x358),a2_0x475355(0x210))[a2_0x475355(0x1cb)](a2_0x475355(0x3a7),a2_0x475355(0x3bb))[a2_0x475355(0x2de)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x475355(0x36c)](a2_0x475355(0x167))[a2_0x475355(0x1fa)](a2_0x475355(0x323))[a2_0x475355(0x1cb)]('--yes',a2_0x475355(0x31a))[a2_0x475355(0x2de)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command']('use\x20<name>')[a2_0x475355(0x1fa)](a2_0x475355(0x382))['action'](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x251))[a2_0x475355(0x1fa)](a2_0x475355(0x351)),connectionListAction=async _0x594c56=>{const _0x33a139=a2_0x475355,_0x3a3d87=new ConnectionListCommand(),_0x389430=program[_0x33a139(0x347)](),_0x564625=await createTDXInstance(_0x389430),_0x30c82b=await _0x3a3d87['run']({'options':{..._0x389430,..._0x594c56},'args':[],'tdx':_0x564625});gracefulExit(_0x30c82b);};connectionCmd[a2_0x475355(0x36c)](a2_0x475355(0x35c))['description']('List\x20all\x20data\x20connections')[a2_0x475355(0x2de)](connectionListAction),program[a2_0x475355(0x36c)](a2_0x475355(0x335),{'hidden':!![]})[a2_0x475355(0x1fa)](a2_0x475355(0x2cd))[a2_0x475355(0x2de)](connectionListAction),connectionCmd[a2_0x475355(0x36c)](a2_0x475355(0x245))[a2_0x475355(0x1fa)]('Show\x20connection\x20details\x20by\x20name')[a2_0x475355(0x2de)](async(_0x39d330,_0x35a9e3)=>{const _0x2919db=a2_0x475355,_0x40bb68=new ConnectionShowCommand(),_0x1b128a=program['opts'](),_0x40dfa9=await createTDXInstance(_0x1b128a),_0x644788=await _0x40bb68[_0x2919db(0x2ae)]({'options':{..._0x1b128a,..._0x35a9e3},'args':[_0x39d330],'tdx':_0x40dfa9});gracefulExit(_0x644788);}),connectionCmd['command']('schema\x20<type>')[a2_0x475355(0x1fa)](a2_0x475355(0x174))[a2_0x475355(0x2de)](async(_0x11227c,_0x3dcff4)=>{const _0x494cbc=a2_0x475355,_0x8e234c=new ConnectionSchemaCommand(),_0x3e90c6=program[_0x494cbc(0x347)](),_0x357590=await createTDXInstance(_0x3e90c6),_0x375e3f=await _0x8e234c[_0x494cbc(0x2ae)]({'options':{..._0x3e90c6,..._0x3dcff4},'args':[_0x11227c],'tdx':_0x357590});gracefulExit(_0x375e3f);}),connectionCmd[a2_0x475355(0x36c)](a2_0x475355(0x25a))['description']('List\x20available\x20connector\x20types')['action'](async _0x591ba1=>{const _0x2790cf=a2_0x475355,_0x2043f2=new ConnectionTypesCommand(),_0x1e8998=program[_0x2790cf(0x347)](),_0x15185e=await createTDXInstance(_0x1e8998),_0x77132a=await _0x2043f2[_0x2790cf(0x2ae)]({'options':{..._0x1e8998,..._0x591ba1},'args':[],'tdx':_0x15185e});gracefulExit(_0x77132a);}),connectionCmd['command']('settings\x20<type>')[a2_0x475355(0x1fa)](a2_0x475355(0x3b0))[a2_0x475355(0x2de)](async(_0x26f30a,_0x3e24ba)=>{const _0x11c98a=a2_0x475355,_0x17baab=new ConnectionSettingsCommand(),_0x2f7668=program[_0x11c98a(0x347)](),_0x42a009=await createTDXInstance(_0x2f7668),_0x486068=await _0x17baab[_0x11c98a(0x2ae)]({'options':{..._0x2f7668,..._0x3e24ba},'args':[_0x26f30a],'tdx':_0x42a009});gracefulExit(_0x486068);});const journeyCmd=program[a2_0x475355(0x36c)](a2_0x475355(0x303))[a2_0x475355(0x1fa)](a2_0x475355(0x147)),journeyListAction=async(_0x475b7f,_0x4666bd)=>{const _0xa3551a=a2_0x475355,_0x4353c4=new JourneyListCommand(),_0x5d102f=program[_0xa3551a(0x347)](),_0x15adee=await createTDXInstance(_0x5d102f),_0x4fb65b=await _0x4353c4[_0xa3551a(0x2ae)]({'options':{..._0x5d102f,..._0x4666bd},'args':_0x475b7f?[_0x475b7f]:[],'tdx':_0x15adee});gracefulExit(_0x4fb65b);};journeyCmd[a2_0x475355(0x36c)]('list\x20[pattern]')[a2_0x475355(0x1fa)]('List\x20journeys\x20in\x20current\x20context')[a2_0x475355(0x2de)](journeyListAction),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x205))['description'](a2_0x475355(0x375))['option'](a2_0x475355(0x35a),a2_0x475355(0x241))['option'](a2_0x475355(0x16d),'Include\x20execution\x20statistics')['action'](async(_0x4dc993,_0x1907e8)=>{const _0x14503a=a2_0x475355,_0x2c39c8=new JourneyViewCommand(),_0x2132db=program[_0x14503a(0x347)](),_0x41bd18=await createTDXInstance(_0x2132db),_0x42efc9=await _0x2c39c8[_0x14503a(0x2ae)]({'options':{..._0x2132db,..._0x1907e8},'args':[_0x4dc993],'tdx':_0x41bd18});gracefulExit(_0x42efc9);}),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x25e))[a2_0x475355(0x1fa)](a2_0x475355(0x383))[a2_0x475355(0x1cb)](a2_0x475355(0x178),a2_0x475355(0x252))[a2_0x475355(0x2de)](async(_0x5c6bb4,_0x1f03aa)=>{const _0x4e568e=a2_0x475355,_0x33713e=new JourneyStatsCommand(),_0x2d75d1=program['opts'](),_0x5a5a83=await createTDXInstance(_0x2d75d1),_0x5b2b2a=await _0x33713e[_0x4e568e(0x2ae)]({'options':{..._0x2d75d1,..._0x1f03aa},'args':[_0x5c6bb4],'tdx':_0x5a5a83});gracefulExit(_0x5b2b2a);}),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x1cf))[a2_0x475355(0x1fa)](a2_0x475355(0x20e))[a2_0x475355(0x2de)](async(_0xccf83f,_0x3e8674)=>{const _0x1b95b9=a2_0x475355,_0x2edec6=new JourneyPauseCommand(),_0x5ca00d=program[_0x1b95b9(0x347)](),_0x4a488c=await createTDXInstance(_0x5ca00d),_0x4d7fc6=await _0x2edec6[_0x1b95b9(0x2ae)]({'options':{..._0x5ca00d,..._0x3e8674},'args':[_0xccf83f],'tdx':_0x4a488c});gracefulExit(_0x4d7fc6);}),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x257))[a2_0x475355(0x1fa)]('Resume\x20a\x20paused\x20journey')[a2_0x475355(0x2de)](async(_0x5df35b,_0x9eca33)=>{const _0xbb2ebd=a2_0x475355,_0x8de096=new JourneyResumeCommand(),_0x38ce29=program[_0xbb2ebd(0x347)](),_0xa8ea62=await createTDXInstance(_0x38ce29),_0x3a425b=await _0x8de096[_0xbb2ebd(0x2ae)]({'options':{..._0x38ce29,..._0x9eca33},'args':[_0x5df35b],'tdx':_0xa8ea62});gracefulExit(_0x3a425b);}),journeyCmd[a2_0x475355(0x36c)]('pull\x20[name]')[a2_0x475355(0x1fa)](a2_0x475355(0x3a3))[a2_0x475355(0x1cb)](a2_0x475355(0x20f),a2_0x475355(0x31a))[a2_0x475355(0x1cb)]('--dry-run',a2_0x475355(0x1af))[a2_0x475355(0x2de)](async(_0x41b964,_0x19b2ae)=>{const _0x110a39=a2_0x475355,_0x4ba06a=new JourneyPullCommand(),_0x5c022b=program['opts'](),_0x2b4e74=await createTDXInstance(_0x5c022b),_0x9637d1=await _0x4ba06a[_0x110a39(0x2ae)]({'options':{..._0x5c022b,..._0x19b2ae},'args':_0x41b964?[_0x41b964]:[],'tdx':_0x2b4e74});gracefulExit(_0x9637d1);}),journeyCmd['command'](a2_0x475355(0x288))[a2_0x475355(0x1fa)](a2_0x475355(0x3c0))['action'](async(_0x4bd173,_0x49d9fb)=>{const _0x414666=a2_0x475355,_0x142b25=new JourneyPushCommand(),_0x4b0710=program[_0x414666(0x347)](),_0x56e996=await createTDXInstance(_0x4b0710),_0x20e0de=await _0x142b25[_0x414666(0x2ae)]({'options':{..._0x4b0710,..._0x49d9fb},'args':_0x4bd173?[_0x4bd173]:[],'tdx':_0x56e996});gracefulExit(_0x20e0de);}),journeyCmd[a2_0x475355(0x36c)](a2_0x475355(0x256))[a2_0x475355(0x1fa)](a2_0x475355(0x30f))[a2_0x475355(0x2de)](async(_0x2e143b,_0x379de5)=>{const _0x1e8859=a2_0x475355,_0x37ec2f=new JourneyValidateCommand(),_0x4b3a21=program[_0x1e8859(0x347)](),_0x1ce7d6=await createTDXInstance(_0x4b3a21),_0x56de95=await _0x37ec2f[_0x1e8859(0x2ae)]({'options':{..._0x4b3a21,..._0x379de5},'args':_0x2e143b?[_0x2e143b]:[],'tdx':_0x1ce7d6});gracefulExit(_0x56de95);}),program[a2_0x475355(0x36c)]('journeys\x20[pattern]')['description']('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x475355(0x2de)](journeyListAction);const agentSyncCmd=program['command'](a2_0x475355(0x23c))[a2_0x475355(0x1fa)](a2_0x475355(0x1e9));agentSyncCmd['command'](a2_0x475355(0x1e4))[a2_0x475355(0x1fa)](a2_0x475355(0x3a9))['option'](a2_0x475355(0x149),a2_0x475355(0x3cf))['option']('-f,\x20--force',a2_0x475355(0x2ad))[a2_0x475355(0x2de)](async(_0x1b86c4,_0x7497ca,_0xee2ff1)=>{const _0x5bbf89=a2_0x475355,_0x2ebd0e=new AgentPullCommand(),_0x39aa83=program[_0x5bbf89(0x347)](),_0x58bdfe=await createTDXInstance(_0x39aa83),_0x156f82=[];if(_0x1b86c4)_0x156f82[_0x5bbf89(0x313)](_0x1b86c4);if(_0x7497ca)_0x156f82[_0x5bbf89(0x313)](_0x7497ca);const _0x30ecab=await _0x2ebd0e[_0x5bbf89(0x2ae)]({'options':{..._0x39aa83,..._0xee2ff1},'args':_0x156f82,'tdx':_0x58bdfe});gracefulExit(_0x30ecab);}),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x17e))[a2_0x475355(0x1fa)](a2_0x475355(0x352))[a2_0x475355(0x1cb)](a2_0x475355(0x169),a2_0x475355(0x363))[a2_0x475355(0x2de)](async(_0x42f0b5,_0x1f3a3e)=>{const _0x47368e=a2_0x475355,_0x21d359=new AgentPushCommand(),_0x2bd451=program[_0x47368e(0x347)](),_0x5595e0=await createTDXInstance(_0x2bd451),_0x235339=await _0x21d359['run']({'options':{..._0x2bd451,..._0x1f3a3e},'args':_0x42f0b5?[_0x42f0b5]:[],'tdx':_0x5595e0});gracefulExit(_0x235339);}),agentSyncCmd['command'](a2_0x475355(0x394))['description'](a2_0x475355(0x1f5))[a2_0x475355(0x1cb)]('-n,\x20--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')['action'](async(_0x252e30,_0x1a3686)=>{const _0x1d73fb=a2_0x475355,_0x34d7e9=new AgentCloneCommand(),_0x2e15f1=program[_0x1d73fb(0x347)](),_0xabe126=await createTDXInstance(_0x2e15f1),_0x1b98d4=await _0x34d7e9[_0x1d73fb(0x2ae)]({'options':{..._0x2e15f1,..._0x1a3686},'args':_0x252e30?[_0x252e30]:[],'tdx':_0xabe126});gracefulExit(_0x1b98d4);}),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x322))[a2_0x475355(0x1fa)](a2_0x475355(0x368))[a2_0x475355(0x1cb)](a2_0x475355(0x1ef),a2_0x475355(0x23a))['option'](a2_0x475355(0x1f1),a2_0x475355(0x261))['option'](a2_0x475355(0x186),a2_0x475355(0x1fb))[a2_0x475355(0x1cb)]('--no-eval','Generate\x20test\x20conversations\x20without\x20evaluation')['option'](a2_0x475355(0x36a),a2_0x475355(0x25b))[a2_0x475355(0x2de)](async(_0x5e5a97,_0x130bd4)=>{const _0x434576=a2_0x475355,_0x38c639=new AgentTestCommand(),_0x2becd4=program[_0x434576(0x347)](),_0x4004cd=await createTDXInstance(_0x2becd4),_0x572c07=await _0x38c639['run']({'options':{..._0x2becd4,..._0x130bd4},'args':_0x5e5a97?[_0x5e5a97]:[],'tdx':_0x4004cd});gracefulExit(_0x572c07);}),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x1a4))[a2_0x475355(0x1fa)](a2_0x475355(0x19f))[a2_0x475355(0x2de)](llmAgentListAction),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x374))[a2_0x475355(0x1fa)](a2_0x475355(0x154))['action'](async(_0x4b695e,_0x5d821e)=>{const _0xddffc4=a2_0x475355,_0x471142=new LLMAgentShowCommand(),_0x295af5=program[_0xddffc4(0x347)](),_0x19c21b=await createTDXInstance(_0x295af5),_0x2dea0c=await _0x471142[_0xddffc4(0x2ae)]({'options':{..._0x295af5,..._0x5d821e},'args':[_0x4b695e],'tdx':_0x19c21b});gracefulExit(_0x2dea0c);}),agentSyncCmd['command'](a2_0x475355(0x343))['description'](a2_0x475355(0x395))[a2_0x475355(0x1cb)](a2_0x475355(0x2d0),'System\x20prompt/instructions\x20(default:\x20empty)')['option']('--model\x20<name>',a2_0x475355(0x29e),a2_0x475355(0x1ad))[a2_0x475355(0x1cb)](a2_0x475355(0x1b9),'Starter\x20message')[a2_0x475355(0x1cb)](a2_0x475355(0x3cd),a2_0x475355(0x142),'4')[a2_0x475355(0x1cb)](a2_0x475355(0x26a),a2_0x475355(0x364),a2_0x475355(0x16e))[a2_0x475355(0x2de)](async(_0x25a607,_0x3cf2b6)=>{const _0x58fa67=new LLMAgentCreateCommand(),_0x164f2c=program['opts'](),_0x87893b=await createTDXInstance(_0x164f2c),_0x4a9ee5=await _0x58fa67['run']({'options':{..._0x164f2c,..._0x3cf2b6},'args':[_0x25a607],'tdx':_0x87893b});gracefulExit(_0x4a9ee5);}),agentSyncCmd['command'](a2_0x475355(0x198))[a2_0x475355(0x1fa)](a2_0x475355(0x26f))[a2_0x475355(0x1cb)]('--name\x20<text>','Agent\x20name')[a2_0x475355(0x1cb)]('--prompt\x20<text>',a2_0x475355(0x1dd))[a2_0x475355(0x1cb)](a2_0x475355(0x1fe),a2_0x475355(0x365))[a2_0x475355(0x1cb)](a2_0x475355(0x1b9),a2_0x475355(0x1e1))[a2_0x475355(0x2de)](async(_0x5df7c1,_0x2e15f3)=>{const _0x30109a=a2_0x475355,_0x5d694a=new LLMAgentUpdateCommand(),_0x16141d=program[_0x30109a(0x347)](),_0x4f07c9=await createTDXInstance(_0x16141d),_0x27f610=await _0x5d694a['run']({'options':{..._0x16141d,..._0x2e15f3},'args':[_0x5df7c1],'tdx':_0x4f07c9});gracefulExit(_0x27f610);}),agentSyncCmd[a2_0x475355(0x36c)](a2_0x475355(0x1cd))[a2_0x475355(0x1fa)](a2_0x475355(0x35d))['action'](async(_0x3cb466,_0x3f923c)=>{const _0x66b7b9=a2_0x475355,_0xe6ab7a=new LLMAgentDeleteCommand(),_0xf40601=program['opts'](),_0x337d8e=await createTDXInstance(_0xf40601),_0x102775=await _0xe6ab7a[_0x66b7b9(0x2ae)]({'options':{..._0xf40601,..._0x3f923c},'args':[_0x3cb466],'tdx':_0x337d8e});gracefulExit(_0x102775);});export{program};export function runCLI(){const _0x29086d=a2_0x475355,_0x4af6ca=!process[_0x29086d(0x325)][_0x29086d(0x1c9)](0x2)[_0x29086d(0x1f0)];showBriefHelp=_0x4af6ca,program[_0x29086d(0x1aa)](process[_0x29086d(0x325)]);_0x4af6ca&&program[_0x29086d(0x279)]();if(process[_0x29086d(0x27d)][_0x29086d(0x2f8)]&&process[_0x29086d(0x325)]['length']>0x2&&!isDevVersion()){const _0x46fcdb=loadReleaseChannel();checkForUpdate(currentVersion,_0x46fcdb)[_0x29086d(0x262)](_0x31b901=>{_0x31b901&&displayUpdateNotification(_0x31b901);})[_0x29086d(0x390)](()=>{});}}
1
+ const a2_0x3474ff=a2_0x120a;(function(_0x2c45ea,_0x35c9d1){const _0x5cd6ad=a2_0x120a,_0xe911c8=_0x2c45ea();while(!![]){try{const _0x25603a=-parseInt(_0x5cd6ad(0x346))/0x1+parseInt(_0x5cd6ad(0x36c))/0x2*(parseInt(_0x5cd6ad(0x341))/0x3)+-parseInt(_0x5cd6ad(0x1cd))/0x4*(-parseInt(_0x5cd6ad(0x207))/0x5)+-parseInt(_0x5cd6ad(0x21e))/0x6*(parseInt(_0x5cd6ad(0x217))/0x7)+parseInt(_0x5cd6ad(0x2a0))/0x8+parseInt(_0x5cd6ad(0x2e3))/0x9+parseInt(_0x5cd6ad(0x368))/0xa;if(_0x25603a===_0x35c9d1)break;else _0xe911c8['push'](_0xe911c8['shift']());}catch(_0x32547f){_0xe911c8['push'](_0xe911c8['shift']());}}}(a2_0x34c3,0x1ea99));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x3474ff(0x2f1)][a2_0x3474ff(0x1fa)](a2_0x3474ff(0x1e3))){let versionOutput=a2_0x3474ff(0x266)+currentVersion;buildInfo[a2_0x3474ff(0x36f)]&&!currentVersion['includes'](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x3474ff(0x36f)]+')'),buildInfo[a2_0x3474ff(0x267)]&&(versionOutput+=a2_0x3474ff(0x3f8)+buildInfo[a2_0x3474ff(0x267)]),console['log'](versionOutput),process[a2_0x3474ff(0x32c)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x3474ff(0x376);buildInfo[a2_0x3474ff(0x36f)]&&!currentVersion[a2_0x3474ff(0x1fa)](buildInfo[a2_0x3474ff(0x36f)])?description+=a2_0x3474ff(0x371)+currentVersion+'\x20('+buildInfo[a2_0x3474ff(0x36f)]+')':description+=',\x20version\x20'+currentVersion;program['name'](a2_0x3474ff(0x424))[a2_0x3474ff(0x2be)](description),program[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2fc),a2_0x3474ff(0x3b8))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3c7),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')['option'](a2_0x3474ff(0x3fc),a2_0x3474ff(0x37b),a2_0x3474ff(0x37f))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x330),a2_0x3474ff(0x3e8))[a2_0x3474ff(0x2cb)]('--table',a2_0x3474ff(0x1c9))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x370),a2_0x3474ff(0x2a1))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3b4),a2_0x3474ff(0x1d4))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x357),a2_0x3474ff(0x3cb))['option'](a2_0x3474ff(0x398),a2_0x3474ff(0x21a))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x390),a2_0x3474ff(0x286))['option'](a2_0x3474ff(0x22a),a2_0x3474ff(0x2e9),![])['option'](a2_0x3474ff(0x23e),a2_0x3474ff(0x3f7),![])[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x316),a2_0x3474ff(0x312),![])[a2_0x3474ff(0x2cb)]('--debug',a2_0x3474ff(0x240))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x30c),a2_0x3474ff(0x218))[a2_0x3474ff(0x2cb)]('--timeout\x20<seconds>',a2_0x3474ff(0x236),'30')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),'Preview\x20operation\x20without\x20executing',![])[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x3d1),![])['option'](a2_0x3474ff(0x40b),a2_0x3474ff(0x2fe))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x436),a2_0x3474ff(0x2b2))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2d0),a2_0x3474ff(0x1c3))[a2_0x3474ff(0x2cb)]('--parent-segment\x20<name>',a2_0x3474ff(0x254))[a2_0x3474ff(0x2cb)]('--llm-project\x20<name>','LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program['configureHelp']({'formatHelp':(_0x1a2777,_0x6c36b5)=>{const _0x4ca606=a2_0x3474ff,_0x4f241f=_0x6c36b5['padWidth'](_0x1a2777,_0x6c36b5),_0x54a84d=0x2,_0x1a9ef3=0x2;function _0x39f5a3(_0xfdaa85){const _0x4db1fd=a2_0x120a,_0x541f65=_0xfdaa85;return!!(_0x541f65[_0x4db1fd(0x3cd)]||_0x541f65['hidden']);}function _0x309763(_0x108c62,_0x1450b8){const _0x5a6953=a2_0x120a;if(_0x1450b8){const _0x1b067e=''+_0x108c62[_0x5a6953(0x3cc)](_0x4f241f+_0x1a9ef3)+_0x1450b8;return _0x1b067e;}return _0x108c62;}function _0xb06d94(_0x181728){return _0x181728['join']('\x0a')['replace'](/^/gm,'\x20'['repeat'](_0x54a84d));}const _0x3446b8=[];_0x3446b8[_0x4ca606(0x261)](_0x4ca606(0x223)+_0x6c36b5[_0x4ca606(0x335)](_0x1a2777));const _0x513331=_0x6c36b5[_0x4ca606(0x3ca)](_0x1a2777);_0x513331&&(_0x3446b8['push'](''),_0x3446b8[_0x4ca606(0x261)](_0x513331));const _0x48ed2d=_0x1a2777['commands'][_0x4ca606(0x41e)](_0x5e95dd=>!_0x39f5a3(_0x5e95dd));if(_0x48ed2d[_0x4ca606(0x1f9)]>0x0){if(_0x1a2777['name']()===_0x4ca606(0x424)){const _0x40af91=_0x1a2777[_0x4ca606(0x2ca)](),_0x5bc30a=!_0x40af91[_0x4ca606(0x403)]&&process[_0x4ca606(0x345)]['isTTY'],_0x45cae8=COMMAND_CATEGORIES,_0x5a53c6=(_0x5787a1,_0x54228c)=>_0x5bc30a?_0x54228c(_0x5787a1):_0x5787a1,_0x2308e0=new Map();_0x48ed2d[_0x4ca606(0x311)](_0x34aa07=>{const _0x1d0854=_0x4ca606;_0x2308e0[_0x1d0854(0x2d4)](_0x34aa07[_0x1d0854(0x327)](),_0x34aa07);}),_0x45cae8[_0x4ca606(0x311)](_0x2250b9=>{const _0x1d9856=_0x4ca606,_0x29176d=_0x2250b9[_0x1d9856(0x1fb)][_0x1d9856(0x1f8)](_0x337d3b=>_0x2308e0['get'](_0x337d3b)??[]);if(_0x29176d[_0x1d9856(0x1f9)]>0x0){_0x3446b8[_0x1d9856(0x261)](''),_0x3446b8['push'](_0x5a53c6(_0x2250b9[_0x1d9856(0x327)]+':',_0x2250b9[_0x1d9856(0x315)]));const _0x81a859=_0x29176d['map'](_0x5bdbea=>{const _0x5e7cc2=_0x1d9856,_0x15c0fc=_0x6c36b5['subcommandTerm'](_0x5bdbea),_0x5700b7=_0x6c36b5[_0x5e7cc2(0x3bf)](_0x5bdbea);return _0x309763(_0x15c0fc,_0x5700b7);});_0x3446b8[_0x1d9856(0x261)](_0xb06d94(_0x81a859));}}),_0x3446b8['push'](''),_0x3446b8[_0x4ca606(0x261)](_0x4ca606(0x22c));}else{const _0x4facbb=_0x48ed2d['map'](_0x5a0632=>{const _0x166145=_0x4ca606,_0x31418c=_0x6c36b5[_0x166145(0x355)](_0x5a0632),_0x29855c=_0x6c36b5[_0x166145(0x3bf)](_0x5a0632);return _0x309763(_0x31418c,_0x29855c);});_0x3446b8[_0x4ca606(0x261)](''),_0x3446b8[_0x4ca606(0x261)]('Commands:'),_0x3446b8[_0x4ca606(0x261)](_0xb06d94(_0x4facbb));}}if(showBriefHelp&&_0x1a2777['name']()==='tdx')_0x3446b8[_0x4ca606(0x261)](''),_0x3446b8['push'](_0x4ca606(0x235));else{const _0x242ff0=_0x1a2777[_0x4ca606(0x32e)][_0x4ca606(0x41e)](_0x57a89d=>!_0x39f5a3(_0x57a89d));if(_0x242ff0[_0x4ca606(0x1f9)]>0x0){const _0x1f55dc=_0x242ff0[_0x4ca606(0x393)](_0x299856=>{const _0x57e1a4=_0x4ca606,_0x24c785=_0x6c36b5[_0x57e1a4(0x32f)](_0x299856),_0x4fa14c=_0x6c36b5[_0x57e1a4(0x3f0)](_0x299856);return _0x309763(_0x24c785,_0x4fa14c);});_0x3446b8[_0x4ca606(0x261)](''),_0x3446b8[_0x4ca606(0x261)](_0x4ca606(0x41a)),_0x3446b8[_0x4ca606(0x261)](_0xb06d94(_0x1f55dc));}}const _0x257535=(_0x1a2777[_0x4ca606(0x383)]||[])['filter'](_0x2c8aaa=>!_0x39f5a3(_0x2c8aaa));if(_0x257535[_0x4ca606(0x1f9)]>0x0){const _0x13220c=_0x257535[_0x4ca606(0x393)](_0x3d6aae=>{const _0x1e6787=_0x4ca606,_0x31b3ab=_0x6c36b5['argumentTerm'](_0x3d6aae),_0x3547dd=_0x6c36b5[_0x1e6787(0x348)](_0x3d6aae);return _0x309763(_0x31b3ab,_0x3547dd);});_0x3446b8[_0x4ca606(0x261)](''),_0x3446b8[_0x4ca606(0x261)](_0x4ca606(0x37c)),_0x3446b8['push'](_0xb06d94(_0x13220c));}return _0x3446b8[_0x4ca606(0x3b0)]('\x0a')+'\x0a';},'subcommandTerm':_0x238f6e=>{const _0x3b075d=a2_0x3474ff,_0x4383d1=(_0x238f6e[_0x3b075d(0x383)]||[])[_0x3b075d(0x393)](_0xa7f4ba=>_0xa7f4ba['required']?'<'+_0xa7f4ba[_0x3b075d(0x327)]()+'>':'['+_0xa7f4ba[_0x3b075d(0x327)]()+']')[_0x3b075d(0x3b0)]('\x20'),_0x240f01=_0x238f6e[_0x3b075d(0x1ea)](),_0xfa14d4=_0x240f01[_0x3b075d(0x1f9)]>0x0?_0x238f6e[_0x3b075d(0x327)]()+',\x20'+_0x240f01[_0x3b075d(0x3b0)](',\x20'):_0x238f6e[_0x3b075d(0x327)]();return _0x4383d1?_0xfa14d4+'\x20'+_0x4383d1:_0xfa14d4;}}),program[a2_0x3474ff(0x2e8)](a2_0x3474ff(0x3e9),_0x43ce82=>{const _0x273e6a=a2_0x3474ff,_0x58eb9d=_0x43ce82[_0x273e6a(0x2ca)]();if(_0x58eb9d['directory']){const _0x13ade9=resolve(_0x58eb9d[_0x273e6a(0x2c5)]),_0x3bb8e3=_0x13ade9!==_0x58eb9d['directory']?_0x273e6a(0x1e5)+_0x13ade9+')':'';if(!existsSync(_0x13ade9))throw new SDKError(ErrorCode[_0x273e6a(0x3df)],'Directory\x20does\x20not\x20exist:\x20'+_0x58eb9d[_0x273e6a(0x2c5)]+_0x3bb8e3,undefined,{'helpText':_0x273e6a(0x3a1)});const _0x33172f=statSync(_0x13ade9);if(!_0x33172f[_0x273e6a(0x214)]())throw new SDKError(ErrorCode[_0x273e6a(0x3df)],_0x273e6a(0x377)+_0x58eb9d['directory']+_0x3bb8e3,undefined,{'helpText':_0x273e6a(0x1b9)});process['chdir'](_0x13ade9);}if(!_0x58eb9d['format']){if(_0x58eb9d[_0x273e6a(0x1bd)])_0x58eb9d['format']=_0x273e6a(0x1bd);else{if(_0x58eb9d['json'])_0x58eb9d['format']=_0x273e6a(0x1d0);else{if(_0x58eb9d['jsonl'])_0x58eb9d[_0x273e6a(0x1f7)]=_0x273e6a(0x1db);else _0x58eb9d['tsv']&&(_0x58eb9d[_0x273e6a(0x1f7)]=_0x273e6a(0x22e));}}}_0x58eb9d['in']&&!_0x58eb9d[_0x273e6a(0x3cf)]&&(_0x58eb9d['database']=_0x58eb9d['in']);if(_0x58eb9d[_0x273e6a(0x302)])_0x58eb9d[_0x273e6a(0x303)]=LogLevel[_0x273e6a(0x352)];else{if(_0x58eb9d['debug'])_0x58eb9d[_0x273e6a(0x303)]=LogLevel[_0x273e6a(0x2a2)];else _0x58eb9d[_0x273e6a(0x303)]===undefined&&(_0x58eb9d[_0x273e6a(0x303)]=LogLevel[_0x273e6a(0x1e8)]);}});async function createTDXInstance(_0x5edcf5){const _0xf9e560=a2_0x3474ff,_0x59a4ad=await GlobalContext[_0xf9e560(0x3ec)](_0x5edcf5);return _0x59a4ad[_0xf9e560(0x2de)](_0x5edcf5),TDX[_0xf9e560(0x304)]({'site':_0x59a4ad[_0xf9e560(0x20a)],'apiKey':_0x59a4ad[_0xf9e560(0x272)],'logLevel':_0x59a4ad[_0xf9e560(0x303)],'profile':_0x59a4ad[_0xf9e560(0x366)]});}const databaseCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3cf))[a2_0x3474ff(0x38f)]('db')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3d7)),databaseListAction=async(_0x159c2a,_0x5304d5)=>{const _0x258ad1=a2_0x3474ff,_0x33e236=new DatabasesCommand(),_0x15e68e=program[_0x258ad1(0x2ca)](),_0x2e0317=await createTDXInstance(_0x15e68e),_0x398bc4=await _0x33e236['run']({'options':{..._0x15e68e,..._0x5304d5},'args':_0x159c2a?[_0x159c2a]:[],'tdx':_0x2e0317});gracefulExit(_0x398bc4);};databaseCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3ae))[a2_0x3474ff(0x35b)](databaseListAction),program['command'](a2_0x3474ff(0x237),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')['action'](databaseListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3b1))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x219))['option'](a2_0x3474ff(0x245),a2_0x3474ff(0x1fd))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x226),a2_0x3474ff(0x351))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x268),a2_0x3474ff(0x2d2))['option'](a2_0x3474ff(0x30a),a2_0x3474ff(0x28d))[a2_0x3474ff(0x35b)](async(_0x5f062d,_0x2352ec)=>{const _0x509f0f=a2_0x3474ff,_0x3b2b7e=program[_0x509f0f(0x2ca)](),_0x357a3c=await createTDXInstance(_0x3b2b7e);if(_0x5f062d[0x0]==='create'){const _0x377ff4=new ChatCreateCommand();gracefulExit(await _0x377ff4['run']({'options':{..._0x3b2b7e,..._0x2352ec},'args':_0x5f062d['slice'](0x1),'tdx':_0x357a3c}));return;}const _0x366c5e=new ChatCommand(),_0x3e0c60=await _0x366c5e[_0x509f0f(0x1ef)]({'options':{..._0x3b2b7e,..._0x2352ec},'args':_0x5f062d,'tdx':_0x357a3c});gracefulExit(_0x3e0c60);});const apiCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1e9))[a2_0x3474ff(0x2c3)](a2_0x3474ff(0x432))[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),a2_0x3474ff(0x411))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3d6),a2_0x3474ff(0x256),a2_0x3474ff(0x1dc))['option']('--data\x20<data>',a2_0x3474ff(0x297))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x262),a2_0x3474ff(0x350))[a2_0x3474ff(0x2cb)]('-H,\x20--header\x20<header>',a2_0x3474ff(0x22b),(_0x129290,_0x5b41c9)=>{return _0x5b41c9?[..._0x5b41c9,_0x129290]:[_0x129290];})[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x313),a2_0x3474ff(0x3f5),'td')[a2_0x3474ff(0x35b)](async(_0x3c5e4e,_0x3c1b28)=>{const _0x5793b8=a2_0x3474ff;if(!_0x3c5e4e){apiCmd[_0x5793b8(0x39c)]();return;}const _0x1dab10=new ApiCommand(),_0x4f48c7=program['opts'](),_0x3e4d20=await createTDXInstance(_0x4f48c7),_0x2c5639=await _0x1dab10[_0x5793b8(0x1ef)]({'options':{..._0x4f48c7,..._0x3c1b28},'args':[_0x3c5e4e],'tdx':_0x3e4d20});gracefulExit(_0x2c5639);});function a2_0x120a(_0x24f6bf,_0x14cbff){_0x24f6bf=_0x24f6bf-0x1b9;const _0x34c31c=a2_0x34c3();let _0x120aa1=_0x34c31c[_0x24f6bf];return _0x120aa1;}program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x34e))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c3))[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),a2_0x3474ff(0x321))['action'](async _0x3e25a3=>{const _0x270198=a2_0x3474ff,_0x118a65=new MCPCommand(),_0x43c63c=program[_0x270198(0x2ca)](),_0x4b2aa=await createTDXInstance(_0x43c63c),_0x30e47f=await _0x118a65[_0x270198(0x1ef)]({'options':{..._0x43c63c,..._0x3e25a3},'args':[],'tdx':_0x4b2aa});gracefulExit(_0x30e47f);});const tableCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1bd))['description']('Table\x20management\x20commands'),tableListAction=async(_0x2b8536,_0x24a848)=>{const _0x53cf3f=a2_0x3474ff,_0x4bc818=new TablesCommand(),_0xb4775c=program[_0x53cf3f(0x2ca)](),_0x5b99e1=await createTDXInstance(_0xb4775c);_0x24a848['in']&&(_0x24a848['database']=_0x24a848['in']);const _0x5c62c9=await _0x4bc818[_0x53cf3f(0x1ef)]({'options':{..._0xb4775c,..._0x24a848},'args':_0x2b8536?[_0x2b8536]:[],'tdx':_0x5b99e1});gracefulExit(_0x5c62c9);};tableCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3a5))['option']('-d,\x20--database\x20<database>',a2_0x3474ff(0x2cf))['option'](a2_0x3474ff(0x2b0),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](tableListAction),program['command'](a2_0x3474ff(0x42b),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x423))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x415),a2_0x3474ff(0x2cf))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2b0),a2_0x3474ff(0x1c3))[a2_0x3474ff(0x35b)](tableListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x287))['description'](a2_0x3474ff(0x211))['option'](a2_0x3474ff(0x415),a2_0x3474ff(0x429))['option'](a2_0x3474ff(0x2b0),a2_0x3474ff(0x1c3))[a2_0x3474ff(0x35b)](async(_0x100dc5,_0x5bc095)=>{const _0x5a79f=a2_0x3474ff,_0x3191f4=new ShowCommand(),_0xc071a8=program['opts'](),_0x2bd795=await createTDXInstance(_0xc071a8);_0x5bc095['in']&&(_0x5bc095[_0x5a79f(0x3cf)]=_0x5bc095['in']);const _0x3be8e8=await _0x3191f4[_0x5a79f(0x1ef)]({'options':{..._0xc071a8,..._0x5bc095},'args':_0x100dc5?[_0x100dc5]:[],'tdx':_0x2bd795});gracefulExit(_0x3be8e8);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x395))[a2_0x3474ff(0x38f)](a2_0x3474ff(0x280))[a2_0x3474ff(0x2be)]('Describe\x20table\x20schema')['option'](a2_0x3474ff(0x415),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a2_0x3474ff(0x2cb)]('--in\x20<database>',a2_0x3474ff(0x1c3))[a2_0x3474ff(0x35b)](async(_0x51a4d7,_0x17187c)=>{const _0x1c5fb8=a2_0x3474ff,_0x53993e=new DescribeCommand(),_0x5d6ad6=program[_0x1c5fb8(0x2ca)](),_0x5827b1=await createTDXInstance(_0x5d6ad6);_0x17187c['in']&&(_0x17187c['database']=_0x17187c['in']);const _0x3a4736=await _0x53993e[_0x1c5fb8(0x1ef)]({'options':{..._0x5d6ad6,..._0x17187c},'args':_0x51a4d7?[_0x51a4d7]:[],'tdx':_0x5827b1});gracefulExit(_0x3a4736);}),program['command'](a2_0x3474ff(0x2b3))['description'](a2_0x3474ff(0x431))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x415),a2_0x3474ff(0x231))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2b0),a2_0x3474ff(0x1c3))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x308),a2_0x3474ff(0x25c))[a2_0x3474ff(0x2cb)]('-f,\x20--file\x20<path>',a2_0x3474ff(0x24f))[a2_0x3474ff(0x2cb)]('--limit\x20<rows>','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')[a2_0x3474ff(0x35b)](async(_0x60f34f,_0x466b70)=>{const _0x39430d=a2_0x3474ff,_0x4dd3e3=new QueryCommand(),_0x355d2a=program[_0x39430d(0x2ca)](),_0x2ee862=await createTDXInstance(_0x355d2a);_0x466b70['in']&&(_0x466b70[_0x39430d(0x3cf)]=_0x466b70['in']);const _0x14df8f=await _0x4dd3e3[_0x39430d(0x1ef)]({'options':{..._0x355d2a,..._0x466b70},'args':_0x60f34f?[_0x60f34f]:[],'tdx':_0x2ee862});gracefulExit(_0x14df8f);});const segmentCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2e5))[a2_0x3474ff(0x38f)]('sg')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x293)),segmentListAction=async(_0x58000c,_0x3e4315)=>{const _0x3cd0b2=a2_0x3474ff,_0x1176c2=new SegmentsCommand(),_0x1ef903=program[_0x3cd0b2(0x2ca)](),_0x35c4e9=await createTDXInstance(_0x1ef903),_0x2c4343=await _0x1176c2['run']({'options':{..._0x1ef903,..._0x3e4315},'args':_0x58000c?[_0x58000c]:[],'tdx':_0x35c4e9});gracefulExit(_0x2c4343);};segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1fe))[a2_0x3474ff(0x2be)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3d5),a2_0x3474ff(0x42e))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3ef),a2_0x3474ff(0x296),'10')[a2_0x3474ff(0x35b)](segmentListAction),program['command'](a2_0x3474ff(0x243),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2e2))['option'](a2_0x3474ff(0x3d5),a2_0x3474ff(0x42e))['option']('--max-depth\x20<depth>',a2_0x3474ff(0x296),'10')['action'](segmentListAction),segmentCmd[a2_0x3474ff(0x3ab)]('use\x20<path>',{'hidden':!![]})['description'](a2_0x3474ff(0x255))[a2_0x3474ff(0x35b)](async(_0x59dd50,_0x355c69)=>{const _0x50e83c=a2_0x3474ff,_0x204329=new SegmentUseCommand(),_0x3b0faa=program['opts'](),_0x65f721=await createTDXInstance(_0x3b0faa),_0x4764cb=await _0x204329[_0x50e83c(0x1ef)]({'options':{..._0x3b0faa,..._0x355c69},'args':[_0x59dd50],'tdx':_0x65f721});gracefulExit(_0x4764cb);});const segmentViewAction=async(_0x32de72,_0x5b2d4c)=>{const _0x329066=a2_0x3474ff,_0x16d5f1=new SegmentViewCommand(),_0x302c08=program[_0x329066(0x2ca)](),_0x9c935e=await createTDXInstance(_0x302c08),_0x253ee3=await _0x16d5f1[_0x329066(0x1ef)]({'options':{..._0x302c08,..._0x5b2d4c},'args':_0x32de72?[_0x32de72]:[],'tdx':_0x9c935e});gracefulExit(_0x253ee3);};segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x241))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x248))['option'](a2_0x3474ff(0x2bf),a2_0x3474ff(0x3a9))[a2_0x3474ff(0x35b)](segmentViewAction),segmentCmd['command']('info\x20[segment_name]',{'hidden':!![]})[a2_0x3474ff(0x38f)](a2_0x3474ff(0x28e))[a2_0x3474ff(0x2cb)]('-w,\x20--web',a2_0x3474ff(0x3a9))['description']('Show\x20segment\x20details\x20(alias\x20for\x20view)')['action'](segmentViewAction),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x31f))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2d6))[a2_0x3474ff(0x35b)](async(_0x33bf0b,_0x4bbd7f)=>{const _0xad8b82=a2_0x3474ff,_0x5bc4ec=new SegmentDescCommand(),_0x35b943=program['opts'](),_0x1d0663=await createTDXInstance(_0x35b943),_0x52d0e7=await _0x5bc4ec[_0xad8b82(0x1ef)]({'options':{..._0x35b943,..._0x4bbd7f},'args':_0x33bf0b?[_0x33bf0b]:[],'tdx':_0x1d0663});gracefulExit(_0x52d0e7);}),segmentCmd[a2_0x3474ff(0x3ab)]('show\x20[segment_name]')['description'](a2_0x3474ff(0x358))[a2_0x3474ff(0x35b)](async(_0x3020eb,_0x2df79e)=>{const _0x376873=a2_0x3474ff,_0x25ad56=new SegmentShowCommand(),_0x461a84=program[_0x376873(0x2ca)](),_0x5584ba=await createTDXInstance(_0x461a84),_0x4fdfd8=await _0x25ad56[_0x376873(0x1ef)]({'options':{..._0x461a84,..._0x2df79e},'args':_0x3020eb?[_0x3020eb]:[],'tdx':_0x5584ba});gracefulExit(_0x4fdfd8);}),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3f1),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c0))[a2_0x3474ff(0x35b)](async(_0x2fc0ce,_0x320d32)=>{const _0x45ddab=a2_0x3474ff,_0x2328e1=new SegmentFolderListCommand(),_0x2e9fc1=program[_0x45ddab(0x2ca)](),_0x3d9cde=await createTDXInstance(_0x2e9fc1),_0x25fc71=await _0x2328e1[_0x45ddab(0x1ef)]({'options':{..._0x2e9fc1,..._0x320d32},'args':[_0x2fc0ce],'tdx':_0x3d9cde});gracefulExit(_0x25fc71);});const folderCmd=segmentCmd['command'](a2_0x3474ff(0x210),{'hidden':!![]})['description'](a2_0x3474ff(0x331));folderCmd['command'](a2_0x3474ff(0x24d))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x284))['action'](async(_0x1ec52e,_0x212dbd)=>{const _0x4d34ea=new SegmentFolderShowCommand(),_0x3ab0a3=program['opts'](),_0x17fefd=await createTDXInstance(_0x3ab0a3),_0x16157e=await _0x4d34ea['run']({'options':{..._0x3ab0a3,..._0x212dbd},'args':[_0x1ec52e],'tdx':_0x17fefd});gracefulExit(_0x16157e);}),segmentCmd[a2_0x3474ff(0x3ab)]('sql\x20[segment_name]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x405))['action'](async(_0x3e0966,_0x26f194)=>{const _0x36688e=a2_0x3474ff,_0x126adf=new SegmentSQLCommand(),_0x25bdad=program['opts'](),_0x3f6e1c=await createTDXInstance(_0x25bdad),_0x244f94=await _0x126adf[_0x36688e(0x1ef)]({'options':{..._0x25bdad,..._0x26f194},'args':_0x3e0966?[_0x3e0966]:[],'tdx':_0x3f6e1c});gracefulExit(_0x244f94);}),segmentCmd['command'](a2_0x3474ff(0x29b))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3e5))['action'](async(_0x6780cc,_0x58e082)=>{const _0x39b3e1=a2_0x3474ff,_0x36142c=new SegmentFieldsCommand(),_0x1ef89b=program['opts'](),_0x5515c4=await createTDXInstance(_0x1ef89b),_0x23574e=await _0x36142c[_0x39b3e1(0x1ef)]({'options':{..._0x1ef89b,..._0x58e082},'args':_0x6780cc?[_0x6780cc]:[],'tdx':_0x5515c4});gracefulExit(_0x23574e);}),segmentCmd[a2_0x3474ff(0x3ab)]('pull\x20[parent_or_file]')['description']('Pull\x20child\x20segments\x20to\x20YAML\x20files')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x3d1))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),a2_0x3474ff(0x344))[a2_0x3474ff(0x35b)](async(_0x148ae9,_0x3db48e)=>{const _0x2e1186=a2_0x3474ff,_0x52ed81=new SegmentPullCommand(),_0x43310d=program[_0x2e1186(0x2ca)](),_0x54555b=await createTDXInstance(_0x43310d),_0x3dd28c=await _0x52ed81[_0x2e1186(0x1ef)]({'options':{..._0x43310d,..._0x3db48e},'args':_0x148ae9?[_0x148ae9]:[],'tdx':_0x54555b});gracefulExit(_0x3dd28c);}),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3b6))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1e7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x3d1))['option'](a2_0x3474ff(0x38a),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x42f),a2_0x3474ff(0x2dc))[a2_0x3474ff(0x35b)](async(_0x140c06,_0x25603f)=>{const _0x456b58=a2_0x3474ff,_0x47f78b=new SegmentPushCommand(),_0x5df19d=program[_0x456b58(0x2ca)](),_0x31ebd0=await createTDXInstance(_0x5df19d),_0x5f26bc=await _0x47f78b[_0x456b58(0x1ef)]({'options':{..._0x5df19d,..._0x25603f},'args':_0x140c06?[_0x140c06]:[],'tdx':_0x31ebd0});gracefulExit(_0x5f26bc);}),segmentCmd[a2_0x3474ff(0x3ab)]('validate\x20[target]')[a2_0x3474ff(0x2be)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')['action'](async(_0x498288,_0xd53390)=>{const _0x3c9742=a2_0x3474ff,_0x21286c=new SegmentValidateCommand(),_0x4788f1=program['opts'](),_0x318548=await createTDXInstance(_0x4788f1),_0x6b6eba=await _0x21286c[_0x3c9742(0x1ef)]({'options':{..._0x4788f1,..._0xd53390},'args':_0x498288?[_0x498288]:[],'tdx':_0x318548});gracefulExit(_0x6b6eba);}),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c0),{'hidden':!![]})[a2_0x3474ff(0x2be)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x3474ff(0x2cb)]('--description\x20<text>',a2_0x3474ff(0x382))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x406),a2_0x3474ff(0x2b8))[a2_0x3474ff(0x2cb)]('--rule-file\x20<file>',a2_0x3474ff(0x29c))[a2_0x3474ff(0x2cb)]('--folder\x20<name>','Folder\x20name\x20for\x20organization')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2b4),a2_0x3474ff(0x205))[a2_0x3474ff(0x2cb)]('--invisible','Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x359),a2_0x3474ff(0x31a))['action'](async(_0x34f8cf,_0x4c7311)=>{const _0x3144fb=a2_0x3474ff,_0x44780e=new SegmentCreateCommand(),_0x18471a=program[_0x3144fb(0x2ca)](),_0x5f065b=await createTDXInstance(_0x18471a),_0x16ff22=await _0x44780e[_0x3144fb(0x1ef)]({'options':{..._0x18471a,..._0x4c7311},'args':[_0x34f8cf],'tdx':_0x5f065b});gracefulExit(_0x16ff22);}),segmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3a3),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x333))[a2_0x3474ff(0x2cb)]('--name\x20<new_name>',a2_0x3474ff(0x2c0))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x285),a2_0x3474ff(0x328))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x406),a2_0x3474ff(0x2ac))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x34b),a2_0x3474ff(0x38b))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x407),a2_0x3474ff(0x275))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2b4),a2_0x3474ff(0x205))[a2_0x3474ff(0x35b)](async(_0x41ab94,_0x40d2d1)=>{const _0x260503=a2_0x3474ff,_0x1f2581=new SegmentUpdateCommand(),_0x2ca41a=program[_0x260503(0x2ca)](),_0x3b27be=await createTDXInstance(_0x2ca41a),_0x420d67=await _0x1f2581['run']({'options':{..._0x2ca41a,..._0x40d2d1},'args':[_0x41ab94],'tdx':_0x3b27be});gracefulExit(_0x420d67);});const parentCmd=segmentCmd['command']('parent',{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x24a)),parentListAction=async(_0x4fabe9,_0x3b729f)=>{const _0x3f0497=a2_0x3474ff,_0x1b6726=new ParentSegmentListCommand(),_0x22c0aa=program['opts'](),_0x7b6622=await createTDXInstance(_0x22c0aa),_0x286ce6=await _0x1b6726[_0x3f0497(0x1ef)]({'options':{..._0x22c0aa,..._0x3b729f},'args':_0x4fabe9?[_0x4fabe9]:[],'tdx':_0x7b6622});gracefulExit(_0x286ce6);};parentCmd[a2_0x3474ff(0x3ab)]('list\x20[pattern]')['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x3474ff(0x35b)](parentListAction),segmentCmd['command'](a2_0x3474ff(0x3ce),{'hidden':!![]})['description']('List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)')[a2_0x3474ff(0x35b)](parentListAction),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x375))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x20f))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2ba),a2_0x3474ff(0x3f9))['option'](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')['action'](async(_0x3f2c3d,_0x463993)=>{const _0x38fadc=a2_0x3474ff,_0x5e0a70=new ParentSegmentPullCommand(),_0x14649d=program['opts'](),_0x1edf7b=await createTDXInstance(_0x14649d),_0x23e5ee=await _0x5e0a70[_0x38fadc(0x1ef)]({'options':{..._0x14649d,..._0x463993},'args':_0x3f2c3d?[_0x3f2c3d]:[],'tdx':_0x1edf7b});gracefulExit(_0x23e5ee);}),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x40e))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2c7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))['action'](async(_0x5154b1,_0x400758)=>{const _0x33cef7=a2_0x3474ff,_0x509735=new ParentSegmentPushCommand(),_0xb79a2d=program[_0x33cef7(0x2ca)](),_0x3bf034=await createTDXInstance(_0xb79a2d),_0x56ffd0=await _0x509735[_0x33cef7(0x1ef)]({'options':{..._0xb79a2d,..._0x400758},'args':_0x5154b1?[_0x5154b1]:[],'tdx':_0x3bf034});gracefulExit(_0x56ffd0);}),parentCmd[a2_0x3474ff(0x3ab)]('validate\x20[file]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x34d))[a2_0x3474ff(0x2cb)]('--master',a2_0x3474ff(0x2c6))['option'](a2_0x3474ff(0x3f2),a2_0x3474ff(0x1cf))[a2_0x3474ff(0x2cb)]('--behavior\x20[name]','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1dd),a2_0x3474ff(0x365))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a7),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x3474ff(0x35b)](async(_0x12584b,_0x2e1eae)=>{const _0x25a112=a2_0x3474ff,_0x224ce4=new ParentSegmentValidateCommand(),_0x24ef29=program[_0x25a112(0x2ca)](),_0x174501=await createTDXInstance(_0x24ef29),_0x3a8504=await _0x224ce4['run']({'options':{..._0x24ef29,..._0x2e1eae},'args':_0x12584b?[_0x12584b]:[],'tdx':_0x174501});gracefulExit(_0x3a8504);}),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1ba))['description'](a2_0x3474ff(0x2b6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x295),a2_0x3474ff(0x1ff))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f2),a2_0x3474ff(0x32d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a6),a2_0x3474ff(0x2d9))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1dd),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a7),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x3474ff(0x31c))[a2_0x3474ff(0x35b)](async(_0x2ecab9,_0x4b2c5c)=>{const _0x3c7626=a2_0x3474ff,_0x56e9f1=new ParentSegmentPreviewCommand(),_0x6fecae=program[_0x3c7626(0x2ca)](),_0x1748fd=await createTDXInstance(_0x6fecae),_0x516429=await _0x56e9f1[_0x3c7626(0x1ef)]({'options':{..._0x6fecae,..._0x4b2c5c},'args':_0x2ecab9?[_0x2ecab9]:[],'tdx':_0x1748fd});gracefulExit(_0x516429);}),parentCmd['command']('run\x20[name]')[a2_0x3474ff(0x2be)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](async(_0x352069,_0x12b712)=>{const _0x2892c0=a2_0x3474ff,_0x115cdf=new ParentSegmentRunCommand(),_0x516509=program[_0x2892c0(0x2ca)](),_0x6740f0=await createTDXInstance(_0x516509),_0x399e7b=await _0x115cdf['run']({'options':{..._0x516509,..._0x12b712},'args':_0x352069?[_0x352069]:[],'tdx':_0x6740f0});gracefulExit(_0x399e7b);});const parentSegmentCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x291))[a2_0x3474ff(0x38f)]('ps')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x281));parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2a8))['action'](parentListAction),parentSegmentCmd[a2_0x3474ff(0x3ab)]('pull\x20[name]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x400))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2ba),a2_0x3474ff(0x1e2))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x2cb)]('-u,\x20--use','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')[a2_0x3474ff(0x35b)](async(_0x24222e,_0x301e61)=>{const _0xc6ac0=a2_0x3474ff,_0x3fe54c=new ParentSegmentPullCommand(),_0x589ccf=program[_0xc6ac0(0x2ca)](),_0x1b2cd0=await createTDXInstance(_0x589ccf),_0x12d4c4=await _0x3fe54c[_0xc6ac0(0x1ef)]({'options':{..._0x589ccf,..._0x301e61},'args':_0x24222e?[_0x24222e]:[],'tdx':_0x1b2cd0});gracefulExit(_0x12d4c4);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x27d))[a2_0x3474ff(0x2be)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](async(_0x54a39e,_0x4d6e8c)=>{const _0x32a35c=new ParentSegmentPushCommand(),_0x21f427=program['opts'](),_0x32ffc0=await createTDXInstance(_0x21f427),_0x14a8dd=await _0x32a35c['run']({'options':{..._0x21f427,..._0x4d6e8c},'args':_0x54a39e?[_0x54a39e]:[],'tdx':_0x32ffc0});gracefulExit(_0x14a8dd);}),parentSegmentCmd['command'](a2_0x3474ff(0x39e))[a2_0x3474ff(0x2be)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')['option'](a2_0x3474ff(0x295),a2_0x3474ff(0x2c6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f2),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')['option'](a2_0x3474ff(0x2a6),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1dd),a2_0x3474ff(0x365))[a2_0x3474ff(0x2cb)]('--interval\x20<range>',a2_0x3474ff(0x3c8),a2_0x3474ff(0x31c))[a2_0x3474ff(0x35b)](async(_0x455cc1,_0x51ea59)=>{const _0x2174aa=a2_0x3474ff,_0x7f8aab=new ParentSegmentValidateCommand(),_0x3eb726=program['opts'](),_0x40d1ef=await createTDXInstance(_0x3eb726),_0x10c44a=await _0x7f8aab[_0x2174aa(0x1ef)]({'options':{..._0x3eb726,..._0x51ea59},'args':_0x455cc1?[_0x455cc1]:[],'tdx':_0x40d1ef});gracefulExit(_0x10c44a);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x249))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2b6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x295),a2_0x3474ff(0x1ff))['option'](a2_0x3474ff(0x3f2),a2_0x3474ff(0x32d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a6),a2_0x3474ff(0x2d9))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1dd),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')['option'](a2_0x3474ff(0x2a7),a2_0x3474ff(0x3c8),'-1d')[a2_0x3474ff(0x35b)](async(_0x2f7090,_0x249b7e)=>{const _0x372eaa=a2_0x3474ff,_0x468ae6=new ParentSegmentPreviewCommand(),_0x53710e=program[_0x372eaa(0x2ca)](),_0xfdb0ab=await createTDXInstance(_0x53710e),_0x219022=await _0x468ae6[_0x372eaa(0x1ef)]({'options':{..._0x53710e,..._0x249b7e},'args':_0x2f7090?[_0x2f7090]:[],'tdx':_0xfdb0ab});gracefulExit(_0x219022);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1e1))[a2_0x3474ff(0x2be)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](async(_0xa5ccac,_0x4f2316)=>{const _0x7bea72=a2_0x3474ff,_0x3247d4=new ParentSegmentRunCommand(),_0x3bfecf=program[_0x7bea72(0x2ca)](),_0x3b474b=await createTDXInstance(_0x3bfecf),_0x78494e=await _0x3247d4[_0x7bea72(0x1ef)]({'options':{..._0x3bfecf,..._0x4f2316},'args':_0xa5ccac?[_0xa5ccac]:[],'tdx':_0x3b474b});gracefulExit(_0x78494e);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x26d))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x337))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x370),a2_0x3474ff(0x24b))[a2_0x3474ff(0x2cb)]('--jsonl',a2_0x3474ff(0x2c1))['action'](async(_0x29cfb4,_0x47f238)=>{const _0x4948b2=new ParentSegmentFieldsCommand(),_0x31901c=program['opts'](),_0x4a9ae1=await createTDXInstance(_0x31901c),_0xb2261c=await _0x4948b2['run']({'options':{..._0x31901c,..._0x47f238},'args':_0x29cfb4?[_0x29cfb4]:[],'tdx':_0x4a9ae1});gracefulExit(_0xb2261c);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1d2))['description']('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2bf),a2_0x3474ff(0x42a))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x370),'Output\x20as\x20JSON')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3b4),a2_0x3474ff(0x2c1))['action'](async(_0x2ab383,_0x240839)=>{const _0x377a4e=a2_0x3474ff,_0x5efca0=new ParentSegmentViewCommand(),_0x49f9a7=program['opts'](),_0xeb6831=await createTDXInstance(_0x49f9a7),_0x384a2a=await _0x5efca0[_0x377a4e(0x1ef)]({'options':{..._0x49f9a7,..._0x240839},'args':_0x2ab383?[_0x2ab383]:[],'tdx':_0xeb6831});gracefulExit(_0x384a2a);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x39f))[a2_0x3474ff(0x2be)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2ba),'Output\x20file\x20path')['option'](a2_0x3474ff(0x370),a2_0x3474ff(0x24b))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3b4),'Output\x20as\x20JSON\x20Lines')['action'](async(_0x1f4b7a,_0x159d39)=>{const _0x1011bb=a2_0x3474ff,_0x45c0ca=new ParentSegmentDescCommand(),_0x276a5f=program['opts'](),_0x59a6a2=await createTDXInstance(_0x276a5f),_0x1758d6=await _0x45c0ca[_0x1011bb(0x1ef)]({'options':{..._0x276a5f,..._0x159d39},'args':_0x1f4b7a?[_0x1f4b7a]:[],'tdx':_0x59a6a2});gracefulExit(_0x1758d6);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c6))['description'](a2_0x3474ff(0x404))[a2_0x3474ff(0x2cb)]('--json','Output\x20as\x20JSON')['option']('--jsonl',a2_0x3474ff(0x2c1))[a2_0x3474ff(0x35b)](async(_0x1d525e,_0x1903e5)=>{const _0x2e7657=a2_0x3474ff,_0x9086e9=new ParentSegmentSQLCommand(),_0x3ec3b2=program[_0x2e7657(0x2ca)](),_0x15f6e3=await createTDXInstance(_0x3ec3b2),_0x10b0b2=await _0x9086e9[_0x2e7657(0x1ef)]({'options':{..._0x3ec3b2,..._0x1903e5},'args':_0x1d525e?[_0x1d525e]:[],'tdx':_0x15f6e3});gracefulExit(_0x10b0b2);}),parentSegmentCmd['command']('show\x20[name]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x276))['option'](a2_0x3474ff(0x222),'Limit\x20number\x20of\x20rows')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x370),'Output\x20as\x20JSON')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3b4),a2_0x3474ff(0x2c1))[a2_0x3474ff(0x35b)](async(_0xc4d14c,_0x321d6b)=>{const _0x2fd8b5=a2_0x3474ff,_0x3f49a4=new ParentSegmentShowCommand(),_0x49b346=program[_0x2fd8b5(0x2ca)](),_0x20d1a1=await createTDXInstance(_0x49b346),_0x1ab89a=await _0x3f49a4[_0x2fd8b5(0x1ef)]({'options':{..._0x49b346,..._0x321d6b},'args':_0xc4d14c?[_0xc4d14c]:[],'tdx':_0x20d1a1});gracefulExit(_0x1ab89a);}),parentSegmentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3f3))['description'](a2_0x3474ff(0x29a))[a2_0x3474ff(0x35b)](async(_0x21f37a,_0x37413c)=>{const _0x7548be=a2_0x3474ff,_0x1d8645=new UseCommand(),_0x2591fd=program[_0x7548be(0x2ca)](),_0xe1e99c=_0x21f37a?['parent_segment',_0x21f37a]:[],_0x23147f=await _0x1d8645[_0x7548be(0x1ef)]({'options':{..._0x2591fd,..._0x37413c},'args':_0xe1e99c,'tdx':null});gracefulExit(_0x23147f);});const psRtCmd=parentSegmentCmd['command']('rt')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x389));psRtCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x586f47,_0x3d28fa)=>{const _0x2e22ed=a2_0x3474ff,_0x317570=new PSRtListCommand(),_0x3714d4=program['opts'](),_0x2a9cb7=await createTDXInstance(_0x3714d4),_0x597005=await _0x317570[_0x2e22ed(0x1ef)]({'options':{..._0x3714d4,..._0x3d28fa},'args':_0x586f47?[_0x586f47]:[],'tdx':_0x2a9cb7});gracefulExit(_0x597005);}),psRtCmd['command']('validate\x20[name]')['description'](a2_0x3474ff(0x414))[a2_0x3474ff(0x35b)](async(_0x52352b,_0x30a266)=>{const _0x14c66b=a2_0x3474ff,_0x144330=new PSRtValidateCommand(),_0x5e7765=program[_0x14c66b(0x2ca)](),_0x16b7a7=await createTDXInstance(_0x5e7765),_0x2821a5=await _0x144330[_0x14c66b(0x1ef)]({'options':{..._0x5e7765,..._0x30a266},'args':_0x52352b?[_0x52352b]:[],'tdx':_0x16b7a7});gracefulExit(_0x2821a5);});const parentRtCmd=parentCmd[a2_0x3474ff(0x3ab)]('rt',{'hidden':!![]})['description']('RT\x202.0\x20configuration\x20management');parentRtCmd[a2_0x3474ff(0x3ab)]('list\x20[pattern]')[a2_0x3474ff(0x2be)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x8e810b,_0x22574c)=>{const _0xd1f132=a2_0x3474ff,_0x2d3a17=new PSRtListCommand(),_0x5dbe72=program[_0xd1f132(0x2ca)](),_0x310c1e=await createTDXInstance(_0x5dbe72),_0x3c3f10=await _0x2d3a17['run']({'options':{..._0x5dbe72,..._0x22574c},'args':_0x8e810b?[_0x8e810b]:[],'tdx':_0x310c1e});gracefulExit(_0x3c3f10);}),parentRtCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x39e))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x414))['action'](async(_0x2b9a09,_0x3d15b4)=>{const _0x3480b5=a2_0x3474ff,_0x670cce=new PSRtValidateCommand(),_0x56fb59=program[_0x3480b5(0x2ca)](),_0x4cd0df=await createTDXInstance(_0x56fb59),_0x2f315d=await _0x670cce[_0x3480b5(0x1ef)]({'options':{..._0x56fb59,..._0x3d15b4},'args':_0x2b9a09?[_0x2b9a09]:[],'tdx':_0x4cd0df});gracefulExit(_0x2f315d);});const psPzCmd=parentSegmentCmd['command']('pz')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c5));psPzCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x41c))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2f4))[a2_0x3474ff(0x35b)](async(_0x20daeb,_0x145766)=>{const _0x370e30=a2_0x3474ff,_0x3e0ef0=new PSPzListCommand(),_0x14b739=program[_0x370e30(0x2ca)](),_0x1e9bd4=await createTDXInstance(_0x14b739),_0x1e2061=await _0x3e0ef0[_0x370e30(0x1ef)]({'options':{..._0x14b739,..._0x145766},'args':_0x20daeb?[_0x20daeb]:[],'tdx':_0x1e9bd4});gracefulExit(_0x1e2061);}),psPzCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x40a))[a2_0x3474ff(0x2be)]('Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3474ff(0x35b)](async(_0x185f06,_0x39b0df)=>{const _0x59217b=a2_0x3474ff,_0x19c6d1=new PSPzInitCommand(),_0xdc01d1=program[_0x59217b(0x2ca)](),_0x5b8da6=await createTDXInstance(_0xdc01d1),_0x5e4641=await _0x19c6d1[_0x59217b(0x1ef)]({'options':{..._0xdc01d1,..._0x39b0df},'args':_0x185f06?[_0x185f06]:[],'tdx':_0x5b8da6});gracefulExit(_0x5e4641);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c5));parentPzCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x41c))[a2_0x3474ff(0x2be)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x3474ff(0x35b)](async(_0x5d5a56,_0x1990fe)=>{const _0x371033=a2_0x3474ff,_0x5035df=new PSPzListCommand(),_0x1d5b73=program[_0x371033(0x2ca)](),_0x34dad4=await createTDXInstance(_0x1d5b73),_0x21d7db=await _0x5035df[_0x371033(0x1ef)]({'options':{..._0x1d5b73,..._0x1990fe},'args':_0x5d5a56?[_0x5d5a56]:[],'tdx':_0x34dad4});gracefulExit(_0x21d7db);}),parentPzCmd['command'](a2_0x3474ff(0x40a))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x40c))[a2_0x3474ff(0x35b)](async(_0x2ae283,_0x50901f)=>{const _0x38bc69=a2_0x3474ff,_0x2a2497=new PSPzInitCommand(),_0x456336=program[_0x38bc69(0x2ca)](),_0x2c3a98=await createTDXInstance(_0x456336),_0x201a71=await _0x2a2497[_0x38bc69(0x1ef)]({'options':{..._0x456336,..._0x50901f},'args':_0x2ae283?[_0x2ae283]:[],'tdx':_0x2c3a98});gracefulExit(_0x201a71);}),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2c2))[a2_0x3474ff(0x2be)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3474ff(0x23a)](a2_0x3474ff(0x233),a2_0x3474ff(0x314))[a2_0x3474ff(0x23a)]('--table\x20<table>',a2_0x3474ff(0x2da))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x285),a2_0x3474ff(0x319))['option'](a2_0x3474ff(0x3a0),a2_0x3474ff(0x362))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x40f),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x3474ff(0x2cb)]('--timezone\x20<tz>','Timezone\x20(e.g.,\x20America/Los_Angeles)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1f4),'Attributes\x20as\x20JSON\x20string')[a2_0x3474ff(0x2cb)]('--attributes-file\x20<file>',a2_0x3474ff(0x3b9))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1be),a2_0x3474ff(0x2ea))['option'](a2_0x3474ff(0x419),a2_0x3474ff(0x1ee))['option'](a2_0x3474ff(0x3c9),a2_0x3474ff(0x1df))[a2_0x3474ff(0x2cb)]('--customer-group-file\x20<file>','Customer\x20group\x20from\x20JSON\x20file')[a2_0x3474ff(0x35b)](async(_0x443e7d,_0x4df3a7)=>{const _0x4b4c34=new ParentSegmentCreateCommand(),_0x3762a0=program['opts'](),_0x3f1757=await createTDXInstance(_0x3762a0),_0x114091=await _0x4b4c34['run']({'options':{..._0x3762a0,..._0x4df3a7},'args':[_0x443e7d],'tdx':_0x3f1757});gracefulExit(_0x114091);}),parentCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x20d))['description']('[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x285),a2_0x3474ff(0x328))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3a0),a2_0x3474ff(0x259))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x40f),a2_0x3474ff(0x224))['option'](a2_0x3474ff(0x420),a2_0x3474ff(0x412))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a9),'Add\x20attributes\x20as\x20JSON\x20string')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2a5),a2_0x3474ff(0x208))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3e6),'Add\x20behaviors\x20as\x20JSON\x20string')[a2_0x3474ff(0x2cb)]('--add-behaviors-file\x20<file>',a2_0x3474ff(0x2e4))['action'](async(_0x5c8051,_0x42aed1)=>{const _0x55d152=a2_0x3474ff,_0x575a04=new ParentSegmentUpdateCommand(),_0x39419=program[_0x55d152(0x2ca)](),_0x3c2c84=await createTDXInstance(_0x39419),_0x943616=await _0x575a04[_0x55d152(0x1ef)]({'options':{..._0x39419,..._0x42aed1},'args':[_0x5c8051],'tdx':_0x3c2c84});gracefulExit(_0x943616);}),folderCmd['command'](a2_0x3474ff(0x3da))[a2_0x3474ff(0x2be)]('Create\x20segment\x20folder')[a2_0x3474ff(0x2cb)]('--description\x20<text>',a2_0x3474ff(0x246))['option'](a2_0x3474ff(0x23b),a2_0x3474ff(0x2d3))[a2_0x3474ff(0x35b)](async(_0x4f22ad,_0x3ac09c,_0xd912a5)=>{const _0x11baf9=a2_0x3474ff,_0xffa469=new SegmentFolderCreateCommand(),_0x5615ce=program['opts'](),_0x4a784c=await createTDXInstance(_0x5615ce),_0x3ead93=await _0xffa469[_0x11baf9(0x1ef)]({'options':{..._0x5615ce,..._0xd912a5},'args':[_0x4f22ad,_0x3ac09c],'tdx':_0x4a784c});gracefulExit(_0x3ead93);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3a6))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x283))[a2_0x3474ff(0x35b)](async(_0x43c014,_0x4fae2e)=>{const _0x5c1d19=a2_0x3474ff,_0xe61853=new ActivationsCommand(),_0x3d1ad0=program[_0x5c1d19(0x2ca)](),_0x4c17e8=await createTDXInstance(_0x3d1ad0),_0x4610f5=await _0xe61853[_0x5c1d19(0x1ef)]({'options':{..._0x3d1ad0,..._0x4fae2e},'args':[_0x43c014],'tdx':_0x4c17e8});gracefulExit(_0x4610f5);});const workflowCmd=program[a2_0x3474ff(0x3ab)]('workflow')['alias']('wf')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x28a)),wfProjectCmd=workflowCmd[a2_0x3474ff(0x3ab)]('project')['description'](a2_0x3474ff(0x2db)),wfProjectListAction=async(_0xa32438,_0x184679)=>{const _0x3de50c=a2_0x3474ff,_0x3a6118=new WorkflowProjectsCommand(),_0x44c86f=program['opts'](),_0x561890=await createTDXInstance(_0x44c86f),_0x244062=await _0x3a6118[_0x3de50c(0x1ef)]({'options':{..._0x44c86f,..._0x184679},'args':_0xa32438?[_0xa32438]:[],'tdx':_0x561890});gracefulExit(_0x244062);};wfProjectCmd[a2_0x3474ff(0x3ab)]('list\x20[pattern]')[a2_0x3474ff(0x2be)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x3474ff(0x35b)](wfProjectListAction),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x27c))['description'](a2_0x3474ff(0x263))[a2_0x3474ff(0x35b)](wfProjectListAction);const wfWorkflowListAction=async(_0x2562f9,_0x204c50)=>{const _0x430688=a2_0x3474ff,_0x5284f7=new WorkflowWorkflowsCommand(),_0x2ffd87=program[_0x430688(0x2ca)](),_0x1ab8b4=await createTDXInstance(_0x2ffd87),_0x3d9eb=await _0x5284f7['run']({'options':{..._0x2ffd87,..._0x204c50},'args':_0x2562f9?[_0x2562f9]:[],'tdx':_0x1ab8b4});gracefulExit(_0x3d9eb);};workflowCmd['command'](a2_0x3474ff(0x3af))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3b7))[a2_0x3474ff(0x35b)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x3474ff(0x3ab)]('session')['description']('Workflow\x20session\x20management'),wfSessionListAction=async(_0xc9fcac,_0x2e189c)=>{const _0x4bce95=a2_0x3474ff,_0x23033d=new WorkflowSessionsCommand(),_0x743053=program['opts'](),_0x284030=await createTDXInstance(_0x743053),_0x671a0=await _0x23033d[_0x4bce95(0x1ef)]({'options':{..._0x743053,..._0x2e189c},'args':_0xc9fcac?[_0xc9fcac]:[],'tdx':_0x284030});gracefulExit(_0x671a0);};wfSessionCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1d8))['description'](a2_0x3474ff(0x3d0))['option'](a2_0x3474ff(0x363),a2_0x3474ff(0x35d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3ac),a2_0x3474ff(0x27e))[a2_0x3474ff(0x2cb)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](wfSessionListAction),workflowCmd['command'](a2_0x3474ff(0x215))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x410))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x363),'Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3ac),a2_0x3474ff(0x27e))[a2_0x3474ff(0x2cb)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x3474ff(0x35b)](wfSessionListAction);const wfAttemptListAction=async(_0x49f76f,_0x5c5aee)=>{const _0x3c39c1=a2_0x3474ff,_0x5c0dc1=new WorkflowAttemptsCommand(),_0x48313e=program['opts'](),_0x2eae5d=await createTDXInstance(_0x48313e),_0x3a69cb=await _0x5c0dc1[_0x3c39c1(0x1ef)]({'options':{..._0x48313e,..._0x5c5aee},'args':_0x49f76f?[_0x49f76f]:[],'tdx':_0x2eae5d});gracefulExit(_0x3a69cb);},attemptCmd=workflowCmd['command'](a2_0x3474ff(0x422))['description'](a2_0x3474ff(0x31b))[a2_0x3474ff(0x239)](a2_0x3474ff(0x3ee),'Attempt\x20ID')[a2_0x3474ff(0x239)]('[action]',a2_0x3474ff(0x41f))[a2_0x3474ff(0x239)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1f5),a2_0x3474ff(0x30e))['option'](a2_0x3474ff(0x227),a2_0x3474ff(0x2bc))['option']('--resume-from\x20<task>',a2_0x3474ff(0x31e))['option']('--params\x20<json>',a2_0x3474ff(0x408))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2ce),a2_0x3474ff(0x378))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x28c),a2_0x3474ff(0x1bb))[a2_0x3474ff(0x35b)](async(_0x2b2b16,_0x451248,_0x23ff8b,_0x580b68)=>{const _0x3974a0=a2_0x3474ff;if(_0x2b2b16==='list'){await wfAttemptListAction(_0x451248,_0x580b68);return;}if(!_0x2b2b16){attemptCmd[_0x3974a0(0x39c)]();return;}const _0x7d9c18=program[_0x3974a0(0x2ca)](),_0x1023f1=await createTDXInstance(_0x7d9c18);let _0x5ecc59=0x0;if(!_0x451248){const _0x38008d=new WorkflowAttemptCommand();_0x5ecc59=await _0x38008d[_0x3974a0(0x1ef)]({'options':{..._0x7d9c18,..._0x580b68},'args':[_0x2b2b16],'tdx':_0x1023f1});}else{if(_0x451248===_0x3974a0(0x204)){const _0x1fa8e6=new WorkflowLogsCommand();_0x5ecc59=await _0x1fa8e6['run']({'options':{..._0x7d9c18,..._0x580b68},'args':_0x23ff8b?[_0x2b2b16,_0x23ff8b]:[_0x2b2b16],'tdx':_0x1023f1});}else{if(_0x451248===_0x3974a0(0x1d9)){const _0x2fed5d=new WorkflowTasksCommand();_0x5ecc59=await _0x2fed5d[_0x3974a0(0x1ef)]({'options':{..._0x7d9c18,..._0x580b68},'args':[_0x2b2b16],'tdx':_0x1023f1});}else{if(_0x451248==='kill'){const _0x2815f5=new WorkflowKillCommand();_0x5ecc59=await _0x2815f5['run']({'options':{..._0x7d9c18,..._0x580b68},'args':[_0x2b2b16],'tdx':_0x1023f1});}else{if(_0x451248===_0x3974a0(0x338)){const _0x3c7463=new WorkflowRetryCommand();_0x5ecc59=await _0x3c7463[_0x3974a0(0x1ef)]({'options':{..._0x7d9c18,..._0x580b68},'args':['attempt:'+_0x2b2b16],'tdx':_0x1023f1});}else console[_0x3974a0(0x289)](_0x3974a0(0x3fe)+_0x451248),console[_0x3974a0(0x289)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x5ecc59=0x1;}}}}gracefulExit(_0x5ecc59);});attemptCmd[a2_0x3474ff(0x3ab)]('list\x20[project]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1da))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x28c),a2_0x3474ff(0x26f))['action'](wfAttemptListAction),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x25f))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x292))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x28c),a2_0x3474ff(0x26f))[a2_0x3474ff(0x35b)](wfAttemptListAction),workflowCmd['command']('timeline\x20[project.workflow]')[a2_0x3474ff(0x2be)]('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')['option'](a2_0x3474ff(0x347),a2_0x3474ff(0x1cb))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x221),a2_0x3474ff(0x2ee))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x33f),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x3474ff(0x35b)](async(_0x1870ff,_0x273733)=>{const _0x40aef7=a2_0x3474ff,_0x8caf91=new WorkflowTimelineCommand(),_0x4c2f87=program[_0x40aef7(0x2ca)](),_0x380954=await createTDXInstance(_0x4c2f87),_0x6f44c=await _0x8caf91['run']({'options':{..._0x4c2f87,..._0x273733},'args':_0x1870ff?[_0x1870ff]:[],'tdx':_0x380954});gracefulExit(_0x6f44c);}),workflowCmd[a2_0x3474ff(0x3ab)]('retry\x20<session-id>')['description'](a2_0x3474ff(0x2b9))['option']('--from-task\x20<task>','Resume\x20from\x20specific\x20task')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2d1),a2_0x3474ff(0x379))['action'](async(_0x5460a4,_0x19ff73)=>{const _0x407971=a2_0x3474ff,_0x1ef5d7=new WorkflowRetryCommand(),_0x5d3966=program['opts'](),_0xbf155c=await createTDXInstance(_0x5d3966),_0x55da84=await _0x1ef5d7[_0x407971(0x1ef)]({'options':{..._0x5d3966,..._0x19ff73},'args':[_0x5460a4],'tdx':_0xbf155c});gracefulExit(_0x55da84);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2e0))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2c4))[a2_0x3474ff(0x2cb)]('--param\x20<key=value>',a2_0x3474ff(0x418),(_0x27692d,_0x1a757e=[])=>[..._0x1a757e,_0x27692d],[])[a2_0x3474ff(0x2cb)]('--session-time\x20<time>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)')[a2_0x3474ff(0x35b)](async(_0x2eb872,_0x276eef)=>{const _0xe01d56=a2_0x3474ff,_0x2e9441=new WorkflowRunCommand(),_0x6cb49d=program[_0xe01d56(0x2ca)](),_0x4bef00=await createTDXInstance(_0x6cb49d),_0x546d60=await _0x2e9441['run']({'options':{..._0x6cb49d,..._0x276eef},'args':_0x2eb872?[_0x2eb872]:[],'tdx':_0x4bef00});gracefulExit(_0x546d60);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3a7))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x426))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x265),a2_0x3474ff(0x3ea))['action'](async(_0x197e5d,_0x1f5b8e,_0x5d4a18)=>{const _0x1db416=a2_0x3474ff,_0x5cbb41=new WorkflowDownloadCommand(),_0x1d0b59=program[_0x1db416(0x2ca)](),_0x2e747f=await createTDXInstance(_0x1d0b59),_0x556240=await _0x5cbb41[_0x1db416(0x1ef)]({'options':{..._0x1d0b59,..._0x5d4a18},'args':[_0x197e5d,_0x1f5b8e||'.'],'tdx':_0x2e747f});gracefulExit(_0x556240);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1eb))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3dd))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x265),a2_0x3474ff(0x3c6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),a2_0x3474ff(0x252))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')[a2_0x3474ff(0x35b)](async(_0x1e3aeb,_0x2b8914,_0x44a842)=>{const _0x3f0b19=a2_0x3474ff,_0x35476b=new WorkflowPullCommand(),_0x1ec773=program[_0x3f0b19(0x2ca)](),_0x53199e=await createTDXInstance(_0x1ec773),_0x354f25=await _0x35476b[_0x3f0b19(0x1ef)]({'options':{..._0x1ec773,..._0x44a842},'args':_0x2b8914?[_0x1e3aeb,_0x2b8914]:[_0x1e3aeb],'tdx':_0x53199e});gracefulExit(_0x354f25);}),workflowCmd[a2_0x3474ff(0x3ab)]('push\x20[source-dir]')['description'](a2_0x3474ff(0x39a))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x265),a2_0x3474ff(0x2fd))[a2_0x3474ff(0x2cb)]('--dry-run','Preview\x20changes\x20without\x20pushing')[a2_0x3474ff(0x2cb)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')['option'](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')[a2_0x3474ff(0x35b)](async(_0x37a239,_0x2ddd4d)=>{const _0x49d07d=a2_0x3474ff,_0x5c5589=new WorkflowPushCommand(),_0x182ca9=program[_0x49d07d(0x2ca)](),_0x245ca9=await createTDXInstance(_0x182ca9),_0x32fd21=await _0x5c5589[_0x49d07d(0x1ef)]({'options':{..._0x182ca9,..._0x2ddd4d},'args':_0x37a239?[_0x37a239]:[],'tdx':_0x245ca9});gracefulExit(_0x32fd21);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x253))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x325))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f7),a2_0x3474ff(0x209))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x265),a2_0x3474ff(0x2e1))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3bc),a2_0x3474ff(0x3b3))[a2_0x3474ff(0x35b)](async(_0x3d01db,_0x3ba8e9)=>{const _0x13bdc3=a2_0x3474ff,_0x24b56c=new WorkflowUploadCommand(),_0x40a7b7=program['opts'](),_0x43d713=await createTDXInstance(_0x40a7b7),_0x573670=await _0x24b56c[_0x13bdc3(0x1ef)]({'options':{..._0x40a7b7,..._0x3ba8e9},'args':_0x3d01db?[_0x3d01db]:[],'tdx':_0x43d713});gracefulExit(_0x573670);}),workflowCmd[a2_0x3474ff(0x3ab)]('clone\x20[source-dir]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x21d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f7),a2_0x3474ff(0x364))[a2_0x3474ff(0x2cb)]('--revision\x20<revision>',a2_0x3474ff(0x2fd))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),'Preview\x20without\x20creating\x20the\x20project')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3bc),a2_0x3474ff(0x3b3))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](async(_0x18f87c,_0x48ca32)=>{const _0x4a35ab=a2_0x3474ff,_0x1a5be6=new WorkflowCloneCommand(),_0x69557f=program[_0x4a35ab(0x2ca)](),_0x2a729f=await createTDXInstance(_0x69557f),_0x822c89=await _0x1a5be6[_0x4a35ab(0x1ef)]({'options':{..._0x69557f,..._0x48ca32},'args':_0x18f87c?[_0x18f87c]:[],'tdx':_0x2a729f});gracefulExit(_0x822c89);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3eb))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3fb))[a2_0x3474ff(0x35b)](async(_0x45ac52,_0x3485fe)=>{const _0x14d5a1=a2_0x3474ff,_0x53a283=new WorkflowDeleteCommand(),_0x1e54e4=program[_0x14d5a1(0x2ca)](),_0x44b160=await createTDXInstance(_0x1e54e4),_0x48150a=await _0x53a283[_0x14d5a1(0x1ef)]({'options':{..._0x1e54e4,..._0x3485fe},'args':[_0x45ac52],'tdx':_0x44b160});gracefulExit(_0x48150a);}),workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x234))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x20e))[a2_0x3474ff(0x2cb)]('--clear','Clear\x20workflow\x20project\x20context')[a2_0x3474ff(0x35b)](async(_0x39c108,_0x293890)=>{const _0x5442f1=a2_0x3474ff,_0x47792e=new WorkflowUseCommand(),_0x5ecc58=program[_0x5442f1(0x2ca)](),_0x286cc0=await createTDXInstance(_0x5ecc58),_0x398498=await _0x47792e[_0x5442f1(0x1ef)]({'options':{..._0x5ecc58,..._0x293890},'args':_0x39c108?[_0x39c108]:[],'tdx':_0x286cc0});gracefulExit(_0x398498);});const wfSecretsCmd=workflowCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x394))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x387));wfSecretsCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1d8))['description'](a2_0x3474ff(0x242))['action'](async(_0x33e335,_0x87a283)=>{const _0x3679f0=a2_0x3474ff,_0x2fc72c=new WorkflowSecretsListCommand(),_0xd3a275=program['opts'](),_0x1862fa=await createTDXInstance(_0xd3a275),_0x13bae7=await _0x2fc72c[_0x3679f0(0x1ef)]({'options':{..._0xd3a275,..._0x87a283},'args':_0x33e335?[_0x33e335]:[],'tdx':_0x1862fa});gracefulExit(_0x13bae7);}),wfSecretsCmd[a2_0x3474ff(0x3ab)]('set\x20<args...>')[a2_0x3474ff(0x2be)]('Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)')[a2_0x3474ff(0x35b)](async(_0x21ed73,_0x29252a)=>{const _0x2b4d9e=a2_0x3474ff,_0x4ee1f2=new WorkflowSecretsSetCommand(),_0x3b3e72=program[_0x2b4d9e(0x2ca)](),_0x4b4f22=await createTDXInstance(_0x3b3e72),_0x378263=await _0x4ee1f2[_0x2b4d9e(0x1ef)]({'options':{..._0x3b3e72,..._0x29252a},'args':_0x21ed73,'tdx':_0x4b4f22});gracefulExit(_0x378263);}),wfSecretsCmd['command'](a2_0x3474ff(0x251))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1d6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')['action'](async(_0x3ef952,_0x22f32f)=>{const _0x46b648=a2_0x3474ff,_0x3fe24a=new WorkflowSecretsDeleteCommand(),_0x2c651d=program[_0x46b648(0x2ca)](),_0x3d6a22=await createTDXInstance(_0x2c651d),_0x1c4596=await _0x3fe24a['run']({'options':{..._0x2c651d,..._0x22f32f},'args':_0x3ef952,'tdx':_0x3d6a22});gracefulExit(_0x1c4596);});const jobCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3aa))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x326)),jobListAction=async _0xa87de3=>{const _0x466c18=a2_0x3474ff,_0x2db37b=new JobListCommand(),_0x22d435=program['opts'](),_0x5e409c=await createTDXInstance(_0x22d435),_0x534379=await _0x2db37b[_0x466c18(0x1ef)]({'options':{..._0x22d435,..._0xa87de3},'args':[],'tdx':_0x5e409c});gracefulExit(_0x534379);};jobCmd[a2_0x3474ff(0x3ab)]('list')['description'](a2_0x3474ff(0x290))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x363),a2_0x3474ff(0x1c7))[a2_0x3474ff(0x35b)](jobListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x38e),{'hidden':!![]})[a2_0x3474ff(0x2be)]('List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x363),a2_0x3474ff(0x1c7))[a2_0x3474ff(0x35b)](jobListAction),jobCmd[a2_0x3474ff(0x3ab)]('show\x20<job-id>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2c9))[a2_0x3474ff(0x35b)](async(_0x43eb85,_0x1c65a1)=>{const _0x47eec6=a2_0x3474ff,_0x1fb43c=new JobShowCommand(),_0x25d67a=program[_0x47eec6(0x2ca)](),_0x650c71=await createTDXInstance(_0x25d67a),_0x41350e=await _0x1fb43c[_0x47eec6(0x1ef)]({'options':{..._0x25d67a,..._0x1c65a1},'args':[_0x43eb85],'tdx':_0x650c71});gracefulExit(_0x41350e);}),jobCmd[a2_0x3474ff(0x3ab)]('kill\x20<job-id>')[a2_0x3474ff(0x2be)]('Kill\x20a\x20job')['action'](async(_0x419e53,_0x4096f9)=>{const _0x4b92f9=a2_0x3474ff,_0x200bdb=new JobKillCommand(),_0x2099c7=program[_0x4b92f9(0x2ca)](),_0x590e1=await createTDXInstance(_0x2099c7),_0x169817=await _0x200bdb[_0x4b92f9(0x1ef)]({'options':{..._0x2099c7,..._0x4096f9},'args':[_0x419e53],'tdx':_0x590e1});gracefulExit(_0x169817);}),jobCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x396))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x37e))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x342),a2_0x3474ff(0x260),a2_0x3474ff(0x3c1))['option'](a2_0x3474ff(0x262),a2_0x3474ff(0x271))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x213),a2_0x3474ff(0x278),a2_0x3474ff(0x216))[a2_0x3474ff(0x35b)](async(_0x5d758f,_0x301140)=>{const _0xa7a6f9=a2_0x3474ff,_0x2231e0=new JobSubmitCommand(),_0x542233=program[_0xa7a6f9(0x2ca)](),_0x17e260=await createTDXInstance(_0x542233),_0x4f9be6=await _0x2231e0[_0xa7a6f9(0x1ef)]({'options':{..._0x542233,..._0x301140},'args':_0x5d758f?[_0x5d758f]:[],'tdx':_0x17e260});gracefulExit(_0x4f9be6);}),jobCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2cd))[a2_0x3474ff(0x2be)]('Get\x20job\x20results')['action'](async(_0x310d4c,_0x1de0d2)=>{const _0x371c44=a2_0x3474ff,_0x2332f9=new JobResultCommand(),_0x57b8f9=program['opts'](),_0x16b91e=await createTDXInstance(_0x57b8f9),_0x25d7d2=await _0x2332f9[_0x371c44(0x1ef)]({'options':{..._0x57b8f9,..._0x1de0d2},'args':[_0x310d4c],'tdx':_0x16b91e});gracefulExit(_0x25d7d2);});const scheduleCmd=jobCmd['command']('schedule')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x435));scheduleCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))['description'](a2_0x3474ff(0x21f))[a2_0x3474ff(0x35b)](async(_0x13fcc0,_0x48d61d)=>{const _0x52cc5d=a2_0x3474ff,_0x1dd559=new ScheduleListCommand(),_0x597896=program[_0x52cc5d(0x2ca)](),_0x1acc09=await createTDXInstance(_0x597896),_0x468ab4=await _0x1dd559[_0x52cc5d(0x1ef)]({'options':{..._0x597896,..._0x48d61d},'args':_0x13fcc0?[_0x13fcc0]:[],'tdx':_0x1acc09});gracefulExit(_0x468ab4);}),scheduleCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x430))[a2_0x3474ff(0x2be)]('Show\x20schedule\x20details')[a2_0x3474ff(0x35b)](async(_0x1bfe8f,_0x29c260)=>{const _0x389c9f=a2_0x3474ff,_0xf11e36=new ScheduleShowCommand(),_0x348901=program[_0x389c9f(0x2ca)](),_0x4b13ca=await createTDXInstance(_0x348901),_0x3c465a=await _0xf11e36[_0x389c9f(0x1ef)]({'options':{..._0x348901,..._0x29c260},'args':[_0x1bfe8f],'tdx':_0x4b13ca});gracefulExit(_0x3c465a);}),scheduleCmd['command'](a2_0x3474ff(0x2c2))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x343))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x310),a2_0x3474ff(0x324))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x262),'Read\x20query\x20from\x20file')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x416),a2_0x3474ff(0x33d),a2_0x3474ff(0x3c1))['option']('--cron\x20<expression>',a2_0x3474ff(0x29e))[a2_0x3474ff(0x2cb)]('--timezone\x20<tz>',a2_0x3474ff(0x202))[a2_0x3474ff(0x2cb)]('--delay\x20<seconds>',a2_0x3474ff(0x1bc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38d),a2_0x3474ff(0x2bd))['option']('--retry-limit\x20<0~32>',a2_0x3474ff(0x250))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x22d),a2_0x3474ff(0x2bb))['option'](a2_0x3474ff(0x30f),a2_0x3474ff(0x30d))[a2_0x3474ff(0x35b)](async(_0x3ad387,_0x3dddae)=>{const _0x54bef7=a2_0x3474ff,_0x292c27=new ScheduleCreateCommand(),_0x594acd=program[_0x54bef7(0x2ca)](),_0x1b7829=await createTDXInstance(_0x594acd),_0x1893ff=await _0x292c27[_0x54bef7(0x1ef)]({'options':{..._0x594acd,..._0x3dddae},'args':[_0x3ad387],'tdx':_0x1b7829});gracefulExit(_0x1893ff);}),scheduleCmd['command']('update\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2ae))['option'](a2_0x3474ff(0x310),a2_0x3474ff(0x324))[a2_0x3474ff(0x2cb)]('-f,\x20--file\x20<path>',a2_0x3474ff(0x271))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x416),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x3474ff(0x2cb)]('--cron\x20<expression>',a2_0x3474ff(0x29e))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x420),a2_0x3474ff(0x301))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2d8),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38d),a2_0x3474ff(0x2bd))[a2_0x3474ff(0x2cb)]('--retry-limit\x20<0~32>',a2_0x3474ff(0x250))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x22d),'Query\x20engine\x20version')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x30f),a2_0x3474ff(0x30d))[a2_0x3474ff(0x35b)](async(_0x3e63c2,_0x53ac15)=>{const _0x1b1eac=a2_0x3474ff,_0x17ecd9=new ScheduleUpdateCommand(),_0x7b6389=program['opts'](),_0x570024=await createTDXInstance(_0x7b6389),_0x33fa11=await _0x17ecd9[_0x1b1eac(0x1ef)]({'options':{..._0x7b6389,..._0x53ac15},'args':[_0x3e63c2],'tdx':_0x570024});gracefulExit(_0x33fa11);}),scheduleCmd['command'](a2_0x3474ff(0x41d))['description'](a2_0x3474ff(0x36b))['action'](async(_0x5e19b5,_0x281954)=>{const _0x4900ad=a2_0x3474ff,_0xe29ac=new ScheduleDeleteCommand(),_0x27f428=program[_0x4900ad(0x2ca)](),_0x4bd162=await createTDXInstance(_0x27f428),_0x568ff2=await _0xe29ac[_0x4900ad(0x1ef)]({'options':{..._0x27f428,..._0x281954},'args':[_0x5e19b5],'tdx':_0x4bd162});gracefulExit(_0x568ff2);}),scheduleCmd[a2_0x3474ff(0x3ab)]('run\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x21c))['option'](a2_0x3474ff(0x2fb),a2_0x3474ff(0x40d))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x33a),a2_0x3474ff(0x288))[a2_0x3474ff(0x35b)](async(_0x12b1db,_0x3ab3c0)=>{const _0x4d6a54=new ScheduleRunCommand(),_0x320242=program['opts'](),_0x4418d4=await createTDXInstance(_0x320242),_0x1ac703=await _0x4d6a54['run']({'options':{..._0x320242,..._0x3ab3c0},'args':[_0x12b1db],'tdx':_0x4418d4});gracefulExit(_0x1ac703);}),scheduleCmd[a2_0x3474ff(0x3ab)]('history\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2ef))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x212),a2_0x3474ff(0x307))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2d5),a2_0x3474ff(0x34a))[a2_0x3474ff(0x35b)](async(_0x4881e1,_0x136bbb)=>{const _0x63b870=a2_0x3474ff,_0x216906=new ScheduleHistoryCommand(),_0x3ec714=program['opts'](),_0x46a5cd=await createTDXInstance(_0x3ec714),_0x35000d=await _0x216906[_0x63b870(0x1ef)]({'options':{..._0x3ec714,..._0x136bbb},'args':[_0x4881e1],'tdx':_0x46a5cd});gracefulExit(_0x35000d);});const llmCmd=program[a2_0x3474ff(0x3ab)]('llm')[a2_0x3474ff(0x2be)]('LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)');llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x33b))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x329))[a2_0x3474ff(0x35b)](async(_0x123e62,_0x417a83)=>{const _0x2cb87e=a2_0x3474ff,_0x4c9a60=new LLMUseCommand(),_0x5623e2=program[_0x2cb87e(0x2ca)](),_0xdd0de6=await createTDXInstance(_0x5623e2),_0x2aaeae=await _0x4c9a60[_0x2cb87e(0x1ef)]({'options':{..._0x5623e2,..._0x417a83},'args':[_0x123e62],'tdx':_0xdd0de6});gracefulExit(_0x2aaeae);}),llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3e3))['description']('List\x20available\x20LLM\x20models')[a2_0x3474ff(0x35b)](async _0x220fa0=>{const _0x32b597=a2_0x3474ff,_0x47dfa5=new LLMModelsCommand(),_0x585457=program[_0x32b597(0x2ca)](),_0x57fbe4=await createTDXInstance(_0x585457),_0x319540=await _0x47dfa5[_0x32b597(0x1ef)]({'options':{..._0x585457,..._0x220fa0},'args':[],'tdx':_0x57fbe4});gracefulExit(_0x319540);});const projectCmd=llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3ff))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1f1)),llmProjectListAction=async(_0x370f04,_0x1b2dc4)=>{const _0x3bda0b=a2_0x3474ff,_0x459b27=new LLMProjectsCommand(),_0x69f16a=program[_0x3bda0b(0x2ca)](),_0x814647=await createTDXInstance(_0x69f16a),_0x554057=await _0x459b27[_0x3bda0b(0x1ef)]({'options':{..._0x69f16a,..._0x1b2dc4},'args':_0x370f04?[_0x370f04]:[],'tdx':_0x814647});gracefulExit(_0x554057);};projectCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x3474ff(0x35b)](llmProjectListAction),llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x27c))[a2_0x3474ff(0x2be)]('List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x3474ff(0x35b)](llmProjectListAction),projectCmd[a2_0x3474ff(0x3ab)]('create\x20<name>')[a2_0x3474ff(0x2be)]('Create\x20a\x20new\x20LLM\x20project')['option']('--description\x20<text>',a2_0x3474ff(0x3e7))[a2_0x3474ff(0x35b)](async(_0x1cd85e,_0x479584)=>{const _0x959fc0=a2_0x3474ff,_0x293dca=new LLMProjectCreateCommand(),_0x1a86db=program[_0x959fc0(0x2ca)](),_0x4b42a4=await createTDXInstance(_0x1a86db),_0x3b6546=await _0x293dca[_0x959fc0(0x1ef)]({'options':{..._0x1a86db,..._0x479584},'args':[_0x1cd85e],'tdx':_0x4b42a4});gracefulExit(_0x3b6546);}),projectCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x41d))[a2_0x3474ff(0x2be)]('Delete\x20an\x20LLM\x20project')[a2_0x3474ff(0x35b)](async(_0x5995c7,_0x218bd7)=>{const _0xc6eb0d=new LLMProjectDeleteCommand(),_0x322b35=program['opts'](),_0x38fbd3=await createTDXInstance(_0x322b35),_0x22929a=await _0xc6eb0d['run']({'options':{..._0x322b35,..._0x218bd7},'args':[_0x5995c7],'tdx':_0x38fbd3});gracefulExit(_0x22929a);}),projectCmd['command']('backup\x20<name>')[a2_0x3474ff(0x2be)]('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')['option']('-o,\x20--output\x20<folder>','Output\x20folder\x20(default:\x20{project_name}.llm)')['option'](a2_0x3474ff(0x38a),a2_0x3474ff(0x349))[a2_0x3474ff(0x35b)](async(_0x53f306,_0x5705b1)=>{const _0x523713=a2_0x3474ff,_0x1e3347=new LLMProjectBackupCommand(),_0x28fbfe=program[_0x523713(0x2ca)](),_0xd0d6a6=await createTDXInstance(_0x28fbfe),_0x2dbb8b=await _0x1e3347[_0x523713(0x1ef)]({'options':{..._0x28fbfe,..._0x5705b1},'args':[_0x53f306],'tdx':_0xd0d6a6});gracefulExit(_0x2dbb8b);}),projectCmd[a2_0x3474ff(0x3ab)]('restore\x20<folder>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x29d))['option'](a2_0x3474ff(0x20b),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x3474ff(0x2cb)]('--dry-run',a2_0x3474ff(0x27f))[a2_0x3474ff(0x35b)](async(_0x910599,_0x2b1e5c)=>{const _0x299ba0=a2_0x3474ff,_0x219047=new LLMProjectRestoreCommand(),_0x1ffc01=program[_0x299ba0(0x2ca)](),_0x185ecb=await createTDXInstance(_0x1ffc01),_0x5cdda0=await _0x219047[_0x299ba0(0x1ef)]({'options':{..._0x1ffc01,..._0x2b1e5c},'args':[_0x910599],'tdx':_0x185ecb});gracefulExit(_0x5cdda0);});const llmAgentListAction=async(_0x3cf93f,_0x98422d)=>{const _0x3c9c7c=a2_0x3474ff,_0x23ff39=new LLMAgentsCommand(),_0x470bc9=program[_0x3c9c7c(0x2ca)](),_0x55eb2b=await createTDXInstance(_0x470bc9),_0x3e56eb=await _0x23ff39[_0x3c9c7c(0x1ef)]({'options':{..._0x470bc9,..._0x98422d},'args':_0x3cf93f?[_0x3cf93f]:[],'tdx':_0x55eb2b});gracefulExit(_0x3e56eb);};llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x24e))[a2_0x3474ff(0x2be)]('List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)')[a2_0x3474ff(0x35b)](llmAgentListAction),program[a2_0x3474ff(0x3ab)]('agents\x20[pattern]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3db))[a2_0x3474ff(0x35b)](llmAgentListAction),llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x401))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x427))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x36a),a2_0x3474ff(0x3a2))[a2_0x3474ff(0x35b)](async(_0x56535f,_0x3dd894)=>{const _0x3135ef=a2_0x3474ff,_0x120c5f=new LLMHistoryCommand(),_0x5a214a=program[_0x3135ef(0x2ca)](),_0x5f09aa=await createTDXInstance(_0x5a214a),_0x2be03d=await _0x120c5f['run']({'options':{..._0x5a214a,..._0x3dd894},'args':_0x56535f?[_0x56535f]:[],'tdx':_0x5f09aa});gracefulExit(_0x2be03d);});function a2_0x34c3(){const _0x14e83b=['Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','--no-count-population','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','action','view\x20<name-or-path>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Create\x20a\x20new\x20campaign','--reeval','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','beefree','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','--status\x20<status>','Name\x20for\x20the\x20new\x20project\x20(required)','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','profile','isTTY','1271700cuIurc','campaigns\x20[pattern]','--last','Delete\x20a\x20scheduled\x20query','4drTzis','0.7','Show\x20agent\x20details','gitRevision','--json',',\x20version\x20','Show\x20workspace\x20details','catch','Export\x20journey(s)\x20as\x20YAML\x20files','pull\x20[name]','AI-native\x20CLI\x20for\x20Treasure\x20Data','Path\x20is\x20not\x20a\x20directory:\x20','Force\x20retry\x20even\x20if\x20not\x20failed','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Arguments:','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','Submit\x20a\x20job','us01','--editor-type\x20<type>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Segment\x20description','registeredArguments','--html\x20<html>','allowExcessArguments','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Manage\x20workflow\x20project\x20secrets','Workspace\x20name\x20(required)','RT\x202.0\x20configuration\x20management','--dry-run','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','launch\x20<name-or-id>','--priority\x20<-2~2>','jobs','alias','--limit\x20<number>','--starter-message\x20<text>','Pause\x20a\x20running\x20journey','map','secrets','describe\x20[table]','submit\x20[query]','Push\x20without\x20confirmation','--output\x20<file>','workspaces\x20[pattern]','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','grapesjs','help','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','validate\x20[name]','desc\x20[name]','--schedule-type\x20<type>','Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','update\x20<segment_name>','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','activations\x20<segment_name>','download\x20<project-name>\x20[output-dir]','stats\x20<name-or-path>','Open\x20segment\x20in\x20web\x20browser','job','command','--from\x20<timestamp>','connections','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','workflows\x20[project]','join','chat\x20[message...]','Show\x20connection\x20details\x20by\x20name','Skip\x20validation\x20of\x20.dig\x20files','--jsonl','List\x20journeys\x20in\x20current\x20context','push\x20[parent_or_file]','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Change\x20to\x20directory\x20before\x20executing\x20command','Attributes\x20from\x20JSON\x20file','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Output\x20directory','--skip-validation','--model\x20<name>','Maximum\x20tool\x20iterations\x20(default:\x204)','subcommandDescription','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','trino','--start-at\x20<datetime>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Personalization\x20service\x20management','Pull\x20specific\x20revision\x20(default:\x20latest)','-p,\x20--profile\x20<name>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','--customer-group\x20<json>','commandDescription','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','padEnd','_hidden','parents\x20[pattern]','database','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Skip\x20confirmation\x20prompts','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','list\x20[pattern]','campaign','-r,\x20--recursive','-X,\x20--method\x20<method>','Database\x20management\x20commands','show\x20<agent-name>','after','create\x20<parent_name>\x20<folder_name>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','-y,\x20--yes','Pull\x20workflow\x20project\x20to\x20local\x20folder','validate\x20[target]','INVALID_ARGUMENT','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','journey','Show\x20journey\x20statistics','models','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','--add-behaviors\x20<json>','Project\x20description','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','preAction','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','delete\x20<project-name-or-id>','createAsync','outputHelp','[attempt-id]','--max-depth\x20<depth>','optionDescription','folders\x20<parent_name>','--attribute\x20[name]','use\x20[name]','--description\x20<desc>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','New\x20campaign\x20name','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','\x20-\x20built\x20','Output\x20file\x20path\x20(default:\x20<name>.yml)','Validate\x20journey\x20YAML\x20files\x20locally','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--site\x20<site>','--max-tool-iterations\x20<n>','Unknown\x20action:\x20','project','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','history\x20[chat-id]','addHelpText','noColor','Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','--rule\x20<json>','--folder\x20<name>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Plaintext\x20template\x20content','init\x20[name]','--session\x20<id>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','push\x20[file]','--schedule-option\x20<value>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','\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','Updated\x20timezone','engage','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','-d,\x20--database\x20<database>','--type\x20<type>','Run\x20tests\x20for\x20an\x20LLM\x20agent','Workflow\x20parameter\x20(repeatable)','--behaviors-file\x20<file>','Options:','--json-columns\x20<cols>','list\x20[name]','delete\x20<name>','filter','Action:\x20logs,\x20tasks,\x20kill,\x20retry','--timezone\x20<tz>','--workspace\x20<name>','attempt','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','tdx','Show\x20the\x20most\x20recent\x20chat','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','List\x20all\x20data\x20connections','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','Open\x20parent\x20segment\x20in\x20web\x20browser','tables\x20[pattern]','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Resume\x20a\x20paused\x20journey','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','--delete','show\x20<name>','Run\x20Trino\x20query\x20with\x20streaming\x20results','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','pull\x20[project]\x20[agent-name]','Scheduled\x20query\x20management\x20commands','-d,\x20--database\x20<name>','List\x20available\x20connector\x20types','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','preview\x20[file]','Include\x20retried\x20attempts\x20(for\x20list)','Delay\x20in\x20seconds\x20before\x20execution','table','--behaviors\x20<json>','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','create\x20<segment_name>','Delete\x20a\x20campaign','list','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Update\x20a\x20workspace','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','sql\x20[name]','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','-f,\x20--force','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','slice','Follow/watch\x20timeline\x20for\x20running\x20attempts','Setup\x20API\x20key\x20authentication\x20interactively','32KFSCox','Campaign\x20name','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','json','Delete\x20a\x20workspace','view\x20[name]','Overwrite\x20local\x20changes\x20without\x20confirmation','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Create\x20a\x20new\x20profile','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','Generate\x20test\x20conversations\x20without\x20evaluation','list\x20[project]','tasks','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','jsonl','GET','--enriched','--stage\x20<name>','Customer\x20group\x20as\x20JSON\x20string','Show\x20campaign\x20details','run\x20[name]','Output\x20file\x20path','--version','HTML\x20template\x20content','\x20(resolved\x20to\x20','--default','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','INFO','api\x20[endpoint]','aliases','pull\x20<project>\x20[target-dir]','Campaign\x20type\x20(email\x20or\x20push)','chats','Behaviors\x20from\x20JSON\x20file','run','Show\x20authentication\x20status\x20and\x20current\x20context','LLM\x20project\x20management','--no-eval','Open\x20journey\x20in\x20web\x20browser','--attributes\x20<json>','--include-subtasks','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','format','flatMap','length','includes','commands','auth','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','list\x20[path]','Show\x20master\x20table\x20sample\x20data','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Delete\x20an\x20email\x20template','Timezone\x20for\x20cron\x20(default:\x20UTC)','users','logs','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Authentication\x20management','111460YvDNKN','Add\x20attributes\x20from\x20JSON\x20file','Override\x20project\x20name','site','--name\x20<new-name>','Agent\x20prompt/instructions','update\x20<name>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','folder','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--from\x20<n>','--database\x20<name>','isDirectory','sessions\x20[project]','information_schema','14QRqnpz','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Save\x20output\x20to\x20file','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Run\x20a\x20scheduled\x20query\x20immediately','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','737214shaPUv','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','List\x20all\x20users\x20in\x20the\x20account','--session-id\x20<id>','--limit\x20<n>','Usage:\x20','Updated\x20schedule\x20option','use\x20[resource]\x20[value]','--new','--reason\x20<text>','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','clear','--color','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','--engine-version\x20<version>','tsv','status','Email\x20subject\x20template','Database\x20to\x20query\x20(default:\x20information_schema)','log\x20<chat-id>','--database\x20<db>','use\x20[project]','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Set\x20operation\x20timeout\x20in\x20seconds','databases\x20[pattern]','Delete\x20an\x20agent','argument','requiredOption','--parent-folder\x20<name>','--name\x20<text>','Include\x20execution\x20statistics','--no-color','Invalid\x20editor\x20type:\x20','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','view\x20[segment_name]','List\x20secret\x20keys\x20for\x20a\x20project','segments\x20[path]','\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','--agent\x20<ref>','Folder\x20description','update\x20<agent-name>','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','preview\x20[name]','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Output\x20as\x20JSON','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','show\x20<folder_ref>','agents\x20[pattern]','Read\x20SQL\x20query\x20from\x20file','Retry\x20limit\x20(0\x20to\x2032)','delete\x20<args...>','Preview\x20changes\x20without\x20writing\x20files','upload\x20[project-name-or-dir]','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','resume\x20<name-or-path>','LLM\x20agent\x20management','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','-n,\x20--name\x20<name>','Trino\x20catalog\x20(default:\x20td)','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Run\x20specific\x20tests\x20(comma-separated)','attempts\x20[project]','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','push','-f,\x20--file\x20<path>','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','delete\x20<agent-name>','--revision\x20<revision>','tdx\x20','buildTime','--chat-id\x20<id>','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Clear\x20session\x20context','usage','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','fields\x20[name]','--segment\x20<path>','Include\x20retried\x20attempts','Agent\x20description','Read\x20query\x20from\x20file','apiKey','workspace','Create\x20an\x20email\x20template','Move\x20to\x20folder','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Database\x20name\x20(default:\x20information_schema)','--system-prompt\x20<text>','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','-o,\x20--output\x20<dir>','projects\x20[pattern]','push\x20[name]','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','desc','Parent\x20segment\x20management','user','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--description\x20<text>','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','show\x20[table]','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','error','Workflow\x20(Digdag)\x20management\x20commands','Create\x20a\x20workspace','--include-retried','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','describe','Update\x20a\x20campaign','List\x20jobs','parent-segment','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','CDP\x20segment\x20management\x20commands','List\x20all\x20available\x20profiles','--master','Maximum\x20recursion\x20depth\x20(default:\x2010)','Request\x20body\x20as\x20JSON\x20string','Workspace\x20description','System\x20prompt/instructions\x20(default:\x20empty)','Set\x20or\x20show\x20parent\x20segment\x20context','fields\x20[parent_name]','Filtering\x20rule\x20from\x20JSON\x20file','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Cron\x20expression\x20for\x20scheduling','--yes','841672oinadi','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','DEBUG','Resume\x20a\x20conversation\x20(shows\x20selector)','templates\x20[pattern]','--add-attributes-file\x20<file>','--behavior\x20[name]','--interval\x20<range>','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','--add-attributes\x20<json>','Parse\x20and\x20validate\x20without\x20executing','delete\x20<name-or-id>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','use\x20<name>','Update\x20a\x20scheduled\x20query','settings\x20<type>','--in\x20<database>','duplicate\x20<name-or-id>','Database\x20to\x20use\x20(overrides\x20context)','query\x20[sql]','--kind\x20<type>','Duplicate\x20a\x20campaign','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Filtering\x20rule\x20as\x20JSON\x20string','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','-o,\x20--output\x20<file>','Query\x20engine\x20version','Reason\x20for\x20killing\x20the\x20attempt','Job\x20priority\x20(-2\x20to\x202)','description','-w,\x20--web','New\x20segment\x20name','Output\x20as\x20JSON\x20Lines','create\x20<name>','summary','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','directory','Show\x20only\x20master\x20table\x20validation','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Agent\x20name','Show\x20job\x20details','opts','option','Workspace\x20name','result\x20<job-id>','--force','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--in\x20<name>','--params\x20<json>','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','Parent\x20folder\x20name\x20for\x20nested\x20folders','set','--to\x20<n>','Show\x20segment\x20schema\x20(column\x20types)','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--delay\x20<seconds>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Master\x20table\x20name','Workflow\x20project\x20management','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','Interactive\x20chat\x20selector','injectIntoOptions','--email-sender-id\x20<id>','run\x20[workflow]','Revision\x20name\x20(default:\x20timestamp)','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','286848UyqHUz','Add\x20behaviors\x20from\x20JSON\x20file','segment','Email\x20sender\x20ID\x20for\x20delivery','--full','hook','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Behaviors\x20as\x20JSON\x20string','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Pause\x20a\x20campaign','Skip\x20confirmation\x20prompt','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Show\x20schedule\x20execution\x20history','update\x20<name-or-id>','argv','Launch\x20a\x20campaign','Show\x20journey\x20details','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','clone\x20[source]','--name\x20<name>','--no-proxy','Email\x20template\x20management','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--time\x20<iso8601>','-C,\x20--directory\x20<path>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','List\x20agents\x20in\x20current\x20project','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Timezone\x20for\x20cron','trace','logLevel','create','show\x20<name-or-id>','Campaign\x20description','Starting\x20offset\x20(default:\x200)','--catalog\x20<catalog>','statusline','--stream','set\x20<key=value>','--trace','Result\x20output\x20destination\x20URL','Include\x20subtasks\x20in\x20tasks\x20output','--result\x20<url>','-d,\x20--database\x20<db>','forEach','Enable\x20verbose\x20logging','--type\x20<api_type>','Master\x20database\x20name','colorFn','-v,\x20--verbose','--prompt\x20<text>','unset\x20<resource>','Parent\x20segment\x20description','Skip\x20population\x20counting','Workflow\x20attempt\x20management','-1d','push\x20[target]','Resume\x20from\x20specific\x20task\x20(retry)','desc\x20[segment_name]','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Database\x20name','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Job\x20management\x20commands','name','Updated\x20description','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','create\x20[name]','--subject\x20<subject>','exit','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','options','optionTerm','--format\x20<format>','[DEPRECATED]\x20Segment\x20folder\x20management','Starter\x20message','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','connection','commandUsage','CDP\x20Journey\x20Orchestration\x20commands','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','retry','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','--num\x20<1-10>','use\x20<project-name>','parse','Query\x20type:\x20trino\x20or\x20hive','pause\x20<name-or-path>','--attempt-id\x20<id>','claude-4.5-sonnet','80520SWYXGK','--job-type\x20<type>','Create\x20a\x20scheduled\x20query','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','stdout','124936pegxKe','--follow','argumentDescription','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Ending\x20offset\x20(default:\x2020)','--rule-file\x20<file>','--clear','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','mcp','Update\x20an\x20email\x20template','Read\x20request\x20body\x20from\x20file','Start\x20a\x20new\x20chat\x20session','TRACE','setup','[options]\x20--\x20[claude-code-args...]','subcommandTerm','journeys\x20[pattern]','--tsv'];a2_0x34c3=function(){return _0x14e83b;};return a2_0x34c3();}isExperimentalAvailable()&&llmCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x232))[a2_0x3474ff(0x2be)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')['action'](async(_0x8e929c,_0x1ed1e9)=>{const _0x4c63e0=a2_0x3474ff,_0x184228=new LLMLogCommand(),_0x36f510=program[_0x4c63e0(0x2ca)](),_0x47d084=await createTDXInstance(_0x36f510),_0x4f2108=await _0x184228[_0x4c63e0(0x1ef)]({'options':{..._0x36f510,..._0x1ed1e9},'args':[_0x8e929c],'tdx':_0x47d084});gracefulExit(_0x4f2108);});program[a2_0x3474ff(0x3ab)]('claude\x20[args...]')[a2_0x3474ff(0x26b)](a2_0x3474ff(0x354))[a2_0x3474ff(0x2be)]('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x3474ff(0x2cb)]('-c,\x20--continue','Continue\x20most\x20recent\x20conversation')[a2_0x3474ff(0x2cb)]('-r,\x20--resume',a2_0x3474ff(0x2a3))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f8),a2_0x3474ff(0x277))['allowUnknownOption']()[a2_0x3474ff(0x385)](!![])[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),a2_0x3474ff(0x322))[a2_0x3474ff(0x35b)](async(_0x369bdf,_0x5e1810)=>{const _0x113761=a2_0x3474ff,_0x2fbb23=program[_0x113761(0x2ca)](),_0x40d158=Array['isArray'](_0x369bdf)?_0x369bdf:[];if(_0x40d158[0x0]===_0x113761(0x309)){const _0x4ad40d=new ClaudeStatuslineCommand(),_0xfcad42=await _0x4ad40d[_0x113761(0x1ef)]({'options':{..._0x2fbb23,..._0x5e1810},'args':_0x40d158[_0x113761(0x1ca)](0x1),'tdx':null});gracefulExit(_0xfcad42);}if(_0x40d158[0x0]===_0x113761(0x26b)){const _0x5c0dba=new ClaudeUsageCommand(),_0x470be2=await _0x5c0dba['run']({'options':{..._0x2fbb23,..._0x5e1810},'args':_0x40d158[_0x113761(0x1ca)](0x1),'tdx':null});gracefulExit(_0x470be2);}const _0x54eb74=new ClaudeCommand(),_0x2b8a39=await createTDXInstance(_0x2fbb23),_0x3fe5df=await _0x54eb74[_0x113761(0x1ef)]({'options':{..._0x2fbb23,..._0x5e1810},'args':_0x40d158,'tdx':_0x2b8a39});gracefulExit(_0x3fe5df);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x225))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x323))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x34c),a2_0x3474ff(0x26a))[a2_0x3474ff(0x2cb)]('--default',a2_0x3474ff(0x228))['action'](async(_0x2ceed3,_0x33a26f,_0x28d993)=>{const _0x36d77c=new UseCommand(),_0x1877c5=program['opts'](),_0x1cf7b3=[];if(_0x2ceed3)_0x1cf7b3['push'](_0x2ceed3);if(_0x33a26f)_0x1cf7b3['push'](_0x33a26f);const _0xe0b576=await _0x36d77c['run']({'options':{..._0x1877c5,..._0x28d993},'args':_0x1cf7b3,'tdx':null});gracefulExit(_0xe0b576);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x22f))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1f0))['action'](async _0x148e7b=>{const _0x34c192=a2_0x3474ff,_0x54624a=new StatusCommand(),_0x5362dd=program['opts'](),_0x203597=await createTDXInstance(_0x5362dd),_0x5bce15=await _0x54624a[_0x34c192(0x1ef)]({'options':{..._0x5362dd,..._0x148e7b},'args':[],'tdx':_0x203597});gracefulExit(_0x5bce15);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x318))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3e0))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1e6),a2_0x3474ff(0x21b))[a2_0x3474ff(0x35b)](async(_0x230573,_0x5c26f9)=>{const _0x27fbca=a2_0x3474ff,_0x32a34b=new UnsetCommand(),_0x1ce9b2=program[_0x27fbca(0x2ca)](),_0x532614=await _0x32a34b['run']({'options':{..._0x1ce9b2,..._0x5c26f9},'args':[_0x230573],'tdx':null});gracefulExit(_0x532614);}),program['command'](a2_0x3474ff(0x1ed))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2dd))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x36a),a2_0x3474ff(0x425))['action'](async _0x402f26=>{const _0x224022=a2_0x3474ff,_0x427d58=new ChatsCommand(),_0x640716=program[_0x224022(0x2ca)](),_0x48d407=await createTDXInstance(_0x640716),_0x28da99=await _0x427d58[_0x224022(0x1ef)]({'options':{..._0x640716,..._0x402f26},'args':[],'tdx':_0x48d407});gracefulExit(_0x28da99);});const authCmd=program['command'](a2_0x3474ff(0x1fc))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x206));async function runAuthStatusCommand(_0x3b832c){const _0x3ed7a6=a2_0x3474ff,_0x28fb11=new AuthStatusCommand(),_0x6d2e04=program[_0x3ed7a6(0x2ca)](),_0x3118ca=await createTDXInstance(_0x6d2e04),_0x53ab09=await _0x28fb11['run']({'options':{..._0x6d2e04,..._0x3b832c},'args':[],'tdx':_0x3118ca});gracefulExit(_0x53ab09);}authCmd[a2_0x3474ff(0x35b)](runAuthStatusCommand),authCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x22f))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x39d))[a2_0x3474ff(0x35b)](runAuthStatusCommand),authCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x353))['description'](a2_0x3474ff(0x1cc))[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),a2_0x3474ff(0x24c))[a2_0x3474ff(0x35b)](async _0xaca96c=>{const _0x299b28=a2_0x3474ff,_0x173edb=new AuthSetupCommand(),_0x5a17ba=program[_0x299b28(0x2ca)](),_0x1024ab=await createTDXInstance(_0x5a17ba),_0x152f9a=await _0x173edb[_0x299b28(0x1ef)]({'options':{..._0x5a17ba,..._0xaca96c},'args':[],'tdx':_0x1024ab});gracefulExit(_0x152f9a);}),authCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x229))['description']('Remove\x20API\x20key\x20from\x20system\x20keychain')['addHelpText'](a2_0x3474ff(0x3d9),a2_0x3474ff(0x244))[a2_0x3474ff(0x35b)](async _0x45d80d=>{const _0x41ce3c=a2_0x3474ff,_0x846922=new AuthClearCommand(),_0x3367c4=program['opts'](),_0x2df897=await _0x846922[_0x41ce3c(0x1ef)]({'options':{..._0x3367c4,..._0x45d80d},'args':[],'tdx':null});gracefulExit(_0x2df897);});const userCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x282))[a2_0x3474ff(0x2be)]('User\x20management\x20commands'),userListAction=async _0x5c3c9c=>{const _0x556d02=new UserListCommand(),_0x259841=program['opts'](),_0x3d1492=await createTDXInstance(_0x259841),_0x1bfd9e=await _0x556d02['run']({'options':{..._0x259841,..._0x5c3c9c},'args':[],'tdx':_0x3d1492});gracefulExit(_0x1bfd9e);};userCmd[a2_0x3474ff(0x35b)](async _0xe345e8=>{const _0xc1b845=a2_0x3474ff,_0xdd3151=new UserCommand(),_0x414360=program['opts'](),_0x1b5bd3=await createTDXInstance(_0x414360),_0x581b96=await _0xdd3151[_0xc1b845(0x1ef)]({'options':{..._0x414360,..._0xe345e8},'args':[],'tdx':_0x1b5bd3});gracefulExit(_0x581b96);}),userCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c2))['description'](a2_0x3474ff(0x220))[a2_0x3474ff(0x35b)](userListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x203))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x386))[a2_0x3474ff(0x35b)](userListAction),program[a2_0x3474ff(0x3ab)]('profiles')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x294))['action'](async _0x58829a=>{const _0x353890=a2_0x3474ff,_0xee02f7=new ProfilesCommand(),_0x50419f=program[_0x353890(0x2ca)](),_0x1e0299=await _0xee02f7[_0x353890(0x1ef)]({'options':{..._0x50419f,..._0x58829a},'args':[],'tdx':null});gracefulExit(_0x1e0299);});const profileCmd=program['command'](a2_0x3474ff(0x366))['description']('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd['action'](()=>{const _0x2fda76=a2_0x3474ff;profileCmd[_0x2fda76(0x3ed)]();});const profileListAction=async _0x2e3bc9=>{const _0xd1b4e0=a2_0x3474ff,_0x13e6ba=new ProfilesCommand(),_0x28fd47=program['opts'](),_0x1ed26a=await _0x13e6ba[_0xd1b4e0(0x1ef)]({'options':{..._0x28fd47,..._0x2e3bc9},'args':[],'tdx':null});gracefulExit(_0x1ed26a);};profileCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c2))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x294))['action'](profileListAction),profileCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x32a))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1d5))[a2_0x3474ff(0x402)]('after',a2_0x3474ff(0x3d2))[a2_0x3474ff(0x35b)](async(_0x8b91a2,_0x5912c0)=>{const _0x1ded17=a2_0x3474ff,_0x49bf42=new ProfileCreateCommand(),_0x5f440a=program[_0x1ded17(0x2ca)](),_0x3315a9=await _0x49bf42[_0x1ded17(0x1ef)]({'options':{..._0x5f440a,..._0x5912c0},'args':_0x8b91a2?[_0x8b91a2]:[],'tdx':null});gracefulExit(_0x3315a9);}),profileCmd[a2_0x3474ff(0x3ab)]('remove\x20<name>')['description']('Remove\x20a\x20profile')['addHelpText']('after',a2_0x3474ff(0x339))[a2_0x3474ff(0x35b)](async(_0x501827,_0x4d9057)=>{const _0x468005=a2_0x3474ff,_0x430ed5=new ProfileRemoveCommand(),_0x4bdadb=program[_0x468005(0x2ca)](),_0x5bc1b7=await _0x430ed5['run']({'options':{..._0x4bdadb,..._0x4d9057},'args':[_0x501827],'tdx':null});gracefulExit(_0x5bc1b7);}),profileCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x30b))['description']('Set\x20a\x20profile\x20configuration\x20value')[a2_0x3474ff(0x402)](a2_0x3474ff(0x3d9),'\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')['action'](async(_0x381877,_0x385e29)=>{const _0x59c803=a2_0x3474ff,_0x183c72=new ProfileSetCommand(),_0x2a7560=program[_0x59c803(0x2ca)](),_0x20134b=await _0x183c72[_0x59c803(0x1ef)]({'options':{..._0x2a7560,..._0x385e29},'args':[_0x381877],'tdx':null});gracefulExit(_0x20134b);}),profileCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2ad))['description'](a2_0x3474ff(0x269))[a2_0x3474ff(0x2cb)]('--default','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')['addHelpText'](a2_0x3474ff(0x3d9),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a')[a2_0x3474ff(0x35b)](async(_0x1d00c5,_0x37fa3d)=>{const _0x52f304=a2_0x3474ff,_0x190fd3=new ProfileUseCommand(),_0x15268e=program[_0x52f304(0x2ca)](),_0x3771a0=await _0x190fd3[_0x52f304(0x1ef)]({'options':{..._0x15268e,..._0x37fa3d},'args':[_0x1d00c5],'tdx':null});gracefulExit(_0x3771a0);});const engageCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x413))['description'](a2_0x3474ff(0x3e4)),createEngageAction=_0x30b340=>{return async(_0x4d3e49,_0x48e18d)=>{const _0x511928=a2_0x120a,_0x331438=new _0x30b340(),_0x3cc0fe=program[_0x511928(0x2ca)](),_0x3cdc80=await createTDXInstance(_0x3cc0fe),_0x1e4f79=await _0x331438[_0x511928(0x1ef)]({'options':{..._0x3cc0fe,..._0x48e18d},'args':[_0x4d3e49],'tdx':_0x3cdc80});gracefulExit(_0x1e4f79);};},createEngageNoArgAction=_0x4455d6=>{return async _0x5d8172=>{const _0x4cde87=a2_0x120a,_0x30a6ff=new _0x4455d6(),_0x47cf42=program[_0x4cde87(0x2ca)](),_0x9dd427=await createTDXInstance(_0x47cf42),_0x2cbcbb=await _0x30a6ff[_0x4cde87(0x1ef)]({'options':{..._0x47cf42,..._0x5d8172},'args':[],'tdx':_0x9dd427});gracefulExit(_0x2cbcbb);};},campaignCmd=engageCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d4))[a2_0x3474ff(0x2be)]('Campaign\x20management'),campaignListAction=async(_0x169dfa,_0x24a98b)=>{const _0x466147=a2_0x3474ff,_0x4e1032=new EngageCampaignsCommand(),_0x52390a=program[_0x466147(0x2ca)](),_0x252fae=await createTDXInstance(_0x52390a),_0x9a87c0=await _0x4e1032[_0x466147(0x1ef)]({'options':{..._0x52390a,..._0x24a98b},'args':_0x169dfa?[_0x169dfa]:[],'tdx':_0x252fae});gracefulExit(_0x9a87c0);};campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x3474ff(0x2cb)]('--type\x20<type>',a2_0x3474ff(0x2b7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x363),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3474ff(0x2cb)]('--workspace\x20<name>',a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](campaignListAction),engageCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x369))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x25a))['option'](a2_0x3474ff(0x416),a2_0x3474ff(0x2b7))['option'](a2_0x3474ff(0x363),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](campaignListAction),campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x305))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1e0))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2e7),a2_0x3474ff(0x2f5))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x3474ff(0x3ab)]('create')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x35e))['requiredOption']('--name\x20<name>',a2_0x3474ff(0x1ce))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x416),a2_0x3474ff(0x1ec))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),'Workspace\x20name\x20(required)')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f4),a2_0x3474ff(0x306))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x26e),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x3474ff(0x2cb)]('--email-sender-id\x20<id>',a2_0x3474ff(0x2e6))[a2_0x3474ff(0x2cb)]('--json-columns\x20<cols>',a2_0x3474ff(0x2d7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3c2),a2_0x3474ff(0x381))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x420),a2_0x3474ff(0x35a))['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x3474ff(0x3ab)]('update\x20<name-or-id>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x28f))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),'Workspace\x20name')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f7),a2_0x3474ff(0x3f6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f4),a2_0x3474ff(0x306))['option'](a2_0x3474ff(0x26e),a2_0x3474ff(0x1f6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2df),a2_0x3474ff(0x2e6))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x41b),a2_0x3474ff(0x2d7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3c2),a2_0x3474ff(0x381))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x420),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2ab))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x1c1))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x29f),a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x38c))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2f2))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),'Workspace\x20name')[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd['command']('pause\x20<name-or-id>')['description'](a2_0x3474ff(0x2ec))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command']('resume\x20<name-or-id>')['description']('Resume\x20a\x20paused\x20campaign')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2b1))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2b5))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x3474ff(0x3ab)]('template')['description'](a2_0x3474ff(0x2f9)),templateListAction=async(_0x5b29b3,_0x1f716d)=>{const _0x388665=a2_0x3474ff,_0x4b48aa=new EngageTemplatesCommand(),_0x48c389=program['opts'](),_0x16a6e1=await createTDXInstance(_0x48c389),_0x15194a=await _0x4b48aa[_0x388665(0x1ef)]({'options':{..._0x48c389,..._0x1f716d},'args':_0x5b29b3?[_0x5b29b3]:[],'tdx':_0x16a6e1});gracefulExit(_0x15194a);};templateCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)]('List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)')['option']('--workspace\x20<name>',a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](templateListAction),engageCmd['command'](a2_0x3474ff(0x2a4))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x433))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x35b)](templateListAction),templateCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x305))[a2_0x3474ff(0x2be)]('Show\x20email\x20template\x20details')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)]('--full','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x3474ff(0x35b)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x304))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x274))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x2f7),'Template\x20name')[a2_0x3474ff(0x23a)](a2_0x3474ff(0x32b),a2_0x3474ff(0x230))['requiredOption'](a2_0x3474ff(0x384),a2_0x3474ff(0x1e4))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x421),a2_0x3474ff(0x388))[a2_0x3474ff(0x2cb)]('--plaintext\x20<text>',a2_0x3474ff(0x409))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x380),a2_0x3474ff(0x1bf),_0x5b880b=>{const _0x51cc38=a2_0x3474ff;if(![_0x51cc38(0x361),_0x51cc38(0x39b)][_0x51cc38(0x1fa)](_0x5b880b))throw new SDKError(ErrorCode[_0x51cc38(0x3df)],_0x51cc38(0x23f)+_0x5b880b+'.\x20Must\x20be\x20beefree\x20or\x20grapesjs');return _0x5b880b;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2f0))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x34f))['option'](a2_0x3474ff(0x421),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2f7),'New\x20template\x20name')[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x32b),a2_0x3474ff(0x230))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x384),a2_0x3474ff(0x1e4))[a2_0x3474ff(0x2cb)]('--plaintext\x20<text>',a2_0x3474ff(0x409))[a2_0x3474ff(0x35b)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x3474ff(0x2ab))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x201))[a2_0x3474ff(0x2cb)]('--workspace\x20<name>','Workspace\x20name')[a2_0x3474ff(0x2cb)]('--yes',a2_0x3474ff(0x2ed))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x273))['description']('Workspace\x20management'),workspaceListAction=async(_0xafc629,_0x19c2fd)=>{const _0x6c2605=a2_0x3474ff,_0x4294d0=new EngageWorkspacesCommand(),_0x556499=program[_0x6c2605(0x2ca)](),_0x1025f7=await createTDXInstance(_0x556499),_0x52ae13=await _0x4294d0[_0x6c2605(0x1ef)]({'options':{..._0x556499,..._0x19c2fd},'args':_0xafc629?[_0xafc629]:[],'tdx':_0x1025f7});gracefulExit(_0x52ae13);};workspaceCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))['description'](a2_0x3474ff(0x2eb))['action'](workspaceListAction),engageCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x399))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x37d))[a2_0x3474ff(0x35b)](workspaceListAction),workspaceCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x305))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x372))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2e7),a2_0x3474ff(0x2f5))[a2_0x3474ff(0x35b)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x3474ff(0x3ab)]('create')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x28b))[a2_0x3474ff(0x23a)](a2_0x3474ff(0x2f7),a2_0x3474ff(0x2cc))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3f4),a2_0x3474ff(0x298))[a2_0x3474ff(0x35b)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2f0))['description'](a2_0x3474ff(0x1c4))[a2_0x3474ff(0x2cb)]('--name\x20<name>','New\x20workspace\x20name')[a2_0x3474ff(0x2cb)]('--description\x20<desc>',a2_0x3474ff(0x298))[a2_0x3474ff(0x35b)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x3474ff(0x2ab))['description'](a2_0x3474ff(0x1d1))[a2_0x3474ff(0x2cb)]('--yes',a2_0x3474ff(0x2ed))[a2_0x3474ff(0x35b)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x3474ff(0x3ab)]('use\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x360))[a2_0x3474ff(0x35b)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x334))[a2_0x3474ff(0x2be)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x3e7cc4=>{const _0xe2a2ec=a2_0x3474ff,_0x30c4f8=new ConnectionListCommand(),_0x4a50d6=program[_0xe2a2ec(0x2ca)](),_0x145ed8=await createTDXInstance(_0x4a50d6),_0x4845bb=await _0x30c4f8[_0xe2a2ec(0x1ef)]({'options':{..._0x4a50d6,..._0x3e7cc4},'args':[],'tdx':_0x145ed8});gracefulExit(_0x4845bb);};connectionCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x1c2))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x428))['action'](connectionListAction),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3ad),{'hidden':!![]})[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2fa))['action'](connectionListAction),connectionCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x430))['description'](a2_0x3474ff(0x3b2))[a2_0x3474ff(0x35b)](async(_0x2434bf,_0x572f26)=>{const _0x5f2277=a2_0x3474ff,_0x253704=new ConnectionShowCommand(),_0x440a85=program['opts'](),_0x465090=await createTDXInstance(_0x440a85),_0x4a4f76=await _0x253704[_0x5f2277(0x1ef)]({'options':{..._0x440a85,..._0x572f26},'args':[_0x2434bf],'tdx':_0x465090});gracefulExit(_0x4a4f76);}),connectionCmd[a2_0x3474ff(0x3ab)]('schema\x20<type>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x300))[a2_0x3474ff(0x35b)](async(_0xc8517c,_0x59e054)=>{const _0x29ecc8=a2_0x3474ff,_0x419218=new ConnectionSchemaCommand(),_0x20c5d5=program[_0x29ecc8(0x2ca)](),_0x32c9bf=await createTDXInstance(_0x20c5d5),_0x1563c4=await _0x419218[_0x29ecc8(0x1ef)]({'options':{..._0x20c5d5,..._0x59e054},'args':[_0xc8517c],'tdx':_0x32c9bf});gracefulExit(_0x1563c4);}),connectionCmd[a2_0x3474ff(0x3ab)]('types')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x437))['action'](async _0x3b8254=>{const _0x3e130f=a2_0x3474ff,_0x506424=new ConnectionTypesCommand(),_0x5b6102=program[_0x3e130f(0x2ca)](),_0x7a8ae4=await createTDXInstance(_0x5b6102),_0x30b2bb=await _0x506424[_0x3e130f(0x1ef)]({'options':{..._0x5b6102,..._0x3b8254},'args':[],'tdx':_0x7a8ae4});gracefulExit(_0x30b2bb);}),connectionCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2af))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x27a))[a2_0x3474ff(0x35b)](async(_0x22c574,_0x1acacb)=>{const _0x332434=a2_0x3474ff,_0x3b6269=new ConnectionSettingsCommand(),_0x41e050=program[_0x332434(0x2ca)](),_0x4dab30=await createTDXInstance(_0x41e050),_0x53621c=await _0x3b6269[_0x332434(0x1ef)]({'options':{..._0x41e050,..._0x1acacb},'args':[_0x22c574],'tdx':_0x4dab30});gracefulExit(_0x53621c);});const journeyCmd=program['command'](a2_0x3474ff(0x3e1))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x336)),journeyListAction=async(_0x57b9ed,_0x3cdbae)=>{const _0x961e6b=a2_0x3474ff,_0xcdef88=new JourneyListCommand(),_0x45760b=program[_0x961e6b(0x2ca)](),_0x217a7c=await createTDXInstance(_0x45760b),_0x103075=await _0xcdef88[_0x961e6b(0x1ef)]({'options':{..._0x45760b,..._0x3cdbae},'args':_0x57b9ed?[_0x57b9ed]:[],'tdx':_0x217a7c});gracefulExit(_0x103075);};journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3b5))[a2_0x3474ff(0x35b)](journeyListAction),journeyCmd['command'](a2_0x3474ff(0x35c))['description'](a2_0x3474ff(0x2f3))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x2bf),a2_0x3474ff(0x1f3))[a2_0x3474ff(0x2cb)]('--include-stats',a2_0x3474ff(0x23d))['action'](async(_0x466693,_0x3163d1)=>{const _0x1c4456=new JourneyViewCommand(),_0x31c32f=program['opts'](),_0xfe1897=await createTDXInstance(_0x31c32f),_0x803319=await _0x1c4456['run']({'options':{..._0x31c32f,..._0x3163d1},'args':[_0x466693],'tdx':_0xfe1897});gracefulExit(_0x803319);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3a8))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3e2))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1de),'Show\x20stats\x20for\x20specific\x20stage')['action'](async(_0x39bf81,_0x52c759)=>{const _0x5eaa11=a2_0x3474ff,_0x311b59=new JourneyStatsCommand(),_0x373bbd=program[_0x5eaa11(0x2ca)](),_0x53c209=await createTDXInstance(_0x373bbd),_0x16d408=await _0x311b59[_0x5eaa11(0x1ef)]({'options':{..._0x373bbd,..._0x52c759},'args':[_0x39bf81],'tdx':_0x53c209});gracefulExit(_0x16d408);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x33e))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x392))[a2_0x3474ff(0x35b)](async(_0x53236b,_0x474cce)=>{const _0x27910e=a2_0x3474ff,_0x1998c0=new JourneyPauseCommand(),_0x579a2b=program[_0x27910e(0x2ca)](),_0x398c88=await createTDXInstance(_0x579a2b),_0x147153=await _0x1998c0[_0x27910e(0x1ef)]({'options':{..._0x579a2b,..._0x474cce},'args':[_0x53236b],'tdx':_0x398c88});gracefulExit(_0x147153);}),journeyCmd['command'](a2_0x3474ff(0x257))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x42d))[a2_0x3474ff(0x35b)](async(_0x306773,_0x40f84b)=>{const _0x267483=a2_0x3474ff,_0x3e23cf=new JourneyResumeCommand(),_0x238dc7=program[_0x267483(0x2ca)](),_0x584344=await createTDXInstance(_0x238dc7),_0x2e5944=await _0x3e23cf['run']({'options':{..._0x238dc7,..._0x40f84b},'args':[_0x306773],'tdx':_0x584344});gracefulExit(_0x2e5944);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x375))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x374))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3dc),'Skip\x20confirmation\x20prompt')[a2_0x3474ff(0x2cb)]('--dry-run','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x3474ff(0x35b)](async(_0x1dded7,_0x42abdb)=>{const _0x495177=a2_0x3474ff,_0xd56dea=new JourneyPullCommand(),_0x4c7c4d=program['opts'](),_0x2a468f=await createTDXInstance(_0x4c7c4d),_0x443556=await _0xd56dea[_0x495177(0x1ef)]({'options':{..._0x4c7c4d,..._0x42abdb},'args':_0x1dded7?[_0x1dded7]:[],'tdx':_0x2a468f});gracefulExit(_0x443556);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x31d))['description'](a2_0x3474ff(0x320))[a2_0x3474ff(0x35b)](async(_0x25ad41,_0x3dccc3)=>{const _0x3bab4d=a2_0x3474ff,_0x27aeae=new JourneyPushCommand(),_0x39f0ee=program[_0x3bab4d(0x2ca)](),_0x54b814=await createTDXInstance(_0x39f0ee),_0x421e96=await _0x27aeae['run']({'options':{..._0x39f0ee,..._0x3dccc3},'args':_0x25ad41?[_0x25ad41]:[],'tdx':_0x54b814});gracefulExit(_0x421e96);}),journeyCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3de))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3fa))['action'](async(_0x522a40,_0x582e84)=>{const _0x51182c=a2_0x3474ff,_0x2d8e37=new JourneyValidateCommand(),_0x2f5c4b=program[_0x51182c(0x2ca)](),_0x9d53df=await createTDXInstance(_0x2f5c4b),_0xc05e44=await _0x2d8e37[_0x51182c(0x1ef)]({'options':{..._0x2f5c4b,..._0x582e84},'args':_0x522a40?[_0x522a40]:[],'tdx':_0x9d53df});gracefulExit(_0xc05e44);}),program[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x356))['description'](a2_0x3474ff(0x200))[a2_0x3474ff(0x35b)](journeyListAction);const agentSyncCmd=program[a2_0x3474ff(0x3ab)]('agent')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x258));agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x434))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3a4))['option'](a2_0x3474ff(0x27b),a2_0x3474ff(0x3bb))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1c8),a2_0x3474ff(0x1d3))[a2_0x3474ff(0x35b)](async(_0x19687c,_0x1fd161,_0x5bc580)=>{const _0x5dc830=a2_0x3474ff,_0x4bad5e=new AgentPullCommand(),_0x5ae9ba=program[_0x5dc830(0x2ca)](),_0x598ffb=await createTDXInstance(_0x5ae9ba),_0x5e2f7d=[];if(_0x19687c)_0x5e2f7d['push'](_0x19687c);if(_0x1fd161)_0x5e2f7d[_0x5dc830(0x261)](_0x1fd161);const _0x32f843=await _0x4bad5e[_0x5dc830(0x1ef)]({'options':{..._0x5ae9ba,..._0x5bc580},'args':_0x5e2f7d,'tdx':_0x598ffb});gracefulExit(_0x32f843);}),agentSyncCmd[a2_0x3474ff(0x3ab)]('push\x20[path]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x26c))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1c8),a2_0x3474ff(0x397))['action'](async(_0x3d71f0,_0x1e96e1)=>{const _0x353ab1=a2_0x3474ff,_0x50df88=new AgentPushCommand(),_0x5cbc77=program[_0x353ab1(0x2ca)](),_0x1b0399=await createTDXInstance(_0x5cbc77),_0x3dd72d=await _0x50df88[_0x353ab1(0x1ef)]({'options':{..._0x5cbc77,..._0x1e96e1},'args':_0x3d71f0?[_0x3d71f0]:[],'tdx':_0x1b0399});gracefulExit(_0x3dd72d);}),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x2f6))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x25d))['option'](a2_0x3474ff(0x25b),a2_0x3474ff(0x364))[a2_0x3474ff(0x35b)](async(_0x2b3978,_0x44d7ae)=>{const _0x54a44c=a2_0x3474ff,_0x1789fb=new AgentCloneCommand(),_0x550af1=program[_0x54a44c(0x2ca)](),_0x44aa77=await createTDXInstance(_0x550af1),_0x2ee89e=await _0x1789fb['run']({'options':{..._0x550af1,..._0x44d7ae},'args':_0x2b3978?[_0x2b3978]:[],'tdx':_0x44aa77});gracefulExit(_0x2ee89e);}),agentSyncCmd[a2_0x3474ff(0x3ab)]('test\x20[path]')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x417))[a2_0x3474ff(0x2cb)]('--name\x20<names>',a2_0x3474ff(0x25e))['option']('--tags\x20<tags>',a2_0x3474ff(0x37a))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x38a),a2_0x3474ff(0x2aa))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x1f2),a2_0x3474ff(0x1d7))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x35f),a2_0x3474ff(0x1c5))['action'](async(_0x2b7e0c,_0x416861)=>{const _0x5e5b33=a2_0x3474ff,_0x59404e=new AgentTestCommand(),_0x39368a=program['opts'](),_0x60e032=await createTDXInstance(_0x39368a),_0x24b721=await _0x59404e[_0x5e5b33(0x1ef)]({'options':{..._0x39368a,..._0x416861},'args':_0x2b7e0c?[_0x2b7e0c]:[],'tdx':_0x60e032});gracefulExit(_0x24b721);}),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d3))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x2ff))['action'](llmAgentListAction),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x3d8))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x36e))[a2_0x3474ff(0x35b)](async(_0xd869ce,_0x251cbc)=>{const _0x25706a=a2_0x3474ff,_0x2548f6=new LLMAgentShowCommand(),_0x5a13d6=program[_0x25706a(0x2ca)](),_0x4fca10=await createTDXInstance(_0x5a13d6),_0xd86812=await _0x2548f6[_0x25706a(0x1ef)]({'options':{..._0x5a13d6,..._0x251cbc},'args':[_0xd869ce],'tdx':_0x4fca10});gracefulExit(_0xd86812);}),agentSyncCmd['command']('create\x20<name>')[a2_0x3474ff(0x2be)](a2_0x3474ff(0x3c4))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x279),a2_0x3474ff(0x299))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x3bd),a2_0x3474ff(0x42c),a2_0x3474ff(0x340))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x391),a2_0x3474ff(0x332))['option'](a2_0x3474ff(0x3fd),a2_0x3474ff(0x3be),'4')[a2_0x3474ff(0x2cb)]('--temperature\x20<n>',a2_0x3474ff(0x3ba),a2_0x3474ff(0x36d))['action'](async(_0x364a7e,_0x1e2472)=>{const _0x57e0c7=a2_0x3474ff,_0x28002f=new LLMAgentCreateCommand(),_0x10e73c=program[_0x57e0c7(0x2ca)](),_0x1b89a0=await createTDXInstance(_0x10e73c),_0x87bb71=await _0x28002f[_0x57e0c7(0x1ef)]({'options':{..._0x10e73c,..._0x1e2472},'args':[_0x364a7e],'tdx':_0x1b89a0});gracefulExit(_0x87bb71);}),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x247))['description']('Update\x20an\x20existing\x20agent')['option'](a2_0x3474ff(0x23c),a2_0x3474ff(0x2c8))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x317),a2_0x3474ff(0x20c))[a2_0x3474ff(0x2cb)]('--description\x20<text>',a2_0x3474ff(0x270))[a2_0x3474ff(0x2cb)](a2_0x3474ff(0x391),'Starter\x20message')[a2_0x3474ff(0x35b)](async(_0x3cc5dc,_0x394409)=>{const _0x23209e=a2_0x3474ff,_0x4d57de=new LLMAgentUpdateCommand(),_0x2183c3=program[_0x23209e(0x2ca)](),_0x5eeaa4=await createTDXInstance(_0x2183c3),_0x2f2ad6=await _0x4d57de[_0x23209e(0x1ef)]({'options':{..._0x2183c3,..._0x394409},'args':[_0x3cc5dc],'tdx':_0x5eeaa4});gracefulExit(_0x2f2ad6);}),agentSyncCmd[a2_0x3474ff(0x3ab)](a2_0x3474ff(0x264))[a2_0x3474ff(0x2be)](a2_0x3474ff(0x238))[a2_0x3474ff(0x35b)](async(_0x4214b1,_0x1a6fb0)=>{const _0x3aee9a=a2_0x3474ff,_0x26d7ee=new LLMAgentDeleteCommand(),_0x226f5b=program[_0x3aee9a(0x2ca)](),_0xce767a=await createTDXInstance(_0x226f5b),_0x57b6f4=await _0x26d7ee[_0x3aee9a(0x1ef)]({'options':{..._0x226f5b,..._0x1a6fb0},'args':[_0x4214b1],'tdx':_0xce767a});gracefulExit(_0x57b6f4);});export{program};export function runCLI(){const _0x1be3c8=a2_0x3474ff,_0x1f1ddf=!process[_0x1be3c8(0x2f1)][_0x1be3c8(0x1ca)](0x2)[_0x1be3c8(0x1f9)];showBriefHelp=_0x1f1ddf,program[_0x1be3c8(0x33c)](process['argv']);_0x1f1ddf&&program['outputHelp']();if(process['stderr'][_0x1be3c8(0x367)]&&process['argv'][_0x1be3c8(0x1f9)]>0x2&&!isDevVersion()){const _0x1f638e=loadReleaseChannel();checkForUpdate(currentVersion,_0x1f638e)['then'](_0x35cb82=>{_0x35cb82&&displayUpdateNotification(_0x35cb82);})[_0x1be3c8(0x373)](()=>{});}}