Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ _If you are upgrading from 1.x: please see [Migrating from 1.x](MIGRATING.md)._
- Reduce every tool response with no fact lost: `apexlog_list_slow_operations` by 33% ([#86], [#108]) and `apexlog_execute_anonymous` by 30% ([#86], [#109]). `apexlog_get_summary` costs 16% more on a log that uses its limits, for the two tables it gained ([#62])
- **Breaking:** move to the MCP TypeScript SDK v2 packages, so the server speaks the 2026-07-28 protocol revision. Clients on the 2025 revisions keep working through the SDK's compatibility layer ([#103])
- Reduce the standing cost of having the server connected by 29%: `apexlog_execute_anonymous` by 50%, `apexlog_list_limit_risks` by 28% and `apexlog_get_summary` by 5% ([#87], [#108], [#103]). `apexlog_list_slow_operations` costs 28% more, for the five parameters that select what it ranks ([#108])
- Encode responses with TOON v4. No response changed: v4 removes key folding and path expansion, and this server used neither ([#121])
- Parse a log once rather than once per tool, cached by path, inode, size, modification time and change time, so a summary followed by a deeper tool no longer reads and parses the file again. The parse is dropped after five minutes unused, so a large log is not held for the life of the session ([#88])

### Added
Expand Down Expand Up @@ -69,3 +70,4 @@ _If you are upgrading from 1.x: please see [Migrating from 1.x](MIGRATING.md)._
[#108]: https://github.com/certinia/debug-log-analyzer-mcp/issues/108
[#103]: https://github.com/certinia/debug-log-analyzer-mcp/issues/103
[#109]: https://github.com/certinia/debug-log-analyzer-mcp/issues/109
[#121]: https://github.com/certinia/debug-log-analyzer-mcp/issues/121
5 changes: 5 additions & 0 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@ one-liners.
".gitignore" sentence it replaced was ~15, and it answers the question either way.
- **Say in the tool description what is omitted and when.** Currently that is one sentence per tool,
because there is one omission per tool.
- **Encode with the TOON defaults.** Measured, none of the alternatives pay:
- `indentSize: 1` — saves 2.4%, but `decode` rejects it without a matching `indentSize`.
- keyed tabular (`[n:]`) — costs one character per row, `,` becoming `: `.
- `delimiter` tab or pipe — 2 tokens on a 9,365-token response. Quoting comes from `:` in a name.
- nested field groups — nothing left to fold; every table is already flat.

### The gate

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@modelcontextprotocol/client": "^2.0.0",
"@modelcontextprotocol/server": "^2.0.0",
"@salesforce/core": "^8.32.3",
"@toon-format/toon": "^2.3.0",
"@toon-format/toon": "^4.1.1",
"zod": "^4.4.3"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.