@zabaca/lattice 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1315,7 +1315,7 @@ class EmbeddingService {
1315
1315
  switch (this.config.provider) {
1316
1316
  case "openai":
1317
1317
  if (!this.config.apiKey) {
1318
- throw new Error("OPENAI_API_KEY environment variable is required for embeddings. " + "Set it in packages/graph/.env or use --no-embeddings to skip embedding generation.");
1318
+ throw new Error("OPENAI_API_KEY environment variable is required for embeddings. " + "Set it in .env or use --no-embeddings to skip embedding generation.");
1319
1319
  }
1320
1320
  return new OpenAIEmbeddingProvider({
1321
1321
  apiKey: this.config.apiKey,
@@ -1326,7 +1326,7 @@ class EmbeddingService {
1326
1326
  return new MockEmbeddingProvider(this.config.dimensions);
1327
1327
  case "voyage":
1328
1328
  if (!this.config.apiKey) {
1329
- throw new Error("VOYAGE_API_KEY environment variable is required for embeddings. " + "Set it in packages/graph/.env or use --no-embeddings to skip embedding generation.");
1329
+ throw new Error("VOYAGE_API_KEY environment variable is required for embeddings. " + "Set it in .env or use --no-embeddings to skip embedding generation.");
1330
1330
  }
1331
1331
  return new VoyageEmbeddingProvider({
1332
1332
  apiKey: this.config.apiKey,
@@ -2335,7 +2335,7 @@ function registerStatusCommand(program) {
2335
2335
  `);
2336
2336
  } else {
2337
2337
  console.log(`Total: ${pendingCount} document(s) need syncing`);
2338
- console.log("\uD83D\uDCA1 Run `bun graph sync` to apply changes\n");
2338
+ console.log("\uD83D\uDCA1 Run `lattice sync` to apply changes\n");
2339
2339
  }
2340
2340
  await app.close();
2341
2341
  process.exit(0);
@@ -2427,7 +2427,7 @@ Relationship Types (${stats.relationshipTypes.length}):`);
2427
2427
  if (errorMsg.includes("no embeddings") || errorMsg.includes("vector")) {
2428
2428
  console.log(`
2429
2429
  Note: Semantic search requires embeddings to be generated first.`);
2430
- console.log(`Run 'bun graph sync' to generate embeddings for documents.
2430
+ console.log(`Run 'lattice sync' to generate embeddings for documents.
2431
2431
  `);
2432
2432
  }
2433
2433
  await app.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zabaca/lattice",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Human-initiated, AI-powered knowledge graph for markdown documentation",
5
5
  "type": "module",
6
6
  "bin": {