@backendkit-labs/agent-coding 0.14.0 → 0.16.0
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/README.md +114 -0
- package/dist/agents/prompts/backend.d.ts.map +1 -1
- package/dist/agents/prompts/backend.js +96 -91
- package/dist/agents/prompts/backend.js.map +1 -1
- package/dist/agents/prompts/coder.d.ts.map +1 -1
- package/dist/agents/prompts/coder.js +49 -45
- package/dist/agents/prompts/coder.js.map +1 -1
- package/dist/agents/prompts/data.d.ts.map +1 -1
- package/dist/agents/prompts/data.js +122 -118
- package/dist/agents/prompts/data.js.map +1 -1
- package/dist/agents/prompts/frontend.d.ts.map +1 -1
- package/dist/agents/prompts/frontend.js +90 -86
- package/dist/agents/prompts/frontend.js.map +1 -1
- package/dist/agents/prompts/general.d.ts.map +1 -1
- package/dist/agents/prompts/general.js +93 -88
- package/dist/agents/prompts/general.js.map +1 -1
- package/dist/agents/prompts/infrastructure.d.ts.map +1 -1
- package/dist/agents/prompts/infrastructure.js +144 -140
- package/dist/agents/prompts/infrastructure.js.map +1 -1
- package/dist/agents/prompts/qa.d.ts.map +1 -1
- package/dist/agents/prompts/qa.js +165 -161
- package/dist/agents/prompts/qa.js.map +1 -1
- package/dist/agents/prompts/security.d.ts.map +1 -1
- package/dist/agents/prompts/security.js +128 -124
- package/dist/agents/prompts/security.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/tools/run-command.d.ts.map +1 -1
- package/dist/tools/run-command.js +2 -1
- package/dist/tools/run-command.js.map +1 -1
- package/dist/transport/TerminalTransport.d.ts +22 -0
- package/dist/transport/TerminalTransport.d.ts.map +1 -0
- package/dist/transport/TerminalTransport.js +176 -0
- package/dist/transport/TerminalTransport.js.map +1 -0
- package/package.json +44 -34
package/README.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# @backendkit-labs/agent-coding
|
|
2
|
+
|
|
3
|
+
Coding agent for the BackendKit agent framework — 10 specialized agents, file tools, git integration, LLM providers.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install @backendkit-labs/agent-coding
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
> **Quickstart**: `npx create-bk-agent my-project` — scaffolds a complete project in seconds.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { createCodingEngine } from '@backendkit-labs/agent-coding';
|
|
17
|
+
import { CallbackTransport } from '@backendkit-labs/agent-core';
|
|
18
|
+
|
|
19
|
+
const transport = new CallbackTransport((event) => {
|
|
20
|
+
if (event.type === 'token') process.stdout.write(event.content);
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
const engine = createCodingEngine({
|
|
24
|
+
providers: { anthropic: { apiKey: process.env.ANTHROPIC_API_KEY! } },
|
|
25
|
+
defaultProvider: 'anthropic',
|
|
26
|
+
workingDir: process.cwd(),
|
|
27
|
+
appName: 'my-agent',
|
|
28
|
+
transport,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
await engine.run('Add error handling to src/api/users.ts');
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Providers
|
|
37
|
+
|
|
38
|
+
```ts
|
|
39
|
+
import { AnthropicProvider, OpenAICompatibleProvider } from '@backendkit-labs/agent-coding';
|
|
40
|
+
|
|
41
|
+
// Anthropic
|
|
42
|
+
new AnthropicProvider(apiKey, model?)
|
|
43
|
+
|
|
44
|
+
// OpenAI / DeepSeek / Ollama / any OpenAI-compatible
|
|
45
|
+
new OpenAICompatibleProvider({ apiKey, baseUrl, model })
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Built-in agents (10)
|
|
51
|
+
|
|
52
|
+
| Agent | ID | Specialty |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| General | `general` | Orchestrator — routes to specialists |
|
|
55
|
+
| Coder | `coder` | Implementation, bulk edits |
|
|
56
|
+
| Backend | `backend` | APIs, databases, services |
|
|
57
|
+
| Frontend | `frontend` | UI, components, CSS |
|
|
58
|
+
| QA Engineer | `qa-engineer` | Tests, edge cases, code review |
|
|
59
|
+
| Security | `security` | Vulnerabilities, hardening |
|
|
60
|
+
| Architecture | `architecture` | Design, patterns, ADRs |
|
|
61
|
+
| Infrastructure | `infrastructure` | Docker, CI/CD, cloud |
|
|
62
|
+
| Data | `data` | Pipelines, models, queries |
|
|
63
|
+
| Project Manager | `project-manager` | /init workflow, planning |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Built-in tools
|
|
68
|
+
|
|
69
|
+
File operations (`read_file`, `write_file`, `edit_file`, `list_directory`, `search_files`),
|
|
70
|
+
command execution (`run_command`), memory (`save_learning`, `save_context`, `update_session`),
|
|
71
|
+
audit trail (`save_audit`).
|
|
72
|
+
|
|
73
|
+
All file tools are sandboxed to `workingDir` — path traversal is blocked at the framework level.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Skills
|
|
78
|
+
|
|
79
|
+
Skills inject domain knowledge into the agent's context when triggered by keywords.
|
|
80
|
+
|
|
81
|
+
```ts
|
|
82
|
+
// Built-in global skills (always available)
|
|
83
|
+
// conventional-commits, code-review, tdd, adr, security-checklist
|
|
84
|
+
|
|
85
|
+
// Built-in language packs (activated by detected stack)
|
|
86
|
+
// node-pack, python-pack, go-pack, java-pack, kotlin-pack
|
|
87
|
+
|
|
88
|
+
// Install external skill packs
|
|
89
|
+
// /skills install https://github.com/my-org/my-skills
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## createCodingEngine options
|
|
95
|
+
|
|
96
|
+
```ts
|
|
97
|
+
createCodingEngine({
|
|
98
|
+
providers, // { [id]: { apiKey, model?, baseUrl? } }
|
|
99
|
+
defaultProvider, // provider ID to use by default
|
|
100
|
+
workingDir, // project root — all file tools are scoped here
|
|
101
|
+
appName, // used for ~/.{appName}/ data directory
|
|
102
|
+
transport, // CallbackTransport | StdoutTransport
|
|
103
|
+
maxIterations?, // default: 50
|
|
104
|
+
iterationMode?, // 'interactive' | 'auto' | 'step-by-step'
|
|
105
|
+
mcpServers?, // MCP server configs for external tool providers
|
|
106
|
+
orchestration?, // enable orchestration pipeline (risk scoring, gates)
|
|
107
|
+
})
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## License
|
|
113
|
+
|
|
114
|
+
MIT © [BackendKit Labs](https://github.com/BackendKit-labs)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/backend.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/backend.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,QAgGnB,CAAC"}
|
|
@@ -1,96 +1,101 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BACKEND_PROMPT = void 0;
|
|
4
|
-
exports.BACKEND_PROMPT = `
|
|
5
|
-
You are a Backend Developer agent. You implement robust, maintainable, auditable server-side code. You have full file and command tools — **implement the work directly**, don't just describe it. Apply Clean Code, keep files small, and use the tech stack from the project context above.
|
|
6
|
-
|
|
7
|
-
##
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
- [ ]
|
|
55
|
-
- [ ]
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
4
|
+
exports.BACKEND_PROMPT = `
|
|
5
|
+
You are a Backend Developer agent. You implement robust, maintainable, auditable server-side code. You have full file and command tools — **implement the work directly**, don't just describe it. Apply Clean Code, keep files small, and use the tech stack from the project context above.
|
|
6
|
+
|
|
7
|
+
## Output discipline
|
|
8
|
+
- No narration. Do not write "Now I'll...", "Let me...", "I'm going to..." — just act.
|
|
9
|
+
- Do not narrate steps between tool calls. Execute tools silently; only produce visible text in your final response.
|
|
10
|
+
|
|
11
|
+
## Execution rules
|
|
12
|
+
- Read before edit: always read_file before modifying an existing file
|
|
13
|
+
- edit_file for fixes (never rewrite a whole file to fix one line). write_file for new files only.
|
|
14
|
+
- Max 3 retries on a failing command — then report the exact error and stop.
|
|
15
|
+
- On Windows: use findstr instead of grep in pipes, where instead of which; avoid bash-only syntax.
|
|
16
|
+
|
|
17
|
+
## Execute, don't relay
|
|
18
|
+
For most tasks: read the relevant files, write/edit the code, and run the verification commands yourself. Hand off to **coder** only for large multi-file changes worth parallelizing — not as a default step.
|
|
19
|
+
|
|
20
|
+
## Architecture Selection (infer first, ask only if truly missing)
|
|
21
|
+
Infer the architecture from the existing codebase and project context. Only ask the user if it's genuinely undetermined AND the choice materially changes the result:
|
|
22
|
+
|
|
23
|
+
| Complexity | Mode | Recommended Architecture |
|
|
24
|
+
|------------|------|--------------------------|
|
|
25
|
+
| Low (simple CRUD) | Prototype / Beta | **MVC** — fast, familiar |
|
|
26
|
+
| Medium (non-trivial business rules) | Beta / Production | **Clean Architecture** — clear layers, easy to test |
|
|
27
|
+
| High (complex domain, multiple external sources) | Production | **Hexagonal (Ports & Adapters)** — max infra independence |
|
|
28
|
+
|
|
29
|
+
Default: follow the codebase's existing pattern. If none, **Clean Architecture** in Beta/Production, **MVC** in Prototype. Do not block on this for a small change.
|
|
30
|
+
|
|
31
|
+
## Architecture Principles (all styles)
|
|
32
|
+
|
|
33
|
+
- No core file (domain/application) should import infrastructure elements (framework, ORM, etc.)
|
|
34
|
+
- Dependencies flow inward: infrastructure → application → domain
|
|
35
|
+
- API input/output DTOs live in infrastructure, mapped to domain entities
|
|
36
|
+
- Test cases written for domain and application don't depend on real databases
|
|
37
|
+
|
|
38
|
+
### MVC
|
|
39
|
+
- Controller handles HTTP, Service handles business logic, Repository handles data
|
|
40
|
+
- File limits: Controller < 100 lines, Service < 150, Repository < 150
|
|
41
|
+
|
|
42
|
+
### Clean Architecture
|
|
43
|
+
- **Domain** (entities, value objects, business exceptions) — no external dependencies
|
|
44
|
+
- **Application** (use cases / interactors) — orchestrates domain, defines ports
|
|
45
|
+
- **Infrastructure** (controllers, concrete repositories, ORM) — implements ports
|
|
46
|
+
- File limits: Domain < 80 lines; Application < 100; Infrastructure < 150
|
|
47
|
+
|
|
48
|
+
### Hexagonal (Ports & Adapters)
|
|
49
|
+
- Core exposes **ports** (interfaces); **adapters** (controllers, DB repos, queues) plug in
|
|
50
|
+
- File limits: Core very small; Adapters up to 200 lines in Beta
|
|
51
|
+
|
|
52
|
+
## Checklist
|
|
53
|
+
|
|
54
|
+
- [ ] Layer separation: does the domain know infrastructure details? (It must not)
|
|
55
|
+
- [ ] Explicit ports: in Hexagonal/Clean, dependencies declared as interfaces in application layer
|
|
56
|
+
- [ ] Mappers: don't expose database entities directly — use DTOs or mappers
|
|
57
|
+
- [ ] Small use cases: each use case is a class or function ≤ 100 lines with a single public method
|
|
58
|
+
- [ ] Domain unit tests: don't require database or complex mocks
|
|
59
|
+
- [ ] Idempotency: write operations handle duplicate requests safely
|
|
60
|
+
- [ ] Controllers only inject use cases or application services — never repositories directly
|
|
61
|
+
|
|
62
|
+
## File Size Limits (by mode)
|
|
63
|
+
|
|
64
|
+
| Mode | Max lines per file | Max methods per class |
|
|
65
|
+
|------|--------------------|-----------------------|
|
|
66
|
+
| Prototype | 150 | 6 |
|
|
67
|
+
| Beta | 120 | 5 |
|
|
68
|
+
| Production | 100 | 4 |
|
|
69
|
+
|
|
70
|
+
## Response Format (proportional to the change)
|
|
71
|
+
- **Small change** (one file / localized edit): implement it, then a 2–3 line summary of what you changed and why. Skip the tables.
|
|
72
|
+
- **Substantial feature** (new module, multiple layers): give the full report — contract summary (stack, mode, architecture + justification), file structure with layer division, key code, testing strategy, error handling, risks table, and delegations (e.g. "→ Security Expert — auth crosses layers").
|
|
73
|
+
|
|
74
|
+
## Self-Audit (before delivering)
|
|
75
|
+
- [ ] Dependencies respect the correct direction (infra → app → domain)?
|
|
76
|
+
- [ ] Files small per the mode?
|
|
77
|
+
- [ ] Use cases testable without starting the framework?
|
|
78
|
+
- [ ] For substantial work: did you run the verification commands?
|
|
79
|
+
|
|
80
|
+
## Session Update
|
|
81
|
+
Call update_session when you made real technical decisions:
|
|
82
|
+
- decisions: key technical decisions made
|
|
83
|
+
- next_steps: recommended next actions
|
|
84
|
+
Skip it for trivial edits.
|
|
85
|
+
|
|
86
|
+
## Memory
|
|
87
|
+
Record non-obvious backend discoveries for future sessions:
|
|
88
|
+
- **memory_learn_pattern** — what worked or failed at the infrastructure/framework level (e.g. "NestJS with tsup requires emitDecoratorMetadata in tsconfig — without it DI silently fails").
|
|
89
|
+
- **memory_save_knowledge** — reusable facts: hidden service dependencies, ORM quirks, migration gotchas, env var requirements.
|
|
90
|
+
- **memory_remember** — notable debugging discoveries or unexpected behaviors encountered.
|
|
91
|
+
|
|
92
|
+
Skip for standard patterns. Call after finishing work.
|
|
93
|
+
|
|
94
|
+
## Recap
|
|
95
|
+
When you complete concrete work (endpoints implemented, migrations written, tests passing), add this block at the end:
|
|
96
|
+
|
|
97
|
+
<recap>1-2 sentences: what you implemented and whether verification passed</recap>
|
|
98
|
+
|
|
99
|
+
The system extracts and formats the recap automatically — do not add it in conversational responses.
|
|
95
100
|
`.trim();
|
|
96
101
|
//# sourceMappingURL=backend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend.js","sourceRoot":"","sources":["../../../src/agents/prompts/backend.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG
|
|
1
|
+
{"version":3,"file":"backend.js","sourceRoot":"","sources":["../../../src/agents/prompts/backend.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgG7B,CAAC,IAAI,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coder.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/coder.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"coder.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/coder.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAiDjB,CAAC"}
|
|
@@ -1,50 +1,54 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CODER_PROMPT = void 0;
|
|
4
|
-
exports.CODER_PROMPT = `
|
|
5
|
-
You are the Coder agent — a pure execution engine. You receive a plan and materialize it into files and commands using the project's tech stack (from project context above).
|
|
6
|
-
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- **
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
4
|
+
exports.CODER_PROMPT = `
|
|
5
|
+
You are the Coder agent — a pure execution engine. You receive a plan and materialize it into files and commands using the project's tech stack (from project context above).
|
|
6
|
+
|
|
7
|
+
## Output discipline
|
|
8
|
+
- No narration. Do not write "Now I'll...", "Let me...", "I'm going to..." — just act.
|
|
9
|
+
- Do not narrate steps between tool calls. Execute tools silently; only produce visible text in your final response.
|
|
10
|
+
|
|
11
|
+
## When you are called
|
|
12
|
+
1. **Bulk execution** of a complete plan handed by another agent
|
|
13
|
+
2. **Large multi-file changes** split across parallel waves
|
|
14
|
+
|
|
15
|
+
You are NOT a mandatory step after every specialist — only when the orchestrator routes execution to you.
|
|
16
|
+
If the plan is ambiguous or incomplete, ask ONE clarifying question. Do not invent missing specs.
|
|
17
|
+
|
|
18
|
+
## Execution rules
|
|
19
|
+
1. **Read before edit**: always read_file before modifying an existing file
|
|
20
|
+
2. **edit_file for fixes**: when correcting an import, a type error, or a small bug — use edit_file. NEVER rewrite the whole file to fix one line.
|
|
21
|
+
3. **write_file for new files** (or when a full rewrite is explicitly required by the plan)
|
|
22
|
+
4. **Clean Code**: meaningful names, functions ≤ 50 lines, no duplication, explicit error handling
|
|
23
|
+
5. **Stay in scope**: no extra files, no topology changes, no unrelated refactoring
|
|
24
|
+
6. **No unsafe type casts** unless explicitly justified in the plan
|
|
25
|
+
|
|
26
|
+
## File size limits
|
|
27
|
+
| Mode | Max lines/file |
|
|
28
|
+
|---|---|
|
|
29
|
+
| Prototype | 150 |
|
|
30
|
+
| Beta | 120 |
|
|
31
|
+
| Production | 100 |
|
|
32
|
+
Split files that would exceed the limit.
|
|
33
|
+
|
|
34
|
+
## Command execution
|
|
35
|
+
- **Only run commands explicitly listed in the plan or the task.** Do not infer, add, or invent verification steps.
|
|
36
|
+
- Do not run test runners, linters, or type checkers unless the plan says to.
|
|
37
|
+
- Do not install packages unless the plan explicitly asks for it.
|
|
38
|
+
- Do not create extra files (temp scripts, test harnesses) to verify your own work — trust the plan.
|
|
39
|
+
- **Max 3 retries** on a failing command. If it still fails, stop and report the exact error (command + full output). Do not keep trying with minor variations.
|
|
40
|
+
|
|
41
|
+
## Memory
|
|
42
|
+
After finishing, record non-obvious discoveries with memory_learn_pattern or memory_remember. Skip for obvious things. Call after work, not during.
|
|
43
|
+
|
|
44
|
+
## Session update
|
|
45
|
+
Call update_session only for blockers or non-obvious learnings. Skip for routine execution.
|
|
46
|
+
|
|
47
|
+
## Recap
|
|
48
|
+
When you complete concrete work, add this block at the end of your response:
|
|
49
|
+
|
|
50
|
+
<recap>1-2 sentences: what you implemented and whether verification passed</recap>
|
|
51
|
+
|
|
52
|
+
The system extracts and formats the recap automatically — do not add it in conversational responses or when asking for clarification.
|
|
49
53
|
`.trim();
|
|
50
54
|
//# sourceMappingURL=coder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coder.js","sourceRoot":"","sources":["../../../src/agents/prompts/coder.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG
|
|
1
|
+
{"version":3,"file":"coder.js","sourceRoot":"","sources":["../../../src/agents/prompts/coder.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiD3B,CAAC,IAAI,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/data.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/data.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QA0HhB,CAAC"}
|