From fc5961088b2509d0d064ad78641f6268eacfb92c Mon Sep 17 00:00:00 2001 From: sawka Date: Mon, 20 Oct 2025 22:32:53 -0700 Subject: [PATCH 1/3] fix for IME composing bug (Enter should not submit) --- frontend/app/aipanel/aipanelinput.tsx | 3 ++- package-lock.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/app/aipanel/aipanelinput.tsx b/frontend/app/aipanel/aipanelinput.tsx index 10ad616b65..8660d2d5fb 100644 --- a/frontend/app/aipanel/aipanelinput.tsx +++ b/frontend/app/aipanel/aipanelinput.tsx @@ -52,7 +52,8 @@ export const AIPanelInput = memo(({ onSubmit, status, model }: AIPanelInputProps }, [model, resizeTextarea]); const handleKeyDown = (e: React.KeyboardEvent) => { - if (e.key === "Enter" && !e.shiftKey) { + const isComposing = e.nativeEvent?.isComposing || e.keyCode == 229; + if (e.key === "Enter" && !e.shiftKey && !isComposing) { e.preventDefault(); onSubmit(e as any); } diff --git a/package-lock.json b/package-lock.json index 6e9bfe3632..c95c96f883 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "waveterm", - "version": "0.12.0", + "version": "0.12.1-beta.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "waveterm", - "version": "0.12.0", + "version": "0.12.1-beta.0", "hasInstallScript": true, "license": "Apache-2.0", "workspaces": [ From a816e82b4651ef3fdc82ca825b90522ce1f95250 Mon Sep 17 00:00:00 2001 From: sawka Date: Mon, 20 Oct 2025 22:52:12 -0700 Subject: [PATCH 2/3] add instructions for "coming soon" features --- pkg/aiusechat/usechat.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/aiusechat/usechat.go b/pkg/aiusechat/usechat.go index a5cd8e8974..7e35bb2ba4 100644 --- a/pkg/aiusechat/usechat.go +++ b/pkg/aiusechat/usechat.go @@ -84,6 +84,10 @@ var SystemPromptText_OpenAI = strings.Join([]string{ `If a request would execute dangerous or destructive actions, warn briefly and provide a safer alternative.`, `If output is very long, prefer a brief summary plus a copy-ready fenced block or offer a follow-up chunking strategy.`, + `You cannot yet execute shell commands, run code in the terminal, or directly edit files on disk. You also cannot read remote files.`, + `If the user asks you to do one of those things, say that these features aren’t available yet AND make sure to say that they are coming soon (stay tuned for updates).`, + `Instead, show them exactly what command or code they could copy-paste to perform it manually.`, + // Final reminder `You have NO API access to widgets or Wave unless provided via an explicit tool.`, }, " ") From 3929941d8e06c3305189ea177942122eb1b37f9a Mon Sep 17 00:00:00 2001 From: sawka Date: Mon, 20 Oct 2025 23:04:04 -0700 Subject: [PATCH 3/3] update privacy stuff to say we proxy through waveai --- docs/docs/waveai.mdx | 2 +- frontend/app/aipanel/telemetryrequired.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/docs/waveai.mdx b/docs/docs/waveai.mdx index 8d2da28b15..65ffade29f 100644 --- a/docs/docs/waveai.mdx +++ b/docs/docs/waveai.mdx @@ -63,7 +63,7 @@ File system operations require explicit approval. You control all file access. ## Privacy -- Messages are proxied through the Wave Cloud AI service (powered by OpenAI) +- Messages are proxied through the Wave Cloud AI service (powered by OpenAI's APIs). Please refer to OpenAI's privacy policy for details on how they handle your data. - Wave does not store your chats, attachments, or use them for training - Usage counters included in anonymous telemetry - File access requires explicit approval diff --git a/frontend/app/aipanel/telemetryrequired.tsx b/frontend/app/aipanel/telemetryrequired.tsx index 8124a621c0..b0043c3ad2 100644 --- a/frontend/app/aipanel/telemetryrequired.tsx +++ b/frontend/app/aipanel/telemetryrequired.tsx @@ -57,7 +57,8 @@ const TelemetryRequiredMessage = ({ className }: TelemetryRequiredMessageProps)

We never collect your files, prompts, keystrokes, hostnames, or personally - identifying information. + identifying information. Wave AI is powered by OpenAI's APIs, please refer to + OpenAI's privacy policy for details on how they handle your data.