prompt_manager 0.5.7 → 0.5.8

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 +4 -0
  3. data/COMMITS.md +196 -0
  4. data/README.md +485 -203
  5. data/docs/.keep +0 -0
  6. data/docs/advanced/custom-keywords.md +421 -0
  7. data/docs/advanced/dynamic-directives.md +535 -0
  8. data/docs/advanced/performance.md +612 -0
  9. data/docs/advanced/search-integration.md +635 -0
  10. data/docs/api/configuration.md +355 -0
  11. data/docs/api/directive-processor.md +431 -0
  12. data/docs/api/prompt-class.md +354 -0
  13. data/docs/api/storage-adapters.md +462 -0
  14. data/docs/assets/favicon.ico +1 -0
  15. data/docs/assets/logo.svg +24 -0
  16. data/docs/core-features/comments.md +48 -0
  17. data/docs/core-features/directive-processing.md +38 -0
  18. data/docs/core-features/erb-integration.md +68 -0
  19. data/docs/core-features/error-handling.md +197 -0
  20. data/docs/core-features/parameter-history.md +76 -0
  21. data/docs/core-features/parameterized-prompts.md +500 -0
  22. data/docs/core-features/shell-integration.md +79 -0
  23. data/docs/development/architecture.md +544 -0
  24. data/docs/development/contributing.md +425 -0
  25. data/docs/development/roadmap.md +234 -0
  26. data/docs/development/testing.md +822 -0
  27. data/docs/examples/advanced.md +523 -0
  28. data/docs/examples/basic.md +688 -0
  29. data/docs/examples/real-world.md +776 -0
  30. data/docs/examples.md +337 -0
  31. data/docs/getting-started/basic-concepts.md +318 -0
  32. data/docs/getting-started/installation.md +97 -0
  33. data/docs/getting-started/quick-start.md +256 -0
  34. data/docs/index.md +230 -0
  35. data/docs/migration/v0.9.0.md +459 -0
  36. data/docs/migration/v1.0.0.md +591 -0
  37. data/docs/storage/activerecord-adapter.md +348 -0
  38. data/docs/storage/custom-adapters.md +176 -0
  39. data/docs/storage/filesystem-adapter.md +236 -0
  40. data/docs/storage/overview.md +427 -0
  41. data/examples/advanced_integrations.rb +52 -0
  42. data/examples/prompts_dir/advanced_demo.txt +79 -0
  43. data/examples/prompts_dir/directive_example.json +1 -0
  44. data/examples/prompts_dir/directive_example.txt +8 -0
  45. data/examples/prompts_dir/todo.json +1 -1
  46. data/improvement_plan.md +996 -0
  47. data/lib/prompt_manager/storage/file_system_adapter.rb +8 -2
  48. data/lib/prompt_manager/version.rb +1 -1
  49. data/mkdocs.yml +146 -0
  50. data/prompt_manager_logo.png +0 -0
  51. metadata +46 -3
  52. data/LICENSE.txt +0 -21
@@ -0,0 +1,79 @@
1
+ # System Analysis and Historical Comparison Report
2
+ # Generated with PromptManager - ERB + Shell Integration Demo
3
+
4
+ ```markdown
5
+ ## Current System Information
6
+
7
+ **Timestamp**: <%= Time.now.strftime('%A, %B %d, %Y at %I:%M:%S %p %Z') %>
8
+ **Analysis Duration**: <%= Time.now - Time.parse('2024-01-01') %> seconds since 2024 began
9
+
10
+ ### Hardware Platform Details
11
+ **Architecture**: $HOSTTYPE$MACHTYPE
12
+ **Hostname**: $HOSTNAME
13
+ **Operating System**: $OSTYPE
14
+ **Shell**: $SHELL (version: $BASH_VERSION)
15
+ **User**: $USER
16
+ **Home Directory**: $HOME
17
+ **Current Path**: $PWD
18
+ **Terminal**: $TERM
19
+
20
+ ### Detailed System Profile
21
+ <% if RUBY_PLATFORM.include?('darwin') %>
22
+ **Platform**: macOS/Darwin System
23
+ **Ruby Platform**: <%= RUBY_PLATFORM %>
24
+ **Ruby Version**: <%= RUBY_VERSION %>
25
+ **Ruby Engine**: <%= RUBY_ENGINE %>
26
+ <% elsif RUBY_PLATFORM.include?('linux') %>
27
+ **Platform**: Linux System
28
+ **Ruby Platform**: <%= RUBY_PLATFORM %>
29
+ **Ruby Version**: <%= RUBY_VERSION %>
30
+ **Ruby Engine**: <%= RUBY_ENGINE %>
31
+ <% else %>
32
+ **Platform**: Other Unix-like System
33
+ **Ruby Platform**: <%= RUBY_PLATFORM %>
34
+ **Ruby Version**: <%= RUBY_VERSION %>
35
+ **Ruby Engine**: <%= RUBY_ENGINE %>
36
+ <% end %>
37
+
38
+ ### Environment Configuration
39
+ **PATH**: $PATH
40
+ **Language**: $LANG
41
+ **Editor**: $EDITOR
42
+ **Pager**: $PAGER
43
+
44
+ ### Development Environment
45
+ <% if ENV['RBENV_VERSION'] %>
46
+ **Ruby Version Manager**: rbenv (version: <%= ENV['RBENV_VERSION'] %>)
47
+ <% elsif ENV['RVM_VERSION'] %>
48
+ **Ruby Version Manager**: RVM (version: <%= ENV['RVM_VERSION'] %>)
49
+ <% else %>
50
+ **Ruby Version Manager**: System Ruby or other
51
+ <% end %>
52
+
53
+ **Gem Home**: $GEM_HOME
54
+ **Gem Path**: $GEM_PATH
55
+
56
+ ### Performance Context
57
+ **Load Average**: <%= `uptime`.strip rescue 'Unable to determine' %>
58
+ **Memory Info**: <%= `vm_stat | head -5`.strip rescue 'Unable to determine' if RUBY_PLATFORM.include?('darwin') %>
59
+ **Disk Usage**: <%= `df -h / | tail -1`.strip rescue 'Unable to determine' %>
60
+
61
+ ## Analysis Request
62
+
63
+ You are a technology historian and systems analyst. Please provide a comprehensive comparison between this current system and **the most powerful Apple computer created in the 20th century** (which would be from the 1990s).
64
+
65
+ Consider these aspects in your analysis:
66
+
67
+ 1. **Processing Power**: Compare the computational capabilities
68
+ 2. **Memory and Storage**: Analyze RAM and storage differences
69
+ 3. **Architecture Evolution**: Discuss the architectural changes
70
+ 4. **Operating System**: Compare the OS sophistication
71
+ 5. **Development Environment**: Contrast the programming environments
72
+ 6. **Historical Context**: Put both systems in their historical perspective
73
+ 7. **Price and Accessibility**: Consider cost and availability differences
74
+ 8. **Legacy Impact**: How each system influenced computing
75
+
76
+ Please be specific about which Apple computer from the 1990s you're comparing against, and provide concrete numbers where possible. Make the comparison engaging and educational, highlighting the dramatic evolution of computing power over the decades.
77
+
78
+ **Format your response as a detailed technical report with clear sections and specific comparisons.**
79
+ ```
@@ -0,0 +1 @@
1
+ {"{language}":"French"}
@@ -0,0 +1,8 @@
1
+ # This is a demonstration of directive processing
2
+ # Comments like this are ignored when the prompt is processed
3
+
4
+ // good_directive param_one param_two
5
+
6
+ This is a demonstration of parameters using {language} syntax.
7
+
8
+ You can substitute parameters like {language} with values.
@@ -1 +1 @@
1
- {"[LANGUAGE]":"ruby","[KEYWORD_AKA_TODO]":"TODO"}
1
+ {"[LANGUAGE]":[],"[KEYWORD_AKA_TODO]":"TODO"}