@uipath/skills 1.207.0-preview.2260 → 1.207.0-preview.2266
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.
|
@@ -12,7 +12,7 @@ Help the user add a curated allowlist of safe `uip` subcommands to their Claude
|
|
|
12
12
|
## Steps
|
|
13
13
|
|
|
14
14
|
1. **Ask which variant to install** using `AskUserQuestion`:
|
|
15
|
-
- **Full — with safety rails** (default, recommended) — writes both `allow` and `ask`. Cloud-side-effect commands (`debug` / `upload` / `publish` / `pack` / `login`) still prompt, even under `defaultMode: bypassPermissions` or `--dangerously-skip-permissions`. Prevents accidental prod publishes in YOLO mode.
|
|
15
|
+
- **Full — with safety rails** (default, recommended) — writes both `allow` and `ask`. Cloud-side-effect commands (`debug` / `upload` / `publish` / `pack` / `eval` / `projects resync` / `login`) still prompt, even under `defaultMode: bypassPermissions` or `--dangerously-skip-permissions`. Prevents accidental prod publishes in YOLO mode.
|
|
16
16
|
- **Allow-only — no safety rails** — writes only the `allow` block. Power users who explicitly want zero prompts under `--dangerously-skip-permissions` pick this. Accept that a stray `uip solution publish` will execute without confirmation.
|
|
17
17
|
|
|
18
18
|
2. **Ask where to install the allowlist** using a second `AskUserQuestion`:
|
|
@@ -49,18 +49,45 @@ Split by risk. `allow` = read-only or local-only commands; `ask` = commands with
|
|
|
49
49
|
"Bash(which uip)",
|
|
50
50
|
|
|
51
51
|
// discovery — registry + Integration Service + Orchestrator list ops (all read-only)
|
|
52
|
-
"Bash(uip flow registry *)",
|
|
52
|
+
"Bash(uip maestro flow registry *)",
|
|
53
|
+
"Bash(uip maestro registry *)", // connector library shared by Flow, Case and BPMN; reads the tenant, writes only project-local files
|
|
53
54
|
"Bash(uip is *)", // Integration Service (connections, connectors, resources, triggers)
|
|
54
55
|
"Bash(uip or folders *)", // Orchestrator folders
|
|
55
56
|
|
|
56
57
|
// local-only flow / solution / agent scaffolding
|
|
57
|
-
"Bash(uip flow init *)",
|
|
58
|
-
"Bash(uip flow validate *)",
|
|
59
|
-
"Bash(uip flow
|
|
60
|
-
"Bash(uip flow
|
|
61
|
-
"Bash(uip flow
|
|
62
|
-
"Bash(uip
|
|
63
|
-
"Bash(uip
|
|
58
|
+
"Bash(uip maestro flow init *)",
|
|
59
|
+
"Bash(uip maestro flow validate *)",
|
|
60
|
+
"Bash(uip maestro flow format *)",
|
|
61
|
+
"Bash(uip maestro flow check *)",
|
|
62
|
+
"Bash(uip maestro flow compile *)",
|
|
63
|
+
"Bash(uip maestro flow decompile *)",
|
|
64
|
+
"Bash(uip maestro flow migrate *)",
|
|
65
|
+
"Bash(uip maestro flow merge *)",
|
|
66
|
+
"Bash(uip maestro flow nodes *)",
|
|
67
|
+
"Bash(uip maestro flow edges *)",
|
|
68
|
+
"Bash(uip maestro flow variables *)",
|
|
69
|
+
"Bash(uip maestro flow bindings *)",
|
|
70
|
+
// the singular group names are live aliases, and several skills still write them
|
|
71
|
+
"Bash(uip maestro flow node *)",
|
|
72
|
+
"Bash(uip maestro flow edge *)",
|
|
73
|
+
"Bash(uip maestro flow variable *)",
|
|
74
|
+
"Bash(uip maestro flow binding *)",
|
|
75
|
+
"Bash(uip maestro flow hitl *)",
|
|
76
|
+
"Bash(uip maestro flow extraction check)",
|
|
77
|
+
"Bash(uip maestro flow extraction check *)",
|
|
78
|
+
"Bash(uip solution init *)",
|
|
79
|
+
"Bash(uip solution new *)", // retired verb, kept for agents on a CLI that predates the rename
|
|
80
|
+
// per verb, because `projects publish` and `projects resync` reach the tenant — both are in `ask`
|
|
81
|
+
"Bash(uip solution projects add *)",
|
|
82
|
+
"Bash(uip solution projects import *)",
|
|
83
|
+
"Bash(uip solution projects list)",
|
|
84
|
+
"Bash(uip solution projects list *)",
|
|
85
|
+
"Bash(uip solution projects remove *)",
|
|
86
|
+
"Bash(uip solution project add *)",
|
|
87
|
+
"Bash(uip solution project import *)",
|
|
88
|
+
"Bash(uip solution project list)",
|
|
89
|
+
"Bash(uip solution project list *)",
|
|
90
|
+
"Bash(uip solution project remove *)",
|
|
64
91
|
"Bash(uip solution resources *)",
|
|
65
92
|
"Bash(uip agent init)",
|
|
66
93
|
"Bash(uip agent init *)",
|
|
@@ -112,10 +139,18 @@ Split by risk. `allow` = read-only or local-only commands; `ask` = commands with
|
|
|
112
139
|
"ask": [
|
|
113
140
|
"Bash(uip login)",
|
|
114
141
|
"Bash(uip login --authority *)",
|
|
115
|
-
"Bash(uip flow debug)",
|
|
116
|
-
"Bash(uip flow debug *)",
|
|
117
|
-
"Bash(uip flow pack)",
|
|
118
|
-
"Bash(uip flow pack *)",
|
|
142
|
+
"Bash(uip maestro flow debug)",
|
|
143
|
+
"Bash(uip maestro flow debug *)",
|
|
144
|
+
"Bash(uip maestro flow pack)",
|
|
145
|
+
"Bash(uip maestro flow pack *)",
|
|
146
|
+
"Bash(uip maestro flow publish)",
|
|
147
|
+
"Bash(uip maestro flow publish *)",
|
|
148
|
+
"Bash(uip maestro flow eval)",
|
|
149
|
+
"Bash(uip maestro flow eval *)",
|
|
150
|
+
"Bash(uip solution projects publish *)",
|
|
151
|
+
"Bash(uip solution projects resync *)",
|
|
152
|
+
"Bash(uip solution project publish *)",
|
|
153
|
+
"Bash(uip solution project resync *)",
|
|
119
154
|
"Bash(uip solution upload)",
|
|
120
155
|
"Bash(uip solution upload *)",
|
|
121
156
|
"Bash(uip solution publish)",
|
|
@@ -132,8 +167,8 @@ Split by risk. `allow` = read-only or local-only commands; `ask` = commands with
|
|
|
132
167
|
- Rule precedence in Claude Code is `deny > ask > allow`, and rules are evaluated **before** `defaultMode` / `--dangerously-skip-permissions`. So the `ask` list in the full variant still forces a prompt under YOLO mode — that is the point of it, and it is the difference between the two variants offered in step 1.
|
|
133
168
|
- If the user has existing `permissions.deny` rules mentioning `uip`, do not remove them — respect explicit denials even if they conflict with the recommended allowlist. Surface the conflict in chat and ask.
|
|
134
169
|
- Never modify `~/.claude/settings.json` without explicit consent — that file often contains secrets (tokens, env vars) and should not be edited casually. If the user picks the global option, re-confirm before writing.
|
|
135
|
-
- The full variant's `ask` block intentionally guards `uip solution upload`, `uip flow debug`, `uip flow pack`, `uip solution publish`, and `uip login` — these produce real cloud side effects (publishing, executing flows, tenant auth). The `uipath-maestro-flow` skill's rules explicitly require user consent before cloud-executing a flow.
|
|
136
|
-
- `uip agent init` is in `allow` (scaffolding — same as `uip flow init`). It does not publish to the cloud; it creates local agent project files.
|
|
170
|
+
- The full variant's `ask` block intentionally guards `uip solution upload`, `uip maestro flow debug`, `uip maestro flow pack`, `uip maestro flow publish`, `uip maestro flow eval`, `uip solution publish`, `uip solution projects publish`, `uip solution projects resync`, and `uip login` — these produce real cloud side effects (publishing, executing flows, tenant auth). `uip solution projects` is therefore allowlisted per verb rather than as a group, so its two tenant verbs keep prompting. The `uipath-maestro-flow` skill's rules explicitly require user consent before cloud-executing a flow.
|
|
171
|
+
- `uip agent init` is in `allow` (scaffolding — same as `uip maestro flow init`). It does not publish to the cloud; it creates local agent project files.
|
|
137
172
|
- `uip rpa *` covers the full RPA subcommand tree (`build`, `get-errors`, `create-project`, `find-activities`, `inspect-package`, `focus-activity`, etc.). None of these publish to the cloud — RPA deployment flows through `uip solution upload` / `publish` (already guarded in `ask`).
|
|
138
173
|
- The `uipath-troubleshoot` skill is read-only — it inspects jobs, assets, queue-items, traces, and Maestro instances but never mutates them. Its verbs are allowlisted **per read verb** (e.g. `uip or jobs get *`, not `uip or jobs *`) so mutating siblings keep prompting: `or jobs stop/start/restart/resume`, `or assets create/delete/update/share`, `or licenses toggle`, `resource … delete/upload/add/update`, and `maestro bpmn instance cancel/retry/goto/pause/resume/migrate/message send/variables-set`. This fails closed — a newly shipped CLI verb is never auto-allowed.
|
|
139
174
|
- The troubleshoot rules cover the canonical short form `uip or …`. If the agent uses the long-form alias `uip orchestrator …`, it will still prompt; the fix is to keep the skill on the short form, not to widen the allowlist.
|
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.2266",
|
|
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` |
|
|
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,
|
|
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
|
|
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
|
|
package/version-manifest.json
CHANGED