@bulolo/hermes-link 0.2.0 → 0.2.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.
@@ -12,8 +12,11 @@ import path2 from "path";
12
12
  import pino from "pino";
13
13
 
14
14
  // src/constants.ts
15
+ import { createRequire } from "module";
16
+ var _require = createRequire(import.meta.url);
17
+ var _pkg = _require("../package.json");
15
18
  var LINK_COMMAND = "hermeslink";
16
- var LINK_VERSION = "0.1.0";
19
+ var LINK_VERSION = _pkg.version;
17
20
  var LINK_DEFAULT_PORT = 52379;
18
21
  var LINK_RUNTIME_DIR_NAME = ".hermeslink";
19
22
  var DEFAULT_LOG_FILE = "hermeslink.log";
package/dist/cli/index.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  saveConfig,
23
23
  startLinkService,
24
24
  writeJsonFile
25
- } from "../chunk-CCKWZNLX.js";
25
+ } from "../chunk-CIUWLPSN.js";
26
26
 
27
27
  // src/cli/index.ts
28
28
  import { mkdir as mkdir2 } from "fs/promises";
package/dist/http/app.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startLinkService
3
- } from "../chunk-CCKWZNLX.js";
3
+ } from "../chunk-CIUWLPSN.js";
4
4
  export {
5
5
  startLinkService
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bulolo/hermes-link",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Hermes Link companion service and CLI for connecting hermes-agent through zhiji",
5
5
  "license": "MIT",
6
6
  "type": "module",