gptdiff 0.1.9__py3-none-any.whl → 0.1.10__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.
- gptdiff/gptdiff.py +3 -0
- {gptdiff-0.1.9.dist-info → gptdiff-0.1.10.dist-info}/METADATA +39 -6
- gptdiff-0.1.10.dist-info/RECORD +8 -0
- gptdiff-0.1.9.dist-info/RECORD +0 -8
- {gptdiff-0.1.9.dist-info → gptdiff-0.1.10.dist-info}/LICENSE.txt +0 -0
- {gptdiff-0.1.9.dist-info → gptdiff-0.1.10.dist-info}/WHEEL +0 -0
- {gptdiff-0.1.9.dist-info → gptdiff-0.1.10.dist-info}/entry_points.txt +0 -0
- {gptdiff-0.1.9.dist-info → gptdiff-0.1.10.dist-info}/top_level.txt +0 -0
gptdiff/gptdiff.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: gptdiff
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.10
|
4
4
|
Summary: A tool to generate and apply git diffs using LLMs
|
5
5
|
Author: 255labs
|
6
6
|
Classifier: License :: OSI Approved :: MIT License
|
@@ -27,21 +27,54 @@ Dynamic: summary
|
|
27
27
|
|
28
28
|
# GPTDiff
|
29
29
|
|
30
|
-
🚀 **
|
30
|
+
🚀 **Create and apply diffs with AI** - Modify projects with natural language
|
31
|
+
|
32
|
+
More docs at [gptdiff.255labs.xyz](gptdiff.255labs.xyz)
|
33
|
+
|
34
|
+
### Example Usage of `gptdiff`
|
35
|
+
|
36
|
+
#### Apply a Patch Directly
|
37
|
+
```
|
38
|
+
bash
|
39
|
+
gptdiff "Add button animations on press" --apply
|
40
|
+
```
|
41
|
+
✅ Successfully applied patch
|
42
|
+
|
43
|
+
#### Generate a Patch File
|
44
|
+
```
|
45
|
+
bash
|
46
|
+
gptdiff "Add API documentation" --call
|
47
|
+
```
|
48
|
+
🔧 Patch written to `diff.patch`
|
49
|
+
|
50
|
+
#### Generate a Prompt File Without Calling LLM
|
51
|
+
```
|
52
|
+
bash
|
53
|
+
gptdiff "Improve error messages"
|
54
|
+
```
|
55
|
+
📄 LLM not called, written to `prompt.txt`
|
56
|
+
|
57
|
+
---
|
58
|
+
|
59
|
+
### Basic Usage
|
31
60
|
|
32
61
|
```bash
|
33
62
|
cd myproject
|
34
63
|
gptdiff 'add hover effects to the buttons'
|
35
64
|
```
|
36
65
|
|
37
|
-
Generates a prompt.txt file that you can copy and paste into
|
66
|
+
Generates a prompt.txt file that you can copy and paste into an LLM
|
38
67
|
|
39
|
-
|
68
|
+
### Simple command line agent loops
|
40
69
|
|
41
70
|
```bash
|
42
|
-
|
71
|
+
while
|
72
|
+
do
|
73
|
+
gptdiff "Add missing test cases" --apply
|
74
|
+
done
|
43
75
|
```
|
44
|
-
|
76
|
+
|
77
|
+
*Requires reasoning model*
|
45
78
|
|
46
79
|
### Why GPTDiff?
|
47
80
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
gptdiff/__init__.py,sha256=yGjgwv7tNvH1ZLPsQyoo1CxpTOl1iCAwwDBp-_17ksQ,89
|
2
|
+
gptdiff/gptdiff.py,sha256=78_Y1ifKxCdC-e8TdKm3kKDklyV0K8S0fKyDdXhLNQs,27706
|
3
|
+
gptdiff-0.1.10.dist-info/LICENSE.txt,sha256=zCJk7yUYpMjFvlipi1dKtaljF8WdZ2NASndBYYbU8BY,1228
|
4
|
+
gptdiff-0.1.10.dist-info/METADATA,sha256=jw4gVLU2Gk7Iuqy-NdkeDlF9loiLfd7825lZxXIbQEY,7602
|
5
|
+
gptdiff-0.1.10.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
6
|
+
gptdiff-0.1.10.dist-info/entry_points.txt,sha256=0yvXYEVAZFI-p32kQ4-h3qKVWS0a86jsM9FAwF89t9w,49
|
7
|
+
gptdiff-0.1.10.dist-info/top_level.txt,sha256=XNkQkQGINaDndEwRxg8qToOrJ9coyfAb-EHrSUXzdCE,8
|
8
|
+
gptdiff-0.1.10.dist-info/RECORD,,
|
gptdiff-0.1.9.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
gptdiff/__init__.py,sha256=yGjgwv7tNvH1ZLPsQyoo1CxpTOl1iCAwwDBp-_17ksQ,89
|
2
|
-
gptdiff/gptdiff.py,sha256=k4-iqho7h6NV0hxfpiSVpT3wyG3liBr8Ut_5V5-hjyk,27595
|
3
|
-
gptdiff-0.1.9.dist-info/LICENSE.txt,sha256=zCJk7yUYpMjFvlipi1dKtaljF8WdZ2NASndBYYbU8BY,1228
|
4
|
-
gptdiff-0.1.9.dist-info/METADATA,sha256=jG17S0CxskLxN2HyTXKYOH1Az7i5iafyqe4PcbCj9Ok,7317
|
5
|
-
gptdiff-0.1.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
6
|
-
gptdiff-0.1.9.dist-info/entry_points.txt,sha256=0yvXYEVAZFI-p32kQ4-h3qKVWS0a86jsM9FAwF89t9w,49
|
7
|
-
gptdiff-0.1.9.dist-info/top_level.txt,sha256=XNkQkQGINaDndEwRxg8qToOrJ9coyfAb-EHrSUXzdCE,8
|
8
|
-
gptdiff-0.1.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|