From f8cfd629e06472262f06fc9e87a35608aa02aa97 Mon Sep 17 00:00:00 2001 From: Sunny-Moom Date: Wed, 2 Apr 2025 15:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=89=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config_public_terminal.js | 4 +-- src/app.html | 21 ++--------- src/lib/AnthropicTab.svelte | 8 ++--- src/lib/CpuTab.svelte | 8 ++--- src/lib/DiscordTab.svelte | 12 ------- src/lib/DiskTab.svelte | 62 --------------------------------- src/lib/GitHubTab.svelte | 13 ------- src/lib/InformationTab.svelte | 12 +++---- src/lib/NetworkingTab.svelte | 4 +-- src/lib/PostsTab.svelte | 14 -------- src/lib/SideBar.svelte | 12 ------- src/lib/WebVM.svelte | 4 +-- src/lib/messages.js | 59 +++++++++++++++---------------- src/routes/+page.svelte | 2 +- src/routes/alpine/+page.svelte | 2 +- tower.ico | Bin 74462 -> 12533 bytes 16 files changed, 51 insertions(+), 186 deletions(-) delete mode 100644 src/lib/DiscordTab.svelte delete mode 100644 src/lib/DiskTab.svelte delete mode 100644 src/lib/GitHubTab.svelte delete mode 100644 src/lib/PostsTab.svelte diff --git a/config_public_terminal.js b/config_public_terminal.js index 8708dbc..2bb4449 100644 --- a/config_public_terminal.js +++ b/config_public_terminal.js @@ -1,7 +1,7 @@ // The root filesystem location -export const diskImageUrl = "wss://disks.webvm.io/debian_large_20230522_5044875331.ext2"; +export const diskImageUrl = "/disk-images/debian_large_20230522_5044875331.ext2"; // The root filesystem backend type -export const diskImageType = "cloud"; +export const diskImageType = "bytes"; // Print an introduction message about the technology export const printIntro = true; // Is a graphical display needed diff --git a/src/app.html b/src/app.html index 8a5e553..9ec1117 100644 --- a/src/app.html +++ b/src/app.html @@ -1,28 +1,11 @@ - + - WebVM - Linux virtualization in WebAssembly - - - - - - - - - - - - + WebVM(o゜▽゜)o☆ - - - - - diff --git a/src/lib/AnthropicTab.svelte b/src/lib/AnthropicTab.svelte index fc6e611..bcd558f 100644 --- a/src/lib/AnthropicTab.svelte +++ b/src/lib/AnthropicTab.svelte @@ -77,11 +77,11 @@ }

Claude AI Integration

-

WebVM is integrated with Claude by Anthropic AI. You can prompt the AI to control the system.

-

You need to provide your API key. The key is only saved locally to your browser.

+

WebVM使用Anthropic AI与Claude集成。你可以用AI控制系统。

+

您需要提供您的API密钥。密钥仅在浏览器中本地保存。

- Conversation history + 对话历史 @@ -102,7 +102,7 @@

{#if $apiState == "KEY_REQUIRED"} -