computesdk 2.5.1 → 2.5.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/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3853,6 +3853,7 @@ declare const PROVIDER_AUTH: {
|
|
|
3853
3853
|
readonly hopx: readonly [readonly ["HOPX_API_KEY"]];
|
|
3854
3854
|
readonly beam: readonly [readonly ["BEAM_TOKEN", "BEAM_WORKSPACE_ID"]];
|
|
3855
3855
|
readonly sprites: readonly [readonly ["SPRITES_TOKEN"]];
|
|
3856
|
+
readonly freestyle: readonly [readonly ["FREESTYLE_API_KEY"]];
|
|
3856
3857
|
readonly 'just-bash': readonly [readonly []];
|
|
3857
3858
|
};
|
|
3858
3859
|
/**
|
|
@@ -3989,6 +3990,9 @@ interface ExplicitComputeConfig {
|
|
|
3989
3990
|
sprites?: {
|
|
3990
3991
|
apiKey?: string;
|
|
3991
3992
|
};
|
|
3993
|
+
freestyle?: {
|
|
3994
|
+
apiKey?: string;
|
|
3995
|
+
};
|
|
3992
3996
|
'just-bash'?: {};
|
|
3993
3997
|
}
|
|
3994
3998
|
/**
|
|
@@ -4238,7 +4242,7 @@ declare const TRIBUTARY_URL = "https://tributary.edge.computesdk.com";
|
|
|
4238
4242
|
* Provider detection priority order
|
|
4239
4243
|
* When multiple provider credentials are detected, use the first one in this list
|
|
4240
4244
|
*/
|
|
4241
|
-
declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "render", "daytona", "modal", "runloop", "vercel", "cloudflare", "codesandbox", "blaxel", "namespace", "hopx", "beam", "sprites"];
|
|
4245
|
+
declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "render", "daytona", "modal", "runloop", "vercel", "cloudflare", "codesandbox", "blaxel", "namespace", "hopx", "beam", "sprites", "freestyle"];
|
|
4242
4246
|
/**
|
|
4243
4247
|
* Required environment variables for each provider
|
|
4244
4248
|
* @deprecated Use PROVIDER_AUTH from provider-config instead
|
|
@@ -4258,6 +4262,7 @@ declare const PROVIDER_ENV_VARS: {
|
|
|
4258
4262
|
readonly hopx: readonly ["HOPX_API_KEY"];
|
|
4259
4263
|
readonly beam: readonly ["BEAM_TOKEN", "BEAM_WORKSPACE_ID"];
|
|
4260
4264
|
readonly sprites: readonly ["SPRITES_TOKEN"];
|
|
4265
|
+
readonly freestyle: readonly ["FREESTYLE_API_KEY"];
|
|
4261
4266
|
readonly 'just-bash': readonly [];
|
|
4262
4267
|
};
|
|
4263
4268
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3853,6 +3853,7 @@ declare const PROVIDER_AUTH: {
|
|
|
3853
3853
|
readonly hopx: readonly [readonly ["HOPX_API_KEY"]];
|
|
3854
3854
|
readonly beam: readonly [readonly ["BEAM_TOKEN", "BEAM_WORKSPACE_ID"]];
|
|
3855
3855
|
readonly sprites: readonly [readonly ["SPRITES_TOKEN"]];
|
|
3856
|
+
readonly freestyle: readonly [readonly ["FREESTYLE_API_KEY"]];
|
|
3856
3857
|
readonly 'just-bash': readonly [readonly []];
|
|
3857
3858
|
};
|
|
3858
3859
|
/**
|
|
@@ -3989,6 +3990,9 @@ interface ExplicitComputeConfig {
|
|
|
3989
3990
|
sprites?: {
|
|
3990
3991
|
apiKey?: string;
|
|
3991
3992
|
};
|
|
3993
|
+
freestyle?: {
|
|
3994
|
+
apiKey?: string;
|
|
3995
|
+
};
|
|
3992
3996
|
'just-bash'?: {};
|
|
3993
3997
|
}
|
|
3994
3998
|
/**
|
|
@@ -4238,7 +4242,7 @@ declare const TRIBUTARY_URL = "https://tributary.edge.computesdk.com";
|
|
|
4238
4242
|
* Provider detection priority order
|
|
4239
4243
|
* When multiple provider credentials are detected, use the first one in this list
|
|
4240
4244
|
*/
|
|
4241
|
-
declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "render", "daytona", "modal", "runloop", "vercel", "cloudflare", "codesandbox", "blaxel", "namespace", "hopx", "beam", "sprites"];
|
|
4245
|
+
declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "render", "daytona", "modal", "runloop", "vercel", "cloudflare", "codesandbox", "blaxel", "namespace", "hopx", "beam", "sprites", "freestyle"];
|
|
4242
4246
|
/**
|
|
4243
4247
|
* Required environment variables for each provider
|
|
4244
4248
|
* @deprecated Use PROVIDER_AUTH from provider-config instead
|
|
@@ -4258,6 +4262,7 @@ declare const PROVIDER_ENV_VARS: {
|
|
|
4258
4262
|
readonly hopx: readonly ["HOPX_API_KEY"];
|
|
4259
4263
|
readonly beam: readonly ["BEAM_TOKEN", "BEAM_WORKSPACE_ID"];
|
|
4260
4264
|
readonly sprites: readonly ["SPRITES_TOKEN"];
|
|
4265
|
+
readonly freestyle: readonly ["FREESTYLE_API_KEY"];
|
|
4261
4266
|
readonly 'just-bash': readonly [];
|
|
4262
4267
|
};
|
|
4263
4268
|
|
package/dist/index.js
CHANGED
|
@@ -3651,6 +3651,7 @@ var PROVIDER_AUTH = {
|
|
|
3651
3651
|
hopx: [["HOPX_API_KEY"]],
|
|
3652
3652
|
beam: [["BEAM_TOKEN", "BEAM_WORKSPACE_ID"]],
|
|
3653
3653
|
sprites: [["SPRITES_TOKEN"]],
|
|
3654
|
+
freestyle: [["FREESTYLE_API_KEY"]],
|
|
3654
3655
|
"just-bash": [[]]
|
|
3655
3656
|
};
|
|
3656
3657
|
var PROVIDER_NAMES = Object.keys(PROVIDER_AUTH);
|
|
@@ -3709,6 +3710,9 @@ var PROVIDER_HEADERS = {
|
|
|
3709
3710
|
sprites: {
|
|
3710
3711
|
apiKey: "X-Sprites-Token"
|
|
3711
3712
|
},
|
|
3713
|
+
freestyle: {
|
|
3714
|
+
apiKey: "X-Freestyle-API-Key"
|
|
3715
|
+
},
|
|
3712
3716
|
"just-bash": {}
|
|
3713
3717
|
};
|
|
3714
3718
|
var PROVIDER_ENV_MAP = {
|
|
@@ -3767,6 +3771,9 @@ var PROVIDER_ENV_MAP = {
|
|
|
3767
3771
|
sprites: {
|
|
3768
3772
|
SPRITES_TOKEN: "apiKey"
|
|
3769
3773
|
},
|
|
3774
|
+
freestyle: {
|
|
3775
|
+
FREESTYLE_API_KEY: "apiKey"
|
|
3776
|
+
},
|
|
3770
3777
|
"just-bash": {}
|
|
3771
3778
|
};
|
|
3772
3779
|
var PROVIDER_DASHBOARD_URLS = {
|
|
@@ -3784,6 +3791,7 @@ var PROVIDER_DASHBOARD_URLS = {
|
|
|
3784
3791
|
hopx: "https://hopx.ai/dashboard",
|
|
3785
3792
|
beam: "https://app.beam.cloud",
|
|
3786
3793
|
sprites: "https://sprites.dev",
|
|
3794
|
+
freestyle: "https://dash.freestyle.sh",
|
|
3787
3795
|
"just-bash": "https://github.com/vercel-labs/just-bash"
|
|
3788
3796
|
};
|
|
3789
3797
|
function isValidProvider(name) {
|
|
@@ -3856,7 +3864,8 @@ var PROVIDER_PRIORITY = [
|
|
|
3856
3864
|
"namespace",
|
|
3857
3865
|
"hopx",
|
|
3858
3866
|
"beam",
|
|
3859
|
-
"sprites"
|
|
3867
|
+
"sprites",
|
|
3868
|
+
"freestyle"
|
|
3860
3869
|
];
|
|
3861
3870
|
var PROVIDER_ENV_VARS = {
|
|
3862
3871
|
e2b: ["E2B_API_KEY"],
|
|
@@ -3873,6 +3882,7 @@ var PROVIDER_ENV_VARS = {
|
|
|
3873
3882
|
hopx: ["HOPX_API_KEY"],
|
|
3874
3883
|
beam: ["BEAM_TOKEN", "BEAM_WORKSPACE_ID"],
|
|
3875
3884
|
sprites: ["SPRITES_TOKEN"],
|
|
3885
|
+
freestyle: ["FREESTYLE_API_KEY"],
|
|
3876
3886
|
"just-bash": []
|
|
3877
3887
|
};
|
|
3878
3888
|
|