cntx-ui 2.0.1 → 2.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cntx-ui",
3
3
  "type": "module",
4
- "version": "2.0.1",
4
+ "version": "2.0.3",
5
5
  "description": "Minimal file bundling and tagging tool for AI development",
6
6
  "keywords": [
7
7
  "ai",
package/server.js CHANGED
@@ -58,6 +58,9 @@ export class CntxServer {
58
58
  }
59
59
 
60
60
  loadConfig() {
61
+ // Clear existing bundles to ensure deleted ones are removed
62
+ this.bundles.clear();
63
+
61
64
  if (existsSync(this.CONFIG_FILE)) {
62
65
  const config = JSON.parse(readFileSync(this.CONFIG_FILE, 'utf8'));
63
66
  Object.entries(config.bundles || {}).forEach(([name, patterns]) => {