@honlnk/image-studio-companion 0.1.0 → 0.1.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.
package/README.md CHANGED
@@ -221,7 +221,7 @@ rm -rf ~/.gpt-image-studio
221
221
  ## 安全说明
222
222
 
223
223
  - 服务仅监听 `127.0.0.1`,不对外暴露
224
- - CORS 白名单默认只允许 `https://gpt-image.honlnk.com`
224
+ - CORS 白名单默认只允许 `https://image.honlnk.com`
225
225
  - `--channel dev` 会额外允许 `http://127.0.0.1:8888` 和 `http://localhost:8888`
226
226
  - `--allow-origin` 只接受完整 origin,不支持通配符
227
227
  - 非公开端点需要配对后的 Bearer token 鉴权
package/dist/main.js CHANGED
@@ -4,7 +4,7 @@ import { program } from "commander";
4
4
  import { loadCredentials, saveCredentials, clearCredentials, maskApiKey } from "./credentials.js";
5
5
  import { clearSession, getSessionInfo, loadSession } from "./pairingState.js";
6
6
  import { createSecurityConfig } from "./securityConfig.js";
7
- const VERSION = "0.1.0";
7
+ const VERSION = "0.1.1";
8
8
  program
9
9
  .name("gpt-image-studio")
10
10
  .description("GPT Image Studio 本地 CLI Companion")
@@ -1,6 +1,6 @@
1
- const STABLE_ORIGINS = ["https://gpt-image.honlnk.com"];
1
+ const STABLE_ORIGINS = ["https://image.honlnk.com"];
2
2
  const DEV_ORIGINS = [
3
- "https://gpt-image.honlnk.com",
3
+ "https://image.honlnk.com",
4
4
  "http://127.0.0.1:8888",
5
5
  "http://localhost:8888",
6
6
  ];
package/dist/server.js CHANGED
@@ -35,7 +35,7 @@ export async function startServer(opts) {
35
35
  app.get("/health", async () => {
36
36
  return {
37
37
  app: "gpt-image-studio-companion",
38
- version: "0.1.0",
38
+ version: "0.1.1",
39
39
  paired: isPaired(),
40
40
  };
41
41
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honlnk/image-studio-companion",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Local CLI companion for GPT Image Studio image API credential proxying.",
5
5
  "type": "module",
6
6
  "bin": {