@treasuredata/tdx 0.1.6 → 0.1.8

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 (95) hide show
  1. package/README.md +89 -7
  2. package/dist/cli.js +1 -1
  3. package/dist/cli.js.map +1 -1
  4. package/dist/client/cdp-client.js +1 -1
  5. package/dist/client/http-client.js +1 -1
  6. package/dist/client/llm-client.js +1 -1
  7. package/dist/client/rate-limiter.js +1 -1
  8. package/dist/client/td-client.js +1 -1
  9. package/dist/client/trino-client.js +1 -1
  10. package/dist/client/workflow-client.js +1 -1
  11. package/dist/commands/activations.js +1 -1
  12. package/dist/commands/api-command.js +1 -1
  13. package/dist/commands/chat-command.d.ts +6 -1
  14. package/dist/commands/chat-command.d.ts.map +1 -1
  15. package/dist/commands/chat-command.js +1 -1
  16. package/dist/commands/chat-command.js.map +1 -1
  17. package/dist/commands/command.d.ts.map +1 -1
  18. package/dist/commands/command.js +1 -1
  19. package/dist/commands/command.js.map +1 -1
  20. package/dist/commands/context-command.js +1 -1
  21. package/dist/commands/databases.js +1 -1
  22. package/dist/commands/describe.d.ts.map +1 -1
  23. package/dist/commands/describe.js +1 -1
  24. package/dist/commands/describe.js.map +1 -1
  25. package/dist/commands/llm-command.js +1 -1
  26. package/dist/commands/llm-command.js.map +1 -1
  27. package/dist/commands/llm-proxy.d.ts +24 -0
  28. package/dist/commands/llm-proxy.d.ts.map +1 -0
  29. package/dist/commands/llm-proxy.js +1 -0
  30. package/dist/commands/llm-proxy.js.map +1 -0
  31. package/dist/commands/profiles-command.js +1 -1
  32. package/dist/commands/query-command.d.ts.map +1 -1
  33. package/dist/commands/query-command.js +1 -1
  34. package/dist/commands/query-command.js.map +1 -1
  35. package/dist/commands/segment-command.js +1 -1
  36. package/dist/commands/segments.js +1 -1
  37. package/dist/commands/show.d.ts.map +1 -1
  38. package/dist/commands/show.js +1 -1
  39. package/dist/commands/show.js.map +1 -1
  40. package/dist/commands/tables.js +1 -1
  41. package/dist/commands/use-command.d.ts.map +1 -1
  42. package/dist/commands/use-command.js +1 -1
  43. package/dist/commands/use-command.js.map +1 -1
  44. package/dist/commands/workflow-command.js +1 -1
  45. package/dist/core/auth.js +1 -1
  46. package/dist/core/config.js +1 -1
  47. package/dist/core/global-context.js +1 -1
  48. package/dist/core/profile.js +1 -1
  49. package/dist/core/project-config.js +1 -1
  50. package/dist/core/session.js +1 -1
  51. package/dist/index.js +1 -1
  52. package/dist/proxy/anthropic-adapter.d.ts +44 -0
  53. package/dist/proxy/anthropic-adapter.d.ts.map +1 -0
  54. package/dist/proxy/anthropic-adapter.js +1 -0
  55. package/dist/proxy/anthropic-adapter.js.map +1 -0
  56. package/dist/proxy/server.d.ts +59 -0
  57. package/dist/proxy/server.d.ts.map +1 -0
  58. package/dist/proxy/server.js +1 -0
  59. package/dist/proxy/server.js.map +1 -0
  60. package/dist/sdk/api.js +1 -1
  61. package/dist/sdk/database.js +1 -1
  62. package/dist/sdk/errors.js +1 -1
  63. package/dist/sdk/index.js +1 -1
  64. package/dist/sdk/llm.js +1 -1
  65. package/dist/sdk/query.js +1 -1
  66. package/dist/sdk/segment.js +1 -1
  67. package/dist/sdk/table.js +1 -1
  68. package/dist/sdk/workflow.js +1 -1
  69. package/dist/types/anthropic.d.ts +139 -0
  70. package/dist/types/anthropic.d.ts.map +1 -0
  71. package/dist/types/anthropic.js +1 -0
  72. package/dist/types/anthropic.js.map +1 -0
  73. package/dist/types/endpoints.js +1 -1
  74. package/dist/types/index.js +1 -1
  75. package/dist/utils/agent-ref-parser.js +1 -1
  76. package/dist/utils/chat-cache.js +1 -1
  77. package/dist/utils/colors.js +1 -1
  78. package/dist/utils/command-output.js +1 -1
  79. package/dist/utils/file-permissions.js +1 -1
  80. package/dist/utils/format-detector.js +1 -1
  81. package/dist/utils/formatters.js +1 -1
  82. package/dist/utils/model-aliases.d.ts +25 -0
  83. package/dist/utils/model-aliases.d.ts.map +1 -0
  84. package/dist/utils/model-aliases.js +1 -0
  85. package/dist/utils/model-aliases.js.map +1 -0
  86. package/dist/utils/option-validation.js +1 -1
  87. package/dist/utils/process.js +1 -1
  88. package/dist/utils/segment-ref-parser.js +1 -1
  89. package/dist/utils/spinner.js +1 -1
  90. package/dist/utils/sql-parser.js +1 -1
  91. package/dist/utils/sse-parser.js +1 -1
  92. package/dist/utils/string-utils.js +1 -1
  93. package/dist/utils/table-ref-parser.js +1 -1
  94. package/dist/utils/workflow-utils.js +1 -1
  95. package/package.json +3 -1
package/README.md CHANGED
@@ -17,11 +17,17 @@ A modern, AI-native command-line interface for Treasure Data, optimized for both
17
17
  # Run directly with npx (no installation required)
18
18
  npx @treasuredata/tdx databases
19
19
 
20
+ # Run latest version with npx
21
+ npx @treasuredata/tdx@latest databases
22
+
20
23
  # Or install globally
21
24
  npm install -g @treasuredata/tdx
22
25
 
23
26
  # Alternative: Use with Bun
24
- bun x @treasuredata/tdx databases
27
+ bunx @treasuredata/tdx databases
28
+
29
+ # Run latest version with bunx
30
+ bunx @treasuredata/tdx@latest databases
25
31
  ```
26
32
 
27
33
  ## Quick Start
@@ -310,13 +316,13 @@ Simplified top-level command for chatting with LLM agents.
310
316
  |---------|-------------|---------|
311
317
  | `chat <message>` | Chat (continues last session by default) | `tdx chat "Analyze my data"` |
312
318
  | `chat <message> --agent <name>` | Chat with specific agent | `tdx chat "Hello" --agent "Data Analyst"` |
313
- | `chat <message> --model <name>` | Chat using specific model | `tdx chat "Help" --model "gpt-5"` |
319
+ | `chat <message> --model <name>` | Chat using specific model or alias (haiku, sonnet) | `tdx chat "Help" --model "haiku"` |
314
320
  | `chat <message> --temperature <n>` | Set temperature (0.0-2.0, default: 0.7) | `tdx chat "Be creative" --temperature 1.2` |
315
321
  | `chat <message> --new` | Start a new chat session | `tdx chat --new "Fresh conversation"` |
316
322
 
317
323
  **Examples**:
318
324
  ```bash
319
- # Simple chat (uses default agent with claude-4.5-sonnet)
325
+ # Simple chat (uses default agent with claude-4.5-haiku)
320
326
  tdx chat "Show me the top customers by revenue"
321
327
 
322
328
  # Continue previous conversation (default behavior)
@@ -325,8 +331,12 @@ tdx chat "What about last quarter?"
325
331
  # Start a new conversation
326
332
  tdx chat --new "Tell me about data modeling best practices"
327
333
 
328
- # Use specific model (auto-creates/reuses agent)
329
- tdx chat "Help me write SQL" --model "gpt-5"
334
+ # Use model aliases for quick access
335
+ tdx chat "Quick question" --model "haiku" # Uses claude-4.5-haiku
336
+ tdx chat "Analyze this" --model "sonnet" # Uses claude-4.5-sonnet
337
+
338
+ # Use full model name
339
+ tdx chat "Help me write SQL" --model "claude-4.5-opus"
330
340
 
331
341
  # Use specific agent by name (uses current project context)
332
342
  tdx llm use "MyProject"
@@ -347,7 +357,7 @@ tdx chat "Hello" --verbose
347
357
  - **Session persistence**: Last chat ID saved to `.cache/tdx/last_chat_id`
348
358
  - **--new flag**: Starts a fresh chat session
349
359
  - **--agent**: Use specific agent by name (resolves using project context)
350
- - **--model**: Auto-creates/reuses agent per model (e.g., `tdx_gpt-5`)
360
+ - **--model**: Auto-creates/reuses agent per model (supports aliases: `haiku` → `claude-4.5-haiku`, `sonnet` → `claude-4.5-sonnet`)
351
361
  - **--temperature**: Controls randomness (0.7 default, lower=focused, higher=creative)
352
362
 
353
363
  ### Database Commands
@@ -742,6 +752,7 @@ Manage LLM projects, agents, and chat sessions with streaming support.
742
752
  | `llm agent update <name>` | Update an agent | `tdx llm agent update "Agent" --name "New Name"` |
743
753
  | `llm agent delete <name>` | Delete an agent | `tdx llm agent delete "Agent"` |
744
754
  | `llm history [chat-id]` | List chat sessions or show messages | `tdx llm history` or `tdx llm history chat456` |
755
+ | `llm proxy` | **[EXPERIMENTAL]** Start proxy server for Claude Code | `tdx llm proxy --port 4000` |
745
756
 
746
757
  **Project Resolution (Precedence Order):**
747
758
 
@@ -757,7 +768,7 @@ For `project create`:
757
768
 
758
769
  For `agent create`:
759
770
  - `--system-prompt <text>`: System prompt/instructions (default: empty)
760
- - `--model <name>`: Model type (default: claude-4.5-sonnet)
771
+ - `--model <name>`: Model type or alias (default: claude-4.5-haiku)
761
772
  - `--starter-message <text>`: Starter message for the agent
762
773
  - `--max-tool-iterations <n>`: Maximum tool iterations (default: 4)
763
774
  - `--temperature <n>`: Temperature 0.0-2.0 (default: 0.7)
@@ -823,6 +834,77 @@ tdx llm history chat456 # Show specific chat messages
823
834
  tdx llm agents --format json --output agents.json
824
835
  ```
825
836
 
837
+ #### LLM Proxy Server for Claude Code
838
+
839
+ > **⚠️ EXPERIMENTAL FEATURE**: This proxy server is experimental and may have limitations. Please report issues at https://github.com/treasure-data/tdx/issues
840
+
841
+ The `tdx llm proxy` command starts a local HTTP server that provides Anthropic-compatible API endpoints, allowing Claude Code and other AI coding assistants to use Treasure Data's LLM API as a backend.
842
+
843
+ **Starting the Proxy:**
844
+
845
+ ```bash
846
+ # Start proxy with default settings (port 4000)
847
+ tdx llm proxy
848
+
849
+ # Specify custom port
850
+ tdx llm proxy --port 8000
851
+
852
+ # Use specific project and agent
853
+ tdx llm proxy --project "MyProject" --agent "MyAgent"
854
+
855
+ # Use context (set with 'tdx llm use')
856
+ tdx llm use "MyProject/MyAgent"
857
+ tdx llm proxy
858
+
859
+ # Enable debug mode to see request/response JSON
860
+ tdx llm proxy --debug
861
+ ```
862
+
863
+ **Claude Code Configuration:**
864
+
865
+ Create a `.claude/settings.local.json` file in your project directory:
866
+
867
+ ```json
868
+ {
869
+ "env": {
870
+ "ANTHROPIC_BASE_URL": "http://127.0.0.1:4000",
871
+ "ANTHROPIC_AUTH_TOKEN": "dummy",
872
+ "ANTHROPIC_MODEL": "sonnet"
873
+ }
874
+ }
875
+ ```
876
+
877
+ **Testing with Agent SDK:**
878
+
879
+ You can also test the proxy using [Claude Agent SDK](https://docs.claude.com/en/docs/agent-sdk/typescript):
880
+
881
+ ```bash
882
+ npm install @anthropic-ai/sdk
883
+ ```
884
+
885
+ The SDK reads `.claude/settings.json` for `ANTHROPIC_BASE_URL` configuration.
886
+
887
+ **How It Works:**
888
+
889
+ 1. The proxy translates Anthropic Messages API calls to TD LLM API format
890
+ 2. Maintains conversation state across multiple requests
891
+ 3. Streams responses in real-time using Server-Sent Events (SSE)
892
+ 4. Maps model names (sonnet/haiku/opus) to TD models
893
+
894
+ **Proxy Options:**
895
+
896
+ - `--port <number>`: Port to run the server on (default: 4000)
897
+ - `--project <name>`: LLM project name (uses context or default)
898
+ - `--agent <name>`: Agent name (uses context or default)
899
+ - `--debug`: Enable debug mode (logs request/response JSON to stderr)
900
+
901
+ **Known Limitations:**
902
+
903
+ - Tool calls are not yet supported (TD and Anthropic tool systems differ)
904
+ - Non-streaming responses are not implemented
905
+ - Image inputs are not supported
906
+ - System prompt is prepended to first message only (not persisted in agent)
907
+
826
908
  ## Advanced Query Features
827
909
 
828
910
  ### File Input
package/dist/cli.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const a0_0x3f5244=a0_0xe7d6;(function(_0x524825,_0x1f9416){const _0x2939d7=a0_0xe7d6,_0x38127b=_0x524825();while(!![]){try{const _0x3842f1=parseInt(_0x2939d7(0x141))/0x1+-parseInt(_0x2939d7(0x12b))/0x2*(parseInt(_0x2939d7(0x1d8))/0x3)+-parseInt(_0x2939d7(0x1b3))/0x4*(parseInt(_0x2939d7(0x1de))/0x5)+parseInt(_0x2939d7(0x180))/0x6+parseInt(_0x2939d7(0x1da))/0x7*(-parseInt(_0x2939d7(0x1b2))/0x8)+-parseInt(_0x2939d7(0x1bd))/0x9+parseInt(_0x2939d7(0x1c3))/0xa*(parseInt(_0x2939d7(0x134))/0xb);if(_0x3842f1===_0x1f9416)break;else _0x38127b['push'](_0x38127b['shift']());}catch(_0x30bbc6){_0x38127b['push'](_0x38127b['shift']());}}}(a0_0x8205,0xe4439));import{Command}from'commander';import{readFileSync}from'fs';import{fileURLToPath}from'url';import{dirname,join}from'path';import{TDX}from'./sdk/index.js';import{GlobalContext}from'./core/global-context.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentDescribeCommand,SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand}from'./commands/segment-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowDownloadCommand,WorkflowPushCommand,WorkflowDeleteCommand}from'./commands/workflow-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand}from'./commands/llm-command.js';import{ContextCommand}from'./commands/context-command.js';import{UseCommand}from'./commands/use-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename),packageJson=JSON[a0_0x3f5244(0x199)](readFileSync(join(__dirname,a0_0x3f5244(0x1bf)),a0_0x3f5244(0x120))),program=new Command();program['name']('tdx')[a0_0x3f5244(0x129)](a0_0x3f5244(0x1c6))[a0_0x3f5244(0x161)](packageJson[a0_0x3f5244(0x161)],a0_0x3f5244(0x1be),'output\x20the\x20version\x20number'),program['option'](a0_0x3f5244(0x159),a0_0x3f5244(0x1cf),a0_0x3f5244(0x152))[a0_0x3f5244(0x1c9)]('--format\x20<format>',a0_0x3f5244(0x190))['option'](a0_0x3f5244(0x1a4),a0_0x3f5244(0x142))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1b6),a0_0x3f5244(0x16c))['option'](a0_0x3f5244(0x184),a0_0x3f5244(0x175))['option'](a0_0x3f5244(0x146),'Save\x20output\x20to\x20file')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x147),a0_0x3f5244(0x122),'40')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1a6),a0_0x3f5244(0x157),![])[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x17e),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a0_0x3f5244(0x1c9)]('--verbose','Enable\x20verbose\x20logging',![])[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1df),a0_0x3f5244(0x13a),'30')['option']('--dry-run','Preview\x20operation\x20without\x20executing',![])[a0_0x3f5244(0x1c9)]('-y,\x20--yes',a0_0x3f5244(0x170),![])['option'](a0_0x3f5244(0x156),a0_0x3f5244(0x185))['option'](a0_0x3f5244(0x182),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1b0),a0_0x3f5244(0x16a))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x15b),a0_0x3f5244(0x158))['option'](a0_0x3f5244(0x171),a0_0x3f5244(0x1c5))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x131),a0_0x3f5244(0x19f))[a0_0x3f5244(0x16e)](a0_0x3f5244(0x16d),_0x365c58=>{const _0x36939d=a0_0x3f5244,_0x55fcc7=_0x365c58['opts']();if(!_0x55fcc7[_0x36939d(0x151)]){if(_0x55fcc7[_0x36939d(0x15e)])_0x55fcc7['format']=_0x36939d(0x15e);else{if(_0x55fcc7[_0x36939d(0x14b)])_0x55fcc7[_0x36939d(0x151)]=_0x36939d(0x14b);else _0x55fcc7['tsv']&&(_0x55fcc7['format']=_0x36939d(0x1c0));}}_0x55fcc7['in']&&!_0x55fcc7[_0x36939d(0x1d5)]&&(_0x55fcc7[_0x36939d(0x1d5)]=_0x55fcc7['in']);});function createTDXInstance(_0x34571c){const _0x5b22d1=a0_0x3f5244,_0x246dc1=new GlobalContext(_0x34571c);_0x246dc1[_0x5b22d1(0x135)](_0x34571c);const _0x147902={'site':_0x246dc1[_0x5b22d1(0x18d)],'apiKey':_0x246dc1[_0x5b22d1(0x1ae)],'verbose':_0x246dc1[_0x5b22d1(0x1b5)]};return new TDX(_0x147902);}program['command']('databases\x20[pattern]')[a0_0x3f5244(0x129)](a0_0x3f5244(0x162))[a0_0x3f5244(0x16b)](async(_0x19da98,_0x49a0eb)=>{const _0xd0fbb3=a0_0x3f5244,_0x51be1d=new DatabasesCommand(),_0x3afbd8=program[_0xd0fbb3(0x1a5)](),_0x405521=createTDXInstance(_0x3afbd8),_0x50001d=await _0x51be1d[_0xd0fbb3(0x187)]({'options':{..._0x3afbd8,..._0x49a0eb},'args':_0x19da98?[_0x19da98]:[],'tdx':_0x405521});process[_0xd0fbb3(0x150)](_0x50001d);}),program[a0_0x3f5244(0x179)](a0_0x3f5244(0x1ca))['description'](a0_0x3f5244(0x155))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1aa),a0_0x3f5244(0x18e))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x143),a0_0x3f5244(0x18f))['option'](a0_0x3f5244(0x165),a0_0x3f5244(0x133))['option'](a0_0x3f5244(0x197),a0_0x3f5244(0x173))['action'](async(_0xda1d0b,_0x1ac032)=>{const _0xe87c00=a0_0x3f5244,_0x429eec=new ChatCommand(),_0x4b0859=program['opts'](),_0x53fcb5=createTDXInstance(_0x4b0859),_0x533954=await _0x429eec[_0xe87c00(0x187)]({'options':{..._0x4b0859,..._0x1ac032},'args':_0xda1d0b,'tdx':_0x53fcb5});process[_0xe87c00(0x150)](_0x533954);});const apiCmd=program[a0_0x3f5244(0x179)](a0_0x3f5244(0x128))[a0_0x3f5244(0x12e)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')['addHelpText']('after',a0_0x3f5244(0x19b))[a0_0x3f5244(0x1c9)]('-X,\x20--method\x20<method>',a0_0x3f5244(0x127),'GET')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x183),a0_0x3f5244(0x1ab))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1e1),a0_0x3f5244(0x189))[a0_0x3f5244(0x1c9)]('-H,\x20--header\x20<header>',a0_0x3f5244(0x19d),(_0xf41dc3,_0x4bee76)=>{return _0x4bee76?[..._0x4bee76,_0xf41dc3]:[_0xf41dc3];})[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1bc),a0_0x3f5244(0x145),'td')['action'](async(_0x142101,_0x7c8ef5)=>{const _0x1718f0=a0_0x3f5244;if(!_0x142101){apiCmd[_0x1718f0(0x140)]();return;}const _0x51235a=new ApiCommand(),_0x365305=program[_0x1718f0(0x1a5)](),_0x5e4e25=createTDXInstance(_0x365305),_0x2c91f1=await _0x51235a[_0x1718f0(0x187)]({'options':{..._0x365305,..._0x7c8ef5},'args':[_0x142101],'tdx':_0x5e4e25});process[_0x1718f0(0x150)](_0x2c91f1);});program[a0_0x3f5244(0x179)](a0_0x3f5244(0x19a))[a0_0x3f5244(0x129)]('List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x188),a0_0x3f5244(0x1a3))['option'](a0_0x3f5244(0x13c),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a0_0x3f5244(0x16b)](async(_0xda099c,_0x7ee5f3)=>{const _0x81813d=a0_0x3f5244,_0x4f7091=new TablesCommand(),_0x1af5d4=program[_0x81813d(0x1a5)](),_0x2ce613=createTDXInstance(_0x1af5d4);_0x7ee5f3['in']&&(_0x7ee5f3[_0x81813d(0x1d5)]=_0x7ee5f3['in']);const _0x255cc5=await _0x4f7091['run']({'options':{..._0x1af5d4,..._0x7ee5f3},'args':_0xda099c?[_0xda099c]:[],'tdx':_0x2ce613});process[_0x81813d(0x150)](_0x255cc5);}),program[a0_0x3f5244(0x179)]('show\x20<table>')[a0_0x3f5244(0x129)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')['option']('-d,\x20--database\x20<database>',a0_0x3f5244(0x194))['option']('--in\x20<database>',a0_0x3f5244(0x158))[a0_0x3f5244(0x16b)](async(_0x3ca791,_0xa15903)=>{const _0x5c1ee5=a0_0x3f5244,_0x48f790=new ShowCommand(),_0x12b1fc=program[_0x5c1ee5(0x1a5)](),_0x6c336b=createTDXInstance(_0x12b1fc);_0xa15903['in']&&(_0xa15903[_0x5c1ee5(0x1d5)]=_0xa15903['in']);const _0x1b9d5c=await _0x48f790[_0x5c1ee5(0x187)]({'options':{..._0x12b1fc,..._0xa15903},'args':[_0x3ca791],'tdx':_0x6c336b});process[_0x5c1ee5(0x150)](_0x1b9d5c);}),program[a0_0x3f5244(0x179)](a0_0x3f5244(0x15f))['alias'](a0_0x3f5244(0x148))[a0_0x3f5244(0x129)](a0_0x3f5244(0x1b1))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x188),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')['option']('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a0_0x3f5244(0x16b)](async(_0x412e28,_0x235547)=>{const _0x4922ed=a0_0x3f5244,_0x54ca18=new DescribeCommand(),_0xafed49=program[_0x4922ed(0x1a5)](),_0x1b7f5b=createTDXInstance(_0xafed49);_0x235547['in']&&(_0x235547[_0x4922ed(0x1d5)]=_0x235547['in']);const _0x4d390b=await _0x54ca18[_0x4922ed(0x187)]({'options':{..._0xafed49,..._0x235547},'args':[_0x412e28],'tdx':_0x1b7f5b});process[_0x4922ed(0x150)](_0x4d390b);}),program[a0_0x3f5244(0x179)](a0_0x3f5244(0x1d1))['description'](a0_0x3f5244(0x1e4))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x188),'Database\x20to\x20query\x20(default:\x20information_schema)')['option'](a0_0x3f5244(0x13c),a0_0x3f5244(0x158))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x12d),a0_0x3f5244(0x168))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1e1),a0_0x3f5244(0x1b8))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x147),a0_0x3f5244(0x122),'40')[a0_0x3f5244(0x16b)](async(_0x422ca0,_0x256114)=>{const _0x520d49=a0_0x3f5244,_0x29e3a6=new QueryCommand(),_0x1998c9=program[_0x520d49(0x1a5)](),_0x15635c=createTDXInstance(_0x1998c9);_0x256114['in']&&(_0x256114[_0x520d49(0x1d5)]=_0x256114['in']);const _0x41ef18=await _0x29e3a6[_0x520d49(0x187)]({'options':{..._0x1998c9,..._0x256114},'args':_0x422ca0?[_0x422ca0]:[],'tdx':_0x15635c});process[_0x520d49(0x150)](_0x41ef18);}),program[a0_0x3f5244(0x179)](a0_0x3f5244(0x18c))[a0_0x3f5244(0x129)]('Job\x20management\x20commands')['action'](()=>{const _0x316620=a0_0x3f5244;console[_0x316620(0x181)](_0x316620(0x191));}),program[a0_0x3f5244(0x179)](a0_0x3f5244(0x13e))[a0_0x3f5244(0x129)](a0_0x3f5244(0x169))[a0_0x3f5244(0x16b)](async(_0x5084d5,_0x3b3ac5)=>{const _0x1d7d9b=a0_0x3f5244,_0x425edd=new SegmentsCommand(),_0x134131=program[_0x1d7d9b(0x1a5)](),_0xa66572=createTDXInstance(_0x134131),_0x3f24d3=await _0x425edd[_0x1d7d9b(0x187)]({'options':{..._0x134131,..._0x3b3ac5},'args':_0x5084d5?[_0x5084d5]:[],'tdx':_0xa66572});process[_0x1d7d9b(0x150)](_0x3f24d3);});const segmentCmd=program[a0_0x3f5244(0x179)]('segment')['description'](a0_0x3f5244(0x12a));segmentCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x1d4))[a0_0x3f5244(0x138)]('desc')[a0_0x3f5244(0x129)](a0_0x3f5244(0x177))[a0_0x3f5244(0x16b)](async(_0x354f7a,_0x11f5c0)=>{const _0x24a568=a0_0x3f5244,_0x440479=new SegmentDescribeCommand(),_0x354f15=program[_0x24a568(0x1a5)](),_0x185bbf=createTDXInstance(_0x354f15),_0x25c477=await _0x440479[_0x24a568(0x187)]({'options':{..._0x354f15,..._0x11f5c0},'args':[_0x354f7a],'tdx':_0x185bbf});process[_0x24a568(0x150)](_0x25c477);}),segmentCmd['command'](a0_0x3f5244(0x17a))[a0_0x3f5244(0x129)](a0_0x3f5244(0x1a7))[a0_0x3f5244(0x16b)](async(_0x3ddcd7,_0x228815)=>{const _0x17d8a7=a0_0x3f5244,_0x376921=new SegmentShowCommand(),_0x353a13=program[_0x17d8a7(0x1a5)](),_0x42f4fe=createTDXInstance(_0x353a13),_0x4eb79a=await _0x376921['run']({'options':{..._0x353a13,..._0x228815},'args':[_0x3ddcd7],'tdx':_0x42f4fe});process[_0x17d8a7(0x150)](_0x4eb79a);}),segmentCmd['command']('folders\x20<parent_name>')[a0_0x3f5244(0x129)](a0_0x3f5244(0x14a))[a0_0x3f5244(0x16b)](async(_0x47ad69,_0x1cf0c4)=>{const _0x2177d1=a0_0x3f5244,_0x50caad=new SegmentFolderListCommand(),_0x431170=program[_0x2177d1(0x1a5)](),_0x36065d=createTDXInstance(_0x431170),_0x360b8e=await _0x50caad['run']({'options':{..._0x431170,..._0x1cf0c4},'args':[_0x47ad69],'tdx':_0x36065d});process['exit'](_0x360b8e);});const folderCmd=segmentCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x14c))[a0_0x3f5244(0x129)](a0_0x3f5244(0x126));folderCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x124))['description']('Show\x20folder\x20details\x20(use\x20parent_name/folder_name)')[a0_0x3f5244(0x16b)](async(_0x28b9ff,_0x23f08f)=>{const _0xd33e8b=a0_0x3f5244,_0x3b0933=new SegmentFolderShowCommand(),_0x2804e0=program[_0xd33e8b(0x1a5)](),_0x3c4d65=createTDXInstance(_0x2804e0),_0x30fa28=await _0x3b0933[_0xd33e8b(0x187)]({'options':{..._0x2804e0,..._0x23f08f},'args':[_0x28b9ff],'tdx':_0x3c4d65});process[_0xd33e8b(0x150)](_0x30fa28);}),segmentCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x17f))[a0_0x3f5244(0x129)](a0_0x3f5244(0x19e))[a0_0x3f5244(0x16b)](async(_0x209bef,_0x27c030)=>{const _0x57df09=new SegmentSQLCommand(),_0x4cb791=program['opts'](),_0x9dd67b=createTDXInstance(_0x4cb791),_0x74d402=await _0x57df09['run']({'options':{..._0x4cb791,..._0x27c030},'args':[_0x209bef],'tdx':_0x9dd67b});process['exit'](_0x74d402);}),program[a0_0x3f5244(0x179)]('activations\x20<segment_name>')[a0_0x3f5244(0x129)](a0_0x3f5244(0x1c7))[a0_0x3f5244(0x16b)](async(_0x2c4292,_0x1a8336)=>{const _0x147fa9=a0_0x3f5244,_0x506b0e=new ActivationsCommand(),_0x4674d5=program[_0x147fa9(0x1a5)](),_0x180910=createTDXInstance(_0x4674d5),_0x4e8967=await _0x506b0e[_0x147fa9(0x187)]({'options':{..._0x4674d5,..._0x1a8336},'args':[_0x2c4292],'tdx':_0x180910});process['exit'](_0x4e8967);});const workflowCmd=program[a0_0x3f5244(0x179)]('workflow')[a0_0x3f5244(0x138)]('wf')['description'](a0_0x3f5244(0x137));workflowCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x13d))[a0_0x3f5244(0x129)]('List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a0_0x3f5244(0x16b)](async(_0x2b000c,_0xa698d5)=>{const _0x21da36=a0_0x3f5244,_0x5b982a=new WorkflowProjectsCommand(),_0x2f937f=program['opts'](),_0x495e80=createTDXInstance(_0x2f937f),_0x5c9fc1=await _0x5b982a[_0x21da36(0x187)]({'options':{..._0x2f937f,..._0xa698d5},'args':_0x2b000c?[_0x2b000c]:[],'tdx':_0x495e80});process['exit'](_0x5c9fc1);}),workflowCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x15a))[a0_0x3f5244(0x138)]('ls')[a0_0x3f5244(0x129)](a0_0x3f5244(0x14f))[a0_0x3f5244(0x16b)](async(_0x1c30c7,_0x19630e)=>{const _0x42e02f=a0_0x3f5244,_0x3d2028=new WorkflowWorkflowsCommand(),_0x413250=program[_0x42e02f(0x1a5)](),_0x42493a=createTDXInstance(_0x413250),_0x55d05f=await _0x3d2028[_0x42e02f(0x187)]({'options':{..._0x413250,..._0x19630e},'args':_0x1c30c7?[_0x1c30c7]:[],'tdx':_0x42493a});process[_0x42e02f(0x150)](_0x55d05f);}),workflowCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x167))['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a0_0x3f5244(0x1c9)]('--status\x20<status>',a0_0x3f5244(0x18a))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1c1),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option'](a0_0x3f5244(0x17b),a0_0x3f5244(0x1ce))[a0_0x3f5244(0x16b)](async(_0x4e3457,_0x506c89)=>{const _0x289d52=a0_0x3f5244,_0x5d5464=new WorkflowSessionsCommand(),_0x1777b0=program[_0x289d52(0x1a5)](),_0x54fcf4=createTDXInstance(_0x1777b0),_0x57932f=await _0x5d5464[_0x289d52(0x187)]({'options':{..._0x1777b0,..._0x506c89},'args':_0x4e3457?[_0x4e3457]:[],'tdx':_0x54fcf4});process[_0x289d52(0x150)](_0x57932f);}),workflowCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x15d))[a0_0x3f5244(0x129)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1a9),'Include\x20retried\x20attempts')['action'](async(_0x35fc2b,_0x211c1e)=>{const _0x124220=a0_0x3f5244,_0x2e4b59=new WorkflowAttemptsCommand(),_0x36bded=program[_0x124220(0x1a5)](),_0x477f6d=createTDXInstance(_0x36bded),_0x2fd4a7=await _0x2e4b59[_0x124220(0x187)]({'options':{..._0x36bded,..._0x211c1e},'args':_0x35fc2b?[_0x35fc2b]:[],'tdx':_0x477f6d});process[_0x124220(0x150)](_0x2fd4a7);}),workflowCmd['command']('attempt\x20<attempt-id>')[a0_0x3f5244(0x129)]('Show\x20specific\x20attempt\x20details')['action'](async(_0x55aea2,_0x8ad193)=>{const _0x3c818b=a0_0x3f5244,_0x2fed85=new WorkflowAttemptCommand(),_0x5c5271=program[_0x3c818b(0x1a5)](),_0x4e0b56=createTDXInstance(_0x5c5271),_0x52001d=await _0x2fed85[_0x3c818b(0x187)]({'options':{..._0x5c5271,..._0x8ad193},'args':[_0x55aea2],'tdx':_0x4e0b56});process[_0x3c818b(0x150)](_0x52001d);}),workflowCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x196))['description'](a0_0x3f5244(0x1d0))[a0_0x3f5244(0x1c9)]('--include-subtasks',a0_0x3f5244(0x1d2))['action'](async(_0x212406,_0x203240)=>{const _0x193641=a0_0x3f5244,_0x5a6229=new WorkflowTasksCommand(),_0x2330e7=program[_0x193641(0x1a5)](),_0x2679cc=createTDXInstance(_0x2330e7),_0x153374=await _0x5a6229[_0x193641(0x187)]({'options':{..._0x2330e7,..._0x203240},'args':[_0x212406],'tdx':_0x2679cc});process[_0x193641(0x150)](_0x153374);}),workflowCmd[a0_0x3f5244(0x179)]('logs\x20<attempt-id>\x20<task-name>')[a0_0x3f5244(0x129)](a0_0x3f5244(0x130))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1d3),a0_0x3f5244(0x16f),_0x21a9db=>parseInt(_0x21a9db,0xa),0x0)['action'](async(_0x4f32f3,_0xa429c0,_0x364eae)=>{const _0xb1ac8e=a0_0x3f5244,_0x48eea4=new WorkflowLogsCommand(),_0x3a9889=program[_0xb1ac8e(0x1a5)](),_0x25f928=createTDXInstance(_0x3a9889),_0x3f85ff=await _0x48eea4['run']({'options':{..._0x3a9889,..._0x364eae},'args':[_0x4f32f3,_0xa429c0],'tdx':_0x25f928});process[_0xb1ac8e(0x150)](_0x3f85ff);}),workflowCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x166))[a0_0x3f5244(0x129)](a0_0x3f5244(0x123))[a0_0x3f5244(0x1c9)]('--reason\x20<text>',a0_0x3f5244(0x176))[a0_0x3f5244(0x16b)](async(_0x242111,_0x295f1d)=>{const _0x31e984=a0_0x3f5244,_0x4f7b7c=new WorkflowKillCommand(),_0x358c87=program[_0x31e984(0x1a5)](),_0x225825=createTDXInstance(_0x358c87),_0x37a8a0=await _0x4f7b7c[_0x31e984(0x187)]({'options':{..._0x358c87,..._0x295f1d},'args':[_0x242111],'tdx':_0x225825});process['exit'](_0x37a8a0);}),workflowCmd['command'](a0_0x3f5244(0x1d7))[a0_0x3f5244(0x129)](a0_0x3f5244(0x15c))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x132),a0_0x3f5244(0x1bb))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x19c),'Resume\x20from\x20specific\x20task\x20(attempt\x20retry\x20only)')['option'](a0_0x3f5244(0x1cb),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')['option'](a0_0x3f5244(0x164),a0_0x3f5244(0x12f))[a0_0x3f5244(0x16b)](async(_0x3a88b5,_0x197969)=>{const _0xa248fa=a0_0x3f5244,_0x232d5e=new WorkflowRetryCommand(),_0x19592b=program[_0xa248fa(0x1a5)](),_0x5e2114=createTDXInstance(_0x19592b),_0x474879=await _0x232d5e[_0xa248fa(0x187)]({'options':{..._0x19592b,..._0x197969},'args':[_0x3a88b5],'tdx':_0x5e2114});process['exit'](_0x474879);}),workflowCmd['command']('download\x20<project-name>\x20[output-dir]')[a0_0x3f5244(0x129)](a0_0x3f5244(0x13f))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1ac),a0_0x3f5244(0x1cc))[a0_0x3f5244(0x16b)](async(_0x18b18a,_0x217928,_0x334f8a)=>{const _0x435a32=a0_0x3f5244,_0x100710=new WorkflowDownloadCommand(),_0x1095a8=program[_0x435a32(0x1a5)](),_0x388bf6=createTDXInstance(_0x1095a8),_0x4dd052=await _0x100710[_0x435a32(0x187)]({'options':{..._0x1095a8,..._0x334f8a},'args':[_0x18b18a,_0x217928||'.'],'tdx':_0x388bf6});process['exit'](_0x4dd052);}),workflowCmd[a0_0x3f5244(0x179)]('push\x20[project-name-or-dir]')[a0_0x3f5244(0x129)](a0_0x3f5244(0x1e2))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x144),'Override\x20project\x20name')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1ac),a0_0x3f5244(0x17c))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x174),a0_0x3f5244(0x13b))[a0_0x3f5244(0x16b)](async(_0x2a441c,_0x3ae877)=>{const _0x1a24aa=a0_0x3f5244,_0x2bdabd=new WorkflowPushCommand(),_0x1f1e34=program['opts'](),_0x53db99=createTDXInstance(_0x1f1e34),_0x4724ea=await _0x2bdabd[_0x1a24aa(0x187)]({'options':{..._0x1f1e34,..._0x3ae877},'args':_0x2a441c?[_0x2a441c]:[],'tdx':_0x53db99});process['exit'](_0x4724ea);}),workflowCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x1d6))[a0_0x3f5244(0x129)]('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a0_0x3f5244(0x16b)](async(_0x3c8511,_0x5b9e01)=>{const _0x1d1472=a0_0x3f5244,_0x573160=new WorkflowDeleteCommand(),_0xec5a3=program['opts'](),_0x463f60=createTDXInstance(_0xec5a3),_0x46e5e2=await _0x573160[_0x1d1472(0x187)]({'options':{..._0xec5a3,..._0x5b9e01},'args':[_0x3c8511],'tdx':_0x463f60});process[_0x1d1472(0x150)](_0x46e5e2);});function a0_0xe7d6(_0x592537,_0x4e1062){const _0x82056a=a0_0x8205();return a0_0xe7d6=function(_0xe7d65b,_0x5cda93){_0xe7d65b=_0xe7d65b-0x120;let _0xbbcd25=_0x82056a[_0xe7d65b];return _0xbbcd25;},a0_0xe7d6(_0x592537,_0x4e1062);}const llmCmd=program[a0_0x3f5244(0x179)]('llm')[a0_0x3f5244(0x129)](a0_0x3f5244(0x153));llmCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x1a0))[a0_0x3f5244(0x129)]('Set\x20current\x20project\x20context\x20for\x20agent\x20operations')['action'](async(_0x399ceb,_0xddce02)=>{const _0x1e7824=a0_0x3f5244,_0x1e3e40=new LLMUseCommand(),_0x53c6dc=program[_0x1e7824(0x1a5)](),_0x8a2e58=createTDXInstance(_0x53c6dc),_0x1cdc13=await _0x1e3e40[_0x1e7824(0x187)]({'options':{..._0x53c6dc,..._0xddce02},'args':[_0x399ceb],'tdx':_0x8a2e58});process[_0x1e7824(0x150)](_0x1cdc13);}),llmCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x1e0))[a0_0x3f5244(0x129)](a0_0x3f5244(0x18b))[a0_0x3f5244(0x16b)](async _0x418337=>{const _0x518ddb=a0_0x3f5244,_0x4a4268=new LLMModelsCommand(),_0x3bcc03=program[_0x518ddb(0x1a5)](),_0x2bda3d=createTDXInstance(_0x3bcc03),_0x49921d=await _0x4a4268[_0x518ddb(0x187)]({'options':{..._0x3bcc03,..._0x418337},'args':[],'tdx':_0x2bda3d});process[_0x518ddb(0x150)](_0x49921d);}),llmCmd['command'](a0_0x3f5244(0x13d))['description'](a0_0x3f5244(0x1a8))[a0_0x3f5244(0x16b)](async(_0x34db35,_0x5e3897)=>{const _0x4770d4=a0_0x3f5244,_0x53f702=new LLMProjectsCommand(),_0x1c020c=program[_0x4770d4(0x1a5)](),_0x4bbeac=createTDXInstance(_0x1c020c),_0xec6ad7=await _0x53f702[_0x4770d4(0x187)]({'options':{..._0x1c020c,..._0x5e3897},'args':_0x34db35?[_0x34db35]:[],'tdx':_0x4bbeac});process[_0x4770d4(0x150)](_0xec6ad7);});const projectCmd=llmCmd[a0_0x3f5244(0x179)]('project')[a0_0x3f5244(0x129)](a0_0x3f5244(0x12c));projectCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x1c8))[a0_0x3f5244(0x129)](a0_0x3f5244(0x198))['option'](a0_0x3f5244(0x1e3),a0_0x3f5244(0x1a2))['action'](async(_0x5e462f,_0x1c7258)=>{const _0x31eb15=a0_0x3f5244,_0x2476e7=new LLMProjectCreateCommand(),_0x36aabd=program[_0x31eb15(0x1a5)](),_0x5ece8d=createTDXInstance(_0x36aabd),_0x5b5524=await _0x2476e7[_0x31eb15(0x187)]({'options':{..._0x36aabd,..._0x1c7258},'args':[_0x5e462f],'tdx':_0x5ece8d});process[_0x31eb15(0x150)](_0x5b5524);}),projectCmd[a0_0x3f5244(0x179)]('delete\x20<name>')[a0_0x3f5244(0x129)](a0_0x3f5244(0x1ad))['action'](async(_0x3b93bd,_0x5b33c4)=>{const _0x5aceef=a0_0x3f5244,_0x29c652=new LLMProjectDeleteCommand(),_0x352f31=program[_0x5aceef(0x1a5)](),_0x174e0a=createTDXInstance(_0x352f31),_0x10bbf4=await _0x29c652['run']({'options':{..._0x352f31,..._0x5b33c4},'args':[_0x3b93bd],'tdx':_0x174e0a});process[_0x5aceef(0x150)](_0x10bbf4);}),llmCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x192))['description'](a0_0x3f5244(0x1db))['action'](async(_0x79935b,_0x4a2914)=>{const _0x346ebb=a0_0x3f5244,_0x5397dc=new LLMAgentsCommand(),_0x96b04e=program[_0x346ebb(0x1a5)](),_0x325f12=createTDXInstance(_0x96b04e),_0x323004=await _0x5397dc[_0x346ebb(0x187)]({'options':{..._0x96b04e,..._0x4a2914},'args':_0x79935b?[_0x79935b]:[],'tdx':_0x325f12});process[_0x346ebb(0x150)](_0x323004);});function a0_0x8205(){const _0x59b15e=['Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--json','opts','--color','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(use\x20parent_name\x20or\x20parent_name/child_name)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','--include-retried','--agent\x20<ref>','Request\x20body\x20as\x20JSON\x20string','--revision\x20<revision>','Delete\x20an\x20LLM\x20project','apiKey','--prompt\x20<text>','-d,\x20--database\x20<name>','Describe\x20table\x20schema','133784MgMKji','9164qVmVkI','outputHelp','verbose','--jsonl','Create\x20a\x20new\x20agent\x20in\x20current\x20project','Read\x20SQL\x20query\x20from\x20file','Starter\x20message','claude-4.5-sonnet','Resume\x20from\x20specific\x20task\x20(session\x20retry\x20only)','--type\x20<api_type>','7162047DUqMYZ','-v,\x20--version','../package.json','tsv','--from\x20<timestamp>','Maximum\x20tool\x20iterations\x20(default:\x204)','8430mfhMss','System\x20prompt/instructions\x20(default:\x20empty)','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','AI-native\x20CLI\x20for\x20Treasure\x20Data','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','create\x20<name>','option','chat\x20[message...]','--params\x20<json>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--max-tool-iterations\x20<n>','End\x20time\x20filter\x20(ISO\x208601\x20format)','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02,\x20ap03,\x20dev-us01,\x20dev-eu01,\x20stg-us01,\x20stg-jp01,\x20stg-ap03;\x20aliases:\x20us,\x20jp,\x20aws,\x20dev,\x20stg)','Show\x20tasks\x20for\x20an\x20attempt','query\x20[sql]','Include\x20subtasks\x20in\x20the\x20output','--offset\x20<number>','describe\x20<segment_name>','database','delete\x20<project-name-or-id>','retry\x20<session-id|attempt-id>','6aVhsmm','Delete\x20an\x20agent','511pzdQzf','List\x20agents\x20in\x20current\x20project\x20(optionally\x20filtered\x20by\x20pattern)','profiles','--clear','305kvDRNT','--timeout\x20<seconds>','models','-f,\x20--file\x20<path>','Push\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style:\x20cd\x20into\x20project,\x20then\x20push\x20<name>)','--description\x20<text>','Run\x20Trino\x20query\x20with\x20streaming\x20results','utf-8','delete\x20<agent-name>','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Kill\x20a\x20running\x20attempt','show\x20<folder_ref>','push','Segment\x20folder\x20management','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','api\x20[endpoint]','description','CDP\x20segment\x20management\x20commands','971222wlsUfs','LLM\x20project\x20management','--catalog\x20<catalog>','summary','Force\x20retry\x20even\x20if\x20not\x20failed\x20(attempt\x20retry\x20only)','Show\x20logs\x20for\x20a\x20specific\x20task','--llm-project\x20<name>','--from-task\x20<task>','Temperature\x20(0.0-2.0,\x20default:\x200.7)','45716qgeHuZ','injectIntoOptions','context','Workflow\x20(Digdag)\x20management\x20commands','alias','List\x20all\x20available\x20profiles','Set\x20operation\x20timeout\x20in\x20seconds','Skip\x20validation\x20of\x20.dig\x20files','--in\x20<database>','projects\x20[pattern]','segments\x20[parent_name]','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','help','463790lMqYEJ','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--model\x20<name>','--name\x20<name>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','--output\x20<file>','--limit\x20<rows>','desc','length','List\x20segment\x20folders\x20under\x20a\x20parent\x20segment','jsonl','folder','Clear\x20session\x20context','Agent\x20name','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','exit','format','us01','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','0.7','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--session\x20<id>','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','--site\x20<site>','workflows\x20[project]','--in\x20<name>','Retry\x20a\x20session\x20or\x20attempt\x20(prefix\x20with\x20session:\x20or\x20attempt:)','attempts\x20[project]','json','describe\x20<table>','--starter-message\x20<text>','version','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','use\x20[resource]\x20[value]','--force','--temperature\x20<n>','kill\x20<attempt-id>','sessions\x20[project]','Trino\x20catalog\x20(default:\x20td)','List\x20parent\x20segments\x20or\x20child\x20segments\x20under\x20a\x20parent','Database\x20to\x20use\x20(overrides\x20context)','action','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','preAction','hook','Starting\x20offset\x20for\x20logs\x20(default:\x200)','Skip\x20confirmation\x20prompts','--parent-segment\x20<name>','--system-prompt\x20<text>','Start\x20a\x20new\x20chat\x20session','--skip-validation','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Reason\x20for\x20killing\x20the\x20attempt','Show\x20segment\x20details\x20(use\x20parent_name\x20or\x20parent_name/child_name)','show\x20<agent-name>','command','show\x20<segment_name>','--to\x20<timestamp>','Revision\x20name\x20(default:\x20timestamp)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','--no-color','sql\x20<segment_name>','571236IMxdoJ','log','--profile\x20<name>','--data\x20<data>','--tsv','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','Show\x20agent\x20details','run','-d,\x20--database\x20<database>','Read\x20request\x20body\x20from\x20file','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','List\x20available\x20LLM\x20models','job','site','Agent\x20reference\x20(project-name/agent-name)','Model\x20name\x20(default:\x20claude-4.5-sonnet)','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','Job\x20commands\x20-\x20coming\x20soon','agents\x20[pattern]','LLM\x20agent\x20management','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','update\x20<agent-name>','tasks\x20<attempt-id>','--new','Create\x20a\x20new\x20LLM\x20project','parse','tables\x20[pattern]','\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','--resume-from\x20<task>','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Get\x20SQL\x20query\x20for\x20segment\x20(use\x20parent_name\x20or\x20parent_name/child_name)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','use\x20<project-name>','argv','Project\x20description'];a0_0x8205=function(){return _0x59b15e;};return a0_0x8205();}const agentCmd=llmCmd[a0_0x3f5244(0x179)]('agent')[a0_0x3f5244(0x129)](a0_0x3f5244(0x193));agentCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x178))[a0_0x3f5244(0x129)](a0_0x3f5244(0x186))[a0_0x3f5244(0x16b)](async(_0x41891b,_0x4a7851)=>{const _0x7d46c8=a0_0x3f5244,_0x4175ea=new LLMAgentShowCommand(),_0x52ed45=program['opts'](),_0x579a68=createTDXInstance(_0x52ed45),_0x256f73=await _0x4175ea['run']({'options':{..._0x52ed45,..._0x4a7851},'args':[_0x41891b],'tdx':_0x579a68});process[_0x7d46c8(0x150)](_0x256f73);}),agentCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x1c8))[a0_0x3f5244(0x129)](a0_0x3f5244(0x1b7))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x172),a0_0x3f5244(0x1c4))[a0_0x3f5244(0x1c9)]('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)',a0_0x3f5244(0x1ba))[a0_0x3f5244(0x1c9)]('--starter-message\x20<text>','Starter\x20message')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1cd),a0_0x3f5244(0x1c2),'4')['option'](a0_0x3f5244(0x165),a0_0x3f5244(0x133),a0_0x3f5244(0x154))[a0_0x3f5244(0x16b)](async(_0x123df0,_0x48dc18)=>{const _0x4dd99c=a0_0x3f5244,_0x18ebe1=new LLMAgentCreateCommand(),_0x5124fb=program['opts'](),_0x36ef11=createTDXInstance(_0x5124fb),_0x1ff7a3=await _0x18ebe1['run']({'options':{..._0x5124fb,..._0x48dc18},'args':[_0x123df0],'tdx':_0x36ef11});process[_0x4dd99c(0x150)](_0x1ff7a3);}),agentCmd['command'](a0_0x3f5244(0x195))[a0_0x3f5244(0x129)]('Update\x20an\x20existing\x20agent')[a0_0x3f5244(0x1c9)]('--name\x20<text>',a0_0x3f5244(0x14e))[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1af),'Agent\x20prompt/instructions')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x1e3),'Agent\x20description')[a0_0x3f5244(0x1c9)](a0_0x3f5244(0x160),a0_0x3f5244(0x1b9))['action'](async(_0x458708,_0x940e03)=>{const _0x522e2b=a0_0x3f5244,_0x10642f=new LLMAgentUpdateCommand(),_0xd3e5ad=program['opts'](),_0x5165dc=createTDXInstance(_0xd3e5ad),_0x57c420=await _0x10642f[_0x522e2b(0x187)]({'options':{..._0xd3e5ad,..._0x940e03},'args':[_0x458708],'tdx':_0x5165dc});process['exit'](_0x57c420);}),agentCmd[a0_0x3f5244(0x179)](a0_0x3f5244(0x121))['description'](a0_0x3f5244(0x1d9))[a0_0x3f5244(0x16b)](async(_0x3f1c2b,_0x4972fa)=>{const _0x5645db=a0_0x3f5244,_0x70820f=new LLMAgentDeleteCommand(),_0x2335fd=program['opts'](),_0x3b1ed3=createTDXInstance(_0x2335fd),_0x3c1f6=await _0x70820f[_0x5645db(0x187)]({'options':{..._0x2335fd,..._0x4972fa},'args':[_0x3f1c2b],'tdx':_0x3b1ed3});process[_0x5645db(0x150)](_0x3c1f6);}),llmCmd['command']('history\x20[chat-id]')[a0_0x3f5244(0x129)](a0_0x3f5244(0x17d))[a0_0x3f5244(0x16b)](async(_0x3c5d4a,_0x3d31e5)=>{const _0x1f4803=a0_0x3f5244,_0x11cfd5=new LLMHistoryCommand(),_0x4d62c2=program[_0x1f4803(0x1a5)](),_0x4a5c80=createTDXInstance(_0x4d62c2),_0x2b36ce=await _0x11cfd5[_0x1f4803(0x187)]({'options':{..._0x4d62c2,..._0x3d31e5},'args':_0x3c5d4a?[_0x3c5d4a]:[],'tdx':_0x4a5c80});process[_0x1f4803(0x150)](_0x2b36ce);}),program[a0_0x3f5244(0x179)](a0_0x3f5244(0x136))['description']('Show\x20current\x20resolved\x20context')['option']('--debug','Show\x20context\x20with\x20sources\x20(for\x20debugging)')['option'](a0_0x3f5244(0x1dd),a0_0x3f5244(0x14d))[a0_0x3f5244(0x16b)](async _0x438b10=>{const _0x1c1a67=a0_0x3f5244,_0x46442f=new ContextCommand(),_0x2f904b=program['opts'](),_0x1b637d=await _0x46442f[_0x1c1a67(0x187)]({'options':{..._0x2f904b,..._0x438b10},'args':[],'tdx':null});process[_0x1c1a67(0x150)](_0x1b637d);}),program[a0_0x3f5244(0x179)](a0_0x3f5244(0x163))['description']('Set\x20session-level\x20context\x20(resources:\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20profile)')['action'](async(_0x2a8073,_0x51569e,_0x458831)=>{const _0x3dd271=a0_0x3f5244,_0x2029c7=new UseCommand(),_0x12061d=program[_0x3dd271(0x1a5)](),_0xf51823=[];if(_0x2a8073)_0xf51823[_0x3dd271(0x125)](_0x2a8073);if(_0x51569e)_0xf51823['push'](_0x51569e);const _0x38b945=await _0x2029c7[_0x3dd271(0x187)]({'options':{..._0x12061d,..._0x458831},'args':_0xf51823,'tdx':null});process[_0x3dd271(0x150)](_0x38b945);}),program[a0_0x3f5244(0x179)](a0_0x3f5244(0x1dc))[a0_0x3f5244(0x129)](a0_0x3f5244(0x139))['action'](async _0x4e1881=>{const _0x1b4930=a0_0x3f5244,_0x5861f8=new ProfilesCommand(),_0x174e4e=program[_0x1b4930(0x1a5)](),_0x4ded2a=await _0x5861f8[_0x1b4930(0x187)]({'options':{..._0x174e4e,..._0x4e1881},'args':[],'tdx':null});process[_0x1b4930(0x150)](_0x4ded2a);}),program[a0_0x3f5244(0x199)](process[a0_0x3f5244(0x1a1)]);!process[a0_0x3f5244(0x1a1)]['slice'](0x2)[a0_0x3f5244(0x149)]&&program[a0_0x3f5244(0x1b4)]();
2
+ const a0_0x3bd129=a0_0x2829;(function(_0x12b43e,_0x2e8d2f){const _0x2a9693=a0_0x2829,_0x4a134a=_0x12b43e();while(!![]){try{const _0x440816=-parseInt(_0x2a9693(0x183))/0x1*(parseInt(_0x2a9693(0x173))/0x2)+parseInt(_0x2a9693(0x156))/0x3*(-parseInt(_0x2a9693(0x104))/0x4)+-parseInt(_0x2a9693(0x15a))/0x5*(parseInt(_0x2a9693(0x15e))/0x6)+-parseInt(_0x2a9693(0x1c1))/0x7+-parseInt(_0x2a9693(0x15f))/0x8*(-parseInt(_0x2a9693(0x1c6))/0x9)+-parseInt(_0x2a9693(0x13b))/0xa+parseInt(_0x2a9693(0x108))/0xb;if(_0x440816===_0x2e8d2f)break;else _0x4a134a['push'](_0x4a134a['shift']());}catch(_0x621b6c){_0x4a134a['push'](_0x4a134a['shift']());}}}(a0_0x2e55,0xe8f69));import{Command}from'commander';import{readFileSync}from'fs';import{fileURLToPath}from'url';import{dirname,join}from'path';import{TDX}from'./sdk/index.js';import{GlobalContext}from'./core/global-context.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';function a0_0x2829(_0x12dd18,_0x74227a){const _0x2e5586=a0_0x2e55();return a0_0x2829=function(_0x28292b,_0x5265c9){_0x28292b=_0x28292b-0x101;let _0x5dc18a=_0x2e5586[_0x28292b];return _0x5dc18a;},a0_0x2829(_0x12dd18,_0x74227a);}import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentDescribeCommand,SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand}from'./commands/segment-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowDownloadCommand,WorkflowPushCommand,WorkflowDeleteCommand}from'./commands/workflow-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand}from'./commands/llm-command.js';import{LLMProxyCommand}from'./commands/llm-proxy.js';import{ContextCommand}from'./commands/context-command.js';import{UseCommand}from'./commands/use-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';const __filename=fileURLToPath(import.meta[a0_0x3bd129(0x1a4)]),__dirname=dirname(__filename),packageJson=JSON[a0_0x3bd129(0x160)](readFileSync(join(__dirname,a0_0x3bd129(0x1b7)),a0_0x3bd129(0x1b1))),program=new Command();program[a0_0x3bd129(0x129)](a0_0x3bd129(0x189))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x1bb))[a0_0x3bd129(0x164)](packageJson[a0_0x3bd129(0x164)],a0_0x3bd129(0x150),a0_0x3bd129(0x119)),program['option']('--site\x20<site>',a0_0x3bd129(0x154),'us01')['option']('--format\x20<format>',a0_0x3bd129(0x151))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1d8),a0_0x3bd129(0x1ac))['option']('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x172),a0_0x3bd129(0x10b))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x13f),a0_0x3bd129(0x157))['option'](a0_0x3bd129(0x1b2),a0_0x3bd129(0x1cf),'40')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1c5),a0_0x3bd129(0x170),![])[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1ad),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a0_0x3bd129(0x14c)](a0_0x3bd129(0x166),a0_0x3bd129(0x13e),![])[a0_0x3bd129(0x14c)](a0_0x3bd129(0x147),'Set\x20operation\x20timeout\x20in\x20seconds','30')[a0_0x3bd129(0x14c)]('--dry-run',a0_0x3bd129(0x193),![])[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1a0),'Skip\x20confirmation\x20prompts',![])[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1c9),a0_0x3bd129(0x1cc))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1a7),a0_0x3bd129(0x105))['option']('-d,\x20--database\x20<name>',a0_0x3bd129(0x144))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x11a),a0_0x3bd129(0x18c))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x153),a0_0x3bd129(0x1db))['option']('--llm-project\x20<name>',a0_0x3bd129(0x1ae)),program[a0_0x3bd129(0x198)]({'formatHelp':(_0x16f656,_0x21139a)=>{const _0x5e9a89=a0_0x3bd129,_0x3ffa90=_0x21139a['padWidth'](_0x16f656,_0x21139a),_0x5df358=0x2,_0x57b37=0x2;function _0xe690ce(_0x25fb1f){const _0x1e8a2f=a0_0x2829;return!!_0x25fb1f[_0x1e8a2f(0x14a)];}function _0x31bf65(_0x16b214,_0x583cd5){if(_0x583cd5){const _0x55e15f=''+_0x16b214['padEnd'](_0x3ffa90+_0x57b37)+_0x583cd5;return _0x55e15f;}return _0x16b214;}function _0x54d318(_0x111dcd){const _0x3d6922=a0_0x2829;return _0x111dcd[_0x3d6922(0x1bd)]('\x0a')[_0x3d6922(0x1df)](/^/gm,'\x20'[_0x3d6922(0x174)](_0x5df358));}const _0x51ff59=[];_0x51ff59[_0x5e9a89(0x188)](_0x5e9a89(0x149)+_0x21139a[_0x5e9a89(0x132)](_0x16f656));const _0x332383=_0x21139a[_0x5e9a89(0x19c)](_0x16f656);_0x332383&&(_0x51ff59[_0x5e9a89(0x188)](''),_0x51ff59[_0x5e9a89(0x188)](_0x332383));const _0x54d637=_0x16f656[_0x5e9a89(0x16f)][_0x5e9a89(0x18e)](_0xab137=>!_0xe690ce(_0xab137));if(_0x54d637[_0x5e9a89(0x168)]>0x0){const _0xe9909e=_0x54d637[_0x5e9a89(0x12e)](_0x4c3648=>{const _0x2b3d36=_0x5e9a89,_0x5f4849=_0x21139a[_0x2b3d36(0x11e)](_0x4c3648),_0x2be849=_0x21139a[_0x2b3d36(0x107)](_0x4c3648);return _0x31bf65(_0x5f4849,_0x2be849);});_0x51ff59[_0x5e9a89(0x188)](''),_0x51ff59[_0x5e9a89(0x188)]('Commands:'),_0x51ff59[_0x5e9a89(0x188)](_0x54d318(_0xe9909e));}const _0x1f87b4=_0x16f656[_0x5e9a89(0x1c7)][_0x5e9a89(0x18e)](_0x570a47=>!_0xe690ce(_0x570a47));if(_0x1f87b4[_0x5e9a89(0x168)]>0x0){const _0x20dd78=_0x1f87b4[_0x5e9a89(0x12e)](_0x4f2a0c=>{const _0x2addf9=_0x5e9a89,_0x350d78=_0x21139a[_0x2addf9(0x165)](_0x4f2a0c),_0x37ae1d=_0x21139a['optionDescription'](_0x4f2a0c);return _0x31bf65(_0x350d78,_0x37ae1d);});_0x51ff59[_0x5e9a89(0x188)](''),_0x51ff59['push'](_0x5e9a89(0x1b0)),_0x51ff59[_0x5e9a89(0x188)](_0x54d318(_0x20dd78));}const _0x29393e=(_0x16f656[_0x5e9a89(0x10e)]||[])['filter'](_0xa6e37e=>!_0xe690ce(_0xa6e37e));if(_0x29393e[_0x5e9a89(0x168)]>0x0){const _0x2f1b54=_0x29393e[_0x5e9a89(0x12e)](_0x3ee162=>{const _0x366d0e=_0x5e9a89,_0x2173d8=_0x21139a[_0x366d0e(0x137)](_0x3ee162),_0x306fdc=_0x21139a[_0x366d0e(0x143)](_0x3ee162);return _0x31bf65(_0x2173d8,_0x306fdc);});_0x51ff59[_0x5e9a89(0x188)](''),_0x51ff59[_0x5e9a89(0x188)](_0x5e9a89(0x115)),_0x51ff59[_0x5e9a89(0x188)](_0x54d318(_0x2f1b54));}return _0x51ff59['join']('\x0a');},'subcommandTerm':_0x5c4dc0=>{const _0x461c53=a0_0x3bd129,_0x6a43c9=(_0x5c4dc0[_0x461c53(0x10e)]||[])[_0x461c53(0x12e)](_0x1bc72f=>_0x1bc72f['required']?'<'+_0x1bc72f[_0x461c53(0x129)]()+'>':'['+_0x1bc72f['name']()+']')[_0x461c53(0x1bd)]('\x20'),_0xb62b4e=_0x5c4dc0[_0x461c53(0x12b)](),_0x462b2d=_0xb62b4e[_0x461c53(0x168)]>0x0?_0x5c4dc0['name']()+',\x20'+_0xb62b4e[_0x461c53(0x1bd)](',\x20'):_0x5c4dc0[_0x461c53(0x129)]();return _0x6a43c9?_0x462b2d+'\x20'+_0x6a43c9:_0x462b2d;}}),program[a0_0x3bd129(0x1b5)](a0_0x3bd129(0x11c),_0xdd6f65=>{const _0x22f9db=a0_0x3bd129,_0x2b08eb=_0xdd6f65[_0x22f9db(0x1d0)]();if(!_0x2b08eb[_0x22f9db(0x10c)]){if(_0x2b08eb[_0x22f9db(0x11f)])_0x2b08eb['format']=_0x22f9db(0x11f);else{if(_0x2b08eb['jsonl'])_0x2b08eb[_0x22f9db(0x10c)]='jsonl';else _0x2b08eb['tsv']&&(_0x2b08eb[_0x22f9db(0x10c)]=_0x22f9db(0x1af));}}_0x2b08eb['in']&&!_0x2b08eb[_0x22f9db(0x152)]&&(_0x2b08eb['database']=_0x2b08eb['in']);});function createTDXInstance(_0x404752){const _0x7e460d=a0_0x3bd129,_0x3b8c29=new GlobalContext(_0x404752);_0x3b8c29['injectIntoOptions'](_0x404752);const _0x2a9859={'site':_0x3b8c29[_0x7e460d(0x1d6)],'apiKey':_0x3b8c29[_0x7e460d(0x14e)],'verbose':_0x3b8c29['verbose']};return new TDX(_0x2a9859);}program[a0_0x3bd129(0x113)]('databases\x20[pattern]')[a0_0x3bd129(0x19d)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](async(_0x2e23a8,_0x1fd638)=>{const _0x2042fa=a0_0x3bd129,_0x5e30b4=new DatabasesCommand(),_0x2ff4d7=program[_0x2042fa(0x1d0)](),_0x254c15=createTDXInstance(_0x2ff4d7),_0x2658ee=await _0x5e30b4[_0x2042fa(0x18a)]({'options':{..._0x2ff4d7,..._0x1fd638},'args':_0x2e23a8?[_0x2e23a8]:[],'tdx':_0x254c15});process['exit'](_0x2658ee);}),program[a0_0x3bd129(0x113)](a0_0x3bd129(0x12c))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x177))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1ab),a0_0x3bd129(0x158))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1c0),a0_0x3bd129(0x114))[a0_0x3bd129(0x14c)]('--temperature\x20<n>',a0_0x3bd129(0x13d))['option']('--new',a0_0x3bd129(0x12f))[a0_0x3bd129(0x127)](async(_0x47968c,_0xccf99a)=>{const _0x4c138d=a0_0x3bd129,_0x174aeb=new ChatCommand(),_0x229f30=program[_0x4c138d(0x1d0)](),_0x4b9cb9=createTDXInstance(_0x229f30),_0x1f2c20=await _0x174aeb[_0x4c138d(0x18a)]({'options':{..._0x229f30,..._0xccf99a},'args':_0x47968c,'tdx':_0x4b9cb9});process[_0x4c138d(0x116)](_0x1f2c20);});const apiCmd=program[a0_0x3bd129(0x113)](a0_0x3bd129(0x18f))[a0_0x3bd129(0x163)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs')[a0_0x3bd129(0x14f)](a0_0x3bd129(0x1bf),'\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')[a0_0x3bd129(0x14c)]('-X,\x20--method\x20<method>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a0_0x3bd129(0x101))['option'](a0_0x3bd129(0x10a),a0_0x3bd129(0x159))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x186),a0_0x3bd129(0x1de))[a0_0x3bd129(0x14c)]('-H,\x20--header\x20<header>',a0_0x3bd129(0x1c3),(_0x3b049f,_0x3a5dd8)=>{return _0x3a5dd8?[..._0x3a5dd8,_0x3b049f]:[_0x3b049f];})[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1d3),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')['action'](async(_0x482001,_0x1a6860)=>{const _0x4b0c02=a0_0x3bd129;if(!_0x482001){apiCmd[_0x4b0c02(0x17b)]();return;}const _0x43546f=new ApiCommand(),_0x224a9a=program[_0x4b0c02(0x1d0)](),_0x3ce1c8=createTDXInstance(_0x224a9a),_0x340849=await _0x43546f[_0x4b0c02(0x18a)]({'options':{..._0x224a9a,..._0x1a6860},'args':[_0x482001],'tdx':_0x3ce1c8});process[_0x4b0c02(0x116)](_0x340849);});program[a0_0x3bd129(0x113)](a0_0x3bd129(0x1a3))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x109))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x135),a0_0x3bd129(0x1b8))[a0_0x3bd129(0x14c)]('--in\x20<database>',a0_0x3bd129(0x18c))[a0_0x3bd129(0x127)](async(_0x2a4e26,_0x5ce29f)=>{const _0x1a649e=a0_0x3bd129,_0x316120=new TablesCommand(),_0x30dcb7=program['opts'](),_0x16fa49=createTDXInstance(_0x30dcb7);_0x5ce29f['in']&&(_0x5ce29f['database']=_0x5ce29f['in']);const _0x57b213=await _0x316120[_0x1a649e(0x18a)]({'options':{..._0x30dcb7,..._0x5ce29f},'args':_0x2a4e26?[_0x2a4e26]:[],'tdx':_0x16fa49});process[_0x1a649e(0x116)](_0x57b213);}),program[a0_0x3bd129(0x113)](a0_0x3bd129(0x17a))[a0_0x3bd129(0x19d)]('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x135),a0_0x3bd129(0x191))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x169),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x253468,_0x18d678)=>{const _0x4b0790=a0_0x3bd129,_0x1dcb5f=new ShowCommand(),_0x90499b=program[_0x4b0790(0x1d0)](),_0x3c5f94=createTDXInstance(_0x90499b);_0x18d678['in']&&(_0x18d678[_0x4b0790(0x152)]=_0x18d678['in']);const _0x2e1da5=await _0x1dcb5f['run']({'options':{..._0x90499b,..._0x18d678},'args':_0x253468?[_0x253468]:[],'tdx':_0x3c5f94});process[_0x4b0790(0x116)](_0x2e1da5);}),program[a0_0x3bd129(0x113)]('describe\x20[table]')[a0_0x3bd129(0x10d)](a0_0x3bd129(0x179))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x187))['option'](a0_0x3bd129(0x135),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x169),a0_0x3bd129(0x18c))[a0_0x3bd129(0x127)](async(_0xcd28ae,_0x3d5dd8)=>{const _0x4f955a=a0_0x3bd129,_0x213e19=new DescribeCommand(),_0x26a402=program[_0x4f955a(0x1d0)](),_0x17fac2=createTDXInstance(_0x26a402);_0x3d5dd8['in']&&(_0x3d5dd8[_0x4f955a(0x152)]=_0x3d5dd8['in']);const _0x156362=await _0x213e19[_0x4f955a(0x18a)]({'options':{..._0x26a402,..._0x3d5dd8},'args':_0xcd28ae?[_0xcd28ae]:[],'tdx':_0x17fac2});process[_0x4f955a(0x116)](_0x156362);}),program[a0_0x3bd129(0x113)]('query\x20[sql]')[a0_0x3bd129(0x19d)](a0_0x3bd129(0x145))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x135),a0_0x3bd129(0x122))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x169),a0_0x3bd129(0x18c))['option']('--catalog\x20<catalog>','Trino\x20catalog\x20(default:\x20td)')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x186),a0_0x3bd129(0x162))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1b2),a0_0x3bd129(0x1cf),'40')[a0_0x3bd129(0x127)](async(_0x45cf6e,_0x152616)=>{const _0x2344b1=a0_0x3bd129,_0x591adc=new QueryCommand(),_0x509601=program[_0x2344b1(0x1d0)](),_0x2972d1=createTDXInstance(_0x509601);_0x152616['in']&&(_0x152616[_0x2344b1(0x152)]=_0x152616['in']);const _0x4b890b=await _0x591adc[_0x2344b1(0x18a)]({'options':{..._0x509601,..._0x152616},'args':_0x45cf6e?[_0x45cf6e]:[],'tdx':_0x2972d1});process[_0x2344b1(0x116)](_0x4b890b);}),program[a0_0x3bd129(0x113)](a0_0x3bd129(0x125))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x176))[a0_0x3bd129(0x127)](()=>{const _0x2f015b=a0_0x3bd129;console[_0x2f015b(0x192)](_0x2f015b(0x185));}),program[a0_0x3bd129(0x113)](a0_0x3bd129(0x19f))[a0_0x3bd129(0x19d)]('List\x20parent\x20segments\x20or\x20child\x20segments\x20under\x20a\x20parent')[a0_0x3bd129(0x127)](async(_0x52a870,_0x32c160)=>{const _0x3a4fb0=a0_0x3bd129,_0x2f725c=new SegmentsCommand(),_0x4f6b56=program[_0x3a4fb0(0x1d0)](),_0x5104a6=createTDXInstance(_0x4f6b56),_0x39217b=await _0x2f725c[_0x3a4fb0(0x18a)]({'options':{..._0x4f6b56,..._0x32c160},'args':_0x52a870?[_0x52a870]:[],'tdx':_0x5104a6});process[_0x3a4fb0(0x116)](_0x39217b);});const segmentCmd=program[a0_0x3bd129(0x113)](a0_0x3bd129(0x1aa))[a0_0x3bd129(0x19d)]('CDP\x20segment\x20management\x20commands');segmentCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x1d7))['alias'](a0_0x3bd129(0x179))[a0_0x3bd129(0x19d)]('Show\x20segment\x20details\x20(use\x20parent_name\x20or\x20parent_name/child_name)')[a0_0x3bd129(0x127)](async(_0x575e8e,_0x293b87)=>{const _0x44542c=a0_0x3bd129,_0x2f715a=new SegmentDescribeCommand(),_0x54bf80=program[_0x44542c(0x1d0)](),_0x43df3f=createTDXInstance(_0x54bf80),_0x3ba7d6=await _0x2f715a[_0x44542c(0x18a)]({'options':{..._0x54bf80,..._0x293b87},'args':[_0x575e8e],'tdx':_0x43df3f});process[_0x44542c(0x116)](_0x3ba7d6);}),segmentCmd['command'](a0_0x3bd129(0x1d1))['description'](a0_0x3bd129(0x16a))[a0_0x3bd129(0x127)](async(_0x49eeab,_0x4e45ae)=>{const _0x41fee9=a0_0x3bd129,_0x4e34fc=new SegmentShowCommand(),_0x2f8faf=program[_0x41fee9(0x1d0)](),_0x34dc71=createTDXInstance(_0x2f8faf),_0x593b26=await _0x4e34fc[_0x41fee9(0x18a)]({'options':{..._0x2f8faf,..._0x4e45ae},'args':[_0x49eeab],'tdx':_0x34dc71});process[_0x41fee9(0x116)](_0x593b26);}),segmentCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x1da))[a0_0x3bd129(0x19d)]('List\x20segment\x20folders\x20under\x20a\x20parent\x20segment')['action'](async(_0x527c4e,_0xe12052)=>{const _0x1ed422=a0_0x3bd129,_0x19f85e=new SegmentFolderListCommand(),_0x425820=program[_0x1ed422(0x1d0)](),_0x38e476=createTDXInstance(_0x425820),_0x48f8dd=await _0x19f85e[_0x1ed422(0x18a)]({'options':{..._0x425820,..._0xe12052},'args':[_0x527c4e],'tdx':_0x38e476});process[_0x1ed422(0x116)](_0x48f8dd);});const folderCmd=segmentCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x1a1))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x121));function a0_0x2e55(){const _0x487a30=['Download\x20workflow\x20project\x20from\x20Treasure\x20Data','LLM\x20agent\x20management','argumentDescription','Database\x20to\x20use\x20(overrides\x20context)','Run\x20Trino\x20query\x20with\x20streaming\x20results','--name\x20<text>','--timeout\x20<seconds>','show\x20<folder_ref>','Usage:\x20','hidden','Revision\x20name\x20(default:\x20timestamp)','option','proxy','apiKey','addHelpText','-v,\x20--version','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','database','--parent-segment\x20<name>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02,\x20ap03,\x20dev-us01,\x20dev-eu01,\x20stg-us01,\x20stg-jp01,\x20stg-ap03;\x20aliases:\x20us,\x20jp,\x20aws,\x20dev,\x20stg)','attempts\x20[project]','3tJatrq','Save\x20output\x20to\x20file','Agent\x20reference\x20(project-name/agent-name)','Request\x20body\x20as\x20JSON\x20string','5076635llvRHw','projects\x20[pattern]','use\x20[resource]\x20[value]','LLM\x20project\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','6bsqbKL','3324824UNIbSw','parse','Update\x20an\x20existing\x20agent','Read\x20SQL\x20query\x20from\x20file','summary','version','optionTerm','--verbose','download\x20<project-name>\x20[output-dir]','length','--in\x20<database>','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(use\x20parent_name\x20or\x20parent_name/child_name)','agent','Resume\x20from\x20specific\x20task\x20(session\x20retry\x20only)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--from\x20<timestamp>','commands','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','attempt\x20<attempt-id>','--tsv','454WAjbpD','repeat','4000','Job\x20management\x20commands','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','desc','show\x20[table]','help','Start\x20time\x20filter\x20(ISO\x208601\x20format)','[EXPERIMENTAL]\x20Start\x20LLM\x20proxy\x20server\x20for\x20Claude\x20Code\x20integration','Push\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style:\x20cd\x20into\x20project,\x20then\x20push\x20<name>)','--revision\x20<revision>','Force\x20retry\x20even\x20if\x20not\x20failed\x20(attempt\x20retry\x20only)','--system-prompt\x20<text>','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','4989svznRC','--starter-message\x20<text>','Job\x20commands\x20-\x20coming\x20soon','-f,\x20--file\x20<path>','Describe\x20table\x20schema','push','tdx','run','Agent\x20prompt/instructions','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Agent\x20name\x20(uses\x20context\x20or\x20default\x20if\x20not\x20specified)','filter','api\x20[endpoint]','--debug','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','log','Preview\x20operation\x20without\x20executing','Agent\x20name','workflow','--include-subtasks','Show\x20specific\x20attempt\x20details','configureHelp','--params\x20<json>','Reason\x20for\x20killing\x20the\x20attempt','--clear','commandDescription','description','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','segments\x20[parent_name]','-y,\x20--yes','folder','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','tables\x20[pattern]','url','llm','Show\x20current\x20resolved\x20context','--profile\x20<name>','Starting\x20offset\x20for\x20logs\x20(default:\x200)','update\x20<agent-name>','segment','--agent\x20<ref>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--no-color','LLM\x20project\x20to\x20use\x20(overrides\x20context)','tsv','Options:','utf-8','--limit\x20<rows>','--prompt\x20<text>','argv','hook','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','../package.json','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','--agent\x20<name>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','AI-native\x20CLI\x20for\x20Treasure\x20Data','slice','join','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','after','--model\x20<name>','10587738RKcxjJ','System\x20prompt/instructions\x20(default:\x20empty)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','retry\x20<session-id|attempt-id>','--color','9CZNJAL','options','--temperature\x20<n>','--session\x20<id>','Show\x20context\x20with\x20sources\x20(for\x20debugging)','Workflow\x20(Digdag)\x20management\x20commands','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','opts','show\x20<segment_name>','--resume-from\x20<task>','--type\x20<api_type>','delete\x20<project-name-or-id>','delete\x20<agent-name>','site','describe\x20<segment_name>','--json','--port\x20<number>','folders\x20<parent_name>','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','use\x20<project-name>','workflows\x20[project]','Read\x20request\x20body\x20from\x20file','replace','GET','Override\x20project\x20name','sql\x20<segment_name>','2435404TRLAWB','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','Include\x20subtasks\x20in\x20the\x20output','subcommandDescription','58180034lwuGan','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--data\x20<data>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','format','alias','registeredArguments','Set\x20session-level\x20context\x20(resources:\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20profile)','--include-retried','Show\x20agent\x20details','--status\x20<status>','command','Model\x20name\x20(default:\x20claude-4.5-sonnet)','Arguments:','exit','--offset\x20<number>','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','output\x20the\x20version\x20number','--in\x20<name>','--description\x20<text>','preAction','port','subcommandTerm','json','activations\x20<segment_name>','Segment\x20folder\x20management','Database\x20to\x20query\x20(default:\x20information_schema)','Clear\x20session\x20context','List\x20all\x20available\x20profiles','job','0.7','action','Show\x20logs\x20for\x20a\x20specific\x20task','name','LLM\x20project\x20management','aliases','chat\x20[message...]','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','map','Start\x20a\x20new\x20chat\x20session','--force','Retry\x20a\x20session\x20or\x20attempt\x20(prefix\x20with\x20session:\x20or\x20attempt:)','commandUsage','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','models','-d,\x20--database\x20<database>','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','argumentTerm','agents\x20[pattern]','create\x20<name>','--name\x20<name>','4812650hyURtr','Port\x20to\x20run\x20the\x20proxy\x20server\x20on','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Enable\x20verbose\x20logging','--output\x20<file>','logs\x20<attempt-id>\x20<task-name>'];a0_0x2e55=function(){return _0x487a30;};return a0_0x2e55();}folderCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x148))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x16d))[a0_0x3bd129(0x127)](async(_0xa105e0,_0xdfb2f8)=>{const _0xbf03d7=a0_0x3bd129,_0x2e8f64=new SegmentFolderShowCommand(),_0x4b2ce6=program['opts'](),_0x2576f8=createTDXInstance(_0x4b2ce6),_0x92fe5a=await _0x2e8f64[_0xbf03d7(0x18a)]({'options':{..._0x4b2ce6,..._0xdfb2f8},'args':[_0xa105e0],'tdx':_0x2576f8});process[_0xbf03d7(0x116)](_0x92fe5a);}),segmentCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x103))[a0_0x3bd129(0x19d)]('Get\x20SQL\x20query\x20for\x20segment\x20(use\x20parent_name\x20or\x20parent_name/child_name)')[a0_0x3bd129(0x127)](async(_0x559cf2,_0xef0bd8)=>{const _0xc502bc=a0_0x3bd129,_0x4a61d7=new SegmentSQLCommand(),_0x1a3717=program[_0xc502bc(0x1d0)](),_0x1fbdd4=createTDXInstance(_0x1a3717),_0x3a2696=await _0x4a61d7[_0xc502bc(0x18a)]({'options':{..._0x1a3717,..._0xef0bd8},'args':[_0x559cf2],'tdx':_0x1fbdd4});process['exit'](_0x3a2696);}),program[a0_0x3bd129(0x113)](a0_0x3bd129(0x120))['description'](a0_0x3bd129(0x1b6))['action'](async(_0x2e3e1d,_0x275b86)=>{const _0x32bae9=a0_0x3bd129,_0x1384af=new ActivationsCommand(),_0x556118=program[_0x32bae9(0x1d0)](),_0x40485f=createTDXInstance(_0x556118),_0x1add43=await _0x1384af['run']({'options':{..._0x556118,..._0x275b86},'args':[_0x2e3e1d],'tdx':_0x40485f});process[_0x32bae9(0x116)](_0x1add43);});const workflowCmd=program[a0_0x3bd129(0x113)](a0_0x3bd129(0x195))[a0_0x3bd129(0x10d)]('wf')[a0_0x3bd129(0x19d)](a0_0x3bd129(0x1cb));workflowCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x15b))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x133))[a0_0x3bd129(0x127)](async(_0x17c6a7,_0x160049)=>{const _0x3b8b34=a0_0x3bd129,_0x3de746=new WorkflowProjectsCommand(),_0x40f4f3=program[_0x3b8b34(0x1d0)](),_0xd84695=createTDXInstance(_0x40f4f3),_0x323c40=await _0x3de746['run']({'options':{..._0x40f4f3,..._0x160049},'args':_0x17c6a7?[_0x17c6a7]:[],'tdx':_0xd84695});process[_0x3b8b34(0x116)](_0x323c40);}),workflowCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x1dd))[a0_0x3bd129(0x10d)]('ls')['description'](a0_0x3bd129(0x1ce))[a0_0x3bd129(0x127)](async(_0x3b3416,_0x2186a1)=>{const _0x15221b=a0_0x3bd129,_0x266c7c=new WorkflowWorkflowsCommand(),_0xf5d37d=program['opts'](),_0x5d7f7f=createTDXInstance(_0xf5d37d),_0x2375cb=await _0x266c7c[_0x15221b(0x18a)]({'options':{..._0xf5d37d,..._0x2186a1},'args':_0x3b3416?[_0x3b3416]:[],'tdx':_0x5d7f7f});process[_0x15221b(0x116)](_0x2375cb);}),workflowCmd[a0_0x3bd129(0x113)]('sessions\x20[project]')['description'](a0_0x3bd129(0x136))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x112),a0_0x3bd129(0x12d))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x16e),a0_0x3bd129(0x17c))[a0_0x3bd129(0x14c)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')['action'](async(_0x37bdbb,_0x9f1774)=>{const _0x21178f=a0_0x3bd129,_0x30c5e8=new WorkflowSessionsCommand(),_0x1230d1=program['opts'](),_0x5387e3=createTDXInstance(_0x1230d1),_0x1f4d07=await _0x30c5e8[_0x21178f(0x18a)]({'options':{..._0x1230d1,..._0x9f1774},'args':_0x37bdbb?[_0x37bdbb]:[],'tdx':_0x5387e3});process[_0x21178f(0x116)](_0x1f4d07);}),workflowCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x155))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x178))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x110),'Include\x20retried\x20attempts')[a0_0x3bd129(0x127)](async(_0x900c9a,_0x57f5d2)=>{const _0xcc2120=a0_0x3bd129,_0x3825c9=new WorkflowAttemptsCommand(),_0x520051=program[_0xcc2120(0x1d0)](),_0x51c5d4=createTDXInstance(_0x520051),_0x2b5ede=await _0x3825c9[_0xcc2120(0x18a)]({'options':{..._0x520051,..._0x57f5d2},'args':_0x900c9a?[_0x900c9a]:[],'tdx':_0x51c5d4});process[_0xcc2120(0x116)](_0x2b5ede);}),workflowCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x171))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x197))['action'](async(_0x5c75f6,_0x11ee11)=>{const _0x1d3607=a0_0x3bd129,_0x36137b=new WorkflowAttemptCommand(),_0x473fe3=program[_0x1d3607(0x1d0)](),_0x763a2c=createTDXInstance(_0x473fe3),_0x141aab=await _0x36137b[_0x1d3607(0x18a)]({'options':{..._0x473fe3,..._0x11ee11},'args':[_0x5c75f6],'tdx':_0x763a2c});process[_0x1d3607(0x116)](_0x141aab);}),workflowCmd[a0_0x3bd129(0x113)]('tasks\x20<attempt-id>')[a0_0x3bd129(0x19d)]('Show\x20tasks\x20for\x20an\x20attempt')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x196),a0_0x3bd129(0x106))[a0_0x3bd129(0x127)](async(_0x1e71e6,_0xe2c4d5)=>{const _0x5eb289=a0_0x3bd129,_0x326ee9=new WorkflowTasksCommand(),_0x562237=program[_0x5eb289(0x1d0)](),_0x34df72=createTDXInstance(_0x562237),_0x4f28d7=await _0x326ee9['run']({'options':{..._0x562237,..._0xe2c4d5},'args':[_0x1e71e6],'tdx':_0x34df72});process[_0x5eb289(0x116)](_0x4f28d7);}),workflowCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x140))['description'](a0_0x3bd129(0x128))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x117),a0_0x3bd129(0x1a8),_0x35f388=>parseInt(_0x35f388,0xa),0x0)[a0_0x3bd129(0x127)](async(_0x3d5a45,_0x41e9f9,_0x15fd3b)=>{const _0x229b9d=a0_0x3bd129,_0x2354eb=new WorkflowLogsCommand(),_0x12b856=program[_0x229b9d(0x1d0)](),_0x263bc5=createTDXInstance(_0x12b856),_0x2df9f1=await _0x2354eb[_0x229b9d(0x18a)]({'options':{..._0x12b856,..._0x15fd3b},'args':[_0x3d5a45,_0x41e9f9],'tdx':_0x263bc5});process[_0x229b9d(0x116)](_0x2df9f1);}),workflowCmd[a0_0x3bd129(0x113)]('kill\x20<attempt-id>')[a0_0x3bd129(0x19d)]('Kill\x20a\x20running\x20attempt')[a0_0x3bd129(0x14c)]('--reason\x20<text>',a0_0x3bd129(0x19a))['action'](async(_0x2eb0e2,_0xa52f30)=>{const _0xe4b2a=a0_0x3bd129,_0x1fb072=new WorkflowKillCommand(),_0x18086b=program[_0xe4b2a(0x1d0)](),_0x4b578d=createTDXInstance(_0x18086b),_0x131464=await _0x1fb072[_0xe4b2a(0x18a)]({'options':{..._0x18086b,..._0xa52f30},'args':[_0x2eb0e2],'tdx':_0x4b578d});process[_0xe4b2a(0x116)](_0x131464);}),workflowCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x1c4))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x131))[a0_0x3bd129(0x14c)]('--from-task\x20<task>',a0_0x3bd129(0x16c))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1d2),'Resume\x20from\x20specific\x20task\x20(attempt\x20retry\x20only)')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x199),a0_0x3bd129(0x19e))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x130),a0_0x3bd129(0x180))[a0_0x3bd129(0x127)](async(_0x464d0f,_0x4c0049)=>{const _0x4529e5=a0_0x3bd129,_0x575d91=new WorkflowRetryCommand(),_0x473323=program['opts'](),_0x43d00c=createTDXInstance(_0x473323),_0x46ebef=await _0x575d91[_0x4529e5(0x18a)]({'options':{..._0x473323,..._0x4c0049},'args':[_0x464d0f],'tdx':_0x43d00c});process[_0x4529e5(0x116)](_0x46ebef);}),workflowCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x167))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x141))['option'](a0_0x3bd129(0x17f),a0_0x3bd129(0x1ba))[a0_0x3bd129(0x127)](async(_0x1c4efc,_0x47f27e,_0x11254f)=>{const _0x43d0c9=a0_0x3bd129,_0xc03cb=new WorkflowDownloadCommand(),_0x567190=program[_0x43d0c9(0x1d0)](),_0x2821fa=createTDXInstance(_0x567190),_0x222986=await _0xc03cb[_0x43d0c9(0x18a)]({'options':{..._0x567190,..._0x11254f},'args':[_0x1c4efc,_0x47f27e||'.'],'tdx':_0x2821fa});process[_0x43d0c9(0x116)](_0x222986);}),workflowCmd[a0_0x3bd129(0x113)]('push\x20[project-name-or-dir]')['description'](a0_0x3bd129(0x17e))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x13a),a0_0x3bd129(0x102))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x17f),a0_0x3bd129(0x14b))['option']('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a0_0x3bd129(0x127)](async(_0x27a4f1,_0x198b15)=>{const _0x3167ff=a0_0x3bd129,_0x31eead=new WorkflowPushCommand(),_0x5d9820=program[_0x3167ff(0x1d0)](),_0x5c8579=createTDXInstance(_0x5d9820),_0xdb8027=await _0x31eead[_0x3167ff(0x18a)]({'options':{..._0x5d9820,..._0x198b15},'args':_0x27a4f1?[_0x27a4f1]:[],'tdx':_0x5c8579});process[_0x3167ff(0x116)](_0xdb8027);}),workflowCmd['command'](a0_0x3bd129(0x1d4))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x182))[a0_0x3bd129(0x127)](async(_0x12f797,_0x4a2b15)=>{const _0x409d79=a0_0x3bd129,_0x5c39f9=new WorkflowDeleteCommand(),_0x9121b2=program[_0x409d79(0x1d0)](),_0x96e902=createTDXInstance(_0x9121b2),_0x488602=await _0x5c39f9[_0x409d79(0x18a)]({'options':{..._0x9121b2,..._0x4a2b15},'args':[_0x12f797],'tdx':_0x96e902});process[_0x409d79(0x116)](_0x488602);});const llmCmd=program[a0_0x3bd129(0x113)](a0_0x3bd129(0x1a5))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x118));llmCmd['command'](a0_0x3bd129(0x1dc))['description'](a0_0x3bd129(0x1a2))[a0_0x3bd129(0x127)](async(_0x7311d1,_0x36893b)=>{const _0x5232b8=a0_0x3bd129,_0x3e62b8=new LLMUseCommand(),_0x41d47a=program[_0x5232b8(0x1d0)](),_0x21e28b=createTDXInstance(_0x41d47a),_0x54d844=await _0x3e62b8[_0x5232b8(0x18a)]({'options':{..._0x41d47a,..._0x36893b},'args':[_0x7311d1],'tdx':_0x21e28b});process['exit'](_0x54d844);}),llmCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x134))[a0_0x3bd129(0x19d)]('List\x20available\x20LLM\x20models')[a0_0x3bd129(0x127)](async _0x48fd44=>{const _0x4713e4=a0_0x3bd129,_0x1b0451=new LLMModelsCommand(),_0x28e701=program['opts'](),_0x465481=createTDXInstance(_0x28e701),_0x567b22=await _0x1b0451[_0x4713e4(0x18a)]({'options':{..._0x28e701,..._0x48fd44},'args':[],'tdx':_0x465481});process[_0x4713e4(0x116)](_0x567b22);}),llmCmd[a0_0x3bd129(0x113)]('projects\x20[pattern]')[a0_0x3bd129(0x19d)](a0_0x3bd129(0x1cd))[a0_0x3bd129(0x127)](async(_0x55595b,_0x21a75c)=>{const _0x1724c4=a0_0x3bd129,_0x4841d3=new LLMProjectsCommand(),_0x13d0dd=program[_0x1724c4(0x1d0)](),_0x1e3e9d=createTDXInstance(_0x13d0dd),_0x3b1c75=await _0x4841d3[_0x1724c4(0x18a)]({'options':{..._0x13d0dd,..._0x21a75c},'args':_0x55595b?[_0x55595b]:[],'tdx':_0x1e3e9d});process[_0x1724c4(0x116)](_0x3b1c75);});const projectCmd=llmCmd[a0_0x3bd129(0x113)]('project')['description'](a0_0x3bd129(0x12a));projectCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x139))[a0_0x3bd129(0x19d)]('Create\x20a\x20new\x20LLM\x20project')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x11b),'Project\x20description')['action'](async(_0x53141e,_0x2d91ba)=>{const _0x20e368=a0_0x3bd129,_0x7340d=new LLMProjectCreateCommand(),_0x3ed936=program[_0x20e368(0x1d0)](),_0x2957e4=createTDXInstance(_0x3ed936),_0x1fac8b=await _0x7340d[_0x20e368(0x18a)]({'options':{..._0x3ed936,..._0x2d91ba},'args':[_0x53141e],'tdx':_0x2957e4});process[_0x20e368(0x116)](_0x1fac8b);}),projectCmd[a0_0x3bd129(0x113)]('delete\x20<name>')[a0_0x3bd129(0x19d)]('Delete\x20an\x20LLM\x20project')[a0_0x3bd129(0x127)](async(_0x1cc195,_0x49be4b)=>{const _0x4a14a7=a0_0x3bd129,_0x2c5af7=new LLMProjectDeleteCommand(),_0xd42927=program[_0x4a14a7(0x1d0)](),_0x13c1d3=createTDXInstance(_0xd42927),_0x330cfb=await _0x2c5af7[_0x4a14a7(0x18a)]({'options':{..._0xd42927,..._0x49be4b},'args':[_0x1cc195],'tdx':_0x13c1d3});process[_0x4a14a7(0x116)](_0x330cfb);}),llmCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x138))['description']('List\x20agents\x20in\x20current\x20project\x20(optionally\x20filtered\x20by\x20pattern)')['action'](async(_0x2684da,_0x5c28ce)=>{const _0x4a5c8c=a0_0x3bd129,_0x454228=new LLMAgentsCommand(),_0x2e409b=program[_0x4a5c8c(0x1d0)](),_0x35ca9b=createTDXInstance(_0x2e409b),_0x441084=await _0x454228['run']({'options':{..._0x2e409b,..._0x5c28ce},'args':_0x2684da?[_0x2684da]:[],'tdx':_0x35ca9b});process[_0x4a5c8c(0x116)](_0x441084);});const agentCmd=llmCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x16b))['description'](a0_0x3bd129(0x142));agentCmd[a0_0x3bd129(0x113)]('show\x20<agent-name>')['description'](a0_0x3bd129(0x111))[a0_0x3bd129(0x127)](async(_0x5396c4,_0x217bd8)=>{const _0xbc60fc=a0_0x3bd129,_0x3458b4=new LLMAgentShowCommand(),_0x55cbfa=program[_0xbc60fc(0x1d0)](),_0x40d5a8=createTDXInstance(_0x55cbfa),_0x2e45e7=await _0x3458b4[_0xbc60fc(0x18a)]({'options':{..._0x55cbfa,..._0x217bd8},'args':[_0x5396c4],'tdx':_0x40d5a8});process[_0xbc60fc(0x116)](_0x2e45e7);}),agentCmd['command'](a0_0x3bd129(0x139))[a0_0x3bd129(0x19d)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x181),a0_0x3bd129(0x1c2))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1c0),'Model\x20type\x20(default:\x20claude-4.5-sonnet)','claude-4.5-sonnet')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x184),'Starter\x20message')[a0_0x3bd129(0x14c)]('--max-tool-iterations\x20<n>','Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1c8),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a0_0x3bd129(0x126))['action'](async(_0xb1394,_0x37f99a)=>{const _0x50470c=a0_0x3bd129,_0x25e9b7=new LLMAgentCreateCommand(),_0x156b79=program[_0x50470c(0x1d0)](),_0x24911c=createTDXInstance(_0x156b79),_0x36682c=await _0x25e9b7[_0x50470c(0x18a)]({'options':{..._0x156b79,..._0x37f99a},'args':[_0xb1394],'tdx':_0x24911c});process['exit'](_0x36682c);}),agentCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x1a9))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x161))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x146),a0_0x3bd129(0x194))['option'](a0_0x3bd129(0x1b3),a0_0x3bd129(0x18b))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x11b),'Agent\x20description')[a0_0x3bd129(0x14c)](a0_0x3bd129(0x184),'Starter\x20message')[a0_0x3bd129(0x127)](async(_0x4a81f6,_0x216f90)=>{const _0x26f5e0=a0_0x3bd129,_0x5d0a39=new LLMAgentUpdateCommand(),_0x17fd16=program[_0x26f5e0(0x1d0)](),_0x1f59b1=createTDXInstance(_0x17fd16),_0x19fd04=await _0x5d0a39['run']({'options':{..._0x17fd16,..._0x216f90},'args':[_0x4a81f6],'tdx':_0x1f59b1});process[_0x26f5e0(0x116)](_0x19fd04);}),agentCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x1d5))[a0_0x3bd129(0x19d)]('Delete\x20an\x20agent')['action'](async(_0x19f06a,_0x117b0a)=>{const _0x3ca7d9=a0_0x3bd129,_0x1dab01=new LLMAgentDeleteCommand(),_0x1a5249=program[_0x3ca7d9(0x1d0)](),_0x52cd56=createTDXInstance(_0x1a5249),_0x37bb79=await _0x1dab01[_0x3ca7d9(0x18a)]({'options':{..._0x1a5249,..._0x117b0a},'args':[_0x19f06a],'tdx':_0x52cd56});process[_0x3ca7d9(0x116)](_0x37bb79);}),llmCmd[a0_0x3bd129(0x113)]('history\x20[chat-id]')['description'](a0_0x3bd129(0x1be))[a0_0x3bd129(0x127)](async(_0x335cb3,_0x46f22c)=>{const _0x20c957=a0_0x3bd129,_0x15d254=new LLMHistoryCommand(),_0x9fbfd1=program[_0x20c957(0x1d0)](),_0x1a7c87=createTDXInstance(_0x9fbfd1),_0xf60b39=await _0x15d254[_0x20c957(0x18a)]({'options':{..._0x9fbfd1,..._0x46f22c},'args':_0x335cb3?[_0x335cb3]:[],'tdx':_0x1a7c87});process[_0x20c957(0x116)](_0xf60b39);}),llmCmd[a0_0x3bd129(0x113)](a0_0x3bd129(0x14d))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x17d))['option'](a0_0x3bd129(0x1d9),a0_0x3bd129(0x13c),a0_0x3bd129(0x175))['option']('--project\x20<name>',a0_0x3bd129(0x15d))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x1b9),a0_0x3bd129(0x18d))[a0_0x3bd129(0x14c)]('--debug','Enable\x20debug\x20mode\x20(logs\x20request/response\x20to\x20stderr)')[a0_0x3bd129(0x127)](async _0x58a20f=>{const _0x978ac9=a0_0x3bd129,_0x2299e4=new LLMProxyCommand(),_0x884d58=program[_0x978ac9(0x1d0)](),_0xd9b8e5=createTDXInstance(_0x884d58),_0xebea36={..._0x58a20f,'port':_0x58a20f[_0x978ac9(0x11d)]?parseInt(_0x58a20f[_0x978ac9(0x11d)],0xa):undefined},_0x3cea42=await _0x2299e4[_0x978ac9(0x18a)]({'options':{..._0x884d58,..._0xebea36},'args':[],'tdx':_0xd9b8e5});process[_0x978ac9(0x116)](_0x3cea42);}),program[a0_0x3bd129(0x113)]('context')[a0_0x3bd129(0x19d)](a0_0x3bd129(0x1a6))[a0_0x3bd129(0x14c)](a0_0x3bd129(0x190),a0_0x3bd129(0x1ca))['option'](a0_0x3bd129(0x19b),a0_0x3bd129(0x123))[a0_0x3bd129(0x127)](async _0x1e082c=>{const _0x1b0fc6=a0_0x3bd129,_0x44be0d=new ContextCommand(),_0x438107=program['opts'](),_0x248c66=await _0x44be0d['run']({'options':{..._0x438107,..._0x1e082c},'args':[],'tdx':null});process[_0x1b0fc6(0x116)](_0x248c66);}),program['command'](a0_0x3bd129(0x15c))[a0_0x3bd129(0x19d)](a0_0x3bd129(0x10f))[a0_0x3bd129(0x127)](async(_0x4698c7,_0x49dab4,_0x5c1b73)=>{const _0x378652=a0_0x3bd129,_0xcee6d1=new UseCommand(),_0x513139=program[_0x378652(0x1d0)](),_0x1ce40a=[];if(_0x4698c7)_0x1ce40a[_0x378652(0x188)](_0x4698c7);if(_0x49dab4)_0x1ce40a['push'](_0x49dab4);const _0x1f0995=await _0xcee6d1[_0x378652(0x18a)]({'options':{..._0x513139,..._0x5c1b73},'args':_0x1ce40a,'tdx':null});process['exit'](_0x1f0995);}),program[a0_0x3bd129(0x113)]('profiles')[a0_0x3bd129(0x19d)](a0_0x3bd129(0x124))[a0_0x3bd129(0x127)](async _0xbe95c9=>{const _0x6aade8=a0_0x3bd129,_0x185443=new ProfilesCommand(),_0x7f1cf6=program[_0x6aade8(0x1d0)](),_0x44325b=await _0x185443[_0x6aade8(0x18a)]({'options':{..._0x7f1cf6,..._0xbe95c9},'args':[],'tdx':null});process['exit'](_0x44325b);}),program[a0_0x3bd129(0x160)](process['argv']);!process[a0_0x3bd129(0x1b4)][a0_0x3bd129(0x1bc)](0x2)[a0_0x3bd129(0x168)]&&program['outputHelp']();
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AAEH,OAAO,EAAE,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C,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,OAAO,CAAC,UAAU,EAAE,CAAC;AACvB,CAAC"}
@@ -1 +1 @@
1
- const a1_0x1df4e9=a1_0x154b;(function(_0x2d7bb9,_0xe045af){const _0x41ea75=a1_0x154b,_0x251a04=_0x2d7bb9();while(!![]){try{const _0x834da0=-parseInt(_0x41ea75(0x199))/0x1+-parseInt(_0x41ea75(0x17b))/0x2*(-parseInt(_0x41ea75(0x178))/0x3)+parseInt(_0x41ea75(0x19d))/0x4*(parseInt(_0x41ea75(0x196))/0x5)+-parseInt(_0x41ea75(0x191))/0x6*(-parseInt(_0x41ea75(0x179))/0x7)+parseInt(_0x41ea75(0x18a))/0x8+-parseInt(_0x41ea75(0x195))/0x9+parseInt(_0x41ea75(0x180))/0xa*(-parseInt(_0x41ea75(0x19c))/0xb);if(_0x834da0===_0xe045af)break;else _0x251a04['push'](_0x251a04['shift']());}catch(_0x38df9c){_0x251a04['push'](_0x251a04['shift']());}}}(a1_0x5359,0x1d1e6));import{HTTPClient}from'./http-client.js';import{getEndpoint}from'../types/index.js';function a1_0x5359(){const _0x1191a0=['GET','isArray','error','3oOIkso','7GaLMMS','authHeaders','355468nNNhhq','/segments','\x0a[CDP\x20API\x20Response]\x20','site','/audiences/','1360OvZnYm','getParentSegment','request','application/vnd.treasuredata.v1+json','/entities/parent_segments','data','apiKey','listSegments','getSegmentSQL','listParentSegments','1002696OABuAw','verbose','/segments/query','httpClient','application/json','logVerbose','/segments/','420702vDONXS','getSegmentFolder','/folders','sql','1013112mSbkUo','1120015ScKmTg','query','rule','70369ljPDlD','/syndications','getSegment','23859rIgcaB','4lLQCzl','/entities/folders/','POST'];a1_0x5359=function(){return _0x1191a0;};return a1_0x5359();}function a1_0x154b(_0x1209b8,_0x1a2d50){const _0x535938=a1_0x5359();return a1_0x154b=function(_0x154ba0,_0x276319){_0x154ba0=_0x154ba0-0x177;let _0x424946=_0x535938[_0x154ba0];return _0x424946;},a1_0x154b(_0x1209b8,_0x1a2d50);}import{getAuthHeaders,toHeaderRecord}from'../core/auth.js';export class CDPClient{[a1_0x1df4e9(0x18d)];[a1_0x1df4e9(0x17a)];[a1_0x1df4e9(0x18b)];constructor(_0x193f68){const _0x40e57a=a1_0x1df4e9,_0x1c3568=getEndpoint(_0x193f68[_0x40e57a(0x17e)],'cdp');this[_0x40e57a(0x17a)]=toHeaderRecord(getAuthHeaders(_0x193f68[_0x40e57a(0x17e)],_0x193f68[_0x40e57a(0x186)])),this[_0x40e57a(0x18b)]=_0x193f68[_0x40e57a(0x18b)],this['httpClient']=new HTTPClient(_0x1c3568,{...this[_0x40e57a(0x17a)],'Accept':_0x40e57a(0x183),'Content-Type':_0x40e57a(0x18e)});}[a1_0x1df4e9(0x18f)](_0x2dface,_0x231ac2){const _0x2f6d84=a1_0x1df4e9;this[_0x2f6d84(0x18b)]&&(console['error'](_0x2f6d84(0x17d)+_0x2dface),console[_0x2f6d84(0x177)](JSON['stringify'](_0x231ac2,null,0x2)));}async[a1_0x1df4e9(0x189)](){const _0x37107a=a1_0x1df4e9,_0x49fa6f=_0x37107a(0x184),_0xd69276=await this[_0x37107a(0x18d)][_0x37107a(0x182)](_0x37107a(0x1a0),_0x49fa6f);return this[_0x37107a(0x18f)](_0x49fa6f,_0xd69276),Array[_0x37107a(0x1a1)](_0xd69276)?_0xd69276:_0xd69276['data'];}async[a1_0x1df4e9(0x181)](_0xa151ef){const _0x596c27=a1_0x1df4e9,_0x109201='/entities/parent_segments/'+_0xa151ef,_0x4541b4=await this[_0x596c27(0x18d)]['request']('GET',_0x109201);return this[_0x596c27(0x18f)](_0x109201,_0x4541b4),_0x596c27(0x185)in _0x4541b4?_0x4541b4[_0x596c27(0x185)]:_0x4541b4;}async[a1_0x1df4e9(0x187)](_0x140051){const _0x1c38c7=a1_0x1df4e9,_0x5df231=_0x1c38c7(0x17f)+_0x140051+_0x1c38c7(0x17c),_0xc0bf4=await this['httpClient']['request']('GET',_0x5df231);return this[_0x1c38c7(0x18f)](_0x5df231,_0xc0bf4),Array[_0x1c38c7(0x1a1)](_0xc0bf4)?_0xc0bf4:_0xc0bf4[_0x1c38c7(0x185)];}async[a1_0x1df4e9(0x19b)](_0x1e800e,_0x2d6ad7){const _0x12d5f7=a1_0x1df4e9,_0x2e5e69='/audiences/'+_0x1e800e+_0x12d5f7(0x190)+_0x2d6ad7,_0x3b7f77=await this[_0x12d5f7(0x18d)][_0x12d5f7(0x182)](_0x12d5f7(0x1a0),_0x2e5e69);return this['logVerbose'](_0x2e5e69,_0x3b7f77),_0x12d5f7(0x185)in _0x3b7f77?_0x3b7f77['data']:_0x3b7f77;}async['listSegmentFolders'](_0x593dcc){const _0x39ed19=a1_0x1df4e9,_0xf72f5d=_0x39ed19(0x17f)+_0x593dcc+_0x39ed19(0x193),_0x1bcfd1=await this['httpClient'][_0x39ed19(0x182)](_0x39ed19(0x1a0),_0xf72f5d);return this[_0x39ed19(0x18f)](_0xf72f5d,_0x1bcfd1),Array['isArray'](_0x1bcfd1)?_0x1bcfd1:_0x1bcfd1['data'];}async[a1_0x1df4e9(0x192)](_0x376b13){const _0x5a6823=a1_0x1df4e9,_0x10976a=_0x5a6823(0x19e)+_0x376b13,_0x29624a=await this['httpClient'][_0x5a6823(0x182)]('GET',_0x10976a);return this['logVerbose'](_0x10976a,_0x29624a),_0x5a6823(0x185)in _0x29624a?_0x29624a['data']:_0x29624a;}async['listActivations'](_0xfe0884,_0xa6a8b4){const _0xd81b9e=a1_0x1df4e9,_0x554f51=_0xd81b9e(0x17f)+_0xfe0884+_0xd81b9e(0x190)+_0xa6a8b4+_0xd81b9e(0x19a),_0x19e604=await this[_0xd81b9e(0x18d)][_0xd81b9e(0x182)](_0xd81b9e(0x1a0),_0x554f51);return this[_0xd81b9e(0x18f)](_0x554f51,_0x19e604),Array[_0xd81b9e(0x1a1)](_0x19e604)?_0x19e604:_0x19e604[_0xd81b9e(0x185)];}async['getParentSegmentSQL'](_0x2b5aa4){const _0x4cea52=a1_0x1df4e9,_0x399043=_0x4cea52(0x17f)+_0x2b5aa4+'/segments/query',_0x1a64c4=await this[_0x4cea52(0x18d)][_0x4cea52(0x182)]('POST',_0x399043,{'body':{'format':_0x4cea52(0x194)}});return this['logVerbose'](_0x399043,_0x1a64c4),_0x1a64c4[_0x4cea52(0x194)]||_0x1a64c4[_0x4cea52(0x197)]||'';}async[a1_0x1df4e9(0x188)](_0x10ea2b,_0x4ae1e9){const _0xa7af06=a1_0x1df4e9,_0x251526=await this[_0xa7af06(0x19b)](_0x10ea2b,_0x4ae1e9),_0x2598f1={'format':'sql'};_0xa7af06(0x198)in _0x251526&&_0x251526[_0xa7af06(0x198)]&&(_0x2598f1[_0xa7af06(0x198)]=_0x251526[_0xa7af06(0x198)]);const _0x296955=_0xa7af06(0x17f)+_0x10ea2b+_0xa7af06(0x18c),_0x58c2af=await this['httpClient'][_0xa7af06(0x182)](_0xa7af06(0x19f),_0x296955,{'body':_0x2598f1});return this[_0xa7af06(0x18f)](_0x296955,_0x58c2af),_0x58c2af[_0xa7af06(0x194)]||_0x58c2af[_0xa7af06(0x197)]||'';}}
1
+ const a1_0x5a4676=a1_0xd62c;function a1_0xd62c(_0x18510f,_0x52a846){const _0x40fb98=a1_0x40fb();return a1_0xd62c=function(_0xd62c51,_0x3bfb0d){_0xd62c51=_0xd62c51-0x119;let _0x14f13a=_0x40fb98[_0xd62c51];return _0x14f13a;},a1_0xd62c(_0x18510f,_0x52a846);}(function(_0x296502,_0xd325b3){const _0x508e75=a1_0xd62c,_0x17d0a1=_0x296502();while(!![]){try{const _0x262acf=-parseInt(_0x508e75(0x128))/0x1*(-parseInt(_0x508e75(0x139))/0x2)+-parseInt(_0x508e75(0x126))/0x3+parseInt(_0x508e75(0x11d))/0x4*(parseInt(_0x508e75(0x130))/0x5)+-parseInt(_0x508e75(0x12c))/0x6*(-parseInt(_0x508e75(0x125))/0x7)+-parseInt(_0x508e75(0x11b))/0x8*(parseInt(_0x508e75(0x13c))/0x9)+-parseInt(_0x508e75(0x144))/0xa*(parseInt(_0x508e75(0x120))/0xb)+-parseInt(_0x508e75(0x124))/0xc;if(_0x262acf===_0xd325b3)break;else _0x17d0a1['push'](_0x17d0a1['shift']());}catch(_0x472714){_0x17d0a1['push'](_0x17d0a1['shift']());}}}(a1_0x40fb,0x3117c));import{HTTPClient}from'./http-client.js';import{getEndpoint}from'../types/index.js';import{getAuthHeaders,toHeaderRecord}from'../core/auth.js';export class CDPClient{['httpClient'];[a1_0x5a4676(0x11a)];[a1_0x5a4676(0x12d)];constructor(_0x4b0d76){const _0x177590=a1_0x5a4676,_0x55055e=getEndpoint(_0x4b0d76['site'],'cdp');this[_0x177590(0x11a)]=toHeaderRecord(getAuthHeaders(_0x4b0d76[_0x177590(0x12f)],_0x4b0d76[_0x177590(0x135)])),this[_0x177590(0x12d)]=_0x4b0d76[_0x177590(0x12d)],this[_0x177590(0x140)]=new HTTPClient(_0x55055e,{...this[_0x177590(0x11a)],'Accept':'application/vnd.treasuredata.v1+json','Content-Type':'application/json'});}['logVerbose'](_0x68e0ba,_0x2a7afb){const _0x596e0e=a1_0x5a4676;this[_0x596e0e(0x12d)]&&(console[_0x596e0e(0x119)](_0x596e0e(0x141)+_0x68e0ba),console[_0x596e0e(0x119)](JSON[_0x596e0e(0x122)](_0x2a7afb,null,0x2)));}async['listParentSegments'](){const _0x2b161b=a1_0x5a4676,_0x19500b=_0x2b161b(0x134),_0x52409f=await this[_0x2b161b(0x140)][_0x2b161b(0x131)]('GET',_0x19500b);return this['logVerbose'](_0x19500b,_0x52409f),Array['isArray'](_0x52409f)?_0x52409f:_0x52409f[_0x2b161b(0x133)];}async['getParentSegment'](_0x3e8e7b){const _0x9f2eb4=a1_0x5a4676,_0x30ca4b=_0x9f2eb4(0x142)+_0x3e8e7b,_0x43281c=await this[_0x9f2eb4(0x140)][_0x9f2eb4(0x131)](_0x9f2eb4(0x129),_0x30ca4b);return this[_0x9f2eb4(0x12a)](_0x30ca4b,_0x43281c),_0x9f2eb4(0x133)in _0x43281c?_0x43281c['data']:_0x43281c;}async[a1_0x5a4676(0x11e)](_0x2659ae){const _0x56f9d3=a1_0x5a4676,_0x137ba7='/audiences/'+_0x2659ae+_0x56f9d3(0x132),_0x3acf02=await this[_0x56f9d3(0x140)][_0x56f9d3(0x131)](_0x56f9d3(0x129),_0x137ba7);return this[_0x56f9d3(0x12a)](_0x137ba7,_0x3acf02),Array[_0x56f9d3(0x13d)](_0x3acf02)?_0x3acf02:_0x3acf02[_0x56f9d3(0x133)];}async[a1_0x5a4676(0x138)](_0x25a60c,_0x18b696){const _0x5a63cb=a1_0x5a4676,_0x370b2f=_0x5a63cb(0x13a)+_0x25a60c+_0x5a63cb(0x12b)+_0x18b696,_0x22e5e4=await this[_0x5a63cb(0x140)][_0x5a63cb(0x131)]('GET',_0x370b2f);return this['logVerbose'](_0x370b2f,_0x22e5e4),'data'in _0x22e5e4?_0x22e5e4[_0x5a63cb(0x133)]:_0x22e5e4;}async[a1_0x5a4676(0x11c)](_0x317753){const _0x4a9290=a1_0x5a4676,_0x1ff98f=_0x4a9290(0x13a)+_0x317753+_0x4a9290(0x143),_0x139413=await this[_0x4a9290(0x140)]['request'](_0x4a9290(0x129),_0x1ff98f);return this[_0x4a9290(0x12a)](_0x1ff98f,_0x139413),Array[_0x4a9290(0x13d)](_0x139413)?_0x139413:_0x139413[_0x4a9290(0x133)];}async[a1_0x5a4676(0x13e)](_0x4c2739){const _0x366867=a1_0x5a4676,_0x14b60d=_0x366867(0x145)+_0x4c2739,_0x49732f=await this[_0x366867(0x140)][_0x366867(0x131)](_0x366867(0x129),_0x14b60d);return this[_0x366867(0x12a)](_0x14b60d,_0x49732f),'data'in _0x49732f?_0x49732f[_0x366867(0x133)]:_0x49732f;}async[a1_0x5a4676(0x13b)](_0x2e1663,_0x1e3da6){const _0x4b8e45=a1_0x5a4676,_0x367d72=_0x4b8e45(0x13a)+_0x2e1663+_0x4b8e45(0x12b)+_0x1e3da6+_0x4b8e45(0x11f),_0x235436=await this['httpClient'][_0x4b8e45(0x131)]('GET',_0x367d72);return this[_0x4b8e45(0x12a)](_0x367d72,_0x235436),Array[_0x4b8e45(0x13d)](_0x235436)?_0x235436:_0x235436[_0x4b8e45(0x133)];}async[a1_0x5a4676(0x121)](_0x1f84c0){const _0x11e19a=a1_0x5a4676,_0xa7d80b=_0x11e19a(0x13a)+_0x1f84c0+'/segments/query',_0x5486e0=await this[_0x11e19a(0x140)][_0x11e19a(0x131)](_0x11e19a(0x127),_0xa7d80b,{'body':{'format':_0x11e19a(0x123)}});return this[_0x11e19a(0x12a)](_0xa7d80b,_0x5486e0),_0x5486e0[_0x11e19a(0x123)]||_0x5486e0[_0x11e19a(0x137)]||'';}async[a1_0x5a4676(0x12e)](_0x3e62e6,_0x183e45){const _0x139ec9=a1_0x5a4676,_0x7a8bc0=await this[_0x139ec9(0x138)](_0x3e62e6,_0x183e45),_0x5a372e={'format':'sql'};_0x139ec9(0x136)in _0x7a8bc0&&_0x7a8bc0[_0x139ec9(0x136)]&&(_0x5a372e['rule']=_0x7a8bc0['rule']);const _0x1204d4=_0x139ec9(0x13a)+_0x3e62e6+_0x139ec9(0x13f),_0x4b57ef=await this['httpClient']['request'](_0x139ec9(0x127),_0x1204d4,{'body':_0x5a372e});return this[_0x139ec9(0x12a)](_0x1204d4,_0x4b57ef),_0x4b57ef[_0x139ec9(0x123)]||_0x4b57ef['query']||'';}}function a1_0x40fb(){const _0x31f107=['logVerbose','/segments/','18omHLGr','verbose','getSegmentSQL','site','50nExVUX','request','/segments','data','/entities/parent_segments','apiKey','rule','query','getSegment','126422VhitCG','/audiences/','listActivations','116577sLFMlL','isArray','getSegmentFolder','/segments/query','httpClient','\x0a[CDP\x20API\x20Response]\x20','/entities/parent_segments/','/folders','230GwRgcO','/entities/folders/','error','authHeaders','32AwhShY','listSegmentFolders','85276LprqfN','listSegments','/syndications','174053cLfPpM','getParentSegmentSQL','stringify','sql','227592oVwPhp','705586lAUowl','208278ifhLUX','POST','3eVghZj','GET'];a1_0x40fb=function(){return _0x31f107;};return a1_0x40fb();}
@@ -1 +1 @@
1
- const a2_0x1dc0ec=a2_0x2c13;(function(_0x4735e3,_0x46b0db){const _0x3378b0=a2_0x2c13,_0x37e0e4=_0x4735e3();while(!![]){try{const _0x4e06b2=-parseInt(_0x3378b0(0xdb))/0x1*(parseInt(_0x3378b0(0xbc))/0x2)+-parseInt(_0x3378b0(0xe2))/0x3*(-parseInt(_0x3378b0(0xf0))/0x4)+parseInt(_0x3378b0(0xc5))/0x5+parseInt(_0x3378b0(0xd2))/0x6*(parseInt(_0x3378b0(0xbd))/0x7)+-parseInt(_0x3378b0(0xd0))/0x8*(parseInt(_0x3378b0(0xd8))/0x9)+parseInt(_0x3378b0(0xc4))/0xa*(parseInt(_0x3378b0(0xc8))/0xb)+parseInt(_0x3378b0(0xd5))/0xc*(-parseInt(_0x3378b0(0xbe))/0xd);if(_0x4e06b2===_0x46b0db)break;else _0x37e0e4['push'](_0x37e0e4['shift']());}catch(_0x220ab0){_0x37e0e4['push'](_0x37e0e4['shift']());}}}(a2_0x1ce3,0x78b8b));function a2_0x2c13(_0x164e70,_0x4b30b1){const _0x1ce342=a2_0x1ce3();return a2_0x2c13=function(_0x2c13fa,_0x52fe08){_0x2c13fa=_0x2c13fa-0xa5;let _0x20413b=_0x1ce342[_0x2c13fa];return _0x20413b;},a2_0x2c13(_0x164e70,_0x4b30b1);}import{ErrorCode,SDKError}from'../sdk/errors.js';import a2_0x12200f from'json-bigint';const DEFAULT_RETRY_CONFIG={'maxRetries':0x3,'baseDelay':0x3e8,'maxDelay':0x1f40};function a2_0x1ce3(){const _0x16bafd=['NOT_FOUND','Retry-After','31712wrVaSg','about:blank','forEach','RATE_LIMITED','Request\x20cancelled\x20by\x20user','retryConfig','detail','pow','combineSignals','aborted','Content-Type','INVALID_ARGUMENT','requestSSE','arrayBuffer','defaultHeaders','maxRetries','safeParseJSON','warn','PERMISSION_DENIED','from','UNAVAILABLE','string','Request\x20failed\x20after\x20retries','addEventListener','798dNkFAj','868acAEox','4537iBVLxd','type','parseProblemDetails','title','HTTP\x20','\x20failed:\x20','1471510qGFINl','3522995YOBXEs','\x0a\x20\x20URL:\x20','round','44seyTns','name','baseUrl','status','object','retrying\x20in\x20',']\x20Request\x20to\x20','ms...','215480dtZCHS','sleep','40458wDNwyn','text','code','37668KyhGtN','json','headers','216DwAGjQ','stringify','message','1043YDNJSb','\x0a\x20\x20Details:\x20','[Retry\x20','get','signal','random','body','198nJNbvN','Error','HTTPClientError','abort',']\x20Request\x20failed\x20with\x20','min','baseDelay','UNAUTHENTICATED','Request\x20to\x20','problemDetails','statusText',']\x20Request\x20failed\x20with\x20HTTP\x20'];a2_0x1ce3=function(){return _0x16bafd;};return a2_0x1ce3();}function isRetryableError(_0x88d352){return _0x88d352>=0x1f4||_0x88d352===0x1ad;}function getRetryDelay(_0x13b052,_0x35bf62){const _0x292402=a2_0x2c13,_0x356a0c=Math[_0x292402(0xe7)](_0x35bf62[_0x292402(0xe8)]*Math[_0x292402(0xab)](0x2,_0x13b052),_0x35bf62['maxDelay']);return Math[_0x292402(0xe0)]()*_0x356a0c;}function statusCodeToErrorCode(_0x3dcce0){const _0x314ac3=a2_0x2c13;if(_0x3dcce0===0x191)return ErrorCode[_0x314ac3(0xe9)];else{if(_0x3dcce0===0x193)return ErrorCode[_0x314ac3(0xb6)];else{if(_0x3dcce0===0x194)return ErrorCode[_0x314ac3(0xee)];else{if(_0x3dcce0===0x1ad)return ErrorCode[_0x314ac3(0xa7)];else return _0x3dcce0>=0x1f4?ErrorCode[_0x314ac3(0xb8)]:ErrorCode[_0x314ac3(0xaf)];}}}}export class HTTPClientError extends Error{[a2_0x1dc0ec(0xcb)];[a2_0x1dc0ec(0xeb)];[a2_0x1dc0ec(0xd4)];constructor(_0x157006,_0x3e3b55,_0x2c61d2){const _0xabe77=a2_0x1dc0ec,_0x223262=statusCodeToErrorCode(_0x3e3b55);super('['+_0x223262+']\x20'+_0x157006),this[_0xabe77(0xcb)]=_0x3e3b55,this['problemDetails']=_0x2c61d2,this[_0xabe77(0xc9)]=_0xabe77(0xe4),this['code']=_0x223262;}}export class HTTPClient{[a2_0x1dc0ec(0xa9)];[a2_0x1dc0ec(0xca)];[a2_0x1dc0ec(0xb2)];constructor(_0x11c3cc,_0x3cdd9e={},_0x2d60f6){const _0x50445a=a2_0x1dc0ec;this['baseUrl']=_0x11c3cc,this[_0x50445a(0xb2)]=_0x3cdd9e,this['retryConfig']={...DEFAULT_RETRY_CONFIG,..._0x2d60f6};}async['request'](_0x7dc5c5,_0x69ef0,_0x4c2022={}){const _0x48a6cb=a2_0x1dc0ec,{headers:headers={},body:_0x39ec66,timeout:timeout=0x7530,retries:retries=this['retryConfig'][_0x48a6cb(0xb3)],signal:_0x243785,includeHeaders:includeHeaders=![],responseType:responseType=_0x48a6cb(0xd6)}=_0x4c2022,_0x4f36ea=''+this[_0x48a6cb(0xca)]+_0x69ef0,_0xf63e83={...this[_0x48a6cb(0xb2)],...headers};if(_0x39ec66&&!_0xf63e83[_0x48a6cb(0xae)]){if(_0x39ec66 instanceof Buffer){}else _0xf63e83[_0x48a6cb(0xae)]='application/json';}let _0x4bc4d1;_0x39ec66&&(_0x39ec66 instanceof Buffer?_0x4bc4d1=_0x39ec66:_0x4bc4d1=typeof _0x39ec66==='string'?_0x39ec66:JSON[_0x48a6cb(0xd9)](_0x39ec66));let _0x138301=null;for(let _0x596e65=0x0;_0x596e65<=retries;_0x596e65++){try{const _0x103349=new AbortController(),_0x517e57=setTimeout(()=>_0x103349[_0x48a6cb(0xe5)](),timeout);if(_0x243785){if(_0x243785['aborted'])throw new Error('Request\x20cancelled\x20by\x20user');_0x243785['addEventListener'](_0x48a6cb(0xe5),()=>_0x103349[_0x48a6cb(0xe5)](),{'once':!![]});}const _0x1beb80=await fetch(_0x4f36ea,{'method':_0x7dc5c5,'headers':_0xf63e83,'body':_0x4bc4d1,'signal':_0x103349[_0x48a6cb(0xdf)]});clearTimeout(_0x517e57);if(_0x596e65<retries&&isRetryableError(_0x1beb80[_0x48a6cb(0xcb)])){const _0x30c348=_0x1beb80[_0x48a6cb(0xd7)][_0x48a6cb(0xde)](_0x48a6cb(0xef)),_0x49227b=_0x30c348?parseInt(_0x30c348,0xa)*0x3e8:getRetryDelay(_0x596e65,this['retryConfig']);console[_0x48a6cb(0xb5)](_0x48a6cb(0xdd)+(_0x596e65+0x1)+'/'+retries+_0x48a6cb(0xe6)+_0x1beb80[_0x48a6cb(0xcb)]+',\x20'+('retrying\x20in\x20'+Math[_0x48a6cb(0xc7)](_0x49227b)+_0x48a6cb(0xcf))),await this[_0x48a6cb(0xd1)](_0x49227b);continue;}if(!_0x1beb80['ok']){const _0x1dccf3=await this[_0x48a6cb(0xb4)](_0x1beb80),_0xe75adb=this[_0x48a6cb(0xc0)](_0x1dccf3,_0x1beb80[_0x48a6cb(0xcb)]);let _0x3014ff;if(_0x1beb80['status']===0x191)_0x3014ff='HTTP\x20'+_0x1beb80['status']+':\x20'+_0x1beb80[_0x48a6cb(0xec)]+_0x48a6cb(0xc6)+_0x4f36ea;else{if(_0xe75adb?.[_0x48a6cb(0xaa)])_0x3014ff=_0xe75adb['detail'];else{if(_0x1dccf3){const _0x4f2c7b=JSON[_0x48a6cb(0xd9)](_0x1dccf3);_0x3014ff=_0x48a6cb(0xc2)+_0x1beb80[_0x48a6cb(0xcb)]+':\x20'+_0x1beb80[_0x48a6cb(0xec)]+'\x0a\x20\x20Details:\x20'+_0x4f2c7b;}else _0x3014ff=_0x48a6cb(0xc2)+_0x1beb80[_0x48a6cb(0xcb)]+':\x20'+_0x1beb80['statusText'];}}throw new HTTPClientError(_0x3014ff,_0x1beb80[_0x48a6cb(0xcb)],_0xe75adb);}let _0x5c2e02;if(responseType==='arraybuffer'){const _0x1491ff=await _0x1beb80[_0x48a6cb(0xb1)]();_0x5c2e02=Buffer[_0x48a6cb(0xb7)](_0x1491ff);}else responseType==='text'?_0x5c2e02=await _0x1beb80[_0x48a6cb(0xd3)]():_0x5c2e02=await this[_0x48a6cb(0xb4)](_0x1beb80);if(includeHeaders){const _0x42b112={};return _0x1beb80[_0x48a6cb(0xd7)][_0x48a6cb(0xa6)]((_0x3a96f0,_0x45ec19)=>{_0x42b112[_0x45ec19]=_0x3a96f0;}),{'data':_0x5c2e02,'status':_0x1beb80[_0x48a6cb(0xcb)],'headers':_0x42b112};}return _0x5c2e02;}catch(_0x766b6){_0x138301=_0x766b6 instanceof Error?_0x766b6:new Error(String(_0x766b6));if(_0x766b6 instanceof HTTPClientError&&!isRetryableError(_0x766b6['status']))throw _0x766b6;if(_0x596e65>=retries)throw _0x138301;const _0x13943b=getRetryDelay(_0x596e65,this[_0x48a6cb(0xa9)]);let _0x4ebc6b;_0x138301 instanceof HTTPClientError?_0x4ebc6b=_0x48a6cb(0xdd)+(_0x596e65+0x1)+'/'+retries+_0x48a6cb(0xed)+_0x138301[_0x48a6cb(0xcb)]+':\x20'+_0x138301[_0x48a6cb(0xda)]+',\x20'+(_0x48a6cb(0xcd)+Math['round'](_0x13943b)+'ms...'):_0x4ebc6b=_0x48a6cb(0xdd)+(_0x596e65+0x1)+'/'+retries+_0x48a6cb(0xce)+_0x4f36ea+'\x20failed:\x20'+_0x138301[_0x48a6cb(0xda)]+',\x20'+(_0x48a6cb(0xcd)+Math['round'](_0x13943b)+'ms...'),console[_0x48a6cb(0xb5)](_0x4ebc6b),await this[_0x48a6cb(0xd1)](_0x13943b);}}if(_0x138301&&!(_0x138301 instanceof HTTPClientError))throw new SDKError(ErrorCode['HTTP_REQUEST_FAILURE'],_0x48a6cb(0xea)+_0x4f36ea+_0x48a6cb(0xc3)+_0x138301[_0x48a6cb(0xda)],_0x138301);throw _0x138301||new SDKError(ErrorCode['INTERNAL'],_0x48a6cb(0xba));}async[a2_0x1dc0ec(0xb4)](_0x5a56a9){const _0x71f4a0=a2_0x1dc0ec,_0x30a184=await _0x5a56a9[_0x71f4a0(0xd3)]();if(!_0x30a184)return null;try{const _0x2aaa46=a2_0x12200f({'storeAsString':!![]});return _0x2aaa46['parse'](_0x30a184);}catch{return{'body':_0x30a184};}}['parseProblemDetails'](_0x1f3989,_0x394e98){const _0x236b9c=a2_0x1dc0ec;if(!_0x1f3989||typeof _0x1f3989!==_0x236b9c(0xcc))return undefined;const _0x2a27cb=_0x1f3989;if(_0x2a27cb['type']||_0x2a27cb[_0x236b9c(0xc1)]||_0x2a27cb[_0x236b9c(0xaa)])return{'type':_0x2a27cb[_0x236b9c(0xbf)]||_0x236b9c(0xa5),'title':_0x2a27cb['title']||_0x236b9c(0xe3),'status':_0x2a27cb[_0x236b9c(0xcb)]||_0x394e98,'detail':_0x2a27cb[_0x236b9c(0xaa)]||'An\x20error\x20occurred','instance':_0x2a27cb['instance']||'',..._0x2a27cb};return undefined;}['sleep'](_0x36a04d){return new Promise(_0x1d2860=>setTimeout(_0x1d2860,_0x36a04d));}async[a2_0x1dc0ec(0xb0)](_0xdbe352,_0x1aacd4,_0x4c8295={}){const _0x387f21=a2_0x1dc0ec,{headers:headers={},body:_0x2534e2,timeout:timeout=0x7530,signal:_0x39899f}=_0x4c8295,_0x2f4173=''+this[_0x387f21(0xca)]+_0x1aacd4,_0xfbeaca={...this[_0x387f21(0xb2)],...headers},_0x5e795d=new AbortController(),_0x3dc8ea=setTimeout(()=>_0x5e795d['abort'](),timeout),_0x559173=_0x39899f?[_0x5e795d[_0x387f21(0xdf)],_0x39899f]:[_0x5e795d[_0x387f21(0xdf)]],_0x19082a=this[_0x387f21(0xac)](_0x559173);try{const _0x5b4843={'method':_0xdbe352,'headers':_0xfbeaca,'signal':_0x19082a};if(_0x2534e2){if(typeof _0x2534e2===_0x387f21(0xb9))_0x5b4843[_0x387f21(0xe1)]=_0x2534e2;else _0x2534e2 instanceof Buffer?_0x5b4843[_0x387f21(0xe1)]=_0x2534e2:_0x5b4843[_0x387f21(0xe1)]=JSON['stringify'](_0x2534e2);}const _0x1468d4=await fetch(_0x2f4173,_0x5b4843);clearTimeout(_0x3dc8ea);if(!_0x1468d4['ok']){const _0x453836=await this[_0x387f21(0xb4)](_0x1468d4),_0x5e1088=this['parseProblemDetails'](_0x453836,_0x1468d4[_0x387f21(0xcb)]);let _0x4d9e6e;if(_0x1468d4['status']===0x191)_0x4d9e6e=_0x387f21(0xc2)+_0x1468d4[_0x387f21(0xcb)]+':\x20'+_0x1468d4[_0x387f21(0xec)]+'\x0a\x20\x20URL:\x20'+_0x2f4173;else{if(_0x5e1088?.[_0x387f21(0xaa)])_0x4d9e6e=_0x5e1088[_0x387f21(0xaa)];else{if(_0x453836){const _0x4d8a8a=JSON['stringify'](_0x453836);_0x4d9e6e=_0x387f21(0xc2)+_0x1468d4[_0x387f21(0xcb)]+':\x20'+_0x1468d4[_0x387f21(0xec)]+_0x387f21(0xdc)+_0x4d8a8a;}else _0x4d9e6e=_0x387f21(0xc2)+_0x1468d4[_0x387f21(0xcb)]+':\x20'+_0x1468d4[_0x387f21(0xec)];}}throw new HTTPClientError(_0x4d9e6e,_0x1468d4['status'],_0x5e1088);}return _0x1468d4;}catch(_0x51d3d3){clearTimeout(_0x3dc8ea);if(_0x51d3d3 instanceof HTTPClientError)throw _0x51d3d3;if(_0x51d3d3['name']==='AbortError')throw new Error(_0x387f21(0xa8));throw _0x51d3d3;}}[a2_0x1dc0ec(0xac)](_0x54fb13){const _0x1be08a=a2_0x1dc0ec,_0xe3de9e=new AbortController();for(const _0x4755f3 of _0x54fb13){if(_0x4755f3[_0x1be08a(0xad)])return _0xe3de9e[_0x1be08a(0xe5)](),_0xe3de9e[_0x1be08a(0xdf)];_0x4755f3[_0x1be08a(0xbb)](_0x1be08a(0xe5),()=>_0xe3de9e[_0x1be08a(0xe5)](),{'once':!![]});}return _0xe3de9e[_0x1be08a(0xdf)];}}
1
+ const a2_0x34d586=a2_0x31fd;(function(_0x4d746a,_0x21ae6a){const _0x245b9f=a2_0x31fd,_0x42000e=_0x4d746a();while(!![]){try{const _0x3b6586=-parseInt(_0x245b9f(0x8f))/0x1+parseInt(_0x245b9f(0x9f))/0x2+-parseInt(_0x245b9f(0xa5))/0x3+-parseInt(_0x245b9f(0xa9))/0x4+-parseInt(_0x245b9f(0xb9))/0x5*(parseInt(_0x245b9f(0xbf))/0x6)+-parseInt(_0x245b9f(0xa4))/0x7+parseInt(_0x245b9f(0x8c))/0x8*(parseInt(_0x245b9f(0xb5))/0x9);if(_0x3b6586===_0x21ae6a)break;else _0x42000e['push'](_0x42000e['shift']());}catch(_0x15dc32){_0x42000e['push'](_0x42000e['shift']());}}}(a2_0x12ec,0x83d76));import{ErrorCode,SDKError}from'../sdk/errors.js';import a2_0x224f60 from'json-bigint';function a2_0x31fd(_0x121b26,_0x32dfe8){const _0x12ec03=a2_0x12ec();return a2_0x31fd=function(_0x31fdc6,_0x4d62c3){_0x31fdc6=_0x31fdc6-0x7c;let _0xf4691e=_0x12ec03[_0x31fdc6];return _0xf4691e;},a2_0x31fd(_0x121b26,_0x32dfe8);}function a2_0x12ec(){const _0x2a41dd=['baseDelay','357266FuZGXl','1178643WffSkC','from','arraybuffer','string','753252RqAWWM','ms...','safeParseJSON','aborted','\x20failed:\x20','RATE_LIMITED','UNAVAILABLE','text','statusText','INTERNAL',']\x20Request\x20to\x20','HTTP\x20','3917718AOAKmt','baseUrl','\x0a\x20\x20Details:\x20','signal','5aOiFgp','application/json','parse','status','name','message','3187038fRQxbA','NOT_FOUND','instance','code','maxDelay','INVALID_ARGUMENT','\x0a\x20\x20URL:\x20','HTTPClientError','Content-Type','addEventListener','min','[Retry\x20','requestSSE',']\x20Request\x20failed\x20with\x20','UNAUTHENTICATED','arrayBuffer','Request\x20cancelled\x20by\x20user','defaultHeaders','request','type','PERMISSION_DENIED','Request\x20failed\x20after\x20retries','title','32avWMAb','Error',']\x20Request\x20failed\x20with\x20HTTP\x20','1011891iIhXgC','AbortError','json','about:blank','stringify','retryConfig','abort','pow','retrying\x20in\x20','sleep','detail','HTTP_REQUEST_FAILURE','body','round','object','warn','1948220LdjrOb','maxRetries','headers','parseProblemDetails'];a2_0x12ec=function(){return _0x2a41dd;};return a2_0x12ec();}const DEFAULT_RETRY_CONFIG={'maxRetries':0x3,'baseDelay':0x3e8,'maxDelay':0x1f40};function isRetryableError(_0x2ab497){return _0x2ab497>=0x1f4||_0x2ab497===0x1ad;}function getRetryDelay(_0x232ceb,_0x1e112b){const _0x2da09d=a2_0x31fd,_0x2d99fb=Math[_0x2da09d(0x7f)](_0x1e112b[_0x2da09d(0xa3)]*Math[_0x2da09d(0x96)](0x2,_0x232ceb),_0x1e112b[_0x2da09d(0xc3)]);return Math['random']()*_0x2d99fb;}function statusCodeToErrorCode(_0x4910c6){const _0x433fe1=a2_0x31fd;if(_0x4910c6===0x191)return ErrorCode[_0x433fe1(0x83)];else{if(_0x4910c6===0x193)return ErrorCode[_0x433fe1(0x89)];else{if(_0x4910c6===0x194)return ErrorCode[_0x433fe1(0xc0)];else{if(_0x4910c6===0x1ad)return ErrorCode[_0x433fe1(0xae)];else return _0x4910c6>=0x1f4?ErrorCode[_0x433fe1(0xaf)]:ErrorCode[_0x433fe1(0xc4)];}}}}export class HTTPClientError extends Error{[a2_0x34d586(0xbc)];['problemDetails'];[a2_0x34d586(0xc2)];constructor(_0x32946b,_0x2b984e,_0x474042){const _0x37771e=a2_0x34d586,_0x25cf39=statusCodeToErrorCode(_0x2b984e);super('['+_0x25cf39+']\x20'+_0x32946b),this[_0x37771e(0xbc)]=_0x2b984e,this['problemDetails']=_0x474042,this[_0x37771e(0xbd)]=_0x37771e(0x7c),this[_0x37771e(0xc2)]=_0x25cf39;}}export class HTTPClient{[a2_0x34d586(0x94)];['baseUrl'];[a2_0x34d586(0x86)];constructor(_0x5e5a3b,_0x51a533={},_0x470b22){const _0x31e338=a2_0x34d586;this['baseUrl']=_0x5e5a3b,this[_0x31e338(0x86)]=_0x51a533,this[_0x31e338(0x94)]={...DEFAULT_RETRY_CONFIG,..._0x470b22};}async[a2_0x34d586(0x87)](_0x106e4b,_0x1142f2,_0x32e0a2={}){const _0x1124d0=a2_0x34d586,{headers:headers={},body:_0x3fca16,timeout:timeout=0x7530,retries:retries=this['retryConfig'][_0x1124d0(0xa0)],signal:_0x56d253,includeHeaders:includeHeaders=![],responseType:responseType=_0x1124d0(0x91)}=_0x32e0a2,_0xadf736=''+this[_0x1124d0(0xb6)]+_0x1142f2,_0x578f51={...this[_0x1124d0(0x86)],...headers};if(_0x3fca16&&!_0x578f51[_0x1124d0(0x7d)]){if(_0x3fca16 instanceof Buffer){}else _0x578f51[_0x1124d0(0x7d)]=_0x1124d0(0xba);}let _0x3f2331;_0x3fca16&&(_0x3fca16 instanceof Buffer?_0x3f2331=_0x3fca16:_0x3f2331=typeof _0x3fca16===_0x1124d0(0xa8)?_0x3fca16:JSON[_0x1124d0(0x93)](_0x3fca16));let _0x2a7c2c=null;for(let _0x43281a=0x0;_0x43281a<=retries;_0x43281a++){try{const _0xb18ad5=new AbortController(),_0x7c77c9=setTimeout(()=>_0xb18ad5[_0x1124d0(0x95)](),timeout);if(_0x56d253){if(_0x56d253[_0x1124d0(0xac)])throw new Error(_0x1124d0(0x85));_0x56d253[_0x1124d0(0x7e)]('abort',()=>_0xb18ad5[_0x1124d0(0x95)](),{'once':!![]});}const _0x2ece0b=await fetch(_0xadf736,{'method':_0x106e4b,'headers':_0x578f51,'body':_0x3f2331,'signal':_0xb18ad5[_0x1124d0(0xb8)]});clearTimeout(_0x7c77c9);if(_0x43281a<retries&&isRetryableError(_0x2ece0b['status'])){const _0x152bec=_0x2ece0b[_0x1124d0(0xa1)]['get']('Retry-After'),_0x13ef89=_0x152bec?parseInt(_0x152bec,0xa)*0x3e8:getRetryDelay(_0x43281a,this[_0x1124d0(0x94)]);console[_0x1124d0(0x9e)](_0x1124d0(0x80)+(_0x43281a+0x1)+'/'+retries+_0x1124d0(0x82)+_0x2ece0b[_0x1124d0(0xbc)]+',\x20'+(_0x1124d0(0x97)+Math[_0x1124d0(0x9c)](_0x13ef89)+_0x1124d0(0xaa))),await this[_0x1124d0(0x98)](_0x13ef89);continue;}if(!_0x2ece0b['ok']){const _0x37b7e2=await this['safeParseJSON'](_0x2ece0b),_0xac76ab=this[_0x1124d0(0xa2)](_0x37b7e2,_0x2ece0b[_0x1124d0(0xbc)]);let _0x53f2a7;if(_0x2ece0b['status']===0x191)_0x53f2a7=_0x1124d0(0xb4)+_0x2ece0b[_0x1124d0(0xbc)]+':\x20'+_0x2ece0b[_0x1124d0(0xb1)]+_0x1124d0(0xc5)+_0xadf736;else{if(_0xac76ab?.[_0x1124d0(0x99)])_0x53f2a7=_0xac76ab['detail'];else{if(_0x37b7e2){const _0x28ac15=JSON[_0x1124d0(0x93)](_0x37b7e2);_0x53f2a7=_0x1124d0(0xb4)+_0x2ece0b[_0x1124d0(0xbc)]+':\x20'+_0x2ece0b[_0x1124d0(0xb1)]+'\x0a\x20\x20Details:\x20'+_0x28ac15;}else _0x53f2a7=_0x1124d0(0xb4)+_0x2ece0b[_0x1124d0(0xbc)]+':\x20'+_0x2ece0b[_0x1124d0(0xb1)];}}throw new HTTPClientError(_0x53f2a7,_0x2ece0b[_0x1124d0(0xbc)],_0xac76ab);}let _0x3fe33f;if(responseType===_0x1124d0(0xa7)){const _0x111460=await _0x2ece0b[_0x1124d0(0x84)]();_0x3fe33f=Buffer[_0x1124d0(0xa6)](_0x111460);}else responseType===_0x1124d0(0xb0)?_0x3fe33f=await _0x2ece0b[_0x1124d0(0xb0)]():_0x3fe33f=await this['safeParseJSON'](_0x2ece0b);if(includeHeaders){const _0x2aa9f0={};return _0x2ece0b[_0x1124d0(0xa1)]['forEach']((_0x134453,_0x37245d)=>{_0x2aa9f0[_0x37245d]=_0x134453;}),{'data':_0x3fe33f,'status':_0x2ece0b[_0x1124d0(0xbc)],'headers':_0x2aa9f0};}return _0x3fe33f;}catch(_0x4bfc47){_0x2a7c2c=_0x4bfc47 instanceof Error?_0x4bfc47:new Error(String(_0x4bfc47));if(_0x4bfc47 instanceof HTTPClientError&&!isRetryableError(_0x4bfc47['status']))throw _0x4bfc47;if(_0x43281a>=retries)throw _0x2a7c2c;const _0x2e3998=getRetryDelay(_0x43281a,this[_0x1124d0(0x94)]);let _0x5082d3;_0x2a7c2c instanceof HTTPClientError?_0x5082d3=_0x1124d0(0x80)+(_0x43281a+0x1)+'/'+retries+_0x1124d0(0x8e)+_0x2a7c2c[_0x1124d0(0xbc)]+':\x20'+_0x2a7c2c[_0x1124d0(0xbe)]+',\x20'+(_0x1124d0(0x97)+Math[_0x1124d0(0x9c)](_0x2e3998)+_0x1124d0(0xaa)):_0x5082d3=_0x1124d0(0x80)+(_0x43281a+0x1)+'/'+retries+_0x1124d0(0xb3)+_0xadf736+_0x1124d0(0xad)+_0x2a7c2c['message']+',\x20'+('retrying\x20in\x20'+Math['round'](_0x2e3998)+_0x1124d0(0xaa)),console[_0x1124d0(0x9e)](_0x5082d3),await this[_0x1124d0(0x98)](_0x2e3998);}}if(_0x2a7c2c&&!(_0x2a7c2c instanceof HTTPClientError))throw new SDKError(ErrorCode[_0x1124d0(0x9a)],'Request\x20to\x20'+_0xadf736+'\x20failed:\x20'+_0x2a7c2c[_0x1124d0(0xbe)],_0x2a7c2c);throw _0x2a7c2c||new SDKError(ErrorCode[_0x1124d0(0xb2)],_0x1124d0(0x8a));}async[a2_0x34d586(0xab)](_0x32ee98){const _0x1f1dc3=a2_0x34d586,_0x2094c6=await _0x32ee98[_0x1f1dc3(0xb0)]();if(!_0x2094c6)return null;try{const _0x377b4d=a2_0x224f60({'storeAsString':!![]});return _0x377b4d[_0x1f1dc3(0xbb)](_0x2094c6);}catch{return{'body':_0x2094c6};}}[a2_0x34d586(0xa2)](_0x38a7eb,_0x4d6c3f){const _0x129371=a2_0x34d586;if(!_0x38a7eb||typeof _0x38a7eb!==_0x129371(0x9d))return undefined;const _0x5c3d5b=_0x38a7eb;if(_0x5c3d5b[_0x129371(0x88)]||_0x5c3d5b[_0x129371(0x8b)]||_0x5c3d5b[_0x129371(0x99)])return{'type':_0x5c3d5b[_0x129371(0x88)]||_0x129371(0x92),'title':_0x5c3d5b[_0x129371(0x8b)]||_0x129371(0x8d),'status':_0x5c3d5b['status']||_0x4d6c3f,'detail':_0x5c3d5b['detail']||'An\x20error\x20occurred','instance':_0x5c3d5b[_0x129371(0xc1)]||'',..._0x5c3d5b};return undefined;}[a2_0x34d586(0x98)](_0x14527f){return new Promise(_0x3dbb76=>setTimeout(_0x3dbb76,_0x14527f));}async[a2_0x34d586(0x81)](_0x183757,_0x1304df,_0x1f2497={}){const _0x4a3f20=a2_0x34d586,{headers:headers={},body:_0x5b8a23,timeout:timeout=0x7530,signal:_0x3dd9aa}=_0x1f2497,_0x44779b=''+this['baseUrl']+_0x1304df,_0x595ffb={...this[_0x4a3f20(0x86)],...headers},_0x497a63=new AbortController(),_0x3c73f3=setTimeout(()=>_0x497a63[_0x4a3f20(0x95)](),timeout),_0x52c418=_0x3dd9aa?[_0x497a63[_0x4a3f20(0xb8)],_0x3dd9aa]:[_0x497a63['signal']],_0x50328b=this['combineSignals'](_0x52c418);try{const _0x2ce927={'method':_0x183757,'headers':_0x595ffb,'signal':_0x50328b};if(_0x5b8a23){if(typeof _0x5b8a23===_0x4a3f20(0xa8))_0x2ce927[_0x4a3f20(0x9b)]=_0x5b8a23;else _0x5b8a23 instanceof Buffer?_0x2ce927[_0x4a3f20(0x9b)]=_0x5b8a23:_0x2ce927[_0x4a3f20(0x9b)]=JSON[_0x4a3f20(0x93)](_0x5b8a23);}const _0x2adda2=await fetch(_0x44779b,_0x2ce927);clearTimeout(_0x3c73f3);if(!_0x2adda2['ok']){const _0x299f78=await this['safeParseJSON'](_0x2adda2),_0x181487=this['parseProblemDetails'](_0x299f78,_0x2adda2['status']);let _0x5cdfd1;if(_0x2adda2[_0x4a3f20(0xbc)]===0x191)_0x5cdfd1='HTTP\x20'+_0x2adda2[_0x4a3f20(0xbc)]+':\x20'+_0x2adda2[_0x4a3f20(0xb1)]+_0x4a3f20(0xc5)+_0x44779b;else{if(_0x181487?.[_0x4a3f20(0x99)])_0x5cdfd1=_0x181487[_0x4a3f20(0x99)];else{if(_0x299f78){const _0x10c7e8=JSON[_0x4a3f20(0x93)](_0x299f78);_0x5cdfd1=_0x4a3f20(0xb4)+_0x2adda2['status']+':\x20'+_0x2adda2[_0x4a3f20(0xb1)]+_0x4a3f20(0xb7)+_0x10c7e8;}else _0x5cdfd1=_0x4a3f20(0xb4)+_0x2adda2[_0x4a3f20(0xbc)]+':\x20'+_0x2adda2[_0x4a3f20(0xb1)];}}throw new HTTPClientError(_0x5cdfd1,_0x2adda2['status'],_0x181487);}return _0x2adda2;}catch(_0x4a115d){clearTimeout(_0x3c73f3);if(_0x4a115d instanceof HTTPClientError)throw _0x4a115d;if(_0x4a115d[_0x4a3f20(0xbd)]===_0x4a3f20(0x90))throw new Error('Request\x20cancelled\x20by\x20user');throw _0x4a115d;}}['combineSignals'](_0x2b43d6){const _0x513215=a2_0x34d586,_0x888031=new AbortController();for(const _0x123853 of _0x2b43d6){if(_0x123853[_0x513215(0xac)])return _0x888031[_0x513215(0x95)](),_0x888031['signal'];_0x123853[_0x513215(0x7e)]('abort',()=>_0x888031['abort'](),{'once':!![]});}return _0x888031[_0x513215(0xb8)];}}