autodeploy-ai 1.7.2__tar.gz → 1.7.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.
- {autodeploy_ai-1.7.2/autodeploy_ai.egg-info → autodeploy_ai-1.7.4}/PKG-INFO +16 -5
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/README.md +15 -4
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4/autodeploy_ai.egg-info}/PKG-INFO +16 -5
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/deploy.py +18 -4
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/pyproject.toml +1 -1
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/.env.example +0 -0
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/MANIFEST.in +0 -0
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/Takhir.png +0 -0
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/Tawal.png +0 -0
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/autodeploy_ai.egg-info/SOURCES.txt +0 -0
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/autodeploy_ai.egg-info/dependency_links.txt +0 -0
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/autodeploy_ai.egg-info/entry_points.txt +0 -0
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/autodeploy_ai.egg-info/requires.txt +0 -0
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/autodeploy_ai.egg-info/top_level.txt +0 -0
- {autodeploy_ai-1.7.2 → autodeploy_ai-1.7.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: autodeploy-ai
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.4
|
|
4
4
|
Summary: Git Init · AI Commit · Auto Push — one command from any terminal
|
|
5
5
|
Author: dhiksn
|
|
6
6
|
License-Expression: MIT
|
|
@@ -68,7 +68,10 @@ autodeploy https://github.com/username/repo-name
|
|
|
68
68
|
autodeploy
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
Pertama kali menjalankan `autodeploy`, wizard setup akan otomatis muncul untuk mengatur provider AI dan API key. Konfigurasi disimpan di
|
|
71
|
+
Pertama kali menjalankan `autodeploy`, wizard setup akan otomatis muncul untuk mengatur provider AI dan API key. Konfigurasi disimpan di lokasi berikut dan berlaku dari folder mana pun:
|
|
72
|
+
|
|
73
|
+
- **Windows** → `C:\ProgramData\autodeploy\config.env`
|
|
74
|
+
- **Linux / Mac** → `~/.autodeploy.env`
|
|
72
75
|
|
|
73
76
|
Untuk mengubah konfigurasi:
|
|
74
77
|
|
|
@@ -103,7 +106,9 @@ Pilih AI provider:
|
|
|
103
106
|
> Provider (1/2/3/4)
|
|
104
107
|
> OpenRouter API Key sk-or-...
|
|
105
108
|
|
|
106
|
-
✓ Setup selesai!
|
|
109
|
+
✓ Setup selesai!
|
|
110
|
+
Konfigurasi disimpan di C:\ProgramData\autodeploy\config.env ← Windows
|
|
111
|
+
Konfigurasi disimpan di ~/.autodeploy.env ← Linux/Mac
|
|
107
112
|
```
|
|
108
113
|
|
|
109
114
|
---
|
|
@@ -134,7 +139,10 @@ Kalau project belum ada `.git`, sebelum flow di atas akan otomatis:
|
|
|
134
139
|
| `ollama` | `llama3.2:latest` | Lokal, gratis, butuh Ollama running | Tidak perlu |
|
|
135
140
|
| `openai` | `gpt-4o-mini` | Online, berbayar | [platform.openai.com](https://platform.openai.com/api-keys) |
|
|
136
141
|
|
|
137
|
-
Model bisa diganti manual di
|
|
142
|
+
Model bisa diganti manual di file config:
|
|
143
|
+
|
|
144
|
+
- **Windows** → `C:\ProgramData\autodeploy\config.env`
|
|
145
|
+
- **Linux / Mac** → `~/.autodeploy.env`
|
|
138
146
|
|
|
139
147
|
```env
|
|
140
148
|
AI_PROVIDER=openrouter
|
|
@@ -165,7 +173,9 @@ Kalau `git push` gagal karena akun GitHub yang aktif berbeda dengan pemilik repo
|
|
|
165
173
|
|
|
166
174
|
## Konfigurasi Lengkap
|
|
167
175
|
|
|
168
|
-
Semua konfigurasi disimpan di
|
|
176
|
+
Semua konfigurasi disimpan di:
|
|
177
|
+
- **Windows** → `C:\ProgramData\autodeploy\config.env`
|
|
178
|
+
- **Linux / Mac** → `~/.autodeploy.env`
|
|
169
179
|
|
|
170
180
|
```env
|
|
171
181
|
# Provider: openrouter | groq | ollama | openai
|
|
@@ -180,6 +190,7 @@ GROQ_MODEL=llama-3.3-70b-versatile
|
|
|
180
190
|
OPENAI_API_KEY=sk-...
|
|
181
191
|
OPENAI_MODEL=gpt-4o-mini
|
|
182
192
|
|
|
193
|
+
# Ollama — bisa lokal atau VPS
|
|
183
194
|
OLLAMA_URL=http://localhost:11434
|
|
184
195
|
OLLAMA_MODEL=llama3.2:latest
|
|
185
196
|
|
|
@@ -45,7 +45,10 @@ autodeploy https://github.com/username/repo-name
|
|
|
45
45
|
autodeploy
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Pertama kali menjalankan `autodeploy`, wizard setup akan otomatis muncul untuk mengatur provider AI dan API key. Konfigurasi disimpan di
|
|
48
|
+
Pertama kali menjalankan `autodeploy`, wizard setup akan otomatis muncul untuk mengatur provider AI dan API key. Konfigurasi disimpan di lokasi berikut dan berlaku dari folder mana pun:
|
|
49
|
+
|
|
50
|
+
- **Windows** → `C:\ProgramData\autodeploy\config.env`
|
|
51
|
+
- **Linux / Mac** → `~/.autodeploy.env`
|
|
49
52
|
|
|
50
53
|
Untuk mengubah konfigurasi:
|
|
51
54
|
|
|
@@ -80,7 +83,9 @@ Pilih AI provider:
|
|
|
80
83
|
> Provider (1/2/3/4)
|
|
81
84
|
> OpenRouter API Key sk-or-...
|
|
82
85
|
|
|
83
|
-
✓ Setup selesai!
|
|
86
|
+
✓ Setup selesai!
|
|
87
|
+
Konfigurasi disimpan di C:\ProgramData\autodeploy\config.env ← Windows
|
|
88
|
+
Konfigurasi disimpan di ~/.autodeploy.env ← Linux/Mac
|
|
84
89
|
```
|
|
85
90
|
|
|
86
91
|
---
|
|
@@ -111,7 +116,10 @@ Kalau project belum ada `.git`, sebelum flow di atas akan otomatis:
|
|
|
111
116
|
| `ollama` | `llama3.2:latest` | Lokal, gratis, butuh Ollama running | Tidak perlu |
|
|
112
117
|
| `openai` | `gpt-4o-mini` | Online, berbayar | [platform.openai.com](https://platform.openai.com/api-keys) |
|
|
113
118
|
|
|
114
|
-
Model bisa diganti manual di
|
|
119
|
+
Model bisa diganti manual di file config:
|
|
120
|
+
|
|
121
|
+
- **Windows** → `C:\ProgramData\autodeploy\config.env`
|
|
122
|
+
- **Linux / Mac** → `~/.autodeploy.env`
|
|
115
123
|
|
|
116
124
|
```env
|
|
117
125
|
AI_PROVIDER=openrouter
|
|
@@ -142,7 +150,9 @@ Kalau `git push` gagal karena akun GitHub yang aktif berbeda dengan pemilik repo
|
|
|
142
150
|
|
|
143
151
|
## Konfigurasi Lengkap
|
|
144
152
|
|
|
145
|
-
Semua konfigurasi disimpan di
|
|
153
|
+
Semua konfigurasi disimpan di:
|
|
154
|
+
- **Windows** → `C:\ProgramData\autodeploy\config.env`
|
|
155
|
+
- **Linux / Mac** → `~/.autodeploy.env`
|
|
146
156
|
|
|
147
157
|
```env
|
|
148
158
|
# Provider: openrouter | groq | ollama | openai
|
|
@@ -157,6 +167,7 @@ GROQ_MODEL=llama-3.3-70b-versatile
|
|
|
157
167
|
OPENAI_API_KEY=sk-...
|
|
158
168
|
OPENAI_MODEL=gpt-4o-mini
|
|
159
169
|
|
|
170
|
+
# Ollama — bisa lokal atau VPS
|
|
160
171
|
OLLAMA_URL=http://localhost:11434
|
|
161
172
|
OLLAMA_MODEL=llama3.2:latest
|
|
162
173
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: autodeploy-ai
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.4
|
|
4
4
|
Summary: Git Init · AI Commit · Auto Push — one command from any terminal
|
|
5
5
|
Author: dhiksn
|
|
6
6
|
License-Expression: MIT
|
|
@@ -68,7 +68,10 @@ autodeploy https://github.com/username/repo-name
|
|
|
68
68
|
autodeploy
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
Pertama kali menjalankan `autodeploy`, wizard setup akan otomatis muncul untuk mengatur provider AI dan API key. Konfigurasi disimpan di
|
|
71
|
+
Pertama kali menjalankan `autodeploy`, wizard setup akan otomatis muncul untuk mengatur provider AI dan API key. Konfigurasi disimpan di lokasi berikut dan berlaku dari folder mana pun:
|
|
72
|
+
|
|
73
|
+
- **Windows** → `C:\ProgramData\autodeploy\config.env`
|
|
74
|
+
- **Linux / Mac** → `~/.autodeploy.env`
|
|
72
75
|
|
|
73
76
|
Untuk mengubah konfigurasi:
|
|
74
77
|
|
|
@@ -103,7 +106,9 @@ Pilih AI provider:
|
|
|
103
106
|
> Provider (1/2/3/4)
|
|
104
107
|
> OpenRouter API Key sk-or-...
|
|
105
108
|
|
|
106
|
-
✓ Setup selesai!
|
|
109
|
+
✓ Setup selesai!
|
|
110
|
+
Konfigurasi disimpan di C:\ProgramData\autodeploy\config.env ← Windows
|
|
111
|
+
Konfigurasi disimpan di ~/.autodeploy.env ← Linux/Mac
|
|
107
112
|
```
|
|
108
113
|
|
|
109
114
|
---
|
|
@@ -134,7 +139,10 @@ Kalau project belum ada `.git`, sebelum flow di atas akan otomatis:
|
|
|
134
139
|
| `ollama` | `llama3.2:latest` | Lokal, gratis, butuh Ollama running | Tidak perlu |
|
|
135
140
|
| `openai` | `gpt-4o-mini` | Online, berbayar | [platform.openai.com](https://platform.openai.com/api-keys) |
|
|
136
141
|
|
|
137
|
-
Model bisa diganti manual di
|
|
142
|
+
Model bisa diganti manual di file config:
|
|
143
|
+
|
|
144
|
+
- **Windows** → `C:\ProgramData\autodeploy\config.env`
|
|
145
|
+
- **Linux / Mac** → `~/.autodeploy.env`
|
|
138
146
|
|
|
139
147
|
```env
|
|
140
148
|
AI_PROVIDER=openrouter
|
|
@@ -165,7 +173,9 @@ Kalau `git push` gagal karena akun GitHub yang aktif berbeda dengan pemilik repo
|
|
|
165
173
|
|
|
166
174
|
## Konfigurasi Lengkap
|
|
167
175
|
|
|
168
|
-
Semua konfigurasi disimpan di
|
|
176
|
+
Semua konfigurasi disimpan di:
|
|
177
|
+
- **Windows** → `C:\ProgramData\autodeploy\config.env`
|
|
178
|
+
- **Linux / Mac** → `~/.autodeploy.env`
|
|
169
179
|
|
|
170
180
|
```env
|
|
171
181
|
# Provider: openrouter | groq | ollama | openai
|
|
@@ -180,6 +190,7 @@ GROQ_MODEL=llama-3.3-70b-versatile
|
|
|
180
190
|
OPENAI_API_KEY=sk-...
|
|
181
191
|
OPENAI_MODEL=gpt-4o-mini
|
|
182
192
|
|
|
193
|
+
# Ollama — bisa lokal atau VPS
|
|
183
194
|
OLLAMA_URL=http://localhost:11434
|
|
184
195
|
OLLAMA_MODEL=llama3.2:latest
|
|
185
196
|
|
|
@@ -56,7 +56,7 @@ from prompt_toolkit.formatted_text import HTML
|
|
|
56
56
|
# ── Console ───────────────────────────────────────────────────────────────────
|
|
57
57
|
console = Console(highlight=False, soft_wrap=True)
|
|
58
58
|
|
|
59
|
-
APP_VERSION = "1.7.
|
|
59
|
+
APP_VERSION = "1.7.4"
|
|
60
60
|
|
|
61
61
|
# ── Theme: teal + amber (no purple, no blue) ──────────────────────────────────
|
|
62
62
|
C_HEAD = "bold turquoise2"
|
|
@@ -282,11 +282,25 @@ def run_setup_wizard():
|
|
|
282
282
|
elif provider == "ollama":
|
|
283
283
|
console.print()
|
|
284
284
|
console.print(Panel(
|
|
285
|
-
f"[{C_DIM}]Pastikan Ollama sudah running
|
|
286
|
-
f"Download: [/][{C_ACCENT}]https://ollama.com[/]"
|
|
285
|
+
f"[{C_DIM}]Pastikan Ollama sudah running (lokal atau VPS/container).\n"
|
|
286
|
+
f"Download: [/][{C_ACCENT}]https://ollama.com[/]\n\n"
|
|
287
|
+
f"[{C_VAL}]Contoh URL:[/]\n"
|
|
288
|
+
f" [{C_DIM}]•[/] Lokal [{C_ACCENT}]http://localhost:11434[/]\n"
|
|
289
|
+
f" [{C_DIM}]•[/] VPS [{C_ACCENT}]http://123.456.789.0:11434[/]\n"
|
|
290
|
+
f" [{C_DIM}]•[/] Docker [{C_ACCENT}]http://host.docker.internal:11434[/]\n"
|
|
291
|
+
f" [{C_DIM}]•[/] Custom port [{C_ACCENT}]http://123.456.789.0:10228[/]",
|
|
287
292
|
border_style=C_DIM, box=SQUARE, padding=(0, 2),
|
|
288
293
|
))
|
|
289
294
|
console.print()
|
|
295
|
+
try:
|
|
296
|
+
ollama_url = pt_prompt(
|
|
297
|
+
HTML('<ansibrightblack> > </ansibrightblack><ansicyan>Ollama URL </ansicyan>'),
|
|
298
|
+
style=PT_STYLE,
|
|
299
|
+
placeholder=" http://localhost:11434",
|
|
300
|
+
).strip()
|
|
301
|
+
except (KeyboardInterrupt, EOFError):
|
|
302
|
+
raise KeyboardInterrupt
|
|
303
|
+
ollama_url = ollama_url or "http://localhost:11434"
|
|
290
304
|
try:
|
|
291
305
|
model = pt_prompt(
|
|
292
306
|
HTML('<ansibrightblack> > </ansibrightblack><ansicyan>Model name </ansicyan>'),
|
|
@@ -297,7 +311,7 @@ def run_setup_wizard():
|
|
|
297
311
|
raise KeyboardInterrupt
|
|
298
312
|
model = model or "llama3.2:latest"
|
|
299
313
|
config_lines += [
|
|
300
|
-
"OLLAMA_URL=
|
|
314
|
+
f"OLLAMA_URL={ollama_url}",
|
|
301
315
|
f"OLLAMA_MODEL={model}",
|
|
302
316
|
]
|
|
303
317
|
|
|
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
|