Files
tfm_ainventory/.claude/settings.local.json
Daniel Bedeleanu 51c2a5a4bb simplify: remove image rotation modal, save original image as-is
Removed the rotation/zoom adjustment modal feature. Approach was too complex and
time-consuming without delivering stable results.

New simplified flow:
1. User extracts item with AI
2. Item saved with original image (resized/compressed by backend)
3. No rotation adjustments in frontend
4. Image editing can be implemented as a future feature

This unblocks the workflow and gets users to a working state.
Backend still applies compression/resizing, just no rotation processing.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-22 14:44:00 +03:00

107 lines
4.7 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\\)$\")",
"Bash(pkill -9 -f uvicorn)",
"Bash(grep -E \"\\\\.\\(py|txt\\)$\")",
"Bash(npx vitest *)",
"Bash(sed -i 's/jest\\\\.fn\\(\\)/vi.fn\\(\\)/g' tests/hooks/useAIExtraction.test.ts)",
"Bash(sed -i 's/as jest\\\\.Mock/as any/g' tests/hooks/useAIExtraction.test.ts)",
"Bash(grep -E \"\\\\.tsx?$\")",
"Bash(sqlite3 *)",
"Skill(gsd-resume-work)",
"Bash(git revert *)",
"Skill(gsd-next)",
"Bash(grep -E \"\\\\.\\(tsx|ts\\)$\")"
]
}
}