agent-knowledge 1.3.14 → 1.3.15

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.
@@ -2,7 +2,7 @@
2
2
  "id": "agent-knowledge",
3
3
  "name": "Knowledge",
4
4
  "icon": "psychology",
5
- "version": "1.3.14",
5
+ "version": "1.3.15",
6
6
  "description": "Knowledge base — entries, sessions, search, graph relationships",
7
7
  "ui": "./dist/ui/app.js",
8
8
  "css": "./dist/ui/styles.css",
package/dist/ui/app.js CHANGED
@@ -545,7 +545,13 @@
545
545
  // ── Init ───────────────────────────────────────────────────────────────────
546
546
 
547
547
  async function init() {
548
- el = _buildEl();
548
+ try {
549
+ el = _buildEl();
550
+ K._el = el;
551
+ K._state = state;
552
+ } catch (err) {
553
+ console.error('[agent-knowledge] init _buildEl failed:', err);
554
+ }
549
555
  K.initTheme();
550
556
  bindEvents();
551
557
  K.initSessionScroll(state, el);
@@ -623,6 +629,8 @@
623
629
  K._root = shadow;
624
630
  init();
625
631
  K.initPanelResize();
632
+ var themeBtn = shadow.getElementById('theme-toggle');
633
+ if (themeBtn) themeBtn.style.display = 'none';
626
634
  };
627
635
 
628
636
  K.unmount = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-knowledge",
3
- "version": "1.3.14",
3
+ "version": "1.3.15",
4
4
  "description": "Cross-session memory and recall for AI agents — git-synced knowledge base, knowledge graph, confidence scoring, hybrid semantic+TF-IDF search, auto-distillation with secrets scrubbing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",