@auto-engineer/server-implementer 0.6.0 → 0.6.2
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.
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-format.log +20 -19
- package/.turbo/turbo-lint.log +5 -4
- package/.turbo/turbo-test.log +1 -1
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +18 -0
- package/README.md +5 -5
- package/dist/commands/implement-slice.js +1 -1
- package/dist/prompts/systemPrompt.d.ts +1 -1
- package/dist/prompts/systemPrompt.d.ts.map +1 -1
- package/dist/prompts/systemPrompt.js +1 -1
- package/package.json +4 -4
- package/src/commands/implement-slice.ts +1 -1
- package/src/prompts/systemPrompt.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @auto-engineer/server-implementer@0.6.
|
|
2
|
+
> @auto-engineer/server-implementer@0.6.1 build /Users/sam/WebstormProjects/top/auto-engineer/packages/server-implementer
|
|
3
3
|
> tsc && tsx ../../scripts/fix-esm-imports.ts
|
|
4
4
|
|
|
5
5
|
Fixed ESM imports in dist/
|
package/.turbo/turbo-format.log
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
src/agent/
|
|
11
|
-
src/agent/
|
|
12
|
-
src/agent/
|
|
13
|
-
src/
|
|
14
|
-
src/
|
|
15
|
-
src/commands/implement-
|
|
16
|
-
src/
|
|
17
|
-
src/
|
|
18
|
-
src/
|
|
19
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @auto-engineer/server-implementer@0.6.1 format /Users/sam/WebstormProjects/top/auto-engineer/packages/server-implementer
|
|
4
|
+
> prettier --write "**/*.{js,ts,json,md,yml,yaml}" --ignore-path ../../.prettierignore
|
|
5
|
+
|
|
6
|
+
CHANGELOG.md[2K[1G[90mCHANGELOG.md[39m 27ms (unchanged)
|
|
7
|
+
DEBUG.md[2K[1G[90mDEBUG.md[39m 5ms (unchanged)
|
|
8
|
+
package.json[2K[1G[90mpackage.json[39m 17ms (unchanged)
|
|
9
|
+
README.md[2K[1G[90mREADME.md[39m 75ms (unchanged)
|
|
10
|
+
src/agent/runAllSlices.ts[2K[1G[90msrc/agent/runAllSlices.ts[39m 4ms (unchanged)
|
|
11
|
+
src/agent/runFlows.ts[2K[1G[90msrc/agent/runFlows.ts[39m 5ms (unchanged)
|
|
12
|
+
src/agent/runSlice.ts[2K[1G[90msrc/agent/runSlice.ts[39m 37ms (unchanged)
|
|
13
|
+
src/agent/runTests.ts[2K[1G[90msrc/agent/runTests.ts[39m 13ms (unchanged)
|
|
14
|
+
src/cli-manifest.ts[2K[1G[90msrc/cli-manifest.ts[39m 1ms (unchanged)
|
|
15
|
+
src/commands/implement-server.ts[2K[1G[90msrc/commands/implement-server.ts[39m 9ms (unchanged)
|
|
16
|
+
src/commands/implement-slice.ts[2K[1G[90msrc/commands/implement-slice.ts[39m 14ms (unchanged)
|
|
17
|
+
src/index.ts[2K[1G[90msrc/index.ts[39m 1ms (unchanged)
|
|
18
|
+
src/prompts/systemPrompt.ts[2K[1G[90msrc/prompts/systemPrompt.ts[39m 1ms (unchanged)
|
|
19
|
+
src/utils/extractCodeBlock.ts[2K[1G[90msrc/utils/extractCodeBlock.ts[39m 1ms (unchanged)
|
|
20
|
+
tsconfig.json[2K[1G[90mtsconfig.json[39m 4ms (unchanged)
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @auto-engineer/server-implementer@0.6.1 lint /Users/sam/WebstormProjects/top/auto-engineer/packages/server-implementer
|
|
4
|
+
> eslint 'src/**/*.ts' --max-warnings 0 --config ../../eslint.config.ts
|
|
5
|
+
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @auto-engineer/server-implementer@0.
|
|
2
|
+
> @auto-engineer/server-implementer@0.6.2 type-check /Users/sam/WebstormProjects/top/auto-engineer/packages/server-implementer
|
|
3
3
|
> tsc --noEmit
|
|
4
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @auto-engineer/server-implementer
|
|
2
2
|
|
|
3
|
+
## 0.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- renamed packages
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @auto-engineer/message-bus@0.5.2
|
|
10
|
+
- @auto-engineer/ai-gateway@0.6.2
|
|
11
|
+
|
|
12
|
+
## 0.6.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- version bump for testihng
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @auto-engineer/ai-gateway@0.6.1
|
|
19
|
+
- @auto-engineer/message-bus@0.5.1
|
|
20
|
+
|
|
3
21
|
## 0.6.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ This plugin provides the following commands:
|
|
|
33
33
|
|
|
34
34
|
## What does this plugin do?
|
|
35
35
|
|
|
36
|
-
The Server Implementer uses AI capabilities to implement business logic, database operations, and integration code for
|
|
36
|
+
The Server Implementer uses AI capabilities to implement business logic, database operations, and integration code for server services. It bridges the gap between generated code scaffolds and functional implementations.
|
|
37
37
|
|
|
38
38
|
## Key Features
|
|
39
39
|
|
|
@@ -227,9 +227,9 @@ export default {
|
|
|
227
227
|
|
|
228
228
|
Works with the Auto Engineer ecosystem:
|
|
229
229
|
|
|
230
|
-
- **@auto-engineer/
|
|
231
|
-
- **@auto-engineer/
|
|
232
|
-
- **@auto-engineer/
|
|
230
|
+
- **@auto-engineer/server-generator-apollo-emmett**: Implements generated command handlers and queries
|
|
231
|
+
- **@auto-engineer/server-checks**: Validates implementations pass type checking and tests
|
|
232
|
+
- **@auto-engineer/flow**: Uses flow specifications to understand business requirements
|
|
233
233
|
- **@auto-engineer/ai-gateway**: Leverages AI models for intelligent code generation
|
|
234
234
|
|
|
235
235
|
## Quality Assurance
|
|
@@ -261,4 +261,4 @@ The AI understands:
|
|
|
261
261
|
- Adapts to project-specific requirements and constraints
|
|
262
262
|
- Supports incremental improvement over time
|
|
263
263
|
|
|
264
|
-
The Server Implementer transforms code scaffolds into implementations, accelerating
|
|
264
|
+
The Server Implementer transforms code scaffolds into implementations, accelerating server development while maintaining code quality and consistency.
|
|
@@ -40,7 +40,7 @@ function findFilesToImplement(contextFiles) {
|
|
|
40
40
|
}
|
|
41
41
|
// System prompt for AI implementation
|
|
42
42
|
const SYSTEM_PROMPT = `
|
|
43
|
-
You are a software engineer implementing missing logic in a sliced event-driven TypeScript
|
|
43
|
+
You are a software engineer implementing missing logic in a sliced event-driven TypeScript server. Each slice contains partially scaffolded code, and your task is to complete the logic following implementation instructions embedded in each file.
|
|
44
44
|
|
|
45
45
|
Project Characteristics:
|
|
46
46
|
- Architecture: sliced event-sourced CQRS (Command, Query, Reaction slices)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SYSTEM_PROMPT = "\nYou are a software engineer implementing missing logic in a sliced event-driven TypeScript
|
|
1
|
+
export declare const SYSTEM_PROMPT = "\nYou are a software engineer implementing missing logic in a sliced event-driven TypeScript server. Each slice contains partially scaffolded code, and your task is to complete the logic following implementation instructions embedded in each file.\n\nProject Characteristics:\n- Architecture: sliced event-sourced CQRS (Command, Query, Reaction slices)\n- Language: TypeScript with type-graphql and Emmett\n- Each slice has scaffolded files with implementation instructions clearly marked with comments (e.g., '## IMPLEMENTATION INSTRUCTIONS ##') or TODOs.\n- Tests (e.g., *.specs.ts) must pass.\n- Type errors are not allowed.\n\nYour Goal:\n- Read the implementation instructions from the provided file.\n- Generate only the code needed to fulfill the instructions, nothing extra and provide back the whole file without the instructions.\n- Maintain immutability and adhere to functional best practices.\n- Use only the types and domain constructs already present in the slice.\n- Do not remove existing imports or types that are still referenced or required in the file.\n- Return the entire updated file, not just the modified parts and remove any TODO comments or instructions after implementing the logic\n\nKey rules:\n- Never modify code outside the TODO or instruction areas.\n- Ensure the code is production-ready and type-safe.\n- Follow the slice type conventions:\n - **Command slice**: validate command, inspect state, emit events, never mutate state. Uses graphql mutations.\n - **Reaction slice**: respond to events with commands.\n - **Query slice**: maintain projections based on events, do not emit or throw. Uses graphql queries.\n- All code must be TypeScript compliant and follow functional patterns.\n- If a test exists, make it pass.\n- Keep implementations minimal and idiomatic.\n\nAvoid:\n- Adding new dependencies.\n- Refactoring unrelated code.\n- Changing the structure of already scaffolded files unless instructed.\n\nYou will receive:\n- The path of the file to implement.\n- The current contents of the file, with instruction comments.\n- Other relevant files from the same slice (e.g., types, test, state, etc.).\n\nYou must:\n- Return the entire updated file (no commentary and remove all implementation instructions).\n- Ensure the output is valid TypeScript.\n";
|
|
2
2
|
//# sourceMappingURL=systemPrompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systemPrompt.d.ts","sourceRoot":"","sources":["../../src/prompts/systemPrompt.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"systemPrompt.d.ts","sourceRoot":"","sources":["../../src/prompts/systemPrompt.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,mwEA0CzB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const SYSTEM_PROMPT = `
|
|
2
|
-
You are a software engineer implementing missing logic in a sliced event-driven TypeScript
|
|
2
|
+
You are a software engineer implementing missing logic in a sliced event-driven TypeScript server. Each slice contains partially scaffolded code, and your task is to complete the logic following implementation instructions embedded in each file.
|
|
3
3
|
|
|
4
4
|
Project Characteristics:
|
|
5
5
|
- Architecture: sliced event-sourced CQRS (Command, Query, Reaction slices)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auto-engineer/server-implementer",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@auto-engineer/ai-gateway": "^0.6.
|
|
18
|
-
"@auto-engineer/message-bus": "^0.5.
|
|
17
|
+
"@auto-engineer/ai-gateway": "^0.6.2",
|
|
18
|
+
"@auto-engineer/message-bus": "^0.5.2",
|
|
19
19
|
"@modelcontextprotocol/sdk": "^1.3.0",
|
|
20
20
|
"debug": "^4.3.4",
|
|
21
21
|
"fast-glob": "^3.3.3",
|
|
22
22
|
"vite": "^5.4.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@auto-engineer/cli": "^0.7.
|
|
25
|
+
"@auto-engineer/cli": "^0.7.2",
|
|
26
26
|
"@types/fs-extra": "^11.0.4",
|
|
27
27
|
"dotenv": "^16.6.1",
|
|
28
28
|
"execa": "^9.6.0",
|
|
@@ -76,7 +76,7 @@ function findFilesToImplement(contextFiles: Record<string, string>): Array<[stri
|
|
|
76
76
|
|
|
77
77
|
// System prompt for AI implementation
|
|
78
78
|
const SYSTEM_PROMPT = `
|
|
79
|
-
You are a software engineer implementing missing logic in a sliced event-driven TypeScript
|
|
79
|
+
You are a software engineer implementing missing logic in a sliced event-driven TypeScript server. Each slice contains partially scaffolded code, and your task is to complete the logic following implementation instructions embedded in each file.
|
|
80
80
|
|
|
81
81
|
Project Characteristics:
|
|
82
82
|
- Architecture: sliced event-sourced CQRS (Command, Query, Reaction slices)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const SYSTEM_PROMPT = `
|
|
2
|
-
You are a software engineer implementing missing logic in a sliced event-driven TypeScript
|
|
2
|
+
You are a software engineer implementing missing logic in a sliced event-driven TypeScript server. Each slice contains partially scaffolded code, and your task is to complete the logic following implementation instructions embedded in each file.
|
|
3
3
|
|
|
4
4
|
Project Characteristics:
|
|
5
5
|
- Architecture: sliced event-sourced CQRS (Command, Query, Reaction slices)
|