agent-knowledge 1.0.1 → 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) {
@@ -448,11 +448,13 @@ h1 {
448
448
  .search-controls {
449
449
  display: flex;
450
450
  align-items: center;
451
- justify-content: space-between;
452
451
  margin-bottom: 16px;
453
452
  flex-wrap: wrap;
454
453
  gap: 8px;
455
454
  }
455
+ .search-controls .mode-toggle {
456
+ margin-left: auto;
457
+ }
456
458
 
457
459
  .mode-toggle {
458
460
  display: flex;
@@ -870,7 +872,6 @@ h1 {
870
872
  .side-panel.open {
871
873
  width: var(--panel-width);
872
874
  min-width: 320px;
873
- overflow: hidden;
874
875
  }
875
876
 
876
877
  /* ── Panel Resize Handle ───────────────────────────────────────────────── */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-knowledge",
3
- "version": "1.0.1",
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",