@webinson/peer 0.4.31 → 0.4.32

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/bin/peer.mjs CHANGED
@@ -1139,7 +1139,8 @@ async function teamHook(event, input) {
1139
1139
  const query = `${prompt.slice(0, 400)}${branch && branch !== "HEAD" ? ` (branch ${branch})` : ""}`;
1140
1140
  const search = async (target) =>
1141
1141
  ((await teamCall(team, "POST", "/search/find", { query, target_uri: target, limit: 10 })).value.result?.resources ?? [])
1142
- .filter((hit) => hit.score >= 0.7 && hit.uri.endsWith(".md"));
1142
+ // A folder's own summary (.abstract.md, .overview.md) is no page; an empty knowledge/ returns only that.
1143
+ .filter((hit) => hit.score >= 0.7 && hit.uri.endsWith(".md") && !hit.uri.split("/").pop().startsWith("."));
1143
1144
  let hits = await search(`${root}/knowledge`);
1144
1145
  if (!hits.length) hits = await search(`${root}/inputs`);
1145
1146
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peer-thread-mark",
3
- "version": "0.4.31",
3
+ "version": "0.4.32",
4
4
  "description": "Marks a Claude Code thread shared with Peer (/peer) with a band above the prompt, with /peer stop and /peer start; panes for /peer-list, /peer-thread and /peer-all (search your memories)",
5
5
  "license": "MIT",
6
6
  "types": "./types/index.d.ts"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webinson/peer",
3
- "version": "0.4.31",
3
+ "version": "0.4.32",
4
4
  "description": "Share chosen Claude Code and Codex threads with your team: who has agents running and on what.",
5
5
  "license": "MIT",
6
6
  "type": "module",