2 Commits
Author SHA1 Message Date
winlifes e01f058e3e Release v0.1.4 2026-05-11 06:17:19 -07:00
winlifes 6fc15e5ebe Tests: update tool profile expectations 2026-05-11 05:56:12 -07:00
3 changed files with 14 additions and 3 deletions
+7
View File
@@ -6,6 +6,13 @@ This project follows a simple changelog format inspired by [Keep a Changelog](ht
## [Unreleased]
## [0.1.4] - 2026-05-11
### Fixed
- Fixed CI test expectations after expanding the documented `core` and `full` tool profiles.
- Aligned the latest release line with the current tested `main` branch state.
## [0.1.3] - 2026-05-11
### Added
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "funplay-cocos-mcp",
"package_version": 2,
"version": "0.1.3",
"version": "0.1.4",
"description": "Embedded MCP server for Cocos Creator with scene script execution, project resources, prompts, and file/scene tools.",
"author": "Funplay",
"license": "MIT",
+6 -2
View File
@@ -19,15 +19,19 @@ function createRegistry(profile, projectPath = path.resolve('/tmp/funplay-cocos-
test('core profile exposes the documented focused tool set', () => {
const tools = createRegistry('core').listTools();
assert.equal(tools.length, 19);
assert.equal(tools.length, 22);
assert.equal(tools.some((tool) => tool.name === 'execute_javascript'), true);
assert.equal(tools.some((tool) => tool.name === 'get_editor_state'), true);
assert.equal(tools.some((tool) => tool.name === 'set_selection'), true);
assert.equal(tools.some((tool) => tool.name === 'write_file'), false);
});
test('full profile exposes all built-in tools', () => {
const tools = createRegistry('full').listTools();
assert.equal(tools.length, 67);
assert.equal(tools.length, 70);
assert.equal(tools.some((tool) => tool.name === 'write_file'), true);
assert.equal(tools.some((tool) => tool.name === 'get_editor_state'), true);
assert.equal(tools.some((tool) => tool.name === 'set_selection'), true);
});
test('file tools reject writes outside the project root', async () => {