groove-dev 0.27.34 → 0.27.36
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/.groove-staging/state.json +3 -0
- package/.groove-staging/timeline.json +13 -0
- package/node_modules/@groove-dev/cli/package.json +1 -1
- package/node_modules/@groove-dev/daemon/package.json +1 -1
- package/node_modules/@groove-dev/daemon/src/api.js +12 -3
- package/node_modules/@groove-dev/gui/dist/assets/{index-BoU6IhQI.js → index-Df4O6yJI.js} +62 -62
- package/node_modules/@groove-dev/gui/dist/assets/{index-BnLiWvrh.css → index-Dx7i-7_K.css} +1 -1
- package/node_modules/@groove-dev/gui/dist/index.html +2 -2
- package/node_modules/@groove-dev/gui/package.json +1 -1
- package/node_modules/@groove-dev/gui/src/components/layout/status-bar.jsx +33 -14
- package/node_modules/@groove-dev/gui/src/components/settings/quick-connect.jsx +41 -16
- package/node_modules/@groove-dev/gui/src/stores/groove.js +11 -0
- package/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/daemon/package.json +1 -1
- package/packages/daemon/src/api.js +12 -3
- package/packages/gui/dist/assets/{index-BoU6IhQI.js → index-Df4O6yJI.js} +62 -62
- package/packages/gui/dist/assets/{index-BnLiWvrh.css → index-Dx7i-7_K.css} +1 -1
- package/packages/gui/dist/index.html +2 -2
- package/packages/gui/package.json +1 -1
- package/packages/gui/src/components/layout/status-bar.jsx +33 -14
- package/packages/gui/src/components/settings/quick-connect.jsx +41 -16
- package/packages/gui/src/stores/groove.js +11 -0
|
@@ -2206,10 +2206,19 @@ Keep responses concise. Help them think, don't lecture them about the system the
|
|
|
2206
2206
|
const entries = [];
|
|
2207
2207
|
|
|
2208
2208
|
// Dirs first (sorted), then files (sorted)
|
|
2209
|
-
const
|
|
2210
|
-
.
|
|
2211
|
-
|
|
2209
|
+
const isDir = (e) => {
|
|
2210
|
+
if (e.isDirectory()) return true;
|
|
2211
|
+
if (e.isSymbolicLink()) { try { return statSync(resolve(fullPath, e.name)).isDirectory(); } catch { return false; } }
|
|
2212
|
+
return false;
|
|
2213
|
+
};
|
|
2214
|
+
const dirs = raw.filter((e) => isDir(e) && !IGNORED_NAMES.has(e.name) && !e.name.startsWith('.'))
|
|
2212
2215
|
.sort((a, b) => a.name.localeCompare(b.name));
|
|
2216
|
+
const files = raw.filter((e) => {
|
|
2217
|
+
if (e.name.startsWith('.')) return false;
|
|
2218
|
+
if (e.isFile()) return true;
|
|
2219
|
+
if (e.isSymbolicLink()) { try { return statSync(resolve(fullPath, e.name)).isFile(); } catch { return false; } }
|
|
2220
|
+
return false;
|
|
2221
|
+
}).sort((a, b) => a.name.localeCompare(b.name));
|
|
2213
2222
|
|
|
2214
2223
|
for (const d of dirs) {
|
|
2215
2224
|
const childPath = relPath ? `${relPath}/${d.name}` : d.name;
|