chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
$packageName = 'codebase-memory-mcp'
|
||||
$version = '0.8.1'
|
||||
$url64 = "https://github.com/DeusData/codebase-memory-mcp/releases/download/v${version}/codebase-memory-mcp-windows-amd64.zip"
|
||||
$checksum64 = 'a602ad090ed3f49d86c55472f73f27ad7055222806a82358f2e08513e027f00f'
|
||||
$installDir = Join-Path $env:ChocolateyBinRoot $packageName
|
||||
|
||||
Install-ChocolateyZipPackage `
|
||||
-PackageName $packageName `
|
||||
-Url64bit $url64 `
|
||||
-Checksum64 $checksum64 `
|
||||
-ChecksumType64 'sha256' `
|
||||
-UnzipLocation $installDir
|
||||
|
||||
# Shim the binary so it is on PATH
|
||||
$binPath = Join-Path $installDir 'codebase-memory-mcp.exe'
|
||||
Install-BinFile -Name 'codebase-memory-mcp' -Path $binPath
|
||||
|
||||
# Configure coding agents (non-fatal)
|
||||
try {
|
||||
& $binPath install -y 2>&1 | Out-Null
|
||||
} catch {
|
||||
Write-Warning "Agent configuration failed (non-fatal). Run manually: codebase-memory-mcp install"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
$packageName = 'codebase-memory-mcp'
|
||||
$installDir = Join-Path $env:ChocolateyBinRoot $packageName
|
||||
|
||||
Uninstall-BinFile -Name 'codebase-memory-mcp'
|
||||
|
||||
if (Test-Path $installDir) {
|
||||
Remove-Item $installDir -Recurse -Force
|
||||
}
|
||||
Reference in New Issue
Block a user