engiyn-core 0.1.2__tar.gz
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.
- engiyn_core-0.1.2/LICENSE +21 -0
- engiyn_core-0.1.2/PKG-INFO +27 -0
- engiyn_core-0.1.2/README.md +69 -0
- engiyn_core-0.1.2/engiyn_core/__init__.py +5 -0
- engiyn_core-0.1.2/engiyn_core.egg-info/PKG-INFO +27 -0
- engiyn_core-0.1.2/engiyn_core.egg-info/SOURCES.txt +10 -0
- engiyn_core-0.1.2/engiyn_core.egg-info/dependency_links.txt +1 -0
- engiyn_core-0.1.2/engiyn_core.egg-info/requires.txt +3 -0
- engiyn_core-0.1.2/engiyn_core.egg-info/top_level.txt +1 -0
- engiyn_core-0.1.2/setup.cfg +4 -0
- engiyn_core-0.1.2/setup.py +27 -0
- engiyn_core-0.1.2/tests/test_basic.py +3 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Engiyn
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,27 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: engiyn-core
|
3
|
+
Version: 0.1.2
|
4
|
+
Summary: Engiyn Core - Multi-cloud, AI/IDE integration engine
|
5
|
+
Home-page: https://github.com/ledyardco/engiyn-core
|
6
|
+
Author: Ledyardco
|
7
|
+
Author-email: info@ledyardco.com
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
9
|
+
Classifier: Intended Audience :: Developers
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
12
|
+
Classifier: Programming Language :: Python :: 3.7
|
13
|
+
Classifier: Programming Language :: Python :: 3.8
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
15
|
+
Requires-Python: >=3.7
|
16
|
+
License-File: LICENSE
|
17
|
+
Requires-Dist: jsonschema
|
18
|
+
Requires-Dist: flask
|
19
|
+
Requires-Dist: click
|
20
|
+
Dynamic: author
|
21
|
+
Dynamic: author-email
|
22
|
+
Dynamic: classifier
|
23
|
+
Dynamic: home-page
|
24
|
+
Dynamic: license-file
|
25
|
+
Dynamic: requires-dist
|
26
|
+
Dynamic: requires-python
|
27
|
+
Dynamic: summary
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# Engiyn Core
|
2
|
+
|
3
|
+
The core engine for Engiyn plugins: multi-cloud, AI/IDE, and protocol integrations.
|
4
|
+
|
5
|
+
Features:
|
6
|
+
- Plugin manifest spec (`plugin_schema.json`)
|
7
|
+
- Python & Node.js SDKs (`python-sdk/`, `node-sdk/`)
|
8
|
+
- Hello-world plugin template (`templates/hello-world-plugin`)
|
9
|
+
- CI workflow (`.github/workflows/ci.yml`)
|
10
|
+
|
11
|
+
Get started by reviewing the manifest schema and SDK examples.
|
12
|
+
|
13
|
+
## Quickstart
|
14
|
+
|
15
|
+
**Python SDK**
|
16
|
+
```bash
|
17
|
+
cd python-sdk
|
18
|
+
pip install .
|
19
|
+
```
|
20
|
+
|
21
|
+
**Node.js SDK**
|
22
|
+
```bash
|
23
|
+
cd node-sdk
|
24
|
+
npm install
|
25
|
+
```
|
26
|
+
|
27
|
+
**Hello-World Plugin**
|
28
|
+
```bash
|
29
|
+
# Start core server
|
30
|
+
FLASK_APP=templates/hello-world-plugin/index.py flask run
|
31
|
+
# Access endpoint
|
32
|
+
curl http://localhost:5005/hello
|
33
|
+
# Or via CLI
|
34
|
+
dev hello
|
35
|
+
```
|
36
|
+
|
37
|
+
## Usage
|
38
|
+
|
39
|
+
### Python SDK
|
40
|
+
```python
|
41
|
+
from engiyn_sdk import Plugin
|
42
|
+
plugin = Plugin('templates/hello-world-plugin/plugin.json')
|
43
|
+
plugin.register_http(app)
|
44
|
+
```
|
45
|
+
|
46
|
+
### Node.js SDK
|
47
|
+
```js
|
48
|
+
const { loadManifest, Plugin } = require('engiyn-sdk');
|
49
|
+
const manifest = loadManifest('templates/hello-world-plugin/plugin.json');
|
50
|
+
const plugin = new Plugin(manifest);
|
51
|
+
plugin.registerHttp(app);
|
52
|
+
```
|
53
|
+
|
54
|
+
## Plugin Development
|
55
|
+
|
56
|
+
1. Copy `templates/hello-world-plugin` to `plugins/<your-plugin>`
|
57
|
+
2. Update `plugin.json`: name, version, type, entrypoint
|
58
|
+
3. Implement `register_http(app)` and/or `register_cli(cli)` in your module
|
59
|
+
4. Place plugin folder under `plugins/` and restart the core
|
60
|
+
|
61
|
+
## AI Model Integration
|
62
|
+
|
63
|
+
- The `plugin_schema.json` file defines plugin capabilities for LLMs
|
64
|
+
- Models can discover plugins by scanning `plugins/*/plugin.json`
|
65
|
+
- Example prompt for an AI agent:
|
66
|
+
```text
|
67
|
+
"You are the Engiyn AI assistant. List all available plugins and their HTTP endpoints."
|
68
|
+
```
|
69
|
+
- After discovery, models should call the registered HTTP endpoints or CLI commands accordingly
|
@@ -0,0 +1,27 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: engiyn-core
|
3
|
+
Version: 0.1.2
|
4
|
+
Summary: Engiyn Core - Multi-cloud, AI/IDE integration engine
|
5
|
+
Home-page: https://github.com/ledyardco/engiyn-core
|
6
|
+
Author: Ledyardco
|
7
|
+
Author-email: info@ledyardco.com
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
9
|
+
Classifier: Intended Audience :: Developers
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
12
|
+
Classifier: Programming Language :: Python :: 3.7
|
13
|
+
Classifier: Programming Language :: Python :: 3.8
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
15
|
+
Requires-Python: >=3.7
|
16
|
+
License-File: LICENSE
|
17
|
+
Requires-Dist: jsonschema
|
18
|
+
Requires-Dist: flask
|
19
|
+
Requires-Dist: click
|
20
|
+
Dynamic: author
|
21
|
+
Dynamic: author-email
|
22
|
+
Dynamic: classifier
|
23
|
+
Dynamic: home-page
|
24
|
+
Dynamic: license-file
|
25
|
+
Dynamic: requires-dist
|
26
|
+
Dynamic: requires-python
|
27
|
+
Dynamic: summary
|
@@ -0,0 +1,10 @@
|
|
1
|
+
LICENSE
|
2
|
+
README.md
|
3
|
+
setup.py
|
4
|
+
engiyn_core/__init__.py
|
5
|
+
engiyn_core.egg-info/PKG-INFO
|
6
|
+
engiyn_core.egg-info/SOURCES.txt
|
7
|
+
engiyn_core.egg-info/dependency_links.txt
|
8
|
+
engiyn_core.egg-info/requires.txt
|
9
|
+
engiyn_core.egg-info/top_level.txt
|
10
|
+
tests/test_basic.py
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
engiyn_core
|
@@ -0,0 +1,27 @@
|
|
1
|
+
from setuptools import setup, find_packages
|
2
|
+
|
3
|
+
setup(
|
4
|
+
name="engiyn-core",
|
5
|
+
version="0.1.2",
|
6
|
+
description="Engiyn Core - Multi-cloud, AI/IDE integration engine",
|
7
|
+
author="Ledyardco",
|
8
|
+
author_email="info@ledyardco.com",
|
9
|
+
url="https://github.com/ledyardco/engiyn-core",
|
10
|
+
packages=find_packages(exclude=["tests", "templates"]),
|
11
|
+
include_package_data=True,
|
12
|
+
install_requires=[
|
13
|
+
"jsonschema",
|
14
|
+
"flask",
|
15
|
+
"click",
|
16
|
+
],
|
17
|
+
classifiers=[
|
18
|
+
"Development Status :: 3 - Alpha",
|
19
|
+
"Intended Audience :: Developers",
|
20
|
+
"License :: OSI Approved :: MIT License",
|
21
|
+
"Programming Language :: Python :: 3",
|
22
|
+
"Programming Language :: Python :: 3.7",
|
23
|
+
"Programming Language :: Python :: 3.8",
|
24
|
+
"Programming Language :: Python :: 3.9",
|
25
|
+
],
|
26
|
+
python_requires=">=3.7",
|
27
|
+
)
|