okstra 0.78.0 → 0.78.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/package.json
CHANGED
package/runtime/BUILD.json
CHANGED
|
@@ -6,7 +6,8 @@ release-handoff 단계에서 lead 가 PR 본문을 작성할 때 사용하는
|
|
|
6
6
|
1. per-run override (okstra-run Step 6 에서 입력)
|
|
7
7
|
2. project: <project_root>/.okstra/project.json 의 ``prTemplatePath``
|
|
8
8
|
3. global: ~/.okstra/config.json 의 ``prTemplatePath``
|
|
9
|
-
4. default:
|
|
9
|
+
4. default: ``$OKSTRA_HOME/templates/prd/pr-body.template.md`` (구버전
|
|
10
|
+
``~/.claude/skills/...`` 후보는 backward-compat 로 유지)
|
|
10
11
|
|
|
11
12
|
경로는 절대경로 또는 ``~`` 시작 경로를 권장한다. 상대경로일 경우 project
|
|
12
13
|
스코프는 ``project_root`` 기준, override 는 호출자 cwd 기준으로 해석한다.
|
|
@@ -40,6 +41,7 @@ def _default_template_candidates() -> list[Path]:
|
|
|
40
41
|
env_dir = os.environ.get("OKSTRA_SKILLS_DIR", "").strip()
|
|
41
42
|
if env_dir:
|
|
42
43
|
out.append(Path(env_dir) / "okstra-run" / "templates" / _DEFAULT_FILENAME)
|
|
44
|
+
out.append(okstra_home() / "templates" / "prd" / _DEFAULT_FILENAME)
|
|
43
45
|
out.append(
|
|
44
46
|
Path.home() / ".claude" / "skills" / "okstra-run" / "templates" / _DEFAULT_FILENAME
|
|
45
47
|
)
|
|
@@ -114,9 +116,8 @@ def resolve_pr_template_path(
|
|
|
114
116
|
for cand in _default_template_candidates():
|
|
115
117
|
if cand.is_file():
|
|
116
118
|
return ResolvedPrTemplate(path=cand, source="default")
|
|
117
|
-
|
|
118
119
|
raise PrTemplateError(
|
|
119
|
-
"no PR template available: default
|
|
120
|
+
"no PR template available: default template not found. "
|
|
120
121
|
f"Searched: {', '.join(str(c) for c in _default_template_candidates())}. "
|
|
121
122
|
"Reinstall okstra (`npx okstra install`) or set prTemplatePath in "
|
|
122
123
|
"project.json / ~/.okstra/config.json."
|