ai-push-hooks 0.3.0 → 0.3.1
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.
- package/CHANGELOG.md +30 -2
- package/README.md +72 -996
- package/SECURITY.md +21 -16
- package/bin/ai-push-hooks.js +6 -6
- package/package.json +3 -2
- package/pyproject.toml +1 -1
- package/src/ai_push_hooks/artifacts.py +0 -13
- package/src/ai_push_hooks/config.py +19 -5
- package/src/ai_push_hooks/engine.py +2 -1
- package/src/ai_push_hooks/executors/apply.py +3 -3
- package/src/ai_push_hooks/executors/ask.py +0 -523
- package/src/ai_push_hooks/executors/exec.py +17 -801
- package/src/ai_push_hooks/executors/runner_workflow.py +4 -4
- package/src/ai_push_hooks/executors/runners/opencode.py +40 -11
- package/src/ai_push_hooks/executors/runners/opencode_support.py +276 -0
- package/src/ai_push_hooks/executors/runners/process.py +72 -11
- package/src/ai_push_hooks/executors/runners/registry.py +17 -4
- package/src/ai_push_hooks/executors/step_commands.py +7 -2
- package/src/ai_push_hooks/git_utils.py +834 -0
- package/src/ai_push_hooks/hook.py +1 -1
- package/src/ai_push_hooks/modules/beads.py +1 -1
- package/src/ai_push_hooks/modules/docs.py +129 -89
- package/src/ai_push_hooks/modules/pr.py +1 -1
- package/src/ai_push_hooks/plugin_loader.py +106 -82
- package/src/ai_push_hooks/types.py +1 -0
- package/vendor/README.md +15 -0
- package/vendor/requirements.txt +1 -0
- package/vendor/tomli-2.4.0-py3-none-any.whl +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,34 @@ All notable changes to this project are documented here. The format is based on
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## [0.3.1] - 2026-09-10
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Rewrote the README around npm-first setup, modular workflows, and AI
|
|
12
|
+
ask/apply examples; moved detailed configuration into a separate guide.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Bundled the Python 3.10 TOML dependency in the npm package, removing the
|
|
17
|
+
separate `tomli` installation step even for offline, script-disabled installs.
|
|
18
|
+
- Hardened release recovery around source-bound checksum manifests, safe
|
|
19
|
+
artifact paths, and exact artifact identity; recovery remains npm-only after
|
|
20
|
+
PyPI is complete and does not rebuild or republish the Python artifacts.
|
|
21
|
+
- Tightened bounded child-process output handling and cleanup when a stream
|
|
22
|
+
reaches its limit.
|
|
23
|
+
|
|
24
|
+
### Performance
|
|
25
|
+
|
|
26
|
+
- Reduced documentation context-search work by reading each candidate document
|
|
27
|
+
once and bounding retained query-match metadata.
|
|
28
|
+
- Allowed independent runner types and callback sources to initialize in
|
|
29
|
+
parallel while preserving per-source/per-adapter initialization safety.
|
|
30
|
+
|
|
31
|
+
### Cleanup
|
|
32
|
+
|
|
33
|
+
- Consolidated hook-owned artifact validation and shared process handling across
|
|
34
|
+
runner adapters, removing duplicated OpenCode-specific plumbing.
|
|
8
35
|
|
|
9
36
|
## [0.3.0] - 2026-09-09
|
|
10
37
|
|
|
@@ -122,7 +149,8 @@ the exact `0.2.0` version rather than a PyPI beta channel.
|
|
|
122
149
|
- Preserved Git porcelain paths and protected pre-existing dirty allowlisted files during apply steps.
|
|
123
150
|
- Clarified module-local artifact references and standardized the repository hook integration.
|
|
124
151
|
|
|
125
|
-
[Unreleased]: https://github.com/shanebishop1/ai-push-hooks/compare/v0.3.
|
|
152
|
+
[Unreleased]: https://github.com/shanebishop1/ai-push-hooks/compare/v0.3.1...HEAD
|
|
153
|
+
[0.3.1]: https://github.com/shanebishop1/ai-push-hooks/compare/v0.3.0...v0.3.1
|
|
126
154
|
[0.3.0]: https://github.com/shanebishop1/ai-push-hooks/compare/v0.2.1...v0.3.0
|
|
127
155
|
[0.2.1]: https://github.com/shanebishop1/ai-push-hooks/compare/v0.2.0...v0.2.1
|
|
128
156
|
[0.2.0]: https://github.com/shanebishop1/ai-push-hooks/compare/v0.1.19...v0.2.0
|