Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ae378c2e3 | ||
|
|
7381738f0b |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "claudemesh-cli",
|
"name": "claudemesh-cli",
|
||||||
"version": "0.5.2",
|
"version": "0.5.3",
|
||||||
"description": "Claude Code MCP client for claudemesh — peer mesh messaging between Claude sessions.",
|
"description": "Claude Code MCP client for claudemesh — peer mesh messaging between Claude sessions.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"claude-code",
|
"claude-code",
|
||||||
|
|||||||
@@ -729,6 +729,9 @@ Your message mode is "${messageMode}".
|
|||||||
if (messageMode !== "off") {
|
if (messageMode !== "off") {
|
||||||
const pushPollTimer = setInterval(async () => {
|
const pushPollTimer = setInterval(async () => {
|
||||||
const buffered = client.drainPushBuffer();
|
const buffered = client.drainPushBuffer();
|
||||||
|
if (buffered.length > 0) {
|
||||||
|
process.stderr.write(`[claudemesh] poll: ${buffered.length} message(s) to push\n`);
|
||||||
|
}
|
||||||
for (const msg of buffered) {
|
for (const msg of buffered) {
|
||||||
const fromPubkey = msg.senderPubkey || "";
|
const fromPubkey = msg.senderPubkey || "";
|
||||||
const fromName = fromPubkey
|
const fromName = fromPubkey
|
||||||
@@ -767,7 +770,10 @@ Your message mode is "${messageMode}".
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} catch { /* best effort */ }
|
process.stderr.write(`[claudemesh] pushed: from=${fromName} content=${content.slice(0, 60)}\n`);
|
||||||
|
} catch (pushErr) {
|
||||||
|
process.stderr.write(`[claudemesh] push FAILED: ${pushErr}\n`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, 1_000);
|
}, 1_000);
|
||||||
pushPollTimer.unref();
|
pushPollTimer.unref();
|
||||||
|
|||||||
@@ -25,6 +25,9 @@ ENV NEXT_PUBLIC_URL=$NEXT_PUBLIC_URL
|
|||||||
ENV NEXT_PUBLIC_PRODUCT_NAME=$NEXT_PUBLIC_PRODUCT_NAME
|
ENV NEXT_PUBLIC_PRODUCT_NAME=$NEXT_PUBLIC_PRODUCT_NAME
|
||||||
ENV NEXT_PUBLIC_DEFAULT_LOCALE=$NEXT_PUBLIC_DEFAULT_LOCALE
|
ENV NEXT_PUBLIC_DEFAULT_LOCALE=$NEXT_PUBLIC_DEFAULT_LOCALE
|
||||||
|
|
||||||
|
# TURBOPACK=0 forces webpack for production build — Payload CMS's
|
||||||
|
# richtext-lexical CSS imports fail under Turbopack.
|
||||||
|
ENV TURBOPACK=0
|
||||||
RUN npx turbo run build --filter=web...
|
RUN npx turbo run build --filter=web...
|
||||||
|
|
||||||
# Stage 2: runtime — standalone output only
|
# Stage 2: runtime — standalone output only
|
||||||
|
|||||||
Reference in New Issue
Block a user