agent-knowledge 1.0.2 → 1.0.3

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/dist/ui/app.js CHANGED
@@ -678,10 +678,18 @@
678
678
  state.panel = { open: false, type: null, data: null };
679
679
  el.sidePanel.classList.remove('open');
680
680
  el.contentWrapper.classList.remove('panel-visible');
681
- el.sidePanel.addEventListener('transitionend', function handler() {
681
+ el.sidePanel.addEventListener(
682
+ 'transitionend',
683
+ function handler() {
684
+ if (!state.panel.open) el.sidePanel.hidden = true;
685
+ el.sidePanel.removeEventListener('transitionend', handler);
686
+ },
687
+ { once: true },
688
+ );
689
+ // Fallback: hide after 400ms if transitionend doesn't fire
690
+ setTimeout(() => {
682
691
  if (!state.panel.open) el.sidePanel.hidden = true;
683
- el.sidePanel.removeEventListener('transitionend', handler);
684
- });
692
+ }, 400);
685
693
  }
686
694
 
687
695
  function stripFrontmatter(content) {
@@ -872,7 +872,6 @@ h1 {
872
872
  .side-panel.open {
873
873
  width: var(--panel-width);
874
874
  min-width: 320px;
875
- overflow: hidden;
876
875
  }
877
876
 
878
877
  /* ── Panel Resize Handle ───────────────────────────────────────────────── */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-knowledge",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Cross-session memory and recall for AI agents — git-synced knowledge base, hybrid semantic+TF-IDF search, auto-distillation with secrets scrubbing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",