devin-cli 1.3.3__tar.gz → 1.3.4__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.
- {devin_cli-1.3.3 → devin_cli-1.3.4}/CHANGELOG.md +5 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/PKG-INFO +1 -1
- {devin_cli-1.3.3 → devin_cli-1.3.4}/pyproject.toml +1 -1
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/schedules.py +7 -7
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/cli.py +6 -2
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/test_api/test_schedules.py +2 -1
- {devin_cli-1.3.3 → devin_cli-1.3.4}/.github/workflows/pypi-publish.yml +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/.gitignore +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/LICENSE +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/README.md +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/assets/logo.png +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/generate_facades.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/setup.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/__init__.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/__init__.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/attachments.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/client.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/consumption.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/knowledge.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/members.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/organizations.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/playbooks.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/repositories.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/schedules.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/secrets.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/sessions.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v1/__init__.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v1/attachments.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v1/knowledge.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v1/playbooks.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v1/secrets.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v1/sessions.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/__init__.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/attachments.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/consumption.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/knowledge.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/members.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/organizations.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/playbooks.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/repositories.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/secrets.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/api/v3/sessions.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/src/devin_cli/config.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/__init__.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/conftest.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/test_api/test_attachments.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/test_api/test_knowledge.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/test_api/test_playbooks.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/test_api/test_repositories.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/test_api/test_secrets.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/test_api/test_sessions.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/test_cli.py +0 -0
- {devin_cli-1.3.3 → devin_cli-1.3.4}/tests/test_config.py +0 -0
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.3.4] - 2026-05-03
|
|
9
|
+
### Fixed
|
|
10
|
+
- **Scheduled Sessions API**: Updated the `schedules create` and `schedules update` commands to map the old `cron` and `title` fields to the new `frequency` and `name` properties required by the API. Added `schedule_type="recurring"` and fixed the update method to correctly use `PATCH`.
|
|
11
|
+
- CLI commands now properly read `name`, `frequency`, and `scheduled_session_id` from the API response instead of erroring out.
|
|
12
|
+
|
|
8
13
|
## [1.3.3] - 2026-04-21
|
|
9
14
|
### Fixed
|
|
10
15
|
- **ModuleNotFoundError: requests**: Replaced the leftover `requests` import and exception handling in `cli.py` with `httpx` to match project dependencies. This fixes installation errors via Homebrew and pipx.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: devin-cli
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.4
|
|
4
4
|
Summary: Unofficial CLI for Devin AI - The first AI Software Engineer
|
|
5
5
|
Project-URL: Homepage, https://github.com/revanthpobala/devin-cli
|
|
6
6
|
Project-URL: Repository, https://github.com/revanthpobala/devin-cli.git
|
|
@@ -19,12 +19,12 @@ def create_schedule(
|
|
|
19
19
|
):
|
|
20
20
|
data = {
|
|
21
21
|
"prompt": prompt,
|
|
22
|
-
"
|
|
22
|
+
"frequency": cron,
|
|
23
|
+
"schedule_type": "recurring",
|
|
24
|
+
"agent": "advanced" if advanced_mode else "devin",
|
|
23
25
|
}
|
|
24
26
|
if title:
|
|
25
|
-
data["
|
|
26
|
-
if advanced_mode:
|
|
27
|
-
data["advanced_mode"] = advanced_mode
|
|
27
|
+
data["name"] = title
|
|
28
28
|
if playbook_id:
|
|
29
29
|
data["playbook_id"] = playbook_id
|
|
30
30
|
if repos:
|
|
@@ -48,13 +48,13 @@ def update_schedule(
|
|
|
48
48
|
if prompt:
|
|
49
49
|
data["prompt"] = prompt
|
|
50
50
|
if cron:
|
|
51
|
-
data["
|
|
51
|
+
data["frequency"] = cron
|
|
52
52
|
if title:
|
|
53
|
-
data["
|
|
53
|
+
data["name"] = title
|
|
54
54
|
if enabled is not None:
|
|
55
55
|
data["enabled"] = enabled
|
|
56
56
|
|
|
57
|
-
return client.
|
|
57
|
+
return client.patch(f"schedules/{schedule_id}", json=data)
|
|
58
58
|
|
|
59
59
|
def delete_schedule(schedule_id: str):
|
|
60
60
|
return client.delete(f"schedules/{schedule_id}")
|
|
@@ -664,7 +664,10 @@ def list_schedules_cmd(org: Optional[str] = typer.Option(None, "--org")):
|
|
|
664
664
|
table.add_column("Title")
|
|
665
665
|
table.add_column("Cron")
|
|
666
666
|
for item in items:
|
|
667
|
-
|
|
667
|
+
schedule_id = str(item.get("id") or item.get("scheduled_session_id") or "")
|
|
668
|
+
title = str(item.get("name") or item.get("title") or "")
|
|
669
|
+
cron = str(item.get("frequency") or item.get("cron") or "")
|
|
670
|
+
table.add_row(schedule_id, title, cron)
|
|
668
671
|
console.print(table)
|
|
669
672
|
|
|
670
673
|
|
|
@@ -680,7 +683,8 @@ def create_schedule_cmd(
|
|
|
680
683
|
"""Create a recurring schedule."""
|
|
681
684
|
if org: config.temporary_org_id = org
|
|
682
685
|
resp = schedules.create_schedule(prompt=prompt, cron=cron, title=title)
|
|
683
|
-
|
|
686
|
+
schedule_id = resp.get('id') or resp.get('scheduled_session_id')
|
|
687
|
+
console.print(f"[green]Created schedule:[/green] {schedule_id}")
|
|
684
688
|
|
|
685
689
|
return resp
|
|
686
690
|
|
|
@@ -27,7 +27,8 @@ def test_create_schedule():
|
|
|
27
27
|
import json
|
|
28
28
|
body = json.loads(route.calls.last.request.read())
|
|
29
29
|
assert body["prompt"] == "test prompt"
|
|
30
|
-
assert body["
|
|
30
|
+
assert body["frequency"] == "0 0 * * *"
|
|
31
|
+
assert body["schedule_type"] == "recurring"
|
|
31
32
|
|
|
32
33
|
@respx.mock
|
|
33
34
|
def test_delete_schedule():
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|