Skip to content

Releases

endnote-for-word 1.6.0

Choose a tag to compare

@felimet felimet released this 24 Nov 07:51
a7153dc

Added

  • A manifest target may cite a record without a DOI, such as a web page (EndNote reference
    type 16), a patent (type 15), an extension article or a conference paper without one, through
    an explicit "no_doi": true. DOI stays required by default. precheck still requires the
    record to exist, to be live and to match the first-author surname and year, reports
    library_has_doi when the record does have a DOI, in its DOI field or left in its URL or
    notes, and rejects no_doi together with doi or as a non-boolean. Render takes these targets in the same pass as DOI targets, so the
    author-year display mapping by field order stays aligned, and reports no_doi_targets.
    Validation keeps every gate and skips the visible DOI link of a no_doi target only when the
    record's traveling-library XML in the document carries no DOI (<electronic-resource-num>,
    <url>, <notes>), so a manifest edit cannot switch the gate off for a record that has one.
  • Validation fails a bibliography with a leftover doi: label: one that starts a word and is
    followed by the end of the entry, by punctuation such as the template's next
    . [Online]. Available: or (accessed, or by a link other than
    https://doi.org/10.. A doi: inside a DOI (10.1000/abc-doi:5), a URN or a title passes.
    Under EndNote's documented template rules, text attached to an empty
    field drops out but text set off by a space always prints, so a style whose doi: label is
    not tied to the DOI field with Link Adjacent Text leaves a bare doi: for a no_doi record.
    That output has not been measured on EndNote 21.
  • Measured on EndNote 21.5 (Bld 18513) with Word for Microsoft 365: import_reference_file
    confirmed the target by open_handle while Recent Libraries\File1 named another library and
    dismissed the Holiday Sale notice with Cancel; a render with 10 no_doi targets (web pages,
    extension articles and patents) next to 98 DOI targets ran in one pass, and validate passed.

Fixed

  • import_reference_file no longer times out with EndNote did not confirm the exact requested import target while the target library is open in front. It required EndNote's
    Recent Libraries\File1 value to name the target, but EndNote keeps that value on the library
    it opened at start-up, and it required a <product> - <file> title although EndNote drops the
    product prefix after a CWYW job. The target is now confirmed when an EndNote main window shows
    the file name, the same process holds <library>.Data\sdb\sdb.eni open, as Windows
    Restart Manager reports, and no other open library window carries the same file name
    (import_target_confirmed_by: open_handle). A title shows the file only when it is exactly
    <file> or EndNote <version> - <file>, and only Afx: windows titled *.enl count as
    library windows, not the hidden com.endnote.async_tasks. Only when Restart Manager cannot answer does
    File1 naming the exact path still confirm it (recent_library). Neither the registry nor a
    library file is written, and a timeout now names the windows, the open library windows, the
    holding processes and the recent library it saw.
  • EndNote's start-up marketing notice Holiday Sale: Save 25% when you upgrade to the new EndNote! no longer blocks a job until it times out. A short allowlist of marketing titles
    (Holiday Sale*, *upgrade to the new EndNote*) with exactly the measured buttons
    Learn More..., Cancel and Ignore This is answered with Cancel, which changes no preference,
    and listed under notices_dismissed; Ignore This, Learn More... and any purchase or sign-in
    button are never pressed, and every other dialog, a listed title with other buttons included,
    is still reported under attention.
  • The .sha256 files that scripts/package_plugin.py writes now end in LF on Windows too, so
    sha256sum -c on Linux or macOS accepts them. The CR in the old CRLF ending was read as part
    of the file name, and the check failed although the digest was right.

endnote-for-word 1.5.2

Choose a tag to compare

@felimet felimet released this 16 Nov 00:17
e259847

Fixed

  • A {{CITE:id}} marker inside a table cell, such as a figure caption row, no longer hangs
    render until the job times out. The marker search now collapses each hit and searches on;
    its old SetRange to the document end was widened by Word to whole table rows and matched
    the same marker forever. A search that stops advancing or exceeds 1000 matches fails with
    an error naming the marker.
  • validate no longer reports a citation whose payload EndNote moved into ADDIN EN.CITE.DATA
    as absent from every traveling library payload, nor its author-year display as missing.
    That payload lives in the field data (w:fldData), not the field code, and is now decoded
    and checked.

endnote-for-word 1.5.1

Choose a tag to compare

@felimet felimet released this 14 Oct 05:11
f452735

Fixed

  • Opening Word by hand no longer reopens the working copies of jobs the server had to end. Word
    records every open document under Resiliency\DocumentRecovery and reopens each recorded one
    in its own window at the next start when its Word was killed. The bridge now names every
    document its Word opens or saves as (WORD_DOCUMENT= on stderr), and after a cancelled or
    timed-out job the server waits for that Word to exit and removes only the entries the run added
    for those documents; the count is reported as word_recovery_entries_removed.

endnote-for-word 1.5.0

Choose a tag to compare

@felimet felimet released this 14 Oct 01:43
8650617

Added

  • Background jobs. render_endnote_word_document, update_endnote_word_fields and
    set_endnote_citation_style return a job_id at once (background: false keeps the old
    blocking call). get_endnote_job_status reports the state, any lasting dialog under
    attention and the result; cancel_endnote_job drops a queued job or ends a running one.
  • Every action that drives EndNote runs through one queue, and a named mutex
    (Local\EndNoteForWordAgentBridge) serialises jobs across every server of the Windows session,
    such as Claude Code and Codex side by side.
  • Each job opens its manifest library beside the libraries the user has open and closes only that
    library afterwards. EndNote's recent-library list is restored, so a job does not change the
    library EndNote opens next.
  • EndNote's start-up news notices (EndNote Password Expiration Policy Change,
    EndNote 2025 is here!), which block every CWYW request while visible, are answered with
    Cancel and listed under notices_dismissed. No preference changes and no other dialog is
    answered, except the CWYW record chooser below.
  • An EndNote the server started closes after ENDNOTE_IDLE_CLOSE_SECONDS (default 120) without a
    job, and is ended when it ignores every close request. Bridges and server-started EndNote sit in
    a kill-on-close job object, so they end with the server. A user's own EndNote is never ended.
  • An EndNote the server started becomes the user's once the user opens a library in it or shows
    its main window, because EndNote runs one instance per user: the server then never closes or
    ends it, and it outlives the server.

Changed

  • A CWYW Select Matching Reference chooser, raised when another open library has overlapping
    record numbers, is answered with Cancel and the job fails with dialogs_cancelled and advice.
    Ending the hidden Word at the chooser instead left EndNote unable to exit for minutes.
  • ENDNOTE_READY_TIMEOUT_MS also bounds the wait for the job's library window.

endnote-for-word 1.4.0

Choose a tag to compare

@felimet felimet released this 13 Oct 19:40
71c83fb

Added

  • A DOCX without a named library gets one beside it. import-ris (import_reference_file)
    accepts the DOCX as -InputPath (document_path) instead of -LibraryPath, targets
    <document stem>.enl in the same folder, creates it on first use and reuses it afterwards.
    A DOCX that already carries ADDIN EN. fields is refused, because its citations belong to an
    existing library.
  • configure-defaults -EmptyLibraryTemplatePath (configure_endnote_defaults
    empty_library_template_path) registers a zero-record library once. A missing import target is
    cloned from it when no template is passed, and re-running configure-defaults keeps it.
    config/defaults.json gains library.empty_template_path.
  • Plugin marketplaces for both clients, so claude plugin marketplace add felimet/endnote-for-word
    and codex plugin marketplace add felimet/endnote-for-word install the skill and the MCP
    server together, and the clients' update commands upgrade them.
  • SECURITY.md with private vulnerability reporting, Dependabot updates for GitHub Actions, and a
    plugin security scan workflow pinned to hashgraph-online/ai-plugin-scanner-action v1.2.786.

Changed

  • import_reference_file no longer requires library_path; it requires ris_path plus either
    library_path or document_path.
  • Every GitHub Action in CI is pinned to a full commit SHA.
  • requirements.txt is removed. It declared no package, because the Python side uses only the
    standard library.
  • Both plugin manifests declare homepage and repository; the Codex manifest keeps three
    default prompts, the number Codex shows.

Fixed

  • The MCP server never started as a Codex plugin. Codex reads .codex-plugin/plugin.json as a
    legacy manifest: it expands no ${PLUGIN_ROOT}, exports no plugin-root variable, and starts the
    server in the session folder, so the shared .mcp.json launcher looked for run-mcp.ps1 in the
    user's project. The Codex manifest now points at .codex-mcp.json, which runs
    python scripts/mcp_server.py with cwd set to the installed plugin. The server then leaves that
    folder, because Windows cannot replace a folder a process works in; started anywhere else it
    stays, so relative paths keep their base under Claude Code.
  • Codex passes only a whitelist of environment variables, which drops COMMONPROGRAMFILES*, OS
    and every ENDNOTE_* setting, so the probe could not find the CWYW template. .codex-mcp.json
    forwards them by name and sets a 1860 s tool limit above the server's 1800 s render watchdog.

Assets

  • endnote-for-word-plugin.zip: the whole repository, for plugin-aware hosts. SHA-256 8969897d4620d7ce82d85b878598f9ef4d351b50a77a570c34df33228ff9c08f
  • endnote-for-word.skill: standalone skill for Claude Desktop Customize > Skills. SHA-256 c22e41b0f61bb4302a0a0bdba18a734a8e8d4faf65250d6183743dda5ebbbfce

Each asset has a .sha256 file beside it. Claude Code and Codex can install the plugin directly from this repository's marketplace; see the README. Full history in CHANGELOG.md.

endnote-for-word 1.3.0

Choose a tag to compare

@felimet felimet released this 12 Oct 23:26

Added

  • PowerShell 7 auto-install. When the bridge runs under Windows PowerShell 5.1, no pwsh.exe
    exists and no host is pinned, it installs PowerShell 7 for the current user with
    winget install --id Microsoft.PowerShell --scope user --installer-type msix, which needs no
    administrator rights. winget runs silently with --accept-package-agreements --accept-source-agreements, so the winget source and package agreements are accepted on the
    user's behalf, and the notice says so.
    • Read-only calls (probe, list-styles, validate) never install. Each one returns a
      pending notice, or unavailable when winget is missing, until the first other call.
    • The first other call (render, update, set-style, unformat, configure-defaults or
      import-ris) starts the install in the background and keeps running under 5.1.
    • From then on each state change (installing, succeeded, failed, unavailable) is reported once
      as powershell_notice, and the agent is told to relay every notice to the user.
    • One attempt is made per user. State and the winget log live in
      %LOCALAPPDATA%\EndNoteForWordAgent.
    • Set ENDNOTE_WORD_AUTO_INSTALL_PWSH=0, or pin a host with ENDNOTE_WORD_POWERSHELL, to
      opt out.
  • The MCP server and invoke-bridge.ps1 resolve the PowerShell host on every call and also find
    PowerShell 7 at its per-user app execution alias, so a newly installed PowerShell 7 takes over
    without a restart. A powershell_notice also survives an MCP timeout.
  • scripts/package_plugin.py also builds the standalone skill package
    dist/endnote-for-word.skill with its SHA-256 file, and CI uploads it. The Claude Desktop
    instructions now use it.
  • Troubleshooting entries for a SaveAs2 call that never returns and for the Word recovery state
    that a forced kill leaves behind.

Changed

  • The shipped MCP launch command (.mcp.json, .codex-mcp.json, and the registration commands
    in the READMEs and the installation reference) is powershell.exe, which every supported
    Windows has, so the server starts before PowerShell 7 exists. The bridge still prefers
    PowerShell 7 when it is installed.
  • scripts/run-mcp.ps1 only checks that a PowerShell host exists. It no longer exports the host
    it found as ENDNOTE_WORD_POWERSHELL, which now pins the host only when set explicitly.
  • Manifests, agent defaults and RIS files are decoded as strict UTF-8 with an optional byte order
    mark. Input that is not valid UTF-8, such as UTF-16 with a byte order mark or Latin-1, is
    rejected with "could not be read as UTF-8 text" instead of being parsed into corrupted author
    names. Most cp950 and cp936 text fails the same way, but legacy bytes that happen to form valid
    UTF-8 cannot be detected. The DOI and library precheck reports the same message.
  • Resolved paths in JSON results are plain, full file system paths.

Fixed

  • Under Windows PowerShell 5.1, Word's SaveAs2 stalled when given an uncast Join-Path path
    (measured on Word 16.0.20430 with EndNote 21.5), so the save step that render, update,
    set-style and unformat share hung until the watchdog killed Word (observed with
    render). The bridge now passes the save path as a plain string. Found while investigating
    #1 by @G-C-M-G.
  • Manifests with non-ASCII text failed to parse under Windows PowerShell 5.1 on a non-UTF-8 code
    page. Based on #1 by @G-C-M-G.
  • The bridge deadlocked when a child process wrote more than 4 KB to stderr.
  • UNC and \\?\ paths reached Python, Word and .NET in the provider-qualified
    Microsoft.PowerShell.Core\FileSystem:: form that none of them can open.
  • The unformat "never in place" guard could be bypassed through an 8.3 short-name alias of the
    input, or with the same UNC path on both sides.
  • The MCP render timeout ignored the citation count of a manifest saved with a byte order mark.
  • A precheck failure without a problem list no longer prefixes the error with an empty entry.

Assets

  • endnote-for-word-plugin.zip: the whole repository, for plugin-aware hosts. SHA-256 866cafc3a6994aafa70fa5bce56b40936cd2ad7c04604b52a1ede5c8cf8004e3
  • endnote-for-word.skill: standalone skill for Claude Desktop Customize > Skills. SHA-256 92ee1a8969436417819db9430e06ff7e23b1d38d9f00fbf8a4ba53fc46cc6bbb

Each asset has a .sha256 file beside it. Full history in CHANGELOG.md.