Conversation
Bumps [org.jetbrains.kotlin:kotlin-stdlib](https://github.com/JetBrains/kotlin) from 2.3.10 to 2.3.20. - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v2.3.20/ChangeLog.md) - [Commits](JetBrains/kotlin@v2.3.10...v2.3.20) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-version: 2.3.20 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…pt wrapper Agent-Logs-Url: https://github.com/OpenAF/openaf/sessions/6dc098b3-008a-41a0-ae8e-0caf57201a9f Co-authored-by: nmaguiar <11761746+nmaguiar@users.noreply.github.com>
…sation-methods Add cross-provider exportConversation/importConversation to all LLM providers
Agent-Logs-Url: https://github.com/OpenAF/openaf/sessions/13d1d852-e139-4f2d-88e9-213afeae16c6 Co-authored-by: nmaguiar <11761746+nmaguiar@users.noreply.github.com>
…ndividual test functions Agent-Logs-Url: https://github.com/OpenAF/openaf/sessions/4a0365fd-33fa-4995-afc9-22eb96123721 Co-authored-by: nmaguiar <11761746+nmaguiar@users.noreply.github.com>
… info to getClientInfo
…tinfo Expose MCP JSON-RPC protocol metadata via $mcp.getClientInfo
…s.kotlin-kotlin-stdlib-2.3.20 chore(deps): bump org.jetbrains.kotlin:kotlin-stdlib from 2.3.10 to 2.3.20
- Add tplDesc option to enable template substitution in tool descriptions - Add toolPrefix option to namespace tool names with custom prefix - Add description extraction from oJob YAML for MCP server info - Add test for Ollama streaming warmup on fresh conversation
Fix bullet and numbered list indentation when ANSI colors are applied. Previously used raw string length which included invisible ANSI escape sequences, causing misalignment. Now uses visibleLength() to calculate proper visible character count for indentation spacing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to the handling of string visible length calculations and enhances the MCP ($mcp) and JSON-RPC ($jsonrpc) client/server infrastructure in
js/openaf.js. The changes focus on Unicode and ANSI-aware string processing, richer introspection and debugging capabilities, and more flexible, template-driven MCP initialization and tool descriptions.The most important changes are:
Unicode/ANSI String Handling:
visibleLengthfunction and its helpers to accurately compute the visible length of strings containing Unicode, emoji, combining marks, and ANSI escape sequences, making output display more robust and correct.JSON-RPC Client Enhancements:
_mcpInfoobject to track the last request, response, and response headers for each JSON-RPC session, and exposed this information via a newgetClientInfo()method for improved introspection and debugging. [1] [2] [3] [4] [5] [6] [7]MCP Server/Client Improvements:
_buildSyntheticCapabilities,_buildSyntheticInitializeResult) to standardize and enrich MCP server responses, including protocol version, server info, and capabilities. [1] [2] [3] [4]getClientInfo()method to expose initialization and last request/response information, improving transparency and debuggability.These changes collectively improve Unicode/ANSI compatibility, introspection, and configuration flexibility in the OpenAF MCP and JSON-RPC frameworks.