deckide 3.5.2 → 3.5.3

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.
@@ -44,15 +44,6 @@ export function createFileRouter(workspaces) {
44
44
  const rootInput = c.req.query('path') || DEFAULT_ROOT;
45
45
  const requestedPath = c.req.query('subpath') || '';
46
46
  const rootPath = normalizeWorkspacePath(rootInput);
47
- // When workspaces exist, allow browsing within workspaces and ancestor directories
48
- if (workspaces.size > 0) {
49
- const isAllowed = [...workspaces.values()].some(ws => rootPath === ws.path ||
50
- rootPath.startsWith(ws.path + path.sep) ||
51
- ws.path.startsWith(rootPath + path.sep));
52
- if (!isAllowed) {
53
- throw createHttpError('Path outside registered workspaces', 403);
54
- }
55
- }
56
47
  const target = await resolveSafePath(rootPath, requestedPath);
57
48
  const stats = await fs.stat(target);
58
49
  if (!stats.isDirectory()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deckide",
3
- "version": "3.5.2",
3
+ "version": "3.5.3",
4
4
  "description": "Deck IDE - Browser-based IDE with terminal, file explorer, and git integration",
5
5
  "type": "module",
6
6
  "bin": {