Skip to content

Commit 0d6c944

Browse files
committed
fix: bump summary limit from 500 to 1000 chars (v1.2.1)
1 parent 1267843 commit 0d6c944

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "slm-mesh",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Peer-to-peer communication for AI coding agents — by Qualixar, powered by SuperLocalMemory",
55
"author": "Varun Pratap Bhardwaj",
66
"license": "MIT",

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "slm-mesh"
3-
version = "1.2.0"
3+
version = "1.2.1"
44
description = "Python client for SLM Mesh — peer-to-peer communication for AI coding agents."
55
readme = "README.md"
66
license = "MIT"

src/broker/handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import type { PeerRow, MessageRow, StateRow, LockRow, EventRow } from '../types.
2626
const MAX_PAYLOAD_BYTES = 65_536;
2727

2828
/** SEC-020: Max summary length in characters */
29-
const MAX_SUMMARY_CHARS = 500;
29+
const MAX_SUMMARY_CHARS = 1000;
3030

3131
/** SEC-005: Rate limiting — max requests per peer per window */
3232
const RATE_LIMIT_MAX = 100;

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface MeshConfig {
2626
readonly walCheckpointIntervalMs: number;
2727
}
2828

29-
export const VERSION = '1.2.0';
29+
export const VERSION = '1.2.1';
3030
export const PRODUCT_NAME = 'SLM Mesh';
3131
export const BRANDING = `${PRODUCT_NAME} v${VERSION} | Part of the Qualixar research initiative`;
3232

src/mcp/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function registerTools(mcp: McpServer, state: ServerState): void {
113113
title: 'Set Work Summary',
114114
description: 'Set a summary of what you are currently working on. This is visible to other agents on the mesh so they know your context.',
115115
inputSchema: {
116-
summary: z.string().min(1).max(500)
116+
summary: z.string().min(1).max(1000)
117117
.describe('Brief description of your current work (visible to other agents)'),
118118
},
119119
},

tests/unit/broker/handlers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ describe('handleSummary', () => {
260260
it('rejects summary exceeding max length', () => {
261261
const { handlers } = setup();
262262
const reg = registerPeer(handlers);
263-
const long = 'x'.repeat(600);
263+
const long = 'x'.repeat(1100);
264264
const r = handlers.handleSummary({ peerId: reg.peerId, summary: long });
265265
expect(r.ok).toBe(false);
266266
});

0 commit comments

Comments
 (0)