Skip to content

Commit 344d411

Browse files
committed
Release v2.1.0
1 parent 6d3f816 commit 344d411

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

packages/codev/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/codev/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cluesmith/codev",
3-
"version": "2.1.0-rc.2",
3+
"version": "2.1.0",
44
"description": "Codev CLI - AI-assisted software development framework",
55
"type": "module",
66
"bin": {

packages/codev/src/agent-farm/__tests__/tower-routes.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -949,11 +949,11 @@ describe('tower-routes', () => {
949949
const { res } = makeRes();
950950

951951
await handleRequest(req, res, ctx);
952-
// Message and Enter must be delivered in a single write() call
953-
// to prevent split DATA frames through the shellper protocol.
952+
// Message is written first, then \r is sent separately after a 50ms delay
953+
// so the PTY processes the multi-line paste before receiving Enter (Bugfix #492).
954954
const writeCalls = mockWrite.mock.calls;
955-
expect(writeCalls.length).toBe(1);
956-
expect(writeCalls[0][0]).toMatch(/\r$/);
955+
expect(writeCalls.length).toBe(1); // Initial write (message only)
956+
expect(writeCalls[0][0]).not.toMatch(/\r$/); // No \r in initial write
957957
});
958958

959959
it('delivers message without Enter when noEnter is set (Bugfix #481)', async () => {

0 commit comments

Comments
 (0)