@openclawbrain/openclaw 0.3.3 → 0.3.4
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/src/index.js +3 -3
- package/dist/src/index.js.map +1 -1
- package/dist/src/local-session-passive-learning.js +1 -1
- package/dist/src/local-session-passive-learning.js.map +1 -1
- package/dist/src/semantic-metadata.d.ts +2 -1
- package/dist/src/semantic-metadata.js +31 -2
- package/dist/src/semantic-metadata.js.map +1 -1
- package/package.json +7 -7
package/dist/src/index.js
CHANGED
|
@@ -1667,7 +1667,7 @@ export function buildNormalizedEventExportFromScannedEvents(input) {
|
|
|
1667
1667
|
})),
|
|
1668
1668
|
feedbackEvents: input.feedbackEvents.map((event) => ({
|
|
1669
1669
|
...event,
|
|
1670
|
-
semantic: event.semantic ?? buildFeedbackSemanticMetadata("scanner_export", event.kind)
|
|
1670
|
+
semantic: event.semantic ?? buildFeedbackSemanticMetadata("scanner_export", event.kind, event.content)
|
|
1671
1671
|
}))
|
|
1672
1672
|
});
|
|
1673
1673
|
const exportErrors = validateNormalizedEventExport(normalizedEventExport);
|
|
@@ -3733,7 +3733,7 @@ function buildFeedbackEvents(input) {
|
|
|
3733
3733
|
stream: input.sourceStream
|
|
3734
3734
|
},
|
|
3735
3735
|
content,
|
|
3736
|
-
semantic: buildFeedbackSemanticMetadata("runtime_turn", kind),
|
|
3736
|
+
semantic: buildFeedbackSemanticMetadata("runtime_turn", kind, content),
|
|
3737
3737
|
attribution: input.attribution,
|
|
3738
3738
|
...(messageId !== undefined ? { messageId } : {}),
|
|
3739
3739
|
...(principal === undefined ? {} : { principal }),
|
|
@@ -4200,7 +4200,7 @@ function buildRecordedSessionSeedExport(trace) {
|
|
|
4200
4200
|
stream: sourceStream
|
|
4201
4201
|
},
|
|
4202
4202
|
content: cue.content,
|
|
4203
|
-
semantic: buildFeedbackSemanticMetadata("recorded_session_seed", cue.kind ?? "teaching"),
|
|
4203
|
+
semantic: buildFeedbackSemanticMetadata("recorded_session_seed", cue.kind ?? "teaching", cue.content),
|
|
4204
4204
|
relatedInteractionId: interaction.eventId
|
|
4205
4205
|
});
|
|
4206
4206
|
sequence += 1;
|