devin-cli 0.1.0__tar.gz → 0.1.2__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.
Files changed (28) hide show
  1. devin_cli-0.1.0/.github/workflows/homebrew-publish.yml → devin_cli-0.1.2/.github/workflows/pypi-publish.yml +34 -4
  2. {devin_cli-0.1.0 → devin_cli-0.1.2}/PKG-INFO +18 -1
  3. {devin_cli-0.1.0 → devin_cli-0.1.2}/README.md +17 -0
  4. {devin_cli-0.1.0 → devin_cli-0.1.2}/pyproject.toml +1 -1
  5. devin_cli-0.1.0/.github/workflows/pypi-publish.yml +0 -31
  6. {devin_cli-0.1.0 → devin_cli-0.1.2}/.gitignore +0 -0
  7. {devin_cli-0.1.0 → devin_cli-0.1.2}/CHANGELOG.md +0 -0
  8. {devin_cli-0.1.0 → devin_cli-0.1.2}/LICENSE +0 -0
  9. {devin_cli-0.1.0 → devin_cli-0.1.2}/assets/logo.png +0 -0
  10. {devin_cli-0.1.0 → devin_cli-0.1.2}/setup.py +0 -0
  11. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/__init__.py +0 -0
  12. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/api/__init__.py +0 -0
  13. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/api/attachments.py +0 -0
  14. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/api/client.py +0 -0
  15. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/api/knowledge.py +0 -0
  16. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/api/playbooks.py +0 -0
  17. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/api/secrets.py +0 -0
  18. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/api/sessions.py +0 -0
  19. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/cli.py +0 -0
  20. {devin_cli-0.1.0 → devin_cli-0.1.2}/src/devin_cli/config.py +0 -0
  21. {devin_cli-0.1.0 → devin_cli-0.1.2}/tests/__init__.py +0 -0
  22. {devin_cli-0.1.0 → devin_cli-0.1.2}/tests/test_api/test_attachments.py +0 -0
  23. {devin_cli-0.1.0 → devin_cli-0.1.2}/tests/test_api/test_knowledge.py +0 -0
  24. {devin_cli-0.1.0 → devin_cli-0.1.2}/tests/test_api/test_playbooks.py +0 -0
  25. {devin_cli-0.1.0 → devin_cli-0.1.2}/tests/test_api/test_secrets.py +0 -0
  26. {devin_cli-0.1.0 → devin_cli-0.1.2}/tests/test_api/test_sessions.py +0 -0
  27. {devin_cli-0.1.0 → devin_cli-0.1.2}/tests/test_cli.py +0 -0
  28. {devin_cli-0.1.0 → devin_cli-0.1.2}/tests/test_config.py +0 -0
@@ -1,4 +1,4 @@
1
- name: Publish to Homebrew Tap
1
+ name: Unified Release Pipeline
2
2
 
3
3
  on:
4
4
  push:
@@ -7,11 +7,37 @@ on:
7
7
  workflow_dispatch:
8
8
  inputs:
9
9
  tag_name:
10
- description: 'Tag name (e.g. v0.0.9)'
10
+ description: 'Tag name (e.g. v0.1.1)'
11
11
  required: true
12
12
 
13
13
  jobs:
14
- update-formula:
14
+ publish-pypi:
15
+ name: Build and publish to PyPI
16
+ runs-on: ubuntu-latest
17
+ environment:
18
+ name: release
19
+ url: https://pypi.org/p/devin-cli
20
+ permissions:
21
+ id-token: write
22
+ contents: read
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+ - name: Set up Python
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: "3.9"
29
+ - name: Install dependencies
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ pip install build
33
+ - name: Build binary wheel and source tarball
34
+ run: python -m build
35
+ - name: Publish to PyPI
36
+ uses: pypa/gh-action-pypi-publish@release/v1
37
+
38
+ update-homebrew:
39
+ name: Update Homebrew Formula
40
+ needs: publish-pypi
15
41
  runs-on: ubuntu-latest
16
42
  steps:
17
43
  - name: Checkout
@@ -31,10 +57,14 @@ jobs:
31
57
  fi
32
58
  echo "VERSION=$VERSION" >> $GITHUB_ENV
33
59
 
34
- # Download source tarball from PyPI to get the hash
60
+ # Construct source URL and fetch to get the hash
35
61
  URL="https://files.pythonhosted.org/packages/source/d/devin-cli/devin_cli-$VERSION.tar.gz"
36
62
  echo "URL=$URL" >> $GITHUB_ENV
37
63
 
64
+ # Wait a few seconds for PyPI CDN to catch up
65
+ echo "Waiting 30 seconds for PyPI CDN to propagate..."
66
+ sleep 30
67
+
38
68
  curl -sL $URL -o devin_cli.tar.gz
39
69
  HASH=$(sha256sum devin_cli.tar.gz | awk '{print $1}')
40
70
  echo "HASH=$HASH" >> $GITHUB_ENV
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devin-cli
3
- Version: 0.1.0
3
+ Version: 0.1.2
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
@@ -84,6 +84,23 @@ devin create-session "Identify and fix the race condition in our Redis cache lay
84
84
  devin watch
85
85
  ```
86
86
 
87
+ ## 🤖 Agentic Integrations (The Missing Link)
88
+ `devin-cli` is built to be composed. Use it as a subprocess to give your primary agent (Claude, OpenDevin, locally hosted LLMs) access to a full AI Engineer.
89
+
90
+ **Example: Blocking Call for Scripts**
91
+ ```bash
92
+ # Script: Trigger Devin and wait for completion
93
+ devin create-session "Refactor auth middleware to use JWT" --wait
94
+ echo "Devin finished. Running integration tests..."
95
+ npm test
96
+ ```
97
+
98
+ **Example: Chaining Workflows**
99
+ ```bash
100
+ # Chain playbooks: Security Audit -> Generate Report
101
+ devin chain "Audit codebase for PII leaks" --playbooks "security_scan,report_gen"
102
+ ```
103
+
87
104
  ---
88
105
 
89
106
  ## 🛠 Command Cheat Sheet
@@ -48,6 +48,23 @@ devin create-session "Identify and fix the race condition in our Redis cache lay
48
48
  devin watch
49
49
  ```
50
50
 
51
+ ## 🤖 Agentic Integrations (The Missing Link)
52
+ `devin-cli` is built to be composed. Use it as a subprocess to give your primary agent (Claude, OpenDevin, locally hosted LLMs) access to a full AI Engineer.
53
+
54
+ **Example: Blocking Call for Scripts**
55
+ ```bash
56
+ # Script: Trigger Devin and wait for completion
57
+ devin create-session "Refactor auth middleware to use JWT" --wait
58
+ echo "Devin finished. Running integration tests..."
59
+ npm test
60
+ ```
61
+
62
+ **Example: Chaining Workflows**
63
+ ```bash
64
+ # Chain playbooks: Security Audit -> Generate Report
65
+ devin chain "Audit codebase for PII leaks" --playbooks "security_scan,report_gen"
66
+ ```
67
+
51
68
  ---
52
69
 
53
70
  ## 🛠 Command Cheat Sheet
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "devin-cli"
3
- version = "0.1.0"
3
+ version = "0.1.2"
4
4
  description = "Unofficial CLI for Devin AI - The first AI Software Engineer"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -1,31 +0,0 @@
1
- name: Publish to PyPI
2
-
3
- on:
4
- push:
5
- tags:
6
- - 'v*'
7
-
8
- jobs:
9
- build-n-publish:
10
- name: Build and publish to PyPI
11
- runs-on: ubuntu-latest
12
- environment:
13
- name: release
14
- url: https://pypi.org/p/devin-cli
15
- permissions:
16
- id-token: write # Mandatory for trusted publishing
17
- contents: read
18
- steps:
19
- - uses: actions/checkout@v4
20
- - name: Set up Python
21
- uses: actions/setup-python@v5
22
- with:
23
- python-version: "3.9"
24
- - name: Install dependencies
25
- run: |
26
- python -m pip install --upgrade pip
27
- pip install build
28
- - name: Build binary wheel and source tarball
29
- run: python -m build
30
- - name: Publish to PyPI
31
- uses: pypa/gh-action-pypi-publish@release/v1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes