Releases: josbeir/cakephp-synapse
Releases · josbeir/cakephp-synapse
Release list
0.2.0
What's Changed
Dependencies — #6
- Upgraded
mcp/sdkfrom^0.4to^0.5, resolving all breaking changes introduced in that release - Added
symfony/finderas an explicit dependency (was a transitive dep in 0.4, made optional in 0.5) - Added
symfony/filesystemfor cross-platform path utilities ServerBuilder::withPluginTools()now usesFilesystem::makePathRelative()instead of astr_replace(ROOT, ...)hack that broke when the plugin is installed via ComposerRepository::getMarkdownFiles()migrated fromRecursiveDirectoryIteratorto Symfony Finder
New MCP Tools — #7
run_command (Commands)
Run any registered CakePHP console command in a subprocess. Commands are validated against the application's CommandCollection before execution; each argument is escaped with escapeshellarg to prevent shell injection. Timeout clamped to [1, 300] s.
LogTools (log_list, log_read)
log_list— list available log files with size and modification timelog_read(file, lines, level)— tail the last N lines from a log file, optionally filtered by log level. Uses reverse-seek for plain reads and a rolling buffer for level-filtered reads.linesclamped to [1, 5000].
CacheTools (cache_configs, cache_read, cache_write, cache_delete, cache_clear)
Inspect and manage CakePHP cache configurations directly from your MCP client.
ModelTools (orm_describe, orm_find)
orm_describe(alias, connection)— describe a Table's alias, table name, primary key, display field, entity class, associations, and behaviorsorm_find(alias, connection, type, limit)— run anall/first/countfind on a Table and return plain arrays; limit clamped to [1, 100]
Full Changelog: 0.1.13...0.2.0
0.1.13
0.1.12
0.1.11
🪟 Windows Compatibility Improvements
Cross-Platform Testing & Fixes
- Added Windows CI testing to catch platform-specific issues early
- Fixed path separator inconsistencies across Windows and Unix systems
Bug Fixes
- Fixed
ServerBuilderto use consistent forward slashes in scan directory paths - Fixed shell commands to use platform-appropriate null devices (
NULon Windows, null on Unix) - Fixed
findExecutable()to only run platform-specific commands (whichon Unix,whereon Windows) - Normalized line endings in test file reading for cross-platform consistency
- Added Windows-specific error message handling in process execution tests
CI/CD
- Added Windows and Ubuntu matrix testing
0.1.10
0.1.9
What's changed
- Adding command tools
list_commandsandget_command_info
Full Changelog: 0.1.8...0.1.9
0.1.8
0.1.7
Added
- Added various handy MCP Prompts (check if your client supports this).
- MCP Inspector support (
--inspectflag) - Added traits to tinker tool (LocatorAwareTrait, LogTrait)
Full Changelog: 0.1.6...0.1.7
0.1.6
Features & Improvements
- Original markdown now preserved with full formatting (code blocks, links, lists)
- Schema auto-validates and rebuilds database if needed
- Better CLI UX - best search results stay visible
Bug Fixes
- Fixed search ranking - best results now appear first (BM25 scores were inverted)
Migration
Re-index required to populate original content:
bin/cake synapse index -d
bin/cake synapse indexFull Changelog: 0.1.5...0.1.6