Commit 243a9d3
authored
test(agent): update local-tools tests for the always-on speak tool
Adding the always-enabled `speak` tool to LOCAL_TOOLS means the local-tools
MCP server is now built on every session (desktop and cloud), not just when a
cloud-only git tool's gate passes.
- claude local-tools.test: a desktop run now exposes `speak` (and still omits
the cloud-only signed-git tools), so assert that instead of an undefined
server.
- codex-agent.test: default the mocked existsSync to true in beforeEach so the
always-on local-tools MCP script resolves; the "no structured-output"
no-op cases now assert `posthog_output` is absent rather than the whole
mcpServers array being empty; and the injection case looks up posthog_output
by name since the local-tools server is also present.
Generated-By: PostHog Code
Task-Id: 3553940c-2b6e-41dd-bc02-27f5df786a291 parent 4edd354 commit 243a9d3
1 file changed
Lines changed: 23 additions & 4 deletions
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
27 | 46 | | |
28 | 47 | | |
29 | 48 | | |
| |||
0 commit comments