overai 1.4.14 → 1.4.15

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.
@@ -147,6 +147,7 @@ async function main() {
147
147
  }
148
148
  }
149
149
  console.log(`🧠 Using AI Model: \x1b[36m${model}\x1b[0m`);
150
+ console.log(`📂 Working in: ${process.cwd()}`);
150
151
  // 2. Create the "AutoCoder" Agent
151
152
  const coder = new index_1.Agent({
152
153
  name: "AutoCoder",
@@ -161,13 +162,17 @@ async function main() {
161
162
  PROCESS:
162
163
  1. ANALYZE: Understand the user's request and technology stack (Node, Python, React, etc.).
163
164
  2. PLAN: Decide on the directory structure and necessary files.
164
- 3. SCAFFOLD: Create the project directory and initialize it (npm init, etc.).
165
- 4. IMPLEMENT: Create the core files (index.js, main.py, App.tsx, etc.) with working code.
166
- 5. DEPENDENCIES: Install necessary packages.
165
+ 3. SCAFFOLD: Create the project directory (e.g. "mkdir my-project").
166
+ 4. IMPLEMENT: Create the core files with working code.
167
+ IMPORTANT: When using 'write_file', you MUST use the project directory prefix (e.g. "my-project/index.js").
168
+ The 'write_file' tool operates from the root, so you must always specify the full relative path.
169
+ 5. DEPENDENCIES: Install necessary packages (e.g. "cd my-project && npm install ...").
167
170
  6. VERIFY: Run a command to prove the project works or builds successfully.
168
171
 
169
172
  RULES:
170
- - ALWAYS start by creating a new directory for the project to avoid cluttering the root.
173
+ - ALWAYS start by creating a new directory for the project.
174
+ - ALL file paths in 'write_file' MUST include the project directory name (e.g., 'project-name/README.md').
175
+ - Do not rely on 'cd' in 'run_command' to change the directory for 'write_file' calls.
171
176
  - Be comprehensive: Include README.md, .gitignore, and config files.
172
177
  - If something fails, try to fix it or report the specific error.
173
178
  - Do not ask for permission for each step, proceed autonomously until completion.`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overai",
3
- "version": "1.4.14",
3
+ "version": "1.4.15",
4
4
  "description": "OverAI TypeScript AI Agents Framework - Build, Deploy, and Monetize AI Agents in Minutes",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",