Skip to content

helloagents 4.0.5-beta.1 的 notify addon 硬编码.codex #98

Description

@Mejituu

src/addons/notify.mjs 的 buildRouteInstruction(第 222-233 行):

function buildRouteInstruction(skillName, canonicalName, home) {
  const skillPath = join(home, '.codex', 'helloagents', 'skills', canonicalName, 'SKILL.md')  // ← 写死 '.codex'
    .replaceAll('\\', '/')
  return [
    `[HelloAGENTS] 检测到命令 ~${skillName},已自动路由到 ${canonicalName} 技能。`,
    `请立即读取技能文件 \`${skillPath}\`,`,
    ...
  ]
}
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions