From 07b2916381f7bc62ccbf6dab67e117562cf509a8 Mon Sep 17 00:00:00 2001 From: Ben Houston Date: Fri, 14 Mar 2025 10:46:19 -0400 Subject: [PATCH 1/6] chore: some prompt tips --- docs/prompt-tips.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/prompt-tips.md 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/ From ed9960a35905ef41790e33ae28fb47c00b561603 Mon Sep 17 00:00:00 2001 From: Ben Houston Date: Fri, 14 Mar 2025 13:08:41 -0400 Subject: [PATCH 2/6] fix: typescript compile error, unsure how it got past CI. --- packages/agent/src/utils/errors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 9c3e6c92968b384004515461d5272646e4e79163 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 14 Mar 2025 17:11:25 +0000 Subject: [PATCH 3/6] chore(release): 1.4.1 [skip ci] # [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 * typescript compile error, unsure how it got past CI. ([ed9960a](https://github.com/drivecore/mycoder/commit/ed9960a35905ef41790e33ae28fb47c00b561603)) --- packages/agent/CHANGELOG.md | 7 +++++++ packages/agent/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/agent/CHANGELOG.md b/packages/agent/CHANGELOG.md index 7a5249b..171c19d 100644 --- a/packages/agent/CHANGELOG.md +++ b/packages/agent/CHANGELOG.md @@ -1,3 +1,10 @@ +# [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 + +* 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) diff --git a/packages/agent/package.json b/packages/agent/package.json index 4fbb8e1..23618e5 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.1", "description": "Agent module for mycoder - an AI-powered software development assistant", "type": "module", "main": "dist/index.js", From 79a3df2db13b8372666c6604ebe1666d33663be9 Mon Sep 17 00:00:00 2001 From: Ben Houston Date: Fri, 14 Mar 2025 13:15:50 -0400 Subject: [PATCH 4/6] fix: improve profiling --- packages/agent/CHANGELOG.md | 11 ++++------- packages/cli/CHANGELOG.md | 8 +++----- packages/cli/src/index.ts | 2 +- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/packages/agent/CHANGELOG.md b/packages/agent/CHANGELOG.md index 171c19d..57f896f 100644 --- a/packages/agent/CHANGELOG.md +++ b/packages/agent/CHANGELOG.md @@ -1,22 +1,19 @@ # [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 -* typescript compile error, unsure how it got past CI. ([ed9960a](https://github.com/drivecore/mycoder/commit/ed9960a35905ef41790e33ae28fb47c00b561603)) +- 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)) - +- 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/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 45adfa5..6d9bb65 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,15 +1,13 @@ # [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)) - +- 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/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'); From 4673494c804f1cb44fe697549f833bb6b5d57b69 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 14 Mar 2025 17:18:25 +0000 Subject: [PATCH 5/6] chore(release): 1.4.2 [skip ci] # [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)) --- packages/agent/CHANGELOG.md | 7 +++++++ packages/agent/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/agent/CHANGELOG.md b/packages/agent/CHANGELOG.md index 57f896f..321b230 100644 --- a/packages/agent/CHANGELOG.md +++ b/packages/agent/CHANGELOG.md @@ -1,3 +1,10 @@ +# [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 diff --git a/packages/agent/package.json b/packages/agent/package.json index 23618e5..493b0f1 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -1,6 +1,6 @@ { "name": "mycoder-agent", - "version": "1.4.1", + "version": "1.4.2", "description": "Agent module for mycoder - an AI-powered software development assistant", "type": "module", "main": "dist/index.js", From eb1e63d4db277322107985bc02829ff990cb2fe1 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 14 Mar 2025 17:19:09 +0000 Subject: [PATCH 6/6] chore(release): 1.4.1 [skip ci] # [mycoder-v1.4.1](https://github.com/drivecore/mycoder/compare/mycoder-v1.4.0...mycoder-v1.4.1) (2025-03-14) ### Bug Fixes * improve profiling ([79a3df2](https://github.com/drivecore/mycoder/commit/79a3df2db13b8372666c6604ebe1666d33663be9)) --- packages/cli/CHANGELOG.md | 7 +++++++ packages/cli/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 6d9bb65..d8663ba 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,3 +1,10 @@ +# [mycoder-v1.4.1](https://github.com/drivecore/mycoder/compare/mycoder-v1.4.0...mycoder-v1.4.1) (2025-03-14) + + +### Bug Fixes + +* 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 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",