dotai-cli 0.1.1__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 (61) hide show
  1. dotai_cli-0.1.1/.github/workflows/ci.yml +28 -0
  2. dotai_cli-0.1.1/.github/workflows/publish.yml +59 -0
  3. dotai_cli-0.1.1/.gitignore +14 -0
  4. dotai_cli-0.1.1/LICENSE +21 -0
  5. dotai_cli-0.1.1/PKG-INFO +594 -0
  6. dotai_cli-0.1.1/README.md +566 -0
  7. dotai_cli-0.1.1/pyproject.toml +46 -0
  8. dotai_cli-0.1.1/src/dotai/__init__.py +3 -0
  9. dotai_cli-0.1.1/src/dotai/__main__.py +5 -0
  10. dotai_cli-0.1.1/src/dotai/cli/__init__.py +148 -0
  11. dotai_cli-0.1.1/src/dotai/cli/__main__.py +5 -0
  12. dotai_cli-0.1.1/src/dotai/cli/roles_cmd.py +62 -0
  13. dotai_cli-0.1.1/src/dotai/cli/rules_cmd.py +202 -0
  14. dotai_cli-0.1.1/src/dotai/cli/skills_cmd.py +570 -0
  15. dotai_cli-0.1.1/src/dotai/cli/sync_cmd.py +190 -0
  16. dotai_cli-0.1.1/src/dotai/cli/watch_cmd.py +106 -0
  17. dotai_cli-0.1.1/src/dotai/converter.py +738 -0
  18. dotai_cli-0.1.1/src/dotai/indexer.py +201 -0
  19. dotai_cli-0.1.1/src/dotai/models.py +375 -0
  20. dotai_cli-0.1.1/src/dotai/roles.py +174 -0
  21. dotai_cli-0.1.1/src/dotai/rules.py +328 -0
  22. dotai_cli-0.1.1/src/dotai/seed/roles/architect.md +26 -0
  23. dotai_cli-0.1.1/src/dotai/seed/roles/debugger.md +26 -0
  24. dotai_cli-0.1.1/src/dotai/seed/roles/founder.md +29 -0
  25. dotai_cli-0.1.1/src/dotai/seed/roles/mentor.md +26 -0
  26. dotai_cli-0.1.1/src/dotai/seed/roles/product-manager.md +26 -0
  27. dotai_cli-0.1.1/src/dotai/seed/roles/qa.md +26 -0
  28. dotai_cli-0.1.1/src/dotai/seed/roles/reviewer.md +26 -0
  29. dotai_cli-0.1.1/src/dotai/seed/roles/security.md +26 -0
  30. dotai_cli-0.1.1/src/dotai/seed/roles/ship.md +26 -0
  31. dotai_cli-0.1.1/src/dotai/seed/roles/writer.md +26 -0
  32. dotai_cli-0.1.1/src/dotai/seed/skills/careful.md +31 -0
  33. dotai_cli-0.1.1/src/dotai/seed/skills/commit-helper.md +48 -0
  34. dotai_cli-0.1.1/src/dotai/seed/skills/context-dump.md +47 -0
  35. dotai_cli-0.1.1/src/dotai/seed/skills/investigate.md +38 -0
  36. dotai_cli-0.1.1/src/dotai/seed/skills/learn.md +37 -0
  37. dotai_cli-0.1.1/src/dotai/seed/skills/parallel-work.md +88 -0
  38. dotai_cli-0.1.1/src/dotai/seed/skills/plan.md +38 -0
  39. dotai_cli-0.1.1/src/dotai/seed/skills/review.md +43 -0
  40. dotai_cli-0.1.1/src/dotai/seed/skills/scaffold.md +35 -0
  41. dotai_cli-0.1.1/src/dotai/seed/skills/ship.md +29 -0
  42. dotai_cli-0.1.1/src/dotai/seed/skills/techdebt.md +44 -0
  43. dotai_cli-0.1.1/src/dotai/seed/skills/verify.md +35 -0
  44. dotai_cli-0.1.1/src/dotai/skills.py +452 -0
  45. dotai_cli-0.1.1/src/dotai/store.py +68 -0
  46. dotai_cli-0.1.1/src/dotai/sync.py +422 -0
  47. dotai_cli-0.1.1/src/dotai/tools/__init__.py +9 -0
  48. dotai_cli-0.1.1/src/dotai/tools/base.py +155 -0
  49. dotai_cli-0.1.1/src/dotai/tools/registry.py +80 -0
  50. dotai_cli-0.1.1/src/dotai/utils.py +8 -0
  51. dotai_cli-0.1.1/tests/__init__.py +0 -0
  52. dotai_cli-0.1.1/tests/conftest.py +167 -0
  53. dotai_cli-0.1.1/tests/test_converter.py +828 -0
  54. dotai_cli-0.1.1/tests/test_models.py +201 -0
  55. dotai_cli-0.1.1/tests/test_roles.py +78 -0
  56. dotai_cli-0.1.1/tests/test_rules.py +110 -0
  57. dotai_cli-0.1.1/tests/test_skills.py +149 -0
  58. dotai_cli-0.1.1/tests/test_store.py +73 -0
  59. dotai_cli-0.1.1/tests/test_sync.py +154 -0
  60. dotai_cli-0.1.1/tests/test_utils.py +23 -0
  61. dotai_cli-0.1.1/uv.lock +336 -0
@@ -0,0 +1,28 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.11", "3.12", "3.13"]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+
19
+ - name: Set up Python ${{ matrix.python-version }}
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
+
24
+ - name: Install dependencies
25
+ run: pip install -e ".[dev]"
26
+
27
+ - name: Run tests
28
+ run: pytest -v
@@ -0,0 +1,59 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v5
15
+ with:
16
+ python-version: "3.13"
17
+
18
+ - name: Install build tools
19
+ run: pip install build
20
+
21
+ - name: Build package
22
+ run: python -m build
23
+
24
+ - name: Upload artifacts
25
+ uses: actions/upload-artifact@v4
26
+ with:
27
+ name: dist
28
+ path: dist/
29
+
30
+ test:
31
+ runs-on: ubuntu-latest
32
+ steps:
33
+ - uses: actions/checkout@v4
34
+
35
+ - name: Set up Python
36
+ uses: actions/setup-python@v5
37
+ with:
38
+ python-version: "3.13"
39
+
40
+ - name: Install dependencies
41
+ run: pip install -e ".[dev]"
42
+
43
+ - name: Run tests
44
+ run: pytest -v
45
+
46
+ publish:
47
+ needs: [build, test]
48
+ runs-on: ubuntu-latest
49
+ steps:
50
+ - name: Download artifacts
51
+ uses: actions/download-artifact@v4
52
+ with:
53
+ name: dist
54
+ path: dist/
55
+
56
+ - name: Publish to PyPI
57
+ uses: pypa/gh-action-pypi-publish@release/v1
58
+ with:
59
+ password: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,14 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg-info/
4
+ dist/
5
+ build/
6
+ .venv/
7
+ *.egg
8
+ .mypy_cache/
9
+
10
+ # dotai sync outputs (generated per-user, run `dotai sync` to regenerate)
11
+ .claude/skills/
12
+ .cursorrules
13
+ AGENTS.md
14
+ GEMINI.md
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 dawa
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.