computesdk 1.17.0 → 1.18.0

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 CHANGED
@@ -3583,6 +3583,7 @@ declare const PROVIDER_AUTH: {
3583
3583
  readonly e2b: readonly [readonly ["E2B_API_KEY"]];
3584
3584
  readonly modal: readonly [readonly ["MODAL_TOKEN_ID", "MODAL_TOKEN_SECRET"]];
3585
3585
  readonly railway: readonly [readonly ["RAILWAY_API_KEY", "RAILWAY_PROJECT_ID", "RAILWAY_ENVIRONMENT_ID"]];
3586
+ readonly render: readonly [readonly ["RENDER_API_KEY", "RENDER_OWNER_ID"]];
3586
3587
  readonly daytona: readonly [readonly ["DAYTONA_API_KEY"]];
3587
3588
  readonly vercel: readonly [readonly ["VERCEL_OIDC_TOKEN"], readonly ["VERCEL_TOKEN", "VERCEL_TEAM_ID", "VERCEL_PROJECT_ID"]];
3588
3589
  readonly runloop: readonly [readonly ["RUNLOOP_API_KEY"]];
@@ -3677,6 +3678,10 @@ interface ExplicitComputeConfig {
3677
3678
  projectId?: string;
3678
3679
  environmentId?: string;
3679
3680
  };
3681
+ render?: {
3682
+ apiKey?: string;
3683
+ serviceId?: string;
3684
+ };
3680
3685
  daytona?: {
3681
3686
  apiKey?: string;
3682
3687
  };
@@ -3891,7 +3896,7 @@ declare const GATEWAY_URL = "https://gateway.computesdk.com";
3891
3896
  * Provider detection priority order
3892
3897
  * When multiple provider credentials are detected, use the first one in this list
3893
3898
  */
3894
- declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "daytona", "modal", "runloop", "vercel", "cloudflare", "codesandbox", "blaxel"];
3899
+ declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "render", "daytona", "modal", "runloop", "vercel", "cloudflare", "codesandbox", "blaxel"];
3895
3900
  /**
3896
3901
  * Required environment variables for each provider
3897
3902
  * @deprecated Use PROVIDER_AUTH from provider-config instead
@@ -3899,6 +3904,7 @@ declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "daytona", "modal",
3899
3904
  declare const PROVIDER_ENV_VARS: {
3900
3905
  readonly e2b: readonly ["E2B_API_KEY"];
3901
3906
  readonly railway: readonly ["RAILWAY_API_KEY", "RAILWAY_PROJECT_ID", "RAILWAY_ENVIRONMENT_ID"];
3907
+ readonly render: readonly ["RENDER_API_KEY", "RENDER_OWNER_ID"];
3902
3908
  readonly daytona: readonly ["DAYTONA_API_KEY"];
3903
3909
  readonly modal: readonly ["MODAL_TOKEN_ID", "MODAL_TOKEN_SECRET"];
3904
3910
  readonly runloop: readonly ["RUNLOOP_API_KEY"];
package/dist/index.d.ts CHANGED
@@ -3583,6 +3583,7 @@ declare const PROVIDER_AUTH: {
3583
3583
  readonly e2b: readonly [readonly ["E2B_API_KEY"]];
3584
3584
  readonly modal: readonly [readonly ["MODAL_TOKEN_ID", "MODAL_TOKEN_SECRET"]];
3585
3585
  readonly railway: readonly [readonly ["RAILWAY_API_KEY", "RAILWAY_PROJECT_ID", "RAILWAY_ENVIRONMENT_ID"]];
3586
+ readonly render: readonly [readonly ["RENDER_API_KEY", "RENDER_OWNER_ID"]];
3586
3587
  readonly daytona: readonly [readonly ["DAYTONA_API_KEY"]];
3587
3588
  readonly vercel: readonly [readonly ["VERCEL_OIDC_TOKEN"], readonly ["VERCEL_TOKEN", "VERCEL_TEAM_ID", "VERCEL_PROJECT_ID"]];
3588
3589
  readonly runloop: readonly [readonly ["RUNLOOP_API_KEY"]];
@@ -3677,6 +3678,10 @@ interface ExplicitComputeConfig {
3677
3678
  projectId?: string;
3678
3679
  environmentId?: string;
3679
3680
  };
3681
+ render?: {
3682
+ apiKey?: string;
3683
+ serviceId?: string;
3684
+ };
3680
3685
  daytona?: {
3681
3686
  apiKey?: string;
3682
3687
  };
@@ -3891,7 +3896,7 @@ declare const GATEWAY_URL = "https://gateway.computesdk.com";
3891
3896
  * Provider detection priority order
3892
3897
  * When multiple provider credentials are detected, use the first one in this list
3893
3898
  */
3894
- declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "daytona", "modal", "runloop", "vercel", "cloudflare", "codesandbox", "blaxel"];
3899
+ declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "render", "daytona", "modal", "runloop", "vercel", "cloudflare", "codesandbox", "blaxel"];
3895
3900
  /**
3896
3901
  * Required environment variables for each provider
3897
3902
  * @deprecated Use PROVIDER_AUTH from provider-config instead
@@ -3899,6 +3904,7 @@ declare const PROVIDER_PRIORITY: readonly ["e2b", "railway", "daytona", "modal",
3899
3904
  declare const PROVIDER_ENV_VARS: {
3900
3905
  readonly e2b: readonly ["E2B_API_KEY"];
3901
3906
  readonly railway: readonly ["RAILWAY_API_KEY", "RAILWAY_PROJECT_ID", "RAILWAY_ENVIRONMENT_ID"];
3907
+ readonly render: readonly ["RENDER_API_KEY", "RENDER_OWNER_ID"];
3902
3908
  readonly daytona: readonly ["DAYTONA_API_KEY"];
3903
3909
  readonly modal: readonly ["MODAL_TOKEN_ID", "MODAL_TOKEN_SECRET"];
3904
3910
  readonly runloop: readonly ["RUNLOOP_API_KEY"];
package/dist/index.js CHANGED
@@ -3472,6 +3472,7 @@ var PROVIDER_AUTH = {
3472
3472
  e2b: [["E2B_API_KEY"]],
3473
3473
  modal: [["MODAL_TOKEN_ID", "MODAL_TOKEN_SECRET"]],
3474
3474
  railway: [["RAILWAY_API_KEY", "RAILWAY_PROJECT_ID", "RAILWAY_ENVIRONMENT_ID"]],
3475
+ render: [["RENDER_API_KEY", "RENDER_OWNER_ID"]],
3475
3476
  daytona: [["DAYTONA_API_KEY"]],
3476
3477
  vercel: [
3477
3478
  ["VERCEL_OIDC_TOKEN"],
@@ -3496,6 +3497,10 @@ var PROVIDER_HEADERS = {
3496
3497
  projectId: "X-Railway-Project-ID",
3497
3498
  environmentId: "X-Railway-Environment-ID"
3498
3499
  },
3500
+ render: {
3501
+ apiKey: "X-Render-API-Key",
3502
+ ownerId: "X-Render-Owner-ID"
3503
+ },
3499
3504
  daytona: {
3500
3505
  apiKey: "X-Daytona-API-Key"
3501
3506
  },
@@ -3533,6 +3538,10 @@ var PROVIDER_ENV_MAP = {
3533
3538
  RAILWAY_PROJECT_ID: "projectId",
3534
3539
  RAILWAY_ENVIRONMENT_ID: "environmentId"
3535
3540
  },
3541
+ render: {
3542
+ RENDER_API_KEY: "apiKey",
3543
+ RENDER_OWNER_ID: "ownerId"
3544
+ },
3536
3545
  daytona: {
3537
3546
  DAYTONA_API_KEY: "apiKey"
3538
3547
  },
@@ -3561,6 +3570,7 @@ var PROVIDER_DASHBOARD_URLS = {
3561
3570
  e2b: "https://e2b.dev/dashboard",
3562
3571
  modal: "https://modal.com/settings",
3563
3572
  railway: "https://railway.app/account/tokens",
3573
+ render: "https://dashboard.render.com/account",
3564
3574
  daytona: "https://daytona.io/dashboard",
3565
3575
  vercel: "https://vercel.com/account/tokens",
3566
3576
  runloop: "https://runloop.ai/dashboard",
@@ -3627,6 +3637,7 @@ var GATEWAY_URL = "https://gateway.computesdk.com";
3627
3637
  var PROVIDER_PRIORITY = [
3628
3638
  "e2b",
3629
3639
  "railway",
3640
+ "render",
3630
3641
  "daytona",
3631
3642
  "modal",
3632
3643
  "runloop",
@@ -3638,6 +3649,7 @@ var PROVIDER_PRIORITY = [
3638
3649
  var PROVIDER_ENV_VARS = {
3639
3650
  e2b: ["E2B_API_KEY"],
3640
3651
  railway: ["RAILWAY_API_KEY", "RAILWAY_PROJECT_ID", "RAILWAY_ENVIRONMENT_ID"],
3652
+ render: ["RENDER_API_KEY", "RENDER_OWNER_ID"],
3641
3653
  daytona: ["DAYTONA_API_KEY"],
3642
3654
  modal: ["MODAL_TOKEN_ID", "MODAL_TOKEN_SECRET"],
3643
3655
  runloop: ["RUNLOOP_API_KEY"],