@agenticaiengineer/codingagent 0.0.1 → 0.0.3
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 +36 -1
- package/dist/gateway.js +67 -5
- package/dist/index.js +90 -34
- package/package.json +22 -14
package/README.md
CHANGED
|
@@ -199,6 +199,7 @@ Configuration is loaded from multiple sources with **first-set-wins** semantics
|
|
|
199
199
|
| `ANTHROPIC_SMALL_FAST_MODEL` | Small model for compaction/exploration | `claude-haiku-3-5-20241022` |
|
|
200
200
|
| `ANTHROPIC_MAX_OUTPUT_TOKENS` | Max output tokens per response | `16384` |
|
|
201
201
|
| `ANTHROPIC_COMPACTION_THRESHOLD` | Token count to trigger auto-compaction | `160000` |
|
|
202
|
+
| `ANTHROPIC_DISABLE_STREAMING` | Skip streaming API, use non-streaming directly | `false` |
|
|
202
203
|
| `CODINGAGENT_DEBUG` | Enable debug output (`1`, `true`, `yes`, `on`) | `false` |
|
|
203
204
|
|
|
204
205
|
### Settings File
|
|
@@ -266,13 +267,47 @@ npm run build
|
|
|
266
267
|
npm run bundle
|
|
267
268
|
```
|
|
268
269
|
|
|
270
|
+
### Testing
|
|
271
|
+
|
|
272
|
+
```bash
|
|
273
|
+
# Run integration tests (bundles first, no obfuscation — fast)
|
|
274
|
+
npm test
|
|
275
|
+
|
|
276
|
+
# Run agent behavior tests only (skip rebuild)
|
|
277
|
+
npm run test:agent
|
|
278
|
+
|
|
279
|
+
# Run install & load tests only
|
|
280
|
+
npm run test:integration
|
|
281
|
+
|
|
282
|
+
# Run all test suites (install + agent)
|
|
283
|
+
npm run test:all
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
### Project Structure
|
|
287
|
+
|
|
288
|
+
```
|
|
289
|
+
src/ TypeScript source code
|
|
290
|
+
core/ Agent loop, client, streaming executor, compaction
|
|
291
|
+
tools/ Tool implementations (Read, Write, Edit, Glob, Grep, Bash, etc.)
|
|
292
|
+
config/ Configuration and skills
|
|
293
|
+
session/ Session management
|
|
294
|
+
gateway/ Multi-process gateway & IPC
|
|
295
|
+
ports/ I/O adapters (Terminal, Telegram, Teams)
|
|
296
|
+
ui/ UI rendering, markdown, commands
|
|
297
|
+
eval/ Multi-judge evaluation framework
|
|
298
|
+
scripts/ Telegram & Teams entry scripts
|
|
299
|
+
tests/ Integration tests & mock server
|
|
300
|
+
publish/ Build & publish scripts (bundle, obfuscate, smoke-test)
|
|
301
|
+
dist/ Compiled output (generated)
|
|
302
|
+
```
|
|
303
|
+
|
|
269
304
|
## Publishing
|
|
270
305
|
|
|
271
306
|
```bash
|
|
272
307
|
# Bump version
|
|
273
308
|
npm version patch
|
|
274
309
|
|
|
275
|
-
# Publish to npm (auto-runs clean + bundle +
|
|
310
|
+
# Publish to npm (auto-runs clean + bundle + smoke-test)
|
|
276
311
|
npm publish --access=public
|
|
277
312
|
```
|
|
278
313
|
|