Merged
Conversation
Redact and secure CLI secrets, add URL validation, and harden components/tests. Highlights: - CLI: redact JWT/refresh tokens in outputs, avoid storing sensitive commands in history, restrict history file perms on Unix, and skip saving unsafe commands; session code uses should_persist_command before appending history. - connect: add normalize_and_validate_server_url and is_localhost_url helpers with unit tests; validate and normalize server URLs; depend on the url crate (added to cli/Cargo.toml and workspace Cargo.toml). - Tests: numerous test fixes and robustness improvements (longer deadlines, aggregated consume logic, wait_for_topic_routes helper, readiness checks, improved error handling via .expect messages, inserted more inserts and adjusted counts). - link: add bounded gzip decompression (decompress_gzip_with_limit), fail on advertised oversized outputs, and add tests; introduce WebSocket/binary/decompressed size constants and begin stricter WS URL parsing in subscription resolver. - Misc: small formatting and concatenation cleanups, .gitignore additions for worktrees and test targets, and removal of stale batch compile artifacts. Overall these changes improve privacy, input validation, resource safety, and test reliability.
Introduce a production-style summarizer agent example that uses Google Gemini via @langchain/google-genai. Adds new example files (refactored src/agent.ts, src/summarizer-runtime.ts, src/langchain-google-genai.d.ts), tests, updated README, .env example, setup.sh verification for failure sink, and npm test script. Update example package.json and package-lock to switch from @langchain/openai to @langchain/google-genai. Update CLI init to write a langchain-openai.d.ts shim for generated projects and include .d.ts files in tsconfig; add CLI tests for non-interactive project generation and invalid table validation. Also add top-level install.sh and additional TypeScript SDK test scaffolding.
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.
No description provided.