daytona 0.197.0 → 0.199.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/common/daytona.rb +9 -0
- data/lib/daytona/common/event_dispatcher.rb +326 -0
- data/lib/daytona/common/event_subscription_manager.rb +144 -0
- data/lib/daytona/common/socketio_client.rb +289 -0
- data/lib/daytona/config.rb +21 -0
- data/lib/daytona/daytona.rb +39 -6
- data/lib/daytona/file_system.rb +1 -1
- data/lib/daytona/lsp_server.rb +1 -1
- data/lib/daytona/sandbox.rb +404 -111
- data/lib/daytona/sdk/version.rb +1 -1
- data/lib/daytona/sdk.rb +5 -2
- data/project.json +4 -3
- metadata +22 -5
data/lib/daytona/sdk/version.rb
CHANGED
data/lib/daytona/sdk.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# Copyright Daytona Platforms Inc.
|
|
2
4
|
# SPDX-License-Identifier: Apache-2.0
|
|
3
5
|
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
6
|
require 'logger'
|
|
7
7
|
|
|
8
8
|
require 'daytona_api_client'
|
|
@@ -28,6 +28,9 @@ require_relative 'common/response'
|
|
|
28
28
|
require_relative 'common/snapshot'
|
|
29
29
|
require_relative 'code_interpreter'
|
|
30
30
|
require_relative 'computer_use'
|
|
31
|
+
require_relative 'common/socketio_client'
|
|
32
|
+
require_relative 'common/event_dispatcher'
|
|
33
|
+
require_relative 'common/event_subscription_manager'
|
|
31
34
|
require_relative 'daytona'
|
|
32
35
|
require_relative 'file_system'
|
|
33
36
|
require_relative 'git'
|
data/project.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependsOn": [
|
|
16
16
|
{
|
|
17
17
|
"target": "build",
|
|
18
|
-
"projects": ["api-client-ruby", "toolbox-api-client-ruby"]
|
|
18
|
+
"projects": ["api-client-ruby", "toolbox-api-client-ruby", "analytics-api-client-ruby"]
|
|
19
19
|
},
|
|
20
20
|
"set-version"
|
|
21
21
|
],
|
|
@@ -47,7 +47,8 @@
|
|
|
47
47
|
"inputs": [
|
|
48
48
|
"default",
|
|
49
49
|
"{workspaceRoot}/api-client-ruby/**/*",
|
|
50
|
-
"{workspaceRoot}/toolbox-api-client-ruby/**/*"
|
|
50
|
+
"{workspaceRoot}/toolbox-api-client-ruby/**/*",
|
|
51
|
+
"{workspaceRoot}/analytics-api-client-ruby/**/*"
|
|
51
52
|
],
|
|
52
53
|
"outputs": [],
|
|
53
54
|
"options": {
|
|
@@ -91,7 +92,7 @@
|
|
|
91
92
|
"dependsOn": [
|
|
92
93
|
{
|
|
93
94
|
"target": "publish",
|
|
94
|
-
"projects": ["api-client-ruby", "toolbox-api-client-ruby"]
|
|
95
|
+
"projects": ["api-client-ruby", "toolbox-api-client-ruby", "analytics-api-client-ruby"]
|
|
95
96
|
},
|
|
96
97
|
"build"
|
|
97
98
|
]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: daytona
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.199.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daytona Platforms Inc.
|
|
@@ -79,34 +79,48 @@ dependencies:
|
|
|
79
79
|
- - "~>"
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
81
|
version: '1.0'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: daytona_analytics_api_client
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - '='
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: 0.199.0
|
|
89
|
+
type: :runtime
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - '='
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: 0.199.0
|
|
82
96
|
- !ruby/object:Gem::Dependency
|
|
83
97
|
name: daytona_api_client
|
|
84
98
|
requirement: !ruby/object:Gem::Requirement
|
|
85
99
|
requirements:
|
|
86
100
|
- - '='
|
|
87
101
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: 0.
|
|
102
|
+
version: 0.199.0
|
|
89
103
|
type: :runtime
|
|
90
104
|
prerelease: false
|
|
91
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
92
106
|
requirements:
|
|
93
107
|
- - '='
|
|
94
108
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: 0.
|
|
109
|
+
version: 0.199.0
|
|
96
110
|
- !ruby/object:Gem::Dependency
|
|
97
111
|
name: daytona_toolbox_api_client
|
|
98
112
|
requirement: !ruby/object:Gem::Requirement
|
|
99
113
|
requirements:
|
|
100
114
|
- - '='
|
|
101
115
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 0.
|
|
116
|
+
version: 0.199.0
|
|
103
117
|
type: :runtime
|
|
104
118
|
prerelease: false
|
|
105
119
|
version_requirements: !ruby/object:Gem::Requirement
|
|
106
120
|
requirements:
|
|
107
121
|
- - '='
|
|
108
122
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: 0.
|
|
123
|
+
version: 0.199.0
|
|
110
124
|
- !ruby/object:Gem::Dependency
|
|
111
125
|
name: dotenv
|
|
112
126
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -184,6 +198,8 @@ files:
|
|
|
184
198
|
- lib/daytona/common/code_interpreter.rb
|
|
185
199
|
- lib/daytona/common/code_language.rb
|
|
186
200
|
- lib/daytona/common/daytona.rb
|
|
201
|
+
- lib/daytona/common/event_dispatcher.rb
|
|
202
|
+
- lib/daytona/common/event_subscription_manager.rb
|
|
187
203
|
- lib/daytona/common/file_system.rb
|
|
188
204
|
- lib/daytona/common/git.rb
|
|
189
205
|
- lib/daytona/common/image.rb
|
|
@@ -192,6 +208,7 @@ files:
|
|
|
192
208
|
- lib/daytona/common/resources.rb
|
|
193
209
|
- lib/daytona/common/response.rb
|
|
194
210
|
- lib/daytona/common/snapshot.rb
|
|
211
|
+
- lib/daytona/common/socketio_client.rb
|
|
195
212
|
- lib/daytona/computer_use.rb
|
|
196
213
|
- lib/daytona/config.rb
|
|
197
214
|
- lib/daytona/daytona.rb
|