coolhand 0.9.0 → 0.10.1
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 +4 -4
- data/CHANGELOG.md +40 -0
- data/README.md +28 -7
- data/docs/anthropic.md +28 -83
- data/docs/configuration.md +31 -5
- data/docs/elevenlabs.md +1 -1
- data/docs/help-center.md +120 -0
- data/docs/openai.md +63 -4
- data/docs/vertex.md +1 -0
- data/lib/coolhand/base_interceptor.rb +137 -37
- data/lib/coolhand/batch_body_cap.rb +36 -0
- data/lib/coolhand/body_redactor.rb +111 -0
- data/lib/coolhand/body_stream_tap.rb +121 -0
- data/lib/coolhand/default_intercept_addresses.yml +8 -0
- data/lib/coolhand/help_center_service.rb +69 -0
- data/lib/coolhand/logger_service.rb +55 -6
- data/lib/coolhand/net_http_interceptor.rb +190 -28
- data/lib/coolhand/open_ai/batch_result_processor.rb +139 -53
- data/lib/coolhand/open_ai/webhook_id_store.rb +7 -0
- data/lib/coolhand/open_ai/webhook_validator.rb +43 -28
- data/lib/coolhand/path_normalizer.rb +36 -0
- data/lib/coolhand/read_requests.rb +11 -2
- data/lib/coolhand/string_body_redactor.rb +83 -0
- data/lib/coolhand/version.rb +1 -1
- data/lib/coolhand/vertex/batch_result_processor.rb +2 -2
- data/lib/coolhand/webhook_interceptor.rb +23 -0
- data/lib/coolhand.rb +10 -0
- metadata +9 -2
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coolhand
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Carroll
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-10-
|
|
12
|
+
date: 2026-10-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: base64
|
|
@@ -51,6 +51,7 @@ files:
|
|
|
51
51
|
- docs/elevenlabs.md
|
|
52
52
|
- docs/feedback-links.md
|
|
53
53
|
- docs/feedback.md
|
|
54
|
+
- docs/help-center.md
|
|
54
55
|
- docs/log-search.md
|
|
55
56
|
- docs/openai.md
|
|
56
57
|
- docs/template-search.md
|
|
@@ -59,6 +60,9 @@ files:
|
|
|
59
60
|
- lib/coolhand.rb
|
|
60
61
|
- lib/coolhand/api_service.rb
|
|
61
62
|
- lib/coolhand/base_interceptor.rb
|
|
63
|
+
- lib/coolhand/batch_body_cap.rb
|
|
64
|
+
- lib/coolhand/body_redactor.rb
|
|
65
|
+
- lib/coolhand/body_stream_tap.rb
|
|
62
66
|
- lib/coolhand/collector.rb
|
|
63
67
|
- lib/coolhand/configuration.rb
|
|
64
68
|
- lib/coolhand/declarable.rb
|
|
@@ -68,6 +72,7 @@ files:
|
|
|
68
72
|
- lib/coolhand/default_intercept_path_patterns.yml
|
|
69
73
|
- lib/coolhand/errors.rb
|
|
70
74
|
- lib/coolhand/feedback_service.rb
|
|
75
|
+
- lib/coolhand/help_center_service.rb
|
|
71
76
|
- lib/coolhand/log_queue.rb
|
|
72
77
|
- lib/coolhand/log_service.rb
|
|
73
78
|
- lib/coolhand/logger_service.rb
|
|
@@ -77,11 +82,13 @@ files:
|
|
|
77
82
|
- lib/coolhand/open_ai/webhook_validator.rb
|
|
78
83
|
- lib/coolhand/optimization_feedback_link_service.rb
|
|
79
84
|
- lib/coolhand/pagination.rb
|
|
85
|
+
- lib/coolhand/path_normalizer.rb
|
|
80
86
|
- lib/coolhand/rails_auto_declare.rb
|
|
81
87
|
- lib/coolhand/railtie.rb
|
|
82
88
|
- lib/coolhand/read_query.rb
|
|
83
89
|
- lib/coolhand/read_requests.rb
|
|
84
90
|
- lib/coolhand/response_warnings.rb
|
|
91
|
+
- lib/coolhand/string_body_redactor.rb
|
|
85
92
|
- lib/coolhand/template_service.rb
|
|
86
93
|
- lib/coolhand/version.rb
|
|
87
94
|
- lib/coolhand/vertex/batch_result_processor.rb
|