tidyf 1.0.2 → 1.1.0
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/README.md +11 -0
- package/dist/cli.js +20300 -16019
- package/dist/index.js +18473 -16331
- package/package.json +57 -56
- package/src/cli.ts +51 -15
- package/src/commands/config.ts +70 -1
- package/src/commands/organize.ts +696 -43
- package/src/commands/profile.ts +943 -0
- package/src/commands/undo.ts +139 -0
- package/src/commands/watch.ts +69 -3
- package/src/lib/config.ts +83 -0
- package/src/lib/history.ts +139 -0
- package/src/lib/opencode.ts +24 -6
- package/src/lib/presets.ts +257 -0
- package/src/lib/profiles.ts +367 -0
- package/src/lib/scanner.ts +103 -1
- package/src/types/organizer.ts +24 -0
- package/src/types/profile.ts +70 -0
- package/src/utils/files.ts +15 -1
package/README.md
CHANGED
|
@@ -53,6 +53,7 @@ AI-powered file organizer CLI using [opencode.ai](https://opencode.ai)
|
|
|
53
53
|
## Features
|
|
54
54
|
|
|
55
55
|
- **AI-powered organization** - Uses AI to intelligently categorize files based on name, type, and content
|
|
56
|
+
- **Smart folder detection** - Respects existing folder structure for consistent organization across models
|
|
56
57
|
- **Smart categories** - Documents, Images, Videos, Audio, Archives, Code, Applications, and more
|
|
57
58
|
- **Watch mode** - Monitor folders and auto-organize new files
|
|
58
59
|
- **Interactive CLI** - Beautiful terminal UI with confirmation prompts
|
|
@@ -226,6 +227,16 @@ Edit this file to customize AI behavior for your workflow.
|
|
|
226
227
|
- Cancel
|
|
227
228
|
5. **Moves files** - Organizes files into target directory structure
|
|
228
229
|
|
|
230
|
+
## Smart Folder Detection
|
|
231
|
+
|
|
232
|
+
tidyf automatically detects existing folders in your target directory and instructs the AI to prefer them. This ensures:
|
|
233
|
+
|
|
234
|
+
- **Consistency across models** - Different AI models will use the same folder names
|
|
235
|
+
- **No duplicate folders** - Won't create "Screenshots" if "Screen Captures" already exists
|
|
236
|
+
- **Respects your structure** - Extends your existing organization rather than overwriting it
|
|
237
|
+
|
|
238
|
+
The tool scans up to 3 levels deep and includes up to 100 existing folders in the AI context.
|
|
239
|
+
|
|
229
240
|
## Examples
|
|
230
241
|
|
|
231
242
|
### Basic Organization
|