@vellumai/assistant 0.10.8-dev.202607151732.6085b59 → 0.10.8-dev.202607151831.d3cec7b

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": "@vellumai/assistant",
3
- "version": "0.10.8-dev.202607151732.6085b59",
3
+ "version": "0.10.8-dev.202607151831.d3cec7b",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -251,28 +251,17 @@ export async function getMemoryGraph(
251
251
 
252
252
  const workspaceDir = getWorkspaceDir();
253
253
  const pageIndex = await getPageIndex(workspaceDir);
254
- // Concepts plus functionality (skills / CLI-command capabilities). Feeding the
255
- // full set to the edge builders is what lets a concept's `[[skills/foo]]` link
256
- // and skill↔concept co-selections resolve to real edges — buildEdgeGraph and
257
- // computeLearnedEdgeGraph both drop endpoints outside the set they're given.
258
- // Functionality nodes that end up disconnected are pruned in assembleMemoryGraph.
259
- const entries = pageIndex.entries;
260
-
261
- // Synthetic rows (skills / CLI commands) carry `modifiedAt: 0` and have no
262
- // on-disk page. Keyed by slug (not prefix) so a real user page that happens
263
- // to live under a reserved prefix is NOT mistaken for a synthetic one.
264
- const syntheticSlugs = new Set(
265
- entries.filter((e) => e.modifiedAt <= 0).map((e) => e.slug),
266
- );
254
+ // The Memory graph is the assistant's learned mind: concept pages and the
255
+ // links between them. Skills and plugins have their own dedicated pages, so
256
+ // synthetic capability rows (skills / CLI commands, which carry `modifiedAt: 0`)
257
+ // are excluded here — the map is about what the assistant knows, not what it
258
+ // can do.
259
+ const entries = pageIndex.entries.filter((e) => e.modifiedAt > 0);
267
260
 
268
261
  // Raw (frontmatter + body) page reader, matching the v3 lane build. A read
269
262
  // that rejects drops that article's authored/wikilink edges but keeps its
270
- // numeric fallbacks. Synthetic capability rows have no page, so short-circuit
271
- // their guaranteed-miss read; a real page is read so its links are captured.
263
+ // numeric fallbacks.
272
264
  const pageRaw = async (slug: Slug): Promise<string> => {
273
- if (syntheticSlugs.has(slug)) {
274
- return "";
275
- }
276
265
  const page = await readPage(workspaceDir, slug);
277
266
  if (!page) {
278
267
  throw new Error(`page not found: ${slug}`);
@@ -309,7 +298,6 @@ export async function getMemoryGraph(
309
298
  entries,
310
299
  staticAdjacency: staticGraph.adjacency,
311
300
  learnedAdjacency: learnedGraph.adjacency,
312
- pruneDisconnectedNonConcepts: true,
313
301
  });
314
302
 
315
303
  return { backend: BACKEND_MEMORY_V3, supported: true, ...assembled };