mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-30 01:52:29 +00:00
* feat: rename working_dir to vault_dir and update documentation - Rename working_dir to vault_dir across the application - Update documentation to reflect vault_dir instead of working_dir - Change FileFrontMatter title field to name field - Update .gitignore to include vault directory - Modify file path descriptions to reference vault instead of working_dir - Update related configuration and property names accordingly * refactor(steps): rename working_path to vault_path in CRUD operations - Rename parameter from `working_path` to `vault_path` in `resolve_path` function - Update all usages in append, edit, read, and write steps to use `self.vault_path` - Update documentation comments to reflect the new parameter name - Update docstring in read.py to mention `vault_dir` instead of `vault` test(chunked_file_parser): update frontmatter field from title to name - Change frontmatter field from `title` to `name` in test cases - Update comment in background steps test to reference `vault_path` instead of `working_path` * refactor(schema): remove unused ResourceEntry import * feat(file_graph): add link scope filtering to get_inlinks/get_outlinks * feat(file-store): add scope parameter to link methods
17 lines
506 B
Python
17 lines
506 B
Python
"""Link-scope enumeration: which edges to return from get_inlinks / get_outlinks."""
|
|
|
|
from enum import Enum
|
|
|
|
|
|
class LinkScopeEnum(str, Enum):
|
|
"""Which subset of edges a link query should return.
|
|
|
|
A file-graph edge is **real** when both endpoints are indexed nodes,
|
|
and **virtual** (dangling / pending) when one endpoint is a placeholder
|
|
— a path referenced by a wikilink but never upserted, or upserted
|
|
then deleted.
|
|
"""
|
|
|
|
REAL = "real"
|
|
VIRTUAL = "virtual"
|
|
ALL = "all"
|