1.1 KiB
1.1 KiB
description
| description |
|---|
| Bulk-index code or docs into the active EEMS |
The user invoked /index with arguments: $ARGUMENTS
Expected forms:
/index status [project]→ callindex_status(with optional project filter). Paste the returned string verbatim./index clear <code|docs|all> [project]→ callindex_clearwith the given kind + optional project. Report one line:cleared: code=<N>, docs=<N>./index code <root_path> [project] [extensions]→ callindex_code. Ifprojectis omitted, derive it from the basename ofroot_path. Ifextensionsis omitted, leave it unset (sane defaults kick in). Report two lines:indexed <files_indexed>/<files_seen> files (skipped <files_skipped>) chunks: <chunks_inserted> inserted, <chunks_embedded> embedded, <embed_failures> embed failures/index docs <root_path> [project]→ callindex_docs. Project derivation same as above. Same two-line report shape.
Rules:
- If you derived
projectfrom the path, echo it as(project=<name>)on its own line. - No narration. No "I will...".
- If
$ARGUMENTSis empty or starts withhelp, list the four forms above and stop.