mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-06-18 20:15:18 +02:00
fix(filesystem): remove session ref aliases from cli output
This commit is contained in:
parent
06d8553a0a
commit
a80b84dae4
5 changed files with 82 additions and 54 deletions
|
|
@ -36,8 +36,10 @@ commands described in the workspace context. grep -R is lexical evidence search;
|
|||
semantic search commands return candidate documents and do not guarantee literal
|
||||
text matches. Errors are returned as text prefixed with ERROR. Do not call
|
||||
commands that are not listed as available. When evidence is required, inspect it
|
||||
with cat or grep before answering. Prefer shell-like target-first cat syntax:
|
||||
cat <ref> --structure, cat <ref> --page 31-59, and cat <ref> --node 0009.
|
||||
with cat or grep before answering. Prefer shell-like target-first cat syntax
|
||||
with stable targets: cat <path> --structure, cat <path> --page 31-59, and
|
||||
cat <path> --node 0009. You may also use file_ref or document_id when a path is
|
||||
ambiguous.
|
||||
"""
|
||||
|
||||
AGENT_TOOL_POLICY = """
|
||||
|
|
@ -51,8 +53,8 @@ Tool policy:
|
|||
- Semantic search commands are candidate-discovery tools and do not guarantee literal text matches.
|
||||
- Tool errors are returned as ERROR text; recover by trying an available command.
|
||||
- Use cat or grep to gather evidence before making source-backed claims.
|
||||
- Prefer target-first cat syntax: cat <ref> --structure, cat <ref> --page 31-59, cat <ref> --node <node_id>.
|
||||
- Do not call cat --page <ref> <start> <end>; if you need a page span, use cat <ref> --page <start>-<end>.
|
||||
- Prefer target-first cat syntax with stable targets: cat <path> --structure, cat <path> --page 31-59, cat <path> --node <node_id>.
|
||||
- Do not call cat --page <target> <start> <end>; if you need a page span, use cat <target> --page <start>-<end>.
|
||||
"""
|
||||
|
||||
STREAM_MODE_ALIASES = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue