@engineeros/connector 1.25.1 → 1.28.0
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/README.md +3 -1
- package/bin/engineeros-connector.mjs +178 -159
- package/grammars/NOTICE.md +197 -0
- package/grammars/go.tags.scm +42 -0
- package/grammars/go.wasm +0 -0
- package/grammars/java.tags.scm +20 -0
- package/grammars/java.wasm +0 -0
- package/grammars/javascript.tags.scm +99 -0
- package/grammars/javascript.wasm +0 -0
- package/grammars/php.tags.scm +40 -0
- package/grammars/php.wasm +0 -0
- package/grammars/python.tags.scm +14 -0
- package/grammars/python.wasm +0 -0
- package/grammars/ruby.tags.scm +64 -0
- package/grammars/ruby.wasm +0 -0
- package/grammars/rust.tags.scm +60 -0
- package/grammars/rust.wasm +0 -0
- package/grammars/tsx.tags.scm +23 -0
- package/grammars/tsx.wasm +0 -0
- package/grammars/typescript.tags.scm +23 -0
- package/grammars/typescript.wasm +0 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -247,7 +247,9 @@ restored before resuming. Submitted results and final acceptance receipts retain
|
|
|
247
247
|
|
|
248
248
|
## Local context engine
|
|
249
249
|
|
|
250
|
-
The connector keeps a local index for each workspace under `~/.engineeros/context/<connector id>/workspaces/`: file classifications, symbols, document headings, and import relationships for every safe file. Separating indexes by resolved workspace keeps the source checkout and concurrent Goal worktrees from replacing one another. An index is built at onboarding, refreshed incrementally from file digests when EngineerOS triggers a workspace refresh, and re-checked before every assignment.
|
|
250
|
+
The connector keeps a local index for each workspace under `~/.engineeros/context/<connector id>/workspaces/`: file classifications, symbols, document headings, and import relationships for every safe file. Separating indexes by resolved workspace keeps the source checkout and concurrent Goal worktrees from replacing one another. An index is built at onboarding, refreshed incrementally from file digests when EngineerOS triggers a workspace refresh, and re-checked before every assignment. Symbols in Python, JavaScript, TypeScript, Go, Java, Rust, Ruby and PHP come from tree-sitter syntax trees, using grammars shipped with the connector, so methods inside classes are indexed and `engineeros_read_symbol` returns exactly one declaration; other languages use line patterns.
|
|
251
|
+
|
|
252
|
+
Before a workspace assessment stage runs, the connector also extracts repository facts from that index without a model: routes and pages, data models and migrations, integrations declared in dependency manifests, configuration keys, delivery and runtime files, and files that check authentication. They are cached per commit in `.engineeros/context/repository-facts.md`. Each stage receives the slice it starts from, and the capability catalog receives draft capability areas with their locations, so stages confirm a known inventory instead of rediscovering it.
|
|
251
253
|
|
|
252
254
|
Every assignment prompt arrives with a bounded, task-ranked Markdown working set. It names the most relevant paths, symbol and heading locations, local dependencies, direct consumers, and candidate tests, followed by a pointer to the durable source map at `.engineeros/context/source-map.md`. The connector ranks from the assignment's focused context query, frozen Goal packet, assessment stage identity, or current project request as appropriate. It never pastes source-file contents into the prompt; the Agent reads deeper through the source map, the listed files, assessment sections, ordinary file tools, or the attached `engineeros_*` MCP tools. Ranking is structural and lexical, using indexed paths, symbols, summaries, and imports; it does not generate or store embeddings.
|
|
253
255
|
|