toolchest 0.3.2
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 +7 -0
- data/LICENSE +21 -0
- data/LLMS.txt +484 -0
- data/README.md +572 -0
- data/app/controllers/toolchest/oauth/authorizations_controller.rb +152 -0
- data/app/controllers/toolchest/oauth/authorized_applications_controller.rb +68 -0
- data/app/controllers/toolchest/oauth/metadata_controller.rb +68 -0
- data/app/controllers/toolchest/oauth/registrations_controller.rb +53 -0
- data/app/controllers/toolchest/oauth/tokens_controller.rb +98 -0
- data/app/models/toolchest/oauth_access_grant.rb +66 -0
- data/app/models/toolchest/oauth_access_token.rb +71 -0
- data/app/models/toolchest/oauth_application.rb +26 -0
- data/app/models/toolchest/token.rb +51 -0
- data/app/views/toolchest/oauth/authorizations/new.html.erb +45 -0
- data/app/views/toolchest/oauth/authorized_applications/index.html.erb +34 -0
- data/config/routes.rb +18 -0
- data/lib/generators/toolchest/auth_generator.rb +55 -0
- data/lib/generators/toolchest/consent_generator.rb +34 -0
- data/lib/generators/toolchest/install_generator.rb +70 -0
- data/lib/generators/toolchest/oauth_views_generator.rb +51 -0
- data/lib/generators/toolchest/skills_generator.rb +356 -0
- data/lib/generators/toolchest/templates/application_toolbox.rb.tt +10 -0
- data/lib/generators/toolchest/templates/create_toolchest_oauth.rb.tt +39 -0
- data/lib/generators/toolchest/templates/create_toolchest_tokens.rb.tt +16 -0
- data/lib/generators/toolchest/templates/initializer.rb.tt +41 -0
- data/lib/generators/toolchest/templates/oauth_authorize.html.erb.tt +48 -0
- data/lib/generators/toolchest/templates/toolbox.rb.tt +19 -0
- data/lib/generators/toolchest/templates/toolbox_spec.rb.tt +23 -0
- data/lib/generators/toolchest/toolbox_generator.rb +44 -0
- data/lib/toolchest/app.rb +47 -0
- data/lib/toolchest/auth/base.rb +15 -0
- data/lib/toolchest/auth/none.rb +7 -0
- data/lib/toolchest/auth/oauth.rb +28 -0
- data/lib/toolchest/auth/token.rb +73 -0
- data/lib/toolchest/auth_context.rb +13 -0
- data/lib/toolchest/configuration.rb +82 -0
- data/lib/toolchest/current.rb +7 -0
- data/lib/toolchest/endpoint.rb +13 -0
- data/lib/toolchest/engine.rb +95 -0
- data/lib/toolchest/naming.rb +31 -0
- data/lib/toolchest/oauth/routes.rb +25 -0
- data/lib/toolchest/param_definition.rb +69 -0
- data/lib/toolchest/parameters.rb +71 -0
- data/lib/toolchest/rack_app.rb +114 -0
- data/lib/toolchest/renderer.rb +88 -0
- data/lib/toolchest/router.rb +277 -0
- data/lib/toolchest/rspec.rb +61 -0
- data/lib/toolchest/sampling_builder.rb +38 -0
- data/lib/toolchest/tasks/toolchest.rake +123 -0
- data/lib/toolchest/tool_builder.rb +19 -0
- data/lib/toolchest/tool_definition.rb +58 -0
- data/lib/toolchest/toolbox.rb +312 -0
- data/lib/toolchest/version.rb +3 -0
- data/lib/toolchest.rb +89 -0
- metadata +122 -0
metadata
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: toolchest
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.3.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Nora
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: rails
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '7.0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '7.0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: mcp
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0.10'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0.10'
|
|
40
|
+
description: A Rails engine that maps the Model Context Protocol (MCP) to Rails conventions.
|
|
41
|
+
If you've built a controller, you already know how to build a toolbox.
|
|
42
|
+
executables: []
|
|
43
|
+
extensions: []
|
|
44
|
+
extra_rdoc_files: []
|
|
45
|
+
files:
|
|
46
|
+
- LICENSE
|
|
47
|
+
- LLMS.txt
|
|
48
|
+
- README.md
|
|
49
|
+
- app/controllers/toolchest/oauth/authorizations_controller.rb
|
|
50
|
+
- app/controllers/toolchest/oauth/authorized_applications_controller.rb
|
|
51
|
+
- app/controllers/toolchest/oauth/metadata_controller.rb
|
|
52
|
+
- app/controllers/toolchest/oauth/registrations_controller.rb
|
|
53
|
+
- app/controllers/toolchest/oauth/tokens_controller.rb
|
|
54
|
+
- app/models/toolchest/oauth_access_grant.rb
|
|
55
|
+
- app/models/toolchest/oauth_access_token.rb
|
|
56
|
+
- app/models/toolchest/oauth_application.rb
|
|
57
|
+
- app/models/toolchest/token.rb
|
|
58
|
+
- app/views/toolchest/oauth/authorizations/new.html.erb
|
|
59
|
+
- app/views/toolchest/oauth/authorized_applications/index.html.erb
|
|
60
|
+
- config/routes.rb
|
|
61
|
+
- lib/generators/toolchest/auth_generator.rb
|
|
62
|
+
- lib/generators/toolchest/consent_generator.rb
|
|
63
|
+
- lib/generators/toolchest/install_generator.rb
|
|
64
|
+
- lib/generators/toolchest/oauth_views_generator.rb
|
|
65
|
+
- lib/generators/toolchest/skills_generator.rb
|
|
66
|
+
- lib/generators/toolchest/templates/application_toolbox.rb.tt
|
|
67
|
+
- lib/generators/toolchest/templates/create_toolchest_oauth.rb.tt
|
|
68
|
+
- lib/generators/toolchest/templates/create_toolchest_tokens.rb.tt
|
|
69
|
+
- lib/generators/toolchest/templates/initializer.rb.tt
|
|
70
|
+
- lib/generators/toolchest/templates/oauth_authorize.html.erb.tt
|
|
71
|
+
- lib/generators/toolchest/templates/toolbox.rb.tt
|
|
72
|
+
- lib/generators/toolchest/templates/toolbox_spec.rb.tt
|
|
73
|
+
- lib/generators/toolchest/toolbox_generator.rb
|
|
74
|
+
- lib/toolchest.rb
|
|
75
|
+
- lib/toolchest/app.rb
|
|
76
|
+
- lib/toolchest/auth/base.rb
|
|
77
|
+
- lib/toolchest/auth/none.rb
|
|
78
|
+
- lib/toolchest/auth/oauth.rb
|
|
79
|
+
- lib/toolchest/auth/token.rb
|
|
80
|
+
- lib/toolchest/auth_context.rb
|
|
81
|
+
- lib/toolchest/configuration.rb
|
|
82
|
+
- lib/toolchest/current.rb
|
|
83
|
+
- lib/toolchest/endpoint.rb
|
|
84
|
+
- lib/toolchest/engine.rb
|
|
85
|
+
- lib/toolchest/naming.rb
|
|
86
|
+
- lib/toolchest/oauth/routes.rb
|
|
87
|
+
- lib/toolchest/param_definition.rb
|
|
88
|
+
- lib/toolchest/parameters.rb
|
|
89
|
+
- lib/toolchest/rack_app.rb
|
|
90
|
+
- lib/toolchest/renderer.rb
|
|
91
|
+
- lib/toolchest/router.rb
|
|
92
|
+
- lib/toolchest/rspec.rb
|
|
93
|
+
- lib/toolchest/sampling_builder.rb
|
|
94
|
+
- lib/toolchest/tasks/toolchest.rake
|
|
95
|
+
- lib/toolchest/tool_builder.rb
|
|
96
|
+
- lib/toolchest/tool_definition.rb
|
|
97
|
+
- lib/toolchest/toolbox.rb
|
|
98
|
+
- lib/toolchest/version.rb
|
|
99
|
+
homepage: https://github.com/24c02/toolchest
|
|
100
|
+
licenses:
|
|
101
|
+
- MIT
|
|
102
|
+
metadata:
|
|
103
|
+
source_code_uri: https://github.com/24c02/toolchest
|
|
104
|
+
changelog_uri: https://github.com/24c02/toolchest/blob/main/CHANGELOG.md
|
|
105
|
+
rdoc_options: []
|
|
106
|
+
require_paths:
|
|
107
|
+
- lib
|
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
|
+
requirements:
|
|
110
|
+
- - ">="
|
|
111
|
+
- !ruby/object:Gem::Version
|
|
112
|
+
version: '3.2'
|
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '0'
|
|
118
|
+
requirements: []
|
|
119
|
+
rubygems_version: 3.6.9
|
|
120
|
+
specification_version: 4
|
|
121
|
+
summary: MCP for Rails. Toolboxes are controllers, tools are actions.
|
|
122
|
+
test_files: []
|