Compare commits
2 Commits
2cadc3a867
...
v1.5.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4539eb2c9 | ||
|
|
4b93641cf4 |
4
node/package-lock.json
generated
4
node/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@kuns/claude-mailbox",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@kuns/claude-mailbox",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.29.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@kuns/claude-mailbox",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"description": "Standalone MCP mail server that lets parallel Claude sessions coordinate with each other.",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
||||
@@ -156,10 +156,11 @@ export async function startServer(
|
||||
): Promise<{ app: FastifyInstance; store: MailboxStore; sweepTimer: NodeJS.Timeout | null }> {
|
||||
const store = new MailboxStore(cfg.dbPath);
|
||||
const app = await buildServer(cfg, store);
|
||||
await app.listen({ host: cfg.bind, port: cfg.port });
|
||||
const sweepTimer = startSweep(store, cfg, app.log);
|
||||
const timerRef: { current: NodeJS.Timeout | null } = { current: null };
|
||||
app.addHook("onClose", async () => {
|
||||
if (sweepTimer) clearInterval(sweepTimer);
|
||||
if (timerRef.current) clearInterval(timerRef.current);
|
||||
});
|
||||
return { app, store, sweepTimer };
|
||||
await app.listen({ host: cfg.bind, port: cfg.port });
|
||||
timerRef.current = startSweep(store, cfg, app.log);
|
||||
return { app, store, sweepTimer: timerRef.current };
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "claude-mailbox",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"description": "Auto-checks the local Claude-Mailbox daemon before every prompt and after each subagent run, and injects pending messages into the conversation context.",
|
||||
"author": {
|
||||
"name": "Mika Kuns"
|
||||
|
||||
Reference in New Issue
Block a user