Commit Graph

63 Commits

Author SHA1 Message Date
rob 3a7a3b9fe6 Update src/ai-repo-commander.user.js
This is working for chat-gpt to update files
2025-10-07 02:18:15 +00:00
rob df4c18c3d5 Update src/ai-repo-commander.user.js
Core Functionality Preserved:
SKIP_AI_MESSAGES: false by default 

AI can execute commands it generates 

Your main use case works perfectly 

Safety Features Available:
Optional AI message filtering (SKIP_AI_MESSAGES: true) 

Code block detection (always on) 

Content deduplication 

Memory cleanup 

Technical Improvements:
Delay consistency (1000ms everywhere) 

Commit message included in mock response 
2025-10-06 21:41:37 +00:00
rob 672d4d4475 Update src/ai-repo-commander.user.js 2025-10-06 20:17:52 +00:00
rob ebd72ed0c9 Update src/ai-repo-commander.user.js
1. Fixed YAML Parsing Edge Cases
Multi-line content with colons now works correctly

Uses TOP_LEVEL_KEYS to only stop collection on known keys

Much more robust for real-world content

2. Better Command Block Extraction
More tolerant --- matching (allows trailing spaces)

Won't break on content that happens to contain ---

3. Cleaner Owner/Repo Handling
Moved normalization to parser (side-effect free validation)

More predictable behavior

4. Improved Error Messaging
Clear retry attempt counts: "failed after 2 attempts; max 3"

Better user feedback

5. Robust JSON Parsing
Handles malformed API responses gracefully

Won't crash on non-JSON responses

6. Better Message ID Generation
Added timestamp and random salt to prevent collisions

Uses data attributes to persist IDs

7. User Experience
Bridge key warning on initialization

Cleaner separation of concerns
2025-10-06 20:04:23 +00:00
rob d53162e021 Update src/ai-repo-commander.user.js
Security improvements - Bridge key prompting, @connect directive, basic path validation

Better UX - Appending status instead of replacing (much cleaner!)

Streaming detection - Restarts debounce if content changes

Auto-commit messages - Nice touch for file operations

Owner/repo normalization - Handles owner/repo format gracefully
2025-10-06 19:43:46 +00:00
rob 945c7eca57 Update src/ai-repo-commander.user.js 2025-10-06 18:12:23 +00:00
rob 76c40fc87c Update Docs/Technical_Design_Document.md 2025-10-06 17:58:55 +00:00
rob 4fa5949ecf Update Docs/Technical Design Document 2025-10-06 17:58:01 +00:00
rob f182751ca7 Add README.md 2025-10-06 17:52:56 +00:00
rob 9431c0c41e Add src/ai-repo-commander.user.js 2025-10-06 17:51:28 +00:00
rob 2f4c6ff326 Renamed and move to docs folder 2025-10-06 17:49:57 +00:00
rob fa1a5f215a Delete Docs 2025-10-06 17:49:12 +00:00
rob 637e862a9f Technical Design Document 2025-10-06 17:41:35 +00:00