Pular para o conteúdo
Kitbay
Skill

heterogeneous-agent

NOASSERTIONAtualizado em 11 de nov. de 202684.974Estrelas no GitHub

A developer skill in the LobeHub repository for working on the pipeline that runs external command-line agents such as Claude Code and Codex inside LobeHub, separate from its server-side agent runtime.

O que a skill ensina

A developer skill in the LobeHub repository for working on the pipeline that runs external command-line agents such as Claude Code and Codex inside LobeHub, separate from its server-side agent runtime. It maps the stages from raw CLI output through the Electron main process, the provider adapters and the executor that saves messages, to the UI. When something breaks the agent checks raw output first, then adapter output, then persistence, and writes a focused test before fixing. It lists rules about tool-call IDs, step boundaries, subagent threads and how a dispatched run gets its identity, plus symptoms such as duplicated chunks, orphaned tool messages or stuck loading bubbles with the first file to inspect for each.

O que faz

  • Trace external agent output stage by stage
  • Check tool-call and step invariants
  • Match symptoms to likely causes
  • Write a focused test before fixing