github quazardous/nelson-mcp v0.14.6

57 minutes ago

Four fixes from user reports: undo works again, inserted text makes its own
paragraph, tracked changes no longer read as duplicated text, and tables
with merged cells are read in full.

Fixed

  • doc_undo and doc_redo did nothing (GitHub #47). Like every write,
    they ran inside an undo context of their own, and LibreOffice refuses to
    undo or redo while one is open: right after any Nelson edit, doc_undo
    answered undone: 0, can_undo: false and left the document as it was. Each
    Nelson call is now undone, and redone, in one step, as documented.
  • text_insert joined its text to the target paragraph (GitHub #46). With
    position before or after, the text went into the target paragraph
    behind a line break, so an entry inserted into a numbered list shared the
    next entry's number. It now makes a paragraph of its own, and style
    applies to that paragraph.
  • text_read ran deleted and inserted text together (GitHub #48). Change
    recording keeps deleted text in the paragraph, so a tracked replace of
    "Beta" by "Delta" read back as DeltaBeta paragraph., which an agent took
    for duplicated text. text_read now reads the text as if the changes were
    accepted, and flags those paragraphs with tracked_changes: true.
  • table_list dropped cells of Writer tables with merged cells (GitHub
    #45). It counted columns with getColumns(), which answers 1 for a table
    whose first row is one merged cell, so every cell right of the first
    column was left out, without a word. Tables are now read by cell name:
    rows may differ in length, and such a table is flagged irregular with
    each cell's name. table_write_row writes the cells the row really has
    and says when values were left over; past 26 columns it addressed the
    wrong cells, as Writer names column 27 a, not AA.

Added

  • Setting writer.tracked_changes_view (Options > Nelson > Writer): how
    text_read shows tracked changes. accepted (default) as if they were
    accepted, original as before them, marked with insertions in <ins>
    and deletions in <del>.

Don't miss a new nelson-mcp release

NewReleases is sending notifications on new releases.