@treasuredata/tdx 2026.3.49 → 2026.3.51

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 (231) 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/cas-command.js +1 -1
  11. package/dist/commands/cas-segment-command.js +1 -1
  12. package/dist/commands/chat-command.js +1 -1
  13. package/dist/commands/claude-command.d.ts.map +1 -1
  14. package/dist/commands/claude-command.js +1 -1
  15. package/dist/commands/claude-command.js.map +1 -1
  16. package/dist/commands/claude-statusline-command.js +1 -1
  17. package/dist/commands/claude-usage-command.js +1 -1
  18. package/dist/commands/command.js +1 -1
  19. package/dist/commands/connection-command.js +1 -1
  20. package/dist/commands/databases.js +1 -1
  21. package/dist/commands/delivery-command.js +1 -1
  22. package/dist/commands/describe.js +1 -1
  23. package/dist/commands/engage-campaign-pull-command.js +1 -1
  24. package/dist/commands/engage-campaign-push-command.js +1 -1
  25. package/dist/commands/engage-campaign-validate-command.js +1 -1
  26. package/dist/commands/engage-command.js +1 -1
  27. package/dist/commands/engage-template-pull-command.js +1 -1
  28. package/dist/commands/engage-template-push-command.js +1 -1
  29. package/dist/commands/engage-template-validate-command.js +1 -1
  30. package/dist/commands/job-command.js +1 -1
  31. package/dist/commands/journey-command.js +1 -1
  32. package/dist/commands/journey-validate-command.js +1 -1
  33. package/dist/commands/llm-command.js +1 -1
  34. package/dist/commands/mcp-command.js +1 -1
  35. package/dist/commands/parent-segment-command.js +1 -1
  36. package/dist/commands/policy-command.js +1 -1
  37. package/dist/commands/profile-command.js +1 -1
  38. package/dist/commands/profiles-command.js +1 -1
  39. package/dist/commands/query-command.js +1 -1
  40. package/dist/commands/schedule-command.js +1 -1
  41. package/dist/commands/segment-command.js +1 -1
  42. package/dist/commands/segment-create-command.js +1 -1
  43. package/dist/commands/segment-fields-command.js +1 -1
  44. package/dist/commands/segment-pull-command.js +1 -1
  45. package/dist/commands/segment-push-command.js +1 -1
  46. package/dist/commands/segment-update-command.js +1 -1
  47. package/dist/commands/segment-use-command.js +1 -1
  48. package/dist/commands/segment-validate-command.js +1 -1
  49. package/dist/commands/segments.js +1 -1
  50. package/dist/commands/show.js +1 -1
  51. package/dist/commands/status-command.js +1 -1
  52. package/dist/commands/tables.js +1 -1
  53. package/dist/commands/unset-command.js +1 -1
  54. package/dist/commands/upgrade-command.js +1 -1
  55. package/dist/commands/use-command.js +1 -1
  56. package/dist/commands/user-command.js +1 -1
  57. package/dist/commands/work-command.js +1 -1
  58. package/dist/commands/workflow-command.js +1 -1
  59. package/dist/core/auth.js +1 -1
  60. package/dist/core/command-output.js +1 -1
  61. package/dist/core/config.d.ts +6 -4
  62. package/dist/core/config.d.ts.map +1 -1
  63. package/dist/core/config.js +1 -1
  64. package/dist/core/config.js.map +1 -1
  65. package/dist/core/connection-cache.js +1 -1
  66. package/dist/core/constants.js +1 -1
  67. package/dist/core/credential-cache.js +1 -1
  68. package/dist/core/global-context.d.ts.map +1 -1
  69. package/dist/core/global-context.js +1 -1
  70. package/dist/core/global-context.js.map +1 -1
  71. package/dist/core/keychain.js +1 -1
  72. package/dist/core/oauth-keychain.js +1 -1
  73. package/dist/core/oauth.d.ts +1 -0
  74. package/dist/core/oauth.d.ts.map +1 -1
  75. package/dist/core/oauth.js +1 -1
  76. package/dist/core/oauth.js.map +1 -1
  77. package/dist/core/profile.js +1 -1
  78. package/dist/core/project-config.js +1 -1
  79. package/dist/core/session.js +1 -1
  80. package/dist/core/user-cache.js +1 -1
  81. package/dist/core/version.js +1 -1
  82. package/dist/index.js +1 -1
  83. package/dist/mcp/server.js +1 -1
  84. package/dist/mcp/tools/index.js +1 -1
  85. package/dist/mcp/tools/tdx-run.js +1 -1
  86. package/dist/mcp/tools/tdx-search.js +1 -1
  87. package/dist/mcp/utils.js +1 -1
  88. package/dist/proxy/claude-usage-tracker.js +1 -1
  89. package/dist/proxy/passthrough-server.d.ts +21 -4
  90. package/dist/proxy/passthrough-server.d.ts.map +1 -1
  91. package/dist/proxy/passthrough-server.js +1 -1
  92. package/dist/proxy/passthrough-server.js.map +1 -1
  93. package/dist/proxy/sse-usage-parser.js +1 -1
  94. package/dist/sdk/agent/agent-config.js +1 -1
  95. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  96. package/dist/sdk/agent/agent-yaml.js +1 -1
  97. package/dist/sdk/agent/test/evaluator.js +1 -1
  98. package/dist/sdk/agent/test/executor.js +1 -1
  99. package/dist/sdk/agent/test/index.js +1 -1
  100. package/dist/sdk/agent/test/output.js +1 -1
  101. package/dist/sdk/agent/test/parser.js +1 -1
  102. package/dist/sdk/agent/tool-target-registry.js +1 -1
  103. package/dist/sdk/api.js +1 -1
  104. package/dist/sdk/cas/cas-api-client.js +1 -1
  105. package/dist/sdk/cas/cas-audience-yaml.js +1 -1
  106. package/dist/sdk/cas/cas-segment-yaml.js +1 -1
  107. package/dist/sdk/cas/index.js +1 -1
  108. package/dist/sdk/cas/pull-workflow.js +1 -1
  109. package/dist/sdk/cas/push-workflow.js +1 -1
  110. package/dist/sdk/client/cdp-api-client.js +1 -1
  111. package/dist/sdk/client/delivery-api-client.js +1 -1
  112. package/dist/sdk/client/endpoints.js +1 -1
  113. package/dist/sdk/client/engage-api-client.js +1 -1
  114. package/dist/sdk/client/http-client.js +1 -1
  115. package/dist/sdk/client/llm-api-client.js +1 -1
  116. package/dist/sdk/client/oauth-refresh.js +1 -1
  117. package/dist/sdk/client/rate-limiter.js +1 -1
  118. package/dist/sdk/client/td-api-client.js +1 -1
  119. package/dist/sdk/client/trino-api-client.js +1 -1
  120. package/dist/sdk/client/workflow-client.js +1 -1
  121. package/dist/sdk/connection-validator.js +1 -1
  122. package/dist/sdk/connection.js +1 -1
  123. package/dist/sdk/delivery.js +1 -1
  124. package/dist/sdk/engage/campaign-pull.js +1 -1
  125. package/dist/sdk/engage/campaign-push.js +1 -1
  126. package/dist/sdk/engage/campaign-validator.js +1 -1
  127. package/dist/sdk/engage/campaign-yaml.js +1 -1
  128. package/dist/sdk/engage/template-pull.js +1 -1
  129. package/dist/sdk/engage/template-push.js +1 -1
  130. package/dist/sdk/engage/template-validator.js +1 -1
  131. package/dist/sdk/engage/template-yaml.js +1 -1
  132. package/dist/sdk/engage/types/campaign-def.js +1 -1
  133. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  134. package/dist/sdk/engage/types/template-schema.js +1 -1
  135. package/dist/sdk/engage.js +1 -1
  136. package/dist/sdk/errors.js +1 -1
  137. package/dist/sdk/index.js +1 -1
  138. package/dist/sdk/io/index.js +1 -1
  139. package/dist/sdk/io/node-filesystem.js +1 -1
  140. package/dist/sdk/job.js +1 -1
  141. package/dist/sdk/journey.js +1 -1
  142. package/dist/sdk/llm/chat-cache.js +1 -1
  143. package/dist/sdk/llm/index.js +1 -1
  144. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  145. package/dist/sdk/llm/model-factors.js +1 -1
  146. package/dist/sdk/personalization.js +1 -1
  147. package/dist/sdk/policy.js +1 -1
  148. package/dist/sdk/query/index.js +1 -1
  149. package/dist/sdk/query/sql-parser.js +1 -1
  150. package/dist/sdk/realtime.js +1 -1
  151. package/dist/sdk/schedule.js +1 -1
  152. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  153. package/dist/sdk/segment/fields-display.js +1 -1
  154. package/dist/sdk/segment/file-discovery.js +1 -1
  155. package/dist/sdk/segment/journey-utils.js +1 -1
  156. package/dist/sdk/segment/journey-validator.js +1 -1
  157. package/dist/sdk/segment/journey-yaml.js +1 -1
  158. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  159. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  160. package/dist/sdk/segment/pull-workflow.js +1 -1
  161. package/dist/sdk/segment/push-recovery.js +1 -1
  162. package/dist/sdk/segment/push-workflow.js +1 -1
  163. package/dist/sdk/segment/resolution-context.js +1 -1
  164. package/dist/sdk/segment/segment-path-parser.js +1 -1
  165. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  166. package/dist/sdk/segment/segment-validator.js +1 -1
  167. package/dist/sdk/segment/target-resolution.js +1 -1
  168. package/dist/sdk/segment/tdx-config.js +1 -1
  169. package/dist/sdk/segment/types/activation-schema.js +1 -1
  170. package/dist/sdk/segment/types/journey-def.js +1 -1
  171. package/dist/sdk/segment/types/journey-schema.js +1 -1
  172. package/dist/sdk/segment/types/segment-def.js +1 -1
  173. package/dist/sdk/segment/types/segment-schema.js +1 -1
  174. package/dist/sdk/segment/validate-files.js +1 -1
  175. package/dist/sdk/segment/yaml-validator.js +1 -1
  176. package/dist/sdk/segment.js +1 -1
  177. package/dist/sdk/types/index.js +1 -1
  178. package/dist/sdk/types/progress.js +1 -1
  179. package/dist/sdk/types/workspace.js +1 -1
  180. package/dist/sdk/user.js +1 -1
  181. package/dist/sdk/util/format-detector.js +1 -1
  182. package/dist/sdk/util/formatters.js +1 -1
  183. package/dist/sdk/util/index.js +1 -1
  184. package/dist/sdk/util/paginate.js +1 -1
  185. package/dist/sdk/util/tree-formatter.js +1 -1
  186. package/dist/sdk/workflow/archive-validation.js +1 -1
  187. package/dist/sdk/workflow/clone-workflow.js +1 -1
  188. package/dist/sdk/workflow/index.js +1 -1
  189. package/dist/sdk/workflow/pull-workflow.js +1 -1
  190. package/dist/sdk/workflow/push-workflow.js +1 -1
  191. package/dist/sdk/workflow/tdx-config.js +1 -1
  192. package/dist/sdk/workflow/workflow-utils.js +1 -1
  193. package/dist/sdk/workspace/frontmatter.js +1 -1
  194. package/dist/sdk/workspace/git.js +1 -1
  195. package/dist/sdk/workspace/index.js +1 -1
  196. package/dist/sdk/workspace/templates.js +1 -1
  197. package/dist/sdk/workspace/weekly.js +1 -1
  198. package/dist/sdk/workspace/wikilinks.js +1 -1
  199. package/dist/test-utils/command-runner.js +1 -1
  200. package/dist/test-utils/factories.js +1 -1
  201. package/dist/test-utils/fixtures.js +1 -1
  202. package/dist/test-utils/http-mock.js +1 -1
  203. package/dist/test-utils/index.js +1 -1
  204. package/dist/utils/async.js +1 -1
  205. package/dist/utils/colors.js +1 -1
  206. package/dist/utils/diff.js +1 -1
  207. package/dist/utils/file-permissions.js +1 -1
  208. package/dist/utils/file-reader.js +1 -1
  209. package/dist/utils/github-releases.js +1 -1
  210. package/dist/utils/global-cache.js +1 -1
  211. package/dist/utils/json-loader.js +1 -1
  212. package/dist/utils/local-cache.js +1 -1
  213. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  214. package/dist/utils/logger/formatters/index.js +1 -1
  215. package/dist/utils/logger/handlers/console-handler.js +1 -1
  216. package/dist/utils/logger/handlers/file-handler.js +1 -1
  217. package/dist/utils/logger/handlers/index.js +1 -1
  218. package/dist/utils/logger/handlers/null-handler.js +1 -1
  219. package/dist/utils/logger/index.js +1 -1
  220. package/dist/utils/logger/logger.js +1 -1
  221. package/dist/utils/logger/types.js +1 -1
  222. package/dist/utils/option-validation.js +1 -1
  223. package/dist/utils/process.js +1 -1
  224. package/dist/utils/prompt.js +1 -1
  225. package/dist/utils/spinner.js +1 -1
  226. package/dist/utils/sse-parser.js +1 -1
  227. package/dist/utils/string-utils.js +1 -1
  228. package/dist/utils/table-ref-parser.js +1 -1
  229. package/dist/utils/tdx-logger.js +1 -1
  230. package/dist/utils/version-check.js +1 -1
  231. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1 +1 @@
1
- const a2_0x390c59=a2_0x452c;(function(_0x4d2e59,_0x3404ce){const _0x134970=a2_0x452c,_0x11087f=_0x4d2e59();while(!![]){try{const _0x219d24=parseInt(_0x134970(0x280))/0x1*(-parseInt(_0x134970(0x401))/0x2)+-parseInt(_0x134970(0x3b0))/0x3*(-parseInt(_0x134970(0x28d))/0x4)+-parseInt(_0x134970(0x3db))/0x5+-parseInt(_0x134970(0x15b))/0x6*(parseInt(_0x134970(0x376))/0x7)+parseInt(_0x134970(0x1ca))/0x8*(-parseInt(_0x134970(0x377))/0x9)+-parseInt(_0x134970(0x25b))/0xa+parseInt(_0x134970(0x3a7))/0xb;if(_0x219d24===_0x3404ce)break;else _0x11087f['push'](_0x11087f['shift']());}catch(_0x460cc2){_0x11087f['push'](_0x11087f['shift']());}}}(a2_0x21d8,0xde964));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,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';function a2_0x21d8(){const _0x35ab8f=['Timezone\x20for\x20cron','us01','Project\x20description','use\x20[resource]\x20[value]','length','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','--num\x20<1-10>','commandDescription','item','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','resume\x20<name-or-id>','tsv','delivery','--type\x20<type>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','\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','Ending\x20offset\x20(default:\x2020)','push','--verbose','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','--max-depth\x20<depth>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','show\x20<personalization_id>','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','Update\x20an\x20email\x20template','journey','Kill\x20a\x20job','delete\x20<project-name-or-id>','--body\x20<body>','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','Update\x20a\x20workspace','-r,\x20--recursive','Add\x20behaviors\x20from\x20JSON\x20file','Revision\x20name\x20(default:\x20timestamp)','Enable\x20verbose\x20logging','patch\x20<personalization_id>','Interactive\x20chat\x20selector','fields\x20[name]','Create\x20a\x20new\x20campaign','use\x20<name>','[action]','Personalization\x20service\x20token\x20management','--name\x20<new_name>','update\x20<name>','Clear\x20session\x20context','journeys\x20[pattern]','create\x20<name>\x20[parent_segment]','Parent\x20folder\x20name\x20for\x20nested\x20folders','list\x20[name]','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','workflows\x20[project]','update\x20<service_id>\x20[parent_segment]','--interval\x20<range>','status','Workflow\x20parameter\x20(repeatable)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','forEach','project','describe','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','resume_activations\x20<journeyId>','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)','--temperature\x20<n>','repeat','versions\x20<name-or-path>','validate\x20[file]','pull\x20[name]','parse','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Campaign\x20name','test\x20[path]','-n,\x20--name\x20<name>','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','--description\x20<text>','Priority\x20(critical,\x20high,\x20medium,\x20low)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','--enriched','slice','--to\x20<n>','--next','Save\x20output\x20to\x20file','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','after','pause_activations\x20<journeyId>','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','Start\x20a\x20new\x20chat\x20session','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','filter','CDP\x20Journey\x20Orchestration\x20commands','submit\x20[query]','Workspace\x20description','Pull\x20specific\x20revision\x20(default:\x20latest)','upgrade','Override\x20project\x20name','0.7','--kind\x20<kind>','show\x20<policy>','isTTY','connection','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','--days\x20<n>','Delay\x20in\x20seconds\x20before\x20execution','validate\x20[name]','agents\x20[pattern]','--parent-folder\x20<name>','Parent\x20segment\x20management','--yes','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','always-on-campaign','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','Preview\x20changes\x20without\x20pushing','--system-prompt\x20<text>','describe\x20[table]','21xjCpWN','3467277slMIHX','--parent-segment\x20<name>','--from\x20<timestamp>','api\x20[endpoint]','-a,\x20--agent\x20<name>','--tsv','List\x20available\x20connector\x20types','Sections\x20as\x20an\x20inline\x20JSON\x20array','Database\x20management\x20commands','Assignee','remove\x20<name>','--plaintext\x20<text>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','use\x20<project-name>','view\x20[name]','--attempt-id\x20<id>','list\x20[project]','Token\x20description','entries','List\x20activations\x20for\x20a\x20journey','\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a','Show\x20journey\x20details','--no-eval','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','usage','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','\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','-f,\x20--force','view\x20[segment_name]','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Include\x20retried\x20attempts','fields\x20[parent_name]','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','--model\x20<name>','Show\x20email\x20template\x20details','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Job\x20priority\x20(-2\x20to\x202)','--timezone\x20<tz>','create\x20<name>','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a','argv','Agent\x20prompt/instructions','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','--trace','Database\x20name','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Follow/watch\x20timeline\x20for\x20running\x20attempts','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','45195040LiVxci','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','retry\x20<session-id>','Validate\x20template\x20YAML\x20files\x20locally','set\x20<args...>','auth','list\x20[path]','3103107Oieudp','--sections\x20<json>','Get\x20job\x20results','list','pull\x20[workspace]','create\x20<parent_name>\x20<folder_name>','Folder\x20description','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','configureHelp','kill\x20<job-id>','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Database\x20to\x20query\x20(default:\x20information_schema)','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','--prompt\x20<text>','Set\x20a\x20profile\x20configuration\x20value','Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)','Database\x20name\x20(required)','Skip\x20confirmation\x20prompt','action','buildTime','Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document','Arguments:','Pull\x20child\x20segments\x20to\x20YAML\x20files','--session-time\x20<time>','chats','--to\x20<timestamp>','list\x20[pattern]','Delete\x20a\x20realtime\x20personalization','CDP\x20segment\x20management\x20commands','unset\x20<resource>','Timezone\x20(e.g.,\x20America/Los_Angeles)','-1d','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Skip\x20validation\x20of\x20.dig\x20files','delete\x20<name-or-id>','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Name\x20for\x20the\x20new\x20project\x20(required)','desc\x20[name]','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','list\x20[audience_name]','4369400vZLUlL','Show\x20authentication\x20status\x20and\x20current\x20context','replace','--from-task\x20<task>','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','stringify','Resume\x20activations\x20in\x20an\x20RT\x20journey','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','Remove\x20API\x20key\x20from\x20system\x20keychain','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Continue\x20most\x20recent\x20conversation','Template\x20name','_hidden','folder','links\x20<name>','Set\x20operation\x20timeout\x20in\x20seconds','Delivery\x20operations\x20(email\x20senders)','--method\x20<pm>','--limit\x20<n>','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','--jsonl','--agent\x20<ref>','[task-name]','--table\x20<table>','upgrade\x20[version]','-c,\x20--continue','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','update\x20<agent-name>','job','outputHelp','Output\x20file\x20path','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','timeline\x20[project.workflow]','-w,\x20--web','setup','3698XDEPtE','Create\x20an\x20email\x20template','Show\x20the\x20most\x20recent\x20chat','alias','opts','connections','projects\x20[pattern]','set','Manage\x20workflow\x20project\x20secrets','Output\x20as\x20JSON','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--json-columns\x20<cols>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Workspace\x20name','Delete\x20a\x20workspace','tdx','Pause\x20activations\x20in\x20an\x20RT\x20journey','Pull\x20templates\x20to\x20YAML\x20files','Show\x20schedule\x20details','--json','Personalization\x20description','Service\x20description','Resume\x20a\x20paused\x20journey','Update\x20a\x20realtime\x20personalization\x20entity','Agent\x20description','attempt','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','option','create','Composable\x20segment\x20commands','Open\x20segment\x20in\x20web\x20browser','user','--stream','login','List\x20journeys\x20(alias\x20for\x20journey\x20list)','parents\x20[pattern]','Task\x20name\x20for\x20logs\x20action','history\x20[chat-id]','templates\x20[pattern]','show\x20<job-id>','-X,\x20--method\x20<method>','Check\x20for\x20updates\x20without\x20installing','tables\x20[pattern]','--engine-version\x20<version>','argument','--default','join','New\x20template\x20name','--follow','includes','error','--add-behaviors-file\x20<file>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Workspace\x20name\x20(required)','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','commandUsage','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','use\x20[name]','gitRevision','--param\x20<key=value>','List\x20available\x20LLM\x20models','template','Reason\x20for\x20killing\x20the\x20attempt','split','Campaign\x20type\x20(email\x20or\x20push)','tdx\x20','Include\x20raw\x20history\x20data\x20in\x20output','claude\x20[args...]','Maximum\x20rows\x20to\x20display','Email\x20subject\x20template','delete\x20<name>','--limit\x20<rows>','Show\x20campaign\x20details','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Usage:\x20','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','workspaces\x20[pattern]','colorFn','Result\x20output\x20destination\x20URL','Limit\x20number\x20of\x20rows','variadic','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','optionDescription','--catalog\x20<catalog>','Create\x20a\x20scheduled\x20query','Parse\x20and\x20validate\x20without\x20executing','Query\x20engine\x20version','update\x20<segment_name>','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','--stage\x20<name>','Show\x20segment\x20details\x20(alias\x20for\x20view)','Add\x20attributes\x20from\x20JSON\x20file','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Create\x20a\x20new\x20profile','senders\x20[pattern]','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','accessToken','--no-color','Read\x20request\x20body\x20from\x20file','long','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','Push\x20YAML\x20files\x20to\x20CAS\x20API','update\x20<name-or-id>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','required','Update\x20a\x20campaign','allowExcessArguments','Personalization\x20name','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Commands:','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','delete\x20<token_id>\x20[parent_segment]','Starting\x20offset\x20(default:\x200)','HTML\x20template\x20content','--no-proxy','requiredOption','--delay\x20<seconds>','Move\x20to\x20folder','--params\x20<json>','run\x20[name]','--output\x20<file>','Workflow\x20project\x20management','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','show\x20<agent-name>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','-d,\x20--database\x20<db>','--name\x20<new-name>','parent-segment','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Submit\x20a\x20job','validate\x20[target]','Show\x20all\x20files\x20including\x20valid\x20ones','Resume\x20from\x20specific\x20task\x20(retry)','--folder\x20<name>','Show\x20items\x20updated\x20within\x20N\x20days','secrets','--include-stats','--schedule-option\x20<value>','--format\x20<format>','move\x20<name>\x20<status>','-d,\x20--database\x20<database>','create\x20<name-or-path>','Delete\x20a\x20scheduled\x20query','pull\x20[parent_or_file]','Transition\x20a\x20task\x20to\x20a\x20new\x20status','2260878luFPMe','options','Run\x20specific\x20tests\x20(comma-separated)','New\x20segment\x20name','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','--version','Enable\x20UTM\x20tracking','Pull\x20workflow\x20project\x20to\x20local\x20folder','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','--all','desc\x20[segment_name]','Retry\x20limit\x20(0\x20to\x2032)','stats\x20<name-or-path>','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--attributes-file\x20<file>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','backup\x20<name>','--reeval','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','--file\x20<path>','Workflow\x20attempt\x20management','Campaign\x20management','List\x20all\x20users\x20in\x20the\x20account','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','summary','--description\x20<desc>','Generate\x20test\x20conversations\x20without\x20evaluation','--name\x20<text>','create\x20[name]','run','...','debug','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','injectIntoOptions','push\x20[target]','--to\x20<date>','kill','Attributes\x20from\x20JSON\x20file','Authentication\x20management','Preview\x20operation\x20without\x20executing','log','--audience-id\x20<id>','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','RT\x20Journey\x20management','cas','Show\x20only\x20master\x20table\x20validation','Update\x20an\x20always-on\x20campaign','aliases','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','resume\x20<name-or-path>','history\x20<name>','--attribute\x20[name]','Show\x20workspace\x20details','--dry-run','Initial\x20status','Export\x20journey(s)\x20as\x20YAML\x20files','-r,\x20--resume','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','statusline','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Open\x20a\x20document\x20in\x20$EDITOR','log\x20<chat-id>','Preview\x20without\x20creating\x20the\x20project','Cron\x20expression\x20for\x20scheduling','Skip\x20confirmation\x20prompts','Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Parent\x20segment\x20description','[DEPRECATED]\x20Segment\x20folder\x20management','--new','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','\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','--help','schedule','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','show\x20<name-or-id>','Timezone\x20for\x20cron\x20(default:\x20UTC)','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','--html\x20<html>','List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Push\x20without\x20confirmation','Resume\x20a\x20conversation\x20(shows\x20selector)','--include-retried','Directory\x20does\x20not\x20exist:\x20','--account-name\x20<name>','Table\x20management\x20commands','--color','Finish\x20an\x20always-on\x20campaign','--cron\x20<expression>','--from\x20<n>','-u,\x20--use','--limit\x20<number>','List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','chdir','--chat-id\x20<id>','new\x20<title>','Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel','engage_workspace','Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)','--rule-file\x20<file>','Show\x20always-on\x20campaign\x20details','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey','Show\x20master\x20table\x20sample\x20data','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','-H,\x20--header\x20<header>','8nfhHFu','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','run\x20<name>','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--job-type\x20<type>','segment','isDirectory','--last','delete\x20<agent-name>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','models','--dir\x20<dir>','End\x20time\x20filter\x20(ISO\x208601\x20format)','name','YAML\x20file\x20path\x20for\x20unpushed\x20segment','--max-tool-iterations\x20<n>','List\x20jobs','Filtering\x20rule\x20as\x20JSON\x20string','Delete\x20an\x20LLM\x20project','padEnd','push\x20[path]','List\x20all\x20available\x20profiles','--workspace\x20<name>','--include-subtasks','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--site\x20<site>','claude-4.5-sonnet','--status\x20<status>','--add-behaviors\x20<json>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','site','Behaviors\x20from\x20JSON\x20file','System\x20prompt/instructions\x20(default:\x20empty)','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Validate\x20journey\x20YAML\x20files\x20locally','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','jobs','description','columns\x20<name-or-path>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','push\x20[parent_or_file]','workflow','Personalization\x20management','New\x20workspace\x20name','--editor-type\x20<type>','-o,\x20--output\x20<folder>','Agent\x20name','Make\x20service\x20public\x20(default:\x20private)','User\x20management\x20commands','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Duplicate\x20a\x20campaign','Show\x20journey\x20table\x20column-to-step\x20mapping','Show\x20schedule\x20execution\x20history','table','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','launch\x20<name-or-id>','--email-sender-id\x20<id>','Delete\x20an\x20email\x20template','--database\x20<db>','--debug','push\x20[name]','campaign','tasks','configuration_versions\x20[name]','AI-native\x20CLI\x20for\x20Treasure\x20Data','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','use\x20[project]','Email\x20sender\x20ID\x20for\x20delivery','pause\x20<name-or-id>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','Read\x20HTML\x20template\x20from\x20file','Options:','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','--add-attributes\x20<json>','AI-native\x20work\x20management','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','Name\x20for\x20the\x20duplicated\x20campaign','addHelpText','New\x20service\x20description','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','use\x20<path>','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','argumentTerm','Show\x20document\x20details','pull\x20[workspace-name]','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','Show\x20a\x20specific\x20realtime\x20personalization','init\x20[name]','--session-id\x20<id>','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','delete\x20<args...>','subcommandTerm','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','Delete\x20a\x20profile','Open\x20journey\x20in\x20web\x20browser','Trino\x20catalog\x20(default:\x20td)','schema\x20<type>','show\x20[name]','Show\x20stats\x20for\x20specific\x20stage','List\x20all\x20versions\x20of\x20a\x20journey','Show\x20job\x20details','Run\x20tests\x20for\x20an\x20LLM\x20agent','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','Request\x20body\x20as\x20JSON\x20string','--rule\x20<json>','Access\x20control\x20policy\x20commands','--resume-from\x20<task>','Job\x20management\x20commands','Update\x20an\x20existing\x20agent','Add\x20behaviors\x20as\x20JSON\x20string','--kind\x20<type>','workspace','--revision\x20<revision>','traffic\x20<name-or-path>','List\x20composable\x20segments\x20for\x20an\x20audience','--audience\x20<name>','--name\x20<names>','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)','attempt:','engage','Make\x20segment\x20invisible\x20(default:\x20visible)','Add\x20attributes\x20as\x20JSON\x20string','session','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','hook','--llm-project\x20<name>','desc','Output\x20directory','directory','profile','Create\x20a\x20new\x20always-on\x20campaign','--tags\x20<tags>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','Create\x20segment\x20folder','show\x20<service_id>\x20[parent_segment]','5178370JUhXXv','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Workflow\x20(Digdag)\x20management\x20commands','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','--skip-validation','help','Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','Starter\x20message','Customer\x20group\x20from\x20JSON\x20file','--master','--from\x20<date>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--template\x20<name>','Include\x20retried\x20attempts\x20(for\x20list)','pause\x20<name-or-path>','apiKey','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','Behaviors\x20as\x20JSON\x20string',',\x20version\x20','Output\x20as\x20JSON\x20Lines','--include-history','--invisible','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','map','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','-C,\x20--directory\x20<path>','-y,\x20--yes','-o,\x20--output\x20<file>','Workflow\x20session\x20management','LLM\x20agent\x20management','Database\x20name\x20(default:\x20information_schema)','show\x20<name>','Attempt\x20ID','Show\x20Kanban\x20board\x20view\x20of\x20tasks','716kSMFhJ','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','New\x20campaign\x20name','registeredArguments','--reason\x20<text>','Comma-separated\x20tags','Journey\x20version\x20management','--starter-message\x20<text>','find','Create\x20a\x20new\x20document','jsonl','json','Initialize\x20a\x20new\x20workspace','4Rcdkuk','subcommandDescription','always-on-campaigns\x20[pattern]','Apply\x20a\x20template','duplicate\x20<name-or-id>','Run\x20Trino\x20query\x20with\x20streaming\x20results','INFO','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Preview\x20composable\x20segment\x20query\x20on\x20CDW','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Target\x20directory\x20for\x20YAML\x20files','Show\x20journey\x20statistics','--in\x20<database>','then','New\x20service\x20name','command','database','GET','push\x20[file]','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','\x20(resolved\x20to\x20','logLevel','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','create\x20<name>\x20<service_id>\x20[parent_segment]','get','--behavior\x20[name]','Updated\x20description','--name\x20<name>','format','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Output\x20file\x20path\x20(default:\x20<name>.yml)','allowUnknownOption','--segment\x20<path>','users','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','List\x20all\x20data\x20connections','Overwrite\x20local\x20changes\x20without\x20confirmation','Force\x20retry\x20even\x20if\x20not\x20failed','\x22.\x20Must\x20be\x20a\x20number.','--session\x20<id>','RT\x202.0\x20configuration\x20management','hidden','-o,\x20--output\x20<dir>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Data\x20connection\x20management\x20(for\x20activations/exports)','Show\x20segment\x20schema\x20(column\x20types)','Filtering\x20rule\x20from\x20JSON\x20file','info\x20[segment_name]','sql\x20[name]','show\x20<folder_ref>','Custom\x20revision\x20name\x20(default:\x20timestamp)','Invalid\x20editor\x20type:\x20','--start-at\x20<datetime>','Master\x20database\x20name','finish\x20<name-or-id>','service','--full','open\x20<name>','result\x20<job-id>','--schedule-type\x20<type>','List\x20journeys\x20in\x20current\x20context','llm','--in\x20<db>','--customer-group\x20<json>','INVALID_ARGUMENT','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--html-file\x20<path>','segments\x20[path]','Pause\x20an\x20always-on\x20campaign','Read\x20query\x20from\x20file','Create\x20a\x20new\x20LLM\x20project','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Change\x20to\x20directory\x20before\x20executing\x20command','Campaign\x20description','--enable-utm-tracking','--type\x20<api_type>','preview\x20[name]','Personalization\x20service\x20management','trino','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','commands','mcp','Update\x20a\x20scheduled\x20query','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','--clear','view\x20<name-or-path>','activations\x20<name-or-path>','set\x20<key=value>','Query\x20type:\x20trino\x20or\x20hive','--folder-id\x20<id>','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','pull\x20[project]\x20[agent-name]','Updated\x20schedule\x20option','Pause\x20a\x20campaign','query\x20[sql]','-f,\x20--file\x20<path>','Describe\x20table\x20schema','pull\x20<project>\x20[target-dir]','Maximum\x20tool\x20iterations\x20(default:\x204)','-p,\x20--profile\x20<name>','Delete\x20a\x20campaign','--priority\x20<-2~2>','Resume\x20a\x20paused\x20campaign','Show\x20timeline\x20for\x20specific\x20attempt','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)'];a2_0x21d8=function(){return _0x35ab8f;};return a2_0x21d8();}import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,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{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x390c59(0x39f)][a2_0x390c59(0x432)](a2_0x390c59(0x160))){let versionOutput=a2_0x390c59(0x443)+currentVersion;buildInfo[a2_0x390c59(0x43c)]&&!currentVersion[a2_0x390c59(0x432)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo[a2_0x390c59(0x3c4)]&&(versionOutput+='\x20-\x20built\x20'+buildInfo[a2_0x390c59(0x3c4)]),console[a2_0x390c59(0x186)](versionOutput),process['exit'](0x0);}const program=new Command();export function mergeCommandOptions(_0x48ab31,_0x294791){const _0x474821=a2_0x390c59,_0x111e4b={..._0x48ab31};for(const [_0x40401a,_0x4f011f]of Object[_0x474821(0x389)](_0x294791)){_0x4f011f!==undefined&&(_0x111e4b[_0x40401a]=_0x4f011f);}return _0x111e4b;}let showBriefHelp=![],description=a2_0x390c59(0x20f);buildInfo[a2_0x390c59(0x43c)]&&!currentVersion[a2_0x390c59(0x432)](buildInfo['gitRevision'])?description+=a2_0x390c59(0x26e)+currentVersion+'\x20('+buildInfo[a2_0x390c59(0x43c)]+')':description+=a2_0x390c59(0x26e)+currentVersion;program[a2_0x390c59(0x1d8)](a2_0x390c59(0x410))['description'](description),program[a2_0x390c59(0x41c)](a2_0x390c59(0x277),a2_0x390c59(0x2d9))[a2_0x390c59(0x41c)](a2_0x390c59(0x2f4),a2_0x390c59(0x370))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e4),a2_0x390c59(0x205),a2_0x390c59(0x2fb))[a2_0x390c59(0x41c)](a2_0x390c59(0x154),a2_0x390c59(0x38e))[a2_0x390c59(0x41c)]('--table',a2_0x390c59(0x3e4))[a2_0x390c59(0x41c)](a2_0x390c59(0x414),a2_0x390c59(0x1d4))[a2_0x390c59(0x41c)]('--jsonl',a2_0x390c59(0x33d))['option'](a2_0x390c59(0x37c),a2_0x390c59(0x25c))['option'](a2_0x390c59(0x141),a2_0x390c59(0x352))['option'](a2_0x390c59(0x1ba),a2_0x390c59(0x3a6))[a2_0x390c59(0x41c)](a2_0x390c59(0x1b5),a2_0x390c59(0x1c7),![])[a2_0x390c59(0x41c)](a2_0x390c59(0x12a),a2_0x390c59(0x3a1),![])[a2_0x390c59(0x41c)]('-v,\x20--verbose',a2_0x390c59(0x31e),![])[a2_0x390c59(0x41c)](a2_0x390c59(0x20a),a2_0x390c59(0x354))[a2_0x390c59(0x41c)](a2_0x390c59(0x3a2),a2_0x390c59(0x346))[a2_0x390c59(0x41c)]('--timeout\x20<seconds>',a2_0x390c59(0x3ec),'30')[a2_0x390c59(0x41c)]('--dry-run',a2_0x390c59(0x185),![])[a2_0x390c59(0x41c)](a2_0x390c59(0x278),a2_0x390c59(0x19e),![])[a2_0x390c59(0x41c)](a2_0x390c59(0x2b7),a2_0x390c59(0x33e))[a2_0x390c59(0x41c)](a2_0x390c59(0x378),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a2_0x390c59(0x41c)](a2_0x390c59(0x250),a2_0x390c59(0x16c)),program[a2_0x390c59(0x3b9)]({'formatHelp':(_0x1dbf03,_0x4f1aac)=>{const _0x5bfef8=a2_0x390c59,_0x215062=_0x4f1aac['padWidth'](_0x1dbf03,_0x4f1aac),_0x3d22a6=0x2,_0x134b78=0x2;function _0x1501b4(_0x441921){const _0x5e9113=a2_0x452c,_0x5b3161=_0x441921;return!!(_0x5b3161[_0x5e9113(0x3e9)]||_0x5b3161[_0x5e9113(0x2b9)]);}function _0x41133d(_0x279921,_0x34eaf0){const _0x56bd6c=a2_0x452c;if(_0x34eaf0){const _0x272866=''+_0x279921[_0x56bd6c(0x1de)](_0x215062+_0x134b78)+_0x34eaf0;return _0x272866;}return _0x279921;}function _0x3f27c0(_0x47ca47){const _0x53ad98=a2_0x452c;return _0x47ca47[_0x53ad98(0x42f)]('\x0a')[_0x53ad98(0x3dd)](/^/gm,'\x20'[_0x53ad98(0x341)](_0x3d22a6));}const _0x5d3c7b=[];_0x5d3c7b[_0x5bfef8(0x30c)](_0x5bfef8(0x44e)+_0x4f1aac[_0x5bfef8(0x439)](_0x1dbf03));const _0x318c80=_0x4f1aac[_0x5bfef8(0x301)](_0x1dbf03);_0x318c80&&(_0x5d3c7b['push'](''),_0x5d3c7b[_0x5bfef8(0x30c)](_0x318c80));const _0x44d127=_0x1dbf03[_0x5bfef8(0x2e1)]['filter'](_0x4c2734=>!_0x1501b4(_0x4c2734));if(_0x44d127[_0x5bfef8(0x2fe)]>0x0){if(_0x1dbf03['name']()===_0x5bfef8(0x410)){const _0x4940cc=_0x1dbf03[_0x5bfef8(0x405)](),_0x8353d9=!_0x4940cc['noColor']&&process['stdout']['isTTY'],_0x1aeed9=COMMAND_CATEGORIES,_0x415418=(_0x23b872,_0x55b6e0)=>_0x8353d9?_0x55b6e0(_0x23b872):_0x23b872,_0x52cdcd=new Map();_0x44d127[_0x5bfef8(0x336)](_0x58a6e1=>{const _0x114cb7=_0x5bfef8;_0x52cdcd[_0x114cb7(0x408)](_0x58a6e1[_0x114cb7(0x1d8)](),_0x58a6e1);}),_0x1aeed9[_0x5bfef8(0x336)](_0x56913f=>{const _0x209c1b=_0x5bfef8,_0x558574=_0x56913f[_0x209c1b(0x2e1)]['flatMap'](_0x30a965=>_0x52cdcd[_0x209c1b(0x2a8)](_0x30a965)??[]);if(_0x558574[_0x209c1b(0x2fe)]>0x0){_0x5d3c7b[_0x209c1b(0x30c)](''),_0x5d3c7b['push'](_0x415418(_0x56913f[_0x209c1b(0x1d8)]+':',_0x56913f[_0x209c1b(0x452)]));const _0x432567=_0x558574[_0x209c1b(0x275)](_0x1a8c0c=>{const _0x4bb585=_0x209c1b,_0x1ebc56=_0x4f1aac[_0x4bb585(0x22c)](_0x1a8c0c),_0x9f0582=_0x4f1aac[_0x4bb585(0x28e)](_0x1a8c0c);return _0x41133d(_0x1ebc56,_0x9f0582);});_0x5d3c7b[_0x209c1b(0x30c)](_0x3f27c0(_0x432567));}}),_0x5d3c7b['push'](''),_0x5d3c7b['push']('Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22');}else{const _0x572d4d=_0x44d127[_0x5bfef8(0x275)](_0x28dd7a=>{const _0x2bbaca=_0x5bfef8,_0x165344=_0x4f1aac[_0x2bbaca(0x22c)](_0x28dd7a),_0x53a382=_0x4f1aac[_0x2bbaca(0x28e)](_0x28dd7a);return _0x41133d(_0x165344,_0x53a382);});_0x5d3c7b[_0x5bfef8(0x30c)](''),_0x5d3c7b[_0x5bfef8(0x30c)](_0x5bfef8(0x136)),_0x5d3c7b['push'](_0x3f27c0(_0x572d4d));}}if(showBriefHelp&&_0x1dbf03[_0x5bfef8(0x1d8)]()==='tdx')_0x5d3c7b[_0x5bfef8(0x30c)](''),_0x5d3c7b[_0x5bfef8(0x30c)](_0x5bfef8(0x188));else{const _0x1f7223=_0x1dbf03[_0x5bfef8(0x15c)][_0x5bfef8(0x35b)](_0x115599=>!_0x1501b4(_0x115599));if(_0x1f7223['length']>0x0){const _0x2b8f5a=_0x1f7223['map'](_0x770cd4=>{const _0x5c2589=_0x5bfef8,_0x20ac28=_0x4f1aac['optionTerm'](_0x770cd4),_0x19dafa=_0x4f1aac[_0x5c2589(0x457)](_0x770cd4);return _0x41133d(_0x20ac28,_0x19dafa);});_0x5d3c7b['push'](''),_0x5d3c7b[_0x5bfef8(0x30c)](_0x5bfef8(0x217)),_0x5d3c7b['push'](_0x3f27c0(_0x2b8f5a));}}const _0x478267=(_0x1dbf03['registeredArguments']||[])[_0x5bfef8(0x35b)](_0x5c3527=>!_0x1501b4(_0x5c3527));if(_0x478267[_0x5bfef8(0x2fe)]>0x0){const _0x31f8de=_0x478267[_0x5bfef8(0x275)](_0x3d9dfc=>{const _0x4f73c3=_0x5bfef8,_0x82a575=_0x4f1aac[_0x4f73c3(0x223)](_0x3d9dfc),_0x1e04c8=_0x4f1aac['argumentDescription'](_0x3d9dfc);return _0x41133d(_0x82a575,_0x1e04c8);});_0x5d3c7b[_0x5bfef8(0x30c)](''),_0x5d3c7b[_0x5bfef8(0x30c)](_0x5bfef8(0x3c6)),_0x5d3c7b[_0x5bfef8(0x30c)](_0x3f27c0(_0x31f8de));}return _0x5d3c7b[_0x5bfef8(0x42f)]('\x0a')+'\x0a';},'subcommandTerm':_0x9a52b6=>{const _0x15cddc=a2_0x390c59,_0x263d5b=(_0x9a52b6[_0x15cddc(0x283)]||[])[_0x15cddc(0x275)](_0x567c6b=>_0x567c6b[_0x15cddc(0x131)]?'<'+_0x567c6b[_0x15cddc(0x1d8)]()+'>':'['+_0x567c6b[_0x15cddc(0x1d8)]()+']')[_0x15cddc(0x42f)]('\x20'),_0x2221f5=_0x9a52b6[_0x15cddc(0x18d)](),_0x58364d=_0x2221f5[_0x15cddc(0x2fe)]>0x0?_0x9a52b6[_0x15cddc(0x1d8)]()+',\x20'+_0x2221f5['join'](',\x20'):_0x9a52b6[_0x15cddc(0x1d8)]();return _0x263d5b?_0x58364d+'\x20'+_0x263d5b:_0x58364d;}}),program[a2_0x390c59(0x24f)]('preAction',_0x13a907=>{const _0x51005f=a2_0x390c59,_0x29df6c=_0x13a907[_0x51005f(0x405)]();if(_0x29df6c[_0x51005f(0x253)]){const _0x3f85de=resolve(_0x29df6c[_0x51005f(0x253)]),_0x502c1f=_0x3f85de!==_0x29df6c[_0x51005f(0x253)]?_0x51005f(0x2a4)+_0x3f85de+')':'';if(!existsSync(_0x3f85de))throw new SDKError(ErrorCode[_0x51005f(0x2d0)],_0x51005f(0x1b2)+_0x29df6c['directory']+_0x502c1f,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x2e68de=statSync(_0x3f85de);if(!_0x2e68de[_0x51005f(0x1d1)]())throw new SDKError(ErrorCode['INVALID_ARGUMENT'],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x29df6c[_0x51005f(0x253)]+_0x502c1f,undefined,{'helpText':_0x51005f(0x299)});process[_0x51005f(0x1bc)](_0x3f85de);}if(!_0x29df6c[_0x51005f(0x2ac)]){if(_0x29df6c[_0x51005f(0x203)])_0x29df6c['format']=_0x51005f(0x203);else{if(_0x29df6c[_0x51005f(0x28b)])_0x29df6c[_0x51005f(0x2ac)]=_0x51005f(0x28b);else{if(_0x29df6c[_0x51005f(0x28a)])_0x29df6c[_0x51005f(0x2ac)]=_0x51005f(0x28a);else _0x29df6c[_0x51005f(0x305)]&&(_0x29df6c[_0x51005f(0x2ac)]='tsv');}}}if(_0x29df6c['trace'])_0x29df6c[_0x51005f(0x2a5)]=LogLevel['TRACE'];else{if(_0x29df6c[_0x51005f(0x17d)])_0x29df6c[_0x51005f(0x2a5)]=LogLevel['DEBUG'];else _0x29df6c[_0x51005f(0x2a5)]===undefined&&(_0x29df6c[_0x51005f(0x2a5)]=LogLevel[_0x51005f(0x293)]);}});async function createTDXInstance(_0x273b57){const _0x1429eb=a2_0x390c59,_0x760517=await GlobalContext['createAsync'](_0x273b57);_0x760517[_0x1429eb(0x17f)](_0x273b57);const _0x50e03b=Number(_0x273b57['timeout']),_0x205514=!isNaN(_0x50e03b)&&_0x50e03b>0x0?_0x50e03b*0x3e8:undefined;return TDX[_0x1429eb(0x41d)]({'site':_0x760517[_0x1429eb(0x1e9)],'apiKey':_0x760517[_0x1429eb(0x26b)],'accessToken':_0x760517[_0x1429eb(0x129)],'logLevel':_0x760517['logLevel'],'profile':_0x760517[_0x1429eb(0x254)],'timeout':_0x205514});}const databaseCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x2a0))[a2_0x390c59(0x404)]('db')[a2_0x390c59(0x1f2)](a2_0x390c59(0x37f)),databaseListAction=async(_0x5d3e4c,_0x3fa933)=>{const _0x3366fe=a2_0x390c59,_0xe4fdb=new DatabasesCommand(),_0x56b592=program[_0x3366fe(0x405)](),_0x3932d0=await createTDXInstance(_0x56b592),_0x47697e=await _0xe4fdb['run']({'options':{..._0x56b592,..._0x3fa933},'args':_0x5d3e4c?[_0x5d3e4c]:[],'tdx':_0x3932d0});gracefulExit(_0x47697e);};databaseCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3cb))[a2_0x390c59(0x1f2)](a2_0x390c59(0x22a))['action'](databaseListAction),program[a2_0x390c59(0x29f)]('databases\x20[pattern]',{'hidden':!![]})['description'](a2_0x390c59(0x12d))['action'](databaseListAction),program[a2_0x390c59(0x29f)]('chat\x20[message...]')['description'](a2_0x390c59(0x318))[a2_0x390c59(0x41c)](a2_0x390c59(0x3f2),'Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)')[a2_0x390c59(0x41c)](a2_0x390c59(0x1a2),a2_0x390c59(0x358))[a2_0x390c59(0x41c)](a2_0x390c59(0x1bd),a2_0x390c59(0x17e))[a2_0x390c59(0x41c)](a2_0x390c59(0x421),a2_0x390c59(0x298))[a2_0x390c59(0x3c3)](async(_0x15f30b,_0x3d6e4b)=>{const _0xf5fdf1=a2_0x390c59,_0x47d2d7=program[_0xf5fdf1(0x405)](),_0x23ad74=await createTDXInstance(_0x47d2d7);if(_0x15f30b[0x0]===_0xf5fdf1(0x41d)){const _0x4a3085=new ChatCreateCommand();gracefulExit(await _0x4a3085[_0xf5fdf1(0x17b)]({'options':{..._0x47d2d7,..._0x3d6e4b},'args':_0x15f30b[_0xf5fdf1(0x34f)](0x1),'tdx':_0x23ad74}));return;}const _0x54708c=new ChatCommand(),_0x497fdb=await _0x54708c[_0xf5fdf1(0x17b)]({'options':{..._0x47d2d7,..._0x3d6e4b},'args':_0x15f30b,'tdx':_0x23ad74});gracefulExit(_0x497fdb);});const apiCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x37a))[a2_0x390c59(0x176)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a2_0x390c59(0x21d)](a2_0x390c59(0x355),a2_0x390c59(0x38b))[a2_0x390c59(0x41c)](a2_0x390c59(0x429),a2_0x390c59(0x43a),a2_0x390c59(0x2a1))[a2_0x390c59(0x41c)]('--data\x20<data>',a2_0x390c59(0x238))['option'](a2_0x390c59(0x2f0),a2_0x390c59(0x12b))['option'](a2_0x390c59(0x1c9),a2_0x390c59(0x353),(_0x116090,_0x48e037)=>{return _0x48e037?[..._0x48e037,_0x116090]:[_0x116090];})[a2_0x390c59(0x41c)](a2_0x390c59(0x2dc),a2_0x390c59(0x16b),'td')[a2_0x390c59(0x3c3)](async(_0x24d641,_0x20f894)=>{const _0x4e2c72=a2_0x390c59;if(!_0x24d641){apiCmd[_0x4e2c72(0x260)]();return;}const _0x25b0f4=new ApiCommand(),_0x586315=program[_0x4e2c72(0x405)](),_0x486ef3=await createTDXInstance(_0x586315),_0x2e2d3d=await _0x25b0f4[_0x4e2c72(0x17b)]({'options':{..._0x586315,..._0x20f894},'args':[_0x24d641],'tdx':_0x486ef3});gracefulExit(_0x2e2d3d);});program[a2_0x390c59(0x29f)](a2_0x390c59(0x2e2))['description'](a2_0x390c59(0x2bb))['addHelpText'](a2_0x390c59(0x355),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x390c59(0x3c3)](async _0x214713=>{const _0x50a4f3=a2_0x390c59,_0x5a66d=new MCPCommand(),_0x15c87a=program['opts'](),_0x2c0822=await createTDXInstance(_0x15c87a),_0x575e9b=await _0x5a66d[_0x50a4f3(0x17b)]({'options':{..._0x15c87a,..._0x214713},'args':[],'tdx':_0x2c0822});gracefulExit(_0x575e9b);});const tableCmd=program[a2_0x390c59(0x29f)]('table')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1b4)),tableListAction=async(_0x748991,_0xd4a9f8)=>{const _0x40a43a=a2_0x390c59,_0x599fd7=new TablesCommand(),_0x37e585=program[_0x40a43a(0x405)](),_0x157397=await createTDXInstance(_0x37e585);_0xd4a9f8['in']&&(_0xd4a9f8['database']=_0xd4a9f8['in']);const _0x565856=await _0x599fd7[_0x40a43a(0x17b)]({'options':{..._0x37e585,..._0xd4a9f8},'args':_0x748991?[_0x748991]:[],'tdx':_0x157397});gracefulExit(_0x565856);};tableCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3cb))[a2_0x390c59(0x1f2)](a2_0x390c59(0x169))[a2_0x390c59(0x41c)](a2_0x390c59(0x156),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')['option']('--in\x20<database>',a2_0x390c59(0x308))[a2_0x390c59(0x3c3)](tableListAction),program[a2_0x390c59(0x29f)](a2_0x390c59(0x42b),{'hidden':!![]})[a2_0x390c59(0x1f2)](a2_0x390c59(0x124))[a2_0x390c59(0x41c)](a2_0x390c59(0x156),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x390c59(0x41c)]('--in\x20<database>',a2_0x390c59(0x308))[a2_0x390c59(0x3c3)](tableListAction),program['command']('show\x20[table]')[a2_0x390c59(0x1f2)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x390c59(0x41c)](a2_0x390c59(0x156),a2_0x390c59(0x34d))[a2_0x390c59(0x41c)](a2_0x390c59(0x29c),a2_0x390c59(0x308))[a2_0x390c59(0x3c3)](async(_0x3bddd5,_0x1e9171)=>{const _0x3b892e=a2_0x390c59,_0x1cceeb=new ShowCommand(),_0x46ec03=program[_0x3b892e(0x405)](),_0x78b25f=await createTDXInstance(_0x46ec03);_0x1e9171['in']&&(_0x1e9171[_0x3b892e(0x2a0)]=_0x1e9171['in']);const _0x2cc94a=await _0x1cceeb['run']({'options':{..._0x46ec03,..._0x1e9171},'args':_0x3bddd5?[_0x3bddd5]:[],'tdx':_0x78b25f});gracefulExit(_0x2cc94a);}),program[a2_0x390c59(0x29f)](a2_0x390c59(0x375))[a2_0x390c59(0x404)](a2_0x390c59(0x251))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2f1))[a2_0x390c59(0x41c)]('-d,\x20--database\x20<database>',a2_0x390c59(0x34d))[a2_0x390c59(0x41c)](a2_0x390c59(0x29c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x390c59(0x3c3)](async(_0x5e6455,_0x58843e)=>{const _0x1ab6b8=a2_0x390c59,_0x1b2cb1=new DescribeCommand(),_0x4c2cc1=program[_0x1ab6b8(0x405)](),_0x3ef345=await createTDXInstance(_0x4c2cc1);_0x58843e['in']&&(_0x58843e[_0x1ab6b8(0x2a0)]=_0x58843e['in']);const _0x47ec27=await _0x1b2cb1[_0x1ab6b8(0x17b)]({'options':{..._0x4c2cc1,..._0x58843e},'args':_0x5e6455?[_0x5e6455]:[],'tdx':_0x3ef345});gracefulExit(_0x47ec27);}),program[a2_0x390c59(0x29f)](a2_0x390c59(0x2ef))[a2_0x390c59(0x1f2)](a2_0x390c59(0x292))['option']('-d,\x20--database\x20<database>',a2_0x390c59(0x3bc))[a2_0x390c59(0x41c)](a2_0x390c59(0x29c),a2_0x390c59(0x308))[a2_0x390c59(0x41c)](a2_0x390c59(0x458),a2_0x390c59(0x230))['option'](a2_0x390c59(0x2f0),'Read\x20SQL\x20query\x20from\x20file')[a2_0x390c59(0x41c)](a2_0x390c59(0x449),a2_0x390c59(0x446))[a2_0x390c59(0x3c3)](async(_0x3c53ee,_0x419eb9)=>{const _0x1fc748=a2_0x390c59,_0x307bfd=new QueryCommand(),_0x211826=program[_0x1fc748(0x405)](),_0x585e3c=await createTDXInstance(_0x211826);_0x419eb9['in']&&(_0x419eb9['database']=_0x419eb9['in']);const _0x234547=await _0x307bfd['run']({'options':mergeCommandOptions(_0x211826,_0x419eb9),'args':_0x3c53ee?[_0x3c53ee]:[],'tdx':_0x585e3c});gracefulExit(_0x234547);});const segmentCmd=program['command'](a2_0x390c59(0x1d0))['alias']('sg')[a2_0x390c59(0x1f2)](a2_0x390c59(0x3cd)),segmentListAction=async(_0x4a4e6a,_0x10fc81)=>{const _0x75a28e=a2_0x390c59,_0x32fd8e=new SegmentsCommand(),_0x33ffc7=program[_0x75a28e(0x405)](),_0x1ee6ef=await createTDXInstance(_0x33ffc7),_0xcd3a2d=await _0x32fd8e['run']({'options':{..._0x33ffc7,..._0x10fc81},'args':_0x4a4e6a?[_0x4a4e6a]:[],'tdx':_0x1ee6ef});gracefulExit(_0xcd3a2d);};segmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3af))['description'](a2_0x390c59(0x3aa))[a2_0x390c59(0x41c)]('-r,\x20--recursive',a2_0x390c59(0x2ad))[a2_0x390c59(0x41c)](a2_0x390c59(0x30f),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x390c59(0x3c3)](segmentListAction),program[a2_0x390c59(0x29f)](a2_0x390c59(0x2d4),{'hidden':!![]})[a2_0x390c59(0x1f2)](a2_0x390c59(0x164))[a2_0x390c59(0x41c)](a2_0x390c59(0x31b),a2_0x390c59(0x2ad))[a2_0x390c59(0x41c)](a2_0x390c59(0x30f),'Maximum\x20recursion\x20depth\x20(default:\x2010)','10')[a2_0x390c59(0x3c3)](segmentListAction),segmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x221),{'hidden':!![]})['description'](a2_0x390c59(0x3b8))['action'](async(_0x4b2858,_0x2d03dc)=>{const _0x1ad74f=a2_0x390c59,_0x185674=new SegmentUseCommand(),_0x17e436=program[_0x1ad74f(0x405)](),_0x5b21f4=await createTDXInstance(_0x17e436),_0x29e173=await _0x185674['run']({'options':{..._0x17e436,..._0x2d03dc},'args':[_0x4b2858],'tdx':_0x5b21f4});gracefulExit(_0x29e173);});const segmentViewAction=async(_0x48e1f2,_0x34a5f0)=>{const _0x383513=a2_0x390c59,_0x9356c1=new SegmentViewCommand(),_0x3342da=program[_0x383513(0x405)](),_0x58112e=await createTDXInstance(_0x3342da),_0x43c62f=await _0x9356c1[_0x383513(0x17b)]({'options':{..._0x3342da,..._0x34a5f0},'args':_0x48e1f2?[_0x48e1f2]:[],'tdx':_0x58112e});gracefulExit(_0x43c62f);};segmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x393))[a2_0x390c59(0x1f2)](a2_0x390c59(0x247))[a2_0x390c59(0x41c)](a2_0x390c59(0x3ff),a2_0x390c59(0x41f))[a2_0x390c59(0x3c3)](segmentViewAction),segmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2bf),{'hidden':!![]})[a2_0x390c59(0x404)](a2_0x390c59(0x338))['option'](a2_0x390c59(0x3ff),'Open\x20segment\x20in\x20web\x20browser')['description'](a2_0x390c59(0x11f))['action'](segmentViewAction),segmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x166))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2bd))['action'](async(_0x5ec39e,_0x423b56)=>{const _0x29207c=a2_0x390c59,_0x274174=new SegmentDescCommand(),_0x13a485=program[_0x29207c(0x405)](),_0x545e6b=await createTDXInstance(_0x13a485),_0x3b76ba=await _0x274174[_0x29207c(0x17b)]({'options':{..._0x13a485,..._0x423b56},'args':_0x5ec39e?[_0x5ec39e]:[],'tdx':_0x545e6b});gracefulExit(_0x3b76ba);}),segmentCmd['command']('show\x20[segment_name]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x456))[a2_0x390c59(0x3c3)](async(_0x4b52f4,_0x75ff59)=>{const _0x217e75=a2_0x390c59,_0x412690=new SegmentShowCommand(),_0x50a5b2=program[_0x217e75(0x405)](),_0x553295=await createTDXInstance(_0x50a5b2),_0x378272=await _0x412690['run']({'options':{..._0x50a5b2,..._0x75ff59},'args':_0x4b52f4?[_0x4b52f4]:[],'tdx':_0x553295});gracefulExit(_0x378272);}),segmentCmd[a2_0x390c59(0x29f)]('folders\x20<parent_name>',{'hidden':!![]})[a2_0x390c59(0x1f2)](a2_0x390c59(0x3b7))[a2_0x390c59(0x3c3)](async(_0x1d003f,_0x4dbb5b)=>{const _0x487147=a2_0x390c59,_0x9a2f2a=new SegmentFolderListCommand(),_0x5cd586=program['opts'](),_0xc50e8e=await createTDXInstance(_0x5cd586),_0x3c26b6=await _0x9a2f2a[_0x487147(0x17b)]({'options':{..._0x5cd586,..._0x4dbb5b},'args':[_0x1d003f],'tdx':_0xc50e8e});gracefulExit(_0x3c26b6);});const folderCmd=segmentCmd['command'](a2_0x390c59(0x3ea),{'hidden':!![]})['description'](a2_0x390c59(0x1a1));folderCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2c1))[a2_0x390c59(0x1f2)]('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x390c59(0x3c3)](async(_0xe499a2,_0x54c167)=>{const _0x834175=a2_0x390c59,_0x50472e=new SegmentFolderShowCommand(),_0x1038d6=program[_0x834175(0x405)](),_0x32bdf5=await createTDXInstance(_0x1038d6),_0x5e7516=await _0x50472e[_0x834175(0x17b)]({'options':{..._0x1038d6,..._0x54c167},'args':[_0xe499a2],'tdx':_0x32bdf5});gracefulExit(_0x5e7516);}),segmentCmd['command']('sql\x20[segment_name]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x15f))[a2_0x390c59(0x41c)]('--path\x20<file-path>',a2_0x390c59(0x1d9))['action'](async(_0x18576b,_0x3f4271)=>{const _0x2b9100=a2_0x390c59,_0xb4fd74=new SegmentSQLCommand(),_0x1d0455=program[_0x2b9100(0x405)](),_0x5d8d39=await createTDXInstance(_0x1d0455),_0x51f2c9=await _0xb4fd74[_0x2b9100(0x17b)]({'options':{..._0x1d0455,..._0x3f4271},'args':_0x18576b?[_0x18576b]:[],'tdx':_0x5d8d39});gracefulExit(_0x51f2c9);}),segmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x396))[a2_0x390c59(0x1f2)](a2_0x390c59(0x34a))[a2_0x390c59(0x3c3)](async(_0x572afd,_0x1e836d)=>{const _0x22bea8=a2_0x390c59,_0x1b6915=new SegmentFieldsCommand(),_0x4ea485=program[_0x22bea8(0x405)](),_0x128ba4=await createTDXInstance(_0x4ea485),_0x58a2af=await _0x1b6915[_0x22bea8(0x17b)]({'options':{..._0x4ea485,..._0x1e836d},'args':_0x572afd?[_0x572afd]:[],'tdx':_0x128ba4});gracefulExit(_0x58a2af);}),segmentCmd['command'](a2_0x390c59(0x159))[a2_0x390c59(0x1f2)](a2_0x390c59(0x3c7))[a2_0x390c59(0x41c)](a2_0x390c59(0x193),a2_0x390c59(0x3e3))[a2_0x390c59(0x3c3)](async(_0x391ab6,_0x5acc3d)=>{const _0x372ddc=a2_0x390c59,_0x459770=new SegmentPullCommand(),_0x2b12d5=program[_0x372ddc(0x405)](),_0x28fb57=await createTDXInstance(_0x2b12d5),_0x28700c=await _0x459770[_0x372ddc(0x17b)]({'options':{..._0x2b12d5,..._0x5acc3d},'args':_0x391ab6?[_0x391ab6]:[],'tdx':_0x28fb57});gracefulExit(_0x28700c);}),segmentCmd['command'](a2_0x390c59(0x1f5))[a2_0x390c59(0x1f2)](a2_0x390c59(0x297))[a2_0x390c59(0x41c)](a2_0x390c59(0x193),a2_0x390c59(0x3e3))['option']('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')['action'](async(_0x4cdc8f,_0x40e1fc)=>{const _0x26a1b5=a2_0x390c59,_0x1e8244=new SegmentPushCommand(),_0x164ed0=program[_0x26a1b5(0x405)](),_0x37415f=await createTDXInstance(_0x164ed0),_0x5d9225=await _0x1e8244['run']({'options':{..._0x164ed0,..._0x40e1fc},'args':_0x4cdc8f?[_0x4cdc8f]:[],'tdx':_0x37415f});gracefulExit(_0x5d9225);}),segmentCmd[a2_0x390c59(0x29f)]('validate\x20[target]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1ef))[a2_0x390c59(0x3c3)](async(_0x37537f,_0x3e89ed)=>{const _0x512837=a2_0x390c59,_0x56a73e=new SegmentValidateCommand(),_0x2e139b=program['opts'](),_0x3603f7=await createTDXInstance(_0x2e139b),_0x95c5ca=await _0x56a73e[_0x512837(0x17b)]({'options':{..._0x2e139b,..._0x3e89ed},'args':_0x37537f?[_0x37537f]:[],'tdx':_0x3603f7});gracefulExit(_0x95c5ca);}),segmentCmd[a2_0x390c59(0x29f)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x390c59(0x1f2)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')['option'](a2_0x390c59(0x34b),'Segment\x20description')[a2_0x390c59(0x41c)]('--rule\x20<json>',a2_0x390c59(0x1dc))[a2_0x390c59(0x41c)](a2_0x390c59(0x1c2),a2_0x390c59(0x2be))[a2_0x390c59(0x41c)](a2_0x390c59(0x14f),'Folder\x20name\x20for\x20organization')[a2_0x390c59(0x41c)]('--kind\x20<type>',a2_0x390c59(0x45d))['option'](a2_0x390c59(0x271),a2_0x390c59(0x24b))[a2_0x390c59(0x41c)]('--no-count-population','Skip\x20population\x20counting')['action'](async(_0x1938c6,_0x5c5333)=>{const _0x587cff=a2_0x390c59,_0x250286=new SegmentCreateCommand(),_0x49bd64=program[_0x587cff(0x405)](),_0x2a1fed=await createTDXInstance(_0x49bd64),_0x9178b1=await _0x250286[_0x587cff(0x17b)]({'options':{..._0x49bd64,..._0x5c5333},'args':[_0x1938c6],'tdx':_0x2a1fed});gracefulExit(_0x9178b1);}),segmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x45c),{'hidden':!![]})['description'](a2_0x390c59(0x3fc))[a2_0x390c59(0x41c)](a2_0x390c59(0x326),a2_0x390c59(0x15e))['option'](a2_0x390c59(0x34b),a2_0x390c59(0x2aa))[a2_0x390c59(0x41c)](a2_0x390c59(0x239),a2_0x390c59(0x1ce))['option'](a2_0x390c59(0x1c2),a2_0x390c59(0x335))['option'](a2_0x390c59(0x14f),a2_0x390c59(0x13e))[a2_0x390c59(0x41c)](a2_0x390c59(0x23f),a2_0x390c59(0x45d))['action'](async(_0xe39666,_0x51d2be)=>{const _0x31c5bf=new SegmentUpdateCommand(),_0x4f9a4f=program['opts'](),_0x5bd65b=await createTDXInstance(_0x4f9a4f),_0x60db3b=await _0x31c5bf['run']({'options':{..._0x4f9a4f,..._0x51d2be},'args':[_0xe39666],'tdx':_0x5bd65b});gracefulExit(_0x60db3b);});const parentCmd=segmentCmd[a2_0x390c59(0x29f)]('parent',{'hidden':!![]})[a2_0x390c59(0x1f2)](a2_0x390c59(0x2d8)),parentListAction=async(_0x12cdac,_0x675cce)=>{const _0x2ebada=a2_0x390c59,_0x8238cd=new ParentSegmentListCommand(),_0x137901=program['opts'](),_0xb7aabe=await createTDXInstance(_0x137901),_0x55e37=await _0x8238cd[_0x2ebada(0x17b)]({'options':{..._0x137901,..._0x675cce},'args':_0x12cdac?[_0x12cdac]:[],'tdx':_0xb7aabe});gracefulExit(_0x55e37);};parentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3cb))['description']('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')['action'](parentListAction),segmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x424),{'hidden':!![]})[a2_0x390c59(0x1f2)](a2_0x390c59(0x3d1))['action'](parentListAction),parentCmd[a2_0x390c59(0x29f)]('pull\x20[name]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x33c))[a2_0x390c59(0x41c)](a2_0x390c59(0x279),a2_0x390c59(0x2ae))[a2_0x390c59(0x3c3)](async(_0x14715e,_0x2d7f43)=>{const _0x5cb553=a2_0x390c59,_0x4c6812=new ParentSegmentPullCommand(),_0xdcaab=program[_0x5cb553(0x405)](),_0x18855c=await createTDXInstance(_0xdcaab),_0x444591=await _0x4c6812[_0x5cb553(0x17b)]({'options':{..._0xdcaab,..._0x2d7f43},'args':_0x14715e?[_0x14715e]:[],'tdx':_0x18855c});gracefulExit(_0x444591);}),parentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2a2))[a2_0x390c59(0x1f2)](a2_0x390c59(0x309))[a2_0x390c59(0x3c3)](async(_0x17e5ab,_0x1fcdd5)=>{const _0x453ef3=a2_0x390c59,_0x548a7a=new ParentSegmentPushCommand(),_0x1ee4c1=program[_0x453ef3(0x405)](),_0x20b881=await createTDXInstance(_0x1ee4c1),_0x459f9c=await _0x548a7a[_0x453ef3(0x17b)]({'options':{..._0x1ee4c1,..._0x1fcdd5},'args':_0x17e5ab?[_0x17e5ab]:[],'tdx':_0x20b881});gracefulExit(_0x459f9c);}),parentCmd['command'](a2_0x390c59(0x343))[a2_0x390c59(0x1f2)](a2_0x390c59(0x14a))[a2_0x390c59(0x41c)](a2_0x390c59(0x265),'Show\x20only\x20master\x20table\x20validation')[a2_0x390c59(0x41c)](a2_0x390c59(0x191),a2_0x390c59(0x44c))['option'](a2_0x390c59(0x2a9),a2_0x390c59(0x319))[a2_0x390c59(0x41c)](a2_0x390c59(0x34e),a2_0x390c59(0x45e))[a2_0x390c59(0x41c)]('--interval\x20<range>',a2_0x390c59(0x1ae),'-1d')['action'](async(_0x5ee694,_0x7fbdd2)=>{const _0x41b27f=a2_0x390c59,_0x17f948=new ParentSegmentValidateCommand(),_0x5779d8=program[_0x41b27f(0x405)](),_0xba6fc4=await createTDXInstance(_0x5779d8),_0x45077a=await _0x17f948[_0x41b27f(0x17b)]({'options':{..._0x5779d8,..._0x7fbdd2},'args':_0x5ee694?[_0x5ee694]:[],'tdx':_0xba6fc4});gracefulExit(_0x45077a);}),parentCmd[a2_0x390c59(0x29f)]('preview\x20[file]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x303))['option']('--master','Show\x20master\x20table\x20sample\x20data')['option']('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x390c59(0x41c)](a2_0x390c59(0x2a9),a2_0x390c59(0x211))[a2_0x390c59(0x41c)](a2_0x390c59(0x34e),a2_0x390c59(0x257))[a2_0x390c59(0x41c)](a2_0x390c59(0x331),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x390c59(0x3d0))[a2_0x390c59(0x3c3)](async(_0x3d7812,_0x5b48e0)=>{const _0x326ee6=a2_0x390c59,_0x1831a1=new ParentSegmentPreviewCommand(),_0x18a944=program[_0x326ee6(0x405)](),_0x506553=await createTDXInstance(_0x18a944),_0x4d8dbf=await _0x1831a1['run']({'options':{..._0x18a944,..._0x5b48e0},'args':_0x3d7812?[_0x3d7812]:[],'tdx':_0x506553});gracefulExit(_0x4d8dbf);}),parentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x140))[a2_0x390c59(0x1f2)](a2_0x390c59(0x32e))[a2_0x390c59(0x3c3)](async(_0x4d9721,_0x19bd89)=>{const _0x396a96=a2_0x390c59,_0x50f263=new ParentSegmentRunCommand(),_0xff91de=program[_0x396a96(0x405)](),_0x4939b3=await createTDXInstance(_0xff91de),_0x1207f7=await _0x50f263[_0x396a96(0x17b)]({'options':{..._0xff91de,..._0x19bd89},'args':_0x4d9721?[_0x4d9721]:[],'tdx':_0x4939b3});gracefulExit(_0x1207f7);});const parentSegmentCmd=program['command'](a2_0x390c59(0x149))[a2_0x390c59(0x404)]('ps')['description'](a2_0x390c59(0x36e));parentSegmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3cb))[a2_0x390c59(0x1f2)]('List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)')[a2_0x390c59(0x3c3)](parentListAction),parentSegmentCmd['command'](a2_0x390c59(0x344))['description'](a2_0x390c59(0x2d2))[a2_0x390c59(0x41c)](a2_0x390c59(0x279),a2_0x390c59(0x3fb))[a2_0x390c59(0x41c)](a2_0x390c59(0x1b9),'Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull')['action'](async(_0x25a2a2,_0x177b23)=>{const _0xb1631d=a2_0x390c59,_0xd06592=new ParentSegmentPullCommand(),_0x32a407=program[_0xb1631d(0x405)](),_0x515216=await createTDXInstance(_0x32a407),_0x59fb63=await _0xd06592[_0xb1631d(0x17b)]({'options':{..._0x32a407,..._0x177b23},'args':_0x25a2a2?[_0x25a2a2]:[],'tdx':_0x515216});gracefulExit(_0x59fb63);}),parentSegmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x20b))[a2_0x390c59(0x1f2)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x390c59(0x3c3)](async(_0x2e6749,_0x1091e7)=>{const _0x233f90=a2_0x390c59,_0x167208=new ParentSegmentPushCommand(),_0xb6cde=program['opts'](),_0x58c6a7=await createTDXInstance(_0xb6cde),_0x4eecb5=await _0x167208[_0x233f90(0x17b)]({'options':{..._0xb6cde,..._0x1091e7},'args':_0x2e6749?[_0x2e6749]:[],'tdx':_0x58c6a7});gracefulExit(_0x4eecb5);}),parentSegmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x36b))[a2_0x390c59(0x1f2)](a2_0x390c59(0x14a))[a2_0x390c59(0x41c)](a2_0x390c59(0x265),a2_0x390c59(0x18b))[a2_0x390c59(0x41c)](a2_0x390c59(0x191),'Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x390c59(0x41c)](a2_0x390c59(0x2a9),a2_0x390c59(0x319))[a2_0x390c59(0x41c)](a2_0x390c59(0x34e),a2_0x390c59(0x45e))[a2_0x390c59(0x41c)]('--interval\x20<range>',a2_0x390c59(0x1ae),a2_0x390c59(0x3d0))[a2_0x390c59(0x3c3)](async(_0x3589bb,_0x8cf4bf)=>{const _0x29dd08=a2_0x390c59,_0x31abd2=new ParentSegmentValidateCommand(),_0x4094a3=program[_0x29dd08(0x405)](),_0x165a35=await createTDXInstance(_0x4094a3),_0x54a91f=await _0x31abd2[_0x29dd08(0x17b)]({'options':{..._0x4094a3,..._0x8cf4bf},'args':_0x3589bb?[_0x3589bb]:[],'tdx':_0x165a35});gracefulExit(_0x54a91f);}),parentSegmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2dd))[a2_0x390c59(0x1f2)](a2_0x390c59(0x303))[a2_0x390c59(0x41c)](a2_0x390c59(0x265),a2_0x390c59(0x1c6))[a2_0x390c59(0x41c)]('--attribute\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute')[a2_0x390c59(0x41c)](a2_0x390c59(0x2a9),'Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x390c59(0x41c)](a2_0x390c59(0x34e),a2_0x390c59(0x257))[a2_0x390c59(0x41c)]('--interval\x20<range>',a2_0x390c59(0x1ae),a2_0x390c59(0x3d0))[a2_0x390c59(0x3c3)](async(_0x516898,_0x32b491)=>{const _0x1763f3=a2_0x390c59,_0x56d409=new ParentSegmentPreviewCommand(),_0x23107e=program[_0x1763f3(0x405)](),_0x35175f=await createTDXInstance(_0x23107e),_0x2611ec=await _0x56d409['run']({'options':{..._0x23107e,..._0x32b491},'args':_0x516898?[_0x516898]:[],'tdx':_0x35175f});gracefulExit(_0x2611ec);}),parentSegmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x140))[a2_0x390c59(0x1f2)](a2_0x390c59(0x32e))[a2_0x390c59(0x3c3)](async(_0x4156f3,_0x439d3d)=>{const _0x816300=a2_0x390c59,_0x5a4ab8=new ParentSegmentRunCommand(),_0x3d1c7d=program[_0x816300(0x405)](),_0x182faf=await createTDXInstance(_0x3d1c7d),_0x469fe7=await _0x5a4ab8[_0x816300(0x17b)]({'options':{..._0x3d1c7d,..._0x439d3d},'args':_0x4156f3?[_0x4156f3]:[],'tdx':_0x182faf});gracefulExit(_0x469fe7);}),parentSegmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x321))[a2_0x390c59(0x1f2)](a2_0x390c59(0x122))[a2_0x390c59(0x41c)](a2_0x390c59(0x414),a2_0x390c59(0x40a))[a2_0x390c59(0x41c)](a2_0x390c59(0x3f1),a2_0x390c59(0x26f))['action'](async(_0x5eff0e,_0x3896d8)=>{const _0x36c059=a2_0x390c59,_0xaf9901=new ParentSegmentFieldsCommand(),_0x28b2aa=program[_0x36c059(0x405)](),_0x12927d=await createTDXInstance(_0x28b2aa),_0x546a9e=await _0xaf9901['run']({'options':{..._0x28b2aa,..._0x3896d8},'args':_0x5eff0e?[_0x5eff0e]:[],'tdx':_0x12927d});gracefulExit(_0x546a9e);}),parentSegmentCmd['command'](a2_0x390c59(0x385))[a2_0x390c59(0x1f2)](a2_0x390c59(0x21f))[a2_0x390c59(0x41c)]('-w,\x20--web','Open\x20parent\x20segment\x20in\x20web\x20browser')[a2_0x390c59(0x41c)]('--json',a2_0x390c59(0x40a))[a2_0x390c59(0x41c)](a2_0x390c59(0x3f1),'Output\x20as\x20JSON\x20Lines')[a2_0x390c59(0x3c3)](async(_0x2c81bb,_0x3ee150)=>{const _0x4b3fba=a2_0x390c59,_0xcdfdbf=new ParentSegmentViewCommand(),_0x11846d=program['opts'](),_0x4cc132=await createTDXInstance(_0x11846d),_0x1ad7d1=await _0xcdfdbf[_0x4b3fba(0x17b)]({'options':{..._0x11846d,..._0x3ee150},'args':_0x2c81bb?[_0x2c81bb]:[],'tdx':_0x4cc132});gracefulExit(_0x1ad7d1);}),parentSegmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3d8))[a2_0x390c59(0x1f2)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x390c59(0x41c)](a2_0x390c59(0x279),a2_0x390c59(0x3fb))[a2_0x390c59(0x41c)](a2_0x390c59(0x414),'Output\x20as\x20JSON')['option'](a2_0x390c59(0x3f1),a2_0x390c59(0x26f))['action'](async(_0x274a95,_0x25d549)=>{const _0x362d64=a2_0x390c59,_0x4efdee=new ParentSegmentDescCommand(),_0x536e0f=program[_0x362d64(0x405)](),_0x2a2546=await createTDXInstance(_0x536e0f),_0x3b24c4=await _0x4efdee[_0x362d64(0x17b)]({'options':{..._0x536e0f,..._0x25d549},'args':_0x274a95?[_0x274a95]:[],'tdx':_0x2a2546});gracefulExit(_0x3b24c4);}),parentSegmentCmd['command'](a2_0x390c59(0x2c0))[a2_0x390c59(0x1f2)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x390c59(0x41c)](a2_0x390c59(0x414),a2_0x390c59(0x40a))[a2_0x390c59(0x41c)](a2_0x390c59(0x3f1),'Output\x20as\x20JSON\x20Lines')[a2_0x390c59(0x3c3)](async(_0x3afd31,_0x1dd2ae)=>{const _0x1f4e6f=a2_0x390c59,_0x24965f=new ParentSegmentSQLCommand(),_0x44ca7f=program[_0x1f4e6f(0x405)](),_0x4c61da=await createTDXInstance(_0x44ca7f),_0x18ca53=await _0x24965f['run']({'options':{..._0x44ca7f,..._0x1dd2ae},'args':_0x3afd31?[_0x3afd31]:[],'tdx':_0x4c61da});gracefulExit(_0x18ca53);}),parentSegmentCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x232))['description'](a2_0x390c59(0x281))[a2_0x390c59(0x41c)](a2_0x390c59(0x3ef),a2_0x390c59(0x454))['option']('--json','Output\x20as\x20JSON')[a2_0x390c59(0x41c)](a2_0x390c59(0x3f1),'Output\x20as\x20JSON\x20Lines')[a2_0x390c59(0x3c3)](async(_0x55d369,_0x3b7919)=>{const _0x5c650e=a2_0x390c59,_0x50a97f=new ParentSegmentShowCommand(),_0x356308=program[_0x5c650e(0x405)](),_0x4908a0=await createTDXInstance(_0x356308),_0x41ba71=await _0x50a97f[_0x5c650e(0x17b)]({'options':{..._0x356308,..._0x3b7919},'args':_0x55d369?[_0x55d369]:[],'tdx':_0x4908a0});gracefulExit(_0x41ba71);}),parentSegmentCmd['command'](a2_0x390c59(0x43b))['description']('Set\x20or\x20show\x20parent\x20segment\x20context')[a2_0x390c59(0x3c3)](async(_0x3a4753,_0x49c6e2)=>{const _0x40c37f=a2_0x390c59,_0xe7c34b=new UseCommand(),_0x96c900=program['opts'](),_0x57bc68=_0x3a4753?['parent_segment',_0x3a4753]:[],_0x9d5d49=await _0xe7c34b[_0x40c37f(0x17b)]({'options':{..._0x96c900,..._0x49c6e2},'args':_0x57bc68,'tdx':null});gracefulExit(_0x9d5d49);});const psRtCmd=parentSegmentCmd['command']('rt')['description'](a2_0x390c59(0x2b8));psRtCmd['command'](a2_0x390c59(0x3cb))[a2_0x390c59(0x1f2)]('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')[a2_0x390c59(0x3c3)](async(_0x1eb35e,_0xa3bd19)=>{const _0x1633f7=a2_0x390c59,_0x73e5f9=new PSRtListCommand(),_0x30d1fc=program[_0x1633f7(0x405)](),_0x4f631a=await createTDXInstance(_0x30d1fc),_0x37eb2a=await _0x73e5f9[_0x1633f7(0x17b)]({'options':{..._0x30d1fc,..._0xa3bd19},'args':_0x1eb35e?[_0x1eb35e]:[],'tdx':_0x4f631a});gracefulExit(_0x37eb2a);}),psRtCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x36b))[a2_0x390c59(0x1f2)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')['action'](async(_0x35668d,_0x5ac447)=>{const _0x22cc18=a2_0x390c59,_0x23c851=new PSRtValidateCommand(),_0x4f6ed8=program[_0x22cc18(0x405)](),_0x126a8c=await createTDXInstance(_0x4f6ed8),_0x293453=await _0x23c851['run']({'options':{..._0x4f6ed8,..._0x5ac447},'args':_0x35668d?[_0x35668d]:[],'tdx':_0x126a8c});gracefulExit(_0x293453);}),psRtCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x20e))[a2_0x390c59(0x1f2)]('Get\x20current\x20RT\x20configuration\x20version\x20status')[a2_0x390c59(0x3c3)](async(_0x172f50,_0xb20a21)=>{const _0x1a839a=a2_0x390c59,_0x676237=new PSRtConfigVersionCommand(),_0x300a7e=program['opts'](),_0x3b9310=await createTDXInstance(_0x300a7e),_0x2b2480=await _0x676237[_0x1a839a(0x17b)]({'options':{..._0x300a7e,..._0xb20a21},'args':_0x172f50?[_0x172f50]:[],'tdx':_0x3b9310});gracefulExit(_0x2b2480);});const psRtJnCmd=psRtCmd[a2_0x390c59(0x29f)]('jn')['description'](a2_0x390c59(0x189));psRtJnCmd['command'](a2_0x390c59(0x32c))[a2_0x390c59(0x1f2)]('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x61e6ef,_0x3abc1b)=>{const _0x128cac=a2_0x390c59,_0x155972=new PSRtJnListCommand(),_0x2e00ab=program[_0x128cac(0x405)](),_0x18377a=await createTDXInstance(_0x2e00ab),_0x1f8ce6=await _0x155972[_0x128cac(0x17b)]({'options':{..._0x2e00ab,..._0x3abc1b},'args':_0x61e6ef?[_0x61e6ef]:[],'tdx':_0x18377a});gracefulExit(_0x1f8ce6);}),psRtJnCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x356))[a2_0x390c59(0x1f2)](a2_0x390c59(0x411))[a2_0x390c59(0x3c3)](async(_0x2db021,_0x11e50c)=>{const _0xd33fa2=a2_0x390c59,_0xf2e43a=new PSRtJnPauseCommand(),_0x4217dc=program['opts'](),_0xa2b080=await createTDXInstance(_0x4217dc),_0x14cb65=await _0xf2e43a[_0xd33fa2(0x17b)]({'options':{..._0x4217dc,..._0x11e50c},'args':[_0x2db021],'tdx':_0xa2b080});gracefulExit(_0x14cb65);}),psRtJnCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x33a))[a2_0x390c59(0x1f2)](a2_0x390c59(0x3e1))[a2_0x390c59(0x3c3)](async(_0x4d7a09,_0x567570)=>{const _0x21bf73=a2_0x390c59,_0x1b4f0f=new PSRtJnResumeCommand(),_0x1d4352=program[_0x21bf73(0x405)](),_0x2d35d7=await createTDXInstance(_0x1d4352),_0x47bf0f=await _0x1b4f0f[_0x21bf73(0x17b)]({'options':{..._0x1d4352,..._0x567570},'args':[_0x4d7a09],'tdx':_0x2d35d7});gracefulExit(_0x47bf0f);});const parentRtCmd=parentCmd[a2_0x390c59(0x29f)]('rt',{'hidden':!![]})['description']('RT\x202.0\x20configuration\x20management');parentRtCmd['command'](a2_0x390c59(0x3cb))[a2_0x390c59(0x1f2)](a2_0x390c59(0x1c4))[a2_0x390c59(0x3c3)](async(_0x452745,_0x313f28)=>{const _0x1e514c=new PSRtListCommand(),_0xcde3e2=program['opts'](),_0x314607=await createTDXInstance(_0xcde3e2),_0x23280f=await _0x1e514c['run']({'options':{..._0xcde3e2,..._0x313f28},'args':_0x452745?[_0x452745]:[],'tdx':_0x314607});gracefulExit(_0x23280f);}),parentRtCmd['command'](a2_0x390c59(0x36b))[a2_0x390c59(0x1f2)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')['action'](async(_0xf9e761,_0x19c772)=>{const _0x49168c=a2_0x390c59,_0x49604c=new PSRtValidateCommand(),_0x12e018=program[_0x49168c(0x405)](),_0x52020e=await createTDXInstance(_0x12e018),_0x5ee926=await _0x49604c[_0x49168c(0x17b)]({'options':{..._0x12e018,..._0x19c772},'args':_0xf9e761?[_0xf9e761]:[],'tdx':_0x52020e});gracefulExit(_0x5ee926);});const psPzCmd=parentSegmentCmd[a2_0x390c59(0x29f)]('pz')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1f7));psPzCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x32c))[a2_0x390c59(0x1f2)](a2_0x390c59(0x1ac))[a2_0x390c59(0x3c3)](async(_0x31d3b6,_0x32e1dc)=>{const _0x12ef04=a2_0x390c59,_0x224f2e=new PSPzListCommand(),_0x57fa32=program['opts'](),_0x4f71e5=await createTDXInstance(_0x57fa32),_0x3903f2=await _0x224f2e[_0x12ef04(0x17b)]({'options':{..._0x57fa32,..._0x32e1dc},'args':_0x31d3b6?[_0x31d3b6]:[],'tdx':_0x4f71e5});gracefulExit(_0x3903f2);}),psPzCmd['command'](a2_0x390c59(0x311))[a2_0x390c59(0x1f2)](a2_0x390c59(0x227))[a2_0x390c59(0x3c3)](async(_0xedea9e,_0x142758)=>{const _0x1c981c=a2_0x390c59,_0xa75ace=new PSPzShowCommand(),_0x43b12d=program[_0x1c981c(0x405)](),_0x209717=await createTDXInstance(_0x43b12d),_0x3aa5b8=await _0xa75ace[_0x1c981c(0x17b)]({'options':{..._0x43b12d,..._0x142758},'args':[_0xedea9e],'tdx':_0x209717});gracefulExit(_0x3aa5b8);}),psPzCmd[a2_0x390c59(0x29f)]('delete\x20<personalization_id>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x3cc))[a2_0x390c59(0x3c3)](async(_0xa8e23f,_0x44b366)=>{const _0x39ac67=a2_0x390c59,_0x3280fc=new PSPzDeleteCommand(),_0x18f8e6=program['opts'](),_0x17b168=await createTDXInstance(_0x18f8e6),_0x2d994a=await _0x3280fc[_0x39ac67(0x17b)]({'options':{..._0x18f8e6,..._0x44b366},'args':[_0xa8e23f],'tdx':_0x17b168});gracefulExit(_0x2d994a);}),psPzCmd[a2_0x390c59(0x29f)]('create')['description'](a2_0x390c59(0x3e2))['option']('--name\x20<text>',a2_0x390c59(0x134))[a2_0x390c59(0x41c)](a2_0x390c59(0x34b),a2_0x390c59(0x415))[a2_0x390c59(0x41c)](a2_0x390c59(0x187),a2_0x390c59(0x3a9))['option'](a2_0x390c59(0x2ea),a2_0x390c59(0x1c1))[a2_0x390c59(0x41c)]('--sections\x20<json>',a2_0x390c59(0x37e))[a2_0x390c59(0x41c)](a2_0x390c59(0x171),a2_0x390c59(0x3bd))[a2_0x390c59(0x3c3)](async _0xdadab2=>{const _0x38a717=a2_0x390c59,_0x25c3e7=new PSPzCreateCommand(),_0x366ae8=program[_0x38a717(0x405)](),_0x7c56da=await createTDXInstance(_0x366ae8),_0x4152b3=await _0x25c3e7[_0x38a717(0x17b)]({'options':{..._0x366ae8,..._0xdadab2},'args':[],'tdx':_0x7c56da});gracefulExit(_0x4152b3);}),psPzCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x31f))[a2_0x390c59(0x1f2)](a2_0x390c59(0x418))[a2_0x390c59(0x41c)]('--name\x20<text>',a2_0x390c59(0x134))[a2_0x390c59(0x41c)](a2_0x390c59(0x34b),a2_0x390c59(0x415))[a2_0x390c59(0x41c)](a2_0x390c59(0x3b1),a2_0x390c59(0x37e))[a2_0x390c59(0x41c)](a2_0x390c59(0x171),a2_0x390c59(0x3bd))[a2_0x390c59(0x3c3)](async(_0x47f5d8,_0x5ac78c)=>{const _0x33a07d=a2_0x390c59,_0xdbb421=new PSPzPatchCommand(),_0x3266ce=program[_0x33a07d(0x405)](),_0x436226=await createTDXInstance(_0x3266ce),_0x55fc19=await _0xdbb421[_0x33a07d(0x17b)]({'options':{..._0x3266ce,..._0x5ac78c},'args':[_0x47f5d8],'tdx':_0x436226});gracefulExit(_0x55fc19);});const psPzServiceCmd=psPzCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2c7))['description'](a2_0x390c59(0x2de));psPzServiceCmd[a2_0x390c59(0x29f)]('list\x20[name]')[a2_0x390c59(0x1f2)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x390c59(0x3c3)](async(_0x502f4c,_0x22baed)=>{const _0x323338=a2_0x390c59,_0x3ec292=new PSPzServiceListCommand(),_0x31a1da=program[_0x323338(0x405)](),_0x1c6303=await createTDXInstance(_0x31a1da),_0x4f5d32=await _0x3ec292['run']({'options':{..._0x31a1da,..._0x22baed},'args':_0x502f4c?[_0x502f4c]:[],'tdx':_0x1c6303});gracefulExit(_0x4f5d32);}),psPzServiceCmd['command'](a2_0x390c59(0x32a))[a2_0x390c59(0x1f2)](a2_0x390c59(0x19f))['option']('--description\x20<text>',a2_0x390c59(0x416))['option']('--public',a2_0x390c59(0x1fc))['action'](async(_0x520b0f,_0x2ff8a9,_0x2bd19c)=>{const _0x28a054=a2_0x390c59,_0x485ea3=new PSPzServiceCreateCommand(),_0x2d495c=program[_0x28a054(0x405)](),_0x2fd006=await createTDXInstance(_0x2d495c),_0x2a24b6=await _0x485ea3[_0x28a054(0x17b)]({'options':{..._0x2d495c,..._0x2bd19c},'args':_0x2ff8a9?[_0x520b0f,_0x2ff8a9]:[_0x520b0f],'tdx':_0x2fd006});gracefulExit(_0x2a24b6);}),psPzServiceCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x25a))[a2_0x390c59(0x1f2)]('Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x390c59(0x3c3)](async(_0x3be102,_0x50e133,_0x228ed4)=>{const _0x384423=a2_0x390c59,_0x5d838d=new PSPzServiceShowCommand(),_0xb8ac36=program[_0x384423(0x405)](),_0x571c79=await createTDXInstance(_0xb8ac36),_0x234b97=await _0x5d838d[_0x384423(0x17b)]({'options':{..._0xb8ac36,..._0x228ed4},'args':_0x50e133?[_0x3be102,_0x50e133]:[_0x3be102],'tdx':_0x571c79});gracefulExit(_0x234b97);}),psPzServiceCmd[a2_0x390c59(0x29f)]('delete\x20<service_id>\x20[parent_segment]')['description'](a2_0x390c59(0x3d6))[a2_0x390c59(0x3c3)](async(_0x197c4a,_0x40ace0,_0x23332b)=>{const _0x46365a=a2_0x390c59,_0x5c158c=new PSPzServiceDeleteCommand(),_0xe5224f=program[_0x46365a(0x405)](),_0x52492f=await createTDXInstance(_0xe5224f),_0x2b7835=await _0x5c158c[_0x46365a(0x17b)]({'options':{..._0xe5224f,..._0x23332b},'args':_0x40ace0?[_0x197c4a,_0x40ace0]:[_0x197c4a],'tdx':_0x52492f});gracefulExit(_0x2b7835);}),psPzServiceCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x330))[a2_0x390c59(0x1f2)](a2_0x390c59(0x222))[a2_0x390c59(0x13c)]('--name\x20<name>',a2_0x390c59(0x29e))[a2_0x390c59(0x41c)]('--description\x20<text>',a2_0x390c59(0x21e))[a2_0x390c59(0x3c3)](async(_0x5dd419,_0xde77d7,_0x1acff5)=>{const _0xf79ae8=a2_0x390c59,_0x463d2a=new PSPzServiceUpdateCommand(),_0x55c567=program[_0xf79ae8(0x405)](),_0x3193c4=await createTDXInstance(_0x55c567),_0x333d0e=await _0x463d2a['run']({'options':{..._0x55c567,..._0x1acff5},'args':_0xde77d7?[_0x5dd419,_0xde77d7]:[_0x5dd419],'tdx':_0x3193c4});gracefulExit(_0x333d0e);}),psPzServiceCmd[a2_0x390c59(0x29f)]('init\x20[name]')['description'](a2_0x390c59(0x3a8))['action'](async(_0x2aa01d,_0x13f98a)=>{const _0x5d7488=a2_0x390c59,_0x595a5a=new PSPzInitCommand(),_0x3befe4=program[_0x5d7488(0x405)](),_0xa2d408=await createTDXInstance(_0x3befe4),_0x3ef243=await _0x595a5a[_0x5d7488(0x17b)]({'options':{..._0x3befe4,..._0x13f98a},'args':_0x2aa01d?[_0x2aa01d]:[],'tdx':_0xa2d408});gracefulExit(_0x3ef243);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x390c59(0x29f)]('token')[a2_0x390c59(0x1f2)](a2_0x390c59(0x325));psPzServiceTokenCmd['command'](a2_0x390c59(0x2a7))['description']('Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')[a2_0x390c59(0x41c)]('--allowed-ips\x20<ips>',a2_0x390c59(0x2a6))[a2_0x390c59(0x41c)]('--description\x20<text>',a2_0x390c59(0x388))['action'](async(_0x144146,_0x17e5be,_0x24572e,_0x1ee129)=>{const _0x534f79=a2_0x390c59,_0x28fb8d=new PSPzServiceTokenCreateCommand(),_0x1cc06f=program[_0x534f79(0x405)](),_0x31c656=await createTDXInstance(_0x1cc06f),_0x2f6510=await _0x28fb8d[_0x534f79(0x17b)]({'options':{..._0x1cc06f,..._0x1ee129},'args':_0x24572e?[_0x144146,_0x17e5be,_0x24572e]:[_0x144146,_0x17e5be],'tdx':_0x31c656});gracefulExit(_0x2f6510);}),psPzServiceTokenCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x138))['description'](a2_0x390c59(0x220))[a2_0x390c59(0x3c3)](async(_0xcdfba2,_0x41534a,_0x299968)=>{const _0x1a428c=a2_0x390c59,_0x1c004e=new PSPzServiceTokenDeleteCommand(),_0x3d1248=program['opts'](),_0x41b706=await createTDXInstance(_0x3d1248),_0x1f7993=await _0x1c004e[_0x1a428c(0x17b)]({'options':{..._0x3d1248,..._0x299968},'args':_0x41534a?[_0xcdfba2,_0x41534a]:[_0xcdfba2],'tdx':_0x41b706});gracefulExit(_0x1f7993);}),parentCmd[a2_0x390c59(0x29f)]('create\x20<name>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x121))[a2_0x390c59(0x13c)](a2_0x390c59(0x209),a2_0x390c59(0x2c5))[a2_0x390c59(0x13c)](a2_0x390c59(0x3f4),'Master\x20table\x20name')['option']('--description\x20<text>',a2_0x390c59(0x1a0))[a2_0x390c59(0x41c)](a2_0x390c59(0x2cb),a2_0x390c59(0x128))['option'](a2_0x390c59(0x153),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')['option'](a2_0x390c59(0x39c),a2_0x390c59(0x3cf))[a2_0x390c59(0x41c)]('--attributes\x20<json>','Attributes\x20as\x20JSON\x20string')['option'](a2_0x390c59(0x16a),a2_0x390c59(0x183))['option']('--behaviors\x20<json>',a2_0x390c59(0x26d))[a2_0x390c59(0x41c)]('--behaviors-file\x20<file>',a2_0x390c59(0x1ea))['option'](a2_0x390c59(0x2cf),'Customer\x20group\x20as\x20JSON\x20string')['option']('--customer-group-file\x20<file>',a2_0x390c59(0x264))[a2_0x390c59(0x3c3)](async(_0x42bd68,_0x32711e)=>{const _0x470cc8=a2_0x390c59,_0x267868=new ParentSegmentCreateCommand(),_0xb90be8=program[_0x470cc8(0x405)](),_0xa1602c=await createTDXInstance(_0xb90be8),_0xf5ba3d=await _0x267868[_0x470cc8(0x17b)]({'options':{..._0xb90be8,..._0x32711e},'args':[_0x42bd68],'tdx':_0xa1602c});gracefulExit(_0xf5ba3d);}),parentCmd['command'](a2_0x390c59(0x327))[a2_0x390c59(0x1f2)](a2_0x390c59(0x40b))[a2_0x390c59(0x41c)](a2_0x390c59(0x34b),a2_0x390c59(0x2aa))[a2_0x390c59(0x41c)]('--schedule-type\x20<type>',a2_0x390c59(0x33b))['option']('--schedule-option\x20<value>',a2_0x390c59(0x2ed))['option'](a2_0x390c59(0x39c),'Updated\x20timezone')[a2_0x390c59(0x41c)](a2_0x390c59(0x219),a2_0x390c59(0x24c))['option']('--add-attributes-file\x20<file>',a2_0x390c59(0x120))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e7),a2_0x390c59(0x23e))[a2_0x390c59(0x41c)](a2_0x390c59(0x434),a2_0x390c59(0x31c))[a2_0x390c59(0x3c3)](async(_0x4697ed,_0x43e860)=>{const _0x6e1f1d=a2_0x390c59,_0x315f1f=new ParentSegmentUpdateCommand(),_0x4156b7=program['opts'](),_0x258f07=await createTDXInstance(_0x4156b7),_0x47e75=await _0x315f1f[_0x6e1f1d(0x17b)]({'options':{..._0x4156b7,..._0x43e860},'args':[_0x4697ed],'tdx':_0x258f07});gracefulExit(_0x47e75);}),folderCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3b5))[a2_0x390c59(0x1f2)](a2_0x390c59(0x259))[a2_0x390c59(0x41c)](a2_0x390c59(0x34b),a2_0x390c59(0x3b6))[a2_0x390c59(0x41c)](a2_0x390c59(0x36d),a2_0x390c59(0x32b))[a2_0x390c59(0x3c3)](async(_0x4c278c,_0x5deb56,_0x5cb030)=>{const _0x427749=a2_0x390c59,_0x412361=new SegmentFolderCreateCommand(),_0x2308d6=program[_0x427749(0x405)](),_0x1f2865=await createTDXInstance(_0x2308d6),_0x12ba62=await _0x412361[_0x427749(0x17b)]({'options':{..._0x2308d6,..._0x5cb030},'args':[_0x4c278c,_0x5deb56],'tdx':_0x1f2865});gracefulExit(_0x12ba62);}),program[a2_0x390c59(0x29f)]('activations\x20<segment_name>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x135))[a2_0x390c59(0x3c3)](async(_0x585c51,_0x357df3)=>{const _0x3d2070=a2_0x390c59,_0x1d6d1c=new ActivationsCommand(),_0xd837da=program['opts'](),_0x3da120=await createTDXInstance(_0xd837da),_0x17bf72=await _0x1d6d1c[_0x3d2070(0x17b)]({'options':{..._0xd837da,..._0x357df3},'args':[_0x585c51],'tdx':_0x3da120});gracefulExit(_0x17bf72);});const workflowCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x1f6))['alias']('wf')['description'](a2_0x390c59(0x25d)),wfProjectCmd=workflowCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x337))[a2_0x390c59(0x1f2)](a2_0x390c59(0x142)),wfProjectListAction=async(_0x54e064,_0x4098df)=>{const _0x23c84d=a2_0x390c59,_0x68c3cb=new WorkflowProjectsCommand(),_0x1a5b58=program[_0x23c84d(0x405)](),_0x41d190=await createTDXInstance(_0x1a5b58),_0x3cc4a6=await _0x68c3cb['run']({'options':{..._0x1a5b58,..._0x4098df},'args':_0x54e064?[_0x54e064]:[],'tdx':_0x41d190});gracefulExit(_0x3cc4a6);};wfProjectCmd[a2_0x390c59(0x29f)]('list\x20[pattern]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1e8))[a2_0x390c59(0x3c3)](wfProjectListAction),workflowCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x407))[a2_0x390c59(0x1f2)](a2_0x390c59(0x143))[a2_0x390c59(0x3c3)](wfProjectListAction);const wfWorkflowListAction=async(_0x102bea,_0x95368c)=>{const _0x2df466=a2_0x390c59,_0x3d0419=new WorkflowWorkflowsCommand(),_0x1b4f25=program['opts'](),_0x3d62a8=await createTDXInstance(_0x1b4f25),_0x49071c=await _0x3d0419[_0x2df466(0x17b)]({'options':{..._0x1b4f25,..._0x95368c},'args':_0x102bea?[_0x102bea]:[],'tdx':_0x3d62a8});gracefulExit(_0x49071c);};workflowCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x32f))[a2_0x390c59(0x1f2)](a2_0x390c59(0x274))[a2_0x390c59(0x3c3)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x24d))['description'](a2_0x390c59(0x27a)),wfSessionListAction=async(_0x5321da,_0x39f634)=>{const _0x5642fd=a2_0x390c59,_0x10f5c9=new WorkflowSessionsCommand(),_0x1b2914=program['opts'](),_0x37a2d0=await createTDXInstance(_0x1b2914),_0x3724e2=await _0x10f5c9[_0x5642fd(0x17b)]({'options':{..._0x1b2914,..._0x39f634},'args':_0x5321da?[_0x5321da]:[],'tdx':_0x37a2d0});gracefulExit(_0x3724e2);};wfSessionCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x387))[a2_0x390c59(0x1f2)](a2_0x390c59(0x204))['option']('--status\x20<status>',a2_0x390c59(0x1cb))[a2_0x390c59(0x41c)](a2_0x390c59(0x379),a2_0x390c59(0x3e6))[a2_0x390c59(0x41c)](a2_0x390c59(0x3ca),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x390c59(0x3c3)](wfSessionListAction),workflowCmd[a2_0x390c59(0x29f)]('sessions\x20[project]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x18e))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e6),a2_0x390c59(0x1cb))[a2_0x390c59(0x41c)]('--from\x20<timestamp>','Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x390c59(0x41c)](a2_0x390c59(0x3ca),a2_0x390c59(0x1d7))['action'](wfSessionListAction);const wfAttemptListAction=async(_0x11fd70,_0xfe174b)=>{const _0x3711d6=a2_0x390c59,_0x2ea3b2=new WorkflowAttemptsCommand(),_0x23b87c=program[_0x3711d6(0x405)](),_0x661f19=await createTDXInstance(_0x23b87c),_0x44df99=await _0x2ea3b2[_0x3711d6(0x17b)]({'options':{..._0x23b87c,..._0xfe174b},'args':_0x11fd70?[_0x11fd70]:[],'tdx':_0x661f19});gracefulExit(_0x44df99);},attemptCmd=workflowCmd['command'](a2_0x390c59(0x41a))[a2_0x390c59(0x1f2)](a2_0x390c59(0x172))[a2_0x390c59(0x42d)]('[attempt-id]',a2_0x390c59(0x27e))[a2_0x390c59(0x42d)](a2_0x390c59(0x324),a2_0x390c59(0x1ff))['argument'](a2_0x390c59(0x3f3),a2_0x390c59(0x425))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e2),'Include\x20subtasks\x20in\x20tasks\x20output')[a2_0x390c59(0x41c)](a2_0x390c59(0x284),a2_0x390c59(0x440))['option'](a2_0x390c59(0x23b),a2_0x390c59(0x14e))[a2_0x390c59(0x41c)](a2_0x390c59(0x13f),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')[a2_0x390c59(0x41c)]('--force',a2_0x390c59(0x2b5))[a2_0x390c59(0x41c)](a2_0x390c59(0x1b1),a2_0x390c59(0x269))[a2_0x390c59(0x3c3)](async(_0x3246e3,_0x385e15,_0x42370c,_0x4d509e)=>{const _0x280454=a2_0x390c59;if(_0x3246e3===_0x280454(0x3b3)){await wfAttemptListAction(_0x385e15,_0x4d509e);return;}if(!_0x3246e3){attemptCmd['help']();return;}const _0x25bf37=program[_0x280454(0x405)](),_0x2e2767=await createTDXInstance(_0x25bf37);let _0x4ab054=0x0;if(!_0x385e15){const _0x438426=new WorkflowAttemptCommand();_0x4ab054=await _0x438426[_0x280454(0x17b)]({'options':{..._0x25bf37,..._0x4d509e},'args':[_0x3246e3],'tdx':_0x2e2767});}else{if(_0x385e15==='logs'){const _0x342104=new WorkflowLogsCommand();_0x4ab054=await _0x342104[_0x280454(0x17b)]({'options':{..._0x25bf37,..._0x4d509e},'args':_0x42370c?[_0x3246e3,_0x42370c]:[_0x3246e3],'tdx':_0x2e2767});}else{if(_0x385e15===_0x280454(0x20d)){const _0x114b77=new WorkflowTasksCommand();_0x4ab054=await _0x114b77[_0x280454(0x17b)]({'options':{..._0x25bf37,..._0x4d509e},'args':[_0x3246e3],'tdx':_0x2e2767});}else{if(_0x385e15===_0x280454(0x182)){const _0x238db8=new WorkflowKillCommand();_0x4ab054=await _0x238db8[_0x280454(0x17b)]({'options':{..._0x25bf37,..._0x4d509e},'args':[_0x3246e3],'tdx':_0x2e2767});}else{if(_0x385e15==='retry'){const _0x4bcc81=new WorkflowRetryCommand();_0x4ab054=await _0x4bcc81[_0x280454(0x17b)]({'options':{..._0x25bf37,..._0x4d509e},'args':[_0x280454(0x249)+_0x3246e3],'tdx':_0x2e2767});}else console['error']('Unknown\x20action:\x20'+_0x385e15),console[_0x280454(0x433)](_0x280454(0x294)),_0x4ab054=0x1;}}}}gracefulExit(_0x4ab054);});attemptCmd['command'](a2_0x390c59(0x387))['description'](a2_0x390c59(0x390))[a2_0x390c59(0x41c)](a2_0x390c59(0x1b1),'Include\x20retried\x20attempts')[a2_0x390c59(0x3c3)](wfAttemptListAction),workflowCmd[a2_0x390c59(0x29f)]('attempts\x20[project]')['description'](a2_0x390c59(0x436))[a2_0x390c59(0x41c)](a2_0x390c59(0x1b1),a2_0x390c59(0x395))[a2_0x390c59(0x3c3)](wfAttemptListAction),workflowCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3fe))[a2_0x390c59(0x1f2)](a2_0x390c59(0x310))[a2_0x390c59(0x41c)](a2_0x390c59(0x431),a2_0x390c59(0x3a5))[a2_0x390c59(0x41c)](a2_0x390c59(0x229),a2_0x390c59(0x44d))[a2_0x390c59(0x41c)](a2_0x390c59(0x386),a2_0x390c59(0x2f8))[a2_0x390c59(0x3c3)](async(_0x1a9c48,_0x38cb6f)=>{const _0x170100=a2_0x390c59,_0x246482=new WorkflowTimelineCommand(),_0x2e6001=program[_0x170100(0x405)](),_0x161571=await createTDXInstance(_0x2e6001),_0x291881=await _0x246482[_0x170100(0x17b)]({'options':{..._0x2e6001,..._0x38cb6f},'args':_0x1a9c48?[_0x1a9c48]:[],'tdx':_0x161571});gracefulExit(_0x291881);}),workflowCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3ab))['description'](a2_0x390c59(0x123))[a2_0x390c59(0x41c)](a2_0x390c59(0x3de),'Resume\x20from\x20specific\x20task')[a2_0x390c59(0x41c)](a2_0x390c59(0x13f),a2_0x390c59(0x2e4))[a2_0x390c59(0x3c3)](async(_0x4b41ff,_0xa42076)=>{const _0x6e343a=a2_0x390c59,_0x5ef323=new WorkflowRetryCommand(),_0x1aa3de=program[_0x6e343a(0x405)](),_0xca9ce3=await createTDXInstance(_0x1aa3de),_0x1fea16=await _0x5ef323[_0x6e343a(0x17b)]({'options':{..._0x1aa3de,..._0xa42076},'args':[_0x4b41ff],'tdx':_0xca9ce3});gracefulExit(_0x1fea16);}),workflowCmd[a2_0x390c59(0x29f)]('run\x20[workflow]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x258))['option'](a2_0x390c59(0x43d),a2_0x390c59(0x333),(_0x53a9ac,_0x3a32a4=[])=>[..._0x3a32a4,_0x53a9ac],[])['option'](a2_0x390c59(0x3c8),a2_0x390c59(0x1ec))[a2_0x390c59(0x3c3)](async(_0x30620e,_0x7aef71)=>{const _0x3592e9=a2_0x390c59,_0x5626c3=new WorkflowRunCommand(),_0x41ec65=program['opts'](),_0x58e0a1=await createTDXInstance(_0x41ec65),_0xe2862a=await _0x5626c3[_0x3592e9(0x17b)]({'options':{..._0x41ec65,..._0x7aef71},'args':_0x30620e?[_0x30620e]:[],'tdx':_0x58e0a1});gracefulExit(_0xe2862a);}),workflowCmd[a2_0x390c59(0x29f)]('download\x20<project-name>\x20[output-dir]')['description']('Download\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x390c59(0x41c)](a2_0x390c59(0x241),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')['action'](async(_0x2afd94,_0x4e759e,_0x28864e)=>{const _0x3fc831=a2_0x390c59,_0x58da4d=new WorkflowDownloadCommand(),_0x54e3f6=program[_0x3fc831(0x405)](),_0x5582ce=await createTDXInstance(_0x54e3f6),_0xb9f0f5=await _0x58da4d['run']({'options':{..._0x54e3f6,..._0x28864e},'args':[_0x2afd94,_0x4e759e||'.'],'tdx':_0x5582ce});gracefulExit(_0xb9f0f5);}),workflowCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2f2))[a2_0x390c59(0x1f2)](a2_0x390c59(0x162))[a2_0x390c59(0x41c)](a2_0x390c59(0x241),a2_0x390c59(0x35f))[a2_0x390c59(0x41c)](a2_0x390c59(0x193),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x390c59(0x3c3)](async(_0x32c2cc,_0x9bdde6,_0x1c70a5)=>{const _0x20525e=a2_0x390c59,_0x132fec=new WorkflowPullCommand(),_0x374d21=program['opts'](),_0x40179a=await createTDXInstance(_0x374d21),_0x4b8138=await _0x132fec[_0x20525e(0x17b)]({'options':{..._0x374d21,..._0x1c70a5},'args':_0x9bdde6?[_0x32c2cc,_0x9bdde6]:[_0x32c2cc],'tdx':_0x40179a});gracefulExit(_0x4b8138);}),workflowCmd[a2_0x390c59(0x29f)]('push\x20[source-dir]')['description'](a2_0x390c59(0x1ee))[a2_0x390c59(0x41c)]('--revision\x20<revision>',a2_0x390c59(0x2c2))['option'](a2_0x390c59(0x193),a2_0x390c59(0x373))[a2_0x390c59(0x41c)]('--skip-validation',a2_0x390c59(0x3d2))[a2_0x390c59(0x3c3)](async(_0x18d556,_0x19f1d5)=>{const _0x32dbd7=a2_0x390c59,_0x1d1406=new WorkflowPushCommand(),_0x287afb=program[_0x32dbd7(0x405)](),_0x590abb=await createTDXInstance(_0x287afb),_0x48f675=await _0x1d1406[_0x32dbd7(0x17b)]({'options':{..._0x287afb,..._0x19f1d5},'args':_0x18d556?[_0x18d556]:[],'tdx':_0x590abb});gracefulExit(_0x48f675);}),workflowCmd['command']('upload\x20[project-name-or-dir]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1e3))[a2_0x390c59(0x41c)]('--name\x20<name>',a2_0x390c59(0x361))[a2_0x390c59(0x41c)]('--revision\x20<revision>',a2_0x390c59(0x31d))[a2_0x390c59(0x41c)](a2_0x390c59(0x25f),a2_0x390c59(0x3d2))[a2_0x390c59(0x3c3)](async(_0x10d5bf,_0x28d2a4)=>{const _0x1bbd3c=a2_0x390c59,_0x42cc02=new WorkflowUploadCommand(),_0x130099=program[_0x1bbd3c(0x405)](),_0x52e8ce=await createTDXInstance(_0x130099),_0x407253=await _0x42cc02[_0x1bbd3c(0x17b)]({'options':{..._0x130099,..._0x28d2a4},'args':_0x10d5bf?[_0x10d5bf]:[],'tdx':_0x52e8ce});gracefulExit(_0x407253);}),workflowCmd[a2_0x390c59(0x29f)]('clone\x20[source-dir]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x3df))[a2_0x390c59(0x41c)]('--name\x20<name>','Name\x20for\x20the\x20new\x20project\x20(required)')[a2_0x390c59(0x41c)](a2_0x390c59(0x241),'Custom\x20revision\x20name\x20(default:\x20timestamp)')[a2_0x390c59(0x41c)](a2_0x390c59(0x193),a2_0x390c59(0x19c))[a2_0x390c59(0x41c)](a2_0x390c59(0x25f),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x390c59(0x3c3)](async(_0x1323a4,_0x21503f)=>{const _0x394453=new WorkflowCloneCommand(),_0x1d6dca=program['opts'](),_0x182ff9=await createTDXInstance(_0x1d6dca),_0x160779=await _0x394453['run']({'options':{..._0x1d6dca,..._0x21503f},'args':_0x1323a4?[_0x1323a4]:[],'tdx':_0x182ff9});gracefulExit(_0x160779);}),workflowCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x316))['description']('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x390c59(0x3c3)](async(_0x50e1c8,_0x55813a)=>{const _0x4f6c05=a2_0x390c59,_0x2be9a2=new WorkflowDeleteCommand(),_0x1f7c17=program['opts'](),_0x1021db=await createTDXInstance(_0x1f7c17),_0x2e2379=await _0x2be9a2[_0x4f6c05(0x17b)]({'options':{..._0x1f7c17,..._0x55813a},'args':[_0x50e1c8],'tdx':_0x1021db});gracefulExit(_0x2e2379);}),workflowCmd['command'](a2_0x390c59(0x212))['description'](a2_0x390c59(0x35a))[a2_0x390c59(0x41c)](a2_0x390c59(0x2e5),'Clear\x20workflow\x20project\x20context')[a2_0x390c59(0x3c3)](async(_0x292bd0,_0x46c462)=>{const _0x34d23c=a2_0x390c59,_0x4960ff=new WorkflowUseCommand(),_0x1e4f89=program['opts'](),_0x14d675=await createTDXInstance(_0x1e4f89),_0x50060e=await _0x4960ff[_0x34d23c(0x17b)]({'options':{..._0x1e4f89,..._0x46c462},'args':_0x292bd0?[_0x292bd0]:[],'tdx':_0x14d675});gracefulExit(_0x50060e);});const wfSecretsCmd=workflowCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x151))['description'](a2_0x390c59(0x409));wfSecretsCmd['command']('list\x20[project]')[a2_0x390c59(0x1f2)]('List\x20secret\x20keys\x20for\x20a\x20project')[a2_0x390c59(0x3c3)](async(_0x14e88c,_0x3e12a4)=>{const _0x307509=a2_0x390c59,_0x1c4fa7=new WorkflowSecretsListCommand(),_0x4ee2d1=program[_0x307509(0x405)](),_0xb04c2d=await createTDXInstance(_0x4ee2d1),_0x46da61=await _0x1c4fa7[_0x307509(0x17b)]({'options':{..._0x4ee2d1,..._0x3e12a4},'args':_0x14e88c?[_0x14e88c]:[],'tdx':_0xb04c2d});gracefulExit(_0x46da61);}),wfSecretsCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3ad))[a2_0x390c59(0x1f2)]('Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])')[a2_0x390c59(0x3c3)](async(_0x4d22d9,_0x71badf)=>{const _0x713a95=a2_0x390c59,_0x422d68=new WorkflowSecretsSetCommand(),_0x496312=program[_0x713a95(0x405)](),_0x590547=await createTDXInstance(_0x496312),_0x44a107=await _0x422d68['run']({'options':{..._0x496312,..._0x71badf},'args':_0x4d22d9,'tdx':_0x590547});gracefulExit(_0x44a107);}),wfSecretsCmd['command'](a2_0x390c59(0x22b))[a2_0x390c59(0x1f2)](a2_0x390c59(0x175))[a2_0x390c59(0x3c3)](async(_0x401220,_0x438279)=>{const _0x3d04ef=a2_0x390c59,_0x2e32cb=new WorkflowSecretsDeleteCommand(),_0x14295=program[_0x3d04ef(0x405)](),_0x4b6b4f=await createTDXInstance(_0x14295),_0x22e7aa=await _0x2e32cb[_0x3d04ef(0x17b)]({'options':{..._0x14295,..._0x438279},'args':_0x401220,'tdx':_0x4b6b4f});gracefulExit(_0x22e7aa);});const jobCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x3f9))['description'](a2_0x390c59(0x23c)),jobListAction=async _0x4297fa=>{const _0x1ff4e6=a2_0x390c59,_0x592b0c=new JobListCommand(),_0x4d8389=program[_0x1ff4e6(0x405)](),_0x3c567b=await createTDXInstance(_0x4d8389),_0x3dc268=await _0x592b0c[_0x1ff4e6(0x17b)]({'options':{..._0x4d8389,..._0x4297fa},'args':[],'tdx':_0x3c567b});gracefulExit(_0x3dc268);};jobCmd['command']('list')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1db))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e6),a2_0x390c59(0x125))['action'](jobListAction),program[a2_0x390c59(0x29f)](a2_0x390c59(0x1f1),{'hidden':!![]})[a2_0x390c59(0x1f2)](a2_0x390c59(0x3d4))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e6),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x390c59(0x3c3)](jobListAction),jobCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x428))['description'](a2_0x390c59(0x235))[a2_0x390c59(0x3c3)](async(_0x4fc4a1,_0x2ccc30)=>{const _0x31c2e7=a2_0x390c59,_0x30ceb7=new JobShowCommand(),_0x264e06=program[_0x31c2e7(0x405)](),_0xcd9ec0=await createTDXInstance(_0x264e06),_0x260c5c=await _0x30ceb7[_0x31c2e7(0x17b)]({'options':{..._0x264e06,..._0x2ccc30},'args':[_0x4fc4a1],'tdx':_0xcd9ec0});gracefulExit(_0x260c5c);}),jobCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3ba))[a2_0x390c59(0x1f2)](a2_0x390c59(0x315))['action'](async(_0x454810,_0x3bff9f)=>{const _0x51bf75=a2_0x390c59,_0x4d23ce=new JobKillCommand(),_0x2e196f=program[_0x51bf75(0x405)](),_0x5a91de=await createTDXInstance(_0x2e196f),_0xc96fd5=await _0x4d23ce[_0x51bf75(0x17b)]({'options':{..._0x2e196f,..._0x3bff9f},'args':[_0x454810],'tdx':_0x5a91de});gracefulExit(_0xc96fd5);}),jobCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x35d))[a2_0x390c59(0x1f2)](a2_0x390c59(0x14b))[a2_0x390c59(0x41c)](a2_0x390c59(0x1cf),a2_0x390c59(0x267),'trino')['option'](a2_0x390c59(0x2f0),a2_0x390c59(0x2d6))[a2_0x390c59(0x41c)]('--database\x20<name>',a2_0x390c59(0x27c),'information_schema')['option']('--result\x20<target>',a2_0x390c59(0x237))[a2_0x390c59(0x3c3)](async(_0x354ae6,_0x210f87)=>{const _0x1863ea=a2_0x390c59,_0x5bd087=new JobSubmitCommand(),_0x542daf=program[_0x1863ea(0x405)](),_0x54b720=await createTDXInstance(_0x542daf),_0xd47da9=await _0x5bd087[_0x1863ea(0x17b)]({'options':{..._0x542daf,..._0x210f87},'args':_0x354ae6?[_0x354ae6]:[],'tdx':_0x54b720});gracefulExit(_0xd47da9);}),jobCmd['command'](a2_0x390c59(0x2ca))['description'](a2_0x390c59(0x3b2))[a2_0x390c59(0x3c3)](async(_0x1327c7,_0x3789c4)=>{const _0x2695b4=a2_0x390c59,_0x5ece34=new JobResultCommand(),_0x553b96=program['opts'](),_0x208b59=await createTDXInstance(_0x553b96),_0x174903=await _0x5ece34[_0x2695b4(0x17b)]({'options':{..._0x553b96,..._0x3789c4},'args':[_0x1327c7],'tdx':_0x208b59});gracefulExit(_0x174903);});const scheduleCmd=jobCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x1a6))[a2_0x390c59(0x1f2)]('Scheduled\x20query\x20management\x20commands');scheduleCmd['command']('list\x20[pattern]')['description'](a2_0x390c59(0x1aa))[a2_0x390c59(0x3c3)](async(_0x469a78,_0x1be623)=>{const _0x475e69=a2_0x390c59,_0x14fa61=new ScheduleListCommand(),_0x47fcc4=program[_0x475e69(0x405)](),_0x5f0572=await createTDXInstance(_0x47fcc4),_0x5edd5a=await _0x14fa61[_0x475e69(0x17b)]({'options':{..._0x47fcc4,..._0x1be623},'args':_0x469a78?[_0x469a78]:[],'tdx':_0x5f0572});gracefulExit(_0x5edd5a);}),scheduleCmd[a2_0x390c59(0x29f)]('show\x20<name>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x413))[a2_0x390c59(0x3c3)](async(_0xdb9869,_0x6f4bf)=>{const _0x2e08ab=a2_0x390c59,_0x462e3a=new ScheduleShowCommand(),_0x1ca035=program[_0x2e08ab(0x405)](),_0x2faca4=await createTDXInstance(_0x1ca035),_0x82002c=await _0x462e3a[_0x2e08ab(0x17b)]({'options':{..._0x1ca035,..._0x6f4bf},'args':[_0xdb9869],'tdx':_0x2faca4});gracefulExit(_0x82002c);}),scheduleCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x39d))['description'](a2_0x390c59(0x459))[a2_0x390c59(0x41c)](a2_0x390c59(0x147),a2_0x390c59(0x3c1))[a2_0x390c59(0x41c)](a2_0x390c59(0x2ce),a2_0x390c59(0x308))[a2_0x390c59(0x13c)](a2_0x390c59(0x2f0),a2_0x390c59(0x2d6))['option'](a2_0x390c59(0x307),a2_0x390c59(0x2e9),a2_0x390c59(0x2df))[a2_0x390c59(0x41c)](a2_0x390c59(0x1b7),a2_0x390c59(0x19d))[a2_0x390c59(0x41c)](a2_0x390c59(0x39c),a2_0x390c59(0x1a9))[a2_0x390c59(0x41c)](a2_0x390c59(0x13d),a2_0x390c59(0x36a))[a2_0x390c59(0x41c)](a2_0x390c59(0x2f6),a2_0x390c59(0x39b))[a2_0x390c59(0x41c)]('--retry-limit\x20<0~32>',a2_0x390c59(0x167))[a2_0x390c59(0x41c)](a2_0x390c59(0x42c),a2_0x390c59(0x45b))['option']('--result\x20<url>','Result\x20output\x20destination\x20URL')['action'](async(_0x44207f,_0x5c9344)=>{const _0x2c2d03=a2_0x390c59,_0x37bc15=new ScheduleCreateCommand(),_0x13b32a=program[_0x2c2d03(0x405)](),_0x2f1d98=await createTDXInstance(_0x13b32a);_0x5c9344['in']&&(_0x5c9344[_0x2c2d03(0x2a0)]=_0x5c9344['in']);const _0x540ad0=await _0x37bc15[_0x2c2d03(0x17b)]({'options':{..._0x13b32a,..._0x5c9344},'args':[_0x44207f],'tdx':_0x2f1d98});gracefulExit(_0x540ad0);}),scheduleCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x327))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2e3))['option'](a2_0x390c59(0x147),a2_0x390c59(0x3a3))[a2_0x390c59(0x41c)](a2_0x390c59(0x2ce),a2_0x390c59(0x308))['option']('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')[a2_0x390c59(0x41c)](a2_0x390c59(0x307),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x390c59(0x41c)]('--cron\x20<expression>','Cron\x20expression\x20for\x20scheduling')['option'](a2_0x390c59(0x39c),a2_0x390c59(0x2fa))[a2_0x390c59(0x41c)]('--delay\x20<seconds>',a2_0x390c59(0x36a))[a2_0x390c59(0x41c)]('--priority\x20<-2~2>',a2_0x390c59(0x39b))[a2_0x390c59(0x41c)]('--retry-limit\x20<0~32>',a2_0x390c59(0x167))[a2_0x390c59(0x41c)]('--engine-version\x20<version>',a2_0x390c59(0x45b))['option']('--result\x20<url>',a2_0x390c59(0x453))['action'](async(_0x1d8e19,_0x5aca3b)=>{const _0x1b47f6=a2_0x390c59,_0x2a645c=new ScheduleUpdateCommand(),_0x4db4d8=program[_0x1b47f6(0x405)](),_0x5457fd=await createTDXInstance(_0x4db4d8);_0x5aca3b['in']&&(_0x5aca3b[_0x1b47f6(0x2a0)]=_0x5aca3b['in']);const _0x31833e=await _0x2a645c[_0x1b47f6(0x17b)]({'options':{..._0x4db4d8,..._0x5aca3b},'args':[_0x1d8e19],'tdx':_0x5457fd});gracefulExit(_0x31833e);}),scheduleCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x448))['description'](a2_0x390c59(0x158))[a2_0x390c59(0x3c3)](async(_0x227c03,_0x465914)=>{const _0x1bba05=a2_0x390c59,_0x3bbca3=new ScheduleDeleteCommand(),_0x354547=program[_0x1bba05(0x405)](),_0x1aacb4=await createTDXInstance(_0x354547),_0x294caf=await _0x3bbca3[_0x1bba05(0x17b)]({'options':{..._0x354547,..._0x465914},'args':[_0x227c03],'tdx':_0x1aacb4});gracefulExit(_0x294caf);}),scheduleCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x1cc))[a2_0x390c59(0x1f2)]('Run\x20a\x20scheduled\x20query\x20immediately')['option']('--time\x20<iso8601>',a2_0x390c59(0x2f9))[a2_0x390c59(0x41c)](a2_0x390c59(0x300),a2_0x390c59(0x1f0))['action'](async(_0x3b950d,_0x2daf4a)=>{const _0x272810=a2_0x390c59,_0x15993d=new ScheduleRunCommand(),_0x102d15=program[_0x272810(0x405)](),_0xfe9c6a=await createTDXInstance(_0x102d15),_0x412d12=await _0x15993d[_0x272810(0x17b)]({'options':{..._0x102d15,..._0x2daf4a},'args':[_0x3b950d],'tdx':_0xfe9c6a});gracefulExit(_0x412d12);}),scheduleCmd['command'](a2_0x390c59(0x190))['description'](a2_0x390c59(0x202))[a2_0x390c59(0x41c)](a2_0x390c59(0x1b8),a2_0x390c59(0x139))[a2_0x390c59(0x41c)](a2_0x390c59(0x350),a2_0x390c59(0x30b))['action'](async(_0x5b36ce,_0x479296)=>{const _0x54e57f=a2_0x390c59,_0x9b0db8=new ScheduleHistoryCommand(),_0x3d9dc4=program[_0x54e57f(0x405)](),_0x273280=await createTDXInstance(_0x3d9dc4),_0xbd5a60=await _0x9b0db8[_0x54e57f(0x17b)]({'options':{..._0x3d9dc4,..._0x479296},'args':[_0x5b36ce],'tdx':_0x273280});gracefulExit(_0xbd5a60);});const llmCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x2cd))[a2_0x390c59(0x1f2)](a2_0x390c59(0x215));llmCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x384))[a2_0x390c59(0x1f2)](a2_0x390c59(0x24e))['action'](async(_0x5957ba,_0x51c8c2)=>{const _0x44fc0a=a2_0x390c59,_0x3b0982=new LLMUseCommand(),_0x5c3c7c=program[_0x44fc0a(0x405)](),_0x5ba8d7=await createTDXInstance(_0x5c3c7c),_0x376a01=await _0x3b0982['run']({'options':{..._0x5c3c7c,..._0x51c8c2},'args':[_0x5957ba],'tdx':_0x5ba8d7});gracefulExit(_0x376a01);}),llmCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x1d5))[a2_0x390c59(0x1f2)](a2_0x390c59(0x43e))[a2_0x390c59(0x3c3)](async _0xb87d5c=>{const _0x32d76f=a2_0x390c59,_0x6ca04=new LLMModelsCommand(),_0x3bb6dc=program[_0x32d76f(0x405)](),_0x4200aa=await createTDXInstance(_0x3bb6dc),_0x669e16=await _0x6ca04[_0x32d76f(0x17b)]({'options':{..._0x3bb6dc,..._0xb87d5c},'args':[],'tdx':_0x4200aa});gracefulExit(_0x669e16);});const projectCmd=llmCmd['command'](a2_0x390c59(0x337))['description']('LLM\x20project\x20management'),llmProjectListAction=async(_0x556c14,_0x533c7d)=>{const _0x11cb0c=a2_0x390c59,_0x520486=new LLMProjectsCommand(),_0x532c84=program[_0x11cb0c(0x405)](),_0x202522=await createTDXInstance(_0x532c84),_0x205f4d=await _0x520486['run']({'options':{..._0x532c84,..._0x533c7d},'args':_0x556c14?[_0x556c14]:[],'tdx':_0x202522});gracefulExit(_0x205f4d);};projectCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3cb))[a2_0x390c59(0x1f2)]('List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x390c59(0x3c3)](llmProjectListAction),llmCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x407))[a2_0x390c59(0x1f2)](a2_0x390c59(0x3f7))['action'](llmProjectListAction),projectCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x39d))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2d7))['option']('--description\x20<text>',a2_0x390c59(0x2fc))['action'](async(_0x467958,_0x1d5fb8)=>{const _0x346d75=a2_0x390c59,_0x6f34da=new LLMProjectCreateCommand(),_0x41265f=program['opts'](),_0x5dc807=await createTDXInstance(_0x41265f),_0x523f14=await _0x6f34da[_0x346d75(0x17b)]({'options':{..._0x41265f,..._0x1d5fb8},'args':[_0x467958],'tdx':_0x5dc807});gracefulExit(_0x523f14);}),projectCmd[a2_0x390c59(0x29f)]('delete\x20<name>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1dd))[a2_0x390c59(0x3c3)](async(_0x22f96a,_0x28aff2)=>{const _0x410859=a2_0x390c59,_0x25045d=new LLMProjectDeleteCommand(),_0x3b5c48=program['opts'](),_0x3a89a8=await createTDXInstance(_0x3b5c48),_0x37c3ac=await _0x25045d[_0x410859(0x17b)]({'options':{..._0x3b5c48,..._0x28aff2},'args':[_0x22f96a],'tdx':_0x3a89a8});gracefulExit(_0x37c3ac);}),projectCmd['command'](a2_0x390c59(0x16e))['description']('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')['option'](a2_0x390c59(0x1fa),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x390c59(0x41c)](a2_0x390c59(0x193),a2_0x390c59(0x276))[a2_0x390c59(0x3c3)](async(_0x2e6463,_0x1c44f5)=>{const _0x3316bc=a2_0x390c59,_0x561109=new LLMProjectBackupCommand(),_0x3faa03=program[_0x3316bc(0x405)](),_0x34f51b=await createTDXInstance(_0x3faa03),_0x10dbfc=await _0x561109['run']({'options':{..._0x3faa03,..._0x1c44f5},'args':[_0x2e6463],'tdx':_0x34f51b});gracefulExit(_0x10dbfc);}),projectCmd[a2_0x390c59(0x29f)]('restore\x20<folder>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x137))[a2_0x390c59(0x41c)](a2_0x390c59(0x148),a2_0x390c59(0x339))[a2_0x390c59(0x41c)](a2_0x390c59(0x193),a2_0x390c59(0x3fd))[a2_0x390c59(0x3c3)](async(_0xc9c84d,_0x548a27)=>{const _0x242d0a=a2_0x390c59,_0x443bab=new LLMProjectRestoreCommand(),_0x19003a=program[_0x242d0a(0x405)](),_0x1b7fdf=await createTDXInstance(_0x19003a),_0x3c013f=await _0x443bab[_0x242d0a(0x17b)]({'options':{..._0x19003a,..._0x548a27},'args':[_0xc9c84d],'tdx':_0x1b7fdf});gracefulExit(_0x3c013f);});const llmAgentListAction=async(_0x50f7fe,_0x5cec33)=>{const _0x94f72=a2_0x390c59,_0x4a2bbc=new LLMAgentsCommand(),_0x2c1547=program[_0x94f72(0x405)](),_0x59576d=await createTDXInstance(_0x2c1547),_0x5aafa1=await _0x4a2bbc['run']({'options':{..._0x2c1547,..._0x5cec33},'args':_0x50f7fe?[_0x50f7fe]:[],'tdx':_0x59576d});gracefulExit(_0x5aafa1);};llmCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x36c))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2eb))[a2_0x390c59(0x3c3)](llmAgentListAction),program[a2_0x390c59(0x29f)](a2_0x390c59(0x36c))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2eb))[a2_0x390c59(0x3c3)](llmAgentListAction),llmCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x426))[a2_0x390c59(0x1f2)](a2_0x390c59(0x3d9))[a2_0x390c59(0x41c)](a2_0x390c59(0x1d2),a2_0x390c59(0x41b))['action'](async(_0x4ed8cf,_0x1a2693)=>{const _0x8af7eb=a2_0x390c59,_0x52d198=new LLMHistoryCommand(),_0x319c7f=program[_0x8af7eb(0x405)](),_0x3f0fc4=await createTDXInstance(_0x319c7f),_0x226845=await _0x52d198[_0x8af7eb(0x17b)]({'options':{..._0x319c7f,..._0x1a2693},'args':_0x4ed8cf?[_0x4ed8cf]:[],'tdx':_0x3f0fc4});gracefulExit(_0x226845);});isExperimentalAvailable()&&llmCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x19b))[a2_0x390c59(0x1f2)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x390c59(0x3c3)](async(_0x112ffd,_0x25811d)=>{const _0x3b949f=a2_0x390c59,_0x3206bc=new LLMLogCommand(),_0x3ed16c=program[_0x3b949f(0x405)](),_0xe17c45=await createTDXInstance(_0x3ed16c),_0x5dc7a3=await _0x3206bc[_0x3b949f(0x17b)]({'options':{..._0x3ed16c,..._0x25811d},'args':[_0x112ffd],'tdx':_0xe17c45});gracefulExit(_0x5dc7a3);});program[a2_0x390c59(0x29f)](a2_0x390c59(0x445))['usage']('[options]\x20--\x20[claude-code-args...]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x2e0))[a2_0x390c59(0x41c)](a2_0x390c59(0x3f6),a2_0x390c59(0x3e7))[a2_0x390c59(0x41c)](a2_0x390c59(0x196),a2_0x390c59(0x1b0))[a2_0x390c59(0x41c)](a2_0x390c59(0x13b),'Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)')[a2_0x390c59(0x2af)]()[a2_0x390c59(0x133)](!![])[a2_0x390c59(0x21d)]('after',a2_0x390c59(0x30a))[a2_0x390c59(0x3c3)](async(_0x5379be,_0x45aa55)=>{const _0x253143=a2_0x390c59,_0x523f21=program['opts'](),_0x17c7d8=Array['isArray'](_0x5379be)?_0x5379be:[];if(_0x17c7d8[0x0]===_0x253143(0x198)){const _0x3d671c=new ClaudeStatuslineCommand(),_0x4d8163=await _0x3d671c[_0x253143(0x17b)]({'options':{..._0x523f21,..._0x45aa55},'args':_0x17c7d8[_0x253143(0x34f)](0x1),'tdx':null});gracefulExit(_0x4d8163);}if(_0x17c7d8[0x0]===_0x253143(0x38f)){const _0x4e98de=new ClaudeUsageCommand(),_0x1c3d21=await _0x4e98de[_0x253143(0x17b)]({'options':{..._0x523f21,..._0x45aa55},'args':_0x17c7d8[_0x253143(0x34f)](0x1),'tdx':null});gracefulExit(_0x1c3d21);}const _0x43e962=new ClaudeCommand(),_0x2f88f6=await createTDXInstance(_0x523f21),_0x109ce8=await _0x43e962['run']({'options':{..._0x523f21,..._0x45aa55},'args':_0x17c7d8,'tdx':_0x2f88f6});gracefulExit(_0x109ce8);}),program[a2_0x390c59(0x29f)](a2_0x390c59(0x2fd))[a2_0x390c59(0x1f2)](a2_0x390c59(0x296))[a2_0x390c59(0x41c)](a2_0x390c59(0x2e5),a2_0x390c59(0x328))[a2_0x390c59(0x41c)](a2_0x390c59(0x42e),a2_0x390c59(0x2b2))[a2_0x390c59(0x3c3)](async(_0x4144b3,_0x108a62,_0x4cba89)=>{const _0x2a6698=a2_0x390c59,_0x14848e=new UseCommand(),_0x41fc29=program['opts'](),_0x3128dc=[];if(_0x4144b3)_0x3128dc['push'](_0x4144b3);if(_0x108a62)_0x3128dc['push'](_0x108a62);const _0x95143=_0x4144b3===_0x2a6698(0x1c0),_0x4a1736=_0x95143?await createTDXInstance(_0x41fc29):null,_0x28a86b=await _0x14848e['run']({'options':{..._0x41fc29,..._0x4cba89},'args':_0x3128dc,'tdx':_0x4a1736});gracefulExit(_0x28a86b);}),program[a2_0x390c59(0x29f)](a2_0x390c59(0x332))['description'](a2_0x390c59(0x3dc))[a2_0x390c59(0x3c3)](async _0x1d863f=>{const _0x2ce897=a2_0x390c59,_0x26e111=new StatusCommand(),_0x37825e=program[_0x2ce897(0x405)](),_0x5850e6=await createTDXInstance(_0x37825e),_0x5a3c5e=await _0x26e111[_0x2ce897(0x17b)]({'options':{..._0x37825e,..._0x1d863f},'args':[],'tdx':_0x5850e6});gracefulExit(_0x5a3c5e);}),program[a2_0x390c59(0x29f)](a2_0x390c59(0x3f5))['description'](a2_0x390c59(0x30e))[a2_0x390c59(0x41c)]('--dry-run',a2_0x390c59(0x42a))[a2_0x390c59(0x41c)](a2_0x390c59(0x351),a2_0x390c59(0x1bf))[a2_0x390c59(0x41c)](a2_0x390c59(0x3ee),a2_0x390c59(0x312))[a2_0x390c59(0x3c3)](async(_0x2d417b,_0x472303)=>{const _0x5e1aab=a2_0x390c59,_0x5b950b=new UpgradeCommand(),_0x376605=program[_0x5e1aab(0x405)](),_0x39612f=await _0x5b950b[_0x5e1aab(0x17b)]({'options':{..._0x376605,..._0x472303},'args':_0x2d417b?[_0x2d417b]:[],'tdx':null});gracefulExit(_0x39612f);}),program[a2_0x390c59(0x29f)](a2_0x390c59(0x3ce))[a2_0x390c59(0x1f2)]('Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)')['option']('--default',a2_0x390c59(0x3a4))[a2_0x390c59(0x3c3)](async(_0x2fabe0,_0xebbb46)=>{const _0x2eece7=a2_0x390c59,_0x4ce5ea=new UnsetCommand(),_0x5e4819=program[_0x2eece7(0x405)](),_0x598895=await _0x4ce5ea['run']({'options':{..._0x5e4819,..._0xebbb46},'args':[_0x2fabe0],'tdx':null});gracefulExit(_0x598895);}),program['command'](a2_0x390c59(0x3c9))[a2_0x390c59(0x1f2)](a2_0x390c59(0x320))[a2_0x390c59(0x41c)](a2_0x390c59(0x1d2),a2_0x390c59(0x403))[a2_0x390c59(0x3c3)](async _0x1ba857=>{const _0x1e8263=a2_0x390c59,_0x1f0de2=new ChatsCommand(),_0x2df02b=program['opts'](),_0x5a156c=await createTDXInstance(_0x2df02b),_0x1b37fd=await _0x1f0de2[_0x1e8263(0x17b)]({'options':{..._0x2df02b,..._0x1ba857},'args':[],'tdx':_0x5a156c});gracefulExit(_0x1b37fd);});const authCmd=program['command'](a2_0x390c59(0x3ae))[a2_0x390c59(0x1f2)](a2_0x390c59(0x184));async function runAuthStatusCommand(_0x46ad7e){const _0x53cf7d=a2_0x390c59,_0x38ce22=new AuthStatusCommand(),_0x444fc3=program[_0x53cf7d(0x405)](),_0x2160dc=await createTDXInstance(_0x444fc3),_0x1f3642=await _0x38ce22[_0x53cf7d(0x17b)]({'options':{..._0x444fc3,..._0x46ad7e},'args':[],'tdx':_0x2160dc});gracefulExit(_0x1f3642);}authCmd[a2_0x390c59(0x3c3)](runAuthStatusCommand),authCmd['command']('status')[a2_0x390c59(0x1f2)](a2_0x390c59(0x199))[a2_0x390c59(0x3c3)](runAuthStatusCommand);async function authSetupAction(_0x1b2c31){const _0x52fbae=a2_0x390c59,_0xb12810=new AuthSetupCommand(),_0x305b28=program[_0x52fbae(0x405)](),_0x23a29a=await createTDXInstance(_0x305b28),_0x22e066=await _0xb12810[_0x52fbae(0x17b)]({'options':{..._0x305b28,..._0x1b2c31},'args':[],'tdx':_0x23a29a});gracefulExit(_0x22e066);}authCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x400))['description']('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x390c59(0x41c)]('--account-name\x20<name>',a2_0x390c59(0x1ad))[a2_0x390c59(0x21d)]('after',a2_0x390c59(0x25e))[a2_0x390c59(0x3c3)](authSetupAction),authCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x422),{'hidden':!![]})[a2_0x390c59(0x41c)]('--account-name\x20<name>','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login')[a2_0x390c59(0x3c3)](authSetupAction),authCmd[a2_0x390c59(0x29f)]('clear')[a2_0x390c59(0x1f2)](a2_0x390c59(0x3e5))[a2_0x390c59(0x21d)](a2_0x390c59(0x355),a2_0x390c59(0x391))[a2_0x390c59(0x3c3)](async _0x43feac=>{const _0x2ad768=a2_0x390c59,_0x2aae5b=new AuthClearCommand(),_0x30b823=program[_0x2ad768(0x405)](),_0x25c6e9=await _0x2aae5b[_0x2ad768(0x17b)]({'options':{..._0x30b823,..._0x43feac},'args':[],'tdx':null});gracefulExit(_0x25c6e9);});const userCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x420))[a2_0x390c59(0x1f2)](a2_0x390c59(0x1fd)),userListAction=async _0x275adb=>{const _0x380d3d=a2_0x390c59,_0x8d6785=new UserListCommand(),_0x4a1069=program[_0x380d3d(0x405)](),_0x3df369=await createTDXInstance(_0x4a1069),_0x3cb8d9=await _0x8d6785['run']({'options':{..._0x4a1069,..._0x275adb},'args':[],'tdx':_0x3df369});gracefulExit(_0x3cb8d9);};userCmd['action'](async _0x19acf7=>{const _0x472438=a2_0x390c59,_0x8337e2=new UserCommand(),_0x5111f1=program['opts'](),_0x1644be=await createTDXInstance(_0x5111f1),_0x22ffae=await _0x8337e2[_0x472438(0x17b)]({'options':{..._0x5111f1,..._0x19acf7},'args':[],'tdx':_0x1644be});gracefulExit(_0x22ffae);}),userCmd[a2_0x390c59(0x29f)]('list')['description'](a2_0x390c59(0x174))['action'](userListAction),program['command'](a2_0x390c59(0x2b1))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2a3))['action'](userListAction);const policyCmd=program['command']('policy')[a2_0x390c59(0x1f2)](a2_0x390c59(0x23a));policyCmd[a2_0x390c59(0x3c3)](async _0x215f17=>{const _0x3df472=a2_0x390c59,_0x1f6997=new PolicyCommand(),_0x1ca382=program[_0x3df472(0x405)](),_0xa0bfb3=await createTDXInstance(_0x1ca382),_0x12035e=await _0x1f6997['run']({'options':{..._0x1ca382,..._0x215f17},'args':[],'tdx':_0xa0bfb3});gracefulExit(_0x12035e);}),policyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3b3))[a2_0x390c59(0x1f2)](a2_0x390c59(0x33f))[a2_0x390c59(0x3c3)](async _0xe9b0cc=>{const _0x234483=a2_0x390c59,_0x5ef28a=new PolicyListCommand(),_0x580300=program[_0x234483(0x405)](),_0x538feb=await createTDXInstance(_0x580300),_0x2506bf=await _0x5ef28a[_0x234483(0x17b)]({'options':{..._0x580300,..._0xe9b0cc},'args':[],'tdx':_0x538feb});gracefulExit(_0x2506bf);}),policyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x364))['description'](a2_0x390c59(0x261))[a2_0x390c59(0x3c3)](async(_0x33c4c2,_0x178468)=>{const _0x4d76ee=a2_0x390c59,_0x33feda=new PolicyShowCommand(),_0x2e5833=program[_0x4d76ee(0x405)](),_0x2bbce2=await createTDXInstance(_0x2e5833),_0x3907d2=await _0x33feda[_0x4d76ee(0x17b)]({'options':{..._0x2e5833,..._0x178468},'args':[_0x33c4c2],'tdx':_0x2bbce2});gracefulExit(_0x3907d2);}),program['command']('profiles')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1e0))[a2_0x390c59(0x3c3)](async _0x44c9e8=>{const _0x49d9f6=a2_0x390c59,_0x3be527=new ProfilesCommand(),_0x1c80e5=program[_0x49d9f6(0x405)](),_0x185895=await _0x3be527[_0x49d9f6(0x17b)]({'options':{..._0x1c80e5,..._0x44c9e8},'args':[],'tdx':null});gracefulExit(_0x185895);});const profileCmd=program[a2_0x390c59(0x29f)]('profile')[a2_0x390c59(0x1f2)](a2_0x390c59(0x438));profileCmd[a2_0x390c59(0x3c3)](()=>{const _0x362d30=a2_0x390c59;profileCmd[_0x362d30(0x3fa)]();});const profileListAction=async _0x3e71b2=>{const _0x660dc3=a2_0x390c59,_0x49fd07=new ProfilesCommand(),_0x7ef09a=program['opts'](),_0x293486=await _0x49fd07[_0x660dc3(0x17b)]({'options':{..._0x7ef09a,..._0x3e71b2},'args':[],'tdx':null});gracefulExit(_0x293486);};profileCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3b3))[a2_0x390c59(0x1f2)](a2_0x390c59(0x1e0))[a2_0x390c59(0x3c3)](profileListAction),profileCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x17a))[a2_0x390c59(0x1f2)](a2_0x390c59(0x126))[a2_0x390c59(0x41c)](a2_0x390c59(0x1b3),a2_0x390c59(0x1ad))['option'](a2_0x390c59(0x392),'Overwrite\x20existing\x20profile')['addHelpText'](a2_0x390c59(0x355),a2_0x390c59(0x44b))[a2_0x390c59(0x3c3)](async(_0x1d3c57,_0x276fc4)=>{const _0x37b4bb=a2_0x390c59,_0x4b5edb=new ProfileCreateCommand(),_0x35c2b9=program[_0x37b4bb(0x405)](),_0x569ec3=await _0x4b5edb[_0x37b4bb(0x17b)]({'options':{..._0x35c2b9,..._0x276fc4},'args':_0x1d3c57?[_0x1d3c57]:[],'tdx':null});gracefulExit(_0x569ec3);});async function profileDeleteAction(_0x49dfd,_0x1f750b){const _0x5aff55=a2_0x390c59,_0x42eefd=new ProfileDeleteCommand(),_0x445d69=program['opts'](),_0x3e603d=await _0x42eefd[_0x5aff55(0x17b)]({'options':{..._0x445d69,..._0x1f750b},'args':[_0x49dfd],'tdx':null});gracefulExit(_0x3e603d);}profileCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x448))[a2_0x390c59(0x1f2)](a2_0x390c59(0x22e))[a2_0x390c59(0x21d)](a2_0x390c59(0x355),a2_0x390c59(0x39e))[a2_0x390c59(0x3c3)](profileDeleteAction),profileCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x381),{'hidden':!![]})[a2_0x390c59(0x3c3)](profileDeleteAction),profileCmd['command'](a2_0x390c59(0x2e8))[a2_0x390c59(0x1f2)](a2_0x390c59(0x3bf))[a2_0x390c59(0x21d)](a2_0x390c59(0x355),a2_0x390c59(0x372))[a2_0x390c59(0x3c3)](async(_0x29d1ed,_0x630878)=>{const _0x2853b5=a2_0x390c59,_0x4e512e=new ProfileSetCommand(),_0x567f05=program[_0x2853b5(0x405)](),_0x5e8a08=await _0x4e512e[_0x2853b5(0x17b)]({'options':{..._0x567f05,..._0x630878},'args':[_0x29d1ed],'tdx':null});gracefulExit(_0x5e8a08);}),profileCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x323))['description'](a2_0x390c59(0x450))[a2_0x390c59(0x41c)](a2_0x390c59(0x42e),a2_0x390c59(0x2b2))[a2_0x390c59(0x21d)]('after',a2_0x390c59(0x1a4))[a2_0x390c59(0x3c3)](async(_0x3650c6,_0x5ade5a)=>{const _0x573239=a2_0x390c59,_0x15e49a=new ProfileUseCommand(),_0x27b67f=program[_0x573239(0x405)](),_0x1f8f00=await _0x15e49a[_0x573239(0x17b)]({'options':{..._0x27b67f,..._0x5ade5a},'args':[_0x3650c6],'tdx':null});gracefulExit(_0x1f8f00);});const engageCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x24a))[a2_0x390c59(0x1f2)](a2_0x390c59(0x334)),createEngageAction=_0x3a83f8=>{return async(_0x1da16a,_0x29f710)=>{const _0x45854e=a2_0x452c,_0xe165f=new _0x3a83f8(),_0x380ea0=program[_0x45854e(0x405)](),_0x3b9c2=await createTDXInstance(_0x380ea0),_0x2ffcbc=await _0xe165f['run']({'options':{..._0x380ea0,..._0x29f710},'args':[_0x1da16a],'tdx':_0x3b9c2});gracefulExit(_0x2ffcbc);};},createEngageNoArgAction=_0x1639c6=>{return async _0x29c850=>{const _0x4cb2a4=a2_0x452c,_0x5bbbd2=new _0x1639c6(),_0x33f646=program['opts'](),_0x40c3a7=await createTDXInstance(_0x33f646),_0x8bcd9d=await _0x5bbbd2[_0x4cb2a4(0x17b)]({'options':{..._0x33f646,..._0x29c850},'args':[],'tdx':_0x40c3a7});gracefulExit(_0x8bcd9d);};},createEngageListAction=_0x1a41c3=>{return async(_0x40f5af,_0x48614c)=>{const _0x486898=a2_0x452c,_0x686917=new _0x1a41c3(),_0x2219c7=program[_0x486898(0x405)](),_0x5d8bc4=await createTDXInstance(_0x2219c7),_0x15efb3=await _0x686917[_0x486898(0x17b)]({'options':{..._0x2219c7,..._0x48614c},'args':_0x40f5af?[_0x40f5af]:[],'tdx':_0x5d8bc4});gracefulExit(_0x15efb3);};},campaignCmd=engageCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x20c))['description'](a2_0x390c59(0x173));campaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3cb))[a2_0x390c59(0x1f2)](a2_0x390c59(0x367))[a2_0x390c59(0x41c)](a2_0x390c59(0x307),a2_0x390c59(0x226))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e6),a2_0x390c59(0x273))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),'Workspace\x20name')[a2_0x390c59(0x3c3)](createEngageListAction(EngageCampaignsCommand)),engageCmd['command']('campaigns\x20[pattern]')[a2_0x390c59(0x1f2)]('List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)')[a2_0x390c59(0x41c)]('--type\x20<type>',a2_0x390c59(0x226))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e6),a2_0x390c59(0x273))[a2_0x390c59(0x41c)]('--workspace\x20<name>',a2_0x390c59(0x40e))[a2_0x390c59(0x3c3)](createEngageListAction(EngageCampaignsCommand)),campaignCmd['command'](a2_0x390c59(0x1a8))[a2_0x390c59(0x1f2)](a2_0x390c59(0x44a))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),a2_0x390c59(0x40e))['option'](a2_0x390c59(0x2c8),a2_0x390c59(0x40d))['action'](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x390c59(0x29f)]('create')[a2_0x390c59(0x1f2)](a2_0x390c59(0x322))[a2_0x390c59(0x13c)](a2_0x390c59(0x2ab),'Campaign\x20name')[a2_0x390c59(0x13c)]('--type\x20<type>',a2_0x390c59(0x442))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),a2_0x390c59(0x437))[a2_0x390c59(0x41c)](a2_0x390c59(0x177),a2_0x390c59(0x2da))['option'](a2_0x390c59(0x2b0),a2_0x390c59(0x44f))[a2_0x390c59(0x41c)](a2_0x390c59(0x207),a2_0x390c59(0x213))[a2_0x390c59(0x41c)]('--json-columns\x20<cols>','JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x390c59(0x41c)](a2_0x390c59(0x2c4),'Delivery\x20start\x20time\x20(ISO\x208601\x20format)')['option']('--timezone\x20<tz>',a2_0x390c59(0x1a3))[a2_0x390c59(0x3c3)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x12f))[a2_0x390c59(0x1f2)](a2_0x390c59(0x132))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),'Workspace\x20name')[a2_0x390c59(0x41c)](a2_0x390c59(0x2ab),a2_0x390c59(0x282))[a2_0x390c59(0x41c)]('--description\x20<desc>',a2_0x390c59(0x2da))[a2_0x390c59(0x41c)]('--segment\x20<path>',a2_0x390c59(0x44f))[a2_0x390c59(0x41c)](a2_0x390c59(0x207),a2_0x390c59(0x213))[a2_0x390c59(0x41c)](a2_0x390c59(0x40c),a2_0x390c59(0x383))['option']('--start-at\x20<datetime>',a2_0x390c59(0x368))['option'](a2_0x390c59(0x39c),a2_0x390c59(0x1a3))[a2_0x390c59(0x3c3)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x390c59(0x29f)]('delete\x20<name-or-id>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x2f5))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),'Workspace\x20name')[a2_0x390c59(0x41c)](a2_0x390c59(0x36f),'Skip\x20confirmation\x20prompt')[a2_0x390c59(0x3c3)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x206))[a2_0x390c59(0x1f2)]('Launch\x20a\x20campaign')[a2_0x390c59(0x41c)]('--workspace\x20<name>',a2_0x390c59(0x40e))[a2_0x390c59(0x3c3)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x214))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2ee))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),'Workspace\x20name')[a2_0x390c59(0x3c3)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x304))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2f7))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),a2_0x390c59(0x40e))[a2_0x390c59(0x3c3)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x390c59(0x29f)]('duplicate\x20<name-or-id>')['description'](a2_0x390c59(0x200))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),'Workspace\x20name')[a2_0x390c59(0x3c3)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x225))['description']('Pull\x20campaigns\x20to\x20YAML\x20files')[a2_0x390c59(0x41c)]('--workspace\x20<name>',a2_0x390c59(0x40e))[a2_0x390c59(0x41c)]('--name\x20<name>','Pull\x20specific\x20campaign\x20by\x20name')[a2_0x390c59(0x41c)](a2_0x390c59(0x307),a2_0x390c59(0x226))['option'](a2_0x390c59(0x193),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x390c59(0x3c3)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x390c59(0x29f)]('push\x20[target]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1c8))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),a2_0x390c59(0x40e))[a2_0x390c59(0x41c)]('--dry-run',a2_0x390c59(0x163))[a2_0x390c59(0x3c3)](createEngageAction(EngageCampaignPushCommand)),campaignCmd['command'](a2_0x390c59(0x14c))[a2_0x390c59(0x1f2)]('Validate\x20campaign\x20YAML\x20files\x20locally')[a2_0x390c59(0x41c)]('--verbose','Show\x20all\x20files\x20including\x20valid\x20ones')[a2_0x390c59(0x3c3)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x371))[a2_0x390c59(0x1f2)]('Always-on\x20campaign\x20management');alwaysOnCampaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3cb))[a2_0x390c59(0x1f2)](a2_0x390c59(0x1bb))[a2_0x390c59(0x41c)](a2_0x390c59(0x307),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x390c59(0x41c)](a2_0x390c59(0x1e6),a2_0x390c59(0x397))['requiredOption'](a2_0x390c59(0x1e1),a2_0x390c59(0x437))[a2_0x390c59(0x3c3)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x28f))[a2_0x390c59(0x1f2)](a2_0x390c59(0x32d))[a2_0x390c59(0x41c)](a2_0x390c59(0x307),a2_0x390c59(0x226))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e6),a2_0x390c59(0x397))[a2_0x390c59(0x13c)](a2_0x390c59(0x1e1),a2_0x390c59(0x437))['action'](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x390c59(0x29f)]('show\x20<name-or-id>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x1c3))[a2_0x390c59(0x13c)](a2_0x390c59(0x1e1),a2_0x390c59(0x437))[a2_0x390c59(0x41c)](a2_0x390c59(0x2c8),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x390c59(0x3c3)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x41d))[a2_0x390c59(0x1f2)](a2_0x390c59(0x255))[a2_0x390c59(0x13c)]('--name\x20<name>',a2_0x390c59(0x347))['requiredOption'](a2_0x390c59(0x307),a2_0x390c59(0x442))[a2_0x390c59(0x13c)](a2_0x390c59(0x1e1),a2_0x390c59(0x437))[a2_0x390c59(0x41c)](a2_0x390c59(0x177),a2_0x390c59(0x2da))[a2_0x390c59(0x41c)](a2_0x390c59(0x2b0),a2_0x390c59(0x218))[a2_0x390c59(0x41c)]('--enable-utm-tracking',a2_0x390c59(0x161))[a2_0x390c59(0x3c3)](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x390c59(0x29f)]('update\x20<name-or-id>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x18c))[a2_0x390c59(0x13c)]('--workspace\x20<name>',a2_0x390c59(0x437))[a2_0x390c59(0x41c)](a2_0x390c59(0x2ab),a2_0x390c59(0x282))['option']('--description\x20<desc>','Campaign\x20description')['option']('--segment\x20<path>',a2_0x390c59(0x218))[a2_0x390c59(0x41c)](a2_0x390c59(0x2db),a2_0x390c59(0x161))[a2_0x390c59(0x3c3)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3d3))[a2_0x390c59(0x1f2)](a2_0x390c59(0x3c0))[a2_0x390c59(0x13c)](a2_0x390c59(0x1e1),a2_0x390c59(0x437))[a2_0x390c59(0x41c)]('--yes',a2_0x390c59(0x3c2))[a2_0x390c59(0x3c3)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x206))['description']('Launch\x20an\x20always-on\x20campaign')[a2_0x390c59(0x13c)](a2_0x390c59(0x1e1),a2_0x390c59(0x437))[a2_0x390c59(0x3c3)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd['command'](a2_0x390c59(0x214))['description'](a2_0x390c59(0x2d5))[a2_0x390c59(0x13c)]('--workspace\x20<name>',a2_0x390c59(0x437))[a2_0x390c59(0x3c3)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x390c59(0x29f)]('resume\x20<name-or-id>')['description']('Resume\x20a\x20paused\x20always-on\x20campaign')[a2_0x390c59(0x13c)](a2_0x390c59(0x1e1),a2_0x390c59(0x437))[a2_0x390c59(0x3c3)](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2c6))[a2_0x390c59(0x1f2)](a2_0x390c59(0x1b6))[a2_0x390c59(0x13c)]('--workspace\x20<name>',a2_0x390c59(0x437))[a2_0x390c59(0x41c)](a2_0x390c59(0x36f),'Skip\x20confirmation\x20prompt')[a2_0x390c59(0x3c3)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x291))[a2_0x390c59(0x1f2)]('Duplicate\x20an\x20always-on\x20campaign')['requiredOption']('--workspace\x20<name>',a2_0x390c59(0x437))['requiredOption'](a2_0x390c59(0x2ab),a2_0x390c59(0x21c))[a2_0x390c59(0x3c3)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x43f))[a2_0x390c59(0x1f2)]('Email\x20template\x20management');templateCmd['command'](a2_0x390c59(0x3cb))['description'](a2_0x390c59(0x21b))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),'Workspace\x20name')[a2_0x390c59(0x3c3)](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x427))[a2_0x390c59(0x1f2)](a2_0x390c59(0x144))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),a2_0x390c59(0x40e))['action'](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x390c59(0x29f)]('show\x20<name-or-id>')[a2_0x390c59(0x1f2)](a2_0x390c59(0x399))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),a2_0x390c59(0x40e))[a2_0x390c59(0x41c)]('--full',a2_0x390c59(0x40d))[a2_0x390c59(0x3c3)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x41d))[a2_0x390c59(0x1f2)](a2_0x390c59(0x402))['requiredOption']('--name\x20<name>',a2_0x390c59(0x3e8))['requiredOption']('--subject\x20<subject>',a2_0x390c59(0x447))[a2_0x390c59(0x41c)](a2_0x390c59(0x1ab),a2_0x390c59(0x13a))[a2_0x390c59(0x41c)]('--html-file\x20<path>','Read\x20HTML\x20template\x20from\x20file')[a2_0x390c59(0x41c)]('--workspace\x20<name>',a2_0x390c59(0x437))[a2_0x390c59(0x41c)](a2_0x390c59(0x382),'Plaintext\x20template\x20content')['option'](a2_0x390c59(0x1f9),a2_0x390c59(0x2ff),_0x32e58f=>{const _0x5b30e0=a2_0x390c59;if(!['beefree','grapesjs'][_0x5b30e0(0x432)](_0x32e58f))throw new SDKError(ErrorCode[_0x5b30e0(0x2d0)],_0x5b30e0(0x2c3)+_0x32e58f+_0x5b30e0(0x272));return _0x32e58f;})[a2_0x390c59(0x3c3)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x12f))[a2_0x390c59(0x1f2)](a2_0x390c59(0x313))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),a2_0x390c59(0x40e))[a2_0x390c59(0x41c)](a2_0x390c59(0x2ab),a2_0x390c59(0x430))[a2_0x390c59(0x41c)]('--subject\x20<subject>',a2_0x390c59(0x447))[a2_0x390c59(0x41c)](a2_0x390c59(0x1ab),a2_0x390c59(0x13a))[a2_0x390c59(0x41c)](a2_0x390c59(0x2d3),a2_0x390c59(0x216))[a2_0x390c59(0x41c)](a2_0x390c59(0x382),'Plaintext\x20template\x20content')[a2_0x390c59(0x3c3)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3b4))[a2_0x390c59(0x1f2)](a2_0x390c59(0x412))[a2_0x390c59(0x41c)](a2_0x390c59(0x1e1),a2_0x390c59(0x40e))[a2_0x390c59(0x41c)]('--name\x20<name>','Pull\x20specific\x20template\x20by\x20name')[a2_0x390c59(0x41c)](a2_0x390c59(0x278),a2_0x390c59(0x3c2))['option']('--dry-run','Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x390c59(0x3c3)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x180))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2d1))['option'](a2_0x390c59(0x1e1),'Workspace\x20name')[a2_0x390c59(0x41c)](a2_0x390c59(0x278),'Skip\x20confirmation\x20prompt')[a2_0x390c59(0x41c)](a2_0x390c59(0x193),a2_0x390c59(0x163))[a2_0x390c59(0x3c3)](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x14c))['description'](a2_0x390c59(0x3ac))[a2_0x390c59(0x41c)](a2_0x390c59(0x30d),a2_0x390c59(0x14d))[a2_0x390c59(0x3c3)](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3d3))[a2_0x390c59(0x1f2)](a2_0x390c59(0x208))['option']('--workspace\x20<name>','Workspace\x20name')[a2_0x390c59(0x41c)](a2_0x390c59(0x36f),a2_0x390c59(0x3c2))[a2_0x390c59(0x3c3)](createEngageAction(EngageTemplateDeleteCommand));function a2_0x452c(_0x2f36a1,_0x4bd70b){_0x2f36a1=_0x2f36a1-0x11f;const _0x21d808=a2_0x21d8();let _0x452c02=_0x21d808[_0x2f36a1];return _0x452c02;}const workspaceCmd=engageCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x240))[a2_0x390c59(0x1f2)]('Workspace\x20management');workspaceCmd['command']('list\x20[pattern]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x39a))[a2_0x390c59(0x3c3)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x451))[a2_0x390c59(0x1f2)](a2_0x390c59(0x197))[a2_0x390c59(0x3c3)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x1a8))[a2_0x390c59(0x1f2)](a2_0x390c59(0x192))[a2_0x390c59(0x41c)]('--full',a2_0x390c59(0x40d))[a2_0x390c59(0x3c3)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x41d))[a2_0x390c59(0x1f2)]('Create\x20a\x20workspace')[a2_0x390c59(0x13c)](a2_0x390c59(0x2ab),a2_0x390c59(0x40e))['option'](a2_0x390c59(0x177),a2_0x390c59(0x35e))[a2_0x390c59(0x3c3)](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x12f))[a2_0x390c59(0x1f2)](a2_0x390c59(0x31a))[a2_0x390c59(0x41c)](a2_0x390c59(0x2ab),a2_0x390c59(0x1f8))[a2_0x390c59(0x41c)](a2_0x390c59(0x177),a2_0x390c59(0x35e))['action'](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x390c59(0x3d3))[a2_0x390c59(0x1f2)](a2_0x390c59(0x40f))['option'](a2_0x390c59(0x36f),a2_0x390c59(0x3c2))[a2_0x390c59(0x3c3)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd['command'](a2_0x390c59(0x323))[a2_0x390c59(0x1f2)](a2_0x390c59(0x3f0))[a2_0x390c59(0x3c3)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x306))['description'](a2_0x390c59(0x3ed));deliveryCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x127))[a2_0x390c59(0x1f2)]('List\x20email\x20senders')['option']('--workspace\x20<name>',a2_0x390c59(0x40e))[a2_0x390c59(0x3c3)](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x366))['description'](a2_0x390c59(0x2bc)),connectionListAction=async _0x54d8cf=>{const _0x46cfff=a2_0x390c59,_0x143104=new ConnectionListCommand(),_0x20b2d2=program[_0x46cfff(0x405)](),_0x19125e=await createTDXInstance(_0x20b2d2),_0x2e9375=await _0x143104[_0x46cfff(0x17b)]({'options':{..._0x20b2d2,..._0x54d8cf},'args':[],'tdx':_0x19125e});gracefulExit(_0x2e9375);};connectionCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3b3))['description'](a2_0x390c59(0x2b3))['action'](connectionListAction),program[a2_0x390c59(0x29f)](a2_0x390c59(0x406),{'hidden':!![]})[a2_0x390c59(0x1f2)](a2_0x390c59(0x170))['action'](connectionListAction),connectionCmd[a2_0x390c59(0x29f)]('show\x20<name>')['description']('Show\x20connection\x20details\x20by\x20name')[a2_0x390c59(0x3c3)](async(_0x4e31ab,_0x17716e)=>{const _0x3544a7=new ConnectionShowCommand(),_0x59b053=program['opts'](),_0x1acd67=await createTDXInstance(_0x59b053),_0x5cf7f0=await _0x3544a7['run']({'options':{..._0x59b053,..._0x17716e},'args':[_0x4e31ab],'tdx':_0x1acd67});gracefulExit(_0x5cf7f0);}),connectionCmd['command'](a2_0x390c59(0x231))[a2_0x390c59(0x1f2)](a2_0x390c59(0x22d))[a2_0x390c59(0x3c3)](async(_0x2c0886,_0x5adaae)=>{const _0x46e45b=a2_0x390c59,_0x284648=new ConnectionSchemaCommand(),_0x128d97=program[_0x46e45b(0x405)](),_0x9d43b1=await createTDXInstance(_0x128d97),_0x1870af=await _0x284648['run']({'options':{..._0x128d97,..._0x5adaae},'args':[_0x2c0886],'tdx':_0x9d43b1});gracefulExit(_0x1870af);}),connectionCmd[a2_0x390c59(0x29f)]('types')[a2_0x390c59(0x1f2)](a2_0x390c59(0x37d))[a2_0x390c59(0x3c3)](async _0x255f27=>{const _0x1ffe18=a2_0x390c59,_0x4d5a4c=new ConnectionTypesCommand(),_0x43580c=program[_0x1ffe18(0x405)](),_0xb776=await createTDXInstance(_0x43580c),_0x30ae3c=await _0x4d5a4c['run']({'options':{..._0x43580c,..._0x255f27},'args':[],'tdx':_0xb776});gracefulExit(_0x30ae3c);}),connectionCmd[a2_0x390c59(0x29f)]('settings\x20<type>')['description']('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x390c59(0x3c3)](async(_0x21dd9f,_0x3b912a)=>{const _0x1676c2=new ConnectionSettingsCommand(),_0x41da33=program['opts'](),_0x2b2de3=await createTDXInstance(_0x41da33),_0x160bdc=await _0x1676c2['run']({'options':{..._0x41da33,..._0x3b912a},'args':[_0x21dd9f],'tdx':_0x2b2de3});gracefulExit(_0x160bdc);});const casCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x18a))[a2_0x390c59(0x1f2)](a2_0x390c59(0x262));casCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3b3))[a2_0x390c59(0x1f2)]('List\x20composable\x20audiences')['action'](async _0x34b5c8=>{const _0x19c106=a2_0x390c59,_0x608c89=new CASListCommand(),_0x3ae2cc=program[_0x19c106(0x405)](),_0x105021=await createTDXInstance(_0x3ae2cc),_0x3c6fe4=await _0x608c89['run']({'options':{..._0x3ae2cc,..._0x34b5c8},'args':[],'tdx':_0x105021});gracefulExit(_0x3c6fe4);}),casCmd['command']('desc\x20[name]')[a2_0x390c59(0x1f2)](a2_0x390c59(0x357))[a2_0x390c59(0x3c3)](async(_0xd08be3,_0x316175)=>{const _0x229b20=a2_0x390c59,_0x43f971=new CASDescCommand(),_0x4982dc=program[_0x229b20(0x405)](),_0x412787=await createTDXInstance(_0x4982dc),_0x45d9b1=await _0x43f971[_0x229b20(0x17b)]({'options':{..._0x4982dc,..._0x316175},'args':_0xd08be3?[_0xd08be3]:[],'tdx':_0x412787});gracefulExit(_0x45d9b1);}),casCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x344))['description'](a2_0x390c59(0x3d5))['option'](a2_0x390c59(0x1d6),a2_0x390c59(0x29a))[a2_0x390c59(0x41c)](a2_0x390c59(0x193),a2_0x390c59(0x435))[a2_0x390c59(0x3c3)](async(_0x2826b2,_0x4b6af9)=>{const _0x7033a4=a2_0x390c59,_0x2fd353=new CASPullCommand(),_0x3c6e38=program[_0x7033a4(0x405)](),_0x3ec600=await createTDXInstance(_0x3c6e38),_0x254256=await _0x2fd353['run']({'options':{..._0x3c6e38,..._0x4b6af9},'args':_0x2826b2?[_0x2826b2]:[],'tdx':_0x3ec600});gracefulExit(_0x254256);}),casCmd['command'](a2_0x390c59(0x180))[a2_0x390c59(0x1f2)](a2_0x390c59(0x12e))[a2_0x390c59(0x41c)](a2_0x390c59(0x193),a2_0x390c59(0x3e3))['action'](async(_0x4b0d67,_0x41158a)=>{const _0x2a9a1e=a2_0x390c59,_0x33a4ce=new CASPushCommand(),_0x59e491=program['opts'](),_0x3d1b72=await createTDXInstance(_0x59e491),_0x19c984=await _0x33a4ce[_0x2a9a1e(0x17b)]({'options':{..._0x59e491,..._0x41158a},'args':_0x4b0d67?[_0x4b0d67]:[],'tdx':_0x3d1b72});gracefulExit(_0x19c984);}),casCmd['command']('preview\x20<segment_name>')['description'](a2_0x390c59(0x295))['option'](a2_0x390c59(0x244),'Composable\x20audience\x20name')['action'](async(_0x56d498,_0x397807)=>{const _0x30a1c3=a2_0x390c59,_0x466ec0=new CASPreviewCommand(),_0x12ba29=program[_0x30a1c3(0x405)](),_0x39a832=await createTDXInstance(_0x12ba29),_0x38c690=await _0x466ec0[_0x30a1c3(0x17b)]({'options':{..._0x12ba29,..._0x397807},'args':[_0x56d498,_0x397807['audience']],'tdx':_0x39a832});gracefulExit(_0x38c690);});const casSgCmd=casCmd[a2_0x390c59(0x29f)]('sg')['description'](a2_0x390c59(0x41e));casSgCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3da))['description'](a2_0x390c59(0x243))[a2_0x390c59(0x3c3)](async(_0x4fc176,_0x54ed04)=>{const _0x1d4e51=a2_0x390c59,_0x226299=new CASSegmentListCommand(),_0x43d1c4=program[_0x1d4e51(0x405)](),_0x237ced=await createTDXInstance(_0x43d1c4),_0x25da35=await _0x226299[_0x1d4e51(0x17b)]({'options':{..._0x43d1c4,..._0x54ed04},'args':_0x4fc176?[_0x4fc176]:[],'tdx':_0x237ced});gracefulExit(_0x25da35);});const journeyCmd=program[a2_0x390c59(0x29f)](a2_0x390c59(0x314))['description'](a2_0x390c59(0x35c)),journeyListAction=async(_0x5c0cd8,_0x57513d)=>{const _0x4f21e6=a2_0x390c59,_0xad6f14=new JourneyListCommand(),_0x395f1b=program[_0x4f21e6(0x405)](),_0x1eb637=await createTDXInstance(_0x395f1b),_0x4bbb0f=await _0xad6f14[_0x4f21e6(0x17b)]({'options':{..._0x395f1b,..._0x57513d},'args':_0x5c0cd8?[_0x5c0cd8]:[],'tdx':_0x1eb637});gracefulExit(_0x4bbb0f);};journeyCmd['command'](a2_0x390c59(0x3cb))[a2_0x390c59(0x1f2)](a2_0x390c59(0x2cc))['action'](journeyListAction),journeyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2e6))[a2_0x390c59(0x1f2)](a2_0x390c59(0x38c))[a2_0x390c59(0x41c)](a2_0x390c59(0x3ff),a2_0x390c59(0x22f))[a2_0x390c59(0x41c)](a2_0x390c59(0x152),'Include\x20execution\x20statistics')[a2_0x390c59(0x3c3)](async(_0x586ec7,_0xf5f684)=>{const _0x3cd4b3=a2_0x390c59,_0x9d5e59=new JourneyViewCommand(),_0x5a73e8=program[_0x3cd4b3(0x405)](),_0x11a42e=await createTDXInstance(_0x5a73e8),_0x3920e3=await _0x9d5e59[_0x3cd4b3(0x17b)]({'options':{..._0x5a73e8,..._0xf5f684},'args':[_0x586ec7],'tdx':_0x11a42e});gracefulExit(_0x3920e3);}),journeyCmd['command'](a2_0x390c59(0x168))[a2_0x390c59(0x1f2)](a2_0x390c59(0x29b))[a2_0x390c59(0x41c)](a2_0x390c59(0x45f),a2_0x390c59(0x233))[a2_0x390c59(0x41c)]('--from\x20<date>',a2_0x390c59(0x26c))[a2_0x390c59(0x41c)]('--to\x20<date>','End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x390c59(0x41c)](a2_0x390c59(0x270),a2_0x390c59(0x444))[a2_0x390c59(0x3c3)](async(_0x2a98fc,_0x1a2ce8)=>{const _0x35d384=a2_0x390c59,_0x568ef0=new JourneyStatsCommand(),_0x3c8cb6=program[_0x35d384(0x405)](),_0x9af125=await createTDXInstance(_0x3c8cb6),_0xba7550=await _0x568ef0[_0x35d384(0x17b)]({'options':{..._0x3c8cb6,..._0x1a2ce8},'args':[_0x2a98fc],'tdx':_0x9af125});gracefulExit(_0xba7550);}),journeyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x242))[a2_0x390c59(0x1f2)]('Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)')[a2_0x390c59(0x41c)](a2_0x390c59(0x307),a2_0x390c59(0x1fe))[a2_0x390c59(0x41c)](a2_0x390c59(0x266),a2_0x390c59(0x26c))[a2_0x390c59(0x41c)](a2_0x390c59(0x181),a2_0x390c59(0x1f4))['option'](a2_0x390c59(0x1ba),'Maximum\x20number\x20of\x20nodes',_0x3edb86=>{const _0x4f0298=a2_0x390c59,_0x1f780f=parseInt(_0x3edb86,0xa);if(isNaN(_0x1f780f))throw new Error('Invalid\x20--limit\x20value:\x20\x22'+_0x3edb86+_0x4f0298(0x2b6));return _0x1f780f;})['action'](async(_0x2ff54e,_0x5508d3)=>{const _0x22a92a=a2_0x390c59,_0x3852e3=new JourneyTrafficCommand(),_0x239886=program[_0x22a92a(0x405)](),_0x497eda=await createTDXInstance(_0x239886),_0xd795a9=await _0x3852e3[_0x22a92a(0x17b)]({'options':{..._0x239886,..._0x5508d3},'args':[_0x2ff54e],'tdx':_0x497eda});gracefulExit(_0xd795a9);}),journeyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x26a))[a2_0x390c59(0x1f2)]('Pause\x20a\x20running\x20journey')['action'](async(_0x4ca531,_0xd59ade)=>{const _0x4be389=a2_0x390c59,_0x2f4cbd=new JourneyPauseCommand(),_0x590a2d=program[_0x4be389(0x405)](),_0x9e0748=await createTDXInstance(_0x590a2d),_0x3b22e5=await _0x2f4cbd[_0x4be389(0x17b)]({'options':{..._0x590a2d,..._0xd59ade},'args':[_0x4ca531],'tdx':_0x9e0748});gracefulExit(_0x3b22e5);}),journeyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x18f))[a2_0x390c59(0x1f2)](a2_0x390c59(0x417))[a2_0x390c59(0x3c3)](async(_0x436d48,_0x8bfbb0)=>{const _0x3834b2=a2_0x390c59,_0x32beca=new JourneyResumeCommand(),_0x5b0732=program[_0x3834b2(0x405)](),_0x4e4f0b=await createTDXInstance(_0x5b0732),_0x52a957=await _0x32beca['run']({'options':{..._0x5b0732,..._0x8bfbb0},'args':[_0x436d48],'tdx':_0x4e4f0b});gracefulExit(_0x52a957);}),journeyCmd[a2_0x390c59(0x29f)]('pull\x20[name]')['description'](a2_0x390c59(0x195))[a2_0x390c59(0x41c)](a2_0x390c59(0x193),'Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files')[a2_0x390c59(0x3c3)](async(_0x360505,_0x4f65fa)=>{const _0x46f545=a2_0x390c59,_0x5c7ab4=new JourneyPullCommand(),_0x2dcaa7=program['opts'](),_0x4e6938=await createTDXInstance(_0x2dcaa7),_0x3150cd=await _0x5c7ab4[_0x46f545(0x17b)]({'options':{..._0x2dcaa7,..._0x4f65fa},'args':_0x360505?[_0x360505]:[],'tdx':_0x4e6938});gracefulExit(_0x3150cd);}),journeyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x180))['description']('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x390c59(0x3c3)](async(_0x4fba38,_0x10b11a)=>{const _0x534a43=a2_0x390c59,_0x249dff=new JourneyPushCommand(),_0x4b298c=program[_0x534a43(0x405)](),_0x10fe31=await createTDXInstance(_0x4b298c),_0x77c957=await _0x249dff['run']({'options':{..._0x4b298c,..._0x10b11a},'args':_0x4fba38?[_0x4fba38]:[],'tdx':_0x10fe31});gracefulExit(_0x77c957);}),journeyCmd['command'](a2_0x390c59(0x1f3))['description'](a2_0x390c59(0x201))[a2_0x390c59(0x3c3)](async(_0x42c1ee,_0x58ef58)=>{const _0x1ced3d=a2_0x390c59,_0xcb62d0=new JourneyColumnsCommand(),_0x1e615e=program[_0x1ced3d(0x405)](),_0x49d066=await createTDXInstance(_0x1e615e),_0x5c5951=await _0xcb62d0['run']({'options':{..._0x1e615e,..._0x58ef58},'args':[_0x42c1ee],'tdx':_0x49d066});gracefulExit(_0x5c5951);}),journeyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2e7))['description'](a2_0x390c59(0x38a))[a2_0x390c59(0x3c3)](async(_0xaab894,_0x20eb53)=>{const _0x41f82b=a2_0x390c59,_0x2551d5=new JourneyActivationsCommand(),_0x56ad0b=program[_0x41f82b(0x405)](),_0x57f34a=await createTDXInstance(_0x56ad0b),_0x5d36f1=await _0x2551d5[_0x41f82b(0x17b)]({'options':{..._0x56ad0b,..._0x20eb53},'args':[_0xaab894],'tdx':_0x57f34a});gracefulExit(_0x5d36f1);}),journeyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x342))[a2_0x390c59(0x1f2)](a2_0x390c59(0x234))['action'](async(_0xb8b40,_0x577fcf)=>{const _0x53866a=a2_0x390c59,_0x3b88c7=new JourneyVersionsCommand(),_0x406edd=program[_0x53866a(0x405)](),_0x404401=await createTDXInstance(_0x406edd),_0xcaf764=await _0x3b88c7['run']({'options':{..._0x406edd,..._0x577fcf},'args':[_0xb8b40],'tdx':_0x404401});gracefulExit(_0xcaf764);});const journeyVersionCmd=journeyCmd[a2_0x390c59(0x29f)]('version')[a2_0x390c59(0x1f2)](a2_0x390c59(0x286));journeyVersionCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x157))[a2_0x390c59(0x1f2)](a2_0x390c59(0x1c5))['action'](async(_0x43dd3a,_0x38c88e)=>{const _0x798c6c=a2_0x390c59,_0x2d287c=new JourneyVersionCreateCommand(),_0x441df5=program['opts'](),_0x38db02=await createTDXInstance(_0x441df5),_0x2903eb=await _0x2d287c[_0x798c6c(0x17b)]({'options':{..._0x441df5,..._0x38c88e},'args':[_0x43dd3a],'tdx':_0x38db02});gracefulExit(_0x2903eb);}),journeyVersionCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2e6))[a2_0x390c59(0x1f2)](a2_0x390c59(0x16d))[a2_0x390c59(0x13c)]('--version\x20<number>','Version\x20number\x20to\x20view')['action'](async(_0x32ff4f,_0x240bba)=>{const _0x5d16b5=a2_0x390c59,_0x4ca2b1=new JourneyVersionViewCommand(),_0x18770e=program[_0x5d16b5(0x405)](),_0x345915=await createTDXInstance(_0x18770e),_0x29f576=await _0x4ca2b1[_0x5d16b5(0x17b)]({'options':{..._0x18770e,..._0x240bba},'args':[_0x32ff4f],'tdx':_0x345915});gracefulExit(_0x29f576);}),journeyCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x14c))[a2_0x390c59(0x1f2)](a2_0x390c59(0x1ed))[a2_0x390c59(0x3c3)](async(_0x1cca76,_0xa56699)=>{const _0x1ae6f3=a2_0x390c59,_0xa14ad1=new JourneyValidateCommand(),_0x5f39c0=program[_0x1ae6f3(0x405)](),_0x45f0cb=await createTDXInstance(_0x5f39c0),_0xb27740=await _0xa14ad1[_0x1ae6f3(0x17b)]({'options':{..._0x5f39c0,..._0xa56699},'args':_0x1cca76?[_0x1cca76]:[],'tdx':_0x45f0cb});gracefulExit(_0xb27740);}),program[a2_0x390c59(0x29f)](a2_0x390c59(0x329))[a2_0x390c59(0x1f2)](a2_0x390c59(0x423))[a2_0x390c59(0x3c3)](journeyListAction);const agentSyncCmd=program[a2_0x390c59(0x29f)]('agent')[a2_0x390c59(0x1f2)](a2_0x390c59(0x27b));agentSyncCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x2ec))[a2_0x390c59(0x1f2)](a2_0x390c59(0x1a7))[a2_0x390c59(0x41c)](a2_0x390c59(0x2ba),a2_0x390c59(0x252))['option'](a2_0x390c59(0x392),a2_0x390c59(0x2b4))['option'](a2_0x390c59(0x37b),a2_0x390c59(0x248))[a2_0x390c59(0x3c3)](async(_0x386ae9,_0x44b88e,_0x28d566)=>{const _0x4c7266=a2_0x390c59,_0x34dc39=new AgentPullCommand(),_0x2f0b66=program[_0x4c7266(0x405)](),_0x4f9907=await createTDXInstance(_0x2f0b66),_0x1cd419=[];if(_0x386ae9)_0x1cd419['push'](_0x386ae9);if(_0x44b88e)_0x1cd419['push'](_0x44b88e);const _0x27a9e4=await _0x34dc39[_0x4c7266(0x17b)]({'options':{..._0x2f0b66,..._0x28d566},'args':_0x1cd419,'tdx':_0x4f9907});gracefulExit(_0x27a9e4);}),agentSyncCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x1df))[a2_0x390c59(0x1f2)](a2_0x390c59(0x146))[a2_0x390c59(0x41c)](a2_0x390c59(0x392),a2_0x390c59(0x1af))[a2_0x390c59(0x3c3)](async(_0x3ecfb9,_0x44695d)=>{const _0x5f0383=a2_0x390c59,_0x12c9c1=new AgentPushCommand(),_0x4196af=program[_0x5f0383(0x405)](),_0x7acb81=await createTDXInstance(_0x4196af),_0x772711=await _0x12c9c1[_0x5f0383(0x17b)]({'options':{..._0x4196af,..._0x44695d},'args':_0x3ecfb9?[_0x3ecfb9]:[],'tdx':_0x7acb81});gracefulExit(_0x772711);}),agentSyncCmd[a2_0x390c59(0x29f)]('clone\x20[source]')[a2_0x390c59(0x1f2)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')['option'](a2_0x390c59(0x349),a2_0x390c59(0x3d7))[a2_0x390c59(0x3c3)](async(_0x2bf92e,_0x1a38e4)=>{const _0x2cca06=a2_0x390c59,_0x15c867=new AgentCloneCommand(),_0x15f203=program[_0x2cca06(0x405)](),_0x2b5268=await createTDXInstance(_0x15f203),_0x117b9b=await _0x15c867[_0x2cca06(0x17b)]({'options':{..._0x15f203,..._0x1a38e4},'args':_0x2bf92e?[_0x2bf92e]:[],'tdx':_0x2b5268});gracefulExit(_0x117b9b);}),agentSyncCmd['command'](a2_0x390c59(0x348))['description'](a2_0x390c59(0x236))[a2_0x390c59(0x41c)](a2_0x390c59(0x245),a2_0x390c59(0x15d))[a2_0x390c59(0x41c)](a2_0x390c59(0x256),'Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)')[a2_0x390c59(0x41c)](a2_0x390c59(0x193),a2_0x390c59(0x45a))[a2_0x390c59(0x41c)](a2_0x390c59(0x38d),a2_0x390c59(0x178))['option'](a2_0x390c59(0x16f),a2_0x390c59(0x246))[a2_0x390c59(0x3c3)](async(_0x1fda11,_0x2a6c6d)=>{const _0x3eb327=a2_0x390c59,_0x595b81=new AgentTestCommand(),_0x4cfff5=program['opts'](),_0x1f8f13=await createTDXInstance(_0x4cfff5),_0x102045=await _0x595b81[_0x3eb327(0x17b)]({'options':{..._0x4cfff5,..._0x2a6c6d},'args':_0x1fda11?[_0x1fda11]:[],'tdx':_0x1f8f13});gracefulExit(_0x102045);}),agentSyncCmd['command']('list\x20[pattern]')[a2_0x390c59(0x1f2)]('List\x20agents\x20in\x20current\x20project')[a2_0x390c59(0x3c3)](llmAgentListAction),agentSyncCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x145))[a2_0x390c59(0x1f2)]('Show\x20agent\x20details')[a2_0x390c59(0x3c3)](async(_0x221684,_0x14739e)=>{const _0x31a492=a2_0x390c59,_0x2bbb56=new LLMAgentShowCommand(),_0x4a512c=program['opts'](),_0x52f684=await createTDXInstance(_0x4a512c),_0x583383=await _0x2bbb56[_0x31a492(0x17b)]({'options':{..._0x4a512c,..._0x14739e},'args':[_0x221684],'tdx':_0x52f684});gracefulExit(_0x583383);}),agentSyncCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x39d))['description'](a2_0x390c59(0x1cd))['option'](a2_0x390c59(0x374),a2_0x390c59(0x1eb))[a2_0x390c59(0x41c)](a2_0x390c59(0x398),a2_0x390c59(0x394),a2_0x390c59(0x1e5))[a2_0x390c59(0x41c)]('--starter-message\x20<text>',a2_0x390c59(0x263))[a2_0x390c59(0x41c)](a2_0x390c59(0x1da),a2_0x390c59(0x2f3),'4')[a2_0x390c59(0x41c)](a2_0x390c59(0x340),a2_0x390c59(0x130),a2_0x390c59(0x362))[a2_0x390c59(0x3c3)](async(_0x50cba2,_0x31830e)=>{const _0x427035=a2_0x390c59,_0xeb7e42=new LLMAgentCreateCommand(),_0x5d6958=program[_0x427035(0x405)](),_0x564772=await createTDXInstance(_0x5d6958),_0x35a0ff=await _0xeb7e42[_0x427035(0x17b)]({'options':{..._0x5d6958,..._0x31830e},'args':[_0x50cba2],'tdx':_0x564772});gracefulExit(_0x35a0ff);}),agentSyncCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x3f8))[a2_0x390c59(0x1f2)](a2_0x390c59(0x23d))[a2_0x390c59(0x41c)](a2_0x390c59(0x179),a2_0x390c59(0x1fb))['option'](a2_0x390c59(0x3be),a2_0x390c59(0x3a0))[a2_0x390c59(0x41c)](a2_0x390c59(0x34b),a2_0x390c59(0x419))[a2_0x390c59(0x41c)](a2_0x390c59(0x287),a2_0x390c59(0x263))[a2_0x390c59(0x3c3)](async(_0x157e42,_0x1251a9)=>{const _0x48270a=a2_0x390c59,_0x2abc6f=new LLMAgentUpdateCommand(),_0x2d3bb4=program['opts'](),_0x280281=await createTDXInstance(_0x2d3bb4),_0x2fb316=await _0x2abc6f[_0x48270a(0x17b)]({'options':{..._0x2d3bb4,..._0x1251a9},'args':[_0x157e42],'tdx':_0x280281});gracefulExit(_0x2fb316);}),agentSyncCmd['command'](a2_0x390c59(0x1d3))[a2_0x390c59(0x1f2)]('Delete\x20an\x20agent')[a2_0x390c59(0x3c3)](async(_0xbfacdb,_0x5deae0)=>{const _0x54d2c8=a2_0x390c59,_0x524bb2=new LLMAgentDeleteCommand(),_0x1a7033=program[_0x54d2c8(0x405)](),_0x891365=await createTDXInstance(_0x1a7033),_0x51f719=await _0x524bb2[_0x54d2c8(0x17b)]({'options':{..._0x1a7033,..._0x5deae0},'args':[_0xbfacdb],'tdx':_0x891365});gracefulExit(_0x51f719);});const workCmd=program['command']('work')[a2_0x390c59(0x1f2)](a2_0x390c59(0x21a));workCmd[a2_0x390c59(0x41c)](a2_0x390c59(0x369),a2_0x390c59(0x150))[a2_0x390c59(0x41c)](a2_0x390c59(0x165),'Include\x20all\x20items\x20(no\x20stale\x20filtering)')[a2_0x390c59(0x3c3)](workSummaryAction),workCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x228))['description'](a2_0x390c59(0x28c))[a2_0x390c59(0x41c)]('--github\x20<owner/repo>',a2_0x390c59(0x359))[a2_0x390c59(0x3c3)](workInitAction),workCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x1be))[a2_0x390c59(0x1f2)](a2_0x390c59(0x289))[a2_0x390c59(0x41c)](a2_0x390c59(0x363),a2_0x390c59(0x210),a2_0x390c59(0x302))[a2_0x390c59(0x41c)]('--tags\x20<tags>',a2_0x390c59(0x285))[a2_0x390c59(0x41c)]('--priority\x20<priority>',a2_0x390c59(0x34c))[a2_0x390c59(0x41c)](a2_0x390c59(0x317),'Document\x20body\x20text')[a2_0x390c59(0x41c)](a2_0x390c59(0x268),a2_0x390c59(0x290))['option'](a2_0x390c59(0x1e6),a2_0x390c59(0x194))[a2_0x390c59(0x41c)]('--assignee\x20<assignee>',a2_0x390c59(0x380))[a2_0x390c59(0x3c3)](workNewAction),workCmd['command'](a2_0x390c59(0x155))['description'](a2_0x390c59(0x15a))[a2_0x390c59(0x3c3)](workMoveAction),workCmd['command']('board')[a2_0x390c59(0x1f2)](a2_0x390c59(0x27f))['option'](a2_0x390c59(0x369),a2_0x390c59(0x150))['option'](a2_0x390c59(0x165),a2_0x390c59(0x3bb))[a2_0x390c59(0x3c3)](workBoardAction),workCmd[a2_0x390c59(0x29f)](a2_0x390c59(0x27d))[a2_0x390c59(0x1f2)](a2_0x390c59(0x224))['action'](workShowAction),workCmd['command'](a2_0x390c59(0x3eb))['description'](a2_0x390c59(0x3c5))[a2_0x390c59(0x3c3)](workLinksAction),workCmd['command'](a2_0x390c59(0x2c9))['description'](a2_0x390c59(0x19a))['action'](workOpenAction),program[a2_0x390c59(0x29f)]('_list-commands',{'hidden':!![]})['action'](()=>{const _0x412de0=a2_0x390c59;function _0x35912c(_0x494a86,_0x2812f1){const _0x180d2c=a2_0x452c,_0x3ca26a=[];for(const _0x59c848 of _0x494a86['commands']){if(_0x59c848[_0x180d2c(0x3e9)])continue;const _0x330c8a=_0x2812f1?_0x2812f1+'\x20'+_0x59c848[_0x180d2c(0x1d8)]():_0x59c848[_0x180d2c(0x1d8)](),_0x8fc367=_0x330c8a[_0x180d2c(0x441)]('\x20')[0x0],_0x589f93=COMMAND_CATEGORIES[_0x180d2c(0x288)](_0x15bbfe=>_0x15bbfe[_0x180d2c(0x2e1)][_0x180d2c(0x432)](_0x8fc367)),_0x247f08=_0x589f93?.[_0x180d2c(0x1d8)]??'';if(_0x59c848[_0x180d2c(0x2e1)][_0x180d2c(0x2fe)]>0x0)_0x3ca26a[_0x180d2c(0x30c)](..._0x35912c(_0x59c848,_0x330c8a));else{const _0x3516c5=(_0x59c848[_0x180d2c(0x283)]||[])[_0x180d2c(0x275)](_0x11aa9a=>{const _0x1357e0=_0x180d2c,_0x2c39c6=_0x11aa9a[_0x1357e0(0x455)]?_0x11aa9a['name']()+_0x1357e0(0x17c):_0x11aa9a[_0x1357e0(0x1d8)]();return _0x11aa9a['required']?'<'+_0x2c39c6+'>':'['+_0x2c39c6+']';})['join']('\x20'),_0x760735=_0x59c848[_0x180d2c(0x15c)][_0x180d2c(0x35b)](_0x27c3a9=>!_0x27c3a9[_0x180d2c(0x2b9)]&&_0x27c3a9[_0x180d2c(0x12c)]!==_0x180d2c(0x1a5))['map'](_0x24b6f7=>({'flags':_0x24b6f7['flags'],'description':_0x24b6f7[_0x180d2c(0x1f2)]}));_0x3ca26a[_0x180d2c(0x30c)]({'name':_0x330c8a,'description':_0x59c848[_0x180d2c(0x1f2)](),'group':_0x247f08,'usage':_0x3516c5,'options':_0x760735});}}return _0x3ca26a;}console[_0x412de0(0x186)](JSON[_0x412de0(0x3e0)](_0x35912c(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x4cba17=a2_0x390c59,_0xb79727=!process['argv']['slice'](0x2)['length'];showBriefHelp=_0xb79727,program[_0x4cba17(0x345)](process[_0x4cba17(0x39f)]);_0xb79727&&program[_0x4cba17(0x3fa)]();const _0x427fea=process['argv'][0x2]===_0x4cba17(0x360);if(process['stderr'][_0x4cba17(0x365)]&&process['argv']['length']>0x2&&!isDevVersion()&&!_0x427fea){const _0x51d45c=loadReleaseChannel();checkForUpdate(currentVersion,_0x51d45c)[_0x4cba17(0x29d)](_0x35aa0b=>{_0x35aa0b&&displayUpdateNotification(_0x35aa0b);})['catch'](()=>{});}}
1
+ const a2_0x23a6af=a2_0x3174;(function(_0x207a7b,_0x114d9f){const _0x1153c1=a2_0x3174,_0x44e073=_0x207a7b();while(!![]){try{const _0x249ff2=parseInt(_0x1153c1(0x18d))/0x1+-parseInt(_0x1153c1(0x18e))/0x2+-parseInt(_0x1153c1(0x122))/0x3*(-parseInt(_0x1153c1(0xa3))/0x4)+parseInt(_0x1153c1(0x27d))/0x5+-parseInt(_0x1153c1(0xfa))/0x6*(-parseInt(_0x1153c1(0x1dd))/0x7)+-parseInt(_0x1153c1(0x133))/0x8*(-parseInt(_0x1153c1(0xa1))/0x9)+-parseInt(_0x1153c1(0x21c))/0xa;if(_0x249ff2===_0x114d9f)break;else _0x44e073['push'](_0x44e073['shift']());}catch(_0x1be738){_0x44e073['push'](_0x44e073['shift']());}}}(a2_0x7fa4,0xde764));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,PSRtJnListCommand,PSRtJnPauseCommand,PSRtJnResumeCommand,PSRtConfigVersionCommand,PSPzServiceListCommand,PSPzServiceCreateCommand,PSPzServiceShowCommand,PSPzServiceDeleteCommand,PSPzServiceUpdateCommand,PSPzServiceTokenCreateCommand,PSPzServiceTokenDeleteCommand,PSPzListCommand,PSPzShowCommand,PSPzDeleteCommand,PSPzCreateCommand,PSPzPatchCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyTrafficCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand,JourneyColumnsCommand,JourneyActivationsCommand,JourneyVersionsCommand,JourneyVersionCreateCommand,JourneyVersionViewCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageAlwaysOnCampaignsCommand,EngageAlwaysOnCampaignShowCommand,EngageAlwaysOnCampaignCreateCommand,EngageAlwaysOnCampaignUpdateCommand,EngageAlwaysOnCampaignDeleteCommand,EngageAlwaysOnCampaignLaunchCommand,EngageAlwaysOnCampaignPauseCommand,EngageAlwaysOnCampaignResumeCommand,EngageAlwaysOnCampaignFinishCommand,EngageAlwaysOnCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{EngageCampaignPullCommand}from'./commands/engage-campaign-pull-command.js';import{EngageCampaignPushCommand}from'./commands/engage-campaign-push-command.js';import{EngageCampaignValidateCommand}from'./commands/engage-campaign-validate-command.js';import{EngageTemplateValidateCommand}from'./commands/engage-template-validate-command.js';import{EngageTemplatePullCommand}from'./commands/engage-template-pull-command.js';import{EngageTemplatePushCommand}from'./commands/engage-template-push-command.js';import{DeliveryEmailSendersCommand}from'./commands/delivery-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileDeleteCommand,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{PolicyCommand,PolicyListCommand,PolicyShowCommand}from'./commands/policy-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{CASListCommand,CASDescCommand,CASPullCommand,CASPushCommand,CASPreviewCommand}from'./commands/cas-command.js';import{CASSegmentListCommand}from'./commands/cas-segment-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{UpgradeCommand}from'./commands/upgrade-command.js';import{workSummaryAction,workInitAction,workNewAction,workMoveAction,workBoardAction,workShowAction,workLinksAction,workOpenAction}from'./commands/work-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x23a6af(0x1ea)]['includes'](a2_0x23a6af(0x2ce))){let versionOutput=a2_0x23a6af(0xe9)+currentVersion;buildInfo['gitRevision']&&!currentVersion[a2_0x23a6af(0x314)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x23a6af(0x352)]+')'),buildInfo[a2_0x23a6af(0x13b)]&&(versionOutput+=a2_0x23a6af(0x18c)+buildInfo[a2_0x23a6af(0x13b)]),console[a2_0x23a6af(0x344)](versionOutput),process[a2_0x23a6af(0x2a3)](0x0);}const program=new Command();export function mergeCommandOptions(_0x49f6d5,_0x296a6d){const _0x2f0017=a2_0x23a6af,_0x587f04={..._0x49f6d5};for(const [_0x25f620,_0x5032fe]of Object[_0x2f0017(0x32f)](_0x296a6d)){_0x5032fe!==undefined&&(_0x587f04[_0x25f620]=_0x5032fe);}return _0x587f04;}function a2_0x3174(_0x34de01,_0x489721){_0x34de01=_0x34de01-0x6f;const _0x7fa4cf=a2_0x7fa4();let _0x31747e=_0x7fa4cf[_0x34de01];return _0x31747e;}let showBriefHelp=![],description=a2_0x23a6af(0xc5);buildInfo[a2_0x23a6af(0x352)]&&!currentVersion['includes'](buildInfo[a2_0x23a6af(0x352)])?description+=',\x20version\x20'+currentVersion+'\x20('+buildInfo[a2_0x23a6af(0x352)]+')':description+=',\x20version\x20'+currentVersion;program['name']('tdx')['description'](description),program['option'](a2_0x23a6af(0x13d),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x23a6af(0x147)](a2_0x23a6af(0x284),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')['option'](a2_0x23a6af(0x355),'TD\x20site/region\x20(us01,\x20ap01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)',a2_0x23a6af(0x7f))[a2_0x23a6af(0x147)]('--format\x20<format>',a2_0x23a6af(0x2b1))[a2_0x23a6af(0x147)]('--table','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x23a6af(0x147)]('--json',a2_0x23a6af(0x263))['option']('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a2_0x23a6af(0x147)](a2_0x23a6af(0x33d),a2_0x23a6af(0x2b4))[a2_0x23a6af(0x147)](a2_0x23a6af(0x103),'Save\x20output\x20to\x20file')['option'](a2_0x23a6af(0x381),a2_0x23a6af(0x78))[a2_0x23a6af(0x147)](a2_0x23a6af(0x313),a2_0x23a6af(0x323),![])[a2_0x23a6af(0x147)](a2_0x23a6af(0x11a),a2_0x23a6af(0x1b8),![])[a2_0x23a6af(0x147)](a2_0x23a6af(0x33e),a2_0x23a6af(0x289),![])[a2_0x23a6af(0x147)]('--debug',a2_0x23a6af(0x2c3))['option'](a2_0x23a6af(0x14b),a2_0x23a6af(0x327))[a2_0x23a6af(0x147)](a2_0x23a6af(0x32c),a2_0x23a6af(0x8b),'30')[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),a2_0x23a6af(0x16f),![])['option'](a2_0x23a6af(0x225),a2_0x23a6af(0x36b),![])[a2_0x23a6af(0x147)](a2_0x23a6af(0x36f),'Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)')[a2_0x23a6af(0x147)](a2_0x23a6af(0x371),a2_0x23a6af(0x307))[a2_0x23a6af(0x147)](a2_0x23a6af(0x172),'LLM\x20project\x20to\x20use\x20(overrides\x20context)'),program[a2_0x23a6af(0x360)]({'formatHelp':(_0x16c870,_0x2d1092)=>{const _0x136b8d=a2_0x23a6af,_0x3e49a2=_0x2d1092[_0x136b8d(0x9a)](_0x16c870,_0x2d1092),_0x469f3e=0x2,_0x5cf329=0x2;function _0x251685(_0x5de46f){const _0x41cb47=_0x136b8d,_0x567b82=_0x5de46f;return!!(_0x567b82['_hidden']||_0x567b82[_0x41cb47(0x1e1)]);}function _0x1f4a84(_0x2974fd,_0x182ca2){if(_0x182ca2){const _0xda126d=''+_0x2974fd['padEnd'](_0x3e49a2+_0x5cf329)+_0x182ca2;return _0xda126d;}return _0x2974fd;}function _0x5a12c1(_0x2a849b){const _0x53633f=_0x136b8d;return _0x2a849b[_0x53633f(0x14a)]('\x0a')[_0x53633f(0x1e2)](/^/gm,'\x20'['repeat'](_0x469f3e));}const _0x1fcde9=[];_0x1fcde9[_0x136b8d(0x10c)](_0x136b8d(0x32b)+_0x2d1092[_0x136b8d(0x361)](_0x16c870));const _0x148880=_0x2d1092['commandDescription'](_0x16c870);_0x148880&&(_0x1fcde9[_0x136b8d(0x10c)](''),_0x1fcde9[_0x136b8d(0x10c)](_0x148880));const _0x4a33d0=_0x16c870[_0x136b8d(0x99)]['filter'](_0x5d0717=>!_0x251685(_0x5d0717));if(_0x4a33d0[_0x136b8d(0xf5)]>0x0){if(_0x16c870['name']()===_0x136b8d(0x92)){const _0x6ee2af=_0x16c870[_0x136b8d(0x256)](),_0x511bab=!_0x6ee2af[_0x136b8d(0xe6)]&&process[_0x136b8d(0x16c)][_0x136b8d(0x30b)],_0x21c6e2=COMMAND_CATEGORIES,_0x255ba0=(_0x1845cd,_0x1bc9a0)=>_0x511bab?_0x1bc9a0(_0x1845cd):_0x1845cd,_0x3fe368=new Map();_0x4a33d0[_0x136b8d(0x267)](_0x310bb3=>{const _0x21e034=_0x136b8d;_0x3fe368[_0x21e034(0x266)](_0x310bb3[_0x21e034(0x16a)](),_0x310bb3);}),_0x21c6e2['forEach'](_0x51c524=>{const _0x2624b7=_0x136b8d,_0x2e2d5d=_0x51c524[_0x2624b7(0x99)][_0x2624b7(0x37a)](_0x37fae2=>_0x3fe368[_0x2624b7(0x1ba)](_0x37fae2)??[]);if(_0x2e2d5d['length']>0x0){_0x1fcde9[_0x2624b7(0x10c)](''),_0x1fcde9['push'](_0x255ba0(_0x51c524[_0x2624b7(0x16a)]+':',_0x51c524[_0x2624b7(0x20e)]));const _0x4b8b6c=_0x2e2d5d[_0x2624b7(0x13e)](_0x1064fa=>{const _0x8d969c=_0x2624b7,_0x1c99f3=_0x2d1092[_0x8d969c(0x22e)](_0x1064fa),_0x110261=_0x2d1092[_0x8d969c(0xe5)](_0x1064fa);return _0x1f4a84(_0x1c99f3,_0x110261);});_0x1fcde9[_0x2624b7(0x10c)](_0x5a12c1(_0x4b8b6c));}}),_0x1fcde9[_0x136b8d(0x10c)](''),_0x1fcde9[_0x136b8d(0x10c)](_0x136b8d(0x249));}else{const _0x4277f8=_0x4a33d0[_0x136b8d(0x13e)](_0x32e226=>{const _0x414434=_0x136b8d,_0x3019a1=_0x2d1092[_0x414434(0x22e)](_0x32e226),_0x39ba75=_0x2d1092[_0x414434(0xe5)](_0x32e226);return _0x1f4a84(_0x3019a1,_0x39ba75);});_0x1fcde9[_0x136b8d(0x10c)](''),_0x1fcde9[_0x136b8d(0x10c)]('Commands:'),_0x1fcde9[_0x136b8d(0x10c)](_0x5a12c1(_0x4277f8));}}if(showBriefHelp&&_0x16c870[_0x136b8d(0x16a)]()==='tdx')_0x1fcde9['push'](''),_0x1fcde9[_0x136b8d(0x10c)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x56f32b=_0x16c870[_0x136b8d(0x287)][_0x136b8d(0x159)](_0x13c59a=>!_0x251685(_0x13c59a));if(_0x56f32b[_0x136b8d(0xf5)]>0x0){const _0xc70fa8=_0x56f32b[_0x136b8d(0x13e)](_0x3ecb33=>{const _0x59c2ec=_0x136b8d,_0x2d0137=_0x2d1092['optionTerm'](_0x3ecb33),_0x343072=_0x2d1092[_0x59c2ec(0x231)](_0x3ecb33);return _0x1f4a84(_0x2d0137,_0x343072);});_0x1fcde9[_0x136b8d(0x10c)](''),_0x1fcde9[_0x136b8d(0x10c)]('Options:'),_0x1fcde9[_0x136b8d(0x10c)](_0x5a12c1(_0xc70fa8));}}const _0x277a2c=(_0x16c870[_0x136b8d(0x201)]||[])['filter'](_0x499e70=>!_0x251685(_0x499e70));if(_0x277a2c['length']>0x0){const _0x53e505=_0x277a2c[_0x136b8d(0x13e)](_0x2cb70e=>{const _0x57ad92=_0x136b8d,_0x46efbb=_0x2d1092[_0x57ad92(0x10d)](_0x2cb70e),_0x52b747=_0x2d1092['argumentDescription'](_0x2cb70e);return _0x1f4a84(_0x46efbb,_0x52b747);});_0x1fcde9[_0x136b8d(0x10c)](''),_0x1fcde9[_0x136b8d(0x10c)](_0x136b8d(0xe4)),_0x1fcde9[_0x136b8d(0x10c)](_0x5a12c1(_0x53e505));}return _0x1fcde9['join']('\x0a')+'\x0a';},'subcommandTerm':_0x31a7d8=>{const _0x2aa233=a2_0x23a6af,_0x256869=(_0x31a7d8[_0x2aa233(0x201)]||[])['map'](_0x35710d=>_0x35710d[_0x2aa233(0x210)]?'<'+_0x35710d[_0x2aa233(0x16a)]()+'>':'['+_0x35710d[_0x2aa233(0x16a)]()+']')['join']('\x20'),_0x350f5c=_0x31a7d8['aliases'](),_0x1ba1a2=_0x350f5c[_0x2aa233(0xf5)]>0x0?_0x31a7d8['name']()+',\x20'+_0x350f5c[_0x2aa233(0x14a)](',\x20'):_0x31a7d8[_0x2aa233(0x16a)]();return _0x256869?_0x1ba1a2+'\x20'+_0x256869:_0x1ba1a2;}}),program['hook'](a2_0x23a6af(0x1c4),_0x5812f0=>{const _0x3eec03=a2_0x23a6af,_0x5b971f=_0x5812f0[_0x3eec03(0x256)]();if(_0x5b971f[_0x3eec03(0x2ef)]){const _0x13ff71=resolve(_0x5b971f['directory']),_0x55e2c2=_0x13ff71!==_0x5b971f[_0x3eec03(0x2ef)]?'\x20(resolved\x20to\x20'+_0x13ff71+')':'';if(!existsSync(_0x13ff71))throw new SDKError(ErrorCode[_0x3eec03(0x2d1)],'Directory\x20does\x20not\x20exist:\x20'+_0x5b971f[_0x3eec03(0x2ef)]+_0x55e2c2,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x1f62c9=statSync(_0x13ff71);if(!_0x1f62c9['isDirectory']())throw new SDKError(ErrorCode[_0x3eec03(0x2d1)],_0x3eec03(0x213)+_0x5b971f[_0x3eec03(0x2ef)]+_0x55e2c2,undefined,{'helpText':'The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.'});process['chdir'](_0x13ff71);}if(!_0x5b971f[_0x3eec03(0xdd)]){if(_0x5b971f['table'])_0x5b971f['format']=_0x3eec03(0xde);else{if(_0x5b971f[_0x3eec03(0x21b)])_0x5b971f[_0x3eec03(0xdd)]=_0x3eec03(0x21b);else{if(_0x5b971f[_0x3eec03(0x151)])_0x5b971f['format']=_0x3eec03(0x151);else _0x5b971f[_0x3eec03(0x2db)]&&(_0x5b971f[_0x3eec03(0xdd)]=_0x3eec03(0x2db));}}}if(_0x5b971f['trace'])_0x5b971f[_0x3eec03(0x13c)]=LogLevel[_0x3eec03(0x295)];else{if(_0x5b971f[_0x3eec03(0x120)])_0x5b971f['logLevel']=LogLevel[_0x3eec03(0x279)];else _0x5b971f['logLevel']===undefined&&(_0x5b971f[_0x3eec03(0x13c)]=LogLevel['INFO']);}});async function createTDXInstance(_0x4a5813){const _0x4e2899=a2_0x23a6af,_0x118e0c=await GlobalContext['createAsync'](_0x4a5813);_0x118e0c[_0x4e2899(0x24b)](_0x4a5813);const _0x55af04=Number(_0x4a5813[_0x4e2899(0x245)]),_0x535267=!isNaN(_0x55af04)&&_0x55af04>0x0?_0x55af04*0x3e8:undefined;return TDX[_0x4e2899(0x1d1)]({'site':_0x118e0c[_0x4e2899(0x253)],'apiKey':_0x118e0c[_0x4e2899(0x9f)],'accessToken':_0x118e0c[_0x4e2899(0x2f7)],'logLevel':_0x118e0c[_0x4e2899(0x13c)],'profile':_0x118e0c['profile'],'timeout':_0x535267});}const databaseCmd=program[a2_0x23a6af(0x111)](a2_0x23a6af(0x24f))['alias']('db')[a2_0x23a6af(0x336)]('Database\x20management\x20commands'),databaseListAction=async(_0x5f3cad,_0x325c0c)=>{const _0x10a62a=a2_0x23a6af,_0x279758=new DatabasesCommand(),_0x3dee1d=program[_0x10a62a(0x256)](),_0x449f63=await createTDXInstance(_0x3dee1d),_0x3348d3=await _0x279758[_0x10a62a(0x2d3)]({'options':{..._0x3dee1d,..._0x325c0c},'args':_0x5f3cad?[_0x5f3cad]:[],'tdx':_0x449f63});gracefulExit(_0x3348d3);};databaseCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a2_0x23a6af(0x101)](databaseListAction),program[a2_0x23a6af(0x111)](a2_0x23a6af(0x11f),{'hidden':!![]})[a2_0x23a6af(0x336)](a2_0x23a6af(0x2bb))[a2_0x23a6af(0x101)](databaseListAction),program[a2_0x23a6af(0x111)]('chat\x20[message...]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x1a6))[a2_0x23a6af(0x147)](a2_0x23a6af(0xb5),a2_0x23a6af(0x31d))['option'](a2_0x23a6af(0x1aa),'Start\x20a\x20new\x20chat\x20session')[a2_0x23a6af(0x147)](a2_0x23a6af(0x154),'Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID')[a2_0x23a6af(0x147)](a2_0x23a6af(0x77),'Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)')[a2_0x23a6af(0x101)](async(_0x287aa3,_0x5825e4)=>{const _0x6084a2=a2_0x23a6af,_0x5a8f61=program[_0x6084a2(0x256)](),_0x2cce9e=await createTDXInstance(_0x5a8f61);if(_0x287aa3[0x0]===_0x6084a2(0x1d1)){const _0x4ed332=new ChatCreateCommand();gracefulExit(await _0x4ed332[_0x6084a2(0x2d3)]({'options':{..._0x5a8f61,..._0x5825e4},'args':_0x287aa3[_0x6084a2(0x31b)](0x1),'tdx':_0x2cce9e}));return;}const _0x2e76d1=new ChatCommand(),_0x1855a4=await _0x2e76d1['run']({'options':{..._0x5a8f61,..._0x5825e4},'args':_0x287aa3,'tdx':_0x2cce9e});gracefulExit(_0x1855a4);});const apiCmd=program[a2_0x23a6af(0x111)](a2_0x23a6af(0xff))[a2_0x23a6af(0x161)](a2_0x23a6af(0x100))['addHelpText'](a2_0x23a6af(0xa0),a2_0x23a6af(0x16d))['option']('-X,\x20--method\x20<method>',a2_0x23a6af(0x30f),'GET')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1a9),'Request\x20body\x20as\x20JSON\x20string')['option'](a2_0x23a6af(0x31f),a2_0x23a6af(0x19f))['option'](a2_0x23a6af(0x164),a2_0x23a6af(0x35f),(_0x1e2c7d,_0x5bc5cc)=>{return _0x5bc5cc?[..._0x5bc5cc,_0x1e2c7d]:[_0x1e2c7d];})[a2_0x23a6af(0x147)](a2_0x23a6af(0x171),a2_0x23a6af(0x37f),'td')[a2_0x23a6af(0x101)](async(_0x215301,_0x510930)=>{if(!_0x215301){apiCmd['help']();return;}const _0x413516=new ApiCommand(),_0x219f5c=program['opts'](),_0x1d1a9d=await createTDXInstance(_0x219f5c),_0x3c8394=await _0x413516['run']({'options':{..._0x219f5c,..._0x510930},'args':[_0x215301],'tdx':_0x1d1a9d});gracefulExit(_0x3c8394);});program[a2_0x23a6af(0x111)](a2_0x23a6af(0x135))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2ae))[a2_0x23a6af(0x132)](a2_0x23a6af(0xa0),'\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a')[a2_0x23a6af(0x101)](async _0x579eaf=>{const _0x3ac7df=a2_0x23a6af,_0x37585a=new MCPCommand(),_0x17127e=program[_0x3ac7df(0x256)](),_0x19e337=await createTDXInstance(_0x17127e),_0x42f21a=await _0x37585a['run']({'options':{..._0x17127e,..._0x579eaf},'args':[],'tdx':_0x19e337});gracefulExit(_0x42f21a);});const tableCmd=program[a2_0x23a6af(0x111)](a2_0x23a6af(0xde))[a2_0x23a6af(0x336)]('Table\x20management\x20commands'),tableListAction=async(_0x306e8c,_0x51cb4d)=>{const _0x2f8ae4=a2_0x23a6af,_0x3e5d07=new TablesCommand(),_0x3374a2=program['opts'](),_0x354fe3=await createTDXInstance(_0x3374a2);_0x51cb4d['in']&&(_0x51cb4d[_0x2f8ae4(0x24f)]=_0x51cb4d['in']);const _0x255640=await _0x3e5d07[_0x2f8ae4(0x2d3)]({'options':{..._0x3374a2,..._0x51cb4d},'args':_0x306e8c?[_0x306e8c]:[],'tdx':_0x354fe3});gracefulExit(_0x255640);};tableCmd[a2_0x23a6af(0x111)]('list\x20[pattern]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x2a8))['option'](a2_0x23a6af(0x207),a2_0x23a6af(0x349))[a2_0x23a6af(0x147)](a2_0x23a6af(0xd8),a2_0x23a6af(0x193))[a2_0x23a6af(0x101)](tableListAction),program['command'](a2_0x23a6af(0x97),{'hidden':!![]})['description'](a2_0x23a6af(0xcd))[a2_0x23a6af(0x147)](a2_0x23a6af(0x207),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x23a6af(0x147)](a2_0x23a6af(0xd8),a2_0x23a6af(0x193))[a2_0x23a6af(0x101)](tableListAction),program['command'](a2_0x23a6af(0x12a))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2c4))[a2_0x23a6af(0x147)](a2_0x23a6af(0x207),a2_0x23a6af(0xdc))['option']('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x23a6af(0x101)](async(_0x44dc55,_0x7a3ac6)=>{const _0x42ecc0=a2_0x23a6af,_0x4b6a54=new ShowCommand(),_0x44c327=program[_0x42ecc0(0x256)](),_0x120571=await createTDXInstance(_0x44c327);_0x7a3ac6['in']&&(_0x7a3ac6[_0x42ecc0(0x24f)]=_0x7a3ac6['in']);const _0x414a48=await _0x4b6a54[_0x42ecc0(0x2d3)]({'options':{..._0x44c327,..._0x7a3ac6},'args':_0x44dc55?[_0x44dc55]:[],'tdx':_0x120571});gracefulExit(_0x414a48);}),program[a2_0x23a6af(0x111)]('describe\x20[table]')[a2_0x23a6af(0x340)]('desc')[a2_0x23a6af(0x336)](a2_0x23a6af(0x258))['option'](a2_0x23a6af(0x207),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option'](a2_0x23a6af(0xd8),a2_0x23a6af(0x193))[a2_0x23a6af(0x101)](async(_0x4974dd,_0x3352cd)=>{const _0x26453e=a2_0x23a6af,_0x21d784=new DescribeCommand(),_0x17622a=program[_0x26453e(0x256)](),_0x4e62f9=await createTDXInstance(_0x17622a);_0x3352cd['in']&&(_0x3352cd['database']=_0x3352cd['in']);const _0x1e869d=await _0x21d784[_0x26453e(0x2d3)]({'options':{..._0x17622a,..._0x3352cd},'args':_0x4974dd?[_0x4974dd]:[],'tdx':_0x4e62f9});gracefulExit(_0x1e869d);}),program['command']('query\x20[sql]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x34d))[a2_0x23a6af(0x147)](a2_0x23a6af(0x207),'Database\x20to\x20query\x20(default:\x20information_schema)')[a2_0x23a6af(0x147)](a2_0x23a6af(0xd8),a2_0x23a6af(0x193))[a2_0x23a6af(0x147)]('--catalog\x20<catalog>',a2_0x23a6af(0x1c8))[a2_0x23a6af(0x147)]('-f,\x20--file\x20<path>',a2_0x23a6af(0x13a))[a2_0x23a6af(0x147)](a2_0x23a6af(0x148),a2_0x23a6af(0xea))[a2_0x23a6af(0x101)](async(_0x5218ea,_0x3ba7bc)=>{const _0x364c01=a2_0x23a6af,_0x23838f=new QueryCommand(),_0x2e4e92=program[_0x364c01(0x256)](),_0x25b13e=await createTDXInstance(_0x2e4e92);_0x3ba7bc['in']&&(_0x3ba7bc['database']=_0x3ba7bc['in']);const _0x463aee=await _0x23838f[_0x364c01(0x2d3)]({'options':mergeCommandOptions(_0x2e4e92,_0x3ba7bc),'args':_0x5218ea?[_0x5218ea]:[],'tdx':_0x25b13e});gracefulExit(_0x463aee);});const segmentCmd=program[a2_0x23a6af(0x111)]('segment')[a2_0x23a6af(0x340)]('sg')[a2_0x23a6af(0x336)](a2_0x23a6af(0x376)),segmentListAction=async(_0x16a636,_0x786e7f)=>{const _0x172d5e=a2_0x23a6af,_0xa33584=new SegmentsCommand(),_0x46905d=program[_0x172d5e(0x256)](),_0x4cd0bc=await createTDXInstance(_0x46905d),_0x290452=await _0xa33584['run']({'options':{..._0x46905d,..._0x786e7f},'args':_0x16a636?[_0x16a636]:[],'tdx':_0x4cd0bc});gracefulExit(_0x290452);};segmentCmd['command'](a2_0x23a6af(0x37e))[a2_0x23a6af(0x336)](a2_0x23a6af(0x14f))[a2_0x23a6af(0x147)]('-r,\x20--recursive',a2_0x23a6af(0x2c8))['option'](a2_0x23a6af(0x1ff),a2_0x23a6af(0x7a),'10')[a2_0x23a6af(0x101)](segmentListAction),program[a2_0x23a6af(0x111)](a2_0x23a6af(0x237),{'hidden':!![]})[a2_0x23a6af(0x336)](a2_0x23a6af(0xe7))['option'](a2_0x23a6af(0x134),a2_0x23a6af(0x2c8))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1ff),a2_0x23a6af(0x7a),'10')[a2_0x23a6af(0x101)](segmentListAction),segmentCmd['command']('use\x20<path>',{'hidden':!![]})[a2_0x23a6af(0x336)](a2_0x23a6af(0x363))[a2_0x23a6af(0x101)](async(_0x83b6b7,_0x574dbe)=>{const _0x16e881=a2_0x23a6af,_0x2ae317=new SegmentUseCommand(),_0x7f5778=program[_0x16e881(0x256)](),_0xbe0dc2=await createTDXInstance(_0x7f5778),_0x14d38b=await _0x2ae317[_0x16e881(0x2d3)]({'options':{..._0x7f5778,..._0x574dbe},'args':[_0x83b6b7],'tdx':_0xbe0dc2});gracefulExit(_0x14d38b);});const segmentViewAction=async(_0x19b7ef,_0x3d0667)=>{const _0xd2c2c0=a2_0x23a6af,_0x2edf81=new SegmentViewCommand(),_0x4ab04c=program[_0xd2c2c0(0x256)](),_0x2e8154=await createTDXInstance(_0x4ab04c),_0x562610=await _0x2edf81[_0xd2c2c0(0x2d3)]({'options':{..._0x4ab04c,..._0x3d0667},'args':_0x19b7ef?[_0x19b7ef]:[],'tdx':_0x2e8154});gracefulExit(_0x562610);};segmentCmd[a2_0x23a6af(0x111)]('view\x20[segment_name]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x242))[a2_0x23a6af(0x147)]('-w,\x20--web',a2_0x23a6af(0x2e0))[a2_0x23a6af(0x101)](segmentViewAction),segmentCmd[a2_0x23a6af(0x111)]('info\x20[segment_name]',{'hidden':!![]})['alias'](a2_0x23a6af(0x2c0))['option'](a2_0x23a6af(0x2c6),a2_0x23a6af(0x2e0))[a2_0x23a6af(0x336)]('Show\x20segment\x20details\x20(alias\x20for\x20view)')[a2_0x23a6af(0x101)](segmentViewAction),segmentCmd['command'](a2_0x23a6af(0x12f))['description'](a2_0x23a6af(0x319))[a2_0x23a6af(0x101)](async(_0x1f3854,_0x1cbc88)=>{const _0x5eb55e=a2_0x23a6af,_0x4aa941=new SegmentDescCommand(),_0x28bd2f=program[_0x5eb55e(0x256)](),_0x2407c1=await createTDXInstance(_0x28bd2f),_0x448818=await _0x4aa941[_0x5eb55e(0x2d3)]({'options':{..._0x28bd2f,..._0x1cbc88},'args':_0x1f3854?[_0x1f3854]:[],'tdx':_0x2407c1});gracefulExit(_0x448818);}),segmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2e9))[a2_0x23a6af(0x336)](a2_0x23a6af(0x380))[a2_0x23a6af(0x101)](async(_0x1de988,_0x58fd4e)=>{const _0xbafb44=a2_0x23a6af,_0x3826e8=new SegmentShowCommand(),_0x3d0d74=program['opts'](),_0x51d565=await createTDXInstance(_0x3d0d74),_0x5a96ab=await _0x3826e8[_0xbafb44(0x2d3)]({'options':{..._0x3d0d74,..._0x58fd4e},'args':_0x1de988?[_0x1de988]:[],'tdx':_0x51d565});gracefulExit(_0x5a96ab);}),segmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x141),{'hidden':!![]})[a2_0x23a6af(0x336)](a2_0x23a6af(0x1ef))[a2_0x23a6af(0x101)](async(_0xb6e439,_0x790f40)=>{const _0x2616e9=a2_0x23a6af,_0x195863=new SegmentFolderListCommand(),_0x32198e=program[_0x2616e9(0x256)](),_0x2d744e=await createTDXInstance(_0x32198e),_0x270c45=await _0x195863[_0x2616e9(0x2d3)]({'options':{..._0x32198e,..._0x790f40},'args':[_0xb6e439],'tdx':_0x2d744e});gracefulExit(_0x270c45);});const folderCmd=segmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x224),{'hidden':!![]})[a2_0x23a6af(0x336)](a2_0x23a6af(0x334));folderCmd['command']('show\x20<folder_ref>')['description']('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a2_0x23a6af(0x101)](async(_0x3a1ddb,_0x235b78)=>{const _0x2faa22=a2_0x23a6af,_0x33e563=new SegmentFolderShowCommand(),_0x590486=program[_0x2faa22(0x256)](),_0x4db465=await createTDXInstance(_0x590486),_0xf753e2=await _0x33e563[_0x2faa22(0x2d3)]({'options':{..._0x590486,..._0x235b78},'args':[_0x3a1ddb],'tdx':_0x4db465});gracefulExit(_0xf753e2);}),segmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2d6))[a2_0x23a6af(0x336)](a2_0x23a6af(0xfb))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1a1),a2_0x23a6af(0xee))[a2_0x23a6af(0x101)](async(_0x11bd4f,_0x1123b7)=>{const _0x19e47c=a2_0x23a6af,_0x2701b1=new SegmentSQLCommand(),_0x4db122=program[_0x19e47c(0x256)](),_0x5e4863=await createTDXInstance(_0x4db122),_0x38bab6=await _0x2701b1['run']({'options':{..._0x4db122,..._0x1123b7},'args':_0x11bd4f?[_0x11bd4f]:[],'tdx':_0x5e4863});gracefulExit(_0x38bab6);}),segmentCmd[a2_0x23a6af(0x111)]('fields\x20[parent_name]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x9b))['action'](async(_0x4632a3,_0x2b29e5)=>{const _0x10efbe=a2_0x23a6af,_0x3a1fc3=new SegmentFieldsCommand(),_0x1044da=program[_0x10efbe(0x256)](),_0x3c9596=await createTDXInstance(_0x1044da),_0xaa0a38=await _0x3a1fc3[_0x10efbe(0x2d3)]({'options':{..._0x1044da,..._0x2b29e5},'args':_0x4632a3?[_0x4632a3]:[],'tdx':_0x3c9596});gracefulExit(_0xaa0a38);}),segmentCmd['command'](a2_0x23a6af(0x1da))[a2_0x23a6af(0x336)](a2_0x23a6af(0x87))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),a2_0x23a6af(0x27e))[a2_0x23a6af(0x101)](async(_0x348207,_0x31062e)=>{const _0x4f1606=a2_0x23a6af,_0x4bfe38=new SegmentPullCommand(),_0xe62afe=program['opts'](),_0x16845f=await createTDXInstance(_0xe62afe),_0x24789a=await _0x4bfe38[_0x4f1606(0x2d3)]({'options':{..._0xe62afe,..._0x31062e},'args':_0x348207?[_0x348207]:[],'tdx':_0x16845f});gracefulExit(_0x24789a);}),segmentCmd['command'](a2_0x23a6af(0x2cf))[a2_0x23a6af(0x336)](a2_0x23a6af(0x27b))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),'Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes')['option'](a2_0x23a6af(0xce),a2_0x23a6af(0x2a2))[a2_0x23a6af(0x101)](async(_0x13b1c6,_0xfc0632)=>{const _0x1448fa=a2_0x23a6af,_0xc46f66=new SegmentPushCommand(),_0xd5db96=program['opts'](),_0x5db53c=await createTDXInstance(_0xd5db96),_0x448556=await _0xc46f66[_0x1448fa(0x2d3)]({'options':{..._0xd5db96,..._0xfc0632},'args':_0x13b1c6?[_0x13b1c6]:[],'tdx':_0x5db53c});gracefulExit(_0x448556);}),segmentCmd['command'](a2_0x23a6af(0x10a))[a2_0x23a6af(0x336)]('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x23a6af(0x101)](async(_0x27f9f6,_0x35fc42)=>{const _0x4577ab=a2_0x23a6af,_0x4e38b6=new SegmentValidateCommand(),_0x59e43d=program[_0x4577ab(0x256)](),_0x15b16b=await createTDXInstance(_0x59e43d),_0x30139d=await _0x4e38b6['run']({'options':{..._0x59e43d,..._0x35fc42},'args':_0x27f9f6?[_0x27f9f6]:[],'tdx':_0x15b16b});gracefulExit(_0x30139d);}),segmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x178),{'hidden':!![]})[a2_0x23a6af(0x336)](a2_0x23a6af(0x1b4))[a2_0x23a6af(0x147)](a2_0x23a6af(0x181),a2_0x23a6af(0x1f8))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2cc),'Filtering\x20rule\x20as\x20JSON\x20string')['option']('--rule-file\x20<file>','Filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x23a6af(0x37d),'Folder\x20name\x20for\x20organization')[a2_0x23a6af(0x147)]('--kind\x20<type>',a2_0x23a6af(0x29f))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1f2),a2_0x23a6af(0x330))[a2_0x23a6af(0x147)](a2_0x23a6af(0x298),a2_0x23a6af(0x14e))[a2_0x23a6af(0x101)](async(_0x3f5f3e,_0x1557f8)=>{const _0x1c9e7b=a2_0x23a6af,_0x34bb04=new SegmentCreateCommand(),_0x4026c8=program[_0x1c9e7b(0x256)](),_0x37e6bd=await createTDXInstance(_0x4026c8),_0x20b985=await _0x34bb04[_0x1c9e7b(0x2d3)]({'options':{..._0x4026c8,..._0x1557f8},'args':[_0x3f5f3e],'tdx':_0x37e6bd});gracefulExit(_0x20b985);}),segmentCmd[a2_0x23a6af(0x111)]('update\x20<segment_name>',{'hidden':!![]})['description'](a2_0x23a6af(0xa9))[a2_0x23a6af(0x147)](a2_0x23a6af(0x278),a2_0x23a6af(0x124))[a2_0x23a6af(0x147)](a2_0x23a6af(0x181),a2_0x23a6af(0x235))[a2_0x23a6af(0x147)]('--rule\x20<json>','Updated\x20filtering\x20rule\x20as\x20JSON\x20string')[a2_0x23a6af(0x147)]('--rule-file\x20<file>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file')['option']('--folder\x20<name>',a2_0x23a6af(0x1e0))['option']('--kind\x20<type>',a2_0x23a6af(0x29f))[a2_0x23a6af(0x101)](async(_0x1606d2,_0x309c0b)=>{const _0x8ab08d=a2_0x23a6af,_0x4f67ba=new SegmentUpdateCommand(),_0x124538=program[_0x8ab08d(0x256)](),_0x2cc721=await createTDXInstance(_0x124538),_0x48f6d3=await _0x4f67ba[_0x8ab08d(0x2d3)]({'options':{..._0x124538,..._0x309c0b},'args':[_0x1606d2],'tdx':_0x2cc721});gracefulExit(_0x48f6d3);});function a2_0x7fa4(){const _0xc6c1d2=['--start-at\x20<datetime>','token','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','Output\x20folder\x20(default:\x20{project_name}.llm)','preAction','Timezone\x20for\x20cron\x20(default:\x20UTC)','--name\x20<text>','Workspace\x20description','Trino\x20catalog\x20(default:\x20td)','Get\x20journey\x20traffic\x20data\x20(Sankey\x20charts)','Delete\x20an\x20LLM\x20project','Pull\x20specific\x20revision\x20(default:\x20latest)','--reason\x20<text>','create\x20<name>\x20<service_id>\x20[parent_segment]','Create\x20an\x20email\x20template','session','Attempt\x20ID','create','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','allowExcessArguments','workspaces\x20[pattern]','Submit\x20a\x20job','Add\x20behaviors\x20from\x20JSON\x20file','open\x20<name>','--all','Sections\x20as\x20an\x20inline\x20JSON\x20array','pull\x20[parent_or_file]','Name\x20for\x20the\x20duplicated\x20campaign','--interval\x20<range>','7OLTauf','Ending\x20offset\x20(default:\x2020)','--workspace\x20<name>','Move\x20to\x20folder','hidden','replace','columns\x20<name-or-path>','sessions\x20[project]','--last','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Resume\x20from\x20specific\x20task\x20(retry)','jobs','duplicate\x20<name-or-id>','argv','Target\x20directory\x20for\x20YAML\x20files','Output\x20directory','--resume-from\x20<task>','--limit\x20<n>','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','senders\x20[pattern]','Update\x20a\x20campaign','--invisible','Add\x20behaviors\x20as\x20JSON\x20string','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Run\x20tests\x20for\x20an\x20LLM\x20agent','Chart\x20type:\x20conversion\x20or\x20activation\x20(default:\x20both)','Master\x20database\x20name','Segment\x20description','--from\x20<timestamp>','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Enable\x20UTM\x20tracking','--html\x20<html>','patch\x20<personalization_id>','preview\x20[name]','--max-depth\x20<depth>','delete\x20<name-or-id>','registeredArguments','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','resume_activations\x20<journeyId>','--body\x20<body>','push\x20[source-dir]','-d,\x20--database\x20<database>','Access\x20control\x20policy\x20commands','Starter\x20message','always-on-campaign','Campaign\x20management','Package\x20manager\x20to\x20use\x20(npm,\x20bun,\x20pnpm,\x20yarn)','delete\x20<personalization_id>','colorFn','--enable-utm-tracking','required','Show\x20only\x20master\x20table\x20validation','update\x20<service_id>\x20[parent_segment]','Path\x20is\x20not\x20a\x20directory:\x20','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','--behaviors-file\x20<file>','Workflow\x20(Digdag)\x20management\x20commands','System\x20prompt/instructions\x20(default:\x20empty)','use\x20[project]','New\x20service\x20description','-o,\x20--output\x20<dir>','json','31380230hechRg','Service\x20description','Personalization\x20service\x20management','Show\x20schedule\x20details','--audience-id\x20<id>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Create\x20a\x20new\x20profile','status','folder','-y,\x20--yes','use\x20[name]','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','Workspace\x20name\x20(required)','_hidden','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','auth','Job\x20management\x20commands','show\x20<name>','subcommandTerm','activations\x20<segment_name>','project','optionDescription','variadic','cas','Attributes\x20as\x20JSON\x20string','Updated\x20description','List\x20secret\x20keys\x20for\x20a\x20project','segments\x20[path]','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','Delete\x20an\x20email\x20template','[EXPERIMENTAL]\x20Show\x20chat\x20log','...','Scheduled\x20query\x20management\x20commands','upgrade\x20[version]','Show\x20all\x20files\x20including\x20valid\x20ones','preview\x20<segment_name>','--public','Show\x20stats\x20for\x20specific\x20stage','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20campaigns','--days\x20<n>','timeout','Include\x20retried\x20attempts\x20(for\x20list)','--folder-id\x20<id>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','\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','injectIntoOptions','workflows\x20[project]','Update\x20a\x20realtime\x20personalization\x20entity','Comma-separated\x20tags','database','--session-id\x20<id>','--assignee\x20<assignee>','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','site','pull\x20[workspace]','kill','opts','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','Describe\x20table\x20schema','LLM\x20project\x20management','init\x20[name]','Email\x20sender\x20ID\x20for\x20delivery','--behaviors\x20<json>','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','--attempt-id\x20<id>','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','--force','update\x20<name>','Update\x20a\x20workspace','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--revision\x20<revision>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','set','forEach','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','profile','--follow','Open\x20journey\x20in\x20web\x20browser','Show\x20document\x20details','--clear','Pull\x20workflow\x20project\x20to\x20local\x20folder','use\x20<project-name>','logs','update\x20<name-or-id>','Include\x20subtasks\x20in\x20tasks\x20output','Audience\x20(parent\x20segment)\x20ID\x20—\x20inferred\x20from\x20context\x20if\x20omitted','Create\x20a\x20scheduled\x20query','--dry-run','Master\x20table\x20name','run\x20[workflow]','--name\x20<new_name>','DEBUG','New\x20workspace\x20name','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','6193080akBVvm','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','--no-proxy','--to\x20<n>','login','Get\x20current\x20RT\x20configuration\x20version\x20status','Show\x20items\x20updated\x20within\x20N\x20days','-p,\x20--profile\x20<name>','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','create\x20[name]','options','--num\x20<1-10>','Enable\x20verbose\x20logging','Temperature\x20(0.0-2.0,\x20default:\x200.7)','flags','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','validate\x20[file]','-d,\x20--database\x20<db>','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','--master','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Apply\x20a\x20template','--json-columns\x20<cols>','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','TRACE','--delay\x20<seconds>','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','--no-count-population','--verbose','--account-name\x20<name>','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','create\x20<name>','Delete\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Workflow\x20attempt\x20management','show\x20<agent-name>','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)','exit','claude\x20[args...]','Describe\x20a\x20composable\x20audience\x20(uses\x20context\x20if\x20name\x20omitted)','--to\x20<date>','Email\x20template\x20management','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)','delete\x20<service_id>\x20[parent_segment]','RT\x20Journey\x20management','--customer-group\x20<json>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','Link\x20workspace\x20to\x20a\x20GitHub\x20repository','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Create\x20a\x20realtime\x20personalization\x20entity\x20(uses\x20context\x20for\x20audience\x20if\x20set)','--allowed-ips\x20<ips>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Result\x20output\x20destination\x20URL','--behavior\x20[name]','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','Invalid\x20--limit\x20value:\x20\x22','isArray','show\x20<service_id>\x20[parent_segment]','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','statusline','outputHelp','stats\x20<name-or-path>','Include\x20retried\x20attempts','describe','--parent-folder\x20<name>','Job\x20priority\x20(-2\x20to\x202)','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','_list-commands','-w,\x20--web','Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','Initial\x20status','List\x20available\x20connector\x20types','--in\x20<db>','--rule\x20<json>','version','--version','push\x20[parent_or_file]','--name\x20<name>','INVALID_ARGUMENT','use\x20<name>','run','Project\x20description','Cron\x20expression\x20for\x20scheduling','sql\x20[segment_name]','--jsonl','history\x20<name>','--github\x20<owner/repo>','--retry-limit\x20<0~32>','tsv','--from\x20<n>','Open\x20parent\x20segment\x20in\x20web\x20browser','List\x20all\x20data\x20connections','Update\x20a\x20personalization\x20service\x20name/description\x20(uses\x20context\x20if\x20parent\x20omitted)','Open\x20segment\x20in\x20web\x20browser','--status\x20<status>','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=ap01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','List\x20jobs','Overwrite\x20local\x20changes\x20without\x20confirmation','--table\x20<table>','List\x20activations\x20for\x20a\x20journey','resume\x20<name-or-path>','clone\x20[source]','show\x20[segment_name]','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','Run\x20specific\x20tests\x20(comma-separated)','pull\x20[project]\x20[agent-name]','--json','Resume\x20a\x20paused\x20journey','directory','run\x20[name]','Campaign\x20description','agent','--database\x20<name>','use\x20[resource]\x20[value]','chats','engage_workspace','accessToken','Pull\x20specific\x20template\x20by\x20name','item','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Timezone\x20for\x20cron','list\x20[pattern]','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','Campaign\x20type\x20(email\x20or\x20push)','long','Agent\x20description','Output\x20as\x20JSON','--session-time\x20<time>','Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt','Include\x20all\x20items\x20(no\x20stale\x20filtering)','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','Setup\x20API\x20key\x20authentication\x20interactively','Remove\x20API\x20key\x20from\x20system\x20keychain','Updated\x20timezone','isTTY','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','--email-sender-id\x20<id>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','Preview\x20composable\x20segment\x20query\x20on\x20CDW','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','kill\x20<job-id>','--color','includes','requiredOption','--include-retried','End\x20time\x20filter\x20(ISO\x208601\x20format)','settings\x20<type>','Show\x20segment\x20schema\x20(column\x20types)','claude-4.5-sonnet','slice','User\x20management\x20commands','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','Set\x20a\x20profile\x20configuration\x20value','-f,\x20--file\x20<path>','Clear\x20workflow\x20project\x20context','result\x20<job-id>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','show\x20<name-or-id>','pause\x20<name-or-id>','Resume\x20a\x20conversation\x20(shows\x20selector)','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','upload\x20[project-name-or-dir]','clear','Usage:\x20','--timeout\x20<seconds>','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Delete\x20a\x20realtime\x20personalization','entries','Make\x20segment\x20invisible\x20(default:\x20visible)','preview\x20[file]','Push\x20without\x20confirmation','[action]','[DEPRECATED]\x20Segment\x20folder\x20management','campaigns\x20[pattern]','description','push\x20[path]','backup\x20<name>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','pause_activations\x20<journeyId>','users','Validate\x20campaign\x20YAML\x20files\x20locally','--tsv','-v,\x20--verbose','Personalization\x20name','alias','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a\x20\x20$\x20tdx\x20profile\x20create\x20prod\x20-f\x20\x20\x20\x20\x20\x20#\x20Overwrite\x20existing\x20\x27prod\x27\x20profile\x0a','catch','Timezone\x20(e.g.,\x20America/Los_Angeles)','log','view\x20<name-or-path>','Document\x20kind\x20(item,\x20goal,\x20guide,\x20note,\x20reference)','delete\x20<project-name-or-id>','desc\x20[name]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Workflow\x20project\x20management','--next','setup','Run\x20Trino\x20query\x20with\x20streaming\x20results','attempt:','Template\x20name','pull\x20[name]','Attributes\x20from\x20JSON\x20file','gitRevision','push\x20[file]','List\x20journeys\x20in\x20current\x20context','--site\x20<site>','Open\x20a\x20document\x20in\x20$EDITOR','Show\x20journey\x20statistics','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','Manage\x20workflow\x20project\x20secrets','Create\x20a\x20workspace','Delete\x20a\x20scheduled\x20query','Delivery\x20operations\x20(email\x20senders)','Plaintext\x20template\x20content','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','configureHelp','commandUsage','Duplicate\x20a\x20campaign','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','Delete\x20a\x20workspace','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','pull\x20<project>\x20[target-dir]','List\x20email\x20senders','AI-native\x20work\x20management','policy','Interactive\x20chat\x20selector','Skip\x20confirmation\x20prompts','template','parse','Composable\x20audience\x20name','--session\x20<id>','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--parent-segment\x20<name>','Editor\x20type:\x20grapesjs\x20(HTML\x20Editor,\x20default)\x20or\x20beefree\x20(Visual\x20Editor)','connection','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','split','CDP\x20segment\x20management\x20commands','Show\x20what\x20would\x20be\x20applied\x20without\x20applying','Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation','--plaintext\x20<text>','flatMap','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Output\x20file\x20path','--folder\x20<name>','list\x20[path]','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','--limit\x20<number>','Add\x20attributes\x20from\x20JSON\x20file','usage','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','workflow','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','List\x20composable\x20audiences','Personalization\x20service\x20token\x20management','--add-behaviors\x20<json>','Limit\x20number\x20of\x20rows','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','--stream','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','secrets','Maximum\x20recursion\x20depth\x20(default:\x2010)','Filter\x20by\x20status\x20(DRAFT,\x20LIVE,\x20PAUSED,\x20FINISHED)','workspace','--include-stats','run\x20<name>','us01','sql\x20[name]','--engine-version\x20<version>','error','Query\x20engine\x20version','Kill\x20a\x20job','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','Output\x20file\x20path\x20(default:\x20<name>.yml)','Pull\x20child\x20segments\x20to\x20YAML\x20files','Show\x20email\x20template\x20details','--subject\x20<subject>','--starter-message\x20<text>','Set\x20operation\x20timeout\x20in\x20seconds','Parent\x20segment\x20description','Include\x20raw\x20history\x20data\x20in\x20output','-o,\x20--output\x20<folder>','finish\x20<name-or-id>','-c,\x20--continue','Override\x20project\x20name','tdx','Workspace\x20name','find','Agent\x20name','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','tables\x20[pattern]','--stage\x20<name>','commands','padWidth','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','-f,\x20--force','Read\x20HTML\x20template\x20from\x20file','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','apiKey','after','33444ExxKPw','Show\x20a\x20specific\x20realtime\x20personalization','13556UETpTH','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','--result\x20<url>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','update\x20<agent-name>','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','engage','Include\x20execution\x20statistics','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace,\x20cas)','--priority\x20<priority>','list\x20[project]','--from\x20<date>','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Preview\x20without\x20creating\x20the\x20project','Custom\x20revision\x20name\x20(default:\x20timestamp)','--to\x20<timestamp>','--agent\x20<ref>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Show\x20journey\x20details','Show\x20Kanban\x20board\x20view\x20of\x20tasks','LLM\x20agent\x20management','New\x20service\x20name','--audience\x20<name>','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','audience','--result\x20<target>','--skip-validation','Show\x20connection\x20details\x20by\x20name','create\x20<parent_name>\x20<folder_name>','Segment\x20path\x20(e.g.,\x20\x22Audience\x22\x20for\x20parent\x20segment\x20only)','schedule','AI-native\x20CLI\x20for\x20Treasure\x20Data','HTML\x20template\x20content','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','View\x20a\x20specific\x20version\x20of\x20a\x20journey','Show\x20agent\x20details','resume\x20<name-or-id>','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Transition\x20a\x20task\x20to\x20a\x20new\x20status','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','--delete','--full','--database\x20<db>','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','argument','Workflow\x20session\x20management','Maximum\x20tool\x20iterations\x20(default:\x204)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Maximum\x20number\x20of\x20nodes','Campaign\x20name','--in\x20<database>','List\x20all\x20users\x20in\x20the\x20account','Email\x20subject\x20template','journey','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','format','table','Show\x20personalization\x20service\x20details\x20(uses\x20context\x20if\x20parent\x20omitted)','user','agents\x20[pattern]','restore\x20<folder>','--name\x20<new-name>','Arguments:','subcommandDescription','noColor','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','\x22.\x20Must\x20be\x20a\x20number.','tdx\x20','Maximum\x20rows\x20to\x20display','Duplicate\x20an\x20always-on\x20campaign','Parent\x20folder\x20name\x20for\x20nested\x20folders','Authentication\x20management','YAML\x20file\x20path\x20for\x20unpushed\x20segment','Pause\x20a\x20running\x20journey','Database\x20name','parent_segment','Set\x20or\x20show\x20parent\x20segment\x20context','--yes','Account\x20name\x20for\x20SSO\x20(Single\x20Sign-On)\x20login','length','--attributes-file\x20<file>','Show\x20the\x20most\x20recent\x20chat','Comma-separated\x20list\x20of\x20allowed\x20IP\x20addresses','--customer-group-file\x20<file>','8764494xZaRiZ','Get\x20SQL\x20query\x20for\x20segment.\x20For\x20segments\x20in\x20folders,\x20include\x20folder\x20path\x20(e.g.,\x20\x22Folder/Segment\x22)','Create\x20a\x20new\x20LLM\x20project','-n,\x20--name\x20<name>','--segment\x20<path>','api\x20[endpoint]','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','action','grapesjs','--output\x20<file>','List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)','Document\x20body\x20text','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','Action:\x20logs,\x20tasks,\x20kill,\x20retry','timeline\x20[project.workflow]','create\x20<name-or-path>','validate\x20[target]','List\x20all\x20available\x20profiles','push','argumentTerm','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Update\x20an\x20always-on\x20campaign','command','New\x20campaign\x20name','--description\x20<desc>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Set\x20secrets\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE\x20[KEY2=VALUE2\x20...])','parents\x20[pattern]','List\x20always-on\x20campaigns\x20(alias\x20for\x20\x22always-on-campaign\x20list\x22)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','Show\x20always-on\x20campaign\x20details','--no-color','-o,\x20--output\x20<file>','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','list\x20[name]','Show\x20master\x20table\x20sample\x20data','databases\x20[pattern]','debug','Run\x20a\x20scheduled\x20query\x20immediately','1311LahCXC','validate\x20[name]','New\x20segment\x20name','Finish\x20an\x20always-on\x20campaign','list','Output\x20as\x20JSON\x20Lines','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','--default','show\x20[table]','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--priority\x20<-2~2>','Create\x20segment\x20folder','desc\x20[segment_name]','stderr','Unknown\x20action:\x20','addHelpText','472yMdPvx','-r,\x20--recursive','mcp','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','move\x20<name>\x20<status>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Folder\x20description','Read\x20SQL\x20query\x20from\x20file','buildTime','logLevel','-C,\x20--directory\x20<path>','map','projects\x20[pattern]','clone\x20[source-dir]','folders\x20<parent_name>','RT\x202.0\x20configuration\x20management','view\x20[name]','--params\x20<json>','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','option','--limit\x20<rows>','Show\x20timeline\x20for\x20specific\x20attempt','join','--trace','Add\x20attributes\x20as\x20JSON\x20string','show\x20<personalization_id>','Skip\x20population\x20counting','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','Create\x20a\x20new\x20campaign','jsonl','log\x20<chat-id>','show\x20[name]','--chat-id\x20<id>','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','--name\x20<names>','Starting\x20offset\x20(default:\x200)','Name\x20for\x20the\x20new\x20project\x20(required)','filter','Show\x20job\x20details','then','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Continue\x20most\x20recent\x20conversation','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','Reason\x20for\x20killing\x20the\x20attempt','summary','push\x20[name]','--type\x20<type>','-H,\x20--header\x20<header>','--add-attributes\x20<json>','download\x20<project-name>\x20[output-dir]','\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','activations\x20<name-or-path>','Skip\x20validation\x20of\x20.dig\x20files','name','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','stdout','\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','set\x20<args...>','Preview\x20operation\x20without\x20executing','Agent\x20prompt/instructions','--type\x20<api_type>','--llm-project\x20<name>','connections','--max-tool-iterations\x20<n>','always-on-campaigns\x20[pattern]','Show\x20schedule\x20execution\x20history','Assignee','create\x20<segment_name>','launch\x20<name-or-id>','types','Invalid\x20editor\x20type:\x20','Parse\x20and\x20validate\x20without\x20executing','retry','Personalization\x20description','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','List\x20agents\x20in\x20current\x20project','--description\x20<text>','Create\x20a\x20token\x20for\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)','--enriched','Pull\x20campaigns\x20to\x20YAML\x20files','parent','--html-file\x20<path>','--time\x20<iso8601>','Composable\x20Audience\x20Studio\x20commands\x20(zero-copy\x20CDP)','--reeval','--from-task\x20<task>','--temperature\x20<n>','\x20-\x20built\x20','1140513xKCWCf','2981776NiZJwT','Result\x20export\x20destination\x20(URL\x20or\x20JSON)','parent-segment','Delay\x20in\x20seconds\x20before\x20execution','Pull\x20specific\x20campaign\x20by\x20name','Alias\x20for\x20--database\x20(natural\x20language\x20style)','--tags\x20<tags>','--add-behaviors-file\x20<file>','--attribute\x20[name]','--include-history','Resume\x20a\x20paused\x20always-on\x20campaign','Pull\x20templates\x20to\x20YAML\x20files','--version\x20<number>','--template\x20<name>','delete\x20<name>','--schedule-type\x20<type>','models','Read\x20request\x20body\x20from\x20file','show\x20<job-id>','--path\x20<file-path>','--timezone\x20<tz>','Check\x20for\x20updates\x20without\x20installing','push\x20[target]','--schedule-option\x20<value>','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','Upgrade\x20tdx\x20to\x20the\x20latest\x20version','Always-on\x20campaign\x20management','--data\x20<data>','--new','campaign','Read\x20query\x20from\x20file','[attempt-id]','JSON\x20columns\x20for\x20connector\x20(comma-separated)','--file\x20<path>','list\x20[audience_name]','[options]\x20--\x20[claude-code-args...]','delete\x20<token_id>\x20[parent_segment]','Resume\x20activations\x20in\x20an\x20RT\x20journey','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Skip\x20confirmation\x20prompt','schema\x20<type>','Show\x20workspace\x20details','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Launch\x20an\x20always-on\x20campaign','get','-1d','Overwrite\x20existing\x20profile','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Query\x20type:\x20trino\x20or\x20hive'];a2_0x7fa4=function(){return _0xc6c1d2;};return a2_0x7fa4();}const parentCmd=segmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x185),{'hidden':!![]})[a2_0x23a6af(0x336)](a2_0x23a6af(0x9e)),parentListAction=async(_0x1e345e,_0x5c5143)=>{const _0x9bb63d=new ParentSegmentListCommand(),_0x4ac5cf=program['opts'](),_0x16a8f4=await createTDXInstance(_0x4ac5cf),_0x4a29e8=await _0x9bb63d['run']({'options':{..._0x4ac5cf,..._0x5c5143},'args':_0x1e345e?[_0x1e345e]:[],'tdx':_0x16a8f4});gracefulExit(_0x4a29e8);};parentCmd['command'](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2b0))['action'](parentListAction),segmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x116),{'hidden':!![]})['description'](a2_0x23a6af(0x2fc))[a2_0x23a6af(0x101)](parentListAction),parentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x350))[a2_0x23a6af(0x336)](a2_0x23a6af(0x118))['option'](a2_0x23a6af(0x11b),a2_0x23a6af(0x86))['action'](async(_0xe1d7bd,_0x23864c)=>{const _0x32b8a0=a2_0x23a6af,_0x209235=new ParentSegmentPullCommand(),_0x57d068=program[_0x32b8a0(0x256)](),_0x3c3c33=await createTDXInstance(_0x57d068),_0x87eee8=await _0x209235[_0x32b8a0(0x2d3)]({'options':{..._0x57d068,..._0x23864c},'args':_0xe1d7bd?[_0xe1d7bd]:[],'tdx':_0x3c3c33});gracefulExit(_0x87eee8);}),parentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x353))[a2_0x23a6af(0x336)](a2_0x23a6af(0x22a))[a2_0x23a6af(0x101)](async(_0x177fdb,_0x4ea414)=>{const _0x165590=a2_0x23a6af,_0x1922c0=new ParentSegmentPushCommand(),_0x53ccf4=program[_0x165590(0x256)](),_0x54bad7=await createTDXInstance(_0x53ccf4),_0x1de02e=await _0x1922c0['run']({'options':{..._0x53ccf4,..._0x4ea414},'args':_0x177fdb?[_0x177fdb]:[],'tdx':_0x54bad7});gracefulExit(_0x1de02e);}),parentCmd['command'](a2_0x23a6af(0x28d))[a2_0x23a6af(0x336)](a2_0x23a6af(0x10f))['option'](a2_0x23a6af(0x290),a2_0x23a6af(0x211))['option'](a2_0x23a6af(0x196),a2_0x23a6af(0x114))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2b6),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')['option'](a2_0x23a6af(0x183),a2_0x23a6af(0xd1))['option'](a2_0x23a6af(0x1dc),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x23a6af(0x1bb))[a2_0x23a6af(0x101)](async(_0xdbc1ff,_0x57d2e8)=>{const _0xb0e4fe=a2_0x23a6af,_0x400d4e=new ParentSegmentValidateCommand(),_0x262c0b=program[_0xb0e4fe(0x256)](),_0x2e2edf=await createTDXInstance(_0x262c0b),_0x1f2f6e=await _0x400d4e[_0xb0e4fe(0x2d3)]({'options':{..._0x262c0b,..._0x57d2e8},'args':_0xdbc1ff?[_0xdbc1ff]:[],'tdx':_0x2e2edf});gracefulExit(_0x1f2f6e);}),parentCmd['command'](a2_0x23a6af(0x331))['description']('Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration')[a2_0x23a6af(0x147)](a2_0x23a6af(0x290),a2_0x23a6af(0x11e))[a2_0x23a6af(0x147)](a2_0x23a6af(0x196),a2_0x23a6af(0x268))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2b6),a2_0x23a6af(0x1fa))[a2_0x23a6af(0x147)](a2_0x23a6af(0x183),'Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1dc),a2_0x23a6af(0x30c),a2_0x23a6af(0x1bb))[a2_0x23a6af(0x101)](async(_0x25d5a3,_0x549dd6)=>{const _0x14143c=a2_0x23a6af,_0x269544=new ParentSegmentPreviewCommand(),_0x24d804=program[_0x14143c(0x256)](),_0x2910a8=await createTDXInstance(_0x24d804),_0x386ac3=await _0x269544['run']({'options':{..._0x24d804,..._0x549dd6},'args':_0x25d5a3?[_0x25d5a3]:[],'tdx':_0x2910a8});gracefulExit(_0x386ac3);}),parentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2f0))['description'](a2_0x23a6af(0x2a9))['action'](async(_0x3bcd1d,_0x211892)=>{const _0x4ca076=a2_0x23a6af,_0x50ba49=new ParentSegmentRunCommand(),_0x2fe0ba=program[_0x4ca076(0x256)](),_0x572dcb=await createTDXInstance(_0x2fe0ba),_0x273902=await _0x50ba49['run']({'options':{..._0x2fe0ba,..._0x211892},'args':_0x3bcd1d?[_0x3bcd1d]:[],'tdx':_0x572dcb});gracefulExit(_0x273902);});const parentSegmentCmd=program[a2_0x23a6af(0x111)](a2_0x23a6af(0x190))[a2_0x23a6af(0x340)]('ps')[a2_0x23a6af(0x336)]('Parent\x20segment\x20management');parentSegmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2b0))[a2_0x23a6af(0x101)](parentListAction),parentSegmentCmd['command'](a2_0x23a6af(0x350))[a2_0x23a6af(0x336)](a2_0x23a6af(0x16b))[a2_0x23a6af(0x147)](a2_0x23a6af(0x11b),a2_0x23a6af(0x37c))[a2_0x23a6af(0x147)]('-u,\x20--use',a2_0x23a6af(0x76))['action'](async(_0x11645d,_0x2c5cc4)=>{const _0x2b202b=a2_0x23a6af,_0x51b55d=new ParentSegmentPullCommand(),_0x39b8d4=program[_0x2b202b(0x256)](),_0x31d157=await createTDXInstance(_0x39b8d4),_0x1f26de=await _0x51b55d['run']({'options':{..._0x39b8d4,..._0x2c5cc4},'args':_0x11645d?[_0x11645d]:[],'tdx':_0x31d157});gracefulExit(_0x1f26de);}),parentSegmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x162))[a2_0x23a6af(0x336)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x427220,_0x1a36b7)=>{const _0x178a67=a2_0x23a6af,_0x3aac31=new ParentSegmentPushCommand(),_0x81beb4=program[_0x178a67(0x256)](),_0x538663=await createTDXInstance(_0x81beb4),_0x22b1e1=await _0x3aac31['run']({'options':{..._0x81beb4,..._0x1a36b7},'args':_0x427220?[_0x427220]:[],'tdx':_0x538663});gracefulExit(_0x22b1e1);}),parentSegmentCmd['command'](a2_0x23a6af(0x123))[a2_0x23a6af(0x336)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x23a6af(0x147)]('--master',a2_0x23a6af(0x211))[a2_0x23a6af(0x147)](a2_0x23a6af(0x196),a2_0x23a6af(0x114))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2b6),'Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior')[a2_0x23a6af(0x147)](a2_0x23a6af(0x183),a2_0x23a6af(0xd1))['option'](a2_0x23a6af(0x1dc),a2_0x23a6af(0x30c),a2_0x23a6af(0x1bb))['action'](async(_0x50ed7a,_0x277c00)=>{const _0x5d3241=a2_0x23a6af,_0x160d2f=new ParentSegmentValidateCommand(),_0x4e8eff=program['opts'](),_0x3b818e=await createTDXInstance(_0x4e8eff),_0x4f688a=await _0x160d2f[_0x5d3241(0x2d3)]({'options':{..._0x4e8eff,..._0x277c00},'args':_0x50ed7a?[_0x50ed7a]:[],'tdx':_0x3b818e});gracefulExit(_0x4f688a);}),parentSegmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0xb1))[a2_0x23a6af(0x147)](a2_0x23a6af(0x290),a2_0x23a6af(0x11e))[a2_0x23a6af(0x147)](a2_0x23a6af(0x196),a2_0x23a6af(0x268))[a2_0x23a6af(0x147)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x23a6af(0x147)]('--enriched',a2_0x23a6af(0x28f))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1dc),a2_0x23a6af(0x30c),a2_0x23a6af(0x1bb))[a2_0x23a6af(0x101)](async(_0x2b8f18,_0x363a67)=>{const _0x2b6929=a2_0x23a6af,_0x54ad00=new ParentSegmentPreviewCommand(),_0x476ebc=program[_0x2b6929(0x256)](),_0x4c5d60=await createTDXInstance(_0x476ebc),_0x551c78=await _0x54ad00[_0x2b6929(0x2d3)]({'options':{..._0x476ebc,..._0x363a67},'args':_0x2b8f18?[_0x2b8f18]:[],'tdx':_0x4c5d60});gracefulExit(_0x551c78);}),parentSegmentCmd['command'](a2_0x23a6af(0x2f0))[a2_0x23a6af(0x336)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x23a6af(0x101)](async(_0x5ea537,_0x3df353)=>{const _0x8a8d8b=a2_0x23a6af,_0x2a011a=new ParentSegmentRunCommand(),_0x567cb2=program[_0x8a8d8b(0x256)](),_0x36104c=await createTDXInstance(_0x567cb2),_0x15e92f=await _0x2a011a['run']({'options':{..._0x567cb2,..._0x3df353},'args':_0x5ea537?[_0x5ea537]:[],'tdx':_0x36104c});gracefulExit(_0x15e92f);}),parentSegmentCmd[a2_0x23a6af(0x111)]('fields\x20[name]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x96))['option'](a2_0x23a6af(0x2ed),a2_0x23a6af(0x303))[a2_0x23a6af(0x147)]('--jsonl','Output\x20as\x20JSON\x20Lines')[a2_0x23a6af(0x101)](async(_0xfe32b3,_0x4354b7)=>{const _0xb9a5c0=new ParentSegmentFieldsCommand(),_0x291028=program['opts'](),_0x4fa54b=await createTDXInstance(_0x291028),_0x3e84a0=await _0xb9a5c0['run']({'options':{..._0x291028,..._0x4354b7},'args':_0xfe32b3?[_0xfe32b3]:[],'tdx':_0x4fa54b});gracefulExit(_0x3e84a0);}),parentSegmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x143))[a2_0x23a6af(0x336)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x23a6af(0x147)](a2_0x23a6af(0x2c6),a2_0x23a6af(0x2dd))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2ed),a2_0x23a6af(0x303))['option'](a2_0x23a6af(0x2d7),a2_0x23a6af(0x127))[a2_0x23a6af(0x101)](async(_0x3e20ad,_0x44d91c)=>{const _0x594191=a2_0x23a6af,_0xd2225d=new ParentSegmentViewCommand(),_0x2cd61b=program[_0x594191(0x256)](),_0x4fe5f0=await createTDXInstance(_0x2cd61b),_0x11b3f3=await _0xd2225d['run']({'options':{..._0x2cd61b,..._0x44d91c},'args':_0x3e20ad?[_0x3e20ad]:[],'tdx':_0x4fe5f0});gracefulExit(_0x11b3f3);}),parentSegmentCmd['command'](a2_0x23a6af(0x348))[a2_0x23a6af(0x336)](a2_0x23a6af(0x12c))[a2_0x23a6af(0x147)](a2_0x23a6af(0x11b),'Output\x20file\x20path')['option'](a2_0x23a6af(0x2ed),'Output\x20as\x20JSON')[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d7),a2_0x23a6af(0x127))[a2_0x23a6af(0x101)](async(_0xb8c987,_0x5e7846)=>{const _0x352cf2=a2_0x23a6af,_0x1cfa2f=new ParentSegmentDescCommand(),_0x2353b2=program[_0x352cf2(0x256)](),_0xeb1a25=await createTDXInstance(_0x2353b2),_0x43d115=await _0x1cfa2f[_0x352cf2(0x2d3)]({'options':{..._0x2353b2,..._0x5e7846},'args':_0xb8c987?[_0xb8c987]:[],'tdx':_0xeb1a25});gracefulExit(_0x43d115);}),parentSegmentCmd['command'](a2_0x23a6af(0x80))[a2_0x23a6af(0x336)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x23a6af(0x2ed),a2_0x23a6af(0x303))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d7),a2_0x23a6af(0x127))[a2_0x23a6af(0x101)](async(_0xdabc1d,_0x580d23)=>{const _0x1348dd=a2_0x23a6af,_0x204835=new ParentSegmentSQLCommand(),_0x1034f4=program[_0x1348dd(0x256)](),_0x3293f2=await createTDXInstance(_0x1034f4),_0x663a50=await _0x204835[_0x1348dd(0x2d3)]({'options':{..._0x1034f4,..._0x580d23},'args':_0xdabc1d?[_0xdabc1d]:[],'tdx':_0x3293f2});gracefulExit(_0x663a50);}),parentSegmentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x153))[a2_0x23a6af(0x336)](a2_0x23a6af(0xa4))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1ee),a2_0x23a6af(0x75))[a2_0x23a6af(0x147)]('--json','Output\x20as\x20JSON')[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d7),a2_0x23a6af(0x127))[a2_0x23a6af(0x101)](async(_0x58cdec,_0x4a2057)=>{const _0x134999=a2_0x23a6af,_0x2eb132=new ParentSegmentShowCommand(),_0x6b01cf=program[_0x134999(0x256)](),_0x307b05=await createTDXInstance(_0x6b01cf),_0xdb6f7c=await _0x2eb132[_0x134999(0x2d3)]({'options':{..._0x6b01cf,..._0x4a2057},'args':_0x58cdec?[_0x58cdec]:[],'tdx':_0x307b05});gracefulExit(_0xdb6f7c);}),parentSegmentCmd['command'](a2_0x23a6af(0x226))[a2_0x23a6af(0x336)](a2_0x23a6af(0xf2))['action'](async(_0x2e58f1,_0x3f795d)=>{const _0x1e5f7b=a2_0x23a6af,_0x40e271=new UseCommand(),_0x494450=program['opts'](),_0x54aaca=_0x2e58f1?[_0x1e5f7b(0xf1),_0x2e58f1]:[],_0x487b61=await _0x40e271[_0x1e5f7b(0x2d3)]({'options':{..._0x494450,..._0x3f795d},'args':_0x54aaca,'tdx':null});gracefulExit(_0x487b61);});const psRtCmd=parentSegmentCmd[a2_0x23a6af(0x111)]('rt')[a2_0x23a6af(0x336)](a2_0x23a6af(0x142));psRtCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0x25f))[a2_0x23a6af(0x101)](async(_0x1bdac5,_0x454798)=>{const _0x3ebd64=a2_0x23a6af,_0x13a426=new PSRtListCommand(),_0x27ff1c=program[_0x3ebd64(0x256)](),_0x588a86=await createTDXInstance(_0x27ff1c),_0x56cf8d=await _0x13a426[_0x3ebd64(0x2d3)]({'options':{..._0x27ff1c,..._0x454798},'args':_0x1bdac5?[_0x1bdac5]:[],'tdx':_0x588a86});gracefulExit(_0x56cf8d);}),psRtCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x123))['description'](a2_0x23a6af(0x32d))[a2_0x23a6af(0x101)](async(_0x587d32,_0x105877)=>{const _0xfc794e=a2_0x23a6af,_0x28a3b3=new PSRtValidateCommand(),_0x5b8de8=program[_0xfc794e(0x256)](),_0x44d599=await createTDXInstance(_0x5b8de8),_0x65c1aa=await _0x28a3b3[_0xfc794e(0x2d3)]({'options':{..._0x5b8de8,..._0x105877},'args':_0x587d32?[_0x587d32]:[],'tdx':_0x44d599});gracefulExit(_0x65c1aa);}),psRtCmd[a2_0x23a6af(0x111)]('configuration_versions\x20[name]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x282))['action'](async(_0x12bf60,_0x27f6db)=>{const _0x23de5a=a2_0x23a6af,_0x2b0000=new PSRtConfigVersionCommand(),_0x4b8326=program[_0x23de5a(0x256)](),_0x1afd52=await createTDXInstance(_0x4b8326),_0x4cae1f=await _0x2b0000[_0x23de5a(0x2d3)]({'options':{..._0x4b8326,..._0x27f6db},'args':_0x12bf60?[_0x12bf60]:[],'tdx':_0x1afd52});gracefulExit(_0x4cae1f);});const psRtJnCmd=psRtCmd[a2_0x23a6af(0x111)]('jn')[a2_0x23a6af(0x336)](a2_0x23a6af(0x2ac));psRtJnCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x11d))[a2_0x23a6af(0x336)]('List\x20RT\x20journeys\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x44732d,_0x32f586)=>{const _0x4260e9=a2_0x23a6af,_0xba774a=new PSRtJnListCommand(),_0x3bbe23=program[_0x4260e9(0x256)](),_0x2674a9=await createTDXInstance(_0x3bbe23),_0x325074=await _0xba774a[_0x4260e9(0x2d3)]({'options':{..._0x3bbe23,..._0x32f586},'args':_0x44732d?[_0x44732d]:[],'tdx':_0x2674a9});gracefulExit(_0x325074);}),psRtJnCmd['command'](a2_0x23a6af(0x33a))[a2_0x23a6af(0x336)]('Pause\x20activations\x20in\x20an\x20RT\x20journey')[a2_0x23a6af(0x101)](async(_0x283d20,_0xf0524c)=>{const _0x1a7747=a2_0x23a6af,_0x223cd2=new PSRtJnPauseCommand(),_0xc97350=program['opts'](),_0x42c4b4=await createTDXInstance(_0xc97350),_0x7aecad=await _0x223cd2[_0x1a7747(0x2d3)]({'options':{..._0xc97350,..._0xf0524c},'args':[_0x283d20],'tdx':_0x42c4b4});gracefulExit(_0x7aecad);}),psRtJnCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x204))['description'](a2_0x23a6af(0x1b3))[a2_0x23a6af(0x101)](async(_0x37dcc5,_0x1977b9)=>{const _0x159129=a2_0x23a6af,_0x12a2ef=new PSRtJnResumeCommand(),_0x13aa62=program[_0x159129(0x256)](),_0x135615=await createTDXInstance(_0x13aa62),_0x3804f2=await _0x12a2ef['run']({'options':{..._0x13aa62,..._0x1977b9},'args':[_0x37dcc5],'tdx':_0x135615});gracefulExit(_0x3804f2);});const parentRtCmd=parentCmd['command']('rt',{'hidden':!![]})[a2_0x23a6af(0x336)](a2_0x23a6af(0x142));parentRtCmd['command'](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0x25f))[a2_0x23a6af(0x101)](async(_0x18e44d,_0x287776)=>{const _0x1ce8e1=a2_0x23a6af,_0x28a6bb=new PSRtListCommand(),_0x2b26d4=program[_0x1ce8e1(0x256)](),_0x3851f4=await createTDXInstance(_0x2b26d4),_0x13fb8e=await _0x28a6bb[_0x1ce8e1(0x2d3)]({'options':{..._0x2b26d4,..._0x287776},'args':_0x18e44d?[_0x18e44d]:[],'tdx':_0x3851f4});gracefulExit(_0x13fb8e);}),parentRtCmd[a2_0x23a6af(0x111)]('validate\x20[name]')['description'](a2_0x23a6af(0x32d))[a2_0x23a6af(0x101)](async(_0x549e75,_0x2f40de)=>{const _0x2e0635=a2_0x23a6af,_0x5d6f97=new PSRtValidateCommand(),_0x24566c=program['opts'](),_0x25a446=await createTDXInstance(_0x24566c),_0x4fc454=await _0x5d6f97[_0x2e0635(0x2d3)]({'options':{..._0x24566c,..._0x2f40de},'args':_0x549e75?[_0x549e75]:[],'tdx':_0x25a446});gracefulExit(_0x4fc454);});const psPzCmd=parentSegmentCmd[a2_0x23a6af(0x111)]('pz')[a2_0x23a6af(0x336)]('Personalization\x20management');psPzCmd['command'](a2_0x23a6af(0x11d))[a2_0x23a6af(0x336)]('List\x20realtime\x20personalizations\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x23a6af(0x101)](async(_0x17aa4b,_0x381a45)=>{const _0x162d72=a2_0x23a6af,_0x5d2a20=new PSPzListCommand(),_0x12e8a1=program[_0x162d72(0x256)](),_0x384014=await createTDXInstance(_0x12e8a1),_0x45ad29=await _0x5d2a20[_0x162d72(0x2d3)]({'options':{..._0x12e8a1,..._0x381a45},'args':_0x17aa4b?[_0x17aa4b]:[],'tdx':_0x384014});gracefulExit(_0x45ad29);}),psPzCmd['command'](a2_0x23a6af(0x14d))[a2_0x23a6af(0x336)](a2_0x23a6af(0xa2))[a2_0x23a6af(0x101)](async(_0x476aca,_0xcb4cec)=>{const _0x492ca9=a2_0x23a6af,_0x5a624d=new PSPzShowCommand(),_0x5c2099=program[_0x492ca9(0x256)](),_0x4b88dc=await createTDXInstance(_0x5c2099),_0x115fcb=await _0x5a624d[_0x492ca9(0x2d3)]({'options':{..._0x5c2099,..._0xcb4cec},'args':[_0x476aca],'tdx':_0x4b88dc});gracefulExit(_0x115fcb);}),psPzCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x20d))[a2_0x23a6af(0x336)](a2_0x23a6af(0x32e))[a2_0x23a6af(0x101)](async(_0x30804e,_0x1554a0)=>{const _0x31179a=a2_0x23a6af,_0x50f1d5=new PSPzDeleteCommand(),_0x1ea894=program[_0x31179a(0x256)](),_0x3d36fc=await createTDXInstance(_0x1ea894),_0x247fdd=await _0x50f1d5[_0x31179a(0x2d3)]({'options':{..._0x1ea894,..._0x1554a0},'args':[_0x30804e],'tdx':_0x3d36fc});gracefulExit(_0x247fdd);}),psPzCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1d1))['description'](a2_0x23a6af(0x2b2))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1c6),a2_0x23a6af(0x33f))['option'](a2_0x23a6af(0x181),a2_0x23a6af(0x17e))[a2_0x23a6af(0x147)](a2_0x23a6af(0x220),a2_0x23a6af(0x273))[a2_0x23a6af(0x147)](a2_0x23a6af(0x247),'Parent\x20folder\x20ID\x20(required;\x20use\x20null\x20for\x20root\x20folder)')[a2_0x23a6af(0x147)]('--sections\x20<json>','Sections\x20as\x20an\x20inline\x20JSON\x20array')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1af),a2_0x23a6af(0x2c7))[a2_0x23a6af(0x101)](async _0x5cf06f=>{const _0x520c97=a2_0x23a6af,_0x3a4bd9=new PSPzCreateCommand(),_0x16d458=program[_0x520c97(0x256)](),_0x498fac=await createTDXInstance(_0x16d458),_0x211510=await _0x3a4bd9[_0x520c97(0x2d3)]({'options':{..._0x16d458,..._0x5cf06f},'args':[],'tdx':_0x498fac});gracefulExit(_0x211510);}),psPzCmd['command'](a2_0x23a6af(0x1fd))['description'](a2_0x23a6af(0x24d))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1c6),a2_0x23a6af(0x33f))[a2_0x23a6af(0x147)](a2_0x23a6af(0x181),a2_0x23a6af(0x17e))['option']('--sections\x20<json>',a2_0x23a6af(0x1d9))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1af),'Full\x20request\x20body\x20from\x20a\x20JSON\x20file\x20(overrides\x20other\x20flags)')[a2_0x23a6af(0x101)](async(_0x5882fc,_0x3d33aa)=>{const _0x23dcbd=a2_0x23a6af,_0x2d7ad5=new PSPzPatchCommand(),_0x247450=program['opts'](),_0x268785=await createTDXInstance(_0x247450),_0x1de7ff=await _0x2d7ad5[_0x23dcbd(0x2d3)]({'options':{..._0x247450,..._0x3d33aa},'args':[_0x5882fc],'tdx':_0x268785});gracefulExit(_0x1de7ff);});const psPzServiceCmd=psPzCmd[a2_0x23a6af(0x111)]('service')['description'](a2_0x23a6af(0x21e));psPzServiceCmd['command'](a2_0x23a6af(0x11d))[a2_0x23a6af(0x336)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')['action'](async(_0x4ff419,_0x125bad)=>{const _0x2d370d=a2_0x23a6af,_0x7267c4=new PSPzServiceListCommand(),_0x1754a7=program[_0x2d370d(0x256)](),_0x677eb7=await createTDXInstance(_0x1754a7),_0x23e2e0=await _0x7267c4[_0x2d370d(0x2d3)]({'options':{..._0x1754a7,..._0x125bad},'args':_0x4ff419?[_0x4ff419]:[],'tdx':_0x677eb7});gracefulExit(_0x23e2e0);}),psPzServiceCmd[a2_0x23a6af(0x111)]('create\x20<name>\x20[parent_segment]')[a2_0x23a6af(0x336)]('Create\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['option'](a2_0x23a6af(0x181),a2_0x23a6af(0x21d))[a2_0x23a6af(0x147)](a2_0x23a6af(0x240),'Make\x20service\x20public\x20(default:\x20private)')[a2_0x23a6af(0x101)](async(_0x5a159d,_0xa9f69,_0x1a310b)=>{const _0x41bff9=a2_0x23a6af,_0x4ccaa1=new PSPzServiceCreateCommand(),_0x28d71b=program[_0x41bff9(0x256)](),_0x5a3d2f=await createTDXInstance(_0x28d71b),_0x6a6a8=await _0x4ccaa1[_0x41bff9(0x2d3)]({'options':{..._0x28d71b,..._0x1a310b},'args':_0xa9f69?[_0x5a159d,_0xa9f69]:[_0x5a159d],'tdx':_0x5a3d2f});gracefulExit(_0x6a6a8);}),psPzServiceCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2ba))[a2_0x23a6af(0x336)](a2_0x23a6af(0xdf))[a2_0x23a6af(0x101)](async(_0x5590a7,_0x488715,_0x9eca15)=>{const _0x55f908=new PSPzServiceShowCommand(),_0x1f33f2=program['opts'](),_0x3742dc=await createTDXInstance(_0x1f33f2),_0x523ced=await _0x55f908['run']({'options':{..._0x1f33f2,..._0x9eca15},'args':_0x488715?[_0x5590a7,_0x488715]:[_0x5590a7],'tdx':_0x3742dc});gracefulExit(_0x523ced);}),psPzServiceCmd['command'](a2_0x23a6af(0x2ab))['description'](a2_0x23a6af(0x29d))[a2_0x23a6af(0x101)](async(_0xa4aa93,_0x4204c5,_0x1bb8c3)=>{const _0x13b5c2=a2_0x23a6af,_0x2e92f7=new PSPzServiceDeleteCommand(),_0x4a19e2=program[_0x13b5c2(0x256)](),_0x4c4b05=await createTDXInstance(_0x4a19e2),_0x50c31f=await _0x2e92f7[_0x13b5c2(0x2d3)]({'options':{..._0x4a19e2,..._0x1bb8c3},'args':_0x4204c5?[_0xa4aa93,_0x4204c5]:[_0xa4aa93],'tdx':_0x4c4b05});gracefulExit(_0x50c31f);}),psPzServiceCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x212))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2df))[a2_0x23a6af(0x315)]('--name\x20<name>',a2_0x23a6af(0xbb))[a2_0x23a6af(0x147)]('--description\x20<text>',a2_0x23a6af(0x219))[a2_0x23a6af(0x101)](async(_0x56b819,_0x335a28,_0x1891a4)=>{const _0x14157d=a2_0x23a6af,_0x6b4157=new PSPzServiceUpdateCommand(),_0x43a7fe=program['opts'](),_0x1865d3=await createTDXInstance(_0x43a7fe),_0x289512=await _0x6b4157[_0x14157d(0x2d3)]({'options':{..._0x43a7fe,..._0x1891a4},'args':_0x335a28?[_0x56b819,_0x335a28]:[_0x56b819],'tdx':_0x1865d3});gracefulExit(_0x289512);}),psPzServiceCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x25a))[a2_0x23a6af(0x336)](a2_0x23a6af(0x285))[a2_0x23a6af(0x101)](async(_0x26b078,_0x1b1011)=>{const _0x2d9e38=a2_0x23a6af,_0x1e90b3=new PSPzInitCommand(),_0x37e466=program['opts'](),_0x366900=await createTDXInstance(_0x37e466),_0x21de01=await _0x1e90b3[_0x2d9e38(0x2d3)]({'options':{..._0x37e466,..._0x1b1011},'args':_0x26b078?[_0x26b078]:[],'tdx':_0x366900});gracefulExit(_0x21de01);});const psPzServiceTokenCmd=psPzServiceCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1c0))[a2_0x23a6af(0x336)](a2_0x23a6af(0x73));psPzServiceTokenCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1cd))[a2_0x23a6af(0x336)](a2_0x23a6af(0x182))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2b3),a2_0x23a6af(0xf8))[a2_0x23a6af(0x147)](a2_0x23a6af(0x181),'Token\x20description')[a2_0x23a6af(0x101)](async(_0x45a5b1,_0x5d5b50,_0x3d170a,_0x3bd6ed)=>{const _0x3db1af=new PSPzServiceTokenCreateCommand(),_0x22326f=program['opts'](),_0x1f14bf=await createTDXInstance(_0x22326f),_0x8b6bf4=await _0x3db1af['run']({'options':{..._0x22326f,..._0x3bd6ed},'args':_0x3d170a?[_0x45a5b1,_0x5d5b50,_0x3d170a]:[_0x45a5b1,_0x5d5b50],'tdx':_0x1f14bf});gracefulExit(_0x8b6bf4);}),psPzServiceTokenCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1b2))[a2_0x23a6af(0x336)]('Delete\x20a\x20token\x20from\x20a\x20personalization\x20service\x20(uses\x20context\x20if\x20parent\x20omitted)')['action'](async(_0x316fb1,_0x1e1590,_0x2bc70f)=>{const _0x3919f0=a2_0x23a6af,_0x2cef97=new PSPzServiceTokenDeleteCommand(),_0x25f2f7=program[_0x3919f0(0x256)](),_0x4c417e=await createTDXInstance(_0x25f2f7),_0x52a451=await _0x2cef97[_0x3919f0(0x2d3)]({'options':{..._0x25f2f7,..._0x2bc70f},'args':_0x1e1590?[_0x316fb1,_0x1e1590]:[_0x316fb1],'tdx':_0x4c417e});gracefulExit(_0x52a451);}),parentCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x29c))[a2_0x23a6af(0x336)](a2_0x23a6af(0x1c1))[a2_0x23a6af(0x315)](a2_0x23a6af(0xd0),a2_0x23a6af(0x1f7))[a2_0x23a6af(0x315)](a2_0x23a6af(0x2e5),a2_0x23a6af(0x276))[a2_0x23a6af(0x147)](a2_0x23a6af(0x181),a2_0x23a6af(0x8c))[a2_0x23a6af(0x147)](a2_0x23a6af(0x19d),'Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')['option'](a2_0x23a6af(0x1a5),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x23a6af(0x147)]('--timezone\x20<tz>',a2_0x23a6af(0x343))[a2_0x23a6af(0x147)]('--attributes\x20<json>',a2_0x23a6af(0x234))[a2_0x23a6af(0x147)](a2_0x23a6af(0xf6),a2_0x23a6af(0x351))[a2_0x23a6af(0x147)](a2_0x23a6af(0x25c),'Behaviors\x20as\x20JSON\x20string')[a2_0x23a6af(0x147)](a2_0x23a6af(0x215),'Behaviors\x20from\x20JSON\x20file')[a2_0x23a6af(0x147)](a2_0x23a6af(0x2ad),'Customer\x20group\x20as\x20JSON\x20string')[a2_0x23a6af(0x147)](a2_0x23a6af(0xf9),'Customer\x20group\x20from\x20JSON\x20file')[a2_0x23a6af(0x101)](async(_0xb5da11,_0xd0b4bd)=>{const _0x159b9d=a2_0x23a6af,_0x53ff25=new ParentSegmentCreateCommand(),_0x1a69cf=program['opts'](),_0xbd34e2=await createTDXInstance(_0x1a69cf),_0x4db1bd=await _0x53ff25[_0x159b9d(0x2d3)]({'options':{..._0x1a69cf,..._0xd0b4bd},'args':[_0xb5da11],'tdx':_0xbd34e2});gracefulExit(_0x4db1bd);}),parentCmd['command'](a2_0x23a6af(0x261))['description'](a2_0x23a6af(0x30d))[a2_0x23a6af(0x147)]('--description\x20<text>',a2_0x23a6af(0x235))[a2_0x23a6af(0x147)](a2_0x23a6af(0x19d),'Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1a5),'Updated\x20schedule\x20option')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1a2),a2_0x23a6af(0x30a))['option'](a2_0x23a6af(0x165),a2_0x23a6af(0x14c))[a2_0x23a6af(0x147)]('--add-attributes-file\x20<file>',a2_0x23a6af(0x382))['option'](a2_0x23a6af(0x74),a2_0x23a6af(0x1f3))[a2_0x23a6af(0x147)](a2_0x23a6af(0x195),a2_0x23a6af(0x1d6))[a2_0x23a6af(0x101)](async(_0x5cc99d,_0x84cc2d)=>{const _0x1d9a53=a2_0x23a6af,_0x1c426e=new ParentSegmentUpdateCommand(),_0x1514a5=program['opts'](),_0x46139f=await createTDXInstance(_0x1514a5),_0x462ffe=await _0x1c426e[_0x1d9a53(0x2d3)]({'options':{..._0x1514a5,..._0x84cc2d},'args':[_0x5cc99d],'tdx':_0x46139f});gracefulExit(_0x462ffe);}),folderCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0xc2))[a2_0x23a6af(0x336)](a2_0x23a6af(0x12e))['option'](a2_0x23a6af(0x181),a2_0x23a6af(0x139))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2c1),a2_0x23a6af(0xec))[a2_0x23a6af(0x101)](async(_0x4c2c19,_0x2975c8,_0xe4dd06)=>{const _0x50bf7c=a2_0x23a6af,_0x12a4e8=new SegmentFolderCreateCommand(),_0x57d285=program[_0x50bf7c(0x256)](),_0x16ee8b=await createTDXInstance(_0x57d285),_0x1b7785=await _0x12a4e8[_0x50bf7c(0x2d3)]({'options':{..._0x57d285,..._0xe4dd06},'args':[_0x4c2c19,_0x2975c8],'tdx':_0x16ee8b});gracefulExit(_0x1b7785);}),program[a2_0x23a6af(0x111)](a2_0x23a6af(0x22f))[a2_0x23a6af(0x336)](a2_0x23a6af(0x15f))['action'](async(_0x3bb2c1,_0x5933a2)=>{const _0x3d7af9=a2_0x23a6af,_0x52d898=new ActivationsCommand(),_0x1cb282=program[_0x3d7af9(0x256)](),_0x24c3ac=await createTDXInstance(_0x1cb282),_0x354e04=await _0x52d898[_0x3d7af9(0x2d3)]({'options':{..._0x1cb282,..._0x5933a2},'args':[_0x3bb2c1],'tdx':_0x24c3ac});gracefulExit(_0x354e04);});const workflowCmd=program[a2_0x23a6af(0x111)](a2_0x23a6af(0x70))[a2_0x23a6af(0x340)]('wf')[a2_0x23a6af(0x336)](a2_0x23a6af(0x216)),wfProjectCmd=workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x230))[a2_0x23a6af(0x336)](a2_0x23a6af(0x34a)),wfProjectListAction=async(_0x2e2538,_0x5a5a2e)=>{const _0x320cec=a2_0x23a6af,_0x4d347f=new WorkflowProjectsCommand(),_0x5f3b60=program[_0x320cec(0x256)](),_0x442970=await createTDXInstance(_0x5f3b60),_0x31944d=await _0x4d347f[_0x320cec(0x2d3)]({'options':{..._0x5f3b60,..._0x5a5a2e},'args':_0x2e2538?[_0x2e2538]:[],'tdx':_0x442970});gracefulExit(_0x31944d);};wfProjectCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0x365))[a2_0x23a6af(0x101)](wfProjectListAction),workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x13f))[a2_0x23a6af(0x336)](a2_0x23a6af(0xaa))[a2_0x23a6af(0x101)](wfProjectListAction);const wfWorkflowListAction=async(_0x70c575,_0x14de13)=>{const _0x2a4eee=a2_0x23a6af,_0x452571=new WorkflowWorkflowsCommand(),_0x21c58d=program[_0x2a4eee(0x256)](),_0x1ec8d=await createTDXInstance(_0x21c58d),_0x4dedf4=await _0x452571[_0x2a4eee(0x2d3)]({'options':{..._0x21c58d,..._0x14de13},'args':_0x70c575?[_0x70c575]:[],'tdx':_0x1ec8d});gracefulExit(_0x4dedf4);};workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x24c))['description'](a2_0x23a6af(0x297))['action'](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x23a6af(0x1cf))[a2_0x23a6af(0x336)](a2_0x23a6af(0xd3)),wfSessionListAction=async(_0x3d6976,_0x5c8594)=>{const _0x47fc15=a2_0x23a6af,_0x5c4044=new WorkflowSessionsCommand(),_0x3c6aaa=program[_0x47fc15(0x256)](),_0x57bda0=await createTDXInstance(_0x3c6aaa),_0x3c502d=await _0x5c4044[_0x47fc15(0x2d3)]({'options':{..._0x3c6aaa,..._0x5c8594},'args':_0x3d6976?[_0x3d6976]:[],'tdx':_0x57bda0});gracefulExit(_0x3c502d);};wfSessionCmd['command']('list\x20[project]')['description'](a2_0x23a6af(0x35e))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2e1),a2_0x23a6af(0x2ff))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1f9),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x23a6af(0x147)](a2_0x23a6af(0xb4),'End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x23a6af(0x101)](wfSessionListAction),workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1e4))[a2_0x23a6af(0x336)](a2_0x23a6af(0xcb))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2e1),a2_0x23a6af(0x2ff))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1f9),a2_0x23a6af(0x291))[a2_0x23a6af(0x147)](a2_0x23a6af(0xb4),a2_0x23a6af(0x317))[a2_0x23a6af(0x101)](wfSessionListAction);const wfAttemptListAction=async(_0x1a4a94,_0x558275)=>{const _0x266163=a2_0x23a6af,_0x58d4da=new WorkflowAttemptsCommand(),_0x1751d7=program['opts'](),_0x4868b0=await createTDXInstance(_0x1751d7),_0x421f63=await _0x58d4da[_0x266163(0x2d3)]({'options':{..._0x1751d7,..._0x558275},'args':_0x1a4a94?[_0x1a4a94]:[],'tdx':_0x4868b0});gracefulExit(_0x421f63);},attemptCmd=workflowCmd[a2_0x23a6af(0x111)]('attempt')[a2_0x23a6af(0x336)](a2_0x23a6af(0x2a0))[a2_0x23a6af(0xd2)](a2_0x23a6af(0x1ad),a2_0x23a6af(0x1d0))[a2_0x23a6af(0xd2)](a2_0x23a6af(0x333),a2_0x23a6af(0x107))[a2_0x23a6af(0xd2)]('[task-name]','Task\x20name\x20for\x20logs\x20action')[a2_0x23a6af(0x147)]('--include-subtasks',a2_0x23a6af(0x272))['option'](a2_0x23a6af(0x1cc),a2_0x23a6af(0x160))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1ed),a2_0x23a6af(0x1e7))['option'](a2_0x23a6af(0x144),a2_0x23a6af(0x155))['option'](a2_0x23a6af(0x260),'Force\x20retry\x20even\x20if\x20not\x20failed')[a2_0x23a6af(0x147)](a2_0x23a6af(0x316),a2_0x23a6af(0x246))[a2_0x23a6af(0x101)](async(_0x23dedd,_0x247b54,_0x288166,_0x597a9e)=>{const _0x17ccf3=a2_0x23a6af;if(_0x23dedd===_0x17ccf3(0x126)){await wfAttemptListAction(_0x247b54,_0x597a9e);return;}if(!_0x23dedd){attemptCmd['help']();return;}const _0x3968de=program[_0x17ccf3(0x256)](),_0x2fe9c5=await createTDXInstance(_0x3968de);let _0x4f250d=0x0;if(!_0x247b54){const _0x1f73b1=new WorkflowAttemptCommand();_0x4f250d=await _0x1f73b1['run']({'options':{..._0x3968de,..._0x597a9e},'args':[_0x23dedd],'tdx':_0x2fe9c5});}else{if(_0x247b54===_0x17ccf3(0x270)){const _0x5844b4=new WorkflowLogsCommand();_0x4f250d=await _0x5844b4['run']({'options':{..._0x3968de,..._0x597a9e},'args':_0x288166?[_0x23dedd,_0x288166]:[_0x23dedd],'tdx':_0x2fe9c5});}else{if(_0x247b54==='tasks'){const _0x244e1c=new WorkflowTasksCommand();_0x4f250d=await _0x244e1c[_0x17ccf3(0x2d3)]({'options':{..._0x3968de,..._0x597a9e},'args':[_0x23dedd],'tdx':_0x2fe9c5});}else{if(_0x247b54===_0x17ccf3(0x255)){const _0x41d72f=new WorkflowKillCommand();_0x4f250d=await _0x41d72f['run']({'options':{..._0x3968de,..._0x597a9e},'args':[_0x23dedd],'tdx':_0x2fe9c5});}else{if(_0x247b54===_0x17ccf3(0x17d)){const _0x19f04e=new WorkflowRetryCommand();_0x4f250d=await _0x19f04e[_0x17ccf3(0x2d3)]({'options':{..._0x3968de,..._0x597a9e},'args':[_0x17ccf3(0x34e)+_0x23dedd],'tdx':_0x2fe9c5});}else console[_0x17ccf3(0x82)](_0x17ccf3(0x131)+_0x247b54),console[_0x17ccf3(0x82)](_0x17ccf3(0x238)),_0x4f250d=0x1;}}}}gracefulExit(_0x4f250d);});attemptCmd['command'](a2_0x23a6af(0xaf))[a2_0x23a6af(0x336)](a2_0x23a6af(0x27c))[a2_0x23a6af(0x147)]('--include-retried',a2_0x23a6af(0x2bf))['action'](wfAttemptListAction),workflowCmd[a2_0x23a6af(0x111)]('attempts\x20[project]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x1f4))[a2_0x23a6af(0x147)](a2_0x23a6af(0x316),a2_0x23a6af(0x2bf))[a2_0x23a6af(0x101)](wfAttemptListAction),workflowCmd['command'](a2_0x23a6af(0x108))[a2_0x23a6af(0x336)](a2_0x23a6af(0x305))[a2_0x23a6af(0x147)](a2_0x23a6af(0x26a),'Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x23a6af(0x147)](a2_0x23a6af(0x250),a2_0x23a6af(0x37b))[a2_0x23a6af(0x147)](a2_0x23a6af(0x25e),a2_0x23a6af(0x149))['action'](async(_0x2f4771,_0x2c520f)=>{const _0x370602=a2_0x23a6af,_0x1372bf=new WorkflowTimelineCommand(),_0x5ddb67=program[_0x370602(0x256)](),_0x276296=await createTDXInstance(_0x5ddb67),_0x219673=await _0x1372bf[_0x370602(0x2d3)]({'options':{..._0x5ddb67,..._0x2c520f},'args':_0x2f4771?[_0x2f4771]:[],'tdx':_0x276296});gracefulExit(_0x219673);}),workflowCmd[a2_0x23a6af(0x111)]('retry\x20<session-id>')[a2_0x23a6af(0x336)](a2_0x23a6af(0x221))['option'](a2_0x23a6af(0x18a),'Resume\x20from\x20specific\x20task')[a2_0x23a6af(0x147)](a2_0x23a6af(0x144),a2_0x23a6af(0x203))[a2_0x23a6af(0x101)](async(_0x19f77b,_0x60001)=>{const _0x3175ce=a2_0x23a6af,_0x29bd7d=new WorkflowRetryCommand(),_0x34d67c=program[_0x3175ce(0x256)](),_0x376c20=await createTDXInstance(_0x34d67c),_0x30d97c=await _0x29bd7d['run']({'options':{..._0x34d67c,..._0x60001},'args':[_0x19f77b],'tdx':_0x376c20});gracefulExit(_0x30d97c);}),workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x277))['description'](a2_0x23a6af(0x28c))[a2_0x23a6af(0x147)]('--param\x20<key=value>','Workflow\x20parameter\x20(repeatable)',(_0x293272,_0x301e02=[])=>[..._0x301e02,_0x293272],[])['option'](a2_0x23a6af(0x304),a2_0x23a6af(0x370))[a2_0x23a6af(0x101)](async(_0x5bbf3e,_0x146470)=>{const _0x5f6ef3=a2_0x23a6af,_0x4e660e=new WorkflowRunCommand(),_0xd6905c=program[_0x5f6ef3(0x256)](),_0x4f5af4=await createTDXInstance(_0xd6905c),_0x5ec30a=await _0x4e660e['run']({'options':{..._0xd6905c,..._0x146470},'args':_0x5bbf3e?[_0x5bbf3e]:[],'tdx':_0x4f5af4});gracefulExit(_0x5ec30a);}),workflowCmd['command'](a2_0x23a6af(0x166))[a2_0x23a6af(0x336)](a2_0x23a6af(0xbd))['option'](a2_0x23a6af(0x264),a2_0x23a6af(0x339))[a2_0x23a6af(0x101)](async(_0x49c0cd,_0x1de3d9,_0x52d9e3)=>{const _0x5175d6=a2_0x23a6af,_0x4526b1=new WorkflowDownloadCommand(),_0x726c83=program[_0x5175d6(0x256)](),_0x516ae4=await createTDXInstance(_0x726c83),_0x29ea08=await _0x4526b1[_0x5175d6(0x2d3)]({'options':{..._0x726c83,..._0x52d9e3},'args':[_0x49c0cd,_0x1de3d9||'.'],'tdx':_0x516ae4});gracefulExit(_0x29ea08);}),workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x366))[a2_0x23a6af(0x336)](a2_0x23a6af(0x26e))['option'](a2_0x23a6af(0x264),a2_0x23a6af(0x1cb))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),'Preview\x20changes\x20without\x20writing\x20files')[a2_0x23a6af(0x101)](async(_0x3159e5,_0x281605,_0x4578a6)=>{const _0x3c5fc8=a2_0x23a6af,_0x1c33ac=new WorkflowPullCommand(),_0x33e6eb=program['opts'](),_0x30225d=await createTDXInstance(_0x33e6eb),_0x2deb12=await _0x1c33ac[_0x3c5fc8(0x2d3)]({'options':{..._0x33e6eb,..._0x4578a6},'args':_0x281605?[_0x3159e5,_0x281605]:[_0x3159e5],'tdx':_0x30225d});gracefulExit(_0x2deb12);}),workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x206))[a2_0x23a6af(0x336)](a2_0x23a6af(0x252))[a2_0x23a6af(0x147)](a2_0x23a6af(0x264),a2_0x23a6af(0xb3))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),'Preview\x20changes\x20without\x20pushing')[a2_0x23a6af(0x147)]('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')['action'](async(_0x369011,_0x27723d)=>{const _0x582588=a2_0x23a6af,_0x31d569=new WorkflowPushCommand(),_0x2a5eec=program['opts'](),_0x55bf77=await createTDXInstance(_0x2a5eec),_0x74093b=await _0x31d569[_0x582588(0x2d3)]({'options':{..._0x2a5eec,..._0x27723d},'args':_0x369011?[_0x369011]:[],'tdx':_0x55bf77});gracefulExit(_0x74093b);}),workflowCmd['command'](a2_0x23a6af(0x329))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2fb))['option'](a2_0x23a6af(0x2d0),a2_0x23a6af(0x91))[a2_0x23a6af(0x147)]('--revision\x20<revision>','Revision\x20name\x20(default:\x20timestamp)')['option']('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x23a6af(0x101)](async(_0x2c3ef4,_0x503a75)=>{const _0x565420=a2_0x23a6af,_0x4bc11e=new WorkflowUploadCommand(),_0x5d7f86=program[_0x565420(0x256)](),_0x5745a7=await createTDXInstance(_0x5d7f86),_0x1bd3e9=await _0x4bc11e[_0x565420(0x2d3)]({'options':{..._0x5d7f86,..._0x503a75},'args':_0x2c3ef4?[_0x2c3ef4]:[],'tdx':_0x5745a7});gracefulExit(_0x1bd3e9);}),workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x140))[a2_0x23a6af(0x336)](a2_0x23a6af(0x71))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d0),a2_0x23a6af(0x158))[a2_0x23a6af(0x147)](a2_0x23a6af(0x264),a2_0x23a6af(0xb3))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),a2_0x23a6af(0xb2))[a2_0x23a6af(0x147)](a2_0x23a6af(0xc0),a2_0x23a6af(0x169))[a2_0x23a6af(0x101)](async(_0x557901,_0x14c143)=>{const _0x5d7ce3=a2_0x23a6af,_0xbb3586=new WorkflowCloneCommand(),_0x4a9a24=program[_0x5d7ce3(0x256)](),_0x144e51=await createTDXInstance(_0x4a9a24),_0x3949cb=await _0xbb3586[_0x5d7ce3(0x2d3)]({'options':{..._0x4a9a24,..._0x14c143},'args':_0x557901?[_0x557901]:[],'tdx':_0x144e51});gracefulExit(_0x3949cb);}),workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x347))[a2_0x23a6af(0x336)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x23a6af(0x101)](async(_0x1a932e,_0x5f36a8)=>{const _0x1a08e7=a2_0x23a6af,_0x597762=new WorkflowDeleteCommand(),_0x4d115e=program[_0x1a08e7(0x256)](),_0x475dc9=await createTDXInstance(_0x4d115e),_0x597cbe=await _0x597762['run']({'options':{..._0x4d115e,..._0x5f36a8},'args':[_0x1a932e],'tdx':_0x475dc9});gracefulExit(_0x597cbe);}),workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x218))[a2_0x23a6af(0x336)](a2_0x23a6af(0x248))[a2_0x23a6af(0x147)](a2_0x23a6af(0x26d),a2_0x23a6af(0x320))['action'](async(_0x2751a6,_0xce6474)=>{const _0x5a76c8=new WorkflowUseCommand(),_0x332b75=program['opts'](),_0x2cf4fe=await createTDXInstance(_0x332b75),_0x130e97=await _0x5a76c8['run']({'options':{..._0x332b75,..._0xce6474},'args':_0x2751a6?[_0x2751a6]:[],'tdx':_0x2cf4fe});gracefulExit(_0x130e97);});const wfSecretsCmd=workflowCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x79))[a2_0x23a6af(0x336)](a2_0x23a6af(0x359));wfSecretsCmd['command']('list\x20[project]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x236))[a2_0x23a6af(0x101)](async(_0x29ee66,_0x2c0d67)=>{const _0x103e01=a2_0x23a6af,_0x3e6577=new WorkflowSecretsListCommand(),_0x5ebbef=program[_0x103e01(0x256)](),_0x4372f6=await createTDXInstance(_0x5ebbef),_0xdf8b07=await _0x3e6577[_0x103e01(0x2d3)]({'options':{..._0x5ebbef,..._0x2c0d67},'args':_0x29ee66?[_0x29ee66]:[],'tdx':_0x4372f6});gracefulExit(_0xdf8b07);}),wfSecretsCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x16e))[a2_0x23a6af(0x336)](a2_0x23a6af(0x115))[a2_0x23a6af(0x101)](async(_0xdc1a59,_0x2bc073)=>{const _0x1d1dd2=a2_0x23a6af,_0xbe06a8=new WorkflowSecretsSetCommand(),_0x449e7=program['opts'](),_0xc6818e=await createTDXInstance(_0x449e7),_0x1fa358=await _0xbe06a8[_0x1d1dd2(0x2d3)]({'options':{..._0x449e7,..._0x2bc073},'args':_0xdc1a59,'tdx':_0xc6818e});gracefulExit(_0x1fa358);}),wfSecretsCmd['command']('delete\x20<args...>')['description'](a2_0x23a6af(0x29b))['action'](async(_0x4e12b9,_0x1b2790)=>{const _0x458c30=a2_0x23a6af,_0x463d01=new WorkflowSecretsDeleteCommand(),_0x5218f0=program['opts'](),_0x1bdd28=await createTDXInstance(_0x5218f0),_0x4f0eb3=await _0x463d01[_0x458c30(0x2d3)]({'options':{..._0x5218f0,..._0x1b2790},'args':_0x4e12b9,'tdx':_0x1bdd28});gracefulExit(_0x4f0eb3);});const jobCmd=program[a2_0x23a6af(0x111)]('job')[a2_0x23a6af(0x336)](a2_0x23a6af(0x22c)),jobListAction=async _0x1347b5=>{const _0x3079a0=new JobListCommand(),_0x77cedf=program['opts'](),_0x42c7e8=await createTDXInstance(_0x77cedf),_0x5291da=await _0x3079a0['run']({'options':{..._0x77cedf,..._0x1347b5},'args':[],'tdx':_0x42c7e8});gracefulExit(_0x5291da);};jobCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x126))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2e3))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2e1),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x23a6af(0x101)](jobListAction),program['command'](a2_0x23a6af(0x1e8),{'hidden':!![]})['description'](a2_0x23a6af(0x2b7))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2e1),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x23a6af(0x101)](jobListAction),jobCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1a0))[a2_0x23a6af(0x336)](a2_0x23a6af(0x15a))[a2_0x23a6af(0x101)](async(_0x4d2483,_0x3da1c3)=>{const _0x407b3d=a2_0x23a6af,_0x388646=new JobShowCommand(),_0x555f21=program[_0x407b3d(0x256)](),_0x8c862b=await createTDXInstance(_0x555f21),_0x394418=await _0x388646[_0x407b3d(0x2d3)]({'options':{..._0x555f21,..._0x3da1c3},'args':[_0x4d2483],'tdx':_0x8c862b});gracefulExit(_0x394418);}),jobCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x312))['description'](a2_0x23a6af(0x84))[a2_0x23a6af(0x101)](async(_0x23b1e8,_0x3f61e4)=>{const _0x5a4715=a2_0x23a6af,_0x3c751a=new JobKillCommand(),_0x101d9d=program[_0x5a4715(0x256)](),_0x5efe8f=await createTDXInstance(_0x101d9d),_0x24e27e=await _0x3c751a[_0x5a4715(0x2d3)]({'options':{..._0x101d9d,..._0x3f61e4},'args':[_0x23b1e8],'tdx':_0x5efe8f});gracefulExit(_0x24e27e);}),jobCmd[a2_0x23a6af(0x111)]('submit\x20[query]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x1d5))[a2_0x23a6af(0x147)]('--job-type\x20<type>','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','trino')[a2_0x23a6af(0x147)](a2_0x23a6af(0x31f),a2_0x23a6af(0x1ac))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2f3),'Database\x20name\x20(default:\x20information_schema)','information_schema')[a2_0x23a6af(0x147)](a2_0x23a6af(0xbf),a2_0x23a6af(0x18f))[a2_0x23a6af(0x101)](async(_0x2f4ae6,_0x525d15)=>{const _0x1b9291=a2_0x23a6af,_0xc09c84=new JobSubmitCommand(),_0x23c252=program[_0x1b9291(0x256)](),_0x276054=await createTDXInstance(_0x23c252),_0x19ca29=await _0xc09c84[_0x1b9291(0x2d3)]({'options':{..._0x23c252,..._0x525d15},'args':_0x2f4ae6?[_0x2f4ae6]:[],'tdx':_0x276054});gracefulExit(_0x19ca29);}),jobCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x321))[a2_0x23a6af(0x336)]('Get\x20job\x20results')['action'](async(_0x5590ff,_0x3052d2)=>{const _0x39c014=a2_0x23a6af,_0x10309c=new JobResultCommand(),_0x36649e=program[_0x39c014(0x256)](),_0x29a44c=await createTDXInstance(_0x36649e),_0xd23e61=await _0x10309c[_0x39c014(0x2d3)]({'options':{..._0x36649e,..._0x3052d2},'args':[_0x5590ff],'tdx':_0x29a44c});gracefulExit(_0xd23e61);});const scheduleCmd=jobCmd['command'](a2_0x23a6af(0xc4))['description'](a2_0x23a6af(0x23c));scheduleCmd[a2_0x23a6af(0x111)]('list\x20[pattern]')[a2_0x23a6af(0x336)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x40bab3,_0xa7ee9b)=>{const _0x3826d8=a2_0x23a6af,_0x4b6241=new ScheduleListCommand(),_0x5a0e77=program['opts'](),_0x921450=await createTDXInstance(_0x5a0e77),_0x411d7c=await _0x4b6241[_0x3826d8(0x2d3)]({'options':{..._0x5a0e77,..._0xa7ee9b},'args':_0x40bab3?[_0x40bab3]:[],'tdx':_0x921450});gracefulExit(_0x411d7c);}),scheduleCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x22d))['description'](a2_0x23a6af(0x21f))[a2_0x23a6af(0x101)](async(_0x2fd8dd,_0x2eb586)=>{const _0x259016=a2_0x23a6af,_0x2ab56d=new ScheduleShowCommand(),_0x33a838=program[_0x259016(0x256)](),_0x4cd651=await createTDXInstance(_0x33a838),_0x256840=await _0x2ab56d['run']({'options':{..._0x33a838,..._0x2eb586},'args':[_0x2fd8dd],'tdx':_0x4cd651});gracefulExit(_0x256840);}),scheduleCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x29c))[a2_0x23a6af(0x336)](a2_0x23a6af(0x274))['option'](a2_0x23a6af(0x28e),'Database\x20name\x20(required)')[a2_0x23a6af(0x147)]('--in\x20<db>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x23a6af(0x315)](a2_0x23a6af(0x31f),a2_0x23a6af(0x1ac))[a2_0x23a6af(0x147)]('--type\x20<type>',a2_0x23a6af(0x1be),'trino')[a2_0x23a6af(0x147)]('--cron\x20<expression>',a2_0x23a6af(0x2d5))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1a2),a2_0x23a6af(0x1c5))['option'](a2_0x23a6af(0x296),a2_0x23a6af(0x191))[a2_0x23a6af(0x147)](a2_0x23a6af(0x12d),a2_0x23a6af(0x2c2))[a2_0x23a6af(0x147)]('--retry-limit\x20<0~32>','Retry\x20limit\x20(0\x20to\x2032)')['option'](a2_0x23a6af(0x81),a2_0x23a6af(0x83))[a2_0x23a6af(0x147)](a2_0x23a6af(0xa5),a2_0x23a6af(0x2b5))['action'](async(_0x419892,_0x24da71)=>{const _0x118df1=a2_0x23a6af,_0x38d849=new ScheduleCreateCommand(),_0x2445c2=program[_0x118df1(0x256)](),_0x4f5505=await createTDXInstance(_0x2445c2);_0x24da71['in']&&(_0x24da71[_0x118df1(0x24f)]=_0x24da71['in']);const _0x47caf9=await _0x38d849[_0x118df1(0x2d3)]({'options':{..._0x2445c2,..._0x24da71},'args':[_0x419892],'tdx':_0x4f5505});gracefulExit(_0x47caf9);}),scheduleCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x261))[a2_0x23a6af(0x336)]('Update\x20a\x20scheduled\x20query')[a2_0x23a6af(0x147)](a2_0x23a6af(0x28e),a2_0x23a6af(0xf0))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2cb),a2_0x23a6af(0x193))['option'](a2_0x23a6af(0x31f),a2_0x23a6af(0x1ac))['option'](a2_0x23a6af(0x163),'Query\x20type:\x20trino\x20or\x20hive')['option']('--cron\x20<expression>',a2_0x23a6af(0x2d5))['option']('--timezone\x20<tz>',a2_0x23a6af(0x2fd))[a2_0x23a6af(0x147)](a2_0x23a6af(0x296),a2_0x23a6af(0x191))[a2_0x23a6af(0x147)](a2_0x23a6af(0x12d),a2_0x23a6af(0x2c2))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2da),'Retry\x20limit\x20(0\x20to\x2032)')['option'](a2_0x23a6af(0x81),'Query\x20engine\x20version')[a2_0x23a6af(0x147)](a2_0x23a6af(0xa5),a2_0x23a6af(0x2b5))['action'](async(_0x5e8e1b,_0x495716)=>{const _0xab4b67=a2_0x23a6af,_0x34a8f2=new ScheduleUpdateCommand(),_0x49345f=program['opts'](),_0x512865=await createTDXInstance(_0x49345f);_0x495716['in']&&(_0x495716[_0xab4b67(0x24f)]=_0x495716['in']);const _0x584073=await _0x34a8f2[_0xab4b67(0x2d3)]({'options':{..._0x49345f,..._0x495716},'args':[_0x5e8e1b],'tdx':_0x512865});gracefulExit(_0x584073);}),scheduleCmd[a2_0x23a6af(0x111)]('delete\x20<name>')[a2_0x23a6af(0x336)](a2_0x23a6af(0x35b))[a2_0x23a6af(0x101)](async(_0x4f93a6,_0x251238)=>{const _0x15ee35=a2_0x23a6af,_0x2eed81=new ScheduleDeleteCommand(),_0x3d583c=program[_0x15ee35(0x256)](),_0x21d158=await createTDXInstance(_0x3d583c),_0x3fb9f0=await _0x2eed81[_0x15ee35(0x2d3)]({'options':{..._0x3d583c,..._0x251238},'args':[_0x4f93a6],'tdx':_0x21d158});gracefulExit(_0x3fb9f0);}),scheduleCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x7e))[a2_0x23a6af(0x336)](a2_0x23a6af(0x121))[a2_0x23a6af(0x147)](a2_0x23a6af(0x187),a2_0x23a6af(0x257))[a2_0x23a6af(0x147)](a2_0x23a6af(0x288),a2_0x23a6af(0x1d2))['action'](async(_0x3598fd,_0x539a1b)=>{const _0x29205e=a2_0x23a6af,_0x151e36=new ScheduleRunCommand(),_0x510783=program[_0x29205e(0x256)](),_0x1dc338=await createTDXInstance(_0x510783),_0x59a5b8=await _0x151e36['run']({'options':{..._0x510783,..._0x539a1b},'args':[_0x3598fd],'tdx':_0x1dc338});gracefulExit(_0x59a5b8);}),scheduleCmd['command'](a2_0x23a6af(0x2d8))[a2_0x23a6af(0x336)](a2_0x23a6af(0x176))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2dc),a2_0x23a6af(0x157))[a2_0x23a6af(0x147)](a2_0x23a6af(0x280),a2_0x23a6af(0x1de))[a2_0x23a6af(0x101)](async(_0x41b400,_0x3fd43e)=>{const _0xf715c2=a2_0x23a6af,_0x10438b=new ScheduleHistoryCommand(),_0x19366e=program[_0xf715c2(0x256)](),_0x2d9a84=await createTDXInstance(_0x19366e),_0x519a7f=await _0x10438b['run']({'options':{..._0x19366e,..._0x3fd43e},'args':[_0x41b400],'tdx':_0x2d9a84});gracefulExit(_0x519a7f);});const llmCmd=program[a2_0x23a6af(0x111)]('llm')['description'](a2_0x23a6af(0x136));llmCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x26f))[a2_0x23a6af(0x336)](a2_0x23a6af(0xd5))['action'](async(_0x1a7b6c,_0x2bc5f1)=>{const _0x13646d=a2_0x23a6af,_0x34fcba=new LLMUseCommand(),_0x3de8db=program[_0x13646d(0x256)](),_0x30fe63=await createTDXInstance(_0x3de8db),_0x307f4a=await _0x34fcba[_0x13646d(0x2d3)]({'options':{..._0x3de8db,..._0x2bc5f1},'args':[_0x1a7b6c],'tdx':_0x30fe63});gracefulExit(_0x307f4a);}),llmCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x19e))[a2_0x23a6af(0x336)]('List\x20available\x20LLM\x20models')['action'](async _0x43cfb2=>{const _0x4422cf=new LLMModelsCommand(),_0x3dafb1=program['opts'](),_0x441140=await createTDXInstance(_0x3dafb1),_0x3c5e93=await _0x4422cf['run']({'options':{..._0x3dafb1,..._0x43cfb2},'args':[],'tdx':_0x441140});gracefulExit(_0x3c5e93);});const projectCmd=llmCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x230))[a2_0x23a6af(0x336)](a2_0x23a6af(0x259)),llmProjectListAction=async(_0x3db865,_0x5ace1f)=>{const _0x428e17=a2_0x23a6af,_0x321e15=new LLMProjectsCommand(),_0x2df7f6=program[_0x428e17(0x256)](),_0x36a1a8=await createTDXInstance(_0x2df7f6),_0x5aa9a5=await _0x321e15[_0x428e17(0x2d3)]({'options':{..._0x2df7f6,..._0x5ace1f},'args':_0x3db865?[_0x3db865]:[],'tdx':_0x36a1a8});gracefulExit(_0x5aa9a5);};projectCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0x11c))[a2_0x23a6af(0x101)](llmProjectListAction),llmCmd['command'](a2_0x23a6af(0x13f))['description'](a2_0x23a6af(0x2fa))['action'](llmProjectListAction),projectCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x29c))[a2_0x23a6af(0x336)](a2_0x23a6af(0xfc))[a2_0x23a6af(0x147)](a2_0x23a6af(0x181),a2_0x23a6af(0x2d4))[a2_0x23a6af(0x101)](async(_0x1cc65c,_0x5471d2)=>{const _0x37fa48=a2_0x23a6af,_0x131cb2=new LLMProjectCreateCommand(),_0x463129=program[_0x37fa48(0x256)](),_0x332087=await createTDXInstance(_0x463129),_0xd7fb33=await _0x131cb2[_0x37fa48(0x2d3)]({'options':{..._0x463129,..._0x5471d2},'args':[_0x1cc65c],'tdx':_0x332087});gracefulExit(_0xd7fb33);}),projectCmd[a2_0x23a6af(0x111)]('delete\x20<name>')[a2_0x23a6af(0x336)](a2_0x23a6af(0x1ca))[a2_0x23a6af(0x101)](async(_0x9809a5,_0x4a078a)=>{const _0x296d3c=a2_0x23a6af,_0x1f4d6c=new LLMProjectDeleteCommand(),_0x5a35cd=program['opts'](),_0x54a0ae=await createTDXInstance(_0x5a35cd),_0xcd0021=await _0x1f4d6c[_0x296d3c(0x2d3)]({'options':{..._0x5a35cd,..._0x4a078a},'args':[_0x9809a5],'tdx':_0x54a0ae});gracefulExit(_0xcd0021);}),projectCmd['command'](a2_0x23a6af(0x338))[a2_0x23a6af(0x336)](a2_0x23a6af(0x12b))[a2_0x23a6af(0x147)](a2_0x23a6af(0x8e),a2_0x23a6af(0x1c3))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x23a6af(0x101)](async(_0x2333e8,_0x594ea2)=>{const _0x4027bb=new LLMProjectBackupCommand(),_0x4238bc=program['opts'](),_0x1b9286=await createTDXInstance(_0x4238bc),_0x17df80=await _0x4027bb['run']({'options':{..._0x4238bc,..._0x594ea2},'args':[_0x2333e8],'tdx':_0x1b9286});gracefulExit(_0x17df80);}),projectCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0xe2))[a2_0x23a6af(0x336)](a2_0x23a6af(0x145))[a2_0x23a6af(0x147)](a2_0x23a6af(0xe3),'New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)')[a2_0x23a6af(0x147)]('--dry-run','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes')['action'](async(_0x17365f,_0x1b4329)=>{const _0x309124=a2_0x23a6af,_0x4a2f06=new LLMProjectRestoreCommand(),_0xccd56b=program[_0x309124(0x256)](),_0x5a756f=await createTDXInstance(_0xccd56b),_0x4b7904=await _0x4a2f06[_0x309124(0x2d3)]({'options':{..._0xccd56b,..._0x1b4329},'args':[_0x17365f],'tdx':_0x5a756f});gracefulExit(_0x4b7904);});const llmAgentListAction=async(_0x4900fc,_0x522f5d)=>{const _0x14810c=a2_0x23a6af,_0x463a6e=new LLMAgentsCommand(),_0x3138aa=program[_0x14810c(0x256)](),_0x43d9b5=await createTDXInstance(_0x3138aa),_0x3fb1c3=await _0x463a6e['run']({'options':{..._0x3138aa,..._0x522f5d},'args':_0x4900fc?[_0x4900fc]:[],'tdx':_0x43d9b5});gracefulExit(_0x3fb1c3);};llmCmd[a2_0x23a6af(0x111)]('agents\x20[pattern]')['description'](a2_0x23a6af(0x1c2))[a2_0x23a6af(0x101)](llmAgentListAction),program[a2_0x23a6af(0x111)](a2_0x23a6af(0xe1))[a2_0x23a6af(0x336)](a2_0x23a6af(0x1c2))[a2_0x23a6af(0x101)](llmAgentListAction),llmCmd['command']('history\x20[chat-id]')[a2_0x23a6af(0x336)](a2_0x23a6af(0xc7))['option'](a2_0x23a6af(0x1e5),'Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session')['action'](async(_0x56418a,_0x1985a2)=>{const _0x3939d7=a2_0x23a6af,_0x5e78db=new LLMHistoryCommand(),_0x515e74=program[_0x3939d7(0x256)](),_0x3bfd46=await createTDXInstance(_0x515e74),_0x3a40dd=await _0x5e78db[_0x3939d7(0x2d3)]({'options':{..._0x515e74,..._0x1985a2},'args':_0x56418a?[_0x56418a]:[],'tdx':_0x3bfd46});gracefulExit(_0x3a40dd);});isExperimentalAvailable()&&llmCmd['command'](a2_0x23a6af(0x152))[a2_0x23a6af(0x336)](a2_0x23a6af(0x23a))['action'](async(_0x26f434,_0x1f359f)=>{const _0x35140a=a2_0x23a6af,_0x16a7f9=new LLMLogCommand(),_0x5a667e=program[_0x35140a(0x256)](),_0x1f82e8=await createTDXInstance(_0x5a667e),_0x4104b5=await _0x16a7f9[_0x35140a(0x2d3)]({'options':{..._0x5a667e,..._0x1f359f},'args':[_0x26f434],'tdx':_0x1f82e8});gracefulExit(_0x4104b5);});program[a2_0x23a6af(0x111)](a2_0x23a6af(0x2a4))[a2_0x23a6af(0x383)](a2_0x23a6af(0x1b1))[a2_0x23a6af(0x336)](a2_0x23a6af(0xa8))[a2_0x23a6af(0x147)](a2_0x23a6af(0x90),a2_0x23a6af(0x15e))['option']('-r,\x20--resume',a2_0x23a6af(0x326))['option'](a2_0x23a6af(0x27f),a2_0x23a6af(0x2ea))['allowUnknownOption']()[a2_0x23a6af(0x1d3)](!![])[a2_0x23a6af(0x132)](a2_0x23a6af(0xa0),a2_0x23a6af(0x106))[a2_0x23a6af(0x101)](async(_0x1df787,_0x4276f4)=>{const _0x46062e=a2_0x23a6af,_0x13b982=program[_0x46062e(0x256)](),_0xfe940c=Array[_0x46062e(0x2b9)](_0x1df787)?_0x1df787:[];if(_0xfe940c[0x0]===_0x46062e(0x2bc)){const _0x258504=new ClaudeStatuslineCommand(),_0x5a2254=await _0x258504[_0x46062e(0x2d3)]({'options':{..._0x13b982,..._0x4276f4},'args':_0xfe940c[_0x46062e(0x31b)](0x1),'tdx':null});gracefulExit(_0x5a2254);}if(_0xfe940c[0x0]===_0x46062e(0x383)){const _0x5a8c5c=new ClaudeUsageCommand(),_0x503238=await _0x5a8c5c[_0x46062e(0x2d3)]({'options':{..._0x13b982,..._0x4276f4},'args':_0xfe940c[_0x46062e(0x31b)](0x1),'tdx':null});gracefulExit(_0x503238);}const _0xef7a1c=new ClaudeCommand(),_0xf174af=await createTDXInstance(_0x13b982),_0x540105=await _0xef7a1c[_0x46062e(0x2d3)]({'options':{..._0x13b982,..._0x4276f4},'args':_0xfe940c,'tdx':_0xf174af});gracefulExit(_0x540105);}),program['command'](a2_0x23a6af(0x2f4))['description'](a2_0x23a6af(0x214))[a2_0x23a6af(0x147)](a2_0x23a6af(0x26d),'Clear\x20session\x20context')[a2_0x23a6af(0x147)](a2_0x23a6af(0x129),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x23a6af(0x101)](async(_0x1af57d,_0x365017,_0x82071c)=>{const _0xed4abf=a2_0x23a6af,_0x55c4c4=new UseCommand(),_0x10d2b3=program[_0xed4abf(0x256)](),_0x385b70=[];if(_0x1af57d)_0x385b70[_0xed4abf(0x10c)](_0x1af57d);if(_0x365017)_0x385b70[_0xed4abf(0x10c)](_0x365017);const _0x271e48=_0x1af57d===_0xed4abf(0x2f6),_0x300071=_0x271e48?await createTDXInstance(_0x10d2b3):null,_0x369003=await _0x55c4c4[_0xed4abf(0x2d3)]({'options':{..._0x10d2b3,..._0x82071c},'args':_0x385b70,'tdx':_0x300071});gracefulExit(_0x369003);}),program[a2_0x23a6af(0x111)](a2_0x23a6af(0x223))[a2_0x23a6af(0x336)]('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0x23a6af(0x101)](async _0x3aacb2=>{const _0x59e7d5=a2_0x23a6af,_0x30d443=new StatusCommand(),_0x45e55f=program[_0x59e7d5(0x256)](),_0x1efff5=await createTDXInstance(_0x45e55f),_0x542dfa=await _0x30d443[_0x59e7d5(0x2d3)]({'options':{..._0x45e55f,..._0x3aacb2},'args':[],'tdx':_0x1efff5});gracefulExit(_0x542dfa);}),program[a2_0x23a6af(0x111)](a2_0x23a6af(0x23d))[a2_0x23a6af(0x336)](a2_0x23a6af(0x1a7))['option'](a2_0x23a6af(0x275),a2_0x23a6af(0x1a3))[a2_0x23a6af(0x147)](a2_0x23a6af(0x34b),'Upgrade\x20to\x20the\x20next\x20(pre-release)\x20channel')[a2_0x23a6af(0x147)]('--method\x20<pm>',a2_0x23a6af(0x20c))[a2_0x23a6af(0x101)](async(_0x432500,_0x3068da)=>{const _0x2d1cd2=a2_0x23a6af,_0x3001cc=new UpgradeCommand(),_0x528dc2=program['opts'](),_0x260527=await _0x3001cc[_0x2d1cd2(0x2d3)]({'options':{..._0x528dc2,..._0x3068da},'args':_0x432500?[_0x432500]:[],'tdx':null});gracefulExit(_0x260527);}),program[a2_0x23a6af(0x111)]('unset\x20<resource>')[a2_0x23a6af(0x336)](a2_0x23a6af(0xad))[a2_0x23a6af(0x147)]('--default',a2_0x23a6af(0x227))[a2_0x23a6af(0x101)](async(_0x47a54a,_0xcbfd5d)=>{const _0x598503=a2_0x23a6af,_0x393e4c=new UnsetCommand(),_0x7174c1=program['opts'](),_0x3a1663=await _0x393e4c[_0x598503(0x2d3)]({'options':{..._0x7174c1,..._0xcbfd5d},'args':[_0x47a54a],'tdx':null});gracefulExit(_0x3a1663);}),program[a2_0x23a6af(0x111)](a2_0x23a6af(0x2f5))[a2_0x23a6af(0x336)](a2_0x23a6af(0x36a))['option'](a2_0x23a6af(0x1e5),a2_0x23a6af(0xf7))[a2_0x23a6af(0x101)](async _0x123d15=>{const _0x13dcf8=a2_0x23a6af,_0x3925f9=new ChatsCommand(),_0x2a68b9=program[_0x13dcf8(0x256)](),_0x29adae=await createTDXInstance(_0x2a68b9),_0x463da2=await _0x3925f9[_0x13dcf8(0x2d3)]({'options':{..._0x2a68b9,..._0x123d15},'args':[],'tdx':_0x29adae});gracefulExit(_0x463da2);});const authCmd=program[a2_0x23a6af(0x111)](a2_0x23a6af(0x22b))[a2_0x23a6af(0x336)](a2_0x23a6af(0xed));async function runAuthStatusCommand(_0x341d10){const _0x3c0025=a2_0x23a6af,_0x4604ba=new AuthStatusCommand(),_0x3cf579=program[_0x3c0025(0x256)](),_0x40e2ad=await createTDXInstance(_0x3cf579),_0x227107=await _0x4604ba['run']({'options':{..._0x3cf579,..._0x341d10},'args':[],'tdx':_0x40e2ad});gracefulExit(_0x227107);}authCmd['action'](runAuthStatusCommand),authCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x223))['description'](a2_0x23a6af(0x1bd))[a2_0x23a6af(0x101)](runAuthStatusCommand);async function authSetupAction(_0x45044f){const _0xf69456=new AuthSetupCommand(),_0x2d0d20=program['opts'](),_0x261eb6=await createTDXInstance(_0x2d0d20),_0x16fcee=await _0xf69456['run']({'options':{..._0x2d0d20,..._0x45044f},'args':[],'tdx':_0x261eb6});gracefulExit(_0x16fcee);}authCmd['command'](a2_0x23a6af(0x34c))[a2_0x23a6af(0x336)](a2_0x23a6af(0x308))[a2_0x23a6af(0x147)](a2_0x23a6af(0x29a),a2_0x23a6af(0xf4))[a2_0x23a6af(0x132)](a2_0x23a6af(0xa0),'\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20ap01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20ap01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a')[a2_0x23a6af(0x101)](authSetupAction),authCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x281),{'hidden':!![]})[a2_0x23a6af(0x147)](a2_0x23a6af(0x29a),a2_0x23a6af(0xf4))[a2_0x23a6af(0x101)](authSetupAction),authCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x32a))['description'](a2_0x23a6af(0x309))[a2_0x23a6af(0x132)](a2_0x23a6af(0xa0),a2_0x23a6af(0x24a))[a2_0x23a6af(0x101)](async _0x3f5159=>{const _0x45a4db=new AuthClearCommand(),_0x469ddc=program['opts'](),_0x30b2f7=await _0x45a4db['run']({'options':{..._0x469ddc,..._0x3f5159},'args':[],'tdx':null});gracefulExit(_0x30b2f7);});const userCmd=program['command'](a2_0x23a6af(0xe0))[a2_0x23a6af(0x336)](a2_0x23a6af(0x31c)),userListAction=async _0xf651ca=>{const _0x1804fa=a2_0x23a6af,_0x2c102e=new UserListCommand(),_0x45c0d2=program['opts'](),_0x4380c3=await createTDXInstance(_0x45c0d2),_0x46941f=await _0x2c102e[_0x1804fa(0x2d3)]({'options':{..._0x45c0d2,..._0xf651ca},'args':[],'tdx':_0x4380c3});gracefulExit(_0x46941f);};userCmd['action'](async _0x3da750=>{const _0x3e1e42=a2_0x23a6af,_0xb0bea6=new UserCommand(),_0x1542bd=program[_0x3e1e42(0x256)](),_0x12c7da=await createTDXInstance(_0x1542bd),_0x5036ab=await _0xb0bea6[_0x3e1e42(0x2d3)]({'options':{..._0x1542bd,..._0x3da750},'args':[],'tdx':_0x12c7da});gracefulExit(_0x5036ab);}),userCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x126))[a2_0x23a6af(0x336)](a2_0x23a6af(0xd9))[a2_0x23a6af(0x101)](userListAction),program[a2_0x23a6af(0x111)](a2_0x23a6af(0x33b))[a2_0x23a6af(0x336)](a2_0x23a6af(0x202))['action'](userListAction);const policyCmd=program['command'](a2_0x23a6af(0x369))[a2_0x23a6af(0x336)](a2_0x23a6af(0x208));policyCmd[a2_0x23a6af(0x101)](async _0xb39748=>{const _0x405572=a2_0x23a6af,_0x4238a9=new PolicyCommand(),_0x32e8c4=program[_0x405572(0x256)](),_0x3b62ab=await createTDXInstance(_0x32e8c4),_0x550be9=await _0x4238a9[_0x405572(0x2d3)]({'options':{..._0x32e8c4,..._0xb39748},'args':[],'tdx':_0x3b62ab});gracefulExit(_0x550be9);}),policyCmd['command'](a2_0x23a6af(0x126))[a2_0x23a6af(0x336)]('List\x20all\x20policies\x20in\x20the\x20account\x20(admin\x20only)')[a2_0x23a6af(0x101)](async _0x11c883=>{const _0x3d1666=a2_0x23a6af,_0x119dbb=new PolicyListCommand(),_0x141fa5=program['opts'](),_0x36faaf=await createTDXInstance(_0x141fa5),_0x48385c=await _0x119dbb[_0x3d1666(0x2d3)]({'options':{..._0x141fa5,..._0x11c883},'args':[],'tdx':_0x36faaf});gracefulExit(_0x48385c);}),policyCmd['command']('show\x20<policy>')[a2_0x23a6af(0x336)]('Show\x20a\x20specific\x20policy\x20details\x20and\x20permissions\x20(admin\x20only)')[a2_0x23a6af(0x101)](async(_0xf6c040,_0x2dda5c)=>{const _0x246275=a2_0x23a6af,_0x1fdbd7=new PolicyShowCommand(),_0x1fd7ea=program[_0x246275(0x256)](),_0x478c5e=await createTDXInstance(_0x1fd7ea),_0x3806e5=await _0x1fdbd7[_0x246275(0x2d3)]({'options':{..._0x1fd7ea,..._0x2dda5c},'args':[_0xf6c040],'tdx':_0x478c5e});gracefulExit(_0x3806e5);}),program[a2_0x23a6af(0x111)]('profiles')[a2_0x23a6af(0x336)](a2_0x23a6af(0x10b))[a2_0x23a6af(0x101)](async _0x370ae1=>{const _0x461665=a2_0x23a6af,_0x33d8d9=new ProfilesCommand(),_0x1f2a3c=program[_0x461665(0x256)](),_0x539707=await _0x33d8d9[_0x461665(0x2d3)]({'options':{..._0x1f2a3c,..._0x370ae1},'args':[],'tdx':null});gracefulExit(_0x539707);});const profileCmd=program['command'](a2_0x23a6af(0x269))[a2_0x23a6af(0x336)](a2_0x23a6af(0x374));profileCmd[a2_0x23a6af(0x101)](()=>{const _0x21f3ca=a2_0x23a6af;profileCmd[_0x21f3ca(0x2bd)]();});const profileListAction=async _0x371e6f=>{const _0x20e872=new ProfilesCommand(),_0x54ee82=program['opts'](),_0x4aeecb=await _0x20e872['run']({'options':{..._0x54ee82,..._0x371e6f},'args':[],'tdx':null});gracefulExit(_0x4aeecb);};profileCmd['command']('list')[a2_0x23a6af(0x336)](a2_0x23a6af(0x10b))[a2_0x23a6af(0x101)](profileListAction),profileCmd['command'](a2_0x23a6af(0x286))[a2_0x23a6af(0x336)](a2_0x23a6af(0x222))[a2_0x23a6af(0x147)](a2_0x23a6af(0x29a),a2_0x23a6af(0xf4))['option'](a2_0x23a6af(0x9c),a2_0x23a6af(0x1bc))[a2_0x23a6af(0x132)](a2_0x23a6af(0xa0),a2_0x23a6af(0x341))[a2_0x23a6af(0x101)](async(_0x3e5aec,_0x57c172)=>{const _0x1f8160=a2_0x23a6af,_0x32cf31=new ProfileCreateCommand(),_0x2e5968=program[_0x1f8160(0x256)](),_0x216feb=await _0x32cf31[_0x1f8160(0x2d3)]({'options':{..._0x2e5968,..._0x57c172},'args':_0x3e5aec?[_0x3e5aec]:[],'tdx':null});gracefulExit(_0x216feb);});async function profileDeleteAction(_0xd8c172,_0x4c63ac){const _0x28c9ff=a2_0x23a6af,_0x1dbb9d=new ProfileDeleteCommand(),_0xac8dc4=program[_0x28c9ff(0x256)](),_0x5907c7=await _0x1dbb9d[_0x28c9ff(0x2d3)]({'options':{..._0xac8dc4,..._0x4c63ac},'args':[_0xd8c172],'tdx':null});gracefulExit(_0x5907c7);}profileCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x19c))[a2_0x23a6af(0x336)]('Delete\x20a\x20profile')[a2_0x23a6af(0x132)](a2_0x23a6af(0xa0),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20delete\x20staging\x20\x20\x20\x20\x20\x20#\x20Delete\x20the\x20\x27staging\x27\x20profile\x0a')[a2_0x23a6af(0x101)](profileDeleteAction),profileCmd[a2_0x23a6af(0x111)]('remove\x20<name>',{'hidden':!![]})[a2_0x23a6af(0x101)](profileDeleteAction),profileCmd['command']('set\x20<key=value>')[a2_0x23a6af(0x336)](a2_0x23a6af(0x31e))['addHelpText']('after',a2_0x23a6af(0x2e2))[a2_0x23a6af(0x101)](async(_0x341267,_0x5eab1b)=>{const _0x595a48=a2_0x23a6af,_0x5d40a1=new ProfileSetCommand(),_0x5f0c6a=program[_0x595a48(0x256)](),_0xa77b32=await _0x5d40a1[_0x595a48(0x2d3)]({'options':{..._0x5f0c6a,..._0x5eab1b},'args':[_0x341267],'tdx':null});gracefulExit(_0xa77b32);}),profileCmd['command'](a2_0x23a6af(0x2d2))[a2_0x23a6af(0x336)](a2_0x23a6af(0x128))['option'](a2_0x23a6af(0x129),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x23a6af(0x132)](a2_0x23a6af(0xa0),a2_0x23a6af(0x167))['action'](async(_0x27f26a,_0x3a6c9d)=>{const _0x12cfcf=a2_0x23a6af,_0x247b34=new ProfileUseCommand(),_0x416c8a=program[_0x12cfcf(0x256)](),_0x7a329d=await _0x247b34['run']({'options':{..._0x416c8a,..._0x3a6c9d},'args':[_0x27f26a],'tdx':null});gracefulExit(_0x7a329d);});const engageCmd=program[a2_0x23a6af(0x111)](a2_0x23a6af(0xab))['description'](a2_0x23a6af(0x146)),createEngageAction=_0x2b0264=>{return async(_0x173b27,_0xe2b4a7)=>{const _0x27d649=a2_0x3174,_0x38a036=new _0x2b0264(),_0x52d803=program[_0x27d649(0x256)](),_0x23a37c=await createTDXInstance(_0x52d803),_0x51e5b1=await _0x38a036[_0x27d649(0x2d3)]({'options':{..._0x52d803,..._0xe2b4a7},'args':[_0x173b27],'tdx':_0x23a37c});gracefulExit(_0x51e5b1);};},createEngageNoArgAction=_0x208bbc=>{return async _0x231867=>{const _0x1cd9fa=a2_0x3174,_0x2b95fb=new _0x208bbc(),_0x193eea=program[_0x1cd9fa(0x256)](),_0x34d54c=await createTDXInstance(_0x193eea),_0x4ee3c8=await _0x2b95fb[_0x1cd9fa(0x2d3)]({'options':{..._0x193eea,..._0x231867},'args':[],'tdx':_0x34d54c});gracefulExit(_0x4ee3c8);};},createEngageListAction=_0x270640=>{return async(_0x2244b4,_0x4cfcc6)=>{const _0x182fa1=a2_0x3174,_0x25f547=new _0x270640(),_0x3d1ef3=program[_0x182fa1(0x256)](),_0x581878=await createTDXInstance(_0x3d1ef3),_0x4aeec2=await _0x25f547[_0x182fa1(0x2d3)]({'options':{..._0x3d1ef3,..._0x4cfcc6},'args':_0x2244b4?[_0x2244b4]:[],'tdx':_0x581878});gracefulExit(_0x4aeec2);};},campaignCmd=engageCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1ab))[a2_0x23a6af(0x336)](a2_0x23a6af(0x20b));campaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0x104))[a2_0x23a6af(0x147)](a2_0x23a6af(0x163),a2_0x23a6af(0x265))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2e1),'Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x23a6af(0x147)]('--workspace\x20<name>','Workspace\x20name')['action'](createEngageListAction(EngageCampaignsCommand)),engageCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x335))['description'](a2_0x23a6af(0xa6))[a2_0x23a6af(0x147)](a2_0x23a6af(0x163),a2_0x23a6af(0x265))[a2_0x23a6af(0x147)]('--status\x20<status>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)')[a2_0x23a6af(0x147)]('--workspace\x20<name>',a2_0x23a6af(0x93))[a2_0x23a6af(0x101)](createEngageListAction(EngageCampaignsCommand)),campaignCmd[a2_0x23a6af(0x111)]('show\x20<name-or-id>')['description']('Show\x20campaign\x20details')[a2_0x23a6af(0x147)]('--workspace\x20<name>',a2_0x23a6af(0x93))['option'](a2_0x23a6af(0xcf),a2_0x23a6af(0x138))[a2_0x23a6af(0x101)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x23a6af(0x111)]('create')['description'](a2_0x23a6af(0x150))['requiredOption'](a2_0x23a6af(0x2d0),a2_0x23a6af(0xd7))[a2_0x23a6af(0x315)](a2_0x23a6af(0x163),a2_0x23a6af(0x300))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),a2_0x23a6af(0x228))[a2_0x23a6af(0x147)](a2_0x23a6af(0x113),a2_0x23a6af(0x2f1))[a2_0x23a6af(0x147)]('--segment\x20<path>',a2_0x23a6af(0x322))[a2_0x23a6af(0x147)](a2_0x23a6af(0x30e),a2_0x23a6af(0x25b))['option'](a2_0x23a6af(0x293),a2_0x23a6af(0x1ae))['option'](a2_0x23a6af(0x1bf),a2_0x23a6af(0x85))['option'](a2_0x23a6af(0x1a2),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x23a6af(0x101)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x271))[a2_0x23a6af(0x336)](a2_0x23a6af(0x1f1))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),'Workspace\x20name')[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d0),'New\x20campaign\x20name')[a2_0x23a6af(0x147)]('--description\x20<desc>',a2_0x23a6af(0x2f1))[a2_0x23a6af(0x147)](a2_0x23a6af(0xfe),a2_0x23a6af(0x322))['option'](a2_0x23a6af(0x30e),a2_0x23a6af(0x25b))[a2_0x23a6af(0x147)](a2_0x23a6af(0x293),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x23a6af(0x147)]('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1a2),a2_0x23a6af(0x15c))[a2_0x23a6af(0x101)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x200))[a2_0x23a6af(0x336)]('Delete\x20a\x20campaign')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))[a2_0x23a6af(0x147)]('--yes',a2_0x23a6af(0x1b5))[a2_0x23a6af(0x101)](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x179))[a2_0x23a6af(0x336)]('Launch\x20a\x20campaign')['option']('--workspace\x20<name>',a2_0x23a6af(0x93))['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x325))[a2_0x23a6af(0x336)]('Pause\x20a\x20campaign')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),'Workspace\x20name')[a2_0x23a6af(0x101)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd['command'](a2_0x23a6af(0xca))[a2_0x23a6af(0x336)]('Resume\x20a\x20paused\x20campaign')['option'](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))[a2_0x23a6af(0x101)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x23a6af(0x1e9))[a2_0x23a6af(0x336)](a2_0x23a6af(0x362))['option'](a2_0x23a6af(0x1df),'Workspace\x20name')[a2_0x23a6af(0x101)](createEngageAction(EngageCampaignDuplicateCommand)),campaignCmd[a2_0x23a6af(0x111)]('pull\x20[workspace-name]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x184))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d0),a2_0x23a6af(0x192))['option'](a2_0x23a6af(0x163),a2_0x23a6af(0x265))[a2_0x23a6af(0x147)]('--dry-run','Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x23a6af(0x101)](createEngageAction(EngageCampaignPullCommand)),campaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1a4))[a2_0x23a6af(0x336)](a2_0x23a6af(0x243))[a2_0x23a6af(0x147)]('--workspace\x20<name>','Workspace\x20name')[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),'Show\x20what\x20would\x20be\x20applied\x20without\x20applying')[a2_0x23a6af(0x101)](createEngageAction(EngageCampaignPushCommand)),campaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x10a))[a2_0x23a6af(0x336)](a2_0x23a6af(0x33c))['option'](a2_0x23a6af(0x299),a2_0x23a6af(0x23e))[a2_0x23a6af(0x101)](createEngageAction(EngageCampaignValidateCommand));const alwaysOnCampaignCmd=engageCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x20a))[a2_0x23a6af(0x336)](a2_0x23a6af(0x1a8));alwaysOnCampaignCmd['command']('list\x20[pattern]')['description']('List\x20always-on\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x23a6af(0x147)]('--type\x20<type>',a2_0x23a6af(0x265))['option'](a2_0x23a6af(0x2e1),a2_0x23a6af(0x7b))[a2_0x23a6af(0x315)](a2_0x23a6af(0x1df),a2_0x23a6af(0x228))[a2_0x23a6af(0x101)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),engageCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x175))[a2_0x23a6af(0x336)](a2_0x23a6af(0x117))[a2_0x23a6af(0x147)]('--type\x20<type>',a2_0x23a6af(0x265))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2e1),a2_0x23a6af(0x7b))[a2_0x23a6af(0x315)](a2_0x23a6af(0x1df),a2_0x23a6af(0x228))[a2_0x23a6af(0x101)](createEngageListAction(EngageAlwaysOnCampaignsCommand)),alwaysOnCampaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x324))[a2_0x23a6af(0x336)](a2_0x23a6af(0x119))[a2_0x23a6af(0x315)](a2_0x23a6af(0x1df),a2_0x23a6af(0x228))[a2_0x23a6af(0x147)](a2_0x23a6af(0xcf),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x23a6af(0x101)](createEngageAction(EngageAlwaysOnCampaignShowCommand)),alwaysOnCampaignCmd['command'](a2_0x23a6af(0x1d1))[a2_0x23a6af(0x336)]('Create\x20a\x20new\x20always-on\x20campaign')[a2_0x23a6af(0x315)](a2_0x23a6af(0x2d0),a2_0x23a6af(0xd7))['requiredOption'](a2_0x23a6af(0x163),a2_0x23a6af(0x300))['requiredOption'](a2_0x23a6af(0x1df),a2_0x23a6af(0x228))['option'](a2_0x23a6af(0x113),a2_0x23a6af(0x2f1))['option'](a2_0x23a6af(0xfe),a2_0x23a6af(0xc3))['option'](a2_0x23a6af(0x20f),a2_0x23a6af(0x1fb))['action'](createEngageNoArgAction(EngageAlwaysOnCampaignCreateCommand)),alwaysOnCampaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x271))[a2_0x23a6af(0x336)](a2_0x23a6af(0x110))[a2_0x23a6af(0x315)](a2_0x23a6af(0x1df),'Workspace\x20name\x20(required)')[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d0),a2_0x23a6af(0x112))[a2_0x23a6af(0x147)](a2_0x23a6af(0x113),a2_0x23a6af(0x2f1))[a2_0x23a6af(0x147)](a2_0x23a6af(0xfe),a2_0x23a6af(0xc3))[a2_0x23a6af(0x147)]('--enable-utm-tracking',a2_0x23a6af(0x1fb))[a2_0x23a6af(0x101)](createEngageAction(EngageAlwaysOnCampaignUpdateCommand)),alwaysOnCampaignCmd['command'](a2_0x23a6af(0x200))[a2_0x23a6af(0x336)]('Delete\x20an\x20always-on\x20campaign\x20(DRAFT\x20only)')['requiredOption'](a2_0x23a6af(0x1df),'Workspace\x20name\x20(required)')[a2_0x23a6af(0x147)](a2_0x23a6af(0xf3),'Skip\x20confirmation\x20prompt')[a2_0x23a6af(0x101)](createEngageAction(EngageAlwaysOnCampaignDeleteCommand)),alwaysOnCampaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x179))[a2_0x23a6af(0x336)](a2_0x23a6af(0x1b9))[a2_0x23a6af(0x315)]('--workspace\x20<name>',a2_0x23a6af(0x228))[a2_0x23a6af(0x101)](createEngageAction(EngageAlwaysOnCampaignLaunchCommand)),alwaysOnCampaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x325))['description']('Pause\x20an\x20always-on\x20campaign')[a2_0x23a6af(0x315)](a2_0x23a6af(0x1df),a2_0x23a6af(0x228))[a2_0x23a6af(0x101)](createEngageAction(EngageAlwaysOnCampaignPauseCommand)),alwaysOnCampaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0xca))[a2_0x23a6af(0x336)](a2_0x23a6af(0x198))[a2_0x23a6af(0x315)]('--workspace\x20<name>',a2_0x23a6af(0x228))['action'](createEngageAction(EngageAlwaysOnCampaignResumeCommand)),alwaysOnCampaignCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x8f))[a2_0x23a6af(0x336)](a2_0x23a6af(0x125))[a2_0x23a6af(0x315)](a2_0x23a6af(0x1df),a2_0x23a6af(0x228))[a2_0x23a6af(0x147)](a2_0x23a6af(0xf3),a2_0x23a6af(0x1b5))[a2_0x23a6af(0x101)](createEngageAction(EngageAlwaysOnCampaignFinishCommand)),alwaysOnCampaignCmd['command'](a2_0x23a6af(0x1e9))['description'](a2_0x23a6af(0xeb))['requiredOption']('--workspace\x20<name>',a2_0x23a6af(0x228))[a2_0x23a6af(0x315)](a2_0x23a6af(0x2d0),a2_0x23a6af(0x1db))[a2_0x23a6af(0x101)](createEngageAction(EngageAlwaysOnCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x23a6af(0x36c))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2a7));templateCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0x17f))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))['action'](createEngageListAction(EngageTemplatesCommand)),engageCmd[a2_0x23a6af(0x111)]('templates\x20[pattern]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x311))['option'](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))[a2_0x23a6af(0x101)](createEngageListAction(EngageTemplatesCommand)),templateCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x324))[a2_0x23a6af(0x336)](a2_0x23a6af(0x88))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))[a2_0x23a6af(0x147)](a2_0x23a6af(0xcf),a2_0x23a6af(0x138))[a2_0x23a6af(0x101)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1d1))[a2_0x23a6af(0x336)](a2_0x23a6af(0x1ce))[a2_0x23a6af(0x315)](a2_0x23a6af(0x2d0),a2_0x23a6af(0x34f))[a2_0x23a6af(0x315)]('--subject\x20<subject>',a2_0x23a6af(0xda))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1fc),a2_0x23a6af(0xc6))['option'](a2_0x23a6af(0x186),a2_0x23a6af(0x9d))['option']('--workspace\x20<name>','Workspace\x20name\x20(required)')['option'](a2_0x23a6af(0x379),a2_0x23a6af(0x35d))[a2_0x23a6af(0x147)]('--editor-type\x20<type>',a2_0x23a6af(0x372),_0x128896=>{const _0x2c7bb3=a2_0x23a6af;if(!['beefree',_0x2c7bb3(0x102)][_0x2c7bb3(0x314)](_0x128896))throw new SDKError(ErrorCode[_0x2c7bb3(0x2d1)],_0x2c7bb3(0x17b)+_0x128896+_0x2c7bb3(0x15d));return _0x128896;})[a2_0x23a6af(0x101)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x271))['description']('Update\x20an\x20email\x20template')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d0),'New\x20template\x20name')[a2_0x23a6af(0x147)](a2_0x23a6af(0x89),a2_0x23a6af(0xda))['option'](a2_0x23a6af(0x1fc),a2_0x23a6af(0xc6))['option'](a2_0x23a6af(0x186),a2_0x23a6af(0x9d))['option'](a2_0x23a6af(0x379),a2_0x23a6af(0x35d))[a2_0x23a6af(0x101)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x254))[a2_0x23a6af(0x336)](a2_0x23a6af(0x199))['option'](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))['option'](a2_0x23a6af(0x2d0),a2_0x23a6af(0x2f8))['option'](a2_0x23a6af(0x225),a2_0x23a6af(0x1b5))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),'Show\x20what\x20would\x20be\x20written\x20without\x20writing')[a2_0x23a6af(0x101)](createEngageAction(EngageTemplatePullCommand)),templateCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1a4))['description']('Push\x20YAML\x20files\x20to\x20Engage\x20API\x20as\x20templates')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))['option']('-y,\x20--yes',a2_0x23a6af(0x1b5))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),a2_0x23a6af(0x377))['action'](createEngageAction(EngageTemplatePushCommand)),templateCmd[a2_0x23a6af(0x111)]('validate\x20[target]')['description']('Validate\x20template\x20YAML\x20files\x20locally')[a2_0x23a6af(0x147)]('--verbose','Show\x20all\x20files\x20including\x20valid\x20ones')['action'](createEngageAction(EngageTemplateValidateCommand)),templateCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x200))['description'](a2_0x23a6af(0x239))['option'](a2_0x23a6af(0x1df),a2_0x23a6af(0x93))[a2_0x23a6af(0x147)](a2_0x23a6af(0xf3),a2_0x23a6af(0x1b5))[a2_0x23a6af(0x101)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x7c))[a2_0x23a6af(0x336)]('Workspace\x20management');workspaceCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0xb6))[a2_0x23a6af(0x101)](createEngageListAction(EngageWorkspacesCommand)),engageCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1d4))[a2_0x23a6af(0x336)](a2_0x23a6af(0x6f))[a2_0x23a6af(0x101)](createEngageListAction(EngageWorkspacesCommand)),workspaceCmd['command'](a2_0x23a6af(0x324))['description'](a2_0x23a6af(0x1b7))[a2_0x23a6af(0x147)](a2_0x23a6af(0xcf),a2_0x23a6af(0x138))[a2_0x23a6af(0x101)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1d1))[a2_0x23a6af(0x336)](a2_0x23a6af(0x35a))[a2_0x23a6af(0x315)](a2_0x23a6af(0x2d0),'Workspace\x20name')[a2_0x23a6af(0x147)]('--description\x20<desc>',a2_0x23a6af(0x1c7))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x271))[a2_0x23a6af(0x336)](a2_0x23a6af(0x262))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d0),a2_0x23a6af(0x27a))[a2_0x23a6af(0x147)](a2_0x23a6af(0x113),a2_0x23a6af(0x1c7))[a2_0x23a6af(0x101)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x23a6af(0x111)]('delete\x20<name-or-id>')[a2_0x23a6af(0x336)](a2_0x23a6af(0x364))[a2_0x23a6af(0x147)](a2_0x23a6af(0xf3),a2_0x23a6af(0x1b5))[a2_0x23a6af(0x101)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2d2))[a2_0x23a6af(0x336)]('Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)')[a2_0x23a6af(0x101)](createEngageAction(EngageWorkspaceUseCommand));const deliveryCmd=program['command']('delivery')['description'](a2_0x23a6af(0x35c));deliveryCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1f0))['description'](a2_0x23a6af(0x367))[a2_0x23a6af(0x147)](a2_0x23a6af(0x1df),'Workspace\x20name')['action'](createEngageListAction(DeliveryEmailSendersCommand));const connectionCmd=program['command'](a2_0x23a6af(0x373))[a2_0x23a6af(0x336)]('Data\x20connection\x20management\x20(for\x20activations/exports)'),connectionListAction=async _0x28d61c=>{const _0x2df11f=a2_0x23a6af,_0x497f1a=new ConnectionListCommand(),_0x152846=program[_0x2df11f(0x256)](),_0x293027=await createTDXInstance(_0x152846),_0x3117f8=await _0x497f1a['run']({'options':{..._0x152846,..._0x28d61c},'args':[],'tdx':_0x293027});gracefulExit(_0x3117f8);};connectionCmd['command'](a2_0x23a6af(0x126))['description'](a2_0x23a6af(0x2de))[a2_0x23a6af(0x101)](connectionListAction),program[a2_0x23a6af(0x111)](a2_0x23a6af(0x173),{'hidden':!![]})[a2_0x23a6af(0x336)](a2_0x23a6af(0x10e))[a2_0x23a6af(0x101)](connectionListAction),connectionCmd['command'](a2_0x23a6af(0x22d))[a2_0x23a6af(0x336)](a2_0x23a6af(0xc1))[a2_0x23a6af(0x101)](async(_0xfed36,_0x1587dd)=>{const _0x5914b5=a2_0x23a6af,_0x13231e=new ConnectionShowCommand(),_0x5bc028=program[_0x5914b5(0x256)](),_0x21d8fe=await createTDXInstance(_0x5bc028),_0x224114=await _0x13231e['run']({'options':{..._0x5bc028,..._0x1587dd},'args':[_0xfed36],'tdx':_0x21d8fe});gracefulExit(_0x224114);}),connectionCmd['command'](a2_0x23a6af(0x1b6))['description'](a2_0x23a6af(0x378))[a2_0x23a6af(0x101)](async(_0x3317f1,_0x19b9c3)=>{const _0x513572=a2_0x23a6af,_0x534703=new ConnectionSchemaCommand(),_0x267c0d=program[_0x513572(0x256)](),_0x464294=await createTDXInstance(_0x267c0d),_0x541f3b=await _0x534703[_0x513572(0x2d3)]({'options':{..._0x267c0d,..._0x19b9c3},'args':[_0x3317f1],'tdx':_0x464294});gracefulExit(_0x541f3b);}),connectionCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x17a))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2ca))['action'](async _0x231257=>{const _0x454201=a2_0x23a6af,_0x2291e0=new ConnectionTypesCommand(),_0x451eff=program['opts'](),_0x2c3615=await createTDXInstance(_0x451eff),_0x1f99be=await _0x2291e0[_0x454201(0x2d3)]({'options':{..._0x451eff,..._0x231257},'args':[],'tdx':_0x2c3615});gracefulExit(_0x1f99be);}),connectionCmd['command'](a2_0x23a6af(0x318))[a2_0x23a6af(0x336)]('Show\x20connection-level\x20settings\x20(credentials,\x20authentication)')[a2_0x23a6af(0x101)](async(_0x2b11a0,_0x46f538)=>{const _0xc27c1f=a2_0x23a6af,_0x3e89f2=new ConnectionSettingsCommand(),_0x3cd7c1=program[_0xc27c1f(0x256)](),_0x46f3c3=await createTDXInstance(_0x3cd7c1),_0x1e9ae1=await _0x3e89f2['run']({'options':{..._0x3cd7c1,..._0x46f538},'args':[_0x2b11a0],'tdx':_0x46f3c3});gracefulExit(_0x1e9ae1);});const casCmd=program[a2_0x23a6af(0x111)](a2_0x23a6af(0x233))[a2_0x23a6af(0x336)](a2_0x23a6af(0x188));casCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x126))[a2_0x23a6af(0x336)](a2_0x23a6af(0x72))['action'](async _0x4bcb16=>{const _0x2679f3=a2_0x23a6af,_0x415fb9=new CASListCommand(),_0xcf32da=program[_0x2679f3(0x256)](),_0x405b9d=await createTDXInstance(_0xcf32da),_0x464d0c=await _0x415fb9['run']({'options':{..._0xcf32da,..._0x4bcb16},'args':[],'tdx':_0x405b9d});gracefulExit(_0x464d0c);}),casCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x348))['description'](a2_0x23a6af(0x2a5))['action'](async(_0x32a106,_0x2cb8bb)=>{const _0x122a49=a2_0x23a6af,_0x39c824=new CASDescCommand(),_0xc217b4=program[_0x122a49(0x256)](),_0x39bf8f=await createTDXInstance(_0xc217b4),_0x2ec740=await _0x39c824[_0x122a49(0x2d3)]({'options':{..._0xc217b4,..._0x2cb8bb},'args':_0x32a106?[_0x32a106]:[],'tdx':_0x39bf8f});gracefulExit(_0x2ec740);}),casCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x350))[a2_0x23a6af(0x336)]('Pull\x20composable\x20audience\x20+\x20segments\x20to\x20YAML\x20files\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x23a6af(0x147)]('--dir\x20<dir>',a2_0x23a6af(0x1eb))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),a2_0x23a6af(0x358))['action'](async(_0x1cacf4,_0x4909c1)=>{const _0x28ff8d=a2_0x23a6af,_0x1929ed=new CASPullCommand(),_0x38eed8=program['opts'](),_0x456342=await createTDXInstance(_0x38eed8),_0xeba40f=await _0x1929ed[_0x28ff8d(0x2d3)]({'options':{..._0x38eed8,..._0x4909c1},'args':_0x1cacf4?[_0x1cacf4]:[],'tdx':_0x456342});gracefulExit(_0xeba40f);}),casCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1a4))[a2_0x23a6af(0x336)]('Push\x20YAML\x20files\x20to\x20CAS\x20API')[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),a2_0x23a6af(0x27e))[a2_0x23a6af(0x101)](async(_0x23f1cf,_0x1bea74)=>{const _0xb86057=a2_0x23a6af,_0x452d5b=new CASPushCommand(),_0x400d6a=program[_0xb86057(0x256)](),_0x35d499=await createTDXInstance(_0x400d6a),_0x5eba2c=await _0x452d5b[_0xb86057(0x2d3)]({'options':{..._0x400d6a,..._0x1bea74},'args':_0x23f1cf?[_0x23f1cf]:[],'tdx':_0x35d499});gracefulExit(_0x5eba2c);}),casCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x23f))['description'](a2_0x23a6af(0x310))[a2_0x23a6af(0x147)](a2_0x23a6af(0xbc),a2_0x23a6af(0x36e))['action'](async(_0x4771d2,_0x38217e)=>{const _0x3a6d8c=a2_0x23a6af,_0x5a3bd3=new CASPreviewCommand(),_0x30b0d5=program[_0x3a6d8c(0x256)](),_0x4899de=await createTDXInstance(_0x30b0d5),_0x478bec=await _0x5a3bd3[_0x3a6d8c(0x2d3)]({'options':{..._0x30b0d5,..._0x38217e},'args':[_0x4771d2,_0x38217e[_0x3a6d8c(0xbe)]],'tdx':_0x4899de});gracefulExit(_0x478bec);});const casSgCmd=casCmd[a2_0x23a6af(0x111)]('sg')[a2_0x23a6af(0x336)]('Composable\x20segment\x20commands');casSgCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1b0))[a2_0x23a6af(0x336)]('List\x20composable\x20segments\x20for\x20an\x20audience')[a2_0x23a6af(0x101)](async(_0x2d1b18,_0x59fe78)=>{const _0x12dd86=a2_0x23a6af,_0x64cd9b=new CASSegmentListCommand(),_0x5404bb=program[_0x12dd86(0x256)](),_0x3ae0bb=await createTDXInstance(_0x5404bb),_0x2effd0=await _0x64cd9b['run']({'options':{..._0x5404bb,..._0x59fe78},'args':_0x2d1b18?[_0x2d1b18]:[],'tdx':_0x3ae0bb});gracefulExit(_0x2effd0);});const journeyCmd=program['command'](a2_0x23a6af(0xdb))[a2_0x23a6af(0x336)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x9a935b,_0x12aac7)=>{const _0x4986a1=a2_0x23a6af,_0x448d82=new JourneyListCommand(),_0x39951e=program['opts'](),_0x2e0766=await createTDXInstance(_0x39951e),_0x25a676=await _0x448d82[_0x4986a1(0x2d3)]({'options':{..._0x39951e,..._0x12aac7},'args':_0x9a935b?[_0x9a935b]:[],'tdx':_0x2e0766});gracefulExit(_0x25a676);};journeyCmd[a2_0x23a6af(0x111)]('list\x20[pattern]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x354))[a2_0x23a6af(0x101)](journeyListAction),journeyCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x345))[a2_0x23a6af(0x336)](a2_0x23a6af(0xb8))[a2_0x23a6af(0x147)](a2_0x23a6af(0x2c6),a2_0x23a6af(0x26b))[a2_0x23a6af(0x147)](a2_0x23a6af(0x7d),a2_0x23a6af(0xac))[a2_0x23a6af(0x101)](async(_0x4dc648,_0x531646)=>{const _0x9863db=a2_0x23a6af,_0x56b7b1=new JourneyViewCommand(),_0x4438ec=program[_0x9863db(0x256)](),_0x3745c1=await createTDXInstance(_0x4438ec),_0x4630b9=await _0x56b7b1[_0x9863db(0x2d3)]({'options':{..._0x4438ec,..._0x531646},'args':[_0x4dc648],'tdx':_0x3745c1});gracefulExit(_0x4630b9);}),journeyCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2be))[a2_0x23a6af(0x336)](a2_0x23a6af(0x357))['option'](a2_0x23a6af(0x98),a2_0x23a6af(0x241))['option'](a2_0x23a6af(0xb0),'Start\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x23a6af(0x147)](a2_0x23a6af(0x2a6),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x23a6af(0x147)](a2_0x23a6af(0x197),a2_0x23a6af(0x8d))[a2_0x23a6af(0x101)](async(_0x5e5538,_0x55bc67)=>{const _0x5dcfc3=new JourneyStatsCommand(),_0x3aed63=program['opts'](),_0x48b264=await createTDXInstance(_0x3aed63),_0xac7a2f=await _0x5dcfc3['run']({'options':{..._0x3aed63,..._0x55bc67},'args':[_0x5e5538],'tdx':_0x48b264});gracefulExit(_0xac7a2f);}),journeyCmd[a2_0x23a6af(0x111)]('traffic\x20<name-or-path>')[a2_0x23a6af(0x336)](a2_0x23a6af(0x1c9))[a2_0x23a6af(0x147)](a2_0x23a6af(0x163),a2_0x23a6af(0x1f6))[a2_0x23a6af(0x147)]('--from\x20<date>',a2_0x23a6af(0x2aa))['option'](a2_0x23a6af(0x2a6),'End\x20date\x20for\x20period\x20filter\x20(YYYY-MM-DD)')[a2_0x23a6af(0x147)](a2_0x23a6af(0x381),a2_0x23a6af(0xd6),_0x13c3c0=>{const _0x152d8c=a2_0x23a6af,_0x39cf4f=parseInt(_0x13c3c0,0xa);if(isNaN(_0x39cf4f))throw new Error(_0x152d8c(0x2b8)+_0x13c3c0+_0x152d8c(0xe8));return _0x39cf4f;})['action'](async(_0x53ef76,_0x58824c)=>{const _0x1e3ce0=a2_0x23a6af,_0x4655ac=new JourneyTrafficCommand(),_0x33eddc=program['opts'](),_0x2d4eaa=await createTDXInstance(_0x33eddc),_0x4091fb=await _0x4655ac[_0x1e3ce0(0x2d3)]({'options':{..._0x33eddc,..._0x58824c},'args':[_0x53ef76],'tdx':_0x2d4eaa});gracefulExit(_0x4091fb);}),journeyCmd[a2_0x23a6af(0x111)]('pause\x20<name-or-path>')[a2_0x23a6af(0x336)](a2_0x23a6af(0xef))[a2_0x23a6af(0x101)](async(_0x10675e,_0xdb515c)=>{const _0x18c4a1=a2_0x23a6af,_0x477965=new JourneyPauseCommand(),_0x42fe29=program[_0x18c4a1(0x256)](),_0x58d423=await createTDXInstance(_0x42fe29),_0x4cc5a1=await _0x477965[_0x18c4a1(0x2d3)]({'options':{..._0x42fe29,..._0xdb515c},'args':[_0x10675e],'tdx':_0x58d423});gracefulExit(_0x4cc5a1);}),journeyCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2e7))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2ee))[a2_0x23a6af(0x101)](async(_0x13c219,_0x366941)=>{const _0x41ad8e=a2_0x23a6af,_0x19e607=new JourneyResumeCommand(),_0x4696e8=program[_0x41ad8e(0x256)](),_0x1db95f=await createTDXInstance(_0x4696e8),_0x4bd2a2=await _0x19e607[_0x41ad8e(0x2d3)]({'options':{..._0x4696e8,..._0x366941},'args':[_0x13c219],'tdx':_0x1db95f});gracefulExit(_0x4bd2a2);}),journeyCmd[a2_0x23a6af(0x111)]('pull\x20[name]')[a2_0x23a6af(0x336)]('Export\x20journey(s)\x20as\x20YAML\x20files')[a2_0x23a6af(0x147)]('--dry-run',a2_0x23a6af(0x358))[a2_0x23a6af(0x101)](async(_0x5c0962,_0x3fcb69)=>{const _0x22d3bd=a2_0x23a6af,_0x5aa137=new JourneyPullCommand(),_0x18c9c6=program['opts'](),_0x2fbbef=await createTDXInstance(_0x18c9c6),_0x2c67aa=await _0x5aa137[_0x22d3bd(0x2d3)]({'options':{..._0x18c9c6,..._0x3fcb69},'args':_0x5c0962?[_0x5c0962]:[],'tdx':_0x2fbbef});gracefulExit(_0x2c67aa);}),journeyCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1a4))[a2_0x23a6af(0x336)](a2_0x23a6af(0x328))[a2_0x23a6af(0x101)](async(_0x1266c5,_0xda6923)=>{const _0x277027=a2_0x23a6af,_0x29e462=new JourneyPushCommand(),_0x283c68=program['opts'](),_0x2b8208=await createTDXInstance(_0x283c68),_0x35a987=await _0x29e462[_0x277027(0x2d3)]({'options':{..._0x283c68,..._0xda6923},'args':_0x1266c5?[_0x1266c5]:[],'tdx':_0x2b8208});gracefulExit(_0x35a987);}),journeyCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1e3))[a2_0x23a6af(0x336)]('Show\x20journey\x20table\x20column-to-step\x20mapping')[a2_0x23a6af(0x101)](async(_0xee83b3,_0x48f971)=>{const _0x1a84c0=a2_0x23a6af,_0x18d044=new JourneyColumnsCommand(),_0xc1731e=program[_0x1a84c0(0x256)](),_0x45e4a0=await createTDXInstance(_0xc1731e),_0x58b941=await _0x18d044[_0x1a84c0(0x2d3)]({'options':{..._0xc1731e,..._0x48f971},'args':[_0xee83b3],'tdx':_0x45e4a0});gracefulExit(_0x58b941);}),journeyCmd['command'](a2_0x23a6af(0x168))[a2_0x23a6af(0x336)](a2_0x23a6af(0x2e6))['action'](async(_0x8e4234,_0x14e80c)=>{const _0x3e5bbf=a2_0x23a6af,_0x127a5c=new JourneyActivationsCommand(),_0x1d8287=program['opts'](),_0x346a6e=await createTDXInstance(_0x1d8287),_0x288bcc=await _0x127a5c[_0x3e5bbf(0x2d3)]({'options':{..._0x1d8287,..._0x14e80c},'args':[_0x8e4234],'tdx':_0x346a6e});gracefulExit(_0x288bcc);}),journeyCmd[a2_0x23a6af(0x111)]('versions\x20<name-or-path>')[a2_0x23a6af(0x336)]('List\x20all\x20versions\x20of\x20a\x20journey')['action'](async(_0x1e4553,_0x6e9c58)=>{const _0xe559f2=a2_0x23a6af,_0x293f6f=new JourneyVersionsCommand(),_0x49fad6=program[_0xe559f2(0x256)](),_0x6901e9=await createTDXInstance(_0x49fad6),_0x12f015=await _0x293f6f['run']({'options':{..._0x49fad6,..._0x6e9c58},'args':[_0x1e4553],'tdx':_0x6901e9});gracefulExit(_0x12f015);});const journeyVersionCmd=journeyCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2cd))[a2_0x23a6af(0x336)]('Journey\x20version\x20management');journeyVersionCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x109))[a2_0x23a6af(0x336)]('Create\x20a\x20new\x20draft\x20version\x20of\x20a\x20journey')[a2_0x23a6af(0x101)](async(_0x441dc2,_0x8ba28c)=>{const _0x53a3ec=a2_0x23a6af,_0x2386e9=new JourneyVersionCreateCommand(),_0x1e465e=program[_0x53a3ec(0x256)](),_0x57f77f=await createTDXInstance(_0x1e465e),_0x41adaf=await _0x2386e9[_0x53a3ec(0x2d3)]({'options':{..._0x1e465e,..._0x8ba28c},'args':[_0x441dc2],'tdx':_0x57f77f});gracefulExit(_0x41adaf);}),journeyVersionCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x345))[a2_0x23a6af(0x336)](a2_0x23a6af(0xc8))[a2_0x23a6af(0x315)](a2_0x23a6af(0x19a),'Version\x20number\x20to\x20view')['action'](async(_0x2f2d8b,_0x13501f)=>{const _0x51fd32=a2_0x23a6af,_0x5e9bc9=new JourneyVersionViewCommand(),_0x26c3a8=program[_0x51fd32(0x256)](),_0x4121d8=await createTDXInstance(_0x26c3a8),_0x4ee2c1=await _0x5e9bc9[_0x51fd32(0x2d3)]({'options':{..._0x26c3a8,..._0x13501f},'args':[_0x2f2d8b],'tdx':_0x4121d8});gracefulExit(_0x4ee2c1);}),journeyCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x10a))[a2_0x23a6af(0x336)]('Validate\x20journey\x20YAML\x20files\x20locally')[a2_0x23a6af(0x101)](async(_0x4ea7d4,_0x2032fc)=>{const _0x24d659=a2_0x23a6af,_0x53c176=new JourneyValidateCommand(),_0x41ecb=program[_0x24d659(0x256)](),_0x50c279=await createTDXInstance(_0x41ecb),_0x52ff8d=await _0x53c176[_0x24d659(0x2d3)]({'options':{..._0x41ecb,..._0x2032fc},'args':_0x4ea7d4?[_0x4ea7d4]:[],'tdx':_0x50c279});gracefulExit(_0x52ff8d);}),program[a2_0x23a6af(0x111)]('journeys\x20[pattern]')['description']('List\x20journeys\x20(alias\x20for\x20journey\x20list)')[a2_0x23a6af(0x101)](journeyListAction);const agentSyncCmd=program[a2_0x23a6af(0x111)](a2_0x23a6af(0x2f2))['description'](a2_0x23a6af(0xba));agentSyncCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2ec))[a2_0x23a6af(0x336)](a2_0x23a6af(0xb7))['option'](a2_0x23a6af(0x21a),a2_0x23a6af(0x1ec))[a2_0x23a6af(0x147)](a2_0x23a6af(0x9c),a2_0x23a6af(0x2e4))['option']('-a,\x20--agent\x20<name>','Pull\x20specific\x20agent\x20by\x20name\x20(uses\x20llm_project\x20context)')['action'](async(_0x397ee0,_0x1ad1f2,_0x21dc4a)=>{const _0x30f421=a2_0x23a6af,_0x531d33=new AgentPullCommand(),_0x503e6c=program['opts'](),_0x2085ed=await createTDXInstance(_0x503e6c),_0x30f9b5=[];if(_0x397ee0)_0x30f9b5['push'](_0x397ee0);if(_0x1ad1f2)_0x30f9b5[_0x30f421(0x10c)](_0x1ad1f2);const _0x30b25c=await _0x531d33[_0x30f421(0x2d3)]({'options':{..._0x503e6c,..._0x21dc4a},'args':_0x30f9b5,'tdx':_0x2085ed});gracefulExit(_0x30b25c);}),agentSyncCmd['command'](a2_0x23a6af(0x337))[a2_0x23a6af(0x336)](a2_0x23a6af(0x25d))[a2_0x23a6af(0x147)](a2_0x23a6af(0x9c),a2_0x23a6af(0x332))['action'](async(_0x507d0e,_0x4de397)=>{const _0x4d1f0f=a2_0x23a6af,_0x30efd0=new AgentPushCommand(),_0x45a51f=program[_0x4d1f0f(0x256)](),_0x21a0a7=await createTDXInstance(_0x45a51f),_0x3d9b2=await _0x30efd0[_0x4d1f0f(0x2d3)]({'options':{..._0x45a51f,..._0x4de397},'args':_0x507d0e?[_0x507d0e]:[],'tdx':_0x21a0a7});gracefulExit(_0x3d9b2);}),agentSyncCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2e8))[a2_0x23a6af(0x336)]('Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project')['option'](a2_0x23a6af(0xfd),a2_0x23a6af(0x158))['action'](async(_0x7b32f3,_0xd821f5)=>{const _0x48bc3d=a2_0x23a6af,_0x3e7065=new AgentCloneCommand(),_0x1ff3fc=program[_0x48bc3d(0x256)](),_0x528b0a=await createTDXInstance(_0x1ff3fc),_0x12ef60=await _0x3e7065['run']({'options':{..._0x1ff3fc,..._0xd821f5},'args':_0x7b32f3?[_0x7b32f3]:[],'tdx':_0x528b0a});gracefulExit(_0x12ef60);}),agentSyncCmd[a2_0x23a6af(0x111)]('test\x20[path]')[a2_0x23a6af(0x336)](a2_0x23a6af(0x1f5))[a2_0x23a6af(0x147)](a2_0x23a6af(0x156),a2_0x23a6af(0x2eb))[a2_0x23a6af(0x147)](a2_0x23a6af(0x194),a2_0x23a6af(0x29e))[a2_0x23a6af(0x147)](a2_0x23a6af(0x275),a2_0x23a6af(0x17c))[a2_0x23a6af(0x147)]('--no-eval','Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x23a6af(0x147)](a2_0x23a6af(0x189),a2_0x23a6af(0x294))[a2_0x23a6af(0x101)](async(_0x542261,_0x2b877c)=>{const _0xf87949=a2_0x23a6af,_0x1710ca=new AgentTestCommand(),_0x4a0d5f=program[_0xf87949(0x256)](),_0x51904b=await createTDXInstance(_0x4a0d5f),_0x4fe2a9=await _0x1710ca[_0xf87949(0x2d3)]({'options':{..._0x4a0d5f,..._0x2b877c},'args':_0x542261?[_0x542261]:[],'tdx':_0x51904b});gracefulExit(_0x4fe2a9);}),agentSyncCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2fe))[a2_0x23a6af(0x336)](a2_0x23a6af(0x180))[a2_0x23a6af(0x101)](llmAgentListAction),agentSyncCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x2a1))[a2_0x23a6af(0x336)](a2_0x23a6af(0xc9))[a2_0x23a6af(0x101)](async(_0x3860a1,_0x23eb88)=>{const _0x15331c=new LLMAgentShowCommand(),_0x1e2c09=program['opts'](),_0xfe4fd6=await createTDXInstance(_0x1e2c09),_0x4864c2=await _0x15331c['run']({'options':{..._0x1e2c09,..._0x23eb88},'args':[_0x3860a1],'tdx':_0xfe4fd6});gracefulExit(_0x4864c2);}),agentSyncCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x29c))[a2_0x23a6af(0x336)](a2_0x23a6af(0x1e6))[a2_0x23a6af(0x147)]('--system-prompt\x20<text>',a2_0x23a6af(0x217))[a2_0x23a6af(0x147)]('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x23a6af(0x31a))[a2_0x23a6af(0x147)]('--starter-message\x20<text>',a2_0x23a6af(0x209))[a2_0x23a6af(0x147)](a2_0x23a6af(0x174),a2_0x23a6af(0xd4),'4')[a2_0x23a6af(0x147)](a2_0x23a6af(0x18b),a2_0x23a6af(0x28a),'0.7')['action'](async(_0x7fc177,_0x105dd6)=>{const _0x193832=a2_0x23a6af,_0x45c7b8=new LLMAgentCreateCommand(),_0xbd22e8=program[_0x193832(0x256)](),_0xea701a=await createTDXInstance(_0xbd22e8),_0x5c6a2b=await _0x45c7b8[_0x193832(0x2d3)]({'options':{..._0xbd22e8,..._0x105dd6},'args':[_0x7fc177],'tdx':_0xea701a});gracefulExit(_0x5c6a2b);}),agentSyncCmd['command'](a2_0x23a6af(0xa7))[a2_0x23a6af(0x336)]('Update\x20an\x20existing\x20agent')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1c6),a2_0x23a6af(0x95))['option']('--prompt\x20<text>',a2_0x23a6af(0x170))[a2_0x23a6af(0x147)](a2_0x23a6af(0x181),a2_0x23a6af(0x302))['option'](a2_0x23a6af(0x8a),a2_0x23a6af(0x209))[a2_0x23a6af(0x101)](async(_0x32a79f,_0x457e46)=>{const _0x1d6c08=a2_0x23a6af,_0x337842=new LLMAgentUpdateCommand(),_0x597bc4=program[_0x1d6c08(0x256)](),_0x41eedc=await createTDXInstance(_0x597bc4),_0x4072aa=await _0x337842[_0x1d6c08(0x2d3)]({'options':{..._0x597bc4,..._0x457e46},'args':[_0x32a79f],'tdx':_0x41eedc});gracefulExit(_0x4072aa);}),agentSyncCmd[a2_0x23a6af(0x111)]('delete\x20<agent-name>')[a2_0x23a6af(0x336)]('Delete\x20an\x20agent')['action'](async(_0x4e2162,_0x2be8a2)=>{const _0x134a6d=a2_0x23a6af,_0x534737=new LLMAgentDeleteCommand(),_0x1aa917=program[_0x134a6d(0x256)](),_0xa583a=await createTDXInstance(_0x1aa917),_0x4578f=await _0x534737[_0x134a6d(0x2d3)]({'options':{..._0x1aa917,..._0x2be8a2},'args':[_0x4e2162],'tdx':_0xa583a});gracefulExit(_0x4578f);});const workCmd=program[a2_0x23a6af(0x111)]('work')[a2_0x23a6af(0x336)](a2_0x23a6af(0x368));workCmd[a2_0x23a6af(0x147)](a2_0x23a6af(0x244),a2_0x23a6af(0x283))['option']('--all','Include\x20all\x20items\x20(no\x20stale\x20filtering)')[a2_0x23a6af(0x101)](workSummaryAction),workCmd[a2_0x23a6af(0x111)]('init\x20[name]')[a2_0x23a6af(0x336)]('Initialize\x20a\x20new\x20workspace')[a2_0x23a6af(0x147)](a2_0x23a6af(0x2d9),a2_0x23a6af(0x2af))[a2_0x23a6af(0x101)](workInitAction),workCmd[a2_0x23a6af(0x111)]('new\x20<title>')[a2_0x23a6af(0x336)]('Create\x20a\x20new\x20document')[a2_0x23a6af(0x147)]('--kind\x20<kind>',a2_0x23a6af(0x346),a2_0x23a6af(0x2f9))[a2_0x23a6af(0x147)](a2_0x23a6af(0x194),a2_0x23a6af(0x24e))[a2_0x23a6af(0x147)](a2_0x23a6af(0xae),'Priority\x20(critical,\x20high,\x20medium,\x20low)')['option'](a2_0x23a6af(0x205),a2_0x23a6af(0x105))['option'](a2_0x23a6af(0x19b),a2_0x23a6af(0x292))['option'](a2_0x23a6af(0x2e1),a2_0x23a6af(0x2c9))[a2_0x23a6af(0x147)](a2_0x23a6af(0x251),a2_0x23a6af(0x177))[a2_0x23a6af(0x101)](workNewAction),workCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x137))[a2_0x23a6af(0x336)](a2_0x23a6af(0xcc))[a2_0x23a6af(0x101)](workMoveAction),workCmd[a2_0x23a6af(0x111)]('board')[a2_0x23a6af(0x336)](a2_0x23a6af(0xb9))[a2_0x23a6af(0x147)](a2_0x23a6af(0x244),'Show\x20items\x20updated\x20within\x20N\x20days')[a2_0x23a6af(0x147)](a2_0x23a6af(0x1d8),a2_0x23a6af(0x306))[a2_0x23a6af(0x101)](workBoardAction),workCmd['command'](a2_0x23a6af(0x22d))['description'](a2_0x23a6af(0x26c))['action'](workShowAction),workCmd[a2_0x23a6af(0x111)]('links\x20<name>')[a2_0x23a6af(0x336)]('Show\x20wiki-links\x20and\x20backlinks\x20for\x20a\x20document')[a2_0x23a6af(0x101)](workLinksAction),workCmd[a2_0x23a6af(0x111)](a2_0x23a6af(0x1d7))[a2_0x23a6af(0x336)](a2_0x23a6af(0x356))[a2_0x23a6af(0x101)](workOpenAction),program['command'](a2_0x23a6af(0x2c5),{'hidden':!![]})[a2_0x23a6af(0x101)](()=>{const _0x5f58a8=a2_0x23a6af;function _0x347b68(_0xc90cb4,_0x284160){const _0x3c00e6=a2_0x3174,_0x38826b=[];for(const _0x4375ea of _0xc90cb4[_0x3c00e6(0x99)]){if(_0x4375ea[_0x3c00e6(0x229)])continue;const _0x55e6d1=_0x284160?_0x284160+'\x20'+_0x4375ea[_0x3c00e6(0x16a)]():_0x4375ea[_0x3c00e6(0x16a)](),_0x20467a=_0x55e6d1[_0x3c00e6(0x375)]('\x20')[0x0],_0x13d457=COMMAND_CATEGORIES[_0x3c00e6(0x94)](_0x5b7e06=>_0x5b7e06[_0x3c00e6(0x99)][_0x3c00e6(0x314)](_0x20467a)),_0x40ff9f=_0x13d457?.[_0x3c00e6(0x16a)]??'';if(_0x4375ea[_0x3c00e6(0x99)][_0x3c00e6(0xf5)]>0x0)_0x38826b[_0x3c00e6(0x10c)](..._0x347b68(_0x4375ea,_0x55e6d1));else{const _0x1bb833=(_0x4375ea['registeredArguments']||[])[_0x3c00e6(0x13e)](_0x421365=>{const _0x483c1b=_0x3c00e6,_0x294492=_0x421365[_0x483c1b(0x232)]?_0x421365[_0x483c1b(0x16a)]()+_0x483c1b(0x23b):_0x421365['name']();return _0x421365[_0x483c1b(0x210)]?'<'+_0x294492+'>':'['+_0x294492+']';})[_0x3c00e6(0x14a)]('\x20'),_0x30a960=_0x4375ea[_0x3c00e6(0x287)][_0x3c00e6(0x159)](_0x416a45=>!_0x416a45[_0x3c00e6(0x1e1)]&&_0x416a45[_0x3c00e6(0x301)]!=='--help')[_0x3c00e6(0x13e)](_0x1bf701=>({'flags':_0x1bf701[_0x3c00e6(0x28b)],'description':_0x1bf701[_0x3c00e6(0x336)]}));_0x38826b['push']({'name':_0x55e6d1,'description':_0x4375ea[_0x3c00e6(0x336)](),'group':_0x40ff9f,'usage':_0x1bb833,'options':_0x30a960});}}return _0x38826b;}console[_0x5f58a8(0x344)](JSON['stringify'](_0x347b68(program,''))),gracefulExit(0x0);});export{program};export function runCLI(){const _0x1c6b31=a2_0x23a6af,_0x443408=!process[_0x1c6b31(0x1ea)][_0x1c6b31(0x31b)](0x2)[_0x1c6b31(0xf5)];showBriefHelp=_0x443408,program[_0x1c6b31(0x36d)](process['argv']);_0x443408&&program[_0x1c6b31(0x2bd)]();const _0x25c3d1=process[_0x1c6b31(0x1ea)][0x2]==='upgrade';if(process[_0x1c6b31(0x130)][_0x1c6b31(0x30b)]&&process[_0x1c6b31(0x1ea)][_0x1c6b31(0xf5)]>0x2&&!isDevVersion()&&!_0x25c3d1){const _0x47d41c=loadReleaseChannel();checkForUpdate(currentVersion,_0x47d41c)[_0x1c6b31(0x15b)](_0x3d316e=>{_0x3d316e&&displayUpdateNotification(_0x3d316e);})[_0x1c6b31(0x342)](()=>{});}}