Communitygithub.com

SUGE2016/diaps-chataps

>- Develop or debug ChatAPS (APS app under chataps/): DiAgent bridge, MCP tools, CP-SAT solvers, board UI, runs persistence. Use when editing chataps/, docs/csv, diagent_runtime, or APS scheduling behavior.

¿Qué es diaps-chataps?

diaps-chataps is a Claude Code agent skill that >- Develop or debug ChatAPS (APS app under chataps/): DiAgent bridge, MCP tools, CP-SAT solvers, board UI, runs persistence. Use when editing chataps/, docs/csv, diagent_runtime, or APS scheduling behavior.

Compatible con✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/SUGE2016/diaps-chataps/tree/HEAD/.cursor/skills/chataps-dev

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

ChatAPS 开发 Skill

必读

  1. docs/AGENT_CONTRACT.md — 边界与工具契约
  2. chataps/diagent_runtime/README.md — 如何指向 DiAgent
  3. chataps/diagent_runtime/skills/chataps-aps/SKILL.md — 运行时 Agent Skill(给 DiAgent,不是给 Cursor)

目录速查

路径用途
chataps/server.pyFastAPI UI + /api/* + 挂载 MCP
chataps/mcp_aps.pyMCP 工具导出
chataps/tools.pySTATE + 业务工具
chataps/solver/heat_cpsat / schedule_cpsat
chataps/diagent_bridge.pySSE ↔ DiAgent
chataps/aps_context.py看板快照注入 system
chataps/runs_store.pyrun / chat 落盘
chataps/static/看板 + 排产智能体 UI
docs/csv/试验主数据
docs/demo-video/产品演示视频物料;生成流程见个人 Skill product-demo-video

联调检查清单

  1. ChatAPS python server.py → :8010
  2. DiAgent env 指向 diagent_runtime,:8100
  3. DiAgent 日志应显示 MCP 工具数(含 ui_navigate)
  4. 急单后锯床同资源应 gap≈0(资源约束排程,非全局串行)
  5. 刷新后对话与看板可恢复

改动原则

  • 最小化;先方案后改码。
  • 新工具:同时改 tools.py、mcp_aps.py、runtime SKILL.md、契约表。
  • 不把密钥写入文档示例的真实值。

Skills relacionados