synabun 2026.3.302 → 2026.3.303

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/postinstall.js +5 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synabun",
3
- "version": "2026.3.302",
3
+ "version": "2026.3.303",
4
4
  "description": "Persistent vector memory for AI assistants",
5
5
  "license": "Apache-2.0",
6
6
  "author": "The SynaBun Authors",
package/postinstall.js CHANGED
@@ -59,7 +59,7 @@ function installDeps(name, dir) {
59
59
 
60
60
  info(`Installing ${name} dependencies...`);
61
61
  try {
62
- execSync('npm install', {
62
+ execSync('npm install --omit=dev --ignore-scripts', {
63
63
  cwd: dir,
64
64
  stdio: 'inherit',
65
65
  timeout: 300_000,
@@ -103,18 +103,17 @@ function buildMcpServer() {
103
103
  return;
104
104
  }
105
105
 
106
- info('Building MCP server...');
106
+ // dist/ ships pre-built in the npm package — build is a fallback only
107
+ warn('MCP server dist/ not found — attempting build (requires TypeScript)');
107
108
  try {
108
- execSync('npm run build', {
109
+ execSync('npx tsc', {
109
110
  cwd: resolve(__dirname, 'mcp-server'),
110
111
  stdio: 'pipe',
111
112
  timeout: 60_000,
112
113
  });
113
114
  ok('MCP server built');
114
115
  } catch (err) {
115
- fail('MCP server build failed');
116
- console.error(err.stderr?.toString() || err.message);
117
- process.exit(1);
116
+ warn('MCP server build failed (TypeScript not available) — this is OK if dist/ was shipped');
118
117
  }
119
118
  }
120
119