You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Complete WASM implementation and publish llm-shield-core@0.2.1
Major changes:
- Fixed WASM compilation by removing native dependencies (tokenizers/onig_sys)
- Implemented pattern-based security scanning for browser/edge compatibility
- Built WASM modules for browser, edge, and Node.js targets
- Published npm package with full WASM binaries (653KB)
- Created GCP and Azure cloud provider stubs due to SDK breaking changes
- Updated all cloud provider crates to v0.1.1
WASM Implementation:
- Removed llm-shield-models and llm-shield-scanners from WASM crate
- Implemented basic pattern matching for prompt injection, PII, and toxicity
- Created JavaScript wrappers with automatic JSON parsing
- Added ShieldConfig support for all targets
Cloud Provider Fixes:
- AWS: Fixed LogEntry, MetricDatum, and API compatibility issues
- GCP: Created stub implementations for observability, secrets, and storage
- Azure: Created stub implementations for Monitor, KeyVault, and BlobStorage
- Added missing CloudError variants (Connection, Authentication, LogExport)
npm Package:
- Version: 0.2.1
- Size: 263KB (packed), 653KB (unpacked)
- Includes: scanText(), detectPII(), checkToxicity()
- Targets: browser, edge, Node.js
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments