attraverso 0.1.2 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attraverso",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Durable, structured project memory that Claude reads and writes over MCP, stored as version-controlled YAML.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/server.js CHANGED
@@ -20180,7 +20180,7 @@ class StdioServerTransport {
20180
20180
  }
20181
20181
  }
20182
20182
  const name = "attraverso";
20183
- const version = "0.1.2";
20183
+ const version = "0.1.3";
20184
20184
  const pkg = {
20185
20185
  name,
20186
20186
  version
@@ -47218,8 +47218,11 @@ ${buildStamp()}`);
47218
47218
  const p2 = await resolveProject(db, caller, project);
47219
47219
  const { hits, relaxed } = await search(db, p2.id, query, limit2);
47220
47220
  if (hits.length === 0) {
47221
- return text(`no matches for "${query}".
47222
- If that is surprising, try fewer or more distinctive words - every word has to appear in the same document.`);
47221
+ return {
47222
+ ...text(`no matches for "${query}".
47223
+ If that is surprising, try fewer or more distinctive words - every word has to appear in the same document.`),
47224
+ structuredContent: { query, relaxed, hits: [] }
47225
+ };
47223
47226
  }
47224
47227
  const how = relaxed ? `no document contains all of "${query}", so these match some of it, best first` : `${hits.length} hit${hits.length === 1 ? "" : "s"} for "${query}", best first`;
47225
47228
  return {