codexspec 0.2.0__tar.gz → 0.2.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.
- {codexspec-0.2.0 → codexspec-0.2.2}/PKG-INFO +6 -3
- {codexspec-0.2.0 → codexspec-0.2.2}/README.md +5 -2
- {codexspec-0.2.0 → codexspec-0.2.2}/pyproject.toml +2 -1
- {codexspec-0.2.0 → codexspec-0.2.2}/src/codexspec/__init__.py +28 -10
- {codexspec-0.2.0 → codexspec-0.2.2}/.gitignore +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/LICENSE +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/scripts/bash/check-prerequisites.sh +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/scripts/bash/common.sh +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/scripts/bash/create-new-feature.sh +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/scripts/powershell/check-prerequisites.ps1 +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/scripts/powershell/common.ps1 +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/scripts/powershell/create-new-feature.ps1 +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/src/codexspec/i18n.py +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/analyze.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/checklist.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/clarify.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/constitution.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/generate-spec.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/implement-tasks.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/plan-to-tasks.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/review-plan.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/review-spec.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/review-tasks.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/spec-to-plan.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/specify.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/commands/tasks-to-issues.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/docs/checklist-template.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/docs/constitution-template.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/docs/plan-template-detailed.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/docs/plan-template-simple.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/docs/spec-template-detailed.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/docs/spec-template-simple.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/docs/tasks-template-detailed.md +0 -0
- {codexspec-0.2.0 → codexspec-0.2.2}/templates/docs/tasks-template-simple.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codexspec
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: CodexSpec - A Spec-Driven Development (SDD) toolkit for Claude Code
|
|
5
5
|
Project-URL: Homepage, https://github.com/Zts0hg/codexspec
|
|
6
6
|
Project-URL: Repository, https://github.com/Zts0hg/codexspec
|
|
@@ -33,6 +33,8 @@ Description-Content-Type: text/markdown
|
|
|
33
33
|
|
|
34
34
|
# CodexSpec
|
|
35
35
|
|
|
36
|
+
[中文](README.zh-CN.md) | [日本語](README.ja.md) | [Español](README.es.md) | [Português](README.pt-BR.md) | [한국어](README.ko.md) | [Deutsch](README.de.md) | [Français](README.fr.md)
|
|
37
|
+
|
|
36
38
|
[](https://pypi.org/project/codexspec/)
|
|
37
39
|
[](https://pypi.org/project/codexspec/)
|
|
38
40
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -103,7 +105,7 @@ pip install git+https://github.com/Zts0hg/codexspec.git
|
|
|
103
105
|
|
|
104
106
|
# Specific branch or tag
|
|
105
107
|
uv tool install git+https://github.com/Zts0hg/codexspec.git@main
|
|
106
|
-
uv tool install git+https://github.com/Zts0hg/codexspec.git@v0.
|
|
108
|
+
uv tool install git+https://github.com/Zts0hg/codexspec.git@v0.2.0
|
|
107
109
|
```
|
|
108
110
|
|
|
109
111
|
## Quick Start
|
|
@@ -380,7 +382,7 @@ language:
|
|
|
380
382
|
|
|
381
383
|
project:
|
|
382
384
|
ai: "claude"
|
|
383
|
-
created: "
|
|
385
|
+
created: "2026-02-15"
|
|
384
386
|
```
|
|
385
387
|
|
|
386
388
|
### Supported Languages
|
|
@@ -490,6 +492,7 @@ CodexSpec is inspired by GitHub's spec-kit but with some key differences:
|
|
|
490
492
|
| Checklist Command | Yes | Yes |
|
|
491
493
|
| Extension System | Yes | Yes |
|
|
492
494
|
| PowerShell Scripts | Yes | Yes |
|
|
495
|
+
| i18n Support | No | Yes (13+ languages via LLM translation) |
|
|
493
496
|
|
|
494
497
|
## Philosophy
|
|
495
498
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# CodexSpec
|
|
2
2
|
|
|
3
|
+
[中文](README.zh-CN.md) | [日本語](README.ja.md) | [Español](README.es.md) | [Português](README.pt-BR.md) | [한국어](README.ko.md) | [Deutsch](README.de.md) | [Français](README.fr.md)
|
|
4
|
+
|
|
3
5
|
[](https://pypi.org/project/codexspec/)
|
|
4
6
|
[](https://pypi.org/project/codexspec/)
|
|
5
7
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -70,7 +72,7 @@ pip install git+https://github.com/Zts0hg/codexspec.git
|
|
|
70
72
|
|
|
71
73
|
# Specific branch or tag
|
|
72
74
|
uv tool install git+https://github.com/Zts0hg/codexspec.git@main
|
|
73
|
-
uv tool install git+https://github.com/Zts0hg/codexspec.git@v0.
|
|
75
|
+
uv tool install git+https://github.com/Zts0hg/codexspec.git@v0.2.0
|
|
74
76
|
```
|
|
75
77
|
|
|
76
78
|
## Quick Start
|
|
@@ -347,7 +349,7 @@ language:
|
|
|
347
349
|
|
|
348
350
|
project:
|
|
349
351
|
ai: "claude"
|
|
350
|
-
created: "
|
|
352
|
+
created: "2026-02-15"
|
|
351
353
|
```
|
|
352
354
|
|
|
353
355
|
### Supported Languages
|
|
@@ -457,6 +459,7 @@ CodexSpec is inspired by GitHub's spec-kit but with some key differences:
|
|
|
457
459
|
| Checklist Command | Yes | Yes |
|
|
458
460
|
| Extension System | Yes | Yes |
|
|
459
461
|
| PowerShell Scripts | Yes | Yes |
|
|
462
|
+
| i18n Support | No | Yes (13+ languages via LLM translation) |
|
|
460
463
|
|
|
461
464
|
## Philosophy
|
|
462
465
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "codexspec"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.2"
|
|
4
4
|
description = "CodexSpec - A Spec-Driven Development (SDD) toolkit for Claude Code"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -50,6 +50,7 @@ build-backend = "hatchling.build"
|
|
|
50
50
|
|
|
51
51
|
[tool.hatch.build.targets.wheel]
|
|
52
52
|
packages = ["src/codexspec"]
|
|
53
|
+
force-include = { "templates" = "codexspec/templates", "scripts" = "codexspec/scripts" }
|
|
53
54
|
|
|
54
55
|
[tool.hatch.build.targets.sdist]
|
|
55
56
|
include = [
|
|
@@ -27,7 +27,7 @@ from .i18n import (
|
|
|
27
27
|
)
|
|
28
28
|
|
|
29
29
|
# Version info
|
|
30
|
-
__version__ = "0.2.
|
|
30
|
+
__version__ = "0.2.2"
|
|
31
31
|
__author__ = "CodexSpec Team"
|
|
32
32
|
|
|
33
33
|
app = typer.Typer(
|
|
@@ -44,13 +44,29 @@ def get_version() -> str:
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
def get_templates_dir() -> Path:
|
|
47
|
-
"""Get the templates directory path.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
"""Get the templates directory path.
|
|
48
|
+
|
|
49
|
+
This function handles multiple installation scenarios:
|
|
50
|
+
1. Wheel install: templates are in codexspec/templates (same level as __init__.py)
|
|
51
|
+
2. Development: templates are in project root (../templates from src/codexspec)
|
|
52
|
+
3. Editable install: templates are in project root
|
|
53
|
+
"""
|
|
54
|
+
# Path 1: Wheel install - templates packaged inside codexspec package
|
|
55
|
+
# __file__ = site-packages/codexspec/__init__.py
|
|
56
|
+
# parent / "templates" = site-packages/codexspec/templates
|
|
57
|
+
installed_templates = Path(__file__).parent / "templates"
|
|
58
|
+
if installed_templates.exists():
|
|
59
|
+
return installed_templates
|
|
60
|
+
|
|
61
|
+
# Path 2: Development/editable install - templates in project root
|
|
62
|
+
# __file__ = .../src/codexspec/__init__.py
|
|
63
|
+
# parent.parent.parent = .../ (project root)
|
|
64
|
+
dev_templates = Path(__file__).parent.parent.parent / "templates"
|
|
65
|
+
if dev_templates.exists():
|
|
66
|
+
return dev_templates
|
|
67
|
+
|
|
68
|
+
# Path 3: Fallback - return the installed path (will trigger warning if not exists)
|
|
69
|
+
return installed_templates
|
|
54
70
|
|
|
55
71
|
|
|
56
72
|
def check_command_exists(command: str) -> bool:
|
|
@@ -314,7 +330,8 @@ def init(
|
|
|
314
330
|
templates_dir = get_templates_dir() / "commands"
|
|
315
331
|
if templates_dir.exists():
|
|
316
332
|
for template_file in templates_dir.glob("*.md"):
|
|
317
|
-
|
|
333
|
+
# Prepend "codexspec." to the filename so commands are invoked as /codexspec.{name}
|
|
334
|
+
dest_file = claude_commands_dir / f"codexspec.{template_file.name}"
|
|
318
335
|
dest_file.write_text(template_file.read_text())
|
|
319
336
|
console.print(f"[green]Installed command:[/green] /codexspec.{template_file.stem}")
|
|
320
337
|
else:
|
|
@@ -387,7 +404,8 @@ def _create_default_commands(commands_dir: Path) -> None:
|
|
|
387
404
|
}
|
|
388
405
|
|
|
389
406
|
for name, content in commands.items():
|
|
390
|
-
|
|
407
|
+
# Prepend "codexspec." to the filename so commands are invoked as /codexspec.{name}
|
|
408
|
+
cmd_file = commands_dir / f"codexspec.{name}.md"
|
|
391
409
|
cmd_file.write_text(content)
|
|
392
410
|
console.print(f"[green]Installed command:[/green] /codexspec.{name}")
|
|
393
411
|
|
|
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
|
|
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
|