trantor 0.18.25 → 0.18.26
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.
- package/.claude-plugin/plugin.json +1 -1
- package/bin/crew-runner.mjs +10 -3
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trantor",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.26",
|
|
4
4
|
"description": "Trantor — the hub-world for AI agent crews: live message bus, presence, project Kanban/flow board + crew orchestration for independent AI coding agents (Claude, Codex, Gemini, Kimi, DeepSeek)",
|
|
5
5
|
"mcpServers": {
|
|
6
6
|
"relay": {
|
package/bin/crew-runner.mjs
CHANGED
|
@@ -609,9 +609,16 @@ function composedTurn({ base = "", wakeText = "", ctxText = "", againText = "",
|
|
|
609
609
|
// never wake on your own broadcasts: a claude seat's report contains "claude:" and matched the
|
|
610
610
|
// @mention filter, buying one echo turn per report (seen live on the first pulsed orchestrator)
|
|
611
611
|
msgs = msgs.filter(m => m.from !== SESSION);
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
612
|
+
// #5760 (the night of 08-31): the hub's hourly "same-project-sessions" FYI woke every seat
|
|
613
|
+
// into a real CLI turn — three wedged for hours mid-chatter, one on the metered pool. That
|
|
614
|
+
// kind is pure coordination CONTEXT ("no human needs to relay this" — and no turn needs to
|
|
615
|
+
// burn on it either): batch it like a broadcast. file-conflict and linked-activity overseer
|
|
616
|
+
// warnings still wake — those are actionable by the seat right now.
|
|
617
|
+
const fyi = msgs.filter(m => m.from === "hub:duty" && String(m.text || "").startsWith("🤝 OVERSEER same-project-sessions"));
|
|
618
|
+
const rest = msgs.filter(m => !fyi.includes(m));
|
|
619
|
+
const direct = rest.filter(m => m.to === SESSION);
|
|
620
|
+
const mentions = rest.filter(m => m.to === "all" && (m.text.includes(`@${AGENT}`) || m.text.toLowerCase().includes(`${AGENT}:`)));
|
|
621
|
+
const bcast = [...rest.filter(m => m.to === "all" && !mentions.includes(m)), ...fyi];
|
|
615
622
|
pendingBcast.push(...bcast); // wake-policy: plain broadcasts batch, they don't wake
|
|
616
623
|
const wake = [...direct, ...mentions];
|
|
617
624
|
if (!wake.length) { if (bcast.length) { savePending(pendingWake, pendingBcast); log(`${bcast.length} broadcast(s) batched (no wake) — ${pendingBcast.length} pending`); } continue; }
|