skypilot-nightly 1.0.0.dev20250716__py3-none-any.whl → 1.0.0.dev20250717__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.
- sky/__init__.py +4 -2
- sky/backends/backend.py +8 -4
- sky/backends/cloud_vm_ray_backend.py +50 -1
- sky/backends/docker_utils.py +1 -1
- sky/backends/local_docker_backend.py +2 -1
- sky/catalog/common.py +60 -50
- sky/catalog/data_fetchers/fetch_gcp.py +1 -0
- sky/catalog/gcp_catalog.py +24 -7
- sky/catalog/kubernetes_catalog.py +5 -1
- sky/client/cli/command.py +180 -77
- sky/client/cli/git.py +549 -0
- sky/client/common.py +1 -1
- sky/clouds/gcp.py +1 -1
- sky/dashboard/out/404.html +1 -1
- sky/dashboard/out/_next/static/chunks/4869.bdd42f14b51d1d6f.js +16 -0
- sky/dashboard/out/_next/static/chunks/{webpack-3fad5d4a0541a02d.js → webpack-c3b45b7b0eaef66f.js} +1 -1
- 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/exceptions.py +5 -0
- sky/execution.py +1 -1
- sky/provision/kubernetes/utils.py +6 -0
- sky/server/common.py +4 -3
- sky/setup_files/MANIFEST.in +1 -0
- sky/setup_files/dependencies.py +2 -0
- sky/task.py +12 -2
- sky/utils/command_runner.py +144 -35
- sky/utils/controller_utils.py +4 -3
- sky/utils/git.py +9 -0
- sky/utils/git_clone.sh +460 -0
- sky/utils/schemas.py +15 -1
- {skypilot_nightly-1.0.0.dev20250716.dist-info → skypilot_nightly-1.0.0.dev20250717.dist-info}/METADATA +3 -1
- {skypilot_nightly-1.0.0.dev20250716.dist-info → skypilot_nightly-1.0.0.dev20250717.dist-info}/RECORD +50 -47
- sky/dashboard/out/_next/static/chunks/4869.c139c0124e677fc8.js +0 -16
- /sky/dashboard/out/_next/static/{gVXjeFhvtWXyOsx9xYNvM → Et5IQ5Y3WvH608nXClo4z}/_buildManifest.js +0 -0
- /sky/dashboard/out/_next/static/{gVXjeFhvtWXyOsx9xYNvM → Et5IQ5Y3WvH608nXClo4z}/_ssgManifest.js +0 -0
- {skypilot_nightly-1.0.0.dev20250716.dist-info → skypilot_nightly-1.0.0.dev20250717.dist-info}/WHEEL +0 -0
- {skypilot_nightly-1.0.0.dev20250716.dist-info → skypilot_nightly-1.0.0.dev20250717.dist-info}/entry_points.txt +0 -0
- {skypilot_nightly-1.0.0.dev20250716.dist-info → skypilot_nightly-1.0.0.dev20250717.dist-info}/licenses/LICENSE +0 -0
- {skypilot_nightly-1.0.0.dev20250716.dist-info → skypilot_nightly-1.0.0.dev20250717.dist-info}/top_level.txt +0 -0
{skypilot_nightly-1.0.0.dev20250716.dist-info → skypilot_nightly-1.0.0.dev20250717.dist-info}/RECORD
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
sky/__init__.py,sha256=
|
1
|
+
sky/__init__.py,sha256=eJNBSndu6ve2NuGHmZdnzcRitha_B1L1Ha3-y5D3Z84,6473
|
2
2
|
sky/admin_policy.py,sha256=FMiizgvVTmD9gFA2OUaveXnuY3lbNU-fCbUYAODBZj4,9427
|
3
3
|
sky/authentication.py,sha256=V7zGSV7bqcAKC_EGOOS0KhJ01ZFLnme0WnjLFO7zavs,25603
|
4
4
|
sky/check.py,sha256=R0pFsTq2v-wr3NFePlX9DmDhsbvWEoFJAXsys3pUmT4,30338
|
@@ -6,15 +6,15 @@ sky/cli.py,sha256=VXIZryeTtJPYpPTBKymVPmuOCyh8knfWrq-qnkr6R-4,178
|
|
6
6
|
sky/cloud_stores.py,sha256=Ln5GBpel-sEs7rVx7bBrMkfLwA_bctI05Rox2uoz7Lo,26388
|
7
7
|
sky/core.py,sha256=KbPCVZpCZTJF-vtyWqk1rGFzrT8cGHQI93YN9WRp8P4,56338
|
8
8
|
sky/dag.py,sha256=5MFXlP43y9U54zxfYGhVyBiWEInoFFlt_zJ7ASJntXw,3889
|
9
|
-
sky/exceptions.py,sha256=
|
10
|
-
sky/execution.py,sha256=
|
9
|
+
sky/exceptions.py,sha256=sxSOaKF1w3-bDHrxsAa31y073LGR1sc6dVEfOdDwTmk,19247
|
10
|
+
sky/execution.py,sha256=sZf0306FCKAo1FS7Vg2yCADSr5XHsODYwESHhwdVTjo,33439
|
11
11
|
sky/global_user_state.py,sha256=L_NMe0e8on_4aRmZ4wuIJP98RXXxaWaV1TozhaTVx14,73098
|
12
12
|
sky/models.py,sha256=Eor-cT4D71QTimogcnJ5ey1G1PXK-OXN-snEtE8Uu_g,3152
|
13
13
|
sky/optimizer.py,sha256=rcH6CVix1PJWWSwe1XWItfsmG8igwbKtRE5QVWRlpR4,63804
|
14
14
|
sky/resources.py,sha256=8N32Kwlk3kEPaIE261Qa3hFFSWZYrVKeRRsc3Pfx1O8,105656
|
15
15
|
sky/sky_logging.py,sha256=cMurxhFExKEFX1frcMR71Ti_s9Obg9WY30veVxsZB6o,7285
|
16
16
|
sky/skypilot_config.py,sha256=3Tc-o9Xm08WIfRLuky1ZH-QtycVI65RGxfx09loRdzM,36532
|
17
|
-
sky/task.py,sha256=
|
17
|
+
sky/task.py,sha256=X3VCX66D1xfSK1S7yf9HGYftQXwz8HutG7pnWGl9fN0,72274
|
18
18
|
sky/adaptors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
19
|
sky/adaptors/aws.py,sha256=4caUTO5nxZQyDVPyQdoPljaF-Lz_Fa6NEnu3FfmLZd4,8633
|
20
20
|
sky/adaptors/azure.py,sha256=7l5jobSTsTUcTo3ptrgOpRgngHY92U64eQBPxvDe1HA,21986
|
@@ -33,25 +33,25 @@ sky/adaptors/runpod.py,sha256=4Nt_BfZhJAKQNA3wO8cxvvNI8x4NsDGHu_4EhRDlGYQ,225
|
|
33
33
|
sky/adaptors/vast.py,sha256=tpvmHi7IkQNzbbHVkeo04kUSajoEpSzXr2XgeO_I1LU,695
|
34
34
|
sky/adaptors/vsphere.py,sha256=zJP9SeObEoLrpgHW2VHvZE48EhgVf8GfAEIwBeaDMfM,2129
|
35
35
|
sky/backends/__init__.py,sha256=tpa9gAygQopsiBUUuy3wVmr4E05FoPTFHIWqEo4i-u0,627
|
36
|
-
sky/backends/backend.py,sha256=
|
36
|
+
sky/backends/backend.py,sha256=6ltCouZhaXJqv2Zh9nP_YCdHf10_oIRNzAA-XDiMmI8,7969
|
37
37
|
sky/backends/backend_utils.py,sha256=AOuBC63KZQo5zy8fLnByy4OIGmrXiTwsz9g-XxFZ7Fw,145150
|
38
|
-
sky/backends/cloud_vm_ray_backend.py,sha256=
|
39
|
-
sky/backends/docker_utils.py,sha256=
|
40
|
-
sky/backends/local_docker_backend.py,sha256=
|
38
|
+
sky/backends/cloud_vm_ray_backend.py,sha256=PHqBl7M8J7iWpYqdwL4nKDNsriQU5hoRdUBQS5jt8Ug,263968
|
39
|
+
sky/backends/docker_utils.py,sha256=_EhM6NStZDAwcegppQqExaB5iuSn1qL4xFFUqXAz2Uk,8392
|
40
|
+
sky/backends/local_docker_backend.py,sha256=r84uhXCk7NK9hGW840KPKnrADd7mCerMwncxOzckHg4,17126
|
41
41
|
sky/backends/wheel_utils.py,sha256=IUruJijm5854UGDdSayHbHzjjWRM46bATK1nSnK44xY,11071
|
42
42
|
sky/backends/monkey_patches/monkey_patch_ray_up.py,sha256=76-y2fCaE3JINj8lEwHT1eirYzCbpD8O1ySsysuGu8o,3450
|
43
43
|
sky/catalog/__init__.py,sha256=SRV7fsgTDOtidYxXYzyxgPAQTQR6fsIb2epVISCH_AU,14616
|
44
44
|
sky/catalog/aws_catalog.py,sha256=VnFLKmr4nBuc5NXske7thEByJz_wOg9w5vuN6FtLMuo,13473
|
45
45
|
sky/catalog/azure_catalog.py,sha256=r_ZBacLF7U8EPGlrMF-zVSwAGjjmh9K1e1MZ3-UPfXo,8126
|
46
|
-
sky/catalog/common.py,sha256=
|
46
|
+
sky/catalog/common.py,sha256=gRjSvduvUWZdBb0yyeTL-yvHDxqVd23Ec7Sin3ZmQTs,28550
|
47
47
|
sky/catalog/config.py,sha256=ylzqewdEBjDg4awvFek6ldYmFrnvD2bVGLZuLPvEVYA,1793
|
48
48
|
sky/catalog/cudo_catalog.py,sha256=-abAvpRUmgaEKimEbqxX37_yTw_s3gT-eujSRVO3BZ4,4658
|
49
49
|
sky/catalog/do_catalog.py,sha256=AduVQNnznUOgrBBw3nsOs_nCHxR2OBV9R4_AcRfO7IA,3683
|
50
50
|
sky/catalog/fluidstack_catalog.py,sha256=9oVbg8JtSZX2YttkvJSAKgVMeNcyFVe5d1mZAv2UOck,5044
|
51
|
-
sky/catalog/gcp_catalog.py,sha256=
|
51
|
+
sky/catalog/gcp_catalog.py,sha256=poKGGcrifQkUVztiHMghM0jZrffeLEQr-GVdr8nBcN0,26258
|
52
52
|
sky/catalog/hyperbolic_catalog.py,sha256=uLMISqIZcDbIpT6TPa73Um9rP3sj3yYH_6OZR9FxzWU,4760
|
53
53
|
sky/catalog/ibm_catalog.py,sha256=cZplLQPO7ndWrnU3A3kkHbIiHthugU-UoXTvNkPbXt8,4478
|
54
|
-
sky/catalog/kubernetes_catalog.py,sha256=
|
54
|
+
sky/catalog/kubernetes_catalog.py,sha256=GpzLt2Y9a1DUo57Jkn-rcneIJPd38W3REZRxQHhfDSk,14100
|
55
55
|
sky/catalog/lambda_catalog.py,sha256=bXuEv4i3zEoUSS-ynEDoiDCNgU-cyCEBYlkmi_Iuzhw,5287
|
56
56
|
sky/catalog/nebius_catalog.py,sha256=I705d93iF60cSptlLcoJoNx-YcBuIkTCJfIjEbYOc2U,4492
|
57
57
|
sky/catalog/oci_catalog.py,sha256=14siADGl-eaaPOLq5g186D_nqXTVItIwoMXlx1bTM5E,8565
|
@@ -67,7 +67,7 @@ sky/catalog/data_fetchers/fetch_aws.py,sha256=RTkqG2LE2YxRoK4K4p_hq-vA9tsPr9UoWI
|
|
67
67
|
sky/catalog/data_fetchers/fetch_azure.py,sha256=7YVnoGDGGZI2TK02bj_LOoD4E5J5CFl6eqz2XlR4Vy8,12790
|
68
68
|
sky/catalog/data_fetchers/fetch_cudo.py,sha256=hmVt7yTQ50EFPhum3rstKdy9cxv2GoxkpDaSRFP7ITc,3635
|
69
69
|
sky/catalog/data_fetchers/fetch_fluidstack.py,sha256=hsqpQi_YUI-qil3zLCEGatrR7BkWzywr4otRdHrd-4k,7350
|
70
|
-
sky/catalog/data_fetchers/fetch_gcp.py,sha256=
|
70
|
+
sky/catalog/data_fetchers/fetch_gcp.py,sha256=iFOpPq52c2ENg-oV9OXqFqPMG4Dpv5VGtRhcxkMir90,31950
|
71
71
|
sky/catalog/data_fetchers/fetch_hyperbolic.py,sha256=VLBJXWvrKJH5QbMUiREPEMfO3x37_XsqMAmOo7bCQtc,4537
|
72
72
|
sky/catalog/data_fetchers/fetch_ibm.py,sha256=WPzR1y5ZaTdv-R3HLIdSUnOfWh4N9cqzKoKiKJQkjFk,7414
|
73
73
|
sky/catalog/data_fetchers/fetch_lambda_cloud.py,sha256=MUzogyLruLQmIt-To6TsfnGPgv_nnlp49XYbeshsd7I,5003
|
@@ -75,14 +75,15 @@ 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=qaSm4QJxk5wfmi1CkvxFtUFtmL-BoielGhjn-aFwuto,15511
|
79
79
|
sky/client/oauth.py,sha256=sNJ_DMsSTcxluj5FeNQ2IafZJLImRFmCAZ79bXeABn4,2871
|
80
80
|
sky/client/sdk.py,sha256=hZ2SLsHItKJOs-t_suVDMxIrvEixr1ZWzDehkOYycSc,91024
|
81
81
|
sky/client/service_account_auth.py,sha256=5jXk0G6ufuW-SHCO7BEHQeTO0_2a8KfFmA63auXFRj4,1529
|
82
82
|
sky/client/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
83
|
-
sky/client/cli/command.py,sha256=
|
83
|
+
sky/client/cli/command.py,sha256=OUoaicWKFcWG0W53AcmWqmMjzHIKcu0eLUrK--uGaBw,221024
|
84
84
|
sky/client/cli/deprecation_utils.py,sha256=H_d5UyF2CekEoThduAzt5cihBO8hwKYMu0-Wqfbjv5E,3370
|
85
85
|
sky/client/cli/flags.py,sha256=6IdS_G2lB1C6r8kJMzLVREY_qV50VHiSfWlmppVrWuc,11623
|
86
|
+
sky/client/cli/git.py,sha256=dqSaJI1Ndv6RfKJa6HT6ednXr0j_pVlwSdh3XiQzB60,22018
|
86
87
|
sky/clouds/__init__.py,sha256=tC9_Vi6GvVceWUi6uZvm7vXzBa0uH3CjRQ-QCYqdJMw,1624
|
87
88
|
sky/clouds/aws.py,sha256=qjRiittsLXeE-DL3KfwlXxjCDryxAGaqnUsiv92sgeI,55402
|
88
89
|
sky/clouds/azure.py,sha256=MR4tdgy47iA3DKkLjie10AzsxuMFAiQFo9DWtIWxvTk,32861
|
@@ -90,7 +91,7 @@ sky/clouds/cloud.py,sha256=8_xzANWVczYxCRpsloYt7EwraWD5_NoUVZ5muxTqRK0,39136
|
|
90
91
|
sky/clouds/cudo.py,sha256=iNgiCg2gYAfsmeFNG8xuO7ysUjXbNj45Q57QIfDimyU,13809
|
91
92
|
sky/clouds/do.py,sha256=bO5NZ3nvHHTW_7oByUY4817U0fAXQ1t5F4P4qZYg5n4,12167
|
92
93
|
sky/clouds/fluidstack.py,sha256=TkFHChRa7HH_-f5SDRgtFqKCmUCYcSfPCf4lpQH90do,13222
|
93
|
-
sky/clouds/gcp.py,sha256=
|
94
|
+
sky/clouds/gcp.py,sha256=JuIJ8AbwiEjWrM7w4vWBe7qT0QBL1sRcSWP1jWLL2vI,68448
|
94
95
|
sky/clouds/hyperbolic.py,sha256=DyWiV5RvfitVPCEajkEuqOxy4PAaCCCkmd7zA05G33c,11628
|
95
96
|
sky/clouds/ibm.py,sha256=JQTJQ5wVxVSqH7O05GOld8X5iO16g6Idd_YmRAGZmB8,22567
|
96
97
|
sky/clouds/kubernetes.py,sha256=Xu9jyJYchGHuaBqGzLBNvpG-PlMh98GcHmERZFwM_r0,54201
|
@@ -109,17 +110,19 @@ sky/clouds/utils/azure_utils.py,sha256=NToRBnhEyuUvb-nBnsKTxjhOBRkMcrelL8LK4w6s4
|
|
109
110
|
sky/clouds/utils/gcp_utils.py,sha256=zpdibyvdROgDGqllcvQuST3pKqj6pzqX-gxCw-DsCfc,9873
|
110
111
|
sky/clouds/utils/oci_utils.py,sha256=yv_Y9oM5WNCnOofu44aKyOPTZZdKfpFLCx3ewZ2VBFY,7994
|
111
112
|
sky/clouds/utils/scp_utils.py,sha256=VGuccVO5uFGr8-yolWSoYrgr11z6cIeDBGcqkBzAyOs,18409
|
112
|
-
sky/dashboard/out/404.html,sha256=
|
113
|
-
sky/dashboard/out/clusters.html,sha256=
|
114
|
-
sky/dashboard/out/config.html,sha256=
|
113
|
+
sky/dashboard/out/404.html,sha256=Ngmo6vHPFpDaa1hZh3iApn40ZhBWAcqJkj1xihSfPt4,1423
|
114
|
+
sky/dashboard/out/clusters.html,sha256=cUmSQvjcFcNQ9MnpRuhxccNWnPUyZf5tl3MtdkfjFKY,1418
|
115
|
+
sky/dashboard/out/config.html,sha256=bFOwXFxN1iK5dgschyLJ-gKzcsVsm1hgNU_xBHx3Xxo,1414
|
115
116
|
sky/dashboard/out/favicon.ico,sha256=XilUZZglAl_1zRsg85QsbQgmQAzGPQjcUIJ-A3AzYn8,93590
|
116
|
-
sky/dashboard/out/index.html,sha256=
|
117
|
-
sky/dashboard/out/infra.html,sha256=
|
118
|
-
sky/dashboard/out/jobs.html,sha256=
|
117
|
+
sky/dashboard/out/index.html,sha256=2K1urULL_-k7bMxOAaxiUce9-HmqMiQOY2SgbQdSSn8,1407
|
118
|
+
sky/dashboard/out/infra.html,sha256=W2fSC2KJQ6qG4EroiA2LWi69CQnGcZnkCqeWu37x5H0,1412
|
119
|
+
sky/dashboard/out/jobs.html,sha256=QQLkqj2r-yTrO6S6wFFIhnFfIxTAglge7DccMFeR8ns,1410
|
119
120
|
sky/dashboard/out/skypilot.svg,sha256=c0iRtlfLlaUm2p0rG9NFmo5FN0Qhf3pq5Xph-AeMPJw,5064
|
120
|
-
sky/dashboard/out/users.html,sha256=
|
121
|
-
sky/dashboard/out/volumes.html,sha256=
|
122
|
-
sky/dashboard/out/workspaces.html,sha256=
|
121
|
+
sky/dashboard/out/users.html,sha256=_m_SIqPeVIVaS6w49etsSef6ZEkJLkA3jVE3HckCUI8,1412
|
122
|
+
sky/dashboard/out/volumes.html,sha256=4nK62Cbx4OXeRBnhCPuxvIrDaiGVqbA7fY9qej0D-XU,1416
|
123
|
+
sky/dashboard/out/workspaces.html,sha256=rW3n6iszWwXkOtr-k-CrnIQlEnJglslXbdPeO6zbGFA,1422
|
124
|
+
sky/dashboard/out/_next/static/Et5IQ5Y3WvH608nXClo4z/_buildManifest.js,sha256=JMbLeJA2GWcsfkPy5YSiiUVoFu3fq69LJOFyYgVTryQ,2235
|
125
|
+
sky/dashboard/out/_next/static/Et5IQ5Y3WvH608nXClo4z/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
123
126
|
sky/dashboard/out/_next/static/chunks/1043-90a88c46f27b3df5.js,sha256=-9qAHQCv3B2H3wlAqzPknzAuG0lciC0BbpK2mhx5t9o,18216
|
124
127
|
sky/dashboard/out/_next/static/chunks/1141-d8c6404a7c6fffe6.js,sha256=ghpPWK4ZTu0gPqZR-UU8tHrwdmZuW4rVZ-cqdUjf_oA,17818
|
125
128
|
sky/dashboard/out/_next/static/chunks/1272-1ef0bf0237faccdb.js,sha256=VJ6y-Z6Eg2T93hQIRfWAbjAkQ7nQhglmIaVbEpKSILY,38451
|
@@ -135,7 +138,7 @@ sky/dashboard/out/_next/static/chunks/3937.d7f1c55d1916c7f2.js,sha256=EoRS8IfcAM
|
|
135
138
|
sky/dashboard/out/_next/static/chunks/3947-b059261d6fa88a1f.js,sha256=jRCwpxWd7Gy-wU3-CosmwiIZdKAHHl6S67k-5wj1w38,10019
|
136
139
|
sky/dashboard/out/_next/static/chunks/430.ed51037d1a4a438b.js,sha256=vczgwkklvp5g6SroggeUauhjstjg2oPR0fmpTS9t5Qc,925
|
137
140
|
sky/dashboard/out/_next/static/chunks/4725.4c849b1e05c8e9ad.js,sha256=NOkZDUb1wPV7qhwfvxtB7O0Od6y1Rc0MXW_BpV4zJSg,14946
|
138
|
-
sky/dashboard/out/_next/static/chunks/4869.
|
141
|
+
sky/dashboard/out/_next/static/chunks/4869.bdd42f14b51d1d6f.js,sha256=etphguNw5i-m8r5qIqNcR70UQATzz1q5Z-7FCkyiNxc,17785
|
139
142
|
sky/dashboard/out/_next/static/chunks/5230-df791914b54d91d9.js,sha256=jy8KepJn43jZhaJUCF2PSK8jJjIEpNO2fMXVQIPQliY,22584
|
140
143
|
sky/dashboard/out/_next/static/chunks/5491.918ffed0ba7a5294.js,sha256=zi9QGpZSoMnyZa9F8JB13haVGnx4gI88520-vdp9AXc,8487
|
141
144
|
sky/dashboard/out/_next/static/chunks/5739-5ea3ffa10fc884f2.js,sha256=3X5yHbRwhHhC96Dcx3-jV__MFmMSjar6ZvmYFzKljlE,65357
|
@@ -155,7 +158,7 @@ sky/dashboard/out/_next/static/chunks/framework-efc06c2733009cd3.js,sha256=XKYUV
|
|
155
158
|
sky/dashboard/out/_next/static/chunks/main-app-68c028b1bc5e1b72.js,sha256=zSukg-WO1Xy-B2xEIIGHXYApy2KOY9xWHcLqAYQvF3A,115883
|
156
159
|
sky/dashboard/out/_next/static/chunks/main-c0a4f1ea606d48d2.js,sha256=DPLM6ccDgTnITBgsqZPN3gmcI2szGCi9b_60PJZkTJQ,109885
|
157
160
|
sky/dashboard/out/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
|
158
|
-
sky/dashboard/out/_next/static/chunks/webpack-
|
161
|
+
sky/dashboard/out/_next/static/chunks/webpack-c3b45b7b0eaef66f.js,sha256=Y7D7oJCp6FITmU5L_ZSKOOqP65yeZAxOKA41BGbts_4,4655
|
159
162
|
sky/dashboard/out/_next/static/chunks/pages/_app-771a40cde532309b.js,sha256=-Fb7hImRuSHVFvnqq2sxp4B5V-KezsPj24AdJWaDP28,7587
|
160
163
|
sky/dashboard/out/_next/static/chunks/pages/_error-c72a1f77a3c0be1b.js,sha256=D2OpMaqpdtCPyq6iPhZHuF2ekyMjleRchSNCLR6fqps,250
|
161
164
|
sky/dashboard/out/_next/static/chunks/pages/clusters-102d169e87913ba1.js,sha256=wzNhCoIzkSiOuaTm9dGBVIYYIYWf4COJOklBr1aaLxE,859
|
@@ -173,15 +176,13 @@ sky/dashboard/out/_next/static/chunks/pages/jobs/[job]-14d404b7dd28502a.js,sha25
|
|
173
176
|
sky/dashboard/out/_next/static/chunks/pages/workspace/new-5629d4e551dba1ee.js,sha256=K9tqKHcB2kiSHTAddLaM2oL1PzmqZNTdLDOuNzCaJNM,765
|
174
177
|
sky/dashboard/out/_next/static/chunks/pages/workspaces/[name]-7c0187f43757a548.js,sha256=FsoenC6VRkPLE29KkLd4nlSq2qociH4zFexYMxgetOM,1530
|
175
178
|
sky/dashboard/out/_next/static/css/219887b94512388c.css,sha256=e_2-i85AX4kLpT-t-PuzH7GzHJ7VOzRZDfAz64JRQQY,45397
|
176
|
-
sky/dashboard/out/
|
177
|
-
sky/dashboard/out/
|
178
|
-
sky/dashboard/out/
|
179
|
-
sky/dashboard/out/
|
180
|
-
sky/dashboard/out/infra/[context].html,sha256=CCsKEFB4-c3XSZi--Qpmfgh7P2FcC22zaHKbjkeocDc,1436
|
181
|
-
sky/dashboard/out/jobs/[job].html,sha256=22DSXoACPu47-ly8vEE5cL0FjybC30nWEXKWf3cztcs,2304
|
179
|
+
sky/dashboard/out/clusters/[cluster].html,sha256=NVVlqLvsBjtxGhJSLW6dWNt_IlKgEX2eHI9VoMbIKhg,2847
|
180
|
+
sky/dashboard/out/clusters/[cluster]/[job].html,sha256=jzHBqR9GDUh-eWR_VwtEh9mtfStO02wwqY_21xOY9XA,2160
|
181
|
+
sky/dashboard/out/infra/[context].html,sha256=hB0s7RzOYk85b4IJiMB_Gbol5bke98WoTM8yOabbINo,1436
|
182
|
+
sky/dashboard/out/jobs/[job].html,sha256=8LKPP4rgsZSzZQuc17c-dEDbTCEZV7GMAPJgM3b0bfs,2304
|
182
183
|
sky/dashboard/out/videos/cursor-small.mp4,sha256=8tRdp1vjawOrXUar1cfjOc-nkaKmcwCPZx_LO0XlCvQ,203285
|
183
|
-
sky/dashboard/out/workspace/new.html,sha256=
|
184
|
-
sky/dashboard/out/workspaces/[name].html,sha256=
|
184
|
+
sky/dashboard/out/workspace/new.html,sha256=7Wz-oE1WpTuviJF7eKkp9BNZfG5n-QUOY3lfl8dY6T0,1428
|
185
|
+
sky/dashboard/out/workspaces/[name].html,sha256=98v3wH-FjNuWduwLPXM57cG4gi5Ragki1SXEx6YKpEk,2845
|
185
186
|
sky/data/__init__.py,sha256=Nhaf1NURisXpZuwWANa2IuCyppIuc720FRwqSE2oEwY,184
|
186
187
|
sky/data/data_transfer.py,sha256=N8b0CQebDuHieXjvEVwlYmK6DbQxUGG1RQJEyTbh3dU,12040
|
187
188
|
sky/data/data_utils.py,sha256=CNYPM963qby5ddW0DZNbhiWXkqgB9MHh_jrC5DoBctM,33437
|
@@ -254,7 +255,7 @@ sky/provision/kubernetes/constants.py,sha256=vZJQsAVjAgwsOskB48tIFSXtNw7IFnJOQE_
|
|
254
255
|
sky/provision/kubernetes/instance.py,sha256=oQ_-QD6uAv4b32Q5kB_fRRE3iO_3xmVqPLbYBA0Wd08,59861
|
255
256
|
sky/provision/kubernetes/network.py,sha256=Dgj8u7IQBHKHt-mSDhYzue1wfDk96FR_8fO89TwuZ2E,12846
|
256
257
|
sky/provision/kubernetes/network_utils.py,sha256=eEbt8acJW3Ohe6qHZNZ9GAQ29kIZEQX7Q5S08yOuvhA,12220
|
257
|
-
sky/provision/kubernetes/utils.py,sha256=
|
258
|
+
sky/provision/kubernetes/utils.py,sha256=N29UYXYRA5o_DJxO3aVdKoif7Ucc3UsPmGtPJ7cG_Fw,149624
|
258
259
|
sky/provision/kubernetes/volume.py,sha256=KaYls4QU_QNXoncAiySeUX479zuzeCeW2iB1tWtJe8w,8061
|
259
260
|
sky/provision/kubernetes/manifests/fusermount-server-daemonset.yaml,sha256=S87GNAbDqgTrLuxF-afPAqQ0V-i41El4s_9KBZMuaag,1331
|
260
261
|
sky/provision/lambda_cloud/__init__.py,sha256=6EEvSgtUeEiup9ivIFevHmgv0GqleroO2X0K7TRa2nE,612
|
@@ -323,7 +324,7 @@ sky/serve/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
323
324
|
sky/serve/server/core.py,sha256=zKvDnq6W9CftH5ljmNMdTDGsLO3mzbFgrMBMCSua4dM,41662
|
324
325
|
sky/serve/server/server.py,sha256=A9K37a0nQgZeN3eKWv62Oh2C5TSAReTZ9pHmztqlI-c,4396
|
325
326
|
sky/server/__init__.py,sha256=MPPBqFzXz6Jv5QSk6td_IcvnfXfNErDZVcizu4MLRow,27
|
326
|
-
sky/server/common.py,sha256=
|
327
|
+
sky/server/common.py,sha256=mnbgCCtg5lMk5tH-aEfrhRTg3zp7_KjMuuRgArrhVFw,34545
|
327
328
|
sky/server/config.py,sha256=XWf5Kw4am6vMO5wcyWevbQAFH-dmKb7AMEgDzD083-M,8538
|
328
329
|
sky/server/constants.py,sha256=v6RP8ZEwCNsxO2s2IukgOcEldZO5bvcQaxmOTA0Cf0g,2321
|
329
330
|
sky/server/metrics.py,sha256=6H6n6dq_C5HMaU97mJlRUB9bqOEA_k205PO15wE3AWk,3648
|
@@ -348,8 +349,8 @@ sky/server/requests/queues/mp_queue.py,sha256=jDqP4Jd28U3ibSFyMR1DF9I2OWZrPZqFJr
|
|
348
349
|
sky/server/requests/serializers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
349
350
|
sky/server/requests/serializers/decoders.py,sha256=qphN79pRAaaitCbcsZIrslphgZn1iYndl6JnmergEe4,6361
|
350
351
|
sky/server/requests/serializers/encoders.py,sha256=4bQV5yTg8RTPT_HkRyQpjaBY_uUvBJ4NH189W0-6Pi0,5578
|
351
|
-
sky/setup_files/MANIFEST.in,sha256=
|
352
|
-
sky/setup_files/dependencies.py,sha256=
|
352
|
+
sky/setup_files/MANIFEST.in,sha256=D-wsZ2Dhl8fiKJaIL38IITR1NkbpwFRX5hT0sS4jJyc,667
|
353
|
+
sky/setup_files/dependencies.py,sha256=iUrV_-10N1d6ZP2J0yBytToS6jxfql0S2kWuzXdlI-I,7190
|
353
354
|
sky/setup_files/setup.py,sha256=GTXvAi65S4_TSLhQ1GzkmaWf_yzciHiaxMbZumcTtKU,7522
|
354
355
|
sky/skylet/LICENSE,sha256=BnFrJSvUFpMUoH5mOpWnEvaC5R6Uux8W6WXgrte8iYg,12381
|
355
356
|
sky/skylet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -421,7 +422,7 @@ sky/utils/admin_policy_utils.py,sha256=VkE3FGzv5a7KnRO0R1PX0buJ274vF__n1xgXJ_9yk
|
|
421
422
|
sky/utils/annotations.py,sha256=-rfacB30Sl0xkFriejGvxma3oKctGfXXLZkQPHG33eo,1626
|
422
423
|
sky/utils/atomic.py,sha256=vrw-7XCnckF0xCx-ttamao7evPdGtVsnjaTtgMlBXIE,1280
|
423
424
|
sky/utils/cluster_utils.py,sha256=s6DFRXktv6_gF_DnwDEXJ7CniifHp8CAPeGciRCbXgI,14432
|
424
|
-
sky/utils/command_runner.py,sha256=
|
425
|
+
sky/utils/command_runner.py,sha256=envbCPiFAD6LnZHhCN07VCdDh1LzbPFbXHoc8j2uxOI,48447
|
425
426
|
sky/utils/command_runner.pyi,sha256=IS3qeCTgWys94KhaHx3S2Pty8qDWn_zFht7bgDLJFcw,9593
|
426
427
|
sky/utils/common.py,sha256=nTg-mjNu0diZjs2UvyiMc84Tu1ZonRLRAmfqFIP1TtY,2242
|
427
428
|
sky/utils/common_utils.py,sha256=3cBop3bbR11XXsaxgH8oWK9YR8_F_cwvR7904LsRNU0,36285
|
@@ -429,10 +430,12 @@ sky/utils/config_utils.py,sha256=RkTIbZaPbsvQjtj_4R7p4Jz6vIbdkvD-QPs1O5jjiHo,120
|
|
429
430
|
sky/utils/context.py,sha256=yEGvcKr9fKEeoAnNKiXDiky7dlLOChFdZYXGr0EeQ9g,9997
|
430
431
|
sky/utils/context_utils.py,sha256=cby-QPmnGObjIE4K7eZ_dkWZdUo7YJUmnJr5oKf_v54,6712
|
431
432
|
sky/utils/control_master_utils.py,sha256=iD4M0onjYOdZ2RuxjwMBl4KhafHXJzuHjvqlBUnu-VE,1450
|
432
|
-
sky/utils/controller_utils.py,sha256=
|
433
|
+
sky/utils/controller_utils.py,sha256=JmO9mML9sfs27crvfSNla0SQnHGDskqkuPDLyRkeq-Y,55508
|
433
434
|
sky/utils/dag_utils.py,sha256=lqzmSPgmNGmil_7pcVdyf4a4BSC2rMcTAIKazSX_3qk,8514
|
434
435
|
sky/utils/db_utils.py,sha256=pASuL-B_t-e7aS7wSgCW_EyqyRQqwUdHKvXC1dCgSkk,5704
|
435
436
|
sky/utils/env_options.py,sha256=PaQGjem9nK4R8Y_YvCLkNZ891wWiS3t50hE8q2HLis0,1922
|
437
|
+
sky/utils/git.py,sha256=rzGuJ1PEjAk8jG2X9a9QXSVJ-UqiSSNeRsHvr4bG7zI,278
|
438
|
+
sky/utils/git_clone.sh,sha256=hXOz7i1MCYl2IwMdKnFYhinhh8Jaf5a1Qwd65cePQYc,17790
|
436
439
|
sky/utils/infra_utils.py,sha256=WkkB4Hj6CX-3eV029fPYqydNVyFZ8ZwRAVA_GCLJ9QU,6981
|
437
440
|
sky/utils/kubernetes_enums.py,sha256=imGqHSa8O07zD_6xH1SDMM7dBU5lF5fzFFlQuQy00QM,1384
|
438
441
|
sky/utils/log_utils.py,sha256=21WN-uAf94zornM0wiCo2r7TCw7XhYvm8REPVfHNMiQ,29285
|
@@ -442,7 +445,7 @@ sky/utils/resource_checker.py,sha256=N18XhoVIqjY1VzmKvxQxRchRgC2WIgcEQyHDkLvg4Y8
|
|
442
445
|
sky/utils/resources_utils.py,sha256=zcJXHYQt6WtQHKuWEif1QP1NtSO7XQYJBaEs625yV1Y,15958
|
443
446
|
sky/utils/rich_console_utils.py,sha256=wPvAlshaFHuMZSjiDnaK3OSBppZLBjAn-lj7AvxNBQk,553
|
444
447
|
sky/utils/rich_utils.py,sha256=ZKztFc0D5q7ma_NE2p9UKjVS9zqcJ3L53FRw6SPoUvg,14707
|
445
|
-
sky/utils/schemas.py,sha256
|
448
|
+
sky/utils/schemas.py,sha256=-wokYyaYGdgzLZ2KVfm3qJ-VLiimcqJLeRn4Xe7J550,52940
|
446
449
|
sky/utils/status_lib.py,sha256=QGkd6COD1GX1h30Mk9RMUdyeUOMJs5971GkxTcFgdsU,1705
|
447
450
|
sky/utils/subprocess_utils.py,sha256=tOpFY_1ml7JkVGAN1o473lcKPklGR95qBCW61eu8kEo,15773
|
448
451
|
sky/utils/tempstore.py,sha256=3S5fJ3UjnE12ve38c3MpTXpoRWfDSGndZpqNe7P_8aU,2148
|
@@ -482,9 +485,9 @@ sky/workspaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
482
485
|
sky/workspaces/core.py,sha256=MkQoVqWN67tf4VRq284U9vgAw4lwb_cpUfwHQT4V9Ow,16598
|
483
486
|
sky/workspaces/server.py,sha256=Box45DS54xXGHy7I3tGKGy-JP0a8G_z6IhfvGlEXtsA,3439
|
484
487
|
sky/workspaces/utils.py,sha256=IIAiFoS6sdb2t0X5YoX9AietpTanZUQNTK8cePun-sY,2143
|
485
|
-
skypilot_nightly-1.0.0.
|
486
|
-
skypilot_nightly-1.0.0.
|
487
|
-
skypilot_nightly-1.0.0.
|
488
|
-
skypilot_nightly-1.0.0.
|
489
|
-
skypilot_nightly-1.0.0.
|
490
|
-
skypilot_nightly-1.0.0.
|
488
|
+
skypilot_nightly-1.0.0.dev20250717.dist-info/licenses/LICENSE,sha256=emRJAvE7ngL6x0RhQvlns5wJzGI3NEQ_WMjNmd9TZc4,12170
|
489
|
+
skypilot_nightly-1.0.0.dev20250717.dist-info/METADATA,sha256=MeeReZD5NpGzf8gVPBENXLEPqQqUPgLkjgdS8gLP5YE,19009
|
490
|
+
skypilot_nightly-1.0.0.dev20250717.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
491
|
+
skypilot_nightly-1.0.0.dev20250717.dist-info/entry_points.txt,sha256=StA6HYpuHj-Y61L2Ze-hK2IcLWgLZcML5gJu8cs6nU4,36
|
492
|
+
skypilot_nightly-1.0.0.dev20250717.dist-info/top_level.txt,sha256=qA8QuiNNb6Y1OF-pCUtPEr6sLEwy2xJX06Bd_CrtrHY,4
|
493
|
+
skypilot_nightly-1.0.0.dev20250717.dist-info/RECORD,,
|
@@ -1,16 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4869,430],{1260:function(e,s,l){"use strict";l.d(s,{Z:function(){return t}});/**
|
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 t=(0,l(998).Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},7603:function(e,s,l){"use strict";l.d(s,{Z:function(){return t}});/**
|
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 t=(0,l(998).Z)("Trash2",[["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"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},1812:function(e,s,l){"use strict";l.d(s,{X:function(){return n}});var t=l(5893),r=l(7294);let a=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:l="Error",onDismiss:n}=e,[i,c]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{s&&c(!1)},[s]),!s||i)return null;let o="string"==typeof s?s:a(s);return(0,t.jsx)("div",{className:"bg-red-50 border border-red-200 rounded-md p-3 mb-4",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-red-400",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.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,t.jsx)("div",{className:"ml-3",children:(0,t.jsxs)("div",{className:"text-sm text-red-800",children:[(0,t.jsxs)("strong",{children:[l,":"]})," ",o]})})]}),(0,t.jsx)("button",{onClick:()=>{c(!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,t.jsx)("svg",{className:"h-4 w-4",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.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"})})})]})})}},2077:function(e,s,l){"use strict";l.r(s),l.d(s,{Workspaces:function(){return M}});var t=l(5893),r=l(7294),a=l(1163),n=l(3266),i=l(8969),c=l(7324),o=l(7673),d=l(8764),u=l(803),m=l(5739),x=l(1272),h=l(326);l(3850);var p=l(1812),g=l(3626),f=l(1260);/**
|
12
|
-
* @license lucide-react v0.407.0 - ISC
|
13
|
-
*
|
14
|
-
* This source code is licensed under the ISC license.
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
16
|
-
*/let j=(0,l(998).Z)("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);var v=l(7603),b=l(3001),w=l(938),N=l(6378),k=l(1214),y=l(6856),C=l(7145),L=l(4545),S=l(3225),z=l(1664),Z=l.n(z);let D=e=>{let{isPrivate:s}=e;return s?(0,t.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,t.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"})},E=k.nb.REFRESH_INTERVAL;function M(){let[e,s]=(0,r.useState)([]),[l,k]=(0,r.useState)({runningClusters:0,totalClusters:0,managedJobs:0}),[z,M]=(0,r.useState)(!0),[R,O]=(0,r.useState)(null),[J,A]=(0,r.useState)({key:"name",direction:"asc"}),[P,T]=(0,r.useState)(""),[W,F]=(0,r.useState)(!1),[B,V]=(0,r.useState)({confirmOpen:!1,workspaceToDelete:null,deleting:!1,error:null}),[X,_]=(0,r.useState)({open:!1,message:"",userName:""}),[q,I]=(0,r.useState)(null),[H,K]=(0,r.useState)(!1),[U,$]=(0,r.useState)(null),[G,Q]=(0,r.useState)(null),Y=(0,a.useRouter)(),ee=(0,b.X)(),es=async()=>{if(q&&Date.now()-q.timestamp<3e5)return q;K(!0);try{let e=await C.x.get("/users/role");if(!e.ok){let s=await e.json();throw Error(s.detail||"Failed to get user role")}let s=await e.json(),l={role:s.role,name:s.name,timestamp:Date.now()};return I(l),K(!1),l}catch(e){throw K(!1),e}},el=async(e,s)=>{try{let l=await es();if("admin"!==l.role)return _({open:!0,message:e,userName:l.name.toLowerCase()}),!1;return s(),!0}catch(e){return console.error("Failed to check user role:",e),_({open:!0,message:"Error: ".concat(e.message),userName:""}),!1}},et=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&M(!0);try{let[e,l,t]=await Promise.all([N.default.get(c.fX),N.default.get(n.getClusters),N.default.get(i.getManagedJobs,[{allUsers:!0}])]);O(e);let r=Object.keys(e),a=await Promise.all(r.map(e=>N.default.get(c.yz,[e]))),o=Object.fromEntries(r.map((e,s)=>[e,a[s]])),d=Object.fromEntries(l.map(e=>[e.cluster,e.workspace||"default"])),u={};r.forEach(e=>{u[e]={name:e,totalClusterCount:0,runningClusterCount:0,managedJobsCount:0,clouds:new Set}});let m=0;l.forEach(e=>{let s=e.workspace||"default";u[s]||(u[s]={name:s,totalClusterCount:0,runningClusterCount:0,managedJobsCount:0,clouds:new Set}),u[s].totalClusterCount++,("RUNNING"===e.status||"LAUNCHING"===e.status)&&(u[s].runningClusterCount++,m++),e.cloud&&u[s].clouds.add(e.cloud)});let x=t.jobs||[],h=new Set(w.statusGroups.active),p=0;x.forEach(e=>{let s=e.cluster_name||e.resources&&e.resources.cluster_name;if(s){let l=d[s];l&&u[l]&&h.has(e.status)&&u[l].managedJobsCount++}h.has(e.status)&&p++});let g=Object.values(u).filter(e=>r.includes(e.name)).map(e=>({...e,clouds:Array.isArray(o[e.name])?o[e.name]:[]})).sort((e,s)=>e.name.localeCompare(s.name));s(g),k({runningClusters:m,totalClusters:l.length,managedJobs:p})}catch(e){console.error("Error fetching workspace data:",e),s([]),k({runningClusters:0,totalClusters:0,managedJobs:0})}e&&M(!1)};(0,r.useEffect)(()=>{(async()=>{await y.ZP.preloadForPage("workspaces"),et(!0)})();let e=setInterval(()=>{et(!1)},E);return()=>clearInterval(e)},[]);let er=e=>{let s="asc";J.key===e&&"asc"===J.direction&&(s="desc"),A({key:e,direction:s})},ea=e=>J.key===e?"asc"===J.direction?" ↑":" ↓":"",en=r.useMemo(()=>{if(!e)return[];let s=e;if(P&&""!==P.trim()){let l=P.toLowerCase().trim();s=e.filter(e=>!!(e.name.toLowerCase().includes(l)||e.clouds.some(e=>{let s=S.Z2[e.toLowerCase()]||e;return e.toLowerCase().includes(l)||s.toLowerCase().includes(l)}))||!!(!0===((null==R?void 0:R[e.name])||{}).private?"private":"public").includes(l))}return(0,L.R0)(s,J.key,J.direction)},[e,J,P,R]),ei=e=>{el("cannot delete workspace",()=>{V({confirmOpen:!0,workspaceToDelete:e,deleting:!1,error:null})})},ec=async()=>{if(B.workspaceToDelete){V(e=>({...e,deleting:!0,error:null}));try{await (0,c.zl)(B.workspaceToDelete),Q('Workspace "'.concat(B.workspaceToDelete,'" deleted successfully!')),V({confirmOpen:!1,workspaceToDelete:null,deleting:!1,error:null}),N.default.invalidate(c.fX),await et(!0)}catch(e){console.error("Error deleting workspace:",e),V(e=>({...e,deleting:!1,error:null})),$(e)}}},eo=()=>{V({confirmOpen:!1,workspaceToDelete:null,deleting:!1,error:null})},ed=e=>{el("cannot edit workspace",()=>{Y.push("/workspaces/".concat(e))})};return z&&0===e.length?(0,t.jsxs)("div",{className:"flex justify-center items-center h-64",children:[(0,t.jsx)(m.Z,{}),(0,t.jsx)("span",{className:"ml-2 text-gray-500",children:"Loading workspaces..."})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"fixed top-20 right-4 z-[9999] max-w-md",children:[G&&(0,t.jsx)("div",{className:"bg-green-50 border border-green-200 rounded p-4 mb-4",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-green-400",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})})}),(0,t.jsx)("div",{className:"ml-3",children:(0,t.jsx)("p",{className:"text-sm font-medium text-green-800",children:G})})]}),(0,t.jsx)("div",{className:"ml-auto pl-3",children:(0,t.jsxs)("button",{type:"button",onClick:()=>Q(null),className:"inline-flex rounded-md bg-green-50 p-1.5 text-green-500 hover:bg-green-100",children:[(0,t.jsx)("span",{className:"sr-only",children:"Dismiss"}),(0,t.jsx)("svg",{className:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.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"})})]})})]})}),(0,t.jsx)(p.X,{error:U,title:"Error",onDismiss:()=>$(null)})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between mb-2 h-5",children:[(0,t.jsx)("div",{className:"text-base flex items-center",children:(0,t.jsx)("span",{className:"text-sky-blue leading-none",children:"Workspaces"})}),(0,t.jsxs)("div",{className:"flex items-center",children:[z&&(0,t.jsxs)("div",{className:"flex items-center mr-2",children:[(0,t.jsx)(m.Z,{size:15,className:"mt-0"}),(0,t.jsx)("span",{className:"ml-2 text-gray-500 text-xs",children:"Refreshing..."})]}),(0,t.jsxs)("button",{onClick:()=>{N.default.invalidate(c.fX),N.default.invalidate(n.getClusters),N.default.invalidate(i.getManagedJobs,[{allUsers:!0}]),N.default.invalidateFunction(c.yz),et(!0)},disabled:z,className:"text-sky-blue hover:text-sky-blue-bright flex items-center",children:[(0,t.jsx)(g.Z,{className:"h-4 w-4 mr-1.5"}),!ee&&(0,t.jsx)("span",{children:"Refresh"})]})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsxs)("div",{className:"relative flex-1 max-w-md",children:[(0,t.jsx)("input",{type:"text",placeholder:"Filter workspaces",value:P,onChange:e=>T(e.target.value),className:"h-8 w-full px-3 pr-8 text-sm border border-gray-300 rounded-md focus:ring-1 focus:ring-sky-500 focus:border-sky-500 outline-none"}),P&&(0,t.jsx)("button",{onClick:()=>T(""),className:"absolute right-2 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600",title:"Clear search",children:(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,t.jsx)("button",{onClick:()=>{el("cannot create workspace",()=>{Y.push("/workspace/new")})},disabled:H,className:"ml-4 bg-sky-600 hover:bg-sky-700 text-white flex items-center rounded-md px-3 py-1 text-sm font-medium transition-colors duration-200",title:"Create Workspace",children:H?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Z,{size:12,className:"mr-2"}),(0,t.jsx)("span",{children:"Create Workspace"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Z,{className:"h-4 w-4 mr-2"}),"Create Workspace"]})})]}),0!==e.length||z?(0,t.jsx)(o.Zb,{children:(0,t.jsx)("div",{className:"overflow-x-auto rounded-lg",children:(0,t.jsxs)(d.iA,{className:"min-w-full",children:[(0,t.jsx)(d.xD,{children:(0,t.jsxs)(d.SC,{children:[(0,t.jsxs)(d.ss,{className:"sortable whitespace-nowrap cursor-pointer hover:bg-gray-50",onClick:()=>er("name"),children:["Workspace",ea("name")]}),(0,t.jsxs)(d.ss,{className:"sortable whitespace-nowrap cursor-pointer hover:bg-gray-50 hidden sm:table-cell",onClick:()=>er("totalClusterCount"),children:["Clusters ",ea("totalClusterCount")]}),(0,t.jsxs)(d.ss,{className:"sortable whitespace-nowrap cursor-pointer hover:bg-gray-50 hidden md:table-cell",onClick:()=>er("managedJobsCount"),children:["Jobs",ea("managedJobsCount")]}),(0,t.jsx)(d.ss,{className:"whitespace-nowrap hidden lg:table-cell",children:"Enabled infra"}),(0,t.jsx)(d.ss,{className:"whitespace-nowrap",children:"Actions"})]})}),(0,t.jsx)(d.RM,{children:z&&0===en.length?(0,t.jsx)(d.SC,{children:(0,t.jsx)(d.pj,{colSpan:5,className:"text-center py-6 text-gray-500",children:(0,t.jsxs)("div",{className:"flex justify-center items-center",children:[(0,t.jsx)(m.Z,{size:20,className:"mr-2"}),(0,t.jsx)("span",{children:"Loading..."})]})})}):en.length>0?en.map(e=>{let s=!0===((null==R?void 0:R[e.name])||{}).private;return(0,t.jsxs)(d.SC,{className:"hover:bg-gray-50",children:[(0,t.jsxs)(d.pj,{className:"",children:[(0,t.jsx)("button",{onClick:()=>ed(e.name),disabled:H,className:"text-blue-600 hover:text-blue-600 hover:underline text-left",children:e.name}),(0,t.jsx)("span",{className:"ml-2",children:(0,t.jsx)(D,{isPrivate:s})})]}),(0,t.jsx)(d.pj,{className:"hidden sm:table-cell",children:(0,t.jsxs)("button",{onClick:()=>{Y.push({pathname:"/clusters",query:{workspace:e.name}})},className:"text-gray-700 hover:text-blue-600 hover:underline",children:[e.runningClusterCount," running,"," ",e.totalClusterCount," total"]})}),(0,t.jsx)(d.pj,{className:"hidden md:table-cell",children:(0,t.jsx)("button",{onClick:()=>{Y.push({pathname:"/jobs",query:{workspace:e.name}})},className:"text-gray-700 hover:text-blue-600 hover:underline",children:e.managedJobsCount})}),(0,t.jsx)(d.pj,{className:"hidden lg:table-cell",children:e.clouds.length>0?[...e.clouds].sort().map((s,l)=>{let r=S.Z2[s.toLowerCase()]||s;return(0,t.jsxs)("span",{children:[(0,t.jsx)(Z(),{href:"/infra",className:"inline-flex items-center px-2 py-1 rounded text-sm bg-sky-100 text-sky-800 hover:bg-sky-200 hover:text-sky-900 transition-colors duration-200",children:r}),l<e.clouds.length-1&&" "]},s)}):(0,t.jsx)("span",{className:"text-gray-500 text-sm",children:"-"})}),(0,t.jsxs)(d.pj,{children:[(0,t.jsx)(u.z,{variant:"ghost",size:"sm",onClick:()=>ed(e.name),disabled:H,className:"text-gray-600 hover:text-gray-800 mr-1",children:(0,t.jsx)(j,{className:"w-4 h-4"})}),(0,t.jsx)(u.z,{variant:"ghost",size:"sm",onClick:()=>ei(e.name),disabled:"default"===e.name||H,title:"default"===e.name?"Cannot delete default workspace":"Delete workspace",className:"text-red-600 hover:text-red-700 hover:bg-red-50",children:(0,t.jsx)(v.Z,{className:"w-4 h-4"})})]})]},e.name)}):(0,t.jsx)(d.SC,{children:(0,t.jsx)(d.pj,{colSpan:5,className:"text-center py-6 text-gray-500",children:"No workspaces found"})})})]})})}):(0,t.jsxs)("div",{className:"text-center py-10",children:[(0,t.jsx)("p",{className:"text-lg text-gray-600",children:"No workspaces found."}),(0,t.jsx)("p",{className:"text-sm text-gray-500 mt-2",children:"Create a cluster to see its workspace here."})]}),R&&(0,t.jsx)(h.Vq,{open:W,onOpenChange:F,children:(0,t.jsxs)(h.cZ,{className:"sm:max-w-md md:max-w-lg lg:max-w-xl xl:max-w-2xl w-full max-h-[90vh] flex flex-col",children:[(0,t.jsx)(h.fK,{children:(0,t.jsx)(h.$N,{className:"pr-10",children:"All Workspaces Configuration"})}),(0,t.jsx)("div",{className:"flex-grow overflow-y-auto py-4",children:(0,t.jsx)("pre",{style:{backgroundColor:"#f5f5f5",padding:"16px",borderRadius:"8px",overflowX:"auto",whiteSpace:"pre",wordBreak:"normal"},children:x.ZP.dump(R,{indent:2})})})]})}),(0,t.jsx)(h.Vq,{open:X.open,onOpenChange:e=>{_(s=>({...s,open:e})),e||$(null)},children:(0,t.jsxs)(h.cZ,{className:"sm:max-w-md transition-all duration-200 ease-in-out",children:[(0,t.jsxs)(h.fK,{children:[(0,t.jsx)(h.$N,{children:"Permission Denied"}),(0,t.jsx)(h.Be,{children:H?(0,t.jsxs)("div",{className:"flex items-center py-2",children:[(0,t.jsx)(m.Z,{size:16,className:"mr-2"}),(0,t.jsx)("span",{children:"Checking permissions..."})]}):(0,t.jsx)(t.Fragment,{children:X.userName?(0,t.jsxs)(t.Fragment,{children:[X.userName," is logged in as non-admin and ",X.message,"."]}):X.message})})]}),(0,t.jsx)(h.cN,{children:(0,t.jsx)(u.z,{variant:"outline",onClick:()=>_(e=>({...e,open:!1})),disabled:H,children:"OK"})})]})}),(0,t.jsx)(h.Vq,{open:B.confirmOpen,onOpenChange:e=>{e||(eo(),$(null))},children:(0,t.jsxs)(h.cZ,{className:"sm:max-w-md",children:[(0,t.jsxs)(h.fK,{children:[(0,t.jsx)(h.$N,{children:"Delete Workspace"}),(0,t.jsxs)(h.Be,{children:['Are you sure you want to delete workspace "',B.workspaceToDelete,'"? This action cannot be undone.']})]}),(0,t.jsxs)(h.cN,{children:[(0,t.jsx)(u.z,{variant:"outline",onClick:eo,disabled:B.deleting,children:"Cancel"}),(0,t.jsx)(u.z,{variant:"destructive",onClick:ec,disabled:B.deleting,children:B.deleting?"Deleting...":"Delete"})]})]})})]})}},1163:function(e,s,l){e.exports=l(6036)},2003:function(e,s,l){"use strict";l.d(s,{j:function(){return n}});var t=l(512);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=t.W,n=(e,s)=>l=>{var t;if((null==s?void 0:s.variants)==null)return a(e,null==l?void 0:l.class,null==l?void 0:l.className);let{variants:n,defaultVariants:i}=s,c=Object.keys(n).map(e=>{let s=null==l?void 0:l[e],t=null==i?void 0:i[e];if(null===s)return null;let a=r(s)||r(t);return n[e][a]}),o=l&&Object.entries(l).reduce((e,s)=>{let[l,t]=s;return void 0===t||(e[l]=t),e},{});return a(e,c,null==s?void 0:null===(t=s.compoundVariants)||void 0===t?void 0:t.reduce((e,s)=>{let{class:l,className:t,...r}=s;return Object.entries(r).every(e=>{let[s,l]=e;return Array.isArray(l)?l.includes({...i,...o}[s]):({...i,...o})[s]===l})?[...e,l,t]:e},[]),null==l?void 0:l.class,null==l?void 0:l.className)}}}]);
|
/sky/dashboard/out/_next/static/{gVXjeFhvtWXyOsx9xYNvM → Et5IQ5Y3WvH608nXClo4z}/_buildManifest.js
RENAMED
File without changes
|
/sky/dashboard/out/_next/static/{gVXjeFhvtWXyOsx9xYNvM → Et5IQ5Y3WvH608nXClo4z}/_ssgManifest.js
RENAMED
File without changes
|
{skypilot_nightly-1.0.0.dev20250716.dist-info → skypilot_nightly-1.0.0.dev20250717.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|