@swarmvaultai/engine 0.1.11 → 0.1.13

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 CHANGED
@@ -117,9 +117,10 @@ This matters because many "OpenAI-compatible" backends only implement part of th
117
117
 
118
118
  ### Ingest
119
119
 
120
- - `ingestInput(rootDir, input)` ingests a local path or URL
120
+ - `ingestInput(rootDir, input, { includeAssets, maxAssetSize })` ingests a local path or URL
121
121
  - `importInbox(rootDir, inputDir?)` recursively imports supported inbox files and browser-clipper style bundles
122
122
  - `.js`, `.jsx`, `.ts`, and `.tsx` inputs are treated as code sources and compiled into both source pages and `wiki/code/` module pages
123
+ - HTML and markdown URL ingests localize remote image references into `raw/assets/<sourceId>/` by default and rewrite the stored markdown to local relative paths
123
124
 
124
125
  ### Compile + Query
125
126
 
@@ -160,8 +161,8 @@ Running the engine produces a local workspace with these main areas:
160
161
  - `swarmvault.schema.md`: vault-specific compile and query instructions
161
162
  - `inbox/`: capture staging area for markdown bundles and imported files
162
163
  - `raw/sources/`: immutable source copies
163
- - `raw/assets/`: copied attachments referenced by ingested markdown bundles
164
- - `wiki/`: generated markdown pages, staged candidates, saved query outputs, exploration hub pages, and a human-only `insights/` area
164
+ - `raw/assets/`: copied attachments referenced by ingested markdown bundles and remote URL ingests
165
+ - `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
165
166
  - `wiki/outputs/assets/`: local chart/image artifacts and JSON manifests for saved visual outputs
166
167
  - `wiki/code/`: generated module pages for ingested JS/TS sources
167
168
  - `wiki/projects/`: generated project rollups over canonical pages
@@ -178,6 +179,7 @@ Running the engine produces a local workspace with these main areas:
178
179
 
179
180
  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.
180
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.
182
+ Ingest, inbox import, compile, query, lint, review, and candidate operations also append human-readable entries to `wiki/log.md`.
181
183
 
182
184
  ## Notes
183
185