collavre_openclaw 0.6.3 → 0.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a5a10c4a59247ea763b3f635005c08375186c6bb279dfa9e00ea5e5533ae438
4
- data.tar.gz: '097534bec297da15507b18e1f060990471fc54e9076ba5f81065a36ecb88b262'
3
+ metadata.gz: '028dc9b0f4d77120602482cb67e02ccb7d54efa1ce69d850452a4fe548923e26'
4
+ data.tar.gz: e3caf613040f7572a727ed5abd89dcb14f5ddc336ebd962006b4ad67bffed20a
5
5
  SHA512:
6
- metadata.gz: 02f5238a8bae2f7061113189918774ebef66a855e26383127f42c3838658124721d465449751fdf0629d5ec52ffc399a5325d91a661a838bf25deb39cb0f1563
7
- data.tar.gz: b9089349ca80e5f4f575da36f38f590f4a6607e9cd14dba8dece7c570a3d7f100d6abec58974647da1d4c33b4f00ad47ac31c9c5ec6c75761e9d7e1e587ff36c
6
+ metadata.gz: 69854771a368ea6200b04126e70d4939b0b70783adaae82c6ed43998879f009d3d87fed40c84c3a3f4aa0d9e90f08b350f23c84f427127e9c71236ee051744c0
7
+ data.tar.gz: 9f2ef5b7a2f8d3980ddcb81c878a65a760545b35374e500e319b04131886297a95dfe864b8dccf617b383a15b6b66a8f48029af2f4cad35163b5bb38168c8dee
@@ -42,14 +42,20 @@ module CollavreOpenclaw
42
42
  error_message = e.message
43
43
  raise
44
44
  ensure
45
- log_interaction(
46
- messages: messages_data[:messages],
47
- tools: [],
48
- response_content: response_content,
49
- error_message: error_message,
50
- input_tokens: nil,
51
- output_tokens: nil
52
- )
45
+ # Honor no-log mode (e.g. inline typo correction on *unsubmitted* drafts).
46
+ # Base Collavre::AiClient#chat gates logging behind @log_interactions; this
47
+ # prepended adapter path bypasses super, so it must gate it too — otherwise
48
+ # private drafts leak to ActivityLog for OpenClaw-backed agents.
49
+ if @log_interactions
50
+ log_interaction(
51
+ messages: messages_data[:messages],
52
+ tools: [],
53
+ response_content: response_content,
54
+ error_message: error_message,
55
+ input_tokens: nil,
56
+ output_tokens: nil
57
+ )
58
+ end
53
59
  end
54
60
 
55
61
  return response_content
@@ -1,3 +1,3 @@
1
1
  module CollavreOpenclaw
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collavre_openclaw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Collavre