@yeaft/webchat-agent 0.1.89 → 0.1.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/roleplay.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "0.1.89",
3
+ "version": "0.1.90",
4
4
  "description": "Remote agent for Yeaft WebChat — connects worker machines to the central server",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/roleplay.js CHANGED
@@ -396,6 +396,7 @@ ${workflow}
396
396
 
397
397
  ## 输出格式
398
398
 
399
+ - 不要在回复开头添加角色名称或"XX视角"等标题,对话界面已经显示了角色信息,直接以角色身份开始回复内容
399
400
  - 代码修改使用工具(Read, Edit, Write 等),不要在聊天中贴大段代码
400
401
  - 每个角色专注做自己的事,不要代替其他角色
401
402
  - Review 和 Test 角色如果发现问题,必须切回 Dev 修复后再继续
@@ -463,6 +464,7 @@ Each role switch must include clear handoff information from the previous role:
463
464
 
464
465
  ## Output Format
465
466
 
467
+ - Do not add role names or titles like "XX's perspective" at the beginning of responses; the chat UI already displays role information — start directly with the role's content
466
468
  - Use tools (Read, Edit, Write, etc.) for code changes, don't paste large code blocks in chat
467
469
  - Each role focuses on its own responsibility, don't do other roles' jobs
468
470
  - If Review or Test finds issues, must switch back to Dev to fix before continuing