MCPcopy Create free account
hub / github.com/Noumena-Network/code / buildSandboxProperties

Function buildSandboxProperties

src/utils/status.tsx:175–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173}
174
175export function buildSandboxProperties(): Property[] {
176 if (
177 process.env.NCODE_BUILD_MODE !== 'noumena' &&
178 process.env.USER_TYPE !== 'ant'
179 ) {
180 return [];
181 }
182 const isSandboxed = SandboxManager.isSandboxingEnabled();
183 return [{
184 label: 'Bash Sandbox',
185 value: isSandboxed ? 'Enabled' : 'Disabled'
186 }];
187}
188export function buildIDEProperties(mcpClients: MCPServerConnection[], ideInstallationStatus: IDEExtensionInstallationStatus | null = null, theme: ThemeName): Property[] {
189 const ideClient = mcpClients?.find(client => client.name === 'ide');
190 if (ideInstallationStatus) {

Callers 1

buildSecondarySectionFunction · 0.85

Calls 1

isSandboxingEnabledMethod · 0.80

Tested by

no test coverage detected