From fb6b8a6aecdc110fd700953f42396846165f93f1 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 09 Apr 2026 18:07:58 +0800
Subject: [PATCH] chore: 移除 Playwright MCP 并添加 e2e 测试技能
---
.claude/settings.json | 25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/.claude/settings.json b/.claude/settings.json
index 86ae4d0..a874668 100644
--- a/.claude/settings.json
+++ b/.claude/settings.json
@@ -1,15 +1,34 @@
{
"permissions": {
"allow": [
+ "Read(openspec/**)",
+ "Edit(openspec/**)",
"Read(src/**)",
"Edit(src/**)",
"Read(public/**)",
"Edit(public/**)",
+ "Read(example/**)",
+ "Edit(example/**)",
+ "Read(test/**)",
+ "Edit(test/**)",
+
+ "Bash(pnpm run *)",
+ "Bash(pnpm eslint *)",
+ "Bash(pnpm dev:*)",
+ "Bash(pnpm test:run:*)",
+ "Bash(pnpm build:*)",
+ "Bash(pnpm test:*)",
+ "Bash(pnpm exec playwright open:*)",
+ "Bash(pnpm exec playwright test:*)",
+
+ "Bash(openspec *)",
"Bash(openspec new change *)",
"Bash(openspec status *)",
"Bash(openspec instructions *)",
- "Read(D:/AiSim/AdminManager/**)",
- "Bash(find D:/AiSim/AdminManager/src *)"
- ]
+ "Bash(cmd //c \"openspec new change *\")",
+ "Bash(cmd //c \"openspec status *\")",
+ "Bash(cmd //c \"openspec instructions *\")"
+ ],
+ "deny": ["Edit(openspec/docs/old-refactors/**)"]
}
}
--
Gitblit v1.9.1