@edda-business/mcp 0.68.0 → 0.69.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/package.json +1 -1
- package/src/server.js +10 -6
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -225,6 +225,11 @@ export function createServer() {
|
|
|
225
225
|
for (const pg of recent) lines.push(` · ${[pg.folder, pg.name].filter(Boolean).join("/")} (${String(pg.updated_at).slice(0, 10)})`);
|
|
226
226
|
}
|
|
227
227
|
lines.push(`\nInbox: ${r?.inbox_pending ?? 0} item(s) waiting.`);
|
|
228
|
+
const paths = r?.folder_paths ?? [];
|
|
229
|
+
if (paths.length) {
|
|
230
|
+
lines.push(`\nFolder tree (use these EXACT paths as destinations — a bare project name creates a NEW top-level project):`);
|
|
231
|
+
for (const p of paths) lines.push(` ${p}`);
|
|
232
|
+
}
|
|
228
233
|
return text(lines.join("\n"));
|
|
229
234
|
} catch (e) {
|
|
230
235
|
const msg = String(e?.message || e);
|
|
@@ -315,12 +320,11 @@ export function createServer() {
|
|
|
315
320
|
// ===========================================================================
|
|
316
321
|
server.tool(
|
|
317
322
|
"reconcile",
|
|
318
|
-
"
|
|
319
|
-
"
|
|
320
|
-
"flow: list
|
|
321
|
-
"item's `stagingId`
|
|
322
|
-
"
|
|
323
|
-
"Returns where each item landed.",
|
|
323
|
+
"FILE items from the company Inbox — NOTHING files without an explicit per-item action " +
|
|
324
|
+
"(company ruling). Without arguments this only REPORTS what is waiting (each with a proposed " +
|
|
325
|
+
"destination). The ingest flow: list items with `inbox`, read and analyze each, then call this " +
|
|
326
|
+
"with that item's `stagingId` — plus an explicit `path` to place it exactly where you decided " +
|
|
327
|
+
"(omit `path` to accept the proposed destination). YOU are the analyst; your call is the review.",
|
|
324
328
|
{
|
|
325
329
|
stagingId: z.string().optional().describe("Id of one staged item to file (from an `inbox` row or a submit receipt). Omit to sweep the whole Inbox."),
|
|
326
330
|
path: z.string().optional().describe("Explicit destination folder path for THAT item (requires stagingId). Missing folders are created."),
|