feat(mcp_modules): add csvjson community module (lossless CSV<->JSON, strict coercion, receipts) - #23
Merged
Conversation
… conversion with schema inference, strict coercion and reconciliation receipts
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.
Adds a second community package for #2 (add more community packages): csvjson — lossless CSV ↔ JSON conversion for agents.
What it does
null < bool < int < float < str < json), like a spreadsheet import but explicit.SchemaError—"abc"in an int column fails loudly instead of becomingNaNor"".meta.role,tags.0) and expand back losslessly.tags) never receive scalars, scalar blanks stay real nulls, empty arrays round-trip via the[]marker.okflag.Endpoints
GET /csvjson·POST /csvjson/to-json·POST /csvjson/to-csv·POST /csvjson/schema·POST /csvjson/validate+/tools/csvjson/*tool endpoints with/*/infoschemas, mirroring thewebhook_verifymodule pattern.Quality
csvjson-kitproduct (36-test suite incl.test_heterogeneous.py,test_roundtrip.py): the union-of-columns and empty-array rules are the ones that passed regression testing there.README.md,docs/api.md,examples/basic-usage.jsincluded.