diff --git a/Cargo.lock b/Cargo.lock index b96519b8..cbb32af9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2071,7 +2071,7 @@ dependencies = [ [[package]] name = "memory-sync-gui" -version = "2026.10303.11050" +version = "2026.10303.11058" dependencies = [ "dirs", "proptest", diff --git a/cli/npm/darwin-arm64/package.json b/cli/npm/darwin-arm64/package.json index 781ef0a8..ca3b6810 100644 --- a/cli/npm/darwin-arm64/package.json +++ b/cli/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@truenine/memory-sync-cli-darwin-arm64", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "os": [ "darwin" ], diff --git a/cli/npm/darwin-x64/package.json b/cli/npm/darwin-x64/package.json index 6f504af0..4c3104f3 100644 --- a/cli/npm/darwin-x64/package.json +++ b/cli/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@truenine/memory-sync-cli-darwin-x64", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "os": [ "darwin" ], diff --git a/cli/npm/linux-arm64-gnu/package.json b/cli/npm/linux-arm64-gnu/package.json index 1f991eab..a4189f57 100644 --- a/cli/npm/linux-arm64-gnu/package.json +++ b/cli/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@truenine/memory-sync-cli-linux-arm64-gnu", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "os": [ "linux" ], diff --git a/cli/npm/linux-x64-gnu/package.json b/cli/npm/linux-x64-gnu/package.json index 8d946917..86af2ea8 100644 --- a/cli/npm/linux-x64-gnu/package.json +++ b/cli/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@truenine/memory-sync-cli-linux-x64-gnu", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "os": [ "linux" ], diff --git a/cli/npm/win32-x64-msvc/package.json b/cli/npm/win32-x64-msvc/package.json index 05a2bd89..9774d61c 100644 --- a/cli/npm/win32-x64-msvc/package.json +++ b/cli/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@truenine/memory-sync-cli-win32-x64-msvc", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "os": [ "win32" ], diff --git a/cli/package.json b/cli/package.json index 32d615d0..eb19e634 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,7 +1,7 @@ { "name": "@truenine/memory-sync-cli", "type": "module", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "description": "TrueNine Memory Synchronization CLI", "author": "TrueNine", "license": "AGPL-3.0-only", diff --git a/doc/package.json b/doc/package.json index 75edd3d2..1594fdec 100644 --- a/doc/package.json +++ b/doc/package.json @@ -1,6 +1,6 @@ { "name": "@truenine/memory-sync-docs", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "private": true, "description": "Documentation site for @truenine/memory-sync, built with Next.js 16 and MDX.", "engines": { diff --git a/gui/package.json b/gui/package.json index 0703be48..2d13eab8 100644 --- a/gui/package.json +++ b/gui/package.json @@ -1,6 +1,6 @@ { "name": "@truenine/memory-sync-gui", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "private": true, "engines": { "node": ">=25.2.1", diff --git a/gui/src-tauri/Cargo.toml b/gui/src-tauri/Cargo.toml index 36b13723..cb674f79 100644 --- a/gui/src-tauri/Cargo.toml +++ b/gui/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "memory-sync-gui" -version = "2026.10303.11050" +version = "2026.10303.11058" description = "Memory Sync desktop GUI application" authors.workspace = true edition.workspace = true diff --git a/gui/src-tauri/tauri.conf.json b/gui/src-tauri/tauri.conf.json index e62ccc30..4a1bbe31 100644 --- a/gui/src-tauri/tauri.conf.json +++ b/gui/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.tauri.app/config/2", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "productName": "Memory Sync", "identifier": "org.truenine.memory-sync", "build": { diff --git a/libraries/logger/package.json b/libraries/logger/package.json index 2b9d27e9..c6f029c7 100644 --- a/libraries/logger/package.json +++ b/libraries/logger/package.json @@ -1,7 +1,7 @@ { "name": "@truenine/logger", "type": "module", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "private": true, "description": "Rust-powered structured logger for Node.js with pure-TS fallback", "license": "AGPL-3.0-only", diff --git a/libraries/md-compiler/package.json b/libraries/md-compiler/package.json index c4d51652..1bae642d 100644 --- a/libraries/md-compiler/package.json +++ b/libraries/md-compiler/package.json @@ -1,7 +1,7 @@ { "name": "@truenine/md-compiler", "type": "module", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "private": true, "description": "Rust-powered MDX→Markdown compiler for Node.js with pure-TS fallback", "license": "AGPL-3.0-only", diff --git a/package.json b/package.json index b37844b9..c0d3916e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@truenine/memory-sync", - "version": "2026.10303.11050", + "version": "2026.10303.11058", "description": "Cross-AI-tool prompt synchronisation toolkit (CLI + Tauri desktop GUI) — one ruleset, multi-target adaptation. Monorepo powered by pnpm + Turbo.", "license": "AGPL-3.0-only", "keywords": [ diff --git a/scripts/copy-napi.ts b/scripts/copy-napi.ts index cb2ce017..eff80158 100644 --- a/scripts/copy-napi.ts +++ b/scripts/copy-napi.ts @@ -1,6 +1,7 @@ #!/usr/bin/env tsx import {cpSync, existsSync, mkdirSync, readdirSync} from 'node:fs' -import {join, resolve} from 'node:path' +import {dirname, join, resolve} from 'node:path' +import {fileURLToPath} from 'node:url' import process from 'node:process' const NATIVE_MODULES = [ @@ -17,7 +18,8 @@ const PLATFORM_MAP: Record = { 'darwin-x64': 'darwin-x64', } -const root = resolve(import.meta.dirname, '..') +const __dirname = dirname(fileURLToPath(import.meta.url)) +const root = resolve(__dirname, '..') const suffix = PLATFORM_MAP[`${process.platform}-${process.arch}`] if (suffix == null) {