@uipath/integrationservice-tool 1.203.0-preview.205 → 1.204.0-preview.206

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 CHANGED
@@ -69,9 +69,10 @@ uip is connections ping 73ca047b-24dd-4789-a37e-e7afb67654cd
69
69
  uip is connections delete 73ca047b-24dd-4789-a37e-e7afb67654cd
70
70
  uip is connections create uipath-doist-todoist
71
71
  uip is connections create uipath-zoho-desk --no-browser
72
- uip is connections create uipath-zoho-desk --no-browser --no-wait
72
+ # Ask for the pending authorization explicitly (no browser, no polling)
73
+ uip is connections create uipath-zoho-desk --no-wait
73
74
  uip is connections edit 73ca047b-24dd-4789-a37e-e7afb67654cd
74
- uip is connections edit 73ca047b-24dd-4789-a37e-e7afb67654cd --no-browser --no-wait
75
+ uip is connections edit 73ca047b-24dd-4789-a37e-e7afb67654cd --no-wait
75
76
  ```
76
77
 
77
78
  **Available Options:**
@@ -80,7 +81,7 @@ uip is connections edit 73ca047b-24dd-4789-a37e-e7afb67654cd --no-browser --no-w
80
81
  - `--output <format>` - Output format: table, json, yaml, plain (default: table)
81
82
  - `--refresh` - Force re-fetch from API, ignoring cache (for list command only)
82
83
  - `--no-browser` - Don't auto-open browser (for create/edit commands only)
83
- - `--no-wait` - Return pending authorization details without polling (for create/edit commands only)
84
+ - `--no-wait` - Return pending authorization details without opening a browser or polling (for create/edit commands only)
84
85
 
85
86
  **Connection States:**
86
87
 
@@ -98,9 +99,19 @@ When listing connections, the output includes a `State` field. Only `Enabled` co
98
99
  3. Polls session status every 5 seconds
99
100
  4. Shows connection details on success
100
101
 
101
- For headless scripts, pass `--no-browser --no-wait` to return a structured
102
+ Steps 2-4 need someone at the terminal to finish the browser flow. When the
103
+ caller is not interactive — CI, a piped run, an agent driving the CLI inside a
104
+ browser host — `create` and `edit` skip the wait and return a structured
102
105
  `ConnectionAuthorizationPending` result with the authorization URL and session
103
- details instead of polling the browser-based OAuth flow.
106
+ details. Open that URL, then confirm with `uip is connections list --refresh`
107
+ or `uip is connections ping <connection-id>`. `--no-wait` asks for the same
108
+ result explicitly, and `uip --interactive` waits even when nothing looks
109
+ interactive.
110
+
111
+ If the browser refuses to open — a popup blocked because there is no recent
112
+ user action to attribute it to, which is every CLI run inside an embedded
113
+ browser host — the authorization URL is printed instead of being waited on
114
+ silently.
104
115
 
105
116
  **Connection Ping:**
106
117
 
@@ -131,7 +142,7 @@ uip is connections edit <connection-id> --no-browser
131
142
  uip is connections edit 73ca047b-24dd-4789-a37e-e7afb67654cd
132
143
  ```
133
144
 
134
- The edit flow is similar to create — it opens a browser for OAuth authentication and polls until complete.
145
+ The edit flow is the same as create, including the authorization handoff: it opens a browser and polls only when someone is at the terminal, and otherwise returns `ConnectionAuthorizationPending` with the re-authorization URL. See the create-flow notes under [Connections](#connections) above.
135
146
 
136
147
  ---
137
148
 
@@ -488,8 +499,11 @@ All commands require authentication via `uip login`:
488
499
  uip login
489
500
 
490
501
  # Login to specific environment
491
- uip login --url https://alpha.uipath.com
492
- uip login --url https://cloud.uipath.com
502
+ uip login --authority https://alpha.uipath.com
503
+ uip login --authority https://cloud.uipath.com
504
+
505
+ # Use a named login profile
506
+ uip is connectors list --profile acme
493
507
  ```
494
508
 
495
509
  The tool automatically uses the access token from your login session.
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  Command,
4
4
  metadata,
5
5
  registerCommands
6
- } from "./tool-33pmrjc4.js";
6
+ } from "./tool-bze85yyx.js";
7
7
  import"./tool-1de529jm.js";
8
8
 
9
9
  // src/index.ts