@treasuredata/tdx 0.1.3 → 0.1.4
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 +100 -0
- 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.d.ts +2 -1
- package/dist/client/http-client.d.ts.map +1 -1
- package/dist/client/http-client.js +1 -1
- package/dist/client/http-client.js.map +1 -1
- package/dist/client/llm-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.d.ts +26 -0
- package/dist/commands/api-command.d.ts.map +1 -0
- package/dist/commands/api-command.js +1 -0
- package/dist/commands/api-command.js.map +1 -0
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/index.js +1 -1
- package/dist/sdk/api.d.ts +110 -0
- package/dist/sdk/api.d.ts.map +1 -0
- package/dist/sdk/api.js +1 -0
- package/dist/sdk/api.js.map +1 -0
- package/dist/sdk/database.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.d.ts +6 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/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/format-detector.js +1 -1
- package/dist/utils/formatters.js +1 -1
- package/dist/utils/option-validation.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/package.json +1 -1
package/README.md
CHANGED
|
@@ -220,6 +220,106 @@ tdx chat "Hello" --verbose
|
|
|
220
220
|
- **--model**: Reuses or creates agent per model (e.g., `tdx_gpt-5`)
|
|
221
221
|
- **--temperature**: Controls randomness (0.7 default, lower=focused, higher=creative)
|
|
222
222
|
|
|
223
|
+
### API Command (Raw HTTP Access)
|
|
224
|
+
|
|
225
|
+
Make authenticated HTTP requests to any Treasure Data API endpoint (similar to `gh api` from GitHub CLI).
|
|
226
|
+
|
|
227
|
+
**Usage:** `tdx api <endpoint> [options]`
|
|
228
|
+
|
|
229
|
+
| Option | Description | Example |
|
|
230
|
+
|--------|-------------|---------|
|
|
231
|
+
| `<endpoint>` | API endpoint path (must start with /) | `/v3/database/list` |
|
|
232
|
+
| `-X, --method <method>` | HTTP method (GET, POST, PUT, DELETE, PATCH) | `-X POST` |
|
|
233
|
+
| `--data <json>` | Request body as JSON string | `--data '{"name":"mydb"}'` |
|
|
234
|
+
| `-f, --file <path>` | Read request body from file | `-f body.json` |
|
|
235
|
+
| `-H, --header <header>` | Custom header (repeatable) | `-H "X-Custom: value"` |
|
|
236
|
+
| `--type <api_type>` | API type (td, cdp, workflow, trino, llm) | `--type cdp` |
|
|
237
|
+
|
|
238
|
+
**Examples:**
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
# GET request to TD API (default)
|
|
242
|
+
tdx api /v3/database/list
|
|
243
|
+
|
|
244
|
+
# GET with path parameters
|
|
245
|
+
tdx api /v3/database/show/mydb
|
|
246
|
+
tdx api /v3/table/list/mydb
|
|
247
|
+
tdx api /v3/table/show/mydb/users
|
|
248
|
+
|
|
249
|
+
# POST with inline JSON body (submit query)
|
|
250
|
+
tdx api -X POST --data '{"query":"SELECT 1"}' /v3/job/issue/hive/mydb
|
|
251
|
+
|
|
252
|
+
# POST with data from file
|
|
253
|
+
tdx api -X POST -f query.json /v3/job/issue/hive/mydb
|
|
254
|
+
|
|
255
|
+
# Custom headers
|
|
256
|
+
tdx api -H "X-Custom: value" -H "X-Another: test" /v3/database/list
|
|
257
|
+
|
|
258
|
+
# CDP API endpoints (read-only)
|
|
259
|
+
tdx api /entities/parent_segments --type cdp
|
|
260
|
+
tdx api /audiences/12345/segments --type cdp
|
|
261
|
+
tdx api -X POST --data '{"format":"sql"}' /audiences/12345/segments/query --type cdp
|
|
262
|
+
|
|
263
|
+
# Workflow API endpoints (read-only)
|
|
264
|
+
tdx api /api/workflows --type workflow
|
|
265
|
+
tdx api /api/projects --type workflow
|
|
266
|
+
tdx api /api/attempts --type workflow
|
|
267
|
+
|
|
268
|
+
# Trino API endpoints (query submission - plain SQL, not JSON)
|
|
269
|
+
tdx api -X POST --data 'SELECT 1' /v1/statement --type trino
|
|
270
|
+
|
|
271
|
+
# LLM API endpoints (read-only)
|
|
272
|
+
tdx api /v1/agents --type llm
|
|
273
|
+
tdx api /v1/models --type llm
|
|
274
|
+
|
|
275
|
+
# Show HTTP response headers (with --verbose)
|
|
276
|
+
tdx api /v3/database/list --verbose
|
|
277
|
+
|
|
278
|
+
# Save output to file
|
|
279
|
+
tdx api /v3/database/list --output databases.json
|
|
280
|
+
|
|
281
|
+
# Combine --verbose with --output to see headers while saving
|
|
282
|
+
tdx api /v3/database/list --verbose --output databases.json
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
**API Types:**
|
|
286
|
+
|
|
287
|
+
| Type | Base URL Pattern | Description |
|
|
288
|
+
|------|-----------------|-------------|
|
|
289
|
+
| `td` | `api.treasuredata.com` | TD REST API (databases, tables, jobs) |
|
|
290
|
+
| `cdp` | `api-cdp.treasuredata.com` | CDP API (audiences, segments, activations) |
|
|
291
|
+
| `workflow` | `api-workflow.treasuredata.com` | Workflow API (digdag) |
|
|
292
|
+
| `trino` | `api-presto.treasuredata.com` | Trino Query Engine API |
|
|
293
|
+
| `llm` | `llm-api.treasuredata.com` | LLM API (agents, chat) |
|
|
294
|
+
|
|
295
|
+
**Notes:**
|
|
296
|
+
- All requests are automatically authenticated using your configured API key
|
|
297
|
+
- Request body from `--data` must be valid JSON
|
|
298
|
+
- `--data` and `--file` are mutually exclusive
|
|
299
|
+
- Custom headers override default authentication headers
|
|
300
|
+
- Response is output to stdout as JSON
|
|
301
|
+
- Use `--verbose` to show HTTP request/response details in stderr:
|
|
302
|
+
- Full target URL (shows site and API type)
|
|
303
|
+
- Request headers (non-sensitive: User-Agent, X-TD-Client, Content-Type, etc.)
|
|
304
|
+
- Response status and headers
|
|
305
|
+
- Sensitive headers (Authorization, Cookie, etc.) are hidden for security
|
|
306
|
+
|
|
307
|
+
**Verbose Output Example:**
|
|
308
|
+
```
|
|
309
|
+
> POST https://api.treasuredata.com/v3/job/issue/hive/mydb
|
|
310
|
+
> User-Agent: tdx/1.0.0 (darwin; node/24.0.0)
|
|
311
|
+
> X-TD-Client: tdx
|
|
312
|
+
> X-TD-Client-Version: 1.0.0
|
|
313
|
+
> Content-Type: application/json
|
|
314
|
+
>
|
|
315
|
+
|
|
316
|
+
< HTTP/1.1 200
|
|
317
|
+
< content-type: application/json
|
|
318
|
+
< x-td-request-id: abc123
|
|
319
|
+
|
|
320
|
+
{"job_id": "12345"}
|
|
321
|
+
```
|
|
322
|
+
|
|
223
323
|
### Database Commands
|
|
224
324
|
|
|
225
325
|
| Command | Description | Example |
|
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const a0_0x3be17b=a0_0x2aac;(function(_0x4f8733,_0x50281a){const _0x39ce0f=a0_0x2aac,_0x4abd11=_0x4f8733();while(!![]){try{const _0x32ee09=parseInt(_0x39ce0f(0x1f5))/0x1+parseInt(_0x39ce0f(0x191))/0x2*(parseInt(_0x39ce0f(0x21f))/0x3)+-parseInt(_0x39ce0f(0x22a))/0x4*(parseInt(_0x39ce0f(0x203))/0x5)+parseInt(_0x39ce0f(0x1ae))/0x6*(-parseInt(_0x39ce0f(0x1ed))/0x7)+-parseInt(_0x39ce0f(0x1e5))/0x8+-parseInt(_0x39ce0f(0x194))/0x9*(parseInt(_0x39ce0f(0x1ad))/0xa)+-parseInt(_0x39ce0f(0x1bb))/0xb*(-parseInt(_0x39ce0f(0x1de))/0xc);if(_0x32ee09===_0x50281a)break;else _0x4abd11['push'](_0x4abd11['shift']());}catch(_0x1ebb2e){_0x4abd11['push'](_0x4abd11['shift']());}}}(a0_0x4a67,0x521e7));import{Command}from'commander';import{readFileSync}from'fs';import{fileURLToPath}from'url';import{dirname,join}from'path';import{TDX,loadLocalSDKConfig}from'./sdk/index.js';function a0_0x4a67(){const _0x4274d5=['--temperature\x20<n>','Model\x20type\x20(default:\x20claude-4.5-sonnet)','20745890BkTXrx','System\x20prompt/instructions\x20(default:\x20empty)','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','AI-native\x20CLI\x20for\x20Treasure\x20Data','Model\x20name\x20(default:\x20claude-4.5-sonnet)','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02)','--reason\x20<text>','Alias\x20for\x20--database\x20(natural\x20language\x20style)','command','Preview\x20operation\x20without\x20executing','description','describe\x20<segment_name>','log','Retry\x20a\x20session\x20or\x20attempt\x20(prefix\x20with\x20session:\x20or\x20attempt:)','describe\x20<table>','Show\x20segment\x20details\x20(use\x20parent_name\x20or\x20parent_name.child_name)','workflows\x20[project]','action','Delete\x20an\x20agent\x20(use\x20\x22project-name/agent-name\x22)','get\x20<agent-ref>','--verbose','--to\x20<timestamp>','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Job\x20commands\x20-\x20coming\x20soon','Starting\x20offset\x20for\x20logs\x20(default:\x200)','-y,\x20--yes','Temperature\x20(0.0-2.0,\x20default:\x200.7)','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name.child_name)','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Kill\x20a\x20running\x20attempt','Start\x20time\x20filter\x20(ISO\x208601\x20format)','List\x20available\x20LLM\x20models','option','--include-retried','jsonl','12rnREwS','database','--resume-from\x20<task>','--system-prompt\x20<text>','Save\x20output\x20to\x20file','attempt\x20<attempt-id>','Get\x20agent\x20details\x20(use\x20\x22project-name/agent-name\x22)','4072064OkLLea','--include-subtasks','--site\x20<site>','utf-8','us01','kill\x20<attempt-id>','List\x20parent\x20segments\x20or\x20child\x20segments\x20under\x20a\x20parent','Segment\x20folder\x20management','7RGvVFK','../package.json','Run\x20Trino\x20query\x20with\x20streaming\x20results','Job\x20management\x20commands','Trino\x20catalog\x20(default:\x20td)','show\x20<table>','List\x20segment\x20folders\x20under\x20a\x20parent\x20segment','show\x20<segment_name>','208771coGRbS','--no-color','create\x20<name>','Update\x20an\x20existing\x20agent\x20(use\x20\x22project-name/agent-name\x22)','sessions\x20[project]','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','--project-id\x20<id>','Reason\x20for\x20killing\x20the\x20attempt','Resume\x20from\x20specific\x20task\x20(session\x20retry\x20only)','name','chat\x20[message...]','folder','version','update\x20<agent-ref>','1234265MEVfzc','--limit\x20<rows>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','folders\x20<parent_name>','argv','exit','List\x20all\x20LLM\x20agents\x20(optionally\x20filtered\x20by\x20project\x20name)','logs\x20<attempt-id>\x20<task-name>','opts','--status\x20<status>','tsv','run','desc','--in\x20<database>','Include\x20retried\x20attempts','tables\x20[pattern]','alias','slice','Agent\x20reference\x20(project-name/agent-name)','Maximum\x20tool\x20iterations\x20(default:\x204)','json','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','0.7','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(use\x20parent_name\x20or\x20parent_name.child_name)','Skip\x20confirmation\x20prompts','--offset\x20<number>','projects\x20[pattern]','--agent\x20<ref>','3705sKFLDc','Show\x20folder\x20details\x20(use\x20parent_name.folder_name)','--prompt\x20<text>','claude-4.5-sonnet','--color','Read\x20SQL\x20query\x20from\x20file','-c,\x20--continue','Workflow\x20(Digdag)\x20management\x20commands','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Show\x20logs\x20for\x20a\x20specific\x20task','databases\x20[pattern]','8BxtEpD','length','--from\x20<timestamp>','parse','agent','--output\x20<file>','--params\x20<json>','--timeout\x20<seconds>','-f,\x20--file\x20<path>','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','Create\x20a\x20new\x20agent','format','228ppuQQD','history\x20[chat-id]','segment','4131972sjLvEk','activations\x20<segment_name>','tasks\x20<attempt-id>','delete','--format\x20<format>','site','verbose','LLM\x20agent\x20management\x20commands','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--json','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','outputHelp','agents\x20[project-name]','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','Set\x20operation\x20timeout\x20in\x20seconds','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Agent\x20description','--dry-run','End\x20time\x20filter\x20(ISO\x208601\x20format)','tdx','-d,\x20--database\x20<database>','models','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Starter\x20message','--from-task\x20<task>','10rppCEr','2624220YnRWjJ','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','Resume\x20from\x20specific\x20task\x20(attempt\x20retry\x20only)','--tsv','--model\x20<name>','CDP\x20segment\x20management\x20commands','retry\x20<session-id|attempt-id>','segments\x20[parent_name]','show\x20<folder_ref>','Describe\x20table\x20schema','Show\x20specific\x20attempt\x20details'];a0_0x4a67=function(){return _0x4274d5;};return a0_0x4a67();}import{resolveSite}from'./core/config.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand}from'./commands/chat-command.js';import{DatabasesCommand}from'./commands/databases.js';function a0_0x2aac(_0xe0c709,_0x3634cf){const _0x4a67b8=a0_0x4a67();return a0_0x2aac=function(_0x2aac94,_0x97a5e9){_0x2aac94=_0x2aac94-0x190;let _0x3356b9=_0x4a67b8[_0x2aac94];return _0x3356b9;},a0_0x2aac(_0xe0c709,_0x3634cf);}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}from'./commands/workflow-command.js';import{AgentModelsCommand,AgentProjectsCommand,AgentsListCommand,AgentGetCommand,AgentCreateCommand,AgentUpdateCommand,AgentRemoveCommand,AgentHistoryCommand}from'./commands/llm-command.js';const __filename=fileURLToPath(import.meta['url']),__dirname=dirname(__filename),packageJson=JSON['parse'](readFileSync(join(__dirname,a0_0x3be17b(0x1ee)),a0_0x3be17b(0x1e8))),program=new Command();program[a0_0x3be17b(0x1fe)](a0_0x3be17b(0x1a7))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1be))['version'](packageJson[a0_0x3be17b(0x201)]),program['option'](a0_0x3be17b(0x1e7),a0_0x3be17b(0x1c0),a0_0x3be17b(0x1e9))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x198),a0_0x3be17b(0x1fa))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x19d),a0_0x3be17b(0x19c))[a0_0x3be17b(0x1db)]('--jsonl','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)')[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1b1),a0_0x3be17b(0x227))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x22f),a0_0x3be17b(0x1e2))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x204),a0_0x3be17b(0x1d7),'40')['option'](a0_0x3be17b(0x223),a0_0x3be17b(0x1af),![])[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1f6),a0_0x3be17b(0x1bd),![])['option'](a0_0x3be17b(0x1cf),'Enable\x20verbose\x20logging',![])[a0_0x3be17b(0x1db)](a0_0x3be17b(0x231),a0_0x3be17b(0x1a2),'30')[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1a5),a0_0x3be17b(0x1c4),![])[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1d4),a0_0x3be17b(0x21b),![])['hook']('preAction',_0x1d5f72=>{const _0xca9261=a0_0x3be17b,_0x399309=_0x1d5f72[_0xca9261(0x20b)]();if(!_0x399309['format']){if(_0x399309[_0xca9261(0x217)])_0x399309[_0xca9261(0x190)]=_0xca9261(0x217);else{if(_0x399309[_0xca9261(0x1dd)])_0x399309[_0xca9261(0x190)]=_0xca9261(0x1dd);else _0x399309[_0xca9261(0x20d)]&&(_0x399309[_0xca9261(0x190)]=_0xca9261(0x20d));}}});function createTDXInstance(_0x425ee8){const _0x38dd17=a0_0x3be17b,_0x208ab6=resolveSite(_0x425ee8[_0x38dd17(0x199)]),_0x45a8a2=_0x425ee8[_0x38dd17(0x19a)]||![],_0x41d4d6=loadLocalSDKConfig({'site':_0x208ab6,'verbose':_0x45a8a2});return new TDX(_0x41d4d6);}program[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x229))['description']('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')['action'](async(_0x1306ac,_0x3d6297)=>{const _0x241646=a0_0x3be17b,_0x59a997=new DatabasesCommand(),_0x37911a=program['opts'](),_0x2fc493=createTDXInstance(_0x37911a),_0x181cd0=await _0x59a997[_0x241646(0x20e)]({'options':{..._0x37911a,..._0x3d6297},'args':_0x1306ac?[_0x1306ac]:[],'tdx':_0x2fc493});process[_0x241646(0x208)](_0x181cd0);}),program[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1ff))[a0_0x3be17b(0x1c5)]('Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)')['option'](a0_0x3be17b(0x21e),a0_0x3be17b(0x215))[a0_0x3be17b(0x1db)]('--model\x20<name>',a0_0x3be17b(0x1bf))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1b9),a0_0x3be17b(0x1d5))['option'](a0_0x3be17b(0x225),'Continue\x20last\x20chat\x20session')[a0_0x3be17b(0x1cc)](async(_0x191505,_0x36636b)=>{const _0x7e1675=a0_0x3be17b,_0x3df3a9=new ChatCommand(),_0x19f159=program['opts'](),_0x2ccc82=createTDXInstance(_0x19f159),_0x2a56dd=await _0x3df3a9[_0x7e1675(0x20e)]({'options':{..._0x19f159,..._0x36636b},'args':_0x191505,'tdx':_0x2ccc82});process[_0x7e1675(0x208)](_0x2a56dd);}),program['command'](a0_0x3be17b(0x212))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1a3))[a0_0x3be17b(0x1db)]('-d,\x20--database\x20<database>','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')['option'](a0_0x3be17b(0x210),a0_0x3be17b(0x1c2))['action'](async(_0x5d7cb8,_0x55cff6)=>{const _0x48381f=a0_0x3be17b,_0x13db5d=new TablesCommand(),_0x45879d=program[_0x48381f(0x20b)](),_0x293dea=createTDXInstance(_0x45879d);_0x55cff6['in']&&(_0x55cff6['database']=_0x55cff6['in']);const _0x23c40f=await _0x13db5d[_0x48381f(0x20e)]({'options':{..._0x45879d,..._0x55cff6},'args':_0x5d7cb8?[_0x5d7cb8]:[],'tdx':_0x293dea});process[_0x48381f(0x208)](_0x23c40f);}),program[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1f2))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x233))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1a8),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)')[a0_0x3be17b(0x1db)](a0_0x3be17b(0x210),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x550d56,_0x148c6e)=>{const _0x907340=a0_0x3be17b,_0x2a2005=new ShowCommand(),_0x5f03c5=program[_0x907340(0x20b)](),_0x257d48=createTDXInstance(_0x5f03c5);_0x148c6e['in']&&(_0x148c6e[_0x907340(0x1df)]=_0x148c6e['in']);const _0x479b28=await _0x2a2005[_0x907340(0x20e)]({'options':{..._0x5f03c5,..._0x148c6e},'args':[_0x550d56],'tdx':_0x257d48});process['exit'](_0x479b28);}),program[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1c9))[a0_0x3be17b(0x213)](a0_0x3be17b(0x20f))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1b7))['option'](a0_0x3be17b(0x1a8),a0_0x3be17b(0x205))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x210),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a0_0x3be17b(0x1cc)](async(_0x3142ae,_0xe6361d)=>{const _0x37fec9=a0_0x3be17b,_0x50fb25=new DescribeCommand(),_0x1b5a0c=program[_0x37fec9(0x20b)](),_0x1b3805=createTDXInstance(_0x1b5a0c);_0xe6361d['in']&&(_0xe6361d[_0x37fec9(0x1df)]=_0xe6361d['in']);const _0x131cc8=await _0x50fb25['run']({'options':{..._0x1b5a0c,..._0xe6361d},'args':[_0x3142ae],'tdx':_0x1b3805});process[_0x37fec9(0x208)](_0x131cc8);}),program[a0_0x3be17b(0x1c3)]('query\x20[sql]')[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1ef))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1a8),'Database\x20to\x20query\x20(default:\x20information_schema)')[a0_0x3be17b(0x1db)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a0_0x3be17b(0x1db)]('--catalog\x20<catalog>',a0_0x3be17b(0x1f1))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x232),a0_0x3be17b(0x224))[a0_0x3be17b(0x1db)]('--limit\x20<rows>',a0_0x3be17b(0x1d7),'40')['action'](async(_0x12abc4,_0x8b18ac)=>{const _0x4760ea=a0_0x3be17b,_0x5901b8=new QueryCommand(),_0x4aace1=program['opts'](),_0x339a95=createTDXInstance(_0x4aace1);_0x8b18ac['in']&&(_0x8b18ac[_0x4760ea(0x1df)]=_0x8b18ac['in']);const _0x2add32=await _0x5901b8[_0x4760ea(0x20e)]({'options':{..._0x4aace1,..._0x8b18ac},'args':_0x12abc4?[_0x12abc4]:[],'tdx':_0x339a95});process[_0x4760ea(0x208)](_0x2add32);}),program[a0_0x3be17b(0x1c3)]('job')[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1f0))[a0_0x3be17b(0x1cc)](()=>{const _0x585eab=a0_0x3be17b;console[_0x585eab(0x1c7)](_0x585eab(0x1d2));}),program[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1b5))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1eb))[a0_0x3be17b(0x1cc)](async(_0x65d899,_0xaa355a)=>{const _0x3adc14=a0_0x3be17b,_0x3aa1d6=new SegmentsCommand(),_0x4c9e00=program['opts'](),_0x2d7fdc=createTDXInstance(_0x4c9e00),_0x502b43=await _0x3aa1d6['run']({'options':{..._0x4c9e00,..._0xaa355a},'args':_0x65d899?[_0x65d899]:[],'tdx':_0x2d7fdc});process[_0x3adc14(0x208)](_0x502b43);});const segmentCmd=program[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x193))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1b3));segmentCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1c6))[a0_0x3be17b(0x213)](a0_0x3be17b(0x20f))['description'](a0_0x3be17b(0x1ca))['action'](async(_0x325bfe,_0x183e8d)=>{const _0x2454e9=a0_0x3be17b,_0x47ec1d=new SegmentDescribeCommand(),_0x3cc76a=program[_0x2454e9(0x20b)](),_0x3e4486=createTDXInstance(_0x3cc76a),_0x51c34b=await _0x47ec1d['run']({'options':{..._0x3cc76a,..._0x183e8d},'args':[_0x325bfe],'tdx':_0x3e4486});process[_0x2454e9(0x208)](_0x51c34b);}),segmentCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1f4))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x21a))[a0_0x3be17b(0x1cc)](async(_0x30157b,_0x1df015)=>{const _0x347565=a0_0x3be17b,_0x256c6a=new SegmentShowCommand(),_0x21ff86=program[_0x347565(0x20b)](),_0xecbd32=createTDXInstance(_0x21ff86),_0x4987c4=await _0x256c6a[_0x347565(0x20e)]({'options':{..._0x21ff86,..._0x1df015},'args':[_0x30157b],'tdx':_0xecbd32});process[_0x347565(0x208)](_0x4987c4);}),segmentCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x206))['description'](a0_0x3be17b(0x1f3))[a0_0x3be17b(0x1cc)](async(_0x486fbb,_0x3f3530)=>{const _0x36abe2=a0_0x3be17b,_0x6b9e96=new SegmentFolderListCommand(),_0x998d99=program['opts'](),_0x4516f0=createTDXInstance(_0x998d99),_0x428bab=await _0x6b9e96['run']({'options':{..._0x998d99,..._0x3f3530},'args':[_0x486fbb],'tdx':_0x4516f0});process[_0x36abe2(0x208)](_0x428bab);});const folderCmd=segmentCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x200))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1ec));folderCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1b6))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x220))[a0_0x3be17b(0x1cc)](async(_0x3409d5,_0x536a49)=>{const _0x3f096b=a0_0x3be17b,_0x579fd1=new SegmentFolderShowCommand(),_0x35cd29=program[_0x3f096b(0x20b)](),_0x5d1307=createTDXInstance(_0x35cd29),_0x5261cd=await _0x579fd1['run']({'options':{..._0x35cd29,..._0x536a49},'args':[_0x3409d5],'tdx':_0x5d1307});process['exit'](_0x5261cd);}),segmentCmd[a0_0x3be17b(0x1c3)]('sql\x20<segment_name>')['description']('Get\x20SQL\x20query\x20for\x20segment\x20(use\x20parent_name\x20or\x20parent_name.child_name)')[a0_0x3be17b(0x1cc)](async(_0x4a706b,_0x4b41e4)=>{const _0x13b741=a0_0x3be17b,_0x4557cc=new SegmentSQLCommand(),_0x52014c=program['opts'](),_0x3004f0=createTDXInstance(_0x52014c),_0x14f807=await _0x4557cc[_0x13b741(0x20e)]({'options':{..._0x52014c,..._0x4b41e4},'args':[_0x4a706b],'tdx':_0x3004f0});process[_0x13b741(0x208)](_0x14f807);}),program['command'](a0_0x3be17b(0x195))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1d6))[a0_0x3be17b(0x1cc)](async(_0x54737e,_0x1ab47a)=>{const _0x3a084a=a0_0x3be17b,_0x12a9ab=new ActivationsCommand(),_0x2b0ddf=program[_0x3a084a(0x20b)](),_0x28d91f=createTDXInstance(_0x2b0ddf),_0x2fedfb=await _0x12a9ab[_0x3a084a(0x20e)]({'options':{..._0x2b0ddf,..._0x1ab47a},'args':[_0x54737e],'tdx':_0x28d91f});process[_0x3a084a(0x208)](_0x2fedfb);});const workflowCmd=program['command']('workflow')[a0_0x3be17b(0x213)]('wf')[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x226));workflowCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x21d))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1d1))[a0_0x3be17b(0x1cc)](async(_0x537321,_0x2fde59)=>{const _0x2083c4=new WorkflowProjectsCommand(),_0x18408f=program['opts'](),_0x23184f=createTDXInstance(_0x18408f),_0xb3efa9=await _0x2083c4['run']({'options':{..._0x18408f,..._0x2fde59},'args':_0x537321?[_0x537321]:[],'tdx':_0x23184f});process['exit'](_0xb3efa9);}),workflowCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1cb))[a0_0x3be17b(0x213)]('ls')[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1a1))[a0_0x3be17b(0x1cc)](async(_0x24a9d1,_0x501ee8)=>{const _0x1fef95=a0_0x3be17b,_0x5066ee=new WorkflowWorkflowsCommand(),_0x4d3b8a=program['opts'](),_0x41be7b=createTDXInstance(_0x4d3b8a),_0x35e204=await _0x5066ee[_0x1fef95(0x20e)]({'options':{..._0x4d3b8a,..._0x501ee8},'args':_0x24a9d1?[_0x24a9d1]:[],'tdx':_0x41be7b});process[_0x1fef95(0x208)](_0x35e204);}),workflowCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1f9))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x218))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x20c),a0_0x3be17b(0x19e))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x22c),a0_0x3be17b(0x1d9))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1d0),a0_0x3be17b(0x1a6))[a0_0x3be17b(0x1cc)](async(_0x15ebc5,_0x316843)=>{const _0x4fd650=a0_0x3be17b,_0x2bad81=new WorkflowSessionsCommand(),_0x5712c8=program[_0x4fd650(0x20b)](),_0x52b7a3=createTDXInstance(_0x5712c8),_0x12f29c=await _0x2bad81[_0x4fd650(0x20e)]({'options':{..._0x5712c8,..._0x316843},'args':_0x15ebc5?[_0x15ebc5]:[],'tdx':_0x52b7a3});process[_0x4fd650(0x208)](_0x12f29c);}),workflowCmd[a0_0x3be17b(0x1c3)]('attempts\x20[project]')[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1aa))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1dc),a0_0x3be17b(0x211))[a0_0x3be17b(0x1cc)](async(_0x815f55,_0x2b199f)=>{const _0x387f2b=a0_0x3be17b,_0x4b9654=new WorkflowAttemptsCommand(),_0x288647=program[_0x387f2b(0x20b)](),_0x362c2f=createTDXInstance(_0x288647),_0x16b006=await _0x4b9654['run']({'options':{..._0x288647,..._0x2b199f},'args':_0x815f55?[_0x815f55]:[],'tdx':_0x362c2f});process[_0x387f2b(0x208)](_0x16b006);}),workflowCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1e3))['description'](a0_0x3be17b(0x1b8))[a0_0x3be17b(0x1cc)](async(_0x517b95,_0x152523)=>{const _0x4c7b88=a0_0x3be17b,_0x28ad8e=new WorkflowAttemptCommand(),_0x32b493=program[_0x4c7b88(0x20b)](),_0x1f94f0=createTDXInstance(_0x32b493),_0x820be5=await _0x28ad8e[_0x4c7b88(0x20e)]({'options':{..._0x32b493,..._0x152523},'args':[_0x517b95],'tdx':_0x1f94f0});process[_0x4c7b88(0x208)](_0x820be5);}),workflowCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x196))['description']('Show\x20tasks\x20for\x20an\x20attempt')[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1e6),'Include\x20subtasks\x20in\x20the\x20output')[a0_0x3be17b(0x1cc)](async(_0x58b200,_0x38aebc)=>{const _0x36ba37=a0_0x3be17b,_0x1e3b35=new WorkflowTasksCommand(),_0x158394=program[_0x36ba37(0x20b)](),_0x50161e=createTDXInstance(_0x158394),_0x369cdf=await _0x1e3b35[_0x36ba37(0x20e)]({'options':{..._0x158394,..._0x38aebc},'args':[_0x58b200],'tdx':_0x50161e});process['exit'](_0x369cdf);}),workflowCmd['command'](a0_0x3be17b(0x20a))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x228))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x21c),a0_0x3be17b(0x1d3),_0x418239=>parseInt(_0x418239,0xa),0x0)[a0_0x3be17b(0x1cc)](async(_0x1cf8d8,_0x23614a,_0x41fcaa)=>{const _0x3dcc53=a0_0x3be17b,_0x16bda1=new WorkflowLogsCommand(),_0x2ba1d1=program[_0x3dcc53(0x20b)](),_0x2c34fc=createTDXInstance(_0x2ba1d1),_0x3dc846=await _0x16bda1[_0x3dcc53(0x20e)]({'options':{..._0x2ba1d1,..._0x41fcaa},'args':[_0x1cf8d8,_0x23614a],'tdx':_0x2c34fc});process[_0x3dcc53(0x208)](_0x3dc846);}),workflowCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1ea))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1d8))['option'](a0_0x3be17b(0x1c1),a0_0x3be17b(0x1fc))[a0_0x3be17b(0x1cc)](async(_0x336865,_0x5abfd8)=>{const _0x301d3b=a0_0x3be17b,_0x6eb3f9=new WorkflowKillCommand(),_0x9b3fcc=program['opts'](),_0x14ea71=createTDXInstance(_0x9b3fcc),_0x245b77=await _0x6eb3f9[_0x301d3b(0x20e)]({'options':{..._0x9b3fcc,..._0x5abfd8},'args':[_0x336865],'tdx':_0x14ea71});process[_0x301d3b(0x208)](_0x245b77);}),workflowCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1b4))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1c8))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1ac),a0_0x3be17b(0x1fd))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1e0),a0_0x3be17b(0x1b0))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x230),'Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)')[a0_0x3be17b(0x1db)]('--force','Force\x20retry\x20even\x20if\x20not\x20failed\x20(attempt\x20retry\x20only)')[a0_0x3be17b(0x1cc)](async(_0x2e9324,_0x5331c6)=>{const _0x52924f=new WorkflowRetryCommand(),_0x52be24=program['opts'](),_0x9b805a=createTDXInstance(_0x52be24),_0x3e776f=await _0x52924f['run']({'options':{..._0x52be24,..._0x5331c6},'args':[_0x2e9324],'tdx':_0x9b805a});process['exit'](_0x3e776f);}),program['command'](a0_0x3be17b(0x1a0))['description'](a0_0x3be17b(0x209))['action'](async(_0x3eecfe,_0x39c322)=>{const _0x1cc661=a0_0x3be17b,_0x43d237=new AgentsListCommand(),_0x21d556=program[_0x1cc661(0x20b)](),_0x24cf01=createTDXInstance(_0x21d556),_0x427562=await _0x43d237[_0x1cc661(0x20e)]({'options':{..._0x21d556,..._0x39c322},'args':_0x3eecfe?[_0x3eecfe]:[],'tdx':_0x24cf01});process[_0x1cc661(0x208)](_0x427562);});const agentCmd=program['command'](a0_0x3be17b(0x22e))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x19b));agentCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1a9))['description'](a0_0x3be17b(0x1da))[a0_0x3be17b(0x1cc)](async _0xb47978=>{const _0xb1b384=a0_0x3be17b,_0x3c113a=new AgentModelsCommand(),_0x3ba4dc=program[_0xb1b384(0x20b)](),_0x39a590=createTDXInstance(_0x3ba4dc),_0xd9c8aa=await _0x3c113a[_0xb1b384(0x20e)]({'options':{..._0x3ba4dc,..._0xb47978},'args':[],'tdx':_0x39a590});process[_0xb1b384(0x208)](_0xd9c8aa);}),agentCmd[a0_0x3be17b(0x1c3)]('projects')[a0_0x3be17b(0x1c5)]('List\x20all\x20LLM\x20projects')['action'](async _0x5a24dd=>{const _0xddd058=a0_0x3be17b,_0x51ef97=new AgentProjectsCommand(),_0x3e1be9=program[_0xddd058(0x20b)](),_0x3472b2=createTDXInstance(_0x3e1be9),_0x4cebcf=await _0x51ef97['run']({'options':{..._0x3e1be9,..._0x5a24dd},'args':[],'tdx':_0x3472b2});process['exit'](_0x4cebcf);}),agentCmd['command'](a0_0x3be17b(0x1ce))['description'](a0_0x3be17b(0x1e4))[a0_0x3be17b(0x1cc)](async(_0x281b57,_0x3864af)=>{const _0x491370=a0_0x3be17b,_0x34a2f3=new AgentGetCommand(),_0x58d858=program[_0x491370(0x20b)](),_0x39b8f4=createTDXInstance(_0x58d858),_0x86cbd=await _0x34a2f3[_0x491370(0x20e)]({'options':{..._0x58d858,..._0x3864af},'args':[_0x281b57],'tdx':_0x39b8f4});process[_0x491370(0x208)](_0x86cbd);}),agentCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x1f7))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x234))['requiredOption'](a0_0x3be17b(0x1fb),'Project\x20ID')[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1e1),a0_0x3be17b(0x1bc))[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1b2),a0_0x3be17b(0x1ba),a0_0x3be17b(0x222))[a0_0x3be17b(0x1db)]('--starter-message\x20<text>',a0_0x3be17b(0x1ab))[a0_0x3be17b(0x1db)]('--max-tool-iterations\x20<n>',a0_0x3be17b(0x216),'4')[a0_0x3be17b(0x1db)](a0_0x3be17b(0x1b9),a0_0x3be17b(0x1d5),a0_0x3be17b(0x219))[a0_0x3be17b(0x1cc)](async(_0x2ed362,_0x59dd80)=>{const _0x7edc7c=a0_0x3be17b,_0x25fedc=new AgentCreateCommand(),_0x2685be=program[_0x7edc7c(0x20b)](),_0x407c5f=createTDXInstance(_0x2685be),_0x4c8194=await _0x25fedc['run']({'options':{..._0x2685be,..._0x59dd80},'args':[_0x2ed362],'tdx':_0x407c5f});process[_0x7edc7c(0x208)](_0x4c8194);}),agentCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x202))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1f8))['option']('--name\x20<text>','Agent\x20name')[a0_0x3be17b(0x1db)](a0_0x3be17b(0x221),'Agent\x20prompt/instructions')[a0_0x3be17b(0x1db)]('--description\x20<text>',a0_0x3be17b(0x1a4))[a0_0x3be17b(0x1db)]('--starter-message\x20<text>','Starter\x20message')[a0_0x3be17b(0x1cc)](async(_0x5a7e12,_0x5e502e)=>{const _0x4e1bd0=a0_0x3be17b,_0x1ecbac=new AgentUpdateCommand(),_0x39a6cb=program[_0x4e1bd0(0x20b)](),_0x41abb2=createTDXInstance(_0x39a6cb),_0x535c58=await _0x1ecbac['run']({'options':{..._0x39a6cb,..._0x5e502e},'args':[_0x5a7e12],'tdx':_0x41abb2});process[_0x4e1bd0(0x208)](_0x535c58);}),agentCmd['command']('remove\x20<agent-ref>')[a0_0x3be17b(0x213)](a0_0x3be17b(0x197))[a0_0x3be17b(0x1c5)](a0_0x3be17b(0x1cd))[a0_0x3be17b(0x1cc)](async(_0x5b5376,_0x265a6a)=>{const _0x5b56c6=a0_0x3be17b,_0x863dd5=new AgentRemoveCommand(),_0x152616=program['opts'](),_0x51d7a6=createTDXInstance(_0x152616),_0x13bdd8=await _0x863dd5[_0x5b56c6(0x20e)]({'options':{..._0x152616,..._0x265a6a},'args':[_0x5b5376],'tdx':_0x51d7a6});process[_0x5b56c6(0x208)](_0x13bdd8);}),agentCmd[a0_0x3be17b(0x1c3)](a0_0x3be17b(0x192))['description']('Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)')[a0_0x3be17b(0x1cc)](async(_0x1e26e8,_0xcc7ad6)=>{const _0x494a24=a0_0x3be17b,_0x55188b=new AgentHistoryCommand(),_0x1d3378=program[_0x494a24(0x20b)](),_0x521fca=createTDXInstance(_0x1d3378),_0x3d1949=await _0x55188b[_0x494a24(0x20e)]({'options':{..._0x1d3378,..._0xcc7ad6},'args':_0x1e26e8?[_0x1e26e8]:[],'tdx':_0x521fca});process['exit'](_0x3d1949);}),program[a0_0x3be17b(0x22d)](process[a0_0x3be17b(0x207)]);!process['argv'][a0_0x3be17b(0x214)](0x2)[a0_0x3be17b(0x22b)]&&program[a0_0x3be17b(0x19f)]();
|
|
2
|
+
const a0_0x3e97bd=a0_0xcf6c;(function(_0x4d18b3,_0x2ec614){const _0x2add6a=a0_0xcf6c,_0x559197=_0x4d18b3();while(!![]){try{const _0x55b139=-parseInt(_0x2add6a(0x1d0))/0x1*(-parseInt(_0x2add6a(0x1d1))/0x2)+-parseInt(_0x2add6a(0x1b3))/0x3+parseInt(_0x2add6a(0x1f6))/0x4*(parseInt(_0x2add6a(0x1cd))/0x5)+-parseInt(_0x2add6a(0x167))/0x6*(-parseInt(_0x2add6a(0x1ad))/0x7)+-parseInt(_0x2add6a(0x176))/0x8*(parseInt(_0x2add6a(0x1a6))/0x9)+-parseInt(_0x2add6a(0x1b8))/0xa+parseInt(_0x2add6a(0x1a5))/0xb;if(_0x55b139===_0x2ec614)break;else _0x559197['push'](_0x559197['shift']());}catch(_0x270d63){_0x559197['push'](_0x559197['shift']());}}}(a0_0x13e0,0xd4109));import{Command}from'commander';import{readFileSync}from'fs';import{fileURLToPath}from'url';import{dirname,join}from'path';import{TDX,loadLocalSDKConfig}from'./sdk/index.js';import{resolveSite}from'./core/config.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}from'./commands/workflow-command.js';import{AgentModelsCommand,AgentProjectsCommand,AgentsListCommand,AgentGetCommand,AgentCreateCommand,AgentUpdateCommand,AgentRemoveCommand,AgentHistoryCommand}from'./commands/llm-command.js';const __filename=fileURLToPath(import.meta[a0_0x3e97bd(0x1c0)]),__dirname=dirname(__filename),packageJson=JSON[a0_0x3e97bd(0x174)](readFileSync(join(__dirname,'../package.json'),'utf-8')),program=new Command();program[a0_0x3e97bd(0x186)](a0_0x3e97bd(0x1f2))[a0_0x3e97bd(0x1fe)]('AI-native\x20CLI\x20for\x20Treasure\x20Data')[a0_0x3e97bd(0x185)](packageJson['version']),program['option'](a0_0x3e97bd(0x19a),a0_0x3e97bd(0x197),a0_0x3e97bd(0x1c4))['option'](a0_0x3e97bd(0x196),a0_0x3e97bd(0x171))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1f3),a0_0x3e97bd(0x15d))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x170),a0_0x3e97bd(0x1d8))['option'](a0_0x3e97bd(0x1a7),a0_0x3e97bd(0x16f))[a0_0x3e97bd(0x1dd)]('--output\x20<file>','Save\x20output\x20to\x20file')[a0_0x3e97bd(0x1dd)]('--limit\x20<rows>',a0_0x3e97bd(0x188),'40')[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1fd),a0_0x3e97bd(0x1da),![])[a0_0x3e97bd(0x1dd)]('--no-color',a0_0x3e97bd(0x175),![])['option'](a0_0x3e97bd(0x161),a0_0x3e97bd(0x198),![])[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x15c),a0_0x3e97bd(0x1b5),'30')[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1de),'Preview\x20operation\x20without\x20executing',![])[a0_0x3e97bd(0x1dd)]('-y,\x20--yes',a0_0x3e97bd(0x1a9),![])[a0_0x3e97bd(0x1e4)](a0_0x3e97bd(0x16b),_0x341d8f=>{const _0x1e8c74=a0_0x3e97bd,_0x171df3=_0x341d8f[_0x1e8c74(0x180)]();if(!_0x171df3[_0x1e8c74(0x18e)]){if(_0x171df3['json'])_0x171df3['format']='json';else{if(_0x171df3[_0x1e8c74(0x1d9)])_0x171df3['format']=_0x1e8c74(0x1d9);else _0x171df3[_0x1e8c74(0x1c1)]&&(_0x171df3[_0x1e8c74(0x18e)]=_0x1e8c74(0x1c1));}}});function createTDXInstance(_0x4231bb){const _0x1888fd=a0_0x3e97bd,_0x51b6b8=resolveSite(_0x4231bb['site']),_0x45bd43=_0x4231bb[_0x1888fd(0x1c8)]||![],_0x3997e6=loadLocalSDKConfig({'site':_0x51b6b8,'verbose':_0x45bd43});return new TDX(_0x3997e6);}program['command']('databases\x20[pattern]')[a0_0x3e97bd(0x1fe)]('List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)')[a0_0x3e97bd(0x1ce)](async(_0x1cfb2b,_0x2619ba)=>{const _0x35f0eb=a0_0x3e97bd,_0x3c0a3c=new DatabasesCommand(),_0x16bde2=program['opts'](),_0xbbb2b1=createTDXInstance(_0x16bde2),_0x797737=await _0x3c0a3c['run']({'options':{..._0x16bde2,..._0x2619ba},'args':_0x1cfb2b?[_0x1cfb2b]:[],'tdx':_0xbbb2b1});process[_0x35f0eb(0x17a)](_0x797737);}),program['command'](a0_0x3e97bd(0x1ea))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1cc))['option'](a0_0x3e97bd(0x177),'Agent\x20reference\x20(project-name/agent-name)')[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1db),a0_0x3e97bd(0x1b0))['option'](a0_0x3e97bd(0x19b),a0_0x3e97bd(0x1e1))['option'](a0_0x3e97bd(0x1d5),'Continue\x20last\x20chat\x20session')[a0_0x3e97bd(0x1ce)](async(_0x5e85e0,_0x278488)=>{const _0x1be2c4=a0_0x3e97bd,_0x3f96a2=new ChatCommand(),_0x4e2b98=program['opts'](),_0x4b7dc7=createTDXInstance(_0x4e2b98),_0x57ad5a=await _0x3f96a2[_0x1be2c4(0x191)]({'options':{..._0x4e2b98,..._0x278488},'args':_0x5e85e0,'tdx':_0x4b7dc7});process[_0x1be2c4(0x17a)](_0x57ad5a);}),program[a0_0x3e97bd(0x1c6)]('api\x20<endpoint>')[a0_0x3e97bd(0x1fe)]('Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs\x20(similar\x20to\x20gh\x20api)\x0a\x0a'+a0_0x3e97bd(0x190)+'\x20\x20tdx\x20api\x20/v3/database/list\x0a'+'\x20\x20tdx\x20api\x20/v3/database/show/mydb\x0a'+a0_0x3e97bd(0x184)+a0_0x3e97bd(0x199)+a0_0x3e97bd(0x1dc))[a0_0x3e97bd(0x1dd)]('-X,\x20--method\x20<method>',a0_0x3e97bd(0x1b1),a0_0x3e97bd(0x1d3))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1c3),a0_0x3e97bd(0x1e9))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1bf),a0_0x3e97bd(0x16c))['option'](a0_0x3e97bd(0x1e5),'Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)',(_0x3ed614,_0x1aa25f)=>{return _0x1aa25f?[..._0x1aa25f,_0x3ed614]:[_0x3ed614];})[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1f7),a0_0x3e97bd(0x165),'td')['action'](async(_0x392470,_0x5d1e8e)=>{const _0x5c0342=a0_0x3e97bd,_0x522816=new ApiCommand(),_0x1c80e5=program[_0x5c0342(0x180)](),_0x32ab7b=createTDXInstance(_0x1c80e5),_0x4f3c3a=await _0x522816[_0x5c0342(0x191)]({'options':{..._0x1c80e5,..._0x5d1e8e},'args':[_0x392470],'tdx':_0x32ab7b});process['exit'](_0x4f3c3a);}),program['command'](a0_0x3e97bd(0x1fa))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x183))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1f5),a0_0x3e97bd(0x1b7))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1ac),a0_0x3e97bd(0x182))[a0_0x3e97bd(0x1ce)](async(_0x4ffa8f,_0x31c0ea)=>{const _0x2f1eb9=a0_0x3e97bd,_0x585efd=new TablesCommand(),_0x1b42c9=program[_0x2f1eb9(0x180)](),_0x441504=createTDXInstance(_0x1b42c9);_0x31c0ea['in']&&(_0x31c0ea[_0x2f1eb9(0x1bd)]=_0x31c0ea['in']);const _0x372b69=await _0x585efd[_0x2f1eb9(0x191)]({'options':{..._0x1b42c9,..._0x31c0ea},'args':_0x4ffa8f?[_0x4ffa8f]:[],'tdx':_0x441504});process[_0x2f1eb9(0x17a)](_0x372b69);}),program['command'](a0_0x3e97bd(0x1d4))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1be))['option'](a0_0x3e97bd(0x1f5),a0_0x3e97bd(0x1f9))['option'](a0_0x3e97bd(0x1ac),a0_0x3e97bd(0x182))[a0_0x3e97bd(0x1ce)](async(_0x443c0e,_0x3cfd76)=>{const _0x30feb2=a0_0x3e97bd,_0x5c7b77=new ShowCommand(),_0x3dbefe=program['opts'](),_0x54aadf=createTDXInstance(_0x3dbefe);_0x3cfd76['in']&&(_0x3cfd76[_0x30feb2(0x1bd)]=_0x3cfd76['in']);const _0x328c46=await _0x5c7b77[_0x30feb2(0x191)]({'options':{..._0x3dbefe,..._0x3cfd76},'args':[_0x443c0e],'tdx':_0x54aadf});process[_0x30feb2(0x17a)](_0x328c46);}),program['command'](a0_0x3e97bd(0x15e))[a0_0x3e97bd(0x1eb)]('desc')[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x18a))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1f5),a0_0x3e97bd(0x1f9))['option'](a0_0x3e97bd(0x1ac),a0_0x3e97bd(0x182))[a0_0x3e97bd(0x1ce)](async(_0x305b86,_0xc1c819)=>{const _0x443cf9=a0_0x3e97bd,_0x25e446=new DescribeCommand(),_0x4fde7=program[_0x443cf9(0x180)](),_0x48c635=createTDXInstance(_0x4fde7);_0xc1c819['in']&&(_0xc1c819[_0x443cf9(0x1bd)]=_0xc1c819['in']);const _0x35d1b5=await _0x25e446['run']({'options':{..._0x4fde7,..._0xc1c819},'args':[_0x305b86],'tdx':_0x48c635});process[_0x443cf9(0x17a)](_0x35d1b5);}),program[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x19f))['description'](a0_0x3e97bd(0x1b4))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1f5),'Database\x20to\x20query\x20(default:\x20information_schema)')[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1ac),a0_0x3e97bd(0x182))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1ec),a0_0x3e97bd(0x17b))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1bf),'Read\x20SQL\x20query\x20from\x20file')['option'](a0_0x3e97bd(0x1f4),a0_0x3e97bd(0x188),'40')[a0_0x3e97bd(0x1ce)](async(_0x2464c7,_0x297894)=>{const _0x2ab4d3=a0_0x3e97bd,_0x50da5f=new QueryCommand(),_0x6f4100=program['opts'](),_0x2cf472=createTDXInstance(_0x6f4100);_0x297894['in']&&(_0x297894['database']=_0x297894['in']);const _0x3fc4b6=await _0x50da5f[_0x2ab4d3(0x191)]({'options':{..._0x6f4100,..._0x297894},'args':_0x2464c7?[_0x2464c7]:[],'tdx':_0x2cf472});process[_0x2ab4d3(0x17a)](_0x3fc4b6);}),program[a0_0x3e97bd(0x1c6)]('job')[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1fb))[a0_0x3e97bd(0x1ce)](()=>{const _0x59ef64=a0_0x3e97bd;console[_0x59ef64(0x19d)]('Job\x20commands\x20-\x20coming\x20soon');}),program[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x15f))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x192))['action'](async(_0x88af3a,_0x102a57)=>{const _0x54dbee=a0_0x3e97bd,_0x18411e=new SegmentsCommand(),_0x183119=program['opts'](),_0x348779=createTDXInstance(_0x183119),_0x158f74=await _0x18411e[_0x54dbee(0x191)]({'options':{..._0x183119,..._0x102a57},'args':_0x88af3a?[_0x88af3a]:[],'tdx':_0x348779});process[_0x54dbee(0x17a)](_0x158f74);});const segmentCmd=program[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1b6))['description']('CDP\x20segment\x20management\x20commands');segmentCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1e6))[a0_0x3e97bd(0x1eb)](a0_0x3e97bd(0x194))['description'](a0_0x3e97bd(0x195))[a0_0x3e97bd(0x1ce)](async(_0x2b9928,_0x520153)=>{const _0x4bebc2=a0_0x3e97bd,_0x374ac4=new SegmentDescribeCommand(),_0x3b654b=program['opts'](),_0x2400ae=createTDXInstance(_0x3b654b),_0x4e9de8=await _0x374ac4[_0x4bebc2(0x191)]({'options':{..._0x3b654b,..._0x520153},'args':[_0x2b9928],'tdx':_0x2400ae});process[_0x4bebc2(0x17a)](_0x4e9de8);}),segmentCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1d2))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1f0))['action'](async(_0x5503a0,_0x4f69a0)=>{const _0x290f11=a0_0x3e97bd,_0x21e4bc=new SegmentShowCommand(),_0x7a6b4e=program['opts'](),_0x4a42b0=createTDXInstance(_0x7a6b4e),_0xcb758d=await _0x21e4bc[_0x290f11(0x191)]({'options':{..._0x7a6b4e,..._0x4f69a0},'args':[_0x5503a0],'tdx':_0x4a42b0});process['exit'](_0xcb758d);}),segmentCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1fc))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1e2))[a0_0x3e97bd(0x1ce)](async(_0x1c7c4a,_0x195bbd)=>{const _0x581188=a0_0x3e97bd,_0x5f496c=new SegmentFolderListCommand(),_0x5c7d01=program[_0x581188(0x180)](),_0xe5d6ff=createTDXInstance(_0x5c7d01),_0x27f24f=await _0x5f496c[_0x581188(0x191)]({'options':{..._0x5c7d01,..._0x195bbd},'args':[_0x1c7c4a],'tdx':_0xe5d6ff});process[_0x581188(0x17a)](_0x27f24f);});const folderCmd=segmentCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x18c))[a0_0x3e97bd(0x1fe)]('Segment\x20folder\x20management');function a0_0xcf6c(_0x3e7840,_0x42ddfb){const _0x13e059=a0_0x13e0();return a0_0xcf6c=function(_0xcf6c1d,_0x4e1075){_0xcf6c1d=_0xcf6c1d-0x15b;let _0x3711ad=_0x13e059[_0xcf6c1d];return _0x3711ad;},a0_0xcf6c(_0x3e7840,_0x42ddfb);}function a0_0x13e0(){const _0x1a85b7=['--name\x20<text>','requiredOption','preAction','Read\x20request\x20body\x20from\x20file','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','Include\x20subtasks\x20in\x20the\x20output','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','--jsonl','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','claude-4.5-sonnet','Start\x20time\x20filter\x20(ISO\x208601\x20format)','parse','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','464kGFvwQ','--agent\x20<ref>','Agent\x20name','Workflow\x20(Digdag)\x20management\x20commands','exit','Trino\x20catalog\x20(default:\x20td)','logs\x20<attempt-id>\x20<task-name>','--max-tool-iterations\x20<n>','Resume\x20from\x20specific\x20task\x20(attempt\x20retry\x20only)','--include-subtasks','opts','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','\x20\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a','version','name','Agent\x20description','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','--description\x20<text>','Describe\x20table\x20schema','history\x20[chat-id]','folder','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','format','Get\x20agent\x20details\x20(use\x20\x22project-name/agent-name\x22)','Examples:\x0a','run','List\x20parent\x20segments\x20or\x20child\x20segments\x20under\x20a\x20parent','Show\x20tasks\x20for\x20an\x20attempt','desc','Show\x20segment\x20details\x20(use\x20parent_name\x20or\x20parent_name.child_name)','--format\x20<format>','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02)','Enable\x20verbose\x20logging','\x20\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a','--site\x20<site>','--temperature\x20<n>','Kill\x20a\x20running\x20attempt','log','--force','query\x20[sql]','slice','--offset\x20<number>','sessions\x20[project]','outputHelp','show\x20<folder_ref>','37466803LHuuLl','236574PVuTvJ','--tsv','List\x20all\x20LLM\x20agents\x20(optionally\x20filtered\x20by\x20project\x20name)','Skip\x20confirmation\x20prompts','remove\x20<agent-ref>','Delete\x20an\x20agent\x20(use\x20\x22project-name/agent-name\x22)','--in\x20<database>','595JRZicw','get\x20<agent-ref>','Force\x20retry\x20even\x20if\x20not\x20failed\x20(attempt\x20retry\x20only)','Model\x20name\x20(default:\x20claude-4.5-sonnet)','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','--from-task\x20<task>','4339980tfeYTk','Run\x20Trino\x20query\x20with\x20streaming\x20results','Set\x20operation\x20timeout\x20in\x20seconds','segment','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','4202920pCzeyj','Show\x20logs\x20for\x20a\x20specific\x20task','length','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','List\x20available\x20LLM\x20models','database','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','-f,\x20--file\x20<path>','url','tsv','Retry\x20a\x20session\x20or\x20attempt\x20(prefix\x20with\x20session:\x20or\x20attempt:)','--data\x20<data>','us01','--params\x20<json>','command','tasks\x20<attempt-id>','verbose','workflows\x20[project]','Starting\x20offset\x20for\x20logs\x20(default:\x200)','Get\x20SQL\x20query\x20for\x20segment\x20(use\x20parent_name\x20or\x20parent_name.child_name)','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','986225aUJoCJ','action','activations\x20<segment_name>','110543XUJtqf','6KyibMT','show\x20<segment_name>','GET','show\x20<table>','-c,\x20--continue','--reason\x20<text>','Show\x20folder\x20details\x20(use\x20parent_name.folder_name)','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','jsonl','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--model\x20<name>','\x20\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow','option','--dry-run','update\x20<agent-ref>','Show\x20specific\x20attempt\x20details','Temperature\x20(0.0-2.0,\x20default:\x200.7)','List\x20segment\x20folders\x20under\x20a\x20parent\x20segment','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','hook','-H,\x20--header\x20<header>','describe\x20<segment_name>','Include\x20retried\x20attempts','models','Request\x20body\x20as\x20JSON\x20string','chat\x20[message...]','alias','--catalog\x20<catalog>','--from\x20<timestamp>','Resume\x20from\x20specific\x20task\x20(session\x20retry\x20only)','Project\x20ID','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(use\x20parent_name\x20or\x20parent_name.child_name)','argv','tdx','--json','--limit\x20<rows>','-d,\x20--database\x20<database>','4SyfAoJ','--type\x20<api_type>','projects\x20[pattern]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','tables\x20[pattern]','Job\x20management\x20commands','folders\x20<parent_name>','--color','description','System\x20prompt/instructions\x20(default:\x20empty)','Model\x20type\x20(default:\x20claude-4.5-sonnet)','Reason\x20for\x20killing\x20the\x20attempt','--timeout\x20<seconds>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','describe\x20<table>','segments\x20[parent_name]','Update\x20an\x20existing\x20agent\x20(use\x20\x22project-name/agent-name\x22)','--verbose','workflow','retry\x20<session-id|attempt-id>','attempt\x20<attempt-id>','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','List\x20all\x20LLM\x20projects','22956sCxOIW','--prompt\x20<text>'];a0_0x13e0=function(){return _0x1a85b7;};return a0_0x13e0();}folderCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1a4))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1d7))[a0_0x3e97bd(0x1ce)](async(_0x979d96,_0xcd6f2a)=>{const _0x2a7897=a0_0x3e97bd,_0x260e04=new SegmentFolderShowCommand(),_0x2f9231=program[_0x2a7897(0x180)](),_0x4e58d6=createTDXInstance(_0x2f9231),_0x58e4a7=await _0x260e04[_0x2a7897(0x191)]({'options':{..._0x2f9231,..._0xcd6f2a},'args':[_0x979d96],'tdx':_0x4e58d6});process[_0x2a7897(0x17a)](_0x58e4a7);}),segmentCmd[a0_0x3e97bd(0x1c6)]('sql\x20<segment_name>')[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1cb))[a0_0x3e97bd(0x1ce)](async(_0x899fe0,_0x449887)=>{const _0x292dcd=a0_0x3e97bd,_0xb1c65d=new SegmentSQLCommand(),_0x57944b=program[_0x292dcd(0x180)](),_0x5f2cca=createTDXInstance(_0x57944b),_0x4d1e4a=await _0xb1c65d[_0x292dcd(0x191)]({'options':{..._0x57944b,..._0x449887},'args':[_0x899fe0],'tdx':_0x5f2cca});process[_0x292dcd(0x17a)](_0x4d1e4a);}),program[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1cf))[a0_0x3e97bd(0x1fe)]('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name.child_name)')[a0_0x3e97bd(0x1ce)](async(_0x394494,_0x2a8fe1)=>{const _0x7747b6=a0_0x3e97bd,_0x46ef6e=new ActivationsCommand(),_0x3327de=program[_0x7747b6(0x180)](),_0x1bf65b=createTDXInstance(_0x3327de),_0x22f40b=await _0x46ef6e[_0x7747b6(0x191)]({'options':{..._0x3327de,..._0x2a8fe1},'args':[_0x394494],'tdx':_0x1bf65b});process[_0x7747b6(0x17a)](_0x22f40b);});const workflowCmd=program['command'](a0_0x3e97bd(0x162))[a0_0x3e97bd(0x1eb)]('wf')['description'](a0_0x3e97bd(0x179));workflowCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1f8))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x181))[a0_0x3e97bd(0x1ce)](async(_0x47db52,_0x258bb6)=>{const _0x37c3ed=a0_0x3e97bd,_0x1176f1=new WorkflowProjectsCommand(),_0x293b7a=program[_0x37c3ed(0x180)](),_0x1ee527=createTDXInstance(_0x293b7a),_0x854b9b=await _0x1176f1[_0x37c3ed(0x191)]({'options':{..._0x293b7a,..._0x258bb6},'args':_0x47db52?[_0x47db52]:[],'tdx':_0x1ee527});process['exit'](_0x854b9b);}),workflowCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1c9))[a0_0x3e97bd(0x1eb)]('ls')['description']('List\x20workflows\x20(optionally\x20filtered\x20by\x20project)')[a0_0x3e97bd(0x1ce)](async(_0x730910,_0x23d79e)=>{const _0x382d1b=new WorkflowWorkflowsCommand(),_0x18ed09=program['opts'](),_0x1685d4=createTDXInstance(_0x18ed09),_0x15ba08=await _0x382d1b['run']({'options':{..._0x18ed09,..._0x23d79e},'args':_0x730910?[_0x730910]:[],'tdx':_0x1685d4});process['exit'](_0x15ba08);}),workflowCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1a2))[a0_0x3e97bd(0x1fe)]('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a0_0x3e97bd(0x1dd)]('--status\x20<status>',a0_0x3e97bd(0x1e3))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1ed),a0_0x3e97bd(0x173))[a0_0x3e97bd(0x1dd)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a0_0x3e97bd(0x1ce)](async(_0x514e23,_0x157da6)=>{const _0x29e3d6=a0_0x3e97bd,_0x5f2c15=new WorkflowSessionsCommand(),_0x4a2db9=program[_0x29e3d6(0x180)](),_0x568bf1=createTDXInstance(_0x4a2db9),_0x4fb8f7=await _0x5f2c15[_0x29e3d6(0x191)]({'options':{..._0x4a2db9,..._0x157da6},'args':_0x514e23?[_0x514e23]:[],'tdx':_0x568bf1});process['exit'](_0x4fb8f7);}),workflowCmd[a0_0x3e97bd(0x1c6)]('attempts\x20[project]')[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x16d))[a0_0x3e97bd(0x1dd)]('--include-retried',a0_0x3e97bd(0x1e7))[a0_0x3e97bd(0x1ce)](async(_0x1cde8b,_0x41bd96)=>{const _0xa405e3=a0_0x3e97bd,_0x121760=new WorkflowAttemptsCommand(),_0x5c796d=program[_0xa405e3(0x180)](),_0x49cd39=createTDXInstance(_0x5c796d),_0x373278=await _0x121760[_0xa405e3(0x191)]({'options':{..._0x5c796d,..._0x41bd96},'args':_0x1cde8b?[_0x1cde8b]:[],'tdx':_0x49cd39});process['exit'](_0x373278);}),workflowCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x164))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1e0))[a0_0x3e97bd(0x1ce)](async(_0x2029de,_0x579978)=>{const _0xfd52b5=a0_0x3e97bd,_0x85656b=new WorkflowAttemptCommand(),_0x56776c=program['opts'](),_0xe273a9=createTDXInstance(_0x56776c),_0x35dc02=await _0x85656b[_0xfd52b5(0x191)]({'options':{..._0x56776c,..._0x579978},'args':[_0x2029de],'tdx':_0xe273a9});process[_0xfd52b5(0x17a)](_0x35dc02);}),workflowCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1c7))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x193))['option'](a0_0x3e97bd(0x17f),a0_0x3e97bd(0x16e))['action'](async(_0x2d44a1,_0xcddb86)=>{const _0x4fd4f2=a0_0x3e97bd,_0x71c294=new WorkflowTasksCommand(),_0x328de5=program[_0x4fd4f2(0x180)](),_0x37e172=createTDXInstance(_0x328de5),_0x4a459a=await _0x71c294[_0x4fd4f2(0x191)]({'options':{..._0x328de5,..._0xcddb86},'args':[_0x2d44a1],'tdx':_0x37e172});process['exit'](_0x4a459a);}),workflowCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x17c))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1b9))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1a1),a0_0x3e97bd(0x1ca),_0x260a67=>parseInt(_0x260a67,0xa),0x0)['action'](async(_0x48773e,_0x5bd582,_0x189a7f)=>{const _0x441b82=a0_0x3e97bd,_0x454090=new WorkflowLogsCommand(),_0x498f7e=program[_0x441b82(0x180)](),_0x420b2a=createTDXInstance(_0x498f7e),_0x4cd486=await _0x454090['run']({'options':{..._0x498f7e,..._0x189a7f},'args':[_0x48773e,_0x5bd582],'tdx':_0x420b2a});process[_0x441b82(0x17a)](_0x4cd486);}),workflowCmd['command']('kill\x20<attempt-id>')[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x19c))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1d6),a0_0x3e97bd(0x15b))[a0_0x3e97bd(0x1ce)](async(_0xeb5e31,_0x379208)=>{const _0x1e614b=a0_0x3e97bd,_0x25ae43=new WorkflowKillCommand(),_0x2b130b=program[_0x1e614b(0x180)](),_0x404069=createTDXInstance(_0x2b130b),_0x371ee2=await _0x25ae43['run']({'options':{..._0x2b130b,..._0x379208},'args':[_0xeb5e31],'tdx':_0x404069});process[_0x1e614b(0x17a)](_0x371ee2);}),workflowCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x163))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1c2))['option'](a0_0x3e97bd(0x1b2),a0_0x3e97bd(0x1ee))[a0_0x3e97bd(0x1dd)]('--resume-from\x20<task>',a0_0x3e97bd(0x17e))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x1c5),a0_0x3e97bd(0x18d))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x19e),a0_0x3e97bd(0x1af))[a0_0x3e97bd(0x1ce)](async(_0x52f24b,_0x1fe6f8)=>{const _0x27ccb3=a0_0x3e97bd,_0x2c1bde=new WorkflowRetryCommand(),_0x46a3a6=program[_0x27ccb3(0x180)](),_0x43e9e0=createTDXInstance(_0x46a3a6),_0x5da846=await _0x2c1bde['run']({'options':{..._0x46a3a6,..._0x1fe6f8},'args':[_0x52f24b],'tdx':_0x43e9e0});process[_0x27ccb3(0x17a)](_0x5da846);}),program['command']('agents\x20[project-name]')[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1a8))[a0_0x3e97bd(0x1ce)](async(_0x5db2d9,_0x56873b)=>{const _0x30e653=a0_0x3e97bd,_0x3a9e6b=new AgentsListCommand(),_0x2e4574=program[_0x30e653(0x180)](),_0x18cbeb=createTDXInstance(_0x2e4574),_0x39c05e=await _0x3a9e6b[_0x30e653(0x191)]({'options':{..._0x2e4574,..._0x56873b},'args':_0x5db2d9?[_0x5db2d9]:[],'tdx':_0x18cbeb});process['exit'](_0x39c05e);});const agentCmd=program[a0_0x3e97bd(0x1c6)]('agent')[a0_0x3e97bd(0x1fe)]('LLM\x20agent\x20management\x20commands');agentCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1e8))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1bc))[a0_0x3e97bd(0x1ce)](async _0x30bad5=>{const _0x51193f=a0_0x3e97bd,_0x4212fa=new AgentModelsCommand(),_0x1aa66a=program[_0x51193f(0x180)](),_0x5d1520=createTDXInstance(_0x1aa66a),_0x44a222=await _0x4212fa[_0x51193f(0x191)]({'options':{..._0x1aa66a,..._0x30bad5},'args':[],'tdx':_0x5d1520});process[_0x51193f(0x17a)](_0x44a222);}),agentCmd['command']('projects')['description'](a0_0x3e97bd(0x166))['action'](async _0x3a5ffa=>{const _0x231a0e=a0_0x3e97bd,_0x2a8e4b=new AgentProjectsCommand(),_0x28974b=program[_0x231a0e(0x180)](),_0x45e9b4=createTDXInstance(_0x28974b),_0x3d3678=await _0x2a8e4b[_0x231a0e(0x191)]({'options':{..._0x28974b,..._0x3a5ffa},'args':[],'tdx':_0x45e9b4});process[_0x231a0e(0x17a)](_0x3d3678);}),agentCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1ae))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x18f))[a0_0x3e97bd(0x1ce)](async(_0x4b3edf,_0x22595)=>{const _0x4d820a=a0_0x3e97bd,_0x3a1d88=new AgentGetCommand(),_0x5a91c1=program[_0x4d820a(0x180)](),_0x2b8dae=createTDXInstance(_0x5a91c1),_0x55e648=await _0x3a1d88['run']({'options':{..._0x5a91c1,..._0x22595},'args':[_0x4b3edf],'tdx':_0x2b8dae});process['exit'](_0x55e648);}),agentCmd[a0_0x3e97bd(0x1c6)]('create\x20<name>')['description']('Create\x20a\x20new\x20agent')[a0_0x3e97bd(0x16a)]('--project-id\x20<id>',a0_0x3e97bd(0x1ef))[a0_0x3e97bd(0x1dd)]('--system-prompt\x20<text>',a0_0x3e97bd(0x1ff))['option']('--model\x20<name>',a0_0x3e97bd(0x200),a0_0x3e97bd(0x172))['option']('--starter-message\x20<text>','Starter\x20message')[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x17d),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a0_0x3e97bd(0x1dd)]('--temperature\x20<n>',a0_0x3e97bd(0x1e1),'0.7')[a0_0x3e97bd(0x1ce)](async(_0x428413,_0x32ff3f)=>{const _0x42e344=a0_0x3e97bd,_0x135418=new AgentCreateCommand(),_0xe5bc36=program[_0x42e344(0x180)](),_0x2fb5de=createTDXInstance(_0xe5bc36),_0x4853a7=await _0x135418[_0x42e344(0x191)]({'options':{..._0xe5bc36,..._0x32ff3f},'args':[_0x428413],'tdx':_0x2fb5de});process[_0x42e344(0x17a)](_0x4853a7);}),agentCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1df))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x160))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x169),a0_0x3e97bd(0x178))[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x168),'Agent\x20prompt/instructions')[a0_0x3e97bd(0x1dd)](a0_0x3e97bd(0x189),a0_0x3e97bd(0x187))[a0_0x3e97bd(0x1dd)]('--starter-message\x20<text>','Starter\x20message')['action'](async(_0x4b7a3d,_0x113371)=>{const _0x1cbfc0=a0_0x3e97bd,_0x4588c5=new AgentUpdateCommand(),_0x159e43=program['opts'](),_0x3cbb17=createTDXInstance(_0x159e43),_0x44a3ac=await _0x4588c5[_0x1cbfc0(0x191)]({'options':{..._0x159e43,..._0x113371},'args':[_0x4b7a3d],'tdx':_0x3cbb17});process[_0x1cbfc0(0x17a)](_0x44a3ac);}),agentCmd[a0_0x3e97bd(0x1c6)](a0_0x3e97bd(0x1aa))[a0_0x3e97bd(0x1eb)]('delete')[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1ab))[a0_0x3e97bd(0x1ce)](async(_0x3549e2,_0x14e7ad)=>{const _0x2acac9=a0_0x3e97bd,_0x288359=new AgentRemoveCommand(),_0x319479=program[_0x2acac9(0x180)](),_0x3411d6=createTDXInstance(_0x319479),_0xac56a6=await _0x288359[_0x2acac9(0x191)]({'options':{..._0x319479,..._0x14e7ad},'args':[_0x3549e2],'tdx':_0x3411d6});process[_0x2acac9(0x17a)](_0xac56a6);}),agentCmd['command'](a0_0x3e97bd(0x18b))[a0_0x3e97bd(0x1fe)](a0_0x3e97bd(0x1bb))['action'](async(_0x49e486,_0x1f5752)=>{const _0x5bd7b8=a0_0x3e97bd,_0x1365fb=new AgentHistoryCommand(),_0x5a095d=program[_0x5bd7b8(0x180)](),_0x5e36a4=createTDXInstance(_0x5a095d),_0x4444d1=await _0x1365fb[_0x5bd7b8(0x191)]({'options':{..._0x5a095d,..._0x1f5752},'args':_0x49e486?[_0x49e486]:[],'tdx':_0x5e36a4});process[_0x5bd7b8(0x17a)](_0x4444d1);}),program['parse'](process[a0_0x3e97bd(0x1f1)]);!process[a0_0x3e97bd(0x1f1)][a0_0x3e97bd(0x1a0)](0x2)[a0_0x3e97bd(0x1ba)]&&program[a0_0x3e97bd(0x1a3)]();
|
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,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,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,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AC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,OAAO,CAAC,UAAU,EAAE,CAAC;AACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a1_0x193cfd=a1_0x192f;(function(_0x795374,_0x59524c){const _0x382ebb=a1_0x192f,_0x2fb3b1=_0x795374();while(!![]){try{const _0x1cef5a=parseInt(_0x382ebb(0x71))/0x1*(parseInt(_0x382ebb(0x8c))/0x2)+parseInt(_0x382ebb(0x79))/0x3+parseInt(_0x382ebb(0x6d))/0x4*(parseInt(_0x382ebb(0x73))/0x5)+-parseInt(_0x382ebb(0x7d))/0x6*(-parseInt(_0x382ebb(0x8d))/0x7)+-parseInt(_0x382ebb(0x89))/0x8*(parseInt(_0x382ebb(0x91))/0x9)+parseInt(_0x382ebb(0x8e))/0xa*(parseInt(_0x382ebb(0x8b))/0xb)+parseInt(_0x382ebb(0x75))/0xc*(-parseInt(_0x382ebb(0x85))/0xd);if(_0x1cef5a===_0x59524c)break;else _0x2fb3b1['push'](_0x2fb3b1['shift']());}catch(_0x5707ad){_0x2fb3b1['push'](_0x2fb3b1['shift']());}}}(a1_0x9230,0x2f7ec));function a1_0x9230(){const _0x13a43b=['/segments','801291zxFnNL','listSegments','getParentSegmentSQL','getSegment','30BShYkw','rule','request','/audiences/','\x0a[CDP\x20API\x20Response]\x20','listSegmentFolders','site','listActivations','26zTKgdF','cdp','getParentSegment','GET','25848POeWDN','logVerbose','33YVbcGF','5204MbjPjI','364259mDHuDQ','113240ErQWsC','error','/entities/parent_segments/','657jrYFMo','sql','listParentSegments','data','/entities/parent_segments','isArray','authHeaders','/segments/','verbose','4tXTnZv','query','POST','/segments/query','1amXkhL','/syndications','1870755gpySFg','/entities/folders/','3045624QZxbqv','httpClient','stringify'];a1_0x9230=function(){return _0x13a43b;};return a1_0x9230();}import{HTTPClient}from'./http-client.js';function a1_0x192f(_0x26b7f1,_0x1b80eb){const _0x923083=a1_0x9230();return a1_0x192f=function(_0x192fd0,_0x2ca346){_0x192fd0=_0x192fd0-0x6b;let _0x4af234=_0x923083[_0x192fd0];return _0x4af234;},a1_0x192f(_0x26b7f1,_0x1b80eb);}import{getEndpoint}from'../types/index.js';import{getAuthHeaders}from'../core/auth.js';export class CDPClient{[a1_0x193cfd(0x76)];[a1_0x193cfd(0x97)];[a1_0x193cfd(0x6c)];constructor(_0x3213d0){const _0x44a537=a1_0x193cfd,_0x5f22b0=getEndpoint(_0x3213d0[_0x44a537(0x83)],_0x44a537(0x86));this[_0x44a537(0x97)]=getAuthHeaders(_0x3213d0[_0x44a537(0x83)],_0x3213d0['apiKey']),this[_0x44a537(0x6c)]=_0x3213d0[_0x44a537(0x6c)],this[_0x44a537(0x76)]=new HTTPClient(_0x5f22b0,{...this[_0x44a537(0x97)],'Accept':'application/vnd.treasuredata.v1+json','Content-Type':'application/json'});}[a1_0x193cfd(0x8a)](_0xb1b9ab,_0x11c8d6){const _0x2a475e=a1_0x193cfd;this[_0x2a475e(0x6c)]&&(console['error'](_0x2a475e(0x81)+_0xb1b9ab),console[_0x2a475e(0x8f)](JSON[_0x2a475e(0x77)](_0x11c8d6,null,0x2)));}async[a1_0x193cfd(0x93)](){const _0x1b6696=a1_0x193cfd,_0x33c7c2=_0x1b6696(0x95),_0x54d932=await this[_0x1b6696(0x76)][_0x1b6696(0x7f)](_0x1b6696(0x88),_0x33c7c2);return this[_0x1b6696(0x8a)](_0x33c7c2,_0x54d932),Array[_0x1b6696(0x96)](_0x54d932)?_0x54d932:_0x54d932[_0x1b6696(0x94)];}async[a1_0x193cfd(0x87)](_0x22a524){const _0x108106=a1_0x193cfd,_0x55f39f=_0x108106(0x90)+_0x22a524,_0x2f008d=await this[_0x108106(0x76)][_0x108106(0x7f)]('GET',_0x55f39f);return this['logVerbose'](_0x55f39f,_0x2f008d),_0x108106(0x94)in _0x2f008d?_0x2f008d[_0x108106(0x94)]:_0x2f008d;}async[a1_0x193cfd(0x7a)](_0xe24eca){const _0xa42e40=a1_0x193cfd,_0x474369=_0xa42e40(0x80)+_0xe24eca+_0xa42e40(0x78),_0x33e39d=await this['httpClient'][_0xa42e40(0x7f)](_0xa42e40(0x88),_0x474369);return this[_0xa42e40(0x8a)](_0x474369,_0x33e39d),Array['isArray'](_0x33e39d)?_0x33e39d:_0x33e39d['data'];}async['getSegment'](_0x5c1241,_0x45b98f){const _0x230da4=a1_0x193cfd,_0x374119='/audiences/'+_0x5c1241+'/segments/'+_0x45b98f,_0x3e2513=await this[_0x230da4(0x76)][_0x230da4(0x7f)]('GET',_0x374119);return this[_0x230da4(0x8a)](_0x374119,_0x3e2513),_0x230da4(0x94)in _0x3e2513?_0x3e2513['data']:_0x3e2513;}async[a1_0x193cfd(0x82)](_0x23c949){const _0x1f253d=a1_0x193cfd,_0xa9441a=_0x1f253d(0x80)+_0x23c949+'/folders',_0x516a55=await this[_0x1f253d(0x76)][_0x1f253d(0x7f)]('GET',_0xa9441a);return this['logVerbose'](_0xa9441a,_0x516a55),Array[_0x1f253d(0x96)](_0x516a55)?_0x516a55:_0x516a55['data'];}async['getSegmentFolder'](_0x4d84b7){const _0x42106b=a1_0x193cfd,_0x4a985a=_0x42106b(0x74)+_0x4d84b7,_0x15413e=await this['httpClient'][_0x42106b(0x7f)]('GET',_0x4a985a);return this[_0x42106b(0x8a)](_0x4a985a,_0x15413e),_0x42106b(0x94)in _0x15413e?_0x15413e[_0x42106b(0x94)]:_0x15413e;}async[a1_0x193cfd(0x84)](_0x365bba,_0x3c9cbb){const _0x593588=a1_0x193cfd,_0x384ab4=_0x593588(0x80)+_0x365bba+_0x593588(0x6b)+_0x3c9cbb+_0x593588(0x72),_0x1bdce1=await this[_0x593588(0x76)][_0x593588(0x7f)](_0x593588(0x88),_0x384ab4);return this[_0x593588(0x8a)](_0x384ab4,_0x1bdce1),Array['isArray'](_0x1bdce1)?_0x1bdce1:_0x1bdce1[_0x593588(0x94)];}async[a1_0x193cfd(0x7b)](_0x447985){const _0x25cfa4=a1_0x193cfd,_0x1fbc36=_0x25cfa4(0x80)+_0x447985+_0x25cfa4(0x70),_0x4a84a0=await this[_0x25cfa4(0x76)][_0x25cfa4(0x7f)](_0x25cfa4(0x6f),_0x1fbc36,{'body':{'format':_0x25cfa4(0x92)}});return this['logVerbose'](_0x1fbc36,_0x4a84a0),_0x4a84a0[_0x25cfa4(0x92)]||_0x4a84a0[_0x25cfa4(0x6e)]||'';}async['getSegmentSQL'](_0x419801,_0x2b23aa){const _0x278e3e=a1_0x193cfd,_0x57e722=await this[_0x278e3e(0x7c)](_0x419801,_0x2b23aa),_0x56713f={'format':_0x278e3e(0x92)};'rule'in _0x57e722&&_0x57e722['rule']&&(_0x56713f[_0x278e3e(0x7e)]=_0x57e722['rule']);const _0xeec098=_0x278e3e(0x80)+_0x419801+_0x278e3e(0x70),_0x3c7eba=await this['httpClient']['request'](_0x278e3e(0x6f),_0xeec098,{'body':_0x56713f});return this[_0x278e3e(0x8a)](_0xeec098,_0x3c7eba),_0x3c7eba['sql']||_0x3c7eba[_0x278e3e(0x6e)]||'';}}
|
|
@@ -18,10 +18,11 @@ export interface RequestOptions {
|
|
|
18
18
|
includeHeaders?: boolean;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* HTTP response with headers
|
|
21
|
+
* HTTP response with headers and status
|
|
22
22
|
*/
|
|
23
23
|
export interface HTTPResponse<T> {
|
|
24
24
|
data: T;
|
|
25
|
+
status: number;
|
|
25
26
|
headers: Record<string, string>;
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client.d.ts","sourceRoot":"","sources":["../../src/client/http-client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErE;;GAEG;A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MAAM;IACd,cAAc,CAAC,EAAE,cAAc;gBAFtC,OAAO,EAAE,MAAM,EACR,MAAM,EAAE,MAAM,EACd,cAAc,CAAC,EAAE,cAAc,YAAA;CAKzC;AAED;;GAEG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,cAAc,CAAyB;IAE/C;;;;;;;;;;;;;;;;;OAiBG;gBAED,OAAO,EAAE,MAAM,EACf,cAAc,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,EAC3C,WAAW,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;IAOpC;;OAEG;IACG,OAAO,CAAC,CAAC,EACb,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,cAAc,GAAG;QAAE,cAAc,EAAE,IAAI,CAAA;KAAE,GACjD,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IAE3B;;OAEG;IACG,OAAO,CAAC,CAAC,EACb,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,cAAc,GAAG;QAAE,cAAc,CAAC,EAAE,KAAK,CAAA;KAAE,GACpD,OAAO,CAAC,CAAC,CAAC;IA4Ib;;;OAGG;YACW,aAAa;IAiB3B;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAyB3B;;OAEG;IACH,OAAO,CAAC,KAAK;CAGd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2_0x1e0893=a2_0x2b84;function a2_0x2b84(_0x4c8db3,_0x49c46a){const _0x5c5555=a2_0x5c55();return a2_0x2b84=function(_0x2b84a6,_0x14e343){_0x2b84a6=_0x2b84a6-0x16d;let _0x26fc84=_0x5c5555[_0x2b84a6];return _0x26fc84;},a2_0x2b84(_0x4c8db3,_0x49c46a);}(function(_0x16ece2,_0x43f408){const _0x31a4e7=a2_0x2b84,_0x2d0fe9=_0x16ece2();while(!![]){try{const _0xc174d1=-parseInt(_0x31a4e7(0x194))/0x1+parseInt(_0x31a4e7(0x179))/0x2+-parseInt(_0x31a4e7(0x172))/0x3+-parseInt(_0x31a4e7(0x16d))/0x4+parseInt(_0x31a4e7(0x185))/0x5*(-parseInt(_0x31a4e7(0x197))/0x6)+parseInt(_0x31a4e7(0x17f))/0x7+parseInt(_0x31a4e7(0x17e))/0x8*(parseInt(_0x31a4e7(0x17c))/0x9);if(_0xc174d1===_0x43f408)break;else _0x2d0fe9['push'](_0x2d0fe9['shift']());}catch(_0x3af399){_0x2d0fe9['push'](_0x2d0fe9['shift']());}}}(a2_0x5c55,0xc63e3));import a2_0x4228ad from'json-bigint';const DEFAULT_RETRY_CONFIG={'maxRetries':0x3,'baseDelay':0x3e8,'maxDelay':0x1f40};function isRetryableError(_0x259ddc){return _0x259ddc>=0x1f4||_0x259ddc===0x1ad;}function getRetryDelay(_0xb7ee59,_0x18003c){const _0x9d284b=a2_0x2b84,_0x8c0aca=Math[_0x9d284b(0x177)](_0x18003c[_0x9d284b(0x18e)]*Math[_0x9d284b(0x18a)](0x2,_0xb7ee59),_0x18003c[_0x9d284b(0x173)]);return Math['random']()*_0x8c0aca;}function a2_0x5c55(){const _0x48fe76=['maxDelay','maxRetries','parse','detail','min','get','786262Yyrxvg','Error','defaultHeaders','8501319feBZCB','text','16XDDdMC','8404494uWIndv','statusText','headers','application/json','problemDetails','parseProblemDetails','10VdGRiy','signal',']\x20Request\x20failed:\x20','title','round','pow','retrying\x20in\x20','An\x20error\x20occurred','safeParseJSON','baseDelay','about:blank','status','object','stringify','\x0a\x20\x20URL:\x20','285607OfmqSe','sleep','retryConfig','227082lEcqtU','abort','Retry-After','message',']\x20Request\x20failed\x20with\x20','Content-Type','request','HTTP\x20','type','ms...','Request\x20failed\x20after\x20retries','warn','2863236rcdsps','baseUrl','forEach','addEventListener','instance','4781526TSbYRF'];a2_0x5c55=function(){return _0x48fe76;};return a2_0x5c55();}export class HTTPClientError extends Error{[a2_0x1e0893(0x190)];[a2_0x1e0893(0x183)];constructor(_0x6bb583,_0x41bd5e,_0x359a58){const _0x5b351b=a2_0x1e0893;super(_0x6bb583),this[_0x5b351b(0x190)]=_0x41bd5e,this[_0x5b351b(0x183)]=_0x359a58,this['name']='HTTPClientError';}}export class HTTPClient{[a2_0x1e0893(0x196)];[a2_0x1e0893(0x16e)];[a2_0x1e0893(0x17b)];constructor(_0x2db47f,_0x30a609={},_0x165860){const _0x4a7c7d=a2_0x1e0893;this['baseUrl']=_0x2db47f,this['defaultHeaders']=_0x30a609,this[_0x4a7c7d(0x196)]={...DEFAULT_RETRY_CONFIG,..._0x165860};}async[a2_0x1e0893(0x19d)](_0xc99740,_0x1f492d,_0x52ddf3={}){const _0x322df0=a2_0x1e0893,{headers:headers={},body:_0x5981fa,timeout:timeout=0x7530,retries:retries=this['retryConfig'][_0x322df0(0x174)],signal:_0x562fc2,includeHeaders:includeHeaders=![]}=_0x52ddf3,_0x48cdca=''+this[_0x322df0(0x16e)]+_0x1f492d,_0x2862ee={...this[_0x322df0(0x17b)],...headers};_0x5981fa&&!_0x2862ee[_0x322df0(0x19c)]&&(_0x2862ee[_0x322df0(0x19c)]=_0x322df0(0x182));let _0x4f6f06;_0x5981fa&&(_0x4f6f06=typeof _0x5981fa==='string'?_0x5981fa:JSON[_0x322df0(0x192)](_0x5981fa));let _0x2b7d08=null;for(let _0x31c5e2=0x0;_0x31c5e2<=retries;_0x31c5e2++){try{const _0x23c18e=new AbortController(),_0x1b4d5c=setTimeout(()=>_0x23c18e[_0x322df0(0x198)](),timeout);if(_0x562fc2){if(_0x562fc2['aborted'])throw new Error('Request\x20cancelled\x20by\x20user');_0x562fc2[_0x322df0(0x170)]('abort',()=>_0x23c18e[_0x322df0(0x198)](),{'once':!![]});}const _0x256791=await fetch(_0x48cdca,{'method':_0xc99740,'headers':_0x2862ee,'body':_0x4f6f06,'signal':_0x23c18e[_0x322df0(0x186)]});clearTimeout(_0x1b4d5c);if(_0x31c5e2<retries&&isRetryableError(_0x256791[_0x322df0(0x190)])){const _0xcc8009=_0x256791[_0x322df0(0x181)][_0x322df0(0x178)](_0x322df0(0x199)),_0xaf17a7=_0xcc8009?parseInt(_0xcc8009,0xa)*0x3e8:getRetryDelay(_0x31c5e2,this[_0x322df0(0x196)]);console[_0x322df0(0x1a2)]('[Retry\x20'+(_0x31c5e2+0x1)+'/'+retries+_0x322df0(0x19b)+_0x256791[_0x322df0(0x190)]+',\x20'+(_0x322df0(0x18b)+Math['round'](_0xaf17a7)+_0x322df0(0x1a0))),await this[_0x322df0(0x195)](_0xaf17a7);continue;}if(!_0x256791['ok']){const _0x2487ef=await this[_0x322df0(0x18d)](_0x256791),_0x2f6858=this[_0x322df0(0x184)](_0x2487ef,_0x256791[_0x322df0(0x190)]),_0x77734b=_0x256791[_0x322df0(0x190)]===0x191?_0x322df0(0x19e)+_0x256791[_0x322df0(0x190)]+':\x20'+_0x256791[_0x322df0(0x180)]+_0x322df0(0x193)+_0x48cdca:_0x2f6858?.[_0x322df0(0x176)]||'HTTP\x20'+_0x256791[_0x322df0(0x190)]+':\x20'+_0x256791['statusText'];throw new HTTPClientError(_0x77734b,_0x256791[_0x322df0(0x190)],_0x2f6858);}const _0x1f9982=await this[_0x322df0(0x18d)](_0x256791);if(includeHeaders){const _0x16fddb={};return _0x256791[_0x322df0(0x181)][_0x322df0(0x16f)]((_0x555c85,_0x5e043a)=>{_0x16fddb[_0x5e043a]=_0x555c85;}),{'data':_0x1f9982,'status':_0x256791['status'],'headers':_0x16fddb};}return _0x1f9982;}catch(_0x19875a){_0x2b7d08=_0x19875a instanceof Error?_0x19875a:new Error(String(_0x19875a));if(_0x19875a instanceof HTTPClientError&&!isRetryableError(_0x19875a[_0x322df0(0x190)]))throw _0x19875a;if(_0x31c5e2>=retries)throw _0x2b7d08;const _0x37e9e6=getRetryDelay(_0x31c5e2,this['retryConfig']);console[_0x322df0(0x1a2)]('[Retry\x20'+(_0x31c5e2+0x1)+'/'+retries+_0x322df0(0x187)+_0x2b7d08[_0x322df0(0x19a)]+',\x20'+(_0x322df0(0x18b)+Math[_0x322df0(0x189)](_0x37e9e6)+_0x322df0(0x1a0))),await this[_0x322df0(0x195)](_0x37e9e6);}}throw _0x2b7d08||new Error(_0x322df0(0x1a1));}async['safeParseJSON'](_0x1a7794){const _0x11a69d=a2_0x1e0893,_0x53bc2d=await _0x1a7794[_0x11a69d(0x17d)]();if(!_0x53bc2d)return null;try{const _0x76003a=a2_0x4228ad({'storeAsString':!![]});return _0x76003a[_0x11a69d(0x175)](_0x53bc2d);}catch{return{'body':_0x53bc2d};}}['parseProblemDetails'](_0x4d49e8,_0x5465c0){const _0x365808=a2_0x1e0893;if(!_0x4d49e8||typeof _0x4d49e8!==_0x365808(0x191))return undefined;const _0x2af495=_0x4d49e8;if(_0x2af495['type']||_0x2af495['title']||_0x2af495['detail'])return{'type':_0x2af495[_0x365808(0x19f)]||_0x365808(0x18f),'title':_0x2af495[_0x365808(0x188)]||_0x365808(0x17a),'status':_0x2af495[_0x365808(0x190)]||_0x5465c0,'detail':_0x2af495['detail']||_0x365808(0x18c),'instance':_0x2af495[_0x365808(0x171)]||'',..._0x2af495};return undefined;}[a2_0x1e0893(0x195)](_0x3033f1){return new Promise(_0x49704c=>setTimeout(_0x49704c,_0x3033f1));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client.js","sourceRoot":"","sources":["../../src/client/http-client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,OAAO,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"http-client.js","sourceRoot":"","sources":["../../src/client/http-client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,OAAO,MAAM,aAAa,CAAC;AAqClC,MAAM,oBAAoB,GAAgB;IACxC,UAAU,EAAE,CAAC;IACb,SAAS,EAAE,IAAI,EAAE,WAAW;IAC5B,QAAQ,EAAE,IAAI,EAAE,YAAY;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,CAAC,MAAiB,IAAI,MAAM;gBACzC,MAAM,EAAG,IAAI,CAAC,MAAiB,IAAI,mBAAmB;gBACtD,QAAQ,EAAG,IAAI,CAAC,QAAmB,IAAI,EAAE;gBACzC,GAAG,IAAI;aACR,CAAC;QACJ,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,EAAU;QACtB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;IAC3D,CAAC;CACF;AAED,kFAAkF;AAClF,iDAAiD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x2f7774=a3_0x157b;(function(_0xd6cb16,_0x5d88e2){const _0x763085=a3_0x157b,_0x444831=_0xd6cb16();while(!![]){try{const _0x1cab3c=parseInt(_0x763085(0xfc))/0x1*(parseInt(_0x763085(0xcd))/0x2)+-parseInt(_0x763085(0xef))/0x3+-parseInt(_0x763085(0xc9))/0x4*(parseInt(_0x763085(0xce))/0x5)+parseInt(_0x763085(0xe6))/0x6*(parseInt(_0x763085(0xc6))/0x7)+-parseInt(_0x763085(0xcf))/0x8*(-parseInt(_0x763085(0x100))/0x9)+parseInt(_0x763085(0xc0))/0xa*(parseInt(_0x763085(0xd5))/0xb)+parseInt(_0x763085(0xf3))/0xc*(parseInt(_0x763085(0xda))/0xd);if(_0x1cab3c===_0x5d88e2)break;else _0x444831['push'](_0x444831['shift']());}catch(_0xdf7cb4){_0x444831['push'](_0x444831['shift']());}}}(a3_0x1131,0x3eaa6));function a3_0x1131(){const _0x49a5cb=['?filter[project_id]=','createProject','apiKey','HTTP\x20','request','1479486PCBZFV','stringify','listProjects','push','24xwzbgP','text/event-stream','json','/api/projects','page[limit]','text','starterMessage','data','application/vnd.api+json','102476bmSlQe','agents','search','systemPrompt','4977mzqBNS','createAgent','projects','/api/chats','prompt','status','startsWith','baseUrl','130gtGPPr','/history','pathname','/api/projects?page[limit]=','httpClient','listAgents','28301dyPRAB','/api/chats?','authHeaders','372ZQyUoo','updateAgent','append','GET','2FJvBWY','7860YolPYo','2576biBqAY','llm','/continue','continueChat','agentId','/api/agents/','84865LRyTAU','listChats','PATCH','sort','DELETE','221533DZRZTD','description','POST','deleteAgent','/api/users/current_settings','modelType','chats','statusText','site','maxToolIterations','getUserSettings','temperature','714DgZVzC','/api/agents','/api/chats/','name'];a3_0x1131=function(){return _0x49a5cb;};return a3_0x1131();}import{HTTPClient}from'./http-client.js';function a3_0x157b(_0xfd484f,_0x56c9eb){const _0x113101=a3_0x1131();return a3_0x157b=function(_0x157bc3,_0x1bf7e8){_0x157bc3=_0x157bc3-0xba;let _0x339cb7=_0x113101[_0x157bc3];return _0x339cb7;},a3_0x157b(_0xfd484f,_0x56c9eb);}import{getEndpoint}from'../types/index.js';import{getAuthHeaders}from'../core/auth.js';import{parseSSEStream}from'../utils/sse-parser.js';export class LLMClient{[a3_0x2f7774(0xc4)];[a3_0x2f7774(0xbf)];[a3_0x2f7774(0xc8)];constructor(_0x129db6){const _0x2fada7=a3_0x2f7774;this[_0x2fada7(0xbf)]=getEndpoint(_0x129db6[_0x2fada7(0xe2)],_0x2fada7(0xd0)),this[_0x2fada7(0xc8)]=getAuthHeaders(_0x129db6['site'],_0x129db6[_0x2fada7(0xec)]),this['httpClient']=new HTTPClient(this[_0x2fada7(0xbf)],this['authHeaders']);}async[a3_0x2f7774(0xe4)](){const _0x52d737=a3_0x2f7774;return await this[_0x52d737(0xc4)]['request'](_0x52d737(0xcc),_0x52d737(0xde));}async[a3_0x2f7774(0xeb)](_0x33da71){const _0x95f823=a3_0x2f7774,_0x502d8f={'data':{'type':_0x95f823(0xba),'attributes':{'name':_0x33da71[_0x95f823(0xe9)],..._0x33da71['description']&&{'description':_0x33da71[_0x95f823(0xdb)]}}}},_0x23e305=await fetch(this[_0x95f823(0xbf)]+_0x95f823(0xf6),{'method':'POST','headers':{...this[_0x95f823(0xc8)],'Content-Type':_0x95f823(0xfb),'Accept':_0x95f823(0xfb)},'body':JSON[_0x95f823(0xf0)](_0x502d8f)});if(!_0x23e305['ok'])throw new Error(_0x95f823(0xed)+_0x23e305[_0x95f823(0xbd)]+':\x20'+_0x23e305[_0x95f823(0xe1)]);const _0x558204=await _0x23e305['json']();return _0x558204[_0x95f823(0xfa)];}async[a3_0x2f7774(0xf1)](_0x39f606=0x32){const _0x4c4083=a3_0x2f7774,_0x6d5709=[];let _0x310884=_0x4c4083(0xc3)+_0x39f606;while(_0x310884){const _0x3b1558=await this[_0x4c4083(0xc4)]['request'](_0x4c4083(0xcc),_0x310884);_0x3b1558[_0x4c4083(0xfa)]&&_0x6d5709[_0x4c4083(0xf2)](..._0x3b1558[_0x4c4083(0xfa)]);_0x310884=_0x3b1558['links']?.['next'];if(_0x310884&&_0x310884[_0x4c4083(0xbe)]('http')){const _0x1d0a97=new URL(_0x310884);_0x310884=_0x1d0a97[_0x4c4083(0xc2)]+_0x1d0a97[_0x4c4083(0xfe)];}}return _0x6d5709;}async[a3_0x2f7774(0xc5)](_0x564e45){const _0x29f1cb=a3_0x2f7774;let _0x3894a5=_0x29f1cb(0xe7);_0x564e45&&(_0x3894a5+=_0x29f1cb(0xea)+encodeURIComponent(_0x564e45));const _0xa6a72a=await this['httpClient'][_0x29f1cb(0xee)](_0x29f1cb(0xcc),_0x3894a5);return _0xa6a72a[_0x29f1cb(0xfa)]||[];}async['getAgent'](_0x555d84){const _0x5a3802=a3_0x2f7774,_0x442e3e=_0x5a3802(0xd4)+encodeURIComponent(_0x555d84),_0x180705=await this[_0x5a3802(0xc4)][_0x5a3802(0xee)](_0x5a3802(0xcc),_0x442e3e);return _0x180705[_0x5a3802(0xfa)];}async[a3_0x2f7774(0x101)](_0x2ae4fc){const _0x25af3a=a3_0x2f7774,_0x1e3d0b={'name':_0x2ae4fc[_0x25af3a(0xe9)],'projectId':_0x2ae4fc['projectId'],'modelType':_0x2ae4fc[_0x25af3a(0xdf)],'maxToolIterations':_0x2ae4fc[_0x25af3a(0xe3)]??0x4,'temperature':_0x2ae4fc[_0x25af3a(0xe5)]??0.7};_0x2ae4fc[_0x25af3a(0xff)]!==undefined&&(_0x1e3d0b['systemPrompt']=_0x2ae4fc['systemPrompt']);_0x2ae4fc[_0x25af3a(0xf9)]&&(_0x1e3d0b[_0x25af3a(0xf9)]=_0x2ae4fc[_0x25af3a(0xf9)]);const _0x19dfba={'data':{'type':_0x25af3a(0xfd),'attributes':_0x1e3d0b}},_0xc72b6e=await fetch(this[_0x25af3a(0xbf)]+'/api/agents',{'method':_0x25af3a(0xdc),'headers':{...this[_0x25af3a(0xc8)],'Content-Type':'application/vnd.api+json','Accept':_0x25af3a(0xfb)},'body':JSON[_0x25af3a(0xf0)](_0x19dfba)});if(!_0xc72b6e['ok']){const _0x8655b0=await _0xc72b6e[_0x25af3a(0xf8)]();throw new Error(_0x25af3a(0xed)+_0xc72b6e[_0x25af3a(0xbd)]+':\x20'+_0xc72b6e['statusText']+'\x0aResponse:\x20'+_0x8655b0);}const _0x3897af=await _0xc72b6e[_0x25af3a(0xf5)]();return _0x3897af[_0x25af3a(0xfa)];}async[a3_0x2f7774(0xca)](_0x3282b6,_0x3cff71){const _0x5a4fcd=a3_0x2f7774,_0x22e47c={'data':{'type':_0x5a4fcd(0xfd),'id':_0x3282b6,'attributes':{..._0x3cff71[_0x5a4fcd(0xe9)]&&{'name':_0x3cff71[_0x5a4fcd(0xe9)]},..._0x3cff71[_0x5a4fcd(0xdb)]&&{'description':_0x3cff71['description']},..._0x3cff71[_0x5a4fcd(0xbc)]&&{'prompt':_0x3cff71[_0x5a4fcd(0xbc)]},..._0x3cff71['starterMessage']&&{'starter_message':_0x3cff71[_0x5a4fcd(0xf9)]}}}},_0x9231f5=_0x5a4fcd(0xd4)+encodeURIComponent(_0x3282b6),_0x4e4a89=await this[_0x5a4fcd(0xc4)][_0x5a4fcd(0xee)](_0x5a4fcd(0xd7),_0x9231f5,{'body':_0x22e47c});return _0x4e4a89[_0x5a4fcd(0xfa)];}async[a3_0x2f7774(0xdd)](_0x46fecb){const _0x5b09a3=a3_0x2f7774,_0x364d02=_0x5b09a3(0xd4)+encodeURIComponent(_0x46fecb);await this['httpClient'][_0x5b09a3(0xee)](_0x5b09a3(0xd9),_0x364d02);}async[a3_0x2f7774(0xd6)](_0x580581=0x32){const _0x29a4aa=a3_0x2f7774,_0x5bd77c=new URLSearchParams();_0x5bd77c[_0x29a4aa(0xcb)](_0x29a4aa(0xf7),String(_0x580581)),_0x5bd77c[_0x29a4aa(0xcb)](_0x29a4aa(0xd8),'-last_conversation_at');const _0x2e8a71=_0x29a4aa(0xc7)+_0x5bd77c['toString'](),_0x3613de=await this[_0x29a4aa(0xc4)][_0x29a4aa(0xee)](_0x29a4aa(0xcc),_0x2e8a71);return _0x3613de['data']||[];}async['getChatInfo'](_0x173371){const _0x3fb8e4=a3_0x2f7774,_0x5f0dcd='/api/chats/'+encodeURIComponent(_0x173371),_0x8057d6=await this[_0x3fb8e4(0xc4)][_0x3fb8e4(0xee)]('GET',_0x5f0dcd);return _0x8057d6[_0x3fb8e4(0xfa)];}async['getChatHistory'](_0x8b08b6){const _0x3e739a=a3_0x2f7774,_0x53606f='/api/chats/'+encodeURIComponent(_0x8b08b6)+_0x3e739a(0xc1);return await this[_0x3e739a(0xc4)][_0x3e739a(0xee)](_0x3e739a(0xcc),_0x53606f);}async['startChat'](_0x154e6e){const _0x1dd828=a3_0x2f7774,_0x496dd2={'data':{'type':_0x1dd828(0xe0),'attributes':{'agentId':_0x154e6e[_0x1dd828(0xd3)]}}},_0x1a6a86=await fetch(this['baseUrl']+_0x1dd828(0xbb),{'method':_0x1dd828(0xdc),'headers':{...this[_0x1dd828(0xc8)],'Content-Type':_0x1dd828(0xfb),'Accept':_0x1dd828(0xfb)},'body':JSON['stringify'](_0x496dd2)});if(!_0x1a6a86['ok'])throw new Error(_0x1dd828(0xed)+_0x1a6a86[_0x1dd828(0xbd)]+':\x20'+_0x1a6a86[_0x1dd828(0xe1)]);const _0x297042=await _0x1a6a86[_0x1dd828(0xf5)]();return _0x297042[_0x1dd828(0xfa)];}async*[a3_0x2f7774(0xd2)](_0x55a494,_0x1d44e6,_0x3ce456){const _0x1bf4fb=a3_0x2f7774,_0x25ba78=_0x1bf4fb(0xe8)+encodeURIComponent(_0x55a494)+_0x1bf4fb(0xd1),_0x30d5f4={'input':_0x1d44e6},_0x420f11=await fetch(''+this[_0x1bf4fb(0xbf)]+_0x25ba78,{'method':_0x1bf4fb(0xdc),'headers':{...this[_0x1bf4fb(0xc8)],'Content-Type':'application/json','Accept':_0x1bf4fb(0xf4)},'body':JSON[_0x1bf4fb(0xf0)](_0x30d5f4),'signal':_0x3ce456});if(!_0x420f11['ok'])throw new Error(_0x1bf4fb(0xed)+_0x420f11[_0x1bf4fb(0xbd)]+':\x20'+_0x420f11[_0x1bf4fb(0xe1)]);yield*parseSSEStream(_0x420f11);}}
|