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 +11 -3
- package/dist/ui/styles.css +0 -1
- package/package.json +1 -1
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(
|
|
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
|
-
|
|
684
|
-
});
|
|
692
|
+
}, 400);
|
|
685
693
|
}
|
|
686
694
|
|
|
687
695
|
function stripFrontmatter(content) {
|
package/dist/ui/styles.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-knowledge",
|
|
3
|
-
"version": "1.0.
|
|
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",
|