safetykit 0.44.0 → 0.45.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/safety_kit/models/stream_add_frame_params.rb +4 -4
- data/lib/safety_kit/models/stream_add_transcript_params.rb +4 -4
- data/lib/safety_kit/resources/streams.rb +4 -4
- data/lib/safety_kit/version.rb +1 -1
- data/rbi/safety_kit/models/stream_add_frame_params.rbi +6 -6
- data/rbi/safety_kit/models/stream_add_transcript_params.rbi +6 -6
- data/rbi/safety_kit/resources/streams.rbi +4 -4
- data/sig/safety_kit/models/stream_add_frame_params.rbs +5 -5
- data/sig/safety_kit/models/stream_add_transcript_params.rbs +5 -5
- data/sig/safety_kit/resources/streams.rbs +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b81922fed7c572b3054713f01c2e083392f9c6091fec88834f550b968263f16
|
|
4
|
+
data.tar.gz: 501ce543ec941f39f33c83a93d635abf1d1fffc190078fa307dfb01f403b0873
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74504b21cbcbf6d25156f75572652bec1baf9c8f78ab9ea6f114066f088fd5b6c1976e7533110d991050d472d4c2ca3f317b73c0557676538016057a5f03ad84
|
|
7
|
+
data.tar.gz: c0ee88aae75e9240dcfe7257127ad1aa8443bd04d3a5d0cce07889e2e3856bc6ef538046357211ff3f62464a594c36ea576cf778058833a65e0166bd50d57270
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.45.0 (2026-07-28)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.44.0...v0.45.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.44.0...v0.45.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([8e44e07](https://github.com/GetSafetyKit/safetykit-ruby/commit/8e44e073b72a432bd3b914def5e44a215cf8d610))
|
|
10
|
+
|
|
3
11
|
## 0.44.0 (2026-07-28)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.43.0...v0.44.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.43.0...v0.44.0)
|
data/README.md
CHANGED
|
@@ -32,12 +32,12 @@ module SafetyKit
|
|
|
32
32
|
# @return [Integer]
|
|
33
33
|
required :timestamp, Integer
|
|
34
34
|
|
|
35
|
-
# @!attribute
|
|
35
|
+
# @!attribute frame_id
|
|
36
36
|
#
|
|
37
37
|
# @return [String, nil]
|
|
38
|
-
optional :
|
|
38
|
+
optional :frame_id, String
|
|
39
39
|
|
|
40
|
-
# @!method initialize(namespace:, image_data_uri:, stream_id:, timestamp:,
|
|
40
|
+
# @!method initialize(namespace:, image_data_uri:, stream_id:, timestamp:, frame_id: nil, request_options: {})
|
|
41
41
|
# Some parameter documentations has been truncated, see
|
|
42
42
|
# {SafetyKit::Models::StreamAddFrameParams} for more details.
|
|
43
43
|
#
|
|
@@ -49,7 +49,7 @@ module SafetyKit
|
|
|
49
49
|
#
|
|
50
50
|
# @param timestamp [Integer]
|
|
51
51
|
#
|
|
52
|
-
# @param
|
|
52
|
+
# @param frame_id [String]
|
|
53
53
|
#
|
|
54
54
|
# @param request_options [SafetyKit::RequestOptions, Hash{Symbol=>Object}]
|
|
55
55
|
end
|
|
@@ -28,12 +28,12 @@ module SafetyKit
|
|
|
28
28
|
# @return [Integer]
|
|
29
29
|
required :timestamp, Integer
|
|
30
30
|
|
|
31
|
-
# @!attribute
|
|
31
|
+
# @!attribute transcript_id
|
|
32
32
|
#
|
|
33
33
|
# @return [String, nil]
|
|
34
|
-
optional :
|
|
34
|
+
optional :transcript_id, String
|
|
35
35
|
|
|
36
|
-
# @!method initialize(namespace:, stream_id:, text:, timestamp:,
|
|
36
|
+
# @!method initialize(namespace:, stream_id:, text:, timestamp:, transcript_id: nil, request_options: {})
|
|
37
37
|
# @param namespace [String] The namespace to ingest stream data into
|
|
38
38
|
#
|
|
39
39
|
# @param stream_id [String]
|
|
@@ -42,7 +42,7 @@ module SafetyKit
|
|
|
42
42
|
#
|
|
43
43
|
# @param timestamp [Integer]
|
|
44
44
|
#
|
|
45
|
-
# @param
|
|
45
|
+
# @param transcript_id [String]
|
|
46
46
|
#
|
|
47
47
|
# @param request_options [SafetyKit::RequestOptions, Hash{Symbol=>Object}]
|
|
48
48
|
end
|
|
@@ -43,7 +43,7 @@ module SafetyKit
|
|
|
43
43
|
# ignored by downstream processing. This method returns immediately after the
|
|
44
44
|
# frame has been accepted for processing.
|
|
45
45
|
#
|
|
46
|
-
# @overload add_frame(namespace, image_data_uri:, stream_id:, timestamp:,
|
|
46
|
+
# @overload add_frame(namespace, image_data_uri:, stream_id:, timestamp:, frame_id: nil, request_options: {})
|
|
47
47
|
#
|
|
48
48
|
# @param namespace [String] The namespace to ingest stream data into
|
|
49
49
|
#
|
|
@@ -53,7 +53,7 @@ module SafetyKit
|
|
|
53
53
|
#
|
|
54
54
|
# @param timestamp [Integer]
|
|
55
55
|
#
|
|
56
|
-
# @param
|
|
56
|
+
# @param frame_id [String]
|
|
57
57
|
#
|
|
58
58
|
# @param request_options [SafetyKit::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
59
59
|
#
|
|
@@ -78,7 +78,7 @@ module SafetyKit
|
|
|
78
78
|
# correctly with later frames. This method returns immediately after the
|
|
79
79
|
# transcript has been accepted for processing.
|
|
80
80
|
#
|
|
81
|
-
# @overload add_transcript(namespace, stream_id:, text:, timestamp:,
|
|
81
|
+
# @overload add_transcript(namespace, stream_id:, text:, timestamp:, transcript_id: nil, request_options: {})
|
|
82
82
|
#
|
|
83
83
|
# @param namespace [String] The namespace to ingest stream data into
|
|
84
84
|
#
|
|
@@ -88,7 +88,7 @@ module SafetyKit
|
|
|
88
88
|
#
|
|
89
89
|
# @param timestamp [Integer]
|
|
90
90
|
#
|
|
91
|
-
# @param
|
|
91
|
+
# @param transcript_id [String]
|
|
92
92
|
#
|
|
93
93
|
# @param request_options [SafetyKit::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
94
94
|
#
|
data/lib/safety_kit/version.rb
CHANGED
|
@@ -29,10 +29,10 @@ module SafetyKit
|
|
|
29
29
|
attr_accessor :timestamp
|
|
30
30
|
|
|
31
31
|
sig { returns(T.nilable(String)) }
|
|
32
|
-
attr_reader :
|
|
32
|
+
attr_reader :frame_id
|
|
33
33
|
|
|
34
|
-
sig { params(
|
|
35
|
-
attr_writer :
|
|
34
|
+
sig { params(frame_id: String).void }
|
|
35
|
+
attr_writer :frame_id
|
|
36
36
|
|
|
37
37
|
sig do
|
|
38
38
|
params(
|
|
@@ -40,7 +40,7 @@ module SafetyKit
|
|
|
40
40
|
image_data_uri: String,
|
|
41
41
|
stream_id: String,
|
|
42
42
|
timestamp: Integer,
|
|
43
|
-
|
|
43
|
+
frame_id: String,
|
|
44
44
|
request_options: SafetyKit::RequestOptions::OrHash
|
|
45
45
|
).returns(T.attached_class)
|
|
46
46
|
end
|
|
@@ -54,7 +54,7 @@ module SafetyKit
|
|
|
54
54
|
image_data_uri:,
|
|
55
55
|
stream_id:,
|
|
56
56
|
timestamp:,
|
|
57
|
-
|
|
57
|
+
frame_id: nil,
|
|
58
58
|
request_options: {}
|
|
59
59
|
)
|
|
60
60
|
end
|
|
@@ -66,7 +66,7 @@ module SafetyKit
|
|
|
66
66
|
image_data_uri: String,
|
|
67
67
|
stream_id: String,
|
|
68
68
|
timestamp: Integer,
|
|
69
|
-
|
|
69
|
+
frame_id: String,
|
|
70
70
|
request_options: SafetyKit::RequestOptions
|
|
71
71
|
}
|
|
72
72
|
)
|
|
@@ -28,10 +28,10 @@ module SafetyKit
|
|
|
28
28
|
attr_accessor :timestamp
|
|
29
29
|
|
|
30
30
|
sig { returns(T.nilable(String)) }
|
|
31
|
-
attr_reader :
|
|
31
|
+
attr_reader :transcript_id
|
|
32
32
|
|
|
33
|
-
sig { params(
|
|
34
|
-
attr_writer :
|
|
33
|
+
sig { params(transcript_id: String).void }
|
|
34
|
+
attr_writer :transcript_id
|
|
35
35
|
|
|
36
36
|
sig do
|
|
37
37
|
params(
|
|
@@ -39,7 +39,7 @@ module SafetyKit
|
|
|
39
39
|
stream_id: String,
|
|
40
40
|
text: String,
|
|
41
41
|
timestamp: Integer,
|
|
42
|
-
|
|
42
|
+
transcript_id: String,
|
|
43
43
|
request_options: SafetyKit::RequestOptions::OrHash
|
|
44
44
|
).returns(T.attached_class)
|
|
45
45
|
end
|
|
@@ -49,7 +49,7 @@ module SafetyKit
|
|
|
49
49
|
stream_id:,
|
|
50
50
|
text:,
|
|
51
51
|
timestamp:,
|
|
52
|
-
|
|
52
|
+
transcript_id: nil,
|
|
53
53
|
request_options: {}
|
|
54
54
|
)
|
|
55
55
|
end
|
|
@@ -61,7 +61,7 @@ module SafetyKit
|
|
|
61
61
|
stream_id: String,
|
|
62
62
|
text: String,
|
|
63
63
|
timestamp: Integer,
|
|
64
|
-
|
|
64
|
+
transcript_id: String,
|
|
65
65
|
request_options: SafetyKit::RequestOptions
|
|
66
66
|
}
|
|
67
67
|
)
|
|
@@ -37,7 +37,7 @@ module SafetyKit
|
|
|
37
37
|
image_data_uri: String,
|
|
38
38
|
stream_id: String,
|
|
39
39
|
timestamp: Integer,
|
|
40
|
-
|
|
40
|
+
frame_id: String,
|
|
41
41
|
request_options: SafetyKit::RequestOptions::OrHash
|
|
42
42
|
).returns(SafetyKit::Models::StreamAddFrameResponse)
|
|
43
43
|
end
|
|
@@ -51,7 +51,7 @@ module SafetyKit
|
|
|
51
51
|
image_data_uri:,
|
|
52
52
|
stream_id:,
|
|
53
53
|
timestamp:,
|
|
54
|
-
|
|
54
|
+
frame_id: nil,
|
|
55
55
|
request_options: {}
|
|
56
56
|
)
|
|
57
57
|
end
|
|
@@ -68,7 +68,7 @@ module SafetyKit
|
|
|
68
68
|
stream_id: String,
|
|
69
69
|
text: String,
|
|
70
70
|
timestamp: Integer,
|
|
71
|
-
|
|
71
|
+
transcript_id: String,
|
|
72
72
|
request_options: SafetyKit::RequestOptions::OrHash
|
|
73
73
|
).returns(SafetyKit::Models::StreamAddTranscriptResponse)
|
|
74
74
|
end
|
|
@@ -78,7 +78,7 @@ module SafetyKit
|
|
|
78
78
|
stream_id:,
|
|
79
79
|
text:,
|
|
80
80
|
timestamp:,
|
|
81
|
-
|
|
81
|
+
transcript_id: nil,
|
|
82
82
|
request_options: {}
|
|
83
83
|
)
|
|
84
84
|
end
|
|
@@ -6,7 +6,7 @@ module SafetyKit
|
|
|
6
6
|
image_data_uri: String,
|
|
7
7
|
stream_id: String,
|
|
8
8
|
timestamp: Integer,
|
|
9
|
-
|
|
9
|
+
frame_id: String
|
|
10
10
|
}
|
|
11
11
|
& SafetyKit::Internal::Type::request_parameters
|
|
12
12
|
|
|
@@ -22,16 +22,16 @@ module SafetyKit
|
|
|
22
22
|
|
|
23
23
|
attr_accessor timestamp: Integer
|
|
24
24
|
|
|
25
|
-
attr_reader
|
|
25
|
+
attr_reader frame_id: String?
|
|
26
26
|
|
|
27
|
-
def
|
|
27
|
+
def frame_id=: (String) -> String
|
|
28
28
|
|
|
29
29
|
def initialize: (
|
|
30
30
|
namespace: String,
|
|
31
31
|
image_data_uri: String,
|
|
32
32
|
stream_id: String,
|
|
33
33
|
timestamp: Integer,
|
|
34
|
-
?
|
|
34
|
+
?frame_id: String,
|
|
35
35
|
?request_options: SafetyKit::request_opts
|
|
36
36
|
) -> void
|
|
37
37
|
|
|
@@ -40,7 +40,7 @@ module SafetyKit
|
|
|
40
40
|
image_data_uri: String,
|
|
41
41
|
stream_id: String,
|
|
42
42
|
timestamp: Integer,
|
|
43
|
-
|
|
43
|
+
frame_id: String,
|
|
44
44
|
request_options: SafetyKit::RequestOptions
|
|
45
45
|
}
|
|
46
46
|
end
|
|
@@ -6,7 +6,7 @@ module SafetyKit
|
|
|
6
6
|
stream_id: String,
|
|
7
7
|
text: String,
|
|
8
8
|
timestamp: Integer,
|
|
9
|
-
|
|
9
|
+
transcript_id: String
|
|
10
10
|
}
|
|
11
11
|
& SafetyKit::Internal::Type::request_parameters
|
|
12
12
|
|
|
@@ -22,16 +22,16 @@ module SafetyKit
|
|
|
22
22
|
|
|
23
23
|
attr_accessor timestamp: Integer
|
|
24
24
|
|
|
25
|
-
attr_reader
|
|
25
|
+
attr_reader transcript_id: String?
|
|
26
26
|
|
|
27
|
-
def
|
|
27
|
+
def transcript_id=: (String) -> String
|
|
28
28
|
|
|
29
29
|
def initialize: (
|
|
30
30
|
namespace: String,
|
|
31
31
|
stream_id: String,
|
|
32
32
|
text: String,
|
|
33
33
|
timestamp: Integer,
|
|
34
|
-
?
|
|
34
|
+
?transcript_id: String,
|
|
35
35
|
?request_options: SafetyKit::request_opts
|
|
36
36
|
) -> void
|
|
37
37
|
|
|
@@ -40,7 +40,7 @@ module SafetyKit
|
|
|
40
40
|
stream_id: String,
|
|
41
41
|
text: String,
|
|
42
42
|
timestamp: Integer,
|
|
43
|
-
|
|
43
|
+
transcript_id: String,
|
|
44
44
|
request_options: SafetyKit::RequestOptions
|
|
45
45
|
}
|
|
46
46
|
end
|
|
@@ -13,7 +13,7 @@ module SafetyKit
|
|
|
13
13
|
image_data_uri: String,
|
|
14
14
|
stream_id: String,
|
|
15
15
|
timestamp: Integer,
|
|
16
|
-
?
|
|
16
|
+
?frame_id: String,
|
|
17
17
|
?request_options: SafetyKit::request_opts
|
|
18
18
|
) -> SafetyKit::Models::StreamAddFrameResponse
|
|
19
19
|
|
|
@@ -22,7 +22,7 @@ module SafetyKit
|
|
|
22
22
|
stream_id: String,
|
|
23
23
|
text: String,
|
|
24
24
|
timestamp: Integer,
|
|
25
|
-
?
|
|
25
|
+
?transcript_id: String,
|
|
26
26
|
?request_options: SafetyKit::request_opts
|
|
27
27
|
) -> SafetyKit::Models::StreamAddTranscriptResponse
|
|
28
28
|
|