The username input was conditionally hidden when it had a value, causing the field to disappear and focus to jump to password when typing. Fixed by: 1. Always rendering the username input (removed conditional) 2. Using controlled input with value prop 3. Only auto-focus password when username is already entered This fixes the focus-jumping bug that made it impossible to enter usernames.
96 lines
4.2 KiB
JSON
96 lines
4.2 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"mcp__plugin_context-mode_context-mode__ctx_batch_execute",
|
|
"mcp__plugin_context-mode_context-mode__ctx_search",
|
|
"Bash(git add:*)",
|
|
"Bash(git commit -m ':*)",
|
|
"mcp__plugin_context-mode_context-mode__ctx_execute",
|
|
"Bash(git commit -m 'docs: update SESSION_STATE cu status [C-01] JWT auth COMPLET:*)",
|
|
"Bash(git commit -m 'docs: final SESSION_STATE — ALL TASKS COMPLETE v1.3.5:*)",
|
|
"Bash(git rebase:*)",
|
|
"Bash(git filter-branch:*)",
|
|
"Bash(git reset:*)",
|
|
"Bash(git commit -m 'feat: implement JWT Bearer authentication on all routers [C-01]:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git branch:*)",
|
|
"Bash(pip install:*)",
|
|
"Bash(sqlite3 data/inventory.db \"SELECT username, role, origin, hashed_password FROM users;\")",
|
|
"Bash(sqlite3 data/inventory.db \".schema users\")",
|
|
"Bash(sqlite3 data/inventory.db \"SELECT * FROM users;\")",
|
|
"Bash(git restore:*)",
|
|
"Bash(pkill -f \"uvicorn\")",
|
|
"Bash(docker-compose build:*)",
|
|
"Bash(docker version:*)",
|
|
"Bash(docker compose version:*)",
|
|
"Bash(docker compose:*)",
|
|
"Bash(open -a Docker)",
|
|
"Bash(dockerd)",
|
|
"Bash(brew services:*)",
|
|
"Bash(colima start:*)",
|
|
"Bash(colima status:*)",
|
|
"Bash(colima stop:*)",
|
|
"Bash(bash *)",
|
|
"Bash(npm run *)",
|
|
"Bash(npm test *)",
|
|
"Bash(python3 *)",
|
|
"Bash(ls -lh aInventory-PROD-v*.zip)",
|
|
"Bash(npm install *)",
|
|
"Bash(/Library/Developer/CommandLineTools/usr/bin/git commit *)",
|
|
"Bash(/Library/Developer/CommandLineTools/usr/bin/git add *)",
|
|
"Bash(command -v npx)",
|
|
"Bash(cat)",
|
|
"Read(//tmp/**)",
|
|
"Bash(save-version --help)",
|
|
"Bash(git --version)",
|
|
"mcp__plugin_context-mode_context-mode__ctx_stats",
|
|
"mcp__plugin_context-mode_context-mode__ctx_execute_file",
|
|
"Bash(git checkout *)",
|
|
"Bash(git stash *)",
|
|
"Bash(python -m pytest backend/tests/ -v --tb=short)",
|
|
"Bash(sed -i 's|\"/api/users|\"/users|g' backend/tests/test_users.py)",
|
|
"Bash(sed -i 's|\"/api/items|\"/items|g' backend/tests/test_items.py)",
|
|
"Bash(sed -i 's|\"/api/categories|\"/categories|g' backend/tests/test_categories.py)",
|
|
"Bash(sed -i 's|\"/api/operations|\"/operations|g' backend/tests/test_operations.py)",
|
|
"Bash(sed -i 's|\"/api/operations|\"/operations|g' backend/tests/test_offline_sync.py)",
|
|
"Bash(curl -sf http://localhost:8906/)",
|
|
"Bash(curl -sf http://localhost:3000/)",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:3000/)",
|
|
"Bash(NEXT_PUBLIC_API_URL=http://localhost:8906 npm run dev -- --port 3000)",
|
|
"Bash(echo \"Frontend PID: $!\")",
|
|
"Bash(curl -sf http://localhost:3000)",
|
|
"Bash(curl -s http://localhost:3000/login)",
|
|
"Bash(curl -s http://localhost:8906/users)",
|
|
"Bash(curl -v http://localhost:8906/users)",
|
|
"Bash(NEXT_PUBLIC_API_URL=http://localhost:8916 npm run dev -- --port 8917)",
|
|
"Bash(curl -sf http://localhost:8917)",
|
|
"Bash(xargs sed *)",
|
|
"Bash(sed -i -e 's/\\\\btext-slate-100\\\\b/text-secondary/g' -e s/placeholder:text-slate-700/placeholder:text-muted/g -e s/hover:text-slate-300/hover:text-secondary/g app/page.tsx)",
|
|
"Bash(sed -i 's/\\\\btext-slate-300\\\\b/text-secondary/g' app/page.tsx)",
|
|
"Bash(npx tsc *)",
|
|
"Bash(python -m pytest backend/tests/ -q)",
|
|
"Bash(git pull *)",
|
|
"Bash(git rm *)",
|
|
"Bash(git merge *)",
|
|
"Bash(git tag *)",
|
|
"mcp__gemini-cli__ask-gemini",
|
|
"Bash(chmod +x /tmp/gitignore_audit.sh)",
|
|
"Bash(/tmp/gitignore_audit.sh)",
|
|
"Bash(chmod +x /tmp/check_tracked.sh)",
|
|
"Bash(/tmp/check_tracked.sh)",
|
|
"Bash(git check-ignore *)",
|
|
"Bash(python -m pytest backend/tests/test_schema.py -v)",
|
|
"Bash(awk '{print $NF}')",
|
|
"Bash(python *)",
|
|
"Bash(grep -E \"\\\\.\\(py|ts\\)$\")",
|
|
"Bash(grep -E \"\\\\.py$\")",
|
|
"Bash(git worktree *)",
|
|
"Bash(npm list *)",
|
|
"Bash(netstat -tulpn)",
|
|
"Bash(curl -k -v https://192.168.84.131:8918/users/)",
|
|
"Bash(curl -k -s https://192.168.84.131:8918/users/)",
|
|
"Bash(grep -E \"\\\\.\\(tsx|ts|jsx|js\\)$\")"
|
|
]
|
|
}
|
|
}
|