agenr 0.7.21 → 0.8.1
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/CHANGELOG.md +18 -0
- package/dist/cli-main.d.ts +5 -0
- package/dist/cli-main.js +3457 -3104
- package/openclaw.plugin.json +1 -1
- package/package.json +13 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.1] - 2026-02-22
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- fix(openclaw-plugin): sync plugin version in openclaw.plugin.json to match npm package (was stale at 0.7.21, now 0.8.1)
|
|
7
|
+
|
|
8
|
+
## [0.8.0] - 2026-02-22
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- feat(ingest): whole-file extraction mode for transcript ingest. `extractKnowledgeFromChunks` now supports `wholeFile: "auto" | "force" | "never"` with automatic fit detection against known model context windows and single-call extraction when a file fits.
|
|
12
|
+
- feat(ingest): new `--whole-file` and `--chunk` ingest flags to force whole-file or chunked extraction mode.
|
|
13
|
+
- feat(ingest): new whole-file utilities in `src/ingest/whole-file.ts` for context-window detection, mode resolution, overlap-free message reconstruction, and hard-cap truncation.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- ingest: whole-file mode now reconstructs extraction text from parsed `messages` via `renderTranscriptLine` instead of joining chunk text, avoiding overlap duplication at chunk boundaries.
|
|
17
|
+
- extractor: whole-file mode now skips embedding pre-fetch and skips post-extraction LLM dedup, applies a 100-entry hard cap by importance, and retries failed whole-file extraction attempts before falling back to chunked mode.
|
|
18
|
+
- watch: watcher calls now set `watchMode: true`, which enforces chunked extraction even if whole-file mode is requested.
|
|
19
|
+
- mcp: ingest-style extraction now forwards parsed `messages` into extraction so whole-file mode can be resolved consistently.
|
|
20
|
+
|
|
3
21
|
## [0.7.21] - 2026-02-21
|
|
4
22
|
|
|
5
23
|
### Fixed
|
package/dist/cli-main.d.ts
CHANGED
|
@@ -164,13 +164,18 @@ interface ExtractChunkCompleteResult {
|
|
|
164
164
|
chunkIndex: number;
|
|
165
165
|
totalChunks: number;
|
|
166
166
|
entries: KnowledgeEntry[];
|
|
167
|
+
entriesExtracted?: number;
|
|
168
|
+
durationMs?: number;
|
|
167
169
|
warnings: string[];
|
|
168
170
|
}
|
|
169
171
|
declare function extractKnowledgeFromChunks(params: {
|
|
170
172
|
file: string;
|
|
171
173
|
chunks: TranscriptChunk[];
|
|
174
|
+
messages?: TranscriptMessage[];
|
|
172
175
|
client: LlmClient;
|
|
173
176
|
verbose: boolean;
|
|
177
|
+
wholeFile?: "auto" | "force" | "never";
|
|
178
|
+
watchMode?: boolean;
|
|
174
179
|
platform?: KnowledgePlatform | (string & {});
|
|
175
180
|
noDedup?: boolean;
|
|
176
181
|
interChunkDelayMs?: number;
|