ayder-cli 0.92.0__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 (104) hide show
  1. ayder_cli-0.92.0/.github/workflows/ci.yml +35 -0
  2. ayder_cli-0.92.0/.github/workflows/python-package.yml +38 -0
  3. ayder_cli-0.92.0/.gitignore +32 -0
  4. ayder_cli-0.92.0/.python-version +1 -0
  5. ayder_cli-0.92.0/AGENTS.md +670 -0
  6. ayder_cli-0.92.0/CLAUDE.md +41 -0
  7. ayder_cli-0.92.0/LICENSE +21 -0
  8. ayder_cli-0.92.0/PKG-INFO +376 -0
  9. ayder_cli-0.92.0/README.md +354 -0
  10. ayder_cli-0.92.0/docs/cc.png +0 -0
  11. ayder_cli-0.92.0/pyproject.toml +85 -0
  12. ayder_cli-0.92.0/src/ayder_cli/__init__.py +8 -0
  13. ayder_cli-0.92.0/src/ayder_cli/__main__.py +4 -0
  14. ayder_cli-0.92.0/src/ayder_cli/chat_loop.py +277 -0
  15. ayder_cli-0.92.0/src/ayder_cli/checkpoint_manager.py +163 -0
  16. ayder_cli-0.92.0/src/ayder_cli/cli.py +161 -0
  17. ayder_cli-0.92.0/src/ayder_cli/cli_runner.py +348 -0
  18. ayder_cli-0.92.0/src/ayder_cli/client.py +176 -0
  19. ayder_cli-0.92.0/src/ayder_cli/console.py +69 -0
  20. ayder_cli-0.92.0/src/ayder_cli/core/config.py +115 -0
  21. ayder_cli-0.92.0/src/ayder_cli/core/context.py +81 -0
  22. ayder_cli-0.92.0/src/ayder_cli/core/result.py +50 -0
  23. ayder_cli-0.92.0/src/ayder_cli/memory.py +345 -0
  24. ayder_cli-0.92.0/src/ayder_cli/notes.py +79 -0
  25. ayder_cli-0.92.0/src/ayder_cli/parser.py +185 -0
  26. ayder_cli-0.92.0/src/ayder_cli/process_manager.py +305 -0
  27. ayder_cli-0.92.0/src/ayder_cli/prompts.py +286 -0
  28. ayder_cli-0.92.0/src/ayder_cli/services/__init__.py +0 -0
  29. ayder_cli-0.92.0/src/ayder_cli/services/llm.py +98 -0
  30. ayder_cli-0.92.0/src/ayder_cli/services/tools/executor.py +211 -0
  31. ayder_cli-0.92.0/src/ayder_cli/tasks.py +275 -0
  32. ayder_cli-0.92.0/src/ayder_cli/themes/__init__.py +64 -0
  33. ayder_cli-0.92.0/src/ayder_cli/themes/claude.py +528 -0
  34. ayder_cli-0.92.0/src/ayder_cli/themes/original.py +489 -0
  35. ayder_cli-0.92.0/src/ayder_cli/tools/__init__.py +37 -0
  36. ayder_cli-0.92.0/src/ayder_cli/tools/definition.py +150 -0
  37. ayder_cli-0.92.0/src/ayder_cli/tools/filesystem.py +262 -0
  38. ayder_cli-0.92.0/src/ayder_cli/tools/filesystem_definitions.py +196 -0
  39. ayder_cli-0.92.0/src/ayder_cli/tools/memory_definitions.py +62 -0
  40. ayder_cli-0.92.0/src/ayder_cli/tools/notes_definitions.py +38 -0
  41. ayder_cli-0.92.0/src/ayder_cli/tools/process_manager_definitions.py +80 -0
  42. ayder_cli-0.92.0/src/ayder_cli/tools/registry.py +352 -0
  43. ayder_cli-0.92.0/src/ayder_cli/tools/schemas.py +13 -0
  44. ayder_cli-0.92.0/src/ayder_cli/tools/search.py +335 -0
  45. ayder_cli-0.92.0/src/ayder_cli/tools/search_definitions.py +83 -0
  46. ayder_cli-0.92.0/src/ayder_cli/tools/shell.py +34 -0
  47. ayder_cli-0.92.0/src/ayder_cli/tools/shell_definitions.py +32 -0
  48. ayder_cli-0.92.0/src/ayder_cli/tools/tasks_definitions.py +46 -0
  49. ayder_cli-0.92.0/src/ayder_cli/tools/utils.py +110 -0
  50. ayder_cli-0.92.0/src/ayder_cli/tools/utils_tools.py +311 -0
  51. ayder_cli-0.92.0/src/ayder_cli/tools/utils_tools_definitions.py +39 -0
  52. ayder_cli-0.92.0/src/ayder_cli/tools/venv.py +365 -0
  53. ayder_cli-0.92.0/src/ayder_cli/tools/venv_definitions.py +129 -0
  54. ayder_cli-0.92.0/src/ayder_cli/tui/__init__.py +77 -0
  55. ayder_cli-0.92.0/src/ayder_cli/tui/app.py +574 -0
  56. ayder_cli-0.92.0/src/ayder_cli/tui/chat_loop.py +442 -0
  57. ayder_cli-0.92.0/src/ayder_cli/tui/commands.py +621 -0
  58. ayder_cli-0.92.0/src/ayder_cli/tui/helpers.py +142 -0
  59. ayder_cli-0.92.0/src/ayder_cli/tui/parser.py +217 -0
  60. ayder_cli-0.92.0/src/ayder_cli/tui/screens.py +417 -0
  61. ayder_cli-0.92.0/src/ayder_cli/tui/theme_manager.py +163 -0
  62. ayder_cli-0.92.0/src/ayder_cli/tui/types.py +23 -0
  63. ayder_cli-0.92.0/src/ayder_cli/tui/widgets.py +529 -0
  64. ayder_cli-0.92.0/src/ayder_cli/tui_helpers.py +3 -0
  65. ayder_cli-0.92.0/src/ayder_cli/tui_theme_manager.py +2 -0
  66. ayder_cli-0.92.0/src/ayder_cli/ui.py +588 -0
  67. ayder_cli-0.92.0/src/ayder_cli/version.py +45 -0
  68. ayder_cli-0.92.0/tests/COVERAGE.md +369 -0
  69. ayder_cli-0.92.0/tests/__init__.py +0 -0
  70. ayder_cli-0.92.0/tests/client/test_main.py +57 -0
  71. ayder_cli-0.92.0/tests/core/test_config.py +360 -0
  72. ayder_cli-0.92.0/tests/core/test_config_coverage.py +157 -0
  73. ayder_cli-0.92.0/tests/core/test_parameter_aliasing.py +143 -0
  74. ayder_cli-0.92.0/tests/core/test_parser.py +213 -0
  75. ayder_cli-0.92.0/tests/manual_test_verbose.py +111 -0
  76. ayder_cli-0.92.0/tests/services/test_llm.py +108 -0
  77. ayder_cli-0.92.0/tests/services/test_llm_verbose.py +77 -0
  78. ayder_cli-0.92.0/tests/services/tools/test_executor.py +377 -0
  79. ayder_cli-0.92.0/tests/test_checkpoint_manager.py +155 -0
  80. ayder_cli-0.92.0/tests/test_cli.py +714 -0
  81. ayder_cli-0.92.0/tests/test_env_manager.py +434 -0
  82. ayder_cli-0.92.0/tests/test_memory.py +344 -0
  83. ayder_cli-0.92.0/tests/test_notes.py +91 -0
  84. ayder_cli-0.92.0/tests/test_process_manager.py +249 -0
  85. ayder_cli-0.92.0/tests/test_tasks.py +268 -0
  86. ayder_cli-0.92.0/tests/tools/__init__.py +1 -0
  87. ayder_cli-0.92.0/tests/tools/test_definition_discovery.py +302 -0
  88. ayder_cli-0.92.0/tests/tools/test_impl.py +792 -0
  89. ayder_cli-0.92.0/tests/tools/test_impl_coverage.py +523 -0
  90. ayder_cli-0.92.0/tests/tools/test_path_security.py +155 -0
  91. ayder_cli-0.92.0/tests/tools/test_registry.py +198 -0
  92. ayder_cli-0.92.0/tests/tools/test_registry_coverage.py +265 -0
  93. ayder_cli-0.92.0/tests/tools/test_result.py +131 -0
  94. ayder_cli-0.92.0/tests/tools/test_schemas.py +73 -0
  95. ayder_cli-0.92.0/tests/tools/test_search_codebase.py +260 -0
  96. ayder_cli-0.92.0/tests/tools/test_utils.py +209 -0
  97. ayder_cli-0.92.0/tests/tools/test_virtualenv.py +524 -0
  98. ayder_cli-0.92.0/tests/ui/test_confirm_screen.py +512 -0
  99. ayder_cli-0.92.0/tests/ui/test_diff_preview.py +375 -0
  100. ayder_cli-0.92.0/tests/ui/test_tui_chat_loop.py +876 -0
  101. ayder_cli-0.92.0/tests/ui/test_tui_helpers.py +42 -0
  102. ayder_cli-0.92.0/tests/ui/test_ui.py +299 -0
  103. ayder_cli-0.92.0/tests/ui/test_ui_coverage.py +405 -0
  104. ayder_cli-0.92.0/tests/ui/test_ui_verbose.py +160 -0
@@ -0,0 +1,35 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ name: Quality & Tests (Python 3.12)
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v5
19
+ with:
20
+ enable-cache: true
21
+ version: "latest"
22
+
23
+ - name: Set up Python 3.12
24
+ run: uv python install 3.12
25
+
26
+ - name: Install Dependencies
27
+ run: uv sync --all-groups
28
+
29
+ - name: Run Quality Checks
30
+ # Runs lint, typecheck, and tests (excludes slow TUI tests)
31
+ run: uv run poe check-all
32
+
33
+ - name: Build Check
34
+ # Ensures the package can still build without errors
35
+ run: uv build
@@ -0,0 +1,38 @@
1
+ name: Python package
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ tags:
7
+ - "release-*"
8
+ - "beta-*"
9
+ pull_request:
10
+ branches: [ "main" ]
11
+
12
+ jobs:
13
+ build-and-publish:
14
+ runs-on: ubuntu-latest
15
+ # This job only runs in the context of your 'pypi' environment
16
+ environment: pypi
17
+ permissions:
18
+ id-token: write # Mandatory for Trusted Publishing
19
+ contents: read
20
+
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+
24
+ - name: Install uv
25
+ uses: astral-sh/setup-uv@v5
26
+
27
+ - name: Set up Python 3.12
28
+ run: uv python install 3.12
29
+
30
+ - name: Build
31
+ run: uv build
32
+
33
+ - name: Publish to PyPI
34
+ # Secure check to ensure only authorized tags trigger the upload
35
+ if: |
36
+ github.event_name == 'push' &&
37
+ (startsWith(github.ref, 'refs/tags/release-') || startsWith(github.ref, 'refs/tags/beta-'))
38
+ run: uv publish
@@ -0,0 +1,32 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+ *.swp
9
+
10
+ # Tool-specific caches
11
+ .pytest_cache/
12
+ .mypy_cache/
13
+ .ruff_cache/
14
+ htmlcov/
15
+ .ipynb_checkpoints/
16
+
17
+ # macOS files
18
+ .DS_Store
19
+
20
+ # Virtual environments
21
+ .venv
22
+ TODO
23
+ .env
24
+ uv.lock
25
+
26
+ # Project Spesific
27
+ .ayder
28
+ .claude
29
+ .coverage
30
+ .crush
31
+ .gemini
32
+ GEMINI.md
@@ -0,0 +1 @@
1
+ 3.12