auraseed 1.1.1__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.
- auraseed-1.1.1/LICENSE +21 -0
- auraseed-1.1.1/PKG-INFO +144 -0
- auraseed-1.1.1/README.md +135 -0
- auraseed-1.1.1/auraseed/__init__.py +4 -0
- auraseed-1.1.1/auraseed/__main__.py +980 -0
- auraseed-1.1.1/auraseed/api/__init__.py +4 -0
- auraseed-1.1.1/auraseed/api/mcp.py +588 -0
- auraseed-1.1.1/auraseed/api/server.py +456 -0
- auraseed-1.1.1/auraseed/assets/auraseed.ico +0 -0
- auraseed-1.1.1/auraseed/assets/auraseed.png +0 -0
- auraseed-1.1.1/auraseed/client.py +193 -0
- auraseed-1.1.1/auraseed/discovery/__init__.py +1 -0
- auraseed-1.1.1/auraseed/discovery/adapters/__init__.py +1 -0
- auraseed-1.1.1/auraseed/discovery/adapters/arcpro.py +243 -0
- auraseed-1.1.1/auraseed/discovery/adapters/embedded.py +175 -0
- auraseed-1.1.1/auraseed/discovery/adapters/qgis.py +295 -0
- auraseed-1.1.1/auraseed/discovery/adapters/toolchains.py +180 -0
- auraseed-1.1.1/auraseed/discovery/base.py +23 -0
- auraseed-1.1.1/auraseed/discovery/cache.py +155 -0
- auraseed-1.1.1/auraseed/discovery/manager.py +95 -0
- auraseed-1.1.1/auraseed/discovery/os/__init__.py +1 -0
- auraseed-1.1.1/auraseed/discovery/os/linux.py +80 -0
- auraseed-1.1.1/auraseed/discovery/os/macos.py +67 -0
- auraseed-1.1.1/auraseed/discovery/os/windows.py +185 -0
- auraseed-1.1.1/auraseed/discovery/prober.py +262 -0
- auraseed-1.1.1/auraseed/governance/__init__.py +1 -0
- auraseed-1.1.1/auraseed/governance/audit.py +26 -0
- auraseed-1.1.1/auraseed/governance/rules.py +178 -0
- auraseed-1.1.1/auraseed/grid/__init__.py +5 -0
- auraseed-1.1.1/auraseed/grid/detector.py +87 -0
- auraseed-1.1.1/auraseed/grid/mas_runner.py +54 -0
- auraseed-1.1.1/auraseed/grid/peer_transfer.py +83 -0
- auraseed-1.1.1/auraseed/gui.py +397 -0
- auraseed-1.1.1/auraseed/lifecycle.py +1012 -0
- auraseed-1.1.1/auraseed/models.py +110 -0
- auraseed-1.1.1/auraseed/mvenv/__init__.py +11 -0
- auraseed-1.1.1/auraseed/mvenv/catalog.py +229 -0
- auraseed-1.1.1/auraseed/mvenv/manager.py +961 -0
- auraseed-1.1.1/auraseed/mvenv/models.py +96 -0
- auraseed-1.1.1/auraseed/openapi.json +655 -0
- auraseed-1.1.1/auraseed/openapi.yaml +540 -0
- auraseed-1.1.1/auraseed/provision/__init__.py +5 -0
- auraseed-1.1.1/auraseed/provision/base.py +14 -0
- auraseed-1.1.1/auraseed/provision/config_manager.py +228 -0
- auraseed-1.1.1/auraseed/provision/index.py +26 -0
- auraseed-1.1.1/auraseed/provision/wheelhouse.py +19 -0
- auraseed-1.1.1/auraseed/registry/__init__.py +1 -0
- auraseed-1.1.1/auraseed/registry/base.py +20 -0
- auraseed-1.1.1/auraseed/registry/linux.py +76 -0
- auraseed-1.1.1/auraseed/registry/mac.py +73 -0
- auraseed-1.1.1/auraseed/registry/manager.py +29 -0
- auraseed-1.1.1/auraseed/registry/win.py +43 -0
- auraseed-1.1.1/auraseed/seed/__init__.py +1 -0
- auraseed-1.1.1/auraseed/seed/artifacts.py +58 -0
- auraseed-1.1.1/auraseed/seed/isolation.py +360 -0
- auraseed-1.1.1/auraseed/seed/sovereign.py +62 -0
- auraseed-1.1.1/auraseed.egg-info/PKG-INFO +144 -0
- auraseed-1.1.1/auraseed.egg-info/SOURCES.txt +77 -0
- auraseed-1.1.1/auraseed.egg-info/dependency_links.txt +1 -0
- auraseed-1.1.1/auraseed.egg-info/entry_points.txt +2 -0
- auraseed-1.1.1/auraseed.egg-info/top_level.txt +1 -0
- auraseed-1.1.1/pyproject.toml +20 -0
- auraseed-1.1.1/setup.cfg +4 -0
- auraseed-1.1.1/tests/test_adapters.py +53 -0
- auraseed-1.1.1/tests/test_config_integration.py +64 -0
- auraseed-1.1.1/tests/test_config_manager.py +64 -0
- auraseed-1.1.1/tests/test_discovery_toolchains_and_prober.py +269 -0
- auraseed-1.1.1/tests/test_grid_integration.py +87 -0
- auraseed-1.1.1/tests/test_gui_hub.py +85 -0
- auraseed-1.1.1/tests/test_integration_arcpro.py +198 -0
- auraseed-1.1.1/tests/test_integration_cli.py +78 -0
- auraseed-1.1.1/tests/test_integration_qgis.py +185 -0
- auraseed-1.1.1/tests/test_integration_windows.py +97 -0
- auraseed-1.1.1/tests/test_lifecycle_cleanup.py +203 -0
- auraseed-1.1.1/tests/test_mcp_cli_mvenv.py +373 -0
- auraseed-1.1.1/tests/test_mvenv_api.py +133 -0
- auraseed-1.1.1/tests/test_mvenv_manager.py +106 -0
- auraseed-1.1.1/tests/test_mvenv_models.py +76 -0
- auraseed-1.1.1/tests/test_rules.py +41 -0
auraseed-1.1.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AuraCoreDynamics
|
|
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.
|
auraseed-1.1.1/PKG-INFO
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: auraseed
|
|
3
|
+
Version: 1.1.1
|
|
4
|
+
Summary: Zero-privilege Python runtime discovery, capability probing, and sovereign virtual environment (mvenv) engine.
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Dynamic: license-file
|
|
9
|
+
|
|
10
|
+
# AuraSeed
|
|
11
|
+
|
|
12
|
+
**Zero-privilege Python runtime discovery, capability probing, and sovereign environment (`mvenv`) seeding engine.**
|
|
13
|
+
|
|
14
|
+
AuraSeed (`v1.1.1`) is a zero-dependency (`dependencies = []`), cross-platform Python library and CLI tool focused strictly on:
|
|
15
|
+
- Auto-discovering existing Python runtimes across Windows Registry (PEP 514), Linux/macOS system locations, modern toolchain managers (`uv`, `pixi`, `pyenv`/`pyenv-win`, `hatch`, `pdm`, `scoop`, `winget`, Visual Studio Shared), and embedded application runtimes (`ArcGIS Pro`, `QGIS`, `OSGeo4W`, `Blender`, `FreeCAD`).
|
|
16
|
+
- Isolated capability probing (`python -I -c ...`) and atomic mtime/size-keyed discovery caching with multi-criteria scoring.
|
|
17
|
+
- Creating and managing sovereign, relocatable virtual environments (`mvenv`s) without administrative privileges.
|
|
18
|
+
- Exposing local/grid MVenv REST + MCP endpoints (`/api/v1/mvenv*`, `/api/v1/discovery`, `/mcp`) and the composable Tkinter `MvenvManagerPanel`.
|
|
19
|
+
|
|
20
|
+
> **Note:** Application packaging, catalog management, and application deployment have moved to [`aurasprout`](../aurasprout), which consumes `auraseed` as a runtime dependency while `auraseed` remains completely decoupled.
|
|
21
|
+
|
|
22
|
+
## Quick Start
|
|
23
|
+
|
|
24
|
+
```powershell
|
|
25
|
+
# Windows (PowerShell)
|
|
26
|
+
.\auraseed.ps1 --help
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# macOS / Linux
|
|
31
|
+
./auraseed.sh --help
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Runtime Discovery & Capability Probing CLI
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Discover host base interpreters and existing mvenvs
|
|
38
|
+
python -m auraseed discover --json
|
|
39
|
+
|
|
40
|
+
# Run deep isolated capability probing (-I) and score candidates
|
|
41
|
+
python -m auraseed discover --json --probe
|
|
42
|
+
|
|
43
|
+
# Require specific modules or pre-installed packages when scoring
|
|
44
|
+
python -m auraseed discover --json --probe --require-module ssl --require-package numpy
|
|
45
|
+
|
|
46
|
+
# Discover via a specific adapter subset (including toolchains / embedded_apps)
|
|
47
|
+
python -m auraseed mvenv discover --adapter toolchains --probe --json
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## MVenv Management CLI
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# List all cataloged mvenvs
|
|
54
|
+
python -m auraseed mvenv list --json
|
|
55
|
+
|
|
56
|
+
# Create a sovereign mvenv (auto-discovery + capability score or version spec)
|
|
57
|
+
python -m auraseed mvenv create data-science --packages numpy pandas
|
|
58
|
+
python -m auraseed mvenv create py312-env --spec ">=3.11" --adapter all --json
|
|
59
|
+
|
|
60
|
+
# Inspect mvenv details, activation commands, and verification
|
|
61
|
+
python -m auraseed mvenv info data-science --json
|
|
62
|
+
python -m auraseed mvenv activate data-science --json
|
|
63
|
+
python -m auraseed mvenv verify data-science --json
|
|
64
|
+
|
|
65
|
+
# Execute Python or arbitrary commands isolated inside an mvenv
|
|
66
|
+
python -m auraseed mvenv python data-science --json -- -c "import sys; print(sys.executable)"
|
|
67
|
+
python -m auraseed mvenv run data-science --json -- pytest -q
|
|
68
|
+
|
|
69
|
+
# Merge multiple mvenvs to consolidate shared dependencies
|
|
70
|
+
python -m auraseed mvenv merge env-a env-b --target shared-env --delete-sources
|
|
71
|
+
|
|
72
|
+
# Export / import portable bundles (Tar-Slip & symlink validated)
|
|
73
|
+
python -m auraseed mvenv export data-science --out data-science.tar.gz
|
|
74
|
+
python -m auraseed mvenv import data-science.tar.gz --name data-science
|
|
75
|
+
|
|
76
|
+
# Peer-to-peer mvenv transfer with another AuraSeed HTTP node
|
|
77
|
+
python -m auraseed p2p push http://127.0.0.1:7099 data-science
|
|
78
|
+
python -m auraseed p2p pull http://127.0.0.1:7099 data-science
|
|
79
|
+
|
|
80
|
+
# Standalone lifecycle & full user cleanup (apps, mvenvs, registry, HKCU env, PATH)
|
|
81
|
+
python -m auraseed install-self --add-to-path --json
|
|
82
|
+
python -m auraseed cleanup app <legacy_app_name> --json
|
|
83
|
+
python -m auraseed cleanup self --yes --json
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Key Environment Variables
|
|
87
|
+
- `AURASEED_MVENV_ROOT` / `AURAGRID_MVENV_ROOT`: Override the active mvenv catalog root (discovery cache defaults to `<root>/.discovery_cache.json` when using a custom root, or `~/.auraseed/discovery_cache.json`).
|
|
88
|
+
- `AURASEED_DISCOVERY_CACHE`: Explicit path override for the interpreter discovery cache file.
|
|
89
|
+
- `AURASEED_BIND_HOST` / `AURASEED_PORT` / `AURASEED_URL`: Server bind host/port (defaults `127.0.0.1:7099`) and `AuraSeedClient` target URL.
|
|
90
|
+
- `AURASEED_HOME` / `AURASEED_STANDALONE_DIR`: Standalone installation paths set on Windows user environment.
|
|
91
|
+
- `AURASEED_BOOTSTRAP_CONFIG` / `AURASEED_DEBUG`: Unattended `bootstrap.json` override and HTTP request debug logging (`=1`).
|
|
92
|
+
|
|
93
|
+
## Agent Skill (`skills/auraseed-mvenv`)
|
|
94
|
+
|
|
95
|
+
An agent skill is included at [`skills/auraseed-mvenv/SKILL.md`](skills/auraseed-mvenv/SKILL.md) (auto-registered via [`.agents/skills.json`](.agents/skills.json)) for mvenv discovery, creation, verification, and execution.
|
|
96
|
+
|
|
97
|
+
## Running the MVenv API & MCP Server
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# Start REST API server (binds 127.0.0.1:7099 by default; configure via AURASEED_BIND_HOST / AURASEED_PORT)
|
|
101
|
+
python -m auraseed serve --port 7099
|
|
102
|
+
|
|
103
|
+
# Run as stdio MCP server (delegates tool calls through the AuraSeed CLI)
|
|
104
|
+
python -m auraseed serve --mcp
|
|
105
|
+
|
|
106
|
+
# Run as an AuraGrid Managed Application Service
|
|
107
|
+
python -m auraseed serve --port 7099 --mas
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### REST API Endpoints & OpenAPI Specification
|
|
111
|
+
The server API adheres to [`openapi.yaml`](auraseed/openapi.yaml) and [`openapi.json`](auraseed/openapi.json):
|
|
112
|
+
- `POST /mcp` — Streamable HTTP Model Context Protocol (MCP) JSON-RPC 2.0 endpoint
|
|
113
|
+
- `GET /health` — Service health probe, runtime info, and mvenv counts
|
|
114
|
+
- `GET /api/v1/openapi.json` / `/api/v1/openapi.yaml` — OpenAPI 3.0.3 specification
|
|
115
|
+
- `GET /api/v1/discovery` — Discover host Python runtimes (`?probe=true`, `?cache=true` / `?use_cache=true`, `?adapter=all`)
|
|
116
|
+
- `GET /api/v1/mvenv` — List all cataloged virtual environments
|
|
117
|
+
- `GET /api/v1/mvenv/{name}` — Retrieve metadata for a specific environment
|
|
118
|
+
- `POST /api/v1/mvenv` — Create and catalog a new environment
|
|
119
|
+
- `POST /api/v1/mvenv/{name}/install` — Install packages into an environment
|
|
120
|
+
- `GET /api/v1/mvenv/{name}/verify` — Verify executable health
|
|
121
|
+
- `POST /api/v1/mvenv/merge` — Merge multiple mvenvs (`repoint_callback` supported in-process)
|
|
122
|
+
- `GET /api/v1/mvenv/{name}/bundle` — Download `.tar.gz` bundle for P2P distribution
|
|
123
|
+
- `POST /api/v1/mvenv/bundle` — Upload and import a `.tar.gz` bundle
|
|
124
|
+
- `DELETE /api/v1/mvenv/{name}` — Remove an environment
|
|
125
|
+
|
|
126
|
+
## Desktop MVenv Manager & Composable Panel
|
|
127
|
+
|
|
128
|
+
Launch the standalone Tkinter MVenv Manager:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
python -m auraseed gui
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Embed `MvenvManagerPanel` in external tools (e.g., AuraSprout):
|
|
135
|
+
|
|
136
|
+
```python
|
|
137
|
+
from auraseed.gui import MvenvManagerPanel
|
|
138
|
+
|
|
139
|
+
panel = MvenvManagerPanel(parent_frame, repoint_callback=my_repoint_fn)
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Documentation
|
|
143
|
+
- [Architecture Guide](docs/architecture.md): Deep dive into Operational Sovereignty and Host Isolation.
|
|
144
|
+
- [Integration Guide](docs/integration_guide.md): How to embed AuraSeed into your own CI/CD pipelines or parent applications.
|
auraseed-1.1.1/README.md
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# AuraSeed
|
|
2
|
+
|
|
3
|
+
**Zero-privilege Python runtime discovery, capability probing, and sovereign environment (`mvenv`) seeding engine.**
|
|
4
|
+
|
|
5
|
+
AuraSeed (`v1.1.1`) is a zero-dependency (`dependencies = []`), cross-platform Python library and CLI tool focused strictly on:
|
|
6
|
+
- Auto-discovering existing Python runtimes across Windows Registry (PEP 514), Linux/macOS system locations, modern toolchain managers (`uv`, `pixi`, `pyenv`/`pyenv-win`, `hatch`, `pdm`, `scoop`, `winget`, Visual Studio Shared), and embedded application runtimes (`ArcGIS Pro`, `QGIS`, `OSGeo4W`, `Blender`, `FreeCAD`).
|
|
7
|
+
- Isolated capability probing (`python -I -c ...`) and atomic mtime/size-keyed discovery caching with multi-criteria scoring.
|
|
8
|
+
- Creating and managing sovereign, relocatable virtual environments (`mvenv`s) without administrative privileges.
|
|
9
|
+
- Exposing local/grid MVenv REST + MCP endpoints (`/api/v1/mvenv*`, `/api/v1/discovery`, `/mcp`) and the composable Tkinter `MvenvManagerPanel`.
|
|
10
|
+
|
|
11
|
+
> **Note:** Application packaging, catalog management, and application deployment have moved to [`aurasprout`](../aurasprout), which consumes `auraseed` as a runtime dependency while `auraseed` remains completely decoupled.
|
|
12
|
+
|
|
13
|
+
## Quick Start
|
|
14
|
+
|
|
15
|
+
```powershell
|
|
16
|
+
# Windows (PowerShell)
|
|
17
|
+
.\auraseed.ps1 --help
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# macOS / Linux
|
|
22
|
+
./auraseed.sh --help
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Runtime Discovery & Capability Probing CLI
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# Discover host base interpreters and existing mvenvs
|
|
29
|
+
python -m auraseed discover --json
|
|
30
|
+
|
|
31
|
+
# Run deep isolated capability probing (-I) and score candidates
|
|
32
|
+
python -m auraseed discover --json --probe
|
|
33
|
+
|
|
34
|
+
# Require specific modules or pre-installed packages when scoring
|
|
35
|
+
python -m auraseed discover --json --probe --require-module ssl --require-package numpy
|
|
36
|
+
|
|
37
|
+
# Discover via a specific adapter subset (including toolchains / embedded_apps)
|
|
38
|
+
python -m auraseed mvenv discover --adapter toolchains --probe --json
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## MVenv Management CLI
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# List all cataloged mvenvs
|
|
45
|
+
python -m auraseed mvenv list --json
|
|
46
|
+
|
|
47
|
+
# Create a sovereign mvenv (auto-discovery + capability score or version spec)
|
|
48
|
+
python -m auraseed mvenv create data-science --packages numpy pandas
|
|
49
|
+
python -m auraseed mvenv create py312-env --spec ">=3.11" --adapter all --json
|
|
50
|
+
|
|
51
|
+
# Inspect mvenv details, activation commands, and verification
|
|
52
|
+
python -m auraseed mvenv info data-science --json
|
|
53
|
+
python -m auraseed mvenv activate data-science --json
|
|
54
|
+
python -m auraseed mvenv verify data-science --json
|
|
55
|
+
|
|
56
|
+
# Execute Python or arbitrary commands isolated inside an mvenv
|
|
57
|
+
python -m auraseed mvenv python data-science --json -- -c "import sys; print(sys.executable)"
|
|
58
|
+
python -m auraseed mvenv run data-science --json -- pytest -q
|
|
59
|
+
|
|
60
|
+
# Merge multiple mvenvs to consolidate shared dependencies
|
|
61
|
+
python -m auraseed mvenv merge env-a env-b --target shared-env --delete-sources
|
|
62
|
+
|
|
63
|
+
# Export / import portable bundles (Tar-Slip & symlink validated)
|
|
64
|
+
python -m auraseed mvenv export data-science --out data-science.tar.gz
|
|
65
|
+
python -m auraseed mvenv import data-science.tar.gz --name data-science
|
|
66
|
+
|
|
67
|
+
# Peer-to-peer mvenv transfer with another AuraSeed HTTP node
|
|
68
|
+
python -m auraseed p2p push http://127.0.0.1:7099 data-science
|
|
69
|
+
python -m auraseed p2p pull http://127.0.0.1:7099 data-science
|
|
70
|
+
|
|
71
|
+
# Standalone lifecycle & full user cleanup (apps, mvenvs, registry, HKCU env, PATH)
|
|
72
|
+
python -m auraseed install-self --add-to-path --json
|
|
73
|
+
python -m auraseed cleanup app <legacy_app_name> --json
|
|
74
|
+
python -m auraseed cleanup self --yes --json
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Key Environment Variables
|
|
78
|
+
- `AURASEED_MVENV_ROOT` / `AURAGRID_MVENV_ROOT`: Override the active mvenv catalog root (discovery cache defaults to `<root>/.discovery_cache.json` when using a custom root, or `~/.auraseed/discovery_cache.json`).
|
|
79
|
+
- `AURASEED_DISCOVERY_CACHE`: Explicit path override for the interpreter discovery cache file.
|
|
80
|
+
- `AURASEED_BIND_HOST` / `AURASEED_PORT` / `AURASEED_URL`: Server bind host/port (defaults `127.0.0.1:7099`) and `AuraSeedClient` target URL.
|
|
81
|
+
- `AURASEED_HOME` / `AURASEED_STANDALONE_DIR`: Standalone installation paths set on Windows user environment.
|
|
82
|
+
- `AURASEED_BOOTSTRAP_CONFIG` / `AURASEED_DEBUG`: Unattended `bootstrap.json` override and HTTP request debug logging (`=1`).
|
|
83
|
+
|
|
84
|
+
## Agent Skill (`skills/auraseed-mvenv`)
|
|
85
|
+
|
|
86
|
+
An agent skill is included at [`skills/auraseed-mvenv/SKILL.md`](skills/auraseed-mvenv/SKILL.md) (auto-registered via [`.agents/skills.json`](.agents/skills.json)) for mvenv discovery, creation, verification, and execution.
|
|
87
|
+
|
|
88
|
+
## Running the MVenv API & MCP Server
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
# Start REST API server (binds 127.0.0.1:7099 by default; configure via AURASEED_BIND_HOST / AURASEED_PORT)
|
|
92
|
+
python -m auraseed serve --port 7099
|
|
93
|
+
|
|
94
|
+
# Run as stdio MCP server (delegates tool calls through the AuraSeed CLI)
|
|
95
|
+
python -m auraseed serve --mcp
|
|
96
|
+
|
|
97
|
+
# Run as an AuraGrid Managed Application Service
|
|
98
|
+
python -m auraseed serve --port 7099 --mas
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### REST API Endpoints & OpenAPI Specification
|
|
102
|
+
The server API adheres to [`openapi.yaml`](auraseed/openapi.yaml) and [`openapi.json`](auraseed/openapi.json):
|
|
103
|
+
- `POST /mcp` — Streamable HTTP Model Context Protocol (MCP) JSON-RPC 2.0 endpoint
|
|
104
|
+
- `GET /health` — Service health probe, runtime info, and mvenv counts
|
|
105
|
+
- `GET /api/v1/openapi.json` / `/api/v1/openapi.yaml` — OpenAPI 3.0.3 specification
|
|
106
|
+
- `GET /api/v1/discovery` — Discover host Python runtimes (`?probe=true`, `?cache=true` / `?use_cache=true`, `?adapter=all`)
|
|
107
|
+
- `GET /api/v1/mvenv` — List all cataloged virtual environments
|
|
108
|
+
- `GET /api/v1/mvenv/{name}` — Retrieve metadata for a specific environment
|
|
109
|
+
- `POST /api/v1/mvenv` — Create and catalog a new environment
|
|
110
|
+
- `POST /api/v1/mvenv/{name}/install` — Install packages into an environment
|
|
111
|
+
- `GET /api/v1/mvenv/{name}/verify` — Verify executable health
|
|
112
|
+
- `POST /api/v1/mvenv/merge` — Merge multiple mvenvs (`repoint_callback` supported in-process)
|
|
113
|
+
- `GET /api/v1/mvenv/{name}/bundle` — Download `.tar.gz` bundle for P2P distribution
|
|
114
|
+
- `POST /api/v1/mvenv/bundle` — Upload and import a `.tar.gz` bundle
|
|
115
|
+
- `DELETE /api/v1/mvenv/{name}` — Remove an environment
|
|
116
|
+
|
|
117
|
+
## Desktop MVenv Manager & Composable Panel
|
|
118
|
+
|
|
119
|
+
Launch the standalone Tkinter MVenv Manager:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
python -m auraseed gui
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Embed `MvenvManagerPanel` in external tools (e.g., AuraSprout):
|
|
126
|
+
|
|
127
|
+
```python
|
|
128
|
+
from auraseed.gui import MvenvManagerPanel
|
|
129
|
+
|
|
130
|
+
panel = MvenvManagerPanel(parent_frame, repoint_callback=my_repoint_fn)
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Documentation
|
|
134
|
+
- [Architecture Guide](docs/architecture.md): Deep dive into Operational Sovereignty and Host Isolation.
|
|
135
|
+
- [Integration Guide](docs/integration_guide.md): How to embed AuraSeed into your own CI/CD pipelines or parent applications.
|