@appsoftwareltd/etherpk-mcp 0.9.5 → 0.9.6
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.
- package/dist/main.js +6 -4
- package/dist/main.js.map +1 -1
- package/dist/map-picture-page.js +100 -65
- package/package.json +5 -5
package/dist/main.js
CHANGED
|
@@ -717,7 +717,7 @@ function looksLikeAgentSetupCode(value) {
|
|
|
717
717
|
}
|
|
718
718
|
var package_default = {
|
|
719
719
|
name: "@appsoftwareltd/etherpk-mcp",
|
|
720
|
-
version: "0.9.
|
|
720
|
+
version: "0.9.6",
|
|
721
721
|
license: "Elastic-2.0",
|
|
722
722
|
description: "EtherPK Headless Client: an MCP server over a synced knowledge graph, run beside the agent on the user's own machine.",
|
|
723
723
|
type: "module",
|
|
@@ -6056,7 +6056,8 @@ function backlinksFor(db, concept) {
|
|
|
6056
6056
|
sourceConcept: h.sourceConcept,
|
|
6057
6057
|
sourceKind: h.sourceKind,
|
|
6058
6058
|
refs: [],
|
|
6059
|
-
bodyNames: []
|
|
6059
|
+
bodyNames: [],
|
|
6060
|
+
sourceIsTarget: h.page_id === pageId
|
|
6060
6061
|
};
|
|
6061
6062
|
groups.set(h.sourceConcept, group);
|
|
6062
6063
|
}
|
|
@@ -13219,9 +13220,10 @@ function createThemeRenderer(theme, includes) {
|
|
|
13219
13220
|
*/
|
|
13220
13221
|
/**
|
|
13221
13222
|
* Bumped when the way a map is drawn changes, so a site published again holds the new picture
|
|
13222
|
-
* under a new name rather than a cached one under the old.
|
|
13223
|
+
* under a new name rather than a cached one under the old. 2: a name that would run past the
|
|
13224
|
+
* picture's edge is shortened with an ellipsis.
|
|
13223
13225
|
*/
|
|
13224
|
-
var MAP_PICTURE_VERSION =
|
|
13226
|
+
var MAP_PICTURE_VERSION = 2;
|
|
13225
13227
|
/** A picture's file name: from what the map holds and how it is drawn, so an unchanged map publishes the same file. */
|
|
13226
13228
|
async function mapPictureName(source) {
|
|
13227
13229
|
const digest = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(`${MAP_PICTURE_VERSION}\n${source}`));
|