fix: compile dist from source in Docker, fix ChatResult interface
- Dockerfile now runs tsc during build so committed dist/ is never stale - ChatResult interface was missing history[] and memoryUpdates[] fields - Re-add missing MemoryUpdate import in orchestrator.ts - Rebuild dist/ with all new fields included Made-with: Cursor
This commit is contained in:
13
dist/test.js
vendored
Normal file
13
dist/test.js
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const assert_1 = __importDefault(require("assert"));
|
||||
function add(a, b) {
|
||||
return a + b;
|
||||
}
|
||||
assert_1.default.strictEqual(add(1, 2), 3, 'add(1, 2) should be 3');
|
||||
assert_1.default.strictEqual(add(0, 0), 0, 'add(0, 0) should be 0');
|
||||
assert_1.default.strictEqual(add(-1, 1), 0, 'add(-1, 1) should be 0');
|
||||
console.log('All tests passed!');
|
||||
Reference in New Issue
Block a user