@uipath/maestro-builder-sdk 6.90.2 → 6.90.4

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/dist/api-index.md CHANGED
@@ -183,8 +183,8 @@ could hand you spans for a version you do not have.
183
183
  | `HitlVariant` | type | `dist/nodes/hitl/flow/spec.d.ts:120-145` | Supporting types | WHICH human-task node type to emit. |
184
184
  | `http` | function | `dist/nodes/http/flow/factories.d.ts:7-14` | Actions | Declare an HTTP request action, explicitly choosing standalone or managed. |
185
185
  | `HttpBranch` | interface | `dist/nodes/http/flow/spec.d.ts:8-23` | Supporting types | One conditional response branch on an HTTP node — a designer-visible side exit. |
186
- | `HttpInputs` | type | `dist/nodes/http/flow/spec.d.ts:125-142` | Option shapes | |
187
- | `HttpInputsBase` | interface | `dist/nodes/http/flow/spec.d.ts:24-124` | Option shapes | 11 field(s) |
186
+ | `HttpInputs` | type | `dist/nodes/http/flow/spec.d.ts:126-143` | Option shapes | |
187
+ | `HttpInputsBase` | interface | `dist/nodes/http/flow/spec.d.ts:24-125` | Option shapes | 11 field(s) |
188
188
  | `HttpRequestToolRef` | interface | `dist/core/actions.d.ts:524-553` | Supporting types | The built-in HTTP-request tool (`uipath.agent.resource.tool.builtin.httprequest`): the agent performs an HTTP call. |
189
189
  | `inlineAgent` | function | `dist/nodes/agent/flow/factories.d.ts:84-134` | Actions | Declare an INLINE AUTONOMOUS AGENT — an agent defined inside this flow's own project rather than published to… |
190
190
  | `InlineAgentFieldType` | type | `dist/core/actions.d.ts:268-269` | Supporting types | A JSON-schema-ish type for one field of an inline agent's input/output schema. |
@@ -507,7 +507,7 @@ not find it either.
507
507
  | `hidden` | property | `RegistryInputField` | `dist/bpmn/typed-node.d.ts:68` |
508
508
  | `hitl` | property | `FlowActionSpecs` | `dist/nodes/hitl/flow/spec.d.ts:427-430` |
509
509
  | `http` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:956-957` |
510
- | `http` | property | `FlowActionSpecs` | `dist/nodes/http/flow/spec.d.ts:145-148` |
510
+ | `http` | property | `FlowActionSpecs` | `dist/nodes/http/flow/spec.d.ts:146-149` |
511
511
  | `http` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2538-2572` |
512
512
  | `httpRequest` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1531-1550` |
513
513
  | `humanTask` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2826-2909` |
@@ -680,7 +680,7 @@ not find it either.
680
680
  | `loop` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:365-366` |
681
681
  | `loop` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:890-891` |
682
682
  | `loop` | method | `StepList` | `dist/flow-sdk.d.ts:1077-1088` |
683
- | `managed` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:37-67` |
683
+ | `managed` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:37-68` |
684
684
  | `marksCaseComplete` | property | `BuiltCaseExitCondition` | `dist/case/case-sdk.d.ts:457` |
685
685
  | `marksStageComplete` | property | `BuiltExitCondition` | `dist/case/case-sdk.d.ts:424` |
686
686
  | `marksStageComplete` | property | `ExitOpts` | `dist/case/case-sdk.d.ts:1179-1180` |
@@ -1035,13 +1035,13 @@ not find it either.
1035
1035
  | `retry` | property | `ActivityNodeFields` | `dist/bpmn/bpmn-sdk.d.ts:363-364` |
1036
1036
  | `retry` | property | `ActivityOpts` | `dist/bpmn/bpmn-sdk.d.ts:888-889` |
1037
1037
  | `retryable` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:338-339` |
1038
- | `retryCount` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:109-123` |
1038
+ | `retryCount` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:110-124` |
1039
1039
  | `return` | method | `StepList` | `dist/flow-sdk.d.ts:1244-1253` |
1040
1040
  | `returnCitations` | property | `SummarizeInputs` | `dist/nodes/ai-patterns/flow/spec.d.ts:34-39` |
1041
1041
  | `returns` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:353-372` |
1042
1042
  | `returns` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:114-126` |
1043
1043
  | `returns` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:507-508` |
1044
- | `returns` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:68-90` |
1044
+ | `returns` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:69-91` |
1045
1045
  | `returns` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:280-293` |
1046
1046
  | `returns` | property | `ProcessToolRef` | `dist/core/actions.d.ts:712-713` |
1047
1047
  | `returns` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:178-186` |
@@ -1211,7 +1211,7 @@ not find it either.
1211
1211
  | `terminate` | method | `StepList` | `dist/flow-sdk.d.ts:1139-1177` |
1212
1212
  | `threshold` | property | `ContextIndexRef` | `dist/core/actions.d.ts:852-853` |
1213
1213
  | `timeCycle` | property | `BuiltTrigger` | `dist/case/case-sdk.d.ts:286-287` |
1214
- | `timeout` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:91-108` |
1214
+ | `timeout` | property | `HttpInputsBase` | `dist/nodes/http/flow/spec.d.ts:92-109` |
1215
1215
  | `timeout` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:551-552` |
1216
1216
  | `timer` | property | `ActionTimedSettings` | `dist/case/case-sdk.d.ts:854-855` |
1217
1217
  | `timer` | property | `BoundaryOpts` | `dist/bpmn/bpmn-sdk.d.ts:806-807` |
@@ -1098,7 +1098,7 @@ declare class StepList {
1098
1098
  * ```ts
1099
1099
  * .var('page', types.number, 1)
1100
1100
  * .doWhile('paginate', js`$vars.fetch.output.body.hasNextPage === true`, (b) => b
1101
- * .step('fetch', http({ url: tmpl`https://api.example.test/items?page=${v('page')}`, method: 'GET', managed: false, returns: { hasNextPage: 'boolean' } }), {
1101
+ * .step('fetch', http({ url: tmpl`https://api.example.test/items?page=${v('page')}`, method: 'GET', managed: true, returns: { hasNextPage: 'boolean' } }), {
1102
1102
  * updates: { page: js`$vars.page + 1` },
1103
1103
  * }), { limit: 50 })
1104
1104
  * ```
package/dist/flow-sdk.js CHANGED
@@ -707,7 +707,7 @@ class StepList {
707
707
  * ```ts
708
708
  * .var('page', types.number, 1)
709
709
  * .doWhile('paginate', js`$vars.fetch.output.body.hasNextPage === true`, (b) => b
710
- * .step('fetch', http({ url: tmpl`https://api.example.test/items?page=${v('page')}`, method: 'GET', managed: false, returns: { hasNextPage: 'boolean' } }), {
710
+ * .step('fetch', http({ url: tmpl`https://api.example.test/items?page=${v('page')}`, method: 'GET', managed: true, returns: { hasNextPage: 'boolean' } }), {
711
711
  * updates: { page: js`$vars.page + 1` },
712
712
  * }), { limit: 50 })
713
713
  * ```
@@ -45,48 +45,28 @@ const RETRY_COUNT_SOFT_MAX = 5;
45
45
  */
46
46
  export function checkHttp(inputs, ctx) {
47
47
  const step = ctx.step;
48
- // `core.action.http` is retired on the platform side: after `registry pull
49
- // --force` the tenant serves only `core.action.http.v2` (2.3), and a
50
- // `registry get core.action.http` — bare or at the `@1.3` that `flow migrate`
51
- // upgrades it to — answers "Node not found". It still compiles, validates and
52
- // runs, which is why this is a warning and not an error: existing flows are
53
- // not broken and `decompile` must keep round-tripping them.
48
+ // `core.action.http` is retired: the tenant serves only `core.action.http.v2`,
49
+ // and a run of the plain node answers 500 "No handler registered for extension
50
+ // type 'Intsvc.HttpExecution'". A warning, not an error, so `decompile` keeps
51
+ // round-tripping existing flows.
54
52
  //
55
- // Moving to the managed node is not a rename. A plain step keeps a non-2xx on
56
- // the SUCCESS path (`out(step,'statusCode')`); the managed one fails on it, so
57
- // a status branch becomes an error handler reading the envelope's `status`.
58
- //
59
- // It is not a free upgrade either, and for a connection-less URL it is usually
60
- // the wrong move (flow-builder-sdk#898). With no `connection` the managed node
61
- // still goes through Integration Service: serialize emits the `uipath-uipath-http`
62
- // connector on `ImplicitConnection`, so the request leaves from IS's SHARED
63
- // egress. Measured on slack-weather-pipeline (3/3 runs): agents took the old
64
- // `managed: true` hint, and Open-Meteo answered that egress 429 "Daily API
65
- // request limit exceeded" while direct calls from the same box got 200. The
66
- // plain node goes direct. So the hint only steers toward `managed: true` when
67
- // the step was given connection settings; the two other real reasons to move
68
- // (a binding, an `.onError()`) already fire as errors with that suggestion
69
- // (HTTP_BINDING_REQUIRES_MANAGED, HTTP_ONERROR_V1).
53
+ // Moving to the managed node is not a rename: a non-2xx fails the step instead
54
+ // of arriving on the success path with `statusCode`, so a status branch becomes
55
+ // an error handler reading the envelope's `status`. Without a `connection` it
56
+ // still goes through Integration Service's SHARED egress, where public APIs can
57
+ // answer 429 (flow-builder-sdk#898).
70
58
  if (inputs && !inputs.managed) {
71
59
  const asked = inputs;
72
60
  const wantsConnection = asked.connection !== undefined || asked.folder !== undefined
73
61
  || asked.targetConnector !== undefined;
74
- if (wantsConnection) {
75
- ctx.report('HTTP_V1_RETIRED', `Step "${step}" emits core.action.http, which the tenant registry no longer serves (only `
76
- + `core.action.http.v2). It sets Integration Service connection settings, which only the managed node `
77
- + `can use. Moving to managed: true changes behaviour rather than just the node type: a non-2xx stops `
78
- + `arriving on the success path with statusCode and fails the step instead, so a status branch becomes `
79
- + `an .onError() handler reading err('${step}', 'status').`, `http({ url: …, managed: true, connection, folder })`);
80
- }
81
- else {
82
- ctx.report('HTTP_V1_RETIRED', `Step "${step}" emits core.action.http, which the tenant registry no longer serves (only `
83
- + `core.action.http.v2). It still compiles, validates and runs, and it calls the URL directly. For a URL `
84
- + `that needs no Integration Service connection, keep managed: false. managed: true is not a drop-in `
85
- + `replacement: even without a connection it sends the request through Integration Service's shared `
86
- + `egress (rate limits there are shared, and public APIs can answer 429 where a direct call succeeds), `
87
- + `and a non-2xx fails the step instead of arriving with statusCode. Switch only if the call needs an `
88
- + `Integration Service connection or an .onError() handler.`);
89
- }
62
+ const tail = wantsConnection
63
+ ? `It also sets Integration Service connection settings, which only the managed node can use.`
64
+ : `Without a connection it sends the request through Integration Service's shared egress, so public APIs can answer 429.`;
65
+ ctx.report('HTTP_V1_RETIRED', `Step "${step}" emits core.action.http, which no longer runs on the platform: the tenant registry serves only `
66
+ + `core.action.http.v2, and the runtime answers 500 "No handler registered for extension type `
67
+ + `'Intsvc.HttpExecution'". Moving to managed: true changes behaviour rather than just the node type: a non-2xx `
68
+ + `fails the step instead of arriving with statusCode, so a status branch becomes an .onError() handler `
69
+ + `reading err('${step}', 'status'). ${tail}`, wantsConnection ? `http({ url: …, managed: true, connection, folder })` : `http({ url: …, managed: true })`);
90
70
  }
91
71
  // Connection settings on the standalone node, an incomplete pair, and an
92
72
  // empty or unbound `targetConnector` are the serializer's HTTP_BINDING_* /
@@ -15,7 +15,7 @@ export function http(inputs) {
15
15
  if (typeof inputs.managed !== 'boolean') {
16
16
  throw new CompileRefusal('HTTP_MANAGED_REQUIRED', 'http() requires managed: true or managed: false because they emit different platform nodes. '
17
17
  + 'Use true for Managed HTTP Request/core.action.http.v2 or when non-2xx statuses must reach .onError(); '
18
- + 'use false for the standalone core.action.http node.');
18
+ + 'false emits the retired core.action.http, which no longer runs on the platform.');
19
19
  }
20
20
  return builtinActionSpec({ kind: 'http', inputs });
21
21
  }
@@ -35,8 +35,9 @@ interface HttpInputsBase {
35
35
  body?: string | Expr;
36
36
  contentType?: string;
37
37
  /**
38
- * Choose the HTTP node explicitly. `false` emits the standalone
39
- * `core.action.http`; `true` emits the managed `core.action.http.v2`, routed
38
+ * Choose the HTTP node explicitly. `false` emits the retired
39
+ * `core.action.http`, which no longer runs on the platform (500 "No handler
40
+ * registered for extension type 'Intsvc.HttpExecution'"); `true` emits the managed `core.action.http.v2`, routed
40
41
  * through Integration Service's HTTP connector.
41
42
  *
42
43
  * This has no default because these are different platform nodes, not two
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.90.2",
3
+ "version": "6.90.4",
4
4
  "description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.uipath.com/maestro",
@@ -98,7 +98,8 @@
98
98
  "check:md-examples": "node scripts/check-md-examples.mjs",
99
99
  "sync:definitions": "node scripts/sync-core-definitions.mjs",
100
100
  "check:definitions": "node scripts/sync-core-definitions.mjs --check",
101
- "check:definitions:upstream": "node scripts/check-core-definitions-drift.mjs"
101
+ "check:definitions:upstream": "node scripts/check-core-definitions-drift.mjs",
102
+ "check:definitions:latest": "node scripts/check-core-definitions-drift.mjs --upstream latest"
102
103
  },
103
104
  "dependencies": {
104
105
  "acorn": "^8.17.0",
@@ -110,5 +111,5 @@
110
111
  "@types/node": "^22.7.0",
111
112
  "esbuild": "^0.28.1"
112
113
  },
113
- "gitref": "fa145822a2c32fdc05f6c41bddf9d9dc4c0163db"
114
+ "gitref": "2a8e2b255d67a8a6578dbeb6229a80630ea3f57b"
114
115
  }