@uipath/skills 1.207.0-preview.2133 → 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.
|
|
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"
|
|
@@ -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/`, …)
|
|
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
|
|
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
|
|
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.
|
package/version-manifest.json
CHANGED