@uipath/delegate-cli 0.1.12 → 1.203.0-preview.20260924122926
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 +35 -11
- package/dist/cli.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -38,11 +38,11 @@ delegate-cli [flags] - Read one prompt from stdin through EOF, the
|
|
|
38
38
|
Piped stdin also implies one-turn mode
|
|
39
39
|
Explicit `-` waits for EOF; the implicit form gives up after 2 s
|
|
40
40
|
of silence so a missing prompt errors instead of hanging
|
|
41
|
-
delegate-cli login [--env NAME] [--tenant NAME]
|
|
42
|
-
OAuth browser login (--env required on FIRST
|
|
43
|
-
afterwards defaults to the saved login's
|
|
44
|
-
--tenant picks a tenant by name, otherwise
|
|
45
|
-
re-login keeps the saved tenant)
|
|
41
|
+
delegate-cli login [--env NAME | --url BASE] [--tenant NAME]
|
|
42
|
+
OAuth browser login (--env or --url required on FIRST
|
|
43
|
+
login; afterwards defaults to the saved login's
|
|
44
|
+
deployment; --tenant picks a tenant by name, otherwise
|
|
45
|
+
a re-login keeps the saved tenant)
|
|
46
46
|
delegate-cli tenant [NAME] List the organization's tenants, or switch the saved
|
|
47
47
|
login to NAME — no browser round-trip
|
|
48
48
|
delegate-cli logout Remove the saved CLI login
|
|
@@ -89,14 +89,16 @@ Three levels of machine access, independent of conversation mode:
|
|
|
89
89
|
| Flag | Default | What it does |
|
|
90
90
|
|---|---|---|
|
|
91
91
|
| `-p`, `--print` | automatic outside a terminal | Send one prompt, execute any tools, print the response and exit. Otherwise, when stdin and stdout are terminals, accept follow-up messages interactively. Explicit `-` input also selects one-turn mode. |
|
|
92
|
-
| `--env <name>` | saved login's
|
|
92
|
+
| `--env <name>` | saved login's deployment | `alpha` / `staging` / `production` / `localhost`. Composes the backend URL from saved org/tenant slugs; localhost → `http://localhost:5002`. Omitted → the deployment you logged into (`delegate-cli login`). With no saved login and no `--backend` / `BACKEND_URL` either, commands error — the CLI never guesses an environment. For anything that is not a named cloud, use `--url`. |
|
|
93
|
+
| `--url <base>` | — | (`login` only; alias `--authority`) Base URL of a deployment that is not a named cloud — Automation Suite, Dedicated, Public Sector. A tenant path or a trailing `/identity_` is accepted and reduced to the origin. Mutually exclusive with `--env`; also settable via `UIPATH_BASE_URL`. Non-`https` URLs and URLs with embedded credentials are refused. See [Automation Suite](#automation-suite-and-other-self-hosted-deployments). |
|
|
94
|
+
| `--skip-env-check` | off | (`login` only) Skip the deployment checks that run before sign-in and after the token exchange. Escape hatch — it also gives up the diagnosis when something is genuinely wrong. |
|
|
93
95
|
| `--backend <url>` | — | Full backend URL — overrides `--env` and `BACKEND_URL`. |
|
|
94
96
|
| `--tenant <name>` | saved login's tenant, else the org's first | (`login` only) Tenant to sign into, matched by name case-insensitively. Without it a re-login keeps the tenant of the saved login on that cloud. An unknown name fails and lists the tenants that exist; on any other command the flag is refused — switch an existing login with `delegate-cli tenant <name>`. |
|
|
95
97
|
| `--model <id>` | `gemini_3_6_flash` | LLM id (use `delegate-cli models` to discover). Also via `MODEL` env. |
|
|
96
98
|
| `--headless` | off | Skip interop entirely. Text-only prompts: no screen **and** no file, Office, PDF or shell tools. Skills still load — they are read through Node, not interop. |
|
|
97
99
|
| `--no-computer-use` | off | Keep interop, drop the screen. File, Office, PDF and shell tools keep working; screenshots, the window list, the focused element and the UI-automation tools (`AppFind`, `AppAct`, `AppGetDescriptor`) all go. Cuts the image tokens and the per-turn screen capture, keeps desktop window titles off the wire, and removes the agent's ability to act on the desktop UI. The right default for document and file work on a real machine. `--headless` implies it. |
|
|
98
100
|
| `--keep-alive` | off | Reuse / leave interop running across invocations. Skips the 10–20 s cold start on the next call. |
|
|
99
|
-
| `--cleanup` | — | Force-stop
|
|
101
|
+
| `--cleanup` | — | Force-stop every running interop (from `~/.delegate-sdk/interop*.pid`, one per deployment) and exit. |
|
|
100
102
|
| `--no-connections` | off | Disable orchestrator ConnectionService (silences 404 noise on tenants without orchestrator). |
|
|
101
103
|
| `--no-security` | off | Disable tool security wrapper. Debug only. |
|
|
102
104
|
| `--preload-skill <name>` | — | Preload a skill into the session before the first model turn (repeatable; SDK `preloadSkills`). A name given twice is preloaded once. |
|
|
@@ -204,15 +206,15 @@ Flags/env present at `install` time are persisted into the OS entry.
|
|
|
204
206
|
|
|
205
207
|
## Authentication
|
|
206
208
|
|
|
207
|
-
`delegate-cli login --env <env>` runs OAuth PKCE in your browser and saves to `~/.aria/sdk-auth.json`. The first login must name the
|
|
209
|
+
`delegate-cli login --env <env>` runs OAuth PKCE in your browser and saves to `~/.aria/sdk-auth.json`. The first login must name the deployment (`--env` for a UiPath cloud, `--url` for anything else); from then on that deployment is the default — `delegate-cli login` re-logs into it, and prompts/`models` target it unless `--env`/`--backend` say otherwise.
|
|
208
210
|
|
|
209
|
-
The browser step only picks the organization (Identity asks when your account belongs to several). The tenant comes from the CLI: the organization's first tenant unless `--tenant <name>` names another, and a re-login on the same
|
|
211
|
+
The browser step only picks the organization (Identity asks when your account belongs to several). The tenant comes from the CLI: the organization's first tenant unless `--tenant <name>` names another, and a re-login on the same deployment keeps the saved tenant. The login output lists the organization's other tenants, and `delegate-cli whoami` shows the active one.
|
|
210
212
|
|
|
211
213
|
To change tenant afterwards, run `delegate-cli tenant <name>` — no browser: tokens are issued per organization, so the command only lists the organization's tenants, matches the name case-insensitively, and rewrites the tenant id and slug in `~/.aria/sdk-auth.json`. `delegate-cli tenant` alone lists the tenants and marks the current one. It works on the CLI's own login only: with `AUTH_TOKEN` env-var auth the tenant is `TENANT_ID`/`TENANT_SLUG`, and the Delegate desktop app's fallback file keeps the tenant chosen in the app.
|
|
212
214
|
|
|
213
|
-
`delegate-cli whoami` shows the active identity (auth source, org/tenant, token expiry). It is strictly read-only: no backend call, and no token refresh either — so an expired token is reported as expired instead of being silently rotated behind an inspection command. The `Source:` line names the file the credential actually came from, which may be the Delegate desktop app's `~/.aria/auth.json` (the SDK's read-only fallback).
|
|
215
|
+
`delegate-cli whoami` shows the active identity (auth source, deployment kind, org/tenant, token expiry). It is strictly read-only: no backend call, and no token refresh either — so an expired token is reported as expired instead of being silently rotated behind an inspection command. The `Source:` line names the file the credential actually came from, which may be the Delegate desktop app's `~/.aria/auth.json` (the SDK's read-only fallback).
|
|
214
216
|
|
|
215
|
-
`delegate-cli check` is the pre-flight a prompt would otherwise run implicitly, without sending one: it loads (and refreshes) auth and resolves the backend URL exactly like a prompt does, then prints three lines — `auth` (token not expired, and its organization and tenant match the backend URL), `backend` (one read-only `GET /v1/config` with the token), and `interop` (spawns the bundled interop, waits for `/health`, stops it again; `--headless` skips it). Any failed line makes the command exit 1, so a scheduler or a Robot job can gate on it. A saved login whose org/tenant slugs disagree with the backend URL — after a `--backend` override or a `tenant` switch — fails the `auth` line, and a prompt with the same combination is refused by the SDK before any request is sent.
|
|
217
|
+
`delegate-cli check` is the pre-flight a prompt would otherwise run implicitly, without sending one: it loads (and refreshes) auth and resolves the backend URL exactly like a prompt does, then prints three lines — `auth` (token not expired, and its organization and tenant match the backend URL), `backend` (one read-only `GET /v1/config` with the token; on Automation Suite the answer must also advertise `delegate` in `SUPPORTED_SHELL_APPS`, which pre-26.10 images omit), and `interop` (spawns the bundled interop with the saved login's deployment as its trusted OIDC issuer, waits for `/health`, stops it again; `--headless` skips it). Any failed line makes the command exit 1, so a scheduler or a Robot job can gate on it. A saved login whose org/tenant slugs disagree with the backend URL — after a `--backend` override or a `tenant` switch — fails the `auth` line, and a prompt with the same combination is refused by the SDK before any request is sent.
|
|
216
218
|
|
|
217
219
|
`delegate-cli logout` deletes the saved CLI login and never the desktop app's file. When that fallback is what you are authenticating with, it says so rather than reporting nothing to remove — sign out in the Delegate app to clear it.
|
|
218
220
|
|
|
@@ -225,6 +227,28 @@ To authenticate as your own identity app (custom `UIPATH_CLIENT_ID` / `UIPATH_CL
|
|
|
225
227
|
AUTH_TOKEN=... TENANT_ID=... ORG_ID=... npx delegate-cli --env production "..."
|
|
226
228
|
```
|
|
227
229
|
|
|
230
|
+
### Automation Suite and other self-hosted deployments
|
|
231
|
+
|
|
232
|
+
Sign in by URL rather than by environment name:
|
|
233
|
+
|
|
234
|
+
```bash
|
|
235
|
+
export NODE_EXTRA_CA_CERTS=/path/to/cluster-ca.pem # only for a private certificate authority
|
|
236
|
+
|
|
237
|
+
npx delegate-cli login --url https://automationsuite.contoso.com --tenant DefaultTenant
|
|
238
|
+
npx delegate-cli whoami # confirms the deployment, org and tenant
|
|
239
|
+
npx delegate-cli check # auth, backend capability and interop, end to end
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
Three things differ from a cloud login:
|
|
243
|
+
|
|
244
|
+
- **Automation Suite 26.10 or later with the Delegate service** is required. Older deployments, and clusters without the service, are refused at login, with `--skip-env-check` as the override.
|
|
245
|
+
- **The deployment may reject the built-in client.** It is a registration on the UiPath clouds; when the token exchange fails with `invalid_client`, register an external application on the cluster with the redirect URIs `http://localhost:8055/oidc/login`, `http://localhost:42042/oidc/login` and `http://localhost:8104/oidc/login` and the `openid profile offline_access` scopes, then set `UIPATH_CLIENT_ID` (and `UIPATH_CLIENT_SECRET` for a confidential app).
|
|
246
|
+
- **A private certificate authority needs `NODE_EXTRA_CA_CERTS`.** Do not disable certificate verification — sign-in and token requests carry credentials. A TLS or DNS failure is reported with the remedy rather than as a bare socket error.
|
|
247
|
+
|
|
248
|
+
Before the browser opens, `login` checks that the URL really serves a UiPath Identity, and refuses it otherwise; after the token exchange it asks the deployment's Delegate service (`GET /v1/config`) whether it supports this SDK. `--skip-env-check` skips both. The `@uipath/delegate-sdk` README documents exactly what each check asks and why they run at different moments.
|
|
249
|
+
|
|
250
|
+
Computer use works on a self-hosted deployment too: the interop sidecar is started with the deployment as its trusted OIDC issuer, and a sidecar left running for another deployment is restarted rather than reused.
|
|
251
|
+
|
|
228
252
|
---
|
|
229
253
|
|
|
230
254
|
## Telemetry
|
package/dist/cli.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x22e0fa=_0x2f9d;(function(_0x5c2ba5,_0x4d005c){const _0x42541b=_0x2f9d,_0x304b96=_0x5c2ba5();while(!![]){try{const _0x57f76e=parseInt(_0x42541b(0x19d))/0x1*(-parseInt(_0x42541b(0x243))/0x2)+-parseInt(_0x42541b(0x1e5))/0x3+-parseInt(_0x42541b(0x1cc))/0x4*(-parseInt(_0x42541b(0x215))/0x5)+parseInt(_0x42541b(0x1a6))/0x6+parseInt(_0x42541b(0x219))/0x7+parseInt(_0x42541b(0x226))/0x8*(-parseInt(_0x42541b(0x1ba))/0x9)+-parseInt(_0x42541b(0x19c))/0xa*(parseInt(_0x42541b(0x1ec))/0xb);if(_0x57f76e===_0x4d005c)break;else _0x304b96['push'](_0x304b96['shift']());}catch(_0x564a51){_0x304b96['push'](_0x304b96['shift']());}}}(_0x4d2c,0x7e3d0));const __dirname=import.meta.dirname;import _0x16f5dc from'fs';import _0x22145e from'path';import{clearLine as _0x5a0321,createInterface as _0x334167,cursorTo as _0x17b0b8}from'node:readline';import{BUSINESS_ANALYSIS_PRELOADED_SKILLS as _0x19ad63,DelegateAgent as _0x52685c,InteropProcess as _0x49cee4,getAuthFilePath as _0x1b6ed9,isSafeProjectFolderSegment as _0x370290,listTenants as _0x275211,loadAndRefreshAuth as _0x5e49d4,loadAndRefreshSdkLogin as _0x2f49d5,resolveBackendUrl as _0x4e42a9,runHealthCheck as _0x5df7fe,runHostCommand as _0x56a044,runLoginFlow as _0x2fcf2d,saveAuthData as _0x3a2c1a,switchTenant as _0xc8286b,ENV_TO_CLOUD as _0x496eef}from'@uipath/delegate-sdk';var V=[_0x22e0fa(0x1db),_0x22e0fa(0x1e4),_0x22e0fa(0x201),_0x22e0fa(0x232),'logout',_0x22e0fa(0x19b),_0x22e0fa(0x1ae)],N=[_0x22e0fa(0x260),'medium','high','xhigh',_0x22e0fa(0x1e8)],X=_0x19ad63;function f(_0x16b349,_0x295b68,_0x24c380,_0x5522f5){const _0x513436=_0x22e0fa;let _0x5d2d8b=_0x16b349[_0x295b68];return(!_0x5d2d8b||_0x5d2d8b[_0x513436(0x1d6)]>0x1&&_0x5d2d8b[_0x513436(0x207)]('-'))&&(console[_0x513436(0x239)](_0x24c380+_0x513436(0x24d)+_0x5522f5+'.'),process[_0x513436(0x231)](0x2)),_0x5d2d8b;}function Q(_0x1e4a6c){const _0x2bdf5a=_0x22e0fa;let _0x41c811={'subcommand':'','prompt':'','print':!0x1,'keepAlive':!0x1,'cleanup':!0x1,'headless':!0x1,'noComputerUse':!0x1,'cartographer':!0x1,'noConnections':!0x1,'noSecurity':!0x1,'quiet':!0x1,'verbose':!0x1,'preloadSkills':[],'help':!0x1,'version':!0x1};V[_0x2bdf5a(0x20d)](_0x1e4a6c[0x0])&&(_0x41c811[_0x2bdf5a(0x1fb)]=_0x1e4a6c[0x0],_0x1e4a6c=_0x1e4a6c[_0x2bdf5a(0x21a)](0x1));let _0x596db8=[];for(let _0x5bd76a=0x0;_0x5bd76a<_0x1e4a6c['length'];_0x5bd76a++){let _0x3a9515=_0x1e4a6c[_0x5bd76a];switch(_0x3a9515){case _0x2bdf5a(0x1e1):case'-p':_0x41c811[_0x2bdf5a(0x1fa)]=!0x0;break;case _0x2bdf5a(0x1e2):_0x41c811[_0x2bdf5a(0x221)]=!0x0;break;case _0x2bdf5a(0x206):_0x41c811[_0x2bdf5a(0x1e6)]=!0x0;break;case _0x2bdf5a(0x235):_0x41c811[_0x2bdf5a(0x230)]=!0x0;break;case'--no-computer-use':_0x41c811[_0x2bdf5a(0x1b5)]=!0x0;break;case _0x2bdf5a(0x1f7):_0x41c811[_0x2bdf5a(0x1a4)]=!0x0,_0x41c811[_0x2bdf5a(0x1b5)]=!0x0,_0x41c811[_0x2bdf5a(0x210)][_0x2bdf5a(0x1e3)](...X);break;case _0x2bdf5a(0x24b):_0x41c811[_0x2bdf5a(0x1dc)]=!0x0;break;case _0x2bdf5a(0x227):_0x41c811[_0x2bdf5a(0x19f)]=!0x0;break;case _0x2bdf5a(0x257):case'-q':_0x41c811['quiet']=!0x0;break;case'--verbose':_0x41c811[_0x2bdf5a(0x1d1)]=!0x0;break;case _0x2bdf5a(0x20c):_0x41c811[_0x2bdf5a(0x1b6)]=_0x1e4a6c[++_0x5bd76a];break;case _0x2bdf5a(0x22c):_0x41c811[_0x2bdf5a(0x1cd)]=_0x1e4a6c[++_0x5bd76a];break;case _0x2bdf5a(0x1f3):_0x41c811[_0x2bdf5a(0x1c0)]=_0x1e4a6c[++_0x5bd76a];break;case _0x2bdf5a(0x1ed):_0x41c811['interopPath']=_0x1e4a6c[++_0x5bd76a];break;case _0x2bdf5a(0x20e):_0x41c811[_0x2bdf5a(0x1f1)]=_0x1e4a6c[++_0x5bd76a];break;case _0x2bdf5a(0x1a0):_0x41c811[_0x2bdf5a(0x210)][_0x2bdf5a(0x1e3)](f(_0x1e4a6c,++_0x5bd76a,_0x3a9515,'a\x20skill\x20name'));break;case'--project':{let _0x2dc3cc=f(_0x1e4a6c,++_0x5bd76a,_0x3a9515,_0x2bdf5a(0x1f5));_0x370290(_0x2dc3cc)||(console[_0x2bdf5a(0x239)](_0x2bdf5a(0x25e)+_0x2dc3cc+_0x2bdf5a(0x244)),process[_0x2bdf5a(0x231)](0x2)),_0x41c811[_0x2bdf5a(0x1da)]=_0x2dc3cc;break;}case _0x2bdf5a(0x25b):_0x41c811['sessionId']=f(_0x1e4a6c,++_0x5bd76a,_0x3a9515,_0x2bdf5a(0x246));break;case _0x2bdf5a(0x256):_0x41c811['workingDirectory']=_0x22145e[_0x2bdf5a(0x262)](process[_0x2bdf5a(0x1d3)](),f(_0x1e4a6c,++_0x5bd76a,_0x3a9515,_0x2bdf5a(0x1dd)));break;case _0x2bdf5a(0x1aa):_0x41c811[_0x2bdf5a(0x25f)]=_0x22145e[_0x2bdf5a(0x262)](process['cwd'](),f(_0x1e4a6c,++_0x5bd76a,_0x3a9515,_0x2bdf5a(0x1dd)));break;case'--effort':{let _0x5e1d91=f(_0x1e4a6c,++_0x5bd76a,_0x3a9515,'an\x20effort\x20tier');N[_0x2bdf5a(0x20d)](_0x5e1d91)||(console[_0x2bdf5a(0x239)]('Invalid\x20--effort:\x20'+_0x5e1d91+_0x2bdf5a(0x1a1)+N['join'](_0x2bdf5a(0x1a8))+'.'),process[_0x2bdf5a(0x231)](0x2)),_0x41c811[_0x2bdf5a(0x208)]=_0x5e1d91;break;}case _0x2bdf5a(0x241):{let _0x207c24=_0x1e4a6c[++_0x5bd76a];(!_0x207c24||_0x207c24['startsWith']('--'))&&(console[_0x2bdf5a(0x239)]('--tenant\x20requires\x20a\x20tenant\x20name.'),process[_0x2bdf5a(0x231)](0x2)),_0x41c811[_0x2bdf5a(0x1e4)]=_0x207c24;break;}case'--env':{let _0x49f22a=_0x1e4a6c[++_0x5bd76a];[_0x2bdf5a(0x25d),_0x2bdf5a(0x1ff),_0x2bdf5a(0x213),_0x2bdf5a(0x1bf)][_0x2bdf5a(0x20d)](_0x49f22a)||(console[_0x2bdf5a(0x239)](_0x2bdf5a(0x1e7)+_0x49f22a+_0x2bdf5a(0x22b)),process[_0x2bdf5a(0x231)](0x2)),_0x41c811[_0x2bdf5a(0x1b9)]=_0x49f22a;break;}case'-h':case'--help':_0x41c811[_0x2bdf5a(0x25a)]=!0x0;break;case'-v':case _0x2bdf5a(0x24c):_0x41c811[_0x2bdf5a(0x223)]=!0x0;break;default:_0x3a9515[_0x2bdf5a(0x207)]('--')&&(console[_0x2bdf5a(0x239)](_0x2bdf5a(0x1a7)+_0x3a9515),process[_0x2bdf5a(0x231)](0x2)),_0x596db8['push'](_0x3a9515);}}return _0x41c811[_0x2bdf5a(0x1e4)]!==void 0x0&&_0x41c811[_0x2bdf5a(0x1fb)]!=='login'&&(console[_0x2bdf5a(0x239)](_0x2bdf5a(0x1bb)),process[_0x2bdf5a(0x231)](0x2)),_0x41c811[_0x2bdf5a(0x210)]=[...new Set(_0x41c811[_0x2bdf5a(0x210)])],_0x41c811[_0x2bdf5a(0x259)]=_0x596db8[_0x2bdf5a(0x1d7)]('\x20'),_0x41c811;}function Z(){const _0x4ea386=_0x22e0fa;let _0x5eb2f3=_0x4ea386(0x218)[_0x4ea386(0x22f)]();console[_0x4ea386(0x1bc)](_0x5eb2f3);}function ee(){const _0x1ee1f4=_0x22e0fa;try{return JSON[_0x1ee1f4(0x254)](_0x16f5dc[_0x1ee1f4(0x1c8)](_0x22145e[_0x1ee1f4(0x1d7)](__dirname,'..',_0x1ee1f4(0x24e)),_0x1ee1f4(0x23f)))['version']||_0x1ee1f4(0x21d);}catch{return _0x1ee1f4(0x21d);}}var te=0x7d0;async function L(_0x2456e7,_0x2b5144){const _0x930737=_0x22e0fa;let _0x4457a3=_0x2b5144?[_0x2b5144]:[];for await(let _0x1a946a of _0x2456e7)_0x4457a3[_0x930737(0x1e3)](Buffer[_0x930737(0x20b)](_0x1a946a));return Buffer[_0x930737(0x258)](_0x4457a3)[_0x930737(0x198)]('utf-8')['trim']();}function ne(_0x53a6e6,_0x6cf3e1){return new Promise(_0xf3437f=>{const _0x6f04=_0x2f9d;let _0x134701=_0x36bc77=>{const _0x128c74=_0x2f9d;clearTimeout(_0xf177f8),_0x53a6e6[_0x128c74(0x1d4)](_0x128c74(0x1cb),_0x162940),_0x53a6e6[_0x128c74(0x1d4)]('end',_0x12a54c),_0x53a6e6['off'](_0x128c74(0x239),_0x12a54c),_0x53a6e6[_0x128c74(0x1cf)](),_0xf3437f(_0x36bc77);},_0x162940=_0x5e5f6b=>_0x134701(Buffer[_0x6f04(0x20b)](_0x5e5f6b)),_0x12a54c=()=>_0x134701(null),_0xf177f8=setTimeout(()=>_0x134701(null),_0x6cf3e1);_0x53a6e6['on'](_0x6f04(0x1cb),_0x162940),_0x53a6e6['on']('end',_0x12a54c),_0x53a6e6['on'](_0x6f04(0x239),_0x12a54c),_0x53a6e6[_0x6f04(0x220)]();});}async function oe(_0x5c03fb,_0x35fd90,_0x2d249d=te){const _0x15b1cb=_0x22e0fa;let _0x5a5b75=_0x5c03fb==='-';if(!_0x5a5b75&&_0x5c03fb)return _0x5c03fb;if(!_0x5a5b75&&_0x35fd90[_0x15b1cb(0x200)])return'';if(_0x5a5b75)return L(_0x35fd90,null);let _0x255a54=await ne(_0x35fd90,_0x2d249d);return _0x255a54?L(_0x35fd90,_0x255a54):'';}function S(){const _0x28dde8=_0x22e0fa;return _0x22145e[_0x28dde8(0x1d7)](process.env.HOME||process.env.USERPROFILE||'',_0x28dde8(0x1e9),_0x28dde8(0x1c5));}function k(_0x51c62f){const _0x317779=_0x22e0fa;try{let _0x5c05f3=JSON[_0x317779(0x254)](_0x16f5dc[_0x317779(0x1c8)](_0x51c62f,_0x317779(0x23f)));return!_0x5c05f3[_0x317779(0x1ad)]||!_0x5c05f3[_0x317779(0x1c2)]||!_0x5c05f3[_0x317779(0x1fd)]?null:_0x5c05f3;}catch{return null;}}function se(){let _0x19667d=[{'file':_0x1b6ed9(),'isDesktopFallback':!0x1},{'file':S(),'isDesktopFallback':!0x0}];for(let _0x5dd2e5 of _0x19667d){let _0x210913=k(_0x5dd2e5['file']);if(_0x210913)return{..._0x5dd2e5,'auth':_0x210913};}return null;}async function re(){const _0x2be72d=_0x22e0fa;let _0x15d295=_0x1b6ed9();if(!_0x16f5dc[_0x2be72d(0x211)](_0x15d295)){let _0x60d7f2=S();console['log'](k(_0x60d7f2)?_0x2be72d(0x261)+_0x60d7f2+_0x2be72d(0x1f6):_0x2be72d(0x228));return;}_0x16f5dc[_0x2be72d(0x1c3)](_0x15d295),console[_0x2be72d(0x1bc)](_0x2be72d(0x1f4)+_0x15d295);}async function ie(){const _0x36cfc5=_0x22e0fa;let _0x317657=y(),_0x2ded89,_0x173d02;if(_0x317657)_0x2ded89=_0x317657,_0x173d02=_0x36cfc5(0x1ac);else{let _0xf6a409=se();if(!_0xf6a409)throw new Error(C);_0x2ded89=_0xf6a409[_0x36cfc5(0x1de)],_0x173d02=_0xf6a409[_0x36cfc5(0x1b8)]?_0xf6a409['file']+_0x36cfc5(0x24f):_0xf6a409['file'];}let _0x3114cf=['Source:\x20\x20\x20\x20\x20\x20\x20'+_0x173d02,'Base\x20URL:\x20\x20\x20\x20\x20'+(_0x2ded89[_0x36cfc5(0x22e)]??_0x36cfc5(0x21d)),'Organization:\x20'+(_0x2ded89[_0x36cfc5(0x1a3)]??'unknown\x20slug')+'\x20('+_0x2ded89['organizationId']+')',_0x36cfc5(0x1e0)+(_0x2ded89[_0x36cfc5(0x1ef)]??_0x36cfc5(0x22d))+'\x20('+_0x2ded89[_0x36cfc5(0x1c2)]+')'];if(_0x2ded89[_0x36cfc5(0x1fe)]){let _0x3e3c2f=_0x2ded89[_0x36cfc5(0x1fe)]-Math['floor'](Date[_0x36cfc5(0x19e)]()/0x3e8),_0x16cdce=new Date(_0x2ded89[_0x36cfc5(0x1fe)]*0x3e8)[_0x36cfc5(0x1eb)]();_0x3114cf[_0x36cfc5(0x1e3)](_0x3e3c2f>0x0?_0x36cfc5(0x1bd)+_0x16cdce+_0x36cfc5(0x236)+Math['round'](_0x3e3c2f/0x3c)+'\x20min)':'Token:\x20\x20\x20\x20\x20\x20\x20\x20expired\x20'+_0x16cdce);}process[_0x36cfc5(0x1f2)][_0x36cfc5(0x20f)](_0x3114cf['join']('\x0a')+'\x0a');}var C=_0x22e0fa(0x240);function y(){return process.env.AUTH_TOKEN&&process.env.TENANT_ID&&process.env.ORG_ID?{'accessToken':process.env.AUTH_TOKEN,'tenantId':process.env.TENANT_ID,'organizationId':process.env.ORG_ID,'orgLogicalName':process.env.ORG_SLUG,'tenantName':process.env.TENANT_SLUG,'baseUrl':process.env.UIPATH_BASE_URL}:null;}async function A(){let _0x576bcf=y();if(_0x576bcf)return _0x576bcf;let _0x5df74e=await _0x5e49d4();if(_0x5df74e)return _0x5df74e;throw new Error(C);}async function ae(){const _0x57753c=_0x22e0fa;await new _0x49cee4()['stop']({'force':!0x0}),console[_0x57753c(0x1bc)](_0x57753c(0x205));}var le=_0x22e0fa(0x203);function I(_0x1a4dd6,_0x1f88e7,_0x58b81c){const _0x27a78d=_0x22e0fa;_0x1a4dd6?process[_0x27a78d(0x1a9)]['write'](_0x27a78d(0x1af)+_0x1a4dd6+_0x27a78d(0x21e)+_0x58b81c+'\x0a'):!_0x1f88e7&&!process.env.BACKEND_URL&&process[_0x27a78d(0x1a9)][_0x27a78d(0x20f)](_0x27a78d(0x1f0)+_0x58b81c+'\x0a');}async function ce(_0x448e3d){const _0x402c51=_0x22e0fa;let _0x3fb595=await A(),_0x3522d9=_0x4e42a9(_0x448e3d['env'],_0x3fb595,_0x448e3d[_0x402c51(0x1b6)]);I(_0x448e3d['env'],_0x448e3d[_0x402c51(0x1b6)],_0x3522d9);let _0xad1d31=_0x3522d9+'/v1/config',_0x1186f8={'Authorization':'Bearer\x20'+_0x3fb595[_0x402c51(0x1ad)],'X-UiPath-ConsumingProductId':le};_0x3fb595[_0x402c51(0x1c2)]&&(_0x1186f8[_0x402c51(0x1b4)]=_0x3fb595[_0x402c51(0x1c2)]),_0x3fb595[_0x402c51(0x1fd)]&&(_0x1186f8[_0x402c51(0x1a2)]=_0x3fb595[_0x402c51(0x1fd)]);let _0x528f26=await fetch(_0xad1d31,{'headers':_0x1186f8});if(!_0x528f26['ok'])throw new Error(_0x402c51(0x251)+_0xad1d31+'\x20→\x20'+_0x528f26[_0x402c51(0x1d9)]+'\x20'+_0x528f26[_0x402c51(0x1d2)]);let _0x2a79be=(await _0x528f26[_0x402c51(0x225)]())?.[_0x402c51(0x1b2)],_0x392cf4=Array[_0x402c51(0x233)](_0x2a79be)?_0x2a79be:_0x2a79be&&typeof _0x2a79be==_0x402c51(0x242)?Object[_0x402c51(0x249)](_0x2a79be)['map'](([_0x583e00,_0x12c0a9])=>({'id':_0x583e00,'name':_0x12c0a9})):[];if(_0x392cf4['length']===0x0){process[_0x402c51(0x1a9)][_0x402c51(0x20f)](_0x402c51(0x1d8));return;}process[_0x402c51(0x1f2)]['write'](_0x402c51(0x23b)+_0x392cf4[_0x402c51(0x1d6)]+_0x402c51(0x263));for(let _0x9a42c7 of _0x392cf4){let _0x160720=_0x9a42c7[_0x402c51(0x214)]&&_0x9a42c7['name']!==_0x9a42c7['id']?'\x20('+_0x9a42c7[_0x402c51(0x214)]+')':'';process[_0x402c51(0x1f2)][_0x402c51(0x20f)]('\x20\x20'+_0x9a42c7['id']+_0x160720+'\x0a'),_0x9a42c7[_0x402c51(0x1b1)]&&process['stdout'][_0x402c51(0x20f)](_0x402c51(0x1d5)+_0x9a42c7[_0x402c51(0x1b1)]+'\x0a');}process['stdout'][_0x402c51(0x20f)]('\x0aUse\x20with:\x20delegate-cli\x20--model\x20<id>\x20\x22<prompt>\x22\x0a');}async function de(_0x59202e){const _0x932e4e=_0x22e0fa;let _0x1be27b=await A(),_0x5a7a6a=_0x4e42a9(_0x59202e['env'],_0x1be27b,_0x59202e['backendUrl']);I(_0x59202e[_0x932e4e(0x1b9)],_0x59202e[_0x932e4e(0x1b6)],_0x5a7a6a);let _0x514d77=await _0x5df7fe({'auth':_0x1be27b,'backendUrl':_0x5a7a6a,'interop':_0x59202e[_0x932e4e(0x230)]?'skip':_0x932e4e(0x21c)});for(let _0x306df6 of _0x514d77[_0x932e4e(0x204)])process[_0x932e4e(0x1f2)][_0x932e4e(0x20f)](ue(_0x306df6)+'\x0a');_0x514d77['ok']||process['exit'](0x1);}function ue(_0x1b5e29){const _0x5dcb18=_0x22e0fa;return{'ok':'✓','failed':'✗','skipped':'-'}[_0x1b5e29['status']]+'\x20'+_0x1b5e29[_0x5dcb18(0x214)]['padEnd'](0x8)+_0x1b5e29['detail'];}async function pe(_0x25886b){const _0x1ffcec=_0x22e0fa;_0x25886b['env']===_0x1ffcec(0x1bf)&&(console['error'](_0x1ffcec(0x1df)),process[_0x1ffcec(0x231)](0x2));let _0x5592d4=k(_0x1b6ed9());if(_0x25886b['env']){let _0x14ebe7=_0x25886b['env'];await _0x2fcf2d({'env':_0x14ebe7,'tenant':_0x25886b[_0x1ffcec(0x1e4)]??P(_0x5592d4,_0x496eef[_0x14ebe7])});return;}if(_0x5592d4?.['baseUrl']){await _0x2fcf2d({'baseUrl':_0x5592d4[_0x1ffcec(0x22e)],'tenant':_0x25886b[_0x1ffcec(0x1e4)]??_0x5592d4[_0x1ffcec(0x1ef)]});return;}console[_0x1ffcec(0x239)](_0x1ffcec(0x253)),process[_0x1ffcec(0x231)](0x2);}function _0x4d2c(){const _0x4b1159=['isArray','\x0aStopping…\x20(Ctrl+C\x20again\x20to\x20force\x20exit)\x0a','--headless','\x20(in\x20','Session:\x20','map','error',';\x20the\x20saved\x20login\x20still\x20uses\x20','\x0aAvailable\x20models\x20(','🔧\x20','show','You>\x20','utf-8','No\x20auth\x20found.\x20Set\x20AUTH_TOKEN/TENANT_ID/ORG_ID\x20env\x20vars,\x20or\x20run\x20`delegate-cli\x20login\x20--env\x20<alpha|staging|production>`\x20(interactive\x20browser\x20OAuth)\x20first.','--tenant','object','328278DNQhih','\x22.\x20Use\x20a\x20single\x20folder-safe\x20segment\x20such\x20as\x20invoice-approval\x20(letters,\x20digits,\x20spaces,\x20\x22_\x22,\x20\x22-\x22,\x20\x22.\x22,\x20parentheses;\x20at\x20most\x2064\x20characters;\x20not\x20starting\x20with\x20\x22.\x22\x20or\x20ending\x20with\x20\x22.\x22\x20or\x20a\x20space).','quiet','a\x20session\x20id','lastType','No\x20CLI\x20login\x20to\x20switch:\x20the\x20CLI\x20is\x20authenticating\x20via\x20the\x20Delegate\x20desktop\x20app\x27s\x20','entries',')\x20—\x20saved\x20to\x20','--no-connections','--version','\x20requires\x20','package.json','\x20(Delegate\x20desktop\x20app\x20fallback)','catch','GET\x20','origin','First\x20login\x20requires\x20--env.\x20Usage:\x20delegate-cli\x20login\x20--env\x20<alpha|staging|production>','parse','close','--working-dir','--quiet','concat','prompt','help','--session','response','alpha','Invalid\x20--project:\x20\x22','bundledSkillsPath','low','No\x20CLI\x20login\x20found.\x20Note:\x20the\x20CLI\x20is\x20currently\x20authenticating\x20via\x20the\x20Delegate\x20desktop\x20app\x27s\x20','resolve','):\x0a\x0a','toString','argv',',\x20whose\x20tenant\x20is\x20chosen\x20in\x20the\x20app.\x20Run\x20`delegate-cli\x20login\x20--env\x20<env>`\x20for\x20a\x20CLI\x20login\x20of\x20your\x20own.','whoami','52790pXbTIe','1hiWjDa','now','noSecurity','--preload-skill','.\x20Use\x20','X-Uipath-Organizationid','orgLogicalName','cartographer','\x20(resume\x20with\x20--session\x20','5545464IXiPHD','Unknown\x20flag:\x20','\x20|\x20','stderr','--skills-path','Missing\x20prompt.\x20Pass\x20it\x20as\x20an\x20argument,\x20pipe\x20it\x20via\x20stdin,\x20or\x20run\x20`delegate-cli\x20--help`.','environment\x20variables\x20(AUTH_TOKEN/TENANT_ID/ORG_ID)','accessToken','check','[env=','sessionId','description','MODELS','tool','X-Uipath-Tenantid','noComputerUse','backendUrl','initialize','isDesktopFallback','env','6065109pAGDSS','--tenant\x20applies\x20to\x20`delegate-cli\x20login`\x20only.\x20Switch\x20tenants\x20with:\x20delegate-cli\x20tenant\x20<name>','log','Token:\x20\x20\x20\x20\x20\x20\x20\x20expires\x20','exitCode','localhost','runnerUrl','SIGINT','tenantId','rmSync','\x0a⚠️\x20\x20Auth\x20expired.\x20Opening\x20browser\x20to\x20re-login…\x0a','auth.json','asyncIterator','content','readFileSync','interopPath','Enter\x20sends\x20a\x20message.\x20/exit\x20or\x20EOF\x20exits;\x20Ctrl+C\x20stops\x20and\x20exits.\x0a','data','22392jXrmWl','model','stack','pause','destroy','verbose','statusText','cwd','off','\x20\x20\x20\x20','length','join','No\x20models\x20available\x20for\x20this\x20product/tenant.\x0a','status','projectId','login','noConnections','a\x20directory\x20path','auth','--env\x20localhost\x20has\x20no\x20OAuth\x20flow;\x20pick\x20alpha,\x20staging,\x20or\x20production.','Tenant:\x20\x20\x20\x20\x20\x20\x20','--print','--keep-alive','push','tenant','2353089lyWtOb','cleanup','Invalid\x20--env:\x20','max','.aria','once','toISOString','979bniGyH','--interop','getSessionId','tenantName','[saved\x20login]\x20Backend\x20URL:\x20','workerId','stdout','--runner-url','Removed\x20','a\x20project\x20id','\x20—\x20sign\x20out\x20in\x20the\x20Delegate\x20app\x20to\x20clear\x20that.','--cartographer','tool_call','stdin','print','subcommand','restore','organizationId','expiresAt','staging','isTTY','models','sendMessage','799f56b8-4aed-4a0f-8640-659dae4a9e0e','checks','Interop\x20stopped\x20(if\x20it\x20was\x20running).','--cleanup','startsWith','effort','thinking','Auth\x20comes\x20from\x20AUTH_TOKEN/TENANT_ID/ORG_ID\x20—\x20set\x20TENANT_ID\x20and\x20TENANT_SLUG\x20to\x20change\x20the\x20tenant.','from','--backend','includes','--worker-id','write','preloadSkills','existsSync','type','production','name','775VIfrsa','bind','workingDirectory','\x0adelegate-cli\x20—\x20Delegate\x20agent\x20CLI\x0a\x0aUsage:\x0a\x20\x20delegate-cli\x20[flags]\x20[\x22<prompt>\x22]\x20\x20\x20\x20Start\x20a\x20conversation\x20in\x20a\x20terminal\x0a\x20\x20delegate-cli\x20--print\x20\x22<prompt>\x22\x20\x20\x20\x20\x20\x20Send\x20one\x20prompt,\x20print\x20the\x20response,\x20and\x20exit\x0a\x20\x20delegate-cli\x20[flags]\x20-\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Read\x20one\x20prompt\x20from\x20stdin\x20through\x20EOF,\x20then\x20exit\x0a\x20\x20delegate-cli\x20login\x20[--env\x20NAME]\x20[--tenant\x20NAME]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAuth\x20browser\x20login\x20→\x20~/.aria/sdk-auth.json.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--env\x20required\x20on\x20FIRST\x20login;\x20afterwards\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaults\x20to\x20the\x20saved\x20login\x27s\x20cloud.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--tenant\x20picks\x20a\x20tenant\x20by\x20name;\x20without\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20it\x20a\x20re-login\x20keeps\x20the\x20saved\x20tenant\x0a\x20\x20delegate-cli\x20tenant\x20[NAME]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20the\x20organization\x27s\x20tenants,\x20or\x20switch\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20saved\x20login\x20to\x20NAME\x20(no\x20browser)\x0a\x20\x20delegate-cli\x20logout\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20the\x20saved\x20CLI\x20login\x0a\x20\x20delegate-cli\x20whoami\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20the\x20current\x20login\x20(org,\x20tenant,\x20token\x20expiry)\x0a\x20\x20delegate-cli\x20models\x20[--env\x20NAME]\x20\x20\x20\x20\x20List\x20available\x20LLM\x20models\x20for\x20the\x20current\x20tenant\x0a\x20\x20delegate-cli\x20check\x20[--env\x20NAME]\x20[--headless]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20auth,\x20backend\x20and\x20interop\x20without\x20sending\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a\x20prompt;\x20exits\x201\x20when\x20any\x20check\x20fails\x0a\x20\x20delegate-cli\x20host\x20[flags]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20this\x20PC\x20as\x20a\x20remote\x20worker\x20until\x20Ctrl+C\x0a\x20\x20delegate-cli\x20host\x20install\x20[flags]\x20\x20\x20\x20Auto-start\x20the\x20host\x20at\x20login\x20(macOS\x20LaunchAgent\x20/\x20Windows\x20Scheduled\x20Task)\x0a\x20\x20delegate-cli\x20host\x20uninstall\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20auto-start\x0a\x20\x20delegate-cli\x20host\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20auto-start\x20state\x0a\x20\x20delegate-cli\x20--cleanup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stop\x20running\x20interop\x0a\x0aFlags:\x0a\x20\x20-p,\x20--print\x20\x20\x20\x20\x20\x20\x20Run\x20one\x20turn\x20and\x20exit,\x20including\x20any\x20tool\x20execution.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Automatic\x20when\x20stdin\x20or\x20stdout\x20is\x20not\x20a\x20terminal,\x20or\x20with\x20-\x0a\x20\x20--env\x20NAME\x20\x20\x20\x20\x20\x20\x20\x20alpha\x20|\x20staging\x20|\x20production\x20|\x20localhost\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Composes\x20backend\x20URL\x20from\x20saved\x20auth\x20(org/tenant\x20slugs).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Omitted\x20→\x20the\x20cloud\x20you\x20logged\x20into\x20(delegate-cli\x20login).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localhost\x20→\x20http://localhost:5002.\x20No\x20saved\x20login\x20and\x20no\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--env/--backend/BACKEND_URL\x20is\x20an\x20error\x20—\x20never\x20a\x20guess.\x0a\x20\x20--backend\x20URL\x20\x20\x20\x20\x20Full\x20backend\x20URL\x20—\x20escape\x20hatch\x20overrides\x20--env\x0a\x20\x20--tenant\x20NAME\x20\x20\x20\x20\x20(login)\x20Tenant\x20to\x20sign\x20into,\x20by\x20name\x20(case-insensitive).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20the\x20saved\x20login\x27s\x20tenant\x20on\x20that\x20cloud,\x20else\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20org\x27s\x20first\x20tenant.\x20Later:\x20delegate-cli\x20tenant\x20<name>\x0a\x20\x20--model\x20NAME\x20\x20\x20\x20\x20\x20LLM\x20model\x20id\x20(e.g.\x20claude_sonnet_5,\x20kimi_k3).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20gemini_3_6_flash.\x20Also\x20settable\x20via\x20MODEL\x20env\x20var.\x0a\x20\x20--keep-alive\x20\x20\x20\x20\x20\x20Reuse/leave\x20interop\x20running\x20across\x20invocations\x0a\x20\x20--headless\x20\x20\x20\x20\x20\x20\x20\x20Skip\x20interop\x20(text-only\x20prompts)\x0a\x20\x20--no-computer-use\x20Keep\x20interop\x20—\x20file,\x20Office,\x20PDF\x20and\x20shell\x20tools\x20keep\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20working\x20—\x20but\x20drop\x20the\x20screen:\x20no\x20screenshots,\x20no\x20window\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list,\x20no\x20UI-automation\x20tools.\x20Cuts\x20image\x20tokens\x20and\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20per-turn\x20screen\x20capture,\x20and\x20stops\x20desktop\x20window\x20titles\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20leaving\x20the\x20machine.\x20Use\x20for\x20document\x20and\x20file\x20work.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--headless\x20implies\x20this\x20and\x20turns\x20interop\x20off\x20as\x20well\x0a\x20\x20--no-connections\x20\x20Disable\x20orchestrator\x20ConnectionService\x20(silences\x20404\x20warnings)\x0a\x20\x20--no-security\x20\x20\x20\x20\x20Disable\x20tool\x20security\x20wrapper\x20(use\x20only\x20for\x20debugging)\x0a\x20\x20--preload-skill\x20NAME\x20\x20Preload\x20a\x20skill\x20into\x20the\x20session\x20(repeatable).\x20The\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skill\x27s\x20content\x20is\x20attached\x20before\x20the\x20first\x20model\x20turn\x20—\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20same\x20mechanism\x20as\x20project\x20preloaded\x20skills\x20in\x20the\x20app\x0a\x20\x20--cartographer\x20\x20\x20\x20Cartographer\x20engagement\x20preset.\x20Equivalent\x20to\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--no-computer-use\x20--preload-skill\x20business-analysis\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--preload-skill\x20project-checklist\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--preload-skill\x20knowledge-base.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20--project/--working-dir\x20for\x20where\x20the\x20files\x20live,\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20extra\x20--preload-skill\x20flags\x20for\x20more\x20skills\x20—\x20a\x20skill\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20preset\x20already\x20covers\x20is\x20not\x20preloaded\x20twice.\x20An\x20explicit\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--headless\x20still\x20wins\x20and\x20turns\x20interop\x20off\x0a\x20\x20--project\x20ID\x20\x20\x20\x20\x20\x20Route\x20the\x20session\x27s\x20local\x20wiki\x20and\x20plans\x20to\x20a\x20project\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(<working-dir>/projects/<ID>/wiki).\x20Client-side\x20key\x20only\x0a\x20\x20--working-dir\x20PATH\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Shell\x20cwd\x20for\x20the\x20agent\x20and\x20root\x20for\x20SDK-local\x20state.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Relative\x20paths\x20resolve\x20against\x20the\x20current\x20directory;\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20directory\x20is\x20created\x20if\x20missing\x0a\x20\x20--skills-path\x20PATH\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Extra\x20bundled-skills\x20directory\x20(merged\x20with\x20the\x20installed\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20app\x27s\x20skills\x20and\x20DELEGATE_BUNDLED_SKILLS_PATH)\x0a\x20\x20--effort\x20TIER\x20\x20\x20\x20\x20Reasoning\x20effort:\x20low\x20|\x20medium\x20|\x20high\x20|\x20xhigh\x20|\x20max.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20the\x20model\x27s\x20recommended\x20tier\x0a\x20\x20--session\x20ID\x20\x20\x20\x20\x20\x20Pin\x20the\x20session\x20id\x20(must\x20exist\x20on\x20the\x20backend,\x20or\x20be\x20one\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20first\x20message\x20creates)\x0a\x20\x20--runner-url\x20URL\x20\x20(host)\x20Runner\x20worker\x20WS\x20URL.\x20Required;\x20or\x20CONTROL_PLANE_WS_URL\x20env\x0a\x20\x20--interop\x20PATH\x20\x20\x20\x20(host)\x20Interop\x20binary\x20path;\x20or\x20INTEROP_EXECUTABLE_PATH\x20env.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Absent\x20→\x20registration/discovery\x20only,\x20tool\x20execution\x20disabled\x0a\x20\x20--worker-id\x20ID\x20\x20\x20\x20(host)\x20Stable\x20worker\x20identity;\x20or\x20WORKER_ID\x20env.\x20Default:\x20hostname\x0a\x20\x20-q,\x20--quiet\x20\x20\x20\x20\x20\x20\x20Suppress\x20🤔\x20thinking\x20output\x20to\x20stderr\x0a\x20\x20--verbose\x20\x20\x20\x20\x20\x20\x20\x20\x20Surface\x20the\x20SDK\x27s\x20and\x20the\x20framework\x27s\x20own\x20logs.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Diagnostics\x20only,\x20on\x20stdout;\x20independent\x20of\x20-q\x0a\x20\x20-h,\x20--help\x20\x20\x20\x20\x20\x20\x20\x20Show\x20this\x20help\x0a\x20\x20-v,\x20--version\x20\x20\x20\x20\x20Print\x20the\x20installed\x20CLI\x20version\x0a\x0aConversation:\x20Enter\x20sends\x20a\x20message;\x20/exit\x20or\x20EOF\x20exits;\x20Ctrl+C\x20stops\x20and\x20exits.\x0a\x20\x20An\x20optional\x20initial\x20prompt\x20is\x20followed\x20by\x20more\x20input.\x20The\x20session\x20ID\x20is\x20printed\x0a\x20\x20to\x20stderr;\x20resume\x20later\x20with\x20--session\x20ID.\x20Redirected\x20input\x20is\x20one\x20prompt.\x0aAuth:\x20prompts\x20auto-retry\x20on\x20401\x20by\x20opening\x20the\x20browser\x20to\x20re-login\x20(TTY\x20only),\x0a\x20\x20preserving\x20the\x20active\x20session.\x0a','5721604mydKVx','slice','done','spawn','unknown',']\x20Backend\x20URL:\x20','Tenants\x20of\x20','resume','keepAlive','Switch\x20with:\x20delegate-cli\x20tenant\x20<name>\x0a','version','onEvent','json','8gUTiUD','--no-security','No\x20CLI\x20login\x20found\x20—\x20nothing\x20to\x20remove.','message','hide','.\x20Use\x20alpha\x20|\x20staging\x20|\x20production\x20|\x20localhost.','--model','unknown\x20slug','baseUrl','trim','headless','exit','host'];_0x4d2c=function(){return _0x4b1159;};return _0x4d2c();}function P(_0x19d70c,_0x4f3f5c){const _0x54ddd0=_0x22e0fa;return _0x19d70c?.[_0x54ddd0(0x22e)]&&fe(_0x19d70c['baseUrl'],_0x4f3f5c)?_0x19d70c[_0x54ddd0(0x1ef)]:void 0x0;}function fe(_0xb9aaac,_0x58b645){const _0x29999f=_0x22e0fa;try{return new URL(_0xb9aaac)[_0x29999f(0x252)]===new URL(_0x58b645)[_0x29999f(0x252)];}catch{return!0x1;}}async function he(_0x583672){const _0x3b1b22=_0x22e0fa;y()&&(console[_0x3b1b22(0x239)](_0x3b1b22(0x20a)),process[_0x3b1b22(0x231)](0x2));let _0x362949=await _0x2f49d5();if(_0x362949||(console[_0x3b1b22(0x239)](ge()),process['exit'](0x2)),_0x583672['trim']()){let _0x3502f7=await _0xc8286b(_0x362949,_0x583672);_0x3a2c1a(_0x3502f7)||(console[_0x3b1b22(0x239)]('Tenant\x20not\x20switched:\x20could\x20not\x20write\x20'+_0x1b6ed9()+_0x3b1b22(0x23a)+_0x362949[_0x3b1b22(0x1ef)]+'.'),process['exit'](0x1)),console[_0x3b1b22(0x1bc)]('Tenant:\x20'+_0x3502f7[_0x3b1b22(0x1ef)]+'\x20('+_0x3502f7['tenantId']+_0x3b1b22(0x24a)+_0x1b6ed9());return;}me(await _0x275211(_0x362949),_0x362949);}function ge(){const _0x18146a=_0x22e0fa;if(_0x16f5dc[_0x18146a(0x211)](_0x1b6ed9()))return'The\x20saved\x20CLI\x20login\x20could\x20not\x20be\x20refreshed.\x20Run\x20`delegate-cli\x20login`\x20again.';let _0x48b77d=S();return k(_0x48b77d)?_0x18146a(0x248)+_0x48b77d+_0x18146a(0x19a):'No\x20CLI\x20login\x20found.\x20Run\x20`delegate-cli\x20login\x20--env\x20<alpha|staging|production>`\x20first.';}function me(_0x361221,_0x5f221b){const _0x4d5de2=_0x22e0fa;let _0xb771df=_0x361221[_0x4d5de2(0x238)](_0x573022=>_0x573022['id']===_0x5f221b[_0x4d5de2(0x1c2)]?'*\x20'+_0x573022[_0x4d5de2(0x214)]+'\x20(current)':'\x20\x20'+_0x573022[_0x4d5de2(0x214)]);process[_0x4d5de2(0x1f2)][_0x4d5de2(0x20f)](_0x4d5de2(0x21f)+(_0x5f221b[_0x4d5de2(0x1a3)]??_0x5f221b[_0x4d5de2(0x1fd)])+':\x0a'+_0xb771df[_0x4d5de2(0x1d7)]('\x0a')+'\x0a'),_0x361221[_0x4d5de2(0x1d6)]>0x1&&process['stdout'][_0x4d5de2(0x20f)](_0x4d5de2(0x222));}function ke(_0x5095a5){const _0x918065=_0x22e0fa;return _0x5095a5?.[_0x918065(0x25c)]?.['status']===0x191||/401/['test'](String(_0x5095a5?.[_0x918065(0x229)]??''));}var l={'lastType':null,'quiet':!0x1},_=_0xbb898a=>{const _0x1d0436=_0x22e0fa;switch(_0xbb898a[_0x1d0436(0x212)]){case'session_start':_0xbb898a[_0x1d0436(0x1b0)]&&_0xbb898a['sessionId']!==l[_0x1d0436(0x1b0)]&&(process[_0x1d0436(0x1a9)]['write'](_0x1d0436(0x237)+_0xbb898a[_0x1d0436(0x1b0)]+_0x1d0436(0x1a5)+_0xbb898a[_0x1d0436(0x1b0)]+')\x0a'),l[_0x1d0436(0x1b0)]=_0xbb898a['sessionId']);break;case _0x1d0436(0x209):_0xbb898a[_0x1d0436(0x1c7)]&&!l['quiet']&&(l['lastType']!==_0x1d0436(0x209)&&process['stderr'][_0x1d0436(0x20f)]('\x0a🤔\x20'),process['stderr'][_0x1d0436(0x20f)](_0xbb898a[_0x1d0436(0x1c7)]),l[_0x1d0436(0x247)]=_0x1d0436(0x209));break;case _0x1d0436(0x1f8):l[_0x1d0436(0x247)]!==null&&process['stderr'][_0x1d0436(0x20f)]('\x0a'),process['stderr'][_0x1d0436(0x20f)](_0x1d0436(0x23c)+(_0xbb898a['toolName']??_0x1d0436(0x1b3))+'\x0a'),l[_0x1d0436(0x247)]=_0x1d0436(0x1f8);break;case _0x1d0436(0x229):_0xbb898a[_0x1d0436(0x1c7)]&&(l[_0x1d0436(0x247)]!=='message'&&l[_0x1d0436(0x247)]!==null&&process['stdout'][_0x1d0436(0x20f)]('\x0a'),process[_0x1d0436(0x1f2)][_0x1d0436(0x20f)](_0xbb898a['content']),l['lastType']=_0x1d0436(0x229));break;case'error':l[_0x1d0436(0x247)]!==null&&process[_0x1d0436(0x1a9)]['write']('\x0a'),process[_0x1d0436(0x1a9)][_0x1d0436(0x20f)]('✗\x20'+(_0xbb898a[_0x1d0436(0x239)]??_0x1d0436(0x239))+'\x0a'),l[_0x1d0436(0x247)]=_0x1d0436(0x239);break;case _0x1d0436(0x21b):(l['lastType']===_0x1d0436(0x229)||l[_0x1d0436(0x247)]===_0x1d0436(0x209))&&process[_0x1d0436(0x1f2)][_0x1d0436(0x20f)]('\x0a'),process[_0x1d0436(0x1a9)][_0x1d0436(0x20f)]('✓\x20Done\x0a'),l[_0x1d0436(0x247)]=_0x1d0436(0x21b);break;}};function R(_0x1b1390,_0x17245a,_0x3ac381){const _0x1a21b9=_0x22e0fa;let _0xf3f5dd=_0x1b1390[_0x1a21b9(0x1cd)]||process.env.MODEL;return{'backendUrl':_0x3ac381,'auth':_0x17245a,'enableComputerUse':!_0x1b1390['headless']&&!_0x1b1390['noComputerUse'],'autoSpawnInterop':!_0x1b1390[_0x1a21b9(0x230)],'enableConnections':!_0x1b1390[_0x1a21b9(0x1dc)],'enableSecurity':!_0x1b1390['noSecurity'],'keepInteropAlive':_0x1b1390[_0x1a21b9(0x221)],..._0x1b1390['preloadSkills'][_0x1a21b9(0x1d6)]>0x0?{'preloadSkills':_0x1b1390[_0x1a21b9(0x210)]}:{},..._0xf3f5dd?{'model':_0xf3f5dd}:{},..._0x1b1390['projectId']?{'projectId':_0x1b1390[_0x1a21b9(0x1da)]}:{},..._0x1b1390['workingDirectory']?{'workingDirectory':_0x1b1390[_0x1a21b9(0x217)]}:{},..._0x1b1390['bundledSkillsPath']?{'bundledSkillsPath':_0x1b1390[_0x1a21b9(0x25f)]}:{},..._0x1b1390[_0x1a21b9(0x208)]?{'effort':_0x1b1390[_0x1a21b9(0x208)]}:{},..._0x1b1390[_0x1a21b9(0x1b0)]?{'sessionId':_0x1b1390[_0x1a21b9(0x1b0)]}:{},..._0x1b1390[_0x1a21b9(0x1d1)]?{'verbose':!0x0}:{}};}function _0x2f9d(_0x2b8f6c,_0x5be140){_0x2b8f6c=_0x2b8f6c-0x198;const _0x4d2c78=_0x4d2c();let _0x2f9de5=_0x4d2c78[_0x2b8f6c];return _0x2f9de5;}async function we(_0x1f8d69){const _0x8bba40=_0x22e0fa;let _0x223890=!_0x1f8d69[_0x8bba40(0x1fa)]&&_0x1f8d69[_0x8bba40(0x259)]!=='-'&&!!process[_0x8bba40(0x1f9)]['isTTY']&&!!process[_0x8bba40(0x1f2)][_0x8bba40(0x200)],_0xca8f02=_0x223890?_0x1f8d69[_0x8bba40(0x259)]['trim']():await oe(_0x1f8d69[_0x8bba40(0x259)],process['stdin']);!_0x223890&&!_0xca8f02&&(console[_0x8bba40(0x239)](_0x8bba40(0x1ab)),process['exit'](0x2)),l={'lastType':null,'quiet':_0x1f8d69[_0x8bba40(0x245)]};let _0x574b27=await A(),_0x223bf8=new _0x52685c();_0x223bf8['onEvent'](_);let _0x3ac38e=_0x4e42a9(_0x1f8d69['env'],_0x574b27,_0x1f8d69['backendUrl']);I(_0x1f8d69[_0x8bba40(0x1b9)],_0x1f8d69[_0x8bba40(0x1b6)],_0x3ac38e);let _0x513635=R(_0x1f8d69,_0x574b27,_0x3ac38e),_0x25f710=!0x1,_0x150b0e=!0x1,_0x196bca,_0x3f8cbc=()=>_0x196bca??=_0x223bf8[_0x8bba40(0x1d0)](),_0x1a16a7=()=>{const _0x2808bf=_0x8bba40;_0x150b0e&&process[_0x2808bf(0x231)](0x82),_0x150b0e=!0x0,process[_0x2808bf(0x1a9)][_0x2808bf(0x20f)](_0x2808bf(0x234)),_0x25f710&&_0x3f8cbc()['then'](()=>process[_0x2808bf(0x231)](0x82),_0x1f807e=>{const _0x403720=_0x2808bf;console['error'](_0x1f807e),process[_0x403720(0x231)](0x82);});};process['on'](_0x8bba40(0x1c1),_0x1a16a7);let _0x413612=async _0x316b47=>{const _0x67b522=_0x8bba40;try{await _0x223bf8['sendMessage'](_0x316b47);}catch(_0x47df50){if(_0x150b0e||!ke(_0x47df50)||!process['stdin'][_0x67b522(0x200)]||_0x1f8d69[_0x67b522(0x1b9)]===_0x67b522(0x1bf)||!(_0x1f8d69[_0x67b522(0x1b9)]||_0x574b27[_0x67b522(0x22e)]))throw _0x47df50;process[_0x67b522(0x1a9)]['write'](_0x67b522(0x1c4));let _0xa7730d=_0x223bf8[_0x67b522(0x1ee)]()??_0x1f8d69[_0x67b522(0x1b0)],_0x38a8fc=await _0x2fcf2d(_0x1f8d69[_0x67b522(0x1b9)]?{'env':_0x1f8d69[_0x67b522(0x1b9)],'tenant':P(_0x574b27,_0x496eef[_0x1f8d69[_0x67b522(0x1b9)]])}:{'baseUrl':_0x574b27[_0x67b522(0x22e)],'tenant':_0x574b27[_0x67b522(0x1ef)]});if(_0x150b0e||(_0x25f710=!0x1,await _0x3f8cbc(),_0x150b0e))return;_0x223bf8=new _0x52685c(),_0x196bca=void 0x0,_0x223bf8[_0x67b522(0x224)](_),_0x574b27=_0x38a8fc,await _0x223bf8[_0x67b522(0x1b7)]({...R(_0x1f8d69,_0x574b27,_0x3ac38e),..._0xa7730d?{'sessionId':_0xa7730d}:{}}),_0x25f710=!0x0,_0x150b0e||await _0x223bf8[_0x67b522(0x202)](_0x316b47);}};try{if(await _0x223bf8[_0x8bba40(0x1b7)](_0x513635),_0x25f710=!0x0,_0x150b0e)return;_0x223890?await ve({'prompt':_0xca8f02,'sendMessage':_0x413612,'onSigint':_0x1a16a7}):await _0x413612(_0xca8f02);}catch(_0x464c2d){if(!_0x150b0e)throw _0x464c2d;}finally{try{await _0x3f8cbc();}finally{process[_0x8bba40(0x1d4)](_0x8bba40(0x1c1),_0x1a16a7),_0x150b0e&&(process[_0x8bba40(0x1be)]=0x82);}}}function be(_0x1beeb4,_0x1a73df){const _0xfeecc5=_0x22e0fa;let _0x135081=process['stdout'][_0xfeecc5(0x20f)][_0xfeecc5(0x216)](process[_0xfeecc5(0x1f2)]),_0x1aa568=!0x1;return process[_0xfeecc5(0x1f2)][_0xfeecc5(0x20f)]=(..._0x1b507b)=>{const _0x3bf29c=_0xfeecc5;if(!_0x1aa568)return _0x135081(..._0x1b507b);_0x17b0b8(_0x1a73df,0x0),_0x5a0321(_0x1a73df,0x0);let _0x1a25da=_0x135081(..._0x1b507b);return _0x1beeb4[_0x3bf29c(0x259)](!0x0),_0x1a25da;},{'show':()=>{const _0x4fad00=_0xfeecc5;_0x1aa568=!0x0,_0x1beeb4[_0x4fad00(0x259)]();},'hide':()=>{_0x1aa568=!0x1;},'restore':()=>{_0x1aa568=!0x1,process['stdout']['write']=_0x135081;}};}async function ve({prompt:_0x3a2e00,sendMessage:_0x1443fa,onSigint:_0x1a4162}){const _0x2db771=_0x22e0fa;let _0x2a2f05=_0x334167({'input':process['stdin'],'output':process[_0x2db771(0x1a9)],'terminal':!0x0,'prompt':_0x2db771(0x23e)}),_0x286aa7=be(_0x2a2f05,process[_0x2db771(0x1a9)]),_0x17443e=_0x2a2f05[Symbol[_0x2db771(0x1c6)]](),_0x81050e=!0x1;_0x2a2f05[_0x2db771(0x1ea)](_0x2db771(0x255),()=>{const _0x26d955=_0x2db771;_0x81050e=!0x0,_0x286aa7[_0x26d955(0x22a)]();});let _0x1cd71a=!0x1,_0x37434c=()=>{const _0x623b6f=_0x2db771;_0x1cd71a=!0x0,_0x2a2f05[_0x623b6f(0x255)](),_0x1a4162();};_0x2a2f05['on'](_0x2db771(0x1c1),_0x37434c),process[_0x2db771(0x1a9)][_0x2db771(0x20f)](_0x2db771(0x1ca));try{if(_0x3a2e00&&await _0x1443fa(_0x3a2e00),_0x1cd71a)return;_0x81050e||_0x286aa7[_0x2db771(0x23d)]();for await(let _0x3c408b of _0x17443e){if(_0x286aa7[_0x2db771(0x22a)](),_0x1cd71a)break;let _0x331ae9=_0x3c408b['trim']();if(_0x331ae9==='/exit')break;_0x331ae9&&await _0x1443fa(_0x331ae9),_0x81050e||_0x286aa7[_0x2db771(0x23d)]();}}finally{_0x286aa7[_0x2db771(0x1fc)](),_0x2a2f05['off'](_0x2db771(0x1c1),_0x37434c),_0x2a2f05[_0x2db771(0x255)]();}}async function Se(){const _0x380ea8=_0x22e0fa;let _0x1774fd=Q(process[_0x380ea8(0x199)][_0x380ea8(0x21a)](0x2));if(_0x1774fd[_0x380ea8(0x25a)]){Z();return;}if(_0x1774fd[_0x380ea8(0x223)]){console[_0x380ea8(0x1bc)](ee());return;}if(_0x1774fd[_0x380ea8(0x1fb)]===_0x380ea8(0x1db)){await pe(_0x1774fd);return;}if(_0x1774fd[_0x380ea8(0x1fb)]===_0x380ea8(0x1e4)){await he(_0x1774fd['prompt']);return;}if(_0x1774fd['subcommand']==='logout'){await re();return;}if(_0x1774fd[_0x380ea8(0x1fb)]===_0x380ea8(0x19b)){await ie();return;}if(_0x1774fd['subcommand']===_0x380ea8(0x201)){await ce(_0x1774fd);return;}if(_0x1774fd[_0x380ea8(0x1fb)]==='check'){await de(_0x1774fd);return;}if(_0x1774fd[_0x380ea8(0x1fb)]===_0x380ea8(0x232)){await _0x56a044(_0x1774fd[_0x380ea8(0x259)],{'runnerUrl':_0x1774fd[_0x380ea8(0x1c0)],'backendUrl':_0x1774fd[_0x380ea8(0x1b6)],'interopPath':_0x1774fd[_0x380ea8(0x1c9)],'workerId':_0x1774fd['workerId']});return;}if(_0x1774fd[_0x380ea8(0x1e6)]){await ae();return;}await we(_0x1774fd);}var ye=process.env.NODE_ENV==='test'||!!process.env.JEST_WORKER_ID;ye||Se()[_0x22e0fa(0x250)](_0x1703ab=>{const _0x43c131=_0x22e0fa;console[_0x43c131(0x239)](_0x1703ab[_0x43c131(0x1ce)]||_0x1703ab['message']||_0x1703ab),process[_0x43c131(0x231)](0x1);});export{X as CARTOGRAPHER_SKILLS,N as EFFORT_TIERS,te as IMPLICIT_STDIN_IDLE_MS,R as buildInitOptions,Se as main,Q as parseArgs,ee as readCliVersion,oe as resolvePrompt};
|
|
2
|
+
const _0xc7d112=_0x2e4f;(function(_0x206d2b,_0xcc2f14){const _0x447059=_0x2e4f,_0x447cf9=_0x206d2b();while(!![]){try{const _0x3375d0=parseInt(_0x447059(0x158))/0x1*(-parseInt(_0x447059(0x173))/0x2)+parseInt(_0x447059(0x15b))/0x3*(parseInt(_0x447059(0x185))/0x4)+-parseInt(_0x447059(0x1ef))/0x5+-parseInt(_0x447059(0x198))/0x6+parseInt(_0x447059(0x1a5))/0x7+-parseInt(_0x447059(0x1dd))/0x8+parseInt(_0x447059(0x1e9))/0x9;if(_0x3375d0===_0xcc2f14)break;else _0x447cf9['push'](_0x447cf9['shift']());}catch(_0x4ea26d){_0x447cf9['push'](_0x447cf9['shift']());}}}(_0x1b33,0x19c46));const __dirname=import.meta.dirname;import _0x2e1f22 from'fs';import _0x2972ea from'path';import{clearLine as _0x45b062,createInterface as _0x255e46,cursorTo as _0x54af5e}from'node:readline';import{BUSINESS_ANALYSIS_PRELOADED_SKILLS as _0x15dce4,DelegateAgent as _0x213246,InteropProcess as _0x48286e,describeBaseUrlRejection as _0x36d9df,getAuthFilePath as _0x5bbee6,isCloudBaseUrl as _0x42e0e8,isSafeProjectFolderSegment as _0x432314,listTenants as _0x2f7441,loadAndRefreshAuth as _0x2679de,loadAndRefreshSdkLogin as _0x5bf142,parsePlatformBaseUrl as _0x3394d6,resolveBackendUrl as _0x25bdc2,runHealthCheck as _0x45d6b9,runHostCommand as _0x4761be,runLoginFlow as _0x23ad03,saveAuthData as _0x57a5a2,switchTenant as _0x2b72b5,ENV_TO_CLOUD as _0xe97e72}from'@uipath/delegate-sdk';var ee=[_0xc7d112(0x1be),_0xc7d112(0x200),_0xc7d112(0x216),_0xc7d112(0x1c9),_0xc7d112(0x1c4),'whoami','check'],N=[_0xc7d112(0x162),_0xc7d112(0x15e),_0xc7d112(0x1f9),_0xc7d112(0x1fa),'max'],te=_0x15dce4;function p(_0x19d6f1,_0x440104,_0x59e01e,_0x27d8df){const _0x37ebd3=_0xc7d112;let _0x44722c=_0x19d6f1[_0x440104];return(!_0x44722c||_0x44722c[_0x37ebd3(0x196)]>0x1&&_0x44722c[_0x37ebd3(0x174)]('-'))&&(console[_0x37ebd3(0x1c1)](_0x59e01e+'\x20requires\x20'+_0x27d8df+'.'),process['exit'](0x2)),_0x44722c;}function ne(_0x17601c){const _0x3f07c3=_0xc7d112;let _0x86ac53={'subcommand':'','prompt':'','print':!0x1,'keepAlive':!0x1,'cleanup':!0x1,'headless':!0x1,'noComputerUse':!0x1,'cartographer':!0x1,'noConnections':!0x1,'noSecurity':!0x1,'quiet':!0x1,'verbose':!0x1,'preloadSkills':[],'skipEnvCheck':!0x1,'help':!0x1,'version':!0x1};ee['includes'](_0x17601c[0x0])&&(_0x86ac53[_0x3f07c3(0x178)]=_0x17601c[0x0],_0x17601c=_0x17601c[_0x3f07c3(0x1f7)](0x1));let _0x2fa875=[];for(let _0x1299e1=0x0;_0x1299e1<_0x17601c[_0x3f07c3(0x196)];_0x1299e1++){let _0xce8f2d=_0x17601c[_0x1299e1];switch(_0xce8f2d){case _0x3f07c3(0x16b):case'-p':_0x86ac53['print']=!0x0;break;case'--keep-alive':_0x86ac53[_0x3f07c3(0x16f)]=!0x0;break;case'--cleanup':_0x86ac53[_0x3f07c3(0x1e7)]=!0x0;break;case _0x3f07c3(0x1aa):_0x86ac53[_0x3f07c3(0x1e3)]=!0x0;break;case _0x3f07c3(0x214):_0x86ac53['noComputerUse']=!0x0;break;case _0x3f07c3(0x212):_0x86ac53['cartographer']=!0x0,_0x86ac53[_0x3f07c3(0x1ab)]=!0x0,_0x86ac53[_0x3f07c3(0x19a)][_0x3f07c3(0x1ad)](...te);break;case _0x3f07c3(0x208):_0x86ac53[_0x3f07c3(0x152)]=!0x0;break;case _0x3f07c3(0x17c):_0x86ac53[_0x3f07c3(0x197)]=!0x0;break;case _0x3f07c3(0x1e4):case'-q':_0x86ac53['quiet']=!0x0;break;case'--verbose':_0x86ac53['verbose']=!0x0;break;case'--backend':_0x86ac53['backendUrl']=_0x17601c[++_0x1299e1];break;case _0x3f07c3(0x1b8):_0x86ac53['model']=_0x17601c[++_0x1299e1];break;case _0x3f07c3(0x1a1):_0x86ac53[_0x3f07c3(0x169)]=_0x17601c[++_0x1299e1];break;case'--interop':_0x86ac53[_0x3f07c3(0x217)]=_0x17601c[++_0x1299e1];break;case'--worker-id':_0x86ac53[_0x3f07c3(0x1c3)]=_0x17601c[++_0x1299e1];break;case _0x3f07c3(0x1b5):_0x86ac53['preloadSkills'][_0x3f07c3(0x1ad)](p(_0x17601c,++_0x1299e1,_0xce8f2d,_0x3f07c3(0x202)));break;case _0x3f07c3(0x17b):{let _0x3b8c77=p(_0x17601c,++_0x1299e1,_0xce8f2d,_0x3f07c3(0x159));_0x432314(_0x3b8c77)||(console[_0x3f07c3(0x1c1)](_0x3f07c3(0x154)+_0x3b8c77+_0x3f07c3(0x1db)),process[_0x3f07c3(0x205)](0x2)),_0x86ac53[_0x3f07c3(0x1ff)]=_0x3b8c77;break;}case _0x3f07c3(0x1f4):_0x86ac53['sessionId']=p(_0x17601c,++_0x1299e1,_0xce8f2d,_0x3f07c3(0x1ec));break;case _0x3f07c3(0x1d8):_0x86ac53['workingDirectory']=_0x2972ea['resolve'](process[_0x3f07c3(0x1c5)](),p(_0x17601c,++_0x1299e1,_0xce8f2d,_0x3f07c3(0x1e5)));break;case _0x3f07c3(0x211):_0x86ac53['bundledSkillsPath']=_0x2972ea[_0x3f07c3(0x1ee)](process[_0x3f07c3(0x1c5)](),p(_0x17601c,++_0x1299e1,_0xce8f2d,_0x3f07c3(0x1e5)));break;case'--effort':{let _0xe9ceb3=p(_0x17601c,++_0x1299e1,_0xce8f2d,_0x3f07c3(0x156));N[_0x3f07c3(0x1b7)](_0xe9ceb3)||(console[_0x3f07c3(0x1c1)](_0x3f07c3(0x20d)+_0xe9ceb3+_0x3f07c3(0x1a0)+N[_0x3f07c3(0x188)]('\x20|\x20')+'.'),process[_0x3f07c3(0x205)](0x2)),_0x86ac53[_0x3f07c3(0x177)]=_0xe9ceb3;break;}case _0x3f07c3(0x1ca):{let _0x29e9b1=_0x17601c[++_0x1299e1];(!_0x29e9b1||_0x29e9b1[_0x3f07c3(0x174)]('--'))&&(console[_0x3f07c3(0x1c1)]('--tenant\x20requires\x20a\x20tenant\x20name.'),process[_0x3f07c3(0x205)](0x2)),_0x86ac53['tenant']=_0x29e9b1;break;}case _0x3f07c3(0x1df):{let _0x43dd14=_0x17601c[++_0x1299e1];[_0x3f07c3(0x194),_0x3f07c3(0x184),_0x3f07c3(0x19d),'localhost'][_0x3f07c3(0x1b7)](_0x43dd14)||(console['error']('Invalid\x20--env:\x20'+_0x43dd14+_0x3f07c3(0x1eb)),process['exit'](0x2)),_0x86ac53['env']=_0x43dd14;break;}case _0x3f07c3(0x207):case _0x3f07c3(0x1d3):{let _0x37d7f2=p(_0x17601c,++_0x1299e1,_0xce8f2d,_0x3f07c3(0x1d7)),_0x404f66=_0x3394d6(_0x37d7f2);if(_0x404f66['ok']===!0x1){console[_0x3f07c3(0x1c1)](_0x36d9df(_0x37d7f2,_0x404f66[_0x3f07c3(0x17d)])),process[_0x3f07c3(0x205)](0x2);break;}_0x86ac53['url']=_0x404f66[_0x3f07c3(0x1a7)];break;}case'--skip-env-check':_0x86ac53[_0x3f07c3(0x161)]=!0x0;break;case'-h':case _0x3f07c3(0x16d):_0x86ac53[_0x3f07c3(0x1a6)]=!0x0;break;case'-v':case _0x3f07c3(0x1bc):_0x86ac53[_0x3f07c3(0x1a8)]=!0x0;break;default:_0xce8f2d[_0x3f07c3(0x174)]('--')&&(console[_0x3f07c3(0x1c1)]('Unknown\x20flag:\x20'+_0xce8f2d),process[_0x3f07c3(0x205)](0x2)),_0x2fa875['push'](_0xce8f2d);}}return _0x86ac53[_0x3f07c3(0x200)]!==void 0x0&&_0x86ac53[_0x3f07c3(0x178)]!==_0x3f07c3(0x1be)&&(console[_0x3f07c3(0x1c1)](_0x3f07c3(0x18c)),process[_0x3f07c3(0x205)](0x2)),_0x86ac53['url']!==void 0x0&&_0x86ac53[_0x3f07c3(0x1cf)]!==void 0x0&&(console['error']('Pass\x20either\x20--env\x20(a\x20named\x20cloud)\x20or\x20--url\x20(any\x20other\x20deployment),\x20not\x20both.'),process[_0x3f07c3(0x205)](0x2)),_0x86ac53[_0x3f07c3(0x172)]!==void 0x0&&_0x86ac53[_0x3f07c3(0x178)]!=='login'&&(console[_0x3f07c3(0x1c1)](_0x3f07c3(0x14f)),process[_0x3f07c3(0x205)](0x2)),_0x86ac53[_0x3f07c3(0x161)]&&_0x86ac53['subcommand']!==_0x3f07c3(0x1be)&&(console['error'](_0x3f07c3(0x18d)),process[_0x3f07c3(0x205)](0x2)),_0x86ac53[_0x3f07c3(0x19a)]=[...new Set(_0x86ac53[_0x3f07c3(0x19a)])],_0x86ac53[_0x3f07c3(0x1f3)]=_0x2fa875[_0x3f07c3(0x188)]('\x20'),_0x86ac53;}function oe(){const _0x530469=_0xc7d112;let _0x391181=_0x530469(0x1fe)[_0x530469(0x1ba)]();console[_0x530469(0x1dc)](_0x391181);}function se(){const _0x1e90ad=_0xc7d112;try{return JSON[_0x1e90ad(0x1d0)](_0x2e1f22[_0x1e90ad(0x1e2)](_0x2972ea['join'](__dirname,'..',_0x1e90ad(0x1f1)),_0x1e90ad(0x219)))[_0x1e90ad(0x1a8)]||_0x1e90ad(0x17e);}catch{return'unknown';}}var re=0x7d0;async function C(_0x23c897,_0x3d1a36){const _0x596c4f=_0xc7d112;let _0x536ac5=_0x3d1a36?[_0x3d1a36]:[];for await(let _0x2139e1 of _0x23c897)_0x536ac5['push'](Buffer['from'](_0x2139e1));return Buffer[_0x596c4f(0x1fc)](_0x536ac5)[_0x596c4f(0x163)](_0x596c4f(0x219))[_0x596c4f(0x1ba)]();}function ie(_0xc332db,_0x360a9e){return new Promise(_0xc9a070=>{const _0x5069b2=_0x2e4f;let _0x2d7afa=_0x5aaa88=>{const _0x2d2b5f=_0x2e4f;clearTimeout(_0x2cc57e),_0xc332db[_0x2d2b5f(0x15f)](_0x2d2b5f(0x183),_0x186a6c),_0xc332db[_0x2d2b5f(0x15f)](_0x2d2b5f(0x167),_0x3529de),_0xc332db[_0x2d2b5f(0x15f)](_0x2d2b5f(0x1c1),_0x3529de),_0xc332db['pause'](),_0xc9a070(_0x5aaa88);},_0x186a6c=_0x3657e0=>_0x2d7afa(Buffer[_0x5069b2(0x15d)](_0x3657e0)),_0x3529de=()=>_0x2d7afa(null),_0x2cc57e=setTimeout(()=>_0x2d7afa(null),_0x360a9e);_0xc332db['on'](_0x5069b2(0x183),_0x186a6c),_0xc332db['on'](_0x5069b2(0x167),_0x3529de),_0xc332db['on'](_0x5069b2(0x1c1),_0x3529de),_0xc332db[_0x5069b2(0x1a4)]();});}async function ae(_0x1dfe5b,_0x1a0ea2,_0x1c0e5f=re){let _0x132cb8=_0x1dfe5b==='-';if(!_0x132cb8&&_0x1dfe5b)return _0x1dfe5b;if(!_0x132cb8&&_0x1a0ea2['isTTY'])return'';if(_0x132cb8)return C(_0x1a0ea2,null);let _0x17ad55=await ie(_0x1a0ea2,_0x1c0e5f);return _0x17ad55?C(_0x1a0ea2,_0x17ad55):'';}function S(){const _0x11f630=_0xc7d112;return _0x2972ea[_0x11f630(0x188)](process.env.HOME||process.env.USERPROFILE||'',_0x11f630(0x20a),_0x11f630(0x1e6));}function w(_0x25cbe7){const _0x1d2bc2=_0xc7d112;try{let _0x4502e4=JSON[_0x1d2bc2(0x1d0)](_0x2e1f22['readFileSync'](_0x25cbe7,_0x1d2bc2(0x219)));return!_0x4502e4[_0x1d2bc2(0x209)]||!_0x4502e4[_0x1d2bc2(0x204)]||!_0x4502e4['organizationId']?null:_0x4502e4;}catch{return null;}}function le(){const _0x3a529a=_0xc7d112;let _0x48bba7=[{'file':_0x5bbee6(),'isDesktopFallback':!0x1},{'file':S(),'isDesktopFallback':!0x0}];for(let _0x451fff of _0x48bba7){let _0x17da47=w(_0x451fff[_0x3a529a(0x16a)]);if(_0x17da47)return{..._0x451fff,'auth':_0x17da47};}return null;}async function ce(){const _0x5de396=_0xc7d112;let _0x4488df=_0x5bbee6();if(!_0x2e1f22['existsSync'](_0x4488df)){let _0x360afd=S();console[_0x5de396(0x1dc)](w(_0x360afd)?_0x5de396(0x213)+_0x360afd+'\x20—\x20sign\x20out\x20in\x20the\x20Delegate\x20app\x20to\x20clear\x20that.':_0x5de396(0x176));return;}_0x2e1f22[_0x5de396(0x186)](_0x4488df),console[_0x5de396(0x1dc)](_0x5de396(0x1a3)+_0x4488df);}async function de(){const _0x1c426f=_0xc7d112;let _0x1e6987=A(),_0x1092b8,_0x2ccbd7;if(_0x1e6987)_0x1092b8=_0x1e6987,_0x2ccbd7='environment\x20variables\x20(AUTH_TOKEN/TENANT_ID/ORG_ID)';else{let _0x6bb200=le();if(!_0x6bb200)throw new Error($);_0x1092b8=_0x6bb200['auth'],_0x2ccbd7=_0x6bb200[_0x1c426f(0x18e)]?_0x6bb200[_0x1c426f(0x16a)]+'\x20(Delegate\x20desktop\x20app\x20fallback)':_0x6bb200[_0x1c426f(0x16a)];}let _0x1db542=[_0x1c426f(0x21d)+_0x2ccbd7,_0x1c426f(0x1f5)+(_0x1092b8[_0x1c426f(0x1a7)]??_0x1c426f(0x17e)),_0x1c426f(0x192)+ue(_0x1092b8[_0x1c426f(0x1a7)]),'Organization:\x20'+(_0x1092b8[_0x1c426f(0x181)]??_0x1c426f(0x1d6))+'\x20('+_0x1092b8[_0x1c426f(0x151)]+')','Tenant:\x20\x20\x20\x20\x20\x20\x20'+(_0x1092b8[_0x1c426f(0x210)]??'unknown\x20slug')+'\x20('+_0x1092b8[_0x1c426f(0x204)]+')'];if(_0x1092b8[_0x1c426f(0x201)]){let _0x3a15c8=_0x1092b8[_0x1c426f(0x201)]-Math[_0x1c426f(0x21b)](Date[_0x1c426f(0x1b0)]()/0x3e8),_0x41ac29=new Date(_0x1092b8[_0x1c426f(0x201)]*0x3e8)[_0x1c426f(0x1da)]();_0x1db542[_0x1c426f(0x1ad)](_0x3a15c8>0x0?'Token:\x20\x20\x20\x20\x20\x20\x20\x20expires\x20'+_0x41ac29+_0x1c426f(0x20c)+Math['round'](_0x3a15c8/0x3c)+_0x1c426f(0x199):_0x1c426f(0x19f)+_0x41ac29);}process[_0x1c426f(0x20f)]['write'](_0x1db542[_0x1c426f(0x188)]('\x0a')+'\x0a');}var $='No\x20auth\x20found.\x20Set\x20AUTH_TOKEN/TENANT_ID/ORG_ID\x20env\x20vars,\x20or\x20run\x20`delegate-cli\x20login\x20--env\x20<alpha|staging|production>`\x20(or\x20`--url\x20<deployment-url>`\x20for\x20Automation\x20Suite)\x20first.';function ue(_0x1e86ce){const _0x3c043b=_0xc7d112;return _0x1e86ce?_0x42e0e8(_0x1e86ce)?_0x3c043b(0x21c):_0x3c043b(0x1a2):_0x3c043b(0x17e);}function A(){return process.env.AUTH_TOKEN&&process.env.TENANT_ID&&process.env.ORG_ID?{'accessToken':process.env.AUTH_TOKEN,'tenantId':process.env.TENANT_ID,'organizationId':process.env.ORG_ID,'orgLogicalName':process.env.ORG_SLUG,'tenantName':process.env.TENANT_SLUG,'baseUrl':B()}:null;}function B(){const _0x87e65c=_0xc7d112;let _0x3dc6ce=process.env.UIPATH_BASE_URL;if(!_0x3dc6ce)return;let _0x3f3c46=_0x3394d6(_0x3dc6ce);if(_0x3f3c46['ok']===!0x1)throw new Error(_0x87e65c(0x18b)+_0x36d9df(_0x3dc6ce,_0x3f3c46[_0x87e65c(0x17d)]));return _0x3f3c46[_0x87e65c(0x1a7)];}async function I(){let _0x523a82=A();if(_0x523a82)return _0x523a82;let _0x27c540=await _0x2679de();if(_0x27c540)return _0x27c540;throw new Error($);}async function pe(){const _0x4e6f63=_0xc7d112;await new _0x48286e()[_0x4e6f63(0x1ea)]({'force':!0x0}),console[_0x4e6f63(0x1dc)](_0x4e6f63(0x1cd));}var fe=_0xc7d112(0x157);function E(_0x49c052,_0x5959c7,_0x2db990){const _0x120faf=_0xc7d112;_0x49c052?process[_0x120faf(0x18a)][_0x120faf(0x153)](_0x120faf(0x1b1)+_0x49c052+_0x120faf(0x1d4)+_0x2db990+'\x0a'):!_0x5959c7&&!process.env.BACKEND_URL&&process[_0x120faf(0x18a)][_0x120faf(0x153)](_0x120faf(0x14a)+_0x2db990+'\x0a');}function _0x2e4f(_0x277e49,_0x4725b7){_0x277e49=_0x277e49-0x14a;const _0x1b33c0=_0x1b33();let _0x2e4f9e=_0x1b33c0[_0x277e49];return _0x2e4f9e;}async function he(_0x110681){const _0x5d655d=_0xc7d112;let _0x153bb7=await I(),_0x6f8627=_0x25bdc2(_0x110681[_0x5d655d(0x1cf)],_0x153bb7,_0x110681[_0x5d655d(0x193)]);E(_0x110681[_0x5d655d(0x1cf)],_0x110681[_0x5d655d(0x193)],_0x6f8627);let _0x22e757=_0x6f8627+_0x5d655d(0x1a9),_0x4c35df={'Authorization':_0x5d655d(0x21a)+_0x153bb7[_0x5d655d(0x209)],'X-UiPath-ConsumingProductId':fe};_0x153bb7['tenantId']&&(_0x4c35df['X-Uipath-Tenantid']=_0x153bb7[_0x5d655d(0x204)]),_0x153bb7[_0x5d655d(0x151)]&&(_0x4c35df['X-Uipath-Organizationid']=_0x153bb7[_0x5d655d(0x151)]);let _0x47fe49=await fetch(_0x22e757,{'headers':_0x4c35df});if(!_0x47fe49['ok'])throw new Error(_0x5d655d(0x17f)+_0x22e757+_0x5d655d(0x1c0)+_0x47fe49[_0x5d655d(0x1e1)]+'\x20'+_0x47fe49[_0x5d655d(0x1d2)]);let _0x58e5fc=(await _0x47fe49['json']())?.[_0x5d655d(0x150)],_0x416f71=Array['isArray'](_0x58e5fc)?_0x58e5fc:_0x58e5fc&&typeof _0x58e5fc==_0x5d655d(0x164)?Object[_0x5d655d(0x1ac)](_0x58e5fc)[_0x5d655d(0x175)](([_0x1d55e8,_0x221b32])=>({'id':_0x1d55e8,'name':_0x221b32})):[];if(_0x416f71[_0x5d655d(0x196)]===0x0){process['stderr'][_0x5d655d(0x153)]('No\x20models\x20available\x20for\x20this\x20product/tenant.\x0a');return;}process[_0x5d655d(0x20f)][_0x5d655d(0x153)]('\x0aAvailable\x20models\x20('+_0x416f71[_0x5d655d(0x196)]+_0x5d655d(0x1af));for(let _0x30bc0 of _0x416f71){let _0x22d1c2=_0x30bc0[_0x5d655d(0x1fb)]&&_0x30bc0['name']!==_0x30bc0['id']?'\x20('+_0x30bc0[_0x5d655d(0x1fb)]+')':'';process[_0x5d655d(0x20f)]['write']('\x20\x20'+_0x30bc0['id']+_0x22d1c2+'\x0a'),_0x30bc0[_0x5d655d(0x189)]&&process['stdout'][_0x5d655d(0x153)](_0x5d655d(0x180)+_0x30bc0['description']+'\x0a');}process['stdout']['write'](_0x5d655d(0x1c2));}async function ge(_0xe5ec8b){const _0x454bac=_0xc7d112;let _0x5de8ef=await I(),_0x5df6cb=_0x25bdc2(_0xe5ec8b[_0x454bac(0x1cf)],_0x5de8ef,_0xe5ec8b[_0x454bac(0x193)]);E(_0xe5ec8b[_0x454bac(0x1cf)],_0xe5ec8b[_0x454bac(0x193)],_0x5df6cb);let _0x3b62c8=await _0x45d6b9({'auth':_0x5de8ef,'backendUrl':_0x5df6cb,'interop':_0xe5ec8b[_0x454bac(0x1e3)]?_0x454bac(0x20b):_0x454bac(0x1f6)});for(let _0xd80c4a of _0x3b62c8['checks'])process[_0x454bac(0x20f)]['write'](me(_0xd80c4a)+'\x0a');_0x3b62c8['ok']||process[_0x454bac(0x205)](0x1);}function _0x1b33(){const _0x290183=['--env','done','status','readFileSync','headless','--quiet','a\x20directory\x20path','auth.json','cleanup','🔧\x20','4223493totStc','stop','.\x20Use\x20alpha\x20|\x20staging\x20|\x20production\x20|\x20localhost.','a\x20session\x20id','SIGINT','resolve','640470WnaamW','No\x20CLI\x20login\x20found.\x20Run\x20`delegate-cli\x20login\x20--env\x20<alpha|staging|production>`\x20first.','package.json','close','prompt','--session','Base\x20URL:\x20\x20\x20\x20\x20','spawn','slice','\x20(current)','high','xhigh','name','concat','Tenants\x20of\x20','\x0adelegate-cli\x20—\x20Delegate\x20agent\x20CLI\x0a\x0aUsage:\x0a\x20\x20delegate-cli\x20[flags]\x20[\x22<prompt>\x22]\x20\x20\x20\x20Start\x20a\x20conversation\x20in\x20a\x20terminal\x0a\x20\x20delegate-cli\x20--print\x20\x22<prompt>\x22\x20\x20\x20\x20\x20\x20Send\x20one\x20prompt,\x20print\x20the\x20response,\x20and\x20exit\x0a\x20\x20delegate-cli\x20[flags]\x20-\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Read\x20one\x20prompt\x20from\x20stdin\x20through\x20EOF,\x20then\x20exit\x0a\x20\x20delegate-cli\x20login\x20[--env\x20NAME\x20|\x20--url\x20BASE]\x20[--tenant\x20NAME]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAuth\x20browser\x20login\x20→\x20~/.aria/sdk-auth.json.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--env\x20or\x20--url\x20required\x20on\x20FIRST\x20login;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20afterwards\x20defaults\x20to\x20the\x20saved\x20login\x27s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20deployment.\x20--tenant\x20picks\x20a\x20tenant\x20by\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name;\x20without\x20it\x20a\x20re-login\x20keeps\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20saved\x20tenant\x0a\x20\x20delegate-cli\x20tenant\x20[NAME]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20the\x20organization\x27s\x20tenants,\x20or\x20switch\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20saved\x20login\x20to\x20NAME\x20(no\x20browser)\x0a\x20\x20delegate-cli\x20logout\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20the\x20saved\x20CLI\x20login\x0a\x20\x20delegate-cli\x20whoami\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20the\x20current\x20login\x20(org,\x20tenant,\x20token\x20expiry)\x0a\x20\x20delegate-cli\x20models\x20[--env\x20NAME]\x20\x20\x20\x20\x20List\x20available\x20LLM\x20models\x20for\x20the\x20current\x20tenant\x0a\x20\x20delegate-cli\x20check\x20[--env\x20NAME]\x20[--headless]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20auth,\x20backend\x20and\x20interop\x20without\x20sending\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a\x20prompt;\x20exits\x201\x20when\x20any\x20check\x20fails\x0a\x20\x20delegate-cli\x20host\x20[flags]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20this\x20PC\x20as\x20a\x20remote\x20worker\x20until\x20Ctrl+C\x0a\x20\x20delegate-cli\x20host\x20install\x20[flags]\x20\x20\x20\x20Auto-start\x20the\x20host\x20at\x20login\x20(macOS\x20LaunchAgent\x20/\x20Windows\x20Scheduled\x20Task)\x0a\x20\x20delegate-cli\x20host\x20uninstall\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20auto-start\x0a\x20\x20delegate-cli\x20host\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20auto-start\x20state\x0a\x20\x20delegate-cli\x20--cleanup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stop\x20running\x20interop\x0a\x0aFlags:\x0a\x20\x20-p,\x20--print\x20\x20\x20\x20\x20\x20\x20Run\x20one\x20turn\x20and\x20exit,\x20including\x20any\x20tool\x20execution.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Automatic\x20when\x20stdin\x20or\x20stdout\x20is\x20not\x20a\x20terminal,\x20or\x20with\x20-\x0a\x20\x20--env\x20NAME\x20\x20\x20\x20\x20\x20\x20\x20alpha\x20|\x20staging\x20|\x20production\x20|\x20localhost\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Composes\x20backend\x20URL\x20from\x20saved\x20auth\x20(org/tenant\x20slugs).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Omitted\x20→\x20the\x20deployment\x20you\x20logged\x20into\x20(delegate-cli\x20login).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localhost\x20→\x20http://localhost:5002.\x20No\x20saved\x20login\x20and\x20no\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--env/--backend/BACKEND_URL\x20is\x20an\x20error\x20—\x20never\x20a\x20guess.\x0a\x20\x20--url\x20BASE\x20\x20\x20\x20\x20\x20\x20\x20(login)\x20Base\x20URL\x20of\x20a\x20deployment\x20that\x20is\x20not\x20a\x20named\x20cloud\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20—\x20Automation\x20Suite,\x20Dedicated,\x20Public\x20Sector.\x20Accepts\x20a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tenant\x20path\x20or\x20a\x20trailing\x20/identity_\x20and\x20reduces\x20it\x20to\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20origin.\x20Mutually\x20exclusive\x20with\x20--env;\x20also\x20settable\x20via\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UIPATH_BASE_URL.\x20Alias:\x20--authority.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Automation\x20Suite\x20needs\x2026.10+\x20with\x20the\x20Delegate\x20service;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20the\x20deployment\x20rejects\x20the\x20built-in\x20client,\x20register\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20your\x20own\x20—\x20see\x20UIPATH_CLIENT_ID\x20in\x20the\x20README\x0a\x20\x20--skip-env-check\x20\x20(login)\x20Do\x20not\x20check\x20the\x20deployment\x20before\x20signing\x20in.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Escape\x20hatch\x20for\x20a\x20deployment\x20that\x20hides\x20its\x20OIDC\x20discovery\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20document\x20or\x20serves\x20Identity\x20from\x20another\x20origin;\x20it\x20also\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gives\x20up\x20the\x20diagnosis\x20when\x20something\x20is\x20really\x20wrong\x0a\x20\x20--backend\x20URL\x20\x20\x20\x20\x20Full\x20backend\x20URL\x20—\x20escape\x20hatch\x20overrides\x20--env\x0a\x20\x20--tenant\x20NAME\x20\x20\x20\x20\x20(login)\x20Tenant\x20to\x20sign\x20into,\x20by\x20name\x20(case-insensitive).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20the\x20saved\x20login\x27s\x20tenant\x20on\x20that\x20cloud,\x20else\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20org\x27s\x20first\x20tenant.\x20Later:\x20delegate-cli\x20tenant\x20<name>\x0a\x20\x20--model\x20NAME\x20\x20\x20\x20\x20\x20LLM\x20model\x20id\x20(e.g.\x20claude_sonnet_5,\x20kimi_k3).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20gemini_3_6_flash.\x20Also\x20settable\x20via\x20MODEL\x20env\x20var.\x0a\x20\x20--keep-alive\x20\x20\x20\x20\x20\x20Reuse/leave\x20interop\x20running\x20across\x20invocations\x0a\x20\x20--headless\x20\x20\x20\x20\x20\x20\x20\x20Skip\x20interop\x20(text-only\x20prompts)\x0a\x20\x20--no-computer-use\x20Keep\x20interop\x20—\x20file,\x20Office,\x20PDF\x20and\x20shell\x20tools\x20keep\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20working\x20—\x20but\x20drop\x20the\x20screen:\x20no\x20screenshots,\x20no\x20window\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20list,\x20no\x20UI-automation\x20tools.\x20Cuts\x20image\x20tokens\x20and\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20per-turn\x20screen\x20capture,\x20and\x20stops\x20desktop\x20window\x20titles\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20leaving\x20the\x20machine.\x20Use\x20for\x20document\x20and\x20file\x20work.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--headless\x20implies\x20this\x20and\x20turns\x20interop\x20off\x20as\x20well\x0a\x20\x20--no-connections\x20\x20Disable\x20orchestrator\x20ConnectionService\x20(silences\x20404\x20warnings)\x0a\x20\x20--no-security\x20\x20\x20\x20\x20Disable\x20tool\x20security\x20wrapper\x20(use\x20only\x20for\x20debugging)\x0a\x20\x20--preload-skill\x20NAME\x20\x20Preload\x20a\x20skill\x20into\x20the\x20session\x20(repeatable).\x20The\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skill\x27s\x20content\x20is\x20attached\x20before\x20the\x20first\x20model\x20turn\x20—\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20same\x20mechanism\x20as\x20project\x20preloaded\x20skills\x20in\x20the\x20app\x0a\x20\x20--cartographer\x20\x20\x20\x20Cartographer\x20engagement\x20preset.\x20Equivalent\x20to\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--no-computer-use\x20--preload-skill\x20business-analysis\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--preload-skill\x20project-checklist\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--preload-skill\x20knowledge-base.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20--project/--working-dir\x20for\x20where\x20the\x20files\x20live,\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20extra\x20--preload-skill\x20flags\x20for\x20more\x20skills\x20—\x20a\x20skill\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20preset\x20already\x20covers\x20is\x20not\x20preloaded\x20twice.\x20An\x20explicit\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--headless\x20still\x20wins\x20and\x20turns\x20interop\x20off\x0a\x20\x20--project\x20ID\x20\x20\x20\x20\x20\x20Route\x20the\x20session\x27s\x20local\x20wiki\x20and\x20plans\x20to\x20a\x20project\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(<working-dir>/projects/<ID>/wiki).\x20Client-side\x20key\x20only\x0a\x20\x20--working-dir\x20PATH\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Shell\x20cwd\x20for\x20the\x20agent\x20and\x20root\x20for\x20SDK-local\x20state.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Relative\x20paths\x20resolve\x20against\x20the\x20current\x20directory;\x20the\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20directory\x20is\x20created\x20if\x20missing\x0a\x20\x20--skills-path\x20PATH\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Extra\x20bundled-skills\x20directory\x20(merged\x20with\x20the\x20installed\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20app\x27s\x20skills\x20and\x20DELEGATE_BUNDLED_SKILLS_PATH)\x0a\x20\x20--effort\x20TIER\x20\x20\x20\x20\x20Reasoning\x20effort:\x20low\x20|\x20medium\x20|\x20high\x20|\x20xhigh\x20|\x20max.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default:\x20the\x20model\x27s\x20recommended\x20tier\x0a\x20\x20--session\x20ID\x20\x20\x20\x20\x20\x20Pin\x20the\x20session\x20id\x20(must\x20exist\x20on\x20the\x20backend,\x20or\x20be\x20one\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20the\x20first\x20message\x20creates)\x0a\x20\x20--runner-url\x20URL\x20\x20(host)\x20Runner\x20worker\x20WS\x20URL.\x20Required;\x20or\x20CONTROL_PLANE_WS_URL\x20env\x0a\x20\x20--interop\x20PATH\x20\x20\x20\x20(host)\x20Interop\x20binary\x20path;\x20or\x20INTEROP_EXECUTABLE_PATH\x20env.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Absent\x20→\x20registration/discovery\x20only,\x20tool\x20execution\x20disabled\x0a\x20\x20--worker-id\x20ID\x20\x20\x20\x20(host)\x20Stable\x20worker\x20identity;\x20or\x20WORKER_ID\x20env.\x20Default:\x20hostname\x0a\x20\x20-q,\x20--quiet\x20\x20\x20\x20\x20\x20\x20Suppress\x20🤔\x20thinking\x20output\x20to\x20stderr\x0a\x20\x20--verbose\x20\x20\x20\x20\x20\x20\x20\x20\x20Surface\x20the\x20SDK\x27s\x20and\x20the\x20framework\x27s\x20own\x20logs.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Diagnostics\x20only,\x20on\x20stdout;\x20independent\x20of\x20-q\x0a\x20\x20-h,\x20--help\x20\x20\x20\x20\x20\x20\x20\x20Show\x20this\x20help\x0a\x20\x20-v,\x20--version\x20\x20\x20\x20\x20Print\x20the\x20installed\x20CLI\x20version\x0a\x0aConversation:\x20Enter\x20sends\x20a\x20message;\x20/exit\x20or\x20EOF\x20exits;\x20Ctrl+C\x20stops\x20and\x20exits.\x0a\x20\x20An\x20optional\x20initial\x20prompt\x20is\x20followed\x20by\x20more\x20input.\x20The\x20session\x20ID\x20is\x20printed\x0a\x20\x20to\x20stderr;\x20resume\x20later\x20with\x20--session\x20ID.\x20Redirected\x20input\x20is\x20one\x20prompt.\x0aAuth:\x20prompts\x20auto-retry\x20on\x20401\x20by\x20opening\x20the\x20browser\x20to\x20re-login\x20(TTY\x20only),\x0a\x20\x20preserving\x20the\x20active\x20session.\x0a','projectId','tenant','expiresAt','a\x20skill\x20name','\x0a🤔\x20','tenantId','exit','message','--url','--no-connections','accessToken','.aria','skip','\x20(in\x20','Invalid\x20--effort:\x20','Auth\x20comes\x20from\x20AUTH_TOKEN/TENANT_ID/ORG_ID\x20—\x20set\x20TENANT_ID\x20and\x20TENANT_SLUG\x20to\x20change\x20the\x20tenant.','stdout','tenantName','--skills-path','--cartographer','No\x20CLI\x20login\x20found.\x20Note:\x20the\x20CLI\x20is\x20currently\x20authenticating\x20via\x20the\x20Delegate\x20desktop\x20app\x27s\x20','--no-computer-use','lastType','models','interopPath','content','utf-8','Bearer\x20','floor','UiPath\x20Cloud','Source:\x20\x20\x20\x20\x20\x20\x20','[saved\x20login]\x20Backend\x20URL:\x20','sessionId','tool_call','padEnd','hide','--url\x20applies\x20to\x20`delegate-cli\x20login`\x20only.\x20Other\x20commands\x20follow\x20the\x20saved\x20login,\x20or\x20--backend\x20<url>.','MODELS','organizationId','noConnections','write','Invalid\x20--project:\x20\x22','detail','an\x20effort\x20tier','799f56b8-4aed-4a0f-8640-659dae4a9e0e','258IoqSYa','a\x20project\x20id','show','2589pWtZCE','localhost','from','medium','off','catch','skipEnvCheck','low','toString','object','once','restore','end','verbose','runnerUrl','file','--print','\x0a⚠️\x20\x20Auth\x20expired.\x20Opening\x20browser\x20to\x20re-login…\x0a','--help','\x20(resume\x20with\x20--session\x20','keepAlive','No\x20CLI\x20login\x20to\x20switch:\x20the\x20CLI\x20is\x20authenticating\x20via\x20the\x20Delegate\x20desktop\x20app\x27s\x20','exitCode','url','1188lnXKgJ','startsWith','map','No\x20CLI\x20login\x20found\x20—\x20nothing\x20to\x20remove.','effort','subcommand','thinking','Tenant:\x20','--project','--no-security','rejection','unknown','GET\x20','\x20\x20\x20\x20','orgLogicalName','print','data','staging','28ZpknUU','rmSync','stdin','join','description','stderr','UIPATH_BASE_URL\x20is\x20unusable.\x20','--tenant\x20applies\x20to\x20`delegate-cli\x20login`\x20only.\x20Switch\x20tenants\x20with:\x20delegate-cli\x20tenant\x20<name>','--skip-env-check\x20applies\x20to\x20`delegate-cli\x20login`\x20only.','isDesktopFallback','origin','workingDirectory','bundledSkillsPath','Deployment:\x20\x20\x20','backendUrl','alpha','quiet','length','noSecurity','1029354iVhvsk','\x20min)','preloadSkills','\x0aStopping…\x20(Ctrl+C\x20again\x20to\x20force\x20exit)\x0a','First\x20login\x20requires\x20--env\x20or\x20--url.\x20Usage:\x20delegate-cli\x20login\x20--env\x20<alpha|staging|production>,\x20or\x20delegate-cli\x20login\x20--url\x20https://automationsuite.contoso.com','production','sendMessage','Token:\x20\x20\x20\x20\x20\x20\x20\x20expired\x20','.\x20Use\x20','--runner-url','self-hosted\x20(Automation\x20Suite\x20/\x20Dedicated)','Removed\x20','resume','1404907jHwjZm','help','baseUrl','version','/v1/config','--headless','noComputerUse','entries','push','initialize','):\x0a\x0a','now','[env=','isTTY','model','/exit','--preload-skill','response','includes','--model','--env\x20localhost\x20has\x20no\x20OAuth\x20flow;\x20pick\x20alpha,\x20staging,\x20or\x20production.','trim','Switch\x20with:\x20delegate-cli\x20tenant\x20<name>\x0a','--version','stack','login','Missing\x20prompt.\x20Pass\x20it\x20as\x20an\x20argument,\x20pipe\x20it\x20via\x20stdin,\x20or\x20run\x20`delegate-cli\x20--help`.','\x20→\x20','error','\x0aUse\x20with:\x20delegate-cli\x20--model\x20<id>\x20\x22<prompt>\x22\x0a','workerId','logout','cwd','Enter\x20sends\x20a\x20message.\x20/exit\x20or\x20EOF\x20exits;\x20Ctrl+C\x20stops\x20and\x20exits.\x0a','You>\x20','onEvent','host','--tenant','then',',\x20whose\x20tenant\x20is\x20chosen\x20in\x20the\x20app.\x20Run\x20`delegate-cli\x20login\x20--env\x20<env>`\x20for\x20a\x20CLI\x20login\x20of\x20your\x20own.','Interop\x20stopped\x20(if\x20it\x20was\x20running).','test','env','parse','Tenant\x20not\x20switched:\x20could\x20not\x20write\x20','statusText','--authority',']\x20Backend\x20URL:\x20','argv','unknown\x20slug','a\x20deployment\x20URL,\x20e.g.\x20https://automationsuite.contoso.com','--working-dir','whoami','toISOString','\x22.\x20Use\x20a\x20single\x20folder-safe\x20segment\x20such\x20as\x20invoice-approval\x20(letters,\x20digits,\x20spaces,\x20\x22_\x22,\x20\x22-\x22,\x20\x22.\x22,\x20parentheses;\x20at\x20most\x2064\x20characters;\x20not\x20starting\x20with\x20\x22.\x22\x20or\x20ending\x20with\x20\x22.\x22\x20or\x20a\x20space).','log','940576vmifMv','✓\x20Done\x0a'];_0x1b33=function(){return _0x290183;};return _0x1b33();}function me(_0x1255e5){const _0x3e212b=_0xc7d112;return{'ok':'✓','failed':'✗','skipped':'-'}[_0x1255e5[_0x3e212b(0x1e1)]]+'\x20'+_0x1255e5[_0x3e212b(0x1fb)][_0x3e212b(0x14d)](0x8)+_0x1255e5[_0x3e212b(0x155)];}async function ke(_0x9aa35f){const _0x2d2ac3=_0xc7d112;_0x9aa35f[_0x2d2ac3(0x1cf)]===_0x2d2ac3(0x15c)&&(console[_0x2d2ac3(0x1c1)](_0x2d2ac3(0x1b9)),process[_0x2d2ac3(0x205)](0x2));let _0x3577ff=w(_0x5bbee6()),_0x41275e=_0x9aa35f[_0x2d2ac3(0x161)];if(_0x9aa35f[_0x2d2ac3(0x1cf)]){let _0x51df9f=_0x9aa35f[_0x2d2ac3(0x1cf)];await _0x23ad03({'env':_0x51df9f,'tenant':_0x9aa35f[_0x2d2ac3(0x200)]??b(_0x3577ff,_0xe97e72[_0x51df9f]),'skipEnvCheck':_0x41275e});return;}let _0x176088=_0x9aa35f[_0x2d2ac3(0x172)]??B();if(_0x176088){await _0x23ad03({'baseUrl':_0x176088,'tenant':_0x9aa35f[_0x2d2ac3(0x200)]??b(_0x3577ff,_0x176088),'skipEnvCheck':_0x41275e});return;}if(_0x3577ff?.[_0x2d2ac3(0x1a7)]){await _0x23ad03({'baseUrl':_0x3577ff['baseUrl'],'tenant':_0x9aa35f['tenant']??_0x3577ff['tenantName'],'skipEnvCheck':_0x41275e});return;}console[_0x2d2ac3(0x1c1)](_0x2d2ac3(0x19c)),process[_0x2d2ac3(0x205)](0x2);}function b(_0x2bd0ba,_0x4c8382){const _0x344382=_0xc7d112;return _0x2bd0ba?.[_0x344382(0x1a7)]&&we(_0x2bd0ba[_0x344382(0x1a7)],_0x4c8382)?_0x2bd0ba[_0x344382(0x210)]:void 0x0;}function we(_0x246c8b,_0x52036d){const _0xf63d04=_0xc7d112;try{return new URL(_0x246c8b)[_0xf63d04(0x18f)]===new URL(_0x52036d)['origin'];}catch{return!0x1;}}async function ve(_0x1271a3){const _0x432c7f=_0xc7d112;A()&&(console[_0x432c7f(0x1c1)](_0x432c7f(0x20e)),process[_0x432c7f(0x205)](0x2));let _0x5e5fdc=await _0x5bf142();if(_0x5e5fdc||(console[_0x432c7f(0x1c1)](be()),process[_0x432c7f(0x205)](0x2)),_0x1271a3['trim']()){let _0x52a74d=await _0x2b72b5(_0x5e5fdc,_0x1271a3);_0x57a5a2(_0x52a74d)||(console[_0x432c7f(0x1c1)](_0x432c7f(0x1d1)+_0x5bbee6()+';\x20the\x20saved\x20login\x20still\x20uses\x20'+_0x5e5fdc[_0x432c7f(0x210)]+'.'),process[_0x432c7f(0x205)](0x1)),console[_0x432c7f(0x1dc)](_0x432c7f(0x17a)+_0x52a74d[_0x432c7f(0x210)]+'\x20('+_0x52a74d['tenantId']+')\x20—\x20saved\x20to\x20'+_0x5bbee6());return;}ye(await _0x2f7441(_0x5e5fdc),_0x5e5fdc);}function be(){const _0x12e3f=_0xc7d112;if(_0x2e1f22['existsSync'](_0x5bbee6()))return'The\x20saved\x20CLI\x20login\x20could\x20not\x20be\x20refreshed.\x20Run\x20`delegate-cli\x20login`\x20again.';let _0x4b4bfe=S();return w(_0x4b4bfe)?_0x12e3f(0x170)+_0x4b4bfe+_0x12e3f(0x1cc):_0x12e3f(0x1f0);}function ye(_0x5b1d72,_0x21ea22){const _0x34e698=_0xc7d112;let _0x39835d=_0x5b1d72[_0x34e698(0x175)](_0x343de9=>_0x343de9['id']===_0x21ea22[_0x34e698(0x204)]?'*\x20'+_0x343de9[_0x34e698(0x1fb)]+_0x34e698(0x1f8):'\x20\x20'+_0x343de9[_0x34e698(0x1fb)]);process[_0x34e698(0x20f)][_0x34e698(0x153)](_0x34e698(0x1fd)+(_0x21ea22[_0x34e698(0x181)]??_0x21ea22['organizationId'])+':\x0a'+_0x39835d[_0x34e698(0x188)]('\x0a')+'\x0a'),_0x5b1d72[_0x34e698(0x196)]>0x1&&process['stdout']['write'](_0x34e698(0x1bb));}function Se(_0x56ba7c){const _0x2199b9=_0xc7d112;return _0x56ba7c?.[_0x2199b9(0x1b6)]?.['status']===0x191||/401/[_0x2199b9(0x1ce)](String(_0x56ba7c?.['message']??''));}var l={'lastType':null,'quiet':!0x1},_=_0x2ebd64=>{const _0xc71cab=_0xc7d112;switch(_0x2ebd64['type']){case'session_start':_0x2ebd64[_0xc71cab(0x14b)]&&_0x2ebd64[_0xc71cab(0x14b)]!==l[_0xc71cab(0x14b)]&&(process[_0xc71cab(0x18a)][_0xc71cab(0x153)]('Session:\x20'+_0x2ebd64['sessionId']+_0xc71cab(0x16e)+_0x2ebd64[_0xc71cab(0x14b)]+')\x0a'),l[_0xc71cab(0x14b)]=_0x2ebd64['sessionId']);break;case _0xc71cab(0x179):_0x2ebd64[_0xc71cab(0x218)]&&!l['quiet']&&(l[_0xc71cab(0x215)]!=='thinking'&&process['stderr'][_0xc71cab(0x153)](_0xc71cab(0x203)),process[_0xc71cab(0x18a)][_0xc71cab(0x153)](_0x2ebd64[_0xc71cab(0x218)]),l[_0xc71cab(0x215)]=_0xc71cab(0x179));break;case _0xc71cab(0x14c):l[_0xc71cab(0x215)]!==null&&process['stderr']['write']('\x0a'),process[_0xc71cab(0x18a)]['write'](_0xc71cab(0x1e8)+(_0x2ebd64['toolName']??'tool')+'\x0a'),l[_0xc71cab(0x215)]=_0xc71cab(0x14c);break;case _0xc71cab(0x206):_0x2ebd64[_0xc71cab(0x218)]&&(l[_0xc71cab(0x215)]!==_0xc71cab(0x206)&&l[_0xc71cab(0x215)]!==null&&process[_0xc71cab(0x20f)]['write']('\x0a'),process[_0xc71cab(0x20f)][_0xc71cab(0x153)](_0x2ebd64['content']),l['lastType']=_0xc71cab(0x206));break;case _0xc71cab(0x1c1):l[_0xc71cab(0x215)]!==null&&process[_0xc71cab(0x18a)][_0xc71cab(0x153)]('\x0a'),process[_0xc71cab(0x18a)][_0xc71cab(0x153)]('✗\x20'+(_0x2ebd64[_0xc71cab(0x1c1)]??_0xc71cab(0x1c1))+'\x0a'),l[_0xc71cab(0x215)]=_0xc71cab(0x1c1);break;case _0xc71cab(0x1e0):(l[_0xc71cab(0x215)]===_0xc71cab(0x206)||l['lastType']===_0xc71cab(0x179))&&process[_0xc71cab(0x20f)][_0xc71cab(0x153)]('\x0a'),process[_0xc71cab(0x18a)][_0xc71cab(0x153)](_0xc71cab(0x1de)),l[_0xc71cab(0x215)]='done';break;}};function R(_0x62a62a,_0x4147d5,_0x16a7e9){const _0x1ad41d=_0xc7d112;let _0x25b71b=_0x62a62a[_0x1ad41d(0x1b3)]||process.env.MODEL;return{'backendUrl':_0x16a7e9,'auth':_0x4147d5,'enableComputerUse':!_0x62a62a[_0x1ad41d(0x1e3)]&&!_0x62a62a[_0x1ad41d(0x1ab)],'autoSpawnInterop':!_0x62a62a['headless'],'enableConnections':!_0x62a62a[_0x1ad41d(0x152)],'enableSecurity':!_0x62a62a[_0x1ad41d(0x197)],'keepInteropAlive':_0x62a62a['keepAlive'],..._0x62a62a[_0x1ad41d(0x19a)][_0x1ad41d(0x196)]>0x0?{'preloadSkills':_0x62a62a[_0x1ad41d(0x19a)]}:{},..._0x25b71b?{'model':_0x25b71b}:{},..._0x62a62a[_0x1ad41d(0x1ff)]?{'projectId':_0x62a62a[_0x1ad41d(0x1ff)]}:{},..._0x62a62a[_0x1ad41d(0x190)]?{'workingDirectory':_0x62a62a[_0x1ad41d(0x190)]}:{},..._0x62a62a[_0x1ad41d(0x191)]?{'bundledSkillsPath':_0x62a62a[_0x1ad41d(0x191)]}:{},..._0x62a62a[_0x1ad41d(0x177)]?{'effort':_0x62a62a['effort']}:{},..._0x62a62a[_0x1ad41d(0x14b)]?{'sessionId':_0x62a62a[_0x1ad41d(0x14b)]}:{},..._0x62a62a[_0x1ad41d(0x168)]?{'verbose':!0x0}:{}};}async function Ae(_0x76b218){const _0x2efa9c=_0xc7d112;let _0x1bb3a9=!_0x76b218[_0x2efa9c(0x182)]&&_0x76b218[_0x2efa9c(0x1f3)]!=='-'&&!!process[_0x2efa9c(0x187)][_0x2efa9c(0x1b2)]&&!!process[_0x2efa9c(0x20f)][_0x2efa9c(0x1b2)],_0x768ae7=_0x1bb3a9?_0x76b218[_0x2efa9c(0x1f3)][_0x2efa9c(0x1ba)]():await ae(_0x76b218[_0x2efa9c(0x1f3)],process['stdin']);!_0x1bb3a9&&!_0x768ae7&&(console[_0x2efa9c(0x1c1)](_0x2efa9c(0x1bf)),process['exit'](0x2)),l={'lastType':null,'quiet':_0x76b218[_0x2efa9c(0x195)]};let _0x233781=await I(),_0x5684fb=new _0x213246();_0x5684fb['onEvent'](_);let _0x31a298=_0x25bdc2(_0x76b218[_0x2efa9c(0x1cf)],_0x233781,_0x76b218[_0x2efa9c(0x193)]);E(_0x76b218['env'],_0x76b218[_0x2efa9c(0x193)],_0x31a298);let _0x54fe68=R(_0x76b218,_0x233781,_0x31a298),_0x26c508=!0x1,_0x495702=!0x1,_0x5c687a,_0x2b339f=()=>_0x5c687a??=_0x5684fb['destroy'](),_0x4f9a3c=()=>{const _0x25d676=_0x2efa9c;_0x495702&&process['exit'](0x82),_0x495702=!0x0,process[_0x25d676(0x18a)][_0x25d676(0x153)](_0x25d676(0x19b)),_0x26c508&&_0x2b339f()[_0x25d676(0x1cb)](()=>process[_0x25d676(0x205)](0x82),_0x3968b4=>{const _0x550445=_0x25d676;console[_0x550445(0x1c1)](_0x3968b4),process[_0x550445(0x205)](0x82);});};process['on'](_0x2efa9c(0x1ed),_0x4f9a3c);let _0x4f943f=async _0xcc944d=>{const _0x4c65fd=_0x2efa9c;try{await _0x5684fb[_0x4c65fd(0x19e)](_0xcc944d);}catch(_0xb5c574){if(_0x495702||!Se(_0xb5c574)||!process[_0x4c65fd(0x187)][_0x4c65fd(0x1b2)]||_0x76b218[_0x4c65fd(0x1cf)]===_0x4c65fd(0x15c)||!(_0x76b218[_0x4c65fd(0x1cf)]||_0x233781[_0x4c65fd(0x1a7)]))throw _0xb5c574;process[_0x4c65fd(0x18a)][_0x4c65fd(0x153)](_0x4c65fd(0x16c));let _0xc757af=_0x5684fb['getSessionId']()??_0x76b218[_0x4c65fd(0x14b)],_0x28b4ea=await _0x23ad03(_0x76b218[_0x4c65fd(0x1cf)]?{'env':_0x76b218[_0x4c65fd(0x1cf)],'tenant':b(_0x233781,_0xe97e72[_0x76b218['env']]),'skipEnvCheck':!0x0}:{'baseUrl':_0x233781[_0x4c65fd(0x1a7)],'tenant':_0x233781[_0x4c65fd(0x210)],'skipEnvCheck':!0x0});if(_0x495702||(_0x26c508=!0x1,await _0x2b339f(),_0x495702))return;_0x5684fb=new _0x213246(),_0x5c687a=void 0x0,_0x5684fb[_0x4c65fd(0x1c8)](_),_0x233781=_0x28b4ea,await _0x5684fb[_0x4c65fd(0x1ae)]({...R(_0x76b218,_0x233781,_0x31a298),..._0xc757af?{'sessionId':_0xc757af}:{}}),_0x26c508=!0x0,_0x495702||await _0x5684fb[_0x4c65fd(0x19e)](_0xcc944d);}};try{if(await _0x5684fb[_0x2efa9c(0x1ae)](_0x54fe68),_0x26c508=!0x0,_0x495702)return;_0x1bb3a9?await Ee({'prompt':_0x768ae7,'sendMessage':_0x4f943f,'onSigint':_0x4f9a3c}):await _0x4f943f(_0x768ae7);}catch(_0x3631b2){if(!_0x495702)throw _0x3631b2;}finally{try{await _0x2b339f();}finally{process['off'](_0x2efa9c(0x1ed),_0x4f9a3c),_0x495702&&(process[_0x2efa9c(0x171)]=0x82);}}}function Ie(_0x127db6,_0x26260c){const _0x17e051=_0xc7d112;let _0x60a420=process['stdout'][_0x17e051(0x153)]['bind'](process[_0x17e051(0x20f)]),_0x51e90d=!0x1;return process[_0x17e051(0x20f)][_0x17e051(0x153)]=(..._0x4d56de)=>{const _0x46e230=_0x17e051;if(!_0x51e90d)return _0x60a420(..._0x4d56de);_0x54af5e(_0x26260c,0x0),_0x45b062(_0x26260c,0x0);let _0x5f5434=_0x60a420(..._0x4d56de);return _0x127db6[_0x46e230(0x1f3)](!0x0),_0x5f5434;},{'show':()=>{const _0x37771a=_0x17e051;_0x51e90d=!0x0,_0x127db6[_0x37771a(0x1f3)]();},'hide':()=>{_0x51e90d=!0x1;},'restore':()=>{const _0x649008=_0x17e051;_0x51e90d=!0x1,process[_0x649008(0x20f)]['write']=_0x60a420;}};}async function Ee({prompt:_0xa69f6,sendMessage:_0x2ee2c1,onSigint:_0x43ac62}){const _0x56d21d=_0xc7d112;let _0x59434e=_0x255e46({'input':process[_0x56d21d(0x187)],'output':process[_0x56d21d(0x18a)],'terminal':!0x0,'prompt':_0x56d21d(0x1c7)}),_0x29d02b=Ie(_0x59434e,process['stderr']),_0xe8539b=_0x59434e[Symbol['asyncIterator']](),_0x144e8b=!0x1;_0x59434e[_0x56d21d(0x165)](_0x56d21d(0x1f2),()=>{const _0x418958=_0x56d21d;_0x144e8b=!0x0,_0x29d02b[_0x418958(0x14e)]();});let _0xf2ad4c=!0x1,_0xe5fb79=()=>{_0xf2ad4c=!0x0,_0x59434e['close'](),_0x43ac62();};_0x59434e['on']('SIGINT',_0xe5fb79),process[_0x56d21d(0x18a)]['write'](_0x56d21d(0x1c6));try{if(_0xa69f6&&await _0x2ee2c1(_0xa69f6),_0xf2ad4c)return;_0x144e8b||_0x29d02b[_0x56d21d(0x15a)]();for await(let _0x213a2e of _0xe8539b){if(_0x29d02b['hide'](),_0xf2ad4c)break;let _0x5252c7=_0x213a2e[_0x56d21d(0x1ba)]();if(_0x5252c7===_0x56d21d(0x1b4))break;_0x5252c7&&await _0x2ee2c1(_0x5252c7),_0x144e8b||_0x29d02b[_0x56d21d(0x15a)]();}}finally{_0x29d02b[_0x56d21d(0x166)](),_0x59434e[_0x56d21d(0x15f)](_0x56d21d(0x1ed),_0xe5fb79),_0x59434e['close']();}}async function Te(){const _0x26e92e=_0xc7d112;let _0x10c5ce=ne(process[_0x26e92e(0x1d5)][_0x26e92e(0x1f7)](0x2));if(_0x10c5ce[_0x26e92e(0x1a6)]){oe();return;}if(_0x10c5ce[_0x26e92e(0x1a8)]){console[_0x26e92e(0x1dc)](se());return;}if(_0x10c5ce[_0x26e92e(0x178)]==='login'){await ke(_0x10c5ce);return;}if(_0x10c5ce[_0x26e92e(0x178)]===_0x26e92e(0x200)){await ve(_0x10c5ce[_0x26e92e(0x1f3)]);return;}if(_0x10c5ce[_0x26e92e(0x178)]===_0x26e92e(0x1c4)){await ce();return;}if(_0x10c5ce[_0x26e92e(0x178)]===_0x26e92e(0x1d9)){await de();return;}if(_0x10c5ce[_0x26e92e(0x178)]===_0x26e92e(0x216)){await he(_0x10c5ce);return;}if(_0x10c5ce[_0x26e92e(0x178)]==='check'){await ge(_0x10c5ce);return;}if(_0x10c5ce[_0x26e92e(0x178)]===_0x26e92e(0x1c9)){await _0x4761be(_0x10c5ce[_0x26e92e(0x1f3)],{'runnerUrl':_0x10c5ce[_0x26e92e(0x169)],'backendUrl':_0x10c5ce[_0x26e92e(0x193)],'interopPath':_0x10c5ce[_0x26e92e(0x217)],'workerId':_0x10c5ce['workerId']});return;}if(_0x10c5ce[_0x26e92e(0x1e7)]){await pe();return;}await Ae(_0x10c5ce);}var Ue=process.env.NODE_ENV===_0xc7d112(0x1ce)||!!process.env.JEST_WORKER_ID;Ue||Te()[_0xc7d112(0x160)](_0xe6fe83=>{const _0x16c930=_0xc7d112;console[_0x16c930(0x1c1)](_0xe6fe83[_0x16c930(0x1bd)]||_0xe6fe83[_0x16c930(0x206)]||_0xe6fe83),process[_0x16c930(0x205)](0x1);});export{te as CARTOGRAPHER_SKILLS,N as EFFORT_TIERS,re as IMPLICIT_STDIN_IDLE_MS,R as buildInitOptions,Te as main,ne as parseArgs,se as readCliVersion,ae as resolvePrompt};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/delegate-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.203.0-preview.20260924122926",
|
|
4
4
|
"description": "UiPath Delegate CLI - drive the Delegate agent from the terminal. Wraps @uipath/delegate-sdk; installing this package pulls the SDK in — no separate install.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"publish:npmjs": "npm publish --@uipath:registry=https://registry.npmjs.org/ --access public --ignore-scripts"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@uipath/delegate-sdk": "0.
|
|
25
|
+
"@uipath/delegate-sdk": "1.203.0-preview.20260924122926"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.0.0",
|