From 58d4c793fc235d5d0da889cd8609743c49241ebc Mon Sep 17 00:00:00 2001 From: Davey Mason Date: Wed, 3 Dec 2025 21:53:27 +0000 Subject: [PATCH 1/4] Update ci.yml --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1574958..279b99b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,7 @@ jobs: cache: 'npm' - name: Set up Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + uses: dtolnay/rust-toolchain@stable - name: Install system packages (GTK, WebKit, AppImage deps) run: | From 89f416b858aeeceb2afe3acd6754ee4f9002a567 Mon Sep 17 00:00:00 2001 From: Davey Mason Date: Thu, 4 Dec 2025 18:14:56 +0000 Subject: [PATCH 2/4] Allow ollama more time to load ALso fix warnings that appear when building --- src-tauri/src/lib.rs | 1 + src-tauri/src/pty.rs | 1 + src/components/Chatbot.tsx | 31 +++++++++++++++++++++++++++++-- 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 2dd2f6f..a027840 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -1153,6 +1153,7 @@ struct OllamaResponseChunk { #[derive(Deserialize)] struct OllamaMessage { + #[allow(dead_code)] role: String, content: String, } diff --git a/src-tauri/src/pty.rs b/src-tauri/src/pty.rs index 192f626..afb1821 100644 --- a/src-tauri/src/pty.rs +++ b/src-tauri/src/pty.rs @@ -60,6 +60,7 @@ impl PtyRegistry { pub struct PtySession { pub id: String, master: Box, + #[allow(dead_code)] // Kept alive to maintain the child process child: Box, writer: Box, reader: Option>, diff --git a/src/components/Chatbot.tsx b/src/components/Chatbot.tsx index 376c69a..fa3ac6e 100644 --- a/src/components/Chatbot.tsx +++ b/src/components/Chatbot.tsx @@ -161,16 +161,18 @@ const Chatbot = ({ sessionId }: ChatbotProps) => { } }, [model]); - const refreshHealth = useCallback(async () => { + const refreshHealth = useCallback(async (): Promise => { setCheckingOllama(true); try { const healthy = await invoke("check_ollama"); setOllamaOnline(healthy); if (!healthy) { setChatError("Ollama isn't responding on localhost:11434."); + return false; } else { setChatError((prev) => (prev?.includes("Ollama") ? null : prev)); await refreshModels(); + return true; } } catch (error) { setOllamaOnline(false); @@ -179,6 +181,7 @@ const Chatbot = ({ sessionId }: ChatbotProps) => { ? error : "Couldn't reach Ollama on localhost:11434.", ); + return false; } finally { setCheckingOllama(false); } @@ -240,8 +243,32 @@ const Chatbot = ({ sessionId }: ChatbotProps) => { [], ); + // Auto-retry connection on startup with exponential backoff useEffect(() => { - refreshHealth().catch((error) => console.error(error)); + let cancelled = false; + let retryCount = 0; + const maxRetries = 5; + const baseDelay = 1000; // 1 second + + const attemptConnection = async () => { + if (cancelled) return; + + const success = await refreshHealth(); + + if (!success && !cancelled && retryCount < maxRetries) { + retryCount++; + const delay = baseDelay * Math.pow(1.5, retryCount - 1); // 1s, 1.5s, 2.25s, 3.4s, 5s + setTimeout(() => { + attemptConnection().catch((error) => console.error(error)); + }, delay); + } + }; + + attemptConnection().catch((error) => console.error(error)); + + return () => { + cancelled = true; + }; }, [refreshHealth]); useEffect(() => { From f8b79e75255253a863ac03dfb4625a85fa7af666 Mon Sep 17 00:00:00 2001 From: Davey Mason Date: Thu, 4 Dec 2025 19:27:28 +0000 Subject: [PATCH 3/4] Context Menu --- src-tauri/Cargo.lock | 12 ++ src-tauri/Cargo.toml | 1 + src-tauri/src/lib.rs | 114 +++++++++++- src/App.css | 295 +++++++++++++++++++++++++++++++ src/App.tsx | 8 +- src/components/CommandsPanel.tsx | 260 +++++++++++++++++++++++++++ src/components/ContextBar.tsx | 124 +++++++++++++ 7 files changed, 810 insertions(+), 4 deletions(-) create mode 100644 src/components/CommandsPanel.tsx create mode 100644 src/components/ContextBar.tsx diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index ec1d846..5867f50 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -8,6 +8,7 @@ version = "0.2.0" dependencies = [ "anyhow", "futures-util", + "hostname", "json5", "once_cell", "portable-pty", @@ -1465,6 +1466,17 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hostname" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "617aaa3557aef3810a6369d0a99fac8a080891b68bd9f9812a1eeda0c0730cbd" +dependencies = [ + "cfg-if", + "libc", + "windows-link 0.2.1", +] + [[package]] name = "html5ever" version = "0.29.1" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 052939d..9a5386e 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -30,4 +30,5 @@ reqwest = { version = "0.12", default-features = false, features = ["json", "str tokio = { version = "=1.40.0", features = ["macros", "rt-multi-thread", "sync"] } futures-util = "0.3" json5 = "0.4" +hostname = "0.4" diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index a027840..4bf2512 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -317,12 +317,121 @@ async fn get_terminal_context( #[tauri::command] async fn check_ollama() -> Result { let response = HTTP_CLIENT + .get("http://127.0.0.1:11434/api/tags") + .send() + .await; + + match response { + Ok(res) => Ok(res.status().is_success()), + Err(_) => Ok(false), + } +} + +#[derive(Serialize)] +#[serde(rename_all = "camelCase")] +struct SystemContext { + hostname: Option, + username: Option, + local_ip: Option, + git_branch: Option, + cwd: Option, + shell: Option, + ollama_online: bool, +} + +#[tauri::command] +async fn get_system_context(_session_id: Option) -> Result { + use std::env; + use std::process::Command; + + // Get hostname + let hostname = hostname::get() + .ok() + .and_then(|h| h.into_string().ok()); + + // Get username + let username = env::var("USER") + .or_else(|_| env::var("USERNAME")) + .ok(); + + // Get shell + let shell = env::var("SHELL") + .ok() + .and_then(|s| s.split('/').last().map(String::from)); + + // Get current working directory + let cwd = env::current_dir() + .ok() + .and_then(|p| p.to_str().map(String::from)); + + // Get git branch - try from the executable's directory first (likely the project) + let exe_dir = env::current_exe() + .ok() + .and_then(|p| p.parent().map(|d| d.to_path_buf())) + // Go up from target/debug to project root + .and_then(|p| p.parent().map(|d| d.to_path_buf())) + .and_then(|p| p.parent().map(|d| d.to_path_buf())); + + let git_branch = exe_dir.as_ref() + .and_then(|dir| { + Command::new("git") + .args(["rev-parse", "--abbrev-ref", "HEAD"]) + .current_dir(dir) + .stderr(std::process::Stdio::null()) + .output() + .ok() + .filter(|output| output.status.success()) + .and_then(|output| String::from_utf8(output.stdout).ok()) + .map(|s| s.trim().to_string()) + .filter(|s| !s.is_empty()) + }) + .or_else(|| { + // Fallback: try from cwd + cwd.as_ref().and_then(|dir| { + Command::new("git") + .args(["rev-parse", "--abbrev-ref", "HEAD"]) + .current_dir(dir) + .stderr(std::process::Stdio::null()) + .output() + .ok() + .filter(|output| output.status.success()) + .and_then(|output| String::from_utf8(output.stdout).ok()) + .map(|s| s.trim().to_string()) + .filter(|s| !s.is_empty()) + }) + }); + + // Get local IP address + let local_ip = get_local_ip(); + + // Check if Ollama is online + let ollama_online = HTTP_CLIENT .get("http://127.0.0.1:11434/api/tags") .send() .await - .map_err(|err| err.to_string())?; + .map(|res| res.status().is_success()) + .unwrap_or(false); + + Ok(SystemContext { + hostname, + username, + local_ip, + git_branch, + cwd, + shell, + ollama_online, + }) +} - Ok(response.status().is_success()) +fn get_local_ip() -> Option { + use std::net::UdpSocket; + + // Create a UDP socket and "connect" to a public address + // This doesn't actually send data, just determines the local interface + let socket = UdpSocket::bind("0.0.0.0:0").ok()?; + socket.connect("8.8.8.8:80").ok()?; + let local_addr = socket.local_addr().ok()?; + Some(local_addr.ip().to_string()) } #[tauri::command] @@ -1191,6 +1300,7 @@ pub fn run() { check_ollama, list_ollama_models, get_terminal_context, + get_system_context, analyze_command ]) .run(tauri::generate_context!()) diff --git a/src/App.css b/src/App.css index f47f965..5cfe6dd 100644 --- a/src/App.css +++ b/src/App.css @@ -682,6 +682,301 @@ body { border-color: rgba(45, 212, 191, 0.8); } +/* Context Bar */ +.context-bar { + display: flex; + align-items: center; + gap: 0.5rem; + padding: 0.5rem 0.75rem; + background: rgba(2, 8, 12, 0.85); + border-top: 1px solid rgba(255, 255, 255, 0.06); + backdrop-filter: blur(12px); + min-height: 42px; + flex-shrink: 0; +} + +.context-bar__section { + display: flex; + align-items: center; + gap: 0.5rem; +} + +.context-bar__section--buttons { + gap: 0.35rem; +} + +.context-bar__section--meta { + flex-wrap: wrap; + gap: 0.75rem; +} + +.context-bar__section--path { + flex: 1; + min-width: 0; + justify-content: flex-end; +} + +.context-bar__divider { + width: 1px; + height: 20px; + background: rgba(255, 255, 255, 0.12); + margin: 0 0.35rem; +} + +.context-btn { + display: inline-flex; + align-items: center; + gap: 0.35rem; + padding: 0.4rem 0.75rem; + border-radius: 0.5rem; + border: 1px solid rgba(255, 255, 255, 0.1); + background: rgba(255, 255, 255, 0.04); + color: rgba(255, 255, 255, 0.85); + font-size: 0.8rem; + font-weight: 500; + cursor: pointer; + transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease; +} + +.context-btn:hover { + background: rgba(45, 212, 191, 0.1); + border-color: rgba(45, 212, 191, 0.4); + transform: translateY(-1px); +} + +.context-item { + display: inline-flex; + align-items: center; + gap: 0.35rem; + font-size: 0.78rem; + color: rgba(180, 230, 220, 0.85); + padding: 0.2rem 0; +} + +.context-item svg { + color: rgba(45, 212, 191, 0.6); +} + +.context-item--muted { + color: rgba(45, 212, 191, 0.7); +} + +.context-path { + font-family: "JetBrains Mono", monospace; + font-size: 0.72rem; + color: rgba(255, 255, 255, 0.5); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 300px; +} + +.context-copy-btn { + display: inline-flex; + align-items: center; + justify-content: center; + width: 1.4rem; + height: 1.4rem; + border-radius: 0.35rem; + border: none; + background: rgba(255, 255, 255, 0.06); + color: rgba(255, 255, 255, 0.45); + cursor: pointer; + transition: all 0.15s ease; + flex-shrink: 0; +} + +.context-copy-btn:hover { + background: rgba(45, 212, 191, 0.15); + color: #5eead4; +} + +/* Commands Panel */ +.commands-panel { + max-height: min(85vh, 640px); +} + +.commands-list { + display: flex; + flex-direction: column; + gap: 0.65rem; + max-height: 280px; + overflow-y: auto; + padding-right: 0.25rem; +} + +.commands-empty { + color: rgba(255, 255, 255, 0.5); + font-size: 0.9rem; + text-align: center; + padding: 1.5rem; +} + +.command-card { + display: flex; + justify-content: space-between; + align-items: flex-start; + gap: 0.75rem; + padding: 0.85rem 1rem; + border-radius: 0.85rem; + border: 1px solid rgba(255, 255, 255, 0.08); + background: rgba(4, 16, 24, 0.65); + transition: border-color 0.15s ease, background 0.15s ease; +} + +.command-card:hover { + border-color: rgba(255, 255, 255, 0.15); +} + +.command-card--editing { + border-color: rgba(45, 212, 191, 0.5); + background: rgba(45, 212, 191, 0.05); +} + +.command-card__info { + flex: 1; + min-width: 0; +} + +.command-card__name { + margin: 0; + font-weight: 600; + font-size: 0.95rem; +} + +.command-card__code { + display: block; + margin: 0.3rem 0 0; + font-family: "JetBrains Mono", monospace; + font-size: 0.82rem; + color: #5eead4; + background: rgba(5, 6, 10, 0.6); + padding: 0.3rem 0.5rem; + border-radius: 0.4rem; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.command-card__desc { + margin: 0.35rem 0 0; + font-size: 0.82rem; + color: rgba(255, 255, 255, 0.55); +} + +.command-card__actions { + display: flex; + gap: 0.3rem; + flex-shrink: 0; +} + +.command-action { + width: 1.85rem; + height: 1.85rem; + border-radius: 0.5rem; + border: 1px solid rgba(255, 255, 255, 0.1); + background: rgba(255, 255, 255, 0.04); + color: rgba(255, 255, 255, 0.7); + display: inline-flex; + align-items: center; + justify-content: center; + cursor: pointer; + transition: all 0.15s ease; +} + +.command-action:hover { + background: rgba(255, 255, 255, 0.1); + color: #fff; + transform: translateY(-1px); +} + +.command-action--run { + background: rgba(52, 211, 153, 0.15); + border-color: rgba(52, 211, 153, 0.3); + color: #34d399; +} + +.command-action--run:hover { + background: rgba(52, 211, 153, 0.25); + color: #6ee7b7; +} + +.command-action--danger:hover { + background: rgba(248, 113, 113, 0.15); + border-color: rgba(248, 113, 113, 0.3); + color: #f87171; +} + +.command-form { + display: flex; + flex-direction: column; + gap: 0.65rem; + padding: 1rem; + border-radius: 0.85rem; + border: 1px solid rgba(45, 212, 191, 0.2); + background: rgba(45, 212, 191, 0.03); +} + +.command-form__row input { + width: 100%; + background: rgba(3, 7, 10, 0.8); + border: 1px solid rgba(255, 255, 255, 0.1); + border-radius: 0.65rem; + padding: 0.6rem 0.75rem; + color: inherit; + font-family: inherit; + font-size: 0.9rem; +} + +.command-form__row input:focus { + outline: 2px solid rgba(45, 212, 191, 0.5); + outline-offset: 2px; +} + +.command-form__actions { + display: flex; + gap: 0.5rem; + margin-top: 0.25rem; +} + +.command-form__btn { + display: inline-flex; + align-items: center; + gap: 0.35rem; + padding: 0.55rem 1rem; + border-radius: 0.65rem; + font-weight: 600; + font-size: 0.85rem; + cursor: pointer; + transition: all 0.15s ease; +} + +.command-form__btn--save { + background: linear-gradient(135deg, #34d399, #10b981); + border: none; + color: #041018; +} + +.command-form__btn--save:disabled { + opacity: 0.5; + cursor: not-allowed; +} + +.command-form__btn--save:not(:disabled):hover { + transform: translateY(-1px); +} + +.command-form__btn--cancel { + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.15); + color: rgba(255, 255, 255, 0.7); +} + +.command-form__btn--cancel:hover { + border-color: rgba(255, 255, 255, 0.3); + color: #fff; +} + .settings-overlay { position: fixed; inset: 0; diff --git a/src/App.tsx b/src/App.tsx index 85113ad..3ac1a51 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,7 +3,8 @@ import "./App.css"; import { Panel, PanelGroup, PanelResizeHandle } from "react-resizable-panels"; import Chatbot from "./components/Chatbot"; import Terminal from "./components/Terminal"; -import { SettingsButton, SettingsPanel } from "./components/SettingsPanel"; +import { SettingsPanel } from "./components/SettingsPanel"; +import ContextBar from "./components/ContextBar"; import { useSettings } from "./state/settings"; function App() { @@ -49,7 +50,10 @@ function App() { )} - setSettingsOpen(true)} /> + setSettingsOpen(true)} + sessionId={terminalSessionId} + /> setSettingsOpen(false)} /> ); diff --git a/src/components/CommandsPanel.tsx b/src/components/CommandsPanel.tsx new file mode 100644 index 0000000..9595113 --- /dev/null +++ b/src/components/CommandsPanel.tsx @@ -0,0 +1,260 @@ +import { MouseEvent, useCallback, useEffect, useState } from "react"; +import { AnimatePresence, motion } from "framer-motion"; +import { Edit2, Play, Plus, Save, TerminalSquare, Trash2, X } from "lucide-react"; +import clsx from "clsx"; + +interface SavedCommand { + id: string; + name: string; + command: string; + description?: string; +} + +const STORAGE_KEY = "termalime-saved-commands"; + +const createId = () => crypto.randomUUID?.() ?? Math.random().toString(36).slice(2); + +const loadCommands = (): SavedCommand[] => { + try { + const stored = localStorage.getItem(STORAGE_KEY); + return stored ? JSON.parse(stored) : []; + } catch { + return []; + } +}; + +const saveCommands = (commands: SavedCommand[]) => { + localStorage.setItem(STORAGE_KEY, JSON.stringify(commands)); +}; + +interface CommandsPanelProps { + open: boolean; + onClose: () => void; + onRunCommand?: (command: string) => void; +} + +export function CommandsPanel({ open, onClose, onRunCommand }: CommandsPanelProps) { + const [commands, setCommands] = useState([]); + const [editingId, setEditingId] = useState(null); + const [editForm, setEditForm] = useState({ name: "", command: "", description: "" }); + + useEffect(() => { + if (open) { + setCommands(loadCommands()); + } + }, [open]); + + const handleSave = useCallback(() => { + if (!editForm.name.trim() || !editForm.command.trim()) return; + + setCommands((prev) => { + let updated: SavedCommand[]; + if (editingId) { + updated = prev.map((cmd) => + cmd.id === editingId + ? { ...cmd, name: editForm.name, command: editForm.command, description: editForm.description } + : cmd + ); + } else { + updated = [ + ...prev, + { + id: createId(), + name: editForm.name, + command: editForm.command, + description: editForm.description, + }, + ]; + } + saveCommands(updated); + return updated; + }); + + setEditingId(null); + setEditForm({ name: "", command: "", description: "" }); + }, [editForm, editingId]); + + const handleEdit = (cmd: SavedCommand) => { + setEditingId(cmd.id); + setEditForm({ name: cmd.name, command: cmd.command, description: cmd.description || "" }); + }; + + const handleDelete = (id: string) => { + setCommands((prev) => { + const updated = prev.filter((cmd) => cmd.id !== id); + saveCommands(updated); + return updated; + }); + if (editingId === id) { + setEditingId(null); + setEditForm({ name: "", command: "", description: "" }); + } + }; + + const handleRun = (command: string) => { + onRunCommand?.(command); + onClose(); + }; + + const handleAddNew = () => { + setEditingId(null); + setEditForm({ name: "", command: "", description: "" }); + }; + + const handleCancel = () => { + setEditingId(null); + setEditForm({ name: "", command: "", description: "" }); + }; + + const isFormVisible = editingId !== null || (editForm.name === "" && commands.length === 0); + + return ( + + {open && ( + + ) => event.stopPropagation()} + > +
+
+

Quick access

+

Saved Commands

+
+ +
+ +
+ {commands.length === 0 && !editingId && ( +

+ No saved commands yet. Add your first command below! +

+ )} + + {commands.map((cmd) => ( +
+
+

{cmd.name}

+ {cmd.command} + {cmd.description && ( +

{cmd.description}

+ )} +
+
+ + + +
+
+ ))} +
+ + {(isFormVisible || editingId) && ( +
+
+ setEditForm((prev) => ({ ...prev, name: e.target.value }))} + /> +
+
+ setEditForm((prev) => ({ ...prev, command: e.target.value }))} + /> +
+
+ setEditForm((prev) => ({ ...prev, description: e.target.value }))} + /> +
+
+ + {(editingId || editForm.name || editForm.command) && ( + + )} +
+
+ )} + +
+ + {commands.length} saved +
+
+
+ )} +
+ ); +} + +interface CommandsButtonProps { + onRunCommand?: (command: string) => void; +} + +export default function CommandsButton({ onRunCommand }: CommandsButtonProps) { + const [open, setOpen] = useState(false); + + return ( + <> + + setOpen(false)} onRunCommand={onRunCommand} /> + + ); +} diff --git a/src/components/ContextBar.tsx b/src/components/ContextBar.tsx new file mode 100644 index 0000000..f680d2b --- /dev/null +++ b/src/components/ContextBar.tsx @@ -0,0 +1,124 @@ +import { useCallback, useEffect, useState } from "react"; +import { + Copy, + GitBranch, + Monitor, + Network, + Settings2, + Terminal as TerminalIcon, +} from "lucide-react"; +import { invoke } from "@tauri-apps/api/core"; +import CommandsButton from "./CommandsPanel"; + +interface ContextBarProps { + onSettingsClick: () => void; + sessionId?: string | null; +} + +interface SystemContext { + hostname: string | null; + username: string | null; + localIp: string | null; + gitBranch: string | null; + cwd: string | null; + shell: string | null; +} + +const ContextBar = ({ onSettingsClick, sessionId }: ContextBarProps) => { + const [context, setContext] = useState({ + hostname: null, + username: null, + localIp: null, + gitBranch: null, + cwd: null, + shell: null, + }); + + const fetchContext = useCallback(async () => { + try { + const data = await invoke("get_system_context", { + session_id: sessionId, + }); + setContext(data); + } catch (error) { + console.warn("Failed to fetch system context:", error); + } + }, [sessionId]); + + // Poll for context updates + useEffect(() => { + fetchContext(); + const interval = setInterval(fetchContext, 5000); // Update every 5 seconds + return () => clearInterval(interval); + }, [fetchContext]); + + return ( +
+
+ + +
+ +
+ +
+ {context.gitBranch && ( +
+ + {context.gitBranch} +
+ )} + + {context.hostname && ( +
+ + {context.hostname} +
+ )} + + {context.username && ( +
+ @{context.username} +
+ )} + + {context.localIp && ( +
+ + {context.localIp} +
+ )} + + {context.shell && ( +
+ + {context.shell} +
+ )} +
+ + {context.cwd && ( + <> +
+
+ + {context.cwd} + + +
+ + )} +
+ ); +}; + +export default ContextBar; From a88a54e40f57226e57e311ddce2e0ba1859b3b80 Mon Sep 17 00:00:00 2001 From: Davey Mason Date: Sun, 21 Dec 2025 22:19:08 +0000 Subject: [PATCH 4/4] bump version number --- package-lock.json | 4 ++-- package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4c90b9d..0947666 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "Termalime", - "version": "0.2.0", + "version": "0.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "Termalime", - "version": "0.2.0", + "version": "0.3.0", "dependencies": { "@tauri-apps/api": "^2", "@tauri-apps/plugin-opener": "^2", diff --git a/package.json b/package.json index 171813a..9bf4e89 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Termalime", "private": true, - "version": "0.2.0", + "version": "0.3.0", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 5867f50..8bb40a6 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -4,7 +4,7 @@ version = 4 [[package]] name = "Termalime" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "futures-util", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 9a5386e..8d8be88 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "Termalime" -version = "0.2.0" +version = "0.3.0" description = "A Terminal with an Ollama Co-Pilot" authors = ["Davey Mason"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 5acb241..9c44689 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Termalime", - "version": "0.2.0", + "version": "0.3.0", "identifier": "termaline", "build": { "beforeDevCommand": "npm run dev",