prompt_manager 1.0.2 → 1.2.0

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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +138 -27
  3. data/README.md +127 -271
  4. data/lib/pm/configuration.rb +34 -4
  5. data/lib/pm/core_directives.rb +21 -20
  6. data/lib/pm/directive.rb +26 -34
  7. data/lib/pm/directives.rb +55 -16
  8. data/lib/pm/errors.rb +71 -0
  9. data/lib/pm/metadata.rb +110 -9
  10. data/lib/pm/parsed.rb +51 -46
  11. data/lib/pm/render_scope.rb +74 -0
  12. data/lib/pm/renderer.rb +59 -0
  13. data/lib/pm/shell.rb +95 -40
  14. data/lib/pm/version.rb +1 -1
  15. data/lib/pm.rb +116 -57
  16. data/lib/prompt_manager.rb +6 -0
  17. metadata +13 -113
  18. data/.envrc +0 -3
  19. data/.irbrc +0 -14
  20. data/COMMITS.md +0 -196
  21. data/Rakefile +0 -12
  22. data/docs/api/configuration.md +0 -59
  23. data/docs/api/constants.md +0 -60
  24. data/docs/api/index.md +0 -14
  25. data/docs/api/metadata.md +0 -99
  26. data/docs/api/parsed.md +0 -98
  27. data/docs/api/pm-module.md +0 -169
  28. data/docs/api/render-context.md +0 -51
  29. data/docs/architecture/design-decisions.md +0 -70
  30. data/docs/architecture/index.md +0 -6
  31. data/docs/architecture/processing-pipeline.md +0 -112
  32. data/docs/assets/css/custom.css +0 -1
  33. data/docs/assets/images/prompt_manager.gif +0 -0
  34. data/docs/assets/images/prompt_manager.mp4 +0 -0
  35. data/docs/examples/ai-agent-prompts.md +0 -173
  36. data/docs/examples/code-review-prompt.md +0 -107
  37. data/docs/examples/index.md +0 -7
  38. data/docs/examples/multi-file-composition.md +0 -123
  39. data/docs/getting-started/configuration.md +0 -106
  40. data/docs/getting-started/index.md +0 -7
  41. data/docs/getting-started/installation.md +0 -34
  42. data/docs/getting-started/quick-start.md +0 -94
  43. data/docs/guides/comment-stripping.md +0 -64
  44. data/docs/guides/custom-directives.md +0 -180
  45. data/docs/guides/erb-rendering.md +0 -102
  46. data/docs/guides/includes.md +0 -184
  47. data/docs/guides/index.md +0 -11
  48. data/docs/guides/parameters.md +0 -96
  49. data/docs/guides/parsing.md +0 -151
  50. data/docs/guides/shell-expansion.md +0 -108
  51. data/docs/index.md +0 -70
  52. data/mkdocs.yml +0 -181
data/mkdocs.yml DELETED
@@ -1,181 +0,0 @@
1
- # MkDocs Configuration for PM (PromptManager) Documentation
2
- site_name: PM (PromptManager)
3
- site_description: Parse YAML metadata from markdown prompts with shell expansion and ERB rendering
4
- site_author: Dewayne VanHoozer
5
- site_url: https://madbomber.github.io/prompt_manager
6
- copyright: Copyright © 2025 Dewayne VanHoozer
7
-
8
- # Repository information
9
- repo_name: madbomber/prompt_manager
10
- repo_url: https://github.com/madbomber/prompt_manager
11
- edit_uri: edit/main/docs/
12
-
13
- # Configuration
14
- theme:
15
- name: material
16
-
17
- # Color scheme
18
- palette:
19
- - scheme: default
20
- primary: teal
21
- accent: amber
22
- toggle:
23
- icon: material/brightness-7
24
- name: Switch to dark mode
25
-
26
- - scheme: slate
27
- primary: teal
28
- accent: amber
29
- toggle:
30
- icon: material/brightness-4
31
- name: Switch to light mode
32
-
33
- # Typography
34
- font:
35
- text: Roboto
36
- code: Roboto Mono
37
-
38
- # Logo and icon
39
- icon:
40
- repo: fontawesome/brands/github
41
- logo: material/text-box-outline
42
-
43
- # Theme features
44
- features:
45
- - navigation.instant
46
- - navigation.tracking
47
- - navigation.tabs
48
- - navigation.tabs.sticky
49
- - navigation.path
50
- - navigation.indexes
51
- - navigation.top
52
- - navigation.footer
53
- - toc.follow
54
- - search.suggest
55
- - search.highlight
56
- - search.share
57
- - header.autohide
58
- - content.code.copy
59
- - content.code.annotate
60
- - content.tabs.link
61
- - content.tooltips
62
- - content.action.edit
63
- - content.action.view
64
-
65
- # Plugins
66
- plugins:
67
- - search:
68
- separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
69
- - tags
70
-
71
- # Extensions
72
- markdown_extensions:
73
- - abbr
74
- - admonition
75
- - attr_list
76
- - def_list
77
- - footnotes
78
- - md_in_html
79
- - tables
80
- - toc:
81
- permalink: true
82
- title: On this page
83
-
84
- - pymdownx.arithmatex:
85
- generic: true
86
- - pymdownx.betterem:
87
- smart_enable: all
88
- - pymdownx.caret
89
- - pymdownx.critic
90
- - pymdownx.details
91
- - pymdownx.emoji:
92
- emoji_generator: !!python/name:material.extensions.emoji.to_svg
93
- emoji_index: !!python/name:material.extensions.emoji.twemoji
94
- - pymdownx.highlight:
95
- anchor_linenums: true
96
- line_spans: __span
97
- pygments_lang_class: true
98
- - pymdownx.inlinehilite
99
- - pymdownx.keys
100
- - pymdownx.magiclink:
101
- repo_url_shorthand: true
102
- user: madbomber
103
- repo: prompt_manager
104
- normalize_issue_symbols: true
105
- - pymdownx.mark
106
- - pymdownx.smartsymbols
107
- - pymdownx.snippets:
108
- check_paths: true
109
- - pymdownx.superfences:
110
- custom_fences:
111
- - name: mermaid
112
- class: mermaid
113
- format: !!python/name:pymdownx.superfences.fence_code_format
114
- - pymdownx.tabbed:
115
- alternate_style: true
116
- - pymdownx.tasklist:
117
- custom_checkbox: true
118
- - pymdownx.tilde
119
-
120
- # Extra CSS
121
- extra_css:
122
- - assets/css/custom.css
123
-
124
- # Social media and extra configuration
125
- extra:
126
- social:
127
- - icon: fontawesome/brands/github
128
- link: https://github.com/madbomber/prompt_manager
129
- name: PM on GitHub
130
- - icon: fontawesome/solid/gem
131
- link: https://rubygems.org/gems/prompt_manager
132
- name: PM on RubyGems
133
-
134
- analytics:
135
- feedback:
136
- title: Was this page helpful?
137
- ratings:
138
- - icon: material/emoticon-happy-outline
139
- name: This page was helpful
140
- data: 1
141
- note: Thanks for your feedback!
142
- - icon: material/emoticon-sad-outline
143
- name: This page could be improved
144
- data: 0
145
- note: Thanks for your feedback! Help us improve by creating an issue.
146
-
147
- # Navigation
148
- nav:
149
- - Home:
150
- - Overview: index.md
151
- - Getting Started:
152
- - getting-started/index.md
153
- - Installation: getting-started/installation.md
154
- - Quick Start: getting-started/quick-start.md
155
- - Configuration: getting-started/configuration.md
156
- - Guides:
157
- - guides/index.md
158
- - Parsing Prompts: guides/parsing.md
159
- - Parameters: guides/parameters.md
160
- - Shell Expansion: guides/shell-expansion.md
161
- - ERB Rendering: guides/erb-rendering.md
162
- - Including Files: guides/includes.md
163
- - Custom Directives: guides/custom-directives.md
164
- - Comment Stripping: guides/comment-stripping.md
165
- - API Reference:
166
- - api/index.md
167
- - PM Module: api/pm-module.md
168
- - Configuration: api/configuration.md
169
- - Metadata: api/metadata.md
170
- - Parsed: api/parsed.md
171
- - RenderContext: api/render-context.md
172
- - Constants: api/constants.md
173
- - Architecture:
174
- - architecture/index.md
175
- - Processing Pipeline: architecture/processing-pipeline.md
176
- - Design Decisions: architecture/design-decisions.md
177
- - Examples:
178
- - examples/index.md
179
- - Code Review Prompt: examples/code-review-prompt.md
180
- - Multi-File Composition: examples/multi-file-composition.md
181
- - AI Agent Prompts: examples/ai-agent-prompts.md