990cc33c19
test(runtime): expand json module unit tests [formatting fix] ( #3308 )
...
* test(runtime): expand json module unit tests
The hand-rolled JsonValue parser/renderer in runtime had only two
tests covering a self-contained JSON parser, renderer, accessor set,
and error type. Add focused unit tests covering primitive rendering,
sorted object keys, escape handling (quotes, backslashes, control
chars), signed-integer and whitespace-tolerant parsing, nested
structures, render->parse round-tripping, malformed-input rejection,
i64 overflow rejection, accessor variant mismatches, and JsonError
Display.
* style: format json.rs tests to match rustfmt standards
---------
Co-authored-by: 黄云龙 <76432572+nankingjing@users.noreply.github.com >
Co-authored-by: gaebal-gajae <clawdbot@users.noreply.github.com >
2026-10-13 07:22:31 +09:00
Yeachan-Heo
7eb6330791
feat: Rust port of Claw Code CLI
...
Crates:
- api: Anthropic Messages API client with SSE streaming
- tools: compatible tool implementations (Bash, Read, Write, Edit, Glob, Grep + extended suite)
- runtime: conversation loop, session persistence, permissions, system prompt builder
- claw-cli: terminal UI with markdown rendering, syntax highlighting, spinners
- commands: subcommand definitions
- compat-harness: upstream TS parity verification
All crates pass cargo fmt/clippy/test.
2026-03-31 17:43:09 +00:00