openalmanac 0.2.28 → 0.2.29

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/dist/setup.js +5 -5
  2. package/package.json +1 -1
package/dist/setup.js CHANGED
@@ -159,7 +159,7 @@ function configureMcp() {
159
159
  if (!desktop.mcpServers)
160
160
  desktop.mcpServers = {};
161
161
  if (!isAlmanacCurrent(desktop.mcpServers.almanac)) {
162
- desktop.mcpServers.almanac = ALMANAC_MCP_ENTRY;
162
+ desktop.mcpServers.almanac = { ...ALMANAC_MCP_ENTRY };
163
163
  writeJson(CLAUDE_JSON, desktop);
164
164
  changed = true;
165
165
  }
@@ -170,7 +170,7 @@ function configureMcp() {
170
170
  if (!code.mcpServers)
171
171
  code.mcpServers = {};
172
172
  if (!isAlmanacCurrent(code.mcpServers.almanac)) {
173
- code.mcpServers.almanac = ALMANAC_MCP_ENTRY;
173
+ code.mcpServers.almanac = { ...ALMANAC_MCP_ENTRY };
174
174
  writeJson(CLAUDE_CODE_MCP, code);
175
175
  changed = true;
176
176
  }
@@ -277,7 +277,7 @@ async function runLoginStep(agent, mcpChanged, toolCount) {
277
277
  const priorSteps = () => {
278
278
  stepDone(`Agent \u2192 ${WHITE_BOLD}${agent}${RST}`);
279
279
  w(BAR);
280
- stepDone(`MCP server ${mcpChanged ? `added to ${DIM}~/.claude.json${RST}` : `${DIM}already configured${RST}`}`);
280
+ stepDone(`MCP server ${mcpChanged ? "configured" : `${DIM}already configured${RST}`}`);
281
281
  w(BAR);
282
282
  stepDone(`${BLUE}${toolCount}${RST} tool${toolCount !== 1 ? "s" : ""} allowed`);
283
283
  w(BAR);
@@ -431,7 +431,7 @@ function renderToolSelect(selected, cursor, agent, mcpChanged) {
431
431
  w("");
432
432
  stepDone(`Agent \u2192 ${WHITE_BOLD}${agent}${RST}`);
433
433
  w(BAR);
434
- stepDone(`MCP server ${mcpChanged ? `added to ${DIM}~/.claude.json${RST}` : `${DIM}already configured${RST}`}`);
434
+ stepDone(`MCP server ${mcpChanged ? "configured" : `${DIM}already configured${RST}`}`);
435
435
  w(BAR);
436
436
  stepActive(`Select tool permissions ${DIM}deselect any you'd rather approve manually${RST}`);
437
437
  w(BAR);
@@ -500,7 +500,7 @@ function printResult(agent, loginResult, mcpChanged, toolCount) {
500
500
  w("");
501
501
  stepDone(`Agent \u2192 ${WHITE_BOLD}${agent}${RST}`);
502
502
  w(BAR);
503
- stepDone(`MCP server ${mcpChanged ? `added to ${DIM}~/.claude.json${RST}` : `${DIM}already configured${RST}`}`);
503
+ stepDone(`MCP server ${mcpChanged ? "configured" : `${DIM}already configured${RST}`}`);
504
504
  w(BAR);
505
505
  stepDone(`${BLUE}${toolCount}${RST} tool${toolCount !== 1 ? "s" : ""} allowed in ${DIM}~/.claude/settings.json${RST}`);
506
506
  w(BAR);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openalmanac",
3
- "version": "0.2.28",
3
+ "version": "0.2.29",
4
4
  "description": "OpenAlmanac — pull, edit, and push articles to the open knowledge base",
5
5
  "type": "module",
6
6
  "bin": {