@swarmvaultai/engine 0.1.27 → 0.1.29
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 +3 -1
- package/dist/chunk-EXD4RWT3.js +1131 -0
- package/dist/chunk-IHMJCCXR.js +1146 -0
- package/dist/index.d.ts +14 -6
- package/dist/index.js +1096 -162
- package/dist/registry-5SYH3Y3U.js +12 -0
- package/dist/registry-KLO5YIHP.js +12 -0
- package/dist/viewer/assets/index-Csm8eB3P.js +331 -0
- package/dist/viewer/assets/index-DUJ6MWHL.css +1 -0
- package/dist/viewer/index.html +2 -2
- package/dist/viewer/lib.js +178 -0
- package/package.json +12 -9
- package/LICENSE +0 -21
- package/dist/viewer/assets/index-C7PCTMog.js +0 -330
- package/dist/viewer/assets/index-DiMCbjBi.css +0 -1
package/README.md
CHANGED
|
@@ -161,11 +161,12 @@ This matters because many "OpenAI-compatible" backends only implement part of th
|
|
|
161
161
|
- `ingestInput(rootDir, input, { includeAssets, maxAssetSize })` ingests a local file path or URL
|
|
162
162
|
- `addInput(rootDir, input, { author, contributor })` captures supported URLs into normalized markdown before ingesting them, or falls back to generic URL ingest
|
|
163
163
|
- `ingestDirectory(rootDir, inputDir, { repoRoot, include, exclude, maxFiles, gitignore, extractClasses })` recursively ingests a local directory as a repo-aware code/content source tree
|
|
164
|
-
- `importInbox(rootDir, inputDir?)` recursively imports supported inbox files and browser-clipper style bundles
|
|
164
|
+
- `importInbox(rootDir, inputDir?)` recursively imports supported inbox files plus markdown and HTML browser-clipper style bundles
|
|
165
165
|
- JavaScript, TypeScript, Python, Go, Rust, Java, C#, C, C++, PHP, Ruby, and PowerShell inputs are treated as code sources and compiled into both source pages and `wiki/code/` module pages
|
|
166
166
|
- code manifests can carry `repoRelativePath`, and compile writes `state/code-index.json` so local imports can resolve across an ingested repo tree
|
|
167
167
|
- 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
|
|
168
168
|
- HTML and markdown URL ingests localize remote image references into `raw/assets/<sourceId>/` by default and rewrite the stored markdown to local relative paths
|
|
169
|
+
- PDF and DOCX ingests now write extracted-text and metadata sidecars under `state/extracts/`, and image ingest keeps the same sidecar model for vision extraction
|
|
169
170
|
|
|
170
171
|
### Compile + Query
|
|
171
172
|
|
|
@@ -193,6 +194,7 @@ This matters because many "OpenAI-compatible" backends only implement part of th
|
|
|
193
194
|
- `syncTrackedRepos(rootDir)` refreshes previously ingested repo roots, updates changed manifests, and removes deleted repo manifests
|
|
194
195
|
- `syncTrackedReposForWatch(rootDir)` is the repo-watch sync path that defers non-code semantic refresh into `state/watch/`
|
|
195
196
|
- `installGitHooks(rootDir)`, `uninstallGitHooks(rootDir)`, and `getGitHookStatus(rootDir)` manage local `post-commit` and `post-checkout` hook blocks for the nearest git repository
|
|
197
|
+
- `installAgent(rootDir, agent, { hook })` writes agent instructions and returns the primary `target`, all touched `targets`, and optional merge warnings for agents such as Aider
|
|
196
198
|
- `lintVault(rootDir, options)` runs structural lint, optional deep lint, and optional web-augmented evidence gathering
|
|
197
199
|
- `listSchedules(rootDir)`, `runSchedule(rootDir, jobId)`, and `serveSchedules(rootDir)` manage recurring local jobs from config
|
|
198
200
|
- compile, query, explore, lint, and watch also write canonical markdown session artifacts to `state/sessions/`
|