@uzqw/shared 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/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ interface RecolxConfig {
9
9
  tokenFile?: string;
10
10
  /** token 落盘目录(测试注入用),默认 ~/.recolx */
11
11
  tokenDir?: string;
12
- /** API base,默认 http://127.0.0.1:8005(本地 dev) */
12
+ /** API base,默认 http://192.168.3.194:8000(局域网 gateway);可经环境变量/实例配置覆盖 */
13
13
  apiBase?: string;
14
14
  /** 授权页地址;缺省 = `${apiBase}/open/oauth/authorize` */
15
15
  authorizationUrl?: string;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/config.ts
2
- var DEFAULT_API_BASE = process.env.RECOLX_API_BASE ?? "http://127.0.0.1:8005";
2
+ var DEFAULT_API_BASE = process.env.RECOLX_API_BASE ?? "http://192.168.3.194:8000";
3
3
  var DEFAULT_CLIENT_ID = process.env.RECOLX_MCP_CLIENT_ID ?? "recolx-mcp";
4
4
  var DEFAULT_REDIRECT_URI = "http://localhost:8199/auth/callback";
5
5
  function resolveConfig(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uzqw/shared",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Shared types, zod schemas, token store and API client for recolx MCP/CLI",
5
5
  "publishConfig": {
6
6
  "access": "public"