@felan-ai/ext-session-compaction 0.2.3 → 0.4.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 +3 -2
- package/dist/prune.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -63,8 +63,9 @@ safeguards do not prove semantic completeness.
|
|
|
63
63
|
The extension does not add a fixed summary-result, prompt-byte, summary-token,
|
|
64
64
|
or wall-clock ceiling. Pi owns compaction reserve/tail preparation, the active
|
|
65
65
|
model owns context and output capacity, and the central evidence bounds keep
|
|
66
|
-
untrusted extraction and protected continuity finite.
|
|
67
|
-
and
|
|
66
|
+
untrusted extraction and protected continuity finite. The runtime's unified
|
|
67
|
+
`classify` operation and bounded admission/question batching belong to Agent
|
|
68
|
+
Core; model selection, credentials and native Pi transport belong to the host.
|
|
68
69
|
|
|
69
70
|
The package also provides bounded `session_recall` over the current
|
|
70
71
|
`SessionManager.getBranch()` lineage. It never reads session files directly,
|
package/dist/prune.js
CHANGED
|
@@ -42,7 +42,7 @@ export async function pruneEvidence(evidence, span, classifier, context) {
|
|
|
42
42
|
if (asked.length > 0) {
|
|
43
43
|
questions = Object.fromEntries(asked.map((group) => [group.id, questionFor(group.id)]));
|
|
44
44
|
try {
|
|
45
|
-
const evaluation = await classifier.
|
|
45
|
+
const evaluation = await classifier.classify(state, questions, context.signal);
|
|
46
46
|
answers = evaluation.answers;
|
|
47
47
|
classifierMetadata = evaluation.metadata;
|
|
48
48
|
for (const group of asked) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@felan-ai/ext-session-compaction",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Bounded verified session compaction and active-lineage recall for Felan",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"typebox": "1.1.38"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@felan-ai/agent-core": "^0.
|
|
31
|
+
"@felan-ai/agent-core": "^0.11.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@felan-ai/agent-core": "0.
|
|
34
|
+
"@felan-ai/agent-core": "0.11.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public",
|