mellos-mapping 0.27.0 → 0.27.1

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.
File without changes
package/dist/mmap.mjs CHANGED
File without changes
package/dist/preview.mjs CHANGED
File without changes
package/dist/server.mjs CHANGED
@@ -24516,6 +24516,9 @@ function readMaps(stateFile, input) {
24516
24516
  return { resource, project, page: input.page ?? null, revision, total, items: records, nextCursor: offset + limit < total ? Buffer.from(JSON.stringify({ revision, query: queryHash, offset: offset + limit })).toString("base64url") : null };
24517
24517
  }
24518
24518
 
24519
+ // src/support/version.ts
24520
+ var VERSION = "0.27.1";
24521
+
24519
24522
  // src/server/presence.ts
24520
24523
  var DEFAULT_PAGE_NAME = "(default)";
24521
24524
  var DEFAULT_PAGE_ABSENT = "(default: absent)";
@@ -24650,7 +24653,6 @@ function launcherViewerPid(run) {
24650
24653
 
24651
24654
  // src/server/server.ts
24652
24655
  var SERVER_NAME = "mellos-mapping";
24653
- var SERVER_VERSION = "0.27.0";
24654
24656
  function text(s, isError = false) {
24655
24657
  return { content: [{ type: "text", text: s }], ...isError ? { isError: true } : {} };
24656
24658
  }
@@ -24669,7 +24671,7 @@ function saveFailed(error2) {
24669
24671
  return text(`save failed, nothing changed (retry): ${describeStoreError(error2)}`, true);
24670
24672
  }
24671
24673
  function buildServer(stateFile, userConfigFile, launch = launchPane) {
24672
- const server = new McpServer({ name: SERVER_NAME, version: SERVER_VERSION }, { instructions: "Maps persist across conversations. Before mapping or resuming work, use mmap_read to discover pages, then read the relevant records and revision. A new conversation is not a new effort. Reuse verified nodes; submit only necessary changes with expectedRevision. mmap_view is a picture, not the editable data. Read mmap_setup for the user mapping policy." });
24674
+ const server = new McpServer({ name: SERVER_NAME, version: VERSION }, { instructions: "Maps persist across conversations. Before mapping or resuming work, use mmap_read to discover pages, then read the relevant records and revision. A new conversation is not a new effort. Reuse verified nodes; submit only necessary changes with expectedRevision. mmap_view is a picture, not the editable data. Read mmap_setup for the user mapping policy." });
24673
24675
  let paneOpenFailure;
24674
24676
  const currentPaneLine = (page2) => paneLine(stateFile, page2, paneOpenFailure);
24675
24677
  const projectConfigFile = configFilePath(stateFile);
@@ -24910,7 +24912,6 @@ if (launchedAsEntry(process.argv[1], import.meta.url)) {
24910
24912
  }
24911
24913
  export {
24912
24914
  SERVER_NAME,
24913
- SERVER_VERSION,
24914
24915
  buildServer,
24915
24916
  launchedAsEntry,
24916
24917
  launcherArgs,
@@ -1787,6 +1787,9 @@ function paint(scene, opts) {
1787
1787
  return { canvas, hits };
1788
1788
  }
1789
1789
 
1790
+ // src/support/version.ts
1791
+ var VERSION = "0.27.1";
1792
+
1790
1793
  // src/store/atomic.ts
1791
1794
  import { mkdirSync as mkdirSync2, renameSync, rmSync, writeFileSync } from "node:fs";
1792
1795
  import { dirname as dirname3 } from "node:path";
@@ -2535,6 +2538,8 @@ function dividerRow(width, unicode, follow) {
2535
2538
  let bar = (unicode ? "\u2500" : "-").repeat(width);
2536
2539
  const gripAt = Math.max(0, Math.floor((width - grip.length) / 2));
2537
2540
  if (width > grip.length + 2) bar = bar.slice(0, gripAt) + grip + bar.slice(gripAt + grip.length);
2541
+ const version = ` v${VERSION} `;
2542
+ if (1 + version.length < gripAt) bar = bar.slice(0, 1) + version + bar.slice(1 + version.length);
2538
2543
  if (follow) {
2539
2544
  const tag = unicode ? " \u21E2 follow " : " > follow ";
2540
2545
  const at = width - tag.length - 1;
package/dist/watch.mjs CHANGED
@@ -1787,6 +1787,9 @@ function paint(scene, opts) {
1787
1787
  return { canvas, hits };
1788
1788
  }
1789
1789
 
1790
+ // src/support/version.ts
1791
+ var VERSION = "0.27.1";
1792
+
1790
1793
  // src/store/atomic.ts
1791
1794
  import { mkdirSync as mkdirSync2, renameSync, rmSync, writeFileSync } from "node:fs";
1792
1795
  import { dirname as dirname3 } from "node:path";
@@ -2536,6 +2539,8 @@ function dividerRow(width, unicode, follow) {
2536
2539
  let bar = (unicode ? "\u2500" : "-").repeat(width);
2537
2540
  const gripAt = Math.max(0, Math.floor((width - grip.length) / 2));
2538
2541
  if (width > grip.length + 2) bar = bar.slice(0, gripAt) + grip + bar.slice(gripAt + grip.length);
2542
+ const version = ` v${VERSION} `;
2543
+ if (1 + version.length < gripAt) bar = bar.slice(0, 1) + version + bar.slice(1 + version.length);
2539
2544
  if (follow) {
2540
2545
  const tag = unicode ? " \u21E2 follow " : " > follow ";
2541
2546
  const at = width - tag.length - 1;
package/dist/web.mjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mellos-mapping",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "mcpName": "io.github.GuangminJu/mellos-mapping",
5
5
  "description": "A live layered dependency map for bottom-up development — MCP server + terminal pane. Ghost the design first, then light nodes up from the bottom as they are built and verified.",
6
6
  "type": "module",
File without changes
File without changes
package/scripts/mmap.mjs CHANGED
File without changes
File without changes