claude-code-monitor 1.1.3 → 1.1.4

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
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.1.4] - 2026-01-22
9
+
10
+ ### Added
11
+
12
+ - Real-time modal content update in mobile web UI
13
+ - Session messages now update automatically while modal is open
14
+ - Waiting state (permission prompts) updates in real-time
15
+ - Modal auto-closes when the session is deleted
16
+
8
17
  ## [1.1.3] - 2026-01-22
9
18
 
10
19
  ### Security
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-monitor",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "CLI for monitoring multiple Claude Code sessions in real-time",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/public/index.html CHANGED
@@ -1030,6 +1030,21 @@
1030
1030
  targetSession = null;
1031
1031
  }
1032
1032
 
1033
+ function updateModalContent(session) {
1034
+ if (!session) return;
1035
+
1036
+ const isWaiting = session.status === 'waiting_input';
1037
+
1038
+ $modalTitle.textContent = getDirName(session.cwd);
1039
+ $modalPath.textContent = formatPath(session.cwd);
1040
+ $modalMessage.innerHTML = renderMarkdown(session.lastMessage);
1041
+
1042
+ // Update waiting state
1043
+ $modalWaitingNotice.style.display = isWaiting ? 'block' : 'none';
1044
+ $msgInput.disabled = isWaiting;
1045
+ $msgInput.placeholder = isWaiting ? 'Waiting for permission...' : 'Send a message...';
1046
+ }
1047
+
1033
1048
  function sendMsg() {
1034
1049
  const text = $msgInput.value.trim();
1035
1050
  if (!text || !targetSession) return;
@@ -1125,6 +1140,17 @@
1125
1140
  function render(list) {
1126
1141
  sessionsData = list || [];
1127
1142
 
1143
+ // Update modal content if modal is open
1144
+ if (targetSession) {
1145
+ const session = getSessionById(targetSession);
1146
+ if (session) {
1147
+ updateModalContent(session);
1148
+ } else {
1149
+ // Session was deleted, close modal
1150
+ closeModal();
1151
+ }
1152
+ }
1153
+
1128
1154
  if (!list || !list.length) {
1129
1155
  $sessions.innerHTML = `
1130
1156
  <div class="empty">