@uipath/maestro-builder-sdk 6.91.2 → 6.93.0
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 +7 -7
- package/dist/core-definitions.json +450 -0
- package/dist/nodes/agent/flow/factories.d.ts +6 -0
- package/dist/nodes/agent/flow/factories.js +6 -0
- package/dist/nodes/agent/flow/node-type.js +24 -12
- package/dist/nodes/ai-patterns/flow/factories.d.ts +6 -0
- package/dist/nodes/ai-patterns/flow/factories.js +6 -0
- package/dist/nodes/ai-patterns/flow/node-type.d.ts +2 -2
- package/dist/nodes/ai-patterns/flow/node-type.js +49 -38
- package/package.json +2 -2
package/dist/api-index.md
CHANGED
|
@@ -70,7 +70,7 @@ could hand you spans for a version you do not have.
|
|
|
70
70
|
| `ArmBuilder` | class | `dist/flow-sdk.d.ts:1255-1278` | Builders | The sub-builder an ARM callback receives — a `StepList` that can also name itself with `.label(...)`. |
|
|
71
71
|
| `AskedField` | interface | `dist/core/actions.d.ts:223-242` | Supporting types | A value the reviewer FILLS IN: read downstream with `out('<step>', '<id>')`. |
|
|
72
72
|
| `at` | function | `dist/flow-sdk.d.ts:581-609` | Flow construction | A node's layout at a canvas position — the short form of a NodeLayout for the `nodes` map of FlowBuilder.layout. |
|
|
73
|
-
| `batchTransform` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:
|
|
73
|
+
| `batchTransform` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:55-89` | Actions | Add AI-generated columns to a CSV — the platform's **Batch transform** node, `uipath.pattern.batch-transform` (service… |
|
|
74
74
|
| `BatchTransformInputs` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:48-63` | Option shapes | 4 field(s) |
|
|
75
75
|
| `BindingContribution` | interface | `dist/core/node-classes.d.ts:80-101` | Supporting types | A resource binding a contribution hoists to the flow's top-level `bindings` array — the shape the `.flow` format… |
|
|
76
76
|
| `BranchOptions` | interface | `dist/flow-sdk.d.ts:318-334` | Option shapes | The options of `.branch()`: the NodeOptions, plus `draft` for a decision the canvas saved before its condition was set. |
|
|
@@ -98,14 +98,14 @@ could hand you spans for a version you do not have.
|
|
|
98
98
|
| `ContributionContext` | interface | `dist/core/node-classes.d.ts:68-79` | Supporting types | What the serializer tells a contributor before asking for its contribution. |
|
|
99
99
|
| `ContributionDiagnostic` | interface | `dist/core/node-classes.d.ts:22-33` | Supporting types | A diagnostic a node contributes during `check` — surfaced alongside the built-in rules with the same severities. |
|
|
100
100
|
| `ControlFormFieldType` | type | `dist/core/actions.d.ts:66-74` | Supporting types | The platform's choice-control spellings of a field type. |
|
|
101
|
-
| `conversationalAgent` | function | `dist/nodes/agent/flow/factories.d.ts:
|
|
101
|
+
| `conversationalAgent` | function | `dist/nodes/agent/flow/factories.d.ts:65-89` | Actions | A CONVERSATIONAL agent (`uipath.agent.conversational`) — it answers one turn of a live chat, reading the transcript… |
|
|
102
102
|
| `ConversationalAgentInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:45-102` | Option shapes | What `conversationalAgent()` takes: the agent's instructions and model, how it gets its turn, and the resources it… |
|
|
103
103
|
| `ConversationalAgentSettings` | interface | `dist/nodes/agent/flow/spec.d.ts:13-37` | Supporting types | How a conversational agent gets its turn — the node's own `conversationalAgentSettings` sub-object. |
|
|
104
104
|
| `ConversationAppearance` | interface | `dist/nodes/trigger/flow/spec.d.ts:55-71` | Supporting types | How the chat that starts a conversation-triggered flow looks: the conversation trigger's `appearance` (1.3), the same… |
|
|
105
105
|
| `conversationContext` | function | `dist/nodes/conversation/flow/factories.d.ts:44-58` | Actions | READ a conversation's transcript so far without waiting (`uipath.conversational.get-conversation-context`) — the shape a… |
|
|
106
106
|
| `ConversationContextInputs` | interface | `dist/nodes/conversation/flow/spec.d.ts:37-44` | Option shapes | 2 field(s) |
|
|
107
107
|
| `conversationTrigger` | function | `dist/nodes/trigger/flow/factories.d.ts:61-103` | Actions | Start the flow when a new CONVERSATION is created (`core.trigger.conversation`) — the entry point for a chat-driven… |
|
|
108
|
-
| `createOutgoingCall` | function | `dist/nodes/agent/flow/factories.d.ts:9-
|
|
108
|
+
| `createOutgoingCall` | function | `dist/nodes/agent/flow/factories.d.ts:9-31` | Actions | Place an outgoing phone call (`uipath.conversational.voice.create-outgoing-call`) and get back the `callContext` every… |
|
|
109
109
|
| `CreateOutgoingCallInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:103-112` | Option shapes | What `createOutgoingCall()` takes: the two numbers, in E.164. |
|
|
110
110
|
| `CustomGuardrail` | interface | `dist/core/actions.d.ts:340-352` | Supporting types | A rule-based guardrail you author in place. |
|
|
111
111
|
| `dataFabricCreate` | function | `dist/nodes/data-fabric/flow/factories.d.ts:56-79` | Actions | Create an entity record in Data Fabric (`core.datafabric.create`). |
|
|
@@ -134,7 +134,7 @@ could hand you spans for a version you do not have.
|
|
|
134
134
|
| `dynamicExtract` | function | `dist/nodes/document/flow/factories.d.ts:20-30` | Actions | Extract fields from a document with an INLINE schema — Dynamic Extract (`uipath.ixp.extract-document-builder`), the… |
|
|
135
135
|
| `DynamicExtractInputs` | interface | `dist/nodes/document/flow/spec.d.ts:56-91` | Option shapes | What `dynamicExtract()` takes: the document and the fields to extract from it. |
|
|
136
136
|
| `EdgeRoute` | interface | `dist/flow-sdk.d.ts:633-647` | Supporting types | One edge's route: user-dragged bends and/or the auto-router's waypoints. |
|
|
137
|
-
| `endCall` | function | `dist/nodes/agent/flow/factories.d.ts:
|
|
137
|
+
| `endCall` | function | `dist/nodes/agent/flow/factories.d.ts:32-39` | Actions | Hang up (`uipath.conversational.voice.end-call`). |
|
|
138
138
|
| `EndCallInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:113-121` | Option shapes | What `endCall()` takes: the call to hang up. |
|
|
139
139
|
| `EntityRef` | interface | `dist/core/resource-resolution.d.ts:18-28` | Supporting types | A Data Fabric entity by name and folder path: a ResourceRef of kind `Entity`, spelled as the plain object a field that… |
|
|
140
140
|
| `entryInput` | function | `dist/core/expr.d.ts:62-72` | Expressions and types | Reference an ENTRY POINT's scoped input: `entryInput('nightly', 'batchDate')` reads `$vars.nightly.output.batchDate` —… |
|
|
@@ -186,7 +186,7 @@ could hand you spans for a version you do not have.
|
|
|
186
186
|
| `HttpInputs` | type | `dist/nodes/http/flow/spec.d.ts:126-143` | Option shapes | |
|
|
187
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
|
-
| `inlineAgent` | function | `dist/nodes/agent/flow/factories.d.ts:
|
|
189
|
+
| `inlineAgent` | function | `dist/nodes/agent/flow/factories.d.ts:90-140` | 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. |
|
|
191
191
|
| `InlineAgentInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:184-445` | Option shapes | What `inlineAgent()` takes: the model and prompts, the inputs and `returns`, the run settings, and the resources the… |
|
|
192
192
|
| `InOutField` | interface | `dist/core/actions.d.ts:243-260` | Supporting types | A value the reviewer READS **and can correct**: pre-filled from the flow, editable on the form, and the (possibly… |
|
|
@@ -271,7 +271,7 @@ could hand you spans for a version you do not have.
|
|
|
271
271
|
| `StickyNoteColor` | type | `dist/flow-sdk.d.ts:654-659` | Supporting types | A sticky note's swatch. |
|
|
272
272
|
| `subflow` | function | `dist/flow-sdk.d.ts:1679-1718` | Flow construction | Run another flow as one step, and read back what it returns. |
|
|
273
273
|
| `SubflowSpec` | interface | `dist/flow-sdk.d.ts:52-59` | Supporting types | A step that runs a child flow. |
|
|
274
|
-
| `summarize` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:8-
|
|
274
|
+
| `summarize` | function | `dist/nodes/ai-patterns/flow/factories.d.ts:8-54` | Actions | Summarize a document with citations — the platform's **Summarize** node. |
|
|
275
275
|
| `SummarizeInputs` | interface | `dist/nodes/ai-patterns/flow/spec.d.ts:8-40` | Option shapes | 3 field(s) |
|
|
276
276
|
| `SwitchArm` | interface | `dist/flow-sdk.d.ts:201-220` | Supporting types | One arm of a built `.switch` (the serializer's view: body already collected). |
|
|
277
277
|
| `SwitchCase` | type | `dist/flow-sdk.d.ts:184-200` | Supporting types | One case of `.switch(name, on, cases)`: either `{ value }`, taken when `on === value`, or `{ when }`, taken when its own… |
|
|
@@ -295,7 +295,7 @@ could hand you spans for a version you do not have.
|
|
|
295
295
|
| `v` | function | `dist/core/expr.d.ts:29-41` | Expressions and types | Reference a flow variable or output by name → `$vars.<name>`. |
|
|
296
296
|
| `VarDecl` | interface | `dist/flow-sdk.d.ts:66-78` | Supporting types | 7 field(s) |
|
|
297
297
|
| `VarSpec` | interface | `dist/flow-sdk.d.ts:79-134` | Supporting types | The rich spelling of a variable declaration: pass it instead of a bare `types.*` descriptor wherever `.input()` /… |
|
|
298
|
-
| `voiceAgent` | function | `dist/nodes/agent/flow/factories.d.ts:
|
|
298
|
+
| `voiceAgent` | function | `dist/nodes/agent/flow/factories.d.ts:40-64` | Actions | Put a VOICE agent on a live call (`uipath.agent.voice`) — it speaks and listens for one turn, then the flow continues. |
|
|
299
299
|
| `VoiceAgentInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:145-183` | Option shapes | What `voiceAgent()` takes: the agent's instructions, the call it joins, how it sounds, and the resources it attaches… |
|
|
300
300
|
| `VoiceSettings` | interface | `dist/nodes/agent/flow/spec.d.ts:122-144` | Supporting types | The audio settings a voice agent speaks with. |
|
|
301
301
|
| `voiceTrigger` | function | `dist/nodes/trigger/flow/factories.d.ts:104-134` | Actions | Start the flow when a phone call comes IN (`core.trigger.voice`). |
|
|
@@ -5265,6 +5265,232 @@
|
|
|
5265
5265
|
]
|
|
5266
5266
|
}
|
|
5267
5267
|
},
|
|
5268
|
+
"uipath.pattern.deep-rag@1.1": {
|
|
5269
|
+
"nodeType": "uipath.pattern.deep-rag",
|
|
5270
|
+
"version": "1.1",
|
|
5271
|
+
"category": "document-processing",
|
|
5272
|
+
"tags": [
|
|
5273
|
+
"synthesis",
|
|
5274
|
+
"citation",
|
|
5275
|
+
"reasoning"
|
|
5276
|
+
],
|
|
5277
|
+
"sortOrder": 1,
|
|
5278
|
+
"supportsErrorHandling": true,
|
|
5279
|
+
"description": "Create a complex summary of a document",
|
|
5280
|
+
"display": {
|
|
5281
|
+
"label": "Summarize",
|
|
5282
|
+
"icon": "sigma",
|
|
5283
|
+
"isPreview": true
|
|
5284
|
+
},
|
|
5285
|
+
"handleConfiguration": [
|
|
5286
|
+
{
|
|
5287
|
+
"position": "left",
|
|
5288
|
+
"handles": [
|
|
5289
|
+
{
|
|
5290
|
+
"id": "input",
|
|
5291
|
+
"type": "target",
|
|
5292
|
+
"handleType": "input"
|
|
5293
|
+
}
|
|
5294
|
+
]
|
|
5295
|
+
},
|
|
5296
|
+
{
|
|
5297
|
+
"position": "right",
|
|
5298
|
+
"handles": [
|
|
5299
|
+
{
|
|
5300
|
+
"id": "output",
|
|
5301
|
+
"type": "source",
|
|
5302
|
+
"handleType": "output"
|
|
5303
|
+
},
|
|
5304
|
+
{
|
|
5305
|
+
"id": "error",
|
|
5306
|
+
"label": "Error",
|
|
5307
|
+
"type": "source",
|
|
5308
|
+
"handleType": "output",
|
|
5309
|
+
"visible": "{inputs.errorHandlingEnabled}",
|
|
5310
|
+
"constraints": {
|
|
5311
|
+
"maxConnections": 1
|
|
5312
|
+
}
|
|
5313
|
+
}
|
|
5314
|
+
]
|
|
5315
|
+
}
|
|
5316
|
+
],
|
|
5317
|
+
"model": {
|
|
5318
|
+
"type": "bpmn:ServiceTask",
|
|
5319
|
+
"serviceType": "ECS.DeepRag"
|
|
5320
|
+
},
|
|
5321
|
+
"inputDefinition": {
|
|
5322
|
+
"type": "object",
|
|
5323
|
+
"properties": {
|
|
5324
|
+
"attachment": {
|
|
5325
|
+
"type": "string"
|
|
5326
|
+
},
|
|
5327
|
+
"prompt": {
|
|
5328
|
+
"type": "string"
|
|
5329
|
+
},
|
|
5330
|
+
"returnCitations": {
|
|
5331
|
+
"type": "boolean"
|
|
5332
|
+
}
|
|
5333
|
+
},
|
|
5334
|
+
"required": [
|
|
5335
|
+
"attachment",
|
|
5336
|
+
"prompt"
|
|
5337
|
+
]
|
|
5338
|
+
},
|
|
5339
|
+
"inputDefaults": {
|
|
5340
|
+
"attachment": "",
|
|
5341
|
+
"prompt": "",
|
|
5342
|
+
"returnCitations": false
|
|
5343
|
+
},
|
|
5344
|
+
"outputDefinition": {
|
|
5345
|
+
"output": {
|
|
5346
|
+
"type": "object",
|
|
5347
|
+
"source": "=response",
|
|
5348
|
+
"var": "output",
|
|
5349
|
+
"schema": {
|
|
5350
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5351
|
+
"type": "object",
|
|
5352
|
+
"properties": {
|
|
5353
|
+
"id": {
|
|
5354
|
+
"type": "string"
|
|
5355
|
+
},
|
|
5356
|
+
"content": {
|
|
5357
|
+
"type": [
|
|
5358
|
+
"object",
|
|
5359
|
+
"null"
|
|
5360
|
+
],
|
|
5361
|
+
"properties": {
|
|
5362
|
+
"Text": {
|
|
5363
|
+
"type": "string"
|
|
5364
|
+
},
|
|
5365
|
+
"Citations": {
|
|
5366
|
+
"type": [
|
|
5367
|
+
"array",
|
|
5368
|
+
"null"
|
|
5369
|
+
],
|
|
5370
|
+
"items": {
|
|
5371
|
+
"type": "object",
|
|
5372
|
+
"properties": {
|
|
5373
|
+
"Ordinal": {
|
|
5374
|
+
"type": "integer"
|
|
5375
|
+
},
|
|
5376
|
+
"PageNumber": {
|
|
5377
|
+
"type": "integer"
|
|
5378
|
+
},
|
|
5379
|
+
"Source": {
|
|
5380
|
+
"type": "string"
|
|
5381
|
+
},
|
|
5382
|
+
"Reference": {
|
|
5383
|
+
"type": "string"
|
|
5384
|
+
}
|
|
5385
|
+
}
|
|
5386
|
+
}
|
|
5387
|
+
}
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5392
|
+
},
|
|
5393
|
+
"error": {
|
|
5394
|
+
"type": "object",
|
|
5395
|
+
"description": "Error information if the node fails",
|
|
5396
|
+
"source": "=Error",
|
|
5397
|
+
"var": "error",
|
|
5398
|
+
"schema": {
|
|
5399
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5400
|
+
"type": "object",
|
|
5401
|
+
"required": [
|
|
5402
|
+
"code",
|
|
5403
|
+
"message",
|
|
5404
|
+
"detail",
|
|
5405
|
+
"category",
|
|
5406
|
+
"status"
|
|
5407
|
+
],
|
|
5408
|
+
"properties": {
|
|
5409
|
+
"code": {
|
|
5410
|
+
"type": "string",
|
|
5411
|
+
"description": "Error code as a string"
|
|
5412
|
+
},
|
|
5413
|
+
"message": {
|
|
5414
|
+
"type": "string",
|
|
5415
|
+
"description": "High-level error message"
|
|
5416
|
+
},
|
|
5417
|
+
"detail": {
|
|
5418
|
+
"type": "string",
|
|
5419
|
+
"description": "Detailed error description"
|
|
5420
|
+
},
|
|
5421
|
+
"category": {
|
|
5422
|
+
"type": "string",
|
|
5423
|
+
"description": "Error category"
|
|
5424
|
+
},
|
|
5425
|
+
"status": {
|
|
5426
|
+
"type": "integer",
|
|
5427
|
+
"description": "HTTP status code"
|
|
5428
|
+
}
|
|
5429
|
+
},
|
|
5430
|
+
"additionalProperties": false
|
|
5431
|
+
}
|
|
5432
|
+
}
|
|
5433
|
+
},
|
|
5434
|
+
"form": {
|
|
5435
|
+
"id": "deep-rag-properties",
|
|
5436
|
+
"title": "Summarize Configuration",
|
|
5437
|
+
"sections": [
|
|
5438
|
+
{
|
|
5439
|
+
"id": "source",
|
|
5440
|
+
"title": "Data source",
|
|
5441
|
+
"collapsible": true,
|
|
5442
|
+
"defaultExpanded": true,
|
|
5443
|
+
"fields": [
|
|
5444
|
+
{
|
|
5445
|
+
"name": "inputs.attachment",
|
|
5446
|
+
"type": "file",
|
|
5447
|
+
"label": "Attachment",
|
|
5448
|
+
"description": "The summary is generated from this file or document.",
|
|
5449
|
+
"validation": {
|
|
5450
|
+
"required": true,
|
|
5451
|
+
"messages": {
|
|
5452
|
+
"required": "Attachment is required"
|
|
5453
|
+
}
|
|
5454
|
+
}
|
|
5455
|
+
},
|
|
5456
|
+
{
|
|
5457
|
+
"name": "inputs.prompt",
|
|
5458
|
+
"type": "custom",
|
|
5459
|
+
"component": "prompt-editor",
|
|
5460
|
+
"label": "Prompt",
|
|
5461
|
+
"description": "The prompt defines what the summary should focus on.",
|
|
5462
|
+
"componentProps": {
|
|
5463
|
+
"multiline": true,
|
|
5464
|
+
"minRows": 4,
|
|
5465
|
+
"maxRows": 20,
|
|
5466
|
+
"placeholder": "Summarize the key findings and risks"
|
|
5467
|
+
},
|
|
5468
|
+
"validation": {
|
|
5469
|
+
"required": true,
|
|
5470
|
+
"messages": {
|
|
5471
|
+
"required": "Prompt is required"
|
|
5472
|
+
}
|
|
5473
|
+
}
|
|
5474
|
+
}
|
|
5475
|
+
]
|
|
5476
|
+
},
|
|
5477
|
+
{
|
|
5478
|
+
"id": "citations",
|
|
5479
|
+
"title": "Citations",
|
|
5480
|
+
"collapsible": true,
|
|
5481
|
+
"defaultExpanded": false,
|
|
5482
|
+
"fields": [
|
|
5483
|
+
{
|
|
5484
|
+
"name": "inputs.returnCitations",
|
|
5485
|
+
"type": "checkbox",
|
|
5486
|
+
"label": "Include citations",
|
|
5487
|
+
"description": "Citations link generated summaries to source material."
|
|
5488
|
+
}
|
|
5489
|
+
]
|
|
5490
|
+
}
|
|
5491
|
+
]
|
|
5492
|
+
}
|
|
5493
|
+
},
|
|
5268
5494
|
"uipath.pattern.batch-transform@1.0": {
|
|
5269
5495
|
"nodeType": "uipath.pattern.batch-transform",
|
|
5270
5496
|
"version": "1.0",
|
|
@@ -14020,6 +14246,230 @@
|
|
|
14020
14246
|
},
|
|
14021
14247
|
"supportsErrorHandling": true
|
|
14022
14248
|
},
|
|
14249
|
+
"uipath.conversational.voice.create-outgoing-call@1.1": {
|
|
14250
|
+
"nodeType": "uipath.conversational.voice.create-outgoing-call",
|
|
14251
|
+
"supportsErrorHandling": true,
|
|
14252
|
+
"version": "1.1",
|
|
14253
|
+
"category": "voice-tools",
|
|
14254
|
+
"description": "Dial an outbound phone call and wait until the media stream is open.",
|
|
14255
|
+
"tags": [
|
|
14256
|
+
"voice",
|
|
14257
|
+
"call",
|
|
14258
|
+
"outgoing",
|
|
14259
|
+
"phone",
|
|
14260
|
+
"dial"
|
|
14261
|
+
],
|
|
14262
|
+
"sortOrder": 77,
|
|
14263
|
+
"display": {
|
|
14264
|
+
"label": "Create outgoing call",
|
|
14265
|
+
"icon": "phoneOutgoing"
|
|
14266
|
+
},
|
|
14267
|
+
"handleConfiguration": [
|
|
14268
|
+
{
|
|
14269
|
+
"position": "left",
|
|
14270
|
+
"handles": [
|
|
14271
|
+
{
|
|
14272
|
+
"id": "input",
|
|
14273
|
+
"type": "target",
|
|
14274
|
+
"handleType": "input"
|
|
14275
|
+
}
|
|
14276
|
+
]
|
|
14277
|
+
},
|
|
14278
|
+
{
|
|
14279
|
+
"position": "right",
|
|
14280
|
+
"handles": [
|
|
14281
|
+
{
|
|
14282
|
+
"id": "success",
|
|
14283
|
+
"type": "source",
|
|
14284
|
+
"handleType": "output"
|
|
14285
|
+
},
|
|
14286
|
+
{
|
|
14287
|
+
"id": "error",
|
|
14288
|
+
"label": "Error",
|
|
14289
|
+
"type": "source",
|
|
14290
|
+
"handleType": "output",
|
|
14291
|
+
"visible": "{inputs.errorHandlingEnabled}",
|
|
14292
|
+
"constraints": {
|
|
14293
|
+
"maxConnections": 1
|
|
14294
|
+
}
|
|
14295
|
+
}
|
|
14296
|
+
]
|
|
14297
|
+
}
|
|
14298
|
+
],
|
|
14299
|
+
"model": {
|
|
14300
|
+
"type": "bpmn:ServiceTask",
|
|
14301
|
+
"serviceType": "ConversationalService.CreateOutgoingCall"
|
|
14302
|
+
},
|
|
14303
|
+
"inputDefinition": {
|
|
14304
|
+
"type": "object",
|
|
14305
|
+
"properties": {
|
|
14306
|
+
"from": {
|
|
14307
|
+
"type": "string",
|
|
14308
|
+
"minLength": 1,
|
|
14309
|
+
"errorMessage": "From number is required"
|
|
14310
|
+
},
|
|
14311
|
+
"to": {
|
|
14312
|
+
"type": "string",
|
|
14313
|
+
"minLength": 1,
|
|
14314
|
+
"errorMessage": "Destination phone number is required"
|
|
14315
|
+
}
|
|
14316
|
+
},
|
|
14317
|
+
"required": [
|
|
14318
|
+
"from",
|
|
14319
|
+
"to"
|
|
14320
|
+
]
|
|
14321
|
+
},
|
|
14322
|
+
"inputDefaults": {
|
|
14323
|
+
"from": "",
|
|
14324
|
+
"to": ""
|
|
14325
|
+
},
|
|
14326
|
+
"outputDefinition": {
|
|
14327
|
+
"output": {
|
|
14328
|
+
"type": "object",
|
|
14329
|
+
"description": "The created call context.",
|
|
14330
|
+
"source": "=response",
|
|
14331
|
+
"var": "output",
|
|
14332
|
+
"schema": {
|
|
14333
|
+
"type": "object",
|
|
14334
|
+
"properties": {
|
|
14335
|
+
"callContext": {
|
|
14336
|
+
"type": "object",
|
|
14337
|
+
"description": "Identifies the live call. Pass to voice service tasks and conversational agents.",
|
|
14338
|
+
"properties": {
|
|
14339
|
+
"type": {
|
|
14340
|
+
"type": "string",
|
|
14341
|
+
"enum": [
|
|
14342
|
+
"phone",
|
|
14343
|
+
"web"
|
|
14344
|
+
],
|
|
14345
|
+
"description": "Call medium"
|
|
14346
|
+
},
|
|
14347
|
+
"id": {
|
|
14348
|
+
"type": "string",
|
|
14349
|
+
"description": "Provider-side call identifier (e.g. Twilio call SID for phone)"
|
|
14350
|
+
},
|
|
14351
|
+
"conversationId": {
|
|
14352
|
+
"type": "string",
|
|
14353
|
+
"format": "uuid",
|
|
14354
|
+
"description": "Identifier of the conversation associated with this call"
|
|
14355
|
+
},
|
|
14356
|
+
"from": {
|
|
14357
|
+
"type": [
|
|
14358
|
+
"string",
|
|
14359
|
+
"null"
|
|
14360
|
+
],
|
|
14361
|
+
"description": "Phone number the call was placed from: the caller on an incoming call, your number on an outgoing one."
|
|
14362
|
+
},
|
|
14363
|
+
"to": {
|
|
14364
|
+
"type": [
|
|
14365
|
+
"string",
|
|
14366
|
+
"null"
|
|
14367
|
+
],
|
|
14368
|
+
"description": "Phone number the call was placed to: your number on an incoming call, the callee on an outgoing one."
|
|
14369
|
+
}
|
|
14370
|
+
},
|
|
14371
|
+
"required": [
|
|
14372
|
+
"type",
|
|
14373
|
+
"id",
|
|
14374
|
+
"conversationId"
|
|
14375
|
+
]
|
|
14376
|
+
}
|
|
14377
|
+
},
|
|
14378
|
+
"required": [
|
|
14379
|
+
"callContext"
|
|
14380
|
+
]
|
|
14381
|
+
}
|
|
14382
|
+
},
|
|
14383
|
+
"error": {
|
|
14384
|
+
"type": "object",
|
|
14385
|
+
"description": "Error information if the node fails",
|
|
14386
|
+
"source": "=Error",
|
|
14387
|
+
"var": "error",
|
|
14388
|
+
"schema": {
|
|
14389
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
14390
|
+
"type": "object",
|
|
14391
|
+
"required": [
|
|
14392
|
+
"code",
|
|
14393
|
+
"message",
|
|
14394
|
+
"detail",
|
|
14395
|
+
"category",
|
|
14396
|
+
"status"
|
|
14397
|
+
],
|
|
14398
|
+
"properties": {
|
|
14399
|
+
"code": {
|
|
14400
|
+
"type": "string",
|
|
14401
|
+
"description": "Error code as a string"
|
|
14402
|
+
},
|
|
14403
|
+
"message": {
|
|
14404
|
+
"type": "string",
|
|
14405
|
+
"description": "High-level error message"
|
|
14406
|
+
},
|
|
14407
|
+
"detail": {
|
|
14408
|
+
"type": "string",
|
|
14409
|
+
"description": "Detailed error description"
|
|
14410
|
+
},
|
|
14411
|
+
"category": {
|
|
14412
|
+
"type": "string",
|
|
14413
|
+
"description": "Error category"
|
|
14414
|
+
},
|
|
14415
|
+
"status": {
|
|
14416
|
+
"type": "integer",
|
|
14417
|
+
"description": "HTTP status code"
|
|
14418
|
+
}
|
|
14419
|
+
},
|
|
14420
|
+
"additionalProperties": false
|
|
14421
|
+
}
|
|
14422
|
+
}
|
|
14423
|
+
},
|
|
14424
|
+
"form": {
|
|
14425
|
+
"id": "create-outgoing-call-properties",
|
|
14426
|
+
"title": "Create outgoing call",
|
|
14427
|
+
"sections": [
|
|
14428
|
+
{
|
|
14429
|
+
"id": "configuration",
|
|
14430
|
+
"title": "Configuration",
|
|
14431
|
+
"collapsible": false,
|
|
14432
|
+
"defaultExpanded": true,
|
|
14433
|
+
"fields": [
|
|
14434
|
+
{
|
|
14435
|
+
"name": "inputs.from",
|
|
14436
|
+
"type": "custom",
|
|
14437
|
+
"component": "sip-trunk-picker",
|
|
14438
|
+
"label": "From",
|
|
14439
|
+
"description": "Outbound number to dial from. Connect numbers in Instance Management → Phone numbers.",
|
|
14440
|
+
"validation": {
|
|
14441
|
+
"required": true,
|
|
14442
|
+
"messages": {
|
|
14443
|
+
"required": "From number is required"
|
|
14444
|
+
}
|
|
14445
|
+
}
|
|
14446
|
+
},
|
|
14447
|
+
{
|
|
14448
|
+
"name": "inputs.to",
|
|
14449
|
+
"type": "custom",
|
|
14450
|
+
"component": "code-editor",
|
|
14451
|
+
"componentProps": {
|
|
14452
|
+
"singleLine": true,
|
|
14453
|
+
"showVariableButton": true,
|
|
14454
|
+
"showAiButton": false,
|
|
14455
|
+
"lineNumbers": false,
|
|
14456
|
+
"expectedType": "text",
|
|
14457
|
+
"defaultToLiteralMode": true
|
|
14458
|
+
},
|
|
14459
|
+
"label": "To",
|
|
14460
|
+
"description": "Destination phone number in E.164 format (e.g. +12025551234).",
|
|
14461
|
+
"validation": {
|
|
14462
|
+
"required": true,
|
|
14463
|
+
"messages": {
|
|
14464
|
+
"required": "Destination phone number is required"
|
|
14465
|
+
}
|
|
14466
|
+
}
|
|
14467
|
+
}
|
|
14468
|
+
]
|
|
14469
|
+
}
|
|
14470
|
+
]
|
|
14471
|
+
}
|
|
14472
|
+
},
|
|
14023
14473
|
"uipath.conversational.voice.end-call@1.0": {
|
|
14024
14474
|
"nodeType": "uipath.conversational.voice.end-call",
|
|
14025
14475
|
"version": "1.0",
|
|
@@ -19,6 +19,12 @@ import type { ConversationalAgentInputs, CreateOutgoingCallInputs, EndCallInputs
|
|
|
19
19
|
* }))
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
22
|
+
* Writes the node at 1.1, whose `callContext` output also declares the call's
|
|
23
|
+
* `from` and `to` numbers. Pass `{ version: '1.0' }` to `.step(...)` to keep an
|
|
24
|
+
* existing 1.0 node (decompile prints that pin). A source written against an
|
|
25
|
+
* earlier release with an unpinned `createOutgoingCall()` compiled to 1.0 and
|
|
26
|
+
* now compiles to 1.1; the node's inputs are the same.
|
|
27
|
+
*
|
|
22
28
|
* @param inputs - The provisioned `from` number and the `to` number to dial.
|
|
23
29
|
* @returns An action spec to pass to `.step(...)`.
|
|
24
30
|
*/
|
|
@@ -18,6 +18,12 @@ import { builtinActionSpec } from '../../../core/actions.js';
|
|
|
18
18
|
* }))
|
|
19
19
|
* ```
|
|
20
20
|
*
|
|
21
|
+
* Writes the node at 1.1, whose `callContext` output also declares the call's
|
|
22
|
+
* `from` and `to` numbers. Pass `{ version: '1.0' }` to `.step(...)` to keep an
|
|
23
|
+
* existing 1.0 node (decompile prints that pin). A source written against an
|
|
24
|
+
* earlier release with an unpinned `createOutgoingCall()` compiled to 1.0 and
|
|
25
|
+
* now compiles to 1.1; the node's inputs are the same.
|
|
26
|
+
*
|
|
21
27
|
* @param inputs - The provisioned `from` number and the `to` number to dial.
|
|
22
28
|
* @returns An action spec to pass to `.step(...)`.
|
|
23
29
|
*/
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* The agents family's node types: the text conversational agent
|
|
3
3
|
* (`uipath.agent.conversational`, 1.6 and 1.7), the voice agent
|
|
4
4
|
* (`uipath.agent.voice`, 1.0 and 1.1), and the two voice call steps
|
|
5
|
-
* (`uipath.conversational.voice.create-outgoing-call
|
|
5
|
+
* (`uipath.conversational.voice.create-outgoing-call`, 1.0 and 1.1, and
|
|
6
|
+
* `.end-call`, 1.0).
|
|
6
7
|
* Every one is bundled. The two agents are SHELL nodes: the node carries the
|
|
7
8
|
* agent's folder (`source`) and its turn wiring, and the prompt, model and run
|
|
8
9
|
* settings live in the `<source>/agent.json` sidecar it writes (#927). Moved
|
|
@@ -366,16 +367,27 @@ function printShellAgent(spec, ctx) {
|
|
|
366
367
|
};
|
|
367
368
|
}
|
|
368
369
|
// ─── the node types ─────────────────────────────────────────────────────────
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
370
|
+
function createOutgoingCallAt(version) {
|
|
371
|
+
return {
|
|
372
|
+
kind: 'createOutgoingCall', typeName: CREATE_OUTGOING_CALL, version, factory: 'createOutgoingCall', definition: 'bundled',
|
|
373
|
+
rawNode: { factory: 'createOutgoingCall()' },
|
|
374
|
+
serialize: (spec, ctx) => serializeCall(spec, ctx, CREATE_OUTGOING_CALL),
|
|
375
|
+
deserialize: (node) => liftCall(node, 'createOutgoingCall'),
|
|
376
|
+
print: (spec, ctx) => printCall(spec, ctx),
|
|
377
|
+
check: (spec, ctx) => checkVoice('createOutgoingCall', spec.inputs, ctx),
|
|
378
|
+
// check collected no expressions for a voice step before the port; unchanged by it.
|
|
379
|
+
expressions: () => [],
|
|
380
|
+
output: opaque,
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
const createOutgoingCall = {
|
|
384
|
+
kind: 'createOutgoingCall', typeName: CREATE_OUTGOING_CALL, factory: 'createOutgoingCall',
|
|
385
|
+
// 1.1 is definition-only: its output's `callContext` also declares `from` and
|
|
386
|
+
// `to` (the two numbers). The node itself is the same at both versions. An
|
|
387
|
+
// unpinned step writes 1.1; `{ version: '1.0' }`, which decompile prints for
|
|
388
|
+
// an existing 1.0 node, keeps writing 1.0.
|
|
389
|
+
defaultVersion: '1.1',
|
|
390
|
+
versions: { '1.0': createOutgoingCallAt('1.0'), '1.1': createOutgoingCallAt('1.1') },
|
|
379
391
|
};
|
|
380
392
|
const endCall10 = {
|
|
381
393
|
kind: 'endCall', typeName: END_CALL, version: '1.0', factory: 'endCall', definition: 'bundled',
|
|
@@ -457,4 +469,4 @@ const inlineAgent = {
|
|
|
457
469
|
defaultVersion: INLINE_AGENT_DEFAULT_VERSION,
|
|
458
470
|
versions: Object.fromEntries(INLINE_AGENT_VERSIONS.map((v) => [v, inlineAgentAt(v)])),
|
|
459
471
|
};
|
|
460
|
-
export const agentNodeTypes = [
|
|
472
|
+
export const agentNodeTypes = [createOutgoingCall, endCall10, voiceAgent, conversationalAgent, inlineAgent];
|
|
@@ -20,6 +20,12 @@ import type { BatchTransformInputs, SummarizeInputs } from './spec.js';
|
|
|
20
20
|
* `content.Citations[].{Ordinal, PageNumber, Source, Reference}`. Lowercase
|
|
21
21
|
* `content.text` resolves to nothing at run time.
|
|
22
22
|
*
|
|
23
|
+
* **Version.** An unpinned `summarize()` writes the node at 1.1. Before
|
|
24
|
+
* 1.1 was bundled it wrote 1.0, so recompiling an older unpinned source
|
|
25
|
+
* changes the node's `typeVersion` (the definition differs only in its
|
|
26
|
+
* `version`). Pass `{ version: '1.0' }` as the step's options to keep 1.0;
|
|
27
|
+
* decompile prints that pin for a 1.0 node.
|
|
28
|
+
*
|
|
23
29
|
* A local run cannot reach the service: it returns the baked
|
|
24
30
|
* fixture shape, and only a real platform run (`uip maestro flow debug
|
|
25
31
|
* --attachment <var>=<file>`) calls the model.
|
|
@@ -19,6 +19,12 @@ import { builtinActionSpec } from '../../../core/actions.js';
|
|
|
19
19
|
* `content.Citations[].{Ordinal, PageNumber, Source, Reference}`. Lowercase
|
|
20
20
|
* `content.text` resolves to nothing at run time.
|
|
21
21
|
*
|
|
22
|
+
* **Version.** An unpinned `summarize()` writes the node at 1.1. Before
|
|
23
|
+
* 1.1 was bundled it wrote 1.0, so recompiling an older unpinned source
|
|
24
|
+
* changes the node's `typeVersion` (the definition differs only in its
|
|
25
|
+
* `version`). Pass `{ version: '1.0' }` as the step's options to keep 1.0;
|
|
26
|
+
* decompile prints that pin for a 1.0 node.
|
|
27
|
+
*
|
|
22
28
|
* A local run cannot reach the service: it returns the baked
|
|
23
29
|
* fixture shape, and only a real platform run (`uip maestro flow debug
|
|
24
30
|
* --attachment <var>=<file>`) calls the model.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DiagnosticCatalog } from '../../../core/nodes/family.js';
|
|
2
|
-
import type { FlowNodeType } from '../../../flow-node-type.js';
|
|
2
|
+
import type { FlowNodeType, FlowVersionedNodeType } from '../../../flow-node-type.js';
|
|
3
3
|
import type { BatchTransformInputs, SummarizeInputs } from './spec.js';
|
|
4
4
|
export type SummarizeSpec = {
|
|
5
5
|
kind: 'summarize';
|
|
@@ -16,4 +16,4 @@ export type BatchTransformSpec = {
|
|
|
16
16
|
* so first, naming the step.
|
|
17
17
|
*/
|
|
18
18
|
export declare const AI_PATTERN_DIAGNOSTICS: DiagnosticCatalog;
|
|
19
|
-
export declare const aiPatternNodeTypes: (
|
|
19
|
+
export declare const aiPatternNodeTypes: (FlowVersionedNodeType<SummarizeSpec> | FlowNodeType<BatchTransformSpec>)[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The two AI-pattern node types: `uipath.pattern.deep-rag` (Summarize)
|
|
3
|
-
* `uipath.pattern.batch-transform`,
|
|
2
|
+
* The two AI-pattern node types: `uipath.pattern.deep-rag` (Summarize), bundled
|
|
3
|
+
* at 1.0 and 1.1 (1.1 is the default), and `uipath.pattern.batch-transform`,
|
|
4
|
+
* bundled at 1.0. Moved from
|
|
4
5
|
* serialize.ts / decompile.ts in Phase 4 of docs/NODE_TYPE_ARCHITECTURE_DESIGN.md;
|
|
5
6
|
* serialized output and printed source unchanged.
|
|
6
7
|
*/
|
|
@@ -45,44 +46,54 @@ function printed(v, ctx) {
|
|
|
45
46
|
// that has one. The resource model stays on the DEFINITION only, as it does for
|
|
46
47
|
// the published families. Per call (`model: 'omit'`), so a `rawNode` of either
|
|
47
48
|
// type keeps what it has always written.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
port: 'output',
|
|
61
|
-
}),
|
|
62
|
-
deserialize: (node, ctx) => {
|
|
63
|
-
const i = (node.inputs ?? {});
|
|
64
|
-
return {
|
|
65
|
-
kind: 'summarize',
|
|
49
|
+
// Summarize 1.1 differs from 1.0 in its definition only (`version`): the same
|
|
50
|
+
// inputs, form and output. So one implementation serves both versions, and an
|
|
51
|
+
// unpinned `summarize()` writes 1.1. A node at 1.0 decompiles with
|
|
52
|
+
// `{ version: '1.0' }` and recompiles at 1.0.
|
|
53
|
+
function summarizeAt(version) {
|
|
54
|
+
return {
|
|
55
|
+
kind: 'summarize', typeName: 'uipath.pattern.deep-rag', version, factory: 'summarize', definition: 'bundled',
|
|
56
|
+
rawNode: { factory: 'summarize()' },
|
|
57
|
+
// Each field is written under the NODE's own name, so the surface and the
|
|
58
|
+
// emitted file read alike.
|
|
59
|
+
serialize: ({ inputs }, ctx) => ({
|
|
60
|
+
model: 'omit',
|
|
66
61
|
inputs: {
|
|
67
|
-
attachment:
|
|
68
|
-
prompt:
|
|
69
|
-
|
|
70
|
-
...(ctx.plainValue(i.returnCitations) === true ? { returnCitations: true } : {}),
|
|
62
|
+
attachment: ctx.render(inputs.attachment),
|
|
63
|
+
prompt: ctx.render(inputs.prompt),
|
|
64
|
+
returnCitations: inputs.returnCitations ?? false,
|
|
71
65
|
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
66
|
+
port: 'output',
|
|
67
|
+
}),
|
|
68
|
+
deserialize: (node, ctx) => {
|
|
69
|
+
const i = (node.inputs ?? {});
|
|
70
|
+
return {
|
|
71
|
+
kind: 'summarize',
|
|
72
|
+
inputs: {
|
|
73
|
+
attachment: lifted(i.attachment, ctx),
|
|
74
|
+
prompt: lifted(i.prompt, ctx),
|
|
75
|
+
// The flag defaults to false in the emitted node; only `true` was authored.
|
|
76
|
+
...(ctx.plainValue(i.returnCitations) === true ? { returnCitations: true } : {}),
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
print: ({ inputs }, ctx) => ({
|
|
81
|
+
factory: 'summarize',
|
|
82
|
+
options: [
|
|
83
|
+
['attachment', printed(inputs.attachment, ctx)],
|
|
84
|
+
['prompt', printed(inputs.prompt, ctx)],
|
|
85
|
+
['returnCitations', inputs.returnCitations === true ? 'true' : undefined],
|
|
86
|
+
],
|
|
87
|
+
}),
|
|
88
|
+
check: ({ inputs }, ctx) => checkRequired(inputs, ctx),
|
|
89
|
+
// Deliberately none: references in the prompt, the attachment and the columns are not checked.
|
|
90
|
+
expressions: () => [],
|
|
91
|
+
output: () => ({ kind: 'opaque' }),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
const summarizeType = {
|
|
95
|
+
kind: 'summarize', typeName: 'uipath.pattern.deep-rag', factory: 'summarize', defaultVersion: '1.1',
|
|
96
|
+
versions: { '1.1': summarizeAt('1.1'), '1.0': summarizeAt('1.0') },
|
|
86
97
|
};
|
|
87
98
|
const batchTransformType = {
|
|
88
99
|
kind: 'batchTransform', typeName: 'uipath.pattern.batch-transform', version: '1.0', factory: 'batchTransform',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.93.0",
|
|
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",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"@types/node": "^22.7.0",
|
|
112
112
|
"esbuild": "^0.28.1"
|
|
113
113
|
},
|
|
114
|
-
"gitref": "
|
|
114
|
+
"gitref": "cffee7a830032c8012375a0275d77fa683350d38"
|
|
115
115
|
}
|