@uipath/skills 1.207.0-preview.2253 → 1.207.0-preview.2263

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.2253",
3
+ "version": "1.207.0-preview.2263",
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"
@@ -55,9 +55,11 @@ Run the acquisition script with `node`, which Steps 2 to 4 already use for their
55
55
  node "<SKILL_DIR>/scripts/ensure-migrator.mjs"
56
56
  ```
57
57
 
58
+ When the user named the tool's folder, set `UIPATH_ACTIVITY_MIGRATOR_DIR` to it on this command, from the first run on.
59
+
58
60
  | `status` | Action |
59
61
  |---|---|
60
- | `ok` | Record `exe` as `<MIGRATOR_EXE>` and `version`. When the object carries `update: true`, say once that UiPath published a newer build and that the script installs it when rerun with `--install`; do not ask, do not install, continue with the cached tool. |
62
+ | `ok` | When the user named the tool's folder and `source` is `cached`, the variable was not on the command: rerun the script with it in the same command and apply this table to the new output. Otherwise record `exe` as `<MIGRATOR_EXE>` and `version`. When the object carries `update: true`, say once that UiPath published a newer build and that the script installs it when rerun with `--install`; do not ask, do not install, continue with the cached tool. |
61
63
  | `missing` | No tool is installed and nobody has approved a download. Ask the install question in [acquisition-guide.md § Install question](references/acquisition-guide.md#install-question), once, and act on the answer as that section says. |
62
64
  | `error`, `code: not-windows` | Rule 1. Stop. |
63
65
  | `error`, `code: runtime-missing` | Relay the script's message; it names the fix. Stop. |
@@ -27,7 +27,7 @@ The marker is a no-op: at runtime the target's own resolution detects it in the
27
27
  - A **migrated Attach Window**: a *real* card whose selector carries the marker (`IsDisplayNameAuto` false/absent, kept its classic display name; its children's selectors do not mirror the card selector). The variable holds a window selector there; attaching with the raw value is correct, at any nesting depth.
28
28
  - Any target with a bound `InUiElement`: element-relative search; the scope constraint is waived.
29
29
 
30
- Detection is structural (marker text + card discriminators). A `[PostMigration Action Required]` annotation is a useful hint when present, it sits on the wrapped child and points straight at a finding, but never the filter: some defect shapes carry none.
30
+ Detection is structural (marker text + card discriminators). A `[PostMigration Action Required]` annotation is a useful hint when present, it sits on the wrapped child, sometimes on its generated card too, and points straight at a finding, but never the filter: some defect shapes carry none.
31
31
 
32
32
  ## Scan (structural)
33
33
 
@@ -53,7 +53,7 @@ With a single-file scope, grep only that file. No hit anywhere, and no `[PostMig
53
53
 
54
54
  Generated-vs-real card discriminators, required pair: the `IsDisplayNameAuto="True"` attribute is **present** **and** the card selector expression **equals** the wrapped child's `ScopeSelectorArgument`. On a migrated container the attribute is **absent** (the migrator sets false, the serialization default, so nothing is written). `OpenMode="Never"` + `CloseMode="Never"` + `AttachMode="SingleWindow"` corroborates only that the card *came from migration*; both card kinds carry it, so it says nothing about generated-vs-Attach-Window. The default "Use Application/Browser" display name is weak corroboration, localized under a non-English Studio; never require it.
55
55
 
56
- Record per finding: file, activity type + `DisplayName`/`IdRef`, variable name(s) in the expression, annotation present (`[PostMigration Action Required]: `) yes/no, and its **report key**: the file plus the `DisplayName` of the activity the migrator reported, which is the wrapped child for a generated card (the card itself has no SARIF result) and the check itself for a loose check or a standalone target. SKILL.md Step 6 matches this key against the summarizer's needs-attention items. Annotation is corroboration only: top-level generated cards and loose checks from package 25.10.31 onwards carry none.
56
+ Record per finding: file, activity type + `DisplayName`/`IdRef`, variable name(s) in the expression, which of its activities carry a `[PostMigration Action Required]: ` annotation (for a generated card: the card, its wrapped child, both or neither), and its **report key**: the file plus the `DisplayName` of the activity the migrator reported, which is the wrapped child for a generated card (the card itself has no SARIF result) and the check itself for a loose check or a standalone target. SKILL.md Step 6 matches this key against the summarizer's needs-attention items. Annotation is corroboration only: top-level generated cards and loose checks from package 25.10.31 onwards carry none.
57
57
 
58
58
  `IsLoose="True"` with a **literal** (non-marker) scope selector is a valid cross-window probe, never a finding.
59
59
 
@@ -124,7 +124,7 @@ Migrator annotations are **one line per message**: each line is `[PostMigration
124
124
 
125
125
  Where a fixed activity (the wrapped child or the card for Fix 1; the check for Fix 2) carries `sap2010:Annotation.AnnotationText`, replace **only the line whose message is the fixed defect** with `Remediated by uipath-activity-migrator on <YYYY-MM-DD>: <one line — what was done>`. Every other line, including the `[Existing annotation]: ` tail, stays verbatim. No line matches the fixed defect, or the activity carries no annotation at all → add the `Remediated by uipath-activity-migrator on <YYYY-MM-DD>: <one line — what was done>` line, as a new `sap2010:Annotation.AnnotationText` attribute when none exists: SKILL.md Rule 12 requires the mark on every edit.
126
126
 
127
- A **healthy** construction whose annotation carries a migrator line about its expression selector (a redundant full-value generated card, its wrapped child, a migrated Attach Window) gets the same treatment: replace only that line with `Verified healthy by uipath-activity-migrator on <YYYY-MM-DD>: <value class and why it works>`, for example "full-value selector; the card attaches to its window part". This removes the action request from Studio and from the analyzer warnings, so the report need not mention the construction. Rewrite only when the value class came from an authoritative source (XAML default, `Assign`, config read locally); leave the annotation untouched for `unresolved` values or values supplied from memory.
127
+ A **healthy** construction (a redundant full-value generated card with its wrapped child, a migrated Attach Window) gets the same treatment on each of its activities whose annotation carries a migrator line about the expression selector: replace only that line with `Verified healthy by uipath-activity-migrator on <YYYY-MM-DD>: <value class and why it works>`. This removes the action request from Studio and from the analyzer warnings, so the report need not mention the construction. Rewrite only when the value class came from an authoritative source (XAML default, `Assign`, config read locally); leave the annotation untouched for `unresolved` values or values supplied from memory.
128
128
 
129
129
  ## Validate
130
130
 
@@ -126,7 +126,7 @@ Data-driven testing executes the same test case multiple times with different in
126
126
 
127
127
  | Source | Where Data Lives | Best For | Agent Support |
128
128
  |--------|-----------------|----------|---------------|
129
- | **Variations files** | `.variations/` folder in project | File-based test data committed with the project | CLI, Studio Desktop only: `test-data add-variation`. Headless: files ([§ Adding Test Data via CLI](#adding-test-data-via-cli)) |
129
+ | **Variations files** | `.variations/` folder in project | File-based test data committed with the project | CLI, Studio Desktop only: `test-data add-variation`. Without rpa-tool interop: files ([§ Adding Test Data via CLI](#adding-test-data-via-cli)) |
130
130
  | **Test Data Queues** | UiPath Orchestrator | Large-scale distributed testing, parallel execution. [To be deprecated](https://docs.uipath.com/overview-guide/docs/deprecation-timeline) at a later date | CLI, Studio Desktop only: `test-data add-queue` |
131
131
  | **Data Service** | Data Fabric entity | Centralized, shared test data, filtered per test case; records change without a republish | Files: [§ Data Service Entity](#data-service-entity) |
132
132
 
@@ -150,7 +150,7 @@ The `.variations/` directory is available in all project types (Process, Tests,
150
150
 
151
151
  Two commands attach file and queue sources to a test case. Both register the data source in project metadata, extract arguments from the source schema, and add them to the test case (via Studio's workflow management API for XAML, via Roslyn for coded test cases). A Data Service source is written as files ([§ Data Service Entity](#data-service-entity)).
152
152
 
153
- > **Studio Desktop only.** Both commands need a running Studio Desktop with rpa-tool interop; headless Studio does not serve them. Without one ([cli-reference.md § Headless Studio (Helm) vs Studio Desktop](cli-reference.md#headless-studio-helm-vs-studio-desktop)), write the variations file and the case's `dataVariationFilePath` per [json-template.md § Data-driven test case](../assets/json-template.md#data-driven-test-case-with-variations-file) and declare one test case argument per field. A Test Data Queue has no headless route: tell the user it needs Studio Desktop.
153
+ > **Studio Desktop only.** Both commands need a Studio Desktop with rpa-tool interop; headless Studio does not serve them. Run them even when Studio Desktop is closed: rpa-tool opens it. If one fails, for example with `does not support rpa-tool` or `Requires Studio <MIN_VERSION>+` ([cli-reference.md § Headless Studio (Helm) vs Studio Desktop](cli-reference.md#headless-studio-helm-vs-studio-desktop)), write the variations file and the case's `dataVariationFilePath` per [json-template.md § Data-driven test case](../assets/json-template.md#data-driven-test-case-with-variations-file) and declare one test case argument per field. A Test Data Queue has no headless route: tell the user it needs Studio Desktop, with the error.
154
154
 
155
155
  #### `test-data add-variation` — File-based (JSON)
156
156
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
- "skillsVersion": "1.207.0-preview.2253",
3
+ "skillsVersion": "1.207.0-preview.2263",
4
4
  "targetCli": "^1.207.0"
5
5
  }