diff --git a/README.md b/README.md index 9d1bd41..4b2aa02 100644 --- a/README.md +++ b/README.md @@ -154,9 +154,9 @@ The dev server forwards the browser's model request through `POST /__mathscrap/a ## Packages -外壳是 Tauri 2。它把 `dist/` 放进系统 WebView。安装之后不连接 Vite,也不从公共 CDN 拉数学库或 OCR。标识是 `app.mathscrap`,版本 `0.1.0`。图标用纸面的牛皮色 `#c9a473`。 +外壳是 Tauri 2。它把 `dist/` 放进系统 WebView。安装之后不连接 Vite,也不从公共 CDN 拉数学库或 OCR。标识是 `app.mathscrap`,版本 `0.0.1`。图标用纸面的牛皮色 `#c9a473`。 -The shell is Tauri 2. It puts `dist/` in the system WebView. After install it does not connect to Vite and does not fetch the math library or OCR from a public CDN. The identifier is `app.mathscrap`, version `0.1.0`. The icon uses the kraft color `#c9a473`. +The shell is Tauri 2. It puts `dist/` in the system WebView. After install it does not connect to Vite and does not fetch the math library or OCR from a public CDN. The identifier is `app.mathscrap`, version `0.0.1`. The icon uses the kraft color `#c9a473`. | 命令 Command | 在哪里跑 / Where it runs | 得到什么 / What you get | | --- | --- | --- | diff --git a/crates/mathcore/Cargo.lock b/crates/mathcore/Cargo.lock index 0551bf7..b5c531b 100644 --- a/crates/mathcore/Cargo.lock +++ b/crates/mathcore/Cargo.lock @@ -22,7 +22,7 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" [[package]] name = "mathcore" -version = "0.1.0" +version = "0.0.1" dependencies = [ "serde", "serde_json", diff --git a/crates/mathcore/Cargo.toml b/crates/mathcore/Cargo.toml index 7c42917..019dbde 100644 --- a/crates/mathcore/Cargo.toml +++ b/crates/mathcore/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mathcore" -version = "0.1.0" +version = "0.0.1" edition = "2021" description = "Fast math helpers (parse, sample, solve, geometry inference) for the MathScrap kraft notebook, compiled to WASM." license = "MIT" diff --git a/mcp/server.ts b/mcp/server.ts index 56a3115..e38abb4 100644 --- a/mcp/server.ts +++ b/mcp/server.ts @@ -35,7 +35,7 @@ async function bridgeCall(name: string, args: Record) { return data.result } -const server = new Server({ name: 'mathscrap', version: '0.1.0' }, { capabilities: { tools: {} } }) +const server = new Server({ name: 'mathscrap', version: '0.0.1' }, { capabilities: { tools: {} } }) server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOL_SPECS.map((tool) => ({ diff --git a/package-lock.json b/package-lock.json index f555e0d..396d1ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mathscrap", - "version": "0.1.0", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mathscrap", - "version": "0.1.0", + "version": "0.0.1", "license": "Apache-2.0", "dependencies": { "@base-ui/react": "^1.9.0", diff --git a/package.json b/package.json index 605bcce..9209e7a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mathscrap", "private": true, - "version": "0.1.0", + "version": "0.0.1", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 2b5e863..9fc9023 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1732,7 +1732,7 @@ dependencies = [ [[package]] name = "mathscrap" -version = "0.1.0" +version = "0.0.1" dependencies = [ "serde", "serde_json", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 389b24c..e236373 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mathscrap" -version = "0.1.0" +version = "0.0.1" description = "Kraft-paper math scrapbook: Freeform-like sheet, shared plot, geometry inference (Rust/WASM)." authors = ["DNTOF"] license = "Apache-2.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 38c04e4..595e482 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": "MathScrap", - "version": "0.1.0", + "version": "0.0.1", "identifier": "app.mathscrap", "build": { "beforeDevCommand": "npm run dev", diff --git a/src/version.ts b/src/version.ts index 1bff0e6..c63a6e5 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,3 +1,3 @@ /** Installed-app metadata. Keep in step with package.json and src-tauri/tauri.conf.json. */ export const APP_NAME = 'MathScrap' -export const APP_VERSION = '0.1.0' +export const APP_VERSION = '0.0.1' diff --git a/src/wasm/pkg/package.json b/src/wasm/pkg/package.json index 9c759e6..15e56e7 100644 --- a/src/wasm/pkg/package.json +++ b/src/wasm/pkg/package.json @@ -2,7 +2,7 @@ "name": "mathcore", "type": "module", "description": "Fast math helpers (parse, sample, solve, geometry inference) for the MathScrap kraft notebook, compiled to WASM.", - "version": "0.1.0", + "version": "0.0.1", "license": "MIT", "files": [ "mathcore_bg.wasm",