@hybridlabor-api/aos 4.11.0 → 4.12.1
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.
- package/README.de.md +296 -725
- package/README.md +294 -831
- package/README.pt.md +316 -677
- package/bin/aos-store.mjs +29 -59
- package/installer.js +39 -2
- package/lib/ecc-store-index.json +1 -1
- package/lib/store-shared.mjs +133 -0
- package/lib/store-ui/index.html +150 -0
- package/lib/store-ui/server.mjs +180 -0
- package/package.json +2 -2
- package/scripts/build-ecc-store-index.mjs +17 -1
- package/scripts/build-plugin-manifest.mjs +3 -3
- package/skills/bdb-aos/SKILL.md +46 -0
- package/skills/global_config/aos-store/SKILL.md +71 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aos-store
|
|
3
|
+
description: Browse, preview, and install AOS Core + ECC skills and agents from a local web UI. Use when exploring or adding new skills to a project.
|
|
4
|
+
category: bdb-core
|
|
5
|
+
metadata:
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
license: Apache-2.0
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# AOS Store
|
|
11
|
+
|
|
12
|
+
A web UI for discovering and installing AOS skills and agents. Lists what is already installed, previews new items before adding them, and confirms every install explicitly.
|
|
13
|
+
|
|
14
|
+
## When to Use
|
|
15
|
+
|
|
16
|
+
- You want to explore available AOS Core + ECC skills and agents in a local web UI.
|
|
17
|
+
- You need to preview a skill or agent before installing it.
|
|
18
|
+
- You want to install skills or agents globally (all harnesses) or into the current project, with explicit confirmation before each install.
|
|
19
|
+
|
|
20
|
+
## How It Works
|
|
21
|
+
|
|
22
|
+
Run `aos-store ui` to start the local store server. It prints the URL (default `http://127.0.0.1:4322`), opens your browser unless `--no-open` is set, and runs in the foreground.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# Start the store UI (opens browser automatically)
|
|
26
|
+
aos-store ui
|
|
27
|
+
|
|
28
|
+
# Start with a custom port
|
|
29
|
+
AOS_STORE_PORT=5000 aos-store ui
|
|
30
|
+
|
|
31
|
+
# Start without opening the browser
|
|
32
|
+
aos-store ui --no-open
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**Fallback (if `aos-store` is not on PATH):**
|
|
36
|
+
```bash
|
|
37
|
+
npx -p @hybridlabor-api/aos aos-store ui
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### On Harnesses Without Browser Support
|
|
41
|
+
|
|
42
|
+
Some harnesses (e.g. OpenCode) cannot open a browser automatically. **Always print the store URL in chat** (e.g., `http://127.0.0.1:4322`) so the user can click it manually.
|
|
43
|
+
|
|
44
|
+
## Store Features
|
|
45
|
+
|
|
46
|
+
- **Browse:** Lists all available AOS Core and ECC skills and agents.
|
|
47
|
+
- **Show Installed:** Marks what is already installed and which items are AOS Core (always included).
|
|
48
|
+
- **Preview:** "+ Add" first shows the exact target paths for the chosen scope (global or project); nothing is written yet.
|
|
49
|
+
- **Confirm:** Every install requires explicit user confirmation — nothing is installed silently.
|
|
50
|
+
- **Multi-file skills:** Skills with extra files (scripts, references) install completely, every file verified by SHA-256. Skills that ship a `hooks/` folder are copied only; their hooks are not registered in your harness settings (the preview warns).
|
|
51
|
+
|
|
52
|
+
## Health Check
|
|
53
|
+
|
|
54
|
+
Check if the store server is running:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
curl http://127.0.0.1:4322/api/health
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Returns `200 OK` if healthy.
|
|
61
|
+
|
|
62
|
+
## Stopping the Store
|
|
63
|
+
|
|
64
|
+
The store runs in the foreground. Stop it with **Ctrl-C**. No separate stop command is available.
|
|
65
|
+
|
|
66
|
+
## Environment Variables
|
|
67
|
+
|
|
68
|
+
| Variable | Purpose | Default |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| `AOS_STORE_PORT` | Server port | `4322` |
|
|
71
|
+
|