blun-king-cli 9.1.239 → 9.1.240

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.
@@ -15,16 +15,32 @@ function hasOwn(object, key) {
15
15
  }
16
16
 
17
17
  function projectLoopEventForRecord(event) {
18
- if (event?.type === 'content.part' && hasOwn(event, 'uuid')) {
19
- const { uuid: _uuid, ...recordedEvent } = event;
18
+ if (
19
+ event?.type === 'content.part' &&
20
+ (hasOwn(event, 'uuid') || hasOwn(event, 'turnId') || hasOwn(event, 'step'))
21
+ ) {
22
+ const { uuid: _uuid, turnId: _turnId, step: _step, ...recordedEvent } = event;
20
23
  return recordedEvent;
21
24
  }
22
25
 
23
26
  if (
24
27
  event?.type === 'tool.call' &&
25
- (hasOwn(event, 'uuid') || hasOwn(event, 'display') || hasOwn(event, 'description'))
28
+ (
29
+ hasOwn(event, 'uuid') ||
30
+ hasOwn(event, 'turnId') ||
31
+ hasOwn(event, 'step') ||
32
+ hasOwn(event, 'display') ||
33
+ hasOwn(event, 'description')
34
+ )
26
35
  ) {
27
- const { uuid: _uuid, display: _display, description: _description, ...recordedEvent } = event;
36
+ const {
37
+ uuid: _uuid,
38
+ turnId: _turnId,
39
+ step: _step,
40
+ display: _display,
41
+ description: _description,
42
+ ...recordedEvent
43
+ } = event;
28
44
  return recordedEvent;
29
45
  }
30
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.239",
3
+ "version": "9.1.240",
4
4
  "description": "BLUN CLI - your own AI agent with a Telegram channel. Get it done. With BLUN.",
5
5
  "license": "MIT",
6
6
  "bin": {