foliko 1.0.46 → 1.0.47

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/Dockerfile CHANGED
@@ -24,7 +24,7 @@ WORKDIR /app
24
24
  RUN npm install -g foliko
25
25
 
26
26
  # 暴露端口
27
- # 8088: Web 服务端口
27
+ # 3000: Web 服务端口
28
28
  EXPOSE 3000
29
29
 
30
30
  # 环境变量(可以在 docker-compose 或运行时覆盖)
@@ -7,7 +7,7 @@ services:
7
7
  container_name: foliko-agent
8
8
  restart: unless-stopped
9
9
  ports:
10
- - "8088:8088"
10
+ - "3000:3000"
11
11
  environment:
12
12
  # AI 配置
13
13
  - FOLIKO_PROVIDER=${FOLIKO_PROVIDER:-minimax}
@@ -15,7 +15,7 @@ services:
15
15
  - FOLIKO_BASE_URL=${FOLIKO_BASE_URL:-}
16
16
  - FOLIKO_API_KEY=${FOLIKO_API_KEY:-}
17
17
  # Web 服务配置
18
- - WEB_PORT=8088
18
+ - WEB_PORT=3000
19
19
  - WEB_HOST=0.0.0.0
20
20
  - WEB_BASE_URL=${WEB_BASE_URL:-}
21
21
  # Telegram 配置(可选)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foliko",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "description": "简约的插件化 Agent 框架",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -162,9 +162,10 @@ class WebPlugin extends Plugin {
162
162
  return {
163
163
  success: true,
164
164
  message: `Server started on ${serverUrl}`,
165
- port: this._port,
166
- host: this._host,
167
- url: serverUrl
165
+ // port: this._port,
166
+ // host: this._host,
167
+ host: serverUrl,
168
+ url:serverUrl,
168
169
  }
169
170
  } catch (err) {
170
171
  this._server = null