episoda 0.2.116 → 0.2.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2815,7 +2815,7 @@ var require_package = __commonJS({
2815
2815
  "package.json"(exports2, module2) {
2816
2816
  module2.exports = {
2817
2817
  name: "episoda",
2818
- version: "0.2.115",
2818
+ version: "0.2.118",
2819
2819
  description: "CLI tool for Episoda local development workflow orchestration",
2820
2820
  main: "dist/index.js",
2821
2821
  types: "dist/index.d.ts",
@@ -8837,8 +8837,15 @@ ALLOWED ACTIONS:
8837
8837
  - Run read-only Bash commands (ls, cat, git status, git log, git diff, grep, find, etc.)
8838
8838
  - Analyze code and provide recommendations
8839
8839
  - Explain architecture and suggest changes (but not implement them)
8840
+ - Use ALL Episoda MCP tools for workflow operations:
8841
+ \u2022 create_task, update_task, update_task_state, list_module_tasks
8842
+ \u2022 update_module, request_review, mark_done
8843
+ \u2022 get_knowledge, search_knowledge, link_knowledge
8840
8844
 
8841
- If the user requests changes, explain what would need to be done but DO NOT execute any write operations.
8845
+ IMPORTANT: Read-only mode applies to CODE FILES only!
8846
+ Episoda workflow operations (tasks, modules, knowledge) are ALWAYS allowed.
8847
+
8848
+ If the user requests CODE changes, explain what would need to be done but DO NOT execute file write operations.
8842
8849
  Violations will result in errors and may affect your ability to assist.
8843
8850
 
8844
8851
  ---
@@ -8939,9 +8946,19 @@ If changes are needed, explain what needs to be done.`;
8939
8946
  session.claudeSessionId = resumeSessionId;
8940
8947
  }
8941
8948
  const mcpServersToRegister = this.getMcpServersForSession(session);
8942
- for (const mcpServer of mcpServersToRegister) {
8943
- args.push("--mcp", ...mcpServer.command.split(" "));
8944
- console.log(`[AgentManager] EP1233: Registering MCP server: ${mcpServer.name}`);
8949
+ if (mcpServersToRegister.length > 0) {
8950
+ const mcpConfig = {};
8951
+ for (const mcpServer of mcpServersToRegister) {
8952
+ const parts = mcpServer.command.split(" ");
8953
+ mcpConfig[mcpServer.name] = {
8954
+ command: parts[0],
8955
+ args: parts.slice(1)
8956
+ };
8957
+ console.log(`[AgentManager] EP1233: Registering MCP server: ${mcpServer.name}`);
8958
+ }
8959
+ const mcpConfigJson = JSON.stringify({ mcpServers: mcpConfig });
8960
+ args.push("--mcp-config", mcpConfigJson);
8961
+ console.log(`[AgentManager] EP1233: MCP config: ${mcpConfigJson}`);
8945
8962
  }
8946
8963
  args.push("--", message);
8947
8964
  }