task-o-matic 0.0.30 → 0.0.31

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.
@@ -35,7 +35,7 @@ class ClaudeCodeExecutor {
35
35
  console.log(chalk_1.default.cyan(`🔄 Resuming session: ${finalConfig.sessionId}`));
36
36
  }
37
37
  // Add --print for non-interactive mode (required for automation)
38
- args.push("-p");
38
+ // args.push("-p");
39
39
  // Auto-approve file edits for automation
40
40
  args.push("--permission-mode", "acceptEdits");
41
41
  // Add prompt as positional argument
@@ -1,3 +1,3 @@
1
- export declare const TASK_EXECUTION_PROMPT = "{RETRY_CONTEXT}{TASK_PLAN}\n# Technology Stack\n{STACK_INFO}\n{DOCUMENTATION_CONTEXT}{PRD_CONTENT}";
2
- export declare const TASK_EXECUTION_SYSTEM_PROMPT = "\nYou are an expert software developer. Execute the task according to the implementation plan and project context provided.\n\n## Guidelines:\n1. Follow the implementation plan step-by-step\n2. Use the technology stack and libraries specified\n3. Refer to the documentation context for API usage\n4. Write clean, maintainable code following best practices\n5. Handle errors appropriately\n6. Test your changes\n\n## On Retries:\nIf this is a retry attempt, carefully analyze the previous error and fix it before proceeding.\n";
1
+ export declare const TASK_EXECUTION_PROMPT = "{RETRY_CONTEXT}{TASK_PLAN}\n# Technology Stack\n{STACK_INFO}\n{DOCUMENTATION_CONTEXT}{PRD_CONTENT}\n\n## **IMPORTANT**: Before finishing, you MUST commit all your changes with a clear, descriptive commit message summarizing what was implemented. DO NOT hand back control without committing your work!";
2
+ export declare const TASK_EXECUTION_SYSTEM_PROMPT = "\nYou are an expert software developer. Execute the task according to the implementation plan and project context provided.\n\n## Guidelines:\n1. Follow the implementation plan step-by-step\n2. Use the technology stack and libraries specified\n3. Refer to the documentation context for API usage\n4. Write clean, maintainable code following best practices\n5. Handle errors appropriately\n6. Test your changes\n7. **IMPORTANT**: Before finishing, commit all your changes with a clear, descriptive commit message summarizing what was implemented. Do not hand back control without committing your work.\n\n## On Retries:\nIf this is a retry attempt, carefully analyze the previous error and fix it before proceeding.\n";
3
3
  //# sourceMappingURL=task-execution.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"task-execution.d.ts","sourceRoot":"","sources":["../../src/prompts/task-execution.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,uGAGG,CAAC;AAEtC,eAAO,MAAM,4BAA4B,khBAaxC,CAAC"}
1
+ {"version":3,"file":"task-execution.d.ts","sourceRoot":"","sources":["../../src/prompts/task-execution.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,iTAKqK,CAAC;AAExM,eAAO,MAAM,4BAA4B,itBAcxC,CAAC"}
@@ -4,7 +4,9 @@ exports.TASK_EXECUTION_SYSTEM_PROMPT = exports.TASK_EXECUTION_PROMPT = void 0;
4
4
  exports.TASK_EXECUTION_PROMPT = `{RETRY_CONTEXT}{TASK_PLAN}
5
5
  # Technology Stack
6
6
  {STACK_INFO}
7
- {DOCUMENTATION_CONTEXT}{PRD_CONTENT}`;
7
+ {DOCUMENTATION_CONTEXT}{PRD_CONTENT}
8
+
9
+ ## **IMPORTANT**: Before finishing, you MUST commit all your changes with a clear, descriptive commit message summarizing what was implemented. DO NOT hand back control without committing your work!`;
8
10
  exports.TASK_EXECUTION_SYSTEM_PROMPT = `
9
11
  You are an expert software developer. Execute the task according to the implementation plan and project context provided.
10
12
 
@@ -15,6 +17,7 @@ You are an expert software developer. Execute the task according to the implemen
15
17
  4. Write clean, maintainable code following best practices
16
18
  5. Handle errors appropriately
17
19
  6. Test your changes
20
+ 7. **IMPORTANT**: Before finishing, commit all your changes with a clear, descriptive commit message summarizing what was implemented. Do not hand back control without committing your work.
18
21
 
19
22
  ## On Retries:
20
23
  If this is a retry attempt, carefully analyze the previous error and fix it before proceeding.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "task-o-matic",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "AI-powered task management CLI",
5
5
  "keywords": [
6
6
  "task-management",
@@ -52,7 +52,8 @@
52
52
  "check-types": "tsc --noEmit --skipLibCheck",
53
53
  "test": "mocha -r tsx/cjs src/test/test-setup.ts src/test/**/*.test.ts",
54
54
  "prepare": "npm run build && chmod +x dist/cli/bin.js",
55
- "prepublishOnly": "bun run build && chmod +x dist/cli/bin.js && bun test src/test"
55
+ "prepublishOnly": "bun run prepare && bun test src/test",
56
+ "verify-work": "bun run check-types && bun run prepublishOnly"
56
57
  },
57
58
  "dependencies": {
58
59
  "@ai-sdk/anthropic": "^2.0.44",
@@ -63,6 +64,7 @@
63
64
  "@modelcontextprotocol/sdk": "^1.19.1",
64
65
  "@openrouter/ai-sdk-provider": "^1.2.0",
65
66
  "ai": "^5.0.92",
67
+ "ai-sdk-provider-gemini-cli": "^1.5.1",
66
68
  "axios": "^1.7.9",
67
69
  "chalk": "^5.4.1",
68
70
  "commander": "^14.0.2",