@manudota/artist-mcp 2.4.0 → 2.4.1-staging.119

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/dist/server.js +14 -2
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -300,7 +300,7 @@ const renderChangedSections = (chosen, notebook, since) => {
300
300
  * the only way OneNote allows a cell to change.
301
301
  */
302
302
  const INDEX_ENTRIES = 12;
303
- const serverVersion = '2.4.0'; // x-release-please-version
303
+ const serverVersion = '2.4.1-staging.119'; // x-release-please-version
304
304
  const errorResult = (err) => {
305
305
  const message = err instanceof GraphError ? err.message : `Unexpected error: ${err}`;
306
306
  return { content: [{ type: "text", text: message }], isError: true };
@@ -392,6 +392,10 @@ const renderWorkflowBriefing = async (entries, load, writes = []) => {
392
392
  "policy:evidence",
393
393
  "policy:divergence",
394
394
  "policy:patch",
395
+ // Tags are the record of open and done work, and the rules for reading and
396
+ // writing them sat in role:project-manager, which arrives as one line. A
397
+ // hosted fill wrote a whole task table untagged for exactly that reason (#193).
398
+ "policy:tasks",
395
399
  ];
396
400
  const alwaysInFull = (entry) => entry.kind === "project-type" || ALWAYS.includes(entry.id);
397
401
  const upfront = entries.filter(alwaysInFull);
@@ -562,7 +566,15 @@ const TABLE_MARKUP = "\n\nThis page has tables. A table cannot be edited a cell
562
566
  "each cell, text wrapped in <b>\n" +
563
567
  " a free-text section is a single-cell table with NO header row\n" +
564
568
  " never set column widths — OneNote sizes them, and one guessed from a " +
565
- "preview is worse than none";
569
+ "preview is worse than none\n" +
570
+ // Found live (#193): a filled task table went out as plain text, because the
571
+ // tag rule lived in 0008 and a page footnote, and neither is in front of the
572
+ // model at the moment it composes the markup. This is.
573
+ ' a task is a to-do tag on the paragraph that states it: <p data-tag="to-do"> ' +
574
+ 'in its cell, and <p data-tag="to-do:completed"> once it is done. Every task ' +
575
+ "row gets one, new rows included, and a tag the table already carries is " +
576
+ "carried across like any other value. Only those two values; never on a " +
577
+ "header, a heading or a cell that is not a task";
566
578
  /**
567
579
  * What is true of reading any attachment, wherever it came from.
568
580
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manudota/artist-mcp",
3
- "version": "2.4.0",
3
+ "version": "2.4.1-staging.119",
4
4
  "description": "MCP server that reads your OneNote notes in Claude Desktop or Codex, with optional Gmail and Calendar as supporting evidence. Signs in on your own machine; writes are opt-in per install.",
5
5
  "keywords": [
6
6
  "mcp",