daytona 0.136.0 → 0.138.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/lib/daytona/daytona.rb +1 -1
- data/lib/daytona/process.rb +17 -0
- data/lib/daytona/sandbox.rb +1 -1
- data/lib/daytona/sdk/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dfccbb05def5e28d1b689e0c8f59e12e17826104bde3baa488b24baca4b63b75
|
|
4
|
+
data.tar.gz: 444f6ee841635328b08159d2769fc37c65c705cbb2e6c82161ea28d84f8e7811
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1277291e2922555737d93636e82d663147b0e8474bb9cf2212e7e681f06a797a08457c81deaa595a218bf0a1f7e248efe19dfaeca263037f3ac6176baea9c059
|
|
7
|
+
data.tar.gz: 138bbf97c3e586affac1b30e1e7c78d7a72c98af5ffb655fb99d30b1177e9713469316edf9521326c0787856233047d7ff626a11279e5e2688f83f83f5d4ac93
|
data/lib/daytona/daytona.rb
CHANGED
|
@@ -228,7 +228,7 @@ module Daytona
|
|
|
228
228
|
DaytonaApiClient::Configuration.new.configure do |api_config|
|
|
229
229
|
uri = URI(config.api_url)
|
|
230
230
|
api_config.scheme = uri.scheme
|
|
231
|
-
api_config.host = uri.
|
|
231
|
+
api_config.host = uri.authority # Includes hostname:port
|
|
232
232
|
api_config.base_path = uri.path
|
|
233
233
|
|
|
234
234
|
api_config.access_token_getter = proc { config.api_key || config.jwt_token }
|
data/lib/daytona/process.rb
CHANGED
|
@@ -258,6 +258,23 @@ module Daytona
|
|
|
258
258
|
completion_queue.pop
|
|
259
259
|
end
|
|
260
260
|
|
|
261
|
+
# Sends input data to a command executed in a session
|
|
262
|
+
#
|
|
263
|
+
# This method allows you to send input to an interactive command running in a session,
|
|
264
|
+
# such as responding to prompts or providing data to stdin.
|
|
265
|
+
#
|
|
266
|
+
# @param session_id [String] Unique identifier of the session
|
|
267
|
+
# @param command_id [String] Unique identifier of the command
|
|
268
|
+
# @param data [String] Input data to send to the command
|
|
269
|
+
# @return [void]
|
|
270
|
+
def send_session_command_input(session_id:, command_id:, data:)
|
|
271
|
+
toolbox_api.send_input(
|
|
272
|
+
session_id,
|
|
273
|
+
command_id,
|
|
274
|
+
DaytonaToolboxApiClient::SessionSendInputRequest.new(data:)
|
|
275
|
+
)
|
|
276
|
+
end
|
|
277
|
+
|
|
261
278
|
#
|
|
262
279
|
# @return [Array<DaytonaApiClient::Session>] List of all sessions in the Sandbox
|
|
263
280
|
#
|
data/lib/daytona/sandbox.rb
CHANGED
data/lib/daytona/sdk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: daytona
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.138.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daytona Platforms Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-s3
|
|
@@ -30,28 +30,28 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.
|
|
33
|
+
version: 0.138.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - '='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.
|
|
40
|
+
version: 0.138.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: daytona_toolbox_api_client
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 0.
|
|
47
|
+
version: 0.138.0
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.
|
|
54
|
+
version: 0.138.0
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: dotenv
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|