Commit Graph

14 Commits

Author SHA1 Message Date
Eyal Toledano
e88682f881 feat(mcp): Refactor initialize_project tool for direct execution
Refactors the initialize_project MCP tool to call a dedicated direct function (initializeProjectDirect) instead of executing the CLI command. This improves reliability and aligns it with other MCP tools.

Key changes include: Modified initialize-project.js to call initializeProjectDirect, required projectRoot parameter, implemented handleApiResult for MCP response formatting, enhanced direct function to prioritize args.projectRoot over session-derived paths, added validation to prevent initialization in invalid directories, forces yes:true for non-interactive use, ensures process.chdir() targets validated directory, and added isSilentMode() checks to suppress console output during MCP operations.

This resolves issues where the tool previously failed due to incorrect fallback directory resolution when session context was incomplete.
2025-04-11 01:16:32 -04:00
Eyal Toledano
6403e96ef9 Merge pull request #154 from eyaltoledano/issue-templates
Update issue templates
2025-04-10 02:29:14 -04:00
Eyal Toledano
51919950f1 Update issue templates 2025-04-10 02:26:42 -04:00
Ralph Khreish
c02483bc41 chore: run npm run format 2025-04-09 00:30:05 +02:00
Ralph Khreish
3148b57f1b chore: add prettier config 2025-04-09 00:30:05 +02:00
Ralph Khreish
a56a3628b3 CHORE: Add CI for making sure PRs don't break things (#89)
* fix: add CI for better control of regressions during PRs

* fix: slight readme improvement

* chore: fix CI

* cleanup

* fix: duplicate workflow trigger
2025-04-03 16:01:58 +02:00
Ralph Khreish
7fef5ab488 fix: github actions (#82) 2025-04-02 01:53:29 +02:00
Ralph Khreish
a10470ba2f chore: change node-fetch override version for changeset 2025-03-29 09:09:15 +01:00
Ralph Khreish
397c181202 chore: fix changesets/action job 2025-03-29 08:54:54 +01:00
Ralph Khreish
179eb85a4c chore: fix CI 2025-03-28 21:03:01 +01:00
Ralph Khreish
fb336ded3e fix: changeset action (#49) 2025-03-28 20:51:06 +01:00
Ralph Khreish
5ec3651e64 fix: bug workflow being in the wrong directory (#48) 2025-03-28 20:43:36 +01:00
Ralph Khreish
4eed269378 feat: Implement MCP (#20) 2025-03-28 20:38:53 +01:00
Ralph Khreish
eafdb47418 feat: add github actions to automate github and npm releases 2025-03-28 18:45:24 +01:00