@swarmvaultai/engine 0.1.14 → 0.1.15
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 +8 -3
- package/dist/chunk-EEWB4WGH.js +1056 -0
- package/dist/index.d.ts +20 -6
- package/dist/index.js +808 -50
- package/dist/registry-YDXVCE4Q.js +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -97,6 +97,11 @@ The engine supports:
|
|
|
97
97
|
- `anthropic`
|
|
98
98
|
- `gemini`
|
|
99
99
|
- `ollama`
|
|
100
|
+
- `openrouter`
|
|
101
|
+
- `groq`
|
|
102
|
+
- `together`
|
|
103
|
+
- `xai`
|
|
104
|
+
- `cerebras`
|
|
100
105
|
- `openai-compatible`
|
|
101
106
|
- `custom`
|
|
102
107
|
|
|
@@ -119,7 +124,7 @@ This matters because many "OpenAI-compatible" backends only implement part of th
|
|
|
119
124
|
|
|
120
125
|
- `ingestInput(rootDir, input, { includeAssets, maxAssetSize })` ingests a local path or URL
|
|
121
126
|
- `importInbox(rootDir, inputDir?)` recursively imports supported inbox files and browser-clipper style bundles
|
|
122
|
-
-
|
|
127
|
+
- JavaScript, TypeScript, Python, Go, Rust, and Java inputs are treated as code sources and compiled into both source pages and `wiki/code/` module pages
|
|
123
128
|
- HTML and markdown URL ingests localize remote image references into `raw/assets/<sourceId>/` by default and rewrite the stored markdown to local relative paths
|
|
124
129
|
|
|
125
130
|
### Compile + Query
|
|
@@ -164,7 +169,7 @@ Running the engine produces a local workspace with these main areas:
|
|
|
164
169
|
- `raw/assets/`: copied attachments referenced by ingested markdown bundles and remote URL ingests
|
|
165
170
|
- `wiki/`: generated markdown pages, the append-only `log.md` activity trail, staged candidates, saved query outputs, exploration hub pages, and a human-only `insights/` area
|
|
166
171
|
- `wiki/outputs/assets/`: local chart/image artifacts and JSON manifests for saved visual outputs
|
|
167
|
-
- `wiki/code/`: generated module pages for ingested
|
|
172
|
+
- `wiki/code/`: generated module pages for ingested code sources
|
|
168
173
|
- `wiki/projects/`: generated project rollups over canonical pages
|
|
169
174
|
- `wiki/candidates/`: staged concept and entity pages awaiting confirmation on a later compile
|
|
170
175
|
- `state/manifests/`: source manifests
|
|
@@ -178,7 +183,7 @@ Running the engine produces a local workspace with these main areas:
|
|
|
178
183
|
- `state/jobs.ndjson`: watch-mode automation logs
|
|
179
184
|
|
|
180
185
|
Saved outputs are indexed immediately into the graph page registry and search index, then linked back into compiled source, concept, and entity pages immediately through the lightweight artifact sync path. New concept and entity pages stage into `wiki/candidates/` first and promote to active pages on the next matching compile. Insight pages are indexed into search and page reads, but compile does not mutate them. Project-scoped pages receive `project_ids`, project tags, and layered root-plus-project schema hashes when all contributing sources resolve to the same configured project.
|
|
181
|
-
|
|
186
|
+
Code sources also emit module and symbol nodes into `state/graph.json`, so local imports, exports, inheritance, and same-module call edges are queryable through the same viewer and search pipeline.
|
|
182
187
|
Ingest, inbox import, compile, query, lint, review, and candidate operations also append human-readable entries to `wiki/log.md`.
|
|
183
188
|
|
|
184
189
|
## Notes
|