Commit Graph
291 Commits
Author SHA1 Message Date
yokowu a0087324e1 修复删除虚拟机后任务未结束 2026-07-07 14:34:42 +08:00
yokowu 7e1aa147a5 优化虚拟机回收活动校验 2026-07-07 14:13:34 +08:00
yokowu e11c007314 修复虚拟机空闲回收误判 2026-07-07 12:32:50 +08:00
yawei.li a5a52bc80b fix: GitHub PAT 模式下仓库列表总数为 0
/user/repos 不像 /installation/repositories 那样返回 total_count,
改为从响应 Link 头的 LastPage 推算总数。
2026-07-06 09:28:36 +00:00
Yoko f973ccf69d Merge pull request #788 from chaitin/fix/stream-first-user-input-content-fallback
修复新建任务首条输入回放缺失
2026-07-02 19:46:10 +08:00
yokowu ad5def4897 修复新建任务首条输入回放缺失 2026-07-02 18:55:11 +08:00
Yoko f95fc55d21 Merge pull request #787 from chaitin/feat-wechat-defaultback
feat: 非二维码关注而来的用户使用更官方的自动回复
2026-07-02 18:12:47 +08:00
acaicai be4474ecdb feat: 非二维码关注而来的用户使用更官方的自动回复 2026-07-02 17:37:52 +08:00
Yoko 553df536b4 Merge pull request #786 from chaitin/fix/region-aware-backend-text
后端通知文案按区域输出
2026-07-02 15:07:51 +08:00
yokowu c75118b9b0 后端通知文案按区域输出 2026-07-02 14:58:42 +08:00
acaicai eb929f4d49 feat: summary 适配多语言 2026-06-30 20:02:58 +08:00
Yoko b2a1d8ea31 Merge pull request #769 from chaitin/feat-repolist-page
feat: get repo list support pagenation
2026-06-30 14:31:25 +08:00
acaicai 19600b9878 feat: get repo list support pagenation 2026-06-30 14:26:18 +08:00
yokowu d0d9735d0a 透传任务消息 seq 字段 2026-06-30 11:01:34 +08:00
yokowu e91e5ccb0a refactor: 清理附件对象存储注入 2026-06-25 19:12:19 +08:00
Yoko 5858c6657d Merge pull request #749 from chaitin/feat/oidc-member-manager-license
refactor: OIDC 自动创建成员委托成员管理
2026-06-25 17:53:44 +08:00
yokowu a2fe81067a refactor: 移除 OIDC 仓储自动创建成员 2026-06-25 17:07:31 +08:00
yokowu 8ade576913 refactor: OIDC 自动创建成员委托成员管理 2026-06-25 17:06:01 +08:00
yokowu a01e355470 feat: 扩展成员管理 OIDC 自动创建接口 2026-06-25 17:04:01 +08:00
yokowu d7673d5d9c fix: 限制附件资源路径转换条件 2026-06-25 16:00:03 +08:00
yokowu c9dbce92ea fix: 修复私有化对象资源访问地址 2026-06-25 15:16:48 +08:00
yokowu 60bcf8b910 chore: opencode 配置增加 permission 字段 2026-06-25 11:01:01 +08:00
Yoko bdadc0c32a Merge pull request #739 from chaitin/fix-dispatch-exclude-orphans
fix(skills): /api/v1/skills 接口不返回被禁用或已废弃的 skill
2026-06-24 17:48:27 +08:00
yokowu 8dd256eb79 feat: 接入 Google 和 GitHub OAuth 登录后端 2026-06-24 16:40:33 +08:00
xmv97andClaude Opus 4.7 cb0240620d fix(skill): /api/v1/skills hides disabled skills entirely
The user-facing skill list endpoint relied on the picker contract of
ListSkillsForListingScoped, which intentionally returns disabled rows so
admin pickers can render them as greyed-out chips. The user-facing list
should not surface disabled skills at all — the agent task-creation UI
has no use for them — so filter !Enabled in the handler.

The repo behavior is unchanged so admin / team callers keep their
greyed-chip view.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-24 07:02:20 +00:00
xmv97andClaude Opus 4.7 b61ff56fcb fix(agentresource): scoped dispatch filters is_orphan=true rows
ListActiveSkillsScoped / ListActivePluginsScoped now include
IsOrphanEQ(false) alongside IsDeletedEQ(false) + EnabledEQ(true).
Orphaned skills/plugins (parent repo soft-deleted, or the name
disappeared from the remote source) drop out of dispatch so deleted
repos stop bleeding into agent tasks.

The legacy ListActiveSkills / ListActivePlugins paths are deliberately
unchanged — TestListActiveSkills_KeepsOrphans codifies the "explicit
user pick wins, orphans allowed" semantic and task.go uses the Scoped
variants anyway. Added regression tests for both scoped paths.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-24 06:52:19 +00:00
yokowu 2e0b95dab3 feat: 为 ServerConfig 增加版本字段 2026-06-23 21:49:59 +08:00
xmv97andClaude Opus 4.7 0baf1a7102 fix(migration): 补软删过滤,避免唯一索引阻塞重建同名资源
agent_skills / agent_plugins 的 (repo_id, name) 唯一索引未带
is_deleted 过滤,mcp_tools 的两个 partial unique 也未带
deleted_at IS NULL,导致软删旧资源后重建/上传同名资源会撞
unique constraint。统一改为 partial unique。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-23 11:07:55 +00:00
yokowu 82149781ff chore: 升级 GoYoko/web 到 v1.7.0 2026-06-23 14:24:05 +08:00
Yoko 3ef1a99a2f Merge pull request #718 from chaitin/fix-extension-package-dir
fix: 设置初始化扩展包目录默认值
2026-06-22 21:30:33 +08:00
yokowu acad0c0f46 fix: 设置初始化扩展包目录默认值 2026-06-22 21:27:51 +08:00
acaicai 1492bed1c3 fix: prompt && max_tokens 限制服务号回复字数 2026-06-22 21:03:05 +08:00
yokowu a691e17a37 feat: 调整服务配置接口 2026-06-22 19:06:19 +08:00
yokowu 48ae50ea8e feat: 新增产品版本查询接口 2026-06-22 18:06:08 +08:00
yokowu 7dc5c5c5fb fix: 规则扩展包导入使用时间版本号 2026-06-22 17:15:46 +08:00
yokowu b4502fe2da feat: 启动导入本地扩展包 2026-06-22 15:41:08 +08:00
yokowu 48b6a9ec4e feat: 扩展包导入全局规则 2026-06-22 15:37:35 +08:00
yokowu 70b77d1377 feat: 扩展包清单支持规则资源 2026-06-22 15:34:56 +08:00
yokowu 0e2da1cdff feat: 记录规则扩展包来源 2026-06-22 15:33:08 +08:00
acaicaiandClaude Opus 4.8 3964774a16 feat(wechat-mp): 公众号文本消息接入知识库自动问答
用户给公众号发文本时,调用 baizhi 知识库(OpenAI 兼容 /share/v1/chat/completions)
自动回复。被动回复 5s 限制下:同步窗口(3.8s)内拿到答案就直接回,超时则回
"正在思考"并由后台用客服消息异步补发。

- pkg/kbqa: 知识库问答客户端(stream=false);cleanForWeChat 把 markdown
  (图片/链接/代码块/行内代码/加粗/斜体/标题/引用角标)清洗成微信纯文本友好格式,
  图片/链接转成裸 URL(微信自动可点)
- pkg/msgpush: 新增 SendCustomTextMessage 客服消息接口(复用 token 刷新重试)
- biz/notify: HandleTextMessage 同步等 3.8s + 超时转客服;MsgId 去重;
  单用户 10 条/分钟限流;答案按 600 字截断且避免切断 URL
- config: WechatMPConfig 增加 qa 段(enabled/base_url/api_key/model)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 14:33:21 +08:00
xmv97andClaude Opus 4.7 850fe496bc feat(task): gate rule injection in getCodingConfigs by includeRules flag
SwitchModel path now passes includeRules=false so rule ConfigFiles are
not re-delivered when switching models; Create path passes true to keep
the original behavior. Tests updated to match the new signature.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-21 08:13:05 +00:00
yokowu 9d76403c25 fix: 创建虚拟机前先写入本地记录 2026-06-18 12:28:11 +08:00
Yoko 5fd15fad9b Merge pull request #708 from chaitin/fix-devbox-agent-resource-location
feat(task): 修改开发容器中硬编码的 agent 资源路径
2026-06-18 11:58:45 +08:00
xmv97andClaude Opus 4.6 8c7f95a797 feat(task): declare skills.paths in opencode config
OpenCode discovers skills from cfg.skills.paths (skill/index.ts), but the
template only shipped instructions + plugin paths. Point skills.paths at the
on-VM .ai-ready/skills dir so unpacked skills are auto-discovered. ${HOME}
is expanded by the agent (os.ExpandEnv over the whole config body).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-17 12:30:17 +00:00
Yoko 178f1e7fc9 Merge pull request #706 from chaitin/feat-transactionlog-ch
feat: sync ch ExecContext method
2026-06-17 20:28:26 +08:00
xmv97andClaude Opus 4.6 2660b70172 feat(task): use ${HOME} placeholder in agent resource paths
Allow the agent to run as a non-root user by replacing the hardcoded
/tmp/codingmatrix-project-tpl base with ${HOME}/.codingmatrix/project-tpl.
The agent expands the env var at runtime via os.ExpandEnv.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-17 20:18:43 +08:00
yokowu 862bf998ff feat: 用户 MCP 聚合团队授权工具 2026-06-17 18:07:23 +08:00
yokowu 7bcdadc092 feat: 团队管理支持 MCP 配置接口 2026-06-17 18:03:44 +08:00
acaicai 0ffc06b8e5 feat: sync ch ExecContext method 2026-06-17 17:59:52 +08:00
yokowu 24f45940b6 feat: 增加 MCP Hub 网关和同步服务 2026-06-17 17:55:36 +08:00