Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.67 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 3.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "sorenb-studio-tenant-switcher",
"displayName": "Tenant Switcher for UiPath Studio",
"description": "Switches the local Studio and Robot between Orchestrator tenants using saved presets with machine client credentials.",
"version": "0.4.2",
"publisher": "sorenbcoding",
"license": "MIT",
"author": "Søren Schytz Birk",
"homepage": "https://github.com/sorenbcoding/tenant-switcher-studio",
"repository": {
"type": "git",
"url": "https://github.com/sorenbcoding/tenant-switcher-studio"
},
"bugs": {
"url": "https://github.com/sorenbcoding/tenant-switcher-studio/issues"
},
"icon": "branding/tenant-switcher-studio-light-128.png",
"engines": {
"vscode": "^1.95.0"
},
"os": [
"win32"
],
"categories": [
"Other"
],
"keywords": [
"uipath",
"orchestrator",
"studio",
"tenant",
"robot"
],
"main": "./dist/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "tenantSwitcher",
"title": "Tenant Switcher",
"icon": "media/icon.svg"
}
]
},
"views": {
"tenantSwitcher": [
{
"type": "webview",
"id": "tenantSwitcher.panel",
"name": "Presets"
}
]
},
"commands": [
{
"command": "tenantSwitcher.addPreset",
"title": "Add preset",
"category": "Tenant Switcher"
},
{
"command": "tenantSwitcher.pickPreset",
"title": "Switch tenant…",
"category": "Tenant Switcher"
}
],
"configuration": {
"title": "Tenant Switcher",
"properties": {
"tenantSwitcher.uiRobotPath": {
"type": "string",
"default": "",
"markdownDescription": "Full path to `UiRobot.exe`. Leave empty to auto-detect.",
"scope": "machine"
},
"tenantSwitcher.restartAssistant": {
"type": "boolean",
"default": true,
"description": "Close UiPath Assistant before switching and start it again afterwards.",
"scope": "machine"
},
"tenantSwitcher.warnAboutStartMenuShortcuts": {
"type": "boolean",
"default": true,
"markdownDescription": "Warn before switching when UiPath Assistant's *Show in Windows Start Menu* is on. Assistant then rewrites all its Start menu shortcuts for the new tenant, which can freeze Windows Explorer."
},
"tenantSwitcher.confirmBeforeSwitch": {
"type": "boolean",
"default": true,
"description": "Ask for confirmation before switching tenant."
},
"tenantSwitcher.validateBeforeSwitch": {
"type": "boolean",
"default": true,
"description": "Request a token with the preset's client credentials before disconnecting, so bad credentials never leave the Robot disconnected."
},
"tenantSwitcher.uipCliPath": {
"type": "string",
"default": "uip",
"markdownDescription": "Command or full path for the UiPath CLI (`uip`), used when a preset has *Sync uip CLI* enabled.",
"scope": "machine"
}
}
}
},
"scripts": {
"build": "node esbuild.mjs",
"watch": "node esbuild.mjs --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"package": "vsce package --no-dependencies",
"vscode:prepublish": "npm run typecheck && node esbuild.mjs --production"
},
"devDependencies": {
"@types/node": "^20.14.0",
"@types/vscode": "1.95.0",
"@vscode/vsce": "^3.2.0",
"esbuild": "^0.24.0",
"typescript": "^5.6.0",
"vitest": "^2.1.0"
}
}