dhub-cli 0.1.0__py3-none-any.whl
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.
- dhub/__init__.py +1 -0
- dhub/cli/__init__.py +1 -0
- dhub/cli/app.py +35 -0
- dhub/cli/auth.py +93 -0
- dhub/cli/config.py +74 -0
- dhub/cli/keys.py +96 -0
- dhub/cli/org.py +125 -0
- dhub/cli/registry.py +254 -0
- dhub/cli/runtime.py +87 -0
- dhub/cli/search.py +36 -0
- dhub/core/__init__.py +1 -0
- dhub/core/install.py +159 -0
- dhub/core/manifest.py +221 -0
- dhub/core/runtime.py +84 -0
- dhub/core/validation.py +50 -0
- dhub/models.py +38 -0
- dhub_cli-0.1.0.dist-info/METADATA +78 -0
- dhub_cli-0.1.0.dist-info/RECORD +20 -0
- dhub_cli-0.1.0.dist-info/WHEEL +4 -0
- dhub_cli-0.1.0.dist-info/entry_points.txt +2 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dhub-cli
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: The CLI package manager for AI agent skills
|
|
5
|
+
Project-URL: Homepage, https://github.com/lfiaschi/decision-hub
|
|
6
|
+
Project-URL: Repository, https://github.com/lfiaschi/decision-hub
|
|
7
|
+
Project-URL: Issues, https://github.com/lfiaschi/decision-hub/issues
|
|
8
|
+
Author-email: Luca Fiaschi <luca.fiaschi@gmail.com>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Environment :: Console
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
18
|
+
Requires-Python: >=3.11
|
|
19
|
+
Requires-Dist: httpx>=0.27.0
|
|
20
|
+
Requires-Dist: pyyaml>=6.0.0
|
|
21
|
+
Requires-Dist: rich>=13.0.0
|
|
22
|
+
Requires-Dist: typer[all]>=0.12.0
|
|
23
|
+
Provides-Extra: dev
|
|
24
|
+
Requires-Dist: pytest>=8.0.0; extra == 'dev'
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
|
|
27
|
+
# dhub
|
|
28
|
+
|
|
29
|
+
The CLI package manager for AI agent skills.
|
|
30
|
+
|
|
31
|
+
`dhub` lets you publish, discover, and install **Skills** — modular capabilities (code + prompts) that agents like Claude, Cursor, and Gemini can use.
|
|
32
|
+
|
|
33
|
+
## Installation
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Via uv
|
|
37
|
+
uv tool install dhub
|
|
38
|
+
|
|
39
|
+
# Via pipx
|
|
40
|
+
pipx install dhub
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Quick Start
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# Authenticate via GitHub
|
|
47
|
+
dhub login
|
|
48
|
+
|
|
49
|
+
# Publish a skill
|
|
50
|
+
dhub publish --org my-org --name my-skill --version 1.0.0
|
|
51
|
+
|
|
52
|
+
# Install a skill
|
|
53
|
+
dhub install my-org/my-skill
|
|
54
|
+
|
|
55
|
+
# Search for skills
|
|
56
|
+
dhub ask "analyze A/B test results"
|
|
57
|
+
|
|
58
|
+
# Run a skill locally
|
|
59
|
+
dhub run my-org/my-skill
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Commands
|
|
63
|
+
|
|
64
|
+
| Command | Description |
|
|
65
|
+
|---------|-------------|
|
|
66
|
+
| `dhub login` | Authenticate via GitHub Device Flow |
|
|
67
|
+
| `dhub publish` | Publish a skill to the registry |
|
|
68
|
+
| `dhub install` | Install a skill |
|
|
69
|
+
| `dhub list` | List installed skills |
|
|
70
|
+
| `dhub delete` | Delete a skill from the registry |
|
|
71
|
+
| `dhub run` | Run a locally installed skill |
|
|
72
|
+
| `dhub ask` | Natural language skill search |
|
|
73
|
+
| `dhub org` | Manage organizations |
|
|
74
|
+
| `dhub keys` | Manage API keys for evaluations |
|
|
75
|
+
|
|
76
|
+
## Documentation
|
|
77
|
+
|
|
78
|
+
See the [main repository](https://github.com/lfiaschi/decision-hub) for full documentation.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
dhub/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
2
|
+
dhub/models.py,sha256=P0nJY8CMCMsiS3KK1ZhvAV-gLQnB6kjK1HTjSTBeAxA,816
|
|
3
|
+
dhub/cli/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
4
|
+
dhub/cli/app.py,sha256=Vkn-PCytu9XUWRTfsqURXT4vcAEf3j6tUrMWvmFKRpQ,1021
|
|
5
|
+
dhub/cli/auth.py,sha256=aRaP5A00iTJMvj-cDC4LbqcgCHWHaTTj5cwH8m8Pz64,2787
|
|
6
|
+
dhub/cli/config.py,sha256=39D-BopFh2pdW0oFxxbL9UiehODq-3UgvX-f-32Wog8,1844
|
|
7
|
+
dhub/cli/keys.py,sha256=JIVxklYRstZyk_57GeZ8xWDsM0xliZCctXVwps_xXBE,2667
|
|
8
|
+
dhub/cli/org.py,sha256=dF1BKZ6zI2BYL9BLfV5c7T2UTPjyeJ9l1pkohDejJec,3602
|
|
9
|
+
dhub/cli/registry.py,sha256=hca6YM9pmAeaGObAnvhKoXU_ICip2axqqwQzWD4K5vM,7964
|
|
10
|
+
dhub/cli/runtime.py,sha256=YsBusGwRue6ulzhHqMxNh6i0x3jnj9hrYD0B9azYkSg,2813
|
|
11
|
+
dhub/cli/search.py,sha256=_mx_pEcFf-oHr5vZjtGatU8xPE9R-t9uyZgt4P0UHA0,1009
|
|
12
|
+
dhub/core/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
13
|
+
dhub/core/install.py,sha256=UJBpcL8hmPjrJGc-8e92dXVsS_z7Vbg3xMDgbMjybbI,4840
|
|
14
|
+
dhub/core/manifest.py,sha256=LDTwTXm8peaQWoMHIai5xaArFswrx1hHWFcyeTiR9GI,7064
|
|
15
|
+
dhub/core/runtime.py,sha256=Q4JHRd4HhP2MtytC_IkQ8uT3i33z82YL9q0nZIPFhTA,2338
|
|
16
|
+
dhub/core/validation.py,sha256=ObnOTQMsk55KeerUbJCYd23jeMIYwmrc0KYTMCvtoTo,1383
|
|
17
|
+
dhub_cli-0.1.0.dist-info/METADATA,sha256=Q-49Oz3jZz-3RBQ01PWmdjTZz1fBULG1uncF9uwJxZc,2199
|
|
18
|
+
dhub_cli-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
19
|
+
dhub_cli-0.1.0.dist-info/entry_points.txt,sha256=vyRYVaVMaUfD0QoXh4QU1AMDwxKgSWxL9-xdGrMcSH8,42
|
|
20
|
+
dhub_cli-0.1.0.dist-info/RECORD,,
|