feat: add typed wire format for stream-json protocol (#445)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
5
build.js
5
build.js
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user