@treasuredata/tdx 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -7
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/client/cdp-client.js +1 -1
- package/dist/client/http-client.js +1 -1
- package/dist/client/llm-client.js +1 -1
- package/dist/client/rate-limiter.js +1 -1
- package/dist/client/td-client.js +1 -1
- package/dist/client/trino-client.js +1 -1
- package/dist/client/workflow-client.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/chat-command.d.ts +6 -1
- package/dist/commands/chat-command.d.ts.map +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/chat-command.js.map +1 -1
- package/dist/commands/command.d.ts.map +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/command.js.map +1 -1
- package/dist/commands/context-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/describe.d.ts.map +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/describe.js.map +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/llm-command.js.map +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.d.ts.map +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/query-command.js.map +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.d.ts.map +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/show.js.map +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/use-command.d.ts.map +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/use-command.js.map +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/index.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/database.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/llm.js +1 -1
- package/dist/sdk/query.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/table.js +1 -1
- package/dist/sdk/workflow.js +1 -1
- package/dist/types/endpoints.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/agent-ref-parser.js +1 -1
- package/dist/utils/chat-cache.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/command-output.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/format-detector.js +1 -1
- package/dist/utils/formatters.js +1 -1
- package/dist/utils/model-aliases.d.ts +25 -0
- package/dist/utils/model-aliases.d.ts.map +1 -0
- package/dist/utils/model-aliases.js +1 -0
- package/dist/utils/model-aliases.js.map +1 -0
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/segment-ref-parser.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sql-parser.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/workflow-utils.js +1 -1
- package/package.json +1 -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
|
-
|
|
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 "
|
|
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-
|
|
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
|
|
329
|
-
tdx chat "
|
|
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 (
|
|
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
|
|
@@ -757,7 +767,7 @@ For `project create`:
|
|
|
757
767
|
|
|
758
768
|
For `agent create`:
|
|
759
769
|
- `--system-prompt <text>`: System prompt/instructions (default: empty)
|
|
760
|
-
- `--model <name>`: Model type (default: claude-4.5-
|
|
770
|
+
- `--model <name>`: Model type or alias (default: claude-4.5-haiku)
|
|
761
771
|
- `--starter-message <text>`: Starter message for the agent
|
|
762
772
|
- `--max-tool-iterations <n>`: Maximum tool iterations (default: 4)
|
|
763
773
|
- `--temperature <n>`: Temperature 0.0-2.0 (default: 0.7)
|
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_0x26301c=a0_0x518f;(function(_0x59828c,_0x1b8350){const _0x5e0c90=a0_0x518f,_0x4a52bc=_0x59828c();while(!![]){try{const _0x553979=parseInt(_0x5e0c90(0x1b9))/0x1*(-parseInt(_0x5e0c90(0x245))/0x2)+parseInt(_0x5e0c90(0x21f))/0x3+parseInt(_0x5e0c90(0x1cd))/0x4*(-parseInt(_0x5e0c90(0x224))/0x5)+-parseInt(_0x5e0c90(0x1a0))/0x6*(-parseInt(_0x5e0c90(0x1b7))/0x7)+-parseInt(_0x5e0c90(0x1c3))/0x8*(-parseInt(_0x5e0c90(0x204))/0x9)+parseInt(_0x5e0c90(0x22e))/0xa*(-parseInt(_0x5e0c90(0x1c1))/0xb)+parseInt(_0x5e0c90(0x236))/0xc;if(_0x553979===_0x1b8350)break;else _0x4a52bc['push'](_0x4a52bc['shift']());}catch(_0x5daf9d){_0x4a52bc['push'](_0x4a52bc['shift']());}}}(a0_0x5e3d,0x59523));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';function a0_0x518f(_0x4f7fbe,_0x17e529){const _0x5e3d44=a0_0x5e3d();return a0_0x518f=function(_0x518f29,_0x5b2014){_0x518f29=_0x518f29-0x15c;let _0x72de4=_0x5e3d44[_0x518f29];return _0x72de4;},a0_0x518f(_0x4f7fbe,_0x17e529);}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_0x26301c(0x1c2)]),__dirname=dirname(__filename),packageJson=JSON['parse'](readFileSync(join(__dirname,a0_0x26301c(0x1e6)),'utf-8')),program=new Command();program[a0_0x26301c(0x20a)](a0_0x26301c(0x1d4))[a0_0x26301c(0x232)](a0_0x26301c(0x217))[a0_0x26301c(0x17a)](packageJson[a0_0x26301c(0x17a)],a0_0x26301c(0x16e),a0_0x26301c(0x1d8)),program[a0_0x26301c(0x18a)](a0_0x26301c(0x1f3),a0_0x26301c(0x175),a0_0x26301c(0x188))[a0_0x26301c(0x18a)](a0_0x26301c(0x214),a0_0x26301c(0x1c7))[a0_0x26301c(0x18a)](a0_0x26301c(0x1dd),a0_0x26301c(0x1e4))[a0_0x26301c(0x18a)]('--jsonl',a0_0x26301c(0x20c))[a0_0x26301c(0x18a)]('--tsv',a0_0x26301c(0x183))[a0_0x26301c(0x18a)](a0_0x26301c(0x172),'Save\x20output\x20to\x20file')[a0_0x26301c(0x18a)]('--limit\x20<rows>',a0_0x26301c(0x17d),'40')[a0_0x26301c(0x18a)](a0_0x26301c(0x1a7),a0_0x26301c(0x1ec),![])[a0_0x26301c(0x18a)](a0_0x26301c(0x19d),'Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)',![])[a0_0x26301c(0x18a)](a0_0x26301c(0x1c5),a0_0x26301c(0x18b),![])['option']('--timeout\x20<seconds>',a0_0x26301c(0x198),'30')[a0_0x26301c(0x18a)](a0_0x26301c(0x1f0),a0_0x26301c(0x1d9),![])['option'](a0_0x26301c(0x1ef),a0_0x26301c(0x189),![])[a0_0x26301c(0x18a)](a0_0x26301c(0x190),a0_0x26301c(0x211))[a0_0x26301c(0x18a)](a0_0x26301c(0x241),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a0_0x26301c(0x18a)](a0_0x26301c(0x1d0),a0_0x26301c(0x222))[a0_0x26301c(0x18a)]('--in\x20<name>',a0_0x26301c(0x234))[a0_0x26301c(0x18a)](a0_0x26301c(0x201),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a0_0x26301c(0x18a)](a0_0x26301c(0x1c9),a0_0x26301c(0x20d)),program[a0_0x26301c(0x21b)]({'formatHelp':(_0x2d59bf,_0x43feff)=>{const _0x3ca297=a0_0x26301c,_0x277924=_0x43feff['padWidth'](_0x2d59bf,_0x43feff),_0x4cf65f=0x2,_0x339781=0x2;function _0x4d7a43(_0x535f4a){const _0x4beb14=a0_0x518f;return!!_0x535f4a[_0x4beb14(0x16a)];}function _0x327d65(_0x3d1405,_0x5d8012){const _0x57bacd=a0_0x518f;if(_0x5d8012){const _0x416bdd=''+_0x3d1405[_0x57bacd(0x15c)](_0x277924+_0x339781)+_0x5d8012;return _0x416bdd;}return _0x3d1405;}function _0x2781ec(_0x450e9d){const _0x5397a1=a0_0x518f;return _0x450e9d[_0x5397a1(0x1db)]('\x0a')[_0x5397a1(0x1e7)](/^/gm,'\x20'['repeat'](_0x4cf65f));}const _0x2f953e=[];_0x2f953e[_0x3ca297(0x1dc)]('Usage:\x20'+_0x43feff[_0x3ca297(0x230)](_0x2d59bf));const _0x2f12aa=_0x43feff[_0x3ca297(0x210)](_0x2d59bf);_0x2f12aa&&(_0x2f953e['push'](''),_0x2f953e[_0x3ca297(0x1dc)](_0x2f12aa));const _0x5e8450=_0x2d59bf[_0x3ca297(0x235)][_0x3ca297(0x184)](_0x31da22=>!_0x4d7a43(_0x31da22));if(_0x5e8450[_0x3ca297(0x1b5)]>0x0){const _0x240b40=_0x5e8450[_0x3ca297(0x22f)](_0x27136c=>{const _0x5054d7=_0x3ca297,_0x5b2985=_0x43feff[_0x5054d7(0x23d)](_0x27136c),_0x327215=_0x43feff[_0x5054d7(0x1ab)](_0x27136c);return _0x327d65(_0x5b2985,_0x327215);});_0x2f953e['push'](''),_0x2f953e[_0x3ca297(0x1dc)](_0x3ca297(0x225)),_0x2f953e['push'](_0x2781ec(_0x240b40));}const _0x551a8f=_0x2d59bf[_0x3ca297(0x177)]['filter'](_0x2479d3=>!_0x4d7a43(_0x2479d3));if(_0x551a8f[_0x3ca297(0x1b5)]>0x0){const _0x5b18d3=_0x551a8f[_0x3ca297(0x22f)](_0x1df6fa=>{const _0x566937=_0x3ca297,_0x5c03a0=_0x43feff[_0x566937(0x1ff)](_0x1df6fa),_0x2915f1=_0x43feff[_0x566937(0x228)](_0x1df6fa);return _0x327d65(_0x5c03a0,_0x2915f1);});_0x2f953e[_0x3ca297(0x1dc)](''),_0x2f953e[_0x3ca297(0x1dc)]('Options:'),_0x2f953e[_0x3ca297(0x1dc)](_0x2781ec(_0x5b18d3));}const _0x20a47b=(_0x2d59bf[_0x3ca297(0x22c)]||[])[_0x3ca297(0x184)](_0x4c8fed=>!_0x4d7a43(_0x4c8fed));if(_0x20a47b[_0x3ca297(0x1b5)]>0x0){const _0x38c11c=_0x20a47b[_0x3ca297(0x22f)](_0x601b4d=>{const _0x29172a=_0x3ca297,_0x1ee823=_0x43feff[_0x29172a(0x1b2)](_0x601b4d),_0x4aaba2=_0x43feff['argumentDescription'](_0x601b4d);return _0x327d65(_0x1ee823,_0x4aaba2);});_0x2f953e['push'](''),_0x2f953e[_0x3ca297(0x1dc)](_0x3ca297(0x1a8)),_0x2f953e['push'](_0x2781ec(_0x38c11c));}return _0x2f953e[_0x3ca297(0x1db)]('\x0a');},'subcommandTerm':_0x30c849=>{const _0x44adb7=a0_0x26301c,_0x1c5afd=(_0x30c849[_0x44adb7(0x22c)]||[])[_0x44adb7(0x22f)](_0x1002be=>_0x1002be['required']?'<'+_0x1002be[_0x44adb7(0x20a)]()+'>':'['+_0x1002be[_0x44adb7(0x20a)]()+']')[_0x44adb7(0x1db)]('\x20'),_0x136820=_0x30c849[_0x44adb7(0x1ca)](),_0x1f2261=_0x136820[_0x44adb7(0x1b5)]>0x0?_0x30c849[_0x44adb7(0x20a)]()+',\x20'+_0x136820[_0x44adb7(0x1db)](',\x20'):_0x30c849[_0x44adb7(0x20a)]();return _0x1c5afd?_0x1f2261+'\x20'+_0x1c5afd:_0x1f2261;}}),program['hook'](a0_0x26301c(0x1e0),_0x341d3f=>{const _0xe93f1c=a0_0x26301c,_0x5971b7=_0x341d3f[_0xe93f1c(0x23e)]();if(!_0x5971b7[_0xe93f1c(0x20e)]){if(_0x5971b7['json'])_0x5971b7[_0xe93f1c(0x20e)]=_0xe93f1c(0x233);else{if(_0x5971b7[_0xe93f1c(0x16d)])_0x5971b7[_0xe93f1c(0x20e)]=_0xe93f1c(0x16d);else _0x5971b7[_0xe93f1c(0x170)]&&(_0x5971b7[_0xe93f1c(0x20e)]='tsv');}}_0x5971b7['in']&&!_0x5971b7[_0xe93f1c(0x209)]&&(_0x5971b7[_0xe93f1c(0x209)]=_0x5971b7['in']);});function createTDXInstance(_0x332539){const _0x163b63=a0_0x26301c,_0x5db131=new GlobalContext(_0x332539);_0x5db131[_0x163b63(0x17e)](_0x332539);const _0x74855={'site':_0x5db131['site'],'apiKey':_0x5db131[_0x163b63(0x20b)],'verbose':_0x5db131['verbose']};return new TDX(_0x74855);}program[a0_0x26301c(0x203)](a0_0x26301c(0x1b8))[a0_0x26301c(0x232)](a0_0x26301c(0x23b))['action'](async(_0x154dfc,_0x18594f)=>{const _0x469e0b=a0_0x26301c,_0x44afde=new DatabasesCommand(),_0x5e9449=program[_0x469e0b(0x23e)](),_0x19f5bc=createTDXInstance(_0x5e9449),_0x298488=await _0x44afde['run']({'options':{..._0x5e9449,..._0x18594f},'args':_0x154dfc?[_0x154dfc]:[],'tdx':_0x19f5bc});process[_0x469e0b(0x240)](_0x298488);}),program['command'](a0_0x26301c(0x1a3))[a0_0x26301c(0x232)](a0_0x26301c(0x22b))['option'](a0_0x26301c(0x1ee),a0_0x26301c(0x16c))['option']('--model\x20<name>',a0_0x26301c(0x1ba))['option'](a0_0x26301c(0x229),a0_0x26301c(0x179))[a0_0x26301c(0x18a)](a0_0x26301c(0x1c6),a0_0x26301c(0x215))[a0_0x26301c(0x1ed)](async(_0x38917d,_0x1fd182)=>{const _0x2e221f=a0_0x26301c,_0x515371=new ChatCommand(),_0x3bc6ac=program[_0x2e221f(0x23e)](),_0x29793b=createTDXInstance(_0x3bc6ac),_0x3c455b=await _0x515371[_0x2e221f(0x1f7)]({'options':{..._0x3bc6ac,..._0x1fd182},'args':_0x38917d,'tdx':_0x29793b});process[_0x2e221f(0x240)](_0x3c455b);});const apiCmd=program['command'](a0_0x26301c(0x1e1))[a0_0x26301c(0x1fc)](a0_0x26301c(0x1e8))[a0_0x26301c(0x1c0)]('after',a0_0x26301c(0x1cf))[a0_0x26301c(0x18a)](a0_0x26301c(0x206),a0_0x26301c(0x185),a0_0x26301c(0x1bb))[a0_0x26301c(0x18a)](a0_0x26301c(0x212),'Request\x20body\x20as\x20JSON\x20string')[a0_0x26301c(0x18a)](a0_0x26301c(0x195),a0_0x26301c(0x19e))[a0_0x26301c(0x18a)](a0_0x26301c(0x181),a0_0x26301c(0x218),(_0x3eb653,_0xa47381)=>{return _0xa47381?[..._0xa47381,_0x3eb653]:[_0x3eb653];})[a0_0x26301c(0x18a)](a0_0x26301c(0x1ae),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a0_0x26301c(0x1ed)](async(_0x4527a0,_0x4bb058)=>{const _0x2c7bdb=a0_0x26301c;if(!_0x4527a0){apiCmd['help']();return;}const _0x432c6c=new ApiCommand(),_0x16c190=program['opts'](),_0x160d49=createTDXInstance(_0x16c190),_0x49d9ef=await _0x432c6c[_0x2c7bdb(0x1f7)]({'options':{..._0x16c190,..._0x4bb058},'args':[_0x4527a0],'tdx':_0x160d49});process[_0x2c7bdb(0x240)](_0x49d9ef);});program[a0_0x26301c(0x203)](a0_0x26301c(0x17f))[a0_0x26301c(0x232)](a0_0x26301c(0x1b3))[a0_0x26301c(0x18a)](a0_0x26301c(0x1bf),a0_0x26301c(0x1ce))[a0_0x26301c(0x18a)](a0_0x26301c(0x1f4),a0_0x26301c(0x234))[a0_0x26301c(0x1ed)](async(_0x3807ab,_0x1e7d09)=>{const _0x4c340d=a0_0x26301c,_0x5aecdb=new TablesCommand(),_0x5d68f9=program[_0x4c340d(0x23e)](),_0x56bc33=createTDXInstance(_0x5d68f9);_0x1e7d09['in']&&(_0x1e7d09['database']=_0x1e7d09['in']);const _0x285fb7=await _0x5aecdb[_0x4c340d(0x1f7)]({'options':{..._0x5d68f9,..._0x1e7d09},'args':_0x3807ab?[_0x3807ab]:[],'tdx':_0x56bc33});process[_0x4c340d(0x240)](_0x285fb7);}),program[a0_0x26301c(0x203)](a0_0x26301c(0x166))[a0_0x26301c(0x232)](a0_0x26301c(0x194))['option']('-d,\x20--database\x20<database>',a0_0x26301c(0x23f))['option'](a0_0x26301c(0x1f4),a0_0x26301c(0x234))[a0_0x26301c(0x1ed)](async(_0x35c34a,_0x4d57f8)=>{const _0x3c4b9f=a0_0x26301c,_0x361af0=new ShowCommand(),_0x8999d4=program[_0x3c4b9f(0x23e)](),_0x1992c6=createTDXInstance(_0x8999d4);_0x4d57f8['in']&&(_0x4d57f8[_0x3c4b9f(0x209)]=_0x4d57f8['in']);const _0x3300db=await _0x361af0[_0x3c4b9f(0x1f7)]({'options':{..._0x8999d4,..._0x4d57f8},'args':_0x35c34a?[_0x35c34a]:[],'tdx':_0x1992c6});process['exit'](_0x3300db);}),program[a0_0x26301c(0x203)](a0_0x26301c(0x168))[a0_0x26301c(0x180)]('desc')[a0_0x26301c(0x232)]('Describe\x20table\x20schema')[a0_0x26301c(0x18a)](a0_0x26301c(0x1bf),a0_0x26301c(0x23f))[a0_0x26301c(0x18a)](a0_0x26301c(0x1f4),a0_0x26301c(0x234))['action'](async(_0x32c4bb,_0x2b1a3c)=>{const _0x38995f=a0_0x26301c,_0xa8559e=new DescribeCommand(),_0x207a7e=program[_0x38995f(0x23e)](),_0x321e42=createTDXInstance(_0x207a7e);_0x2b1a3c['in']&&(_0x2b1a3c[_0x38995f(0x209)]=_0x2b1a3c['in']);const _0x18d2d1=await _0xa8559e[_0x38995f(0x1f7)]({'options':{..._0x207a7e,..._0x2b1a3c},'args':_0x32c4bb?[_0x32c4bb]:[],'tdx':_0x321e42});process[_0x38995f(0x240)](_0x18d2d1);}),program[a0_0x26301c(0x203)](a0_0x26301c(0x162))['description'](a0_0x26301c(0x219))['option'](a0_0x26301c(0x1bf),'Database\x20to\x20query\x20(default:\x20information_schema)')[a0_0x26301c(0x18a)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a0_0x26301c(0x18a)](a0_0x26301c(0x1f8),'Trino\x20catalog\x20(default:\x20td)')[a0_0x26301c(0x18a)]('-f,\x20--file\x20<path>',a0_0x26301c(0x213))['option'](a0_0x26301c(0x19f),a0_0x26301c(0x17d),'40')[a0_0x26301c(0x1ed)](async(_0x4ff531,_0x2f2bd6)=>{const _0x4b5f79=a0_0x26301c,_0x4ee3c6=new QueryCommand(),_0x48472b=program[_0x4b5f79(0x23e)](),_0x1e75c8=createTDXInstance(_0x48472b);_0x2f2bd6['in']&&(_0x2f2bd6[_0x4b5f79(0x209)]=_0x2f2bd6['in']);const _0x52c789=await _0x4ee3c6[_0x4b5f79(0x1f7)]({'options':{..._0x48472b,..._0x2f2bd6},'args':_0x4ff531?[_0x4ff531]:[],'tdx':_0x1e75c8});process['exit'](_0x52c789);}),program['command'](a0_0x26301c(0x18e))[a0_0x26301c(0x232)](a0_0x26301c(0x226))['action'](()=>{const _0x24577e=a0_0x26301c;console[_0x24577e(0x1e9)](_0x24577e(0x21e));}),program['command'](a0_0x26301c(0x227))[a0_0x26301c(0x232)](a0_0x26301c(0x21c))[a0_0x26301c(0x1ed)](async(_0x452685,_0xd0743a)=>{const _0x33ceb6=a0_0x26301c,_0x5bdf78=new SegmentsCommand(),_0x3e1b5d=program[_0x33ceb6(0x23e)](),_0x1966ce=createTDXInstance(_0x3e1b5d),_0x38c7a0=await _0x5bdf78[_0x33ceb6(0x1f7)]({'options':{..._0x3e1b5d,..._0xd0743a},'args':_0x452685?[_0x452685]:[],'tdx':_0x1966ce});process[_0x33ceb6(0x240)](_0x38c7a0);});const segmentCmd=program[a0_0x26301c(0x203)](a0_0x26301c(0x1e2))[a0_0x26301c(0x232)]('CDP\x20segment\x20management\x20commands');segmentCmd[a0_0x26301c(0x203)](a0_0x26301c(0x199))['alias'](a0_0x26301c(0x208))[a0_0x26301c(0x232)]('Show\x20segment\x20details\x20(use\x20parent_name\x20or\x20parent_name/child_name)')['action'](async(_0x1c3bd6,_0x4af1f3)=>{const _0x2fdd6f=a0_0x26301c,_0x13cee0=new SegmentDescribeCommand(),_0x46f26b=program['opts'](),_0x4e6478=createTDXInstance(_0x46f26b),_0x1f5e81=await _0x13cee0[_0x2fdd6f(0x1f7)]({'options':{..._0x46f26b,..._0x4af1f3},'args':[_0x1c3bd6],'tdx':_0x4e6478});process[_0x2fdd6f(0x240)](_0x1f5e81);}),segmentCmd[a0_0x26301c(0x203)](a0_0x26301c(0x15e))['description'](a0_0x26301c(0x1ad))[a0_0x26301c(0x1ed)](async(_0xa6bf83,_0x3a80e4)=>{const _0x10b406=a0_0x26301c,_0x37d4ff=new SegmentShowCommand(),_0x21a060=program['opts'](),_0x1fdd6a=createTDXInstance(_0x21a060),_0x2e3a54=await _0x37d4ff[_0x10b406(0x1f7)]({'options':{..._0x21a060,..._0x3a80e4},'args':[_0xa6bf83],'tdx':_0x1fdd6a});process[_0x10b406(0x240)](_0x2e3a54);}),segmentCmd[a0_0x26301c(0x203)](a0_0x26301c(0x1a6))['description'](a0_0x26301c(0x1b6))['action'](async(_0x2d5093,_0x556ad6)=>{const _0x2812e7=a0_0x26301c,_0x1a49c3=new SegmentFolderListCommand(),_0x188b08=program[_0x2812e7(0x23e)](),_0x1bc6ea=createTDXInstance(_0x188b08),_0x23a102=await _0x1a49c3[_0x2812e7(0x1f7)]({'options':{..._0x188b08,..._0x556ad6},'args':[_0x2d5093],'tdx':_0x1bc6ea});process[_0x2812e7(0x240)](_0x23a102);});const folderCmd=segmentCmd[a0_0x26301c(0x203)](a0_0x26301c(0x15d))[a0_0x26301c(0x232)](a0_0x26301c(0x1fa));folderCmd['command'](a0_0x26301c(0x231))[a0_0x26301c(0x232)](a0_0x26301c(0x1d6))[a0_0x26301c(0x1ed)](async(_0x5bdb51,_0x6aefb8)=>{const _0x86d60a=a0_0x26301c,_0x113300=new SegmentFolderShowCommand(),_0xfb5cec=program[_0x86d60a(0x23e)](),_0x2f58dd=createTDXInstance(_0xfb5cec),_0x4572ae=await _0x113300[_0x86d60a(0x1f7)]({'options':{..._0xfb5cec,..._0x6aefb8},'args':[_0x5bdb51],'tdx':_0x2f58dd});process[_0x86d60a(0x240)](_0x4572ae);}),segmentCmd[a0_0x26301c(0x203)]('sql\x20<segment_name>')[a0_0x26301c(0x232)]('Get\x20SQL\x20query\x20for\x20segment\x20(use\x20parent_name\x20or\x20parent_name/child_name)')[a0_0x26301c(0x1ed)](async(_0x4eaaa8,_0x1dbe5c)=>{const _0x1cb8cb=a0_0x26301c,_0x4791de=new SegmentSQLCommand(),_0x56efe1=program[_0x1cb8cb(0x23e)](),_0x456169=createTDXInstance(_0x56efe1),_0x12f5fe=await _0x4791de[_0x1cb8cb(0x1f7)]({'options':{..._0x56efe1,..._0x1dbe5c},'args':[_0x4eaaa8],'tdx':_0x456169});process[_0x1cb8cb(0x240)](_0x12f5fe);}),program[a0_0x26301c(0x203)]('activations\x20<segment_name>')[a0_0x26301c(0x232)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a0_0x26301c(0x1ed)](async(_0x255a0b,_0x5c8070)=>{const _0x11a9cd=a0_0x26301c,_0xda8327=new ActivationsCommand(),_0x267521=program[_0x11a9cd(0x23e)](),_0x5e8c84=createTDXInstance(_0x267521),_0x3ce4a4=await _0xda8327[_0x11a9cd(0x1f7)]({'options':{..._0x267521,..._0x5c8070},'args':[_0x255a0b],'tdx':_0x5e8c84});process['exit'](_0x3ce4a4);});const workflowCmd=program[a0_0x26301c(0x203)](a0_0x26301c(0x1cc))[a0_0x26301c(0x180)]('wf')[a0_0x26301c(0x232)](a0_0x26301c(0x23a));workflowCmd[a0_0x26301c(0x203)]('projects\x20[pattern]')[a0_0x26301c(0x232)](a0_0x26301c(0x173))[a0_0x26301c(0x1ed)](async(_0x19fa18,_0x3c4d21)=>{const _0x521728=new WorkflowProjectsCommand(),_0x28deee=program['opts'](),_0x55f457=createTDXInstance(_0x28deee),_0x8b68c0=await _0x521728['run']({'options':{..._0x28deee,..._0x3c4d21},'args':_0x19fa18?[_0x19fa18]:[],'tdx':_0x55f457});process['exit'](_0x8b68c0);}),workflowCmd[a0_0x26301c(0x203)]('workflows\x20[project]')[a0_0x26301c(0x180)]('ls')['description'](a0_0x26301c(0x207))[a0_0x26301c(0x1ed)](async(_0x526282,_0x1d792f)=>{const _0x3ede38=a0_0x26301c,_0x6477a0=new WorkflowWorkflowsCommand(),_0x35ea23=program['opts'](),_0xfc3e26=createTDXInstance(_0x35ea23),_0x1b99bd=await _0x6477a0[_0x3ede38(0x1f7)]({'options':{..._0x35ea23,..._0x1d792f},'args':_0x526282?[_0x526282]:[],'tdx':_0xfc3e26});process[_0x3ede38(0x240)](_0x1b99bd);}),workflowCmd['command'](a0_0x26301c(0x196))[a0_0x26301c(0x232)](a0_0x26301c(0x16b))[a0_0x26301c(0x18a)]('--status\x20<status>','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)')[a0_0x26301c(0x18a)](a0_0x26301c(0x1fd),a0_0x26301c(0x22d))['option'](a0_0x26301c(0x20f),a0_0x26301c(0x1e3))['action'](async(_0x17bde5,_0x36eda6)=>{const _0x32c1c9=a0_0x26301c,_0x290221=new WorkflowSessionsCommand(),_0x4521b5=program['opts'](),_0x53fff2=createTDXInstance(_0x4521b5),_0x56d0e4=await _0x290221[_0x32c1c9(0x1f7)]({'options':{..._0x4521b5,..._0x36eda6},'args':_0x17bde5?[_0x17bde5]:[],'tdx':_0x53fff2});process['exit'](_0x56d0e4);}),workflowCmd[a0_0x26301c(0x203)](a0_0x26301c(0x1eb))[a0_0x26301c(0x232)](a0_0x26301c(0x18d))['option'](a0_0x26301c(0x1e5),a0_0x26301c(0x164))[a0_0x26301c(0x1ed)](async(_0x511786,_0x5266c4)=>{const _0xcc328b=a0_0x26301c,_0x145cf5=new WorkflowAttemptsCommand(),_0x4eb536=program[_0xcc328b(0x23e)](),_0xfd7869=createTDXInstance(_0x4eb536),_0x2fdb49=await _0x145cf5['run']({'options':{..._0x4eb536,..._0x5266c4},'args':_0x511786?[_0x511786]:[],'tdx':_0xfd7869});process[_0xcc328b(0x240)](_0x2fdb49);}),workflowCmd[a0_0x26301c(0x203)](a0_0x26301c(0x19c))[a0_0x26301c(0x232)](a0_0x26301c(0x17c))[a0_0x26301c(0x1ed)](async(_0x5abc71,_0x2a1765)=>{const _0xcb9289=a0_0x26301c,_0x2fb623=new WorkflowAttemptCommand(),_0x3ef218=program['opts'](),_0x329ef9=createTDXInstance(_0x3ef218),_0x1f3f1c=await _0x2fb623[_0xcb9289(0x1f7)]({'options':{..._0x3ef218,..._0x2a1765},'args':[_0x5abc71],'tdx':_0x329ef9});process['exit'](_0x1f3f1c);}),workflowCmd[a0_0x26301c(0x203)](a0_0x26301c(0x1bc))['description'](a0_0x26301c(0x1d7))['option'](a0_0x26301c(0x167),a0_0x26301c(0x163))[a0_0x26301c(0x1ed)](async(_0x28ad33,_0xab1736)=>{const _0x530402=a0_0x26301c,_0x4d58ab=new WorkflowTasksCommand(),_0x4038dd=program[_0x530402(0x23e)](),_0x2b0e25=createTDXInstance(_0x4038dd),_0xd542e=await _0x4d58ab[_0x530402(0x1f7)]({'options':{..._0x4038dd,..._0xab1736},'args':[_0x28ad33],'tdx':_0x2b0e25});process[_0x530402(0x240)](_0xd542e);}),workflowCmd['command'](a0_0x26301c(0x242))[a0_0x26301c(0x232)](a0_0x26301c(0x187))[a0_0x26301c(0x18a)]('--offset\x20<number>','Starting\x20offset\x20for\x20logs\x20(default:\x200)',_0x3485b9=>parseInt(_0x3485b9,0xa),0x0)['action'](async(_0x6ab9be,_0x421e93,_0x2aa5a5)=>{const _0x36dcea=a0_0x26301c,_0x269dd2=new WorkflowLogsCommand(),_0x3b5fde=program['opts'](),_0x58124e=createTDXInstance(_0x3b5fde),_0x1964a0=await _0x269dd2['run']({'options':{..._0x3b5fde,..._0x2aa5a5},'args':[_0x6ab9be,_0x421e93],'tdx':_0x58124e});process[_0x36dcea(0x240)](_0x1964a0);}),workflowCmd[a0_0x26301c(0x203)](a0_0x26301c(0x1f5))[a0_0x26301c(0x232)](a0_0x26301c(0x174))[a0_0x26301c(0x18a)](a0_0x26301c(0x1fe),a0_0x26301c(0x160))['action'](async(_0xff5bea,_0x5f21f6)=>{const _0x2a3e3e=a0_0x26301c,_0x4ec959=new WorkflowKillCommand(),_0x18d1b5=program['opts'](),_0x46be8b=createTDXInstance(_0x18d1b5),_0x18aa5e=await _0x4ec959[_0x2a3e3e(0x1f7)]({'options':{..._0x18d1b5,..._0x5f21f6},'args':[_0xff5bea],'tdx':_0x46be8b});process[_0x2a3e3e(0x240)](_0x18aa5e);}),workflowCmd[a0_0x26301c(0x203)](a0_0x26301c(0x182))[a0_0x26301c(0x232)]('Retry\x20a\x20session\x20or\x20attempt\x20(prefix\x20with\x20session:\x20or\x20attempt:)')[a0_0x26301c(0x18a)](a0_0x26301c(0x21d),'Resume\x20from\x20specific\x20task\x20(session\x20retry\x20only)')[a0_0x26301c(0x18a)](a0_0x26301c(0x1d2),'Resume\x20from\x20specific\x20task\x20(attempt\x20retry\x20only)')['option'](a0_0x26301c(0x1aa),a0_0x26301c(0x244))[a0_0x26301c(0x18a)]('--force','Force\x20retry\x20even\x20if\x20not\x20failed\x20(attempt\x20retry\x20only)')[a0_0x26301c(0x1ed)](async(_0x154ae4,_0x22ca00)=>{const _0x2bfd89=a0_0x26301c,_0x192027=new WorkflowRetryCommand(),_0x52bfcc=program[_0x2bfd89(0x23e)](),_0x357081=createTDXInstance(_0x52bfcc),_0x4d249b=await _0x192027[_0x2bfd89(0x1f7)]({'options':{..._0x52bfcc,..._0x22ca00},'args':[_0x154ae4],'tdx':_0x357081});process[_0x2bfd89(0x240)](_0x4d249b);}),workflowCmd['command'](a0_0x26301c(0x1b4))[a0_0x26301c(0x232)](a0_0x26301c(0x1f1))[a0_0x26301c(0x18a)](a0_0x26301c(0x1a1),'Specific\x20revision\x20to\x20download\x20(default:\x20latest)')[a0_0x26301c(0x1ed)](async(_0x3f6d5f,_0x1ef204,_0x2044b2)=>{const _0x1ee516=a0_0x26301c,_0xd387dc=new WorkflowDownloadCommand(),_0x3cf065=program[_0x1ee516(0x23e)](),_0x2646d0=createTDXInstance(_0x3cf065),_0x9ade2d=await _0xd387dc['run']({'options':{..._0x3cf065,..._0x2044b2},'args':[_0x3f6d5f,_0x1ef204||'.'],'tdx':_0x2646d0});process[_0x1ee516(0x240)](_0x9ade2d);}),workflowCmd['command'](a0_0x26301c(0x205))['description'](a0_0x26301c(0x1af))[a0_0x26301c(0x18a)]('--name\x20<name>',a0_0x26301c(0x21a))['option']('--revision\x20<revision>',a0_0x26301c(0x200))[a0_0x26301c(0x18a)](a0_0x26301c(0x1a4),a0_0x26301c(0x1de))['action'](async(_0x636c34,_0x505773)=>{const _0x438b65=a0_0x26301c,_0x4c7115=new WorkflowPushCommand(),_0x4cba97=program[_0x438b65(0x23e)](),_0x4fbcd8=createTDXInstance(_0x4cba97),_0x2af85a=await _0x4c7115[_0x438b65(0x1f7)]({'options':{..._0x4cba97,..._0x505773},'args':_0x636c34?[_0x636c34]:[],'tdx':_0x4fbcd8});process['exit'](_0x2af85a);}),workflowCmd[a0_0x26301c(0x203)](a0_0x26301c(0x17b))[a0_0x26301c(0x232)](a0_0x26301c(0x171))[a0_0x26301c(0x1ed)](async(_0x1c4fd5,_0x3a3f2f)=>{const _0x42dc56=a0_0x26301c,_0xf78f11=new WorkflowDeleteCommand(),_0x6a0f32=program[_0x42dc56(0x23e)](),_0x80ad0f=createTDXInstance(_0x6a0f32),_0x4bb660=await _0xf78f11[_0x42dc56(0x1f7)]({'options':{..._0x6a0f32,..._0x3a3f2f},'args':[_0x1c4fd5],'tdx':_0x80ad0f});process['exit'](_0x4bb660);});const llmCmd=program[a0_0x26301c(0x203)](a0_0x26301c(0x1b1))['description'](a0_0x26301c(0x23c));llmCmd[a0_0x26301c(0x203)](a0_0x26301c(0x22a))[a0_0x26301c(0x232)](a0_0x26301c(0x15f))[a0_0x26301c(0x1ed)](async(_0x1ffd26,_0x4a5224)=>{const _0x27be91=a0_0x26301c,_0x3f36eb=new LLMUseCommand(),_0x4aff59=program[_0x27be91(0x23e)](),_0x217133=createTDXInstance(_0x4aff59),_0x295503=await _0x3f36eb['run']({'options':{..._0x4aff59,..._0x4a5224},'args':[_0x1ffd26],'tdx':_0x217133});process[_0x27be91(0x240)](_0x295503);}),llmCmd['command']('models')['description'](a0_0x26301c(0x186))['action'](async _0x144b45=>{const _0x47615f=a0_0x26301c,_0x2919e3=new LLMModelsCommand(),_0x5c216d=program[_0x47615f(0x23e)](),_0x3d4a1d=createTDXInstance(_0x5c216d),_0x167185=await _0x2919e3[_0x47615f(0x1f7)]({'options':{..._0x5c216d,..._0x144b45},'args':[],'tdx':_0x3d4a1d});process[_0x47615f(0x240)](_0x167185);}),llmCmd['command'](a0_0x26301c(0x1c8))[a0_0x26301c(0x232)](a0_0x26301c(0x1df))[a0_0x26301c(0x1ed)](async(_0x28311a,_0x15b30a)=>{const _0x214663=a0_0x26301c,_0x1a34f3=new LLMProjectsCommand(),_0x1cfd22=program['opts'](),_0x188e84=createTDXInstance(_0x1cfd22),_0x4a900b=await _0x1a34f3[_0x214663(0x1f7)]({'options':{..._0x1cfd22,..._0x15b30a},'args':_0x28311a?[_0x28311a]:[],'tdx':_0x188e84});process[_0x214663(0x240)](_0x4a900b);});function a0_0x5e3d(){const _0x591d88=['Run\x20Trino\x20query\x20with\x20streaming\x20results','Override\x20project\x20name','configureHelp','List\x20parent\x20segments\x20or\x20child\x20segments\x20under\x20a\x20parent','--from-task\x20<task>','Job\x20commands\x20-\x20coming\x20soon','1889199BQicGF','--starter-message\x20<text>','Show\x20context\x20with\x20sources\x20(for\x20debugging)','Database\x20to\x20use\x20(overrides\x20context)','--clear','89190VGPozG','Commands:','Job\x20management\x20commands','segments\x20[parent_name]','optionDescription','--temperature\x20<n>','use\x20<project-name>','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','registeredArguments','Start\x20time\x20filter\x20(ISO\x208601\x20format)','34070wsQpLP','map','commandUsage','show\x20<folder_ref>','description','json','Alias\x20for\x20--database\x20(natural\x20language\x20style)','commands','6953340WcVTot','Model\x20type\x20(default:\x20claude-4.5-sonnet)','update\x20<agent-name>','Clear\x20session\x20context','Workflow\x20(Digdag)\x20management\x20commands','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','subcommandTerm','opts','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','exit','--profile\x20<name>','logs\x20<attempt-id>\x20<task-name>','--prompt\x20<text>','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','2ZKTBJB','padEnd','folder','show\x20<segment_name>','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','Reason\x20for\x20killing\x20the\x20attempt','Delete\x20an\x20agent','query\x20[sql]','Include\x20subtasks\x20in\x20the\x20output','Include\x20retried\x20attempts','claude-4.5-sonnet','show\x20[table]','--include-subtasks','describe\x20[table]','slice','hidden','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Agent\x20reference\x20(project-name/agent-name)','jsonl','-v,\x20--version','Show\x20current\x20resolved\x20context','tsv','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','--output\x20<file>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Kill\x20a\x20running\x20attempt','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)','--description\x20<text>','options','project','Temperature\x20(0.0-2.0,\x20default:\x200.7)','version','delete\x20<project-name-or-id>','Show\x20specific\x20attempt\x20details','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','injectIntoOptions','tables\x20[pattern]','alias','-H,\x20--header\x20<header>','retry\x20<session-id|attempt-id>','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','filter','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','List\x20available\x20LLM\x20models','Show\x20logs\x20for\x20a\x20specific\x20task','us01','Skip\x20confirmation\x20prompts','option','Enable\x20verbose\x20logging','Show\x20agent\x20details','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','job','Starter\x20message','--session\x20<id>','profiles','Create\x20a\x20new\x20agent\x20in\x20current\x20project','--model\x20<name>','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','-f,\x20--file\x20<path>','sessions\x20[project]','System\x20prompt/instructions\x20(default:\x20empty)','Set\x20operation\x20timeout\x20in\x20seconds','describe\x20<segment_name>','LLM\x20project\x20management','--name\x20<text>','attempt\x20<attempt-id>','--no-color','Read\x20request\x20body\x20from\x20file','--limit\x20<rows>','194100ghozLd','--revision\x20<revision>','--debug','chat\x20[message...]','--skip-validation','Create\x20a\x20new\x20LLM\x20project','folders\x20<parent_name>','--color','Arguments:','use\x20[resource]\x20[value]','--params\x20<json>','subcommandDescription','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(use\x20parent_name\x20or\x20parent_name/child_name)','--type\x20<api_type>','Push\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style:\x20cd\x20into\x20project,\x20then\x20push\x20<name>)','argv','llm','argumentTerm','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','download\x20<project-name>\x20[output-dir]','length','List\x20segment\x20folders\x20under\x20a\x20parent\x20segment','7KuFEJI','databases\x20[pattern]','437313TIZBWK','Model\x20name\x20(default:\x20claude-4.5-sonnet)','GET','tasks\x20<attempt-id>','context','0.7','-d,\x20--database\x20<database>','addHelpText','1958xSlXuB','url','16oLxMBY','Delete\x20an\x20LLM\x20project','--verbose','--new','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','projects\x20[pattern]','--llm-project\x20<name>','aliases','--max-tool-iterations\x20<n>','workflow','8ZqQMaV','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','\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','-d,\x20--database\x20<name>','history\x20[chat-id]','--resume-from\x20<task>','show\x20<agent-name>','tdx','List\x20agents\x20in\x20current\x20project\x20(optionally\x20filtered\x20by\x20pattern)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','Show\x20tasks\x20for\x20an\x20attempt','output\x20the\x20version\x20number','Preview\x20operation\x20without\x20executing','Agent\x20name','join','push','--json','Skip\x20validation\x20of\x20.dig\x20files','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','preAction','api\x20[endpoint]','segment','End\x20time\x20filter\x20(ISO\x208601\x20format)','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--include-retried','../package.json','replace','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','log','Maximum\x20tool\x20iterations\x20(default:\x204)','attempts\x20[project]','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','action','--agent\x20<ref>','-y,\x20--yes','--dry-run','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','parse','--site\x20<site>','--in\x20<database>','kill\x20<attempt-id>','Update\x20an\x20existing\x20agent','run','--catalog\x20<catalog>','create\x20<name>','Segment\x20folder\x20management','Agent\x20prompt/instructions','summary','--from\x20<timestamp>','--reason\x20<text>','optionTerm','Revision\x20name\x20(default:\x20timestamp)','--parent-segment\x20<name>','Agent\x20description','command','916947IlOqJO','push\x20[project-name-or-dir]','-X,\x20--method\x20<method>','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','desc','database','name','apiKey','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','LLM\x20project\x20to\x20use\x20(overrides\x20context)','format','--to\x20<timestamp>','commandDescription','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20parent\x20PID,\x20allows\x20sharing\x20sessions\x20across\x20processes)','--data\x20<data>','Read\x20SQL\x20query\x20from\x20file','--format\x20<format>','Start\x20a\x20new\x20chat\x20session','Project\x20description','AI-native\x20CLI\x20for\x20Treasure\x20Data','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)'];a0_0x5e3d=function(){return _0x591d88;};return a0_0x5e3d();}const projectCmd=llmCmd[a0_0x26301c(0x203)](a0_0x26301c(0x178))[a0_0x26301c(0x232)](a0_0x26301c(0x19a));projectCmd[a0_0x26301c(0x203)](a0_0x26301c(0x1f9))[a0_0x26301c(0x232)](a0_0x26301c(0x1a5))[a0_0x26301c(0x18a)](a0_0x26301c(0x176),a0_0x26301c(0x216))[a0_0x26301c(0x1ed)](async(_0x4ee86e,_0x2b2a9f)=>{const _0x559b63=a0_0x26301c,_0x29d2d0=new LLMProjectCreateCommand(),_0x4c5566=program[_0x559b63(0x23e)](),_0x261916=createTDXInstance(_0x4c5566),_0x3642aa=await _0x29d2d0['run']({'options':{..._0x4c5566,..._0x2b2a9f},'args':[_0x4ee86e],'tdx':_0x261916});process[_0x559b63(0x240)](_0x3642aa);}),projectCmd['command']('delete\x20<name>')['description'](a0_0x26301c(0x1c4))[a0_0x26301c(0x1ed)](async(_0x17f103,_0x26adbf)=>{const _0x1fc7b8=a0_0x26301c,_0x564dd0=new LLMProjectDeleteCommand(),_0x2b1a63=program[_0x1fc7b8(0x23e)](),_0x576249=createTDXInstance(_0x2b1a63),_0x48c0db=await _0x564dd0['run']({'options':{..._0x2b1a63,..._0x26adbf},'args':[_0x17f103],'tdx':_0x576249});process[_0x1fc7b8(0x240)](_0x48c0db);}),llmCmd[a0_0x26301c(0x203)]('agents\x20[pattern]')['description'](a0_0x26301c(0x1d5))[a0_0x26301c(0x1ed)](async(_0x1b5a09,_0x3f1233)=>{const _0x3143ce=a0_0x26301c,_0x586a41=new LLMAgentsCommand(),_0x375862=program[_0x3143ce(0x23e)](),_0x11f209=createTDXInstance(_0x375862),_0x984a57=await _0x586a41[_0x3143ce(0x1f7)]({'options':{..._0x375862,..._0x3f1233},'args':_0x1b5a09?[_0x1b5a09]:[],'tdx':_0x11f209});process[_0x3143ce(0x240)](_0x984a57);});const agentCmd=llmCmd[a0_0x26301c(0x203)]('agent')['description']('LLM\x20agent\x20management');agentCmd[a0_0x26301c(0x203)](a0_0x26301c(0x1d3))[a0_0x26301c(0x232)](a0_0x26301c(0x18c))['action'](async(_0xf86e63,_0x21f63d)=>{const _0x3e46ae=a0_0x26301c,_0xe5a8d7=new LLMAgentShowCommand(),_0x3048ce=program['opts'](),_0x94877e=createTDXInstance(_0x3048ce),_0x2246c0=await _0xe5a8d7[_0x3e46ae(0x1f7)]({'options':{..._0x3048ce,..._0x21f63d},'args':[_0xf86e63],'tdx':_0x94877e});process[_0x3e46ae(0x240)](_0x2246c0);}),agentCmd['command']('create\x20<name>')[a0_0x26301c(0x232)](a0_0x26301c(0x192))[a0_0x26301c(0x18a)]('--system-prompt\x20<text>',a0_0x26301c(0x197))[a0_0x26301c(0x18a)](a0_0x26301c(0x193),a0_0x26301c(0x237),a0_0x26301c(0x165))['option'](a0_0x26301c(0x220),'Starter\x20message')[a0_0x26301c(0x18a)](a0_0x26301c(0x1cb),a0_0x26301c(0x1ea),'4')['option']('--temperature\x20<n>',a0_0x26301c(0x179),a0_0x26301c(0x1be))[a0_0x26301c(0x1ed)](async(_0x3dc5a7,_0x69d5a5)=>{const _0x5cb6ea=a0_0x26301c,_0x30d8e6=new LLMAgentCreateCommand(),_0x41c564=program[_0x5cb6ea(0x23e)](),_0x55fc7c=createTDXInstance(_0x41c564),_0x5b3e42=await _0x30d8e6['run']({'options':{..._0x41c564,..._0x69d5a5},'args':[_0x3dc5a7],'tdx':_0x55fc7c});process['exit'](_0x5b3e42);}),agentCmd[a0_0x26301c(0x203)](a0_0x26301c(0x238))[a0_0x26301c(0x232)](a0_0x26301c(0x1f6))[a0_0x26301c(0x18a)](a0_0x26301c(0x19b),a0_0x26301c(0x1da))[a0_0x26301c(0x18a)](a0_0x26301c(0x243),a0_0x26301c(0x1fb))[a0_0x26301c(0x18a)](a0_0x26301c(0x176),a0_0x26301c(0x202))['option'](a0_0x26301c(0x220),a0_0x26301c(0x18f))['action'](async(_0x2b4398,_0x375c23)=>{const _0x36a7ca=a0_0x26301c,_0x14bcf5=new LLMAgentUpdateCommand(),_0x3593c7=program[_0x36a7ca(0x23e)](),_0x3c83d4=createTDXInstance(_0x3593c7),_0x439a92=await _0x14bcf5[_0x36a7ca(0x1f7)]({'options':{..._0x3593c7,..._0x375c23},'args':[_0x2b4398],'tdx':_0x3c83d4});process['exit'](_0x439a92);}),agentCmd['command']('delete\x20<agent-name>')[a0_0x26301c(0x232)](a0_0x26301c(0x161))[a0_0x26301c(0x1ed)](async(_0x6717f4,_0xb9958b)=>{const _0x3afc49=a0_0x26301c,_0x4cb3dd=new LLMAgentDeleteCommand(),_0x345a79=program['opts'](),_0x57d5f4=createTDXInstance(_0x345a79),_0x594715=await _0x4cb3dd[_0x3afc49(0x1f7)]({'options':{..._0x345a79,..._0xb9958b},'args':[_0x6717f4],'tdx':_0x57d5f4});process[_0x3afc49(0x240)](_0x594715);}),llmCmd[a0_0x26301c(0x203)](a0_0x26301c(0x1d1))['description'](a0_0x26301c(0x1ac))[a0_0x26301c(0x1ed)](async(_0x588fdc,_0x38df2f)=>{const _0x2e42b9=a0_0x26301c,_0x553dad=new LLMHistoryCommand(),_0x4e7a8c=program[_0x2e42b9(0x23e)](),_0x21e94f=createTDXInstance(_0x4e7a8c),_0x1749e=await _0x553dad[_0x2e42b9(0x1f7)]({'options':{..._0x4e7a8c,..._0x38df2f},'args':_0x588fdc?[_0x588fdc]:[],'tdx':_0x21e94f});process[_0x2e42b9(0x240)](_0x1749e);}),program[a0_0x26301c(0x203)](a0_0x26301c(0x1bd))['description'](a0_0x26301c(0x16f))['option'](a0_0x26301c(0x1a2),a0_0x26301c(0x221))[a0_0x26301c(0x18a)](a0_0x26301c(0x223),a0_0x26301c(0x239))[a0_0x26301c(0x1ed)](async _0x2203d2=>{const _0x3132a9=a0_0x26301c,_0x174e6f=new ContextCommand(),_0x36cc48=program[_0x3132a9(0x23e)](),_0xf262d1=await _0x174e6f[_0x3132a9(0x1f7)]({'options':{..._0x36cc48,..._0x2203d2},'args':[],'tdx':null});process[_0x3132a9(0x240)](_0xf262d1);}),program[a0_0x26301c(0x203)](a0_0x26301c(0x1a9))['description']('Set\x20session-level\x20context\x20(resources:\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20profile)')[a0_0x26301c(0x1ed)](async(_0x53fdbf,_0x2ce9bb,_0x54772f)=>{const _0x26408d=a0_0x26301c,_0x1f4851=new UseCommand(),_0x43cf41=program[_0x26408d(0x23e)](),_0x5ba593=[];if(_0x53fdbf)_0x5ba593[_0x26408d(0x1dc)](_0x53fdbf);if(_0x2ce9bb)_0x5ba593[_0x26408d(0x1dc)](_0x2ce9bb);const _0x3b8453=await _0x1f4851[_0x26408d(0x1f7)]({'options':{..._0x43cf41,..._0x54772f},'args':_0x5ba593,'tdx':null});process[_0x26408d(0x240)](_0x3b8453);}),program[a0_0x26301c(0x203)](a0_0x26301c(0x191))[a0_0x26301c(0x232)]('List\x20all\x20available\x20profiles')[a0_0x26301c(0x1ed)](async _0x3d8bdd=>{const _0x3f23c8=new ProfilesCommand(),_0x339c6f=program['opts'](),_0x34273b=await _0x3f23c8['run']({'options':{..._0x339c6f,..._0x3d8bdd},'args':[],'tdx':null});process['exit'](_0x34273b);}),program[a0_0x26301c(0x1f2)](process[a0_0x26301c(0x1b0)]);!process[a0_0x26301c(0x1b0)][a0_0x26301c(0x169)](0x2)[a0_0x26301c(0x1b5)]&&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,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,gC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AG,OAAO,CAAC,IAAI,EAAE,CAAC;IAElC,yEAAyE;IACzE,MAAM,QAAQ,GAAG,MAAM,eAAe,CAAC,GAAG,CAAC;QACzC,OAAO,EAAE,EAAE,GAAG,UAAU,EAAE,GAAG,UAAU,EAAE;QACzC,IAAI,EAAE,EAAE;QACR,8DAA8D;QAC9D,GAAG,EAAE,IAAW,EAAE,uCAAuC;KAC1D,CAAC,CAAC;IAEH,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACzB,CAAC,CAAC,CAAC;AAEL,kBAAkB;AAClB,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAE5B,mCAAmC;AACnC,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
|
-
|
|
1
|
+
function a1_0x509b(){const _0x47efdc=['getParentSegmentSQL','59576nAGgHI','2369cJRbuo','httpClient','/folders','listActivations','listParentSegments','getSegment','application/vnd.treasuredata.v1+json','/segments','application/json','apiKey','verbose','query','listSegments','getParentSegment','5964726UbCOBX','isArray','/entities/parent_segments','logVerbose','rule','GET','site','stringify','3102597IkbtWS','/segments/query','authHeaders','request','/audiences/','502qwDHle','1674224hcPCWG','28GYWUDv','3347073OtlSkP','sql','2940205WPDKvr','/segments/','data','/entities/folders/'];a1_0x509b=function(){return _0x47efdc;};return a1_0x509b();}const a1_0x5e9c57=a1_0x2c5a;function a1_0x2c5a(_0x3e760c,_0x302671){const _0x509be4=a1_0x509b();return a1_0x2c5a=function(_0x2c5a80,_0x606e6d){_0x2c5a80=_0x2c5a80-0xd9;let _0x5df67e=_0x509be4[_0x2c5a80];return _0x5df67e;},a1_0x2c5a(_0x3e760c,_0x302671);}(function(_0x599a68,_0x5e3fd2){const _0x37f6da=a1_0x2c5a,_0x164648=_0x599a68();while(!![]){try{const _0x544e4e=parseInt(_0x37f6da(0xdd))/0x1*(parseInt(_0x37f6da(0xf8))/0x2)+parseInt(_0x37f6da(0xf3))/0x3+parseInt(_0x37f6da(0xdc))/0x4+parseInt(_0x37f6da(0xfd))/0x5+-parseInt(_0x37f6da(0xeb))/0x6+parseInt(_0x37f6da(0xfa))/0x7*(-parseInt(_0x37f6da(0xf9))/0x8)+parseInt(_0x37f6da(0xfb))/0x9;if(_0x544e4e===_0x5e3fd2)break;else _0x164648['push'](_0x164648['shift']());}catch(_0x4a9dac){_0x164648['push'](_0x164648['shift']());}}}(a1_0x509b,0xbc941));import{HTTPClient}from'./http-client.js';import{getEndpoint}from'../types/index.js';import{getAuthHeaders,toHeaderRecord}from'../core/auth.js';export class CDPClient{[a1_0x5e9c57(0xde)];[a1_0x5e9c57(0xf5)];['verbose'];constructor(_0x381a61){const _0x5298b9=a1_0x5e9c57,_0x365c5e=getEndpoint(_0x381a61['site'],'cdp');this['authHeaders']=toHeaderRecord(getAuthHeaders(_0x381a61[_0x5298b9(0xf1)],_0x381a61[_0x5298b9(0xe6)])),this[_0x5298b9(0xe7)]=_0x381a61[_0x5298b9(0xe7)],this[_0x5298b9(0xde)]=new HTTPClient(_0x365c5e,{...this[_0x5298b9(0xf5)],'Accept':_0x5298b9(0xe3),'Content-Type':_0x5298b9(0xe5)});}[a1_0x5e9c57(0xee)](_0x46c8d2,_0x2d5e0f){const _0x4cfb31=a1_0x5e9c57;this[_0x4cfb31(0xe7)]&&(console['error']('\x0a[CDP\x20API\x20Response]\x20'+_0x46c8d2),console['error'](JSON[_0x4cfb31(0xf2)](_0x2d5e0f,null,0x2)));}async[a1_0x5e9c57(0xe1)](){const _0x33291a=a1_0x5e9c57,_0x4b6d2d=_0x33291a(0xed),_0x2d575d=await this['httpClient']['request']('GET',_0x4b6d2d);return this['logVerbose'](_0x4b6d2d,_0x2d575d),Array[_0x33291a(0xec)](_0x2d575d)?_0x2d575d:_0x2d575d[_0x33291a(0xd9)];}async[a1_0x5e9c57(0xea)](_0x1f932a){const _0x54128d=a1_0x5e9c57,_0xc1b6d='/entities/parent_segments/'+_0x1f932a,_0x1b015e=await this[_0x54128d(0xde)]['request']('GET',_0xc1b6d);return this['logVerbose'](_0xc1b6d,_0x1b015e),'data'in _0x1b015e?_0x1b015e[_0x54128d(0xd9)]:_0x1b015e;}async[a1_0x5e9c57(0xe9)](_0x2fd7e6){const _0x2e6f4c=a1_0x5e9c57,_0x556f67=_0x2e6f4c(0xf7)+_0x2fd7e6+_0x2e6f4c(0xe4),_0x389d01=await this[_0x2e6f4c(0xde)][_0x2e6f4c(0xf6)](_0x2e6f4c(0xf0),_0x556f67);return this[_0x2e6f4c(0xee)](_0x556f67,_0x389d01),Array[_0x2e6f4c(0xec)](_0x389d01)?_0x389d01:_0x389d01[_0x2e6f4c(0xd9)];}async[a1_0x5e9c57(0xe2)](_0x320df5,_0x92b658){const _0x257e94=a1_0x5e9c57,_0x38c7fc=_0x257e94(0xf7)+_0x320df5+_0x257e94(0xfe)+_0x92b658,_0x4833e7=await this[_0x257e94(0xde)][_0x257e94(0xf6)](_0x257e94(0xf0),_0x38c7fc);return this[_0x257e94(0xee)](_0x38c7fc,_0x4833e7),_0x257e94(0xd9)in _0x4833e7?_0x4833e7['data']:_0x4833e7;}async['listSegmentFolders'](_0x2f209d){const _0x469bbc=a1_0x5e9c57,_0x493868='/audiences/'+_0x2f209d+_0x469bbc(0xdf),_0x51a695=await this[_0x469bbc(0xde)][_0x469bbc(0xf6)](_0x469bbc(0xf0),_0x493868);return this[_0x469bbc(0xee)](_0x493868,_0x51a695),Array['isArray'](_0x51a695)?_0x51a695:_0x51a695['data'];}async['getSegmentFolder'](_0x2cd4d7){const _0x15055d=a1_0x5e9c57,_0x487108=_0x15055d(0xda)+_0x2cd4d7,_0x3b87ec=await this['httpClient'][_0x15055d(0xf6)](_0x15055d(0xf0),_0x487108);return this[_0x15055d(0xee)](_0x487108,_0x3b87ec),'data'in _0x3b87ec?_0x3b87ec[_0x15055d(0xd9)]:_0x3b87ec;}async[a1_0x5e9c57(0xe0)](_0x3b895e,_0x4e0bab){const _0x182d87=a1_0x5e9c57,_0xc1211b=_0x182d87(0xf7)+_0x3b895e+'/segments/'+_0x4e0bab+'/syndications',_0x54484c=await this[_0x182d87(0xde)][_0x182d87(0xf6)](_0x182d87(0xf0),_0xc1211b);return this['logVerbose'](_0xc1211b,_0x54484c),Array[_0x182d87(0xec)](_0x54484c)?_0x54484c:_0x54484c[_0x182d87(0xd9)];}async[a1_0x5e9c57(0xdb)](_0x577711){const _0x2b31dc=a1_0x5e9c57,_0x22f7e8=_0x2b31dc(0xf7)+_0x577711+_0x2b31dc(0xf4),_0x56b2ca=await this[_0x2b31dc(0xde)][_0x2b31dc(0xf6)]('POST',_0x22f7e8,{'body':{'format':_0x2b31dc(0xfc)}});return this['logVerbose'](_0x22f7e8,_0x56b2ca),_0x56b2ca['sql']||_0x56b2ca[_0x2b31dc(0xe8)]||'';}async['getSegmentSQL'](_0x1c2aa0,_0x1593fa){const _0x53fba7=a1_0x5e9c57,_0x114107=await this[_0x53fba7(0xe2)](_0x1c2aa0,_0x1593fa),_0xbed4e8={'format':_0x53fba7(0xfc)};'rule'in _0x114107&&_0x114107[_0x53fba7(0xef)]&&(_0xbed4e8[_0x53fba7(0xef)]=_0x114107['rule']);const _0x2c1bcc='/audiences/'+_0x1c2aa0+_0x53fba7(0xf4),_0x24048e=await this[_0x53fba7(0xde)]['request']('POST',_0x2c1bcc,{'body':_0xbed4e8});return this[_0x53fba7(0xee)](_0x2c1bcc,_0x24048e),_0x24048e[_0x53fba7(0xfc)]||_0x24048e[_0x53fba7(0xe8)]||'';}}
|
|
@@ -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_0x5e393b=a2_0x22e1;(function(_0x44f8f8,_0x377f81){const _0x1b2e51=a2_0x22e1,_0x3b271c=_0x44f8f8();while(!![]){try{const _0x2fa7ae=-parseInt(_0x1b2e51(0xc5))/0x1+-parseInt(_0x1b2e51(0xbb))/0x2*(-parseInt(_0x1b2e51(0xdf))/0x3)+parseInt(_0x1b2e51(0xef))/0x4+-parseInt(_0x1b2e51(0xb3))/0x5+-parseInt(_0x1b2e51(0xbd))/0x6+parseInt(_0x1b2e51(0xf0))/0x7+parseInt(_0x1b2e51(0xca))/0x8*(parseInt(_0x1b2e51(0xac))/0x9);if(_0x2fa7ae===_0x377f81)break;else _0x3b271c['push'](_0x3b271c['shift']());}catch(_0x1fcac4){_0x3b271c['push'](_0x3b271c['shift']());}}}(a2_0x55c4,0x53f0e));import{ErrorCode,SDKError}from'../sdk/errors.js';import a2_0xe8faad from'json-bigint';const DEFAULT_RETRY_CONFIG={'maxRetries':0x3,'baseDelay':0x3e8,'maxDelay':0x1f40};function isRetryableError(_0x53bb06){return _0x53bb06>=0x1f4||_0x53bb06===0x1ad;}function a2_0x22e1(_0xa3ab43,_0x1f0cfb){const _0x55c45d=a2_0x55c4();return a2_0x22e1=function(_0x22e1f2,_0x2c0053){_0x22e1f2=_0x22e1f2-0xa9;let _0x20f2ef=_0x55c45d[_0x22e1f2];return _0x20f2ef;},a2_0x22e1(_0xa3ab43,_0x1f0cfb);}function getRetryDelay(_0x57d6ae,_0x25bacf){const _0x5621ca=a2_0x22e1,_0x4ffe9a=Math['min'](_0x25bacf['baseDelay']*Math[_0x5621ca(0xe2)](0x2,_0x57d6ae),_0x25bacf[_0x5621ca(0xa9)]);return Math[_0x5621ca(0xc9)]()*_0x4ffe9a;}function a2_0x55c4(){const _0x598f52=['title','forEach','arrayBuffer','signal','retryConfig','detail','get','\x20failed:\x20','Request\x20cancelled\x20by\x20user','HTTP\x20','UNAUTHENTICATED','combineSignals','\x0a\x20\x20Details:\x20','round','body','message','warn','1053gGuPmK','problemDetails','type','pow','parse','instance','RATE_LIMITED','HTTPClientError','Content-Type','json','AbortError','Error','addEventListener','defaultHeaders','arraybuffer','stringify','392828IAxeQP','3578253seWcaL','maxDelay','name','abort','12429bGyFyJ','application/json','ms...','string','code','status','aborted','2810285dmoEkf','parseProblemDetails','text','UNAVAILABLE',']\x20Request\x20failed\x20with\x20HTTP\x20','from','requestSSE',']\x20Request\x20failed\x20with\x20','3186vqCLUr','request','2903718zNaJpi','retrying\x20in\x20','baseUrl','Request\x20failed\x20after\x20retries','statusText','\x0a\x20\x20URL:\x20','object','safeParseJSON','266190uOwhaL','about:blank','headers','HTTP_REQUEST_FAILURE','random','2824UNWezw','sleep','[Retry\x20','PERMISSION_DENIED'];a2_0x55c4=function(){return _0x598f52;};return a2_0x55c4();}function statusCodeToErrorCode(_0x45fe5e){const _0x208466=a2_0x22e1;if(_0x45fe5e===0x191)return ErrorCode[_0x208466(0xd8)];else{if(_0x45fe5e===0x193)return ErrorCode[_0x208466(0xcd)];else{if(_0x45fe5e===0x194)return ErrorCode['NOT_FOUND'];else{if(_0x45fe5e===0x1ad)return ErrorCode[_0x208466(0xe5)];else return _0x45fe5e>=0x1f4?ErrorCode[_0x208466(0xb6)]:ErrorCode['INVALID_ARGUMENT'];}}}}export class HTTPClientError extends Error{[a2_0x5e393b(0xb1)];[a2_0x5e393b(0xe0)];[a2_0x5e393b(0xb0)];constructor(_0x4fb260,_0xfc75f1,_0x5d4d5a){const _0x5eca4d=a2_0x5e393b,_0x3913dc=statusCodeToErrorCode(_0xfc75f1);super('['+_0x3913dc+']\x20'+_0x4fb260),this[_0x5eca4d(0xb1)]=_0xfc75f1,this['problemDetails']=_0x5d4d5a,this[_0x5eca4d(0xaa)]=_0x5eca4d(0xe6),this[_0x5eca4d(0xb0)]=_0x3913dc;}}export class HTTPClient{[a2_0x5e393b(0xd2)];[a2_0x5e393b(0xbf)];['defaultHeaders'];constructor(_0x6f92ee,_0x54d3e4={},_0x56abd2){const _0x4fea7e=a2_0x5e393b;this[_0x4fea7e(0xbf)]=_0x6f92ee,this['defaultHeaders']=_0x54d3e4,this[_0x4fea7e(0xd2)]={...DEFAULT_RETRY_CONFIG,..._0x56abd2};}async[a2_0x5e393b(0xbc)](_0x5f3f2b,_0x1e4a73,_0x255a2={}){const _0x17b887=a2_0x5e393b,{headers:headers={},body:_0xc082ed,timeout:timeout=0x7530,retries:retries=this[_0x17b887(0xd2)]['maxRetries'],signal:_0x4de688,includeHeaders:includeHeaders=![],responseType:responseType=_0x17b887(0xe8)}=_0x255a2,_0x1902a1=''+this[_0x17b887(0xbf)]+_0x1e4a73,_0x528f77={...this[_0x17b887(0xec)],...headers};if(_0xc082ed&&!_0x528f77[_0x17b887(0xe7)]){if(_0xc082ed instanceof Buffer){}else _0x528f77[_0x17b887(0xe7)]=_0x17b887(0xad);}let _0x552f99;_0xc082ed&&(_0xc082ed instanceof Buffer?_0x552f99=_0xc082ed:_0x552f99=typeof _0xc082ed===_0x17b887(0xaf)?_0xc082ed:JSON[_0x17b887(0xee)](_0xc082ed));let _0x31ac1d=null;for(let _0x58ee37=0x0;_0x58ee37<=retries;_0x58ee37++){try{const _0x1b37aa=new AbortController(),_0x1990f7=setTimeout(()=>_0x1b37aa[_0x17b887(0xab)](),timeout);if(_0x4de688){if(_0x4de688[_0x17b887(0xb2)])throw new Error(_0x17b887(0xd6));_0x4de688[_0x17b887(0xeb)]('abort',()=>_0x1b37aa[_0x17b887(0xab)](),{'once':!![]});}const _0x5a84af=await fetch(_0x1902a1,{'method':_0x5f3f2b,'headers':_0x528f77,'body':_0x552f99,'signal':_0x1b37aa[_0x17b887(0xd1)]});clearTimeout(_0x1990f7);if(_0x58ee37<retries&&isRetryableError(_0x5a84af['status'])){const _0xe96238=_0x5a84af[_0x17b887(0xc7)][_0x17b887(0xd4)]('Retry-After'),_0x294e2d=_0xe96238?parseInt(_0xe96238,0xa)*0x3e8:getRetryDelay(_0x58ee37,this['retryConfig']);console[_0x17b887(0xde)](_0x17b887(0xcc)+(_0x58ee37+0x1)+'/'+retries+_0x17b887(0xba)+_0x5a84af['status']+',\x20'+(_0x17b887(0xbe)+Math['round'](_0x294e2d)+_0x17b887(0xae))),await this[_0x17b887(0xcb)](_0x294e2d);continue;}if(!_0x5a84af['ok']){const _0x3a1abc=await this[_0x17b887(0xc4)](_0x5a84af),_0xf60d9c=this[_0x17b887(0xb4)](_0x3a1abc,_0x5a84af['status']);let _0x1534c7;if(_0x5a84af[_0x17b887(0xb1)]===0x191)_0x1534c7=_0x17b887(0xd7)+_0x5a84af['status']+':\x20'+_0x5a84af[_0x17b887(0xc1)]+'\x0a\x20\x20URL:\x20'+_0x1902a1;else{if(_0xf60d9c?.[_0x17b887(0xd3)])_0x1534c7=_0xf60d9c[_0x17b887(0xd3)];else{if(_0x3a1abc){const _0x901076=JSON[_0x17b887(0xee)](_0x3a1abc);_0x1534c7=_0x17b887(0xd7)+_0x5a84af[_0x17b887(0xb1)]+':\x20'+_0x5a84af['statusText']+'\x0a\x20\x20Details:\x20'+_0x901076;}else _0x1534c7=_0x17b887(0xd7)+_0x5a84af[_0x17b887(0xb1)]+':\x20'+_0x5a84af[_0x17b887(0xc1)];}}throw new HTTPClientError(_0x1534c7,_0x5a84af['status'],_0xf60d9c);}let _0x5a1105;if(responseType===_0x17b887(0xed)){const _0x455e4e=await _0x5a84af[_0x17b887(0xd0)]();_0x5a1105=Buffer[_0x17b887(0xb8)](_0x455e4e);}else responseType===_0x17b887(0xb5)?_0x5a1105=await _0x5a84af[_0x17b887(0xb5)]():_0x5a1105=await this['safeParseJSON'](_0x5a84af);if(includeHeaders){const _0x370b4f={};return _0x5a84af['headers'][_0x17b887(0xcf)]((_0xfbab1c,_0x274507)=>{_0x370b4f[_0x274507]=_0xfbab1c;}),{'data':_0x5a1105,'status':_0x5a84af[_0x17b887(0xb1)],'headers':_0x370b4f};}return _0x5a1105;}catch(_0x466525){_0x31ac1d=_0x466525 instanceof Error?_0x466525:new Error(String(_0x466525));if(_0x466525 instanceof HTTPClientError&&!isRetryableError(_0x466525['status']))throw _0x466525;if(_0x58ee37>=retries)throw _0x31ac1d;const _0x338d3f=getRetryDelay(_0x58ee37,this['retryConfig']);let _0x434d57;_0x31ac1d instanceof HTTPClientError?_0x434d57=_0x17b887(0xcc)+(_0x58ee37+0x1)+'/'+retries+_0x17b887(0xb7)+_0x31ac1d['status']+':\x20'+_0x31ac1d[_0x17b887(0xdd)]+',\x20'+(_0x17b887(0xbe)+Math[_0x17b887(0xdb)](_0x338d3f)+_0x17b887(0xae)):_0x434d57='[Retry\x20'+(_0x58ee37+0x1)+'/'+retries+']\x20Request\x20to\x20'+_0x1902a1+_0x17b887(0xd5)+_0x31ac1d[_0x17b887(0xdd)]+',\x20'+('retrying\x20in\x20'+Math[_0x17b887(0xdb)](_0x338d3f)+'ms...'),console['warn'](_0x434d57),await this['sleep'](_0x338d3f);}}if(_0x31ac1d&&!(_0x31ac1d instanceof HTTPClientError))throw new SDKError(ErrorCode[_0x17b887(0xc8)],'Request\x20to\x20'+_0x1902a1+_0x17b887(0xd5)+_0x31ac1d[_0x17b887(0xdd)],_0x31ac1d);throw _0x31ac1d||new SDKError(ErrorCode['INTERNAL'],_0x17b887(0xc0));}async[a2_0x5e393b(0xc4)](_0x416a64){const _0x57d6ca=a2_0x5e393b,_0xa3a65d=await _0x416a64[_0x57d6ca(0xb5)]();if(!_0xa3a65d)return null;try{const _0x69e2fc=a2_0xe8faad({'storeAsString':!![]});return _0x69e2fc[_0x57d6ca(0xe3)](_0xa3a65d);}catch{return{'body':_0xa3a65d};}}[a2_0x5e393b(0xb4)](_0xcdb920,_0xd8cc39){const _0xd6ed87=a2_0x5e393b;if(!_0xcdb920||typeof _0xcdb920!==_0xd6ed87(0xc3))return undefined;const _0x1a5ddc=_0xcdb920;if(_0x1a5ddc['type']||_0x1a5ddc[_0xd6ed87(0xce)]||_0x1a5ddc[_0xd6ed87(0xd3)])return{'type':_0x1a5ddc[_0xd6ed87(0xe1)]||_0xd6ed87(0xc6),'title':_0x1a5ddc[_0xd6ed87(0xce)]||_0xd6ed87(0xea),'status':_0x1a5ddc[_0xd6ed87(0xb1)]||_0xd8cc39,'detail':_0x1a5ddc[_0xd6ed87(0xd3)]||'An\x20error\x20occurred','instance':_0x1a5ddc[_0xd6ed87(0xe4)]||'',..._0x1a5ddc};return undefined;}[a2_0x5e393b(0xcb)](_0xc8fe07){return new Promise(_0x499088=>setTimeout(_0x499088,_0xc8fe07));}async[a2_0x5e393b(0xb9)](_0x1b0191,_0x227db6,_0x21d397={}){const _0x38d0dc=a2_0x5e393b,{headers:headers={},body:_0x30f334,timeout:timeout=0x7530,signal:_0x3c8be8}=_0x21d397,_0x1dd4bf=''+this[_0x38d0dc(0xbf)]+_0x227db6,_0x3db45b={...this['defaultHeaders'],...headers},_0x33f5b3=new AbortController(),_0x5dc251=setTimeout(()=>_0x33f5b3[_0x38d0dc(0xab)](),timeout),_0x1a8dcf=_0x3c8be8?[_0x33f5b3['signal'],_0x3c8be8]:[_0x33f5b3[_0x38d0dc(0xd1)]],_0x5ebc40=this['combineSignals'](_0x1a8dcf);try{const _0x2d9f87={'method':_0x1b0191,'headers':_0x3db45b,'signal':_0x5ebc40};if(_0x30f334){if(typeof _0x30f334==='string')_0x2d9f87[_0x38d0dc(0xdc)]=_0x30f334;else _0x30f334 instanceof Buffer?_0x2d9f87[_0x38d0dc(0xdc)]=_0x30f334:_0x2d9f87[_0x38d0dc(0xdc)]=JSON[_0x38d0dc(0xee)](_0x30f334);}const _0x40dd4c=await fetch(_0x1dd4bf,_0x2d9f87);clearTimeout(_0x5dc251);if(!_0x40dd4c['ok']){const _0x1a77b8=await this[_0x38d0dc(0xc4)](_0x40dd4c),_0x219e9a=this[_0x38d0dc(0xb4)](_0x1a77b8,_0x40dd4c[_0x38d0dc(0xb1)]);let _0x3f6b7c;if(_0x40dd4c[_0x38d0dc(0xb1)]===0x191)_0x3f6b7c=_0x38d0dc(0xd7)+_0x40dd4c['status']+':\x20'+_0x40dd4c[_0x38d0dc(0xc1)]+_0x38d0dc(0xc2)+_0x1dd4bf;else{if(_0x219e9a?.['detail'])_0x3f6b7c=_0x219e9a[_0x38d0dc(0xd3)];else{if(_0x1a77b8){const _0x4e8c45=JSON['stringify'](_0x1a77b8);_0x3f6b7c=_0x38d0dc(0xd7)+_0x40dd4c[_0x38d0dc(0xb1)]+':\x20'+_0x40dd4c[_0x38d0dc(0xc1)]+_0x38d0dc(0xda)+_0x4e8c45;}else _0x3f6b7c='HTTP\x20'+_0x40dd4c['status']+':\x20'+_0x40dd4c[_0x38d0dc(0xc1)];}}throw new HTTPClientError(_0x3f6b7c,_0x40dd4c['status'],_0x219e9a);}return _0x40dd4c;}catch(_0x5217a7){clearTimeout(_0x5dc251);if(_0x5217a7 instanceof HTTPClientError)throw _0x5217a7;if(_0x5217a7['name']===_0x38d0dc(0xe9))throw new Error(_0x38d0dc(0xd6));throw _0x5217a7;}}[a2_0x5e393b(0xd9)](_0x8f80a8){const _0x3f932d=a2_0x5e393b,_0x485b28=new AbortController();for(const _0x586044 of _0x8f80a8){if(_0x586044[_0x3f932d(0xb2)])return _0x485b28[_0x3f932d(0xab)](),_0x485b28[_0x3f932d(0xd1)];_0x586044[_0x3f932d(0xeb)]('abort',()=>_0x485b28[_0x3f932d(0xab)](),{'once':!![]});}return _0x485b28['signal'];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0xf33759=a3_0x221f;(function(_0xc1cf8f,_0x38f0f0){const _0x22225c=a3_0x221f,_0x322d2d=_0xc1cf8f();while(!![]){try{const _0x5dfc65=parseInt(_0x22225c(0x1b9))/0x1*(-parseInt(_0x22225c(0x1cc))/0x2)+-parseInt(_0x22225c(0x195))/0x3*(-parseInt(_0x22225c(0x196))/0x4)+parseInt(_0x22225c(0x1a5))/0x5*(-parseInt(_0x22225c(0x1c6))/0x6)+parseInt(_0x22225c(0x1b2))/0x7*(-parseInt(_0x22225c(0x197))/0x8)+-parseInt(_0x22225c(0x1bb))/0x9+-parseInt(_0x22225c(0x1a6))/0xa*(parseInt(_0x22225c(0x1bf))/0xb)+-parseInt(_0x22225c(0x1b5))/0xc*(-parseInt(_0x22225c(0x1b4))/0xd);if(_0x5dfc65===_0x38f0f0)break;else _0x322d2d['push'](_0x322d2d['shift']());}catch(_0x269de3){_0x322d2d['push'](_0x322d2d['shift']());}}}(a3_0x4d4e,0x49432));import{HTTPClient}from'./http-client.js';import{getEndpoint}from'../types/index.js';function a3_0x221f(_0x10e2e4,_0x3069b7){const _0x4d4e22=a3_0x4d4e();return a3_0x221f=function(_0x221f21,_0x1e36a0){_0x221f21=_0x221f21-0x18e;let _0x1bf041=_0x4d4e22[_0x221f21];return _0x1bf041;},a3_0x221f(_0x10e2e4,_0x3069b7);}import{getAuthHeaders,toHeaderRecord}from'../core/auth.js';import{parseSSEStream}from'../utils/sse-parser.js';export class LLMClient{[a3_0xf33759(0x1bd)];[a3_0xf33759(0x1c3)];[a3_0xf33759(0x1c9)];constructor(_0x3e50ca){const _0x586010=a3_0xf33759;this[_0x586010(0x1c3)]=getEndpoint(_0x3e50ca[_0x586010(0x19c)],'llm'),this[_0x586010(0x1c9)]=toHeaderRecord(getAuthHeaders(_0x3e50ca[_0x586010(0x19c)],_0x3e50ca[_0x586010(0x1c1)])),this[_0x586010(0x1bd)]=new HTTPClient(this['baseUrl'],this[_0x586010(0x1c9)]);}async[a3_0xf33759(0x1be)](){const _0x197374=a3_0xf33759;return await this[_0x197374(0x1bd)][_0x197374(0x193)](_0x197374(0x1ac),_0x197374(0x194));}async['createProject'](_0x11f12f){const _0x13490a=a3_0xf33759,_0x3f7eee={'data':{'type':'projects','attributes':{'name':_0x11f12f[_0x13490a(0x1cd)],..._0x11f12f[_0x13490a(0x1a3)]&&{'description':_0x11f12f[_0x13490a(0x1a3)]}}}},_0x1a30a9=await this[_0x13490a(0x1bd)][_0x13490a(0x193)](_0x13490a(0x1aa),_0x13490a(0x1ce),{'headers':{'Content-Type':_0x13490a(0x1a8),'Accept':_0x13490a(0x1a8)},'body':_0x3f7eee});return _0x1a30a9[_0x13490a(0x1b7)];}async['deleteProject'](_0x2f8e60){const _0x493fa9=a3_0xf33759,_0x147bf4=_0x493fa9(0x18e)+encodeURIComponent(_0x2f8e60);await this[_0x493fa9(0x1bd)][_0x493fa9(0x193)](_0x493fa9(0x19d),_0x147bf4);}async[a3_0xf33759(0x1b1)](_0x159c8e=0x32){const _0x1ef621=a3_0xf33759,_0x39c981=[];let _0x294e04=_0x1ef621(0x1c2)+_0x159c8e;while(_0x294e04){const _0x3bc523=await this[_0x1ef621(0x1bd)]['request'](_0x1ef621(0x1ac),_0x294e04);_0x3bc523[_0x1ef621(0x1b7)]&&_0x39c981[_0x1ef621(0x1af)](..._0x3bc523[_0x1ef621(0x1b7)]);_0x294e04=_0x3bc523[_0x1ef621(0x1c5)]?.[_0x1ef621(0x1ae)];if(_0x294e04&&_0x294e04[_0x1ef621(0x199)]('http')){const _0x36b1ed=new URL(_0x294e04);_0x294e04=_0x36b1ed[_0x1ef621(0x1b6)]+_0x36b1ed[_0x1ef621(0x1bc)];}}return _0x39c981;}async[a3_0xf33759(0x1b8)](_0x4f532d){const _0x7c2d85=a3_0xf33759;let _0x460b78=_0x7c2d85(0x19b);_0x4f532d&&(_0x460b78+=_0x7c2d85(0x1a4)+encodeURIComponent(_0x4f532d));const _0x5126ee=await this[_0x7c2d85(0x1bd)][_0x7c2d85(0x193)](_0x7c2d85(0x1ac),_0x460b78);return _0x5126ee['data']||[];}async['getAgent'](_0x439fc3){const _0x4acb45=a3_0xf33759,_0x17c0eb=_0x4acb45(0x1a0)+encodeURIComponent(_0x439fc3),_0x205fe8=await this[_0x4acb45(0x1bd)][_0x4acb45(0x193)](_0x4acb45(0x1ac),_0x17c0eb);return _0x205fe8[_0x4acb45(0x1b7)];}async['createAgent'](_0x566d5c){const _0x5e17ee=a3_0xf33759,_0x41a4e0={'name':_0x566d5c[_0x5e17ee(0x1cd)],'projectId':_0x566d5c[_0x5e17ee(0x18f)],'modelType':_0x566d5c[_0x5e17ee(0x1b3)],'maxToolIterations':_0x566d5c['maxToolIterations']??0x4,'temperature':_0x566d5c[_0x5e17ee(0x1cb)]??0.7};_0x566d5c['systemPrompt']!==undefined&&(_0x41a4e0[_0x5e17ee(0x1ad)]=_0x566d5c[_0x5e17ee(0x1ad)]);_0x566d5c[_0x5e17ee(0x192)]&&(_0x41a4e0[_0x5e17ee(0x192)]=_0x566d5c['starterMessage']);const _0x5dddd7={'data':{'type':_0x5e17ee(0x198),'attributes':_0x41a4e0}},_0x2dc3dc=await this['httpClient'][_0x5e17ee(0x193)]('POST','/api/agents',{'headers':{'Content-Type':'application/vnd.api+json','Accept':_0x5e17ee(0x1a8)},'body':_0x5dddd7});return _0x2dc3dc[_0x5e17ee(0x1b7)];}async['updateAgent'](_0x5e5bc7,_0x3cc533){const _0x24c8db=a3_0xf33759,_0x9f4ef6={'data':{'type':_0x24c8db(0x198),'id':_0x5e5bc7,'attributes':{..._0x3cc533[_0x24c8db(0x1cd)]&&{'name':_0x3cc533[_0x24c8db(0x1cd)]},..._0x3cc533[_0x24c8db(0x1a3)]&&{'description':_0x3cc533[_0x24c8db(0x1a3)]},..._0x3cc533[_0x24c8db(0x1c0)]&&{'prompt':_0x3cc533[_0x24c8db(0x1c0)]},..._0x3cc533['starterMessage']&&{'starter_message':_0x3cc533[_0x24c8db(0x192)]}}}},_0x2b116f=_0x24c8db(0x1a0)+encodeURIComponent(_0x5e5bc7),_0x993b67=await this[_0x24c8db(0x1bd)][_0x24c8db(0x193)]('PATCH',_0x2b116f,{'body':_0x9f4ef6});return _0x993b67[_0x24c8db(0x1b7)];}async[a3_0xf33759(0x1c4)](_0x5130e9){const _0x11c7ef=a3_0xf33759,_0x1d1164='/api/agents/'+encodeURIComponent(_0x5130e9);await this[_0x11c7ef(0x1bd)][_0x11c7ef(0x193)]('DELETE',_0x1d1164);}async[a3_0xf33759(0x1ba)](_0x55c958=0x32){const _0x450479=a3_0xf33759,_0x105cf9=new URLSearchParams();_0x105cf9[_0x450479(0x190)](_0x450479(0x1a1),String(_0x55c958)),_0x105cf9[_0x450479(0x190)]('sort',_0x450479(0x19f));const _0x4e16b6=_0x450479(0x1a9)+_0x105cf9[_0x450479(0x1c8)](),_0x505a6a=await this[_0x450479(0x1bd)][_0x450479(0x193)](_0x450479(0x1ac),_0x4e16b6);return _0x505a6a[_0x450479(0x1b7)]||[];}async[a3_0xf33759(0x1ab)](_0x1baa69){const _0x57f05a=a3_0xf33759,_0xd6b9d9=_0x57f05a(0x1a7)+encodeURIComponent(_0x1baa69),_0x3af181=await this[_0x57f05a(0x1bd)][_0x57f05a(0x193)](_0x57f05a(0x1ac),_0xd6b9d9);return _0x3af181[_0x57f05a(0x1b7)];}async[a3_0xf33759(0x1b0)](_0x20aeca){const _0x2a47c4=a3_0xf33759,_0x26f849=_0x2a47c4(0x1a7)+encodeURIComponent(_0x20aeca)+_0x2a47c4(0x1ca);return await this['httpClient'][_0x2a47c4(0x193)]('GET',_0x26f849);}async[a3_0xf33759(0x191)](_0x5a7b9d){const _0x2197b9=a3_0xf33759,_0x49ba9a={'data':{'type':'chats','attributes':{'agentId':_0x5a7b9d[_0x2197b9(0x19e)]}}},_0xff8969=await this[_0x2197b9(0x1bd)][_0x2197b9(0x193)](_0x2197b9(0x1aa),'/api/chats',{'headers':{'Content-Type':_0x2197b9(0x1a8),'Accept':_0x2197b9(0x1a8)},'body':_0x49ba9a});return _0xff8969['data'];}async*['continueChat'](_0x4b0ecf,_0x251a1a,_0x3336ad){const _0x34fb58=a3_0xf33759,_0xa3c373=_0x34fb58(0x1a7)+encodeURIComponent(_0x4b0ecf)+'/continue',_0x4c7a64={'input':_0x251a1a},_0x5227ac=await this[_0x34fb58(0x1bd)][_0x34fb58(0x1a2)](_0x34fb58(0x1aa),_0xa3c373,{'headers':{'Content-Type':_0x34fb58(0x19a),'Accept':_0x34fb58(0x1c7)},'body':_0x4c7a64,'signal':_0x3336ad});yield*parseSSEStream(_0x5227ac);}}function a3_0x4d4e(){const _0x44e4bb=['baseUrl','deleteAgent','links','114828sNNQAF','text/event-stream','toString','authHeaders','/history','temperature','5876hmSeuD','name','/api/projects','/api/projects/','projectId','append','startChat','starterMessage','request','/api/users/current_settings','12gwiccs','471004rbpDAG','1045064aIiZhu','agents','startsWith','application/json','/api/agents','site','DELETE','agentId','-last_conversation_at','/api/agents/','page[limit]','requestSSE','description','?filter[project_id]=','125jqIynz','170rBVHSy','/api/chats/','application/vnd.api+json','/api/chats?','POST','getChatInfo','GET','systemPrompt','next','push','getChatHistory','listProjects','21DdrxPl','modelType','17506385KTrpIF','12EswKah','pathname','data','listAgents','4foQScc','listChats','2754207JRJlWe','search','httpClient','getUserSettings','213169aklZXH','prompt','apiKey','/api/projects?page[limit]='];a3_0x4d4e=function(){return _0x44e4bb;};return a3_0x4d4e();}
|