Release v1.1.0 - TypeScript SDK + Comprehensive Documentation
QWED v1.1.0 - TypeScript SDK + Technical Deep Dive
Released: January 1, 2026
π Major Updates
1. TypeScript SDK Published to npm β
npm install @qwed-ai/sdkAvailable now on npmjs.com!
- Full TypeScript typing support
- Works with Node.js and browser (ESM/CJS)
- Same API as Python SDK
- 216 downloads on Zenodo whitepaper (high interest!)
Example:
import { QWEDClient } from '@qwed-ai/sdk';
const client = new QWEDClient({ apiKey: 'your_key' });
const result = await client.verifyMath('2+2', '4');
console.log(result.verified); // trueNPM Package: @qwed-ai/sdk
2. Comprehensive Technical Documentation (566 Lines Added)
New Whitepaper Sections:
β Section 3.4: Output Format Enforcement (197 lines)
- Function calling mechanism (OpenAI Tools/Anthropic Tool Use)
- Pydantic schema validation
- Pre-verification schema checks
- Result: Zero ambiguity in LLM outputs
β Section 4.2.1: DSL-Based Logic Security (170 lines)
- CRITICAL: Complete DSL documentation (was missing!)
- Whitelist-based S-expression parsing
- No
eval(),exec(), or__import__()- guaranteed - 40+ whitelisted operators
- Secure compilation to Z3
β Section 4.3.1: Language Detection (91 lines)
- Explicit language declaration (Python, JS, Go, SQL, etc.)
- Language-specific AST parsers
- No misidentification possible
β Section 4.4.1: SQL AST-Based Obfuscation Detection (90 lines)
- AST parsing (not regex!)
- Catches obfuscated injections:
WHERE /**/1/**/=/**/1 - Tautology detection
β Section 3.3.1: Handling Ambiguous Outputs
- Function calling prevents multiple values
- Schema rejects
List[float]when expectingfloat
β Section 6.4: Case Study Methodology Note
- Clarifies $12,889 bug is illustrative
- References actual benchmark data
Whitepaper DOI: 10.5281/zenodo.18110785
3. PDF-Friendly Documentation
- Replaced all Mermaid diagrams with ASCII art
- Works in GitHub, PDF exports, and offline docs
- 5 diagrams updated across all repos
π¦ What's Included
SDKs Available
| Language | Package | Install | Status |
|---|---|---|---|
| Python | qwed |
pip install qwed |
β Live on PyPI |
| TypeScript | @qwed-ai/sdk |
npm install @qwed-ai/sdk |
β NEW: Live on npm! |
| Go | In repo | See sdk-go/README.md |
πΆ Source available |
| Rust | In repo | See sdk-rust/README.md |
πΆ Source available |
π§ Integrations
- β LangChain (439 lines, production-ready)
- β CrewAI (455 lines, production-ready)
- β LlamaIndex (full integration)
π Benchmarks
Against Claude Opus 4.5:
- Financial calculations: 73% LLM accuracy β 100% QWED detection
- Mathematical reasoning: 81% β 100%
- Adversarial prompts: 85% β 100%
- Code security: 78% β 100%
215 test cases, 100% error detection rate
π Bug Fixes
- Fixed Mermaid diagram rendering on GitHub (chunk 2291 error)
- Updated DOI references across all documentation
- Corrected Zenodo version field formatting
π Documentation
- Whitepaper: v1.1.0 on Zenodo (222 downloads!)
- API Docs: docs.qwedai.com
- Examples: See
examples/directory - Benchmarks: See
benchmarks/directory
π Links
- TypeScript SDK: https://www.npmjs.com/package/@qwed-ai/sdk
- Python SDK: https://pypi.org/project/qwed/
- Whitepaper: https://doi.org/10.5281/zenodo.18110785
- Documentation: https://docs.qwedai.com
- JOSS Paper: https://joss.theoj.org/papers/385abbd3a6733fc907f1780eb5b6c927
π Contributors
π License
Apache 2.0
π― What's Next?
- JOSS peer review submission
- Go SDK official release (pkg.go.dev)
- Rust SDK on crates.io
- Additional language support
- More verification engines
Full Changelog: v2.0.0...v1.1.0