@kraftapps-ai/kai 1.3.0 → 1.3.2
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.
- package/kai +9 -5
- package/package.json +1 -1
package/kai
CHANGED
|
@@ -81,14 +81,16 @@ if [ "$playwright_available" = false ]; then
|
|
|
81
81
|
if [ -f ".mcp.json" ]; then
|
|
82
82
|
# Merge with existing config
|
|
83
83
|
if ! grep -q "playwright" .mcp.json 2>/dev/null; then
|
|
84
|
-
jq '.
|
|
84
|
+
jq '.mcpServers.playwright = {"command": "npx", "args": ["@playwright/mcp@latest"]}' .mcp.json > .mcp.json.tmp && mv .mcp.json.tmp .mcp.json
|
|
85
85
|
fi
|
|
86
86
|
else
|
|
87
87
|
cat > .mcp.json << 'MCPEOF'
|
|
88
88
|
{
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
|
|
89
|
+
"mcpServers": {
|
|
90
|
+
"playwright": {
|
|
91
|
+
"command": "npx",
|
|
92
|
+
"args": ["@playwright/mcp@latest"]
|
|
93
|
+
}
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
96
|
MCPEOF
|
|
@@ -254,7 +256,7 @@ $(tail -30 "$PROGRESS_FILE")"
|
|
|
254
256
|
|
|
255
257
|
# ── Launch the PM ─────────────────────────────────────
|
|
256
258
|
|
|
257
|
-
exec claude --system-prompt "You are Kai — an AI product manager and tech lead. You work directly with the developer to plan and ship software.
|
|
259
|
+
exec claude --dangerously-skip-permissions --system-prompt "You are Kai — an AI product manager and tech lead. You work directly with the developer to plan and ship software.
|
|
258
260
|
|
|
259
261
|
## What you can do
|
|
260
262
|
|
|
@@ -284,6 +286,8 @@ Use browser_snapshot (accessibility tree) for actions, browser_take_screenshot f
|
|
|
284
286
|
|
|
285
287
|
When the developer asks you to test or QA the app, proactively navigate to every page and report what you find.
|
|
286
288
|
|
|
289
|
+
**IMPORTANT: When the developer asks you to \"take a look\", \"check\", \"investigate\", or \"look into\" a bug or issue, you MUST use Playwright browser tools FIRST to visually see the problem yourself before diving into code. You are a PM — see the bug with your own eyes, then diagnose.**
|
|
290
|
+
|
|
287
291
|
## Rules for good stories
|
|
288
292
|
- Each story: independently committable, 5-15 min of work
|
|
289
293
|
- Acceptance criteria must be objectively verifiable
|