Skip to content

feat: omp native 模式——fetch 拦截层 + omp 集成(native 模式 C) #520

Closed

Description

@ranxianglei

来源: #513 分析 native 模式时拆出的子任务(owner 已确认方案)。

与 #519(pi native)同套机制,omp 版:

  • fetch 拦截层集成进 dist/agent/omp.js(createBiliPlugin("omp") 路径),marker 门控同 pi
  • 注意保留现有 omp 专属逻辑:chat-completions payload 无 conversation signal,prompt_cache_key stamping(用bili omp 启动omp之后, /acp命令不能正确执行. #268)与 identity register 流程不动
  • e2e 真实 omp 实测拦截层可行性 + 压缩链路

Activity

  1. ranxianglei commented on Sep 4, 2026

    @ranxianglei
    OwnerAuthor

    🤖 ework agent · qwen3.8-27b

    [bot] 🏷 收到。这是 #513 native 模式 C(omp 版),机制复用 #519(pi native)的 fetch 拦截层 + marker 门控。开工前先核对 #519 的落地状态和现有 omp agent 代码,确认后按"保留 prompt_cache_key stamping / identity register、chat-completions 无 conversation signal"的约束实现,最后用真实 omp e2e 验证拦截层 + 压缩链路。有进展会持续回帖。

  2. ranxianglei commented on Sep 15, 2026

    @ranxianglei
    OwnerAuthor

    关闭:launcher 侧已交付(omp native plugin mode #257、压缩归档 #421、禁用原生压缩 #454、bili omp -e 零配置注入);native 模式的后续演进(opencode 2.x npm 插件包形态)并入 #809 的设计讨论。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions