mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 14:19:24 +00:00

- Updated `useToolOperation` to include file ID and operation parameters for better tracking. - Enhanced `useToolResources` to utilize refs for blob URL cleanup, improving performance and reducing unnecessary state updates. - Modified `ThumbnailGenerationService` to clarify worker setup and fallback mechanisms, removing excessive logging for cleaner output. - Refactored tool components (Compress, Convert, OCR, Split) to use `useFileActions` for state management, ensuring consistency across tools. - Expanded `FileContextState` and `FileContextActions` to support new file processing features and improved state management. - Added new `FileContextSelectors` for efficient file access and state querying, minimizing re-renders in components.
24 lines
500 B
JSON
24 lines
500 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(chmod:*)",
|
|
"Bash(mkdir:*)",
|
|
"Bash(./gradlew:*)",
|
|
"Bash(grep:*)",
|
|
"Bash(cat:*)",
|
|
"Bash(find:*)",
|
|
"Bash(npm test)",
|
|
"Bash(npm test:*)",
|
|
"Bash(ls:*)",
|
|
"Bash(npx tsc:*)",
|
|
"Bash(npx tsc:*)",
|
|
"Bash(sed:*)",
|
|
"Bash(cp:*)",
|
|
"Bash(npm run typecheck:*)",
|
|
"Bash(npm run:*)",
|
|
"Bash(rm:*)",
|
|
"Bash(timeout 30s npx tsc --noEmit --skipLibCheck)"
|
|
],
|
|
"deny": []
|
|
}
|
|
} |