aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/conventionalrp
Commit message (Collapse)AuthorAgeFilesLines
* refactor(auto_parser): Remove THULAC parser implementation from the project. ↵简律纯2025-11-042-594/+524
| | | | This includes the entire thulac_parser.py file, which contained the logic for parsing TRPG logs using THULAC for Chinese lexical analysis. All related methods, classes, and configurations have been deleted.
* feat: add visualization tools for character relationship graphs简律纯2025-11-011-0/+200
| | | | | | | - Implemented ASCII visualization of relationships. - Added Graphviz support for generating PNG images of relationship graphs. - Created an interactive HTML visualization using Cytoscape.js. - Included styles and scripts for enhanced user experience in the HTML output.
* feat: add AutoParser class for automated content classification简律纯2025-10-293-2/+471
|
* refactor: streamline THULACParser documentation and remove redundant commentsHsiangNianian2025-10-291-25/+4
|
* refactor: Refactor code structure for improved readability and maintainability简律纯2025-10-291-0/+523
|
* feat: Implement plugin system with combat tracker and dice analyzer简律纯2025-10-2524-177/+1766
| | | | | | | | | | | | | - Added `plugin_system_demo.py` to demonstrate basic plugin usage, processing, and analysis. - Created `CombatTrackerPlugin` for tracking combat statistics including damage and healing. - Developed `DiceAnalyzerPlugin` for analyzing dice rolls and calculating success rates. - Introduced `renderer_demo.py` for rendering output in HTML, Markdown, and JSON formats. - Implemented `rule_system_demo.py` to showcase rule engine capabilities with various examples. - Established core rule engine functionality in `rules.py` with support for conditions and actions. - Enhanced base plugin structure in `base.py` to support different plugin types (Processor, Renderer, Analyzer). - Added custom exception handling in `exceptions.py` for better error management. - Configured logging setup in `logging_config.py` for improved logging capabilities. - Created unit tests in `test_rust_core.py` to validate core functionalities and performance.
* feat: Enhance Processor, RuleExtractor, and Renderers with type hints and ↵简律纯2025-10-243-34/+164
| | | | | | | | | | | | improved documentation - Added type hints to Processor methods for better clarity and type safety. - Improved documentation for Processor methods, including detailed descriptions of parameters and return types. - Refactored RuleExtractor to support optional configuration file loading and added error handling for file operations. - Enhanced MarkdownRenderer to handle both list and dictionary inputs, with improved rendering logic. - Created comprehensive examples and tests for all components, ensuring robust functionality and error handling. - Added example rules for D&D 5E and structured output files for various formats (JSON, HTML, Markdown). - Established a testing framework with clear instructions and coverage reporting.
* chore: redactor `__version__` detector简律纯2025-06-301-10/+9
|
* style: :art: remove redundant file path comments from module initialization ↵HsiangNianian2025-05-075-5/+0
| | | | files
* feat: :art: update rules structure to use a dictionary for improved organizationHsiangNianian2025-05-071-3/+3
|
* feat: :art: refactor log parsing logic with simplified rules and ↵pineoncellar/mainpine2025-04-141-73/+120
| | | | priority-based matching
* style: :art: Update rule file formatpine2025-03-241-25/+25
|
* feat: 🎨 More standardized log parsepine2025-03-151-12/+76
|
* feat: ➕ Add dependency json5pine2025-03-151-3/+3
|
* refactor: clean up code formatting and add new PluginManager classHsiangNianian2025-03-1516-28/+60
|
* fix: :bug: using f.read() instead of json.load()pine2025-03-151-1/+3
|
* Merge branch 'main' into main简律纯2025-03-157-8/+23
|\
| * chore: bump version to 0.2.2 and update version retrieval method in __init__.pyv0.2.2HsiangNianian2025-03-141-2/+13
| |
| * chore: bump version to 0.2.1 in Cargo.toml and __init__.pyHsiangNianian2025-03-141-1/+1
| |
| * chore: update version to 0.2.0 in __init__.pyv0.2.0HsiangNianian2025-03-141-1/+1
| |
| * chore: update version to 0.1.0 and enhance README with project overview and ↵HsiangNianian2025-03-141-1/+5
| | | | | | | | usage examples
| * refactor: update project structure and rename modules to conventionalrpHsiangNianian2025-03-146-7/+7
| |
* | feat: simple parser rules load and log processingpine2025-03-131-5/+44
|/
* refactor(project)!: first implementation of the Conventional Role Play SDK ↵HsiangNianian2025-03-1323-0/+178
with core components, renderers, extractors, and example usage.