codegpt-ai 1.0.0
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.
- package/.claude/settings.local.json +7 -0
- package/.github/workflows/release.yml +40 -0
- package/CLAUDE.md +58 -0
- package/ai.spec +81 -0
- package/ai_cli/__init__.py +2 -0
- package/ai_cli/__main__.py +46 -0
- package/ai_cli/doctor.py +89 -0
- package/ai_cli/updater.py +191 -0
- package/app.py +958 -0
- package/bin/ai.js +55 -0
- package/bin/setup.js +40 -0
- package/bot.py +1453 -0
- package/build.ps1 +22 -0
- package/chat.py +6198 -0
- package/codex-instructions.md +11 -0
- package/install-termux.sh +158 -0
- package/install.ps1 +89 -0
- package/mobile.py +422 -0
- package/package.json +35 -0
- package/pyproject.toml +33 -0
- package/requirements.txt +12 -0
- package/run.py +157 -0
- package/server.py +335 -0
- package/uninstall.ps1 +30 -0
- package/web.py +728 -0
package/build.ps1
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Build ai.exe locally
|
|
2
|
+
# Run: powershell -File build.ps1
|
|
3
|
+
|
|
4
|
+
$ErrorActionPreference = "Stop"
|
|
5
|
+
|
|
6
|
+
Write-Host "Building CodeGPT -> ai.exe" -ForegroundColor Cyan
|
|
7
|
+
|
|
8
|
+
# Install build deps
|
|
9
|
+
pip install pyinstaller requests rich prompt-toolkit
|
|
10
|
+
|
|
11
|
+
# Build
|
|
12
|
+
pyinstaller ai.spec --noconfirm
|
|
13
|
+
|
|
14
|
+
# Verify
|
|
15
|
+
if (Test-Path "dist\ai.exe") {
|
|
16
|
+
$size = [math]::Round((Get-Item "dist\ai.exe").Length / 1MB, 1)
|
|
17
|
+
Write-Host "Build complete: dist\ai.exe ($size MB)" -ForegroundColor Green
|
|
18
|
+
& dist\ai.exe --version
|
|
19
|
+
} else {
|
|
20
|
+
Write-Host "Build failed!" -ForegroundColor Red
|
|
21
|
+
exit 1
|
|
22
|
+
}
|