sensorium-mcp 3.0.20 → 3.0.21
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/Install-Sensorium.ps1 +3 -24
- package/package.json +1 -1
package/Install-Sensorium.ps1
CHANGED
|
@@ -7,29 +7,11 @@
|
|
|
7
7
|
(tag: supervisor-latest, repo: andriyshevchenko/sensorium-mcp) and places
|
|
8
8
|
it in ~/.remote-copilot-mcp/bin/ as sensorium-supervisor.exe.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
shell:startup) read from the config file — no parameters needed.
|
|
13
|
-
CLI parameters override saved config when provided.
|
|
14
|
-
.PARAMETER SecureVaultProfile
|
|
15
|
-
SecureVault profile name to resolve runtime secrets from.
|
|
16
|
-
.PARAMETER UpdateMode
|
|
17
|
-
Supervisor mode to use (`production` or `development`).
|
|
18
|
-
.PARAMETER MCPStartCommand
|
|
19
|
-
Command used by supervisor to start MCP child process. When omitted, installer
|
|
20
|
-
uses published npm package command `npx -y sensorium-mcp@latest`.
|
|
10
|
+
All configuration is read from ~/.remote-copilot-mcp/install.config.json.
|
|
11
|
+
Edit that file to change settings. Defaults are written on first run.
|
|
21
12
|
.EXAMPLE
|
|
22
13
|
.\Install-Sensorium.ps1
|
|
23
|
-
.\Install-Sensorium.ps1 -SecureVaultProfile "SENSORIUM" -UpdateMode production
|
|
24
|
-
.\Install-Sensorium.ps1 -UpdateMode development
|
|
25
|
-
.\Install-Sensorium.ps1 -MCPStartCommand "node C:\src\remote-copilot-mcp\dist\index.js"
|
|
26
14
|
#>
|
|
27
|
-
param(
|
|
28
|
-
[string]$SecureVaultProfile,
|
|
29
|
-
[ValidateSet("production", "development")]
|
|
30
|
-
[string]$UpdateMode,
|
|
31
|
-
[string]$MCPStartCommand
|
|
32
|
-
)
|
|
33
15
|
|
|
34
16
|
$ErrorActionPreference = "Stop"
|
|
35
17
|
|
|
@@ -77,11 +59,8 @@ function Save-Config([hashtable]$cfg) {
|
|
|
77
59
|
[pscustomobject]$cfg | ConvertTo-Json | Set-Content -LiteralPath $ConfigFile -Encoding UTF8
|
|
78
60
|
}
|
|
79
61
|
|
|
80
|
-
# Load
|
|
62
|
+
# Load config (writes defaults on first run)
|
|
81
63
|
$Config = Load-Config
|
|
82
|
-
if (![string]::IsNullOrWhiteSpace($SecureVaultProfile)) { $Config["SecureVaultProfile"] = $SecureVaultProfile }
|
|
83
|
-
if (![string]::IsNullOrWhiteSpace($UpdateMode)) { $Config["UpdateMode"] = $UpdateMode }
|
|
84
|
-
if (![string]::IsNullOrWhiteSpace($MCPStartCommand)) { $Config["MCPStartCommand"] = $MCPStartCommand }
|
|
85
64
|
|
|
86
65
|
# Resolve effective values
|
|
87
66
|
$SecureVaultProfile = $Config["SecureVaultProfile"]
|