@uipath/cli 1.206.0-preview.303 → 1.207.0-preview.305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/dist/{browser-strategy-p5fhwxqj.js → browser-strategy-5rfwnk5q.js} +1 -1
- package/dist/cli-10857d67.js +28 -0
- package/dist/cliInstaller-3dxg6fbd.js +23 -0
- package/dist/{contentStore-w35jnkxk.js → contentStore-z3t1yt3n.js} +7 -6
- package/dist/{environmentInfo-nz3126q4.js → environmentInfo-dyhpheza.js} +6 -6
- package/dist/{feedbackPrompts-bx209g5v.js → feedbackPrompts-fc66gq0p.js} +3 -3
- package/dist/forcedUpdate-5hd8cp9x.js +21 -0
- package/dist/{handlers-jjwt24f2.js → handlers-rg3d62gb.js} +13 -9
- package/dist/index-2f6vv7yr.js +81 -0
- package/dist/{index-v3vx48v0.js → index-2g332j2f.js} +8 -12
- package/dist/index-319vtrwd.js +264 -0
- package/dist/{index-jqt7p70w.js → index-3vkb4j13.js} +26 -17
- package/dist/index-5j78gm9c.js +41 -0
- package/dist/index-5ygg5mrs.js +1272 -0
- package/dist/{index-99emfvtm.js → index-65pyx6c9.js} +4 -2
- package/dist/{index-rr5hdtcy.js → index-81197qe5.js} +15 -17
- package/dist/{index-2mm750yx.js → index-8n0z4r6f.js} +69 -13
- package/dist/{index-8zhmg5tz.js → index-8pk6n4t9.js} +2 -2
- package/dist/{index-cef72dzy.js → index-9v7334md.js} +1 -1
- package/dist/{index-nsrrst23.js → index-ack311y7.js} +12 -2
- package/dist/{index-2n2vr5w5.js → index-dt6mjnkf.js} +39 -57
- package/dist/{index-y7d0cth0.js → index-e82sznr2.js} +7 -7
- package/dist/index-ej6eeger.js +23 -0
- package/dist/index-evcsjfyy.js +248 -0
- package/dist/{index-bxc30q35.js → index-gk5pc8xr.js} +2 -2
- package/dist/{index-7q9kcs3w.js → index-h2ctqv68.js} +14 -5
- package/dist/index-jk7em40j.js +37 -0
- package/dist/{index-vhn8f5d2.js → index-kdr4xvby.js} +5 -5
- package/dist/{index-y7j0ant5.js → index-kmacaa53.js} +2130 -834
- package/dist/{index-ckp8r4dh.js → index-mb62swmp.js} +2 -2
- package/dist/{index-dxfqvgqg.js → index-md27nny8.js} +7 -10
- package/dist/{index-85fa5z1t.js → index-nex3q8cg.js} +2 -2
- package/dist/index-nyx7fh45.js +331 -0
- package/dist/index-nzfpbep9.js +14 -0
- package/dist/{index-z070caqq.js → index-p64w2wrt.js} +30 -8
- package/dist/{index-0pan2k7w.js → index-t6hrzpm7.js} +30 -14
- package/dist/index-v7yphxb8.js +118 -0
- package/dist/index-vrfbee4d.js +340 -0
- package/dist/{index-69mcde3n.js → index-xw81b1gn.js} +196 -81
- package/dist/{index-wg3cne7n.js → index-xxms6rt8.js} +24 -5
- package/dist/{index-21kns9qg.js → index-y7v9rkq9.js} +1 -1
- package/dist/{index-6wzpac34.js → index-z3q16ts7.js} +81 -58
- package/dist/{index-fdztq951.js → index-zhp702kh.js} +393 -82
- package/dist/index.js +23 -18
- package/dist/{install-kgcwdbqs.js → install-h76qyy1e.js} +6 -7
- package/dist/{node-strategy-p1n8wr5s.js → node-strategy-9t0ttffv.js} +2 -2
- package/dist/{project-context-caht70an.js → project-context-rc4ghykm.js} +13 -5
- package/dist/{prompt-tvxwpvxh.js → prompt-66bnttv7.js} +5 -5
- package/dist/{server-pge2gheb.js → server-pxfn9w9m.js} +5 -5
- package/dist/{skillCatalog-b3z68z4n.js → skillCatalog-7gh14b4s.js} +8 -7
- package/dist/skillsService-wz3c21qb.js +35 -0
- package/dist/{telemetry-drain-rt346cfz.js → telemetry-drain-8qr5tzmf.js} +2 -2
- package/dist/tree-fk9gwh4v.js +16 -0
- package/dist/updateService-ybs9274t.js +377 -0
- package/dist/updateService.cli-xtqp78g7.js +15 -0
- package/dist/updateService.skills-pgst1fyj.js +27 -0
- package/dist/updateService.tools-m58m2fbt.js +19 -0
- package/package.json +2 -2
- package/dist/cli-0p8c9t5r.js +0 -23
- package/dist/index-1n5v3afn.js +0 -45
- package/dist/index-3qp7d08f.js +0 -240
- package/dist/index-3zf0ywpb.js +0 -95
- package/dist/index-753mncpq.js +0 -271
- package/dist/skillsService-qzzqacmg.js +0 -29
- package/dist/tree-4dhk82fh.js +0 -17
- package/dist/updateService-b579ys6m.js +0 -522
- package/dist/updateService.skills-teejc562.js +0 -22
- package/dist/updateService.tools-3zfct9yk.js +0 -16
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-p64w2wrt.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError,
|
|
6
6
|
RESULTS,
|
|
@@ -10,11 +10,14 @@ import {
|
|
|
10
10
|
processContext,
|
|
11
11
|
wasInteractiveFlagPassed,
|
|
12
12
|
canPrompt
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-zhp702kh.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
parseVersionPin,
|
|
16
16
|
formatVersionPin
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-v7yphxb8.js";
|
|
18
|
+
import {
|
|
19
|
+
governingPins
|
|
20
|
+
} from "./index-evcsjfyy.js";
|
|
18
21
|
import {
|
|
19
22
|
ALL_AGENTS,
|
|
20
23
|
AGENT_DEFS,
|
|
@@ -26,7 +29,7 @@ import {
|
|
|
26
29
|
installSkillCommands,
|
|
27
30
|
uninstallSkill,
|
|
28
31
|
rejectIfGlobalOnly
|
|
29
|
-
} from "./index-
|
|
32
|
+
} from "./index-2g332j2f.js";
|
|
30
33
|
import {
|
|
31
34
|
DEFAULT_SOURCE2,
|
|
32
35
|
resolveSkillSource2,
|
|
@@ -38,14 +41,14 @@ import {
|
|
|
38
41
|
removeFromManifest2,
|
|
39
42
|
readExtraFiles2,
|
|
40
43
|
recordExtraFiles2
|
|
41
|
-
} from "./index-
|
|
44
|
+
} from "./index-z3q16ts7.js";
|
|
42
45
|
import {
|
|
43
46
|
promptAgentSelection2
|
|
44
|
-
} from "./index-
|
|
47
|
+
} from "./index-9v7334md.js";
|
|
45
48
|
import {
|
|
46
49
|
SKILL_CATALOG_SKILL_NAME2,
|
|
47
50
|
writeSkillCatalog2
|
|
48
|
-
} from "./index-
|
|
51
|
+
} from "./index-md27nny8.js";
|
|
49
52
|
|
|
50
53
|
// src/commands/skills/skillsService.ts
|
|
51
54
|
class SkillsError2 extends Error {
|
|
@@ -62,11 +65,17 @@ var NO_AGENT_DETECTED_REASON = "NoAgentDetected";
|
|
|
62
65
|
function sourceOf(resolved) {
|
|
63
66
|
return resolved.source ?? DEFAULT_SOURCE2;
|
|
64
67
|
}
|
|
65
|
-
function
|
|
68
|
+
async function resolveSkillsTarget2(source, resolveInstallPath) {
|
|
66
69
|
if (!source.isDefault)
|
|
67
|
-
return;
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
+
return {};
|
|
71
|
+
const pins = await governingPins(resolveInstallPath);
|
|
72
|
+
const skillsPin = parseVersionPin(pins.skills);
|
|
73
|
+
if (skillsPin) {
|
|
74
|
+
const version = formatVersionPin(skillsPin);
|
|
75
|
+
return { targetVersion: version, exactVersion: version };
|
|
76
|
+
}
|
|
77
|
+
const cliPin = parseVersionPin(pins.cli);
|
|
78
|
+
return { targetVersion: cliPin ? formatVersionPin(cliPin) : undefined };
|
|
70
79
|
}
|
|
71
80
|
async function resolveRootDir2(options) {
|
|
72
81
|
const fs = getFileSystem2();
|
|
@@ -98,7 +107,7 @@ function canRenderPicker() {
|
|
|
98
107
|
const caps = getOutputSink().capabilities;
|
|
99
108
|
return canPrompt() && caps.isInteractive && caps.canReadInput;
|
|
100
109
|
}
|
|
101
|
-
async function resolveSkillsContext2(options, operation) {
|
|
110
|
+
async function resolveSkillsContext2(options, operation, resolveInstallPath) {
|
|
102
111
|
const root = await resolveRootDir2(options);
|
|
103
112
|
if (!root)
|
|
104
113
|
return null;
|
|
@@ -173,8 +182,8 @@ async function resolveSkillsContext2(options, operation) {
|
|
|
173
182
|
agents = selected;
|
|
174
183
|
}
|
|
175
184
|
}
|
|
176
|
-
const targetVersion =
|
|
177
|
-
const storePath = await getContentStore2(rootDir, source, targetVersion);
|
|
185
|
+
const { targetVersion, exactVersion } = await resolveSkillsTarget2(source, resolveInstallPath);
|
|
186
|
+
const storePath = await getContentStore2(rootDir, source, targetVersion, exactVersion);
|
|
178
187
|
const shadowedSkills = [];
|
|
179
188
|
const availableSkills = await getAvailableSkills2(storePath, shadowedSkills);
|
|
180
189
|
const selectedSkills = availableSkills.filter((skill) => skill.name !== SKILL_CATALOG_SKILL_NAME2);
|
|
@@ -360,6 +369,6 @@ async function cleanupStaleSkills2(resolved) {
|
|
|
360
369
|
}
|
|
361
370
|
}
|
|
362
371
|
|
|
363
|
-
export { SkillsError2,
|
|
372
|
+
export { SkillsError2, resolveSkillsTarget2, resolveRootDir2, resolveSkillsContext2, runAgentInstalls2, cleanupStaleSkills2 };
|
|
364
373
|
|
|
365
|
-
//# debugId=
|
|
374
|
+
//# debugId=71B8C73FC8A8D2E064756E2164756E21
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VALID_CHANNELS,
|
|
3
|
+
versionChannel,
|
|
4
|
+
parsePrereleaseTag
|
|
5
|
+
} from "./index-ej6eeger.js";
|
|
6
|
+
import {
|
|
7
|
+
getCachedConfig
|
|
8
|
+
} from "./index-5ygg5mrs.js";
|
|
9
|
+
import {
|
|
10
|
+
package_default
|
|
11
|
+
} from "./index-nex3q8cg.js";
|
|
12
|
+
|
|
13
|
+
// src/services/channel.ts
|
|
14
|
+
function resolveUpdateChannel(cliVersion = package_default.version) {
|
|
15
|
+
return configChannel() ?? versionChannel(cliVersion) ?? "stable";
|
|
16
|
+
}
|
|
17
|
+
function resolveRuntimeChannel(cliVersion = package_default.version) {
|
|
18
|
+
return runtimeChannelFor(getCachedConfig().core?.updateChannel, cliVersion);
|
|
19
|
+
}
|
|
20
|
+
function runtimeChannelFor(updateChannel, cliVersion = package_default.version) {
|
|
21
|
+
return versionChannel(cliVersion) ?? knownChannel(updateChannel) ?? "stable";
|
|
22
|
+
}
|
|
23
|
+
function isPreviewVersion(cliVersion = package_default.version) {
|
|
24
|
+
return parsePrereleaseTag(cliVersion) !== undefined;
|
|
25
|
+
}
|
|
26
|
+
function channelForVersion(version) {
|
|
27
|
+
return parsePrereleaseTag(version) === undefined ? "stable" : versionChannel(version);
|
|
28
|
+
}
|
|
29
|
+
function configChannel() {
|
|
30
|
+
return knownChannel(getCachedConfig().core?.updateChannel);
|
|
31
|
+
}
|
|
32
|
+
function knownChannel(value) {
|
|
33
|
+
if (typeof value === "string" && VALID_CHANNELS.has(value)) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { resolveUpdateChannel, resolveRuntimeChannel, runtimeChannelFor, isPreviewVersion, channelForVersion };
|
|
40
|
+
|
|
41
|
+
//# debugId=FC4F1C57B40FFBC064756E2164756E21
|