@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/server.js +10 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edda-business/mcp",
3
- "version": "0.68.0",
3
+ "version": "0.69.1",
4
4
  "description": "Edda — the company data layer for AI agents.",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
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
- "PROCESS the company Inbox. Two modes. (1) Sweep: no arguments — the company auto-files items " +
319
- "with a clear destination and leaves ambiguous ones waiting. (2) ANALYZED FILING the ingest " +
320
- "flow: list waiting items with `inbox`, read and analyze each one, then call this with that " +
321
- "item's `stagingId` AND an explicit `path` (e.g. 'Projects/Whitehay AI/Working Documents') to " +
322
- "file it exactly there. YOU are the analyst; the company only files what you tell it. " +
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."),