@swarmvaultai/engine 3.6.0 → 3.7.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 +5 -4
- package/dist/chunk-S2E65WRI.js +26062 -0
- package/dist/index.d.ts +74 -2
- package/dist/index.js +835 -131
- package/dist/memory-DNSQCDHC.js +32 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -235,7 +235,7 @@ This matters because many "OpenAI-compatible" backends only implement part of th
|
|
|
235
235
|
|
|
236
236
|
### Ingest
|
|
237
237
|
|
|
238
|
-
- `addManagedSource(rootDir, input, { compile, brief, maxPages, maxDepth })` registers and syncs a recurring source, then optionally compiles and writes a source brief
|
|
238
|
+
- `addManagedSource(rootDir, input, { compile, brief, maxPages, maxDepth, branch, ref, checkoutDir })` registers and syncs a recurring source, then optionally compiles and writes a source brief
|
|
239
239
|
- `listManagedSourceRecords(rootDir)` lists registry-backed managed sources from `state/sources.json`
|
|
240
240
|
- `reloadManagedSources(rootDir, { id, all, compile, brief, maxPages, maxDepth })` re-syncs one managed source or the full registry
|
|
241
241
|
- `deleteManagedSource(rootDir, id)` removes a managed-source registry entry and transient sync state without deleting canonical vault artifacts
|
|
@@ -244,12 +244,12 @@ This matters because many "OpenAI-compatible" backends only implement part of th
|
|
|
244
244
|
- `addInput(rootDir, input, { author, contributor })` captures supported URLs into normalized markdown before ingesting them, or falls back to generic URL ingest
|
|
245
245
|
- `ingestDirectory(rootDir, inputDir, { repoRoot, include, exclude, maxFiles, gitignore, extractClasses })` recursively ingests a local directory as a repo-aware code/content source tree
|
|
246
246
|
- `importInbox(rootDir, inputDir?)` recursively imports supported inbox files plus markdown and HTML browser-clipper style bundles
|
|
247
|
-
- managed sources support local directories, public GitHub repo root URLs, and bounded same-domain docs hubs
|
|
247
|
+
- managed sources support local directories, public GitHub repo root URLs, and bounded same-domain docs hubs; GitHub repo sources can pin `branch`, `ref`, and `checkoutDir`
|
|
248
248
|
- registry data lives in `state/sources.json`, working state lives under `state/sources/<id>/`, and source briefs are written to `wiki/outputs/source-briefs/<id>.md`
|
|
249
249
|
- EPUB inputs split into chapter-level manifests with shared group metadata so books stay navigable instead of becoming one giant source
|
|
250
250
|
- CSV and TSV inputs produce bounded tabular summaries with delimiter-aware previews and compact column hints
|
|
251
251
|
- XLSX inputs extract workbook-level and sheet-level previews, while PPTX inputs extract slide text plus speaker notes when present
|
|
252
|
-
- JavaScript, JSX, TypeScript, TSX, Bash/shell script, Python, Go, Rust, Java, Kotlin, Scala, Dart, Lua, Zig, C#, C, C++, PHP, Ruby, and
|
|
252
|
+
- JavaScript, JSX, TypeScript, TSX, Bash/shell script, Python, Go, Rust, Java, Kotlin, Scala, Dart, Lua, Zig, C#, C, C++, PHP, Ruby, PowerShell, Elixir, OCaml, Objective-C, ReScript, Solidity, HTML, CSS, Vue, Svelte, Julia, Verilog/SystemVerilog, R, and SQL inputs are treated as code sources and compiled into both source pages and `wiki/code/` module pages where parser support exists. Julia, Verilog/SystemVerilog, and R currently emit explicit parser-asset diagnostics when no packaged WASM grammar is available.
|
|
253
253
|
- `.rst` and `.rest` inputs are treated as first-class text sources with lightweight heading and directive normalization before analysis
|
|
254
254
|
- code manifests can carry `repoRelativePath`, and compile writes `state/code-index.json` so local imports can resolve across an ingested repo tree
|
|
255
255
|
- repo-aware manifests, graph nodes, and graph pages can also carry `sourceClass` so first-party, third-party, resource, and generated material can be filtered and reported separately
|
|
@@ -319,7 +319,7 @@ Running the engine produces a local workspace with these main areas:
|
|
|
319
319
|
- `raw/sources/`: immutable source copies
|
|
320
320
|
- `raw/assets/`: copied attachments referenced by ingested markdown bundles and remote URL ingests
|
|
321
321
|
- `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
|
|
322
|
-
- `wiki/graph/`: generated graph report pages, markdown/SVG share cards, the portable `share-kit/`, and per-community summaries derived from `state/graph.json`
|
|
322
|
+
- `wiki/graph/`: generated graph report pages, markdown/SVG share cards, the portable `share-kit/`, optional `tree.html`, and per-community summaries derived from `state/graph.json`
|
|
323
323
|
- `wiki/context/`: markdown companions for saved context packs
|
|
324
324
|
- `wiki/memory/`: markdown index and task pages for the agent task ledger
|
|
325
325
|
- `wiki/graph/report.json`: machine-readable graph report data used by the viewer and export surfaces
|
|
@@ -335,6 +335,7 @@ Running the engine produces a local workspace with these main areas:
|
|
|
335
335
|
- `state/code-index.json`: repo-aware code module aliases and local resolution data
|
|
336
336
|
- `state/benchmark.json`: latest benchmark/trust summary for the current vault
|
|
337
337
|
- `state/graph.json`: compiled graph, including semantic-similarity edges and hyperedge-style group patterns
|
|
338
|
+
- graph helpers include tree export, graph merge for SwarmVault/node-link JSON, read-only status checks, shrink-guarded code refresh, community refresh, graph query/path/explain, blast radius, and file exports
|
|
338
339
|
- `state/context-packs/`: JSON context-pack artifacts for agent kickoff, review, and handoff workflows
|
|
339
340
|
- `state/memory/tasks/`: JSON task records for the agent task ledger
|
|
340
341
|
- `state/retrieval/`: local retrieval index directory, including the SQLite FTS shard and manifest
|