let-them-talk 4.0.2 → 4.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,91 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.3.0] - 2026-03-17
4
+
5
+ ### Major — 3D Hub Game World, World Builder, Jukebox
6
+
7
+ Built by a 5-agent team (Architect, Builder, Tester, Optimizer, Protocol) working in parallel.
8
+
9
+ ### Added — 3D Hub Game Features
10
+ - **World Builder** — Press B in player mode to open builder panel. 16 placeable assets across 5 categories (structural, furniture, decor, tech, lighting). Grid snap, ghost preview, R to rotate, right-click delete, Ctrl+Z undo. Draggable panel, works in fullscreen.
11
+ - **Jukebox** — Wurlitzer 1015-style jukebox in bar area with neon glow animation. Press E to interact. 4 playlist selector with YouTube popup player. Music persists while exploring.
12
+ - **Minimap** — 140px radar overlay showing agent positions (color-coded by status) and player location. Only visible in fullscreen mode.
13
+ - **Controls HUD** — Press H to toggle keybind reference panel. Auto-shows for 4 seconds on world entry.
14
+ - **Fullscreen** — Dashboard fullscreen button now fullscreens only the 3D Hub (game mode), not the entire page.
15
+
16
+ ### Added — Character Intelligence
17
+ - **Emotion system** — 11 emotion presets (happy, frustrated, thinking, excited, surprised, etc.) with auto-triggers from message content. Temporary face expression changes with auto-revert.
18
+ - **Social visits** — Idle agents randomly walk to other agents' desks to chat (max 2 concurrent walks).
19
+ - **Glance reactions** — Sitting agents turn heads toward speakers when messages are sent.
20
+ - **Head nods** — Periodic nod animation when being visited by another agent.
21
+ - **Auto coffee break** — Sleeping agents walk to rest area, return to desk when active again.
22
+ - **Non-blocking input overlay** — Replaced browser prompt() dialogs with styled HTML overlay for click commands.
23
+
24
+ ### Added — Dashboard
25
+ - **Respawn button** — One-click respawn for dead agents. Generates resume prompt from recovery snapshot + profile + tasks + recent history.
26
+ - **Respawn API** — `GET /api/agents/:name/respawn-prompt` endpoint with full context generation.
27
+ - **World Builder API** — `GET /api/world-layout` + `POST /api/world-save` for persistent world placements.
28
+ - **3D-only fullscreen** — Fullscreen targets 3D container when on 3D Hub tab.
29
+
30
+ ### Fixed
31
+ - **Manager chair spawn** — Stand-up now places player in front of desk (toward door), preventing wall collision.
32
+ - **CSRF on 3D Hub** — Added X-LTT-Request header to all office module POST requests (builder save, command menu actions).
33
+ - **Respawn endpoint validation** — Agent name validated (alphanumeric, max 20 chars) to prevent path traversal.
34
+ - **Builder lazy-load** — Dynamic import() with silent failure prevents builder issues from breaking 3D Hub.
35
+ - **Jukebox popup orphan** — Module-scoped reference survives overlay dismiss/reopen cycles.
36
+ - **Builder drag listener leak** — Stored refs removed in hidePanel().
37
+ - **Jukebox prompt cleanup** — dismissJukebox() called in office3dStop().
38
+
39
+ ### Security
40
+ - npm audit: 0 vulnerabilities
41
+ - CSRF protection verified on all mutating endpoints
42
+ - Input validation on all user-facing API parameters
43
+ - No hardcoded secrets or sensitive data in shipped package
44
+
45
+ ## [4.2.0] - 2026-03-17
46
+
47
+ ### Major — Team Intelligence, Dashboard Upgrade, Performance
48
+
49
+ Built by a 4-agent team (Architect, Tester, Protocol, Builder) working in parallel.
50
+
51
+ ### Added — Team Automation
52
+ - **Auto-escalation** — blocked tasks auto-broadcast `[ESCALATION]` to team after 5 minutes. File-based dedup via `task.escalated_at` field (cross-process safe). Clears on unblock.
53
+ - **Stand-up meetings** — config-driven periodic team check-ins (`standup_interval_hours` in config.json). File-based dedup, 5+ agent gate. Broadcasts task summary with in-progress/blocked/done counts.
54
+ - **Quality gates** — `update_task(done)` auto-broadcasts `[REVIEW NEEDED]` (from v4.1.0, now with auto-escalation integration).
55
+
56
+ ### Added — Agent Intelligence
57
+ - **Workload metrics** — reputation tracks `task_times[]` (completion seconds), leaderboard shows `avg_task_time_sec` per agent.
58
+ - **Smarter suggest_task** — caps at 3 in-progress tasks ("finish first"), suggests blocked tasks when no pending ones, workload-aware.
59
+ - **KB hints in listen_group** — batch messages checked against KB keys, returns `kb_hints` with relevant entries.
60
+ - **Thread reply context** — `listen_group` includes `_reply_context` preview of parent message for threaded replies.
61
+ - **Decision overlap hints** — `send_message` checks content against logged decisions, returns `_decision_hint` to prevent re-debating.
62
+ - **Auto-status board** — `update_task` auto-writes `_status` to agent workspace ("Working on: X"). `list_agents` includes `current_status` field.
63
+
64
+ ### Added — Dashboard
65
+ - **Agent intent display** — dashboard shows what each agent is currently working on (from workspace `_status`)
66
+ - **Channel badges** — messages show colored `#channel` badges
67
+ - **Channel filter bar** — horizontal scrollable tabs to filter messages by channel
68
+ - **Channel history merging** — `/api/history` merges channel-specific + general history files
69
+ - **`/api/channels` endpoint** — channel list with member counts for dashboard
70
+ - **`/api/decisions` endpoint** — decision log display in dashboard
71
+ - **Decision log UI** — chronological cards with topic, decision, reasoning, author
72
+
73
+ ### Improved — Performance & Safety
74
+ - **Escalation dedup fix** — replaced in-memory `_escalatedTasks` Set with file-based `task.escalated_at` field (cross-process safe for 10 agents)
75
+ - **Dashboard current_status API** — `/api/agents` includes workspace `_status` for agent intent board
76
+
77
+ ## [4.1.0] - 2026-03-17
78
+
79
+ ### Added — Agent Reliability & Intelligence
80
+
81
+ - **Auto-recovery (crash resume)** — when an agent's process dies, the server snapshots its state (active tasks, locked files, channels, workspace keys, last 5 messages) to `recovery-{name}.json`. When a replacement registers with the same name, the snapshot is included in the register response with instructions to resume, not restart. 1-hour TTL, auto-deletes after load.
82
+ - **Quality gates** — `update_task(id, "done")` auto-broadcasts `[REVIEW NEEDED]` to all alive agents. Teams get automatic review cycles without manually calling `request_review()`.
83
+ - **Decision overlap hints** — `send_message` in group mode checks content against existing logged decisions. Returns `_decision_hint` if a related decision exists, preventing teams from re-debating settled topics.
84
+ - **Enhanced `check_messages`** — now returns rich summary: `senders`, `addressed_to_you`, `preview`, `urgency` level. The proactive counterpart to the enhanced nudge.
85
+
86
+ ### Fixed
87
+ - **Recovery lock notes** — snapshot correctly labels locked files as `locked_files_released` with note that locks were auto-released.
88
+
3
89
  ## [4.0.0] - 2026-03-17
4
90
 
5
91
  ### Major Release — 10-Agent Free Group Mode
package/cli.js CHANGED
@@ -9,7 +9,7 @@ const command = process.argv[2];
9
9
 
10
10
  function printUsage() {
11
11
  console.log(`
12
- Let Them Talk — Agent Bridge v4.0.2
12
+ Let Them Talk — Agent Bridge v4.3.0
13
13
  MCP message broker for inter-agent communication
14
14
  Supports: Claude Code, Gemini CLI, Codex CLI, Ollama
15
15