synabun 2026.3.314 → 2026.3.316

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.
@@ -5617,7 +5617,7 @@ async function init() {
5617
5617
  if (health.projectDir) {
5618
5618
  localStorage.setItem('synabun-project-dir', health.projectDir);
5619
5619
  const cmdEl = document.getElementById('loading-cmd-text');
5620
- if (cmdEl) cmdEl.textContent = 'cd ' + health.projectDir + ' && npm start';
5620
+ if (cmdEl) cmdEl.textContent = 'cd "' + health.projectDir + '" ; npm start';
5621
5621
  }
5622
5622
  if (!health.ok) {
5623
5623
  const messages = {
@@ -5635,7 +5635,7 @@ async function init() {
5635
5635
  const cached = localStorage.getItem('synabun-project-dir');
5636
5636
  if (cached) {
5637
5637
  const cmdEl = document.getElementById('loading-cmd-text');
5638
- if (cmdEl) cmdEl.textContent = 'cd ' + cached + ' && npm start';
5638
+ if (cmdEl) cmdEl.textContent = 'cd "' + cached + '" ; npm start';
5639
5639
  }
5640
5640
  }
5641
5641
 
@@ -5160,7 +5160,7 @@ async function init() {
5160
5160
  if (health.projectDir) {
5161
5161
  localStorage.setItem('synabun-project-dir', health.projectDir);
5162
5162
  const cmdEl = document.getElementById('loading-cmd-text');
5163
- if (cmdEl) cmdEl.textContent = 'cd ' + health.projectDir + ' && npm start';
5163
+ if (cmdEl) cmdEl.textContent = 'cd "' + health.projectDir + '" ; npm start';
5164
5164
  }
5165
5165
  if (!health.ok) {
5166
5166
  const messages = {
@@ -5177,7 +5177,7 @@ async function init() {
5177
5177
  const cached = localStorage.getItem('synabun-project-dir');
5178
5178
  if (cached) {
5179
5179
  const cmdEl = document.getElementById('loading-cmd-text');
5180
- if (cmdEl) cmdEl.textContent = 'cd ' + cached + ' && npm start';
5180
+ if (cmdEl) cmdEl.textContent = 'cd "' + cached + '" ; npm start';
5181
5181
  }
5182
5182
  }
5183
5183
 
@@ -104,10 +104,8 @@ function resetLoadingToConnecting() {
104
104
  export async function checkHealth() {
105
105
  try {
106
106
  const health = await fetchHealth();
107
- // Cache projectDir for the server-offline command display
108
107
  if (health.projectDir) {
109
108
  localStorage.setItem('synabun-project-dir', health.projectDir);
110
- updateCmdText(health.projectDir);
111
109
  }
112
110
  if (!health.ok) {
113
111
  const messages = {
@@ -130,11 +128,11 @@ export async function checkHealth() {
130
128
  }
131
129
 
132
130
  /**
133
- * Update the command text element with the full path to npm start.
131
+ * Update the command text element with the restart command.
134
132
  */
135
133
  function updateCmdText(projectDir) {
136
134
  const cmdEl = $('loading-cmd-text');
137
- if (cmdEl) cmdEl.textContent = `cd ${projectDir} && npm start`;
135
+ if (cmdEl) cmdEl.textContent = `cd "${projectDir}" ; npm start`;
138
136
  }
139
137
 
140
138
  // ═══════════════════════════════════════════
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synabun",
3
- "version": "2026.3.314",
3
+ "version": "2026.3.316",
4
4
  "description": "Persistent vector memory for AI assistants",
5
5
  "license": "Apache-2.0",
6
6
  "author": "The SynaBun Authors",