Cleanup old ZIP files and update to v1.3.1

This commit is contained in:
Jochem
2025-07-30 23:15:40 +02:00
parent 3ea481af81
commit 181f0ba5c1
11 changed files with 72 additions and 7 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+11 -5
View File
@@ -28,7 +28,7 @@ AI-powered PCB design assistant plugin for KiCad with Ollama integration.
### Method 1: KiCad Plugin Manager (Recommended)
1. **Download the plugin ZIP**: [kic-ai-assistant-v1.3.0-for-import.zip](kic-ai-assistant-v1.3.0-for-import.zip)
1. **Download the plugin ZIP**: [kic-ai-assistant-v1.3.1-for-import.zip](kic-ai-assistant-v1.3.1-for-import.zip)
2. Open KiCad → **Plugin and Content Manager**
3. Click **Install from File**
4. Select the downloaded ZIP file
@@ -111,10 +111,10 @@ Choose your preferred level of AI assistance:
- **Example**: "To improve this circuit: 1) Select R14 2) Change value to 10kΩ 3) Update the schematic. Shall I guide you through this?"
#### 🤖 Assistant Mode (Interactive)
- **What it does**: Interactive design recommendations and future automation
- **What it does**: Detailed step-by-step instructions and component-specific guidance
- **Safety**: Advanced features for experienced users
- **Best for**: Power users, complex design tasks
- **Example**: "I can help optimize your power routing. In future versions, I may automate some placement tasks."
- **Example**: "Removing J6: 1) Click on J6 2) Press Delete 3) Clean up connections 4) Update schematic 5) Run DRC"
### Example Questions
@@ -233,6 +233,12 @@ If you encounter any issues or have questions:
## 🔄 Changelog
### v1.3.1
- **ENHANCED**: Assistant Mode now provides detailed step-by-step instructions
- **NEW**: Component-specific guidance for removal operations (e.g., "remove J6")
- **IMPROVED**: More actionable and practical assistance in Assistant Mode
- **FIXED**: Better AI prompts for specific component operations
### v1.3.0
- **NEW**: 3 AI Interaction Modes (Analysis, Advisory, Assistant)
- **NEW**: Mode-specific AI responses and behavior
@@ -261,7 +267,7 @@ If you encounter any issues or have questions:
## 📦 Download Options
**Ready to use:**
- 📦 [kic-ai-assistant-v1.3.0-for-import.zip](kic-ai-assistant-v1.3.0-for-import.zip) (~10KB) - Direct import for KiCad Plugin Manager
- 📦 [kic-ai-assistant-v1.3.1-for-import.zip](kic-ai-assistant-v1.3.1-for-import.zip) (~10KB) - Direct import for KiCad Plugin Manager
**For developers:**
- Clone this repository for complete source code, documentation, and screenshots
@@ -269,7 +275,7 @@ If you encounter any issues or have questions:
> 🎯 **For most users**: Download the **for-import.zip** file - it's specifically prepared for KiCad's Plugin Manager!
| File | Size | Description |
|------|------|-------------|
| [kic-ai-assistant-v1.3.0-for-import.zip](kic-ai-assistant-v1.3.0-for-import.zip) | ~10KB | **Ready-to-import plugin** - Use this for KiCad Plugin Manager |
| [kic-ai-assistant-v1.3.1-for-import.zip](kic-ai-assistant-v1.3.1-for-import.zip) | ~10KB | **Ready-to-import plugin** - Use this for KiCad Plugin Manager |
> 🎯 **For most users**: Download the **for-import.zip** file - it's specifically prepared for KiCad's Plugin Manager!
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://go.kicad.org/pcm/schemas/v1",
"name": "KIC-AI Assistant",
"description": "AI-powered PCB design assistant with 3 interaction modes and Ollama integration",
"description": "AI-powered PCB design assistant with 3 interaction modes: Analysis (safe), Advisory (guided), and Assistant (detailed step-by-step help). Features dual PCB/schematic analysis and component-specific guidance.",
"description_full": "AI assistant for KiCad PCB design with Ollama LLM integration. Features 3 interaction modes (Analysis, Advisory, Assistant) for different user needs. Analyze both PCB layouts and schematics, get design advice, and receive guided assistance.",
"identifier": "com.jochem.kic-ai-assistant",
"type": "plugin",
@@ -34,7 +34,7 @@
],
"versions": [
{
"version": "1.3.0",
"version": "1.3.1",
"status": "stable",
"kicad_version": "6.0"
}
+59
View File
@@ -451,6 +451,13 @@ Choose the mode that fits your experience level and comfort with AI assistance."
self.set_status("AI thinking...")
self.send_btn.Enable(False)
# Check for component-specific guidance in Assistant mode
specific_guidance = self.get_component_specific_guidance(message)
if specific_guidance:
self.add_message("🤖 Assistant", specific_guidance)
self.send_btn.Enable(True)
self.set_status("Ready")
return
# Start AI processing in thread
thread = threading.Thread(target=self.send_to_ai, args=(message,))
thread.daemon = True
@@ -612,7 +619,59 @@ Choose the mode that fits your experience level and comfort with AI assistance."
"I'll provide interactive guidance. In future versions, "
"I may be able to help automate some of these tasks.")
# Check for component-specific guidance in Assistant mode
specific_guidance = self.get_component_specific_guidance(message)
if specific_guidance:
self.add_message("🤖 Assistant", specific_guidance)
self.send_btn.Enable(True)
self.set_status("Ready")
return
# Start AI processing in thread
thread = threading.Thread(target=self.send_to_ai, args=(message,))
thread.daemon = True
thread.start()
def get_component_specific_guidance(self, message):
"""Provide specific guidance for common component operations"""
if self.interaction_mode != self.ASSISTANT_MODE:
return None
message_lower = message.lower()
# Check for specific component removal requests
if any(phrase in message_lower for phrase in ['remove j', 'delete j', 'remove connector']):
component = None
# Extract component reference
import re
match = re.search(r'[jJ]\d+', message)
if match:
component = match.group(0).upper()
if component:
return f"""🔧 **Removing {component} - Step-by-step:**
1. **Select the component:**
- Click on {component} in the PCB layout
- The component should highlight in selection color
2. **Delete the component:**
- Press **Delete** key, or
- Right-click → Delete, or
- Use Edit → Delete from menu
3. **Clean up connections:**
- Check for any remaining tracks/vias
- Delete orphaned connections if needed
4. **Update schematic (if needed):**
- Switch to schematic editor
- Remove {component} from schematic too
- Run Tools → Update PCB from Schematic
5. **Verify design:**
- Check Design Rules (DRC)
- Verify no missing connections
Would you like me to explain any of these steps in more detail?"""
return None