rcrewai-rails 0.2.3 → 0.2.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a893687295f77f24cccebb49dbe1ac3732c204d550cce16a6d7553c5973e9c5
|
4
|
+
data.tar.gz: 460b46d77eff3f81fcf6614bd4d8534e770aa5116d7c0e1146e06fea4d6caa9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5abf757b3fc9f6e90ef9b6502ed4c3fa7c246a6e11e504c35224a6b3268b9ec61a2295e5e460f50de5c2c84a666bbafcdbda831cab7c564b7dcc4f6c82d7495
|
7
|
+
data.tar.gz: 75ee73403837fb4b8429f091724721e1a71b662d85ff90d3de5d6ba26fd2c3131d0657087bb302a4cb0c33d97c8fa3e1bef7db331483c138510601710d54acdc
|
data/README.md
CHANGED
@@ -35,7 +35,20 @@ $ rails db:migrate
|
|
35
35
|
This will:
|
36
36
|
- Create the necessary database migrations
|
37
37
|
- Add an initializer file for configuration
|
38
|
-
- Mount the engine routes
|
38
|
+
- Mount the engine routes in `config/routes.rb`
|
39
|
+
|
40
|
+
### Manual Routes Setup
|
41
|
+
|
42
|
+
If you need to mount the routes manually, add this to your `config/routes.rb`:
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
Rails.application.routes.draw do
|
46
|
+
mount RcrewAI::Rails::Engine => '/rcrewai'
|
47
|
+
# Your other routes...
|
48
|
+
end
|
49
|
+
```
|
50
|
+
|
51
|
+
This makes the web UI available at `/rcrewai` and API endpoints at `/rcrewai/api/v1/`.
|
39
52
|
|
40
53
|
## Configuration
|
41
54
|
|
@@ -37,7 +37,6 @@ class CreateRcrewaiTables < ActiveRecord::Migration[7.0]
|
|
37
37
|
t.timestamps
|
38
38
|
end
|
39
39
|
|
40
|
-
add_index :rcrewai_agents, :crew_id
|
41
40
|
add_index :rcrewai_agents, :name
|
42
41
|
|
43
42
|
create_table :rcrewai_tasks do |t|
|
@@ -57,7 +56,6 @@ class CreateRcrewaiTables < ActiveRecord::Migration[7.0]
|
|
57
56
|
t.timestamps
|
58
57
|
end
|
59
58
|
|
60
|
-
add_index :rcrewai_tasks, :crew_id
|
61
59
|
add_index :rcrewai_tasks, :position
|
62
60
|
|
63
61
|
create_table :rcrewai_task_assignments do |t|
|
@@ -92,7 +90,6 @@ class CreateRcrewaiTables < ActiveRecord::Migration[7.0]
|
|
92
90
|
t.timestamps
|
93
91
|
end
|
94
92
|
|
95
|
-
add_index :rcrewai_executions, :crew_id
|
96
93
|
add_index :rcrewai_executions, :status
|
97
94
|
add_index :rcrewai_executions, :created_at
|
98
95
|
|
@@ -106,7 +103,6 @@ class CreateRcrewaiTables < ActiveRecord::Migration[7.0]
|
|
106
103
|
t.timestamps
|
107
104
|
end
|
108
105
|
|
109
|
-
add_index :rcrewai_execution_logs, :execution_id
|
110
106
|
add_index :rcrewai_execution_logs, :level
|
111
107
|
add_index :rcrewai_execution_logs, :timestamp
|
112
108
|
end
|
@@ -37,7 +37,6 @@ class CreateRcrewaiTables < ActiveRecord::Migration[7.0]
|
|
37
37
|
t.timestamps
|
38
38
|
end
|
39
39
|
|
40
|
-
add_index :rcrewai_agents, :crew_id
|
41
40
|
add_index :rcrewai_agents, :name
|
42
41
|
|
43
42
|
create_table :rcrewai_tasks do |t|
|
@@ -57,7 +56,6 @@ class CreateRcrewaiTables < ActiveRecord::Migration[7.0]
|
|
57
56
|
t.timestamps
|
58
57
|
end
|
59
58
|
|
60
|
-
add_index :rcrewai_tasks, :crew_id
|
61
59
|
add_index :rcrewai_tasks, :position
|
62
60
|
|
63
61
|
create_table :rcrewai_task_assignments do |t|
|
@@ -92,7 +90,6 @@ class CreateRcrewaiTables < ActiveRecord::Migration[7.0]
|
|
92
90
|
t.timestamps
|
93
91
|
end
|
94
92
|
|
95
|
-
add_index :rcrewai_executions, :crew_id
|
96
93
|
add_index :rcrewai_executions, :status
|
97
94
|
add_index :rcrewai_executions, :created_at
|
98
95
|
|
@@ -106,7 +103,6 @@ class CreateRcrewaiTables < ActiveRecord::Migration[7.0]
|
|
106
103
|
t.timestamps
|
107
104
|
end
|
108
105
|
|
109
|
-
add_index :rcrewai_execution_logs, :execution_id
|
110
106
|
add_index :rcrewai_execution_logs, :level
|
111
107
|
add_index :rcrewai_execution_logs, :timestamp
|
112
108
|
end
|