@uipath/delegate-sdk 1.204.0-preview.20261016094708 → 1.204.0-preview.20261019082834

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
@@ -177,7 +177,7 @@ agent.onEvent((event) => {
177
177
  await agent.initialize({
178
178
  backendUrl: 'https://cloud.uipath.com/<org>/<tenant>/delegate_',
179
179
  auth,
180
- model: 'claude_sonnet_5',
180
+ model: 'claude_sonnet_5_5',
181
181
  enableComputerUse: true,
182
182
  keepInteropAlive: false,
183
183
  });
@@ -510,7 +510,7 @@ const checked = await verify(client, { claims: [{ id: 'c1', claim: 'The invoice
510
510
  ```
511
511
 
512
512
  - Requests and responses use the backend's **snake_case wire names** (`top_k`, `model_version`, `rubric_version`, `usage.total_tokens`) unchanged. Every question needs its `type`. The backend refuses unknown fields and caps a request at 128 KiB and 64 questions, candidates or claims.
513
- - `model` picks a catalog model (`jev_1_13`, `gemini_3_6_flash`, `gpt_5_6_luna`, `claude_sonnet_5`); omit it for the server default. The backend never substitutes another model.
513
+ - `model` picks a catalog model (`jev_1_13`, `gemini_3_6_flash`, `gpt_5_6_luna`, `claude_sonnet_5_5`); omit it for the server default. The backend never substitutes another model.
514
514
  - The third argument takes `{ signal, timeoutMs }`; pass `undefined` for the defaults.
515
515
  - A non-2xx answer rejects with `EvaluationRequestError`: `operation`, `status`, `detail`, `validationIssues`, the `BackendRequestError` as `cause`, and a `reason` — `invalid_request` (422), `model_unavailable` (403, 503), `rate_limited` (429), `provider_error` (502), `timeout` (504), `unauthorized` (401) or `other`. Narrow with `isEvaluationRequestError(error, 'invalid_request')`.
516
516
  - A verdict or probability is a signal, not permission to act.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.mjs
3
- size: 56477195 bytes
4
- sha256: 8ab9b3f4775fe420057ec26851e9c0381f16b3eb3f985f70659f64dcdfe4a0a7
3
+ size: 56497841 bytes
4
+ sha256: 0bc164795de63991a838e2cd8d67576a82236ce955e836ab365a8ca54a4834d5
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: uipath-taskautomation
3
3
  friendly_name: UiPath Task Automation
4
- version: 0.23.0
4
+ version: 0.24.0
5
5
  description: "Convert the deterministic UI actions Delegate just performed into a UiPath coded workflow (C# CodedWorkflow) scaffolded as a standalone project via the bundled uip CLI. Trigger on: turn this into a workflow, make this repeatable in UiPath, generate a coded workflow, automate this in Studio, save these steps as an automation."
6
6
  icon: FaCode
7
7
  color: 1F6FEB
@@ -143,7 +143,7 @@ If the session folder holds no segments (capture was off → tell the user to en
143
143
 
144
144
  Draft `automation.spec.md` from the Phase 1 task slice + Phase 2 targets — sections, worked example, and the derivation table in `references/automation-spec.md`. Present it inline for confirmation before writing any code; a short markdown spec is easier to review and correct (swap a selector, drop a step, rename an input) than re-deriving it later, and it renders in chat so the user reads the actual steps.
145
145
 
146
- **This is the only user gate in the workflow.** A request that already says to confirm the spec does not answer `## Open questions` the user has not seen: when the spec has any, present them and wait. Everything Phases 1–2 would have stopped to ask comes here instead, collected under `## Open questions` so one review answers all of it:
146
+ **This is the only user gate in the workflow.** A request that already says to confirm the spec does not answer `## Open questions` the user has not seen: when the spec has any, present them and wait. Everything Phases 1–2 would have stopped to ask comes here instead, collected under `## Open questions` so one review answers all of it, never asked on its own before the spec (`AskUser` included) — except which session's log to read (Phase 1), since no spec can be drafted from the wrong session's log:
147
147
 
148
148
  - the requests you sliced, named at the top in the user's own words from each `input` record's `label`, in order — "open notepad" → "type the lyric" → "bold it" — and each partial one in it, with the actions the log is missing; a `turnId` is internal and does not belong in the spec — the user can check their own sentence at a glance, not an id;
149
149
  - each value whose fixed-vs-per-run split you inferred rather than knew;
@@ -13,7 +13,7 @@ Beyond per-action handling, always exclude:
13
13
  - Exploratory reads and screenshots that only informed the agent.
14
14
  - `AskUser`, proven retries (`SKILL.md` Phase 1; any other repeat stays), and dead-end actions that were later undone.
15
15
 
16
- **Parameterize**: values the user typed that vary per run (names, amounts, search terms) become spec `inputs`, not hardcoded literals. Ask the user which typed values are fixed vs per-run.
16
+ **Parameterize**: values the user typed that vary per run (names, amounts, search terms) become spec `inputs`, not hardcoded literals. A fixed-vs-per-run split you inferred goes under the spec's `## Open questions` (`SKILL.md` Phase 3), not a separate question.
17
17
 
18
18
  **Litmus**: writable as a finite function over inputs with no judgment branch → include. Needs reading something ambiguous and deciding → exclude, keep it in the live agent flow.
19
19
 
@@ -29,7 +29,7 @@ Coordinate points never port; never emit a coordinate click. Selectors come pre-
29
29
 
30
30
  - Top-level target: web → the browser URL; desktop → `<wnd app='...' />`. Inner selectors cannot find windows.
31
31
  - Selector attribute priority (most to least reliable): `id` → `name` → `aaname` → `placeholder` → `type` → `class` (avoid `class`).
32
- - If neither a selector nor a usable description resolves, flag the step and ask the user whether to drop it.
32
+ - If neither a selector nor a usable description resolves, mark the step unresolved under the spec's `## Open questions` (`SKILL.md` Phase 2 ladder).
33
33
 
34
34
  ## 4. Credentials
35
35
 
@@ -72,7 +72,7 @@ The confirmed slice carries most of this; the rest is judgment:
72
72
  | Steps: action + order | `step.action` for the turn range, in execution order (segment, then `i`) | which dead-ends to drop; repeats stay unless a proven retry (`SKILL.md` Phase 1) |
73
73
  | Steps: app | `step.app` matched to an application block | which `id` |
74
74
  | Steps: target | `step.target` (`uipathSelector`, `description`) with its `harvest` overlaid on `runId` + `i`; else `noSelector` / `step.targetDescription` | ladder order; whether a shortcut beats the selector |
75
- | Steps: value | `step.value`; `valueRedacted` → an Input | which values are fixed vs `${input}` — **ask the user** |
75
+ | Steps: value | `step.value`; `valueRedacted` → an Input | which values are fixed vs `${input}` — an inferred split goes under `## Open questions` |
76
76
  | Steps: operands | `step.operands` | none — carry every one present through (click type, modifiers, `clearBeforeType`, a drag's destination, `openReason`); a dropped operand is a silently wrong step |
77
77
  | Steps: purpose | `step.purpose` | tightening the wording |
78
78
  | Irreversible | `step.irreversible` — `true` always gates, `false` clears nothing | re-derive from the action (`SKILL.md` Phase 1), since it drives the `dryRun` gate |
@@ -116,7 +116,7 @@ All on the `app` handle. `target` is a `TargetAnchorableModel` from § Targets.
116
116
  | Wait for state | `bool WaitState(TargetAnchorableModel target, NCheckStateMode checkStateMode, double timeout = 5)`<br>`bool WaitState(TargetAnchorableModel target, CheckStateOptions checkStateOptions)` |
117
117
  | Enabled? | `bool IsEnabled(TargetAnchorableModel target, IsEnabledOptions isEnabledOptions = null)` |
118
118
  | Read attribute | `string GetAttribute(TargetAnchorableModel target, string attribute)`<br>`T GetAttribute<T>(TargetAnchorableModel target, string attribute)` |
119
- | Set value directly | `void SetValue(TargetAnchorableModel target, string value)` |
119
+ | Set value with AI ("Update UI Element") | `void SetValue(TargetAnchorableModel target, string value)` — see below |
120
120
  | Hover | `void Hover(TargetAnchorableModel target, double hoverTime, CursorMotionType cursorMotionType = CursorMotionType.Instant)` |
121
121
  | Scroll | `void MouseScroll(TargetAnchorableModel target, MouseScrollOptions mouseScrollOptions)`<br>`void MouseScroll(TargetAnchorableModel target)` |
122
122
  | Navigate | `void GoToUrl(string url)` |
@@ -128,6 +128,8 @@ All on the `app` handle. `target` is a `TargetAnchorableModel` from § Targets.
128
128
 
129
129
  **`KeyboardShortcut`: use the two pinned overloads above, not the `KeyboardShortcutOptions` one** — that overload rejected the same sequence at run time on 26.10.1.
130
130
 
131
+ **`SetValue` is the AI "Update UI Element" activity, not a direct value write.** It runs in a Chromium browser only and takes only an AI-only target, `Target.FromSemanticSelector(description)`. Any target with a selector, including `Target.WithSemanticSelector(...)`, fails with `Invalid target element for 'Update UI Element' activity. A semantic target is required.` To fill a field, use `TypeInto`. When `TypeInto` fails, fix the `TypeInto` (target, `InteractionMode`); don't swap in `SetValue`.
132
+
131
133
  ### Service-level extras (added in `26.10.3`)
132
134
 
133
135
  ```csharp
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/delegate-sdk",
3
- "version": "1.204.0-preview.20261016094708",
3
+ "version": "1.204.0-preview.20261019082834",
4
4
  "description": "UiPath Delegate SDK - Programmatic agent interface",
5
5
  "license": "Apache-2.0",
6
6
  "type": "commonjs",
@@ -50,10 +50,10 @@
50
50
  "zod-to-json-schema": "^3.25.1"
51
51
  },
52
52
  "optionalDependencies": {
53
- "@uipath/delegate-runtime-darwin-arm64": "1.204.0-preview.20261016094708",
54
- "@uipath/delegate-runtime-win32-x64": "1.204.0-preview.20261016094708",
55
- "@uipath/delegate-runtime-win32-x64-driver": "1.204.0-preview.20261016094708",
56
- "@uipath/delegate-runtime-linux-x64": "1.204.0-preview.20261016094708"
53
+ "@uipath/delegate-runtime-darwin-arm64": "1.204.0-preview.20261019082834",
54
+ "@uipath/delegate-runtime-win32-x64": "1.204.0-preview.20261019082834",
55
+ "@uipath/delegate-runtime-win32-x64-driver": "1.204.0-preview.20261019082834",
56
+ "@uipath/delegate-runtime-linux-x64": "1.204.0-preview.20261019082834"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/node": "^22.0.0",