confpub-cli 1.4.4__tar.gz → 1.6.0__tar.gz

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 (55) hide show
  1. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/PKG-INFO +20 -2
  2. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/README.md +19 -1
  3. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/__init__.py +1 -1
  4. confpub_cli-1.6.0/confpub/converter.py +752 -0
  5. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/guide.py +43 -0
  6. confpub_cli-1.6.0/confpub/macro_plugin.py +152 -0
  7. confpub_cli-1.6.0/confpub/reverse_converter.py +532 -0
  8. confpub_cli-1.6.0/confpub.lock +21 -0
  9. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_converter.py +171 -0
  10. confpub_cli-1.6.0/tests/test_macro_plugin.py +291 -0
  11. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_reverse_converter.py +155 -3
  12. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/uv.lock +27 -1
  13. confpub_cli-1.4.4/confpub/converter.py +0 -392
  14. confpub_cli-1.4.4/confpub/reverse_converter.py +0 -261
  15. confpub_cli-1.4.4/confpub.lock +0 -10
  16. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/.github/workflows/publish.yml +0 -0
  17. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/.gitignore +0 -0
  18. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/CLAUDE.md +0 -0
  19. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/LICENSE +0 -0
  20. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/PRD.md +0 -0
  21. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/applier.py +0 -0
  22. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/assets.py +0 -0
  23. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/cli.py +0 -0
  24. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/config.py +0 -0
  25. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/confluence.py +0 -0
  26. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/envelope.py +0 -0
  27. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/errors.py +0 -0
  28. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/lockfile.py +0 -0
  29. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/manifest.py +0 -0
  30. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/output.py +0 -0
  31. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/planner.py +0 -0
  32. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/publish.py +0 -0
  33. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/puller.py +0 -0
  34. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/py.typed +0 -0
  35. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/validator.py +0 -0
  36. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/confpub/verifier.py +0 -0
  37. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/pyproject.toml +0 -0
  38. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/__init__.py +0 -0
  39. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/conftest.py +0 -0
  40. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_applier.py +0 -0
  41. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_assets.py +0 -0
  42. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_config.py +0 -0
  43. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_confluence.py +0 -0
  44. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_envelope.py +0 -0
  45. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_errors.py +0 -0
  46. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_guide.py +0 -0
  47. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_integration.py +0 -0
  48. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_lockfile.py +0 -0
  49. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_manifest.py +0 -0
  50. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_output.py +0 -0
  51. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_planner.py +0 -0
  52. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_publish.py +0 -0
  53. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_puller.py +0 -0
  54. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_validator.py +0 -0
  55. {confpub_cli-1.4.4 → confpub_cli-1.6.0}/tests/test_verifier.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: confpub-cli
3
- Version: 1.4.4
3
+ Version: 1.6.0
4
4
  Summary: Agent-first CLI to publish Markdown to Confluence
5
5
  Project-URL: Homepage, https://github.com/ThomasRohde/confpub-cli
6
6
  Project-URL: Repository, https://github.com/ThomasRohde/confpub-cli.git
@@ -118,7 +118,7 @@ confpub plan apply --plan confpub-plan.json --dry-run
118
118
 
119
119
  - **Structured JSON output** — every command returns the same envelope shape on stdout
120
120
  - **Transactional workflow** — plan → validate → apply → verify with fingerprint-based conflict detection
121
- - **Markdown → Confluence** — code blocks become code macros, `> [!NOTE]` becomes Info panels, tables stay tables
121
+ - **Markdown → Confluence** — code blocks become code macros, `> [!NOTE]` becomes Info panels, tables stay tables, task lists, math, definition lists, footnotes, panels, expand/collapse, page layouts, and `{macro}` syntax for Status, TOC, Jira, Anchor, Children, and more
122
122
  - **Asset handling** — images are uploaded as attachments and URLs are rewritten automatically
123
123
  - **Idempotent** — a lockfile tracks page IDs so re-publishing updates in place
124
124
  - **Agent-ready** — `confpub guide` returns the full CLI schema; `LLM=true` suppresses interactive behavior
@@ -344,6 +344,24 @@ confpub converts Markdown to Confluence Storage Format (and back via `page pull`
344
344
  | `![img](photo.png)` | Upload attachment + `<ac:image>` reference |
345
345
  | Tables | Standard XHTML `<table>` |
346
346
  | `~~strikethrough~~` | `<del>strikethrough</del>` |
347
+ | `- [ ] task` / `- [x] done` | `<ac:task-list>` with task status |
348
+ | `$E=mc^2$` | LaTeX math macro (inline) |
349
+ | `$$...$$` | LaTeX math macro (block) |
350
+ | `Term` + `: Definition` | `<dl><dt><dd>` definition list |
351
+ | `[^1]` footnotes | Superscript links + numbered list |
352
+ | `::: panel Title` | Confluence Panel macro |
353
+ | `::: expand Title` | Confluence Expand macro |
354
+ | `:::: layout two-equal` | Confluence page layout |
355
+ | `---yaml---` front matter | Silently stripped |
356
+ | `{status:Done\|colour=Green}` | Confluence Status lozenge |
357
+ | `{toc}` | Table of Contents macro |
358
+ | `{anchor:name}` | Anchor macro |
359
+ | `{children}` | Children Display macro |
360
+ | `{jira:PROJECT-123}` | Jira issue link/table |
361
+ | `{recently-updated}` | Recently Updated macro |
362
+ | `{excerpt-include:Page}` | Excerpt Include macro |
363
+ | `{include:Page}` | Include Page macro |
364
+ | `::: excerpt` | Excerpt macro (body) |
347
365
 
348
366
  ---
349
367
 
@@ -77,7 +77,7 @@ confpub plan apply --plan confpub-plan.json --dry-run
77
77
 
78
78
  - **Structured JSON output** — every command returns the same envelope shape on stdout
79
79
  - **Transactional workflow** — plan → validate → apply → verify with fingerprint-based conflict detection
80
- - **Markdown → Confluence** — code blocks become code macros, `> [!NOTE]` becomes Info panels, tables stay tables
80
+ - **Markdown → Confluence** — code blocks become code macros, `> [!NOTE]` becomes Info panels, tables stay tables, task lists, math, definition lists, footnotes, panels, expand/collapse, page layouts, and `{macro}` syntax for Status, TOC, Jira, Anchor, Children, and more
81
81
  - **Asset handling** — images are uploaded as attachments and URLs are rewritten automatically
82
82
  - **Idempotent** — a lockfile tracks page IDs so re-publishing updates in place
83
83
  - **Agent-ready** — `confpub guide` returns the full CLI schema; `LLM=true` suppresses interactive behavior
@@ -303,6 +303,24 @@ confpub converts Markdown to Confluence Storage Format (and back via `page pull`
303
303
  | `![img](photo.png)` | Upload attachment + `<ac:image>` reference |
304
304
  | Tables | Standard XHTML `<table>` |
305
305
  | `~~strikethrough~~` | `<del>strikethrough</del>` |
306
+ | `- [ ] task` / `- [x] done` | `<ac:task-list>` with task status |
307
+ | `$E=mc^2$` | LaTeX math macro (inline) |
308
+ | `$$...$$` | LaTeX math macro (block) |
309
+ | `Term` + `: Definition` | `<dl><dt><dd>` definition list |
310
+ | `[^1]` footnotes | Superscript links + numbered list |
311
+ | `::: panel Title` | Confluence Panel macro |
312
+ | `::: expand Title` | Confluence Expand macro |
313
+ | `:::: layout two-equal` | Confluence page layout |
314
+ | `---yaml---` front matter | Silently stripped |
315
+ | `{status:Done\|colour=Green}` | Confluence Status lozenge |
316
+ | `{toc}` | Table of Contents macro |
317
+ | `{anchor:name}` | Anchor macro |
318
+ | `{children}` | Children Display macro |
319
+ | `{jira:PROJECT-123}` | Jira issue link/table |
320
+ | `{recently-updated}` | Recently Updated macro |
321
+ | `{excerpt-include:Page}` | Excerpt Include macro |
322
+ | `{include:Page}` | Include Page macro |
323
+ | `::: excerpt` | Excerpt macro (body) |
306
324
 
307
325
  ---
308
326
 
@@ -1,3 +1,3 @@
1
1
  """confpub — Agent-first CLI to publish Markdown to Confluence."""
2
2
 
3
- __version__ = "1.4.4"
3
+ __version__ = "1.6.0"