@memoraone/mcp 0.1.65 → 0.1.66
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/cli.cjs +4 -4
- package/dist/daemon.cjs +3 -3
- package/dist/gateway.cjs +3 -3
- package/dist/index.cjs +3 -3
- package/dist/pluginPairing.cjs +3 -3
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -231,7 +231,7 @@ var require_package = __commonJS({
|
|
|
231
231
|
"package.json"(exports2, module2) {
|
|
232
232
|
module2.exports = {
|
|
233
233
|
name: "@memoraone/mcp",
|
|
234
|
-
version: "0.1.
|
|
234
|
+
version: "0.1.66",
|
|
235
235
|
type: "module",
|
|
236
236
|
main: "dist/index.cjs",
|
|
237
237
|
exports: {
|
|
@@ -2877,11 +2877,11 @@ var init_processCommandLines = __esm({
|
|
|
2877
2877
|
"$processes = @(Get-CimInstance -ClassName Win32_Process -Property ProcessId,CommandLine)",
|
|
2878
2878
|
"foreach ($proc in $processes) {",
|
|
2879
2879
|
" if ($null -eq $proc.ProcessId) { continue }",
|
|
2880
|
-
" $
|
|
2881
|
-
" if (-not $currentUserPids.Contains($
|
|
2880
|
+
" $procId = [int]$proc.ProcessId",
|
|
2881
|
+
" if (-not $currentUserPids.Contains($procId)) { continue }",
|
|
2882
2882
|
' $commandLine = ""',
|
|
2883
2883
|
" if ($null -ne $proc.CommandLine) { $commandLine = [string]$proc.CommandLine }",
|
|
2884
|
-
" $row = [PSCustomObject]@{ pid = $
|
|
2884
|
+
" $row = [PSCustomObject]@{ pid = $procId; commandLine = $commandLine }",
|
|
2885
2885
|
" ConvertTo-Json -InputObject $row -Compress",
|
|
2886
2886
|
"}"
|
|
2887
2887
|
].join("\n");
|
package/dist/daemon.cjs
CHANGED
|
@@ -4168,11 +4168,11 @@ var WINDOWS_LIST_PROCESSES_PS = [
|
|
|
4168
4168
|
"$processes = @(Get-CimInstance -ClassName Win32_Process -Property ProcessId,CommandLine)",
|
|
4169
4169
|
"foreach ($proc in $processes) {",
|
|
4170
4170
|
" if ($null -eq $proc.ProcessId) { continue }",
|
|
4171
|
-
" $
|
|
4172
|
-
" if (-not $currentUserPids.Contains($
|
|
4171
|
+
" $procId = [int]$proc.ProcessId",
|
|
4172
|
+
" if (-not $currentUserPids.Contains($procId)) { continue }",
|
|
4173
4173
|
' $commandLine = ""',
|
|
4174
4174
|
" if ($null -ne $proc.CommandLine) { $commandLine = [string]$proc.CommandLine }",
|
|
4175
|
-
" $row = [PSCustomObject]@{ pid = $
|
|
4175
|
+
" $row = [PSCustomObject]@{ pid = $procId; commandLine = $commandLine }",
|
|
4176
4176
|
" ConvertTo-Json -InputObject $row -Compress",
|
|
4177
4177
|
"}"
|
|
4178
4178
|
].join("\n");
|
package/dist/gateway.cjs
CHANGED
|
@@ -3432,11 +3432,11 @@ var WINDOWS_LIST_PROCESSES_PS = [
|
|
|
3432
3432
|
"$processes = @(Get-CimInstance -ClassName Win32_Process -Property ProcessId,CommandLine)",
|
|
3433
3433
|
"foreach ($proc in $processes) {",
|
|
3434
3434
|
" if ($null -eq $proc.ProcessId) { continue }",
|
|
3435
|
-
" $
|
|
3436
|
-
" if (-not $currentUserPids.Contains($
|
|
3435
|
+
" $procId = [int]$proc.ProcessId",
|
|
3436
|
+
" if (-not $currentUserPids.Contains($procId)) { continue }",
|
|
3437
3437
|
' $commandLine = ""',
|
|
3438
3438
|
" if ($null -ne $proc.CommandLine) { $commandLine = [string]$proc.CommandLine }",
|
|
3439
|
-
" $row = [PSCustomObject]@{ pid = $
|
|
3439
|
+
" $row = [PSCustomObject]@{ pid = $procId; commandLine = $commandLine }",
|
|
3440
3440
|
" ConvertTo-Json -InputObject $row -Compress",
|
|
3441
3441
|
"}"
|
|
3442
3442
|
].join("\n");
|
package/dist/index.cjs
CHANGED
|
@@ -4151,11 +4151,11 @@ var WINDOWS_LIST_PROCESSES_PS = [
|
|
|
4151
4151
|
"$processes = @(Get-CimInstance -ClassName Win32_Process -Property ProcessId,CommandLine)",
|
|
4152
4152
|
"foreach ($proc in $processes) {",
|
|
4153
4153
|
" if ($null -eq $proc.ProcessId) { continue }",
|
|
4154
|
-
" $
|
|
4155
|
-
" if (-not $currentUserPids.Contains($
|
|
4154
|
+
" $procId = [int]$proc.ProcessId",
|
|
4155
|
+
" if (-not $currentUserPids.Contains($procId)) { continue }",
|
|
4156
4156
|
' $commandLine = ""',
|
|
4157
4157
|
" if ($null -ne $proc.CommandLine) { $commandLine = [string]$proc.CommandLine }",
|
|
4158
|
-
" $row = [PSCustomObject]@{ pid = $
|
|
4158
|
+
" $row = [PSCustomObject]@{ pid = $procId; commandLine = $commandLine }",
|
|
4159
4159
|
" ConvertTo-Json -InputObject $row -Compress",
|
|
4160
4160
|
"}"
|
|
4161
4161
|
].join("\n");
|
package/dist/pluginPairing.cjs
CHANGED
|
@@ -2341,11 +2341,11 @@ var WINDOWS_LIST_PROCESSES_PS = [
|
|
|
2341
2341
|
"$processes = @(Get-CimInstance -ClassName Win32_Process -Property ProcessId,CommandLine)",
|
|
2342
2342
|
"foreach ($proc in $processes) {",
|
|
2343
2343
|
" if ($null -eq $proc.ProcessId) { continue }",
|
|
2344
|
-
" $
|
|
2345
|
-
" if (-not $currentUserPids.Contains($
|
|
2344
|
+
" $procId = [int]$proc.ProcessId",
|
|
2345
|
+
" if (-not $currentUserPids.Contains($procId)) { continue }",
|
|
2346
2346
|
' $commandLine = ""',
|
|
2347
2347
|
" if ($null -ne $proc.CommandLine) { $commandLine = [string]$proc.CommandLine }",
|
|
2348
|
-
" $row = [PSCustomObject]@{ pid = $
|
|
2348
|
+
" $row = [PSCustomObject]@{ pid = $procId; commandLine = $commandLine }",
|
|
2349
2349
|
" ConvertTo-Json -InputObject $row -Compress",
|
|
2350
2350
|
"}"
|
|
2351
2351
|
].join("\n");
|