Skip to content

Version 2.0.0#33

Merged
shu-kitamura merged 30 commits into
mainfrom
develop
Feb 7, 2026
Merged

Version 2.0.0#33
shu-kitamura merged 30 commits into
mainfrom
develop

Conversation

@shu-kitamura

Copy link
Copy Markdown
Owner

This pull request introduces a significant refactor to transition the repository from a single-package layout to a Cargo workspace with two crates: regex-core (library) and regex-cli (CLI). It also updates documentation, improves test organization, and adds agent skill definitions and guidelines. Below are the most important changes:


Repository Restructuring and Cargo Workspace

  • Migrated from a single crate to a workspace structure with regex-core (library) and regex-cli (CLI), updating all relevant paths and package configurations. The root Cargo.toml now defines the workspace, and each crate has its own Cargo.toml. [1] [2]
  • Updated the project structure in AGENTS.md to reflect the new workspace layout, including revised development commands and file locations.

Codebase Refactoring and Test Reorganization

  • Moved CLI source code from src/bin/regex.rs to crates/regex-cli/src/main.rs, and updated all internal imports to reference regex_core instead of the old monolithic crate.
  • Relocated CLI unit and integration tests to their respective new locations under crates/regex-cli/src/tests/ and crates/regex-cli/tests/, updating imports and test logic as needed. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Documentation Updates

  • Rewrote and expanded README.md (English) and added README_ja.md (Japanese) to document the new workspace structure, installation, CLI/library usage, supported regex syntax, and development workflow. [1] [2]
  • Updated all usage examples, options, and explanations to match the new CLI and library structure. [1] [2]

Agent Skill Definitions and Guidelines

  • Added .agents/skills/code-review/SKILL.md and .agents/skills/planner/SKILL.md to define detailed review and planning skills for agents, including review points, output formats, and best practices. [1] [2]

Configuration and Miscellaneous

  • Added .codex/config.toml with web_search = "live" to enable live web search for agents.
  • Added crates/regex-cli/src/error.rs to define CLI-specific error types.

These changes modernize the repository, improve maintainability, clarify documentation for both English and Japanese users, and provide clear guidelines and skill definitions for agent-based workflows.

shu-kitamura and others added 28 commits February 5, 2026 00:38
- add Purpose and Scope
- Rust edition 2021 -> 2024
- version 1.2.1 -> 1.2.2
- add config.toml
- add some skills
- regex-cli : Command
- regex-core : Library
main plan:
- overall plan

sub plans:
- parser plan
- compiler plan
- evaluator plan
…ine to use bytes

Co-authored-by: shu-kitamura <171437458+shu-kitamura@users.noreply.github.com>
Co-authored-by: shu-kitamura <171437458+shu-kitamura@users.noreply.github.com>
…cumentation

Co-authored-by: shu-kitamura <171437458+shu-kitamura@users.noreply.github.com>
Co-authored-by: shu-kitamura <171437458+shu-kitamura@users.noreply.github.com>
…nce regression

Co-authored-by: shu-kitamura <171437458+shu-kitamura@users.noreply.github.com>
Add SearchPlan to optimize search
The current parser will remain as is.
The current parser will be removed after implementing v2 of other modules.
- Added version 2 implementation and API
- Added benchmark tests
- Update the information in README.md and made it English.
- Add README_ja.md, which is a Japanese translation of README.md.
@shu-kitamura
shu-kitamura marked this pull request as draft February 7, 2026 17:31
@shu-kitamura
shu-kitamura marked this pull request as ready for review February 7, 2026 17:31
@shu-kitamura
shu-kitamura merged commit 558b726 into main Feb 7, 2026
1 check passed
@shu-kitamura
shu-kitamura deleted the develop branch February 7, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants