@computesdk/workbench 5.0.0 → 5.0.2
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/bin/workbench.js +3 -1
- package/dist/bin/workbench.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +16 -12
package/dist/index.js
CHANGED
|
@@ -548,6 +548,8 @@ async function loadProvider(providerName) {
|
|
|
548
548
|
return await import("@computesdk/codesandbox");
|
|
549
549
|
case "blaxel":
|
|
550
550
|
return await import("@computesdk/blaxel");
|
|
551
|
+
case "namespace":
|
|
552
|
+
return await import("@computesdk/namespace");
|
|
551
553
|
default:
|
|
552
554
|
throw new Error(`Unknown provider: ${providerName}`);
|
|
553
555
|
}
|
|
@@ -861,7 +863,7 @@ async function switchProvider(state, mode, providerName) {
|
|
|
861
863
|
}
|
|
862
864
|
if (!isValidProvider(actualProvider)) {
|
|
863
865
|
logError(`Unknown provider: ${actualProvider}`);
|
|
864
|
-
console.log(`Available providers:
|
|
866
|
+
console.log(`Available providers: ${PROVIDER_NAMES.filter((p) => p !== "gateway").join(", ")}, local`);
|
|
865
867
|
return;
|
|
866
868
|
}
|
|
867
869
|
if (!useDirect && !isProviderReady("gateway")) {
|