@uipath/flow-tool 1.0.4 → 1.195.0

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
@@ -25,7 +25,7 @@ uip maestro flow validate <flowFile>
25
25
  Pack a Flow project into a NuGet package (`.nupkg`).
26
26
 
27
27
  ```bash
28
- uip maestro flow pack <projectPath> <outputPath> [-n <name>] [-v <version>]
28
+ uip maestro flow pack <project-path> <output-path> [-n <name>] [-v <version>]
29
29
  ```
30
30
 
31
31
  ### Known Issues
@@ -42,10 +42,12 @@ uip maestro flow pack <projectPath> <outputPath> [-n <name>] [-v <version>]
42
42
 
43
43
  #### `flow process list`
44
44
 
45
- List available Flow processes.
45
+ List available Flow processes in a folder. Provide either `--folder-key`
46
+ (GUID) or `--folder-path` (e.g. `Shared/Invoices`).
46
47
 
47
48
  ```bash
48
- uip maestro flow process list
49
+ uip maestro flow process list --folder-key "<folder-key>"
50
+ uip maestro flow process list --folder-path "Shared/Invoices"
49
51
  ```
50
52
 
51
53
  #### `flow process get`
@@ -53,10 +55,10 @@ uip maestro flow process list
53
55
  Get Flow process schema and details.
54
56
 
55
57
  ```bash
56
- uip maestro flow process get "<process-key>" "<feed-id>"
58
+ uip maestro flow process get "<process-key>" "<feed-id>" --folder-key "<folder-key>"
57
59
 
58
60
  # Example
59
- uip maestro flow process get "MyFlow.flow.Flow:1.0.0" "6d98ceb8-becb-46ec-80d7-df213fbec06c"
61
+ uip maestro flow process get "MyFlow.flow.Flow:1.0.0" "6d98ceb8-becb-46ec-80d7-df213fbec06c" --folder-key "c3d4e5f6-0000-0000-0000-000000000001"
60
62
  ```
61
63
 
62
64
  #### `flow process run`
@@ -79,7 +81,6 @@ uip maestro flow process run "<process-key>" "<folder-key>" [options]
79
81
  - `-i, --inputs <json>` - Input parameters as JSON string or @file.json
80
82
  - `-t, --tenant <name>` - Tenant name (defaults to authenticated tenant)
81
83
  - `--release-key <key>` - Release key (GUID, from list command)
82
- - `--folder-id <id>` - Folder ID (from list command)
83
84
  - `--feed-id <id>` - Feed ID for package lookup (optional)
84
85
  - `--robot-ids <ids>` - Comma-separated robot IDs (optional)
85
86
  - `--validate` - Validate inputs against project schema before running
@@ -90,20 +91,17 @@ uip maestro flow process run "<process-key>" "<folder-key>" [options]
90
91
  # Run with JSON inputs
91
92
  uip maestro flow process run "TestFlow.flow.Flow:1.0.0" "folder-guid-here" \
92
93
  --release-key "release-guid" \
93
- --folder-id "2553016" \
94
94
  --inputs '{"name": "John", "age": 30}'
95
95
 
96
96
  # Run with inputs from file
97
97
  uip maestro flow process run "TestFlow.flow.Flow:1.0.0" "folder-guid-here" \
98
98
  --release-key "release-guid" \
99
- --folder-id "2553016" \
100
99
  --inputs @inputs.json
101
100
 
102
101
  # Run with piped inputs
103
102
  echo '{"name": "John", "age": 30}' | \
104
103
  uip maestro flow process run "TestFlow.flow.Flow:1.0.0" "folder-guid-here" \
105
- --release-key "release-guid" \
106
- --folder-id "2553016"
104
+ --release-key "release-guid"
107
105
  ```
108
106
 
109
107
  ### Flow Job Commands
@@ -128,35 +126,34 @@ uip maestro flow job traces "06478292-f9cf-4234-9d1b-03f4bcd95fed"
128
126
  Get detailed status of a Flow job.
129
127
 
130
128
  ```bash
131
- uip maestro flow job status "<job-key>" --folder-id "<id>" [options]
129
+ uip maestro flow job status "<job-key>" --folder-key "<key>" [options]
132
130
 
133
131
  # Options:
134
132
  # --detailed - Show full response with all fields
135
133
 
136
134
  # Example
137
- uip maestro flow job status "06478292-f9cf-4234-9d1b-03f4bcd95fed" --folder-id "2553016"
135
+ uip maestro flow job status "06478292-f9cf-4234-9d1b-03f4bcd95fed" --folder-key "c3d4e5f6-0000-0000-0000-000000000001"
138
136
  ```
139
137
 
140
138
  ## Complete Workflow
141
139
 
142
140
  ```bash
143
141
  # 1. List available processes
144
- uip maestro flow process list
142
+ uip maestro flow process list --folder-key "folder-key"
145
143
 
146
144
  # 2. Get process schema (to see required inputs)
147
- uip maestro flow process get "MyFlow.flow.Flow:1.0.0" "feed-id-from-list"
145
+ uip maestro flow process get "MyFlow.flow.Flow:1.0.0" "feed-id-from-list" --folder-key "folder-key"
148
146
 
149
147
  # 3. Run the process
150
148
  JOB_KEY=$(uip maestro flow process run "MyFlow.flow.Flow:1.0.0" "folder-key" \
151
149
  --release-key "release-key" \
152
- --folder-id "2553016" \
153
- --inputs '{}' 2>/dev/null)
150
+ --inputs '{}')
154
151
 
155
152
  # 4. Watch execution traces
156
153
  uip maestro flow job traces "$JOB_KEY"
157
154
 
158
155
  # 5. Check final status
159
- uip maestro flow job status "$JOB_KEY" --folder-id "2553016"
156
+ uip maestro flow job status "$JOB_KEY" --folder-key "folder-key"
160
157
  ```
161
158
 
162
159
  ## Output
@@ -181,7 +178,7 @@ uip maestro flow job status "$JOB_KEY" --folder-id "2553016"
181
178
  | `flow registry pull` | Fetch and cache all available nodes from the Flow registry |
182
179
  | `flow registry list` | List all locally cached nodes |
183
180
  | `flow registry search [keyword]` | Find nodes by keyword and/or structured filters |
184
- | `flow registry get <nodeType>` | Get full node schema; auto-enriches connector nodes with input/output fields |
181
+ | `flow registry get <node-type>` | Get full node schema; auto-enriches connector nodes with input/output fields |
185
182
 
186
183
  ---
187
184
 
package/dist/init.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Public `@uipath/flow-tool/init` entry: programmatic Flow scaffolding for SDK
3
+ * consumers, without the CLI side effects of `tool.ts`. Mirrors `./validation`.
4
+ */
5
+ export type { FlowInitOptions, FlowInitResult, FlowProjectRegistration, } from "./services/flow-init-service.js";
6
+ export { flowInitAsync } from "./services/flow-init-service.js";