hermium 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/bin/hermium.mjs +10 -0
  2. package/package.json +1 -1
package/bin/hermium.mjs CHANGED
@@ -288,6 +288,11 @@ ${pc.bold('Examples:')}
288
288
  `)
289
289
  }
290
290
 
291
+ function cmdVersion() {
292
+ const pkg = JSON.parse(readFileSync(resolve(pkgDir, 'package.json'), 'utf-8'))
293
+ console.log(pkg.version)
294
+ }
295
+
291
296
  // ─── Entrypoint ─────────────────────────────────────────────────────────────
292
297
 
293
298
  const command = process.argv[2] || 'help'
@@ -305,6 +310,11 @@ switch (command) {
305
310
  case 'status':
306
311
  cmdStatus()
307
312
  break
313
+ case 'version':
314
+ case '--version':
315
+ case '-v':
316
+ cmdVersion()
317
+ break
308
318
  case 'help':
309
319
  case '--help':
310
320
  case '-h':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hermium",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Hermium CLI — self-hosted AI chat dashboard for Hermes Agent",
5
5
  "repository": {
6
6
  "type": "git",