deliberaide-cli 0.1.4__tar.gz → 0.1.6__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.
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/PKG-INFO +26 -1
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/README.md +26 -1
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/__main__.py +1 -1
- deliberaide_cli-0.1.6/deliberaide_cli/copilot_chat.py +600 -0
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/core/__init__.py +1 -1
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/core/manifest.py +1 -1
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/deliberaide_cli.py +992 -985
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/route_manifest.json +41357 -40049
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/utils/__init__.py +1 -1
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/utils/api_backend.py +138 -138
- deliberaide_cli-0.1.6/deliberaide_cli/utils/formatting.py +137 -0
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/utils/repl_skin.py +1 -1
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli.egg-info/PKG-INFO +26 -1
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli.egg-info/SOURCES.txt +1 -0
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/setup.py +1 -1
- deliberaide_cli-0.1.4/deliberaide_cli/utils/formatting.py +0 -86
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/__init__.py +0 -0
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli/core/session.py +0 -0
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli.egg-info/dependency_links.txt +0 -0
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli.egg-info/entry_points.txt +0 -0
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli.egg-info/requires.txt +0 -0
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/deliberaide_cli.egg-info/top_level.txt +0 -0
- {deliberaide_cli-0.1.4 → deliberaide_cli-0.1.6}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deliberaide-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
4
4
|
Summary: Stateful, agent-native CLI for the deliberAIde v2 API
|
|
5
5
|
Home-page: https://deliberaide.com
|
|
6
6
|
Author: deliberAIde
|
|
@@ -110,6 +110,31 @@ Or load JSON from a file:
|
|
|
110
110
|
deliberaide-cli projects create-project --body-file .\payload.json
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
+
## Co-Pilot turns
|
|
114
|
+
|
|
115
|
+
The web app talks to the Co-Pilot over the WebSocket `/api/v1/ws/copilot`, not over the
|
|
116
|
+
blocking `POST /copilot/conversations/{id}/messages`. `copilot chat` does the same: it
|
|
117
|
+
sends one `copilot_message` frame carrying the web client's `runtime_context` (selected
|
|
118
|
+
workflow, discussion scope), streams the server's progress frames, keeps the connection
|
|
119
|
+
alive with pings, and returns the final message when the turn ends. Turns can take
|
|
120
|
+
several minutes.
|
|
121
|
+
|
|
122
|
+
```powershell
|
|
123
|
+
# new conversation on a discussion; streams frames, prints the final answer
|
|
124
|
+
deliberaide-cli copilot chat --discussion-id <uuid> --x-organisation-id <uuid> --text "..."
|
|
125
|
+
|
|
126
|
+
# continue an existing conversation; scope and workflow are restored from it
|
|
127
|
+
deliberaide-cli --json copilot chat --conversation-id <uuid> --text "..." --no-stream
|
|
128
|
+
|
|
129
|
+
# show the frame that would be sent, without sending it
|
|
130
|
+
deliberaide-cli copilot chat --conversation-id <uuid> --text "..." --dry-run
|
|
131
|
+
|
|
132
|
+
# a turn started with the blocking POST timed out client-side: poll for the answer
|
|
133
|
+
deliberaide-cli copilot wait --conversation-id <uuid>
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Object-typed body fields such as `--runtime-context` accept JSON text or `@file`.
|
|
137
|
+
|
|
113
138
|
## Multipart uploads
|
|
114
139
|
|
|
115
140
|
```powershell
|
|
@@ -72,6 +72,31 @@ Or load JSON from a file:
|
|
|
72
72
|
deliberaide-cli projects create-project --body-file .\payload.json
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
+
## Co-Pilot turns
|
|
76
|
+
|
|
77
|
+
The web app talks to the Co-Pilot over the WebSocket `/api/v1/ws/copilot`, not over the
|
|
78
|
+
blocking `POST /copilot/conversations/{id}/messages`. `copilot chat` does the same: it
|
|
79
|
+
sends one `copilot_message` frame carrying the web client's `runtime_context` (selected
|
|
80
|
+
workflow, discussion scope), streams the server's progress frames, keeps the connection
|
|
81
|
+
alive with pings, and returns the final message when the turn ends. Turns can take
|
|
82
|
+
several minutes.
|
|
83
|
+
|
|
84
|
+
```powershell
|
|
85
|
+
# new conversation on a discussion; streams frames, prints the final answer
|
|
86
|
+
deliberaide-cli copilot chat --discussion-id <uuid> --x-organisation-id <uuid> --text "..."
|
|
87
|
+
|
|
88
|
+
# continue an existing conversation; scope and workflow are restored from it
|
|
89
|
+
deliberaide-cli --json copilot chat --conversation-id <uuid> --text "..." --no-stream
|
|
90
|
+
|
|
91
|
+
# show the frame that would be sent, without sending it
|
|
92
|
+
deliberaide-cli copilot chat --conversation-id <uuid> --text "..." --dry-run
|
|
93
|
+
|
|
94
|
+
# a turn started with the blocking POST timed out client-side: poll for the answer
|
|
95
|
+
deliberaide-cli copilot wait --conversation-id <uuid>
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Object-typed body fields such as `--runtime-context` accept JSON text or `@file`.
|
|
99
|
+
|
|
75
100
|
## Multipart uploads
|
|
76
101
|
|
|
77
102
|
```powershell
|
|
@@ -119,4 +144,4 @@ exit
|
|
|
119
144
|
|
|
120
145
|
```powershell
|
|
121
146
|
python -m pytest .\agent-harness\deliberaide_cli\tests -v
|
|
122
|
-
```
|
|
147
|
+
```
|