@de-otio/epimethian-mcp 5.3.0 → 5.3.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.
- package/dist/cli/index.js +7 -7
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -49324,7 +49324,7 @@ async function getPage(pageId, includeBody) {
|
|
|
49324
49324
|
async function createPage(spaceId, title, body, parentId, clientLabel) {
|
|
49325
49325
|
const cfg = await getConfig();
|
|
49326
49326
|
const pageBody = stripAttributionFooter(toStorageFormat(body));
|
|
49327
|
-
const epimethianTag = `Epimethian v${"5.3.
|
|
49327
|
+
const epimethianTag = `Epimethian v${"5.3.1"}`;
|
|
49328
49328
|
const versionMsg = cfg.attribution && clientLabel ? `Created by ${clientLabel} (via ${epimethianTag})` : `Created by ${epimethianTag}`;
|
|
49329
49329
|
const payload = {
|
|
49330
49330
|
title,
|
|
@@ -49349,7 +49349,7 @@ async function createPage(spaceId, title, body, parentId, clientLabel) {
|
|
|
49349
49349
|
async function updatePage(pageId, opts) {
|
|
49350
49350
|
const cfg = await getConfig();
|
|
49351
49351
|
const newVersion = opts.version + 1;
|
|
49352
|
-
const epimethianTag = `Epimethian v${"5.3.
|
|
49352
|
+
const epimethianTag = `Epimethian v${"5.3.1"}`;
|
|
49353
49353
|
const effectiveClient = cfg.attribution ? opts.clientLabel : void 0;
|
|
49354
49354
|
let versionMessage;
|
|
49355
49355
|
if (opts.versionMessage && effectiveClient)
|
|
@@ -49760,7 +49760,7 @@ function sanitizeCommentBody(body) {
|
|
|
49760
49760
|
}
|
|
49761
49761
|
return stripped;
|
|
49762
49762
|
}
|
|
49763
|
-
var HTML_TAG_RE = /<[a-z][a-z0-9]*[\s>\/]/i;
|
|
49763
|
+
var HTML_TAG_RE = /<[a-z][a-z0-9]*(?::[a-z][a-z0-9-]*)?[\s>\/]/i;
|
|
49764
49764
|
function toStorageFormat(body) {
|
|
49765
49765
|
return HTML_TAG_RE.test(body) ? body : `<p>${body}</p>`;
|
|
49766
49766
|
}
|
|
@@ -58537,7 +58537,7 @@ ${lines.join("\n")}${echo2}`
|
|
|
58537
58537
|
inputSchema: {}
|
|
58538
58538
|
},
|
|
58539
58539
|
async () => {
|
|
58540
|
-
let text2 = `epimethian-mcp v${"5.3.
|
|
58540
|
+
let text2 = `epimethian-mcp v${"5.3.1"}`;
|
|
58541
58541
|
try {
|
|
58542
58542
|
const pending = await getPendingUpdate();
|
|
58543
58543
|
if (pending) {
|
|
@@ -58567,7 +58567,7 @@ ${pending.type === "major" ? "Major" : "Minor"} update available: v${pending.cur
|
|
|
58567
58567
|
const pending = await getPendingUpdate();
|
|
58568
58568
|
if (!pending) {
|
|
58569
58569
|
return toolResult(
|
|
58570
|
-
`epimethian-mcp v${"5.3.
|
|
58570
|
+
`epimethian-mcp v${"5.3.1"} is already up to date.`
|
|
58571
58571
|
);
|
|
58572
58572
|
}
|
|
58573
58573
|
const output = await performUpgrade(pending.latest);
|
|
@@ -58595,12 +58595,12 @@ async function main() {
|
|
|
58595
58595
|
const serverName = config3.profile ? `confluence-${config3.profile}` : "confluence";
|
|
58596
58596
|
const server = new McpServer({
|
|
58597
58597
|
name: serverName,
|
|
58598
|
-
version: "5.3.
|
|
58598
|
+
version: "5.3.1"
|
|
58599
58599
|
});
|
|
58600
58600
|
registerTools(server, config3);
|
|
58601
58601
|
const transport = new StdioServerTransport();
|
|
58602
58602
|
await server.connect(transport);
|
|
58603
|
-
checkForUpdates("5.3.
|
|
58603
|
+
checkForUpdates("5.3.1").catch(() => {
|
|
58604
58604
|
});
|
|
58605
58605
|
}
|
|
58606
58606
|
|