Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1db6bab
Apply RPG-Kit version 1.
QingtaoLi1 May 14, 2026
4e16fc2
Modify release configureations.
QingtaoLi1 May 14, 2026
1d185f5
Fix init encode progress.
QingtaoLi1 May 14, 2026
0c6e414
Fix init encode progress.
QingtaoLi1 May 14, 2026
586b453
Update rpg_visualizer according to latest code.
QingtaoLi1 May 15, 2026
c1e9d19
Update RPG-Kit README announcement
QingtaoLi1 May 15, 2026
a93e42c
Add Transparency Documentation.
QingtaoLi1 May 15, 2026
38de134
Update RPG-Kit README for upcoming features.
QingtaoLi1 May 15, 2026
36a6be3
feat(rpg): embed dep_graph in rpg.json and refresh rpg.html on every …
QingtaoLi1 May 15, 2026
c676853
Update README.
QingtaoLi1 May 15, 2026
f9e3be1
Update README.
QingtaoLi1 May 15, 2026
4995c64
Add README in multiple languages.
QingtaoLi1 May 15, 2026
5f123c5
Update README for clear demonstration.
QingtaoLi1 May 15, 2026
e05c968
Update README (time warning).
QingtaoLi1 May 15, 2026
1bb72ab
Update README(head).
QingtaoLi1 May 15, 2026
c90931f
Update README.md
Bonytu May 15, 2026
68ce9bb
Update RPG image.
QingtaoLi1 May 15, 2026
864464e
Update README.
QingtaoLi1 May 15, 2026
c5b4e37
Update README.
QingtaoLi1 May 15, 2026
457d7c7
Rewrite top-level README around RPG-Kit launch
Bonytu May 15, 2026
9980edf
Clarify component table: type column instead of direction
Bonytu May 15, 2026
998b209
Rewrite RPG-in-Action section as concrete usage scenarios
Bonytu May 15, 2026
82036ed
Tighten workflow table and reinforce graph-aware update story
Bonytu May 15, 2026
c9f4a61
Update README.
QingtaoLi1 May 15, 2026
b19500e
Split workflow table by audience: RPG-Kit vs standalone research code
Bonytu May 15, 2026
5377b5d
Frontload RPG-Kit motivation; trim duplication and copy
Bonytu May 15, 2026
1cb01bf
Consolidate top-level headings: RPG-Kit and Standalone as parents
Bonytu May 15, 2026
afa2842
Update RPG-Kit README.
QingtaoLi1 May 15, 2026
0f1a362
Update RPG-Kit README.
QingtaoLi1 May 15, 2026
7f36944
Update RPG-Kit README.
QingtaoLi1 May 15, 2026
054a5cc
Update RPG-Kit README.
QingtaoLi1 May 15, 2026
0531f86
Update README.md
Bonytu May 15, 2026
c5583d8
Realign RPG-Kit README opening with the persistent-workspace narrative
Bonytu May 15, 2026
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
33 changes: 33 additions & 0 deletions .github/workflows/rpgkit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: RPG-Kit Lint

permissions:
contents: read

on:
push:
branches: [main]
paths:
- "RPG-Kit/**"
- ".github/workflows/rpgkit-*.yml"
- ".github/workflows/scripts/rpgkit/**"
- ".markdownlint-cli2.jsonc"
pull_request:
paths:
- "RPG-Kit/**"
- ".github/workflows/rpgkit-*.yml"
- ".github/workflows/scripts/rpgkit/**"
- ".markdownlint-cli2.jsonc"
workflow_dispatch:

jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run markdownlint-cli2
uses: DavidAnson/markdownlint-cli2-action@v19
with:
globs: |
RPG-Kit/**/*.md
54 changes: 54 additions & 0 deletions .github/workflows/rpgkit-pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: RPG-Kit Pre-Release

on:
push:
branches:
- dev
- "dev/**"
paths:
- "RPG-Kit/**"
- ".github/workflows/rpgkit-pre-release.yml"
- ".github/workflows/scripts/rpgkit/**"
workflow_dispatch:

jobs:
pre-release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
env:
PROJECT_DIR: RPG-Kit
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Prepare scripts
run: chmod +x .github/workflows/scripts/rpgkit/*.sh

- name: Get RPG-Kit pre-release version
id: get_tag
run: .github/workflows/scripts/rpgkit/get-next-pre-version.sh "${{ github.run_number }}"

- name: Check if release already exists
id: check_release
run: .github/workflows/scripts/rpgkit/check-release-exists.sh "${{ steps.get_tag.outputs.tag_name }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create release package variants
if: steps.check_release.outputs.exists == 'false'
run: .github/workflows/scripts/rpgkit/create-release-packages.sh "${{ steps.get_tag.outputs.new_version }}"

- name: Generate release notes
if: steps.check_release.outputs.exists == 'false'
run: .github/workflows/scripts/rpgkit/generate-release-notes.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.latest_tag }}" pre

- name: Create GitHub pre-release
if: steps.check_release.outputs.exists == 'false'
run: .github/workflows/scripts/rpgkit/create-github-release.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.tag_name }}" pre
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56 changes: 56 additions & 0 deletions .github/workflows/rpgkit-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: RPG-Kit Release

on:
push:
branches: [main]
paths:
- "RPG-Kit/**"
- ".github/workflows/rpgkit-release.yml"
- ".github/workflows/scripts/rpgkit/**"
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
env:
PROJECT_DIR: RPG-Kit
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Prepare scripts
run: chmod +x .github/workflows/scripts/rpgkit/*.sh

- name: Get next RPG-Kit version
id: get_tag
run: .github/workflows/scripts/rpgkit/get-next-version.sh

- name: Check if release already exists
id: check_release
run: .github/workflows/scripts/rpgkit/check-release-exists.sh "${{ steps.get_tag.outputs.tag_name }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update version in pyproject.toml
if: steps.check_release.outputs.exists == 'false'
run: .github/workflows/scripts/rpgkit/update-version.sh "${{ steps.get_tag.outputs.new_version }}"

- name: Create release package variants
if: steps.check_release.outputs.exists == 'false'
run: .github/workflows/scripts/rpgkit/create-release-packages.sh "${{ steps.get_tag.outputs.new_version }}"

- name: Generate release notes
if: steps.check_release.outputs.exists == 'false'
run: .github/workflows/scripts/rpgkit/generate-release-notes.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.latest_tag }}" stable

- name: Create GitHub release
if: steps.check_release.outputs.exists == 'false'
run: .github/workflows/scripts/rpgkit/create-github-release.sh "${{ steps.get_tag.outputs.new_version }}" "${{ steps.get_tag.outputs.tag_name }}" stable
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/scripts/rpgkit/check-release-exists.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -euo pipefail

if [[ $# -ne 1 ]]; then
echo "Usage: $0 <tag_name>" >&2
exit 1
fi

TAG_NAME="$1"

write_output() {
[[ -n "${GITHUB_OUTPUT:-}" ]] && echo "$1" >> "$GITHUB_OUTPUT"
}

if gh release view "$TAG_NAME" >/dev/null 2>&1; then
write_output "exists=true"
echo "Release $TAG_NAME already exists, skipping..."
else
write_output "exists=false"
echo "Release $TAG_NAME does not exist, proceeding..."
fi
40 changes: 40 additions & 0 deletions .github/workflows/scripts/rpgkit/create-github-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/usr/bin/env bash
set -euo pipefail

if [[ $# -lt 2 || $# -gt 3 ]]; then
echo "Usage: $0 <version> <tag_name> [stable|pre]" >&2
exit 1
fi

VERSION="$1"
TAG_NAME="$2"
RELEASE_KIND="${3:-stable}"
VERSION_NO_V="${VERSION#v}"
REPO_ROOT="${GITHUB_WORKSPACE:-$(git rev-parse --show-toplevel)}"
PROJECT_DIR="${PROJECT_DIR:-RPG-Kit}"
PROJECT_ROOT="$REPO_ROOT/$PROJECT_DIR"
GENRELEASES_DIR="$PROJECT_ROOT/.genreleases"
NOTES_FILE="${NOTES_FILE:-$REPO_ROOT/release_notes.md}"

mapfile -t ASSETS < <(find "$GENRELEASES_DIR" -maxdepth 1 -type f -name "rpgkit-template-*-${VERSION}.zip" | sort)
if [[ ${#ASSETS[@]} -eq 0 ]]; then
echo "No release assets found in $GENRELEASES_DIR for $VERSION" >&2
exit 1
fi

PRERELEASE_ARG=()
if [[ "$RELEASE_KIND" == "pre" ]]; then
PRERELEASE_ARG=(--prerelease)
fi

TARGET_ARG=()
if [[ -n "${GITHUB_SHA:-}" ]]; then
TARGET_ARG=(--target "$GITHUB_SHA")
fi

gh release create "$TAG_NAME" \
"${ASSETS[@]}" \
--title "RPG-Kit Templates - $VERSION_NO_V" \
--notes-file "$NOTES_FILE" \
"${PRERELEASE_ARG[@]}" \
"${TARGET_ARG[@]}"
Loading
Loading