Claude/rescript tea implementation 01 bo5h62z rjx zfknb qhk4o ad#4
Merged
hyperpolymath merged 4 commits intomainfrom Dec 7, 2025
Merged
Conversation
This commit brings the repository into compliance with the RSR specification: Documentation: - Convert README.md to README.adoc (AsciiDoc format) - Add SECURITY.md with vulnerability reporting procedures - Add CODE_OF_CONDUCT.adoc (Contributor Covenant v2.1) - Add CONTRIBUTING.adoc with TPCF guidelines - Add GOVERNANCE.adoc with project governance model - Add CHANGELOG.md following Keep a Changelog format - Add FUNDING.yml for transparency Licensing: - Add dual MIT + Palimpsest v0.8 licensing - Create LICENSE.txt with both licenses - Create LICENSE-PALIMPSEST.txt Infrastructure: - Add flake.nix for Nix development environment - Add justfile for task automation - Add .gitattributes for consistent handling - Add .well-known/ directory with security.txt and funding.json Code Quality: - Add SPDX license headers to all source files
MVP progress toward 1.0 release: Tea_Http Module: - HTTP request builders (get, post, put, patch, delete) - Request modifiers (withHeader, withTimeout, withBody) - Type-safe error handling (BadUrl, Timeout, NetworkError, BadStatus, BadBody) - Convenience functions (getJson, postJson, getString) - Integrates with Tea_Json decoders for response parsing HTTP Example (examples/02_http/): - Demonstrates fetching users from JSONPlaceholder API - Shows RemoteData pattern (NotAsked, Loading, Success, Failure) - Real-world loading and error states Tests: - 7 tests for Tea_Cmd (none, batch, message, map, effect) - 27 tests for Tea_Json (all decoder types, error handling) - Uses Node.js built-in test runner CI/CD: - GitHub Actions workflow for build and test - Matrix testing on Node.js 18.x and 20.x - Dependency audit step Infrastructure: - Added Cmd.effect function for creating effect commands - Exported Http module from Tea
…RjxZfknbQhk4oAd Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
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.