breadcrumb-cli 0.1.0__tar.gz → 0.1.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 (35) hide show
  1. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/.github/workflows/release.yml +21 -2
  2. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/PKG-INFO +11 -1
  3. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/README.md +10 -0
  4. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/pyproject.toml +1 -1
  5. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/.breadcrumb.yaml.example +0 -0
  6. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/.github/workflows/lint.yml +0 -0
  7. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/.github/workflows/test.yml +0 -0
  8. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/.github/workflows/testpypi.yml +0 -0
  9. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/.gitignore +0 -0
  10. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/CHANGELOG.md +0 -0
  11. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/CONTRIBUTING.md +0 -0
  12. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/Dockerfile +0 -0
  13. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/LICENSE +0 -0
  14. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/__init__.py +0 -0
  15. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/ai/__init__.py +0 -0
  16. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/ai/prompts.py +0 -0
  17. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/ai/router.py +0 -0
  18. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/cli.py +0 -0
  19. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/__init__.py +0 -0
  20. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/ask.py +0 -0
  21. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/audit.py +0 -0
  22. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/chat.py +0 -0
  23. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/commit.py +0 -0
  24. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/diff.py +0 -0
  25. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/digest.py +0 -0
  26. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/explain_error.py +0 -0
  27. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/init.py +0 -0
  28. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/commands/share.py +0 -0
  29. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/config.py +0 -0
  30. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/history.py +0 -0
  31. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/breadcrumb/ingest.py +0 -0
  32. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/repomind.py +0 -0
  33. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/tests/fixtures.py +0 -0
  34. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/tests/test_config.py +0 -0
  35. {breadcrumb_cli-0.1.0 → breadcrumb_cli-0.1.2}/tests/test_ingest.py +0 -0
@@ -5,6 +5,10 @@ on:
5
5
  tags:
6
6
  - v*
7
7
 
8
+ permissions:
9
+ contents: write
10
+ packages: write
11
+
8
12
  jobs:
9
13
  test:
10
14
  runs-on: ubuntu-latest
@@ -70,11 +74,23 @@ jobs:
70
74
 
71
75
  - name: Install dependencies
72
76
  run: |
73
- pip install pyinstaller
77
+ pip install pyinstaller -e .
74
78
 
75
79
  - name: Build with PyInstaller
76
80
  run: |
77
- pyinstaller --onefile --name ${{ matrix.name }} breadcrumb/cli.py
81
+ pyinstaller --onefile \
82
+ --name ${{ matrix.name }} \
83
+ --hidden-import=rich \
84
+ --hidden-import=click \
85
+ --hidden-import=anthropic \
86
+ --hidden-import=openai \
87
+ --hidden-import=google.generativeai \
88
+ --hidden-import=ollama \
89
+ --hidden-import=pathspec \
90
+ --hidden-import=pydantic \
91
+ --hidden-import=git \
92
+ --collect-all=breadcrumb \
93
+ breadcrumb/cli.py
78
94
 
79
95
  - name: Upload artifact
80
96
  uses: actions/upload-artifact@v4
@@ -95,6 +111,9 @@ jobs:
95
111
 
96
112
  - name: Create Release
97
113
  uses: softprops/action-gh-release@v2
114
+ env:
115
+ # Optional: set GH_TOKEN secret if the default GITHUB_TOKEN is restricted
116
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
98
117
  with:
99
118
  files: release-artifacts/**/*
100
119
  draft: false
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: breadcrumb-cli
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Chat with your codebase. Understand everything.
5
5
  Project-URL: Homepage, https://github.com/yourusername/breadcrumb
6
6
  Project-URL: Repository, https://github.com/yourusername/breadcrumb
@@ -123,6 +123,16 @@ Use TestPyPI when you want to validate packaging before a real release.
123
123
 
124
124
  This publishes to `https://test.pypi.org/legacy/` and does not create a GitHub Release.
125
125
 
126
+ ### Repository secrets for releases
127
+
128
+ If the GitHub release step fails with a 403 ("Resource not accessible by integration"), add a Personal Access Token (PAT) as a repository secret and use it as a fallback for the release action.
129
+
130
+ 1. Create a PAT (classic) with `repo` scope or a fine-grained token that allows `Contents: Read & write` and `Releases` permissions.
131
+ 2. In your repository Settings → Secrets → Actions, add a new secret named `GH_TOKEN` with that token value.
132
+ 3. The release workflow will use `GITHUB_TOKEN` by default; if you prefer a PAT, update the `create-release` step to set `GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}` in the step's `env` block.
133
+
134
+ This gives the release job permission to create releases and upload artifacts when organization policies or token scope prevent the default token from working.
135
+
126
136
  ### Option D: Docker
127
137
  ```bash
128
138
  docker run --rm \
@@ -97,6 +97,16 @@ Use TestPyPI when you want to validate packaging before a real release.
97
97
 
98
98
  This publishes to `https://test.pypi.org/legacy/` and does not create a GitHub Release.
99
99
 
100
+ ### Repository secrets for releases
101
+
102
+ If the GitHub release step fails with a 403 ("Resource not accessible by integration"), add a Personal Access Token (PAT) as a repository secret and use it as a fallback for the release action.
103
+
104
+ 1. Create a PAT (classic) with `repo` scope or a fine-grained token that allows `Contents: Read & write` and `Releases` permissions.
105
+ 2. In your repository Settings → Secrets → Actions, add a new secret named `GH_TOKEN` with that token value.
106
+ 3. The release workflow will use `GITHUB_TOKEN` by default; if you prefer a PAT, update the `create-release` step to set `GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}` in the step's `env` block.
107
+
108
+ This gives the release job permission to create releases and upload artifacts when organization policies or token scope prevent the default token from working.
109
+
100
110
  ### Option D: Docker
101
111
  ```bash
102
112
  docker run --rm \
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "breadcrumb-cli"
7
- version = "0.1.0"
7
+ version = "0.1.2"
8
8
  description = "Chat with your codebase. Understand everything."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
File without changes