@tungcorn/spacelens 0.1.1 → 0.1.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.
package/README.md CHANGED
@@ -3,9 +3,10 @@
3
3
  SpaceLens is native C++ storage intelligence for Windows.
4
4
 
5
5
  This npm package is an installation channel. It contains the complete
6
- v0.1.1 distribution: the desktop GUI and the read-only CLI, plus the Qt
7
- 6.8.3 runtime those binaries need. Node and npm are required only to
8
- install and launch this package. SpaceLens itself remains native C++.
6
+ v0.1.3 distribution: the desktop GUI, the read-only CLI, and the
7
+ read-only MCP server, plus the Qt 6.8.3 runtime the GUI needs. Node
8
+ and npm are required only to install and launch this package.
9
+ SpaceLens itself remains native C++.
9
10
 
10
11
  This is not a Node SDK. The wrappers do not add commands, transform
11
12
  JSON, or authorize filesystem maintenance.
@@ -31,25 +32,33 @@ download further GitHub or npm assets.
31
32
 
32
33
  ```text
33
34
  spacelens
35
+ spacelens-mcp
34
36
  spacelens-gui
35
37
  ```
36
38
 
37
- CLI examples (real verbs from SpaceLens v0.1.1):
39
+ - `spacelens` command-line storage intelligence
40
+ - `spacelens-mcp` — read-only stdio MCP server for AI agents
41
+ - `spacelens-gui` — native desktop interface
42
+
43
+ CLI examples:
38
44
 
39
45
  ```text
40
46
  spacelens version
41
47
  spacelens help
42
48
  spacelens capabilities --json
43
- spacelens scan C:\path\to\folder --json
44
- spacelens top C:\path\to\folder --json
49
+ spacelens overview C:\path\to\folder --json
50
+ spacelens opportunities C:\path\to\folder --json
45
51
  ```
46
52
 
47
53
  `spacelens ... --json` is safe for scripts and agents: the launcher
48
54
  prints no banner and does not rewrite native stdout.
49
55
 
56
+ `spacelens-mcp` is stdio MCP. Pair it with an MCP client. The
57
+ launcher prints no banner; stdout is protocol only.
58
+
50
59
  ## Safety
51
60
 
52
- The CLI is read-only.
61
+ The CLI and MCP adapter are read-only.
53
62
 
54
63
  ```text
55
64
  spacelens capabilities --json
@@ -57,14 +66,14 @@ spacelens capabilities --json
57
66
 
58
67
  reports `filesystem_mutation: false`.
59
68
 
60
- The CLI cannot recycle, restore, delete, move, or declare locations.
69
+ They cannot recycle, restore, delete, move, or declare locations.
61
70
  Filesystem maintenance remains GUI-only and explicitly human-authorized
62
71
  (Recycle Bin, after confirmation). The npm wrapper exposes no mutation
63
- API.
72
+ API. AI recommendation is not filesystem permission.
64
73
 
65
74
  Uninstalling the npm package removes the staged binaries and shims. It
66
75
  does not delete `%LOCALAPPDATA%\SpaceLens\` (indexes, review state,
67
- maintenance history).
76
+ maintenance history, hash cache).
68
77
 
69
78
  ## License
70
79
 
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { exitWithNative } = require('./launch.js');
5
+
6
+ process.exit(exitWithNative('spacelens-mcp.exe', process.argv.slice(2)));
@@ -1,7 +1,7 @@
1
1
  # Written offer of Qt 6.8.3 corresponding source
2
2
 
3
3
  This is a maintainer-controlled written offer for the Qt libraries
4
- dynamically shipped with SpaceLens 0.1.1. It is not legal advice.
4
+ dynamically shipped with SpaceLens 0.1.3. It is not legal advice.
5
5
  It is not the SpaceLens MIT license. Qt remains under the licenses
6
6
  declared by the Qt 6.8.3 kit.
7
7
 
@@ -9,10 +9,13 @@ declared by the Qt 6.8.3 kit.
9
9
 
10
10
  The SpaceLens maintainer offers to give you a copy of the Corresponding
11
11
  Source for the Qt 6.8.3 modules and plugins actually distributed with
12
- `spacelens-v0.1.1-windows-x64.zip`, for as long as SpaceLens continues
12
+ `spacelens-v0.1.3-windows-x64.zip`, for as long as SpaceLens continues
13
13
  to distribute those binaries and for at least three years after each
14
14
  such distribution. The same offer remains in force for the historical
15
- v0.1.0 GUI-only archive `spacelens-gui-v0.1.0-windows-x64.zip`.
15
+ v0.1.2 unified archive `spacelens-v0.1.2-windows-x64.zip`, the
16
+ historical v0.1.1 unified archive `spacelens-v0.1.1-windows-x64.zip`,
17
+ and the historical v0.1.0 GUI-only archive
18
+ `spacelens-gui-v0.1.0-windows-x64.zip`.
16
19
 
17
20
  The source offered is the official Qt 6.8.3 open-source source archive
18
21
  identified in `packaging/qt-source/SOURCE_IDENTITY.txt`:
package/native/README.txt CHANGED
@@ -1,17 +1,19 @@
1
1
  SpaceLens (complete Windows distribution)
2
2
 
3
- This archive is the recommended SpaceLens install. It contains both
3
+ This archive is the recommended SpaceLens install. It contains three
4
4
  interfaces of the same product:
5
5
 
6
6
  spacelens-gui.exe desktop analyzer
7
7
  spacelens.exe read-only CLI for terminals, scripts, and agents
8
+ spacelens-mcp.exe read-only stdio MCP server for AI harnesses
8
9
 
9
10
  Cleanup Review and Recycle Bin maintenance stay human-authorized in the
10
- GUI. The CLI in this folder cannot delete, recycle, restore, move, or
11
- declare locations. `spacelens capabilities --json` reports
12
- filesystem_mutation: false.
11
+ GUI. The CLI and MCP adapter in this folder cannot delete, recycle,
12
+ restore, move, or declare locations. `spacelens capabilities --json`
13
+ reports filesystem_mutation: false. AI recommendation is not
14
+ filesystem permission.
13
15
 
14
- Do not also install the optional CLI-only archive if you already have
16
+ Do not also install the optional headless archive if you already have
15
17
  this complete package. Both expose the `spacelens` command.
16
18
 
17
19
  The official Microsoft Visual C++ Redistributable (x64) is a runtime
@@ -19,12 +21,12 @@ prerequisite. Qt runtime libraries in this folder were deployed with
19
21
  windeployqt --no-compiler-runtime --no-system-d3d-compiler
20
22
  --no-system-dxc-compiler from the Qt 6.8.3 shared kit.
21
23
 
22
- v0.1.1 prerelease binaries are unsigned.
24
+ v0.1.3 binaries are unsigned.
23
25
 
24
26
  SpaceLens-owned files in this archive are licensed under MIT.
25
27
  See LICENSE. Qt remains under its own licenses (LGPL-3.0-only option
26
- for this dynamic build). Qt is not MIT. Adding spacelens.exe to this
27
- archive does not change Qt's license.
28
+ for this dynamic build). Qt is not MIT. Adding spacelens.exe or
29
+ spacelens-mcp.exe to this archive does not change Qt's license.
28
30
 
29
31
  licenses\ holds:
30
32
  - verbatim GNU LGPL-3.0 and GPL-3.0 texts
@@ -1,7 +1,7 @@
1
1
  # Written offer of Qt 6.8.3 corresponding source
2
2
 
3
3
  This is a maintainer-controlled written offer for the Qt libraries
4
- dynamically shipped with SpaceLens 0.1.1. It is not legal advice.
4
+ dynamically shipped with SpaceLens 0.1.3. It is not legal advice.
5
5
  It is not the SpaceLens MIT license. Qt remains under the licenses
6
6
  declared by the Qt 6.8.3 kit.
7
7
 
@@ -9,10 +9,13 @@ declared by the Qt 6.8.3 kit.
9
9
 
10
10
  The SpaceLens maintainer offers to give you a copy of the Corresponding
11
11
  Source for the Qt 6.8.3 modules and plugins actually distributed with
12
- `spacelens-v0.1.1-windows-x64.zip`, for as long as SpaceLens continues
12
+ `spacelens-v0.1.3-windows-x64.zip`, for as long as SpaceLens continues
13
13
  to distribute those binaries and for at least three years after each
14
14
  such distribution. The same offer remains in force for the historical
15
- v0.1.0 GUI-only archive `spacelens-gui-v0.1.0-windows-x64.zip`.
15
+ v0.1.2 unified archive `spacelens-v0.1.2-windows-x64.zip`, the
16
+ historical v0.1.1 unified archive `spacelens-v0.1.1-windows-x64.zip`,
17
+ and the historical v0.1.0 GUI-only archive
18
+ `spacelens-gui-v0.1.0-windows-x64.zip`.
16
19
 
17
20
  The source offered is the official Qt 6.8.3 open-source source archive
18
21
  identified in `packaging/qt-source/SOURCE_IDENTITY.txt`:
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tungcorn/spacelens",
3
- "version": "0.1.1",
4
- "description": "Native Windows storage intelligence. This package installs the desktop GUI and the read-only CLI.",
3
+ "version": "0.1.3",
4
+ "description": "Native Windows storage intelligence. This package installs the desktop GUI, the read-only CLI, and the read-only MCP server.",
5
5
  "license": "MIT",
6
6
  "author": "tungcorn",
7
7
  "homepage": "https://github.com/tungcorn/spacelens",
@@ -19,6 +19,7 @@
19
19
  "disk",
20
20
  "cli",
21
21
  "gui",
22
+ "mcp",
22
23
  "disk-usage"
23
24
  ],
24
25
  "os": [
@@ -32,7 +33,8 @@
32
33
  },
33
34
  "bin": {
34
35
  "spacelens": "bin/spacelens.js",
35
- "spacelens-gui": "bin/spacelens-gui.js"
36
+ "spacelens-gui": "bin/spacelens-gui.js",
37
+ "spacelens-mcp": "bin/spacelens-mcp.js"
36
38
  },
37
39
  "files": [
38
40
  "bin/",