bluera-knowledge 0.27.2 → 0.27.4

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/index.js CHANGED
@@ -3,11 +3,11 @@ import {
3
3
  ZilAdapter,
4
4
  runMCPServer,
5
5
  spawnBackgroundWorker
6
- } from "./chunk-LBE2PTSB.js";
6
+ } from "./chunk-UXT3BCAH.js";
7
7
  import {
8
8
  IntelligentCrawler,
9
9
  getCrawlStrategy
10
- } from "./chunk-S3DJUNUG.js";
10
+ } from "./chunk-BYLIDCWD.js";
11
11
  import {
12
12
  ASTParser,
13
13
  AdapterRegistry,
@@ -25,7 +25,7 @@ import {
25
25
  isRepoStoreDefinition,
26
26
  isWebStoreDefinition,
27
27
  ok
28
- } from "./chunk-GB5WKUBX.js";
28
+ } from "./chunk-WP2GERAJ.js";
29
29
  import {
30
30
  createDocumentId
31
31
  } from "./chunk-CLIMKLTW.js";
@@ -966,21 +966,25 @@ declare class SearchService {
966
966
  * When stores are created, this service ensures the project's .gitignore
967
967
  * is updated to:
968
968
  * - Ignore the .bluera/ data directory (not committed)
969
- * - Allow committing .bluera/bluera-knowledge/stores.config.json (for team sharing)
969
+ * - Allow committing config files (for team sharing)
970
+ *
971
+ * Uses glob-style patterns (`.bluera/*`) for multi-plugin safety and
972
+ * managed `BEGIN`/`END` section markers for clean upgrades.
970
973
  */
971
974
  declare class GitignoreService {
972
975
  private readonly gitignorePath;
973
976
  constructor(projectRoot: string);
974
977
  /**
975
- * Check if all required patterns are present in .gitignore
978
+ * Check if all required patterns are semantically present in .gitignore
976
979
  */
977
980
  hasRequiredPatterns(): Promise<boolean>;
978
981
  /**
979
982
  * Ensure required .gitignore patterns are present.
980
983
  *
981
984
  * - Creates .gitignore if it doesn't exist
982
- * - Appends missing patterns if .gitignore exists
983
- * - Does nothing if all patterns are already present
985
+ * - Removes existing managed sections (old or new format)
986
+ * - Appends only semantically missing patterns with BEGIN/END markers
987
+ * - Persists cleanup even when no patterns are missing
984
988
  *
985
989
  * @returns Object with updated flag and descriptive message
986
990
  */
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createMCPServer,
3
3
  runMCPServer
4
- } from "../chunk-LBE2PTSB.js";
5
- import "../chunk-GB5WKUBX.js";
4
+ } from "../chunk-UXT3BCAH.js";
5
+ import "../chunk-WP2GERAJ.js";
6
6
  import "../chunk-CLIMKLTW.js";
7
7
  import "../chunk-H25AEF47.js";
8
8
  import "../chunk-DGUM43GV.js";
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  IntelligentCrawler
4
- } from "../chunk-S3DJUNUG.js";
4
+ } from "../chunk-BYLIDCWD.js";
5
5
  import {
6
6
  JobService,
7
7
  createLogger,
8
8
  createServices,
9
9
  destroyServices,
10
10
  shutdownLogger
11
- } from "../chunk-GB5WKUBX.js";
11
+ } from "../chunk-WP2GERAJ.js";
12
12
  import {
13
13
  createDocumentId,
14
14
  createStoreId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bluera-knowledge",
3
- "version": "0.27.2",
3
+ "version": "0.27.4",
4
4
  "description": "CLI tool for managing knowledge stores with semantic search",
5
5
  "type": "module",
6
6
  "bin": {