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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ff562ebc6d3eb1f7186733194c29346a3b80b0bb2fe1eb17e9f1e309533f91c
4
- data.tar.gz: 4e08347737b97640247f2c3c35a634a749e015b7ba872445a490d037adc09216
3
+ metadata.gz: dfccbb05def5e28d1b689e0c8f59e12e17826104bde3baa488b24baca4b63b75
4
+ data.tar.gz: 444f6ee841635328b08159d2769fc37c65c705cbb2e6c82161ea28d84f8e7811
5
5
  SHA512:
6
- metadata.gz: 866b3efc241ed95b7dbeb2d1bfa35cb94f19dce972ef4230cf6a3fec4cbf7823af126c59f5b268dcf3eef19406f070248e1f90e5dbd49ed87ebcbd37b402ee83
7
- data.tar.gz: 207510474b01bed3e47ec13af49c025f707768ae2c18ebd4a01eb7cba3fb5c5c96f94b7b2d3bebad6e12bd68d9531dfa25651fc5a348458604db02a58e0eab40
6
+ metadata.gz: 1277291e2922555737d93636e82d663147b0e8474bb9cf2212e7e681f06a797a08457c81deaa595a218bf0a1f7e248efe19dfaeca263037f3ac6176baea9c059
7
+ data.tar.gz: 138bbf97c3e586affac1b30e1e7c78d7a72c98af5ffb655fb99d30b1177e9713469316edf9521326c0787856233047d7ff626a11279e5e2688f83f83f5d4ac93
@@ -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.host
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 }
@@ -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
  #
@@ -424,7 +424,7 @@ module Daytona
424
424
  uri = URI(full_url)
425
425
 
426
426
  cfg.scheme = uri.scheme
427
- cfg.host = uri.host
427
+ cfg.host = uri.authority # Includes hostname:port
428
428
  cfg.base_path = uri.path.empty? ? '/' : uri.path
429
429
 
430
430
  cfg
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Daytona
4
4
  module Sdk
5
- VERSION = '0.136.0'
5
+ VERSION = '0.138.0'
6
6
  end
7
7
  end
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.136.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-28 00:00:00.000000000 Z
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.136.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.136.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.136.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.136.0
54
+ version: 0.138.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: dotenv
57
57
  requirement: !ruby/object:Gem::Requirement