@myassis/gateway 1.0.15 → 1.0.16

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.
@@ -11,7 +11,7 @@ const __dirname = path.dirname(__filename);
11
11
  * dist/config/index.js → 上三级 = 包根目录
12
12
  */
13
13
  function getPackageRootDir() {
14
- return path.resolve(__dirname, '..', '..', '..');
14
+ return path.resolve(__dirname, '..', '..');
15
15
  }
16
16
  const getEnvPath = () => {
17
17
  // 1. 用户工作目录(运行时配置优先)
@@ -12,7 +12,7 @@ const logger = getLogger('SessionStore');
12
12
  * ESM 下用 import.meta.url 定位,比 process.execPath 可靠
13
13
  */
14
14
  function getPackageRootDir() {
15
- // dist/SessionStore.js → 包根目录
15
+ // dist/services/session/SessionStore.js → 包根目录
16
16
  return path.resolve(__dirname, '..', '..', '..');
17
17
  }
18
18
  export function getDataDir() {
@@ -1,4 +1,3 @@
1
1
  alter table messages drop column tool_call_id;
2
2
  alter table messages drop column tool_call_name;
3
- alter table messages drop column tool_calls;
4
3
  alter table messages rename column tool_calls_data to tool_calls;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myassis/gateway",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "我的助手 Gateway Service - 本地 AI 网关服务,支持认证、WebSocket 实时通信和任务调度",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",