skypilot-nightly 1.0.0.dev20250728__py3-none-any.whl → 1.0.0.dev20250730__py3-none-any.whl
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.
Potentially problematic release.
This version of skypilot-nightly might be problematic. Click here for more details.
- sky/__init__.py +2 -2
- sky/catalog/kubernetes_catalog.py +2 -2
- sky/client/cli/command.py +0 -7
- sky/client/common.py +12 -9
- sky/clouds/kubernetes.py +2 -1
- sky/clouds/nebius.py +1 -1
- sky/clouds/utils/gcp_utils.py +1 -1
- sky/clouds/vast.py +1 -2
- sky/dashboard/out/404.html +1 -1
- sky/dashboard/out/_next/static/_r2LwCFLjlWjZDUIJQG_V/_buildManifest.js +1 -0
- sky/dashboard/out/_next/static/chunks/1043-928582d4860fef92.js +1 -0
- sky/dashboard/out/_next/static/chunks/1141-3f10a5a9f697c630.js +11 -0
- sky/dashboard/out/_next/static/chunks/1559-6c00e20454194859.js +30 -0
- sky/dashboard/out/_next/static/chunks/1664-22b00e32c9ff96a4.js +1 -0
- sky/dashboard/out/_next/static/chunks/1871-1df8b686a51f3e3a.js +6 -0
- sky/dashboard/out/_next/static/chunks/2003.f90b06bb1f914295.js +1 -0
- sky/dashboard/out/_next/static/chunks/2350.fab69e61bac57b23.js +1 -0
- sky/dashboard/out/_next/static/chunks/2369.fc20f0c2c8ed9fe7.js +15 -0
- sky/dashboard/out/_next/static/chunks/2641.142718b6b78a6f9b.js +1 -0
- sky/dashboard/out/_next/static/chunks/3698-7874720877646365.js +1 -0
- sky/dashboard/out/_next/static/chunks/3785.95524bc443db8260.js +1 -0
- sky/dashboard/out/_next/static/chunks/3937.210053269f121201.js +1 -0
- sky/dashboard/out/_next/static/chunks/4725.42f21f250f91f65b.js +1 -0
- sky/dashboard/out/_next/static/chunks/4869.18e6a4361a380763.js +16 -0
- sky/dashboard/out/_next/static/chunks/4937.d6bf67771e353356.js +15 -0
- sky/dashboard/out/_next/static/chunks/5230-f3bb2663e442e86c.js +1 -0
- sky/dashboard/out/_next/static/chunks/5739-d67458fcb1386c92.js +8 -0
- sky/dashboard/out/_next/static/chunks/6135-d0e285ac5f3f2485.js +1 -0
- sky/dashboard/out/_next/static/chunks/616-3d59f75e2ccf9321.js +39 -0
- sky/dashboard/out/_next/static/chunks/6212-7bd06f60ba693125.js +13 -0
- sky/dashboard/out/_next/static/chunks/6601-234b1cf963c7280b.js +1 -0
- sky/dashboard/out/_next/static/chunks/691.6d99cbfba347cebf.js +55 -0
- sky/dashboard/out/_next/static/chunks/6989-983d3ae7a874de98.js +1 -0
- sky/dashboard/out/_next/static/chunks/6990-08b2a1cae076a943.js +1 -0
- sky/dashboard/out/_next/static/chunks/7411-b15471acd2cba716.js +41 -0
- sky/dashboard/out/_next/static/chunks/8969-9a8cca241b30db83.js +1 -0
- sky/dashboard/out/_next/static/chunks/9025.7937c16bc8623516.js +6 -0
- sky/dashboard/out/_next/static/chunks/938-40d15b6261ec8dc1.js +1 -0
- sky/dashboard/out/_next/static/chunks/9847.4c46c5e229c78704.js +30 -0
- sky/dashboard/out/_next/static/chunks/9984.78ee6d2c6fa4b0e8.js +1 -0
- sky/dashboard/out/_next/static/chunks/fd9d1056-86323a29a8f7e46a.js +1 -0
- sky/dashboard/out/_next/static/chunks/framework-cf60a09ccd051a10.js +33 -0
- sky/dashboard/out/_next/static/chunks/main-app-587214043926b3cc.js +1 -0
- sky/dashboard/out/_next/static/chunks/main-f15ccb73239a3bf1.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/_app-a67ae198457b9886.js +34 -0
- sky/dashboard/out/_next/static/chunks/pages/_error-c66a4e8afc46f17b.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]/[job]-fa63e8b1d203f298.js +11 -0
- sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]-665fa5d96dd41d67.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/clusters-956ad430075efee8.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/config-8620d099cbef8608.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/index-444f1804401f04ea.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/infra/[context]-9cfd875eecb6eaf5.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/infra-0fbdc9072f19fbe2.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/jobs/[job]-b25c109d6e41bcf4.js +11 -0
- sky/dashboard/out/_next/static/chunks/pages/jobs-6393a9edc7322b54.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/users-34d6bb10c3b3ee3d.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/volumes-225c8dae0634eb7f.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/workspace/new-92f741084a89e27b.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/workspaces/[name]-4d41c9023287f59a.js +1 -0
- sky/dashboard/out/_next/static/chunks/pages/workspaces-e4cb7e97d37e93ad.js +1 -0
- sky/dashboard/out/_next/static/chunks/webpack-5adfc4d4b3db6f71.js +1 -0
- sky/dashboard/out/clusters/[cluster]/[job].html +1 -1
- sky/dashboard/out/clusters/[cluster].html +1 -1
- sky/dashboard/out/clusters.html +1 -1
- sky/dashboard/out/config.html +1 -1
- sky/dashboard/out/index.html +1 -1
- sky/dashboard/out/infra/[context].html +1 -1
- sky/dashboard/out/infra.html +1 -1
- sky/dashboard/out/jobs/[job].html +1 -1
- sky/dashboard/out/jobs.html +1 -1
- sky/dashboard/out/users.html +1 -1
- sky/dashboard/out/volumes.html +1 -1
- sky/dashboard/out/workspace/new.html +1 -1
- sky/dashboard/out/workspaces/[name].html +1 -1
- sky/dashboard/out/workspaces.html +1 -1
- sky/data/data_utils.py +25 -0
- sky/data/storage.py +1219 -1775
- sky/global_user_state.py +18 -8
- sky/jobs/server/core.py +4 -1
- sky/jobs/state.py +35 -7
- sky/jobs/utils.py +35 -17
- sky/logs/agent.py +0 -14
- sky/logs/aws.py +4 -30
- sky/provision/kubernetes/instance.py +4 -3
- sky/provision/kubernetes/utils.py +56 -31
- sky/provision/vast/instance.py +2 -1
- sky/provision/vast/utils.py +9 -6
- sky/resources.py +8 -2
- sky/serve/server/core.py +21 -2
- sky/serve/service.py +22 -2
- sky/server/server.py +7 -2
- sky/templates/sky-serve-controller.yaml.j2 +3 -0
- sky/utils/kubernetes/gpu_labeler.py +2 -2
- sky/utils/schemas.py +5 -1
- {skypilot_nightly-1.0.0.dev20250728.dist-info → skypilot_nightly-1.0.0.dev20250730.dist-info}/METADATA +1 -1
- {skypilot_nightly-1.0.0.dev20250728.dist-info → skypilot_nightly-1.0.0.dev20250730.dist-info}/RECORD +101 -100
- sky/dashboard/out/_next/static/chunks/1043-869d9c78bf5dd3df.js +0 -1
- sky/dashboard/out/_next/static/chunks/1141-e49a159c30a6c4a7.js +0 -11
- sky/dashboard/out/_next/static/chunks/1559-18717d96ef2fcbe9.js +0 -30
- sky/dashboard/out/_next/static/chunks/1664-d65361e92b85e786.js +0 -1
- sky/dashboard/out/_next/static/chunks/1871-ea0e7283886407ca.js +0 -6
- sky/dashboard/out/_next/static/chunks/2003.b82e6db40ec4c463.js +0 -1
- sky/dashboard/out/_next/static/chunks/2350.23778a2b19aabd33.js +0 -1
- sky/dashboard/out/_next/static/chunks/2369.2d6e4757f8dfc2b7.js +0 -15
- sky/dashboard/out/_next/static/chunks/2641.74c19c4d45a2c034.js +0 -1
- sky/dashboard/out/_next/static/chunks/3698-9fa11dafb5cad4a6.js +0 -1
- sky/dashboard/out/_next/static/chunks/3785.59705416215ff08b.js +0 -1
- sky/dashboard/out/_next/static/chunks/3937.d7f1c55d1916c7f2.js +0 -1
- sky/dashboard/out/_next/static/chunks/4725.66125dcd9832aa5d.js +0 -1
- sky/dashboard/out/_next/static/chunks/4869.da729a7db3a31f43.js +0 -16
- sky/dashboard/out/_next/static/chunks/4937.d75809403fc264ac.js +0 -15
- sky/dashboard/out/_next/static/chunks/5230-df791914b54d91d9.js +0 -1
- sky/dashboard/out/_next/static/chunks/5739-5ea3ffa10fc884f2.js +0 -8
- sky/dashboard/out/_next/static/chunks/6135-2abbd0352f8ee061.js +0 -1
- sky/dashboard/out/_next/static/chunks/616-162f3033ffcd3d31.js +0 -39
- sky/dashboard/out/_next/static/chunks/6601-d4a381403a8bae91.js +0 -1
- sky/dashboard/out/_next/static/chunks/691.488b4aef97c28727.js +0 -55
- sky/dashboard/out/_next/static/chunks/6989-eab0e9c16b64fd9f.js +0 -1
- sky/dashboard/out/_next/static/chunks/6990-f64e03df359e04f7.js +0 -1
- sky/dashboard/out/_next/static/chunks/7411-2cc31dc0fdf2a9ad.js +0 -41
- sky/dashboard/out/_next/static/chunks/8969-8e0b2055bf5dd499.js +0 -1
- sky/dashboard/out/_next/static/chunks/9025.4a9099bdf3ed4875.js +0 -6
- sky/dashboard/out/_next/static/chunks/938-7ee806653aef0609.js +0 -1
- sky/dashboard/out/_next/static/chunks/9847.387abf8a14d722db.js +0 -30
- sky/dashboard/out/_next/static/chunks/9984.0460de9d3adf5582.js +0 -1
- sky/dashboard/out/_next/static/chunks/fd9d1056-61f2257a9cd8b32b.js +0 -1
- sky/dashboard/out/_next/static/chunks/framework-efc06c2733009cd3.js +0 -33
- sky/dashboard/out/_next/static/chunks/main-app-68c028b1bc5e1b72.js +0 -1
- sky/dashboard/out/_next/static/chunks/main-c0a4f1ea606d48d2.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/_app-da491665d4289aae.js +0 -34
- sky/dashboard/out/_next/static/chunks/pages/_error-c72a1f77a3c0be1b.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]/[job]-2186770cc2de1623.js +0 -11
- sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]-95afb019ab85801c.js +0 -6
- sky/dashboard/out/_next/static/chunks/pages/clusters-3d4be4961e1c94eb.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/config-a2673b256b6d416f.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/index-89e7daf7b7df02e0.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/infra/[context]-a90b4fe4616dc501.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/infra-0d3d1f890c5d188a.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/jobs/[job]-dc0299ffefebcdbe.js +0 -16
- sky/dashboard/out/_next/static/chunks/pages/jobs-49f790d12a85027c.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/users-6790fcefd5487b13.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/volumes-61ea7ba7e56f8d06.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/workspace/new-5629d4e551dba1ee.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/workspaces/[name]-6bcd4b20914d76c9.js +0 -1
- sky/dashboard/out/_next/static/chunks/pages/workspaces-5f7fe4b7d55b8612.js +0 -1
- sky/dashboard/out/_next/static/chunks/webpack-a305898dc479711e.js +0 -1
- sky/dashboard/out/_next/static/ucBqsWPN0A5D2kXj8-FqQ/_buildManifest.js +0 -1
- /sky/dashboard/out/_next/static/{ucBqsWPN0A5D2kXj8-FqQ → _r2LwCFLjlWjZDUIJQG_V}/_ssgManifest.js +0 -0
- {skypilot_nightly-1.0.0.dev20250728.dist-info → skypilot_nightly-1.0.0.dev20250730.dist-info}/WHEEL +0 -0
- {skypilot_nightly-1.0.0.dev20250728.dist-info → skypilot_nightly-1.0.0.dev20250730.dist-info}/entry_points.txt +0 -0
- {skypilot_nightly-1.0.0.dev20250728.dist-info → skypilot_nightly-1.0.0.dev20250730.dist-info}/licenses/LICENSE +0 -0
- {skypilot_nightly-1.0.0.dev20250728.dist-info → skypilot_nightly-1.0.0.dev20250730.dist-info}/top_level.txt +0 -0
sky/serve/service.py
CHANGED
|
@@ -19,6 +19,7 @@ from sky import sky_logging
|
|
|
19
19
|
from sky import task as task_lib
|
|
20
20
|
from sky.backends import backend_utils
|
|
21
21
|
from sky.backends import cloud_vm_ray_backend
|
|
22
|
+
from sky.data import data_utils
|
|
22
23
|
from sky.serve import constants
|
|
23
24
|
from sky.serve import controller
|
|
24
25
|
from sky.serve import load_balancer
|
|
@@ -71,6 +72,8 @@ def cleanup_storage(task_yaml: str) -> bool:
|
|
|
71
72
|
Returns:
|
|
72
73
|
True if the storage is cleaned up successfully, False otherwise.
|
|
73
74
|
"""
|
|
75
|
+
failed = False
|
|
76
|
+
|
|
74
77
|
try:
|
|
75
78
|
task = task_lib.Task.from_yaml(task_yaml)
|
|
76
79
|
backend = cloud_vm_ray_backend.CloudVmRayBackend()
|
|
@@ -86,8 +89,25 @@ def cleanup_storage(task_yaml: str) -> bool:
|
|
|
86
89
|
f'{common_utils.format_exception(e)}')
|
|
87
90
|
with ux_utils.enable_traceback():
|
|
88
91
|
logger.error(f' Traceback: {traceback.format_exc()}')
|
|
89
|
-
|
|
90
|
-
|
|
92
|
+
failed = True
|
|
93
|
+
|
|
94
|
+
# Clean up any files mounted from the local disk, such as two-hop file
|
|
95
|
+
# mounts.
|
|
96
|
+
for file_mount in (task.file_mounts or {}).values():
|
|
97
|
+
try:
|
|
98
|
+
if not data_utils.is_cloud_store_url(file_mount):
|
|
99
|
+
path = os.path.expanduser(file_mount)
|
|
100
|
+
if os.path.isdir(path):
|
|
101
|
+
shutil.rmtree(path)
|
|
102
|
+
else:
|
|
103
|
+
os.remove(path)
|
|
104
|
+
except Exception as e: # pylint: disable=broad-except
|
|
105
|
+
logger.error(f'Failed to clean up file mount {file_mount}: {e}')
|
|
106
|
+
with ux_utils.enable_traceback():
|
|
107
|
+
logger.error(f' Traceback: {traceback.format_exc()}')
|
|
108
|
+
failed = True
|
|
109
|
+
|
|
110
|
+
return not failed
|
|
91
111
|
|
|
92
112
|
|
|
93
113
|
def _cleanup(service_name: str) -> bool:
|
sky/server/server.py
CHANGED
|
@@ -245,7 +245,7 @@ class BasicAuthMiddleware(starlette.middleware.base.BaseHTTPMiddleware):
|
|
|
245
245
|
"""Middleware to handle HTTP Basic Auth."""
|
|
246
246
|
|
|
247
247
|
async def dispatch(self, request: fastapi.Request, call_next):
|
|
248
|
-
if request.url.path.startswith('/api/'):
|
|
248
|
+
if request.url.path.startswith('/api/health'):
|
|
249
249
|
# Try to set the auth user from basic auth
|
|
250
250
|
_try_set_basic_auth_user(request)
|
|
251
251
|
return await call_next(request)
|
|
@@ -882,10 +882,15 @@ async def upload_zip_file(request: fastapi.Request, user_hash: str,
|
|
|
882
882
|
upload_ids_to_cleanup[(upload_id,
|
|
883
883
|
user_hash)] = (datetime.datetime.now() +
|
|
884
884
|
_DEFAULT_UPLOAD_EXPIRATION_TIME)
|
|
885
|
+
# For anonymous access, use the user hash from client
|
|
886
|
+
user_id = user_hash
|
|
887
|
+
if request.state.auth_user is not None:
|
|
888
|
+
# Otherwise, the authenticated identity should be used.
|
|
889
|
+
user_id = request.state.auth_user.id
|
|
885
890
|
|
|
886
891
|
# TODO(SKY-1271): We need to double check security of uploading zip file.
|
|
887
892
|
client_file_mounts_dir = (
|
|
888
|
-
common.API_SERVER_CLIENT_DIR.expanduser().resolve() /
|
|
893
|
+
common.API_SERVER_CLIENT_DIR.expanduser().resolve() / user_id /
|
|
889
894
|
'file_mounts')
|
|
890
895
|
client_file_mounts_dir.mkdir(parents=True, exist_ok=True)
|
|
891
896
|
|
|
@@ -34,6 +34,9 @@ file_mounts:
|
|
|
34
34
|
{%- for remote_catalog_path, local_catalog_path in modified_catalogs.items() %}
|
|
35
35
|
{{remote_catalog_path}}: {{local_catalog_path}}
|
|
36
36
|
{%- endfor %}
|
|
37
|
+
{%- for controller_file_mount_path, local_file_mount_path in local_to_controller_file_mounts.items() %}
|
|
38
|
+
{{controller_file_mount_path}}: {{local_file_mount_path}}
|
|
39
|
+
{%- endfor %}
|
|
37
40
|
{%- if use_tls %}
|
|
38
41
|
{{remote_tls_keyfile}}: {{local_tls_keyfile}}
|
|
39
42
|
{{remote_tls_certfile}}: {{local_tls_certfile}}
|
|
@@ -62,8 +62,8 @@ def label(context: Optional[str] = None, wait_for_completion: bool = True):
|
|
|
62
62
|
if not unlabeled_gpu_nodes:
|
|
63
63
|
print('No unlabeled GPU nodes found in the cluster. If you have '
|
|
64
64
|
'unlabeled GPU nodes, please ensure that they have the resource '
|
|
65
|
-
f'`{kubernetes_utils.get_gpu_resource_key()}:
|
|
66
|
-
'in their capacity.')
|
|
65
|
+
f'`{kubernetes_utils.get_gpu_resource_key(context)}: '
|
|
66
|
+
'<number of GPUs>` in their capacity.')
|
|
67
67
|
return
|
|
68
68
|
|
|
69
69
|
print(
|
sky/utils/schemas.py
CHANGED
|
@@ -1167,7 +1167,11 @@ def get_config_schema():
|
|
|
1167
1167
|
'type': 'string',
|
|
1168
1168
|
'pattern': '^(https|s3|gs|r2|cos)://.+',
|
|
1169
1169
|
'required': [],
|
|
1170
|
-
}
|
|
1170
|
+
},
|
|
1171
|
+
'force_disable_cloud_bucket': {
|
|
1172
|
+
'type': 'boolean',
|
|
1173
|
+
'default': False,
|
|
1174
|
+
},
|
|
1171
1175
|
}
|
|
1172
1176
|
}
|
|
1173
1177
|
|
{skypilot_nightly-1.0.0.dev20250728.dist-info → skypilot_nightly-1.0.0.dev20250730.dist-info}/RECORD
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sky/__init__.py,sha256=
|
|
1
|
+
sky/__init__.py,sha256=XAGS1Uq6iJw6dVGe4xYNLB7qZtACKphZxMh9p-ohfFA,6535
|
|
2
2
|
sky/admin_policy.py,sha256=BeSowGnWfDj58ALiNf3cc2N4gMQWzjO6aXnX7vaqYhk,9782
|
|
3
3
|
sky/authentication.py,sha256=V7zGSV7bqcAKC_EGOOS0KhJ01ZFLnme0WnjLFO7zavs,25603
|
|
4
4
|
sky/check.py,sha256=R0pFsTq2v-wr3NFePlX9DmDhsbvWEoFJAXsys3pUmT4,30338
|
|
@@ -8,10 +8,10 @@ sky/core.py,sha256=k_3QkqJecFpwLSatM52lD-IitVdjUIXn33EPJWcQfWE,56628
|
|
|
8
8
|
sky/dag.py,sha256=5MFXlP43y9U54zxfYGhVyBiWEInoFFlt_zJ7ASJntXw,3889
|
|
9
9
|
sky/exceptions.py,sha256=U9s7ty5eyTdpOeteVxh7qOKmkYhyRVQmHXQXyREnMyk,19482
|
|
10
10
|
sky/execution.py,sha256=sZf0306FCKAo1FS7Vg2yCADSr5XHsODYwESHhwdVTjo,33439
|
|
11
|
-
sky/global_user_state.py,sha256=
|
|
11
|
+
sky/global_user_state.py,sha256=jq0FgOEbC_dbjgqRI8Fb8Oc4wx5_XT9bZs1VqxX4Fek,68153
|
|
12
12
|
sky/models.py,sha256=Eor-cT4D71QTimogcnJ5ey1G1PXK-OXN-snEtE8Uu_g,3152
|
|
13
13
|
sky/optimizer.py,sha256=rcH6CVix1PJWWSwe1XWItfsmG8igwbKtRE5QVWRlpR4,63804
|
|
14
|
-
sky/resources.py,sha256=
|
|
14
|
+
sky/resources.py,sha256=PaRhNQysOY-Albtz5-jJBInOnF43WCNBNuD0-qst51Y,106062
|
|
15
15
|
sky/sky_logging.py,sha256=cMurxhFExKEFX1frcMR71Ti_s9Obg9WY30veVxsZB6o,7285
|
|
16
16
|
sky/skypilot_config.py,sha256=j1-dxYEDbQ6-ibhYXKqG8nP1mK9CXKDmQDtbwJcE-MA,36535
|
|
17
17
|
sky/task.py,sha256=esQX8gYa4ScjXia1y_WzVT8U3xU6GVi9kYqaldkZBa8,72272
|
|
@@ -51,7 +51,7 @@ sky/catalog/fluidstack_catalog.py,sha256=387bOTlR3Bzj07uT1wvw3VSw3fVACQUi1hFoz4A
|
|
|
51
51
|
sky/catalog/gcp_catalog.py,sha256=6LfpdBGMutc9lDfmpoKMCB8YaYy3KKcWOm7Xg4bkAkk,26514
|
|
52
52
|
sky/catalog/hyperbolic_catalog.py,sha256=vMs0HcTyFLBNpuDNdWYFwAIfnKh5TT34mY6CRRPHTFc,4946
|
|
53
53
|
sky/catalog/ibm_catalog.py,sha256=cU-PmiKyJY3ZCVKJzCaT_ClxJx785yZEg9JlK8vlWfc,4734
|
|
54
|
-
sky/catalog/kubernetes_catalog.py,sha256=
|
|
54
|
+
sky/catalog/kubernetes_catalog.py,sha256=YYx92uv5r0B62q8ExcetvbMNNPtJ4yQzAxtGEkEqubI,14118
|
|
55
55
|
sky/catalog/lambda_catalog.py,sha256=M5g23ILZo55CzSdNbEfB4AzAwvs6bPaJPEsMDGuGoqI,5543
|
|
56
56
|
sky/catalog/nebius_catalog.py,sha256=9TQ309xqe8svquwgNFPht6PHrQc_bMUVhVaEjllGjYk,4748
|
|
57
57
|
sky/catalog/oci_catalog.py,sha256=5SzhG7umqlWpBoEOYNDBhQFgLIF0H4gtoDwfZo7MkTI,8821
|
|
@@ -75,13 +75,13 @@ sky/catalog/data_fetchers/fetch_nebius.py,sha256=qmk7wkz8-L8XxYXZyDpneAuvOPY2Pzw
|
|
|
75
75
|
sky/catalog/data_fetchers/fetch_vast.py,sha256=xoVDSsQVgMLzyibCFN7yDgyH1Y96gk5G53to1ZAGRyg,5017
|
|
76
76
|
sky/catalog/data_fetchers/fetch_vsphere.py,sha256=Yf7tKzwJsQ_4f64IT1EAP108C1D3Rg35RUIwp7UX8KI,21438
|
|
77
77
|
sky/client/__init__.py,sha256=pz6xvVSd9X-gwqbsDL0E9QOojYqM0KAD0j-NCyCIF1k,38
|
|
78
|
-
sky/client/common.py,sha256=
|
|
78
|
+
sky/client/common.py,sha256=RYXlfL9FTk97RxVrOX0p4gfgol1E5dqM-_vaEUhqsy4,15622
|
|
79
79
|
sky/client/oauth.py,sha256=sNJ_DMsSTcxluj5FeNQ2IafZJLImRFmCAZ79bXeABn4,2871
|
|
80
80
|
sky/client/sdk.py,sha256=1KIBayflVwL0sVoCj8IP5W75cwT-YEEdpJnglYLaQ98,92749
|
|
81
81
|
sky/client/sdk.pyi,sha256=Dyu9wBaCZmB3O_pg7q0pHe6i1aVrNFX73eGSdLAm_W8,8082
|
|
82
82
|
sky/client/service_account_auth.py,sha256=5jXk0G6ufuW-SHCO7BEHQeTO0_2a8KfFmA63auXFRj4,1529
|
|
83
83
|
sky/client/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
84
|
-
sky/client/cli/command.py,sha256
|
|
84
|
+
sky/client/cli/command.py,sha256=-PMD3NZaJ12zdl83w7B5LHLZoYbOR19PICZbkrwNnM0,223437
|
|
85
85
|
sky/client/cli/deprecation_utils.py,sha256=H_d5UyF2CekEoThduAzt5cihBO8hwKYMu0-Wqfbjv5E,3370
|
|
86
86
|
sky/client/cli/flags.py,sha256=6IdS_G2lB1C6r8kJMzLVREY_qV50VHiSfWlmppVrWuc,11623
|
|
87
87
|
sky/client/cli/git.py,sha256=dqSaJI1Ndv6RfKJa6HT6ednXr0j_pVlwSdh3XiQzB60,22018
|
|
@@ -95,117 +95,118 @@ sky/clouds/fluidstack.py,sha256=AbVYW2iwVVebIn0dWdSSsdItILHRLG3VVU3N2-n1I9c,1360
|
|
|
95
95
|
sky/clouds/gcp.py,sha256=LteGFf8kxmVoWyzM1YTNDh3xOrsuVJFB2-E7KNJ_Yz8,68861
|
|
96
96
|
sky/clouds/hyperbolic.py,sha256=bmV4NFpUPgzR0ownavHHVqyw26EtOgQ_ZB6SlxlgmJw,11999
|
|
97
97
|
sky/clouds/ibm.py,sha256=qMbOkTMJzPn2HDH9cie9zERvukRZbZoueLIaufCECAw,22860
|
|
98
|
-
sky/clouds/kubernetes.py,sha256=
|
|
98
|
+
sky/clouds/kubernetes.py,sha256=s0IA3dSfW4KdxmdjRP-a1ZSw-tWgwNjwLMpb0qJReBk,54517
|
|
99
99
|
sky/clouds/lambda_cloud.py,sha256=aRW4GwLjaFFR6_bPbBr9o8z-SKHtuP18BAVwoPuDtBE,13553
|
|
100
|
-
sky/clouds/nebius.py,sha256=
|
|
100
|
+
sky/clouds/nebius.py,sha256=LeJYlsNzhTKCooGIGYIsvXLqoRHGB1hMDLd81baMS7E,21362
|
|
101
101
|
sky/clouds/oci.py,sha256=U5wtBx78RqCgCAqjlTTgSnRqWWa7D7LIvyoo8097Fno,28571
|
|
102
102
|
sky/clouds/paperspace.py,sha256=-wvFUsUGaOlFYfe3jCdEB3_mwDmK4R66hJy8nX9822o,12010
|
|
103
103
|
sky/clouds/runpod.py,sha256=6ziQZj1YS6QBT4ilYlg8Dg0w_AT1yL9hnvvl4mMssHg,13386
|
|
104
104
|
sky/clouds/scp.py,sha256=zXHxLKfe8B90eHNbawNiXxsGsoBDXW5InvM2E7CaRSw,16116
|
|
105
105
|
sky/clouds/ssh.py,sha256=PPs1FzhJ4DV-KsaTfvLii7pd80nkF-LXAlY8bjMN8RQ,9970
|
|
106
|
-
sky/clouds/vast.py,sha256=
|
|
106
|
+
sky/clouds/vast.py,sha256=HlSR4zRuXaFqXmaauRfZ1Lvxv3n5tlNpviBbrRDTUIg,12338
|
|
107
107
|
sky/clouds/vsphere.py,sha256=SonakUIwte8UdtbwScRR6E8u3WdFNwq7YynjaWRwJlA,13358
|
|
108
108
|
sky/clouds/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
109
109
|
sky/clouds/utils/aws_utils.py,sha256=eT1GUR-OAfKS9CM0ZOARkhAYQ779GEGwPs9OXm6lwt0,2146
|
|
110
110
|
sky/clouds/utils/azure_utils.py,sha256=NToRBnhEyuUvb-nBnsKTxjhOBRkMcrelL8LK4w6s4t8,3555
|
|
111
|
-
sky/clouds/utils/gcp_utils.py,sha256=
|
|
111
|
+
sky/clouds/utils/gcp_utils.py,sha256=09MF4Vx0EW7S-GXGpyxpl2aQlHrqeu9ioV0nyionAyk,9890
|
|
112
112
|
sky/clouds/utils/oci_utils.py,sha256=TFqAqRLggg4Z0bhxrrq8nouSSomZy-ub1frHXEkud2M,7302
|
|
113
113
|
sky/clouds/utils/scp_utils.py,sha256=VGuccVO5uFGr8-yolWSoYrgr11z6cIeDBGcqkBzAyOs,18409
|
|
114
|
-
sky/dashboard/out/404.html,sha256=
|
|
115
|
-
sky/dashboard/out/clusters.html,sha256
|
|
116
|
-
sky/dashboard/out/config.html,sha256=
|
|
114
|
+
sky/dashboard/out/404.html,sha256=1vOkexo05ClkDdTosbDs9TGLWoKDWqsxF2BqO6taDoY,1423
|
|
115
|
+
sky/dashboard/out/clusters.html,sha256=xqBP4osoFh2YF3SHGrOeWln7B5mOWB3JEW-G7dwmTAA,1418
|
|
116
|
+
sky/dashboard/out/config.html,sha256=SIA0U89byLv03kwLR2XfINUC1QDM_fhfB48a0Wsvy4g,1414
|
|
117
117
|
sky/dashboard/out/favicon.ico,sha256=XilUZZglAl_1zRsg85QsbQgmQAzGPQjcUIJ-A3AzYn8,93590
|
|
118
|
-
sky/dashboard/out/index.html,sha256=
|
|
119
|
-
sky/dashboard/out/infra.html,sha256=
|
|
120
|
-
sky/dashboard/out/jobs.html,sha256=
|
|
118
|
+
sky/dashboard/out/index.html,sha256=3GL99XtaRmDHvUsSvw229f_NvS2r5z9Pk45ZhclDLHE,1407
|
|
119
|
+
sky/dashboard/out/infra.html,sha256=VjYGQVelYZzUqvYGdwHRScItU1YVIcaOG7ynwWTNLzY,1412
|
|
120
|
+
sky/dashboard/out/jobs.html,sha256=h5KGaQJj2Q1j7K5foHSLTW2tQbw-065U9HVryWO4lAs,1410
|
|
121
121
|
sky/dashboard/out/skypilot.svg,sha256=c0iRtlfLlaUm2p0rG9NFmo5FN0Qhf3pq5Xph-AeMPJw,5064
|
|
122
|
-
sky/dashboard/out/users.html,sha256=
|
|
123
|
-
sky/dashboard/out/volumes.html,sha256=
|
|
124
|
-
sky/dashboard/out/workspaces.html,sha256=
|
|
125
|
-
sky/dashboard/out/_next/static/
|
|
126
|
-
sky/dashboard/out/_next/static/
|
|
122
|
+
sky/dashboard/out/users.html,sha256=wsHwgcMhN20vm_i20UmZQkILyBmzJuomXlIH4uV17CY,1412
|
|
123
|
+
sky/dashboard/out/volumes.html,sha256=_1hhrolBF8WPcZhK7APJ3ei6jECGv-yH5ne5BNo_7Z8,1416
|
|
124
|
+
sky/dashboard/out/workspaces.html,sha256=M44EzPFTb6kbfcrt-mV01uoI6dXjHawS2vzBGKHJcRY,1422
|
|
125
|
+
sky/dashboard/out/_next/static/_r2LwCFLjlWjZDUIJQG_V/_buildManifest.js,sha256=zY6CK5HuvlvHmmUpNplXXoAXlp-v9lwDL5uYSLg89qo,2283
|
|
126
|
+
sky/dashboard/out/_next/static/_r2LwCFLjlWjZDUIJQG_V/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
|
127
|
+
sky/dashboard/out/_next/static/chunks/1043-928582d4860fef92.js,sha256=BG7QXJfWCVid6a34fciR3aLMlAfaMwz__pMPGx5W4yI,18356
|
|
128
|
+
sky/dashboard/out/_next/static/chunks/1141-3f10a5a9f697c630.js,sha256=UYaip6NbdI5m6d7e2swueEq41Limnaf83CFxBG5V3qQ,17855
|
|
127
129
|
sky/dashboard/out/_next/static/chunks/1272-1ef0bf0237faccdb.js,sha256=VJ6y-Z6Eg2T93hQIRfWAbjAkQ7nQhglmIaVbEpKSILY,38451
|
|
128
|
-
sky/dashboard/out/_next/static/chunks/1559-
|
|
129
|
-
sky/dashboard/out/_next/static/chunks/1664-
|
|
130
|
-
sky/dashboard/out/_next/static/chunks/1871-
|
|
131
|
-
sky/dashboard/out/_next/static/chunks/2003.
|
|
132
|
-
sky/dashboard/out/_next/static/chunks/2350.
|
|
133
|
-
sky/dashboard/out/_next/static/chunks/2369.
|
|
134
|
-
sky/dashboard/out/_next/static/chunks/2641.
|
|
135
|
-
sky/dashboard/out/_next/static/chunks/3698-
|
|
136
|
-
sky/dashboard/out/_next/static/chunks/3785.
|
|
137
|
-
sky/dashboard/out/_next/static/chunks/3937.
|
|
138
|
-
sky/dashboard/out/_next/static/chunks/4725.
|
|
139
|
-
sky/dashboard/out/_next/static/chunks/4869.
|
|
140
|
-
sky/dashboard/out/_next/static/chunks/4937.
|
|
141
|
-
sky/dashboard/out/_next/static/chunks/5230-
|
|
142
|
-
sky/dashboard/out/_next/static/chunks/5739-
|
|
143
|
-
sky/dashboard/out/_next/static/chunks/6135-
|
|
144
|
-
sky/dashboard/out/_next/static/chunks/616-
|
|
145
|
-
sky/dashboard/out/_next/static/chunks/
|
|
146
|
-
sky/dashboard/out/_next/static/chunks/
|
|
147
|
-
sky/dashboard/out/_next/static/chunks/
|
|
148
|
-
sky/dashboard/out/_next/static/chunks/
|
|
149
|
-
sky/dashboard/out/_next/static/chunks/
|
|
150
|
-
sky/dashboard/out/_next/static/chunks/
|
|
151
|
-
sky/dashboard/out/_next/static/chunks/
|
|
152
|
-
sky/dashboard/out/_next/static/chunks/
|
|
153
|
-
sky/dashboard/out/_next/static/chunks/
|
|
154
|
-
sky/dashboard/out/_next/static/chunks/
|
|
155
|
-
sky/dashboard/out/_next/static/chunks/
|
|
156
|
-
sky/dashboard/out/_next/static/chunks/
|
|
157
|
-
sky/dashboard/out/_next/static/chunks/
|
|
158
|
-
sky/dashboard/out/_next/static/chunks/main-
|
|
130
|
+
sky/dashboard/out/_next/static/chunks/1559-6c00e20454194859.js,sha256=m7cJHbBlJJX1kIbMpu-i3q3V5FO2iZwAn8rsPb0Bliw,9717
|
|
131
|
+
sky/dashboard/out/_next/static/chunks/1664-22b00e32c9ff96a4.js,sha256=NHkBM2lbUgk6jJj_zpZjLfTWBnMr4xPt2Sus1Yfq5js,6579
|
|
132
|
+
sky/dashboard/out/_next/static/chunks/1871-1df8b686a51f3e3a.js,sha256=dChDPZIi9Wj6Ng6VCwuA0A9CwwNpreVlUv2MgrItf-M,19443
|
|
133
|
+
sky/dashboard/out/_next/static/chunks/2003.f90b06bb1f914295.js,sha256=5CouVy9gPpjpOosucd1Ryme6X6vJBDwK08OYlEKuNyQ,889
|
|
134
|
+
sky/dashboard/out/_next/static/chunks/2350.fab69e61bac57b23.js,sha256=TQCHO4AUL9MZo1e_8GOiL8y6vjQpj5tdXZ8oCKwM1LA,271
|
|
135
|
+
sky/dashboard/out/_next/static/chunks/2369.fc20f0c2c8ed9fe7.js,sha256=qkKMDvgq-AVeC811VipJzXHAB__R4G2eHj-I-7_N2Ek,8177
|
|
136
|
+
sky/dashboard/out/_next/static/chunks/2641.142718b6b78a6f9b.js,sha256=DF5GRDDYG6KTbVR2O6CgobhxOZpovWP5v2Oxz56fGVU,48820
|
|
137
|
+
sky/dashboard/out/_next/static/chunks/3698-7874720877646365.js,sha256=9Bo7Eai-WaCVR8IYs_CfjW6a7mVHnOpUpZM_L6a2v0U,7791
|
|
138
|
+
sky/dashboard/out/_next/static/chunks/3785.95524bc443db8260.js,sha256=urw-6rkDrz1YuBfa6J24vn66XOt59bXsepHWjzBPEAQ,4531
|
|
139
|
+
sky/dashboard/out/_next/static/chunks/3937.210053269f121201.js,sha256=0tYP8uuog_WLEZmEuej4zenfX0PUa17nR874wSSBgqI,54583
|
|
140
|
+
sky/dashboard/out/_next/static/chunks/4725.42f21f250f91f65b.js,sha256=_-NzIqOYigRTcU7MrMGPIhQu8Jv7d05cPW5bNj4maOo,15071
|
|
141
|
+
sky/dashboard/out/_next/static/chunks/4869.18e6a4361a380763.js,sha256=czTjPIAr6caorR4OpUjHLlTcZzSYu959eWt-xxiKmqQ,17572
|
|
142
|
+
sky/dashboard/out/_next/static/chunks/4937.d6bf67771e353356.js,sha256=Qymr7rDWOLpm4iXvFIBYdVYD7s6fJQK1wpSgl9HAZy8,9323
|
|
143
|
+
sky/dashboard/out/_next/static/chunks/5230-f3bb2663e442e86c.js,sha256=iTupsGn2zVH1At9FrHxjv5DsRHh7kx5tu0NBpNvupds,22598
|
|
144
|
+
sky/dashboard/out/_next/static/chunks/5739-d67458fcb1386c92.js,sha256=UMLEyZH3SWcAdDnaOYztbUYUzCCP2t0KiwP2vT_swDQ,65504
|
|
145
|
+
sky/dashboard/out/_next/static/chunks/6135-d0e285ac5f3f2485.js,sha256=EmgR24TKGgQGR92Br_18mFF2lEWn_AkVp5Zyo0AXDFs,14829
|
|
146
|
+
sky/dashboard/out/_next/static/chunks/616-3d59f75e2ccf9321.js,sha256=UQxIbEZseq4ore8Y1Tm5OT3Re7fU8ZZKjQQWk4JPvK4,179393
|
|
147
|
+
sky/dashboard/out/_next/static/chunks/6212-7bd06f60ba693125.js,sha256=ipLAaXhbFdPNtxl4XXjguGHlA4fAytX77aaU2zFt4fk,785262
|
|
148
|
+
sky/dashboard/out/_next/static/chunks/6601-234b1cf963c7280b.js,sha256=g1C9GsxHu-03kpOn7OWr2ubtL3kR0qXbk2iqXyQsJo0,9082
|
|
149
|
+
sky/dashboard/out/_next/static/chunks/691.6d99cbfba347cebf.js,sha256=S1TcHL6E6M8GxGjQIeML8BbH87GdG3hKMzuJn-Q12gg,12642
|
|
150
|
+
sky/dashboard/out/_next/static/chunks/6989-983d3ae7a874de98.js,sha256=EmB2B4uoWqDwA1BQtZsdFJ5PvdLOSIFaub7CA7ifiZ0,9448
|
|
151
|
+
sky/dashboard/out/_next/static/chunks/6990-08b2a1cae076a943.js,sha256=fWdN6V7HMAPhUGCaejOrETv_O1D7atMOpnMiE6LIsc8,16117
|
|
152
|
+
sky/dashboard/out/_next/static/chunks/7411-b15471acd2cba716.js,sha256=Dnmr9e-yZQbnkjwzqIZU3aK-3u1Tqr8STF-ODYWLkaw,13304
|
|
153
|
+
sky/dashboard/out/_next/static/chunks/8969-9a8cca241b30db83.js,sha256=njBZhBTQ2mxwFfHzLbYbkGvvkDXXMZLJrJeXslUQZ2Q,10045
|
|
154
|
+
sky/dashboard/out/_next/static/chunks/9025.7937c16bc8623516.js,sha256=KmCWZJCmukdo1uWvTEZA95edKZ5Eml3slTBtkSfm748,10566
|
|
155
|
+
sky/dashboard/out/_next/static/chunks/938-40d15b6261ec8dc1.js,sha256=7uS050SeS6e5lHYCbW2L47X8xaa78oVYxxOihFnaQzg,26632
|
|
156
|
+
sky/dashboard/out/_next/static/chunks/9847.4c46c5e229c78704.js,sha256=YsUAnSJyWiSx0Ln2kbtXFId9U_B2k3u1mGMw83akrqg,39901
|
|
157
|
+
sky/dashboard/out/_next/static/chunks/9984.78ee6d2c6fa4b0e8.js,sha256=tiInxzHlVPbVVr01jBrLDQr1fPQ1cs4fDkHMeQxaFkE,42136
|
|
158
|
+
sky/dashboard/out/_next/static/chunks/fd9d1056-86323a29a8f7e46a.js,sha256=2lquiZSfbI-gX4j4TW4JSMLL_D5ShqwydgWpFyXrTy8,172834
|
|
159
|
+
sky/dashboard/out/_next/static/chunks/framework-cf60a09ccd051a10.js,sha256=_QbamfAbTV4_xMVOTjz0rhiAPAi8ET5MuSNjjW5oMng,140965
|
|
160
|
+
sky/dashboard/out/_next/static/chunks/main-app-587214043926b3cc.js,sha256=t7glRfataAjNw691Wni-ZU4a3BsygRzPKoI8NOm-lsY,116244
|
|
161
|
+
sky/dashboard/out/_next/static/chunks/main-f15ccb73239a3bf1.js,sha256=jxOPLDVX3rkMc_jvGx2a-N2v6mvfOa8O6V0o-sLT0tI,110208
|
|
159
162
|
sky/dashboard/out/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
|
|
160
|
-
sky/dashboard/out/_next/static/chunks/webpack-
|
|
161
|
-
sky/dashboard/out/_next/static/chunks/pages/_app-
|
|
162
|
-
sky/dashboard/out/_next/static/chunks/pages/_error-
|
|
163
|
-
sky/dashboard/out/_next/static/chunks/pages/clusters-
|
|
164
|
-
sky/dashboard/out/_next/static/chunks/pages/config-
|
|
165
|
-
sky/dashboard/out/_next/static/chunks/pages/index-
|
|
166
|
-
sky/dashboard/out/_next/static/chunks/pages/infra-
|
|
167
|
-
sky/dashboard/out/_next/static/chunks/pages/jobs-
|
|
168
|
-
sky/dashboard/out/_next/static/chunks/pages/users-
|
|
169
|
-
sky/dashboard/out/_next/static/chunks/pages/volumes-
|
|
170
|
-
sky/dashboard/out/_next/static/chunks/pages/workspaces-
|
|
171
|
-
sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]-
|
|
172
|
-
sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]/[job]-
|
|
173
|
-
sky/dashboard/out/_next/static/chunks/pages/infra/[context]-
|
|
174
|
-
sky/dashboard/out/_next/static/chunks/pages/jobs/[job]-
|
|
175
|
-
sky/dashboard/out/_next/static/chunks/pages/workspace/new-
|
|
176
|
-
sky/dashboard/out/_next/static/chunks/pages/workspaces/[name]-
|
|
163
|
+
sky/dashboard/out/_next/static/chunks/webpack-5adfc4d4b3db6f71.js,sha256=SbzT8WHIvyp7A5lK0DOYsfC2pqj0ZEP1JXIuiy2YgRM,4817
|
|
164
|
+
sky/dashboard/out/_next/static/chunks/pages/_app-a67ae198457b9886.js,sha256=VuhMqjrmagBFq3GFOQEolXA0EcCcTuJJ07YnYZSzIWE,95540
|
|
165
|
+
sky/dashboard/out/_next/static/chunks/pages/_error-c66a4e8afc46f17b.js,sha256=vjERjtMAbVk-19LyPf1Jc-H6TMcrSznSz6brzNqbqf8,253
|
|
166
|
+
sky/dashboard/out/_next/static/chunks/pages/clusters-956ad430075efee8.js,sha256=L7DO9OEherPXWbBVn5F4WRxWVsr4QkleQ72Cd2N9zS0,869
|
|
167
|
+
sky/dashboard/out/_next/static/chunks/pages/config-8620d099cbef8608.js,sha256=7K8d70bjvg4PehnJwhw_FhBOlPQsYdLxH7le0jiNfDE,796
|
|
168
|
+
sky/dashboard/out/_next/static/chunks/pages/index-444f1804401f04ea.js,sha256=caOxDw7dl3NlA86txmKO4O-D02wQ_o8WbGleTa-bU1I,482
|
|
169
|
+
sky/dashboard/out/_next/static/chunks/pages/infra-0fbdc9072f19fbe2.js,sha256=U8Wuj84XBZAzZgoG18KXXt9bEY_nfRwXeSmyewvZ9iY,839
|
|
170
|
+
sky/dashboard/out/_next/static/chunks/pages/jobs-6393a9edc7322b54.js,sha256=lHkfplsGnj1m_-9ryVVVvYFpTugKC_QkeDW8jE0FldI,871
|
|
171
|
+
sky/dashboard/out/_next/static/chunks/pages/users-34d6bb10c3b3ee3d.js,sha256=ENssYZncnT49etHyLTj_GfhAG9vS82_twtHcLcawemQ,837
|
|
172
|
+
sky/dashboard/out/_next/static/chunks/pages/volumes-225c8dae0634eb7f.js,sha256=Xrf8uq3RK1PodWTtkeruwp2VphPP0pkUUBzxubc3SI8,826
|
|
173
|
+
sky/dashboard/out/_next/static/chunks/pages/workspaces-e4cb7e97d37e93ad.js,sha256=C4xAlubwWetsVXjdsd--WPQB0VGvLVmawQIO-aXPRUs,882
|
|
174
|
+
sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]-665fa5d96dd41d67.js,sha256=W_JFq5BARvwF0jrcic_9FpVjpqoYpO-BQfsBwy264Wc,16758
|
|
175
|
+
sky/dashboard/out/_next/static/chunks/pages/clusters/[cluster]/[job]-fa63e8b1d203f298.js,sha256=BxMhWaTYIpxg6pUxHCgjmQYg_bWlt8IcF25Ib_TRqh0,22612
|
|
176
|
+
sky/dashboard/out/_next/static/chunks/pages/infra/[context]-9cfd875eecb6eaf5.js,sha256=NfPpxnay5ixeeA7P9nIGufH6k4LeU0fUMVCf2DQ1b_w,847
|
|
177
|
+
sky/dashboard/out/_next/static/chunks/pages/jobs/[job]-b25c109d6e41bcf4.js,sha256=HErPyXdZB4QhPThmDfv1P-V7NyslPW7Qro77hWwK4A0,26094
|
|
178
|
+
sky/dashboard/out/_next/static/chunks/pages/workspace/new-92f741084a89e27b.js,sha256=_R_LeVz9kCnCeOSjnJLSVmaKh2JVd1LpTVNZifss3d8,772
|
|
179
|
+
sky/dashboard/out/_next/static/chunks/pages/workspaces/[name]-4d41c9023287f59a.js,sha256=BK6zNuC-5pUqmVKDlAgKs10P46xDefN_G3y-iLJ8TLw,1504
|
|
177
180
|
sky/dashboard/out/_next/static/css/b3227360726f12eb.css,sha256=H55rkeVIrdGOUAIPmLZ6C78aEgXb7fEPa9mT9BOuLBI,55358
|
|
178
|
-
sky/dashboard/out/
|
|
179
|
-
sky/dashboard/out/
|
|
180
|
-
sky/dashboard/out/
|
|
181
|
-
sky/dashboard/out/
|
|
182
|
-
sky/dashboard/out/infra/[context].html,sha256=38Aro461n8kzs_hHvV_uEMwMbsKGC-cMoLN1KqIsnjA,1436
|
|
183
|
-
sky/dashboard/out/jobs/[job].html,sha256=Zxnidd60yaD_39K956PuftbaORFVXW41j4nL6YIcp0o,2305
|
|
181
|
+
sky/dashboard/out/clusters/[cluster].html,sha256=4wsTg0xVdogxijP1Pj0lf09CN6RfQZ1CUnY_zZwsyjw,2936
|
|
182
|
+
sky/dashboard/out/clusters/[cluster]/[job].html,sha256=9u1J-yHEcEvZjoWRW5UNkjAQydB3mV7nRS8hJEmnWOk,2161
|
|
183
|
+
sky/dashboard/out/infra/[context].html,sha256=vqzApepJcap9_8qXKpKEs4dFV-xtCHD66vDt9SCGH4g,1436
|
|
184
|
+
sky/dashboard/out/jobs/[job].html,sha256=p_G9SkMzS6Yo9lNq9JZJn0CGKvq0P9RWSwCa81JVrrY,2393
|
|
184
185
|
sky/dashboard/out/videos/cursor-small.mp4,sha256=8tRdp1vjawOrXUar1cfjOc-nkaKmcwCPZx_LO0XlCvQ,203285
|
|
185
|
-
sky/dashboard/out/workspace/new.html,sha256=
|
|
186
|
-
sky/dashboard/out/workspaces/[name].html,sha256=
|
|
186
|
+
sky/dashboard/out/workspace/new.html,sha256=kG2-kg5rD8UXGTl7zl1yGIucY6Alk3xRDD65LLj_lfA,1428
|
|
187
|
+
sky/dashboard/out/workspaces/[name].html,sha256=AtDxEM1R5J6sXop-dSvZjCtMFsbFvuOyDL_3qvUMYaE,2846
|
|
187
188
|
sky/data/__init__.py,sha256=Nhaf1NURisXpZuwWANa2IuCyppIuc720FRwqSE2oEwY,184
|
|
188
189
|
sky/data/data_transfer.py,sha256=N8b0CQebDuHieXjvEVwlYmK6DbQxUGG1RQJEyTbh3dU,12040
|
|
189
|
-
sky/data/data_utils.py,sha256=
|
|
190
|
+
sky/data/data_utils.py,sha256=4hmSXSokjop85liKaEg11a97E3R-Pl-hQcY6rf3uVQE,34233
|
|
190
191
|
sky/data/mounting_utils.py,sha256=OduhvpNQuuqXc3VgDEpwnZI1gY6zDwZlx_sTJfvv5IY,24582
|
|
191
|
-
sky/data/storage.py,sha256=
|
|
192
|
+
sky/data/storage.py,sha256=OsgfyLX6kOvvhloJRHREFxOlMHYC3tWQh7WMg9cZ5NA,207415
|
|
192
193
|
sky/data/storage_utils.py,sha256=l6sx0r3j0F2mTcIVn1S7-4Y_vFRZcvwsVrG_CCacVR8,13856
|
|
193
194
|
sky/jobs/__init__.py,sha256=qoI53-xXE0-SOkrLWigvhgFXjk7dWE0OTqGPYIk-kmM,1458
|
|
194
195
|
sky/jobs/constants.py,sha256=N7Bw_sSCL8cVd0NmKGXvAhyclR8Y-gJAair597umVo4,3305
|
|
195
196
|
sky/jobs/controller.py,sha256=kKnBMQs2XRg1TN80ToVWFwVdwKTuFE4TjQapb3V0iUI,36073
|
|
196
197
|
sky/jobs/recovery_strategy.py,sha256=a9A4W-6U3KU-pjkWiFpIdgTHC8W26-jYrmi4vzU9iOg,28818
|
|
197
198
|
sky/jobs/scheduler.py,sha256=b3RAjEzCXyoikh_BcmmGjoZ9ZeXr-tBnXoLFctt95ko,14375
|
|
198
|
-
sky/jobs/state.py,sha256=
|
|
199
|
-
sky/jobs/utils.py,sha256=
|
|
199
|
+
sky/jobs/state.py,sha256=19jcIRg4BMX96hAgn6_hRvaLprr9nqqadrCpOqw_WCM,62902
|
|
200
|
+
sky/jobs/utils.py,sha256=TUc3pt5cq-AxGFkztowwkHcaisuYOEkipIj6zuC6Cvo,74536
|
|
200
201
|
sky/jobs/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
201
202
|
sky/jobs/client/sdk.py,sha256=SSdXVvaGCX5DjCfmMf6bSXOH1Dzk-a3bNhr7qNyHSuU,11335
|
|
202
203
|
sky/jobs/server/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
203
|
-
sky/jobs/server/core.py,sha256=
|
|
204
|
+
sky/jobs/server/core.py,sha256=TEzLeNJVnqO05n0DKaOWjCHs-TPX7H28b6Kzv7iq3Eo,32723
|
|
204
205
|
sky/jobs/server/server.py,sha256=ae8JAs-2ipWqL_GsA3x8T2mY-OJLc3ioWg_CfRzCUIY,4011
|
|
205
206
|
sky/jobs/server/utils.py,sha256=q9KL1VGJ8TBIypzt3U9ozHd90QwRib7CBPrXZypMQ98,3496
|
|
206
207
|
sky/logs/__init__.py,sha256=zW4gAEvWDz5S53FlLp3krAuKrmTSJ0e3kZDnhxSbW4E,722
|
|
207
|
-
sky/logs/agent.py,sha256=
|
|
208
|
-
sky/logs/aws.py,sha256=
|
|
208
|
+
sky/logs/agent.py,sha256=tv0C40_FauZpvU93Ro_mC23LnaXWhSTjqch1JQMXiqw,2771
|
|
209
|
+
sky/logs/aws.py,sha256=cbRE3sHGFSZUqGwLQvMzoxu6QFyO5SglMUXLEQNUC1c,9740
|
|
209
210
|
sky/logs/gcp.py,sha256=eKVEcHO3FJRg_YTcE9omE8uAIF6AdBWWpkEPqWFAqXg,3857
|
|
210
211
|
sky/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
211
212
|
sky/metrics/utils.py,sha256=Cww3yNG4HyW4DEdLOFUayFgMZ16t2JFSvvhuTTV7Vio,7654
|
|
@@ -254,10 +255,10 @@ sky/provision/hyperbolic/utils.py,sha256=NCa3ULvIi64-YHYoOnPd3SShlJ6VuQsEwaTBqHF
|
|
|
254
255
|
sky/provision/kubernetes/__init__.py,sha256=xzVA9OCga0pCdUAQ7zZiCZMdq-Y0182oHlIKWESA15A,896
|
|
255
256
|
sky/provision/kubernetes/config.py,sha256=iuKFZdivSaEOZf6PWz3JLju3bqyIuO58jTb9fFUn8nE,29632
|
|
256
257
|
sky/provision/kubernetes/constants.py,sha256=vZJQsAVjAgwsOskB48tIFSXtNw7IFnJOQE_H6N-vOYQ,1130
|
|
257
|
-
sky/provision/kubernetes/instance.py,sha256=
|
|
258
|
+
sky/provision/kubernetes/instance.py,sha256=T1ac7efRMF6L5SrH51NNVxGeXmKlUC-tthWhOfchJTI,59914
|
|
258
259
|
sky/provision/kubernetes/network.py,sha256=Dgj8u7IQBHKHt-mSDhYzue1wfDk96FR_8fO89TwuZ2E,12846
|
|
259
260
|
sky/provision/kubernetes/network_utils.py,sha256=eEbt8acJW3Ohe6qHZNZ9GAQ29kIZEQX7Q5S08yOuvhA,12220
|
|
260
|
-
sky/provision/kubernetes/utils.py,sha256=
|
|
261
|
+
sky/provision/kubernetes/utils.py,sha256=Hw0-sScZGLXKD97OsJFvxQ3k7PHeZIGayp04sxv0xdk,151388
|
|
261
262
|
sky/provision/kubernetes/volume.py,sha256=9u7kDnQxNKvic4ZKJFxGE7fHcMo5N18VQmkVjseRFjU,8059
|
|
262
263
|
sky/provision/kubernetes/manifests/fusermount-server-daemonset.yaml,sha256=S87GNAbDqgTrLuxF-afPAqQ0V-i41El4s_9KBZMuaag,1331
|
|
263
264
|
sky/provision/lambda_cloud/__init__.py,sha256=6EEvSgtUeEiup9ivIFevHmgv0GqleroO2X0K7TRa2nE,612
|
|
@@ -291,8 +292,8 @@ sky/provision/scp/instance.py,sha256=1W2qq-ouOwVj4gxnFa2zi7OH5r177Eq40ktd28iEmXk
|
|
|
291
292
|
sky/provision/ssh/__init__.py,sha256=jLQEBTOBMBO11ER9PnY1U2aMCJx7_TEFoaoa5nDHX34,917
|
|
292
293
|
sky/provision/vast/__init__.py,sha256=iuTyc9Ib3x8Rm5kMvciydkUBEs19fititGdPsXRCr4E,487
|
|
293
294
|
sky/provision/vast/config.py,sha256=Aa57fKITHvNiXkY0ADoiK6YYRNG6ND9vOC7ueETJIr0,319
|
|
294
|
-
sky/provision/vast/instance.py,sha256
|
|
295
|
-
sky/provision/vast/utils.py,sha256=
|
|
295
|
+
sky/provision/vast/instance.py,sha256=F5aWzeAhrI3hQXyA91rfXoozH6I_X7YaRm09NO6r2M4,9558
|
|
296
|
+
sky/provision/vast/utils.py,sha256=iiHWzNpCLNeCCz748n21iaAWYSSwU4Rir5ceMEHj7OU,5635
|
|
296
297
|
sky/provision/vsphere/__init__.py,sha256=5icB8-kfs926S9DVfNJSCBVr7z7cmCEDr04-YHX89_4,788
|
|
297
298
|
sky/provision/vsphere/config.py,sha256=f_ojGmi_vbnwJ8Ri48cqhZHBOuIkj41j9bFbq-ldPOo,504
|
|
298
299
|
sky/provision/vsphere/instance.py,sha256=p6i3BRrR93uKUoez6veJJfzTILnp-GU0t8vX7HUiuyg,24114
|
|
@@ -322,13 +323,13 @@ sky/serve/load_balancing_policies.py,sha256=Ssr0GtHKyzzAIEOUAMCLvND5rapmrpxI-OQe
|
|
|
322
323
|
sky/serve/replica_managers.py,sha256=x8c1tRIQMN4dVzVUHJpZYSEBtEjOCbcwmqZ_GkVzpnc,64785
|
|
323
324
|
sky/serve/serve_state.py,sha256=_VinToQp_E0a48qnBvQm5BBlqGlAvuylsGMhxYoKp-w,22590
|
|
324
325
|
sky/serve/serve_utils.py,sha256=EZ5BlkoNDrAsvNY7njlUnLAuncEhkBUJUxwR1gmCuR8,50443
|
|
325
|
-
sky/serve/service.py,sha256=
|
|
326
|
+
sky/serve/service.py,sha256=yQst8qtedLQy1h9F4v2UFumZvHBGn2rOXW3HjUzN8Z4,15072
|
|
326
327
|
sky/serve/service_spec.py,sha256=t7wh7sx68DKjPyrk1Ub-c1ZjkWD8ehG-YOj9CNdC9qQ,18552
|
|
327
328
|
sky/serve/spot_placer.py,sha256=auRlYZNg8uIW-lxiirxpDP-iIaJtkrhesm6OGMgwPq4,11288
|
|
328
329
|
sky/serve/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
330
|
sky/serve/client/sdk.py,sha256=PB3U8SgUukBJ3BramFbxeJHHWdjyysqG9V9hIMW9bRE,15184
|
|
330
331
|
sky/serve/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
331
|
-
sky/serve/server/core.py,sha256
|
|
332
|
+
sky/serve/server/core.py,sha256=6kYcTh_GdIO1QOxL6ONl1BX8nH4qk8E5npDhqMObsPU,43134
|
|
332
333
|
sky/serve/server/server.py,sha256=A9K37a0nQgZeN3eKWv62Oh2C5TSAReTZ9pHmztqlI-c,4396
|
|
333
334
|
sky/server/__init__.py,sha256=MPPBqFzXz6Jv5QSk6td_IcvnfXfNErDZVcizu4MLRow,27
|
|
334
335
|
sky/server/common.py,sha256=XRLjlT0zSivdLRukjAQyWrwCVC6Qo-GY3XUjJJRViYQ,35384
|
|
@@ -336,7 +337,7 @@ sky/server/config.py,sha256=XWf5Kw4am6vMO5wcyWevbQAFH-dmKb7AMEgDzD083-M,8538
|
|
|
336
337
|
sky/server/constants.py,sha256=v6RP8ZEwCNsxO2s2IukgOcEldZO5bvcQaxmOTA0Cf0g,2321
|
|
337
338
|
sky/server/metrics.py,sha256=6H6n6dq_C5HMaU97mJlRUB9bqOEA_k205PO15wE3AWk,3648
|
|
338
339
|
sky/server/rest.py,sha256=-oDsI8-NmIcb7aqy_8USB4lQbPWdQibST59GJVtFUi8,7983
|
|
339
|
-
sky/server/server.py,sha256=
|
|
340
|
+
sky/server/server.py,sha256=iAROxp8MlaFObaO-exHqHpRLhIbNZfpXf2J57vAXGyk,73971
|
|
340
341
|
sky/server/state.py,sha256=YbVOMJ1JipQQv17gLIGyiGN7MKfnP83qlUa5MB1z0Yk,747
|
|
341
342
|
sky/server/stream_utils.py,sha256=RS4RuMxQqTGqp3uxzZVtmFWzos4d49P7hMX_VklzEVU,9189
|
|
342
343
|
sky/server/uvicorn.py,sha256=I-JUJwgUznt87hboDd66NTRaw0WtfFVzxxtoxowNqBg,9266
|
|
@@ -410,7 +411,7 @@ sky/templates/oci-ray.yml.j2,sha256=TvB2at81DuXSG1QV4dxmqjjMdfDTsCU5T4JH01vI5DU,
|
|
|
410
411
|
sky/templates/paperspace-ray.yml.j2,sha256=PcB21RMfxO5Gne1qT7J_JjnZENLVHrAwVegjIEb_F6E,4283
|
|
411
412
|
sky/templates/runpod-ray.yml.j2,sha256=By2b6BLyaon4dx0b3elXCyLN7Dk1lxvMkYikZgCxjG4,4617
|
|
412
413
|
sky/templates/scp-ray.yml.j2,sha256=48b_mKtkx_fyEPQUQ_i6YMmylrtGbvIIUkQsuvgTU3I,3481
|
|
413
|
-
sky/templates/sky-serve-controller.yaml.j2,sha256=
|
|
414
|
+
sky/templates/sky-serve-controller.yaml.j2,sha256=AFOIP3yqOKSvaBDxhTbop70h_SXHiUeEjmUx8ygpBtM,2202
|
|
414
415
|
sky/templates/skypilot-server-kubernetes-proxy.sh,sha256=n5swq5LauF9dnhDWMYqFFHkXeJ44Zjmg1RVbF60jNbE,1079
|
|
415
416
|
sky/templates/vast-ray.yml.j2,sha256=Kjq8AtfL86VllOB8vDSnZeKsyv4QJV-80diXO2xuB6g,3020
|
|
416
417
|
sky/templates/vsphere-ray.yml.j2,sha256=zSCAptPE40wQcxn-bL5GPU-ac5mV9kgsbJXcSJTSWHA,3886
|
|
@@ -453,7 +454,7 @@ sky/utils/resource_checker.py,sha256=N18XhoVIqjY1VzmKvxQxRchRgC2WIgcEQyHDkLvg4Y8
|
|
|
453
454
|
sky/utils/resources_utils.py,sha256=zcJXHYQt6WtQHKuWEif1QP1NtSO7XQYJBaEs625yV1Y,15958
|
|
454
455
|
sky/utils/rich_console_utils.py,sha256=wPvAlshaFHuMZSjiDnaK3OSBppZLBjAn-lj7AvxNBQk,553
|
|
455
456
|
sky/utils/rich_utils.py,sha256=iR6Gf8ZewE9sut4uhkmZwtEelzm3FvckM9K41meQnWM,14650
|
|
456
|
-
sky/utils/schemas.py,sha256
|
|
457
|
+
sky/utils/schemas.py,sha256=PB7uYrNsEVu0kHiwZksZK6k35ZP7SnkUuXtphD_g2Lc,55204
|
|
457
458
|
sky/utils/status_lib.py,sha256=QGkd6COD1GX1h30Mk9RMUdyeUOMJs5971GkxTcFgdsU,1705
|
|
458
459
|
sky/utils/subprocess_utils.py,sha256=tOpFY_1ml7JkVGAN1o473lcKPklGR95qBCW61eu8kEo,15773
|
|
459
460
|
sky/utils/tempstore.py,sha256=3S5fJ3UjnE12ve38c3MpTXpoRWfDSGndZpqNe7P_8aU,2148
|
|
@@ -477,7 +478,7 @@ sky/utils/kubernetes/deploy_remote_cluster.py,sha256=KECOmpIt_i1qnrC2Ju7sKUlTbQY
|
|
|
477
478
|
sky/utils/kubernetes/exec_kubeconfig_converter.py,sha256=fCWX13qvbqvoHghwjWjZdmzfOrcmSiTaQnP6owJ05A8,2256
|
|
478
479
|
sky/utils/kubernetes/generate_kind_config.py,sha256=_TNLnifA_r7-CRq083IP1xjelYqiLjzQX9ohuqYpDH8,3187
|
|
479
480
|
sky/utils/kubernetes/generate_kubeconfig.sh,sha256=JnHiFJ8RTULB55jpbbmQrixzxLpc2otbRnUleDakMR4,10694
|
|
480
|
-
sky/utils/kubernetes/gpu_labeler.py,sha256=
|
|
481
|
+
sky/utils/kubernetes/gpu_labeler.py,sha256=3v5Gwdwt0O5R_7moGCI5C2VgeQeOw9nVbI4JJS8TkUY,10352
|
|
481
482
|
sky/utils/kubernetes/k8s_gpu_labeler_job.yaml,sha256=k0TBoQ4zgf79-sVkixKSGYFHQ7ZWF5gdVIZPupCCo9A,1224
|
|
482
483
|
sky/utils/kubernetes/k8s_gpu_labeler_setup.yaml,sha256=VLKT2KKimZu1GDg_4AIlIt488oMQvhRZWwsj9vBbPUg,3812
|
|
483
484
|
sky/utils/kubernetes/kubernetes_deploy_utils.py,sha256=lF9hMg0TVVX1jE8W1xmzkaz66YOwFJvGNws3ICC2syA,15932
|
|
@@ -497,9 +498,9 @@ sky/workspaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
497
498
|
sky/workspaces/core.py,sha256=MkQoVqWN67tf4VRq284U9vgAw4lwb_cpUfwHQT4V9Ow,16598
|
|
498
499
|
sky/workspaces/server.py,sha256=Box45DS54xXGHy7I3tGKGy-JP0a8G_z6IhfvGlEXtsA,3439
|
|
499
500
|
sky/workspaces/utils.py,sha256=IIAiFoS6sdb2t0X5YoX9AietpTanZUQNTK8cePun-sY,2143
|
|
500
|
-
skypilot_nightly-1.0.0.
|
|
501
|
-
skypilot_nightly-1.0.0.
|
|
502
|
-
skypilot_nightly-1.0.0.
|
|
503
|
-
skypilot_nightly-1.0.0.
|
|
504
|
-
skypilot_nightly-1.0.0.
|
|
505
|
-
skypilot_nightly-1.0.0.
|
|
501
|
+
skypilot_nightly-1.0.0.dev20250730.dist-info/licenses/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
|
|
502
|
+
skypilot_nightly-1.0.0.dev20250730.dist-info/METADATA,sha256=6BiJDPLQzzfAkKVconxxwWaXRxBPE_A4gZ1oZo-7hwk,19691
|
|
503
|
+
skypilot_nightly-1.0.0.dev20250730.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
504
|
+
skypilot_nightly-1.0.0.dev20250730.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
|
|
505
|
+
skypilot_nightly-1.0.0.dev20250730.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
|
|
506
|
+
skypilot_nightly-1.0.0.dev20250730.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1043],{326:function(e,t,a){a.d(t,{$N:function(){return p},Be:function(){return _},Vq:function(){return c},cN:function(){return f},cZ:function(){return d},fK:function(){return g}});var r=a(5893),s=a(7294),o=a(6327),n=a(2350),l=a(3767);let c=o.fC;o.xz;let u=o.h_;o.x8;let i=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(o.aV,{ref:t,className:(0,n.cn)("fixed inset-0 z-50 bg-black/50 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s})});i.displayName=o.aV.displayName;let d=s.forwardRef((e,t)=>{let{className:a,children:s,...c}=e;return(0,r.jsxs)(u,{children:[(0,r.jsx)(i,{}),(0,r.jsxs)(o.VY,{ref:t,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-gray-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...c,children:[s,(0,r.jsxs)(o.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-gray-400 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-500",children:[(0,r.jsx)(l.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});d.displayName=o.VY.displayName;let g=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...a})};g.displayName="DialogHeader";let f=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};f.displayName="DialogFooter";let p=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(o.Dx,{ref:t,className:(0,n.cn)("text-lg font-semibold leading-none tracking-tight",a),...s})});p.displayName=o.Dx.displayName;let _=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(o.dk,{ref:t,className:(0,n.cn)("text-sm text-gray-500",a),...s})});_.displayName=o.dk.displayName},3266:function(e,t,a){a.d(t,{QL:function(){return g},Sl:function(){return i},getClusters:function(){return c},uR:function(){return u}});var r=a(7294),s=a(5821),o=a(7145),n=a(6378);let l={UP:"RUNNING",STOPPED:"STOPPED",INIT:"LAUNCHING",null:"TERMINATED"};async function c(){let{clusterNames:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{return(await o.x.fetch("/status",{cluster_names:e,all_users:!0})).map(e=>{let t="",a=t=e.zone?e.zone:e.region;return t&&t.length>25&&(t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;if(!e||e.length<=t)return e;if(t<=3)return"...";let a=Math.floor((t-3)/2),r=a+(t-3)%2;return 0===a?e.substring(0,r)+"...":e.substring(0,r)+"..."+e.substring(e.length-a)}(t,25)),{status:l[e.status],cluster:e.name,user:e.user_name,user_hash:e.user_hash,cloud:e.cloud,region:e.region,infra:t?e.cloud+" ("+t+")":e.cloud,full_infra:a?"".concat(e.cloud," (").concat(a,")"):e.cloud,cpus:e.cpus,mem:e.memory,gpus:e.accelerators,resources_str:e.resources_str,resources_str_full:e.resources_str_full,time:new Date(1e3*e.launched_at),num_nodes:e.nodes,workspace:e.workspace,autostop:e.autostop,to_down:e.to_down,jobs:[],command:e.last_creation_command||e.last_use,task_yaml:e.last_creation_yaml||"{}",events:[{time:new Date(1e3*e.launched_at),event:"Cluster created."}]}})}catch(e){return console.error("Error fetching clusters:",e),[]}}async function u(){try{let e=await o.x.fetch("/cost_report",{days:30});console.log("Raw cluster history data:",e);let t=e.map(e=>{let t="Unknown";e.cloud?t=e.cloud:e.resources&&e.resources.cloud&&(t=e.resources.cloud);let a=e.user_name||"-";return{status:e.status?l[e.status]:"TERMINATED",cluster:e.name,user:a,user_hash:e.user_hash,cloud:t,region:"",infra:t,full_infra:t,resources_str:e.resources_str,resources_str_full:e.resources_str_full,time:e.launched_at?new Date(1e3*e.launched_at):null,num_nodes:e.num_nodes||1,duration:e.duration,total_cost:e.total_cost,workspace:e.workspace||"default",autostop:-1,to_down:!1,cluster_hash:e.cluster_hash,usage_intervals:e.usage_intervals,command:e.last_creation_command||"",task_yaml:e.last_creation_yaml||"{}",events:[{time:e.launched_at?new Date(1e3*e.launched_at):new Date,event:"Cluster created."}]}});return console.log("Processed cluster history data:",t),t}catch(e){return console.error("Error fetching cluster history:",e),[]}}async function i(e){let{clusterName:t,jobId:a,onNewLog:r,workspace:n}=e;try{await o.x.stream("/logs",{follow:!1,cluster_name:t,job_id:a,override_skypilot_config:{active_workspace:n||"default"}},r)}catch(e){console.error("Error in streamClusterJobLogs:",e),(0,s.C)("Error in streamClusterJobLogs: ".concat(e.message),"error")}}async function d(e){let{clusterName:t,workspace:a}=e;try{return(await o.x.fetch("/queue",{cluster_name:t,all_users:!0,override_skypilot_config:{active_workspace:a}})).map(e=>{var r;let s=e.end_at?e.end_at:Date.now()/1e3,o=0,n=0;return e.submitted_at&&(o=s-e.submitted_at),e.start_at&&(n=s-e.start_at),{id:e.job_id,status:e.status,job:e.job_name,user:e.username,user_hash:e.user_hash,gpus:e.accelerators||{},submitted_at:e.submitted_at?new Date(1e3*e.submitted_at):null,resources:e.resources,cluster:t,total_duration:o,job_duration:n,infra:"",logs:"",workspace:a||"default",git_commit:(null===(r=e.metadata)||void 0===r?void 0:r.git_commit)||"-"}})}catch(e){return console.error("Error fetching cluster jobs:",e),[]}}function g(e){let{cluster:t,job:a=null}=e,[s,o]=(0,r.useState)(null),[l,u]=(0,r.useState)(null),[i,g]=(0,r.useState)(!0),[f,p]=(0,r.useState)(!0),_=(0,r.useCallback)(async()=>{if(t)try{g(!0);let e=await n.default.get(c,[{clusterNames:[t]}]);return o(e[0]),e[0]}catch(e){console.error("Error fetching cluster data:",e)}finally{g(!1)}return null},[t]),m=(0,r.useCallback)(async e=>{if(t)try{p(!0);let a=await n.default.get(d,[{clusterName:t,workspace:e||"default"}]);u(a)}catch(e){console.error("Error fetching cluster job data:",e)}finally{p(!1)}},[t]),h=(0,r.useCallback)(async()=>{n.default.invalidate(c,[{clusterNames:[t]}]);let e=await _();e&&(n.default.invalidate(d,[{clusterName:t,workspace:e.workspace||"default"}]),await m(e.workspace))},[_,m,t]),b=(0,r.useCallback)(async()=>{s&&(n.default.invalidate(d,[{clusterName:t,workspace:s.workspace||"default"}]),await m(s.workspace))},[m,s,t]);return(0,r.useEffect)(()=>{(async()=>{let e=await _();e&&m(e.workspace)})()},[t,a,_,m]),{clusterData:s,clusterJobData:l,loading:i,clusterDetailsLoading:i,clusterJobsLoading:f,refreshData:h,refreshClusterJobsOnly:b}}},2045:function(e,t,a){a.d(t,{l4:function(){return n}});var r=a(3225),s=a(7145);async function o(e,t){try{let a=[];try{let e=await s.x.get("/enabled_clouds"),t=e.headers.get("X-Skypilot-Request-ID")||e.headers.get("X-Request-ID"),r=await s.x.get("/api/get?request_id=".concat(t)),o=await r.json();a=o.return_value?JSON.parse(o.return_value):[],console.log("Enabled clouds:",a)}catch(e){console.error("Error fetching enabled clouds:",e),a=[]}let o={};r.$m.forEach(e=>{let t=a.includes(e.toLowerCase());o[e]={name:e,clusters:0,jobs:0,enabled:t}}),e.forEach(e=>{if(e.cloud){let t=e.cloud;o[t]&&(o[t].clusters+=1,o[t].enabled=!0)}}),t.forEach(e=>{if(e.cloud){let t=e.cloud;o[t]&&(o[t].jobs+=1,o[t].enabled=!0)}});let n=r.$m.length,l=Object.values(o).filter(e=>e.enabled).length;return{clouds:Object.values(o).filter(e=>e.enabled).sort((e,t)=>e.name.localeCompare(t.name)),totalClouds:n,enabledClouds:l}}catch(e){return console.error("Error fetching cloud infrastructure:",e),{clouds:[],totalClouds:r.$m.length,enabledClouds:0}}}async function n(){let{getClusters:e}=await Promise.resolve().then(a.bind(a,3266)),{getManagedJobs:t}=await Promise.resolve().then(a.bind(a,8969)),r=(await Promise.resolve().then(a.bind(a,6378))).default,[s,n]=await Promise.all([r.get(e),r.get(t,[{allUsers:!0}])]),c=s||[],u=(null==n?void 0:n.jobs)||[],[i,d]=await Promise.all([l(c,u),o(c,u)]);return{gpuData:i,cloudData:d}}async function l(e,t){return await g({clusters:e||[],jobs:t||[]})}async function c(){try{let e=await s.x.post("/realtime_kubernetes_gpu_availability",{context:null,name_filter:null,quantity_filter:null});if(!e.ok)return console.error("Error fetching Kubernetes context GPUs (in getKubernetesContextGPUs): ".concat(e.status," ").concat(e.statusText)),[];let t=e.headers.get("X-Skypilot-Request-ID")||e.headers.get("x-request-id");if(!t)return console.error("No request ID returned for Kubernetes GPU availability (in getKubernetesContextGPUs)"),[];let a=await s.x.get("/api/get?request_id=".concat(t)),r=await a.text();if(500===a.status){try{let e=JSON.parse(r);if(e.detail&&e.detail.error)try{let t=JSON.parse(e.detail.error);console.error("[infra.jsx] getKubernetesContextGPUs: Server error detail:",t.message)}catch(t){console.error("[infra.jsx] getKubernetesContextGPUs: Error parsing server error JSON:",t,"Original error text:",e.detail.error)}}catch(e){console.error("[infra.jsx] getKubernetesContextGPUs: Error parsing 500 error response JSON:",e,"Raw text was:",r)}return[]}let o=JSON.parse(r);return o.return_value?JSON.parse(o.return_value):[]}catch(e){return console.error("[infra.jsx] Outer error in getKubernetesContextGPUs:",e),[]}}async function u(){try{let e=await s.x.get("/all_contexts");if(!e.ok)return console.error("Error fetching all contexts: ".concat(e.status," ").concat(e.statusText)),[];let t=e.headers.get("X-Skypilot-Request-ID")||e.headers.get("x-request-id");if(!t)return console.error("No request ID returned for /all_contexts"),[];let a=await s.x.get("/api/get?request_id=".concat(t)),r=await a.json();return r.return_value?JSON.parse(r.return_value):[]}catch(e){return console.error("[infra.jsx] Error in getAllContexts:",e),[]}}async function i(e){try{let t=await s.x.post("/kubernetes_node_info",{context:e}),a=t.headers.get("X-Skypilot-Request-ID")||t.headers.get("x-request-id"),r=await s.x.get("/api/get?request_id=".concat(a));if(500===r.status){try{let e=await r.json();if(e.detail&&e.detail.error)try{let t=JSON.parse(e.detail.error);console.error("Error fetching Kubernetes per node GPUs:",t.message)}catch(e){console.error("Error parsing JSON:",e)}}catch(e){console.error("Error parsing JSON:",e)}return{}}let o=await r.json();return(o.return_value?JSON.parse(o.return_value):{}).node_info_dict||{}}catch(t){return console.error("[infra.jsx] Error in getKubernetesPerNodeGPUs for context",e,":",t),{}}}async function d(e){try{let t=e.clusters,a=e.jobs,r={};return t.forEach(e=>{let t=null;if("Kubernetes"===e.cloud)(t=e.region)&&(t="kubernetes/".concat(t));else if("SSH"===e.cloud&&(t=e.region)){let e=t.startsWith("ssh-")?t.substring(4):t;t="ssh/".concat(e)}t&&(r[t]||(r[t]={clusters:0,jobs:0}),r[t].clusters+=1)}),a.forEach(e=>{let t=null;if("Kubernetes"===e.cloud)(t=e.region)&&(t="kubernetes/".concat(t));else if("SSH"===e.cloud&&(t=e.region)){let e=t.startsWith("ssh-")?t.substring(4):t;t="ssh/".concat(e)}t&&(r[t]||(r[t]={clusters:0,jobs:0}),r[t].jobs+=1)}),r}catch(e){return console.error("=== Error in getContextClustersAndJobs ===",e),{}}}async function g(e){try{let o=await u();if(!o||0===o.length)return console.log("No contexts found from /all_contexts endpoint."),{allContextNames:[],allGPUs:[],perContextGPUs:[],perNodeGPUs:[],contextStats:{}};let n=await d(e),l=await c(),g=new Map;l&&l.forEach(e=>{g.set(e[0],e[1])});let f={},p={},_={};for(let e of o){p[e]||(p[e]=[]);let o=g.get(e);if(o&&o.length>0)for(let t of o){let a=t[0],r=t[1].join(", "),s=t[2],o=t[3];a in f?(f[a].gpu_total+=s,f[a].gpu_free+=o):f[a]={gpu_total:s,gpu_free:o,gpu_name:a},p[e].push({gpu_name:a,gpu_requestable_qty_per_node:r,gpu_total:s,gpu_free:o,context:e})}let n=await i(e);if(n&&Object.keys(n).length>0)for(let o in n){var t,a,r,s;let l=n[o],c=l.accelerator_type||"-",u=null!==(r=null===(t=l.total)||void 0===t?void 0:t.accelerator_count)&&void 0!==r?r:0,i=null!==(s=null===(a=l.free)||void 0===a?void 0:a.accelerators_available)&&void 0!==s?s:0;_["".concat(e,"/").concat(o)]={node_name:l.name,gpu_name:c,gpu_total:u,gpu_free:i,ip_address:l.ip_address||null,context:e},"-"===c||p[e].some(e=>e.gpu_name===c)||(c in f||(f[c]={gpu_total:0,gpu_free:0,gpu_name:c}),p[e].find(e=>e.gpu_name===c)||p[e].push({gpu_name:c,gpu_requestable_qty_per_node:"-",gpu_total:0,gpu_free:0,context:e}))}0===p[e].length&&n&&Object.keys(n).length}return{allContextNames:o.sort(),allGPUs:Object.values(f).sort((e,t)=>e.gpu_name.localeCompare(t.gpu_name)),perContextGPUs:Object.values(p).flat().sort((e,t)=>e.context.localeCompare(t.context)||e.gpu_name.localeCompare(t.gpu_name)),perNodeGPUs:Object.values(_).sort((e,t)=>e.context.localeCompare(t.context)||e.node_name.localeCompare(t.node_name)||e.gpu_name.localeCompare(t.gpu_name)),contextStats:n}}catch(e){return console.error("[infra.jsx] Outer error in getKubernetesGPUs:",e),{allContextNames:[],allGPUs:[],perContextGPUs:[],perNodeGPUs:[],contextStats:{}}}}},3081:function(e,t,a){a.d(t,{R:function(){return s}}),a(3266),a(8969);var r=a(7145);async function s(){try{let e=await r.x.get("/users");if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));return(await e.json()).map(e=>({userId:e.id,username:e.name,role:e.role,created_at:e.created_at}))||[]}catch(e){return console.error("Failed to fetch users:",e),[]}}},9238:function(e,t,a){a.d(t,{C:function(){return s},w:function(){return o}});var r=a(7145);async function s(){try{return(await r.x.fetch("/volumes",{},"GET")).map(e=>{var t,a,r;let s=e.cloud||"";return e.region&&(s+="/".concat(e.region)),e.zone&&(s+="/".concat(e.zone)),{name:e.name,launched_at:e.launched_at,user_hash:e.user_hash,user_name:e.user_name||"-",workspace:e.workspace||"-",last_attached_at:e.last_attached_at,status:e.status,type:e.type,cloud:e.cloud,region:e.region,zone:e.zone,infra:s,size:"".concat(e.size,"Gi"),config:e.config,storage_class:(null===(t=e.config)||void 0===t?void 0:t.storage_class_name)||"-",access_mode:(null===(a=e.config)||void 0===a?void 0:a.access_mode)||"-",namespace:(null===(r=e.config)||void 0===r?void 0:r.namespace)||"-",name_on_cloud:e.name_on_cloud,usedby_pods:e.usedby_pods,usedby_clusters:e.usedby_clusters}})||[]}catch(e){return console.error("Failed to fetch volumes:",e),[]}}async function o(e){let t="";try{let a=await r.x.post("/volumes/delete",{names:[e]}),s=a.headers.get("X-SkyPilot-Request-ID")||a.headers.get("X-Request-ID"),o=await r.x.get("/api/get?request_id=".concat(s));if(500===o.status){try{let e=await o.json();if(e.detail&&e.detail.error)try{t=JSON.parse(e.detail.error).message}catch(e){console.error("Error parsing JSON:",e)}}catch(e){console.error("Error parsing JSON:",e)}return{success:!1,msg:t}}return{success:!0}}catch(e){return console.error("Failed to delete volume:",e),{success:!1,msg:e.message}}}},6856:function(e,t,a){var r=a(6378),s=a(3266),o=a(8969),n=a(7324),l=a(3081),c=a(2045),u=a(9238);let i={base:{getClusters:{fn:s.getClusters,args:[]},getClusterHistory:{fn:s.uR,args:[]},getManagedJobs:{fn:o.getManagedJobs,args:[{allUsers:!0}]},getWorkspaces:{fn:n.fX,args:[]},getUsers:{fn:l.R,args:[]},getInfraData:{fn:c.l4,args:[]},getVolumes:{fn:u.C,args:[]}},dynamic:{getEnabledClouds:{fn:n.yz,requiresWorkspaces:!0}},pages:{clusters:["getClusters","getClusterHistory","getWorkspaces","getUsers"],jobs:["getManagedJobs","getClusters","getWorkspaces","getUsers"],infra:["getInfraData","getClusters","getManagedJobs"],workspaces:["getWorkspaces","getClusters","getManagedJobs","getEnabledClouds"],users:["getUsers","getClusters","getManagedJobs"],volumes:["getVolumes"]}};class d{async preloadForPage(e,t){let{backgroundPreload:a=!0,force:r=!1}=t||{};if(!i.pages[e]){console.warn("Unknown page: ".concat(e));return}console.log("[CachePreloader] Preloading cache for page: ".concat(e));try{await this._loadPageData(e,r),a&&this._backgroundPreloadOtherPages(e)}catch(t){console.error("[CachePreloader] Error preloading for page ".concat(e,":"),t)}}async _loadPageData(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=i.pages[e],s=[];for(let e of a)if(i.base[e]){let{fn:a,args:o}=i.base[e];t&&r.default.invalidate(a,o),s.push(r.default.get(a,o))}else"getEnabledClouds"===e&&s.push(this._loadEnabledCloudsForAllWorkspaces(t));await Promise.allSettled(s),console.log("[CachePreloader] Loaded data for page: ".concat(e))}async _loadEnabledCloudsForAllWorkspaces(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{e&&r.default.invalidate(n.fX);let t=await r.default.get(n.fX),a=Object.keys(t||{}).map(t=>(e&&r.default.invalidate(n.yz,[t]),r.default.get(n.yz,[t])));await Promise.allSettled(a)}catch(e){console.error("[CachePreloader] Error loading enabled clouds:",e)}}_backgroundPreloadOtherPages(e){if(this.isPreloading)return;this.isPreloading=!0;let t=Object.keys(i.pages).filter(t=>t!==e);console.log("[CachePreloader] Background preloading pages: ".concat(t.join(", "))),Promise.allSettled(t.map(async e=>{try{await this._loadPageData(e,!1),console.log("[CachePreloader] Background loaded: ".concat(e))}catch(t){console.error("[CachePreloader] Background load failed for ".concat(e,":"),t)}})).then(()=>{this.isPreloading=!1,console.log("[CachePreloader] Background preloading complete")})}async preloadBaseFunctions(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];console.log("[CachePreloader] Preloading all base functions");let t=Object.entries(i.base).map(t=>{let[a,{fn:s,args:o}]=t;return e&&r.default.invalidate(s,o),r.default.get(s,o).catch(e=>{console.error("[CachePreloader] Failed to preload ".concat(a,":"),e)})});await Promise.allSettled(t),console.log("[CachePreloader] Base functions preloaded")}getCacheStats(){return{...r.default.getStats(),isPreloading:this.isPreloading}}clearCache(){r.default.clear(),this.isPreloading=!1,this.preloadPromises.clear(),console.log("[CachePreloader] Cache cleared")}constructor(){this.isPreloading=!1,this.preloadPromises=new Map}}let g=new d;t.ZP=g}}]);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1141],{9333:function(e,s,r){r.d(s,{Z:function(){return a}});/**
|
|
2
|
-
* @license lucide-react v0.407.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/let a=(0,r(998).Z)("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},8418:function(e,s,r){r.d(s,{Z:function(){return a}});/**
|
|
7
|
-
* @license lucide-react v0.407.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/let a=(0,r(998).Z)("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]])},1812:function(e,s,r){r.d(s,{X:function(){return n}});var a=r(5893),l=r(7294);let t=e=>{if(!(null==e?void 0:e.message))return"An unexpected error occurred.";let s=e.message;return s.includes("failed:")&&(s=s.split("failed:")[1].trim()),s},n=e=>{let{error:s,title:r="Error",onDismiss:n}=e,[c,i]=(0,l.useState)(!1);if((0,l.useEffect)(()=>{s&&i(!1)},[s]),!s||c)return null;let o="string"==typeof s?s:t(s);return(0,a.jsx)("div",{className:"bg-red-50 border border-red-200 rounded-md p-3 mb-4",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)("svg",{className:"h-5 w-5 text-red-400",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"})})}),(0,a.jsx)("div",{className:"ml-3",children:(0,a.jsxs)("div",{className:"text-sm text-red-800",children:[(0,a.jsxs)("strong",{children:[r,":"]})," ",o]})})]}),(0,a.jsx)("button",{onClick:()=>{i(!0),n&&n()},className:"flex-shrink-0 ml-4 text-red-400 hover:text-red-600 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 focus:ring-offset-red-50 rounded","aria-label":"Dismiss error",children:(0,a.jsx)("svg",{className:"h-4 w-4",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]})})}},9123:function(e,s,r){r.d(s,{g:function(){return n}});var a=r(5893),l=r(7294),t=r(2350);let n=l.forwardRef((e,s)=>{let{className:r,...l}=e;return(0,a.jsx)("textarea",{className:(0,t.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:s,...l})});n.displayName="Textarea"},1141:function(e,s,r){r.r(s),r.d(s,{WorkspaceEditor:function(){return R}});var a=r(5893),l=r(7294),t=r(1163),n=r(7324),c=r(3266),i=r(8969);r(6135);var o=r(1664),d=r.n(o),u=r(9008),x=r.n(u),m=r(7673),h=r(803),f=r(9123),g=r(5739),p=r(282),b=r(6021),j=r(3626),y=r(8418),N=r(9333),v=r(326);let w=e=>{let{className:s="",variant:r="default",children:l,...t}=e;return(0,a.jsx)("div",{role:"alert",className:"".concat("relative w-full rounded-lg border p-4 flex items-start space-x-2"," ").concat({default:"bg-blue-50 border-blue-200 text-blue-800",destructive:"bg-red-50 border-red-200 text-red-800"}[r]," ").concat(s),...t,children:l})},k=e=>{let{className:s="",children:r,...l}=e;return(0,a.jsx)("div",{className:"text-sm leading-relaxed ".concat(s),...l,children:r})};var C=r(3850),L=r(1812),S=r(938),E=r(1272),Z=r(3225),D=r(3081);let M=e=>{let{message:s}=e;return s?(0,a.jsxs)(w,{className:"border-green-200 bg-green-50",children:[(0,a.jsx)(p.Z,{className:"h-4 w-4 text-green-600"}),(0,a.jsx)(k,{className:"text-green-800",children:s})]}):null},A=e=>{let{workspaceName:s,config:r,enabledClouds:l=[]}=e;if(!r)return null;let t="default"===s,n=0===Object.keys(r).length;if(t&&n)return(0,a.jsx)("div",{className:"text-sm text-gray-500 mb-3 italic p-3 bg-sky-50 rounded border border-sky-200",children:"Workspace 'default' can use all accessible infrastructure."});let c=[],i=[],o=[],d=new Set(l.map(e=>e.toLowerCase()));Object.entries(r).forEach(e=>{let[s,r]=e;if("private"===s||"allowed_users"===s)return;let l=Z.Z2[s.toLowerCase()]||s.toUpperCase(),t=d.has(null==l?void 0:l.toLowerCase());if((null==r?void 0:r.disabled)===!0)i.push(l);else if(r&&Object.keys(r).length>0){let e="";"gcp"===s.toLowerCase()&&r.project_id?e=" (Project ID: ".concat(r.project_id,")"):"aws"===s.toLowerCase()&&r.region&&(e=" (Region: ".concat(r.region,")")),t?c.push((0,a.jsxs)("span",{className:"block",children:[l,e," is enabled."]},"".concat(s,"-enabled"))):o.push((0,a.jsxs)("span",{className:"block text-amber-700",children:[l,e," is configured but not currently available."]},"".concat(s,"-configured-not-enabled")))}else t?c.push((0,a.jsxs)("span",{className:"block",children:[l," is enabled (using default settings)."]},"".concat(s,"-default-enabled"))):o.push((0,a.jsxs)("span",{className:"block text-amber-700",children:[l," is configured but not currently available."]},"".concat(s,"-default-not-enabled")))});let u=[];if(i.length>0){let e=i.join(" and ");u.push((0,a.jsxs)("span",{className:"block",children:[e," ",1===i.length?"is":"are"," explicitly disabled."]},"disabled-clouds"))}return(u.push(...c),u.push(...o),u.length>0)?(0,a.jsx)("div",{className:"text-sm text-gray-700 mb-3 p-3 bg-sky-50 rounded border border-sky-200",children:u}):!t&&n?(0,a.jsx)("div",{className:"text-sm text-gray-500 mb-3 italic p-3 bg-sky-50 rounded border border-sky-200",children:"This workspace has no specific cloud resource configurations and can use all accessible infrastructure."}):null},W=e=>{let{isPrivate:s}=e;return s?(0,a.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-700 border border-gray-300",children:"Private"}):(0,a.jsx)("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-700 border border-green-300",children:"Public"})},P=e=>{let{workspaceConfig:s,allUsers:r}=e;if(!s.private)return null;let l=s.allowed_users||[],t=(r||[]).filter(e=>"admin"===e.role).map(e=>e.username),n=[...new Set([...l,...t])];return 0===n.length?(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)("h4",{className:"mb-2 text-xs text-gray-500 tracking-wider",children:"Allowed Users (0)"}),(0,a.jsx)("div",{className:"text-amber-600 text-xs italic p-2 bg-amber-50 rounded border border-amber-200",children:"No users configured (workspace may be inaccessible)"})]}):(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsxs)("h4",{className:"mb-2 text-xs text-gray-500 tracking-wider",children:["Allowed Users (",n.length,")"]}),(0,a.jsx)("div",{className:"space-y-1 max-h-48 overflow-y-auto border border-gray-200 rounded",children:n.map(e=>{let s=t.includes(e);return(0,a.jsxs)("div",{className:"flex items-center justify-between text-xs p-2 bg-gray-50 hover:bg-gray-100 border-b border-gray-100 last:border-b-0",children:[(0,a.jsx)("span",{className:"font-medium text-gray-700",children:e}),s?(0,a.jsxs)("span",{className:"inline-flex items-center text-blue-600",children:[(0,a.jsx)(C.r7,{className:"w-3 h-3 mr-1"}),"Admin"]}):(0,a.jsxs)("span",{className:"inline-flex items-center text-gray-600",children:[(0,a.jsx)(b.Z,{className:"w-3 h-3 mr-1"}),"User"]})]},e)})})]})};function R(e){let{workspaceName:s,isNewWorkspace:r=!1}=e,o=(0,t.useRouter)(),[u,p]=(0,l.useState)({}),[b,w]=(0,l.useState)({}),[k,Z]=(0,l.useState)(""),[R,_]=(0,l.useState)(!0),[z,O]=(0,l.useState)(!1),[T,U]=(0,l.useState)(!1),[Y,J]=(0,l.useState)(null),[I,V]=(0,l.useState)(null),[F,H]=(0,l.useState)(null),[X,B]=(0,l.useState)([]),[G,q]=(0,l.useState)({showDialog:!1,deleting:!1,error:null}),[K,Q]=(0,l.useState)({totalClusterCount:0,runningClusterCount:0,managedJobsCount:0,clouds:[]}),[$,ee]=(0,l.useState)(!1),es=(0,l.useCallback)(async()=>{_(!0),J(null);try{let e;let[r,a]=await Promise.all([(0,n.fX)(),(0,D.R)()]),l=r[s]||{};p(l),w(l),B(a||[]),e=0===Object.keys(l).length?"".concat(s,":\n # Empty workspace configuration - uses all accessible infrastructure\n"):E.ZP.dump({[s]:l},{indent:2,lineWidth:-1,noRefs:!0,skipInvalid:!0,flowLevel:-1}),Z(e)}catch(e){console.error("Error fetching workspace config:",e),J(e)}finally{_(!1)}},[s]),er=(0,l.useCallback)(async()=>{if(!r){ee(!0);try{let[e,r,a]=await Promise.all([(0,c.getClusters)(),(0,i.getManagedJobs)(),(0,n.yz)(s,!0)]),l=e.filter(e=>(e.workspace||"default")===s),t=l.filter(e=>"RUNNING"===e.status||"LAUNCHING"===e.status),o={};e.forEach(e=>{o[e.cluster]=e.workspace||"default"});let d=r.jobs||[],u=new Set(S.statusGroups.active),x=0;d.forEach(e=>{let r=e.cluster_name||e.resources&&e.resources.cluster_name;r&&o[r]===s&&u.has(e.status)&&x++}),Q({totalClusterCount:l.length,runningClusterCount:t.length,managedJobsCount:x,clouds:Array.isArray(a)?a:[]})}catch(e){console.error("Failed to fetch workspace stats:",e)}finally{ee(!1)}}},[s,r]);(0,l.useEffect)(()=>{r?(_(!1),Z("".concat(s,":\n # New workspace configuration\n # Leave empty to use all accessible infrastructure\n"))):(es(),er())},[s,r,es,er]),(0,l.useEffect)(()=>{U(JSON.stringify(u)!==JSON.stringify(b))},[u,b]);let ea=e=>{Z(e),H(null);try{let r=E.ZP.load(e)||{},a=Object.keys(r);if(0===a.length)p({});else if(1===a.length){let e=a[0];if(e!==s){H('Workspace name cannot be changed. Expected "'.concat(s,'" but found "').concat(e,'".'));return}let l=r[s]||{};p(l)}else H("Configuration must contain only one workspace. Found: ".concat(a.join(", ")))}catch(e){H("Invalid YAML: ".concat(e.message))}},el=async()=>{O(!0),J(null),V(null);try{if(F)throw Error("Please fix YAML errors before saving");let e=E.ZP.load(k)||{},a=Object.keys(e);if(a.length>0&&a[0]!==s)throw Error('Workspace name cannot be changed. Expected "'.concat(s,'".'));r?(await (0,n.MB)(s,u),V("Workspace created successfully!"),setTimeout(()=>{o.push("/workspaces/".concat(s))},1500)):(await (0,n.eA)(s,u),V("Workspace updated successfully!"),w(u),er())}catch(e){console.error("Error saving workspace:",e),J(e)}finally{O(!1)}},et=async()=>{q(e=>({...e,deleting:!0,error:null}));try{await (0,n.zl)(s),V("Workspace deleted successfully!"),setTimeout(()=>{o.push("/workspaces")},1500)}catch(e){console.error("Error deleting workspace:",e),q(s=>({...s,deleting:!1,error:e}))}},en=()=>{q({showDialog:!1,deleting:!1,error:null})},ec=async()=>{await Promise.all([es(),er()])};if(!o.isReady)return(0,a.jsx)("div",{children:"Loading..."});let ei=r?"Create New Workspace | SkyPilot Dashboard":"Workspace: ".concat(s," | SkyPilot Dashboard");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x(),{children:(0,a.jsx)("title",{children:ei})}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4 h-5",children:[(0,a.jsxs)("div",{className:"text-base flex items-center",children:[(0,a.jsx)(d(),{href:"/workspaces",className:"text-sky-blue hover:underline",children:"Workspaces"}),(0,a.jsx)("span",{className:"mx-2 text-gray-500",children:"›"}),(0,a.jsx)(d(),{href:r?"/workspace/new":"/workspaces/".concat(s),className:"text-sky-blue hover:underline",children:r?"New Workspace":s}),T&&(0,a.jsx)("span",{className:"ml-3 px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded",children:"Unsaved changes"})]}),(0,a.jsxs)("div",{className:"text-sm flex items-center",children:[(R||z||$)&&(0,a.jsxs)("div",{className:"flex items-center mr-4",children:[(0,a.jsx)(g.Z,{size:15,className:"mt-0"}),(0,a.jsx)("span",{className:"ml-2 text-gray-500",children:z?"Saving...":"Loading..."})]}),(0,a.jsxs)("div",{className:"flex items-center space-x-4",children:[!r&&(0,a.jsxs)("button",{onClick:ec,disabled:R||z||$,className:"text-sky-blue hover:text-sky-blue-bright font-medium inline-flex items-center",children:[(0,a.jsx)(j.Z,{className:"w-4 h-4 mr-1.5"}),"Refresh"]}),!r&&"default"!==s&&(0,a.jsxs)("button",{onClick:()=>q({...G,showDialog:!0}),disabled:G.deleting||z,className:"text-red-600 hover:text-red-700 font-medium inline-flex items-center",children:[(0,a.jsx)(y.Z,{className:"w-4 h-4 mr-1.5"}),"Delete"]})]})]})]}),R?(0,a.jsxs)("div",{className:"flex justify-center items-center py-12",children:[(0,a.jsx)(g.Z,{size:24,className:"mr-2"}),(0,a.jsx)("span",{className:"text-gray-500",children:"Loading workspace configuration..."})]}):(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsx)(L.X,{error:Y,title:"Error",onDismiss:()=>J(null)}),(0,a.jsx)(M,{message:I}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[!r&&(0,a.jsx)("div",{className:"lg:col-span-1",children:(0,a.jsxs)(m.Zb,{className:"h-full",children:[(0,a.jsx)(m.Ol,{children:(0,a.jsx)(m.ll,{className:"text-base font-normal",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"font-semibold",children:"Workspace:"})," ",s]}),(0,a.jsx)(W,{isPrivate:!0===b.private})]})})}),(0,a.jsxs)(m.aY,{className:"text-sm pb-2 flex-1",children:[(0,a.jsxs)("div",{className:"py-2 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center text-gray-600",children:[(0,a.jsx)(C.QT,{className:"w-4 h-4 mr-2 text-gray-500"}),(0,a.jsx)("span",{children:"Clusters (Running / Total)"})]}),(0,a.jsx)("span",{className:"font-normal text-gray-800",children:$?"...":"".concat(K.runningClusterCount," / ").concat(K.totalClusterCount)})]}),(0,a.jsxs)("div",{className:"py-2 flex items-center justify-between border-t border-gray-100",children:[(0,a.jsxs)("div",{className:"flex items-center text-gray-600",children:[(0,a.jsx)(C.Vp,{className:"w-4 h-4 mr-2 text-gray-500"}),(0,a.jsx)("span",{children:"Managed Jobs"})]}),(0,a.jsx)("span",{className:"font-normal text-gray-800",children:$?"...":K.managedJobsCount})]})]}),(0,a.jsxs)("div",{className:"px-6 pb-6 text-sm pt-3",children:[(0,a.jsx)("h4",{className:"mb-2 text-xs text-gray-500 tracking-wider",children:"Enabled Infra"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-x-4 gap-y-1",children:$?(0,a.jsx)("span",{className:"text-gray-500",children:"Loading..."}):K.clouds.length>0?K.clouds.map(e=>(0,a.jsxs)("div",{className:"flex items-center text-gray-700",children:[(0,a.jsx)(C.Ye,{className:"w-3.5 h-3.5 mr-1.5 text-green-500"}),(0,a.jsx)("span",{children:e})]},e)):(0,a.jsx)("span",{className:"text-gray-500 italic",children:"No enabled infrastructure"})}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(A,{workspaceName:s,config:b,enabledClouds:K.clouds})}),(0,a.jsx)(P,{workspaceConfig:b,allUsers:X})]})]})}),(0,a.jsx)("div",{className:r?"lg:col-span-3":"lg:col-span-2",children:(0,a.jsxs)(m.Zb,{className:"h-full flex flex-col",children:[(0,a.jsx)(m.Ol,{children:(0,a.jsx)(m.ll,{className:"text-base font-normal",children:r?"New Workspace YAML":"Edit Workspace YAML"})}),(0,a.jsx)(m.aY,{className:"flex-1 flex flex-col",children:(0,a.jsxs)("div",{className:"space-y-4 flex-1 flex flex-col",children:[F&&(0,a.jsx)(L.X,{error:F,onDismiss:()=>H(null)}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col",children:[(0,a.jsxs)("p",{className:"text-sm text-gray-600 mb-3",children:["Configure infra-specific settings for this workspace. Leave empty to use all accessible infrastructure. Refer to"," ",(0,a.jsx)("a",{href:"https://docs.skypilot.co/en/latest/admin/workspaces.html#configuration",target:"_blank",rel:"noopener noreferrer",className:"text-blue-600",children:"SkyPilot Docs"})," ","for more details."]}),(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("h4",{className:"text-sm font-medium text-gray-700 mb-2",children:"Example configuration:"}),(0,a.jsx)("div",{className:"p-3 bg-gray-50 border rounded-lg",children:(0,a.jsx)("pre",{className:"text-xs font-mono text-gray-600 whitespace-pre-wrap",children:"".concat(s||"my-workspace",":\n private: true\n allowed_users:\n - user1@mydomain.com\n - user2@mydomain.com\n gcp:\n project_id: xxx\n disabled: false\n kubernetes:\n allowed_contexts:\n - context-1")})})]}),(0,a.jsx)(f.g,{value:k,onChange:e=>ea(e.target.value),className:"font-mono text-sm flex-1 resize-none",style:{minHeight:"350px"},spellCheck:!1,placeholder:"# Enter workspace configuration in YAML format"}),(0,a.jsx)("div",{className:"flex justify-end space-x-3 pt-3 border-gray-200",children:(0,a.jsxs)(h.z,{onClick:el,disabled:z||F||R,className:"inline-flex items-center bg-sky-600 hover:bg-sky-700 text-white",children:[(0,a.jsx)(N.Z,{className:"w-4 h-4 mr-1.5"}),z?"Applying...":"Apply"]})})]})]})})]})})]})]}),(0,a.jsx)(v.Vq,{open:G.showDialog,onOpenChange:en,children:(0,a.jsxs)(v.cZ,{className:"sm:max-w-md",children:[(0,a.jsxs)(v.fK,{className:"",children:[(0,a.jsx)(v.$N,{children:"Delete Workspace"}),(0,a.jsxs)(v.Be,{children:['Are you sure you want to delete workspace "',s,'"? This action cannot be undone.']})]}),G.error&&(0,a.jsx)(L.X,{error:G.error,title:"Deletion Failed",onDismiss:()=>q(e=>({...e,error:null}))}),(0,a.jsxs)(v.cN,{className:"",children:[(0,a.jsx)(h.z,{variant:"outline",onClick:en,disabled:G.deleting,children:"Cancel"}),(0,a.jsx)(h.z,{variant:"destructive",onClick:et,disabled:G.deleting,children:G.deleting?"Deleting...":"Delete"})]})]})})]})]})}}}]);
|