@evo-dev/core 0.0.1-alpha.4 → 0.0.1-alpha.5
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/dist/config/index.js +3 -3
- package/dist/index.js +860 -612
- package/package.json +1 -1
- package/src/evolution/candidates/index.ts +314 -44
- package/src/evolution/evidence/session-memory/index.ts +1 -0
- package/src/evolution/evidence/session-memory/segment.ts +2 -2
- package/src/evolution/evidence/session-memory/storage.ts +123 -2
- package/src/evolution/evidence/session-memory/types.ts +3 -3
- package/src/evolution/index.ts +4 -0
- package/src/evolution/knowledge/index.ts +9 -74
- package/src/evolution/paths.ts +3 -0
- package/src/evolution/processor/distillation.ts +42 -33
- package/src/evolution/processor/process.ts +3 -74
- package/src/evolution/schema.ts +23 -1
- package/src/evolution/shared.ts +62 -2
package/dist/config/index.js
CHANGED
|
@@ -151,6 +151,8 @@ function parseSessionMemoryPolicy(value) {
|
|
|
151
151
|
toolCallsBetweenUpdates: positiveInteger(value.toolCallsBetweenUpdates, defaults.toolCallsBetweenUpdates)
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
|
+
// packages/core/src/evolution/evidence/session-memory/constants.ts
|
|
155
|
+
var DEFAULT_MAX_RAW_EVENT_BYTES = 64 * 1024;
|
|
154
156
|
// packages/core/src/runtime-logs/index.ts
|
|
155
157
|
var SAFE_EXECUTION_METADATA_KEYS = new Set([
|
|
156
158
|
"phase",
|
|
@@ -176,6 +178,7 @@ var SAFE_REDACTION_LABELS = new Set([
|
|
|
176
178
|
]);
|
|
177
179
|
|
|
178
180
|
// packages/core/src/evolution/shared.ts
|
|
181
|
+
var MAX_PROPOSED_CHANGE_LENGTH = 16 * 1024;
|
|
179
182
|
var PROCESS_LOCK_STALE_MS = 5 * 60 * 1000;
|
|
180
183
|
var FORBIDDEN_RAW_KEYS = new Set([
|
|
181
184
|
"commandhistory",
|
|
@@ -211,9 +214,6 @@ var FORBIDDEN_RAW_KEYS = new Set([
|
|
|
211
214
|
"transcriptbody",
|
|
212
215
|
"transcripttext"
|
|
213
216
|
]);
|
|
214
|
-
|
|
215
|
-
// packages/core/src/evolution/evidence/session-memory/constants.ts
|
|
216
|
-
var DEFAULT_MAX_RAW_EVENT_BYTES = 64 * 1024;
|
|
217
217
|
// packages/core/src/evolution/knowledge/index.ts
|
|
218
218
|
import { mkdir, readFile, readdir, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
219
219
|
import { dirname, isAbsolute, join, relative, resolve } from "node:path";
|