coder-config 0.41.19 → 0.41.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/constants.js +1 -1
- package/lib/loops.js +1 -26
- package/package.json +1 -1
- package/ui/dist/assets/{index-BtHQh9qm.js → index-CySxCEgN.js} +134 -134
- package/ui/dist/index.html +1 -1
- package/ui/routes/configs.js +3 -1
package/ui/dist/index.html
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
<!-- PWA Manifest -->
|
|
21
21
|
<link rel="manifest" href="/manifest.json">
|
|
22
|
-
<script type="module" crossorigin src="/assets/index-
|
|
22
|
+
<script type="module" crossorigin src="/assets/index-CySxCEgN.js"></script>
|
|
23
23
|
<link rel="stylesheet" crossorigin href="/assets/index-DN9CerwX.css">
|
|
24
24
|
</head>
|
|
25
25
|
<body>
|
package/ui/routes/configs.js
CHANGED
|
@@ -22,7 +22,9 @@ function getConfigs(manager, projectDir) {
|
|
|
22
22
|
* Returns MCPs that are enabled by parent configs but not by this level
|
|
23
23
|
*/
|
|
24
24
|
function getInheritedMcps(manager, projectDir, configDir) {
|
|
25
|
-
|
|
25
|
+
// Use configDir (the directory being edited) to find the hierarchy,
|
|
26
|
+
// not projectDir (the UI's active project)
|
|
27
|
+
const configs = manager.findAllConfigs(configDir);
|
|
26
28
|
const homeDir = process.env.HOME || '';
|
|
27
29
|
|
|
28
30
|
// Find the index of the current config in the hierarchy
|