@de-otio/epimethian-mcp 6.6.2 → 6.6.3
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 +37 -17
- package/dist/cli/index.js.map +2 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -35481,7 +35481,7 @@ async function getPage(pageId, includeBody) {
|
|
|
35481
35481
|
async function _rawCreatePage(spaceId, title, body, parentId, clientLabel) {
|
|
35482
35482
|
const cfg = await getConfig();
|
|
35483
35483
|
const pageBody = normalizeBodyForSubmit(body);
|
|
35484
|
-
const epimethianTag = `Epimethian v${"6.6.
|
|
35484
|
+
const epimethianTag = `Epimethian v${"6.6.3"}`;
|
|
35485
35485
|
const versionMsg = cfg.attribution && clientLabel ? `Created by ${clientLabel} (via ${epimethianTag})` : `Created by ${epimethianTag}`;
|
|
35486
35486
|
const payload = {
|
|
35487
35487
|
title,
|
|
@@ -35502,7 +35502,7 @@ async function _rawCreatePage(spaceId, title, body, parentId, clientLabel) {
|
|
|
35502
35502
|
async function _rawUpdatePage(pageId, opts) {
|
|
35503
35503
|
const cfg = await getConfig();
|
|
35504
35504
|
const newVersion = opts.version + 1;
|
|
35505
|
-
const epimethianTag = `Epimethian v${"6.6.
|
|
35505
|
+
const epimethianTag = `Epimethian v${"6.6.3"}`;
|
|
35506
35506
|
const effectiveClient = cfg.attribution ? opts.clientLabel : void 0;
|
|
35507
35507
|
let versionMessage;
|
|
35508
35508
|
if (opts.versionMessage && effectiveClient)
|
|
@@ -49950,7 +49950,7 @@ __export(upgrade_exports, {
|
|
|
49950
49950
|
runUpgrade: () => runUpgrade
|
|
49951
49951
|
});
|
|
49952
49952
|
async function runUpgrade() {
|
|
49953
|
-
const currentVersion = "6.6.
|
|
49953
|
+
const currentVersion = "6.6.3";
|
|
49954
49954
|
console.log(`epimethian-mcp upgrade: current version v${currentVersion}`);
|
|
49955
49955
|
let pending = await getPendingUpdate();
|
|
49956
49956
|
if (!pending) {
|
|
@@ -61155,14 +61155,34 @@ var deleteSuccessArm = external_exports.object({
|
|
|
61155
61155
|
page_id: external_exports.string().min(1),
|
|
61156
61156
|
last_version: external_exports.number().int().positive().optional()
|
|
61157
61157
|
});
|
|
61158
|
-
var writeOutputSchema = external_exports.
|
|
61159
|
-
|
|
61160
|
-
|
|
61161
|
-
|
|
61162
|
-
|
|
61163
|
-
|
|
61164
|
-
|
|
61165
|
-
|
|
61158
|
+
var writeOutputSchema = external_exports.object({
|
|
61159
|
+
kind: external_exports.enum(["written", "confirmation_required"]),
|
|
61160
|
+
page_id: external_exports.string().min(1),
|
|
61161
|
+
// success arm fields (all optional — present only on `written`)
|
|
61162
|
+
new_version: external_exports.number().int().positive().optional(),
|
|
61163
|
+
body_bytes_before: external_exports.number().int().nonnegative().optional(),
|
|
61164
|
+
body_bytes_after: external_exports.number().int().nonnegative().optional(),
|
|
61165
|
+
title: external_exports.string().optional(),
|
|
61166
|
+
// confirmation_required arm fields (all optional — present only
|
|
61167
|
+
// when `kind: "confirmation_required"`)
|
|
61168
|
+
confirm_token: external_exports.string().min(1).optional(),
|
|
61169
|
+
audit_id: external_exports.string().min(1).optional(),
|
|
61170
|
+
expires_at: external_exports.string().min(1).optional(),
|
|
61171
|
+
human_summary: external_exports.string().optional(),
|
|
61172
|
+
deletion_summary: deletionSummarySchema.optional()
|
|
61173
|
+
});
|
|
61174
|
+
var deleteOutputSchema = external_exports.object({
|
|
61175
|
+
kind: external_exports.enum(["deleted", "confirmation_required"]),
|
|
61176
|
+
page_id: external_exports.string().min(1),
|
|
61177
|
+
// success arm fields
|
|
61178
|
+
last_version: external_exports.number().int().positive().optional(),
|
|
61179
|
+
// confirmation_required arm fields
|
|
61180
|
+
confirm_token: external_exports.string().min(1).optional(),
|
|
61181
|
+
audit_id: external_exports.string().min(1).optional(),
|
|
61182
|
+
expires_at: external_exports.string().min(1).optional(),
|
|
61183
|
+
human_summary: external_exports.string().optional(),
|
|
61184
|
+
deletion_summary: deletionSummarySchema.optional()
|
|
61185
|
+
});
|
|
61166
61186
|
|
|
61167
61187
|
// src/server/index.ts
|
|
61168
61188
|
init_update_orchestrator();
|
|
@@ -63824,7 +63844,7 @@ ${titleFenced}${echo2}`
|
|
|
63824
63844
|
inputSchema: {}
|
|
63825
63845
|
},
|
|
63826
63846
|
async () => {
|
|
63827
|
-
let text2 = `epimethian-mcp v${"6.6.
|
|
63847
|
+
let text2 = `epimethian-mcp v${"6.6.3"}`;
|
|
63828
63848
|
try {
|
|
63829
63849
|
const pending = await getPendingUpdate();
|
|
63830
63850
|
if (pending) {
|
|
@@ -63855,7 +63875,7 @@ ${label} update available: v${pending.current} \u2192 v${pending.latest}. Run \`
|
|
|
63855
63875
|
const pending = await getPendingUpdate();
|
|
63856
63876
|
if (!pending) {
|
|
63857
63877
|
return toolResult(
|
|
63858
|
-
`epimethian-mcp v${"6.6.
|
|
63878
|
+
`epimethian-mcp v${"6.6.3"} is already up to date.`
|
|
63859
63879
|
);
|
|
63860
63880
|
}
|
|
63861
63881
|
const output = await performUpgrade(pending.latest);
|
|
@@ -63877,7 +63897,7 @@ async function startRecoveryServer(profile) {
|
|
|
63877
63897
|
const server = new McpServer(
|
|
63878
63898
|
{
|
|
63879
63899
|
name: `confluence-${profile}-setup-needed`,
|
|
63880
|
-
version: "6.6.
|
|
63900
|
+
version: "6.6.3"
|
|
63881
63901
|
},
|
|
63882
63902
|
{
|
|
63883
63903
|
instructions: `The Confluence profile "${profile}" referenced by CONFLUENCE_PROFILE has no keychain entry, so no Confluence tools are available. Call the setup_profile tool for instructions to create it.`
|
|
@@ -63928,21 +63948,21 @@ async function main() {
|
|
|
63928
63948
|
const serverName = config3.profile ? `confluence-${config3.profile}` : "confluence";
|
|
63929
63949
|
const server = new McpServer({
|
|
63930
63950
|
name: serverName,
|
|
63931
|
-
version: "6.6.
|
|
63951
|
+
version: "6.6.3"
|
|
63932
63952
|
});
|
|
63933
63953
|
await registerTools(server, config3);
|
|
63934
63954
|
const transport = new StdioServerTransport();
|
|
63935
63955
|
await server.connect(transport);
|
|
63936
63956
|
try {
|
|
63937
63957
|
const pending = await getPendingUpdate();
|
|
63938
|
-
if (pending && pending.current === "6.6.
|
|
63958
|
+
if (pending && pending.current === "6.6.3") {
|
|
63939
63959
|
console.error(
|
|
63940
63960
|
`epimethian-mcp: update available: v${pending.current} \u2192 v${pending.latest} (${pending.type}). Run \`epimethian-mcp upgrade\` to install.`
|
|
63941
63961
|
);
|
|
63942
63962
|
}
|
|
63943
63963
|
} catch {
|
|
63944
63964
|
}
|
|
63945
|
-
checkForUpdates("6.6.
|
|
63965
|
+
checkForUpdates("6.6.3").catch(() => {
|
|
63946
63966
|
});
|
|
63947
63967
|
}
|
|
63948
63968
|
|