devin-cli 1.1.4__tar.gz → 1.1.5__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.1.4 → devin_cli-1.1.5}/CHANGELOG.md +5 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/PKG-INFO +1 -1
- {devin_cli-1.1.4 → devin_cli-1.1.5}/pyproject.toml +1 -1
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/cli.py +23 -4
- {devin_cli-1.1.4 → devin_cli-1.1.5}/.github/workflows/pypi-publish.yml +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/.gitignore +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/LICENSE +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/README.md +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/assets/logo.png +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/generate_facades.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/setup.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/__init__.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/__init__.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/attachments.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/client.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/consumption.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/knowledge.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/members.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/organizations.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/playbooks.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/repositories.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/schedules.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/secrets.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/sessions.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v1/__init__.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v1/attachments.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v1/knowledge.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v1/playbooks.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v1/secrets.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v1/sessions.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/__init__.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/attachments.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/consumption.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/knowledge.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/members.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/organizations.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/playbooks.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/repositories.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/schedules.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/secrets.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/api/v3/sessions.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/src/devin_cli/config.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/__init__.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/conftest.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/test_api/test_attachments.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/test_api/test_knowledge.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/test_api/test_playbooks.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/test_api/test_repositories.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/test_api/test_schedules.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/test_api/test_secrets.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/test_api/test_sessions.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/tests/test_cli.py +0 -0
- {devin_cli-1.1.4 → devin_cli-1.1.5}/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.1.5] - 2026-03-11
|
|
9
|
+
### Fixed
|
|
10
|
+
- `repos list` table now correctly resolves repository paths by handling direct list API responses and trying `repository_path`, `full_name`, `path`, and `name` keys in sequence.
|
|
11
|
+
- `sessions cost` now shows an informative message when `acu_used` is `null` (v1 API sessions or service tokens without cost visibility) instead of silently displaying null.
|
|
12
|
+
|
|
8
13
|
## [1.1.4] - 2026-03-11
|
|
9
14
|
### Fixed
|
|
10
15
|
- Fixed `NameError` crash in `v1/knowledge.py` (`macro` referenced but never declared as a parameter).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: devin-cli
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
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
|
|
@@ -268,8 +268,15 @@ def session_cost_cmd(
|
|
|
268
268
|
if org: config.temporary_org_id = org
|
|
269
269
|
if session_id:
|
|
270
270
|
resp = sessions.get_session(session_id)
|
|
271
|
-
|
|
271
|
+
acu_used = resp.get("acu_used")
|
|
272
|
+
cost_data = {
|
|
273
|
+
"session_id": resp.get("session_id"),
|
|
274
|
+
"status": resp.get("status_enum"),
|
|
275
|
+
"acu_used": acu_used,
|
|
276
|
+
}
|
|
272
277
|
console.print(Panel(json.dumps(cost_data, indent=2), title=f"Session Cost: {session_id}"))
|
|
278
|
+
if acu_used is None:
|
|
279
|
+
console.print("[yellow]ACU data unavailable — this may be a v1 API session or a service token without cost visibility.[/yellow]")
|
|
273
280
|
else:
|
|
274
281
|
resp = consumption.get_daily_consumption_breakdown()
|
|
275
282
|
console.print(Panel(json.dumps(resp, indent=2), title="Daily Consumption"))
|
|
@@ -514,7 +521,12 @@ def list_repos_cmd(
|
|
|
514
521
|
"""List repositories indexed for Devin."""
|
|
515
522
|
if org: config.temporary_org_id = org
|
|
516
523
|
resp = repositories.list_repositories()
|
|
517
|
-
|
|
524
|
+
if isinstance(resp, list):
|
|
525
|
+
items = resp
|
|
526
|
+
elif isinstance(resp, dict):
|
|
527
|
+
items = resp.get("repositories") or resp.get("items") or resp.get("data") or []
|
|
528
|
+
else:
|
|
529
|
+
items = []
|
|
518
530
|
if json_output:
|
|
519
531
|
console.print(json.dumps(items, indent=2))
|
|
520
532
|
return
|
|
@@ -522,8 +534,15 @@ def list_repos_cmd(
|
|
|
522
534
|
table.add_column("Path", style="cyan")
|
|
523
535
|
table.add_column("Indexed", style="green")
|
|
524
536
|
for item in items:
|
|
525
|
-
path =
|
|
526
|
-
|
|
537
|
+
path = (
|
|
538
|
+
item.get("repository_path")
|
|
539
|
+
or item.get("full_name")
|
|
540
|
+
or item.get("path")
|
|
541
|
+
or item.get("name")
|
|
542
|
+
or ""
|
|
543
|
+
)
|
|
544
|
+
indexed = item.get("is_indexed") or item.get("indexed")
|
|
545
|
+
table.add_row(path, "Yes" if indexed else "No")
|
|
527
546
|
console.print(table)
|
|
528
547
|
|
|
529
548
|
@repo_app.command("index")
|
|
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
|
|
File without changes
|
|
File without changes
|