Commit 38ba778
feat: Cross-Language SDK — Phases 2-4 + gRPC debt fix + dogfooding
TypeScript/Napi-RS bindings (Phase 2):
- 4 kernel classes: AmplifierSession, Coordinator, HookRegistry, CancellationToken
- JsToolBridge for TypeScript module authoring
- 64 Vitest tests, CI split into separate node-tests job
gRPC Phase 2 debt fix:
- 5 proto optional fields, full bidirectional conversions
- All 9 KernelService RPCs implemented (was 1 of 9)
- Session holds Arc<Coordinator> with coordinator_shared()
WASM module loading (Phase 3):
- 6 WASM bridges via Component Model (Tool, Hook, Context, Approval, Provider, Orchestrator)
- amplifier-guest crate with export macros
- WIT interface definitions for all 6 module types
- 6 test fixture .wasm binaries
Cross-language module resolver (Phase 4):
- Auto-detect transport: .wasm → WASM, amplifier.toml → gRPC, __init__.py → Python
- WASM component metadata parsing for module type detection
- PyO3 + Napi-RS bindings for resolver
- loader_dispatch.py wired to Rust
Dogfooding:
- _session_init.py routes through loader_dispatch
- Mixed-transport E2E: native + WASM modules in same session
- Python and TypeScript WASM session examples
Security fixes:
- pyo3 0.28.1 → 0.28.2 (HIGH severity)
- wasmtime 29 → 42 (8 alerts cleared)
🤖 Generated with Amplifier
Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>1 parent 950f282 commit 38ba778
123 files changed
Lines changed: 34727 additions & 629 deletions
File tree
- .github/workflows
- bindings
- node
- __tests__
- src
- python
- src
- tests
- crates
- amplifier-core
- src
- bridges
- generated
- tests
- amplifier-guest
- src
- wit
- docs/plans
- examples
- wasm-modules
- calculator-tool
- src
- wit
- proto
- python
- amplifier_core
- tests
- tests
- fixtures/wasm
- src
- auto-approve
- src
- wit
- deny-hook
- src
- wit
- echo-provider
- src
- wit
- echo-tool
- src
- wit
- memory-context
- src
- wit
- passthrough-orchestrator
- src
- wit
- wit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
27 | 48 | | |
28 | 49 | | |
29 | 50 | | |
| |||
0 commit comments