@swarmroom/shared 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  export declare const MDNS_SERVICE_TYPE = "_swarmroom._tcp";
2
- export declare const DEFAULT_PORT = 3000;
2
+ export declare const DEFAULT_PORT = 39187;
3
3
  export declare const HEARTBEAT_INTERVAL_MS = 30000;
4
4
  export declare const STALE_TIMEOUT_MS = 90000;
5
5
  export declare const MAX_MESSAGE_SIZE_BYTES = 1048576;
package/dist/constants.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export const MDNS_SERVICE_TYPE = '_swarmroom._tcp';
2
- export const DEFAULT_PORT = 3000;
2
+ export const DEFAULT_PORT = 39187;
3
3
  export const HEARTBEAT_INTERVAL_MS = 30_000;
4
4
  export const STALE_TIMEOUT_MS = 90_000;
5
5
  export const MAX_MESSAGE_SIZE_BYTES = 1_048_576; // 1MB
@@ -8,7 +8,7 @@ export const AgentWakeupConfigSchema = z.object({
8
8
  });
9
9
  // Full daemon configuration
10
10
  export const DaemonConfigSchema = z.object({
11
- hubUrl: z.string().default('http://localhost:3000'),
11
+ hubUrl: z.string().default('http://localhost:39187'),
12
12
  agents: z.record(z.string(), AgentWakeupConfigSchema).default({}),
13
13
  });
14
14
  // Payload for message_undelivered WS event
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarmroom/shared",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Shared types, schemas, and constants for SwarmRoom",
6
6
  "keywords": ["swarmroom", "shared", "types", "schemas"],