@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,48 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
flattenDecisionKeyedSchema
|
|
3
|
-
} from "./packager-tool-xy04yy0v.js";
|
|
4
|
-
import"./packager-tool-rgpdaxbx.js";
|
|
5
|
-
import"./packager-tool-bfgdz1zh.js";
|
|
6
1
|
import {
|
|
7
2
|
MISSING_RESOURCE_INDEX,
|
|
8
3
|
loadIndexMetadata,
|
|
9
4
|
loadResourceIndex,
|
|
10
5
|
saveIndexMetadata,
|
|
11
6
|
saveResourceIndex
|
|
12
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-9sd483vs.js";
|
|
8
|
+
import"./packager-tool-gx2cer6a.js";
|
|
9
|
+
import"./packager-tool-bfgdz1zh.js";
|
|
10
|
+
import"./packager-tool-29x6vran.js";
|
|
11
|
+
import"./packager-tool-ezds6t5e.js";
|
|
12
|
+
import"./packager-tool-r6b5ktzb.js";
|
|
13
|
+
import"./packager-tool-7hw344bt.js";
|
|
14
|
+
import {
|
|
15
|
+
loadResourceEnrichmentMap,
|
|
16
|
+
readLocalResourcesForType
|
|
17
|
+
} from "./packager-tool-kdhey8gz.js";
|
|
18
|
+
import"./packager-tool-n7w9wx62.js";
|
|
19
|
+
import"./packager-tool-f8vwy92w.js";
|
|
13
20
|
import {
|
|
14
21
|
findSolutionFromCwd
|
|
15
|
-
} from "./packager-tool-
|
|
16
|
-
import"./packager-tool-
|
|
17
|
-
import"./packager-tool-
|
|
18
|
-
import"./packager-tool-25hng8h4.js";
|
|
19
|
-
import"./packager-tool-7q6z6npd.js";
|
|
22
|
+
} from "./packager-tool-yct6zp4m.js";
|
|
23
|
+
import"./packager-tool-4rtktkhv.js";
|
|
24
|
+
import"./packager-tool-pcvhcn2k.js";
|
|
20
25
|
import"./packager-tool-sc961w0q.js";
|
|
21
|
-
import"./packager-tool-
|
|
22
|
-
import"./packager-tool-hvzjm2nk.js";
|
|
26
|
+
import"./packager-tool-6z1hsm2h.js";
|
|
23
27
|
import"./packager-tool-jysvpt8p.js";
|
|
24
|
-
import"./packager-tool-167qap9m.js";
|
|
25
28
|
import {
|
|
26
29
|
GET_SEARCHABLE_TYPES,
|
|
27
30
|
RESOURCE_TYPES
|
|
28
31
|
} from "./packager-tool-7nxppa3d.js";
|
|
29
|
-
import"./packager-tool-
|
|
30
|
-
import"./packager-tool-
|
|
32
|
+
import"./packager-tool-aagnvyba.js";
|
|
33
|
+
import"./packager-tool-mzf4gmph.js";
|
|
34
|
+
import"./packager-tool-9kf3fqtr.js";
|
|
35
|
+
import"./packager-tool-9e59z4d6.js";
|
|
31
36
|
import {
|
|
32
37
|
getLoginStatusAsync
|
|
33
|
-
} from "./packager-tool-
|
|
38
|
+
} from "./packager-tool-yn33pw57.js";
|
|
34
39
|
import"./packager-tool-0gctz400.js";
|
|
35
40
|
import"./packager-tool-qa9gftnj.js";
|
|
36
41
|
import"./packager-tool-yc4kw997.js";
|
|
37
|
-
import"./packager-tool-64rg5ekd.js";
|
|
38
42
|
import {
|
|
39
43
|
catchError,
|
|
40
44
|
hashContent,
|
|
41
45
|
logger
|
|
42
|
-
} from "./packager-tool-
|
|
43
|
-
import
|
|
44
|
-
getFileSystem
|
|
45
|
-
} from "./packager-tool-xdxr3ync.js";
|
|
46
|
+
} from "./packager-tool-83v804p7.js";
|
|
47
|
+
import"./packager-tool-hdxtgckw.js";
|
|
46
48
|
import"./packager-tool-1yh8g550.js";
|
|
47
49
|
|
|
48
50
|
// src/services/action-app-api.ts
|
|
@@ -165,149 +167,6 @@ function searchWithFilters(resources, keyword, filters) {
|
|
|
165
167
|
});
|
|
166
168
|
}
|
|
167
169
|
|
|
168
|
-
// src/services/localSolutionDiscovery.ts
|
|
169
|
-
var LOCAL_RESOURCE_TYPES = new Set([
|
|
170
|
-
"agent",
|
|
171
|
-
"process",
|
|
172
|
-
"api",
|
|
173
|
-
"processOrchestration",
|
|
174
|
-
"caseManagement",
|
|
175
|
-
"function",
|
|
176
|
-
"businessRule"
|
|
177
|
-
]);
|
|
178
|
-
var PROJECT_TYPE_TO_RESOURCE = {
|
|
179
|
-
Agent: "agent",
|
|
180
|
-
Process: "process",
|
|
181
|
-
Api: "api",
|
|
182
|
-
ProcessOrchestration: "processOrchestration",
|
|
183
|
-
CaseManagement: "caseManagement",
|
|
184
|
-
Function: "function",
|
|
185
|
-
BusinessRules: "businessRule"
|
|
186
|
-
};
|
|
187
|
-
var PROJECT_TYPE_TO_RESOURCE_LC = Object.fromEntries(Object.entries(PROJECT_TYPE_TO_RESOURCE).map(([k, v]) => [
|
|
188
|
-
k.toLowerCase(),
|
|
189
|
-
v
|
|
190
|
-
]));
|
|
191
|
-
var PROCESS_SUBDIR = ["resources", "solution_folder", "process"];
|
|
192
|
-
function isUnder(parent, child) {
|
|
193
|
-
if (child === parent)
|
|
194
|
-
return true;
|
|
195
|
-
const fs = getFileSystem();
|
|
196
|
-
const rel = fs.path.relative(parent, child);
|
|
197
|
-
return rel !== "" && !rel.startsWith("..") && !fs.path.isAbsolute(rel);
|
|
198
|
-
}
|
|
199
|
-
async function parseEnrichmentFile(filePath) {
|
|
200
|
-
const fs = getFileSystem();
|
|
201
|
-
const [readErr, content] = await catchError(fs.readFile(filePath, "utf-8"));
|
|
202
|
-
if (readErr || !content)
|
|
203
|
-
return null;
|
|
204
|
-
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
205
|
-
if (parseErr || !parsed.resource?.projectKey)
|
|
206
|
-
return null;
|
|
207
|
-
const r = parsed.resource;
|
|
208
|
-
return [
|
|
209
|
-
r.projectKey,
|
|
210
|
-
{
|
|
211
|
-
key: r.key,
|
|
212
|
-
name: r.name,
|
|
213
|
-
folders: r.folders && r.folders.length > 0 ? r.folders.map((f) => ({
|
|
214
|
-
fullyQualifiedName: f.fullyQualifiedName ?? "solution_folder"
|
|
215
|
-
})) : undefined,
|
|
216
|
-
packageName: r.spec?.packageName
|
|
217
|
-
}
|
|
218
|
-
];
|
|
219
|
-
}
|
|
220
|
-
async function loadResourceEnrichmentMap(solutionDir) {
|
|
221
|
-
const fs = getFileSystem();
|
|
222
|
-
const map = new Map;
|
|
223
|
-
const processDir = fs.path.join(solutionDir, ...PROCESS_SUBDIR);
|
|
224
|
-
const [dirErr, typeDirs] = await catchError(fs.readdir(processDir));
|
|
225
|
-
if (dirErr || !Array.isArray(typeDirs))
|
|
226
|
-
return map;
|
|
227
|
-
for (const typeDir of typeDirs) {
|
|
228
|
-
const typePath = fs.path.join(processDir, typeDir);
|
|
229
|
-
const [filesErr, files] = await catchError(fs.readdir(typePath));
|
|
230
|
-
if (filesErr || !Array.isArray(files))
|
|
231
|
-
continue;
|
|
232
|
-
for (const file of files) {
|
|
233
|
-
if (!file.endsWith(".json"))
|
|
234
|
-
continue;
|
|
235
|
-
const entry = await parseEnrichmentFile(fs.path.join(typePath, file));
|
|
236
|
-
if (entry)
|
|
237
|
-
map.set(entry[0], entry[1]);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
return map;
|
|
241
|
-
}
|
|
242
|
-
async function readProjectName(projectDir) {
|
|
243
|
-
const fs = getFileSystem();
|
|
244
|
-
const [err, content] = await catchError(fs.readFile(fs.path.join(projectDir, "project.uiproj"), "utf-8"));
|
|
245
|
-
if (!err && content) {
|
|
246
|
-
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
247
|
-
if (!parseErr && parsed.Name)
|
|
248
|
-
return parsed.Name;
|
|
249
|
-
}
|
|
250
|
-
return fs.path.basename(projectDir);
|
|
251
|
-
}
|
|
252
|
-
async function readEntryPointIO(projectDir) {
|
|
253
|
-
const fs = getFileSystem();
|
|
254
|
-
const candidates = [
|
|
255
|
-
fs.path.join(projectDir, "entry-points.json"),
|
|
256
|
-
fs.path.join(projectDir, "content", "entry-points.json")
|
|
257
|
-
];
|
|
258
|
-
for (const filePath of candidates) {
|
|
259
|
-
const [err, content] = await catchError(fs.readFile(filePath, "utf-8"));
|
|
260
|
-
if (err || !content)
|
|
261
|
-
continue;
|
|
262
|
-
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
263
|
-
if (parseErr || !parsed.entryPoints?.length)
|
|
264
|
-
continue;
|
|
265
|
-
const ep = parsed.entryPoints[0];
|
|
266
|
-
return {
|
|
267
|
-
inputs: ep.input ?? ep.InputArguments,
|
|
268
|
-
outputs: ep.output ?? ep.OutputArguments
|
|
269
|
-
};
|
|
270
|
-
}
|
|
271
|
-
return {};
|
|
272
|
-
}
|
|
273
|
-
async function readLocalResourcesForType(ctx, resourceType, enrichment) {
|
|
274
|
-
if (!LOCAL_RESOURCE_TYPES.has(resourceType))
|
|
275
|
-
return [];
|
|
276
|
-
const fs = getFileSystem();
|
|
277
|
-
const enrichmentMap = enrichment ?? await loadResourceEnrichmentMap(ctx.solutionDir);
|
|
278
|
-
const entries = [];
|
|
279
|
-
for (const project of ctx.projects) {
|
|
280
|
-
if (!project.Id || !project.Type)
|
|
281
|
-
continue;
|
|
282
|
-
if (ctx.currentProjectId && project.Id === ctx.currentProjectId)
|
|
283
|
-
continue;
|
|
284
|
-
if (PROJECT_TYPE_TO_RESOURCE_LC[project.Type.toLowerCase()] !== resourceType)
|
|
285
|
-
continue;
|
|
286
|
-
const projectDir = fs.path.resolve(ctx.solutionDir, fs.path.dirname(project.ProjectRelativePath ?? ""));
|
|
287
|
-
if (!isUnder(ctx.solutionDir, projectDir))
|
|
288
|
-
continue;
|
|
289
|
-
const enriched = enrichmentMap.get(project.Id);
|
|
290
|
-
const [name, io] = await Promise.all([
|
|
291
|
-
enriched?.name ? Promise.resolve(enriched.name) : readProjectName(projectDir),
|
|
292
|
-
readEntryPointIO(projectDir)
|
|
293
|
-
]);
|
|
294
|
-
entries.push({
|
|
295
|
-
entityKey: enriched?.key ?? project.Id,
|
|
296
|
-
name,
|
|
297
|
-
category: resourceType,
|
|
298
|
-
folders: enriched?.folders ?? [
|
|
299
|
-
{ fullyQualifiedName: "solution_folder" }
|
|
300
|
-
],
|
|
301
|
-
packageName: enriched?.packageName,
|
|
302
|
-
projectKey: project.Id,
|
|
303
|
-
inputs: io.inputs,
|
|
304
|
-
outputs: resourceType === "businessRule" ? flattenDecisionKeyedSchema(io.outputs) : io.outputs,
|
|
305
|
-
source: "local"
|
|
306
|
-
});
|
|
307
|
-
}
|
|
308
|
-
return entries;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
170
|
// src/services/process-entity-api.ts
|
|
312
171
|
var PROCESS_ENTITY_BATCH_SIZE = 500;
|
|
313
172
|
async function listProcessEntities(params) {
|
|
@@ -341,9 +200,10 @@ async function listProcessEntities(params) {
|
|
|
341
200
|
}
|
|
342
201
|
});
|
|
343
202
|
if (!response.ok) {
|
|
344
|
-
const errorText = await response.text();
|
|
345
|
-
|
|
346
|
-
|
|
203
|
+
const [bodyError, errorText] = await catchError(response.text());
|
|
204
|
+
const detail = bodyError ? `Failed to read error response body: ${bodyError.message}` : errorText;
|
|
205
|
+
logger.error(`Error response body: ${detail}`);
|
|
206
|
+
throw Object.assign(new Error(`Process entity list failed: ${response.status} ${response.statusText} - ${detail}`, { cause: bodyError }), { status: response.status });
|
|
347
207
|
}
|
|
348
208
|
const data = await response.json();
|
|
349
209
|
const page = data.value ?? [];
|
|
@@ -632,10 +492,12 @@ async function searchResourcesWithFilters(keyword, filters, resourceType, option
|
|
|
632
492
|
}))));
|
|
633
493
|
const results = [];
|
|
634
494
|
const failedTypes = [];
|
|
495
|
+
const failures = [];
|
|
635
496
|
for (let i = 0;i < settled.length; i++) {
|
|
636
497
|
const result = settled[i];
|
|
637
498
|
if (result.status !== "fulfilled") {
|
|
638
499
|
const reason = result.reason;
|
|
500
|
+
failures.push(reason);
|
|
639
501
|
failedTypes.push({
|
|
640
502
|
type: types[i],
|
|
641
503
|
error: reason instanceof Error ? reason.message : String(reason)
|
|
@@ -649,7 +511,7 @@ async function searchResourcesWithFilters(keyword, filters, resourceType, option
|
|
|
649
511
|
}
|
|
650
512
|
}
|
|
651
513
|
if (failedTypes.length === types.length) {
|
|
652
|
-
throw new
|
|
514
|
+
throw new AggregateError(failures, `Failed to load resources for all types: ${failedTypes.map((f) => `${f.type}: ${f.error}`).join("; ")}`);
|
|
653
515
|
}
|
|
654
516
|
return { results, failedTypes };
|
|
655
517
|
}
|
|
@@ -701,4 +563,4 @@ export {
|
|
|
701
563
|
searchResourcesWithFilters
|
|
702
564
|
};
|
|
703
565
|
|
|
704
|
-
//# debugId=
|
|
566
|
+
//# debugId=C89F9E8D278DC01664756E2164756E21
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import"./packager-tool-jysvpt8p.js";
|
|
2
2
|
import"./packager-tool-1yh8g550.js";
|
|
3
3
|
|
|
4
|
-
// ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/ro-
|
|
4
|
+
// ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/ro-GHOBYW2S.js
|
|
5
5
|
var agentDuplicateToolNames_duplicateName_message = "Numele instrumentului „{{name}}” este utilizat de mai multe instrumente pe acest agent. Fiecare instrument trebuie să aibă un nume unic.";
|
|
6
6
|
var agentEmptyVar_unwrittenVariable_message = 'Agentul folosește "$vars.{{root}}", dar niciun nod nu atribuie o valoare lui "{{root}}", astfel încât va fi gol în timpul execuției. Asociați-l cu un output al unui nod (de exemplu, output-ul "<node>.output" al unui conector) sau oferiți-i o sursă de valoare.';
|
|
7
|
+
var agentFileNotAnalyzed_unconsumedFileVar_message = 'Agentul folosește variabila de fișier "$vars.{{path}}" în promptul său, dar nu are niciun instrument care să poată citi fișiere, astfel încât agentul primește doar referința la fișier, nu și conținutul acestuia. Adăugați un instrument de citire a fișierelor, cum ar fi Analyze Files.';
|
|
7
8
|
var agentInputRefs_ambiguousUnderscoreRoot_message = "Referința promptului este „$vars.{{ref}}”, dar numele „{{rootSegment}}” conține „__”, care este rezervat ca separator de codificare pentru input-ul agentului și nu poate fi convertit dus-întors. Redenumiți-l pentru a elimina caracterul de subliniere dublu.";
|
|
8
9
|
var agentInputRefs_reservedMetadataRoot_message = 'Referințele din prompt la "$vars.{{ref}}" există, dar o variabilă sau un nod numit "metadata" intră în conflict cu spațiul de nume "$metadata" după ce este serializat pentru agent și nu poate fi reconvertit fără pierderi. Redenumiți-l cu un nume diferit de "metadata".';
|
|
9
10
|
var agentInputRefs_reservedNamespace_message = '"$agent.{{ref}}" este un spațiu de nume intern al runtime-ului agentului din Flow și nu poate fi utilizat direct în prompturi. Faceți referire în schimb la variabila de flux prin "$vars.{{ref}}" sau "$metadata.{{ref}}".';
|
|
@@ -12,6 +13,8 @@ var conditionExpression_decisionWrapped_message = "Condiție nevalidă pentru
|
|
|
12
13
|
var conditionExpression_incomplete_message = "Expresie incompletă";
|
|
13
14
|
var conditionExpression_invalid_message = "Expresie invalidă";
|
|
14
15
|
var conditionExpression_required_message = "Adăugați o condiție";
|
|
16
|
+
var conversationalRequired_contextRequired_message = "{{label}}: Contextul conversației este necesar";
|
|
17
|
+
var conversationalRequired_conversationIdRequired_message = "{{label}}: ID-ul conversației este obligatoriu";
|
|
15
18
|
var conversationalVoiceEndCall_callContextInvalid_message = "{{label}}: Contextul apelului trebuie asociat cu un obiect de context al apelului";
|
|
16
19
|
var conversationalVoice_callContextInvalid_message = "{{label}}: Contextul apelului trebuie asociat cu un obiect de context al apelului";
|
|
17
20
|
var conversationalVoice_callContextRequired_message = "{{label}}: Contextul apelului este necesar când vocea este activată";
|
|
@@ -28,7 +31,13 @@ var dataTransform_noOperations_message = '"{{nodeLabel}}" nu are nicio operațiu
|
|
|
28
31
|
var doWhile_limitOutOfRange_message = "Setați numărul maxim de iterații între {{min}} și {{max}}";
|
|
29
32
|
var entityQuery_emptyFilterExpression_message = "Scrieți o expresie pentru fiecare filtru sau eliminați filtrul";
|
|
30
33
|
var entityQuery_emptyFilterValueList_message = "Adăugați cel puțin o valoare la filtru sau eliminați filtrul";
|
|
34
|
+
var entityQuery_incompleteSingleRecordRow_message = "Selectați un câmp și introduceți o valoare";
|
|
31
35
|
var entityQuery_uncarryableExpression_message = "Stocați această expresie într-o variabilă sau scrieți-o fără spații, ghilimele sau bare oblice inverse";
|
|
36
|
+
var entityQuery_uncarryableRelationPath_message = "{{path}} nu poate fi utilizat așa cum este scris. Eliminați toate spațiile, ghilimelele sau barele oblice inverse din numele coloanei.";
|
|
37
|
+
var entityQuery_unfilteredSingleRecord_message = "Adăugați o condiție sau citiți în schimb mai multe înregistrări";
|
|
38
|
+
var entityQuery_unresolvedRelation_message = "{{path}} nu mai este disponibil. Selectați un câmp din această entitate sau din una dintre relațiile sale directe.";
|
|
39
|
+
var entityWrite_requiredFieldBlanked_message = "Setați o valoare pentru {{fields}} sau eliminați-le din actualizare";
|
|
40
|
+
var entityWrite_requiredFieldMissing_message = "Setați o valoare pentru {{fields}}";
|
|
32
41
|
var escalation_appRequired_message = "Selectează o aplicație de acțiune";
|
|
33
42
|
var escalation_memoryArgumentRequired_message = "{{label}}: Adăugați cel puțin un argument pentru memoria agentului sau dezactivați memoria agentului";
|
|
34
43
|
var escalation_nameRequired_message = "{{label}}: Numele escaladării este obligatoriu";
|
|
@@ -59,6 +68,7 @@ var triggerRequired_message = "Procesul trebuie să aibă cel puțin un nod de d
|
|
|
59
68
|
var ro_default = {
|
|
60
69
|
agentDuplicateToolNames_duplicateName_message,
|
|
61
70
|
agentEmptyVar_unwrittenVariable_message,
|
|
71
|
+
agentFileNotAnalyzed_unconsumedFileVar_message,
|
|
62
72
|
agentInputRefs_ambiguousUnderscoreRoot_message,
|
|
63
73
|
agentInputRefs_reservedMetadataRoot_message,
|
|
64
74
|
agentInputRefs_reservedNamespace_message,
|
|
@@ -67,6 +77,8 @@ var ro_default = {
|
|
|
67
77
|
conditionExpression_incomplete_message,
|
|
68
78
|
conditionExpression_invalid_message,
|
|
69
79
|
conditionExpression_required_message,
|
|
80
|
+
conversationalRequired_contextRequired_message,
|
|
81
|
+
conversationalRequired_conversationIdRequired_message,
|
|
70
82
|
conversationalVoiceEndCall_callContextInvalid_message,
|
|
71
83
|
conversationalVoice_callContextInvalid_message,
|
|
72
84
|
conversationalVoice_callContextRequired_message,
|
|
@@ -83,7 +95,13 @@ var ro_default = {
|
|
|
83
95
|
doWhile_limitOutOfRange_message,
|
|
84
96
|
entityQuery_emptyFilterExpression_message,
|
|
85
97
|
entityQuery_emptyFilterValueList_message,
|
|
98
|
+
entityQuery_incompleteSingleRecordRow_message,
|
|
86
99
|
entityQuery_uncarryableExpression_message,
|
|
100
|
+
entityQuery_uncarryableRelationPath_message,
|
|
101
|
+
entityQuery_unfilteredSingleRecord_message,
|
|
102
|
+
entityQuery_unresolvedRelation_message,
|
|
103
|
+
entityWrite_requiredFieldBlanked_message,
|
|
104
|
+
entityWrite_requiredFieldMissing_message,
|
|
87
105
|
escalation_appRequired_message,
|
|
88
106
|
escalation_memoryArgumentRequired_message,
|
|
89
107
|
escalation_nameRequired_message,
|
|
@@ -115,6 +133,7 @@ var ro_default = {
|
|
|
115
133
|
export {
|
|
116
134
|
agentDuplicateToolNames_duplicateName_message,
|
|
117
135
|
agentEmptyVar_unwrittenVariable_message,
|
|
136
|
+
agentFileNotAnalyzed_unconsumedFileVar_message,
|
|
118
137
|
agentInputRefs_ambiguousUnderscoreRoot_message,
|
|
119
138
|
agentInputRefs_reservedMetadataRoot_message,
|
|
120
139
|
agentInputRefs_reservedNamespace_message,
|
|
@@ -123,6 +142,8 @@ export {
|
|
|
123
142
|
conditionExpression_incomplete_message,
|
|
124
143
|
conditionExpression_invalid_message,
|
|
125
144
|
conditionExpression_required_message,
|
|
145
|
+
conversationalRequired_contextRequired_message,
|
|
146
|
+
conversationalRequired_conversationIdRequired_message,
|
|
126
147
|
conversationalVoiceEndCall_callContextInvalid_message,
|
|
127
148
|
conversationalVoice_callContextInvalid_message,
|
|
128
149
|
conversationalVoice_callContextRequired_message,
|
|
@@ -140,7 +161,13 @@ export {
|
|
|
140
161
|
doWhile_limitOutOfRange_message,
|
|
141
162
|
entityQuery_emptyFilterExpression_message,
|
|
142
163
|
entityQuery_emptyFilterValueList_message,
|
|
164
|
+
entityQuery_incompleteSingleRecordRow_message,
|
|
143
165
|
entityQuery_uncarryableExpression_message,
|
|
166
|
+
entityQuery_uncarryableRelationPath_message,
|
|
167
|
+
entityQuery_unfilteredSingleRecord_message,
|
|
168
|
+
entityQuery_unresolvedRelation_message,
|
|
169
|
+
entityWrite_requiredFieldBlanked_message,
|
|
170
|
+
entityWrite_requiredFieldMissing_message,
|
|
144
171
|
escalation_appRequired_message,
|
|
145
172
|
escalation_memoryArgumentRequired_message,
|
|
146
173
|
escalation_nameRequired_message,
|
|
@@ -170,4 +197,4 @@ export {
|
|
|
170
197
|
triggerRequired_message
|
|
171
198
|
};
|
|
172
199
|
|
|
173
|
-
//# debugId=
|
|
200
|
+
//# debugId=AF5B85E6F7C1E18664756E2164756E21
|