@codazen/harmonica-mcp 3.8.3 → 3.8.5
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22670,7 +22670,7 @@ ${beat.description}`);
|
|
|
22670
22670
|
// ../../libs/harmonica-services/src/mcp/formatters/system-formatter.ts
|
|
22671
22671
|
function formatProjectSummaryTable(projects) {
|
|
22672
22672
|
if (projects.length === 0) return "_No projects found._";
|
|
22673
|
-
const header = "|
|
|
22673
|
+
const header = "| System ID | Title | Status |\n|-----------|-------|--------|";
|
|
22674
22674
|
const rows = projects.map((p) => {
|
|
22675
22675
|
const status = p.status.replace("_", " ");
|
|
22676
22676
|
return `| ${p.systemId} | ${p.title} | ${status} |`;
|
|
@@ -32345,7 +32345,7 @@ function createHttpClient(config2) {
|
|
|
32345
32345
|
// Systems (canonical)
|
|
32346
32346
|
listOrgSystems: async (orgId) => {
|
|
32347
32347
|
const raw = await request("GET", `/api/organizations/${encodeURIComponent(orgId)}/systems/summaries`);
|
|
32348
|
-
return (raw ?? []).map((p) => ({ ...p, projectId: p.id, title: p.name, orgId: p.organizationId }));
|
|
32348
|
+
return (raw ?? []).map((p) => ({ ...p, systemId: p.id, projectId: p.id, title: p.name, orgId: p.organizationId }));
|
|
32349
32349
|
},
|
|
32350
32350
|
getSystem: async (projectId) => {
|
|
32351
32351
|
const raw = await request("GET", `/api/systems/${encodeURIComponent(projectId)}`);
|
|
@@ -34317,7 +34317,7 @@ function loadConfig() {
|
|
|
34317
34317
|
};
|
|
34318
34318
|
}
|
|
34319
34319
|
async function main() {
|
|
34320
|
-
console.error(`[harmonica-mcp] v${"3.8.
|
|
34320
|
+
console.error(`[harmonica-mcp] v${"3.8.5"} starting\u2026`);
|
|
34321
34321
|
const config2 = loadConfig();
|
|
34322
34322
|
const client = createHttpClient({
|
|
34323
34323
|
apiBaseUrl: config2.apiBaseUrl,
|