@myassis/gateway 1.0.23 → 1.0.25

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.
@@ -123,7 +123,6 @@ router.post('/create', ensureAgentManager, async (req, res) => {
123
123
  router.put('/:id', ensureAgentManager, async (req, res) => {
124
124
  try {
125
125
  const userId = req.userId;
126
- logger.debug('update agent', req.body);
127
126
  const { name, description, systemPrompt, avatar, config } = req.body;
128
127
  const agentManager = AgentManager_js_1.agentManagerMap.get(userId);
129
128
  const agent = agentManager.updateAgent(req.params.id, {
@@ -0,0 +1,3 @@
1
+ -- Add feedback column to messages table
2
+ -- feedback 存储用户对消息的反馈(如 'like', 'dislike',或 JSON 字符串)
3
+ alter table messages add column feedback text default null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myassis/gateway",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "我的助手 Gateway Service - 本地 AI 网关服务,支持认证、WebSocket 实时通信和任务调度",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "author": "duzhengjie",
42
42
  "dependencies": {
43
- "@myassis/shared": "workspace:*",
43
+ "@myassis/shared": "1.0.19",
44
44
  "@nut-tree/nut-js": "^4.2.0",
45
45
  "axios": "^1.15.2",
46
46
  "bcryptjs": "^2.4.3",