Skip to content

Commit 3bab385

Browse files
authored
Merge branch 'main' into fix-memory-bug
2 parents 9854324 + 0466b80 commit 3bab385

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1054
-1428
lines changed

.github/workflows/build-and-test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,33 @@ jobs:
3535
- run: npm ci
3636
- run: npm run build --if-present
3737
- run: npm run test:unit
38+
- name: Upload coverage artifact
39+
if: matrix.node-version == '20.x'
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: coverage-report
43+
path: coverage/
44+
45+
coverage:
46+
needs: build
47+
runs-on: ubuntu-latest
48+
if: github.event_name == 'pull_request'
49+
permissions:
50+
contents: read
51+
pull-requests: write
52+
53+
steps:
54+
- uses: actions/checkout@v6
55+
- name: Download coverage artifact
56+
uses: actions/download-artifact@v4
57+
with:
58+
name: coverage-report
59+
path: coverage/
60+
- name: Coverage Report
61+
uses: davelosert/vitest-coverage-report-action@v2
62+
with:
63+
json-summary-path: coverage/coverage-summary.json
64+
json-final-path: coverage/coverage-final.json
65+
vite-config-path: vitest.unit.config.ts
66+
file-coverage-mode: none
67+
coverage-thresholds: '{ "lines": 50, "branches": 50, "functions": 50, "statements": 50 }'

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ agentcore invoke --stream
9090

9191
### Resource Management
9292

93-
| Command | Description |
94-
| -------- | --------------------------------------- |
95-
| `add` | Add agents, memory, identity, MCP tools |
96-
| `remove` | Remove resources from project |
93+
| Command | Description |
94+
| -------- | ------------------------------------- |
95+
| `add` | Add agents, memory, identity, targets |
96+
| `remove` | Remove resources from project |
9797

9898
### Development
9999

@@ -153,7 +153,6 @@ agentcore invoke --new-session # Start fresh
153153

154154
- [CLI Commands Reference](docs/commands.md) - Full command reference for scripting and CI/CD
155155
- [Configuration](docs/configuration.md) - Schema reference for config files
156-
- [MCP Tools](docs/mcp-tools.md) - MCP runtime tools
157156
- [Memory](docs/memory.md) - Memory strategies and sharing
158157
- [Local Development](docs/local-development.md) - Dev server and debugging
159158

docs/commands.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -193,27 +193,6 @@ agentcore add identity \
193193
| `--users <agents>` | Comma-separated users |
194194
| `--json` | JSON output |
195195

196-
### add mcp-tool
197-
198-
Add an MCP tool.
199-
200-
```bash
201-
agentcore add mcp-tool \
202-
--name MyTool \
203-
--language Python \
204-
--exposure mcp-runtime \
205-
--agents MyAgent
206-
```
207-
208-
| Flag | Description |
209-
| ---------------------- | ------------------------ |
210-
| `--name <name>` | Tool name |
211-
| `--description <desc>` | Description |
212-
| `--language <lang>` | `Python` or `TypeScript` |
213-
| `--exposure <mode>` | `mcp-runtime` |
214-
| `--agents <names>` | Agents to attach |
215-
| `--json` | JSON output |
216-
217196
### add target
218197

219198
Add a deployment target.
@@ -247,9 +226,6 @@ agentcore add bind memory --agent MyAgent --memory SharedMemory --access read
247226

248227
# Identity
249228
agentcore add bind identity --agent MyAgent --identity OpenAI
250-
251-
# MCP runtime
252-
agentcore add bind mcp-runtime --agent MyAgent --runtime MyTool
253229
```
254230

255231
### remove
@@ -259,7 +235,6 @@ Remove resources from project.
259235
```bash
260236
agentcore remove agent --name MyAgent --force
261237
agentcore remove memory --name SharedMemory
262-
agentcore remove mcp-tool --name MyTool
263238
agentcore remove identity --name OpenAI
264239
agentcore remove target --name dev
265240

docs/configuration.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@ Main project configuration containing agents and their capabilities.
6262
| `targetLanguage` | Yes | `Python` or `TypeScript` |
6363
| `modelProvider` | Yes | `Bedrock`, `Anthropic`, `OpenAI`, `Gemini` |
6464
| `runtime` | Yes | Runtime configuration |
65-
| `mcpProviders` | Yes | MCP tool references |
6665
| `memoryProviders` | Yes | Memory configurations |
6766
| `identityProviders` | Yes | Identity/API key configurations |
68-
| `remoteTools` | Yes | Agent-to-agent and MCP runtime references |
67+
| `remoteTools` | Yes | Agent-to-agent references |
6968

7069
### Runtime Configuration
7170

@@ -213,18 +212,6 @@ current list.
213212

214213
---
215214

216-
## mcp.json
217-
218-
MCP runtime tool definitions. See [MCP Tools](./mcp-tools.md) for details.
219-
220-
```json
221-
{
222-
"mcpRuntimeTools": [...]
223-
}
224-
```
225-
226-
---
227-
228215
## .env.local
229216

230217
API keys for local development. This file is gitignored.

docs/local-development.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ immediately.
106106
| ---------- | ------------- | ------------------------ |
107107
| API Keys | `.env.local` | AWS Secrets Manager |
108108
| Memory | Not available | AgentCore Memory service |
109-
| MCP Tools | Local server | AgentCore Runtime/Lambda |
110109
| Networking | localhost | VPC/Public |
111110

112-
Memory and MCP tools require deployment to test fully. For local testing, you can mock these dependencies in your agent
113-
code.
111+
Memory requires deployment to test fully. For local testing, you can mock these dependencies in your agent code.

docs/mcp-tools.md

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)