48 lines
2.1 KiB
Markdown
48 lines
2.1 KiB
Markdown
# 2026-06-03 — 远程记忆服务器维护 + GitHub 仓库同步
|
||
|
||
## 上午 ⏰ 08:10
|
||
|
||
尘哥问记忆搜索用的 embedding 配置,发现 memorySearch 配了智谱 `embedding-3` 但没加 apiKey,导致 401 报错。
|
||
|
||
### 修复记忆搜索 embedding
|
||
- 问题:`agents.defaults.memorySearch` 只有 baseUrl 没有 apiKey,智谱返回 401
|
||
- 解决:加上 `apiKey: 7385af…iqaU`(尘哥的 Coding Plan Key)
|
||
- provider 改为 `openai-compatible`
|
||
- 在 `auth.profiles` 加 `openai:default` 条目
|
||
- 重启 gateway 后 `memory_search` 恢复正常 ✅
|
||
|
||
### 清理旧服务
|
||
- `memory-server.service`(v1,端口 3001)崩了(重启 27000+ 次)
|
||
- 停用、disable、删 systemd 文件
|
||
- 只剩 `memory-api.service`(v2,Bun+Hono,端口 3000)正常跑着
|
||
|
||
## 下午 ⏰ 15:15
|
||
|
||
尘哥要求看最新 GitHub 上有用的项目。
|
||
|
||
### GitHub 本周趋势分析
|
||
从 trending 抓取,过滤已安装项目,筛选出对软件开发有用的:
|
||
|
||
**最值得关注 3 个:**
|
||
1. **ECC** (affaan-m) ⭐204k — Agent 性能优化系统(skills/instincts/memory/security)
|
||
2. **codegraph** (colbymchenry) ⭐38.8k — 预索引代码知识图谱
|
||
3. **headroom** (chopratejas) ⭐8.1k — 工具输出压缩 60-95%
|
||
|
||
**其他有用项目:** Understand-Anything、harness、Compound Engineering Plugin、knowledge-work-plugins、agent-governance-toolkit、claude-code-harness、herdr、Scrapling、production-agentic-rag-course、taste-skill、stop-slop
|
||
|
||
### 同步到 Gitea
|
||
4 个项目已同步到 https://git666.u7f.cn/Github/:
|
||
- ✅ headroom(43MB 全量)
|
||
- ✅ codegraph(3MB 全量)
|
||
- ✅ MoneyPrinterTurbo(2MB 代码 only,729MB 原始含资源超出 nginx 413 限制)
|
||
- ✅ ECC(6MB 文本 only,原始 85MB 含图片超出限制)
|
||
|
||
**技术细节:**
|
||
- GitHub 直连不通,通过 iKuuuVPN SOCKS5(127.0.0.1:12002)走代理
|
||
- Gitea nginx 413 限制 ~30MB,大仓库需扁平化单 commit + 排除大资源文件
|
||
- `git clone --bare --filter=blob:none` 超时,改 `git clone --depth=1` + 扁平化
|
||
|
||
## 夜间 ⏰ 20:17
|
||
|
||
保存会话。尘哥说"保持会话"。
|