@gmickel/gno 0.27.0 → 0.27.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmickel/gno",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "description": "Local semantic search for your documents. Index Markdown, PDF, and Office files with hybrid BM25 + vector search.",
5
5
  "keywords": [
6
6
  "embeddings",
@@ -1423,7 +1423,8 @@ export async function handleCreateDoc(
1423
1423
  await atomicWrite(fullPath, contentToWrite);
1424
1424
 
1425
1425
  // Build gno:// URI for the created document
1426
- const gnoUri = `gno://${collection.name}/${normalizedRelPath}`;
1426
+ const posixRelPath = normalizedRelPath.split(nodePath.sep).join("/");
1427
+ const gnoUri = `gno://${collection.name}/${posixRelPath}`;
1427
1428
 
1428
1429
  // Run sync via job system (non-blocking)
1429
1430
  // Note: embedding handled separately by embed-scheduler (not inline)