claude-code-kanban 7.6.1 → 7.8.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/public/sw.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const CACHE_NAME = 'cc-kanban-v2';
2
- const PRECACHE_URLS = ['/', '/style.css', '/project-match.js', '/link-url.js', '/app.js'];
2
+ const PRECACHE_URLS = ['/', '/style.css', '/project-match.js', '/link-url.js', '/group-tree.js', '/app.js'];
3
3
 
4
4
  let cachePromise = null;
5
5
  function getCache() {
@@ -176,6 +176,18 @@
176
176
  if (e.target !== term.textarea) forwardClaimed(e);
177
177
  });
178
178
  term.textarea.addEventListener('focus', () => up('focused'));
179
+ // xterm reports focus only when its textarea gains or loses it, not when an app turns focus reporting
180
+ // (DECSET 1004) on. After a reload xterm is focused before the replayed output sets the mode, so the
181
+ // app never gets a focus-in and draws its cursor as unfocused.
182
+ term.parser.registerCsiHandler({ prefix: '?', final: 'h' }, (params) => {
183
+ if (!params.includes(1004) || term.modes.sendFocusMode) return false;
184
+ win.queueMicrotask(() => {
185
+ if (term.modes.sendFocusMode && doc.hasFocus() && doc.activeElement === term.textarea) {
186
+ send({ t: 'in', d: '\x1b[I' });
187
+ }
188
+ });
189
+ return false;
190
+ });
179
191
  // xterm leaves OSC 10/11 color queries unanswered, so apps that pick a palette from the
180
192
  // background (Claude Code's Auto theme) assume dark even on a light theme.
181
193
  for (const [code, key] of [
@@ -1,4 +1,4 @@
1
- // claude-hub-sdk 1.4.0 (sha256 7d559a8888ce). Copied by npm run sdk:sync in claude-code-hub. Do not edit.
1
+ // claude-hub-sdk 1.5.0 (sha256 1505d3d5f8ba). Copied by npm run sdk:sync in claude-code-hub. Do not edit.
2
2
  // Claude Code Hub SDK: the one rule that names a key press, shared by the hub page, client.js and
3
3
  // stub.js. The hub serves it to its page as /sdk/keys.js; mount() and sdk:sync put it in front of
4
4
  // client.js and stub.js, so an app still loads one file.