@swarmvaultai/engine 0.1.16 → 0.1.18
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 +5 -2
- package/dist/chunk-333AMRSV.js +1056 -0
- package/dist/chunk-NCSZ4AKP.js +1057 -0
- package/dist/index.d.ts +43 -3
- package/dist/index.js +1775 -1035
- package/dist/registry-JFEW5RUP.js +12 -0
- package/dist/registry-ZNW3FDED.js +12 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -122,9 +122,11 @@ This matters because many "OpenAI-compatible" backends only implement part of th
|
|
|
122
122
|
|
|
123
123
|
### Ingest
|
|
124
124
|
|
|
125
|
-
- `ingestInput(rootDir, input, { includeAssets, maxAssetSize })` ingests a local path or URL
|
|
125
|
+
- `ingestInput(rootDir, input, { includeAssets, maxAssetSize })` ingests a local file path or URL
|
|
126
|
+
- `ingestDirectory(rootDir, inputDir, { repoRoot, include, exclude, maxFiles, gitignore })` recursively ingests a local directory as a repo-aware code/content source tree
|
|
126
127
|
- `importInbox(rootDir, inputDir?)` recursively imports supported inbox files and browser-clipper style bundles
|
|
127
|
-
- JavaScript, TypeScript, Python, Go, Rust, and
|
|
128
|
+
- JavaScript, TypeScript, Python, Go, Rust, Java, C#, C, C++, and PHP inputs are treated as code sources and compiled into both source pages and `wiki/code/` module pages
|
|
129
|
+
- code manifests can carry `repoRelativePath`, and compile writes `state/code-index.json` so local imports can resolve across an ingested repo tree
|
|
128
130
|
- HTML and markdown URL ingests localize remote image references into `raw/assets/<sourceId>/` by default and rewrite the stored markdown to local relative paths
|
|
129
131
|
|
|
130
132
|
### Compile + Query
|
|
@@ -175,6 +177,7 @@ Running the engine produces a local workspace with these main areas:
|
|
|
175
177
|
- `state/manifests/`: source manifests
|
|
176
178
|
- `state/extracts/`: extracted text
|
|
177
179
|
- `state/analyses/`: model analysis output
|
|
180
|
+
- `state/code-index.json`: repo-aware code module aliases and local resolution data
|
|
178
181
|
- `state/graph.json`: compiled graph
|
|
179
182
|
- `state/search.sqlite`: full-text index
|
|
180
183
|
- `state/sessions/`: canonical session artifacts
|