feat: add typed wire format for stream-json protocol (#445)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-01 20:05:41 -08:00
committed by GitHub
parent 47e4734ba1
commit 397560ef00
7 changed files with 618 additions and 256 deletions

View File

@@ -75,6 +75,11 @@ if (existsSync(bundledSkillsSrc)) {
console.log("📂 Copied bundled skills to skills/");
}
// Generate type declarations for wire types export
console.log("📝 Generating type declarations...");
await Bun.$`bunx tsc -p tsconfig.types.json`;
console.log(" Output: dist/types/wire.d.ts");
console.log("✅ Build complete!");
console.log(` Output: letta.js`);
console.log(` Size: ${(Bun.file(outputPath).size / 1024).toFixed(0)}KB`);