lithermes-ai 0.8.1 → 0.8.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
- "syncedAt": "2026-06-14T05:53:21.695Z",
2
+ "syncedAt": "2026-06-14T07:32:26.488Z",
3
3
  "source": "source-reference",
4
- "sourceHash": "f07cf5a5062f904d4eed678ebf24314e773ca3f92e5c2d1f95c981437e0c5a5a",
4
+ "sourceHash": "4ec00032263690e3fea1b618c961ae32aaa950db46d5320f4fcc79a844652ab6",
5
5
  "files": [
6
6
  {
7
7
  "path": "NOTICE.md",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  {
51
51
  "path": "plugin.yaml",
52
- "sha256": "e8ab5e17a3812c1caf91d98e2fb3cf72f2c7d4a429723f0887b6eb3abd736648"
52
+ "sha256": "d356b26af023599d32bde33f8c51053fdd4970d8ff710d4d1243d87a438f0f38"
53
53
  },
54
54
  {
55
55
  "path": "skills/ai-slop-remover/SKILL.md",
@@ -1,5 +1,5 @@
1
1
  name: lithermes
2
- version: 0.8.1
2
+ version: 0.8.2
3
3
  description: "Hermes-native workflow toolkit: litgoal durable runtime, 5-lane review orchestrator, Litwork commands, skills, and prompt steering."
4
4
  author: "Hermes Agent"
5
5
  kind: standalone
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lithermes-ai",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "npx/bunx installer for the LitHermes Hermes plugin",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -50,6 +50,15 @@ function installedMatchesManifest(hermesHome, manifest) {
50
50
  });
51
51
  }
52
52
 
53
+ // Version-aware install status (NOT a manifest-integrity check): distinguish a
54
+ // fresh install, a same-version reinstall, and a real upgrade so the message
55
+ // never claims "already up to date" while actually replacing an older version.
56
+ function installStatusLine(installedVersion, packageVersion) {
57
+ if (!installedVersion) return `Installed LitHermes ${packageVersion}`;
58
+ if (installedVersion === packageVersion) return `LitHermes already up to date (${packageVersion})`;
59
+ return `Upgraded LitHermes ${installedVersion} → ${packageVersion}`;
60
+ }
61
+
53
62
  function installLitHermes(flags = {}) {
54
63
  const { hermesHome, hermesRepo } = ensureHermesHome(flags, { forInstall: true });
55
64
  const dest = pluginDest(hermesHome);
@@ -72,7 +81,8 @@ function installLitHermes(flags = {}) {
72
81
  return withLock(hermesHome, () => {
73
82
  onProgress("Inspecting existing plugin");
74
83
  const existingManifest = loadManifest(hermesHome);
75
- const wasUpToDate = fs.existsSync(dest) && installedMatchesManifest(hermesHome, existingManifest);
84
+ const packageVersion = require(path.join(packageRoot, "package.json")).version;
85
+ const installedVersion = fs.existsSync(dest) && existingManifest ? existingManifest.version : null;
76
86
  if (fs.existsSync(dest) && !installedMatchesManifest(hermesHome, existingManifest) && !flags.force) {
77
87
  throw new LitHermesError(`Existing LitHermes plugin at ${dest} is not manifest-owned. Use --force after backing it up.`, 5);
78
88
  }
@@ -92,7 +102,7 @@ function installLitHermes(flags = {}) {
92
102
  }
93
103
  onProgress("Recording install manifest");
94
104
  const manifest = {
95
- version: require(path.join(packageRoot, "package.json")).version,
105
+ version: packageVersion,
96
106
  installedAt: new Date().toISOString(),
97
107
  pluginPath: dest,
98
108
  configPath: path.join(hermesHome, "config.yaml"),
@@ -114,7 +124,7 @@ function installLitHermes(flags = {}) {
114
124
  }
115
125
  }
116
126
  const lines = [
117
- wasUpToDate ? "LitHermes already up to date" : "Installed LitHermes",
127
+ installStatusLine(installedVersion, packageVersion),
118
128
  `plugin: ${dest}`,
119
129
  ];
120
130
  if (patchResult) lines.push(`patches: ${patchResult.changed.length ? patchResult.changed.join(", ") : "none needed"}`);
@@ -152,6 +162,7 @@ function uninstallLitHermes(flags = {}) {
152
162
  module.exports = {
153
163
  assetRoot,
154
164
  installLitHermes,
165
+ installStatusLine,
155
166
  loadManifest,
156
167
  manifestPath,
157
168
  pluginDest,