Add Nebot plugin with chat UI and adaptive typing

Introduces the Nebot plugin, including main process logic for chat session management, IPC handlers, and Ollama API integration. Adds a dedicated chat UI with adaptive typing animation, markdown rendering, settings modal, and supporting assets (CSS, HTML, JS, markdown bundle). Includes documentation for model selection and testing instructions.
This commit is contained in:
2025-09-12 18:23:34 +12:00
parent 71462d83de
commit 70cd3571d1
11 changed files with 2479 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
# Markdown Test Message
Here's a demonstration of the **rich text formatting** capabilities:
## Text Formatting
- **Bold text** with double asterisks
- *Italic text* with single asterisks
- `Inline code` with backticks
## Code Blocks
```javascript
function greetUser(name) {
console.log(`Hello, ${name}!`);
return `Welcome to Nebot!`;
}
```
```python
def calculate_fibonacci(n):
if n <= 1:
return n
return calculate_fibonacci(n-1) + calculate_fibonacci(n-2)
```
## Lists and Structure
### Ordered List
1. First item
2. Second item
3. Third item
### Unordered List
- Feature A
- Feature B
- Feature C
## Blockquotes
> This is a blockquote example.
> It can span multiple lines and provides
> emphasis for important information.
## Links and More
Check out [this link](https://github.com) for more information.
---
## Tables
| Feature | Status | Notes |
|---------|--------|-------|
| Bold text | ✅ Working | Looks great |
| Code blocks | ✅ Working | Syntax highlighted |
| Links | ✅ Working | Open in new tab |
That's it! The markdown rendering should now work beautifully in both the popup panel and the dedicated page.