Skip to content

Releases: josbeir/cakephp-synapse

0.2.0

Choose a tag to compare

@josbeir josbeir released this 23 May 12:47
50db8e5

What's Changed

Dependencies — #6

  • Upgraded mcp/sdk from ^0.4 to ^0.5, resolving all breaking changes introduced in that release
  • Added symfony/finder as an explicit dependency (was a transitive dep in 0.4, made optional in 0.5)
  • Added symfony/filesystem for cross-platform path utilities
  • ServerBuilder::withPluginTools() now uses Filesystem::makePathRelative() instead of a str_replace(ROOT, ...) hack that broke when the plugin is installed via Composer
  • Repository::getMarkdownFiles() migrated from RecursiveDirectoryIterator to 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 time
  • log_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. lines clamped 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 behaviors
  • orm_find(alias, connection, type, limit) — run an all/first/count find on a Table and return plain arrays; limit clamped to [1, 100]

Full Changelog: 0.1.13...0.2.0

0.1.13

Choose a tag to compare

@josbeir josbeir released this 12 Mar 10:37
81534ce

What's Changed

  • bump mcp-sdk to 0.4 in #5

Full Changelog: 0.1.12...0.1.13

0.1.12

Choose a tag to compare

@josbeir josbeir released this 29 Jan 10:58
f16399c

Changes

  • This release bumps mcp/sdk to ^0.3 (#4)
  • Switched the documentation repository from docs-md to docs as this has now been officially launched. (#4)

Full Changelog: 0.1.11...0.1.12

0.1.11

Choose a tag to compare

@josbeir josbeir released this 21 Dec 10:59

🪟 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 ServerBuilder to use consistent forward slashes in scan directory paths
  • Fixed shell commands to use platform-appropriate null devices (NUL on Windows, null on Unix)
  • Fixed findExecutable() to only run platform-specific commands (which on Unix, where on 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

Choose a tag to compare

@josbeir josbeir released this 21 Dec 10:28
0d34c57

What's Changed

  • Make file search os independent and fix doc index on windows by @skie in #3

New Contributors

  • @skie made their first contribution in #3

Full Changelog: 0.1.9...0.1.10

0.1.9

Choose a tag to compare

@josbeir josbeir released this 13 Dec 19:48
c7a445c

What's changed

  • Adding command tools list_commands and get_command_info

Full Changelog: 0.1.8...0.1.9

0.1.8

Choose a tag to compare

@josbeir josbeir released this 29 Nov 13:10
4323356

What's Changed

  • The tinker command now runs in a sub-process allowing it to evaluate changes in real-time #2
  • Added descriptions for all commands

Full Changelog: 0.1.7...0.1.8

0.1.7

Choose a tag to compare

@josbeir josbeir released this 23 Nov 14:37

Added

  • Added various handy MCP Prompts (check if your client supports this).
  • MCP Inspector support (--inspect flag)
  • Added traits to tinker tool (LocatorAwareTrait, LogTrait)

Full Changelog: 0.1.6...0.1.7

0.1.6

Choose a tag to compare

@josbeir josbeir released this 23 Nov 10:49

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 index

Full Changelog: 0.1.5...0.1.6

0.1.5

Choose a tag to compare

@josbeir josbeir released this 22 Nov 13:11

Use tagged ^0.1 php-sdk version