git-daemon 0.1.4 → 0.1.6

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/.eslintrc.cjs CHANGED
@@ -2,17 +2,17 @@ module.exports = {
2
2
  root: true,
3
3
  env: {
4
4
  node: true,
5
- es2020: true
5
+ es2020: true,
6
6
  },
7
7
  parser: "@typescript-eslint/parser",
8
8
  plugins: ["@typescript-eslint", "prettier"],
9
9
  extends: [
10
10
  "eslint:recommended",
11
11
  "plugin:@typescript-eslint/recommended",
12
- "plugin:prettier/recommended"
12
+ "plugin:prettier/recommended",
13
13
  ],
14
14
  rules: {
15
- "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }]
15
+ "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
16
16
  },
17
- ignorePatterns: ["dist/", "node_modules/", "workspace/"]
17
+ ignorePatterns: ["dist/", "node_modules/", "workspace/"],
18
18
  };
package/README.md CHANGED
@@ -39,7 +39,8 @@ npm install
39
39
  npm run daemon
40
40
  ```
41
41
 
42
- The daemon listens on `http://127.0.0.1:8790` by default.
42
+ The daemon listens on `http://127.0.0.1:8790` by default, and can also expose
43
+ HTTPS on `https://127.0.0.1:8791` when enabled.
43
44
 
44
45
  ## HTTPS support
45
46
 
package/design.md CHANGED
@@ -64,6 +64,7 @@ These components are **not part of this project**; they are listed only to defin
64
64
 
65
65
  * Binds to `127.0.0.1` only
66
66
  * Implements a small HTTP JSON API + streaming logs (SSE)
67
+ * Optional HTTPS listener can be enabled alongside HTTP
67
68
  * Runs **system git** for native credentials & compatibility
68
69
  * Runs **package manager installs** in sandboxed repos
69
70
  * Provides OS integrations: open folder/terminal/VS Code
@@ -85,6 +86,7 @@ These components are **not part of this project**; they are listed only to defin
85
86
  #### 1) Bind to loopback only
86
87
 
87
88
  * Listen on `127.0.0.1:<daemonPort>` (not `0.0.0.0`)
89
+ * HTTPS listener may also bind to loopback when enabled
88
90
  * Reject requests to non-loopback interfaces.
89
91
 
90
92
  #### 2) Origin allowlist (hard gate)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-daemon",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "main": "dist/daemon.js",