@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/bin/workbench.js
CHANGED
|
@@ -553,6 +553,8 @@ async function loadProvider(providerName) {
|
|
|
553
553
|
return await import("@computesdk/codesandbox");
|
|
554
554
|
case "blaxel":
|
|
555
555
|
return await import("@computesdk/blaxel");
|
|
556
|
+
case "namespace":
|
|
557
|
+
return await import("@computesdk/namespace");
|
|
556
558
|
default:
|
|
557
559
|
throw new Error(`Unknown provider: ${providerName}`);
|
|
558
560
|
}
|
|
@@ -866,7 +868,7 @@ async function switchProvider(state, mode, providerName) {
|
|
|
866
868
|
}
|
|
867
869
|
if (!isValidProvider(actualProvider)) {
|
|
868
870
|
logError(`Unknown provider: ${actualProvider}`);
|
|
869
|
-
console.log(`Available providers:
|
|
871
|
+
console.log(`Available providers: ${PROVIDER_NAMES.filter((p) => p !== "gateway").join(", ")}, local`);
|
|
870
872
|
return;
|
|
871
873
|
}
|
|
872
874
|
if (!useDirect && !isProviderReady("gateway")) {
|