@uipath/skills 1.207.0-preview.2114 → 1.207.0-preview.2137

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/skills",
3
- "version": "1.207.0-preview.2114",
3
+ "version": "1.207.0-preview.2137",
4
4
  "description": "UiPath agent skills for Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, UiPath Autopilot, Kiro, Windsurf, Antigravity and Devin — RPA, UI automation, UI testing, coded agents/apps/workflows, and troubleshooting. Distributed as the UiPath Claude Code plugin.",
5
5
  "author": {
6
6
  "name": "UiPath"
@@ -237,9 +237,9 @@ ONE checklist. Settle every item before the Phase 2 Step 5 review and re-walk it
237
237
  1. **Other-path trigger source** — every modeled path's entry shape matches its trigger source ([case-product-guide.md](case-product-guide.md) § Secondary-lane entry shapes); interrupting flags set on the stage AND on every entry row; terminal `exit-only` vs returning `return-to-origin` chosen; a warning-only escalation stays a notification; an SLA response needing case work carries ONE `sla-status-change` entry row per SLA, with declared target + titles — one trigger per WHEN cell, never `OR`-joined; never duplicate a global-event entry or exit across primary stages.
238
238
  2. **Reachability walk** — every stage reachable from a trigger or SLA source: walk entries forward, and walk every conditional entry's FALSE branch too. A stage that does not enter never completes, so a downstream stage keying solely off its completion is unreachable on that branch — when a rule SKIPS a stage and the case continues, the bypass is an explicit extra entry row on the downstream stage (its own condition, negated); when the rule ENDS the case, that branch needs a terminal lane. Never write that a skipped stage "auto-completes" or "counts as complete" — that is an assertion, not a route, and the path stays dead. Every primary stage's completion consumed downstream, referenced by another entry, or feeding a lane; ≥ 1 primary stage `Required: Yes`; `adhoc` never a stage entry. Decision-reachable lanes and duplicate-entry ambiguity per § Secondary-lane entry shapes.
239
239
  3. **Entry producer** — every non-start entry names its concrete producer (source stage/task, connector event, paired `wait-for-user` exit, declared SLA reference); at-risk rows name the escalation, breach rows the SLA alone.
240
- 4. **Decision-routing closure** — every decision outcome routes somewhere: no dead-end status values; an outcome targeting a lane keys that lane's entry; every routing button's variable+value is consumed downstream or a declared terminal; a fully-orphaned decision variable on a decision task is blocking.
240
+ 4. **Decision-routing closure** — every decision outcome routes somewhere: no dead-end status values; an outcome targeting a lane keys that lane's entry AND has its own guarded exit row on the deciding stage — a lane keyed on `selected-stage-exited` of a stage that never exits on that value never enters ([case-product-guide.md](case-product-guide.md) § Repairing a `user-selected-stage` lane, Decision-routed edit 2); every `Marks Stage Complete: No` exit has a consumer: a lane entry or a case-exit row keyed on that stage and value; every routing button's variable+value is consumed downstream or a declared terminal; a fully-orphaned decision variable on a decision task is blocking.
241
241
  5. **Gate reads the producer** — no condition whose WHEN names a task reads a case variable that task writes (§ Gate on the producer).
242
- 6. **Data closure** — every configure/decide output lands in a variable or direct reference; every send/connector/agent required input maps to variables/literals/upstream outputs as far as knowable without schemas (rest resolves at build); thresholded policy in executable cells (§ Expressions).
242
+ 6. **Data closure** — every configure/decide output lands in a variable or direct reference; every `vars.<name>` a condition reads is spelled exactly as the Case Variables row or upstream output that produces it — a reference under any other name has no producer; every send/connector/agent required input maps to variables/literals/upstream outputs as far as knowable without schemas (rest resolves at build); thresholded policy in executable cells (§ Expressions).
243
243
  7. **Task-surface classification** — human-performed required work `action`, optional user-launched `adhoc`; no compliance trigger phrase paired with a non-`action` type without explicit user reconciliation ([case-product-guide.md](case-product-guide.md) § Task-type override priority).
244
244
  8. **Required-task presence** — a `required-tasks-completed` completion over a stage with zero `Required: Yes` tasks fails validate: `Stage exit rule '<name>' has no task(s) marked as required`; offer marking the terminal task required.
245
245
  9. **Resources** — intended names concrete everywhere (`Resolved Resource`, Action App title, `Child Case` — never `<UNRESOLVED>`); identities per § Resources and Identities, unresolved only with a paired high review item; when a live contract is in memory: required inputs bound, extract fields exist verbatim, declared action-app fields ⊆ app schema.
@@ -172,7 +172,7 @@ Diagnose first; the two repairs are opposites.
172
172
  | Entry is automatic from a decision, event, or SLA | The picker rule itself | Decision-routed |
173
173
  | Nothing either way | Assume person-launched — re-keying on an unstated fact invents a business rule | Person-launched |
174
174
 
175
- **Person-launched.** Give every eligible upstream primary stage a completing `required-tasks-completed` / `wait-for-user` / `Marks Stage Complete: Yes` exit ("any active case" means every primary stage). This REPLACES that stage's existing `required-tasks-completed | exit-only | Yes` row — never a second completion row, never a `Marks Stage Complete: No` row. Add no event, SLA, or decision trigger.
175
+ **Person-launched.** Give every eligible upstream primary stage a completing exit row `| required-tasks-completed | — | wait-for-user | Yes |` (WHEN, IF, Exit Type, Marks Stage Complete — `wait-for-user` is the Exit Type, never a WHEN) ("any active case" means every primary stage). This REPLACES that stage's existing `required-tasks-completed | exit-only | Yes` row — never a second completion row, never a `Marks Stage Complete: No` row. Add no event, SLA, or decision trigger.
176
176
 
177
177
  **Decision-routed.** All four edits, or the branch dual-fires or deadlocks:
178
178
 
@@ -26,6 +26,8 @@ Before work, check `.claude/rules/project-context.md` in the project directory.
26
26
 
27
27
  Before creating/modifying anything, resolve the project using [environment-setup.md § Step 0.1](references/environment-setup.md#step-01-establish-project-root). Find `project.json` to establish `{projectRoot}`; no Studio Desktop check is needed for the standard loop. `uip rpa` auto-launches a headless Studio (UiPath.Studio.Helm NuGet) on first call. Studio Desktop is required only for `files diff` and `focus-activity`. Coded UI `ObjectRepository.cs` (`Descriptors.*`) regenerates on per-file `validate` after a `[Workflow]`/`[TestCase]` `.cs` exists (§ Capture-First Fast Path step 2; [coded/operations-guide.md § Configure UI Targets](references/coded/operations-guide.md#configure-ui-targets-object-repository)).
28
28
 
29
+ A `~<name>` file beside a workflow (`~Main.xaml`, `~Process.cs`) is Studio Desktop's backup of unsaved designer changes, not a workflow: exclude it from file listings and never edit, validate, delete, or commit it. Before editing `<name>` itself, follow [environment-setup.md § Rules](references/environment-setup.md#rules), Rule 5.
30
+
29
31
  ## Project Type Detection
30
32
 
31
33
  After resolving `PROJECT_DIR`, inspect `project.json` `targetFramework` first:
@@ -36,7 +36,7 @@ You are a project discovery agent. Analyze a UiPath automation project, write th
36
36
 
37
37
  No authored content → document of empty tables. Run this gate **before** any discovery work.
38
38
 
39
- Count authored files with Glob, excluding dot-directories (`.local/`, `.settings/`, `.templates/`, …) and `obj/`, `bin/`:
39
+ Count authored files with Glob, excluding dot-directories (`.local/`, `.settings/`, `.templates/`, …), `obj/`, `bin/`, and `~*` files (Studio Desktop backups of unsaved changes, not workflows):
40
40
 
41
41
  ```
42
42
  **/*.xaml → XAML workflow count
@@ -142,6 +142,8 @@ Use Glob to discover all project files:
142
142
  **/*.cs.json → coded workflow metadata files
143
143
  ```
144
144
 
145
+ Drop every `~*` file (`~Main.xaml`, `~Process.cs`): Studio Desktop writes these as backups of unsaved changes, and they are not workflows. Never list one in the context files.
146
+
145
147
  Categorize the results:
146
148
  - **Coded workflows**: .cs files that have companion .cs.json files or are listed as entry points
147
149
  - **Coded source files**: .cs files WITHOUT .cs.json (helpers, models, utilities)
@@ -175,6 +175,7 @@ MyProject/
175
175
  ├── *.xaml # Additional XAML workflow files
176
176
  ├── *.cs # Coded workflows, test cases, and source files
177
177
  ├── *.cs.json # Auto-generated by Studio — do not create manually
178
+ ├── ~*.xaml, ~*.cs # Studio Desktop backup of an open file's unsaved changes — not a workflow (§ Rules, Rule 5)
178
179
  ├── .codedworkflows/ # Auto-generated coded workflow support files (ConnectionsFactory.cs, ConnectionsManager.cs, ISConnections.cs, etc.)
179
180
  ├── .entities/ # Data Fabric entity manifest — EntitiesStore.json. Committed; source of truth for which entities are bound to the project. Managed via uip rpa data-fabric-entities install.
180
181
  ├── .local/ # Local cache (package restore, compiled artifacts)
@@ -255,6 +256,11 @@ Important meanings: `name` is the package-output name; `main` is the relative de
255
256
  2. **Do not edit `.local/` or `.objects/`:** They are build-managed.
256
257
  3. **`main` entry point:** It runs by default when unspecified; `entryPoints` is populated only for **Process** projects, while Tests and Library use `[]`.
257
258
  4. **`--project-dir` awareness and project creation:** See [§ Step 0.1](#step-01-establish-project-root) and [§ Step 0.3](#step-03-creating-a-new-project).
259
+ 5. **`~<name>` files are Studio Desktop backups, not workflows.** While a file is open in Studio Desktop with unsaved changes, Studio writes the designer's in-memory copy beside it as `~<name>` (`~Main.xaml`, `~Process.cs`) every few seconds and marks it hidden; `find` and `ls` still list it. Studio deletes it when the file is saved or Studio closes cleanly, and after a crash offers to recover it on the next project open. `build` and `pack` exclude every `~*` file, and Studio's Git integration and project tree skip them.
260
+ - Exclude `~*` when listing or counting workflows: `find "<PROJECT_DIR>" -name "*.xaml" -not -name "~*"`. Never read one as source, edit, validate, invoke, or register it in `project.json`.
261
+ - Never delete, rename, or move one: Studio owns it, and it is the user's only copy of their unsaved designer work.
262
+ - Never stage or commit one. The `.gitignore` pattern that keeps them out of a repository is `~*`.
263
+ - Its presence means Studio Desktop holds `<name>` with changes that are not on disk, and whichever copy is saved last overwrites the other. If `~<name>` exists before your first edit of `<name>` this session, the unsaved changes are the user's: ask them to save or discard `<name>` in Studio before you edit it. If it appeared only after your own edits or runs, continue, and in the final report tell the user that Studio Desktop holds unsaved changes to `<name>` and that saving them there overwrites your edits on disk.
258
264
 
259
265
  ### Common Activity Packages
260
266
 
@@ -433,7 +439,7 @@ Do not convert in place. When conversion is requested: (1) confirm with the user
433
439
 
434
440
  Before project work, check `.claude/rules/project-context.md`.
435
441
 
436
- If it exists, read its first-line metadata `<!-- discovery-metadata: cs=N xaml=N deps=N -->`; count `**/*.cs` excluding `.local/` and `.codedworkflows/`, `**/*.xaml`, and dependency keys in `project.json`. For each count compute `abs(current - stored) / max(stored, 1) * 100`. If **any individual count differs by 60–70% or more**, run discovery; otherwise proceed.
442
+ If it exists, read its first-line metadata `<!-- discovery-metadata: cs=N xaml=N deps=N -->`; count `**/*.cs` excluding `.local/` and `.codedworkflows/`, `**/*.xaml`, and dependency keys in `project.json`; never count `~*` Studio backups ([§ Rules](#rules), Rule 5). For each count compute `abs(current - stored) / max(stored, 1) * 100`. If **any individual count differs by 60–70% or more**, run discovery; otherwise proceed.
437
443
 
438
444
  If absent, run the skip gate below; if it does not trip, run the discovery flow.
439
445
 
@@ -444,7 +450,7 @@ If absent, run the skip gate below; if it does not trip, run the discovery flow.
444
450
  | Condition | Check |
445
451
  |---|---|
446
452
  | Greenfield | Step 0 found no `project.json` |
447
- | Empty | `**/*.xaml` + `**/*.cs`, excluding dot-directories and `obj/`, `bin/`, counts 0 |
453
+ | Empty | `**/*.xaml` + `**/*.cs`, excluding dot-directories, `obj/`, `bin/`, and `~*` Studio backups, counts 0 |
448
454
  | Fresh scaffold | Count 1 and it is untouched `Main.xaml` process/template, `NewActivity*.xaml` library, `TestCase.xaml` test, or `Main.cs` coded, with no authored logic: empty root `Sequence` or only `Comment` activities, or empty coded `Execute` body |
449
455
 
450
456
  For a tripped gate, write no context files now; proceed, then **after the build** write both context files yourself using the discovery-flow paths and `AGENTS.md` marker logic.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
- "skillsVersion": "1.207.0-preview.2114",
3
+ "skillsVersion": "1.207.0-preview.2137",
4
4
  "targetCli": "^1.207.0"
5
5
  }