craft-code 0.1.6__tar.gz → 0.1.8__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 (26) hide show
  1. {craft_code-0.1.6 → craft_code-0.1.8}/.github/workflows/release.yml +1 -1
  2. {craft_code-0.1.6 → craft_code-0.1.8}/PKG-INFO +1 -1
  3. {craft_code-0.1.6 → craft_code-0.1.8}/pyproject.toml +1 -1
  4. {craft_code-0.1.6 → craft_code-0.1.8}/scripts/generate_formula.sh +4 -5
  5. {craft_code-0.1.6 → craft_code-0.1.8}/.env.example +0 -0
  6. {craft_code-0.1.6 → craft_code-0.1.8}/.github/workflows/claude-code-review.yml +0 -0
  7. {craft_code-0.1.6 → craft_code-0.1.8}/.github/workflows/claude.yml +0 -0
  8. {craft_code-0.1.6 → craft_code-0.1.8}/.gitignore +0 -0
  9. {craft_code-0.1.6 → craft_code-0.1.8}/AGENTS.md +0 -0
  10. {craft_code-0.1.6 → craft_code-0.1.8}/LICENSE +0 -0
  11. {craft_code-0.1.6 → craft_code-0.1.8}/README.md +0 -0
  12. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/AGENTS.md +0 -0
  13. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/__init__.py +0 -0
  14. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/__main__.py +0 -0
  15. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/agent.py +0 -0
  16. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/auth.py +0 -0
  17. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/cli.py +0 -0
  18. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/config.py +0 -0
  19. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/interrupt_handler.py +0 -0
  20. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/prompts.py +0 -0
  21. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/skills/code-review/SKILL.md +0 -0
  22. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/skills/testing/SKILL.md +0 -0
  23. {craft_code-0.1.6 → craft_code-0.1.8}/code_craft/tools.py +0 -0
  24. {craft_code-0.1.6 → craft_code-0.1.8}/example.py +0 -0
  25. {craft_code-0.1.6 → craft_code-0.1.8}/skills/code-review/SKILL.md +0 -0
  26. {craft_code-0.1.6 → craft_code-0.1.8}/skills/testing/SKILL.md +0 -0
@@ -64,7 +64,7 @@ jobs:
64
64
  run: echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
65
65
 
66
66
  - name: Install homebrew-pypi-poet
67
- run: pip install homebrew-pypi-poet craft-code==${{ steps.version.outputs.version }}
67
+ run: pip install setuptools homebrew-pypi-poet craft-code==${{ steps.version.outputs.version }}
68
68
 
69
69
  - name: Generate formula
70
70
  run: ./scripts/generate_formula.sh ${{ steps.version.outputs.version }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: craft-code
3
- Version: 0.1.6
3
+ Version: 0.1.8
4
4
  Summary: An AI coding assistant
5
5
  Project-URL: Homepage, https://github.com/Shubham-1994/code-craft
6
6
  Project-URL: Repository, https://github.com/Shubham-1994/code-craft
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "craft-code"
3
- version = "0.1.6"
3
+ version = "0.1.8"
4
4
  description = "An AI coding assistant"
5
5
  requires-python = ">=3.11"
6
6
  license = { text = "MIT" }
@@ -42,18 +42,17 @@ fi
42
42
  echo " sha256: ${SHA256}"
43
43
 
44
44
  # ---- 2. Install homebrew-pypi-poet if missing --------------------------
45
- if ! python3 -m poet --version &>/dev/null 2>&1; then
45
+ if ! command -v poet &>/dev/null; then
46
46
  echo "==> Installing homebrew-pypi-poet..."
47
- pip install --quiet homebrew-pypi-poet
47
+ pip install --quiet setuptools homebrew-pypi-poet
48
48
  fi
49
49
 
50
50
  # ---- 3. Generate resource blocks with poet -----------------------------
51
51
  echo "==> Generating resource blocks (this may take a moment)..."
52
- RESOURCES=$(python3 -m poet craft-code 2>/dev/null || true)
52
+ RESOURCES=$(poet craft-code)
53
53
 
54
54
  if [[ -z "${RESOURCES}" ]]; then
55
- echo "ERROR: poet failed to generate resources. Make sure craft-code is published on PyPI."
56
- echo " Alternatively, build and install locally first: pip install -e ."
55
+ echo "ERROR: poet returned empty output for craft-code."
57
56
  exit 1
58
57
  fi
59
58
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes