@uipath/cli 1.206.0-preview.306 → 1.207.0-preview.307
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-1jpx8z2w.js +28 -0
- package/dist/cliInstaller-3dxg6fbd.js +23 -0
- package/dist/{contentStore-34hat2cd.js → contentStore-5p86z7qq.js} +7 -6
- package/dist/{environmentInfo-tr3pt6x1.js → environmentInfo-wp5jthdh.js} +6 -6
- package/dist/{feedbackPrompts-bx209g5v.js → feedbackPrompts-fc66gq0p.js} +3 -3
- package/dist/forcedUpdate-fm57455c.js +21 -0
- package/dist/{handlers-jjwt24f2.js → handlers-rg3d62gb.js} +13 -9
- package/dist/index-2f6vv7yr.js +81 -0
- package/dist/index-319vtrwd.js +264 -0
- package/dist/index-33wtbzyw.js +248 -0
- package/dist/index-5dbc9t09.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-nsrrst23.js → index-ack311y7.js} +12 -2
- package/dist/index-afhekp0a.js +331 -0
- package/dist/{index-szbq3m4j.js → index-bf2mdvne.js} +8 -12
- package/dist/{index-2n2vr5w5.js → index-dt6mjnkf.js} +39 -57
- package/dist/{index-85fgzk87.js → index-dtgfa304.js} +1 -1
- package/dist/{index-y7d0cth0.js → index-e82sznr2.js} +7 -7
- package/dist/index-ej6eeger.js +23 -0
- package/dist/{index-bxc30q35.js → index-gk5pc8xr.js} +2 -2
- package/dist/{index-7q9kcs3w.js → index-h2ctqv68.js} +14 -5
- package/dist/{index-m780gg7f.js → index-hfvbp7ay.js} +30 -14
- package/dist/index-jk7em40j.js +37 -0
- package/dist/{index-691s5342.js → index-jn06044v.js} +2130 -834
- package/dist/{index-vhn8f5d2.js → index-kdr4xvby.js} +5 -5
- package/dist/{index-ckp8r4dh.js → index-mb62swmp.js} +2 -2
- package/dist/index-nzfpbep9.js +14 -0
- package/dist/{index-z070caqq.js → index-p64w2wrt.js} +30 -8
- package/dist/{index-8x2rp038.js → index-petywj9n.js} +81 -58
- package/dist/{index-nn8qzaxe.js → index-phkawd97.js} +2 -2
- package/dist/{index-ede5v6yy.js → index-q3f93ttm.js} +26 -17
- package/dist/{index-3s642t05.js → index-spnvnhbf.js} +7 -10
- 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-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-9ze9zy34.js → prompt-5vbvcsds.js} +5 -5
- package/dist/{server-qg4rm5e3.js → server-8c4jwqjh.js} +5 -5
- package/dist/{skillCatalog-fvrcgryd.js → skillCatalog-bqya1aer.js} +8 -7
- package/dist/skillsService-8yjvmz8c.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-9qew50s3.js +377 -0
- package/dist/updateService.cli-xtqp78g7.js +15 -0
- package/dist/updateService.skills-e2pbe2w6.js +27 -0
- package/dist/updateService.tools-m58m2fbt.js +19 -0
- package/package.json +2 -2
- package/dist/cli-7rv7qys0.js +0 -23
- package/dist/index-3qp7d08f.js +0 -240
- package/dist/index-3zf0ywpb.js +0 -95
- package/dist/index-753mncpq.js +0 -271
- package/dist/index-w3my9pw8.js +0 -45
- package/dist/skillsService-0387c5f0.js +0 -29
- package/dist/tree-4dhk82fh.js +0 -17
- package/dist/updateService-a3ypvwz8.js +0 -522
- package/dist/updateService.skills-nkdzyrwv.js +0 -22
- package/dist/updateService.tools-3zfct9yk.js +0 -16
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// ../auth/src/constants.ts
|
|
2
2
|
var UIPATH_HOME_DIR2 = ".uipath";
|
|
3
3
|
var AUTH_FILENAME = ".auth";
|
|
4
|
+
var AUTH_FILE_MODE = 384;
|
|
5
|
+
var AUTH_DIR_MODE = 448;
|
|
4
6
|
var DEFAULT_BASE_URL = "https://cloud.uipath.com";
|
|
5
7
|
var DEFAULT_AUTH_TIMEOUT_MS2 = 5 * 60 * 1000;
|
|
6
8
|
var AUTH_TIMEOUT_ERROR_CODE2 = "EAUTHTIMEOUT";
|
|
@@ -8,6 +10,6 @@ var AUTH_CANCELLED_ERROR_CODE2 = "EAUTHCANCELLED";
|
|
|
8
10
|
var AUTH_RECLAIMED_ERROR_CODE2 = "EAUTHRECLAIMED";
|
|
9
11
|
var DEFAULT_REDIRECT_URI = "http://localhost:8104/oidc/login";
|
|
10
12
|
|
|
11
|
-
export { UIPATH_HOME_DIR2, AUTH_FILENAME, DEFAULT_BASE_URL, DEFAULT_AUTH_TIMEOUT_MS2, AUTH_TIMEOUT_ERROR_CODE2, AUTH_CANCELLED_ERROR_CODE2, AUTH_RECLAIMED_ERROR_CODE2, DEFAULT_REDIRECT_URI };
|
|
13
|
+
export { UIPATH_HOME_DIR2, AUTH_FILENAME, AUTH_FILE_MODE, AUTH_DIR_MODE, DEFAULT_BASE_URL, DEFAULT_AUTH_TIMEOUT_MS2, AUTH_TIMEOUT_ERROR_CODE2, AUTH_CANCELLED_ERROR_CODE2, AUTH_RECLAIMED_ERROR_CODE2, DEFAULT_REDIRECT_URI };
|
|
12
14
|
|
|
13
|
-
//# debugId=
|
|
15
|
+
//# debugId=2785918410A7056B64756E2164756E21
|
|
@@ -28,63 +28,61 @@ var promptSelect = async (options, message) => {
|
|
|
28
28
|
// src/services/auth.ts
|
|
29
29
|
class NodeAuth {
|
|
30
30
|
async interactiveLogin(options) {
|
|
31
|
-
const { interactiveLogin } = await import("./index-
|
|
31
|
+
const { interactiveLogin } = await import("./index-e82sznr2.js");
|
|
32
32
|
return await interactiveLogin({
|
|
33
33
|
...options,
|
|
34
34
|
selectFromList: promptSelect
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
async clientCredentialsLogin(options) {
|
|
38
|
-
const { clientCredentialsLogin } = await import("./index-
|
|
38
|
+
const { clientCredentialsLogin } = await import("./index-e82sznr2.js");
|
|
39
39
|
return await clientCredentialsLogin(options);
|
|
40
40
|
}
|
|
41
41
|
async getLoginStatus(options) {
|
|
42
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
42
|
+
const { getLoginStatusAsync } = await import("./index-e82sznr2.js");
|
|
43
43
|
return getLoginStatusAsync(options);
|
|
44
44
|
}
|
|
45
45
|
async fetchTenants(baseUrl, accessToken, organizationId) {
|
|
46
|
-
const { fetchTenantsAndOrganizations } = await import("./index-
|
|
46
|
+
const { fetchTenantsAndOrganizations } = await import("./index-e82sznr2.js");
|
|
47
47
|
return fetchTenantsAndOrganizations(baseUrl, accessToken, organizationId);
|
|
48
48
|
}
|
|
49
49
|
async saveTenantSelection(envFilePath, tenantName, tenantId) {
|
|
50
|
-
const {
|
|
51
|
-
await
|
|
50
|
+
const { updateEnvFileLockedAsync } = await import("./index-e82sznr2.js");
|
|
51
|
+
await updateEnvFileLockedAsync({
|
|
52
52
|
envPath: envFilePath,
|
|
53
53
|
data: {
|
|
54
54
|
UIPATH_TENANT_NAME: tenantName,
|
|
55
55
|
UIPATH_TENANT_ID: tenantId
|
|
56
|
-
}
|
|
57
|
-
merge: true
|
|
56
|
+
}
|
|
58
57
|
});
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
class BrowserAuth {
|
|
63
62
|
async interactiveLogin(options) {
|
|
64
|
-
const { interactiveLogin } = await import("./index-
|
|
63
|
+
const { interactiveLogin } = await import("./index-e82sznr2.js");
|
|
65
64
|
return await interactiveLogin(options);
|
|
66
65
|
}
|
|
67
66
|
async clientCredentialsLogin(options) {
|
|
68
|
-
const { clientCredentialsLogin } = await import("./index-
|
|
67
|
+
const { clientCredentialsLogin } = await import("./index-e82sznr2.js");
|
|
69
68
|
return await clientCredentialsLogin(options);
|
|
70
69
|
}
|
|
71
70
|
async getLoginStatus(options) {
|
|
72
|
-
const { getLoginStatusAsync } = await import("./index-
|
|
71
|
+
const { getLoginStatusAsync } = await import("./index-e82sznr2.js");
|
|
73
72
|
return getLoginStatusAsync(options);
|
|
74
73
|
}
|
|
75
74
|
async fetchTenants(baseUrl, accessToken, organizationId) {
|
|
76
|
-
const { fetchTenantsAndOrganizations } = await import("./index-
|
|
75
|
+
const { fetchTenantsAndOrganizations } = await import("./index-e82sznr2.js");
|
|
77
76
|
return fetchTenantsAndOrganizations(baseUrl, accessToken, organizationId);
|
|
78
77
|
}
|
|
79
78
|
async saveTenantSelection(envFilePath, tenantName, tenantId) {
|
|
80
|
-
const {
|
|
81
|
-
await
|
|
79
|
+
const { updateEnvFileLockedAsync } = await import("./index-e82sznr2.js");
|
|
80
|
+
await updateEnvFileLockedAsync({
|
|
82
81
|
envPath: envFilePath,
|
|
83
82
|
data: {
|
|
84
83
|
UIPATH_TENANT_NAME: tenantName,
|
|
85
84
|
UIPATH_TENANT_ID: tenantId
|
|
86
|
-
}
|
|
87
|
-
merge: true
|
|
85
|
+
}
|
|
88
86
|
});
|
|
89
87
|
}
|
|
90
88
|
}
|
|
@@ -92,4 +90,4 @@ var auth = isBrowser2() ? new BrowserAuth : new NodeAuth;
|
|
|
92
90
|
|
|
93
91
|
export { auth };
|
|
94
92
|
|
|
95
|
-
//# debugId=
|
|
93
|
+
//# debugId=E38A0F5800658FC664756E2164756E21
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UIPATH_HOME_DIR2,
|
|
3
3
|
AUTH_FILENAME,
|
|
4
|
+
AUTH_FILE_MODE,
|
|
5
|
+
AUTH_DIR_MODE,
|
|
4
6
|
DEFAULT_BASE_URL,
|
|
5
7
|
DEFAULT_REDIRECT_URI
|
|
6
|
-
} from "./index-
|
|
8
|
+
} from "./index-65pyx6c9.js";
|
|
7
9
|
import {
|
|
8
10
|
getFileSystem2
|
|
9
|
-
} from "./index-
|
|
11
|
+
} from "./index-p64w2wrt.js";
|
|
10
12
|
import {
|
|
11
13
|
isBrowser2,
|
|
12
14
|
getGlobalThis
|
|
@@ -1272,7 +1274,39 @@ var loadEnvFileAsync2 = async ({ envPath }) => {
|
|
|
1272
1274
|
}
|
|
1273
1275
|
return parseEnvContent(content);
|
|
1274
1276
|
};
|
|
1275
|
-
var
|
|
1277
|
+
var findAuthHomeDir = (fs, dir) => {
|
|
1278
|
+
let current = dir;
|
|
1279
|
+
for (;; ) {
|
|
1280
|
+
if (fs.path.basename(current) === UIPATH_HOME_DIR2)
|
|
1281
|
+
return current;
|
|
1282
|
+
const parent = fs.path.dirname(current);
|
|
1283
|
+
if (parent === current)
|
|
1284
|
+
return;
|
|
1285
|
+
current = parent;
|
|
1286
|
+
}
|
|
1287
|
+
};
|
|
1288
|
+
var TEMP_FILE_ATTEMPTS = 5;
|
|
1289
|
+
var isFileExists = (error) => error instanceof Error && error.code === "EEXIST";
|
|
1290
|
+
var writeTempFile = async (fs, targetPath, content) => {
|
|
1291
|
+
for (let attempt = 1;; attempt++) {
|
|
1292
|
+
const tempPath = `${targetPath}.${crypto.randomUUID()}.tmp`;
|
|
1293
|
+
try {
|
|
1294
|
+
await fs.writeFile(tempPath, content, {
|
|
1295
|
+
mode: AUTH_FILE_MODE,
|
|
1296
|
+
exclusive: true
|
|
1297
|
+
});
|
|
1298
|
+
return tempPath;
|
|
1299
|
+
} catch (error) {
|
|
1300
|
+
if (!isFileExists(error)) {
|
|
1301
|
+
await fs.rm(tempPath).catch(() => {});
|
|
1302
|
+
throw error;
|
|
1303
|
+
}
|
|
1304
|
+
if (attempt === TEMP_FILE_ATTEMPTS)
|
|
1305
|
+
throw error;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
};
|
|
1309
|
+
var saveEnvFileAsync = async ({
|
|
1276
1310
|
envPath,
|
|
1277
1311
|
data,
|
|
1278
1312
|
merge = true
|
|
@@ -1299,10 +1333,18 @@ var saveEnvFileAsync2 = async ({
|
|
|
1299
1333
|
`)}
|
|
1300
1334
|
`;
|
|
1301
1335
|
const dir = fs.path.dirname(absolutePath);
|
|
1302
|
-
await fs.mkdir(dir);
|
|
1303
|
-
const
|
|
1304
|
-
|
|
1305
|
-
|
|
1336
|
+
await fs.mkdir(dir, { mode: AUTH_DIR_MODE });
|
|
1337
|
+
const authHomeDir = findAuthHomeDir(fs, dir);
|
|
1338
|
+
if (authHomeDir !== undefined) {
|
|
1339
|
+
await fs.chmod?.(authHomeDir, AUTH_DIR_MODE);
|
|
1340
|
+
}
|
|
1341
|
+
const tempPath = await writeTempFile(fs, absolutePath, content);
|
|
1342
|
+
try {
|
|
1343
|
+
await fs.rename(tempPath, absolutePath);
|
|
1344
|
+
} catch (error) {
|
|
1345
|
+
await fs.rm(tempPath).catch(() => {});
|
|
1346
|
+
throw error;
|
|
1347
|
+
}
|
|
1306
1348
|
};
|
|
1307
1349
|
|
|
1308
1350
|
// ../auth/src/loginStatus.ts
|
|
@@ -1321,7 +1363,7 @@ var getLoginStatusWithDeps = async (options = {}, deps = {}) => {
|
|
|
1321
1363
|
const {
|
|
1322
1364
|
resolveEnvFilePath = resolveEnvFilePathAsync2,
|
|
1323
1365
|
loadEnvFile = loadEnvFileAsync2,
|
|
1324
|
-
saveEnvFile =
|
|
1366
|
+
saveEnvFile = saveEnvFileAsync,
|
|
1325
1367
|
getFs = getFileSystem2,
|
|
1326
1368
|
refreshToken: refreshTokenFn = refreshAccessToken,
|
|
1327
1369
|
resolveConfig = resolveConfigAsync,
|
|
@@ -2158,7 +2200,7 @@ var interactiveLoginWithDeps = async (options, deps) => {
|
|
|
2158
2200
|
clientCredentials = clientCredentialsLogin2,
|
|
2159
2201
|
federatedCredentials = federatedCredentialsLogin,
|
|
2160
2202
|
auth = authenticate2,
|
|
2161
|
-
saveEnvFile =
|
|
2203
|
+
saveEnvFile = saveEnvFileAsync,
|
|
2162
2204
|
loadEnvFile = loadEnvFileAsync2,
|
|
2163
2205
|
getFs = getFileSystem2,
|
|
2164
2206
|
jwtParser = parseJWT2,
|
|
@@ -2378,6 +2420,20 @@ async function logoutWithDeps(options, deps = {}) {
|
|
|
2378
2420
|
async function logout2(options) {
|
|
2379
2421
|
return logoutWithDeps(options);
|
|
2380
2422
|
}
|
|
2423
|
+
// ../auth/src/utils/lockedEnvFile.ts
|
|
2424
|
+
var updateEnvFileLockedAsync2 = async ({
|
|
2425
|
+
envPath,
|
|
2426
|
+
data
|
|
2427
|
+
}) => {
|
|
2428
|
+
const fs = getFileSystem2();
|
|
2429
|
+
const absolutePath = fs.path.isAbsolute(envPath) ? envPath : fs.path.join(fs.env.homedir(), envPath);
|
|
2430
|
+
const release = await fs.acquireLock(absolutePath);
|
|
2431
|
+
try {
|
|
2432
|
+
await saveEnvFileAsync({ envPath: absolutePath, data, merge: true });
|
|
2433
|
+
} finally {
|
|
2434
|
+
await release().catch(() => {});
|
|
2435
|
+
}
|
|
2436
|
+
};
|
|
2381
2437
|
|
|
2382
2438
|
// ../auth/src/index.ts
|
|
2383
2439
|
var authenticate2 = async ({
|
|
@@ -2435,10 +2491,10 @@ var authenticate2 = async ({
|
|
|
2435
2491
|
const authUrl = `${authorizationEndpoint}?${authParams.toString()}`;
|
|
2436
2492
|
let strategy;
|
|
2437
2493
|
if (isBrowser2()) {
|
|
2438
|
-
const { BrowserAuthStrategy } = await import("./browser-strategy-
|
|
2494
|
+
const { BrowserAuthStrategy } = await import("./browser-strategy-5rfwnk5q.js");
|
|
2439
2495
|
strategy = new BrowserAuthStrategy;
|
|
2440
2496
|
} else {
|
|
2441
|
-
const { NodeAuthStrategy } = await import("./node-strategy-
|
|
2497
|
+
const { NodeAuthStrategy } = await import("./node-strategy-9t0ttffv.js");
|
|
2442
2498
|
strategy = new NodeAuthStrategy;
|
|
2443
2499
|
}
|
|
2444
2500
|
const code = await strategy.execute(authUrl, effectiveRedirectUriUrl, state, {
|
|
@@ -2458,6 +2514,6 @@ var authenticate2 = async ({
|
|
|
2458
2514
|
});
|
|
2459
2515
|
};
|
|
2460
2516
|
|
|
2461
|
-
export { setAuthFileConfig2, DEFAULT_AUTH_PROFILE2, INHERITED_AUTH_PROFILE_ENV2, AuthProfileValidationError2, normalizeAuthProfileName2, setActiveAuthProfile2, getActiveAuthProfile2, runWithAuthProfile2, getActiveAuthProfileFilePath2, listAuthProfileNamesAsync2, authProfileExistsAsync2, deleteAuthProfileAsync2, parseJWT2, parseAuthFlow2, ENV_AUTH_ENABLE_VAR2, ENV_AUTH_VARS2, EnvAuthConfigError2, isEnvAuthEnabled2, readAuthFromEnv2, registerRobotClientLoader2, fetchTenantsAndOrganizations2, AUTH_FLOW_ENV_VAR2, DEFAULT_AUTH_FILENAME2, DEFAULT_ENV_FILENAME2, resolveEnvFileLocationAsync2, resolveEnvFilePathAsync2, loadEnvFileAsync2,
|
|
2517
|
+
export { setAuthFileConfig2, DEFAULT_AUTH_PROFILE2, INHERITED_AUTH_PROFILE_ENV2, AuthProfileValidationError2, normalizeAuthProfileName2, setActiveAuthProfile2, getActiveAuthProfile2, runWithAuthProfile2, getActiveAuthProfileFilePath2, listAuthProfileNamesAsync2, authProfileExistsAsync2, deleteAuthProfileAsync2, parseJWT2, parseAuthFlow2, ENV_AUTH_ENABLE_VAR2, ENV_AUTH_VARS2, EnvAuthConfigError2, isEnvAuthEnabled2, readAuthFromEnv2, registerRobotClientLoader2, fetchTenantsAndOrganizations2, AUTH_FLOW_ENV_VAR2, DEFAULT_AUTH_FILENAME2, DEFAULT_ENV_FILENAME2, resolveEnvFileLocationAsync2, resolveEnvFilePathAsync2, loadEnvFileAsync2, CredentialSource2, getLoginStatusAsync2, describeAuthProfilesAsync2, clientCredentialsLogin2, isTenantSelectionError2, interactiveLogin2, logout2, updateEnvFileLockedAsync2, authenticate2 };
|
|
2462
2518
|
|
|
2463
|
-
//# debugId=
|
|
2519
|
+
//# debugId=64FE9E26C099C86A64756E2164756E21
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-p64w2wrt.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError,
|
|
6
6
|
DEFAULT_FETCH_TIMEOUT_MS
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-zhp702kh.js";
|
|
8
8
|
|
|
9
9
|
// src/services/markdownToJiraWiki.ts
|
|
10
10
|
var SENTINEL = "\x00";
|
|
@@ -29,6 +29,16 @@ function isSkillsPackageMetadataError(error) {
|
|
|
29
29
|
return error instanceof SkillsPackageMetadataError || error.name === "SkillsPackageMetadataError";
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
class SkillsPinNotPublishedError extends Error {
|
|
33
|
+
constructor(message) {
|
|
34
|
+
super(message);
|
|
35
|
+
this.name = "SkillsPinNotPublishedError";
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function isSkillsPinNotPublishedError(error) {
|
|
39
|
+
return error instanceof SkillsPinNotPublishedError || error.name === "SkillsPinNotPublishedError";
|
|
40
|
+
}
|
|
41
|
+
|
|
32
42
|
class SkillsPackOutputError extends Error {
|
|
33
43
|
constructor(message) {
|
|
34
44
|
super(message);
|
|
@@ -39,6 +49,6 @@ function isSkillsPackOutputError(error) {
|
|
|
39
49
|
return error instanceof SkillsPackOutputError || error.name === "SkillsPackOutputError";
|
|
40
50
|
}
|
|
41
51
|
|
|
42
|
-
export { SkillSourceError, SkillsRegistryAuthError, isSkillsRegistryAuthError, SkillsPackageMetadataError, isSkillsPackageMetadataError, SkillsPackOutputError, isSkillsPackOutputError };
|
|
52
|
+
export { SkillSourceError, SkillsRegistryAuthError, isSkillsRegistryAuthError, SkillsPackageMetadataError, isSkillsPackageMetadataError, SkillsPinNotPublishedError, isSkillsPinNotPublishedError, SkillsPackOutputError, isSkillsPackOutputError };
|
|
43
53
|
|
|
44
|
-
//# debugId=
|
|
54
|
+
//# debugId=B8D50B8DE45E3DF964756E2164756E21
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getFileSystem2
|
|
3
|
+
} from "./index-p64w2wrt.js";
|
|
4
|
+
import {
|
|
5
|
+
catchError,
|
|
6
|
+
OutputFormatter,
|
|
7
|
+
TELEMETRY_ARG_VALUE_WITHHELD
|
|
8
|
+
} from "./index-zhp702kh.js";
|
|
9
|
+
import {
|
|
10
|
+
validatePins,
|
|
11
|
+
versionLinePrefix,
|
|
12
|
+
skillsPinFor,
|
|
13
|
+
sortedByName
|
|
14
|
+
} from "./index-v7yphxb8.js";
|
|
15
|
+
import {
|
|
16
|
+
withConfigLock,
|
|
17
|
+
readConfigFileAt,
|
|
18
|
+
writeConfigFileAt,
|
|
19
|
+
configPathForMessage,
|
|
20
|
+
replaceCachedVersions,
|
|
21
|
+
resolveConfigWriteTargetAsync,
|
|
22
|
+
classifyError,
|
|
23
|
+
reportFreezeFailure,
|
|
24
|
+
FreezeFailureError,
|
|
25
|
+
freezeFailureError,
|
|
26
|
+
reportFreezeFailureError
|
|
27
|
+
} from "./index-5ygg5mrs.js";
|
|
28
|
+
import {
|
|
29
|
+
toolPackageName,
|
|
30
|
+
describeCandidateFailure,
|
|
31
|
+
getEffectiveRegistry,
|
|
32
|
+
toolService
|
|
33
|
+
} from "./index-xw81b1gn.js";
|
|
34
|
+
import {
|
|
35
|
+
asRecord,
|
|
36
|
+
STORE_NAME,
|
|
37
|
+
readStoreSkillsVersion,
|
|
38
|
+
readInstalledSkillsVersion
|
|
39
|
+
} from "./index-jk7em40j.js";
|
|
40
|
+
import {
|
|
41
|
+
package_default
|
|
42
|
+
} from "./index-phkawd97.js";
|
|
43
|
+
|
|
44
|
+
// src/commands/config/codes.ts
|
|
45
|
+
var CONFIG_CODES = {
|
|
46
|
+
ConfigFrozen: "ConfigFrozen",
|
|
47
|
+
ConfigUnfrozen: "ConfigUnfrozen",
|
|
48
|
+
ConfigFreezeDrift: "ConfigFreezeDrift",
|
|
49
|
+
ConfigFreezeOnStudio: "ConfigFreezeOnStudio",
|
|
50
|
+
ConfigFreezeInvalidPins: "ConfigFreezeInvalidPins",
|
|
51
|
+
ConfigFreezeInvalidConfig: "ConfigFreezeInvalidConfig",
|
|
52
|
+
ConfigChannelOffPin: "ConfigChannelOffPin",
|
|
53
|
+
ConfigFrozenEdit: "ConfigFrozenEdit",
|
|
54
|
+
ConfigUnknownKey: "ConfigUnknownKey",
|
|
55
|
+
ConfigMovedKey: "ConfigMovedKey",
|
|
56
|
+
ConfigInvalidValue: "ConfigInvalidValue",
|
|
57
|
+
ConfigFileRead: "ConfigFileRead",
|
|
58
|
+
ConfigFileWrite: "ConfigFileWrite",
|
|
59
|
+
ConfigFileBadPath: "ConfigFileBadPath",
|
|
60
|
+
ConfigFileNotFound: "ConfigFileNotFound",
|
|
61
|
+
ConfigExported: "ConfigExported",
|
|
62
|
+
ConfigExportExists: "ConfigExportExists",
|
|
63
|
+
ConfigExportNoConfig: "ConfigExportNoConfig",
|
|
64
|
+
ConfigExportBadOutputFile: "ConfigExportBadOutputFile",
|
|
65
|
+
ConfigExportWrite: "ConfigExportWrite",
|
|
66
|
+
ConfigImported: "ConfigImported",
|
|
67
|
+
ConfigImportBadInput: "ConfigImportBadInput",
|
|
68
|
+
ConfigImportNotFound: "ConfigImportNotFound",
|
|
69
|
+
ConfigImportInvalid: "ConfigImportInvalid",
|
|
70
|
+
ConfigImportRead: "ConfigImportRead",
|
|
71
|
+
ConfigImportFailed: "ConfigImportFailed",
|
|
72
|
+
ConfigFreezeToolLookup: "ConfigFreezeToolLookup",
|
|
73
|
+
ConfigFreezeAllNothingFound: "ConfigFreezeAllNothingFound",
|
|
74
|
+
ConfigFreezeNoTool: "ConfigFreezeNoTool"
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
// src/commands/config/configFile.ts
|
|
78
|
+
function homeConfigWarning(path, action) {
|
|
79
|
+
return `${configPathForMessage(path)} is the home config, so ${action.doing} applies to every repo without a .uipath/config.json of its own. To ${action.onlyThisRepo}, create an empty .uipath/config.json at its root, then run '${action.command}' there.`;
|
|
80
|
+
}
|
|
81
|
+
function configFileTelemetryProperties(options) {
|
|
82
|
+
return options.configFile !== undefined ? { configFile: TELEMETRY_ARG_VALUE_WITHHELD } : {};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
class FileReadError extends Error {
|
|
86
|
+
readError;
|
|
87
|
+
constructor(readError) {
|
|
88
|
+
super(readError.message);
|
|
89
|
+
this.readError = readError;
|
|
90
|
+
this.name = "FileReadError";
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
async function readConfigFileOrReadError(path) {
|
|
94
|
+
const [readError, fileConfig] = await catchError(readConfigFileAt(path));
|
|
95
|
+
if (readError)
|
|
96
|
+
throw new FileReadError(readError);
|
|
97
|
+
return fileConfig;
|
|
98
|
+
}
|
|
99
|
+
function valueText(value) {
|
|
100
|
+
return typeof value === "string" ? value : JSON.stringify(value);
|
|
101
|
+
}
|
|
102
|
+
function setUpdateChannel(fileConfig, channel, source) {
|
|
103
|
+
const replaced = fileConfig.core;
|
|
104
|
+
const core = asRecord(replaced) ?? {};
|
|
105
|
+
const previous = core.updateChannel;
|
|
106
|
+
fileConfig.core = { ...core, updateChannel: channel };
|
|
107
|
+
if (replaced !== undefined && asRecord(replaced) === undefined) {
|
|
108
|
+
return `The config's core ${valueText(replaced)} is not an object, so it is replaced; its updateChannel is set to ${channel}, the channel of ${source}.`;
|
|
109
|
+
}
|
|
110
|
+
if (previous === undefined) {
|
|
111
|
+
return `The config's updateChannel is set to ${channel}, the channel of ${source}.`;
|
|
112
|
+
}
|
|
113
|
+
return previous !== channel ? `The config's updateChannel changes from ${valueText(previous)} to ${channel}, the channel of ${source}.` : undefined;
|
|
114
|
+
}
|
|
115
|
+
function readVersions(fileConfig) {
|
|
116
|
+
const versionsBlock = asRecord(fileConfig.versions) ?? {};
|
|
117
|
+
const tools = asRecord(versionsBlock.tools);
|
|
118
|
+
return {
|
|
119
|
+
...versionsBlock.cli !== undefined && {
|
|
120
|
+
cli: valueText(versionsBlock.cli)
|
|
121
|
+
},
|
|
122
|
+
...versionsBlock.skills !== undefined && {
|
|
123
|
+
skills: valueText(versionsBlock.skills)
|
|
124
|
+
},
|
|
125
|
+
...tools && {
|
|
126
|
+
tools: Object.fromEntries(Object.entries(tools).map(([name, pin]) => [
|
|
127
|
+
name,
|
|
128
|
+
valueText(pin)
|
|
129
|
+
]))
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
async function reportConfigFileError(error, path, configFile) {
|
|
134
|
+
if (error instanceof FreezeFailureError) {
|
|
135
|
+
reportFreezeFailureError(error);
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
if (!(error instanceof FileReadError)) {
|
|
139
|
+
const cause = await classifyError(error);
|
|
140
|
+
reportFreezeFailure("fileWrite", { path, cause }, { Code: CONFIG_CODES.ConfigFileWrite });
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
reportFreezeFailureError(await configFileReadFailure(error.readError, path, configFile));
|
|
144
|
+
}
|
|
145
|
+
async function configFileReadFailure(readError, path, configFile) {
|
|
146
|
+
const cause = await classifyError(readError);
|
|
147
|
+
const { code } = readError;
|
|
148
|
+
if (typeof code === "string")
|
|
149
|
+
cause.message = code;
|
|
150
|
+
const [, stats] = await catchError(getFileSystem2().stat(path));
|
|
151
|
+
const folder = code === "EISDIR" || stats?.isDirectory() === true;
|
|
152
|
+
return freezeFailureError("fileRead", { path, cause, folder, configFile }, { Code: CONFIG_CODES.ConfigFileRead });
|
|
153
|
+
}
|
|
154
|
+
function configFilePathFailure(error) {
|
|
155
|
+
return freezeFailureError("configFilePath", error, {
|
|
156
|
+
Code: error.problem === "missing" ? CONFIG_CODES.ConfigFileNotFound : CONFIG_CODES.ConfigFileBadPath
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// src/services/forcedUpdate.ts
|
|
161
|
+
function canonical(value) {
|
|
162
|
+
return JSON.stringify(value, (_key, nested) => nested !== null && typeof nested === "object" && !Array.isArray(nested) ? Object.fromEntries(Object.entries(nested).sort(([a], [b]) => a.localeCompare(b))) : nested);
|
|
163
|
+
}
|
|
164
|
+
async function writeVersions(path, fileConfig, versions) {
|
|
165
|
+
validatePins(versions, asRecord(fileConfig.core)?.updateChannel);
|
|
166
|
+
fileConfig.versions = versions;
|
|
167
|
+
await writeConfigFileAt(path, fileConfig);
|
|
168
|
+
replaceCachedVersions(versions, asRecord(fileConfig.core)?.updateChannel);
|
|
169
|
+
}
|
|
170
|
+
async function editToolPins(edit) {
|
|
171
|
+
const { path } = await resolveConfigWriteTargetAsync();
|
|
172
|
+
const tools = await withConfigLock(path, async () => {
|
|
173
|
+
const fileConfig = await readConfigFileAt(path);
|
|
174
|
+
const current = readVersions(fileConfig);
|
|
175
|
+
if (current.cli === undefined) {
|
|
176
|
+
throw new Error("The config has no versions.cli, so the pin was not written.");
|
|
177
|
+
}
|
|
178
|
+
const edited = sortedByName(edit(current.tools ?? {}));
|
|
179
|
+
await writeVersions(path, fileConfig, {
|
|
180
|
+
...current,
|
|
181
|
+
cli: current.cli,
|
|
182
|
+
tools: edited
|
|
183
|
+
});
|
|
184
|
+
return edited;
|
|
185
|
+
});
|
|
186
|
+
return { path, tools };
|
|
187
|
+
}
|
|
188
|
+
async function writeToolPin2(packageName, version) {
|
|
189
|
+
const { path, tools } = await editToolPins(({ [packageName]: _old, ...tools }) => version === undefined ? tools : { ...tools, [packageName]: version });
|
|
190
|
+
return { path, pin: tools[packageName] };
|
|
191
|
+
}
|
|
192
|
+
async function removeToolPins2(packageNames) {
|
|
193
|
+
const { path } = await editToolPins((tools) => Object.fromEntries(Object.entries(tools).filter(([name]) => !packageNames.includes(name))));
|
|
194
|
+
return path;
|
|
195
|
+
}
|
|
196
|
+
function installedAfter(report, discovered) {
|
|
197
|
+
const installed = new Map(discovered.map((tool) => [tool.packageName, tool.version]));
|
|
198
|
+
for (const entry of report.Tools ?? []) {
|
|
199
|
+
if (entry.status !== "failed" && entry.to !== undefined) {
|
|
200
|
+
installed.set(toolPackageName(entry.name), entry.to);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
return installed;
|
|
204
|
+
}
|
|
205
|
+
function isOnLine(pin, linePrefix) {
|
|
206
|
+
return versionLinePrefix(pin) === linePrefix;
|
|
207
|
+
}
|
|
208
|
+
async function lookUpMissingPins(pinned, { installed, linePrefix, channel }, warnings) {
|
|
209
|
+
const moved = new Map;
|
|
210
|
+
const dropped = new Set;
|
|
211
|
+
for (const [name, pin] of Object.entries(pinned)) {
|
|
212
|
+
if (installed.has(name))
|
|
213
|
+
continue;
|
|
214
|
+
let failure;
|
|
215
|
+
const candidate = await toolService.resolveInstallCandidate(name, linePrefix, channel, (lookupFailure) => {
|
|
216
|
+
failure = lookupFailure;
|
|
217
|
+
});
|
|
218
|
+
if (candidate || !failure || failure.kind === "not-found") {
|
|
219
|
+
moved.set(name, candidate?.version);
|
|
220
|
+
continue;
|
|
221
|
+
}
|
|
222
|
+
const { message } = describeCandidateFailure(name, linePrefix, failure, await getEffectiveRegistry(name));
|
|
223
|
+
if (isOnLine(pin, linePrefix)) {
|
|
224
|
+
warnings.push(`${message} The freeze keeps ${name} at ${pin}.`);
|
|
225
|
+
continue;
|
|
226
|
+
}
|
|
227
|
+
dropped.add(name);
|
|
228
|
+
warnings.push(`${message} ${name} ${pin} is not on the ${linePrefix}x line, so it is removed from the freeze.`);
|
|
229
|
+
}
|
|
230
|
+
return { moved, dropped };
|
|
231
|
+
}
|
|
232
|
+
function toolPinsAfter({ installed, moved, dropped, linePrefix, channel }, current, warnings) {
|
|
233
|
+
const tools = {};
|
|
234
|
+
for (const [name, version] of installed) {
|
|
235
|
+
if (version.startsWith(linePrefix)) {
|
|
236
|
+
tools[name] = version;
|
|
237
|
+
continue;
|
|
238
|
+
}
|
|
239
|
+
const outcome = current.tools?.[name] === undefined ? "it is not frozen" : "it is removed from the freeze";
|
|
240
|
+
warnings.push(`${name} ${version} is not on the ${linePrefix}x line, so ${outcome}.`);
|
|
241
|
+
}
|
|
242
|
+
for (const [name, pin] of Object.entries(current.tools ?? {})) {
|
|
243
|
+
if (installed.has(name) || dropped.has(name))
|
|
244
|
+
continue;
|
|
245
|
+
if (!moved.has(name) && !isOnLine(pin, linePrefix)) {
|
|
246
|
+
warnings.push(`${name} ${pin} is not on the ${linePrefix}x line, so it is removed from the freeze.`);
|
|
247
|
+
continue;
|
|
248
|
+
}
|
|
249
|
+
const version = moved.has(name) ? moved.get(name) : pin;
|
|
250
|
+
if (version !== undefined) {
|
|
251
|
+
tools[name] = version;
|
|
252
|
+
continue;
|
|
253
|
+
}
|
|
254
|
+
warnings.push(`${name} has no ${channel} build on the ${linePrefix}x line, so it is removed from the freeze.`);
|
|
255
|
+
}
|
|
256
|
+
return tools;
|
|
257
|
+
}
|
|
258
|
+
async function skillsPinAfter({ skills, linePrefix }, current, warnings) {
|
|
259
|
+
const decision = await skillsPinFor(skills, current.skills, linePrefix);
|
|
260
|
+
if (decision.reason === "installedOffLine") {
|
|
261
|
+
warnings.push(`@uipath/skills ${decision.installed} is not on the ${linePrefix}x line, so it is not frozen. The skills follow the line of the CLI pin.`);
|
|
262
|
+
}
|
|
263
|
+
if (decision.reason === "pinOffLine") {
|
|
264
|
+
warnings.push(`The skills pin ${decision.pin} is not on the ${linePrefix}x line and no skills are installed, so it is removed from the freeze. The skills follow the line of the CLI pin.`);
|
|
265
|
+
}
|
|
266
|
+
return "skills" in decision ? decision.skills : undefined;
|
|
267
|
+
}
|
|
268
|
+
async function versionsAfter(moves, current, warnings) {
|
|
269
|
+
const tools = toolPinsAfter(moves, current, warnings);
|
|
270
|
+
const skills = await skillsPinAfter(moves, current, warnings);
|
|
271
|
+
return {
|
|
272
|
+
cli: moves.cli,
|
|
273
|
+
...skills !== undefined && { skills },
|
|
274
|
+
tools: sortedByName(tools)
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
async function updatedSkillsVersion(report) {
|
|
278
|
+
const sections = (report.Skills?.Sections ?? []).filter(({ error }) => error === undefined);
|
|
279
|
+
const section = sections.find(({ scope }) => scope === "local") ?? sections.find(({ scope }) => scope === "global");
|
|
280
|
+
if (!section)
|
|
281
|
+
return readInstalledSkillsVersion();
|
|
282
|
+
const fs = getFileSystem2();
|
|
283
|
+
return readStoreSkillsVersion(fs.path.join(section.rootDir, STORE_NAME));
|
|
284
|
+
}
|
|
285
|
+
async function writeBackVersions2(report, discovered) {
|
|
286
|
+
const cli = report.Cli?.action === "updated" && report.Cli.available ? report.Cli.available : package_default.version;
|
|
287
|
+
const afterUpdate = {
|
|
288
|
+
cli,
|
|
289
|
+
linePrefix: versionLinePrefix(cli),
|
|
290
|
+
channel: report.Channel,
|
|
291
|
+
installed: installedAfter(report, discovered),
|
|
292
|
+
skills: await updatedSkillsVersion(report)
|
|
293
|
+
};
|
|
294
|
+
const { path } = await resolveConfigWriteTargetAsync();
|
|
295
|
+
const warnings = [];
|
|
296
|
+
const pinned = readVersions(await readConfigFileAt(path)).tools ?? {};
|
|
297
|
+
const moves = {
|
|
298
|
+
...afterUpdate,
|
|
299
|
+
...await lookUpMissingPins(pinned, afterUpdate, warnings)
|
|
300
|
+
};
|
|
301
|
+
const { versions, changed } = await withConfigLock(path, async () => {
|
|
302
|
+
const fileConfig = await readConfigFileAt(path);
|
|
303
|
+
const current = readVersions(fileConfig);
|
|
304
|
+
if (fileConfig.versions === undefined) {
|
|
305
|
+
warnings.length = 0;
|
|
306
|
+
warnings.push("The versions block was removed while the update ran, so nothing was written back.");
|
|
307
|
+
return {
|
|
308
|
+
versions: await versionsAfter(moves, current, []),
|
|
309
|
+
changed: false
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
const written = await versionsAfter(moves, current, warnings);
|
|
313
|
+
const fileChannel = asRecord(fileConfig.core)?.updateChannel;
|
|
314
|
+
const channelMoved = fileChannel !== undefined && fileChannel !== report.Channel;
|
|
315
|
+
if (canonical(written) === canonical(current) && !channelMoved) {
|
|
316
|
+
return { versions: written, changed: false };
|
|
317
|
+
}
|
|
318
|
+
const channelWarning = setUpdateChannel(fileConfig, report.Channel, "this update");
|
|
319
|
+
await writeVersions(path, fileConfig, written);
|
|
320
|
+
if (channelWarning !== undefined)
|
|
321
|
+
warnings.push(channelWarning);
|
|
322
|
+
return { versions: written, changed: true };
|
|
323
|
+
});
|
|
324
|
+
for (const warning of warnings)
|
|
325
|
+
OutputFormatter.log({ Warning: warning });
|
|
326
|
+
return { path, versions, changed };
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export { CONFIG_CODES, homeConfigWarning, configFileTelemetryProperties, FileReadError, readConfigFileOrReadError, valueText, setUpdateChannel, readVersions, reportConfigFileError, configFileReadFailure, configFilePathFailure, writeToolPin2, removeToolPins2, writeBackVersions2 };
|
|
330
|
+
|
|
331
|
+
//# debugId=467FB99008347A1D64756E2164756E21
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-p64w2wrt.js";
|
|
4
4
|
import {
|
|
5
5
|
catchError,
|
|
6
6
|
RESULTS,
|
|
7
7
|
logger,
|
|
8
8
|
OutputFormatter,
|
|
9
9
|
processContext
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-zhp702kh.js";
|
|
11
|
+
import {
|
|
12
|
+
samePath
|
|
13
|
+
} from "./index-nzfpbep9.js";
|
|
11
14
|
import {
|
|
12
15
|
verifiedCommandOnPath,
|
|
13
16
|
homePathExists,
|
|
14
17
|
homeAppDirInstalled
|
|
15
|
-
} from "./index-
|
|
18
|
+
} from "./index-mb62swmp.js";
|
|
16
19
|
|
|
17
20
|
// src/commands/skills/agentNames.ts
|
|
18
21
|
var ALL_AGENTS = [
|
|
@@ -60,13 +63,6 @@ var MARKETPLACE_NAME = "uipath-marketplace";
|
|
|
60
63
|
var PLUGIN_NAME = "uipath";
|
|
61
64
|
var PLUGIN_REF = `${PLUGIN_NAME}@${MARKETPLACE_NAME}`;
|
|
62
65
|
var PLUGIN_RESET_INSTRUCTIONS = `Run \`claude plugin marketplace remove ${MARKETPLACE_NAME}\`, then re-run \`uip skills install --agent claude\` — this re-registers the marketplace and reinstalls the plugin from a clean state.`;
|
|
63
|
-
function samePath(a, b) {
|
|
64
|
-
const norm = (p) => {
|
|
65
|
-
const forward = p.replaceAll("\\", "/").replace(/\/+$/, "");
|
|
66
|
-
return process.platform === "win32" ? forward.toLowerCase() : forward;
|
|
67
|
-
};
|
|
68
|
-
return norm(a) === norm(b);
|
|
69
|
-
}
|
|
70
66
|
function claudeConfigDir() {
|
|
71
67
|
const fs = getFileSystem2();
|
|
72
68
|
const override = fs.env.getenv("CLAUDE_CONFIG_DIR");
|
|
@@ -112,7 +108,7 @@ function runClaude(args, opts = {}) {
|
|
|
112
108
|
}
|
|
113
109
|
async function removeLegacySkillCopies(storePath, rootDir) {
|
|
114
110
|
const fs = getFileSystem2();
|
|
115
|
-
const { readManifest } = await import("./contentStore-
|
|
111
|
+
const { readManifest } = await import("./contentStore-5p86z7qq.js");
|
|
116
112
|
const manifest = await readManifest(storePath);
|
|
117
113
|
const legacyNames = Object.entries(manifest.skills).filter(([, entry]) => entry.agents.includes("claude")).map(([name]) => name);
|
|
118
114
|
if (legacyNames.length === 0)
|
|
@@ -665,4 +661,4 @@ function rejectIfGlobalOnly(agent, isLocal, operation, isDefaultSource = true) {
|
|
|
665
661
|
|
|
666
662
|
export { ALL_AGENTS, AGENT_DISPLAY_NAMES, AGENT_DEFS, getSkillsDir, getSkillsDestinationHint, hasDistinctGlobalPath, skillOwnerOf, installSkill, installExtraFolders, isCommandFile, installSkillCommands, uninstallExtraFolders, uninstallSkill, rejectIfGlobalOnly };
|
|
667
663
|
|
|
668
|
-
//# debugId=
|
|
664
|
+
//# debugId=88C4C106CDC4B8A664756E2164756E21
|