@wrongstack/core 0.141.0 → 0.148.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/dist/coordination/index.js +4 -4
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +2 -2
- package/dist/defaults/index.js +137 -13
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +2 -2
- package/dist/execution/index.js +134 -10
- package/dist/execution/index.js.map +1 -1
- package/dist/{goal-preamble-iuIUTQwk.d.ts → goal-preamble-CYJLg0wk.d.ts} +8 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +163 -16
- package/dist/index.js.map +1 -1
- package/dist/{parallel-eternal-engine-Dj2SYzha.d.ts → parallel-eternal-engine-C75QuhAI.d.ts} +9 -0
- package/dist/sdd/index.js.map +1 -1
- package/dist/security/index.js +1 -1
- package/dist/security/index.js.map +1 -1
- package/dist/storage/index.js +2 -2
- package/dist/storage/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +127 -4
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.js +3 -3
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/tech-stack/SKILL.md +253 -97
package/dist/{parallel-eternal-engine-Dj2SYzha.d.ts → parallel-eternal-engine-C75QuhAI.d.ts}
RENAMED
|
@@ -48,6 +48,14 @@ declare class DefaultErrorHandler implements ErrorHandler {
|
|
|
48
48
|
interface CompactorOptions {
|
|
49
49
|
preserveK?: number | undefined;
|
|
50
50
|
eliseThreshold?: number | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Enable content-aware digest mode. When true, `collapseAncientTurns` uses
|
|
53
|
+
* `buildSmartDigest` which scores messages by importance: critical content
|
|
54
|
+
* (errors, corrections, decisions) is kept verbatim; normal exchanges get
|
|
55
|
+
* first-sentence summaries; large tool outputs and repeated failures are
|
|
56
|
+
* aggressively compressed. Defaults to false (lossless digest).
|
|
57
|
+
*/
|
|
58
|
+
smart?: boolean | undefined;
|
|
51
59
|
/**
|
|
52
60
|
* @deprecated Ignored. Token estimation is centralized in
|
|
53
61
|
* `compaction-core`/`token-estimate` so all compactors and the context-pressure
|
|
@@ -59,6 +67,7 @@ interface CompactorOptions {
|
|
|
59
67
|
declare class HybridCompactor implements Compactor {
|
|
60
68
|
private readonly preserveK;
|
|
61
69
|
private readonly eliseThreshold;
|
|
70
|
+
private readonly smart;
|
|
62
71
|
constructor(opts?: CompactorOptions);
|
|
63
72
|
compact(ctx: Context, opts?: {
|
|
64
73
|
aggressive?: boolean | undefined;
|