daytona 0.134.0.alpha.1 → 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: e7ccf2ea96861ef33410f2dc49e0e85243aabf6608d9d1b10e657507f4030d02
4
- data.tar.gz: 9816f06a64493152d37bd202d00a8180212e6b9925af3c9d3b8deb11cad2d8f6
3
+ metadata.gz: dfccbb05def5e28d1b689e0c8f59e12e17826104bde3baa488b24baca4b63b75
4
+ data.tar.gz: 444f6ee841635328b08159d2769fc37c65c705cbb2e6c82161ea28d84f8e7811
5
5
  SHA512:
6
- metadata.gz: ccafd445c1c0f927eb9991cc051b2ad0d063adcd960615b1f21d6a154e2b9d5d3fbd424b7ffbd10aedcb7ec1dc2c2e30202dcd2182305f251f50c093baa03303
7
- data.tar.gz: 6ee5305671de7d7c351a28b29f1a5210f08bae5fe6d992dffb888ca93e0795e21f55dd5f845b97c853b31323c0daf557c4e651ea9de65f9763854e7747cbda41
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.134.0.alpha.1'
5
+ VERSION = '0.138.0'
6
6
  end
7
7
  end
data/project.json CHANGED
@@ -18,14 +18,20 @@
18
18
  "projects": ["api-client-ruby", "toolbox-api-client-ruby"]
19
19
  },
20
20
  "set-version"
21
- ]
21
+ ],
22
+ "cache": true,
23
+ "inputs": ["default"],
24
+ "outputs": ["{projectRoot}/**/*.gem"]
22
25
  },
23
26
  "set-version": {
24
27
  "executor": "nx:run-commands",
25
28
  "options": {
26
29
  "cwd": "{projectRoot}",
27
30
  "command": "if [ -n \"$RUBYGEMS_PKG_VERSION\" ]; then sed -i \"s/VERSION = '[^']*'/VERSION = '$RUBYGEMS_PKG_VERSION'/\" lib/daytona/sdk/version.rb && echo \"Changed version to $RUBYGEMS_PKG_VERSION\"; else echo \"Using version from version.rb\"; fi"
28
- }
31
+ },
32
+ "cache": true,
33
+ "inputs": [{ "env": "RUBYGEMS_PKG_VERSION" }, { "env": "VERSION" }],
34
+ "outputs": ["{projectRoot}/lib/daytona/sdk/version.rb"]
29
35
  },
30
36
  "lint": {
31
37
  "executor": "nx:run-commands",
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daytona
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.134.0.alpha.1
4
+ version: 0.138.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daytona Platforms Inc.
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-01-30 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: aws-sdk-s3
@@ -29,28 +30,28 @@ dependencies:
29
30
  requirements:
30
31
  - - '='
31
32
  - !ruby/object:Gem::Version
32
- version: 0.134.0.alpha.1
33
+ version: 0.138.0
33
34
  type: :runtime
34
35
  prerelease: false
35
36
  version_requirements: !ruby/object:Gem::Requirement
36
37
  requirements:
37
38
  - - '='
38
39
  - !ruby/object:Gem::Version
39
- version: 0.134.0.alpha.1
40
+ version: 0.138.0
40
41
  - !ruby/object:Gem::Dependency
41
42
  name: daytona_toolbox_api_client
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - '='
45
46
  - !ruby/object:Gem::Version
46
- version: 0.134.0.alpha.1
47
+ version: 0.138.0
47
48
  type: :runtime
48
49
  prerelease: false
49
50
  version_requirements: !ruby/object:Gem::Requirement
50
51
  requirements:
51
52
  - - '='
52
53
  - !ruby/object:Gem::Version
53
- version: 0.134.0.alpha.1
54
+ version: 0.138.0
54
55
  - !ruby/object:Gem::Dependency
55
56
  name: dotenv
56
57
  requirement: !ruby/object:Gem::Requirement
@@ -149,6 +150,7 @@ metadata:
149
150
  source_code_uri: https://github.com/daytonaio/daytona
150
151
  changelog_uri: https://github.com/daytonaio/daytona/releases
151
152
  rubygems_mfa_required: 'true'
153
+ post_install_message:
152
154
  rdoc_options: []
153
155
  require_paths:
154
156
  - lib
@@ -163,7 +165,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
165
  - !ruby/object:Gem::Version
164
166
  version: '0'
165
167
  requirements: []
166
- rubygems_version: 3.6.9
168
+ rubygems_version: 3.4.19
169
+ signing_key:
167
170
  specification_version: 4
168
171
  summary: Ruby SDK for Daytona
169
172
  test_files: []