@uipath/case-tool 1.204.0 → 1.205.0-preview.258
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/THIRD-PARTY-NOTICES.md +24 -11
- package/dist/{authoring-6ckkzfc9.js → authoring-kqh34zzm.js} +49 -30
- package/dist/{business-rule-export-kg5bk8aw.js → business-rule-export-ey588rv7.js} +2 -2
- package/dist/canvas-notes-86fxx1t8.js +19 -0
- package/dist/{case-api-rvamfn02.js → case-api-sme7esce.js} +6 -6
- package/dist/case-bindings-service-cht20gqt.js +430 -0
- package/dist/case-debug-solution-projects-h3w2nx0a.js +34 -0
- package/dist/{case-debug-studio-web-service-xxfesw4v.js → case-debug-studio-web-service-3mkrtaet.js} +16 -10
- package/dist/{case-described-io-service-14hdnqcc.js → case-described-io-service-dx1f4nxe.js} +37 -11
- package/dist/case-event-trigger-bindings-g9ftnm4x.js +16 -0
- package/dist/{case-format-service-yb48785t.js → case-format-service-6aew6tqc.js} +2 -2
- package/dist/{case-pack-service-9185h6ez.js → case-pack-service-pqq8wnfd.js} +6 -6
- package/dist/case-schema-version-h820ne16.js +20 -0
- package/dist/{case-shape-reader-mw58avr0.js → case-shape-reader-dsbraetf.js} +1 -1
- package/dist/{case-splice-service-tkmb7xjp.js → case-splice-service-s5gccctq.js} +53 -8
- package/dist/{case-validate-service-c84e2bhv.js → case-validate-service-rey6btew.js} +128 -42
- package/dist/{connector-enrichment-service-hfv0kwht.js → connector-enrichment-service-crqs2216.js} +23 -20
- package/dist/{connector-lookup-service-whgjceyj.js → connector-lookup-service-dwv8q5eh.js} +6 -6
- package/dist/connector-task-shape-mpazkf7s.js +14 -0
- package/dist/{connector-task-spec-k0cwavrm.js → connector-task-spec-trs4tcb3.js} +196 -40
- package/dist/{de-MUJPA4EB-dpg7t2rw.js → de-UZI7FJDO-mwvc4cxe.js} +29 -2
- package/dist/{de-FGHEJRCI-rv513mfh.js → de-WLW6KWOJ-2qnsqdtw.js} +238 -31
- package/dist/{debug-service-ch3v6jmm.js → debug-service-7q98j726.js} +3 -3
- package/dist/{embedded-file-reader-v8c2yj2a.js → embedded-file-reader-r66242ey.js} +2 -2
- package/dist/{en-FBPVNKFN-dqt573xn.js → en-EJCBA3LK-dtpdghgj.js} +12 -4
- package/dist/{en-BWGKA5OE-1qkvb9rn.js → en-M7GQYBV2-5nfmpnfz.js} +88 -6
- package/dist/{enrichment-service-3f1kygjs.js → enrichment-service-hv7ff88p.js} +56 -12
- package/dist/{es-7SE7HX2X-8yh1aj2y.js → es-4UBUTCQA-m1ytpyx2.js} +29 -2
- package/dist/{es-KR3ZSNMP-84zphx0x.js → es-5THCNRFN-tqwyrdgy.js} +235 -28
- package/dist/{es-MX-2MYFZU7X-3rek4r73.js → es-MX-5RELIXKI-9jhqtddc.js} +29 -2
- package/dist/{es-MX-XXZJGC4R-2mr8jtgm.js → es-MX-TWZBRAXK-gqd9swzw.js} +237 -30
- package/dist/filter-engine-7ep90g7f.js +11 -0
- package/dist/{fr-Y6NPVODW-8vr1ja4b.js → fr-CERONSRC-edpxhbmb.js} +237 -30
- package/dist/{fr-MDFKNZ4C-h4a122k9.js → fr-VBM5WRC2-63z7w4mh.js} +29 -2
- package/dist/index-332n0kxj.js +282 -0
- package/dist/{index-wmffgzmr.js → index-5dxh9z60.js} +21751 -11098
- package/dist/{index-aw2gqqat.js → index-a2fvrrth.js} +4 -4
- package/dist/{index-4yanx3rn.js → index-ekwtgx7y.js} +1089 -218
- package/dist/{index-ng2f77my.js → index-fyc0k5dd.js} +985 -617
- package/dist/index-n9qvnx4x.js +29 -0
- package/dist/{index-hhsf00x8.js → index-ngs0a2he.js} +1 -1
- package/dist/{index-j2r3jb6c.js → index-xq6ajhgq.js} +2 -2
- package/dist/index.js +12 -12
- package/dist/init-entry-points-hhpv3e3f.js +98 -0
- package/dist/{input-reader-1tcqt27f.js → input-reader-c7wz8ra2.js} +3 -3
- package/dist/{ja-UTQEAP34-8e0q6swp.js → ja-43QL7CGO-c3q8gre9.js} +29 -2
- package/dist/{ja-Q5PXKJ2V-p4msxzjd.js → ja-U2MCNHGT-gz0ap1jk.js} +235 -28
- package/dist/{known-types-0h9kqwyy.js → known-types-jvkdgmzz.js} +5 -4
- package/dist/{ko-AXCHW2OK-askct7f6.js → ko-TLL6Z6CD-wrt3n8a9.js} +29 -2
- package/dist/{ko-AYBDSRZG-41mdmsg1.js → ko-XAUYQWDR-zp81gjp4.js} +237 -30
- package/dist/localSolutionDiscovery-yyx234ak.js +13 -0
- package/dist/migration-diagnosis-ns5cw4e3.js +99 -0
- package/dist/{node-strategy-5pz40tee.js → node-strategy-v442hwgd.js} +1 -1
- package/dist/node-sync-service-1wkcyn1n.js +57 -0
- package/dist/out-target-wjgmna0r.js +111 -0
- package/dist/{packager-tool-85q4f3pq.js → packager-tool-1pcmxqny.js} +3 -3
- package/dist/{packager-tool-8a9yqfq7.js → packager-tool-1yfw674x.js} +4 -2
- package/dist/{packager-tool-pdhhzfr5.js → packager-tool-29x6vran.js} +296 -417
- package/dist/packager-tool-2sn7d8fd.js +41 -0
- package/dist/packager-tool-4p11fvf4.js +92 -0
- package/dist/{packager-tool-25hng8h4.js → packager-tool-4rtktkhv.js} +16211 -13084
- package/dist/{packager-tool-yfm83bzd.js → packager-tool-67vy1fz3.js} +4 -3
- package/dist/{packager-tool-d88rqwk8.js → packager-tool-6z1hsm2h.js} +13 -5
- package/dist/packager-tool-7hw344bt.js +107 -0
- package/dist/{packager-tool-3q3d1hk8.js → packager-tool-83v804p7.js} +56 -6
- package/dist/{packager-tool-00y70spr.js → packager-tool-87y6xw3a.js} +2 -1
- package/dist/packager-tool-93mdeqay.js +18 -0
- package/dist/{packager-tool-64rg5ekd.js → packager-tool-9e59z4d6.js} +75 -7
- package/dist/{packager-tool-vepqrsse.js → packager-tool-9kf3fqtr.js} +2 -2
- package/dist/packager-tool-9kvkzc05.js +74 -0
- package/dist/{packager-tool-s6619wtx.js → packager-tool-9sd483vs.js} +2 -2
- package/dist/{packager-tool-f78ntj5g.js → packager-tool-9y1w2wds.js} +51 -6
- package/dist/packager-tool-a17g0pj1.js +62 -0
- package/dist/{packager-tool-167qap9m.js → packager-tool-aagnvyba.js} +845 -38
- package/dist/{packager-tool-0p6dbsp0.js → packager-tool-c5q10254.js} +5 -5
- package/dist/{packager-tool-wj9d9mqe.js → packager-tool-e15kqpyh.js} +12 -13
- package/dist/{packager-tool-c31qx8kc.js → packager-tool-ezds6t5e.js} +2 -2
- package/dist/{packager-tool-d3zvghjd.js → packager-tool-f2z2dscy.js} +308 -120
- package/dist/{packager-tool-hvzjm2nk.js → packager-tool-f8vwy92w.js} +2093 -5805
- package/dist/{packager-tool-rgpdaxbx.js → packager-tool-gx2cer6a.js} +5385 -1098
- package/dist/{packager-tool-xdxr3ync.js → packager-tool-hdxtgckw.js} +11 -1
- package/dist/{packager-tool-mr149jsw.js → packager-tool-k5cpxdm4.js} +17 -7
- package/dist/packager-tool-k6jbedyc.js +69 -0
- package/dist/packager-tool-kdhey8gz.js +153 -0
- package/dist/{packager-tool-cenvh23g.js → packager-tool-kyrm4e5m.js} +718 -87
- package/dist/packager-tool-mqy97y5f.js +52 -0
- package/dist/{packager-tool-jfysbxdt.js → packager-tool-mzf4gmph.js} +4 -4
- package/dist/packager-tool-n7w9wx62.js +25 -0
- package/dist/{packager-tool-7q6z6npd.js → packager-tool-pcvhcn2k.js} +93 -11
- package/dist/packager-tool-r0x3qh59.js +307 -0
- package/dist/{packager-tool-w1b5pyj6.js → packager-tool-r6b5ktzb.js} +730 -14
- package/dist/{packager-tool-zbrda9sn.js → packager-tool-rk25wp3c.js} +1 -1
- package/dist/{packager-tool-xcd87qyx.js → packager-tool-v2kcgjbf.js} +2 -3
- package/dist/{case-bindings-service-d9vezn69.js → packager-tool-wekqkmgn.js} +20 -231
- package/dist/packager-tool-yct6zp4m.js +335 -0
- package/dist/{packager-tool-kpqr938m.js → packager-tool-ydyvtknp.js} +26 -3
- package/dist/{packager-tool-v99ygh9f.js → packager-tool-yn33pw57.js} +124 -58
- package/dist/{packager-tool-4rqd21wc.js → packager-tool-yn7r7zq2.js} +19 -5
- package/dist/{packager-tool-cmwets3m.js → packager-tool-zf8f9pmm.js} +1 -1
- package/dist/packager-tool.js +3 -3
- package/dist/{project-artifacts-rng5m6r2.js → project-artifacts-bgyyb0dm.js} +1 -1
- package/dist/{pt-BR-TKHNHMET-sn91xyq0.js → pt-BR-GNQNAAZ2-xadharv4.js} +237 -30
- package/dist/{pt-BR-Y6K6XHXK-mp3hwhw1.js → pt-BR-USP2T7GD-pedn77m1.js} +29 -2
- package/dist/{pt-3DIO5QWG-59b3f4bc.js → pt-RMIAKZB4-67enhx3m.js} +29 -2
- package/dist/{pt-ROXU257Y-2f6bxev4.js → pt-TO2DARY2-ftcce1bv.js} +237 -30
- package/dist/{resolved-check-p99hysaw.js → resolved-check-aqw7568y.js} +1 -1
- package/dist/{resourcesSyncService-zwjyp1qx.js → resourcesSyncService-d302jnap.js} +32 -170
- package/dist/{ro-BWR3ONRR-vzx3hy8a.js → ro-GHOBYW2S-mhnqsgaa.js} +29 -2
- package/dist/{ro-AVAWPKOO-b89pw79r.js → ro-WUYJV6OW-a8d9qy1n.js} +235 -28
- package/dist/{sdd-convert-service-vf0ps358.js → sdd-convert-service-8jpew7vz.js} +686 -445
- package/dist/{sdd-lookup-dwzpvvwn.js → sdd-lookup-fe900sdb.js} +2 -2
- package/dist/{sdd-resolve-service-mjqad2nn.js → sdd-resolve-service-qdtmxw9b.js} +38 -13
- package/dist/sdd-resolve-siblings-6kfxc2t6.js +53 -0
- package/dist/{solution-auth-kddmbm0p.js → solution-auth-30yycqtv.js} +3 -3
- package/dist/solution-discovery-g6ksnrg1.js +38 -0
- package/dist/{strict-case-rules-tz37bspw.js → strict-case-rules-4tjcaznr.js} +3 -2
- package/dist/{strict-entry-points-v14d7y50.js → strict-entry-points-g2pd4mf4.js} +29 -1
- package/dist/{strict-sdd-audit-4aqdeh59.js → strict-sdd-audit-q7tb9yj7.js} +7 -5
- package/dist/task-type-declaration-7a8fqdvs.js +46 -0
- package/dist/tool.js +12 -12
- package/dist/{tr-5IIHSFW5-hw4cewew.js → tr-GDTLECMM-k5fhmq13.js} +29 -2
- package/dist/{tr-JMIP7ZSL-c39b6pe4.js → tr-M3F5A6AU-bb0tg39m.js} +235 -28
- package/dist/{trigger-enrichment-service-g3vt051f.js → trigger-enrichment-service-sj0p2d1j.js} +23 -20
- package/dist/trigger-entry-point-id-yhqwnkx9.js +15 -0
- package/dist/{zh-CN-IFFXSEJS-9wm9gmrv.js → zh-CN-C5G4PC7C-ds9gkptg.js} +235 -28
- package/dist/{zh-CN-R2KU4U5L-tc1hat59.js → zh-CN-I5D7WHBD-sr5h0a98.js} +29 -2
- package/dist/{zh-TW-GNKMELBF-j674515r.js → zh-TW-2AVLM723-288pkc1z.js} +29 -2
- package/dist/{zh-TW-IYBNYAMG-8727c7v2.js → zh-TW-62HZIG6O-787kdwex.js} +234 -27
- package/package.json +2 -2
- package/dist/migration-diagnosis-ag2sgd1e.js +0 -71
- package/dist/node-sync-service-2tfrgbjs.js +0 -36
- package/dist/out-target-jakehnd3.js +0 -70
- package/dist/packager-tool-57pzrd0g.js +0 -32
- package/dist/packager-tool-dthjwajc.js +0 -13
- package/dist/packager-tool-xy04yy0v.js +0 -32
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catchError,
|
|
3
3
|
logger,
|
|
4
|
+
quoteForShell,
|
|
4
5
|
unsupportedSolutionProjectType
|
|
5
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-83v804p7.js";
|
|
6
7
|
|
|
7
8
|
// ../solution-sdk/src/solution-file.ts
|
|
8
9
|
var STUDIO_WEB_PROJECT_TYPE_OVERRIDES = {
|
|
@@ -466,7 +467,7 @@ function buildRegistrationSuccessInstructions(solutionDir) {
|
|
|
466
467
|
return [
|
|
467
468
|
"The project is listed in the parent solution manifest.",
|
|
468
469
|
"Packing or uploading the solution will sync solution resources automatically.",
|
|
469
|
-
`To sync resources before packaging, run
|
|
470
|
+
`To sync resources before packaging, run: uip solution resources refresh --solution-folder ${quoteForShell(solutionDir)}`
|
|
470
471
|
].join(`
|
|
471
472
|
`);
|
|
472
473
|
}
|
|
@@ -537,4 +538,4 @@ async function findSolutionFileUpward(fs, startDir) {
|
|
|
537
538
|
|
|
538
539
|
export { normalizeProjectType, toPortableRelativePath, readUipxFile, createSolutionManifest, autoScaffoldSolution, prepareProjectLocation, resolveSolutionDir, updateUipxSolutionId, findSolutionFile, updateSolutionFile, tryRegisterProjectInParentSolution, findNearestParentUipxFile, readSolutionManifest, isProjectRegisteredInSolution, findSolutionFileUpward };
|
|
539
540
|
|
|
540
|
-
//# debugId=
|
|
541
|
+
//# debugId=DDAB1B523F5F442564756E2164756E21
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/chunk-
|
|
1
|
+
// ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/chunk-WVKK2NUW.js
|
|
2
2
|
var agentDuplicateToolNames_duplicateName_message = 'Tool name "{{name}}" is used by multiple tools on this agent. Each tool must have a unique name.';
|
|
3
3
|
var agentEmptyVar_unwrittenVariable_message = `Agent uses "$vars.{{root}}" but no node assigns a value to "{{root}}", so it will be empty at runtime. Bind it to a node output (e.g. a connector's "<node>.output") or give it a value source.`;
|
|
4
4
|
var agentFileNotAnalyzed_unconsumedFileVar_message = 'Agent uses the file variable "$vars.{{path}}" in its prompt, but it has no tool that can read files, so the agent gets only the file reference and not its contents. Add a file-reading tool such as Analyze Files.';
|
|
5
|
-
var agentFileOutput_unsupported_message = `{{label}}: agents can't create files, so this "file" output produces an invalid attachment at runtime unless a connected tool supplies the file.`;
|
|
6
5
|
var agentInputRefs_ambiguousUnderscoreRoot_message = 'Prompt references "$vars.{{ref}}", but the name "{{rootSegment}}" contains "__", which is reserved as the agent-input encoding separator and cannot round-trip. Rename it to remove the double underscore.';
|
|
7
6
|
var agentInputRefs_reservedMetadataRoot_message = 'Prompt references "$vars.{{ref}}", but a variable or node named "metadata" collides with the "$metadata" namespace once serialized for the agent and cannot round-trip. Rename it to something other than "metadata".';
|
|
8
7
|
var agentInputRefs_reservedNamespace_message = '"$agent.{{ref}}" is a Flow-internal agent-runtime namespace and cannot be used directly in prompts. Reference the flow variable via "$vars.{{ref}}" or "$metadata.{{ref}}" instead.';
|
|
9
8
|
var agentInputRefs_unresolvedRef_message = 'Prompt references "$vars.{{ref}}" but no workflow variable or node "{{rootSegment}}" exists. Add the variable/node to the flow or remove the reference.';
|
|
9
|
+
var agenticSwitchDuplicateChoices_duplicateName_message = 'Choice name "{{name}}" is used more than once. Give each choice a unique name.';
|
|
10
10
|
var conditionExpression_decisionWrapped_message = 'Invalid condition on "{{nodeLabel}}": {{error}}';
|
|
11
11
|
var conditionExpression_incomplete_message = "Incomplete expression";
|
|
12
12
|
var conditionExpression_invalid_message = "Invalid expression";
|
|
@@ -34,6 +34,7 @@ var entityQuery_uncarryableExpression_message = "Store this expression in a vari
|
|
|
34
34
|
var entityQuery_uncarryableRelationPath_message = "{{path}} cannot be used as written. Remove any spaces, quotes or backslashes from the column name.";
|
|
35
35
|
var entityQuery_unfilteredSingleRecord_message = "Add a condition, or read multiple records instead";
|
|
36
36
|
var entityQuery_unresolvedRelation_message = "{{path}} is no longer available. Pick a field on this entity or one of its direct relations.";
|
|
37
|
+
var entitySchema_fieldMissing_message = "Remove or replace fields this entity no longer has: {{fields}}";
|
|
37
38
|
var entityWrite_requiredFieldBlanked_message = "Set a value for {{fields}}, or remove them from the update";
|
|
38
39
|
var entityWrite_requiredFieldMissing_message = "Set a value for {{fields}}";
|
|
39
40
|
var escalation_appRequired_message = "Select an action app";
|
|
@@ -51,6 +52,9 @@ var hitlQuickForm_emptySchema_message = "Add at least one field";
|
|
|
51
52
|
var hitlQuickForm_fieldLabelRequired_message = "Field label is required";
|
|
52
53
|
var ixpSchemaDraft_invalidWithDetail_message = 'Schema is not valid on "{{nodeLabel}}": {{detail}}';
|
|
53
54
|
var ixpSchemaDraft_invalid_message = 'Schema is not valid on "{{nodeLabel}}".';
|
|
55
|
+
var ixpSchemaLimits_exceeded_message = '{{subject}} on "{{nodeLabel}}" is {{actual}} characters, over the {{limit}} character limit.';
|
|
56
|
+
var nodeId_invalidFormat_message = "Rename the node ID to use only letters, numbers, and underscores, starting with a letter or underscore";
|
|
57
|
+
var nodeId_reservedWord_message = 'Rename the node ID — "{{id}}" is a reserved word';
|
|
54
58
|
var outputMapping_missing_message = '"{{nodeLabel}}" is missing output mapping for "{{varId}}"';
|
|
55
59
|
var schemaValidator_genericKeyword_message = '"{{fieldName}}" on "{{nodeLabel}}": {{detail}}';
|
|
56
60
|
var schemaValidator_invalidEnum_message = '"{{fieldName}}" on "{{nodeLabel}}" must be one of the allowed values';
|
|
@@ -67,11 +71,11 @@ var en_default = {
|
|
|
67
71
|
agentDuplicateToolNames_duplicateName_message,
|
|
68
72
|
agentEmptyVar_unwrittenVariable_message,
|
|
69
73
|
agentFileNotAnalyzed_unconsumedFileVar_message,
|
|
70
|
-
agentFileOutput_unsupported_message,
|
|
71
74
|
agentInputRefs_ambiguousUnderscoreRoot_message,
|
|
72
75
|
agentInputRefs_reservedMetadataRoot_message,
|
|
73
76
|
agentInputRefs_reservedNamespace_message,
|
|
74
77
|
agentInputRefs_unresolvedRef_message,
|
|
78
|
+
agenticSwitchDuplicateChoices_duplicateName_message,
|
|
75
79
|
conditionExpression_decisionWrapped_message,
|
|
76
80
|
conditionExpression_incomplete_message,
|
|
77
81
|
conditionExpression_invalid_message,
|
|
@@ -99,6 +103,7 @@ var en_default = {
|
|
|
99
103
|
entityQuery_uncarryableRelationPath_message,
|
|
100
104
|
entityQuery_unfilteredSingleRecord_message,
|
|
101
105
|
entityQuery_unresolvedRelation_message,
|
|
106
|
+
entitySchema_fieldMissing_message,
|
|
102
107
|
entityWrite_requiredFieldBlanked_message,
|
|
103
108
|
entityWrite_requiredFieldMissing_message,
|
|
104
109
|
escalation_appRequired_message,
|
|
@@ -116,6 +121,9 @@ var en_default = {
|
|
|
116
121
|
hitlQuickForm_fieldLabelRequired_message,
|
|
117
122
|
ixpSchemaDraft_invalidWithDetail_message,
|
|
118
123
|
ixpSchemaDraft_invalid_message,
|
|
124
|
+
ixpSchemaLimits_exceeded_message,
|
|
125
|
+
nodeId_invalidFormat_message,
|
|
126
|
+
nodeId_reservedWord_message,
|
|
119
127
|
outputMapping_missing_message,
|
|
120
128
|
schemaValidator_genericKeyword_message,
|
|
121
129
|
schemaValidator_invalidEnum_message,
|
|
@@ -130,6 +138,6 @@ var en_default = {
|
|
|
130
138
|
triggerRequired_message
|
|
131
139
|
};
|
|
132
140
|
|
|
133
|
-
export { agentDuplicateToolNames_duplicateName_message, agentEmptyVar_unwrittenVariable_message, agentFileNotAnalyzed_unconsumedFileVar_message,
|
|
141
|
+
export { agentDuplicateToolNames_duplicateName_message, agentEmptyVar_unwrittenVariable_message, agentFileNotAnalyzed_unconsumedFileVar_message, agentInputRefs_ambiguousUnderscoreRoot_message, agentInputRefs_reservedMetadataRoot_message, agentInputRefs_reservedNamespace_message, agentInputRefs_unresolvedRef_message, agenticSwitchDuplicateChoices_duplicateName_message, conditionExpression_decisionWrapped_message, conditionExpression_incomplete_message, conditionExpression_invalid_message, conditionExpression_required_message, conversationalRequired_contextRequired_message, conversationalRequired_conversationIdRequired_message, conversationalVoiceEndCall_callContextInvalid_message, conversationalVoice_callContextInvalid_message, conversationalVoice_callContextRequired_message, dataTransform_customScriptMissing_message, dataTransform_filterMissingField_message, dataTransform_filterNoConditions_message, dataTransform_groupByAggMissingField_message, dataTransform_groupByAggMissingOutputName_message, dataTransform_groupByMissingField_message, dataTransform_mapMissingField_message, dataTransform_mapNoMappings_message, dataTransform_missingCollection_message, dataTransform_noOperations_message, doWhile_limitOutOfRange_message, entityQuery_emptyFilterExpression_message, entityQuery_emptyFilterValueList_message, entityQuery_incompleteSingleRecordRow_message, entityQuery_uncarryableExpression_message, entityQuery_uncarryableRelationPath_message, entityQuery_unfilteredSingleRecord_message, entityQuery_unresolvedRelation_message, entitySchema_fieldMissing_message, entityWrite_requiredFieldBlanked_message, entityWrite_requiredFieldMissing_message, escalation_appRequired_message, escalation_memoryArgumentRequired_message, escalation_nameRequired_message, escalation_quickFormDuplicateFieldLabel_message, escalation_recipientRequired_message, governance_hitlRequired_message, governance_maxIterationsExceeded_message, governance_maxTokensExceeded_message, governance_modelNotAvailable_message, governance_noAllowedModel_message, governance_temperatureExceeded_message, hitlQuickForm_emptySchema_message, hitlQuickForm_fieldLabelRequired_message, ixpSchemaDraft_invalidWithDetail_message, ixpSchemaDraft_invalid_message, ixpSchemaLimits_exceeded_message, nodeId_invalidFormat_message, nodeId_reservedWord_message, outputMapping_missing_message, schemaValidator_genericKeyword_message, schemaValidator_invalidEnum_message, schemaValidator_invalidField_message, schemaValidator_invalidPattern_message, schemaValidator_outOfRange_message, schemaValidator_required_message, schemaValidator_typeMismatch_message, schemaValidator_validation_genericError, scriptBody_mustache_message, singleConversationTrigger_message, triggerRequired_message, en_default };
|
|
134
142
|
|
|
135
|
-
//# debugId=
|
|
143
|
+
//# debugId=2CA7DFD5AB023C3C64756E2164756E21
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// ../maestro-sdk/src/registry/filter-engine.ts
|
|
2
|
+
function filterNodes(nodes, parsedFilters) {
|
|
3
|
+
if (!parsedFilters.filters || parsedFilters.filters.length === 0) {
|
|
4
|
+
return nodes;
|
|
5
|
+
}
|
|
6
|
+
return nodes.filter((node) => {
|
|
7
|
+
if (parsedFilters.logic === "AND") {
|
|
8
|
+
return parsedFilters.filters.every((condition) => matchesCondition(node, condition));
|
|
9
|
+
} else {
|
|
10
|
+
return parsedFilters.filters.some((condition) => matchesCondition(node, condition));
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function matchesCondition(node, condition) {
|
|
15
|
+
const fieldValue = getFieldValue(node, condition.field);
|
|
16
|
+
if (fieldValue === null || fieldValue === undefined) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
const searchValue = condition.value.toString().toLowerCase();
|
|
20
|
+
if (Array.isArray(fieldValue)) {
|
|
21
|
+
return matchesArrayField(fieldValue, condition.operator, searchValue);
|
|
22
|
+
}
|
|
23
|
+
const fieldString = fieldValue.toString().toLowerCase();
|
|
24
|
+
switch (condition.operator) {
|
|
25
|
+
case "equals":
|
|
26
|
+
return fieldString === searchValue;
|
|
27
|
+
case "contains":
|
|
28
|
+
return fieldString.includes(searchValue);
|
|
29
|
+
case "startsWith":
|
|
30
|
+
return fieldString.startsWith(searchValue);
|
|
31
|
+
case "endsWith":
|
|
32
|
+
return fieldString.endsWith(searchValue);
|
|
33
|
+
case "in": {
|
|
34
|
+
const values = searchValue.split(",").map((v) => v.trim());
|
|
35
|
+
return values.includes(fieldString);
|
|
36
|
+
}
|
|
37
|
+
default:
|
|
38
|
+
return fieldString === searchValue;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function matchesArrayField(arrayValue, operator, searchValue) {
|
|
42
|
+
const lowerArray = arrayValue.map((v) => v.toLowerCase());
|
|
43
|
+
switch (operator) {
|
|
44
|
+
case "equals":
|
|
45
|
+
return lowerArray.includes(searchValue);
|
|
46
|
+
case "contains":
|
|
47
|
+
return lowerArray.some((tag) => tag.includes(searchValue));
|
|
48
|
+
case "in": {
|
|
49
|
+
const values = searchValue.split(",").map((v) => v.trim());
|
|
50
|
+
return lowerArray.some((tag) => values.includes(tag));
|
|
51
|
+
}
|
|
52
|
+
default:
|
|
53
|
+
return lowerArray.includes(searchValue);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function getFieldValue(node, field) {
|
|
57
|
+
switch (field) {
|
|
58
|
+
case "category":
|
|
59
|
+
return node.category;
|
|
60
|
+
case "type":
|
|
61
|
+
case "nodetype":
|
|
62
|
+
return node.nodeType;
|
|
63
|
+
case "tags":
|
|
64
|
+
return node.tags;
|
|
65
|
+
case "displayname":
|
|
66
|
+
return node.display?.label;
|
|
67
|
+
case "description":
|
|
68
|
+
return node.description ?? node.display?.description;
|
|
69
|
+
default:
|
|
70
|
+
return node[field];
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
function searchWithFilters(nodes, keyword, filters) {
|
|
74
|
+
let results = nodes;
|
|
75
|
+
if (filters && filters.filters.length > 0) {
|
|
76
|
+
results = filterNodes(results, filters);
|
|
77
|
+
}
|
|
78
|
+
if (keyword && keyword.trim() !== "") {
|
|
79
|
+
const lowerKeyword = keyword.toLowerCase();
|
|
80
|
+
results = results.filter((node) => {
|
|
81
|
+
if (node.nodeType?.toLowerCase().includes(lowerKeyword)) {
|
|
82
|
+
return true;
|
|
83
|
+
}
|
|
84
|
+
if (node.category?.toLowerCase().includes(lowerKeyword)) {
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
if (node.tags?.some((tag) => tag.toLowerCase().includes(lowerKeyword))) {
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
if (node.display?.label?.toLowerCase().includes(lowerKeyword)) {
|
|
91
|
+
return true;
|
|
92
|
+
}
|
|
93
|
+
if (node.description?.toString().toLowerCase().includes(lowerKeyword)) {
|
|
94
|
+
return true;
|
|
95
|
+
}
|
|
96
|
+
if (node.display?.description?.toLowerCase().includes(lowerKeyword)) {
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
return false;
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
return results;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export { filterNodes, searchWithFilters };
|
|
106
|
+
|
|
107
|
+
//# debugId=625152056CCA62E564756E2164756E21
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-hdxtgckw.js";
|
|
4
4
|
import {
|
|
5
5
|
__commonJS,
|
|
6
6
|
__require,
|
|
@@ -2676,7 +2676,7 @@ function setGlobalLogFilePath(path) {
|
|
|
2676
2676
|
function getGlobalLogFilePath() {
|
|
2677
2677
|
return logFilePathSlot.get("");
|
|
2678
2678
|
}
|
|
2679
|
-
var DEFAULT_LOG_LEVEL =
|
|
2679
|
+
var DEFAULT_LOG_LEVEL = 2 /* WARN */;
|
|
2680
2680
|
|
|
2681
2681
|
class SimpleLogger {
|
|
2682
2682
|
__brand = "SimpleLogger";
|
|
@@ -2999,7 +2999,9 @@ var ErrorDimensions = {
|
|
|
2999
2999
|
Result: "Result",
|
|
3000
3000
|
ErrorCode: "ErrorCode",
|
|
3001
3001
|
Retry: "Retry",
|
|
3002
|
-
ErrorMessage: "ErrorMessage"
|
|
3002
|
+
ErrorMessage: "ErrorMessage",
|
|
3003
|
+
HttpStatus: "HttpStatus",
|
|
3004
|
+
UpstreamErrorCode: "UpstreamErrorCode"
|
|
3003
3005
|
};
|
|
3004
3006
|
var AuthDimensions = {
|
|
3005
3007
|
AuthenticationMethod: "AuthenticationMethod",
|
|
@@ -3987,7 +3989,9 @@ var CLI_ERROR_CODES = [
|
|
|
3987
3989
|
"timeout",
|
|
3988
3990
|
"server_error",
|
|
3989
3991
|
"method_not_allowed",
|
|
3992
|
+
"not_supported",
|
|
3990
3993
|
"configuration_error",
|
|
3994
|
+
"execution_failed",
|
|
3991
3995
|
"unknown_error"
|
|
3992
3996
|
];
|
|
3993
3997
|
var RETRY_HINTS = [
|
|
@@ -4980,7 +4984,9 @@ var OutputFormatter;
|
|
|
4980
4984
|
[ErrorDimensions.Result]: data.Result,
|
|
4981
4985
|
[ErrorDimensions.ErrorCode]: data.ErrorCode,
|
|
4982
4986
|
[ErrorDimensions.Retry]: data.Retry,
|
|
4983
|
-
[ErrorDimensions.ErrorMessage]: data.Message
|
|
4987
|
+
[ErrorDimensions.ErrorMessage]: data.Message,
|
|
4988
|
+
[ErrorDimensions.HttpStatus]: data.Context?.httpStatus?.toString(),
|
|
4989
|
+
[ErrorDimensions.UpstreamErrorCode]: data.Context?.errorCode
|
|
4984
4990
|
});
|
|
4985
4991
|
}
|
|
4986
4992
|
logOutput(normalizeOutputKeys(envelope), getOutputFormat());
|
|
@@ -5111,6 +5117,11 @@ function mapPackageMetadataOptions(opts) {
|
|
|
5111
5117
|
return fields;
|
|
5112
5118
|
}
|
|
5113
5119
|
|
|
5120
|
+
// ../common/src/shell-quote.ts
|
|
5121
|
+
function quoteForShell(value) {
|
|
5122
|
+
return `'${value.replace(/'/g, "'\\''")}'`;
|
|
5123
|
+
}
|
|
5124
|
+
|
|
5114
5125
|
// ../common/src/stdin.ts
|
|
5115
5126
|
async function readStdin() {
|
|
5116
5127
|
if (process.stdin.isTTY) {
|
|
@@ -6236,6 +6247,16 @@ var HOST_GLOBAL_FLAGS = [
|
|
|
6236
6247
|
];
|
|
6237
6248
|
var VALUE_OPTIONS = new Set(HOST_GLOBAL_OPTIONS_WITH_VALUE);
|
|
6238
6249
|
var BOOLEAN_FLAGS = new Set(HOST_GLOBAL_FLAGS);
|
|
6250
|
+
// ../common/src/http-status.ts
|
|
6251
|
+
function httpStatusOf(error) {
|
|
6252
|
+
if (!error || typeof error !== "object") {
|
|
6253
|
+
return;
|
|
6254
|
+
}
|
|
6255
|
+
if ("response" in error && error.response && typeof error.response === "object" && "status" in error.response && typeof error.response.status === "number") {
|
|
6256
|
+
return error.response.status;
|
|
6257
|
+
}
|
|
6258
|
+
return "status" in error && typeof error.status === "number" ? error.status : undefined;
|
|
6259
|
+
}
|
|
6239
6260
|
// ../common/src/interactivity-context.ts
|
|
6240
6261
|
var modeSlot = singleton("InteractivityMode");
|
|
6241
6262
|
var interactiveFlagSlot = singleton("InteractiveFlag");
|
|
@@ -6278,6 +6299,35 @@ function warnDeprecatedOptionAlias(deprecatedFlag, preferredFlag) {
|
|
|
6278
6299
|
getOutputSink().writeErr(`[WARN] ${deprecatedFlag} is deprecated. Use ${preferredFlag} instead.
|
|
6279
6300
|
`);
|
|
6280
6301
|
}
|
|
6302
|
+
function addDeprecatedOptionAlias(command, deprecatedFlags, preferredLong) {
|
|
6303
|
+
const preferred = command.options.find((option) => option.long === preferredLong);
|
|
6304
|
+
if (preferred === undefined) {
|
|
6305
|
+
throw new Error(`${preferredLong} must be registered before its deprecated alias`);
|
|
6306
|
+
}
|
|
6307
|
+
const deprecated = new Option(deprecatedFlags, `Deprecated alias for ${preferredLong}`).hideHelp();
|
|
6308
|
+
const preferredKey = preferred.attributeName();
|
|
6309
|
+
const deprecatedLabel = [deprecated.short, deprecated.long].filter((flag) => flag !== undefined).join("/");
|
|
6310
|
+
let aliasUsed = false;
|
|
6311
|
+
const conflict = () => command.error(`error: option '${deprecated.flags}' cannot be used with option '${preferred.flags}'`, {
|
|
6312
|
+
code: "commander.conflictingOption",
|
|
6313
|
+
exitCode: EXIT_CODES.ValidationError
|
|
6314
|
+
});
|
|
6315
|
+
command.on(`option:${preferred.name()}`, () => {
|
|
6316
|
+
if (aliasUsed)
|
|
6317
|
+
conflict();
|
|
6318
|
+
});
|
|
6319
|
+
command.on(`option:${deprecated.name()}`, (value) => {
|
|
6320
|
+
if (!aliasUsed) {
|
|
6321
|
+
if (command.getOptionValueSource(preferredKey) === "cli") {
|
|
6322
|
+
conflict();
|
|
6323
|
+
}
|
|
6324
|
+
warnDeprecatedOptionAlias(deprecatedLabel, preferredLong);
|
|
6325
|
+
aliasUsed = true;
|
|
6326
|
+
}
|
|
6327
|
+
command.setOptionValueWithSource(preferredKey, value, "cli");
|
|
6328
|
+
});
|
|
6329
|
+
return command.addOption(deprecated);
|
|
6330
|
+
}
|
|
6281
6331
|
var TENANT_SWITCH_COMMAND = "uip login tenant set <tenant>";
|
|
6282
6332
|
function createHiddenDeprecatedTenantOption(flags = "-t, --tenant <tenant-name>") {
|
|
6283
6333
|
return new Option(flags, `Tenant name. Deprecated; use ${TENANT_SWITCH_COMMAND} to switch active tenants.`).hideHelp().argParser((tenant) => {
|
|
@@ -6441,6 +6491,6 @@ function unsupportedSolutionProjectType(projectType) {
|
|
|
6441
6491
|
var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
|
|
6442
6492
|
// ../common/src/tool-provider.ts
|
|
6443
6493
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
6444
|
-
export { catchError, extractErrorMessage, getOutputSink, logger, RESULTS, EXIT_CODES, Pagination, pascalCaseDataKeys, OutputFormatter, summarizePlatformBody, InvalidArgumentError, Command, Option, processContext, UIPATH_HOME_DIR, DEFAULT_PAGE_SIZE, hashContent, instructionsFor, isGuid, createHiddenDeprecatedTenantOption, parseLimit, parseOffset, parseBoundedInt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, unsupportedSolutionProjectType, readStdin };
|
|
6494
|
+
export { catchError, extractErrorDetails, extractErrorMessage, getOutputSink, logger, RESULTS, EXIT_CODES, Pagination, pascalCaseDataKeys, OutputFormatter, summarizePlatformBody, InvalidArgumentError, Command, Option, processContext, UIPATH_HOME_DIR, DEFAULT_PAGE_SIZE, hashContent, instructionsFor, isGuid, httpStatusOf, addDeprecatedOptionAlias, createHiddenDeprecatedTenantOption, parseLimit, parseOffset, parseBoundedInt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, quoteForShell, unsupportedSolutionProjectType, readStdin };
|
|
6445
6495
|
|
|
6446
|
-
//# debugId=
|
|
6496
|
+
//# debugId=E909E4DE2913B0A464756E2164756E21
|
|
@@ -5,6 +5,7 @@ var NAME_BOUND_TASK_TYPES = new Set([
|
|
|
5
5
|
"api-workflow",
|
|
6
6
|
"business-rule",
|
|
7
7
|
"case-management",
|
|
8
|
+
"flow-process",
|
|
8
9
|
"function",
|
|
9
10
|
"process",
|
|
10
11
|
"rpa"
|
|
@@ -19,4 +20,4 @@ var BINDING_REFERENCE_PREFIX = "=bindings.";
|
|
|
19
20
|
|
|
20
21
|
export { NAME_BOUND_TASK_TYPES, RESOLVED_IDENTITY_KEYS, BINDING_REFERENCE_PREFIX };
|
|
21
22
|
|
|
22
|
-
//# debugId=
|
|
23
|
+
//# debugId=3D40998374A482E264756E2164756E21
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// src/services/connector-task-types.ts
|
|
2
|
+
var CONNECTOR_TASK_TYPES = new Set([
|
|
3
|
+
"execute-connector-activity",
|
|
4
|
+
"wait-for-connector"
|
|
5
|
+
]);
|
|
6
|
+
var CONTAINER_INPUT_TASK_TYPES = new Set([
|
|
7
|
+
...CONNECTOR_TASK_TYPES,
|
|
8
|
+
"http-request"
|
|
9
|
+
]);
|
|
10
|
+
var HTTP_REQUEST_REPAIR = "Regenerate the task with `uip maestro case sdd convert` from its SDD, or " + "re-add the HTTP request in Studio Web; `uip maestro case splice` does not " + "write `http-request` tasks.";
|
|
11
|
+
var SERVICE_TYPE_BY_TASK = {
|
|
12
|
+
"execute-connector-activity": "Intsvc.ActivityExecution",
|
|
13
|
+
"wait-for-connector": "Intsvc.WaitForEvent"
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { CONNECTOR_TASK_TYPES, CONTAINER_INPUT_TASK_TYPES, HTTP_REQUEST_REPAIR, SERVICE_TYPE_BY_TASK };
|
|
17
|
+
|
|
18
|
+
//# debugId=810EEC8D160FDA0A64756E2164756E21
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
RESULTS,
|
|
3
3
|
catchError,
|
|
4
4
|
logger
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-83v804p7.js";
|
|
6
6
|
|
|
7
7
|
// ../maestro-sdk/src/debug-service.ts
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
@@ -237,6 +237,12 @@ async function debugPimsWrite(config, path, body, method, stage) {
|
|
|
237
237
|
async function debugPimsPost(config, path, body, stage) {
|
|
238
238
|
return debugPimsWrite(config, path, body, "POST", stage);
|
|
239
239
|
}
|
|
240
|
+
async function debugPimsPut(config, path, body, stage) {
|
|
241
|
+
return debugPimsWrite(config, path, body, "PUT", stage);
|
|
242
|
+
}
|
|
243
|
+
async function debugPimsPatch(config, path, body, stage) {
|
|
244
|
+
return debugPimsWrite(config, path, body, "PATCH", stage);
|
|
245
|
+
}
|
|
240
246
|
async function studioWebPost(config, organizationName, path, body, extraHeaders, stage) {
|
|
241
247
|
const url = `${config.baseUrl}/${organizationName}/studio_/backend/api${path}`;
|
|
242
248
|
const headers = {
|
|
@@ -263,6 +269,25 @@ async function studioWebPost(config, organizationName, path, body, extraHeaders,
|
|
|
263
269
|
}
|
|
264
270
|
return response.json();
|
|
265
271
|
}
|
|
272
|
+
async function studioWebDelete(config, organizationName, path, stage) {
|
|
273
|
+
const url = `${config.baseUrl}/${organizationName}/studio_/backend/api${path}`;
|
|
274
|
+
const headers = {
|
|
275
|
+
Authorization: `Bearer ${config.authToken}`
|
|
276
|
+
};
|
|
277
|
+
if (typeof process !== "undefined" && process.env?.DEBUG) {
|
|
278
|
+
logger.info(`DEBUG STUDIO DELETE: ${url}`);
|
|
279
|
+
}
|
|
280
|
+
const response = await fetch(url, { method: "DELETE", headers });
|
|
281
|
+
if (!response.ok) {
|
|
282
|
+
throw new MaestroHttpError(await buildHttpErrorDetails(response, {
|
|
283
|
+
service: "studio-web",
|
|
284
|
+
method: "DELETE",
|
|
285
|
+
endpoint: path,
|
|
286
|
+
url,
|
|
287
|
+
stage
|
|
288
|
+
}));
|
|
289
|
+
}
|
|
290
|
+
}
|
|
266
291
|
|
|
267
292
|
// ../maestro-sdk/src/debug-service.ts
|
|
268
293
|
var AGENT_TARGET_RUNTIME = "pythonAgent";
|
|
@@ -306,7 +331,10 @@ function injectSolutionProjectProcessEntries(fpsProperties, solutionProjects) {
|
|
|
306
331
|
const entries = solutionProjects.map((project) => ({
|
|
307
332
|
name: project.name,
|
|
308
333
|
projectType: project.projectType,
|
|
309
|
-
executorInfo: JSON.stringify(project.projectType === "
|
|
334
|
+
executorInfo: JSON.stringify(project.projectType === "BusinessRules" ? {
|
|
335
|
+
projectId: project.projectId,
|
|
336
|
+
solutionId: project.solutionId
|
|
337
|
+
} : project.projectType === "Function" ? {
|
|
310
338
|
projectId: project.projectId,
|
|
311
339
|
command: "debug",
|
|
312
340
|
args: ["--attach=none"],
|
|
@@ -648,32 +676,64 @@ class DebugVariablesFetchFailedError extends Error {
|
|
|
648
676
|
this.name = "DebugVariablesFetchFailedError";
|
|
649
677
|
}
|
|
650
678
|
}
|
|
679
|
+
function undefinedGlobals(response, expected) {
|
|
680
|
+
const defined = response?.globalDefinitions;
|
|
681
|
+
if (defined === undefined || defined === null) {
|
|
682
|
+
return [];
|
|
683
|
+
}
|
|
684
|
+
return expected.filter((id) => !Object.hasOwn(defined, id));
|
|
685
|
+
}
|
|
651
686
|
async function fetchDebugInstanceVariables(config, instanceId, options) {
|
|
652
687
|
const endpoint = `/api/v1/debug-instances/${encodeURIComponent(instanceId)}/variables`;
|
|
653
688
|
const delays = options?.delays ?? FETCH_VARIABLES_RETRY_DELAYS_MS;
|
|
654
689
|
const attemptTimeoutMs = options?.attemptTimeoutMs ?? FETCH_VARIABLES_ATTEMPT_TIMEOUT_MS;
|
|
655
690
|
const totalAttempts = delays.length + 1;
|
|
656
691
|
const traceIds = [];
|
|
692
|
+
const startedAt = Date.now();
|
|
693
|
+
const terminalStatusAt = options?.terminalStatusAt;
|
|
694
|
+
const timing = () => {
|
|
695
|
+
const now = Date.now();
|
|
696
|
+
return {
|
|
697
|
+
elapsedMs: now - startedAt,
|
|
698
|
+
...terminalStatusAt === undefined ? {} : { sinceTerminalMs: now - terminalStatusAt }
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
const failures = [];
|
|
657
702
|
let lastMessage = "";
|
|
658
703
|
let lastStatus;
|
|
704
|
+
let lastMissing = [];
|
|
659
705
|
for (let attempt = 1;attempt <= totalAttempts; attempt++) {
|
|
660
706
|
const controller = new AbortController;
|
|
661
707
|
const timer = setTimeout(() => controller.abort(), attemptTimeoutMs);
|
|
662
708
|
const [error, result] = await catchError(debugPimsGet(config, endpoint, "fetch-output-variables", { signal: controller.signal }));
|
|
663
709
|
clearTimeout(timer);
|
|
664
|
-
|
|
710
|
+
const missing = error ? [] : undefinedGlobals(result, options?.expectGlobals ?? []);
|
|
711
|
+
if (!error && missing.length === 0) {
|
|
712
|
+
options?.onFetched?.({
|
|
713
|
+
attempts: attempt,
|
|
714
|
+
failures: [...failures],
|
|
715
|
+
...timing()
|
|
716
|
+
});
|
|
665
717
|
return result;
|
|
666
718
|
}
|
|
667
|
-
if (
|
|
719
|
+
if (!error) {
|
|
720
|
+
lastMissing = missing;
|
|
721
|
+
failures.push("unmaterialized");
|
|
722
|
+
lastMessage = `the response does not define the declared output variable(s) ${missing.join(", ")} yet (record not materialized)`;
|
|
723
|
+
lastStatus = undefined;
|
|
724
|
+
} else if (controller.signal.aborted) {
|
|
725
|
+
failures.push("timeout");
|
|
668
726
|
lastMessage = `timed out after ${attemptTimeoutMs / 1000}s`;
|
|
669
727
|
lastStatus = undefined;
|
|
670
728
|
} else if (error instanceof MaestroHttpError) {
|
|
729
|
+
failures.push("http");
|
|
671
730
|
lastMessage = error.message;
|
|
672
731
|
lastStatus = error.httpStatus;
|
|
673
732
|
if (error.parsedTraceId) {
|
|
674
733
|
traceIds.push(error.parsedTraceId);
|
|
675
734
|
}
|
|
676
735
|
} else {
|
|
736
|
+
failures.push("network");
|
|
677
737
|
lastMessage = error.message;
|
|
678
738
|
lastStatus = undefined;
|
|
679
739
|
}
|
|
@@ -689,7 +749,13 @@ async function fetchDebugInstanceVariables(config, instanceId, options) {
|
|
|
689
749
|
...lastStatus === undefined ? {} : { httpStatus: lastStatus },
|
|
690
750
|
attempts: totalAttempts,
|
|
691
751
|
traceIds,
|
|
692
|
-
endpoint
|
|
752
|
+
endpoint,
|
|
753
|
+
...lastMissing.length === 0 ? {} : {
|
|
754
|
+
missingGlobals: lastMissing,
|
|
755
|
+
expectedGlobals: [...options?.expectGlobals ?? []]
|
|
756
|
+
},
|
|
757
|
+
failures,
|
|
758
|
+
...timing()
|
|
693
759
|
});
|
|
694
760
|
}
|
|
695
761
|
function isFaultedDebugStatus(status) {
|
|
@@ -799,12 +865,14 @@ async function uploadAndDebugSolution(params) {
|
|
|
799
865
|
logger.info(`Debug instance created — instanceId: ${debugInstance.instanceId}`);
|
|
800
866
|
logger.info("Polling for completion...");
|
|
801
867
|
const finalResponse = await pollDebugInstanceStatus(apiConfig, debugInstance.instanceId, params.callbacks, params.pollInterval, params.maxPolls, session.jobKey);
|
|
868
|
+
const terminalStatusAt = Date.now();
|
|
802
869
|
const incidents = await resolveFaultIncidents(apiConfig, debugInstance.instanceId, finalResponse.status);
|
|
803
870
|
return {
|
|
804
871
|
jobKey: session.jobKey,
|
|
805
872
|
instanceId: debugInstance.instanceId,
|
|
806
873
|
runId: debugInstance.runId,
|
|
807
874
|
finalStatus: finalResponse.status,
|
|
875
|
+
terminalStatusAt,
|
|
808
876
|
elementExecutions: finalResponse.elementExecutions.map((e) => ({
|
|
809
877
|
elementId: e.elementId,
|
|
810
878
|
elementType: e.elementType,
|
|
@@ -871,6 +939,6 @@ async function patchConnectionOverwrites(config, organizationName, solutionId, s
|
|
|
871
939
|
return successCount;
|
|
872
940
|
}
|
|
873
941
|
|
|
874
|
-
export { FpsPropertiesInjectionError, injectInlineAgentProcessEntries, injectSolutionProjectProcessEntries, extractStartEventId, getPersonalFolderKey, getPersonalFolderInfo, DebugProvisioningFailedError, prepareForCustomDebug, getFolderInfoById, beginDebugSession, DEBUG_MODE_MAP, SIMULATION_MODE_MAP, createDebugInstance, DebugPollTimeoutError, buildPollTimeoutFailureOutput, pollDebugInstanceStatus, fetchDebugInstanceIncidents, DebugVariablesFetchFailedError, fetchDebugInstanceVariables, isFaultedDebugStatus, isSuccessfulDebugStatus, resolveFaultIncidents, buildStudioWebDesignerUrl, uploadAndDebugSolution, patchConnectionOverwrites };
|
|
942
|
+
export { parseBackendErrorBody, MaestroHttpError, orchestratorGet, orchestratorPost, debugPimsGet, debugPimsPost, debugPimsPut, debugPimsPatch, studioWebPost, studioWebDelete, FpsPropertiesInjectionError, injectInlineAgentProcessEntries, injectSolutionProjectProcessEntries, extractStartEventId, getPersonalFolderKey, getPersonalFolderInfo, DebugProvisioningFailedError, prepareForCustomDebug, getFolderInfoById, beginDebugSession, DEBUG_MODE_MAP, SIMULATION_MODE_MAP, createDebugInstance, DebugPollTimeoutError, buildPollTimeoutFailureOutput, pollDebugInstanceStatus, fetchDebugInstanceIncidents, DebugVariablesFetchFailedError, fetchDebugInstanceVariables, isFaultedDebugStatus, isSuccessfulDebugStatus, resolveFaultIncidents, buildStudioWebDesignerUrl, uploadAndDebugSolution, patchConnectionOverwrites };
|
|
875
943
|
|
|
876
|
-
//# debugId=
|
|
944
|
+
//# debugId=CA95D4C8D2FC2A6A64756E2164756E21
|
|
@@ -18,6 +18,6 @@ function formatTraceLine(trace) {
|
|
|
18
18
|
return `[${time}] ${statusIcon} ${name} (${trace.status})${duration}`;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export { VALID_PROJECT_NAME_REGEX, VALID_PACKAGE_NAME_REGEX, formatTraceLine };
|
|
21
|
+
export { VALID_PROJECT_NAME_REGEX, VALID_PACKAGE_NAME_REGEX, formatTraceStatus, formatTraceLine };
|
|
22
22
|
|
|
23
|
-
//# debugId=
|
|
23
|
+
//# debugId=B32F767CDA7665B564756E2164756E21
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import {
|
|
2
|
+
norm
|
|
3
|
+
} from "./packager-tool-9y1w2wds.js";
|
|
4
|
+
|
|
5
|
+
// src/services/sdd-convert/ids.ts
|
|
6
|
+
var buildElementId = (stageId, taskId) => `${stageId}-${taskId}`;
|
|
7
|
+
var SLUG_SUFFIX = /^(.*?)\s*\(\s*([^()]+?)\s*\)\s*$/;
|
|
8
|
+
var stageSpellings = (text, position) => {
|
|
9
|
+
const plain = text.replaceAll("`", "").trim();
|
|
10
|
+
const names = [plain];
|
|
11
|
+
const found = SLUG_SUFFIX.exec(plain);
|
|
12
|
+
const bare = found?.[1].trim() ?? "";
|
|
13
|
+
const slug = found?.[2].trim() ?? "";
|
|
14
|
+
if (bare !== "" && bare !== plain)
|
|
15
|
+
names.push(bare);
|
|
16
|
+
return {
|
|
17
|
+
names,
|
|
18
|
+
...slug !== "" && { slug },
|
|
19
|
+
ordinal: `stage ${position}`
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
var referenceSpellings = (text) => {
|
|
23
|
+
const { names, slug } = stageSpellings(text, 0);
|
|
24
|
+
return slug === undefined ? names : [...names, slug];
|
|
25
|
+
};
|
|
26
|
+
var indexKey = (name) => name.replaceAll("`", "").trim().toLowerCase();
|
|
27
|
+
var modelKey = (name) => norm(name);
|
|
28
|
+
var everySpelling = (name, position) => {
|
|
29
|
+
const { names, slug, ordinal } = stageSpellings(name, position);
|
|
30
|
+
return [...names, ...slug === undefined ? [] : [slug], ordinal].map(indexKey);
|
|
31
|
+
};
|
|
32
|
+
var claim = (index, key, id) => {
|
|
33
|
+
if (!index.has(key))
|
|
34
|
+
index.set(key, id);
|
|
35
|
+
};
|
|
36
|
+
var dedupedId = (base, taken) => {
|
|
37
|
+
let id = base;
|
|
38
|
+
let suffix = 2;
|
|
39
|
+
while (taken.has(id)) {
|
|
40
|
+
id = `${base}${suffix}`;
|
|
41
|
+
suffix += 1;
|
|
42
|
+
}
|
|
43
|
+
taken.add(id);
|
|
44
|
+
return id;
|
|
45
|
+
};
|
|
46
|
+
var exactKey = (name) => name.replaceAll("`", "").trim();
|
|
47
|
+
var claimOutput = (index, key, task, id) => {
|
|
48
|
+
const byTask = index.get(key) ?? new Map;
|
|
49
|
+
index.set(key, byTask);
|
|
50
|
+
if (!byTask.has(exactKey(task)))
|
|
51
|
+
byTask.set(exactKey(task), id);
|
|
52
|
+
};
|
|
53
|
+
var lookupOutput = (index, key, task) => {
|
|
54
|
+
const byTask = index.get(key);
|
|
55
|
+
if (byTask === undefined)
|
|
56
|
+
return;
|
|
57
|
+
const tasksNamed = (name, claim2) => typeof claim2 === "number" ? Array.from({ length: claim2 }, () => name) : [name];
|
|
58
|
+
const exact = byTask.get(exactKey(task));
|
|
59
|
+
if (exact !== undefined) {
|
|
60
|
+
return typeof exact === "number" ? { names: tasksNamed(exactKey(task), exact) } : { id: exact };
|
|
61
|
+
}
|
|
62
|
+
const [onlyName, only] = [...byTask.entries()][0] ?? [];
|
|
63
|
+
if (byTask.size === 1 && onlyName !== undefined && typeof only === "string") {
|
|
64
|
+
return { id: only };
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
names: [...byTask].flatMap(([name, claim2]) => tasksNamed(name, claim2))
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
var scopedSlaKey = (scope, title) => `${scope}\x00${title}`;
|
|
71
|
+
|
|
72
|
+
export { buildElementId, stageSpellings, referenceSpellings, indexKey, modelKey, everySpelling, claim, dedupedId, exactKey, claimOutput, lookupOutput, scopedSlaKey };
|
|
73
|
+
|
|
74
|
+
//# debugId=B8215854508DC8A764756E2164756E21
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
catchError,
|
|
3
3
|
hashContent,
|
|
4
4
|
logger
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-83v804p7.js";
|
|
6
6
|
import {
|
|
7
7
|
getFileSystem
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-hdxtgckw.js";
|
|
9
9
|
|
|
10
10
|
// src/utils/resourcesStorage.ts
|
|
11
11
|
async function resolveResourcesStorageDir() {
|