Skip to content

Fix Word export packaging for scrybe-docx#107

Merged
hartsock merged 2 commits into
mainfrom
fix/docx-exporter-packaging
Jun 7, 2026
Merged

Fix Word export packaging for scrybe-docx#107
hartsock merged 2 commits into
mainfrom
fix/docx-exporter-packaging

Conversation

@hartsock

@hartsock hartsock commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Resolve scrybe-docx from SCRYBE_DOCX_BIN, a bundled sibling executable, PATH, and the default ~/venv/bin toolkit install location in both the desktop app and MCP export tool.
  • Install the local Mermaid Python binding and docx exporter from just install / just editable, and include scrybe-plugin-docx in the scrybe.ai metapackage.
  • Build and publish scrybe-plugin-docx in the release workflow, add a tracked pre-push parity hook, and add packaging drift tests so the exporter does not fall out of the install/release path again.

Validation

  • cargo test -p scrybe-mcp-server
  • cargo test -p scrybe-app
  • just check
  • just test (rerun outside the sandbox because CLI RPC tests bind local Unix sockets)
  • npm ci && npm run build in scrybe-app
  • /Users/shartsock/venv/bin/python -m pytest scrybe-plugin-docx/tests
  • /Users/shartsock/venv/bin/python -m build --outdir /private/tmp/scrybe-docx-dist in scrybe-plugin-docx

Risk

risk:high because this touches release workflow packaging, local hook behavior, and metapackage dependencies.

Notes

This makes the current Scrybe Python toolkit and local development install paths include and discover the Word exporter, and it gives the desktop app a bundled-sibling lookup path for future installer bundling. A fully self-contained Tauri installer that embeds a Python docx exporter runtime is still a larger packaging follow-up.

Fixes #106

Agent

Codex (MacBook, GPT-5)

Co-Authored-By: Codex (MacBook, GPT-5) <noreply@openai.com>
@hartsock hartsock added the risk:high Cross-cutting / CI / hook / deletion / untested — needs human review before merge label Jun 2, 2026
Co-Authored-By: Codex (MacBook, GPT-5) <noreply@openai.com>
@hartsock hartsock merged commit fcbb02a into main Jun 7, 2026
6 checks passed
@hartsock hartsock deleted the fix/docx-exporter-packaging branch June 7, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:high Cross-cutting / CI / hook / deletion / untested — needs human review before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export to Word should work without a separate docx plugin install

2 participants