@ian2018cs/agenthub 0.1.81 → 0.1.82

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ian2018cs/agenthub",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "description": "A web-based UI for AI Agents",
5
5
  "type": "module",
6
6
  "main": "server/index.js",
@@ -51,7 +51,7 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@anthropic-ai/claude-agent-sdk": "^0.2.79",
54
+ "@anthropic-ai/claude-agent-sdk": "^0.2.80",
55
55
  "@codemirror/lang-css": "^6.3.1",
56
56
  "@codemirror/lang-html": "^6.4.9",
57
57
  "@codemirror/lang-javascript": "^6.2.4",
@@ -410,6 +410,8 @@ export class CommandHandler {
410
410
  }
411
411
 
412
412
  async _handleDeleteSession(feishuOpenId, chatId, messageId) {
413
+ const binding = feishuDb.getBinding(feishuOpenId);
414
+ if (!binding) { return this._requireAuth(chatId, messageId); }
413
415
 
414
416
  const state = feishuDb.getSessionState(feishuOpenId) || {};
415
417
  const cwd = state.cwd;