将模型能力迁移为普通插件 - #516
Merged
Merged
Conversation
# Conflicts: # agent/provider.py # tests/test_more_support_modules.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
结果
模型注册表、凭据、默认绑定和执行快照由普通
models插件拥有;OpenAI-compatible、Codex 与 OpenCode Go 是可独立安装的普通 provider 插件,通过models.drivers.v1动态注册。Core、ReAct、Akasha 和其他消费者只依赖 source-neutral 模型资源,不再读取 provider 私有配置。主要变化
models、openai-compatible、codex、opencode-go插件及安装/迁移链。not_stagedschema,均 fail-visible。proactive_feedback@github已在外部 PR akashic-plugins/proactive_feedback#9 改为公共EMBEDDINGS资源。Mobile 身份边界修复
Web/Core 的
client_message_id是 opaque correlation;Mobile wire 的同名字段只接受 ULID/UUIDv7。修复将规则收敛到唯一 durable-envelope → Mobile wire 出口:合法 FrameId 保留,其他来源身份省略。live、resume、旧 inbox 与history.page共用同一投影;不修改 Core 身份、不迁移权威消息,也不递归改写 tool arguments 等 opaque 数据。该修复相对首版废弃方案把新增面从 184 行压到 70 行,少 114 行;生产代码实际新增 32 行。两轮、每轮两位独立 Terra xhigh reviewer 均 PASS。
验证
186 passed0 errors20260830-004915-d436a48dhua-home 真实验收
8de4025aeec42356f13a86197e9a4636abeee52dsha256:abe46eafadc13b36ab255c52b45dd03d7d6bf17d5b5f79e9232e07e40da9ae1cakashic-release doctorhealthy;容器 healthy,restart 0;2236 health 为 readywss://mobile.huashen258.cc/ws返回带签名的server.challengenext=8903、sent=8902、ack=8902、inbox 0integrity_check=okproactive_feedback@githubexact revision38ce15c42090eaaaf245343c52b13eef24622c77;目标插件 doctor healthy,新 generation apply/worker/Dashboard/Mobile UI successhy3路由已到达 driver;上游账号返回 weekly quota reached,属于外部配额状态全局 plugin doctor 仍会因历史 manifest 中已无目录的
content、default_memory两项显示 broken;当前实际插件均加载成功,本 PR 不擅自删除持久配置。清理与恢复点
fb7f54add2df47a4918a018d176f9fd2/srv/data/services/akashic/state/workspace/backups/session-deletions/sessions-3fab9f4f2e2246e0ae25a1b1bf81c184.db/srv/data/services/akashic/backups/pre-mobile-frame-id-repair-20260829-233149/srv/data/services/akashic/backups/pre-final-pr-head-20260830-012015/mnt/data/coding/akasic-agent-backups/model-plugin-before-embedding-handoff-20260829-194525.bundle/srv/data/services/akashic/backups/pre-proactive-feedback-embedding-20260829-230029