fivocell 8.11.3 → 8.11.4

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.
@@ -68,20 +68,20 @@ describe('Pre-Launch fix v4.1.7: mcp-config field names', () => {
68
68
  runMcpConfig();
69
69
  const cfg = readJson(path.join(TMP_HOME, '.cursor', 'mcp.json'));
70
70
  const mcpServers = cfg.mcpServers;
71
- expect(mcpServers['fivo-cell']).toEqual({ url: 'http://localhost:9876/mcp' });
71
+ expect(mcpServers['fivo-cell']).toEqual({ url: 'http://127.0.0.1:9876/mcp' });
72
72
  });
73
73
  it('Gemini CLI: writes { url } under mcpServers.fivo-cell', () => {
74
74
  runMcpConfig();
75
75
  const cfg = readJson(path.join(TMP_HOME, '.gemini', 'settings.json'));
76
76
  const mcpServers = cfg.mcpServers;
77
- expect(mcpServers['fivo-cell']).toEqual({ url: 'http://localhost:9876/mcp' });
77
+ expect(mcpServers['fivo-cell']).toEqual({ url: 'http://127.0.0.1:9876/mcp' });
78
78
  });
79
79
  it('Antigravity: writes { serverUrl } under mcpServers.fivo-cell (NOT url)', () => {
80
80
  runMcpConfig();
81
81
  const cfg = readJson(path.join(TMP_HOME, '.gemini', 'config', 'mcp_config.json'));
82
82
  const mcpServers = cfg.mcpServers;
83
83
  const entry = mcpServers['fivo-cell'];
84
- expect(entry).toEqual({ serverUrl: 'http://localhost:9876/mcp' });
84
+ expect(entry).toEqual({ serverUrl: 'http://127.0.0.1:9876/mcp' });
85
85
  expect(entry.url).toBeUndefined();
86
86
  });
87
87
  it('Codex: writes { url } under mcp.servers.fivo-cell (NOT mcpServers)', () => {
@@ -89,7 +89,7 @@ describe('Pre-Launch fix v4.1.7: mcp-config field names', () => {
89
89
  const cfg = readJson(path.join(TMP_HOME, '.codex', 'config.json'));
90
90
  const mcp = cfg.mcp;
91
91
  const servers = mcp.servers;
92
- expect(servers['fivo-cell']).toEqual({ url: 'http://localhost:9876/mcp' });
92
+ expect(servers['fivo-cell']).toEqual({ url: 'http://127.0.0.1:9876/mcp' });
93
93
  expect(cfg.mcpServers).toBeUndefined();
94
94
  });
95
95
  it('OpenCode: writes { type:remote,url,enabled:true } under mcp.cell', () => {
@@ -97,7 +97,7 @@ describe('Pre-Launch fix v4.1.7: mcp-config field names', () => {
97
97
  const cfg = readJson(path.join(TMP_HOME, '.config', 'opencode', 'opencode.jsonc'));
98
98
  const mcp = cfg.mcp;
99
99
  const cell = mcp.cell;
100
- expect(cell).toEqual({ type: 'remote', url: 'http://localhost:9876/mcp', enabled: true });
100
+ expect(cell).toEqual({ type: 'remote', url: 'http://127.0.0.1:9876/mcp', enabled: true });
101
101
  });
102
102
  });
103
103
  describe('Pre-Launch fix v4.1.7: mcp-config legacy cleanup', () => {
@@ -106,7 +106,7 @@ describe('Pre-Launch fix v4.1.7: mcp-config legacy cleanup', () => {
106
106
  fs.mkdirSync(path.dirname(file), { recursive: true });
107
107
  fs.writeFileSync(file, JSON.stringify({
108
108
  mcpServers: {
109
- cell: { serverUrl: 'http://localhost:9876/mcp' },
109
+ cell: { serverUrl: 'http://127.0.0.1:9876/mcp' },
110
110
  other: { url: 'http://other.example/mcp' },
111
111
  },
112
112
  }, null, 2));
@@ -114,7 +114,7 @@ describe('Pre-Launch fix v4.1.7: mcp-config legacy cleanup', () => {
114
114
  const cfg = readJson(file);
115
115
  const mcpServers = cfg.mcpServers;
116
116
  expect(mcpServers.cell).toBeUndefined();
117
- expect(mcpServers['fivo-cell']).toEqual({ serverUrl: 'http://localhost:9876/mcp' });
117
+ expect(mcpServers['fivo-cell']).toEqual({ serverUrl: 'http://127.0.0.1:9876/mcp' });
118
118
  expect(mcpServers.other).toEqual({ url: 'http://other.example/mcp' });
119
119
  });
120
120
  it('Codex: removes flat mcpServers leftover, keeps nested mcp.servers', () => {
@@ -130,7 +130,7 @@ describe('Pre-Launch fix v4.1.7: mcp-config legacy cleanup', () => {
130
130
  const mcp = cfg.mcp;
131
131
  const servers = mcp.servers;
132
132
  expect(servers.cell).toBeUndefined();
133
- expect(servers['fivo-cell']).toEqual({ url: 'http://localhost:9876/mcp' });
133
+ expect(servers['fivo-cell']).toEqual({ url: 'http://127.0.0.1:9876/mcp' });
134
134
  });
135
135
  it('Cursor: removes multiple legacy cell keys (cell, fivo-cell, FIVO-Cell)', () => {
136
136
  const file = path.join(TMP_HOME, '.cursor', 'mcp.json');
@@ -147,7 +147,7 @@ describe('Pre-Launch fix v4.1.7: mcp-config legacy cleanup', () => {
147
147
  const cfg = readJson(file);
148
148
  const mcpServers = cfg.mcpServers;
149
149
  expect(Object.keys(mcpServers).sort()).toEqual(['fivo-cell', 'other']);
150
- expect(mcpServers['fivo-cell']).toEqual({ url: 'http://localhost:9876/mcp' });
150
+ expect(mcpServers['fivo-cell']).toEqual({ url: 'http://127.0.0.1:9876/mcp' });
151
151
  expect(mcpServers.other).toEqual({ url: 'http://keep' });
152
152
  });
153
153
  it('OpenCode: only one cell entry survives under mcp.cell', () => {
@@ -129,7 +129,7 @@ describe('setup (idempotency checks)', () => {
129
129
  // Write a Cursor config with fivo-cell already wired
130
130
  const cursorDir = path.join(homedir, '.cursor');
131
131
  fs.mkdirSync(cursorDir, { recursive: true });
132
- fs.writeFileSync(path.join(cursorDir, 'mcp.json'), JSON.stringify({ mcpServers: { 'fivo-cell': { url: 'http://localhost:9876/mcp' } } }), 'utf8');
132
+ fs.writeFileSync(path.join(cursorDir, 'mcp.json'), JSON.stringify({ mcpServers: { 'fivo-cell': { url: 'http://127.0.0.1:9876/mcp' } } }), 'utf8');
133
133
  const state = (0, setup_1.checkMcpState)(homedir);
134
134
  expect(state.done).toBe(1);
135
135
  expect(state.needsWrite).not.toContain('Cursor');
@@ -75,7 +75,7 @@ function getMcpTargets(homedir) {
75
75
  configPath: path.join(homedir, '.cursor', 'mcp.json'),
76
76
  format: 'json',
77
77
  cellKey: 'fivo-cell',
78
- url: 'http://localhost:9876/mcp',
78
+ url: 'http://127.0.0.1:9876/mcp',
79
79
  description: '~/.cursor/mcp.json',
80
80
  buildPayload: (url) => ({ url }),
81
81
  containerKey: 'mcpServers',
@@ -86,7 +86,7 @@ function getMcpTargets(homedir) {
86
86
  configPath: path.join(homedir, '.gemini', 'settings.json'),
87
87
  format: 'json',
88
88
  cellKey: 'fivo-cell',
89
- url: 'http://localhost:9876/mcp',
89
+ url: 'http://127.0.0.1:9876/mcp',
90
90
  description: '~/.gemini/settings.json',
91
91
  buildPayload: (url) => ({ url }),
92
92
  containerKey: 'mcpServers',
@@ -97,7 +97,7 @@ function getMcpTargets(homedir) {
97
97
  configPath: path.join(homedir, '.gemini', 'config', 'mcp_config.json'),
98
98
  format: 'json',
99
99
  cellKey: 'fivo-cell',
100
- url: 'http://localhost:9876/mcp',
100
+ url: 'http://127.0.0.1:9876/mcp',
101
101
  description: '~/.gemini/config/mcp_config.json',
102
102
  buildPayload: (url) => ({ serverUrl: url }),
103
103
  containerKey: 'mcpServers',
@@ -108,7 +108,7 @@ function getMcpTargets(homedir) {
108
108
  configPath: path.join(homedir, '.codex', 'config.json'),
109
109
  format: 'json',
110
110
  cellKey: 'fivo-cell',
111
- url: 'http://localhost:9876/mcp',
111
+ url: 'http://127.0.0.1:9876/mcp',
112
112
  description: '~/.codex/config.json',
113
113
  buildPayload: (url) => ({ url }),
114
114
  containerKey: 'mcp.servers',
@@ -119,7 +119,7 @@ function getMcpTargets(homedir) {
119
119
  configPath: path.join(homedir, '.config', 'opencode', 'opencode.jsonc'),
120
120
  format: 'jsonc',
121
121
  cellKey: 'cell',
122
- url: 'http://localhost:9876/mcp',
122
+ url: 'http://127.0.0.1:9876/mcp',
123
123
  description: '~/.config/opencode/opencode.jsonc',
124
124
  buildPayload: (url) => ({
125
125
  type: 'remote',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fivocell",
3
- "version": "8.11.3",
3
+ "version": "8.11.4",
4
4
  "description": "FIVO Cell — Permanent Developer Memory. Learns how you think, build, fail, and grow.",
5
5
  "main": "dist/walls/07-runtime/cli/cli.js",
6
6
  "types": "dist/walls/07-runtime/cli/cli.d.ts",