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
+31
View File
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Nebot</title>
<link rel="stylesheet" href="page.css" />
<!-- Removed external CDN scripts: libs provided via renderer-preload.js for self-contained plugin -->
</head>
<body>
<div id="nebot-app" class="app">
<aside class="sidebar">
<div class="sidebar-header">
<h1>Nebot</h1>
<button id="new-chat" title="New Chat"></button>
</div>
<ul id="chat-list" class="chat-list"></ul>
<div class="sidebar-footer">
<button id="settings-btn">⚙ Settings</button>
</div>
</aside>
<main class="main">
<div id="messages" class="messages"></div>
<form id="composer" class="composer">
<textarea id="input" placeholder="Ask Nebot anything..." rows="1"></textarea>
<button id="send" type="submit">Send</button>
</form>
</main>
</div>
<script src="page.js"></script>
</body>
</html>