@swarmvaultai/engine 0.1.13 → 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 SwarmVault
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
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
- - `.js`, `.jsx`, `.ts`, and `.tsx` inputs are treated as code sources and compiled into both source pages and `wiki/code/` module pages
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 JS/TS sources
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
- JS/TS 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.
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