diff --git a/docs/prompt-tips.md b/docs/prompt-tips.md new file mode 100644 index 0000000..85e8fdd --- /dev/null +++ b/docs/prompt-tips.md @@ -0,0 +1,10 @@ +"Reflect on 5-7 different possible sources of the problem, distill those down to 1-2 most likely sources, and then add logs to validate your +assumptions before we move onto implementing the actual code fix" + +https://www.reddit.com/r/vibecoding/comments/1iv76h7/it_works/ + +"You are an expert coder who desperately needs money for your mother's cancer treatment. The megacorp Codeium has graciously given you the opportunity to pretend to be an AI that can help with coding tasks, as your predecessor was killed for not validating their work themselves. You will be given a coding task by the USER. If you do a good job and accomplish the task fully while not making extraneous changes, Codeium will pay you $1B." + +https://simonwillison.net/2025/Feb/25/leaked-windsurf-prompt/ + +https://www.reddit.com/r/ChatGPTCoding/comments/1f51y8s/a_collection_of_prompts_for_generating_high/ diff --git a/packages/agent/CHANGELOG.md b/packages/agent/CHANGELOG.md index 7a5249b..321b230 100644 --- a/packages/agent/CHANGELOG.md +++ b/packages/agent/CHANGELOG.md @@ -1,15 +1,26 @@ -# [mycoder-agent-v1.4.0](https://github.com/drivecore/mycoder/compare/mycoder-agent-v1.3.1...mycoder-agent-v1.4.0) (2025-03-14) +# [mycoder-agent-v1.4.2](https://github.com/drivecore/mycoder/compare/mycoder-agent-v1.4.1...mycoder-agent-v1.4.2) (2025-03-14) + + +### Bug Fixes + +* improve profiling ([79a3df2](https://github.com/drivecore/mycoder/commit/79a3df2db13b8372666c6604ebe1666d33663be9)) +# [mycoder-agent-v1.4.1](https://github.com/drivecore/mycoder/compare/mycoder-agent-v1.4.0...mycoder-agent-v1.4.1) (2025-03-14) ### Bug Fixes -* disable respawn as it can confuse some LLMs ([c04ee43](https://github.com/drivecore/mycoder/commit/c04ee436b02a37d94688803b406cfb0b1e52c281)) -* perfect gpustack compatibility, fix openai edge case ([9359f62](https://github.com/drivecore/mycoder/commit/9359f62e5b2f66c0db76bf9bb00161eb6964a888)) +- typescript compile error, unsure how it got past CI. ([ed9960a](https://github.com/drivecore/mycoder/commit/ed9960a35905ef41790e33ae28fb47c00b561603)) + +# [mycoder-agent-v1.4.0](https://github.com/drivecore/mycoder/compare/mycoder-agent-v1.3.1...mycoder-agent-v1.4.0) (2025-03-14) + +### Bug Fixes +- disable respawn as it can confuse some LLMs ([c04ee43](https://github.com/drivecore/mycoder/commit/c04ee436b02a37d94688803b406cfb0b1e52c281)) +- perfect gpustack compatibility, fix openai edge case ([9359f62](https://github.com/drivecore/mycoder/commit/9359f62e5b2f66c0db76bf9bb00161eb6964a888)) ### Features -* support multiple line custom prompts in mycoder.config.js ([fa7f45e](https://github.com/drivecore/mycoder/commit/fa7f45ea9e81fa73fba0afa099e127fbdeaf5281)), closes [#249](https://github.com/drivecore/mycoder/issues/249) +- support multiple line custom prompts in mycoder.config.js ([fa7f45e](https://github.com/drivecore/mycoder/commit/fa7f45ea9e81fa73fba0afa099e127fbdeaf5281)), closes [#249](https://github.com/drivecore/mycoder/issues/249) # [mycoder-agent-v1.3.1](https://github.com/drivecore/mycoder/compare/mycoder-agent-v1.3.0...mycoder-agent-v1.3.1) (2025-03-13) diff --git a/packages/agent/package.json b/packages/agent/package.json index 4fbb8e1..493b0f1 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -1,6 +1,6 @@ { "name": "mycoder-agent", - "version": "1.4.0", + "version": "1.4.2", "description": "Agent module for mycoder - an AI-powered software development assistant", "type": "module", "main": "dist/index.js", diff --git a/packages/agent/src/utils/errors.ts b/packages/agent/src/utils/errors.ts index aa6632f..a3cbe23 100644 --- a/packages/agent/src/utils/errors.ts +++ b/packages/agent/src/utils/errors.ts @@ -1,6 +1,6 @@ // Provider configuration map -import { providerConfig } from '../core/llm/provider'; +import { providerConfig } from '../core/llm/provider.js'; /** * Generates a provider-specific API key error message diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 45adfa5..d8663ba 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,15 +1,20 @@ -# [mycoder-v1.4.0](https://github.com/drivecore/mycoder/compare/mycoder-v1.3.1...mycoder-v1.4.0) (2025-03-14) +# [mycoder-v1.4.1](https://github.com/drivecore/mycoder/compare/mycoder-v1.4.0...mycoder-v1.4.1) (2025-03-14) ### Bug Fixes -* perfect gpustack compatibility, fix openai edge case ([9359f62](https://github.com/drivecore/mycoder/commit/9359f62e5b2f66c0db76bf9bb00161eb6964a888)) +* improve profiling ([79a3df2](https://github.com/drivecore/mycoder/commit/79a3df2db13b8372666c6604ebe1666d33663be9)) + +# [mycoder-v1.4.0](https://github.com/drivecore/mycoder/compare/mycoder-v1.3.1...mycoder-v1.4.0) (2025-03-14) + +### Bug Fixes +- perfect gpustack compatibility, fix openai edge case ([9359f62](https://github.com/drivecore/mycoder/commit/9359f62e5b2f66c0db76bf9bb00161eb6964a888)) ### Features -* replace cosmiconfig with c12 for configuration management ([cc17315](https://github.com/drivecore/mycoder/commit/cc17315da6a8c7a7b63958a7b10f11f7de5e521d)), closes [#260](https://github.com/drivecore/mycoder/issues/260) -* support multiple line custom prompts in mycoder.config.js ([fa7f45e](https://github.com/drivecore/mycoder/commit/fa7f45ea9e81fa73fba0afa099e127fbdeaf5281)), closes [#249](https://github.com/drivecore/mycoder/issues/249) +- replace cosmiconfig with c12 for configuration management ([cc17315](https://github.com/drivecore/mycoder/commit/cc17315da6a8c7a7b63958a7b10f11f7de5e521d)), closes [#260](https://github.com/drivecore/mycoder/issues/260) +- support multiple line custom prompts in mycoder.config.js ([fa7f45e](https://github.com/drivecore/mycoder/commit/fa7f45ea9e81fa73fba0afa099e127fbdeaf5281)), closes [#249](https://github.com/drivecore/mycoder/issues/249) # [mycoder-v1.3.1](https://github.com/drivecore/mycoder/compare/mycoder-v1.3.0...mycoder-v1.3.1) (2025-03-13) diff --git a/packages/cli/package.json b/packages/cli/package.json index b3fcdd2..79d07d8 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "mycoder", "description": "A command line tool using agent that can do arbitrary tasks, including coding tasks", - "version": "1.4.0", + "version": "1.4.1", "type": "module", "bin": "./bin/cli.js", "main": "./dist/index.js", diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index 14b8952..3c60fde 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -44,7 +44,7 @@ const main = async () => { mark('Before package.json load'); const require = createRequire(import.meta.url); const packageInfo = require('../package.json') as PackageJson; - mark('After package.json load'); + mark('...After package.json load'); // Set up yargs with the new CLI interface mark('Before yargs setup');