Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
Key features:
- Generate modular LangGraph project structures via `act new`
- Add new graph components ("Casts") via `act cast`
- Upgrade skills to the latest version via `act upgrade`
- Multi-language template support (English/Korean)
- Built-in Claude Code skills for architecture, development, and testing

Expand All @@ -25,6 +26,7 @@ uv sync
# Run CLI directly
uv run act new # Create new Act project
uv run act cast # Add Cast to existing project
uv run act upgrade # Upgrade skills in existing project

# Run tests (ignores scaffold templates)
uv run pytest
Expand All @@ -51,7 +53,7 @@ act-operator/
β”‚ └── act_operator/ # Source code
β”‚ β”œβ”€β”€ __init__.py # Version: __version__
β”‚ β”œβ”€β”€ __main__.py # Entry point
β”‚ β”œβ”€β”€ cli.py # Typer CLI commands (new, cast)
β”‚ β”œβ”€β”€ cli.py # Typer CLI commands (new, cast, upgrade)
β”‚ β”œβ”€β”€ utils.py # Name normalization, cookiecutter rendering
β”‚ β”œβ”€β”€ version.py # Version utilities
β”‚ β”œβ”€β”€ scaffold/ # Cookiecutter template
Expand Down
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ uv sync
# Run CLI locally
uv run act new --path ./test-act --act-name "Test" --cast-name "Main"

# Upgrade skills in an existing project
uv run act upgrade --path ./test-act

# Run tests (when available)
uv run pytest
```
Expand Down Expand Up @@ -96,7 +99,7 @@ The Act Operator project consists of several components.
**Location**: `act_operator/`

**Includes**:
- CLI commands (`act new`, `act cast`)
- CLI commands (`act new`, `act cast`, `act upgrade`)
- cookiecutter scaffold generation logic
- Build/deployment processes

Expand Down
5 changes: 4 additions & 1 deletion CONTRIBUTING_KR.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ uv sync
# λ‘œμ»¬μ—μ„œ CLI μ‹€ν–‰
uv run act new --path ./test-act --act-name "Test" --cast-name "Main"

# κΈ°μ‘΄ ν”„λ‘œμ νŠΈμ˜ μŠ€ν‚¬ μ—…κ·Έλ ˆμ΄λ“œ
uv run act upgrade --path ./test-act

# ν…ŒμŠ€νŠΈ μ‹€ν–‰ μ‹œ
uv run pytest
```
Expand Down Expand Up @@ -96,7 +99,7 @@ Act Operator ν”„λ‘œμ νŠΈλŠ” μ—¬λŸ¬ μ»΄ν¬λ„ŒνŠΈλ‘œ κ΅¬μ„±λ˜μ–΄ μžˆμŠ΅λ‹ˆλ‹€.
**μœ„μΉ˜**: `act_operator/`

**포함 λ‚΄μš©**:
- CLI λͺ…λ Ήμ–΄ (`act new`, `act cast`)
- CLI λͺ…λ Ήμ–΄ (`act new`, `act cast`, `act upgrade`)
- cookiecutter μŠ€μΊν΄λ“œ 생성 둜직
- λΉŒλ“œ/배포 ν”„λ‘œμ„ΈμŠ€

Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,33 @@ act new [OPTIONS]
--act-name TEXT Project name
--cast-name TEXT Initial cast name
--path PATH Target directory
--lang TEXT Language for scaffolded docs (en|kr)

# Add cast to existing project
act cast [OPTIONS]
--cast-name TEXT Cast name
--path PATH Act project directory
--lang TEXT Language for scaffolded cast docs (en|kr)

# Upgrade skills in an existing Act project
act upgrade [OPTIONS]
--path PATH Act project directory (default: current directory)
```

### `act upgrade`

Updates `.claude/skills/` in an existing Act project to the latest version bundled with Act Operator. This is useful when a new version of Act Operator ships improved or additional skills.

- Auto-detects the project language (English/Korean) from `README.md`
- Auto-detects the first Cast from `langgraph.json`
- Backs up existing skills to `.claude/skills.bak/` before replacing

```bash
# Upgrade skills in the current directory
act upgrade

# Upgrade skills in a specific project
act upgrade --path ./my-act-project
```

After scaffolding, see `TEMPLATE_README.md` in your generated project for detailed usage β€” dependency management, development server, graph registry configuration, and more.
Expand Down
22 changes: 22 additions & 0 deletions README_KR.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,33 @@ act new [OPTIONS]
--act-name TEXT ν”„λ‘œμ νŠΈ 이름
--cast-name TEXT 초기 Cast 이름
--path PATH λŒ€μƒ 디렉토리
--lang TEXT μŠ€μΊν΄λ“œ λ¬Έμ„œ μ–Έμ–΄ (en|kr)

# κΈ°μ‘΄ ν”„λ‘œμ νŠΈμ— Cast μΆ”κ°€
act cast [OPTIONS]
--cast-name TEXT Cast 이름
--path PATH Act ν”„λ‘œμ νŠΈ 디렉토리
--lang TEXT μŠ€μΊν΄λ“œ Cast λ¬Έμ„œ μ–Έμ–΄ (en|kr)

# κΈ°μ‘΄ Act ν”„λ‘œμ νŠΈμ˜ μŠ€ν‚¬ μ—…κ·Έλ ˆμ΄λ“œ
act upgrade [OPTIONS]
--path PATH Act ν”„λ‘œμ νŠΈ 디렉토리 (κΈ°λ³Έκ°’: ν˜„μž¬ 디렉토리)
```

### `act upgrade`

κΈ°μ‘΄ Act ν”„λ‘œμ νŠΈμ˜ `.claude/skills/`λ₯Ό Act Operator에 λ²ˆλ“€λœ μ΅œμ‹  λ²„μ „μœΌλ‘œ μ—…λ°μ΄νŠΈν•©λ‹ˆλ‹€. Act Operator의 μƒˆ 버전에 κ°œμ„ λœ μŠ€ν‚¬μ΄λ‚˜ μΆ”κ°€ μŠ€ν‚¬μ΄ 포함될 λ•Œ μœ μš©ν•©λ‹ˆλ‹€.

- `README.md`μ—μ„œ ν”„λ‘œμ νŠΈ μ–Έμ–΄(μ˜μ–΄/ν•œκ΅­μ–΄)λ₯Ό μžλ™ 감지
- `langgraph.json`μ—μ„œ 첫 번째 Castλ₯Ό μžλ™ 감지
- ꡐ체 μ „ κΈ°μ‘΄ μŠ€ν‚¬μ„ `.claude/skills.bak/`에 λ°±μ—…

```bash
# ν˜„μž¬ λ””λ ‰ν† λ¦¬μ˜ μŠ€ν‚¬ μ—…κ·Έλ ˆμ΄λ“œ
act upgrade

# νŠΉμ • ν”„λ‘œμ νŠΈμ˜ μŠ€ν‚¬ μ—…κ·Έλ ˆμ΄λ“œ
act upgrade --path ./my-act-project
```

μŠ€μΊν΄λ”© ν›„ μžμ„Έν•œ μ‚¬μš©λ²• β€” μ˜μ‘΄μ„± 관리, 개발 μ„œλ²„, κ·Έλž˜ν”„ λ ˆμ§€μŠ€νŠΈλ¦¬ μ„€μ • λ“± β€” 은 μƒμ„±λœ ν”„λ‘œμ νŠΈ λ‚΄ `TEMPLATE_README.md`λ₯Ό μ°Έμ‘°ν•˜μ„Έμš”.
Expand Down
2 changes: 1 addition & 1 deletion act_operator/act_operator/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.0"
__version__ = "0.6.1"
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ lint = [
"ruff",
]
dev = [
"act-operator>=0.3.0",
"act-operator>=0.6.0",
{include-group = "test"},
{include-group = "lint"},
]
Expand Down
Loading