Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

463 B
Raw Blame
export function makeGhostManual64KiBFixture(): {
  content: string;
  wire: string;
} {
  const sentinel = "GHOST_MANUAL_TOOL_RESULT_ONLY_20260809";
  const unit = '中文 "quote" \\ slash\n';
  let content = `${sentinel}\n`;
  while (
    Buffer.byteLength(`${content}${unit}END_${sentinel}`, "utf8") <=
    64 * 1024
  ) {
    content += unit;
  }
  content += `END_${sentinel}`;
  return { content, wire: JSON.stringify({ ok: true, manual: [], content }) };
}