Commit Graph
6 Commits
Author SHA1 Message Date
can1357 db57eb8e62 feat(coding-agent/commit): Added agentic commit mode with tool-based git inspection
- Replaced deterministic pipeline with agent session using specialized git tools for diff analysis.
- Introduced git-overview, git-file-diff, git-hunk, and analyze-file tools for fine-grained inspection.
- Added split-commit support to create multiple atomic commits for unrelated changes.
- Added commit message validation with filler word detection, meta phrase filtering, and unicode normalization.
- Added --legacy flag to use the deterministic pipeline when preferred.
- Extracted formatCommitMessage and model selection logic into dedicated modules.
2026-01-23 13:46:06 +01:00
can1357 0a9dd1612c feat(coding-agent/config): added file locking mechanism to prevent concurrent write races in settings persistence
- Added file locking mechanism to prevent concurrent write races in settings persistence.
- Exported `withFileLock` utility function for coordinating file access across processes.
- Integrated file locking into SettingsManager.save() to ensure atomic config updates.
2026-01-23 13:46:06 +01:00
can1357 a683344fd8 feat(coding-agent/commit): added configurable analysis settings and structured git error handling
- Added configurable map-reduce analysis settings for concurrency, timeout, file thresholds, and token limits.
- Made changelog diff truncation limit configurable via maxDiffChars parameter.
- Added support for excluding YAML lock files from commit analysis via suffix patterns.
- Created GitError custom error class with command and stderr tracking for structured error handling.
- Converted relative imports to alias-based '$c' imports across commit modules.
2026-01-23 13:46:06 +01:00
can1357 3d6b0b2853 feat(coding-agent/config): added CommitSettings interface and improved YAML formatting
- Added CommitSettings interface with configurable map-reduce and changelog parameters.
- Added getCommitSettings() method to SettingsManager for retrieving commit configuration with sensible defaults.
- Added commit settings field to Settings interface.
- Improved YAML formatting by adding indentation parameter to YAML.stringify() calls for better readability.
- Removed redundant mkdirSync calls before Bun.write operations.
- Reorganized import statements in alphabetical order for consistency.
2026-01-23 13:46:06 +01:00
can1357 fb68e72d78 feat(coding-agent): migrated settings and models to models.yml
- Settings now stored in ~/.omp/agent/config.yaml instead of agent.db
- Models config now supports models.yaml (preferred) alongside models.json
- Auto-migration from agent.db settings and models.json on first run
- AgentStorage.saveSettings() deprecated (getSettings() kept for migration)
- storage-migration.ts now only handles auth.json migration
2026-01-23 13:46:06 +01:00
can1357 cb5bbbf382 refactor(coding-agent): flattened directory structure, eliminated core/ folder
- Eliminated core/ directory (252 files, 23 subdirs → distributed)
- Reduced max nesting from 9 levels to 5 levels
- Promoted tool subdirs to top level: exa/, lsp/, patch/, task/, web/
- Merged web-scrapers/ + web-search/ into web/{scrapers,search}/
- Flattened modes/interactive/ to modes/
- Split execution/ into: ipy/ (python), exec/ (bash), ssh/
- Renamed ipy/python-*.ts to ipy/*.ts (executor, kernel, etc.)
- Flattened cursor/exec-bridge.ts to cursor.ts
- Created logical groupings: config/, session/, extensibility/, export/
- Updated all imports across 500+ files
2026-01-23 12:24:47 +01:00