djinn-bot-cli 0.1.0__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.
- djinn_bot_cli-0.1.0/.gitignore +76 -0
- djinn_bot_cli-0.1.0/PKG-INFO +55 -0
- djinn_bot_cli-0.1.0/README.md +39 -0
- djinn_bot_cli-0.1.0/djinnbot/__init__.py +3 -0
- djinn_bot_cli-0.1.0/djinnbot/chat.py +621 -0
- djinn_bot_cli-0.1.0/djinnbot/client.py +511 -0
- djinn_bot_cli-0.1.0/djinnbot/commands/__init__.py +1 -0
- djinn_bot_cli-0.1.0/djinnbot/commands/agent.py +271 -0
- djinn_bot_cli-0.1.0/djinnbot/commands/memory.py +195 -0
- djinn_bot_cli-0.1.0/djinnbot/commands/pipeline.py +179 -0
- djinn_bot_cli-0.1.0/djinnbot/commands/provider.py +351 -0
- djinn_bot_cli-0.1.0/djinnbot/formatting.py +117 -0
- djinn_bot_cli-0.1.0/djinnbot/main.py +147 -0
- djinn_bot_cli-0.1.0/djinnbot/picker.py +323 -0
- djinn_bot_cli-0.1.0/pyproject.toml +33 -0
- djinn_bot_cli-0.1.0/tests/__init__.py +0 -0
- djinn_bot_cli-0.1.0/tests/conftest.py +451 -0
- djinn_bot_cli-0.1.0/tests/test_chat.py +457 -0
- djinn_bot_cli-0.1.0/tests/test_client.py +584 -0
- djinn_bot_cli-0.1.0/tests/test_commands.py +291 -0
- djinn_bot_cli-0.1.0/tests/test_formatting.py +64 -0
- djinn_bot_cli-0.1.0/tests/test_provider.py +353 -0
- djinn_bot_cli-0.1.0/uv.lock +399 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules/
|
|
3
|
+
.pnp
|
|
4
|
+
.pnp.js
|
|
5
|
+
|
|
6
|
+
# Build outputs
|
|
7
|
+
dist/
|
|
8
|
+
build/
|
|
9
|
+
.next/
|
|
10
|
+
.turbo/
|
|
11
|
+
*.tsbuildinfo
|
|
12
|
+
|
|
13
|
+
# Environment
|
|
14
|
+
.env
|
|
15
|
+
.env.local
|
|
16
|
+
.env.*.local
|
|
17
|
+
|
|
18
|
+
# Database
|
|
19
|
+
*.db
|
|
20
|
+
*.sqlite
|
|
21
|
+
*.sqlite3
|
|
22
|
+
data/
|
|
23
|
+
|
|
24
|
+
# Logs
|
|
25
|
+
logs/
|
|
26
|
+
*.log
|
|
27
|
+
npm-debug.log*
|
|
28
|
+
yarn-debug.log*
|
|
29
|
+
yarn-error.log*
|
|
30
|
+
pnpm-debug.log*
|
|
31
|
+
|
|
32
|
+
# Runtime
|
|
33
|
+
*.pid
|
|
34
|
+
*.seed
|
|
35
|
+
*.pid.lock
|
|
36
|
+
|
|
37
|
+
# Coverage
|
|
38
|
+
coverage/
|
|
39
|
+
.nyc_output/
|
|
40
|
+
|
|
41
|
+
# IDEs
|
|
42
|
+
.idea/
|
|
43
|
+
.vscode/
|
|
44
|
+
*.swp
|
|
45
|
+
*.swo
|
|
46
|
+
*~
|
|
47
|
+
|
|
48
|
+
# OS
|
|
49
|
+
.DS_Store
|
|
50
|
+
Thumbs.db
|
|
51
|
+
|
|
52
|
+
# Python
|
|
53
|
+
__pycache__/
|
|
54
|
+
*.py[cod]
|
|
55
|
+
*$py.class
|
|
56
|
+
*.so
|
|
57
|
+
.Python
|
|
58
|
+
*.egg-info/
|
|
59
|
+
dist/
|
|
60
|
+
build/
|
|
61
|
+
*.egg
|
|
62
|
+
|
|
63
|
+
# Testing
|
|
64
|
+
.vitest/
|
|
65
|
+
coverage/
|
|
66
|
+
|
|
67
|
+
# Misc
|
|
68
|
+
.cache/
|
|
69
|
+
temp/
|
|
70
|
+
tmp/
|
|
71
|
+
# Slack tokens - do not commit
|
|
72
|
+
|
|
73
|
+
# GitHub App secrets
|
|
74
|
+
secrets/
|
|
75
|
+
*.pem
|
|
76
|
+
!*.pem.example
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: djinn-bot-cli
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Python CLI for djinnbot
|
|
5
|
+
Requires-Python: >=3.11
|
|
6
|
+
Requires-Dist: httpx>=0.27.0
|
|
7
|
+
Requires-Dist: rich>=13.0.0
|
|
8
|
+
Requires-Dist: textual>=0.80.0
|
|
9
|
+
Requires-Dist: typer>=0.12.0
|
|
10
|
+
Requires-Dist: websockets>=12.0
|
|
11
|
+
Provides-Extra: dev
|
|
12
|
+
Requires-Dist: pytest-mock>=3.12; extra == 'dev'
|
|
13
|
+
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
14
|
+
Requires-Dist: respx>=0.21.0; extra == 'dev'
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# Djinnbot CLI
|
|
18
|
+
|
|
19
|
+
Python CLI for the djinnbot event-driven agent orchestration framework.
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
cd cli
|
|
25
|
+
pip install -e .
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# Show help
|
|
32
|
+
djinnbot --help
|
|
33
|
+
|
|
34
|
+
# Show system status
|
|
35
|
+
djinnbot status
|
|
36
|
+
|
|
37
|
+
# List agents
|
|
38
|
+
djinnbot agents --list
|
|
39
|
+
|
|
40
|
+
# Run a pipeline
|
|
41
|
+
djinnbot pipelines --run my-pipeline
|
|
42
|
+
|
|
43
|
+
# Emit an event
|
|
44
|
+
djinnbot events --emit user.message
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Development
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# Install in development mode
|
|
51
|
+
pip install -e ".[dev]"
|
|
52
|
+
|
|
53
|
+
# Run with hot reload
|
|
54
|
+
python -m djinnbot.main status
|
|
55
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Djinnbot CLI
|
|
2
|
+
|
|
3
|
+
Python CLI for the djinnbot event-driven agent orchestration framework.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
cd cli
|
|
9
|
+
pip install -e .
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
# Show help
|
|
16
|
+
djinnbot --help
|
|
17
|
+
|
|
18
|
+
# Show system status
|
|
19
|
+
djinnbot status
|
|
20
|
+
|
|
21
|
+
# List agents
|
|
22
|
+
djinnbot agents --list
|
|
23
|
+
|
|
24
|
+
# Run a pipeline
|
|
25
|
+
djinnbot pipelines --run my-pipeline
|
|
26
|
+
|
|
27
|
+
# Emit an event
|
|
28
|
+
djinnbot events --emit user.message
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Development
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# Install in development mode
|
|
35
|
+
pip install -e ".[dev]"
|
|
36
|
+
|
|
37
|
+
# Run with hot reload
|
|
38
|
+
python -m djinnbot.main status
|
|
39
|
+
```
|