Metona Dev
5fafaa691f
feat: Token 仪表盘支持全局统计,跨会话累计 Token 分析
2026-04-24 12:53:50 +08:00
Metona Dev
08193c5d8e
fix: DBAPI 类型补全 skill 相关方法签名
...
DBAPI 接口缺少 saveSkill/getAllSkills/deleteSkill/clearAllSkills/
searchSkills/incrementSkillUsage 六个方法的类型定义,
导致通过 bridge.db 调用技能相关方法时缺乏类型安全。
2026-04-24 12:46:52 +08:00
Metona Dev
15ad2f3ef3
fix: skills 表增加 summary 列,修复渐进式技能加载数据丢失
...
Skill 接口包含 summary 字段且 extractSkillsFromToolRecords() 会生成摘要,
但 SQLite schema 和 saveSkill() 遗漏了该列,导致保存时 summary 丢失。
- CREATE TABLE 增加 summary TEXT DEFAULT ''
- 兼容迁移:ALTER TABLE 补充 summary 列
- saveSkill() INSERT 语句增加 summary 参数
- SkillRow 接口增加 summary 字段
2026-04-24 12:44:23 +08:00
Metona Dev
9f38d35b1e
fix: 修复 agent-engine 中 abortController 在自动压缩前未定义导致 ReferenceError 的严重 bug
...
compressWithLLM() 调用时引用的 abortController 变量在 while 循环内才定义,
但自动压缩逻辑在 while 循环之前执行,导致运行时 ReferenceError。
修复方式:使用 state 中已有的 AbortController 或创建新的实例。
2026-04-24 12:43:30 +08:00
Metona Dev
8e53a411d6
feat: /compress 上下文压缩 + Skill 渐进式加载
2026-04-24 12:35:49 +08:00
Metona Dev
fe85251738
docs: README.md 补充工具列表、架构图、记忆系统等详细说明
2026-04-24 12:19:18 +08:00
Metona Dev
390161bc32
fix: 版本号统一为 v1-stable-release(非 1.0.0)
2026-04-24 11:44:30 +08:00
Metona Dev
0acff6b6e3
chore: 版本号重置为 v1-stable-release,删除更新日志,重写 README
2026-04-24 11:42:20 +08:00
Metona Dev
4292e7d54c
fix: 补充 memory-manager.ts 中缺失的 logInfo 导入
2026-04-24 11:33:42 +08:00
Metona Dev
f7fb47939d
refactor: 移除人格模式、后台检查、系统诊断、定时任务功能
2026-04-24 11:29:52 +08:00
Metona
14f3878b7c
chore: version bump to 5.1.6
...
7 files synced: package.json, package-lock.json (x2), index.html, README.md, docs/DEVELOPMENT.md, docs/BUILD.md, docs/CHANGELOG.md
2026-04-20 18:22:04 +08:00
Metona
3265b26fba
fix: remove all tool execution timeouts
...
- tool-registry.ts: remove 25s/60s IPC hard timeout on all tools
- browser.ts: remove executeJsWithTimeout wrapper, direct executeJavaScript
- No timeout on any tool — user controls lifecycle
2026-04-20 18:15:57 +08:00
Metona
9999e669d3
fix: browser tool IPC timeout — add executeJsWithTimeout + isBrowserOpen guard
...
- browser.ts: add executeJsWithTimeout() wrapping executeJavaScript with 10-15s timeout
(renderer 冻结时不再无限挂起导致 IPC 25s 超时)
- All browser functions (evaluate/extract/click/type/scroll/screenshot) check isBrowserOpen()
before execution, return clear error instead of auto-recreating empty browser window
- tool-registry.ts: browser tool IPC timeout increased from 25s to 60s
- Root cause: heavy pages (718+ links) can freeze Chromium renderer, executeJavaScript hangs
indefinitely; after browser_close, getAgentBrowser() auto-created blank window confusing agent
2026-04-20 18:10:58 +08:00
Metona Dev
eb275516f3
docs: 根据项目实际同步 README.md 和 docs
2026-04-16 14:03:34 +08:00
Metona Dev
405040c1be
chore: 版本号更新至 3.3.1
2026-04-16 13:54:16 +08:00
Metona Dev
b6c51393f8
fix: 修复图片传输 + 记忆开关 + 统一图标
...
1. fix: 开启工具调用后图片无法传给AI
- agent-engine.ts: images 为空文字时自动生成分析提示
- input-area.ts: 图片+文字合并为单条消息,避免历史消息中图片丢失
2. fix: 记忆弹框自动记忆开关点击无响应
- memory-modal.ts: CSS 类名 memory-toggle → toggle-label,启用完整滑块样式
3. chore: 统一应用图标为科技感羊驼
- llama.png / llama.ico: 霓虹电路风格羊驼图标
2026-04-16 13:50:29 +08:00