diff --git a/build/build_number.txt b/build/build_number.txt index 54ea97e9..9b5c4542 100644 --- a/build/build_number.txt +++ b/build/build_number.txt @@ -1 +1 @@ -310 +319 diff --git a/css/index.css b/css/index.css index ac612113..1b7bff61 100644 --- a/css/index.css +++ b/css/index.css @@ -208,7 +208,7 @@ --sidebar-scroll-thumb-color: var(--scrollbar-thumb-color); --sidebar-icon-color: var(--icon-color); --sidebar-selected-color: var(--highlight-color); - --sidebar-search-bg-color: rgb(44, 64, 84); + --sidebar-search-bg-color: rgb(64, 74, 84); --sidebar-search-border-color: rgb(76, 96, 116); --sidebar-section-title-color: var(--icon-color); diff --git a/defaults/settings.json b/defaults/settings.json index 5c623baf..bf9c847d 100644 --- a/defaults/settings.json +++ b/defaults/settings.json @@ -4,6 +4,7 @@ "firstRun": true, "keepRunning": true, "hideOnStartup": false, + "autoSavePrompt": false, "language": "", "tips": { "trayIcon": true, @@ -11,7 +12,8 @@ "modelSelector": true, "scratchpad": true, "conversation": true, - "computerUse": true + "computerUse": true, + "newPrompt": true }, "confirm": { "retryGeneration": true @@ -67,10 +69,10 @@ "alt": true, "ctrl": true }, - "anywhere": { - "key": "Space", + "prompt": { + "key": "P", "shift": true, - "ctrl": true + "meta": true }, "transcribe": { "key": "Space", diff --git a/package-lock.json b/package-lock.json index b66f3fab..e41b415f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "witsy", - "version": "1.21.2", + "version": "1.22.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "witsy", - "version": "1.21.2", + "version": "1.22.0", "license": "Apache-2.0", "dependencies": { "@el3um4s/run-vbs": "^1.1.2", diff --git a/package.json b/package.json index 82c34785..f386cc4f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "witsy", "productName": "Witsy", - "version": "1.21.2", + "version": "1.22.0", "description": "Witsy: desktop AI assistant", "repository": { "type": "git", diff --git a/src/App.vue b/src/App.vue index d6137ce4..705533cb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@ @@ -75,19 +215,90 @@ const onPrompt = (data) => { diff --git a/src/services/store.ts b/src/services/store.ts index 3184aeb6..c6b83a90 100644 --- a/src/services/store.ts +++ b/src/services/store.ts @@ -31,6 +31,10 @@ export const store: Store = reactive({ loadSettings() }, + loadHistory: async () => { + loadHistory() + }, + loadCommands: async () => { loadCommands() }, @@ -78,7 +82,7 @@ export const store: Store = reactive({ try { - // we need to srip attchment contents + // we need to srip attachment contents const chats = JSON.parse(JSON.stringify(store.chats.filter((chat) => chat.messages.length > 1))) for (const chat of chats) { for (const message of chat.messages) { diff --git a/src/settings/SettingsAdvanced.vue b/src/settings/SettingsAdvanced.vue index dd8c7339..707ec2a8 100644 --- a/src/settings/SettingsAdvanced.vue +++ b/src/settings/SettingsAdvanced.vue @@ -1,10 +1,15 @@