@uipath/cli 1.197.1-preview.76 → 1.197.1-preview.78
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/index.browser.js +19 -19
- package/dist/index.js +53 -38
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -45866,7 +45866,7 @@ var init_package = __esm(() => {
|
|
|
45866
45866
|
package_default = {
|
|
45867
45867
|
name: "@uipath/cli",
|
|
45868
45868
|
license: "MIT",
|
|
45869
|
-
version: "1.197.1-preview.
|
|
45869
|
+
version: "1.197.1-preview.78",
|
|
45870
45870
|
description: "Cross platform CLI for UiPath",
|
|
45871
45871
|
repository: {
|
|
45872
45872
|
type: "git",
|
|
@@ -107477,11 +107477,22 @@ var init_detect = __esm(() => {
|
|
|
107477
107477
|
init_src();
|
|
107478
107478
|
});
|
|
107479
107479
|
|
|
107480
|
-
// src/commands/skills/agents/
|
|
107480
|
+
// src/commands/skills/agents/antigravity.ts
|
|
107481
107481
|
var def;
|
|
107482
|
-
var
|
|
107482
|
+
var init_antigravity = __esm(() => {
|
|
107483
107483
|
init_detect();
|
|
107484
107484
|
def = {
|
|
107485
|
+
localSubdir: [".agents", "skills"],
|
|
107486
|
+
globalSubdir: [".gemini", "antigravity-cli", "skills"],
|
|
107487
|
+
detect: () => homePathExists(".gemini", "antigravity-cli")
|
|
107488
|
+
};
|
|
107489
|
+
});
|
|
107490
|
+
|
|
107491
|
+
// src/commands/skills/agents/autopilot.ts
|
|
107492
|
+
var def2;
|
|
107493
|
+
var init_autopilot = __esm(() => {
|
|
107494
|
+
init_detect();
|
|
107495
|
+
def2 = {
|
|
107485
107496
|
localSubdir: [".autopilot", "skills"],
|
|
107486
107497
|
detect: () => homePathExists(".autopilot")
|
|
107487
107498
|
};
|
|
@@ -108366,7 +108377,7 @@ async function ensureDirectoryMarketplace(storePath) {
|
|
|
108366
108377
|
instructions: `Close all running Claude Code sessions, delete ${getFileSystem().path.join(marketplacesCacheDir(), MARKETPLACE_NAME)} if it still exists, then re-run this command. ` + "If it keeps failing, an antivirus or another process is locking the directory."
|
|
108367
108378
|
});
|
|
108368
108379
|
}
|
|
108369
|
-
var MARKETPLACE_NAME = "uipath-marketplace", PLUGIN_NAME = "uipath", PLUGIN_REF, FINALIZE_CACHE_ERROR,
|
|
108380
|
+
var MARKETPLACE_NAME = "uipath-marketplace", PLUGIN_NAME = "uipath", PLUGIN_REF, FINALIZE_CACHE_ERROR, def3;
|
|
108370
108381
|
var init_claude = __esm(() => {
|
|
108371
108382
|
init_src2();
|
|
108372
108383
|
init_src();
|
|
@@ -108374,7 +108385,7 @@ var init_claude = __esm(() => {
|
|
|
108374
108385
|
init_detect();
|
|
108375
108386
|
PLUGIN_REF = `${PLUGIN_NAME}@${MARKETPLACE_NAME}`;
|
|
108376
108387
|
FINALIZE_CACHE_ERROR = /Failed to finalize marketplace cache/i;
|
|
108377
|
-
|
|
108388
|
+
def3 = {
|
|
108378
108389
|
localSubdir: [".claude", "skills"],
|
|
108379
108390
|
globalOnly: true,
|
|
108380
108391
|
destinationHint: () => "installed via `claude plugin install`",
|
|
@@ -108401,20 +108412,20 @@ var init_claude = __esm(() => {
|
|
|
108401
108412
|
});
|
|
108402
108413
|
|
|
108403
108414
|
// src/commands/skills/agents/codex.ts
|
|
108404
|
-
var
|
|
108415
|
+
var def4;
|
|
108405
108416
|
var init_codex = __esm(() => {
|
|
108406
108417
|
init_detect();
|
|
108407
|
-
|
|
108418
|
+
def4 = {
|
|
108408
108419
|
localSubdir: [".agents", "skills"],
|
|
108409
108420
|
detect: () => verifiedCommandOnPath(["codex"], /codex[- ]?cli/i)
|
|
108410
108421
|
};
|
|
108411
108422
|
});
|
|
108412
108423
|
|
|
108413
108424
|
// src/commands/skills/agents/copilot.ts
|
|
108414
|
-
var
|
|
108425
|
+
var def5;
|
|
108415
108426
|
var init_copilot = __esm(() => {
|
|
108416
108427
|
init_detect();
|
|
108417
|
-
|
|
108428
|
+
def5 = {
|
|
108418
108429
|
localSubdir: [".github", "skills"],
|
|
108419
108430
|
globalSubdir: [".copilot", "skills"],
|
|
108420
108431
|
detect: () => verifiedCommandOnPath(["copilot"], /GitHub Copilot/i)
|
|
@@ -108422,40 +108433,40 @@ var init_copilot = __esm(() => {
|
|
|
108422
108433
|
});
|
|
108423
108434
|
|
|
108424
108435
|
// src/commands/skills/agents/cursor.ts
|
|
108425
|
-
var
|
|
108436
|
+
var def6;
|
|
108426
108437
|
var init_cursor = __esm(() => {
|
|
108427
108438
|
init_detect();
|
|
108428
|
-
|
|
108439
|
+
def6 = {
|
|
108429
108440
|
localSubdir: [".cursor", "skills"],
|
|
108430
108441
|
detect: () => verifiedCommandOnPath(["cursor-agent", "agent"], /cursor/i, ["--help"])
|
|
108431
108442
|
};
|
|
108432
108443
|
});
|
|
108433
108444
|
|
|
108434
108445
|
// src/commands/skills/agents/gemini.ts
|
|
108435
|
-
var
|
|
108446
|
+
var def7;
|
|
108436
108447
|
var init_gemini = __esm(() => {
|
|
108437
108448
|
init_detect();
|
|
108438
|
-
|
|
108449
|
+
def7 = {
|
|
108439
108450
|
localSubdir: [".gemini", "skills"],
|
|
108440
108451
|
detect: () => verifiedCommandOnPath(["gemini"], /Gemini CLI/i, ["--help"])
|
|
108441
108452
|
};
|
|
108442
108453
|
});
|
|
108443
108454
|
|
|
108444
108455
|
// src/commands/skills/agents/kiro.ts
|
|
108445
|
-
var
|
|
108456
|
+
var def8;
|
|
108446
108457
|
var init_kiro = __esm(() => {
|
|
108447
108458
|
init_detect();
|
|
108448
|
-
|
|
108459
|
+
def8 = {
|
|
108449
108460
|
localSubdir: [".kiro", "skills"],
|
|
108450
108461
|
detect: () => homePathExists(".kiro")
|
|
108451
108462
|
};
|
|
108452
108463
|
});
|
|
108453
108464
|
|
|
108454
108465
|
// src/commands/skills/agents/opencode.ts
|
|
108455
|
-
var
|
|
108466
|
+
var def9;
|
|
108456
108467
|
var init_opencode = __esm(() => {
|
|
108457
108468
|
init_detect();
|
|
108458
|
-
|
|
108469
|
+
def9 = {
|
|
108459
108470
|
localSubdir: [".opencode", "skills"],
|
|
108460
108471
|
globalSubdir: [".config", "opencode", "skills"],
|
|
108461
108472
|
detect: () => verifiedCommandOnPath(["opencode"], /opencode/i, ["--help"])
|
|
@@ -108463,10 +108474,10 @@ var init_opencode = __esm(() => {
|
|
|
108463
108474
|
});
|
|
108464
108475
|
|
|
108465
108476
|
// src/commands/skills/agents/windsurf.ts
|
|
108466
|
-
var
|
|
108477
|
+
var def10;
|
|
108467
108478
|
var init_windsurf = __esm(() => {
|
|
108468
108479
|
init_detect();
|
|
108469
|
-
|
|
108480
|
+
def10 = {
|
|
108470
108481
|
localSubdir: [".windsurf", "skills"],
|
|
108471
108482
|
detect: () => homePathExists(".windsurf")
|
|
108472
108483
|
};
|
|
@@ -108474,8 +108485,8 @@ var init_windsurf = __esm(() => {
|
|
|
108474
108485
|
|
|
108475
108486
|
// src/commands/skills/agents/index.ts
|
|
108476
108487
|
function subdirFor(agent, isLocal) {
|
|
108477
|
-
const
|
|
108478
|
-
return isLocal ?
|
|
108488
|
+
const def11 = AGENT_DEFS[agent];
|
|
108489
|
+
return isLocal ? def11.localSubdir : def11.globalSubdir ?? def11.localSubdir;
|
|
108479
108490
|
}
|
|
108480
108491
|
function getSkillsDir(agent, rootDir, isLocal) {
|
|
108481
108492
|
const fs7 = getFileSystem();
|
|
@@ -108520,6 +108531,7 @@ var AGENT_DEFS;
|
|
|
108520
108531
|
var init_agents = __esm(() => {
|
|
108521
108532
|
init_src2();
|
|
108522
108533
|
init_src();
|
|
108534
|
+
init_antigravity();
|
|
108523
108535
|
init_autopilot();
|
|
108524
108536
|
init_claude();
|
|
108525
108537
|
init_codex();
|
|
@@ -108530,15 +108542,16 @@ var init_agents = __esm(() => {
|
|
|
108530
108542
|
init_opencode();
|
|
108531
108543
|
init_windsurf();
|
|
108532
108544
|
AGENT_DEFS = {
|
|
108533
|
-
claude:
|
|
108534
|
-
cursor:
|
|
108535
|
-
copilot:
|
|
108536
|
-
gemini:
|
|
108537
|
-
codex:
|
|
108538
|
-
opencode:
|
|
108539
|
-
autopilot:
|
|
108540
|
-
kiro:
|
|
108541
|
-
windsurf:
|
|
108545
|
+
claude: def3,
|
|
108546
|
+
cursor: def6,
|
|
108547
|
+
copilot: def5,
|
|
108548
|
+
gemini: def7,
|
|
108549
|
+
codex: def4,
|
|
108550
|
+
opencode: def9,
|
|
108551
|
+
autopilot: def2,
|
|
108552
|
+
kiro: def8,
|
|
108553
|
+
windsurf: def10,
|
|
108554
|
+
antigravity: def
|
|
108542
108555
|
};
|
|
108543
108556
|
});
|
|
108544
108557
|
|
|
@@ -109011,7 +109024,8 @@ var init_prompt = __esm(() => {
|
|
|
109011
109024
|
"opencode",
|
|
109012
109025
|
"autopilot",
|
|
109013
109026
|
"kiro",
|
|
109014
|
-
"windsurf"
|
|
109027
|
+
"windsurf",
|
|
109028
|
+
"antigravity"
|
|
109015
109029
|
];
|
|
109016
109030
|
AGENT_DISPLAY_NAMES = {
|
|
109017
109031
|
claude: "Claude Code (Plugin)",
|
|
@@ -109022,7 +109036,8 @@ var init_prompt = __esm(() => {
|
|
|
109022
109036
|
opencode: "OpenCode",
|
|
109023
109037
|
autopilot: "UiPath Autopilot",
|
|
109024
109038
|
kiro: "Kiro (Amazon Q)",
|
|
109025
|
-
windsurf: "Windsurf"
|
|
109039
|
+
windsurf: "Windsurf",
|
|
109040
|
+
antigravity: "Antigravity CLI"
|
|
109026
109041
|
};
|
|
109027
109042
|
});
|
|
109028
109043
|
|
|
@@ -109098,8 +109113,8 @@ async function detectInstalledAgents(isLocal) {
|
|
|
109098
109113
|
}
|
|
109099
109114
|
async function runOneAgent(agent, operation, resolved) {
|
|
109100
109115
|
const { rootDir, storePath, selectedSkills, isLocal } = resolved;
|
|
109101
|
-
const
|
|
109102
|
-
const customHook = operation === "update" ?
|
|
109116
|
+
const def11 = AGENT_DEFS[agent];
|
|
109117
|
+
const customHook = operation === "update" ? def11.update ?? def11.install : def11.install;
|
|
109103
109118
|
if (customHook) {
|
|
109104
109119
|
const [installError] = await catchError(customHook({ skills: selectedSkills, rootDir, storePath, isLocal }));
|
|
109105
109120
|
if (installError) {
|
|
@@ -109324,9 +109339,9 @@ async function readSkillNames(storePath) {
|
|
|
109324
109339
|
}
|
|
109325
109340
|
async function uninstallForAgent(targetAgent, ctx, uninstalled) {
|
|
109326
109341
|
const { skillNames, rootDir, storePath, isLocal } = ctx;
|
|
109327
|
-
const
|
|
109328
|
-
if (
|
|
109329
|
-
const [err] = await catchError(
|
|
109342
|
+
const def11 = AGENT_DEFS[targetAgent];
|
|
109343
|
+
if (def11.uninstall) {
|
|
109344
|
+
const [err] = await catchError(def11.uninstall({ skillNames, rootDir, storePath, isLocal }));
|
|
109330
109345
|
if (err) {
|
|
109331
109346
|
OutputFormatter.error({
|
|
109332
109347
|
Result: RESULTS.Failure,
|
|
@@ -115440,4 +115455,4 @@ export {
|
|
|
115440
115455
|
ready
|
|
115441
115456
|
};
|
|
115442
115457
|
|
|
115443
|
-
//# debugId=
|
|
115458
|
+
//# debugId=E3661320BC3C6E5564756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/cli",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.197.1-preview.
|
|
4
|
+
"version": "1.197.1-preview.78",
|
|
5
5
|
"description": "Cross platform CLI for UiPath",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"mihaigirleanu",
|
|
35
35
|
"vlad-uipath"
|
|
36
36
|
],
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "9775bd9d7f7ed56e7f6b73baab60f2012563fc5b"
|
|
38
38
|
}
|