ngpt 3.0.1__tar.gz → 3.0.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 (60) hide show
  1. ngpt-3.0.2/.github/workflows/aur-publish.yml +40 -0
  2. {ngpt-3.0.1 → ngpt-3.0.2}/PKG-INFO +1 -1
  3. ngpt-3.0.2/PKGBUILD +24 -0
  4. {ngpt-3.0.1 → ngpt-3.0.2}/pyproject.toml +1 -1
  5. {ngpt-3.0.1 → ngpt-3.0.2}/uv.lock +1 -1
  6. {ngpt-3.0.1 → ngpt-3.0.2}/.github/workflows/python-publish.yml +0 -0
  7. {ngpt-3.0.1 → ngpt-3.0.2}/.gitignore +0 -0
  8. {ngpt-3.0.1 → ngpt-3.0.2}/.python-version +0 -0
  9. {ngpt-3.0.1 → ngpt-3.0.2}/COMMIT_GUIDELINES.md +0 -0
  10. {ngpt-3.0.1 → ngpt-3.0.2}/CONTRIBUTING.md +0 -0
  11. {ngpt-3.0.1 → ngpt-3.0.2}/LICENSE +0 -0
  12. {ngpt-3.0.1 → ngpt-3.0.2}/README.md +0 -0
  13. {ngpt-3.0.1 → ngpt-3.0.2}/docs/CONTRIBUTING.md +0 -0
  14. {ngpt-3.0.1 → ngpt-3.0.2}/docs/LICENSE.md +0 -0
  15. {ngpt-3.0.1 → ngpt-3.0.2}/docs/README.md +0 -0
  16. {ngpt-3.0.1 → ngpt-3.0.2}/docs/_config.yml +0 -0
  17. {ngpt-3.0.1 → ngpt-3.0.2}/docs/api/README.md +0 -0
  18. {ngpt-3.0.1 → ngpt-3.0.2}/docs/api/cli.md +0 -0
  19. {ngpt-3.0.1 → ngpt-3.0.2}/docs/api/cli_config.md +0 -0
  20. {ngpt-3.0.1 → ngpt-3.0.2}/docs/api/client.md +0 -0
  21. {ngpt-3.0.1 → ngpt-3.0.2}/docs/api/config.md +0 -0
  22. {ngpt-3.0.1 → ngpt-3.0.2}/docs/api/logging.md +0 -0
  23. {ngpt-3.0.1 → ngpt-3.0.2}/docs/assets/css/style.scss +0 -0
  24. {ngpt-3.0.1 → ngpt-3.0.2}/docs/configuration.md +0 -0
  25. {ngpt-3.0.1 → ngpt-3.0.2}/docs/examples/README.md +0 -0
  26. {ngpt-3.0.1 → ngpt-3.0.2}/docs/examples/advanced.md +0 -0
  27. {ngpt-3.0.1 → ngpt-3.0.2}/docs/examples/basic.md +0 -0
  28. {ngpt-3.0.1 → ngpt-3.0.2}/docs/examples/cli_components.md +0 -0
  29. {ngpt-3.0.1 → ngpt-3.0.2}/docs/examples/integrations.md +0 -0
  30. {ngpt-3.0.1 → ngpt-3.0.2}/docs/installation.md +0 -0
  31. {ngpt-3.0.1 → ngpt-3.0.2}/docs/overview.md +0 -0
  32. {ngpt-3.0.1 → ngpt-3.0.2}/docs/usage/README.md +0 -0
  33. {ngpt-3.0.1 → ngpt-3.0.2}/docs/usage/cli_config.md +0 -0
  34. {ngpt-3.0.1 → ngpt-3.0.2}/docs/usage/cli_framework.md +0 -0
  35. {ngpt-3.0.1 → ngpt-3.0.2}/docs/usage/cli_usage.md +0 -0
  36. {ngpt-3.0.1 → ngpt-3.0.2}/docs/usage/gitcommsg.md +0 -0
  37. {ngpt-3.0.1 → ngpt-3.0.2}/docs/usage/library_usage.md +0 -0
  38. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/__init__.py +0 -0
  39. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/__main__.py +0 -0
  40. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/__init__.py +0 -0
  41. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/args.py +0 -0
  42. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/config_manager.py +0 -0
  43. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/formatters.py +0 -0
  44. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/interactive.py +0 -0
  45. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/main.py +0 -0
  46. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/modes/__init__.py +0 -0
  47. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/modes/chat.py +0 -0
  48. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/modes/code.py +0 -0
  49. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/modes/gitcommsg.py +0 -0
  50. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/modes/rewrite.py +0 -0
  51. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/modes/shell.py +0 -0
  52. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/modes/text.py +0 -0
  53. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/renderers.py +0 -0
  54. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/cli/ui.py +0 -0
  55. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/client.py +0 -0
  56. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/utils/__init__.py +0 -0
  57. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/utils/cli_config.py +0 -0
  58. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/utils/config.py +0 -0
  59. {ngpt-3.0.1 → ngpt-3.0.2}/ngpt/utils/log.py +0 -0
  60. {ngpt-3.0.1 → ngpt-3.0.2}/wiki.md +0 -0
@@ -0,0 +1,40 @@
1
+ name: Publish AUR Package
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*' # Trigger on version tags
7
+
8
+ jobs:
9
+ publish-aur:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v3
14
+ with:
15
+ fetch-depth: 0 # Required for accurate versioning
16
+
17
+ - name: Update version in PKGBUILD
18
+ run: |
19
+ # Extract version from tag (remove 'v' prefix)
20
+ VERSION=${GITHUB_REF#refs/tags/v}
21
+ echo "Package version: $VERSION"
22
+
23
+ # Update version in PKGBUILD
24
+ sed -i "s/^pkgver=.*/pkgver=$VERSION/" PKGBUILD
25
+
26
+ - name: Publish AUR package
27
+ uses: KSXGitHub/github-actions-deploy-aur@v4.1.1
28
+ with:
29
+ pkgname: ngpt
30
+ pkgbuild: ./PKGBUILD
31
+ assets: |
32
+ LICENSE
33
+ README.md
34
+ commit_username: ${{ secrets.AUR_USERNAME }}
35
+ commit_email: ${{ secrets.AUR_EMAIL }}
36
+ ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
37
+ commit_message: "Update to version ${{ github.ref_name }}"
38
+ ssh_keyscan_types: rsa,ecdsa,ed25519
39
+ updpkgsums: true # Let the action update checksums automatically
40
+ test: true # Verify the PKGBUILD can be built
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ngpt
3
- Version: 3.0.1
3
+ Version: 3.0.2
4
4
  Summary: Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, Gemini, and any OpenAI-compatible API.
5
5
  Project-URL: Homepage, https://github.com/nazdridoy/ngpt
6
6
  Project-URL: Repository, https://github.com/nazdridoy/ngpt
ngpt-3.0.2/PKGBUILD ADDED
@@ -0,0 +1,24 @@
1
+ # Maintainer: nazdridoy <nazdridoy399@gmail.com>
2
+ pkgname=ngpt
3
+ pkgver=0.0.0 # Automatically updated by CI on release
4
+ pkgrel=1
5
+ pkgdesc="Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, Gemini, and any OpenAI-compatible API."
6
+ arch=('any')
7
+ url="https://github.com/nazdridoy/ngpt"
8
+ license=('MIT')
9
+ depends=('python' 'python-requests>=2.31.0' 'python-rich>=10.0.0' 'python-prompt_toolkit>=3.0.0' 'python-pyperclip>=1.8.0')
10
+ makedepends=('python-build' 'python-installer' 'python-wheel' 'python-hatchling')
11
+ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/nazdridoy/${pkgname}/archive/v${pkgver}.tar.gz")
12
+ sha256sums=('SKIP') # Automatically updated by CI on release
13
+
14
+ build() {
15
+ cd "$pkgname-$pkgver"
16
+ python -m build --wheel --no-isolation
17
+ }
18
+
19
+ package() {
20
+ cd "$pkgname-$pkgver"
21
+ python -m installer --destdir="$pkgdir" dist/*.whl
22
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
23
+ install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
24
+ }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ngpt"
3
- version = "3.0.1"
3
+ version = "3.0.2"
4
4
  description = "Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, Gemini, and any OpenAI-compatible API."
5
5
  authors = [
6
6
  {name = "nazDridoy", email = "nazdridoy399@gmail.com"},
@@ -134,7 +134,7 @@ wheels = [
134
134
 
135
135
  [[package]]
136
136
  name = "ngpt"
137
- version = "3.0.1"
137
+ version = "3.0.2"
138
138
  source = { editable = "." }
139
139
  dependencies = [
140
140
  { name = "prompt-toolkit" },
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
File without changes
File without changes
File without changes
File without changes