mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
fix(sandbox): guard enable path and harden UI rendering performance (#341)
* fix(sandbox): guard enable path and harden UI rendering performance * chore(deps): allow esbuild postinstall in pnpm onlyBuiltDependencies * fix(sandbox): align availability reporting and address PR review feedback * fix(sandbox): block planning without process attestation
This commit is contained in:
1 parent
ba8e8f4b29
commit
d63198ec8a
19 files changed
+501
-82
No files matched your search
@@ -77,6 +77,12 @@ export function resolveProcessIdentityProvider(): ProcessIdentityProvider {
|
||||
return cachedProvider
|
||||
}
|
||||
|
||||
export function getProcessIdentityAttestationError(): string | null {
|
||||
return resolveProcessIdentityProvider().attested
|
||||
? null
|
||||
: 'process identity attestation is unavailable on this platform (Linux /proc is required)'
|
||||
}
|
||||
|
||||
export function resetProcessIdentityProvider(): void {
|
||||
cachedProvider = null
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user