feat(runtime-adapters): Add runtime environment availability check and logger output; normalize runtime version strings

This commit is contained in:
2025-10-17 07:09:25 +00:00
parent b9fd8c7b02
commit 86db2491a3
7 changed files with 64 additions and 6 deletions

View File

@@ -47,11 +47,11 @@ export class BunRuntimeAdapter extends RuntimeAdapter {
}
// Bun version is just the version number
const version = result.stdout.trim();
const version = `v${result.stdout.trim()}`;
return {
available: true,
version: `Bun ${version}`,
version: version,
};
} catch (error) {
return {