delos-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.
- delos_cli/__init__.py +3 -0
- delos_cli/agent/__init__.py +34 -0
- delos_cli/agent/session.py +111 -0
- delos_cli/agent/tools.py +131 -0
- delos_cli/agent/transport.py +102 -0
- delos_cli/apps/__init__.py +6 -0
- delos_cli/apps/base.py +101 -0
- delos_cli/apps/chat/__init__.py +5 -0
- delos_cli/apps/chat/app.py +149 -0
- delos_cli/apps/chat/commands.py +17 -0
- delos_cli/apps/chat/render.py +188 -0
- delos_cli/apps/chat/replay.py +108 -0
- delos_cli/auth/__init__.py +24 -0
- delos_cli/auth/config.py +282 -0
- delos_cli/auth/mfa.py +120 -0
- delos_cli/auth/oauth.py +336 -0
- delos_cli/auth/token_manager.py +136 -0
- delos_cli/commands/__init__.py +10 -0
- delos_cli/commands/base.py +54 -0
- delos_cli/commands/builtin.py +160 -0
- delos_cli/ctx.py +65 -0
- delos_cli/loop.py +19 -0
- delos_cli/main.py +230 -0
- delos_cli/state.py +28 -0
- delos_cli/tools/__init__.py +20 -0
- delos_cli/tools/edit_content.py +193 -0
- delos_cli/tools/run_shell.py +150 -0
- delos_cli/tools/write_content.py +120 -0
- delos_cli/transport/__init__.py +24 -0
- delos_cli/transport/chats.py +235 -0
- delos_cli/transport/client.py +321 -0
- delos_cli/transport/models.py +19 -0
- delos_cli/ui/__init__.py +6 -0
- delos_cli/ui/chat_picker.py +151 -0
- delos_cli/ui/completer.py +68 -0
- delos_cli/ui/lexer.py +62 -0
- delos_cli/ui/output.py +180 -0
- delos_cli/ui/repl.py +679 -0
- delos_cli/ui/style.py +24 -0
- delos_cli-0.1.0.dist-info/METADATA +104 -0
- delos_cli-0.1.0.dist-info/RECORD +43 -0
- delos_cli-0.1.0.dist-info/WHEEL +4 -0
- delos_cli-0.1.0.dist-info/entry_points.txt +2 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: delos-cli
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Terminal REPL for the Delos agent — the Claude-Code-style CLI for Delos.
|
|
5
|
+
Project-URL: Homepage, https://delos.so
|
|
6
|
+
Project-URL: Repository, https://github.com/Delos-Intelligence/cosmos-saas
|
|
7
|
+
Project-URL: Issues, https://github.com/Delos-Intelligence/cosmos-saas/issues
|
|
8
|
+
Author: Delos Intelligence
|
|
9
|
+
License: MIT
|
|
10
|
+
Keywords: agent,ai,chat,cli,delos,repl,terminal
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Operating System :: MacOS
|
|
17
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Topic :: Terminals
|
|
21
|
+
Classifier: Topic :: Utilities
|
|
22
|
+
Requires-Python: ==3.12.*
|
|
23
|
+
Requires-Dist: httpx>=0.27.0
|
|
24
|
+
Requires-Dist: prompt-toolkit>=3.0.47
|
|
25
|
+
Requires-Dist: questionary>=2.0.1
|
|
26
|
+
Requires-Dist: rich>=13.8.0
|
|
27
|
+
Requires-Dist: typer>=0.12.5
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
# delos-cli
|
|
31
|
+
|
|
32
|
+
A terminal REPL for [Delos](https://delos.so) — the **Claude-Code-style CLI for the Delos agent**.
|
|
33
|
+
|
|
34
|
+
Talk to your Delos AI from any shell. Streaming Markdown answers, slash
|
|
35
|
+
commands, and tools that read and edit your local files (with your
|
|
36
|
+
approval), all in a TUI that lives in your terminal.
|
|
37
|
+
|
|
38
|
+
## Install
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
uv tool install delos-cli
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Or with pipx:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
pipx install delos-cli
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Sign in
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
delos login --region eu # or "us" / "ae"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
The browser opens, you sign in to your Delos workspace, and the CLI
|
|
57
|
+
saves your tokens to `~/.config/delos/`.
|
|
58
|
+
|
|
59
|
+
## Run
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
delos
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Conversations are scoped to the directory you launch from — running
|
|
66
|
+
`delos` in `~/projects/foo` shows only chats started in
|
|
67
|
+
`~/projects/foo`. Pick an existing one to resume, or start a fresh one.
|
|
68
|
+
|
|
69
|
+
### In the REPL
|
|
70
|
+
|
|
71
|
+
| Action | Key |
|
|
72
|
+
|---|---|
|
|
73
|
+
| Send a message | `Enter` |
|
|
74
|
+
| New line | `Alt+Enter` |
|
|
75
|
+
| Stop the agent mid-answer | `Esc` (or `/stop`) |
|
|
76
|
+
| Quit | `Ctrl+D` (or `/quit`) |
|
|
77
|
+
| Scroll | mouse wheel · `PageUp` / `PageDown` · `End` to follow again |
|
|
78
|
+
|
|
79
|
+
### Slash commands
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
/help list commands
|
|
83
|
+
/clear wipe the screen and start a fresh conversation
|
|
84
|
+
/rename <new name> rename the current chat
|
|
85
|
+
/delete delete the current chat and go back to the picker
|
|
86
|
+
/resume back to the picker without deleting
|
|
87
|
+
/stop interrupt the agent
|
|
88
|
+
/quit exit
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Requirements
|
|
92
|
+
|
|
93
|
+
- Python 3.12
|
|
94
|
+
- A [Delos](https://delos.so) account
|
|
95
|
+
|
|
96
|
+
## Uninstall
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
uv tool uninstall delos-cli
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
Made by [Delos Intelligence](https://delos.so).
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
delos_cli/__init__.py,sha256=cOx3w6eKvHbE2keK7vlwNBhj9vEChPrX1EtJyE4eKC4,84
|
|
2
|
+
delos_cli/ctx.py,sha256=cWgNHdy1ihC-dwGdRcw9_ely7TXQKoGkeWGzAIWLxrE,2099
|
|
3
|
+
delos_cli/loop.py,sha256=2cmB2kU6g1eCsJmuRpEmRsipIwy65TyY5Tp4JgPClqg,433
|
|
4
|
+
delos_cli/main.py,sha256=2PbAjH-pDc5-_5dKCD0c3AZWKtgZ7N8fZbo7pVRsUQM,8136
|
|
5
|
+
delos_cli/state.py,sha256=VR615D_hrv9iQ5vSHevJe6dF4EyWt3ZdiFFvzOjw278,1068
|
|
6
|
+
delos_cli/agent/__init__.py,sha256=c1Pq-2NCKMQvZZZGXcUid_7wVp00q1l7rXWlxUNxot8,955
|
|
7
|
+
delos_cli/agent/session.py,sha256=nuUbXGPie5LtPhpVHRX8uJjvKdVEBmELOanUDpklAVs,4174
|
|
8
|
+
delos_cli/agent/tools.py,sha256=RkoFJWpsVSpJJxwPs2un2xtx5aza4b2lgrFgkPiBzfQ,4687
|
|
9
|
+
delos_cli/agent/transport.py,sha256=Tyd1YtFCEWY1jlr7R0EhEiQNia_eAo8LY7RKR9y0jWM,3678
|
|
10
|
+
delos_cli/apps/__init__.py,sha256=nPaXAS6uyN-NPW5YFUPub05aEG01m-1-01KIUN-2zEw,187
|
|
11
|
+
delos_cli/apps/base.py,sha256=lGmi-FpkAn93gqTk6x3aYyge1_kJreGQc-n4etWTmDI,3256
|
|
12
|
+
delos_cli/apps/chat/__init__.py,sha256=a3XF7TQJ5bOy3MrLicObccu0m0YnnP18OPTdQulxGSM,91
|
|
13
|
+
delos_cli/apps/chat/app.py,sha256=6LcDABYPugStmnNGc7t5lTdY9FGvEjQqTMTFERO1bys,5739
|
|
14
|
+
delos_cli/apps/chat/commands.py,sha256=eRva5tRuId43WQ4DQqiZ3nMSAC-gkqrB_6jgDNL-jgg,485
|
|
15
|
+
delos_cli/apps/chat/render.py,sha256=m1ii6gZQZnah8C0Yz6M537D1ajI-wi-CS4cZcMTAwSA,6873
|
|
16
|
+
delos_cli/apps/chat/replay.py,sha256=hUEcpxJ6fTgZ_9L3eLYffIineWDAyxre7YqLXrKWTEE,3782
|
|
17
|
+
delos_cli/auth/__init__.py,sha256=QG60kUhMR4lTa26YmpBOapPornA2zJe7UJH6_Qa-RYw,455
|
|
18
|
+
delos_cli/auth/config.py,sha256=ynfJYe_USAnioMbt173Y_QhbMQT8kSreNOs0h54sTXc,10602
|
|
19
|
+
delos_cli/auth/mfa.py,sha256=RX4Tm95OHrTxbQ7YHJxVhc--cxCIWmNQEkCvkBpPfvs,4127
|
|
20
|
+
delos_cli/auth/oauth.py,sha256=7PH37efhVuAqnAYh5Sh_nGPCnR9RqkfiwDpA6ESWZGQ,11906
|
|
21
|
+
delos_cli/auth/token_manager.py,sha256=UhZEEW_OpN-KHlT5dxcjb4O-ZFhZ62pp0jSAlWRNqmE,5688
|
|
22
|
+
delos_cli/commands/__init__.py,sha256=TZVdstJ3YB2y1hxfABv6hyZKmpCpz8O156RwWQ9OnNA,355
|
|
23
|
+
delos_cli/commands/base.py,sha256=g7HMo6ZC1oggvDbI8fkG0Yh3XMpzsPFy_xMG9FG8PdI,1571
|
|
24
|
+
delos_cli/commands/builtin.py,sha256=cIeFHOp8oNrAkuuvwHgT34HhjLd8UbOqxQyWGaz7Bdw,4791
|
|
25
|
+
delos_cli/tools/__init__.py,sha256=R6C2rAFZ4bezOX2eagERNn_q0CbFhxdqGyVyTKdaJHw,695
|
|
26
|
+
delos_cli/tools/edit_content.py,sha256=14hrREwiMAxG5Kk9d7qeUjtuGS8EEnvIKqvlAKNF934,7365
|
|
27
|
+
delos_cli/tools/run_shell.py,sha256=ce-yPwTPu64BKmT3aGiLj5jHAgHaB94GMl_ZfEAbqNI,5459
|
|
28
|
+
delos_cli/tools/write_content.py,sha256=p2FDM3MAm9V7FS9c48KMsrzfEdx-H-DvYi_6E164Bzg,4439
|
|
29
|
+
delos_cli/transport/__init__.py,sha256=7HAyEi209Eo3_3-8vpmJo4SkhqU3AoMWe-L9u7O-rUU,493
|
|
30
|
+
delos_cli/transport/chats.py,sha256=ZpkW6ev1zgU-zjgyLRRk5gAxItpuQ3f3UB4Tj0RV_cI,8022
|
|
31
|
+
delos_cli/transport/client.py,sha256=ZVcv58H0i_s4xNuwn_K96y_si6P8_Gr3iD9UPiS5qAU,11752
|
|
32
|
+
delos_cli/transport/models.py,sha256=4KyHaSKdILY9wjEmssvZXQkgikFgGKFAsVOhUTIVWyM,607
|
|
33
|
+
delos_cli/ui/__init__.py,sha256=cbXMrShviCgj1zTXsytsZSo0FdpSCbl2CH7Im16uTxM,182
|
|
34
|
+
delos_cli/ui/chat_picker.py,sha256=Qgq24IuidNeOE74igWz-2usvop46cxSTCDQ_elMe4b0,4502
|
|
35
|
+
delos_cli/ui/completer.py,sha256=R0t084wViKgZ87l2v2tqorz9I8yxWAzt6cgPccEmRvE,2270
|
|
36
|
+
delos_cli/ui/lexer.py,sha256=1lsuOmSAcW6NJ3hxEcZugvz-LuN5q2CdJyLhG8j94H4,1933
|
|
37
|
+
delos_cli/ui/output.py,sha256=d2ipqWgRxqQo3SruEwmWgGz9DcEnXW8BEA45Akt6xGg,6290
|
|
38
|
+
delos_cli/ui/repl.py,sha256=366GIAppzaz6gmOqd5smg1wqVKW7YMC-20QUd11eQ_s,25283
|
|
39
|
+
delos_cli/ui/style.py,sha256=aty8EO1_z009_iAM6QpjoDyUvMtiwnQHVR_sXapQcdM,641
|
|
40
|
+
delos_cli-0.1.0.dist-info/METADATA,sha256=H5gf_h3sccjDNnGJzM87LjyRzELFnGdUk_tiPYILfvI,2748
|
|
41
|
+
delos_cli-0.1.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
42
|
+
delos_cli-0.1.0.dist-info/entry_points.txt,sha256=GZQ46H7E1dKCu141LTq9orGIItfFMozUKdC3BNvl1d8,45
|
|
43
|
+
delos_cli-0.1.0.dist-info/RECORD,,
|