kaizen-loop 0.2.1__tar.gz → 0.2.3__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.
- kaizen_loop-0.2.3/.opencode/commands/install.md +12 -0
- kaizen_loop-0.2.3/.opencode/commands/release.md +18 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/PKG-INFO +1 -1
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/pyproject.toml +1 -1
- kaizen_loop-0.2.3/src/kaizen/__init__.py +1 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/cli.py +2 -1
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/loop.py +1 -1
- kaizen_loop-0.2.1/src/kaizen/__init__.py +0 -1
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/.github/workflows/ci.yml +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/.github/workflows/release.yml +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/.gitignore +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/LICENSE +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/README.md +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/justfile +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/__main__.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/agent.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/config.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/findings.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/git.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/orchestrator.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/review_prompt.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/run.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/steps/__init__.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/steps/pr.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/steps/push.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/steps/review.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/src/kaizen/work_prompt.py +0 -0
- {kaizen_loop-0.2.1 → kaizen_loop-0.2.3}/tests/test_import.py +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Install or update kaizen from PyPI via uv tool
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Install or update kaizen from PyPI using `uv tool`.
|
|
6
|
+
|
|
7
|
+
Steps:
|
|
8
|
+
1. Check if kaizen is already installed by running `kaizen --version`
|
|
9
|
+
2. Install or update using `uv tool install kaizen-loop --reinstall --force`
|
|
10
|
+
3. Verify the installation by running `kaizen --version`
|
|
11
|
+
4. Check if opencode is installed and if not, install it using `curl -fsSL https://opencode.ai/install | bash`
|
|
12
|
+
5. Verify opencode is working by running `opencode --version`
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Bump version, tag, push, and publish a new release via CI
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Cut a new release of this package.
|
|
6
|
+
|
|
7
|
+
Steps:
|
|
8
|
+
1. Read the current version from `pyproject.toml` and `src/kaizen/__init__.py` — they must match
|
|
9
|
+
2. Determine the next version bump (patch, minor, or major) based on the changes since the last tag. Use `git log LAST_TAG..HEAD --oneline` to review changes
|
|
10
|
+
3. Update the version in both `pyproject.toml` and `src/kaizen/__init__.py`
|
|
11
|
+
4. Commit with message `release: vX.Y.Z`
|
|
12
|
+
5. Create a git tag `vX.Y.Z`
|
|
13
|
+
6. Push the commit and tag to origin
|
|
14
|
+
7. Monitor the GitHub Actions release workflow until it completes (success or failure)
|
|
15
|
+
8. If successful, reinstall locally with `uv tool install kaizen-loop --reinstall --force` and verify with `kaizen --version`
|
|
16
|
+
9. If failed, diagnose the failure from the workflow logs and report back
|
|
17
|
+
|
|
18
|
+
Do NOT skip any of these steps. Always verify both version files are in sync before committing.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.3"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import argparse
|
|
4
|
+
import os
|
|
4
5
|
import signal
|
|
5
6
|
import sys
|
|
6
7
|
|
|
@@ -84,7 +85,7 @@ def main() -> None:
|
|
|
84
85
|
parser.add_argument("--server-url", help="URL of an existing opencode serve instance (e.g. http://127.0.0.1:4096)")
|
|
85
86
|
|
|
86
87
|
args = parser.parse_args()
|
|
87
|
-
args.cwd = args.directory or
|
|
88
|
+
args.cwd = args.directory or os.getcwd()
|
|
88
89
|
|
|
89
90
|
if args.prompt:
|
|
90
91
|
cmd_loop(args)
|
|
@@ -54,7 +54,7 @@ def _setup_work_context(
|
|
|
54
54
|
root_gitignore = os.path.join(cwd, ".gitignore")
|
|
55
55
|
if os.path.exists(root_gitignore):
|
|
56
56
|
content = Path(root_gitignore).read_text()
|
|
57
|
-
if ".kaizen"
|
|
57
|
+
if not any(".kaizen" in line for line in content.splitlines()):
|
|
58
58
|
Path(root_gitignore).write_text(content.rstrip() + "\n.kaizen/\n")
|
|
59
59
|
else:
|
|
60
60
|
Path(root_gitignore).write_text(".kaizen/\n")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|