Skip to content
TypeScript

README: generated SVG banner (design system) + fix Pages workflow triggers

Claudedadde121565e
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index 2f9d6d9..f5be986 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -2,7 +2,8 @@ name: Pages
on:
push:
- branches: [main]
+ branches: [main, "claude/**"]
+ pull_request:
workflow_dispatch:
permissions:
@@ -15,6 +16,8 @@ concurrency:
cancel-in-progress: true
jobs:
+ # Build the demo gallery on every push/PR (so the workflow is exercised and the
+ # artifact is downloadable). Deploy is gated to main below.
build:
runs-on: ubuntu-latest
steps:
@@ -25,17 +28,18 @@ jobs:
cache: npm
- run: npm ci
- run: npm run build:site
- - uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: site
deploy:
needs: build
+ if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
+ - uses: actions/configure-pages@v5
- id: deployment
uses: actions/deploy-pages@v4
diff --git a/README.ja.md b/README.ja.md
index 997eed9..c29441f 100644
--- a/README.ja.md
+++ b/README.ja.md
@@ -1,12 +1,7 @@
<div align="center">
-```
- _ _
- | |_| |__ ___ ___ ___ _ _ ___ ⛵
- | __| '_ \ / _ \/ __|/ _ \ | | / __| ~~~~~~
- | |_| | | | __/\__ \ __/ |_| \__ \ theseus
- \__|_| |_|\___||___/\___|\__,_|___/ ~~~~~~~~~~
-```
+<img src="assets/theseus-banner.svg" alt="theseus — モデル × エージェント × ハーネスを比較し、トレードオフを判断" width="840">
+
# theseus
diff --git a/README.ko.md b/README.ko.md
index f504a65..1d0fe67 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -1,12 +1,7 @@
<div align="center">
-```
- _ _
- | |_| |__ ___ ___ ___ _ _ ___ ⛵
- | __| '_ \ / _ \/ __|/ _ \ | | / __| ~~~~~~
- | |_| | | | __/\__ \ __/ |_| \__ \ theseus
- \__|_| |_|\___||___/\___|\__,_|___/ ~~~~~~~~~~
-```
+<img src="assets/theseus-banner.svg" alt="theseus — 모델 × 에이전트 × 하네스 비교, 그리고 trade-off 판단" width="840">
+
# theseus
diff --git a/README.md b/README.md
index 095d98c..be7e955 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,7 @@
<div align="center">
-```
- _ _
- | |_| |__ ___ ___ ___ _ _ ___ ⛵
- | __| '_ \ / _ \/ __|/ _ \ | | / __| ~~~~~~
- | |_| | | | __/\__ \ __/ |_| \__ \ theseus
- \__|_| |_|\___||___/\___|\__,_|___/ ~~~~~~~~~~
-```
+<img src="assets/theseus-banner.svg" alt="theseus — compare model × agent × harness, and judge the trade-offs" width="840">
+
# theseus
diff --git a/README.zh.md b/README.zh.md
index 95114a8..c857fa5 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -1,12 +1,7 @@
<div align="center">
-```
- _ _
- | |_| |__ ___ ___ ___ _ _ ___ ⛵
- | __| '_ \ / _ \/ __|/ _ \ | | / __| ~~~~~~
- | |_| | | | __/\__ \ __/ |_| \__ \ theseus
- \__|_| |_|\___||___/\___|\__,_|___/ ~~~~~~~~~~
-```
+<img src="assets/theseus-banner.svg" alt="theseus — 比较模型 × 智能体 × 框架,并由你判断权衡" width="840">
+
# theseus
diff --git a/assets/theseus-banner.svg b/assets/theseus-banner.svg
new file mode 100644
index 0000000..51d885b
--- /dev/null
+++ b/assets/theseus-banner.svg
@@ -0,0 +1,73 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="360" viewBox="0 0 1280 360" role="img" aria-label="theseus — compare model × agent × harness, and judge the trade-offs">
+ <title>theseus</title>
+ <defs>
+ <linearGradient id="sea" x1="0" y1="0" x2="0" y2="1">
+ <stop offset="0" stop-color="#071d30"/>
+ <stop offset="1" stop-color="#0b2942"/>
+ </linearGradient>
+ <linearGradient id="sail" x1="0" y1="0" x2="1" y2="1">
+ <stop offset="0" stop-color="#f5f1e6"/>
+ <stop offset="1" stop-color="#cdd9df"/>
+ </linearGradient>
+ <pattern id="waves" width="80" height="26" patternUnits="userSpaceOnUse">
+ <path d="M0 18 q20 -14 40 0 t40 0" fill="none" stroke="#7fb2c9" stroke-width="2" opacity="0.14"/>
+ </pattern>
+ </defs>
+
+ <!-- sea -->
+ <rect width="1280" height="360" rx="20" fill="url(#sea)"/>
+ <rect y="210" width="1280" height="150" fill="url(#waves)"/>
+
+ <!-- ship of theseus: hull · mast · sails · pennant -->
+ <g transform="translate(150 70)">
+ <!-- pennant -->
+ <path d="M150 6 L150 36 L196 21 Z" fill="#c08a3e"/>
+ <!-- mast -->
+ <line x1="150" y1="6" x2="150" y2="190" stroke="#f5f1e6" stroke-width="4"/>
+ <!-- main sail -->
+ <path d="M156 28 L156 178 L268 168 Z" fill="url(#sail)"/>
+ <!-- fore sail -->
+ <path d="M144 44 L144 174 L54 178 Z" fill="#7fb2c9" opacity="0.92"/>
+ <!-- plank seams on the main sail (ship of theseus: swappable planks) -->
+ <g stroke="#c08a3e" stroke-width="1.4" opacity="0.55">
+ <line x1="156" y1="66" x2="240" y2="60"/>
+ <line x1="156" y1="104" x2="252" y2="100"/>
+ <line x1="156" y1="142" x2="262" y2="138"/>
+ </g>
+ <!-- hull -->
+ <path d="M40 196 L296 196 L260 250 Q168 274 76 250 Z" fill="#15324f" stroke="#c08a3e" stroke-width="3"/>
+ <path d="M40 196 L296 196 L286 214 L50 214 Z" fill="#c08a3e" opacity="0.85"/>
+ </g>
+
+ <!-- wordmark -->
+ <text x="470" y="178" font-family="ui-monospace, 'SF Mono', Menlo, Consolas, monospace" font-size="118" font-weight="800" fill="#f5f1e6" letter-spacing="2">theseus</text>
+ <rect x="474" y="196" width="430" height="6" rx="3" fill="#c08a3e"/>
+
+ <!-- tagline -->
+ <text x="476" y="242" font-family="ui-sans-serif, system-ui, sans-serif" font-size="27" fill="#7fb2c9">compare model × agent × harness — and judge the trade-offs</text>
+
+ <!-- layer chips -->
+ <g font-family="ui-monospace, monospace" font-size="20" fill="#f5f1e6">
+ <g transform="translate(476 270)">
+ <rect width="150" height="42" rx="21" fill="none" stroke="#c08a3e" stroke-width="1.6"/>
+ <text x="75" y="28" text-anchor="middle">L0 · model</text>
+ </g>
+ <g transform="translate(642 270)">
+ <rect width="150" height="42" rx="21" fill="none" stroke="#7fb2c9" stroke-width="1.6"/>
+ <text x="75" y="28" text-anchor="middle">L1 · agent</text>
+ </g>
+ <g transform="translate(808 270)">
+ <rect width="166" height="42" rx="21" fill="none" stroke="#f5f1e6" stroke-width="1.6"/>
+ <text x="83" y="28" text-anchor="middle">L2 · harness</text>
+ </g>
+ </g>
+
+ <!-- design-system palette swatches (top-right) -->
+ <g transform="translate(1118 26)">
+ <rect x="0" y="0" width="26" height="26" rx="5" fill="#0b2942" stroke="#ffffff" stroke-opacity="0.15"/>
+ <rect x="32" y="0" width="26" height="26" rx="5" fill="#15324f"/>
+ <rect x="64" y="0" width="26" height="26" rx="5" fill="#7fb2c9"/>
+ <rect x="96" y="0" width="26" height="26" rx="5" fill="#c08a3e"/>
+ <rect x="128" y="0" width="26" height="26" rx="5" fill="#f5f1e6"/>
+ </g>
+</svg>