Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ coverage/
.nyc_output
*.tmp
*.temp
nul
.idea/
.vscode/

.npmrc
README.md
!/README.md
Expand All @@ -25,3 +23,4 @@ cli/npm/**/*.node
libraries/**/dist/*.node
**/target/
!**/Cargo.lock
output/
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ members = [
]

[workspace.package]
version = "2026.10402.110"
version = "2026.10402.116"
edition = "2024"
rust-version = "1.88"
license = "AGPL-3.0-only"
Expand Down
2 changes: 1 addition & 1 deletion cli/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@truenine/memory-sync-cli-darwin-arm64",
"version": "2026.10402.110",
"version": "2026.10402.116",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion cli/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@truenine/memory-sync-cli-darwin-x64",
"version": "2026.10402.110",
"version": "2026.10402.116",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion cli/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@truenine/memory-sync-cli-linux-arm64-gnu",
"version": "2026.10402.110",
"version": "2026.10402.116",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion cli/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@truenine/memory-sync-cli-linux-x64-gnu",
"version": "2026.10402.110",
"version": "2026.10402.116",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion cli/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@truenine/memory-sync-cli-win32-x64-msvc",
"version": "2026.10402.110",
"version": "2026.10402.116",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@truenine/memory-sync-cli",
"type": "module",
"version": "2026.10402.110",
"version": "2026.10402.116",
"description": "TrueNine Memory Synchronization CLI shell",
"author": "TrueNine",
"license": "AGPL-3.0-only",
Expand Down
4 changes: 2 additions & 2 deletions cli/src/plugin.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import {
DroidCLIOutputPlugin,
EditorConfigOutputPlugin,
GeminiCLIOutputPlugin,
GenericSkillsOutputPlugin,
GitExcludeOutputPlugin,
JetBrainsAIAssistantCodexOutputPlugin,
JetBrainsIDECodeStyleConfigOutputPlugin,
KiroCLIOutputPlugin,
OpencodeCLIOutputPlugin,
QoderIDEPluginOutputPlugin,
ReadmeMdConfigFileOutputPlugin,
Expand Down Expand Up @@ -48,7 +48,7 @@ export async function createDefaultPluginConfig(
new JetBrainsAIAssistantCodexOutputPlugin(),
new DroidCLIOutputPlugin(),
new GeminiCLIOutputPlugin(),
new GenericSkillsOutputPlugin(),
new KiroCLIOutputPlugin(),
new OpencodeCLIOutputPlugin(),
new QoderIDEPluginOutputPlugin(),
new TraeIDEOutputPlugin(),
Expand Down
3 changes: 1 addition & 2 deletions doc/content/cli/plugin-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ The default output plugins currently assembled in `sdk/src/plugin.config.ts` inc

- `AgentsOutputPlugin`
- `ClaudeCodeCLIOutputPlugin`
- `CodexCLIOutputPlugin`
- `CodexCLIOutputPlugin` (now also emits Codex skill bundles and per-skill `mcp.json` files)
- `JetBrainsAIAssistantCodexOutputPlugin`
- `DroidCLIOutputPlugin`
- `GeminiCLIOutputPlugin`
- `GenericSkillsOutputPlugin` (deprecated, kept only for compatibility with older skill distribution; cleanup must also remove the global `~/.skills/` directory)
- `OpencodeCLIOutputPlugin`
- `QoderIDEPluginOutputPlugin`
- `TraeIDEOutputPlugin`
Expand Down
2 changes: 1 addition & 1 deletion doc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@truenine/memory-sync-docs",
"version": "2026.10402.110",
"version": "2026.10402.116",
"private": true,
"description": "Chinese-first manifesto-led documentation site for @truenine/memory-sync.",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion gui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@truenine/memory-sync-gui",
"version": "2026.10402.110",
"version": "2026.10402.116",
"private": true,
"engines": {
"node": ">=25.2.1",
Expand Down
2 changes: 1 addition & 1 deletion gui/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "memory-sync-gui"
version = "2026.10402.110"
version = "2026.10402.116"
description = "Memory Sync desktop GUI application"
authors.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion gui/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://schema.tauri.app/config/2",
"version": "2026.10402.110",
"version": "2026.10402.116",
"productName": "Memory Sync",
"identifier": "org.truenine.memory-sync",
"build": {
Expand Down
2 changes: 1 addition & 1 deletion libraries/logger/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@truenine/logger",
"type": "module",
"version": "2026.10402.110",
"version": "2026.10402.116",
"private": true,
"description": "Rust-powered AI-friendly Markdown logger for Node.js via N-API",
"license": "AGPL-3.0-only",
Expand Down
2 changes: 1 addition & 1 deletion libraries/md-compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@truenine/md-compiler",
"type": "module",
"version": "2026.10402.110",
"version": "2026.10402.116",
"private": true,
"description": "Rust-powered MDX→Markdown compiler for Node.js with pure-TS fallback",
"license": "AGPL-3.0-only",
Expand Down
2 changes: 1 addition & 1 deletion libraries/script-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@truenine/script-runtime",
"type": "module",
"version": "2026.10402.110",
"version": "2026.10402.116",
"private": true,
"description": "Rust-backed TypeScript proxy runtime for tnmsc",
"license": "AGPL-3.0-only",
Expand Down
2 changes: 1 addition & 1 deletion mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@truenine/memory-sync-mcp",
"type": "module",
"version": "2026.10402.110",
"version": "2026.10402.116",
"description": "MCP stdio server for managing memory-sync prompt sources and translation artifacts",
"author": "TrueNine",
"license": "AGPL-3.0-only",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@truenine/memory-sync",
"version": "2026.10402.110",
"version": "2026.10402.116",
"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": [
Expand Down Expand Up @@ -40,7 +40,7 @@
"install:rust-deps": "tsx scripts/install-rust-deps.ts",
"build:native": "tsx scripts/build-native.ts",
"build:native:copy": "tsx scripts/copy-napi.ts",
"postinstall": "simple-git-hooks && pnpm run install:rust-deps && pnpm run build:native"
"postinstall": "tsx scripts/postinstall.ts"
},
"author": {
"email": "truenine304520@gmail.com",
Expand Down
27 changes: 27 additions & 0 deletions scripts/postinstall.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env tsx
import {execSync} from 'node:child_process'
import process from 'node:process'

const CI_ENV_VARS = ['CI', 'GITHUB_ACTIONS', 'VERCEL', 'VERCEL_ENV'] as const

function hasTruthyEnv(name: (typeof CI_ENV_VARS)[number]): boolean {
const value = process.env[name]
return typeof value === 'string' && value.length > 0 && value !== '0' && value !== 'false'
}

if (CI_ENV_VARS.some(hasTruthyEnv)) {
console.log('[postinstall] CI or Vercel detected, skipping git hooks and native bootstrap')
process.exit(0)
}

const commands = [
'simple-git-hooks',
'pnpm run install:rust-deps',
'pnpm run build:native',
] as const

for (const command of commands) {
execSync(command, {
stdio: 'inherit',
})
}
2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@truenine/memory-sync-sdk",
"type": "module",
"version": "2026.10402.110",
"version": "2026.10402.116",
"private": true,
"description": "TrueNine Memory Synchronization SDK",
"author": "TrueNine",
Expand Down
Loading
Loading