Skip to content

Agent Zero AI framework

UI improvements for v0.8.1 (#299)

Alessandro814b8e7dec99
diff --git a/prompts/default/agent.system.behaviour_default.md b/prompts/default/agent.system.behaviour_default.md
index 0d38d53a5..ab6269c2e 100644
--- a/prompts/default/agent.system.behaviour_default.md
+++ b/prompts/default/agent.system.behaviour_default.md
@@ -1,2 +1,2 @@
- Favor linux commands for simple tasks where possible instead of python
-- Enclose any math with $$...$$
\ No newline at end of file
+- Enclose any math with $...$
\ No newline at end of file
diff --git a/prompts/reflection/agent.system.main.communication.md b/prompts/reflection/agent.system.main.communication.md
index 674af61e8..c277bc524 100644
--- a/prompts/reflection/agent.system.main.communication.md
+++ b/prompts/reflection/agent.system.main.communication.md
@@ -4,7 +4,7 @@
respond valid json with fields
thoughts: decompose ➔ create decision trees ➔ forest of thoughts
reflection: question logical frameworks ➔ refine thoughts ➔ perform metareflection
-math requires katex $$...$$ delims
+math requires katex $...$ delims
tool_name: use tool name
tool_args: key value pairs tool arguments
no other text
diff --git a/python/helpers/settings.py b/python/helpers/settings.py
index 1ef900a0a..65bcb5b85 100644
--- a/python/helpers/settings.py
+++ b/python/helpers/settings.py
@@ -437,6 +437,25 @@ def convert_out(settings: Settings) -> SettingsOutput:
"fields": browser_model_fields,
}
+ # Memory settings section
+ memory_fields: list[SettingsField] = []
+ memory_fields.append(
+ {
+ "id": "memory_settings",
+ "title": "Memory Settings",
+ "description": "<settings for memory>",
+ "type": "text",
+ "value": "",
+ }
+ )
+
+ memory_section: SettingsSection = {
+ "id": "memory",
+ "title": "Memory Settings",
+ "description": "<settings for memory management here>",
+ "fields": memory_fields,
+ }
+
# basic auth section
auth_fields: list[SettingsField] = []
@@ -706,6 +725,7 @@ def convert_out(settings: Settings) -> SettingsOutput:
util_model_section,
embed_model_section,
browser_model_section,
+ memory_section,
stt_section,
api_keys_section,
auth_section,
diff --git a/webui/css/modals.css b/webui/css/modals.css
index 8c3cf9ef9..c90c6e110 100644
--- a/webui/css/modals.css
+++ b/webui/css/modals.css
@@ -136,7 +136,7 @@
.full-screen-input-modal .modal-close {
position: absolute;
- top: 1rem;
+ top: 1.2rem;
right: 1rem;
font-size: 1.5rem;
padding: 0 0.5rem;
@@ -161,7 +161,7 @@
#full-screen-input {
width: 100%;
- height: 100%;
+ height: calc(100% - 50px);
border: none;
background-color: transparent;
color: var(--color-text);
@@ -375,4 +375,76 @@ h2 {
.btn-upload > svg {
width: 20px;
}
-}
\ No newline at end of file
+}
+
+/* Editor Toolbar */
+.editor-toolbar {
+ display: flex;
+ align-items: center;
+ gap: 1rem;
+ padding: 0.5rem 1rem;
+ border-radius: 6px;
+ background-color: rgba(30, 30, 30, 0.95);
+ border-bottom: 1px solid var(--color-border);
+}
+
+.light-mode .editor-toolbar {
+ background-color: rgba(240, 240, 240, 0.95);
+}
+
+.toolbar-group {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ padding: 0 0.5rem;
+ border-right: 1px solid var(--color-border);
+}
+
+.toolbar-group:last-child {
+ border-right: none;
+}
+
+.toolbar-button {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 32px;
+ height: 32px;
+ padding: 0.4rem;
+ background: transparent;
+ border: 1px solid transparent;
+ border-radius: 4px;
+ color: var(--color-text);
+ opacity: 0.7;
+ cursor: pointer;
+ transition: all 0.2s ease;
+}
+
+.toolbar-button svg {
+ width: 18px;
+ height: 18px;
+}
+
+.toolbar-button:hover {
+ opacity: 1;
+ background-color: rgba(255, 255, 255, 0.1);
+}
+
+.toolbar-button:active {
+ transform: translateY(1px);
+}
+
+.toolbar-button.active {
+ background-color: rgba(255, 255, 255, 0.15);
+ border-color: var(--color-border);
+ opacity: 1;
+}
+
+.toolbar-button:disabled {
+ opacity: 0.3;
+ cursor: not-allowed;
+}
+
+.toolbar-button:disabled:hover {
+ background-color: transparent;
+}
diff --git a/webui/index.css b/webui/index.css
index 134e26978..247e93026 100644
--- a/webui/index.css
+++ b/webui/index.css
@@ -771,11 +771,11 @@ pre {
font-family: 'Roboto Mono', monospace;
font-optical-sizing: auto;
-webkit-font-optical-sizing: auto;
- font-size: 0.875rem;
+ font-size: 0.90rem;
max-height: 7rem;
- min-height: 3rem;
+ min-height: 3.05rem;
width: 100%;
- padding: 0.5rem 40px var(--spacing-sm) var(--spacing-sm);
+ padding: 0.48rem 40px var(--spacing-sm) var(--spacing-sm);
margin-right: var(--spacing-xs);
overflow-y: auto;
scroll-behavior: smooth;
@@ -842,7 +842,7 @@ pre {
#chat-input:focus {
outline: 0.05rem solid rgba(155, 155, 155, 0.5);
font-size: 0.955rem;
- padding-top: 0.5rem;
+ padding-top: 0.45rem;
background-color: var(--color-input-focus);
}
@@ -1526,8 +1526,8 @@ input:checked + .slider:before {
/* Math (KaTeX) */
.katex {
- line-height: 1rem !important;
- font-size: 3rem;
+ line-height: 1.2 !important;
+ font-size: 1.1em;
}
/* Animations */
@@ -2003,4 +2003,73 @@ input:checked + .slider:before {
100% {
transform: scale(1);
}
+}
+
+.dragdrop-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: rgba(0, 0, 0, 0.85);
+ z-index: 9999;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
+ gap: 1rem;
+}
+
+.light-mode .dragdrop-overlay {
+ background: rgba(255, 255, 255, 0.92);
+}
+
+/* Alpine transition classes */
+.transition {
+ transition-property: all;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+}
+
+.duration-300 {
+ transition-duration: 300ms;
+}
+
+.opacity-0 {
+ opacity: 0;
+}
+
+.opacity-100 {
+ opacity: 1;
+}
+
+/* Rest of dragdrop styles remain the same */
+.dragdrop-icon {
+ width: 128px;
+ height: 128px;
+ opacity: 0.85;
+ filter: invert(1);
+}
+
+.light-mode .dragdrop-icon {
+ filter: none;
+}
+
+.dragdrop-text {
+ color: var(--color-text);
+ font-size: 1.2rem;
+ opacity: 0.85;
+ text-align: center;
+ max-width: 80%;
+ line-height: 1.5;
+}
+
+.dragdrop-subtext {
+ color: var(--color-text);
+ font-size: 0.9rem;
+ opacity: 0.6;
+}
+
+/* Alpine cloak to prevent FOUC */
+[x-cloak] {
+ display: none !important;
}
\ No newline at end of file
diff --git a/webui/index.html b/webui/index.html
index 70899e255..5a2a574f3 100644
--- a/webui/index.html
+++ b/webui/index.html
@@ -5,6 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Agent Zero</title>
+ <link rel="icon" type="image/svg+xml" href="public/darkSymbol.svg">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="css/toast.css">
<link rel="stylesheet" href="css/settings.css">
@@ -665,6 +666,7 @@
</div>
</div>
</div>
+ </div>
</template>
</div>
@@ -700,9 +702,46 @@
<div class="modal-container full-screen-input-modal">
<div class="modal-content">
<button class="modal-close" @click="handleClose()">&times;</button>
+
+ <!-- Add toolbar -->
+ <div class="editor-toolbar">
+ <div class="toolbar-group">
+ <button class="toolbar-button" @click="undo()" :disabled="!canUndo" title="Undo (Ctrl+Z)">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M3 7v6h6"></path>
+ <path d="M21 17a9 9 0 00-9-9 9 9 0 00-6 2.3L3 13"></path>
+ </svg>
+ </button>
+ <button class="toolbar-button" @click="redo()" :disabled="!canRedo" title="Redo (Ctrl+Shift+Z)">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M21 7v6h-6"></path>
+ <path d="M3 17a9 9 0 019-9 9 9 0 016 2.3l3 2.7"></path>
+ </svg>
+ </button>
+ </div>
+ <div class="toolbar-group">
+ <button class="toolbar-button" @click="clearText()" title="Clear Text">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2"></path>
+ <line x1="10" y1="11" x2="10" y2="17"></line>
+ <line x1="14" y1="11" x2="14" y2="17"></line>
+ </svg>
+ </button>
+ <button class="toolbar-button" @click="toggleWrap()" :class="{ active: wordWrap }" title="Toggle Word Wrap">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M3 6h18M3 12h15l3 3-3 3M3 18h18"></path>
+ </svg>
+ </button>
+ </div>
+ </div>
+
<textarea id="full-screen-input" x-model="inputText"
placeholder="Type your message here..."
- @keydown.ctrl.enter="handleClose()"></textarea>
+ @keydown.ctrl.enter="handleClose()"
+ @keydown.ctrl.z.prevent="undo()"
+ @keydown.ctrl.shift.z.prevent="redo()"
+ :style="{ 'white-space': wordWrap ? 'pre-wrap' : 'pre' }"
+ @input="updateHistory()"></textarea>
</div>
<div class="modal-footer">
<div id="buttons-container">
@@ -714,6 +753,23 @@
</template>
</div>
+ <!-- Drag and Drop Overlay -->
+ <div id="dragdrop-overlay"
+ x-cloak
+ x-data="{ isVisible: false }"
+ x-show="isVisible"
+ x-transition:enter="transition ease-out duration-300"
+ x-transition:enter-start="opacity-0"
+ x-transition:enter-end="opacity-100"
+ x-transition:leave="transition ease-in duration-300"
+ x-transition:leave-start="opacity-100"
+ x-transition:leave-end="opacity-0"
+ class="dragdrop-overlay">
+ <img src="public/dragndrop.svg" alt="Drop files" class="dragdrop-icon">
+ <div class="dragdrop-text">Drop files to attach them to your message</div>
+ <div class="dragdrop-subtext">Supported formats: Images (JPG, PNG, BMP) and Documents (PDF, TXT, CSV, HTML, JSON, MD)</div>
+ </div>
+
</body>
</html>
\ No newline at end of file
diff --git a/webui/index.js b/webui/index.js
index d1944caf7..47035fb0f 100644
--- a/webui/index.js
+++ b/webui/index.js
@@ -869,4 +869,87 @@ async function startPolling() {
_doPoll();
}
-document.addEventListener("DOMContentLoaded", startPolling);
\ No newline at end of file
+document.addEventListener("DOMContentLoaded", startPolling);
+
+document.addEventListener('DOMContentLoaded', () => {
+ const dragDropOverlay = document.getElementById('dragdrop-overlay');
+ const inputSection = document.getElementById('input-section');
+ let dragCounter = 0;
+
+ // Prevent default drag behaviors
+ ['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
+ document.addEventListener(eventName, (e) => {
+ e.preventDefault();
+ e.stopPropagation();
+ }, false);
+ });
+
+ // Handle drag enter
+ document.addEventListener('dragenter', (e) => {
+ dragCounter++;
+ if (dragCounter === 1) {
+ Alpine.$data(dragDropOverlay).isVisible = true;
+ }
+ }, false);
+
+ // Handle drag leave
+ document.addEventListener('dragleave', (e) => {
+ dragCounter--;
+ if (dragCounter === 0) {
+ Alpine.$data(dragDropOverlay).isVisible = false;
+ }
+ }, false);
+
+ // Handle drop
+ dragDropOverlay.addEventListener('drop', (e) => {
+ dragCounter = 0;
+ Alpine.$data(dragDropOverlay).isVisible = false;
+
+ const inputAD = Alpine.$data(inputSection);
+ const files = e.dataTransfer.files;
+ handleFiles(files, inputAD);
+ }, false);
+});
+
+// Separate file handling logic to be used by both drag-drop and file input
+function handleFiles(files, inputAD) {
+ Array.from(files).forEach(file => {
+ const ext = file.name.split('.').pop().toLowerCase();
+ const allowedExts = new Set(['jpg', 'jpeg', 'png', 'bmp', 'md', 'py', 'js', 'sh',
+ 'html', 'css', 'pdf', 'txt', 'csv', 'json']);
+
+ if (allowedExts.has(ext)) {
+ const isImage = ['jpg', 'jpeg', 'png', 'bmp'].includes(ext);
+
+ if (isImage) {
+ const reader = new FileReader();
+ reader.onload = e => {
+ inputAD.attachments.push({
+ file: file,
+ url: e.target.result,
+ type: 'image',
+ name: file.name,
+ extension: ext
+ });
+ inputAD.hasAttachments = true;
+ };
+ reader.readAsDataURL(file);
+ } else {
+ inputAD.attachments.push({
+ file: file,
+ type: 'file',
+ name: file.name,
+ extension: ext
+ });
+ inputAD.hasAttachments = true;
+ }
+ }
+ });
+}
+
+// Modify the existing handleFileUpload to use the new handleFiles function
+window.handleFileUpload = function(event) {
+ const files = event.target.files;
+ const inputAD = Alpine.$data(inputSection);
+ handleFiles(files, inputAD);
+}
\ No newline at end of file
diff --git a/webui/js/messages.js b/webui/js/messages.js
index 0d6357dc3..ef12d0d48 100644
--- a/webui/js/messages.js
+++ b/webui/js/messages.js
@@ -14,7 +14,7 @@ function createCopyButton() {
if (container.classList.contains("kvps-row")) {
textToCopy = container.querySelector(".kvps-val").textContent;
} else if (container.classList.contains("message-text")) {
- textToCopy = container.textContent.replace("copy", "");
+ textToCopy = container.querySelector("span").textContent;
} else {
textToCopy = container.querySelector("span").textContent;
}
@@ -118,10 +118,7 @@ export function _drawMessage(
if (window.renderMathInElement && latex) {
renderMathInElement(spanElement, {
delimiters: [
- { left: "$", right: "$", display: true },
- { left: "\\$", right: "\\$", display: true },
- { left: "$", right: "$", display: false },
- { left: "\\$", right: "\\$", display: false },
+ { left: "$", right: "$", display: true }
],
throwOnError: false,
});
@@ -254,7 +251,11 @@ export function drawMessageUser(
if (content && content.trim().length > 0) {
const textDiv = document.createElement("div");
textDiv.classList.add("message-text");
- textDiv.textContent = content;
+
+ // Create a span for the content
+ const spanElement = document.createElement("span");
+ spanElement.textContent = content;
+ textDiv.appendChild(spanElement);
// Add click handler
textDiv.addEventListener("click", () => {
@@ -548,10 +549,7 @@ function drawKvps(container, kvps, latex) {
if (window.renderMathInElement && latex) {
renderMathInElement(span, {
delimiters: [
- { left: "$$", right: "$$", display: true },
- { left: "$$", right: "$$", display: true },
- { left: "$", right: "$", display: false },
- { left: "$$", right: "$$", display: false },
+ { left: "$", right: "$", display: true }
],
throwOnError: false,
});
diff --git a/webui/js/modal.js b/webui/js/modal.js
index 3f58658f8..62438d019 100644
--- a/webui/js/modal.js
+++ b/webui/js/modal.js
@@ -1,11 +1,19 @@
const fullScreenInputModalProxy = {
isOpen: false,
inputText: '',
+ wordWrap: true,
+ undoStack: [],
+ redoStack: [],
+ maxStackSize: 100,
+ lastSavedState: '',
openModal() {
const chatInput = document.getElementById('chat-input');
this.inputText = chatInput.value;
+ this.lastSavedState = this.inputText;
this.isOpen = true;
+ this.undoStack = [];
+ this.redoStack = [];
// Focus the full screen input after a short delay to ensure the modal is rendered
setTimeout(() => {
@@ -19,6 +27,54 @@ const fullScreenInputModalProxy = {
chatInput.value = this.inputText;
chatInput.dispatchEvent(new Event('input')); // Trigger input event for textarea auto-resize
this.isOpen = false;
+ },
+
+ updateHistory() {
+ // Don't save if the text hasn't changed
+ if (this.lastSavedState === this.inputText) return;
+
+ this.undoStack.push(this.lastSavedState);
+ if (this.undoStack.length > this.maxStackSize) {
+ this.undoStack.shift();
+ }
+ this.redoStack = [];
+ this.lastSavedState = this.inputText;
+ },
+
+ undo() {
+ if (!this.canUndo) return;
+
+ this.redoStack.push(this.inputText);
+ this.inputText = this.undoStack.pop();
+ this.lastSavedState = this.inputText;
+ },
+
+ redo() {
+ if (!this.canRedo) return;
+
+ this.undoStack.push(this.inputText);
+ this.inputText = this.redoStack.pop();
+ this.lastSavedState = this.inputText;
+ },
+
+ clearText() {
+ if (this.inputText) {
+ this.updateHistory(); // Save current state before clearing
+ this.inputText = '';
+ this.lastSavedState = '';
+ }
+ },
+
+ toggleWrap() {
+ this.wordWrap = !this.wordWrap;
+ },
+
+ get canUndo() {
+ return this.undoStack.length > 0;
+ },
+
+ get canRedo() {
+ return this.redoStack.length > 0;
}
};
diff --git a/webui/public/browser_model.svg b/webui/public/browser_model.svg
new file mode 100644
index 000000000..bc668207f
--- /dev/null
+++ b/webui/public/browser_model.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Layer_1" x="0" y="0" version="1.1" viewBox="0 0 22 18"><style>.st0{fill:none;stroke:#000;stroke-width:.5;stroke-miterlimit:10}</style><path d="M9.7 2.2C9.2 2.1 8.6 2 8 2 3.8 2 .3 5.5.3 9.8s3.5 7.7 7.7 7.7c3.4 0 6.2-2.2 7.3-5.2" class="st0"/><path d="M2.2 4.7C3.6 6 5.7 6.9 8 6.9m-5.8 7.9c1.4-1.3 3.5-2.1 5.8-2.1s4.4.8 5.8 2.1" class="st0"/><path d="M11.8 12.3c-.6 3-2.1 5.2-3.8 5.2-2.2 0-4-3.5-4-7.7C4 5.5 5.8 2 8 2m0 0v15.5m0-7.7H.3" class="st0"/><path d="M20.2 10.5c-.4.4-.9.6-1.4.6h-6.7c-.6 0-1.1-.2-1.4-.6-.3-.3-.5-.8-.5-1.3V4.9c0-1 .8-1.9 1.9-1.9h6.7c1.1 0 1.9.9 1.9 1.9v4.3c.1.5-.1 1-.5 1.3z" class="st0"/><path d="M12.6 4.1h5.7c.8 0 1.4.6 1.4 1.4v3.1c0 .8-.6 1.4-1.4 1.4h-5.7c-.8 0-1.4-.6-1.4-1.4V5.5c0-.8.6-1.4 1.4-1.4zm8.2 4.5h.4c.2 0 .4-.2.4-.5V6c0-.3-.2-.5-.4-.5h-.4m-.7-2.1V1.6m.5-.5c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zm-9.8 2.3V1.6" class="st0"/><circle cx="10.8" cy="1.1" r=".5" class="st0"/><path d="M10.2 5.6h-.5c-.2 0-.5.2-.5.4v2.1c0 .3.2.5.5.5h.5" class="st0"/></svg>
\ No newline at end of file
diff --git a/webui/public/darkSymbol.svg b/webui/public/darkSymbol.svg
new file mode 100644
index 000000000..f2ff8f5b5
--- /dev/null
+++ b/webui/public/darkSymbol.svg
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
+ <path d="M23.93,26.28c-2.63-4.51-5.26-9.04-7.95-13.67c-2.66,4.61-5.29,9.16-7.91,13.7h-4.07 c4-6.89,12-20.56,12-20.56h0s8.02,13.67,12.02,20.58h-4.07Z" fill="currentColor"/>
+ <path d="M21.1,26.3H10.78c0.69-1.19,1.35-2.35,2.01-3.5h6.34c0.64,1.14,1.28,2.28,1.97,3.5Z" fill="currentColor"/>
+</svg>
\ No newline at end of file
diff --git a/webui/public/dragndrop.svg b/webui/public/dragndrop.svg
new file mode 100644
index 000000000..de14224cf
--- /dev/null
+++ b/webui/public/dragndrop.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Layer_1" x="0" y="0" version="1.1" viewBox="0 0 128 128"><style>.st0{fill:none;stroke:#151515;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}</style><path d="M64.8 88H18.4c-.8 0-1.5-.7-1.5-1.5v-49c0-.8.7-1.5 1.5-1.5h49.1c.8 0 1.5.7 1.5 1.5v42.2" class="st0"/><path d="M55 35.7V13c0-.8.7-1.5 1.5-1.5h49.1c.8 0 1.5.7 1.5 1.5v49.1c0 .8-.7 1.5-1.5 1.5H69.1M81 30.4v14.2m-7.1-7.1h14.2m-4.2 79.6c-.3-.5-.8-.9-1.4-1.2l-22.1-9.6c-2.1-.9-3-3.3-2.2-5.4.9-2.1 3.3-3.1 5.5-2.2l10.5 4.6-14.9-24.1c-1.2-1.9-.6-4.3 1.3-5.5s4.3-.6 5.5 1.3l9.8 15.8-1.8-3c-.8-1.3-.4-2.9.9-3.7l.6-.4c1.3-.8 2.9-.4 3.7.9l1.7 2.8-.3-.5c-.8-1.3-.4-2.9.9-3.7s2.9-.4 3.7.9l1.5 2.4c-1-1.6-.5-3.6 1.1-4.6h.1c1.6-1 3.6-.5 4.6 1.1l5.1 8.3c1.1 1.8 1.8 3.9 2 6.1l.5 7.8c0 .5.2 1 .5 1.5h0c.9 1.5.5 3.5-1.1 4.5l-11.4 7c-1.5.8-3.4.3-4.3-1.1" class="st0"/></svg>
\ No newline at end of file
diff --git a/webui/public/memory.svg b/webui/public/memory.svg
new file mode 100644
index 000000000..82ca61b2f
--- /dev/null
+++ b/webui/public/memory.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Layer_1" x="0" y="0" version="1.1" viewBox="0 0 22 16"><style>.st1{fill:none;stroke:#000;stroke-width:.5;stroke-miterlimit:10;fill-rule:evenodd;clip-rule:evenodd}</style><path d="M14.1 13.8c-3.2 0-5.8-2.6-5.8-5.8s2.6-5.8 5.8-5.8 5.8 2.6 5.8 5.8-2.6 5.8-5.8 5.8zM11.5.2v2m2.6-2v2m2.6-2v2m-5.2 11.6v2m2.6-2v2m2.6-2v2m5.2-10.4h-2m2 2.6h-2m2 2.6h-2" style="fill:none;stroke:#000;stroke-width:.5;stroke-miterlimit:10"/><path d="M15.1 5.4c.1 0 .2.1.3.2s.2 0 .3 0l.3-.3s.2-.2.5 0l.5.5s.2.2.1.4c0 0 0 .1-.1.2l-.2.2c-.1.1-.1.2-.1.3s.1.2.1.4c0 .1.1.2.2.2h.4s.3 0 .3.3v.7s.1.4-.3.5h-.5c-.1 0-.2.1-.2.2s-.1.2-.2.3 0 .2 0 .3l.2.2s.2.2 0 .5l-.1.1-.4.4s-.3.2-.5 0l-.3-.3c-.1-.1-.2-.1-.3-.1s-.2.1-.4.1c-.1 0-.2.1-.2.2v.4s0 .3-.4.3h-.7s-.3 0-.3-.3v-.4c0-.1-.1-.2-.2-.2s-.2-.1-.3-.2-.2 0-.3 0l-.3.2s-.3.2-.5-.1l-.5-.5s-.3-.3.1-.6l.2-.2c.1-.1.1-.2.1-.3s-.1-.2-.1-.4c0-.1-.1-.2-.2-.2h-.3s-.4 0-.4-.4v-.8s0-.4.4-.3h.3c.1 0 .2-.1.3-.2 0-.1.1-.2.2-.3s0-.2 0-.3l-.3-.1s-.3-.3 0-.5l.6-.5s.3-.2.5 0l.3.3c.1.1.2.1.3.1s.2-.1.4-.1c.1 0 .2-.1.2-.2v-.3s0-.4.5-.4h.7s.3 0 .3.5v.3c-.2 0-.1.1 0 .2z" class="st1"/><circle cx="14.1" cy="8" r="1.6" class="st1"/><circle cx="1.6" cy="8" r="1.2" class="st1"/><path d="M2.8 8H7" class="st1"/><circle cx="3.5" cy="3.3" r="1.2" class="st1"/><path d="m3.9 4.4.4 1H7" class="st1"/><circle cx="3.5" cy="12.7" r="1.2" class="st1"/><path d="M7 10.6H4.3l-.4 1" class="st1"/></svg>
\ No newline at end of file